/**
 *    _____ _________    __    ___    ____
 *   / ___// ____/   |  / /   /   |  / __ \
 *   \__ \/ /   / /| | / /   / /| | / /_/ /
 *  ___/ / /___/ ___ |/ /___/ ___ |/ _, _/
 * /____/\____/_/  |_/_____/_/  |_/_/ |_|
 *
 * @scalar/api-reference 1.25.101
 *
 * Website: https://scalar.com
 * GitHub:  https://github.com/scalar/scalar
 * License: https://github.com/scalar/scalar/blob/main/LICENSE
**/

!function(){"use strict";try{if("undefined"!=typeof document){var a=document.createElement("style");a.appendChild(document.createTextNode('.base-url[data-v-fe287df9]{color:var(--scalar-color-1);cursor:pointer;display:inline-block;font-size:var(--scalar-mini);min-width:0;white-space:nowrap;text-overflow:ellipsis}.base-url[data-v-fe287df9] .base-url-variable{color:var(--scalar-color-1)}.url-select[data-v-2f4aa08a]{padding:0 12px!important;max-height:32px;min-height:32px;color:var(--scalar-color-1);align-items:center;display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.url-select span[data-v-2f4aa08a]{display:flex;align-items:center;scrollbar-width:none;-ms-overflow-style:none}.url-select span[data-v-2f4aa08a]::-webkit-scrollbar{width:0;height:0;display:none}.url-select svg[data-v-2f4aa08a]{color:var(--scalar-color-2);stroke-width:1}.variable-select[data-v-e458a761]{padding:9px 9px 9px 0;color:var(--scalar-color-1);align-items:center;border-color:transparent;border-radius:0;border-top:.5px solid var(--scalar-border-color);display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.variable-select svg[data-v-e458a761]{color:var(--scalar-color-2);stroke-width:1}.variable-textbox[data-v-9f767913]{padding:9px 9px 9px 0;color:var(--scalar-color-1);align-items:center;border-color:transparent;border-radius:0;border-left:0;border-top:.5px solid var(--scalar-border-color);display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%;font-size:var(--scalar-mini)}.variable-container-item[data-v-40b06a7a]{display:flex;width:100%}.variable-label[data-v-40b06a7a]{border-top:.5px solid var(--scalar-border-color);color:var(--scalar-color-1);font-size:var(--scalar-mini);padding:9px 0 9px 12px}.variable-label[data-v-40b06a7a]:after{content:":";margin-right:6px}.server-form-title[data-v-eaa06049]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-1);background:var(--scalar-background-2);padding:9px 12px;display:flex;align-items:center;max-height:32px}.server-form-container[data-v-eaa06049]{background:var(--scalar-background-1);border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.description[data-v-eaa06049]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);padding:9px 12px;font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-3)}.description[data-v-eaa06049] .markdown{font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:0;display:block}.description[data-v-eaa06049] .markdown>*:first-child{margin-top:0}.client-libraries-content[data-v-b29373e8]{container:client-libraries-content / inline-size;display:flex;justify-content:center;overflow:hidden;padding:0 12px;background-color:var(--scalar-background-1);border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.client-libraries[data-v-b29373e8]{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;-moz-user-select:none;user-select:none}.client-libraries[data-v-b29373e8]:first-child{border-radius:var(--scalar-radius) 0 0 0}.client-libraries[data-v-b29373e8]: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-b29373e8]:active{color:var(--scalar-color-1)}.client-libraries[data-v-b29373e8]: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-b29373e8]:nth-of-type(4),.client-libraries[data-v-b29373e8]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-b29373e8]{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-b29373e8]{height:initial}@container client-libraries-content (width < 400px){.client-libraries__select[data-v-b29373e8]{width:-moz-fit-content;width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-b29373e8]{display:none}}@container client-libraries-content (width < 380px){.client-libraries[data-v-b29373e8]{width:100%}.client-libraries span[data-v-b29373e8]{display:none}}.client-libraries__active[data-v-b29373e8]{color:var(--scalar-color-1);border-bottom:1px solid var(--scalar-color-1)}@keyframes codeloader-b29373e8{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries .client-libraries-text[data-v-b29373e8]:last-of-type{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);position:relative;display:flex;align-items:center}.client-libraries__active .client-libraries-text[data-v-b29373e8]{color:var(--scalar-color-1)}.client-libraries__select select[data-v-b29373e8]{background:var(--scalar-background-3);color:var(--scalar-color-2);opacity:0;height:100%;width:100%;aspect-ratio:1;position:absolute;top:0;left:0;cursor:pointer;z-index:1;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none}.client-libraries__select[data-v-b29373e8]:has(select:focus-visible){border-radius:var(--scalar-radius);box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}@media screen and (max-width: 600px){.references-classic .client-libraries[data-v-b29373e8]{flex-direction:column}}.selected-client[data-v-35fd541a]{color:var(--scalar-color-1);font-size:var(--scalar-mini);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-top:var(--scalar-border-width) solid var(--scalar-border-color);min-height:-moz-fit-content;min-height:fit-content}.client-libraries-heading[data-v-35fd541a]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-1);padding:9px 12px;background-color:var(--scalar-background-2);display:flex;align-items:center;max-height:32px}.download[data-v-fd1562fa]{margin-bottom:24px}.download-button[data-v-fd1562fa]{color:var(--scalar-link-color, var(--scalar-color-accent));font-weight:var(--scalar-link-font-weight, inherit);-webkit-text-decoration:var(--scalar-text-decoration)!important;text-decoration:var(--scalar-text-decoration)!important;text-decoration-color:var(--scalar-text-decoration-color);font-size:var(--scalar-paragraph);cursor:pointer}.download-button[data-v-fd1562fa]:hover{color:var(--scalar-link-color-hover, var(--scalar-color-accent));-webkit-text-decoration:var(--scalar-text-decoration-hover)!important;text-decoration:var(--scalar-text-decoration-hover)!important;text-decoration-color:var(--scalar-text-decoration-color-hover)}.badge[data-v-190574ac]{color:var(--scalar-color-2);font-size:var(--scalar-micro);background:var(--scalar-background-2);padding:2px 6px;border-radius:12px;font-weight:var(--scalar-semibold);display:inline-block;text-transform:uppercase}.section[data-v-64ccd510]{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-64ccd510]:has(~div.contents){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.references-classic .section[data-v-64ccd510]{padding:48px 0;gap:24px}@container narrow-references-container (max-width: 900px){.references-classic .section[data-v-64ccd510],.section[data-v-64ccd510]{padding:48px 24px}}.section[data-v-64ccd510]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.section-wrapper[data-v-07cabcb0]{color:var(--scalar-color-1);padding-top:12px;margin-top:-12px}.section-accordion[data-v-07cabcb0]{display:flex;flex-direction:column;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2)}.section-accordion-transparent[data-v-07cabcb0]{background:transparent;border:1px solid var(--scalar-border-color)}.section-accordion-button[data-v-07cabcb0]{padding:6px;display:flex;align-items:center;gap:6px;cursor:pointer}.section-accordion-button-content[data-v-07cabcb0]{flex:1;min-width:0}.section-accordion-button-actions[data-v-07cabcb0]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-3)}.section-accordion-chevron[data-v-07cabcb0]{margin-right:4px;width:20px;cursor:pointer;opacity:1;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-07cabcb0]{color:var(--scalar-color-1)}.section-accordion-content[data-v-07cabcb0]{border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}.section-accordion-description[data-v-07cabcb0]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color--1);padding:10px 12px 0}.section-accordion-content-card[data-v-07cabcb0] .property:last-of-type{padding-bottom:9px}.section-column[data-v-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-1913755a]{position:relative;padding:0 60px;width:100%;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-1913755a]:has(.introduction-section){border-top:none}@container narrow-references-container (max-width: 900px){.section-container[data-v-1913755a]{padding:0}}.section-accordion-wrapper[data-v-1a30b4ff]{padding:0 60px}.section-accordion[data-v-1a30b4ff]{position:relative;width:100%;max-width:var(--refs-content-max-width);margin:auto}.section-accordion-content[data-v-1a30b4ff]{display:flex;flex-direction:column;gap:12px;padding-top:12px}.section-accordion-button[data-v-1a30b4ff]{width:100%;display:flex;cursor:pointer;padding:6px 0;margin:-6px 0;border-radius:var(--scalar-radius)}.section-accordion-chevron[data-v-1a30b4ff]{width:24px;position:absolute;left:-24px;height:auto;top:10px;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-1a30b4ff]{color:var(--scalar-color-1)}.section-accordion-title[data-v-1a30b4ff]{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:0 6px}.section-accordion-title[data-v-1a30b4ff] .section-header-wrapper{grid-template-columns:1fr}.section-accordion-title[data-v-1a30b4ff] .section-header{margin-bottom:0}@container narrow-references-container (max-width: 900px){.section-accordion-chevron[data-v-1a30b4ff]{width:16px;left:-16px;top:14px}.section-accordion-wrapper[data-v-1a30b4ff]{padding:calc(var(--refs-header-height)) 24px 0 24px}}.loading[data-v-c90b2c46]{background:var(--scalar-background-3);animation:loading-skeleton-c90b2c46 1.5s infinite alternate;border-radius:var(--scalar-radius-lg);min-height:1.6em;margin:.6em 0;max-width:100%}.loading[data-v-c90b2c46]:first-of-type{min-height:3em;margin-bottom:24px;margin-top:0}.loading[data-v-c90b2c46]:last-of-type{width:60%}.loading.single-line[data-v-c90b2c46]{min-height:3em;margin:.6em 0;max-width:80%}@keyframes loading-skeleton-c90b2c46{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (max-width: 900px){.section-content--with-columns[data-v-9735459e]{flex-direction:column;gap:24px}}.section-header-wrapper[data-v-b6aef53d]{display:grid;grid-template-columns:1fr}@media (min-width: 1200px){.section-header-wrapper[data-v-b6aef53d]{grid-template-columns:repeat(2,1fr)}}.section-header[data-v-b6aef53d]{font-size:var(--font-size, var(--scalar-heading-2));font-weight:var(--font-weight, var(--scalar-bold));color:var(--scalar-color-1);word-wrap:break-word;line-height:1.45;margin-top:0;margin-bottom:12px}.section-header.tight[data-v-b6aef53d]{margin-bottom:6px}.section-header.loading[data-v-b6aef53d]{width:80%}.screenreader-only[data-v-681ebf2c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.label[data-v-3cb2dd80]{position:relative;display:inline-block;word-break:break-all}.anchor[data-v-3cb2dd80]{position:relative;display:inline-block;opacity:0}.anchor-copy[data-v-3cb2dd80]{position:absolute;left:0;top:50%;transform:translateY(-50%);cursor:pointer;padding:0 6px;color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:.8em}.anchor-copy[data-v-3cb2dd80]:hover,.anchor-copy[data-v-3cb2dd80]:focus-visible{color:var(--scalar-color-2)}.label:hover .anchor[data-v-3cb2dd80],.label:has(:focus-visible) .anchor[data-v-3cb2dd80]{opacity:1}.collapsible-section[data-v-b32ceff4]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-b32ceff4]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-b32ceff4]{display:flex;align-items:center;cursor:pointer;padding:10px 0;font-size:var(--scalar-font-size-3);z-index:1;position:relative}.collapsible-section .collapsible-section-trigger[data-v-b32ceff4]:after{content:"";height:10px;width:100%;position:absolute;bottom:0}.collapsible-section-trigger svg[data-v-b32ceff4]{color:var(--scalar-color-3);position:absolute;left:-19px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-b32ceff4]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-b32ceff4] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-b32ceff4]{padding:0;margin:0;scroll-margin-top:140px}.introduction-description-heading[data-v-a9d504b8]{scroll-margin-top:64px;margin-top:1em;margin-bottom:.5em}.markdown+.markdown[data-v-a9d504b8]{margin-top:1em}.introduction-description[data-v-a9d504b8]{display:flex;flex-direction:column}.references-classic .introduction-description[data-v-a9d504b8] img{max-width:720px}.heading[data-v-fbd64817]{margin-top:0!important;word-wrap:break-word}.loading[data-v-fbd64817]{background:var(--scalar-background-3);animation:loading-skeleton 1.5s infinite alternate;border-radius:var(--scalar-radius-lg)}.badges[data-v-fbd64817]{display:flex;align-items:center;gap:4px;margin-bottom:3px}.heading.loading[data-v-fbd64817]{width:80%}.introduction-section[data-v-fbd64817]{gap:48px}.sticky-cards[data-v-fbd64817]{display:flex;flex-direction:column;position:sticky;top:calc(var(--refs-header-height) + 24px)}.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}.text-select{position:relative;height:-moz-fit-content;height:fit-content}.text-select:has(:focus-visible) .text-select-label{outline:1px solid var(--scalar-color-accent);outline-offset:4px;border-radius:calc(var(--scalar-radius) / 2)}.text-select--single-option{pointer-events:none}.text-select select{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.text-select span{font-size:var(--scalar-mini);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);white-space:nowrap;display:flex;align-items:center;justify-content:center}.text-select:hover span{color:var(--scalar-color-1)}.text-select:not(.text-select--single-option) span:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-2px,0);display:block;margin-left:6px;box-shadow:1px 1px 0 currentColor}.text-select span:hover{background:var(--scalar-background-2)}.example-selector[data-v-a7e22e14]{padding:4px}.scalar-card[data-v-38801681]{all:unset;font-family:var(--scalar-font);border-radius:var(--scalar-radius-lg);overflow:hidden;border:var(--scalar-border-width) solid var(--scalar-border-color);background:var(--scalar-background-2);display:flex;flex-direction:column;max-height:calc(((var(--full-height) - var(--refs-header-height)) - 60px) / 2);position:relative}.scalar-card-sticky[data-v-38801681]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.scalar-card-content[data-v-dd83e46e]{overflow:auto;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);display:grid}.scalar-card-content[data-v-dd83e46e] .simple-table .simple-header{display:none}.scalar-card-content[data-v-dd83e46e]:last-of-type,.scalar-card-content.scalar-card--borderless[data-v-dd83e46e]{border-bottom:none}.scalar-card--muted[data-v-dd83e46e]{background:var(--scalar-background-2)}.scalar-card--contrast[data-v-dd83e46e]{background:var(--scalar-background-3)}.scalar-card--frameless[data-v-dd83e46e]{padding:0}.scalar-card--transparent[data-v-dd83e46e]{background:var(--scalar-background-1)}.scalar-card-header[data-v-ef7873bc]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);padding:9px 3px 9px 12px;flex-shrink:0}.scalar-card-header.scalar-card--borderless[data-v-ef7873bc]+.scalar-card-content{margin-top:-9px}.scalar-card-header-slots[data-v-ef7873bc]{display:flex;justify-content:space-between;line-height:1.35}.scalar-card-header-title[data-v-ef7873bc]{text-transform:uppercase;flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden}.scalar-card-header-actions[data-v-ef7873bc]{display:flex}.scalar-card-footer[data-v-918ab8d6]{flex-shrink:0}.tab-list[data-v-03fdb072]{display:flex;gap:6px;position:relative;flex:1;padding:9px 12px;overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-03fdb072]{padding:0}.tab[data-v-d0e07e65]{background:none;border:none;font-size:var(--scalar-mini);font-family:var(--scalar-font);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);line-height:calc(var(--scalar-mini) + 2px);white-space:nowrap;cursor:pointer;padding:0;margin-right:3px;text-transform:uppercase;position:relative;line-height:1.35}.tab[data-v-d0e07e65]: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-d0e07e65]:hover:before,.tab[data-v-d0e07e65]:focus-visible:before{opacity:1}.tab[data-v-d0e07e65]:focus-visible:before{outline:1px solid var(--scalar-color-accent)}.tab span[data-v-d0e07e65]{z-index:1;position:relative}.tab-selected[data-v-d0e07e65]{color:var(--scalar-color-1);text-decoration:underline;text-underline-offset:var(--scalar-micro)}.request[data-v-cd9a1e85]{display:flex;flex-wrap:nowrap}.request-header[data-v-cd9a1e85]{display:flex;gap:6px;text-transform:initial}.request-method[data-v-cd9a1e85]{font-family:var(--scalar-font-code);text-transform:uppercase}.request-client-picker[data-v-cd9a1e85]{padding-left:12px;padding-right:9px}.request-card-footer[data-v-cd9a1e85]{display:flex;justify-content:flex-end;padding:6px;flex-shrink:0}.request-card-footer-addon[data-v-cd9a1e85]{display:flex;align-items:center;flex:1;min-width:0}.request-editor-section[data-v-cd9a1e85]{display:flex;flex:1}.request-card-simple[data-v-cd9a1e85]{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 12px;font-size:var(--scalar-small)}.code-snippet[data-v-cd9a1e85]{display:flex;flex-direction:column;width:100%}.empty-state[data-v-4b51e8ca]{margin:10px 0 10px 12px;text-align:center;font-size:var(--scalar-micro);min-height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--scalar-radius-lg);color:var(--scalar-color-2)}.rule-title[data-v-4b51e8ca]{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-4b51e8ca]{margin:0 12px;border-radius:var(--scalar-radius-lg)}.rule-items[data-v-4b51e8ca]{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-4b51e8ca]{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-4b51e8ca]:before{border:1px solid var(--scalar-border-color);border-top:0;border-right:0;content:" ";display:block;width:24px;height:6px;border-radius:0 0 0 var(--scalar-radius-lg);margin-top:6px;color:var(--scalar-color-2);transform:translate(-25px);color:var(--scalar-color-1);position:absolute}.markdown[data-v-77e1a07c] *{margin:0}.code-copy[data-v-77e1a07c]{display:flex;align-items:center;justify-content:center;-moz-appearance:none;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);border:none;padding:0;margin-right:12px}.code-copy[data-v-77e1a07c]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-77e1a07c]{width:13px;height:13px}.response-card-footer[data-v-77e1a07c]{display:flex;flex-direction:column;flex-shrink:0;padding:10px 12px;gap:8px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.response-example-selector[data-v-77e1a07c]{align-self:flex-start;margin:-4px}.response-description[data-v-77e1a07c]{font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);color:var(--scalar-color--1);display:flex;align-items:center;box-sizing:border-box}.schema-type[data-v-77e1a07c]{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-77e1a07c]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-77e1a07c]{display:block;margin:6px}.scalar-card-container[data-v-77e1a07c]{flex:1;background:var(--scalar-background-2);display:grid}.scalar-card-container[data-v-77e1a07c] .cm-scroller{overflow-y:hidden}.scalar-card-checkbox[data-v-77e1a07c]{display:flex;align-items:center;justify-content:center;position:relative;min-height:17px;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);width:-moz-fit-content;width:fit-content;white-space:nowrap;margin-right:9px;gap:6px}.scalar-card-checkbox:has(.scalar-card-checkbox-input:focus-visible) .scalar-card-checkbox-checkmark[data-v-77e1a07c]{outline:1px solid var(--scalar-color-accent)}.scalar-card-checkbox[data-v-77e1a07c]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-77e1a07c]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.scalar-card-checkbox-checkmark[data-v-77e1a07c]{height:17px;width:17px;border-radius:var(--scalar-radius);background-color:transparent;background-color:var(--scalar-background-3);box-shadow:inset 0 0 0 1px var(--scalar-border-color)}.scalar-card-checkbox[data-v-77e1a07c]:has(.scalar-card-checkbox-input:checked){color:var(--scalar-color-1)}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-77e1a07c]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-77e1a07c]:after{content:"";position:absolute;display:none}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-77e1a07c]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-77e1a07c]:after{right:6px;top:36.5%;width:5px;height:9px;border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.show-api-client-button[data-v-77256f36]{-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:4px 6px;white-space:nowrap;border-radius:var(--scalar-radius);display:flex;justify-content:center;align-items:center;font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-background-2);font-family:var(--scalar-font);background:var(--scalar-button-1);position:relative;cursor:pointer;box-sizing:border-box;box-shadow:inset 0 0 0 1px #0000001a;outline-offset:2px}.show-api-client-button span[data-v-77256f36],.show-api-client-button svg[data-v-77256f36]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-77256f36]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-77256f36]{margin-right:4px}.schema-type-icon[data-v-2a52eb0b]{color:var(--scalar-color-1);display:none}.schema-type[data-v-2a52eb0b]{font-family:var(--scalar-font-code);color:var(--scalar-color-1)}.property-detail[data-v-3ae98a1b]{display:inline-flex}.property-detail+.property-detail[data-v-3ae98a1b]:before{display:block;content:"·";margin:0 .5ch}.property-detail-truncate[data-v-3ae98a1b]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-3ae98a1b]{overflow:hidden;text-overflow:ellipsis}.property-detail-prefix[data-v-3ae98a1b]{color:var(--scalar-color-2)}code.property-detail-value[data-v-3ae98a1b]{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-heading[data-v-8f6978ee]{display:flex;flex-wrap:wrap;align-items:baseline;row-gap:9px;white-space:nowrap}.property-heading[data-v-8f6978ee]>*{margin-right:9px}.property-heading[data-v-8f6978ee]:last-child{margin-right:0}.property-heading>.property-detail[data-v-8f6978ee]:not(:last-of-type){margin-right:0}.property-name[data-v-8f6978ee]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);display:flex}.property-example[data-v-8f6978ee]{margin-top:8px;font-size:var(--scalar-mini)}.property-additional[data-v-8f6978ee]{font-family:var(--scalar-font-code)}.property-required[data-v-8f6978ee],.property-optional[data-v-8f6978ee]{color:var(--scalar-color-2)}.property-required[data-v-8f6978ee]{font-size:var(--scalar-micro);color:var(--scalar-color-orange)}.property-read-only[data-v-8f6978ee]{font-size:var(--scalar-micro);color:var(--scalar-color-blue)}.property-write-only[data-v-8f6978ee]{font-size:var(--scalar-micro);color:var(--scalar-color-green)}.property-detail[data-v-8f6978ee]{font-size:var(--scalar-micro);color:var(--scalar-color-2);display:flex;align-items:center;min-width:0}.property-const[data-v-8f6978ee]{color:var(--scalar-color-1)}.property[data-v-c75bd9a9]{color:var(--scalar-color-1);padding:10px;font-size:var(--scalar-mini)}.property[data-v-c75bd9a9]:last-of-type{padding-bottom:0}.property--compact.property--level-0[data-v-c75bd9a9]{padding:12px 0}.property--deprecated[data-v-c75bd9a9]{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-c75bd9a9]>*{opacity:.75}.property-description[data-v-c75bd9a9]{margin-top:6px;line-height:1.4;font-size:var(--scalar-small)}.property-heading:empty+.property-description[data-v-c75bd9a9]:last-of-type,.property-description[data-v-c75bd9a9]:first-of-type:last-of-type{margin-top:0}[data-v-c75bd9a9] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-c75bd9a9]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.children[data-v-c75bd9a9]{display:flex;flex-direction:column;padding-top:8px}.property-example[data-v-c75bd9a9]{display:flex;flex-direction:column;margin-top:6px;max-height:calc(((var(--full-height) - var(--refs-header-height))) / 2);font-size:var(--scalar-micro);border:var(--scalar-border-width) solid var(--scalar-border-color);background:var(--scalar-background-2);border-radius:var(--scalar-radius-lg)}.property-example-label[data-v-c75bd9a9]{font-weight:var(--scalar-semibold);color:var(--scalar-color-3);padding:6px}.property-example-value[data-v-c75bd9a9]{all:unset;font-family:var(--scalar-font-code);white-space:pre;padding:6px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.property-rule[data-v-c75bd9a9]{display:flex;flex-direction:column;gap:6px;margin-top:12px;border-radius:var(--scalar-radius-lg)}.property-enum-value[data-v-c75bd9a9]{padding:3px 0;color:var(--scalar-color-2);line-height:1.5;word-break:break-word}.property-enum-value[data-v-c75bd9a9]:before{content:"⊢";margin-right:6px;color:var(--scalar-color-3)}.property-enum-values[data-v-c75bd9a9]{margin-top:8px;list-style:none}.property--compact .property-example[data-v-c75bd9a9]{align-items:center;background:transparent;border:none;display:flex;flex-direction:row;gap:8px}.property--compact .property-example-label[data-v-c75bd9a9],.property--compact .property-example-value[data-v-c75bd9a9]{padding:0}.property--compact .property-example-value[data-v-c75bd9a9]{background:var(--scalar-background-2);border-top:0;border-radius:var(--scalar-radius);padding:2px 6px}.property-list[data-v-c75bd9a9]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-c75bd9a9]:last-of-type{padding-bottom:10px}.property-name[data-v-c75bd9a9]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.enum-toggle-button[data-v-c75bd9a9]{align-items:center;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:13.5px;cursor:pointer;color:var(--scalar-color-2);display:flex;font-weight:var(--scalar-semibold);gap:4px;margin-top:8px;padding:6px 10px;-webkit-user-select:none;-moz-user-select:none;user-select:none;white-space:nowrap}.enum-toggle-button[data-v-c75bd9a9]:hover{color:var(--scalar-color-1)}.enum-toggle-button-icon--open[data-v-c75bd9a9]{transform:rotate(45deg)}.error[data-v-6f5b320f]{background-color:var(--scalar-color-red)}.schema-card[data-v-6f5b320f]{z-index:0;position:relative;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-6f5b320f]{height:var(--schema-title-height);padding:6px 10px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);border-bottom:var(--scalar-border-width) solid transparent}button.schema-card-title[data-v-6f5b320f]{cursor:pointer}button.schema-card-title[data-v-6f5b320f]:hover{color:var(--scalar-color-1)}.schema-card-title-icon--open[data-v-6f5b320f]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title[data-v-6f5b320f]{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-6f5b320f]{width:-moz-fit-content;width:fit-content}.schema-card-description+.schema-properties[data-v-6f5b320f]{width:-moz-fit-content;width:fit-content;margin-top:12px}.schema-properties-open.schema-properties[data-v-6f5b320f],.schema-properties-open>.schema-card--open[data-v-6f5b320f]{width:100%}.schema-card .property[data-v-6f5b320f]:last-of-type{padding-bottom:10px}.schema-properties[data-v-6f5b320f]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);width:-moz-fit-content;width:fit-content}.schema-properties .schema-properties[data-v-6f5b320f]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-6f5b320f]{border-radius:13.5px 13.5px 9px 9px}.schema-properties-open[data-v-6f5b320f]{width:100%}.schema-card--compact[data-v-6f5b320f]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-6f5b320f]{align-self:initial}.schema-card-title--compact[data-v-6f5b320f]{color:var(--scalar-color-2);padding:6px 8px;height:auto;border-bottom:none}.schema-card--compact>.schema-properties[data-v-6f5b320f],.schema-card-title--compact[data-v-6f5b320f]{border-radius:13.5px}.schema-card-title--compact>.schema-card-title-icon[data-v-6f5b320f]{margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-6f5b320f]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-6f5b320f]{position:static}.schema-card--compact.schema-card--level-0>.schema-properties[data-v-6f5b320f]{border:none}[data-v-6f5b320f] .schema-card-description p{font-size:var(--scalar-mini, var(--scalar-paragraph));color:var(--scalar-color-2);line-height:1.5;display:block;margin-bottom:6px}.schema-card-description[data-v-6f5b320f]:first-of-type{padding-top:10px}.children .schema-card-description[data-v-6f5b320f]:first-of-type{padding-top:0}.models-list-item .schema-properties[data-v-6f5b320f]{margin-bottom:10px}.content-type[data-v-4b712394]{display:flex;align-items:center;font-size:var(--scalar-heading-4);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:24px;padding-bottom:12px;border-bottom:1px solid var(--scalar-border-color);flex-flow:wrap}.content-type-select[data-v-4b712394]{position:relative;padding-left:9px;height:-moz-fit-content;height:fit-content;color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);display:flex;align-items:center}.content-type-no-select.content-type-select[data-v-4b712394]{pointer-events:none}.content-type-no-select.content-type-select[data-v-4b712394]:after{display:none}.content-type-select span[data-v-4b712394]{display:flex;align-items:center}.content-type-select[data-v-4b712394]:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-4px,0);display:block;margin-left:7px;box-shadow:1px 1px 0 currentColor}.content-type-select select[data-v-4b712394]{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.content-type-select[data-v-4b712394]:hover{color:var(--scalar-color-1)}@media (max-width: 460px){.content-type-select[data-v-4b712394]{margin-left:auto;padding-right:3px}}.headers-card[data-v-2f99eae6]{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-2f99eae6]{align-self:initial}.headers-card-title[data-v-2f99eae6]{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-2f99eae6]{cursor:pointer}button.headers-card-title[data-v-2f99eae6]:hover{color:var(--scalar-color-1)}.headers-card-title-icon--open[data-v-2f99eae6]{transform:rotate(45deg)}.headers-properties-open>.headers-card-title[data-v-2f99eae6]{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-2f99eae6]{width:100%}.headers-properties[data-v-2f99eae6]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:13.5px;width:-moz-fit-content;width:fit-content}.headers-card .property[data-v-2f99eae6]:last-of-type{padding-bottom:10px}.headers-card-title>.headers-card-title-icon[data-v-2f99eae6]{width:10px;height:10px;margin:0}.headers-card-title>.headers-card-title-icon--open[data-v-2f99eae6]{transform:rotate(45deg)}.parameter-item[data-v-9508a2d2]{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-9508a2d2]{padding-bottom:0}.parameter-item-container[data-v-9508a2d2]{padding:0}.parameter-item-headers[data-v-9508a2d2]{border:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item-name[data-v-9508a2d2]{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)}.parameter-item-type[data-v-9508a2d2]{font-size:var(--scalar-micro);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-9508a2d2]{white-space:normal}.parameter-item-trigger+.parameter-item-container[data-v-9508a2d2] .property--level-0>.property-heading .property-detail-value{font-size:var(--scalar-font-size-3)}.parameter-item-required-optional[data-v-9508a2d2]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-9508a2d2]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-9508a2d2]{margin-top:3px!important;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-item-description[data-v-9508a2d2] p{margin-top:4px;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-schema[data-v-9508a2d2]{padding-bottom:9px;margin-top:3px}.parameter-item-trigger[data-v-9508a2d2]{padding:12px 0;cursor:pointer;outline:none;text-align:left;position:relative;align-items:baseline}.parameter-item-trigger-open[data-v-9508a2d2]{padding-bottom:0}.parameter-item-trigger[data-v-9508a2d2]:after{content:"";position:absolute;height:10px;width:100%;bottom:0}.parameter-item-icon[data-v-9508a2d2]{color:var(--scalar-color-3);height:18px;left:-19px;position:absolute;top:11px;width:18px}.parameter-item-trigger:hover .parameter-item-icon[data-v-9508a2d2],.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-9508a2d2]{color:var(--scalar-color-1)}.parameter-item-trigger:focus-visible .parameter-item-icon[data-v-9508a2d2]{outline:1px solid var(--scalar-color-accent);outline-offset:2px;border-radius:var(--scalar-radius)}.parameter-item-content-type[data-v-9508a2d2]{margin-left:auto;opacity:0;transition:opacity .1s ease-in-out;color:var(--scalar-color-3);font-size:var(--scalar-micro);background:var(--scalar-background-2);padding:2px 6px;border-radius:12px}.parameter-item-trigger:hover .parameter-item-content-type[data-v-9508a2d2]{opacity:1}.parameter-list[data-v-835fb005]{margin-top:24px}.parameter-list-title[data-v-835fb005]{font-size:var(--scalar-font-size-2);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:12px;margin-bottom:12px}.parameter-list-items[data-v-835fb005]{list-style:none;padding:0;margin:0 0 12px;font-size:var(--scalar-small)}.request-body-title[data-v-293819f7]{display:flex;align-items:center;font-size:var(--scalar-font-size-2);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:24px;padding-bottom:12px;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-flow:wrap}.request-body-title-select[data-v-293819f7]{position:relative;height:-moz-fit-content;height:fit-content;margin-left:auto;font-weight:var(--scalar-regular);display:flex;align-items:center;color:var(--scalar-color-3);font-size:var(--scalar-micro);background:var(--scalar-background-2);padding:2px 6px;border-radius:12px;border:var(--scalar-border-width) solid var(--scalar-border-color)}.request-body-title-no-select.request-body-title-select[data-v-293819f7]{pointer-events:none}.request-body-title-no-select[data-v-293819f7]{border:none}.request-body-title-no-select.request-body-title-select[data-v-293819f7]:after{display:none}.request-body-title-select span[data-v-293819f7]{display:flex;align-items:center}.request-body-title-select[data-v-293819f7]:after{content:"";width:6px;height:6px;transform:rotate(45deg) translate3d(0,-3px,0);display:block;margin-left:6px;box-shadow:1px 1px 0 currentColor;margin-right:5px}.request-body-title-select select[data-v-293819f7]{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.request-body-title-select[data-v-293819f7]:hover{color:var(--scalar-color-1)}.request-body-description[data-v-293819f7]{margin-top:6px;font-size:var(--scalar-small);width:100%}.request-body-description[data-v-293819f7] .markdown *{color:var(--scalar-color-2)!important}@media (max-width: 460px){.request-body-title-select[data-v-293819f7]{margin-left:auto;padding-right:3px}}.operation-title[data-v-040b254b]{display:flex;justify-content:space-between}.operation-details[data-v-040b254b]{display:flex;align-items:center;margin-top:0;gap:9px;min-width:0;flex-shrink:1}.endpoint-type[data-v-040b254b]{display:flex;align-items:center;justify-content:center;gap:6px;position:relative;z-index:0;width:60px;padding:6px;flex-shrink:0;font-size:var(--scalar-small);text-transform:uppercase;font-weight:var(--scalar-bold);font-family:var(--scalar-font)}.endpoint-type[data-v-040b254b]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:currentColor;opacity:.15;border-radius:var(--scalar-radius-lg)}.endpoint-anchor[data-v-040b254b]{display:flex;align-items:center;min-width:0;flex-shrink:1;font-size:20px}.endpoint-anchor.label[data-v-040b254b]{display:flex}.endpoint-label[data-v-040b254b]{display:flex;align-items:baseline;gap:9px;min-width:0;flex-shrink:1;color:var(--scalar-color-1)}.endpoint-label-path[data-v-040b254b]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-040b254b] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-040b254b]{color:var(--scalar-color-2);font-size:var(--scalar-small);flex-shrink:1000000000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-try-hint[data-v-040b254b]{padding:2px;height:24px;width:24px;flex-shrink:0}.endpoint-copy[data-v-040b254b]{color:currentColor;padding:2px}.endpoint-copy[data-v-040b254b] svg{stroke-width:2px}.endpoint-content[data-v-040b254b]{display:grid;grid-auto-columns:1fr;grid-auto-flow:row;gap:9px;padding:9px}@media (min-width: 1000px){.endpoint-content[data-v-040b254b]{grid-auto-flow:column}}@container (max-width: 900px){.endpoint-content[data-v-040b254b]{grid-template-columns:1fr}}.endpoint-content[data-v-040b254b]>*{max-height:unset}.operation-details-card[data-v-040b254b]{display:flex;flex-direction:column;gap:12px}.operation-details-card-item[data-v-040b254b] .parameter-list{border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-top:0}.operation-details-card-item[data-v-040b254b]{display:flex;flex-direction:column;gap:12px}.operation-details-card-item[data-v-040b254b] .parameter-list-items{margin-bottom:0}.operation-details-card[data-v-040b254b] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.operation-details-card[data-v-040b254b] .parameter-list .parameter-list{margin-bottom:12px}.operation-details-card[data-v-040b254b] .parameter-item{margin:0;padding:0 9px}.operation-details-card[data-v-040b254b] .property{padding:9px;margin:0}.operation-details-card[data-v-040b254b] .parameter-list-title,.operation-details-card[data-v-040b254b] .request-body-title{text-transform:uppercase;font-weight:var(--scalar-bold);font-size:var(--scalar-mini);color:var(--scalar-color-2);line-height:1.33;padding:9px;margin:0}.operation-details-card[data-v-040b254b] .request-body-title-select{text-transform:initial;font-weight:initial;margin-left:auto}.examples[data-v-231d90aa]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.deprecated[data-v-231d90aa] *{text-decoration:line-through}.example-path[data-v-231d90aa]{color:var(--scalar-color-2);font-family:var(--scalar-font-code)}.example-path[data-v-231d90aa] em{color:var(--scalar-color-1);font-style:normal}.show-more[data-v-252cd03d]{background:var(--scalar-background-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border:var(--scalar-border-width) solid var(--scalar-border-color);margin:auto;padding:8px 12px;border-radius:30px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);display:flex;align-items:center;justify-content:center;position:relative;top:-48px}.show-more[data-v-252cd03d]:hover{color:var(--scalar-color-2);cursor:pointer}.show-more-icon[data-v-252cd03d]{width:16px!important;height:16px!important;margin-left:3px}.show-more[data-v-252cd03d]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.show-more[data-v-252cd03d]{top:-24px}}.webhook-request-body[data-v-cbaa1001]{margin-top:-18px}.webhooks-list[data-v-fe6e775c]{display:contents}.webhooks-list-truncated .webhooks-list-item[data-v-fe6e775c]:last-child{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.webhooks-list-item[aria-expanded=true][data-v-fe6e775c]{padding-bottom:48px}.webhook-section-description.webhook-section-description[data-v-fe6e775c]{color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);padding-bottom:12px}.show-more-webhooks[data-v-fe6e775c]{margin-top:32px;top:0}.endpoints[data-v-72ede5ca]{overflow:auto;background:var(--scalar-background-2);padding:10px 12px}@media (max-width: 580px){.endpoints[data-v-72ede5ca]{max-height:calc(100vh - 150px)}}.endpoints span+span[data-v-72ede5ca]{text-align:left;margin-left:12px;text-transform:initial}.endpoint[data-v-72ede5ca]{display:flex;white-space:nowrap;cursor:pointer;text-decoration:none}.endpoint:hover .endpoint-path[data-v-72ede5ca],.endpoint:focus-visible .endpoint-path[data-v-72ede5ca]{text-decoration:underline}.endpoint span[data-v-72ede5ca]:first-of-type{text-transform:uppercase}.endpoint .post[data-v-72ede5ca],.endpoint .get[data-v-72ede5ca],.endpoint .delete[data-v-72ede5ca],.endpoint .put[data-v-72ede5ca]{white-space:nowrap}.endpoint span[data-v-72ede5ca]{color:var(--scalar-color-1);min-width:62px;display:inline-block;text-align:right;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer}.deprecated[data-v-72ede5ca]{text-decoration:line-through}.section-container[data-v-a6dd88a4]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-a6dd88a4]:has(.show-more){background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}.tag-section[data-v-18f8a087]{margin-bottom:48px}.tag-name[data-v-18f8a087]{text-transform:capitalize}.tag-description[data-v-18f8a087]{padding-bottom:4px;text-align:left}.references-loading{position:absolute;top:0;left:0;right:0;z-index:1;grid-area:rendered;background:var(--scalar-background-1)}.references-loading-top-spacer{top:-1px}@media (min-width: 1001px){.references-loading-top-spacer{top:calc(var(--refs-header-height) - 1px)}}.references-loading-hidden-tag .section-container>.section:first-child{display:none}.models-list[data-v-02d49c40]{display:contents}.models-list-truncated .models-list-item[data-v-02d49c40]:last-child{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.show-more-models[data-v-02d49c40]{margin-top:32px;top:0}.reference-models[data-v-b3be69ad]{margin-bottom:48px}.reference-models-anchor[data-v-b3be69ad]{display:flex;align-items:center;font-size:20px;padding-left:6px;color:var(--scalar-color-1)}.reference-models-label[data-v-b3be69ad]{font-size:var(--scalar-mini)}.reference-models-label[data-v-b3be69ad] em{font-weight:var(--scalar-bold)}.narrow-references-container{container-name:narrow-references-container;container-type:inline-size}.render-loading[data-v-25d74a5d]{height:calc(var(--full-height) - var(--refs-header-height));display:flex;align-items:center;justify-content:center}.introduction-card[data-v-25d74a5d]{display:flex;flex-direction:column;background:var(--scalar-background-1)}.introduction-card-item[data-v-25d74a5d]{display:flex;overflow:hidden;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-bottom:12px;flex-direction:column;justify-content:start}@container narrow-references-container (max-width: 900px){.introduction-card-item[data-v-25d74a5d]{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}}.introduction-card-item[data-v-25d74a5d]:has(.description) .server-form-container{border-bottom-left-radius:0;border-bottom-right-radius:0}.introduction-card-item[data-v-25d74a5d] .request-item{border-bottom:0}.introduction-card-title[data-v-25d74a5d]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3)}.introduction-card-row[data-v-25d74a5d]{gap:24px}@media (min-width: 600px){.introduction-card-row[data-v-25d74a5d]{flex-flow:row wrap}}.introduction-card-row[data-v-25d74a5d]>*{flex:1}@media (min-width: 600px){.introduction-card-row[data-v-25d74a5d]>*{min-width:-moz-min-content;min-width:min-content}}@media (max-width: 600px){.introduction-card-row[data-v-25d74a5d]>*{max-width:100%}}@container (max-width: 900px){.introduction-card-row[data-v-25d74a5d]{flex-direction:column;align-items:stretch;gap:0px}}.introduction-card[data-v-25d74a5d] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.references-classic .introduction-card-row[data-v-25d74a5d] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.references-classic .introduction-card-row[data-v-25d74a5d] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}.section-flare[data-v-25d74a5d]{top:0;right:0;pointer-events:none}.start[data-v-391b4e37]{padding:24px;display:flex;flex-flow:wrap;justify-content:space-between;position:relative;z-index:0}.swagger-editor .start[data-v-391b4e37]{padding-top:24px}.start-h1[data-v-391b4e37]{font-size:var(--scalar-heading-2);margin-top:0;line-height:1.45;margin-bottom:0;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%;position:relative}.start-h3[data-v-391b4e37]{font-size:var(--scalar-paragraph);margin-top:0;margin-bottom:6px;display:block;line-height:1.45;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%}.start-h1[data-v-391b4e37]:not(:first-of-type){margin-top:24px}.start-p[data-v-391b4e37]{font-size:var(--scalar-paragraph);color:var(--scalar-color-2);line-height:1.5;width:100%;margin-top:12px}.start-ul[data-v-391b4e37]{margin-top:12px;font-size:var(--scalar-paragraph);line-height:1.5;padding-left:0;list-style:initial;display:flex;flex-flow:wrap;gap:24px}.start-ul li[data-v-391b4e37]{margin:0;padding:0;list-style:none;width:calc(50% - 24px);color:var(--scalar-color-2)}.start-ul li[data-v-391b4e37]:first-of-type{margin-top:0}.start-section[data-v-391b4e37]{width:100%;margin-bottom:12px;display:flex;flex-flow:wrap}.start-section[data-v-391b4e37]:last-of-type{margin-bottom:48px}.start-h2[data-v-391b4e37]{background:var(--scalar-background-2);border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg);border:1px solid var(--scalar-border-color);color:var(--scalar-color-3);font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;width:100%}.start-item[data-v-391b4e37]{align-items:center;background:var(--scalar-background-2);border-right:1px solid var(--scalar-border-color);border-bottom:1px solid var(--scalar-border-color);color:var(--scalar-color-1);cursor:pointer;display:flex;flex:1;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;text-transform:capitalize;-webkit-user-select:none;-moz-user-select:none;user-select:none}.start-section-integrations .start-item[data-v-391b4e37]:first-of-type{border-bottom-left-radius:var(--scalar-radius-lg);border-left:1px solid var(--scalar-border-color)}.start-section-integrations .start-item[data-v-391b4e37]:last-of-type{border-bottom-right-radius:var(--scalar-radius-lg)}.start-section-colors .start-item[data-v-391b4e37]{min-width:33.33%}.start-section-colors .start-item[data-v-391b4e37]:nth-child(3n+2){border-left:1px solid var(--scalar-border-color)}.start-section-colors .start-item[data-v-391b4e37]:last-of-type,.start-section-colors .start-item-active[data-v-391b4e37]:last-of-type:before{border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.start-item[data-v-391b4e37]:empty{pointer-events:none}.start-item svg[data-v-391b4e37]{width:14px;height:14px;margin-right:6px}.start-item[data-v-391b4e37]:hover{background:var(--scalar-background-3)}.start-item-active[data-v-391b4e37]{z-index:10;position:relative;color:var(--scalar-color-1)}.start-item-active[data-v-391b4e37]:before{border:1px solid var(--scalar-color-1);content:"";top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;position:absolute}.start-section-color .start-item[data-v-391b4e37]{text-transform:capitalize}.start-cta[data-v-391b4e37]{display:flex;gap:12px;width:100%;margin-top:24px;margin-bottom:0}.start-row[data-v-391b4e37]{width:100%;margin-top:12px;overflow:hidden}.start-hero-copy[data-v-391b4e37]{background:var(--scalar-background-2);padding:12px;border-radius:var(--scalar-radius-lg)}.start-p-small[data-v-391b4e37]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);margin-bottom:12px;line-height:1.4}.start-cta[data-v-391b4e37]{margin-bottom:12px;width:-moz-fit-content;width:fit-content;white-space:nowrap}.start-copy[data-v-391b4e37]{padding:76px 48px 48px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center}.start-logo[data-v-391b4e37]{color:var(--scalar-color-1);margin-bottom:24px;width:72px;aspect-ratio:1;position:relative;box-shadow:var(--scalar-shadow-2);border-radius:50%}.start-logo[data-v-391b4e37]:before{content:"";width:300%;aspect-ratio:1;left:-100%;top:-100%;position:absolute;z-index:-1;border-radius:50%;background-size:24px 24px;box-shadow:inset 0 0 50px var(--scalar-background-1),inset 0 0 50px var(--scalar-background-1);background-image:linear-gradient(to right,var(--scalar-border-color) 1px,transparent 1px),linear-gradient(to bottom,var(--scalar-border-color) 1px,transparent 1px)}.start-logo svg[data-v-391b4e37]{width:100%;height:auto;background:var(--scalar-background-1);padding:3px;border-radius:50%;position:relative}@media screen and (max-width: 600px){.start-section-colors .start-item[data-v-391b4e37],.start-item[data-v-391b4e37]{width:100%;border-radius:0;border-right:none;border-top:1px solid var(--scalar-border-color)}.start-item[data-v-391b4e37]:empty{display:none}.start-h2[data-v-391b4e37]{border-bottom:none}.start li[data-v-391b4e37]{width:100%}.start-copy[data-v-391b4e37]{padding:48px 0 24px}}@media screen and (max-width: 1000px){.start[data-v-391b4e37]{padding:0;overflow:auto}}.sidebar-heading-type[data-v-f51e2805]{display:block;min-width:3.9em;overflow:hidden;line-height:14px;flex-shrink:0;color:#fff;color:color-mix(in srgb,var(--method-color, var(--scalar-color-1)),transparent 0%);text-transform:uppercase;font-size:10px;font-weight:var(--scalar-bold);text-align:right;position:relative;font-family:var(--scalar-font-code);white-space:nowrap;margin-left:3px}.sidebar-heading[data-v-90ecd485]{display:flex;gap:6px;color:var(--scalar-sidebar-color-2, var(--scalar-color-2));font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);word-break:break-word;line-height:1.385;max-width:100%;position:relative;cursor:pointer;border-radius:var(--scalar-radius);flex:1;padding-right:9px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.sidebar-heading-link-method[data-v-90ecd485]{margin:0}.sidebar-heading.deprecated .sidebar-heading-link-title[data-v-90ecd485]{text-decoration:line-through}.sidebar-heading-link-title[data-v-90ecd485]{margin:0}.sidebar-heading[data-v-90ecd485]:hover{background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-heading:hover .sidebar-heading-link-title[data-v-90ecd485]{color:var(--scalar-sidebar-item-hover-color)}.sidebar-heading-link[data-v-90ecd485]:focus-visible{outline:none}.sidebar-heading[data-v-90ecd485]:has(>.sidebar-heading-link:focus-visible){z-index:1;outline:1px solid var(--scalar-color-accent)}.active_page.sidebar-heading[data-v-90ecd485]:hover,.active_page.sidebar-heading[data-v-90ecd485]{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-90ecd485]{font-weight:var(--scalar-sidebar-font-weight-active, var(--scalar-semibold))}.active_page.sidebar-heading:hover .sidebar-heading-link-title[data-v-90ecd485]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-90ecd485]:before{content:"";position:absolute;top:0;left:calc((var(--scalar-sidebar-level) * 12px));width:1px;height:100%;background:var(--scalar-sidebar-indent-border)}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-90ecd485]:hover:before{background:var(--scalar-sidebar-indent-border-hover)}.sidebar-indent-nested .sidebar-indent-nested .active_page.sidebar-heading[data-v-90ecd485]:before{background:var(--scalar-sidebar-indent-border-active)}.sidebar-heading-link[data-v-90ecd485]{text-decoration:none;color:inherit;padding:6px 0;display:flex;flex:1;justify-content:space-between;gap:2px}.sidebar-heading p[data-v-90ecd485]{height:-moz-fit-content;height:fit-content;display:flex;align-items:center;font-weight:var(--scalar-sidebar-font-weight, var(--scalar-semibold))}.sidebar-heading p[data-v-90ecd485]:empty{display:none}.link-icon[data-v-90ecd485]{position:relative;left:4px}.sidebar-icon[data-v-90ecd485]{display:flex;align-items:center;justify-content:center;margin-right:6px;width:13px;height:13px}.sidebar-icon>svg[data-v-90ecd485]{width:13px;height:13px}.sidebar-group-item[data-v-90ecd485]{position:relative}.sidebar-heading-chevron[data-v-90ecd485]{margin:5px -5.5px 5px -9px}.sidebar-heading-chevron .toggle-nested-icon[data-v-90ecd485]:focus-visible{outline:none}.sidebar-heading[data-v-90ecd485]: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-90ecd485]{border:none;color:currentColor;padding:2px;color:var(--scalar-sidebar-color-2)}.active_page .toggle-nested-icon[data-v-90ecd485]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.toggle-nested-icon[data-v-90ecd485]:hover,.toggle-nested-icon[data-v-90ecd485]:focus-visible{color:currentColor}.action-menu[data-v-90ecd485]{position:absolute;top:5px;right:5px;display:flex;gap:6px}.action-menu[data-v-90ecd485] .button-wrapper button{opacity:0;width:20px;height:20px;padding:4px}.action-menu[data-v-90ecd485]:hover .button-wrapper button,.action-menu[data-v-90ecd485] .button-wrapper button:hover,.sidebar-heading:hover~.action-menu[data-v-90ecd485] .button-wrapper button,.action-menu[data-v-90ecd485] .button-wrapper button[aria-expanded=true]{opacity:1}.sidebar-heading[data-v-90ecd485]: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-90ecd485]{color:var(--scalar-sidebar-color-1, var(--scalar-color-1));text-transform:var(--scalar-tag-text-transform, initial)}.sidebar-group[data-v-39c84840]{list-style:none;width:100%;margin:0;padding:0}.sidebar-indent-nested[data-v-39c84840] .sidebar-heading{padding-left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 12px)!important}.sidebar-indent-nested[data-v-39c84840] .sidebar-heading .toggle-nested-icon{left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 2px)!important}:where(.sidebar-indent-nested[data-v-39c84840]) .sidebar-heading{color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}:where(.sidebar-indent-nested[data-v-39c84840]) :where(.sidebar-indent-nested) .sidebar-heading{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.sidebar[data-v-b863366c]{--scalar-sidebar-indent-base: 12px;--scalar-sidebar-font-weight-active: var(--scalar-semibold);--scalar-sidebar-font-weight: var(--scalar-semibold);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-b863366c]{flex:1;padding:9px 12px}@media (max-width: 1000px){.sidebar[data-v-b863366c]{min-height:0;border-right:none}.sidebar-pages[data-v-b863366c]{padding-top:12px}}.sidebar-group-title[data-v-b863366c]{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-b863366c]{border-top:var(--scalar-border-width) solid var(--scalar-sidebar-border-color);margin-top:9px}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}}@layer scalar-base{: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: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline;--scalar-link-font-weight: inherit}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--scalar-text-decoration-color: currentColor;--scalar-text-decoration-color-hover: currentColor}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--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}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #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: #3ea6ff;--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-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:-1px;left:-1px;width:20px;height:20px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\');mask-image:url(\'data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}}@layer scalar-base{: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: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline;--scalar-link-font-weight: inherit}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--scalar-text-decoration-color: currentColor;--scalar-text-decoration-color-hover: currentColor}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--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}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #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: #3ea6ff;--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-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-api-reference{color:var(--scalar-color-1)}.scalar-api-reference .container{width:100%}@media (min-width: 400px){.scalar-api-reference .container{max-width:400px}}@media (min-width: 600px){.scalar-api-reference .container{max-width:600px}}@media (min-width: 800px){.scalar-api-reference .container{max-width:800px}}@media (min-width: 1000px){.scalar-api-reference .container{max-width:1000px}}@media (min-width: 1200px){.scalar-api-reference .container{max-width:1200px}}.scalar-api-reference .row{display:flex;flex-direction:row}.scalar-api-reference .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.scalar-api-reference .pointer-events-none{pointer-events:none}.scalar-api-reference .visible{visibility:visible}.scalar-api-reference .collapse{visibility:collapse}.scalar-api-reference .static{position:static}.scalar-api-reference .fixed{position:fixed}.scalar-api-reference .absolute{position:absolute}.scalar-api-reference .relative{position:relative}.scalar-api-reference .sticky{position:sticky}.scalar-api-reference .right-0{right:0}.scalar-api-reference .block{display:block}.scalar-api-reference .flex{display:flex}.scalar-api-reference .grid{display:grid}.scalar-api-reference .contents{display:contents}.scalar-api-reference .hidden{display:none}.scalar-api-reference .flex-shrink,.scalar-api-reference .shrink{flex-shrink:1}.scalar-api-reference .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-api-reference .resize{resize:both}.scalar-api-reference .flex-wrap{flex-wrap:wrap}.scalar-api-reference .content-start{align-content:flex-start}.scalar-api-reference .content-end{align-content:flex-end}.scalar-api-reference .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scalar-api-reference .border{border-width:var(--scalar-border-width)}.scalar-api-reference .bg-b-2{background-color:var(--scalar-background-2)}.scalar-api-reference .px-0{padding-left:0;padding-right:0}.scalar-api-reference .font{font-family:var(--scalar-font)}.scalar-api-reference .text-sm{font-size:var(--scalar-font-size-4)}.scalar-api-reference .font{font-weight:var(--scalar-regular)}.scalar-api-reference .uppercase{text-transform:uppercase}.scalar-api-reference .capitalize{text-transform:capitalize}.scalar-api-reference .text-c-1{color:var(--scalar-color-1)}.scalar-api-reference .underline{text-decoration-line:underline}.scalar-api-reference .outline{outline-style:solid}.scalar-api-reference .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-api-reference .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.nav-item[data-v-d56f12d9]{padding:0 1rem;cursor:pointer;flex:1;justify-content:center;align-items:center;display:flex;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);padding:4.5px;min-width:0;overflow:hidden;position:relative}.dark-mode .nav-item[data-v-d56f12d9]{background:color-mix(in srgb,var(--scalar-background-2),transparent)}.nav-item-icon-copy[data-v-d56f12d9]{max-width:100%;white-space:nowrap;overflow:hidden;-webkit-mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px);mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px)}.nav-item:hover .nav-item-icon-copy[data-v-d56f12d9]{-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-d56f12d9]{max-width:calc(100% - 20px)}.nav-item[data-v-d56f12d9]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-d56f12d9]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-d56f12d9]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-d56f12d9]{position:absolute;right:3px;padding:2px;border-radius:var(--scalar-radius);background:transparent;max-width:20px;stroke-width:1.5px;color:var(--scalar-color-3);margin-left:-20px;opacity:0}.nav-item:hover .nav-item-close[data-v-d56f12d9]{opacity:1}.nav-item-close[data-v-d56f12d9]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-d56f12d9]:hover{background-color:var(--scalar-background-2)}.download-app-button[data-v-c896207d]{box-shadow:0 0 0 .5px var(--scalar-border-color);background:linear-gradient(#ffffffbf,#00000009)}.dark-mode .download-app-button[data-v-c896207d]{background:linear-gradient(#ffffff1a,#00000026)}.download-app-button[data-v-c896207d]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .download-app-button[data-v-c896207d]:hover{background:linear-gradient(#00000026,#ffffff1a)}.http-bg-gradient[data-v-46723816]{background:linear-gradient(#ffffffbf,#00000009)}.http-bg-gradient[data-v-46723816]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .http-bg-gradient[data-v-46723816]{background:linear-gradient(#ffffff09,#00000026)}.dark-mode .http-bg-gradient[data-v-46723816]:hover{background:linear-gradient(#00000026,#ffffff09)}.commandmenu[data-v-5143d9bb]{box-shadow:var(--scalar-shadow-2);border-radius:var(--scalar-radius-lg);background-color:var(--scalar-background-1);max-height:60dvh;width:100%;max-width:580px;margin:12px;position:fixed;left:50%;top:150px;opacity:0;transform:translate3d(-50%,10px,0);animation:fadeincommandmenu-5143d9bb ease-in-out .3s forwards;animation-delay:.1s}.commandmenu-overlay[data-v-5143d9bb]{position:fixed;top:0;right:0;bottom:0;left:0;background:#0003;animation:fadeincommand-5143d9bb ease-in-out .3s forwards;cursor:pointer}@keyframes fadeincommand-5143d9bb{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-5143d9bb{0%{opacity:0;transform:translate3d(-50%,10px,0)}to{opacity:1;transform:translate3d(-50%,0,0)}}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}: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: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline;--scalar-link-font-weight: inherit}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--scalar-text-decoration-color: currentColor;--scalar-text-decoration-color-hover: currentColor}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--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}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #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: #3ea6ff;--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-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:-1px;left:-1px;width:20px;height:20px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\');mask-image:url(\'data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}: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: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline;--scalar-link-font-weight: inherit}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--scalar-text-decoration-color: currentColor;--scalar-text-decoration-color-hover: currentColor}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--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}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #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: #3ea6ff;--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-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}: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: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline;--scalar-link-font-weight: inherit}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--scalar-text-decoration-color: currentColor;--scalar-text-decoration-color-hover: currentColor}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--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}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #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: #3ea6ff;--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-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:-1px;left:-1px;width:20px;height:20px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\');mask-image:url(\'data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}@layer scalar-base{*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar .scalar-app-layout[data-v-61efae61]{background:var(--scalar-background-1);height:calc(100% - 120px);max-width:1390px;width:100%;margin:auto;opacity:0;animation:scalarapiclientfadein-61efae61 .35s forwards;position:relative;overflow:hidden;border-radius:8px;border:var(--scalar-border-width) solid var(--scalar-border-color)}@keyframes scalarapiclientfadein-61efae61{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-61efae61]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000038;transition:all .3s ease-in-out;cursor:pointer;animation:scalardrawerexitfadein-61efae61 .35s forwards}.dark-mode .scalar .scalar-app-exit[data-v-61efae61]{background:#00000073}.scalar .scalar-app-exit[data-v-61efae61]:before{font-family:sans-serif;position:absolute;top:0;font-size:30px;font-weight:100;line-height:50px;right:12px;text-align:center;color:#fff;opacity:.6}.scalar .scalar-app-exit[data-v-61efae61]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-61efae61{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-61efae61]{overflow:hidden;visibility:visible;position:fixed;bottom:0;top:0;left:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center}.scalar .url-form-input[data-v-61efae61]{min-height:auto!important}.scalar .scalar-container[data-v-61efae61]{line-height:normal}.scalar .scalar-app-header span[data-v-61efae61]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-61efae61]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-61efae61]:hover{text-decoration:underline}.scalar-activate[data-v-61efae61]{width:-moz-fit-content;width:fit-content;margin:0px .75rem .75rem auto;line-height:24px;cursor:pointer;font-size:.875rem;font-weight:600;display:flex;align-items:center;gap:6px}.scalar-activate-button[data-v-61efae61]{display:flex;gap:6px;align-items:center;color:var(--scalar-color-blue);-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;background:transparent;padding:0 .5rem}.scalar-activate:hover .scalar-activate-button[data-v-61efae61]{background:var(--scalar-background-3);border-radius:3px}.scalar-modal-layout .scalar-button-danger[data-v-b6a60dbc]{background:color-mix(in srgb,var(--scalar-color-red),transparent 95%);color:var(--scalar-color-red)}.scalar-modal-layout .scalar-button-danger[data-v-b6a60dbc]:hover,.scalar-modal-layout .scalar-button-danger[data-v-b6a60dbc]:focus{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%)}.fade-request-section-content[data-v-3015ddb3]{background:linear-gradient(to left,var(--scalar-background-1) 64%,transparent)}.filter-hover[data-v-3015ddb3]{height:100%;padding-right:42px;padding-left:24px;position:absolute;right:0;transition:width 0s ease-in-out .2s;overflow:hidden}.filter-hover[data-v-3015ddb3]:hover,.filter-hover[data-v-3015ddb3]:has(:focus-visible){width:100%;z-index:10}.filter-hover[data-v-3015ddb3]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--scalar-background-1);opacity:0;transition:all .3s ease-in-out;pointer-events:none}.filter-hover-item[data-v-3015ddb3]{opacity:0}.filter-hover-item[data-v-3015ddb3]:not(:last-of-type){transform:translate3d(0,3px,0)}.filter-hover:hover .filter-hover-item[data-v-3015ddb3]{transition:opacity .2s ease-in-out,transform .2s ease-in-out}.filter-hover:hover .filter-hover-item[data-v-3015ddb3]:nth-last-of-type(1){transition-delay:.05s}.filter-hover:hover .filter-hover-item[data-v-3015ddb3]:nth-last-of-type(2){transition-delay:.1s}.filter-hover:hover .filter-hover-item[data-v-3015ddb3]:nth-last-of-type(3){transition-delay:.15s}.filter-hover:hover .filter-hover-item[data-v-3015ddb3]:nth-last-of-type(4){transition-delay:.2s}.filter-hover:hover .filter-hover-item[data-v-3015ddb3]:nth-last-of-type(5){transition-delay:.25s}.filter-hover:hover .filter-hover-item[data-v-3015ddb3]:nth-last-of-type(6){transition-delay:.3s}.filter-hover:hover .filter-hover-item[data-v-3015ddb3]:nth-last-of-type(7){transition-delay:.4s}.filter-hover:hover .filter-hover-item[data-v-3015ddb3],.filter-hover:has(:focus-visible) .filter-hover-item[data-v-3015ddb3]{opacity:1;transform:translateZ(0)}.filter-hover[data-v-3015ddb3]:hover:before,.filter-hover[data-v-3015ddb3]:has(:focus-visible):before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.context-bar-group:hover .context-bar-group-hover\\:text-c-1[data-v-3015ddb3],.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:text-c-1[data-v-3015ddb3]{--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-3015ddb3],.context-bar-group:has(:focus-visible) .context-bar-group-hover\\:hidden[data-v-3015ddb3]{display:none}.light-mode .bg-preview[data-v-c821a9de]{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-c821a9de]{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-f3712b08] .cm-editor{background-color:transparent;font-size:var(--scalar-mini);outline:none}[data-v-f3712b08] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius) 0 0 var(--scalar-radius)}.scalar-code-copy[data-v-f3712b08]{align-items:flex-start;display:flex;position:absolute;top:6px;right:6px;z-index:10;pointer-events:none;position:sticky;transform:translate(-6px)}.copy-button[data-v-f3712b08]{align-items:center;display:flex;background-color:var(--scalar-background-1);border:1px solid var(--scalar-border-color);border-radius:3px;color:var(--scalar-color-3);cursor:pointer;height:30px;opacity:0;padding:6px;pointer-events:auto;transition:opacity .15s ease-in-out,color .15s ease-in-out}.body-raw:hover .copy-button[data-v-f3712b08],.copy-button[data-v-f3712b08]:focus-visible{opacity:1}.copy-button[data-v-f3712b08]:hover{color:var(--scalar-color-1)}.scalar-code-block[data-v-2b036187] .hljs *{font-size:var(--scalar-mini)}.ascii-art-animate .ascii-art-line[data-v-0018c948]{border-right:1ch solid transparent;animation:typewriter-0018c948 4s steps(1) 1s 1 normal both,blinkTextCursor-0018c948 .5s steps(1) infinite normal}@keyframes typewriter-0018c948{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-0018c948{0%{border-right-color:currentColor}50%{border-right-color:transparent}}.scalar-version-number[data-v-78a00890]{transform:skew(0,13deg);width:76px;height:76px;position:absolute;margin-left:-36px;font-size:8px;font-family:var(--scalar-font-code);line-height:11px;margin-top:-113px;border-radius:9px 9px 16px 12px;box-shadow:inset 2px 0 0 2px var(--scalar-background-2);text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;text-transform:initial;text-decoration-color:var(--scalar-color-3)}.scalar-version-number a[data-v-78a00890]{font-weight:700;background:var(--scalar-background-2);padding:2px 4px;border-radius:3px;text-decoration:none;border:.5px solid var(--scalar-border-color)}.keycap-n[data-v-78a00890]{background:-webkit-linear-gradient(5deg,transparent 30%,var(--scalar-color-3) 50%);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.keycap-hotkey[data-v-78a00890]{color:var(--scalar-color-1);font-size:26px;position:absolute;top:32px;right:54px;height:26px;line-height:26px;border:none;font-weight:400;font-family:var(--scalar-font)}.gitbook-show[data-v-78a00890]{display:none}.v-enter-active[data-v-ef5f83d8]{transition:opacity .5s ease}.v-enter-from[data-v-ef5f83d8]{opacity:0}.response-body-virtual[data-headlessui-state=open],.response-body-virtual[data-headlessui-state=open] .diclosure-panel{display:flex;flex-direction:column;flex-grow:1}.animate-response-heading .response-heading[data-v-fda225b9]{animation:push-response-fda225b9 .2s ease-in-out forwards;opacity:1}@keyframes push-response-fda225b9{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-fda225b9]{animation:response-spans-fda225b9 .2s ease-in-out forwards .05s;opacity:0}@keyframes response-spans-fda225b9{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}[data-v-958f2326] .cm-editor{height:100%;outline:none;padding:0;background:transparent}[data-v-958f2326] .cm-placeholder{color:var(--scalar-color-3)}[data-v-958f2326] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-958f2326] .cm-tooltip{background:transparent!important;filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);border:none!important;outline:none!important;overflow:hidden!important}[data-v-958f2326] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-958f2326] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-958f2326] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-958f2326] .cm-tooltip-autocomplete ul{padding:6px!important;position:relative}[data-v-958f2326] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-958f2326] .cm-activeLine,[data-v-958f2326] .cm-activeLineGutter{background-color:transparent}[data-v-958f2326] .cm-selectionMatch,[data-v-958f2326] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-958f2326] .cm-css-color-picker-wrapper{display:inline-flex;outline:1px solid var(--scalar-background-3);border-radius:3px;overflow:hidden}[data-v-958f2326] .cm-gutters{background-color:transparent;border-right:none;color:var(--scalar-color-3);font-size:var(--scalar-small);line-height:1.44;border-radius:0 0 0 3px}[data-v-958f2326] .cm-gutters:before{content:"";position:absolute;top:2px;left:2px;width:calc(100% - 2px);height:calc(100% - 4px);border-radius:var(--scalar-radius) 0 0 var(--scalar-radius);background-color:var(--scalar-background-1)}[data-v-958f2326] .cm-gutterElement{font-family:var(--scalar-font-code)!important;padding:0 6px 0 8px!important;display:flex;align-items:center;justify-content:flex-end;position:relative}[data-v-958f2326] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-958f2326] .cm-scroller{overflow:auto}.peer:hover .copy-button[data-v-958f2326],.copy-button[data-v-958f2326]:focus-visible{opacity:100}.scalar-code-copy[data-v-958f2326]{align-items:flex-start;display:flex;top:0;right:0;bottom:0;left:0;justify-content:flex-end;position:sticky}.copy-button[data-v-958f2326]{align-items:center;display:flex;position:relative;background-color:var(--scalar-background-2);border:1px solid var(--scalar-border-color);border-radius:3px;color:var(--scalar-color-3);cursor:pointer;height:30px;margin-bottom:-30px;opacity:0;padding:6px;transition:opacity .15s ease-in-out,color .15s ease-in-out;top:0;right:0}.scalar-code-copy[data-v-958f2326],.copy-button[data-v-958f2326]{background:inherit}.copy-button[data-v-958f2326]:hover{color:var(--scalar-color-1)}.copy-button svg[data-v-958f2326]{stroke-width:1.5}.cm-pill{--tw-bg-base: var(--scalar-color-1);color:var(--tw-bg-base);padding:0 9px;display:inline-block;border-radius:30px;font-size:var(--scalar-mini);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:color-mix(in srgb,var(--tw-bg-base),transparent 80%)!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)}[data-v-79278ac7] .cm-editor{padding:0}[data-v-79278ac7] .cm-content{align-items:center;background-color:transparent;display:flex;font-family:var(--scalar-font);font-size:var(--scalar-mini);padding:6px 8px}[data-v-79278ac7] .cm-content:has(.cm-pill){padding:4px 3px}[data-v-79278ac7] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-79278ac7] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-79278ac7] .cm-line{padding:0}.filemask[data-v-79278ac7]{-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-cdfe9ab6] .cm-content{font-size:var(--scalar-mini)}[data-v-ea527929] .cm-editor{padding:0}[data-v-ea527929] .cm-content{align-items:center;background-color:transparent;display:flex;font-family:var(--scalar-font);font-size:var(--scalar-mini);padding:6px 8px}[data-v-ea527929] .cm-content:has(.cm-pill){padding:4px 3px}[data-v-ea527929] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-ea527929] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-ea527929] .cm-line{padding:0}.required[data-v-ea527929]:after{content:"Required"}input[data-v-ea527929]::-moz-placeholder{color:var(--scalar-color-3)}input[data-v-ea527929]::placeholder{color:var(--scalar-color-3)}.auth-blend-required[data-v-6b71d6c6] .scalar-input-required,.auth-blend-required[data-v-6b71d6c6] .required{background:var(--scalar-background-2);--tw-bg-base: var(--scalar-background-2);--tw-shadow: -8px 0 4px var(--scalar-background-2)}.request-example-references-header[data-v-6b71d6c6]+tr>td{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.auth-combobox-position[data-v-77c33357]{margin-left:120px}.scroll-timeline-x[data-v-77c33357]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-77c33357],.fade-right[data-v-77c33357]{position:sticky;content:"";height:100%;animation-name:fadein-77c33357;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none}.fade-left[data-v-77c33357]{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-77c33357]{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-77c33357{0%{opacity:0}15%{opacity:1}}.auth-combobox-position[data-v-456c0241]{margin-left:120px}.scroll-timeline-x[data-v-456c0241]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-456c0241],.fade-right[data-v-456c0241]{position:sticky;content:"";height:100%;animation-name:fadein-456c0241;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none}.fade-left[data-v-456c0241]{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-456c0241]{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-456c0241{0%{opacity:0}15%{opacity:1}}.request-section-content[data-v-0fb9317f]{--scalar-border-width: .5px}.request-section-content-filter[data-v-0fb9317f]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-0fb9317f]{opacity:1}.group-hover-input[data-v-0fb9317f]{border-width:var(--scalar-border-width);border-color:transparent}.group:hover .group-hover-input[data-v-0fb9317f]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2));border-color:var(--scalar-border-color)}.group-hover-input[data-v-0fb9317f]:focus{background:transparent!important;border-color:var(--scalar-border-color)!important}@media (min-width: 800px){.has-no-import-url,.has-import-url{max-width:100dvw;overflow-x:hidden;contain:paint}.has-no-import-url{opacity:1;background:var(--scalar-background-1);animation:transform-restore-layout ease-in-out .3s forwards}.has-import-url .scalar-client>main{opacity:0;transform:scale(.85) translate3d(calc(50dvw + 80px),0,0);animation:transform-fade-layout ease-in-out .3s forwards;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:12px;overflow:hidden;z-index:10000}.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) translate3d(calc(50dvw + 80px),10px,0)}to{opacity:1;transform:scale(.85) translate3d(calc(50dvw + 80px),0,0)}}@keyframes transform-restore-layout{0%{opacity:1;transform:scale(.85) translate3d(calc(50dvw + 80px),0,0)}to{opacity:1;transform:scale(1) translateZ(0)}}.openapi-color{color:var(--scalar-color-green)}.section-flare{position:fixed;top:0;right:-50dvw}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}: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: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline;--scalar-link-font-weight: inherit}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--scalar-text-decoration-color: currentColor;--scalar-text-decoration-color-hover: currentColor}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--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}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #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: #3ea6ff;--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-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}:where(.scalar-app) .container{width:100%}@media (min-width: 400px){:where(.scalar-app) .container{max-width:400px}}@media (min-width: 600px){:where(.scalar-app) .container{max-width:600px}}@media (min-width: 800px){:where(.scalar-app) .container{max-width:800px}}@media (min-width: 1000px){:where(.scalar-app) .container{max-width:1000px}}@media (min-width: 1200px){:where(.scalar-app) .container{max-width:1200px}}:where(.scalar-app) .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:where(.scalar-app) .pointer-events-none{pointer-events:none}:where(.scalar-app) .visible{visibility:visible}:where(.scalar-app) .invisible{visibility:hidden}:where(.scalar-app) .fixed{position:fixed}:where(.scalar-app) .absolute{position:absolute}:where(.scalar-app) .relative{position:relative}:where(.scalar-app) .sticky{position:sticky}:where(.scalar-app) .inset-0{top:0;right:0;bottom:0;left:0}:where(.scalar-app) .left-0{left:0}:where(.scalar-app) .left-3{left:12px}:where(.scalar-app) .left-4{left:16px}:where(.scalar-app) .left-px{left:1px}:where(.scalar-app) .right-2{right:8px}:where(.scalar-app) .top-0{top:0}:where(.scalar-app) .top-1\\/2{top:50%}:where(.scalar-app) .top-12{top:48px}:where(.scalar-app) .top-2{top:8px}:where(.scalar-app) .top-22{top:88px}:where(.scalar-app) .top-\\[0\\.5px\\]{top:.5px}:where(.scalar-app) .top-px{top:1px}:where(.scalar-app) .-z-1{z-index:-1}:where(.scalar-app) .z-1{z-index:1}:where(.scalar-app) .z-\\[1001\\]{z-index:1001}:where(.scalar-app) .z-context{z-index:1000}:where(.scalar-app) .z-overlay{z-index:10000}:where(.scalar-app) .\\!m-0{margin:0!important}:where(.scalar-app) .m-0{margin:0}:where(.scalar-app) .m-auto{margin:auto}:where(.scalar-app) .-mx-0{margin-left:-0px;margin-right:-0px}:where(.scalar-app) .-mx-0\\.75{margin-left:-3px;margin-right:-3px}:where(.scalar-app) .mx-2{margin-left:8px;margin-right:8px}:where(.scalar-app) .mx-auto{margin-left:auto;margin-right:auto}:where(.scalar-app) .my-0{margin-top:0;margin-bottom:0}:where(.scalar-app) .my-0\\.75{margin-top:3px;margin-bottom:3px}:where(.scalar-app) .my-3{margin-top:12px;margin-bottom:12px}:where(.scalar-app) .-mb-1{margin-bottom:-4px}:where(.scalar-app) .mb-0{margin-bottom:0}:where(.scalar-app) .ml-0{margin-left:0}:where(.scalar-app) .ml-0\\.75{margin-left:3px}:where(.scalar-app) .ml-1{margin-left:4px}:where(.scalar-app) .ml-auto{margin-left:auto}:where(.scalar-app) .mr-2{margin-right:8px}:where(.scalar-app) .mr-3{margin-right:12px}:where(.scalar-app) .mt-0{margin-top:0}:where(.scalar-app) .mt-1{margin-top:4px}:where(.scalar-app) .mt-1\\.5{margin-top:6px}:where(.scalar-app) .mt-2{margin-top:8px}:where(.scalar-app) .mt-20{margin-top:80px}:where(.scalar-app) .line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}:where(.scalar-app) .block{display:block}:where(.scalar-app) .inline-block{display:inline-block}:where(.scalar-app) .flex{display:flex}:where(.scalar-app) .table{display:table}:where(.scalar-app) .grid{display:grid}:where(.scalar-app) .contents{display:contents}:where(.scalar-app) .hidden{display:none}:where(.scalar-app) .aspect-square{aspect-ratio:1 / 1}:where(.scalar-app) .size-10{width:40px;height:40px}:where(.scalar-app) .size-2{width:8px;height:8px}:where(.scalar-app) .size-2\\.5{width:10px;height:10px}:where(.scalar-app) .size-3{width:12px;height:12px}:where(.scalar-app) .size-3\\.5{width:14px;height:14px}:where(.scalar-app) .size-4{width:16px;height:16px}:where(.scalar-app) .size-5{width:20px;height:20px}:where(.scalar-app) .size-6{width:24px;height:24px}:where(.scalar-app) .size-8{width:32px;height:32px}:where(.scalar-app) .size-full{width:100%;height:100%}:where(.scalar-app) .h-10{height:40px}:where(.scalar-app) .h-3{height:12px}:where(.scalar-app) .h-3\\.5{height:14px}:where(.scalar-app) .h-32{height:128px}:where(.scalar-app) .h-4{height:16px}:where(.scalar-app) .h-5{height:20px}:where(.scalar-app) .h-6{height:24px}:where(.scalar-app) .h-8{height:32px}:where(.scalar-app) .h-\\[100dvh\\]{height:100dvh}:where(.scalar-app) .h-auto{height:auto}:where(.scalar-app) .h-fit{height:-moz-fit-content;height:fit-content}:where(.scalar-app) .h-full{height:100%}:where(.scalar-app) .h-px{height:1px}:where(.scalar-app) .h-screen{height:100vh}:where(.scalar-app) .max-h-\\[440px\\]{max-height:440px}:where(.scalar-app) .max-h-\\[calc\\(100dvh-120px\\)\\]{max-height:calc(100dvh - 120px)}:where(.scalar-app) .max-h-\\[calc\\(100dvh-180px\\)\\]{max-height:calc(100dvh - 180px)}:where(.scalar-app) .max-h-\\[calc\\(100dvh-240px\\)\\]{max-height:calc(100dvh - 240px)}:where(.scalar-app) .max-h-\\[inherit\\]{max-height:inherit}:where(.scalar-app) .max-h-dvh{max-height:100dvh}:where(.scalar-app) .min-h-0{min-height:0px}:where(.scalar-app) .min-h-12{min-height:48px}:where(.scalar-app) .min-h-5{min-height:20px}:where(.scalar-app) .min-h-6{min-height:24px}:where(.scalar-app) .min-h-8{min-height:32px}:where(.scalar-app) .min-h-96{min-height:384px}:where(.scalar-app) .min-h-\\[200px\\]{min-height:200px}:where(.scalar-app) .min-h-\\[77px\\]{min-height:77px}:where(.scalar-app) .min-h-header{min-height:48px}:where(.scalar-app) .w-12{width:48px}:where(.scalar-app) .w-16{width:64px}:where(.scalar-app) .w-20{width:80px}:where(.scalar-app) .w-24{width:96px}:where(.scalar-app) .w-3{width:12px}:where(.scalar-app) .w-32{width:128px}:where(.scalar-app) .w-4{width:16px}:where(.scalar-app) .w-40{width:160px}:where(.scalar-app) .w-48{width:192px}:where(.scalar-app) .w-5{width:20px}:where(.scalar-app) .w-56{width:224px}:where(.scalar-app) .w-6{width:24px}:where(.scalar-app) .w-64{width:256px}:where(.scalar-app) .w-8{width:32px}:where(.scalar-app) .w-\\[100dvw\\]{width:100dvw}:where(.scalar-app) .w-\\[280px\\]{width:280px}:where(.scalar-app) .w-auto{width:auto}:where(.scalar-app) .w-full{width:100%}:where(.scalar-app) .w-min{width:-moz-min-content;width:min-content}:where(.scalar-app) .min-w-0{min-width:0px}:where(.scalar-app) .min-w-5{min-width:20px}:where(.scalar-app) .min-w-6{min-width:24px}:where(.scalar-app) .min-w-8{min-width:32px}:where(.scalar-app) .min-w-max{min-width:-moz-max-content;min-width:max-content}:where(.scalar-app) .min-w-min{min-width:-moz-min-content;min-width:min-content}:where(.scalar-app) .max-w-\\[inherit\\]{max-width:inherit}:where(.scalar-app) .max-w-screen-lg{max-width:800px}:where(.scalar-app) .max-w-screen-md{max-width:640px}:where(.scalar-app) .max-w-screen-sm{max-width:540px}:where(.scalar-app) .max-w-screen-xl{max-width:1000px}:where(.scalar-app) .max-w-screen-xs{max-width:480px}:where(.scalar-app) .max-w-screen-xxs{max-width:360px}:where(.scalar-app) .flex-1{flex:1 1 0%}:where(.scalar-app) .shrink-0{flex-shrink:0}:where(.scalar-app) .origin-top-left{transform-origin:top left}:where(.scalar-app) .-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .translate-x-2{--tw-translate-x: 8px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .translate-x-2\\.5{--tw-translate-x: 10px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .cursor-default{cursor:default}:where(.scalar-app) .cursor-not-allowed{cursor:not-allowed}:where(.scalar-app) .cursor-pointer{cursor:pointer}:where(.scalar-app) .resize-none{resize:none}:where(.scalar-app) .resize{resize:both}:where(.scalar-app) .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}:where(.scalar-app) .grid-cols-\\[auto_1fr\\]{grid-template-columns:auto 1fr}:where(.scalar-app) .flex-row{flex-direction:row}:where(.scalar-app) .flex-col{flex-direction:column}:where(.scalar-app) .flex-wrap{flex-wrap:wrap}:where(.scalar-app) .items-start{align-items:flex-start}:where(.scalar-app) .items-center{align-items:center}:where(.scalar-app) .justify-start{justify-content:flex-start}:where(.scalar-app) .justify-end{justify-content:flex-end}:where(.scalar-app) .justify-center{justify-content:center}:where(.scalar-app) .justify-between{justify-content:space-between}:where(.scalar-app) .gap-0{gap:0px}:where(.scalar-app) .gap-0\\.5{gap:2px}:where(.scalar-app) .gap-0\\.75{gap:3px}:where(.scalar-app) .gap-1{gap:4px}:where(.scalar-app) .gap-1\\.5{gap:6px}:where(.scalar-app) .gap-16{gap:64px}:where(.scalar-app) .gap-2{gap:8px}:where(.scalar-app) .gap-2\\.5{gap:10px}:where(.scalar-app) .gap-3{gap:12px}:where(.scalar-app) .gap-4{gap:16px}:where(.scalar-app) .gap-x-4{-moz-column-gap:16px;column-gap:16px}:where(.scalar-app) .gap-y-8{row-gap:32px}:where(.scalar-app) .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse))}:where(.scalar-app) .self-center{align-self:center}:where(.scalar-app) .overflow-auto{overflow:auto}:where(.scalar-app) .overflow-hidden{overflow:hidden}:where(.scalar-app) .overflow-visible{overflow:visible}:where(.scalar-app) .overflow-y-scroll{overflow-y:scroll}:where(.scalar-app) .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.scalar-app) .text-ellipsis{text-overflow:ellipsis}:where(.scalar-app) .text-wrap{text-wrap:wrap}:where(.scalar-app) .text-nowrap{text-wrap:nowrap}:where(.scalar-app) .rounded{border-radius:var(--scalar-radius)}:where(.scalar-app) .rounded-full{border-radius:9999px}:where(.scalar-app) .rounded-lg{border-radius:var(--scalar-radius-lg)}:where(.scalar-app) .rounded-none{border-radius:0}:where(.scalar-app) .rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}:where(.scalar-app) .border{border-width:var(--scalar-border-width)}:where(.scalar-app) .border-0{border-width:0}:where(.scalar-app) .border-\\[1px\\]{border-width:1px}:where(.scalar-app) .border-b{border-bottom-width:var(--scalar-border-width)}:where(.scalar-app) .border-t{border-top-width:var(--scalar-border-width)}:where(.scalar-app) .border-t-1\\/2{border-top-width:calc(var(--scalar-border-width) / 2)}:where(.scalar-app) .border-solid{border-style:solid}:where(.scalar-app) .border-dashed{border-style:dashed}:where(.scalar-app) .border-none{border-style:none}:where(.scalar-app) .border-border{border-color:var(--scalar-border-color)}:where(.scalar-app) .border-c-1{border-color:var(--scalar-color-1)}:where(.scalar-app) .border-c-3{border-color:var(--scalar-color-3)}:where(.scalar-app) .border-red{border-color:var(--scalar-color-red)}:where(.scalar-app) .bg-b-1{background-color:var(--scalar-background-1)}:where(.scalar-app) .bg-b-2{background-color:var(--scalar-background-2)}:where(.scalar-app) .bg-b-3{background-color:var(--scalar-background-3)}:where(.scalar-app) .bg-b-btn{background-color:var(--scalar-button-1)}:where(.scalar-app) .bg-backdrop{background-color:#00000038}:where(.scalar-app) .bg-blue{background-color:var(--scalar-color-blue)}:where(.scalar-app) .bg-border{background-color:var(--scalar-border-color)}:where(.scalar-app) .bg-c-accent{background-color:var(--scalar-color-accent)}:where(.scalar-app) .bg-red{background-color:var(--scalar-color-red)}:where(.scalar-app) .bg-transparent{background-color:transparent}:where(.scalar-app) .bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:where(.scalar-app) .p-0{padding:0}:where(.scalar-app) .p-0\\.5{padding:2px}:where(.scalar-app) .p-0\\.75{padding:3px}:where(.scalar-app) .p-1{padding:4px}:where(.scalar-app) .p-2{padding:8px}:where(.scalar-app) .p-2\\.25{padding:9px}:where(.scalar-app) .p-3{padding:12px}:where(.scalar-app) .p-4{padding:16px}:where(.scalar-app) .p-6{padding:24px}:where(.scalar-app) .px-1{padding-left:4px;padding-right:4px}:where(.scalar-app) .px-1\\.5{padding-left:6px;padding-right:6px}:where(.scalar-app) .px-2{padding-left:8px;padding-right:8px}:where(.scalar-app) .px-2\\.5{padding-left:10px;padding-right:10px}:where(.scalar-app) .px-3{padding-left:12px;padding-right:12px}:where(.scalar-app) .px-4{padding-left:16px;padding-right:16px}:where(.scalar-app) .px-6{padding-left:24px;padding-right:24px}:where(.scalar-app) .px-9{padding-left:36px;padding-right:36px}:where(.scalar-app) .py-1{padding-top:4px;padding-bottom:4px}:where(.scalar-app) .py-1\\.5{padding-top:6px;padding-bottom:6px}:where(.scalar-app) .py-2{padding-top:8px;padding-bottom:8px}:where(.scalar-app) .py-2\\.5{padding-top:10px;padding-bottom:10px}:where(.scalar-app) .py-4{padding-top:16px;padding-bottom:16px}:where(.scalar-app) .pb-0{padding-bottom:0}:where(.scalar-app) .pb-px{padding-bottom:1px}:where(.scalar-app) .pl-8{padding-left:32px}:where(.scalar-app) .pr-3{padding-right:12px}:where(.scalar-app) .pt-3{padding-top:12px}:where(.scalar-app) .pt-6{padding-top:24px}:where(.scalar-app) .text-left{text-align:left}:where(.scalar-app) .font-code{font-family:var(--scalar-font-code)}:where(.scalar-app) .text-3xs{font-size:var(--scalar-font-size-7)}:where(.scalar-app) .text-lg{font-size:var(--scalar-font-size-2)}:where(.scalar-app) .text-sm{font-size:var(--scalar-font-size-4)}:where(.scalar-app) .text-xl{font-size:var(--scalar-font-size-1)}:where(.scalar-app) .text-xs{font-size:var(--scalar-font-size-5)}:where(.scalar-app) .text-xxs{font-size:var(--scalar-font-size-6)}:where(.scalar-app) .font-bold{font-weight:var(--scalar-bold)}:where(.scalar-app) .font-medium{font-weight:var(--scalar-semibold)}:where(.scalar-app) .font-normal{font-weight:var(--scalar-regular)}:where(.scalar-app) .leading{line-height:1.5}:where(.scalar-app) .leading-3{line-height:var(--scalar-line-height-3)}:where(.scalar-app) .leading-none{line-height:1}:where(.scalar-app) .leading-snug{line-height:1.375}:where(.scalar-app) .text-b-1{color:var(--scalar-background-1)}:where(.scalar-app) .text-blue{color:var(--scalar-color-blue)}:where(.scalar-app) .text-c-1{color:var(--scalar-color-1)}:where(.scalar-app) .text-c-2{color:var(--scalar-color-2)}:where(.scalar-app) .text-c-3{color:var(--scalar-color-3)}:where(.scalar-app) .text-c-accent{color:var(--scalar-color-accent)}:where(.scalar-app) .text-c-btn{color:var(--scalar-button-1-color)}:where(.scalar-app) .text-c-ghost{color:var(--scalar-color-ghost)}:where(.scalar-app) .text-red{color:var(--scalar-color-red)}:where(.scalar-app) .text-transparent{color:transparent}:where(.scalar-app) .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:where(.scalar-app) .no-underline{text-decoration-line:none}:where(.scalar-app) .opacity-0{opacity:0}:where(.scalar-app) .opacity-40{opacity:.4}:where(.scalar-app) .opacity-50{opacity:.5}:where(.scalar-app) .shadow{--tw-shadow: var(--scalar-shadow-1);--tw-shadow-colored: var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-lg{--tw-shadow: var(--scalar-shadow-2);--tw-shadow-colored: var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-md{--tw-shadow: var(--scalar-shadow-1);--tw-shadow-colored: var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-sm{--tw-shadow: rgba(0, 0, 0, .09) 0px 1px 4px;--tw-shadow-colored: 0px 1px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-current{--tw-shadow-color: currentColor;--tw-shadow: var(--tw-shadow-colored)}:where(.scalar-app) .outline-none{outline:2px solid transparent;outline-offset:2px}:where(.scalar-app) .outline{outline-style:solid}:where(.scalar-app) .outline-offset-1{outline-offset:1px}:where(.scalar-app) .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .brightness-lifted{--tw-brightness: brightness(var(--scalar-lifted-brightness));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .duration-300{transition-duration:.3s}:where(.scalar-app) .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:where(.scalar-app) .bg-b-1{--tw-bg-base: var(--scalar-background-1)}:where(.scalar-app) .bg-b-2{--tw-bg-base: var(--scalar-background-2)}:where(.scalar-app) .bg-b-3{--tw-bg-base: var(--scalar-background-3)}:where(.scalar-app) .bg-b-btn{--tw-bg-base: var(--scalar-button-1)}:where(.scalar-app) .bg-backdrop{--tw-bg-base: rgba(0, 0, 0, .22)}:where(.scalar-app) .bg-blue{--tw-bg-base: var(--scalar-color-blue)}:where(.scalar-app) .bg-border{--tw-bg-base: var(--scalar-border-color)}:where(.scalar-app) .bg-c-accent{--tw-bg-base: var(--scalar-color-accent)}:where(.scalar-app) .bg-red{--tw-bg-base: var(--scalar-color-red)}:where(.scalar-app) .bg-transparent{--tw-bg-base: transparent}:where(.scalar-app) .bg-white{--tw-bg-opacity: 1;--tw-bg-base: rgb(255 255 255 / var(--tw-bg-opacity))}:where(.scalar-app) .row,:where(.scalar-app) .scalar-row{display:flex;flex-direction:row}:where(.scalar-app) .col{display:flex;flex-direction:column}:where(.scalar-app) .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .\\*\\:flex>*{display:flex}:where(.scalar-app) .\\*\\:flex-1>*{flex:1 1 0%}:where(.scalar-app) .\\*\\:items-center>*{align-items:center}:where(.scalar-app) .\\*\\:gap-px>*{gap:1px}:where(.scalar-app) .first-of-type\\:mt-0:first-of-type{margin-top:0}:where(.scalar-app) .first-of-type\\:mt-0\\.75:first-of-type{margin-top:3px}:where(.scalar-app) .last-of-type\\:mb-0:last-of-type{margin-bottom:0}:where(.scalar-app) .last-of-type\\:mb-0\\.75:last-of-type{margin-bottom:3px}:where(.scalar-app) .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}:where(.scalar-app) .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}:where(.scalar-app) .hover\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}:where(.scalar-app) .hover\\:text-c-1:hover{color:var(--scalar-color-1)}:where(.scalar-app) .hover\\:bg-b-2:hover{--tw-bg-base: var(--scalar-background-2)}:where(.scalar-app) .hover\\:bg-b-3:hover{--tw-bg-base: var(--scalar-background-3)}:where(.scalar-app) .hover\\:bg-h-btn:hover{--tw-bg-base: var(--scalar-button-1-hover)}:where(.scalar-app) .focus\\:text-c-1:focus{color:var(--scalar-color-1)}:where(.scalar-app) .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}:where(.scalar-app) .focus-visible\\:border-c-btn:focus-visible{border-color:var(--scalar-button-1-color)}:where(.scalar-app) .focus-visible\\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}:where(.scalar-app) .focus-visible\\:ring-c-accent:focus-visible{--tw-ring-color: var(--scalar-color-accent)}:where(.scalar-app) .active\\:bg-b-btn:active{background-color:var(--scalar-button-1)}:where(.scalar-app) .active\\:text-c-1:active{color:var(--scalar-color-1)}:where(.scalar-app) .active\\:shadow-none:active{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .active\\:brightness-90:active{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .active\\:bg-b-btn:active{--tw-bg-base: var(--scalar-button-1)}:where(.scalar-app) .group\\/button:hover .group-hover\\/button\\:text-c-1,:where(.scalar-app) .group:hover .group-hover\\:text-c-1{color:var(--scalar-color-1)}:where(.scalar-app) .group\\/item:hover .group-hover\\/item\\:opacity-100{opacity:1}:where(.scalar-app) .group\\/item:hover .group-hover\\/item\\:shadow-border{--tw-shadow: inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: var(--scalar-border-color);--tw-shadow: var(--tw-shadow-colored)}:where(.scalar-app) .peer:checked~.peer-checked\\:text-c-2{color:var(--scalar-color-2)}:where(.scalar-app) .peer:checked~.peer-checked\\:opacity-100{opacity:1}:where(.scalar-app) .has-\\[\\:focus-visible\\]\\:bg-b-1:has(:focus-visible){background-color:var(--scalar-background-1)}:where(.scalar-app) .has-\\[\\:focus-visible\\]\\:outline:has(:focus-visible){outline-style:solid}:where(.scalar-app) .has-\\[\\:focus-visible\\]\\:bg-b-1:has(:focus-visible){--tw-bg-base: var(--scalar-background-1)}:where(.scalar-app) .ui-open\\:rotate-180[data-headlessui-state~=open]{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) :where([data-headlessui-state~=open]) .ui-open\\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .has-actv-btn\\:border:has(button:active){border-width:var(--scalar-border-width)}:where(.scalar-app) .has-actv-btn\\:border-border:has(button:active){border-color:var(--scalar-border-color)}:where(.scalar-app) .\\!empty\\:flex:not(:empty){display:flex}:where(.scalar-app) .\\!empty\\:w-7:not(:empty){width:28px}:where(.scalar-app) .\\!empty\\:items-center:not(:empty){align-items:center}:where(.scalar-app) .\\!empty\\:pr-3:not(:empty){padding-right:12px}:where(.scalar-app) .hocus\\:text-c-1:hover{color:var(--scalar-color-1)}:where(.scalar-app) .hocus\\:brightness-90:hover{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .hocus\\:text-c-1:focus-visible{color:var(--scalar-color-1)}:where(.scalar-app) .hocus\\:brightness-90:focus-visible{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}@media (min-width: 800px){:where(.scalar-app) .md\\:w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}:where(.scalar-app) .md\\:row{display:flex;flex-direction:row}}@media (min-width: 1000px){:where(.scalar-app) .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}:where(.scalar-app) .lg\\:w-full{width:100%}}:where(.scalar-app) .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-3)}:where(.scalar-app) .dark\\:bg-backdropdark:where(.dark-mode,.dark-mode *){background-color:#00000073}:where(.scalar-app) .dark\\:bg-b-3:where(.dark-mode,.dark-mode *){--tw-bg-base: var(--scalar-background-3)}:where(.scalar-app) .dark\\:bg-backdropdark:where(.dark-mode,.dark-mode *){--tw-bg-base: rgba(0, 0, 0, .45)}:where(.scalar-app) .dark\\:hover\\:bg-b-3:hover:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-3);--tw-bg-base: var(--scalar-background-3)}.loader-wrapper[data-v-ca661d68]{position:relative;display:flex;align-items:center;justify-content:center;--loader-size: 50%}.svg-loader[data-v-ca661d68]{width:var(--loader-size);height:var(--loader-size);top:1rem;right:.9rem;overflow:visible;fill:none;background-color:transparent;stroke:currentColor}.svg-path[data-v-ca661d68]{stroke-width:14;fill:none;transition:.3s}.svg-x-mark[data-v-ca661d68]{stroke-dasharray:57;stroke-dashoffset:57;transition-delay:0s}.svg-check-mark[data-v-ca661d68]{stroke-dasharray:149;stroke-dashoffset:149;transition-delay:0s}.icon-is-invalid .svg-x-mark[data-v-ca661d68],.icon-is-valid .svg-check-mark[data-v-ca661d68]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader[data-v-ca661d68]{animation:rotate-ca661d68 .7s linear infinite,fade-in-ca661d68 .4s;transform-origin:center center;transform:scale(5);background:transparent}.loader-path[data-v-ca661d68]{stroke-dasharray:50,200;stroke-dashoffset:-100;stroke-linecap:round}.loader-path-off[data-v-ca661d68]{stroke-dasharray:50,200;stroke-dashoffset:-100;transition:opacity .3s;opacity:0}@keyframes fade-in-ca661d68{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-ca661d68{0%{transform:scale(5) rotate(0)}to{transform:scale(5) rotate(360deg)}}.scalar-icon[data-v-f4f53d32],.scalar-icon[data-v-f4f53d32] *{stroke-width:var(--ce5c5c8a)}.scalar-code-block{background:inherit;position:relative;overflow:auto;padding:.75rem}.scalar-code-block:hover .copy-button,.copy-button:focus-visible{opacity:100}.scalar-codeblock-pre{all:unset;margin:0;background:transparent;text-wrap:nowrap;white-space-collapse:preserve;border-radius:0;width:-moz-fit-content;width:fit-content}.scalar-code-copy{display:flex;align-items:flex-start;justify-content:flex-end;position:sticky;top:0;right:0;bottom:0;left:0}.copy-button{position:relative;top:0;right:0;display:flex;align-items:center;background-color:var(--scalar-background-2);border:1px solid var(--scalar-border-color);border-radius:3px;color:var(--scalar-color-3);cursor:pointer;height:30px;margin-bottom:-30px;opacity:0;padding:6px;transition:opacity .15s ease-in-out,color .15s ease-in-out}.scalar-code-copy,.copy-button{background:inherit}.copy-button:hover{color:var(--scalar-color-1)}.copy-button svg{stroke-width:1.5}.scalar-app code.hljs *{font-size:var(--scalar-small);font-family:var(--scalar-font-code);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.4;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.scalar-app code.hljs{all:unset;font-size:var(--scalar-small);color:var(--scalar-color-2);font-family:var(--scalar-font-code);display:inline-block;counter-reset:linenumber}.scalar-app .hljs{background:transparent;color:var(--scalar-color-2)}.scalar-app .hljs .line:before{color:var(--scalar-color-3);display:inline-block;counter-increment:linenumber;content:counter(linenumber);margin-right:.7em;min-width:calc(var(--line-digits) * 1ch);text-align:right}.scalar-app .hljs-comment,.scalar-app .hljs-quote{color:var(--scalar-color-3);font-style:italic}.scalar-app .hljs-number{color:var(--scalar-color-orange)}.scalar-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in{color:var(--scalar-color-blue)}.scalar-app .hljs-title.class_{color:var(--scalar-color-1)}.scalar-app .hljs-keyword{color:var(--scalar-color-purple)}.scalar-app .hljs-title.function_{color:var(--scalar-color-orange)}.scalar-app .hljs-subst,.scalar-app .hljs-name{color:var(--scalar-color-blue)}.scalar-app .hljs-attr,.scalar-app .hljs-attribute{color:var(--scalar-color-1)}.scalar-app .hljs-addition,.scalar-app .hljs-literal,.scalar-app .hljs-selector-tag,.scalar-app .hljs-type{color:var(--scalar-color-green)}.scalar-app .hljs-selector-attr,.scalar-app .hljs-selector-pseudo{color:var(--scalar-color-orange)}.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.scalar-app .hljs-selector-id,.scalar-app .hljs-template-variable,.scalar-app .hljs-variable{color:var(--scalar-color-1)}.scalar-app .hljs-name,.scalar-app .hljs-section,.scalar-app .hljs-strong{font-weight:var(--scalar-semibold)}.scalar-app .hljs-bullet,.scalar-app .hljs-link,.scalar-app .hljs-meta,.scalar-app .hljs-symbol{color:var(--scalar-color-blue)}.scalar-app .hljs-deletion{color:var(--scalar-color-red)}.scalar-app .hljs-formula{background:var(--scalar-color-1)}.scalar-app .hljs-emphasis{font-style:italic}.scalar-app .credentials{font-size:0!important;color:transparent}.scalar-app .credentials:after{content:"·····";font-size:var(--scalar-small);color:var(--scalar-color-3);-webkit-user-select:none;-moz-user-select:none;user-select:none}.hljs.language-html{color:var(--scalar-color-1)}.hljs.language-html .hljs-attr{color:var(--scalar-color-2)}.hljs.language-curl .hljs-keyword{color:var(--scalar-color-orange)}.hljs.language-curl .hljs-string{color:var(--scalar-color-1)}.hljs.language-curl .hljs-literal,.hljs.language-php .hljs-variable{color:var(--scalar-color-blue)}.hljs.language-objectivec .hljs-meta{color:var(--scalar-color-1)}.hljs.language-objectivec .hljs-built_in,.hljs-built_in{color:var(--scalar-color-orange)}.scalar-app .markdown{font-family:var(--scalar-font);color:var(--scalar-color-1);word-break:break-word}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6,.scalar-app .markdown p,.scalar-app .markdown div,.scalar-app .markdown img,.scalar-app .markdown details,.scalar-app .markdown summary,.scalar-app .markdown ul,.scalar-app .markdown ol,.scalar-app .markdown table,.scalar-app .markdown blockquote,.scalar-app .markdown code{margin:12px 0}.scalar-app .markdown details{margin:12px 0;color:var(--scalar-color-1)}.scalar-app .markdown summary{display:block;margin:1em 0;padding-left:20px;position:relative;font-weight:var(--scalar-semibold);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:-1px;left:-1px;width:20px;height:20px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\');mask-image:url(\'data:image/svg+xml,<svg viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="m9 18 6-6-6-6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>\')}.scalar-app .markdown summary:hover:after{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open] summary:after{transform:rotate(90deg)}.scalar-app .markdown summary::-webkit-details-marker{display:none}.scalar-app .markdown img{overflow:hidden;border-radius:var(--scalar-radius);max-width:100%}.scalar-app .markdown>:first-child{margin-top:0;margin-bottom:0}.scalar-app .markdown h1{--font-size: 1.4em}.scalar-app .markdown h2{--font-size: 1.25em}.scalar-app .markdown h3{--font-size: 1.1em}.scalar-app .markdown h4,.scalar-app .markdown h6{--font-size: 1em}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:var(--font-size);margin:18px 0 6px;font-weight:var(--scalar-bold);display:block;line-height:1.45}.scalar-app .markdown b,.scalar-app .markdown strong{font-weight:var(--scalar-bold)}.scalar-app .markdown p{color:inherit;font-weight:var(--font-weight, var(--scalar-regular));line-height:1.5;margin-bottom:0;display:block}.scalar-app .markdown ul,.scalar-app .markdown ol{padding-left:24px;line-height:1.5;margin:12px 0;display:block}.scalar-app .markdown ul{list-style:disc}.scalar-app .markdown ol{list-style:decimal}.scalar-app .markdown ul.contains-task-list{list-style:none;padding-left:0}.scalar-app .markdown li{margin:6px 0;display:list-item}.scalar-app .markdown ul:first-of-type li:first-of-type{margin-top:0}.scalar-app .markdown a{color:var(--scalar-link-color, var(--scalar-color-accent));font-weight:var(--scalar-link-font-weight, inherit);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);cursor:pointer}.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 em{font-style:italic}.scalar-app .markdown sup{font-size:var(--scalar-micro);vertical-align:super;font-weight:450}.scalar-app .markdown sub{font-size:var(--scalar-micro);vertical-align:sub;font-weight:450}.scalar-app .markdown del{text-decoration:line-through}.scalar-app .markdown code{font-family:var(--scalar-font-code);background-color:var(--scalar-background-2);box-shadow:0 0 0 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{display:block;white-space:pre;padding:12px;line-height:1.5;margin:12px 0;-webkit-overflow-scrolling:touch;overflow-x:auto;max-width:100%;min-width:100px}.scalar-app .markdown hr{border:none;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.scalar-app .markdown blockquote{border-left:3px solid var(--scalar-border-color);padding-left:12px;margin:0;display:block}.scalar-app .markdown table{display:block;overflow-x:auto;position:relative;border-collapse:collapse;width:-moz-max-content;width:max-content;max-width:100%;margin:1em 0;box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.scalar-app .markdown tbody{display:table-row-group;vertical-align:middle}.scalar-app .markdown thead{display:table-header-group;vertical-align:middle}.scalar-app .markdown tr{display:table-row;border-color:inherit;vertical-align:inherit}.scalar-app .markdown td,.scalar-app .markdown th{display:table-cell;vertical-align:inherit;min-width:1em;padding:6px 9px;vertical-align:top;line-height:1.5;position:relative;word-break:initial;font-size:var(--scalar-small);color:var(--scalar-color-1);font-weight:var(--font-weight, var(--scalar-regular));border-right:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.scalar-app .markdown td>*,.scalar-app .markdown th>*{margin-bottom:0}.scalar-app .markdown th:empty{display:none}.scalar-app .markdown td:first-of-type,.scalar-app .markdown th:first-of-type{border-left:none}.scalar-app .markdown td:last-of-type,.scalar-app .markdown th:last-of-type{border-right:none}.scalar-app .markdown tr:last-of-type td{border-bottom:none}.scalar-app .markdown th{font-weight:var(--scalar-semibold)!important;text-align:left;border-left-color:transparent;background:var(--scalar-background-2)}.scalar-app .markdown tr>[align=left]{text-align:left}.scalar-app .markdown tr>[align=right]{text-align:right}.scalar-app .markdown tr>[align=center]{text-align:center}.dark-mode .scalar-dropdown-item[data-v-4082ccb6]:hover,.dark-mode .scalar-dropdown-item[data-v-457c1cd3]:hover{filter:brightness(1.1)}.scalar-modal-layout[data-v-3129528d]{animation:fadein-layout-3129528d ease-in-out .3s forwards}.scalar-modal[data-v-3129528d]{animation:fadein-modal-3129528d ease-in-out .3s forwards;animation-delay:.1s;position:fixed;left:0;top:0;right:0;box-shadow:var(--scalar-shadow-2);transform:translate3d(0,10px,0)}.scalar-modal-layout-full[data-v-3129528d]{opacity:1!important;background:transparent!important}.dark-mode .scalar-modal[data-v-3129528d]{background-color:color-mix(in srgb,var(--scalar-background-1),black)}.scalar-modal.scalar-modal-search[data-v-3129528d]{max-width:540px;max-height:440px;background-color:transparent}.modal-content-search .modal-body[data-v-3129528d]{padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:440px}@media (max-width: 1280px){.scalar-modal[data-v-3129528d]{max-height:calc(100% - 56px);top:28px}}@keyframes fadein-layout-3129528d{0%{opacity:0}to{opacity:1}}@keyframes fadein-modal-3129528d{0%{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:translateZ(0)}}.full-size-styles[data-v-3129528d]{transform:translateZ(0);animation:fadein-layout-3129528d ease-in-out .3s forwards;max-height:100%!important;top:0!important;left:0;position:absolute!important;margin:initial;border-radius:0!important;background-color:var(--scalar-background-1)!important;box-shadow:none!important;border-right:var(--scalar-border-width) solid var(--scalar-border-color)}@media (min-width: 800px){.full-size-styles[data-v-3129528d]{width:50dvw!important}}.full-size-styles[data-v-3129528d]:after{content:"";width:50dvw;height:100dvh;position:absolute;right:-50dvw;top:0}.search-background[data-v-2f2316c6]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}.search-background[data-v-2f2316c6]:focus-within{background:transparent}.scalar-input-wrapper-focus .scalar-input-label[data-v-4de7a24e]{color:var(--scalar-color-1)}.scalar-input-wrapper-error .scalar-input-label[data-v-4de7a24e]{color:var(--scalar-color-red)}.scalar-input[data-v-4de7a24e]::-moz-selection{color:var(--scalar-color-1);background:#ffa55859}.scalar-input[data-v-4de7a24e]::selection{color:var(--scalar-color-1);background:#ffa55859}.scalar-input[data-v-4de7a24e]:has(+.scalar-input-label){opacity:0}.scalar-input[data-v-4de7a24e]:not(:-moz-placeholder-shown){opacity:1;-moz-transition:opacity .2s ease-in-out .15s;transition:opacity .2s ease-in-out .15s}.scalar-input[data-v-4de7a24e]:not(:placeholder-shown),.scalar-input-wrapper-focus .scalar-input[data-v-4de7a24e]{opacity:1;transition:opacity .2s ease-in-out .15s}.scalar-input[data-v-4de7a24e]:-webkit-autofill,.scalar-input[data-v-4de7a24e]:-webkit-autofill:hover,.scalar-input[data-v-4de7a24e]:-webkit-autofill:focus,.scalar-input[data-v-4de7a24e]:-webkit-autofill:active,.scalar-input[data-v-4de7a24e]:focus-within:-webkit-autofill,.scalar-input[data-v-4de7a24e]:focus-within:-webkit-autofill:hover,.scalar-input[data-v-4de7a24e]:focus-within:-webkit-autofill:focus,.scalar-input[data-v-4de7a24e]:focus-within:-webkit-autofill:active{-webkit-box-shadow:0 0 0px 1000px var(--scalar-background-1) inset!important;-webkit-text-fill-color:var(--scalar-color-1);color:var(--scalar-color-1);border-radius:var(--scalar-radius)}.scalar-input:not(:-moz-placeholder-shown)+.scalar-input-label[data-v-4de7a24e]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus .scalar-input-label[data-v-4de7a24e],.scalar-input:not(:placeholder-shown)+.scalar-input-label[data-v-4de7a24e]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus:has(button:active) .scalar-input-label[data-v-4de7a24e]{color:var(--scalar-color-3)!important}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}}:where(.scalar-app){font-family:var(--scalar-font);line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}:where(.scalar-app) *,:where(.scalar-app) *:before,:where(.scalar-app) *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--scalar-border-color);outline-width:1px;outline-style:none;outline-color:var(--scalar-color-accent);font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(.scalar-app) :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,:where(.scalar-app) ::file-selector-button{background:transparent}: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::-moz-placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}: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,:where(.scalar-app) input[type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}:where(.scalar-app) input:-webkit-autofill{-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{outline-style:solid;border-radius:var(--scalar-radius)}: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{display:block;vertical-align:middle}:where(.scalar-app) [hidden]{display:none}.scalar-app .cm-scroller,.scalar-app .custom-scroll{overflow-y:auto;scrollbar-color:transparent transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.scalar-app .custom-scroll-self-contain-overflow{overscroll-behavior:contain}.scalar-app .cm-scroller:hover,.scalar-app .custom-scroll:hover,.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,.scalar-app .custom-scroll:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid transparent}.scalar-app .cm-scroller::-webkit-scrollbar-thumb:active,.scalar-app .custom-scroll::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid transparent}.scalar-app .cm-scroller::-webkit-scrollbar-corner,.scalar-app .custom-scroll::-webkit-scrollbar-corner{background:transparent}.scalar-app .cm-scroller::-webkit-scrollbar,.scalar-app .custom-scroll::-webkit-scrollbar{height:12px;width:12px}.scalar-app .cm-scroller::-webkit-scrollbar-track,.scalar-app .custom-scroll::-webkit-scrollbar-track{background:transparent}.scalar-app .cm-scroller::-webkit-scrollbar-thumb,.scalar-app .custom-scroll::-webkit-scrollbar-thumb{border-radius:20px;background:transparent;background-clip:content-box;border:3px solid transparent}@media (pointer: coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@layer scalar-base{:root{--scalar-border-width: .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: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline;--scalar-link-font-weight: inherit}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--scalar-text-decoration-color: currentColor;--scalar-text-decoration-color-hover: currentColor}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-link-color: var(--scalar-color-accent);--scalar-link-color-hover: var(--scalar-color-accent);--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}}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #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: #3ea6ff;--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-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-client{line-height:1.5;color:var(--scalar-color-1)}.scalar-client .container{width:100%}@media (min-width: 400px){.scalar-client .container{max-width:400px}}@media (min-width: 600px){.scalar-client .container{max-width:600px}}@media (min-width: 800px){.scalar-client .container{max-width:800px}}@media (min-width: 1000px){.scalar-client .container{max-width:1000px}}@media (min-width: 1200px){.scalar-client .container{max-width:1200px}}.scalar-client .row{display:flex;flex-direction:row}.scalar-client .row-1{display:flex;flex-direction:row;flex:1 1 0%}.scalar-client .col{display:flex;flex-direction:column}.scalar-client .col-1{display:flex;flex-direction:column;flex:1 1 0%}.scalar-client .flex-center{display:flex;justify-content:center;align-items:center}.scalar-client .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered-y{top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .floating-bg:before{background-color:var(--scalar-background-2);border-radius:var(--scalar-radius);content:"";height:calc(100% - 4px);left:-4px;opacity:0;position:absolute;top:2.5px;transition:opacity .2s ease-in-out;width:calc(100% + 8px);z-index:1}.scalar-client .floating-bg:hover:before{opacity:1}.scalar-client .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.scalar-client .not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.scalar-client .pointer-events-none{pointer-events:none}.scalar-client .pointer-events-auto{pointer-events:auto}.scalar-client .visible{visibility:visible}.scalar-client .static{position:static}.scalar-client .fixed{position:fixed}.scalar-client .absolute{position:absolute}.scalar-client .relative{position:relative}.scalar-client .sticky{position:sticky}.scalar-client .inset-0{top:0;right:0;bottom:0;left:0}.scalar-client .-inset-x-96{left:-384px;right:-384px}.scalar-client .inset-x-1{left:4px;right:4px}.scalar-client .\\!right-\\[60px\\]{right:60px!important}.scalar-client .-right-6{right:-24px}.scalar-client .bottom-0{bottom:0}.scalar-client .bottom-1\\/2{bottom:50%}.scalar-client .bottom-\\[var\\(--scalar-border-width\\)\\]{bottom:var(--scalar-border-width)}.scalar-client .left-0{left:0}.scalar-client .left-1\\/2{left:50%}.scalar-client .right-0{right:0}.scalar-client .right-1{right:4px}.scalar-client .right-1\\/2{right:50%}.scalar-client .right-2{right:8px}.scalar-client .right-4{right:16px}.scalar-client .right-7{right:28px}.scalar-client .top-0{top:0}.scalar-client .top-1\\/2{top:50%}.scalar-client .top-2{top:8px}.scalar-client .top-8{top:32px}.scalar-client .top-\\[48px\\]{top:48px}.scalar-client .-z-1{z-index:-1}.scalar-client .z-0{z-index:0}.scalar-client .z-1{z-index:1}.scalar-client .z-10{z-index:10}.scalar-client .z-20{z-index:20}.scalar-client .z-50{z-index:50}.scalar-client .z-\\[10001\\]{z-index:10001}.scalar-client .z-\\[1\\]{z-index:1}.scalar-client .z-context{z-index:1000}.scalar-client .z-overlay{z-index:10000}.scalar-client .order-last{order:9999}.scalar-client .col-span-full{grid-column:1 / -1}.scalar-client .\\!m-0{margin:0!important}.scalar-client .m-0{margin:0}.scalar-client .m-4{margin:16px}.scalar-client .m-auto{margin:auto}.scalar-client .\\!mx-0{margin-left:0!important;margin-right:0!important}.scalar-client .-mx-1{margin-left:-4px;margin-right:-4px}.scalar-client .-my-1{margin-top:-4px;margin-bottom:-4px}.scalar-client .mx-0{margin-left:0;margin-right:0}.scalar-client .mx-0\\.5{margin-left:2px;margin-right:2px}.scalar-client .mx-1{margin-left:4px;margin-right:4px}.scalar-client .my-1{margin-top:4px;margin-bottom:4px}.scalar-client .my-1\\.25{margin-top:5px;margin-bottom:5px}.scalar-client .my-12{margin-top:48px;margin-bottom:48px}.scalar-client .\\!mb-0{margin-bottom:0!important}.scalar-client .\\!mr-0{margin-right:0!important}.scalar-client .-mb-\\[var\\(--scalar-border-width\\)\\]{margin-bottom:calc(var(--scalar-border-width) * -1)}.scalar-client .-ml-0{margin-left:-0px}.scalar-client .-ml-0\\.5{margin-left:-2px}.scalar-client .-ml-12{margin-left:-48px}.scalar-client .-ml-px{margin-left:-1px}.scalar-client .-mr-1{margin-right:-4px}.scalar-client .-mr-1\\.5{margin-right:-6px}.scalar-client .-mr-3{margin-right:-12px}.scalar-client .-mt-\\[\\.5px\\]{margin-top:-.5px}.scalar-client .mb-0{margin-bottom:0}.scalar-client .mb-1{margin-bottom:4px}.scalar-client .mb-1\\.5{margin-bottom:6px}.scalar-client .mb-2{margin-bottom:8px}.scalar-client .mb-4{margin-bottom:16px}.scalar-client .mb-8{margin-bottom:32px}.scalar-client .mb-\\[\\.5px\\]{margin-bottom:.5px}.scalar-client .ml-0{margin-left:0}.scalar-client .ml-0\\.5{margin-left:2px}.scalar-client .ml-1{margin-left:4px}.scalar-client .ml-2{margin-left:8px}.scalar-client .ml-auto{margin-left:auto}.scalar-client .mr-0{margin-right:0}.scalar-client .mr-0\\.75{margin-right:3px}.scalar-client .mr-1{margin-right:4px}.scalar-client .mr-1\\.5{margin-right:6px}.scalar-client .mr-2{margin-right:8px}.scalar-client .mr-2\\.5{margin-right:10px}.scalar-client .mr-3{margin-right:12px}.scalar-client .mr-auto{margin-right:auto}.scalar-client .mt-1{margin-top:4px}.scalar-client .mt-10{margin-top:40px}.scalar-client .mt-2{margin-top:8px}.scalar-client .mt-3{margin-top:12px}.scalar-client .mt-5{margin-top:20px}.scalar-client .mt-auto{margin-top:auto}.scalar-client .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.scalar-client .block{display:block}.scalar-client .inline-block{display:inline-block}.scalar-client .\\!flex{display:flex!important}.scalar-client .flex{display:flex}.scalar-client .inline-flex{display:inline-flex}.scalar-client .table{display:table}.scalar-client .grid{display:grid}.scalar-client .contents{display:contents}.scalar-client .\\!hidden{display:none!important}.scalar-client .hidden{display:none}.scalar-client .aspect-\\[4\\/3\\]{aspect-ratio:4/3}.scalar-client .aspect-square{aspect-ratio:1 / 1}.scalar-client .size-10{width:40px;height:40px}.scalar-client .size-2{width:8px;height:8px}.scalar-client .size-2\\.5{width:10px;height:10px}.scalar-client .size-3{width:12px;height:12px}.scalar-client .size-3\\.5{width:14px;height:14px}.scalar-client .size-3\\/4{width:75%;height:75%}.scalar-client .size-4{width:16px;height:16px}.scalar-client .size-7{width:28px;height:28px}.scalar-client .h-1{height:4px}.scalar-client .h-1\\.5{height:6px}.scalar-client .h-10{height:40px}.scalar-client .h-2{height:8px}.scalar-client .h-2\\.5{height:10px}.scalar-client .h-24{height:96px}.scalar-client .h-3{height:12px}.scalar-client .h-3\\.5{height:14px}.scalar-client .h-4{height:16px}.scalar-client .h-5{height:20px}.scalar-client .h-6{height:24px}.scalar-client .h-64{height:256px}.scalar-client .h-7{height:28px}.scalar-client .h-8{height:32px}.scalar-client .h-9{height:36px}.scalar-client .h-\\[48px\\]{height:48px}.scalar-client .h-\\[68px\\]{height:68px}.scalar-client .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-client .h-\\[var\\(--scalar-border-width\\)\\]{height:var(--scalar-border-width)}.scalar-client .h-auto{height:auto}.scalar-client .h-fit{height:-moz-fit-content;height:fit-content}.scalar-client .h-full{height:100%}.scalar-client .h-header{height:48px}.scalar-client .h-px{height:1px}.scalar-client .h-screen{height:100vh}.scalar-client .\\!max-h-\\[calc\\(100\\%-32px\\)\\]{max-height:calc(100% - 32px)!important}.scalar-client .\\!max-h-\\[initial\\]{max-height:initial!important}.scalar-client .max-h-40{max-height:160px}.scalar-client .max-h-8{max-height:32px}.scalar-client .max-h-\\[300px\\]{max-height:300px}.scalar-client .max-h-\\[40dvh\\]{max-height:40dvh}.scalar-client .max-h-\\[50dvh\\]{max-height:50dvh}.scalar-client .max-h-\\[60svh\\]{max-height:60svh}.scalar-client .max-h-\\[calc\\(100\\%-32px\\)\\]{max-height:calc(100% - 32px)}.scalar-client .max-h-fit{max-height:-moz-fit-content;max-height:fit-content}.scalar-client .min-h-0{min-height:0px}.scalar-client .min-h-10{min-height:40px}.scalar-client .min-h-11{min-height:44px}.scalar-client .min-h-12{min-height:48px}.scalar-client .min-h-16{min-height:64px}.scalar-client .min-h-20{min-height:80px}.scalar-client .min-h-8{min-height:32px}.scalar-client .\\!w-fit{width:-moz-fit-content!important;width:fit-content!important}.scalar-client .w-0{width:0px}.scalar-client .w-0\\.5{width:2px}.scalar-client .w-1{width:4px}.scalar-client .w-1\\.5{width:6px}.scalar-client .w-10{width:40px}.scalar-client .w-2{width:8px}.scalar-client .w-2\\.5{width:10px}.scalar-client .w-20{width:80px}.scalar-client .w-3{width:12px}.scalar-client .w-3\\.5{width:14px}.scalar-client .w-4{width:16px}.scalar-client .w-5{width:20px}.scalar-client .w-56{width:224px}.scalar-client .w-6{width:24px}.scalar-client .w-6\\/12{width:50%}.scalar-client .w-64{width:256px}.scalar-client .w-72{width:288px}.scalar-client .w-8{width:32px}.scalar-client .w-\\[60px\\]{width:60px}.scalar-client .w-\\[calc\\(100\\%-10px\\)\\]{width:calc(100% - 10px)}.scalar-client .w-\\[calc\\(100\\%_-_8px\\)\\]{width:calc(100% - 8px)}.scalar-client .w-\\[inherit\\]{width:inherit}.scalar-client .w-auto{width:auto}.scalar-client .w-dvw{width:100dvw}.scalar-client .w-fit{width:-moz-fit-content;width:fit-content}.scalar-client .w-full{width:100%}.scalar-client .w-max{width:-moz-max-content;width:max-content}.scalar-client .min-w-0{min-width:0px}.scalar-client .min-w-2{min-width:8px}.scalar-client .min-w-2\\.5{min-width:10px}.scalar-client .min-w-3{min-width:12px}.scalar-client .min-w-3\\.5{min-width:14px}.scalar-client .min-w-48{min-width:192px}.scalar-client .min-w-8{min-width:32px}.scalar-client .min-w-\\[296px\\]{min-width:296px}.scalar-client .min-w-\\[37px\\]{min-width:37px}.scalar-client .min-w-full{min-width:100%}.scalar-client .max-w-\\[100\\%\\]{max-width:100%}.scalar-client .max-w-\\[14px\\]{max-width:14px}.scalar-client .max-w-\\[150px\\]{max-width:150px}.scalar-client .max-w-\\[320px\\]{max-width:320px}.scalar-client .max-w-\\[37px\\]{max-width:37px}.scalar-client .max-w-\\[380px\\]{max-width:380px}.scalar-client .max-w-\\[420px\\]{max-width:420px}.scalar-client .max-w-\\[720px\\]{max-width:720px}.scalar-client .max-w-full{max-width:100%}.scalar-client .flex-1{flex:1 1 0%}.scalar-client .shrink-0{flex-shrink:0}.scalar-client .flex-grow{flex-grow:1}.scalar-client .-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .translate-x-1\\/2{--tw-translate-x:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .translate-y-1\\/2{--tw-translate-y:50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .scale-75{--tw-scale-x:.75;--tw-scale-y:.75;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .cursor-auto{cursor:auto}.scalar-client .cursor-default{cursor:default}.scalar-client .cursor-help{cursor:help}.scalar-client .cursor-pointer{cursor:pointer}.scalar-client .cursor-text{cursor:text}.scalar-client .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.scalar-client .resize-none{resize:none}.scalar-client .resize{resize:both}.scalar-client .auto-rows-\\[32px\\]{grid-auto-rows:32px}.scalar-client .auto-rows-auto{grid-auto-rows:auto}.scalar-client .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.scalar-client .grid-cols-\\[44px\\,1fr\\,repeat\\(3\\,auto\\)\\]{grid-template-columns:44px 1fr repeat(3,auto)}.scalar-client .grid-cols-\\[auto\\,1fr\\]{grid-template-columns:auto 1fr}.scalar-client .grid-cols-\\[repeat\\(auto-fill\\,minmax\\(32px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fill,minmax(32px,1fr))}.scalar-client .flex-row{flex-direction:row}.scalar-client .flex-col{flex-direction:column}.scalar-client .flex-wrap{flex-wrap:wrap}.scalar-client .content-start{align-content:flex-start}.scalar-client .content-between{align-content:space-between}.scalar-client .items-start{align-items:flex-start}.scalar-client .items-end{align-items:flex-end}.scalar-client .items-center{align-items:center}.scalar-client .items-stretch{align-items:stretch}.scalar-client .justify-start{justify-content:flex-start}.scalar-client .justify-end{justify-content:flex-end}.scalar-client .justify-center{justify-content:center}.scalar-client .justify-between{justify-content:space-between}.scalar-client .justify-stretch{justify-content:stretch}.scalar-client .\\!gap-2{gap:8px!important}.scalar-client .gap-0{gap:0px}.scalar-client .gap-0\\.25{gap:1px}.scalar-client .gap-0\\.5{gap:2px}.scalar-client .gap-1{gap:4px}.scalar-client .gap-1\\.5{gap:6px}.scalar-client .gap-10{gap:40px}.scalar-client .gap-2{gap:8px}.scalar-client .gap-2\\.5{gap:10px}.scalar-client .gap-3{gap:12px}.scalar-client .gap-4{gap:16px}.scalar-client .gap-6{gap:24px}.scalar-client .gap-8{gap:32px}.scalar-client .gap-\\[\\.5px\\]{gap:.5px}.scalar-client .gap-\\[1\\.5px\\]{gap:1.5px}.scalar-client .gap-px{gap:1px}.scalar-client .gap-x-2{-moz-column-gap:8px;column-gap:8px}.scalar-client .gap-x-2\\.5{-moz-column-gap:10px;column-gap:10px}.scalar-client .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.scalar-client .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse))}.scalar-client .self-center{align-self:center}.scalar-client .justify-self-end{justify-self:end}.scalar-client .overflow-auto{overflow:auto}.scalar-client .overflow-hidden{overflow:hidden}.scalar-client .overflow-visible{overflow:visible}.scalar-client .overflow-x-auto{overflow-x:auto}.scalar-client .overflow-y-auto{overflow-y:auto}.scalar-client .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scalar-client .text-ellipsis{text-overflow:ellipsis}.scalar-client .whitespace-nowrap{white-space:nowrap}.scalar-client .whitespace-pre{white-space:pre}.scalar-client .text-balance{text-wrap:balance}.scalar-client .text-pretty{text-wrap:pretty}.scalar-client .break-words{overflow-wrap:break-word}.scalar-client .break-all{word-break:break-all}.scalar-client .\\!rounded-none{border-radius:0!important}.scalar-client .rounded{border-radius:var(--scalar-radius)}.scalar-client .rounded-\\[10px\\]{border-radius:10px}.scalar-client .rounded-full{border-radius:9999px}.scalar-client .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-client .rounded-md{border-radius:var(--scalar-radius)}.scalar-client .rounded-px{border-radius:1px}.scalar-client .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-client .\\!rounded-t-lg{border-top-left-radius:var(--scalar-radius-lg)!important;border-top-right-radius:var(--scalar-radius-lg)!important}.scalar-client .rounded-b{border-bottom-right-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-client .rounded-b-lg{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-client .rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-client .rounded-t{border-top-left-radius:var(--scalar-radius);border-top-right-radius:var(--scalar-radius)}.scalar-client .rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.scalar-client .\\!border-0{border-width:0!important}.scalar-client .border{border-width:var(--scalar-border-width)}.scalar-client .border-0{border-width:0}.scalar-client .border-1\\/2{border-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-2{border-width:calc(var(--scalar-border-width) * 2)}.scalar-client .border-\\[1\\.5px\\]{border-width:1.5px}.scalar-client .border-\\[1px\\]{border-width:1px}.scalar-client .\\!border-r-1\\/2{border-right-width:calc(var(--scalar-border-width) / 2)!important}.scalar-client .\\!border-t-0{border-top-width:0!important}.scalar-client .border-b-0{border-bottom-width:0}.scalar-client .border-b-1\\/2{border-bottom-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-b-\\[1px\\]{border-bottom-width:1px}.scalar-client .border-l{border-left-width:var(--scalar-border-width)}.scalar-client .border-l-0{border-left-width:0}.scalar-client .border-r{border-right-width:var(--scalar-border-width)}.scalar-client .border-r-0{border-right-width:0}.scalar-client .border-r-1\\/2{border-right-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-t{border-top-width:var(--scalar-border-width)}.scalar-client .border-t-0{border-top-width:0}.scalar-client .border-t-1\\/2{border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-solid{border-style:solid}.scalar-client .border-dashed{border-style:dashed}.scalar-client .border-none{border-style:none}.scalar-client .\\!border-current{border-color:currentColor!important}.scalar-client .border-b-3{border-color:var(--scalar-background-3)}.scalar-client .border-c-3{border-color:var(--scalar-color-3)}.scalar-client .border-transparent{border-color:transparent}.scalar-client .border-r-transparent{border-right-color:transparent}.scalar-client .bg-b-1{background-color:var(--scalar-background-1)}.scalar-client .bg-b-2{background-color:var(--scalar-background-2)}.scalar-client .bg-b-3{background-color:var(--scalar-background-3)}.scalar-client .bg-blue{background-color:var(--scalar-color-blue)}.scalar-client .bg-border{background-color:var(--scalar-border-color)}.scalar-client .bg-c-2{background-color:var(--scalar-color-2)}.scalar-client .bg-c-accent{background-color:var(--scalar-color-accent)}.scalar-client .bg-current{background-color:currentColor}.scalar-client .bg-green{background-color:var(--scalar-color-green)}.scalar-client .bg-grey{background-color:var(--scalar-color-3)}.scalar-client .bg-orange{background-color:var(--scalar-color-orange)}.scalar-client .bg-purple{background-color:var(--scalar-color-purple)}.scalar-client .bg-red{background-color:var(--scalar-color-red)}.scalar-client .bg-sidebar-active-b{background-color:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.scalar-client .bg-yellow{background-color:var(--scalar-color-yellow)}.scalar-client .bg-none{background-image:none}.scalar-client .fill-current{fill:currentColor}.scalar-client .stroke-2{stroke-width:2}.scalar-client .stroke-\\[1\\.5\\]{stroke-width:1.5}.scalar-client .stroke-\\[1\\.75\\]{stroke-width:1.75}.scalar-client .stroke-\\[2\\.25\\]{stroke-width:2.25}.scalar-client .object-contain{-o-object-fit:contain;object-fit:contain}.scalar-client .\\!p-0{padding:0!important}.scalar-client .\\!p-1{padding:4px!important}.scalar-client .p-0{padding:0}.scalar-client .p-0\\.5{padding:2px}.scalar-client .p-0\\.75{padding:3px}.scalar-client .p-1{padding:4px}.scalar-client .p-1\\.5{padding:6px}.scalar-client .p-1\\.75{padding:7px}.scalar-client .p-2{padding:8px}.scalar-client .p-3{padding:12px}.scalar-client .p-4{padding:16px}.scalar-client .p-\\[3px\\]{padding:3px}.scalar-client .p-\\[5px\\]{padding:5px}.scalar-client .\\!px-3{padding-left:12px!important;padding-right:12px!important}.scalar-client .\\!py-1{padding-top:4px!important;padding-bottom:4px!important}.scalar-client .\\!py-1\\.5{padding-top:6px!important;padding-bottom:6px!important}.scalar-client .px-0{padding-left:0;padding-right:0}.scalar-client .px-0\\.5{padding-left:2px;padding-right:2px}.scalar-client .px-1{padding-left:4px;padding-right:4px}.scalar-client .px-1\\.5{padding-left:6px;padding-right:6px}.scalar-client .px-2{padding-left:8px;padding-right:8px}.scalar-client .px-2\\.5{padding-left:10px;padding-right:10px}.scalar-client .px-3{padding-left:12px;padding-right:12px}.scalar-client .px-4{padding-left:16px;padding-right:16px}.scalar-client .px-5{padding-left:20px;padding-right:20px}.scalar-client .px-6{padding-left:24px;padding-right:24px}.scalar-client .px-8{padding-left:32px;padding-right:32px}.scalar-client .py-0{padding-top:0;padding-bottom:0}.scalar-client .py-0\\.5{padding-top:2px;padding-bottom:2px}.scalar-client .py-0\\.75{padding-top:3px;padding-bottom:3px}.scalar-client .py-1{padding-top:4px;padding-bottom:4px}.scalar-client .py-1\\.25{padding-top:5px;padding-bottom:5px}.scalar-client .py-1\\.5{padding-top:6px;padding-bottom:6px}.scalar-client .py-2{padding-top:8px;padding-bottom:8px}.scalar-client .py-2\\.5{padding-top:10px;padding-bottom:10px}.scalar-client .py-3{padding-top:12px;padding-bottom:12px}.scalar-client .py-5{padding-top:20px;padding-bottom:20px}.scalar-client .py-8{padding-top:32px;padding-bottom:32px}.scalar-client .py-\\[9px\\]{padding-top:9px;padding-bottom:9px}.scalar-client .py-px{padding-top:1px;padding-bottom:1px}.scalar-client .\\!pl-2{padding-left:8px!important}.scalar-client .\\!pl-3{padding-left:12px!important}.scalar-client .\\!pr-2{padding-right:8px!important}.scalar-client .\\!pr-2\\.5{padding-right:10px!important}.scalar-client .\\!pt-0{padding-top:0!important}.scalar-client .pb-0{padding-bottom:0}.scalar-client .pb-14{padding-bottom:56px}.scalar-client .pb-2{padding-bottom:8px}.scalar-client .pb-3{padding-bottom:12px}.scalar-client .pb-5{padding-bottom:20px}.scalar-client .pb-8{padding-bottom:32px}.scalar-client .pb-\\[75px\\]{padding-bottom:75px}.scalar-client .pl-1{padding-left:4px}.scalar-client .pl-1\\.5{padding-left:6px}.scalar-client .pl-2{padding-left:8px}.scalar-client .pl-3{padding-left:12px}.scalar-client .pl-5{padding-left:20px}.scalar-client .pl-6{padding-left:24px}.scalar-client .pl-8{padding-left:32px}.scalar-client .pl-9{padding-left:36px}.scalar-client .pl-px{padding-left:1px}.scalar-client .pr-0{padding-right:0}.scalar-client .pr-1{padding-right:4px}.scalar-client .pr-1\\.5{padding-right:6px}.scalar-client .pr-2{padding-right:8px}.scalar-client .pr-2\\.5{padding-right:10px}.scalar-client .pr-6{padding-right:24px}.scalar-client .pr-\\[26px\\]{padding-right:26px}.scalar-client .pt-0{padding-top:0}.scalar-client .pt-2{padding-top:8px}.scalar-client .pt-3{padding-top:12px}.scalar-client .pt-4{padding-top:16px}.scalar-client .pt-px{padding-top:1px}.scalar-client .text-left{text-align:left}.scalar-client .text-center{text-align:center}.scalar-client .text-right{text-align:right}.scalar-client .font-code{font-family:var(--scalar-font-code)}.scalar-client .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-client .text-\\[11px\\]{font-size:11px}.scalar-client .text-\\[21px\\]{font-size:21px}.scalar-client .text-\\[6px\\]{font-size:6px}.scalar-client .text-base{font-size:var(--scalar-font-size-3)}.scalar-client .text-sm{font-size:var(--scalar-font-size-4)}.scalar-client .text-xl{font-size:var(--scalar-font-size-1)}.scalar-client .text-xs{font-size:var(--scalar-font-size-5)}.scalar-client .text-xxs{font-size:var(--scalar-font-size-6)}.scalar-client .font-bold{font-weight:var(--scalar-bold)}.scalar-client .font-medium{font-weight:var(--scalar-semibold)}.scalar-client .font-normal{font-weight:var(--scalar-regular)}.scalar-client .uppercase{text-transform:uppercase}.scalar-client .lowercase{text-transform:lowercase}.scalar-client .capitalize{text-transform:capitalize}.scalar-client .\\!leading-\\[6px\\]{line-height:6px!important}.scalar-client .leading-3{line-height:var(--scalar-line-height-3)}.scalar-client .leading-5{line-height:var(--scalar-line-height-5)}.scalar-client .leading-\\[1\\.44\\]{line-height:1.44}.scalar-client .leading-\\[21px\\]{line-height:21px}.scalar-client .leading-\\[7px\\]{line-height:7px}.scalar-client .leading-\\[normal\\]{line-height:normal}.scalar-client .leading-none{line-height:1}.scalar-client .leading-normal{line-height:1.5}.scalar-client .leading-snug{line-height:1.375}.scalar-client .\\!text-c-1{color:var(--scalar-color-1)!important}.scalar-client .text-b-1{color:var(--scalar-background-1)}.scalar-client .text-blue{color:var(--scalar-color-blue)}.scalar-client .text-border{color:var(--scalar-border-color)}.scalar-client .text-c-1{color:var(--scalar-color-1)}.scalar-client .text-c-2{color:var(--scalar-color-2)}.scalar-client .text-c-3{color:var(--scalar-color-3)}.scalar-client .text-c-btn{color:var(--scalar-button-1-color)}.scalar-client .text-green{color:var(--scalar-color-green)}.scalar-client .text-grey{color:var(--scalar-color-3)}.scalar-client .text-orange{color:var(--scalar-color-orange)}.scalar-client .text-purple{color:var(--scalar-color-purple)}.scalar-client .text-red{color:var(--scalar-color-red)}.scalar-client .text-sidebar-active-c{color:var(--scalar-sidebar-color-active, currentColor)}.scalar-client .text-sidebar-c-2{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.scalar-client .text-transparent{color:transparent}.scalar-client .text-yellow{color:var(--scalar-color-yellow)}.scalar-client .underline{text-decoration-line:underline}.scalar-client .no-underline{text-decoration-line:none}.scalar-client .decoration-c-3{text-decoration-color:var(--scalar-color-3)}.scalar-client .underline-offset-2{text-underline-offset:2px}.scalar-client .opacity-0{opacity:0}.scalar-client .opacity-100{opacity:1}.scalar-client .opacity-25{opacity:.25}.scalar-client .shadow{--tw-shadow:var(--scalar-shadow-1);--tw-shadow-colored:var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-\\[-8px_0_4px_var\\(--scalar-background-1\\)\\]{--tw-shadow:-8px 0 4px var(--scalar-background-1);--tw-shadow-colored:-8px 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-\\[0_-8px_0_8px_var\\(--scalar-background-1\\)\\,0_0_8px_8px_var\\(--scalar-background-1\\)\\]{--tw-shadow:0 -8px 0 8px var(--scalar-background-1),0 0 8px 8px var(--scalar-background-1);--tw-shadow-colored:0 -8px 0 8px var(--tw-shadow-color), 0 0 8px 8px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-lg{--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .outline-none{outline:2px solid transparent;outline-offset:2px}.scalar-client .outline{outline-style:solid}.scalar-client .-outline-offset-1{outline-offset:-1px}.scalar-client .-outline-offset-2{outline-offset:-2px}.scalar-client .outline-offset-2{outline-offset:2px}.scalar-client .blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.scalar-client .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-client .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.scalar-client .backdrop-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-client .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .transition-none{transition-property:none}.scalar-client .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .duration-150{transition-duration:.15s}.scalar-client .duration-200{transition-duration:.2s}.scalar-client .duration-300{transition-duration:.3s}.scalar-client .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.scalar-client .bg-mix-transparent{background-color:color-mix(var(--tw-bg-mix-method, in srgb),transparent calc(var(--tw-bg-mix-amount, 0) * 1%),var(--tw-bg-base))}.scalar-client .bg-mix-amount-90{--tw-bg-mix-amount:90}.scalar-client .bg-b-1{--tw-bg-base:var(--scalar-background-1)}.scalar-client .bg-b-2{--tw-bg-base:var(--scalar-background-2)}.scalar-client .bg-b-3{--tw-bg-base:var(--scalar-background-3)}.scalar-client .bg-blue{--tw-bg-base:var(--scalar-color-blue)}.scalar-client .bg-border{--tw-bg-base:var(--scalar-border-color)}.scalar-client .bg-c-2{--tw-bg-base:var(--scalar-color-2)}.scalar-client .bg-c-accent{--tw-bg-base:var(--scalar-color-accent)}.scalar-client .bg-current{--tw-bg-base:currentColor}.scalar-client .bg-green{--tw-bg-base:var(--scalar-color-green)}.scalar-client .bg-grey{--tw-bg-base:var(--scalar-color-3)}.scalar-client .bg-orange{--tw-bg-base:var(--scalar-color-orange)}.scalar-client .bg-purple{--tw-bg-base:var(--scalar-color-purple)}.scalar-client .bg-red{--tw-bg-base:var(--scalar-color-red)}.scalar-client .bg-sidebar-active-b{--tw-bg-base:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .bg-white{--tw-bg-opacity:1;--tw-bg-base:rgb(255 255 255 / var(--tw-bg-opacity))}.scalar-client .bg-yellow{--tw-bg-base:var(--scalar-color-yellow)}.scalar-client .app-drag-region{-webkit-app-region:drag}.scalar-client .app-no-drag-region{-webkit-app-region:no-drag}.scalar-client .\\[--scalar-small\\:--scalar-font-size-4\\]{--scalar-small:var(--scalar-font-size-4)}.scalar-client .\\*\\:flex>*{display:flex}.scalar-client .\\*\\:h-8>*{height:32px}.scalar-client .\\*\\:cursor-pointer>*{cursor:pointer}.scalar-client .\\*\\:items-center>*{align-items:center}.scalar-client .\\*\\:rounded-none>*{border-radius:0}.scalar-client .\\*\\:border-t-1\\/2>*{border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .\\*\\:px-1>*{padding-left:4px;padding-right:4px}.scalar-client .\\*\\:px-1\\.5>*{padding-left:6px;padding-right:6px}.scalar-client .before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.scalar-client .before\\:absolute:before{content:var(--tw-content);position:absolute}.scalar-client .before\\:-top-8:before{content:var(--tw-content);top:-32px}.scalar-client .before\\:left-0:before{content:var(--tw-content);left:0}.scalar-client .before\\:left-3:before{content:var(--tw-content);left:12px}.scalar-client .before\\:left-\\[calc\\(\\.75rem_\\+_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(.75rem + .5px)}.scalar-client .before\\:left-\\[calc\\(1\\.75rem_-1px\\)\\]:before{content:var(--tw-content);left:calc(1.75rem - 1px)}.scalar-client .before\\:right-\\[23px\\]:before{content:var(--tw-content);right:23px}.scalar-client .before\\:top-0:before{content:var(--tw-content);top:0}.scalar-client .before\\:top-0\\.5:before{content:var(--tw-content);top:2px}.scalar-client .before\\:z-1:before{content:var(--tw-content);z-index:1}.scalar-client .before\\:mx-\\[0\\.5ch\\]:before{content:var(--tw-content);margin-left:.5ch;margin-right:.5ch}.scalar-client .before\\:block:before{content:var(--tw-content);display:block}.scalar-client .before\\:h-\\[calc\\(100\\%\\+32px\\)\\]:before{content:var(--tw-content);height:calc(100% + 32px)}.scalar-client .before\\:h-\\[calc\\(100\\%_\\+_\\.5px\\)\\]:before{content:var(--tw-content);height:calc(100% + .5px)}.scalar-client .before\\:min-h-\\[calc\\(100\\%-4px\\)\\]:before{content:var(--tw-content);min-height:calc(100% - 4px)}.scalar-client .before\\:w-3:before{content:var(--tw-content);width:12px}.scalar-client .before\\:w-\\[\\.5px\\]:before{content:var(--tw-content);width:.5px}.scalar-client .before\\:w-full:before{content:var(--tw-content);width:100%}.scalar-client .before\\:rounded-lg:before{content:var(--tw-content);border-radius:var(--scalar-radius-lg)}.scalar-client .before\\:bg-border:before{content:var(--tw-content);background-color:var(--scalar-border-color)}.scalar-client .before\\:bg-gradient-to-r:before{content:var(--tw-content);background-image:linear-gradient(to right,var(--tw-gradient-stops))}.scalar-client .before\\:from-transparent:before{content:var(--tw-content);--tw-gradient-from:transparent var(--tw-gradient-from-position);--tw-gradient-to:rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.scalar-client .before\\:to-b-1:before{content:var(--tw-content);--tw-gradient-to:var(--scalar-background-1) var(--tw-gradient-to-position)}.scalar-client .before\\:shadow-lg:before{content:var(--tw-content);--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .before\\:content-\\[\\\'\\\'\\]:before{--tw-content:"";content:var(--tw-content)}.scalar-client .before\\:content-\\[\\\'·\\\'\\]:before{--tw-content:"·";content:var(--tw-content)}.scalar-client .before\\:bg-border:before{content:var(--tw-content);--tw-bg-base:var(--scalar-border-color)}.scalar-client .first\\:\\*\\:rounded-l>*:first-child{border-top-left-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-client .first\\:\\*\\:border-t-0>*:first-child{border-top-width:0}.scalar-client .last\\:mb-0:last-child{margin-bottom:0}.scalar-client .last\\:border-r-0:last-child{border-right-width:0}.scalar-client .last\\:\\*\\:rounded-r>*:last-child{border-top-right-radius:var(--scalar-radius);border-bottom-right-radius:var(--scalar-radius)}.scalar-client .last\\:before\\:h-full:last-child:before{content:var(--tw-content);height:100%}.scalar-client .focus-within\\:z-20:focus-within{z-index:20}.scalar-client .focus-within\\:border-b-3:focus-within{border-color:var(--scalar-background-3)}.scalar-client .focus-within\\:bg-b-1:focus-within{background-color:var(--scalar-background-1)}.scalar-client .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}.scalar-client .focus-within\\:bg-b-1:focus-within{--tw-bg-base:var(--scalar-background-1)}.scalar-client .hover\\:cursor-auto:hover{cursor:auto}.scalar-client .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-client .hover\\:bg-sidebar-active-b:hover{background-color:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-client .hover\\:text-c-2:hover{color:var(--scalar-color-2)}.scalar-client .hover\\:bg-b-2:hover{--tw-bg-base:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-3:hover{--tw-bg-base:var(--scalar-background-3)}.scalar-client .hover\\:bg-sidebar-active-b:hover{--tw-bg-base:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .focus\\:text-c-1:focus{color:var(--scalar-color-1)}.scalar-client .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.scalar-client .focus-visible\\:z-10:focus-visible{z-index:10}.scalar-client .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-client .disabled\\:text-c-2:disabled{color:var(--scalar-color-2)}.scalar-client .group:last-child .group-last\\:border-b-transparent{border-bottom-color:transparent}.scalar-client .group\\/upload:hover .group-hover\\/upload\\:block,.scalar-client .group:hover .group-hover\\:block{display:block}.scalar-client .group\\/item:hover .group-hover\\/item\\:flex,.scalar-client .group:hover .group-hover\\:flex{display:flex}.scalar-client .group:hover .group-hover\\:hidden{display:none}.scalar-client .group\\/info:hover .group-hover\\/info\\:text-c-1{color:var(--scalar-color-1)}.scalar-client .group\\/scopes-accordion:hover .group-hover\\/scopes-accordion\\:text-c-2{color:var(--scalar-color-2)}.scalar-client .group:hover .group-hover\\:text-c-1{color:var(--scalar-color-1)}.scalar-client .group\\/cell:hover .group-hover\\/cell\\:opacity-100,.scalar-client .group\\/params:hover .group-hover\\/params\\:opacity-100,.scalar-client .group:hover .group-hover\\:opacity-100{opacity:1}.scalar-client .group:hover .group-hover\\:opacity-80{opacity:.8}.scalar-client .group\\/item:hover .group-hover\\/item\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-client .group:focus-visible .group-focus-visible\\:opacity-100{opacity:1}.scalar-client .group:focus-visible .group-focus-visible\\:outline{outline-style:solid}.scalar-client .group:not(:first-child) .group-\\[\\:not\\(\\:first-child\\)\\]\\:border-t-1\\/2{border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .peer:checked~.peer-checked\\:text-c-2{color:var(--scalar-color-2)}.scalar-client .has-\\[\\:focus-visible\\]\\:rounded-\\[4px\\]:has(:focus-visible){border-radius:4px}.scalar-client .has-\\[\\.empty-sidebar-item\\]\\:border-t-1\\/2:has(.empty-sidebar-item){border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .has-\\[\\:focus-visible\\]\\:opacity-100:has(:focus-visible){opacity:1}.scalar-client .has-\\[\\:focus-visible\\]\\:outline:has(:focus-visible){outline-style:solid}.scalar-client .group\\/cell:has(:focus-visible) .group-has-\\[\\:focus-visible\\]\\/cell\\:border-c-accent{border-color:var(--scalar-color-accent)}.scalar-client .group\\/cell:has(:focus-visible) .group-has-\\[\\:focus-visible\\]\\/cell\\:opacity-100{opacity:1}.scalar-client .group:has(:focus-visible) .group-has-\\[\\:focus-visible\\]\\:opacity-100{opacity:1}.scalar-client .peer:has(.color-selector)~.peer-has-\\[\\.color-selector\\]\\:hidden{display:none}.scalar-client .peer:has(.cm-focused)~.peer-has-\\[\\.cm-focused\\]\\:opacity-0{opacity:0}.scalar-client .peer:has(:focus-visible)~.peer-has-\\[\\:focus-visible\\]\\:opacity-0{opacity:0}.scalar-client .ui-open\\:rotate-90[data-headlessui-state~=open]{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-not-open\\:invisible[data-headlessui-state]:not([data-headlessui-state~=open]){visibility:hidden}.scalar-client .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:invisible:not([data-headlessui-state]){visibility:hidden}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:rotate-0:not([data-headlessui-state]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-checked\\:bg-b-3[data-headlessui-state~=checked]{background-color:var(--scalar-background-3);--tw-bg-base:var(--scalar-background-3)}.scalar-client :where([data-headlessui-state~=checked]) .ui-checked\\:bg-b-3{background-color:var(--scalar-background-3);--tw-bg-base:var(--scalar-background-3)}.scalar-client .ui-active\\:bg-b-2[data-headlessui-state~=active]{background-color:var(--scalar-background-2);--tw-bg-base:var(--scalar-background-2)}.scalar-client .\\*\\:ui-active\\:bg-b-2[data-headlessui-state~=active]>*{background-color:var(--scalar-background-2);--tw-bg-base:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:bg-b-2{background-color:var(--scalar-background-2);--tw-bg-base:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state~=active]) .\\*\\:ui-active\\:bg-b-2>*{background-color:var(--scalar-background-2);--tw-bg-base:var(--scalar-background-2)}.scalar-client .app-platform-desktop .desktop\\:rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-client .app-platform-mac .mac\\:hidden{display:none}.scalar-client .app-platform-mac .mac\\:pl-\\[72px\\]{padding-left:72px}@media (min-width: 600px){.scalar-client .sm\\:not-sr-only{position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal}.scalar-client .sm\\:order-none{order:0}.scalar-client .sm\\:mb-1{margin-bottom:4px}.scalar-client .sm\\:mb-1\\.5{margin-bottom:6px}.scalar-client .sm\\:ml-1{margin-left:4px}.scalar-client .sm\\:ml-1\\.5{margin-left:6px}.scalar-client .sm\\:mr-1{margin-right:4px}.scalar-client .sm\\:mr-1\\.5{margin-right:6px}.scalar-client .sm\\:flex{display:flex}.scalar-client .sm\\:hidden{display:none}.scalar-client .sm\\:min-w-max{min-width:-moz-max-content;min-width:max-content}.scalar-client .sm\\:max-w-max{max-width:-moz-max-content;max-width:max-content}.scalar-client .sm\\:flex-row{flex-direction:row}.scalar-client .sm\\:flex-col{flex-direction:column}.scalar-client .sm\\:justify-between{justify-content:space-between}.scalar-client .sm\\:gap-px{gap:1px}.scalar-client .sm\\:rounded{border-radius:var(--scalar-radius)}.scalar-client .sm\\:rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-client .sm\\:px-2{padding-left:8px;padding-right:8px}.scalar-client .sm\\:px-3{padding-left:12px;padding-right:12px}.scalar-client .sm\\:py-1{padding-top:4px;padding-bottom:4px}.scalar-client .sm\\:py-1\\.5{padding-top:6px;padding-bottom:6px}.scalar-client .sm\\:\\*\\:rounded-lg>*{border-radius:var(--scalar-radius-lg)}}@media (min-width: 800px){.scalar-client .md\\:bottom-10{bottom:40px}.scalar-client .md\\:right-10{right:40px}.scalar-client .md\\:-ml-1{margin-left:-4px}.scalar-client .md\\:block{display:block}.scalar-client .md\\:w-full{width:100%}.scalar-client .md\\:min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.scalar-client .md\\:flex-none{flex:none}.scalar-client .md\\:translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .md\\:translate-y-0{--tw-translate-y:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .md\\:flex-row{flex-direction:row}.scalar-client .md\\:border-b-0{border-bottom-width:0}.scalar-client .md\\:border-r-1\\/2{border-right-width:calc(var(--scalar-border-width) / 2)}.scalar-client .md\\:p-1{padding:4px}.scalar-client .md\\:p-1\\.5{padding:6px}.scalar-client .md\\:p-5{padding:20px}.scalar-client .md\\:px-0{padding-left:0;padding-right:0}.scalar-client .md\\:px-1{padding-left:4px;padding-right:4px}.scalar-client .md\\:px-1\\.5{padding-left:6px;padding-right:6px}.scalar-client .md\\:px-2{padding-left:8px;padding-right:8px}.scalar-client .md\\:px-2\\.5{padding-left:10px;padding-right:10px}.scalar-client .md\\:px-4{padding-left:16px;padding-right:16px}.scalar-client .md\\:py-2{padding-top:8px;padding-bottom:8px}.scalar-client .md\\:py-2\\.5{padding-top:10px;padding-bottom:10px}.scalar-client .md\\:pb-2{padding-bottom:8px}.scalar-client .md\\:pb-2\\.5{padding-bottom:10px}.scalar-client .md\\:pb-\\[37px\\]{padding-bottom:37px}.scalar-client .md\\:pl-1{padding-left:4px}.scalar-client .md\\:\\*\\:border-t-0>*{border-top-width:0}}@media (min-width: 1000px){.scalar-client .lg\\:order-none{order:0}.scalar-client .lg\\:-mr-1{margin-right:-4px}.scalar-client .lg\\:mb-0{margin-bottom:0}.scalar-client .lg\\:flex{display:flex}.scalar-client .lg\\:min-h-client-header{min-height:48px}.scalar-client .lg\\:w-\\[120px\\]{width:120px}.scalar-client .lg\\:w-auto{width:auto}.scalar-client .lg\\:min-w-\\[580px\\]{min-width:580px}.scalar-client .lg\\:max-w-\\[580px\\]{max-width:580px}.scalar-client .lg\\:flex-1{flex:1 1 0%}.scalar-client .lg\\:p-1{padding:4px}.scalar-client .lg\\:px-1{padding-left:4px;padding-right:4px}.scalar-client .lg\\:px-2{padding-left:8px;padding-right:8px}.scalar-client .lg\\:px-2\\.5{padding-left:10px;padding-right:10px}.scalar-client .lg\\:pr-24{padding-right:96px}.scalar-client .lg\\:pt-1{padding-top:4px}.scalar-client .lg\\:text-sm{font-size:var(--scalar-font-size-4)}}@media (min-width: 1200px){.scalar-client .xl\\:-ml-2{margin-left:-8px}.scalar-client .xl\\:\\!flex{display:flex!important}.scalar-client .xl\\:flex{display:flex}.scalar-client .xl\\:hidden{display:none}.scalar-client .xl\\:h-full{height:100%}.scalar-client .xl\\:min-h-client-header{min-height:48px}.scalar-client .xl\\:min-w-0{min-width:0px}.scalar-client .xl\\:min-w-\\[720px\\]{min-width:720px}.scalar-client .xl\\:max-w-\\[720px\\]{max-width:720px}.scalar-client .xl\\:flex-row{flex-direction:row}.scalar-client .xl\\:overflow-hidden{overflow:hidden}.scalar-client .xl\\:rounded-none{border-radius:0}.scalar-client .xl\\:pl-2{padding-left:8px}.scalar-client .xl\\:pr-0{padding-right:0}.scalar-client .xl\\:pr-0\\.5{padding-right:2px}.scalar-client .xl\\:\\*\\:border-l-1\\/2>*{border-left-width:calc(var(--scalar-border-width) / 2)}.scalar-client .xl\\:\\*\\:border-t-0>*{border-top-width:0}.scalar-client .xl\\:first\\:\\*\\:border-l-0>*:first-child{border-left-width:0}}.scalar-client .\\[\\&\\>a\\]\\:pl-5>a{padding-left:20px}html:has(.dark-mode){--scalar-background-1: #0f0f0f}html,body{background-color:var(--scalar-background-1);overscroll-behavior:none}#scalar-client{display:flex;flex-direction:column;height:100dvh;width:100dvw;position:relative;background-color:var(--scalar-background-2)}.dark-mode #scalar-client{background-color:color-mix(in srgb,var(--scalar-background-1) 65%,black)}.open-api-client-button[data-v-2e9f75f1]{cursor:pointer;width:100%;padding:9px 12px;height:31px;display:block;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);line-height:1.385;text-decoration:none;border-radius:var(--scalar-radius);box-shadow:0 0 0 .5px var(--scalar-border-color);gap:6px;color:var(--scalar-sidebar-color-1)}.open-api-client-button[data-v-2e9f75f1]:hover{background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.addressbar-history-button[data-v-69d275b6]:hover{background:var(--scalar-background-3)}.addressbar-history-button[data-v-69d275b6]:focus-within{background:var(--scalar-background-2)}[data-v-e6e6f37d] .cm-editor{background-color:var(--scalar-background-1);height:100%;outline:none;width:100%}[data-v-e6e6f37d] .cm-content{padding:0;display:flex;align-items:center;font-size:var(--scalar-mini)}.scroll-timeline-x[data-v-e6e6f37d]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-e6e6f37d]{overflow:hidden}.scroll-timeline-x-hidden[data-v-e6e6f37d] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-e6e6f37d]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-e6e6f37d] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-e6e6f37d]{line-height:27px;scrollbar-width:none}.scroll-timeline-x-address[data-v-e6e6f37d]:after{content:"";position:absolute;height:100%;width:24px;right:0;cursor:text}.scroll-timeline-x-address[data-v-e6e6f37d]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-e6e6f37d],.fade-right[data-v-e6e6f37d]{content:"";position:sticky;height:100%;animation-name:fadein-e6e6f37d;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;pointer-events:none}.fade-left[data-v-e6e6f37d]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 30%,var(--scalar-background-1) 100%);left:0;min-width:3px;animation-direction:normal}.fade-right[data-v-e6e6f37d]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 30%,var(--scalar-background-1) 100%);right:0;min-width:24px}@keyframes fadein-e6e6f37d{0%{opacity:0}1%{opacity:1}}.codemirror-bg-switcher[data-v-e6e6f37d]{--scalar-background-1: color-mix( in srgb, var(--scalar-background-1), var(--scalar-background-2) )}.addressbar-bg-states:has(.cm-focused) .codemirror-bg-switcher[data-v-e6e6f37d]{--scalar-background-1: var(--scalar-background-1)}.addressbar-bg-states[data-v-e6e6f37d]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}.addressbar-bg-states[data-v-e6e6f37d]:has(.cm-focused){background:var(--scalar-background-1);border-color:var(--scalar-border-color);outline:1px solid var(--scalar-color-accent)}.sidebar-height[data-v-ba6d2e30]{min-height:100%}@media (min-width: 800px){.sidebar-mask[data-v-ba6d2e30]{-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-ba6d2e30]{width:5px;cursor:col-resize;position:absolute;top:0;right:0;bottom:0;border-right:2px solid transparent;transition:border-right-color .3s}.resizer[data-v-ba6d2e30]:hover,.dragging .resizer[data-v-ba6d2e30]{border-right-color:var(--scalar-background-3)}.dragging[data-v-ba6d2e30]{cursor:col-resize}.dragging[data-v-ba6d2e30]:before{content:"";display:block;position:absolute;width:100%;height:100%}.scroll-timeline-x[data-v-b77d5bd3]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none;scrollbar-width:none}.gitbook-show[data-v-d6f5cf38]{display:none}.app-exit-button[data-v-d6f5cf38]{color:#fff;background:#0000001a}.app-exit-button[data-v-d6f5cf38]:hover{background:#ffffff1a}.ellipsis-position[data-v-99ca1ebd]{transform:translate3d(calc(-100% - 4.5px),0,0)}.dragover-asChild[data-v-1c336fff],.dragover-above[data-v-1c336fff],.dragover-below[data-v-1c336fff]{position:relative}.dragover-above[data-v-1c336fff]:after,.dragover-below[data-v-1c336fff]:after{content:"";position:absolute;top:-1.5px;height:3px;width:100%;display:block;background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%);pointer-events:none;border-radius:var(--scalar-radius)}.dragover-below[data-v-1c336fff]:after{top:initial;bottom:-1.5px}.dragover-asChild[data-v-1c336fff]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;display:block;background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%);pointer-events:none;border-radius:var(--scalar-radius)}.indent-border-line-offset[data-v-29c563a2]:before{left:var(--519a14d7)}.indent-padding-left[data-v-29c563a2]{padding-left:calc(var(--e7fbc4f2) + 6px)}.sidebar-folderitem[data-v-29c563a2] .ellipsis-position{right:6px;transform:none}.search-button-fade[data-v-e3a9520b]{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-e3a9520b]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-e3a9520b]{display:block}.rabbitjump[data-v-e3a9520b]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-e3a9520b]{opacity:1;animation:rabbitAnimation-e3a9520b .5s steps(1) infinite}.empty-sidebar-item:hover .rabbitsit[data-v-e3a9520b]{opacity:0;animation:rabbitAnimation2-e3a9520b .5s steps(1) infinite}.empty-sidebar-item:hover .rabbit-ascii[data-v-e3a9520b]{animation:rabbitRun-e3a9520b 8s infinite linear}@keyframes rabbitRun-e3a9520b{0%{transform:translateZ(0)}25%{transform:translate3d(250px,0,0)}25.01%{transform:translate3d(-250px,0,0)}75%{transform:translate3d(250px,0,0)}75.01%{transform:translate3d(-250px,0,0)}to{transform:translateZ(0)}}@keyframes rabbitAnimation-e3a9520b{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-e3a9520b{0%,to{opacity:0}50%{opacity:1;transform:translate3d(0,-8px,0)}}.request-text-color-text[data-v-90ff0226]{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-90ff0226]{display:none}.sidebar-active-width[data-v-90ff0226]{width:100%}}.active-link[data-v-4713d7d0]{background-color:var(--scalar-background-2);color:var(--scalar-color-1);--tw-bg-base: var(--scalar-background-2)}.empty-variable-name[data-v-4713d7d0]:empty:before{content:"No Name";color:var(--scalar-color-3)}.cookie>a[data-v-4713d7d0]{padding-left:40px}:root{--scalar-loaded-api-reference: true}@layer scalar-config{.scalar-api-reference[data-v-2bc622ac]{--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-2bc622ac]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.references-layout[data-v-2bc622ac]{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-2bc622ac]{grid-area:header;position:sticky;top:var(--scalar-custom-header-height, 0px);z-index:10;height:var(--scalar-header-height, 0px)}.references-editor[data-v-2bc622ac]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1);z-index:1}.references-navigation[data-v-2bc622ac]{grid-area:navigation}.references-rendered[data-v-2bc622ac]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-2bc622ac],.references-classic .references-rendered[data-v-2bc622ac]{--full-height: fit-content !important;height:initial!important;max-height:initial!important}.references-navigation-list[data-v-2bc622ac]{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-2bc622ac]{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-2bc622ac]{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-2bc622ac]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-2bc622ac]{grid-area:footer}@media (max-width: 1150px){.references-layout[data-v-2bc622ac]{grid-template-columns:var(--refs-sidebar-width) 1fr 0px}}@media (max-width: 1000px){.references-layout[data-v-2bc622ac]{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-2bc622ac]{grid-template-areas:"header" "navigation" "editor"}.references-navigation[data-v-2bc622ac],.references-rendered[data-v-2bc622ac]{max-height:unset}.references-rendered[data-v-2bc622ac]{position:static}.references-navigation[data-v-2bc622ac]{display:none;z-index:10}.references-sidebar-mobile-open .references-navigation[data-v-2bc622ac]{display:block;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));width:100%;position:sticky}.references-navigation-list[data-v-2bc622ac]{position:absolute;top:-1px;height:calc(var(--full-height) - var(--refs-header-height) + 1px);width:100%;border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}}.references-classic-header[data-v-a860f78f]{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:var(--refs-content-max-width);margin:auto;padding:12px 0}.references-classic-header-container[data-v-a860f78f]{padding:0 60px}@container narrow-references-container (max-width: 900px){.references-classic-header[data-v-a860f78f]{padding:12px 24px}.references-classic-header-container[data-v-a860f78f]{padding:0}}.references-classic-header-icon[data-v-a860f78f]{height:24px;color:var(--scalar-color-1)}.darklight-reference-switch[data-v-4eddf114]{display:flex;align-items:center;justify-content:space-between}.darklight-reference-promo[data-v-4eddf114]{display:flex;align-items:center;font-size:var(--scalar-mini);text-decoration:none;color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.darklight-reference-promo[data-v-4eddf114]:hover{text-decoration:underline}.darklight[data-v-4eddf114]{height:12px;width:36px;border-radius:12px;background:var(--scalar-border-color);display:flex;align-items:center;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;padding:0;outline:none}.darklight[data-v-4eddf114]:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}.darklight:focus-visible .darklight-slider[data-v-4eddf114]{outline:none;box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}.toggleicon[data-v-4eddf114]{display:flex;align-items:center;justify-content:center;height:12px}.darklight-slider[data-v-4eddf114]{box-shadow:0 0 0 .5px var(--scalar-border-color);border-radius:50%;width:22px;height:22px;display:flex;align-items:center;justify-content:center;background:var(--scalar-background-1);position:absolute;transition:transform .3s ease-in-out;filter:brightness(var(--scalar-lifted-brightness))}.toggleicon-sun[data-v-4eddf114]{width:7px;height:7px;border-radius:50%;box-shadow:inset 0 0 0 1px var(--scalar-color-1);overflow:hidden;position:relative;background:var(--scalar-background-1);display:inline-block;transition:width .3s ease-in-out,height .3s ease-in-out}.toggleicon-sun[data-v-4eddf114]:before{content:"";width:100%;height:100%;border:1px solid var(--scalar-color-1);display:block;left:2.5px;bottom:2.5px;position:absolute;border-radius:50%;background:var(--scalar-background-1);transition:transform .3s ease-in-out;transform:translate3d(4px,-4px,0)}.toggleicon-sunray[data-v-4eddf114]{width:12px;height:1px;border-radius:8px;background:var(--scalar-color-1);position:absolute;transition:transform .3s ease-in-out}.toggleicon-sunray[data-v-4eddf114]:nth-of-type(2){transform:rotate(90deg)}.toggleicon-sunray[data-v-4eddf114]:nth-of-type(3){transform:rotate(45deg)}.toggleicon-sunray[data-v-4eddf114]:nth-of-type(4){transform:rotate(-45deg)}.darklight_dark .toggleicon-sunray[data-v-4eddf114]{transform:scale(0)}.darklight_dark .toggleicon-sun[data-v-4eddf114]:before{transform:translateZ(0)}.darklight_dark .toggleicon-sun[data-v-4eddf114]{width:10px;height:10px;-webkit-mask-image:radial-gradient(circle at bottom left,pink 10px,transparent 12px);mask-image:radial-gradient(circle at bottom left,pink 10px,transparent 12px)}.darklight_dark .darklight-slider[data-v-4eddf114]{transform:translate3d(14px,0,0)}.darklight[data-v-3d47eee0]{color:var(--scalar-sidebar-color-2, var(--scalar-color-2));display:flex;align-items:center;margin-left:auto;height:24px;width:24px;padding:4px}.darklight[data-v-3d47eee0]:hover{cursor:pointer;color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}a[data-v-829b4762]{text-decoration:none}.ref-search-container[data-v-829b4762]{display:flex;flex-direction:column;padding:12px 12px 0}.ref-search-results[data-v-829b4762]{padding:12px}.ref-search-meta[data-v-829b4762]{background:var(--scalar-background-3);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px}.deprecated[data-v-829b4762]{text-decoration:line-through}.sidebar-search[data-v-9f0bd6b4]{display:flex;align-items:center;position:relative;padding:0 3px 0 9px;min-width:254px;max-width:100%;font-family:var(--scalar-font);background:var( --scalar-sidebar-search-background, var(--scalar-background-1) );color:var(--scalar-sidebar-color-2, var(--scalar-color-2));border-radius:var(--scalar-radius);box-shadow:0 0 0 .5px var(--scalar-sidebar-search-border-color, var(--scalar-border-color));cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none}.sidebar-search-input[data-v-9f0bd6b4]{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);height:31px;-webkit-user-select:none;-moz-user-select:none;user-select:none;z-index:10;position:relative;display:flex;width:100%;justify-content:space-between;align-items:center}.sidebar-search-key[data-v-9f0bd6b4]{text-transform:uppercase;background-color:var(--scalar-background-2);padding:3px 5px;margin:2px;border-radius:var(--scalar-radius);color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.scalar-search-icon[data-v-9f0bd6b4]{padding:0;margin-right:6px;width:12px}.references-mobile-header[data-v-b5fb4b8b]{display:none;align-items:center;height:100%;width:100%;padding:0 8px;background:var(--scalar-background-1);border-bottom:1px solid var(--scalar-border-color)}.references-mobile-breadcrumbs[data-v-b5fb4b8b]{flex:1;min-width:0;font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.references-mobile-header-actions[data-v-b5fb4b8b]{display:flex;flex-direction:row;gap:4px;height:24px;align-items:center;padding-left:4px}@media (max-width: 1000px){.references-mobile-header[data-v-b5fb4b8b]{display:flex}}@media (max-width: 1000px){.scalar-api-references-standalone-mobile{--scalar-header-height: 50px}}.scalar-api-references-standalone-search[data-v-90dab220]{display:flex;flex-direction:column;padding:12px 12px 6px}.darklight-reference[data-v-90dab220]{width:100%;margin-top:auto;border-top:var(--scalar-border-width) solid var(--scalar-sidebar-border-color, var(--scalar-border-color));padding:12px;display:flex;flex-direction:column;gap:12px}@layer scalar-base{body{margin:0;background-color:var(--scalar-background-1)}}')),document.head.appendChild(a)}}catch(r){console.error("vite-plugin-css-injected-by-js",r)}}();
!function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){
"use strict";var e,t,n=Object.defineProperty,r=(e,t,r)=>((e,t,r)=>t in e?n(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:r
}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r)
;const o=new Set(["title","titleTemplate","script","style","noscript"]),a=new Set(["base","meta","link","style","script","noscript"]),i=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),s=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),l=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),c="undefined"!=typeof window
;function u(e){let t=9
;for(let n=0;n<e.length;)t=Math.imul(t^e.charCodeAt(n++),9**9)
;return(65536+(t^t>>>9)).toString(16).substring(1,8).toLowerCase()}
function d(e){if(e._h)return e._h;if(e._d)return u(e._d)
;let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`
;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return u(t)}
function p(e,t){
const n=[],r=t.resolveKeyData||(e=>e.key),o=t.resolveValueData||(e=>e.value)
;for(const[a,i]of Object.entries(e))n.push(...(Array.isArray(i)?i:[i]).map((e=>{
const n={key:a,value:e},i=o(n)
;return"object"==typeof i?p(i,t):Array.isArray(i)?i:{
["function"==typeof t.key?t.key(n):t.key]:r(n),
["function"==typeof t.value?t.value(n):t.value]:i}})).flat());return n}
function h(e,t){return Object.entries(e).map((([e,n])=>{
if("object"==typeof n&&(n=h(n,t)),t.resolve){const r=t.resolve({key:e,value:n})
;if(void 0!==r)return r}
return"number"==typeof n&&(n=n.toString()),"string"==typeof n&&t.wrapValue&&(n=n.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),
n=`${t.wrapValue}${n}${t.wrapValue}`),`${e}${t.keyValueSeparator||""}${n}`
})).join(t.entrySeparator||"")}const f=e=>({keyValue:e,metaKey:"property"
}),m=e=>({keyValue:e}),g={appleItunesApp:{unpack:{entrySeparator:", ",
resolve:({key:e,value:t})=>`${y(e)}=${t}`}},
articleExpirationTime:f("article:expiration_time"),
articleModifiedTime:f("article:modified_time"),
articlePublishedTime:f("article:published_time"),
bookReleaseDate:f("book:release_date"),charset:{metaKey:"charset"},
contentSecurityPolicy:{unpack:{entrySeparator:"; ",
resolve:({key:e,value:t})=>`${y(e)} ${t}`},metaKey:"http-equiv"},contentType:{
metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},
fbAppId:f("fb:app_id"),msapplicationConfig:m("msapplication-Config"),
msapplicationTileColor:m("msapplication-TileColor"),
msapplicationTileImage:m("msapplication-TileImage"),
ogAudioSecureUrl:f("og:audio:secure_url"),ogAudioUrl:f("og:audio"),
ogImageSecureUrl:f("og:image:secure_url"),ogImageUrl:f("og:image"),
ogSiteName:f("og:site_name"),ogVideoSecureUrl:f("og:video:secure_url"),
ogVideoUrl:f("og:video"),profileFirstName:f("profile:first_name"),
profileLastName:f("profile:last_name"),profileUsername:f("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?`${y(e)}`:`${y(e)}:${t}`}},
xUaCompatible:{metaKey:"http-equiv"}
},v=new Set(["og","book","article","profile"]);function b(e){var t
;const n=y(e),r=n.indexOf(":")
;return v.has(n.substring(0,r))?"property":(null==(t=g[e])?void 0:t.metaKey)||"name"
}function y(e){
const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.indexOf("-"),r=t.substring(0,n)
;return"twitter"===r||v.has(r)?e.replace(/([A-Z])/g,":$1").toLowerCase():t}
function O(e){if(Array.isArray(e))return e.map((e=>O(e)))
;if("object"!=typeof e||Array.isArray(e))return e;const t={}
;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[y(n)]=O(e[n]))
;return t}function w(e,t){const n=g[t]
;return"refresh"===t?`${e.seconds};url=${e.url}`:h(O(e),{keyValueSeparator:"=",
entrySeparator:", ",
resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,
...null==n?void 0:n.unpack})}
const x=new Set(["og:image","og:video","og:audio","twitter:image"])
;function k(e){const t={};for(const n in e){
if(!Object.prototype.hasOwnProperty.call(e,n))continue;const r=e[n]
;"false"!==String(r)&&n&&(t[n]=r)}return t}function S(e,t){
const n=k(t),r=y(e),o=b(r);if(x.has(r)){const t={}
;for(const r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[`${e}${"url"===r?"":`${r[0].toUpperCase()}${r.slice(1)}`}`]=n[r])
;return _(t).sort(((e,t)=>{var n,r
;return((null==(n=e[o])?void 0:n.length)||0)-((null==(r=t[o])?void 0:r.length)||0)
}))}return[{[o]:r,...n}]}function _(e){const t=[],n={};for(const o in e){
if(!Object.prototype.hasOwnProperty.call(e,o))continue;const r=e[o]
;if(Array.isArray(r))for(const e of r)t.push(..."string"==typeof e?_({[o]:e
}):S(o,e));else if("object"==typeof r&&r){if(x.has(y(o))){t.push(...S(o,r))
;continue}n[o]=k(r)}else n[o]=r}const r=p(n,{key:({key:e})=>b(e),
value:({key:e})=>"charset"===e?"charset":"content",
resolveKeyData:({key:e})=>function(e){var t
;return(null==(t=g[e])?void 0:t.keyValue)||y(e)}(e),
resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?w(e,t):"number"==typeof e?e.toString():e
});return[...t,...r].map((e=>("_null"===e.content&&(e.content=null),e)))}
function E(e,t,n,r){
const a=r||A("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((r=>E(e,t,n,r)));const i={tag:e,props:a}
;for(const s of l){const e=void 0!==i.props[s]?i.props[s]:n[s]
;void 0!==e&&(("innerHTML"!==s&&"textContent"!==s&&"children"!==s||o.has(i.tag))&&(i["children"===s?"innerHTML":s]=e),
delete i.props[s])}
return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),
"script"===i.tag&&"object"==typeof i.innerHTML&&(i.innerHTML=JSON.stringify(i.innerHTML),
i.props.type=i.props.type||"application/json"),
Array.isArray(i.props.content)?i.props.content.map((e=>({...i,props:{...i.props,
content:e}}))):i}function T(e,t){var n;const r="class"===e?" ":";"
;return t&&"object"==typeof t&&!Array.isArray(t)&&(t=Object.entries(t).filter((([,e])=>e)).map((([t,n])=>"style"===e?`${t}:${n}`:t))),
null==(n=String(Array.isArray(t)?t.join(r):t))?void 0:n.split(r).filter((e=>Boolean(e.trim()))).join(r)
}function C(e,t,n,r){for(let o=r;o<n.length;o+=1){const r=n[o]
;if("class"!==r&&"style"!==r){
if(e[r]instanceof Promise)return e[r].then((a=>(e[r]=a,C(e,t,n,o))))
;if(!t&&!l.has(r)){const t=String(e[r]),n=r.startsWith("data-")
;"true"===t||""===t?e[r]=!n||"true":e[r]||(n&&"false"===t?e[r]="false":delete e[r])
}}else e[r]=T(r,e[r])}}function A(e,t=!1){const n=C(e,t,Object.keys(e),0)
;return n instanceof Promise?n.then((()=>e)):e}const P=10;function D(e,t,n){
for(let r=n;r<t.length;r+=1){const n=t[r]
;if(n instanceof Promise)return n.then((n=>(t[r]=n,D(e,t,r))))
;Array.isArray(n)?e.push(...n):e.push(n)}}function R(e){
const t=[],n=e.resolvedInput;for(const s in n){
if(!Object.prototype.hasOwnProperty.call(n,s))continue;const r=n[s]
;if(void 0!==r&&i.has(s))if(Array.isArray(r))for(const n of r)t.push(E(s,n,e));else t.push(E(s,r,e))
}if(0===t.length)return[];const r=[]
;return o=D(r,t,0),a=()=>r.map(((t,n)=>(t._e=e._i,
e.mode&&(t._m=e.mode),t._p=(e._i<<P)+n,t))),o instanceof Promise?o.then(a):a(o)
;var o,a}
const $=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),N={
base:-10,title:10},M={critical:-80,high:-10,low:20};function I(e){
const t=e.tagPriority;if("number"==typeof t)return t;let n=100
;return"meta"===e.tag?"content-security-policy"===e.props["http-equiv"]?n=-30:e.props.charset?n=-20:"viewport"===e.props.name&&(n=-15):"link"===e.tag&&"preconnect"===e.props.rel?n=20:e.tag in N&&(n=N[e.tag]),
t&&t in M?n+M[t]:n}const L=[{prefix:"before:",offset:-1},{prefix:"after:",
offset:1}],j=["name","property","http-equiv"];function B(e){
const{props:t,tag:n}=e;if(s.has(n))return n
;if("link"===n&&"canonical"===t.rel)return"canonical"
;if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`
;for(const r of j)if(void 0!==t[r])return`${n}:${r}:${t[r]}`;return!1}
const U="%separator";const Q=new RegExp(`${U}(?:\\s*${U})*`,"g")
;function F(e,t,n,r=!1){if("string"!=typeof e||!e.includes("%"))return e;let o=e
;try{o=decodeURI(e)}catch{}const a=o.match(/%\w+(?:\.\w+)?/g);if(!a)return e
;const i=e.includes(U);return e=e.replace(/%\w+(?:\.\w+)?/g,(e=>{
if(e===U||!a.includes(e))return e;const n=function(e,t,n=!1){var r;let o
;if("s"===t||"pageTitle"===t)o=e.pageTitle;else if(t.includes(".")){
const n=t.indexOf(".")
;o=null==(r=e[t.substring(0,n)])?void 0:r[t.substring(n+1)]}else o=e[t]
;if(void 0!==o)return n?(o||"").replace(/"/g,'\\"'):o||""}(t,e.slice(1),r)
;return void 0!==n?n:e
})).trim(),i&&(e.endsWith(U)&&(e=e.slice(0,-10)),e.startsWith(U)&&(e=e.slice(10)),
e=e.replace(Q,n).trim()),e}function z(e,t){
return null==e?t||null:"function"==typeof e?e(t):e}function q(e,t={}){
const n=t.delayFn||(e=>setTimeout(e,10))
;return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise((r=>n((()=>async function(e,t={}){
const n=t.document||e.resolvedOptions.document;if(!n||!e.dirty)return;const r={
shouldRender:!0,tags:[]}
;return await e.hooks.callHook("dom:beforeRender",r),r.shouldRender?(e._domUpdatePromise||(e._domUpdatePromise=new Promise((async t=>{
var r;const o=(await e.resolveTags()).map((e=>({tag:e,
id:a.has(e.tag)?d(e):e.tag,shouldRender:!0})));let i=e._dom;if(!i){i={elMap:{
htmlAttrs:n.documentElement,bodyAttrs:n.body}};const e=new Set
;for(const t of["body","head"]){const o=null==(r=n[t])?void 0:r.children
;for(const t of o){const n=t.tagName.toLowerCase();if(!a.has(n))continue
;const r={tag:n,props:await A(t.getAttributeNames().reduce(((e,n)=>({...e,
[n]:t.getAttribute(n)})),{})),innerHTML:t.innerHTML},o=B(r);let s=o,l=1
;for(;s&&e.has(s);)s=`${o}:${l++}`
;s&&(r._d=s,e.add(s)),i.elMap[t.getAttribute("data-hid")||d(r)]=t}}}
function s(e,t,n){const r=`${e}:${t}`
;i.sideEffects[r]=n,delete i.pendingSideEffects[r]}
function l({id:e,$el:t,tag:r}){const o=r.tag.endsWith("Attrs")
;if(i.elMap[e]=t,o||(r.textContent&&r.textContent!==t.textContent&&(t.textContent=r.textContent),
r.innerHTML&&r.innerHTML!==t.innerHTML&&(t.innerHTML=r.innerHTML),
s(e,"el",(()=>{var t;null==(t=i.elMap[e])||t.remove(),delete i.elMap[e]
}))),r._eventHandlers)for(const a in r._eventHandlers)Object.prototype.hasOwnProperty.call(r._eventHandlers,a)&&""!==t.getAttribute(`data-${a}`)&&(("bodyAttrs"===r.tag?n.defaultView:t).addEventListener(a.substring(2),r._eventHandlers[a].bind(t)),
t.setAttribute(`data-${a}`,""));for(const n in r.props){
if(!Object.prototype.hasOwnProperty.call(r.props,n))continue
;const a=r.props[n],i=`attr:${n}`;if("class"===n){if(!a)continue
;for(const n of a.split(" "))o&&s(e,`${i}:${n}`,(()=>t.classList.remove(n))),
!t.classList.contains(n)&&t.classList.add(n)}else if("style"===n){if(!a)continue
;for(const n of a.split(";")){
const r=n.indexOf(":"),o=n.substring(0,r).trim(),a=n.substring(r+1).trim()
;s(e,`${i}:${o}`,(()=>{t.style.removeProperty(o)})),t.style.setProperty(o,a)}
}else t.getAttribute(n)!==a&&t.setAttribute(n,!0===a?"":String(a)),
o&&s(e,i,(()=>t.removeAttribute(n)))}}i.pendingSideEffects={...i.sideEffects
},i.sideEffects={};const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0}
;for(const e of o){const{tag:t,shouldRender:r,id:o}=e
;r&&("title"!==t.tag?(e.$el=e.$el||i.elMap[o],
e.$el?l(e):a.has(t.tag)&&c.push(e)):n.title=t.textContent)}for(const e of c){
const t=e.tag.tagPosition||"head"
;e.$el=n.createElement(e.tag.tag),l(e),u[t]=u[t]||n.createDocumentFragment(),
u[t].appendChild(e.$el)}
for(const a of o)await e.hooks.callHook("dom:renderTag",a,n,s)
;u.head&&n.head.appendChild(u.head),
u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),
u.bodyClose&&n.body.appendChild(u.bodyClose)
;for(const e in i.pendingSideEffects)i.pendingSideEffects[e]()
;e._dom=i,await e.hooks.callHook("dom:rendered",{renders:o}),t()
})).finally((()=>{e._domUpdatePromise=void 0,e.dirty=!1
}))),e._domUpdatePromise):void 0}(e,t).then((()=>{
delete e._domDebouncedUpdatePromise,r()}))))))}function H(e){return t=>{var n,r
;const o=(null==(r=null==(n=t.resolvedOptions.document)?void 0:n.head.querySelector('script[id="unhead:payload"]'))?void 0:r.innerHTML)||!1
;return o&&t.push(JSON.parse(o)),{mode:"client",hooks:{"entries:updated":t=>{
q(t,e)}}}}}function V(e,t={},n){for(const r in e){const o=e[r],a=n?`${n}:${r}`:r
;"object"==typeof o&&null!==o?V(o,t,a):"function"==typeof o&&(t[a]=o)}return t}
const Z={run:e=>e()},W=void 0!==console.createTask?console.createTask:()=>Z
;function X(e,t){const n=t.shift(),r=W(n)
;return e.reduce(((e,n)=>e.then((()=>r.run((()=>n(...t)))))),Promise.resolve())}
function G(e,t){const n=t.shift(),r=W(n)
;return Promise.all(e.map((e=>r.run((()=>e(...t))))))}function Y(e,t){
for(const n of[...e])n(t)}class K{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,n={}){
if(!e||"function"!=typeof t)return()=>{};const r=e;let o
;for(;this._deprecatedHooks[e];)o=this._deprecatedHooks[e],e=o.to
;if(o&&!n.allowDeprecated){let e=o.message
;e||(e=`${r} hook has been deprecated`+(o.to?`, please use ${o.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 n,r=(...e)=>("function"==typeof n&&n(),n=void 0,r=void 0,t(...e))
;return n=this.hook(e,r),n}removeHook(e,t){if(this._hooks[e]){
const n=this._hooks[e].indexOf(t)
;-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]
}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t
;const n=this._hooks[e]||[];delete this._hooks[e]
;for(const r of n)this.hook(e,r)}deprecateHooks(e){
Object.assign(this._deprecatedHooks,e)
;for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){
const t=V(e),n=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{
for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=V(e)
;for(const n in t)this.removeHook(n,t[n])}removeAllHooks(){
for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){
return t.unshift(e),this.callHookWith(X,e,...t)}callHookParallel(e,...t){
return t.unshift(e),this.callHookWith(G,e,...t)}callHookWith(e,t,...n){
const r=this._before||this._after?{name:t,args:n,context:{}}:void 0
;this._before&&Y(this._before,r)
;const o=e(t in this._hooks?[...this._hooks[t]]:[],n)
;return o instanceof Promise?o.finally((()=>{this._after&&r&&Y(this._after,r)
})):(this._after&&r&&Y(this._after,r),o)}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 J=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ee={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=B(e)
;!t||t.startsWith("meta:og:")||t.startsWith("meta:twitter:")||delete e.key
;const n=t||!!e.key&&`${e.tag}:${e.key}`;n&&(e._d=n)},"tags:resolve":e=>{
const t=Object.create(null);for(const r of e.tags){
const e=(r.key?`${r.tag}:${r.key}`:r._d)||d(r),n=t[e];if(n){
let o=null==r?void 0:r.tagDuplicateStrategy
;if(!o&&J.has(r.tag)&&(o="merge"),"merge"===o){const o=n.props
;o.style&&r.props.style&&(";"!==o.style[o.style.length-1]&&(o.style+=";"),
r.props.style=`${o.style} ${r.props.style}`),
o.class&&r.props.class?r.props.class=`${o.class} ${r.props.class}`:o.class&&(r.props.class=o.class),
t[e].props={...o,...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(I(r)>I(n))continue}
r.innerHTML||r.textContent||0!==Object.keys(r.props).length||!a.has(r.tag)?t[e]=r:delete t[e]
}const n=[];for(const r in t){const e=t[r],o=e._duped
;n.push(e),o&&(delete e._duped,n.push(...o))}
e.tags=n,e.tags=e.tags.filter((e=>!("meta"===e.tag&&(e.props.name||e.props.property)&&!e.props.content)))
}}},te=new Set(["script","link","bodyAttrs"]),ne=e=>({hooks:{"tags:resolve":t=>{
for(const n of t.tags){if(!te.has(n.tag))continue;const t=n.props
;for(const r in t){if("o"!==r[0]||"n"!==r[1])continue
;if(!Object.prototype.hasOwnProperty.call(t,r))continue;const o=t[r]
;"function"==typeof o&&(e.ssr&&$.has(r)?t[r]=`this.dataset.${r}fired = true`:delete t[r],
n._eventHandlers=n._eventHandlers||{},n._eventHandlers[r]=o)}
e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||u(n.props.src||n.props.href))
}},"dom:renderTag":({$el:e,tag:t})=>{var n,r;const o=null==e?void 0:e.dataset
;if(o)for(const a in o){if(!a.endsWith("fired"))continue;const o=a.slice(0,-5)
;$.has(o)&&(null==(r=null==(n=t._eventHandlers)?void 0:n[o])||r.call(e,new Event(o.substring(2))))
}}}}),re=new Set(["link","style","script","noscript"]),oe={hooks:{
"tag:normalise":({tag:e})=>{
e.key&&re.has(e.tag)&&(e.props["data-hid"]=e._h=u(e.key))}}},ae={mode:"server",
hooks:{"tags:beforeResolve":e=>{const t={};let n=!1
;for(const r of e.tags)"server"!==r._m||"titleTemplate"!==r.tag&&"templateParams"!==r.tag&&"title"!==r.tag||(t[r.tag]="title"===r.tag||"titleTemplate"===r.tag?r.textContent:r.props,
n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{
id:"unhead:payload",type:"application/json"}})}}},ie={hooks:{"tags:resolve":e=>{
var t
;for(const n of e.tags)if("string"==typeof n.tagPriority)for(const{prefix:r,offset:o}of L){
if(!n.tagPriority.startsWith(r))continue
;const a=n.tagPriority.substring(r.length),i=null==(t=e.tags.find((e=>e._d===a)))?void 0:t._p
;if(void 0!==i){n._p=i+o;break}}e.tags.sort(((e,t)=>{const n=I(e),r=I(t)
;return n<r?-1:n>r?1:e._p-t._p}))}}},se={meta:"content",link:"href",
htmlAttrs:"lang"},le=["innerHTML","textContent"],ce=e=>({hooks:{
"tags:resolve":t=>{var n;const{tags:r}=t;let o;for(let e=0;e<r.length;e+=1){
"templateParams"===r[e].tag&&(o=t.tags.splice(e,1)[0].props,e-=1)}
const a=o||{},i=a.separator||"|"
;delete a.separator,a.pageTitle=F(a.pageTitle||(null==(n=r.find((e=>"title"===e.tag)))?void 0:n.textContent)||"",a,i)
;for(const e of r){if(!1===e.processTemplateParams)continue;const t=se[e.tag]
;if(t&&"string"==typeof e.props[t])e.props[t]=F(e.props[t],a,i);else if(e.processTemplateParams||"titleTemplate"===e.tag||"title"===e.tag)for(const n of le)"string"==typeof e[n]&&(e[n]=F(e[n],a,i,"script"===e.tag&&e.props.type.endsWith("json")))
}e._templateParams=a,e._separator=i},"tags:afterResolve":({tags:t})=>{let n
;for(let e=0;e<t.length;e+=1){const r=t[e]
;"title"===r.tag&&!1!==r.processTemplateParams&&(n=r)}
(null==n?void 0:n.textContent)&&(n.textContent=F(n.textContent,e._templateParams,e._separator))
}}}),ue={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r
;for(let o=0;o<t.length;o+=1){const e=t[o]
;"title"===e.tag?n=e:"titleTemplate"===e.tag&&(r=e)}if(r&&n){
const t=z(r.textContent,n.textContent)
;null!==t?n.textContent=t||n.textContent:e.tags.splice(e.tags.indexOf(n),1)
}else if(r){const e=z(r.textContent)
;null!==e&&(r.textContent=e,r.tag="title",r=void 0)}
r&&e.tags.splice(e.tags.indexOf(r),1)}}},de={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 pe;function he(e={}){const t=function(e={}){const t=new K
;t.addHooks(e.hooks||{}),e.document=e.document||(c?document:void 0)
;const n=!e.document,r=()=>{s.dirty=!0,t.callHook("entries:updated",s)}
;let o=0,a=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,
headEntries:()=>a,use(e){const r="function"==typeof e?e(s):e
;r.key&&i.some((e=>e.key===r.key))||(i.push(r),
fe(r.mode,n)&&t.addHooks(r.hooks||{}))},push(e,t){null==t||delete t.head
;const i={_i:o++,input:e,...t};return fe(i.mode,n)&&(a.push(i),r()),{dispose(){
a=a.filter((e=>e._i!==i._i)),r()},patch(e){
for(const t of a)t._i===i._i&&(t.input=i.input=e);r()}}},async resolveTags(){
const e={tags:[],entries:[...a]};await t.callHook("entries:resolve",e)
;for(const n of e.entries){const r=n.resolvedInput||n.input
;if(n.resolvedInput=await(n.transform?n.transform(r):r),
n.resolvedInput)for(const o of await R(n)){const r={tag:o,entry:n,
resolvedOptions:s.resolvedOptions}
;await t.callHook("tag:normalise",r),e.tags.push(r.tag)}}
return await t.callHook("tags:beforeResolve",e),
await t.callHook("tags:resolve",e),
await t.callHook("tags:afterResolve",e),e.tags},ssr:n}
;return[ee,ae,ne,oe,ie,ce,ue,de,...(null==e?void 0:e.plugins)||[]].forEach((e=>s.use(e))),
s.hooks.callHook("init",s),s}(e);return t.use(H()),pe=t}function fe(e,t){
return!e||"server"===e&&t||"client"===e&&!t}
/**
  * @vue/shared v3.5.12
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
  * @license MIT
  **/
/*! #__NO_SIDE_EFFECTS__ */
function me(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1
;return e=>e in t}
const ge={},ve=[],be=()=>{},ye=()=>!1,Oe=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),we=e=>e.startsWith("onUpdate:"),xe=Object.assign,ke=(e,t)=>{
const n=e.indexOf(t);n>-1&&e.splice(n,1)
},Se=Object.prototype.hasOwnProperty,_e=(e,t)=>Se.call(e,t),Ee=Array.isArray,Te=e=>"[object Map]"===Ie(e),Ce=e=>"[object Set]"===Ie(e),Ae=e=>"[object Date]"===Ie(e),Pe=e=>"function"==typeof e,De=e=>"string"==typeof e,Re=e=>"symbol"==typeof e,$e=e=>null!==e&&"object"==typeof e,Ne=e=>($e(e)||Pe(e))&&Pe(e.then)&&Pe(e.catch),Me=Object.prototype.toString,Ie=e=>Me.call(e),Le=e=>Ie(e).slice(8,-1),je=e=>"[object Object]"===Ie(e),Be=e=>De(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Ue=me(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Qe=e=>{
const t=Object.create(null);return n=>t[n]||(t[n]=e(n))
},Fe=/-(\w)/g,ze=Qe((e=>e.replace(Fe,((e,t)=>t?t.toUpperCase():"")))),qe=/\B([A-Z])/g,He=Qe((e=>e.replace(qe,"-$1").toLowerCase())),Ve=Qe((e=>e.charAt(0).toUpperCase()+e.slice(1))),Ze=Qe((e=>e?`on${Ve(e)}`:"")),We=(e,t)=>!Object.is(e,t),Xe=(e,...t)=>{
for(let n=0;n<e.length;n++)e[n](...t)},Ge=(e,t,n,r=!1)=>{
Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})
},Ye=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ke=e=>{
const t=De(e)?Number(e):NaN;return isNaN(t)?e:t};let Je
;const et=()=>Je||(Je="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{})
;function tt(e){if(Ee(e)){const t={};for(let n=0;n<e.length;n++){
const r=e[n],o=De(r)?at(r):tt(r);if(o)for(const e in o)t[e]=o[e]}return t}
if(De(e)||$e(e))return e}
const nt=/;(?![^(]*\))/g,rt=/:([^]+)/,ot=/\/\*[^]*?\*\//g;function at(e){
const t={};return e.replace(ot,"").split(nt).forEach((e=>{if(e){
const n=e.split(rt);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}
function it(e){let t="";if(De(e))t=e;else if(Ee(e))for(let n=0;n<e.length;n++){
const r=it(e[n]);r&&(t+=r+" ")}else if($e(e))for(const n in e)e[n]&&(t+=n+" ")
;return t.trim()}function st(e){if(!e)return null;let{class:t,style:n}=e
;return t&&!De(t)&&(e.class=it(t)),n&&(e.style=tt(n)),e}
const lt=me("itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly")
;function ct(e){return!!e||""===e}function ut(e,t){if(e===t)return!0
;let n=Ae(e),r=Ae(t);if(n||r)return!(!n||!r)&&e.getTime()===t.getTime()
;if(n=Re(e),r=Re(t),n||r)return e===t
;if(n=Ee(e),r=Ee(t),n||r)return!(!n||!r)&&function(e,t){
if(e.length!==t.length)return!1;let n=!0
;for(let r=0;n&&r<e.length;r++)n=ut(e[r],t[r]);return n}(e,t)
;if(n=$e(e),r=$e(t),n||r){if(!n||!r)return!1
;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){
const r=e.hasOwnProperty(n),o=t.hasOwnProperty(n)
;if(r&&!o||!r&&o||!ut(e[n],t[n]))return!1}}return String(e)===String(t)}
function dt(e,t){return e.findIndex((e=>ut(e,t)))}
const pt=e=>!(!e||!0!==e.__v_isRef),ht=e=>De(e)?e:null==e?"":Ee(e)||$e(e)&&(e.toString===Me||!Pe(e.toString))?pt(e)?ht(e.value):JSON.stringify(e,ft,2):String(e),ft=(e,t)=>pt(t)?ft(e,t.value):Te(t)?{
[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[mt(t,r)+" =>"]=n,
e)),{})}:Ce(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>mt(e)))
}:Re(t)?mt(t):!$e(t)||Ee(t)||je(t)?t:String(t),mt=(e,t="")=>{var n
;return Re(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};
/**
  * @vue/reactivity v3.5.12
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
  * @license MIT
  **/
let gt,vt;class bt{constructor(e=!1){
this.detached=e,this._active=!0,this.effects=[],
this.cleanups=[],this._isPaused=!1,
this.parent=gt,!e&&gt&&(this.index=(gt.scopes||(gt.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=gt;try{return gt=this,e()}finally{gt=t}}}on(){gt=this}
off(){gt=this.parent}stop(e){if(this._active){let t,n
;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop()
;for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]()
;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!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,this._active=!1}}}function yt(){return gt}
function Ot(e,t=!1){gt&&gt.cleanups.push(e)}const wt=new WeakSet;class xt{
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,gt&&gt.active&&gt.effects.push(this)}
pause(){this.flags|=64}resume(){
64&this.flags&&(this.flags&=-65,wt.has(this)&&(wt.delete(this),this.trigger()))}
notify(){2&this.flags&&!(32&this.flags)||8&this.flags||Et(this)}run(){
if(!(1&this.flags))return this.fn();this.flags|=2,Bt(this),At(this)
;const e=vt,t=Mt;vt=this,Mt=!0;try{return this.fn()}finally{
Pt(this),vt=e,Mt=t,this.flags&=-3}}stop(){if(1&this.flags){
for(let e=this.deps;e;e=e.nextDep)$t(e);this.deps=this.depsTail=void 0,Bt(this),
this.onStop&&this.onStop(),this.flags&=-2}}trigger(){
64&this.flags?wt.add(this):this.scheduler?this.scheduler():this.runIfDirty()}
runIfDirty(){Dt(this)&&this.run()}get dirty(){return Dt(this)}}let kt,St,_t=0
;function Et(e,t=!1){if(e.flags|=8,t)return e.next=St,void(St=e);e.next=kt,kt=e}
function Tt(){_t++}function Ct(){if(--_t>0)return;if(St){let e=St
;for(St=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e
;for(;kt;){let n=kt;for(kt=void 0;n;){const r=n.next
;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=r}}
if(e)throw e}function At(e){
for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,
t.dep.activeLink=t}function Pt(e){let t,n=e.depsTail,r=n;for(;r;){
const e=r.prevDep
;-1===r.version?(r===n&&(n=e),$t(r),Nt(r)):t=r,r.dep.activeLink=r.prevActiveLink,
r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Dt(e){
for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Rt(t.dep.computed)||t.dep.version!==t.version))return!0
;return!!e._dirty}function Rt(e){if(4&e.flags&&!(16&e.flags))return
;if(e.flags&=-17,e.globalVersion===Ut)return;e.globalVersion=Ut;const t=e.dep
;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Dt(e))return void(e.flags&=-3)
;const n=vt,r=Mt;vt=e,Mt=!0;try{At(e);const n=e.fn(e._value)
;(0===t.version||We(n,e._value))&&(e._value=n,t.version++)}catch(o){
throw t.version++,o}finally{vt=n,Mt=r,Pt(e),e.flags&=-3}}function $t(e,t=!1){
const{dep:n,prevSub:r,nextSub:o}=e
;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,
e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5
;for(let e=n.computed.deps;e;e=e.nextDep)$t(e,!0)}
t||--n.sc||!n.map||n.map.delete(n.key)}function Nt(e){
const{prevDep:t,nextDep:n}=e
;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Mt=!0
;const It=[];function Lt(){It.push(Mt),Mt=!1}function jt(){const e=It.pop()
;Mt=void 0===e||e}function Bt(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){
const e=vt;vt=void 0;try{t()}finally{vt=e}}}let Ut=0;class Qt{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 Ft{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}track(e){
if(!vt||!Mt||vt===this.computed)return;let t=this.activeLink
;if(void 0===t||t.sub!==vt)t=this.activeLink=new Qt(vt,this),
vt.deps?(t.prevDep=vt.depsTail,
vt.depsTail.nextDep=t,vt.depsTail=t):vt.deps=vt.depsTail=t,
zt(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=vt.depsTail,
t.nextDep=void 0,vt.depsTail.nextDep=t,vt.depsTail=t,vt.deps===t&&(vt.deps=e)}
return t}trigger(e){this.version++,Ut++,this.notify(e)}notify(e){Tt();try{0
;for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{
Ct()}}}function zt(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)zt(e)}
const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}
const qt=new WeakMap,Ht=Symbol(""),Vt=Symbol(""),Zt=Symbol("")
;function Wt(e,t,n){if(Mt&&vt){let t=qt.get(e);t||qt.set(e,t=new Map)
;let r=t.get(n);r||(t.set(n,r=new Ft),r.map=t,r.key=n),r.track()}}
function Xt(e,t,n,r,o,a){const i=qt.get(e);if(!i)return void Ut++;const s=e=>{
e&&e.trigger()};if(Tt(),"clear"===t)i.forEach(s);else{const o=Ee(e),a=o&&Be(n)
;if(o&&"length"===n){const e=Number(r);i.forEach(((t,n)=>{
("length"===n||n===Zt||!Re(n)&&n>=e)&&s(t)}))
}else switch((void 0!==n||i.has(void 0))&&s(i.get(n)),a&&s(i.get(Zt)),t){
case"add":o?a&&s(i.get("length")):(s(i.get(Ht)),Te(e)&&s(i.get(Vt)));break
;case"delete":o||(s(i.get(Ht)),Te(e)&&s(i.get(Vt)));break;case"set":
Te(e)&&s(i.get(Ht))}}Ct()}function Gt(e){const t=jn(e)
;return t===e?t:(Wt(t,0,Zt),In(e)?t:t.map(Bn))}function Yt(e){
return Wt(e=jn(e),0,Zt),e}const Kt={__proto__:null,[Symbol.iterator](){
return Jt(this,Symbol.iterator,Bn)},concat(...e){
return Gt(this).concat(...e.map((e=>Ee(e)?Gt(e):e)))},entries(){
return Jt(this,"entries",(e=>(e[1]=Bn(e[1]),e)))},every(e,t){
return tn(this,"every",e,t,void 0,arguments)},filter(e,t){
return tn(this,"filter",e,t,(e=>e.map(Bn)),arguments)},find(e,t){
return tn(this,"find",e,t,Bn,arguments)},findIndex(e,t){
return tn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){
return tn(this,"findLast",e,t,Bn,arguments)},findLastIndex(e,t){
return tn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){
return tn(this,"forEach",e,t,void 0,arguments)},includes(...e){
return rn(this,"includes",e)},indexOf(...e){return rn(this,"indexOf",e)},
join(e){return Gt(this).join(e)},lastIndexOf(...e){
return rn(this,"lastIndexOf",e)},map(e,t){
return tn(this,"map",e,t,void 0,arguments)},pop(){return on(this,"pop")},
push(...e){return on(this,"push",e)},reduce(e,...t){return nn(this,"reduce",e,t)
},reduceRight(e,...t){return nn(this,"reduceRight",e,t)},shift(){
return on(this,"shift")},some(e,t){return tn(this,"some",e,t,void 0,arguments)},
splice(...e){return on(this,"splice",e)},toReversed(){
return Gt(this).toReversed()},toSorted(e){return Gt(this).toSorted(e)},
toSpliced(...e){return Gt(this).toSpliced(...e)},unshift(...e){
return on(this,"unshift",e)},values(){return Jt(this,"values",Bn)}}
;function Jt(e,t,n){const r=Yt(e),o=r[t]();return r===e||In(e)||(o._next=o.next,
o.next=()=>{const e=o._next();return e.value&&(e.value=n(e.value)),e}),o}
const en=Array.prototype;function tn(e,t,n,r,o,a){
const i=Yt(e),s=i!==e&&!In(e),l=i[t];if(l!==en[t]){const t=l.apply(e,a)
;return s?Bn(t):t}let c=n;i!==e&&(s?c=function(t,r){
return n.call(this,Bn(t),r,e)}:n.length>2&&(c=function(t,r){
return n.call(this,t,r,e)}));const u=l.call(i,c,r);return s&&o?o(u):u}
function nn(e,t,n,r){const o=Yt(e);let a=n
;return o!==e&&(In(e)?n.length>3&&(a=function(t,r,o){return n.call(this,t,r,o,e)
}):a=function(t,r,o){return n.call(this,t,Bn(r),o,e)}),o[t](a,...r)}
function rn(e,t,n){const r=jn(e);Wt(r,0,Zt);const o=r[t](...n)
;return-1!==o&&!1!==o||!Ln(n[0])?o:(n[0]=jn(n[0]),r[t](...n))}
function on(e,t,n=[]){Lt(),Tt();const r=jn(e)[t].apply(e,n);return Ct(),jt(),r}
const an=me("__proto__,__v_isRef,__isVue"),sn=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(Re))
;function ln(e){Re(e)||(e=String(e));const t=jn(this)
;return Wt(t,0,e),t.hasOwnProperty(e)}class cn{constructor(e=!1,t=!1){
this._isReadonly=e,this._isShallow=t}get(e,t,n){
const r=this._isReadonly,o=this._isShallow;if("__v_isReactive"===t)return!r
;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return o
;if("__v_raw"===t)return n===(r?o?Cn:Tn:o?En:_n).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0
;const a=Ee(e);if(!r){let e;if(a&&(e=Kt[t]))return e
;if("hasOwnProperty"===t)return ln}const i=Reflect.get(e,t,Qn(e)?e:n)
;return(Re(t)?sn.has(t):an(t))?i:(r||Wt(e,0,t),
o?i:Qn(i)?a&&Be(t)?i:i.value:$e(i)?r?Dn(i):An(i):i)}}class un extends cn{
constructor(e=!1){super(!1,e)}set(e,t,n,r){let o=e[t];if(!this._isShallow){
const t=Mn(o)
;if(In(n)||Mn(n)||(o=jn(o),n=jn(n)),!Ee(e)&&Qn(o)&&!Qn(n))return!t&&(o.value=n,
!0)}
const a=Ee(e)&&Be(t)?Number(t)<e.length:_e(e,t),i=Reflect.set(e,t,n,Qn(e)?e:r)
;return e===jn(r)&&(a?We(n,o)&&Xt(e,"set",t,n):Xt(e,"add",t,n)),i}
deleteProperty(e,t){const n=_e(e,t);e[t];const r=Reflect.deleteProperty(e,t)
;return r&&n&&Xt(e,"delete",t,void 0),r}has(e,t){const n=Reflect.has(e,t)
;return Re(t)&&sn.has(t)||Wt(e,0,t),n}ownKeys(e){
return Wt(e,0,Ee(e)?"length":Ht),Reflect.ownKeys(e)}}class dn extends cn{
constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}}
const pn=new un,hn=new dn,fn=new un(!0),mn=new dn(!0),gn=e=>e,vn=e=>Reflect.getPrototypeOf(e)
;function bn(e){return function(...t){
return"delete"!==e&&("clear"===e?void 0:this)}}function yn(e,t){const n={get(n){
const r=this.__v_raw,o=jn(r),a=jn(n);e||(We(n,a)&&Wt(o,0,n),Wt(o,0,a))
;const{has:i}=vn(o),s=t?gn:e?Un:Bn
;return i.call(o,n)?s(r.get(n)):i.call(o,a)?s(r.get(a)):void(r!==o&&r.get(n))},
get size(){const t=this.__v_raw;return!e&&Wt(jn(t),0,Ht),Reflect.get(t,"size",t)
},has(t){const n=this.__v_raw,r=jn(n),o=jn(t)
;return e||(We(t,o)&&Wt(r,0,t),Wt(r,0,o)),t===o?n.has(t):n.has(t)||n.has(o)},
forEach(n,r){const o=this,a=o.__v_raw,i=jn(a),s=t?gn:e?Un:Bn
;return!e&&Wt(i,0,Ht),a.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}};xe(n,e?{
add:bn("add"),set:bn("set"),delete:bn("delete"),clear:bn("clear")}:{add(e){
t||In(e)||Mn(e)||(e=jn(e));const n=jn(this)
;return vn(n).has.call(n,e)||(n.add(e),Xt(n,"add",e,e)),this},set(e,n){
t||In(n)||Mn(n)||(n=jn(n));const r=jn(this),{has:o,get:a}=vn(r)
;let i=o.call(r,e);i||(e=jn(e),i=o.call(r,e));const s=a.call(r,e)
;return r.set(e,n),i?We(n,s)&&Xt(r,"set",e,n):Xt(r,"add",e,n),this},delete(e){
const t=jn(this),{has:n,get:r}=vn(t);let o=n.call(t,e)
;o||(e=jn(e),o=n.call(t,e)),r&&r.call(t,e);const a=t.delete(e)
;return o&&Xt(t,"delete",e,void 0),a},clear(){
const e=jn(this),t=0!==e.size,n=e.clear();return t&&Xt(e,"clear",void 0,void 0),
n}});return["keys","values","entries",Symbol.iterator].forEach((r=>{
n[r]=function(e,t,n){return function(...r){
const o=this.__v_raw,a=jn(o),i=Te(a),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=o[e](...r),u=n?gn:t?Un:Bn
;return!t&&Wt(a,0,l?Vt:Ht),{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}}}}(r,e,t)})),n}function On(e,t){const n=yn(e,t)
;return(t,r,o)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(_e(n,r)&&r in t?n:t,r,o)
}const wn={get:On(!1,!1)},xn={get:On(!1,!0)},kn={get:On(!0,!1)},Sn={
get:On(!0,!0)},_n=new WeakMap,En=new WeakMap,Tn=new WeakMap,Cn=new WeakMap
;function An(e){return Mn(e)?e:$n(e,!1,pn,wn,_n)}function Pn(e){
return $n(e,!1,fn,xn,En)}function Dn(e){return $n(e,!0,hn,kn,Tn)}function Rn(e){
return $n(e,!0,mn,Sn,Cn)}function $n(e,t,n,r,o){if(!$e(e))return e
;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const a=o.get(e);if(a)return a
;const i=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){
case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":
case"WeakSet":return 2;default:return 0}}(Le(s));var s;if(0===i)return e
;const l=new Proxy(e,2===i?r:n);return o.set(e,l),l}function Nn(e){
return Mn(e)?Nn(e.__v_raw):!(!e||!e.__v_isReactive)}function Mn(e){
return!(!e||!e.__v_isReadonly)}function In(e){return!(!e||!e.__v_isShallow)}
function Ln(e){return!!e&&!!e.__v_raw}function jn(e){const t=e&&e.__v_raw
;return t?jn(t):e}const Bn=e=>$e(e)?An(e):e,Un=e=>$e(e)?Dn(e):e;function Qn(e){
return!!e&&!0===e.__v_isRef}function Fn(e){return qn(e,!1)}function zn(e){
return qn(e,!0)}function qn(e,t){return Qn(e)?e:new Hn(e,t)}class Hn{
constructor(e,t){
this.dep=new Ft,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:jn(e),
this._value=t?e:Bn(e),this.__v_isShallow=t}get value(){
return this.dep.track(),this._value}set value(e){
const t=this._rawValue,n=this.__v_isShallow||In(e)||Mn(e)
;e=n?e:jn(e),We(e,t)&&(this._rawValue=e,
this._value=n?e:Bn(e),this.dep.trigger())}}function Vn(e){return Qn(e)?e.value:e
}function Zn(e){return Pe(e)?e():Vn(e)}const Wn={
get:(e,t,n)=>"__v_raw"===t?e:Vn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t]
;return Qn(o)&&!Qn(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Xn(e){
return Nn(e)?e:new Proxy(e,Wn)}class Gn{constructor(e){
this.__v_isRef=!0,this._value=void 0
;const t=this.dep=new Ft,{get:n,set:r}=e(t.track.bind(t),t.trigger.bind(t))
;this._get=n,this._set=r}get value(){return this._value=this._get()}
set value(e){this._set(e)}}function Yn(e){return new Gn(e)}function Kn(e){
const t=Ee(e)?new Array(e.length):{};for(const n in e)t[n]=nr(e,n);return t}
class Jn{constructor(e,t,n){
this._object=e,this._key=t,this._defaultValue=n,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 n=qt.get(e)
;return n&&n.get(t)}(jn(this._object),this._key)}}class er{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 tr(e,t,n){
return Qn(e)?e:Pe(e)?new er(e):$e(e)&&arguments.length>1?nr(e,t,n):Fn(e)}
function nr(e,t,n){const r=e[t];return Qn(r)?r:new Jn(e,t,n)}class rr{
constructor(e,t,n){
this.fn=e,this.setter=t,this._value=void 0,this.dep=new Ft(this),
this.__v_isRef=!0,
this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ut-1,
this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){
if(this.flags|=16,!(8&this.flags)&&vt!==this)return Et(this,!0),!0}get value(){
const e=this.dep.track()
;return Rt(this),e&&(e.version=this.dep.version),this._value}set value(e){
this.setter&&this.setter(e)}}const or={},ar=new WeakMap;let ir
;function sr(e,t,n=ge){
const{immediate:r,deep:o,once:a,scheduler:i,augmentJob:s,call:l}=n,c=e=>o?e:In(e)||!1===o||0===o?lr(e,1):lr(e)
;let u,d,p,h,f=!1,m=!1
;if(Qn(e)?(d=()=>e.value,f=In(e)):Nn(e)?(d=()=>c(e),f=!0):Ee(e)?(m=!0,
f=e.some((e=>Nn(e)||In(e))),
d=()=>e.map((e=>Qn(e)?e.value:Nn(e)?c(e):Pe(e)?l?l(e,2):e():void 0))):d=Pe(e)?t?l?()=>l(e,2):e:()=>{
if(p){Lt();try{p()}finally{jt()}}const t=ir;ir=u;try{return l?l(e,3,[h]):e(h)
}finally{ir=t}}:be,t&&o){const e=d,t=!0===o?1/0:o;d=()=>lr(e(),t)}
const g=yt(),v=()=>{u.stop(),g&&ke(g.effects,u)};if(a&&t){const e=t;t=(...t)=>{
e(...t),v()}}let b=m?new Array(e.length).fill(or):or;const y=e=>{
if(1&u.flags&&(u.dirty||e))if(t){const e=u.run()
;if(o||f||(m?e.some(((e,t)=>We(e,b[t]))):We(e,b))){p&&p();const n=ir;ir=u;try{
const n=[e,b===or?void 0:m&&b[0]===or?[]:b,h];l?l(t,3,n):t(...n),b=e}finally{
ir=n}}}else u.run()}
;return s&&s(y),u=new xt(d),u.scheduler=i?()=>i(y,!1):y,h=e=>function(e,t=!1,n=ir){
if(n){let t=ar.get(n);t||ar.set(n,t=[]),t.push(e)}}(e,!1,u),p=u.onStop=()=>{
const e=ar.get(u);if(e){if(l)l(e,4);else for(const t of e)t();ar.delete(u)}
},t?r?y(!0):b=u.run():i?i(y.bind(null,!0),!0):u.run(),
v.pause=u.pause.bind(u),v.resume=u.resume.bind(u),v.stop=v,v}
function lr(e,t=1/0,n){if(t<=0||!$e(e)||e.__v_skip)return e
;if((n=n||new Set).has(e))return e
;if(n.add(e),t--,Qn(e))lr(e.value,t,n);else if(Ee(e))for(let r=0;r<e.length;r++)lr(e[r],t,n);else if(Ce(e)||Te(e))e.forEach((e=>{
lr(e,t,n)}));else if(je(e)){for(const r in e)lr(e[r],t,n)
;for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&lr(e[r],t,n)
}return e}
/**
  * @vue/runtime-core v3.5.12
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
  * @license MIT
  **/function cr(e,t,n,r){try{return r?e(...r):e()}catch(o){dr(o,t,n)}}
function ur(e,t,n,r){if(Pe(e)){const o=cr(e,t,n,r)
;return o&&Ne(o)&&o.catch((e=>{dr(e,t,n)})),o}if(Ee(e)){const o=[]
;for(let a=0;a<e.length;a++)o.push(ur(e[a],t,n,r));return o}}
function dr(e,t,n,r=!0){t&&t.vnode
;const{errorHandler:o,throwUnhandledErrorInProduction:a}=t&&t.appContext.config||ge
;if(t){let r=t.parent
;const a=t.proxy,i=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){
const t=r.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,a,i))return
;r=r.parent}if(o)return Lt(),cr(o,null,10,[e,a,i]),void jt()}
!function(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}(e,0,0,r,a)}const pr=[]
;let hr=-1;const fr=[];let mr=null,gr=0;const vr=Promise.resolve();let br=null
;function yr(e){const t=br||vr;return e?t.then(this?e.bind(this):e):t}
function Or(e){if(!(1&e.flags)){const t=Sr(e),n=pr[pr.length-1]
;!n||!(2&e.flags)&&t>=Sr(n)?pr.push(e):pr.splice(function(e){
let t=hr+1,n=pr.length;for(;t<n;){const r=t+n>>>1,o=pr[r],a=Sr(o)
;a<e||a===e&&2&o.flags?t=r+1:n=r}return t}(t),0,e),e.flags|=1,wr()}}
function wr(){br||(br=vr.then(_r))}function xr(e,t,n=hr+1){
for(;n<pr.length;n++){const t=pr[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue
;pr.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}
function kr(e){if(fr.length){const e=[...new Set(fr)].sort(((e,t)=>Sr(e)-Sr(t)))
;if(fr.length=0,mr)return void mr.push(...e);for(mr=e,gr=0;gr<mr.length;gr++){
const e=mr[gr];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}mr=null,gr=0}
}const Sr=e=>null==e.id?2&e.flags?-1:1/0:e.id;function _r(e){try{
for(hr=0;hr<pr.length;hr++){const e=pr[hr]
;!e||8&e.flags||(4&e.flags&&(e.flags&=-2),
cr(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;hr<pr.length;hr++){
const e=pr[hr];e&&(e.flags&=-2)}
hr=-1,pr.length=0,kr(),br=null,(pr.length||fr.length)&&_r()}}let Er=null,Tr=null
;function Cr(e){const t=Er;return Er=e,Tr=e&&e.type.__scopeId||null,t}
function Ar(e,t=Er,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{
r._d&&ni(-1);const o=Cr(t);let a;try{a=e(...n)}finally{Cr(o),r._d&&ni(1)}
return a};return r._n=!0,r._c=!0,r._d=!0,r}function Pr(e,t){
if(null===Er)return e;const n=Li(Er),r=e.dirs||(e.dirs=[])
;for(let o=0;o<t.length;o++){let[e,a,i,s=ge]=t[o];e&&(Pe(e)&&(e={mounted:e,
updated:e}),e.deep&&lr(a),r.push({dir:e,instance:n,value:a,oldValue:void 0,
arg:i,modifiers:s}))}return e}function Dr(e,t,n,r){const o=e.dirs,a=t&&t.dirs
;for(let i=0;i<o.length;i++){const s=o[i];a&&(s.oldValue=a[i].value)
;let l=s.dir[r];l&&(Lt(),ur(l,n,8,[e.el,s,e,t]),jt())}}
const Rr=Symbol("_vte"),$r=e=>e.__isTeleport,Nr=e=>e&&(e.disabled||""===e.disabled),Mr=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,Ir=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,Lr=(e,t)=>{
const n=e&&e.to;if(De(n)){if(t){return t(n)}return null}return n},jr={
name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,a,i,s,l,c){
const{mc:u,pc:d,pbc:p,o:{insert:h,querySelector:f,createText:m,createComment:g}}=c,v=Nr(t.props)
;let{shapeFlag:b,children:y,dynamicChildren:O}=t;if(null==e){
const e=t.el=m(""),c=t.anchor=m("");h(e,n,r),h(c,n,r);const d=(e,t)=>{
16&b&&(o&&o.isCE&&(o.ce._teleportTarget=e),u(y,e,t,o,a,i,s,l))},p=()=>{
const e=t.target=Lr(t.props,f),n=Fr(e,t,m,h)
;e&&("svg"!==i&&Mr(e)?i="svg":"mathml"!==i&&Ir(e)&&(i="mathml"),
v||(d(e,n),Qr(t,!1)))}
;v&&(d(n,c),Qr(t,!0)),(w=t.props)&&(w.defer||""===w.defer)?_a(p,a):p()}else{
t.el=e.el,t.targetStart=e.targetStart
;const r=t.anchor=e.anchor,u=t.target=e.target,h=t.targetAnchor=e.targetAnchor,m=Nr(e.props),g=m?n:u,b=m?r:h
;if("svg"===i||Mr(u)?i="svg":("mathml"===i||Ir(u))&&(i="mathml"),
O?(p(e.dynamicChildren,O,g,o,a,i,s),
Aa(e,t,!0)):l||d(e,t,g,b,o,a,i,s,!1),v)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Br(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){
const e=t.target=Lr(t.props,f);e&&Br(t,e,null,c,0)}else m&&Br(t,u,h,c,1);Qr(t,v)
}var w},remove(e,t,n,{um:r,o:{remove:o}},a){
const{shapeFlag:i,children:s,anchor:l,targetStart:c,targetAnchor:u,target:d,props:p}=e
;if(d&&(o(c),o(u)),a&&o(l),16&i){const e=a||!Nr(p);for(let o=0;o<s.length;o++){
const a=s[o];r(a,t,n,e,!!a.dynamicChildren)}}},move:Br,
hydrate:function(e,t,n,r,o,a,{o:{nextSibling:i,parentNode:s,querySelector:l,insert:c,createText:u}},d){
const p=t.target=Lr(t.props,l);if(p){const l=Nr(t.props),h=p._lpa||p.firstChild
;if(16&t.shapeFlag)if(l)t.anchor=d(i(e),t,s(e),n,r,o,a),
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||Fr(p,t,u,c),d(h&&i(h),t,p,n,r,o,a)}Qr(t,l)}
return t.anchor&&i(t.anchor)}};function Br(e,t,n,{o:{insert:r},m:o},a=2){
0===a&&r(e.targetAnchor,t,n)
;const{el:i,anchor:s,shapeFlag:l,children:c,props:u}=e,d=2===a
;if(d&&r(i,t,n),(!d||Nr(u))&&16&l)for(let p=0;p<c.length;p++)o(c[p],t,n,2)
;d&&r(s,t,n)}const Ur=jr;function Qr(e,t){const n=e.ctx;if(n&&n.ut){let r,o
;for(t?(r=e.el,
o=e.anchor):(r=e.targetStart,o=e.targetAnchor);r&&r!==o;)1===r.nodeType&&r.setAttribute("data-v-owner",n.uid),
r=r.nextSibling;n.ut()}}function Fr(e,t,n,r){
const o=t.targetStart=n(""),a=t.targetAnchor=n("")
;return o[Rr]=a,e&&(r(o,e),r(a,e)),a}
const zr=Symbol("_leaveCb"),qr=Symbol("_enterCb");const Hr=[Function,Array],Vr={
mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Hr,onEnter:Hr,
onAfterEnter:Hr,onEnterCancelled:Hr,onBeforeLeave:Hr,onLeave:Hr,onAfterLeave:Hr,
onLeaveCancelled:Hr,onBeforeAppear:Hr,onAppear:Hr,onAfterAppear:Hr,
onAppearCancelled:Hr},Zr=e=>{const t=e.subTree
;return t.component?Zr(t.component):t};function Wr(e){let t=e[0]
;if(e.length>1)for(const n of e)if(n.type!==Ga){t=n;break}return t}const Xr={
name:"BaseTransition",props:Vr,setup(e,{slots:t}){const n=_i(),r=function(){
const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map}
;return go((()=>{e.isMounted=!0})),yo((()=>{e.isUnmounting=!0})),e}()
;return()=>{const o=t.default&&to(t.default(),!0);if(!o||!o.length)return
;const a=Wr(o),i=jn(e),{mode:s}=i;if(r.isLeaving)return Kr(a);const l=Jr(a)
;if(!l)return Kr(a);let c=Yr(l,i,r,n,(e=>c=e));l.type!==Ga&&eo(l,c)
;const u=n.subTree,d=u&&Jr(u);if(d&&d.type!==Ga&&!si(l,d)&&Zr(n).type!==Ga){
const e=Yr(d,i,r,n)
;if(eo(d,e),"out-in"===s&&l.type!==Ga)return r.isLeaving=!0,e.afterLeave=()=>{
r.isLeaving=!1,8&n.job.flags||n.update(),delete e.afterLeave},Kr(a)
;"in-out"===s&&l.type!==Ga&&(e.delayLeave=(e,t,n)=>{
Gr(r,d)[String(d.key)]=d,e[zr]=()=>{t(),e[zr]=void 0,delete c.delayedLeave
},c.delayedLeave=n})}return a}}};function Gr(e,t){const{leavingVNodes:n}=e
;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}
function Yr(e,t,n,r,o){
const{appear:a,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:d,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:b,onAppearCancelled:y}=t,O=String(e.key),w=Gr(n,e),x=(e,t)=>{
e&&ur(e,r,9,t)},k=(e,t)=>{const n=t[1]
;x(e,t),Ee(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},S={mode:i,
persisted:s,beforeEnter(t){let r=l;if(!n.isMounted){if(!a)return;r=g||l}
t[zr]&&t[zr](!0);const o=w[O];o&&si(e,o)&&o.el[zr]&&o.el[zr](),x(r,[t])},
enter(e){let t=c,r=u,o=d;if(!n.isMounted){if(!a)return;t=v||c,r=b||u,o=y||d}
let i=!1;const s=e[qr]=t=>{
i||(i=!0,x(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e[qr]=void 0)}
;t?k(t,[e,s]):s()},leave(t,r){const o=String(e.key)
;if(t[qr]&&t[qr](!0),n.isUnmounting)return r();x(p,[t]);let a=!1
;const i=t[zr]=n=>{a||(a=!0,r(),x(n?m:f,[t]),t[zr]=void 0,w[o]===e&&delete w[o])
};w[o]=e,h?k(h,[t,i]):i()},clone(e){const a=Yr(e,t,n,r,o);return o&&o(a),a}}
;return S}function Kr(e){if(so(e))return(e=hi(e)).children=null,e}
function Jr(e){if(!so(e))return $r(e.type)&&e.children?Wr(e.children):e
;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0]
;if(32&t&&Pe(n.default))return n.default()}}function eo(e,t){
6&e.shapeFlag&&e.component?(e.transition=t,
eo(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 to(e,t=!1,n){let r=[],o=0;for(let a=0;a<e.length;a++){let i=e[a]
;const s=null==n?i.key:String(n)+String(null!=i.key?i.key:a)
;i.type===Wa?(128&i.patchFlag&&o++,
r=r.concat(to(i.children,t,s))):(t||i.type!==Ga)&&r.push(null!=s?hi(i,{key:s
}):i)}if(o>1)for(let a=0;a<r.length;a++)r[a].patchFlag=-2;return r}
/*! #__NO_SIDE_EFFECTS__ */function no(e,t){return Pe(e)?(()=>xe({name:e.name
},t,{setup:e}))():e}function ro(){const e=_i()
;return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}
function oo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ao(e,t,n,r,o=!1){
if(Ee(e))return void e.forEach(((e,a)=>ao(e,t&&(Ee(t)?t[a]:t),n,r,o)))
;if(io(r)&&!o)return
;const a=4&r.shapeFlag?Li(r.component):r.el,i=o?null:a,{i:s,r:l}=e,c=t&&t.r,u=s.refs===ge?s.refs={}:s.refs,d=s.setupState,p=jn(d),h=d===ge?()=>!1:e=>_e(p,e)
;if(null!=c&&c!==l&&(De(c)?(u[c]=null,h(c)&&(d[c]=null)):Qn(c)&&(c.value=null)),
Pe(l))cr(l,s,12,[i,u]);else{const t=De(l),r=Qn(l);if(t||r){const s=()=>{if(e.f){
const n=t?h(l)?d[l]:u[l]:l.value
;o?Ee(n)&&ke(n,a):Ee(n)?n.includes(a)||n.push(a):t?(u[l]=[a],
h(l)&&(d[l]=u[l])):(l.value=[a],e.k&&(u[e.k]=l.value))
}else t?(u[l]=i,h(l)&&(d[l]=i)):r&&(l.value=i,e.k&&(u[e.k]=i))}
;i?(s.id=-1,_a(s,n)):s()}}}et().requestIdleCallback,et().cancelIdleCallback
;const io=e=>!!e.type.__asyncLoader,so=e=>e.type.__isKeepAlive;function lo(e,t){
uo(e,"a",t)}function co(e,t){uo(e,"da",t)}function uo(e,t,n=Si){
const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return
;t=t.parent}return e()});if(ho(t,r,n),n){let e=n.parent
;for(;e&&e.parent;)so(e.parent.vnode)&&po(r,t,n,e),e=e.parent}}
function po(e,t,n,r){const o=ho(t,e,r,!0);Oo((()=>{ke(r[t],o)}),n)}
function ho(e,t,n=Si,r=!1){if(n){
const o=n[e]||(n[e]=[]),a=t.__weh||(t.__weh=(...r)=>{Lt()
;const o=Ci(n),a=ur(t,n,e,r);return o(),jt(),a})
;return r?o.unshift(a):o.push(a),a}}const fo=e=>(t,n=Si)=>{
Ri&&"sp"!==e||ho(e,((...e)=>t(...e)),n)
},mo=fo("bm"),go=fo("m"),vo=fo("bu"),bo=fo("u"),yo=fo("bum"),Oo=fo("um"),wo=fo("sp"),xo=fo("rtg"),ko=fo("rtc")
;function So(e,t=Si){ho("ec",e,t)}const _o="components";function Eo(e,t){
return Ao(_o,e,!0,t)||e}const To=Symbol.for("v-ndc");function Co(e){
return De(e)?Ao(_o,e,!1)||e:e||To}function Ao(e,t,n=!0,r=!1){const o=Er||Si
;if(o){const n=o.type;{const e=ji(n,!1)
;if(e&&(e===t||e===ze(t)||e===Ve(ze(t))))return n}
const a=Po(o[e]||n[e],t)||Po(o.appContext[e],t);return!a&&r?n:a}}
function Po(e,t){return e&&(e[t]||e[ze(t)]||e[Ve(ze(t))])}function Do(e,t,n,r){
let o;const a=n,i=Ee(e);if(i||De(e)){let n=!1
;i&&Nn(e)&&(n=!In(e),e=Yt(e)),o=new Array(e.length)
;for(let r=0,i=e.length;r<i;r++)o[r]=t(n?Bn(e[r]):e[r],r,void 0,a)
}else if("number"==typeof e){o=new Array(e)
;for(let n=0;n<e;n++)o[n]=t(n+1,n,void 0,a)
}else if($e(e))if(e[Symbol.iterator])o=Array.from(e,((e,n)=>t(e,n,void 0,a)));else{
const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;r<i;r++){
const i=n[r];o[r]=t(e[i],i,r,a)}}else o=[];return o}function Ro(e,t){
for(let n=0;n<t.length;n++){const r=t[n]
;if(Ee(r))for(let t=0;t<r.length;t++)e[r[t].name]=r[t].fn;else r&&(e[r.name]=r.key?(...e)=>{
const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}
function $o(e,t,n={},r,o){
if(Er.ce||Er.parent&&io(Er.parent)&&Er.parent.ce)return"default"!==t&&(n.name=t),
ei(),ai(Wa,null,[di("slot",n,r&&r())],64);let a=e[t];a&&a._c&&(a._d=!1),ei()
;const i=a&&No(a(n)),s=n.key||i&&i.key,l=ai(Wa,{
key:(s&&!Re(s)?s:`_${t}`)+(!i&&r?"_fb":"")},i||(r?r():[]),i&&1===e._?64:-2)
;return!o&&l.scopeId&&(l.slotScopeIds=[l.scopeId+"-s"]),a&&a._c&&(a._d=!0),l}
function No(e){
return e.some((e=>!ii(e)||e.type!==Ga&&!(e.type===Wa&&!No(e.children))))?e:null}
function Mo(e,t){const n={};for(const r in e)n[Ze(r)]=e[r];return n}
const Io=e=>e?Pi(e)?Li(e):Io(e.parent):null,Lo=xe(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=>Io(e.parent),$root:e=>Io(e.root),
$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Xo(e),$forceUpdate:e=>e.f||(e.f=()=>{
Or(e.update)}),$nextTick:e=>e.n||(e.n=yr.bind(e.proxy)),$watch:e=>La.bind(e)
}),jo=(e,t)=>e!==ge&&!e.__isScriptSetup&&_e(e,t),Bo={get({_:e},t){
if("__v_skip"===t)return!0
;const{ctx:n,setupState:r,data:o,props:a,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 r[t]
;case 2:return o[t];case 4:return n[t];case 3:return a[t]}else{
if(jo(r,t))return i[t]=1,r[t];if(o!==ge&&_e(o,t))return i[t]=2,o[t]
;if((c=e.propsOptions[0])&&_e(c,t))return i[t]=3,a[t]
;if(n!==ge&&_e(n,t))return i[t]=4,n[t];Ho&&(i[t]=0)}}const u=Lo[t];let d,p
;return u?("$attrs"===t&&Wt(e.attrs,0,""),
u(e)):(d=s.__cssModules)&&(d=d[t])?d:n!==ge&&_e(n,t)?(i[t]=4,
n[t]):(p=l.config.globalProperties,_e(p,t)?p[t]:void 0)},set({_:e},t,n){
const{data:r,setupState:o,ctx:a}=e
;return jo(o,t)?(o[t]=n,!0):r!==ge&&_e(r,t)?(r[t]=n,
!0):!_e(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(a[t]=n,!0))},
has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:a}},i){
let s
;return!!n[i]||e!==ge&&_e(e,i)||jo(t,i)||(s=a[0])&&_e(s,i)||_e(r,i)||_e(Lo,i)||_e(o.config.globalProperties,i)
},defineProperty(e,t,n){
return null!=n.get?e._.accessCache[t]=0:_e(n,"value")&&this.set(e,t,n.value,null),
Reflect.defineProperty(e,t,n)}};function Uo(){return Fo().slots}function Qo(){
return Fo().attrs}function Fo(){const e=_i()
;return e.setupContext||(e.setupContext=Ii(e))}function zo(e){
return Ee(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function qo(e,t){
const n=zo(e);for(const r in t){if(r.startsWith("__skip"))continue;let e=n[r]
;e?Ee(e)||Pe(e)?e=n[r]={type:e,default:t[r]}:e.default=t[r]:null===e&&(e=n[r]={
default:t[r]}),e&&t[`__skip_${r}`]&&(e.skipFactory=!0)}return n}let Ho=!0
;function Vo(e){const t=Xo(e),n=e.proxy,r=e.ctx
;Ho=!1,t.beforeCreate&&Zo(t.beforeCreate,e,"bc")
;const{data:o,computed:a,methods:i,watch:s,provide:l,inject:c,created:u,beforeMount:d,mounted:p,beforeUpdate:h,updated:f,activated:m,deactivated:g,beforeDestroy:v,beforeUnmount:b,destroyed:y,unmounted:O,render:w,renderTracked:x,renderTriggered:k,errorCaptured:S,serverPrefetch:_,expose:E,inheritAttrs:T,components:C,directives:A,filters:P}=t
;if(c&&function(e,t,n=be){Ee(e)&&(e=Jo(e));for(const r in e){const n=e[r];let o
;o=$e(n)?"default"in n?la(n.from||r,n.default,!0):la(n.from||r):la(n),
Qn(o)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>o.value,
set:e=>o.value=e}):t[r]=o}}(c,r,null),i)for(const R in i){const e=i[R]
;Pe(e)&&(r[R]=e.bind(n))}if(o){const t=o.call(n,n);$e(t)&&(e.data=An(t))}
if(Ho=!0,a)for(const R in a){
const e=a[R],t=Pe(e)?e.bind(n,n):Pe(e.get)?e.get.bind(n,n):be,o=!Pe(e)&&Pe(e.set)?e.set.bind(n):be,i=Bi({
get:t,set:o});Object.defineProperty(r,R,{enumerable:!0,configurable:!0,
get:()=>i.value,set:e=>i.value=e})}if(s)for(const R in s)Wo(s[R],r,n,R);if(l){
const e=Pe(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{sa(t,e[t])}))}
function D(e,t){Ee(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}
if(u&&Zo(u,e,"c"),
D(mo,d),D(go,p),D(vo,h),D(bo,f),D(lo,m),D(co,g),D(So,S),D(ko,x),D(xo,k),D(yo,b),
D(Oo,O),D(wo,_),Ee(E))if(E.length){const t=e.exposed||(e.exposed={})
;E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))
}else e.exposed||(e.exposed={})
;w&&e.render===be&&(e.render=w),null!=T&&(e.inheritAttrs=T),C&&(e.components=C),
A&&(e.directives=A),_&&oo(e)}function Zo(e,t,n){
ur(Ee(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Wo(e,t,n,r){
let o=r.includes(".")?ja(n,r):()=>n[r];if(De(e)){const n=t[e];Pe(n)&&Ma(o,n)
}else if(Pe(e))Ma(o,e.bind(n));else if($e(e))if(Ee(e))e.forEach((e=>Wo(e,t,n,r)));else{
const r=Pe(e.handler)?e.handler.bind(n):t[e.handler];Pe(r)&&Ma(o,r,e)}}
function Xo(e){
const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:a,config:{optionMergeStrategies:i}}=e.appContext,s=a.get(t)
;let l;return s?l=s:o.length||n||r?(l={},o.length&&o.forEach((e=>Go(l,e,i,!0))),
Go(l,t,i)):l=t,$e(t)&&a.set(t,l),l}function Go(e,t,n,r=!1){
const{mixins:o,extends:a}=t;a&&Go(e,a,n,!0),o&&o.forEach((t=>Go(e,t,n,!0)))
;for(const i in t)if(r&&"expose"===i);else{const r=Yo[i]||n&&n[i]
;e[i]=r?r(e[i],t[i]):t[i]}return e}const Yo={data:Ko,props:na,emits:na,
methods:ta,computed:ta,beforeCreate:ea,created:ea,beforeMount:ea,mounted:ea,
beforeUpdate:ea,updated:ea,beforeDestroy:ea,beforeUnmount:ea,destroyed:ea,
unmounted:ea,activated:ea,deactivated:ea,errorCaptured:ea,serverPrefetch:ea,
components:ta,directives:ta,watch:function(e,t){if(!e)return t;if(!t)return e
;const n=xe(Object.create(null),e);for(const r in t)n[r]=ea(e[r],t[r]);return n
},provide:Ko,inject:function(e,t){return ta(Jo(e),Jo(t))}};function Ko(e,t){
return t?e?function(){
return xe(Pe(e)?e.call(this,this):e,Pe(t)?t.call(this,this):t)}:t:e}
function Jo(e){if(Ee(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n]
;return t}return e}function ea(e,t){return e?[...new Set([].concat(e,t))]:t}
function ta(e,t){return e?xe(Object.create(null),e,t):t}function na(e,t){
return e?Ee(e)&&Ee(t)?[...new Set([...e,...t])]:xe(Object.create(null),zo(e),zo(null!=t?t:{})):t
}function ra(){return{app:null,config:{isNativeTag:ye,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 oa=0;function aa(e,t){return function(n,r=null){
Pe(n)||(n=xe({},n)),null==r||$e(r)||(r=null);const o=ra(),a=new WeakSet,i=[]
;let s=!1;const l=o.app={_uid:oa++,_component:n,_props:r,_container:null,
_context:o,_instance:null,version:Qi,get config(){return o.config},
set config(e){},
use:(e,...t)=>(a.has(e)||(e&&Pe(e.install)?(a.add(e),e.install(l,...t)):Pe(e)&&(a.add(e),
e(l,...t))),l),mixin:e=>(o.mixins.includes(e)||o.mixins.push(e),l),
component:(e,t)=>t?(o.components[e]=t,l):o.components[e],
directive:(e,t)=>t?(o.directives[e]=t,l):o.directives[e],mount(a,i,c){if(!s){
const u=l._ceVNode||di(n,r)
;return u.appContext=o,!0===c?c="svg":!1===c&&(c=void 0),
i&&t?t(u,a):e(u,a,c),s=!0,l._container=a,a.__vue_app__=l,Li(u.component)}},
onUnmount(e){i.push(e)},unmount(){s&&(ur(i,l._instance,16),e(null,l._container),
delete l._container.__vue_app__)},provide:(e,t)=>(o.provides[e]=t,l),
runWithContext(e){const t=ia;ia=l;try{return e()}finally{ia=t}}};return l}}
let ia=null;function sa(e,t){if(Si){let n=Si.provides
;const r=Si.parent&&Si.parent.provides
;r===n&&(n=Si.provides=Object.create(r)),n[e]=t}else;}function la(e,t,n=!1){
const r=Si||Er;if(r||ia){
const o=ia?ia._context.provides:r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0
;if(o&&e in o)return o[e]
;if(arguments.length>1)return n&&Pe(t)?t.call(r&&r.proxy):t}}
const ca={},ua=()=>Object.create(ca),da=e=>Object.getPrototypeOf(e)===ca
;function pa(e,t,n,r){const[o,a]=e.propsOptions;let i,s=!1;if(t)for(let l in t){
if(Ue(l))continue;const c=t[l];let u
;o&&_e(o,u=ze(l))?a&&a.includes(u)?(i||(i={}))[u]=c:n[u]=c:Fa(e.emitsOptions,l)||l in r&&c===r[l]||(r[l]=c,
s=!0)}if(a){const t=jn(n),r=i||ge;for(let i=0;i<a.length;i++){const s=a[i]
;n[s]=ha(o,t,s,r[s],e,!_e(r,s))}}return s}function ha(e,t,n,r,o,a){const i=e[n]
;if(null!=i){const e=_e(i,"default");if(e&&void 0===r){const e=i.default
;if(i.type!==Function&&!i.skipFactory&&Pe(e)){const{propsDefaults:a}=o
;if(n in a)r=a[n];else{const i=Ci(o);r=a[n]=e.call(null,t),i()}}else r=e
;o.ce&&o.ce._setProp(n,r)}i[0]&&(a&&!e?r=!1:!i[1]||""!==r&&r!==He(n)||(r=!0))}
return r}const fa=new WeakMap;function ma(e,t,n=!1){
const r=n?fa:t.propsCache,o=r.get(e);if(o)return o;const a=e.props,i={},s=[]
;let l=!1;if(!Pe(e)){const r=e=>{l=!0;const[n,r]=ma(e,t,!0)
;xe(i,n),r&&s.push(...r)}
;!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),
e.mixins&&e.mixins.forEach(r)}if(!a&&!l)return $e(e)&&r.set(e,ve),ve
;if(Ee(a))for(let u=0;u<a.length;u++){const e=ze(a[u]);ga(e)&&(i[e]=ge)
}else if(a)for(const u in a){const e=ze(u);if(ga(e)){
const t=a[u],n=i[e]=Ee(t)||Pe(t)?{type:t}:xe({},t),r=n.type;let o=!1,l=!0
;if(Ee(r))for(let e=0;e<r.length;++e){const t=r[e],n=Pe(t)&&t.name
;if("Boolean"===n){o=!0;break}"String"===n&&(l=!1)
}else o=Pe(r)&&"Boolean"===r.name;n[0]=o,n[1]=l,(o||_e(n,"default"))&&s.push(e)}
}const c=[i,s];return $e(e)&&r.set(e,c),c}function ga(e){
return"$"!==e[0]&&!Ue(e)}
const va=e=>"_"===e[0]||"$stable"===e,ba=e=>Ee(e)?e.map(vi):[vi(e)],ya=(e,t,n)=>{
if(t._n)return t;const r=Ar(((...e)=>ba(t(...e))),n);return r._c=!1,r
},Oa=(e,t,n)=>{const r=e._ctx;for(const o in e){if(va(o))continue;const n=e[o]
;if(Pe(n))t[o]=ya(0,n,r);else if(null!=n){const e=ba(n);t[o]=()=>e}}
},wa=(e,t)=>{const n=ba(t);e.slots.default=()=>n},xa=(e,t,n)=>{
for(const r in t)(n||"_"!==r)&&(e[r]=t[r])},ka=(e,t,n)=>{const r=e.slots=ua()
;if(32&e.vnode.shapeFlag){const e=t._;e?(xa(r,t,n),n&&Ge(r,"_",e,!0)):Oa(t,r)
}else t&&wa(e,t)},Sa=(e,t,n)=>{const{vnode:r,slots:o}=e;let a=!0,i=ge
;if(32&r.shapeFlag){const e=t._
;e?n&&1===e?a=!1:xa(o,t,n):(a=!t.$stable,Oa(t,o)),i=t}else t&&(wa(e,t),i={
default:1});if(a)for(const s in o)va(s)||null!=i[s]||delete o[s]
},_a=function(e,t){
t&&t.pendingBranch?Ee(e)?t.effects.push(...e):t.effects.push(e):(Ee(n=e)?fr.push(...n):mr&&-1===n.id?mr.splice(gr+1,0,n):1&n.flags||(fr.push(n),
n.flags|=1),wr());var n};function Ea(e){return function(e,t){et().__VUE__=!0
;const{insert:n,remove:r,patchProp:o,createElement:a,createText:i,createComment:s,setText:l,setElementText:c,parentNode:u,nextSibling:d,setScopeId:p=be,insertStaticContent:h}=e,f=(e,t,n,r=null,o=null,a=null,i=void 0,s=null,l=!!t.dynamicChildren)=>{
if(e===t)return
;e&&!si(e,t)&&(r=F(e),L(e,o,a,!0),e=null),-2===t.patchFlag&&(l=!1,
t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case Xa:
m(e,t,n,r);break;case Ga:g(e,t,n,r);break;case Ya:null==e&&v(t,n,r,i);break
;case Wa:T(e,t,n,r,o,a,i,s,l);break;default:
1&d?O(e,t,n,r,o,a,i,s,l):6&d?C(e,t,n,r,o,a,i,s,l):(64&d||128&d)&&c.process(e,t,n,r,o,a,i,s,l,H)
}null!=u&&o&&ao(u,e&&e.ref,a,t||e,!t)},m=(e,t,r,o)=>{
if(null==e)n(t.el=i(t.children),r,o);else{const n=t.el=e.el
;t.children!==e.children&&l(n,t.children)}},g=(e,t,r,o)=>{
null==e?n(t.el=s(t.children||""),r,o):t.el=e.el},v=(e,t,n,r)=>{
[e.el,e.anchor]=h(e.children,t,n,r,e.el,e.anchor)},b=({el:e,anchor:t},r,o)=>{
let a;for(;e&&e!==t;)a=d(e),n(e,r,o),e=a;n(t,r,o)},y=({el:e,anchor:t})=>{let n
;for(;e&&e!==t;)n=d(e),r(e),e=n;r(t)},O=(e,t,n,r,o,a,i,s,l)=>{
"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),
null==e?w(t,n,r,o,a,i,s,l):S(e,t,o,a,i,s,l)},w=(e,t,r,i,s,l,u,d)=>{let p,h
;const{props:f,shapeFlag:m,transition:g,dirs:v}=e
;if(p=e.el=a(e.type,l,f&&f.is,f),
8&m?c(p,e.children):16&m&&k(e.children,p,null,i,s,Ta(e,l),u,d),
v&&Dr(e,null,i,"created"),x(p,e,e.scopeId,u,i),f){
for(const e in f)"value"===e||Ue(e)||o(p,e,null,f[e],l,i)
;"value"in f&&o(p,"value",null,f.value,l),(h=f.onVnodeBeforeMount)&&wi(h,i,e)}
v&&Dr(e,null,i,"beforeMount");const b=function(e,t){
return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(s,g)
;b&&g.beforeEnter(p),n(p,t,r),((h=f&&f.onVnodeMounted)||b||v)&&_a((()=>{
h&&wi(h,i,e),b&&g.enter(p),v&&Dr(e,null,i,"mounted")}),s)},x=(e,t,n,r,o)=>{
if(n&&p(e,n),r)for(let a=0;a<r.length;a++)p(e,r[a]);if(o){let n=o.subTree
;if(t===n||Za(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=o.vnode
;x(e,t,t.scopeId,t.slotScopeIds,o.parent)}}},k=(e,t,n,r,o,a,i,s,l=0)=>{
for(let c=l;c<e.length;c++){const l=e[c]=s?bi(e[c]):vi(e[c])
;f(null,l,t,n,r,o,a,i,s)}},S=(e,t,n,r,a,i,s)=>{const l=t.el=e.el
;let{patchFlag:u,dynamicChildren:d,dirs:p}=t;u|=16&e.patchFlag
;const h=e.props||ge,f=t.props||ge;let m
;if(n&&Ca(n,!1),(m=f.onVnodeBeforeUpdate)&&wi(m,n,t,e),
p&&Dr(t,e,n,"beforeUpdate"),
n&&Ca(n,!0),(h.innerHTML&&null==f.innerHTML||h.textContent&&null==f.textContent)&&c(l,""),
d?_(e.dynamicChildren,d,l,n,r,Ta(t,a),i):s||$(e,t,l,null,n,r,Ta(t,a),i,!1),u>0){
if(16&u)E(l,h,f,n,a);else if(2&u&&h.class!==f.class&&o(l,"class",null,f.class,a),
4&u&&o(l,"style",h.style,f.style,a),8&u){const e=t.dynamicProps
;for(let t=0;t<e.length;t++){const r=e[t],i=h[r],s=f[r]
;s===i&&"value"!==r||o(l,r,i,s,a,n)}}
1&u&&e.children!==t.children&&c(l,t.children)}else s||null!=d||E(l,h,f,n,a)
;((m=f.onVnodeUpdated)||p)&&_a((()=>{m&&wi(m,n,t,e),p&&Dr(t,e,n,"updated")}),r)
},_=(e,t,n,r,o,a,i)=>{for(let s=0;s<t.length;s++){
const l=e[s],c=t[s],d=l.el&&(l.type===Wa||!si(l,c)||70&l.shapeFlag)?u(l.el):n
;f(l,c,d,null,r,o,a,i,!0)}},E=(e,t,n,r,a)=>{if(t!==n){
if(t!==ge)for(const i in t)Ue(i)||i in n||o(e,i,t[i],null,a,r)
;for(const i in n){if(Ue(i))continue;const s=n[i],l=t[i]
;s!==l&&"value"!==i&&o(e,i,l,s,a,r)}"value"in n&&o(e,"value",t.value,n.value,a)}
},T=(e,t,r,o,a,s,l,c,u)=>{const d=t.el=e?e.el:i(""),p=t.anchor=e?e.anchor:i("")
;let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=t
;m&&(c=c?c.concat(m):m),null==e?(n(d,r,o),
n(p,r,o),k(t.children||[],r,p,a,s,l,c,u)):h>0&&64&h&&f&&e.dynamicChildren?(_(e.dynamicChildren,f,r,a,s,l,c),
(null!=t.key||a&&t===a.subTree)&&Aa(e,t,!0)):$(e,t,r,p,a,s,l,c,u)
},C=(e,t,n,r,o,a,i,s,l)=>{
t.slotScopeIds=s,null==e?512&t.shapeFlag?o.ctx.activate(t,n,r,i,l):A(t,n,r,o,a,i,l):P(e,t,l)
},A=(e,t,n,r,o,a,i)=>{const s=e.component=function(e,t,n){
const r=e.type,o=(t?t.appContext:e.appContext)||xi,a={uid:ki++,vnode:e,type:r,
parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,
job:null,scope:new bt(!0),render:null,proxy:null,exposed:null,exposeProxy:null,
withProxy:null,provides:t?t.provides:Object.create(o.provides),
ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,
directives:null,propsOptions:ma(r,o),emitsOptions:Qa(r,o),emit:null,
emitted:null,propsDefaults:ge,inheritAttrs:r.inheritAttrs,ctx:ge,data:ge,
props:ge,attrs:ge,slots:ge,refs:ge,setupState:ge,setupContext:null,suspense:n,
suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,
isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,
um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};a.ctx={_:a
},a.root=t?t.root:a,a.emit=Ua.bind(null,a),e.ce&&e.ce(a);return a}(e,r,o)
;if(so(e)&&(s.ctx.renderer=H),function(e,t=!1,n=!1){t&&Ti(t)
;const{props:r,children:o}=e.vnode,a=Pi(e);(function(e,t,n,r=!1){
const o={},a=ua();e.propsDefaults=Object.create(null),pa(e,t,o,a)
;for(const i in e.propsOptions[0])i in o||(o[i]=void 0)
;n?e.props=r?o:Pn(o):e.type.props?e.props=o:e.props=a,e.attrs=a
})(e,r,a,t),ka(e,o,n);const i=a?function(e,t){const n=e.type
;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Bo);const{setup:r}=n
;if(r){Lt()
;const n=e.setupContext=r.length>1?Ii(e):null,o=Ci(e),a=cr(r,e,0,[e.props,n]),i=Ne(a)
;if(jt(),o(),!i&&!e.sp||io(e)||oo(e),i){if(a.then(Ai,Ai),t)return a.then((n=>{
$i(e,n,t)})).catch((t=>{dr(t,e,0)}));e.asyncDep=a}else $i(e,a,t)}else Ni(e,t)
}(e,t):void 0;t&&Ti(!1)}(s,!1,i),s.asyncDep){if(o&&o.registerDep(s,D,i),!e.el){
const e=s.subTree=di(Ga);g(null,e,t,n)}}else D(s,e,t,n,o,a,i)},P=(e,t,n)=>{
const r=t.component=e.component;if(function(e,t,n){
const{props:r,children:o,component:a}=e,{props:i,children:s,patchFlag:l}=t,c=a.emitsOptions
;if(t.dirs||t.transition)return!0
;if(!(n&&l>=0))return!(!o&&!s||s&&s.$stable)||r!==i&&(r?!i||Va(r,i,c):!!i)
;if(1024&l)return!0;if(16&l)return r?Va(r,i,c):!!i;if(8&l){
const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t]
;if(i[n]!==r[n]&&!Fa(c,n))return!0}}return!1}(e,t,n)){
if(r.asyncDep&&!r.asyncResolved)return void R(r,t,n);r.next=t,r.update()
}else t.el=e.el,r.vnode=t},D=(e,t,n,r,o,a,i)=>{const s=()=>{if(e.isMounted){
let{next:t,bu:n,u:r,parent:l,vnode:c}=e;{const n=Pa(e)
;if(n)return t&&(t.el=c.el,R(e,t,i)),void n.asyncDep.then((()=>{
e.isUnmounted||s()}))}let d,p=t
;Ca(e,!1),t?(t.el=c.el,R(e,t,i)):t=c,n&&Xe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&wi(d,l,t,c),
Ca(e,!0);const h=za(e),m=e.subTree
;e.subTree=h,f(m,h,u(m.el),F(m),e,o,a),t.el=h.el,
null===p&&function({vnode:e,parent:t},n){for(;t;){const r=t.subTree
;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break
;(e=t.vnode).el=n,t=t.parent}
}(e,h.el),r&&_a(r,o),(d=t.props&&t.props.onVnodeUpdated)&&_a((()=>wi(d,l,t,c)),o)
}else{let i;const{el:s,props:l}=t,{bm:c,m:u,parent:d,root:p,type:h}=e,m=io(t)
;if(Ca(e,!1),c&&Xe(c),!m&&(i=l&&l.onVnodeBeforeMount)&&wi(i,d,t),Ca(e,!0),s&&Z){
const t=()=>{e.subTree=za(e),Z(s,e.subTree,e,o,null)}
;m&&h.__asyncHydrate?h.__asyncHydrate(s,e,t):t()}else{
p.ce&&p.ce._injectChildStyle(h);const i=e.subTree=za(e)
;f(null,i,n,r,e,o,a),t.el=i.el}if(u&&_a(u,o),!m&&(i=l&&l.onVnodeMounted)){
const e=t;_a((()=>wi(i,d,e)),o)}
(256&t.shapeFlag||d&&io(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&_a(e.a,o),
e.isMounted=!0,t=n=r=null}};e.scope.on();const l=e.effect=new xt(s)
;e.scope.off();const c=e.update=l.run.bind(l),d=e.job=l.runIfDirty.bind(l)
;d.i=e,d.id=e.uid,l.scheduler=()=>Or(d),Ca(e,!0),c()},R=(e,t,n)=>{t.component=e
;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){
const{props:o,attrs:a,vnode:{patchFlag:i}}=e,s=jn(o),[l]=e.propsOptions;let c=!1
;if(!(r||i>0)||16&i){let r;pa(e,t,o,a)&&(c=!0)
;for(const a in s)t&&(_e(t,a)||(r=He(a))!==a&&_e(t,r))||(l?!n||void 0===n[a]&&void 0===n[r]||(o[a]=ha(l,s,a,void 0,e,!0)):delete o[a])
;if(a!==s)for(const e in a)t&&_e(t,e)||(delete a[e],c=!0)}else if(8&i){
const n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let i=n[r]
;if(Fa(e.emitsOptions,i))continue;const u=t[i]
;if(l)if(_e(a,i))u!==a[i]&&(a[i]=u,c=!0);else{const t=ze(i)
;o[t]=ha(l,s,t,u,e,!1)}else u!==a[i]&&(a[i]=u,c=!0)}}c&&Xt(e.attrs,"set","")
}(e,t.props,r,n),Sa(e,t.children,n),Lt(),xr(e),jt()},$=(e,t,n,r,o,a,i,s,l=!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 M(u,p,n,r,o,a,i,s,l)
;if(256&h)return void N(u,p,n,r,o,a,i,s,l)}
8&f?(16&d&&Q(u,o,a),p!==u&&c(n,p)):16&d?16&f?M(u,p,n,r,o,a,i,s,l):Q(u,o,a,!0):(8&d&&c(n,""),
16&f&&k(p,n,r,o,a,i,s,l))},N=(e,t,n,r,o,a,i,s,l)=>{t=t||ve
;const c=(e=e||ve).length,u=t.length,d=Math.min(c,u);let p;for(p=0;p<d;p++){
const r=t[p]=l?bi(t[p]):vi(t[p]);f(e[p],r,n,null,o,a,i,s,l)}
c>u?Q(e,o,a,!0,!1,d):k(t,n,r,o,a,i,s,l,d)},M=(e,t,n,r,o,a,i,s,l)=>{let c=0
;const u=t.length;let d=e.length-1,p=u-1;for(;c<=d&&c<=p;){
const r=e[c],u=t[c]=l?bi(t[c]):vi(t[c]);if(!si(r,u))break
;f(r,u,n,null,o,a,i,s,l),c++}for(;c<=d&&c<=p;){
const r=e[d],c=t[p]=l?bi(t[p]):vi(t[p]);if(!si(r,c))break
;f(r,c,n,null,o,a,i,s,l),d--,p--}if(c>d){if(c<=p){const e=p+1,d=e<u?t[e].el:r
;for(;c<=p;)f(null,t[c]=l?bi(t[c]):vi(t[c]),n,d,o,a,i,s,l),c++}
}else if(c>p)for(;c<=d;)L(e[c],o,a,!0),c++;else{const h=c,m=c,g=new Map
;for(c=m;c<=p;c++){const e=t[c]=l?bi(t[c]):vi(t[c]);null!=e.key&&g.set(e.key,c)}
let v,b=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=h;c<=d;c++){const r=e[c];if(b>=y){L(r,o,a,!0);continue}let u
;if(null!=r.key)u=g.get(r.key);else for(v=m;v<=p;v++)if(0===x[v-m]&&si(r,t[v])){
u=v;break}
void 0===u?L(r,o,a,!0):(x[u-m]=c+1,u>=w?w=u:O=!0,f(r,t[u],n,null,o,a,i,s,l),b++)
}const k=O?function(e){const t=e.slice(),n=[0];let r,o,a,i,s;const l=e.length
;for(r=0;r<l;r++){const l=e[r];if(0!==l){if(o=n[n.length-1],e[o]<l){
t[r]=o,n.push(r);continue}for(a=0,i=n.length-1;a<i;)s=a+i>>1,e[n[s]]<l?a=s+1:i=s
;l<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}a=n.length,i=n[a-1]
;for(;a-- >0;)n[a]=i,i=t[i];return n}(x):ve;for(v=k.length-1,c=y-1;c>=0;c--){
const e=m+c,d=t[e],p=e+1<u?t[e+1].el:r
;0===x[c]?f(null,d,n,p,o,a,i,s,l):O&&(v<0||c!==k[v]?I(d,n,p,2):v--)}}
},I=(e,t,r,o,a=null)=>{const{el:i,type:s,transition:l,children:c,shapeFlag:u}=e
;if(6&u)return void I(e.component.subTree,t,r,o)
;if(128&u)return void e.suspense.move(t,r,o);if(64&u)return void s.move(e,t,r,H)
;if(s===Wa){n(i,t,r);for(let e=0;e<c.length;e++)I(c[e],t,r,o)
;return void n(e.anchor,t,r)}if(s===Ya)return void b(e,t,r)
;if(2!==o&&1&u&&l)if(0===o)l.beforeEnter(i),
n(i,t,r),_a((()=>l.enter(i)),a);else{
const{leave:e,delayLeave:o,afterLeave:a}=l,s=()=>n(i,t,r),c=()=>{e(i,(()=>{
s(),a&&a()}))};o?o(i,s,c):c()}else n(i,t,r)},L=(e,t,n,r=!1,o=!1)=>{
const{type:a,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p,cacheIndex:h}=e
;if(-2===d&&(o=!1),
null!=s&&ao(s,null,n,e,!0),null!=h&&(t.renderCache[h]=void 0),
256&u)return void t.ctx.deactivate(e);const f=1&u&&p,m=!io(e);let g
;if(m&&(g=i&&i.onVnodeBeforeUnmount)&&wi(g,t,e),6&u)U(e.component,n,r);else{
if(128&u)return void e.suspense.unmount(n,r)
;f&&Dr(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,H,r):c&&!c.hasOnce&&(a!==Wa||d>0&&64&d)?Q(c,t,n,!1,!0):(a===Wa&&384&d||!o&&16&u)&&Q(l,t,n),
r&&j(e)}(m&&(g=i&&i.onVnodeUnmounted)||f)&&_a((()=>{
g&&wi(g,t,e),f&&Dr(e,null,t,"unmounted")}),n)},j=e=>{
const{type:t,el:n,anchor:o,transition:a}=e;if(t===Wa)return void B(n,o)
;if(t===Ya)return void y(e);const i=()=>{
r(n),a&&!a.persisted&&a.afterLeave&&a.afterLeave()}
;if(1&e.shapeFlag&&a&&!a.persisted){const{leave:t,delayLeave:r}=a,o=()=>t(n,i)
;r?r(e.el,i,o):o()}else i()},B=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t)
},U=(e,t,n)=>{const{bum:r,scope:o,job:a,subTree:i,um:s,m:l,a:c}=e
;Da(l),Da(c),r&&Xe(r),o.stop(),a&&(a.flags|=8,L(i,e,t,n)),s&&_a(s,t),_a((()=>{
e.isUnmounted=!0
}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,
0===t.deps&&t.resolve())},Q=(e,t,n,r=!1,o=!1,a=0)=>{
for(let i=a;i<e.length;i++)L(e[i],t,n,r,o)},F=e=>{
if(6&e.shapeFlag)return F(e.component.subTree)
;if(128&e.shapeFlag)return e.suspense.next()
;const t=d(e.anchor||e.el),n=t&&t[Rr];return n?d(n):t};let z=!1
;const q=(e,t,n)=>{
null==e?t._vnode&&L(t._vnode,null,null,!0):f(t._vnode||null,e,t,null,null,null,n),
t._vnode=e,z||(z=!0,xr(),kr(),z=!1)},H={p:f,um:L,m:I,r:j,mt:A,mc:k,pc:$,pbc:_,
n:F,o:e};let V,Z;return{render:q,hydrate:V,createApp:aa(q,V)}}(e)}
function Ta({type:e,props:t},n){
return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n
}function Ca({effect:e,job:t},n){
n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Aa(e,t,n=!1){
const r=e.children,o=t.children;if(Ee(r)&&Ee(o))for(let a=0;a<r.length;a++){
const e=r[a];let t=o[a]
;1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=o[a]=bi(o[a]),
t.el=e.el),n||-2===t.patchFlag||Aa(e,t)),t.type===Xa&&(t.el=e.el)}}
function Pa(e){const t=e.subTree.component
;if(t)return t.asyncDep&&!t.asyncResolved?t:Pa(t)}function Da(e){
if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}
const Ra=Symbol.for("v-scx"),$a=()=>la(Ra);function Na(e,t){return Ia(e,null,t)}
function Ma(e,t,n){return Ia(e,t,n)}function Ia(e,t,n=ge){
const{immediate:r,deep:o,flush:a,once:i}=n,s=xe({},n),l=t&&r||!t&&"post"!==a
;let c;if(Ri)if("sync"===a){const e=$a()
;c=e.__watcherHandles||(e.__watcherHandles=[])}else if(!l){const e=()=>{}
;return e.stop=be,e.resume=be,e.pause=be,e}const u=Si
;s.call=(e,t,n)=>ur(e,u,t,n);let d=!1;"post"===a?s.scheduler=e=>{
_a(e,u&&u.suspense)}:"sync"!==a&&(d=!0,s.scheduler=(e,t)=>{t?e():Or(e)
}),s.augmentJob=e=>{t&&(e.flags|=4),d&&(e.flags|=2,u&&(e.id=u.uid,e.i=u))}
;const p=sr(e,t,s);return Ri&&(c?c.push(p):l&&p()),p}function La(e,t,n){
const r=this.proxy,o=De(e)?e.includes(".")?ja(r,e):()=>r[e]:e.bind(r,r);let a
;Pe(t)?a=t:(a=t.handler,n=t);const i=Ci(this),s=Ia(o,a.bind(r),n);return i(),s}
function ja(e,t){const n=t.split(".");return()=>{let t=e
;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}
const Ba=(e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${ze(t)}Modifiers`]||e[`${He(t)}Modifiers`]
;function Ua(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ge;let o=n
;const a=t.startsWith("update:"),i=a&&Ba(r,t.slice(7));let s
;i&&(i.trim&&(o=n.map((e=>De(e)?e.trim():e))),i.number&&(o=n.map(Ye)))
;let l=r[s=Ze(t)]||r[s=Ze(ze(t))];!l&&a&&(l=r[s=Ze(He(t))]),l&&ur(l,e,6,o)
;const c=r[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return
}else e.emitted={};e.emitted[s]=!0,ur(c,e,6,o)}}function Qa(e,t,n=!1){
const r=t.emitsCache,o=r.get(e);if(void 0!==o)return o;const a=e.emits
;let i={},s=!1;if(!Pe(e)){const r=e=>{const n=Qa(e,t,!0);n&&(s=!0,xe(i,n))}
;!n&&t.mixins.length&&t.mixins.forEach(r),
e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}
return a||s?(Ee(a)?a.forEach((e=>i[e]=null)):xe(i,a),
$e(e)&&r.set(e,i),i):($e(e)&&r.set(e,null),null)}function Fa(e,t){
return!(!e||!Oe(t))&&(t=t.slice(2).replace(/Once$/,""),
_e(e,t[0].toLowerCase()+t.slice(1))||_e(e,He(t))||_e(e,t))}function za(e){
const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[a],slots:i,attrs:s,emit:l,render:c,renderCache:u,props:d,data:p,setupState:h,ctx:f,inheritAttrs:m}=e,g=Cr(e)
;let v,b;try{if(4&n.shapeFlag){const e=o||r,t=e;v=vi(c.call(t,e,u,d,h,p,f)),b=s
}else{const e=t;0,v=vi(e.length>1?e(d,{attrs:s,slots:i,emit:l
}):e(d,null)),b=t.props?s:qa(s)}}catch(O){Ka.length=0,dr(O,e,1),v=di(Ga)}let y=v
;if(b&&!1!==m){const e=Object.keys(b),{shapeFlag:t}=y
;e.length&&7&t&&(a&&e.some(we)&&(b=Ha(b,a)),y=hi(y,b,!1,!0))}
return n.dirs&&(y=hi(y,null,!1,!0),
y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&eo(y,n.transition),
v=y,Cr(g),v}const qa=e=>{let t
;for(const n in e)("class"===n||"style"===n||Oe(n))&&((t||(t={}))[n]=e[n])
;return t},Ha=(e,t)=>{const n={}
;for(const r in e)we(r)&&r.slice(9)in t||(n[r]=e[r]);return n}
;function Va(e,t,n){const r=Object.keys(t)
;if(r.length!==Object.keys(e).length)return!0;for(let o=0;o<r.length;o++){
const a=r[o];if(t[a]!==e[a]&&!Fa(n,a))return!0}return!1}
const Za=e=>e.__isSuspense
;const Wa=Symbol.for("v-fgt"),Xa=Symbol.for("v-txt"),Ga=Symbol.for("v-cmt"),Ya=Symbol.for("v-stc"),Ka=[]
;let Ja=null;function ei(e=!1){Ka.push(Ja=e?null:[])}let ti=1;function ni(e){
ti+=e,e<0&&Ja&&(Ja.hasOnce=!0)}function ri(e){
return e.dynamicChildren=ti>0?Ja||ve:null,
Ka.pop(),Ja=Ka[Ka.length-1]||null,ti>0&&Ja&&Ja.push(e),e}
function oi(e,t,n,r,o,a){return ri(ui(e,t,n,r,o,a,!0))}function ai(e,t,n,r,o){
return ri(di(e,t,n,r,o,!0))}function ii(e){return!!e&&!0===e.__v_isVNode}
function si(e,t){return e.type===t.type&&e.key===t.key}
const li=({key:e})=>null!=e?e:null,ci=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),
null!=e?De(e)||Qn(e)||Pe(e)?{i:Er,r:e,k:t,f:!!n}:e:null)
;function ui(e,t=null,n=null,r=0,o=null,a=(e===Wa?0:1),i=!1,s=!1){const l={
__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&li(t),ref:t&&ci(t),scopeId:Tr,
slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,
ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,
targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:r,
dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Er}
;return s?(yi(l,n),128&a&&e.normalize(l)):n&&(l.shapeFlag|=De(n)?8:16),
ti>0&&!i&&Ja&&(l.patchFlag>0||6&a)&&32!==l.patchFlag&&Ja.push(l),l}
const di=function(e,t=null,n=null,r=0,o=null,a=!1){e&&e!==To||(e=Ga);if(ii(e)){
const r=hi(e,t,!0)
;return n&&yi(r,n),ti>0&&!a&&Ja&&(6&r.shapeFlag?Ja[Ja.indexOf(e)]=r:Ja.push(r)),
r.patchFlag=-2,r}i=e,Pe(i)&&"__vccOpts"in i&&(e=e.__vccOpts);var i;if(t){t=pi(t)
;let{class:e,style:n}=t
;e&&!De(e)&&(t.class=it(e)),$e(n)&&(Ln(n)&&!Ee(n)&&(n=xe({},n)),t.style=tt(n))}
const s=De(e)?1:Za(e)?128:$r(e)?64:$e(e)?4:Pe(e)?2:0;return ui(e,t,n,r,o,s,a,!0)
};function pi(e){return e?Ln(e)||da(e)?xe({},e):e:null}
function hi(e,t,n=!1,r=!1){
const{props:o,ref:a,patchFlag:i,children:s,transition:l}=e,c=t?Oi(o||{},t):o,u={
__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&li(c),
ref:t&&t.ref?n&&a?Ee(a)?a.concat(ci(t)):[a,ci(t)]:ci(t):a,scopeId:e.scopeId,
slotScopeIds:e.slotScopeIds,children:s,target:e.target,
targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,
shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Wa?-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&&hi(e.ssContent),
ssFallback:e.ssFallback&&hi(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,
ce:e.ce};return l&&r&&eo(u,l.clone(u)),u}function fi(e=" ",t=0){
return di(Xa,null,e,t)}function mi(e,t){const n=di(Ya,null,e)
;return n.staticCount=t,n}function gi(e="",t=!1){
return t?(ei(),ai(Ga,null,e)):di(Ga,null,e)}function vi(e){
return null==e||"boolean"==typeof e?di(Ga):Ee(e)?di(Wa,null,e.slice()):ii(e)?bi(e):di(Xa,null,String(e))
}function bi(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:hi(e)}
function yi(e,t){let n=0;const{shapeFlag:r}=e
;if(null==t)t=null;else if(Ee(t))n=16;else if("object"==typeof t){if(65&r){
const n=t.default;return void(n&&(n._c&&(n._d=!1),yi(e,n()),n._c&&(n._d=!0)))}{
n=32;const r=t._
;r||da(t)?3===r&&Er&&(1===Er.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Er}
}else Pe(t)?(t={default:t,_ctx:Er},n=32):(t=String(t),64&r?(n=16,t=[fi(t)]):n=8)
;e.children=t,e.shapeFlag|=n}function Oi(...e){const t={}
;for(let n=0;n<e.length;n++){const r=e[n]
;for(const e in r)if("class"===e)t.class!==r.class&&(t.class=it([t.class,r.class]));else if("style"===e)t.style=tt([t.style,r.style]);else if(Oe(e)){
const n=t[e],o=r[e];!o||n===o||Ee(n)&&n.includes(o)||(t[e]=n?[].concat(n,o):o)
}else""!==e&&(t[e]=r[e])}return t}function wi(e,t,n,r=null){ur(e,t,7,[n,r])}
const xi=ra();let ki=0;let Si=null;const _i=()=>Si||Er;let Ei,Ti;{
const e=et(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{
r.length>1?r.forEach((t=>t(e))):r[0](e)}}
;Ei=t("__VUE_INSTANCE_SETTERS__",(e=>Si=e)),
Ti=t("__VUE_SSR_SETTERS__",(e=>Ri=e))}const Ci=e=>{const t=Si
;return Ei(e),e.scope.on(),()=>{e.scope.off(),Ei(t)}},Ai=()=>{
Si&&Si.scope.off(),Ei(null)};function Pi(e){return 4&e.vnode.shapeFlag}
let Di,Ri=!1;function $i(e,t,n){
Pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:$e(t)&&(e.setupState=Xn(t)),
Ni(e,n)}function Ni(e,t,n){const r=e.type;if(!e.render){if(!t&&Di&&!r.render){
const t=r.template||Xo(e).template;if(t){
const{isCustomElement:n,compilerOptions:o}=e.appContext.config,{delimiters:a,compilerOptions:i}=r,s=xe(xe({
isCustomElement:n,delimiters:a},o),i);r.render=Di(t,s)}}e.render=r.render||be}{
const t=Ci(e);Lt();try{Vo(e)}finally{jt(),t()}}}const Mi={
get:(e,t)=>(Wt(e,0,""),e[t])};function Ii(e){const t=t=>{e.exposed=t||{}}
;return{attrs:new Proxy(e.attrs,Mi),slots:e.slots,emit:e.emit,expose:t}}
function Li(e){
return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Xn((t=e.exposed,
!_e(t,"__v_skip")&&Object.isExtensible(t)&&Ge(t,"__v_skip",!0),t)),{
get:(t,n)=>n in t?t[n]:n in Lo?Lo[n](e):void 0,has:(e,t)=>t in e||t in Lo
})):e.proxy;var t}function ji(e,t=!0){
return Pe(e)?e.displayName||e.name:e.name||t&&e.__name}const Bi=(e,t)=>{
const n=function(e,t,n=!1){let r,o
;return Pe(e)?r=e:(r=e.get,o=e.set),new rr(r,o,n)}(e,0,Ri);return n}
;function Ui(e,t,n){const r=arguments.length
;return 2===r?$e(t)&&!Ee(t)?ii(t)?di(e,null,[t]):di(e,t):di(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&ii(n)&&(n=[n]),
di(e,t,n))}const Qi="3.5.12";
/**
  * @vue/runtime-dom v3.5.12
  * (c) 2018-present Yuxi (Evan) You and Vue contributors
  * @license MIT
  **/let Fi;const zi="undefined"!=typeof window&&window.trustedTypes;if(zi)try{
Fi=zi.createPolicy("vue",{createHTML:e=>e})}catch(pM){}
const qi=Fi?e=>Fi.createHTML(e):e=>e,Hi="undefined"!=typeof document?document:null,Vi=Hi&&Hi.createElement("template"),Zi={
insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode
;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{
const o="svg"===t?Hi.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Hi.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Hi.createElement(e,{
is:n}):Hi.createElement(e)
;return"select"===e&&r&&null!=r.multiple&&o.setAttribute("multiple",r.multiple),
o},createText:e=>Hi.createTextNode(e),createComment:e=>Hi.createComment(e),
setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},
parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,
querySelector:e=>Hi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},
insertStaticContent(e,t,n,r,o,a){const i=n?n.previousSibling:t.lastChild
;if(o&&(o===a||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),
o!==a&&(o=o.nextSibling););else{
Vi.innerHTML=qi("svg"===r?`<svg>${e}</svg>`:"mathml"===r?`<math>${e}</math>`:e)
;const o=Vi.content;if("svg"===r||"mathml"===r){const e=o.firstChild
;for(;e.firstChild;)o.appendChild(e.firstChild);o.removeChild(e)}
t.insertBefore(o,n)}
return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}
},Wi="transition",Xi="animation",Gi=Symbol("_vtc"),Yi={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
},Ki=xe({},Vr,Yi),Ji=e=>(e.displayName="Transition",
e.props=Ki,e),es=Ji(((e,{slots:t})=>Ui(Xr,function(e){const t={}
;for(const C in e)C in Yi||(t[C]=e[C]);if(!1===e.css)return t
;const{name:n="v",type:r,duration:o,enterFromClass:a=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=a,appearActiveClass:c=i,appearToClass:u=s,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,f=function(e){
if(null==e)return null;if($e(e))return[rs(e.enter),rs(e.leave)];{const t=rs(e)
;return[t,t]}
}(o),m=f&&f[0],g=f&&f[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:y,onLeave:O,onLeaveCancelled:w,onBeforeAppear:x=v,onAppear:k=b,onAppearCancelled:S=y}=t,_=(e,t,n)=>{
as(e,t?u:s),as(e,t?c:i),n&&n()},E=(e,t)=>{
e._isLeaving=!1,as(e,d),as(e,h),as(e,p),t&&t()},T=e=>(t,n)=>{
const o=e?k:b,i=()=>_(t,e,n);ts(o,[t,i]),is((()=>{
as(t,e?l:a),os(t,e?u:s),ns(o)||ls(t,r,m,i)}))};return xe(t,{onBeforeEnter(e){
ts(v,[e]),os(e,a),os(e,i)},onBeforeAppear(e){ts(x,[e]),os(e,l),os(e,c)},
onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t)
;os(e,d),os(e,p),document.body.offsetHeight,is((()=>{
e._isLeaving&&(as(e,d),os(e,h),ns(O)||ls(e,r,g,n))})),ts(O,[e,n])},
onEnterCancelled(e){_(e,!1),ts(y,[e])},onAppearCancelled(e){_(e,!0),ts(S,[e])},
onLeaveCancelled(e){E(e),ts(w,[e])}})}(e),t))),ts=(e,t=[])=>{
Ee(e)?e.forEach((e=>e(...t))):e&&e(...t)
},ns=e=>!!e&&(Ee(e)?e.some((e=>e.length>1)):e.length>1);function rs(e){
return Ke(e)}function os(e,t){
t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),
(e[Gi]||(e[Gi]=new Set)).add(t)}function as(e,t){
t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Gi]
;n&&(n.delete(t),n.size||(e[Gi]=void 0))}function is(e){
requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let ss=0
;function ls(e,t,n,r){const o=e._endId=++ss,a=()=>{o===e._endId&&r()}
;if(null!=n)return setTimeout(a,n)
;const{type:i,timeout:s,propCount:l}=function(e,t){
const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),o=r(`${Wi}Delay`),a=r(`${Wi}Duration`),i=cs(o,a),s=r(`${Xi}Delay`),l=r(`${Xi}Duration`),c=cs(s,l)
;let u=null,d=0,p=0
;t===Wi?i>0&&(u=Wi,d=i,p=a.length):t===Xi?c>0&&(u=Xi,d=c,p=l.length):(d=Math.max(i,c),
u=d>0?i>c?Wi:Xi:null,p=u?u===Wi?a.length:l.length:0)
;const h=u===Wi&&/\b(transform|all)(,|$)/.test(r(`${Wi}Property`).toString())
;return{type:u,timeout:d,propCount:p,hasTransform:h}}(e,t);if(!i)return r()
;const c=i+"end";let u=0;const d=()=>{e.removeEventListener(c,p),a()},p=t=>{
t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()
}),s+1),e.addEventListener(c,p)}function cs(e,t){
for(;e.length<t.length;)e=e.concat(e)
;return Math.max(...t.map(((t,n)=>us(t)+us(e[n]))))}function us(e){
return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}
const ds=Symbol("_vod"),ps=Symbol("_vsh"),hs={
beforeMount(e,{value:t},{transition:n}){
e[ds]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):fs(e,t)
},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},
updated(e,{value:t,oldValue:n},{transition:r}){
!t!=!n&&(r?t?(r.beforeEnter(e),fs(e,!0),r.enter(e)):r.leave(e,(()=>{fs(e,!1)
})):fs(e,t))},beforeUnmount(e,{value:t}){fs(e,t)}};function fs(e,t){
e.style.display=t?e[ds]:"none",e[ps]=!t}const ms=Symbol("");function gs(e){
const t=_i();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{
Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>bs(e,n)))
},r=()=>{const r=e(t.proxy);t.ce?bs(t.ce,r):vs(t.subTree,r),n(r)};mo((()=>{
Ia(r,null,{flush:"post"})})),go((()=>{const e=new MutationObserver(r)
;e.observe(t.subTree.el.parentNode,{childList:!0}),Oo((()=>e.disconnect()))}))}
function vs(e,t){if(128&e.shapeFlag){const n=e.suspense
;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{
vs(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree
;if(1&e.shapeFlag&&e.el)bs(e.el,t);else if(e.type===Wa)e.children.forEach((e=>vs(e,t)));else if(e.type===Ya){
let{el:n,anchor:r}=e;for(;n&&(bs(n,t),n!==r);)n=n.nextSibling}}function bs(e,t){
if(1===e.nodeType){const n=e.style;let r=""
;for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[ms]=r}}
const ys=/(^|;)\s*display\s*:/;const Os=/\s*!important$/;function ws(e,t,n){
if(Ee(n))n.forEach((n=>ws(e,t,n)));else if(null==n&&(n=""),
t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=ks[t]
;if(n)return n;let r=ze(t);if("filter"!==r&&r in e)return ks[t]=r;r=Ve(r)
;for(let o=0;o<xs.length;o++){const n=xs[o]+r;if(n in e)return ks[t]=n}return t
}(e,t);Os.test(n)?e.setProperty(He(r),n.replace(Os,""),"important"):e[r]=n}}
const xs=["Webkit","Moz","ms"],ks={};const Ss="http://www.w3.org/1999/xlink"
;function _s(e,t,n,r,o,a=lt(t)){
r&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Ss,t.slice(6,t.length)):e.setAttributeNS(Ss,t,n):null==n||a&&!ct(n)?e.removeAttribute(t):e.setAttribute(t,a?"":Re(n)?String(n):n)
}function Es(e,t,n,r,o){
if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?qi(n):n))
;const a=e.tagName;if("value"===t&&"PROGRESS"!==a&&!a.includes("-")){
const r="OPTION"===a?e.getAttribute("value")||"":e.value,o=null==n?"checkbox"===e.type?"on":"":String(n)
;return r===o&&"_value"in e||(e.value=o),
null==n&&e.removeAttribute(t),void(e._value=n)}let i=!1;if(""===n||null==n){
const r=typeof e[t]
;"boolean"===r?n=ct(n):null==n&&"string"===r?(n="",i=!0):"number"===r&&(n=0,
i=!0)}try{e[t]=n}catch(pM){}i&&e.removeAttribute(o||t)}function Ts(e,t,n,r){
e.addEventListener(t,n,r)}const Cs=Symbol("_vei");function As(e,t,n,r,o=null){
const a=e[Cs]||(e[Cs]={}),i=a[t];if(r&&i)i.value=r;else{const[n,s]=function(e){
let t;if(Ps.test(e)){let n
;for(t={};n=e.match(Ps);)e=e.slice(0,e.length-n[0].length),
t[n[0].toLowerCase()]=!0}const n=":"===e[2]?e.slice(3):He(e.slice(2))
;return[n,t]}(t);if(r){const i=a[t]=function(e,t){const n=e=>{if(e._vts){
if(e._vts<=n.attached)return}else e._vts=Date.now();ur(function(e,t){if(Ee(t)){
const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{
n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t
}(e,n.value),t,5,[e])};return n.value=e,n.attached=$s(),n}(r,o);Ts(e,n,i,s)
}else i&&(!function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,s),a[t]=void 0)
}}const Ps=/(?:Once|Passive|Capture)$/;let Ds=0
;const Rs=Promise.resolve(),$s=()=>Ds||(Rs.then((()=>Ds=0)),Ds=Date.now())
;const Ns=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123
;const Ms=e=>{const t=e.props["onUpdate:modelValue"]||!1
;return Ee(t)?e=>Xe(t,e):t};function Is(e){e.target.composing=!0}function Ls(e){
const t=e.target
;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}
const js=Symbol("_assign"),Bs={
created(e,{modifiers:{lazy:t,trim:n,number:r}},o){e[js]=Ms(o)
;const a=r||o.props&&"number"===o.props.type;Ts(e,t?"change":"input",(t=>{
if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),a&&(r=Ye(r)),e[js](r)
})),n&&Ts(e,"change",(()=>{e.value=e.value.trim()
})),t||(Ts(e,"compositionstart",Is),Ts(e,"compositionend",Ls),Ts(e,"change",Ls))
},mounted(e,{value:t}){e.value=null==t?"":t},
beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:o,number:a}},i){
if(e[js]=Ms(i),e.composing)return;const s=null==t?"":t
;if((!a&&"number"!==e.type||/^0\d/.test(e.value)?e.value:Ye(e.value))!==s){
if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return
;if(o&&e.value.trim()===s)return}e.value=s}}},Us={deep:!0,created(e,t,n){
e[js]=Ms(n),Ts(e,"change",(()=>{
const t=e._modelValue,n=Hs(e),r=e.checked,o=e[js];if(Ee(t)){
const e=dt(t,n),a=-1!==e;if(r&&!a)o(t.concat(n));else if(!r&&a){const n=[...t]
;n.splice(e,1),o(n)}}else if(Ce(t)){const e=new Set(t)
;r?e.add(n):e.delete(n),o(e)}else o(Vs(e,r))}))},mounted:Qs,beforeUpdate(e,t,n){
e[js]=Ms(n),Qs(e,t,n)}};function Qs(e,{value:t,oldValue:n},r){let o
;if(e._modelValue=t,
Ee(t))o=dt(t,r.props.value)>-1;else if(Ce(t))o=t.has(r.props.value);else{
if(t===n)return;o=ut(t,Vs(e,!0))}e.checked!==o&&(e.checked=o)}const Fs={
created(e,{value:t},n){
e.checked=ut(t,n.props.value),e[js]=Ms(n),Ts(e,"change",(()=>{e[js](Hs(e))}))},
beforeUpdate(e,{value:t,oldValue:n},r){
e[js]=Ms(r),t!==n&&(e.checked=ut(t,r.props.value))}},zs={deep:!0,
created(e,{value:t,modifiers:{number:n}},r){const o=Ce(t);Ts(e,"change",(()=>{
const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?Ye(Hs(e)):Hs(e)))
;e[js](e.multiple?o?new Set(t):t:t[0]),e._assigning=!0,yr((()=>{e._assigning=!1
}))})),e[js]=Ms(r)},mounted(e,{value:t}){qs(e,t)},beforeUpdate(e,t,n){
e[js]=Ms(n)},updated(e,{value:t}){e._assigning||qs(e,t)}};function qs(e,t){
const n=e.multiple,r=Ee(t);if(!n||r||Ce(t)){
for(let o=0,a=e.options.length;o<a;o++){const a=e.options[o],i=Hs(a);if(n)if(r){
const e=typeof i
;a.selected="string"===e||"number"===e?t.some((e=>String(e)===String(i))):dt(t,i)>-1
}else a.selected=t.has(i);else if(ut(Hs(a),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))
}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Hs(e){
return"_value"in e?e._value:e.value}function Vs(e,t){
const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}
const Zs=["ctrl","shift","alt","meta"],Ws={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)=>Zs.some((n=>e[`${n}Key`]&&!t.includes(n)))},Xs=(e,t)=>{
const n=e._withMods||(e._withMods={}),r=t.join(".")
;return n[r]||(n[r]=(n,...r)=>{for(let e=0;e<t.length;e++){const r=Ws[t[e]]
;if(r&&r(n,t))return}return e(n,...r)})},Gs={esc:"escape",space:" ",
up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",
delete:"backspace"},Ys=(e,t)=>{
const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{
if(!("key"in n))return;const r=He(n.key)
;return t.some((e=>e===r||Gs[e]===r))?e(n):void 0})},Ks=xe({
patchProp:(e,t,n,r,o,a)=>{const i="svg"===o;"class"===t?function(e,t,n){
const r=e[Gi]
;r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t
}(e,r,i):"style"===t?function(e,t,n){const r=e.style,o=De(n);let a=!1;if(n&&!o){
if(t)if(De(t))for(const e of t.split(";")){
const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&ws(r,t,"")
}else for(const e in t)null==n[e]&&ws(r,e,"")
;for(const e in n)"display"===e&&(a=!0),ws(r,e,n[e])}else if(o){if(t!==n){
const e=r[ms];e&&(n+=";"+e),r.cssText=n,a=ys.test(n)}
}else t&&e.removeAttribute("style")
;ds in e&&(e[ds]=a?r.display:"",e[ps]&&(r.display="none"))
}(e,n,r):Oe(t)?we(t)||As(e,t,0,r,a):("."===t[0]?(t=t.slice(1),
1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){
if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&Ns(t)&&Pe(n))
;if("spellcheck"===t||"draggable"===t||"translate"===t)return!1
;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1
;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){
const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1
}if(Ns(t)&&De(n))return!1;return t in e
}(e,t,r,i))?(Es(e,t,r),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||_s(e,t,r,i,0,"value"!==t)):!e._isVueCE||!/[A-Z]/.test(t)&&De(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),
_s(e,t,r,i)):Es(e,ze(t),r,0,t)}},Zi);let Js;function el(){return Js||(Js=Ea(Ks))
}const tl=(...e)=>{el().render(...e)},nl=(...e)=>{
const t=el().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){
if(De(e)){return document.querySelector(e)}return e}(e);if(!r)return
;const o=t._component
;Pe(o)||o.render||o.template||(o.template=r.innerHTML),1===r.nodeType&&(r.textContent="")
;const a=n(r,!1,function(e){if(e instanceof SVGElement)return"svg"
;if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"
}(r))
;return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),
a},t};const rl="3"===Qi[0];function ol(e){
if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e
;const t="function"==typeof(n=e)?n():Vn(n);var n;if(!e||!t)return t
;if(Array.isArray(t))return t.map((e=>ol(e)));if("object"==typeof t){const e={}
;for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&("titleTemplate"===n||"o"===n[0]&&"n"===n[1]?e[n]=Vn(t[n]):e[n]=ol(t[n]))
;return e}return t}const al={hooks:{"entries:resolve":e=>{
for(const t of e.entries)t.resolvedInput=ol(t.input)}}},il="usehead"
;function sl(e={}){
e.domDelayFn=e.domDelayFn||(e=>yr((()=>setTimeout((()=>e()),0))));const t=he(e)
;return t.use(al),t.install=function(e){return{install(t){
rl&&(t.config.globalProperties.$unhead=e,
t.config.globalProperties.$head=e,t.provide(il,e))}}.install}(t),t}
const ll="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},cl="__unhead_injection_handler__"
;function ul(){if(cl in ll)return ll[cl]();const e=la(il);return e||pe}
function dl(e,t={}){const n=t.head||ul()
;if(n)return n.ssr?n.push(e,t):function(e,t,n={}){const r=Fn(!1),o=Fn({})
;Na((()=>{o.value=r.value?{}:ol(t)}));const a=e.push(o.value,n);Ma(o,(e=>{
a.patch(e)}));_i()&&(yo((()=>{a.dispose()})),co((()=>{r.value=!0})),lo((()=>{
r.value=!1})));return a}(n,e,t)}
const pl="/* basic theme */\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: #2a2f45;\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: #3ea6ff;\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-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: #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",hl=[["--theme-","--scalar-"],["--sidebar-","--scalar-sidebar-"]],fl=hl.map((([e])=>e))
;function ml(){if(typeof window>"u")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 n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}
const gl={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",none:""},vl={
alternate:"/* basic theme */\n:root {\n  --scalar-text-decoration: underline;\n  --scalar-text-decoration-hover: underline;\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: #2a2f45;\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.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/* 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-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  --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/* 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.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.light-mode *::selection {\n  background-color: color-mix(\n    in srgb,\n    var(--scalar-color-blue),\n    transparent 70%\n  );\n}\n.dark-mode *::selection {\n  background-color: color-mix(\n    in srgb,\n    var(--scalar-color-blue),\n    transparent 50%\n  );\n}\n",
default:pl,
moon:".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: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n    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: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n    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(\n    in srgb,\n    var(--scalar-color-accent),\n    transparent 80%\n  );\n}\n",
elysiajs:".light-mode {\n  --scalar-color-1: #2a2f45;\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(\n    100deg,\n    #fff 0%,\n    #fff 0%,\n    transparent 2%,\n    transparent 12%,\n    #fff 17%\n  );\n  --stripesDark: repeating-linear-gradient(\n    100deg,\n    #000 0%,\n    #000 0%,\n    transparent 10%,\n    transparent 12%,\n    #000 17%\n  );\n  --rainbow: repeating-linear-gradient(\n    100deg,\n    #60a5fa 10%,\n    #e879f9 16%,\n    #5eead4 22%,\n    #60a5fa 30%\n  );\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(\n    ellipse at 100% 0%,\n    black 40%,\n    transparent 70%\n  );\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",
fastify:".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,\n    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: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n    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",
purple:"/* 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: #2a2f45;\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(\n    in srgb,\n    var(--scalar-color-accent),\n    transparent 70%\n  );\n}\n.dark-mode *::selection {\n  background-color: color-mix(\n    in srgb,\n    var(--scalar-color-accent),\n    transparent 50%\n  );\n}\n",
solarized:".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,\n    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: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n    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(\n    in srgb,\n    var(--scalar-color-accent),\n    transparent 70%\n  );\n}\n",
bluePlanet:"/* 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(--header-background-1);\n    backdrop-filter: blur(12px);\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(\n    to right bottom,\n    rgb(255, 255, 255) 30%,\n    rgba(255, 255, 255, 0.38)\n  );\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),\n    var(--c7);\n  --solid-wrap: var(--solid), var(--c1);\n  --trans: 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: radial-gradient(circle, var(--trans)),\n    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: radial-gradient(\n      2px 2px at 20px 30px,\n      var(--star-color2),\n      rgba(0, 0, 0, 0)\n    ),\n    radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(\n      2px 2px at 50px 160px,\n      var(--star-color3),\n      rgba(0, 0, 0, 0)\n    ),\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(\n      2px 2px at 160px 120px,\n      var(--star-color3),\n      rgba(0, 0, 0, 0)\n    );\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(\n    in srgb,\n    var(--scalar-color-blue),\n    transparent 60%\n  );\n}\n",
deepSpace:"/* 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(\n    to right bottom,\n    rgb(255, 255, 255) 30%,\n    rgba(255, 255, 255, 0.38)\n  );\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(\n    100deg,\n    #000 0%,\n    #000 7%,\n    transparent 10%,\n    transparent 12%,\n    #000 16%\n  );\n  --rainbow: repeating-linear-gradient(\n    100deg,\n    #fff 10%,\n    #fff 16%,\n    #fff 22%,\n    #fff 30%\n  );\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(\n    ellipse at 100% 0%,\n    black 40%,\n    transparent 70%\n  );\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: radial-gradient(\n      2px 2px at 20px 30px,\n      var(--star-color2),\n      rgba(0, 0, 0, 0)\n    ),\n    radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n    radial-gradient(\n      2px 2px at 50px 160px,\n      var(--star-color3),\n      rgba(0, 0, 0, 0)\n    ),\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(\n      2px 2px at 160px 120px,\n      var(--star-color3),\n      rgba(0, 0, 0, 0)\n    );\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(\n    in srgb,\n    var(--scalar-color-blue),\n    transparent 70%\n  );\n}\n.dark-mode *::selection {\n  background-color: color-mix(\n    in srgb,\n    var(--scalar-color-blue),\n    transparent 50%\n  );\n}\n",
saturn:"/* 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: #2a2f45;\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(\n    to right bottom,\n    rgb(255, 255, 255) 30%,\n    rgba(255, 255, 255, 0.38)\n  );\n  -webkit-background-clip: text;\n  background-clip: text;\n}\n.light-mode *::selection {\n  background-color: color-mix(\n    in srgb,\n    var(--scalar-color-accent),\n    transparent 70%\n  );\n}\n.dark-mode *::selection {\n  background-color: color-mix(\n    in srgb,\n    var(--scalar-color-accent),\n    transparent 50%\n  );\n}\n",
kepler:"/* basic theme */\n.light-mode {\n  --scalar-color-1: #2a2f45;\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(\n    to right bottom,\n    rgb(255, 255, 255) 30%,\n    rgba(255, 255, 255, 0.38)\n  );\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(--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(\n    ellipse 80% 50% at 50% -20%,\n    rgba(120, 119, 198, 0.3),\n    transparent\n  );\n  height: 100vh;\n}\n.light-mode *::selection {\n  background-color: color-mix(\n    in srgb,\n    var(--scalar-color-accent),\n    transparent 70%\n  );\n}\n.dark-mode *::selection {\n  background-color: color-mix(\n    in srgb,\n    var(--scalar-color-accent),\n    transparent 50%\n  );\n}\n",
mars:"/* 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(\n    to right bottom,\n    rgb(255, 255, 255) 30%,\n    rgba(255, 255, 255, 0.38)\n  );\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(\n    in srgb,\n    var(--scalar-color-red),\n    transparent 75%\n  );\n}\n"
},bl=e=>"none"===e?"":vl[e||"default"]??pl;var yl,Ol,wl
;(Ol=yl||(yl={})).assertEqual=e=>e,
Ol.assertIs=function(e){},Ol.assertNever=function(e){throw new Error
},Ol.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t
},Ol.getValidEnumValues=e=>{
const t=Ol.objectKeys(e).filter((t=>"number"!=typeof e[e[t]])),n={}
;for(const r of t)n[r]=e[r];return Ol.objectValues(n)
},Ol.objectValues=e=>Ol.objectKeys(e).map((function(t){return e[t]
})),Ol.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{
const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n)
;return t},Ol.find=(e,t)=>{for(const n of e)if(t(n))return n
},Ol.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,
Ol.joinValues=function(e,t=" | "){
return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(t)
},Ol.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t,
(wl||(wl={})).mergeShapes=(e,t)=>({...e,...t})
;const xl=yl.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),kl=e=>{
switch(typeof e){case"undefined":return xl.undefined;case"string":
return xl.string;case"number":return isNaN(e)?xl.nan:xl.number;case"boolean":
return xl.boolean;case"function":return xl.function;case"bigint":
return xl.bigint;case"symbol":return xl.symbol;case"object":
return Array.isArray(e)?xl.array:null===e?xl.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?xl.promise:"undefined"!=typeof Map&&e instanceof Map?xl.map:"undefined"!=typeof Set&&e instanceof Set?xl.set:"undefined"!=typeof Date&&e instanceof Date?xl.date:xl.object
;default:return xl.unknown}
},Sl=yl.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 _l extends Error{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}get errors(){return this.issues}format(e){
const t=e||function(e){return e.message},n={_errors:[]},r=e=>{
for(const o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(r);else if("invalid_return_type"===o.code)r(o.returnTypeError);else if("invalid_arguments"===o.code)r(o.argumentsError);else if(0===o.path.length)n._errors.push(t(o));else{
let e=n,r=0;for(;r<o.path.length;){const n=o.path[r]
;r===o.path.length-1?(e[n]=e[n]||{_errors:[]
},e[n]._errors.push(t(o))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),
n}static assert(e){if(!(e instanceof _l))throw new Error(`Not a ZodError: ${e}`)
}toString(){return this.message}get message(){
return JSON.stringify(this.issues,yl.jsonStringifyReplacer,2)}get isEmpty(){
return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[]
;for(const r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],
t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}
get formErrors(){return this.flatten()}}_l.create=e=>new _l(e);const El=(e,t)=>{
let n;switch(e.code){case Sl.invalid_type:
n=e.received===xl.undefined?"Required":`Expected ${e.expected}, received ${e.received}`
;break;case Sl.invalid_literal:
n=`Invalid literal value, expected ${JSON.stringify(e.expected,yl.jsonStringifyReplacer)}`
;break;case Sl.unrecognized_keys:
n=`Unrecognized key(s) in object: ${yl.joinValues(e.keys,", ")}`;break
;case Sl.invalid_union:n="Invalid input";break
;case Sl.invalid_union_discriminator:
n=`Invalid discriminator value. Expected ${yl.joinValues(e.options)}`;break
;case Sl.invalid_enum_value:
n=`Invalid enum value. Expected ${yl.joinValues(e.options)}, received '${e.received}'`
;break;case Sl.invalid_arguments:n="Invalid function arguments";break
;case Sl.invalid_return_type:n="Invalid function return type";break
;case Sl.invalid_date:n="Invalid date";break;case Sl.invalid_string:
"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,
"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:yl.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid"
;break;case Sl.too_small:
n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input"
;break;case Sl.too_big:
n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input"
;break;case Sl.custom:n="Invalid input";break
;case Sl.invalid_intersection_types:n="Intersection results could not be merged"
;break;case Sl.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`
;break;case Sl.not_finite:n="Number must be finite";break;default:
n=t.defaultError,yl.assertNever(e)}return{message:n}};let Tl=El;function Cl(){
return Tl}const Al=e=>{
const{data:t,path:n,errorMaps:r,issueData:o}=e,a=[...n,...o.path||[]],i={...o,
path:a};if(void 0!==o.message)return{...o,path:a,message:o.message};let s=""
;const l=r.filter((e=>!!e)).slice().reverse();for(const c of l)s=c(i,{data:t,
defaultError:s}).message;return{...o,path:a,message:s}};function Pl(e,t){
const n=Cl(),r=Al({issueData:t,data:e.data,path:e.path,
errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===El?void 0:El].filter((e=>!!e))
});e.common.issues.push(r)}class Dl{constructor(){this.value="valid"}dirty(){
"valid"===this.value&&(this.value="dirty")}abort(){
"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[]
;for(const r of t){if("aborted"===r.status)return Rl
;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}
static async mergeObjectAsync(e,t){const n=[];for(const r of t){
const e=await r.key,t=await r.value;n.push({key:e,value:t})}
return Dl.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={}
;for(const r of t){const{key:t,value:o}=r;if("aborted"===t.status)return Rl
;if("aborted"===o.status)return Rl
;"dirty"===t.status&&e.dirty(),"dirty"===o.status&&e.dirty(),
"__proto__"===t.value||void 0===o.value&&!r.alwaysSet||(n[t.value]=o.value)}
return{status:e.value,value:n}}}const Rl=Object.freeze({status:"aborted"
}),$l=e=>({status:"dirty",value:e}),Nl=e=>({status:"valid",value:e
}),Ml=e=>"aborted"===e.status,Il=e=>"dirty"===e.status,Ll=e=>"valid"===e.status,jl=e=>"undefined"!=typeof Promise&&e instanceof Promise
;function Bl(e,t,n,r){
if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it")
;return t.get(e)}function Ul(e,t,n,r,o){
if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it")
;return t.set(e,n),n}var Ql,Fl,zl,ql
;"function"==typeof SuppressedError&&SuppressedError,
(Fl=Ql||(Ql={})).errToObj=e=>"string"==typeof e?{message:e
}:e||{},Fl.toString=e=>"string"==typeof e?e:null==e?void 0:e.message;class Hl{
constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,
this._key=r}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 Vl=(e,t)=>{if(Ll(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 _l(e.common.issues);return this._error=t,this._error}}}
;function Zl(e){if(!e)return{}
;const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e
;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.')
;if(t)return{errorMap:t,description:o};return{errorMap:(t,o)=>{var a,i
;const{message:s}=e;return"invalid_enum_value"===t.code?{
message:null!=s?s:o.defaultError}:void 0===o.data?{
message:null!==(a=null!=s?s:r)&&void 0!==a?a:o.defaultError
}:"invalid_type"!==t.code?{message:o.defaultError}:{
message:null!==(i=null!=s?s:n)&&void 0!==i?i:o.defaultError}},description:o}}
class Wl{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)}get description(){
return this._def.description}_getType(e){return kl(e.data)}_getOrReturnCtx(e,t){
return t||{common:e.parent.common,data:e.data,parsedType:kl(e.data),
schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}
_processInputParams(e){return{status:new Dl,ctx:{common:e.parent.common,
data:e.data,parsedType:kl(e.data),schemaErrorMap:this._def.errorMap,path:e.path,
parent:e.parent}}}_parseSync(e){const t=this._parse(e)
;if(jl(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 n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}
safeParse(e,t){var n;const r={common:{issues:[],
async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,
contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],
schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:kl(e)
},o=this._parseSync({data:e,path:r.path,parent:r});return Vl(r,o)}
async parseAsync(e,t){const n=await this.safeParseAsync(e,t)
;if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={
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:kl(e)},r=this._parse({data:e,path:n.path,parent:n
}),o=await(jl(r)?r:Promise.resolve(r));return Vl(n,o)}refine(e,t){
const n=e=>"string"==typeof t||void 0===t?{message:t
}:"function"==typeof t?t(e):t;return this._refinement(((t,r)=>{
const o=e(t),a=()=>r.addIssue({code:Sl.custom,...n(t)})
;return"undefined"!=typeof Promise&&o instanceof Promise?o.then((e=>!!e||(a(),
!1))):!!o||(a(),!1)}))}refinement(e,t){
return this._refinement(((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),
!1)))}_refinement(e){return new Fc({schema:this,typeName:eu.ZodEffects,effect:{
type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}
optional(){return zc.create(this,this._def)}nullable(){
return qc.create(this,this._def)}nullish(){return this.nullable().optional()}
array(){return kc.create(this,this._def)}promise(){
return Qc.create(this,this._def)}or(e){return Ec.create([this,e],this._def)}
and(e){return Pc.create(this,e,this._def)}transform(e){return new Fc({
...Zl(this._def),schema:this,typeName:eu.ZodEffects,effect:{type:"transform",
transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new Hc({
...Zl(this._def),innerType:this,defaultValue:t,typeName:eu.ZodDefault})}brand(){
return new Xc({typeName:eu.ZodBranded,type:this,...Zl(this._def)})}catch(e){
const t="function"==typeof e?e:()=>e;return new Vc({...Zl(this._def),
innerType:this,catchValue:t,typeName:eu.ZodCatch})}describe(e){
return new(0,this.constructor)({...this._def,description:e})}pipe(e){
return Gc.create(this,e)}readonly(){return Yc.create(this)}isOptional(){
return this.safeParse(void 0).success}isNullable(){
return this.safeParse(null).success}}
const Xl=/^c[^\s-]{8,}$/i,Gl=/^[0-9a-z]+$/,Yl=/^[0-9A-HJKMNP-TV-Z]{26}$/,Kl=/^[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,Jl=/^[a-z0-9_-]{21}$/i,ec=/^[-+]?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)?)??$/,tc=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i
;let nc
;const rc=/^(?:(?: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])$/,oc=/^(([a-f0-9]{1,4}:){7}|::([a-f0-9]{1,4}:){0,6}|([a-f0-9]{1,4}:){1}:([a-f0-9]{1,4}:){0,5}|([a-f0-9]{1,4}:){2}:([a-f0-9]{1,4}:){0,4}|([a-f0-9]{1,4}:){3}:([a-f0-9]{1,4}:){0,3}|([a-f0-9]{1,4}:){4}:([a-f0-9]{1,4}:){0,2}|([a-f0-9]{1,4}:){5}:([a-f0-9]{1,4}:){0,1})([a-f0-9]{1,4}|(((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2}))\.){3}((25[0-5])|(2[0-4][0-9])|(1[0-9]{2})|([0-9]{1,2})))$/,ac=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ic="((\\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])))",sc=new RegExp(`^${ic}$`)
;function lc(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 cc(e){let t=`${ic}T${lc(e)}`;const n=[]
;return n.push(e.local?"Z?":"Z"),
e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,
new RegExp(`^${t}$`)}class uc extends Wl{_parse(e){
this._def.coerce&&(e.data=String(e.data));if(this._getType(e)!==xl.string){
const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type,
expected:xl.string,received:t.parsedType}),Rl}const t=new Dl;let n
;for(const i of this._def.checks)if("min"===i.kind)e.data.length<i.value&&(n=this._getOrReturnCtx(e,n),
Pl(n,{code:Sl.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!1,
message:i.message
}),t.dirty());else if("max"===i.kind)e.data.length>i.value&&(n=this._getOrReturnCtx(e,n),
Pl(n,{code:Sl.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,
message:i.message}),t.dirty());else if("length"===i.kind){
const r=e.data.length>i.value,o=e.data.length<i.value
;(r||o)&&(n=this._getOrReturnCtx(e,n),r?Pl(n,{code:Sl.too_big,maximum:i.value,
type:"string",inclusive:!0,exact:!0,message:i.message}):o&&Pl(n,{
code:Sl.too_small,minimum:i.value,type:"string",inclusive:!0,exact:!0,
message:i.message}),t.dirty())
}else if("email"===i.kind)tc.test(e.data)||(n=this._getOrReturnCtx(e,n),Pl(n,{
validation:"email",code:Sl.invalid_string,message:i.message
}),t.dirty());else if("emoji"===i.kind)nc||(nc=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),
nc.test(e.data)||(n=this._getOrReturnCtx(e,n),Pl(n,{validation:"emoji",
code:Sl.invalid_string,message:i.message
}),t.dirty());else if("uuid"===i.kind)Kl.test(e.data)||(n=this._getOrReturnCtx(e,n),
Pl(n,{validation:"uuid",code:Sl.invalid_string,message:i.message
}),t.dirty());else if("nanoid"===i.kind)Jl.test(e.data)||(n=this._getOrReturnCtx(e,n),
Pl(n,{validation:"nanoid",code:Sl.invalid_string,message:i.message
}),t.dirty());else if("cuid"===i.kind)Xl.test(e.data)||(n=this._getOrReturnCtx(e,n),
Pl(n,{validation:"cuid",code:Sl.invalid_string,message:i.message
}),t.dirty());else if("cuid2"===i.kind)Gl.test(e.data)||(n=this._getOrReturnCtx(e,n),
Pl(n,{validation:"cuid2",code:Sl.invalid_string,message:i.message
}),t.dirty());else if("ulid"===i.kind)Yl.test(e.data)||(n=this._getOrReturnCtx(e,n),
Pl(n,{validation:"ulid",code:Sl.invalid_string,message:i.message
}),t.dirty());else if("url"===i.kind)try{new URL(e.data)}catch(a){
n=this._getOrReturnCtx(e,n),Pl(n,{validation:"url",code:Sl.invalid_string,
message:i.message}),t.dirty()}else if("regex"===i.kind){i.regex.lastIndex=0
;i.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),Pl(n,{validation:"regex",
code:Sl.invalid_string,message:i.message}),t.dirty())
}else if("trim"===i.kind)e.data=e.data.trim();else if("includes"===i.kind)e.data.includes(i.value,i.position)||(n=this._getOrReturnCtx(e,n),
Pl(n,{code:Sl.invalid_string,validation:{includes:i.value,position:i.position},
message:i.message
}),t.dirty());else if("toLowerCase"===i.kind)e.data=e.data.toLowerCase();else if("toUpperCase"===i.kind)e.data=e.data.toUpperCase();else if("startsWith"===i.kind)e.data.startsWith(i.value)||(n=this._getOrReturnCtx(e,n),
Pl(n,{code:Sl.invalid_string,validation:{startsWith:i.value},message:i.message
}),
t.dirty());else if("endsWith"===i.kind)e.data.endsWith(i.value)||(n=this._getOrReturnCtx(e,n),
Pl(n,{code:Sl.invalid_string,validation:{endsWith:i.value},message:i.message
}),t.dirty());else if("datetime"===i.kind){
cc(i).test(e.data)||(n=this._getOrReturnCtx(e,n),Pl(n,{code:Sl.invalid_string,
validation:"datetime",message:i.message}),t.dirty())}else if("date"===i.kind){
sc.test(e.data)||(n=this._getOrReturnCtx(e,n),Pl(n,{code:Sl.invalid_string,
validation:"date",message:i.message}),t.dirty())}else if("time"===i.kind){
new RegExp(`^${lc(i)}$`).test(e.data)||(n=this._getOrReturnCtx(e,n),Pl(n,{
code:Sl.invalid_string,validation:"time",message:i.message}),t.dirty())
}else"duration"===i.kind?ec.test(e.data)||(n=this._getOrReturnCtx(e,n),Pl(n,{
validation:"duration",code:Sl.invalid_string,message:i.message
}),t.dirty()):"ip"===i.kind?(r=e.data,
("v4"!==(o=i.version)&&o||!rc.test(r))&&("v6"!==o&&o||!oc.test(r))&&(n=this._getOrReturnCtx(e,n),
Pl(n,{validation:"ip",code:Sl.invalid_string,message:i.message
}),t.dirty())):"base64"===i.kind?ac.test(e.data)||(n=this._getOrReturnCtx(e,n),
Pl(n,{validation:"base64",code:Sl.invalid_string,message:i.message
}),t.dirty()):yl.assertNever(i);var r,o;return{status:t.value,value:e.data}}
_regex(e,t,n){return this.refinement((t=>e.test(t)),{validation:t,
code:Sl.invalid_string,...Ql.errToObj(n)})}_addCheck(e){return new uc({
...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({
kind:"email",...Ql.errToObj(e)})}url(e){return this._addCheck({kind:"url",
...Ql.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",
...Ql.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...Ql.errToObj(e)
})}nanoid(e){return this._addCheck({kind:"nanoid",...Ql.errToObj(e)})}cuid(e){
return this._addCheck({kind:"cuid",...Ql.errToObj(e)})}cuid2(e){
return this._addCheck({kind:"cuid2",...Ql.errToObj(e)})}ulid(e){
return this._addCheck({kind:"ulid",...Ql.errToObj(e)})}base64(e){
return this._addCheck({kind:"base64",...Ql.errToObj(e)})}ip(e){
return this._addCheck({kind:"ip",...Ql.errToObj(e)})}datetime(e){var t,n
;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!==(n=null==e?void 0:e.local)&&void 0!==n&&n,
...Ql.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,
...Ql.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({
kind:"duration",...Ql.errToObj(e)})}regex(e,t){return this._addCheck({
kind:"regex",regex:e,...Ql.errToObj(t)})}includes(e,t){return this._addCheck({
kind:"includes",value:e,position:null==t?void 0:t.position,
...Ql.errToObj(null==t?void 0:t.message)})}startsWith(e,t){
return this._addCheck({kind:"startsWith",value:e,...Ql.errToObj(t)})}
endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...Ql.errToObj(t)})
}min(e,t){return this._addCheck({kind:"min",value:e,...Ql.errToObj(t)})}
max(e,t){return this._addCheck({kind:"max",value:e,...Ql.errToObj(t)})}
length(e,t){return this._addCheck({kind:"length",value:e,...Ql.errToObj(t)})}
nonempty(e){return this.min(1,Ql.errToObj(e))}trim(){return new uc({
...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){
return new uc({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}
toUpperCase(){return new uc({...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 isBase64(){
return!!this._def.checks.find((e=>"base64"===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 dc(e,t){
const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r
;return parseInt(e.toFixed(o).replace(".",""))%parseInt(t.toFixed(o).replace(".",""))/Math.pow(10,o)
}uc.create=e=>{var t;return new uc({checks:[],typeName:eu.ZodString,
coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...Zl(e)})}
;class pc extends Wl{constructor(){
super(...arguments),this.min=this.gte,this.max=this.lte,
this.step=this.multipleOf}_parse(e){this._def.coerce&&(e.data=Number(e.data))
;if(this._getType(e)!==xl.number){const t=this._getOrReturnCtx(e);return Pl(t,{
code:Sl.invalid_type,expected:xl.number,received:t.parsedType}),Rl}let t
;const n=new Dl
;for(const r of this._def.checks)if("int"===r.kind)yl.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),
Pl(t,{code:Sl.invalid_type,expected:"integer",received:"float",message:r.message
}),n.dirty());else if("min"===r.kind){
(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),
Pl(t,{code:Sl.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,
exact:!1,message:r.message}),n.dirty())}else if("max"===r.kind){
(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),
Pl(t,{code:Sl.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,
exact:!1,message:r.message}),n.dirty())
}else"multipleOf"===r.kind?0!==dc(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),
Pl(t,{code:Sl.not_multiple_of,multipleOf:r.value,message:r.message
}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),
Pl(t,{code:Sl.not_finite,message:r.message}),n.dirty()):yl.assertNever(r)
;return{status:n.value,value:e.data}}gte(e,t){
return this.setLimit("min",e,!0,Ql.toString(t))}gt(e,t){
return this.setLimit("min",e,!1,Ql.toString(t))}lte(e,t){
return this.setLimit("max",e,!0,Ql.toString(t))}lt(e,t){
return this.setLimit("max",e,!1,Ql.toString(t))}setLimit(e,t,n,r){
return new pc({...this._def,checks:[...this._def.checks,{kind:e,value:t,
inclusive:n,message:Ql.toString(r)}]})}_addCheck(e){return new pc({...this._def,
checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",
message:Ql.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,
inclusive:!1,message:Ql.toString(e)})}negative(e){return this._addCheck({
kind:"max",value:0,inclusive:!1,message:Ql.toString(e)})}nonpositive(e){
return this._addCheck({kind:"max",value:0,inclusive:!0,message:Ql.toString(e)})}
nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,
message:Ql.toString(e)})}multipleOf(e,t){return this._addCheck({
kind:"multipleOf",value:e,message:Ql.toString(t)})}finite(e){
return this._addCheck({kind:"finite",message:Ql.toString(e)})}safe(e){
return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,
message:Ql.toString(e)})._addCheck({kind:"max",inclusive:!0,
value:Number.MAX_SAFE_INTEGER,message:Ql.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((e=>"int"===e.kind||"multipleOf"===e.kind&&yl.isInteger(e.value)))
}get isFinite(){let e=null,t=null;for(const n of this._def.checks){
if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0
;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)
}return Number.isFinite(t)&&Number.isFinite(e)}}pc.create=e=>new pc({checks:[],
typeName:eu.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...Zl(e)})
;class hc extends Wl{constructor(){
super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){
this._def.coerce&&(e.data=BigInt(e.data));if(this._getType(e)!==xl.bigint){
const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type,
expected:xl.bigint,received:t.parsedType}),Rl}let t;const n=new Dl
;for(const r of this._def.checks)if("min"===r.kind){
(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),
Pl(t,{code:Sl.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,
message:r.message}),n.dirty())}else if("max"===r.kind){
(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),
Pl(t,{code:Sl.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,
message:r.message}),n.dirty())
}else"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),
Pl(t,{code:Sl.not_multiple_of,multipleOf:r.value,message:r.message
}),n.dirty()):yl.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){
return this.setLimit("min",e,!0,Ql.toString(t))}gt(e,t){
return this.setLimit("min",e,!1,Ql.toString(t))}lte(e,t){
return this.setLimit("max",e,!0,Ql.toString(t))}lt(e,t){
return this.setLimit("max",e,!1,Ql.toString(t))}setLimit(e,t,n,r){
return new hc({...this._def,checks:[...this._def.checks,{kind:e,value:t,
inclusive:n,message:Ql.toString(r)}]})}_addCheck(e){return new hc({...this._def,
checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",
value:BigInt(0),inclusive:!1,message:Ql.toString(e)})}negative(e){
return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,
message:Ql.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",
value:BigInt(0),inclusive:!0,message:Ql.toString(e)})}nonnegative(e){
return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,
message:Ql.toString(e)})}multipleOf(e,t){return this._addCheck({
kind:"multipleOf",value:e,message:Ql.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}}hc.create=e=>{var t;return new hc({checks:[],typeName:eu.ZodBigInt,
coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...Zl(e)})}
;class fc extends Wl{_parse(e){this._def.coerce&&(e.data=Boolean(e.data))
;if(this._getType(e)!==xl.boolean){const t=this._getOrReturnCtx(e);return Pl(t,{
code:Sl.invalid_type,expected:xl.boolean,received:t.parsedType}),Rl}
return Nl(e.data)}}fc.create=e=>new fc({typeName:eu.ZodBoolean,
coerce:(null==e?void 0:e.coerce)||!1,...Zl(e)});class mc extends Wl{_parse(e){
this._def.coerce&&(e.data=new Date(e.data));if(this._getType(e)!==xl.date){
const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type,
expected:xl.date,received:t.parsedType}),Rl}if(isNaN(e.data.getTime())){
return Pl(this._getOrReturnCtx(e),{code:Sl.invalid_date}),Rl}const t=new Dl
;let n
;for(const r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),
Pl(n,{code:Sl.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,
type:"date"
}),t.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),
Pl(n,{code:Sl.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,
type:"date"}),t.dirty()):yl.assertNever(r);return{status:t.value,
value:new Date(e.data.getTime())}}_addCheck(e){return new mc({...this._def,
checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",
value:e.getTime(),message:Ql.toString(t)})}max(e,t){return this._addCheck({
kind:"max",value:e.getTime(),message:Ql.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}}mc.create=e=>new mc({checks:[],
coerce:(null==e?void 0:e.coerce)||!1,typeName:eu.ZodDate,...Zl(e)})
;class gc extends Wl{_parse(e){if(this._getType(e)!==xl.symbol){
const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type,
expected:xl.symbol,received:t.parsedType}),Rl}return Nl(e.data)}}
gc.create=e=>new gc({typeName:eu.ZodSymbol,...Zl(e)});class vc extends Wl{
_parse(e){if(this._getType(e)!==xl.undefined){const t=this._getOrReturnCtx(e)
;return Pl(t,{code:Sl.invalid_type,expected:xl.undefined,received:t.parsedType
}),Rl}return Nl(e.data)}}vc.create=e=>new vc({typeName:eu.ZodUndefined,...Zl(e)
});class bc extends Wl{_parse(e){if(this._getType(e)!==xl.null){
const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type,
expected:xl.null,received:t.parsedType}),Rl}return Nl(e.data)}}
bc.create=e=>new bc({typeName:eu.ZodNull,...Zl(e)});class yc extends Wl{
constructor(){super(...arguments),this._any=!0}_parse(e){return Nl(e.data)}}
yc.create=e=>new yc({typeName:eu.ZodAny,...Zl(e)});class Oc extends Wl{
constructor(){super(...arguments),this._unknown=!0}_parse(e){return Nl(e.data)}}
Oc.create=e=>new Oc({typeName:eu.ZodUnknown,...Zl(e)});class wc extends Wl{
_parse(e){const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type,
expected:xl.never,received:t.parsedType}),Rl}}wc.create=e=>new wc({
typeName:eu.ZodNever,...Zl(e)});class xc extends Wl{_parse(e){
if(this._getType(e)!==xl.undefined){const t=this._getOrReturnCtx(e)
;return Pl(t,{code:Sl.invalid_type,expected:xl.void,received:t.parsedType}),Rl}
return Nl(e.data)}}xc.create=e=>new xc({typeName:eu.ZodVoid,...Zl(e)})
;class kc extends Wl{_parse(e){
const{ctx:t,status:n}=this._processInputParams(e),r=this._def
;if(t.parsedType!==xl.array)return Pl(t,{code:Sl.invalid_type,expected:xl.array,
received:t.parsedType}),Rl;if(null!==r.exactLength){
const e=t.data.length>r.exactLength.value,o=t.data.length<r.exactLength.value
;(e||o)&&(Pl(t,{code:e?Sl.too_big:Sl.too_small,
minimum:o?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,
type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}
if(null!==r.minLength&&t.data.length<r.minLength.value&&(Pl(t,{
code:Sl.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,
message:r.minLength.message
}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(Pl(t,{
code:Sl.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,
message:r.maxLength.message
}),n.dirty()),t.common.async)return Promise.all([...t.data].map(((e,n)=>r.type._parseAsync(new Hl(t,e,t.path,n))))).then((e=>Dl.mergeArray(n,e)))
;const o=[...t.data].map(((e,n)=>r.type._parseSync(new Hl(t,e,t.path,n))))
;return Dl.mergeArray(n,o)}get element(){return this._def.type}min(e,t){
return new kc({...this._def,minLength:{value:e,message:Ql.toString(t)}})}
max(e,t){return new kc({...this._def,maxLength:{value:e,message:Ql.toString(t)}
})}length(e,t){return new kc({...this._def,exactLength:{value:e,
message:Ql.toString(t)}})}nonempty(e){return this.min(1,e)}}function Sc(e){
if(e instanceof _c){const t={};for(const n in e.shape){const r=e.shape[n]
;t[n]=zc.create(Sc(r))}return new _c({...e._def,shape:()=>t})}
return e instanceof kc?new kc({...e._def,type:Sc(e.element)
}):e instanceof zc?zc.create(Sc(e.unwrap())):e instanceof qc?qc.create(Sc(e.unwrap())):e instanceof Dc?Dc.create(e.items.map((e=>Sc(e)))):e
}kc.create=(e,t)=>new kc({type:e,minLength:null,maxLength:null,exactLength:null,
typeName:eu.ZodArray,...Zl(t)});class _c extends Wl{constructor(){
super(...arguments),
this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}
_getCached(){if(null!==this._cached)return this._cached
;const e=this._def.shape(),t=yl.objectKeys(e);return this._cached={shape:e,
keys:t}}_parse(e){if(this._getType(e)!==xl.object){
const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type,
expected:xl.object,received:t.parsedType}),Rl}
const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),a=[]
;if(!(this._def.catchall instanceof wc&&"strip"===this._def.unknownKeys))for(const s in n.data)o.includes(s)||a.push(s)
;const i=[];for(const s of o){const e=r[s],t=n.data[s];i.push({key:{
status:"valid",value:s},value:e._parse(new Hl(n,t,n.path,s)),
alwaysSet:s in n.data})}if(this._def.catchall instanceof wc){
const e=this._def.unknownKeys;if("passthrough"===e)for(const t of a)i.push({
key:{status:"valid",value:t},value:{status:"valid",value:n.data[t]}
});else if("strict"===e)a.length>0&&(Pl(n,{code:Sl.unrecognized_keys,keys:a
}),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 a){const r=n.data[t];i.push({
key:{status:"valid",value:t},value:e._parse(new Hl(n,r,n.path,t)),
alwaysSet:t in n.data})}}
return n.common.async?Promise.resolve().then((async()=>{const e=[]
;for(const t of i){const n=await t.key,r=await t.value;e.push({key:n,value:r,
alwaysSet:t.alwaysSet})}return e
})).then((e=>Dl.mergeObjectSync(t,e))):Dl.mergeObjectSync(t,i)}get shape(){
return this._def.shape()}strict(e){return Ql.errToObj,new _c({...this._def,
unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,o,a,i
;const s=null!==(a=null===(o=(r=this._def).errorMap)||void 0===o?void 0:o.call(r,t,n).message)&&void 0!==a?a:n.defaultError
;return"unrecognized_keys"===t.code?{
message:null!==(i=Ql.errToObj(e).message)&&void 0!==i?i:s}:{message:s}}}:{}})}
strip(){return new _c({...this._def,unknownKeys:"strip"})}passthrough(){
return new _c({...this._def,unknownKeys:"passthrough"})}extend(e){
return new _c({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){
return new _c({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,
shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:eu.ZodObject})}
setKey(e,t){return this.augment({[e]:t})}catchall(e){return new _c({
...this._def,catchall:e})}pick(e){const t={}
;return yl.objectKeys(e).forEach((n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])
})),new _c({...this._def,shape:()=>t})}omit(e){const t={}
;return yl.objectKeys(this.shape).forEach((n=>{e[n]||(t[n]=this.shape[n])
})),new _c({...this._def,shape:()=>t})}deepPartial(){return Sc(this)}partial(e){
const t={};return yl.objectKeys(this.shape).forEach((n=>{const r=this.shape[n]
;e&&!e[n]?t[n]=r:t[n]=r.optional()})),new _c({...this._def,shape:()=>t})}
required(e){const t={};return yl.objectKeys(this.shape).forEach((n=>{
if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n]
;for(;e instanceof zc;)e=e._def.innerType;t[n]=e}})),new _c({...this._def,
shape:()=>t})}keyof(){return jc(yl.objectKeys(this.shape))}}
_c.create=(e,t)=>new _c({shape:()=>e,unknownKeys:"strip",catchall:wc.create(),
typeName:eu.ZodObject,...Zl(t)}),_c.strictCreate=(e,t)=>new _c({shape:()=>e,
unknownKeys:"strict",catchall:wc.create(),typeName:eu.ZodObject,...Zl(t)
}),_c.lazycreate=(e,t)=>new _c({shape:e,unknownKeys:"strip",
catchall:wc.create(),typeName:eu.ZodObject,...Zl(t)});class Ec extends Wl{
_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options
;if(t.common.async)return Promise.all(n.map((async e=>{const n={...t,common:{
...t.common,issues:[]},parent:null};return{result:await e._parseAsync({
data:t.data,path:t.path,parent:n}),ctx:n}}))).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 n=e.map((e=>new _l(e.ctx.common.issues)));return Pl(t,{
code:Sl.invalid_union,unionErrors:n}),Rl}));{let e;const r=[];for(const a of n){
const n={...t,common:{...t.common,issues:[]},parent:null},o=a._parseSync({
data:t.data,path:t.path,parent:n});if("valid"===o.status)return o
;"dirty"!==o.status||e||(e={result:o,ctx:n
}),n.common.issues.length&&r.push(n.common.issues)}
if(e)return t.common.issues.push(...e.ctx.common.issues),e.result
;const o=r.map((e=>new _l(e)));return Pl(t,{code:Sl.invalid_union,unionErrors:o
}),Rl}}get options(){return this._def.options}}Ec.create=(e,t)=>new Ec({
options:e,typeName:eu.ZodUnion,...Zl(t)})
;const Tc=e=>e instanceof Ic?Tc(e.schema):e instanceof Fc?Tc(e.innerType()):e instanceof Lc?[e.value]:e instanceof Bc?e.options:e instanceof Uc?yl.objectValues(e.enum):e instanceof Hc?Tc(e._def.innerType):e instanceof vc?[void 0]:e instanceof bc?[null]:e instanceof zc?[void 0,...Tc(e.unwrap())]:e instanceof qc?[null,...Tc(e.unwrap())]:e instanceof Xc||e instanceof Yc?Tc(e.unwrap()):e instanceof Vc?Tc(e._def.innerType):[]
;class Cc extends Wl{_parse(e){const{ctx:t}=this._processInputParams(e)
;if(t.parsedType!==xl.object)return Pl(t,{code:Sl.invalid_type,
expected:xl.object,received:t.parsedType}),Rl
;const n=this.discriminator,r=t.data[n],o=this.optionsMap.get(r)
;return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t
}):o._parseSync({data:t.data,path:t.path,parent:t}):(Pl(t,{
code:Sl.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),
path:[n]}),Rl)}get discriminator(){return this._def.discriminator}get options(){
return this._def.options}get optionsMap(){return this._def.optionsMap}
static create(e,t,n){const r=new Map;for(const o of t){const t=Tc(o.shape[e])
;if(!t.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`)
;for(const n of t){
if(r.has(n))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(n)}`)
;r.set(n,o)}}return new Cc({typeName:eu.ZodDiscriminatedUnion,discriminator:e,
options:t,optionsMap:r,...Zl(n)})}}function Ac(e,t){const n=kl(e),r=kl(t)
;if(e===t)return{valid:!0,data:e};if(n===xl.object&&r===xl.object){
const n=yl.objectKeys(t),r=yl.objectKeys(e).filter((e=>-1!==n.indexOf(e))),o={
...e,...t};for(const a of r){const n=Ac(e[a],t[a]);if(!n.valid)return{valid:!1}
;o[a]=n.data}return{valid:!0,data:o}}if(n===xl.array&&r===xl.array){
if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){
const o=Ac(e[r],t[r]);if(!o.valid)return{valid:!1};n.push(o.data)}return{
valid:!0,data:n}}return n===xl.date&&r===xl.date&&+e==+t?{valid:!0,data:e}:{
valid:!1}}class Pc extends Wl{_parse(e){
const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{
if(Ml(e)||Ml(r))return Rl;const o=Ac(e.value,r.value)
;return o.valid?((Il(e)||Il(r))&&t.dirty(),{status:t.value,value:o.data
}):(Pl(n,{code:Sl.invalid_intersection_types}),Rl)}
;return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,
path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,
parent:n})]).then((([e,t])=>r(e,t))):r(this._def.left._parseSync({data:n.data,
path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,
parent:n}))}}Pc.create=(e,t,n)=>new Pc({left:e,right:t,
typeName:eu.ZodIntersection,...Zl(n)});class Dc extends Wl{_parse(e){
const{status:t,ctx:n}=this._processInputParams(e)
;if(n.parsedType!==xl.array)return Pl(n,{code:Sl.invalid_type,expected:xl.array,
received:n.parsedType}),Rl;if(n.data.length<this._def.items.length)return Pl(n,{
code:Sl.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,
type:"array"}),Rl;!this._def.rest&&n.data.length>this._def.items.length&&(Pl(n,{
code:Sl.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,
type:"array"}),t.dirty());const r=[...n.data].map(((e,t)=>{
const r=this._def.items[t]||this._def.rest
;return r?r._parse(new Hl(n,e,n.path,t)):null})).filter((e=>!!e))
;return n.common.async?Promise.all(r).then((e=>Dl.mergeArray(t,e))):Dl.mergeArray(t,r)
}get items(){return this._def.items}rest(e){return new Dc({...this._def,rest:e})
}}Dc.create=(e,t)=>{
if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])")
;return new Dc({items:e,typeName:eu.ZodTuple,rest:null,...Zl(t)})}
;class Rc extends Wl{get keySchema(){return this._def.keyType}get valueSchema(){
return this._def.valueType}_parse(e){
const{status:t,ctx:n}=this._processInputParams(e)
;if(n.parsedType!==xl.object)return Pl(n,{code:Sl.invalid_type,
expected:xl.object,received:n.parsedType}),Rl
;const r=[],o=this._def.keyType,a=this._def.valueType
;for(const i in n.data)r.push({key:o._parse(new Hl(n,i,n.path,i)),
value:a._parse(new Hl(n,n.data[i],n.path,i)),alwaysSet:i in n.data})
;return n.common.async?Dl.mergeObjectAsync(t,r):Dl.mergeObjectSync(t,r)}
get element(){return this._def.valueType}static create(e,t,n){
return new Rc(t instanceof Wl?{keyType:e,valueType:t,typeName:eu.ZodRecord,
...Zl(n)}:{keyType:uc.create(),valueType:e,typeName:eu.ZodRecord,...Zl(t)})}}
class $c extends Wl{get keySchema(){return this._def.keyType}get valueSchema(){
return this._def.valueType}_parse(e){
const{status:t,ctx:n}=this._processInputParams(e)
;if(n.parsedType!==xl.map)return Pl(n,{code:Sl.invalid_type,expected:xl.map,
received:n.parsedType}),Rl
;const r=this._def.keyType,o=this._def.valueType,a=[...n.data.entries()].map((([e,t],a)=>({
key:r._parse(new Hl(n,e,n.path,[a,"key"])),
value:o._parse(new Hl(n,t,n.path,[a,"value"]))})));if(n.common.async){
const e=new Map;return Promise.resolve().then((async()=>{for(const n of a){
const r=await n.key,o=await n.value
;if("aborted"===r.status||"aborted"===o.status)return Rl
;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}
return{status:t.value,value:e}}))}{const e=new Map;for(const n of a){
const r=n.key,o=n.value;if("aborted"===r.status||"aborted"===o.status)return Rl
;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}
return{status:t.value,value:e}}}}$c.create=(e,t,n)=>new $c({valueType:t,
keyType:e,typeName:eu.ZodMap,...Zl(n)});class Nc extends Wl{_parse(e){
const{status:t,ctx:n}=this._processInputParams(e)
;if(n.parsedType!==xl.set)return Pl(n,{code:Sl.invalid_type,expected:xl.set,
received:n.parsedType}),Rl;const r=this._def
;null!==r.minSize&&n.data.size<r.minSize.value&&(Pl(n,{code:Sl.too_small,
minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,
message:r.minSize.message
}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(Pl(n,{
code:Sl.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,
message:r.maxSize.message}),t.dirty());const o=this._def.valueType
;function a(e){const n=new Set;for(const r of e){
if("aborted"===r.status)return Rl;"dirty"===r.status&&t.dirty(),n.add(r.value)}
return{status:t.value,value:n}}
const i=[...n.data.values()].map(((e,t)=>o._parse(new Hl(n,e,n.path,t))))
;return n.common.async?Promise.all(i).then((e=>a(e))):a(i)}min(e,t){
return new Nc({...this._def,minSize:{value:e,message:Ql.toString(t)}})}max(e,t){
return new Nc({...this._def,maxSize:{value:e,message:Ql.toString(t)}})}
size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}
Nc.create=(e,t)=>new Nc({valueType:e,minSize:null,maxSize:null,
typeName:eu.ZodSet,...Zl(t)});class Mc extends Wl{constructor(){
super(...arguments),this.validate=this.implement}_parse(e){
const{ctx:t}=this._processInputParams(e)
;if(t.parsedType!==xl.function)return Pl(t,{code:Sl.invalid_type,
expected:xl.function,received:t.parsedType}),Rl;function n(e,n){return Al({
data:e,path:t.path,
errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Cl(),El].filter((e=>!!e)),
issueData:{code:Sl.invalid_arguments,argumentsError:n}})}function r(e,n){
return Al({data:e,path:t.path,
errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,Cl(),El].filter((e=>!!e)),
issueData:{code:Sl.invalid_return_type,returnTypeError:n}})}const o={
errorMap:t.common.contextualErrorMap},a=t.data
;if(this._def.returns instanceof Qc){const e=this
;return Nl((async function(...t){
const i=new _l([]),s=await e._def.args.parseAsync(t,o).catch((e=>{
throw i.addIssue(n(t,e)),i})),l=await Reflect.apply(a,this,s)
;return await e._def.returns._def.type.parseAsync(l,o).catch((e=>{
throw i.addIssue(r(l,e)),i}))}))}{const e=this;return Nl((function(...t){
const i=e._def.args.safeParse(t,o);if(!i.success)throw new _l([n(t,i.error)])
;const s=Reflect.apply(a,this,i.data),l=e._def.returns.safeParse(s,o)
;if(!l.success)throw new _l([r(s,l.error)]);return l.data}))}}parameters(){
return this._def.args}returnType(){return this._def.returns}args(...e){
return new Mc({...this._def,args:Dc.create(e).rest(Oc.create())})}returns(e){
return new Mc({...this._def,returns:e})}implement(e){return this.parse(e)}
strictImplement(e){return this.parse(e)}static create(e,t,n){return new Mc({
args:e||Dc.create([]).rest(Oc.create()),returns:t||Oc.create(),
typeName:eu.ZodFunction,...Zl(n)})}}class Ic extends Wl{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})}}
Ic.create=(e,t)=>new Ic({getter:e,typeName:eu.ZodLazy,...Zl(t)})
;class Lc extends Wl{_parse(e){if(e.data!==this._def.value){
const t=this._getOrReturnCtx(e);return Pl(t,{received:t.data,
code:Sl.invalid_literal,expected:this._def.value}),Rl}return{status:"valid",
value:e.data}}get value(){return this._def.value}}function jc(e,t){
return new Bc({values:e,typeName:eu.ZodEnum,...Zl(t)})}Lc.create=(e,t)=>new Lc({
value:e,typeName:eu.ZodLiteral,...Zl(t)});class Bc extends Wl{constructor(){
super(...arguments),zl.set(this,void 0)}_parse(e){if("string"!=typeof e.data){
const t=this._getOrReturnCtx(e),n=this._def.values;return Pl(t,{
expected:yl.joinValues(n),received:t.parsedType,code:Sl.invalid_type}),Rl}
if(Bl(this,zl)||Ul(this,zl,new Set(this._def.values)),!Bl(this,zl).has(e.data)){
const t=this._getOrReturnCtx(e),n=this._def.values;return Pl(t,{received:t.data,
code:Sl.invalid_enum_value,options:n}),Rl}return Nl(e.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 Bc.create(e,{...this._def,...t})}exclude(e,t=this._def){
return Bc.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}
zl=new WeakMap,Bc.create=jc;class Uc extends Wl{constructor(){
super(...arguments),ql.set(this,void 0)}_parse(e){
const t=yl.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e)
;if(n.parsedType!==xl.string&&n.parsedType!==xl.number){
const e=yl.objectValues(t);return Pl(n,{expected:yl.joinValues(e),
received:n.parsedType,code:Sl.invalid_type}),Rl}
if(Bl(this,ql)||Ul(this,ql,new Set(yl.getValidEnumValues(this._def.values))),
!Bl(this,ql).has(e.data)){const e=yl.objectValues(t);return Pl(n,{
received:n.data,code:Sl.invalid_enum_value,options:e}),Rl}return Nl(e.data)}
get enum(){return this._def.values}}ql=new WeakMap,Uc.create=(e,t)=>new Uc({
values:e,typeName:eu.ZodNativeEnum,...Zl(t)});class Qc extends Wl{unwrap(){
return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e)
;if(t.parsedType!==xl.promise&&!1===t.common.async)return Pl(t,{
code:Sl.invalid_type,expected:xl.promise,received:t.parsedType}),Rl
;const n=t.parsedType===xl.promise?t.data:Promise.resolve(t.data)
;return Nl(n.then((e=>this._def.type.parseAsync(e,{path:t.path,
errorMap:t.common.contextualErrorMap}))))}}Qc.create=(e,t)=>new Qc({type:e,
typeName:eu.ZodPromise,...Zl(t)});class Fc extends Wl{innerType(){
return this._def.schema}sourceType(){
return this._def.schema._def.typeName===eu.ZodEffects?this._def.schema.sourceType():this._def.schema
}_parse(e){
const{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,o={
addIssue:e=>{Pl(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}}
;if(o.addIssue=o.addIssue.bind(o),"preprocess"===r.type){
const e=r.transform(n.data,o)
;if(n.common.async)return Promise.resolve(e).then((async e=>{
if("aborted"===t.value)return Rl;const r=await this._def.schema._parseAsync({
data:e,path:n.path,parent:n})
;return"aborted"===r.status?Rl:"dirty"===r.status||"dirty"===t.value?$l(r.value):r
}));{if("aborted"===t.value)return Rl;const r=this._def.schema._parseSync({
data:e,path:n.path,parent:n})
;return"aborted"===r.status?Rl:"dirty"===r.status||"dirty"===t.value?$l(r.value):r
}}if("refinement"===r.type){const e=e=>{const t=r.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 r=this._def.schema._parseSync({
data:n.data,path:n.path,parent:n})
;return"aborted"===r.status?Rl:("dirty"===r.status&&t.dirty(),e(r.value),{
status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,
path:n.path,parent:n
}).then((n=>"aborted"===n.status?Rl:("dirty"===n.status&&t.dirty(),
e(n.value).then((()=>({status:t.value,value:n.value}))))))}
if("transform"===r.type){if(!1===n.common.async){
const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n})
;if(!Ll(e))return e;const a=r.transform(e.value,o)
;if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.")
;return{status:t.value,value:a}}return this._def.schema._parseAsync({
data:n.data,path:n.path,parent:n
}).then((e=>Ll(e)?Promise.resolve(r.transform(e.value,o)).then((e=>({
status:t.value,value:e}))):e))}yl.assertNever(r)}}Fc.create=(e,t,n)=>new Fc({
schema:e,typeName:eu.ZodEffects,effect:t,...Zl(n)
}),Fc.createWithPreprocess=(e,t,n)=>new Fc({schema:t,effect:{type:"preprocess",
transform:e},typeName:eu.ZodEffects,...Zl(n)});class zc extends Wl{_parse(e){
return this._getType(e)===xl.undefined?Nl(void 0):this._def.innerType._parse(e)}
unwrap(){return this._def.innerType}}zc.create=(e,t)=>new zc({innerType:e,
typeName:eu.ZodOptional,...Zl(t)});class qc extends Wl{_parse(e){
return this._getType(e)===xl.null?Nl(null):this._def.innerType._parse(e)}
unwrap(){return this._def.innerType}}qc.create=(e,t)=>new qc({innerType:e,
typeName:eu.ZodNullable,...Zl(t)});class Hc extends Wl{_parse(e){
const{ctx:t}=this._processInputParams(e);let n=t.data
;return t.parsedType===xl.undefined&&(n=this._def.defaultValue()),
this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){
return this._def.innerType}}Hc.create=(e,t)=>new Hc({innerType:e,
typeName:eu.ZodDefault,
defaultValue:"function"==typeof t.default?t.default:()=>t.default,...Zl(t)})
;class Vc extends Wl{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,
common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,
path:n.path,parent:{...n}});return jl(r)?r.then((e=>({status:"valid",
value:"valid"===e.status?e.value:this._def.catchValue({get error(){
return new _l(n.common.issues)},input:n.data})}))):{status:"valid",
value:"valid"===r.status?r.value:this._def.catchValue({get error(){
return new _l(n.common.issues)},input:n.data})}}removeCatch(){
return this._def.innerType}}Vc.create=(e,t)=>new Vc({innerType:e,
typeName:eu.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,
...Zl(t)});class Zc extends Wl{_parse(e){if(this._getType(e)!==xl.nan){
const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type,
expected:xl.nan,received:t.parsedType}),Rl}return{status:"valid",value:e.data}}}
Zc.create=e=>new Zc({typeName:eu.ZodNaN,...Zl(e)});const Wc=Symbol("zod_brand")
;class Xc extends Wl{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data
;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){
return this._def.type}}class Gc extends Wl{_parse(e){
const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async){
return(async()=>{const e=await this._def.in._parseAsync({data:n.data,
path:n.path,parent:n})
;return"aborted"===e.status?Rl:"dirty"===e.status?(t.dirty(),
$l(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})()}
{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n})
;return"aborted"===e.status?Rl:"dirty"===e.status?(t.dirty(),{status:"dirty",
value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}
static create(e,t){return new Gc({in:e,out:t,typeName:eu.ZodPipeline})}}
class Yc extends Wl{_parse(e){
const t=this._def.innerType._parse(e),n=e=>(Ll(e)&&(e.value=Object.freeze(e.value)),
e);return jl(t)?t.then((e=>n(e))):n(t)}unwrap(){return this._def.innerType}}
function Kc(e,t={},n){return e?yc.create().superRefine(((r,o)=>{var a,i
;if(!e(r)){const e="function"==typeof t?t(r):"string"==typeof t?{message:t
}:t,s=null===(i=null!==(a=e.fatal)&&void 0!==a?a:n)||void 0===i||i,l="string"==typeof e?{
message:e}:e;o.addIssue({code:"custom",...l,fatal:s})}})):yc.create()}
Yc.create=(e,t)=>new Yc({innerType:e,typeName:eu.ZodReadonly,...Zl(t)})
;const Jc={object:_c.lazycreate};var eu,tu
;(tu=eu||(eu={})).ZodString="ZodString",
tu.ZodNumber="ZodNumber",tu.ZodNaN="ZodNaN",
tu.ZodBigInt="ZodBigInt",tu.ZodBoolean="ZodBoolean",
tu.ZodDate="ZodDate",tu.ZodSymbol="ZodSymbol",
tu.ZodUndefined="ZodUndefined",tu.ZodNull="ZodNull",
tu.ZodAny="ZodAny",tu.ZodUnknown="ZodUnknown",
tu.ZodNever="ZodNever",tu.ZodVoid="ZodVoid",
tu.ZodArray="ZodArray",tu.ZodObject="ZodObject",
tu.ZodUnion="ZodUnion",tu.ZodDiscriminatedUnion="ZodDiscriminatedUnion",
tu.ZodIntersection="ZodIntersection",
tu.ZodTuple="ZodTuple",tu.ZodRecord="ZodRecord",
tu.ZodMap="ZodMap",tu.ZodSet="ZodSet",
tu.ZodFunction="ZodFunction",tu.ZodLazy="ZodLazy",
tu.ZodLiteral="ZodLiteral",tu.ZodEnum="ZodEnum",
tu.ZodEffects="ZodEffects",tu.ZodNativeEnum="ZodNativeEnum",
tu.ZodOptional="ZodOptional",
tu.ZodNullable="ZodNullable",tu.ZodDefault="ZodDefault",
tu.ZodCatch="ZodCatch",tu.ZodPromise="ZodPromise",
tu.ZodBranded="ZodBranded",tu.ZodPipeline="ZodPipeline",
tu.ZodReadonly="ZodReadonly"
;const nu=uc.create,ru=pc.create,ou=Zc.create,au=hc.create,iu=fc.create,su=mc.create,lu=gc.create,cu=vc.create,uu=bc.create,du=yc.create,pu=Oc.create,hu=wc.create,fu=xc.create,mu=kc.create,gu=_c.create,vu=_c.strictCreate,bu=Ec.create,yu=Cc.create,Ou=Pc.create,wu=Dc.create,xu=Rc.create,ku=$c.create,Su=Nc.create,_u=Mc.create,Eu=Ic.create,Tu=Lc.create,Cu=Bc.create,Au=Uc.create,Pu=Qc.create,Du=Fc.create,Ru=zc.create,$u=qc.create,Nu=Fc.createWithPreprocess,Mu=Gc.create,Iu={
string:e=>uc.create({...e,coerce:!0}),number:e=>pc.create({...e,coerce:!0}),
boolean:e=>fc.create({...e,coerce:!0}),bigint:e=>hc.create({...e,coerce:!0}),
date:e=>mc.create({...e,coerce:!0})},Lu=Rl;var ju=Object.freeze({__proto__:null,
defaultErrorMap:El,setErrorMap:function(e){Tl=e},getErrorMap:Cl,makeIssue:Al,
EMPTY_PATH:[],addIssueToContext:Pl,ParseStatus:Dl,INVALID:Rl,DIRTY:$l,OK:Nl,
isAborted:Ml,isDirty:Il,isValid:Ll,isAsync:jl,get util(){return yl},
get objectUtil(){return wl},ZodParsedType:xl,getParsedType:kl,ZodType:Wl,
datetimeRegex:cc,ZodString:uc,ZodNumber:pc,ZodBigInt:hc,ZodBoolean:fc,
ZodDate:mc,ZodSymbol:gc,ZodUndefined:vc,ZodNull:bc,ZodAny:yc,ZodUnknown:Oc,
ZodNever:wc,ZodVoid:xc,ZodArray:kc,ZodObject:_c,ZodUnion:Ec,
ZodDiscriminatedUnion:Cc,ZodIntersection:Pc,ZodTuple:Dc,ZodRecord:Rc,ZodMap:$c,
ZodSet:Nc,ZodFunction:Mc,ZodLazy:Ic,ZodLiteral:Lc,ZodEnum:Bc,ZodNativeEnum:Uc,
ZodPromise:Qc,ZodEffects:Fc,ZodTransformer:Fc,ZodOptional:zc,ZodNullable:qc,
ZodDefault:Hc,ZodCatch:Vc,ZodNaN:Zc,BRAND:Wc,ZodBranded:Xc,ZodPipeline:Gc,
ZodReadonly:Yc,custom:Kc,Schema:Wl,ZodSchema:Wl,late:Jc,
get ZodFirstPartyTypeKind(){return eu},coerce:Iu,any:du,array:mu,bigint:au,
boolean:iu,date:su,discriminatedUnion:yu,effect:Du,enum:Cu,function:_u,
instanceof:(e,t={message:`Input not instance of ${e.name}`
})=>Kc((t=>t instanceof e),t),intersection:Ou,lazy:Eu,literal:Tu,map:ku,nan:ou,
nativeEnum:Au,never:hu,null:uu,nullable:$u,number:ru,object:gu,
oboolean:()=>iu().optional(),onumber:()=>ru().optional(),optional:Ru,
ostring:()=>nu().optional(),pipeline:Mu,preprocess:Nu,promise:Pu,record:xu,
set:Su,strictObject:vu,string:nu,symbol:lu,transformer:Du,tuple:wu,undefined:cu,
union:bu,unknown:pu,void:fu,NEVER:Lu,ZodIssueCode:Sl,
quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),
ZodError:_l})
;const Bu=Fn("dark"),Uu=ju.enum(["dark","light","system"]).optional().catch(void 0)
;function Qu(e={}){var t
;const{initialColorMode:n="system",overrideColorMode:r}=e;function o(){var e
;return typeof window>"u"?"light":"function"!=typeof(null==window?void 0:window.matchMedia)||null!=(e=null==window?void 0:window.matchMedia("(prefers-color-scheme: dark)"))&&e.matches?"dark":"light"
}const a=Bi((()=>"system"===Bu.value?o():Bu.value));function i(e){
typeof document>"u"||typeof window>"u"||("dark"===(r??("system"===e?o():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 s=Uu.parse(typeof window<"u"?null==(t=null==window?void 0:window.localStorage)?void 0:t.getItem("colorMode"):"system")
;return Bu.value=s??n,Ma(Bu,i,{immediate:!0}),go((()=>{
if(typeof window<"u"&&"function"==typeof(null==window?void 0:window.matchMedia)){
const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>"system"===Bu.value&&i("system")
;e.addEventListener("change",t),Oo((()=>{e.removeEventListener("change",t)}))}
})),{colorMode:Bi((()=>Bu.value)),darkLightMode:a,toggleColorMode:function(){
var e
;Bu.value="dark"===a.value?"light":"dark",!(typeof window>"u")&&(null==(e=null==window?void 0:window.localStorage)||e.setItem("colorMode",Bu.value))
},setColorMode:function(e){var t
;Bu.value=e,!(typeof window>"u")&&(null==(t=null==window?void 0:window.localStorage)||t.setItem("colorMode",Bu.value))
},getSystemModePreference:o}}function Fu(e){return!!yt()&&(Ot(e),!0)}
function zu(e){return"function"==typeof e?e():Vn(e)}
const qu="undefined"!=typeof window&&"undefined"!=typeof document
;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope)
;const Hu=e=>null!=e,Vu=Object.prototype.toString,Zu=e=>"[object Object]"===Vu.call(e),Wu=()=>{},Xu=Gu()
;function Gu(){var e,t
;return qu&&(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 Yu(e,t){return function(...n){return new Promise(((r,o)=>{
Promise.resolve(e((()=>t.apply(this,n)),{fn:t,thisArg:this,args:n
})).then(r).catch(o)}))}}const Ku=e=>e();function Ju(e,t={}){let n,r,o=Wu
;const a=e=>{clearTimeout(e),o(),o=Wu};return i=>{const s=zu(e),l=zu(t.maxWait)
;return n&&a(n),
s<=0||void 0!==l&&l<=0?(r&&(a(r),r=null),Promise.resolve(i())):new Promise(((e,c)=>{
o=t.rejectOnCancel?c:e,l&&!r&&(r=setTimeout((()=>{n&&a(n),r=null,e(i())
}),l)),n=setTimeout((()=>{r&&a(r),r=null,e(i())}),s)}))}}function ed(e,t,n={}){
const{debounce:r=0,maxWait:o,...a}=n;return function(e,t,n={}){
const{eventFilter:r=Ku,...o}=n;return Ma(e,Yu(r,t),o)}(e,t,{...a,
eventFilter:Ju(r,{maxWait:o})})}function td(e){var t;const n=zu(e)
;return null!=(t=null==n?void 0:n.$el)?t:n}
const nd=qu?window:void 0,rd=qu?window.document:void 0;function od(...e){
let t,n,r,o
;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,o]=e,t=nd):[t,n,r,o]=e,
!t)return Wu;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r])
;const a=[],i=()=>{a.forEach((e=>e())),a.length=0
},s=Ma((()=>[td(t),zu(o)]),(([e,t])=>{if(i(),!e)return;const o=Zu(t)?{...t}:t
;a.push(...n.flatMap((t=>r.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),
()=>e.removeEventListener(t,n,r)))(e,t,n,o))))))}),{immediate:!0,flush:"post"
}),l=()=>{s(),i()};return Fu(l),l}let ad=!1;function id(e){const t=function(){
const e=Fn(!1),t=_i();return t&&go((()=>{e.value=!0}),t),e}()
;return Bi((()=>(t.value,Boolean(e()))))}function sd(e,t={}){
const{window:n=nd}=t,r=id((()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia))
;let o;const a=Fn(!1),i=e=>{a.value=e.matches},s=()=>{
o&&("removeEventListener"in o?o.removeEventListener("change",i):o.removeListener(i))
},l=Na((()=>{
r.value&&(s(),o=n.matchMedia(zu(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i),
a.value=o.matches)}));return Fu((()=>{l(),s(),o=void 0})),a}
function ld(e,t,n={}){const{window:r=nd,...o}=n;let a
;const i=id((()=>r&&"ResizeObserver"in r)),s=()=>{a&&(a.disconnect(),a=void 0)
},l=Ma(Bi((()=>Array.isArray(e)?e.map((e=>td(e))):[td(e)])),(e=>{
if(s(),i.value&&r){a=new ResizeObserver(t);for(const t of e)t&&a.observe(t,o)}
}),{immediate:!0,flush:"post"}),c=()=>{s(),l()};return Fu(c),{isSupported:i,
stop:c}}const cd=new Map;function ud(e){const t=yt();function n(n){var o
;const a=cd.get(e)||new Set;a.add(n),cd.set(e,a);const i=()=>r(n)
;return null==(o=null==t?void 0:t.cleanups)||o.push(i),i}function r(t){
const n=cd.get(e);n&&(n.delete(t),n.size||o())}function o(){cd.delete(e)}return{
on:n,once:function(e){return n((function t(...n){r(t),e(...n)}))},off:r,
emit:function(t,n){var r;null==(r=cd.get(e))||r.forEach((e=>e(t,n)))},reset:o}}
function dd(e=null,t={}){
const{baseUrl:n="",rel:r="icon",document:o=rd}=t,a=function(...e){
if(1!==e.length)return tr(...e);const t=e[0]
;return"function"==typeof t?Dn(Yn((()=>({get:t,set:Wu})))):Fn(t)}(e)
;return Ma(a,((e,t)=>{"string"==typeof e&&e!==t&&(e=>{
const t=null==o?void 0:o.head.querySelectorAll(`link[rel*="${r}"]`)
;if(t&&0!==t.length)null==t||t.forEach((t=>t.href=`${n}${e}`));else{
const t=null==o?void 0:o.createElement("link")
;t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(".").pop()}`,
null==o||o.head.append(t))}})(e)}),{immediate:!0}),a}const pd={ctrl:"control",
command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",
left:"arrowleft",right:"arrowright"};function hd(e,t,n){
const{start:r}=function(e,t,n={}){const{immediate:r=!0}=n,o=Fn(!1);let a=null
;function i(){a&&(clearTimeout(a),a=null)}function s(){o.value=!1,i()}
function l(...n){i(),o.value=!0,a=setTimeout((()=>{o.value=!1,a=null,e(...n)
}),zu(t))}return r&&(o.value=!0,qu&&l()),Fu(s),{isPending:Dn(o),start:l,stop:s}
}(a,t,{immediate:!1}),o=Fn(!1);async function a(){o.value&&(await e(),r())}
function i(){o.value=!1}return Fu(i),{isActive:o,pause:i,resume:function(){
o.value||(o.value=!0,a())}}}
const fd="https://api.scalar.com/request-proxy",md="https://proxy.scalar.com"
;function gd(e,t){
for(const[n,r]of Object.entries(e))null!==r&&"object"==typeof r?(t[n]??(t[n]=new r.__proto__.constructor),
gd(r,t[n])):void 0!==r&&(t[n]=r);return t}function vd(e){return gd(e??{},{info:{
title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},
contact:{email:""}},externalDocs:{description:"",url:""},servers:[],tags:[]})}
class bd{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 n=this.indentLine(e,t);this.code.unshift(n)
},this.push=(e,t)=>{const n=this.indentLine(e,t);this.code.push(n)
},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 yd(e,t={}){
const{delimiter:n='"',escapeChar:r="\\",escapeNewlines:o=!0}=t
;return[...e.toString()].map((e=>"\b"===e?`${r}b`:"\t"===e?`${r}t`:"\n"===e?o?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?o?`${r}r`:e:e===r?r+r:e===n?r+n:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")
}const Od=e=>yd(e,{delimiter:"'"}),wd=e=>yd(e,{delimiter:'"'}),xd={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:n,allHeaders:r,postData:o})=>{
const{push:a,blank:i,join:s}=new bd
;a("CURL *hnd = curl_easy_init();"),i(),a(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),
a(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(n)
;return l.length&&(i(),a("struct curl_slist *headers = NULL;"),l.forEach((e=>{
a(`headers = curl_slist_append(headers, "${e}: ${wd(n[e])}");`)
})),a("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),
r.cookie&&(i(),a(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${r.cookie}");`)),
(null==o?void 0:o.text)&&(i(),
a(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(o.text)});`)),i(),
a("CURLcode ret = curl_easy_perform(hnd);"),s()}};function kd(e,t){var n,r
;const o=new URL((null==t?void 0:t.url)??""),a="/"===o.pathname?o.origin:o.toString(),i={
method:(null==t?void 0:t.method)??"GET",url:a,httpVersion:"HTTP/1.1",cookies:[],
headers:(null==t?void 0:t.headers)??[],headersSize:-1,bodySize:-1,
queryString:Array.from(o.searchParams.entries()).map((([e,t])=>({name:e,value:t
}))),postData:null==t?void 0:t.postData
},s=((null==i?void 0:i.headers)??[]).reduce(((e,t)=>({...e,[t.name]:t.value
})),{}),l=(i.queryString??[]).reduce(((e,t)=>({...e,[t.name]:t.value
})),{}),c=(i.cookies??[]).reduce(((e,t)=>({...e,[t.name]:t.value
})),{}),u=new URL(i.url),d={protocol:u.protocol,hostname:u.hostname,
host:u.hostname,port:u.port,
pathname:u.pathname.split("/").map((e=>encodeURIComponent(decodeURIComponent(e)))).join("/")+u.search,
path:u.pathname.split("/").map((e=>encodeURIComponent(decodeURIComponent(e)))).join("/")+u.search,
search:u.search,hash:u.hash,href:u.href,origin:u.origin,password:u.password,
searchParams:u.searchParams,username:u.username,toString:u.toString,
toJSON:()=>u.toJSON()},p={url:i.url,uriObj:d,
method:(null==(n=i.method)?void 0:n.toLocaleUpperCase())??"GET",
httpVersion:i.httpVersion,cookies:i.cookies??[],headers:i.headers??[],
headersSize:i.headersSize,headersObj:s??{},bodySize:i.bodySize,
queryString:i.queryString??[],postData:i.postData?{
mimeType:i.postData.mimeType??"application/json",text:i.postData.text??"",
params:i.postData.params??[],
paramsObj:(null==(r=i.postData.params)?void 0:r.reduce(((e,t)=>(t.name&&void 0!==t.value&&(e[t.name]=t.value),
e)),{}))??{}}:void 0,allHeaders:s??{},fullUrl:i.url,queryObj:l??{},
cookiesObj:c??{}};return"function"==typeof e.convert?e.convert(p):""}const Sd={
target:"c",client:"libcurl",title:"Libcurl",generate:e=>kd(xd,e)},_d={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:n,postData:r},o)=>{const a={indent:"  ",
...o},{push:i,join:s}=new bd({indent:a.indent})
;return i("HttpRequest request = HttpRequest.newBuilder()"),
i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{
i(`.header("${t}", "${wd(e[t])}")`,2)
})),(null==r?void 0:r.text)?i(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):i(`.method("${n.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()}},Ed={target:"java",
client:"nethttp",title:"java.net.http",generate:e=>kd(_d,e)},Td={info:{
key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",
description:"An HTTP Request Client Library"},
convert:({postData:e,method:t,fullUrl:n,allHeaders:r},o)=>{const a={indent:"  ",
...o},{push:i,blank:s,join:l}=new bd({indent:a.indent})
;return i("OkHttpClient client = new OkHttpClient();"),
s(),(null==e?void 0:e.text)&&(e.boundary?i(`MediaType mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}");`):i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),
i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`)),
i("Request request = new Request.Builder()"),
i(`.url("${n}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),
Object.keys(r).forEach((e=>{i(`.addHeader("${e}", "${wd(r[e])}")`,1)
})),i(".build();",1),
s(),i("Response response = client.newCall(request).execute();"),l()}},Cd={
target:"java",client:"okhttp",title:"OkHttp",generate:e=>kd(Td,e)},Ad={info:{
key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",
description:"Lightweight HTTP Request Client Library"},
convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const a={indent:"  ",
...o},{join:i,push:s}=new bd({indent:a.indent})
;return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse<String> response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse<String> response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),
Object.keys(t).forEach((e=>{s(`.header("${e}", "${wd(t[e])}")`,1)
})),(null==n?void 0:n.text)&&s(`.body(${JSON.stringify(n.text)})`,1),
s(".asString();",1),i()}},Pd={target:"java",client:"unirest",title:"Unirest",
generate:e=>kd(Ad,e)
},Dd=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),Rd=(e,t)=>{
const n=Dd(e,t);if(n)return e[n]},$d=(e,t)=>Boolean(Dd(e,t)),Nd={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:n,fullUrl:r},o)=>{let a,i;const s={
indent:"    ",...o},{push:l,join:c}=new bd({indent:s.indent})
;l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{
let t=Rd(e,"accept-encoding");if(!t)return[];const n={
gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},r=[]
;return"string"==typeof t&&(t=[t]),t.forEach((e=>{e.split(",").forEach((e=>{
const t=/\s*([^;\s]+)/.exec(e);if(t){const e=n[t[1]];e&&r.push(e)}}))})),r})(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("{")
;n=(n=n.toUpperCase())&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"].includes(n)?`HttpMethod.${n[0]}${n.substring(1).toLowerCase()}`:`new HttpMethod("${n}")`,
l(`Method = ${n},`,1),l(`RequestUri = new Uri("${r}"),`,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}", "${wd(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===(a=t.params)||void 0===a||a.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()}},Md={target:"csharp",
client:"httpclient",title:"HttpClient",generate:e=>kd(Nd,e)},Id={info:{
key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",
description:"Simple REST and HTTP API Client for .NET"},
convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:o,postData:a})=>{
const{push:i,join:s}=new bd
;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported"
;if(i(`var client = new RestClient("${n}");`),
i(`var request = new RestRequest(Method.${t.toUpperCase()});`),
Object.keys(r).forEach((e=>{i(`request.AddHeader("${e}", "${wd(r[e])}");`)
})),null==o||o.forEach((({name:e,value:t})=>{
i(`request.AddCookie("${e}", "${t}");`)})),null==a?void 0:a.text){
const t=Rd(e,"content-type"),n=JSON.stringify(a.text)
;i(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)}
return i("IRestResponse response = client.Execute(request);"),s()}},Ld={
target:"csharp",client:"restsharp",title:"RestSharp",generate:e=>kd(Id,e)}
;class jd{constructor(e){
this.name="",this.toString=()=>`:${this.name}`,this.name=e}}let Bd=class{
constructor(e){
this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,
this.path=e}}
;const Ud=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),Qd=e=>"object"===Ud(e)&&0===Object.keys(e).length,Fd=e=>(Object.keys(e).filter((t=>Qd(e[t]))).forEach((t=>{
delete e[t]})),e),zd=(e,t)=>{const n=" ".repeat(e)
;return t.replace(/\n/g,`\n${n}`)},qd=e=>{switch(Ud(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,n)=>`${t}:${n} ${zd(n.length+2,qd(e[n]))}\n `),"").trim()
;return`{${zd(1,t)}}`}case"array":{
const t=e.reduce(((e,t)=>`${e} ${qd(t)}`),"").trim();return`[${zd(1,t)}]`}}
},Hd={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:n,url:r,allHeaders:o},a)=>{
const{push:i,join:s}=new bd({indent:null==a?void 0:a.indent})
;if(t=t.toLowerCase(),
!["get","post","put","delete","patch","head","options"].includes(t))return i("Method not supported"),
s();const l={headers:o,"query-params":e}
;switch(e&&Object.keys(e).length>0&&(r=r.split("?")[0]),
null==n?void 0:n.mimeType){case"application/json":{
l["content-type"]=new jd("json"),l["form-params"]=n.jsonObj
;const e=Dd(l.headers,"content-type");e&&delete l.headers[e]}break
;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj
;const e=Dd(l.headers,"content-type");e&&delete l.headers[e]}break
;case"text/plain":{l.body=n.text;const e=Dd(l.headers,"content-type")
;e&&delete l.headers[e]}break;case"multipart/form-data":if(n.params){
l.multipart=n.params.map((e=>e.fileName&&!e.value?{name:e.name,
content:new Bd(e.fileName)}:{name:e.name,content:e.value}))
;const e=Dd(l.headers,"content-type");e&&delete l.headers[e]}}
if("application/json"===Rd(l.headers,"accept")){l.accept=new jd("json")
;const e=Dd(l.headers,"accept");e&&delete l.headers[e]}
if(i("(require '[clj-http.client :as client])\n"),
Qd(Fd(l)))i(`(client/${t} "${r}")`);else{const e=11+t.length+r.length
;i(`(client/${t} "${r}" ${zd(e,qd(Fd(l)))})`)}return s()}},Vd={target:"clojure",
client:"clj_http",title:"clj-http",generate:e=>kd(Hd,e)},Zd={info:{key:"native",
title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",
description:"Golang HTTP client request"},
convert:({postData:e,method:t,allHeaders:n,fullUrl:r},o={})=>{
const{blank:a,push:i,join:s}=new bd({indent:"\t"
}),{showBoilerplate:l=!0,checkErrors:c=!1,printBody:u=!0,timeout:d=-1,insecureSkipVerify:p=!1}=o,h=c?"err":"_",f=l?1:0,m=()=>{
c&&(i("if err != nil {",f),i("panic(err)",f+1),i("}",f))};l&&(i("package main"),
a(),
i("import ("),i('"fmt"',f),d>0&&i('"time"',f),p&&i('"crypto/tls"',f),(null==e?void 0:e.text)&&i('"strings"',f),
i('"net/http"',f),
u&&i('"io"',f),i(")"),a(),i("func main() {"),a()),p&&(i("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",f),
i("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",f))
;const g=d>0,v=g||p,b=v?"client":"http.DefaultClient"
;return v&&(i("client := http.Client{",f),
g&&i(`Timeout: time.Duration(${d} * time.Second),`,f+1),
p&&i("Transport: insecureTransport,",f+1),
i("}",f),a()),i(`url := "${r}"`,f),a(),
(null==e?void 0:e.text)?(i(`payload := strings.NewReader(${JSON.stringify(e.text)})`,f),
a(),
i(`req, ${h} := http.NewRequest("${t}", url, payload)`,f),a()):(i(`req, ${h} := http.NewRequest("${t}", url, nil)`,f),
a()),m(),Object.keys(n).length&&(Object.keys(n).forEach((e=>{
i(`req.Header.Add("${e}", "${wd(n[e])}")`,f)
})),a()),i(`res, ${h} := ${b}.Do(req)`,f),
m(),u&&(a(),i("defer res.Body.Close()",f),
i(`body, ${h} := io.ReadAll(res.Body)`,f),
m()),a(),i("fmt.Println(res)",f),u&&i("fmt.Println(string(body))",f),
l&&(a(),i("}")),s()}},Wd={target:"go",client:"native",title:"NewRequest",
generate:e=>kd(Zd,e)},Xd={info:{key:"http1.1",title:"HTTP/1.1",
link:"https://tools.ietf.org/html/rfc7230",
description:"HTTP/1.1 request string in accordance with RFC 7230"},
convert:({method:e,fullUrl:t,uriObj:n,httpVersion:r,allHeaders:o,postData:a},i)=>{
const s={absoluteURI:!1,autoContentLength:!0,autoHost:!0,...i
},{blank:l,push:c,join:u}=new bd({indent:"",join:"\r\n"
}),d=s.absoluteURI?t:n.path;c(`${e} ${d} ${r}`);const p=Object.keys(o)
;p.forEach((e=>{
const t=e.toLowerCase().replace(/(^|-)(\w)/g,(e=>e.toUpperCase()))
;c(`${t}: ${o[e]}`)
})),s.autoHost&&!p.includes("host")&&c(`Host: ${n.host}`),s.autoContentLength&&(null==a?void 0:a.text)&&!p.includes("content-length")&&c(`Content-Length: ${a.text.length}`),
l();return`${u()}\r\n${(null==a?void 0:a.text)||""}`}},Gd={target:"http",
client:"http1.1",title:"HTTP/1.1",generate:e=>kd(Xd,e)},Yd={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:n,fullUrl:r},o)=>{const a={indent:"  ",
...o},{blank:i,push:s,join:l}=new bd({indent:a.indent})
;return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),
s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach((e=>{
s(`.setHeader("${e}", "${wd(t[e])}")`,1)
})),(null==n?void 0:n.text)&&s(`.setBody(${JSON.stringify(n.text)})`,1),
s(".execute()",1),
s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),
s(".join();",1),i(),s("client.close();"),l()}},Kd={target:"java",
client:"asynchttp",title:"AsyncHttp",generate:e=>kd(Yd,e)};function Jd(e){
return e.reduce(((e,t)=>(e[t.name]=t.value,e)),{})}function ep(e){
return/\s|-/.test(e)}function tp(e,t=0){
const n=[],r=" ".repeat(t),o=" ".repeat(t+2)
;for(const[a,i]of Object.entries(e)){const e=ep(a)?`'${a}'`:a
;if(Array.isArray(i)){
const r=i.map((e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?tp(e,t+2):e)).join(`, ${o}`)
;n.push(`${o}${e}: [${r}]`)
}else if(i&&"object"==typeof i)n.push(`${o}${e}: ${tp(i,t+2)}`);else if("string"==typeof i){
let t=`${i}`;if(i.startsWith("JSON.stringify")){const e=i.split("\n")
;e.length>1&&(t=e.map(((e,t)=>0===t?e:`${o}${e}`)).join("\n"))}else t=`'${i}'`
;n.push(`${o}${e}: ${t}`)}else n.push(`${o}${e}: ${i}`)}
return`{\n${n.join(",\n")}\n${r}}`}const np={target:"js",client:"fetch",
title:"Fetch",generate(e){var t,n;const r={method:"GET",...e}
;r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},a=new URLSearchParams(r.queryString?Jd(r.queryString):void 0),i=a.size?`?${a.toString()}`:""
;(null==(t=r.headers)?void 0:t.length)&&(o.headers={},r.headers.forEach((e=>{
o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${tp(JSON.parse(o.body))})`))
;const s=Object.keys(o).length?`, ${tp(o)}`:"";return`fetch('${r.url}${i}'${s})`
}},{toString:rp}=Object.prototype
;const{propertyIsEnumerable:op}=Object.prototype;function ap(e,t,n){const r=[]
;return function e(t,n={},o=""){const a=n.indent||"\t";let i
;i=void 0===n.inlineCharacterLimit?{newline:"\n",newlineOrSpace:"\n",pad:o,
indent:o+a}:{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===n.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<=n.inlineCharacterLimit?t:e.replace(new RegExp(i.newline+"|"+i.newlineOrSpace,"g"),"\n").replace(new RegExp(i.pad,"g"),o).replace(new RegExp(i.indent,"g"),o+a)
};if(r.includes(t))return'"[Circular]"'
;if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||(l=t,
"[object RegExp]"===rp.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"[]";r.push(t)
;const l="["+i.newline+t.map(((r,s)=>{
const l=t.length-1===s?i.newline:","+i.newlineOrSpace;let c=e(r,n,o+a)
;return n.transform&&(c=n.transform(t,s,c)),i.indent+c+l})).join("")+i.pad+"]"
;return r.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=>op.call(c,e)))])
;if(n.filter&&(l=l.filter((e=>n.filter(t,e)))),0===l.length)return"{}";r.push(t)
;const u="{"+i.newline+l.map(((r,s)=>{
const c=l.length-1===s?i.newline:","+i.newlineOrSpace,u="symbol"==typeof r,d=!u&&/^[a-z$_][$\w]*$/i.test(r),p=u||d?r:e(r,n)
;let h=e(t[r],n,o+a)
;return n.transform&&(h=n.transform(t,r,h)),i.indent+String(p)+": "+h+c
})).join("")+i.pad+"}";return r.pop(),s(u)}
return t=t.replace(/\\/g,"\\\\"),t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),
!1===n.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/'/g,"\\'")}'`
}(e,t,n)}const ip={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:n,queryObj:r,postData:o},a)=>{const i={
indent:"  ",...a},{blank:s,push:l,join:c,addPostProcessor:u}=new bd({
indent:i.indent});l("import axios from 'axios';"),s();const d={method:t,url:n}
;switch(Object.keys(r).length&&(d.params=r),
Object.keys(e).length&&(d.headers=e),null==o?void 0:o.mimeType){
case"application/x-www-form-urlencoded":
o.params&&(l("const encodedParams = new URLSearchParams();"),
o.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),
d.data="encodedParams,",u((e=>e.replace(/'encodedParams,'/,"encodedParams,"))))
;break;case"application/json":o.jsonObj&&(d.data=o.jsonObj);break
;case"multipart/form-data":if(!o.params)break;l("const form = new FormData();"),
o.params.forEach((e=>{
l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)
})),s(),d.data="[form]";break;default:(null==o?void 0:o.text)&&(d.data=o.text)}
const p=ap(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()}},sp={
target:"js",client:"axios",title:"Axios",generate:e=>kd(ip,e)},lp={target:"js",
client:"ofetch",title:"ofetch",generate(e){var t,n;const r={method:"GET",...e}
;r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},a=new URLSearchParams(r.queryString?Jd(r.queryString):void 0)
;a.size&&(o.query={},a.forEach(((e,t)=>{o.query[t]=e
}))),(null==(t=r.headers)?void 0:t.length)&&(o.headers={},
r.headers.forEach((e=>{o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=JSON.parse(o.body)))
;const i=Object.keys(o).length?`, ${tp(o)}`:""
;return`import { ofetch } from 'ofetch'\n\nofetch('${r.url}'${i})`}},cp={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:n,postData:r},o)=>{let a;const i={
indent:"  ",...o},{blank:s,push:l,join:c}=new bd({indent:i.indent}),u={async:!0,
crossDomain:!0,url:e,method:t,headers:n};switch(null==r?void 0:r.mimeType){
case"application/x-www-form-urlencoded":u.data=r.paramsObj?r.paramsObj:r.text
;break;case"application/json":u.processData=!1,u.data=r.text;break
;case"multipart/form-data":if(!r.params)break
;if(l("const form = new FormData();"),r.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]",
$d(n,"content-type")&&(null===(a=Rd(n,"content-type"))||void 0===a?void 0:a.includes("boundary"))){
const e=Dd(n,"content-type");e&&delete u.headers[e]}s();break;default:
(null==r?void 0:r.text)&&(u.data=r.text)}const d=ap(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()}},up={target:"js",client:"jquery",
title:"jQuery",generate:e=>kd(cp,e)},dp={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:n,fullUrl:r},o)=>{let a;const i={
indent:"  ",cors:!0,...o},{blank:s,push:l,join:c}=new bd({indent:i.indent})
;switch(null==e?void 0:e.mimeType){case"application/json":
l(`const data = JSON.stringify(${ap(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||""}');`)
})),$d(t,"content-type")&&(null===(a=Rd(t,"content-type"))||void 0===a?void 0:a.includes("boundary"))){
const e=Dd(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('${n}', '${r}');`),
Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${Od(t[e])}');`)
})),s(),l("xhr.send(data);"),c()}},pp={target:"js",client:"xhr",title:"XHR",
generate:e=>kd(dp,e)},hp={info:{key:"okhttp",title:"OkHttp",
link:"http://square.github.io/okhttp/",
description:"An HTTP Request Client Library"},
convert:({postData:e,fullUrl:t,method:n,allHeaders:r},o)=>{const a={indent:"  ",
...o},{blank:i,join:s,push:l}=new bd({indent:a.indent})
;return l("val client = OkHttpClient()"),
i(),(null==e?void 0:e.text)&&(e.boundary?l(`val mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}")`):l(`val mediaType = MediaType.parse("${e.mimeType}")`),
l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`)),
l("val request = Request.Builder()"),
l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(n.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(n.toUpperCase())?(null==e?void 0:e.text)?l(`.${n.toLowerCase()}(body)`,1):l(`.${n.toLowerCase()}(null)`,1):l(`.${n.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${n.toUpperCase()}", body)`,1):l(`.method("${n.toUpperCase()}", null)`,1),
Object.keys(r).forEach((e=>{l(`.addHeader("${e}", "${wd(r[e])}")`,1)
})),l(".build()",1),
i(),l("val response = client.newCall(request).execute()"),s()}},fp={
target:"kotlin",client:"okhttp",title:"OkHttp",generate:e=>kd(hp,e)},mp={
target:"node",client:"fetch",title:"Fetch",generate(e){var t,n;const r={
method:"GET",...e};r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},a=new URLSearchParams(r.queryString?Jd(r.queryString):void 0),i=a.size?`?${a.toString()}`:""
;(null==(t=r.headers)?void 0:t.length)&&(o.headers={},r.headers.forEach((e=>{
o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${tp(JSON.parse(o.body))})`))
;const s=Object.keys(o).length?`, ${tp(o)}`:"";return`fetch('${r.url}${i}'${s})`
}},gp={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:n,allHeaders:r,postData:o},a)=>{const i={
indent:"  ",...a},{blank:s,join:l,push:c,addPostProcessor:u}=new bd({
indent:i.indent});c("const axios = require('axios').default;");const d={
method:e,url:t}
;switch(Object.keys(n).length&&(d.params=n),Object.keys(r).length&&(d.headers=r),
null==o?void 0:o.mimeType){case"application/x-www-form-urlencoded":
o.params&&(c("const { URLSearchParams } = require('url');"),
s(),c("const encodedParams = new URLSearchParams();"),o.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(),o.jsonObj&&(d.data=o.jsonObj);break;default:
s(),(null==o?void 0:o.text)&&(d.data=o.text)}const p=ap(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()}},vp={
target:"node",client:"axios",title:"Axios",generate:e=>kd(gp,e)},bp={
target:"node",client:"ofetch",title:"ofetch",generate(e){var t,n;const r={
method:"GET",...e};r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},a=new URLSearchParams(r.queryString?Jd(r.queryString):void 0)
;a.size&&(o.query={},a.forEach(((e,t)=>{o.query[t]=e
}))),(null==(t=r.headers)?void 0:t.length)&&(o.headers={},
r.headers.forEach((e=>{o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=JSON.parse(o.body)))
;const i=Object.keys(o).length?`, ${tp(o)}`:""
;return`import { ofetch } from 'ofetch'\n\nofetch('${r.url}'${i})`}},yp={
target:"node",client:"undici",title:"undici",generate(e){var t,n;const r={
method:"GET",...e};r.method=r.method.toUpperCase();const o={
method:"GET"===r.method?void 0:r.method
},a=new URLSearchParams(r.queryString?Jd(r.queryString):void 0),i=a.size?`?${a.toString()}`:""
;(null==(t=r.headers)?void 0:t.length)&&(o.headers={},r.headers.forEach((e=>{
o.headers[e.name]=e.value
}))),(null==(n=r.cookies)?void 0:n.length)&&(o.headers=o.headers||{},
r.cookies.forEach((e=>{
o.headers["Set-Cookie"]=o.headers["Set-Cookie"]?`${o.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`
}))),Object.keys(o).forEach((e=>{void 0===o[e]&&delete o[e]
})),r.postData&&(o.body=r.postData.text,
"application/json"===r.postData.mimeType&&(o.body=`JSON.stringify(${tp(JSON.parse(o.body))})`))
;const s=Object.keys(o).length?`, ${tp(o)}`:""
;return`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${r.url}${i}'${s})`
}},Op=(e,t,n,r)=>{const o=`${e} *${t} = `
;return`${o}${wp(n,r?o.length:void 0)};`},wp=(e,t)=>{
const n=void 0===t?", ":`,\n   ${" ".repeat(t)}`
;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`
;case"[object Array]":return`@[ ${e.map((e=>wp(e))).join(n)} ]`
;case"[object Object]":{const t=[]
;for(const n in e)t.push(`@"${n}": ${wp(e[n])}`);return`@{ ${t.join(n)} }`}
case"[object Boolean]":return e?"@YES":"@NO";default:
return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},xp={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:n,fullUrl:r},o)=>{let a;const i={
indent:"    ",pretty:!0,timeout:10,...o},{push:s,join:l,blank:c}=new bd({
indent:i.indent}),u={hasHeaders:!1,hasBody:!1}
;if(s("#import <Foundation/Foundation.h>"),
Object.keys(e).length&&(u.hasHeaders=!0,
c(),s(Op("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===(a=t.params)||void 0===a?void 0:a.length){c();const[e,...n]=t.params
;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),
n.forEach((({name:e,value:t})=>{
s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)
}))}else u.hasBody=!1;break;case"application/json":
t.jsonObj&&(s(Op("NSDictionary","parameters",t.jsonObj,i.pretty)),
c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"))
;break;case"multipart/form-data":
s(Op("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:@"${r}"]`),
s("                                                       cachePolicy:NSURLRequestUseProtocolCachePolicy"),
s(`                                                   timeoutInterval:${i.timeout.toFixed(1)}];`),
s(`[request setHTTPMethod:@"${n}"];`),
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()
}},kp={target:"objc",client:"nsurlsession",title:"NSURLSession",
generate:e=>kd(xp,e)},Sp={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:n,method:r},o)=>{const a={
indent:"  ",...o},{push:i,blank:s,join:l}=new bd({indent:a.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]}" "${wd(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),
c.forEach((e=>{i(`("${e}", "${wd(t[e])}");`,1)
})),i("] in")),(null==n?void 0:n.text)&&i(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),
s()
;const u=c.length?"~headers ":"",d=(null==n?void 0:n.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`
;return i(`Client.call ${u}${d}${p} uri`),
i(">>= fun (res, body_stream) ->"),i("(* Do stuff with the result *)",1),l()}
},_p={target:"ocaml",client:"cohttp",title:"Cohttp",generate:e=>kd(Sp,e)
},Ep=(e,t,n)=>{switch(n=n||"",t=t||"",Object.prototype.toString.call(e)){
case"[object Null]":case"[object Undefined]":default:return"null"
;case"[object String]":return`'${yd(e,{delimiter:"'",escapeNewlines:!1})}'`
;case"[object Number]":return e.toString();case"[object Array]":{
const r=e.map((e=>Ep(e,`${t}${t}`,t))).join(`,\n${t}`)
;return`[\n${t}${r}\n${n}]`}case"[object Object]":{const r=[]
;for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.push(`${Ep(n,t)} => ${Ep(e[n],`${t}${t}`,t)}`)
;return`[\n${t}${r.join(`,\n${t}`)}\n${n}]`}}},Tp={info:{key:"curl",
title:"cURL",link:"http://php.net/manual/en/book.curl.php",
description:"PHP with ext-curl"},
convert:({uriObj:e,postData:t,fullUrl:n,method:r,httpVersion:o,cookies:a,headersObj:i},s={})=>{
const{closingTag:l=!1,indent:c="  ",maxRedirects:u=10,namedErrors:d=!1,noTags:p=!1,shortTags:h=!1,timeout:f=30}=s,{push:m,blank:g,join:v}=new bd({
indent:c});p||(m(h?"<?":"<?php"),g()),m("$curl = curl_init();"),g();const b=[{
escape:!0,name:"CURLOPT_PORT",value:""===e.port?null:e.port},{escape:!0,
name:"CURLOPT_URL",value:n},{escape:!1,name:"CURLOPT_RETURNTRANSFER",
value:"true"},{escape:!0,name:"CURLOPT_ENCODING",value:""},{escape:!1,
name:"CURLOPT_MAXREDIRS",value:u},{escape:!1,name:"CURLOPT_TIMEOUT",value:f},{
escape:!1,name:"CURLOPT_HTTP_VERSION",
value:"HTTP/1.0"===o?"CURL_HTTP_VERSION_1_0":"CURL_HTTP_VERSION_1_1"},{
escape:!0,name:"CURLOPT_CUSTOMREQUEST",value:r},{
escape:!(null==t?void 0:t.jsonObj),name:"CURLOPT_POSTFIELDS",
value:t?t.jsonObj?`json_encode(${Ep(t.jsonObj,c.repeat(2),c)})`:t.text:void 0}]
;m("curl_setopt_array($curl, [");const y=new bd({indent:c,join:`\n${c}`})
;b.forEach((({value:e,name:t,escape:n})=>{
null!=e&&y.push(`${t} => ${n?JSON.stringify(e):e},`)}))
;const O=a.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`))
;O.length&&y.push(`CURLOPT_COOKIE => "${O.join("; ")}",`)
;const w=Object.keys(i).sort().map((e=>`"${e}: ${wd(i[e])}"`))
;return w.length&&(y.push("CURLOPT_HTTPHEADER => ["),
y.push(w.join(`,\n${c}${c}`),1),
y.push("],")),m(y.join(),1),m("]);"),g(),m("$response = curl_exec($curl);"),
m("$err = curl_error($curl);"),g(),m("curl_close($curl);"),g(),m("if ($err) {"),
m(d?'echo array_flip(get_defined_constants(true)["curl"])[$err];':'echo "cURL Error #:" . $err;',1),
m("} else {"),m("echo $response;",1),m("}"),!p&&l&&(g(),m("?>")),v()}},Cp={
target:"php",client:"curl",title:"cURL",generate:e=>kd(Tp,e)},Ap={info:{
key:"guzzle",title:"Guzzle",link:"http://docs.guzzlephp.org/en/stable/",
description:"PHP with Guzzle"},
convert:({postData:e,fullUrl:t,method:n,cookies:r,headersObj:o},a)=>{let i
;const s={closingTag:!1,indent:"  ",noTags:!1,shortTags:!1,...a
},{push:l,blank:c,join:u}=new bd({indent:s.indent
}),{code:d,push:p,join:h}=new bd({indent:s.indent})
;switch(s.noTags||(l(s.shortTags?"<?":"<?php"),c()),null==e?void 0:e.mimeType){
case"application/x-www-form-urlencoded":
p(`'form_params' => ${Ep(e.paramsObj,s.indent+s.indent,s.indent)},`,1);break
;case"multipart/form-data":{const t=[]
;if(e.params&&e.params.forEach((function(e){if(e.fileName){const n={name:e.name,
filename:e.fileName,contents:e.value};e.contentType&&(n.headers={
"Content-Type":e.contentType}),t.push(n)}else e.value&&t.push({name:e.name,
contents:e.value})
})),t.length&&(p(`'multipart' => ${Ep(t,s.indent+s.indent,s.indent)}`,1),
$d(o,"content-type")&&(null===(i=Rd(o,"content-type"))||void 0===i?void 0:i.indexOf("boundary")))){
const e=Dd(o,"content-type");e&&delete o[e]}break}default:
(null==e?void 0:e.text)&&p(`'body' => ${Ep(e.text)},`,1)}
const f=Object.keys(o).sort().map((function(e){
return`${s.indent}${s.indent}'${e}' => '${Od(o[e])}',`
})),m=r.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ")
;return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${Od(m)}',`),
f.length&&(p("'headers' => [",1),
p(f.join("\n")),p("],",1)),l("$client = new \\GuzzleHttp\\Client();"),
c(),d.length?(l(`$response = $client->request('${n}', '${t}', [`),
l(h()),l("]);")):l(`$response = $client->request('${n}', '${t}');`),
c(),l("echo $response->getBody();"),!s.noTags&&s.closingTag&&(c(),l("?>")),u()}
},Pp={target:"php",client:"guzzle",title:"Guzzle",generate:e=>kd(Ap,e)
},Dp=e=>({method:t,headersObj:n,cookies:r,uriObj:o,fullUrl:a,postData:i,allHeaders:s})=>{
const{push:l,join:c}=new bd
;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported"
;const u=[],d=Object.keys(n);return d.length&&(l("$headers=@{}"),d.forEach((e=>{
"connection"!==e&&l(`$headers.Add("${e}", "${yd(n[e],{escapeChar:"`"})}")`)
})),u.push("-Headers $headers")),
r.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),
r.forEach((e=>{
l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),
l(`$cookie.Value = '${e.value}'`),
l(`$cookie.Domain = '${o.host}'`),l("$session.Cookies.Add($cookie)")
})),u.push("-WebSession $session")),
(null==i?void 0:i.text)&&(u.push(`-ContentType '${yd(Rd(s,"content-type"),{
delimiter:"'",escapeChar:"`"
})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${a}' -Method ${t} ${u.join(" ")}`),
c()},Rp={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:Dp("Invoke-WebRequest")},$p={target:"powershell",client:"webrequest",
title:"Invoke-WebRequest",generate:e=>kd(Rp,e)},Np={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:Dp("Invoke-RestMethod")},Mp={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:n},postData:r,allHeaders:o,method:a},i={})=>{
const{insecureSkipVerify:s=!1}=i,{push:l,blank:c,join:u}=new bd
;if(l("import http.client"),s&&l("import ssl"),c(),"https:"===t){
l(`conn = http.client.HTTPSConnection("${n}"${s?", context = ssl._create_unverified_context()":""})`),
c()}else l(`conn = http.client.HTTPConnection("${n}")`),c()
;const d=JSON.stringify(null==r?void 0:r.text);d&&(l(`payload = ${d}`),c())
;const p=o,h=Object.keys(p).length
;if(1===h)for(const f in p)l(`headers = { '${f}': "${wd(p[f])}" }`),
c();else if(h>1){let e=1;l("headers = {")
;for(const t in p)e++!==h?l(`    '${t}': "${wd(p[t])}",`):l(`    '${t}': "${wd(p[t])}"`)
;l("}"),c()}
return l(d&&h?`conn.request("${a}", "${e}", payload, headers)`:d&&!h?`conn.request("${a}", "${e}", payload)`:!d&&h?`conn.request("${a}", "${e}", headers=headers)`:`conn.request("${a}", "${e}")`),
c(),
l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),
u()}};function Ip(e,t,n,r,o){
const a=r.repeat(o),i=r.repeat(o-1),s=n?`,\n${a}`:", ",l="object"===e?"{":"[",c="object"===e?"}":"]"
;return n?`${l}\n${a}${t.join(s)}\n${i}${c}`:"object"===e&&t.length>0?`${l} ${t.join(s)} ${c}`:`${l}${t.join(s)}${c}`
}const Lp=(e,t,n)=>{
switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){
case"[object Number]":return e;case"[object Array]":{let r=!1
;return Ip("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),
Lp(e,t,n)))),r,t.indent,n)}case"[object Object]":{const r=[]
;for(const o in e)r.push(`"${o}": ${Lp(e[o],t,n)}`)
;return Ip("object",r,t.pretty&&r.length>1,t.indent,n)}case"[object Null]":
return"None";case"[object Boolean]":return e?"True":"False";default:
return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}
},jp=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],Bp={info:{
key:"requests",title:"Requests",
link:"http://docs.python-requests.org/en/latest/api/#requests.request",
description:"Requests HTTP library"},
convert:({queryObj:e,url:t,postData:n,allHeaders:r,method:o},a)=>{const i={
indent:"    ",pretty:!0,...a},{push:s,blank:l,join:c}=new bd({indent:i.indent})
;let u
;s("import requests"),l(),s(`url = "${t}"`),l(),Object.keys(e).length&&(u=`querystring = ${JSON.stringify(e)}`,
s(u),l());const d=r;let p={};const h={};let f=!1,m=!1,g=!1
;switch(null==n?void 0:n.mimeType){case"application/json":
n.jsonObj&&(s(`payload = ${Lp(n.jsonObj,i)}`),g=!0,m=!0);break
;case"multipart/form-data":if(!n.params)break;if(p={},n.params.forEach((e=>{
e.fileName?(h[e.name]=`open('${e.fileName}', 'rb')`,
f=!0):(p[e.name]=e.value,m=!0)})),f){
s(`files = ${Lp(h,i)}`),m&&s(`payload = ${Lp(p,i)}`)
;const e=Dd(d,"content-type");e&&delete d[e]}else{const e=JSON.stringify(n.text)
;e&&(s(`payload = ${e}`),m=!0)}break;default:{if(!n)break
;if("application/x-www-form-urlencoded"===n.mimeType&&n.paramsObj){
s(`payload = ${Lp(n.paramsObj,i)}`),m=!0;break}const e=JSON.stringify(n.text)
;e&&(s(`payload = ${e}`),m=!0)}}const v=Object.keys(d).length
;if(0===v&&(m||f))l();else if(1===v)for(const y in d)s(`headers = {"${y}": "${wd(d[y])}"}`),
l();else if(v>1){let e=1;s("headers = {")
;for(const t in d)s(e!==v?`"${t}": "${wd(d[t])}",`:`"${t}": "${wd(d[t])}"`,1),
e+=1;s("}"),l()}
let b=jp.includes(o)?`response = requests.${o.toLowerCase()}(url`:`response = requests.request("${o}", url`
;return m&&(b+=g?", json=payload":", data=payload"),
f&&(b+=", files=files"),v>0&&(b+=", headers=headers"),
u&&(b+=", params=querystring"),b+=")",s(b),l(),s("print(response.json())"),c()}
},Up={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:n,postData:r,allHeaders:o,method:a},i={})=>{
let s,l;const{push:c,blank:u,join:d}=new bd({
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],n)=>{
c(`${e} = "${t}"${n!==f-1?",":""}`,1)})),c(")"),u())
;const m=JSON.stringify(null==r?void 0:r.text);if(m&&(c(`payload <- ${m}`),u()),
r&&(r.text||r.jsonObj||r.params))switch(r.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=Rd(o,"cookie"),v=Rd(o,"accept"),b=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,y=v?`accept("${wd(v)}")`:void 0,O=`content_type("${wd(null!==(l=null==r?void 0:r.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(o).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${Od(t)}'`)).join(", "),x=w?`add_headers(${w})`:void 0
;let k=`response <- VERB("${a}", url`
;m&&(k+=", body = payload"),n.length&&(k+=", query = queryString")
;const S=[x,O,y,b].filter((e=>!!e)).join(", ")
;return S&&(k+=`, ${S}`),r&&(r.text||r.jsonObj||r.params)&&(k+=", encode = encode"),
k+=")",c(k),u(),c('content(response, "text")'),d()}},Qp={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:n,postData:r,allHeaders:o},a={})=>{
const{insecureSkipVerify:i=!1}=a,{push:s,blank:l,join:c}=new bd
;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==r?void 0:r.text)?"true":"false"}'`),
s("  RESPONSE_HAS_BODY = true"),
s("end"),l()),s(`url = URI("${n}")`),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(o)
;return p.length&&p.forEach((e=>{s(`request["${e}"] = '${Od(o[e])}'`)
})),(null==r?void 0:r.text)&&s(`request.body = ${JSON.stringify(r.text)}`),
l(),s("response = http.request(request)"),s("puts response.read_body"),c()}
},Fp=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,zp={
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:n,fullUrl:r},o)=>{const a={indent:"  ",
short:!1,verbose:!1,...o},{push:i,join:s}=new bd({indent:a.indent,
join:!1!==a.indent?` \\\n${a.indent}`:" "});var l
;return a.verbose?i("wget "+(a.short?"-v":"--verbose")):i("wget "+(a.short?"-q":"--quiet")),
i(`--method ${Fp(e)}`),Object.keys(n).forEach((e=>{const t=`${e}: ${n[e]}`
;i(`--header ${Fp(t)}`)
})),(null==t?void 0:t.text)&&i(`--body-data ${l=Fp(t.text),
l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),
i(a.short?"-O":"--output-document"),i(`- ${Fp(r)}`),s()}},qp={info:{
key:"httpie",title:"HTTPie",link:"http://httpie.org/",
description:"a CLI, cURL-like tool for humans"},
convert:({allHeaders:e,postData:t,queryObj:n,fullUrl:r,method:o,url:a},i)=>{
var s;const l={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:c,join:u,unshift:d}=new bd({indent:l.indent,
join:!1!==l.indent?` \\\n${l.indent}`:" "});let p=!1;const h=[]
;l.headers&&h.push(l.short?"-h":"--headers"),
l.body&&h.push(l.short?"-b":"--body"),
l.verbose&&h.push(l.short?"-v":"--verbose"),
l.print&&h.push(`${l.short?"-p":"--print"}=${l.print}`),
l.verify&&h.push(`--verify=${l.verify}`),
l.cert&&h.push(`--cert=${l.cert}`),l.pretty&&h.push(`--pretty=${l.pretty}`),
l.style&&h.push(`--style=${l.style}`),
l.timeout&&h.push(`--timeout=${l.timeout}`),
l.queryParams&&Object.keys(n).forEach((e=>{const t=n[e]
;Array.isArray(t)?t.forEach((t=>{c(`${e}==${Fp(t)}`)})):c(`${e}==${Fp(t)}`)
})),Object.keys(e).sort().forEach((t=>{c(`${t}:${Fp(e[t])}`)
})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?(null==(s=t.params)?void 0:s.length)&&(h.push(l.short?"-f":"--form"),
t.params.forEach((e=>{c(`${e.name}=${Fp(e.value)}`)}))):p=!0
;if(d(`http ${h.length?`${h.join(" ")} `:""}${o} ${a=Fp(l.queryParams?a:r)}`),
p&&(null==t?void 0:t.text)){d(`echo ${Fp(t.text)} | `)}return u()}
},Hp=(e,t)=>t.repeat(e),Vp=(e,t,n,r)=>{
const o=Hp(r,n),a=Hp(r-1,n),i=t?`,\n${o}`:", "
;return t?`[\n${o}${e.join(i)}\n${a}]`:`[${e.join(i)}]`
},Zp=(e,t,n)=>`let ${e} = ${Wp(t,n)}`,Wp=(e,t,n)=>{
switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){
case"[object Number]":return e;case"[object Array]":{let r=!1
;const o=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),
Wp(e,t,n))));return Vp(o,r,t.indent,n)}case"[object Object]":{const r=[]
;for(const o in e)r.push(`"${o}": ${Wp(e[o],t,n)}`)
;return Vp(r,t.pretty&&r.length>1,t.indent,n)}case"[object Boolean]":
return e.toString();default:
return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},Xp={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:n,method:r},o)=>{let a;const i={
indent:"  ",pretty:!0,timeout:"10",...o},{push:s,blank:l,join:c}=new bd({
indent:i.indent}),u={hasHeaders:!1,hasBody:!1}
;if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0,
l(),s(Zp("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===(a=t.params)||void 0===a?void 0:a.length){const[e,...n]=t.params
;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),
n.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(`${Zp("parameters",t.jsonObj,i)} as [String : Any]`),
l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"))
;break;case"multipart/form-data":
s(Zp("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: "${n}")! as URL,`),
s("                                        cachePolicy: .useProtocolCachePolicy,"),
s(`                                    timeoutInterval: ${parseInt(i.timeout,10).toFixed(1)})`),
s(`request.httpMethod = "${r}"`),
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()}
},Gp=[{key:"c",title:"C",default:"libcurl",clients:[Sd]},{key:"csharp",
title:"C#",default:"restsharp",clients:[Md,Ld]},{key:"clojure",title:"Clojure",
default:"clj_http",clients:[Vd]},{key:"go",title:"Go",default:"native",
clients:[Wd]},{key:"http",title:"HTTP",default:"http1.1",clients:[Gd]},{
key:"java",title:"Java",default:"unirest",clients:[Kd,Ed,Cd,Pd]},{key:"js",
title:"JavaScript",default:"fetch",clients:[np,sp,lp,up,pp]},{key:"kotlin",
title:"Kotlin",default:"okhttp",clients:[fp]},{key:"node",title:"Node.js",
default:"fetch",clients:[mp,vp,bp,yp]},{key:"objc",title:"Objective-C",
default:"nsurlsession",clients:[kp]},{key:"ocaml",title:"OCaml",
default:"cohttp",clients:[_p]},{key:"php",title:"PHP",default:"curl",
clients:[Cp,Pp]},{key:"powershell",title:"Powershell",default:"webrequest",
clients:[$p,{target:"powershell",client:"restmethod",title:"Invoke-RestMethod",
generate:e=>kd(Np,e)}]},{key:"python",title:"Python",default:"python3",
clients:[{target:"python",client:"python3",title:"http.client",
generate:e=>kd(Mp,e)},{target:"python",client:"requests",title:"Requests",
generate:e=>kd(Bp,e)}]},{key:"r",title:"R",default:"httr",clients:[{target:"r",
client:"httr",title:"httr",generate:e=>kd(Up,e)}]},{key:"ruby",title:"Ruby",
default:"native",clients:[{target:"ruby",client:"native",title:"net::http",
generate:e=>kd(Qp,e)}]},{key:"shell",title:"Shell",default:"curl",clients:[{
target:"shell",client:"curl",title:"Curl",generate(e,t){var n,r,o,a,i;const s={
method:"GET",...e};s.method=s.method.toUpperCase()
;const l=["curl"],c=(null==(n=s.queryString)?void 0:n.length)?"?"+s.queryString.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("&"):"",u=`${s.url}${c}`,d=/[\s<>[\]{}|\\^%]/.test(u),p=c||d?`'${u}'`:u
;if(l[0]=`curl ${p}`,
"GET"!==s.method&&l.push(`--request ${s.method}`),(null==(r=null==t?void 0:t.auth)?void 0:r.username)&&(null==(o=null==t?void 0:t.auth)?void 0:o.password)&&l.push(`--user '${t.auth.username}:${t.auth.password}'`),
null==(a=s.headers)?void 0:a.length){s.headers.forEach((e=>{
l.push(`--header '${e.name}: ${e.value}'`)}))
;const e=s.headers.find((e=>"accept-encoding"===e.name.toLowerCase()))
;e&&/gzip|deflate/.test(e.value)&&l.push("--compressed")}
if(null==(i=s.cookies)?void 0:i.length){
const e=s.cookies.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ")
;l.push(`--cookie '${e}'`)}
if(s.postData)if("application/json"===s.postData.mimeType){if(s.postData.text){
const e=JSON.parse(s.postData.text),t=JSON.stringify(e,null,2)
;l.push(`--data '${t}'`)}
}else"application/octet-stream"===s.postData.mimeType?l.push(`--data-binary '${s.postData.text}'`):"application/x-www-form-urlencoded"===s.postData.mimeType&&s.postData.params?s.postData.params.forEach((e=>{
l.push(`--data-urlencode '${encodeURIComponent(e.name)}=${e.value}'`)
})):"multipart/form-data"===s.postData.mimeType&&s.postData.params?s.postData.params.forEach((e=>{
void 0!==e.fileName?l.push(`--form '${e.name}=@${e.fileName}'`):l.push(`--form '${e.name}=${e.value}'`)
})):l.push(`--data "${s.postData.text}"`);return l.join(" \\\n  ")}},{
target:"shell",client:"wget",title:"Wget",generate:e=>kd(zp,e)},{target:"shell",
client:"httpie",title:"HTTPie",generate:e=>kd(qp,e)}]},{key:"swift",
title:"Swift",default:"nsurlsession",clients:[{target:"swift",
client:"nsurlsession",title:"NSURLSession",generate:e=>kd(Xp,e)}]}]
;function Yp(){return{print(e,t,n){var r
;return null==(r=this.findPlugin(e,t))?void 0:r.generate(n)},clients:()=>Gp,
plugins:()=>Gp.flatMap((({key:e,clients:t})=>t.map((t=>({target:e,
client:t.client}))))),findPlugin(e,t){var n
;return null==(n=Gp.find((({key:t})=>t===e)))?void 0:n.clients.find((e=>e.client===t))
},hasPlugin(e,t){return Boolean(this.findPlugin(e,t))}}}
async function Kp(e,t,n){const r=await(async e=>{
const t=new URL(e.url),n=Array.from(t.searchParams.entries());t.search=""
;const r={method:e.method.toUpperCase(),url:t.toString(),httpVersion:"HTTP/1.1",
headers:[],queryString:[],cookies:[],headersSize:-1,bodySize:-1
},o=e.headers.get("cookie");o&&(r.cookies=o.split(";").map((e=>{
const[t,n]=e.trim().split("=");return{name:t,value:n}
}))),e.headers&&(r.headers=Array.from(e.headers.entries()).map((([e,t])=>({
name:e.replace(/\b\w/g,(e=>e.toUpperCase())),value:t}))));try{
r.queryString=n.map((([e,t])=>({name:e,value:t}))),t.search=""}catch(pM){}
if(e.body)try{const t=e.headers.get("content-type")||"application/json"
;if(t.includes("multipart/form-data")){const n=await e.formData(),o={}
;n.forEach(((e,t)=>{const r=e instanceof Blob;if(e instanceof File||r)o[t]={
type:"file",text:"BINARY",name:"name"in e?e.name:"blob",size:e.size,
mimeType:e.type||"application/octet-stream"};else{const e=n.getAll(t)
;e.length>1?o[t]=e:o[t]=e[0]}})),r.postData={mimeType:t,text:JSON.stringify(o)}
}else r.postData={mimeType:t,text:await e.text()}}catch(pM){}return r
})(e),o=null==t?void 0:t.replace("javascript","js")
;return Yp().hasPlugin(o,n)?Yp().print(o,n,r):e.url.startsWith("__")?e.url:""}
const Jp="object"==typeof self?self:globalThis,eh=e=>((e,t)=>{
const n=(t,n)=>(e.set(n,t),t),r=o=>{if(e.has(o))return e.get(o);const[a,i]=t[o]
;switch(a){case 0:case-1:return n(i,o);case 1:{const e=n([],o)
;for(const t of i)e.push(r(t));return e}case 2:{const e=n({},o)
;for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),o);case 4:
{const{source:e,flags:t}=i;return n(new RegExp(e,t),o)}case 5:{
const e=n(new Map,o);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{
const e=n(new Set,o);for(const t of i)e.add(r(t));return e}case 7:{
const{name:e,message:t}=i;return n(new Jp[e](t),o)}case 8:return n(BigInt(i),o)
;case"BigInt":return n(Object(BigInt(i)),o)}return n(new Jp[a](i),o)};return r
})(new Map,e)(0),th="",{toString:nh}={},{keys:rh}=Object,oh=e=>{const t=typeof e
;if("object"!==t||!e)return[0,t];const n=nh.call(e).slice(8,-1);switch(n){
case"Array":return[1,th];case"Object":return[2,th];case"Date":return[3,th]
;case"RegExp":return[4,th];case"Map":return[5,th];case"Set":return[6,th]}
return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]
},ah=([e,t])=>0===e&&("function"===t||"symbol"===t),ih=(e,{json:t,lossy:n}={})=>{
const r=[];return((e,t,n,r)=>{const o=(e,t)=>{const o=r.push(e)-1
;return n.set(t,o),o},a=r=>{if(n.has(r))return n.get(r);let[i,s]=oh(r)
;switch(i){case 0:{let t=r;switch(s){case"bigint":i=8,t=r.toString();break
;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s)
;t=null;break;case"undefined":return o([-1],r)}return o([i,t],r)}case 1:{
if(s)return o([s,[...r]],r);const e=[],t=o([i,e],r)
;for(const n of r)e.push(a(n));return t}case 2:{if(s)switch(s){case"BigInt":
return o([s,r.toString()],r);case"Boolean":case"Number":case"String":
return o([s,r.valueOf()],r)}if(t&&"toJSON"in r)return a(r.toJSON())
;const n=[],l=o([i,n],r)
;for(const t of rh(r))!e&&ah(oh(r[t]))||n.push([a(t),a(r[t])]);return l}case 3:
return o([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return o([i,{
source:e,flags:t}],r)}case 5:{const t=[],n=o([i,t],r)
;for(const[o,i]of r)(e||!ah(oh(o))&&!ah(oh(i)))&&t.push([a(o),a(i)]);return n}
case 6:{const t=[],n=o([i,t],r);for(const o of r)!e&&ah(oh(o))||t.push(a(o))
;return n}}const{message:l}=r;return o([i,{name:s,message:l}],r)};return a
})(!(t||n),!!t,new Map,r)(e),r
},sh="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?eh(ih(e,t)):structuredClone(e):(e,t)=>eh(ih(e,t)),lh=function(e,t,n,r,o){
const a=ch(t);return!!ph(e)&&a.call(o,e,n,r)},ch=function(e){
if(null==e)return dh;if("string"==typeof e)return function(e){return uh(t)
;function t(t){return t.tagName===e}}(e)
;if("object"==typeof e)return function(e){const t=[];let n=-1
;for(;++n<e.length;)t[n]=ch(e[n]);return uh(r);function r(...e){let n=-1
;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e)
;if("function"==typeof e)return uh(e)
;throw new Error("Expected function, string, or array as `test`")}
;function uh(e){return function(t,n,r){
return Boolean(ph(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}
function dh(e){
return Boolean(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)
}function ph(e){return null!==e&&"object"==typeof e&&"type"in e&&"tagName"in e}
const hh=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,fh=/^[a-zA-Z]:\\/;function mh(e){
const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}
function gh(e){return e.join(" ").trim()}const vh=function(e){
if(null==e)return yh;if("function"==typeof e)return bh(e)
;if("object"==typeof e)return Array.isArray(e)?function(e){const t=[];let n=-1
;for(;++n<e.length;)t[n]=vh(e[n]);return bh(r);function r(...e){let n=-1
;for(;++n<t.length;)if(t[n].apply(this,e))return!0;return!1}}(e):function(e){
const t=e;return bh(n);function n(n){const r=n;let o
;for(o in e)if(r[o]!==t[o])return!1;return!0}}(e)
;if("string"==typeof e)return function(e){return bh(t);function t(t){
return t&&t.type===e}}(e)
;throw new Error("Expected function, string, or object as test")}
;function bh(e){return function(t,n,r){return Boolean(function(e){
return null!==e&&"object"==typeof e&&"type"in e
}(t)&&e.call(this,t,"number"==typeof n?n:void 0,r||void 0))}}function yh(){
return!0}const Oh=[],wh=!0,xh=!1,kh="skip";function Sh(e,t,n,r){let o
;"function"==typeof t&&"function"!=typeof n?(r=n,n=t):o=t;const a=vh(o),i=r?-1:1
;!function e(o,s,l){const c=o&&"object"==typeof o?o:{}
;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 ("+o.type+(e?"<"+e+">":"")+")"})}
return u;function u(){let c,u,d,p=Oh
;if((!t||a(o,s,l[l.length-1]||void 0))&&(p=function(e){
if(Array.isArray(e))return e;if("number"==typeof e)return[wh,e]
;return null==e?Oh:[e]}(n(o,l)),p[0]===xh))return p
;if("children"in o&&o.children){const t=o
;if(t.children&&p[0]!==kh)for(u=(r?t.children.length:-1)+i,
d=l.concat(t);u>-1&&u<t.children.length;){const n=t.children[u];if(c=e(n,u,d)(),
c[0]===xh)return c;u="number"==typeof c[1]?c[1]:u+i}}return p}}(e,void 0,[])()}
function _h(e,t,n,r){let o,a,i
;"function"==typeof t&&"function"!=typeof n?(a=void 0,
i=t,o=n):(a=t,i=n,o=r),Sh(e,a,(function(e,t){
const n=t[t.length-1],r=n?n.children.indexOf(e):void 0;return i(e,r,n)}),o)}
const Eh=["http","https"],Th=["nofollow"],Ch={};function Ah(e){
const t=e||Ch,n=t.protocols||Eh,r=ch(t.test);return function(e){
_h(e,"element",(function(e,o,a){
if("a"===e.tagName&&"string"==typeof e.properties.href&&r(e,o,a)){
const r=e.properties.href;if(function(e){
if("string"!=typeof e)throw new TypeError(`Expected a \`string\`, got \`${typeof e}\``)
;return!fh.test(e)&&hh.test(e)
}(r)?n.includes(r.slice(0,r.indexOf(":"))):r.startsWith("//")){
const n=Ph(t.content,e),r=n&&!Array.isArray(n)?[n]:n,o=Ph(t.rel,e)||Th,a="string"==typeof o?mh(o):o,i=Ph(t.target,e),s=Ph(t.properties,e)
;if(s&&Object.assign(e.properties,sh(s)),
a.length>0&&(e.properties.rel=[...a]),i&&(e.properties.target=i),r){
const n=Ph(t.contentProperties,e)||{};e.children.push({type:"element",
tagName:"span",properties:sh(n),children:sh(r)})}}}}))}}function Ph(e,t){
return"function"==typeof e?e(t):e}const Dh=ch((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
})),Rh={}.hasOwnProperty;const $h=new Set(["pingback","prefetch","stylesheet"])
;const Nh=ch(["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"]),Mh=ch("meta")
;function Ih(e){return Boolean("text"===e.type||Nh(e)||Dh(e)||function(e){
if("element"!==e.type||"link"!==e.tagName)return!1
;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1
;if(!Array.isArray(t)||0===t.length)return!1
;for(;++n<t.length;)if(!$h.has(String(t[n])))return!1;return!0
}(e)||Mh(e)&&function(e,t){
const n="element"===e.type&&Rh.call(e.properties,t)&&e.properties[t]
;return null!=n&&!1!==n}(e,"itemProp"))}const Lh=/[ \t\n\f\r]/g;function jh(e){
return"object"==typeof e?"text"===e.type&&Bh(e.value):Bh(e)}function Bh(e){
return""===e.replace(Lh,"")}
const Uh=["pre","script","style","textarea"],Qh=["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"],Fh=["button","input","select","textarea"],zh=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],qh={},Hh=vh(["doctype","comment"])
;function Vh(e,t){if("children"in e){const n={...t}
;return("root"===e.type||Gh(e))&&(n.before=!0,
n.after=!0),n.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 n=t.before
;const r=t.after,o=e.children;let a=o.length,i=-1;for(;++i<a;){const e=Vh(o[i],{
...t,after:Zh(o,i,r),before:n})
;e.remove?(o.splice(i,1),i--,a--):e.ignore||(n=e.stripAtStart),Xh(o[i])&&(n=!1)}
return{ignore:!1,stripAtStart:Boolean(n||r),remove:!1}}(e,n)}
if("text"===e.type){if("normal"===t.whitespace)return function(e,t){
const n=t.collapse(e.value),r={ignore:!1,stripAtStart:!1,remove:!1}
;let o=0,a=n.length;t.before&&Kh(n.charAt(0))&&o++
;o!==a&&Kh(n.charAt(a-1))&&(t.after?a--:r.stripAtStart=!0)
;o===a?r.remove=!0:e.value=n.slice(o,a);return r}(e,t)
;"nowrap"===t.whitespace&&(e.value=t.collapse(e.value))}return{ignore:Hh(e),
stripAtStart:!1,remove:!1}}function Zh(e,t,n){for(;++t<e.length;){const n=e[t]
;let r=Wh(n)
;if(void 0===r&&"children"in n&&!Yh(n)&&(r=Zh(n.children,-1)),"boolean"==typeof r)return r
}return n}function Wh(e){if("element"===e.type){if(Xh(e))return!1
;if(Gh(e))return!0}else if("text"===e.type){if(!jh(e))return!1
}else if(!Hh(e))return!1}function Xh(e){return Dh(e)||lh(e,Fh)}function Gh(e){
return lh(e,Qh)}function Yh(e){
return Boolean("element"===e.type&&e.properties.hidden)||Hh(e)||lh(e,zh)}
function Kh(e){return" "===e||"\n"===e}function Jh(e){const t=/\r?\n|\r/.exec(e)
;return t?t[0]:" "}function ef(){return" "}const tf={},nf=function(e){
const t=function(e){return t;function t(t){
return String(t).replace(/[\t\n\v\f\r ]+/g,e)}}((e||qh).newlines?Jh:ef)
;return function(e){Vh(e,{collapse:t,whitespace:"normal"})}}({newlines:!0})
;function rf(e){const t=e||tf;let n=t.indent||2,r=t.indentInitial
;return"number"==typeof n&&(n=" ".repeat(n)),null==r&&(r=!0),function(e){let t
;nf(e),Sh(e,(function(e,a){let i=-1;if(!("children"in e))return
;if(lh(e,"head")&&(t=!0),t&&lh(e,"body")&&(t=void 0),lh(e,Uh))return kh
;const s=e.children;let l,c=a.length;if(0===s.length||!of(e,t))return
;for(r||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(n).repeat(c)))}const u=[];let d
;for(i=-1;++i<s.length;){const e=s[i]
;(of(e,t)||l&&!i)&&(o(u,c,e),l=!0),d=e,u.push(e)}
d&&(l||of(d,t))&&(jh(d)&&(u.pop(),d=u[u.length-1]),o(u,c-1)),e.children=u}))}
;function o(e,t,r){
const o=e[e.length-1],i=(a(o&&jh(o)?e[e.length-2]:o)&&a(r)?"\n\n":"\n")+String(n).repeat(Math.max(t,0))
;o&&"text"===o.type?o.value=jh(o)?i:o.value+i:e.push({type:"text",value:i})}
function a(e){
return Boolean(e&&"element"===e.type&&t.blanks&&t.blanks.length>0&&t.blanks.includes(e.tagName))
}}function of(e,t){
return"root"===e.type||"element"===e.type&&(t||lh(e,"script")||Dh(e)||!Ih(e))}
let af=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)}
};function sf(e,t){const n={},r={};let o=-1
;for(;++o<e.length;)Object.assign(n,e[o].property),Object.assign(r,e[o].normal)
;return new af(n,r,t)}function lf(e){return e.toLowerCase()}
af.prototype.property={},af.prototype.normal={},af.prototype.space=null
;class cf{constructor(e,t){this.property=e,this.attribute=t}}
cf.prototype.space=null,
cf.prototype.boolean=!1,cf.prototype.booleanish=!1,cf.prototype.overloadedBoolean=!1,
cf.prototype.number=!1,
cf.prototype.commaSeparated=!1,cf.prototype.spaceSeparated=!1,
cf.prototype.commaOrSpaceSeparated=!1,
cf.prototype.mustUseProperty=!1,cf.prototype.defined=!1;let uf=0
;const df=bf(),pf=bf(),hf=bf(),ff=bf(),mf=bf(),gf=bf(),vf=bf();function bf(){
return 2**++uf}const yf=Object.freeze(Object.defineProperty({__proto__:null,
boolean:df,booleanish:pf,commaOrSpaceSeparated:vf,commaSeparated:gf,number:ff,
overloadedBoolean:hf,spaceSeparated:mf},Symbol.toStringTag,{value:"Module"
})),Of=Object.keys(yf);class wf extends cf{constructor(e,t,n,r){let o=-1
;if(super(e,t),xf(this,"space",r),"number"==typeof n)for(;++o<Of.length;){
const e=Of[o];xf(this,Of[o],(n&yf[e])===yf[e])}}}function xf(e,t,n){n&&(e[t]=n)}
wf.prototype.defined=!0;const kf={}.hasOwnProperty;function Sf(e){
const t={},n={};let r;for(r in e.properties)if(kf.call(e.properties,r)){
const o=e.properties[r],a=new wf(r,e.transform(e.attributes||{},r),o,e.space)
;e.mustUseProperty&&e.mustUseProperty.includes(r)&&(a.mustUseProperty=!0),
t[r]=a,n[lf(r)]=r,n[lf(a.attribute)]=r}return new af(t,n,e.space)}const _f=Sf({
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}}),Ef=Sf({space:"xml",
transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,
xmlBase:null,xmlSpace:null}});function Tf(e,t){return t in e?e[t]:t}
function Cf(e,t){return Tf(e,t.toLowerCase())}const Af=Sf({space:"xmlns",
attributes:{xmlnsxlink:"xmlns:xlink"},transform:Cf,properties:{xmlns:null,
xmlnsXLink:null}}),Pf=Sf({
transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{
ariaActiveDescendant:null,ariaAtomic:pf,ariaAutoComplete:null,ariaBusy:pf,
ariaChecked:pf,ariaColCount:ff,ariaColIndex:ff,ariaColSpan:ff,ariaControls:mf,
ariaCurrent:null,ariaDescribedBy:mf,ariaDetails:null,ariaDisabled:pf,
ariaDropEffect:mf,ariaErrorMessage:null,ariaExpanded:pf,ariaFlowTo:mf,
ariaGrabbed:pf,ariaHasPopup:null,ariaHidden:pf,ariaInvalid:null,
ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:mf,ariaLevel:ff,
ariaLive:null,ariaModal:pf,ariaMultiLine:pf,ariaMultiSelectable:pf,
ariaOrientation:null,ariaOwns:mf,ariaPlaceholder:null,ariaPosInSet:ff,
ariaPressed:pf,ariaReadOnly:pf,ariaRelevant:null,ariaRequired:pf,
ariaRoleDescription:mf,ariaRowCount:ff,ariaRowIndex:ff,ariaRowSpan:ff,
ariaSelected:pf,ariaSetSize:ff,ariaSort:null,ariaValueMax:ff,ariaValueMin:ff,
ariaValueNow:ff,ariaValueText:null,role:null}}),Df=Sf({space:"html",attributes:{
acceptcharset:"accept-charset",classname:"class",htmlfor:"for",
httpequiv:"http-equiv"},transform:Cf,
mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,
accept:gf,acceptCharset:mf,accessKey:mf,action:null,allow:null,
allowFullScreen:df,allowPaymentRequest:df,allowUserMedia:df,alt:null,as:null,
async:df,autoCapitalize:null,autoComplete:mf,autoFocus:df,autoPlay:df,
blocking:mf,capture:null,charSet:null,checked:df,cite:null,className:mf,cols:ff,
colSpan:null,content:null,contentEditable:pf,controls:df,controlsList:mf,
coords:ff|gf,crossOrigin:null,data:null,dateTime:null,decoding:null,default:df,
defer:df,dir:null,dirName:null,disabled:df,download:hf,draggable:pf,
encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,
formEncType:null,formMethod:null,formNoValidate:df,formTarget:null,headers:mf,
height:ff,hidden:df,high:ff,href:null,hrefLang:null,htmlFor:mf,httpEquiv:mf,
id:null,imageSizes:null,imageSrcSet:null,inert:df,inputMode:null,integrity:null,
is:null,isMap:df,itemId:null,itemProp:mf,itemRef:mf,itemScope:df,itemType:mf,
kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:df,
low:ff,manifest:null,max:null,maxLength:ff,media:null,method:null,min:null,
minLength:ff,multiple:df,muted:df,name:null,nonce:null,noModule:df,
noValidate:df,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:df,
optimum:ff,pattern:null,ping:mf,placeholder:null,playsInline:df,popover:null,
popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,
readOnly:df,referrerPolicy:null,rel:mf,required:df,reversed:df,rows:ff,
rowSpan:ff,sandbox:mf,scope:null,scoped:df,seamless:df,selected:df,
shadowRootClonable:df,shadowRootDelegatesFocus:df,shadowRootMode:null,
shape:null,size:ff,sizes:null,slot:null,span:ff,spellCheck:pf,src:null,
srcDoc:null,srcLang:null,srcSet:null,start:ff,step:null,style:null,tabIndex:ff,
target:null,title:null,translate:null,type:null,typeMustMatch:df,useMap:null,
value:pf,width:ff,wrap:null,writingSuggestions:null,align:null,aLink:null,
archive:mf,axis:null,background:null,bgColor:null,border:ff,borderColor:null,
bottomMargin:ff,cellPadding:null,cellSpacing:null,char:null,charOff:null,
classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,
compact:df,declare:df,event:null,face:null,frame:null,frameBorder:null,
hSpace:ff,leftMargin:ff,link:null,longDesc:null,lowSrc:null,marginHeight:ff,
marginWidth:ff,noResize:df,noHref:df,noShade:df,noWrap:df,object:null,
profile:null,prompt:null,rev:null,rightMargin:ff,rules:null,scheme:null,
scrolling:pf,standby:null,summary:null,text:null,topMargin:ff,valueType:null,
version:null,vAlign:null,vLink:null,vSpace:ff,allowTransparency:null,
autoCorrect:null,autoSave:null,disablePictureInPicture:df,
disableRemotePlayback:df,prefix:null,property:null,results:ff,security:null,
unselectable:null}}),Rf=Sf({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:Tf,properties:{about:vf,
accentHeight:ff,accumulate:null,additive:null,alignmentBaseline:null,
alphabetic:ff,amplitude:ff,arabicForm:null,ascent:ff,attributeName:null,
attributeType:null,azimuth:ff,bandwidth:null,baselineShift:null,
baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ff,by:null,
calcMode:null,capHeight:ff,className:mf,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:ff,
diffuseConstant:ff,direction:null,display:null,dur:null,divisor:ff,
dominantBaseline:null,download:df,dx:null,dy:null,edgeMode:null,editable:null,
elevation:ff,enableBackground:null,end:null,event:null,exponent:ff,
externalResourcesRequired:null,fill:null,fillOpacity:ff,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:gf,g2:gf,
glyphName:gf,glyphOrientationHorizontal:null,glyphOrientationVertical:null,
glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ff,
hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,
horizAdvX:ff,horizOriginX:ff,horizOriginY:ff,id:null,ideographic:ff,
imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ff,k:ff,
k1:ff,k2:ff,k3:ff,k4:ff,kernelMatrix:vf,kernelUnitLength:null,keyPoints:null,
keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,
letterSpacing:null,lightingColor:null,limitingConeAngle:ff,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:ff,
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:ff,
overlineThickness:ff,paintOrder:null,panose1:null,path:null,pathLength:ff,
patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,
ping:mf,pitch:null,playbackOrder:null,pointerEvents:null,points:null,
pointsAtX:ff,pointsAtY:ff,pointsAtZ:ff,preserveAlpha:null,
preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:vf,r:null,
radius:null,referrerPolicy:null,refX:null,refY:null,rel:vf,rev:vf,
renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:vf,
requiredFeatures:vf,requiredFonts:vf,requiredFormats:vf,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:ff,
specularExponent:ff,spreadMethod:null,spacing:null,startOffset:null,
stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,
stopOpacity:null,strikethroughPosition:ff,strikethroughThickness:ff,string:null,
stroke:null,strokeDashArray:vf,strokeDashOffset:null,strokeLineCap:null,
strokeLineJoin:null,strokeMiterLimit:ff,strokeOpacity:ff,strokeWidth:null,
style:null,surfaceScale:ff,syncBehavior:null,syncBehaviorDefault:null,
syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:vf,
tabIndex:ff,tableValues:null,target:null,targetX:ff,targetY:ff,textAnchor:null,
textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,
title:null,transformBehavior:null,type:null,typeOf:vf,to:null,transform:null,
transformOrigin:null,u1:null,u2:null,underlinePosition:ff,underlineThickness:ff,
unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ff,values:null,
vAlphabetic:ff,vMathematical:ff,vectorEffect:null,vHanging:ff,vIdeographic:ff,
version:null,vertAdvY:ff,vertOriginX:ff,vertOriginY:ff,viewBox:null,
viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,
writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ff,y:null,
y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}
}),$f=/^data[-\w.:]+$/i,Nf=/-[a-z]/g,Mf=/[A-Z]/g;function If(e,t){const n=lf(t)
;let r=t,o=cf;if(n in e.normal)return e.property[e.normal[n]]
;if(n.length>4&&"data"===n.slice(0,4)&&$f.test(t)){if("-"===t.charAt(4)){
const e=t.slice(5).replace(Nf,jf);r="data"+e.charAt(0).toUpperCase()+e.slice(1)
}else{const e=t.slice(4);if(!Nf.test(e)){let n=e.replace(Mf,Lf)
;"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=wf}return new o(r,t)}function Lf(e){
return"-"+e.toLowerCase()}function jf(e){return e.charAt(1).toUpperCase()}
const Bf=sf([Ef,_f,Af,Pf,Df],"html"),Uf=sf([Ef,_f,Af,Pf,Rf],"svg")
;function Qf(e){const t=[],n=String(e||"");let r=n.indexOf(","),o=0,a=!1
;for(;!a;){-1===r&&(r=n.length,a=!0);const e=n.slice(o,r).trim()
;!e&&a||t.push(e),o=r+1,r=n.indexOf(",",o)}return t}function Ff(e,t){
const n=t||{}
;return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()
}const zf=/[#.]/g
;const qf=new Set(["button","menu","reset","submit"]),Hf={}.hasOwnProperty
;function Vf(e,t,n){const r=n&&function(e){const t={};let n=-1
;for(;++n<e.length;)t[e[n].toLowerCase()]=e[n];return t}(n)
;return function(n,o,...a){let i,s=-1;if(null==n){i={type:"root",children:[]}
;const e=o;a.unshift(e)}else if(i=function(e,t){const n=e||"",r={};let o,a,i=0
;for(;i<n.length;){zf.lastIndex=i
;const e=zf.exec(n),t=n.slice(i,e?e.index:n.length)
;t&&(o?"#"===o?r.id=t:Array.isArray(r.className)?r.className.push(t):r.className=[t]:a=t,
i+=t.length),e&&(o=e[0],i++)}return{type:"element",tagName:a||t||"div",
properties:r,children:[]}
}(n,t),i.tagName=i.tagName.toLowerCase(),r&&Hf.call(r,i.tagName)&&(i.tagName=r[i.tagName]),
function(e,t){if(null==e||"object"!=typeof e||Array.isArray(e))return!1
;if("input"===t||!e.type||"string"!=typeof e.type)return!0
;if("children"in e&&Array.isArray(e.children))return!1
;if("button"===t)return qf.has(e.type.toLowerCase());return!("value"in e)
}(o,i.tagName)){let t;for(t in o)Hf.call(o,t)&&Zf(e,i.properties,t,o[t])
}else a.unshift(o);for(;++s<a.length;)Wf(i.children,a[s])
;return"element"===i.type&&"template"===i.tagName&&(i.content={type:"root",
children:i.children},i.children=[]),i}}function Zf(e,t,n,r){const o=If(e,n)
;let a,i=-1;if(null!=r){if("number"==typeof r){if(Number.isNaN(r))return;a=r
}else a="boolean"==typeof r?r:"string"==typeof r?o.spaceSeparated?mh(r):o.commaSeparated?Qf(r):o.commaOrSpaceSeparated?mh(Qf(r).join(" ")):Xf(o,o.property,r):Array.isArray(r)?r.concat():"style"===o.property?function(e){
const t=[];let n;for(n in e)Hf.call(e,n)&&t.push([n,e[n]].join(": "))
;return t.join("; ")}(r):String(r);if(Array.isArray(a)){const e=[]
;for(;++i<a.length;){const t=Xf(o,o.property,a[i]);e[i]=t}a=e}
if("className"===o.property&&Array.isArray(t.className)){const e=a
;a=t.className.concat(e)}t[o.property]=a}}function Wf(e,t){let n=-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(;++n<t.length;)Wf(e,t[n]);else{
if("object"!=typeof t||!("type"in t))throw new Error("Expected node, nodes, or string, got `"+t+"`")
;"root"===t.type?Wf(e,t.children):e.push(t)}}function Xf(e,t,n){
if("string"==typeof n){if(e.number&&n&&!Number.isNaN(Number(n)))return Number(n)
;if((e.boolean||e.overloadedBoolean)&&(""===n||lf(n)===lf(t)))return!0}return n}
const Gf=Vf(Bf,"div"),Yf=Vf(Uf,"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"]),Kf=/\r?\n|\r/g
;const Jf={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/"},em={}.hasOwnProperty,tm=Object.prototype
;function nm(e,t){const n=t||{};return rm({file:n.file||void 0,location:!1,
schema:"svg"===n.space?Uf:Bf,verbose:n.verbose||!1},e)}function rm(e,t){let n
;switch(t.nodeName){case"#comment":{const r=t;return n={type:"comment",
value:r.data},am(e,r,n),n}case"#document":case"#document-fragment":{
const r=t,o="mode"in r&&("quirks"===r.mode||"limited-quirks"===r.mode);if(n={
type:"root",children:om(e,t.childNodes),data:{quirksMode:o}
},e.file&&e.location){const t=String(e.file),r=function(e){
const t=String(e),n=[];for(Kf.lastIndex=0;Kf.test(t);)n.push(Kf.lastIndex)
;return n.push(t.length+1),{toPoint:function(e){let t=-1
;if("number"==typeof e&&e>-1&&e<n[n.length-1])for(;++t<n.length;)if(n[t]>e)return{
line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){
const t=e&&e.line,r=e&&e.column
;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){
const e=(n[t-2]||0)+r-1||0;if(e>-1&&e<n[n.length-1])return e}}}
}(t),o=r.toPoint(0),a=r.toPoint(t.length);n.position={start:o,end:a}}return n}
case"#documentType":return n={type:"doctype"},am(e,t,n),n;case"#text":{const r=t
;return n={type:"text",value:r.value},am(e,r,n),n}default:
return n=function(e,t){const n=e.schema;e.schema=t.namespaceURI===Jf.svg?Uf:Bf
;let r=-1;const o={};for(;++r<t.attrs.length;){
const e=t.attrs[r],n=(e.prefix?e.prefix+":":"")+e.name
;em.call(tm,n)||(o[n]=e.value)}
const a="svg"===e.schema.space?Yf:Gf,i=a(t.tagName,o,om(e,t.childNodes))
;if(am(e,t,i),"template"===i.tagName){
const n=t,r=n.sourceCodeLocation,o=r&&r.startTag&&im(r.startTag),a=r&&r.endTag&&im(r.endTag),s=rm(e,n.content)
;o&&a&&e.file&&(s.position={start:o.end,end:a.start}),i.content=s}
return e.schema=n,i}(e,t),n}}function om(e,t){let n=-1;const r=[]
;for(;++n<t.length;){const o=rm(e,t[n]);r.push(o)}return r}function am(e,t,n){
if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){
const r=function(e,t,n){const r=im(n);if("element"===t.type){
const o=t.children[t.children.length-1]
;if(r&&!n.endTag&&o&&o.position&&o.position.end&&(r.end=Object.assign({},o.position.end)),
e.verbose){const r={};let o
;if(n.attrs)for(o in n.attrs)em.call(n.attrs,o)&&(r[If(e.schema,o).property]=im(n.attrs[o]))
;n.startTag;const a=im(n.startTag),i=n.endTag?im(n.endTag):void 0,s={opening:a}
;i&&(s.closing=i),s.properties=r,t.data={position:s}}}return r
}(e,n,t.sourceCodeLocation);r&&(e.location=!0,n.position=r)}}function im(e){
const t=sm({line:e.startLine,column:e.startCol,offset:e.startOffset}),n=sm({
line:e.endLine,column:e.endCol,offset:e.endOffset});return t||n?{start:t,end:n
}:void 0}function sm(e){return e.line&&e.column?e:void 0}
const lm={}.hasOwnProperty;function cm(e,t){const n=t||{};function r(t,...n){
let o=r.invalid;const a=r.handlers;if(t&&lm.call(t,e)){const n=String(t[e])
;o=lm.call(a,n)?a[n]:r.unknown}if(o)return o.call(this,t,...n)}
return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}
const um={},dm={}.hasOwnProperty,pm=cm("type",{handlers:{root:function(e,t){
const n={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",
childNodes:[]};return n.childNodes=fm(e.children,n,t),mm(e,n),n},
element:function(e,t){const n=t;let r=n
;"element"===e.type&&"svg"===e.tagName.toLowerCase()&&"html"===n.space&&(r=Uf)
;const o=[];let a
;if(e.properties)for(a in e.properties)if("children"!==a&&dm.call(e.properties,a)){
const t=hm(r,a,e.properties[a]);t&&o.push(t)}const i=r.space,s={
nodeName:e.tagName,tagName:e.tagName,attrs:o,namespaceURI:Jf[i],childNodes:[],
parentNode:null}
;s.childNodes=fm(e.children,s,r),mm(e,s),"template"===e.tagName&&e.content&&(s.content=function(e,t){
const n={nodeName:"#document-fragment",childNodes:[]}
;return n.childNodes=fm(e.children,n,t),mm(e,n),n}(e.content,r));return s},
text:function(e){const t={nodeName:"#text",value:e.value,parentNode:null}
;return mm(e,t),t},comment:function(e){const t={nodeName:"#comment",
data:e.value,parentNode:null};return mm(e,t),t},doctype:function(e){const t={
nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null}
;return mm(e,t),t}}});function hm(e,t,n){const r=If(e,t)
;if(!1===n||null==n||"number"==typeof n&&Number.isNaN(n)||!n&&r.boolean)return
;Array.isArray(n)&&(n=r.commaSeparated?Ff(n):gh(n));const o={name:r.attribute,
value:!0===n?"":String(n)};if(r.space&&"html"!==r.space&&"svg"!==r.space){
const e=o.name.indexOf(":")
;e<0?o.prefix="":(o.name=o.name.slice(e+1),o.prefix=r.attribute.slice(0,e)),
o.namespace=Jf[r.space]}return o}function fm(e,t,n){let r=-1;const o=[]
;if(e)for(;++r<e.length;){const a=pm(e[r],n);a.parentNode=t,o.push(a)}return o}
function mm(e,t){const n=e.position
;n&&n.start&&n.end&&(n.start.offset,n.end.offset,t.sourceCodeLocation={
startLine:n.start.line,startCol:n.start.column,startOffset:n.start.offset,
endLine:n.end.line,endCol:n.end.column,endOffset:n.end.offset})}
const gm=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],vm=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]),bm="�"
;var ym,Om
;(Om=ym=ym||(ym={}))[Om.EOF=-1]="EOF",Om[Om.NULL=0]="NULL",Om[Om.TABULATION=9]="TABULATION",
Om[Om.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",
Om[Om.LINE_FEED=10]="LINE_FEED",Om[Om.FORM_FEED=12]="FORM_FEED",
Om[Om.SPACE=32]="SPACE",
Om[Om.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",Om[Om.QUOTATION_MARK=34]="QUOTATION_MARK",
Om[Om.NUMBER_SIGN=35]="NUMBER_SIGN",
Om[Om.AMPERSAND=38]="AMPERSAND",Om[Om.APOSTROPHE=39]="APOSTROPHE",
Om[Om.HYPHEN_MINUS=45]="HYPHEN_MINUS",
Om[Om.SOLIDUS=47]="SOLIDUS",Om[Om.DIGIT_0=48]="DIGIT_0",
Om[Om.DIGIT_9=57]="DIGIT_9",
Om[Om.SEMICOLON=59]="SEMICOLON",Om[Om.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",
Om[Om.EQUALS_SIGN=61]="EQUALS_SIGN",
Om[Om.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",
Om[Om.QUESTION_MARK=63]="QUESTION_MARK",
Om[Om.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",
Om[Om.LATIN_CAPITAL_F=70]="LATIN_CAPITAL_F",
Om[Om.LATIN_CAPITAL_X=88]="LATIN_CAPITAL_X",
Om[Om.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",
Om[Om.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",
Om[Om.GRAVE_ACCENT=96]="GRAVE_ACCENT",
Om[Om.LATIN_SMALL_A=97]="LATIN_SMALL_A",Om[Om.LATIN_SMALL_F=102]="LATIN_SMALL_F",
Om[Om.LATIN_SMALL_X=120]="LATIN_SMALL_X",
Om[Om.LATIN_SMALL_Z=122]="LATIN_SMALL_Z",
Om[Om.REPLACEMENT_CHARACTER=65533]="REPLACEMENT_CHARACTER"
;const wm="--",xm="[CDATA[",km="doctype",Sm="script",_m="public",Em="system"
;function Tm(e){return e>=55296&&e<=57343}function Cm(e){
return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}
function Am(e){return e>=64976&&e<=65007||vm.has(e)}var Pm,Dm
;(Dm=Pm=Pm||(Pm={})).controlCharacterInInputStream="control-character-in-input-stream",
Dm.noncharacterInInputStream="noncharacter-in-input-stream",
Dm.surrogateInInputStream="surrogate-in-input-stream",
Dm.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",
Dm.endTagWithAttributes="end-tag-with-attributes",
Dm.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",
Dm.unexpectedSolidusInTag="unexpected-solidus-in-tag",
Dm.unexpectedNullCharacter="unexpected-null-character",
Dm.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",
Dm.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",
Dm.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",
Dm.missingEndTagName="missing-end-tag-name",
Dm.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",
Dm.unknownNamedCharacterReference="unknown-named-character-reference",
Dm.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",
Dm.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",
Dm.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",
Dm.eofBeforeTagName="eof-before-tag-name",
Dm.eofInTag="eof-in-tag",Dm.missingAttributeValue="missing-attribute-value",
Dm.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",
Dm.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",
Dm.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",
Dm.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",
Dm.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",
Dm.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",
Dm.missingDoctypePublicIdentifier="missing-doctype-public-identifier",
Dm.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",
Dm.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",
Dm.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",
Dm.cdataInHtmlContent="cdata-in-html-content",
Dm.incorrectlyOpenedComment="incorrectly-opened-comment",
Dm.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",
Dm.eofInDoctype="eof-in-doctype",
Dm.nestedComment="nested-comment",Dm.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",
Dm.eofInComment="eof-in-comment",
Dm.incorrectlyClosedComment="incorrectly-closed-comment",
Dm.eofInCdata="eof-in-cdata",
Dm.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",
Dm.nullCharacterReference="null-character-reference",
Dm.surrogateCharacterReference="surrogate-character-reference",
Dm.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",
Dm.controlCharacterReference="control-character-reference",
Dm.noncharacterCharacterReference="noncharacter-character-reference",
Dm.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",
Dm.missingDoctypeName="missing-doctype-name",
Dm.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",
Dm.duplicateAttribute="duplicate-attribute",
Dm.nonConformingDoctype="non-conforming-doctype",
Dm.missingDoctype="missing-doctype",
Dm.misplacedDoctype="misplaced-doctype",Dm.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",
Dm.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",
Dm.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",
Dm.openElementsLeftAfterEof="open-elements-left-after-eof",
Dm.abandonedHeadElementChild="abandoned-head-element-child",
Dm.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",
Dm.nestedNoscriptInHead="nested-noscript-in-head",
Dm.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"
;class Rm{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:n,offset:r}=this;return{code:e,startLine:t,endLine:t,
startCol:n,endCol:n,startOffset:r,endOffset:r}}_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,ym.EOF
;return this._err(Pm.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 n=0;n<e.length;n++){
if((32|this.html.charCodeAt(this.pos+n))!==e.charCodeAt(n))return!1}return!0}
peek(e){const t=this.pos+e
;if(t>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,ym.EOF
;const n=this.html.charCodeAt(t);return n===ym.CARRIAGE_RETURN?ym.LINE_FEED:n}
advance(){
if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),
this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,
ym.EOF;let e=this.html.charCodeAt(this.pos)
;if(e===ym.CARRIAGE_RETURN)return this.isEol=!0,
this.skipNextNewLine=!0,ym.LINE_FEED
;if(e===ym.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--,
this.skipNextNewLine=!1,this._addGap(),this.advance()
;this.skipNextNewLine=!1,Tm(e)&&(e=this._processSurrogate(e))
;return null===this.handler.onParseError||e>31&&e<127||e===ym.LINE_FEED||e===ym.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),
e}_checkForProblematicCharacters(e){
Cm(e)?this._err(Pm.controlCharacterInInputStream):Am(e)&&this._err(Pm.noncharacterInInputStream)
}retreat(e){
for(this.pos-=e;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),
this.pos--;this.isEol=!1}}var $m,Nm;function Mm(e,t){
for(let n=e.attrs.length-1;n>=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value
;return null}
(Nm=$m=$m||($m={}))[Nm.CHARACTER=0]="CHARACTER",Nm[Nm.NULL_CHARACTER=1]="NULL_CHARACTER",
Nm[Nm.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",
Nm[Nm.START_TAG=3]="START_TAG",
Nm[Nm.END_TAG=4]="END_TAG",Nm[Nm.COMMENT=5]="COMMENT",
Nm[Nm.DOCTYPE=6]="DOCTYPE",Nm[Nm.EOF=7]="EOF",Nm[Nm.HIBERNATION=8]="HIBERNATION"
;const Im=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ȀDMPTǇǋǑǖ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;扐blè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;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉ǲኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻ǲᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑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;ẝẤĳạả;怄;怅怃Ā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;耀ﬃɩᾹ\0\0᾽g;耀ﬀig;耀ﬄ;쀀𝔣lig;耀ﬁlig;쀀fjƀaltῙ῜ῡt;晭ig;耀ﬂns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒α‚‰‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସǳ⧟\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᪠ⵒⵗǈⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼ǲ㚋\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)))),Lm=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))))
;var jm
;const Bm=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]]),Um=null!==(jm=String.fromCodePoint)&&void 0!==jm?jm: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 Qm,Fm
;(Fm=Qm||(Qm={}))[Fm.NUM=35]="NUM",Fm[Fm.SEMI=59]="SEMI",
Fm[Fm.EQUALS=61]="EQUALS",
Fm[Fm.ZERO=48]="ZERO",Fm[Fm.NINE=57]="NINE",Fm[Fm.LOWER_A=97]="LOWER_A",
Fm[Fm.LOWER_F=102]="LOWER_F",
Fm[Fm.LOWER_X=120]="LOWER_X",Fm[Fm.LOWER_Z=122]="LOWER_Z",
Fm[Fm.UPPER_A=65]="UPPER_A",
Fm[Fm.UPPER_F=70]="UPPER_F",Fm[Fm.UPPER_Z=90]="UPPER_Z"
;var zm,qm,Hm,Vm,Zm,Wm,Xm,Gm,Ym,Km,Jm,eg,tg,ng,rg,og;function ag(e){
return e>=Qm.ZERO&&e<=Qm.NINE}function ig(e){return e===Qm.EQUALS||function(e){
return e>=Qm.UPPER_A&&e<=Qm.UPPER_Z||e>=Qm.LOWER_A&&e<=Qm.LOWER_Z||ag(e)}(e)}
(qm=zm||(zm={}))[qm.VALUE_LENGTH=49152]="VALUE_LENGTH",
qm[qm.BRANCH_LENGTH=16256]="BRANCH_LENGTH",
qm[qm.JUMP_TABLE=127]="JUMP_TABLE",(Vm=Hm||(Hm={}))[Vm.EntityStart=0]="EntityStart",
Vm[Vm.NumericStart=1]="NumericStart",
Vm[Vm.NumericDecimal=2]="NumericDecimal",Vm[Vm.NumericHex=3]="NumericHex",
Vm[Vm.NamedEntity=4]="NamedEntity",
(Wm=Zm||(Zm={}))[Wm.Legacy=0]="Legacy",Wm[Wm.Strict=1]="Strict",
Wm[Wm.Attribute=2]="Attribute";class sg{constructor(e,t,n){
this.decodeTree=e,this.emitCodePoint=t,
this.errors=n,this.state=Hm.EntityStart,this.consumed=1,
this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Zm.Strict}
startEntity(e){
this.decodeMode=e,this.state=Hm.EntityStart,this.result=0,this.treeIndex=0,
this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Hm.EntityStart:
return e.charCodeAt(t)===Qm.NUM?(this.state=Hm.NumericStart,
this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Hm.NamedEntity,
this.stateNamedEntity(e,t));case Hm.NumericStart:
return this.stateNumericStart(e,t);case Hm.NumericDecimal:
return this.stateNumericDecimal(e,t);case Hm.NumericHex:
return this.stateNumericHex(e,t);case Hm.NamedEntity:
return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){
return t>=e.length?-1:(32|e.charCodeAt(t))===Qm.LOWER_X?(this.state=Hm.NumericHex,
this.consumed+=1,
this.stateNumericHex(e,t+1)):(this.state=Hm.NumericDecimal,this.stateNumericDecimal(e,t))
}addToNumericResult(e,t,n,r){if(t!==n){const o=n-t
;this.result=this.result*Math.pow(r,o)+parseInt(e.substr(t,o),r),
this.consumed+=o}}stateNumericHex(e,t){const n=t;for(;t<e.length;){
const o=e.charCodeAt(t)
;if(!(ag(o)||(r=o,r>=Qm.UPPER_A&&r<=Qm.UPPER_F||r>=Qm.LOWER_A&&r<=Qm.LOWER_F)))return this.addToNumericResult(e,n,t,16),
this.emitNumericEntity(o,3);t+=1}var r;return this.addToNumericResult(e,n,t,16),
-1}stateNumericDecimal(e,t){const n=t;for(;t<e.length;){const r=e.charCodeAt(t)
;if(!ag(r))return this.addToNumericResult(e,n,t,10),this.emitNumericEntity(r,2)
;t+=1}return this.addToNumericResult(e,n,t,10),-1}emitNumericEntity(e,t){var n
;if(this.consumed<=t)return null===(n=this.errors)||void 0===n||n.absenceOfDigitsInNumericCharacterReference(this.consumed),
0;if(e===Qm.SEMI)this.consumed+=1;else if(this.decodeMode===Zm.Strict)return 0
;return this.emitCodePoint(function(e){var t
;return e>=55296&&e<=57343||e>1114111?65533:null!==(t=Bm.get(e))&&void 0!==t?t:e
}(this.result),this.consumed),
this.errors&&(e!==Qm.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),
this.errors.validateNumericCharacterReference(this.result)),this.consumed}
stateNamedEntity(e,t){const{decodeTree:n}=this
;let r=n[this.treeIndex],o=(r&zm.VALUE_LENGTH)>>14
;for(;t<e.length;t++,this.excess++){const a=e.charCodeAt(t)
;if(this.treeIndex=cg(n,r,this.treeIndex+Math.max(1,o),a),
this.treeIndex<0)return 0===this.result||this.decodeMode===Zm.Attribute&&(0===o||ig(a))?0:this.emitNotTerminatedNamedEntity()
;if(r=n[this.treeIndex],o=(r&zm.VALUE_LENGTH)>>14,0!==o){
if(a===Qm.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess)
;this.decodeMode!==Zm.Strict&&(this.result=this.treeIndex,
this.consumed+=this.excess,this.excess=0)}}return-1}
emitNotTerminatedNamedEntity(){var e
;const{result:t,decodeTree:n}=this,r=(n[t]&zm.VALUE_LENGTH)>>14
;return this.emitNamedEntityData(t,r,this.consumed),
null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),
this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this
;return this.emitCodePoint(1===t?r[e]&~zm.VALUE_LENGTH:r[e+1],n),
3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){
case Hm.NamedEntity:
return 0===this.result||this.decodeMode===Zm.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity()
;case Hm.NumericDecimal:return this.emitNumericEntity(0,2);case Hm.NumericHex:
return this.emitNumericEntity(0,3);case Hm.NumericStart:
return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),
0;case Hm.EntityStart:return 0}}}function lg(e){let t=""
;const n=new sg(e,(e=>t+=Um(e)));return function(e,r){let o=0,a=0
;for(;(a=e.indexOf("&",a))>=0;){t+=e.slice(o,a),n.startEntity(r)
;const i=n.write(e,a+1);if(i<0){o=a+n.end();break}o=a+i,a=0===i?o+1:o}
const i=t+e.slice(o);return t="",i}}function cg(e,t,n,r){
const o=(t&zm.BRANCH_LENGTH)>>7,a=t&zm.JUMP_TABLE
;if(0===o)return 0!==a&&r===a?n:-1;if(a){const t=r-a
;return t<0||t>=o?-1:e[n+t]-1}let i=n,s=i+o-1;for(;i<=s;){const t=i+s>>>1,n=e[t]
;if(n<r)i=t+1;else{if(!(n>r))return e[t+o];s=t-1}}return-1}
lg(Im),lg(Lm),(Gm=Xm=Xm||(Xm={})).HTML="http://www.w3.org/1999/xhtml",
Gm.MATHML="http://www.w3.org/1998/Math/MathML",
Gm.SVG="http://www.w3.org/2000/svg",
Gm.XLINK="http://www.w3.org/1999/xlink",Gm.XML="http://www.w3.org/XML/1998/namespace",
Gm.XMLNS="http://www.w3.org/2000/xmlns/",
(Km=Ym=Ym||(Ym={})).TYPE="type",Km.ACTION="action",
Km.ENCODING="encoding",Km.PROMPT="prompt",
Km.NAME="name",Km.COLOR="color",Km.FACE="face",
Km.SIZE="size",(eg=Jm=Jm||(Jm={})).NO_QUIRKS="no-quirks",
eg.QUIRKS="quirks",eg.LIMITED_QUIRKS="limited-quirks",(ng=tg=tg||(tg={})).A="a",
ng.ADDRESS="address",
ng.ANNOTATION_XML="annotation-xml",ng.APPLET="applet",ng.AREA="area",
ng.ARTICLE="article",
ng.ASIDE="aside",ng.B="b",ng.BASE="base",ng.BASEFONT="basefont",
ng.BGSOUND="bgsound",
ng.BIG="big",ng.BLOCKQUOTE="blockquote",ng.BODY="body",ng.BR="br",
ng.BUTTON="button",
ng.CAPTION="caption",ng.CENTER="center",ng.CODE="code",ng.COL="col",
ng.COLGROUP="colgroup",
ng.DD="dd",ng.DESC="desc",ng.DETAILS="details",ng.DIALOG="dialog",
ng.DIR="dir",ng.DIV="div",
ng.DL="dl",ng.DT="dt",ng.EM="em",ng.EMBED="embed",ng.FIELDSET="fieldset",
ng.FIGCAPTION="figcaption",ng.FIGURE="figure",ng.FONT="font",ng.FOOTER="footer",
ng.FOREIGN_OBJECT="foreignObject",
ng.FORM="form",ng.FRAME="frame",ng.FRAMESET="frameset",
ng.H1="h1",ng.H2="h2",ng.H3="h3",
ng.H4="h4",ng.H5="h5",ng.H6="h6",ng.HEAD="head",
ng.HEADER="header",ng.HGROUP="hgroup",
ng.HR="hr",ng.HTML="html",ng.I="i",ng.IMG="img",
ng.IMAGE="image",ng.INPUT="input",
ng.IFRAME="iframe",ng.KEYGEN="keygen",ng.LABEL="label",
ng.LI="li",ng.LINK="link",
ng.LISTING="listing",ng.MAIN="main",ng.MALIGNMARK="malignmark",
ng.MARQUEE="marquee",
ng.MATH="math",ng.MENU="menu",ng.META="meta",ng.MGLYPH="mglyph",
ng.MI="mi",ng.MO="mo",
ng.MN="mn",ng.MS="ms",ng.MTEXT="mtext",ng.NAV="nav",ng.NOBR="nobr",
ng.NOFRAMES="noframes",
ng.NOEMBED="noembed",ng.NOSCRIPT="noscript",ng.OBJECT="object",
ng.OL="ol",ng.OPTGROUP="optgroup",
ng.OPTION="option",ng.P="p",ng.PARAM="param",ng.PLAINTEXT="plaintext",
ng.PRE="pre",
ng.RB="rb",ng.RP="rp",ng.RT="rt",ng.RTC="rtc",ng.RUBY="ruby",ng.S="s",
ng.SCRIPT="script",
ng.SECTION="section",ng.SELECT="select",ng.SOURCE="source",ng.SMALL="small",
ng.SPAN="span",
ng.STRIKE="strike",ng.STRONG="strong",ng.STYLE="style",ng.SUB="sub",
ng.SUMMARY="summary",
ng.SUP="sup",ng.TABLE="table",ng.TBODY="tbody",ng.TEMPLATE="template",
ng.TEXTAREA="textarea",
ng.TFOOT="tfoot",ng.TD="td",ng.TH="th",ng.THEAD="thead",ng.TITLE="title",
ng.TR="tr",
ng.TRACK="track",ng.TT="tt",ng.U="u",ng.UL="ul",ng.SVG="svg",ng.VAR="var",
ng.WBR="wbr",
ng.XMP="xmp",(og=rg=rg||(rg={}))[og.UNKNOWN=0]="UNKNOWN",og[og.A=1]="A",
og[og.ADDRESS=2]="ADDRESS",
og[og.ANNOTATION_XML=3]="ANNOTATION_XML",og[og.APPLET=4]="APPLET",
og[og.AREA=5]="AREA",
og[og.ARTICLE=6]="ARTICLE",og[og.ASIDE=7]="ASIDE",og[og.B=8]="B",
og[og.BASE=9]="BASE",
og[og.BASEFONT=10]="BASEFONT",og[og.BGSOUND=11]="BGSOUND",og[og.BIG=12]="BIG",
og[og.BLOCKQUOTE=13]="BLOCKQUOTE",
og[og.BODY=14]="BODY",og[og.BR=15]="BR",og[og.BUTTON=16]="BUTTON",
og[og.CAPTION=17]="CAPTION",
og[og.CENTER=18]="CENTER",og[og.CODE=19]="CODE",og[og.COL=20]="COL",
og[og.COLGROUP=21]="COLGROUP",
og[og.DD=22]="DD",og[og.DESC=23]="DESC",og[og.DETAILS=24]="DETAILS",
og[og.DIALOG=25]="DIALOG",
og[og.DIR=26]="DIR",og[og.DIV=27]="DIV",og[og.DL=28]="DL",
og[og.DT=29]="DT",og[og.EM=30]="EM",
og[og.EMBED=31]="EMBED",og[og.FIELDSET=32]="FIELDSET",
og[og.FIGCAPTION=33]="FIGCAPTION",
og[og.FIGURE=34]="FIGURE",og[og.FONT=35]="FONT",
og[og.FOOTER=36]="FOOTER",og[og.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",
og[og.FORM=38]="FORM",
og[og.FRAME=39]="FRAME",og[og.FRAMESET=40]="FRAMESET",og[og.H1=41]="H1",
og[og.H2=42]="H2",
og[og.H3=43]="H3",og[og.H4=44]="H4",og[og.H5=45]="H5",og[og.H6=46]="H6",
og[og.HEAD=47]="HEAD",
og[og.HEADER=48]="HEADER",og[og.HGROUP=49]="HGROUP",og[og.HR=50]="HR",
og[og.HTML=51]="HTML",
og[og.I=52]="I",og[og.IMG=53]="IMG",og[og.IMAGE=54]="IMAGE",
og[og.INPUT=55]="INPUT",
og[og.IFRAME=56]="IFRAME",og[og.KEYGEN=57]="KEYGEN",og[og.LABEL=58]="LABEL",
og[og.LI=59]="LI",
og[og.LINK=60]="LINK",og[og.LISTING=61]="LISTING",og[og.MAIN=62]="MAIN",
og[og.MALIGNMARK=63]="MALIGNMARK",
og[og.MARQUEE=64]="MARQUEE",og[og.MATH=65]="MATH",
og[og.MENU=66]="MENU",og[og.META=67]="META",
og[og.MGLYPH=68]="MGLYPH",og[og.MI=69]="MI",og[og.MO=70]="MO",og[og.MN=71]="MN",
og[og.MS=72]="MS",
og[og.MTEXT=73]="MTEXT",og[og.NAV=74]="NAV",og[og.NOBR=75]="NOBR",
og[og.NOFRAMES=76]="NOFRAMES",
og[og.NOEMBED=77]="NOEMBED",og[og.NOSCRIPT=78]="NOSCRIPT",
og[og.OBJECT=79]="OBJECT",
og[og.OL=80]="OL",og[og.OPTGROUP=81]="OPTGROUP",og[og.OPTION=82]="OPTION",
og[og.P=83]="P",
og[og.PARAM=84]="PARAM",og[og.PLAINTEXT=85]="PLAINTEXT",og[og.PRE=86]="PRE",
og[og.RB=87]="RB",
og[og.RP=88]="RP",og[og.RT=89]="RT",og[og.RTC=90]="RTC",og[og.RUBY=91]="RUBY",
og[og.S=92]="S",
og[og.SCRIPT=93]="SCRIPT",og[og.SECTION=94]="SECTION",og[og.SELECT=95]="SELECT",
og[og.SOURCE=96]="SOURCE",
og[og.SMALL=97]="SMALL",og[og.SPAN=98]="SPAN",og[og.STRIKE=99]="STRIKE",
og[og.STRONG=100]="STRONG",
og[og.STYLE=101]="STYLE",og[og.SUB=102]="SUB",og[og.SUMMARY=103]="SUMMARY",
og[og.SUP=104]="SUP",
og[og.TABLE=105]="TABLE",og[og.TBODY=106]="TBODY",og[og.TEMPLATE=107]="TEMPLATE",
og[og.TEXTAREA=108]="TEXTAREA",
og[og.TFOOT=109]="TFOOT",og[og.TD=110]="TD",og[og.TH=111]="TH",
og[og.THEAD=112]="THEAD",
og[og.TITLE=113]="TITLE",og[og.TR=114]="TR",og[og.TRACK=115]="TRACK",
og[og.TT=116]="TT",
og[og.U=117]="U",og[og.UL=118]="UL",og[og.SVG=119]="SVG",og[og.VAR=120]="VAR",
og[og.WBR=121]="WBR",og[og.XMP=122]="XMP"
;const ug=new Map([[tg.A,rg.A],[tg.ADDRESS,rg.ADDRESS],[tg.ANNOTATION_XML,rg.ANNOTATION_XML],[tg.APPLET,rg.APPLET],[tg.AREA,rg.AREA],[tg.ARTICLE,rg.ARTICLE],[tg.ASIDE,rg.ASIDE],[tg.B,rg.B],[tg.BASE,rg.BASE],[tg.BASEFONT,rg.BASEFONT],[tg.BGSOUND,rg.BGSOUND],[tg.BIG,rg.BIG],[tg.BLOCKQUOTE,rg.BLOCKQUOTE],[tg.BODY,rg.BODY],[tg.BR,rg.BR],[tg.BUTTON,rg.BUTTON],[tg.CAPTION,rg.CAPTION],[tg.CENTER,rg.CENTER],[tg.CODE,rg.CODE],[tg.COL,rg.COL],[tg.COLGROUP,rg.COLGROUP],[tg.DD,rg.DD],[tg.DESC,rg.DESC],[tg.DETAILS,rg.DETAILS],[tg.DIALOG,rg.DIALOG],[tg.DIR,rg.DIR],[tg.DIV,rg.DIV],[tg.DL,rg.DL],[tg.DT,rg.DT],[tg.EM,rg.EM],[tg.EMBED,rg.EMBED],[tg.FIELDSET,rg.FIELDSET],[tg.FIGCAPTION,rg.FIGCAPTION],[tg.FIGURE,rg.FIGURE],[tg.FONT,rg.FONT],[tg.FOOTER,rg.FOOTER],[tg.FOREIGN_OBJECT,rg.FOREIGN_OBJECT],[tg.FORM,rg.FORM],[tg.FRAME,rg.FRAME],[tg.FRAMESET,rg.FRAMESET],[tg.H1,rg.H1],[tg.H2,rg.H2],[tg.H3,rg.H3],[tg.H4,rg.H4],[tg.H5,rg.H5],[tg.H6,rg.H6],[tg.HEAD,rg.HEAD],[tg.HEADER,rg.HEADER],[tg.HGROUP,rg.HGROUP],[tg.HR,rg.HR],[tg.HTML,rg.HTML],[tg.I,rg.I],[tg.IMG,rg.IMG],[tg.IMAGE,rg.IMAGE],[tg.INPUT,rg.INPUT],[tg.IFRAME,rg.IFRAME],[tg.KEYGEN,rg.KEYGEN],[tg.LABEL,rg.LABEL],[tg.LI,rg.LI],[tg.LINK,rg.LINK],[tg.LISTING,rg.LISTING],[tg.MAIN,rg.MAIN],[tg.MALIGNMARK,rg.MALIGNMARK],[tg.MARQUEE,rg.MARQUEE],[tg.MATH,rg.MATH],[tg.MENU,rg.MENU],[tg.META,rg.META],[tg.MGLYPH,rg.MGLYPH],[tg.MI,rg.MI],[tg.MO,rg.MO],[tg.MN,rg.MN],[tg.MS,rg.MS],[tg.MTEXT,rg.MTEXT],[tg.NAV,rg.NAV],[tg.NOBR,rg.NOBR],[tg.NOFRAMES,rg.NOFRAMES],[tg.NOEMBED,rg.NOEMBED],[tg.NOSCRIPT,rg.NOSCRIPT],[tg.OBJECT,rg.OBJECT],[tg.OL,rg.OL],[tg.OPTGROUP,rg.OPTGROUP],[tg.OPTION,rg.OPTION],[tg.P,rg.P],[tg.PARAM,rg.PARAM],[tg.PLAINTEXT,rg.PLAINTEXT],[tg.PRE,rg.PRE],[tg.RB,rg.RB],[tg.RP,rg.RP],[tg.RT,rg.RT],[tg.RTC,rg.RTC],[tg.RUBY,rg.RUBY],[tg.S,rg.S],[tg.SCRIPT,rg.SCRIPT],[tg.SECTION,rg.SECTION],[tg.SELECT,rg.SELECT],[tg.SOURCE,rg.SOURCE],[tg.SMALL,rg.SMALL],[tg.SPAN,rg.SPAN],[tg.STRIKE,rg.STRIKE],[tg.STRONG,rg.STRONG],[tg.STYLE,rg.STYLE],[tg.SUB,rg.SUB],[tg.SUMMARY,rg.SUMMARY],[tg.SUP,rg.SUP],[tg.TABLE,rg.TABLE],[tg.TBODY,rg.TBODY],[tg.TEMPLATE,rg.TEMPLATE],[tg.TEXTAREA,rg.TEXTAREA],[tg.TFOOT,rg.TFOOT],[tg.TD,rg.TD],[tg.TH,rg.TH],[tg.THEAD,rg.THEAD],[tg.TITLE,rg.TITLE],[tg.TR,rg.TR],[tg.TRACK,rg.TRACK],[tg.TT,rg.TT],[tg.U,rg.U],[tg.UL,rg.UL],[tg.SVG,rg.SVG],[tg.VAR,rg.VAR],[tg.WBR,rg.WBR],[tg.XMP,rg.XMP]])
;function dg(e){var t;return null!==(t=ug.get(e))&&void 0!==t?t:rg.UNKNOWN}
const pg=rg,hg={
[Xm.HTML]:new Set([pg.ADDRESS,pg.APPLET,pg.AREA,pg.ARTICLE,pg.ASIDE,pg.BASE,pg.BASEFONT,pg.BGSOUND,pg.BLOCKQUOTE,pg.BODY,pg.BR,pg.BUTTON,pg.CAPTION,pg.CENTER,pg.COL,pg.COLGROUP,pg.DD,pg.DETAILS,pg.DIR,pg.DIV,pg.DL,pg.DT,pg.EMBED,pg.FIELDSET,pg.FIGCAPTION,pg.FIGURE,pg.FOOTER,pg.FORM,pg.FRAME,pg.FRAMESET,pg.H1,pg.H2,pg.H3,pg.H4,pg.H5,pg.H6,pg.HEAD,pg.HEADER,pg.HGROUP,pg.HR,pg.HTML,pg.IFRAME,pg.IMG,pg.INPUT,pg.LI,pg.LINK,pg.LISTING,pg.MAIN,pg.MARQUEE,pg.MENU,pg.META,pg.NAV,pg.NOEMBED,pg.NOFRAMES,pg.NOSCRIPT,pg.OBJECT,pg.OL,pg.P,pg.PARAM,pg.PLAINTEXT,pg.PRE,pg.SCRIPT,pg.SECTION,pg.SELECT,pg.SOURCE,pg.STYLE,pg.SUMMARY,pg.TABLE,pg.TBODY,pg.TD,pg.TEMPLATE,pg.TEXTAREA,pg.TFOOT,pg.TH,pg.THEAD,pg.TITLE,pg.TR,pg.TRACK,pg.UL,pg.WBR,pg.XMP]),
[Xm.MATHML]:new Set([pg.MI,pg.MO,pg.MN,pg.MS,pg.MTEXT,pg.ANNOTATION_XML]),
[Xm.SVG]:new Set([pg.TITLE,pg.FOREIGN_OBJECT,pg.DESC]),[Xm.XLINK]:new Set,
[Xm.XML]:new Set,[Xm.XMLNS]:new Set};function fg(e){
return e===pg.H1||e===pg.H2||e===pg.H3||e===pg.H4||e===pg.H5||e===pg.H6}
tg.STYLE,tg.SCRIPT,tg.XMP,tg.IFRAME,tg.NOEMBED,tg.NOFRAMES,tg.PLAINTEXT
;const mg=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 gg,vg
;(vg=gg||(gg={}))[vg.DATA=0]="DATA",vg[vg.RCDATA=1]="RCDATA",vg[vg.RAWTEXT=2]="RAWTEXT",
vg[vg.SCRIPT_DATA=3]="SCRIPT_DATA",
vg[vg.PLAINTEXT=4]="PLAINTEXT",vg[vg.TAG_OPEN=5]="TAG_OPEN",
vg[vg.END_TAG_OPEN=6]="END_TAG_OPEN",
vg[vg.TAG_NAME=7]="TAG_NAME",vg[vg.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",
vg[vg.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",
vg[vg.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",
vg[vg.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",
vg[vg.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",
vg[vg.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",
vg[vg.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",
vg[vg.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",
vg[vg.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",
vg[vg.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",
vg[vg.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",
vg[vg.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",
vg[vg.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",
vg[vg.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",
vg[vg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",
vg[vg.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",
vg[vg.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",
vg[vg.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",
vg[vg.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",
vg[vg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",
vg[vg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",
vg[vg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",
vg[vg.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",
vg[vg.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",
vg[vg.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",
vg[vg.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",
vg[vg.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",
vg[vg.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",
vg[vg.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",
vg[vg.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",
vg[vg.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",
vg[vg.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",
vg[vg.BOGUS_COMMENT=40]="BOGUS_COMMENT",
vg[vg.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",
vg[vg.COMMENT_START=42]="COMMENT_START",
vg[vg.COMMENT_START_DASH=43]="COMMENT_START_DASH",
vg[vg.COMMENT=44]="COMMENT",vg[vg.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",
vg[vg.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",
vg[vg.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",
vg[vg.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",
vg[vg.COMMENT_END_DASH=49]="COMMENT_END_DASH",
vg[vg.COMMENT_END=50]="COMMENT_END",
vg[vg.COMMENT_END_BANG=51]="COMMENT_END_BANG",
vg[vg.DOCTYPE=52]="DOCTYPE",vg[vg.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",
vg[vg.DOCTYPE_NAME=54]="DOCTYPE_NAME",
vg[vg.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",
vg[vg.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",
vg[vg.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",
vg[vg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",
vg[vg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",
vg[vg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",
vg[vg.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",
vg[vg.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",
vg[vg.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",
vg[vg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",
vg[vg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",
vg[vg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",
vg[vg.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",vg[vg.CDATA_SECTION=68]="CDATA_SECTION",
vg[vg.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",
vg[vg.CDATA_SECTION_END=70]="CDATA_SECTION_END",
vg[vg.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",
vg[vg.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",
vg[vg.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",
vg[vg.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",
vg[vg.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",
vg[vg.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",
vg[vg.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",
vg[vg.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END"
;const bg={DATA:gg.DATA,RCDATA:gg.RCDATA,RAWTEXT:gg.RAWTEXT,
SCRIPT_DATA:gg.SCRIPT_DATA,PLAINTEXT:gg.PLAINTEXT,CDATA_SECTION:gg.CDATA_SECTION
};function yg(e){return e>=ym.DIGIT_0&&e<=ym.DIGIT_9}function Og(e){
return e>=ym.LATIN_CAPITAL_A&&e<=ym.LATIN_CAPITAL_Z}function wg(e){
return function(e){return e>=ym.LATIN_SMALL_A&&e<=ym.LATIN_SMALL_Z}(e)||Og(e)}
function xg(e){return wg(e)||yg(e)}function kg(e){
return e>=ym.LATIN_CAPITAL_A&&e<=ym.LATIN_CAPITAL_F}function Sg(e){
return e>=ym.LATIN_SMALL_A&&e<=ym.LATIN_SMALL_F}function _g(e){return e+32}
function Eg(e){
return e===ym.SPACE||e===ym.LINE_FEED||e===ym.TABULATION||e===ym.FORM_FEED}
function Tg(e){return Eg(e)||e===ym.SOLIDUS||e===ym.GREATER_THAN_SIGN}class Cg{
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=gg.DATA,this.returnState=gg.DATA,
this.charRefCode=-1,this.consumedAfterSnapshot=-1,
this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={
name:"",value:""
},this.preprocessor=new Rm(t),this.currentLocation=this.getCurrentLocation(-1)}
_err(e){var t,n
;null===(n=(t=this.handler).onParseError)||void 0===n||n.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,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),
this.paused||null==n||n()}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:$m.START_TAG,tagName:"",
tagID:rg.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],
location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={
type:$m.END_TAG,tagName:"",tagID:rg.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,
attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(e){
this.currentToken={type:$m.COMMENT,data:"",location:this.getCurrentLocation(e)}}
_createDoctypeToken(e){this.currentToken={type:$m.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 n=this.currentToken;if(null===Mm(n,this.currentAttr.name)){
if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){
(null!==(e=(t=n.location).attrs)&&void 0!==e?e:t.attrs=Object.create(null))[this.currentAttr.name]=this.currentLocation,
this._leaveAttrValue()}}else this._err(Pm.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=dg(e.tagName),e.type===$m.START_TAG?(this.lastStartTagName=e.tagName,
this.handler.onStartTag(e)):(e.attrs.length>0&&this._err(Pm.endTagWithAttributes),
e.selfClosing&&this._err(Pm.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 $m.CHARACTER:
this.handler.onCharacter(this.currentCharacterToken);break
;case $m.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken)
;break;case $m.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:$m.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=Eg(e)?$m.WHITESPACE_CHARACTER:e===ym.NULL?$m.NULL_CHARACTER:$m.CHARACTER
;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}
_emitChars(e){this._appendCharToCurrentCharacterToken($m.CHARACTER,e)}
_matchNamedCharacterReference(e){let t=null,n=0,r=!1
;for(let a=0,i=Im[0];a>=0&&(a=cg(Im,i,a+1,e),!(a<0));e=this._consume()){
n+=1,i=Im[a];const s=i&zm.VALUE_LENGTH;if(s){const i=(s>>14)-1
;if(e!==ym.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((o=this.preprocessor.peek(1))===ym.EQUALS_SIGN||xg(o))?(t=[ym.AMPERSAND],
a+=i):(t=0===i?[Im[a]&~zm.VALUE_LENGTH]:1===i?[Im[++a]]:[Im[++a],Im[++a]],
n=0,r=e!==ym.SEMICOLON),0===i){this._consume();break}}}var o
;return this._unconsume(n),
r&&!this.preprocessor.endOfChunkHit&&this._err(Pm.missingSemicolonAfterCharacterReference),
this._unconsume(1),t}_isCharacterReferenceInAttribute(){
return this.returnState===gg.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===gg.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===gg.ATTRIBUTE_VALUE_UNQUOTED
}_flushCodePointConsumedAsCharacterReference(e){
this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)
}_callState(e){switch(this.state){case gg.DATA:this._stateData(e);break
;case gg.RCDATA:this._stateRcdata(e);break;case gg.RAWTEXT:this._stateRawtext(e)
;break;case gg.SCRIPT_DATA:this._stateScriptData(e);break;case gg.PLAINTEXT:
this._statePlaintext(e);break;case gg.TAG_OPEN:this._stateTagOpen(e);break
;case gg.END_TAG_OPEN:this._stateEndTagOpen(e);break;case gg.TAG_NAME:
this._stateTagName(e);break;case gg.RCDATA_LESS_THAN_SIGN:
this._stateRcdataLessThanSign(e);break;case gg.RCDATA_END_TAG_OPEN:
this._stateRcdataEndTagOpen(e);break;case gg.RCDATA_END_TAG_NAME:
this._stateRcdataEndTagName(e);break;case gg.RAWTEXT_LESS_THAN_SIGN:
this._stateRawtextLessThanSign(e);break;case gg.RAWTEXT_END_TAG_OPEN:
this._stateRawtextEndTagOpen(e);break;case gg.RAWTEXT_END_TAG_NAME:
this._stateRawtextEndTagName(e);break;case gg.SCRIPT_DATA_LESS_THAN_SIGN:
this._stateScriptDataLessThanSign(e);break;case gg.SCRIPT_DATA_END_TAG_OPEN:
this._stateScriptDataEndTagOpen(e);break;case gg.SCRIPT_DATA_END_TAG_NAME:
this._stateScriptDataEndTagName(e);break;case gg.SCRIPT_DATA_ESCAPE_START:
this._stateScriptDataEscapeStart(e);break;case gg.SCRIPT_DATA_ESCAPE_START_DASH:
this._stateScriptDataEscapeStartDash(e);break;case gg.SCRIPT_DATA_ESCAPED:
this._stateScriptDataEscaped(e);break;case gg.SCRIPT_DATA_ESCAPED_DASH:
this._stateScriptDataEscapedDash(e);break;case gg.SCRIPT_DATA_ESCAPED_DASH_DASH:
this._stateScriptDataEscapedDashDash(e);break
;case gg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:
this._stateScriptDataEscapedLessThanSign(e);break
;case gg.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:
this._stateScriptDataEscapedEndTagOpen(e);break
;case gg.SCRIPT_DATA_ESCAPED_END_TAG_NAME:
this._stateScriptDataEscapedEndTagName(e);break
;case gg.SCRIPT_DATA_DOUBLE_ESCAPE_START:
this._stateScriptDataDoubleEscapeStart(e);break
;case gg.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break
;case gg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:
this._stateScriptDataDoubleEscapedDash(e);break
;case gg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:
this._stateScriptDataDoubleEscapedDashDash(e);break
;case gg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:
this._stateScriptDataDoubleEscapedLessThanSign(e);break
;case gg.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e)
;break;case gg.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break
;case gg.ATTRIBUTE_NAME:this._stateAttributeName(e);break
;case gg.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break
;case gg.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break
;case gg.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e)
;break;case gg.ATTRIBUTE_VALUE_SINGLE_QUOTED:
this._stateAttributeValueSingleQuoted(e);break;case gg.ATTRIBUTE_VALUE_UNQUOTED:
this._stateAttributeValueUnquoted(e);break;case gg.AFTER_ATTRIBUTE_VALUE_QUOTED:
this._stateAfterAttributeValueQuoted(e);break;case gg.SELF_CLOSING_START_TAG:
this._stateSelfClosingStartTag(e);break;case gg.BOGUS_COMMENT:
this._stateBogusComment(e);break;case gg.MARKUP_DECLARATION_OPEN:
this._stateMarkupDeclarationOpen(e);break;case gg.COMMENT_START:
this._stateCommentStart(e);break;case gg.COMMENT_START_DASH:
this._stateCommentStartDash(e);break;case gg.COMMENT:this._stateComment(e);break
;case gg.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break
;case gg.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break
;case gg.COMMENT_LESS_THAN_SIGN_BANG_DASH:
this._stateCommentLessThanSignBangDash(e);break
;case gg.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:
this._stateCommentLessThanSignBangDashDash(e);break;case gg.COMMENT_END_DASH:
this._stateCommentEndDash(e);break;case gg.COMMENT_END:this._stateCommentEnd(e)
;break;case gg.COMMENT_END_BANG:this._stateCommentEndBang(e);break
;case gg.DOCTYPE:this._stateDoctype(e);break;case gg.BEFORE_DOCTYPE_NAME:
this._stateBeforeDoctypeName(e);break;case gg.DOCTYPE_NAME:
this._stateDoctypeName(e);break;case gg.AFTER_DOCTYPE_NAME:
this._stateAfterDoctypeName(e);break;case gg.AFTER_DOCTYPE_PUBLIC_KEYWORD:
this._stateAfterDoctypePublicKeyword(e);break
;case gg.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:
this._stateBeforeDoctypePublicIdentifier(e);break
;case gg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:
this._stateDoctypePublicIdentifierDoubleQuoted(e);break
;case gg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:
this._stateDoctypePublicIdentifierSingleQuoted(e);break
;case gg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:
this._stateAfterDoctypePublicIdentifier(e);break
;case gg.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:
this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break
;case gg.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e)
;break;case gg.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:
this._stateBeforeDoctypeSystemIdentifier(e);break
;case gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:
this._stateDoctypeSystemIdentifierDoubleQuoted(e);break
;case gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:
this._stateDoctypeSystemIdentifierSingleQuoted(e);break
;case gg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:
this._stateAfterDoctypeSystemIdentifier(e);break;case gg.BOGUS_DOCTYPE:
this._stateBogusDoctype(e);break;case gg.CDATA_SECTION:
this._stateCdataSection(e);break;case gg.CDATA_SECTION_BRACKET:
this._stateCdataSectionBracket(e);break;case gg.CDATA_SECTION_END:
this._stateCdataSectionEnd(e);break;case gg.CHARACTER_REFERENCE:
this._stateCharacterReference(e);break;case gg.NAMED_CHARACTER_REFERENCE:
this._stateNamedCharacterReference(e);break;case gg.AMBIGUOUS_AMPERSAND:
this._stateAmbiguousAmpersand(e);break;case gg.NUMERIC_CHARACTER_REFERENCE:
this._stateNumericCharacterReference(e);break
;case gg.HEXADEMICAL_CHARACTER_REFERENCE_START:
this._stateHexademicalCharacterReferenceStart(e);break
;case gg.HEXADEMICAL_CHARACTER_REFERENCE:
this._stateHexademicalCharacterReference(e);break
;case gg.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e)
;break;case gg.NUMERIC_CHARACTER_REFERENCE_END:
this._stateNumericCharacterReferenceEnd(e);break;default:
throw new Error("Unknown state")}}_stateData(e){switch(e){
case ym.LESS_THAN_SIGN:this.state=gg.TAG_OPEN;break;case ym.AMPERSAND:
this.returnState=gg.DATA,this.state=gg.CHARACTER_REFERENCE;break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this._emitCodePoint(e);break;case ym.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){
switch(e){case ym.AMPERSAND:
this.returnState=gg.RCDATA,this.state=gg.CHARACTER_REFERENCE;break
;case ym.LESS_THAN_SIGN:this.state=gg.RCDATA_LESS_THAN_SIGN;break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this._emitChars(bm);break;case ym.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){
switch(e){case ym.LESS_THAN_SIGN:this.state=gg.RAWTEXT_LESS_THAN_SIGN;break
;case ym.NULL:this._err(Pm.unexpectedNullCharacter),this._emitChars(bm);break
;case ym.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}
_stateScriptData(e){switch(e){case ym.LESS_THAN_SIGN:
this.state=gg.SCRIPT_DATA_LESS_THAN_SIGN;break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this._emitChars(bm);break;case ym.EOF:
this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){
switch(e){case ym.NULL:this._err(Pm.unexpectedNullCharacter),this._emitChars(bm)
;break;case ym.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}
_stateTagOpen(e){
if(wg(e))this._createStartTagToken(),this.state=gg.TAG_NAME,this._stateTagName(e);else switch(e){
case ym.EXCLAMATION_MARK:this.state=gg.MARKUP_DECLARATION_OPEN;break
;case ym.SOLIDUS:this.state=gg.END_TAG_OPEN;break;case ym.QUESTION_MARK:
this._err(Pm.unexpectedQuestionMarkInsteadOfTagName),
this._createCommentToken(1),
this.state=gg.BOGUS_COMMENT,this._stateBogusComment(e);break;case ym.EOF:
this._err(Pm.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break
;default:
this._err(Pm.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=gg.DATA,
this._stateData(e)}}_stateEndTagOpen(e){
if(wg(e))this._createEndTagToken(),this.state=gg.TAG_NAME,
this._stateTagName(e);else switch(e){case ym.GREATER_THAN_SIGN:
this._err(Pm.missingEndTagName),this.state=gg.DATA;break;case ym.EOF:
this._err(Pm.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break
;default:
this._err(Pm.invalidFirstCharacterOfTagName),this._createCommentToken(2),
this.state=gg.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){
const t=this.currentToken;switch(e){case ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:this.state=gg.BEFORE_ATTRIBUTE_NAME;break
;case ym.SOLIDUS:this.state=gg.SELF_CLOSING_START_TAG;break
;case ym.GREATER_THAN_SIGN:this.state=gg.DATA,this.emitCurrentTagToken();break
;case ym.NULL:this._err(Pm.unexpectedNullCharacter),t.tagName+=bm;break
;case ym.EOF:this._err(Pm.eofInTag),this._emitEOFToken();break;default:
t.tagName+=String.fromCodePoint(Og(e)?_g(e):e)}}_stateRcdataLessThanSign(e){
e===ym.SOLIDUS?this.state=gg.RCDATA_END_TAG_OPEN:(this._emitChars("<"),
this.state=gg.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){
wg(e)?(this.state=gg.RCDATA_END_TAG_NAME,
this._stateRcdataEndTagName(e)):(this._emitChars("</"),
this.state=gg.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){
if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation()
;this._createEndTagToken();this.currentToken.tagName=this.lastStartTagName
;switch(this.preprocessor.peek(this.lastStartTagName.length)){case ym.SPACE:
case ym.LINE_FEED:case ym.TABULATION:case ym.FORM_FEED:
return this._advanceBy(this.lastStartTagName.length),
this.state=gg.BEFORE_ATTRIBUTE_NAME,!1;case ym.SOLIDUS:
return this._advanceBy(this.lastStartTagName.length),
this.state=gg.SELF_CLOSING_START_TAG,!1;case ym.GREATER_THAN_SIGN:
return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),
this.state=gg.DATA,!1;default:return!this._ensureHibernation()}}
_stateRcdataEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),this.state=gg.RCDATA,
this._stateRcdata(e))}_stateRawtextLessThanSign(e){
e===ym.SOLIDUS?this.state=gg.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),
this.state=gg.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){
wg(e)?(this.state=gg.RAWTEXT_END_TAG_NAME,
this._stateRawtextEndTagName(e)):(this._emitChars("</"),
this.state=gg.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=gg.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){
switch(e){case ym.SOLIDUS:this.state=gg.SCRIPT_DATA_END_TAG_OPEN;break
;case ym.EXCLAMATION_MARK:
this.state=gg.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break;default:
this._emitChars("<"),this.state=gg.SCRIPT_DATA,this._stateScriptData(e)}}
_stateScriptDataEndTagOpen(e){
wg(e)?(this.state=gg.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(e)):(this._emitChars("</"),
this.state=gg.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=gg.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscapeStart(e){
e===ym.HYPHEN_MINUS?(this.state=gg.SCRIPT_DATA_ESCAPE_START_DASH,
this._emitChars("-")):(this.state=gg.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscapeStartDash(e){
e===ym.HYPHEN_MINUS?(this.state=gg.SCRIPT_DATA_ESCAPED_DASH_DASH,
this._emitChars("-")):(this.state=gg.SCRIPT_DATA,this._stateScriptData(e))}
_stateScriptDataEscaped(e){switch(e){case ym.HYPHEN_MINUS:
this.state=gg.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break
;case ym.LESS_THAN_SIGN:this.state=gg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case ym.NULL:this._err(Pm.unexpectedNullCharacter),this._emitChars(bm);break
;case ym.EOF:this._err(Pm.eofInScriptHtmlCommentLikeText),this._emitEOFToken()
;break;default:this._emitCodePoint(e)}}_stateScriptDataEscapedDash(e){switch(e){
case ym.HYPHEN_MINUS:
this.state=gg.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break
;case ym.LESS_THAN_SIGN:this.state=gg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this.state=gg.SCRIPT_DATA_ESCAPED,
this._emitChars(bm);break;case ym.EOF:
this._err(Pm.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=gg.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataEscapedDashDash(e){switch(e){case ym.HYPHEN_MINUS:
this._emitChars("-");break;case ym.LESS_THAN_SIGN:
this.state=gg.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break
;case ym.GREATER_THAN_SIGN:this.state=gg.SCRIPT_DATA,this._emitChars(">");break
;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this.state=gg.SCRIPT_DATA_ESCAPED,
this._emitChars(bm);break;case ym.EOF:
this._err(Pm.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=gg.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataEscapedLessThanSign(e){
e===ym.SOLIDUS?this.state=gg.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:wg(e)?(this._emitChars("<"),
this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPE_START,
this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),
this.state=gg.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataEscapedEndTagOpen(e){
wg(e)?(this.state=gg.SCRIPT_DATA_ESCAPED_END_TAG_NAME,
this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("</"),
this.state=gg.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataEscapedEndTagName(e){
this.handleSpecialEndTag(e)&&(this._emitChars("</"),
this.state=gg.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}
_stateScriptDataDoubleEscapeStart(e){
if(this.preprocessor.startsWith(Sm,!1)&&Tg(this.preprocessor.peek(Sm.length))){
this._emitCodePoint(e)
;for(let e=0;e<Sm.length;e++)this._emitCodePoint(this._consume())
;this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED
}else this._ensureHibernation()||(this.state=gg.SCRIPT_DATA_ESCAPED,
this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){
case ym.HYPHEN_MINUS:
this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break
;case ym.LESS_THAN_SIGN:this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,
this._emitChars("<");break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this._emitChars(bm);break;case ym.EOF:
this._err(Pm.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){
case ym.HYPHEN_MINUS:
this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break
;case ym.LESS_THAN_SIGN:this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,
this._emitChars("<");break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED,
this._emitChars(bm);break;case ym.EOF:
this._err(Pm.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataDoubleEscapedDashDash(e){switch(e){case ym.HYPHEN_MINUS:
this._emitChars("-");break;case ym.LESS_THAN_SIGN:
this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<")
;break;case ym.GREATER_THAN_SIGN:this.state=gg.SCRIPT_DATA,this._emitChars(">")
;break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED,
this._emitChars(bm);break;case ym.EOF:
this._err(Pm.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:
this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}
_stateScriptDataDoubleEscapedLessThanSign(e){
e===ym.SOLIDUS?(this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPE_END,
this._emitChars("/")):(this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED,
this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){
if(this.preprocessor.startsWith(Sm,!1)&&Tg(this.preprocessor.peek(Sm.length))){
this._emitCodePoint(e)
;for(let e=0;e<Sm.length;e++)this._emitCodePoint(this._consume())
;this.state=gg.SCRIPT_DATA_ESCAPED
}else this._ensureHibernation()||(this.state=gg.SCRIPT_DATA_DOUBLE_ESCAPED,
this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){
case ym.SPACE:case ym.LINE_FEED:case ym.TABULATION:case ym.FORM_FEED:break
;case ym.SOLIDUS:case ym.GREATER_THAN_SIGN:case ym.EOF:
this.state=gg.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break
;case ym.EQUALS_SIGN:
this._err(Pm.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),
this.state=gg.ATTRIBUTE_NAME;break;default:
this._createAttr(""),this.state=gg.ATTRIBUTE_NAME,this._stateAttributeName(e)}}
_stateAttributeName(e){switch(e){case ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:case ym.SOLIDUS:case ym.GREATER_THAN_SIGN:
case ym.EOF:
this._leaveAttrName(),this.state=gg.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e)
;break;case ym.EQUALS_SIGN:
this._leaveAttrName(),this.state=gg.BEFORE_ATTRIBUTE_VALUE;break
;case ym.QUOTATION_MARK:case ym.APOSTROPHE:case ym.LESS_THAN_SIGN:
this._err(Pm.unexpectedCharacterInAttributeName),
this.currentAttr.name+=String.fromCodePoint(e);break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this.currentAttr.name+=bm;break;default:
this.currentAttr.name+=String.fromCodePoint(Og(e)?_g(e):e)}}
_stateAfterAttributeName(e){switch(e){case ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:break;case ym.SOLIDUS:
this.state=gg.SELF_CLOSING_START_TAG;break;case ym.EQUALS_SIGN:
this.state=gg.BEFORE_ATTRIBUTE_VALUE;break;case ym.GREATER_THAN_SIGN:
this.state=gg.DATA,this.emitCurrentTagToken();break;case ym.EOF:
this._err(Pm.eofInTag),this._emitEOFToken();break;default:
this._createAttr(""),this.state=gg.ATTRIBUTE_NAME,this._stateAttributeName(e)}}
_stateBeforeAttributeValue(e){switch(e){case ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:break;case ym.QUOTATION_MARK:
this.state=gg.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case ym.APOSTROPHE:
this.state=gg.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case ym.GREATER_THAN_SIGN:
this._err(Pm.missingAttributeValue),
this.state=gg.DATA,this.emitCurrentTagToken();break;default:
this.state=gg.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}
_stateAttributeValueDoubleQuoted(e){switch(e){case ym.QUOTATION_MARK:
this.state=gg.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case ym.AMPERSAND:
this.returnState=gg.ATTRIBUTE_VALUE_DOUBLE_QUOTED,
this.state=gg.CHARACTER_REFERENCE;break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this.currentAttr.value+=bm;break
;case ym.EOF:this._err(Pm.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAttributeValueSingleQuoted(e){switch(e){case ym.APOSTROPHE:
this.state=gg.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case ym.AMPERSAND:
this.returnState=gg.ATTRIBUTE_VALUE_SINGLE_QUOTED,
this.state=gg.CHARACTER_REFERENCE;break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),this.currentAttr.value+=bm;break
;case ym.EOF:this._err(Pm.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAttributeValueUnquoted(e){switch(e){case ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:
this._leaveAttrValue(),this.state=gg.BEFORE_ATTRIBUTE_NAME;break
;case ym.AMPERSAND:
this.returnState=gg.ATTRIBUTE_VALUE_UNQUOTED,this.state=gg.CHARACTER_REFERENCE
;break;case ym.GREATER_THAN_SIGN:
this._leaveAttrValue(),this.state=gg.DATA,this.emitCurrentTagToken();break
;case ym.NULL:this._err(Pm.unexpectedNullCharacter),this.currentAttr.value+=bm
;break;case ym.QUOTATION_MARK:case ym.APOSTROPHE:case ym.LESS_THAN_SIGN:
case ym.EQUALS_SIGN:case ym.GRAVE_ACCENT:
this._err(Pm.unexpectedCharacterInUnquotedAttributeValue),
this.currentAttr.value+=String.fromCodePoint(e);break;case ym.EOF:
this._err(Pm.eofInTag),this._emitEOFToken();break;default:
this.currentAttr.value+=String.fromCodePoint(e)}}
_stateAfterAttributeValueQuoted(e){switch(e){case ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:
this._leaveAttrValue(),this.state=gg.BEFORE_ATTRIBUTE_NAME;break
;case ym.SOLIDUS:this._leaveAttrValue(),this.state=gg.SELF_CLOSING_START_TAG
;break;case ym.GREATER_THAN_SIGN:
this._leaveAttrValue(),this.state=gg.DATA,this.emitCurrentTagToken();break
;case ym.EOF:this._err(Pm.eofInTag),this._emitEOFToken();break;default:
this._err(Pm.missingWhitespaceBetweenAttributes),
this.state=gg.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}
_stateSelfClosingStartTag(e){switch(e){case ym.GREATER_THAN_SIGN:
this.currentToken.selfClosing=!0,this.state=gg.DATA,this.emitCurrentTagToken()
;break;case ym.EOF:this._err(Pm.eofInTag),this._emitEOFToken();break;default:
this._err(Pm.unexpectedSolidusInTag),
this.state=gg.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}
_stateBogusComment(e){const t=this.currentToken;switch(e){
case ym.GREATER_THAN_SIGN:this.state=gg.DATA,this.emitCurrentComment(t);break
;case ym.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),t.data+=bm;break;default:
t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){
this._consumeSequenceIfMatch(wm,!0)?(this._createCommentToken(wm.length+1),
this.state=gg.COMMENT_START):this._consumeSequenceIfMatch(km,!1)?(this.currentLocation=this.getCurrentLocation(km.length+1),
this.state=gg.DOCTYPE):this._consumeSequenceIfMatch(xm,!0)?this.inForeignNode?this.state=gg.CDATA_SECTION:(this._err(Pm.cdataInHtmlContent),
this._createCommentToken(xm.length+1),
this.currentToken.data="[CDATA[",this.state=gg.BOGUS_COMMENT):this._ensureHibernation()||(this._err(Pm.incorrectlyOpenedComment),
this._createCommentToken(2),
this.state=gg.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){
switch(e){case ym.HYPHEN_MINUS:this.state=gg.COMMENT_START_DASH;break
;case ym.GREATER_THAN_SIGN:{
this._err(Pm.abruptClosingOfEmptyComment),this.state=gg.DATA
;const e=this.currentToken;this.emitCurrentComment(e);break}default:
this.state=gg.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){
const t=this.currentToken;switch(e){case ym.HYPHEN_MINUS:
this.state=gg.COMMENT_END;break;case ym.GREATER_THAN_SIGN:
this._err(Pm.abruptClosingOfEmptyComment),
this.state=gg.DATA,this.emitCurrentComment(t);break;case ym.EOF:
this._err(Pm.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="-",this.state=gg.COMMENT,this._stateComment(e)}}
_stateComment(e){const t=this.currentToken;switch(e){case ym.HYPHEN_MINUS:
this.state=gg.COMMENT_END_DASH;break;case ym.LESS_THAN_SIGN:
t.data+="<",this.state=gg.COMMENT_LESS_THAN_SIGN;break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),t.data+=bm;break;case ym.EOF:
this._err(Pm.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){
const t=this.currentToken;switch(e){case ym.EXCLAMATION_MARK:
t.data+="!",this.state=gg.COMMENT_LESS_THAN_SIGN_BANG;break
;case ym.LESS_THAN_SIGN:t.data+="<";break;default:
this.state=gg.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){
e===ym.HYPHEN_MINUS?this.state=gg.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=gg.COMMENT,
this._stateComment(e))}_stateCommentLessThanSignBangDash(e){
e===ym.HYPHEN_MINUS?this.state=gg.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=gg.COMMENT_END_DASH,
this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){
e!==ym.GREATER_THAN_SIGN&&e!==ym.EOF&&this._err(Pm.nestedComment),
this.state=gg.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){
const t=this.currentToken;switch(e){case ym.HYPHEN_MINUS:
this.state=gg.COMMENT_END;break;case ym.EOF:
this._err(Pm.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="-",this.state=gg.COMMENT,this._stateComment(e)}}
_stateCommentEnd(e){const t=this.currentToken;switch(e){
case ym.GREATER_THAN_SIGN:this.state=gg.DATA,this.emitCurrentComment(t);break
;case ym.EXCLAMATION_MARK:this.state=gg.COMMENT_END_BANG;break
;case ym.HYPHEN_MINUS:t.data+="-";break;case ym.EOF:
this._err(Pm.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="--",this.state=gg.COMMENT,this._stateComment(e)}}
_stateCommentEndBang(e){const t=this.currentToken;switch(e){
case ym.HYPHEN_MINUS:t.data+="--!",this.state=gg.COMMENT_END_DASH;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.incorrectlyClosedComment),this.state=gg.DATA,
this.emitCurrentComment(t);break;case ym.EOF:
this._err(Pm.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break
;default:t.data+="--!",this.state=gg.COMMENT,this._stateComment(e)}}
_stateDoctype(e){switch(e){case ym.SPACE:case ym.LINE_FEED:case ym.TABULATION:
case ym.FORM_FEED:this.state=gg.BEFORE_DOCTYPE_NAME;break
;case ym.GREATER_THAN_SIGN:
this.state=gg.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break
;case ym.EOF:{this._err(Pm.eofInDoctype),this._createDoctypeToken(null)
;const e=this.currentToken
;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:
this._err(Pm.missingWhitespaceBeforeDoctypeName),
this.state=gg.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}
_stateBeforeDoctypeName(e){
if(Og(e))this._createDoctypeToken(String.fromCharCode(_g(e))),
this.state=gg.DOCTYPE_NAME;else switch(e){case ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),
this._createDoctypeToken(bm),this.state=gg.DOCTYPE_NAME;break
;case ym.GREATER_THAN_SIGN:{
this._err(Pm.missingDoctypeName),this._createDoctypeToken(null)
;const e=this.currentToken
;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=gg.DATA;break}
case ym.EOF:{this._err(Pm.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=gg.DOCTYPE_NAME}}
_stateDoctypeName(e){const t=this.currentToken;switch(e){case ym.SPACE:
case ym.LINE_FEED:case ym.TABULATION:case ym.FORM_FEED:
this.state=gg.AFTER_DOCTYPE_NAME;break;case ym.GREATER_THAN_SIGN:
this.state=gg.DATA,this.emitCurrentDoctype(t);break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter),t.name+=bm;break;case ym.EOF:
this._err(Pm.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
t.name+=String.fromCodePoint(Og(e)?_g(e):e)}}_stateAfterDoctypeName(e){
const t=this.currentToken;switch(e){case ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:break;case ym.GREATER_THAN_SIGN:
this.state=gg.DATA,this.emitCurrentDoctype(t);break;case ym.EOF:
this._err(Pm.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._consumeSequenceIfMatch(_m,!1)?this.state=gg.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Em,!1)?this.state=gg.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(Pm.invalidCharacterSequenceAfterDoctypeName),
t.forceQuirks=!0,this.state=gg.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}
_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){
case ym.SPACE:case ym.LINE_FEED:case ym.TABULATION:case ym.FORM_FEED:
this.state=gg.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case ym.QUOTATION_MARK:
this._err(Pm.missingWhitespaceAfterDoctypePublicKeyword),
t.publicId="",this.state=gg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break
;case ym.APOSTROPHE:
this._err(Pm.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",
this.state=gg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.missingDoctypePublicIdentifier),t.forceQuirks=!0,
this.state=gg.DATA,this.emitCurrentDoctype(t);break;case ym.EOF:
this._err(Pm.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(Pm.missingQuoteBeforeDoctypePublicIdentifier),
t.forceQuirks=!0,this.state=gg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){
case ym.SPACE:case ym.LINE_FEED:case ym.TABULATION:case ym.FORM_FEED:break
;case ym.QUOTATION_MARK:
t.publicId="",this.state=gg.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break
;case ym.APOSTROPHE:
t.publicId="",this.state=gg.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.missingDoctypePublicIdentifier),t.forceQuirks=!0,
this.state=gg.DATA,this.emitCurrentDoctype(t);break;case ym.EOF:
this._err(Pm.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(Pm.missingQuoteBeforeDoctypePublicIdentifier),
t.forceQuirks=!0,this.state=gg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken
;switch(e){case ym.QUOTATION_MARK:this.state=gg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER
;break;case ym.NULL:this._err(Pm.unexpectedNullCharacter),t.publicId+=bm;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.abruptDoctypePublicIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=gg.DATA;break;case ym.EOF:
this._err(Pm.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 ym.APOSTROPHE:this.state=gg.AFTER_DOCTYPE_PUBLIC_IDENTIFIER
;break;case ym.NULL:this._err(Pm.unexpectedNullCharacter),t.publicId+=bm;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.abruptDoctypePublicIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=gg.DATA;break;case ym.EOF:
this._err(Pm.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 ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:
this.state=gg.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break
;case ym.GREATER_THAN_SIGN:this.state=gg.DATA,this.emitCurrentDoctype(t);break
;case ym.QUOTATION_MARK:
this._err(Pm.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),
t.systemId="",this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case ym.APOSTROPHE:
this._err(Pm.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),
t.systemId="",this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case ym.EOF:
this._err(Pm.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),
this._emitEOFToken();break;default:
this._err(Pm.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=gg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken
;switch(e){case ym.SPACE:case ym.LINE_FEED:case ym.TABULATION:case ym.FORM_FEED:
break;case ym.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=gg.DATA
;break;case ym.QUOTATION_MARK:
t.systemId="",this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case ym.APOSTROPHE:
t.systemId="",this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case ym.EOF:
this._err(Pm.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),
this._emitEOFToken();break;default:
this._err(Pm.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=gg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){
case ym.SPACE:case ym.LINE_FEED:case ym.TABULATION:case ym.FORM_FEED:
this.state=gg.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case ym.QUOTATION_MARK:
this._err(Pm.missingWhitespaceAfterDoctypeSystemKeyword),
t.systemId="",this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case ym.APOSTROPHE:
this._err(Pm.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",
this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.missingDoctypeSystemIdentifier),t.forceQuirks=!0,
this.state=gg.DATA,this.emitCurrentDoctype(t);break;case ym.EOF:
this._err(Pm.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(Pm.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=gg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){
case ym.SPACE:case ym.LINE_FEED:case ym.TABULATION:case ym.FORM_FEED:break
;case ym.QUOTATION_MARK:
t.systemId="",this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break
;case ym.APOSTROPHE:
t.systemId="",this.state=gg.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.missingDoctypeSystemIdentifier),t.forceQuirks=!0,
this.state=gg.DATA,this.emitCurrentDoctype(t);break;case ym.EOF:
this._err(Pm.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(Pm.missingQuoteBeforeDoctypeSystemIdentifier),
t.forceQuirks=!0,this.state=gg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}
_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken
;switch(e){case ym.QUOTATION_MARK:this.state=gg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER
;break;case ym.NULL:this._err(Pm.unexpectedNullCharacter),t.systemId+=bm;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=gg.DATA;break;case ym.EOF:
this._err(Pm.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 ym.APOSTROPHE:this.state=gg.AFTER_DOCTYPE_SYSTEM_IDENTIFIER
;break;case ym.NULL:this._err(Pm.unexpectedNullCharacter),t.systemId+=bm;break
;case ym.GREATER_THAN_SIGN:
this._err(Pm.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,
this.emitCurrentDoctype(t),this.state=gg.DATA;break;case ym.EOF:
this._err(Pm.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 ym.SPACE:case ym.LINE_FEED:
case ym.TABULATION:case ym.FORM_FEED:break;case ym.GREATER_THAN_SIGN:
this.emitCurrentDoctype(t),this.state=gg.DATA;break;case ym.EOF:
this._err(Pm.eofInDoctype),
t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:
this._err(Pm.unexpectedCharacterAfterDoctypeSystemIdentifier),
this.state=gg.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){
const t=this.currentToken;switch(e){case ym.GREATER_THAN_SIGN:
this.emitCurrentDoctype(t),this.state=gg.DATA;break;case ym.NULL:
this._err(Pm.unexpectedNullCharacter);break;case ym.EOF:
this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){
switch(e){case ym.RIGHT_SQUARE_BRACKET:this.state=gg.CDATA_SECTION_BRACKET;break
;case ym.EOF:this._err(Pm.eofInCdata),this._emitEOFToken();break;default:
this._emitCodePoint(e)}}_stateCdataSectionBracket(e){
e===ym.RIGHT_SQUARE_BRACKET?this.state=gg.CDATA_SECTION_END:(this._emitChars("]"),
this.state=gg.CDATA_SECTION,this._stateCdataSection(e))}
_stateCdataSectionEnd(e){switch(e){case ym.GREATER_THAN_SIGN:this.state=gg.DATA
;break;case ym.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:
this._emitChars("]]"),this.state=gg.CDATA_SECTION,this._stateCdataSection(e)}}
_stateCharacterReference(e){
e===ym.NUMBER_SIGN?this.state=gg.NUMERIC_CHARACTER_REFERENCE:xg(e)?(this.state=gg.NAMED_CHARACTER_REFERENCE,
this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(ym.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(ym.AMPERSAND),
this.state=gg.AMBIGUOUS_AMPERSAND}_stateAmbiguousAmpersand(e){
xg(e)?this._flushCodePointConsumedAsCharacterReference(e):(e===ym.SEMICOLON&&this._err(Pm.unknownNamedCharacterReference),
this._reconsumeInState(this.returnState,e))}_stateNumericCharacterReference(e){
this.charRefCode=0,
e===ym.LATIN_SMALL_X||e===ym.LATIN_CAPITAL_X?this.state=gg.HEXADEMICAL_CHARACTER_REFERENCE_START:yg(e)?(this.state=gg.DECIMAL_CHARACTER_REFERENCE,
this._stateDecimalCharacterReference(e)):(this._err(Pm.absenceOfDigitsInNumericCharacterReference),
this._flushCodePointConsumedAsCharacterReference(ym.AMPERSAND),
this._flushCodePointConsumedAsCharacterReference(ym.NUMBER_SIGN),
this._reconsumeInState(this.returnState,e))}
_stateHexademicalCharacterReferenceStart(e){!function(e){
return yg(e)||kg(e)||Sg(e)
}(e)?(this._err(Pm.absenceOfDigitsInNumericCharacterReference),
this._flushCodePointConsumedAsCharacterReference(ym.AMPERSAND),
this._flushCodePointConsumedAsCharacterReference(ym.NUMBER_SIGN),
this._unconsume(2),
this.state=this.returnState):(this.state=gg.HEXADEMICAL_CHARACTER_REFERENCE,
this._stateHexademicalCharacterReference(e))}
_stateHexademicalCharacterReference(e){
kg(e)?this.charRefCode=16*this.charRefCode+e-55:Sg(e)?this.charRefCode=16*this.charRefCode+e-87:yg(e)?this.charRefCode=16*this.charRefCode+e-48:e===ym.SEMICOLON?this.state=gg.NUMERIC_CHARACTER_REFERENCE_END:(this._err(Pm.missingSemicolonAfterCharacterReference),
this.state=gg.NUMERIC_CHARACTER_REFERENCE_END,
this._stateNumericCharacterReferenceEnd(e))}_stateDecimalCharacterReference(e){
yg(e)?this.charRefCode=10*this.charRefCode+e-48:e===ym.SEMICOLON?this.state=gg.NUMERIC_CHARACTER_REFERENCE_END:(this._err(Pm.missingSemicolonAfterCharacterReference),
this.state=gg.NUMERIC_CHARACTER_REFERENCE_END,
this._stateNumericCharacterReferenceEnd(e))}
_stateNumericCharacterReferenceEnd(e){
if(this.charRefCode===ym.NULL)this._err(Pm.nullCharacterReference),
this.charRefCode=ym.REPLACEMENT_CHARACTER;else if(this.charRefCode>1114111)this._err(Pm.characterReferenceOutsideUnicodeRange),
this.charRefCode=ym.REPLACEMENT_CHARACTER;else if(Tm(this.charRefCode))this._err(Pm.surrogateCharacterReference),
this.charRefCode=ym.REPLACEMENT_CHARACTER;else if(Am(this.charRefCode))this._err(Pm.noncharacterCharacterReference);else if(Cm(this.charRefCode)||this.charRefCode===ym.CARRIAGE_RETURN){
this._err(Pm.controlCharacterReference);const e=mg.get(this.charRefCode)
;void 0!==e&&(this.charRefCode=e)}
this._flushCodePointConsumedAsCharacterReference(this.charRefCode),
this._reconsumeInState(this.returnState,e)}}
const Ag=new Set([rg.DD,rg.DT,rg.LI,rg.OPTGROUP,rg.OPTION,rg.P,rg.RB,rg.RP,rg.RT,rg.RTC]),Pg=new Set([...Ag,rg.CAPTION,rg.COLGROUP,rg.TBODY,rg.TD,rg.TFOOT,rg.TH,rg.THEAD,rg.TR]),Dg=new Map([[rg.APPLET,Xm.HTML],[rg.CAPTION,Xm.HTML],[rg.HTML,Xm.HTML],[rg.MARQUEE,Xm.HTML],[rg.OBJECT,Xm.HTML],[rg.TABLE,Xm.HTML],[rg.TD,Xm.HTML],[rg.TEMPLATE,Xm.HTML],[rg.TH,Xm.HTML],[rg.ANNOTATION_XML,Xm.MATHML],[rg.MI,Xm.MATHML],[rg.MN,Xm.MATHML],[rg.MO,Xm.MATHML],[rg.MS,Xm.MATHML],[rg.MTEXT,Xm.MATHML],[rg.DESC,Xm.SVG],[rg.FOREIGN_OBJECT,Xm.SVG],[rg.TITLE,Xm.SVG]]),Rg=[rg.H1,rg.H2,rg.H3,rg.H4,rg.H5,rg.H6],$g=[rg.TR,rg.TEMPLATE,rg.HTML],Ng=[rg.TBODY,rg.TFOOT,rg.THEAD,rg.TEMPLATE,rg.HTML],Mg=[rg.TABLE,rg.TEMPLATE,rg.HTML],Ig=[rg.TD,rg.TH]
;class Lg{get currentTmplContentOrNode(){
return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current
}constructor(e,t,n){
this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,
this.tmplCount=0,this.currentTagId=rg.UNKNOWN,this.current=e}_indexOf(e){
return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){
return this.currentTagId===rg.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Xm.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 n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}
insertAfter(e,t,n){const r=this._indexOf(e)+1
;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),
this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),
this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}
popUntilTagNamePopped(e){let t=this.stackTop+1;do{
t=this.tagIDs.lastIndexOf(e,t-1)
}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==Xm.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 n=this._indexOfTagNames(e,t);this.shortenToLength(n<0?0:n)}
popUntilNumberedHeaderPopped(){this.popUntilPopped(Rg,Xm.HTML)}
popUntilTableCellPopped(){this.popUntilPopped(Ig,Xm.HTML)}
popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}
_indexOfTagNames(e,t){
for(let n=this.stackTop;n>=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n
;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t)
;this.shortenToLength(n+1)}clearBackToTableContext(){
this.clearBackTo(Mg,Xm.HTML)}clearBackToTableBodyContext(){
this.clearBackTo(Ng,Xm.HTML)}clearBackToTableRowContext(){
this.clearBackTo($g,Xm.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]===rg.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]===rg.HTML}
hasInScope(e){for(let t=this.stackTop;t>=0;t--){
const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t])
;if(n===e&&r===Xm.HTML)return!0;if(Dg.get(n)===r)return!1}return!0}
hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){
const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e])
;if(fg(t)&&n===Xm.HTML)return!0;if(Dg.get(t)===n)return!1}return!0}
hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){
const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t])
;if(n===e&&r===Xm.HTML)return!0
;if((n===rg.UL||n===rg.OL)&&r===Xm.HTML||Dg.get(n)===r)return!1}return!0}
hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){
const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t])
;if(n===e&&r===Xm.HTML)return!0
;if(n===rg.BUTTON&&r===Xm.HTML||Dg.get(n)===r)return!1}return!0}
hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t]
;if(this.treeAdapter.getNamespaceURI(this.items[t])===Xm.HTML){if(n===e)return!0
;if(n===rg.TABLE||n===rg.TEMPLATE||n===rg.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])===Xm.HTML){
if(t===rg.TBODY||t===rg.THEAD||t===rg.TFOOT)return!0
;if(t===rg.TABLE||t===rg.HTML)return!1}}return!0}hasInSelectScope(e){
for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t]
;if(this.treeAdapter.getNamespaceURI(this.items[t])===Xm.HTML){if(n===e)return!0
;if(n!==rg.OPTION&&n!==rg.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){
for(;Ag.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){
for(;Pg.has(this.currentTagId);)this.pop()}
generateImpliedEndTagsWithExclusion(e){
for(;this.currentTagId!==e&&Pg.has(this.currentTagId);)this.pop()}}var jg,Bg
;(Bg=jg=jg||(jg={}))[Bg.Marker=0]="Marker",Bg[Bg.Element=1]="Element";const Ug={
type:jg.Marker};class Qg{constructor(e){
this.treeAdapter=e,this.entries=[],this.bookmark=null}
_getNoahArkConditionCandidates(e,t){
const n=[],r=t.length,o=this.treeAdapter.getTagName(e),a=this.treeAdapter.getNamespaceURI(e)
;for(let i=0;i<this.entries.length;i++){const e=this.entries[i]
;if(e.type===jg.Marker)break;const{element:t}=e
;if(this.treeAdapter.getTagName(t)===o&&this.treeAdapter.getNamespaceURI(t)===a){
const e=this.treeAdapter.getAttrList(t);e.length===r&&n.push({idx:i,attrs:e})}}
return n}_ensureNoahArkCondition(e){if(this.entries.length<3)return
;const t=this.treeAdapter.getAttrList(e),n=this._getNoahArkConditionCandidates(e,t)
;if(n.length<3)return;const r=new Map(t.map((e=>[e.name,e.value])));let o=0
;for(let a=0;a<n.length;a++){const e=n[a]
;e.attrs.every((e=>r.get(e.name)===e.value))&&(o+=1,
o>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(Ug)}
pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({
type:jg.Element,element:e,token:t})}insertElementAfterBookmark(e,t){
const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{
type:jg.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(Ug)
;e>=0?this.entries.splice(0,e+1):this.entries.length=0}
getElementEntryInScopeWithTagName(e){
const t=this.entries.find((t=>t.type===jg.Marker||this.treeAdapter.getTagName(t.element)===e))
;return t&&t.type===jg.Element?t:null}getElementEntry(e){
return this.entries.find((t=>t.type===jg.Element&&t.element===e))}}
function Fg(e){return{nodeName:"#text",value:e,parentNode:null}}const zg={
createDocument:()=>({nodeName:"#document",mode:Jm.NO_QUIRKS,childNodes:[]}),
createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),
createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,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,n){const r=e.childNodes.indexOf(n)
;e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t
},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){
const o=e.childNodes.find((e=>"#documentType"===e.nodeName))
;if(o)o.name=t,o.publicId=n,o.systemId=r;else{const o={nodeName:"#documentType",
name:t,publicId:n,systemId:r,parentNode:null};zg.appendChild(e,o)}},
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 n=e.childNodes[e.childNodes.length-1]
;if(zg.isTextNode(n))return void(n.value+=t)}zg.appendChild(e,Fg(t))},
insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1]
;r&&zg.isTextNode(r)?r.value+=t:zg.insertBefore(e,Fg(t),n)},
adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)))
;for(let r=0;r<t.length;r++)n.has(t[r].name)||e.attrs.push(t[r])},
getFirstChild:e=>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}}
},qg="html",Hg="about:legacy-compat",Vg="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Zg=["+//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//"],Wg=[...Zg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Xg=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Gg=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Yg=[...Gg,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"]
;function Kg(e,t){return t.some((t=>e.startsWith(t)))}const Jg={
TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"
},ev="definitionurl",tv="definitionURL",nv=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]))),rv=new Map([["xlink:actuate",{
prefix:"xlink",name:"actuate",namespace:Xm.XLINK}],["xlink:arcrole",{
prefix:"xlink",name:"arcrole",namespace:Xm.XLINK}],["xlink:href",{
prefix:"xlink",name:"href",namespace:Xm.XLINK}],["xlink:role",{prefix:"xlink",
name:"role",namespace:Xm.XLINK}],["xlink:show",{prefix:"xlink",name:"show",
namespace:Xm.XLINK}],["xlink:title",{prefix:"xlink",name:"title",
namespace:Xm.XLINK}],["xlink:type",{prefix:"xlink",name:"type",
namespace:Xm.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Xm.XML
}],["xml:lang",{prefix:"xml",name:"lang",namespace:Xm.XML}],["xml:space",{
prefix:"xml",name:"space",namespace:Xm.XML}],["xmlns",{prefix:"",name:"xmlns",
namespace:Xm.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",
namespace:Xm.XMLNS
}]]),ov=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]))),av=new Set([rg.B,rg.BIG,rg.BLOCKQUOTE,rg.BODY,rg.BR,rg.CENTER,rg.CODE,rg.DD,rg.DIV,rg.DL,rg.DT,rg.EM,rg.EMBED,rg.H1,rg.H2,rg.H3,rg.H4,rg.H5,rg.H6,rg.HEAD,rg.HR,rg.I,rg.IMG,rg.LI,rg.LISTING,rg.MENU,rg.META,rg.NOBR,rg.OL,rg.P,rg.PRE,rg.RUBY,rg.S,rg.SMALL,rg.SPAN,rg.STRONG,rg.STRIKE,rg.SUB,rg.SUP,rg.TABLE,rg.TT,rg.U,rg.UL,rg.VAR])
;function iv(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===ev){
e.attrs[t].name=tv;break}}function sv(e){for(let t=0;t<e.attrs.length;t++){
const n=nv.get(e.attrs[t].name);null!=n&&(e.attrs[t].name=n)}}function lv(e){
for(let t=0;t<e.attrs.length;t++){const n=rv.get(e.attrs[t].name)
;n&&(e.attrs[t].prefix=n.prefix,
e.attrs[t].name=n.name,e.attrs[t].namespace=n.namespace)}}function cv(e,t,n,r){
return(!r||r===Xm.HTML)&&function(e,t,n){
if(t===Xm.MATHML&&e===rg.ANNOTATION_XML)for(let r=0;r<n.length;r++)if(n[r].name===Ym.ENCODING){
const e=n[r].value.toLowerCase();return e===Jg.TEXT_HTML||e===Jg.APPLICATION_XML
}return t===Xm.SVG&&(e===rg.FOREIGN_OBJECT||e===rg.DESC||e===rg.TITLE)
}(e,t,n)||(!r||r===Xm.MATHML)&&function(e,t){
return t===Xm.MATHML&&(e===rg.MI||e===rg.MO||e===rg.MN||e===rg.MS||e===rg.MTEXT)
}(e,t)}const uv="hidden",dv=8,pv=3;var hv,fv
;(fv=hv||(hv={}))[fv.INITIAL=0]="INITIAL",
fv[fv.BEFORE_HTML=1]="BEFORE_HTML",fv[fv.BEFORE_HEAD=2]="BEFORE_HEAD",
fv[fv.IN_HEAD=3]="IN_HEAD",
fv[fv.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",fv[fv.AFTER_HEAD=5]="AFTER_HEAD",
fv[fv.IN_BODY=6]="IN_BODY",
fv[fv.TEXT=7]="TEXT",fv[fv.IN_TABLE=8]="IN_TABLE",fv[fv.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",
fv[fv.IN_CAPTION=10]="IN_CAPTION",
fv[fv.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",fv[fv.IN_TABLE_BODY=12]="IN_TABLE_BODY",
fv[fv.IN_ROW=13]="IN_ROW",
fv[fv.IN_CELL=14]="IN_CELL",fv[fv.IN_SELECT=15]="IN_SELECT",
fv[fv.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",
fv[fv.IN_TEMPLATE=17]="IN_TEMPLATE",
fv[fv.AFTER_BODY=18]="AFTER_BODY",fv[fv.IN_FRAMESET=19]="IN_FRAMESET",
fv[fv.AFTER_FRAMESET=20]="AFTER_FRAMESET",
fv[fv.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",
fv[fv.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET";const mv={startLine:-1,
startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1
},gv=new Set([rg.TABLE,rg.TBODY,rg.TFOOT,rg.THEAD,rg.TR]),vv={
scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:zg,onParseError:null}
;let bv=class{constructor(e,t,n=null,r=null){
this.fragmentContext=n,this.scriptHandler=r,
this.currentToken=null,this.stopped=!1,
this.insertionMode=hv.INITIAL,this.originalInsertionMode=hv.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={...vv,...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 Cg(this.options,this),
this.activeFormattingElements=new Qg(this.treeAdapter),
this.fragmentContextID=n?dg(this.treeAdapter.getTagName(n)):rg.UNKNOWN,
this._setContextModes(null!=n?n:this.document,this.fragmentContextID),
this.openElements=new Lg(this.document,this.treeAdapter,this)}static parse(e,t){
const n=new this(t);return n.tokenizer.write(e,!0),n.document}
static getFragmentParser(e,t){const n={...vv,...t}
;null!=e||(e=n.treeAdapter.createElement(tg.TEMPLATE,Xm.HTML,[]))
;const r=n.treeAdapter.createElement("documentmock",Xm.HTML,[]),o=new this(n,r,e)
;return o.fragmentContextID===rg.TEMPLATE&&o.tmplInsertionModeStack.unshift(hv.IN_TEMPLATE),
o._initTokenizerForFragmentParsing(),
o._insertFakeRootElement(),o._resetInsertionMode(),
o._findFormInFragmentContext(),o}getFragment(){
const e=this.treeAdapter.getFirstChild(this.document),t=this.treeAdapter.createDocumentFragment()
;return this._adoptNodes(e,t),t}_err(e,t,n){var r;if(!this.onParseError)return
;const o=null!==(r=e.location)&&void 0!==r?r:mv,a={code:t,startLine:o.startLine,
startCol:o.startCol,startOffset:o.startOffset,endLine:n?o.startLine:o.endLine,
endCol:n?o.startCol:o.endCol,endOffset:n?o.startOffset:o.endOffset}
;this.onParseError(a)}onItemPush(e,t,n){var r,o
;null===(o=(r=this.treeAdapter).onItemPush)||void 0===o||o.call(r,e),
n&&this.openElements.stackTop>0&&this._setContextModes(e,t)}onItemPop(e,t){
var n,r
;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),
null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,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 n=e===this.document||this.treeAdapter.getNamespaceURI(e)===Xm.HTML
;this.currentNotInHTML=!n,
this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}
_switchToTextParsing(e,t){this._insertElement(e,Xm.HTML),this.tokenizer.state=t,
this.originalInsertionMode=this.insertionMode,this.insertionMode=hv.TEXT}
switchToPlaintextParsing(){
this.insertionMode=hv.TEXT,this.originalInsertionMode=hv.IN_BODY,
this.tokenizer.state=bg.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)===tg.FORM){this.formElement=e;break}
e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){
if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===Xm.HTML)switch(this.fragmentContextID){
case rg.TITLE:case rg.TEXTAREA:this.tokenizer.state=bg.RCDATA;break
;case rg.STYLE:case rg.XMP:case rg.IFRAME:case rg.NOEMBED:case rg.NOFRAMES:
case rg.NOSCRIPT:this.tokenizer.state=bg.RAWTEXT;break;case rg.SCRIPT:
this.tokenizer.state=bg.SCRIPT_DATA;break;case rg.PLAINTEXT:
this.tokenizer.state=bg.PLAINTEXT}}_setDocumentType(e){
const t=e.name||"",n=e.publicId||"",r=e.systemId||""
;if(this.treeAdapter.setDocumentType(this.document,t,n,r),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 n=t&&{
...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}
if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{
const t=this.openElements.currentTmplContentOrNode
;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){
const n=this.treeAdapter.createElement(e.tagName,t,e.attrs)
;this._attachElementToTree(n,e.location)}_insertElement(e,t){
const n=this.treeAdapter.createElement(e.tagName,t,e.attrs)
;this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}
_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,Xm.HTML,[])
;this._attachElementToTree(n,null),this.openElements.push(n,t)}
_insertTemplate(e){
const t=this.treeAdapter.createElement(e.tagName,Xm.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment()
;this.treeAdapter.setTemplateContent(t,n),
this._attachElementToTree(t,e.location),
this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)
}_insertFakeRootElement(){
const e=this.treeAdapter.createElement(tg.HTML,Xm.HTML,[])
;this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),
this.treeAdapter.appendChild(this.openElements.current,e),
this.openElements.push(e,rg.HTML)}_appendCommentNode(e,t){
const n=this.treeAdapter.createCommentNode(e.data)
;this.treeAdapter.appendChild(t,n),
this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)
}_insertCharacters(e){let t,n
;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),
n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,
this.treeAdapter.insertText(t,e.chars)),!e.location)return
;const r=this.treeAdapter.getChildNodes(t),o=n?r.lastIndexOf(n):r.length,a=r[o-1]
;if(this.treeAdapter.getNodeSourceCodeLocation(a)){
const{endLine:t,endCol:n,endOffset:r}=e.location
;this.treeAdapter.updateNodeSourceCodeLocation(a,{endLine:t,endCol:n,endOffset:r
})
}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(a,e.location)
}_adoptNodes(e,t){
for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),
this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){
if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){
const n=t.location,r=this.treeAdapter.getTagName(e),o=t.type===$m.END_TAG&&r===t.tagName?{
endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{
endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset}
;this.treeAdapter.updateNodeSourceCodeLocation(e,o)}}
shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1
;let t,n
;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,
n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),
(e.tagID!==rg.SVG||this.treeAdapter.getTagName(t)!==tg.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==Xm.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===rg.MGLYPH||e.tagID===rg.MALIGNMARK)&&!this._isIntegrationPoint(n,t,Xm.HTML))
}_processToken(e){switch(e.type){case $m.CHARACTER:this.onCharacter(e);break
;case $m.NULL_CHARACTER:this.onNullCharacter(e);break;case $m.COMMENT:
this.onComment(e);break;case $m.DOCTYPE:this.onDoctype(e);break
;case $m.START_TAG:this._processStartTag(e);break;case $m.END_TAG:
this.onEndTag(e);break;case $m.EOF:this.onEof(e);break
;case $m.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}
_isIntegrationPoint(e,t,n){
return cv(e,this.treeAdapter.getNamespaceURI(t),this.treeAdapter.getAttrList(t),n)
}_reconstructActiveFormattingElements(){
const e=this.activeFormattingElements.entries.length;if(e){
const t=this.activeFormattingElements.entries.findIndex((e=>e.type===jg.Marker||this.openElements.contains(e.element)))
;for(let n=t<0?e-1:t-1;n>=0;n--){
const e=this.activeFormattingElements.entries[n]
;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=hv.IN_ROW}
_closePElement(){
this.openElements.generateImpliedEndTagsWithExclusion(rg.P),this.openElements.popUntilTagNamePopped(rg.P)
}_resetInsertionMode(){
for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){
case rg.TR:return void(this.insertionMode=hv.IN_ROW);case rg.TBODY:
case rg.THEAD:case rg.TFOOT:return void(this.insertionMode=hv.IN_TABLE_BODY)
;case rg.CAPTION:return void(this.insertionMode=hv.IN_CAPTION);case rg.COLGROUP:
return void(this.insertionMode=hv.IN_COLUMN_GROUP);case rg.TABLE:
return void(this.insertionMode=hv.IN_TABLE);case rg.BODY:
return void(this.insertionMode=hv.IN_BODY);case rg.FRAMESET:
return void(this.insertionMode=hv.IN_FRAMESET);case rg.SELECT:
return void this._resetInsertionModeForSelect(e);case rg.TEMPLATE:
return void(this.insertionMode=this.tmplInsertionModeStack[0]);case rg.HTML:
return void(this.insertionMode=this.headElement?hv.AFTER_HEAD:hv.BEFORE_HEAD)
;case rg.TD:case rg.TH:if(e>0)return void(this.insertionMode=hv.IN_CELL);break
;case rg.HEAD:if(e>0)return void(this.insertionMode=hv.IN_HEAD)}
this.insertionMode=hv.IN_BODY}_resetInsertionModeForSelect(e){
if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t]
;if(e===rg.TEMPLATE)break
;if(e===rg.TABLE)return void(this.insertionMode=hv.IN_SELECT_IN_TABLE)}
this.insertionMode=hv.IN_SELECT}_isElementCausesFosterParenting(e){
return gv.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 rg.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===Xm.HTML)return{
parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break
;case rg.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,
beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}
return{parent:this.openElements.items[0],beforeElement:null}}
_fosterParentElement(e){const t=this._findFosterParentingLocation()
;t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)
}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e)
;return hg[n].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 hv.INITIAL:Cv(this,e);break;case hv.BEFORE_HTML:Av(this,e);break
;case hv.BEFORE_HEAD:Pv(this,e);break;case hv.IN_HEAD:$v(this,e);break
;case hv.IN_HEAD_NO_SCRIPT:Nv(this,e);break;case hv.AFTER_HEAD:Mv(this,e);break
;case hv.IN_BODY:case hv.IN_CAPTION:case hv.IN_CELL:case hv.IN_TEMPLATE:
jv(this,e);break;case hv.TEXT:case hv.IN_SELECT:case hv.IN_SELECT_IN_TABLE:
this._insertCharacters(e);break;case hv.IN_TABLE:case hv.IN_TABLE_BODY:
case hv.IN_ROW:Zv(this,e);break;case hv.IN_TABLE_TEXT:Kv(this,e);break
;case hv.IN_COLUMN_GROUP:nb(this,e);break;case hv.AFTER_BODY:db(this,e);break
;case hv.AFTER_AFTER_BODY:pb(this,e)}}onNullCharacter(e){
if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){
t.chars=bm,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){
case hv.INITIAL:Cv(this,e);break;case hv.BEFORE_HTML:Av(this,e);break
;case hv.BEFORE_HEAD:Pv(this,e);break;case hv.IN_HEAD:$v(this,e);break
;case hv.IN_HEAD_NO_SCRIPT:Nv(this,e);break;case hv.AFTER_HEAD:Mv(this,e);break
;case hv.TEXT:this._insertCharacters(e);break;case hv.IN_TABLE:
case hv.IN_TABLE_BODY:case hv.IN_ROW:Zv(this,e);break;case hv.IN_COLUMN_GROUP:
nb(this,e);break;case hv.AFTER_BODY:db(this,e);break;case hv.AFTER_AFTER_BODY:
pb(this,e)}}onComment(e){
if(this.skipNextNewLine=!1,this.currentNotInHTML)Ev(this,e);else switch(this.insertionMode){
case hv.INITIAL:case hv.BEFORE_HTML:case hv.BEFORE_HEAD:case hv.IN_HEAD:
case hv.IN_HEAD_NO_SCRIPT:case hv.AFTER_HEAD:case hv.IN_BODY:case hv.IN_TABLE:
case hv.IN_CAPTION:case hv.IN_COLUMN_GROUP:case hv.IN_TABLE_BODY:case hv.IN_ROW:
case hv.IN_CELL:case hv.IN_SELECT:case hv.IN_SELECT_IN_TABLE:
case hv.IN_TEMPLATE:case hv.IN_FRAMESET:case hv.AFTER_FRAMESET:Ev(this,e);break
;case hv.IN_TABLE_TEXT:Jv(this,e);break;case hv.AFTER_BODY:!function(e,t){
e._appendCommentNode(t,e.openElements.items[0])}(this,e);break
;case hv.AFTER_AFTER_BODY:case hv.AFTER_AFTER_FRAMESET:!function(e,t){
e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){
switch(this.skipNextNewLine=!1,this.insertionMode){case hv.INITIAL:
!function(e,t){e._setDocumentType(t)
;const n=t.forceQuirks?Jm.QUIRKS:function(e){if(e.name!==qg)return Jm.QUIRKS
;const{systemId:t}=e;if(t&&t.toLowerCase()===Vg)return Jm.QUIRKS
;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),Xg.has(n))return Jm.QUIRKS
;let e=null===t?Wg:Zg;if(Kg(n,e))return Jm.QUIRKS
;if(e=null===t?Gg:Yg,Kg(n,e))return Jm.LIMITED_QUIRKS}return Jm.NO_QUIRKS}(t)
;(function(e){
return e.name===qg&&null===e.publicId&&(null===e.systemId||e.systemId===Hg)
})(t)||e._err(t,Pm.nonConformingDoctype)
;e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=hv.BEFORE_HTML
}(this,e);break;case hv.BEFORE_HEAD:case hv.IN_HEAD:case hv.IN_HEAD_NO_SCRIPT:
case hv.AFTER_HEAD:this._err(e,Pm.misplacedDoctype);break;case hv.IN_TABLE_TEXT:
Jv(this,e)}}onStartTag(e){
this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),
e.selfClosing&&!e.ackSelfClosing&&this._err(e,Pm.nonVoidHtmlElementStartTagWithTrailingSolidus)
}_processStartTag(e){
this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){
const t=e.tagID
;return t===rg.FONT&&e.attrs.some((({name:e})=>e===Ym.COLOR||e===Ym.SIZE||e===Ym.FACE))||av.has(t)
}(t))hb(e),e._startTagOutsideForeignContent(t);else{
const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n)
;r===Xm.MATHML?iv(t):r===Xm.SVG&&(!function(e){const t=ov.get(e.tagName)
;null!=t&&(e.tagName=t,e.tagID=dg(e.tagName))
}(t),sv(t)),lv(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),
t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}
_startTagOutsideForeignContent(e){switch(this.insertionMode){case hv.INITIAL:
Cv(this,e);break;case hv.BEFORE_HTML:!function(e,t){
t.tagID===rg.HTML?(e._insertElement(t,Xm.HTML),
e.insertionMode=hv.BEFORE_HEAD):Av(e,t)}(this,e);break;case hv.BEFORE_HEAD:
!function(e,t){switch(t.tagID){case rg.HTML:zv(e,t);break;case rg.HEAD:
e._insertElement(t,Xm.HTML),
e.headElement=e.openElements.current,e.insertionMode=hv.IN_HEAD;break;default:
Pv(e,t)}}(this,e);break;case hv.IN_HEAD:Dv(this,e);break
;case hv.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case rg.HTML:zv(e,t)
;break;case rg.BASEFONT:case rg.BGSOUND:case rg.HEAD:case rg.LINK:case rg.META:
case rg.NOFRAMES:case rg.STYLE:Dv(e,t);break;case rg.NOSCRIPT:
e._err(t,Pm.nestedNoscriptInHead);break;default:Nv(e,t)}}(this,e);break
;case hv.AFTER_HEAD:!function(e,t){switch(t.tagID){case rg.HTML:zv(e,t);break
;case rg.BODY:
e._insertElement(t,Xm.HTML),e.framesetOk=!1,e.insertionMode=hv.IN_BODY;break
;case rg.FRAMESET:e._insertElement(t,Xm.HTML),e.insertionMode=hv.IN_FRAMESET
;break;case rg.BASE:case rg.BASEFONT:case rg.BGSOUND:case rg.LINK:case rg.META:
case rg.NOFRAMES:case rg.SCRIPT:case rg.STYLE:case rg.TEMPLATE:case rg.TITLE:
e._err(t,Pm.abandonedHeadElementChild),
e.openElements.push(e.headElement,rg.HEAD),
Dv(e,t),e.openElements.remove(e.headElement);break;case rg.HEAD:
e._err(t,Pm.misplacedStartTagForHeadElement);break;default:Mv(e,t)}}(this,e)
;break;case hv.IN_BODY:zv(this,e);break;case hv.IN_TABLE:Wv(this,e);break
;case hv.IN_TABLE_TEXT:Jv(this,e);break;case hv.IN_CAPTION:!function(e,t){
const n=t.tagID
;eb.has(n)?e.openElements.hasInTableScope(rg.CAPTION)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(rg.CAPTION),
e.activeFormattingElements.clearToLastMarker(),
e.insertionMode=hv.IN_TABLE,Wv(e,t)):zv(e,t)}(this,e);break
;case hv.IN_COLUMN_GROUP:tb(this,e);break;case hv.IN_TABLE_BODY:rb(this,e);break
;case hv.IN_ROW:ab(this,e);break;case hv.IN_CELL:!function(e,t){const n=t.tagID
;eb.has(n)?(e.openElements.hasInTableScope(rg.TD)||e.openElements.hasInTableScope(rg.TH))&&(e._closeTableCell(),
ab(e,t)):zv(e,t)}(this,e);break;case hv.IN_SELECT:sb(this,e);break
;case hv.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID
;n===rg.CAPTION||n===rg.TABLE||n===rg.TBODY||n===rg.TFOOT||n===rg.THEAD||n===rg.TR||n===rg.TD||n===rg.TH?(e.openElements.popUntilTagNamePopped(rg.SELECT),
e._resetInsertionMode(),e._processStartTag(t)):sb(e,t)}(this,e);break
;case hv.IN_TEMPLATE:!function(e,t){switch(t.tagID){case rg.BASE:
case rg.BASEFONT:case rg.BGSOUND:case rg.LINK:case rg.META:case rg.NOFRAMES:
case rg.SCRIPT:case rg.STYLE:case rg.TEMPLATE:case rg.TITLE:Dv(e,t);break
;case rg.CAPTION:case rg.COLGROUP:case rg.TBODY:case rg.TFOOT:case rg.THEAD:
e.tmplInsertionModeStack[0]=hv.IN_TABLE,e.insertionMode=hv.IN_TABLE,Wv(e,t)
;break;case rg.COL:
e.tmplInsertionModeStack[0]=hv.IN_COLUMN_GROUP,e.insertionMode=hv.IN_COLUMN_GROUP,
tb(e,t);break;case rg.TR:
e.tmplInsertionModeStack[0]=hv.IN_TABLE_BODY,e.insertionMode=hv.IN_TABLE_BODY,
rb(e,t);break;case rg.TD:case rg.TH:
e.tmplInsertionModeStack[0]=hv.IN_ROW,e.insertionMode=hv.IN_ROW,ab(e,t);break
;default:
e.tmplInsertionModeStack[0]=hv.IN_BODY,e.insertionMode=hv.IN_BODY,zv(e,t)}
}(this,e);break;case hv.AFTER_BODY:!function(e,t){
t.tagID===rg.HTML?zv(e,t):db(e,t)}(this,e);break;case hv.IN_FRAMESET:
!function(e,t){switch(t.tagID){case rg.HTML:zv(e,t);break;case rg.FRAMESET:
e._insertElement(t,Xm.HTML);break;case rg.FRAME:
e._appendElement(t,Xm.HTML),t.ackSelfClosing=!0;break;case rg.NOFRAMES:Dv(e,t)}
}(this,e);break;case hv.AFTER_FRAMESET:!function(e,t){switch(t.tagID){
case rg.HTML:zv(e,t);break;case rg.NOFRAMES:Dv(e,t)}}(this,e);break
;case hv.AFTER_AFTER_BODY:!function(e,t){t.tagID===rg.HTML?zv(e,t):pb(e,t)
}(this,e);break;case hv.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){
case rg.HTML:zv(e,t);break;case rg.NOFRAMES:Dv(e,t)}}(this,e)}}onEndTag(e){
this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){
if(t.tagID===rg.P||t.tagID===rg.BR)return hb(e),
void e._endTagOutsideForeignContent(t)
;for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n]
;if(e.treeAdapter.getNamespaceURI(r)===Xm.HTML){
e._endTagOutsideForeignContent(t);break}const o=e.treeAdapter.getTagName(r)
;if(o.toLowerCase()===t.tagName){t.tagName=o,e.openElements.shortenToLength(n)
;break}}}(this,e):this._endTagOutsideForeignContent(e)}
_endTagOutsideForeignContent(e){switch(this.insertionMode){case hv.INITIAL:
Cv(this,e);break;case hv.BEFORE_HTML:!function(e,t){const n=t.tagID
;n!==rg.HTML&&n!==rg.HEAD&&n!==rg.BODY&&n!==rg.BR||Av(e,t)}(this,e);break
;case hv.BEFORE_HEAD:!function(e,t){const n=t.tagID
;n===rg.HEAD||n===rg.BODY||n===rg.HTML||n===rg.BR?Pv(e,t):e._err(t,Pm.endTagWithoutMatchingOpenElement)
}(this,e);break;case hv.IN_HEAD:!function(e,t){switch(t.tagID){case rg.HEAD:
e.openElements.pop(),e.insertionMode=hv.AFTER_HEAD;break;case rg.BODY:
case rg.BR:case rg.HTML:$v(e,t);break;case rg.TEMPLATE:Rv(e,t);break;default:
e._err(t,Pm.endTagWithoutMatchingOpenElement)}}(this,e);break
;case hv.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case rg.NOSCRIPT:
e.openElements.pop(),e.insertionMode=hv.IN_HEAD;break;case rg.BR:Nv(e,t);break
;default:e._err(t,Pm.endTagWithoutMatchingOpenElement)}}(this,e);break
;case hv.AFTER_HEAD:!function(e,t){switch(t.tagID){case rg.BODY:case rg.HTML:
case rg.BR:Mv(e,t);break;case rg.TEMPLATE:Rv(e,t);break;default:
e._err(t,Pm.endTagWithoutMatchingOpenElement)}}(this,e);break;case hv.IN_BODY:
Hv(this,e);break;case hv.TEXT:!function(e,t){var n
;t.tagID===rg.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current))
;e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break
;case hv.IN_TABLE:Xv(this,e);break;case hv.IN_TABLE_TEXT:Jv(this,e);break
;case hv.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case rg.CAPTION:
case rg.TABLE:
e.openElements.hasInTableScope(rg.CAPTION)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(rg.CAPTION),
e.activeFormattingElements.clearToLastMarker(),
e.insertionMode=hv.IN_TABLE,n===rg.TABLE&&Xv(e,t));break;case rg.BODY:
case rg.COL:case rg.COLGROUP:case rg.HTML:case rg.TBODY:case rg.TD:
case rg.TFOOT:case rg.TH:case rg.THEAD:case rg.TR:break;default:Hv(e,t)}
}(this,e);break;case hv.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){
case rg.COLGROUP:
e.openElements.currentTagId===rg.COLGROUP&&(e.openElements.pop(),
e.insertionMode=hv.IN_TABLE);break;case rg.TEMPLATE:Rv(e,t);break;case rg.COL:
break;default:nb(e,t)}}(this,e);break;case hv.IN_TABLE_BODY:ob(this,e);break
;case hv.IN_ROW:ib(this,e);break;case hv.IN_CELL:!function(e,t){const n=t.tagID
;switch(n){case rg.TD:case rg.TH:
e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n),
e.activeFormattingElements.clearToLastMarker(),e.insertionMode=hv.IN_ROW);break
;case rg.TABLE:case rg.TBODY:case rg.TFOOT:case rg.THEAD:case rg.TR:
e.openElements.hasInTableScope(n)&&(e._closeTableCell(),ib(e,t));break
;case rg.BODY:case rg.CAPTION:case rg.COL:case rg.COLGROUP:case rg.HTML:break
;default:Hv(e,t)}}(this,e);break;case hv.IN_SELECT:lb(this,e);break
;case hv.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID
;n===rg.CAPTION||n===rg.TABLE||n===rg.TBODY||n===rg.TFOOT||n===rg.THEAD||n===rg.TR||n===rg.TD||n===rg.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(rg.SELECT),
e._resetInsertionMode(),e.onEndTag(t)):lb(e,t)}(this,e);break
;case hv.IN_TEMPLATE:!function(e,t){t.tagID===rg.TEMPLATE&&Rv(e,t)}(this,e)
;break;case hv.AFTER_BODY:ub(this,e);break;case hv.IN_FRAMESET:!function(e,t){
t.tagID!==rg.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),
e.fragmentContext||e.openElements.currentTagId===rg.FRAMESET||(e.insertionMode=hv.AFTER_FRAMESET))
}(this,e);break;case hv.AFTER_FRAMESET:!function(e,t){
t.tagID===rg.HTML&&(e.insertionMode=hv.AFTER_AFTER_FRAMESET)}(this,e);break
;case hv.AFTER_AFTER_BODY:pb(this,e)}}onEof(e){switch(this.insertionMode){
case hv.INITIAL:Cv(this,e);break;case hv.BEFORE_HTML:Av(this,e);break
;case hv.BEFORE_HEAD:Pv(this,e);break;case hv.IN_HEAD:$v(this,e);break
;case hv.IN_HEAD_NO_SCRIPT:Nv(this,e);break;case hv.AFTER_HEAD:Mv(this,e);break
;case hv.IN_BODY:case hv.IN_TABLE:case hv.IN_CAPTION:case hv.IN_COLUMN_GROUP:
case hv.IN_TABLE_BODY:case hv.IN_ROW:case hv.IN_CELL:case hv.IN_SELECT:
case hv.IN_SELECT_IN_TABLE:Vv(this,e);break;case hv.TEXT:!function(e,t){
e._err(t,Pm.eofInElementThatCanContainOnlyText),
e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e)
;break;case hv.IN_TABLE_TEXT:Jv(this,e);break;case hv.IN_TEMPLATE:cb(this,e)
;break;case hv.AFTER_BODY:case hv.IN_FRAMESET:case hv.AFTER_FRAMESET:
case hv.AFTER_AFTER_BODY:case hv.AFTER_AFTER_FRAMESET:Tv(this,e)}}
onWhitespaceCharacter(e){
if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===ym.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 hv.IN_HEAD:case hv.IN_HEAD_NO_SCRIPT:case hv.AFTER_HEAD:case hv.TEXT:
case hv.IN_COLUMN_GROUP:case hv.IN_SELECT:case hv.IN_SELECT_IN_TABLE:
case hv.IN_FRAMESET:case hv.AFTER_FRAMESET:this._insertCharacters(e);break
;case hv.IN_BODY:case hv.IN_CAPTION:case hv.IN_CELL:case hv.IN_TEMPLATE:
case hv.AFTER_BODY:case hv.AFTER_AFTER_BODY:case hv.AFTER_AFTER_FRAMESET:
Lv(this,e);break;case hv.IN_TABLE:case hv.IN_TABLE_BODY:case hv.IN_ROW:
Zv(this,e);break;case hv.IN_TABLE_TEXT:Yv(this,e)}}};function yv(e,t){
let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName)
;return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),
n=null):qv(e,t),n}function Ov(e,t){let n=null,r=e.openElements.stackTop
;for(;r>=0;r--){const o=e.openElements.items[r];if(o===t.element)break
;e._isSpecialElement(o,e.openElements.tagIDs[r])&&(n=o)}
return n||(e.openElements.shortenToLength(r<0?0:r),
e.activeFormattingElements.removeEntry(t)),n}function wv(e,t,n){
let r=t,o=e.openElements.getCommonAncestor(t);for(let a=0,i=o;i!==n;a++,i=o){
o=e.openElements.getCommonAncestor(i)
;const n=e.activeFormattingElements.getElementEntry(i),s=n&&a>=pv
;!n||s?(s&&e.activeFormattingElements.removeEntry(n),
e.openElements.remove(i)):(i=xv(e,n),
r===t&&(e.activeFormattingElements.bookmark=n),
e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}
function xv(e,t){
const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs)
;return e.openElements.replace(t.element,r),t.element=r,r}function kv(e,t,n){
const r=dg(e.treeAdapter.getTagName(t))
;if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{
const o=e.treeAdapter.getNamespaceURI(t)
;r===rg.TEMPLATE&&o===Xm.HTML&&(t=e.treeAdapter.getTemplateContent(t)),
e.treeAdapter.appendChild(t,n)}}function Sv(e,t,n){
const r=e.treeAdapter.getNamespaceURI(n.element),{token:o}=n,a=e.treeAdapter.createElement(o.tagName,r,o.attrs)
;e._adoptNodes(t,a),
e.treeAdapter.appendChild(t,a),e.activeFormattingElements.insertElementAfterBookmark(a,o),
e.activeFormattingElements.removeEntry(n),
e.openElements.remove(n.element),e.openElements.insertAfter(t,a,o.tagID)}
function _v(e,t){for(let n=0;n<dv;n++){const n=yv(e,t);if(!n)break
;const r=Ov(e,n);if(!r)break;e.activeFormattingElements.bookmark=n
;const o=wv(e,r,n.element),a=e.openElements.getCommonAncestor(n.element)
;e.treeAdapter.detachNode(o),a&&kv(e,a,o),Sv(e,r,n)}}function Ev(e,t){
e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}
function Tv(e,t){if(e.stopped=!0,t.location){const n=e.fragmentContext?0:2
;for(let r=e.openElements.stackTop;r>=n;r--)e._setEndLocation(e.openElements.items[r],t)
;if(!e.fragmentContext&&e.openElements.stackTop>=0){
const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n)
;if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){
const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n)
;r&&!r.endTag&&e._setEndLocation(n,t)}}}}function Cv(e,t){
e._err(t,Pm.missingDoctype,!0),
e.treeAdapter.setDocumentMode(e.document,Jm.QUIRKS),
e.insertionMode=hv.BEFORE_HTML,e._processToken(t)}function Av(e,t){
e._insertFakeRootElement(),e.insertionMode=hv.BEFORE_HEAD,e._processToken(t)}
function Pv(e,t){
e._insertFakeElement(tg.HEAD,rg.HEAD),e.headElement=e.openElements.current,
e.insertionMode=hv.IN_HEAD,e._processToken(t)}function Dv(e,t){switch(t.tagID){
case rg.HTML:zv(e,t);break;case rg.BASE:case rg.BASEFONT:case rg.BGSOUND:
case rg.LINK:case rg.META:e._appendElement(t,Xm.HTML),t.ackSelfClosing=!0;break
;case rg.TITLE:e._switchToTextParsing(t,bg.RCDATA);break;case rg.NOSCRIPT:
e.options.scriptingEnabled?e._switchToTextParsing(t,bg.RAWTEXT):(e._insertElement(t,Xm.HTML),
e.insertionMode=hv.IN_HEAD_NO_SCRIPT);break;case rg.NOFRAMES:case rg.STYLE:
e._switchToTextParsing(t,bg.RAWTEXT);break;case rg.SCRIPT:
e._switchToTextParsing(t,bg.SCRIPT_DATA);break;case rg.TEMPLATE:
e._insertTemplate(t),
e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=hv.IN_TEMPLATE,
e.tmplInsertionModeStack.unshift(hv.IN_TEMPLATE);break;case rg.HEAD:
e._err(t,Pm.misplacedStartTagForHeadElement);break;default:$v(e,t)}}
function Rv(e,t){
e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),
e.openElements.currentTagId!==rg.TEMPLATE&&e._err(t,Pm.closingOfElementWithOpenChildElements),
e.openElements.popUntilTagNamePopped(rg.TEMPLATE),
e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),
e._resetInsertionMode()):e._err(t,Pm.endTagWithoutMatchingOpenElement)}
function $v(e,t){
e.openElements.pop(),e.insertionMode=hv.AFTER_HEAD,e._processToken(t)}
function Nv(e,t){
const n=t.type===$m.EOF?Pm.openElementsLeftAfterEof:Pm.disallowedContentInNoscriptInHead
;e._err(t,n),e.openElements.pop(),e.insertionMode=hv.IN_HEAD,e._processToken(t)}
function Mv(e,t){
e._insertFakeElement(tg.BODY,rg.BODY),e.insertionMode=hv.IN_BODY,Iv(e,t)}
function Iv(e,t){switch(t.type){case $m.CHARACTER:jv(e,t);break
;case $m.WHITESPACE_CHARACTER:Lv(e,t);break;case $m.COMMENT:Ev(e,t);break
;case $m.START_TAG:zv(e,t);break;case $m.END_TAG:Hv(e,t);break;case $m.EOF:
Vv(e,t)}}function Lv(e,t){
e._reconstructActiveFormattingElements(),e._insertCharacters(t)}
function jv(e,t){
e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}
function Bv(e,t){
e._reconstructActiveFormattingElements(),e._appendElement(t,Xm.HTML),
e.framesetOk=!1,t.ackSelfClosing=!0}function Uv(e){const t=Mm(e,Ym.TYPE)
;return null!=t&&t.toLowerCase()===uv}function Qv(e,t){
e._switchToTextParsing(t,bg.RAWTEXT)}function Fv(e,t){
e._reconstructActiveFormattingElements(),e._insertElement(t,Xm.HTML)}
function zv(e,t){switch(t.tagID){case rg.I:case rg.S:case rg.B:case rg.U:
case rg.EM:case rg.TT:case rg.BIG:case rg.CODE:case rg.FONT:case rg.SMALL:
case rg.STRIKE:case rg.STRONG:!function(e,t){
e._reconstructActiveFormattingElements(),
e._insertElement(t,Xm.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case rg.A:!function(e,t){
const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(tg.A)
;n&&(_v(e,t),
e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),
e._reconstructActiveFormattingElements(),
e._insertElement(t,Xm.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case rg.H1:case rg.H2:case rg.H3:case rg.H4:case rg.H5:case rg.H6:
!function(e,t){
e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),fg(e.openElements.currentTagId)&&e.openElements.pop(),
e._insertElement(t,Xm.HTML)}(e,t);break;case rg.P:case rg.DL:case rg.OL:
case rg.UL:case rg.DIV:case rg.DIR:case rg.NAV:case rg.MAIN:case rg.MENU:
case rg.ASIDE:case rg.CENTER:case rg.FIGURE:case rg.FOOTER:case rg.HEADER:
case rg.HGROUP:case rg.DIALOG:case rg.DETAILS:case rg.ADDRESS:case rg.ARTICLE:
case rg.SECTION:case rg.SUMMARY:case rg.FIELDSET:case rg.BLOCKQUOTE:
case rg.FIGCAPTION:!function(e,t){
e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),
e._insertElement(t,Xm.HTML)}(e,t);break;case rg.LI:case rg.DD:case rg.DT:
!function(e,t){e.framesetOk=!1;const n=t.tagID
;for(let r=e.openElements.stackTop;r>=0;r--){const t=e.openElements.tagIDs[r]
;if(n===rg.LI&&t===rg.LI||(n===rg.DD||n===rg.DT)&&(t===rg.DD||t===rg.DT)){
e.openElements.generateImpliedEndTagsWithExclusion(t),
e.openElements.popUntilTagNamePopped(t);break}
if(t!==rg.ADDRESS&&t!==rg.DIV&&t!==rg.P&&e._isSpecialElement(e.openElements.items[r],t))break
}
e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),e._insertElement(t,Xm.HTML)
}(e,t);break;case rg.BR:case rg.IMG:case rg.WBR:case rg.AREA:case rg.EMBED:
case rg.KEYGEN:Bv(e,t);break;case rg.HR:!function(e,t){
e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),
e._appendElement(t,Xm.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break
;case rg.RB:case rg.RTC:!function(e,t){
e.openElements.hasInScope(rg.RUBY)&&e.openElements.generateImpliedEndTags(),
e._insertElement(t,Xm.HTML)}(e,t);break;case rg.RT:case rg.RP:!function(e,t){
e.openElements.hasInScope(rg.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(rg.RTC),
e._insertElement(t,Xm.HTML)}(e,t);break;case rg.PRE:case rg.LISTING:
!function(e,t){
e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),e._insertElement(t,Xm.HTML),
e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case rg.XMP:!function(e,t){
e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),
e._reconstructActiveFormattingElements(),
e.framesetOk=!1,e._switchToTextParsing(t,bg.RAWTEXT)}(e,t);break;case rg.SVG:
!function(e,t){
e._reconstructActiveFormattingElements(),sv(t),lv(t),t.selfClosing?e._appendElement(t,Xm.SVG):e._insertElement(t,Xm.SVG),
t.ackSelfClosing=!0}(e,t);break;case rg.HTML:!function(e,t){
0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)
}(e,t);break;case rg.BASE:case rg.LINK:case rg.META:case rg.STYLE:case rg.TITLE:
case rg.SCRIPT:case rg.BGSOUND:case rg.BASEFONT:case rg.TEMPLATE:Dv(e,t);break
;case rg.BODY:!function(e,t){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,
e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case rg.FORM:
!function(e,t){const n=e.openElements.tmplCount>0
;e.formElement&&!n||(e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),
e._insertElement(t,Xm.HTML),n||(e.formElement=e.openElements.current))}(e,t)
;break;case rg.NOBR:!function(e,t){
e._reconstructActiveFormattingElements(),e.openElements.hasInScope(rg.NOBR)&&(_v(e,t),
e._reconstructActiveFormattingElements()),
e._insertElement(t,Xm.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)
}(e,t);break;case rg.MATH:!function(e,t){
e._reconstructActiveFormattingElements(),
iv(t),lv(t),t.selfClosing?e._appendElement(t,Xm.MATHML):e._insertElement(t,Xm.MATHML),
t.ackSelfClosing=!0}(e,t);break;case rg.TABLE:!function(e,t){
e.treeAdapter.getDocumentMode(e.document)!==Jm.QUIRKS&&e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),
e._insertElement(t,Xm.HTML),e.framesetOk=!1,e.insertionMode=hv.IN_TABLE}(e,t)
;break;case rg.INPUT:!function(e,t){
e._reconstructActiveFormattingElements(),e._appendElement(t,Xm.HTML),
Uv(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case rg.PARAM:
case rg.TRACK:case rg.SOURCE:!function(e,t){
e._appendElement(t,Xm.HTML),t.ackSelfClosing=!0}(e,t);break;case rg.IMAGE:
!function(e,t){t.tagName=tg.IMG,t.tagID=rg.IMG,Bv(e,t)}(e,t);break
;case rg.BUTTON:!function(e,t){
e.openElements.hasInScope(rg.BUTTON)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(rg.BUTTON)),
e._reconstructActiveFormattingElements(),
e._insertElement(t,Xm.HTML),e.framesetOk=!1}(e,t);break;case rg.APPLET:
case rg.OBJECT:case rg.MARQUEE:!function(e,t){
e._reconstructActiveFormattingElements(),
e._insertElement(t,Xm.HTML),e.activeFormattingElements.insertMarker(),
e.framesetOk=!1}(e,t);break;case rg.IFRAME:!function(e,t){
e.framesetOk=!1,e._switchToTextParsing(t,bg.RAWTEXT)}(e,t);break;case rg.SELECT:
!function(e,t){
e._reconstructActiveFormattingElements(),e._insertElement(t,Xm.HTML),
e.framesetOk=!1,
e.insertionMode=e.insertionMode===hv.IN_TABLE||e.insertionMode===hv.IN_CAPTION||e.insertionMode===hv.IN_TABLE_BODY||e.insertionMode===hv.IN_ROW||e.insertionMode===hv.IN_CELL?hv.IN_SELECT_IN_TABLE:hv.IN_SELECT
}(e,t);break;case rg.OPTION:case rg.OPTGROUP:!function(e,t){
e.openElements.currentTagId===rg.OPTION&&e.openElements.pop(),
e._reconstructActiveFormattingElements(),e._insertElement(t,Xm.HTML)}(e,t);break
;case rg.NOEMBED:Qv(e,t);break;case rg.FRAMESET:!function(e,t){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;e.framesetOk&&n&&(e.treeAdapter.detachNode(n),
e.openElements.popAllUpToHtmlElement(),
e._insertElement(t,Xm.HTML),e.insertionMode=hv.IN_FRAMESET)}(e,t);break
;case rg.TEXTAREA:!function(e,t){
e._insertElement(t,Xm.HTML),e.skipNextNewLine=!0,
e.tokenizer.state=bg.RCDATA,e.originalInsertionMode=e.insertionMode,
e.framesetOk=!1,e.insertionMode=hv.TEXT}(e,t);break;case rg.NOSCRIPT:
e.options.scriptingEnabled?Qv(e,t):Fv(e,t);break;case rg.PLAINTEXT:
!function(e,t){
e.openElements.hasInButtonScope(rg.P)&&e._closePElement(),e._insertElement(t,Xm.HTML),
e.tokenizer.state=bg.PLAINTEXT}(e,t);break;case rg.COL:case rg.TH:case rg.TD:
case rg.TR:case rg.HEAD:case rg.FRAME:case rg.TBODY:case rg.TFOOT:case rg.THEAD:
case rg.CAPTION:case rg.COLGROUP:break;default:Fv(e,t)}}function qv(e,t){
const n=t.tagName,r=t.tagID;for(let o=e.openElements.stackTop;o>0;o--){
const t=e.openElements.items[o],a=e.openElements.tagIDs[o]
;if(r===a&&(r!==rg.UNKNOWN||e.treeAdapter.getTagName(t)===n)){
e.openElements.generateImpliedEndTagsWithExclusion(r),
e.openElements.stackTop>=o&&e.openElements.shortenToLength(o);break}
if(e._isSpecialElement(t,a))break}}function Hv(e,t){switch(t.tagID){case rg.A:
case rg.B:case rg.I:case rg.S:case rg.U:case rg.EM:case rg.TT:case rg.BIG:
case rg.CODE:case rg.FONT:case rg.NOBR:case rg.SMALL:case rg.STRIKE:
case rg.STRONG:_v(e,t);break;case rg.P:!function(e){
e.openElements.hasInButtonScope(rg.P)||e._insertFakeElement(tg.P,rg.P),
e._closePElement()}(e);break;case rg.DL:case rg.UL:case rg.OL:case rg.DIR:
case rg.DIV:case rg.NAV:case rg.PRE:case rg.MAIN:case rg.MENU:case rg.ASIDE:
case rg.BUTTON:case rg.CENTER:case rg.FIGURE:case rg.FOOTER:case rg.HEADER:
case rg.HGROUP:case rg.DIALOG:case rg.ADDRESS:case rg.ARTICLE:case rg.DETAILS:
case rg.SECTION:case rg.SUMMARY:case rg.LISTING:case rg.FIELDSET:
case rg.BLOCKQUOTE:case rg.FIGCAPTION:!function(e,t){const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n))}(e,t);break;case rg.LI:!function(e){
e.openElements.hasInListItemScope(rg.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(rg.LI),
e.openElements.popUntilTagNamePopped(rg.LI))}(e);break;case rg.DD:case rg.DT:
!function(e,t){const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),
e.openElements.popUntilTagNamePopped(n))}(e,t);break;case rg.H1:case rg.H2:
case rg.H3:case rg.H4:case rg.H5:case rg.H6:!function(e){
e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilNumberedHeaderPopped())}(e);break;case rg.BR:
!function(e){
e._reconstructActiveFormattingElements(),e._insertFakeElement(tg.BR,rg.BR),
e.openElements.pop(),e.framesetOk=!1}(e);break;case rg.BODY:!function(e,t){
if(e.openElements.hasInScope(rg.BODY)&&(e.insertionMode=hv.AFTER_BODY,
e.options.sourceCodeLocationInfo)){
const n=e.openElements.tryPeekProperlyNestedBodyElement()
;n&&e._setEndLocation(n,t)}}(e,t);break;case rg.HTML:!function(e,t){
e.openElements.hasInScope(rg.BODY)&&(e.insertionMode=hv.AFTER_BODY,ub(e,t))
}(e,t);break;case rg.FORM:!function(e){
const t=e.openElements.tmplCount>0,{formElement:n}=e
;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(rg.FORM)&&(e.openElements.generateImpliedEndTags(),
t?e.openElements.popUntilTagNamePopped(rg.FORM):n&&e.openElements.remove(n))}(e)
;break;case rg.APPLET:case rg.OBJECT:case rg.MARQUEE:!function(e,t){
const n=t.tagID
;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),
e.openElements.popUntilTagNamePopped(n),
e.activeFormattingElements.clearToLastMarker())}(e,t);break;case rg.TEMPLATE:
Rv(e,t);break;default:qv(e,t)}}function Vv(e,t){
e.tmplInsertionModeStack.length>0?cb(e,t):Tv(e,t)}function Zv(e,t){
if(gv.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,
e.hasNonWhitespacePendingCharacterToken=!1,
e.originalInsertionMode=e.insertionMode,
e.insertionMode=hv.IN_TABLE_TEXT,t.type){case $m.CHARACTER:Kv(e,t);break
;case $m.WHITESPACE_CHARACTER:Yv(e,t)}else Gv(e,t)}function Wv(e,t){
switch(t.tagID){case rg.TD:case rg.TH:case rg.TR:!function(e,t){
e.openElements.clearBackToTableContext(),
e._insertFakeElement(tg.TBODY,rg.TBODY),e.insertionMode=hv.IN_TABLE_BODY,rb(e,t)
}(e,t);break;case rg.STYLE:case rg.SCRIPT:case rg.TEMPLATE:Dv(e,t);break
;case rg.COL:!function(e,t){
e.openElements.clearBackToTableContext(),e._insertFakeElement(tg.COLGROUP,rg.COLGROUP),
e.insertionMode=hv.IN_COLUMN_GROUP,tb(e,t)}(e,t);break;case rg.FORM:
!function(e,t){
e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,Xm.HTML),
e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break
;case rg.TABLE:!function(e,t){
e.openElements.hasInTableScope(rg.TABLE)&&(e.openElements.popUntilTagNamePopped(rg.TABLE),
e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case rg.TBODY:
case rg.TFOOT:case rg.THEAD:!function(e,t){
e.openElements.clearBackToTableContext(),
e._insertElement(t,Xm.HTML),e.insertionMode=hv.IN_TABLE_BODY}(e,t);break
;case rg.INPUT:!function(e,t){
Uv(t)?e._appendElement(t,Xm.HTML):Gv(e,t),t.ackSelfClosing=!0}(e,t);break
;case rg.CAPTION:!function(e,t){
e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),
e._insertElement(t,Xm.HTML),e.insertionMode=hv.IN_CAPTION}(e,t);break
;case rg.COLGROUP:!function(e,t){
e.openElements.clearBackToTableContext(),e._insertElement(t,Xm.HTML),
e.insertionMode=hv.IN_COLUMN_GROUP}(e,t);break;default:Gv(e,t)}}
function Xv(e,t){switch(t.tagID){case rg.TABLE:
e.openElements.hasInTableScope(rg.TABLE)&&(e.openElements.popUntilTagNamePopped(rg.TABLE),
e._resetInsertionMode());break;case rg.TEMPLATE:Rv(e,t);break;case rg.BODY:
case rg.CAPTION:case rg.COL:case rg.COLGROUP:case rg.HTML:case rg.TBODY:
case rg.TD:case rg.TFOOT:case rg.TH:case rg.THEAD:case rg.TR:break;default:
Gv(e,t)}}function Gv(e,t){const n=e.fosterParentingEnabled
;e.fosterParentingEnabled=!0,Iv(e,t),e.fosterParentingEnabled=n}
function Yv(e,t){e.pendingCharacterTokens.push(t)}function Kv(e,t){
e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}
function Jv(e,t){let n=0
;if(e.hasNonWhitespacePendingCharacterToken)for(;n<e.pendingCharacterTokens.length;n++)Gv(e,e.pendingCharacterTokens[n]);else for(;n<e.pendingCharacterTokens.length;n++)e._insertCharacters(e.pendingCharacterTokens[n])
;e.insertionMode=e.originalInsertionMode,e._processToken(t)}
const eb=new Set([rg.CAPTION,rg.COL,rg.COLGROUP,rg.TBODY,rg.TD,rg.TFOOT,rg.TH,rg.THEAD,rg.TR])
;function tb(e,t){switch(t.tagID){case rg.HTML:zv(e,t);break;case rg.COL:
e._appendElement(t,Xm.HTML),t.ackSelfClosing=!0;break;case rg.TEMPLATE:Dv(e,t)
;break;default:nb(e,t)}}function nb(e,t){
e.openElements.currentTagId===rg.COLGROUP&&(e.openElements.pop(),
e.insertionMode=hv.IN_TABLE,e._processToken(t))}function rb(e,t){
switch(t.tagID){case rg.TR:
e.openElements.clearBackToTableBodyContext(),e._insertElement(t,Xm.HTML),
e.insertionMode=hv.IN_ROW;break;case rg.TH:case rg.TD:
e.openElements.clearBackToTableBodyContext(),
e._insertFakeElement(tg.TR,rg.TR),e.insertionMode=hv.IN_ROW,ab(e,t);break
;case rg.CAPTION:case rg.COL:case rg.COLGROUP:case rg.TBODY:case rg.TFOOT:
case rg.THEAD:
e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=hv.IN_TABLE,Wv(e,t));break;default:Wv(e,t)}
}function ob(e,t){const n=t.tagID;switch(t.tagID){case rg.TBODY:case rg.TFOOT:
case rg.THEAD:
e.openElements.hasInTableScope(n)&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=hv.IN_TABLE);break;case rg.TABLE:
e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),
e.openElements.pop(),e.insertionMode=hv.IN_TABLE,Xv(e,t));break;case rg.BODY:
case rg.CAPTION:case rg.COL:case rg.COLGROUP:case rg.HTML:case rg.TD:case rg.TH:
case rg.TR:break;default:Xv(e,t)}}function ab(e,t){switch(t.tagID){case rg.TH:
case rg.TD:
e.openElements.clearBackToTableRowContext(),e._insertElement(t,Xm.HTML),
e.insertionMode=hv.IN_CELL,e.activeFormattingElements.insertMarker();break
;case rg.CAPTION:case rg.COL:case rg.COLGROUP:case rg.TBODY:case rg.TFOOT:
case rg.THEAD:case rg.TR:
e.openElements.hasInTableScope(rg.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=hv.IN_TABLE_BODY,rb(e,t));break;default:
Wv(e,t)}}function ib(e,t){switch(t.tagID){case rg.TR:
e.openElements.hasInTableScope(rg.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=hv.IN_TABLE_BODY);break;case rg.TABLE:
e.openElements.hasInTableScope(rg.TR)&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=hv.IN_TABLE_BODY,ob(e,t));break
;case rg.TBODY:case rg.TFOOT:case rg.THEAD:
(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(rg.TR))&&(e.openElements.clearBackToTableRowContext(),
e.openElements.pop(),e.insertionMode=hv.IN_TABLE_BODY,ob(e,t));break
;case rg.BODY:case rg.CAPTION:case rg.COL:case rg.COLGROUP:case rg.HTML:
case rg.TD:case rg.TH:break;default:Xv(e,t)}}function sb(e,t){switch(t.tagID){
case rg.HTML:zv(e,t);break;case rg.OPTION:
e.openElements.currentTagId===rg.OPTION&&e.openElements.pop(),
e._insertElement(t,Xm.HTML);break;case rg.OPTGROUP:
e.openElements.currentTagId===rg.OPTION&&e.openElements.pop(),
e.openElements.currentTagId===rg.OPTGROUP&&e.openElements.pop(),
e._insertElement(t,Xm.HTML);break;case rg.INPUT:case rg.KEYGEN:case rg.TEXTAREA:
case rg.SELECT:
e.openElements.hasInSelectScope(rg.SELECT)&&(e.openElements.popUntilTagNamePopped(rg.SELECT),
e._resetInsertionMode(),t.tagID!==rg.SELECT&&e._processStartTag(t));break
;case rg.SCRIPT:case rg.TEMPLATE:Dv(e,t)}}function lb(e,t){switch(t.tagID){
case rg.OPTGROUP:
e.openElements.stackTop>0&&e.openElements.currentTagId===rg.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===rg.OPTGROUP&&e.openElements.pop(),
e.openElements.currentTagId===rg.OPTGROUP&&e.openElements.pop();break
;case rg.OPTION:e.openElements.currentTagId===rg.OPTION&&e.openElements.pop()
;break;case rg.SELECT:
e.openElements.hasInSelectScope(rg.SELECT)&&(e.openElements.popUntilTagNamePopped(rg.SELECT),
e._resetInsertionMode());break;case rg.TEMPLATE:Rv(e,t)}}function cb(e,t){
e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(rg.TEMPLATE),
e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),
e._resetInsertionMode(),e.onEof(t)):Tv(e,t)}function ub(e,t){var n
;if(t.tagID===rg.HTML){
if(e.fragmentContext||(e.insertionMode=hv.AFTER_AFTER_BODY),
e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===rg.HTML){
e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1]
;r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)
}}else db(e,t)}function db(e,t){e.insertionMode=hv.IN_BODY,Iv(e,t)}
function pb(e,t){e.insertionMode=hv.IN_BODY,Iv(e,t)}function hb(e){
for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Xm.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()
}function fb(e,t){return bv.parse(e,t)}function mb(e,t,n){
"string"==typeof e&&(n=t,t=e,e=null);const r=bv.getFragmentParser(e,n)
;return r.tokenizer.write(t,!0),r.getFragment()}
tg.AREA,tg.BASE,tg.BASEFONT,tg.BGSOUND,
tg.BR,tg.COL,tg.EMBED,tg.FRAME,tg.HR,tg.IMG,
tg.INPUT,tg.KEYGEN,tg.LINK,tg.META,tg.PARAM,tg.SOURCE,tg.TRACK,tg.WBR
;const gb=bb("end"),vb=bb("start");function bb(e){return function(t){
const n=t&&t.position&&t.position[e]||{}
;if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{
line:n.line,column:n.column,
offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function yb(e){
const t=vb(e),n=gb(e);if(t&&n)return{start:t,end:n}}
const Ob=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),wb={
sourceCodeLocationInfo:!0,scriptingEnabled:!1};function xb(e,t){
const n=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),r=cm("type",{handlers:{root:Sb,element:_b,text:Eb,comment:Ab,doctype:Tb,
raw:Pb},unknown:Db}),o={parser:n?new bv(wb):bv.getFragmentParser(void 0,wb),
handle(e){r(e,o)},stitches:!1,options:t||{}};r(e,o),Rb(o,vb())
;const a=nm(n?o.parser.document:o.parser.getFragment(),{file:o.options.file})
;return o.stitches&&_h(a,"comment",(function(e,t,n){const r=e
;if(r.value.stitch&&n&&void 0!==t){return n.children[t]=r.value.stitch,t}
})),"root"===a.type&&1===a.children.length&&a.children[0].type===e.type?a.children[0]:a
}function kb(e,t){let n=-1;if(e)for(;++n<e.length;)t.handle(e[n])}
function Sb(e,t){kb(e.children,t)}function _b(e,t){!function(e,t){
const n=e.tagName.toLowerCase()
;if(t.parser.tokenizer.state===bg.PLAINTEXT)return;Rb(t,vb(e))
;const r=t.parser.openElements.current
;let o="namespaceURI"in r?r.namespaceURI:Jf.html
;o===Jf.html&&"svg"===n&&(o=Jf.svg);const a=function(e,t){const n=(t||um).space
;return pm(e,"svg"===n?Uf:Bf)}({...e,children:[]},{space:o===Jf.svg?"svg":"html"
}),i={type:$m.START_TAG,tagName:n,tagID:dg(n),selfClosing:!1,ackSelfClosing:!1,
attrs:"attrs"in a?a.attrs:[],location:Nb(e)}
;t.parser.currentToken=i,t.parser._processToken(t.parser.currentToken),
t.parser.tokenizer.lastStartTagName=n}(e,t),kb(e.children,t),function(e,t){
const n=e.tagName.toLowerCase()
;if(!t.parser.tokenizer.inForeignNode&&gm.includes(n))return
;if(t.parser.tokenizer.state===bg.PLAINTEXT)return;Rb(t,gb(e));const r={
type:$m.END_TAG,tagName:n,tagID:dg(n),selfClosing:!1,ackSelfClosing:!1,attrs:[],
location:Nb(e)}
;t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken),
n!==t.parser.tokenizer.lastStartTagName||t.parser.tokenizer.state!==bg.RCDATA&&t.parser.tokenizer.state!==bg.RAWTEXT&&t.parser.tokenizer.state!==bg.SCRIPT_DATA||(t.parser.tokenizer.state=bg.DATA)
}(e,t)}function Eb(e,t){const n={type:$m.CHARACTER,chars:e.value,location:Nb(e)}
;Rb(t,vb(e)),
t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}
function Tb(e,t){const n={type:$m.DOCTYPE,name:"html",forceQuirks:!1,
publicId:"",systemId:"",location:Nb(e)}
;Rb(t,vb(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)
}function Cb(e,t){t.stitches=!0;const n=function(e){return sh("children"in e?{
...e,children:[]}:e)}(e);if("children"in e&&"children"in n){const r=xb({
type:"root",children:e.children},t.options);n.children=r.children}Ab({
type:"comment",value:{stitch:n}},t)}function Ab(e,t){const n=e.value,r={
type:$m.COMMENT,data:n,location:Nb(e)}
;Rb(t,vb(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)
}function Pb(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,
$b(t,vb(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 Db(e,t){const n=e
;if(!t.options.passThrough||!t.options.passThrough.includes(n.type)){let e=""
;throw Ob.has(n.type)&&(e=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),
new Error("Cannot compile `"+n.type+"` node"+e)}Cb(n,t)}function Rb(e,t){$b(e,t)
;const n=e.parser.tokenizer.currentCharacterToken
;n&&n.location&&(n.location.endLine=e.parser.tokenizer.preprocessor.line,
n.location.endCol=e.parser.tokenizer.preprocessor.col+1,
n.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,
e.parser.currentToken=n,
e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,
e.parser.tokenizer.inLoop=!1,
e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=bg.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 $b(e,t){if(t&&void 0!==t.offset){const n={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=n
}}function Nb(e){const t=vb(e)||{line:void 0,column:void 0,offset:void 0
},n=gb(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,
startCol:t.column,startOffset:t.offset,endLine:n.line,endCol:n.column,
endOffset:n.offset}}function Mb(e){return function(t,n){return xb(t,{...e,file:n
})}}const Ib=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],Lb={ancestors:{
tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],
tr:["table"]},attributes:{
a:[...Ib,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],
blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],
div:["itemScope","itemType"],dl:[...Ib],h2:[["className","sr-only"]],
img:[...Ib,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],
ins:["cite"],li:[["className","task-list-item"]],
ol:[...Ib,["className","contains-task-list"]],q:["cite"],
section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],
summary:[...Ib],table:[...Ib],ul:[...Ib,["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"]
},jb={}.hasOwnProperty;function Bb(e,t){if(t&&"object"==typeof t){const n=t
;switch("string"==typeof n.type?n.type:""){case"comment":return function(e,t){
if(e.schema.allowComments){
const e="string"==typeof t.value?t.value:"",n=e.indexOf("--\x3e"),r={
type:"comment",value:n<0?e:e.slice(0,n)};return zb(r,t),r}}(e,n);case"doctype":
return function(e,t){if(e.schema.allowDoctypes){const e={type:"doctype"}
;return zb(e,t),e}}(e,n);case"element":return function(e,t){
const n="string"==typeof t.tagName?t.tagName:"";e.stack.push(n)
;const r=Ub(e,t.children),o=function(e,t){
const n=e.stack[e.stack.length-1],r=e.schema.attributes,o=e.schema.required,a=r&&jb.call(r,n)?r[n]:void 0,i=r&&jb.call(r,"*")?r["*"]:void 0,s=t&&"object"==typeof t?t:{},l={}
;let c;for(c in s)if(jb.call(s,c)){const t=s[c];let n=Qb(e,qb(a,c),c,t)
;null==n&&(n=Qb(e,qb(i,c),c,t)),null!=n&&(l[c]=n)}if(o&&jb.call(o,n)){
const e=o[n];for(c in e)jb.call(e,c)&&!jb.call(l,c)&&(l[c]=e[c])}return l
}(e,t.properties);e.stack.pop();let a=!1
;if(n&&"*"!==n&&(!e.schema.tagNames||e.schema.tagNames.includes(n))&&(a=!0,
e.schema.ancestors&&jb.call(e.schema.ancestors,n))){
const t=e.schema.ancestors[n];let r=-1
;for(a=!1;++r<t.length;)e.stack.includes(t[r])&&(a=!0)}
if(!a)return e.schema.strip&&!e.schema.strip.includes(n)?r:void 0;const i={
type:"element",tagName:n,properties:o,children:r};return zb(i,t),i}(e,n)
;case"root":return function(e,t){const n=Ub(e,t.children),r={type:"root",
children:n};return zb(r,t),r}(e,n);case"text":return function(e,t){
const n="string"==typeof t.value?t.value:"",r={type:"text",value:n}
;return zb(r,t),r}(0,n)}}}function Ub(e,t){const n=[];if(Array.isArray(t)){
const r=t;let o=-1;for(;++o<r.length;){const t=Bb(e,r[o])
;t&&(Array.isArray(t)?n.push(...t):n.push(t))}}return n}function Qb(e,t,n,r){
return t?Array.isArray(r)?function(e,t,n,r){let o=-1;const a=[]
;for(;++o<r.length;){const i=Fb(e,t,n,r[o])
;"number"!=typeof i&&"string"!=typeof i||a.push(i)}return a
}(e,t,n,r):Fb(e,t,n,r):void 0}function Fb(e,t,n,r){
if(("boolean"==typeof r||"number"==typeof r||"string"==typeof r)&&function(e,t,n){
const r=e.schema.protocols&&jb.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0
;if(!r||0===r.length)return!0
;const o=String(n),a=o.indexOf(":"),i=o.indexOf("?"),s=o.indexOf("#"),l=o.indexOf("/")
;if(a<0||l>-1&&a>l||i>-1&&a>i||s>-1&&a>s)return!0;let c=-1;for(;++c<r.length;){
const e=r[c];if(a===e.length&&o.slice(0,e.length)===e)return!0}return!1
}(e,n,r)){if("object"==typeof t&&t.length>1){let e=!1,n=0;for(;++n<t.length;){
const o=t[n];if(o&&"object"==typeof o&&"flags"in o){if(o.test(String(r))){e=!0
;break}}else if(o===r){e=!0;break}}if(!e)return}
return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(n)?e.schema.clobberPrefix+r:r
}}function zb(e,t){const n=yb(t);t.data&&(e.data=sh(t.data)),n&&(e.position=n)}
function qb(e,t){let n,r=-1;if(e)for(;++r<e.length;){
const o=e[r],a="string"==typeof o?o:o[0];if(a===t)return o;"data*"===a&&(n=o)}
if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return n}function Hb(e){
return function(t){const n=function(e,t){let n={type:"root",children:[]}
;const r=Bb({schema:t?{...Lb,...t}:Lb,stack:[]},e)
;return r&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}(t,e)
;return n}}
const Vb=/["&'<>`]/g,Zb=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Wb=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Xb=/[|\\{}()[\]^$+*?.]/g,Gb=new WeakMap
;function Yb(e,t){return e=e.replace(t.subset?function(e){let t=Gb.get(e)
;t||(t=function(e){const t=[];let n=-1
;for(;++n<e.length;)t.push(e[n].replace(Xb,"\\$&"))
;return new RegExp("(?:"+t.join("|")+")","g")}(e),Gb.set(e,t));return t
}(t.subset):Vb,n),t.subset||t.escapeOnly?e:e.replace(Zb,(function(e,n,r){
return t.format(1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536,r.charCodeAt(n+2),t)
})).replace(Wb,n);function n(e,n,r){
return t.format(e.charCodeAt(0),r.charCodeAt(n+1),t)}}const Kb=/[\dA-Fa-f]/
;const Jb=/\d/
;const ey=["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"],ty={
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:"€"
},ny=["cent","copy","divide","gt","lt","not","para","times"],ry={}.hasOwnProperty,oy={}
;let ay;for(ay in ty)ry.call(ty,ay)&&(oy[ty[ay]]=ay);const iy=/[^\dA-Za-z]/
;function sy(e,t,n){let r,o=function(e,t,n){
const r="&#x"+e.toString(16).toUpperCase()
;return n&&t&&!Kb.test(String.fromCharCode(t))?r:r+";"
}(e,t,n.omitOptionalSemicolons)
;if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){
const o=String.fromCharCode(e);if(ry.call(oy,o)){const e=oy[o],a="&"+e
;return n&&ey.includes(e)&&!ny.includes(e)&&(!r||t&&61!==t&&iy.test(String.fromCharCode(t)))?a:a+";"
}return""
}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){
const r=function(e,t,n){const r="&#"+String(e)
;return n&&t&&!Jb.test(String.fromCharCode(t))?r:r+";"
}(e,t,n.omitOptionalSemicolons);r.length<o.length&&(o=r)}
return r&&(!n.useShortestReferences||r.length<o.length)?r:o}function ly(e,t){
return Yb(e,Object.assign({format:sy},t))}
const cy=/^>|^->|<!--|-->|--!>|<!-$/g,uy=[">"],dy=["<",">"];function py(e,t){
const n=String(e)
;if("string"!=typeof t)throw new TypeError("Expected character")
;let r=0,o=n.indexOf(t);for(;-1!==o;)r++,o=n.indexOf(t,o+t.length);return r}
const hy=gy(1),fy=gy(-1),my=[];function gy(e){return function(t,n,r){
const o=t?t.children:my;let a=(n||0)+e,i=o[a];if(!r)for(;i&&jh(i);)a+=e,i=o[a]
;return i}}const vy={}.hasOwnProperty;function by(e){return function(t,n,r){
return vy.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const yy=by({
body:function(e,t,n){const r=hy(n,t);return!r||"comment"!==r.type},caption:Oy,
colgroup:Oy,dd:function(e,t,n){const r=hy(n,t)
;return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},
dt:function(e,t,n){const r=hy(n,t)
;return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},
head:Oy,html:function(e,t,n){const r=hy(n,t);return!r||"comment"!==r.type},
li:function(e,t,n){const r=hy(n,t)
;return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){
const r=hy(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},
option:function(e,t,n){const r=hy(n,t)
;return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},
p:function(e,t,n){const r=hy(n,t)
;return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))
},rp:wy,rt:wy,tbody:function(e,t,n){const r=hy(n,t)
;return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},
td:xy,tfoot:function(e,t,n){return!hy(n,t)},th:xy,thead:function(e,t,n){
const r=hy(n,t)
;return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))
},tr:function(e,t,n){const r=hy(n,t)
;return!r||"element"===r.type&&"tr"===r.tagName}});function Oy(e,t,n){
const r=hy(n,t,!0)
;return!r||"comment"!==r.type&&!("text"===r.type&&jh(r.value.charAt(0)))}
function wy(e,t,n){const r=hy(n,t)
;return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}
function xy(e,t,n){const r=hy(n,t)
;return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}
const ky=by({body:function(e){const t=hy(e,-1,!0)
;return!(t&&("comment"===t.type||"text"===t.type&&jh(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,n){const r=fy(n,t),o=hy(e,-1,!0)
;if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&yy(r,n.children.indexOf(r),n))return!1
;return Boolean(o&&"element"===o.type&&"col"===o.tagName)},head:function(e){
const t=e.children,n=[];let r=-1;for(;++r<t.length;){const e=t[r]
;if("element"===e.type&&("title"===e.tagName||"base"===e.tagName)){
if(n.includes(e.tagName))return!1;n.push(e.tagName)}}return t.length>0},
html:function(e){const t=hy(e,-1);return!t||"comment"!==t.type},
tbody:function(e,t,n){const r=fy(n,t),o=hy(e,-1)
;if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&yy(r,n.children.indexOf(r),n))return!1
;return Boolean(o&&"element"===o.type&&"tr"===o.tagName)}});const Sy={
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 _y(e,t,n){
const r=If(e.schema,t),o=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,a=e.settings.allowDangerousCharacters?0:1
;let i,s=e.quote
;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,
null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return""
;const l=ly(r.attribute,Object.assign({},e.settings.characterReferences,{
subset:Sy.name[o][a]}))
;return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?Ff:gh)(n,{
padLeft:!e.settings.tightCommaSeparatedLists
}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(i=ly(n,Object.assign({},e.settings.characterReferences,{
attribute:!0,subset:Sy.unquoted[o][a]
}))),i!==n&&(e.settings.quoteSmart&&py(n,s)>py(n,e.alternative)&&(s=e.alternative),
i=s+ly(n,Object.assign({},e.settings.characterReferences,{
subset:("'"===s?Sy.single:Sy.double)[o][a],attribute:!0}))+s),l+(i?"="+i:i)))}
const Ey=["<","&"];function Ty(e,t,n,r){
return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?ly(e.value,Object.assign({},r.settings.characterReferences,{
subset:Ey})):e.value}const Cy=cm("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,n,r){
return r.settings.bogusComments?"<?"+ly(e.value,Object.assign({},r.settings.characterReferences,{
subset:uy}))+">":"\x3c!--"+e.value.replace(cy,(function(e){
return ly(e,Object.assign({},r.settings.characterReferences,{subset:dy}))
}))+"--\x3e"},doctype:function(e,t,n,r){
return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"
},element:function(e,t,n,r){
const o=r.schema,a="svg"!==o.space&&r.settings.omitOptionalTags
;let i="svg"===o.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase())
;const s=[];let l;"html"===o.space&&"svg"===e.tagName&&(r.schema=Uf)
;const c=function(e,t){const n=[];let r,o=-1
;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const o=_y(e,r,t[r])
;o&&n.push(o)}for(;++o<n.length;){
const t=e.settings.tightAttributes?n[o].charAt(n[o].length-1):void 0
;o!==n.length-1&&'"'!==t&&"'"!==t&&(n[o]+=" ")}return n.join("")
}(r,e.properties),u=r.all("html"===o.space&&"template"===e.tagName?e.content:e)
;return r.schema=o,
u&&(i=!1),!c&&a&&ky(e,t,n)||(s.push("<",e.tagName,c?" "+c:""),
i&&("svg"===o.space||r.settings.closeSelfClosing)&&(l=c.charAt(c.length-1),
(!r.settings.tightSelfClosing||"/"===l||l&&'"'!==l&&"'"!==l)&&s.push(" "),
s.push("/")),s.push(">")),s.push(u),i||a&&yy(e,t,n)||s.push("</"+e.tagName+">"),
s.join("")},raw:function(e,t,n,r){
return r.settings.allowDangerousHtml?e.value:Ty(e,0,n,r)},
root:function(e,t,n,r){return r.all(e)},text:Ty}});const Ay={},Py={},Dy=[]
;function Ry(e,t,n){return Cy(e,t,n,this)}function $y(e){
const t=[],n=e&&e.children||Dy;let r=-1
;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function Ny(e){
const t={...this.data("settings"),...e};this.compiler=function(e){
return function(e,t){const n=t||Ay,r=n.quote||'"',o='"'===r?"'":'"'
;if('"'!==r&&"'"!==r)throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`")
;return{one:Ry,all:$y,settings:{omitOptionalTags:n.omitOptionalTags||!1,
allowParseErrors:n.allowParseErrors||!1,
allowDangerousCharacters:n.allowDangerousCharacters||!1,
quoteSmart:n.quoteSmart||!1,preferUnquoted:n.preferUnquoted||!1,
tightAttributes:n.tightAttributes||!1,upperDoctype:n.upperDoctype||!1,
tightDoctype:n.tightDoctype||!1,bogusComments:n.bogusComments||!1,
tightCommaSeparatedLists:n.tightCommaSeparatedLists||!1,
tightSelfClosing:n.tightSelfClosing||!1,
collapseEmptyAttributes:n.collapseEmptyAttributes||!1,
allowDangerousHtml:n.allowDangerousHtml||!1,voids:n.voids||gm,
characterReferences:n.characterReferences||Py,
closeSelfClosing:n.closeSelfClosing||!1,
closeEmptyElements:n.closeEmptyElements||!1},schema:"svg"===n.space?Uf:Bf,
quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e
}:e,void 0,void 0)}(e,t)}}
const My=Zy(/[A-Za-z]/),Iy=Zy(/[\dA-Za-z]/),Ly=Zy(/[#-'*+\--9=?A-Z^-~]/)
;function jy(e){return null!==e&&(e<32||127===e)}
const By=Zy(/\d/),Uy=Zy(/[\dA-Fa-f]/),Qy=Zy(/[!-/:-@[-`{-~]/);function Fy(e){
return null!==e&&e<-2}function zy(e){return null!==e&&(e<0||32===e)}
function qy(e){return-2===e||-1===e||32===e}
const Hy=Zy(new RegExp("\\p{P}|\\p{S}","u")),Vy=Zy(/\s/);function Zy(e){
return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}
function Wy(e,t,n){const r=vh((n||{}).ignore||[]),o=function(e){const t=[]
;if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples")
;const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r<n.length;){
const e=n[r];t.push([Xy(e[0]),Gy(e[1])])}return t}(t);let a=-1
;for(;++a<o.length;)Sh(e,"text",i);function i(e,t){let n,i=-1
;for(;++i<t.length;){const e=t[i],o=n?n.children:void 0
;if(r(e,o?o.indexOf(e):void 0,n))return;n=e}if(n)return function(e,t){
const n=t[t.length-1],r=o[a][0],i=o[a][1];let s=0;const l=n.children.indexOf(e)
;let c=!1,u=[];r.lastIndex=0;let d=r.exec(e.value);for(;d;){const n=d.index,o={
index:d.index,input:d.input,stack:[...t,e]};let a=i(...d,o)
;if("string"==typeof a&&(a=a.length>0?{type:"text",value:a
}:void 0),!1===a?r.lastIndex=n+1:(s!==n&&u.push({type:"text",
value:e.value.slice(s,n)
}),Array.isArray(a)?u.push(...a):a&&u.push(a),s=n+d[0].length,
c=!0),!r.global)break;d=r.exec(e.value)}c?(s<e.value.length&&u.push({
type:"text",value:e.value.slice(s)}),n.children.splice(l,1,...u)):u=[e]
;return l+u.length}(e,t)}}function Xy(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 Gy(e){return"function"==typeof e?e:function(){return e}}
const Yy="phrasing",Ky=["autolink","link","image","label"];function Jy(e){
this.enter({type:"link",title:null,url:"",children:[]},e)}function eO(e){
this.config.enter.autolinkProtocol.call(this,e)}function tO(e){
this.config.exit.autolinkProtocol.call(this,e)}function nO(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 rO(e){
this.config.exit.autolinkEmail.call(this,e)}function oO(e){this.exit(e)}
function aO(e){
Wy(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,iO],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,sO]],{
ignore:["link","linkReference"]})}function iO(e,t,n,r,o){let a=""
;if(!lO(o))return!1;if(/^w/i.test(t)&&(n=t+n,t="",a="http://"),!function(e){
const t=e.split(".")
;if(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])))return!1
;return!0}(n))return!1;const i=function(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e)
;if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")")
;const o=py(e,"(");let a=py(e,")")
;for(;-1!==r&&o>a;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),a++
;return[e,n]}(n+r);if(!i[0])return!1;const s={type:"link",title:null,
url:a+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",
value:i[1]}]:s}function sO(e,t,n,r){return!(!lO(r,!0)||/[-\d_]$/.test(n))&&{
type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",
value:t+"@"+n}]}}function lO(e,t){const n=e.input.charCodeAt(e.index-1)
;return(0===e.index||Vy(n)||Hy(n))&&(!t||47!==n)}function cO(e){
return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()
}function uO(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",
children:[]},e)}function dO(){this.buffer()}function pO(e){
const t=this.resume(),n=this.stack[this.stack.length-1]
;n.type,n.label=t,n.identifier=cO(this.sliceSerialize(e)).toLowerCase()}
function hO(e){this.exit(e)}function fO(e){this.enter({type:"footnoteReference",
identifier:"",label:""},e)}function mO(){this.buffer()}function gO(e){
const t=this.resume(),n=this.stack[this.stack.length-1]
;n.type,n.label=t,n.identifier=cO(this.sliceSerialize(e)).toLowerCase()}
function vO(e){this.exit(e)}function bO(e,t,n,r){const o=n.createTracker(r)
;let a=o.move("[^");const i=n.enter("footnoteReference"),s=n.enter("reference")
;return a+=o.move(n.safe(n.associationId(e),{...o.current(),before:a,after:"]"
})),s(),i(),a+=o.move("]"),a}function yO(e,t,n,r){const o=n.createTracker(r)
;let a=o.move("[^");const i=n.enter("footnoteDefinition"),s=n.enter("label")
;return a+=o.move(n.safe(n.associationId(e),{...o.current(),before:a,after:"]"
})),
s(),a+=o.move("]:"+(e.children&&e.children.length>0?" ":"")),o.shift(4),a+=o.move(n.indentLines(n.containerFlow(e,o.current()),OO)),
i(),a}function OO(e,t,n){return 0===t?e:(n?"":"    ")+e}bO.peek=function(){
return"["}
;const wO=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"]
;function xO(e){this.enter({type:"delete",children:[]},e)}function kO(e){
this.exit(e)}function SO(e,t,n,r){
const o=n.createTracker(r),a=n.enter("strikethrough");let i=o.move("~~")
;return i+=n.containerPhrasing(e,{...o.current(),before:i,after:"~"
}),i+=o.move("~~"),a(),i}function _O(e){return e.length}function EO(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}
SO.peek=function(){return"~"};const TO={}.hasOwnProperty;function CO(e,t){
let n,r=-1;if(t.extensions)for(;++r<t.extensions.length;)CO(e,t.extensions[r])
;for(n in t)if(TO.call(t,n))switch(n){case"extensions":break;case"unsafe":
case"join":AO(e[n],t[n]);break;case"handlers":PO(e[n],t[n]);break;default:
e.options[n]=t[n]}return e}function AO(e,t){t&&e.push(...t)}function PO(e,t){
t&&Object.assign(e,t)}function DO(e,t,n){return">"+(n?"":" ")+e}
function RO(e,t){return $O(e,t.inConstruct,!0)&&!$O(e,t.notInConstruct,!1)}
function $O(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n
;let r=-1;for(;++r<t.length;)if(e.includes(t[r]))return!0;return!1}
function NO(e,t,n,r){let o=-1
;for(;++o<n.unsafe.length;)if("\n"===n.unsafe[o].character&&RO(n.stack,n.unsafe[o]))return/[ \t]/.test(r.before)?"":" "
;return"\\\n"}function MO(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 IO(e,t,n){return(n?"":"    ")+e}function LO(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 jO(e,t,n,r){const o=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}(n),a=n.enter("emphasis"),i=n.createTracker(r);let s=i.move(o)
;return s+=i.move(n.containerPhrasing(e,{before:s,after:o,...i.current()
})),s+=i.move(o),a(),s}jO.peek=function(e,t,n){return n.options.emphasis||"*"}
;const BO={};function UO(e,t){const n=BO
;return QO(e,"boolean"!=typeof n.includeImageAlt||n.includeImageAlt,"boolean"!=typeof n.includeHtml||n.includeHtml)
}function QO(e,t,n){if(function(e){return Boolean(e&&"object"==typeof e)}(e)){
if("value"in e)return"html"!==e.type||n?e.value:""
;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return FO(e.children,t,n)
}return Array.isArray(e)?FO(e,t,n):""}function FO(e,t,n){const r=[];let o=-1
;for(;++o<e.length;)r[o]=QO(e[o],t,n);return r.join("")}function zO(e,t){
let n=!1;return _h(e,(function(e){
if("value"in e&&/\r?\n|\r/.test(e.value)||"break"===e.type)return n=!0,xh
})),Boolean((!e.depth||e.depth<3)&&UO(e)&&(t.options.setext||n))}function qO(e){
return e.value||""}function HO(e,t,n,r){
const o=LO(n),a='"'===o?"Quote":"Apostrophe",i=n.enter("image")
;let s=n.enter("label");const l=n.createTracker(r);let c=l.move("![")
;return c+=l.move(n.safe(e.alt,{before:c,after:"]",...l.current()
})),c+=l.move("]("),
s(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),
c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()
})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{
before:c,after:e.title?" ":")",...l.current()
}))),s(),e.title&&(s=n.enter(`title${a}`),
c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()
})),c+=l.move(o),s()),c+=l.move(")"),i(),c}function VO(e,t,n,r){
const o=e.referenceType,a=n.enter("imageReference");let i=n.enter("label")
;const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,
after:"]",...s.current()});l+=s.move(c+"]["),i();const u=n.stack
;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,
after:"]",...s.current()})
;return i(),n.stack=u,a(),"full"!==o&&c&&c===d?"shortcut"===o?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),
l}function ZO(e,t,n){let r=e.value||"",o="`",a=-1
;for(;new RegExp("(^|[^`])"+o+"([^`]|$)").test(r);)o+="`"
;for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++a<n.unsafe.length;){
const e=n.unsafe[a],t=n.compilePattern(e);let o;if(e.atBreak)for(;o=t.exec(r);){
let e=o.index
;10===r.charCodeAt(e)&&13===r.charCodeAt(e-1)&&e--,r=r.slice(0,e)+" "+r.slice(o.index+1)
}}return o+r+o}function WO(e,t){const n=UO(e)
;return Boolean(!t.options.resourceLink&&e.url&&!e.title&&e.children&&1===e.children.length&&"text"===e.children[0].type&&(n===e.url||"mailto:"+n===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))
}function XO(e,t,n,r){
const o=LO(n),a='"'===o?"Quote":"Apostrophe",i=n.createTracker(r);let s,l
;if(WO(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=i.move("<")
;return r+=i.move(n.containerPhrasing(e,{before:r,after:">",...i.current()
})),r+=i.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label")
;let c=i.move("[");return c+=i.move(n.containerPhrasing(e,{before:c,after:"](",
...i.current()
})),c+=i.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),
c+=i.move("<"),c+=i.move(n.safe(e.url,{before:c,after:">",...i.current()
})),c+=i.move(">")):(l=n.enter("destinationRaw"),c+=i.move(n.safe(e.url,{
before:c,after:e.title?" ":")",...i.current()
}))),l(),e.title&&(l=n.enter(`title${a}`),
c+=i.move(" "+o),c+=i.move(n.safe(e.title,{before:c,after:o,...i.current()
})),c+=i.move(o),l()),c+=i.move(")"),s(),c}function GO(e,t,n,r){
const o=e.referenceType,a=n.enter("linkReference");let i=n.enter("label")
;const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{
before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const u=n.stack
;n.stack=[],i=n.enter("reference");const d=n.safe(n.associationId(e),{before:l,
after:"]",...s.current()})
;return i(),n.stack=u,a(),"full"!==o&&c&&c===d?"shortcut"===o?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(d+"]"),
l}function YO(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 KO(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}qO.peek=function(){return"<"},HO.peek=function(){return"!"
},VO.peek=function(){return"!"},ZO.peek=function(){return"`"
},XO.peek=function(e,t,n){return WO(e,n)?"<":"["},GO.peek=function(){return"["}
;const JO=vh(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"])
;function ew(e,t,n,r){const o=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}(n),a=n.enter("strong"),i=n.createTracker(r);let s=i.move(o+o)
;return s+=i.move(n.containerPhrasing(e,{before:s,after:o,...i.current()
})),s+=i.move(o+o),a(),s}ew.peek=function(e,t,n){return n.options.strong||"*"}
;const tw={blockquote:function(e,t,n,r){
const o=n.enter("blockquote"),a=n.createTracker(r);a.move("> "),a.shift(2)
;const i=n.indentLines(n.containerFlow(e,a.current()),DO);return o(),i},
break:NO,code:function(e,t,n,r){const o=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}(n),a=e.value||"",i="`"===o?"GraveAccent":"Tilde";if(MO(e,n)){
const e=n.enter("codeIndented"),t=n.indentLines(a,IO);return e(),t}
const s=n.createTracker(r),l=o.repeat(Math.max(function(e,t){const n=String(e)
;let r=n.indexOf(t),o=r,a=0,i=0
;if("string"!=typeof t)throw new TypeError("Expected substring")
;for(;-1!==r;)r===o?++a>i&&(i=a):a=1,o=r+t.length,r=n.indexOf(t,o);return i
}(a,o)+1,3)),c=n.enter("codeFenced");let u=s.move(l);if(e.lang){
const t=n.enter(`codeFencedLang${i}`);u+=s.move(n.safe(e.lang,{before:u,
after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){
const t=n.enter(`codeFencedMeta${i}`);u+=s.move(" "),u+=s.move(n.safe(e.meta,{
before:u,after:"\n",encode:["`"],...s.current()})),t()}
return u+=s.move("\n"),a&&(u+=s.move(a+"\n")),u+=s.move(l),c(),u},
definition:function(e,t,n,r){
const o=LO(n),a='"'===o?"Quote":"Apostrophe",i=n.enter("definition")
;let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[")
;return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()
})),
c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),
c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()
})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{
before:c,after:e.title?" ":"\n",...l.current()
}))),s(),e.title&&(s=n.enter(`title${a}`),
c+=l.move(" "+o),c+=l.move(n.safe(e.title,{before:c,after:o,...l.current()
})),c+=l.move(o),s()),i(),c},emphasis:jO,hardBreak:NO,heading:function(e,t,n,r){
const o=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(zO(e,n)){
const t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{
...a.current(),before:"\n",after:"\n"})
;return r(),t(),i+"\n"+(1===o?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))
}const i="#".repeat(o),s=n.enter("headingAtx"),l=n.enter("phrasing")
;a.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",
...a.current()})
;return/^[\t ]/.test(c)&&(c="&#x"+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),
c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),l(),s(),c},html:qO,image:HO,
imageReference:VO,inlineCode:ZO,link:XO,linkReference:GO,list:function(e,t,n,r){
const o=n.enter("list"),a=n.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}(n):YO(n);const s=e.ordered?"."===i?")":".":function(e){
const t=YO(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*"
;if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`")
;if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different")
;return n}(n);let l=!(!t||!n.bulletLastUsed)&&i===n.bulletLastUsed
;if(!e.ordered){const t=e.children?e.children[0]:void 0
;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),
KO(n)===i&&t){let t=-1;for(;++t<e.children.length;){const n=e.children[t]
;if(n&&"listItem"===n.type&&n.children&&n.children[0]&&"thematicBreak"===n.children[0].type){
l=!0;break}}}}l&&(i=s),n.bulletCurrent=i;const c=n.containerFlow(e,r)
;return n.bulletLastUsed=i,n.bulletCurrent=a,o(),c},listItem:function(e,t,n,r){
const o=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}(n);let a=n.bulletCurrent||YO(n)
;t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+a)
;let i=a.length+1
;("tab"===o||"mixed"===o&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4))
;const s=n.createTracker(r);s.move(a+" ".repeat(i-a.length)),s.shift(i)
;const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){
if(t)return(n?"":" ".repeat(i))+e;return(n?a:a+" ".repeat(i-a.length))+e}))
;return l(),c},paragraph:function(e,t,n,r){
const o=n.enter("paragraph"),a=n.enter("phrasing"),i=n.containerPhrasing(e,r)
;return a(),o(),i},root:function(e,t,n,r){return(e.children.some((function(e){
return JO(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:ew,
text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){
const r=(KO(n)+(n.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}(n));return n.options.ruleSpaces?r.slice(0,-1):r}
},nw=[function(e,t,n,r){
if("code"===t.type&&MO(t,r)&&("list"===e.type||e.type===t.type&&MO(e,r)))return!1
;if("spread"in n&&"boolean"==typeof n.spread){
if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&zO(t,r)))return
;return n.spread?1:0}}]
;const rw=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],ow=[{
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:rw},{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:rw},{atBreak:!0,before:"\\d+",
character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,
character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",
notInConstruct:rw},{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:rw},{
character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{
atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{
atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",
notInConstruct:rw},{character:"[",inConstruct:["label","reference"]},{
character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",
inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",
inConstruct:"phrasing",notInConstruct:rw},{atBreak:!0,character:"`"},{
character:"`",
inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{
character:"`",inConstruct:"phrasing",notInConstruct:rw},{atBreak:!0,
character:"~"}],aw=document.createElement("i");function iw(e){const t="&"+e+";"
;aw.innerHTML=t;const n=aw.textContent
;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}function sw(e,t){
const n=Number.parseInt(e,t)
;return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)
}const lw=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi
;function cw(e){return e.replace(lw,uw)}function uw(e,t,n){if(t)return t
;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e
;return sw(n.slice(t?2:1),t?16:10)}return iw(n)||e}function dw(e){
return e.label||!e.identifier?e.label||"":cw(e.identifier)}function pw(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 hw(e,t,n,r){let o=r.join.length;for(;o--;){
const a=r.join[o](e,t,n,r);if(!0===a||1===a)break
;if("number"==typeof a)return"\n".repeat(1+a)
;if(!1===a)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const fw=/\r?\n|\r/g
;function mw(e,t){const n=[];let r,o=0,a=0
;for(;r=fw.exec(e);)i(e.slice(o,r.index)),n.push(r[0]),o=r.index+r[0].length,a++
;return i(e.slice(o)),n.join("");function i(e){n.push(t(e,a,!e))}}
function gw(e,t){return e-t}function vw(e,t){
const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],o=[],a=e+t;let i,s=-1,l=0
;for(;i=n.exec(a);)r.push(i.index)
;for(;++s<r.length;)l!==r[s]&&o.push(e.slice(l,r[s])),o.push("\\"),l=r[s]
;return o.push(e.slice(l)),o.join("")}function bw(e){const t=e||{},n=t.now||{}
;let r=t.lineShift||0,o=n.line||1,a=n.column||1;return{move:function(e){
const t=e||"",n=t.split(/\r?\n|\r/g),i=n[n.length-1]
;return o+=n.length-1,a=1===n.length?a+i.length:1+i.length+r,t},
current:function(){return{now:{line:o,column:a},lineShift:r}},shift:function(e){
r+=e}}}function yw(e,t={}){const n={enter:function(e){
return n.stack.push(e),function(){n.stack.pop()}},indentLines:mw,
associationId:dw,containerPhrasing:kw,containerFlow:Sw,createTracker:bw,
compilePattern:pw,safe:_w,stack:[],unsafe:[...ow],join:[...nw],handlers:{...tw},
options:{},indexStack:[],handle:void 0}
;CO(n,t),n.options.tightDefinitions&&n.join.push(xw),n.handle=cm("type",{
invalid:Ow,unknown:ww,handlers:n.handlers});let r=n.handle(e,void 0,n,{
before:"\n",after:"\n",now:{line:1,column:1},lineShift:0})
;return r&&10!==r.charCodeAt(r.length-1)&&13!==r.charCodeAt(r.length-1)&&(r+="\n"),
r}function Ow(e){throw new Error("Cannot handle value `"+e+"`, expected node")}
function ww(e){throw new Error("Cannot handle unknown node `"+e.type+"`")}
function xw(e,t){if("definition"===e.type&&e.type===t.type)return 0}
function kw(e,t){return function(e,t,n){
const r=t.indexStack,o=e.children||[],a=[];let i=-1,s=n.before;r.push(-1)
;let l=t.createTracker(n);for(;++i<o.length;){const c=o[i];let u
;if(r[r.length-1]=i,i+1<o.length){let n=t.handle.handlers[o[i+1].type]
;n&&n.peek&&(n=n.peek),u=n?n(o[i+1],e,t,{before:"",after:"",...l.current()
}).charAt(0):""}else u=n.after
;a.length>0&&("\r"===s||"\n"===s)&&"html"===c.type&&(a[a.length-1]=a[a.length-1].replace(/(\r?\n|\r)$/," "),
s=" ",l=t.createTracker(n),l.move(a.join(""))),a.push(l.move(t.handle(c,e,t,{
...l.current(),before:s,after:u}))),s=a[a.length-1].slice(-1)}
return r.pop(),a.join("")}(e,this,t)}function Sw(e,t){return function(e,t,n){
const r=t.indexStack,o=e.children||[],a=t.createTracker(n),i=[];let s=-1
;for(r.push(-1);++s<o.length;){const n=o[s]
;r[r.length-1]=s,i.push(a.move(t.handle(n,e,t,{before:"\n",after:"\n",
...a.current()
}))),"list"!==n.type&&(t.bulletLastUsed=void 0),s<o.length-1&&i.push(a.move(hw(n,o[s+1],e,t)))
}return r.pop(),i.join("")}(e,this,t)}function _w(e,t){return function(e,t,n){
const r=(n.before||"")+(t||"")+(n.after||""),o=[],a=[],i={};let s=-1
;for(;++s<e.unsafe.length;){const t=e.unsafe[s];if(!RO(e.stack,t))continue
;const n=e.compilePattern(t);let a;for(;a=n.exec(r);){
const e="before"in t||Boolean(t.atBreak),n="after"in t,r=a.index+(e?a[1].length:0)
;o.includes(r)?(i[r].before&&!e&&(i[r].before=!1),
i[r].after&&!n&&(i[r].after=!1)):(o.push(r),i[r]={before:e,after:n})}}o.sort(gw)
;let l=n.before?n.before.length:0;const c=r.length-(n.after?n.after.length:0)
;for(s=-1;++s<o.length;){const e=o[s]
;e<l||e>=c||e+1<c&&o[s+1]===e+1&&i[e].after&&!i[e+1].before&&!i[e+1].after||o[s-1]===e-1&&i[e].before&&!i[e-1].before&&!i[e-1].after||(l!==e&&a.push(vw(r.slice(l,e),"\\")),
l=e,
!/[!-/:-@[-`{-~]/.test(r.charAt(e))||n.encode&&n.encode.includes(r.charAt(e))?(a.push("&#x"+r.charCodeAt(e).toString(16).toUpperCase()+";"),
l++):a.push("\\"))}return a.push(vw(r.slice(l,c),n.after)),a.join("")}(this,e,t)
}function Ew(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 Tw(e){this.exit(e),this.data.inTable=void 0}
function Cw(e){this.enter({type:"tableRow",children:[]},e)}function Aw(e){
this.exit(e)}function Pw(e){this.enter({type:"tableCell",children:[]},e)}
function Dw(e){let t=this.resume()
;this.data.inTable&&(t=t.replace(/\\([\\|])/g,Rw))
;const n=this.stack[this.stack.length-1];n.type,n.value=t,this.exit(e)}
function Rw(e,t){return"|"===t?t:e}function $w(e){
const t=e||{},n=t.tableCellPadding,r=t.tablePipeAlign,o=t.stringLength,a=n?" ":"|"
;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,n){
let r=tw.inlineCode(e,t,n)
;n.stack.includes("tableCell")&&(r=r.replace(/\|/g,"\\$&"));return r},
table:function(e,t,n,r){return s(function(e,t,n){const r=e.children;let o=-1
;const a=[],i=t.enter("table");for(;++o<r.length;)a[o]=l(r[o],t,n);return i(),a
}(e,n,r),e.align)},tableCell:i,tableRow:function(e,t,n,r){const o=s([l(e,n,r)])
;return o.slice(0,o.indexOf("\n"))}}};function i(e,t,n,r){
const o=n.enter("tableCell"),i=n.enter("phrasing"),s=n.containerPhrasing(e,{
...r,before:a,after:a});return i(),o(),s}function s(e,t){
return function(e,t={}){
const n=(t.align||[]).concat(),r=t.stringLength||_O,o=[],a=[],i=[],s=[]
;let l=0,c=-1;for(;++c<e.length;){const n=[],o=[];let d=-1
;for(e[c].length>l&&(l=e[c].length);++d<e[c].length;){
const a=null==(u=e[c][d])?"":String(u);if(!1!==t.alignDelimiters){const e=r(a)
;o[d]=e,(void 0===s[d]||e>s[d])&&(s[d]=e)}n.push(a)}a[c]=n,i[c]=o}var u;let d=-1
;if("object"==typeof n&&"length"in n)for(;++d<l;)o[d]=EO(n[d]);else{
const e=EO(n);for(;++d<l;)o[d]=e}d=-1;const p=[],h=[];for(;++d<l;){const e=o[d]
;let n="",r="";99===e?(n=":",r=":"):108===e?n=":":114===e&&(r=":")
;let a=!1===t.alignDelimiters?1:Math.max(1,s[d]-n.length-r.length)
;const i=n+"-".repeat(a)+r
;!1!==t.alignDelimiters&&(a=n.length+a+r.length,a>s[d]&&(s[d]=a),h[d]=a),p[d]=i}
a.splice(1,0,p),i.splice(1,0,h),c=-1;const f=[];for(;++c<a.length;){
const e=a[c],n=i[c];d=-1;const r=[];for(;++d<l;){const a=e[d]||"";let i="",c=""
;if(!1!==t.alignDelimiters){const e=s[d]-(n[d]||0),t=o[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||r.push("|"),
!1===t.padding||!1===t.alignDelimiters&&""===a||!1===t.delimiterStart&&!d||r.push(" "),
!1!==t.alignDelimiters&&r.push(i),
r.push(a),!1!==t.alignDelimiters&&r.push(c),!1!==t.padding&&r.push(" "),
!1===t.delimiterEnd&&d===l-1||r.push("|")}
f.push(!1===t.delimiterEnd?r.join("").replace(/ +$/,""):r.join(""))}
return f.join("\n")}(e,{align:t,alignDelimiters:r,padding:n,stringLength:o})}
function l(e,t,n){const r=e.children;let o=-1;const a=[],s=t.enter("tableRow")
;for(;++o<r.length;)a[o]=i(r[o],0,t,n);return s(),a}}function Nw(e){
const t=this.stack[this.stack.length-2]
;t.type,t.checked="taskListCheckValueChecked"===e.type}function Mw(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 n=e.children[0]
;if(n&&"text"===n.type){const r=t.children;let o,a=-1;for(;++a<r.length;){
const e=r[a];if("paragraph"===e.type){o=e;break}}
o===e&&(n.value=n.value.slice(1),
0===n.value.length?e.children.shift():e.position&&n.position&&"number"==typeof n.position.start.offset&&(n.position.start.column++,
n.position.start.offset++,e.position.start=Object.assign({},n.position.start)))}
}this.exit(e)}function Iw(e,t,n,r){
const o=e.children[0],a="boolean"==typeof e.checked&&o&&"paragraph"===o.type,i="["+(e.checked?"x":" ")+"] ",s=n.createTracker(r)
;a&&s.move(i);let l=tw.listItem(e,t,n,{...r,...s.current()})
;return a&&(l=l.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,(function(e){
return e+i}))),l}function Lw(e,t,n,r){const o=e.length;let a,i=0
;if(t=t<0?-t>o?0:o+t:t>o?o:t,
n=n>0?n:0,r.length<1e4)a=Array.from(r),a.unshift(t,n),
e.splice(...a);else for(n&&e.splice(t,n);i<r.length;)a=r.slice(i,i+1e4),
a.unshift(t,0),e.splice(...a),i+=1e4,t+=1e4}function jw(e,t){
return e.length>0?(Lw(e,e.length,0,t),e):t}const Bw={}.hasOwnProperty
;function Uw(e){const t={};let n=-1;for(;++n<e.length;)Qw(t,e[n]);return t}
function Qw(e,t){let n;for(n in t){
const r=(Bw.call(e,n)?e[n]:void 0)||(e[n]={}),o=t[n];let a;if(o)for(a in o){
Bw.call(r,a)||(r[a]=[]);const e=o[a];Fw(r[a],Array.isArray(e)?e:e?[e]:[])}}}
function Fw(e,t){let n=-1;const r=[]
;for(;++n<t.length;)("after"===t[n].add?e:r).push(t[n]);Lw(e,0,0,r)}const zw={
tokenize:function(e,t,n){let r=0;return function t(a){
if((87===a||119===a)&&r<3)return r++,e.consume(a),t
;if(46===a&&3===r)return e.consume(a),o;return n(a)};function o(e){
return null===e?n(e):t(e)}},partial:!0},qw={tokenize:function(e,t,n){let r,o,a
;return i;function i(t){
return 46===t||95===t?e.check(Vw,l,s)(t):null===t||zy(t)||Vy(t)||45!==t&&Hy(t)?l(t):(a=!0,
e.consume(t),i)}function s(t){return 95===t?r=!0:(o=r,r=void 0),e.consume(t),i}
function l(e){return o||r||!a?n(e):t(e)}},partial:!0},Hw={
tokenize:function(e,t){let n=0,r=0;return o;function o(i){
return 40===i?(n++,e.consume(i),
o):41===i&&r<n?a(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(Vw,t,a)(i):null===i||zy(i)||Vy(i)?t(i):(e.consume(i),
o)}function a(t){return 41===t&&r++,e.consume(t),o}},partial:!0},Vw={
tokenize:function(e,t,n){return r;function r(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),
r):38===i?(e.consume(i),
a):93===i?(e.consume(i),o):60===i||null===i||zy(i)||Vy(i)?t(i):n(i)}
function o(e){return null===e||40===e||91===e||zy(e)||Vy(e)?t(e):r(e)}
function a(e){return My(e)?i(e):n(e)}function i(t){
return 59===t?(e.consume(t),r):My(t)?(e.consume(t),i):n(t)}},partial:!0},Zw={
tokenize:function(e,t,n){return function(t){return e.consume(t),r}
;function r(e){return Iy(e)?n(e):t(e)}},partial:!0},Ww={
tokenize:function(e,t,n){const r=this;return function(t){
if(87!==t&&119!==t||!Jw.call(r,r.previous)||rx(r.events))return n(t)
;return e.enter("literalAutolink"),
e.enter("literalAutolinkWww"),e.check(zw,e.attempt(qw,e.attempt(Hw,o),n),n)(t)}
;function o(n){
return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(n)}},previous:Jw
},Xw={tokenize:function(e,t,n){const r=this;let o="",a=!1;return function(t){
if((72===t||104===t)&&ex.call(r,r.previous)&&!rx(r.events))return e.enter("literalAutolink"),
e.enter("literalAutolinkHttp"),o+=String.fromCodePoint(t),e.consume(t),i
;return n(t)};function i(t){
if(My(t)&&o.length<5)return o+=String.fromCodePoint(t),e.consume(t),i
;if(58===t){const n=o.toLowerCase()
;if("http"===n||"https"===n)return e.consume(t),s}return n(t)}function s(t){
return 47===t?(e.consume(t),a?l:(a=!0,s)):n(t)}function l(t){
return null===t||jy(t)||zy(t)||Vy(t)||Hy(t)?n(t):e.attempt(qw,e.attempt(Hw,c),n)(t)
}function c(n){
return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(n)}},
previous:ex},Gw={tokenize:function(e,t,n){const r=this;let o,a
;return function(t){if(!nx(t)||!tx.call(r,r.previous)||rx(r.events))return n(t)
;return e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),i(t)}
;function i(t){return nx(t)?(e.consume(t),i):64===t?(e.consume(t),s):n(t)}
function s(t){
return 46===t?e.check(Zw,c,l)(t):45===t||95===t||Iy(t)?(a=!0,e.consume(t),
s):c(t)}function l(t){return e.consume(t),o=!0,s}function c(i){
return a&&o&&My(r.previous)?(e.exit("literalAutolinkEmail"),
e.exit("literalAutolink"),t(i)):n(i)}},previous:tx},Yw={};let Kw=48
;for(;Kw<123;)Yw[Kw]=Gw,Kw++,58===Kw?Kw=65:91===Kw&&(Kw=97);function Jw(e){
return null===e||40===e||42===e||95===e||91===e||93===e||126===e||zy(e)}
function ex(e){return!My(e)}function tx(e){return!(47===e||nx(e))}
function nx(e){return 43===e||45===e||46===e||95===e||Iy(e)}function rx(e){
let t=e.length,n=!1;for(;t--;){const r=e[t][1]
;if(("labelLink"===r.type||"labelImage"===r.type)&&!r._balanced){n=!0;break}
if(r._gfmAutolinkLiteralWalkedInto){n=!1;break}}
return e.length>0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}
function ox(e){const t=[];let n=-1,r=0,o=0;for(;++n<e.length;){
const a=e.charCodeAt(n);let i=""
;if(37===a&&Iy(e.charCodeAt(n+1))&&Iy(e.charCodeAt(n+2)))o=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(i=String.fromCharCode(a));else if(a>55295&&a<57344){
const t=e.charCodeAt(n+1);a<56320&&t>56319&&t<57344?(i=String.fromCharCode(a,t),
o=1):i="�"}else i=String.fromCharCode(a)
;i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+o+1,i=""),o&&(n+=o,o=0)}
return t.join("")+e.slice(r)}function ax(e){
return null===e||zy(e)||Vy(e)?1:Hy(e)?2:void 0}function ix(e,t,n){const r=[]
;let o=-1;for(;++o<e.length;){const a=e[o].resolveAll
;a&&!r.includes(a)&&(t=a(t,n),r.push(a))}return t}Yw[43]=Gw,Yw[45]=Gw,Yw[46]=Gw,
Yw[95]=Gw,Yw[72]=[Gw,Xw],Yw[104]=[Gw,Xw],Yw[87]=[Gw,Ww],Yw[119]=[Gw,Ww]
;const sx={name:"attention",tokenize:function(e,t){
const n=this.parser.constructs.attentionMarkers.null,r=this.previous,o=ax(r)
;let a;return function(t){return a=t,e.enter("attentionSequence"),i(t)}
;function i(s){if(s===a)return e.consume(s),i
;const l=e.exit("attentionSequence"),c=ax(s),u=!c||2===c&&o||n.includes(s),d=!o||2===o&&c||n.includes(r)
;return l._open=Boolean(42===a?u:u&&(o||!d)),
l._close=Boolean(42===a?d:d&&(c||!u)),t(s)}},resolveAll:function(e,t){
let n,r,o,a,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(n=u;n--;)if("exit"===e[n][0]&&"attentionSequence"===e[n][1].type&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){
if((e[n][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue
;s=e[n][1].end.offset-e[n][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1
;const d=Object.assign({},e[n][1].end),p=Object.assign({},e[u][1].start)
;lx(d,-s),lx(p,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,
end:Object.assign({},e[n][1].end)},i={
type:s>1?"strongSequence":"emphasisSequence",
start:Object.assign({},e[u][1].start),end:p},o={
type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),
end:Object.assign({},e[u][1].start)},r={type:s>1?"strong":"emphasis",
start:Object.assign({},a.start),end:Object.assign({},i.end)
},e[n][1].end=Object.assign({},a.start),
e[u][1].start=Object.assign({},i.end),l=[],
e[n][1].end.offset-e[n][1].start.offset&&(l=jw(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),
l=jw(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]),
l=jw(l,ix(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)),
l=jw(l,[["exit",o,t],["enter",i,t],["exit",i,t],["exit",r,t]]),
e[u][1].end.offset-e[u][1].start.offset?(c=2,
l=jw(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,
Lw(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1
;for(;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data")
;return e}};function lx(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}
const cx={name:"autolink",tokenize:function(e,t,n){let r=0;return function(t){
return e.enter("autolink"),
e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),
e.enter("autolinkProtocol"),o};function o(t){
return My(t)?(e.consume(t),a):64===t?n(t):l(t)}function a(e){
return 43===e||45===e||46===e||Iy(e)?(r=1,i(e)):l(e)}function i(t){
return 58===t?(e.consume(t),
r=0,s):(43===t||45===t||46===t||Iy(t))&&r++<32?(e.consume(t),i):(r=0,l(t))}
function s(r){
return 62===r?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),
e.consume(r),
e.exit("autolinkMarker"),e.exit("autolink"),t):null===r||32===r||60===r||jy(r)?n(r):(e.consume(r),
s)}function l(t){return 64===t?(e.consume(t),c):Ly(t)?(e.consume(t),l):n(t)}
function c(e){return Iy(e)?u(e):n(e)}function u(n){
return 46===n?(e.consume(n),r=0,
c):62===n?(e.exit("autolinkProtocol").type="autolinkEmail",
e.enter("autolinkMarker"),
e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):d(n)}function d(t){
if((45===t||Iy(t))&&r++<63){const n=45===t?d:u;return e.consume(t),n}return n(t)
}}};function ux(e,t,n,r){const o=r?r-1:Number.POSITIVE_INFINITY;let a=0
;return function(r){if(qy(r))return e.enter(n),i(r);return t(r)};function i(r){
return qy(r)&&a++<o?(e.consume(r),i):(e.exit(n),t(r))}}const dx={
tokenize:function(e,t,n){return function(t){
return qy(t)?ux(e,r,"linePrefix")(t):r(t)};function r(e){
return null===e||Fy(e)?t(e):n(e)}},partial:!0};const px={name:"blockQuote",
tokenize:function(e,t,n){const r=this;return function(t){if(62===t){
const n=r.containerState;return n.open||(e.enter("blockQuote",{_container:!0
}),n.open=!0),
e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),
e.exit("blockQuoteMarker"),o}return n(t)};function o(n){
return qy(n)?(e.enter("blockQuotePrefixWhitespace"),
e.consume(n),e.exit("blockQuotePrefixWhitespace"),
e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(n))}},continuation:{
tokenize:function(e,t,n){const r=this;return function(t){
if(qy(t))return ux(e,o,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t)
;return o(t)};function o(r){return e.attempt(px,t,n)(r)}}},exit:function(e){
e.exit("blockQuote")}};const hx={name:"characterEscape",
tokenize:function(e,t,n){return function(t){
return e.enter("characterEscape"),e.enter("escapeMarker"),
e.consume(t),e.exit("escapeMarker"),r};function r(r){
return Qy(r)?(e.enter("characterEscapeValue"),
e.consume(r),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):n(r)}}}
;const fx={name:"characterReference",tokenize:function(e,t,n){const r=this
;let o,a,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"),o=31,a=Iy,c(t))}function l(t){
return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),
e.consume(t),
e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),
o=6,a=Uy,c):(e.enter("characterReferenceValue"),o=7,a=By,c(t))}function c(s){
if(59===s&&i){const o=e.exit("characterReferenceValue")
;return a!==Iy||iw(r.sliceSerialize(o))?(e.enter("characterReferenceMarker"),
e.consume(s),
e.exit("characterReferenceMarker"),e.exit("characterReference"),t):n(s)}
return a(s)&&i++<o?(e.consume(s),c):n(s)}}};const mx={tokenize:function(e,t,n){
const r=this;return function(t){if(null===t)return n(t)
;return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o}
;function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},gx={
name:"codeFenced",tokenize:function(e,t,n){const r=this,o={
tokenize:function(e,t,n){let o=0;return i;function i(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){
return e.enter("codeFencedFence"),
qy(t)?ux(e,c,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)
}function c(t){return t===a?(e.enter("codeFencedFenceSequence"),u(t)):n(t)}
function u(t){
return t===a?(o++,e.consume(t),u):o>=s?(e.exit("codeFencedFenceSequence"),
qy(t)?ux(e,d,"whitespace")(t):d(t)):n(t)}function d(r){
return null===r||Fy(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0}
;let a,i=0,s=0;return function(t){return function(t){
const n=r.events[r.events.length-1]
;return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,a=t,
e.enter("codeFenced"),
e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)}
;function l(t){
return t===a?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),
qy(t)?ux(e,c,"whitespace")(t):c(t))}function c(n){
return null===n||Fy(n)?(e.exit("codeFencedFence"),
r.interrupt?t(n):e.check(mx,h,b)(n)):(e.enter("codeFencedFenceInfo"),
e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){
return null===t||Fy(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceInfo"),c(t)):qy(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceInfo"),
ux(e,d,"whitespace")(t)):96===t&&t===a?n(t):(e.consume(t),u)}function d(t){
return null===t||Fy(t)?c(t):(e.enter("codeFencedFenceMeta"),
e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){
return null===t||Fy(t)?(e.exit("chunkString"),
e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===a?n(t):(e.consume(t),p)}
function h(t){return e.attempt(o,b,f)(t)}function f(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){
return i>0&&qy(t)?ux(e,g,"linePrefix",i+1)(t):g(t)}function g(t){
return null===t||Fy(t)?e.check(mx,h,b)(t):(e.enter("codeFlowValue"),v(t))}
function v(t){
return null===t||Fy(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}
function b(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const vx={
name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("codeIndented"),ux(e,o,"linePrefix",5)(t)};function o(e){
const t=r.events[r.events.length-1]
;return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?a(e):n(e)
}function a(t){
return null===t?s(t):Fy(t)?e.attempt(bx,a,s)(t):(e.enter("codeFlowValue"),i(t))}
function i(t){
return null===t||Fy(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),i)}
function s(n){return e.exit("codeIndented"),t(n)}}},bx={
tokenize:function(e,t,n){const r=this;return o;function o(t){
return r.parser.lazy[r.now().line]?n(t):Fy(t)?(e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),o):ux(e,a,"linePrefix",5)(t)}function a(e){
const a=r.events[r.events.length-1]
;return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):Fy(e)?o(e):n(e)
}},partial:!0};const yx={name:"codeText",tokenize:function(e,t,n){let r,o,a=0
;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)}
;function i(t){
return 96===t?(e.consume(t),a++,i):(e.exit("codeTextSequence"),s(t))}
function s(t){
return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),
s):96===t?(o=e.enter("codeTextSequence"),r=0,c(t)):Fy(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||Fy(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),
l)}function c(n){
return 96===n?(e.consume(n),r++,c):r===a?(e.exit("codeTextSequence"),
e.exit("codeText"),t(n)):(o.type="codeTextData",l(n))}},resolve:function(e){
let t,n,r=e.length-4,o=3
;if(!("lineEnding"!==e[o][1].type&&"space"!==e[o][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=o;++t<r;)if("codeTextData"===e[t][1].type){
e[o][1].type="codeTextPadding",e[r][1].type="codeTextPadding",o+=2,r-=2;break}
t=o-1,r++
;for(;++t<=r;)void 0===n?t!==r&&"lineEnding"!==e[t][1].type&&(n=t):t!==r&&"lineEnding"!==e[t][1].type||(e[n][1].type="codeTextData",
t!==n+2&&(e[n][1].end=e[t-1][1].end,
e.splice(n+2,t-n-2),r-=t-n-2,t=n+2),n=void 0);return e},previous:function(e){
return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type}}
;class Ox{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 n=null==t?Number.POSITIVE_INFINITY:t
;return n<this.left.length?this.left.slice(e,n):e>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())
}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e))
;const o=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY)
;return n&&wx(this.left,n),o.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),wx(this.left,e)}unshift(e){
this.setCursor(0),this.right.push(e)}unshiftMany(e){
this.setCursor(0),wx(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);wx(this.right,t.reverse())
}else{
const t=this.right.splice(this.left.length+this.right.length-e,Number.POSITIVE_INFINITY)
;wx(this.left,t.reverse())}}}function wx(e,t){let n=0
;if(t.length<1e4)e.push(...t);else for(;n<t.length;)e.push(...t.slice(n,n+1e4)),
n+=1e4}function xx(e){const t={};let n,r,o,a,i,s,l,c=-1;const u=new Ox(e)
;for(;++c<u.length;){for(;c in t;)c=t[c]
;if(n=u.get(c),c&&"chunkFlow"===n[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&(s=n[1]._tokenizer.events,
o=0,
o<s.length&&"lineEndingBlank"===s[o][1].type&&(o+=2),o<s.length&&"content"===s[o][1].type))for(;++o<s.length&&"content"!==s[o][1].type;)"chunkText"===s[o][1].type&&(s[o][1]._isInFirstContentOfListItem=!0,
o++)
;if("enter"===n[0])n[1].contentType&&(Object.assign(t,kx(u,c)),c=t[c],l=!0);else if(n[1]._container){
for(o=c,
r=void 0;o--&&(a=u.get(o),"lineEnding"===a[1].type||"lineEndingBlank"===a[1].type);)"enter"===a[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),
a[1].type="lineEnding",r=o)
;r&&(n[1].end=Object.assign({},u.get(r)[1].start),i=u.slice(r,c),
i.unshift(n),u.splice(r,c-r+1,i))}}
return Lw(e,0,Number.POSITIVE_INFINITY,u.slice(0)),!l}function kx(e,t){
const n=e.get(t)[1],r=e.get(t)[2];let o=t-1
;const a=[],i=n._tokenizer||r.parser[n.contentType](n.start),s=i.events,l=[],c={}
;let u,d,p=-1,h=n,f=0,m=0;const g=[m];for(;h;){for(;e.get(++o)[1]!==h;);
a.push(o),
h._tokenizer||(u=r.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=n;++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]),n=a.pop();l.push([n,n+t.length-1]),e.splice(n,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 Sx={tokenize:function(e,t){let n;return function(t){
return e.enter("content"),n=e.enter("chunkContent",{contentType:"content"}),r(t)
};function r(t){return null===t?o(t):Fy(t)?e.check(_x,a,o)(t):(e.consume(t),r)}
function o(n){return e.exit("chunkContent"),e.exit("content"),t(n)}
function a(t){
return e.consume(t),e.exit("chunkContent"),n.next=e.enter("chunkContent",{
contentType:"content",previous:n}),n=n.next,r}},resolve:function(e){
return xx(e),e}},_x={tokenize:function(e,t,n){const r=this;return function(t){
return e.exit("chunkContent"),
e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ux(e,o,"linePrefix")}
;function o(o){if(null===o||Fy(o))return n(o)
;const a=r.events[r.events.length-1]
;return!r.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o)
}},partial:!0};function Ex(e,t,n,r,o,a,i,s,l){
const c=l||Number.POSITIVE_INFINITY;let u=0;return function(t){
if(60===t)return e.enter(r),e.enter(o),e.enter(a),e.consume(t),e.exit(a),d
;if(null===t||32===t||41===t||jy(t))return n(t)
;return e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{
contentType:"string"}),f(t)};function d(n){
return 62===n?(e.enter(a),e.consume(n),
e.exit(a),e.exit(o),e.exit(r),t):(e.enter(s),e.enter("chunkString",{
contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),
e.exit(s),d(t)):null===t||60===t||Fy(t)?n(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(o){
return u||null!==o&&41!==o&&!zy(o)?u<c&&40===o?(e.consume(o),
u++,f):41===o?(e.consume(o),
u--,f):null===o||32===o||40===o||jy(o)?n(o):(e.consume(o),
92===o?m:f):(e.exit("chunkString"),e.exit(s),e.exit(i),e.exit(r),t(o))}
function m(t){return 40===t||41===t||92===t?(e.consume(t),f):f(t)}}
function Tx(e,t,n,r,o,a){const i=this;let s,l=0;return function(t){
return e.enter(r),e.enter(o),e.consume(t),e.exit(o),e.enter(a),c};function c(d){
return l>999||null===d||91===d||93===d&&!s||94===d&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?n(d):93===d?(e.exit(a),
e.enter(o),
e.consume(d),e.exit(o),e.exit(r),t):Fy(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||Fy(t)||l++>999?(e.exit("chunkString"),
c(t)):(e.consume(t),s||(s=!qy(t)),92===t?d:u)}function d(t){
return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}}
function Cx(e,t,n,r,o,a){let i;return function(t){
if(34===t||39===t||40===t)return e.enter(r),
e.enter(o),e.consume(t),e.exit(o),i=40===t?41:t,s;return n(t)};function s(n){
return n===i?(e.enter(o),e.consume(n),e.exit(o),e.exit(r),t):(e.enter(a),l(n))}
function l(t){
return t===i?(e.exit(a),s(i)):null===t?n(t):Fy(t)?(e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),ux(e,l,"linePrefix")):(e.enter("chunkString",{
contentType:"string"}),c(t))}function c(t){
return t===i||null===t||Fy(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 Ax(e,t){let n
;return function r(o){
if(Fy(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r
;if(qy(o))return ux(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}const Px={
name:"definition",tokenize:function(e,t,n){const r=this;let o
;return function(t){return e.enter("definition"),function(t){
return Tx.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)
}(t)};function a(t){
return o=cO(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),
58===t?(e.enter("definitionMarker"),
e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){
return zy(t)?Ax(e,s)(t):s(t)}function s(t){
return Ex(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)
}function l(t){return e.attempt(Dx,c,c)(t)}function c(t){
return qy(t)?ux(e,u,"whitespace")(t):u(t)}function u(a){
return null===a||Fy(a)?(e.exit("definition"),r.parser.defined.push(o),t(a)):n(a)
}}},Dx={tokenize:function(e,t,n){return function(t){return zy(t)?Ax(e,r)(t):n(t)
};function r(t){
return Cx(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)
}function o(t){return qy(t)?ux(e,a,"whitespace")(t):a(t)}function a(e){
return null===e||Fy(e)?t(e):n(e)}},partial:!0};const Rx={name:"hardBreakEscape",
tokenize:function(e,t,n){return function(t){
return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){
return Fy(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const $x={
name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){
return e.enter("atxHeading"),function(t){
return e.enter("atxHeadingSequence"),o(t)}(t)};function o(t){
return 35===t&&r++<6?(e.consume(t),
o):null===t||zy(t)?(e.exit("atxHeadingSequence"),a(t)):n(t)}function a(n){
return 35===n?(e.enter("atxHeadingSequence"),
i(n)):null===n||Fy(n)?(e.exit("atxHeading"),
t(n)):qy(n)?ux(e,a,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}
function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),a(t))
}function s(t){
return null===t||35===t||zy(t)?(e.exit("atxHeadingText"),a(t)):(e.consume(t),s)}
},resolve:function(e,t){let n,r,o=e.length-2,a=3
;"whitespace"===e[a][1].type&&(a+=2);o-2>a&&"whitespace"===e[o][1].type&&(o-=2)
;"atxHeadingSequence"===e[o][1].type&&(a===o-1||o-4>a&&"whitespace"===e[o-2][1].type)&&(o-=a+1===o?2:4)
;o>a&&(n={type:"atxHeadingText",start:e[a][1].start,end:e[o][1].end},r={
type:"chunkText",start:e[a][1].start,end:e[o][1].end,contentType:"text"
},Lw(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]]))
;return e}}
;const Nx=["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"],Mx=["pre","script","style","textarea"],Ix={
name:"htmlFlow",tokenize:function(e,t,n){const r=this;let o,a,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),a=!0,h):63===s?(e.consume(s),
o=3,r.interrupt?t:N):My(s)?(e.consume(s),i=String.fromCharCode(s),f):n(s)}
function u(a){
return 45===a?(e.consume(a),o=2,d):91===a?(e.consume(a),o=5,s=0,p):My(a)?(e.consume(a),
o=4,r.interrupt?t:N):n(a)}function d(o){
return 45===o?(e.consume(o),r.interrupt?t:N):n(o)}function p(o){const a="CDATA["
;return o===a.charCodeAt(s++)?(e.consume(o),6===s?r.interrupt?t:E:p):n(o)}
function h(t){return My(t)?(e.consume(t),i=String.fromCharCode(t),f):n(t)}
function f(s){if(null===s||47===s||62===s||zy(s)){
const l=47===s,c=i.toLowerCase()
;return l||a||!Mx.includes(c)?Nx.includes(i.toLowerCase())?(o=6,l?(e.consume(s),
m):r.interrupt?t(s):E(s)):(o=7,
r.interrupt&&!r.parser.lazy[r.now().line]?n(s):a?g(s):v(s)):(o=1,
r.interrupt?t(s):E(s))}
return 45===s||Iy(s)?(e.consume(s),i+=String.fromCharCode(s),f):n(s)}
function m(o){return 62===o?(e.consume(o),r.interrupt?t:E):n(o)}function g(t){
return qy(t)?(e.consume(t),g):S(t)}function v(t){
return 47===t?(e.consume(t),S):58===t||95===t||My(t)?(e.consume(t),
b):qy(t)?(e.consume(t),v):S(t)}function b(t){
return 45===t||46===t||58===t||95===t||Iy(t)?(e.consume(t),b):y(t)}
function y(t){return 61===t?(e.consume(t),O):qy(t)?(e.consume(t),y):v(t)}
function O(t){
return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),
l=t,w):qy(t)?(e.consume(t),O):x(t)}function w(t){
return t===l?(e.consume(t),l=null,k):null===t||Fy(t)?n(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||zy(t)?y(t):(e.consume(t),
x)}function k(e){return 47===e||62===e||qy(e)?v(e):n(e)}function S(t){
return 62===t?(e.consume(t),_):n(t)}function _(t){
return null===t||Fy(t)?E(t):qy(t)?(e.consume(t),_):n(t)}function E(t){
return 45===t&&2===o?(e.consume(t),
P):60===t&&1===o?(e.consume(t),D):62===t&&4===o?(e.consume(t),
M):63===t&&3===o?(e.consume(t),
N):93===t&&5===o?(e.consume(t),$):!Fy(t)||6!==o&&7!==o?null===t||Fy(t)?(e.exit("htmlFlowData"),
T(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(Lx,I,T)(t))}
function T(t){return e.check(jx,C,I)(t)}function C(t){
return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){
return null===t||Fy(t)?T(t):(e.enter("htmlFlowData"),E(t))}function P(t){
return 45===t?(e.consume(t),N):E(t)}function D(t){
return 47===t?(e.consume(t),i="",R):E(t)}function R(t){if(62===t){
const n=i.toLowerCase();return Mx.includes(n)?(e.consume(t),M):E(t)}
return My(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),R):E(t)}
function $(t){return 93===t?(e.consume(t),N):E(t)}function N(t){
return 62===t?(e.consume(t),M):45===t&&2===o?(e.consume(t),N):E(t)}
function M(t){
return null===t||Fy(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),M)}
function I(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){
let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););
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));return e},concrete:!0},Lx={
tokenize:function(e,t,n){return function(r){
return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(dx,t,n)
}},partial:!0},jx={tokenize:function(e,t,n){const r=this;return function(t){
if(Fy(t))return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o
;return n(t)};function o(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},
partial:!0};const Bx={name:"htmlText",tokenize:function(e,t,n){const r=this
;let o,a,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),
b):My(t)?(e.consume(t),k):n(t)}function l(t){
return 45===t?(e.consume(t),c):91===t?(e.consume(t),
a=0,h):My(t)?(e.consume(t),v):n(t)}function c(t){
return 45===t?(e.consume(t),p):n(t)}function u(t){
return null===t?n(t):45===t?(e.consume(t),d):Fy(t)?(i=u,R(t)):(e.consume(t),u)}
function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){
return 62===e?D(e):45===e?d(e):u(e)}function h(t){const r="CDATA["
;return t===r.charCodeAt(a++)?(e.consume(t),6===a?f:h):n(t)}function f(t){
return null===t?n(t):93===t?(e.consume(t),m):Fy(t)?(i=f,R(t)):(e.consume(t),f)}
function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){
return 62===t?D(t):93===t?(e.consume(t),g):f(t)}function v(t){
return null===t||62===t?D(t):Fy(t)?(i=v,R(t)):(e.consume(t),v)}function b(t){
return null===t?n(t):63===t?(e.consume(t),y):Fy(t)?(i=b,R(t)):(e.consume(t),b)}
function y(e){return 62===e?D(e):b(e)}function O(t){
return My(t)?(e.consume(t),w):n(t)}function w(t){
return 45===t||Iy(t)?(e.consume(t),w):x(t)}function x(t){
return Fy(t)?(i=x,R(t)):qy(t)?(e.consume(t),x):D(t)}function k(t){
return 45===t||Iy(t)?(e.consume(t),k):47===t||62===t||zy(t)?S(t):n(t)}
function S(t){
return 47===t?(e.consume(t),D):58===t||95===t||My(t)?(e.consume(t),
_):Fy(t)?(i=S,R(t)):qy(t)?(e.consume(t),S):D(t)}function _(t){
return 45===t||46===t||58===t||95===t||Iy(t)?(e.consume(t),_):E(t)}
function E(t){
return 61===t?(e.consume(t),T):Fy(t)?(i=E,R(t)):qy(t)?(e.consume(t),E):S(t)}
function T(t){
return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),
o=t,C):Fy(t)?(i=T,R(t)):qy(t)?(e.consume(t),T):(e.consume(t),A)}function C(t){
return t===o?(e.consume(t),
o=void 0,P):null===t?n(t):Fy(t)?(i=C,R(t)):(e.consume(t),C)}function A(t){
return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||zy(t)?S(t):(e.consume(t),
A)}function P(e){return 47===e||62===e||zy(e)?S(e):n(e)}function D(r){
return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}
function R(t){
return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),
$}function $(t){
return qy(t)?ux(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)
}function N(t){return e.enter("htmlTextData"),i(t)}}};const Ux={name:"labelEnd",
tokenize:function(e,t,n){const r=this;let o,a,i=r.events.length
;for(;i--;)if(("labelImage"===r.events[i][1].type||"labelLink"===r.events[i][1].type)&&!r.events[i][1]._balanced){
o=r.events[i][1];break}return function(t){if(!o)return n(t)
;if(o._inactive)return u(t)
;return a=r.parser.defined.includes(cO(r.sliceSerialize({start:o.end,end:r.now()
}))),
e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),
e.exit("labelEnd"),s};function s(t){
return 40===t?e.attempt(Qx,c,a?c:u)(t):91===t?e.attempt(Fx,c,a?l:u)(t):a?c(t):u(t)
}function l(t){return e.attempt(zx,c,u)(t)}function c(e){return t(e)}
function u(e){return o._balanced=!0,n(e)}},resolveTo:function(e,t){
let n,r,o,a,i=e.length,s=0;for(;i--;)if(n=e[i][1],r){
if("link"===n.type||"labelLink"===n.type&&n._inactive)break
;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(o){
if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,
"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(o=i);const l={
type:"labelLink"===e[r][1].type?"link":"image",
start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)
},c={type:"label",start:Object.assign({},e[r][1].start),
end:Object.assign({},e[o][1].end)},u={type:"labelText",
start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[o-2][1].start)}
;return a=[["enter",l,t],["enter",c,t]],
a=jw(a,e.slice(r+1,r+s+3)),a=jw(a,[["enter",u,t]]),
a=jw(a,ix(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)),
a=jw(a,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]),
a=jw(a,e.slice(o+1)),a=jw(a,[["exit",l,t]]),Lw(e,r,e.length,a),e},
resolveAll:function(e){let t=-1;for(;++t<e.length;){const n=e[t][1]
;"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(e.splice(t+1,"labelImage"===n.type?4:2),
n.type="data",t++)}return e}},Qx={tokenize:function(e,t,n){return function(t){
return e.enter("resource"),
e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),r}
;function r(t){return zy(t)?Ax(e,o)(t):o(t)}function o(t){
return 41===t?c(t):Ex(e,a,i,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)
}function a(t){return zy(t)?Ax(e,s)(t):c(t)}function i(e){return n(e)}
function s(t){
return 34===t||39===t||40===t?Cx(e,l,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)
}function l(t){return zy(t)?Ax(e,c)(t):c(t)}function c(r){
return 41===r?(e.enter("resourceMarker"),
e.consume(r),e.exit("resourceMarker"),e.exit("resource"),t):n(r)}}},Fx={
tokenize:function(e,t,n){const r=this;return function(t){
return Tx.call(r,e,o,a,"reference","referenceMarker","referenceString")(t)}
;function o(e){
return r.parser.defined.includes(cO(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)))?t(e):n(e)
}function a(e){return n(e)}}},zx={tokenize:function(e,t,n){return function(t){
return e.enter("reference"),
e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),r}
;function r(r){
return 93===r?(e.enter("referenceMarker"),e.consume(r),e.exit("referenceMarker"),
e.exit("reference"),t):n(r)}}};const qx={name:"labelStartImage",
tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("labelImage"),
e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),o}
;function o(t){
return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),
e.exit("labelImage"),a):n(t)}function a(e){
return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},
resolveAll:Ux.resolveAll};const Hx={name:"labelStartLink",
tokenize:function(e,t,n){const r=this;return function(t){
return e.enter("labelLink"),
e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),o}
;function o(e){
return 94===e&&"_hiddenFootnoteSupport"in r.parser.constructs?n(e):t(e)}},
resolveAll:Ux.resolveAll};const Vx={name:"lineEnding",tokenize:function(e,t){
return function(n){
return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),
ux(e,t,"linePrefix")}}};const Zx={name:"thematicBreak",tokenize:function(e,t,n){
let r,o=0;return function(t){return e.enter("thematicBreak"),function(e){
return r=e,a(e)}(t)};function a(a){
return a===r?(e.enter("thematicBreakSequence"),
i(a)):o>=3&&(null===a||Fy(a))?(e.exit("thematicBreak"),t(a)):n(a)}function i(t){
return t===r?(e.consume(t),
o++,i):(e.exit("thematicBreakSequence"),qy(t)?ux(e,a,"whitespace")(t):a(t))}}}
;const Wx={name:"list",tokenize:function(e,t,n){
const r=this,o=r.events[r.events.length-1]
;let a=o&&"linePrefix"===o[1].type?o[2].sliceSerialize(o[1],!0).length:0,i=0
;return function(t){
const o=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered")
;if("listUnordered"===o?!r.containerState.marker||t===r.containerState.marker:By(t)){
if(r.containerState.type||(r.containerState.type=o,e.enter(o,{_container:!0
})),"listUnordered"===o)return e.enter("listItemPrefix"),
42===t||45===t?e.check(Zx,n,l)(t):l(t)
;if(!r.interrupt||49===t)return e.enter("listItemPrefix"),
e.enter("listItemValue"),s(t)}return n(t)};function s(t){
return By(t)&&++i<10?(e.consume(t),
s):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),
l(t)):n(t)}function l(t){
return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),
r.containerState.marker=r.containerState.marker||t,
e.check(dx,r.interrupt?n:c,e.attempt(Xx,d,u))}function c(e){
return r.containerState.initialBlankLine=!0,a++,d(e)}function u(t){
return qy(t)?(e.enter("listItemPrefixWhitespace"),
e.consume(t),e.exit("listItemPrefixWhitespace"),d):n(t)}function d(n){
return r.containerState.size=a+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,
t(n)}},continuation:{tokenize:function(e,t,n){const r=this
;return r.containerState._closeFlow=void 0,e.check(dx,(function(n){
return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,
ux(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){
if(r.containerState.furtherBlankLines||!qy(n))return r.containerState.furtherBlankLines=void 0,
r.containerState.initialBlankLine=void 0,o(n)
;return r.containerState.furtherBlankLines=void 0,
r.containerState.initialBlankLine=void 0,e.attempt(Gx,t,o)(n)}));function o(o){
return r.containerState._closeFlow=!0,
r.interrupt=void 0,ux(e,e.attempt(Wx,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)
}}},exit:function(e){e.exit(this.containerState.type)}},Xx={
tokenize:function(e,t,n){const r=this;return ux(e,(function(e){
const o=r.events[r.events.length-1]
;return!qy(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e)
}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)
},partial:!0},Gx={tokenize:function(e,t,n){const r=this
;return ux(e,(function(e){const o=r.events[r.events.length-1]
;return o&&"listItemIndent"===o[1].type&&o[2].sliceSerialize(o[1],!0).length===r.containerState.size?t(e):n(e)
}),"listItemIndent",r.containerState.size+1)},partial:!0};const Yx={
name:"setextUnderline",tokenize:function(e,t,n){const r=this;let o
;return function(t){let i,s=r.events.length
;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){
i="paragraph"===r.events[s][1].type;break}
if(!r.parser.lazy[r.now().line]&&(r.interrupt||i))return e.enter("setextHeadingLine"),
o=t,function(t){return e.enter("setextHeadingLineSequence"),a(t)}(t);return n(t)
};function a(t){
return t===o?(e.consume(t),a):(e.exit("setextHeadingLineSequence"),
qy(t)?ux(e,i,"lineSuffix")(t):i(t))}function i(r){
return null===r||Fy(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},
resolveTo:function(e,t){let n,r,o,a=e.length;for(;a--;)if("enter"===e[a][0]){
if("content"===e[a][1].type){n=a;break}"paragraph"===e[a][1].type&&(r=a)
}else"content"===e[a][1].type&&e.splice(a,1),
o||"definition"!==e[a][1].type||(o=a);const i={type:"setextHeading",
start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)
}
;e[r][1].type="setextHeadingText",o?(e.splice(r,0,["enter",i,t]),e.splice(o+1,0,["exit",e[n][1],t]),
e[n][1].end=Object.assign({},e[o][1].end)):e[n][1]=i
;return e.push(["exit",i,t]),e}};const Kx={tokenize:function(e,t,n){const r=this
;return ux(e,(function(e){const o=r.events[r.events.length-1]
;return o&&"gfmFootnoteDefinitionIndent"===o[1].type&&4===o[2].sliceSerialize(o[1],!0).length?t(e):n(e)
}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function Jx(e,t,n){const r=this
;let o=r.events.length;const a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[])
;let i;for(;o--;){const e=r.events[o][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(o){if(!i||!i._balanced)return n(o)
;const s=cO(r.sliceSerialize({start:i.end,end:r.now()}))
;if(94!==s.codePointAt(0)||!a.includes(s.slice(1)))return n(o)
;return e.enter("gfmFootnoteCallLabelMarker"),
e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o)}}function ek(e,t){
let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){
e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker"
;const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),
end:Object.assign({},e[e.length-1][1].end)},o={type:"gfmFootnoteCallMarker",
start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)}
;o.end.column++,o.end.offset++,o.end._bufferIndex++;const a={
type:"gfmFootnoteCallString",start:Object.assign({},o.end),
end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",
contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)
},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",o,t],["exit",o,t],["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",r,t]]
;return e.splice(n,e.length-n+1,...s),e}function tk(e,t,n){
const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,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?n(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&&!a||null===s||91===s||zy(s))return n(s)
;if(93===s){e.exit("chunkString");const a=e.exit("gfmFootnoteCallString")
;return o.includes(cO(r.sliceSerialize(a)))?(e.enter("gfmFootnoteCallLabelMarker"),
e.consume(s),
e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}
return zy(s)||(a=!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 nk(e,t,n){
const r=this,o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let a,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):n(t)}function c(t){
if(s>999||93===t&&!i||null===t||91===t||zy(t))return n(t);if(93===t){
e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString")
;return a=cO(r.sliceSerialize(n)),
e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),
e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),
d}return zy(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"),
o.includes(a)||o.push(a),ux(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}
function p(e){return t(e)}}function rk(e,t,n){
return e.check(dx,t,e.attempt(Kx,t,n))}function ok(e){
e.exit("gfmFootnoteDefinition")}function ak(e){let t=(e||{}).singleTilde
;const n={tokenize:function(e,n,r){const o=this.previous,a=this.events;let i=0
;return function(t){
if(126===o&&"characterEscape"!==a[a.length-1][1].type)return r(t)
;return e.enter("strikethroughSequenceTemporary"),s(t)};function s(a){
const l=ax(o);if(126===a)return i>1?r(a):(e.consume(a),i++,s)
;if(i<2&&!t)return r(a);const c=e.exit("strikethroughSequenceTemporary"),u=ax(a)
;return c._open=!u||2===u&&Boolean(l),c._close=!l||2===l&&Boolean(u),n(a)}},
resolveAll:function(e,t){let n=-1
;for(;++n<e.length;)if("enter"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._close){
let r=n
;for(;r--;)if("exit"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._open&&e[n][1].end.offset-e[n][1].start.offset==e[r][1].end.offset-e[r][1].start.offset){
e[n][1].type="strikethroughSequence",e[r][1].type="strikethroughSequence"
;const o={type:"strikethrough",start:Object.assign({},e[r][1].start),
end:Object.assign({},e[n][1].end)},a={type:"strikethroughText",
start:Object.assign({},e[r][1].end),end:Object.assign({},e[n][1].start)
},i=[["enter",o,t],["enter",e[r][1],t],["exit",e[r][1],t],["enter",a,t]],s=t.parser.constructs.insideSpan.null
;s&&Lw(i,i.length,0,ix(s,e.slice(r+1,n),t)),
Lw(i,i.length,0,[["exit",a,t],["enter",e[n][1],t],["exit",e[n][1],t],["exit",o,t]]),
Lw(e,r-1,n-r+3,i),n=r+i.length-2;break}}n=-1
;for(;++n<e.length;)"strikethroughSequenceTemporary"===e[n][1].type&&(e[n][1].type="data")
;return e}};return null==t&&(t=!0),{text:{126:n},insideSpan:{null:[n]},
attentionMarkers:{null:[126]}}}class ik{constructor(){this.map=[]}add(e,t,n){
!function(e,t,n,r){let o=0;if(0===n&&0===r.length)return;for(;o<e.map.length;){
if(e.map[o][0]===t)return e.map[o][1]+=n,void e.map[o][2].push(...r);o+=1}
e.map.push([t,n,r])}(this,e,t,n)}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 n=[]
;for(;t>0;)t-=1,
n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0]
;n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop()
;this.map.length=0}}function sk(e,t){let n=!1;const r=[];for(;t<e.length;){
const o=e[t];if(n){
if("enter"===o[0])"tableContent"===o[1].type&&r.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===o[1].type){
if("tableDelimiterMarker"===e[t-1][1].type){const e=r.length-1
;r[e]="left"===r[e]?"center":"right"}
}else if("tableDelimiterRow"===o[1].type)break
}else"enter"===o[0]&&"tableDelimiterRow"===o[1].type&&(n=!0);t+=1}return r}
function lk(e,t,n){const r=this;let o,a=0,i=0;return function(e){
let t=r.events.length-1;for(;t>-1;){const e=r.events[t][1].type
;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}
const o=t>-1?r.events[t][1].type:null,a="tableHead"===o||"tableRow"===o?O:s
;if(a===O&&r.parser.lazy[r.now().line])return n(e);return a(e)};function s(t){
return e.enter("tableHead"),e.enter("tableRow"),function(e){
if(124===e)return l(e);return o=!0,i+=1,l(e)}(t)}function l(t){
return null===t?n(t):Fy(t)?i>1?(i=0,
r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),
e.consume(t),e.exit("lineEnding"),
d):n(t):qy(t)?ux(e,l,"whitespace")(t):(i+=1,o&&(o=!1,
a+=1),124===t?(e.enter("tableCellDivider"),
e.consume(t),e.exit("tableCellDivider"),o=!0,l):(e.enter("data"),c(t)))}
function c(t){
return null===t||124===t||zy(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 r.interrupt=!1,
r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),
o=!1,qy(t)?ux(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))
}function p(t){
return 45===t||58===t?f(t):124===t?(o=!0,e.enter("tableCellDivider"),
e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){
return qy(t)?ux(e,f,"whitespace")(t):f(t)}function f(t){
return 58===t?(i+=1,o=!0,
e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),
m):45===t?(i+=1,m(t)):null===t||Fy(t)?b(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?(o=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),
e.consume(t),
e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}
function v(t){return qy(t)?ux(e,b,"whitespace")(t):b(t)}function b(n){
return 124===n?p(n):(null===n||Fy(n))&&o&&a===i?(e.exit("tableDelimiterRow"),
e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function O(t){
return e.enter("tableRow"),w(t)}function w(n){
return 124===n?(e.enter("tableCellDivider"),
e.consume(n),e.exit("tableCellDivider"),
w):null===n||Fy(n)?(e.exit("tableRow"),t(n)):qy(n)?ux(e,w,"whitespace")(n):(e.enter("data"),
x(n))}function x(t){
return null===t||124===t||zy(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 ck(e,t){
let n,r,o,a=-1,i=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],u=!1,d=0;const p=new ik
;for(;++a<e.length;){const h=e[a],f=h[1]
;"enter"===h[0]?"tableHead"===f.type?(u=!1,
0!==d&&(dk(p,t,d,n,r),r=void 0,d=0),n={type:"table",
start:Object.assign({},f.start),end:Object.assign({},f.end)
},p.add(a,0,[["enter",n,t]])):"tableRow"===f.type||"tableDelimiterRow"===f.type?(i=!0,
o=void 0,l=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,r={type:"tableBody",
start:Object.assign({},f.start),end:Object.assign({},f.end)
},p.add(a,0,[["enter",r,t]])),
s="tableDelimiterRow"===f.type?2:r?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],
o=uk(p,t,l,s,void 0,o)),
l=c,c=[l[1],a,0,0])):(i=!1,0===c[2]&&(0!==l[1]&&(c[0]=c[1],
o=uk(p,t,l,s,void 0,o),
l=[0,0,0,0]),c[2]=a)):"tableHead"===f.type?(u=!0,d=a):"tableRow"===f.type||"tableDelimiterRow"===f.type?(d=a,
0!==l[1]?(c[0]=c[1],
o=uk(p,t,l,s,a,o)):0!==c[1]&&(o=uk(p,t,c,s,a,o)),s=0):!s||"data"!==f.type&&"tableDelimiterMarker"!==f.type&&"tableDelimiterFiller"!==f.type||(c[3]=a)
}for(0!==d&&dk(p,t,d,n,r),p.consume(t.events),a=-1;++a<t.events.length;){
const e=t.events[a]
;"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=sk(t.events,a))}return e}
function uk(e,t,n,r,o,a){
const i=1===r?"tableHeader":2===r?"tableDelimiter":"tableData"
;0!==n[0]&&(a.end=Object.assign({},pk(t.events,n[0])),
e.add(n[0],0,[["exit",a,t]]));const s=pk(t.events,n[1]);if(a={type:i,
start:Object.assign({},s),end:Object.assign({},s)
},e.add(n[1],0,[["enter",a,t]]),0!==n[2]){
const o=pk(t.events,n[2]),a=pk(t.events,n[3]),i={type:"tableContent",
start:Object.assign({},o),end:Object.assign({},a)}
;if(e.add(n[2],0,[["enter",i,t]]),2!==r){const r=t.events[n[2]],o=t.events[n[3]]
;if(r[1].end=Object.assign({},o[1].end),
r[1].type="chunkText",r[1].contentType="text",n[3]>n[2]+1){
const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}
return void 0!==o&&(a.end=Object.assign({},pk(t.events,o)),
e.add(o,0,[["exit",a,t]]),a=void 0),a}function dk(e,t,n,r,o){
const a=[],i=pk(t.events,n);o&&(o.end=Object.assign({},i),a.push(["exit",o,t])),
r.end=Object.assign({},i),a.push(["exit",r,t]),e.add(n+1,0,a)}function pk(e,t){
const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const hk={
tokenize:function(e,t,n){const r=this;return function(t){
if(null!==r.previous||!r._gfmTasklistFirstContentOfListItem)return n(t)
;return e.enter("taskListCheck"),
e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),o}
;function o(t){
return zy(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),
e.exit("taskListCheckValueUnchecked"),
a):88===t||120===t?(e.enter("taskListCheckValueChecked"),
e.consume(t),e.exit("taskListCheckValueChecked"),a):n(t)}function a(t){
return 93===t?(e.enter("taskListCheckMarker"),
e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}
function i(r){return Fy(r)?t(r):qy(r)?e.check({tokenize:fk},t,n)(r):n(r)}}}
;function fk(e,t,n){return ux(e,(function(e){return null===e?n(e):t(e)
}),"whitespace")}const mk={};function gk(e){
const t=e||mk,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[])
;r.push(function(e){return Uw([{text:Yw},{document:{91:{tokenize:nk,
continuation:{tokenize:rk},exit:ok}},text:{91:{tokenize:tk},93:{add:"after",
tokenize:Jx,resolveTo:ek}}},ak(e),{flow:{null:{tokenize:lk,resolveAll:ck}}},{
text:{91:hk}}])}(t)),o.push([{transforms:[aO],enter:{literalAutolink:Jy,
literalAutolinkEmail:eO,literalAutolinkHttp:eO,literalAutolinkWww:eO},exit:{
literalAutolink:oO,literalAutolinkEmail:rO,literalAutolinkHttp:tO,
literalAutolinkWww:nO}},{enter:{gfmFootnoteDefinition:uO,
gfmFootnoteDefinitionLabelString:dO,gfmFootnoteCall:fO,gfmFootnoteCallString:mO
},exit:{gfmFootnoteDefinition:hO,gfmFootnoteDefinitionLabelString:pO,
gfmFootnoteCall:vO,gfmFootnoteCallString:gO}},{canContainEols:["delete"],enter:{
strikethrough:xO},exit:{strikethrough:kO}},{enter:{table:Ew,tableData:Pw,
tableHeader:Pw,tableRow:Cw},exit:{codeText:Dw,table:Tw,tableData:Aw,
tableHeader:Aw,tableRow:Aw}},{exit:{taskListCheckValueChecked:Nw,
taskListCheckValueUnchecked:Nw,paragraph:Mw}}]),a.push(function(e){return{
extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",
inConstruct:Yy,notInConstruct:Ky},{character:".",before:"[Ww]",
after:"[\\-.\\w]",inConstruct:Yy,notInConstruct:Ky},{character:":",
before:"[ps]",after:"\\/",inConstruct:Yy,notInConstruct:Ky}]},{unsafe:[{
character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{
footnoteDefinition:yO,footnoteReference:bO}},{unsafe:[{character:"~",
inConstruct:"phrasing",notInConstruct:wO}],handlers:{delete:SO}},$w(e),{
unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Iw}}]}}(t))
}const vk={tokenize:function(e){
const t=e.attempt(this.parser.constructs.contentInitial,(function(n){
if(null===n)return void e.consume(n)
;return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),
ux(e,t,"linePrefix")}),(function(t){return e.enter("paragraph"),r(t)}));let n
;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",
previous:n});return n&&(n.next=r),n=r,o(t)}function o(t){
return null===t?(e.exit("chunkText"),
e.exit("paragraph"),void e.consume(t)):Fy(t)?(e.consume(t),
e.exit("chunkText"),r):(e.consume(t),o)}}};const bk={tokenize:function(e){
const t=this,n=[];let r,o,a,i=0;return s;function s(r){if(i<n.length){
const o=n[i];return t.containerState=o[1],e.attempt(o[0].continuation,l,c)(r)}
return c(r)}function l(e){if(i++,t.containerState._closeFlow){
t.containerState._closeFlow=void 0,r&&b();const n=t.events.length;let o,a=n
;for(;a--;)if("exit"===t.events[a][0]&&"chunkFlow"===t.events[a][1].type){
o=t.events[a][1].end;break}v(i);let s=n
;for(;s<t.events.length;)t.events[s][1].end=Object.assign({},o),s++
;return Lw(t.events,a+1,0,t.events.slice(n)),t.events.length=s,c(e)}return s(e)}
function c(o){if(i===n.length){if(!r)return p(o)
;if(r.currentConstruct&&r.currentConstruct.concrete)return f(o)
;t.interrupt=Boolean(r.currentConstruct&&!r._gfmTableDynamicInterruptHack)}
return t.containerState={},e.check(yk,u,d)(o)}function u(e){
return r&&b(),v(i),p(e)}function d(e){
return t.parser.lazy[t.now().line]=i!==n.length,a=t.now().offset,f(e)}
function p(n){return t.containerState={},e.attempt(yk,h,f)(n)}function h(e){
return i++,n.push([t.currentConstruct,t.containerState]),p(e)}function f(n){
return null===n?(r&&b(),
v(0),void e.consume(n)):(r=r||t.parser.flow(t.now()),e.enter("chunkFlow",{
contentType:"flow",previous:o,_tokenizer:r}),m(n))}function m(n){
return null===n?(g(e.exit("chunkFlow"),!0),
v(0),void e.consume(n)):Fy(n)?(e.consume(n),
g(e.exit("chunkFlow")),i=0,t.interrupt=void 0,s):(e.consume(n),m)}
function g(e,n){const s=t.sliceStream(e)
;if(n&&s.push(null),e.previous=o,o&&(o.next=e),
o=e,r.defineSkip(e.start),r.write(s),t.parser.lazy[e.start.line]){
let e=r.events.length
;for(;e--;)if(r.events[e][1].start.offset<a&&(!r.events[e][1].end||r.events[e][1].end.offset>a))return
;const n=t.events.length;let o,s,l=n
;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(o){
s=t.events[l][1].end;break}o=!0}
for(v(i),e=n;e<t.events.length;)t.events[e][1].end=Object.assign({},s),e++
;Lw(t.events,l+1,0,t.events.slice(n)),t.events.length=e}}function v(r){
let o=n.length;for(;o-- >r;){const r=n[o]
;t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){
r.write([null]),o=void 0,r=void 0,t.containerState._closeFlow=void 0}}},yk={
tokenize:function(e,t,n){
return ux(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)
}};const Ok={tokenize:function(e){const t=this,n=e.attempt(dx,(function(r){
if(null===r)return void e.consume(r)
;return e.enter("lineEndingBlank"),e.consume(r),
e.exit("lineEndingBlank"),t.currentConstruct=void 0,n
}),e.attempt(this.parser.constructs.flowInitial,r,ux(e,e.attempt(this.parser.constructs.flow,r,e.attempt(Sx,r)),"linePrefix")))
;return n;function r(r){
if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),
t.currentConstruct=void 0,n;e.consume(r)}}};const wk={resolveAll:_k()
},xk=Sk("string"),kk=Sk("text");function Sk(e){return{tokenize:function(t){
const n=this,r=this.parser.constructs[e],o=t.attempt(r,a,i);return a
;function a(e){return l(e)?o(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"),o(e)):(t.consume(e),s)}function l(e){
if(null===e)return!0;const t=r[e];let o=-1;if(t)for(;++o<t.length;){const e=t[o]
;if(!e.previous||e.previous.call(n,n.previous))return!0}return!1}},
resolveAll:_k("text"===e?Ek:void 0)}}function _k(e){return function(t,n){
let r,o=-1
;for(;++o<=t.length;)void 0===r?t[o]&&"data"===t[o][1].type&&(r=o,o++):t[o]&&"data"===t[o][1].type||(o!==r+2&&(t[r][1].end=t[o-1][1].end,
t.splice(r+2,o-r-2),o=r+2),r=void 0);return e?e(t,n):t}}function Ek(e,t){let n=0
;for(;++n<=e.length;)if((n===e.length||"lineEnding"===e[n][1].type)&&"data"===e[n-1][1].type){
const r=e[n-1][1],o=t.sliceStream(r);let a,i=o.length,s=-1,l=0;for(;i--;){
const e=o[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)a=!0,l++;else if(-1!==e){i++;break}}if(l){const o={
type:n===e.length||a||l<2?"lineSuffix":"hardBreakTrailing",start:{
line:r.end.line,column:r.end.column-l,offset:r.end.offset-l,
_index:r.start._index+i,_bufferIndex:i?s:r.start._bufferIndex+s},
end:Object.assign({},r.end)}
;r.end=Object.assign({},o.start),r.start.offset===r.end.offset?Object.assign(r,o):(e.splice(n,0,["enter",o,t],["exit",o,t]),
n+=2)}n++}return e}function Tk(e,t,n){
let r=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,
_bufferIndex:-1});const o={},a=[];let i=[],s=[];const l={consume:function(e){
Fy(e)?(r.line++,
r.column=1,r.offset+=-3===e?2:1,b()):-1!==e&&(r.column++,r.offset++)
;r._bufferIndex<0?r._index++:(r._bufferIndex++,
r._bufferIndex===i[r._index].length&&(r._bufferIndex=-1,r._index++))
;c.previous=e},enter:function(e,t){const n=t||{}
;return n.type=e,n.start=p(),c.events.push(["enter",n,c]),s.push(n),n},
exit:function(e){const t=s.pop();return t.end=p(),c.events.push(["exit",t,c]),t
},attempt:g((function(e,t){v(e,t.from)})),check:g(m),interrupt:g(m,{interrupt:!0
})},c={previous:null,code:null,containerState:{},events:[],parser:e,
sliceStream:d,sliceSerialize:function(e,t){return function(e,t){let n=-1
;const r=[];let o;for(;++n<e.length;){const a=e[n];let i
;if("string"==typeof a)i=a;else switch(a){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&&o)continue
;i=" ";break;default:i=String.fromCharCode(a)}o=-2===a,r.push(i)}
return r.join("")}(d(e),t)},now:p,defineSkip:function(e){o[e.line]=e.column,b()
},write:function(e){if(i=jw(i,e),h(),null!==i[i.length-1])return[]
;return v(t,0),c.events=ix(a,c.events,c),c.events}};let u=t.tokenize.call(c,l)
;return t.resolveAll&&a.push(t),c;function d(e){return function(e,t){
const n=t.start._index,r=t.start._bufferIndex,o=t.end._index,a=t.end._bufferIndex
;let i;if(n===o)i=[e[n].slice(r,a)];else{if(i=e.slice(n,o),r>-1){const e=i[0]
;"string"==typeof e?i[0]=e.slice(r):i.shift()}a>0&&i.push(e[o].slice(0,a))}
return i}(i,e)}function p(){
const{line:e,column:t,offset:n,_index:o,_bufferIndex:a}=r;return{line:e,
column:t,offset:n,_index:o,_bufferIndex:a}}function h(){let e
;for(;r._index<i.length;){const t=i[r._index]
;if("string"==typeof t)for(e=r._index,
r._bufferIndex<0&&(r._bufferIndex=0);r._index===e&&r._bufferIndex<t.length;)f(t.charCodeAt(r._bufferIndex));else f(t)
}}function f(e){u=u(e)}function m(e,t){t.restore()}function g(e,t){
return function(n,o,a){let i,u,d,h
;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){return t
;function t(t){const n=null!==t&&e[t],r=null!==t&&e.null
;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}
}(n);function f(e){return i=e,u=0,0===e.length?a:m(e[u])}function m(e){
return function(n){h=function(){
const e=p(),t=c.previous,n=c.currentConstruct,o=c.events.length,a=Array.from(s)
;return{restore:i,from:o};function i(){
r=e,c.previous=t,c.currentConstruct=n,c.events.length=o,s=a,b()}
}(),d=e,e.partial||(c.currentConstruct=e)
;if(e.name&&c.parser.constructs.disable.null.includes(e.name))return v()
;return e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,g,v)(n)}}
function g(t){return e(d,h),o}function v(e){
return h.restore(),++u<i.length?m(i[u]):a}}}function v(e,t){
e.resolveAll&&!a.includes(e)&&a.push(e),
e.resolve&&Lw(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(){
r.line in o&&r.column<2&&(r.column=o[r.line],r.offset+=o[r.line]-1)}}const Ck={
42:Wx,43:Wx,45:Wx,48:Wx,49:Wx,50:Wx,51:Wx,52:Wx,53:Wx,54:Wx,55:Wx,56:Wx,57:Wx,
62:px},Ak={91:Px},Pk={[-2]:vx,[-1]:vx,32:vx},Dk={35:$x,42:Zx,45:[Yx,Zx],60:Ix,
61:Yx,95:Zx,96:gx,126:gx},Rk={38:fx,92:hx},$k={[-5]:Vx,[-4]:Vx,[-3]:Vx,33:qx,
38:fx,42:sx,60:[cx,Bx],91:Hx,92:[Rx,hx],93:Ux,95:sx,96:yx},Nk={null:[sx,wk]
},Mk=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{
null:[42,95]},contentInitial:Ak,disable:{null:[]},document:Ck,flow:Dk,
flowInitial:Pk,insideSpan:Nk,string:Rk,text:$k},Symbol.toStringTag,{
value:"Module"}));const Ik=/[\0\t\n\r]/g;function Lk(e){
return e&&"object"==typeof e?"position"in e||"type"in e?Bk(e.position):"start"in e||"end"in e?Bk(e):"line"in e||"column"in e?jk(e):"":""
}function jk(e){return Uk(e&&e.line)+":"+Uk(e&&e.column)}function Bk(e){
return jk(e&&e.start)+"-"+jk(e&&e.end)}function Uk(e){
return e&&"number"==typeof e?e:1}const Qk={}.hasOwnProperty;function Fk(e,t,n){
return"string"!=typeof t&&(n=t,t=void 0),function(e){const t={transforms:[],
canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{
autolink:a(te),autolinkProtocol:_,autolinkEmail:_,atxHeading:a(Y),
blockQuote:a(V),characterEscape:_,characterReference:_,codeFenced:a(Z),
codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:a(Z,i),codeText:a(W,i),
codeTextData:_,data:_,codeFlowValue:_,definition:a(X),
definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,
emphasis:a(G),hardBreakEscape:a(K),hardBreakTrailing:a(K),htmlFlow:a(J,i),
htmlFlowData:_,htmlText:a(J,i),htmlTextData:_,image:a(ee),label:i,link:a(te),
listItem:a(re),listItemValue:p,listOrdered:a(ne,d),listUnordered:a(ne),
paragraph:a(oe),reference:B,referenceString:i,resourceDestinationString:i,
resourceTitleString:i,setextHeading:a(Y),strong:a(ae),thematicBreak:a(se)},
exit:{atxHeading:l(),atxHeadingSequence:w,autolink:l(),autolinkEmail:H,
autolinkProtocol:q,blockQuote:l(),characterEscapeValue:E,
characterReferenceMarkerHexadecimal:Q,characterReferenceMarkerNumeric:Q,
characterReferenceValue:F,characterReference:z,codeFenced:l(g),
codeFencedFence:m,codeFencedFenceInfo:h,codeFencedFenceMeta:f,codeFlowValue:E,
codeIndented:l(v),codeText:l(D),codeTextData:E,data:E,definition:l(),
definitionDestinationString:O,definitionLabelString:b,definitionTitleString:y,
emphasis:l(),hardBreakEscape:l(C),hardBreakTrailing:l(C),htmlFlow:l(A),
htmlFlowData:E,htmlText:l(P),htmlTextData:E,image:l($),label:M,labelText:N,
lineEnding:T,link:l(R),listItem:l(),listOrdered:l(),listUnordered:l(),
paragraph:l(),referenceString:U,resourceDestinationString:I,
resourceTitleString:L,resource:j,setextHeading:l(S),setextHeadingLineSequence:k,
setextHeadingText:x,strong:l(),thematicBreak:l()}}
;qk(t,(e||{}).mdastExtensions||[]);const n={};return r;function r(e){let r={
type:"root",children:[]};const a={stack:[r],tokenStack:[],config:t,enter:s,
exit:c,buffer:i,resume:u,data:n},l=[];let d=-1
;for(;++d<e.length;)if("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)if("enter"===e[d][0])l.push(d);else{
d=o(e,l.pop(),d)}for(d=-1;++d<e.length;){const n=t[e[d][0]]
;Qk.call(n,e[d][1].type)&&n[e[d][1].type].call(Object.assign({
sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){
const e=a.tokenStack[a.tokenStack.length-1];(e[1]||Vk).call(a,void 0,e[0])}
for(r.position={start:zk(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),
end:zk(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})
},d=-1;++d<t.transforms.length;)r=t.transforms[d](r)||r;return r}
function o(e,t,n){let r,o,a,i,s=t-1,l=-1,c=!1;for(;++s<=n;){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]&&(!r||i||l||a||(a=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(r){let i=s;for(o=void 0;i--;){const t=e[i]
;if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){
if("exit"===t[0])continue
;o&&(e[o][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",o=i
}else if("linePrefix"!==t[1].type&&"blockQuotePrefix"!==t[1].type&&"blockQuotePrefixWhitespace"!==t[1].type&&"blockQuoteMarker"!==t[1].type&&"listItemIndent"!==t[1].type)break
}
a&&(!o||a<o)&&(r._spread=!0),r.end=Object.assign({},o?e[o][1].start:t[1].end),e.splice(o||s,0,["exit",r,t[2]]),
s++,n++}if("listItemPrefix"===t[1].type){const o={type:"listItem",_spread:!1,
start:Object.assign({},t[1].start),end:void 0}
;r=o,e.splice(s,0,["enter",o,t[2]]),s++,n++,a=void 0,i=!0}}}
return e[t][1]._spread=c,n}function a(e,t){return n;function n(n){
s.call(this,e(n),n),t&&t.call(this,n)}}function i(){this.stack.push({
type:"fragment",children:[]})}function s(e,t,n){
this.stack[this.stack.length-1].children.push(e),
this.stack.push(e),this.tokenStack.push([t,n]),e.position={start:zk(t.start),
end:void 0}}function l(e){return t;function t(t){
e&&e.call(this,t),c.call(this,t)}}function c(e,t){
const n=this.stack.pop(),r=this.tokenStack.pop()
;if(!r)throw new Error("Cannot close `"+e.type+"` ("+Lk({start:e.start,end:e.end
})+"): it’s not open");if(r[0].type!==e.type)if(t)t.call(this,e,r[0]);else{
(r[1]||Vk).call(this,e,r[0])}n.position.end=zk(e.end)}function u(){
return UO(this.stack.pop())}function d(){
this.data.expectingFirstListItemValue=!0}function p(e){
if(this.data.expectingFirstListItemValue){
this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),
this.data.expectingFirstListItemValue=void 0}}function h(){const e=this.resume()
;this.stack[this.stack.length-1].lang=e}function f(){const e=this.resume()
;this.stack[this.stack.length-1].meta=e}function m(){
this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}
function g(){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}function v(){const e=this.resume()
;this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}
function b(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,
n.identifier=cO(this.sliceSerialize(e)).toLowerCase()}function y(){
const e=this.resume();this.stack[this.stack.length-1].title=e}function O(){
const e=this.resume();this.stack[this.stack.length-1].url=e}function w(e){
const t=this.stack[this.stack.length-1];if(!t.depth){
const n=this.sliceSerialize(e).length;t.depth=n}}function x(){
this.data.setextHeadingSlurpLineEnding=!0}function k(e){
this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2
}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function _(e){
const t=this.stack[this.stack.length-1].children;let n=t[t.length-1]
;n&&"text"===n.type||(n=ie(),n.position={start:zk(e.start),end:void 0
},t.push(n)),this.stack.push(n)}function E(e){const t=this.stack.pop()
;t.value+=this.sliceSerialize(e),t.position.end=zk(e.end)}function T(e){
const n=this.stack[this.stack.length-1];if(this.data.atHardBreak){
return n.children[n.children.length-1].position.end=zk(e.end),
void(this.data.atHardBreak=void 0)}
!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(n.type)&&(_.call(this,e),
E.call(this,e))}function C(){this.data.atHardBreak=!0}function A(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function P(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function D(){
const e=this.resume();this.stack[this.stack.length-1].value=e}function R(){
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}
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}
function N(e){const t=this.sliceSerialize(e),n=this.stack[this.stack.length-2]
;n.label=cw(t),n.identifier=cO(t).toLowerCase()}function M(){
const e=this.stack[this.stack.length-1],t=this.resume(),n=this.stack[this.stack.length-1]
;if(this.data.inReference=!0,"link"===n.type){const t=e.children;n.children=t
}else n.alt=t}function I(){const e=this.resume()
;this.stack[this.stack.length-1].url=e}function L(){const e=this.resume()
;this.stack[this.stack.length-1].title=e}function j(){
this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}
function U(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.label=t,
n.identifier=cO(this.sliceSerialize(e)).toLowerCase(),
this.data.referenceType="full"}function Q(e){
this.data.characterReferenceType=e.type}function F(e){
const t=this.sliceSerialize(e),n=this.data.characterReferenceType;let r
;if(n)r=sw(t,"characterReferenceMarkerNumeric"===n?10:16),
this.data.characterReferenceType=void 0;else{r=iw(t)}
this.stack[this.stack.length-1].value+=r}function z(e){
this.stack.pop().position.end=zk(e.end)}function q(e){E.call(this,e)
;this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function H(e){
E.call(this,e)
;this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}
function V(){return{type:"blockquote",children:[]}}function Z(){return{
type:"code",lang:null,meta:null,value:""}}function W(){return{type:"inlineCode",
value:""}}function X(){return{type:"definition",identifier:"",label:null,
title:null,url:""}}function G(){return{type:"emphasis",children:[]}}
function Y(){return{type:"heading",depth:0,children:[]}}function K(){return{
type:"break"}}function J(){return{type:"html",value:""}}function ee(){return{
type:"image",title:null,url:"",alt:null}}function te(){return{type:"link",
title:null,url:"",children:[]}}function ne(e){return{type:"list",
ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}
function re(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}
}function oe(){return{type:"paragraph",children:[]}}function ae(){return{
type:"strong",children:[]}}function ie(){return{type:"text",value:""}}
function se(){return{type:"thematicBreak"}}}(n)(function(e){for(;!xx(e););
return e}(function(e){const t={defined:[],lazy:{},
constructs:Uw([Mk,...(e||{}).extensions||[]]),content:n(vk),document:n(bk),
flow:n(Ok),string:n(xk),text:n(kk)};return t;function n(e){return function(n){
return Tk(t,e,n)}}}(n).document().write(function(){let e,t=1,n="",r=!0
;return function(o,a,i){const s=[];let l,c,u,d,p
;for(o=n+("string"==typeof o?o.toString():new TextDecoder(a||void 0).decode(o)),
u=0,n="",r&&(65279===o.charCodeAt(0)&&u++,r=void 0);u<o.length;){
if(Ik.lastIndex=u,
l=Ik.exec(o),d=l&&void 0!==l.index?l.index:o.length,p=o.charCodeAt(d),!l){
n=o.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(o.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),n&&s.push(n),s.push(null)),s}}()(e,t,!0))))}
function zk(e){return{line:e.line,column:e.column,offset:e.offset}}
function qk(e,t){let n=-1;for(;++n<t.length;){const r=t[n]
;Array.isArray(r)?qk(e,r):Hk(e,r)}}function Hk(e,t){let n
;for(n in t)if(Qk.call(t,n))switch(n){case"canContainEols":{const r=t[n]
;r&&e[n].push(...r);break}case"transforms":{const r=t[n];r&&e[n].push(...r)
;break}case"enter":case"exit":{const r=t[n];r&&Object.assign(e[n],r);break}}}
function Vk(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Lk({
start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Lk({
start:t.start,end:t.end
})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Lk({
start:t.start,end:t.end})+") is still open")}function Zk(e){const t=this
;t.parser=function(n){return Fk(n,{...t.data("settings"),...e,
extensions:t.data("micromarkExtensions")||[],
mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function Wk(e,t){
const n=t.referenceType;let r="]"
;if("collapsed"===n?r+="[]":"full"===n&&(r+="["+(t.label||t.identifier)+"]"),
"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+r}]
;const o=e.all(t),a=o[0];a&&"text"===a.type?a.value="["+a.value:o.unshift({
type:"text",value:"["});const i=o[o.length-1]
;return i&&"text"===i.type?i.value+=r:o.push({type:"text",value:r}),o}
function Xk(e){const t=e.spread;return null==t?e.children.length>1:t}
const Gk=9,Yk=32;function Kk(e){const t=String(e),n=/\r?\n|\r/g
;let r=n.exec(t),o=0;const a=[]
;for(;r;)a.push(Jk(t.slice(o,r.index),o>0,!0),r[0]),
o=r.index+r[0].length,r=n.exec(t)
;return a.push(Jk(t.slice(o),o>0,!1)),a.join("")}function Jk(e,t,n){
let r=0,o=e.length;if(t){let t=e.codePointAt(r)
;for(;t===Gk||t===Yk;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1)
;for(;t===Gk||t===Yk;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""}
const eS={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",
properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)
},break:function(e,t){const n={type:"element",tagName:"br",properties:{},
children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},
code:function(e,t){const n=t.value?t.value+"\n":"",r={}
;t.lang&&(r.className=["language-"+t.lang]);let o={type:"element",
tagName:"code",properties:r,children:[{type:"text",value:n}]}
;return t.meta&&(o.data={meta:t.meta}),e.patch(t,o),o=e.applyData(t,o),o={
type:"element",tagName:"pre",properties:{},children:[o]},e.patch(t,o),o},
delete:function(e,t){const n={type:"element",tagName:"del",properties:{},
children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){
const n={type:"element",tagName:"em",properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){
const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),o=ox(r.toLowerCase()),a=e.footnoteOrder.indexOf(r)
;let i,s=e.footnoteCounts.get(r)
;void 0===s?(s=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=a+1,
s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{
href:"#"+n+"fn-"+o,id:n+"fnref-"+o+(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 n={
type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},html:function(e,t){
if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value}
;return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){
const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n)
;if(!r)return Wk(e,t);const o={src:ox(r.url||""),alt:t.alt}
;null!==r.title&&void 0!==r.title&&(o.title=r.title);const a={type:"element",
tagName:"img",properties:o,children:[]};return e.patch(t,a),e.applyData(t,a)},
image:function(e,t){const n={src:ox(t.url)}
;null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),
null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",
tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},
inlineCode:function(e,t){const n={type:"text",
value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",
tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)
},linkReference:function(e,t){
const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n)
;if(!r)return Wk(e,t);const o={href:ox(r.url||"")}
;null!==r.title&&void 0!==r.title&&(o.title=r.title);const a={type:"element",
tagName:"a",properties:o,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)
},link:function(e,t){const n={href:ox(t.url)}
;null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",
tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)
},listItem:function(e,t,n){const r=e.all(t),o=n?function(e){let t=!1
;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1
;for(;!t&&++r<n.length;)t=Xk(n[r])}return t}(n):Xk(t),a={},i=[]
;if("boolean"==typeof t.checked){const e=r[0];let n
;e&&"element"===e.type&&"p"===e.tagName?n=e:(n={type:"element",tagName:"p",
properties:{},children:[]
},r.unshift(n)),n.children.length>0&&n.children.unshift({type:"text",value:" "
}),n.children.unshift({type:"element",tagName:"input",properties:{
type:"checkbox",checked:t.checked,disabled:!0},children:[]
}),a.className=["task-list-item"]}let s=-1;for(;++s<r.length;){const e=r[s]
;(o||0!==s||"element"!==e.type||"p"!==e.tagName)&&i.push({type:"text",value:"\n"
}),"element"!==e.type||"p"!==e.tagName||o?i.push(e):i.push(...e.children)}
const l=r[r.length-1];l&&(o||"element"!==l.type||"p"!==l.tagName)&&i.push({
type:"text",value:"\n"});const c={type:"element",tagName:"li",properties:a,
children:i};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){
const n={},r=e.all(t);let o=-1
;for("number"==typeof t.start&&1!==t.start&&(n.start=t.start);++o<r.length;){
const e=r[o]
;if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){
n.className=["contains-task-list"];break}}const a={type:"element",
tagName:t.ordered?"ol":"ul",properties:n,children:e.wrap(r,!0)}
;return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){const n={
type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,n),
e.applyData(t,n)},root:function(e,t){const n={type:"root",
children:e.wrap(e.all(t))};return e.patch(t,n),e.applyData(t,n)},
strong:function(e,t){const n={type:"element",tagName:"strong",properties:{},
children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},table:function(e,t){
const n=e.all(t),r=n.shift(),o=[];if(r){const n={type:"element",tagName:"thead",
properties:{},children:e.wrap([r],!0)};e.patch(t.children[0],n),o.push(n)}
if(n.length>0){const r={type:"element",tagName:"tbody",properties:{},
children:e.wrap(n,!0)},a=vb(t.children[1]),i=gb(t.children[t.children.length-1])
;a&&i&&(r.position={start:a,end:i}),o.push(r)}const a={type:"element",
tagName:"table",properties:{},children:e.wrap(o,!0)}
;return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){const n={
type:"element",tagName:"td",properties:{},children:e.all(t)}
;return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){
const r=n?n.children:void 0,o=0===(r?r.indexOf(t):1)?"th":"td",a=n&&"table"===n.type?n.align:void 0,i=a?a.length:t.children.length
;let s=-1;const l=[];for(;++s<i;){const n=t.children[s],r={},i=a?a[s]:void 0
;i&&(r.align=i);let c={type:"element",tagName:o,properties:r,children:[]}
;n&&(c.children=e.all(n),e.patch(n,c),c=e.applyData(n,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 n={type:"text",
value:Kk(String(t.value))};return e.patch(t,n),e.applyData(t,n)},
thematicBreak:function(e,t){const n={type:"element",tagName:"hr",properties:{},
children:[]};return e.patch(t,n),e.applyData(t,n)},toml:tS,yaml:tS,
definition:tS,footnoteDefinition:tS};function tS(){}function nS(e,t){const n=[{
type:"text",value:"↩"}];return t>1&&n.push({type:"element",tagName:"sup",
properties:{},children:[{type:"text",value:String(t)}]}),n}function rS(e,t){
return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const oS={}.hasOwnProperty,aS={}
;function iS(e,t){e.position&&(t.position=yb(e))}function sS(e,t){let n=t
;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,o=e.data.hProperties
;if("string"==typeof t)if("element"===n.type)n.tagName=t;else{n={type:"element",
tagName:t,properties:{},children:"children"in n?n.children:[n]}}
"element"===n.type&&o&&Object.assign(n.properties,sh(o)),
"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function lS(e,t){
const n=t.data||{},r=!("value"in t)||oS.call(n,"hProperties")||oS.call(n,"hChildren")?{
type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",
value:t.value};return e.patch(t,r),e.applyData(t,r)}function cS(e,t){const n=[]
;let r=-1;for(t&&n.push({type:"text",value:"\n"});++r<e.length;)r&&n.push({
type:"text",value:"\n"}),n.push(e[r]);return t&&e.length>0&&n.push({type:"text",
value:"\n"}),n}function uS(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,
n=e.charCodeAt(t);return e.slice(t)}function dS(e,t){const n=function(e,t){
const n=t||aS,r=new Map,o=new Map,a=new Map,i={...eS,...n.handlers},s={
all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1
;for(;++r<n.length;){const o=s.one(n[r],e);if(o){
if(r&&"break"===n[r-1].type&&(Array.isArray(o)||"text"!==o.type||(o.value=uS(o.value)),
!Array.isArray(o)&&"element"===o.type)){const e=o.children[0]
;e&&"text"===e.type&&(e.value=uS(e.value))}
Array.isArray(o)?t.push(...o):t.push(o)}}}return t},applyData:sS,
definitionById:r,footnoteById:o,footnoteCounts:a,footnoteOrder:[],handlers:i,
one:function(e,t){const n=e.type,r=s.handlers[n]
;if(oS.call(s.handlers,n)&&r)return r(s,e,t)
;if(s.options.passThrough&&s.options.passThrough.includes(n)){
if("children"in e){const{children:t,...n}=e,r=sh(n);return r.children=s.all(e),r
}return sh(e)}return(s.options.unknownHandler||lS)(s,e,t)},options:n,patch:iS,
wrap:cS};return _h(e,(function(e){
if("definition"===e.type||"footnoteDefinition"===e.type){
const t="definition"===e.type?r:o,n=String(e.identifier).toUpperCase()
;t.has(n)||t.set(n,e)}})),s}(e,t),r=n.one(e,void 0),o=function(e){
const t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",n=e.options.footnoteBackContent||nS,r=e.options.footnoteBackLabel||rS,o=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",i=e.options.footnoteLabelProperties||{
className:["sr-only"]},s=[];let l=-1;for(;++l<e.footnoteOrder.length;){
const o=e.footnoteById.get(e.footnoteOrder[l]);if(!o)continue
;const a=e.all(o),i=String(o.identifier).toUpperCase(),c=ox(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 n?n:n(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 r?r:r(l,u),
className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}
const h=a[a.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 a.push(...d);const f={type:"element",tagName:"li",
properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(o,f),s.push(f)}
if(0!==s.length)return{type:"element",tagName:"section",properties:{
dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,
properties:{...sh(i),id:"footnote-label"},children:[{type:"text",value:o}]},{
type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},
children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),a=Array.isArray(r)?{
type:"root",children:r}:r||{type:"root",children:[]};return o&&a.children.push({
type:"text",value:"\n"},o),a}function pS(e,t){
return e&&"run"in e?async function(n,r){const o=dS(n,{file:r,...t})
;await e.run(o,r)}:function(n,r){return dS(n,{file:r,...t||e})}}function hS(e){
const t=this;t.compiler=function(n){return yw(n,{...t.data("settings"),...e,
extensions:t.data("toMarkdownExtensions")||[]})}}function fS(e){if(e)throw e}
function mS(e){
return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e
}
var gS=Object.prototype.hasOwnProperty,vS=Object.prototype.toString,bS=Object.defineProperty,yS=Object.getOwnPropertyDescriptor,OS=function(e){
return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===vS.call(e)
},wS=function(e){if(!e||"[object Object]"!==vS.call(e))return!1
;var t,n=gS.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&gS.call(e.constructor.prototype,"isPrototypeOf")
;if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||gS.call(e,t)
},xS=function(e,t){bS&&"__proto__"===t.name?bS(e,t.name,{enumerable:!0,
configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue
},kS=function(e,t){if("__proto__"===t){if(!gS.call(e,t))return
;if(yS)return yS(e,t).value}return e[t]},SS=function e(){
var t,n,r,o,a,i,s=arguments[0],l=1,c=arguments.length,u=!1
;for("boolean"==typeof s&&(u=s,
s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});l<c;++l)if(null!=(t=arguments[l]))for(n in t)r=kS(s,n),
s!==(o=kS(t,n))&&(u&&o&&(wS(o)||(a=OS(o)))?(a?(a=!1,
i=r&&OS(r)?r:[]):i=r&&wS(r)?r:{},xS(s,{name:n,newValue:e(u,i,o)
})):void 0!==o&&xS(s,{name:n,newValue:o}));return s};const _S=mS(SS)
;function ES(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)
}function TS(){const e=[],t={run:function(...t){let n=-1;const r=t.pop()
;if("function"!=typeof r)throw new TypeError("Expected function as last argument, not "+r)
;!function o(a,...i){const s=e[++n];let l=-1;if(a)r(a);else{
for(;++l<t.length;)null!==i[l]&&void 0!==i[l]||(i[l]=t[l]);t=i,s?function(e,t){
let n;return r;function r(...t){const r=e.length>t.length;let s;r&&t.push(o)
;try{s=e.apply(this,t)}catch(a){if(r&&n)throw a;return o(a)}
r||(s&&s.then&&"function"==typeof s.then?s.then(i,o):s instanceof Error?o(s):i(s))
}function o(e,...r){n||(n=!0,t(e,...r))}function i(e){o(null,e)}
}(s,o)(...i):r(null,...i)}}(null,...t)},use:function(n){
if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n)
;return e.push(n),t}};return t}class CS extends Error{constructor(e,t,n){
super(),"string"==typeof t&&(n=t,t=void 0);let r="",o={},a=!1
;if(t&&(o="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?r=e:!o.cause&&e&&(a=!0,
r=e.message,o.cause=e),!o.ruleId&&!o.source&&"string"==typeof n){
const e=n.indexOf(":")
;-1===e?o.ruleId=n:(o.source=n.slice(0,e),o.ruleId=n.slice(e+1))}
if(!o.place&&o.ancestors&&o.ancestors){const e=o.ancestors[o.ancestors.length-1]
;e&&(o.place=e.position)}
const i=o.place&&"start"in o.place?o.place.start:o.place
;this.ancestors=o.ancestors||void 0,
this.cause=o.cause||void 0,this.column=i?i.column:void 0,
this.fatal=void 0,this.file,
this.message=r,this.line=i?i.line:void 0,this.name=Lk(o.place)||"1:1",
this.place=o.place||void 0,
this.reason=this.message,this.ruleId=o.ruleId||void 0,
this.source=o.source||void 0,
this.stack=a&&o.cause&&"string"==typeof o.cause.stack?o.cause.stack:"",
this.actual,this.expected,this.note,this.url}}
CS.prototype.file="",CS.prototype.name="",
CS.prototype.reason="",CS.prototype.message="",
CS.prototype.stack="",CS.prototype.column=void 0,
CS.prototype.line=void 0,CS.prototype.ancestors=void 0,
CS.prototype.cause=void 0,
CS.prototype.fatal=void 0,CS.prototype.place=void 0,CS.prototype.ruleId=void 0,
CS.prototype.source=void 0;const AS={basename:function(e,t){
if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string')
;PS(e);let n,r=0,o=-1,a=e.length
;if(void 0===t||0===t.length||t.length>e.length){
for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}}else o<0&&(n=!0,o=a+1)
;return o<0?"":e.slice(r,o)}if(t===e)return"";let i=-1,s=t.length-1
;for(;a--;)if(47===e.codePointAt(a)){if(n){r=a+1;break}
}else i<0&&(n=!0,i=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(o=a):(s=-1,
o=i));r===o?o=i:o<0&&(o=e.length);return e.slice(r,o)},dirname:function(e){
if(PS(e),0===e.length)return".";let t,n=-1,r=e.length
;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0)
;return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)
},extname:function(e){PS(e);let t,n=e.length,r=-1,o=0,a=-1,i=0;for(;n--;){
const s=e.codePointAt(n)
;if(47!==s)r<0&&(t=!0,r=n+1),46===s?a<0?a=n:1!==i&&(i=1):a>-1&&(i=-1);else if(t){
o=n+1;break}}if(a<0||r<0||0===i||1===i&&a===r-1&&a===o+1)return""
;return e.slice(a,r)},join:function(...e){let t,n=-1
;for(;++n<e.length;)PS(e[n]),e[n]&&(t=void 0===t?e[n]:t+"/"+e[n])
;return void 0===t?".":function(e){PS(e);const t=47===e.codePointAt(0)
;let n=function(e,t){let n,r,o="",a=0,i=-1,s=0,l=-1;for(;++l<=e.length;){
if(l<e.length)n=e.codePointAt(l);else{if(47===n)break;n=47}if(47===n){
if(i===l-1||1===s);else if(i!==l-1&&2===s){
if(o.length<2||2!==a||46!==o.codePointAt(o.length-1)||46!==o.codePointAt(o.length-2))if(o.length>2){
if(r=o.lastIndexOf("/"),r!==o.length-1){
r<0?(o="",a=0):(o=o.slice(0,r),a=o.length-1-o.lastIndexOf("/")),i=l,s=0;continue
}}else if(o.length>0){o="",a=0,i=l,s=0;continue}
t&&(o=o.length>0?o+"/..":"..",a=2)
}else o.length>0?o+="/"+e.slice(i+1,l):o=e.slice(i+1,l),a=l-i-1;i=l,s=0
}else 46===n&&s>-1?s++:s=-1}return o}(e,!t);0!==n.length||t||(n=".")
;n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/");return t?"/"+n:n}(t)},
sep:"/"};function PS(e){
if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))
}const DS={cwd:function(){return"/"}};function RS(e){
return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)
}function $S(e){if("string"==typeof e)e=new URL(e);else if(!RS(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 n=-1
;for(;++n<t.length;)if(37===t.codePointAt(n)&&50===t.codePointAt(n+1)){
const e=t.codePointAt(n+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)}
const NS=["history","path","basename","stem","extname","dirname"];class MS{
constructor(e){let t;t=e?RS(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=DS.cwd(),this.data={},this.history=[],this.messages=[],this.value,
this.map,this.result,this.stored;let n,r=-1;for(;++r<NS.length;){const e=NS[r]
;e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}
for(n in t)NS.includes(n)||(this[n]=t[n])}get basename(){
return"string"==typeof this.path?AS.basename(this.path):void 0}set basename(e){
LS(e,"basename"),IS(e,"basename"),this.path=AS.join(this.dirname||"",e)}
get dirname(){return"string"==typeof this.path?AS.dirname(this.path):void 0}
set dirname(e){
jS(this.basename,"dirname"),this.path=AS.join(e||"",this.basename)}
get extname(){return"string"==typeof this.path?AS.extname(this.path):void 0}
set extname(e){if(IS(e,"extname"),jS(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=AS.join(this.dirname,this.stem+(e||""))}get path(){
return this.history[this.history.length-1]}set path(e){
RS(e)&&(e=$S(e)),LS(e,"path"),this.path!==e&&this.history.push(e)}get stem(){
return"string"==typeof this.path?AS.basename(this.path,this.extname):void 0}
set stem(e){
LS(e,"stem"),IS(e,"stem"),this.path=AS.join(this.dirname||"",e+(this.extname||""))
}fail(e,t,n){const r=this.message(e,t,n);throw r.fatal=!0,r}info(e,t,n){
const r=this.message(e,t,n);return r.fatal=void 0,r}message(e,t,n){
const r=new CS(e,t,n)
;return this.path&&(r.name=this.path+":"+r.name,r.file=this.path),
r.fatal=!1,this.messages.push(r),r}toString(e){if(void 0===this.value)return""
;if("string"==typeof this.value)return this.value
;return new TextDecoder(e||void 0).decode(this.value)}}function IS(e,t){
if(e&&e.includes(AS.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+AS.sep+"`")
}function LS(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}
function jS(e,t){
if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}
const BS=function(e){const t=this.constructor.prototype,n=t[e],r=function(){
return n.apply(r,arguments)};Object.setPrototypeOf(r,t)
;const o=Object.getOwnPropertyNames(n);for(const a of o){
const e=Object.getOwnPropertyDescriptor(n,a);e&&Object.defineProperty(r,a,e)}
return r},US={}.hasOwnProperty;class QS extends BS{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=TS()}copy(){
const e=new QS;let t=-1;for(;++t<this.attachers.length;){
const n=this.attachers[t];e.use(...n)}return e.data(_S(!0,{},this.namespace)),e}
data(e,t){return"string"==typeof e?2===arguments.length?(HS("data",this.frozen),
this.namespace[e]=t,
this):US.call(this.namespace,e)&&this.namespace[e]||void 0:e?(HS("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,...n]=this.attachers[this.freezeIndex];if(!1===n[0])continue
;!0===n[0]&&(n[0]=void 0);const r=t.call(e,...n)
;"function"==typeof r&&this.transformers.use(r)}
return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(e){
this.freeze();const t=WS(e),n=this.parser||this.Parser
;return zS("parse",n),n(String(t),t)}process(e,t){const n=this
;return this.freeze(),
zS("process",this.parser||this.Parser),qS("process",this.compiler||this.Compiler),
t?r(void 0,t):new Promise(r);function r(r,o){const a=WS(e),i=n.parse(a)
;function s(e,n){e||!n?o(e):r?r(n):t(void 0,n)}n.run(i,a,(function(e,t,r){
if(e||!t||!r)return s(e);const o=t,a=n.stringify(o,r);var i
;"string"==typeof(i=a)||function(e){
return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)
}(i)?r.value=a:r.result=a,s(e,r)}))}}processSync(e){let t,n=!1
;return this.freeze(),
zS("processSync",this.parser||this.Parser),qS("processSync",this.compiler||this.Compiler),
this.process(e,(function(e,r){n=!0,fS(e),t=r})),ZS("processSync","process",n),t}
run(e,t,n){VS(e),this.freeze();const r=this.transformers
;return n||"function"!=typeof t||(n=t,t=void 0),n?o(void 0,n):new Promise(o)
;function o(o,a){const i=WS(t);r.run(e,i,(function(t,r,i){const s=r||e
;t?a(t):o?o(s):n(void 0,s,i)}))}}runSync(e,t){let n,r=!1
;return this.run(e,t,(function(e,t){fS(e),n=t,r=!0})),ZS("runSync","run",r),n}
stringify(e,t){this.freeze();const n=WS(t),r=this.compiler||this.Compiler
;return qS("stringify",r),VS(e),r(e,n)}use(e,...t){
const n=this.attachers,r=this.namespace
;if(HS("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):a(e)}return this;function o(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,...n]=e;s(t,n)}else a(e)}}function a(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&&(r.settings=_S(!0,r.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;){o(e[t])}}}function s(e,t){let r=-1,o=-1
;for(;++r<n.length;)if(n[r][0]===e){o=r;break}
if(-1===o)n.push([e,...t]);else if(t.length>0){let[r,...a]=t;const i=n[o][1]
;ES(i)&&ES(r)&&(r=_S(!0,i,r)),n[o]=[e,r,...a]}}}}const FS=(new QS).freeze()
;function zS(e,t){
if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}
function qS(e,t){
if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")
}function HS(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 VS(e){
if(!ES(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")
}function ZS(e,t,n){
if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}
function WS(e){return function(e){
return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)
}(e)?e:new MS(e)}const XS=function(e,t,n){const r=vh(n)
;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(r(e.children[t],t,e))return e.children[t]
},GS=/\n/g,YS=/[\t ]+/g,KS=ch("br"),JS=ch((function(e){
return"td"===e.tagName||"th"===e.tagName
})),e_=ch("p"),t_=ch("tr"),n_=ch(["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
}]),r_=ch(["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 o_(e,t){const n="children"in e?e.children:[],r=r_(e),o=l_(e,{
whitespace:{}.whitespace||"normal",breakBefore:!1,breakAfter:!1}),a=[]
;"text"!==e.type&&"comment"!==e.type||a.push(...i_(e,{whitespace:o,
breakBefore:!0,breakAfter:!0}));let i=-1
;for(;++i<n.length;)a.push(...a_(n[i],e,{whitespace:o,breakBefore:i?void 0:r,
breakAfter:i<n.length-1?KS(n[i+1]):r}));const s=[];let l
;for(i=-1;++i<a.length;){const e=a[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 a_(e,t,n){
return"element"===e.type?function(e,t,n){const r=l_(e,n),o=e.children||[]
;let a,i,s=-1,l=[];if(n_(e))return l;KS(e)||t_(e)&&XS(t,e,t_)?i="\n":e_(e)?(a=2,
i=2):r_(e)&&(a=1,i=1);for(;++s<o.length;)l=l.concat(a_(o[s],e,{whitespace:r,
breakBefore:s?void 0:a,breakAfter:s<o.length-1?KS(o[s+1]):i}))
;JS(e)&&XS(t,e,JS)&&l.push("\t");a&&l.unshift(a);i&&l.push(i);return l
}(e,t,n):"text"===e.type?"normal"===n.whitespace?i_(e,n):function(e){
return[String(e.value)]}(e):[]}function i_(e,t){
const n=String(e.value),r=[],o=[];let a=0;for(;a<=n.length;){GS.lastIndex=a
;const e=GS.exec(n),o=e&&"index"in e?e.index:n.length
;r.push(s_(n.slice(a,o).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==a||t.breakBefore,o!==n.length||t.breakAfter)),
a=o+1}let i,s=-1
;for(;++s<r.length;)8203===r[s].charCodeAt(r[s].length-1)||s<r.length-1&&8203===r[s+1].charCodeAt(0)?(o.push(r[s]),
i=void 0):r[s]?("number"==typeof i&&o.push(i),
o.push(r[s]),i=0):0!==s&&s!==r.length-1||o.push(0);return o}function s_(e,t,n){
const r=[];let o,a=0;for(;a<e.length;){YS.lastIndex=a;const n=YS.exec(e)
;o=n?n.index:e.length,
a||o||!n||t||r.push(""),a!==o&&r.push(e.slice(a,o)),a=n?o+n[0].length:o}
return a===o||n||r.push(""),r.join(" ")}function l_(e,t){if("element"===e.type){
const n=e.properties||{};switch(e.tagName){case"listing":case"plaintext":
case"xmp":return"pre";case"nobr":return"nowrap";case"pre":
return n.wrap?"pre-wrap":"pre";case"td":case"th":
return n.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}
return t.whitespace}
const c_=["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"],u_=["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"],d_=["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"],p_=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],h_=["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()
;var f_="[0-9](_*[0-9])*",m_=`\\.(${f_})`,g_="[0-9a-fA-F](_*[0-9a-fA-F])*",v_={
className:"number",variants:[{
begin:`(\\b(${f_})((${m_})|\\.)?|(${m_}))[eE][+-]?(${f_})[fFdD]?\\b`},{
begin:`\\b(${f_})((${m_})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{
begin:`(${m_})[fFdD]?\\b`},{begin:`\\b(${f_})[fFdD]\\b`},{
begin:`\\b0[xX]((${g_})\\.?|(${g_})?\\.(${g_}))[pP][+-]?(${f_})[fFdD]?\\b`},{
begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${g_})[lL]?\\b`},{
begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],
relevance:0};function b_(e,t,n){return-1===n?"":e.replace(t,(r=>b_(e,t,n-1)))}
const y_="[A-Za-z$_][0-9A-Za-z$_]*",O_=["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"],w_=["true","false","null","undefined","NaN","Infinity"],x_=["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"],k_=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],S_=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],__=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],E_=[].concat(S_,x_,k_)
;var T_="[0-9](_*[0-9])*",C_=`\\.(${T_})`,A_="[0-9a-fA-F](_*[0-9a-fA-F])*",P_={
className:"number",variants:[{
begin:`(\\b(${T_})((${C_})|\\.)?|(${C_}))[eE][+-]?(${T_})[fFdD]?\\b`},{
begin:`\\b(${T_})((${C_})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{
begin:`(${C_})[fFdD]?\\b`},{begin:`\\b(${T_})[fFdD]\\b`},{
begin:`\\b0[xX]((${A_})\\.?|(${A_})?\\.(${A_}))[pP][+-]?(${T_})[fFdD]?\\b`},{
begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${A_})[lL]?\\b`},{
begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],
relevance:0}
;const D_=["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"],R_=["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"],$_=["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"],N_=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],M_=["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(),I_=$_.concat(N_)
;const L_=["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"],j_=["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"],B_=["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"],U_=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],Q_=["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 F_(e){return e?"string"==typeof e?e:e.source:null}function z_(e){
return q_("(?=",e,")")}function q_(...e){return e.map((e=>F_(e))).join("")}
function H_(...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=>F_(e))).join("|")+")"}
const V_=e=>q_(/\b/,e,/\w$/.test(e)?/\b/:/\B/),Z_=["Protocol","Type"].map(V_),W_=["init","self"].map(V_),X_=["Any","Self"],G_=["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"],Y_=["false","nil","true"],K_=["assignment","associativity","higherThan","left","lowerThan","none","right"],J_=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],eE=["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"],tE=H_(/[/=\-+!*%<>&|^~?]/,/[\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]/),nE=H_(tE,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),rE=q_(tE,nE,"*"),oE=H_(/[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]/),aE=H_(oE,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),iE=q_(oE,aE,"*"),sE=q_(/[A-Z]/,aE,"*"),lE=["attached","autoclosure",q_(/convention\(/,H_("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",q_(/objc\(/,iE,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],cE=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"]
;const uE="[A-Za-z$_][0-9A-Za-z$_]*",dE=["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"],pE=["true","false","null","undefined","NaN","Infinity"],hE=["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"],fE=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],mE=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],gE=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],vE=[].concat(mE,hE,fE)
;function bE(e){
const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={
className:"symbol",begin:/&[a-z]+;|&#[0-9]+;|&#x[a-f0-9]+;/},o={begin:/\s/,
contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]
},a=e.inherit(o,{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:[r]},{
begin:/'/,end:/'/,contains:[r]},{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:[o,s,i,a,{begin:/\[/,end:/\]/,contains:[{
className:"meta",begin:/<![a-z]/,end:/>/,contains:[o,a,s,i]}]}]
},e.COMMENT(/<!--/,/-->/,{relevance:10}),{begin:/<!\[CDATA\[/,end:/\]\]>/,
relevance:10},r,{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(n,t.either(/\/>/,/>/,/\s/)))),
end:/\/?>/,contains:[{className:"name",begin:n,relevance:0,starts:l}]},{
className:"tag",begin:t.concat(/<\//,t.lookahead(t.concat(n,/>/))),contains:[{
className:"name",begin:n,relevance:0},{begin:/>/,relevance:0,endsParent:!0}]}]}}
function yE(e){return e instanceof Map?e.clear=e.delete=e.set=function(){
throw new Error("map is read-only")
}:e instanceof Set&&(e.add=e.clear=e.delete=function(){
throw new Error("set is read-only")
}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach((t=>{
const n=e[t],r=typeof n;"object"!==r&&"function"!==r||Object.isFrozen(n)||yE(n)
})),e}class OE{constructor(e){
void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1}
ignoreMatch(){this.isMatchIgnored=!0}}function wE(e){
return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")
}function xE(e,...t){const n=Object.create(null);for(const r in e)n[r]=e[r]
;return t.forEach((function(e){for(const t in e)n[t]=e[t]})),n}
const kE=e=>!!e.scope;class SE{constructor(e,t){
this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){
this.buffer+=wE(e)}openNode(e){if(!kE(e))return;const t=((e,{prefix:t})=>{
if(e.startsWith("language:"))return e.replace("language:","language-")
;if(e.includes(".")){const n=e.split(".")
;return[`${t}${n.shift()}`,...n.map(((e,t)=>`${e}${"_".repeat(t+1)}`))].join(" ")
}return`${t}${e}`})(e.scope,{prefix:this.classPrefix});this.span(t)}
closeNode(e){kE(e)&&(this.buffer+="</span>")}value(){return this.buffer}span(e){
this.buffer+=`<span class="${e}">`}}const _E=(e={})=>{const t={children:[]}
;return Object.assign(t,e),t};class EE{constructor(){
this.rootNode=_E(),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=_E({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=>{
EE._collapse(e)})))}}class TE extends EE{constructor(e){super(),this.options=e}
addText(e){""!==e&&this.add(e)}startScope(e){this.openNode(e)}endScope(){
this.closeNode()}__addSublanguage(e,t){const n=e.root
;t&&(n.scope=`language:${t}`),this.add(n)}toHTML(){
return new SE(this,this.options).value()}finalize(){return this.closeAllNodes(),
!0}}function CE(e){return e?"string"==typeof e?e:e.source:null}function AE(e){
return RE("(?=",e,")")}function PE(e){return RE("(?:",e,")*")}function DE(e){
return RE("(?:",e,")?")}function RE(...e){return e.map((e=>CE(e))).join("")}
function $E(...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=>CE(e))).join("|")+")"}
function NE(e){return new RegExp(e.toString()+"|").exec("").length-1}
const ME=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./
;function IE(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n
;let r=CE(e),o="";for(;r.length>0;){const e=ME.exec(r);if(!e){o+=r;break}
o+=r.substring(0,e.index),
r=r.substring(e.index+e[0].length),"\\"===e[0][0]&&e[1]?o+="\\"+String(Number(e[1])+t):(o+=e[0],
"("===e[0]&&n++)}return o})).map((e=>`(${e})`)).join(t)}
const LE="[a-zA-Z]\\w*",jE="[a-zA-Z_]\\w*",BE="\\b\\d+(\\.\\d+)?",UE="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",QE="\\b(0b[01]+)",FE={
begin:"\\\\[\\s\\S]",relevance:0},zE={scope:"string",begin:"'",end:"'",
illegal:"\\n",contains:[FE]},qE={scope:"string",begin:'"',end:'"',illegal:"\\n",
contains:[FE]},HE=function(e,t,n={}){const r=xE({scope:"comment",begin:e,end:t,
contains:[]},n);r.contains.push({scope:"doctag",
begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0})
;const o=$E("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/)
;return r.contains.push({begin:RE(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),
r},VE=HE("//","$"),ZE=HE("/\\*","\\*/"),WE=HE("#","$"),XE={scope:"number",
begin:BE,relevance:0},GE={scope:"number",begin:UE,relevance:0},YE={
scope:"number",begin:QE,relevance:0},KE={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,
end:/\/[gimuy]*/,contains:[FE,{begin:/\[/,end:/\]/,relevance:0,contains:[FE]}]
},JE={scope:"title",begin:LE,relevance:0},eT={scope:"title",begin:jE,relevance:0
},tT={begin:"\\.\\s*"+jE,relevance:0};var nT=Object.freeze({__proto__:null,
APOS_STRING_MODE:zE,BACKSLASH_ESCAPE:FE,BINARY_NUMBER_MODE:YE,
BINARY_NUMBER_RE:QE,COMMENT:HE,C_BLOCK_COMMENT_MODE:ZE,C_LINE_COMMENT_MODE:VE,
C_NUMBER_MODE:GE,C_NUMBER_RE:UE,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:WE,IDENT_RE:LE,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:tT,
NUMBER_MODE:XE,NUMBER_RE:BE,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:qE,REGEXP_MODE:KE,
RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",
SHEBANG:(e={})=>{const t=/^#![ ]*\//
;return e.binary&&(e.begin=RE(t,/.*\b/,e.binary,/\b.*/)),xE({scope:"meta",
begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e)
},TITLE_MODE:JE,UNDERSCORE_IDENT_RE:jE,UNDERSCORE_TITLE_MODE:eT})
;function rT(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function oT(e,t){
void 0!==e.className&&(e.scope=e.className,delete e.className)}function aT(e,t){
t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",
e.__beforeBegin=rT,
e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,
void 0===e.relevance&&(e.relevance=0))}function iT(e,t){
Array.isArray(e.illegal)&&(e.illegal=$E(...e.illegal))}function sT(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 lT(e,t){
void 0===e.relevance&&(e.relevance=1)}const cT=(e,t)=>{if(!e.beforeMatch)return
;if(e.starts)throw new Error("beforeMatch cannot be used with starts")
;const n=Object.assign({},e);Object.keys(e).forEach((t=>{delete e[t]
})),e.keywords=n.keywords,e.begin=RE(n.beforeMatch,AE(n.begin)),e.starts={
relevance:0,contains:[Object.assign(n,{endsParent:!0})]
},e.relevance=0,delete n.beforeMatch
},uT=["of","and","for","in","not","or","if","then","parent","list","value"],dT="keyword"
;function pT(e,t,n=dT){const r=Object.create(null)
;return"string"==typeof e?o(n,e.split(" ")):Array.isArray(e)?o(n,e):Object.keys(e).forEach((function(n){
Object.assign(r,pT(e[n],t,n))})),r;function o(e,n){
t&&(n=n.map((e=>e.toLowerCase()))),n.forEach((function(t){const n=t.split("|")
;r[n[0]]=[e,hT(n[0],n[1])]}))}}function hT(e,t){return t?Number(t):function(e){
return uT.includes(e.toLowerCase())}(e)?0:1}const fT={},mT=e=>{console.error(e)
},gT=(e,...t)=>{console.log(`WARN: ${e}`,...t)},vT=(e,t)=>{
fT[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),fT[`${e}/${t}`]=!0)
},bT=new Error;function yT(e,t,{key:n}){let r=0;const o=e[n],a={},i={}
;for(let s=1;s<=t.length;s++)i[s+r]=o[s],a[s+r]=!0,r+=NE(t[s-1])
;e[n]=i,e[n]._emit=a,e[n]._multi=!0}function OT(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 mT("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),
bT
;if("object"!=typeof e.beginScope||null===e.beginScope)throw mT("beginScope must be object"),
bT;yT(e,e.begin,{key:"beginScope"}),e.begin=IE(e.begin,{joinWith:""})}
}(e),function(e){if(Array.isArray(e.end)){
if(e.skip||e.excludeEnd||e.returnEnd)throw mT("skip, excludeEnd, returnEnd not compatible with endScope: {}"),
bT
;if("object"!=typeof e.endScope||null===e.endScope)throw mT("endScope must be object"),
bT;yT(e,e.end,{key:"endScope"}),e.end=IE(e.end,{joinWith:""})}}(e)}
function wT(e){function t(t,n){
return new RegExp(CE(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":""))
}class n{constructor(){
this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}
addRule(e,t){
t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]),
this.matchAt+=NE(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null)
;const e=this.regexes.map((e=>e[1]));this.matcherRe=t(IE(e,{joinWith:"|"
}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex
;const t=this.matcherRe.exec(e);if(!t)return null
;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),r=this.matchIndexes[n]
;return t.splice(0,n),Object.assign(t,r)}}class r{constructor(){
this.rules=[],this.multiRegexes=[],
this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){
if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n
;return this.rules.slice(e).forEach((([e,n])=>t.addRule(e,n))),
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 n=t.exec(e)
;if(this.resumingScanAtSamePosition())if(n&&n.index===this.lastIndex);else{
const t=this.getMatcher(0);t.lastIndex=this.lastIndex+1,n=t.exec(e)}
return n&&(this.regexIndex+=n.position+1,
this.regexIndex===this.count&&this.considerAll()),n}}
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=xE(e.classNameAliases||{}),function n(o,a){const i=o
;if(o.isCompiled)return i
;[oT,sT,OT,cT].forEach((e=>e(o,a))),e.compilerExtensions.forEach((e=>e(o,a))),
o.__beforeBegin=null,[aT,iT,lT].forEach((e=>e(o,a))),o.isCompiled=!0;let s=null
;return"object"==typeof o.keywords&&o.keywords.$pattern&&(o.keywords=Object.assign({},o.keywords),
s=o.keywords.$pattern,
delete o.keywords.$pattern),s=s||/\w+/,o.keywords&&(o.keywords=pT(o.keywords,e.case_insensitive)),
i.keywordPatternRe=t(s,!0),
a&&(o.begin||(o.begin=/\B|\b/),i.beginRe=t(i.begin),o.end||o.endsWithParent||(o.end=/\B|\b/),
o.end&&(i.endRe=t(i.end)),
i.terminatorEnd=CE(i.end)||"",o.endsWithParent&&a.terminatorEnd&&(i.terminatorEnd+=(o.end?"|":"")+a.terminatorEnd)),
o.illegal&&(i.illegalRe=t(o.illegal)),
o.contains||(o.contains=[]),o.contains=[].concat(...o.contains.map((function(e){
return function(e){
e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map((function(t){
return xE(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants
;if(xT(e))return xE(e,{starts:e.starts?xE(e.starts):null})
;if(Object.isFrozen(e))return xE(e);return e}("self"===e?o:e)
}))),o.contains.forEach((function(e){n(e,i)
})),o.starts&&n(o.starts,a),i.matcher=function(e){const t=new r
;return e.contains.forEach((e=>t.addRule(e.begin,{rule:e,type:"begin"
}))),e.terminatorEnd&&t.addRule(e.terminatorEnd,{type:"end"
}),e.illegal&&t.addRule(e.illegal,{type:"illegal"}),t}(i),i}(e)}function xT(e){
return!!e&&(e.endsWithParent||xT(e.starts))}class kT extends Error{
constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}}
const ST=wE,_T=xE,ET=Symbol("nomatch"),TT=function(e){
const t=Object.create(null),n=Object.create(null),r=[];let o=!0
;const a="Could not find the language '{}', did you forget to load/include a language module?",i={
disableAutodetect:!0,name:"Plain text",contains:[]};let s={
ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,
languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",
cssSelector:"pre code",languages:null,__emitter:TE};function l(e){
return s.noHighlightRe.test(e)}function c(e,t,n){let r="",o=""
;"object"==typeof t?(r=e,
n=t.ignoreIllegals,o=t.language):(vT("10.7.0","highlight(lang, code, ...args) has been deprecated."),
vT("10.7.0","Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277"),
o=e,r=t),void 0===n&&(n=!0);const a={code:r,language:o};b("before:highlight",a)
;const i=a.result?a.result:u(a.language,a.code,n)
;return i.code=a.code,b("after:highlight",i),i}function u(e,n,r,i){
const l=Object.create(null);function c(){if(!_.keywords)return void T.addText(C)
;let e=0;_.keywordPatternRe.lastIndex=0;let t=_.keywordPatternRe.exec(C),n=""
;for(;t;){n+=C.substring(e,t.index)
;const o=x.case_insensitive?t[0].toLowerCase():t[0],a=(r=o,_.keywords[r]);if(a){
const[e,r]=a
;if(T.addText(n),n="",l[o]=(l[o]||0)+1,l[o]<=7&&(A+=r),e.startsWith("_"))n+=t[0];else{
const n=x.classNameAliases[e]||e;h(t[0],n)}}else n+=t[0]
;e=_.keywordPatternRe.lastIndex,t=_.keywordPatternRe.exec(C)}var r
;n+=C.substring(e),T.addText(n)}function p(){null!=_.subLanguage?function(){
if(""===C)return;let e=null;if("string"==typeof _.subLanguage){
if(!t[_.subLanguage])return void T.addText(C)
;e=u(_.subLanguage,C,!0,E[_.subLanguage]),E[_.subLanguage]=e._top
}else e=d(C,_.subLanguage.length?_.subLanguage:null)
;_.relevance>0&&(A+=e.relevance),T.__addSublanguage(e._emitter,e.language)
}():c(),C=""}function h(e,t){""!==e&&(T.startScope(t),T.addText(e),T.endScope())
}function f(e,t){let n=1;const r=t.length-1;for(;n<=r;){if(!e._emit[n]){n++
;continue}const r=x.classNameAliases[e[n]]||e[n],o=t[n];r?h(o,r):(C=o,c(),C=""),
n++}}function g(e,t){
return e.scope&&"string"==typeof e.scope&&T.openNode(x.classNameAliases[e.scope]||e.scope),
e.beginScope&&(e.beginScope._wrap?(h(C,x.classNameAliases[e.beginScope._wrap]||e.beginScope._wrap),
C=""):e.beginScope._multi&&(f(e.beginScope,t),C="")),_=Object.create(e,{parent:{
value:_}}),_}function v(e,t,n){let r=function(e,t){const n=e&&e.exec(t)
;return n&&0===n.index}(e.endRe,n);if(r){if(e["on:end"]){const n=new OE(e)
;e["on:end"](t,n),n.isMatchIgnored&&(r=!1)}if(r){
for(;e.endsParent&&e.parent;)e=e.parent;return e}}
if(e.endsWithParent)return v(e.parent,t,n)}function b(e){
return 0===_.matcher.regexIndex?(C+=e[0],1):(R=!0,0)}function y(e){
const t=e[0],r=n.substring(e.index),o=v(_,e,r);if(!o)return ET;const a=_
;_.endScope&&_.endScope._wrap?(p(),
h(t,_.endScope._wrap)):_.endScope&&_.endScope._multi?(p(),
f(_.endScope,e)):a.skip?C+=t:(a.returnEnd||a.excludeEnd||(C+=t),
p(),a.excludeEnd&&(C=t));do{
_.scope&&T.closeNode(),_.skip||_.subLanguage||(A+=_.relevance),_=_.parent
}while(_!==o.parent);return o.starts&&g(o.starts,e),a.returnEnd?0:t.length}
let O={};function w(t,a){const i=a&&a[0];if(C+=t,null==i)return p(),0
;if("begin"===O.type&&"end"===a.type&&O.index===a.index&&""===i){
if(C+=n.slice(a.index,a.index+1),!o){
const t=new Error(`0 width match regex (${e})`)
;throw t.languageName=e,t.badRule=O.rule,t}return 1}
if(O=a,"begin"===a.type)return function(e){
const t=e[0],n=e.rule,r=new OE(n),o=[n.__beforeBegin,n["on:begin"]]
;for(const a of o)if(a&&(a(e,r),r.isMatchIgnored))return b(t)
;return n.skip?C+=t:(n.excludeBegin&&(C+=t),
p(),n.returnBegin||n.excludeBegin||(C=t)),g(n,e),n.returnBegin?0:t.length}(a)
;if("illegal"===a.type&&!r){
const e=new Error('Illegal lexeme "'+i+'" for mode "'+(_.scope||"<unnamed>")+'"')
;throw e.mode=_,e}if("end"===a.type){const e=y(a);if(e!==ET)return e}
if("illegal"===a.type&&""===i)return 1;if(D>1e5&&D>3*a.index){
throw new Error("potential infinite loop, way more iterations than matches")}
return C+=i,i.length}const x=m(e)
;if(!x)throw mT(a.replace("{}",e)),new Error('Unknown language: "'+e+'"')
;const k=wT(x);let S="",_=i||k;const E={},T=new s.__emitter(s);!function(){
const e=[];for(let t=_;t!==x;t=t.parent)t.scope&&e.unshift(t.scope)
;e.forEach((e=>T.openNode(e)))}();let C="",A=0,P=0,D=0,R=!1;try{
if(x.__emitTokens)x.__emitTokens(n,T);else{for(_.matcher.considerAll();;){
D++,R?R=!1:_.matcher.considerAll(),_.matcher.lastIndex=P
;const e=_.matcher.exec(n);if(!e)break;const t=w(n.substring(P,e.index),e)
;P=e.index+t}w(n.substring(P))}return T.finalize(),S=T.toHTML(),{language:e,
value:S,relevance:A,illegal:!1,_emitter:T,_top:_}}catch($){
if($.message&&$.message.includes("Illegal"))return{language:e,value:ST(n),
illegal:!0,relevance:0,_illegalBy:{message:$.message,index:P,
context:n.slice(P-100,P+100),mode:$.mode,resultSoFar:S},_emitter:T};if(o)return{
language:e,value:ST(n),illegal:!1,relevance:0,errorRaised:$,_emitter:T,_top:_}
;throw $}}function d(e,n){n=n||s.languages||Object.keys(t);const r=function(e){
const t={value:ST(e),illegal:!1,relevance:0,_top:i,_emitter:new s.__emitter(s)}
;return t._emitter.addText(e),t}(e),o=n.filter(m).filter(v).map((t=>u(t,e,!1)))
;o.unshift(r);const a=o.sort(((e,t)=>{
if(e.relevance!==t.relevance)return t.relevance-e.relevance
;if(e.language&&t.language){if(m(e.language).supersetOf===t.language)return 1
;if(m(t.language).supersetOf===e.language)return-1}return 0})),[l,c]=a,d=l
;return d.secondBest=c,d}function p(e){let t=null;const r=function(e){
let t=e.className+" ";t+=e.parentNode?e.parentNode.className:""
;const n=s.languageDetectRe.exec(t);if(n){const t=m(n[1])
;return t||(gT(a.replace("{}",n[1])),
gT("Falling back to no-highlight mode for this block.",e)),t?n[1]:"no-highlight"
}return t.split(/\s+/).find((e=>l(e)||m(e)))}(e);if(l(r))return
;if(b("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&&(s.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)),s.throwUnescapedHTML)){
throw new kT("One of your code blocks includes unescaped HTML.",e.innerHTML)}t=e
;const o=t.textContent,i=r?c(o,{language:r,ignoreIllegals:!0}):d(o)
;e.innerHTML=i.value,e.dataset.highlighted="yes",function(e,t,r){
const o=t&&n[t]||r;e.classList.add("hljs"),e.classList.add(`language-${o}`)
}(e,r,i.language),e.result={language:i.language,re:i.relevance,
relevance:i.relevance},i.secondBest&&(e.secondBest={
language:i.secondBest.language,relevance:i.secondBest.relevance
}),b("after:highlightElement",{el:e,result:i,text:o})}let h=!1;function f(){
if("loading"===document.readyState)return void(h=!0)
;document.querySelectorAll(s.cssSelector).forEach(p)}function m(e){
return e=(e||"").toLowerCase(),t[e]||t[n[e]]}function g(e,{languageName:t}){
"string"==typeof e&&(e=[e]),e.forEach((e=>{n[e.toLowerCase()]=t}))}
function v(e){const t=m(e);return t&&!t.disableAutodetect}function b(e,t){
const n=e;r.forEach((function(e){e[n]&&e[n](t)}))}
"undefined"!=typeof window&&window.addEventListener&&window.addEventListener("DOMContentLoaded",(function(){
h&&f()}),!1),Object.assign(e,{highlight:c,highlightAuto:d,highlightAll:f,
highlightElement:p,highlightBlock:function(e){
return vT("10.7.0","highlightBlock will be removed entirely in v12.0"),
vT("10.7.0","Please use highlightElement now."),p(e)},configure:function(e){
s=_T(s,e)},initHighlighting:()=>{
f(),vT("10.6.0","initHighlighting() deprecated.  Use highlightAll() now.")},
initHighlightingOnLoad:function(){
f(),vT("10.6.0","initHighlightingOnLoad() deprecated.  Use highlightAll() now.")
},registerLanguage:function(n,r){let a=null;try{a=r(e)}catch(s){
if(mT("Language definition for '{}' could not be registered.".replace("{}",n)),
!o)throw s;mT(s),a=i}
a.name||(a.name=n),t[n]=a,a.rawDefinition=r.bind(null,e),a.aliases&&g(a.aliases,{
languageName:n})},unregisterLanguage:function(e){delete t[e]
;for(const t of Object.keys(n))n[t]===e&&delete n[t]},listLanguages:function(){
return Object.keys(t)},getLanguage:m,registerAliases:g,autoDetection:v,
inherit:_T,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),r.push(e)},
removePlugin:function(e){const t=r.indexOf(e);-1!==t&&r.splice(t,1)}
}),e.debugMode=function(){o=!1},e.safeMode=function(){o=!0
},e.versionString="11.9.0",e.regex={concat:RE,lookahead:AE,either:$E,
optional:DE,anyNumberOfTimes:PE}
;for(const y in nT)"object"==typeof nT[y]&&yE(nT[y]);return Object.assign(e,nT),
e},CT=TT({});CT.newInstance=()=>TT({});var AT=CT;CT.HighlightJS=CT,CT.default=CT
;const PT=mS(AT),DT={},RT="hljs-";class $T{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],n=t.children[t.children.length-1]
;n&&"text"===n.type?n.value+=e:t.children.push({type:"text",value:e})}
startScope(e){this.openNode(String(e))}endScope(){this.closeNode()}
__addSublanguage(e,t){const n=this.stack[this.stack.length-1],r=e.root.children
;t?n.children.push({type:"element",tagName:"span",properties:{className:[t]},
children:r}):n.children.push(...r)}openNode(e){const t=this,n={type:"element",
tagName:"span",properties:{className:e.split(".").map((function(e,n){
return n?e+"_".repeat(n):t.options.classPrefix+e}))},children:[]}
;this.stack[this.stack.length-1].children.push(n),this.stack.push(n)}
closeNode(){this.stack.pop()}finalize(){}toHTML(){return""}}const NT={
ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp",
"c++":"cpp",node:"javascript"},MT={};function IT(e){
const t=e||MT,n=t.aliases,r=(null==e?void 0:e.detect)??!1,o=t.languages,a=t.plainText,i=t.prefix,s=t.subset
;let l="hljs";const c=(null==e?void 0:e.lowlight)??function(e){
const t=PT.newInstance();return e&&o(e),{highlight:n,
highlightAuto:function(e,o){const a=(o||DT).subset||r();let i,s=-1,l=0
;for(;++s<a.length;){const r=a[s];if(!t.getLanguage(r))continue;const c=n(r,e,o)
;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:r,register:o,registerAlias:function(e,n){
if("string"==typeof e)t.registerAliases("string"==typeof n?n:[...n],{
languageName:e});else{let n;for(n in e)if(Object.hasOwn(e,n)){const r=e[n]
;t.registerAliases("string"==typeof r?r:[...r],{languageName:n})}}},
registered:function(e){return Boolean(t.getLanguage(e))}};function n(e,n,r){
const o=r||DT,a="string"==typeof o.prefix?o.prefix:RT
;if(!t.getLanguage(e))throw new Error("Unknown language: `"+e+"` is not registered")
;t.configure({__emitter:$T,classPrefix:a});const i=t.highlight(n,{
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 r(){
return t.listLanguages()}function o(e,n){
if("string"==typeof e)t.registerLanguage(e,n);else{let n
;for(n in e)Object.hasOwn(e,n)&&t.registerLanguage(n,e[n])}}}(o)
;if(n&&c.registerAlias(n),i){const e=i.indexOf("-");l=e>-1?i.slice(0,e):i}
return function(e,t){_h(e,"element",(function(e,n,o){var u
;if("code"!==e.tagName||!o||"element"!==o.type||"pre"!==o.tagName)return
;const d=function(e){const t=e.properties.className
;if(!Array.isArray(t))return"";const n=t.reduce(((e,t)=>{if(e)return e
;const n=String(t)
;return"no-highlight"===n||"nohighlight"===n?"no-highlight":"lang-"===n.slice(0,5)?n.slice(5):"language-"===n.slice(0,9)?n.slice(9):e
}),"");return NT[n||""]||n}(e)
;if("no-highlight"===d||!d&&!r||d&&(null==a?void 0:a.includes(d)))return;let p
;Array.isArray(e.properties.className)||(e.properties.className=[]),
e.properties.className.includes(l)||e.properties.className.unshift(l);try{
p=d?c.highlight(d,o_(o),{prefix:i}):c.highlightAuto(o_(o),{prefix:i,subset:s})
}catch(h){const n=h
;if(d&&/Unknown language/.test(n.message))return void t.message("Cannot highlight as `"+d+"`, it’s not registered",{
ancestors:[o,e],cause:n,place:e.position,ruleId:"missing-language",
source:"rehype-highlight"});throw n}
!d&&(null==(u=p.data)?void 0:u.language)&&e.properties.className.push("language-"+p.data.language),
p.children.length>0&&(e.children=p.children)}))}}const LT={bash:function(e){
const t=e.regex,n={},r={begin:/\$\{/,end:/\}/,contains:["self",{begin:/:-/,
contains:[n]}]};Object.assign(n,{className:"variable",variants:[{
begin:t.concat(/\$[\w\d#@][\w\d_]*/,"(?![\\w\\d])(?![$])")},r]});const o={
className:"subst",begin:/\$\(/,end:/\)/,contains:[e.BACKSLASH_ESCAPE]},a={
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,n,o]};o.contains.push(i);const s={begin:/\$?\(\(/,
end:/\)\)/,contains:[{begin:/\d+#[0-9a-f]+/,className:"number"},e.NUMBER_MODE,n]
},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,a,{match:/(\/[a-z._-]+)+/},i,{
match:/\\"/},{className:"string",begin:/'/,end:/'/},{match:/\\'/},n]}},
c:function(e){const t=e.regex,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]
}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="("+r+"|"+t.optional(o)+"[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:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={
className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0
},d=t.optional(o)+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,n,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:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,
keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,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:[n,e.C_BLOCK_COMMENT_MODE,s,l,i,{begin:/\(/,
end:/\)/,keywords:p,relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,i]
}]},i,n,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_\\-!.?+*=<>&'",n="[#]?["+t+"]["+t+"0-9/;:$#]*",r="def defonce defprotocol defstruct defmulti defmethod defn- defn defmacro deftype defrecord",o={
$pattern:n,
built_in:r+" cond apply if-not if-let if not not= =|0 <|0 >|0 <=|0 >=|0 ==|0 +|0 /|0 *|0 -|0 rem quot neg? pos? delay? symbol? keyword? true? false? integer? empty? coll? list? set? ifn? fn? associative? sequential? sorted? counted? reversible? number? decimal? class? distinct? isa? float? rational? reduced? ratio? odd? even? char? seq? vector? string? map? nil? contains? zero? instance? not-every? not-any? libspec? -> ->> .. . inc compare do dotimes mapcat take remove take-while drop letfn drop-last take-last drop-while while intern condp case reduced cycle split-at split-with repeat replicate iterate range merge zipmap declare line-seq sort comparator sort-by dorun doall nthnext nthrest partition eval doseq await await-for let agent atom send send-off release-pending-sends add-watch mapv filterv remove-watch agent-error restart-agent set-error-handler error-handler set-error-mode! error-mode shutdown-agents quote var fn loop recur throw try monitor-enter monitor-exit macroexpand macroexpand-1 for dosync and or when when-not when-let comp juxt partial sequence memoize constantly complement identity assert peek pop doto proxy first rest cons cast coll last butlast sigs reify second ffirst fnext nfirst nnext meta with-meta ns in-ns create-ns import refer keys select-keys vals key val rseq name namespace promise into transient persistent! conj! assoc! dissoc! pop! disj! use class type num float double short byte boolean bigint biginteger bigdec print-method print-dup throw-if printf format load compile get-in update-in pr pr-on newline flush read slurp read-line subvec with-open memfn time re-find re-groups rand-int rand mod locking assert-valid-fdecl alias resolve ref deref refset swap! reset! set-validator! compare-and-set! alter-meta! reset-meta! commute get-validator alter ref-set ref-history-count ref-min-history ref-max-history ensure sync io! new next conj set! to-array future future-call into-array aset gen-class reduce map filter find empty hash-map hash-set sorted-map sorted-map-by sorted-set sorted-set-by vec vector seq flatten reverse assoc dissoc list disj get union difference intersection extend extend-type extend-protocol int nth delay count concat chunk chunk-buffer chunk-append chunk-first chunk-rest max min dec unchecked-inc-int unchecked-inc unchecked-dec-inc unchecked-dec unchecked-negate unchecked-add-int unchecked-add unchecked-subtract-int unchecked-subtract chunk-next chunk-cons chunked-seq? prn vary-meta lazy-seq spread list* str find-keyword keyword symbol gensym force rationalize"
},a={begin:n,relevance:0},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:"\\[|(#::?"+n+")?\\{",end:"[\\]\\}]",relevance:0},f={className:"symbol",
begin:"[:]{1,2}"+n},m={begin:"\\(",end:"\\)"},g={endsWithParent:!0,relevance:0
},v={keywords:o,className:"name",begin:n,relevance:0,starts:g
},b=[u,m,s,l,c,d,f,h,i,p,a],y={beginKeywords:r,keywords:{$pattern:n,keyword:r},
end:'(\\[|#|\\d|"|:|\\{|\\)|\\(|$)',contains:[{className:"title",begin:n,
relevance:0,excludeEnd:!0,endsParent:!0}].concat(b)}
;return m.contains=[y,v,g],g.contains=b,h.contains=b,{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,n=e.COMMENT("//","$",{contains:[{begin:/\\\n/}]
}),r="decltype\\(auto\\)",o="[a-zA-Z_]\\w*::",a="(?!struct)("+r+"|"+t.optional(o)+"[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:/<.*?>/},n,e.C_BLOCK_COMMENT_MODE]},u={
className:"title",begin:t.optional(o)+e.IDENT_RE,relevance:0
},d=t.optional(o)+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,n,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:"("+a+"[\\*&\\s]+)+"+d,returnBegin:!0,end:/[{;=]/,excludeEnd:!0,
keywords:p,illegal:/[^\w\s\*&:<>.]/,contains:[{begin:r,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:[n,e.C_BLOCK_COMMENT_MODE,s,l,i,{begin:/\(/,end:/\)/,keywords:p,
relevance:0,contains:["self",n,e.C_BLOCK_COMMENT_MODE,s,l,i]}]
},i,n,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"}}])}},css:function(e){
const t=e.regex,n=(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=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",
case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},
classNameAliases:{keyframePosition:"selector-tag"},contains:[n.BLOCK_COMMENT,{
begin:/-(webkit|moz|ms|o)-(?=[a-z])/},n.CSS_NUMBER_MODE,{
className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{
className:"selector-class",begin:"\\.[a-zA-Z-][a-zA-Z0-9_-]*",relevance:0
},n.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{
begin:":("+d_.join("|")+")"},{begin:":(:)?("+p_.join("|")+")"}]
},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+h_.join("|")+")\\b"},{
begin:/:/,end:/[;}{]/,
contains:[n.BLOCK_COMMENT,n.HEXCOLOR,n.IMPORTANT,n.CSS_NUMBER_MODE,...r,{
begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"
},contains:[...r,{className:"string",begin:/[^)]/,endsWithParent:!0,
excludeEnd:!0}]},n.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:u_.join(" ")},contains:[{
begin:/[a-z-]+(?=:)/,className:"attribute"},...r,n.CSS_NUMBER_MODE]}]},{
className:"selector-tag",begin:"\\b("+c_.join("|")+")\\b"}]}},
curl:mS((function(e){const t={className:"string",begin:/"/,end:/"/,
contains:[e.BACKSLASH_ESCAPE,{className:"variable",begin:/\$\(/,end:/\)/,
contains:[e.BACKSLASH_ESCAPE]}],relevance:0},n={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,n,{match:/(\/[a-z._-]+)+/}]}})),
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"]},n=e.inherit(e.TITLE_MODE,{
begin:"[a-zA-Z](\\.?\\w)*"}),r={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},o={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]
},a=e.inherit(o,{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,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.C_BLOCK_COMMENT_MODE],
s.contains=[u,l,a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,r,e.inherit(e.C_BLOCK_COMMENT_MODE,{
illegal:/\n/})];const d={variants:[c,l,o,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]
},p={begin:"<",end:">",contains:[{beginKeywords:"in out"},n]
},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,r,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,
illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"
},n,p,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",
relevance:0,end:/[{;=]/,illegal:/[^\s:]/,
contains:[n,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{
beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,
contains:[n,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,r,e.C_BLOCK_COMMENT_MODE]
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},f]}},elixir:function(e){
const t=e.regex,n="[a-zA-Z_][a-zA-Z0-9_.]*(!|\\?)?",r={$pattern:n,
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"]},o={className:"subst",begin:/#\{/,end:/\}/,
keywords:r},a={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),a,o]
})))},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((n=>e.inherit(n,{
end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end),a,o]})))},{
begin:"~R(?="+i+")",contains:s.map((n=>e.inherit(n,{
end:t.concat(n.end,/[uismxfU]{0,7}/),contains:[l(n.end)]})))}]},p={
className:"string",contains:[e.BACKSLASH_ESCAPE,o],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:n,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:n+":(?!:)",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 o.contains=m,{name:"Elixir",aliases:["ex","exs"],keywords:r,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/]}},html:bE,java:function(e){
const t=e.regex,n="[À-ʸa-zA-Z_$][À-ʸa-zA-Z_$0-9]*",r=n+b_("(?:<"+n+"~~~(?:\\s*,\\s*"+n+"~~~)*>)?",/~~~/g,2),o={
keyword:["synchronized","abstract","private","var","static","if","const ","for","while","strictfp","finally","protected","import","native","final","void","enum","else","break","transient","catch","instanceof","volatile","case","assert","package","default","public","try","switch","continue","throws","protected","public","private","module","requires","exports","do","sealed","yield","permits"],
literal:["false","true","null"],
type:["char","boolean","long","float","int","byte","short","double"],
built_in:["super","this"]},a={className:"meta",begin:"@"+n,contains:[{
begin:/\(/,end:/\)/,contains:["self"]}]},i={className:"params",begin:/\(/,
end:/\)/,keywords:o,relevance:0,contains:[e.C_BLOCK_COMMENT_MODE],endsParent:!0}
;return{name:"Java",aliases:["jsp"],keywords:o,illegal:/<\/|#/,
contains:[e.COMMENT("/\\*\\*","\\*/",{relevance:0,contains:[{begin:/\w+@/,
relevance:0},{className:"doctag",begin:"@[A-Za-z]+"}]}),{
begin:/import java\.[a-z]+\./,keywords:"import",relevance:2
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{begin:/"""/,end:/"""/,
className:"string",contains:[e.BACKSLASH_ESCAPE]
},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{
match:[/\b(?:class|interface|enum|extends|implements|new)/,/\s+/,n],className:{
1:"keyword",3:"title.class"}},{match:/non-sealed/,scope:"keyword"},{
begin:[t.concat(/(?!else)/,n),/\s+/,n,/\s+/,/=(?!=)/],className:{1:"type",
3:"variable",5:"operator"}},{begin:[/record/,/\s+/,n],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:["(?:"+r+"\\s+)",e.UNDERSCORE_IDENT_RE,/\s*(?=\()/],className:{
2:"title.function"},keywords:o,contains:[{className:"params",begin:/\(/,
end:/\)/,keywords:o,relevance:0,
contains:[a,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,v_,e.C_BLOCK_COMMENT_MODE]
},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},v_,a]}},javascript:function(e){
const t=e.regex,n=y_,r="<>",o="</>",a={begin:/<[A-Za-z0-9\\._:-]+/,
end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(e,t)=>{
const n=e[0].length+e.index,r=e.input[n]
;if("<"===r||","===r)return void t.ignoreMatch();let o
;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1)
;return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch())
;const a=e.input.substring(n)
;((o=a.match(/^\s*=/))||(o=a.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()
}},i={$pattern:y_,keyword:O_,literal:w_,built_in:E_,"variable.language":__
},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={
className:"number",variants:[{
begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{
begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\b`},{
begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{
begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{
begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{
begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",
end:"\\}",keywords:i,contains:[]},p={begin:"html`",end:"",starts:{end:"`",
returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},h={
begin:"css`",end:"",starts:{end:"`",returnEnd:!1,
contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:"gql`",end:"",
starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],
subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",
contains:[e.BACKSLASH_ESCAPE,d]},g={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:n+"(?=\\s*(-)|$)",
endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]
}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]
},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,f,m,{match:/\$\d+/},u]
;d.contains=v.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(v)
});const b=[].concat(g,d.contains),y=b.concat([{begin:/\(/,end:/\)/,keywords:i,
contains:["self"].concat(b)}]),O={className:"params",begin:/\(/,end:/\)/,
excludeBegin:!0,excludeEnd:!0,keywords:i,contains:y},w={variants:[{
match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],
scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{
match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},x={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:{_:[...x_,...k_]}},k={variants:[{
match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],
className:{1:"keyword",3:"title.function"},label:"func.def",contains:[O],
illegal:/%/},S={
match:t.concat(/\b/,(_=[...S_,"super","import"],t.concat("(?!",_.join("|"),")")),n,t.lookahead(/\(/)),
className:"title.function",relevance:0};var _;const E={
begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,
excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},T={
match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},
contains:[{begin:/\(\)/},O]
},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",A={
match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(C)],
keywords:"async",className:{1:"keyword",3:"title.function"},contains:[O]}
;return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{
PARAMS_CONTAINS:y,CLASS_REFERENCE:x},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,p,h,f,m,g,{match:/\$\d+/},u,x,{
className:"attr",begin:n+t.lookahead(":"),relevance:0},A,{
begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{
className:"function",begin:C,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:i,contains:y}]}]},{begin:/,/,relevance:0},{match:/\s+/,
relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{
begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",
contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},k,{
beginKeywords:"while if switch catch for"},{
begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
returnBegin:!0,label:"func.def",contains:[O,e.inherit(e.TITLE_MODE,{begin:n,
className:"title.function"})]},{match:/\.\.\./,relevance:0},E,{match:"\\$"+n,
relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},
contains:[O]},S,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},w,T,{match:/\$[(.]/}]}},json:function(e){
const t=["true","false","null"],n={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,n,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"},n={className:"symbol",begin:e.UNDERSCORE_IDENT_RE+"@"
},r={className:"subst",begin:/\$\{/,end:/\}/,contains:[e.C_NUMBER_MODE]},o={
className:"variable",begin:"\\$"+e.UNDERSCORE_IDENT_RE},a={className:"string",
variants:[{begin:'"""',end:'"""(?=[^"])',contains:[o,r]},{begin:"'",end:"'",
illegal:/\n/,contains:[e.BACKSLASH_ESCAPE]},{begin:'"',end:'"',illegal:/\n/,
contains:[e.BACKSLASH_ESCAPE,o,r]}]};r.contains.push(a);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(a,{className:"string"}),"self"]}]
},l=P_,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+/}]}},n,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,a,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]},a,{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),n=I_,r="[\\w-]+",o="("+r+"|@\\{"+r+"\\})",a=[],i=[],s=function(e){return{
className:"string",begin:"~?"+e+".*?"+e}},l=function(e,t,n){return{className:e,
begin:t,relevance:n}},c={$pattern:/[a-z-]+/,keyword:"and or not only",
attribute:R_.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","@@?"+r,10),l("variable","@\\{"+r+"\\}"),l("built_in","~?`[^`]*?`"),{
className:"attribute",begin:r+"\\s*:",end:":",returnBegin:!0,excludeEnd:!0
},t.IMPORTANT,{beginKeywords:"and not"},t.FUNCTION_DISPATCH);const d=i.concat({
begin:/\{/,end:/\}/,contains:a}),p={beginKeywords:"when",endsWithParent:!0,
contains:[{beginKeywords:"and not"}].concat(i)},h={begin:o+"\\s*:",
returnBegin:!0,end:/[;}]/,relevance:0,contains:[{begin:/-(webkit|moz|ms|o)-/
},t.CSS_VARIABLE,{className:"attribute",begin:"\\b("+M_.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:"@"+r+"\\s*:",relevance:15},{begin:"@"+r
}],starts:{end:"[;}]",returnEnd:!0,contains:d}},g={variants:[{
begin:"[\\.#:&\\[>]",end:"[;{}]"},{begin:o,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","@\\{"+r+"\\}"),{
begin:"\\b("+D_.join("|")+")\\b",className:"selector-tag"
},t.CSS_NUMBER_MODE,l("selector-tag",o,0),l("selector-id","#"+o),l("selector-class","\\."+o,0),l("selector-tag","&",0),t.ATTRIBUTE_SELECTOR_MODE,{
className:"selector-pseudo",begin:":("+$_.join("|")+")"},{
className:"selector-pseudo",begin:":(:)?("+N_.join("|")+")"},{begin:/\(/,
end:/\)/,relevance:0,contains:d},{begin:"!important"},t.FUNCTION_DISPATCH]},v={
begin:r+`:(:)?(${n.join("|")})`,returnBegin:!0,contains:[g]}
;return a.push(e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,f,m,v,h,g,p,t.FUNCTION_DISPATCH),
{name:"Less",case_insensitive:!0,illegal:"[=>'/<($\"]",contains:a}},
makefile:function(e){const t={className:"variable",variants:[{
begin:"\\$\\("+e.UNDERSCORE_IDENT_RE+"\\)",contains:[e.BACKSLASH_ESCAPE]},{
begin:/\$[@%<?\^\+\*]/}]},n={className:"string",begin:/"/,end:/"/,
contains:[e.BACKSLASH_ESCAPE,t]},r={className:"variable",begin:/\$\([\w-]+\s/,
end:/\)/,keywords:{
built_in:"subst patsubst strip findstring filter filter-out sort word wordlist firstword lastword dir notdir suffix basename addsuffix addprefix join wildcard realpath abspath error warning shell origin flavor foreach if or and call eval file value"
},contains:[t]},o={begin:"^"+e.UNDERSCORE_IDENT_RE+"\\s*(?=[:+?]?=)"},a={
className:"section",begin:/^[^\s]+:/,end:/$/,contains:[t]};return{
name:"Makefile",aliases:["mk","mak","make"],keywords:{$pattern:/[\w-]+/,
keyword:"define endef undefine ifdef ifndef ifeq ifneq else endif include -include sinclude override export unexport private vpath"
},contains:[e.HASH_COMMENT_MODE,t,n,r,o,{className:"meta",begin:/^\.PHONY:/,
end:/$/,keywords:{$pattern:/[\.\w]+/,keyword:".PHONY"}},a]}},
markdown:function(e){const t={begin:/<\/?[A-Za-z_]/,end:">",subLanguage:"xml",
relevance:0},n={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}]},r={className:"strong",contains:[],
variants:[{begin:/_{2}(?!\s)/,end:/_{2}/},{begin:/\*{2}(?!\s)/,end:/\*{2}/}]
},o={className:"emphasis",contains:[],variants:[{begin:/\*(?![*\s])/,end:/\*/},{
begin:/_(?![_\s])/,end:/_/,relevance:0}]},a=e.inherit(r,{contains:[]
}),i=e.inherit(o,{contains:[]});r.contains.push(i),o.contains.push(a)
;let s=[t,n];return[r,o,a,i].forEach((e=>{e.contains=e.contains.concat(s)
})),s=s.concat(r,o),{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},r,o,{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:"$"},n,{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="('|\\.')+",n={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:n},{
begin:"[a-zA-Z][a-zA-Z_0-9]*"+t,relevance:0},{className:"number",
begin:e.C_NUMBER_RE,relevance:0,starts:n},{className:"string",begin:"'",end:"'",
contains:[{begin:"''"}]},{begin:/\]|\}|\)/,relevance:0,starts:n},{
className:"string",begin:'"',end:'"',contains:[{begin:'""'}],starts:n
},e.COMMENT("^\\s*%\\{\\s*$","^\\s*%\\}\\s*$"),e.COMMENT("%","$")]}},
nginx:function(e){const t=e.regex,n={className:"variable",variants:[{
begin:/\$\d+/},{begin:/\$\{\w+\}/},{begin:t.concat(/[$@]/,e.UNDERSCORE_IDENT_RE)
}]},r={endsWithParent:!0,keywords:{$pattern:/[a-z_]{2,}|\/dev\/poll/,
literal:["on","off","yes","no","true","false","none","blocked","debug","info","notice","warn","error","crit","select","break","last","permanent","redirect","kqueue","rtsig","epoll","poll","/dev/poll"]
},relevance:0,illegal:"=>",contains:[e.HASH_COMMENT_MODE,{className:"string",
contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:/"/,end:/"/},{begin:/'/,end:/'/
}]},{begin:"([a-z]+):/",end:"\\s",endsWithParent:!0,excludeEnd:!0,contains:[n]
},{className:"regexp",contains:[e.BACKSLASH_ESCAPE,n],variants:[{begin:"\\s\\^",
end:"\\s|\\{|;",returnEnd:!0},{begin:"~\\*?\\s+",end:"\\s|\\{|;",returnEnd:!0},{
begin:"\\*(\\.[a-z\\-]+)+"},{begin:"([a-z\\-]+\\.)+\\*"}]},{className:"number",
begin:"\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b"},{
className:"number",begin:"\\b\\d+[kKmMgGdshdwy]?\\b",relevance:0},n]};return{
name:"Nginx config",aliases:["nginxconf"],contains:[e.HASH_COMMENT_MODE,{
beginKeywords:"upstream location",end:/;|\{/,contains:r.contains,keywords:{
section:"upstream location"}},{className:"section",
begin:t.concat(e.UNDERSCORE_IDENT_RE+t.lookahead(/\s+\{/)),relevance:0},{
begin:t.lookahead(e.UNDERSCORE_IDENT_RE+"\\s"),end:";|\\{",contains:[{
className:"attribute",begin:e.UNDERSCORE_IDENT_RE,starts:r}],relevance:0}],
illegal:"[^\\s\\}\\{]"}},objectivec:function(e){
const t=/[a-zA-Z@][a-zA-Z0-9_]*/,n={$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:"("+n.keyword.join("|")+")\\b",end:/(\{|$)/,excludeEnd:!0,keywords:n,
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:/->/}]}},php:function(e){
const t=e.regex,n=/(?![A-Za-z0-9])(?![$])/,r=t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/,n),o=t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/,n),a={
scope:"variable",match:"\\$+"+r},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)"),o],scope:{
1:"keyword",4:"title.class"}}]},v=t.concat(r,"\\b(?!\\()"),b={variants:[{
match:[t.concat(/::/,t.lookahead(/(?!class\b)/)),v],scope:{2:"variable.constant"
}},{match:[/::/,/class/],scope:{2:"variable.language"}},{
match:[o,t.concat(/::/,t.lookahead(/(?!class\b)/)),v],scope:{1:"title.class",
3:"variable.constant"}},{match:[o,t.concat("::",t.lookahead(/(?!class\b)/))],
scope:{1:"title.class"}},{match:[o,/::/,/class/],scope:{1:"title.class",
3:"variable.language"}}]},y={scope:"attr",
match:t.concat(r,t.lookahead(":"),t.lookahead(/(?!::)/))},O={relevance:0,
begin:/\(/,end:/\)/,keywords:f,contains:[y,a,b,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)"),r,t.concat(l,"*"),t.lookahead(/(?=\()/)],
scope:{3:"title.function.invoke"},contains:[O]};O.contains.push(w)
;const x=[y,b,e.C_BLOCK_COMMENT_MODE,c,u,g];return{case_insensitive:!1,
keywords:f,contains:[{begin:t.concat(/#\[\s*/,o),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:o}]
},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/},a,w,b,{
match:[/const/,/\s/,r],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",a,b,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"
},n={begin:"`[\\s\\S]",relevance:0},r={className:"variable",variants:[{
begin:/\$\B/},{className:"keyword",begin:/\$this/},{begin:/\$[\w\d][\w\d_:]*/}]
},o={className:"string",variants:[{begin:/"/,end:/"/},{begin:/@"/,end:/^"@/}],
contains:[n,r,{className:"variable",begin:/\$[A-z]/,end:/[^A-z]/}]},a={
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:[r]}]},u={begin:/using\s/,end:/$/,
returnBegin:!0,contains:[o,a,{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,n,e.NUMBER_MODE,o,a,s,r,{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)}},python:function(e){
const t=e.regex,n=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),r=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={
$pattern:/[A-Za-z]\w+|__\w+__/,keyword:r,
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"]
},a={className:"meta",begin:/^(>>>|\.\.\.) /},i={className:"subst",begin:/\{/,
end:/\}/,keywords:o,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,a],relevance:10},{
begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,
contains:[e.BACKSLASH_ESCAPE,a],relevance:10},{
begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,
contains:[e.BACKSLASH_ESCAPE,a,s,i]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,
end:/"""/,contains:[e.BACKSLASH_ESCAPE,a,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|${r.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:o,
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:o,
contains:["self",a,p,l,e.HASH_COMMENT_MODE]}]};return i.contains=[l,p,a],{
name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,
illegal:/(<\/|\?)|=>/,contains:[a,p,{begin:/\bself\b/},{beginKeywords:"if",
relevance:0},l,h,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,n],scope:{
1:"keyword",3:"title.function"},contains:[f]},{variants:[{
match:[/\bclass/,/\s+/,n,/\s*/,/\(\s*/,n,/\s*\)/]},{match:[/\bclass/,/\s+/,n]}],
scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{
className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[p,f,l]}]}},
r:function(e){
const t=e.regex,n=/(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/,r=t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/,/0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/,/(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/),o=/[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/,a=t.either(/[()]/,/[{}]/,/\[\[/,/[[\]]/,/\\/,/,/)
;return{name:"R",keywords:{$pattern:n,
keyword:"function if in break next repeat else for while",
literal:"NULL NA TRUE FALSE Inf NaN NA_integer_|10 NA_real_|10 NA_character_|10 NA_complex_|10",
built_in:"LETTERS letters month.abb month.name pi T F abs acos acosh all any anyNA Arg as.call as.character as.complex as.double as.environment as.integer as.logical as.null.default as.numeric as.raw asin asinh atan atanh attr attributes baseenv browser c call ceiling class Conj cos cosh cospi cummax cummin cumprod cumsum digamma dim dimnames emptyenv exp expression floor forceAndCall gamma gc.time globalenv Im interactive invisible is.array is.atomic is.call is.character is.complex is.double is.environment is.expression is.finite is.function is.infinite is.integer is.language is.list is.logical is.matrix is.na is.name is.nan is.null is.numeric is.object is.pairlist is.raw is.recursive is.single is.symbol lazyLoadDBfetch length lgamma list log max min missing Mod names nargs nzchar oldClass on.exit pos.to.env proc.time prod quote range Re rep retracemem return round seq_along seq_len seq.int sign signif sin sinh sinpi sqrt standardGeneric substitute sum switch tan tanh tanpi tracemem trigamma trunc unclass untracemem UseMethod xtfrm"
},contains:[e.COMMENT(/#'/,/$/,{contains:[{scope:"doctag",match:/@examples/,
starts:{end:t.lookahead(t.either(/\n^#'\s*(?=@[a-zA-Z]+)/,/\n^(?!#')/)),
endsParent:!0}},{scope:"doctag",begin:"@param",end:/$/,contains:[{
scope:"variable",variants:[{match:n},{match:/`(?:\\.|[^`\\])+`/}],endsParent:!0
}]},{scope:"doctag",match:/@[a-zA-Z]+/},{scope:"keyword",match:/\\[a-zA-Z]+/}]
}),e.HASH_COMMENT_MODE,{scope:"string",contains:[e.BACKSLASH_ESCAPE],
variants:[e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\(/,end:/\)(-*)"/
}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\{/,end:/\}(-*)"/
}),e.END_SAME_AS_BEGIN({begin:/[rR]"(-*)\[/,end:/\](-*)"/
}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\(/,end:/\)(-*)'/
}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\{/,end:/\}(-*)'/
}),e.END_SAME_AS_BEGIN({begin:/[rR]'(-*)\[/,end:/\](-*)'/}),{begin:'"',end:'"',
relevance:0},{begin:"'",end:"'",relevance:0}]},{relevance:0,variants:[{scope:{
1:"operator",2:"number"},match:[o,r]},{scope:{1:"operator",2:"number"},
match:[/%[^%]*%/,r]},{scope:{1:"punctuation",2:"number"},match:[a,r]},{scope:{
2:"number"},match:[/[^a-zA-Z0-9._]|^/,r]}]},{scope:{3:"operator"},
match:[n,/\s+/,/<-/,/\s+/]},{scope:"operator",relevance:0,variants:[{match:o},{
match:/%[^%]*%/}]},{scope:"punctuation",relevance:0,match:a},{begin:"`",end:"`",
contains:[{begin:/\\./}]}]}},ruby:function(e){
const t=e.regex,n="([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)",r=t.either(/\b([A-Z]+[a-z0-9]+)+/,/\b([A-Z]+[a-z0-9]+)+[A-Z]+/),o=t.concat(r,/(::\w+)*/),a={
"variable.constant":["__FILE__","__LINE__","__ENCODING__"],
"variable.language":["self","super"],
keyword:["alias","and","begin","BEGIN","break","case","class","defined","do","else","elsif","end","END","ensure","for","if","in","module","next","not","or","redo","require","rescue","retry","return","then","undef","unless","until","when","while","yield","include","extend","prepend","public","private","protected","raise","throw"],
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:a},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:a}]},f=[u,{variants:[{match:[/class\s+/,o,/\s+<\s+/,o]},{
match:[/\b(class|module)\s+/,o]}],scope:{2:"title.class",
4:"title.class.inherited"},keywords:a},{match:[/(include|extend)\s+/,o],scope:{
2:"title.class"},keywords:a},{relevance:0,match:[o,/\.new[. (]/],scope:{
1:"title.class"}},{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},{relevance:0,match:r,scope:"title.class"},{
match:[/def/,/\s+/,n],scope:{1:"keyword",3:"title.function"},contains:[h]},{
begin:e.IDENT_RE+"::"},{className:"symbol",
begin:e.UNDERSCORE_IDENT_RE+"(!|\\?)?:",relevance:0},{className:"symbol",
begin:":(?!\\s)",contains:[u,{begin:n}],relevance:0},p,{className:"variable",
begin:"(\\$\\W)|((\\$|@@?)(\\w+))(?=[^@$?])(?![A-Za-z])(?![@$?'])"},{
className:"params",begin:/\|/,end:/\|/,excludeBegin:!0,excludeEnd:!0,
relevance:0,keywords:a},{begin:"("+e.RE_STARTERS_RE+"|unless)\\s*",
keywords:"unless",contains:[{className:"regexp",contains:[e.BACKSLASH_ESCAPE,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:a,contains:f}}];return l.unshift(s),{name:"Ruby",
aliases:["rb","gemspec","podspec","thor","irb"],keywords:a,illegal:/\/\*/,
contains:[e.SHEBANG({binary:"ruby"})].concat(m).concat(l).concat(f)}},
rust:function(e){const t=e.regex,n={className:"title.function.invoke",
relevance:0,
begin:t.concat(/\b/,/(?!let|for|while|if|else|match\b)/,e.IDENT_RE,t.lookahead(/\s*\(/))
},r="([ui](8|16|32|64|128|size)|f(32|64))?",o=["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!"],a=["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:a,
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:o},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_]+)"+r},{begin:"\\b0o([0-7_]+)"+r},{
begin:"\\b0x([A-Fa-f0-9_]+)"+r},{
begin:"\\b(\\d[\\d_]*(\\.[0-9_]+)?([eE][+-]?[0-9_]+)?)"+r}],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:o,type:a}},{className:"punctuation",begin:"->"},n]}},
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),n=U_,r=B_,o="@[a-z-]+",a={className:"variable",
begin:"(\\$[a-zA-Z-][a-zA-Z0-9_-]*)\\b",relevance:0};return{name:"SCSS",
case_insensitive:!0,illegal:"[=/|']",
contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,t.CSS_NUMBER_MODE,{
className:"selector-id",begin:"#[A-Za-z0-9_-]+",relevance:0},{
className:"selector-class",begin:"\\.[A-Za-z0-9_-]+",relevance:0
},t.ATTRIBUTE_SELECTOR_MODE,{className:"selector-tag",
begin:"\\b("+L_.join("|")+")\\b",relevance:0},{className:"selector-pseudo",
begin:":("+r.join("|")+")"},{className:"selector-pseudo",
begin:":(:)?("+n.join("|")+")"},a,{begin:/\(/,end:/\)/,
contains:[t.CSS_NUMBER_MODE]},t.CSS_VARIABLE,{className:"attribute",
begin:"\\b("+Q_.join("|")+")\\b"},{
begin:"\\b(whitespace|wait|w-resize|visible|vertical-text|vertical-ideographic|uppercase|upper-roman|upper-alpha|underline|transparent|top|thin|thick|text|text-top|text-bottom|tb-rl|table-header-group|table-footer-group|sw-resize|super|strict|static|square|solid|small-caps|separate|se-resize|scroll|s-resize|rtl|row-resize|ridge|right|repeat|repeat-y|repeat-x|relative|progress|pointer|overline|outside|outset|oblique|nowrap|not-allowed|normal|none|nw-resize|no-repeat|no-drop|newspaper|ne-resize|n-resize|move|middle|medium|ltr|lr-tb|lowercase|lower-roman|lower-alpha|loose|list-item|line|line-through|line-edge|lighter|left|keep-all|justify|italic|inter-word|inter-ideograph|inside|inset|inline|inline-block|inherit|inactive|ideograph-space|ideograph-parenthesis|ideograph-numeric|ideograph-alpha|horizontal|hidden|help|hand|groove|fixed|ellipsis|e-resize|double|dotted|distribute|distribute-space|distribute-letter|distribute-all-lines|disc|disabled|default|decimal|dashed|crosshair|collapse|col-resize|circle|char|center|capitalize|break-word|break-all|bottom|both|bolder|bold|block|bidi-override|below|baseline|auto|always|all-scroll|absolute|table|table-cell)\\b"
},{begin:/:/,end:/[;}{]/,relevance:0,
contains:[t.BLOCK_COMMENT,a,t.HEXCOLOR,t.CSS_NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.IMPORTANT,t.FUNCTION_DISPATCH]
},{begin:"@(page|font-face)",keywords:{$pattern:o,keyword:"@page @font-face"}},{
begin:"@",end:"[{;]",returnBegin:!0,keywords:{$pattern:/[a-z-]+/,
keyword:"and or not only",attribute:j_.join(" ")},contains:[{begin:o,
className:"keyword"},{begin:/[a-z-]+(?=:)/,className:"attribute"
},a,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,t.HEXCOLOR,t.CSS_NUMBER_MODE]
},t.FUNCTION_DISPATCH]}},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,n=e.COMMENT("--","$"),r=["true","false","unknown"],o=["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"],a=["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=a,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=>!a.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:n}={}){const r=n
;return t=t||[],e.map((e=>e.match(/\|\d+$/)||t.includes(e)?e:r(e)?`${e}|0`:e))
}(l,{when:e=>e.length<3}),literal:r,type:o,
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:r,type:o}},{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,n,{
className:"operator",begin:/[-+*/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?/,
relevance:0}]}},swift:function(e){const t={match:/\s+/,relevance:0
},n=e.COMMENT("/\\*","\\*/",{contains:["self"]}),r=[e.C_LINE_COMMENT_MODE,n],o={
match:[/\./,H_(...Z_,...W_)],className:{2:"keyword"}},a={
match:q_(/\./,H_(...G_)),relevance:0
},i=G_.filter((e=>"string"==typeof e)).concat(["_|0"]),s={variants:[{
className:"keyword",
match:H_(...G_.filter((e=>"string"!=typeof e)).concat(X_).map(V_),...W_)}]},l={
$pattern:H_(/\b\w+/,/#\w+/),keyword:i.concat(J_),literal:Y_},c=[o,a,s],u=[{
match:q_(/\./,H_(...eE)),relevance:0},{className:"built_in",
match:q_(/\b/,H_(...eE),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{
className:"operator",relevance:0,variants:[{match:rE},{match:`\\.(\\.|${nE})+`}]
}],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:q_(/\\/,e,/[0\\tnr"']/)},{match:q_(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}]
}),v=(e="")=>({className:"subst",match:q_(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/)
}),b=(e="")=>({className:"subst",label:"interpol",begin:q_(/\\/,e,/\(/),end:/\)/
}),y=(e="")=>({begin:q_(e,/"""/),end:q_(/"""/,e),contains:[g(e),v(e),b(e)]
}),O=(e="")=>({begin:q_(e,/"/),end:q_(/"/,e),contains:[g(e),b(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=q_(e,/\//),n=q_(/\//,e);return{begin:t,end:n,
contains:[...x,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},_={
scope:"regexp",variants:[S("###"),S("##"),S("#"),k]},E={match:q_(/`/,iE,/`/)
},T=[E,{className:"variable",match:/\$\d+/},{className:"variable",
match:`\\$${aE}+`}],C=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{
contains:[{begin:/\(/,end:/\)/,keywords:cE,contains:[...p,m,w]}]}},{
scope:"keyword",match:q_(/@/,H_(...lE))},{scope:"meta",match:q_(/@/,iE)}],A={
match:z_(/\b[A-Z]/),relevance:0,contains:[{className:"type",
match:q_(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,aE,"+")
},{className:"type",match:sE,relevance:0},{match:/[?!]+/,relevance:0},{
match:/\.\.\./,relevance:0},{match:q_(/\s+&\s+/,z_(sE)),relevance:0}]},P={
begin:/</,end:/>/,keywords:l,contains:[...r,...c,...C,d,A]};A.contains.push(P)
;const D={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{
match:q_(iE,/\s*:/),keywords:"_|0",relevance:0
},...r,_,...c,...u,...p,m,w,...T,...C,A]},R={begin:/</,end:/>/,
keywords:"repeat each",contains:[...r,A]},$={begin:/\(/,end:/\)/,keywords:l,
contains:[{begin:H_(z_(q_(iE,/\s*:/)),z_(q_(iE,/\s+/,iE,/\s*:/))),end:/:/,
relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params",
match:iE}]},...r,...c,...p,m,w,...C,A,D],endsParent:!0,illegal:/["']/},N={
match:[/(func|macro)/,/\s+/,H_(E.match,iE,rE)],className:{1:"keyword",
3:"title.function"},contains:[R,$,t],illegal:[/\[/,/%/]},M={
match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"},
contains:[R,$,t],illegal:/\[|%/},I={match:[/operator/,/\s+/,rE],className:{
1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,sE],className:{
1:"keyword",3:"title"},contains:[A],keywords:[...K_,...Y_],end:/}/}
;for(const j of w.variants){const e=j.contains.find((e=>"interpol"===e.label))
;e.keywords=l;const t=[...c,...u,...p,m,w,...T];e.contains=[...t,{begin:/\(/,
end:/\)/,contains:["self",...t]}]}return{name:"Swift",keywords:l,
contains:[...r,N,M,{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:[...r],relevance:0
},_,...c,...u,...p,m,w,...T,...C,A,D]}},typescript:function(e){
const t=function(e){const t=e.regex,n=uE,r="<>",o="</>",a={
begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,
isTrulyOpeningTag:(e,t)=>{const n=e[0].length+e.index,r=e.input[n]
;if("<"===r||","===r)return void t.ignoreMatch();let o
;">"===r&&(((e,{after:t})=>{const n="</"+e[0].slice(1)
;return-1!==e.input.indexOf(n,t)})(e,{after:n})||t.ignoreMatch())
;const a=e.input.substring(n)
;((o=a.match(/^\s*=/))||(o=a.match(/^\s+extends\s+/))&&0===o.index)&&t.ignoreMatch()
}},i={$pattern:uE,keyword:dE,literal:pE,built_in:vE,"variable.language":gE
},s="[0-9](_?[0-9])*",l=`\\.(${s})`,c="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",u={
className:"number",variants:[{
begin:`(\\b(${c})((${l})|\\.)?|(${l}))[eE][+-]?(${s})\\b`},{
begin:`\\b(${c})\\b((${l})\\b|\\.)?|(${l})\\b`},{
begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{
begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{
begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{
begin:"\\b0[0-7]+n?\\b"}],relevance:0},d={className:"subst",begin:"\\$\\{",
end:"\\}",keywords:i,contains:[]},p={begin:"html`",end:"",starts:{end:"`",
returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"xml"}},h={
begin:"css`",end:"",starts:{end:"`",returnEnd:!1,
contains:[e.BACKSLASH_ESCAPE,d],subLanguage:"css"}},f={begin:"gql`",end:"",
starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,d],
subLanguage:"graphql"}},m={className:"string",begin:"`",end:"`",
contains:[e.BACKSLASH_ESCAPE,d]},g={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:n+"(?=\\s*(-)|$)",
endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]
}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]
},v=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,p,h,f,m,{match:/\$\d+/},u]
;d.contains=v.concat({begin:/\{/,end:/\}/,keywords:i,contains:["self"].concat(v)
});const b=[].concat(g,d.contains),y=b.concat([{begin:/\(/,end:/\)/,keywords:i,
contains:["self"].concat(b)}]),O={className:"params",begin:/\(/,end:/\)/,
excludeBegin:!0,excludeEnd:!0,keywords:i,contains:y},w={variants:[{
match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],
scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{
match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},x={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:{_:[...hE,...fE]}},k={variants:[{
match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],
className:{1:"keyword",3:"title.function"},label:"func.def",contains:[O],
illegal:/%/},S={
match:t.concat(/\b/,(_=[...mE,"super","import"],t.concat("(?!",_.join("|"),")")),n,t.lookahead(/\(/)),
className:"title.function",relevance:0};var _;const E={
begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,
excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},T={
match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},
contains:[{begin:/\(\)/},O]
},C="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",A={
match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(C)],
keywords:"async",className:{1:"keyword",3:"title.function"},contains:[O]}
;return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:i,exports:{
PARAMS_CONTAINS:y,CLASS_REFERENCE:x},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,p,h,f,m,g,{match:/\$\d+/},u,x,{
className:"attr",begin:n+t.lookahead(":"),relevance:0},A,{
begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",
keywords:"return throw case",relevance:0,contains:[g,e.REGEXP_MODE,{
className:"function",begin:C,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:i,contains:y}]}]},{begin:/,/,relevance:0},{match:/\s+/,
relevance:0},{variants:[{begin:r,end:o},{match:/<[A-Za-z0-9\\._:-]+\s*\/>/},{
begin:a.begin,"on:begin":a.isTrulyOpeningTag,end:a.end}],subLanguage:"xml",
contains:[{begin:a.begin,end:a.end,skip:!0,contains:["self"]}]}]},k,{
beginKeywords:"while if switch catch for"},{
begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
returnBegin:!0,label:"func.def",contains:[O,e.inherit(e.TITLE_MODE,{begin:n,
className:"title.function"})]},{match:/\.\.\./,relevance:0},E,{match:"\\$"+n,
relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},
contains:[O]},S,{relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,
className:"variable.constant"},w,T,{match:/\$[(.]/}]}
}(e),n=uE,r=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],o={
beginKeywords:"namespace",end:/\{/,excludeEnd:!0,
contains:[t.exports.CLASS_REFERENCE]},a={beginKeywords:"interface",end:/\{/,
excludeEnd:!0,keywords:{keyword:"interface extends",built_in:r},
contains:[t.exports.CLASS_REFERENCE]},i={$pattern:uE,
keyword:dE.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]),
literal:pE,built_in:vE.concat(r),"variable.language":gE},s={className:"meta",
begin:"@"+n},l=(e,t,n)=>{const r=e.contains.findIndex((e=>e.label===t))
;if(-1===r)throw new Error("can not find mode to replace")
;e.contains.splice(r,1,n)}
;return Object.assign(t.keywords,i),t.exports.PARAMS_CONTAINS.push(s),
t.contains=t.contains.concat([s,o,a]),
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:bE,yaml:function(e){
const t="true false yes no null",n="[\\w#;/?:@&=+$,.~*'()[\\]]+",r={
className:"string",relevance:0,variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/
},{begin:/\S+/}],contains:[e.BACKSLASH_ESCAPE,{className:"template-variable",
variants:[{begin:/\{\{/,end:/\}\}/},{begin:/%\{/,end:/\}/}]}]},o=e.inherit(r,{
variants:[{begin:/'/,end:/'/},{begin:/"/,end:/"/},{begin:/[^\s,{}[\]]+/}]}),a={
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"
},i={end:",",endsWithParent:!0,excludeEnd:!0,keywords:t,relevance:0},s={
begin:/\{/,end:/\}/,contains:[i],illegal:"\\n",relevance:0},l={begin:"\\[",
end:"\\]",contains:[i],illegal:"\\n",relevance:0},c=[{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+!"+n},{className:"type",
begin:"!<"+n+">"},{className:"type",begin:"!"+n},{className:"type",begin:"!!"+n
},{className:"meta",begin:"&"+e.UNDERSCORE_IDENT_RE+"$"},{className:"meta",
begin:"\\*"+e.UNDERSCORE_IDENT_RE+"$"},{className:"bullet",begin:"-(?=[ ]|$)",
relevance:0},e.HASH_COMMENT_MODE,{beginKeywords:t,keywords:{literal:t}},a,{
className:"number",begin:e.C_NUMBER_RE+"\\b",relevance:0},s,l,r],u=[...c]
;return u.pop(),u.push(o),i.contains=u,{name:"YAML",case_insensitive:!0,
aliases:["yml"],contains:c}}},jT=function(e,...t){return t=>{
(null==e?void 0:e.transform)&&(null==e?void 0:e.type)&&_h(t,null==e?void 0:e.type,(t=>((null==e?void 0:e.transform)&&(null==e||e.transform(t)),
kh)))}};function BT(e){return FS().use(Zk).use(gk).parse(e)}function UT(e,t=1){
const n=BT(e),r=[];return _h(n,"heading",(e=>{const n=QT(e);n&&r.push({
depth:e.depth??t,value:n.value})})),r}function QT(e){if("text"===e.type)return e
;if("children"in e&&e.children)for(const t of e.children){const e=QT(t)
;if(e)return e}return null}function FT(e){var t;const n=BT(e),r=[];let o=[]
;return null==(t=n.children)||t.forEach((e=>{
"heading"===e.type?(o.length&&r.push(o),r.push([e]),o=[]):o.push(e)
})),o.length&&r.push(o),r.map((e=>function(e){
const t=FS().use(hS).use(gk).stringify({type:"root",children:e});return t.trim()
}(e)))}
const zT=/[\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,qT=Object.hasOwnProperty
;class HT{constructor(){this.occurrences,this.reset()}slug(e,t){const n=this
;let r=VT(e,!0===t);const o=r;for(;qT.call(n.occurrences,r);)n.occurrences[o]++,
r=o+"-"+n.occurrences[o];return n.occurrences[r]=0,r}reset(){
this.occurrences=Object.create(null)}}function VT(e,t){
return"string"!=typeof e?"":(t||(e=e.toLowerCase()),
e.replace(zT,"").replace(/ /g,"-"))}const ZT=(e,t)=>e.map((e=>({...e,
slug:t.slug(e.value)})));function WT(e){const t=new HT,n=UT(e);return ZT(n,t)}
const XT=e=>{const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1}
;function GT(e){var t,n;if(!e)return{}
;const r=Object.keys((null==(t=null==e?void 0:e.components)?void 0:t.schemas)??{}).length?null==(n=null==e?void 0:e.components)?void 0:n.schemas:Object.keys((null==e?void 0:e.definitions)??{}).length?null==e?void 0:e.definitions:{}
;return Object.keys(r??{}).forEach((e=>{var t
;!0===(null==(t=r[e])?void 0:t["x-internal"])&&delete r[e]})),r}
const YT=e=>!!e&&!!Object.keys(GT(e)??{}).length,KT=()=>"undefined"!=typeof navigator&&/Mac/.test(navigator.platform),JT=(e,t)=>e.replace(/\/$/,"")+"/"+t.replace(/^\//,""),eC=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"]
;const tC=(e,t)=>{if("string"!=typeof t||!t.length)return e
;const n=e.trim(),r=t.trim()
;return[n.endsWith("/")?n:`${n}/`,r.startsWith("/")?r.slice(1):r].join("")
},nC=e=>{let t=0,n=0,r=0;if(!(null==e?void 0:e.length))return n
;for(r=0;r<e.length;r++)t=e.charCodeAt(r),n=(n<<5)-n+t,n|=0;return n
},rC=["localhost","127.0.0.1","[::1]","0.0.0.0"];function oC(e,t){
if(!iC(e,t))return t??"";const n=new URL(t)
;return n.href=e,n.searchParams.append("scalar_url",t),n.toString()}
const aC=e=>!e.startsWith("http://")&&!e.startsWith("https://")&&!/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e)
;function iC(e,t){return!(!e||!t)&&(!aC(t)&&!function(e){try{
const{hostname:t}=new URL(e);return rC.includes(t)}catch{return!0}}(t))}
const sC=Symbol.for("yaml.alias"),lC=Symbol.for("yaml.document"),cC=Symbol.for("yaml.map"),uC=Symbol.for("yaml.pair"),dC=Symbol.for("yaml.scalar"),pC=Symbol.for("yaml.seq"),hC=Symbol.for("yaml.node.type"),fC=e=>!!e&&"object"==typeof e&&e[hC]===sC,mC=e=>!!e&&"object"==typeof e&&e[hC]===lC,gC=e=>!!e&&"object"==typeof e&&e[hC]===cC,vC=e=>!!e&&"object"==typeof e&&e[hC]===uC,bC=e=>!!e&&"object"==typeof e&&e[hC]===dC,yC=e=>!!e&&"object"==typeof e&&e[hC]===pC
;function OC(e){if(e&&"object"==typeof e)switch(e[hC]){case cC:case pC:return!0}
return!1}function wC(e){if(e&&"object"==typeof e)switch(e[hC]){case sC:case cC:
case dC:case pC:return!0}return!1}
const xC=e=>(bC(e)||OC(e))&&!!e.anchor,kC=Symbol("break visit"),SC=Symbol("skip children"),_C=Symbol("remove node")
;function EC(e,t){const n=function(e){
if("object"==typeof e&&(e.Collection||e.Node||e.Value))return 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)
;return e}(t);if(mC(e)){
TC(null,e.contents,n,Object.freeze([e]))===_C&&(e.contents=null)
}else TC(null,e,n,Object.freeze([]))}function TC(e,t,n,r){
const o=function(e,t,n,r){var o,a,i,s,l
;return"function"==typeof n?n(e,t,r):gC(t)?null==(o=n.Map)?void 0:o.call(n,e,t,r):yC(t)?null==(a=n.Seq)?void 0:a.call(n,e,t,r):vC(t)?null==(i=n.Pair)?void 0:i.call(n,e,t,r):bC(t)?null==(s=n.Scalar)?void 0:s.call(n,e,t,r):fC(t)?null==(l=n.Alias)?void 0:l.call(n,e,t,r):void 0
}(e,t,n,r);if(wC(o)||vC(o))return function(e,t,n){const r=t[t.length-1]
;if(OC(r))r.items[e]=n;else if(vC(r))"key"===e?r.key=n:r.value=n;else{
if(!mC(r)){const e=fC(r)?"alias":"scalar"
;throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n}
}(e,r,o),TC(e,o,n,r);if("symbol"!=typeof o)if(OC(t)){
r=Object.freeze(r.concat(t));for(let e=0;e<t.items.length;++e){
const o=TC(e,t.items[e],n,r);if("number"==typeof o)e=o-1;else{
if(o===kC)return kC;o===_C&&(t.items.splice(e,1),e-=1)}}}else if(vC(t)){
r=Object.freeze(r.concat(t));const e=TC("key",t.key,n,r);if(e===kC)return kC
;e===_C&&(t.key=null);const o=TC("value",t.value,n,r);if(o===kC)return kC
;o===_C&&(t.value=null)}return o}EC.BREAK=kC,EC.SKIP=SC,EC.REMOVE=_C;const CC={
"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"};class AC{
constructor(e,t){
this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},AC.defaultYaml,e),
this.tags=Object.assign({},AC.defaultTags,t)}clone(){
const e=new AC(this.yaml,this.tags);return e.docStart=this.docStart,e}
atDocument(){const e=new AC(this.yaml,this.tags);switch(this.yaml.version){
case"1.1":this.atNextDocument=!0;break;case"1.2":
this.atNextDocument=!1,this.yaml={explicit:AC.defaultYaml.explicit,version:"1.2"
},this.tags=Object.assign({},AC.defaultTags)}return e}add(e,t){
this.atNextDocument&&(this.yaml={explicit:AC.defaultYaml.explicit,version:"1.1"
},this.tags=Object.assign({},AC.defaultTags),this.atNextDocument=!1)
;const n=e.trim().split(/[ \t]+/),r=n.shift();switch(r){case"%TAG":{
if(2!==n.length&&(t(0,"%TAG directive should contain exactly two parts"),
n.length<2))return!1;const[e,r]=n;return this.tags[e]=r,!0}case"%YAML":{
if(this.yaml.explicit=!0,
1!==n.length)return t(0,"%YAML directive should contain exactly one part"),!1
;const[e]=n;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0
;return t(6,`Unsupported YAML version ${e}`,/^\d+\.\d+$/.test(e)),!1}default:
return t(0,`Unknown directive ${r}`,!0),!1}}tagName(e,t){if("!"===e)return"!"
;if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){
const n=e.slice(2,-1)
;return"!"===n||"!!"===n?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),
null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}
const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`)
;const o=this.tags[n];if(o)try{return o+decodeURIComponent(r)}catch(a){
return t(String(a)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)
}tagString(e){
for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>CC[e]))
;return"!"===e[0]?e:`!<${e}>`}toString(e){
const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags)
;let r;if(e&&n.length>0&&wC(e.contents)){const t={};EC(e.contents,((e,n)=>{
wC(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[]
;for(const[o,a]of n)"!!"===o&&"tag:yaml.org,2002:"===a||e&&!r.some((e=>e.startsWith(a)))||t.push(`%TAG ${o} ${a}`)
;return t.join("\n")}}function PC(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 DC(e){const t=new Set;return EC(e,{Value(e,n){
n.anchor&&t.add(n.anchor)}}),t}function RC(e,t){for(let n=1;;++n){
const r=`${e}${n}`;if(!t.has(r))return r}}function $C(e,t,n,r){
if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,a=r.length;o<a;++o){
const t=r[o],n=$C(e,r,String(o),t);void 0===n?delete r[o]:n!==t&&(r[o]=n)
}else if(r instanceof Map)for(const o of Array.from(r.keys())){
const t=r.get(o),n=$C(e,r,o,t);void 0===n?r.delete(o):n!==t&&r.set(o,n)
}else if(r instanceof Set)for(const o of Array.from(r)){const t=$C(e,r,o,o)
;void 0===t?r.delete(o):t!==o&&(r.delete(o),r.add(t))
}else for(const[o,a]of Object.entries(r)){const t=$C(e,r,o,a)
;void 0===t?delete r[o]:t!==a&&(r[o]=t)}return e.call(t,n,r)}function NC(e,t,n){
if(Array.isArray(e))return e.map(((e,t)=>NC(e,String(t),n)))
;if(e&&"function"==typeof e.toJSON){if(!n||!xC(e))return e.toJSON(t,n);const r={
aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{
r.res=e,delete n.onCreate};const o=e.toJSON(t,n)
;return n.onCreate&&n.onCreate(o),o}
return"bigint"!=typeof e||(null==n?void 0:n.keep)?e:Number(e)}AC.defaultYaml={
explicit:!1,version:"1.2"},AC.defaultTags={"!!":"tag:yaml.org,2002:"};class MC{
constructor(e){Object.defineProperty(this,hC,{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:n,onAnchor:r,reviver:o}={}){
if(!mC(e))throw new TypeError("A document argument is required");const a={
anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,
maxAliasCount:"number"==typeof n?n:100},i=NC(this,"",a)
;if("function"==typeof r)for(const{count:s,res:l}of a.anchors.values())r(l,s)
;return"function"==typeof o?$C(o,{"":i},"",i):i}}let IC=class extends MC{
constructor(e){super(sC),this.source=e,Object.defineProperty(this,"tag",{set(){
throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t
;return EC(e,{Node:(e,n)=>{if(n===this)return EC.BREAK
;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source}
;const{anchors:n,doc:r,maxAliasCount:o}=t,a=this.resolve(r);if(!a){
const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`
;throw new ReferenceError(e)}let i=n.get(a)
;if(i||(NC(a,null,t),i=n.get(a)),!i||void 0===i.res){
throw new ReferenceError("This should not happen: Alias anchor was not resolved?")
}
if(o>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=LC(r,a,n)),i.count*i.aliasCount>o)){
throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack")
}return i.res}toString(e,t,n){const r=`*${this.source}`;if(e){
if(PC(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`${r} `}return r}}
;function LC(e,t,n){if(fC(t)){const r=t.resolve(e),o=n&&r&&n.get(r)
;return o?o.count*o.aliasCount:0}if(OC(t)){let r=0;for(const o of t.items){
const t=LC(e,o,n);t>r&&(r=t)}return r}if(vC(t)){
const r=LC(e,t.key,n),o=LC(e,t.value,n);return Math.max(r,o)}return 1}
const jC=e=>!e||"function"!=typeof e&&"object"!=typeof e;class BC extends MC{
constructor(e){super(dC),this.value=e}toJSON(e,t){
return(null==t?void 0:t.keep)?this.value:NC(this.value,e,t)}toString(){
return String(this.value)}}
BC.BLOCK_FOLDED="BLOCK_FOLDED",BC.BLOCK_LITERAL="BLOCK_LITERAL",
BC.PLAIN="PLAIN",BC.QUOTE_DOUBLE="QUOTE_DOUBLE",BC.QUOTE_SINGLE="QUOTE_SINGLE"
;const UC="tag:yaml.org,2002:";function QC(e,t,n){var r,o,a
;if(mC(e)&&(e=e.contents),wC(e))return e;if(vC(e)){
const t=null==(o=(r=n.schema[cC]).createNode)?void 0:o.call(r,n.schema,null,n)
;return t.items.push(e),t}
(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf())
;const{aliasDuplicateObjects:i,onAnchor:s,onTagObj:l,schema:c,sourceObjects:u}=n
;let d;if(i&&e&&"object"==typeof e){
if(d=u.get(e),d)return d.anchor||(d.anchor=s(e)),new IC(d.anchor);d={
anchor:null,node:null},u.set(e,d)}
(null==t?void 0:t.startsWith("!!"))&&(t=UC+t.slice(2));let p=function(e,t,n){
if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0]
;if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>{var n
;return(null==(n=t.identify)?void 0:n.call(t,e))&&!t.format}))}(e,t,c.tags)
;if(!p){
if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){
const t=new BC(e);return d&&(d.node=t),t}
p=e instanceof Map?c[cC]:Symbol.iterator in Object(e)?c[pC]:c[cC]}
l&&(l(p),delete n.onTagObj)
;const h=(null==p?void 0:p.createNode)?p.createNode(n.schema,e,n):"function"==typeof(null==(a=null==p?void 0:p.nodeClass)?void 0:a.from)?p.nodeClass.from(n.schema,e,n):new BC(e)
;return t?h.tag=t:p.default||(h.tag=p.tag),d&&(d.node=h),h}function FC(e,t,n){
let r=n;for(let o=t.length-1;o>=0;--o){const e=t[o]
;if("number"==typeof e&&Number.isInteger(e)&&e>=0){const t=[];t[e]=r,r=t
}else r=new Map([[e,r]])}return QC(r,void 0,{aliasDuplicateObjects:!1,
keepUndefined:!1,onAnchor:()=>{
throw new Error("This should not happen, please report a bug.")},schema:e,
sourceObjects:new Map})}
const zC=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done
;class qC extends MC{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=>wC(t)||vC(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),
t}addIn(e,t){if(zC(e))this.add(t);else{const[n,...r]=e,o=this.get(n,!0)
;if(OC(o))o.addIn(r,t);else{
if(void 0!==o||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)
;this.set(n,FC(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e
;if(0===n.length)return this.delete(t);const r=this.get(t,!0)
;if(OC(r))return r.deleteIn(n)
;throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}
getIn(e,t){const[n,...r]=e,o=this.get(n,!0)
;return 0===r.length?!t&&bC(o)?o.value:o:OC(o)?o.getIn(r,t):void 0}
hasAllNullValues(e){return this.items.every((t=>{if(!vC(t))return!1
;const n=t.value
;return null==n||e&&bC(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag
}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t)
;const r=this.get(t,!0);return!!OC(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e
;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0)
;if(OC(e))e.setIn(r,t);else{
if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`)
;this.set(n,FC(this.schema,r,t))}}}}qC.maxFlowStringSingleLineLength=60
;const HC=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function VC(e,t){
return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}
const ZC=(e,t,n)=>e.endsWith("\n")?VC(n,t):n.includes("\n")?"\n"+VC(n,t):(e.endsWith(" ")?"":" ")+n,WC="flow",XC="block",GC="quoted"
;function YC(e,t,n="flow",{indentAtStart:r,lineWidth:o=80,minContentWidth:a=20,onFold:i,onOverflow:s}={}){
if(!o||o<0)return e;const l=Math.max(1+a,1+o-t.length);if(e.length<=l)return e
;const c=[],u={};let d,p,h=o-t.length
;"number"==typeof r&&(r>o-Math.max(2,a)?c.push(0):h=o-r);let f=!1,m=-1,g=-1,v=-1
;n===XC&&(m=KC(e,m,t.length),-1!==m&&(h=m+l));for(let y;y=e[m+=1];){
if(n===GC&&"\\"===y){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break
;case"U":m+=9;break;default:m+=1}v=m}
if("\n"===y)n===XC&&(m=KC(e,m,t.length)),h=m+t.length+l,d=void 0;else{
if(" "===y&&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(n===GC){
for(;" "===p||"\t"===p;)p=y,y=e[m+=1],f=!0;const t=m>v+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=y}
if(f&&s&&s(),0===c.length)return e;i&&i();let b=e.slice(0,c[0])
;for(let y=0;y<c.length;++y){const r=c[y],o=c[y+1]||e.length
;0===r?b=`\n${t}${e.slice(0,o)}`:(n===GC&&u[r]&&(b+=`${e[r]}\\`),
b+=`\n${t}${e.slice(r+1,o)}`)}return b}function KC(e,t,n){let r=t,o=t+1,a=e[o]
;for(;" "===a||"\t"===a;)if(t<o+n)a=e[++t];else{do{a=e[++t]}while(a&&"\n"!==a)
;r=t,o=t+1,a=e[o]}return r}const JC=(e,t)=>({
indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,
minContentWidth:e.options.minContentWidth}),eA=e=>/^(%|---|\.\.\.)/m.test(e)
;function tA(e,t){const n=JSON.stringify(e)
;if(t.options.doubleQuotedAsJSON)return n
;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(eA(e)?"  ":"")
;let i="",s=0
;for(let l=0,c=n[l];c;c=n[++l])if(" "===c&&"\\"===n[l+1]&&"n"===n[l+2]&&(i+=n.slice(s,l)+"\\ ",
l+=1,s=l,c="\\"),"\\"===c)switch(n[l+1]){case"u":{i+=n.slice(s,l)
;const e=n.substr(l+2,4);switch(e){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"===e.substr(0,2)?i+="\\x"+e.substr(2):i+=n.substr(l,6)}
l+=5,s=l+1}break;case"n":if(r||'"'===n[l+2]||n.length<o)l+=1;else{
for(i+=n.slice(s,l)+"\n\n";"\\"===n[l+2]&&"n"===n[l+3]&&'"'!==n[l+4];)i+="\n",
l+=2;i+=a," "===n[l+2]&&(i+="\\"),l+=1,s=l+1}break;default:l+=1}
return i=s?i+n.slice(s):n,r?i:YC(i,a,GC,JC(t,!1))}function nA(e,t){
if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return tA(e,t)
;const n=t.indent||(eA(e)?"  ":""),r="'"+e.replace(/'/g,"''").replace(/\n+/g,`$&\n${n}`)+"'"
;return t.implicitKey?r:YC(r,n,WC,JC(t,!1))}function rA(e,t){
const{singleQuote:n}=t.options;let r;if(!1===n)r=tA;else{
const t=e.includes('"'),o=e.includes("'");r=t&&!o?nA:o&&!t?tA:n?nA:tA}
return r(e,t)}let oA;try{oA=new RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{
oA=/\n+(?!\n|$)/g}function aA({comment:e,type:t,value:n},r,o,a){
const{blockQuote:i,commentString:s,lineWidth:l}=r.options
;if(!i||/\n[\t ]+$/.test(n)||/^\s*$/.test(n))return rA(n,r)
;const c=r.indent||(r.forceBlockIndent||eA(n)?"  ":""),u="literal"===i||"folded"!==i&&t!==BC.BLOCK_FOLDED&&(t===BC.BLOCK_LITERAL||!function(e,t,n){
if(!t||t<0)return!1;const r=t-n,o=e.length;if(o<=r)return!1
;for(let a=0,i=0;a<o;++a)if("\n"===e[a]){if(a-i>r)return!0
;if(i=a+1,o-i<=r)return!1}return!0}(n,l,c.length));if(!n)return u?"|\n":">\n"
;let d,p;for(p=n.length;p>0;--p){const e=n[p-1]
;if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(p)
;const f=h.indexOf("\n");-1===f?d="-":n===h||f!==h.length-1?(d="+",a&&a()):d="",
h&&(n=n.slice(0,-h.length),
"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(oA,`$&${c}`))
;let m,g=!1,v=-1;for(m=0;m<n.length;++m){const e=n[m];if(" "===e)g=!0;else{
if("\n"!==e)break;v=m}}let b=n.substring(0,v<m?v+1:m)
;b&&(n=n.substring(b.length),b=b.replace(/\n+/g,`$&${c}`))
;let y=(u?"|":">")+(g?c?"2":"1":"")+d
;if(e&&(y+=" "+s(e.replace(/ ?[\r\n]+/g," ")),
o&&o()),u)return`${y}\n${c}${b}${n=n.replace(/\n+/g,`$&${c}`)}${h}`
;return`${y}\n${c}${YC(`${b}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,XC,JC(r,!0))}`
}function iA(e,t,n,r){
const{implicitKey:o,inFlow:a}=t,i="string"==typeof e.value?e:Object.assign({},e,{
value:String(e.value)});let{type:s}=e
;s!==BC.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=BC.QUOTE_DOUBLE)
;const l=e=>{switch(e){case BC.BLOCK_FOLDED:case BC.BLOCK_LITERAL:
return o||a?rA(i.value,t):aA(i,t,n,r);case BC.QUOTE_DOUBLE:return tA(i.value,t)
;case BC.QUOTE_SINGLE:return nA(i.value,t);case BC.PLAIN:
return function(e,t,n,r){
const{type:o,value:a}=e,{actualString:i,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t
;if(s&&a.includes("\n")||u&&/[[\]{},]/.test(a))return rA(a,t)
;if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return s||u||!a.includes("\n")?rA(a,t):aA(e,t,n,r)
;if(!s&&!u&&o!==BC.PLAIN&&a.includes("\n"))return aA(e,t,n,r);if(eA(a)){
if(""===l)return t.forceBlockIndent=!0,aA(e,t,n,r);if(s&&l===c)return rA(a,t)}
const d=a.replace(/\n+/g,`$&\n${l}`);if(i){const e=e=>{var t
;return e.default&&"tag:yaml.org,2002:str"!==e.tag&&(null==(t=e.test)?void 0:t.test(d))
},{compat:n,tags:r}=t.doc.schema
;if(r.some(e)||(null==n?void 0:n.some(e)))return rA(a,t)}
return s?d:YC(d,l,WC,JC(t,!1))}(i,t,n,r);default:return null}};let c=l(s)
;if(null===c){const{defaultKeyType:e,defaultStringType:n}=t.options,r=o&&e||n
;if(c=l(r),null===c)throw new Error(`Unsupported default string type ${r}`)}
return c}function sA(e,t){const n=Object.assign({blockQuote:!0,commentString:HC,
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 r;switch(n.collectionStyle){case"block":r=!1
;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,
flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",
indentStep:"number"==typeof n.indent?" ".repeat(n.indent):"  ",inFlow:r,
options:n}}function lA(e,t,n,r){var o;if(vC(e))return e.toString(t,n,r)
;if(fC(e)){if(t.doc.directives)return e.toString(t)
;if(null==(o=t.resolvedAliases)?void 0:o.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 i=wC(e)?e:t.doc.createNode(e,{onTagObj:e=>a=e})
;a||(a=function(e,t){var n;if(t.tag){const n=e.filter((e=>e.tag===t.tag))
;if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let r,o;if(bC(t)){
o=t.value;const n=e.filter((e=>{var t
;return null==(t=e.identify)?void 0:t.call(e,o)}))
;r=n.find((e=>e.format===t.format))??n.find((e=>!e.format))
}else o=t,r=e.find((e=>e.nodeClass&&o instanceof e.nodeClass));if(!r){
const e=(null==(n=null==o?void 0:o.constructor)?void 0:n.name)??typeof o
;throw new Error(`Tag not resolved for ${e} value`)}return r
}(t.doc.schema.tags,i));const s=function(e,t,{anchors:n,doc:r}){
if(!r.directives)return"";const o=[],a=(bC(e)||OC(e))&&e.anchor
;a&&PC(a)&&(n.add(a),o.push(`&${a}`));const i=e.tag?e.tag:t.default?null:t.tag
;return i&&o.push(r.directives.tagString(i)),o.join(" ")}(i,a,t)
;s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1)
;const l="function"==typeof a.stringify?a.stringify(i,t,n,r):bC(i)?iA(i,t,n,r):i.toString(t,n,r)
;return s?bC(i)||"{"===l[0]||"["===l[0]?`${s} ${l}`:`${s}\n${t.indent}${l}`:l}
function cA(e,t){
"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))
}function uA(e,t,{key:n,value:r}){
if((null==e?void 0:e.doc.schema.merge)&&dA(n))if(r=fC(r)?r.resolve(e.doc):r,
yC(r))for(const o of r.items)pA(e,t,o);else if(Array.isArray(r))for(const o of r)pA(e,t,o);else pA(e,t,r);else{
const o=NC(n,"",e)
;if(t instanceof Map)t.set(o,NC(r,o,e));else if(t instanceof Set)t.add(o);else{
const a=function(e,t,n){if(null===t)return""
;if("object"!=typeof t)return String(t);if(wC(e)&&(null==n?void 0:n.doc)){
const t=sA(n.doc,{});t.anchors=new Set
;for(const e of n.anchors.keys())t.anchors.add(e.anchor)
;t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){
let e=JSON.stringify(r)
;e.length>40&&(e=e.substring(0,36)+'..."'),cA(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),
n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,o,e),i=NC(r,a,e)
;a in t?Object.defineProperty(t,a,{value:i,writable:!0,enumerable:!0,
configurable:!0}):t[a]=i}}return t}
const dA=e=>"<<"===e||bC(e)&&"<<"===e.value&&(!e.type||e.type===BC.PLAIN)
;function pA(e,t,n){const r=e&&fC(n)?n.resolve(e.doc):n
;if(!gC(r))throw new Error("Merge sources must be maps or map aliases")
;const o=r.toJSON(null,e,Map)
;for(const[a,i]of o)t instanceof Map?t.has(a)||t.set(a,i):t instanceof Set?t.add(a):Object.prototype.hasOwnProperty.call(t,a)||Object.defineProperty(t,a,{
value:i,writable:!0,enumerable:!0,configurable:!0});return t}function hA(e,t,n){
const r=QC(e,void 0,n),o=QC(t,void 0,n);return new fA(r,o)}class fA{
constructor(e,t=null){Object.defineProperty(this,hC,{value:uC
}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this
;return wC(t)&&(t=t.clone(e)),wC(n)&&(n=n.clone(e)),new fA(t,n)}toJSON(e,t){
return uA(t,(null==t?void 0:t.mapAsMap)?new Map:{},this)}toString(e,t,n){
return(null==e?void 0:e.doc)?function({key:e,value:t},n,r,o){
const{allNullValues:a,doc:i,indent:s,indentStep:l,options:{commentString:c,indentSeq:u,simpleKeys:d}}=n
;let p=wC(e)&&e.comment||null;if(d){
if(p)throw new Error("With simple keys, key nodes cannot have comments")
;if(OC(e)||!wC(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&&!n.inFlow||OC(e)||(bC(e)?e.type===BC.BLOCK_FOLDED||e.type===BC.BLOCK_LITERAL:"object"==typeof e))
;n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(d||!a),indent:s+l})
;let f,m,g,v=!1,b=!1,y=lA(e,n,(()=>v=!0),(()=>b=!0))
;if(!h&&!n.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(n.inFlow){if(a||null==t)return v&&r&&r(),""===y?"?":h?`? ${y}`:y
}else if(a&&!d||null==t&&h)return y=`? ${y}`,
p&&!v?y+=ZC(y,n.indent,c(p)):b&&o&&o(),y
;v&&(p=null),h?(p&&(y+=ZC(y,n.indent,c(p))),
y=`? ${y}\n${s}:`):(y=`${y}:`,p&&(y+=ZC(y,n.indent,c(p)))),
wC(t)?(f=!!t.spaceBefore,
m=t.commentBefore,g=t.comment):(f=!1,m=null,g=null,t&&"object"==typeof t&&(t=i.createNode(t))),
n.implicitKey=!1,
h||p||!bC(t)||(n.indentAtStart=y.length+1),b=!1,u||!(l.length>=2)||n.inFlow||h||!yC(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2))
;let O=!1;const w=lA(t,n,(()=>O=!0),(()=>b=!0));let x=" "
;if(p||f||m)x=f?"\n":"",
m&&(x+=`\n${VC(c(m),n.indent)}`),""!==w||n.inFlow?x+=`\n${n.indent}`:"\n"===x&&(x="\n\n");else if(!h&&OC(t)){
const e=w[0],r=w.indexOf("\n"),o=-1!==r,a=n.inFlow??t.flow??0===t.items.length
;if(o||!a){let t=!1;if(o&&("&"===e||"!"===e)){let n=w.indexOf(" ")
;"&"===e&&-1!==n&&n<r&&"!"===w[n+1]&&(n=w.indexOf(" ",n+1)),
(-1===n||r<n)&&(t=!0)}t||(x=`\n${n.indent}`)}}else""!==w&&"\n"!==w[0]||(x="")
;return y+=x+w,n.inFlow?O&&r&&r():g&&!O?y+=ZC(y,n.indent,c(g)):b&&o&&o(),y
}(this,e,t,n):JSON.stringify(this)}}function mA(e,t,n){
return(t.inFlow??e.flow?vA:gA)(e,t,n)}
function gA({comment:e,items:t},n,{blockItemPrefix:r,flowChars:o,itemIndent:a,onChompKeep:i,onComment:s}){
const{indent:l,options:{commentString:c}}=n,u=Object.assign({},n,{indent:a,
type:null});let d=!1;const p=[];for(let f=0;f<t.length;++f){const e=t[f]
;let o=null
;if(wC(e))!d&&e.spaceBefore&&p.push(""),bA(n,p,e.commentBefore,d),e.comment&&(o=e.comment);else if(vC(e)){
const t=wC(e.key)?e.key:null
;t&&(!d&&t.spaceBefore&&p.push(""),bA(n,p,t.commentBefore,d))}d=!1
;let i=lA(e,u,(()=>o=null),(()=>d=!0))
;o&&(i+=ZC(i,a,c(o))),d&&o&&(d=!1),p.push(r+i)}let h
;if(0===p.length)h=o.start+o.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"+VC(c(e),l),s&&s()):d&&i&&i(),h}
function vA({items:e},t,{flowChars:n,itemIndent:r}){
const{indent:o,indentStep:a,flowCollectionPadding:i,options:{commentString:s}}=t
;r+=a;const l=Object.assign({},t,{indent:r,inFlow:!0,type:null});let c=!1,u=0
;const d=[];for(let f=0;f<e.length;++f){const n=e[f];let o=null
;if(wC(n))n.spaceBefore&&d.push(""),
bA(t,d,n.commentBefore,!1),n.comment&&(o=n.comment);else if(vC(n)){
const e=wC(n.key)?n.key:null
;e&&(e.spaceBefore&&d.push(""),bA(t,d,e.commentBefore,!1),e.comment&&(c=!0))
;const r=wC(n.value)?n.value:null
;r?(r.comment&&(o=r.comment),r.commentBefore&&(c=!0)):null==n.value&&(null==e?void 0:e.comment)&&(o=e.comment)
}o&&(c=!0);let a=lA(n,l,(()=>o=null))
;f<e.length-1&&(a+=","),o&&(a+=ZC(a,r,s(o))),
!c&&(d.length>u||a.includes("\n"))&&(c=!0),d.push(a),u=d.length}
const{start:p,end:h}=n;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${a}${o}${t}`:"\n";return`${e}\n${o}${h}`}
return`${p}${i}${d.join(" ")}${i}${h}`}
function bA({indent:e,options:{commentString:t}},n,r,o){
if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=VC(t(r),e);n.push(o.trimStart())}}
function yA(e,t){const n=bC(t)?t.value:t;for(const r of e)if(vC(r)){
if(r.key===t||r.key===n)return r;if(bC(r.key)&&r.key.value===n)return r}}
class OA extends qC{static get tagName(){return"tag:yaml.org,2002:map"}
constructor(e){super(cC,e),this.items=[]}static from(e,t,n){
const{keepUndefined:r,replacer:o}=n,a=new this(e),i=(e,i)=>{
if("function"==typeof o)i=o.call(t,e,i);else if(Array.isArray(o)&&!o.includes(e))return
;(void 0!==i||r)&&a.items.push(hA(e,i,n))}
;if(t instanceof Map)for(const[s,l]of t)i(s,l);else if(t&&"object"==typeof t)for(const s of Object.keys(t))i(s,t[s])
;return"function"==typeof e.sortMapEntries&&a.items.sort(e.sortMapEntries),a}
add(e,t){var n;let r
;r=vC(e)?e:e&&"object"==typeof e&&"key"in e?new fA(e.key,e.value):new fA(e,null==e?void 0:e.value)
;const o=yA(this.items,r.key),a=null==(n=this.schema)?void 0:n.sortMapEntries
;if(o){if(!t)throw new Error(`Key ${r.key} already set`)
;bC(o.value)&&jC(r.value)?o.value.value=r.value:o.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=yA(this.items,e);if(!t)return!1
;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){
const n=yA(this.items,e),r=null==n?void 0:n.value
;return(!t&&bC(r)?r.value:r)??void 0}has(e){return!!yA(this.items,e)}set(e,t){
this.add(new fA(e,t),!0)}toJSON(e,t,n){
const r=n?new n:(null==t?void 0:t.mapAsMap)?new Map:{}
;(null==t?void 0:t.onCreate)&&t.onCreate(r);for(const o of this.items)uA(t,r,o)
;return r}toString(e,t,n){if(!e)return JSON.stringify(this)
;for(const r of this.items)if(!vC(r))throw new Error(`Map items must all be pairs; found ${JSON.stringify(r)} instead`)
;return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{
allNullValues:!0})),mA(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},
itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const wA={collection:"map",
default:!0,nodeClass:OA,tag:"tag:yaml.org,2002:map",
resolve:(e,t)=>(gC(e)||t("Expected a mapping for this tag"),e),
createNode:(e,t,n)=>OA.from(e,t,n)};class xA extends qC{static get tagName(){
return"tag:yaml.org,2002:seq"}constructor(e){super(pC,e),this.items=[]}add(e){
this.items.push(e)}delete(e){const t=kA(e);if("number"!=typeof t)return!1
;return this.items.splice(t,1).length>0}get(e,t){const n=kA(e)
;if("number"!=typeof n)return;const r=this.items[n];return!t&&bC(r)?r.value:r}
has(e){const t=kA(e);return"number"==typeof t&&t<this.items.length}set(e,t){
const n=kA(e)
;if("number"!=typeof n)throw new Error(`Expected a valid index, not ${e}.`)
;const r=this.items[n];bC(r)&&jC(t)?r.value=t:this.items[n]=t}toJSON(e,t){
const n=[];(null==t?void 0:t.onCreate)&&t.onCreate(n);let r=0
;for(const o of this.items)n.push(NC(o,String(r++),t));return n}toString(e,t,n){
return e?mA(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},
itemIndent:(e.indent||"")+"  ",onChompKeep:n,onComment:t}):JSON.stringify(this)}
static from(e,t,n){const{replacer:r}=n,o=new this(e)
;if(t&&Symbol.iterator in Object(t)){let e=0;for(let a of t){
if("function"==typeof r){const n=t instanceof Set?a:String(e++);a=r.call(t,n,a)}
o.items.push(QC(a,void 0,n))}}return o}}function kA(e){let t=bC(e)?e.value:e
;return t&&"string"==typeof t&&(t=Number(t)),
"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}const SA={collection:"seq",
default:!0,nodeClass:xA,tag:"tag:yaml.org,2002:seq",
resolve:(e,t)=>(yC(e)||t("Expected a sequence for this tag"),e),
createNode:(e,t,n)=>xA.from(e,t,n)},_A={identify:e=>"string"==typeof e,
default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,
stringify:(e,t,n,r)=>iA(e,t=Object.assign({actualString:!0},t),n,r)},EA={
identify:e=>null==e,createNode:()=>new BC(null),default:!0,
tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,
resolve:()=>new BC(null),
stringify:({source:e},t)=>"string"==typeof e&&EA.test.test(e)?e:t.options.nullStr
},TA={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",
test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,
resolve:e=>new BC("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){
if(e&&TA.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e}
return t?n.options.trueStr:n.options.falseStr}}
;function CA({format:e,minFractionDigits:t,tag:n,value:r}){
if("bigint"==typeof r)return String(r);const o="number"==typeof r?r:Number(r)
;if(!isFinite(o))return isNaN(o)?".nan":o<0?"-.inf":".inf"
;let a=JSON.stringify(r)
;if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(a)){
let e=a.indexOf(".");e<0&&(e=a.length,a+=".");let n=t-(a.length-e-1)
;for(;n-- >0;)a+="0"}return a}const AA={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:CA},PA={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():CA(e)}},DA={
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 BC(parseFloat(e)),n=e.indexOf(".")
;return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},
stringify:CA
},RA=e=>"bigint"==typeof e||Number.isInteger(e),$A=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n)
;function NA(e,t,n){const{value:r}=e;return RA(r)&&r>=0?n+r.toString(t):CA(e)}
const MA={identify:e=>RA(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",
format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>$A(e,2,8,n),
stringify:e=>NA(e,8,"0o")},IA={identify:RA,default:!0,
tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>$A(e,0,10,n),
stringify:CA},LA={identify:e=>RA(e)&&e>=0,default:!0,
tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,
resolve:(e,t,n)=>$A(e,2,16,n),stringify:e=>NA(e,16,"0x")
},jA=[wA,SA,_A,EA,TA,MA,IA,LA,AA,PA,DA];function BA(e){
return"bigint"==typeof e||Number.isInteger(e)}
const UA=({value:e})=>JSON.stringify(e),QA=[wA,SA].concat([{
identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",
resolve:e=>e,stringify:UA},{identify:e=>null==e,createNode:()=>new BC(null),
default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,
stringify:UA},{identify:e=>"boolean"==typeof e,default:!0,
tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,
stringify:UA},{identify:BA,default:!0,tag:"tag:yaml.org,2002:int",
test:/^-?(?:0|[1-9][0-9]*)$/,
resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),
stringify:({value:e})=>BA(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:UA}],{default:!0,tag:"",test:/^/,
resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),FA={
identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",
resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64")
;if("function"==typeof atob){
const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length)
;for(let e=0;e<t.length;++e)n[e]=t.charCodeAt(e);return n}
return t("This environment does not support reading binary tags; either Buffer or atob is required"),
e},stringify({comment:e,type:t,value:n},r,o,a){const i=n;let s
;if("function"==typeof Buffer)s=i instanceof Buffer?i.toString("base64"):Buffer.from(i.buffer).toString("base64");else{
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=BC.BLOCK_LITERAL),t!==BC.QUOTE_DOUBLE){
const e=Math.max(r.options.lineWidth-r.indent.length,r.options.minContentWidth),n=Math.ceil(s.length/e),o=new Array(n)
;for(let t=0,r=0;t<n;++t,r+=e)o[t]=s.substr(r,e)
;s=o.join(t===BC.BLOCK_LITERAL?"\n":" ")}return iA({comment:e,type:t,value:s
},r,o,a)}};function zA(e,t){if(yC(e))for(let n=0;n<e.items.length;++n){
let r=e.items[n];if(!vC(r)){if(gC(r)){
r.items.length>1&&t("Each pair must have its own sequence indicator")
;const e=r.items[0]||new fA(new BC(null))
;if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),
r.comment){const t=e.value??e.key
;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}
e.items[n]=vC(r)?r:new fA(r)}}else t("Expected a sequence for this tag")
;return e}function qA(e,t,n){const{replacer:r}=n,o=new xA(e)
;o.tag="tag:yaml.org,2002:pairs";let a=0
;if(t&&Symbol.iterator in Object(t))for(let i of t){let e,s
;if("function"==typeof r&&(i=r.call(t,String(a++),i)),Array.isArray(i)){
if(2!==i.length)throw new TypeError(`Expected [key, value] tuple: ${i}`);e=i[0],
s=i[1]}else if(i&&i instanceof Object){const t=Object.keys(i)
;if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`)
;e=t[0],s=i[e]}else e=i;o.items.push(hA(e,s,n))}return o}const HA={
collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:zA,
createNode:qA};class VA extends xA{constructor(){
super(),this.add=OA.prototype.add.bind(this),
this.delete=OA.prototype.delete.bind(this),this.get=OA.prototype.get.bind(this),
this.has=OA.prototype.has.bind(this),
this.set=OA.prototype.set.bind(this),this.tag=VA.tag}toJSON(e,t){
if(!t)return super.toJSON(e);const n=new Map
;(null==t?void 0:t.onCreate)&&t.onCreate(n);for(const r of this.items){let e,o
;if(vC(r)?(e=NC(r.key,"",t),
o=NC(r.value,e,t)):e=NC(r,"",t),n.has(e))throw new Error("Ordered maps must not include duplicate keys")
;n.set(e,o)}return n}static from(e,t,n){const r=qA(e,t,n),o=new this
;return o.items=r.items,o}}VA.tag="tag:yaml.org,2002:omap";const ZA={
collection:"seq",identify:e=>e instanceof Map,nodeClass:VA,default:!1,
tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=zA(e,t),r=[]
;for(const{key:o}of n.items)bC(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value))
;return Object.assign(new VA,n)},createNode:(e,t,n)=>VA.from(e,t,n)}
;function WA({value:e,source:t},n){
return t&&(e?XA:GA).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}
const XA={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 BC(!0),
stringify:WA},GA={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 BC(!1),
stringify:WA},YA={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:CA},KA={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():CA(e)}},JA={
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 BC(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){
const r=e.substring(n+1).replace(/_/g,"")
;"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:CA
},eP=e=>"bigint"==typeof e||Number.isInteger(e)
;function tP(e,t,n,{intAsBigInt:r}){const o=e[0]
;if("-"!==o&&"+"!==o||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){
case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}
const t=BigInt(e);return"-"===o?BigInt(-1)*t:t}const a=parseInt(e,n)
;return"-"===o?-1*a:a}function nP(e,t,n){const{value:r}=e;if(eP(r)){
const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return CA(e)}const rP={
identify:eP,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",
test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>tP(e,2,2,n),stringify:e=>nP(e,2,"0b")
},oP={identify:eP,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",
test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>tP(e,1,8,n),stringify:e=>nP(e,8,"0")
},aP={identify:eP,default:!0,tag:"tag:yaml.org,2002:int",
test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>tP(e,0,10,n),stringify:CA},iP={
identify:eP,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",
test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>tP(e,2,16,n),
stringify:e=>nP(e,16,"0x")};class sP extends OA{constructor(e){
super(e),this.tag=sP.tag}add(e){let t
;t=vC(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new fA(e.key,null):new fA(e,null)
;yA(this.items,t.key)||this.items.push(t)}get(e,t){const n=yA(this.items,e)
;return!t&&vC(n)?bC(n.key)?n.key.value:n.key:n}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 n=yA(this.items,e)
;n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new fA(e))
}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){
if(!e)return JSON.stringify(this)
;if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{
allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}
static from(e,t,n){const{replacer:r}=n,o=new this(e)
;if(t&&Symbol.iterator in Object(t))for(let a of t)"function"==typeof r&&(a=r.call(t,a,a)),
o.items.push(hA(a,null,n));return o}}sP.tag="tag:yaml.org,2002:set";const lP={
collection:"map",identify:e=>e instanceof Set,nodeClass:sP,default:!1,
tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>sP.from(e,t,n),resolve(e,t){
if(gC(e)){if(e.hasAllNullValues(!0))return Object.assign(new sP,e)
;t("Set items must all have null values")
}else t("Expected a mapping for this tag");return e}};function cP(e,t){
const n=e[0],r="-"===n||"+"===n?e.substring(1):e,o=e=>t?BigInt(e):Number(e),a=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*o(60)+o(t)),o(0))
;return"-"===n?o(-1)*a:a}function uP(e){let{value:t}=e,n=e=>e
;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return CA(e)
;let r="";t<0&&(r="-",t*=n(-1));const o=n(60),a=[t%o]
;return t<60?a.unshift(0):(t=(t-a[0])/o,
a.unshift(t%o),t>=60&&(t=(t-a[0])/o,a.unshift(t))),
r+a.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}
const dP={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:n})=>cP(e,n),stringify:uP},pP={
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=>cP(e,!1),stringify:uP},hP={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(hP.test)
;if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd")
;const[,n,r,o,a,i,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0
;let c=Date.UTC(n,r-1,o,a||0,i||0,s||0,l);const u=t[8];if(u&&"Z"!==u){
let e=cP(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$/,"")
},fP=[wA,SA,_A,EA,XA,GA,rP,oP,aP,iP,YA,KA,JA,FA,ZA,HA,lP,dP,pP,hP],mP=new Map([["core",jA],["failsafe",[wA,SA,_A]],["json",QA],["yaml11",fP],["yaml-1.1",fP]]),gP={
binary:FA,bool:TA,float:DA,floatExp:PA,floatNaN:AA,floatTime:pP,int:IA,
intHex:LA,intOct:MA,intTime:dP,map:wA,null:EA,omap:ZA,pairs:HA,seq:SA,set:lP,
timestamp:hP},vP={"tag:yaml.org,2002:binary":FA,"tag:yaml.org,2002:omap":ZA,
"tag:yaml.org,2002:pairs":HA,"tag:yaml.org,2002:set":lP,
"tag:yaml.org,2002:timestamp":hP};function bP(e,t){let n=mP.get(t);if(!n){
if(!Array.isArray(e)){
const e=Array.from(mP.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`)
}n=[]}
if(Array.isArray(e))for(const r of e)n=n.concat(r);else"function"==typeof e&&(n=e(n.slice()))
;return n.map((e=>{if("string"!=typeof e)return e;const t=gP[e];if(t)return t
;const n=Object.keys(gP).map((e=>JSON.stringify(e))).join(", ")
;throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}
const yP=(e,t)=>e.key<t.key?-1:e.key>t.key?1:0;let OP=class e{
constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:a,toStringDefaults:i}){
this.compat=Array.isArray(e)?bP(e,"compat"):e?bP(null,e):null,
this.merge=!!n,this.name="string"==typeof o&&o||"core",
this.knownTags=r?vP:{},this.tags=bP(t,this.name),
this.toStringOptions=i??null,Object.defineProperty(this,cC,{value:wA
}),Object.defineProperty(this,dC,{value:_A}),Object.defineProperty(this,pC,{
value:SA}),this.sortMapEntries="function"==typeof a?a:!0===a?yP:null}clone(){
const t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this))
;return t.tags=this.tags.slice(),t}};let wP=class e{constructor(e,t,n){
this.commentBefore=null,
this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,hC,{
value:lC});let r=null
;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0)
;const o=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",
prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=o
;let{version:a}=o
;(null==n?void 0:n._directives)?(this.directives=n._directives.atDocument(),
this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new AC({
version:a
}),this.setSchema(a,n),this.contents=void 0===e?null:this.createNode(e,r,n)}
clone(){const t=Object.create(e.prototype,{[hC]:{value:lC}})
;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=wC(this.contents)?this.contents.clone(t.schema):this.contents,
this.range&&(t.range=this.range.slice()),t}add(e){
xP(this.contents)&&this.contents.add(e)}addIn(e,t){
xP(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){
const n=DC(this);e.anchor=!t||n.has(t)?RC(t||"a",n):t}return new IC(e.anchor)}
createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e
},"",e),r=t;else if(Array.isArray(t)){
const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String)
;n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0)
;const{aliasDuplicateObjects:o,anchorPrefix:a,flow:i,keepUndefined:s,onTagObj:l,tag:c}=n??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=function(e,t){
const n=[],r=new Map;let o=null;return{onAnchor:r=>{n.push(r),o||(o=DC(e))
;const a=RC(t,o);return o.add(a),a},setAnchors:()=>{for(const e of n){
const t=r.get(e);if("object"!=typeof t||!t.anchor||!bC(t.node)&&!OC(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:r}
}(this,a||"a"),h=QC(e,c,{aliasDuplicateObjects:o??!0,keepUndefined:s??!1,
onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:p})
;return i&&OC(h)&&(h.flow=!0),d(),h}createPair(e,t,n={}){
const r=this.createNode(e,null,n),o=this.createNode(t,null,n);return new fA(r,o)
}delete(e){return!!xP(this.contents)&&this.contents.delete(e)}deleteIn(e){
return zC(e)?null!=this.contents&&(this.contents=null,
!0):!!xP(this.contents)&&this.contents.deleteIn(e)}get(e,t){
return OC(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){
return zC(e)?!t&&bC(this.contents)?this.contents.value:this.contents:OC(this.contents)?this.contents.getIn(e,t):void 0
}has(e){return!!OC(this.contents)&&this.contents.has(e)}hasIn(e){
return zC(e)?void 0!==this.contents:!!OC(this.contents)&&this.contents.hasIn(e)}
set(e,t){
null==this.contents?this.contents=FC(this.schema,[e],t):xP(this.contents)&&this.contents.set(e,t)
}setIn(e,t){
zC(e)?this.contents=t:null==this.contents?this.contents=FC(this.schema,Array.from(e),t):xP(this.contents)&&this.contents.setIn(e,t)
}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":
this.directives?this.directives.yaml.version="1.1":this.directives=new AC({
version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break
;case"1.2":case"next":
this.directives?this.directives.yaml.version=e:this.directives=new AC({version:e
}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:
this.directives&&delete this.directives,n=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(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required")
;this.schema=new OP(Object.assign(n,t))}}
toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:o,reviver:a}={}){
const i={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,
maxAliasCount:"number"==typeof r?r:100},s=NC(this.contents,t??"",i)
;if("function"==typeof o)for(const{count:l,res:c}of i.anchors.values())o(c,l)
;return"function"==typeof a?$C(a,{"":s},"",s):s}toJSON(e,t){return this.toJS({
json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){
if(this.errors.length>0)throw new Error("Document with errors cannot be stringified")
;if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){
const t=JSON.stringify(e.indent)
;throw new Error(`"indent" option must be a positive integer, not ${t}`)}
return function(e,t){var n;const r=[];let o=!0===t.directives
;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e)
;t?(r.push(t),o=!0):e.directives.docStart&&(o=!0)}o&&r.push("---")
;const a=sA(e,t),{commentString:i}=a.options;if(e.commentBefore){
1!==r.length&&r.unshift("");const t=i(e.commentBefore);r.unshift(VC(t,""))}
let s=!1,l=null;if(e.contents){if(wC(e.contents)){
if(e.contents.spaceBefore&&o&&r.push(""),e.contents.commentBefore){
const t=i(e.contents.commentBefore);r.push(VC(t,""))}
a.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>s=!0
;let n=lA(e.contents,a,(()=>l=null),t)
;l&&(n+=ZC(n,"",i(l))),"|"!==n[0]&&">"!==n[0]||"---"!==r[r.length-1]?r.push(n):r[r.length-1]=`--- ${n}`
}else r.push(lA(e.contents,a))
;if(null==(n=e.directives)?void 0:n.docEnd)if(e.comment){const t=i(e.comment)
;t.includes("\n")?(r.push("..."),r.push(VC(t,""))):r.push(`... ${t}`)
}else r.push("...");else{let t=e.comment
;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!l||""===r[r.length-1]||r.push(""),
r.push(VC(i(t),"")))}return r.join("\n")+"\n"}(this,e)}};function xP(e){
if(OC(e))return!0
;throw new Error("Expected a YAML collection as document contents")}
class kP extends Error{constructor(e,t,n,r){
super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class SP extends kP{
constructor(e,t,n){super("YAMLParseError",e,t,n)}}class _P extends kP{
constructor(e,t,n){super("YAMLWarning",e,t,n)}}const EP=(e,t)=>n=>{
if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)))
;const{line:r,col:o}=n.linePos[0];n.message+=` at line ${r}, column ${o}`
;let a=o-1,i=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"")
;if(a>=60&&i.length>80){const e=Math.min(a-39,i.length-79);i="…"+i.substring(e),
a-=e-1}
if(i.length>80&&(i=i.substring(0,79)+"…"),r>1&&/^ *$/.test(i.substring(0,a))){
let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1])
;n.length>80&&(n=n.substring(0,79)+"…\n"),i=n+i}if(/[^ ]/.test(i)){let e=1
;const t=n.linePos[1]
;t&&t.line===r&&t.col>o&&(e=Math.max(1,Math.min(t.col-o,80-a)))
;const s=" ".repeat(a)+"^".repeat(e);n.message+=`:\n\n${i}\n${s}\n`}}
;function TP(e,{flow:t,indicator:n,next:r,offset:o,onError:a,parentIndent:i,startOnNewline:s}){
let l=!1,c=s,u=s,d="",p="",h=!1,f=!1,m=!1,g=null,v=null,b=null,y=null,O=null,w=null
;for(const S of e)switch(m&&("space"!==S.type&&"newline"!==S.type&&"comma"!==S.type&&a(S.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),
m=!1),
g&&(c&&"comment"!==S.type&&"newline"!==S.type&&a(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),
g=null),S.type){case"space":
t||"doc-start"===n&&"flow-collection"===(null==r?void 0:r.type)||!S.source.includes("\t")||(g=S),
u=!0;break;case"comment":{
u||a(S,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
;const e=S.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":
c?d?d+=S.source:l=!0:p+=S.source,c=!0,h=!0,(v||b)&&(f=!0),u=!0;break
;case"anchor":
v&&a(S,"MULTIPLE_ANCHORS","A node can have at most one anchor"),S.source.endsWith(":")&&a(S.offset+S.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),
v=S,null===w&&(w=S.offset),c=!1,u=!1,m=!0;break;case"tag":
b&&a(S,"MULTIPLE_TAGS","A node can have at most one tag"),
b=S,null===w&&(w=S.offset),c=!1,u=!1,m=!0;break;case n:
(v||b)&&a(S,"BAD_PROP_ORDER",`Anchors and tags must be after the ${S.source} indicator`),
O&&a(S,"UNEXPECTED_TOKEN",`Unexpected ${S.source} in ${t??"collection"}`),
O=S,c="seq-item-ind"===n||"explicit-key-ind"===n,u=!1;break;case"comma":if(t){
y&&a(S,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=S,c=!1,u=!1;break}default:
a(S,"UNEXPECTED_TOKEN",`Unexpected ${S.type} token`),c=!1,u=!1}
const x=e[e.length-1],k=x?x.offset+x.source.length:o
;return m&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&a(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),
g&&(c&&g.indent<=i||"block-map"===(null==r?void 0:r.type)||"block-seq"===(null==r?void 0:r.type))&&a(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),
{comma:y,found:O,spaceBefore:l,comment:d,hasNewline:h,hasNewlineAfterProp:f,
anchor:v,tag:b,end:k,start:w??k}}function CP(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(CP(t.key)||CP(t.value))return!0}return!1;default:return!0}}
function AP(e,t,n){if("flow-collection"===(null==t?void 0:t.type)){
const r=t.end[0];if(r.indent===e&&("]"===r.source||"}"===r.source)&&CP(t)){
n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}}
function PP(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1
;const o="function"==typeof r?r:(t,n)=>t===n||bC(t)&&bC(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge)
;return t.some((e=>o(e.key,n)))}
const DP="All mapping items must start at the same column";function RP(e,t,n,r){
let o="";if(e){let a=!1,i="";for(const s of e){const{source:e,type:l}=s
;switch(l){case"space":a=!0;break;case"comment":{
n&&!a&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
;const t=e.substring(1)||" ";o?o+=i+t:o=t,i="";break}case"newline":
o&&(i+=e),a=!0;break;default:
r(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{
comment:o,offset:t}}
const $P="Block collections are not allowed within flow collections",NP=e=>e&&("block-map"===e.type||"block-seq"===e.type)
;function MP(e,t,n,r,o,a){
const i="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,a){
var i;const s=new((null==a?void 0:a.nodeClass)??OA)(n.schema)
;n.atRoot&&(n.atRoot=!1);let l=r.offset,c=null;for(const u of r.items){
const{start:a,key:d,sep:p,value:h}=u,f=TP(a,{indicator:"explicit-key-ind",
next:d??(null==p?void 0:p[0]),offset:l,onError:o,parentIndent:r.indent,
startOnNewline:!0}),m=!f.found;if(m){
if(d&&("block-seq"===d.type?o(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in d&&d.indent!==r.indent&&o(l,"BAD_INDENT",DP)),
!f.anchor&&!f.tag&&!p){
c=f.end,f.comment&&(s.comment?s.comment+="\n"+f.comment:s.comment=f.comment)
;continue}
(f.hasNewlineAfterProp||CP(d))&&o(d??a[a.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")
}else(null==(i=f.found)?void 0:i.indent)!==r.indent&&o(l,"BAD_INDENT",DP)
;const g=f.end,v=d?e(n,d,f,o):t(n,g,a,null,f,o)
;n.schema.compat&&AP(r.indent,d,o),
PP(n,s.items,v)&&o(g,"DUPLICATE_KEY","Map keys must be unique")
;const b=TP(p??[],{indicator:"map-value-ind",next:h,offset:v.range[2],onError:o,
parentIndent:r.indent,startOnNewline:!d||"block-scalar"===d.type})
;if(l=b.end,b.found){
m&&("block-map"!==(null==h?void 0:h.type)||b.hasNewline||o(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),
n.options.strict&&f.start<b.found.offset-1024&&o(v.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"))
;const a=h?e(n,h,b,o):t(n,l,p,null,b,o)
;n.schema.compat&&AP(r.indent,h,o),l=a.range[2];const i=new fA(v,a)
;n.options.keepSourceTokens&&(i.srcToken=u),s.items.push(i)}else{
m&&o(v.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),
b.comment&&(v.comment?v.comment+="\n"+b.comment:v.comment=b.comment)
;const e=new fA(v);n.options.keepSourceTokens&&(e.srcToken=u),s.items.push(e)}}
return c&&c<l&&o(c,"IMPOSSIBLE","Map comment with trailing content"),
s.range=[r.offset,l,c??l],s
}(e,t,n,r,a):"block-seq"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,o,a){
const i=new((null==a?void 0:a.nodeClass)??xA)(n.schema);n.atRoot&&(n.atRoot=!1)
;let s=r.offset,l=null;for(const{start:c,value:u}of r.items){const a=TP(c,{
indicator:"seq-item-ind",next:u,offset:s,onError:o,parentIndent:r.indent,
startOnNewline:!0});if(!a.found){if(!(a.anchor||a.tag||u)){
l=a.end,a.comment&&(i.comment=a.comment);continue}
u&&"block-seq"===u.type?o(a.end,"BAD_INDENT","All sequence items must start at the same column"):o(s,"MISSING_CHAR","Sequence item without - indicator")
}const d=u?e(n,u,a,o):t(n,a.end,c,null,a,o)
;n.schema.compat&&AP(r.indent,u,o),s=d.range[2],i.items.push(d)}
return i.range=[r.offset,s,l??s],i
}(e,t,n,r,a):function({composeNode:e,composeEmptyNode:t},n,r,o,a){
const i="{"===r.start.source,s=i?"flow map":"flow sequence",l=new((null==a?void 0:a.nodeClass)??(i?OA:xA))(n.schema)
;l.flow=!0;const c=n.atRoot;c&&(n.atRoot=!1)
;let u=r.offset+r.start.source.length;for(let m=0;m<r.items.length;++m){
const a=r.items[m],{start:c,key:d,sep:p,value:h}=a,f=TP(c,{flow:s,
indicator:"explicit-key-ind",next:d??(null==p?void 0:p[0]),offset:u,onError:o,
parentIndent:r.indent,startOnNewline:!1});if(!f.found){
if(!(f.anchor||f.tag||p||h)){
0===m&&f.comma?o(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):m<r.items.length-1&&o(f.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),
f.comment&&(l.comment?l.comment+="\n"+f.comment:l.comment=f.comment),u=f.end
;continue}
!i&&n.options.strict&&CP(d)&&o(d,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")
}
if(0===m)f.comma&&o(f.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(f.comma||o(f.start,"MISSING_CHAR",`Missing , between ${s} items`),
f.comment){let e="";e:for(const t of c)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]
;vC(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,
f.comment=f.comment.substring(e.length+1)}}if(i||p||f.found){
const m=f.end,g=d?e(n,d,f,o):t(n,m,c,null,f,o)
;NP(d)&&o(g.range,"BLOCK_IN_FLOW",$P);const v=TP(p??[],{flow:s,
indicator:"map-value-ind",next:h,offset:g.range[2],onError:o,
parentIndent:r.indent,startOnNewline:!1});if(v.found){
if(!i&&!f.found&&n.options.strict){if(p)for(const e of p){if(e===v.found)break
;if("newline"===e.type){
o(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")
;break}}
f.start<v.found.offset-1024&&o(v.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")
}
}else h&&("source"in h&&h.source&&":"===h.source[0]?o(h,"MISSING_CHAR",`Missing space after : in ${s}`):o(v.start,"MISSING_CHAR",`Missing , or : between ${s} items`))
;const b=h?e(n,h,v,o):v.found?t(n,v.end,p,null,v,o):null
;b?NP(h)&&o(b.range,"BLOCK_IN_FLOW",$P):v.comment&&(g.comment?g.comment+="\n"+v.comment:g.comment=v.comment)
;const y=new fA(g,b);if(n.options.keepSourceTokens&&(y.srcToken=a),i){const e=l
;PP(n,e.items,g)&&o(m,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(y)
}else{const e=new OA(n.schema);e.flow=!0,e.items.push(y),l.items.push(e)}
u=b?b.range[2]:v.end}else{const r=h?e(n,h,f,o):t(n,f.end,p,null,f,o)
;l.items.push(r),u=r.range[2],NP(h)&&o(r.range,"BLOCK_IN_FLOW",$P)}}
const d=i?"}":"]",[p,...h]=r.end;let f=u
;if(p&&p.source===d)f=p.offset+p.source.length;else{
const e=s[0].toUpperCase()+s.substring(1)
;o(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=RP(h,f,n.options.strict,o)
;e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),
l.range=[r.offset,f,e.offset]}else l.range=[r.offset,f,f];return l
}(e,t,n,r,a),s=i.constructor
;return"!"===o||o===s.tagName?(i.tag=s.tagName,i):(o&&(i.tag=o),i)}
function IP(e,t,n){const r=t.offset,o=function({offset:e,props:t},n,r){
if("block-scalar-header"!==t[0].type)return r(t[0],"IMPOSSIBLE","Block scalar header not found"),
null;const{source:o}=t[0],a=o[0];let i=0,s="",l=-1;for(let p=1;p<o.length;++p){
const t=o[p];if(s||"-"!==t&&"+"!==t){const n=Number(t);!i&&n?i=n:-1===l&&(l=e+p)
}else s=t}
-1!==l&&r(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${o}`)
;let c=!1,u="",d=o.length;for(let p=1;p<t.length;++p){const e=t[p]
;switch(e.type){case"space":c=!0;case"newline":d+=e.source.length;break
;case"comment":if(n&&!c){
r(e,"MISSING_CHAR","Comments must be separated from other tokens by white space characters")
}d+=e.source.length,u=e.source.substring(1);break;case"error":
r(e,"UNEXPECTED_TOKEN",e.message),d+=e.source.length;break;default:{
r(e,"UNEXPECTED_TOKEN",`Unexpected token in block scalar header: ${e.type}`)
;const t=e.source;t&&"string"==typeof t&&(d+=t.length)}}}return{mode:a,indent:i,
chomp:s,comment:u,length:d}}(t,e.options.strict,n);if(!o)return{value:"",
type:null,comment:"",range:[r,r,r]}
;const a=">"===o.mode?BC.BLOCK_FOLDED:BC.BLOCK_LITERAL,i=t.source?function(e){
const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),o=[(null==r?void 0:r[1])?[r[1],n.slice(r[1].length)]:["",n]]
;for(let a=1;a<t.length;a+=2)o.push([t[a],t[a+1]]);return o}(t.source):[]
;let s=i.length;for(let m=i.length-1;m>=0;--m){const e=i[m][1]
;if(""!==e&&"\r"!==e)break;s=m}if(0===s){
const e="+"===o.chomp&&i.length>0?"\n".repeat(Math.max(1,i.length-1)):""
;let n=r+o.length;return t.source&&(n+=t.source.length),{value:e,type:a,
comment:o.comment,range:[r,n,n]}}let l=t.indent+o.indent,c=t.offset+o.length,u=0
;for(let m=0;m<s;++m){const[t,r]=i[m];if(""!==r&&"\r"!==r){if(t.length<l){
const e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator"
;n(c+t.length,"MISSING_CHAR",e)}
if(0===o.indent&&(l=t.length),u=m,0===l&&!e.atRoot){
n(c,"BAD_INDENT","Block scalar values in collections must be indented")}break}
0===o.indent&&t.length>l&&(l=t.length),c+=t.length+r.length+1}
for(let m=i.length-1;m>=s;--m)i[m][0].length>l&&(s=m+1);let d="",p="",h=!1
;for(let m=0;m<u;++m)d+=i[m][0].slice(l)+"\n";for(let m=u;m<s;++m){let[e,t]=i[m]
;c+=e.length+t.length+1;const r="\r"===t[t.length-1]
;if(r&&(t=t.slice(0,-1)),t&&e.length<l){
const a=`Block scalar lines must not be less indented than their ${o.indent?"explicit indentation indicator":"first line"}`
;n(c-t.length-(r?2:1),"BAD_INDENT",a),e=""}
a===BC.BLOCK_LITERAL?(d+=p+e.slice(l)+t,
p="\n"):e.length>l||"\t"===t[0]?(" "===p?p="\n":h||"\n"!==p||(p="\n\n"),
d+=p+e.slice(l)+t,
p="\n",h=!0):""===t?"\n"===p?d+="\n":p="\n":(d+=p+t,p=" ",h=!1)}switch(o.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=r+o.length+t.source.length;return{value:d,type:a,comment:o.comment,
range:[r,f,f]}}function LP(e,t,n){const{offset:r,type:o,source:a,end:i}=e
;let s,l;const c=(e,t,o)=>n(r+e,t,o);switch(o){case"scalar":
s=BC.PLAIN,l=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character"
;break;case",":n="flow indicator character ,";break;case"%":
n="directive indicator character %";break;case"|":case">":
n=`block scalar indicator ${e[0]}`;break;case"@":case"`":
n=`reserved character ${e[0]}`}
n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`);return jP(e)
}(a,c);break;case"single-quoted-scalar":s=BC.QUOTE_SINGLE,l=function(e,t){
"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote")
;return jP(e.slice(1,-1)).replace(/''/g,"'")}(a,c);break
;case"double-quoted-scalar":s=BC.QUOTE_DOUBLE,l=function(e,t){let n=""
;for(let r=1;r<e.length-1;++r){const o=e[r]
;if("\r"!==o||"\n"!==e[r+1])if("\n"===o){const{fold:t,offset:o}=BP(e,r);n+=t,r=o
}else if("\\"===o){let o=e[++r];const a=UP[o]
;if(a)n+=a;else if("\n"===o)for(o=e[r+1];" "===o||"\t"===o;)o=e[1+ ++r];else if("\r"===o&&"\n"===e[r+1])for(o=e[1+ ++r];" "===o||"\t"===o;)o=e[1+ ++r];else if("x"===o||"u"===o||"U"===o){
const a={x:2,u:4,U:8}[o];n+=QP(e,r+1,a,t),r+=a}else{const o=e.substr(r-1,2)
;t(r-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),n+=o}
}else if(" "===o||"\t"===o){const t=r;let a=e[r+1]
;for(;" "===a||"\t"===a;)a=e[1+ ++r]
;"\n"===a||"\r"===a&&"\n"===e[r+2]||(n+=r>t?e.slice(t,r+1):o)}else n+=o}
'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote')
;return n}(a,c);break;default:
return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{
value:"",type:null,comment:"",range:[r,r+a.length,r+a.length]}}
const u=r+a.length,d=RP(i,u,t,n);return{value:l,type:s,comment:d.comment,
range:[r,u,d.offset]}}function jP(e){let t,n;try{
t=new RegExp("(.*?)(?<![ \t])[ \t]*\r?\n","sy"),
n=new RegExp("[ \t]*(.*?)(?:(?<![ \t])[ \t]*)?\r?\n","sy")}catch(l){
t=/(.*?)[ \t]*\r?\n/sy,n=/[ \t]*(.*?)[ \t]*\r?\n/sy}let r=t.exec(e)
;if(!r)return e;let o=r[1],a=" ",i=t.lastIndex
;for(n.lastIndex=i;r=n.exec(e);)""===r[1]?"\n"===a?o+=a:a="\n":(o+=a+r[1],
a=" "),i=n.lastIndex;const s=/[ \t]*(.*)/sy
;return s.lastIndex=i,r=s.exec(e),o+a+((null==r?void 0:r[1])??"")}
function BP(e,t){let n="",r=e[t+1]
;for(;!(" "!==r&&"\t"!==r&&"\n"!==r&&"\r"!==r||"\r"===r&&"\n"!==e[t+2]);)"\n"===r&&(n+="\n"),
r=e[(t+=1)+1];return n||(n=" "),{fold:n,offset:t}}const UP={0:"\0",a:"",b:"\b",
e:"",f:"\f",n:"\n",r:"\r",t:"\t",v:"\v",N:"",_:" ",L:"\u2028",P:"\u2029",
" ":" ",'"':'"',"/":"/","\\":"\\","\t":"\t"};function QP(e,t,n,r){
const o=e.substr(t,n),a=o.length===n&&/^[0-9a-fA-F]+$/.test(o)?parseInt(o,16):NaN
;if(isNaN(a)){const o=e.substr(t-2,n+2)
;return r(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${o}`),o}
return String.fromCodePoint(a)}function FP(e,t,n,r){
const{value:o,type:a,comment:i,range:s}="block-scalar"===t.type?IP(e,t,r):LP(t,e.options.strict,r),l=n?e.directives.tagName(n.source,(e=>r(n,"TAG_RESOLVE_FAILED",e))):null,c=n&&l?function(e,t,n,r,o){
var a;if("!"===n)return e[dC];const i=[]
;for(const l of e.tags)if(!l.collection&&l.tag===n){
if(!l.default||!l.test)return l;i.push(l)}
for(const l of i)if(null==(a=l.test)?void 0:a.test(t))return l
;const s=e.knownTags[n]
;if(s&&!s.collection)return e.tags.push(Object.assign({},s,{default:!1,
test:void 0})),s
;return o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),
e[dC]
}(e.schema,o,l,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,o){
const a=t.tags.find((e=>{var t
;return e.default&&(null==(t=e.test)?void 0:t.test(n))}))||t[dC];if(t.compat){
const i=t.compat.find((e=>{var t
;return e.default&&(null==(t=e.test)?void 0:t.test(n))}))??t[dC]
;if(a.tag!==i.tag){
o(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(a.tag)} or ${e.tagString(i.tag)}`,!0)
}}return a}(e,o,t,r):e.schema[dC];let u;try{
const a=c.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options)
;u=bC(a)?a:new BC(a)}catch(d){const e=d instanceof Error?d.message:String(d)
;r(n??t,"TAG_RESOLVE_FAILED",e),u=new BC(o)}
return u.range=s,u.source=o,a&&(u.type=a),
l&&(u.tag=l),c.format&&(u.format=c.format),i&&(u.comment=i),u}
function zP(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){
let n=t[r];switch(n.type){case"space":case"comment":case"newline":
e-=n.source.length;continue}
for(n=t[++r];"space"===(null==n?void 0:n.type);)e+=n.source.length,n=t[++r]
;break}}return e}const qP={composeNode:HP,composeEmptyNode:VP}
;function HP(e,t,n,r){const{spaceBefore:o,comment:a,anchor:i,tag:s}=n;let l,c=!0
;switch(t.type){case"alias":l=function({options:e},{offset:t,source:n,end:r},o){
const a=new IC(n.substring(1))
;""===a.source&&o(t,"BAD_ALIAS","Alias cannot be an empty string")
;a.source.endsWith(":")&&o(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0)
;const i=t+n.length,s=RP(r,i,e.strict,o)
;a.range=[t,i,s.offset],s.comment&&(a.comment=s.comment);return a
}(e,t,r),(i||s)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties")
;break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":
case"block-scalar":l=FP(e,t,s,r),i&&(l.anchor=i.source.substring(1));break
;case"block-map":case"block-seq":case"flow-collection":l=function(e,t,n,r,o){
var a
;const i=r?t.directives.tagName(r.source,(e=>o(r,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq"
;if(!r||!i||"!"===i||i===OA.tagName&&"map"===s||i===xA.tagName&&"seq"===s||!s)return MP(e,t,n,o,i)
;let l=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!l){
const a=t.schema.knownTags[i]
;if(!a||a.collection!==s)return(null==a?void 0:a.collection)?o(r,"BAD_COLLECTION_TYPE",`${a.tag} used for ${s} collection, but expects ${a.collection}`,!0):o(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),
MP(e,t,n,o,i);t.schema.tags.push(Object.assign({},a,{default:!1})),l=a}
const c=MP(e,t,n,o,i,l),u=(null==(a=l.resolve)?void 0:a.call(l,c,(e=>o(r,"TAG_RESOLVE_FAILED",e)),t.options))??c,d=wC(u)?u:new BC(u)
;return d.range=c.range,d.tag=i,(null==l?void 0:l.format)&&(d.format=l.format),d
}(qP,e,t,s,r),i&&(l.anchor=i.source.substring(1));break;default:
r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),
l=VP(e,t.offset,void 0,null,n,r),c=!1}
return i&&""===l.anchor&&r(i,"BAD_ALIAS","Anchor cannot be an empty string"),
o&&(l.spaceBefore=!0),
a&&("scalar"===t.type&&""===t.source?l.comment=a:l.commentBefore=a),
e.options.keepSourceTokens&&c&&(l.srcToken=t),l}
function VP(e,t,n,r,{spaceBefore:o,comment:a,anchor:i,tag:s,end:l},c){
const u=FP(e,{type:"scalar",offset:zP(t,n,r),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")),
o&&(u.spaceBefore=!0),a&&(u.comment=a,u.range[2]=l),u}function ZP(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:n}=e;return[t,t+("string"==typeof n?n.length:1)]}
function WP(e){var t;let n="",r=!1,o=!1;for(let a=0;a<e.length;++a){const i=e[a]
;switch(i[0]){case"#":
n+=(""===n?"":o?"\n\n":"\n")+(i.substring(1)||" "),r=!0,o=!1;break;case"%":
"#"!==(null==(t=e[a+1])?void 0:t[0])&&(a+=1),r=!1;break;default:r||(o=!0),r=!1}}
return{comment:n,afterEmptyLine:o}}class XP{constructor(e={}){
this.doc=null,this.atDirectives=!1,
this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{
const o=ZP(e)
;r?this.warnings.push(new _P(o,t,n)):this.errors.push(new SP(o,t,n))
},this.directives=new AC({version:e.version||"1.2"}),this.options=e}
decorate(e,t){const{comment:n,afterEmptyLine:r}=WP(this.prelude);if(n){
const o=e.contents
;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!o)e.commentBefore=n;else if(OC(o)&&!o.flow&&o.items.length>0){
let e=o.items[0];vC(e)&&(e=e.key);const t=e.commentBefore
;e.commentBefore=t?`${n}\n${t}`:n}else{const e=o.commentBefore
;o.commentBefore=e?`${n}\n${e}`:n}}
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:WP(this.prelude).comment,directives:this.directives,
errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){
for(const r of e)yield*this.next(r);yield*this.end(t,n)}*next(e){switch(e.type){
case"directive":this.directives.add(e.source,((t,n,r)=>{const o=ZP(e)
;o[0]+=t,this.onError(o,"BAD_DIRECTIVE",n,r)
})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{
const t=function(e,t,{offset:n,start:r,value:o,end:a},i){const s=Object.assign({
_directives:t},e),l=new wP(void 0,s),c={atRoot:!0,directives:l.directives,
options:l.options,schema:l.schema},u=TP(r,{indicator:"doc-start",
next:o??(null==a?void 0:a[0]),offset:n,onError:i,parentIndent:0,
startOnNewline:!0})
;u.found&&(l.directives.docStart=!0,!o||"block-map"!==o.type&&"block-seq"!==o.type||u.hasNewline||i(u.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),
l.contents=o?HP(c,o,u,i):VP(c,u.end,r,null,u,i)
;const d=l.contents.range[2],p=RP(a,d,!1,i)
;return p.comment&&(l.comment=p.comment),l.range=[n,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,n=new SP(ZP(e),"UNEXPECTED_TOKEN",t)
;this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}
case"doc-end":{if(!this.doc){
const t="Unexpected doc-end without preceding document"
;this.errors.push(new SP(ZP(e),"UNEXPECTED_TOKEN",t));break}
this.doc.directives.docEnd=!0
;const t=RP(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 SP(ZP(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),n=new wP(void 0,e)
;this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),
n.range=[0,t,t],this.decorate(n,!1),yield n}}}function GP(e){switch(e){
case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}
const YP=new Set("0123456789ABCDEFabcdef"),KP=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),JP=new Set(",[]{}"),eD=new Set(" ,[]{}\n\r\t"),tD=e=>!e||eD.has(e)
;class nD{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 n=this.next??"stream"
;for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){
let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)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 n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){
const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}
return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){
const t=this.buffer.substr(e,3)
;if(("---"===t||"..."===t)&&GP(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("\ufeff"===e[0]&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){
let t=e.length,n=e.indexOf("#");for(;-1!==n;){const r=e[n-1]
;if(" "===r||"\t"===r){t=n-1;break}n=e.indexOf("#",n+1)}for(;;){const n=e[t-1]
;if(" "!==n&&"\t"!==n)break;t-=1}
const r=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0))
;return yield*this.pushCount(e.length-r),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"",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&&GP(this.charAt(3)))return yield*this.pushCount(3),
this.indentValue=0,this.indentNext=0,"doc"
;if("..."===e&&GP(this.charAt(3)))return yield*this.pushCount(3),"stream"}
return this.indentValue=yield*this.pushSpaces(!1),
this.indentNext>this.indentValue&&!GP(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)&&GP(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(tD),"doc";case'"':case"'":
return yield*this.parseQuotedScalar();case"|":case">":
return t+=(yield*this.parseBlockScalarHeader()),
t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),
yield*this.pushNewline(),yield*this.parseBlockScalar();default:
return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{
e=yield*this.pushNewline(),
e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,
t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine()
;if(null===r)return this.setNext("flow")
;if(-1!==n&&n<this.indentNext&&"#"!==r[0]||0===n&&(r.startsWith("---")||r.startsWith("..."))&&GP(r[3])){
if(!(n===this.indentNext-1&&1===this.flowLevel&&("]"===r[0]||"}"===r[0])))return this.flowLevel=0,
yield"",yield*this.parseLineStart()}let o=0
;for(;","===r[o];)o+=(yield*this.pushCount(1)),
o+=(yield*this.pushSpaces(!0)),this.flowKey=!1
;switch(o+=(yield*this.pushIndicators()),r[o]){case void 0:return"flow";case"#":
return yield*this.pushCount(r.length-o),"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(tD),"flow";case'"':case"'":
return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{
const e=this.charAt(1)
;if(this.flowKey||GP(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 n=this.buffer.substring(0,t)
;let r=n.indexOf("\n",this.pos);if(-1!==r){for(;-1!==r;){
const e=this.continueScalar(r+1);if(-1===e)break;r=n.indexOf("\n",e)}
-1!==r&&(t=r-("\r"===n[r-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=>GP(e)||"#"===e))}*parseBlockScalar(){
let e,t=this.pos-1,n=0;e:for(let o=this.pos;e=this.buffer[o];++o)switch(e){
case" ":n+=1;break;case"\n":t=o,n=0;break;case"\r":{const e=this.buffer[o+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(n>=this.indentNext){
-1===this.blockScalarIndent?this.indentNext=n: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 r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if("\t"===e){
for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1
}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e]
;"\r"===r&&(r=this.buffer[--e]);const o=e;for(;" "===r;)r=this.buffer[--e]
;if(!("\n"===r&&e>=this.pos&&e+1+n>o))break;t=e}
return yield"",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}
*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1
;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1]
;if(GP(t)||e&&JP.has(t))break;n=r}else if(GP(t)){let o=this.buffer[r+1]
;if("\r"===t&&("\n"===o?(r+=1,
t="\n",o=this.buffer[r+1]):n=r),"#"===o||e&&JP.has(o))break;if("\n"===t){
const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{
if(e&&JP.has(t))break;n=r}
return t||this.atEnd?(yield"",yield*this.pushToIndex(n+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 n=this.buffer.slice(this.pos,e)
;return n?(yield n,this.pos+=n.length,n.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(tD))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())
;case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1)
;if(GP(t)||e&&JP.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(;!GP(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(KP.has(t))t=this.buffer[++e];else{
if("%"!==t||!YP.has(this.buffer[e+1])||!YP.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,n=this.pos-1;do{t=this.buffer[++n]
}while(" "===t||e&&"\t"===t);const r=n-this.pos
;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){
let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t]
;return yield*this.pushToIndex(t,!1)}}class rD{constructor(){this.lineStarts=[],
this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{
let t=0,n=this.lineStarts.length;for(;t<n;){const r=t+n>>1
;this.lineStarts[r]<e?t=r+1:n=r}if(this.lineStarts[t]===e)return{line:t+1,col:1}
;if(0===t)return{line:0,col:e};return{line:t,col:e-this.lineStarts[t-1]+1}}}}
function oD(e,t){for(let n=0;n<e.length;++n)if(e[n].type===t)return!0;return!1}
function aD(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 iD(e){
switch(null==e?void 0:e.type){case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":
return!0;default:return!1}}function sD(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 lD(e){var t;if(0===e.length)return[];let n=e.length
;e:for(;--n>=0;)switch(e[n].type){case"doc-start":case"explicit-key-ind":
case"map-value-ind":case"seq-item-ind":case"newline":break e}
for(;"space"===(null==(t=e[++n])?void 0:t.type););return e.splice(n,e.length)}
function cD(e){
if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||oD(t.start,"explicit-key-ind")||oD(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),
delete t.key,
iD(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 uD=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 nD,this.onNewLine=e}
*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0)
;for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}
*next(e){
if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),
void(this.offset+=e.length);const t=function(e){switch(e){case"\ufeff":
return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end"
;case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end"
;case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind"
;case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":
return"flow-map-start";case"}":return"flow-map-end";case"[":
return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}
switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":
return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":
return"tag";case"'":return"single-quoted-scalar";case'"':
return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}
return null}(e)
;if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{
switch(this.type=t,yield*this.step(),t){case"newline":
this.atNewLine=!0,this.indent=0,
this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":
this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break
;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":
this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":
case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length
}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",
offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){
for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{
type:this.type,offset:this.offset,indent:this.indent,source:this.source}}
*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){
if(!e)return yield*this.stream();switch(e.type){case"document":
return yield*this.document(e);case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":
return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e)
;case"block-map":return yield*this.blockMap(e);case"block-seq":
return yield*this.blockSequence(e);case"flow-collection":
return yield*this.flowCollection(e);case"doc-end":
return yield*this.documentEnd(e)}yield*this.pop()}else{
for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",
offset:this.offset,source:this.source})}}peek(e){
return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop()
;if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1)
;switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),
"flow-collection"===t.type&&cD(t),e.type){case"document":e.value=t;break
;case"block-scalar":e.props.push(t);break;case"block-map":{
const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],
key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,
sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=t;break}case"block-seq":{
const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t
}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1]
;return void(!n||n.value?e.items.push({start:[],key:t,sep:[]
}):n.sep?n.value=t:Object.assign(n,{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 n=t.items[t.items.length-1]
;n&&!n.sep&&!n.value&&n.start.length>0&&-1===aD(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent<t.indent)))&&("document"===e.type?e.end=n.start:e.items.push({
start:n.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!==aD(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=lD(sD(this.peek(2)));let n
;e.end?(n=e.end,n.push(this.sourceToken),delete e.end):n=[this.sourceToken]
;const r={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:t,
key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=r
}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":
case"comment":case"newline":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){
var t;const n=e.items[e.items.length-1];switch(this.type){case"newline":
if(this.onKeyLine=!1,n.value){
const t="end"in n.value?n.value.end:void 0,r=Array.isArray(t)?t[t.length-1]:void 0
;"comment"===(null==r?void 0:r.type)?null==t||t.push(this.sourceToken):e.items.push({
start:[this.sourceToken]})
}else n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken);return
;case"space":case"comment":if(n.value)e.items.push({start:[this.sourceToken]
});else if(n.sep)n.sep.push(this.sourceToken);else{
if(this.atIndentedComment(n.start,e.indent)){
const r=e.items[e.items.length-2],o=null==(t=null==r?void 0:r.value)?void 0:t.end
;if(Array.isArray(o))return Array.prototype.push.apply(o,n.start),
o.push(this.sourceToken),void e.items.pop()}n.start.push(this.sourceToken)}
return}if(this.indent>=e.indent){
const t=!this.onKeyLine&&this.indent===e.indent,r=t&&(n.sep||n.explicitKey)&&"seq-item-ind"!==this.type
;let o=[];if(r&&n.sep&&!n.value){const t=[];for(let r=0;r<n.sep.length;++r){
const o=n.sep[r];switch(o.type){case"newline":t.push(r);break;case"space":break
;case"comment":o.indent>e.indent&&(t.length=0);break;default:t.length=0}}
t.length>=2&&(o=n.sep.splice(t[1]))}switch(this.type){case"anchor":case"tag":
return void(r||n.value?(o.push(this.sourceToken),e.items.push({start:o
}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken))
;case"explicit-key-ind":
return n.sep||n.explicitKey?r||n.value?(o.push(this.sourceToken),e.items.push({
start:o,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,
indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]
}):(n.start.push(this.sourceToken),n.explicitKey=!0),void(this.onKeyLine=!0)
;case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)e.items.push({
start:[],key:null,sep:[this.sourceToken]
});else if(oD(n.sep,"map-value-ind"))this.stack.push({type:"block-map",
offset:this.offset,indent:this.indent,items:[{start:o,key:null,
sep:[this.sourceToken]}]});else if(iD(n.key)&&!oD(n.sep,"newline")){
const e=lD(n.start),t=n.key,r=n.sep
;r.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:t,
sep:r}]})
}else o.length>0?n.sep=n.sep.concat(o,this.sourceToken):n.sep.push(this.sourceToken);else if(oD(n.start,"newline"))Object.assign(n,{
key:null,sep:[this.sourceToken]});else{const e=lD(n.start);this.stack.push({
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,
sep:[this.sourceToken]}]})}else n.sep?n.value||r?e.items.push({start:o,key:null,
sep:[this.sourceToken]}):oD(n.sep,"map-value-ind")?this.stack.push({
type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],
key:null,sep:[this.sourceToken]}]
}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]
});return void(this.onKeyLine=!0);case"alias":case"scalar":
case"single-quoted-scalar":case"double-quoted-scalar":{
const t=this.flowScalar(this.type);return void(r||n.value?(e.items.push({
start:o,key:t,sep:[]
}),this.onKeyLine=!0):n.sep?this.stack.push(t):(Object.assign(n,{key:t,sep:[]}),
this.onKeyLine=!0))}default:{const n=this.startBlockValue(e)
;if(n)return t&&"block-seq"!==n.type&&e.items.push({start:o
}),void this.stack.push(n)}}}yield*this.pop(),yield*this.step()}
*blockSequence(e){var t;const n=e.items[e.items.length-1];switch(this.type){
case"newline":if(n.value){
const t="end"in n.value?n.value.end:void 0,r=Array.isArray(t)?t[t.length-1]:void 0
;"comment"===(null==r?void 0:r.type)?null==t||t.push(this.sourceToken):e.items.push({
start:[this.sourceToken]})}else n.start.push(this.sourceToken);return
;case"space":case"comment":if(n.value)e.items.push({start:[this.sourceToken]
});else{if(this.atIndentedComment(n.start,e.indent)){
const r=e.items[e.items.length-2],o=null==(t=null==r?void 0:r.value)?void 0:t.end
;if(Array.isArray(o))return Array.prototype.push.apply(o,n.start),
o.push(this.sourceToken),void e.items.pop()}n.start.push(this.sourceToken)}
return;case"anchor":case"tag":if(n.value||this.indent<=e.indent)break
;return void n.start.push(this.sourceToken);case"seq-item-ind":
if(this.indent!==e.indent)break
;return void(n.value||oD(n.start,"seq-item-ind")?e.items.push({
start:[this.sourceToken]}):n.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 n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({
start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]
}))}case"flow-map-end":case"flow-seq-end":
return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e)
;n?this.stack.push(n):(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 n=lD(sD(t));cD(e);const r=e.end.splice(1,e.end.length)
;r.push(this.sourceToken);const o={type:"block-map",offset:e.offset,
indent:e.indent,items:[{start:n,key:e,sep:r}]}
;this.onKeyLine=!0,this.stack[this.stack.length-1]=o}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=lD(sD(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=lD(sD(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 dD(e,t={}){
const{lineCounter:n,prettyErrors:r}=function(e){const t=!1!==e.prettyErrors
;return{lineCounter:e.lineCounter||t&&new rD||null,prettyErrors:t}
}(t),o=new uD(null==n?void 0:n.addNewLine),a=new XP(t);let i=null
;for(const s of a.compose(o.parse(e),!0,e.length))if(i){
if("silent"!==i.options.logLevel){
i.errors.push(new SP(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"))
;break}}else i=s
;return r&&n&&(i.errors.forEach(EP(e,n)),i.warnings.forEach(EP(e,n))),i}
const pD={parse:e=>{const t=JSON.parse(e)
;if("object"!=typeof t)throw Error("Invalid JSON object");return t},
parseSafe(e,t){try{return pD.parse(e)}catch(n){return"function"==typeof t?t(n):t
}},stringify:e=>JSON.stringify(e)
},hD=e=>"string"==typeof e&&!!pD.parseSafe(e,!1);function fD(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 mD="https://api.scalar.com/request-proxy",gD="https://proxy.scalar.com"
;async function vD(e,t,n=!0){t===mD&&(t=gD);const r=await fetch(t?oC(t,e):e)
;if(200!==r.status)throw console.error(`[fetchSpecFromUrl] Failed to fetch the specification at ${e} (Status: ${r.status})`),
t||console.warn(`[fetchSpecFromUrl] Tried to fetch the specification (url: ${e}) without a proxy. Are the CORS headers configured to allow cross-domain requests? https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS`),
new Error(`Failed to fetch the specification (Status: ${r.status})`)
;return n?fD(await r.text()):await r.text()}const bD={
VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g,
TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g
},yD=ju.enum(["path","query","header","cookie"]),OD=ju.enum(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]),wD=ju.object({
in:yD,name:ju.string(),description:ju.string().optional(),
required:ju.boolean().optional().default(!1),
deprecated:ju.boolean().optional().default(!1),schema:ju.unknown().optional(),
content:ju.unknown().optional(),style:OD.optional(),
example:ju.unknown().optional(),examples:ju.record(ju.string(),ju.object({
value:ju.unknown(),summary:ju.string().optional()})).optional()})
;function xD(e,t,n=!0,r){const o=t.safeParse(e)
;if(o.success||(console.group("Schema Error"),
console.warn(JSON.stringify(o.error.format(),null,2)),
console.log("Received: ",e),
console.groupEnd()),n&&!o.success)throw new Error("Zod validation failure")
;return o.data}function kD(e,t){const n=function(e,t,r){let o=""
;if(e instanceof Array)for(let a=0,i=e.length;a<i;a++)o+=r+n(e[a],t,r+"\t")+"\n";else if("object"==typeof e){
let a=!1;o+=r+"<"+t
;for(const t in e)"@"==t.charAt(0)?o+=" "+t.substr(1)+'="'+e[t].toString()+'"':a=!0
;if(o+=a?">":"/>",a){
for(const t in e)"#text"==t?o+=e[t]:"#cdata"==t?o+="<![CDATA["+e[t]+"]]>":"@"!=t.charAt(0)&&(o+=n(e[t],t,r+"\t"))
;o+=("\n"==o.charAt(o.length-1)?r:"")+"</"+t+">"}
}else o+=r+"<"+t+">"+e.toString()+"</"+t+">";return o};let r=""
;for(const o in e)r+=n(e[o],o,"")
;return t?r.replace(/\t/g,t):r.replace(/\t|\n/g,"")}function SD(e){
if(!e)return e;const t={...e};return Object.keys(t).forEach((e=>{
const n=function(e){
if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/.+\+/,"/").trim()
}(e);void 0!==n&&(t[n]=t[e],e!==n&&delete t[e])})),t}const _D=e=>{
if("string"==typeof e)return hD(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,n)=>{
if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}
return n}),2)}(e)}return(null==e?void 0:e.toString())??""};const ED={
"date-time":(new Date).toISOString(),
date:(new Date).toISOString().split("T")[0],email:"hello@example.com",
hostname:"example.com","idn-email":"jane.doe@example.com",
"idn-hostname":"example.com",ipv4:"127.0.0.1",
ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",
iri:"https://example.com/entity/123","json-pointer":"/nested/objects",
password:"super-secret",regex:"/[a-z]/",
"relative-json-pointer":"1/nested/objects",
time:(new Date).toISOString().split("T")[1].split(".")[0],
"uri-reference":"../folder","uri-template":"https://example.com/{id}",
uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000",
"object-id":"6592008029c8c3e4dc76256c"};function TD(e,t=""){
return ED[e.format]??t}const CD=new WeakMap;function AD(e,t){
return"object"!=typeof t||null===t||CD.set(e,t),t}const PD=(e,t,n=0,r,o)=>{
var a,i,s,l,c,u,d,p,h,f,m,g,v;if(CD.has(e))return CD.get(e);if(6===n)try{
JSON.stringify(e)}catch{return"[Circular Reference]"}
const b=!!(null==t?void 0:t.emptyString)
;if("write"===(null==t?void 0:t.mode)&&e.readOnly||"read"===(null==t?void 0:t.mode)&&e.writeOnly)return
;if(e["x-variable"]){
const n=null==(a=null==t?void 0:t.variables)?void 0:a[e["x-variable"]]
;if(void 0!==n)return"number"===e.type||"integer"===e.type?parseInt(n,10):AD(e,n)
}if(Array.isArray(e.examples)&&e.examples.length>0)return AD(e,e.examples[0])
;if(void 0!==e.example)return AD(e,e.example)
;if(void 0!==e.default)return AD(e,e.default)
;if(Array.isArray(e.enum)&&e.enum.length>0)return AD(e,e.enum[0])
;if(!("object"===e.type||"array"===e.type||!!(null==(s=null==(i=e.allOf)?void 0:i.at)?void 0:s.call(i,0))||!!(null==(c=null==(l=e.anyOf)?void 0:l.at)?void 0:c.call(l,0))||!!(null==(d=null==(u=e.oneOf)?void 0:u.at)?void 0:d.call(u,0)))&&!0===(null==t?void 0:t.omitEmptyAndOptionalProperties)){
if(!(!0===e.required||!0===(null==r?void 0:r.required)||(null==(p=null==r?void 0:r.required)?void 0:p.includes(o??e.name))))return
}if("object"===e.type||void 0!==e.properties){const r={}
;if(void 0!==e.properties)for(const o in e.properties)if(Object.prototype.hasOwnProperty.call(e.properties,o)){
const a=e.properties[o],i=(null==t?void 0:t.xml)?null==(h=a.xml)?void 0:h.name:void 0
;r[i??o]=PD(a,t,n+1,e,o),void 0===r[i??o]&&delete r[i??o]}
if(void 0!==e.additionalProperties){
!0===e.additionalProperties||"object"==typeof e.additionalProperties&&!Object.keys(e.additionalProperties).length?r.ANY_ADDITIONAL_PROPERTY="anything":!1!==e.additionalProperties&&(r.ANY_ADDITIONAL_PROPERTY=PD(e.additionalProperties,t,n+1))
}
return void 0!==e.anyOf?Object.assign(r,PD(e.anyOf[0],t,n+1)):void 0!==e.oneOf?Object.assign(r,PD(e.oneOf[0],t,n+1)):void 0!==e.allOf&&Object.assign(r,...e.allOf.map((r=>PD(r,t,n+1,e))).filter((e=>void 0!==e))),
AD(e,r)}if("array"===e.type||void 0!==e.items){
const r=null==(m=null==(f=null==e?void 0:e.items)?void 0:f.xml)?void 0:m.name,o=!!((null==t?void 0:t.xml)&&(null==(g=e.xml)?void 0:g.wrapped)&&r)
;if(void 0!==e.example)return AD(e,o?{[r]:e.example}:e.example);if(e.items){
if(e.items.allOf){if("object"===e.items.allOf[0].type){const a=PD({
type:"object",allOf:e.items.allOf},t,n+1,e);return AD(e,o?[{[r]:a}]:[a])}{
const a=e.items.allOf.map((r=>PD(r,t,n+1,e))).filter((e=>void 0!==e))
;return AD(e,o?a.map((e=>({[r]:e}))):a)}}const a=["anyOf","oneOf"]
;for(const i of a){if(!e.items[i])continue
;const a=e.items[i].slice(0,1).map((r=>PD(r,t,n+1,e))).filter((e=>void 0!==e))
;return AD(e,o?[{[r]:a}]:a)}}if(null==(v=e.items)?void 0:v.type){
const a=PD(e.items,t,n+1);return o?[{[r]:a}]:[a]}return[]}const y={
string:b?TD(e,null==t?void 0:t.emptyString):"",boolean:!0,integer:e.min??1,
number:e.min??1,array:[]}
;if(void 0!==e.type&&void 0!==y[e.type])return AD(e,y[e.type])
;const O=e.oneOf||e.anyOf;if(Array.isArray(O)&&O.length>0){const e=O[0]
;return PD(e,t,n+1)}if(Array.isArray(e.allOf)){let r=null
;return e.allOf.forEach((e=>{const o=PD(e,t,n+1)
;r="object"==typeof o&&"object"==typeof r?{...r??{},...o
}:Array.isArray(o)&&Array.isArray(r)?[...r??{},...o]:o})),AD(e,r)}
if(Array.isArray(e.type)){if(e.type.includes("null"))return null
;const t=y[e.type[0]];if(void 0!==t)return AD(e,t)}return null}
;function DD(e,t,n=!0){var r
;return[...e.pathParameters||[],...(null==(r=e.information)?void 0:r.parameters)||[]].filter((e=>e.in===t)).filter((e=>n&&e.required||!n)).map((e=>({
name:e.name,description:e.description??null,
value:e.example?e.example:e.schema?PD(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 RD(e,t=""){return Object.entries(e).flatMap((([e,n])=>{
const r=t?`${t}[${e}]`:e;return"object"==typeof n&&null!==n?RD(n,r):[{name:r,
value:n}]}))}
const $D=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"]
;let ND=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e))
;for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]]
;return t}
;const MD=ju.string().min(7).optional().default((()=>ND())),ID=ju.object({
key:ju.string().default(""),value:ju.coerce.string().default(""),
enabled:ju.boolean().default(!0),file:ju.any().optional(),
description:ju.string().optional(),required:ju.boolean().optional(),
enum:ju.array(ju.string()).optional(),type:ju.string().optional(),
format:ju.string().optional(),minimum:ju.number().optional(),
maximum:ju.number().optional(),default:ju.any().optional(),
nullable:ju.boolean().optional()}),LD=ju.object({url:ju.string(),
base64:ju.string().optional()}).nullable();ju.union([ju.object({
type:ju.literal("string"),value:ju.string()}),ju.object({
type:ju.literal("file"),file:LD})]);const jD=ju.object({raw:ju.object({
encoding:ju.enum(["json","text","html","javascript","xml","yaml","edn"]).default("json"),
value:ju.string().default("")}).optional(),formData:ju.object({
encoding:ju.union([ju.literal("form-data"),ju.literal("urlencoded")]).default("form-data"),
value:ID.array().default([])}).optional(),binary:ju.instanceof(Blob).optional(),
activeBody:ju.union([ju.literal("raw"),ju.literal("formData"),ju.literal("binary")]).default("raw")
}),BD=ju.object({
encoding:ju.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"]).default("application/json"),
content:ju.union([ju.record(ju.string(),ju.any()),ju.string()]),
file:LD.optional()}),UD=ju.object({uid:MD,
type:ju.literal("requestExample").optional().default("requestExample"),
requestUid:MD,name:ju.string().optional().default("Name"),
body:jD.optional().default({}),parameters:ju.object({
path:ID.array().default([]),query:ID.array().default([]),
headers:ID.array().default([]),cookies:ID.array().default([])
}).optional().default({}),
serverVariables:ju.record(ju.string(),ju.array(ju.string())).optional()
}),QD=ju.record(ju.string(),ju.string()).optional(),FD=ju.object({
name:ju.string().optional(),body:BD.optional(),parameters:ju.object({path:QD,
query:QD,headers:QD,cookies:QD})});function zD(e,t,n){var r,o,a,i,s,l;const c={
path:[],query:[],cookie:[],header:[],headers:[]}
;null==(r=e.parameters)||r.forEach((e=>c[e.in].push(function(e){var t,n,r,o
;const a=e.schema,i=Object.keys((null==e?void 0:e.examples)??{}),s=i.length?null==(t=e.examples)?void 0:t[i[0]]:null,l=String((null==a?void 0:a.default)??(null==(n=null==a?void 0:a.examples)?void 0:n[0])??(null==a?void 0:a.example)??(null==s?void 0:s.value)??e.example??""),c=(null==a?void 0:a.enum)&&"string"!==(null==a?void 0:a.type)?null==(r=a.enum)?void 0:r.map(String):(null==(o=null==a?void 0:a.items)?void 0:o.enum)&&"array"===(null==a?void 0:a.type)?a.items.enum.map(String):null==a?void 0:a.enum,u=xD({
...a,key:e.name,value:l,description:e.description,required:e.required,
enabled:!!e.required,enum:c},ID,!1)
;return u||(console.warn(`Example at ${e.name} is invalid.`),ID.parse({}))
}(e)))),c.header.length>0&&(c.headers=c.header,c.header=[]);const u={
activeBody:"raw",raw:{encoding:"json",value:""}};if(e.requestBody){
const t=function(e,t,n){var r,o,a,i
;const s=SD(null==(o=null==(r=e.information)?void 0:r.requestBody)?void 0:o.content),l=$D.find((e=>!!(null==s?void 0:s[e]))),c=null==(a=null==s?void 0:s["application/json"])?void 0:a.examples,u=null==(i=c??{})?void 0:i[Object.keys(c??{})[0]]
;if(u)return{body:{mimeType:"application/json",text:_D(null==u?void 0:u.value)}}
;const d=DD(e,"body",!1);if(d.length>0)return{body:{mimeType:"application/json",
text:_D(d[0].value)}};const p=DD(e,"formData",!1);if(p.length>0)return{body:{
mimeType:"application/x-www-form-urlencoded",params:p.map((e=>({name:e.name,
value:"string"==typeof e.value?e.value:JSON.stringify(e.value)})))}}
;if(!l)return null;const h=null==s?void 0:s[l],f=[{name:"Content-Type",value:l
}],m=(null==h?void 0:h.example)?null==h?void 0:h.example:void 0
;if("application/json"===l){
const e=(null==h?void 0:h.schema)?PD(null==h?void 0:h.schema,{mode:"write",
omitEmptyAndOptionalProperties:n}):null,t=m??e;return{headers:f,body:{
mimeType:l,text:"string"==typeof t?t:JSON.stringify(t,null,2)}}}
if("application/xml"===l){
const e=(null==h?void 0:h.schema)?PD(null==h?void 0:h.schema,{xml:!0,
mode:"write"}):null;return{headers:f,body:{mimeType:l,text:m??kD(e,"  ")}}}
if("application/octet-stream"===l)return{headers:f,body:{mimeType:l,
text:"BINARY"}};if("text/plain"===l){
const e=(null==h?void 0:h.schema)?PD(null==h?void 0:h.schema,{xml:!0,
mode:"write"}):null;return{headers:f,body:{mimeType:l,text:m??e??""}}}
if("multipart/form-data"===l||"application/x-www-form-urlencoded"===l){
const e=(null==h?void 0:h.schema)?PD(null==h?void 0:h.schema,{xml:!0,
mode:"write"}):null;return{headers:f,body:{mimeType:l,params:RD(m??e??{})}}}
return null}({path:e.path,information:{requestBody:e.requestBody}})
;"application/json"===(null==(o=null==t?void 0:t.body)?void 0:o.mimeType)&&(u.activeBody="raw",
u.raw={encoding:"json",value:t.body.text??JSON.stringify({})
}),"application/xml"===(null==(a=null==t?void 0:t.body)?void 0:a.mimeType)&&(u.activeBody="raw",
u.raw={encoding:"xml",value:t.body.text??""
}),"application/octet-stream"===(null==(i=null==t?void 0:t.body)?void 0:i.mimeType)&&(u.activeBody="binary",
u.binary=void 0),
"application/x-www-form-urlencoded"!==(null==(s=null==t?void 0:t.body)?void 0:s.mimeType)&&"multipart/form-data"!==(null==(l=null==t?void 0:t.body)?void 0:l.mimeType)||(u.activeBody="formData",
u.formData={
encoding:"application/x-www-form-urlencoded"===t.body.mimeType?"urlencoded":"form-data",
value:(t.body.params||[]).map((e=>({key:e.name,value:e.value||"",enabled:!0})))
})}const d=xD({requestUid:e.uid,parameters:c,name:t,body:u,serverVariables:{}
},UD,!1)
;return d||(console.warn(`Example at ${e.uid} is invalid.`),UD.parse({}))}
const qD=ju.object({description:ju.string().optional()}),HD=ju.object({uid:MD,
nameKey:ju.string().optional().default("")}),VD=qD.extend({
type:ju.literal("apiKey"),name:ju.string().optional().default(""),
in:ju.enum(["query","header","cookie"]).optional().default("header")
}),ZD=ju.object({value:ju.string().default("")
}),WD=VD.merge(HD).merge(ZD),XD=qD.extend({type:ju.literal("http"),
scheme:ju.string().toLowerCase().pipe(ju.enum(["basic","bearer"])).optional().default("basic"),
bearerFormat:ju.union([ju.literal("JWT"),ju.string()]).optional().default("JWT")
}),GD=ju.object({username:ju.string().default(""),
password:ju.string().default(""),token:ju.string().default("")
}),YD=XD.merge(HD).merge(GD),KD=qD.extend({type:ju.literal("openIdConnect"),
openIdConnectUrl:ju.string().optional().default("")
}),JD=KD.merge(HD),eR=ju.string().default(""),tR=ju.string().default(""),nR=ju.object({
refreshUrl:ju.string().optional().default(""),
scopes:ju.record(ju.string(),ju.string().optional().default("")).optional().default({}),
selectedScopes:ju.array(ju.string()).optional().default([]),
"x-scalar-client-id":ju.string().optional().default(""),
token:ju.string().default("")
}),rR="undefined"!=typeof window?window.location.origin+window.location.pathname:"",oR=["SHA-256","plain","no"],aR=qD.extend({
type:ju.literal("oauth2"),flows:ju.object({implicit:nR.extend({
type:ju.literal("implicit"),authorizationUrl:eR,
"x-scalar-redirect-uri":ju.string().optional().default(rR)}),
password:nR.extend({type:ju.literal("password"),tokenUrl:tR,
clientSecret:ju.string().default(""),username:ju.string().default(""),
password:ju.string().default("")}),clientCredentials:nR.extend({
type:ju.literal("clientCredentials"),tokenUrl:tR,
clientSecret:ju.string().default("")}),authorizationCode:nR.extend({
type:ju.literal("authorizationCode"),authorizationUrl:eR,
"x-usePkce":ju.enum(oR).optional().default("no"),
"x-scalar-redirect-uri":ju.string().optional().default(rR),tokenUrl:tR,
clientSecret:ju.string().default("")})}).partial().default({implicit:{
type:"implicit",authorizationUrl:"http://localhost:8080"}})
}),iR=aR.merge(HD),sR=ju.record(ju.string(),ju.array(ju.string()).optional().default([]))
;ju.union([VD,XD,aR,KD]);const lR=ju.union([WD,YD,JD,iR]),cR=ju.object({
name:ju.string().optional().default("name"),identifier:ju.string().optional(),
url:ju.string().optional()}),uR=ju.object({name:ju.string().optional(),
url:ju.string().optional(),email:ju.string().email().optional()}),dR=ju.object({
title:ju.string().optional().default("OpenAPI Spec"),
summary:ju.string().optional(),description:ju.string().optional(),
termsOfService:ju.string().optional(),contact:uR.optional(),
license:cR.optional(),version:ju.string().optional().default("1.0")
}),pR=ju.object({description:ju.string().optional(),url:ju.string().default("")
}),hR=ju.object({tagName:ju.string()}).array(),fR=ju.object({
type:ju.literal("tag").optional().default("tag"),name:ju.string(),
description:ju.string().optional(),externalDocs:pR.optional(),
"x-scalar-children":hR.default([]).optional()}).extend({uid:MD,
children:MD.array().default([])
}),mR=["connect","delete","get","head","options","patch","post","put","trace"],gR=ju.any(),vR=ju.object({
tags:ju.string().array().optional(),summary:ju.string().optional(),
description:ju.string().optional(),operationId:ju.string().optional(),
security:ju.array(sR).optional(),requestBody:gR.optional(),
parameters:wD.array().optional(),externalDocs:pR.optional(),
deprecated:ju.boolean().optional(),
responses:ju.record(ju.string(),ju.any()).optional(),
"x-scalar-examples":ju.record(ju.string(),FD).optional()}),bR=ju.object({
type:ju.literal("request").optional().default("request"),uid:MD,
path:ju.string().optional().default(""),method:ju.enum(mR).default("get"),
servers:MD.array().default([]),selectedServerUid:ju.string().default(""),
examples:MD.array().default([]),
selectedSecuritySchemeUids:MD.array().default([])}),yR=vR.omit({
"x-scalar-examples":!0}).merge(bR),OR={get:{short:"GET",color:"text-blue",
backgroundColor:"bg-blue"},post:{short:"POST",color:"text-green",
backgroundColor:"bg-green"},put:{short:"PUT",color:"text-orange",
backgroundColor:"bg-orange"},patch:{short:"PATCH",color:"text-yellow",
backgroundColor:"bg-yellow"},delete:{short:"DEL",color:"text-red",
backgroundColor:"bg-red"},options:{short:"OPTS",color:"text-purple",
backgroundColor:"bg-purple"},head:{short:"HEAD",color:"text-scalar-c-2",
backgroundColor:"bg-c-2"},connect:{short:"CONN",color:"text-c-2",
backgroundColor:"bg-c-2"},trace:{short:"TRACE",color:"text-c-2",
backgroundColor:"bg-c-2"}
},wR=["post","put","patch","delete"],xR=e=>wR.includes(e),kR=e=>{
const t=e.trim().toLowerCase();return OR[t]??{short:t,color:"text-c-2",
backgroundColor:"bg-c-2"}},SR=e=>!!e&&mR.includes(e),_R={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)"}},ER=e=>null!=e;const TR=(e,t,n=" #")=>{
if(!t(e))return e
;const r=e.split(n),o=r.length>1?`${r.slice(0,-1).join()}${n}${Number(r.at(-1))+1}`:`${r.join()}${n}2`
;return TR(o,t,n)
},CR="collection",AR="cookie",PR="environment",DR="request",RR="requestExample",$R="securityScheme",NR="server",MR="tag",IR="workspace"
;function LR(e,t){return Object.keys(e).forEach((n=>{
Object.hasOwn(t,n)||delete e[n]})),Object.assign(e,t),e}function jR(e,t){
const n=(e,n)=>{var r
;return"function"==typeof t?t(n):(null==(r=t[n])?void 0:r.toString())||`{${n}}`}
;return e.replace(/{{\s*([\w.-]+)\s*}}/g,n).replace(/{\s*([\w.-]+)\s*}/g,n)}
const BR="undefined"!=typeof window?window.__SCALAR__??{}:{},UR=e=>e[0].toUpperCase()+e.slice(1)
;function QR(e,t){var n,r
;const o=t??(null==(n=null==e?void 0:e.servers)?void 0:n[e.selectedServer??0])
;(null==(r=null==o?void 0:o.url)?void 0:r.endsWith("/"))&&(o.url=o.url.slice(0,-1))
;const a=null==o?void 0:o.url,i="string"==typeof(null==o?void 0:o.url)?jR(null==o?void 0:o.url,e.variables):null==o?void 0:o.url,s=null==i?void 0:i.match(bD.PATH)
;return{originalUrl:a,modifiedUrl:(null==s?void 0:s.reduce(((t,n)=>{var r
;const o=n.replace(/{|}/g,""),a=null==(r=e.variables)?void 0:r[o]
;return null==t?void 0:t.replace(n,a||`__${o.toUpperCase()}__`)}),i))??i}}
const FR="get",zR=e=>{
if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${FR} as the default.`),
FR;const t=e.trim().toUpperCase()
;return n=t,eC.includes(n)?t:(console.warn(`${e} is not a valid request method. Using ${FR} as the default.`),
FR);var n};function qR(e,t){var n;let r=[]
;if((null==e?void 0:e.servers)&&(null==e?void 0:e.servers.length)>0)r=e.servers;else if(null==e?void 0:e.host){
r=[{
url:`${(null==(n=e.schemes)?void 0:n[0])??"http"}://${e.host}${(null==e?void 0:e.basePath)??""}`
}]}else r=[{
url:(null==t?void 0:t.defaultServerUrl)?null==t?void 0:t.defaultServerUrl:"undefined"!=typeof window?window.location.origin:"/"
}]
;return((null==t?void 0:t.defaultServerUrl)||"undefined"!=typeof window)&&(r=r.map((e=>function(e,t){
var n
;if(!(null==(n=e.url)?void 0:n.match(/^(?!(https?|file):\/\/|{).+/)))return e
;return e.url=tC((null==t?void 0:t.defaultServerUrl)?null==t?void 0:t.defaultServerUrl:"undefined"!=typeof window?window.location.origin:"",e.url),
e}(e,t)))),r.map((e=>{
const t=e.variables??{},n=[...(r=e.url??"").matchAll(bD.PATH),...r.matchAll(bD.VARIABLES)].map((e=>{
var t;return null==(t=e[1])?void 0:t.trim()}))||[];var r
;return n.filter((e=>!t[e])).forEach((t=>{
void 0===e.variables&&(e.variables={}),e.variables[t]={default:""}})),e}))}
const HR=An({selectedServer:null,servers:[],variables:{}}),VR=e=>{var t
;const n=null==(t=HR.servers)?void 0:t[e.selectedServer??HR.selectedServer??0],r=(null==n?void 0:n.variables)?Object.fromEntries(Object.entries(n.variables).map((([e,t])=>[e,t.default??""]))):{}
;Object.assign(HR,{...HR,...e,variables:{...r,...e.variables}})}
;function ZR(e,t){
return Object.fromEntries(Object.entries(e).filter((([e])=>e in(t.variables??{}))))
}
const WR=({specification:e,defaultServerUrl:t,servers:n}={})=>(void 0!==(null==e?void 0:e.value)&&Ma((()=>[null==e?void 0:e.value,null==n?void 0:n.value,null==t?void 0:t.value]),(()=>{
const r=qR(void 0===(null==n?void 0:n.value)?(null==e?void 0:e.value)??vd():vd({
servers:n.value}),{defaultServerUrl:null==t?void 0:t.value
}),o=null==r?void 0:r[HR.selectedServer??0];var a;VR({servers:r,variables:{
...(a=(null==o?void 0:o.variables)??{},
Object.fromEntries(Object.entries(a??{}).map((([e,t])=>{var n,r,o
;return[e,(null==(n=t.default)?void 0:n.toString())??(null==(o=null==(r=t.enum)?void 0:r[0])?void 0:o.toString())??""]
})))),...ZR(HR.variables,(null==r?void 0:r[HR.selectedServer??0])??{})}})}),{
deep:!0,immediate:!0}),{server:HR,setServer:VR}),XR=Fn(),GR=Fn(),YR=()=>({
selectedExampleKey:XR,operationId:GR});const KR={"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"}}}}
},JR=Object.keys(KR),e$={
EMPTY_OR_INVALID:"Can’t find JSON, YAML or filename in data",
OPENAPI_VERSION_NOT_SUPPORTED:"Can’t find supported Swagger/OpenAPI version in specification, version must be a string.",
INVALID_REFERENCE:"Can’t resolve reference: %s",
EXTERNAL_REFERENCE_NOT_FOUND:"Can’t resolve external reference: %s",
FILE_DOES_NOT_EXIST:"File does not exist: %s",NO_CONTENT:"No content found"}
;function t$(e){if(null===e)return{version:void 0,specificationType:void 0,
specificationVersion:void 0};for(const t of new Set(JR)){
const n="2.0"===t?"swagger":"openapi",r=e[n]
;if("string"==typeof r&&r.startsWith(t))return{version:t,specificationType:n,
specificationVersion:r}}return{version:void 0,specificationType:void 0,
specificationVersion:void 0}}function n$(e){
return null==e?void 0:e.find((e=>e.isEntrypoint))}function r$(e){
return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function o$(e,t,n=[]){
const r={};for(const[o,a]of Object.entries(e)){const e=[...n,o]
;Array.isArray(a)?r[o]=a.map(((n,r)=>"object"==typeof n&&null!==n?o$(n,t,[...e,r.toString()]):n)):r[o]="object"==typeof a&&null!==a?o$(a,t,e):a
}return t(r,n)}function a$(e){const t=[]
;return e&&"object"==typeof e?(o$(e,(e=>(e.$ref&&"string"==typeof e.$ref&&!e.$ref.startsWith("#")&&t.push(e.$ref.split("#")[0]),
e))),[...new Set(t)]):t}function i$(e){
return void 0!==e&&Array.isArray(e)&&e.length>0&&e.some((e=>!0===e.isEntrypoint))
}function s$(e){if(null===e)return{};if("string"==typeof e){
if(""===e.trim())return{};try{return JSON.parse(e)}catch(t){
return function(e,t,n){let r
;"function"==typeof t?r=t:void 0===n&&t&&"object"==typeof t&&(n=t)
;const o=dD(e,n);if(!o)return null
;if(o.warnings.forEach((e=>cA(o.options.logLevel,e))),o.errors.length>0){
if("silent"!==o.options.logLevel)throw o.errors[0];o.errors=[]}
return o.toJS(Object.assign({reviver:r},n))}(e,{maxAliasCount:1e4})}}
return i$(e),e}function l$(e,t={}){if(i$(e))return e;const n=s$(e);return[{
isEntrypoint:!0,specification:n,filename:null,dir:"./",references:a$(n),...t}]}
function c$(e,t,n,r,o,a){if("string"!=typeof e)return void a.push({
code:"INVALID_REFERENCE",message:e$.INVALID_REFERENCE.replace("%s",e)})
;const[i,s]=e.split("#",2),l=i!==n.filename;if(i&&l){
const e=r.find((e=>e.filename===i))
;return e?void 0===s?e.specification:c$(`#${s}`,t,o(e),r,o,a):void a.push({
code:"EXTERNAL_REFERENCE_NOT_FOUND",
message:e$.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",i)})}const c=function(e){
return e.split("/").slice(1).map(r$)}(s);try{
return c.reduce(((e,t)=>e[t]),n.specification)}catch(u){a.push({
code:"INVALID_REFERENCE",message:e$.INVALID_REFERENCE.replace("%s",e)})}}
async function u$(e,t){const n=l$(e),r=n$(n),o=function(e,t,n,r){
void 0===r&&(r=[]);const o=l$(structuredClone(e)),a=n$(o)
;return function e(n,o,a,i=new WeakSet){let s={errors:[]}
;if(null===n||i.has(n))return s;function l(t){return e(t.specification,o,t,i),t}
for(i.add(n);void 0!==n.$ref;){const e=c$(n.$ref,t,a,o,l,r)
;if("object"!=typeof e||null===e)break;delete n.$ref
;for(const t of Object.keys(e))void 0===n[t]&&(n[t]=e[t])}
for(const t of Object.values(n))"object"==typeof t&&null!==t&&(s=e(t,o,a,i))
;return s}((null==n?void 0:n.specification)??a.specification,o,n??a),{
valid:0===(r=r.filter(((e,t,n)=>t===n.findIndex((t=>t.message===e.message&&t.code===e.code))))).length,
errors:r,schema:(n??n$(o)).specification}}(n,t);return{
specification:r.specification,errors:o.errors,schema:o.schema,
...t$(r.specification)}}async function d$(e,t){var n,r,o,a,i,s;const l=[]
;if(null==(n=null==t?void 0:t.filesystem)?void 0:n.find((t=>t.filename===e)))return{
specification:null==(r=n$(t.filesystem))?void 0:r.specification,
filesystem:t.filesystem,errors:l}
;const c=null==(o=null==t?void 0:t.plugins)?void 0:o.find((t=>t.check(e)));let u
;if(c)try{u=s$(await c.get(e))}catch(h){
if(null==t?void 0:t.throwOnError)throw new Error(e$.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",e))
;return l.push({code:"EXTERNAL_REFERENCE_NOT_FOUND",
message:e$.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",e)}),{specification:null,
filesystem:[],errors:l}}else u=s$(e);if(void 0===u){
if(null==t?void 0:t.throwOnError)throw new Error("No content to load")
;return l.push({code:"NO_CONTENT",message:e$.NO_CONTENT}),{specification:null,
filesystem:[],errors:l}}let d=l$(u,{filename:(null==t?void 0:t.filename)??null})
;const p=((null==t?void 0:t.filename)?d.find((e=>e.filename===(null==t?void 0:t.filename))):n$(d)).references??a$(u)
;if(0===p.length)return{specification:null==(a=n$(d))?void 0:a.specification,
filesystem:d,errors:l};for(const f of p){
const n=null==(i=null==t?void 0:t.plugins)?void 0:i.find((e=>e.check(f)))
;if(!n)continue;const r=n.check(f)&&n.resolvePath?n.resolvePath(e,f):f
;if(d.find((e=>e.filename===f)))continue
;const{filesystem:o,errors:a}=await d$(r,{...t,filename:f})
;l.push(...a),d=[...d,...o.map((e=>({...e,isEntrypoint:!1})))]}return{
specification:null==(s=n$(d))?void 0:s.specification,filesystem:d,errors:l}}
function p$(e){let t=e
;return null!==t&&"string"==typeof t.openapi&&t.openapi.startsWith("3.0")?(t.openapi="3.1.1",
t=o$(t,(e=>("undefined"!==e.type&&!0===e.nullable&&(e.type=["null",e.type],
delete e.nullable),
e))),t=o$(t,(e=>(!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,
e))),t=o$(t,((e,t)=>(void 0!==e.example&&(!function(e){
return[["components","schemas"],"properties","items","allOf","anyOf","oneOf","not","additionalProperties"].some((t=>Array.isArray(t)?t.every(((t,n)=>e[n]===t)):e.includes(t)))||e.includes("schema")||e.some((e=>e.endsWith("Schema")))
}(t)?e.examples={default:{value:e.example}
}:e.examples=[e.example],delete e.example),e))),t=o$(t,((e,t)=>{
if("object"===e.type&&void 0!==e.properties){
if(t.slice(0,-1).some(((e,n)=>"content"===e&&"multipart/form-data"===t[n+1]))){
const t=Object.entries(e.properties)
;for(const[e,n]of t)"object"==typeof n&&"string"===n.type&&"binary"===n.format&&(n.contentMediaType="application/octet-stream",
delete n.format)}}return e
})),t=o$(t,((e,t)=>t.includes("content")&&t.includes("application/octet-stream")?{}:"string"===e.type&&"binary"===e.format?{
type:"string",contentMediaType:"application/octet-stream"
}:e)),t=o$(t,(e=>"string"===e.type&&"base64"===e.format?{type:"string",
contentEncoding:"base64"}:e)),t):t}function h$(e){var t,n,r;let o=e
;if(null===o||"string"!=typeof o.swagger||!(null==(t=o.swagger)?void 0:t.startsWith("2.0")))return o
;if(o.openapi="3.0.4",
delete o.swagger,console.warn("[upgradeFromTwoToThree] The upgrade from Swagger 2.0 to OpenAPI 3.0 documents is experimental and lacks features."),
o.host){
const e=Array.isArray(o.schemes)&&(null==(n=o.schemes)?void 0:n.length)?o.schemes:["http"]
;o.servers=e.map((e=>({url:`${e}://${o.host}${o.basePath??""}`
}))),delete o.basePath,delete o.schemes,delete o.host}
if(o.definitions&&(o.components=Object.assign({},o.components,{
schemas:o.definitions}),delete o.definitions,o=o$(o,(e=>{var t
;return(null==(t=e.$ref)?void 0:t.startsWith("#/definitions/"))&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")),
e
}))),"object"==typeof o.paths)for(const a in o.paths)if(Object.hasOwn(o.paths,a)){
const e=o.paths[a];for(const t in e)if(Object.hasOwn(e,t)){const n=e[t]
;if(n.parameters){
const e=structuredClone(n.parameters.find((e=>"body"===e.in))??{})
;if(e&&Object.keys(e).length){delete e.name,delete e.in
;const t=o.consumes??n.consumes??["application/json"]
;"object"!=typeof n.requestBody&&(n.requestBody={}),
"object"!=typeof n.requestBody.content&&(n.requestBody.content={})
;const{schema:r,...a}=e;n.requestBody={...n.requestBody,...a}
;for(const e of t)n.requestBody.content[e]={schema:r}}
n.parameters=n.parameters.filter((e=>"body"!==e.in)),delete n.consumes
;const t=n.parameters.filter((e=>"formData"===e.in));if(t.length>0){
"object"!=typeof n.requestBody&&(n.requestBody={}),
"object"!=typeof n.requestBody.content&&(n.requestBody.content={}),
n.requestBody.content["application/x-www-form-urlencoded"]={schema:{
type:"object",properties:{},required:[]}}
;for(const e of t)n.requestBody.content["application/x-www-form-urlencoded"].schema.properties[e.name]={
type:e.type,description:e.description
},e.required&&n.requestBody.content["application/x-www-form-urlencoded"].schema.required.push(e.name)
;n.parameters=n.parameters.filter((e=>"formData"!==e.in))}}
if(n.responses)for(const e in n.responses)if(Object.hasOwn(n.responses,e)){
const t=n.responses[e];if(t.schema){
const e=o.produces??n.produces??["application/json"]
;"object"!=typeof t.content&&(t.content={});for(const n of e)t.content[n]={
schema:t.schema};delete t.schema}}
delete n.produces,0===(null==(r=n.parameters)?void 0:r.length)&&delete n.parameters
}}if(o.securityDefinitions){
"object"!=typeof o.components&&(o.components={}),o.components=o.components,
Object.assign(o.components,{securitySchemes:{}})
;for(const[e,t]of Object.entries(o.securityDefinitions))if("object"==typeof t)if("type"in t&&"oauth2"===t.type){
const{flow:n,authorizationUrl:r,tokenUrl:a,scopes:i}=t
;Object.assign(o.components.securitySchemes,{[e]:{type:"oauth2",flows:{
[n]:Object.assign({},r&&{authorizationUrl:r},a&&{tokenUrl:a},i&&{scopes:i})}}})
}else Object.assign(o.components.securitySchemes,{[e]:t})
;delete o.securityDefinitions}return o}const f$={limit:20},m$=e=>{let t=0
;const n={...f$,...e};return{
check:e=>"string"==typeof e&&!(!e.startsWith("http://")&&!e.startsWith("https://")),
async get(e){
if(!1!==(null==n?void 0:n.limit)&&t>=(null==n?void 0:n.limit))console.warn(`[fetchUrls] Maximum number of requests reeached (${null==n?void 0:n.limit}), skipping request`);else try{
t++;const r=await((null==n?void 0:n.fetch)?n.fetch(e):fetch(e))
;return await r.text()}catch(r){console.error("[fetchUrls]",r.message,`(${e})`)}
}}},g$=e=>{let t={}
;t=e&&"object"==typeof e?structuredClone(e):vd(),t.tags||(t.tags=[]),
t.paths||(t.paths={});const n={};Object.keys(t.webhooks??{}).forEach((e=>{var r
;Object.keys((null==(r=t.webhooks)?void 0:r[e])??{}).forEach((r=>{var o,a,i
;const s=null==(o=t.webhooks)?void 0:o[e][r]
;!0!==(null==s?void 0:s["x-internal"])&&(void 0===n[e]&&(n[e]={}),n[e][r]={
httpVerb:zR(r),path:e,operationId:(null==s?void 0:s.operationId)||e,
name:(null==s?void 0:s.summary)||e||"",
description:(null==s?void 0:s.description)||"",
pathParameters:null==(i=null==(a=t.paths)?void 0:a[e])?void 0:i.parameters,
information:{...s}})}))})),Object.keys(t.paths).forEach((e=>{
Object.keys(t.paths[e]).filter((e=>eC.includes(e.toUpperCase()))).forEach((n=>{
var r,o,a,i,s,l;const c=t.paths[e][n];if(void 0===c)return
;if(!0===c["x-internal"])return;const u={httpVerb:zR(n),path:e,
operationId:c.operationId||e,name:c.summary||e||"",
description:c.description||"",information:{...c},
pathParameters:null==(o=null==(r=t.paths)?void 0:r[e])?void 0:o.parameters}
;if(c.tags&&0!==c.tags.length)c.tags.forEach((e=>{var n,r,o
;const a=null==(n=t.tags)?void 0:n.findIndex((t=>t.name===e))
;-1===a&&(null==(r=t.tags)||r.push({name:e,description:""}))
;const i=-1!==a?a:t.tags.length-1
;void 0===(null==(o=t.tags[i])?void 0:o.operations)&&(t.tags[i].operations=[]),
t.tags[i].operations.push(u)}));else{
(null==(a=t.tags)?void 0:a.find((e=>"default"===e.name)))||null==(i=t.tags)||i.push({
name:"default",description:"",operations:[]})
;const e=null==(s=t.tags)?void 0:s.findIndex((e=>"default"===e.name))
;e>=0&&(null==(l=t.tags[e])||l.operations.push(u))}}))}));return{...t,webhooks:n
}},v$=Symbol(),b$=Symbol(),y$=Symbol(),O$=Symbol(),w$=async e=>{var t
;null==(t=document.getElementById(e))||t.scrollIntoView()
},x$=e=>new Promise((t=>setTimeout(t,e))),k$=ud(Symbol("downloadSpec"))
;const S$=Fn(""),_$=Fn(BR.hash??""),E$=Fn(),T$=Fn(!1),C$=e=>e.slug?`description/${e.slug}`:"",A$=e=>{
var t;if(!E$.value)return""
;const n=new RegExp("^"+(null==(t=E$.value)?void 0:t.basePath)+"/?")
;return decodeURIComponent(e.replace(n,""))
},P$=(e,t)=>e?`webhook/${t}/${VT(e)}`:"webhooks",D$=e=>e?`model/${VT(e)}`:"models",R$=(e,t)=>`${$$(t)}/${e.httpVerb}${e.path}`,$$=({name:e})=>`tag/${VT(e)}`,N$=(e=_$.value)=>{
var t
;const n=null==(t=e.match(/(tag\/[^/]+)/))?void 0:t[0],r=e.startsWith("model")?"models":"",o=e.startsWith("webhook")?"webhooks":""
;return n||r||o},M$=()=>{
_$.value=E$.value?A$(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,"")).slice(S$.value.length)
},I$=(e,t=window.location.href)=>{const n=new URL(t)
;E$.value?n.pathname=JT(E$.value.basePath,e):n.hash=S$.value+e,
_$.value=e,window.history.replaceState({},"",n)
},L$=(e,t=window.location.href,n=window.location.search)=>{const r=new URL(t)
;return r.hash=S$.value+e,r.search=n,r.toString()
},j$=(e=_$.value)=>`${S$.value}${e}`,B$=()=>decodeURIComponent(window.location.hash.replace(/^#/,"").slice(S$.value.length)),U$=()=>({
hash:_$,setHashPrefix:e=>{S$.value=e},getFullHash:j$,getHashedUrl:L$,
replaceUrlState:I$,getReferenceHash:B$,getWebhookId:P$,getModelId:D$,
getHeadingId:C$,getOperationId:R$,getPathRoutingId:A$,getSectionId:N$,
getTagId:$$,isIntersectionEnabled:T$,pathRouting:E$,updateHash:M$})
;function Q$(e){return{parameterMap:Bi((()=>{var t;const n={path:[],query:[],
header:[],body:[],formData:[]};e.pathParameters&&e.pathParameters.forEach((e=>{
"path"===e.in?n.path.push(e):"query"===e.in?n.query.push(e):"header"===e.in?n.header.push(e):"body"===e.in?n.body.push(e):"formData"===e.in&&n.formData.push(e)
}));const r=(null==(t=e.information)?void 0:t.parameters)??[]
;return r&&r.forEach((e=>{
"path"===e.in?n.path.push(e):"query"===e.in?n.query.push(e):"header"===e.in?n.header.push(e):"body"===e.in?n.body.push(e):"formData"===e.in&&n.formData.push(e)
})),n}))}}const F$=async({url:e,content:t},n)=>{if(e){const t=performance.now()
;try{const r=function(e){try{return Boolean(new URL(e))}catch{return!1}
}(e)?await vD(e,n):await vD(e),o=performance.now()
;return console.log(`fetch: ${Math.round(o-t)} ms (${e})`),
console.log("size:",Math.round(r.length/1024),"kB"),r}catch(o){
console.error("Failed to fetch spec from URL:",o)}}
const r="function"==typeof t?t():t
;return"string"==typeof r?r:"object"==typeof r?_D(r):void 0}
;function z$({specConfig:e,proxyUrl:t}){const n=Fn(""),r=An(vd()),o=Fn(null)
;function a(e){return e?((e,{proxyUrl:t}={})=>new Promise((async(n,r)=>{var o
;try{if(!e)return n(g$(vd()))
;const a=performance.now(),{filesystem:i}=await d$(e,{plugins:[m$({
fetch:e=>fetch(t?oC(t,e):e)})]
}),{schema:s,errors:l}=await u$(i),c=performance.now()
;return console.log(`dereference: ${Math.round(c-a)} ms`),
(null==l?void 0:l.length)&&console.warn("Please open an issue on https://github.com/scalar/scalar\n","Scalar OpenAPI Parser Warning:\n",l),
void 0===s?(r((null==(o=null==l?void 0:l[0])?void 0:o.message)??"Failed to parse the OpenAPI file."),
n(g$(vd()))):n(g$(s))}catch(a){
console.error("[@scalar/api-reference]","Failed to parse the OpenAPI document. It might be invalid?"),
console.error(a),r(a)}return n(g$(vd()))})))(e,{proxyUrl:t?Zn(t):void 0
}).then((e=>{o.value=null,Object.assign(r,{servers:[],...e})})).catch((e=>{
o.value=e.toString()})):Object.assign(r,vd())}return Ma((()=>Zn(e)),(async e=>{
var r;if(e){const o=null==(r=await F$(e,Zn(t)))?void 0:r.trim()
;"string"==typeof o&&(n.value=o)}}),{immediate:!0,deep:!0}),Ma(n,(()=>{
a(n.value)})),{rawSpec:n,parsedSpec:r,specErrors:o}}
const q$=ud(Symbol()),{getHeadingId:H$,getModelId:V$,getOperationId:Z$,getSectionId:W$,getTagId:X$,getWebhookId:G$,hash:Y$}=U$(),K$=Fn(void 0),J$=An({})
;function eN(e){var t,n,r
;"alpha"===J$.tagsSorter?e.tags=null==(t=e.tags)?void 0:t.sort(((e,t)=>e.name.localeCompare(t.name))):"function"==typeof J$.tagsSorter&&(e.tags=null==(n=e.tags)?void 0:n.sort(J$.tagsSorter))
;const o=(e,t)=>{const n=e.name??e.path,r=t.name??t.path
;return n.localeCompare(r)},a=(e,t)=>e.httpVerb.localeCompare(t.httpVerb);let i
;return"alpha"===J$.operationsSorter?i=o:"method"===J$.operationsSorter?i=a:"function"==typeof J$.operationsSorter&&(i=J$.operationsSorter),
i&&(null==(r=e.tags)||r.forEach((e=>{var t
;e.operations=null==(t=e.operations)?void 0:t.sort(i)}))),K$.value=e}
const tN=Fn(!1),nN=Fn(!1),rN=An(BR["useSidebarContent-collapsedSidebarItems"]??{})
;function oN(e){rN[e]=!rN[e]}function aN(e,t){rN[e]=t}const iN=Fn([])
;const sN=Bi((()=>{var e,t,n,r,o,a,i,s,l,c;const u={},d=[];let p=null
;iN.value.forEach((e=>{var t;e.depth===XT(iN.value)?(p={id:H$(e),title:e.value,
show:!0,children:[]},d.push(p)):p&&(null==(t=p.children)||t.push({id:H$(e),
title:e.value,show:!0}))}))
;const h=null==(t=null==(e=K$.value)?void 0:e.tags)?void 0:t[0],f=h&&(1!==(null==(m=null==(n=K$.value)?void 0:n.tags)?void 0:m.length)||"default"!==m[0].name||""!==m[0].description)?null==(o=null==(r=K$.value)?void 0:r.tags)?void 0:o.filter((e=>{
var t;return(null==(t=e.operations)?void 0:t.length)>0})).map((e=>{var t;return{
id:X$(e),title:e.name,displayTitle:e["x-displayName"]??e.name,show:!0,
children:null==(t=e.operations)?void 0:t.map((t=>{var n
;const r=Z$(t,e),o=t.name??t.path;return u[r]=o,{id:r,title:o,
httpVerb:t.httpVerb,
deprecated:(null==(n=t.information)?void 0:n.deprecated)??!1,show:!0,
select:()=>{}}}))}})):null==(a=null==h?void 0:h.operations)?void 0:a.map((e=>{
var t;const n=Z$(e,h),r=e.name??e.path;return u[n]=r,{id:n,title:r,
httpVerb:e.httpVerb,
deprecated:(null==(t=e.information)?void 0:t.deprecated)??!1,show:!0,
select:()=>{}}}));var m;let g=YT(K$.value)&&!tN.value?[{id:V$(),title:"Models",
show:!0,children:Object.keys(GT(K$.value)??{}).map((e=>{var t;const n=V$(e)
;return u[n]=e,{id:n,title:(null==(t=GT(K$.value))?void 0:t[e]).title??e,show:!0
}}))}]:[],v=(b=K$.value)&&Object.keys((null==b?void 0:b.webhooks)??{}).length?[{
id:G$(),title:"Webhooks",show:!0,
children:Object.keys((null==(i=K$.value)?void 0:i.webhooks)??{}).map((e=>{
var t,n;const r=G$(e)
;return u[r]=e,Object.keys((null==(n=null==(t=K$.value)?void 0:t.webhooks)?void 0:n[e])??{}).map((t=>{
var n,r,o;return{id:G$(e,t),
title:null==(o=null==(r=null==(n=K$.value)?void 0:n.webhooks)?void 0:r[e][t])?void 0:o.name,
httpVerb:t,show:!0}}))})).flat()}]:[];var b
;const y=(null==(s=K$.value)?void 0:s["x-tagGroups"])?null==(c=null==(l=K$.value)?void 0:l["x-tagGroups"])?void 0:c.map((e=>{
var t;const n=[];null==(t=e.tags)||t.map((e=>{
if("models"===e&&g.length>0)n.push(g[0]),
g=[];else if("webhooks"===e&&v.length>0)n.push(v[0]),v=[];else{
const t=null==f?void 0:f.find((t=>t.title===e));t&&n.push(t)}}));return{
id:e.name,title:e.name,children:n,show:!0,isGroup:!0}
})):void 0,O=[...d,...y??f??[],...v,...g];return nN.value&&O.forEach((e=>{
aN(e.id,!0),e.show=!0})),{entries:O,titles:u}})),lN=Fn(!1),cN=Bi((()=>{var e,t
;return(null==(t=null==(e=sN.value)?void 0:e.titles)?void 0:t[Y$.value])??""
})),uN=e=>{const t=W$(e);if(t!==e)if(rN[t])w$(e);else{const n=q$.on((t=>{
t.id===e&&(w$(e),n())}));aN(t,!0)}};function dN(e){
return Object.assign(J$,e),(null==e?void 0:e.parsedSpec)&&(eN(e.parsedSpec),
Ma((()=>{var e,t
;return null==(t=null==(e=K$.value)?void 0:e.tags)?void 0:t.length}),(()=>{
var e,t;if(Y$.value){const e=W$(Y$.value);e&&aN(e,!0)}else{
const n=null==(t=null==(e=K$.value)?void 0:e.tags)?void 0:t[0];n&&aN(X$(n),!0)}
})),Ma((()=>{var e,t
;return null==(t=null==(e=K$.value)?void 0:e.info)?void 0:t.description}),(()=>{
var e,t;const n=null==(t=null==(e=K$.value)?void 0:e.info)?void 0:t.description
;return iN.value=n?function(e){const t=WT(e),n=XT(t)
;return t.filter((e=>e.depth===n||e.depth===n+1))}(n):[]}),{immediate:!0})),{
breadcrumb:cN,items:sN,isSidebarOpen:lN,collapsedSidebarItems:rN,
toggleCollapsedSidebarItem:oN,setCollapsedSidebarItem:aN,hideModels:tN,
setParsedSpec:eN,defaultOpenAllTags:nN,scrollToOperation:uN}}const pN={
targetKey:"shell",clientKey:"curl"},{clients:hN}=Yp();function fN(e){var t
;return(null==(t=bN.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey
}function mN(e){var t,n
;return(null==(n=null==(t=bN.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.client===e.clientKey)))?void 0:n.title)??e.clientKey
}const gN=Bi((()=>fN(_N))),vN=Bi((()=>mN(_N)));const bN=Bi((()=>{
return e=hN(),!0===(t=yN).value?[]:e.flatMap((e=>{var n
;return"object"!=typeof t.value?[]:Array.isArray(t.value)?(e.clients=e.clients.filter((e=>!t.value.includes(e.client))),
e.clients.length?[e]:[]):!0===t.value[e.key]?[]:(Array.isArray(t.value[e.key])&&(e.clients=e.clients.filter((n=>!t.value[e.key].includes(n.client)))),
(null==(n=null==e?void 0:e.clients)?void 0:n.length)?[e]:[])}));var e,t
})),yN=Fn({}),ON=Fn();function wN(e){void 0!==e&&(ON.value=e,EN(xN()))}
const xN=()=>{var e,t,n,r;return kN(ON.value)?ON.value:kN(pN)?pN:{
targetKey:null==(e=bN.value[0])?void 0:e.key,
clientKey:null==(r=null==(n=null==(t=bN.value[0])?void 0:t.clients)?void 0:n[0])?void 0:r.client
}};function kN(e){
return void 0!==e&&!!bN.value.find((t=>t.key===e.targetKey&&t.clients.find((t=>t.client===e.clientKey))))
}function SN(){LR(_N,xN())}const _N=An(xN()),EN=e=>{Object.assign(_N,{..._N,...e
})},TN=()=>({httpClient:Dn(_N),resetState:SN,setHttpClient:EN,
setDefaultHttpClient:wN,excludedClients:Dn(yN),setExcludedClients:e=>{
yN.value=e,LR(_N,xN())},availableTargets:bN,getClientTitle:mN,getTargetTitle:fN,
httpTargetTitle:gN,httpClientTitle:vN});function CN(e,t,n){
let r=Fn(null==n?void 0:n.value),o=Bi((()=>void 0!==e.value))
;return[Bi((()=>o.value?e.value:r.value)),function(e){
return o.value||(r.value=e),null==t?void 0:t(e)}]}function AN(e){
"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{
throw e}))))}function PN(){let e=[],t={
addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),
t.add((()=>e.removeEventListener(n,r,o)))),requestAnimationFrame(...e){
let n=requestAnimationFrame(...e);t.add((()=>cancelAnimationFrame(n)))},
nextFrame(...e){t.requestAnimationFrame((()=>{t.requestAnimationFrame(...e)}))},
setTimeout(...e){let n=setTimeout(...e);t.add((()=>clearTimeout(n)))},
microTask(...e){let n={current:!0};return AN((()=>{n.current&&e[0]()
})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t)
;return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{
[t]:r})}))},group(e){let t=PN();return e(t),this.add((()=>t.dispose()))},
add:t=>(e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()
}),dispose(){for(let t of e.splice(0))t()}};return t}
let DN=Symbol("headlessui.useid"),RN=0;function $N(){
return la(DN,(()=>""+ ++RN))()}function NN(e){var t
;if(null==e||null==e.value)return null;let n=null!=(t=e.value.$el)?t:e.value
;return n instanceof Node?n:null}function MN(e,t,...n){if(e in t){let r=t[e]
;return"function"==typeof r?r(...n):r}
let r=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(r,MN),r}
var IN=Object.defineProperty,LN=(e,t,n)=>(((e,t,n)=>{t in e?IN(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n
})(e,"symbol"!=typeof t?t+"":t,n),n);let jN=new class{constructor(){
LN(this,"current",this.detect()),LN(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 BN(e){if(jN.isServer)return null
;if(e instanceof Node)return e.ownerDocument
;if(null!=e&&e.hasOwnProperty("value")){let t=NN(e);if(t)return t.ownerDocument}
return document}
let UN=["[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 QN,FN,zN,qN=((zN=qN||{})[zN.First=1]="First",
zN[zN.Previous=2]="Previous",zN[zN.Next=4]="Next",
zN[zN.Last=8]="Last",zN[zN.WrapAround=16]="WrapAround",
zN[zN.NoScroll=32]="NoScroll",
zN),HN=((FN=HN||{})[FN.Error=0]="Error",FN[FN.Overflow=1]="Overflow",
FN[FN.Success=2]="Success",
FN[FN.Underflow=3]="Underflow",FN),VN=((QN=VN||{})[QN.Previous=-1]="Previous",
QN[QN.Next=1]="Next",QN);function ZN(e=document.body){
return null==e?[]:Array.from(e.querySelectorAll(UN)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))
}var WN=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(WN||{})
;function XN(e,t=0){var n;return e!==(null==(n=BN(e))?void 0:n.body)&&MN(t,{
0:()=>e.matches(UN),1(){let t=e;for(;null!==t;){if(t.matches(UN))return!0
;t=t.parentElement}return!1}})}function GN(e){let t=BN(e);yr((()=>{
t&&!XN(t.activeElement,0)&&KN(e)}))}
var YN=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(YN||{})
;function KN(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 JN=["textarea","input"].join(",");function eM(e,t=e=>e){
return e.slice().sort(((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0
;let a=r.compareDocumentPosition(o)
;return a&Node.DOCUMENT_POSITION_FOLLOWING?-1:a&Node.DOCUMENT_POSITION_PRECEDING?1:0
}))}function tM(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){var a
;let i=null!=(a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:null==e?void 0:e.ownerDocument)?a:document,s=Array.isArray(e)?n?eM(e):e:ZN(e)
;o.length>0&&s.length>1&&(s=s.filter((e=>!o.includes(e)))),
r=null!=r?r: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(r))-1
;if(4&t)return Math.max(0,s.indexOf(r))+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,n
;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,JN))&&n
}(l)&&l.select(),2}function nM(){
return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0
}function rM(){return nM()||/Android/gi.test(window.navigator.userAgent)}
function oM(e,t,n){jN.isServer||Na((r=>{
document.addEventListener(e,t,n),r((()=>document.removeEventListener(e,t,n)))}))
}function aM(e,t,n){jN.isServer||Na((r=>{
window.addEventListener(e,t,n),r((()=>window.removeEventListener(e,t,n)))}))}
function iM(e,t,n=Bi((()=>!0))){function r(r,o){
if(!n.value||r.defaultPrevented)return;let a=o(r)
;if(null===a||!a.getRootNode().contains(a))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:NN(e)
;if(null!=t&&t.contains(a)||r.composed&&r.composedPath().includes(t))return}
return!XN(a,WN.Loose)&&-1!==a.tabIndex&&r.preventDefault(),t(r,a)}let o=Fn(null)
;oM("pointerdown",(e=>{var t,r
;n.value&&(o.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)
}),!0),oM("mousedown",(e=>{var t,r
;n.value&&(o.value=(null==(r=null==(t=e.composedPath)?void 0:t.call(e))?void 0:r[0])||e.target)
}),!0),oM("click",(e=>{rM()||o.value&&(r(e,(()=>o.value)),o.value=null)
}),!0),oM("touchend",(e=>r(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0),
aM("blur",(e=>r(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)
}function sM(e,t){if(e)return e;let n=null!=t?t:"button"
;return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}
function lM(e,t){let n=Fn(sM(e.value.type,e.value.as));return go((()=>{
n.value=sM(e.value.type,e.value.as)})),Na((()=>{var e
;n.value||NN(t)&&NN(t)instanceof HTMLButtonElement&&(null==(e=NN(t))||!e.hasAttribute("type"))&&(n.value="button")
})),n}function cM(e){return[e.screenX,e.screenY]}function uM(){let e=Fn([-1,-1])
;return{wasMoved(t){let n=cM(t)
;return(e.value[0]!==n[0]||e.value[1]!==n[1])&&(e.value=n,!0)},update(t){
e.value=cM(t)}}}function dM({container:e,accept:t,walk:n,enabled:r}){Na((()=>{
let o=e.value;if(!o||void 0!==r&&!r.value)return;let a=BN(e);if(!a)return
;let i=Object.assign((e=>t(e)),{acceptNode:t
}),s=a.createTreeWalker(o,NodeFilter.SHOW_ELEMENT,i,!1)
;for(;s.nextNode();)n(s.currentNode)}))}
var pM,hM=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",
e[e.Static=2]="Static",
e))(hM||{}),fM=((pM=fM||{})[pM.Unmount=0]="Unmount",pM[pM.Hidden=1]="Hidden",pM)
;function mM({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...o}){var a
;let i=bM(r,n),s=Object.assign(o,{props:i});if(e||2&t&&i.static)return gM(s)
;if(1&t){return MN(null==(a=i.unmount)||a?0:1,{0:()=>null,1:()=>gM({...o,props:{
...i,hidden:!0,style:{display:"none"}}})})}return gM(s)}
function gM({props:e,attrs:t,slots:n,slot:r,name:o}){var a,i
;let{as:s,...l}=OM(e,["unmount","static"]),c=null==(a=n.default)?void 0:a.call(n,r),u={}
;if(r){let e=!1,t=[]
;for(let[n,o]of Object.entries(r))"boolean"==typeof o&&(e=!0),!0===o&&t.push(n)
;e&&(u["data-headlessui-state"]=t.join(" "))}if("template"===s){
if(c=vM(null!=c?c:[]),Object.keys(l).length>0||Object.keys(t).length>0){
let[e,...n]=null!=c?c:[];if(!function(e){
return null!=e&&("string"==typeof e.type||"object"==typeof e.type||"function"==typeof e.type)
}(e)||n.length>0)throw new Error(['Passing props on "template"!',"",`The current component <${o} /> 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,n)=>n.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 r=bM(null!=(i=e.props)?i:{},l,u),a=hi(e,r,!0)
;for(let t in r)t.startsWith("on")&&(a.props||(a.props={}),a.props[t]=r[t])
;return a}return Array.isArray(c)&&1===c.length?c[0]:c}
return Ui(s,Object.assign({},l,u),{default:()=>c})}function vM(e){
return e.flatMap((e=>e.type===Wa?vM(e.children):[e]))}function bM(...e){
if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={}
;for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),
n[e].push(r[e])):t[e]=r[e]
;if(t.disabled||t["aria-disabled"])return Object.assign(t,Object.fromEntries(Object.keys(n).map((e=>[e,void 0]))))
;for(let r in n)Object.assign(t,{[r](e,...t){let o=n[r];for(let n of o){
if(e instanceof Event&&e.defaultPrevented)return;n(e,...t)}}});return t}
function yM(e){let t=Object.assign({},e)
;for(let n in t)void 0===t[n]&&delete t[n];return t}function OM(e,t=[]){
let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n}
var wM=(e=>(e[e.None=1]="None",
e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(wM||{});let xM=no({
name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{
type:Number,default:1}},setup:(e,{slots:t,attrs:n})=>()=>{var r
;let{features:o,...a}=e;return mM({ourProps:{
"aria-hidden":!(2&~o)||(null!=(r=a["aria-hidden"])?r:void 0),
hidden:!(4&~o)||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&~o)&&!!(2&~o)&&{display:"none"}}},
theirProps:a,slot:{},attrs:n,slots:t,name:"Hidden"})}}),kM=Symbol("Context")
;var SM=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",
e[e.Opening=8]="Opening",e))(SM||{});function _M(){return la(kM,null)}
function EM(e){sa(kM,e)}
var TM,CM=((TM=CM||{}).Space=" ",TM.Enter="Enter",TM.Escape="Escape",
TM.Backspace="Backspace",
TM.Delete="Delete",TM.ArrowLeft="ArrowLeft",TM.ArrowUp="ArrowUp",
TM.ArrowRight="ArrowRight",TM.ArrowDown="ArrowDown",TM.Home="Home",TM.End="End",
TM.PageUp="PageUp",TM.PageDown="PageDown",TM.Tab="Tab",TM);let AM=[]
;!function(e){function t(){
"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))
}
"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),
t())}((()=>{function e(e){
e.target instanceof HTMLElement&&e.target!==document.body&&AM[0]!==e.target&&(AM.unshift(e.target),
AM=AM.filter((e=>null!=e&&e.isConnected)),AM.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})}))
;var PM,DM=((PM=DM||{})[PM.First=0]="First",
PM[PM.Previous=1]="Previous",PM[PM.Next=2]="Next",
PM[PM.Last=3]="Last",PM[PM.Specific=4]="Specific",PM[PM.Nothing=5]="Nothing",PM)
;function RM(e,t){let n=t.resolveItems();if(n.length<=0)return null
;let r=t.resolveActiveIndex(),o=null!=r?r:-1;switch(e.focus){case 0:
for(let e=0;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e;return r
;case 1:-1===o&&(o=n.length)
;for(let e=o-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r
;case 2:for(let e=o+1;e<n.length;++e)if(!t.resolveDisabled(n[e],e,n))return e
;return r;case 3:
for(let e=n.length-1;e>=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r
;case 4:for(let r=0;r<n.length;++r)if(t.resolveId(n[r],r,n)===e.id)return r
;return r;case 5:return null;default:!function(e){
throw new Error("Unexpected object: "+e)}(e)}}function $M(e={},t=null,n=[]){
for(let[r,o]of Object.entries(e))MM(n,NM(t,r),o);return n}function NM(e,t){
return e?e+"["+t+"]":t}function MM(e,t,n){
if(Array.isArray(n))for(let[r,o]of n.entries())MM(e,NM(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):"boolean"==typeof n?e.push([t,n?"1":"0"]):"string"==typeof n?e.push([t,n]):"number"==typeof n?e.push([t,`${n}`]):null==n?e.push([t,""]):$M(n,t,e)
}function IM(e,t,n,r){jN.isServer||Na((o=>{
(e=null!=e?e:window).addEventListener(t,n,r),
o((()=>e.removeEventListener(t,n,r)))}))}var LM=(e=>(e[e.Forwards=0]="Forwards",
e[e.Backwards=1]="Backwards",e))(LM||{});function jM(){let e=Fn(0)
;return aM("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e}
function BM(e){if(!e)return new Set;if("function"==typeof e)return new Set(e())
;let t=new Set;for(let n of e.value){let e=NN(n)
;e instanceof HTMLElement&&t.add(e)}return t}
var UM=(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))(UM||{});let QM=Object.assign(no({name:"FocusTrap",props:{
as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},
features:{type:Number,default:30},containers:{type:[Object,Function],
default:Fn(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){
let o=Fn(null);r({el:o,$el:o});let a=Bi((()=>BN(o))),i=Fn(!1)
;go((()=>i.value=!0)),Oo((()=>i.value=!1)),function({ownerDocument:e},t){
let n=function(e){let t=Fn(AM.slice());return Ma([e],(([e],[n])=>{
!0===n&&!1===e?AN((()=>{t.value.splice(0)
})):!1===n&&!0===e&&(t.value=AM.slice())}),{flush:"post"}),()=>{var e
;return null!=(e=t.value.find((e=>null!=e&&e.isConnected)))?e:null}}(t)
;go((()=>{Na((()=>{var r,o
;t.value||(null==(r=e.value)?void 0:r.activeElement)===(null==(o=e.value)?void 0:o.body)&&KN(n())
}),{flush:"post"})})),Oo((()=>{t.value&&KN(n())}))}({ownerDocument:a
},Bi((()=>i.value&&Boolean(16&e.features))))
;let s=function({ownerDocument:e,container:t,initialFocus:n},r){
let o=Fn(null),a=Fn(!1)
;return go((()=>a.value=!0)),Oo((()=>a.value=!1)),go((()=>{Ma([t,n,r],((i,s)=>{
if(i.every(((e,t)=>(null==s?void 0:s[t])===e))||!r.value)return;let l=NN(t)
;l&&AN((()=>{var t,r;if(!a.value)return
;let i=NN(n),s=null==(t=e.value)?void 0:t.activeElement;if(i){
if(i===s)return void(o.value=s)}else if(l.contains(s))return void(o.value=s)
;i?KN(i):tM(l,qN.First|qN.NoScroll)===HN.Error&&console.warn("There are no focusable elements inside the <FocusTrap />"),
o.value=null==(r=e.value)?void 0:r.activeElement}))}),{immediate:!0,flush:"post"
})})),o}({ownerDocument:a,container:o,initialFocus:Bi((()=>e.initialFocus))
},Bi((()=>i.value&&Boolean(2&e.features))))
;!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){
var a;IM(null==(a=e.value)?void 0:a.defaultView,"focus",(e=>{if(!o.value)return
;let a=BM(n);NN(t)instanceof HTMLElement&&a.add(NN(t));let i=r.value
;if(!i)return;let s=e.target
;s&&s instanceof HTMLElement?FM(a,s)?(r.value=s,KN(s)):(e.preventDefault(),
e.stopPropagation(),KN(i)):KN(r.value)}),!0)}({ownerDocument:a,container:o,
containers:e.containers,previousActiveElement:s
},Bi((()=>i.value&&Boolean(8&e.features))));let l=jM();function c(e){let t=NN(o)
;t&&MN(l.value,{[LM.Forwards]:()=>{tM(t,qN.First,{skipElements:[e.relatedTarget]
})},[LM.Backwards]:()=>{tM(t,qN.Last,{skipElements:[e.relatedTarget]})}})}
let u=Fn(!1);function d(e){
"Tab"===e.key&&(u.value=!0,requestAnimationFrame((()=>{u.value=!1})))}
function p(t){if(!i.value)return;let n=BM(e.containers)
;NN(o)instanceof HTMLElement&&n.add(NN(o));let r=t.relatedTarget
;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(FM(n,r)||(u.value?tM(NN(o),MN(l.value,{
[LM.Forwards]:()=>qN.Next,[LM.Backwards]:()=>qN.Previous})|qN.WrapAround,{
relativeTo:t.target}):t.target instanceof HTMLElement&&KN(t.target)))}
return()=>{let r={ref:o,onKeydown:d,onFocusout:p
},{features:a,initialFocus:i,containers:s,...l}=e
;return Ui(Wa,[Boolean(4&a)&&Ui(xM,{as:"button",type:"button",
"data-headlessui-focus-guard":!0,onFocus:c,features:wM.Focusable}),mM({
ourProps:r,theirProps:{...t,...l},slot:{},attrs:t,slots:n,name:"FocusTrap"
}),Boolean(4&a)&&Ui(xM,{as:"button",type:"button",
"data-headlessui-focus-guard":!0,onFocus:c,features:wM.Focusable})])}}}),{
features:UM});function FM(e,t){for(let n of e)if(n.contains(t))return!0;return!1
}function zM(){let e;return{before({doc:t}){var n;let r=t.documentElement
;e=(null!=(n=t.defaultView)?n:window).innerWidth-r.clientWidth},
after({doc:t,d:n}){let r=t.documentElement,o=r.clientWidth-r.offsetWidth,a=e-o
;n.style(r,"paddingRight",`${a}px`)}}}function qM(e){let t={}
;for(let n of e)Object.assign(t,n(t));return t}let HM=function(e,t){
let n=e(),r=new Set;return{getSnapshot:()=>n,
subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...o){let a=t[e].call(n,...o)
;a&&(n=a,r.forEach((e=>e())))}}}((()=>new Map),{PUSH(e,t){var n
;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:PN(),meta:new Set}
;return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e)
;return n&&(n.count--,n.meta.delete(t)),this},
SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:qM(n)},o=[nM()?{
before({doc:e,d:t,meta:n}){function r(e){
return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}
t.microTask((()=>{var n
;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){
let n=PN()
;n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))
}let o=null!=(n=window.scrollY)?n:window.pageYOffset,a=null
;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{
let n=t.target.closest("a");if(!n)return
;let{hash:o}=new URL(n.href),i=e.querySelector(o);i&&!r(i)&&(a=i)}catch{}}),!0),
t.addEventListener(e,"touchstart",(e=>{
if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target
;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement
;t.style(n,"overscrollBehavior","contain")
}else t.style(e.target,"touchAction","none")
})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){
if("INPUT"===e.target.tagName)return;if(r(e.target)){let t=e.target
;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement
;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}
}),{passive:!1}),t.add((()=>{var e
;let t=null!=(e=window.scrollY)?e:window.pageYOffset
;o!==t&&window.scrollTo(0,o),a&&a.isConnected&&(a.scrollIntoView({
block:"nearest"}),a=null)}))}))}}:{},zM(),{before({doc:e,d:t}){
t.style(e.documentElement,"overflow","hidden")}}]
;o.forEach((({before:e})=>null==e?void 0:e(r))),
o.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},
TEARDOWN({doc:e}){this.delete(e)}});function VM(e,t,n){let r=function(e){
let t=zn(e.getSnapshot());return Oo(e.subscribe((()=>{t.value=e.getSnapshot()
}))),t}(HM),o=Bi((()=>{let t=e.value?r.value.get(e.value):void 0
;return!!t&&t.count>0}));return Ma([e,t],(([e,t],[r],o)=>{if(!e||!t)return
;HM.dispatch("PUSH",e,n);let a=!1;o((()=>{
a||(HM.dispatch("POP",null!=r?r:e,n),a=!0)}))}),{immediate:!0}),o}
HM.subscribe((()=>{let e=HM.getSnapshot(),t=new Map
;for(let[n]of e)t.set(n,n.documentElement.style.overflow)
;for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count
;(r&&!e||!r&&e)&&HM.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),
0===n.count&&HM.dispatch("TEARDOWN",n)}}));let ZM=new Map,WM=new Map
;function XM(e,t=Fn(!0)){Na((n=>{var r;if(!t.value)return;let o=NN(e)
;if(!o)return;n((function(){var e;if(!o)return;let t=null!=(e=WM.get(o))?e:1
;if(1===t?WM.delete(o):WM.set(o,t-1),1!==t)return;let n=ZM.get(o)
;n&&(null===n["aria-hidden"]?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",n["aria-hidden"]),
o.inert=n.inert,ZM.delete(o))}));let a=null!=(r=WM.get(o))?r:0
;WM.set(o,a+1),0===a&&(ZM.set(o,{"aria-hidden":o.getAttribute("aria-hidden"),
inert:o.inert}),o.setAttribute("aria-hidden","true"),o.inert=!0)}))}
function GM({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){
let r=Fn(null),o=BN(r);function a(){var n,a,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!=(n=null==o?void 0:o.querySelectorAll("html > *, body > *"))?n:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(e.contains(NN(r))||e.contains(null==(i=null==(a=NN(r))?void 0:a.getRootNode())?void 0:i.host)||s.some((t=>e.contains(t)))||s.push(e))
;return s}return{resolveContainers:a,contains:e=>a().some((t=>t.contains(e))),
mainTreeNodeRef:r,MainTreeNode:()=>null!=n?null:Ui(xM,{features:wM.Hidden,ref:r
})}}let YM=Symbol("ForcePortalRootContext");let KM=no({name:"ForcePortalRoot",
props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,
default:!1}},setup:(e,{slots:t,attrs:n})=>(sa(YM,e.force),()=>{
let{force:r,...o}=e;return mM({theirProps:o,ourProps:{},slot:{},slots:t,attrs:n,
name:"ForcePortalRoot"})})}),JM=Symbol("StackContext")
;var eI=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(eI||{})
;function tI({type:e,enabled:t,element:n,onUpdate:r}){let o=la(JM,(()=>{}))
;function a(...e){null==r||r(...e),o(...e)}go((()=>{Ma(t,((t,r)=>{
t?a(0,e,n):!0===r&&a(1,e,n)}),{immediate:!0,flush:"sync"})})),Oo((()=>{
t.value&&a(1,e,n)})),sa(JM,a)}let nI=Symbol("DescriptionContext")
;function rI({slot:e=Fn({}),name:t="Description",props:n={}}={}){let r=Fn([])
;return sa(nI,{register:function(e){return r.value.push(e),()=>{
let t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1)}},slot:e,name:t,props:n
}),Bi((()=>r.value.length>0?r.value.join(" "):void 0))}let oI=no({
name:"Description",props:{as:{type:[Object,String],default:"p"},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n}){var r
;let o=null!=(r=e.id)?r:`headlessui-description-${$N()}`,a=function(){
let e=la(nI,null);if(null===e)throw new Error("Missing parent");return e}()
;return go((()=>Oo(a.register(o)))),()=>{
let{name:r="Description",slot:i=Fn({}),props:s={}}=a,{...l}=e;return mM({
ourProps:{...Object.entries(s).reduce(((e,[t,n])=>Object.assign(e,{[t]:Vn(n)
})),{}),id:o},theirProps:l,slot:i.value,attrs:t,slots:n,name:r})}}})
;const aI=new WeakMap;function iI(e,t){let n=t(function(e){var t
;return null!=(t=aI.get(e))?t:0}(e));return n<=0?aI.delete(e):aI.set(e,n),n}
let sI=no({name:"Portal",props:{as:{type:[Object,String],default:"div"}},
setup(e,{slots:t,attrs:n}){
let r=Fn(null),o=Bi((()=>BN(r))),a=la(YM,!1),i=la(uI,null),s=Fn(!0===a||null==i?function(e){
let t=BN(e);if(!t){if(null===e)return null
;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)
}let n=t.getElementById("headlessui-portal-root");if(n)return n
;let r=t.createElement("div")
;return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)
}(r.value):i.resolveTarget());s.value&&iI(s.value,(e=>e+1));let l=Fn(!1)
;go((()=>{l.value=!0})),Na((()=>{a||null!=i&&(s.value=i.resolveTarget())}))
;let c=la(lI,null),u=!1,d=_i();return Ma(r,(()=>{if(u||!c)return;let e=NN(r)
;e&&(Oo(c.register(e),d),u=!0)})),Oo((()=>{var e,t
;let n=null==(e=o.value)?void 0:e.getElementById("headlessui-portal-root")
;!n||s.value!==n||iI(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 o={ref:r,
"data-headlessui-portal":""};return Ui(Ur,{to:s.value},mM({ourProps:o,
theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}
}),lI=Symbol("PortalParentContext");function cI(){let e=la(lI,null),t=Fn([])
;function n(n){let r=t.value.indexOf(n)
;-1!==r&&t.value.splice(r,1),e&&e.unregister(n)}let r={register:function(r){
return t.value.push(r),e&&e.register(r),()=>n(r)},unregister:n,portals:t}
;return[t,no({name:"PortalWrapper",setup:(e,{slots:t})=>(sa(lI,r),()=>{var e
;return null==(e=t.default)?void 0:e.call(t)})})]}
let uI=Symbol("PortalGroupContext"),dI=no({name:"PortalGroup",props:{as:{
type:[Object,String],default:"template"},target:{type:Object,default:null}},
setup(e,{attrs:t,slots:n}){let r=An({resolveTarget:()=>e.target})
;return sa(uI,r),()=>{let{target:r,...o}=e;return mM({theirProps:o,ourProps:{},
slot:{},attrs:t,slots:n,name:"PortalGroup"})}}})
;var pI,hI=((pI=hI||{})[pI.Open=0]="Open",pI[pI.Closed=1]="Closed",pI)
;let fI=Symbol("DialogContext");function mI(e){let t=la(fI,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,mI),t}return t}
let gI="DC8F892D-2EBD-447C-A4C8-A03058436FF4",vI=no({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:gI},initialFocus:{type:Object,default:null},id:{
type:String,default:null},role:{type:String,default:"dialog"}},emits:{
close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){var a,i
;let s=null!=(a=e.id)?a:`headlessui-dialog-${$N()}`,l=Fn(!1);go((()=>{l.value=!0
}))
;let c=!1,u=Bi((()=>"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=Fn(0),p=_M(),h=Bi((()=>e.open===gI&&null!==p?(p.value&SM.Open)===SM.Open:e.open)),f=Fn(null),m=Bi((()=>BN(f)))
;if(o({el:f,$el:f
}),e.open===gI&&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===gI?void 0:e.open}`)
;let g=Bi((()=>l.value&&h.value?0:1)),v=Bi((()=>0===g.value)),b=Bi((()=>d.value>1)),y=null!==la(fI,null),[O,w]=cI(),{resolveContainers:x,mainTreeNodeRef:k,MainTreeNode:S}=GM({
portals:O,defaultContainers:[Bi((()=>{var e
;return null!=(e=$.panelRef.value)?e:f.value}))]
}),_=Bi((()=>b.value?"parent":"leaf")),E=Bi((()=>null!==p&&(p.value&SM.Closing)===SM.Closing)),T=Bi((()=>!y&&!E.value&&v.value)),C=Bi((()=>{
var e,t,n
;return null!=(n=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("body > *"))?t:[]).find((e=>"headlessui-portal-root"!==e.id&&(e.contains(NN(k))&&e instanceof HTMLElement))))?n:null
}));XM(C,T);let A=Bi((()=>!!b.value||v.value)),P=Bi((()=>{var e,t,n
;return null!=(n=Array.from(null!=(t=null==(e=m.value)?void 0:e.querySelectorAll("[data-headlessui-portal]"))?t:[]).find((e=>e.contains(NN(k))&&e instanceof HTMLElement)))?n:null
}));XM(P,A),tI({type:"Dialog",enabled:Bi((()=>0===g.value)),element:f,
onUpdate:(e,t)=>{if("Dialog"===t)return MN(e,{[eI.Add]:()=>d.value+=1,
[eI.Remove]:()=>d.value-=1})}});let D=rI({name:"DialogDescription",
slot:Bi((()=>({open:h.value})))}),R=Fn(null),$={titleId:R,panelRef:Fn(null),
dialogState:g,setTitleId(e){R.value!==e&&(R.value=e)},close(){t("close",!1)}}
;sa(fI,$);let N=Bi((()=>!(!v.value||b.value)));iM(x,((e,t)=>{e.preventDefault(),
$.close(),yr((()=>null==t?void 0:t.focus()))}),N)
;let M=Bi((()=>!(b.value||0!==g.value)))
;IM(null==(i=m.value)?void 0:i.defaultView,"keydown",(e=>{
M.value&&(e.defaultPrevented||e.key===CM.Escape&&(e.preventDefault(),
e.stopPropagation(),$.close()))}));let I=Bi((()=>!(E.value||0!==g.value||y)))
;return VM(m,I,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],x]}
})),Na((e=>{if(0!==g.value)return;let t=NN(f);if(!t)return
;let n=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&&$.close()}}))
;n.observe(t),e((()=>n.disconnect()))})),()=>{
let{open:t,initialFocus:o,...a}=e,i={...n,ref:f,id:s,role:u.value,
"aria-modal":0===g.value||void 0,"aria-labelledby":R.value,
"aria-describedby":D.value},l={open:0===g.value};return Ui(KM,{force:!0
},(()=>[Ui(sI,(()=>Ui(dI,{target:f.value},(()=>Ui(KM,{force:!1},(()=>Ui(QM,{
initialFocus:o,containers:x,features:v.value?MN(_.value,{
parent:QM.features.RestoreFocus,leaf:QM.features.All&~QM.features.FocusLock
}):QM.features.None},(()=>Ui(w,{},(()=>mM({ourProps:i,theirProps:{...a,...n},
slot:l,attrs:n,slots:r,visible:0===g.value,features:hM.RenderStrategy|hM.Static,
name:"Dialog"}))))))))))),Ui(S)]))}}}),bI=no({name:"DialogPanel",props:{as:{
type:[Object,String],default:"div"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-dialog-panel-${$N()}`,i=mI("DialogPanel")
;function s(e){e.stopPropagation()}return r({el:i.panelRef,$el:i.panelRef
}),()=>{let{...r}=e;return mM({ourProps:{id:a,ref:i.panelRef,onClick:s},
theirProps:r,slot:{open:0===i.dialogState.value},attrs:t,slots:n,
name:"DialogPanel"})}}}),yI=no({name:"DialogTitle",props:{as:{
type:[Object,String],default:"h2"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n}){var r
;let o=null!=(r=e.id)?r:`headlessui-dialog-title-${$N()}`,a=mI("DialogTitle")
;return go((()=>{a.setTitleId(o),Oo((()=>a.setTitleId(null)))})),()=>{
let{...r}=e;return mM({ourProps:{id:o},theirProps:r,slot:{
open:0===a.dialogState.value},attrs:t,slots:n,name:"DialogTitle"})}}}),OI=oI
;var wI=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(wI||{})
;let xI=Symbol("DisclosureContext");function kI(e){let t=la(xI,null)
;if(null===t){
let t=new Error(`<${e} /> is missing a parent <Disclosure /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,kI),t}return t}
let SI=Symbol("DisclosurePanelContext");let _I=no({name:"Disclosure",props:{as:{
type:[Object,String],default:"template"},defaultOpen:{type:[Boolean],default:!1}
},setup(e,{slots:t,attrs:n}){
let r=Fn(e.defaultOpen?0:1),o=Fn(null),a=Fn(null),i={
buttonId:Fn(`headlessui-disclosure-button-${$N()}`),
panelId:Fn(`headlessui-disclosure-panel-${$N()}`),disclosureState:r,panel:o,
button:a,toggleDisclosure(){r.value=MN(r.value,{0:1,1:0})},closeDisclosure(){
1!==r.value&&(r.value=1)},close(e){i.closeDisclosure()
;let t=e?e instanceof HTMLElement?e:e.value instanceof HTMLElement?NN(e):NN(i.button):NN(i.button)
;null==t||t.focus()}};return sa(xI,i),EM(Bi((()=>MN(r.value,{0:SM.Open,
1:SM.Closed})))),()=>{let{defaultOpen:o,...a}=e;return mM({theirProps:a,
ourProps:{},slot:{open:0===r.value,close:i.close},slots:t,attrs:n,
name:"Disclosure"})}}}),EI=no({name:"DisclosureButton",props:{as:{
type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{
type:String,default:null}},setup(e,{attrs:t,slots:n,expose:r}){
let o=kI("DisclosureButton"),a=la(SI,null),i=Bi((()=>null!==a&&a.value===o.panelId.value))
;go((()=>{i.value||null!==e.id&&(o.buttonId.value=e.id)})),Oo((()=>{
i.value||(o.buttonId.value=null)}));let s=Fn(null);r({el:s,$el:s
}),i.value||Na((()=>{o.button.value=s.value}));let l=lM(Bi((()=>({as:e.as,
type:t.type}))),s);function c(){var t
;e.disabled||(i.value?(o.toggleDisclosure(),
null==(t=NN(o.button))||t.focus()):o.toggleDisclosure())}function u(t){var n
;if(!e.disabled)if(i.value)switch(t.key){case CM.Space:case CM.Enter:
t.preventDefault(),
t.stopPropagation(),o.toggleDisclosure(),null==(n=NN(o.button))||n.focus()
}else switch(t.key){case CM.Space:case CM.Enter:
t.preventDefault(),t.stopPropagation(),o.toggleDisclosure()}}function d(e){
if(e.key===CM.Space)e.preventDefault()}return()=>{var r;let a={
open:0===o.disclosureState.value},{id:p,...h}=e;return mM({ourProps:i.value?{
ref:s,type:l.value,onClick:c,onKeydown:u}:{id:null!=(r=o.buttonId.value)?r:p,
ref:s,type:l.value,"aria-expanded":0===o.disclosureState.value,
"aria-controls":0===o.disclosureState.value||NN(o.panel)?o.panelId.value:void 0,
disabled:!!e.disabled||void 0,onClick:c,onKeydown:u,onKeyup:d},theirProps:h,
slot:a,attrs:t,slots:n,name:"DisclosureButton"})}}}),TI=no({
name:"DisclosurePanel",props:{as:{type:[Object,String],default:"div"},static:{
type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n,expose:r}){let o=kI("DisclosurePanel")
;go((()=>{null!==e.id&&(o.panelId.value=e.id)})),Oo((()=>{o.panelId.value=null
})),r({el:o.panel,$el:o.panel}),sa(SI,o.panelId)
;let a=_M(),i=Bi((()=>null!==a?(a.value&SM.Open)===SM.Open:0===o.disclosureState.value))
;return()=>{var r;let a={open:0===o.disclosureState.value,close:o.close
},{id:s,...l}=e;return mM({ourProps:{id:null!=(r=o.panelId.value)?r:s,
ref:o.panel},theirProps:l,slot:a,attrs:t,slots:n,
features:hM.RenderStrategy|hM.Static,visible:i.value,name:"DisclosurePanel"})}}
}),CI=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g
;function AI(e){var t,n;let r=null!=(t=e.innerText)?t:"",o=e.cloneNode(!0)
;if(!(o instanceof HTMLElement))return r;let a=!1
;for(let s of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]'))s.remove(),
a=!0;let i=a?null!=(n=o.innerText)?n:"":r
;return CI.test(i)&&(i=i.replace(CI,"")),i}function PI(e){let t=Fn(""),n=Fn("")
;return()=>{let r=NN(e);if(!r)return"";let o=r.innerText
;if(t.value===o)return n.value;let a=function(e){
let t=e.getAttribute("aria-label");if("string"==typeof t)return t.trim()
;let n=e.getAttribute("aria-labelledby");if(n){let e=n.split(" ").map((e=>{
let t=document.getElementById(e);if(t){let e=t.getAttribute("aria-label")
;return"string"==typeof e?e.trim():AI(t).trim()}return null})).filter(Boolean)
;if(e.length>0)return e.join(", ")}return AI(e).trim()}(r).trim().toLowerCase()
;return t.value=o,n.value=a,a}}function DI(e,t){return e===t}
var RI=(e=>(e[e.Open=0]="Open",
e[e.Closed=1]="Closed",e))(RI||{}),$I=(e=>(e[e.Single=0]="Single",
e[e.Multi=1]="Multi",
e))($I||{}),NI=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(NI||{})
;let MI=Symbol("ListboxContext");function II(e){let t=la(MI,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Listbox /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,II),t}return t}
let LI=no({name:"Listbox",emits:{"update:modelValue":e=>!0},props:{as:{
type:[Object,String],default:"template"},disabled:{type:[Boolean],default:!1},
by:{type:[String,Function],default:()=>DI},horizontal:{type:[Boolean],default:!1
},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{
type:[Object,String,Number,Boolean],default:void 0},form:{type:String,
optional:!0},name:{type:String,optional:!0},multiple:{type:[Boolean],default:!1}
},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){
let o=Fn(1),a=Fn(null),i=Fn(null),s=Fn(null),l=Fn([]),c=Fn(""),u=Fn(null),d=Fn(1)
;function p(e=e=>e){
let t=null!==u.value?l.value[u.value]:null,n=eM(e(l.value.slice()),(e=>NN(e.dataRef.domRef))),r=t?n.indexOf(t):null
;return-1===r&&(r=null),{options:n,activeOptionIndex:r}}
let h=Bi((()=>e.multiple?1:0)),[f,m]=CN(Bi((()=>e.modelValue)),(e=>r("update:modelValue",e)),Bi((()=>e.defaultValue))),g=Bi((()=>void 0===f.value?MN(h.value,{
1:[],0:void 0}):f.value)),v={listboxState:o,value:g,mode:h,compare(t,n){
if("string"==typeof e.by){let r=e.by
;return(null==t?void 0:t[r])===(null==n?void 0:n[r])}return e.by(t,n)},
orientation:Bi((()=>e.horizontal?"horizontal":"vertical")),labelRef:a,
buttonRef:i,optionsRef:s,disabled:Bi((()=>e.disabled)),options:l,searchQuery:c,
activeOptionIndex:u,activationTrigger:d,closeListbox(){
e.disabled||1!==o.value&&(o.value=1,u.value=null)},openListbox(){
e.disabled||0!==o.value&&(o.value=0)},goToOption(t,n,r){
if(e.disabled||1===o.value)return;let a=p(),i=RM(t===DM.Specific?{
focus:DM.Specific,id:n}:{focus:t},{resolveItems:()=>a.options,
resolveActiveIndex:()=>a.activeOptionIndex,resolveId:e=>e.id,
resolveDisabled:e=>e.dataRef.disabled})
;c.value="",u.value=i,d.value=null!=r?r:1,l.value=a.options},search(t){
if(e.disabled||1===o.value)return;let n=""!==c.value?0:1
;c.value+=t.toLowerCase()
;let r=(null!==u.value?l.value.slice(u.value+n).concat(l.value.slice(0,u.value+n)):l.value).find((e=>e.dataRef.textValue.startsWith(c.value)&&!e.dataRef.disabled)),a=r?l.value.indexOf(r):-1
;-1===a||a===u.value||(u.value=a,d.value=1)},clearSearch(){
e.disabled||1!==o.value&&""!==c.value&&(c.value="")},registerOption(e,t){
let n=p((n=>[...n,{id:e,dataRef:t}]))
;l.value=n.options,u.value=n.activeOptionIndex},unregisterOption(e){
let t=p((t=>{let n=t.findIndex((t=>t.id===e));return-1!==n&&t.splice(n,1),t}))
;l.value=t.options,u.value=t.activeOptionIndex,d.value=1},theirOnChange(t){
e.disabled||m(t)},select(t){e.disabled||m(MN(h.value,{0:()=>t,1:()=>{
let e=jn(v.value.value).slice(),n=jn(t),r=e.findIndex((e=>v.compare(n,jn(e))))
;return-1===r?e.push(n):e.splice(r,1),e}}))}};iM([i,s],((e,t)=>{var n
;v.closeListbox(),
XN(t,WN.Loose)||(e.preventDefault(),null==(n=NN(i))||n.focus())
}),Bi((()=>0===o.value))),sa(MI,v),EM(Bi((()=>MN(o.value,{0:SM.Open,1:SM.Closed
}))));let b=Bi((()=>{var e;return null==(e=NN(i))?void 0:e.closest("form")}))
;return go((()=>{Ma([b],(()=>{
if(b.value&&void 0!==e.defaultValue)return b.value.addEventListener("reset",t),
()=>{var e;null==(e=b.value)||e.removeEventListener("reset",t)};function t(){
v.theirOnChange(e.defaultValue)}}),{immediate:!0})})),()=>{
let{name:r,modelValue:a,disabled:i,form:s,...l}=e,c={open:0===o.value,
disabled:i,value:g.value};return Ui(Wa,[...null!=r&&null!=g.value?$M({
[r]:g.value}).map((([e,t])=>Ui(xM,yM({features:wM.Hidden,key:e,as:"input",
type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t
})))):[],mM({ourProps:{},theirProps:{...n,
...OM(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])},
slot:c,slots:t,attrs:n,name:"Listbox"})])}}}),jI=no({name:"ListboxLabel",props:{
as:{type:[Object,String],default:"label"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n}){var r
;let o=null!=(r=e.id)?r:`headlessui-listbox-label-${$N()}`,a=II("ListboxLabel")
;function i(){var e;null==(e=NN(a.buttonRef))||e.focus({preventScroll:!0})}
return()=>{let r={open:0===a.listboxState.value,disabled:a.disabled.value
},{...s}=e;return mM({ourProps:{id:o,ref:a.labelRef,onClick:i},theirProps:s,
slot:r,attrs:t,slots:n,name:"ListboxLabel"})}}}),BI=no({name:"ListboxButton",
props:{as:{type:[Object,String],default:"button"},id:{type:String,default:null}
},setup(e,{attrs:t,slots:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-listbox-button-${$N()}`,i=II("ListboxButton")
;function s(e){switch(e.key){case CM.Space:case CM.Enter:case CM.ArrowDown:
e.preventDefault(),i.openListbox(),yr((()=>{var e
;null==(e=NN(i.optionsRef))||e.focus({preventScroll:!0
}),i.value.value||i.goToOption(DM.First)}));break;case CM.ArrowUp:
e.preventDefault(),i.openListbox(),yr((()=>{var e
;null==(e=NN(i.optionsRef))||e.focus({preventScroll:!0
}),i.value.value||i.goToOption(DM.Last)}))}}function l(e){
if(e.key===CM.Space)e.preventDefault()}function c(e){
i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),yr((()=>{var e
;return null==(e=NN(i.buttonRef))?void 0:e.focus({preventScroll:!0})
}))):(e.preventDefault(),i.openListbox(),function(e){
requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e
;return null==(e=NN(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}r({
el:i.buttonRef,$el:i.buttonRef});let u=lM(Bi((()=>({as:e.as,type:t.type
}))),i.buttonRef);return()=>{var r,o;let d={open:0===i.listboxState.value,
disabled:i.disabled.value,value:i.value.value},{...p}=e;return mM({ourProps:{
ref:i.buttonRef,id:a,type:u.value,"aria-haspopup":"listbox",
"aria-controls":null==(r=NN(i.optionsRef))?void 0:r.id,
"aria-expanded":0===i.listboxState.value,
"aria-labelledby":i.labelRef.value?[null==(o=NN(i.labelRef))?void 0:o.id,a].join(" "):void 0,
disabled:!0===i.disabled.value||void 0,onKeydown:s,onKeyup:l,onClick:c},
theirProps:p,slot:d,attrs:t,slots:n,name:"ListboxButton"})}}}),UI=no({
name:"ListboxOptions",props:{as:{type:[Object,String],default:"ul"},static:{
type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-listbox-options-${$N()}`,i=II("ListboxOptions"),s=Fn(null)
;function l(e){switch(s.value&&clearTimeout(s.value),e.key){case CM.Space:
if(""!==i.searchQuery.value)return e.preventDefault(),
e.stopPropagation(),i.search(e.key);case CM.Enter:
if(e.preventDefault(),e.stopPropagation(),null!==i.activeOptionIndex.value){
let e=i.options.value[i.activeOptionIndex.value];i.select(e.dataRef.value)}
0===i.mode.value&&(i.closeListbox(),yr((()=>{var e
;return null==(e=NN(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break
;case MN(i.orientation.value,{vertical:CM.ArrowDown,horizontal:CM.ArrowRight}):
return e.preventDefault(),e.stopPropagation(),i.goToOption(DM.Next)
;case MN(i.orientation.value,{vertical:CM.ArrowUp,horizontal:CM.ArrowLeft}):
return e.preventDefault(),e.stopPropagation(),i.goToOption(DM.Previous)
;case CM.Home:case CM.PageUp:
return e.preventDefault(),e.stopPropagation(),i.goToOption(DM.First)
;case CM.End:case CM.PageDown:
return e.preventDefault(),e.stopPropagation(),i.goToOption(DM.Last)
;case CM.Escape:
e.preventDefault(),e.stopPropagation(),i.closeListbox(),yr((()=>{var e
;return null==(e=NN(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break
;case CM.Tab:e.preventDefault(),e.stopPropagation();break;default:
1===e.key.length&&(i.search(e.key),
s.value=setTimeout((()=>i.clearSearch()),350))}}r({el:i.optionsRef,
$el:i.optionsRef})
;let c=_M(),u=Bi((()=>null!==c?(c.value&SM.Open)===SM.Open:0===i.listboxState.value))
;return()=>{var r,o;let s={open:0===i.listboxState.value},{...c}=e;return mM({
ourProps:{
"aria-activedescendant":null===i.activeOptionIndex.value||null==(r=i.options.value[i.activeOptionIndex.value])?void 0:r.id,
"aria-multiselectable":1===i.mode.value||void 0,
"aria-labelledby":null==(o=NN(i.buttonRef))?void 0:o.id,
"aria-orientation":i.orientation.value,id:a,onKeydown:l,role:"listbox",
tabIndex:0,ref:i.optionsRef},theirProps:c,slot:s,attrs:t,slots:n,
features:hM.RenderStrategy|hM.Static,visible:u.value,name:"ListboxOptions"})}}
}),QI=no({name:"ListboxOption",props:{as:{type:[Object,String],default:"li"},
value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1},
id:{type:String,default:null}},setup(e,{slots:t,attrs:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-listbox-option-${$N()}`,i=II("ListboxOption"),s=Fn(null)
;r({el:s,$el:s})
;let l=Bi((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===a)),c=Bi((()=>MN(i.mode.value,{
0:()=>i.compare(jn(i.value.value),jn(e.value)),
1:()=>jn(i.value.value).some((t=>i.compare(jn(t),jn(e.value))))
}))),u=Bi((()=>MN(i.mode.value,{1:()=>{var e;let t=jn(i.value.value)
;return(null==(e=i.options.value.find((e=>t.some((t=>i.compare(jn(t),jn(e.dataRef.value)))))))?void 0:e.id)===a
},0:()=>c.value}))),d=PI(s),p=Bi((()=>({disabled:e.disabled,value:e.value,
get textValue(){return d()},domRef:s})));function h(t){
if(e.disabled)return t.preventDefault()
;i.select(e.value),0===i.mode.value&&(i.closeListbox(),yr((()=>{var e
;return null==(e=NN(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))}
function f(){if(e.disabled)return i.goToOption(DM.Nothing)
;i.goToOption(DM.Specific,a)}
go((()=>i.registerOption(a,p))),Oo((()=>i.unregisterOption(a))),go((()=>{
Ma([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&MN(i.mode.value,{
1:()=>{u.value&&i.goToOption(DM.Specific,a)},0:()=>{i.goToOption(DM.Specific,a)}
})}),{immediate:!0})})),Na((()=>{
0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&yr((()=>{
var e,t
;return null==(t=null==(e=NN(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{
block:"nearest"})}))}));let m=uM();function g(e){m.update(e)}function v(t){
m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(DM.Specific,a,0))}
function b(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(DM.Nothing))}
return()=>{let{disabled:r}=e,o={active:l.value,selected:c.value,disabled:r
},{value:i,disabled:u,...d}=e;return mM({ourProps:{id:a,ref:s,role:"option",
tabIndex:!0===r?void 0:-1,"aria-disabled":!0===r||void 0,
"aria-selected":c.value,disabled:void 0,onClick:h,onFocus:f,onPointerenter:g,
onMouseenter:g,onPointermove:v,onMousemove:v,onPointerleave:b,onMouseleave:b},
theirProps:d,slot:o,attrs:n,slots:t,name:"ListboxOption"})}}})
;var FI=(e=>(e[e.Open=0]="Open",
e[e.Closed=1]="Closed",e))(FI||{}),zI=(e=>(e[e.Pointer=0]="Pointer",
e[e.Other=1]="Other",e))(zI||{});let qI=Symbol("MenuContext");function HI(e){
let t=la(qI,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <Menu /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,HI),t}return t}
let VI=no({name:"Menu",props:{as:{type:[Object,String],default:"template"}},
setup(e,{slots:t,attrs:n}){
let r=Fn(1),o=Fn(null),a=Fn(null),i=Fn([]),s=Fn(""),l=Fn(null),c=Fn(1)
;function u(e=e=>e){
let t=null!==l.value?i.value[l.value]:null,n=eM(e(i.value.slice()),(e=>NN(e.dataRef.domRef))),r=t?n.indexOf(t):null
;return-1===r&&(r=null),{items:n,activeItemIndex:r}}let d={menuState:r,
buttonRef:o,itemsRef:a,items:i,searchQuery:s,activeItemIndex:l,
activationTrigger:c,closeMenu:()=>{r.value=1,l.value=null},
openMenu:()=>r.value=0,goToItem(e,t,n){let r=u(),o=RM(e===DM.Specific?{
focus:DM.Specific,id:t}:{focus:e},{resolveItems:()=>r.items,
resolveActiveIndex:()=>r.activeItemIndex,resolveId:e=>e.id,
resolveDisabled:e=>e.dataRef.disabled})
;s.value="",l.value=o,c.value=null!=n?n:1,i.value=r.items},search(e){
let t=""!==s.value?0:1;s.value+=e.toLowerCase()
;let n=(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)),r=n?i.value.indexOf(n):-1
;-1===r||r===l.value||(l.value=r,c.value=1)},clearSearch(){s.value=""},
registerItem(e,t){let n=u((n=>[...n,{id:e,dataRef:t}]))
;i.value=n.items,l.value=n.activeItemIndex,c.value=1},unregisterItem(e){
let t=u((t=>{let n=t.findIndex((t=>t.id===e));return-1!==n&&t.splice(n,1),t}))
;i.value=t.items,l.value=t.activeItemIndex,c.value=1}};return iM([o,a],((e,t)=>{
var n
;d.closeMenu(),XN(t,WN.Loose)||(e.preventDefault(),null==(n=NN(o))||n.focus())
}),Bi((()=>0===r.value))),sa(qI,d),EM(Bi((()=>MN(r.value,{0:SM.Open,1:SM.Closed
})))),()=>{let o={open:0===r.value,close:d.closeMenu};return mM({ourProps:{},
theirProps:e,slot:o,slots:t,attrs:n,name:"Menu"})}}}),ZI=no({name:"MenuButton",
props:{disabled:{type:Boolean,default:!1},as:{type:[Object,String],
default:"button"},id:{type:String,default:null}},
setup(e,{attrs:t,slots:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-menu-button-${$N()}`,i=HI("MenuButton")
;function s(e){switch(e.key){case CM.Space:case CM.Enter:case CM.ArrowDown:
e.preventDefault(),e.stopPropagation(),i.openMenu(),yr((()=>{var e
;null==(e=NN(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(DM.First)}))
;break;case CM.ArrowUp:
e.preventDefault(),e.stopPropagation(),i.openMenu(),yr((()=>{var e
;null==(e=NN(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(DM.Last)}))}}
function l(e){if(e.key===CM.Space)e.preventDefault()}function c(t){
e.disabled||(0===i.menuState.value?(i.closeMenu(),yr((()=>{var e
;return null==(e=NN(i.buttonRef))?void 0:e.focus({preventScroll:!0})
}))):(t.preventDefault(),i.openMenu(),function(e){
requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e
;return null==(e=NN(i.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}r({
el:i.buttonRef,$el:i.buttonRef});let u=lM(Bi((()=>({as:e.as,type:t.type
}))),i.buttonRef);return()=>{var r;let o={open:0===i.menuState.value},{...d}=e
;return mM({ourProps:{ref:i.buttonRef,id:a,type:u.value,"aria-haspopup":"menu",
"aria-controls":null==(r=NN(i.itemsRef))?void 0:r.id,
"aria-expanded":0===i.menuState.value,onKeydown:s,onKeyup:l,onClick:c},
theirProps:d,slot:o,attrs:t,slots:n,name:"MenuButton"})}}}),WI=no({
name:"MenuItems",props:{as:{type:[Object,String],default:"div"},static:{
type:Boolean,default:!1},unmount:{type:Boolean,default:!0},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-menu-items-${$N()}`,i=HI("MenuItems"),s=Fn(null)
;function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case CM.Space:
if(""!==i.searchQuery.value)return e.preventDefault(),
e.stopPropagation(),i.search(e.key);case CM.Enter:
if(e.preventDefault(),e.stopPropagation(),null!==i.activeItemIndex.value){
null==(t=NN(i.items.value[i.activeItemIndex.value].dataRef.domRef))||t.click()}
i.closeMenu(),GN(NN(i.buttonRef));break;case CM.ArrowDown:
return e.preventDefault(),e.stopPropagation(),i.goToItem(DM.Next)
;case CM.ArrowUp:
return e.preventDefault(),e.stopPropagation(),i.goToItem(DM.Previous)
;case CM.Home:case CM.PageUp:
return e.preventDefault(),e.stopPropagation(),i.goToItem(DM.First);case CM.End:
case CM.PageDown:
return e.preventDefault(),e.stopPropagation(),i.goToItem(DM.Last)
;case CM.Escape:e.preventDefault(),e.stopPropagation(),i.closeMenu(),yr((()=>{
var e;return null==(e=NN(i.buttonRef))?void 0:e.focus({preventScroll:!0})}))
;break;case CM.Tab:
e.preventDefault(),e.stopPropagation(),i.closeMenu(),yr((()=>function(e,t){
return tM(ZN(),t,{relativeTo:e})
}(NN(i.buttonRef),e.shiftKey?qN.Previous:qN.Next)));break;default:
1===e.key.length&&(i.search(e.key),
s.value=setTimeout((()=>i.clearSearch()),350))}}function c(e){
if(e.key===CM.Space)e.preventDefault()}r({el:i.itemsRef,$el:i.itemsRef}),dM({
container:Bi((()=>NN(i.itemsRef))),enabled:Bi((()=>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=_M(),d=Bi((()=>null!==u?(u.value&SM.Open)===SM.Open:0===i.menuState.value))
;return()=>{var r,o;let s={open:0===i.menuState.value},{...u}=e;return mM({
ourProps:{
"aria-activedescendant":null===i.activeItemIndex.value||null==(r=i.items.value[i.activeItemIndex.value])?void 0:r.id,
"aria-labelledby":null==(o=NN(i.buttonRef))?void 0:o.id,id:a,onKeydown:l,
onKeyup:c,role:"menu",tabIndex:0,ref:i.itemsRef},theirProps:u,slot:s,attrs:t,
slots:n,features:hM.RenderStrategy|hM.Static,visible:d.value,name:"MenuItems"})}
}}),XI=no({name:"MenuItem",inheritAttrs:!1,props:{as:{type:[Object,String],
default:"template"},disabled:{type:Boolean,default:!1},id:{type:String,
default:null}},setup(e,{slots:t,attrs:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-menu-item-${$N()}`,i=HI("MenuItem"),s=Fn(null)
;r({el:s,$el:s})
;let l=Bi((()=>null!==i.activeItemIndex.value&&i.items.value[i.activeItemIndex.value].id===a)),c=PI(s),u=Bi((()=>({
disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){
if(e.disabled)return t.preventDefault();i.closeMenu(),GN(NN(i.buttonRef))}
function p(){if(e.disabled)return i.goToItem(DM.Nothing)
;i.goToItem(DM.Specific,a)}
go((()=>i.registerItem(a,u))),Oo((()=>i.unregisterItem(a))),Na((()=>{
0===i.menuState.value&&l.value&&0!==i.activationTrigger.value&&yr((()=>{var e,t
;return null==(t=null==(e=NN(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{
block:"nearest"})}))}));let h=uM();function f(e){h.update(e)}function m(t){
h.wasMoved(t)&&(e.disabled||l.value||i.goToItem(DM.Specific,a,0))}function g(t){
h.wasMoved(t)&&(e.disabled||l.value&&i.goToItem(DM.Nothing))}return()=>{
let{disabled:r,...o}=e,c={active:l.value,disabled:r,close:i.closeMenu}
;return mM({ourProps:{id:a,ref:s,role:"menuitem",tabIndex:!0===r?void 0:-1,
"aria-disabled":!0===r||void 0,onClick:d,onFocus:p,onPointerenter:f,
onMouseenter:f,onPointermove:m,onMousemove:m,onPointerleave:g,onMouseleave:g},
theirProps:{...n,...o},slot:c,attrs:n,slots:t,name:"MenuItem"})}}})
;var GI,YI=((GI=YI||{})[GI.Open=0]="Open",GI[GI.Closed=1]="Closed",GI)
;let KI=Symbol("PopoverContext");function JI(e){let t=la(KI,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <${rL.name} /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,JI),t}return t}
let eL=Symbol("PopoverGroupContext");function tL(){return la(eL,null)}
let nL=Symbol("PopoverPanelContext");let rL=no({name:"Popover",inheritAttrs:!1,
props:{as:{type:[Object,String],default:"div"}},
setup(e,{slots:t,attrs:n,expose:r}){var o;let a=Fn(null);r({el:a,$el:a})
;let i=Fn(1),s=Fn(null),l=Fn(null),c=Fn(null),u=Fn(null),d=Bi((()=>BN(a))),p=Bi((()=>{
var e,t;if(!NN(s)||!NN(u))return!1
;for(let c of document.querySelectorAll("body > *"))if(Number(null==c?void 0:c.contains(NN(s)))^Number(null==c?void 0:c.contains(NN(u))))return!0
;let n=ZN(),r=n.indexOf(NN(s)),o=(r+n.length-1)%n.length,a=(r+1)%n.length,i=n[o],l=n[a]
;return!(null!=(e=NN(u))&&e.contains(i)||null!=(t=NN(u))&&t.contains(l))})),h={
popoverState:i,buttonId:Fn(null),panelId:Fn(null),panel:u,button:s,
isPortalled:p,beforePanelSentinel:l,afterPanelSentinel:c,togglePopover(){
i.value=MN(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?NN(e):NN(h.button):NN(h.button)
;null==t||t.focus()}};sa(KI,h),EM(Bi((()=>MN(i.value,{0:SM.Open,1:SM.Closed}))))
;let f={buttonId:h.buttonId,panelId:h.panelId,close(){h.closePopover()}
},m=tL(),g=null==m?void 0:m.registerPopover,[v,b]=cI(),y=GM({
mainTreeNodeRef:null==m?void 0:m.mainTreeNodeRef,portals:v,
defaultContainers:[s,u]})
;return Na((()=>null==g?void 0:g(f))),IM(null==(o=d.value)?void 0:o.defaultView,"focus",(e=>{
var t,n
;e.target!==window&&e.target instanceof HTMLElement&&0===i.value&&(function(){
var e,t,n,r
;return null!=(r=null==m?void 0:m.isFocusWithinPopoverGroup())?r:(null==(e=d.value)?void 0:e.activeElement)&&((null==(t=NN(s))?void 0:t.contains(d.value.activeElement))||(null==(n=NN(u))?void 0:n.contains(d.value.activeElement)))
}()||s&&u&&(y.contains(e.target)||null!=(t=NN(h.beforePanelSentinel))&&t.contains(e.target)||null!=(n=NN(h.afterPanelSentinel))&&n.contains(e.target)||h.closePopover()))
}),!0),iM(y.resolveContainers,((e,t)=>{var n
;h.closePopover(),XN(t,WN.Loose)||(e.preventDefault(),
null==(n=NN(s))||n.focus())}),Bi((()=>0===i.value))),()=>{let r={
open:0===i.value,close:h.close};return Ui(Wa,[Ui(b,{},(()=>mM({theirProps:{...e,
...n},ourProps:{ref:a},slot:r,slots:t,attrs:n,name:"Popover"
}))),Ui(y.MainTreeNode)])}}}),oL=no({name:"PopoverButton",props:{as:{
type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{
type:String,default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){
var o
;let a=null!=(o=e.id)?o:`headlessui-popover-button-${$N()}`,i=JI("PopoverButton"),s=Bi((()=>BN(i.button)))
;r({el:i.button,$el:i.button}),go((()=>{i.buttonId.value=a})),Oo((()=>{
i.buttonId.value=null}))
;let l=tL(),c=null==l?void 0:l.closeOthers,u=la(nL,null),d=Bi((()=>null!==u&&u.value===i.panelId.value)),p=Fn(null),h=`headlessui-focus-sentinel-${$N()}`
;d.value||Na((()=>{i.button.value=NN(p)}));let f=lM(Bi((()=>({as:e.as,
type:t.type}))),p);function m(e){var t,n,r,o,a;if(d.value){
if(1===i.popoverState.value)return;switch(e.key){case CM.Space:case CM.Enter:
e.preventDefault(),
null==(n=(t=e.target).click)||n.call(t),i.closePopover(),null==(r=NN(i.button))||r.focus()
}}else switch(e.key){case CM.Space:case CM.Enter:
e.preventDefault(),e.stopPropagation(),
1===i.popoverState.value&&(null==c||c(i.buttonId.value)),i.togglePopover();break
;case CM.Escape:
if(0!==i.popoverState.value)return null==c?void 0:c(i.buttonId.value)
;if(!NN(i.button)||null!=(o=s.value)&&o.activeElement&&(null==(a=NN(i.button))||!a.contains(s.value.activeElement)))return
;e.preventDefault(),e.stopPropagation(),i.closePopover()}}function g(e){
d.value||e.key===CM.Space&&e.preventDefault()}function v(t){var n,r
;e.disabled||(d.value?(i.closePopover(),
null==(n=NN(i.button))||n.focus()):(t.preventDefault(),
t.stopPropagation(),1===i.popoverState.value&&(null==c||c(i.buttonId.value)),
i.togglePopover(),null==(r=NN(i.button))||r.focus()))}function b(e){
e.preventDefault(),e.stopPropagation()}let y=jM();function O(){let e=NN(i.panel)
;e&&MN(y.value,{[LM.Forwards]:()=>tM(e,qN.First),
[LM.Backwards]:()=>tM(e,qN.Last)
})===HN.Error&&tM(ZN().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),MN(y.value,{
[LM.Forwards]:qN.Next,[LM.Backwards]:qN.Previous}),{relativeTo:NN(i.button)})}
return()=>{let r=0===i.popoverState.value,o={open:r},{...s}=e,l=d.value?{ref:p,
type:f.value,onKeydown:m,onClick:v}:{ref:p,id:a,type:f.value,
"aria-expanded":0===i.popoverState.value,
"aria-controls":NN(i.panel)?i.panelId.value:void 0,
disabled:!!e.disabled||void 0,onKeydown:m,onKeyup:g,onClick:v,onMousedown:b}
;return Ui(Wa,[mM({ourProps:l,theirProps:{...t,...s},slot:o,attrs:t,slots:n,
name:"PopoverButton"}),r&&!d.value&&i.isPortalled.value&&Ui(xM,{id:h,
features:wM.Focusable,"data-headlessui-focus-guard":!0,as:"button",
type:"button",onFocus:O})])}}}),aL=no({name:"PopoverPanel",props:{as:{
type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{
type:Boolean,default:!0},focus:{type:Boolean,default:!1},id:{type:String,
default:null}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-popover-panel-${$N()}`,{focus:i}=e,s=JI("PopoverPanel"),l=Bi((()=>BN(s.panel))),c=`headlessui-focus-sentinel-before-${$N()}`,u=`headlessui-focus-sentinel-after-${$N()}`
;r({el:s.panel,$el:s.panel}),go((()=>{s.panelId.value=a})),Oo((()=>{
s.panelId.value=null})),sa(nL,s.panelId),Na((()=>{var e,t
;if(!i||0!==s.popoverState.value||!s.panel)return
;let n=null==(e=l.value)?void 0:e.activeElement
;null!=(t=NN(s.panel))&&t.contains(n)||tM(NN(s.panel),qN.First)}))
;let d=_M(),p=Bi((()=>null!==d?(d.value&SM.Open)===SM.Open:0===s.popoverState.value))
;function h(e){var t,n;if(e.key===CM.Escape){
if(0!==s.popoverState.value||!NN(s.panel)||l.value&&(null==(t=NN(s.panel))||!t.contains(l.value.activeElement)))return
;e.preventDefault(),
e.stopPropagation(),s.closePopover(),null==(n=NN(s.button))||n.focus()}}
function f(e){var t,n,r,o,a;let i=e.relatedTarget
;i&&NN(s.panel)&&(null!=(t=NN(s.panel))&&t.contains(i)||(s.closePopover(),
(null!=(r=null==(n=NN(s.beforePanelSentinel))?void 0:n.contains)&&r.call(n,i)||null!=(a=null==(o=NN(s.afterPanelSentinel))?void 0:o.contains)&&a.call(o,i))&&i.focus({
preventScroll:!0})))}let m=jM();function g(){let e=NN(s.panel);e&&MN(m.value,{
[LM.Forwards]:()=>{var t
;tM(e,qN.First)===HN.Error&&(null==(t=NN(s.afterPanelSentinel))||t.focus())},
[LM.Backwards]:()=>{var e;null==(e=NN(s.button))||e.focus({preventScroll:!0})}})
}function v(){let e=NN(s.panel);e&&MN(m.value,{[LM.Forwards]:()=>{
let e=NN(s.button),t=NN(s.panel);if(!e)return
;let n=ZN(),r=n.indexOf(e),o=n.slice(0,r+1),a=[...n.slice(r+1),...o]
;for(let i of a.slice())if("true"===i.dataset.headlessuiFocusGuard||null!=t&&t.contains(i)){
let e=a.indexOf(i);-1!==e&&a.splice(e,1)}tM(a,qN.First,{sorted:!1})},
[LM.Backwards]:()=>{var t
;tM(e,qN.Previous)===HN.Error&&(null==(t=NN(s.button))||t.focus())}})}
return()=>{let r={open:0===s.popoverState.value,close:s.close},{focus:o,...l}=e
;return mM({ourProps:{ref:s.panel,id:a,onKeydown:h,
onFocusout:i&&0===s.popoverState.value?f:void 0,tabIndex:-1},theirProps:{...t,
...l},attrs:t,slot:r,slots:{...n,default:(...e)=>{var t
;return[Ui(Wa,[p.value&&s.isPortalled.value&&Ui(xM,{id:c,
ref:s.beforePanelSentinel,features:wM.Focusable,
"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:g
}),null==(t=n.default)?void 0:t.call(n,...e),p.value&&s.isPortalled.value&&Ui(xM,{
id:u,ref:s.afterPanelSentinel,features:wM.Focusable,
"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:v})])]}},
features:hM.RenderStrategy|hM.Static,visible:p.value,name:"PopoverPanel"})}}
}),iL=Symbol("LabelContext");function sL(){let e=la(iL,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,sL),e}return e}
function lL({slot:e={},name:t="Label",props:n={}}={}){let r=Fn([])
;return sa(iL,{register:function(e){return r.value.push(e),()=>{
let t=r.value.indexOf(e);-1!==t&&r.value.splice(t,1)}},slot:e,name:t,props:n
}),Bi((()=>r.value.length>0?r.value.join(" "):void 0))}let cL=no({name:"Label",
props:{as:{type:[Object,String],default:"label"},passive:{type:[Boolean],
default:!1},id:{type:String,default:null}},setup(e,{slots:t,attrs:n}){var r
;let o=null!=(r=e.id)?r:`headlessui-label-${$N()}`,a=sL()
;return go((()=>Oo(a.register(o)))),()=>{
let{name:r="Label",slot:i={},props:s={}}=a,{passive:l,...c}=e,u={
...Object.entries(s).reduce(((e,[t,n])=>Object.assign(e,{[t]:Vn(n)})),{}),id:o}
;return l&&(delete u.onClick,delete u.htmlFor,delete c.onClick),mM({ourProps:u,
theirProps:c,slot:i,attrs:n,slots:t,name:r})}}});function uL(e,t){return e===t}
let dL=Symbol("RadioGroupContext");function pL(e){let t=la(dL,null)
;if(null===t){
let t=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,pL),t}return t}
let hL=no({name:"RadioGroup",emits:{"update:modelValue":e=>!0},props:{as:{
type:[Object,String],default:"div"},disabled:{type:[Boolean],default:!1},by:{
type:[String,Function],default:()=>uL},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:n,slots:r,expose:o}){var a
;let i=null!=(a=e.id)?a:`headlessui-radiogroup-${$N()}`,s=Fn(null),l=Fn([]),c=lL({
name:"RadioGroupLabel"}),u=rI({name:"RadioGroupDescription"});o({el:s,$el:s})
;let[d,p]=CN(Bi((()=>e.modelValue)),(e=>t("update:modelValue",e)),Bi((()=>e.defaultValue))),h={
options:l,value:d,disabled:Bi((()=>e.disabled)),
firstOption:Bi((()=>l.value.find((e=>!e.propsRef.disabled)))),
containsCheckedOption:Bi((()=>l.value.some((t=>h.compare(jn(t.propsRef.value),jn(e.modelValue)))))),
compare(t,n){if("string"==typeof e.by){let r=e.by
;return(null==t?void 0:t[r])===(null==n?void 0:n[r])}return e.by(t,n)},
change(t){var n;if(e.disabled||h.compare(jn(d.value),jn(t)))return!1
;let r=null==(n=l.value.find((e=>h.compare(jn(e.propsRef.value),jn(t)))))?void 0:n.propsRef
;return(null==r||!r.disabled)&&(p(t),!0)},registerOption(e){
l.value.push(e),l.value=eM(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 CM.Enter:!function(e){var t,n
;let r=null!=(t=null==e?void 0:e.form)?t:e.closest("form");if(r){
for(let t of r.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==(n=r.requestSubmit)||n.call(r)}}(e.currentTarget);break
;case CM.ArrowLeft:case CM.ArrowUp:
if(e.preventDefault(),e.stopPropagation(),tM(t,qN.Previous|qN.WrapAround)===HN.Success){
let e=l.value.find((e=>{var t
;return e.element===(null==(t=BN(s))?void 0:t.activeElement)}))
;e&&h.change(e.propsRef.value)}break;case CM.ArrowRight:case CM.ArrowDown:
if(e.preventDefault(),
e.stopPropagation(),tM(t,qN.Next|qN.WrapAround)===HN.Success){
let e=l.value.find((e=>{var t
;return e.element===(null==(t=BN(e.element))?void 0:t.activeElement)}))
;e&&h.change(e.propsRef.value)}break;case CM.Space:{
e.preventDefault(),e.stopPropagation();let t=l.value.find((e=>{var t
;return e.element===(null==(t=BN(e.element))?void 0:t.activeElement)}))
;t&&h.change(t.propsRef.value)}}}sa(dL,h),dM({container:Bi((()=>NN(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=Bi((()=>{var e
;return null==(e=NN(s))?void 0:e.closest("form")}));return go((()=>{
Ma([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:o,form:a,...l}=e,p={ref:s,id:i,role:"radiogroup",
"aria-labelledby":c.value,"aria-describedby":u.value,onKeydown:f}
;return Ui(Wa,[...null!=o&&null!=d.value?$M({[o]:d.value
}).map((([e,n])=>Ui(xM,yM({features:wM.Hidden,key:e,as:"input",type:"hidden",
hidden:!0,readOnly:!0,form:a,disabled:t,name:e,value:n})))):[],mM({ourProps:p,
theirProps:{...n,...OM(l,["modelValue","defaultValue","by"])},slot:{},attrs:n,
slots:r,name:"RadioGroup"})])}}})
;var fL,mL=((fL=mL||{})[fL.Empty=1]="Empty",fL[fL.Active=2]="Active",fL)
;let gL=no({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:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-radiogroup-option-${$N()}`,i=pL("RadioGroupOption"),s=lL({
name:"RadioGroupLabel"}),l=rI({name:"RadioGroupDescription"
}),c=Fn(null),u=Bi((()=>({value:e.value,disabled:e.disabled}))),d=Fn(1);r({el:c,
$el:c});let p=Bi((()=>NN(c)));go((()=>i.registerOption({id:a,element:p,
propsRef:u}))),Oo((()=>i.unregisterOption(a)));let h=Bi((()=>{var e
;return(null==(e=i.firstOption.value)?void 0:e.id)===a
})),f=Bi((()=>i.disabled.value||e.disabled)),m=Bi((()=>i.compare(jn(i.value.value),jn(e.value)))),g=Bi((()=>f.value?-1:m.value||!i.containsCheckedOption.value&&h.value?0:-1))
;function v(){var t;i.change(e.value)&&(d.value|=2,null==(t=NN(c))||t.focus())}
function b(){d.value|=2}function y(){d.value&=-3}return()=>{
let{value:r,disabled:o,...i}=e,u={checked:m.value,disabled:f.value,
active:Boolean(2&d.value)};return mM({ourProps:{id:a,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:v,onFocus:f.value?void 0:b,onBlur:f.value?void 0:y},
theirProps:i,slot:u,attrs:t,slots:n,name:"RadioGroupOption"})}}}),vL=cL,bL=no({
props:{onFocus:{type:Function,required:!0}},setup(e){let t=Fn(!0)
;return()=>t.value?Ui(xM,{as:"button",type:"button",features:wM.Focusable,
onFocus(n){n.preventDefault();let r,o=50;r=requestAnimationFrame((function n(){
var a
;if(!(o--<=0))return null!=(a=e.onFocus)&&a.call(e)?(t.value=!1,void cancelAnimationFrame(r)):void(r=requestAnimationFrame(n))
;r&&cancelAnimationFrame(r)}))}}):null}})
;var yL,OL=(e=>(e[e.Forwards=0]="Forwards",
e[e.Backwards=1]="Backwards",e))(OL||{}),wL=((yL=wL||{})[yL.Less=-1]="Less",
yL[yL.Equal=0]="Equal",yL[yL.Greater=1]="Greater",yL)
;let xL=Symbol("TabsContext");function kL(e){let t=la(xL,null);if(null===t){
let t=new Error(`<${e} /> is missing a parent <TabGroup /> component.`)
;throw Error.captureStackTrace&&Error.captureStackTrace(t,kL),t}return t}
let SL=Symbol("TabsSSRContext"),_L=no({name:"TabGroup",emits:{change:e=>!0},
props:{as:{type:[Object,String],default:"template"},selectedIndex:{
type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{
type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,
setup(e,{slots:t,attrs:n,emit:r}){var o
;let a=Fn(null!=(o=e.selectedIndex)?o:e.defaultIndex),i=Fn([]),s=Fn([]),l=Bi((()=>null!==e.selectedIndex)),c=Bi((()=>l.value?e.selectedIndex:a.value))
;function u(e){var t
;let n=eM(d.tabs.value,NN),r=eM(d.panels.value,NN),o=n.filter((e=>{var t
;return!(null!=(t=NN(e))&&t.hasAttribute("disabled"))}));if(e<0||e>n.length-1){
let t=MN(null===a.value?0:Math.sign(e-a.value),{[-1]:()=>1,
0:()=>MN(Math.sign(e),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),i=MN(t,{
0:()=>n.indexOf(o[0]),1:()=>n.indexOf(o[o.length-1])})
;-1!==i&&(a.value=i),d.tabs.value=n,d.panels.value=r}else{
let i=n.slice(0,e),s=[...n.slice(e),...i].find((e=>o.includes(e)));if(!s)return
;let l=null!=(t=n.indexOf(s))?t:d.selectedIndex.value
;-1===l&&(l=d.selectedIndex.value),a.value=l,d.tabs.value=n,d.panels.value=r}}
let d={selectedIndex:Bi((()=>{var t,n
;return null!=(n=null!=(t=a.value)?t:e.defaultIndex)?n:null})),
orientation:Bi((()=>e.vertical?"vertical":"horizontal")),
activation:Bi((()=>e.manual?"manual":"auto")),tabs:i,panels:s,
setSelectedIndex(e){c.value!==e&&r("change",e),l.value||u(e)},registerTab(e){
var t;if(i.value.includes(e))return;let n=i.value[a.value]
;if(i.value.push(e),i.value=eM(i.value,NN),!l.value){
let e=null!=(t=i.value.indexOf(n))?t:a.value;-1!==e&&(a.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=eM(s.value,NN))},
unregisterPanel(e){let t=s.value.indexOf(e);-1!==t&&s.value.splice(t,1)}}
;sa(xL,d);let p=Fn({tabs:[],panels:[]}),h=Fn(!1);go((()=>{h.value=!0
})),sa(SL,Bi((()=>h.value?null:p.value)));let f=Bi((()=>e.selectedIndex))
;return go((()=>{Ma([f],(()=>{var t
;return u(null!=(t=e.selectedIndex)?t:e.defaultIndex)}),{immediate:!0})
})),Na((()=>{if(!l.value||null==c.value||d.tabs.value.length<=0)return
;let e=eM(d.tabs.value,NN)
;e.some(((e,t)=>NN(d.tabs.value[t])!==NN(e)))&&d.setSelectedIndex(e.findIndex((e=>NN(e)===NN(d.tabs.value[c.value]))))
})),()=>{let r={selectedIndex:a.value};return Ui(Wa,[i.value.length<=0&&Ui(bL,{
onFocus:()=>{for(let e of i.value){let t=NN(e)
;if(0===(null==t?void 0:t.tabIndex))return t.focus(),!0}return!1}}),mM({
theirProps:{...n,
...OM(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},
ourProps:{},slot:r,slots:t,attrs:n,name:"TabGroup"})])}}}),EL=no({
name:"TabList",props:{as:{type:[Object,String],default:"div"}},
setup(e,{attrs:t,slots:n}){let r=kL("TabList");return()=>{let o={
selectedIndex:r.selectedIndex.value};return mM({ourProps:{role:"tablist",
"aria-orientation":r.orientation.value},theirProps:e,slot:o,attrs:t,slots:n,
name:"TabList"})}}}),TL=no({name:"Tab",props:{as:{type:[Object,String],
default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,
default:null}},setup(e,{attrs:t,slots:n,expose:r}){var o
;let a=null!=(o=e.id)?o:`headlessui-tabs-tab-${$N()}`,i=kL("Tab"),s=Fn(null);r({
el:s,$el:s}),go((()=>i.registerTab(s))),Oo((()=>i.unregisterTab(s)))
;let l=la(SL),c=Bi((()=>{if(l.value){let e=l.value.tabs.indexOf(a)
;return-1===e?l.value.tabs.push(a)-1:e}return-1})),u=Bi((()=>{
let e=i.tabs.value.indexOf(s);return-1===e?c.value:e
})),d=Bi((()=>u.value===i.selectedIndex.value));function p(e){var t;let n=e()
;if(n===HN.Success&&"auto"===i.activation.value){
let e=null==(t=BN(s))?void 0:t.activeElement,n=i.tabs.value.findIndex((t=>NN(t)===e))
;-1!==n&&i.setSelectedIndex(n)}return n}function h(e){
let t=i.tabs.value.map((e=>NN(e))).filter(Boolean)
;if(e.key===CM.Space||e.key===CM.Enter)return e.preventDefault(),
e.stopPropagation(),void i.setSelectedIndex(u.value);switch(e.key){case CM.Home:
case CM.PageUp:
return e.preventDefault(),e.stopPropagation(),p((()=>tM(t,qN.First)))
;case CM.End:case CM.PageDown:
return e.preventDefault(),e.stopPropagation(),p((()=>tM(t,qN.Last)))}
return p((()=>MN(i.orientation.value,{
vertical:()=>e.key===CM.ArrowUp?tM(t,qN.Previous|qN.WrapAround):e.key===CM.ArrowDown?tM(t,qN.Next|qN.WrapAround):HN.Error,
horizontal:()=>e.key===CM.ArrowLeft?tM(t,qN.Previous|qN.WrapAround):e.key===CM.ArrowRight?tM(t,qN.Next|qN.WrapAround):HN.Error
})))===HN.Success?e.preventDefault():void 0}let f=Fn(!1);function m(){var t
;f.value||(f.value=!0,!e.disabled&&(null==(t=NN(s))||t.focus({preventScroll:!0
}),i.setSelectedIndex(u.value),AN((()=>{f.value=!1}))))}function g(e){
e.preventDefault()}let v=lM(Bi((()=>({as:e.as,type:t.type}))),s);return()=>{
var r,o;let l={selected:d.value,disabled:null!=(r=e.disabled)&&r},{...c}=e
;return mM({ourProps:{ref:s,onKeydown:h,onMousedown:g,onClick:m,id:a,role:"tab",
type:v.value,"aria-controls":null==(o=NN(i.panels.value[u.value]))?void 0:o.id,
"aria-selected":d.value,tabIndex:d.value?0:-1,disabled:!!e.disabled||void 0},
theirProps:c,slot:l,attrs:t,slots:n,name:"Tab"})}}})
;const CL=ju.union([ju.object({description:ju.string().optional(),
default:ju.string().default("")}),ju.string()]),AL=ju.object({
description:ju.string().optional(),color:ju.string().optional(),
variables:ju.record(ju.string(),CL)
}),PL=ju.record(ju.string(),AL),DL=ju.object({
description:ju.string().optional(),example:ju.string().optional()
}),RL=ju.record(ju.string(),DL),$L=ju.object({
type:ju.literal("collection").optional().default("collection"),
openapi:ju.union([ju.string(),ju.literal("3.0.0"),ju.literal("3.1.0"),ju.literal("4.0.0")]).optional().default("3.1.0"),
jsonSchemaDialect:ju.string().optional(),info:dR.optional(),
security:ju.array(sR).optional().default([]),externalDocs:pR.optional(),
components:ju.record(ju.string(),ju.unknown()).optional(),
webhooks:ju.record(ju.string(),ju.unknown()).optional(),
"x-scalar-icon":ju.string().optional().default("interface-content-folder"),
"x-scalar-active-environment":ju.string().optional(),
"x-scalar-environments":PL.optional(),"x-scalar-secrets":RL.optional()
}),NL=ju.object({uid:MD,securitySchemes:ju.string().array().default([]),
selectedSecuritySchemeUids:MD.array().default([]),
selectedServerUid:ju.string().default(""),servers:MD.array().default([]),
requests:MD.array().default([]),tags:MD.array().default([]),
children:MD.array().default([]),documentUrl:ju.string().optional(),
watchMode:ju.boolean().optional().default(!1),
integration:ju.string().nullable().optional(),
watchModeStatus:ju.enum(["IDLE","WATCHING","ERROR"]).optional().default("IDLE")
}),ML=$L.merge(NL),IL=ju.object({enum:ju.string().array().min(1).optional(),
default:ju.string().optional().default("default"),
description:ju.string().optional()}),LL=ju.object({
url:ju.string().optional().default(""),description:ju.string().optional(),
variables:ju.record(ju.string(),IL).optional()}).extend({uid:MD})
;function jL(e,t,n){const r=t.split(".")
;return r.reduce(((e,t,o)=>(o===r.length-1&&(e[t]=n),e[t])),e),e}
function BL(e,t){return t.split(".").reduce(((e,t)=>e[t]),e)}class UL{
constructor(e,t=5e3,n=!1){
r(this,"parentData"),r(this,"maxRecords"),r(this,"records",[]),
r(this,"sideEffects",[]),
r(this,"idx",0),r(this,"debug"),this.maxRecords=t,this.parentData=e,this.debug=n
}_unsavedMutate(e,t){jL(this.parentData,e,t),this.runSideEffects(e)}
addSideEffect(e,t,n,r=!0){this.sideEffects.push({triggers:e,effect:t,name:n
}),r&&(t(this.parentData),
this.debug&&console.info(`Running mutation side effect: ${n}`,"debug"))}
runSideEffects(e){this.sideEffects.forEach((({effect:t,triggers:n,name:r})=>{
(n.some((t=>e.includes(t)))||e.length<1)&&(t(this.parentData),
this.debug&&console.info(`Running mutation side effect: ${r}`,"debug"))}))}
mutate(e,t,n=null){
this.idx<this.records.length-1&&this.records.splice(this.idx+1)
;const r=BL(this.parentData,e)
;r!==t&&(jL(this.parentData,e,t),this.runSideEffects(e),this.records.push({
prev:n??r,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 QL={
DEBOUNCE_MS:328,MAX_WAIT_MS:1e3
},{parse:FL,stringify:zL}=JSON,{keys:qL}=Object,HL=String,VL="string",ZL={},WL="object",XL=(e,t)=>t,GL=e=>e instanceof HL?HL(e):e,YL=(e,t)=>typeof t===VL?new HL(t):t,KL=(e,t,n,r)=>{
const o=[];for(let a=qL(n),{length:i}=a,s=0;s<i;s++){const i=a[s],l=n[i]
;if(l instanceof HL){const a=e[l]
;typeof a!==WL||t.has(a)?n[i]=r.call(n,i,a):(t.add(a),n[i]=ZL,o.push({k:i,
a:[e,t,a,r]}))}else n[i]!==ZL&&(n[i]=r.call(n,i,l))}
for(let{length:a}=o,i=0;i<a;i++){const{k:e,a:t}=o[i]
;n[e]=r.call(n,e,KL.apply(null,t))}return n},JL=(e,t,n)=>{
const r=HL(t.push(n)-1);return e.set(n,r),r},ej=(e,t)=>{
const n=FL(e,YL).map(GL),r=n[0],o=XL,a=typeof r===WL&&r?KL(n,new Set,r,o):r
;return o.call({"":a},"",a)},tj=(e,t,n)=>{const r=XL,o=new Map,a=[],i=[]
;let s=+JL(o,a,r.call({"":e},"",e)),l=!s
;for(;s<a.length;)l=!0,i[s]=zL(a[s++],c,n);return"["+i.join(",")+"]"
;function c(e,t){if(l)return l=!l,t;const n=r.call(this,e,t);switch(typeof n){
case WL:if(null===n)return n;case VL:return o.get(n)||JL(o,a,n)}return n}}
;const nj=500;function rj(e,t,n,r=nj){function o(n){const r=t[n]
;return r||console.warn(`Missing ${e[n]?"mutator":"object"} for uid: ${n}`),
r??null}const a=n?function(e,t,{maxWait:n}={}){let r=null,o=null
;return function(...a){r&&clearTimeout(r),r=setTimeout((()=>{
null!==o&&clearTimeout(o),o=null,e.apply(this,a)
}),t),n&&!o&&(o=setTimeout((()=>{
null!==r&&clearTimeout(r),o=null,e.apply(this,a)}),n))}
}((()=>localStorage.setItem(n,tj(e))),QL.DEBOUNCE_MS,{maxWait:QL.MAX_WAIT_MS
}):()=>null;return{add:n=>{e[n.uid]=n,t[n.uid]=new UL(n,r),a()},delete:n=>{
delete e[n],delete t[n],a()},set:n=>{e[n.uid]=n,t[n.uid]=new UL(n,r),a()},
edit:(e,t,n)=>{const r=o(e);null==r||r.mutate(t,n),a()},untrackedEdit:(e,t,n)=>{
const r=o(e);null==r||r._unsavedMutate(t,n),a()},undo:e=>{const t=o(e)
;null==t||t.undo(),a()},redo:e=>{const t=o(e);null==t||t.redo(),a()},reset:()=>{
Object.keys(e).forEach((n=>{delete e[n],delete t[n]})),a()}}}
function oj({requests:e,requestMutators:t,requestExamples:n,requestExampleMutators:r,workspaces:o,workspaceMutators:a,collections:i,collectionMutators:s,tagMutators:l}){
return{addCollection:(e,t)=>{const n=ML.parse(e),r=o[t]
;return r&&a.edit(t,"collections",[...r.collections,n.uid]),s.add(n),n},
deleteCollection:(o,c)=>{var u,d;if(c.uid){
if("Drafts"===(null==(d=null==(u=i[o.uid])?void 0:u.info)?void 0:d.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")
;o.tags.forEach((e=>l.delete(e))),o.requests.forEach((o=>{const a=e[o]
;a&&(t.delete(o),a.examples.forEach((e=>n[e]&&r.delete(e))))
})),a.edit(c.uid,"collections",c.collections.filter((e=>e!==o.uid))),
s.delete(o.uid)}},addCollectionEnvironment:(e,t,n)=>{const r=i[n];if(r){
const o=r["x-scalar-environments"]||{};s.edit(n,"x-scalar-environments",{...o,
[e]:t})}},removeCollectionEnvironment:(e,t)=>{const n=i[t];if(n){
const r=n["x-scalar-environments"]||{}
;e in r&&(delete r[e],s.edit(t,"x-scalar-environments",r))}}}}
const aj=ju.object({uid:MD,name:ju.string().default("Default Cookie"),
value:ju.string().default("Default Value"),domain:ju.string().optional(),
expires:ju.date().optional(),httpOnly:ju.boolean().optional(),
maxAge:ju.number().optional(),partitioned:ju.boolean().optional(),
path:ju.string().optional(),
sameSite:ju.union([ju.literal("Lax"),ju.literal("Strict"),ju.literal("None")]).default("None"),
secure:ju.boolean().optional()});const ij=ju.object({uid:MD,
name:ju.string().optional().default("Default Environment"),
color:ju.string().optional().default("#0082D0"),value:ju.string().default(""),
isDefault:ju.boolean().optional()});function sj(){const e=new Set;function t(t){
return e.add(t),()=>n(t)}function n(t){e.delete(t)}return{on:t,once:function(e){
return t((function t(...r){n(t),e(...r)}))},off:n,emit:function(t){
null==e||e.forEach((e=>e(t)))},reset:function(){e.clear()},
listeners:()=>Array.from(e)}}const lj=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 n=e,r=[];if(t){const t=await d$(e).catch((e=>({
errors:[{code:e.code,message:e.message}],filesystem:[]})))
;n=t.filesystem,r=t.errors??[]}const{specification:o}=(a=n)?{
specification:[h$,p$].reduce(((e,t)=>t(e)),n$(l$(a)).specification),
version:"3.1"}:{specification:null,version:"3.1"};var a
;const{schema:i,errors:s=[]}=await u$(o)
;return i||console.warn("[@scalar/oas-utils] OpenAPI Parser Warning: Schema is undefined"),
{schema:Array.isArray(i)?{}:i,errors:[...r,...s]}}
;async function cj(e,{authentication:t,baseServerURL:n,documentUrl:r,servers:o,setCollectionSecurity:a=!1,shouldLoad:i,watchMode:s=!1}={}){
var l,c,u,d,p,h;const{schema:f,errors:m}=await lj(e,{shouldLoad:i
}),g=[...m.map((e=>e.message))];if(!f)return{importWarnings:g,error:!0}
;const v=performance.now(),b=[],y="undefined"==typeof window?"http://localhost":window.location.origin,O=n??y,w=LL.array().parse((null==(l=o??f.servers)?void 0:l.map((e=>{
var t;return(null==(t=null==e?void 0:e.url)?void 0:t.startsWith("/"))?{...e,
url:[O.replace(/\/$/,""),e.url.replace(/^\//,"")].join("/")}:e.url?e:{url:O,
description:"Replace with your API server"}
})))??[]),x=new Set,k=(null==(c=f.components)?void 0:c.securitySchemes)??(null==f?void 0:f.securityDefinitions)??{},S=null==(d=(u=Object.entries(k)).map)?void 0:d.call(u,(([e,n])=>{
var r,o,a;const i={...n,nameKey:e};if("oauth2"===i.type&&i.flows){
Object.keys(i.flows).forEach((e=>{var n
;if(!(null==(n=i.flows)?void 0:n[e]))return;const r=i.flows[e]
;r.type=e,(null==t?void 0:t.oAuth2)&&(t.oAuth2.accessToken&&(r.token=t.oAuth2.accessToken),
"password"===r.type&&(r.username=t.oAuth2.username,
r.password=t.oAuth2.password),
t.oAuth2.scopes&&(r.selectedScopes=t.oAuth2.scopes,
r["x-scalar-client-id"]=t.oAuth2.clientId)),
Array.isArray(r.scopes)&&(r.scopes=r.scopes.reduce(((e,t)=>({...e,[t]:""
})),{})),
r["x-defaultClientId"]&&(r["x-scalar-client-id"]=r["x-defaultClientId"])}))
}else t&&("apiKey"===i.type&&(null==(r=t.apiKey)?void 0:r.token)?i.value=t.apiKey.token:"http"===i.type&&("basic"===i.scheme&&(null==(o=t.http)?void 0:o.basic)?(i.username=t.http.basic.username??"",
i.password=t.http.basic.password??""):"bearer"===i.scheme&&(null==(a=t.http)?void 0:a.bearer)&&(i.token=t.http.bearer.token??"")))
;const s=xD(i,lR,!1);return s||g.push(`Security scheme ${e} is invalid.`),s
})).filter((e=>!!e)),_={};var E;S.forEach((e=>{_[e.nameKey]=e.uid
})),(E=f.paths??{},E?Object.keys(E).map((e=>String(e))):[]).forEach((e=>{var n
;const r=null==(n=null==f?void 0:f.paths)?void 0:n[e];if(!r)return
;const o=LL.array().parse(r.servers??[]);w.push(...o)
;Object.keys(r).filter(SR).forEach((n=>{var i
;const s=r[n],l=LL.array().parse(s.servers??[])
;w.push(...l),null==(i=s.tags)||i.forEach((e=>x.add(e)))
;const{security:c,...u}=s,d=(c??f.security??[]).flatMap((e=>{
const t=Object.keys(e);return t.length?t[0]:[]}));let p=[];if(d.length&&!a){
const e=(null==t?void 0:t.preferredSecurityScheme)&&d.includes(t.preferredSecurityScheme??"")?t.preferredSecurityScheme:d[0]
;p=[_[e]]}const h={...u,method:n,path:e,selectedSecuritySchemeUids:p,
parameters:[...(null==r?void 0:r.parameters)??[],...s.parameters??[]],
servers:[...o,...l].map((e=>e.uid))}
;h.examples&&(console.warn("[@scalar/api-client] operation.examples is not a valid openapi property"),
delete h.examples),(null==c?void 0:c.length)&&(h.security=c.map((e=>{
if(Object.keys(e).length){const[t]=Object.keys(e);return{[t]:e[t]}}return e})))
;const m=xD(h,yR,!1);m?b.push(m):g.push(`${n} Request at ${r} is invalid.`)}))
}));const T=xD((null==f?void 0:f.tags)??[],fR.array(),!1)??[]
;T.forEach((e=>x.delete(e.name))),x.forEach((e=>e&&T.push(fR.parse({name:e}))))
;const C={};T.forEach((e=>{C[e.name]=e}));const A=new Set(T.map((e=>e.uid)))
;T.forEach((e=>{var t;null==(t=e["x-scalar-children"])||t.forEach((t=>{
const n=C[t.tagName].uid;e.children.push(n),A.delete(n)}))})),b.forEach((e=>{
e.tags?e.tags.forEach((t=>{C[t].children.push(e.uid)})):A.add(e.uid)}))
;const P=[];b.forEach((e=>{const t=zD(e,"Default Example")
;P.push(t),e.examples.push(t.uid)}))
;const D=Object.keys((null==(p=f.security)?void 0:p[0])??k??{});let R=[]
;if(a&&D.length){const e=(null==t?void 0:t.preferredSecurityScheme)||D[0]
;R=[_[e]]}const $=ML.parse({...f,watchMode:s,documentUrl:r,
requests:b.map((e=>e.uid)),servers:w.map((e=>e.uid)),tags:T.map((e=>e.uid)),
children:[...A],security:f.security??[{}],
selectedServerUid:null==(h=null==w?void 0:w[0])?void 0:h.uid,
selectedSecuritySchemeUids:R,components:{...f.components},
securitySchemes:S.map((e=>e.uid))}),N=performance.now()
;return console.log(`workspace: ${Math.round(N-v)} ms`),{error:!1,servers:w,
schema:f,requests:b,examples:P,collection:$,tags:T,securitySchemes:S}}
const uj="An unknown error has occurred.",dj="The URL seems to be invalid. Try adding a valid URL.",pj="There is an invalid header present, please double check your params.",hj="File uploads are not saved in history, you must re-upload the file.",fj="The request has been cancelled",mj="An error occurred while making the request",gj="The address bar input seems to be empty. Try adding a URL.",vj=(e,t=uj)=>(console.error(e),
e instanceof Error?(e.message=bj(e.message),
e):"string"==typeof e?new Error(bj(e)):new Error(t)),bj=e=>"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'."===e?hj:"Failed to construct 'URL': Invalid URL"===e?dj:"Failed to execute 'fetch' on 'Window': Invalid name"===e?pj:e,yj={}
;function Oj({collections:e,tags:t}){return function(n){
const r=Object.values(e).find((e=>{var t
;return null==(t=e.requests)?void 0:t.includes(n.uid)}));if(!r)return[]
;const o=Object.keys(t).reduce(((e,t)=>(e[t]=[],e)),{[null==r?void 0:r.uid]:[]})
;!function e(n,r){r.forEach((e=>{var t
;return null==(t=o[e])?void 0:t.push(...n.children)})),n.children.forEach((n=>{
t[n]&&e(t[n],[...r,n])}))}(r,[r.uid]);const a=new Set
;return Object.entries(o).forEach((([e,t])=>{t.includes(n.uid)&&a.add(e)
})),[...a]}}function wj(){return{request:yR.parse({method:"get",parameters:[],
path:"",summary:"My First Request",examples:[]})}}
const xj=ju.enum(["Meta","Control","Shift","Alt","default"]).optional().default("default"),kj=ju.array(xj).optional().default(["default"]),Sj=ju.record(ju.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",";","=",",","-",".","/","`","[","\\","]",""]),ju.object({
modifiers:kj.optional(),
event:ju.enum(["closeModal","navigateSearchResultsDown","selectSearchResult","navigateSearchResultsUp","openCommandPalette","createNew","toggleSidebar","addTopNav","closeTopNav","navigateTopNavLeft","navigateTopNavRight","focusAddressBar","jumpToTab","jumpToLastTab","focusRequestSearch"])
})),_j=ju.object({modifiers:kj,hotKeys:Sj.optional()}).optional(),Ej=ju.object({
uid:MD,name:ju.string().default("Default Workspace"),
description:ju.string().default("Basic Scalar Workspace"),
collections:ju.array(ju.string()).default([]),
environments:ju.record(ju.string()).default({}),hotKeyConfig:_j,
activeEnvironmentId:ju.string().optional().default("default"),
cookies:ju.array(ju.string()).default([]),proxyUrl:ju.string().optional(),
themeId:ju.enum(["alternate","default","moon","purple","solarized","bluePlanet","deepSpace","saturn","kepler","elysiajs","fastify","mars","none"]).optional().default("default")
});function Tj(e){var t,n,r=""
;if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){
var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Tj(e[t]))&&(r&&(r+=" "),r+=n)
}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Cj(){
for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Tj(e))&&(r&&(r+=" "),
r+=t);return r}const Aj=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Pj=e=>{
const t=Nj(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e
;return{getClassGroupId:e=>{const n=e.split("-")
;return""===n[0]&&1!==n.length&&n.shift(),Dj(n,t)||$j(e)},
getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[]
;return t&&r[e]?[...o,...r[e]]:o}}},Dj=(e,t)=>{var n
;if(0===e.length)return t.classGroupId
;const r=e[0],o=t.nextPart.get(r),a=o?Dj(e.slice(1),o):void 0;if(a)return a
;if(0===t.validators.length)return;const i=e.join("-")
;return null==(n=t.validators.find((({validator:e})=>e(i))))?void 0:n.classGroupId
},Rj=/^\[(.+)\]$/,$j=e=>{if(Rj.test(e)){
const t=Rj.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"))
;if(n)return"arbitrary.."+n}},Nj=e=>{const{theme:t,prefix:n}=e,r={
nextPart:new Map,validators:[]}
;return jj(Object.entries(e.classGroups),n).forEach((([e,n])=>{Mj(n,r,e,t)})),r
},Mj=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){
if("function"==typeof e)return Lj(e)?void Mj(e(r),t,n,r):void t.validators.push({
validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{
Mj(o,Ij(t,e),n,r)}))}else{(""===e?t:Ij(t,e)).classGroupId=n}}))},Ij=(e,t)=>{
let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{
nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n
},Lj=e=>e.isThemeGetter,jj=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,Bj=e=>{
if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map
;const o=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){
let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},
set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},Uj=e=>{
const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,o=t[0],a=t.length,i=e=>{
const n=[];let i,s=0,l=0;for(let d=0;d<e.length;d++){let c=e[d];if(0===s){
if(c===o&&(r||e.slice(d,d+a)===t)){n.push(e.slice(l,d)),l=d+a;continue}
if("/"===c){i=d;continue}}"["===c?s++:"]"===c&&s--}
const c=0===n.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:n,
hasImportantModifier:u,baseClassName:u?c.substring(1):c,
maybePostfixModifierPosition:i&&i>l?i-l:void 0}};return n?e=>n({className:e,
parseClassName:i}):i},Qj=e=>{if(e.length<=1)return e;const t=[];let n=[]
;return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)
})),t.push(...n.sort()),t},Fj=/\s+/;function zj(){let e,t,n=0,r=""
;for(;n<arguments.length;)(e=arguments[n++])&&(t=qj(e))&&(r&&(r+=" "),r+=t)
;return r}const qj=e=>{if("string"==typeof e)return e;let t,n=""
;for(let r=0;r<e.length;r++)e[r]&&(t=qj(e[r]))&&(n&&(n+=" "),n+=t);return n}
;function Hj(e,...t){let n,r,o,a=function(s){const l=t.reduce(((e,t)=>t(e)),e())
;return n=(e=>({cache:Bj(e.cacheSize),parseClassName:Uj(e),...Pj(e)
}))(l),r=n.cache.get,o=n.cache.set,a=i,i(s)};function i(e){const t=r(e)
;if(t)return t;const a=((e,t)=>{
const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,a=[],i=e.trim().split(Fj)
;let s="";for(let l=i.length-1;l>=0;l-=1){
const e=i[l],{modifiers:t,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=n(e)
;let p=Boolean(d),h=r(p?u.substring(0,d):u);if(!h){if(!p){
s=e+(s.length>0?" "+s:s);continue}if(h=r(u),!h){s=e+(s.length>0?" "+s:s)
;continue}p=!1}const f=Qj(t).join(":"),m=c?f+"!":f,g=m+h
;if(a.includes(g))continue;a.push(g);const v=o(h,p);for(let n=0;n<v.length;++n){
const e=v[n];a.push(m+e)}s=e+(s.length>0?" "+s:s)}return s})(e,n);return o(e,a),
a}return function(){return a(zj.apply(null,arguments))}}const Vj=e=>{
const t=t=>t[e]||[];return t.isThemeGetter=!0,t
},Zj=/^\[(?:([a-z-]+):)?(.+)\]$/i,Wj=/^\d+\/\d+$/,Xj=new Set(["px","full","screen"]),Gj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Yj=/\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$/,Kj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Jj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,eB=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,tB=e=>rB(e)||Xj.has(e)||Wj.test(e),nB=e=>gB(e,"length",vB),rB=e=>Boolean(e)&&!Number.isNaN(Number(e)),oB=e=>gB(e,"number",rB),aB=e=>Boolean(e)&&Number.isInteger(Number(e)),iB=e=>e.endsWith("%")&&rB(e.slice(0,-1)),sB=e=>Zj.test(e),lB=e=>Gj.test(e),cB=new Set(["length","size","percentage"]),uB=e=>gB(e,cB,bB),dB=e=>gB(e,"position",bB),pB=new Set(["image","url"]),hB=e=>gB(e,pB,OB),fB=e=>gB(e,"",yB),mB=()=>!0,gB=(e,t,n)=>{
const r=Zj.exec(e)
;return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))
},vB=e=>Yj.test(e)&&!Kj.test(e),bB=()=>!1,yB=e=>Jj.test(e),OB=e=>eB.test(e),wB=()=>{
const e=Vj("colors"),t=Vj("spacing"),n=Vj("blur"),r=Vj("brightness"),o=Vj("borderColor"),a=Vj("borderRadius"),i=Vj("borderSpacing"),s=Vj("borderWidth"),l=Vj("contrast"),c=Vj("grayscale"),u=Vj("hueRotate"),d=Vj("invert"),p=Vj("gap"),h=Vj("gradientColorStops"),f=Vj("gradientColorStopPositions"),m=Vj("inset"),g=Vj("margin"),v=Vj("opacity"),b=Vj("padding"),y=Vj("saturate"),O=Vj("scale"),w=Vj("sepia"),x=Vj("skew"),k=Vj("space"),S=Vj("translate"),_=()=>["auto",sB,t],E=()=>[sB,t],T=()=>["",tB,nB],C=()=>["auto",rB,sB],A=()=>["","0",sB],P=()=>[rB,sB]
;return{cacheSize:500,separator:":",theme:{colors:[mB],spacing:[tB,nB],
blur:["none","",lB,sB],brightness:P(),borderColor:[e],
borderRadius:["none","","full",lB,sB],borderSpacing:E(),borderWidth:T(),
contrast:P(),grayscale:A(),hueRotate:P(),invert:A(),gap:E(),
gradientColorStops:[e],gradientColorStopPositions:[iB,nB],inset:_(),margin:_(),
opacity:P(),padding:E(),saturate:P(),scale:P(),sepia:A(),skew:P(),space:E(),
translate:E()},classGroups:{aspect:[{aspect:["auto","square","video",sB]}],
container:["container"],columns:[{columns:[lB]}],"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",sB]
}],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",aB,sB]}],basis:[{basis:_()}],"flex-direction":[{
flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{
flex:["wrap","wrap-reverse","nowrap"]}],flex:[{
flex:["1","auto","initial","none",sB]}],grow:[{grow:A()}],shrink:[{shrink:A()}],
order:[{order:["first","last","none",aB,sB]}],"grid-cols":[{"grid-cols":[mB]}],
"col-start-end":[{col:["auto",{span:["full",aB,sB]},sB]}],"col-start":[{
"col-start":C()}],"col-end":[{"col-end":C()}],"grid-rows":[{"grid-rows":[mB]}],
"row-start-end":[{row:["auto",{span:[aB,sB]},sB]}],"row-start":[{"row-start":C()
}],"row-end":[{"row-end":C()}],"grid-flow":[{
"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{
"auto-cols":["auto","min","max","fr",sB]}],"auto-rows":[{
"auto-rows":["auto","min","max","fr",sB]}],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:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],
pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],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",sB,t]}],"min-w":[{
"min-w":[sB,t,"min","max","fit"]}],"max-w":[{
"max-w":[sB,t,"none","full","min","max","fit","prose",{screen:[lB]},lB]}],h:[{
h:[sB,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{
"min-h":[sB,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{
"max-h":[sB,t,"min","max","fit","svh","lvh","dvh"]}],size:[{
size:[sB,t,"auto","min","max","fit"]}],"font-size":[{text:["base",lB,nB]}],
"font-smoothing":["antialiased","subpixel-antialiased"],
"font-style":["italic","not-italic"],"font-weight":[{
font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",oB]
}],"font-family":[{font:[mB]}],"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",sB]}],
"line-clamp":[{"line-clamp":["none",rB,oB]}],leading:[{
leading:["none","tight","snug","normal","relaxed","loose",tB,sB]}],
"list-image":[{"list-image":["none",sB]}],"list-style-type":[{
list:["none","disc","decimal",sB]}],"list-style-position":[{
list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],
"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{
text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]
}],"text-opacity":[{"text-opacity":[v]}],
"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",tB,nB]}],
"underline-offset":[{"underline-offset":["auto",tB,sB]}],
"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",sB]
}],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",sB]}],
"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{
"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{
"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],
"bg-position":[{
bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",dB]
}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],
"bg-size":[{bg:["auto","cover","contain",uB]}],"bg-image":[{bg:["none",{
"gradient-to":["t","tr","r","br","b","bl","l","tl"]},hB]}],"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:[a]}],"rounded-s":[{
"rounded-s":[a]}],"rounded-e":[{"rounded-e":[a]}],"rounded-t":[{"rounded-t":[a]
}],"rounded-r":[{"rounded-r":[a]}],"rounded-b":[{"rounded-b":[a]}],
"rounded-l":[{"rounded-l":[a]}],"rounded-ss":[{"rounded-ss":[a]}],
"rounded-se":[{"rounded-se":[a]}],"rounded-ee":[{"rounded-ee":[a]}],
"rounded-es":[{"rounded-es":[a]}],"rounded-tl":[{"rounded-tl":[a]}],
"rounded-tr":[{"rounded-tr":[a]}],"rounded-br":[{"rounded-br":[a]}],
"rounded-bl":[{"rounded-bl":[a]}],"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":[v]}],"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":[v]}],"divide-style":[{
divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]
}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],
"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],
"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],
"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],
"divide-color":[{divide:[o]}],"outline-style":[{
outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{
"outline-offset":[tB,sB]}],"outline-w":[{outline:[tB,nB]}],"outline-color":[{
outline:[e]}],"ring-w":[{ring:T()}],"ring-w-inset":["ring-inset"],
"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],
"ring-offset-w":[{"ring-offset":[tB,nB]}],"ring-offset-color":[{
"ring-offset":[e]}],shadow:[{shadow:["","inner","none",lB,fB]}],
"shadow-color":[{shadow:[mB]}],opacity:[{opacity:[v]}],"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:[n]}],brightness:[{brightness:[r]
}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",lB,sB]}],
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":[n]}],
"backdrop-brightness":[{"backdrop-brightness":[r]}],"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":[v]}],
"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",sB]}],
duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",sB]}],
delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",sB]
}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[O]}],"scale-x":[{
"scale-x":[O]}],"scale-y":[{"scale-y":[O]}],rotate:[{rotate:[aB,sB]}],
"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",sB]
}],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",sB]
}],"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",sB]}],fill:[{
fill:[e,"none"]}],"stroke-w":[{stroke:[tB,nB,oB]}],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"]}}
},xB=(e,t,n)=>{void 0!==n&&(e[t]=n)},kB=(e,t)=>{
if(t)for(const n in t)xB(e,n,t[n])},SB=(e,t)=>{if(t)for(const n in t){
const r=t[n];void 0!==r&&(e[n]=(e[n]||[]).concat(r))}
},_B=((e,...t)=>"function"==typeof e?Hj(wB,e,...t):Hj((()=>((e,{cacheSize:t,prefix:n,separator:r,experimentalParseClassName:o,extend:a={},override:i={}})=>{
xB(e,"cacheSize",t),
xB(e,"prefix",n),xB(e,"separator",r),xB(e,"experimentalParseClassName",o)
;for(const s in i)kB(e[s],i[s]);for(const s in a)SB(e[s],a[s]);return e
})(wB(),e)),...t))({extend:{classGroups:{"font-size":["text-3xs","text-xxs"]}}
}),{cva:EB,cx:TB,compose:CB}=(e=>{const t=function(){
for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o,a
;return void 0!==(null==e||null===(o=e.hooks)||void 0===o?void 0:o["cx:done"])?null==e?void 0:e.hooks["cx:done"](Cj(n)):void 0!==(null==e||null===(a=e.hooks)||void 0===a?void 0:a.onComplete)?null==e?void 0:e.hooks.onComplete(Cj(n)):Cj(n)
};return{compose:function(){
for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r]
;return e=>{const r=Object.fromEntries(Object.entries(e||{}).filter((e=>{
let[t]=e;return!["class","className"].includes(t)})))
;return t(n.map((e=>e(r))),null==e?void 0:e.class,null==e?void 0:e.className)}},
cva:e=>n=>{var r
;if(null==(null==e?void 0:e.variants))return t(null==e?void 0:e.base,null==n?void 0:n.class,null==n?void 0:n.className)
;const{variants:o,defaultVariants:a}=e,i=Object.keys(o).map((e=>{
const t=null==n?void 0:n[e],r=null==a?void 0:a[e],i=Aj(t)||Aj(r);return o[e][i]
})),s={...a,...n&&Object.entries(n).reduce(((e,t)=>{let[n,r]=t
;return void 0===r?e:{...e,[n]:r}}),{})
},l=null==e||null===(r=e.compoundVariants)||void 0===r?void 0:r.reduce(((e,t)=>{
let{class:n,className:r,...o}=t;return Object.entries(o).every((e=>{let[t,n]=e
;const r=s[t];return Array.isArray(n)?n.includes(r):r===n}))?[...e,n,r]:e}),[])
;return t(null==e?void 0:e.base,i,l,null==n?void 0:n.class,null==n?void 0:n.className)
},cx:t}})({hooks:{onComplete:e=>_B(e)}});function AB(){const e=Qo(),t=Bi((()=>{
const{class:t,...n}=e;return{class:t||"",rest:n}}));return{cx:function(...e){
return{class:TB(...e,t.value.class),...t.value.rest}}}}const PB={
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 hocus:text-c-1"],
danger:["scalar-button-danger","bg-red text-white active:brightness-90 hocus:brightness-90"]
},DB=EB({
base:"scalar-button scalar-row cursor-pointer items-center justify-center rounded font-medium",
variants:{disabled:{true:"bg-background-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:PB},
compoundVariants:[{disabled:!0,variant:["solid","outlined","ghost","danger"],
class:"bg-b-2 text-c-3 shadow-none"}]}),RB={key:0,class:"circular-loader"}
;function $B(){return An({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 n=t?e-300:e
;return new Promise((e=>setTimeout(t?()=>this.clear().then((()=>e(!0))):()=>e(!0),n)))
},invalidate(e=1100,t){this.isValid=!1,this.isInvalid=!0;const n=t?e-300:e
;return new Promise((e=>setTimeout(t?()=>this.clear().then((()=>e(!0))):()=>e(!0),n)))
},clear(e=300){
return this.isValid=!1,this.isInvalid=!1,this.isLoading=!1,new Promise((t=>{
setTimeout((()=>{t(!0)}),e)}))}})}const NB=no({inheritAttrs:!1,
__name:"ScalarLoading",props:{loadingState:{},size:{}},setup(e){
const{cx:t}=AB(),n=EB({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,r)=>e.loadingState?(ei(),oi("div",st(Oi({key:0
},Vn(t)("loader-wrapper",Vn(n)({size:e.size})))),[(ei(),oi("svg",{
class:it(["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"
},[r[0]||(r[0]=mi('<path class="svg-path svg-check-mark" d="m 0 60 l 30 30 l 70 -80" data-v-ca661d68></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 -40" data-v-ca661d68></path><path class="svg-path svg-x-mark" d="m 50 50 l 40 40" data-v-ca661d68></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 -40" data-v-ca661d68></path><path class="svg-path svg-x-mark" d="m 50 50 l -40 40" data-v-ca661d68></path>',5)),e.loadingState.isLoading?(ei(),
oi("g",RB,[ui("circle",{class:it(["loader-path",{
"loader-path-off":e.loadingState.isValid||e.loadingState.isInvalid}]),cx:"50",
cy:"50",fill:"none",r:"20","stroke-width":"2"
},null,2)])):gi("",!0)],2))],16)):gi("",!0)}}),MB=(e,t)=>{const n=e.__vccOpts||e
;for(const[r,o]of t)n[r]=o;return n
},IB=MB(NB,[["__scopeId","data-v-ca661d68"]]),LB=["ariaDisabled","type"],jB={
key:3,class:"centered-x absolute"},BB=no({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}=AB();return(e,n)=>{var r,o,a,i;return ei(),oi("button",Oi({
ariaDisabled:e.disabled||void 0,type:e.type},Vn(t)(Vn(DB)({
fullWidth:e.fullWidth,disabled:e.disabled,size:e.size,variant:e.variant}),{
relative:null==(r=e.loading)?void 0:r.isLoading
})),[e.$slots.icon?(ei(),oi("div",{key:0,class:it(["mr-2 h-4 w-4",{
invisible:null==(o=e.loading)?void 0:o.isLoading}])
},[$o(e.$slots,"icon")],2)):gi("",!0),e.loading?(ei(),oi("span",{key:1,
class:it({invisible:null==(a=e.loading)?void 0:a.isLoading})
},[$o(e.$slots,"default")],2)):$o(e.$slots,"default",{key:2
}),null!=(i=e.loading)&&i.isLoading?(ei(),oi("div",jB,[di(Vn(IB),{
loadingState:e.loading,size:"xs"},null,8,["loadingState"])])):gi("",!0)],16,LB)}
}}),UB={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"
}
},QB="https://html.spec.whatwg.org/multipage/parsing.html#parse-error-",FB=/-[a-z]/g,zB=/%c(?:([-+])(\d+))?/g,qB=/%x/g,HB={
2:!0,1:!1,0:null},VB={};function ZB(e,t){
const n=t||VB,r=n.onerror,o=e instanceof MS?e:new MS(e),a=n.fragment?mb:fb,i=String(o),s=a(i,{
sourceCodeLocationInfo:!0,onParseError:n.onerror?function(e){
const t=e.code,a=function(e){return e.replace(FB,WB)
}(t),s=n[a],l=null==s||s,c="number"==typeof l?l:l?1:0;if(c){
const n=UB[a],i=new CS(u(n.reason),{place:{start:{line:e.startLine,
column:e.startCol,offset:e.startOffset},end:{line:e.endLine,column:e.endCol,
offset:e.endOffset}},ruleId:t,source:"hast-util-from-html"})
;o.path&&(i.file=o.path,
i.name=o.path+":"+i.name),i.fatal=HB[c],i.note=u(n.description),
i.url=!1===n.url?void 0:QB+t,r(i)}function u(t){
return t.replace(zB,(function(t,n,r){
const o=(r?Number.parseInt(r,10):0)*("-"===n?-1:1);return function(e){
return"`"===e?"` ` `":e}(i.charAt(e.startOffset+o))})).replace(qB,(function(){
return t=i.charCodeAt(e.startOffset),"0x"+t.toString(16).toUpperCase();var t}))}
}:null,scriptingEnabled:!1});return nm(s,{file:o,space:n.space,verbose:n.verbose
})}function WB(e){return e.charAt(1).toUpperCase()}function XB(e){
const{emitParseErrors:t,...n}={...this.data("settings"),...e}
;this.parser=function(e,r){return ZB(e,{...n,onerror:t?function(e){
r.path&&(e.name=r.path+":"+e.name,e.file=r.path),r.messages.push(e)}:void 0})}}
function GB(e){return"text"===(null==e?void 0:e.type)}function YB(e){
return"element"===(null==e?void 0:e.type)}function KB(e){return{type:"text",
value:e}}function JB(){return e=>{_h(e,"element",((e,t,n)=>{
if("element"===(null==n?void 0:n.type)&&"pre"===n.tagName&&"code"===e.tagName){
let t=0;e.children=eU(e),e.children.forEach((e=>{
if("element"===e.type&&"span"===e.tagName){
const n=e.children[e.children.length-1]
;n&&(!GB(n)||GB(n)&&!nU(n))&&(e.children.push({type:"text",value:"\n"}),t++)}
})),
e.properties.style=[`--line-count: ${t};`,`--line-digits: ${t.toString().length};`]
}}))}}function eU(e,t=[],n){
const r=()=>t[t.length-1]??(t.push(tU())&&t[t.length-1])
;return e.children.forEach((o=>{if(GB(o)&&nU(o)){const a=o.value.split(/\n/)
;a.forEach(((o,i)=>{n?r().children.push({...e,children:[KB(o)]
}):r().children.push(KB(o)),i!==a.length-1&&t.push(tU())}))
}else YB(o)&&o.children.some(nU)?eU(o,t,!0):r().children.push(o)})),t}
function tU(...e){return{type:"element",tagName:"span",properties:{
class:["line"]},children:e}}function nU(e){
return GB(e)&&/\r?\n/.test(e.value)||YB(e)&&e.children.some(nU)}
function rU(e,t){
const n=("string"==typeof(null==t?void 0:t.maskCredentials)?[t.maskCredentials]:(null==t?void 0:t.maskCredentials)??[]).filter((e=>!(e.length<3))),r=`language-${NT[t.lang]??t.lang}`
;var o;const a=FS().use(XB,{fragment:!0}).use((o=e,()=>e=>{_h(e,"element",(e=>{
"code"===e.tagName&&e.children.push({type:"text",value:o})}))})).use(IT,{
languages:t.languages
}).use((null==t?void 0:t.lineNumbers)?JB:()=>{}).use(Ny).processSync(`<pre><code class="${r}"></code></pre>`).toString()
;return n.length?a.replace(new RegExp(n.join("|"),"g"),(e=>`<span class="credentials">${e}</span>`)):a
}var oU=Object.defineProperty,aU=(e,t,n)=>(((e,t,n)=>{t in e?oU(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n
})(e,"symbol"!=typeof t?t+"":t,n),n);!function(e){if(typeof document>"u")return
;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style")
;n.type="text/css",
t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.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 iU=0;const sU=new class{constructor(){
aU(this,"subscribers"),aU(this,"toasts"),
aU(this,"subscribe",(e=>(this.subscribers.push(e),()=>{
const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)
}))),aU(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))
})),aU(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]
})),aU(this,"create",(e=>{var t
;const{message:n,...r}=e,o="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:iU++,a=this.toasts.find((e=>e.id===o)),i=void 0===e.dismissible||e.dismissible
;return a?this.toasts=this.toasts.map((t=>t.id===o?(this.publish({...t,...e,
id:o,title:n}),{...t,...e,id:o,dismissible:i,title:n}):t)):this.addToast({
title:n,...r,dismissible:i,id:o}),o
})),aU(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))),aU(this,"message",((e,t)=>this.create({...t,message:e,type:"default"
}))),aU(this,"error",((e,t)=>this.create({...t,type:"error",message:e
}))),aU(this,"success",((e,t)=>this.create({...t,type:"success",message:e
}))),aU(this,"info",((e,t)=>this.create({...t,type:"info",message:e
}))),aU(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e
}))),aU(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e
}))),aU(this,"promise",((e,t)=>{if(!t)return;let n
;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",
message:t.loading,
description:"function"!=typeof t.description?t.description:void 0}))
;const r=e instanceof Promise?e:e();let o=void 0!==n;return r.then((e=>{
if(e&&"boolean"==typeof e.ok&&!e.ok){o=!1
;const e="function"==typeof t.error?t.error(`HTTP error! status: ${response.status}`):t.error,r="function"==typeof t.description?t.description(`HTTP error! status: ${response.status}`):t.description
;this.create({id:n,type:"error",message:e,description:r})
}else if(void 0!==t.success){o=!1
;const r="function"==typeof t.success?t.success(e):t.success,a="function"==typeof t.description?t.description(e):t.description
;this.create({id:n,type:"success",message:r,description:a})}})).catch((e=>{
if(void 0!==t.error){o=!1
;const r="function"==typeof t.error?t.error(e):t.error,a="function"==typeof t.description?t.description(e):t.description
;this.create({id:n,type:"error",message:r,description:a})}})).finally((()=>{
var e;o&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)})),n
})),aU(this,"custom",((e,t)=>{const n=(null==t?void 0:t.id)||iU++
;return this.publish({component:e,id:n,...t}),n
})),this.subscribers=[],this.toasts=[]}},lU=(e,t)=>{
const n=(null==t?void 0:t.id)||iU++;return sU.create({message:e,id:n,
type:"default",...t}),n},cU=Object.assign(lU,{success:sU.success,info:sU.info,
warning:sU.warning,error:sU.error,custom:sU.custom,message:sU.message,
promise:sU.promise,dismiss:sU.dismiss,loading:sU.loading}),uU=(e,t)=>{
const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},dU={},pU={
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"},hU=[ui("line",{x1:"18",y1:"6",x2:"6",y2:"18"
},null,-1),ui("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)]
;const fU=uU(dU,[["render",function(e,t){return ei(),oi("svg",pU,hU)
}]]),mU=["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"],gU=["aria-label","data-disabled"],vU={
key:0,"data-icon":""},bU={"data-content":""},yU=no({__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 n=t,r=e,o=Fn(!1),a=Fn(!1),i=Fn(!1),s=Fn(!1),l=Fn(0),c=Fn(0),u=Fn(null),d=Fn(null),p=Bi((()=>0===r.index)),h=Bi((()=>r.index+1<=r.visibleToasts)),f=Bi((()=>r.toast.type)),m=Bi((()=>!1!==r.toast.dismissible)),g=Bi((()=>{
var e,t,n,o,a,i,s
;return r.cn(null==(e=r.classes)?void 0:e.toast,null==(n=null==(t=r.toast)?void 0:t.classes)?void 0:n.toast,null==(o=r.classes)?void 0:o.default,null==(a=r.classes)?void 0:a[r.toast.type||"default"],null==(s=null==(i=r.toast)?void 0:i.classes)?void 0:s[r.toast.type||"default"])
})),v=r.toast.style||{},b=Bi((()=>r.heights.findIndex((e=>e.toastId===r.toast.id))||0)),y=Bi((()=>r.toast.closeButton??r.closeButton)),O=Bi((()=>r.toast.duration||r.duration||4e3)),w=Fn(0),x=Fn(0),k=Fn(O.value),S=Fn(0),_=Fn(null),E=Bi((()=>r.position.split("-"))),T=Bi((()=>E.value[0])),C=Bi((()=>E.value[1])),A="string"!=typeof r.toast.title,P="string"!=typeof r.toast.description,D=Bi((()=>r.heights.reduce(((e,t,n)=>n>=b.value?e:e+t.height),0))),R=(()=>{
const e=Fn(!1);return Na((()=>{const t=()=>{e.value=document.hidden}
;return document.addEventListener("visibilitychange",t),
()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}
})(),$=Bi((()=>r.toast.invert||r.invert)),N=Bi((()=>"loading"===f.value))
;go((()=>{if(!o.value)return;const e=d.value,t=null==e?void 0:e.style.height
;e.style.height="auto";const a=e.getBoundingClientRect().height;let i
;e.style.height=t,
c.value=a,i=r.heights.find((e=>e.toastId===r.toast.id))?r.heights.map((e=>e.toastId===r.toast.id?{
...e,height:a}:e)):[{toastId:r.toast.id,height:a,position:r.toast.position
},...r.heights],n("update:heights",i)}));const M=()=>{a.value=!0,l.value=x.value
;const e=r.heights.filter((e=>e.toastId!==r.toast.id))
;n("update:heights",e),setTimeout((()=>{n("removeToast",r.toast)}),200)},I=()=>{
var e,t
;N.value||!m.value||(M(),null==(t=(e=r.toast).onDismiss)||t.call(e,r.toast))
},L=e=>{
N.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,n,o,a;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==(o=(n=r.toast).onDismiss)||o.call(n,r.toast),M(),void(s.value=!0)
;null==(a=d.value)||a.style.setProperty("--swipe-amount","0px"),i.value=!1
},B=e=>{var t;if(!_.value)return
;const n=e.clientY-_.value.y,r=e.clientX-_.value.x,o=("top"===E.value[0]?Math.min:Math.max)(0,n),a="touch"===e.pointerType?10:2
;Math.abs(o)>a?null==(t=d.value)||t.style.setProperty("--swipe-amount",`${n}px`):Math.abs(r)>a&&(_.value=null)
};return Na((()=>{x.value=14*b.value+D.value})),Na((e=>{
if(r.toast.promise&&"loading"===f.value||r.toast.duration===1/0||"loading"===r.toast.type)return
;let t;r.expanded||r.interacting||r.pauseWhenPageIsHidden&&R?(()=>{
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=r.toast).onAutoClose)||t.call(e,r.toast),M()}),k.value)),e((()=>{
clearTimeout(t)}))})),Na((()=>{r.toast.delete&&M()})),go((()=>{if(d.value){
const e=d.value.getBoundingClientRect().height;c.value=e;const t=[{
toastId:r.toast.id,height:e,position:r.toast.position},...r.heights]
;n("update:heights",t)}o.value=!0})),Oo((()=>{if(d.value){
const e=r.heights.filter((e=>e.toastId!==r.toast.id));n("update:heights",e)}})),
(e,t)=>{var n,r,u,b,O,w,k,S,_,E,D,R;return ei(),oi("li",{
"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",
role:"status",tabindex:"0",ref_key:"toastRef",ref:d,"data-sonner-toast":"",
class:it(g.value),
"data-styled":!(e.toast.component||null!=(n=e.toast)&&n.unstyled||e.unstyled),
"data-mounted":o.value,"data-promise":!!e.toast.promise,"data-removed":a.value,
"data-visible":h.value,"data-y-position":T.value,"data-x-position":C.value,
"data-index":e.index,"data-front":p.value,"data-swiping":i.value,
"data-dismissible":m.value,"data-type":f.value,"data-invert":$.value,
"data-swipe-out":s.value,
"data-expanded":!!(e.expanded||e.expandByDefault&&o.value),style:tt({
"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,
"--offset":`${a.value?l.value:x.value}px`,
"--initial-height":e.expandByDefault?"auto":`${c.value}px`,...e.style,...Vn(v)
}),onPointerdown:L,onPointerup:j,onPointermove:B
},[y.value&&!e.toast.component?(ei(),oi("button",{key:0,
"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":N.value,
"data-close-button":"",
class:it(e.cn(null==(r=e.classes)?void 0:r.closeButton,null==(b=null==(u=e.toast)?void 0:u.classes)?void 0:b.closeButton)),
onClick:I
},[di(fU)],10,gU)):gi("",!0),e.toast.component?(ei(),ai(Co(e.toast.component),Oi({
key:1},e.toast.componentProps,{onCloseToast:M}),null,16)):(ei(),oi(Wa,{key:2
},["default"!==f.value||e.toast.icon||e.toast.promise?(ei(),
oi("div",vU,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?gi("",!0):$o(e.$slots,"loading-icon",{
key:0}),e.toast.icon?(ei(),ai(Co(e.toast.icon),{key:1})):(ei(),oi(Wa,{key:2
},["success"===f.value?$o(e.$slots,"success-icon",{key:0
}):"error"===f.value?$o(e.$slots,"error-icon",{key:1
}):"warning"===f.value?$o(e.$slots,"warning-icon",{key:2
}):"info"===f.value?$o(e.$slots,"info-icon",{key:3
}):gi("",!0)],64))])):gi("",!0),ui("div",bU,[ui("div",{"data-title":"",
class:it(e.cn(null==(O=e.classes)?void 0:O.title,null==(w=e.toast.classes)?void 0:w.title))
},[A?(ei(),ai(Co(e.toast.title),st(Oi({key:0
},e.toast.componentProps)),null,16)):(ei(),oi(Wa,{key:1
},[fi(ht(e.toast.title),1)],64))],2),e.toast.description?(ei(),oi("div",{key:0,
"data-description":"",
class:it(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?(ei(),ai(Co(e.toast.description),st(Oi({key:0
},e.toast.componentProps)),null,16)):(ei(),oi(Wa,{key:1
},[fi(ht(e.toast.description),1)],64))],2)):gi("",!0)]),e.toast.cancel?(ei(),
oi("button",{key:1,
class:it(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
;M(),null!=(t=e.toast.cancel)&&t.onClick&&e.toast.cancel.onClick()})
},ht(e.toast.cancel.label),3)):gi("",!0),e.toast.action?(ei(),oi("button",{
key:2,
class:it(e.cn(null==(D=e.classes)?void 0:D.actionButton,null==(R=e.toast.classes)?void 0:R.actionButton)),
"data-button":"",onClick:t[1]||(t[1]=t=>{var n
;null==(n=e.toast.action)||n.onClick(t),!t.defaultPrevented&&M()})
},ht(e.toast.action.label),3)):gi("",!0)],64))],46,mU)}}
}),OU=["data-visible"],wU={class:"sonner-spinner"},xU=no({__name:"Loader",
props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0)
;return(e,n)=>(ei(),oi("div",{class:"sonner-loading-wrapper",
"data-visible":e.visible
},[ui("div",wU,[(ei(!0),oi(Wa,null,Do(Vn(t),(e=>(ei(),oi("div",{
key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,OU))}
}),kU={},SU={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",
fill:"currentColor",height:"20",width:"20"},_U=[ui("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)];const EU=uU(kU,[["render",function(e,t){
return ei(),oi("svg",SU,_U)}]]),TU={},CU={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},AU=[ui("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)];const PU=uU(TU,[["render",function(e,t){
return ei(),oi("svg",CU,AU)}]]),DU={},RU={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},$U=[ui("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)];const NU=uU(DU,[["render",function(e,t){
return ei(),oi("svg",RU,$U)}]]),MU={},IU={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},LU=[ui("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)];const jU=uU(MU,[["render",function(e,t){
return ei(),oi("svg",IU,LU)
}]]),BU=["aria-label"],UU=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],QU="32px",FU=typeof window<"u"&&typeof document<"u",zU=no({
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:QU},dir:{
default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},
pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{}},setup(e){
function t(...e){return e.filter(Boolean).join(" ")}function n(){
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 r=e,o=Qo(),a=Fn([]),i=Bi((()=>{
const e=a.value.filter((e=>e.position)).map((e=>e.position))
;return e.length>0?Array.from(new Set([r.position].concat(e))):[r.position]
})),s=Fn([]),l=Fn(!1),c=Fn(!1),u=Fn("system"!==r.theme?r.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),d=Bi((()=>r.cn||t)),p=Fn(null),h=Fn(null),f=Fn(!1),m=r.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"")
;function g(e){a.value=a.value.filter((({id:t})=>t!==e.id))}const v=e=>{var t,n
;f.value&&(null==(n=null==(t=e.currentTarget)?void 0:t.contains)||!n.call(t,e.relatedTarget))&&(f.value=!1,
h.value&&(h.value.focus({preventScroll:!0}),h.value=null))},b=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 Na((e=>{const t=sU.subscribe((e=>{
e.dismiss?a.value=a.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):yr((()=>{
const t=a.value.findIndex((t=>t.id===e.id))
;-1!==t?a.value.splice(t,1,e):a.value=[e,...a.value]}))}));e((()=>{t()}))
})),Ma((()=>r.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})),Ma((()=>p.value),(()=>{
if(p.value)return()=>{h.value&&(h.value.focus({preventScroll:!0
}),h.value=null,f.value=!1)}})),Na((()=>{a.value.length<=1&&(l.value=!1)
})),Na((e=>{function t(e){
const t=r.hotkey.every((t=>e[t]||e.code===t)),n=Array.isArray(p.value)?p.value[0]:p.value
;t&&(l.value=!0,null==n||n.focus())
;const o=document.activeElement===p.value||(null==n?void 0:n.contains(document.activeElement))
;"Escape"===e.code&&o&&(l.value=!1)}FU&&(document.addEventListener("keydown",t),
e((()=>{document.removeEventListener("keydown",t)})))
})),(e,t)=>(ei(),oi("section",{"aria-label":`${e.containerAriaLabel} ${Vn(m)}`,
tabIndex:-1},[(ei(!0),oi(Wa,null,Do(i.value,((r,i)=>{var u
;return ei(),oi("ol",Oi({key:r,ref_for:!0,ref_key:"listRef",ref:p,
"data-sonner-toaster":"",class:e.class,dir:"auto"===e.dir?n():e.dir,tabIndex:-1,
"data-theme":e.theme,"data-rich-colors":e.richColors,
"data-y-position":r.split("-")[0],"data-x-position":r.split("-")[1],style:{
"--front-toast-height":`${null==(u=s.value[0])?void 0:u.height}px`,
"--offset":"number"==typeof e.offset?`${e.offset}px`:e.offset||QU,
"--width":"356px","--gap":"14px",...e.style,...Vn(o).style},onBlur:v,onFocus:b,
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),[(ei(!0),oi(Wa,null,Do(a.value.filter((t=>!t.position&&0===i||t.position===e.position)),((n,r)=>{
var o,i,u,p,h,f,m,v,b;return ei(),ai(yU,{key:n.id,index:r,toast:n,
duration:(null==(o=e.toastOptions)?void 0:o.duration)??e.duration,
class:it(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:tt(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==(v=e.toastOptions)?void 0:v.cancelButtonStyle,
actionButtonStyle:null==(b=e.toastOptions)?void 0:b.actionButtonStyle,
toasts:a.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":Ar((()=>[$o(e.$slots,"loading-icon",{},(()=>[di(xU,{
visible:"loading"===n.type},null,8,["visible"])]))])),
"success-icon":Ar((()=>[$o(e.$slots,"success-icon",{},(()=>[di(EU)]))])),
"error-icon":Ar((()=>[$o(e.$slots,"error-icon",{},(()=>[di(jU)]))])),
"warning-icon":Ar((()=>[$o(e.$slots,"warning-icon",{},(()=>[di(NU)]))])),
"info-icon":Ar((()=>[$o(e.$slots,"info-icon",{},(()=>[di(PU)]))])),_: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,UU)})),128))],8,BU))}}),qU={toast:()=>null};function HU(e){
qU.toast=e}function VU(){return{initializeToasts:HU,toast:(e,t="info",n={
timeout:3e3})=>{qU.toast(e,t,n)}}}const ZU=no({__name:"ScalarToasts",setup(e){
const t=Fn(!1);go((()=>t.value=!0));const n={success:cU.success,error:cU.error,
warn:cU.warning,info:cU},{initializeToasts:r}=VU()
;return r(((e,t="info",r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,
description:r.description})})),(e,n)=>t.value?(ei(),ai(Vn(zU),{key:0,
class:"scalar-toaster"})):gi("",!0)}});function WU(e={}){
const{notify:t=e=>n(e,"info")}=e,{toast:n}=VU();return{
copyToClipboard:async function(e){try{
await navigator.clipboard.writeText(e),t("Copied to the clipboard")}catch(PM){
console.error(PM.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(TM){
console.error("vite-plugin-css-injected-by-js",TM)}}();const XU={parse:e=>{
const t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object")
;return t},parseSafe(e,t){try{return XU.parse(e)}catch(pM){
return"function"==typeof t?t(pM):t}},stringify:e=>JSON.stringify(e)},GU=e=>{
if("string"==typeof e)return(e=>"string"==typeof e&&!!XU.parseSafe(e,!1))(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,n)=>{
if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}
return n}),2)}(e)}return e.toString()};const YU={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function KU(e,t){return ei(),oi("svg",YU,t[0]||(t[0]=[ui("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M5 11.988h14M12.006 5v14"},null,-1)]))}const JU={render:KU
},eQ=Object.freeze(Object.defineProperty({__proto__:null,default:JU,render:KU
},Symbol.toStringTag,{value:"Module"})),tQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function nQ(e,t){
return ei(),oi("svg",tQ,t[0]||(t[0]=[ui("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 rQ={render:nQ},oQ=Object.freeze(Object.defineProperty({
__proto__:null,default:rQ,render:nQ},Symbol.toStringTag,{value:"Module"})),aQ={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function iQ(e,t){
return ei(),oi("svg",aQ,t[0]||(t[0]=[ui("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M22 12H2m9.3-9.3L2 12l9.3 9.3"},null,-1)]))}const sQ={render:iQ
},lQ=Object.freeze(Object.defineProperty({__proto__:null,default:sQ,render:iQ
},Symbol.toStringTag,{value:"Module"})),cQ={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function uQ(e,t){
return ei(),oi("svg",cQ,t[0]||(t[0]=[ui("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 dQ={render:uQ
},pQ=Object.freeze(Object.defineProperty({__proto__:null,default:dQ,render:uQ
},Symbol.toStringTag,{value:"Module"})),hQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function fQ(e,t){
return ei(),oi("svg",hQ,t[0]||(t[0]=[ui("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 mQ={render:fQ},gQ=Object.freeze(Object.defineProperty({
__proto__:null,default:mQ,render:fQ},Symbol.toStringTag,{value:"Module"})),vQ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function bQ(e,t){return ei(),oi("svg",vQ,t[0]||(t[0]=[ui("path",{
d:"M16.4 6.8v5.6H7.6m0-5.6v10.4"},null,-1),ui("circle",{cx:"7.6",cy:"4.4",
r:"2.4"},null,-1),ui("circle",{cx:"7.6",cy:"19.6",r:"2.4"
},null,-1),ui("circle",{cx:"16.4",cy:"4.4",r:"2.4"},null,-1)]))}const yQ={
render:bQ},OQ=Object.freeze(Object.defineProperty({__proto__:null,default:yQ,
render:bQ},Symbol.toStringTag,{value:"Module"})),wQ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function xQ(e,t){return ei(),oi("svg",wQ,t[0]||(t[0]=[ui("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),ui("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),ui("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 kQ={render:xQ},SQ=Object.freeze(Object.defineProperty({
__proto__:null,default:kQ,render:xQ},Symbol.toStringTag,{value:"Module"})),_Q={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function EQ(e,t){
return ei(),oi("svg",_Q,t[0]||(t[0]=[ui("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 TQ={render:EQ
},CQ=Object.freeze(Object.defineProperty({__proto__:null,default:TQ,render:EQ
},Symbol.toStringTag,{value:"Module"})),AQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function PQ(e,t){
return ei(),oi("svg",AQ,t[0]||(t[0]=[ui("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",d:"m18 10-6 6-6-6"
},null,-1)]))}const DQ={render:PQ},RQ=Object.freeze(Object.defineProperty({
__proto__:null,default:DQ,render:PQ},Symbol.toStringTag,{value:"Module"})),$Q={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function NQ(e,t){return ei(),oi("svg",$Q,t[0]||(t[0]=[ui("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m14 18-6-6 6-6"},null,-1)]))}const MQ={render:NQ
},IQ=Object.freeze(Object.defineProperty({__proto__:null,default:MQ,render:NQ
},Symbol.toStringTag,{value:"Module"})),LQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function jQ(e,t){
return ei(),oi("svg",LQ,t[0]||(t[0]=[ui("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",d:"m9 18 6-6-6-6"
},null,-1)]))}const BQ={render:jQ},UQ=Object.freeze(Object.defineProperty({
__proto__:null,default:BQ,render:jQ},Symbol.toStringTag,{value:"Module"})),QQ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function FQ(e,t){return ei(),oi("svg",QQ,t[0]||(t[0]=[ui("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"m18 15-6-6-6 6"},null,-1)]))}const zQ={render:FQ
},qQ=Object.freeze(Object.defineProperty({__proto__:null,default:zQ,render:FQ
},Symbol.toStringTag,{value:"Module"})),HQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function VQ(e,t){
return ei(),oi("svg",HQ,t[0]||(t[0]=[ui("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 ZQ={render:VQ},WQ=Object.freeze(Object.defineProperty({
__proto__:null,default:ZQ,render:VQ},Symbol.toStringTag,{value:"Module"})),XQ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function GQ(e,t){return ei(),oi("svg",XQ,t[0]||(t[0]=[ui("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M18 6 6 18M6 6l12 12"},null,-1)]))}const YQ={render:GQ
},KQ=Object.freeze(Object.defineProperty({__proto__:null,default:YQ,render:GQ
},Symbol.toStringTag,{value:"Module"})),JQ={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function eF(e,t){
return ei(),oi("svg",JQ,t[0]||(t[0]=[ui("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 tF={render:eF},nF=Object.freeze(Object.defineProperty({
__proto__:null,default:tF,render:eF},Symbol.toStringTag,{value:"Module"})),rF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function oF(e,t){return ei(),oi("svg",rF,t[0]||(t[0]=[ui("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 aF={render:oF},iF=Object.freeze(Object.defineProperty({
__proto__:null,default:aF,render:oF},Symbol.toStringTag,{value:"Module"})),sF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function lF(e,t){return ei(),oi("svg",sF,t[0]||(t[0]=[ui("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 cF={render:lF},uF=Object.freeze(Object.defineProperty({
__proto__:null,default:cF,render:lF},Symbol.toStringTag,{value:"Module"})),dF={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function pF(e,t){
return ei(),oi("svg",dF,t[0]||(t[0]=[ui("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),ui("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 hF={
render:pF},fF=Object.freeze(Object.defineProperty({__proto__:null,default:hF,
render:pF},Symbol.toStringTag,{value:"Module"})),mF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function gF(e,t){return ei(),oi("svg",mF,t[0]||(t[0]=[ui("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),ui("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 vF={render:gF},bF=Object.freeze(Object.defineProperty({
__proto__:null,default:vF,render:gF},Symbol.toStringTag,{value:"Module"})),yF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function OF(e,t){return ei(),oi("svg",yF,t[0]||(t[0]=[ui("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 wF={render:OF},xF=Object.freeze(Object.defineProperty({
__proto__:null,default:wF,render:OF},Symbol.toStringTag,{value:"Module"})),kF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function SF(e,t){return ei(),oi("svg",kF,t[0]||(t[0]=[ui("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),ui("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 _F={render:SF},EF=Object.freeze(Object.defineProperty({
__proto__:null,default:_F,render:SF},Symbol.toStringTag,{value:"Module"})),TF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function CF(e,t){return ei(),oi("svg",TF,t[0]||(t[0]=[ui("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 AF={render:CF},PF=Object.freeze(Object.defineProperty({
__proto__:null,default:AF,render:CF},Symbol.toStringTag,{value:"Module"})),DF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function RF(e,t){return ei(),oi("svg",DF,t[0]||(t[0]=[ui("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 $F={render:RF},NF=Object.freeze(Object.defineProperty({
__proto__:null,default:$F,render:RF},Symbol.toStringTag,{value:"Module"})),MF={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function IF(e,t){return ei(),oi("svg",MF,t[0]||(t[0]=[ui("path",{
d:"M20.317 4.37a19.8 19.8 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.3 18.3 0 0 0-5.487 0 13 13 0 0 0-.617-1.25.08.08 0 0 0-.079-.037A19.7 19.7 0 0 0 3.677 4.37a.1.1 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.08.08 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.08.08 0 0 0 .084-.028 14 14 0 0 0 1.226-1.994.076.076 0 0 0-.041-.106 13 13 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10 10 0 0 0 .372-.292.07.07 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.07.07 0 0 1 .078.01q.181.149.373.292a.077.077 0 0 1-.006.127 12.3 12.3 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.08.08 0 0 0 .084.028 19.8 19.8 0 0 0 6.002-3.03.08.08 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.06.06 0 0 0-.031-.03M8.02 15.33c-1.182 0-2.157-1.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418m7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418"
},null,-1)]))}const LF={render:IF},jF=Object.freeze(Object.defineProperty({
__proto__:null,default:LF,render:IF},Symbol.toStringTag,{value:"Module"})),BF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function UF(e,t){return ei(),oi("svg",BF,t[0]||(t[0]=[ui("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),ui("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 QF={render:UF},FF=Object.freeze(Object.defineProperty({
__proto__:null,default:QF,render:UF},Symbol.toStringTag,{value:"Module"})),zF={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function qF(e,t){
return ei(),oi("svg",zF,t[0]||(t[0]=[ui("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),ui("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 HF={render:qF},VF=Object.freeze(Object.defineProperty({__proto__:null,
default:HF,render:qF},Symbol.toStringTag,{value:"Module"})),ZF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function WF(e,t){return ei(),oi("svg",ZF,t[0]||(t[0]=[ui("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 XF={render:WF},GF=Object.freeze(Object.defineProperty({
__proto__:null,default:XF,render:WF},Symbol.toStringTag,{value:"Module"})),YF={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function KF(e,t){return ei(),oi("svg",YF,t[0]||(t[0]=[ui("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),ui("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 JF={render:KF},ez=Object.freeze(Object.defineProperty({
__proto__:null,default:JF,render:KF},Symbol.toStringTag,{value:"Module"})),tz={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function nz(e,t){return ei(),oi("svg",tz,t[0]||(t[0]=[ui("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 rz={render:nz},oz=Object.freeze(Object.defineProperty({
__proto__:null,default:rz,render:nz},Symbol.toStringTag,{value:"Module"})),az={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function iz(e,t){return ei(),oi("svg",az,t[0]||(t[0]=[ui("path",{
d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
},null,-1)]))}const sz={render:iz},lz=Object.freeze(Object.defineProperty({
__proto__:null,default:sz,render:iz},Symbol.toStringTag,{value:"Module"})),cz={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function uz(e,t){return ei(),oi("svg",cz,t[0]||(t[0]=[ui("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),ui("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 dz={render:uz},pz=Object.freeze(Object.defineProperty({__proto__:null,
default:dz,render:uz},Symbol.toStringTag,{value:"Module"})),hz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function fz(e,t){return ei(),oi("svg",hz,t[0]||(t[0]=[ui("path",{
d:"M12 0a12.24 12.24 0 0 0-8.53 3.65A11.85 11.85 0 0 0 0 12.21 11.78 11.78 0 0 0 11.8 24h.2a12.11 12.11 0 0 0 12-12.21A11.77 11.77 0 0 0 12 0m-1.5 16.54A1.48 1.48 0 0 1 12 15a1.53 1.53 0 0 1 1.52 1.47A1.47 1.47 0 0 1 12.05 18a1.53 1.53 0 0 1-1.55-1.46m.5-4v-6a1 1 0 0 1 2 0v6a1 1 0 0 1-2 0"
},null,-1)]))}const mz={render:fz},gz=Object.freeze(Object.defineProperty({
__proto__:null,default:mz,render:fz},Symbol.toStringTag,{value:"Module"})),vz={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function bz(e,t){return ei(),oi("svg",vz,t[0]||(t[0]=[ui("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 yz={render:bz},Oz=Object.freeze(Object.defineProperty({
__proto__:null,default:yz,render:bz},Symbol.toStringTag,{value:"Module"})),wz={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function xz(e,t){return ei(),oi("svg",wz,t[0]||(t[0]=[ui("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M6.4 4H20v13.59M4 20 20 4"},null,-1)]))}const kz={render:xz
},Sz=Object.freeze(Object.defineProperty({__proto__:null,default:kz,render:xz
},Symbol.toStringTag,{value:"Module"})),_z={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function Ez(e,t){
return ei(),oi("svg",_z,t[0]||(t[0]=[ui("path",{stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",
d:"M4 6h16M7.556 12h8.888m-6.222 6h3.556"},null,-1)]))}const Tz={render:Ez
},Cz=Object.freeze(Object.defineProperty({__proto__:null,default:Tz,render:Ez
},Symbol.toStringTag,{value:"Module"})),Az={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function Pz(e,t){
return ei(),oi("svg",Az,t[0]||(t[0]=[ui("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 Dz={render:Pz},Rz=Object.freeze(Object.defineProperty({
__proto__:null,default:Dz,render:Pz},Symbol.toStringTag,{value:"Module"})),$z={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 1024 1024"}
;function Nz(e,t){return ei(),oi("svg",$z,t[0]||(t[0]=[ui("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 Mz={render:Nz},Iz=Object.freeze(Object.defineProperty({
__proto__:null,default:Mz,render:Nz},Symbol.toStringTag,{value:"Module"})),Lz={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function jz(e,t){return ei(),oi("svg",Lz,t[0]||(t[0]=[ui("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 Bz={render:jz},Uz=Object.freeze(Object.defineProperty({
__proto__:null,default:Bz,render:jz},Symbol.toStringTag,{value:"Module"})),Qz={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Fz(e,t){return ei(),oi("svg",Qz,t[0]||(t[0]=[ui("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 zz={render:Fz},qz=Object.freeze(Object.defineProperty({
__proto__:null,default:zz,render:Fz},Symbol.toStringTag,{value:"Module"})),Hz={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function Vz(e,t){return ei(),oi("svg",Hz,t[0]||(t[0]=[ui("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 Zz={render:Vz},Wz=Object.freeze(Object.defineProperty({
__proto__:null,default:Zz,render:Vz},Symbol.toStringTag,{value:"Module"})),Xz={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function Gz(e,t){return ei(),oi("svg",Xz,t[0]||(t[0]=[ui("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),ui("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 Yz={render:Gz},Kz=Object.freeze(Object.defineProperty({
__proto__:null,default:Yz,render:Gz},Symbol.toStringTag,{value:"Module"})),Jz={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function eq(e,t){return ei(),oi("svg",Jz,t[0]||(t[0]=[ui("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 tq={render:eq},nq=Object.freeze(Object.defineProperty({
__proto__:null,default:tq,render:eq},Symbol.toStringTag,{value:"Module"})),rq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function oq(e,t){return ei(),oi("svg",rq,t[0]||(t[0]=[ui("path",{
d:"M12.9 6.8v6.1h4.7"},null,-1),ui("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 aq={render:oq},iq=Object.freeze(Object.defineProperty({
__proto__:null,default:aq,render:oq},Symbol.toStringTag,{value:"Module"})),sq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function lq(e,t){return ei(),oi("svg",sq,t[0]||(t[0]=[ui("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 cq={render:lq},uq=Object.freeze(Object.defineProperty({
__proto__:null,default:cq,render:lq},Symbol.toStringTag,{value:"Module"})),dq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function pq(e,t){return ei(),oi("svg",dq,t[0]||(t[0]=[ui("path",{
d:"M12 10.67v7.98M14.66 16 12 18.64 9.34 16"},null,-1),ui("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),ui("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 hq={render:pq},fq=Object.freeze(Object.defineProperty({
__proto__:null,default:hq,render:pq},Symbol.toStringTag,{value:"Module"})),mq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function gq(e,t){return ei(),oi("svg",mq,t[0]||(t[0]=[ui("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),ui("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),ui("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 vq={render:gq},bq=Object.freeze(Object.defineProperty({__proto__:null,
default:vq,render:gq},Symbol.toStringTag,{value:"Module"})),yq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function Oq(e,t){return ei(),oi("svg",yq,t[0]||(t[0]=[ui("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),ui("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 wq={render:Oq},xq=Object.freeze(Object.defineProperty({
__proto__:null,default:wq,render:Oq},Symbol.toStringTag,{value:"Module"})),kq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function Sq(e,t){return ei(),oi("svg",kq,t[0]||(t[0]=[ui("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 _q={render:Sq},Eq=Object.freeze(Object.defineProperty({
__proto__:null,default:_q,render:Sq},Symbol.toStringTag,{value:"Module"})),Tq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Cq(e,t){return ei(),oi("svg",Tq,t[0]||(t[0]=[ui("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 Aq={render:Cq},Pq=Object.freeze(Object.defineProperty({
__proto__:null,default:Aq,render:Cq},Symbol.toStringTag,{value:"Module"})),Dq={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function Rq(e,t){
return ei(),oi("svg",Dq,t[0]||(t[0]=[ui("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 $q={render:Rq},Nq=Object.freeze(Object.defineProperty({
__proto__:null,default:$q,render:Rq},Symbol.toStringTag,{value:"Module"})),Mq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function Iq(e,t){return ei(),oi("svg",Mq,t[0]||(t[0]=[ui("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 Lq={render:Iq},jq=Object.freeze(Object.defineProperty({
__proto__:null,default:Lq,render:Iq},Symbol.toStringTag,{value:"Module"})),Bq={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"}
;function Uq(e,t){return ei(),oi("svg",Bq,t[0]||(t[0]=[ui("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M7 2a2 2 0 0 0-2 2v1h4V4a2 2 0 0 0-2-2M3 4v1a1.5 1.5 0 0 0-1.5 1.5v6A1.5 1.5 0 0 0 3 14h8a1.5 1.5 0 0 0 1.5-1.5v-6A1.5 1.5 0 0 0 11 5V4a4 4 0 1 0-8 0m4 6.75a1.25 1.25 0 1 0 0-2.5 1.25 1.25 0 0 0 0 2.5",
"clip-rule":"evenodd"},null,-1)]))}const Qq={render:Uq
},Fq=Object.freeze(Object.defineProperty({__proto__:null,default:Qq,render:Uq
},Symbol.toStringTag,{value:"Module"})),zq={xmlns:"http://www.w3.org/2000/svg",
fill:"currentColor",viewBox:"0 0 593 593"};function qq(e,t){
return ei(),oi("svg",zq,t[0]||(t[0]=[ui("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 Hq={render:qq},Vq=Object.freeze(Object.defineProperty({
__proto__:null,default:Hq,render:qq},Symbol.toStringTag,{value:"Module"})),Zq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 662 662"}
;function Wq(e,t){return ei(),oi("svg",Zq,t[0]||(t[0]=[ui("path",{
"fill-rule":"evenodd",
d:"M331 0a331 331 0 1 1 0 662 331 331 0 0 1 0-662m148.5 109 .6.9a187 187 0 1 1-297.6-.9 267 267 0 1 0 297 0"
},null,-1)]))}const Xq={render:Wq},Gq=Object.freeze(Object.defineProperty({
__proto__:null,default:Xq,render:Wq},Symbol.toStringTag,{value:"Module"})),Yq={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 620 620"}
;function Kq(e,t){return ei(),oi("svg",Yq,t[0]||(t[0]=[ui("path",{
d:"M-.653 309.29c-.078 82.272 31.848 159.735 89.739 218.178l.283.283c122.379 121.247 319.824 121.184 440.16-.283 119.967-121.1 119.409-316.933-.998-437.339l-.99-.99C468.681 30.845 390.716-1.017 307.893-.67c-82.83.354-160.443 32.994-218.814 91.79C31.209 149.555-.724 227.025-.653 309.29m469.271-160.789.778.778c87.9 87.9 88.325 231.005.707 319.33-77.753 78.46-199.786 87.412-288.959 26.862l198.513-198.513-.007 166.361 83.68-.07v-306.22H157.11l-.008 83.6h160.584L121.994 436.323c-59.347-87.689-50.536-208.59 26.51-286.343 87.836-88.686 231.436-89.31 320.106-1.486Z"
},null,-1)]))}const Jq={render:Kq},eH=Object.freeze(Object.defineProperty({
__proto__:null,default:Jq,render:Kq},Symbol.toStringTag,{value:"Module"})),tH={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 642 642"}
;function nH(e,t){return ei(),oi("svg",tH,t[0]||(t[0]=[ui("path",{
d:"M321 0a321 321 0 1 1 0 642 321 321 0 0 1 0-642m51.3 63L321 189.5 269.7 63l1 136.5-95.8-97.2L228 228l-125.7-53.1 97.2 95.8-136.5-1L189.5 321 63 372.3l136.5-1-97.2 95.8 125.7-53-53.1 125.6 95.8-97.2-1 136.5L321 452.5 372.3 579l-1-136.5 95.8 97.2-53-125.7 125.6 53.1-97.2-95.8 136.5 1L452.5 321 579 269.7l-136.5 1 97.2-95.8L414 228l53.1-125.7-95.8 97.2z"
},null,-1)]))}const rH={render:nH},oH=Object.freeze(Object.defineProperty({
__proto__:null,default:rH,render:nH},Symbol.toStringTag,{value:"Module"})),aH={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 620 620"}
;function iH(e,t){return ei(),oi("svg",aH,t[0]||(t[0]=[ui("path",{
d:"M529.2 90.8A310 310 0 1 0 90.8 529.2 310 310 0 0 0 529.2 90.8M122.4 498.2c-54.9-55-15.4-183.5 88.2-287 103.6-103.7 232.1-143.2 287-88.3 54.9 54.8 15.4 183.4-88.3 287-103.5 103.6-232 143.1-286.9 88.3m261.8-262.7A104.7 104.7 0 1 1 236 383.7a104.7 104.7 0 0 1 148.2-148.2"
},null,-1)]))}const sH={render:iH},lH=Object.freeze(Object.defineProperty({
__proto__:null,default:sH,render:iH},Symbol.toStringTag,{value:"Module"})),cH={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"}
;function uH(e,t){return ei(),oi("svg",cH,t[0]||(t[0]=[ui("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M8.75 0a.75.75 0 0 1 .75.75v1.5a.75.75 0 0 1-1.5 0V.75A.75.75 0 0 1 8.75 0m4.03 2.28a.75.75 0 0 0-1.06-1.06l-1 1a.75.75 0 0 0 1.06 1.06zM9.707 5.707a1 1 0 0 0-1.414-1.414l-8 8a1 1 0 1 0 1.414 1.414zM11.75 4.5a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5zm-1.53 2.22a.75.75 0 0 1 1.06 0l1 1a.75.75 0 0 1-1.06 1.06l-1-1a.75.75 0 0 1 0-1.06m-3.94-5a.75.75 0 0 0-1.06 1.06l1 1a.75.75 0 0 0 1.06-1.06z",
"clip-rule":"evenodd"},null,-1)]))}const dH={render:uH
},pH=Object.freeze(Object.defineProperty({__proto__:null,default:dH,render:uH
},Symbol.toStringTag,{value:"Module"})),hH={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function fH(e,t){
return ei(),oi("svg",hH,t[0]||(t[0]=[ui("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M22 6.8H2m20 10.4H2"},null,-1)]))}const mH={render:fH
},gH=Object.freeze(Object.defineProperty({__proto__:null,default:mH,render:fH
},Symbol.toStringTag,{value:"Module"})),vH={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function bH(e,t){
return ei(),oi("svg",vH,t[0]||(t[0]=[ui("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),ui("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 yH={render:bH},OH=Object.freeze(Object.defineProperty({
__proto__:null,default:yH,render:bH},Symbol.toStringTag,{value:"Module"})),wH={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 14 14"}
;function xH(e,t){return ei(),oi("svg",wH,t[0]||(t[0]=[ui("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M11.821.098a1.62 1.62 0 0 1 2.077 2.076l-3.574 10.712a1.62 1.62 0 0 1-1.168 1.069 1.6 1.6 0 0 1-1.52-.434l-1.918-1.909-2.014 1.042a.5.5 0 0 1-.73-.457l.083-3.184 7.045-5.117a.625.625 0 1 0-.735-1.012L2.203 8.088l-1.73-1.73a1.6 1.6 0 0 1-.437-1.447 1.62 1.62 0 0 1 1.069-1.238h.003z",
"clip-rule":"evenodd"},null,-1)]))}const kH={render:xH
},SH=Object.freeze(Object.defineProperty({__proto__:null,default:kH,render:xH
},Symbol.toStringTag,{value:"Module"})),_H={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function EH(e,t){
return ei(),oi("svg",_H,t[0]||(t[0]=[ui("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 TH={render:EH},CH=Object.freeze(Object.defineProperty({
__proto__:null,default:TH,render:EH},Symbol.toStringTag,{value:"Module"})),AH={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function PH(e,t){return ei(),oi("svg",AH,t[0]||(t[0]=[ui("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 DH={render:PH},RH=Object.freeze(Object.defineProperty({
__proto__:null,default:DH,render:PH},Symbol.toStringTag,{value:"Module"})),$H={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 12 12"}
;function NH(e,t){return ei(),oi("svg",$H,t[0]||(t[0]=[ui("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M11 4.3c-.5-.7-1.7-2.2-2.4-2.6C7.9 1.2 7 1 5.9 1s-2.6.5-3.5 1.5C1.5 3.4.9 4.7.9 6s.5 2.6 1.5 3.5c.9.9 2.2 1.5 3.6 1.5s2.6-.6 3.6-1.5c.5-.5.8-.9 1-1.6"
},null,-1),ui("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",d:"M11 1v3.3H7.6"},null,-1)]))}const MH={render:NH
},IH=Object.freeze(Object.defineProperty({__proto__:null,default:MH,render:NH
},Symbol.toStringTag,{value:"Module"})),LH={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function jH(e,t){
return ei(),oi("svg",LH,t[0]||(t[0]=[ui("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 BH={render:jH},UH=Object.freeze(Object.defineProperty({
__proto__:null,default:BH,render:jH},Symbol.toStringTag,{value:"Module"})),QH={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function FH(e,t){return ei(),oi("svg",QH,t[0]||(t[0]=[ui("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 zH={render:FH},qH=Object.freeze(Object.defineProperty({
__proto__:null,default:zH,render:FH},Symbol.toStringTag,{value:"Module"})),HH={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function VH(e,t){return ei(),oi("svg",HH,t[0]||(t[0]=[ui("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 ZH={
render:VH},WH=Object.freeze(Object.defineProperty({__proto__:null,default:ZH,
render:VH},Symbol.toStringTag,{value:"Module"})),XH={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function GH(e,t){return ei(),oi("svg",XH,t[0]||(t[0]=[ui("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),ui("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),ui("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]))}const YH={render:GH
},KH=Object.freeze(Object.defineProperty({__proto__:null,default:YH,render:GH
},Symbol.toStringTag,{value:"Module"})),JH={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function eV(e,t){
return ei(),oi("svg",JH,t[0]||(t[0]=[ui("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 tV={render:eV},nV=Object.freeze(Object.defineProperty({
__proto__:null,default:tV,render:eV},Symbol.toStringTag,{value:"Module"})),rV={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function oV(e,t){return ei(),oi("svg",rV,t[0]||(t[0]=[ui("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),ui("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 aV={render:oV
},iV=Object.freeze(Object.defineProperty({__proto__:null,default:aV,render:oV
},Symbol.toStringTag,{value:"Module"})),sV={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function lV(e,t){
return ei(),oi("svg",sV,t[0]||(t[0]=[ui("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M2 5.4h20M2 12h20M2 18.6h13.3"},null,-1)]))}const cV={render:lV
},uV=Object.freeze(Object.defineProperty({__proto__:null,default:cV,render:lV
},Symbol.toStringTag,{value:"Module"})),dV={xmlns:"http://www.w3.org/2000/svg",
viewBox:"0 0 24 24"};function pV(e,t){
return ei(),oi("svg",dV,t[0]||(t[0]=[ui("path",{fill:"none",
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M13 15h5M6 9l4 3-4 3"},null,-1),ui("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 hV={render:pV},fV=Object.freeze(Object.defineProperty({
__proto__:null,default:hV,render:pV},Symbol.toStringTag,{value:"Module"})),mV={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function gV(e,t){return ei(),oi("svg",mV,t[0]||(t[0]=[ui("path",{
fill:"currentColor","fill-rule":"evenodd",
d:"M14.333 22.94c-.848 0-1.604-.5-1.96-1.251-1.783-3.772-3.568-6.116-6.2-7.75H5V2.69h1.779l6.5-1.5h7.82a1.375 1.375 0 0 1 0 2.75h-.5a.625.625 0 1 0 0 1.25h1.5a1.375 1.375 0 0 1 0 2.75h-.5a.625.625 0 1 0 0 1.25h1a1.375 1.375 0 0 1 0 2.75h-1a.625.625 0 0 0 0 1.25h1a1.375 1.375 0 0 1 0 2.75h-7.834c.618 1.618 1.2 3.36 1.497 4.743.276 1.28-.77 2.258-1.93 2.258ZM3.5 14.5a1 1 0 0 1-1 1H1a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1h1.5a1 1 0 0 1 1 1z",
"clip-rule":"evenodd"},null,-1)]))}const vV={render:gV
},bV=Object.freeze(Object.defineProperty({__proto__:null,default:vV,render:gV
},Symbol.toStringTag,{value:"Module"})),yV={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function OV(e,t){
return ei(),oi("svg",yV,t[0]||(t[0]=[ui("path",{fill:"currentColor",
"fill-rule":"evenodd",
d:"M14.333.375c-.848 0-1.604.5-1.96 1.251-1.783 3.772-3.568 6.116-6.2 7.749H5v11.25h1.779l6.5 1.5h7.82a1.375 1.375 0 0 0 0-2.75h-.5a.625.625 0 1 1 0-1.25h1.5a1.375 1.375 0 0 0 0-2.75h-.5a.625.625 0 1 1 0-1.25h1a1.375 1.375 0 0 0 0-2.75h-1a.625.625 0 1 1 0-1.25h1a1.375 1.375 0 0 0 0-2.75h-7.834c.618-1.617 1.2-3.359 1.497-4.742.276-1.28-.77-2.258-1.93-2.258ZM3.5 8.815a1 1 0 0 0-1-1H1a1 1 0 0 0-1 1v12.5a1 1 0 0 0 1 1h1.5a1 1 0 0 0 1-1z",
"clip-rule":"evenodd"},null,-1)]))}const wV={render:OV
},xV=Object.freeze(Object.defineProperty({__proto__:null,default:wV,render:OV
},Symbol.toStringTag,{value:"Module"})),kV={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function SV(e,t){
return ei(),oi("svg",kV,t[0]||(t[0]=[ui("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 _V={render:SV},EV=Object.freeze(Object.defineProperty({
__proto__:null,default:_V,render:SV},Symbol.toStringTag,{value:"Module"})),TV={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function CV(e,t){return ei(),oi("svg",TV,t[0]||(t[0]=[ui("path",{
d:"M19.5 9.5h-.75V6.75A6.75 6.75 0 0 0 5.53 4.81a1.25 1.25 0 0 0 2.4.72 4.25 4.25 0 0 1 8.32 1.22V9a.5.5 0 0 1-.5.5H4.5a2 2 0 0 0-2 2V22a2 2 0 0 0 2 2h15a2 2 0 0 0 2-2V11.5a2 2 0 0 0-2-2m-7.5 9a2 2 0 1 1 2-2 2 2 0 0 1-2 2"
},null,-1)]))}const AV={render:CV},PV=Object.freeze(Object.defineProperty({
__proto__:null,default:AV,render:CV},Symbol.toStringTag,{value:"Module"})),DV={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function RV(e,t){return ei(),oi("svg",DV,t[0]||(t[0]=[ui("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 $V={render:RV},NV=Object.freeze(Object.defineProperty({
__proto__:null,default:$V,render:RV},Symbol.toStringTag,{value:"Module"})),MV={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function IV(e,t){return ei(),oi("svg",MV,t[0]||(t[0]=[ui("path",{
d:"M12 0a12 12 0 1 0 12 12A12 12 0 0 0 12 0m4.91 10.41A1 1 0 0 1 16 11h-2.25a.25.25 0 0 0-.25.25v7.25a1.5 1.5 0 0 1-3 0v-7.25a.25.25 0 0 0-.25-.25H8a1 1 0 0 1-.75-1.66l4-4.5a1 1 0 0 1 1.5 0l4 4.5a1 1 0 0 1 .16 1.07"
},null,-1)]))}const LV={render:IV},jV=Object.freeze(Object.defineProperty({
__proto__:null,default:LV,render:IV},Symbol.toStringTag,{value:"Module"})),BV={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function UV(e,t){return ei(),oi("svg",BV,t[0]||(t[0]=[ui("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 QV={render:UV
},FV=Object.freeze(Object.defineProperty({__proto__:null,default:QV,render:UV
},Symbol.toStringTag,{value:"Module"})),zV={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function qV(e,t){
return ei(),oi("svg",zV,t[0]||(t[0]=[ui("path",{
d:"M3.5 22.2c.3-4.5 4-8 8.5-8s8.2 3.5 8.5 8z"},null,-1),ui("circle",{cx:"12",
cy:"6.2",r:"4.5"},null,-1)]))}const HV={render:qV
},VV=Object.freeze(Object.defineProperty({__proto__:null,default:HV,render:qV
},Symbol.toStringTag,{value:"Module"})),ZV={xmlns:"http://www.w3.org/2000/svg",
fill:"none",stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",viewBox:"0 0 24 24"};function WV(e,t){
return ei(),oi("svg",ZV,t[0]||(t[0]=[ui("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 XV={render:WV},GV=Object.freeze(Object.defineProperty({
__proto__:null,default:XV,render:WV},Symbol.toStringTag,{value:"Module"})),YV={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function KV(e,t){return ei(),oi("svg",YV,t[0]||(t[0]=[ui("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),ui("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 JV={render:KV},eZ=Object.freeze(Object.defineProperty({
__proto__:null,default:JV,render:KV},Symbol.toStringTag,{value:"Module"})),tZ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function nZ(e,t){return ei(),oi("svg",tZ,t[0]||(t[0]=[ui("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 rZ={render:nZ},oZ=Object.freeze(Object.defineProperty({
__proto__:null,default:rZ,render:nZ},Symbol.toStringTag,{value:"Module"})),aZ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",
"stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24"}
;function iZ(e,t){return ei(),oi("svg",aZ,t[0]||(t[0]=[ui("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 sZ={render:iZ},lZ=Object.freeze(Object.defineProperty({
__proto__:null,default:sZ,render:iZ},Symbol.toStringTag,{value:"Module"})),cZ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function uZ(e,t){return ei(),oi("svg",cZ,t[0]||(t[0]=[ui("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 dZ={render:uZ},pZ=Object.freeze(Object.defineProperty({
__proto__:null,default:dZ,render:uZ},Symbol.toStringTag,{value:"Module"})),hZ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function fZ(e,t){return ei(),oi("svg",hZ,t[0]||(t[0]=[ui("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 mZ={render:fZ},gZ=Object.freeze(Object.defineProperty({
__proto__:null,default:mZ,render:fZ},Symbol.toStringTag,{value:"Module"})),vZ={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function bZ(e,t){return ei(),oi("svg",vZ,t[0]||(t[0]=[ui("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 yZ={render:bZ
},OZ=Object.freeze(Object.defineProperty({__proto__:null,default:yZ,render:bZ
},Symbol.toStringTag,{value:"Module"})),wZ={xmlns:"http://www.w3.org/2000/svg",
fill:"currentColor",viewBox:"0 0 24 24"};function xZ(e,t){
return ei(),oi("svg",wZ,t[0]||(t[0]=[ui("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 kZ={render:xZ},SZ=Object.freeze(Object.defineProperty({
__proto__:null,default:kZ,render:xZ},Symbol.toStringTag,{value:"Module"})),_Z={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function EZ(e,t){return ei(),oi("svg",_Z,t[0]||(t[0]=[ui("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 TZ={render:EZ},CZ=Object.freeze(Object.defineProperty({
__proto__:null,default:TZ,render:EZ},Symbol.toStringTag,{value:"Module"})),AZ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function PZ(e,t){return ei(),oi("svg",AZ,t[0]||(t[0]=[ui("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),ui("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 DZ={render:PZ},RZ=Object.freeze(Object.defineProperty({
__proto__:null,default:DZ,render:PZ},Symbol.toStringTag,{value:"Module"})),$Z={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function NZ(e,t){return ei(),oi("svg",$Z,t[0]||(t[0]=[ui("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 MZ={render:NZ},IZ=Object.freeze(Object.defineProperty({
__proto__:null,default:MZ,render:NZ},Symbol.toStringTag,{value:"Module"})),LZ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function jZ(e,t){return ei(),oi("svg",LZ,t[0]||(t[0]=[ui("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 BZ={render:jZ},UZ=Object.freeze(Object.defineProperty({
__proto__:null,default:BZ,render:jZ},Symbol.toStringTag,{value:"Module"})),QZ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function FZ(e,t){return ei(),oi("svg",QZ,t[0]||(t[0]=[ui("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 zZ={render:FZ},qZ=Object.freeze(Object.defineProperty({
__proto__:null,default:zZ,render:FZ},Symbol.toStringTag,{value:"Module"})),HZ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function VZ(e,t){return ei(),oi("svg",HZ,t[0]||(t[0]=[ui("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 ZZ={render:VZ},WZ=Object.freeze(Object.defineProperty({
__proto__:null,default:ZZ,render:VZ},Symbol.toStringTag,{value:"Module"})),XZ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function GZ(e,t){return ei(),oi("svg",XZ,t[0]||(t[0]=[ui("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 YZ={render:GZ},KZ=Object.freeze(Object.defineProperty({
__proto__:null,default:YZ,render:GZ},Symbol.toStringTag,{value:"Module"})),JZ={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function eW(e,t){return ei(),oi("svg",JZ,t[0]||(t[0]=[ui("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 tW={render:eW},nW=Object.freeze(Object.defineProperty({
__proto__:null,default:tW,render:eW},Symbol.toStringTag,{value:"Module"})),rW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function oW(e,t){return ei(),oi("svg",rW,t[0]||(t[0]=[ui("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 aW={render:oW},iW=Object.freeze(Object.defineProperty({
__proto__:null,default:aW,render:oW},Symbol.toStringTag,{value:"Module"})),sW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function lW(e,t){return ei(),oi("svg",sW,t[0]||(t[0]=[ui("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),ui("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),ui("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 cW={render:lW},uW=Object.freeze(Object.defineProperty({
__proto__:null,default:cW,render:lW},Symbol.toStringTag,{value:"Module"})),dW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function pW(e,t){return ei(),oi("svg",dW,t[0]||(t[0]=[ui("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 hW={render:pW},fW=Object.freeze(Object.defineProperty({
__proto__:null,default:hW,render:pW},Symbol.toStringTag,{value:"Module"})),mW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function gW(e,t){return ei(),oi("svg",mW,t[0]||(t[0]=[ui("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),ui("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 vW={render:gW},bW=Object.freeze(Object.defineProperty({
__proto__:null,default:vW,render:gW},Symbol.toStringTag,{value:"Module"})),yW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function OW(e,t){return ei(),oi("svg",yW,t[0]||(t[0]=[ui("path",{
d:"M0 0h61.4L0 60.4zm0 128L128 0H64.6L0 63.7zm128 0L64.6 66.6 3.3 128z"
},null,-1)]))}const wW={render:OW},xW=Object.freeze(Object.defineProperty({
__proto__:null,default:wW,render:OW},Symbol.toStringTag,{value:"Module"})),kW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function SW(e,t){return ei(),oi("svg",kW,t[0]||(t[0]=[ui("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),ui("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 _W={render:SW},EW=Object.freeze(Object.defineProperty({
__proto__:null,default:_W,render:SW},Symbol.toStringTag,{value:"Module"})),TW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function CW(e,t){return ei(),oi("svg",TW,t[0]||(t[0]=[ui("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),ui("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 AW={render:CW},PW=Object.freeze(Object.defineProperty({
__proto__:null,default:AW,render:CW},Symbol.toStringTag,{value:"Module"})),DW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function RW(e,t){return ei(),oi("svg",DW,t[0]||(t[0]=[ui("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 $W={render:RW},NW=Object.freeze(Object.defineProperty({
__proto__:null,default:$W,render:RW},Symbol.toStringTag,{value:"Module"})),MW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function IW(e,t){return ei(),oi("svg",MW,t[0]||(t[0]=[ui("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 LW={render:IW},jW=Object.freeze(Object.defineProperty({
__proto__:null,default:LW,render:IW},Symbol.toStringTag,{value:"Module"})),BW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 121 121"}
;function UW(e,t){return ei(),oi("svg",BW,t[0]||(t[0]=[ui("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 QW={render:UW
},FW=Object.freeze(Object.defineProperty({__proto__:null,default:QW,render:UW
},Symbol.toStringTag,{value:"Module"})),zW={xmlns:"http://www.w3.org/2000/svg",
fill:"currentColor",viewBox:"0 0 24 24"};function qW(e,t){
return ei(),oi("svg",zW,t[0]||(t[0]=[ui("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 HW={render:qW},VW=Object.freeze(Object.defineProperty({
__proto__:null,default:HW,render:qW},Symbol.toStringTag,{value:"Module"})),ZW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function WW(e,t){return ei(),oi("svg",ZW,t[0]||(t[0]=[ui("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),ui("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 XW={render:WW},GW=Object.freeze(Object.defineProperty({
__proto__:null,default:XW,render:WW},Symbol.toStringTag,{value:"Module"})),YW={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function KW(e,t){return ei(),oi("svg",YW,t[0]||(t[0]=[ui("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 JW={render:KW},eX=Object.freeze(Object.defineProperty({
__proto__:null,default:JW,render:KW},Symbol.toStringTag,{value:"Module"})),tX={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function nX(e,t){return ei(),oi("svg",tX,t[0]||(t[0]=[ui("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 rX={render:nX},oX=Object.freeze(Object.defineProperty({
__proto__:null,default:rX,render:nX},Symbol.toStringTag,{value:"Module"})),aX={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 17 17"}
;function iX(e,t){return ei(),oi("svg",aX,t[0]||(t[0]=[ui("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 sX={render:iX},lX=Object.freeze(Object.defineProperty({
__proto__:null,default:sX,render:iX},Symbol.toStringTag,{value:"Module"})),cX={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 128 128"}
;function uX(e,t){return ei(),oi("svg",cX,t[0]||(t[0]=[ui("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 dX={render:uX},pX=Object.freeze(Object.defineProperty({
__proto__:null,default:dX,render:uX},Symbol.toStringTag,{value:"Module"})),hX={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function fX(e,t){return ei(),oi("svg",hX,t[0]||(t[0]=[ui("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 mX={render:fX},gX=Object.freeze(Object.defineProperty({
__proto__:null,default:mX,render:fX},Symbol.toStringTag,{value:"Module"})),vX={
xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"};function bX(e,t){
return ei(),oi("svg",vX,t[0]||(t[0]=[ui("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 yX={render:bX},OX=Object.freeze(Object.defineProperty({
__proto__:null,default:yX,render:bX},Symbol.toStringTag,{value:"Module"})),wX={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function xX(e,t){return ei(),oi("svg",wX,t[0]||(t[0]=[ui("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 kX={render:xX},SX=Object.freeze(Object.defineProperty({
__proto__:null,default:kX,render:xX},Symbol.toStringTag,{value:"Module"})),_X={
xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 24 24"}
;function EX(e,t){return ei(),oi("svg",_X,t[0]||(t[0]=[ui("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 TX={render:EX},CX=Object.freeze(Object.defineProperty({
__proto__:null,default:TX,render:EX},Symbol.toStringTag,{value:"Module"})),AX={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function PX(e,t){return ei(),oi("svg",AX,t[0]||(t[0]=[ui("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 DX={render:PX
},RX=Object.freeze(Object.defineProperty({__proto__:null,default:DX,render:PX
},Symbol.toStringTag,{value:"Module"})),$X={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function NX(e,t){
return ei(),oi("svg",$X,t[0]||(t[0]=[mi('<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 MX={render:NX},IX=Object.freeze(Object.defineProperty({__proto__:null,
default:MX,render:NX},Symbol.toStringTag,{value:"Module"})),LX={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function jX(e,t){return ei(),oi("svg",LX,t[0]||(t[0]=[ui("path",{
fill:"#512BD4",d:"M22 2H2v20h20z"},null,-1),ui("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 BX={render:jX},UX=Object.freeze(Object.defineProperty({
__proto__:null,default:BX,render:jX},Symbol.toStringTag,{value:"Module"})),QX={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function FX(e,t){
return ei(),oi("svg",QX,t[0]||(t[0]=[mi('<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 zX={render:FX},qX=Object.freeze(Object.defineProperty({__proto__:null,
default:zX,render:FX},Symbol.toStringTag,{value:"Module"})),HX={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function VX(e,t){return ei(),oi("svg",HX,t[0]||(t[0]=[ui("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 ZX={render:VX},WX=Object.freeze(Object.defineProperty({
__proto__:null,default:ZX,render:VX},Symbol.toStringTag,{value:"Module"})),XX={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function GX(e,t){return ei(),oi("svg",XX,t[0]||(t[0]=[ui("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 YX={render:GX},KX=Object.freeze(Object.defineProperty({
__proto__:null,default:YX,render:GX},Symbol.toStringTag,{value:"Module"})),JX={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function eG(e,t){return ei(),oi("svg",JX,t[0]||(t[0]=[ui("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 tG={render:eG},nG=Object.freeze(Object.defineProperty({
__proto__:null,default:tG,render:eG},Symbol.toStringTag,{value:"Module"})),rG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function oG(e,t){return ei(),oi("svg",rG,t[0]||(t[0]=[ui("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),ui("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 aG={render:oG},iG=Object.freeze(Object.defineProperty({
__proto__:null,default:aG,render:oG},Symbol.toStringTag,{value:"Module"})),sG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function lG(e,t){return ei(),oi("svg",sG,t[0]||(t[0]=[ui("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),ui("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 cG={render:lG},uG=Object.freeze(Object.defineProperty({
__proto__:null,default:cG,render:lG},Symbol.toStringTag,{value:"Module"})),dG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function pG(e,t){return ei(),oi("svg",dG,t[0]||(t[0]=[ui("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 hG={render:pG},fG=Object.freeze(Object.defineProperty({
__proto__:null,default:hG,render:pG},Symbol.toStringTag,{value:"Module"})),mG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function gG(e,t){
return ei(),oi("svg",mG,t[0]||(t[0]=[mi('<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 vG={render:gG},bG=Object.freeze(Object.defineProperty({__proto__:null,
default:vG,render:gG},Symbol.toStringTag,{value:"Module"})),yG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function OG(e,t){return ei(),oi("svg",yG,t[0]||(t[0]=[ui("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 wG={render:OG
},xG=Object.freeze(Object.defineProperty({__proto__:null,default:wG,render:OG
},Symbol.toStringTag,{value:"Module"})),kG={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function SG(e,t){
return ei(),oi("svg",kG,t[0]||(t[0]=[ui("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 _G={render:SG},EG=Object.freeze(Object.defineProperty({
__proto__:null,default:_G,render:SG},Symbol.toStringTag,{value:"Module"})),TG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function CG(e,t){
return ei(),oi("svg",TG,t[0]||(t[0]=[mi('<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 AG={render:CG},PG=Object.freeze(Object.defineProperty({__proto__:null,
default:AG,render:CG},Symbol.toStringTag,{value:"Module"})),DG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function RG(e,t){return ei(),oi("svg",DG,t[0]||(t[0]=[ui("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 $G={render:RG},NG=Object.freeze(Object.defineProperty({
__proto__:null,default:$G,render:RG},Symbol.toStringTag,{value:"Module"})),MG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function IG(e,t){
return ei(),oi("svg",MG,t[0]||(t[0]=[mi('<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 LG={render:IG},jG=Object.freeze(Object.defineProperty({__proto__:null,
default:LG,render:IG},Symbol.toStringTag,{value:"Module"})),BG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function UG(e,t){return ei(),oi("svg",BG,t[0]||(t[0]=[ui("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),ui("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 QG={render:UG},FG=Object.freeze(Object.defineProperty({
__proto__:null,default:QG,render:UG},Symbol.toStringTag,{value:"Module"})),zG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function qG(e,t){return ei(),oi("svg",zG,t[0]||(t[0]=[ui("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),ui("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),ui("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),ui("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 HG={render:qG},VG=Object.freeze(Object.defineProperty({
__proto__:null,default:HG,render:qG},Symbol.toStringTag,{value:"Module"})),ZG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function WG(e,t){return ei(),oi("svg",ZG,t[0]||(t[0]=[ui("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 XG={render:WG},GG=Object.freeze(Object.defineProperty({
__proto__:null,default:XG,render:WG},Symbol.toStringTag,{value:"Module"})),YG={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function KG(e,t){return ei(),oi("svg",YG,t[0]||(t[0]=[ui("path",{
fill:"#41B883",d:"m14.31 4.34-2.31 4-2.31-4H2l10 17.32L22 4.34z"
},null,-1),ui("path",{fill:"#34495E",
d:"m14.31 4.34-2.31 4-2.31-4H6l6 10.392L18 4.34z"},null,-1)]))}const JG={
render:KG},eY=Object.freeze(Object.defineProperty({__proto__:null,default:JG,
render:KG},Symbol.toStringTag,{value:"Module"})),tY=Object.assign({
"../icons/Add.svg":eQ,"../icons/AddTab.svg":oQ,"../icons/ArrowLeft.svg":lQ,
"../icons/ArrowRight.svg":pQ,"../icons/Brackets.svg":gQ,
"../icons/Branch.svg":OQ,"../icons/Changelog.svg":SQ,
"../icons/Checkmark.svg":CQ,"../icons/ChevronDown.svg":RQ,
"../icons/ChevronLeft.svg":IQ,"../icons/ChevronRight.svg":UQ,
"../icons/ChevronUp.svg":qQ,"../icons/Clipboard.svg":WQ,"../icons/Close.svg":KQ,
"../icons/CloseTab.svg":nF,"../icons/CloseTabs.svg":iF,"../icons/Cloud.svg":uF,
"../icons/CodeFolder.svg":fF,"../icons/Cog.svg":bF,"../icons/Collection.svg":xF,
"../icons/Cookie.svg":EF,"../icons/DarkMode.svg":PF,"../icons/Delete.svg":NF,
"../icons/Discord.svg":jF,"../icons/DiscordLine.svg":FF,
"../icons/DocsPage.svg":VF,"../icons/Download.svg":GF,
"../icons/Duplicate.svg":ez,"../icons/Edit.svg":oz,"../icons/Ellipses.svg":lz,
"../icons/Email.svg":pz,"../icons/Error.svg":gz,"../icons/Example.svg":Oz,
"../icons/ExternalLink.svg":Sz,"../icons/FilterList.svg":Cz,
"../icons/Folder.svg":Rz,"../icons/GitHub.svg":Iz,"../icons/GitHubLine.svg":Uz,
"../icons/Globe.svg":qz,"../icons/Google.svg":Wz,"../icons/Help.svg":Kz,
"../icons/Hide.svg":nq,"../icons/History.svg":iq,"../icons/House.svg":uq,
"../icons/Import.svg":fq,"../icons/Info.svg":bq,"../icons/Key.svg":xq,
"../icons/Leave.svg":Eq,"../icons/LightDarkModeToggle.svg":Pq,
"../icons/LightMode.svg":Nq,"../icons/Link.svg":jq,"../icons/Lock.svg":Fq,
"../icons/Logo.svg":Vq,"../icons/LogoAPI.svg":Gq,"../icons/LogoClient.svg":eH,
"../icons/LogoMarket.svg":oH,"../icons/LogoSwagger.svg":lH,
"../icons/Magic.svg":pH,"../icons/Menu.svg":gH,"../icons/Page.svg":OH,
"../icons/PaperAirplane.svg":SH,"../icons/Pencil.svg":CH,"../icons/Play.svg":RH,
"../icons/Refresh.svg":IH,"../icons/Roadmap.svg":UH,"../icons/Scribble.svg":qH,
"../icons/Search.svg":WH,"../icons/Server.svg":KH,"../icons/Settings.svg":nV,
"../icons/Show.svg":iV,"../icons/Sort.svg":uV,"../icons/Terminal.svg":fV,
"../icons/ThumbsDown.svg":bV,"../icons/ThumbsUp.svg":xV,"../icons/Trash.svg":EV,
"../icons/Unlock.svg":PV,"../icons/Unwatch.svg":NV,"../icons/Upload.svg":jV,
"../icons/UploadSimple.svg":FV,"../icons/User.svg":VV,"../icons/Users.svg":GV,
"../icons/Wallet.svg":eZ,"../icons/Watch.svg":oZ,"../icons/Workspace.svg":lZ,
"../icons/programming-framework-angular.svg":pZ,
"../icons/programming-framework-astro.svg":gZ,
"../icons/programming-framework-laravel.svg":OZ,
"../icons/programming-framework-nextdotjs.svg":SZ,
"../icons/programming-framework-react.svg":CZ,
"../icons/programming-framework-vuedotjs.svg":RZ,
"../icons/programming-language-c.svg":IZ,
"../icons/programming-language-clojure.svg":UZ,
"../icons/programming-language-csharp.svg":qZ,
"../icons/programming-language-css3.svg":WZ,
"../icons/programming-language-go.svg":KZ,
"../icons/programming-language-html5.svg":nW,
"../icons/programming-language-http.svg":iW,
"../icons/programming-language-java.svg":uW,
"../icons/programming-language-javascript.svg":fW,
"../icons/programming-language-json.svg":bW,
"../icons/programming-language-kotlin.svg":xW,
"../icons/programming-language-node.svg":EW,
"../icons/programming-language-objc.svg":PW,
"../icons/programming-language-ocaml.svg":NW,
"../icons/programming-language-php.svg":jW,
"../icons/programming-language-powershell.svg":FW,
"../icons/programming-language-python.svg":VW,
"../icons/programming-language-r.svg":GW,
"../icons/programming-language-ruby.svg":eX,
"../icons/programming-language-scala.svg":oX,
"../icons/programming-language-shell.svg":lX,
"../icons/programming-language-swift.svg":pX,
"../icons/programming-language-typescript.svg":gX,
"../icons/programming-script-code.svg":OX,
"../icons/programming-tool-git.svg":SX,
"../icons/programming-tool-tailwindcss.svg":CX}),nY=Object.assign({
"../logos/Adonisjs.svg":RX,"../logos/Docusaurus.svg":IX,
"../logos/Dotnet.svg":UX,"../logos/Elysiajs.svg":qX,"../logos/Express.svg":WX,
"../logos/Fastapi.svg":KX,"../logos/Fastify.svg":nG,"../logos/Go.svg":iG,
"../logos/Hono.svg":uG,"../logos/Laravel.svg":fG,"../logos/Litestar.svg":bG,
"../logos/Nestjs.svg":xG,"../logos/Nextjs.svg":EG,"../logos/Nitro.svg":PG,
"../logos/Nuxt.svg":NG,"../logos/Openapi.svg":jG,"../logos/Platformatic.svg":FG,
"../logos/React.svg":VG,"../logos/Rust.svg":GG,"../logos/Vue.svg":eY}),rY=no({
inheritAttrs:!1,__name:"ScalarIcon",props:{icon:{},logo:{},size:{},thickness:{},
label:{}},setup(e){gs((e=>({ce5c5c8a:o.value})));const t=e,{cx:n}=AB(),r=EB({
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"}
}),o=Bi((()=>t.thickness??"2")),a=Bi((()=>t.label?{ariaLabel:t.label}:{
ariaHidden:!0,role:"presentation"})),i=Bi((()=>t.icon?(e=>{
const t=`../icons/${e}.svg`
;return tY[t]?tY[t]:(console.warn(`Could not find icon: ${e}`),null)
})(t.icon):t.logo?(e=>{const t=`../logos/${e}.svg`
;return nY[t]?nY[t]:(console.warn(`Could not find icon: ${e}`),null)
})(t.logo):void 0));return(e,t)=>(ei(),ai(Co(i.value),st(pi({
...Vn(n)("scalar-icon",Vn(r)({size:e.size})),...a.value})),null,16))}
}),oY=MB(rY,[["__scopeId","data-v-f4f53d32"]]),aY={
class:"scalar-code-block custom-scroll min-h-12"},iY={key:0,
class:"scalar-code-copy"},sY=["innerHTML"],lY=no({__name:"ScalarCodeBlock",
props:{content:{},lang:{default:"plaintext"},lineNumbers:{type:Boolean,
default:!1},hideCredentials:{},copy:{type:Boolean,default:!0}},setup(e){
const t=e,n=Bi((()=>rU(GU(t.content),{lang:t.lang.trim(),languages:LT,
lineNumbers:t.lineNumbers,maskCredentials:t.hideCredentials
}).slice(5,-6))),{copyToClipboard:r}=WU(),o=Bi((()=>null!==t.content&&"null"!==t.content&&"404 Not Found"!==t.content))
;return(e,a)=>(ei(),
oi("div",aY,[e.copy?(ei(),oi("div",iY,[o.value?(ei(),oi("button",{key:0,
class:"copy-button",type:"button",
onClick:a[0]||(a[0]=e=>Vn(r)(Vn(GU)(t.content)))},[a[1]||(a[1]=ui("span",{
class:"sr-only"},"Copy content",-1)),di(Vn(oY),{icon:"Clipboard",size:"md"
})])):gi("",!0)])):gi("",!0),ui("pre",{class:"scalar-codeblock-pre",
innerHTML:n.value},null,8,sY)]))}}),cY=no({__name:"ScalarListboxCheckbox",
props:{selected:{type:Boolean},style:{}},setup:e=>(e,t)=>(ei(),oi("div",{
class:it(["flex size-4 items-center justify-center p-0.75",[e.selected?"bg-c-accent text-b-1":"text-transparent group-hover/item:shadow-border","checkbox"===e.style?"rounded":"rounded-full"]])
},[di(Vn(oY),{class:"relative top-[0.5px] size-2.5",icon:"Checkmark",
thickness:"2.5"})],2))}),uY={
class:"inline-block min-w-0 flex-1 truncate text-c-1"},dY=no({
__name:"ScalarComboboxOption",props:{active:{type:Boolean},selected:{
type:Boolean},style:{},isDeletable:{type:Boolean}},emits:["delete"],setup(e){
const t=EB({
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,n)=>(ei(),oi("li",{class:it(Vn(TB)(Vn(t)({active:e.active,
selected:e.selected})))},[di(Vn(cY),{selected:e.selected,style:tt(e.style)
},null,8,["selected","style"]),ui("span",uY,[$o(e.$slots,"default")]),e.isDeletable?(ei(),
ai(Vn(oY),{key:0,class:"text-c-2 opacity-0 group-hover/item:opacity-100",
icon:"Delete",size:"md",thickness:"1.5",
onClick:n[0]||(n[0]=Xs((t=>e.$emit("delete")),["stop"]))})):gi("",!0)],2))}})
;function pY(e){return function(e){return void 0!==e.options}(e[0])}const hY={
class:"relative flex"},fY=["aria-controls","placeholder"],mY=["id"],gY={key:0,
class:"min-w-0 truncate px-2 py-1.5 text-left text-c-2"},vY=no({inheritAttrs:!1,
__name:"ScalarComboboxOptions",props:{options:{},modelValue:{},placeholder:{},
open:{type:Boolean},multiselect:{type:Boolean},isDeletable:{type:Boolean}},
emits:["update:modelValue","delete"],setup(e,{emit:t}){var n
;const r=e,o=t,a=ND(),i=Bi((()=>pY(r.options)?r.options.flatMap((e=>e.options)):r.options)),s=Bi((()=>pY(r.options)?r.options:[{
label:"",options:r.options
}])),l=Fn(""),c=Fn((null==(n=r.modelValue)?void 0:n[0])??i.value[0])
;Ma((()=>r.open),(()=>l.value="")),Ma((()=>l.value),(()=>c.value=u.value[0]))
;const u=Bi((()=>""===l.value?i.value:i.value.filter((e=>e.label.toLowerCase().includes(l.value.toLowerCase()))))),d=Bi({
get:()=>r.modelValue??[],set:e=>e&&o("update:modelValue",e)});function p(e){
r.multiselect?d.value.some((t=>t.id===e.id))?d.value=d.value.filter((t=>t.id!==e.id)):d.value=[...d.value,e]:d.value=[e]
}function h(e){const t=u.value,n=t.findIndex((e=>e.id===c.value.id))+e
;n<0||n>t.length-1||(c.value=t[n])}
return(e,t)=>(ei(),oi(Wa,null,[ui("div",hY,[di(Vn(oY),{
class:"pointer-events-none absolute left-3 top-1/2 -translate-y-1/2 text-c-3",
icon:"Search",size:"sm"}),Pr(ui("input",{
"onUpdate:modelValue":t[0]||(t[0]=e=>l.value=e),"aria-autocomplete":"list",
"aria-controls":Vn(a),
class:"min-w-0 flex-1 rounded-none border-0 py-2.5 pl-8 pr-3 leading-none text-c-1 outline-none",
"data-1p-ignore":"",placeholder:e.placeholder,role:"combobox",tabindex:"0",
type:"text",
onKeydown:[t[1]||(t[1]=Ys(Xs((e=>h(1)),["prevent"]),["down"])),t[2]||(t[2]=Ys(Xs((e=>p(c.value)),["prevent"]),["enter"])),t[3]||(t[3]=Ys(Xs((e=>h(-1)),["prevent"]),["up"]))]
},null,40,fY),[[Bs,l.value]])]),Pr(ui("ul",{id:Vn(a),class:"border-t p-0.75"
},[$o(e.$slots,"before"),(ei(!0),oi(Wa,null,Do(s.value,((n,r)=>(ei(),oi(Wa,{
key:r
},[n.label&&n.options.some((e=>u.value.some((t=>t.id===e.id))))?(ei(),oi("div",gY,ht(n.label),1)):gi("",!0),(ei(!0),
oi(Wa,null,Do(u.value,(r=>{var o;return ei(),oi(Wa,{key:r.id
},[n.options.some((e=>e.id===r.id))?(ei(),ai(dY,{key:0,
active:(null==(o=c.value)?void 0:o.id)===r.id,
isDeletable:r.isDeletable??e.isDeletable,
selected:d.value.some((e=>e.id===r.id)),
style:tt(e.multiselect?"checkbox":"radio"),onClick:e=>p(r),
onDelete:t=>e.$emit("delete",r),
onMousedown:t[4]||(t[4]=Xs((()=>{}),["prevent"])),onMouseenter:e=>c.value=r},{
default:Ar((()=>[fi(ht(r.label),1)])),_:2
},1032,["active","isDeletable","selected","style","onClick","onDelete","onMouseenter"])):gi("",!0)],64)
})),128))],64)))),128)),$o(e.$slots,"after")],8,mY),[[hs,u.value.length||e.$slots.before||e.$slots.after]])],64))
}}),bY=Math.min,yY=Math.max,OY=Math.round,wY=Math.floor,xY=e=>({x:e,y:e})
;function kY(e){return["top","bottom"].includes(function(e){
return e.split("-")[0]}(e))?"y":"x"}
const SY=["top","right","bottom","left"],_Y=Math.min,EY=Math.max,TY=Math.round,CY=Math.floor,AY=e=>({
x:e,y:e}),PY={left:"right",right:"left",bottom:"top",top:"bottom"},DY={
start:"end",end:"start"};function RY(e,t,n){return EY(e,_Y(t,n))}
function $Y(e,t){return"function"==typeof e?e(t):e}function NY(e){
return e.split("-")[0]}function MY(e){return e.split("-")[1]}function IY(e){
return"x"===e?"y":"x"}function LY(e){return"y"===e?"height":"width"}
function jY(e){return["top","bottom"].includes(NY(e))?"y":"x"}function BY(e){
return IY(jY(e))}function UY(e,t,n){void 0===n&&(n=!1)
;const r=MY(e),o=BY(e),a=LY(o)
;let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top"
;return t.reference[a]>t.floating[a]&&(i=qY(i)),[i,qY(i)]}function QY(e){
const t=qY(e);return[FY(e),t,FY(t)]}function FY(e){
return e.replace(/start|end/g,(e=>DY[e]))}function zY(e,t,n,r){const o=MY(e)
;let a=function(e,t,n){
const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"]
;switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":
return t?a:i;default:return[]}}(NY(e),"start"===n,r)
;return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(FY)))),a}function qY(e){
return e.replace(/left|right|bottom|top/g,(e=>PY[e]))}function HY(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}}function VY(e){
const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,
right:t+r,bottom:n+o,x:t,y:n}}function ZY(e,t,n){let{reference:r,floating:o}=e
;const a=jY(t),i=BY(t),s=LY(i),l=NY(t),c="y"===a,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2
;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,
y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={
x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(MY(t)){case"start":
h[i]-=p*(n&&c?-1:1);break;case"end":h[i]+=p*(n&&c?-1:1)}return h}
async function WY(e,t){var n;void 0===t&&(t={})
;const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=$Y(t,e),f=HY(h),m=s[p?"floating"===d?"reference":"floating":d],g=VY(await a.getClippingRect({
element:null==(n=await(null==a.isElement?void 0:a.isElement(m)))||n?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),
boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:o,
width:i.floating.width,height:i.floating.height
}:i.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{
x:1,y:1
},O=VY(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({
elements:s,rect:v,offsetParent:b,strategy:l}):v);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}}
function XY(e){return KY(e)?(e.nodeName||"").toLowerCase():"#document"}
function GY(e){var t
;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}
function YY(e){var t
;return null==(t=(KY(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement
}function KY(e){return e instanceof Node||e instanceof GY(e).Node}
function JY(e){return e instanceof Element||e instanceof GY(e).Element}
function eK(e){return e instanceof HTMLElement||e instanceof GY(e).HTMLElement}
function tK(e){
return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof GY(e).ShadowRoot)
}function nK(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=sK(e)
;return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)
}function rK(e){return["table","td","th"].includes(XY(e))}function oK(e){
const t=aK(),n=sK(e)
;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))
}function aK(){
return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")
}function iK(e){return["html","body","#document"].includes(XY(e))}
function sK(e){return GY(e).getComputedStyle(e)}function lK(e){return JY(e)?{
scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,
scrollTop:e.pageYOffset}}function cK(e){if("html"===XY(e))return e
;const t=e.assignedSlot||e.parentNode||tK(e)&&e.host||YY(e)
;return tK(t)?t.host:t}function uK(e){const t=cK(e)
;return iK(t)?e.ownerDocument?e.ownerDocument.body:e.body:eK(t)&&nK(t)?t:uK(t)}
function dK(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0)
;const o=uK(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=GY(o)
;return a?t.concat(i,i.visualViewport||[],nK(o)?o:[],i.frameElement&&n?dK(i.frameElement):[]):t.concat(o,dK(o,[],n))
}function pK(e){const t=sK(e)
;let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0
;const o=eK(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=OY(n)!==a||OY(r)!==i
;return s&&(n=a,r=i),{width:n,height:r,$:s}}function hK(e){
return JY(e)?e:e.contextElement}function fK(e){const t=hK(e)
;if(!eK(t))return xY(1)
;const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=pK(t)
;let i=(a?OY(n.width):n.width)/r,s=(a?OY(n.height):n.height)/o
;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}
const mK=xY(0);function gK(e){const t=GY(e);return aK()&&t.visualViewport?{
x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:mK}
function vK(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1)
;const o=e.getBoundingClientRect(),a=hK(e);let i=xY(1)
;t&&(r?JY(r)&&(i=fK(r)):i=fK(e));const s=function(e,t,n){
return void 0===t&&(t=!1),!(!n||t&&n!==GY(e))&&t}(a,n,r)?gK(a):xY(0)
;let l=(o.left+s.x)/i.x,c=(o.top+s.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a){
const e=GY(a),t=r&&JY(r)?GY(r):r;let n=e,o=n.frameElement;for(;o&&r&&t!==n;){
const e=fK(o),t=o.getBoundingClientRect(),r=sK(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y
;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=a,c+=i,n=GY(o),o=n.frameElement}}return VY({
width:u,height:d,x:l,y:c})}const bK=[":popover-open",":modal"];function yK(e){
return bK.some((t=>{try{return e.matches(t)}catch(pM){return!1}}))}
function OK(e){return vK(YY(e)).left+lK(e).scrollLeft}function wK(e,t,n){let r
;if("viewport"===t)r=function(e,t){const n=GY(e),r=YY(e),o=n.visualViewport
;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height
;const e=aK();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{
width:a,height:i,x:s,y:l}}(e,n);else if("document"===t)r=function(e){
const t=YY(e),n=lK(e),r=e.ownerDocument.body,o=yY(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=yY(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight)
;let i=-n.scrollLeft+OK(e);const s=-n.scrollTop
;return"rtl"===sK(r).direction&&(i+=yY(t.clientWidth,r.clientWidth)-o),{width:o,
height:a,x:i,y:s}}(YY(e));else if(JY(t))r=function(e,t){
const n=vK(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=eK(e)?fK(e):xY(1)
;return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}
}(t,n);else{const n=gK(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return VY(r)}
function xK(e,t){const n=cK(e)
;return!(n===t||!JY(n)||iK(n))&&("fixed"===sK(n).position||xK(n,t))}
function kK(e,t,n){const r=eK(t),o=YY(t),a="fixed"===n,i=vK(e,!0,a,t);let s={
scrollLeft:0,scrollTop:0};const l=xY(0)
;if(r||!r&&!a)if(("body"!==XY(t)||nK(o))&&(s=lK(t)),r){const e=vK(t,!0,a,t)
;l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=OK(o));return{
x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}
}function SK(e){return"static"===sK(e).position}function _K(e,t){
return eK(e)&&"fixed"!==sK(e).position?t?t(e):e.offsetParent:null}
function EK(e,t){const n=GY(e);if(yK(e))return n;if(!eK(e)){let t=cK(e)
;for(;t&&!iK(t);){if(JY(t)&&!SK(t))return t;t=cK(t)}return n}let r=_K(e,t)
;for(;r&&rK(r)&&SK(r);)r=_K(r,t)
;return r&&iK(r)&&SK(r)&&!oK(r)?n:r||function(e){let t=cK(e)
;for(;eK(t)&&!iK(t);){if(oK(t))return t;t=cK(t)}return null}(e)||n}const TK={
convertOffsetParentRelativeRectToViewportRelativeRect:function(e){
let{elements:t,rect:n,offsetParent:r,strategy:o}=e
;const a="fixed"===o,i=YY(r),s=!!t&&yK(t.floating);if(r===i||s&&a)return n
;let l={scrollLeft:0,scrollTop:0},c=xY(1);const u=xY(0),d=eK(r)
;if((d||!d&&!a)&&(("body"!==XY(r)||nK(i))&&(l=lK(r)),eK(r))){const e=vK(r)
;c=fK(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,
height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y
}},getDocumentElement:YY,getClippingRect:function(e){
let{element:t,boundary:n,rootBoundary:r,strategy:o}=e
;const a=[..."clippingAncestors"===n?yK(t)?[]:function(e,t){const n=t.get(e)
;if(n)return n;let r=dK(e,[],!1).filter((e=>JY(e)&&"body"!==XY(e))),o=null
;const a="fixed"===sK(e).position;let i=a?cK(e):e;for(;JY(i)&&!iK(i);){
const t=sK(i),n=oK(i)
;n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||nK(i)&&!n&&xK(e,i))?r=r.filter((e=>e!==i)):o=t,
i=cK(i)}return t.set(e,r),r
}(t,this._c):[].concat(n),r],i=a[0],s=a.reduce(((e,n)=>{const r=wK(t,n,o)
;return e.top=yY(r.top,e.top),
e.right=bY(r.right,e.right),e.bottom=bY(r.bottom,e.bottom),
e.left=yY(r.left,e.left),e}),wK(t,i,o));return{width:s.right-s.left,
height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:EK,
getElementRects:async function(e){
const t=this.getOffsetParent||EK,n=this.getDimensions,r=await n(e.floating)
;return{reference:kK(e.reference,await t(e.floating),e.strategy),floating:{x:0,
y:0,width:r.width,height:r.height}}},getClientRects:function(e){
return Array.from(e.getClientRects())},getDimensions:function(e){
const{width:t,height:n}=pK(e);return{width:t,height:n}},getScale:fK,
isElement:JY,isRTL:function(e){return"rtl"===sK(e).direction}}
;function CK(e,t,n,r){void 0===r&&(r={})
;const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=hK(e),u=o||a?[...c?dK(c):[],...dK(t)]:[]
;u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0
}),a&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null
;const o=YY(e);function a(){var e
;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(s,l){
void 0===s&&(s=!1),void 0===l&&(l=1),a()
;const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect()
;if(s||t(),!d||!p)return;const h={
rootMargin:-wY(u)+"px "+-wY(o.clientWidth-(c+d))+"px "+-wY(o.clientHeight-(u+p))+"px "+-wY(c)+"px",
threshold:yY(0,bY(1,l))||1};let f=!0;function m(e){
const t=e[0].intersectionRatio;if(t!==l){if(!f)return i()
;t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}f=!1}try{
r=new IntersectionObserver(m,{...h,root:o.ownerDocument})}catch(pM){
r=new IntersectionObserver(m,h)}r.observe(e)}(!0),a}(c,n):null;let p,h=-1,f=null
;i&&(f=new ResizeObserver((e=>{let[r]=e
;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),
h=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()
})),c&&!l&&f.observe(c),f.observe(t));let m=l?vK(e):null;return l&&function t(){
const r=vK(e)
;!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n()
;m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{
o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)
})),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}
const AK=function(e){return void 0===e&&(e=0),{name:"offset",options:e,
async fn(t){var n,r
;const{x:o,y:a,placement:i,middlewareData:s}=t,l=await async function(e,t){
const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=NY(n),s=MY(n),l="y"===jY(n),c=["left","top"].includes(i)?-1:1,u=a&&l?-1:1,d=$Y(t,e)
;let{mainAxis:p,crossAxis:h,alignmentAxis:f}="number"==typeof d?{mainAxis:d,
crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d}
;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==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{
x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},PK=function(e){
return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){
const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:e=>{
let{x:t,y:n}=e;return{x:t,y:n}}},...l}=$Y(e,t),c={x:n,y:r
},u=await WY(t,l),d=jY(NY(o)),p=IY(d);let h=c[p],f=c[d];if(a){
const e="y"===p?"bottom":"right";h=RY(h+u["y"===p?"top":"left"],h,h-u[e])}if(i){
const e="y"===d?"bottom":"right";f=RY(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-n,y:m.y-r}}}}
},DK=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){
var n,r
;const{placement:o,middlewareData:a,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}=$Y(e,t)
;if(null!=(n=a.arrow)&&n.alignmentOffset)return{}
;const v=NY(o),b=NY(s)===s,y=await(null==l.isRTL?void 0:l.isRTL(c.floating)),O=p||(b||!m?[qY(s)]:QY(s))
;p||"none"===f||O.push(...zY(s,m,f,y));const w=[s,...O],x=await WY(t,g),k=[]
;let S=(null==(r=a.flip)?void 0:r.overflows)||[];if(u&&k.push(x[v]),d){
const e=UY(o,i,y);k.push(x[e[0]],x[e[1]])}if(S=[...S,{placement:o,overflows:k}],
!k.every((e=>e<=0))){var _,E
;const e=((null==(_=a.flip)?void 0:_.index)||0)+1,t=w[e];if(t)return{data:{
index:e,overflows:S},reset:{placement:t}}
;let n=null==(E=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:E.placement
;if(!n)switch(h){case"bestFit":{var T
;const e=null==(T=S.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:T[0]
;e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}
return{}}}},RK=function(e){return void 0===e&&(e={}),{name:"size",options:e,
async fn(t){
const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=()=>{},...s}=$Y(e,t),l=await WY(t,s),c=NY(n),u=MY(n),d="y"===jY(n),{width:p,height:h}=r.floating
;let f,m
;"top"===c||"bottom"===c?(f=c,m=u===(await(null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=c,
f="end"===u?"top":"bottom")
;const g=h-l.top-l.bottom,v=p-l.left-l.right,b=_Y(h-l[f],g),y=_Y(p-l[m],v),O=!t.middlewareData.shift
;let w=b,x=y;if(d?x=u||O?_Y(y,v):v:w=u||O?_Y(b,g):g,O&&!u){
const e=EY(l.left,0),t=EY(l.right,0),n=EY(l.top,0),r=EY(l.bottom,0)
;d?x=p-2*(0!==e||0!==t?e+t:EY(l.left,l.right)):w=h-2*(0!==n||0!==r?n+r:EY(l.top,l.bottom))
}await i({...t,availableWidth:x,availableHeight:w})
;const k=await o.getDimensions(a.floating);return p!==k.width||h!==k.height?{
reset:{rects:!0}}:{}}}},$K=(e,t,n)=>{const r=new Map,o={platform:TK,...n},a={
...o.platform,_c:r};return(async(e,t,n)=>{
const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t))
;let c=await i.getElementRects({reference:e,floating:t,strategy:o
}),{x:u,y:d}=ZY(c,r,l),p=r,h={},f=0;for(let m=0;m<s.length;m++){
const{name:n,fn:a}=s[m],{x:g,y:v,data:b,reset:y}=await a({x:u,y:d,
initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:i,
elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=v?v:d,h={...h,[n]:{
...h[n],...b}},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:o}):y.rects),({x:u,y:d}=ZY(c,p,l))),m=-1)}return{x:u,y:d,placement:p,
strategy:o,middlewareData:h}})(e,t,{...o,platform:a})};function NK(e){
if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el
;return KY(t)&&"#comment"===XY(t)?null:t}return e}function MK(e){
if("undefined"==typeof window)return 1
;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}
function IK(e,t){const n=MK(e);return Math.round(t*n)/n}
const LK=Symbol(),jK=no({inheritAttrs:!1,__name:"ScalarTeleport",props:{to:{},
immediate:{type:Boolean},disabled:{type:Boolean}},setup(e){const t=la(LK,"body")
;return(e,n)=>(ei(),ai(Ur,{defer:!e.immediate,disabled:e.disabled,to:e.to||Vn(t)
},[ui("div",Oi({class:"scalar-app",style:{display:"contents"}
},e.$attrs),[$o(e.$slots,"default")],16)],8,["defer","disabled","to"]))}
}),BK=no({inheritAttrs:!1,__name:"ScalarFloating",props:{placement:{},resize:{
type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},
setup(e){const t=e,n=Fn(null),r=Fn(null),o=Bi((()=>{var e
;if("string"==typeof t.target){const e=document.getElementById(t.target)
;if(e)return e
;console.warn(`ScalarFloating: Target with id="${t.target}" not found`)
}else if(t.target instanceof HTMLElement)return t.target
;if(r.value)return(null==(e=r.value.children)?void 0:e[0])||r.value
})),a=function(e,t={enabled:Fn(!0)}){const n=Fn(0),r=Fn(0),o=Fn()
;return typeof ResizeObserver<"u"&&(o.value=new ResizeObserver((([e])=>{var t,o
;e&&(n.value=(null==(t=e.borderBoxSize[0])?void 0:t.inlineSize)??0,
r.value=(null==(o=e.borderBoxSize[0])?void 0:o.blockSize)??0)
}))),Ma([()=>Zn(t.enabled),()=>Zn(e)],(([e,t])=>{
!t||!o.value||(e?o.value.observe(t):o.value.disconnect())}),{immediate:!0}),{
width:Bi((()=>Zn(t.enabled)?`${n.value}px`:void 0)),
height:Bi((()=>Zn(t.enabled)?`${r.value}px`:void 0))}}(o,{
enabled:Bi((()=>t.resize))
}),i=Bi((()=>"y"===kY(t.placement||"bottom")?a.width.value:void 0)),s=Bi((()=>"x"===kY(t.placement||"bottom")?a.height.value:void 0)),{floatingStyles:l,middlewareData:c}=function(e,t,n){
void 0===n&&(n={});const r=n.whileElementsMounted,o=Bi((()=>{var e
;return null==(e=Vn(n.open))||e})),a=Bi((()=>Vn(n.middleware))),i=Bi((()=>{var e
;return null!=(e=Vn(n.placement))?e:"bottom"})),s=Bi((()=>{var e
;return null!=(e=Vn(n.strategy))?e:"absolute"})),l=Bi((()=>{var e
;return null==(e=Vn(n.transform))||e
})),c=Bi((()=>NK(e.value))),u=Bi((()=>NK(t.value))),d=Fn(0),p=Fn(0),h=Fn(s.value),f=Fn(i.value),m=zn({}),g=Fn(!1),v=Bi((()=>{
const e={position:h.value,left:"0",top:"0"};if(!u.value)return e
;const t=IK(u.value,d.value),n=IK(u.value,p.value);return l.value?{...e,
transform:"translate("+t+"px, "+n+"px)",...MK(u.value)>=1.5&&{
willChange:"transform"}}:{position:h.value,left:t+"px",top:n+"px"}}));let b
;function y(){null!=c.value&&null!=u.value&&$K(c.value,u.value,{
middleware:a.value,placement:i.value,strategy:s.value}).then((e=>{
d.value=e.x,p.value=e.y,
h.value=e.strategy,f.value=e.placement,m.value=e.middlewareData,g.value=!0}))}
function O(){"function"==typeof b&&(b(),b=void 0)}return Ma([a,i,s],y,{
flush:"sync"}),Ma([c,u],(function(){
O(),void 0!==r?null==c.value||null==u.value||(b=r(c.value,u.value,y)):y()}),{
flush:"sync"}),Ma(o,(function(){o.value||(g.value=!1)}),{flush:"sync"
}),yt()&&Ot(O),{x:Rn(d),y:Rn(p),strategy:Rn(h),placement:Rn(f),
middlewareData:Rn(m),isPositioned:Rn(g),floatingStyles:v,update:y}}(o,n,{
placement:Bi((()=>t.placement)),whileElementsMounted:CK,
middleware:Bi((()=>[AK(5),DK(),PK(),RK({
apply({availableWidth:e,availableHeight:t,elements:n}){
Object.assign(n.floating.style,{maxWidth:Math.max(0,e)-25+"px",
maxHeight:Math.max(0,t)-25+"px"})}}),...t.middleware??[]]))})
;return(e,t)=>(ei(),oi(Wa,null,[ui("div",{ref_key:"wrapperRef",ref:r,class:it({
contents:!!e.$slots.default})
},[$o(e.$slots,"default")],2),e.$slots.floating?(ei(),ai(Vn(jK),{key:0,
disabled:!e.teleport,to:"string"==typeof e.teleport?e.teleport:void 0},{
default:Ar((()=>[ui("div",{ref_key:"floatingRef",ref:n,
class:"relative z-overlay",style:tt(Vn(l))},[$o(e.$slots,"floating",{data:Vn(c),
height:s.value,width:i.value})],4)])),_:3},8,["disabled","to"])):gi("",!0)],64))
}}),UK=no({inheritAttrs:!1,__name:"ScalarComboboxPopover",props:{placement:{},
resize:{type:Boolean},target:{},middleware:{},teleport:{type:[Boolean,String]}},
setup(e,{expose:t}){const{cx:n}=AB(),r=Fn(null),o=e=>{var t
;["ArrowUp","ArrowDown"].includes(e.key)&&(e.preventDefault(),
null==(t=e.target)||t.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter"})))
};return t({popoverButtonRef:r}),(e,t)=>(ei(),ai(Vn(rL),{as:"template"},{
default:Ar((({open:a})=>[di(Vn(BK),st(pi(e.$props)),Ro({
default:Ar((()=>[di(Vn(oL),{ref_key:"popoverButtonRef",ref:r,as:"template",
onKeydown:o},{default:Ar((()=>[$o(e.$slots,"default",{open:a})])),_:2},1536)])),
_:2},[a?{name:"floating",fn:Ar((({width:r})=>[di(Vn(aL),Oi({focus:"",style:{
width:r}},Vn(n)("relative flex w-40 flex-col rounded border text-sm")),{
default:Ar((({close:n})=>[$o(e.$slots,"popover",{close:n,open:a
}),t[0]||(t[0]=ui("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-md brightness-lifted"
},null,-1))])),_:2},1040,["style"])])),key:"0"}:void 0]),1040)])),_:3}))}}),QK={
class:"divide-1 divide-y"},FK={key:1,class:"p-0.75"},zK=no({
__name:"ScalarComboboxMultiselect",props:{options:{},modelValue:{},
placeholder:{},isDeletable:{type:Boolean},placement:{},resize:{type:Boolean},
target:{},middleware:{},teleport:{type:[Boolean,String]}},
emits:["update:modelValue","delete"],setup(e,{expose:t}){const n=Fn(null)
;return t({comboboxPopoverRef:n}),(e,t)=>(ei(),ai(UK,{
ref_key:"comboboxPopoverRef",ref:n,middleware:e.middleware,
placement:e.placement??"bottom-start",resize:e.resize,target:e.target,
teleport:e.teleport},{
popover:Ar((({open:n})=>[ui("div",QK,[e.options&&e.options.length?(ei(),ai(vY,{
key:0,isDeletable:e.isDeletable,modelValue:e.modelValue,multiselect:"",open:n,
options:e.options,placeholder:e.placeholder,
onDelete:t[0]||(t[0]=t=>e.$emit("delete",t)),
"onUpdate:modelValue":t[1]||(t[1]=t=>e.$emit("update:modelValue",t))
},null,8,["isDeletable","modelValue","open","options","placeholder"])):gi("",!0),e.$slots.actions?(ei(),
oi("div",FK,[$o(e.$slots,"actions")])):gi("",!0)])])),
default:Ar((()=>[$o(e.$slots,"default")])),_:3
},8,["middleware","placement","resize","target","teleport"]))}})
;function qK(e,t,n){let{reference:r,floating:o}=e
;const a=jY(t),i=BY(t),s=LY(i),l=NY(t),c="y"===a,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,p=r[s]/2-o[s]/2
;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,
y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={
x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(MY(t)){case"start":
h[i]-=p*(n&&c?-1:1);break;case"end":h[i]+=p*(n&&c?-1:1)}return h}
async function HK(e,t){var n;void 0===t&&(t={})
;const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:h=0}=$Y(t,e),f=HY(h),m=s[p?"floating"===d?"reference":"floating":d],g=VY(await a.getClippingRect({
element:null==(n=await(null==a.isElement?void 0:a.isElement(m)))||n?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),
boundary:c,rootBoundary:u,strategy:l})),v="floating"===d?{x:r,y:o,
width:i.floating.width,height:i.floating.height
}:i.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{
x:1,y:1
},O=VY(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({
elements:s,rect:v,offsetParent:b,strategy:l}):v);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}}
function VK(e,t){return{top:e.top-t.height,right:e.right-t.width,
bottom:e.bottom-t.height,left:e.left-t.width}}function ZK(e){
return SY.some((t=>e[t]>=0))}function WK(e){
return YK(e)?(e.nodeName||"").toLowerCase():"#document"}function XK(e){var t
;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}
function GK(e){var t
;return null==(t=(YK(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement
}function YK(e){return e instanceof Node||e instanceof XK(e).Node}
function KK(e){return e instanceof Element||e instanceof XK(e).Element}
function JK(e){return e instanceof HTMLElement||e instanceof XK(e).HTMLElement}
function eJ(e){
return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof XK(e).ShadowRoot)
}function tJ(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=sJ(e)
;return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)
}function nJ(e){return["table","td","th"].includes(WK(e))}function rJ(e){
return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch(pM){
return!1}}))}function oJ(e){const t=aJ(),n=KK(e)?sJ(e):e
;return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))
}function aJ(){
return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")
}function iJ(e){return["html","body","#document"].includes(WK(e))}
function sJ(e){return XK(e).getComputedStyle(e)}function lJ(e){return KK(e)?{
scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,
scrollTop:e.scrollY}}function cJ(e){if("html"===WK(e))return e
;const t=e.assignedSlot||e.parentNode||eJ(e)&&e.host||GK(e)
;return eJ(t)?t.host:t}function uJ(e){const t=cJ(e)
;return iJ(t)?e.ownerDocument?e.ownerDocument.body:e.body:JK(t)&&tJ(t)?t:uJ(t)}
function dJ(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0)
;const o=uJ(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=XK(o);if(a){
const e=pJ(i);return t.concat(i,i.visualViewport||[],tJ(o)?o:[],e&&n?dJ(e):[])}
return t.concat(o,dJ(o,[],n))}function pJ(e){
return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}
function hJ(e){const t=sJ(e)
;let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0
;const o=JK(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=TY(n)!==a||TY(r)!==i
;return s&&(n=a,r=i),{width:n,height:r,$:s}}function fJ(e){
return KK(e)?e:e.contextElement}function mJ(e){const t=fJ(e)
;if(!JK(t))return AY(1)
;const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=hJ(t)
;let i=(a?TY(n.width):n.width)/r,s=(a?TY(n.height):n.height)/o
;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}
const gJ=AY(0);function vJ(e){const t=XK(e);return aJ()&&t.visualViewport?{
x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:gJ}
function bJ(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1)
;const o=e.getBoundingClientRect(),a=fJ(e);let i=AY(1)
;t&&(r?KK(r)&&(i=mJ(r)):i=mJ(e));const s=function(e,t,n){
return void 0===t&&(t=!1),!(!n||t&&n!==XK(e))&&t}(a,n,r)?vJ(a):AY(0)
;let l=(o.left+s.x)/i.x,c=(o.top+s.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a){
const e=XK(a),t=r&&KK(r)?XK(r):r;let n=e,o=pJ(n);for(;o&&r&&t!==n;){
const e=mJ(o),t=o.getBoundingClientRect(),r=sJ(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y
;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=a,c+=i,n=XK(o),o=pJ(n)}}return VY({width:u,
height:d,x:l,y:c})}function yJ(e){return bJ(GK(e)).left+lJ(e).scrollLeft}
function OJ(e,t,n){let r;if("viewport"===t)r=function(e,t){
const n=XK(e),r=GK(e),o=n.visualViewport
;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height
;const e=aJ();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{
width:a,height:i,x:s,y:l}}(e,n);else if("document"===t)r=function(e){
const t=GK(e),n=lJ(e),r=e.ownerDocument.body,o=EY(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=EY(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight)
;let i=-n.scrollLeft+yJ(e);const s=-n.scrollTop
;return"rtl"===sJ(r).direction&&(i+=EY(t.clientWidth,r.clientWidth)-o),{width:o,
height:a,x:i,y:s}}(GK(e));else if(KK(t))r=function(e,t){
const n=bJ(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=JK(e)?mJ(e):AY(1)
;return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}
}(t,n);else{const n=vJ(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return VY(r)}
function wJ(e,t){const n=cJ(e)
;return!(n===t||!KK(n)||iJ(n))&&("fixed"===sJ(n).position||wJ(n,t))}
function xJ(e,t,n){const r=JK(t),o=GK(t),a="fixed"===n,i=bJ(e,!0,a,t);let s={
scrollLeft:0,scrollTop:0};const l=AY(0)
;if(r||!r&&!a)if(("body"!==WK(t)||tJ(o))&&(s=lJ(t)),r){const e=bJ(t,!0,a,t)
;l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=yJ(o));return{
x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}
}function kJ(e){return"static"===sJ(e).position}function SJ(e,t){
return JK(e)&&"fixed"!==sJ(e).position?t?t(e):e.offsetParent:null}
function _J(e,t){const n=XK(e);if(rJ(e))return n;if(!JK(e)){let t=cJ(e)
;for(;t&&!iJ(t);){if(KK(t)&&!kJ(t))return t;t=cJ(t)}return n}let r=SJ(e,t)
;for(;r&&nJ(r)&&kJ(r);)r=SJ(r,t)
;return r&&iJ(r)&&kJ(r)&&!oJ(r)?n:r||function(e){let t=cJ(e)
;for(;JK(t)&&!iJ(t);){if(oJ(t))return t;if(rJ(t))return null;t=cJ(t)}return null
}(e)||n}const EJ={
convertOffsetParentRelativeRectToViewportRelativeRect:function(e){
let{elements:t,rect:n,offsetParent:r,strategy:o}=e
;const a="fixed"===o,i=GK(r),s=!!t&&rJ(t.floating);if(r===i||s&&a)return n
;let l={scrollLeft:0,scrollTop:0},c=AY(1);const u=AY(0),d=JK(r)
;if((d||!d&&!a)&&(("body"!==WK(r)||tJ(i))&&(l=lJ(r)),JK(r))){const e=bJ(r)
;c=mJ(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}return{width:n.width*c.x,
height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x,y:n.y*c.y-l.scrollTop*c.y+u.y
}},getDocumentElement:GK,getClippingRect:function(e){
let{element:t,boundary:n,rootBoundary:r,strategy:o}=e
;const a=[..."clippingAncestors"===n?rJ(t)?[]:function(e,t){const n=t.get(e)
;if(n)return n;let r=dJ(e,[],!1).filter((e=>KK(e)&&"body"!==WK(e))),o=null
;const a="fixed"===sJ(e).position;let i=a?cJ(e):e;for(;KK(i)&&!iJ(i);){
const t=sJ(i),n=oJ(i)
;n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||tJ(i)&&!n&&wJ(e,i))?r=r.filter((e=>e!==i)):o=t,
i=cJ(i)}return t.set(e,r),r
}(t,this._c):[].concat(n),r],i=a[0],s=a.reduce(((e,n)=>{const r=OJ(t,n,o)
;return e.top=EY(r.top,e.top),
e.right=_Y(r.right,e.right),e.bottom=_Y(r.bottom,e.bottom),
e.left=EY(r.left,e.left),e}),OJ(t,i,o));return{width:s.right-s.left,
height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:_J,
getElementRects:async function(e){
const t=this.getOffsetParent||_J,n=this.getDimensions,r=await n(e.floating)
;return{reference:xJ(e.reference,await t(e.floating),e.strategy),floating:{x:0,
y:0,width:r.width,height:r.height}}},getClientRects:function(e){
return Array.from(e.getClientRects())},getDimensions:function(e){
const{width:t,height:n}=hJ(e);return{width:t,height:n}},getScale:mJ,
isElement:KK,isRTL:function(e){return"rtl"===sJ(e).direction}}
;function TJ(e,t,n,r){void 0===r&&(r={})
;const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=fJ(e),u=o||a?[...c?dJ(c):[],...dJ(t)]:[]
;u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0
}),a&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null
;const o=GK(e);function a(){var e
;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(s,l){
void 0===s&&(s=!1),void 0===l&&(l=1),a()
;const{left:c,top:u,width:d,height:p}=e.getBoundingClientRect()
;if(s||t(),!d||!p)return;const h={
rootMargin:-CY(u)+"px "+-CY(o.clientWidth-(c+d))+"px "+-CY(o.clientHeight-(u+p))+"px "+-CY(c)+"px",
threshold:EY(0,_Y(1,l))||1};let f=!0;function m(e){
const t=e[0].intersectionRatio;if(t!==l){if(!f)return i()
;t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}f=!1}try{
r=new IntersectionObserver(m,{...h,root:o.ownerDocument})}catch(pM){
r=new IntersectionObserver(m,h)}r.observe(e)}(!0),a}(c,n):null;let p,h=-1,f=null
;i&&(f=new ResizeObserver((e=>{let[r]=e
;r&&r.target===c&&f&&(f.unobserve(t),cancelAnimationFrame(h),
h=requestAnimationFrame((()=>{var e;null==(e=f)||e.observe(t)}))),n()
})),c&&!l&&f.observe(c),f.observe(t));let m=l?bJ(e):null;return l&&function t(){
const r=bJ(e)
;!m||r.x===m.x&&r.y===m.y&&r.width===m.width&&r.height===m.height||n()
;m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{
o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)
})),null==d||d(),null==(e=f)||e.disconnect(),f=null,l&&cancelAnimationFrame(p)}}
const CJ=function(e){return void 0===e&&(e=0),{name:"offset",options:e,
async fn(t){var n,r
;const{x:o,y:a,placement:i,middlewareData:s}=t,l=await async function(e,t){
const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=NY(n),s=MY(n),l="y"===jY(n),c=["left","top"].includes(i)?-1:1,u=a&&l?-1:1,d=$Y(t,e)
;let{mainAxis:p,crossAxis:h,alignmentAxis:f}="number"==typeof d?{mainAxis:d,
crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...d}
;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==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{
x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},AJ=function(e){
return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){
const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:e=>{
let{x:t,y:n}=e;return{x:t,y:n}}},...l}=$Y(e,t),c={x:n,y:r
},u=await HK(t,l),d=jY(NY(o)),p=IY(d);let h=c[p],f=c[d];if(a){
const e="y"===p?"bottom":"right";h=RY(h+u["y"===p?"top":"left"],h,h-u[e])}if(i){
const e="y"===d?"bottom":"right";f=RY(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-n,y:m.y-r}}}}
},PJ=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){
var n,r
;const{placement:o,middlewareData:a,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}=$Y(e,t)
;if(null!=(n=a.arrow)&&n.alignmentOffset)return{}
;const v=NY(o),b=jY(s),y=NY(s)===s,O=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=p||(y||!m?[qY(s)]:QY(s)),x="none"!==f
;!p&&x&&w.push(...zY(s,m,f,O));const k=[s,...w],S=await HK(t,g),_=[]
;let E=(null==(r=a.flip)?void 0:r.overflows)||[];if(u&&_.push(S[v]),d){
const e=UY(o,i,O);_.push(S[e[0]],S[e[1]])}if(E=[...E,{placement:o,overflows:_}],
!_.every((e=>e<=0))){var T,C
;const e=((null==(T=a.flip)?void 0:T.index)||0)+1,t=k[e];if(t)return{data:{
index:e,overflows:E},reset:{placement:t}}
;let n=null==(C=E.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:C.placement
;if(!n)switch(h){case"bestFit":{var A;const e=null==(A=E.filter((e=>{if(x){
const t=jY(e.placement);return t===b||"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:A[0]
;e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}
return{}}}},DJ=function(e){return void 0===e&&(e={}),{name:"size",options:e,
async fn(t){
const{placement:n,rects:r,platform:o,elements:a}=t,{apply:i=()=>{},...s}=$Y(e,t),l=await HK(t,s),c=NY(n),u=MY(n),d="y"===jY(n),{width:p,height:h}=r.floating
;let f,m
;"top"===c||"bottom"===c?(f=c,m=u===(await(null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(m=c,
f="end"===u?"top":"bottom")
;const g=h-l.top-l.bottom,v=p-l.left-l.right,b=_Y(h-l[f],g),y=_Y(p-l[m],v),O=!t.middlewareData.shift
;let w=b,x=y;if(d?x=u||O?_Y(y,v):v:w=u||O?_Y(b,g):g,O&&!u){
const e=EY(l.left,0),t=EY(l.right,0),n=EY(l.top,0),r=EY(l.bottom,0)
;d?x=p-2*(0!==e||0!==t?e+t:EY(l.left,l.right)):w=h-2*(0!==n||0!==r?n+r:EY(l.top,l.bottom))
}await i({...t,availableWidth:x,availableHeight:w})
;const k=await o.getDimensions(a.floating);return p!==k.width||h!==k.height?{
reset:{rects:!0}}:{}}}},RJ=function(e){return void 0===e&&(e={}),{name:"hide",
options:e,async fn(t){
const{rects:n}=t,{strategy:r="referenceHidden",...o}=$Y(e,t);switch(r){
case"referenceHidden":{const e=VK(await HK(t,{...o,elementContext:"reference"
}),n.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ZK(e)}}}
case"escaped":{const e=VK(await HK(t,{...o,altBoundary:!0}),n.floating);return{
data:{escapedOffsets:e,escaped:ZK(e)}}}default:return{}}}}},$J=e=>({
name:"arrow",options:e,async fn(t){
const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=$Y(e,t)||{}
;if(null==c)return{};const d=HY(u),p={x:n,y:r
},h=BY(o),f=LY(h),m=await i.getDimensions(c),g="y"===h,v=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",O=a.reference[f]+a.reference[h]-p[h]-a.floating[f],w=p[h]-a.reference[h],x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c))
;let k=x?x[y]:0
;k&&await(null==i.isElement?void 0:i.isElement(x))||(k=s.floating[y]||a.floating[f])
;const S=O/2-w/2,_=k/2-m[f]/2-1,E=_Y(d[v],_),T=_Y(d[b],_),C=E,A=k-m[f]-T,P=k/2-m[f]/2+S,D=RY(C,P,A),R=!l.arrow&&null!=MY(o)&&P!==D&&a.reference[f]/2-(P<C?E:T)-m[f]/2<0,$=R?P<C?P-C:P-A:0
;return{[h]:p[h]+$,data:{[h]:D,centerOffset:P-D-$,...R&&{alignmentOffset:$}},
reset:R}}}),NJ=function(e){return void 0===e&&(e={}),{options:e,fn(t){
const{x:n,y:r,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=$Y(e,t),u={
x:n,y:r},d=jY(o),p=IY(d);let h=u[p],f=u[d]
;const m=$Y(s,t),g="number"==typeof m?{mainAxis:m,crossAxis:0}:{mainAxis:0,
crossAxis:0,...m};if(l){
const e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+g.mainAxis,n=a.reference[p]+a.reference[e]-g.mainAxis
;h<t?h=t:h>n&&(h=n)}if(c){var v,b
;const e="y"===p?"width":"height",t=["top","left"].includes(NY(o)),n=a.reference[d]-a.floating[e]+(t&&(null==(v=i.offset)?void 0:v[d])||0)+(t?0:g.crossAxis),r=a.reference[d]+a.reference[e]+(t?0:(null==(b=i.offset)?void 0:b[d])||0)-(t?g.crossAxis:0)
;f<n?f=n:f>r&&(f=r)}return{[p]:h,[d]:f}}}},MJ=(e,t,n)=>{const r=new Map,o={
platform:EJ,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{
const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t))
;let c=await i.getElementRects({reference:e,floating:t,strategy:o
}),{x:u,y:d}=qK(c,r,l),p=r,h={},f=0;for(let m=0;m<s.length;m++){
const{name:n,fn:a}=s[m],{x:g,y:v,data:b,reset:y}=await a({x:u,y:d,
initialPlacement:r,placement:p,strategy:o,middlewareData:h,rects:c,platform:i,
elements:{reference:e,floating:t}});u=null!=g?g:u,d=null!=v?v:d,h={...h,[n]:{
...h[n],...b}},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:o}):y.rects),({x:u,y:d}=qK(c,p,l))),m=-1)}return{x:u,y:d,placement:p,
strategy:o,middlewareData:h}})(e,t,{...o,platform:a})};function IJ(e){
if(function(e){return null!=e&&"object"==typeof e&&"$el"in e}(e)){const t=e.$el
;return YK(t)&&"#comment"===WK(t)?null:t}return e}function LJ(e){
return"function"==typeof e?e():Vn(e)}function jJ(e){
if("undefined"==typeof window)return 1
;return(e.ownerDocument.defaultView||window).devicePixelRatio||1}
function BJ(e,t){const n=jJ(e);return Math.round(t*n)/n}function UJ(e,t){
const n=Symbol("string"!=typeof e||t?t:`${e}Context`);return[t=>{const r=la(n,t)
;if(r||null===r)return r
;throw new Error(`Injection \`${n.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(", ")}`:`\`${e}\``}`)
},e=>(sa(n,e),e)]}function QJ(e,t,n){
const r=n.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,
detail:n});t&&r.addEventListener(e,t,{once:!0}),r.dispatchEvent(o)}
function FJ(e){return!!yt()&&(Ot(e),!0)}function zJ(e){
return"function"==typeof e?e():Vn(e)}
const qJ=typeof window<"u"&&typeof document<"u"
;typeof WorkerGlobalScope<"u"&&(globalThis,WorkerGlobalScope)
;const HJ=Object.prototype.toString,VJ=e=>"[object Object]"===HJ.call(e),ZJ=()=>{}
;function WJ(e,t=1e4){return Yn(((n,r)=>{let o,a=zJ(e);return FJ((()=>{
clearTimeout(o)})),{get:()=>(n(),a),set(n){
a=n,r(),clearTimeout(o),o=setTimeout((()=>{a=zJ(e),r()}),zJ(t))}}}))}
function XJ(e,t,n={}){const{immediate:r=!0}=n,o=Fn(!1);let a=null;function i(){
a&&(clearTimeout(a),a=null)}function s(){o.value=!1,i()}function l(...n){
i(),o.value=!0,a=setTimeout((()=>{o.value=!1,a=null,e(...n)}),zJ(t))}
return r&&(o.value=!0,qJ&&l()),FJ(s),{isPending:Dn(o),start:l,stop:s}}
function GJ(e){var t;const n=zJ(e);return null!=(t=null==n?void 0:n.$el)?t:n}
const YJ=qJ?window:void 0;function KJ(...e){let t,n,r,o
;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,o]=e,
t=YJ):[t,n,r,o]=e,!t)return ZJ
;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const a=[],i=()=>{
a.forEach((e=>e())),a.length=0},s=Ma((()=>[GJ(t),zJ(o)]),(([e,t])=>{
if(i(),!e)return;const o=VJ(t)?{...t}:t
;a.push(...n.flatMap((t=>r.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),
()=>e.removeEventListener(t,n,r)))(e,t,n,o))))))}),{immediate:!0,flush:"post"
}),l=()=>{s(),i()};return FJ(l),l}function JJ(...e){let t,n,r={}
;3===e.length?(t=e[0],
n=e[1],r=e[2]):2===e.length?"object"==typeof e[1]?(t=!0,n=e[0],
r=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0])
;const{target:o=YJ,eventName:a="keydown",passive:i=!1,dedupe:s=!1}=r,l=function(e){
return"function"==typeof e?e:"string"==typeof e?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0
}(t);return KJ(o,a,(e=>{e.repeat&&zJ(s)||l(e)&&n(e)}),i)}
function e0(e,t,n,r={}){var o,a,i
;const{clone:s=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:d,shouldEmit:p}=r,h=_i(),f=n||(null==h?void 0:h.emit)||(null==(o=null==h?void 0:h.$emit)?void 0:o.bind(h))||(null==(i=null==(a=null==h?void 0:h.proxy)?void 0:a.$emit)?void 0:i.bind(null==h?void 0:h.proxy))
;let m=c;m=m||`update:${t.toString()}`
;const g=e=>s?"function"==typeof s?s(e):function(e){
return JSON.parse(JSON.stringify(e))
}(e):e,v=()=>(e=>typeof e<"u")(e[t])?g(e[t]):d,b=e=>{p?p(e)&&f(m,e):f(m,e)}
;if(l){const n=Fn(v());let r=!1;return Ma((()=>e[t]),(e=>{r||(r=!0,n.value=g(e),
yr((()=>r=!1)))})),Ma(n,(n=>{!r&&(n!==e[t]||u)&&b(n)}),{deep:u}),n}return Bi({
get:()=>v(),set(e){b(e)}})}function t0(e){
return e?e.flatMap((e=>e.type===Wa?t0(e.children):[e])):[]}
const[n0,r0]=UJ("ConfigProvider");function o0(e){
const t=_i(),n=Object.keys((null==t?void 0:t.type.props)??{}).reduce(((e,n)=>{
const r=(null==t?void 0:t.type.props[n]).default;return void 0!==r&&(e[n]=r),e
}),{}),r=tr(e);return Bi((()=>{const e={},o=(null==t?void 0:t.vnode.props)??{}
;return Object.keys(o).forEach((t=>{e[ze(t)]=o[t]})),Object.keys({...n,...e
}).reduce(((e,t)=>(void 0!==r.value[t]&&(e[t]=r.value[t]),e)),{})}))}
function a0(e,t){const n=o0(e),r=t?function(e){
const t=_i(),n=null==t?void 0:t.type.emits,r={}
;return null!=n&&n.length||console.warn(`No emitted event found. Please check component: ${null==t?void 0:t.type.__name}`),
null==n||n.forEach((t=>{r[Ze(ze(t))]=(...n)=>e(t,...n)})),r}(t):{}
;return Bi((()=>({...n.value,...r})))}function i0(){
const e=_i(),t=Fn(),n=Bi((()=>{var e,n
;return["#text","#comment"].includes(null==(e=t.value)?void 0:e.$el.nodeName)?null==(n=t.value)?void 0:n.$el.nextElementSibling:GJ(t)
})),r=Object.assign({},e.exposed),o={}
;for(const a in e.props)Object.defineProperty(o,a,{enumerable:!0,
configurable:!0,get:()=>e.props[a]})
;if(Object.keys(r).length>0)for(const a in r)Object.defineProperty(o,a,{
enumerable:!0,configurable:!0,get:()=>r[a]})
;return Object.defineProperty(o,"$el",{enumerable:!0,configurable:!0,
get:()=>e.vnode.el}),e.exposed=o,{forwardRef:function(n){
t.value=n,!(n instanceof Element)&&n&&(Object.defineProperty(o,"$el",{
enumerable:!0,configurable:!0,get:()=>n.$el}),e.exposed=o)},currentRef:t,
currentElement:n}}function s0(e,t){const n=WJ(!1,300),r=Fn(null),o=function(){
const e=new Set,t=t=>{e.delete(t)};return{on:n=>{e.add(n);const r=()=>t(n)
;return FJ(r),{off:r}},off:t,
trigger:(...t)=>Promise.all(Array.from(e).map((e=>e(...t))))}}();function a(){
r.value=null,n.value=!1}function i(e,t){const o=e.currentTarget,a={x:e.clientX,
y:e.clientY},i=function(e,t){
const n=Math.abs(t.top-e.y),r=Math.abs(t.bottom-e.y),o=Math.abs(t.right-e.x),a=Math.abs(t.left-e.x)
;switch(Math.min(n,r,o,a)){case a:return"left";case o:return"right";case n:
return"top";case r:return"bottom";default:throw new Error("unreachable")}
}(a,o.getBoundingClientRect()),s=function(e,t,n=5){const r=[];switch(t){
case"top":r.push({x:e.x-n,y:e.y+n},{x:e.x+n,y:e.y+n});break;case"bottom":
r.push({x:e.x-n,y:e.y-n},{x:e.x+n,y:e.y-n});break;case"left":r.push({x:e.x+n,
y:e.y-n},{x:e.x+n,y:e.y+n});break;case"right":r.push({x:e.x-n,y:e.y-n},{x:e.x-n,
y:e.y+n})}return r}(a,i),l=function(e){const{top:t,right:n,bottom:r,left:o}=e
;return[{x:o,y:t},{x:n,y:t},{x:n,y:r},{x:o,y:r}]
}(t.getBoundingClientRect()),c=function(e){const t=e.slice()
;return t.sort(((e,t)=>e.x<t.x?-1:e.x>t.x?1:e.y<t.y?-1:e.y>t.y?1:0)),
function(e){if(e.length<=1)return e.slice();const t=[]
;for(let r=0;r<e.length;r++){const n=e[r];for(;t.length>=2;){
const e=t[t.length-1],r=t[t.length-2]
;if(!((e.x-r.x)*(n.y-r.y)>=(e.y-r.y)*(n.x-r.x)))break;t.pop()}t.push(n)}t.pop()
;const n=[];for(let r=e.length-1;r>=0;r--){const t=e[r];for(;n.length>=2;){
const e=n[n.length-1],r=n[n.length-2]
;if(!((e.x-r.x)*(t.y-r.y)>=(e.y-r.y)*(t.x-r.x)))break;n.pop()}n.push(t)}
return n.pop(),
1===t.length&&1===n.length&&t[0].x===n[0].x&&t[0].y===n[0].y?t:t.concat(n)}(t)
}([...s,...l]);r.value=c,n.value=!0}return Na((n=>{if(e.value&&t.value){
const r=e=>i(e,t.value),o=t=>i(t,e.value)
;e.value.addEventListener("pointerleave",r),
t.value.addEventListener("pointerleave",o),n((()=>{var n,a
;null==(n=e.value)||n.removeEventListener("pointerleave",r),
null==(a=t.value)||a.removeEventListener("pointerleave",o)}))}})),Na((n=>{
if(r.value){const i=n=>{var i,s;if(!r.value)return;const l=n.target,c={
x:n.clientX,y:n.clientY
},u=(null==(i=e.value)?void 0:i.contains(l))||(null==(s=t.value)?void 0:s.contains(l)),d=!function(e,t){
const{x:n,y:r}=e;let o=!1;for(let a=0,i=t.length-1;a<t.length;i=a++){
const e=t[a].x,s=t[a].y,l=t[i].x,c=t[i].y
;s>r!=c>r&&n<(l-e)*(r-s)/(c-s)+e&&(o=!o)}return o
}(c,r.value),p=l.hasAttribute("data-grace-area-trigger")
;u?a():(d||p)&&(a(),o.trigger())}
;document.addEventListener("pointermove",i),n((()=>document.removeEventListener("pointermove",i)))
}})),{isPointerInTransit:n,onPointerExit:o.on}}let l0=0;function c0(e,t){
const n=Fn(e);return{state:n,dispatch:e=>{n.value=function(e){
return t[n.value][e]??n.value}(e)}}}const u0=no({name:"PrimitiveSlot",
inheritAttrs:!1,setup:(e,{attrs:t,slots:n})=>()=>{var e,r
;if(!n.default)return null
;const o=t0(n.default()),a=o.findIndex((e=>e.type!==Ga));if(-1===a)return o
;const i=o[a];null==(e=i.props)||delete e.ref;const s=i.props?Oi(t,i.props):t
;t.class&&null!=(r=i.props)&&r.class&&delete i.props.class;const l=hi(i,s)
;for(const t in s)t.startsWith("on")&&(l.props||(l.props={}),l.props[t]=s[t])
;return 1===o.length?l:(o[a]=l,o)}}),d0=no({name:"Primitive",inheritAttrs:!1,
props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}
},setup(e,{attrs:t,slots:n}){const r=e.asChild?"template":e.as
;return"string"==typeof r&&["area","img","input"].includes(r)?()=>Ui(r,t):"template"!==r?()=>Ui(e.as,t,{
default:n.default}):()=>Ui(u0,t,{default:n.default})}});function p0(e){
return e&&getComputedStyle(e).animationName||"none"}const h0=no({
name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{
type:Boolean}},slots:{},setup(e,{slots:t,expose:n}){var r
;const{present:o,forceMount:a}=Kn(e),i=Fn(),{isPresent:s}=function(e,t){
const n=Fn({}),r=Fn("none"),o=e.value?"mounted":"unmounted",{state:a,dispatch:i}=c0(o,{
mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},
unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{
MOUNT:"mounted"}}),s=e=>{var n;if(qJ){const r=new CustomEvent(e,{bubbles:!1,
cancelable:!1});null==(n=t.value)||n.dispatchEvent(r)}};Ma(e,(async(e,o)=>{var a
;const l=o!==e;if(await yr(),l){const l=r.value,c=p0(t.value)
;e?(i("MOUNT"),s("enter"),
"none"===c&&s("after-enter")):"none"===c||"none"===(null==(a=n.value)?void 0:a.display)?(i("UNMOUNT"),
s("leave"),
s("after-leave")):o&&l!==c?(i("ANIMATION_OUT"),s("leave")):(i("UNMOUNT"),
s("after-leave"))}}),{immediate:!0});const l=e=>{
const n=p0(t.value),r=n.includes(e.animationName),o="mounted"===a.value?"enter":"leave"
;e.target===t.value&&r&&(s(`after-${o}`),
i("ANIMATION_END")),e.target===t.value&&"none"===n&&i("ANIMATION_END")},c=e=>{
e.target===t.value&&(r.value=p0(t.value))},u=Ma(t,((e,t)=>{
e?(n.value=getComputedStyle(e),
e.addEventListener("animationstart",c),e.addEventListener("animationcancel",l),
e.addEventListener("animationend",l)):(i("ANIMATION_END"),
null==t||t.removeEventListener("animationstart",c),
null==t||t.removeEventListener("animationcancel",l),
null==t||t.removeEventListener("animationend",l))}),{immediate:!0
}),d=Ma(a,(()=>{const e=p0(t.value);r.value="mounted"===a.value?e:"none"}))
;return Oo((()=>{u(),d()})),{
isPresent:Bi((()=>["mounted","unmountSuspended"].includes(a.value)))}}(o,i);n({
present:s});let l=t.default({present:s});l=t0(l||[]);const c=_i()
;if(l&&(null==l?void 0:l.length)>1){
const e=null!=(r=null==c?void 0:c.parent)&&r.type.name?`<${c.parent.type.name} />`:"component"
;throw new Error([`Detected an invalid children for \`${e}\` for  \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map((e=>`  - ${e}`)).join("\n")].join("\n"))
}return()=>a.value||o.value||s.value?Ui(t.default({present:s})[0],{ref:e=>{
const t=GJ(e)
;return typeof(null==t?void 0:t.hasAttribute)>"u"||(null!=t&&t.hasAttribute("data-radix-popper-content-wrapper")?i.value=t.firstElementChild:i.value=t),
t}}):null}});function f0(e,t){
const n=t.closest("[data-dismissable-layer]"),r=""===e.dataset.dismissableLayer?e:e.querySelector("[data-dismissable-layer]"),o=Array.from(e.ownerDocument.querySelectorAll("[data-dismissable-layer]"))
;return!!(n&&r===n||o.indexOf(r)<o.indexOf(n))}const m0=An({layersRoot:new Set,
layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),g0=no({
__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,
default:!1},asChild:{type:Boolean},as:{}},
emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],
setup(e,{emit:t}){const n=e,r=t,{forwardRef:o,currentElement:a}=i0(),i=Bi((()=>{
var e;return(null==(e=a.value)?void 0:e.ownerDocument)??globalThis.document
})),s=Bi((()=>m0.layersRoot)),l=Bi((()=>a.value?Array.from(s.value).indexOf(a.value):-1)),c=Bi((()=>m0.layersWithOutsidePointerEventsDisabled.size>0)),u=Bi((()=>{
const e=Array.from(s.value),[t]=[...m0.layersWithOutsidePointerEventsDisabled].slice(-1),n=e.indexOf(t)
;return l.value>=n})),d=function(e,t){var n
;const r=(null==(n=null==t?void 0:t.value)?void 0:n.ownerDocument)??(null==globalThis?void 0:globalThis.document),o=Fn(!1),a=Fn((()=>{}))
;return Na((n=>{if(!qJ)return;const i=async n=>{const i=n.target
;if(null!=t&&t.value){if(f0(t.value,i))return void(o.value=!1)
;if(n.target&&!o.value){let t=function(){
QJ("dismissableLayer.pointerDownOutside",e,o)};const o={originalEvent:n}
;"touch"===n.pointerType?(r.removeEventListener("click",a.value),
a.value=t,r.addEventListener("click",a.value,{once:!0})):t()
}else r.removeEventListener("click",a.value);o.value=!1}
},s=window.setTimeout((()=>{r.addEventListener("pointerdown",i)}),0);n((()=>{
window.clearTimeout(s),
r.removeEventListener("pointerdown",i),r.removeEventListener("click",a.value)}))
})),{onPointerDownCapture:()=>o.value=!0}}((async e=>{
const t=[...m0.branches].some((t=>t.contains(e.target)))
;!u.value||t||(r("pointerDownOutside",e),
r("interactOutside",e),await yr(),e.defaultPrevented||r("dismiss"))
}),a),p=function(e,t){var n
;const r=(null==(n=null==t?void 0:t.value)?void 0:n.ownerDocument)??(null==globalThis?void 0:globalThis.document),o=Fn(!1)
;return Na((n=>{if(!qJ)return;const a=async n=>{
null!=t&&t.value&&(await yr(),t.value&&!f0(t.value,n.target)&&n.target&&!o.value&&QJ("dismissableLayer.focusOutside",e,{
originalEvent:n}))}
;r.addEventListener("focusin",a),n((()=>r.removeEventListener("focusin",a)))})),
{onFocusCapture:()=>o.value=!0,onBlurCapture:()=>o.value=!1}}((e=>{
[...m0.branches].some((t=>t.contains(e.target)))||(r("focusOutside",e),
r("interactOutside",e),e.defaultPrevented||r("dismiss"))}),a);let h
;return JJ("Escape",(e=>{
l.value===s.value.size-1&&(r("escapeKeyDown",e),e.defaultPrevented||r("dismiss"))
})),Na((e=>{
a.value&&(n.disableOutsidePointerEvents&&(0===m0.layersWithOutsidePointerEventsDisabled.size&&(h=i.value.body.style.pointerEvents,
i.value.body.style.pointerEvents="none"),
m0.layersWithOutsidePointerEventsDisabled.add(a.value)),
s.value.add(a.value),e((()=>{
n.disableOutsidePointerEvents&&1===m0.layersWithOutsidePointerEventsDisabled.size&&(i.value.body.style.pointerEvents=h)
})))})),Na((e=>{e((()=>{
a.value&&(s.value.delete(a.value),m0.layersWithOutsidePointerEventsDisabled.delete(a.value))
}))})),(e,t)=>(ei(),ai(Vn(d0),{ref:Vn(o),"as-child":e.asChild,as:e.as,
"data-dismissable-layer":"",style:tt({
pointerEvents:c.value?u.value?"auto":"none":void 0}),
onFocusCapture:Vn(p).onFocusCapture,onBlurCapture:Vn(p).onBlurCapture,
onPointerdownCapture:Vn(d).onPointerDownCapture},{
default:Ar((()=>[$o(e.$slots,"default")])),_:3
},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))
}});!function(e){let t,n=!1;const r=new bt(!0)}((()=>Fn([])))
;const[v0,b0]=UJ("PopperRoot"),y0=no({__name:"PopperRoot",setup(e){const t=Fn()
;return b0({anchor:t,onAnchorChange:e=>t.value=e}),(e,t)=>$o(e.$slots,"default")
}}),O0=no({__name:"PopperAnchor",props:{element:{},asChild:{type:Boolean},as:{}
},setup(e){const t=e,{forwardRef:n,currentElement:r}=i0(),o=v0()
;return Na((()=>{o.onAnchorChange(t.element??r.value)
})),(e,t)=>(ei(),ai(Vn(d0),{ref:Vn(n),as:e.as,"as-child":e.asChild},{
default:Ar((()=>[$o(e.$slots,"default")])),_:3},8,["as","as-child"]))}})
;function w0(e){return null!==e}function x0(e){return{name:"transformOrigin",
options:e,fn(t){var n,r,o
;const{placement:a,rects:i,middlewareData:s}=t,l=0!==(null==(n=s.arrow)?void 0:n.centerOffset),c=l?0:e.arrowWidth,u=l?0:e.arrowHeight,[d,p]=k0(a),h={
start:"0%",center:"50%",end:"100%"
}[p],f=((null==(r=s.arrow)?void 0:r.x)??0)+c/2,m=((null==(o=s.arrow)?void 0:o.y)??0)+u/2
;let g="",v=""
;return"bottom"===d?(g=l?h:`${f}px`,v=-u+"px"):"top"===d?(g=l?h:`${f}px`,
v=`${i.floating.height+u}px`):"right"===d?(g=-u+"px",
v=l?h:`${m}px`):"left"===d&&(g=`${i.floating.width+u}px`,v=l?h:`${m}px`),{data:{
x:g,y:v}}}}}function k0(e){const[t,n="center"]=e.split("-");return[t,n]}
const[S0,_0]=UJ("PopperContent"),E0=no({inheritAttrs:!1,__name:"PopperContent",
props:qo({side:{},sideOffset:{},align:{},alignOffset:{},avoidCollisions:{
type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},
sticky:{},hideWhenDetached:{type:Boolean},updatePositionStrategy:{},
prioritizePosition:{type:Boolean},asChild:{type:Boolean},as:{}},{side:"bottom",
sideOffset:0,align:"center",alignOffset:0,arrowPadding:0,avoidCollisions:!0,
collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",
hideWhenDetached:!1,updatePositionStrategy:"optimized",prioritizePosition:!1}),
emits:["placed"],setup(e,{emit:t}){
const n=e,r=t,o=v0(),{forwardRef:a,currentElement:i}=i0(),s=Fn(),l=Fn(),{width:c,height:u}=function(e){
const t=Fn(),n=Bi((()=>{var e;return(null==(e=t.value)?void 0:e.width)??0
})),r=Bi((()=>{var e;return(null==(e=t.value)?void 0:e.height)??0}))
;return go((()=>{const n=GJ(e);if(n){t.value={width:n.offsetWidth,
height:n.offsetHeight};const e=new ResizeObserver((e=>{
if(!Array.isArray(e)||!e.length)return;const r=e[0];let o,a
;if("borderBoxSize"in r){const e=r.borderBoxSize,t=Array.isArray(e)?e[0]:e
;o=t.inlineSize,a=t.blockSize}else o=n.offsetWidth,a=n.offsetHeight;t.value={
width:o,height:a}}));return e.observe(n,{box:"border-box"}),()=>e.unobserve(n)}
t.value=void 0})),{width:n,height:r}
}(l),d=Bi((()=>n.side+("center"!==n.align?`-${n.align}`:""))),p=Bi((()=>"number"==typeof n.collisionPadding?n.collisionPadding:{
top:0,right:0,bottom:0,left:0,...n.collisionPadding
})),h=Bi((()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary])),f=Bi((()=>({
padding:p.value,boundary:h.value.filter(w0),altBoundary:h.value.length>0
}))),m=function(e,t){const n=zn();return Na((()=>{n.value=e()}),{...t,
flush:"sync"}),Dn(n)}((()=>{return[CJ({mainAxis:n.sideOffset+u.value,
alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&PJ({
...f.value}),n.avoidCollisions&&AJ({mainAxis:!0,
crossAxis:!!n.prioritizePosition,limiter:"partial"===n.sticky?NJ():void 0,
...f.value}),!n.prioritizePosition&&n.avoidCollisions&&PJ({...f.value}),DJ({
...f.value,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{
const{width:o,height:a}=t.reference,i=e.floating.style
;i.setProperty("--radix-popper-available-width",`${n}px`),
i.setProperty("--radix-popper-available-height",`${r}px`),
i.setProperty("--radix-popper-anchor-width",`${o}px`),
i.setProperty("--radix-popper-anchor-height",`${a}px`)}}),l.value&&(e={
element:l.value,padding:n.arrowPadding},{name:"arrow",options:e,fn(t){
const n=IJ(LJ(e.element));return null==n?{}:$J({element:n,padding:e.padding
}).fn(t)}}),x0({arrowWidth:c.value,arrowHeight:u.value
}),n.hideWhenDetached&&RJ({strategy:"referenceHidden",...f.value})];var e
})),{floatingStyles:g,placement:v,isPositioned:b,middlewareData:y}=function(e,t,n){
void 0===n&&(n={});const r=n.whileElementsMounted,o=Bi((()=>{var e
;return null==(e=LJ(n.open))||e})),a=Bi((()=>LJ(n.middleware))),i=Bi((()=>{var e
;return null!=(e=LJ(n.placement))?e:"bottom"})),s=Bi((()=>{var e
;return null!=(e=LJ(n.strategy))?e:"absolute"})),l=Bi((()=>{var e
;return null==(e=LJ(n.transform))||e
})),c=Bi((()=>IJ(e.value))),u=Bi((()=>IJ(t.value))),d=Fn(0),p=Fn(0),h=Fn(s.value),f=Fn(i.value),m=zn({}),g=Fn(!1),v=Bi((()=>{
const e={position:h.value,left:"0",top:"0"};if(!u.value)return e
;const t=BJ(u.value,d.value),n=BJ(u.value,p.value);return l.value?{...e,
transform:"translate("+t+"px, "+n+"px)",...jJ(u.value)>=1.5&&{
willChange:"transform"}}:{position:h.value,left:t+"px",top:n+"px"}}));let b
;function y(){null!=c.value&&null!=u.value&&MJ(c.value,u.value,{
middleware:a.value,placement:i.value,strategy:s.value}).then((e=>{
d.value=e.x,p.value=e.y,
h.value=e.strategy,f.value=e.placement,m.value=e.middlewareData,g.value=!0}))}
function O(){"function"==typeof b&&(b(),b=void 0)}return Ma([a,i,s],y,{
flush:"sync"}),Ma([c,u],(function(){
O(),void 0!==r?null==c.value||null==u.value||(b=r(c.value,u.value,y)):y()}),{
flush:"sync"}),Ma(o,(function(){o.value||(g.value=!1)}),{flush:"sync"
}),yt()&&Ot(O),{x:Rn(d),y:Rn(p),strategy:Rn(h),placement:Rn(f),
middlewareData:Rn(m),isPositioned:Rn(g),floatingStyles:v,update:y}}(o.anchor,s,{
strategy:"fixed",placement:d,whileElementsMounted:(...e)=>TJ(...e,{
animationFrame:"always"===n.updatePositionStrategy}),middleware:m
}),O=Bi((()=>k0(v.value)[0])),w=Bi((()=>k0(v.value)[1]));Na((()=>{
b.value&&r("placed")}));const x=Bi((()=>{var e
;return 0!==(null==(e=y.value.arrow)?void 0:e.centerOffset)})),k=Fn("")
;Na((()=>{i.value&&(k.value=window.getComputedStyle(i.value).zIndex)}))
;const S=Bi((()=>{var e;return(null==(e=y.value.arrow)?void 0:e.x)??0
})),_=Bi((()=>{var e;return(null==(e=y.value.arrow)?void 0:e.y)??0}))
;return _0({placedSide:O,onArrowChange:e=>l.value=e,arrowX:S,arrowY:_,
shouldHideArrow:x}),(e,t)=>{var r,o,i;return ei(),oi("div",{
ref_key:"floatingRef",ref:s,"data-radix-popper-content-wrapper":"",style:tt({
...Vn(g),transform:Vn(b)?Vn(g).transform:"translate(0, -200%)",
minWidth:"max-content",zIndex:k.value,
"--radix-popper-transform-origin":[null==(r=Vn(y).transformOrigin)?void 0:r.x,null==(o=Vn(y).transformOrigin)?void 0:o.y].join(" "),
...(null==(i=Vn(y).hide)?void 0:i.referenceHidden)&&{visibility:"hidden",
pointerEvents:"none"}})},[di(Vn(d0),Oi({ref:Vn(a)},e.$attrs,{
"as-child":n.asChild,as:e.as,"data-side":O.value,"data-align":w.value,style:{
animation:Vn(b)?void 0:"none"}}),{default:Ar((()=>[$o(e.$slots,"default")])),_:3
},16,["as-child","as","data-side","data-align","style"])],4)}}}),T0=no({
__name:"VisuallyHidden",props:{asChild:{type:Boolean},as:{default:"span"}},
setup:e=>(i0(),(e,t)=>(ei(),ai(Vn(d0),{as:e.as,"as-child":e.asChild,style:{
position:"absolute",border:0,width:"1px",display:"inline-block",height:"1px",
padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",
whiteSpace:"nowrap",wordWrap:"normal"}},{
default:Ar((()=>[$o(e.$slots,"default")])),_:3},8,["as","as-child"])))})
;!function(){
if("function"==typeof matchMedia)matchMedia("(pointer:coarse)").matches}()
;const C0="tooltip.open",[A0,P0]=UJ("TooltipProvider"),D0=no({
__name:"TooltipProvider",props:{delayDuration:{default:700},skipDelayDuration:{
default:300},disableHoverableContent:{type:Boolean,default:!1},
disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},
ignoreNonKeyboardFocus:{type:Boolean,default:!1}},setup(e){
const t=e,{delayDuration:n,skipDelayDuration:r,disableHoverableContent:o,disableClosingTrigger:a,ignoreNonKeyboardFocus:i,disabled:s}=Kn(t)
;i0();const l=Fn(!0),c=Fn(!1),{start:u,stop:d}=XJ((()=>{l.value=!0}),r,{
immediate:!1});return P0({isOpenDelayed:l,delayDuration:n,onOpen(){
d(),l.value=!1},onClose(){u()},isPointerInTransitRef:c,
disableHoverableContent:o,disableClosingTrigger:a,disabled:s,
ignoreNonKeyboardFocus:i}),(e,t)=>$o(e.$slots,"default")}
}),[R0,$0]=UJ("TooltipRoot"),N0=no({__name:"TooltipRoot",props:{defaultOpen:{
type:Boolean,default:!1},open:{type:Boolean,default:void 0},delayDuration:{
default:void 0},disableHoverableContent:{type:Boolean,default:void 0},
disableClosingTrigger:{type:Boolean,default:void 0},disabled:{type:Boolean,
default:void 0},ignoreNonKeyboardFocus:{type:Boolean,default:void 0}},
emits:["update:open"],setup(e,{emit:t}){const n=e,r=t;i0()
;const o=A0(),a=Bi((()=>n.disableHoverableContent??o.disableHoverableContent.value)),i=Bi((()=>n.disableClosingTrigger??o.disableClosingTrigger.value)),s=Bi((()=>n.disabled??o.disabled.value)),l=Bi((()=>n.delayDuration??o.delayDuration.value)),c=Bi((()=>n.ignoreNonKeyboardFocus??o.ignoreNonKeyboardFocus.value)),u=e0(n,"open",r,{
defaultValue:n.defaultOpen,passive:void 0===n.open});Ma(u,(e=>{
o.onClose&&(e?(o.onOpen(),
document.dispatchEvent(new CustomEvent(C0))):o.onClose())}))
;const d=Fn(!1),p=Fn(),h=Bi((()=>u.value?d.value?"delayed-open":"instant-open":"closed")),{start:f,stop:m}=XJ((()=>{
d.value=!0,u.value=!0}),l,{immediate:!1});function g(){m(),d.value=!1,u.value=!0
}function v(){m(),u.value=!1}return $0({contentId:"",open:u,stateAttribute:h,
trigger:p,onTriggerChange(e){p.value=e},onTriggerEnter(){
o.isOpenDelayed.value?f():g()},onTriggerLeave(){a.value?v():m()},onOpen:g,
onClose:v,disableHoverableContent:a,disableClosingTrigger:i,disabled:s,
ignoreNonKeyboardFocus:c}),(e,t)=>(ei(),ai(Vn(y0),null,{
default:Ar((()=>[$o(e.$slots,"default",{open:Vn(u)})])),_:3}))}}),M0=no({
__name:"TooltipTrigger",props:{asChild:{type:Boolean},as:{default:"button"}},
setup(e){const t=e,n=R0(),r=A0()
;n.contentId||(n.contentId=function(e,t="radix"){const{useId:n}=n0({useId:void 0
});return n&&"function"==typeof n?`${t}-${n()}`:`${t}-${++l0}`
}(0,"radix-vue-tooltip-content"))
;const{forwardRef:o,currentElement:a}=i0(),i=Fn(!1),s=Fn(!1),l=Bi((()=>n.disabled.value?{}:{
click:m,focus:h,pointermove:d,pointerleave:p,pointerdown:u,blur:f}))
;function c(){i.value=!1}function u(){
i.value=!0,document.addEventListener("pointerup",c,{once:!0})}function d(e){
"touch"!==e.pointerType&&!s.value&&!r.isPointerInTransitRef.value&&(n.onTriggerEnter(),
s.value=!0)}function p(){n.onTriggerLeave(),s.value=!1}function h(e){var t,r
;i.value||n.ignoreNonKeyboardFocus.value&&(null==(r=(t=e.target).matches)||!r.call(t,":focus-visible"))||n.onOpen()
}function f(){n.onClose()}function m(){
n.disableClosingTrigger.value||n.onClose()}return go((()=>{
n.onTriggerChange(a.value)})),(e,r)=>(ei(),ai(Vn(O0),{"as-child":""},{
default:Ar((()=>[di(Vn(d0),Oi({ref:Vn(o),
"aria-describedby":Vn(n).open.value?Vn(n).contentId:void 0,
"data-state":Vn(n).stateAttribute.value,as:e.as,"as-child":t.asChild,
"data-grace-area-trigger":""},Mo(l.value)),{
default:Ar((()=>[$o(e.$slots,"default")])),_:3
},16,["aria-describedby","data-state","as","as-child"])])),_:3}))}}),I0=no({
__name:"TooltipContentImpl",props:{ariaLabel:{},asChild:{type:Boolean},as:{},
side:{default:"top"},sideOffset:{default:0},align:{default:"center"},
alignOffset:{},avoidCollisions:{type:Boolean,default:!0},collisionBoundary:{
default:()=>[]},collisionPadding:{default:0},arrowPadding:{default:0},sticky:{
default:"partial"},hideWhenDetached:{type:Boolean,default:!1}},
emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){
const n=e,r=t,o=R0(),{forwardRef:a}=i0(),i=Uo(),s=Bi((()=>{var e
;return null==(e=i.default)?void 0:e.call(i)})),l=Bi((()=>{var e
;if(n.ariaLabel)return n.ariaLabel;let t="";function r(e){
"string"==typeof e.children?t+=e.children:Array.isArray(e.children)&&e.children.forEach((e=>r(e)))
}return null==(e=s.value)||e.forEach((e=>r(e))),t})),c=Bi((()=>{
const{ariaLabel:e,...t}=n;return t}));return go((()=>{KJ(window,"scroll",(e=>{
const t=e.target;null!=t&&t.contains(o.trigger.value)&&o.onClose()
})),KJ(window,C0,o.onClose)})),(e,t)=>(ei(),ai(Vn(g0),{"as-child":"",
"disable-outside-pointer-events":!1,
onEscapeKeyDown:t[0]||(t[0]=e=>r("escapeKeyDown",e)),
onPointerDownOutside:t[1]||(t[1]=e=>{var t
;Vn(o).disableClosingTrigger.value&&null!=(t=Vn(o).trigger.value)&&t.contains(e.target)&&e.preventDefault(),
r("pointerDownOutside",e)}),
onFocusOutside:t[2]||(t[2]=Xs((()=>{}),["prevent"])),
onDismiss:t[3]||(t[3]=e=>Vn(o).onClose())},{default:Ar((()=>[di(Vn(E0),Oi({
ref:Vn(a),"data-state":Vn(o).stateAttribute.value},{...e.$attrs,...c.value},{
style:{
"--radix-tooltip-content-transform-origin":"var(--radix-popper-transform-origin)",
"--radix-tooltip-content-available-width":"var(--radix-popper-available-width)",
"--radix-tooltip-content-available-height":"var(--radix-popper-available-height)",
"--radix-tooltip-trigger-width":"var(--radix-popper-anchor-width)",
"--radix-tooltip-trigger-height":"var(--radix-popper-anchor-height)"}}),{
default:Ar((()=>[$o(e.$slots,"default"),di(Vn(T0),{id:Vn(o).contentId,
role:"tooltip"},{default:Ar((()=>[fi(ht(l.value),1)])),_:1},8,["id"])])),_:3
},16,["data-state"])])),_:3}))}}),L0=no({__name:"TooltipContentHoverable",
props:{ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{},align:{},
alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},
collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},
setup(e){
const t=o0(e),{forwardRef:n,currentElement:r}=i0(),{trigger:o,onClose:a}=R0(),i=A0(),{isPointerInTransit:s,onPointerExit:l}=s0(o,r)
;return i.isPointerInTransitRef=s,l((()=>{a()})),(e,r)=>(ei(),ai(I0,Oi({
ref:Vn(n)},Vn(t)),{default:Ar((()=>[$o(e.$slots,"default")])),_:3},16))}
}),j0=no({__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},
asChild:{type:Boolean},as:{},side:{default:"top"},sideOffset:{},align:{},
alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},
collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean}},
emits:["escapeKeyDown","pointerDownOutside"],setup(e,{emit:t}){
const n=e,r=t,o=R0(),a=a0(n,r),{forwardRef:i}=i0()
;return(e,t)=>(ei(),ai(Vn(h0),{present:e.forceMount||Vn(o).open.value},{
default:Ar((()=>[(ei(),ai(Co(Vn(o).disableHoverableContent.value?I0:L0),Oi({
ref:Vn(i)},Vn(a)),{default:Ar((()=>[$o(e.$slots,"default")])),_:3},16))])),_:3
},8,["present"]))}}),B0={class:"custom-scroll min-h-0 flex-1"},U0={
class:"flex flex-col p-0.75"},Q0=no({__name:"ScalarDropdownMenu",props:{is:{}},
setup:e=>(e,t)=>(ei(),ai(Co(e.is??"div"),{
class:"relative flex w-56 rounded border",role:"menu",tabindex:"0"},{
default:Ar((()=>[ui("div",B0,[ui("div",U0,[$o(e.$slots,"default")]),t[0]||(t[0]=ui("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"
},null,-1))])])),_:3}))}),F0=no({inheritAttrs:!1,__name:"ScalarDropdown",props:{
placement:{},resize:{type:Boolean},target:{},middleware:{},teleport:{
type:[Boolean,String]}},setup(e){const{cx:t}=AB()
;return(e,n)=>(ei(),ai(Vn(VI),null,{default:Ar((({open:n})=>[di(Vn(BK),{
middleware:e.middleware,placement:e.placement??"bottom-start",resize:e.resize,
target:e.target,teleport:e.teleport},{floating:Ar((({width:r})=>[di(Q0,Oi({
is:Vn(WI),style:{width:r}},Vn(t)("max-h-[inherit]")),{
default:Ar((()=>[$o(e.$slots,"items",{open:n})])),_:2},1040,["is","style"])])),
default:Ar((()=>[di(Vn(ZI),{as:"template"},{
default:Ar((()=>[$o(e.$slots,"default",{open:n})])),_:2},1024)])),_:2
},1032,["middleware","placement","resize","target","teleport"])])),_:3}))}
}),z0={key:1,class:"rounded border bg-b-2 p-3 text-sm"},q0={key:0,
class:"mt-2 rounded border bg-b-1 p-2 font-code text-c-2"},H0=no({
__name:"ScalarErrorBoundary",setup(e){const t=Fn(!1),n=Fn()
;return So(((e,r,o)=>(console.error("[ERROR]",e,o),
t.value=!0,n.value=e,!1))),(e,r)=>{var o,a
;return t.value?(ei(),oi("div",z0,[r[0]||(r[0]=ui("div",{class:"p-2"
},"Oops, something went wrong here.",-1)),n.value?(ei(),
oi("div",q0,ht(null==(o=n.value)?void 0:o.name)+": "+ht(null==(a=n.value)?void 0:a.message),1)):gi("",!0)])):$o(e.$slots,"default",{
key:0})}}}),V0=["ariaDisabled"],Z0={class:"sr-only"},W0=no({inheritAttrs:!1,
__name:"ScalarIconButton",props:{label:{},icon:{},disabled:{type:Boolean},
variant:{default:"ghost"},size:{default:"md"},thickness:{}},setup(e){
const{cx:t}=AB(),n=EB({
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:"h-full w-full"},disabled:{true:"cursor-not-allowed shadow-none"},
variant:PB}});return(e,r)=>(ei(),oi("button",Oi({
ariaDisabled:e.disabled||void 0,type:"button"},Vn(t)(Vn(n)({size:e.size,
variant:e.variant,disabled:e.disabled}))),[di(Vn(oY),{icon:e.icon,
thickness:e.thickness
},null,8,["icon","thickness"]),ui("span",Z0,ht(e.label),1)],16,V0))}}),X0=no({
__name:"ScalarListboxItem",props:{option:{},style:{}},setup(e){const t=EB({
base:["group/item","flex min-w-0 items-center gap-1.5 rounded px-2 py-1.5 text-left","first-of-type:mt-0.75 last-of-type:mb-0.75","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,n)=>(ei(),ai(Vn(QI),{
as:"template",disabled:e.option.disabled,value:e.option},{
default:Ar((({active:n,selected:r})=>[ui("li",{class:it(Vn(TB)(Vn(t)({active:n,
selected:r,disabled:e.option.disabled})))},[di(cY,{selected:r,style:tt(e.style)
},null,8,["selected","style"]),ui("span",{
class:it(["inline-block min-w-0 flex-1 truncate",e.option.color?e.option.color:"text-c-1"])
},ht(e.option.label),3)],2)])),_:1},8,["disabled","value"]))}}),G0={
class:"custom-scroll min-h-0 flex-1"},Y0=no({inheritAttrs:!1,
__name:"ScalarListbox",props:{options:{},id:{},label:{},multiple:{type:Boolean},
modelValue:{},placement:{},resize:{type:Boolean},target:{},middleware:{},
teleport:{type:[Boolean,String]}},emits:["update:modelValue"],setup(e){
const{cx:t}=AB();return(e,n)=>(ei(),ai(Vn(LI),{modelValue:e.modelValue,
multiple:e.multiple,
"onUpdate:modelValue":n[0]||(n[0]=t=>e.$emit("update:modelValue",t))},{
default:Ar((({open:r})=>[e.label?(ei(),ai(Vn(jI),{key:0,class:"sr-only"},{
default:Ar((()=>[fi(ht(e.label),1)])),_:1})):gi("",!0),di(Vn(BK),{
middleware:e.middleware,placement:e.placement??"bottom-start",resize:e.resize,
target:e.target,teleport:e.teleport},{
floating:Ar((({width:o})=>[r?(ei(),oi("div",Oi({key:0,style:{width:o}
},Vn(t)("relative flex max-h-[inherit] w-40 rounded border text-sm")),[ui("div",G0,[di(Vn(UI),{
class:"flex flex-col p-0.75"},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(e.options,(t=>(ei(),ai(X0,{key:t.id,
option:t,style:tt(e.multiple?"checkbox":"radio")
},null,8,["option","style"])))),128))])),_:1})]),n[1]||(n[1]=ui("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-md brightness-lifted"
},null,-1))],16)):gi("",!0)])),default:Ar((()=>[di(Vn(BI),{id:e.id,
as:"template",
class:"justify-start focus:outline-none focus-visible:ring-1 focus-visible:ring-c-accent"
},{default:Ar((()=>[$o(e.$slots,"default",{open:r})])),_:2},1032,["id"])])),_:2
},1032,["middleware","placement","resize","target","teleport"])])),_:3
},8,["modelValue","multiple"]))}}),K0=["innerHTML"],J0=no({
__name:"ScalarMarkdown",props:{value:{},withImages:{type:Boolean,default:!1},
transform:{},transformType:{},clamp:{type:[String,Boolean]}},setup(e){
const t=e,n=Bi((()=>function(e,t){
const n=(null==t?void 0:t.removeTags)??[],r=[...Lb.tagNames??[],...(null==t?void 0:t.allowTags)??[]].filter((e=>!n.includes(e)))
;return FS().use(Zk).use(gk).use(jT,{transform:null==t?void 0:t.transform,
type:null==t?void 0:t.transformType}).use(pS,{allowDangerousHtml:!0
}).use(Mb).use(Hb,{...Lb,clobberPrefix:"",tagNames:r,attributes:{
...Lb.attributes,abbr:["title"]}}).use(IT,{languages:LT,detect:!0}).use(Ah,{
target:"_blank"}).use(rf).use(Ny).processSync(e).toString()}(t.value??"",{
removeTags:t.withImages?[]:["img","picture"],transform:t.transform,
transformType:t.transformType})))
;return wo((async()=>await(e=>new Promise((t=>setTimeout(t,e))))(1))),
(e,t)=>(ei(),oi("div",{class:it(["markdown text-ellipsis",{
"line-clamp-4":e.clamp}]),style:tt({
"-webkit-line-clamp":"string"==typeof e.clamp?e.clamp:void 0}),innerHTML:n.value
},null,14,K0))}}),e1=no({inheritAttrs:!1,__name:"ScalarPopover",props:{
placement:{},resize:{type:Boolean},target:{},middleware:{},teleport:{
type:[Boolean,String]}},setup(e){const{cx:t}=AB();return(e,n)=>(ei(),ai(Vn(rL),{
as:"template"},{default:Ar((({open:r})=>[di(Vn(BK),st(pi(e.$props)),{
floating:Ar((({width:o,height:a})=>[di(Vn(aL),Oi({style:{width:o,height:a}
},Vn(t)("relative flex flex-col p-0.75")),{
default:Ar((({close:t})=>[$o(e.$slots,"popover",{close:()=>t(),open:r
}),n[0]||(n[0]=ui("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"
},null,-1))])),_:2},1040,["style"])])),default:Ar((()=>[di(Vn(oL),{as:"template"
},{default:Ar((()=>[$o(e.$slots,"default",{open:r})])),_:2},1024)])),_:2
},1040)])),_:3}))}}),t1=no({inheritAttrs:!1,__name:"ScalarSearchResultList",
props:{noResults:{type:Boolean}},setup(e){const{cx:t}=AB()
;return(e,n)=>(ei(),oi("ul",Oi({role:"listbox"
},Vn(t)("flex flex-col")),[e.noResults?$o(e.$slots,"noResults",{key:0
},(()=>[n[0]||(n[0]=ui("div",{class:"flex flex-col items-center gap-2 px-3 py-4"
},[ui("div",{class:"rotate-90 text-lg font-bold"},":("),ui("div",{
class:"text-sm font-medium text-c-2"
},"No results found")],-1))])):gi("",!0),$o(e.$slots,"default")],16))}}),n1={
class:"contents",role:"option"},r1={key:0,
class:"flex h-fit items-center text-sm font-medium text-c-3 group-hover:text-c-1"
},o1={class:"flex min-w-0 flex-1 flex-col gap-0.75"},a1={
class:"flex items-center gap-1"},i1={class:"flex-1 truncate text-sm font-medium"
},s1={key:0,class:"text-sm text-c-2"},l1={key:0,
class:"truncate text-sm text-c-2"},c1=no({inheritAttrs:!1,
__name:"ScalarSearchResultItem",props:{icon:{},active:{type:Boolean}},setup(e){
const{cx:t}=AB()
;return(e,n)=>(ei(),oi("li",n1,[ui("a",st(pi(Vn(t)("group flex cursor-pointer gap-2.5 rounded px-3 py-1.5 no-underline hover:bg-b-2",{
"bg-b-2":e.active
}))),[e.icon?(ei(),oi("div",r1,[$o(e.$slots,"icon",{},(()=>[e.icon?(ei(),
ai(Vn(oY),{key:0,icon:e.icon,size:"sm"
},null,8,["icon"])):gi("",!0)])),n[0]||(n[0]=ui("span",null," ",-1))])):gi("",!0),ui("div",o1,[ui("div",a1,[ui("div",i1,[$o(e.$slots,"default")]),e.$slots.addon?(ei(),
oi("div",s1,[$o(e.$slots,"addon")])):gi("",!0)]),e.$slots.description?(ei(),
oi("div",l1,[$o(e.$slots,"description")])):gi("",!0)])],16)]))}
}),u1=["id"],d1=no({inheritAttrs:!1,__name:"ScalarTeleportRoot",props:{id:{}},
setup(e){const t=(e=>{const t=e??`scalar-teleport-${ND()}`
;return sa(LK,`#${t}`),t})(e.id)
;return(e,n)=>(ei(),oi(Wa,null,[$o(e.$slots,"default"),ui("div",{id:Vn(t),
class:"scalar-teleport-root contents"},null,8,u1)],64))}}),p1=no({
__name:"ScalarTooltip",props:{click:{},delay:{},skipDelay:{default:1e3},align:{
default:"center"},side:{default:"top"},sideOffset:{},class:{},triggerClass:{},
resize:{type:Boolean},as:{},disabled:{type:Boolean,default:!1}},emits:["click"],
setup(e){const t=e;return(e,n)=>(ei(),ai(Vn(D0),{delayDuration:t.delay,
skipDelayDuration:t.skipDelay},{default:Ar((()=>[di(Vn(N0),null,{
default:Ar((()=>[di(Vn(M0),{as:t.as||"button",
class:it(["flex items-center justify-center",[t.resize?"w-full":"",t.triggerClass]]),
onClick:t.click},{default:Ar((()=>[$o(e.$slots,"trigger")])),_:3
},8,["as","class","onClick"]),di(Vn(jK),null,{
default:Ar((()=>[t.disabled?gi("",!0):(ei(),ai(Vn(j0),{key:0,align:t.align,
class:it(["scalar-app z-context",t.class]),side:t.side,sideOffset:t.sideOffset
},{default:Ar((()=>[$o(e.$slots,"content")])),_:3
},8,["align","class","side","sideOffset"]))])),_:3})])),_:3})])),_:3
},8,["delayDuration","skipDelayDuration"]))}}),h1=no({
__name:"ScalarVirtualText",props:{text:{},lineHeight:{default:20},
containerClass:{default:""},contentClass:{default:""},lineClass:{default:""}},
setup(e){
const t=e,n=Fn(null),r=Fn(null),o=Fn(0),a=Fn(0),i=Bi((()=>t.text.split("\n"))),s=Bi((()=>i.value.length*t.lineHeight)),l=Bi((()=>Math.floor(o.value/t.lineHeight))),c=Bi((()=>Math.min(Math.ceil((o.value+a.value)/t.lineHeight),i.value.length))),u=Bi((()=>{
const e=Math.max(0,l.value-10),t=Math.min(i.value.length,c.value+10)
;return i.value.slice(e,t)})),d=Bi((()=>({height:`${s.value}px`,
transform:`translateY(${Math.max(0,l.value-10)*t.lineHeight}px)`
}))),p=()=>n.value&&(o.value=n.value.scrollTop),h=()=>n.value&&(a.value=n.value.clientHeight)
;return go((()=>{h(),window.addEventListener("resize",h)})),yo((()=>{
window.removeEventListener("resize",h)})),Na((()=>{
r.value&&(r.value.style.transform=`translateY(${Math.max(0,l.value-10)*t.lineHeight}px)`)
})),(e,o)=>(ei(),oi("div",{ref_key:"containerRef",ref:n,
class:it(["scalar-virtual-text relative min-h-[200px] overflow-auto",e.containerClass]),
onScroll:p},[ui("code",{ref_key:"contentRef",ref:r,
class:it(["scalar-virtual-text-content absolute",e.contentClass]),
style:tt(d.value)},[(ei(!0),oi(Wa,null,Do(u.value,((n,r)=>(ei(),oi("div",{
key:l.value+r,class:it(["scalar-virtual-text-line",e.lineClass]),style:tt({
height:`${t.lineHeight}px`,lineHeight:`${t.lineHeight}px`})
},ht(n),7)))),128))],6)],34))}}),f1={class:"-mx-0.75 my-0.75 h-px bg-border"}
;const m1=MB({},[["render",function(e,t,n,r,o,a){return ei(),oi("div",f1)
}]]),g1=no({__name:"ScalarDropdownButton",props:{active:{type:Boolean},
disabled:{type:Boolean}},emits:["click"],setup(e){const t=EB({
base:["h-8 min-w-0 items-center gap-1.5 rounded px-2.5 py-1.5 text-left","truncate 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,n)=>(ei(),oi("button",{
class:it(["item",Vn(TB)("scalar-dropdown-item",Vn(t)({active:e.active,
disabled:e.disabled}))]),type:"button",
onClick:n[0]||(n[0]=t=>e.$emit("click",t))
},[$o(e.$slots,"default",{},void 0,!0)],2))}
}),v1=MB(g1,[["__scopeId","data-v-4082ccb6"]]),b1=no({
__name:"ScalarDropdownItem",props:{disabled:{type:Boolean}},emits:["click"],
setup:e=>(e,t)=>(ei(),ai(Vn(XI),{disabled:e.disabled},{
default:Ar((({active:n})=>[di(v1,{active:n,disabled:e.disabled,
onClick:t[0]||(t[0]=t=>e.$emit("click",t))},{
default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:2
},1032,["active","disabled"])])),_:3},8,["disabled"]))
}),y1=MB(b1,[["__scopeId","data-v-457c1cd3"]]),O1={key:0,
class:"close-button z-10 fixed right-2 top-2"};function w1(){return An({open:!1,
show(){this.open=!0},hide(){this.open=!1}})}const x1=no({__name:"ScalarModal",
props:{state:{},title:{},bodyClass:{},maxWidth:{},size:{default:"md"},variant:{}
},setup(e){const t=EB({
base:["scalar-modal","col relative mx-auto mb-0 rounded-lg bg-b-1 p-0 text-left leading-snug text-c-1 opacity-0 md:w-[calc(100vw-16px)] lg:w-[calc(100vw-32px)]"].join(" "),
variants:{size:{xxs:"mt-20 max-w-screen-xxs",xs:"mt-20 max-w-screen-xs",
sm:"mt-20 max-w-screen-sm",md:"mt-20 max-w-screen-md",
lg:"m-auto max-w-screen-lg",xl:"m-auto max-w-screen-xl",
full:"full-size-styles mt-0 lg:w-full"},variant:{form:"scalar-modal-form",
history:"scalar-modal-history bg-b-1",search:"scalar-modal-search",
error:"scalar-modal-error"}}}),n=EB({
base:["scalar-modal-body","relative max-h-[calc(100dvh-240px)] rounded-lg rounded-t-none border-t-1/2 bg-b-1 p-3"].join(" "),
variants:{variant:{form:"overflow-visible",history:"pt-3",
search:"col !m-0 max-h-[440px] overflow-hidden p-0",error:"overflow-y-scroll"},
size:{xxs:"max-h-[calc(100dvh-240px)]",xs:"max-h-[calc(100dvh-240px)]",
sm:"max-h-[calc(100dvh-240px)]",md:"max-h-[calc(100dvh-240px)]",
lg:"max-h-[calc(100dvh-180px)]",xl:"m-0 max-h-[calc(100dvh-120px)] p-0",
full:"max-h-dvh rounded-none"}}});return(e,r)=>(ei(),ai(Vn(vI),{
open:e.state.open,onClose:r[1]||(r[1]=t=>e.state.hide())},{
default:Ar((()=>[ui("div",{
class:it(Vn(TB)("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-backdropdark","full"===e.size&&"flex"))
},[di(Vn(bI),{class:it(Vn(t)({size:e.size,variant:e.variant})),style:tt({
maxWidth:e.maxWidth})},{default:Ar((()=>[e.title?(ei(),ai(Vn(yI),{key:0,
class:it(["scalar-modal-header m-0 -mb-1 rounded-lg p-3 text-left text-sm font-medium text-c-1",{
"pb-0 pt-6":"history"===e.variant}])},{default:Ar((()=>[fi(ht(e.title),1)])),_:1
},8,["class"])):gi("",!0),"full"===e.size?(ei(),oi("div",{key:1,
class:it(e.bodyClass)
},[$o(e.$slots,"default",{},void 0,!0)],2)):(ei(),ai(Vn(OI),{key:2,
class:it(Vn(TB)(e.bodyClass,Vn(n)({size:e.size,variant:e.variant})))},{
default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3},8,["class"]))])),
_:3},8,["class","style"]),"full"===e.size?(ei(),oi("div",O1,[di(Vn(W0),{
class:"hover:bg-b-3 focus:outline-none",icon:"Close",label:"Clear Search",
onClose:r[0]||(r[0]=t=>e.state.hide())})])):gi("",!0)],2)])),_:3},8,["open"]))}
}),k1=MB(x1,[["__scopeId","data-v-3129528d"]]),S1=["aria-label","value"],_1=no({
inheritAttrs:!1,__name:"ScalarSearchInput",props:{loading:{},modelValue:{},
sidebar:{type:Boolean},label:{}},emits:["update:modelValue"],
setup(e,{expose:t,emit:n}){const r=n,o=Fn(null);function a(e){
r("update:modelValue",e.target.value)}const i=Bi((()=>{const{class:e,...t}=Qo()
;return{class:e||"",rest:t}})),s=EB({
base:"search-background flex items-center rounded border text-sm font-medium has-[:focus-visible]:bg-b-1 has-[:focus-visible]:outline",
variants:{sidebar:{true:"h-8 gap-2 px-1.5",false:"h-10 p-3"}}});return t({
focus:()=>{var e;null==(e=o.value)||e.focus()},blur:()=>{var e
;null==(e=o.value)||e.blur()}}),(e,t)=>(ei(),oi("label",{class:it(Vn(TB)(Vn(s)({
sidebar:e.sidebar}),i.value.class))},[e.sidebar?(ei(),ai(Vn(oY),{key:0,
class:"text-c-2",icon:"Search",size:"xs",thickness:"2.5"
})):gi("",!0),ui("input",Oi({ref_key:"inputRef",ref:o},i.value.rest,{
"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",value:e.modelValue,
onInput:a}),null,16,S1),e.loading&&e.loading.isLoading?(ei(),ai(Vn(IB),{key:1,
class:"mr-3 self-center",loadingState:e.loading,size:"md"
},null,8,["loadingState"])):e.modelValue?(ei(),ai(Vn(W0),{key:2,
class:it(Vn(TB)("p-0",e.sidebar?"h-4 w-4":"h-5 w-5")),icon:"Close",
label:"Clear Search",thickness:e.sidebar?"1.75":"1.5",
onClick:t[0]||(t[0]=e=>r("update:modelValue",""))
},null,8,["class","thickness"])):gi("",!0)],2))}
}),E1=MB(_1,[["__scopeId","data-v-2f2316c6"]]),T1={
class:"scalar-input-container relative"},C1=["for"],A1={
class:"icon-slot cursor-pointer text-c-ghost hover:text-c-1 !empty:flex !empty:w-7 !empty:items-center !empty:pr-3"
},P1=no({__name:"ScalarTextField",props:{modelValue:{},placeholder:{},label:{},
labelShadowColor:{default:"var(--scalar-background-1)"},error:{type:Boolean},
isMultiline:{type:Boolean},helperText:{},emitOnBlur:{type:Boolean,default:!0},
handleFieldSubmit:{},handleFieldChange:{},disableTrim:{type:Boolean,default:!1}
},emits:["submit","update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=EB({
base:"scalar-input-wrapper relative flex items-center rounded border border-solid border-border",
variants:{focus:{
true:"scalar-input-wrapper-focus border-c-3 has-actv-btn:border has-actv-btn:border-border"
},error:{true:"scalar-input-wrapper-error border-red"}}
}),a=Qo(),i=a.id||`id-${ND()}`,s=Fn(),l=Fn(!1);let c;if(n.isMultiline){
const{triggerResize:e}=function(e){var t
;const n=Fn(null==e?void 0:e.element),r=Fn(null==e?void 0:e.input),o=null!=(t=null==e?void 0:e.styleProp)?t:"height",a=Fn(1)
;function i(){var t;if(!n.value)return;let r=""
;n.value.style[o]="1px",a.value=null==(t=n.value)?void 0:t.scrollHeight,
(null==e?void 0:e.styleTarget)?zu(e.styleTarget).style[o]=`${a.value}px`:r=`${a.value}px`,
n.value.style[o]=r}return Ma([r,n],(()=>yr(i)),{immediate:!0}),Ma(a,(()=>{var t
;return null==(t=null==e?void 0:e.onResize)?void 0:t.call(e)})),ld(n,(()=>i())),
(null==e?void 0:e.watch)&&Ma(e.watch,i,{immediate:!0,deep:!0}),{textarea:n,
input:r,triggerResize:i}}({element:s,input:n.modelValue});c=e}function u(e){
const t=e.target.value
;n.isMultiline&&c(),n.handleFieldChange?n.handleFieldChange(t):r("update:modelValue",t)
}function d(e){
const t=e.target,o=n.disableTrim||n.isMultiline?t.value:t.value.trim()
;n.handleFieldSubmit?n.handleFieldSubmit(o):r("submit",o)}function p(e){
l.value=!1,n.emitOnBlur&&n.modelValue&&d(e)}return go((()=>{var e
;Object.prototype.hasOwnProperty.call(a,"autofocus")&&(null==(e=s.value)||e.focus())
})),(e,t)=>(ei(),oi("div",T1,[ui("div",{class:it(Vn(o)({error:e.error,
focus:l.value}))},[(ei(),ai(Co(e.isMultiline?"textarea":"input"),Oi({id:Vn(i)
},e.$attrs,{ref_key:"input",ref:s,class:["scalar-input",Vn(TB)({
"min-h-[77px]":e.isMultiline
},"z-10 w-full resize-none appearance-none border-0 bg-transparent p-3 text-sm text-c-1","outline-none transition-opacity")],
placeholder:e.placeholder,value:e.modelValue,onBlur:p,
onFocus:t[0]||(t[0]=e=>l.value=!0),onInput:u,onKeydown:Ys(d,["enter"])
}),null,16,["id","class","placeholder","value"])),e.label?(ei(),oi("label",{
key:0,
class:it(Vn(TB)("scalar-input-label pointer-events-none absolute left-0 top-0 mx-2 my-3 px-1 text-sm","z-10 origin-top-left rounded text-c-3 shadow-current transition-transform")),
for:Vn(i),style:tt({"box-shadow":`0 0 4px 4px ${e.labelShadowColor}`,
"background-color":e.labelShadowColor})
},ht(e.label),15,C1)):gi("",!0),ui("div",A1,[$o(e.$slots,"default",{},void 0,!0)])],2),e.helperText?(ei(),
oi("span",{key:0,
class:it(["helper-text mt-1.5 flex items-center gap-1 text-sm",e.error?"font-medium text-red":"text-c-2"])
},[e.error?(ei(),ai(Vn(oY),{key:0,icon:"Error",size:"sm"
})):gi("",!0),fi(" "+ht(e.helperText),1)],2)):gi("",!0)]))}
}),D1=MB(P1,[["__scopeId","data-v-4de7a24e"]]),R1=()=>{
const e=document.getElementById("headlessui-portal-root")
;if(e)e.classList.add("scalar-app"),e.classList.add("scalar-client");else{
const e=new MutationObserver((t=>{
const n=t.find((e=>Array.from(e.addedNodes).find((e=>"headlessui-portal-root"===e.id))))
;if(n){const t=n.addedNodes[0]
;t.classList.add("scalar-app"),t.classList.add("scalar-client"),e.disconnect()}
}));e.observe(document.body,{childList:!0})}
},$1=({useLocalStorage:e=!0,isReadOnly:t=!1,showSidebar:n=!0,proxyUrl:r,themeId:o,hideClientButton:a})=>{
const{collections:i,collectionMutators:s}=function(e){const t=An({});return{
collections:t,collectionMutators:rj(t,An({}),e&&CR)}
}(e),{tags:l,tagMutators:c}=function(e){const t=An({});return{tags:t,
tagMutators:rj(t,An({}),e&&MR)}}(e),{requests:u,requestMutators:d}=function(e){
const t=An({});return{requests:t,requestMutators:rj(t,An({}),e&&DR)}
}(e),{requestExamples:p,requestExampleMutators:h}=function(e){const t=An({})
;return{requestExamples:t,requestExampleMutators:rj(t,An({}),e&&RR)}
}(e),{cookies:f,cookieMutators:m}=function(e){
const t=An({}),n=rj(t,An({}),e&&AR);return n.add(aj.parse({uid:"default",
name:"Cookie",value:"",domain:"",path:"/",secure:!1,httpOnly:!1,sameSite:"None"
})),{cookies:t,cookieMutators:n}
}(e),{environments:g,environmentMutators:v}=function(e){
const t=An({}),n=rj(t,An({}),e&&PR);return n.add(ij.parse({uid:"default",
name:"Default Environment",color:"#0082D0",value:JSON.stringify({
exampleKey:"exampleValue"},null,2),isDefault:!0})),{environments:t,
environmentMutators:n}}(e),{servers:b,serverMutators:y}=function(e){
const t=An({});return{servers:t,serverMutators:rj(t,An({}),e&&NR)}
}(e),{securitySchemes:O,securitySchemeMutators:w}=function(e){const t=An({})
;return{securitySchemes:t,securitySchemeMutators:rj(t,An({}),e&&$R)}
}(e),{workspaces:x,workspaceMutators:k}=function(e){const t=An({});return{
workspaces:t,workspaceMutators:rj(t,An({}),e&&IR)}}(e),S={collections:i,
collectionMutators:s,tags:l,tagMutators:c,requests:u,requestMutators:d,
requestExamples:p,requestExampleMutators:h,cookies:f,cookieMutators:m,
environments:g,environmentMutators:v,servers:b,serverMutators:y,
securitySchemes:O,securitySchemeMutators:w,workspaces:x,workspaceMutators:k
},{addTag:_,deleteTag:E}=function({collectionMutators:e,collections:t,requests:n,requestMutators:r,tagMutators:o}){
return{addTag:(n,r)=>{const a=t[r],i=xD(n,fR,!1)
;return i&&a?(e.edit(r,"tags",[...a.tags,i.uid]),
e.edit(r,"children",[...a.children,i.uid]),
o.add(i),i):console.error("INVALID TAG DATA",n)},deleteTag:(a,i)=>{const s=t[i]
;s&&(e.edit(i,"tags",s.tags.filter((e=>e!==a.uid))),
e.edit(i,"children",s.children.filter((e=>e!==a.uid))),a.children.forEach((t=>{
var o;const l=n[t];if(!l)return
;const c=null==(o=l.tags)?void 0:o.filter((e=>e!==a.name))
;r.edit(t,"tags",c),(null==c||!c.length)&&!s.children.includes(t)&&e.edit(i,"children",[...s.children,t])
})),o.delete(a.uid))}}
}(S),{addRequest:T,deleteRequest:C,findRequestParents:A}=function({requestExamples:e,requestExampleMutators:t,requestMutators:n,collectionMutators:r,collections:o,tags:a,tagMutators:i},s){
return{addRequest:(l,c)=>{var u;const d=xD(l,yR,!1)
;if(!d)return console.error("INVALID REQUEST DATA",l)
;const p=o[c],h=zD(d,TR((d.summary??"Example")+" #1",(t=>d.examples.some((n=>{
var r;return t===(null==(r=e[n])?void 0:r.name)})))))
;return d.examples.push(h.uid),
n.add(d),t.add(h),p&&r.edit(c,"requests",[...p.requests,d.uid]),
null!=(u=d.tags)&&u.length?d.tags.forEach((e=>{
const t=null==p?void 0:p.tags.find((t=>{var n
;return(null==(n=a[t])?void 0:n.name)===e}))
;t&&a[t]?i.edit(t,"children",[...a[t].children,d.uid]):s({name:e,
children:[d.uid]},c)})):p&&r.edit(c,"children",[...p.children,d.uid]),d},
deleteRequest:(e,s)=>{var l;const c=o[s]
;e.examples.forEach((e=>t.delete(e))),c&&(r.edit(s,"requests",c.requests.filter((t=>t!==e.uid))),
r.edit(s,"children",c.children.filter((t=>t!==e.uid))),
null==(l=e.tags)||l.forEach((t=>{var n;const r=c.tags.find((e=>{var n
;return(null==(n=a[e])?void 0:n.name)===t}))
;r&&i.edit(r,"children",(null==(n=a[r])?void 0:n.children.filter((t=>t!==e.uid)))||[])
}))),n.delete(e.uid)},findRequestParents:Oj({collections:o,tags:a})}
}(S,_),{deleteEnvironment:P}=function({environmentMutators:e}){return{
deleteEnvironment:t=>{
"default"!==t?e.delete(t):console.warn("Default environment cannot be deleted.")
}}
}(S),{addServer:D,deleteServer:R}=function({serverMutators:e,collections:t,collectionMutators:n,requests:r,requestMutators:o}){
return{addServer:(a,i)=>{const s=LL.parse(a)
;return t[i]?n.edit(i,"servers",[...t[i].servers,s.uid]):r[i]&&o.edit(i,"servers",[...r[i].servers,s.uid]),
e.add(s),s},deleteServer:(r,o)=>{
t[o]&&(n.edit(o,"servers",t[o].servers.filter((e=>e!==r))),e.delete(r))}}
}(S),{addCollection:$,deleteCollection:N}=oj(S),{addRequestExample:M,deleteRequestExample:I}=function({requestExamples:e,requestExampleMutators:t,requestMutators:n,requests:r}){
return{addRequestExample:(r,o)=>{
const a=o??TR((r.summary??"Example")+" #1",(t=>r.examples.some((n=>{var r
;return(null==(r=e[n])?void 0:r.name)===t})))),i=zD(r,a)
;return t.add(i),n.edit(r.uid,"examples",[...r.examples,i.uid]),i},
deleteRequestExample:e=>{var o
;n.edit(e.requestUid,"examples",(null==(o=r[e.requestUid])?void 0:o.examples.filter((t=>t!==e.uid)))||[]),
t.delete(e.uid)}}
}(S),{addWorkspace:L,deleteWorkspace:j}=function({workspaces:e,workspaceMutators:t,collectionMutators:n,requestMutators:r,requestExampleMutators:o}){
return{addWorkspace:(e={})=>{const{request:a}=wj(),i=UD.parse({name:"Example",
requestUid:a.uid});a.examples.push(i.uid);const s=ML.parse({info:{title:"Drafts"
},children:[a.uid],requests:[a.uid]}),l=Ej.parse({...e,collections:[s.uid]})
;return o.add(i),r.add(a),n.add(s),t.add(l),l},deleteWorkspace:n=>{
Object.keys(e).length<=1?console.warn("The last workspace cannot be deleted."):t.delete(n)
}}
}(S),{addSecurityScheme:B,deleteSecurityScheme:U}=function({securitySchemeMutators:e,collectionMutators:t,collections:n,requests:r,requestMutators:o}){
return{addSecurityScheme:(r,o)=>{const a=lR.parse(r)
;return e.add(a),o&&n[o]&&t.edit(o,"securitySchemes",[...n[o].securitySchemes,a.uid]),
a},deleteSecurityScheme:a=>{Object.values(n).forEach((e=>{
e.securitySchemes.includes(a)&&t.edit(e.uid,"securitySchemes",e.securitySchemes.filter((e=>e!==a)))
})),Object.values(r).forEach((e=>{var t,n,i,s
;null!=(t=e.security)&&t.some((e=>Object.keys(e).includes(a)))&&o.edit(e.uid,"security",null==(i=null==(n=r[e.uid])?void 0:n.security)?void 0:i.filter((e=>!Object.keys(e).includes(a)))),
e.selectedSecuritySchemeUids.includes(a)&&o.edit(e.uid,"selectedSecuritySchemeUids",null==(s=e.selectedSecuritySchemeUids)?void 0:s.filter((e=>e!==a)))
})),e.delete(a)}}
}(S),{addCollectionEnvironment:Q,removeCollectionEnvironment:F}=oj(S),z=An([]),{importSpecFile:q,importSpecFromUrl:H}=function({requestMutators:e,collectionMutators:t,serverMutators:n,tagMutators:r,securitySchemeMutators:o,requestExampleMutators:a,workspaceMutators:i,workspaces:s}){
const l=async(l,c,u={})=>{var d;const p=jn(l),h=await cj(p,u)
;return h.error?(console.group("IMPORT ERRORS"),
h.importWarnings.forEach((e=>console.warn(e))),
void console.groupEnd()):(u.documentUrl&&"string"==typeof p&&(yj[u.documentUrl]={
hash:nC(p),schema:h.schema
}),h.examples.forEach((e=>a.add(e))),h.requests.forEach((t=>e.add(t))),
h.tags.forEach((e=>r.add(e))),
h.servers.forEach((e=>n.add(e))),h.securitySchemes.forEach((e=>o.add(e))),
t.add(h.collection),
i.edit(c,"collections",[...(null==(d=s[c])?void 0:d.collections)??[],h.collection.uid]),
h.collection)};return{importSpecFile:l,
importSpecFromUrl:async function(e,t,{proxyUrl:n,...r}={}){try{
const o=await vD(e,n);return[null,await l(o,t,{documentUrl:e,...r})]}catch(TM){
return console.error("Failed to fetch spec from URL:",TM),[vj(TM),null]}}}
}(S),V=Fn((e?null==localStorage?void 0:localStorage.getItem("sidebarWidth"):void 0)||"280px"),Z=w1()
;Object.keys(x).forEach((e=>{r&&k.edit(e,"proxyUrl",r),o&&k.edit(e,"themeId",o)
})),typeof window<"u"&&(window.dataDump=()=>({collections:jn(i),cookies:jn(f),
environments:jn(g),requestExamples:jn(p),requests:jn(u),securitySchemes:jn(O),
servers:jn(b),tags:jn(l),workspaces:jn(x)}));const W={executeRequest:sj(),
cancelRequest:sj(),requestStatus:sj(),commandPalette:sj(),hotKeys:sj()};return{
workspaces:x,collections:i,tags:l,cookies:f,environments:g,requestExamples:p,
requests:u,servers:b,securitySchemes:O,modalState:Z,events:W,sidebarWidth:V,
setSidebarWidth:t=>{
V.value=t,e&&(null==localStorage||localStorage.setItem("sidebarWidth",t))},
proxyUrl:r,isReadOnly:t,hideClientButton:a,showSidebar:n,importSpecFile:q,
importSpecFromUrl:H,cookieMutators:m,collectionMutators:{...s,rawAdd:s.add,
add:$,delete:N,addEnvironment:Q,removeEnvironment:F},environmentMutators:{...v,
delete:P},requestMutators:{...d,rawAdd:d.add,add:T,delete:C},
findRequestParents:A,requestExampleMutators:{...h,rawAdd:h.add,add:M,delete:I},
requestHistory:z,securitySchemeMutators:{...w,rawAdd:w.add,add:B,delete:U},
serverMutators:{...y,rawAdd:y.add,add:D,delete:R},tagMutators:{...c,
rawAdd:c.add,add:_,delete:E},workspaceMutators:{...k,rawAdd:k.add,add:L,delete:j
},addCollectionEnvironment:Q,removeCollectionEnvironment:F}
},N1=Symbol(),M1=()=>{const e=la(N1)
;if(!e)throw new Error("Workspace store not provided");return e}
;function I1(e,t){const n=e.match(bD.TEMPLATE_VARIABLE)??[];let r=e
;return n.forEach((e=>{const n=function(e,t){
const n=e.split(".").reduce(((e,t)=>null==e?void 0:e[t]),t)
;return"string"==typeof n?n:JSON.stringify(n)
}(e.startsWith(":")?e.slice(1):e.replace(/[{}]/g,"").trim(),t)
;null!=n&&(r=r.replaceAll(e,n))})),r}function L1(e){return function e(t,n){
const r=Object.keys(t),o=[];return r.forEach((r=>{const a=n?`${n}.${r}`:r
;"object"==typeof t[r]?o.push(...e(t[r],a)):o.push([a,String(t[r])])})),o}(e)}
var j1=(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))(j1||{});function B1(){
const e=localStorage.getItem("activeWorkspace");return e?{
name:"request.default",params:{workspace:e}}:{name:"workspace.default"}}
const U1=[{name:"request.root",path:"",redirect:e=>({name:"request",params:{
...e.params,request:"default"}})},{name:"request.default",path:"request",
redirect:e=>({name:"request",params:{...e.params,request:"default"}})},{
name:"request",path:"request/:request",
component:()=>Promise.resolve().then((()=>NAe))},{name:"request.examples",
path:"request/:request/examples/:examples",
component:()=>Promise.resolve().then((()=>NAe))}],Q1=[{name:"root",path:"/",
redirect:B1},{name:"workspace.default",path:"/workspace",redirect:{
name:"workspace",params:{workspace:"default"}}},{name:"workspace",
path:"/workspace/:workspace",redirect:{name:"request.default"},children:U1}]
;const F1=({collections:e,requestExamples:t,requests:n,router:r,servers:o,workspaces:a,activeRequestOverride:i,activeExampleOverride:s})=>{
const l=Bi(function(e){return()=>{const t={[j1.Collection]:"default",
[j1.Environment]:"default",[j1.Request]:"default",[j1.Examples]:"default",
[j1.Schema]:"default",[j1.Cookies]:"default",[j1.Servers]:"default",
[j1.Workspace]:"default",[j1.Settings]:"default"
},n=null==e?void 0:e.currentRoute.value
;return n&&Object.values(j1).forEach((e=>{n.params[e]&&(t[e]=n.params[e])})),t}
}(r)),c=Bi((()=>a[l.value[j1.Workspace]]??a[Object.keys(a)[0]??""])),u=Bi((()=>{
var t
;return(null==(t=c.value)?void 0:t.collections.map((t=>e[t])).filter(ER).sort(((e,t)=>{
var n,r
;return"Drafts"===(null==(n=e.info)?void 0:n.title)?1:"Drafts"===(null==(r=t.info)?void 0:r.title)?-1:0
})))??[]})),d=Bi((()=>{var e
;return null==(e=u.value)?void 0:e.flatMap((e=>e.servers.map((e=>o[e]))))
})),p=Bi((()=>{var e
;return(null==(e=u.value)?void 0:e.flatMap((e=>e.requests)))??[]})),h=Bi((()=>{
var e,t,n,r,o,a,i,s,l;if(null==(e=c.value)||!e.activeEnvironmentId)return{
uid:"",color:"#0082D0",name:"No Environment",
value:JSON.stringify(null==(t=c.value)?void 0:t.environments,null,2)}
;const d=u.value.find((e=>{var t,n
;return null==(n=e["x-scalar-environments"])?void 0:n[(null==(t=c.value)?void 0:t.activeEnvironmentId)??""]
}));return d&&null!=(n=c.value)&&n.activeEnvironmentId?{
uid:c.value.activeEnvironmentId,name:c.value.activeEnvironmentId,
value:JSON.stringify(null==(a=null==(o=d["x-scalar-environments"])?void 0:o[null==(r=c.value)?void 0:r.activeEnvironmentId])?void 0:a.variables,null,2),
color:(null==(l=null==(s=d["x-scalar-environments"])?void 0:s[null==(i=c.value)?void 0:i.activeEnvironmentId])?void 0:l.color)||"#0082D0",
isDefault:!1}:{uid:"",color:"#0082D0",name:"No Environment",
value:JSON.stringify(c.value.environments,null,2)}})),f=i??Bi((()=>{var t
;const r=l.value[j1.Request],o=e[l.value.collection]||e[(null==(t=c.value)?void 0:t.collections[0])??""]
;return n[r]||n[(null==o?void 0:o.requests[0])??""]})),m=s??Bi((()=>{var e
;const n="default"===l.value[j1.Examples]?(null==(e=f.value)?void 0:e.examples[0])||"":l.value[j1.Examples]
;return t[n]})),g=Bi((()=>{var t,n,r;const o=null==(t=f.value)?void 0:t.uid
;if(o)return Object.values(e).find((e=>{var t
;return null==(t=e.requests)?void 0:t.includes(o)}))
;const a=(null==(n=c.value)?void 0:n.collections[0])??(null==(r=e[0])?void 0:r.uid)??""
;return e[a]})),v=Bi((()=>{var e,t,n
;return o[((null==(e=f.value)?void 0:e.selectedServerUid)||(null==(t=g.value)?void 0:t.selectedServerUid)||(null==(n=g.value)?void 0:n.servers[0]))??""]
})),b=Bi((()=>l.value[j1.Cookies])),y=Bi((()=>{var e
;const t=(null==(e=c.value)?void 0:e.environments)??{},n=h.value.uid?JSON.parse(h.value.value):{},r=L1(t).map((([e,t])=>({
key:e,value:t,source:"global"}))),o=L1(n).map((([e,t])=>({key:e,value:t,
source:"collection"}))),a=new Map;return o.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:g,activeCookieId:b,activeExample:m,activeRequest:f,
activeRouterParams:l,activeEnvironment:h,activeServer:v,activeWorkspace:c,
activeWorkspaceCollections:u,activeWorkspaceServers:d,activeEnvVariables:y,
activeWorkspaceRequests:p}},z1=Symbol(),q1=()=>{const e=la(z1)
;if(!e)throw new Error("Active entities store not provided");return e}
;function H1(e){return"function"==typeof e?e():Vn(e)}
"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope)
;const V1=e=>null!=e;
/*!
  * tabbable 6.2.0
  * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
  */
var Z1=["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])"],W1=Z1.join(","),X1="undefined"==typeof Element,G1=X1?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Y1=!X1&&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},K1=function e(t,n){var r
;void 0===n&&(n=!0)
;var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert")
;return""===o||"true"===o||n&&t&&e(t.parentNode)},J1=function(e,t,n){
if(K1(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(W1))
;return t&&G1.call(e,W1)&&r.unshift(e),r=r.filter(n)},e2=function e(t,n,r){
for(var o=[],a=Array.from(t);a.length;){var i=a.shift()
;if(!K1(i,!1))if("SLOT"===i.tagName){
var s=i.assignedElements(),l=e(s.length?s:i.children,!0,r)
;r.flatten?o.push.apply(o,l):o.push({scopeParent:i,candidates:l})}else{
G1.call(i,W1)&&r.filter(i)&&(n||!t.includes(i))&&o.push(i)
;var c=i.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(i),u=!K1(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i))
;if(c&&u){var d=e(!0===c?i.children:c.children,!0,r)
;r.flatten?o.push.apply(o,d):o.push({scopeParent:i,candidates:d})
}else a.unshift.apply(a,i.children)}}return o},t2=function(e){
return!isNaN(parseInt(e.getAttribute("tabindex"),10))},n2=function(e){
if(!e)throw new Error("No node provided")
;return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){
var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable")
;return""===n||"true"===n}(e))&&!t2(e)?0:e.tabIndex},r2=function(e,t){
return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex
},o2=function(e){return"INPUT"===e.tagName},a2=function(e){return function(e){
return o2(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0
;var t,n=e.form||Y1(e),r=function(e){
return n.querySelectorAll('input[type="radio"][name="'+e+'"]')}
;if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{
t=r(e.name)}catch(a){
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",a.message),
!1}var o=function(e,t){
for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form)
;return!o||o===e}(e)},i2=function(e){
var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r
},s2=function(e,t){var n=t.displayCheck,r=t.getShadowRoot
;if("hidden"===getComputedStyle(e).visibility)return!0
;var o=G1.call(e,"details>summary:first-of-type")?e.parentElement:e
;if(G1.call(o,"details:not([open]) *"))return!0
;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return i2(e)}else{
if("function"==typeof r){for(var a=e;e;){var i=e.parentElement,s=Y1(e)
;if(i&&!i.shadowRoot&&!0===r(i))return i2(e)
;e=e.assignedSlot?e.assignedSlot:i||s===e.ownerDocument?i:s.host}e=a}
if(function(e){
var t,n,r,o,a=e&&Y1(e),i=null===(t=a)||void 0===t?void 0:t.host,s=!1
;if(a&&a!==e)for(s=!!(null!==(n=i)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(i)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!s&&i;){
var l,c,u
;s=!(null===(c=i=null===(l=a=Y1(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"!==n)return!0}
return!1},l2=function(e,t){return!(t.disabled||K1(t)||function(e){
return o2(e)&&"hidden"===e.type}(t)||s2(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 n=0;n<t.children.length;n++){
var r=t.children.item(n)
;if("LEGEND"===r.tagName)return!!G1.call(t,"fieldset[disabled] *")||!r.contains(e)
}return!0}t=t.parentElement}return!1}(t))},c2=function(e,t){
return!(a2(t)||n2(t)<0||!l2(e,t))},u2=function(e){
var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)
},d2=function e(t){var n=[],r=[];return t.forEach((function(t,o){
var a=!!t.scopeParent,i=a?t.scopeParent:t,s=function(e,t){var n=n2(e)
;return n<0&&t&&!t2(e)?0:n}(i,a),l=a?e(t.candidates):i
;0===s?a?n.push.apply(n,l):n.push(i):r.push({documentOrder:o,tabIndex:s,item:t,
isScope:a,content:l})})),r.sort(r2).reduce((function(e,t){
return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)
},p2=function(e,t){if(t=t||{},!e)throw new Error("No node provided")
;return!1!==G1.call(e,W1)&&c2(t,e)
},h2=Z1.concat("iframe").join(","),f2=function(e,t){
if(t=t||{},!e)throw new Error("No node provided")
;return!1!==G1.call(e,h2)&&l2(t,e)};
/*!
  * focus-trap 7.6.2
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
  */
function m2(e,t){(null==t||t>e.length)&&(t=e.length)
;for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function g2(e,t,n){
return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e
;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default")
;if("object"!=typeof r)return r
;throw new TypeError("@@toPrimitive must return a primitive value.")}
return("string"===t?String:Number)(e)}(e,"string")
;return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,
enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v2(e,t){
var n=Object.keys(e);if(Object.getOwnPropertySymbols){
var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){
return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}
return n}function b2(e){for(var t=1;t<arguments.length;t++){
var n=null!=arguments[t]?arguments[t]:{}
;t%2?v2(Object(n),!0).forEach((function(t){g2(e,t,n[t])
})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v2(Object(n)).forEach((function(t){
Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}
function y2(e){return function(e){if(Array.isArray(e))return m2(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 m2(e,t)
;var n={}.toString.call(e).slice(8,-1)
;return"Object"===n&&e.constructor&&(n=e.constructor.name),
"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?m2(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.")
}()}var O2=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}
var r=e.indexOf(t);-1===r||e.splice(r,1),e.push(t)},w2=function(e,t){
var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()
},x2=function(e){
return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)
},k2=function(e){return x2(e)&&!e.shiftKey},S2=function(e){
return x2(e)&&e.shiftKey},_2=function(e){return setTimeout(e,0)},E2=function(e){
for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]
;return"function"==typeof e?e.apply(void 0,n):e},T2=function(e){
return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target
},C2=[],A2=function(e,t){
var n,r=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||C2,a=b2({
returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,
isKeyForward:k2,isKeyBackward:S2},t),i={containers:[],containerGroups:[],
tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,
active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0
},s=function(e,t,n){return e&&void 0!==e[t]?e[t]:a[n||t]},l=function(e,t){
var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0
;return i.containerGroups.findIndex((function(t){
var r=t.container,o=t.tabbableNodes
;return r.contains(e)||(null==n?void 0:n.includes(r))||o.find((function(t){
return t===e}))}))},c=function(e){
var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.hasFallback,o=void 0!==n&&n,i=t.params,s=void 0===i?[]:i,l=a[e]
;if("function"==typeof l&&(l=l.apply(void 0,y2(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=r.querySelector(l)}catch(u){
throw new Error("`".concat(e,'` appears to be an invalid selector; error="').concat(u.message,'"'))
}
if(!c&&!o)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&&!f2(e,a.tabbableOptions))if(l(r.activeElement)>=0)e=r.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 n
;return n=(t=t||{}).getShadowRoot?e2([e],t.includeContainer,{
filter:c2.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,
shadowRootFilter:u2}):J1(e,t.includeContainer,c2.bind(null,t)),d2(n)
}(e,a.tabbableOptions),n=function(e,t){
return(t=t||{}).getShadowRoot?e2([e],t.includeContainer,{filter:l2.bind(null,t),
flatten:!0,getShadowRoot:t.getShadowRoot
}):J1(e,t.includeContainer,l2.bind(null,t))
}(e,a.tabbableOptions),r=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,i=n.find((function(e){
return p2(e)})),s=n.slice().reverse().find((function(e){return p2(e)
})),l=!!t.find((function(e){return n2(e)>0}));return{container:e,
tabbableNodes:t,focusableNodes:n,posTabIndexesFound:l,firstTabbableNode:r,
lastTabbableNode:o,firstDomTabbableNode:i,lastDomTabbableNode:s,
nextTabbableNode:function(e){
var r=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e)
;return o<0?r?n.slice(n.indexOf(e)+1).find((function(e){return p2(e)
})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return p2(e)
})):t[o+(r?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:!!a.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,n=e.event,r=e.isBackward,o=void 0!==r&&r;t=t||T2(n),d()
;var s=null;if(i.tabbableGroups.length>0){
var u=l(t,n),p=u>=0?i.containerGroups[u]:void 0
;if(u<0)s=o?i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:i.tabbableGroups[0].firstTabbableNode;else if(o){
var h=i.tabbableGroups.findIndex((function(e){var n=e.firstTabbableNode
;return t===n}))
;if(h<0&&(p.container===t||f2(t,a.tabbableOptions)&&!p2(t,a.tabbableOptions)&&!p.nextTabbableNode(t,!1))&&(h=u),
h>=0){var f=0===h?i.tabbableGroups.length-1:h-1,m=i.tabbableGroups[f]
;s=n2(t)>=0?m.lastTabbableNode:m.lastDomTabbableNode
}else x2(n)||(s=p.nextTabbableNode(t,!1))}else{
var g=i.tabbableGroups.findIndex((function(e){var n=e.lastTabbableNode
;return t===n}))
;if(g<0&&(p.container===t||f2(t,a.tabbableOptions)&&!p2(t,a.tabbableOptions)&&!p.nextTabbableNode(t))&&(g=u),
g>=0){var v=g===i.tabbableGroups.length-1?0:g+1,b=i.tabbableGroups[v]
;s=n2(t)>=0?b.firstTabbableNode:b.firstDomTabbableNode
}else x2(n)||(s=p.nextTabbableNode(t))}}else s=c("fallbackFocus");return s
},g=function(e){var t=T2(e)
;l(t,e)>=0||(E2(a.clickOutsideDeactivates,e)?n.deactivate({
returnFocus:a.returnFocusOnDeactivate
}):E2(a.allowOutsideClick,e)||e.preventDefault())},v=function(e){
var t=T2(e),n=l(t,e)>=0
;if(n||t instanceof Document)n&&(i.mostRecentlyFocusedNode=t);else{var r
;e.stopImmediatePropagation();var o=!0
;if(i.mostRecentlyFocusedNode)if(n2(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&&(a.isKeyForward(i.recentNavEvent)?d+1<c.length&&(r=c[d+1],
o=!1):d-1>=0&&(r=c[d-1],o=!1))}}else i.containerGroups.some((function(e){
return e.tabbableNodes.some((function(e){return n2(e)>0}))}))||(o=!1);else o=!1
;o&&(r=m({target:i.mostRecentlyFocusedNode,
isBackward:a.isKeyBackward(i.recentNavEvent)
})),h(r||(i.mostRecentlyFocusedNode||u()))}i.recentNavEvent=void 0
},b=function(e){(a.isKeyForward(e)||a.isKeyBackward(e))&&function(e){
var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];i.recentNavEvent=e
;var n=m({event:e,isBackward:t});n&&(x2(e)&&e.preventDefault(),h(n))
}(e,a.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!==E2(a.escapeDeactivates,e)&&(e.preventDefault(),n.deactivate())
},O=function(e){var t=T2(e)
;l(t,e)>=0||E2(a.clickOutsideDeactivates,e)||E2(a.allowOutsideClick,e)||(e.preventDefault(),
e.stopImmediatePropagation())},w=function(){
if(i.active)return O2(o,n),i.delayInitialFocusTimer=a.delayInitialFocus?_2((function(){
h(u())
})):h(u()),r.addEventListener("focusin",v,!0),r.addEventListener("mousedown",g,{
capture:!0,passive:!1}),r.addEventListener("touchstart",g,{capture:!0,passive:!1
}),r.addEventListener("click",O,{capture:!0,passive:!1
}),r.addEventListener("keydown",b,{capture:!0,passive:!1
}),r.addEventListener("keydown",y),n},x=function(){
if(i.active)return r.removeEventListener("focusin",v,!0),
r.removeEventListener("mousedown",g,!0),
r.removeEventListener("touchstart",g,!0),
r.removeEventListener("click",O,!0),r.removeEventListener("keydown",b,!0),
r.removeEventListener("keydown",y),n
},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(n={get active(){
return i.active},get paused(){return i.paused},activate:function(e){
if(i.active)return this
;var t=s(e,"onActivate"),n=s(e,"onPostActivate"),o=s(e,"checkCanFocusTrap")
;o||d(),
i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,null==t||t()
;var a=function(){o&&d(),w(),S(),null==n||n()}
;return o?(o(i.containers.concat()).then(a,a),this):(a(),this)},
deactivate:function(e){if(!i.active)return this;var t=b2({
onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,
checkCanReturnFocus:a.checkCanReturnFocus},e)
;clearTimeout(i.delayInitialFocusTimer),
i.delayInitialFocusTimer=void 0,x(),i.active=!1,i.paused=!1,S(),w2(o,n)
;var r=s(t,"onDeactivate"),l=s(t,"onPostDeactivate"),c=s(t,"checkCanReturnFocus"),u=s(t,"returnFocus","returnFocusOnDeactivate")
;null==r||r();var d=function(){_2((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"),n=s(e,"onPostPause")
;return i.paused=!0,null==t||t(),x(),S(),null==n||n(),this},unpause:function(e){
if(!i.paused||!i.active)return this
;var t=s(e,"onUnpause"),n=s(e,"onPostUnpause")
;return i.paused=!1,null==t||t(),d(),w(),S(),null==n||n(),this},
updateContainerElements:function(e){var t=[].concat(e).filter(Boolean)
;return i.containers=t.map((function(e){
return"string"==typeof e?r.querySelector(e):e})),i.active&&d(),S(),this}
}).updateContainerElements(e),n};function P2(e,t={}){let n
;const{immediate:r,...o}=t,a=Fn(!1),i=Fn(!1),s=e=>n&&n.activate(e),l=e=>n&&n.deactivate(e)
;var c;return Ma(Bi((()=>{const t=H1(e);return(Array.isArray(t)?t:[t]).map((e=>{
const t=H1(e);return"string"==typeof t?t:function(e){var t;const n=H1(e)
;return null!=(t=null==n?void 0:n.$el)?t:n}(t)})).filter(V1)})),(e=>{
e.length&&(n=A2(e,{...o,onActivate(){a.value=!0,t.onActivate&&t.onActivate()},
onDeactivate(){a.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&s())}),{
flush:"post"}),c=()=>l(),yt()&&Ot(c),{hasFocus:a,isPaused:i,activate:s,
deactivate:l,pause:()=>{n&&(n.pause(),i.value=!0)},unpause:()=>{n&&(n.unpause(),
i.value=!1)}}}
/*!
    * vue-router v4.3.3
    * (c) 2024 Eduardo San Martin Morote
    * @license MIT
    */const D2="undefined"!=typeof document;const R2=Object.assign
;function $2(e,t){const n={};for(const r in t){const o=t[r]
;n[r]=M2(o)?o.map(e):e(o)}return n}
const N2=()=>{},M2=Array.isArray,I2=/#/g,L2=/&/g,j2=/\//g,B2=/=/g,U2=/\?/g,Q2=/\+/g,F2=/%5B/g,z2=/%5D/g,q2=/%5E/g,H2=/%60/g,V2=/%7B/g,Z2=/%7C/g,W2=/%7D/g,X2=/%20/g
;function G2(e){
return encodeURI(""+e).replace(Z2,"|").replace(F2,"[").replace(z2,"]")}
function Y2(e){
return G2(e).replace(Q2,"%2B").replace(X2,"+").replace(I2,"%23").replace(L2,"%26").replace(H2,"`").replace(V2,"{").replace(W2,"}").replace(q2,"^")
}function K2(e){return null==e?"":function(e){
return G2(e).replace(I2,"%23").replace(U2,"%3F")}(e).replace(j2,"%2F")}
function J2(e){try{return decodeURIComponent(""+e)}catch(t){}return""+e}
const e5=/\/$/,t5=e=>e.replace(e5,"");function n5(e,t,n="/"){
let r,o={},a="",i="";const s=t.indexOf("#");let l=t.indexOf("?")
;return s<l&&s>=0&&(l=-1),
l>-1&&(r=t.slice(0,l),a=t.slice(l+1,s>-1?s:t.length),o=e(a)),
s>-1&&(r=r||t.slice(0,s),i=t.slice(s,t.length)),r=function(e,t){
if(e.startsWith("/"))return e;if(!e)return t
;const n=t.split("/"),r=e.split("/"),o=r[r.length-1]
;".."!==o&&"."!==o||r.push("");let a,i,s=n.length-1
;for(a=0;a<r.length;a++)if(i=r[a],"."!==i){if(".."!==i)break;s>1&&s--}
return n.slice(0,s).join("/")+"/"+r.slice(a).join("/")}(null!=r?r:t,n),{
fullPath:r+(a&&"?")+a+i,path:r,query:o,hash:J2(i)}}function r5(e,t){
return(e.aliasOf||e)===(t.aliasOf||t)}function o5(e,t){
if(Object.keys(e).length!==Object.keys(t).length)return!1
;for(const n in e)if(!a5(e[n],t[n]))return!1;return!0}function a5(e,t){
return M2(e)?i5(e,t):M2(t)?i5(t,e):e===t}function i5(e,t){
return M2(t)?e.length===t.length&&e.every(((e,n)=>e===t[n])):1===e.length&&e[0]===t
}var s5,l5,c5,u5
;(l5=s5||(s5={})).pop="pop",l5.push="push",(u5=c5||(c5={})).back="back",
u5.forward="forward",u5.unknown="";const d5=/^[^#]+#/;function p5(e,t){
return e.replace(d5,"#")+t}function h5(e){let t;if("el"in e){
const n=e.el,r="string"==typeof n&&n.startsWith("#"),o="string"==typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n
;if(!o)return;t=function(e,t){
const n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect()
;return{behavior:t.behavior,left:r.left-n.left-(t.left||0),
top:r.top-n.top-(t.top||0)}}(o,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)
}function f5(e,t){return(history.state?history.state.position-t:-1)+e}
const m5=new Map;function g5(e=""){let t=[],n=[""],r=0;function o(e){
r++,r!==n.length&&n.splice(r),n.push(e)}const a={location:"",state:{},
base:e=function(e){if(!e)if(D2){const t=document.querySelector("base")
;e=(e=t&&t.getAttribute("href")||"/").replace(/^\w+:\/\/[^\/]+/,"")}else e="/"
;return"/"!==e[0]&&"#"!==e[0]&&(e="/"+e),t5(e)}(e),createHref:p5.bind(null,e),
replace(e){n.splice(r--,1),o(e)},push(e,t){o(e)},listen:e=>(t.push(e),()=>{
const n=t.indexOf(e);n>-1&&t.splice(n,1)}),destroy(){t=[],n=[""],r=0},
go(e,o=!0){const a=this.location,i=e<0?c5.back:c5.forward
;r=Math.max(0,Math.min(r+e,n.length-1)),o&&function(e,n,{direction:r,delta:o}){
const a={direction:r,delta:o,type:s5.pop};for(const i of t)i(e,n,a)
}(this.location,a,{direction:i,delta:e})}}
;return Object.defineProperty(a,"location",{enumerable:!0,get:()=>n[r]}),a}
function v5(e){return"string"==typeof e||"symbol"==typeof e}const b5={path:"/",
name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},
redirectedFrom:void 0},y5=Symbol("");var O5,w5;function x5(e,t){
return R2(new Error,{type:e,[y5]:!0},t)}function k5(e,t){
return e instanceof Error&&y5 in e&&(null==t||!!(e.type&t))}
(w5=O5||(O5={}))[w5.aborted=4]="aborted",
w5[w5.cancelled=8]="cancelled",w5[w5.duplicated=16]="duplicated"
;const S5="[^/]+?",_5={sensitive:!1,strict:!1,start:!0,end:!0
},E5=/[.+*?^${}()[\]/\\]/g;function T5(e,t){let n=0
;for(;n<e.length&&n<t.length;){const r=t[n]-e[n];if(r)return r;n++}
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 C5(e,t){let n=0;const r=e.score,o=t.score
;for(;n<r.length&&n<o.length;){const e=T5(r[n],o[n]);if(e)return e;n++}
if(1===Math.abs(o.length-r.length)){if(A5(r))return 1;if(A5(o))return-1}
return o.length-r.length}function A5(e){const t=e[e.length-1]
;return e.length>0&&t[t.length-1]<0}const P5={type:0,value:""},D5=/[a-zA-Z0-9_]/
;function R5(e,t,n){const r=function(e,t){const n=R2({},_5,t),r=[]
;let o=n.start?"^":"";const a=[];for(const l of e){const e=l.length?[]:[90]
;n.strict&&!l.length&&(o+="/");for(let t=0;t<l.length;t++){const r=l[t]
;let i=40+(n.sensitive?.25:0)
;if(0===r.type)t||(o+="/"),o+=r.value.replace(E5,"\\$&"),
i+=40;else if(1===r.type){const{value:e,repeatable:n,optional:c,regexp:u}=r
;a.push({name:e,repeatable:n,optional:c});const d=u||S5;if(d!==S5){i+=10;try{
new RegExp(`(${d})`)}catch(s){
throw new Error(`Invalid custom RegExp for param "${e}" (${d}): `+s.message)}}
let p=n?`((?:${d})(?:/(?:${d}))*)`:`(${d})`
;t||(p=c&&l.length<2?`(?:/${p})`:"/"+p),
c&&(p+="?"),o+=p,i+=20,c&&(i+=-8),n&&(i+=-20),".*"===d&&(i+=-50)}e.push(i)}
r.push(e)}if(n.strict&&n.end){const e=r.length-1
;r[e][r[e].length-1]+=.7000000000000001}
n.strict||(o+="/?"),n.end?o+="$":n.strict&&(o+="(?:/|$)")
;const i=new RegExp(o,n.sensitive?"":"i");return{re:i,score:r,keys:a,
parse:function(e){const t=e.match(i),n={};if(!t)return null
;for(let r=1;r<t.length;r++){const e=t[r]||"",o=a[r-1]
;n[o.name]=e&&o.repeatable?e.split("/"):e}return n},stringify:function(t){
let n="",r=!1;for(const o of e){r&&n.endsWith("/")||(n+="/"),r=!1
;for(const e of o)if(0===e.type)n+=e.value;else if(1===e.type){
const{value:a,repeatable:i,optional:s}=e,l=a in t?t[a]:""
;if(M2(l)&&!i)throw new Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`)
;const c=M2(l)?l.join("/"):l;if(!c){
if(!s)throw new Error(`Missing required param "${a}"`)
;o.length<2&&(n.endsWith("/")?n=n.slice(0,-1):r=!0)}n+=c}}return n||"/"}}
}(function(e){if(!e)return[[]];if("/"===e)return[[P5]]
;if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(e){
throw new Error(`ERR (${n})/"${c}": ${e}`)}let n=0,r=n;const o=[];let a
;function i(){a&&o.push(a),a=[]}let s,l=0,c="",u="";function d(){
c&&(0===n?a.push({type:0,value:c
}):1===n||2===n||3===n?(a.length>1&&("*"===s||"+"===s)&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),
a.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===n)switch(n){case 0:
"/"===s?(c&&d(),i()):":"===s?(d(),n=1):p();break;case 4:p(),n=r;break;case 1:
"("===s?n=2:D5.test(s)?p():(d(),n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--);break
;case 2:")"===s?"\\"==u[u.length-1]?u=u.slice(0,-1)+s:n=3:u+=s;break;case 3:d(),
n=0,"*"!==s&&"?"!==s&&"+"!==s&&l--,u="";break;default:t("Unknown state")
}else r=n,n=4
;return 2===n&&t(`Unfinished custom RegExp for param "${c}"`),d(),i(),o
}(e.path),n),o=R2(r,{record:e,parent:t,children:[],alias:[]})
;return t&&!o.record.aliasOf==!t.record.aliasOf&&t.children.push(o),o}
function $5(e,t){const n=[],r=new Map;function o(e,n,r){
const s=!r,l=function(e){return{path:e.path,redirect:e.redirect,name:e.name,
meta:e.meta||{},aliasOf:void 0,beforeEnter:e.beforeEnter,props:M5(e),
children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,
enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{
default:e.component}}}(e);l.aliasOf=r&&r.record;const c=j5(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(R2({},l,{components:r?r.record.components:l.components,
path:e,aliasOf:r?r.record:l}))}let d,p;for(const t of u){const{path:u}=t
;if(n&&"/"!==u[0]){const e=n.record.path,r="/"===e[e.length-1]?"":"/"
;t.path=n.record.path+(u&&r+u)}
if(d=R5(t,n,c),r?r.alias.push(d):(p=p||d,p!==d&&p.alias.push(d),
s&&e.name&&!I5(d)&&a(e.name)),B5(d)&&i(d),l.children){const e=l.children
;for(let t=0;t<e.length;t++)o(e[t],d,r&&r.children[t])}r=r||d}return p?()=>{a(p)
}:N2}function a(e){if(v5(e)){const t=r.get(e)
;t&&(r.delete(e),n.splice(n.indexOf(t),1),
t.children.forEach(a),t.alias.forEach(a))}else{const t=n.indexOf(e)
;t>-1&&(n.splice(t,1),
e.record.name&&r.delete(e.record.name),e.children.forEach(a),e.alias.forEach(a))
}}function i(e){const t=function(e,t){let n=0,r=t.length;for(;n!==r;){
const o=n+r>>1;C5(e,t[o])<0?r=o:n=o+1}const o=function(e){let t=e
;for(;t=t.parent;)if(B5(t)&&0===C5(e,t))return t;return}(e)
;o&&(r=t.lastIndexOf(o,r-1));return r}(e,n)
;n.splice(t,0,e),e.record.name&&!I5(e)&&r.set(e.record.name,e)}return t=j5({
strict:!1,end:!0,sensitive:!1},t),e.forEach((e=>o(e))),{addRoute:o,
resolve:function(e,t){let o,a,i,s={};if("name"in e&&e.name){
if(o=r.get(e.name),!o)throw x5(1,{location:e})
;i=o.record.name,s=R2(N5(t.params,o.keys.filter((e=>!e.optional)).concat(o.parent?o.parent.keys.filter((e=>e.optional)):[]).map((e=>e.name))),e.params&&N5(e.params,o.keys.map((e=>e.name)))),
a=o.stringify(s)
}else if(null!=e.path)a=e.path,o=n.find((e=>e.re.test(a))),o&&(s=o.parse(a),
i=o.record.name);else{
if(o=t.name?r.get(t.name):n.find((e=>e.re.test(t.path))),!o)throw x5(1,{
location:e,currentLocation:t})
;i=o.record.name,s=R2({},t.params,e.params),a=o.stringify(s)}const l=[];let c=o
;for(;c;)l.unshift(c.record),c=c.parent;return{name:i,path:a,params:s,matched:l,
meta:L5(l)}},removeRoute:a,getRoutes:function(){return n},
getRecordMatcher:function(e){return r.get(e)}}}function N5(e,t){const n={}
;for(const r of t)r in e&&(n[r]=e[r]);return n}function M5(e){
const t={},n=e.props||!1
;if("component"in e)t.default=n;else for(const r in e.components)t[r]="object"==typeof n?n[r]:n
;return t}function I5(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}
return!1}function L5(e){return e.reduce(((e,t)=>R2(e,t.meta)),{})}
function j5(e,t){const n={};for(const r in e)n[r]=r in t?t[r]:e[r];return n}
function B5({record:e}){
return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}
function U5(e){const t={};if(""===e||"?"===e)return t
;const n=("?"===e[0]?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){
const e=n[r].replace(Q2," "),o=e.indexOf("="),a=J2(o<0?e:e.slice(0,o)),i=o<0?null:J2(e.slice(o+1))
;if(a in t){let e=t[a];M2(e)||(e=t[a]=[e]),e.push(i)}else t[a]=i}return t}
function Q5(e){let t="";for(let n in e){const r=e[n]
;if(n=Y2(n).replace(B2,"%3D"),null==r){void 0!==r&&(t+=(t.length?"&":"")+n)
;continue}(M2(r)?r.map((e=>e&&Y2(e))):[r&&Y2(r)]).forEach((e=>{
void 0!==e&&(t+=(t.length?"&":"")+n,null!=e&&(t+="="+e))}))}return t}
function F5(e){const t={};for(const n in e){const r=e[n]
;void 0!==r&&(t[n]=M2(r)?r.map((e=>null==e?null:""+e)):null==r?r:""+r)}return t}
const z5=Symbol(""),q5=Symbol(""),H5=Symbol(""),V5=Symbol(""),Z5=Symbol("")
;function W5(){let e=[];return{add:function(t){return e.push(t),()=>{
const n=e.indexOf(t);n>-1&&e.splice(n,1)}},list:()=>e.slice(),reset:function(){
e=[]}}}function X5(e,t,n,r,o,a=e=>e()){
const i=r&&(r.enterCallbacks[o]=r.enterCallbacks[o]||[])
;return()=>new Promise(((s,l)=>{const c=e=>{var a;!1===e?l(x5(4,{from:n,to:t
})):e instanceof Error?l(e):"string"==typeof(a=e)||a&&"object"==typeof a?l(x5(2,{
from:t,to:e})):(i&&r.enterCallbacks[o]===i&&"function"==typeof e&&i.push(e),s())
},u=a((()=>e.call(r&&r.instances[o],t,n,c)));let d=Promise.resolve(u)
;e.length<3&&(d=d.then(c)),d.catch((e=>l(e)))}))}function G5(e,t,n,r,o=e=>e()){
const a=[];for(const s of e)for(const e in s.components){let l=s.components[e]
;if("beforeRouteEnter"===t||s.instances[e])if("object"==typeof(i=l)||"displayName"in i||"props"in i||"__vccOpts"in i){
const i=(l.__vccOpts||l)[t];i&&a.push(X5(i,n,r,s,e,o))}else{let i=l()
;a.push((()=>i.then((a=>{
if(!a)return Promise.reject(new Error(`Couldn't resolve component "${e}" at "${s.path}"`))
;const i=(l=a).__esModule||"Module"===l[Symbol.toStringTag]?a.default:a;var l
;s.components[e]=i;const c=(i.__vccOpts||i)[t];return c&&X5(c,n,r,s,e,o)()}))))}
}var i;return a}function Y5(e){const t=la(H5),n=la(V5),r=Bi((()=>{
const n=Vn(e.to);return t.resolve(n)})),o=Bi((()=>{
const{matched:e}=r.value,{length:t}=e,o=e[t-1],a=n.matched
;if(!o||!a.length)return-1;const i=a.findIndex(r5.bind(null,o));if(i>-1)return i
;const s=J5(e[t-2])
;return t>1&&J5(o)===s&&a[a.length-1].path!==s?a.findIndex(r5.bind(null,e[t-2])):i
})),a=Bi((()=>o.value>-1&&function(e,t){for(const n in t){const r=t[n],o=e[n]
;if("string"==typeof r){if(r!==o)return!1
}else if(!M2(o)||o.length!==r.length||r.some(((e,t)=>e!==o[t])))return!1}
return!0
}(n.params,r.value.params))),i=Bi((()=>o.value>-1&&o.value===n.matched.length-1&&o5(n.params,r.value.params)))
;return{route:r,href:Bi((()=>r.value.href)),isActive:a,isExactActive:i,
navigate:function(n={}){return function(e){
if(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)return
;if(e.defaultPrevented)return;if(void 0!==e.button&&0!==e.button)return
;if(e.currentTarget&&e.currentTarget.getAttribute){
const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}
e.preventDefault&&e.preventDefault();return!0
}(n)?t[Vn(e.replace)?"replace":"push"](Vn(e.to)).catch(N2):Promise.resolve()}}}
const K5=no({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"}},useLink:Y5,setup(e,{slots:t}){
const n=An(Y5(e)),{options:r}=la(H5),o=Bi((()=>({
[e3(e.activeClass,r.linkActiveClass,"router-link-active")]:n.isActive,
[e3(e.exactActiveClass,r.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive
})));return()=>{const r=t.default&&t.default(n);return e.custom?r:Ui("a",{
"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,
onClick:n.navigate,class:o.value},r)}}});function J5(e){
return e?e.aliasOf?e.aliasOf.path:e.path:""}
const e3=(e,t,n)=>null!=e?e:null!=t?t:n;function t3(e,t){if(!e)return null
;const n=e(t);return 1===n.length?n[0]:n}const n3=no({name:"RouterView",
inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},
compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){
const r=la(Z5),o=Bi((()=>e.route||r.value)),a=la(q5,0),i=Bi((()=>{let e=Vn(a)
;const{matched:t}=o.value;let n;for(;(n=t[e])&&!n.components;)e++;return e
})),s=Bi((()=>o.value.matched[i.value]))
;sa(q5,Bi((()=>i.value+1))),sa(z5,s),sa(Z5,o);const l=Fn()
;return Ma((()=>[l.value,s.value,e.name]),(([e,t,n],[r,o,a])=>{
t&&(t.instances[n]=e,
o&&o!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=o.leaveGuards),
t.updateGuards.size||(t.updateGuards=o.updateGuards))),
!e||!t||o&&r5(t,o)&&r||(t.enterCallbacks[n]||[]).forEach((t=>t(e)))}),{
flush:"post"}),()=>{const r=o.value,a=e.name,i=s.value,c=i&&i.components[a]
;if(!c)return t3(n.default,{Component:c,route:r})
;const u=i.props[a],d=u?!0===u?r.params:"function"==typeof u?u(r):u:null,p=Ui(c,R2({},d,t,{
onVnodeUnmounted:e=>{e.component.isUnmounted&&(i.instances[a]=null)},ref:l}))
;return t3(n.default,{Component:p,route:r})||p}}});function r3(e){
const t=$5(e.routes,e),n=e.parseQuery||U5,r=e.stringifyQuery||Q5,o=e.history,a=W5(),i=W5(),s=W5(),l=zn(b5)
;let c=b5
;D2&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual")
;const u=$2.bind(null,(e=>""+e)),d=$2.bind(null,K2),p=$2.bind(null,J2)
;function h(e,a){if(a=R2({},a||l.value),"string"==typeof e){
const r=n5(n,e,a.path),i=t.resolve({path:r.path},a),s=o.createHref(r.fullPath)
;return R2(r,i,{params:p(i.params),hash:J2(r.hash),redirectedFrom:void 0,href:s
})}let i;if(null!=e.path)i=R2({},e,{path:n5(n,e.path,a.path).path});else{
const t=R2({},e.params);for(const e in t)null==t[e]&&delete t[e];i=R2({},e,{
params:d(t)}),a.params=d(a.params)}const s=t.resolve(i,a),c=e.hash||""
;s.params=u(p(s.params));const h=function(e,t){const n=t.query?e(t.query):""
;return t.path+(n&&"?")+n+(t.hash||"")}(r,R2({},e,{
hash:(f=c,G2(f).replace(V2,"{").replace(W2,"}").replace(q2,"^")),path:s.path}))
;var f;const m=o.createHref(h);return R2({fullPath:h,hash:c,
query:r===Q5?F5(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}
function f(e){return"string"==typeof e?n5(n,e,l.value.path):R2({},e)}
function m(e,t){if(c!==e)return x5(8,{from:t,to:e})}function g(e){return b(e)}
function v(e){const t=e.matched[e.matched.length-1];if(t&&t.redirect){
const{redirect:n}=t;let r="function"==typeof n?n(e):n
;return"string"==typeof r&&(r=r.includes("?")||r.includes("#")?r=f(r):{path:r
},r.params={}),R2({query:e.query,hash:e.hash,params:null!=r.path?{}:e.params},r)
}}function b(e,t){
const n=c=h(e),o=l.value,a=e.state,i=e.force,s=!0===e.replace,u=v(n)
;if(u)return b(R2(f(u),{state:"object"==typeof u?R2({},a,u.state):a,force:i,
replace:s}),t||n);const d=n;let p;return d.redirectedFrom=t,!i&&function(e,t,n){
const r=t.matched.length-1,o=n.matched.length-1
;return r>-1&&r===o&&r5(t.matched[r],n.matched[o])&&o5(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash
}(r,o,n)&&(p=x5(16,{to:d,from:o
}),D(o,o,!0,!1)),(p?Promise.resolve(p):w(d,o)).catch((e=>k5(e)?k5(e,2)?e:P(e):A(e,d,o))).then((e=>{
if(e){if(k5(e,2))return b(R2({replace:s},f(e.to),{
state:"object"==typeof e.to?R2({},a,e.to.state):a,force:i}),t||d)
}else e=k(d,o,!0,s,a);return x(d,o,e),e}))}function y(e,t){const n=m(e,t)
;return n?Promise.reject(n):Promise.resolve()}function O(e){
const t=N.values().next().value
;return t&&"function"==typeof t.runWithContext?t.runWithContext(e):e()}
function w(e,t){let n;const[r,o,s]=function(e,t){
const n=[],r=[],o=[],a=Math.max(t.matched.length,e.matched.length)
;for(let i=0;i<a;i++){const a=t.matched[i]
;a&&(e.matched.find((e=>r5(e,a)))?r.push(a):n.push(a));const s=e.matched[i]
;s&&(t.matched.find((e=>r5(e,s)))||o.push(s))}return[n,r,o]}(e,t)
;n=G5(r.reverse(),"beforeRouteLeave",e,t)
;for(const a of r)a.leaveGuards.forEach((r=>{n.push(X5(r,e,t))}))
;const l=y.bind(null,e,t);return n.push(l),I(n).then((()=>{n=[]
;for(const r of a.list())n.push(X5(r,e,t));return n.push(l),I(n)})).then((()=>{
n=G5(o,"beforeRouteUpdate",e,t);for(const r of o)r.updateGuards.forEach((r=>{
n.push(X5(r,e,t))}));return n.push(l),I(n)})).then((()=>{n=[]
;for(const r of s)if(r.beforeEnter)if(M2(r.beforeEnter))for(const o of r.beforeEnter)n.push(X5(o,e,t));else n.push(X5(r.beforeEnter,e,t))
;return n.push(l),I(n)
})).then((()=>(e.matched.forEach((e=>e.enterCallbacks={})),
n=G5(s,"beforeRouteEnter",e,t,O),n.push(l),I(n)))).then((()=>{n=[]
;for(const r of i.list())n.push(X5(r,e,t));return n.push(l),I(n)
})).catch((e=>k5(e,8)?e:Promise.reject(e)))}function x(e,t,n){
s.list().forEach((r=>O((()=>r(e,t,n)))))}function k(e,t,n,r,a){const i=m(e,t)
;if(i)return i;const s=t===b5,c=D2?history.state:{}
;n&&(r||s?o.replace(e.fullPath,R2({scroll:s&&c&&c.scroll
},a)):o.push(e.fullPath,a)),l.value=e,D(e,t,n,s),P()}let S;function _(){
S||(S=o.listen(((e,t,n)=>{if(!M.listening)return;const r=h(e),a=v(r)
;if(a)return void b(R2(a,{replace:!0}),r).catch(N2);c=r;const i=l.value;var s,u
;D2&&(s=f5(i.fullPath,n.delta),u={left:window.scrollX,top:window.scrollY
},m5.set(s,u)),w(r,i).catch((e=>k5(e,12)?e:k5(e,2)?(b(e.to,r).then((e=>{
k5(e,20)&&!n.delta&&n.type===s5.pop&&o.go(-1,!1)
})).catch(N2),Promise.reject()):(n.delta&&o.go(-n.delta,!1),
A(e,r,i)))).then((e=>{
(e=e||k(r,i,!1))&&(n.delta&&!k5(e,8)?o.go(-n.delta,!1):n.type===s5.pop&&k5(e,20)&&o.go(-1,!1)),
x(r,i,e)})).catch(N2)})))}let E,T=W5(),C=W5();function A(e,t,n){P(e)
;const r=C.list()
;return r.length?r.forEach((r=>r(e,t,n))):console.error(e),Promise.reject(e)}
function P(e){
return E||(E=!e,_(),T.list().forEach((([t,n])=>e?n(e):t())),T.reset()),e}
function D(t,n,r,o){const{scrollBehavior:a}=e
;if(!D2||!a)return Promise.resolve();const i=!r&&function(e){const t=m5.get(e)
;return m5.delete(e),t
}(f5(t.fullPath,0))||(o||!r)&&history.state&&history.state.scroll||null
;return yr().then((()=>a(t,n,i))).then((e=>e&&h5(e))).catch((e=>A(e,t,n)))}
const R=e=>o.go(e);let $;const N=new Set,M={currentRoute:l,listening:!0,
addRoute:function(e,n){let r,o
;return v5(e)?(r=t.getRecordMatcher(e),o=n):o=e,t.addRoute(o,r)},
removeRoute:function(e){const n=t.getRecordMatcher(e);n&&t.removeRoute(n)},
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(R2(f(e),{replace:!0}))},go:R,back:()=>R(-1),
forward:()=>R(1),beforeEach:a.add,beforeResolve:i.add,afterEach:s.add,
onError:C.add,isReady:function(){
return E&&l.value!==b5?Promise.resolve():new Promise(((e,t)=>{T.add([e,t])}))},
install(e){
e.component("RouterLink",K5),e.component("RouterView",n3),e.config.globalProperties.$router=this,
Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,
get:()=>Vn(l)}),D2&&!$&&l.value===b5&&($=!0,g(o.location).catch((e=>{})))
;const t={};for(const r in b5)Object.defineProperty(t,r,{get:()=>l.value[r],
enumerable:!0});e.provide(H5,this),e.provide(V5,Pn(t)),e.provide(Z5,l)
;const n=e.unmount;N.add(e),e.unmount=function(){
N.delete(e),N.size<1&&(c=b5,S&&S(),S=null,l.value=b5,$=!1,E=!1),n()}}}
;function I(e){return e.reduce(((e,t)=>e.then((()=>O(t)))),Promise.resolve())}
return M}function o3(){return la(H5)}function a3(){return la(V5)}function i3(){
return"undefined"!=typeof navigator&&/Mac/.test(navigator.platform)}
const s3=["Escape","ArrowDown","ArrowUp","Enter","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12"],l3={
Escape:{event:"closeModal"},b:{event:"toggleSidebar",modifiers:["default"]},k:{
event:"openCommandPalette",modifiers:["default"]}},c3=e=>{
if(!(e.target instanceof HTMLElement))return!1;const t=e.target
;return"INPUT"===t.tagName?!s3.includes(e.key):!("TEXTAREA"!==t.tagName&&!t.getAttribute("contenteditable"))
},u3={Alt:"altKey",Control:"ctrlKey",Shift:"shiftKey",Meta:"metaKey"
},d3=e=>e.map((e=>"default"===e?i3()?"metaKey":"ctrlKey":u3[e])),p3={
class:"scalar scalar-app"},h3={class:"scalar-container z-overlay"
},f3=["id"],m3=no({__name:"ApiClientModal",setup(e){
const{activeWorkspace:t}=q1(),{modalState:n,events:r}=M1(),o=Fn(null),a=ro(),{activate:i,deactivate:s}=P2(o,{
allowOutsideClick:!0,initialFocus:()=>o.value,fallbackFocus:`#${a}`}),l=e=>{
var n;return((e,t,{hotKeys:n=l3,modifiers:r=["default"]}={})=>{
const o=" "===e.key?"Space":e.key,a=n[o];a&&("Escape"===o?t.emit({[a.event]:e
}):d3(a.modifiers||r).every((t=>!0===e[t]))&&!c3(e)?t.emit({[a.event]:e
}):!c3(e)&&void 0===a.modifiers&&t.emit({[a.event]:e}))
})(e,r.hotKeys,null==(n=t.value)?void 0:n.hotKeyConfig)};Ma((()=>n.open),(e=>{
e?(window.addEventListener("keydown",l),
document.documentElement.style.overflow="hidden",
i()):(window.removeEventListener("keydown",l),
document.documentElement.style.removeProperty("overflow"),s())})),mo((()=>R1()))
;const c=e=>(null==e?void 0:e.closeModal)&&n.open&&n.hide()
;return go((()=>r.hotKeys.on(c))),yo((()=>{
document.documentElement.style.removeProperty("overflow"),r.hotKeys.off(c)
})),(e,t)=>Pr((ei(),oi("div",p3,[ui("div",h3,[ui("div",{id:Vn(a),
ref_key:"client",ref:o,"aria-label":"API Client","aria-modal":"true",
class:"scalar-app-layout scalar-client",role:"dialog",tabindex:"0"
},[di(Vn(d1),null,{default:Ar((()=>[di(Vn(n3),{key:"$route.fullPath"})])),_:1
})],8,f3),ui("div",{class:"scalar-app-exit -z-1",
onClick:t[0]||(t[0]=e=>Vn(n).hide())})])],512)),[[hs,Vn(n).open]])}
}),g3=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n
},v3=g3(m3,[["__scopeId","data-v-61efae61"]]),b3=Symbol(),y3=()=>({
layout:la(b3,"desktop")}),O3="2.4.0",w3="scalar_api_client_data_version",x3=e=>{
const t=localStorage.getItem(e)||"[{}]";return"["===t[0]?ej(t):JSON.parse(t)
},k3=(e,t)=>{const n=e=>{const[t,n=0,r=0]=e.split(".").map((e=>parseInt(e,10)))
;return{major:t,minor:n,patch:r}
},{major:r,minor:o,patch:a}=n(e),{major:i,minor:s,patch:l}=n(t)
;return r<i||!(r>i)&&(o<s||!(o>s)&&a<l)},S3=()=>{const e=(()=>{
const e=localStorage.getItem("collection"),t=localStorage.getItem(w3)
;if(t)return t
;if(!(null==e?void 0:e.length)||"{"===(null==e?void 0:e[0]))return"0.0.0";try{
const[t]=Object.values(ej(e)??{})
;return"collection"===(null==t?void 0:t.type)?"2.1.0":"0.0.0"}catch(pM){
return console.error(pM),"0.0.0"}})();console.info("Data version: "+e);let t={
collections:x3("collection"),cookies:x3("cookie"),
environments:x3("environment"),requestExamples:x3("requestExample"),
requests:x3("request"),securitySchemes:x3("securityScheme"),
servers:x3("server"),tags:x3("tag"),workspaces:x3("workspace")}
;return k3(e,"2.1.0")&&(t=(e=>{
console.info("Performing data migration v-0.0.0 to v-2.1.0");const t={...e,
folders:x3("folder")},n=e=>e.reduce(((e,r)=>{var o;const a=t.requests[r]
;if(a)e.requestUids.add(r),
null==(o=a.securitySchemeUids)||o.forEach((t=>e.authUids.add(t)));else if(t.folders[r]){
const{requestUids:o,tagUids:a,authUids:i}=n(t.folders[r].childUids??[])
;e.tagUids.add(r),
o.forEach((t=>e.requestUids.add(t))),a.forEach((t=>e.tagUids.add(t))),
i.forEach((t=>e.authUids.add(t)))}return e}),{requestUids:new Set,
tagUids:new Set,authUids:new Set
}),r={},o=Object.values(t.collections??{}).reduce(((e,o)=>{var a,i,s,l,c,u,d
;const{requestUids:p,tagUids:h,authUids:f}=n(o.childUids??[]),m=[...new Set([...f,...Object.values(o.securitySchemeDict??{})])]
;p.forEach((e=>r[e]=m));const g=m.reduce(((e,n)=>{const r=t.securitySchemes[n]
;return(null==r?void 0:r.uid)&&e&&(e[n]=(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:""})(r)),e
}),{});return e[o.uid]={type:"collection",
openapi:(null==(a=o.spec)?void 0:a.openapi)||"3.1.0",
info:(null==(i=o.spec)?void 0:i.info)||{title:"OpenAPI Spec",version:"0.0.1"},
security:(null==(s=o.spec)?void 0:s.security)||[],
externalDocs:null==(l=o.spec)?void 0:l.externalDocs,uid:o.uid,securitySchemes:m,
selectedSecuritySchemeUids:[],
selectedServerUid:o.selectedServerUid||(null==(u=null==(c=o.spec)?void 0:c.serverUids)?void 0:u[0])||"",
servers:(null==(d=o.spec)?void 0:d.serverUids)||[],requests:[...p],tags:[...h],
auth:g,children:o.childUids||[],"x-scalar-icon":"interface-content-folder",
watchMode:!1,watchModeStatus:"IDLE"},e
}),{}),a=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)=>{
var n,o,a,i,s
;const l=[...Object.values((null==(n=t.parameters)?void 0:n.path)??{}),...Object.values((null==(o=t.parameters)?void 0:o.query)??{}),...Object.values((null==(a=t.parameters)?void 0:a.headers)??{}),...Object.values((null==(i=t.parameters)?void 0:i.cookies)??{})].filter((e=>e)),c=(t.selectedSecuritySchemeUids||[]).filter((e=>{
var n;return null==(n=r[t.uid])?void 0:n.includes(e)}));return e[t.uid]={...t,
parameters:l,type:"request",
method:(null==(s=t.method)?void 0:s.toLowerCase())??"get",
examples:t.childUids||[],selectedSecuritySchemeUids:c,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(null==e?void 0:e.type){case"apiKey":return`${UR(e.in)}`;case"http":
return`${UR(e.scheme)} Authentication`;case"oauth2":
return e.flow.type.replace(/([A-Z])/g,(e=>` ${e}`)).replace(/^./,(e=>e.toUpperCase())).trim()
;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:o,cookies:a,
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)),k3(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,n)=>{var r
;const o=Object.values(e.collections).find((e=>e.securitySchemes.includes(n.uid))),a=null==(r=null==o?void 0:o.auth)?void 0:r[n.uid]
;if(!a)return t;const i=((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:n,...r}=e;if("implicit"===n.type&&"oauth-implicit"===t.type)return{
...r,flows:{implicit:{...n,scopes:n.scopes,token:t.token,
"x-scalar-client-id":r["x-scalar-client-id"]}}}
;if("password"===n.type&&"oauth-password"===t.type)return{...r,flows:{password:{
...n,username:t.username,password:t.password,token:t.token,
clientSecret:t.clientSecret,scopes:n.scopes,
"x-scalar-client-id":r["x-scalar-client-id"]}}}
;if("clientCredentials"===n.type&&"oauth-clientCredentials"===t.type)return{
...r,flows:{clientCredentials:{...n,token:t.token,clientSecret:t.clientSecret,
scopes:n.scopes,"x-scalar-client-id":r["x-scalar-client-id"]}}}
;if("authorizationCode"===n.type&&"oauth-authorizationCode"===t.type)return{
...r,flows:{authorizationCode:{...n,token:t.token,clientSecret:t.clientSecret,
scopes:n.scopes,"x-scalar-client-id":r["x-scalar-client-id"]}}}}return null
})(n,a);return i&&(t[n.uid]=i),t}),{}),n=e.servers;return{...e,
securitySchemes:t,servers:n}})(t)),k3(e,"2.3.0")&&(t=(e=>{
console.info("Performing data migration v-2.2.0 to v-2.3.0")
;const t=e.environments,n=Object.values(e.workspaces).reduce(((e,n)=>{const r={}
;return Object.entries(t).forEach((([e,t])=>{
const n="string"==typeof t.value?JSON.parse(t.value):t.value
;"default"===e&&Object.assign(r,n)})),e[n.uid]={...n,environments:r},e
}),{}),r=Object.values(e.collections).reduce(((e,t)=>(e[t.uid]={...t,
"x-scalar-environments":t["x-scalar-environments"]||{}},e)),{})
;return Object.values(n).forEach((e=>{Object.entries(t).forEach((([t,n])=>{
if("default"!==t){
const o="string"==typeof n.value?JSON.parse(n.value):n.value,a=n.name
;Object.values(r).forEach((n=>{
n["x-scalar-environments"]=n["x-scalar-environments"]||{},
n["x-scalar-environments"][a]={variables:o
},e.activeEnvironmentId===t&&(n["x-scalar-active-environment"]=a??"")}))}}))})),
{...e,collections:r,workspaces:n}})(t)),k3(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,n)=>{var r
;return"Drafts"===(null==(r=n.info)?void 0:r.title)&&(n.servers=[],
Object.values(e.requests).forEach((t=>{
if(t.selectedServerUid&&n.requests.includes(t.uid)){
const n=e.servers[t.selectedServerUid]
;n&&(t.path=`${n.url}${t.path}`),t.selectedServerUid=""}}))),t[n.uid]=n,t}),{})
;return{...e,collections:t}})(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},_3=(e,t,n)=>e.forEach((e=>{
const r=xD(e,t,!1);r&&n(r)
})),E3=({el:e,appComponent:t,configuration:n={},isReadOnly:r=!1,store:o,persistData:a=!0,mountOnInitialize:i=!0,layout:s="desktop",router:l})=>{
const c=o||$1({isReadOnly:r,proxyUrl:n.proxyUrl,themeId:n.themeId,
showSidebar:n.showSidebar,hideClientButton:n.hideClientButton,useLocalStorage:a
}),u=F1({...c,router:l});if(localStorage.getItem(IR)&&!r){const e={}
;let t=0,n=0,r=""
;for(r in localStorage)Object.prototype.hasOwnProperty.call(localStorage,r)&&(n=2*(localStorage[r].length+r.length),
t+=n,e[r]=(n/1024).toFixed(2)+" KB")
;e.Total=(t/1024).toFixed(2)+" KB",console.table(e),(e=>{
const{collectionMutators:t,cookieMutators:n,environmentMutators:r,tagMutators:o,requestExampleMutators:a,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:v}=S3()
;_3(e,ML,t.rawAdd),
_3(u,aj,n.add),_3(d,ij,r.add),_3(p,UD,a.rawAdd),_3(h,yR,i.rawAdd),
_3(f,LL,s.rawAdd),
_3(m,lR,l.rawAdd),_3(g,fR,o.rawAdd),_3(v,Ej,c.rawAdd),localStorage.setItem(w3,O3)
}catch(u){console.error(u)}})(c)}else if(r&&n.spec){const e=Ej.parse({
uid:"default",name:"Workspace",isReadOnly:!0,proxyUrl:n.proxyUrl})
;c.workspaceMutators.rawAdd(e)}else c.workspaceMutators.add({uid:"default",
name:"Workspace",proxyUrl:n.proxyUrl}),localStorage.setItem(w3,O3);const d=nl(t)
;d.use(l),d.provide(N1,c),d.provide(b3,s),d.provide(z1,u)
;const{collectionMutators:p,importSpecFile:h,importSpecFromUrl:f,modalState:m,requests:g,securitySchemes:v,securitySchemeMutators:b,servers:y,workspaceMutators:O,requestExampleMutators:w}=c,{activeCollection:x,activeWorkspace:k}=u,S=(t=e)=>{
t?d.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&&S();const _=async e=>{var t,r
;null!=e&&e.url?await f(e.url,(null==(t=k.value)?void 0:t.uid)??"",{
proxyUrl:null==n?void 0:n.proxyUrl,setCollectionSecurity:!0,...n
}):null!=e&&e.content?await h(null==e?void 0:e.content,(null==(r=k.value)?void 0:r.uid)??"",{
setCollectionSecurity:!0,...n
}):console.error("[@scalar/api-client-modal] Could not create the API client.","Please provide an OpenAPI document: { spec: { url: '…' } }","Read more: https://github.com/scalar/scalar/tree/main/packages/api-client")
};return{app:d,updateSpec:_,updateConfig(e,t=!0){var r
;t?Object.assign(n??{},e):LR(n??{},e),
e.spec&&(c.collectionMutators.reset(),c.requestMutators.reset(),
c.requestExampleMutators.reset(),
c.securitySchemeMutators.reset(),c.serverMutators.reset(),c.tagMutators.reset(),
O.edit((null==(r=k.value)?void 0:r.uid)??"","collections",[]),_(e.spec))},
updateServer:e=>{var t;const n=Object.values(y).find((t=>t.url===e))
;n&&x.value&&p.edit(null==(t=x.value)?void 0:t.uid,"selectedServerUid",n.uid)},
onUpdateServer:e=>{Ma((()=>{var e
;return null==(e=x.value)?void 0:e.selectedServerUid}),(t=>{
const n=Object.values(y).find((e=>e.uid===t));null!=n&&n.url&&e(n.url)}))},
updateAuth:({nameKey:e,propertyKey:t,value:n})=>{
const r=Object.values(v).find((t=>t.nameKey===e));r&&b.edit(r.uid,t,n)},
route:e=>{
const t=Object.values(g).find((({path:t,method:n})=>t===e.path&&n.toUpperCase()===e.method.toUpperCase()))
;t&&l.push({name:"request",params:{workspace:"default",request:t.uid}})},
open:e=>{if(e){
const t=Object.values(g).find((({path:t,method:n})=>!e||t===e.path&&n.toUpperCase()===e.method.toUpperCase()))
;t&&l.push({name:"request",query:e._source?{source:e._source}:void 0,params:{
workspace:"default",request:t.uid}})}m.open=!0},mount:S,modalState:m,store:c,
updateExample:(e,t)=>{var n,r,o,a;if(!e||!t)return
;const i=Object.values(g).find((({operationId:e,path:n})=>e===t||n===t))
;if(!i)return
;const s=Object.keys((null==(n=i.requestBody)?void 0:n.content)||{})[0]||"application/json",l=null==(a=null==(o=null==(r=i.requestBody)?void 0:r.content)?void 0:o[s])?void 0:a.examples[e]
;l&&w.edit(i.examples[0]??"","body.raw.value",_D(l.value))}}
},T3=Fn(null),C3=()=>({client:T3,init:async e=>{
const t=await(async({el:e=null,configuration:t={},mountOnInitialize:n=!0,store:r})=>{
var o,a,i;const s=E3({el:e,appComponent:v3,configuration:t,persistData:!1,
isReadOnly:!0,store:r,mountOnInitialize:n,router:r3({history:g5(),routes:Q1}),
layout:"modal"}),{importSpecFile:l,importSpecFromUrl:c}=s.store
;return r||(null!=(o=t.spec)&&o.url?await c(t.spec.url,"default",{
proxyUrl:t.proxyUrl,setCollectionSecurity:!0,...t
}):null!=(a=t.spec)&&a.content&&await l(null==(i=t.spec)?void 0:i.content,"default",{
setCollectionSecurity:!0,...t})),s})(e);return T3.value=t,t}}),A3=no({
__name:"ApiClientModal",props:{configuration:{}},setup(e){
const t=Fn(null),{server:n,setServer:r}=WR(),{client:o,init:a}=C3(),{selectedExampleKey:i,operationId:s}=YR(),l=M1()
;return go((async()=>{if(!t.value)return;(await a({el:t.value,
configuration:e.configuration,store:l})).onUpdateServer((e=>{
if(!n.servers)return;const t=n.servers.findIndex((t=>t.url===e));t>=0&&r({
selectedServer:t})}))})),Ma(n,(e=>{const{originalUrl:t}=QR(e)
;t&&o.value&&o.value.updateServer(t)})),ed((()=>e.configuration),(e=>{var t
;return e&&(null==(t=o.value)?void 0:t.updateConfig(e))}),{deep:!0,debounce:300
}),Ma(i,(e=>{o.value&&e&&s.value&&o.value.updateExample(e,s.value)})),yo((()=>{
var e;return null==(e=o.value)?void 0:e.app.unmount()})),(e,n)=>(ei(),oi("div",{
ref_key:"el",ref:t},null,512))}}),P3={
class:"mb-4 leading-normal text-c-2 text-sm"},D3={
class:"flex justify-between gap-2"},R3=no({__name:"DeleteRequestAuthModal",
props:{state:{},scheme:{}},emits:["close","delete"],setup(e,{emit:t}){
const n=e,r=t,{securitySchemeMutators:o}=M1(),a=()=>{var e
;null!=(e=n.scheme)&&e.id&&o.delete(n.scheme.id),r("delete")}
;return(e,t)=>(ei(),ai(Vn(k1),{size:"xxs",state:e.state,
title:"Delete Security Scheme"},{default:Ar((()=>{var n
;return[ui("p",P3," This cannot be undone. You’re about to delete the "+ht(null==(n=e.scheme)?void 0:n.label)+" security scheme from the collection. ",1),ui("div",D3,[di(Vn(BB),{
class:"gap-1.5 px-3 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
type:"button",variant:"outlined",onClick:t[0]||(t[0]=e=>r("close"))},{
default:Ar((()=>t[1]||(t[1]=[fi(" Cancel ")]))),_:1}),di(Vn(BB),{
class:"gap-1.5 px-3 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
type:"submit",onClick:a},{default:Ar((()=>{var t
;return[fi(" Delete "+ht(null==(t=e.scheme)?void 0:t.label),1)]})),_:1})])]})),
_:1},8,["state"]))}}),$3=no({inheritAttrs:!1,__name:"DataTableCell",props:{is:{
default:"td"}},setup(e){const{cx:t}=AB()
;return(e,n)=>(ei(),ai(Co(e.is),Oi(Vn(t)("max-h-8 min-h-8 min-w-8 border-l-0 group-[:not(:first-child)]:border-t-1/2 border-b-0 border-r-1/2 flex text-sm last:border-r-0 group-last:border-b-transparent p-0 m-0 relative"),{
role:"cell"}),{default:Ar((()=>[$o(e.$slots,"default")])),_:3},16))}}),N3={
class:"group contents w-fit min-w-full"}
;const M3=g3({},[["render",function(e,t){
return ei(),oi("tr",N3,[$o(e.$slots,"default")])
}]]),I3=["checked","disabled"],L3=no({__name:"DataTableCheckbox",props:{
modelValue:{type:Boolean},disabled:{type:Boolean},align:{default:"center"}},
emits:["update:modelValue"],setup(e){const t=EB({
base:"w-8 h-8 flex items-center justify-center text-border peer-checked:text-c-2 pointer-events-none absolute",
variants:{align:{left:"left-0",center:"centered"}}});return(e,n)=>(ei(),ai($3,{
class:"group/cell relative flex min-w-8"},{default:Ar((()=>[ui("input",{
checked:e.modelValue,class:"peer absolute inset-0 opacity-0 cursor-pointer",
disabled:e.disabled,type:"checkbox",
onChange:n[0]||(n[0]=t=>e.$emit("update:modelValue",t.target.checked))
},null,40,I3),ui("div",{class:it(Vn(t)({align:e.align}))
},[n[1]||(n[1]=ui("div",{
class:"absolute opacity-0 group-hover/cell:opacity-100 group-has-[:focus-visible]/cell:opacity-100 group-has-[:focus-visible]/cell:border-c-accent border-[1px] rounded size-3/4 m-auto"
},null,-1)),di(Vn(oY),{icon:"Checkmark",size:"xs",thickness:"2.5"})],2)])),_:1
}))}}),j3={class:"flex h-fit w-full"},B3={class:"flex-1"},U3={
class:"grid auto-rows-auto",style:{gridTemplateColumns:"1fr auto"}},Q3={key:0
},F3={class:"font-code text-xs"},z3=no({__name:"OAuthScopesInput",props:{
flow:{},updateScheme:{type:Function}},setup(e){const t=Bi((()=>{var t
;return Object.entries((null==(t=e.flow)?void 0:t.scopes)??{}).map((([e,t])=>({
id:e,label:e,description:t})))})),n=Bi((()=>{var t
;return(null==(t=e.flow)?void 0:t.selectedScopes)||[]}))
;return(r,o)=>(ei(),ai(Vn($3),{
class:"items-center min-h-8 h-auto !max-h-[initial]"},{
default:Ar((()=>[ui("div",j3,[o[0]||(o[0]=ui("div",{
class:"text-c-1 items-center h-full"},null,-1)),di(Vn(_I),{as:"div",
class:"flex flex-col w-full bl"},{default:Ar((()=>{var o,a;return[di(Vn(EI),{
class:it(["group/scopes-accordion flex items-center text-left min-h-8 gap-1.5 h-auto pl-3 pr-2 hover:text-c-1 cursor-pointer",((null==(a=null==(o=r.flow)?void 0:o.selectedScopes)?void 0:a.length)||0)>0?"text-c-1":"text-c-3"])
},{default:Ar((({open:e})=>{var t,n,o
;return[ui("div",B3," Scopes Selected "+ht((null==(n=null==(t=r.flow)?void 0:t.selectedScopes)?void 0:n.length)||0)+" / "+ht(Object.keys((null==(o=r.flow)?void 0:o.scopes)??{}).length||0),1),di(Vn(oY),{
class:"text-c-3 group-hover/scopes-accordion:text-c-2",
icon:e?"ChevronDown":"ChevronRight",size:"sm"},null,8,["icon"])]})),_:1
},8,["class"]),di(Vn(TI),{as:"template"},{
default:Ar((()=>[ui("table",U3,[(ei(!0),
oi(Wa,null,Do(t.value,(({id:t,label:r,description:o})=>(ei(),ai(Vn(M3),{key:t,
class:"text-c-2",onClick:r=>function(t,r){
r?e.updateScheme(`flows.${e.flow.type}.selectedScopes`,[...n.value,t]):e.updateScheme(`flows.${e.flow.type}.selectedScopes`,n.value.filter((e=>e!==t)))
}(t,!n.value.includes(t))},{default:Ar((()=>[di(Vn($3),{
class:"w-full px-3 py-1.5 hover:text-c-1 cursor-pointer !max-h-[initial]"},{
default:Ar((()=>[ui("span",null,[o?(ei(),
oi("span",Q3,[ui("span",F3,ht(r),1),fi(" – "+ht(o),1)])):gi("",!0)])])),_:2
},1024),di(Vn(L3),{modelValue:n.value.includes(t),"onUpdate:modelValue":()=>{}
},null,8,["modelValue"])])),_:2},1032,["onClick"])))),128))])])),_:1})]})),_:1
})])])),_:1}))}});let q3=[],H3=[];function V3(e){if(e<768)return!1
;for(let t=0,n=q3.length;;){let r=t+n>>1;if(e<q3[r])n=r;else{
if(!(e>=H3[r]))return!0;t=r+1}if(t==n)return!1}}function Z3(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,n=0;t<e.length;t++)(t%2?H3:q3).push(n+=e[t])})();const W3=8205
;function X3(e,t,n=!0,r=!0){return(n?G3:Y3)(e,t,r)}function G3(e,t,n){
if(t==e.length)return t;t&&J3(e.charCodeAt(t))&&e4(e.charCodeAt(t-1))&&t--
;let r=K3(e,t);for(t+=t4(r);t<e.length;){let o=K3(e,t)
;if(r==W3||o==W3||n&&V3(o))t+=t4(o),r=o;else{if(!Z3(o))break;{let n=0,r=t-2
;for(;r>=0&&Z3(K3(e,r));)n++,r-=2;if(n%2==0)break;t+=2}}}return t}
function Y3(e,t,n){for(;t>0;){let r=G3(e,t-2,n);if(r<t)return r;t--}return 0}
function K3(e,t){let n=e.charCodeAt(t);if(!e4(n)||t+1==e.length)return n
;let r=e.charCodeAt(t+1);return J3(r)?r-56320+(n-55296<<10)+65536:n}
function J3(e){return e>=56320&&e<57344}function e4(e){return e>=55296&&e<56320}
function t4(e){return e<65536?1:2}class n4{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,n){[e,t]=d4(this,e,t);let r=[]
;return this.decompose(0,e,r,2),
n.length&&n.decompose(0,n.length,r,3),this.decompose(t,this.length,r,1),
o4.from(r,this.length-(t-e)+n.length)}append(e){
return this.replace(this.length,this.length,e)}slice(e,t=this.length){
[e,t]=d4(this,e,t);let n=[];return this.decompose(e,t,n,0),o4.from(n,t-e)}eq(e){
if(e==this)return!0;if(e.length!=this.length||e.lines!=this.lines)return!1
;let t=this.scanIdentical(e,1),n=this.length-this.scanIdentical(e,-1),r=new s4(this),o=new s4(e)
;for(let a=t,i=t;;){
if(r.next(a),o.next(a),a=0,r.lineBreak!=o.lineBreak||r.done!=o.done||r.value!=o.value)return!1
;if(i+=r.value.length,r.done||i>=n)return!0}}iter(e=1){return new s4(this,e)}
iterRange(e,t=this.length){return new l4(this,e,t)}iterLines(e,t){let n
;if(null==e)n=this.iter();else{null==t&&(t=this.lines+1);let r=this.line(e).from
;n=this.iterRange(r,Math.max(r,t==this.lines+1?this.length:t<=1?0:this.line(t-1).to))
}return new c4(n)}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 r4(e):o4.from(r4.split(e,[])):n4.empty
}}class r4 extends n4{constructor(e,t=function(e){let t=-1
;for(let n of e)t+=n.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,n,r){for(let o=0;;o++){let a=this.text[o],i=r+a.length
;if((t?n:i)>=e)return new u4(r,i,n,a);r=i+1,n++}}decompose(e,t,n,r){
let o=e<=0&&t>=this.length?this:new r4(i4(this.text,e,t),Math.min(t,this.length)-Math.max(0,e))
;if(1&r){let e=n.pop(),t=a4(o.text,e.text.slice(),0,o.length)
;if(t.length<=32)n.push(new r4(t,e.length+o.length));else{let e=t.length>>1
;n.push(new r4(t.slice(0,e)),new r4(t.slice(e)))}}else n.push(o)}replace(e,t,n){
if(!(n instanceof r4))return super.replace(e,t,n);[e,t]=d4(this,e,t)
;let r=a4(this.text,a4(n.text,i4(this.text,0,e)),t),o=this.length+n.length-(t-e)
;return r.length<=32?new r4(r,o):o4.from(r4.split(r,[]),o)}
sliceString(e,t=this.length,n="\n"){[e,t]=d4(this,e,t);let r=""
;for(let o=0,a=0;o<=t&&a<this.text.length;a++){let i=this.text[a],s=o+i.length
;o>e&&a&&(r+=n),e<s&&t>o&&(r+=i.slice(Math.max(0,e-o),t-o)),o=s+1}return r}
flatten(e){for(let t of this.text)e.push(t)}scanIdentical(){return 0}
static split(e,t){let n=[],r=-1
;for(let o of e)n.push(o),r+=o.length+1,32==n.length&&(t.push(new r4(n,r)),n=[],
r=-1);return r>-1&&t.push(new r4(n,r)),t}}class o4 extends n4{constructor(e,t){
super(),this.children=e,this.length=t,this.lines=0
;for(let n of e)this.lines+=n.lines}lineInner(e,t,n,r){for(let o=0;;o++){
let a=this.children[o],i=r+a.length,s=n+a.lines-1
;if((t?s:i)>=e)return a.lineInner(e,t,n,r);r=i+1,n=s+1}}decompose(e,t,n,r){
for(let o=0,a=0;a<=t&&o<this.children.length;o++){
let i=this.children[o],s=a+i.length;if(e<=s&&t>=a){
let o=r&((a<=e?1:0)|(s>=t?2:0))
;a>=e&&s<=t&&!o?n.push(i):i.decompose(e-a,t-a,n,o)}a=s+1}}replace(e,t,n){
if([e,t]=d4(this,e,t),
n.lines<this.lines)for(let r=0,o=0;r<this.children.length;r++){
let a=this.children[r],i=o+a.length;if(e>=o&&t<=i){
let s=a.replace(e-o,t-o,n),l=this.lines-a.lines+s.lines
;if(s.lines<l>>4&&s.lines>l>>6){let o=this.children.slice()
;return o[r]=s,new o4(o,this.length-(t-e)+n.length)}return super.replace(o,i,s)}
o=i+1}return super.replace(e,t,n)}sliceString(e,t=this.length,n="\n"){
[e,t]=d4(this,e,t);let r="";for(let o=0,a=0;o<this.children.length&&a<=t;o++){
let i=this.children[o],s=a+i.length
;a>e&&o&&(r+=n),e<s&&t>a&&(r+=i.sliceString(e-a,t-a,n)),a=s+1}return r}
flatten(e){for(let t of this.children)t.flatten(e)}scanIdentical(e,t){
if(!(e instanceof o4))return 0
;let n=0,[r,o,a,i]=t>0?[0,0,this.children.length,e.children.length]:[this.children.length-1,e.children.length-1,-1,-1]
;for(;;r+=t,o+=t){if(r==a||o==i)return n;let s=this.children[r],l=e.children[o]
;if(s!=l)return n+s.scanIdentical(l,t);n+=s.length+1}}
static from(e,t=e.reduce(((e,t)=>e+t.length+1),-1)){let n=0
;for(let p of e)n+=p.lines;if(n<32){let n=[];for(let t of e)t.flatten(n)
;return new r4(n,t)}let r=Math.max(32,n>>5),o=r<<1,a=r>>1,i=[],s=0,l=-1,c=[]
;function u(e){let t
;if(e.lines>o&&e instanceof o4)for(let n of e.children)u(n);else e.lines>a&&(s>a||!s)?(d(),
i.push(e)):e instanceof r4&&s&&(t=c[c.length-1])instanceof r4&&e.lines+t.lines<=32?(s+=e.lines,
l+=e.length+1,
c[c.length-1]=new r4(t.text.concat(e.text),t.length+1+e.length)):(s+e.lines>r&&d(),
s+=e.lines,l+=e.length+1,c.push(e))}function d(){
0!=s&&(i.push(1==c.length?c[0]:o4.from(c,l)),l=-1,s=c.length=0)}
for(let p of e)u(p);return d(),1==i.length?i[0]:new o4(i,t)}}
function a4(e,t,n=0,r=1e9){for(let o=0,a=0,i=!0;a<e.length&&o<=r;a++){
let s=e[a],l=o+s.length
;l>=n&&(l>r&&(s=s.slice(0,r-o)),o<n&&(s=s.slice(n-o)),i?(t[t.length-1]+=s,
i=!1):t.push(s)),o=l+1}return t}function i4(e,t,n){return a4(e,[""],t,n)}
n4.empty=new r4([""],0);class s4{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 r4?e.text.length:e.children.length)<<1]
}nextInner(e,t){for(this.done=this.lineBreak=!1;;){
let n=this.nodes.length-1,r=this.nodes[n],o=this.offsets[n],a=o>>1,i=r instanceof r4?r.text.length:r.children.length
;if(a==(t>0?i:0)){if(0==n)return this.done=!0,this.value="",this
;t>0&&this.offsets[n-1]++,this.nodes.pop(),this.offsets.pop()
}else if((1&o)==(t>0?0:1)){
if(this.offsets[n]+=t,0==e)return this.lineBreak=!0,this.value="\n",this;e--
}else if(r instanceof r4){let o=r.text[a+(t<0?-1:0)]
;if(this.offsets[n]+=t,o.length>Math.max(0,e))return this.value=0==e?o:t>0?o.slice(e):o.slice(0,o.length-e),
this;e-=o.length}else{let o=r.children[a+(t<0?-1:0)]
;e>o.length?(e-=o.length,this.offsets[n]+=t):(t<0&&this.offsets[n]--,
this.nodes.push(o),
this.offsets.push(t>0?1:(o instanceof r4?o.text.length:o.children.length)<<1))}}
}next(e=0){
return e<0&&(this.nextInner(-e,-this.dir),e=this.value.length),this.nextInner(e,this.dir)
}}class l4{constructor(e,t,n){
this.value="",this.done=!1,this.cursor=new s4(e,t>n?-1:1),
this.pos=t>n?e.length:0,this.from=Math.min(t,n),this.to=Math.max(t,n)}
nextInner(e,t){
if(t<0?this.pos<=this.from:this.pos>=this.to)return this.value="",
this.done=!0,this;e+=Math.max(0,t<0?this.pos-this.to:this.from-this.pos)
;let n=t<0?this.pos-this.from:this.to-this.pos;e>n&&(e=n),n-=e
;let{value:r}=this.cursor.next(e)
;return this.pos+=(r.length+e)*t,this.value=r.length<=n?r:t<0?r.slice(r.length-n):r.slice(0,n),
this.done=!this.value,this}next(e=0){
return e<0?e=Math.max(e,this.from-this.pos):e>0&&(e=Math.min(e,this.to-this.pos)),
this.nextInner(e,this.cursor.dir)}get lineBreak(){
return this.cursor.lineBreak&&""!=this.value}}class c4{constructor(e){
this.inner=e,this.afterBreak=!0,this.value="",this.done=!1}next(e=0){
let{done:t,lineBreak:n,value:r}=this.inner.next(e)
;return t&&this.afterBreak?(this.value="",
this.afterBreak=!1):t?(this.done=!0,this.value=""):n?this.afterBreak?this.value="":(this.afterBreak=!0,
this.next()):(this.value=r,this.afterBreak=!1),this}get lineBreak(){return!1}}
"undefined"!=typeof Symbol&&(n4.prototype[Symbol.iterator]=function(){
return this.iter()
},s4.prototype[Symbol.iterator]=l4.prototype[Symbol.iterator]=c4.prototype[Symbol.iterator]=function(){
return this});class u4{constructor(e,t,n,r){this.from=e,this.to=t,this.number=n,
this.text=r}get length(){return this.to-this.from}}function d4(e,t,n){
return[t=Math.max(0,Math.min(e.length,t)),Math.max(t,Math.min(e.length,n))]}
function p4(e,t,n=!0,r=!0){return X3(e,t,n,r)}function h4(e,t){
let n=e.charCodeAt(t);if(!(r=n,r>=55296&&r<56320&&t+1!=e.length))return n;var r
;let o=e.charCodeAt(t+1);return function(e){return e>=56320&&e<57344
}(o)?o-56320+(n-55296<<10)+65536:n}function f4(e){
return e<=65535?String.fromCharCode(e):(e-=65536,
String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function m4(e){
return e<65536?1:2}const g4=/\r\n?|\n/;var v4=function(e){
return e[e.Simple=0]="Simple",
e[e.TrackDel=1]="TrackDel",e[e.TrackBefore=2]="TrackBefore",
e[e.TrackAfter=3]="TrackAfter",e}(v4||(v4={}));class b4{constructor(e){
this.sections=e}get length(){let e=0
;for(let t=0;t<this.sections.length;t+=2)e+=this.sections[t];return e}
get newLength(){let e=0;for(let t=0;t<this.sections.length;t+=2){
let n=this.sections[t+1];e+=n<0?this.sections[t]:n}return e}get empty(){
return 0==this.sections.length||2==this.sections.length&&this.sections[1]<0}
iterGaps(e){for(let t=0,n=0,r=0;t<this.sections.length;){
let o=this.sections[t++],a=this.sections[t++];a<0?(e(n,r,o),r+=o):r+=a,n+=o}}
iterChangedRanges(e,t=!1){x4(this,e,t)}get invertedDesc(){let e=[]
;for(let t=0;t<this.sections.length;){
let n=this.sections[t++],r=this.sections[t++];r<0?e.push(n,r):e.push(r,n)}
return new b4(e)}composeDesc(e){return this.empty?e:e.empty?this:S4(this,e)}
mapDesc(e,t=!1){return e.empty?this:k4(this,e,t)}mapPos(e,t=-1,n=v4.Simple){
let r=0,o=0;for(let a=0;a<this.sections.length;){
let i=this.sections[a++],s=this.sections[a++],l=r+i;if(s<0){
if(l>e)return o+(e-r);o+=i}else{
if(n!=v4.Simple&&l>=e&&(n==v4.TrackDel&&r<e&&l>e||n==v4.TrackBefore&&r<e||n==v4.TrackAfter&&l>e))return null
;if(l>e||l==e&&t<0&&!i)return e==r||t<0?o:o+s;o+=s}r=l}
if(e>r)throw new RangeError(`Position ${e} is out of range for changeset of length ${r}`)
;return o}touchesRange(e,t=e){for(let n=0,r=0;n<this.sections.length&&r<=t;){
let o=r+this.sections[n++]
;if(this.sections[n++]>=0&&r<=t&&o>=e)return!(r<e&&o>t)||"cover";r=o}return!1}
toString(){let e="";for(let t=0;t<this.sections.length;){
let n=this.sections[t++],r=this.sections[t++];e+=(e?" ":"")+n+(r>=0?":"+r:"")}
return e}toJSON(){return this.sections}static fromJSON(e){
if(!Array.isArray(e)||e.length%2||e.some((e=>"number"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeDesc")
;return new b4(e)}static create(e){return new b4(e)}}class y4 extends b4{
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 x4(this,((t,n,r,o,a)=>e=e.replace(r,r+(n-t),a)),!1),e}mapDesc(e,t=!1){
return k4(this,e,t,!0)}invert(e){let t=this.sections.slice(),n=[]
;for(let r=0,o=0;r<t.length;r+=2){let a=t[r],i=t[r+1];if(i>=0){t[r]=i,t[r+1]=a
;let s=r>>1;for(;n.length<s;)n.push(n4.empty);n.push(a?e.slice(o,o+a):n4.empty)}
o+=a}return new y4(t,n)}compose(e){
return this.empty?e:e.empty?this:S4(this,e,!0)}map(e,t=!1){
return e.empty?this:k4(this,e,t,!0)}iterChanges(e,t=!1){x4(this,e,t)}get desc(){
return b4.create(this.sections)}filter(e){let t=[],n=[],r=[],o=new _4(this)
;e:for(let a=0,i=0;;){let s=a==e.length?1e9:e[a++];for(;i<s||i==s&&0==o.len;){
if(o.done)break e;let e=Math.min(o.len,s-i);O4(r,e,-1)
;let a=-1==o.ins?-1:0==o.off?o.ins:0;O4(t,e,a),a>0&&w4(n,t,o.text),o.forward(e),
i+=e}let l=e[a++];for(;i<l;){if(o.done)break e;let e=Math.min(o.len,l-i)
;O4(t,e,-1),O4(r,e,-1==o.ins?-1:0==o.off?o.ins:0),o.forward(e),i+=e}}return{
changes:new y4(t,n),filtered:b4.create(r)}}toJSON(){let e=[]
;for(let t=0;t<this.sections.length;t+=2){
let n=this.sections[t],r=this.sections[t+1]
;r<0?e.push(n):0==r?e.push([n]):e.push([n].concat(this.inserted[t>>1].toJSON()))
}return e}static of(e,t,n){let r=[],o=[],a=0,i=null;function s(e=!1){
if(!e&&!r.length)return;a<t&&O4(r,t-a,-1);let n=new y4(r,o)
;i=i?i.compose(n.map(i)):n,r=[],o=[],a=0}return function e(l){
if(Array.isArray(l))for(let t of l)e(t);else if(l instanceof y4){
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?n4.of(c.split(n||g4)):c:n4.empty,d=u.length
;if(e==i&&0==d)return;e<a&&s(),e>a&&O4(r,e-a,-1),O4(r,i-e,d),w4(o,r,u),a=i}}(e),
s(!i),i}static empty(e){return new y4(e?[e,-1]:[],[])}static fromJSON(e){
if(!Array.isArray(e))throw new RangeError("Invalid JSON representation of ChangeSet")
;let t=[],n=[];for(let r=0;r<e.length;r++){let o=e[r]
;if("number"==typeof o)t.push(o,-1);else{
if(!Array.isArray(o)||"number"!=typeof o[0]||o.some(((e,t)=>t&&"string"!=typeof e)))throw new RangeError("Invalid JSON representation of ChangeSet")
;if(1==o.length)t.push(o[0],0);else{for(;n.length<r;)n.push(n4.empty)
;n[r]=n4.of(o.slice(1)),t.push(o[0],n[r].length)}}}return new y4(t,n)}
static createSet(e,t){return new y4(e,t)}}function O4(e,t,n,r=!1){
if(0==t&&n<=0)return;let o=e.length-2
;o>=0&&n<=0&&n==e[o+1]?e[o]+=t:o>=0&&0==t&&0==e[o]?e[o+1]+=n:r?(e[o]+=t,
e[o+1]+=n):e.push(t,n)}function w4(e,t,n){if(0==n.length)return
;let r=t.length-2>>1;if(r<e.length)e[e.length-1]=e[e.length-1].append(n);else{
for(;e.length<r;)e.push(n4.empty);e.push(n)}}function x4(e,t,n){let r=e.inserted
;for(let o=0,a=0,i=0;i<e.sections.length;){
let s=e.sections[i++],l=e.sections[i++];if(l<0)o+=s,a+=s;else{
let c=o,u=a,d=n4.empty
;for(;c+=s,u+=l,l&&r&&(d=d.append(r[i-2>>1])),!(n||i==e.sections.length||e.sections[i+1]<0);)s=e.sections[i++],
l=e.sections[i++];t(o,c,a,u,d),o=c,a=u}}}function k4(e,t,n,r=!1){
let o=[],a=r?[]:null,i=new _4(e),s=new _4(t);for(let l=-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)
;O4(o,e,-1),i.forward(e),s.forward(e)
}else if(s.ins>=0&&(i.ins<0||l==i.i||0==i.off&&(s.len<i.len||s.len==i.len&&!n))){
let e=s.len;for(O4(o,s.ins,-1);e;){let t=Math.min(i.len,e)
;i.ins>=0&&l<i.i&&i.len<=t&&(O4(o,0,i.ins),
a&&w4(a,o,i.text),l=i.i),i.forward(t),e-=t}s.next()}else{if(!(i.ins>=0)){
if(i.done&&s.done)return a?y4.createSet(o,a):b4.create(o)
;throw new Error("Mismatched change set lengths")}{let e=0,t=i.len
;for(;t;)if(-1==s.ins){let n=Math.min(t,s.len);e+=n,t-=n,s.forward(n)}else{
if(!(0==s.ins&&s.len<t))break;t-=s.len,s.next()}
O4(o,e,l<i.i?i.ins:0),a&&l<i.i&&w4(a,o,i.text),l=i.i,i.forward(i.len-t)}}}}
function S4(e,t,n=!1){let r=[],o=n?[]:null,a=new _4(e),i=new _4(t)
;for(let s=!1;;){if(a.done&&i.done)return o?y4.createSet(r,o):b4.create(r)
;if(0==a.ins)O4(r,a.len,0,s),a.next();else if(0!=i.len||i.done){
if(a.done||i.done)throw new Error("Mismatched change set lengths");{
let e=Math.min(a.len2,i.len),t=r.length;if(-1==a.ins){
let t=-1==i.ins?-1:i.off?0:i.ins;O4(r,e,t,s),o&&t&&w4(o,r,i.text)
}else-1==i.ins?(O4(r,a.off?0:a.len,e,s),
o&&w4(o,r,a.textBit(e))):(O4(r,a.off?0:a.len,i.off?0:i.ins,s),
o&&!i.off&&w4(o,r,i.text))
;s=(a.ins>e||i.ins>=0&&i.len>e)&&(s||r.length>t),a.forward2(e),i.forward(e)}
}else O4(r,0,i.ins,s),o&&w4(o,r,i.text),i.next()}}class _4{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?n4.empty:e[t]}
textBit(e){let{inserted:t}=this.set,n=this.i-2>>1
;return n>=t.length&&!e?n4.empty:t[n].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 E4{constructor(e,t,n){this.from=e,this.to=t,this.flags=n}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 n,r
;return this.empty?n=r=e.mapPos(this.from,t):(n=e.mapPos(this.from,1),
r=e.mapPos(this.to,-1)),n==this.from&&r==this.to?this:new E4(n,r,this.flags)}
extend(e,t=e){if(e<=this.anchor&&t>=this.anchor)return T4.range(e,t)
;let n=Math.abs(e-this.anchor)>Math.abs(t-this.anchor)?e:t
;return T4.range(this.anchor,n)}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 T4.range(e.anchor,e.head)}static create(e,t,n){return new E4(e,t,n)}}
class T4{constructor(e,t){this.ranges=e,this.mainIndex=t}map(e,t=-1){
return e.empty?this:T4.create(this.ranges.map((n=>n.map(e,t))),this.mainIndex)}
eq(e,t=!1){
if(this.ranges.length!=e.ranges.length||this.mainIndex!=e.mainIndex)return!1
;for(let n=0;n<this.ranges.length;n++)if(!this.ranges[n].eq(e.ranges[n],t))return!1
;return!0}get main(){return this.ranges[this.mainIndex]}asSingle(){
return 1==this.ranges.length?this:new T4([this.main],0)}addRange(e,t=!0){
return T4.create([e].concat(this.ranges),t?0:this.mainIndex+1)}
replaceRange(e,t=this.mainIndex){let n=this.ranges.slice()
;return n[t]=e,T4.create(n,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 T4(e.ranges.map((e=>E4.fromJSON(e))),e.main)}static single(e,t=e){
return new T4([T4.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 n=0,r=0;r<e.length;r++){let o=e[r]
;if(o.empty?o.from<=n:o.from<n)return T4.normalized(e.slice(),t);n=o.to}
return new T4(e,t)}static cursor(e,t=0,n,r){
return E4.create(e,e,(0==t?0:t<0?8:16)|(null==n?7:Math.min(6,n))|(null!=r?r:16777215)<<6)
}static range(e,t,n,r){let o=(null!=n?n:16777215)<<6|(null==r?7:Math.min(6,r))
;return t<e?E4.create(t,e,48|o):E4.create(e,t,(t>e?8:0)|o)}
static normalized(e,t=0){let n=e[t]
;e.sort(((e,t)=>e.from-t.from)),t=e.indexOf(n);for(let r=1;r<e.length;r++){
let n=e[r],o=e[r-1];if(n.empty?n.from<=o.to:n.from<o.to){
let a=o.from,i=Math.max(n.to,o.to)
;r<=t&&t--,e.splice(--r,2,n.anchor>n.head?T4.range(i,a):T4.range(a,i))}}
return new T4(e,t)}}function C4(e,t){
for(let n of e.ranges)if(n.to>t)throw new RangeError("Selection points outside of document")
}let A4=0;class P4{constructor(e,t,n,r,o){
this.combine=e,this.compareInput=t,this.compare=n,
this.isStatic=r,this.id=A4++,this.default=e([]),
this.extensions="function"==typeof o?o(this):o}get reader(){return this}
static define(e={}){
return new P4(e.combine||(e=>e),e.compareInput||((e,t)=>e===t),e.compare||(e.combine?(e,t)=>e===t:D4),!!e.static,e.enables)
}of(e){return new R4([],this,0,e)}compute(e,t){
if(this.isStatic)throw new Error("Can't compute a static facet")
;return new R4(e,this,1,t)}computeN(e,t){
if(this.isStatic)throw new Error("Can't compute a static facet")
;return new R4(e,this,2,t)}from(e,t){
return t||(t=e=>e),this.compute([e],(n=>t(n.field(e))))}}function D4(e,t){
return e==t||e.length==t.length&&e.every(((e,n)=>e===t[n]))}class R4{
constructor(e,t,n,r){
this.dependencies=e,this.facet=t,this.type=n,this.value=r,this.id=A4++}
dynamicSlot(e){var t
;let n=this.value,r=this.facet.compareInput,o=this.id,a=e[o]>>1,i=2==this.type,s=!1,l=!1,c=[]
;for(let u of this.dependencies)"doc"==u?s=!0:"selection"==u?l=!0:1&(null!==(t=e[u.id])&&void 0!==t?t:1)||c.push(e[u.id])
;return{create:e=>(e.values[a]=n(e),1),update(e,t){
if(s&&t.docChanged||l&&(t.docChanged||t.selection)||N4(e,c)){let t=n(e)
;if(i?!$4(t,e.values[a],r):!r(t,e.values[a]))return e.values[a]=t,1}return 0},
reconfigure:(e,t)=>{let s,l=t.config.address[o];if(null!=l){let o=X4(t,l)
;if(this.dependencies.every((n=>n instanceof P4?t.facet(n)===e.facet(n):!(n instanceof L4)||t.field(n,!1)==e.field(n,!1)))||(i?$4(s=n(e),o,r):r(s=n(e),o)))return e.values[a]=o,
0}else s=n(e);return e.values[a]=s,1}}}}function $4(e,t,n){
if(e.length!=t.length)return!1
;for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1;return!0}function N4(e,t){
let n=!1;for(let r of t)1&W4(e,r)&&(n=!0);return n}function M4(e,t,n){
let r=n.map((t=>e[t.id])),o=n.map((e=>e.type)),a=r.filter((e=>!(1&e))),i=e[t.id]>>1
;function s(e){let n=[];for(let t=0;t<r.length;t++){let a=X4(e,r[t])
;if(2==o[t])for(let e of a)n.push(e);else n.push(a)}return t.combine(n)}return{
create(e){for(let t of r)W4(e,t);return e.values[i]=s(e),1},update(e,n){
if(!N4(e,a))return 0;let r=s(e)
;return t.compare(r,e.values[i])?0:(e.values[i]=r,1)},reconfigure(e,o){
let a=N4(e,r),l=o.config.facets[t.id],c=o.facet(t)
;if(l&&!a&&D4(n,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 I4=P4.define({static:!0});class L4{constructor(e,t,n,r,o){
this.id=e,this.createF=t,
this.updateF=n,this.compareF=r,this.spec=o,this.provides=void 0}
static define(e){
let t=new L4(A4++,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(I4).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,n)=>{
let r=e.values[t],o=this.updateF(r,n)
;return this.compareF(r,o)?0:(e.values[t]=o,1)},
reconfigure:(e,n)=>null!=n.config.address[this.id]?(e.values[t]=n.field(this),
0):(e.values[t]=this.create(e),1)}}init(e){return[this,I4.of({field:this,
create:e})]}get extension(){return this}}const j4=4,B4=3,U4=2,Q4=1
;function F4(e){return t=>new q4(t,e)}const z4={highest:F4(0),high:F4(Q4),
default:F4(U4),low:F4(B4),lowest:F4(j4)};class q4{constructor(e,t){this.inner=e,
this.prec=t}}class H4{of(e){return new V4(this,e)}reconfigure(e){
return H4.reconfigure.of({compartment:this,extension:e})}get(e){
return e.config.compartments.get(this)}}class V4{constructor(e,t){
this.compartment=e,this.inner=t}}class Z4{constructor(e,t,n,r,o,a){
for(this.base=e,
this.compartments=t,this.dynamicSlots=n,this.address=r,this.staticValues=o,
this.facets=a,
this.statusTemplate=[];this.statusTemplate.length<n.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,n){
let r=[],o=Object.create(null),a=new Map;for(let d of function(e,t,n){
let r=[[],[],[],[],[]],o=new Map;function a(e,i){let s=o.get(e);if(null!=s){
if(s<=i)return;let t=r[s].indexOf(e)
;t>-1&&r[s].splice(t,1),e instanceof V4&&n.delete(e.compartment)}
if(o.set(e,i),Array.isArray(e))for(let t of e)a(t,i);else if(e instanceof V4){
if(n.has(e.compartment))throw new RangeError("Duplicate use of compartment in extensions")
;let r=t.get(e.compartment)||e.inner;n.set(e.compartment,r),a(r,i)
}else if(e instanceof q4)a(e.inner,e.prec);else if(e instanceof L4)r[i].push(e),
e.provides&&a(e.provides,i);else if(e instanceof R4)r[i].push(e),
e.facet.extensions&&a(e.facet.extensions,U4);else{let t=e.extension
;if(!t)throw new Error(`Unrecognized extension value in extension set (${e}). This sometimes happens because multiple instances of @codemirror/state are loaded, breaking instanceof checks.`)
;a(t,i)}}return a(e,U4),r.reduce(((e,t)=>e.concat(t)))
}(e,t,a))d instanceof L4?r.push(d):(o[d.facet.id]||(o[d.facet.id]=[])).push(d)
;let i=Object.create(null),s=[],l=[]
;for(let d of r)i[d.id]=l.length<<1,l.push((e=>d.slot(e)))
;let c=null==n?void 0:n.config.facets;for(let d in o){
let e=o[d],t=e[0].facet,r=c&&c[d]||[]
;if(e.every((e=>0==e.type)))if(i[t.id]=s.length<<1|1,
D4(r,e))s.push(n.facet(t));else{let r=t.combine(e.map((e=>e.value)))
;s.push(n&&t.compare(r,n.facet(t))?n.facet(t):r)}else{
for(let t of e)0==t.type?(i[t.id]=s.length<<1|1,
s.push(t.value)):(i[t.id]=l.length<<1,l.push((e=>t.dynamicSlot(e))))
;i[t.id]=l.length<<1,l.push((n=>M4(n,t,e)))}}let u=l.map((e=>e(i)))
;return new Z4(e,a,u,i,s,o)}}function W4(e,t){if(1&t)return 2
;let n=t>>1,r=e.status[n]
;if(4==r)throw new Error("Cyclic dependency between fields and/or facets")
;if(2&r)return r;e.status[n]=4;let o=e.computeSlot(e,e.config.dynamicSlots[n])
;return e.status[n]=2|o}function X4(e,t){
return 1&t?e.config.staticValues[t>>1]:e.values[t>>1]}
const G4=P4.define(),Y4=P4.define({combine:e=>e.some((e=>e)),static:!0
}),K4=P4.define({combine:e=>e.length?e[0]:void 0,static:!0
}),J4=P4.define(),e7=P4.define(),t7=P4.define(),n7=P4.define({
combine:e=>!!e.length&&e[0]});class r7{constructor(e,t){this.type=e,this.value=t
}static define(){return new o7}}class o7{of(e){return new r7(this,e)}}class a7{
constructor(e){this.map=e}of(e){return new i7(this,e)}}class i7{
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 i7(this.type,t)}is(e){
return this.type==e}static define(e={}){return new a7(e.map||(e=>e))}
static mapEffects(e,t){if(!e.length)return e;let n=[];for(let r of e){
let e=r.map(t);e&&n.push(e)}return n}}
i7.reconfigure=i7.define(),i7.appendConfig=i7.define();class s7{
constructor(e,t,n,r,o,a){
this.startState=e,this.changes=t,this.selection=n,this.effects=r,
this.annotations=o,
this.scrollIntoView=a,this._doc=null,this._state=null,n&&C4(n,t.newLength),
o.some((e=>e.type==s7.time))||(this.annotations=o.concat(s7.time.of(Date.now())))
}static create(e,t,n,r,o,a){return new s7(e,t,n,r,o,a)}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(s7.userEvent)
;return!(!t||!(t==e||t.length>e.length&&t.slice(0,e.length)==e&&"."==t[e.length]))
}}function l7(e,t){let n=[];for(let r=0,o=0;;){let a,i
;if(r<e.length&&(o==t.length||t[o]>=e[r]))a=e[r++],i=e[r++];else{
if(!(o<t.length))return n;a=t[o++],i=t[o++]}
!n.length||n[n.length-1]<a?n.push(a,i):n[n.length-1]<i&&(n[n.length-1]=i)}}
function c7(e,t,n){var r;let o,a,i
;return n?(o=t.changes,a=y4.empty(t.changes.length),
i=e.changes.compose(t.changes)):(o=t.changes.map(e.changes),
a=e.changes.mapDesc(t.changes,!0),i=e.changes.compose(o)),{changes:i,
selection:t.selection?t.selection.map(a):null===(r=e.selection)||void 0===r?void 0:r.map(o),
effects:i7.mapEffects(e.effects,o).concat(i7.mapEffects(t.effects,a)),
annotations:e.annotations.length?e.annotations.concat(t.annotations):t.annotations,
scrollIntoView:e.scrollIntoView||t.scrollIntoView}}function u7(e,t,n){
let r=t.selection,o=h7(t.annotations)
;return t.userEvent&&(o=o.concat(s7.userEvent.of(t.userEvent))),{
changes:t.changes instanceof y4?t.changes:y4.of(t.changes||[],n,e.facet(K4)),
selection:r&&(r instanceof T4?r:T4.single(r.anchor,r.head)),
effects:h7(t.effects),annotations:o,scrollIntoView:!!t.scrollIntoView}}
function d7(e,t,n){let r=u7(e,t.length?t[0]:{},e.doc.length)
;t.length&&!1===t[0].filter&&(n=!1);for(let a=1;a<t.length;a++){
!1===t[a].filter&&(n=!1);let o=!!t[a].sequential
;r=c7(r,u7(e,t[a],o?r.changes.newLength:e.doc.length),o)}
let o=s7.create(e,r.changes,r.selection,r.effects,r.annotations,r.scrollIntoView)
;return function(e){let t=e.startState,n=t.facet(t7),r=e
;for(let o=n.length-1;o>=0;o--){let a=n[o](e)
;a&&Object.keys(a).length&&(r=c7(r,u7(t,a,e.changes.newLength),!0))}
return r==e?e:s7.create(t,e.changes,e.selection,r.effects,r.annotations,r.scrollIntoView)
}(n?function(e){let t=e.startState,n=!0;for(let o of t.facet(J4)){let t=o(e)
;if(!1===t){n=!1;break}Array.isArray(t)&&(n=!0===n?t:l7(n,t))}if(!0!==n){let r,o
;if(!1===n)o=e.changes.invertedDesc,r=y4.empty(t.doc.length);else{
let t=e.changes.filter(n)
;r=t.changes,o=t.filtered.mapDesc(t.changes).invertedDesc}
e=s7.create(t,r,e.selection&&e.selection.map(o),i7.mapEffects(e.effects,o),e.annotations,e.scrollIntoView)
}let r=t.facet(e7);for(let o=r.length-1;o>=0;o--){let n=r[o](e)
;e=n instanceof s7?n:Array.isArray(n)&&1==n.length&&n[0]instanceof s7?n[0]:d7(t,h7(n),!1)
}return e}(o):o)}
s7.time=r7.define(),s7.userEvent=r7.define(),s7.addToHistory=r7.define(),
s7.remote=r7.define();const p7=[];function h7(e){
return null==e?p7:Array.isArray(e)?e:[e]}var f7=function(e){
return e[e.Word=0]="Word",e[e.Space=1]="Space",e[e.Other=2]="Other",e
}(f7||(f7={}))
;const m7=/[\u00df\u0587\u0590-\u05f4\u0600-\u06ff\u3040-\u309f\u30a0-\u30ff\u3400-\u4db5\u4e00-\u9fcc\uac00-\ud7af]/
;let g7;try{g7=new RegExp("[\\p{Alphabetic}\\p{Number}_]","u")}catch(KPe){}
function v7(e){return t=>{if(!/\S/.test(t))return f7.Space;if(function(e){
if(g7)return g7.test(e);for(let t=0;t<e.length;t++){let n=e[t]
;if(/\w/.test(n)||n>""&&(n.toUpperCase()!=n.toLowerCase()||m7.test(n)))return!0
}return!1}(t))return f7.Word
;for(let n=0;n<e.length;n++)if(t.indexOf(e[n])>-1)return f7.Word;return f7.Other
}}class b7{constructor(e,t,n,r,o,a){
this.config=e,this.doc=t,this.selection=n,this.values=r,
this.status=e.statusTemplate.slice(),this.computeSlot=o,a&&(a._state=this)
;for(let i=0;i<this.config.dynamicSlots.length;i++)W4(this,i<<1)
;this.computeSlot=null}field(e,t=!0){let n=this.config.address[e.id]
;if(null!=n)return W4(this,n),X4(this,n)
;if(t)throw new RangeError("Field is not present in this state")}update(...e){
return d7(this,e,!0)}applyTransaction(e){
let t,n=this.config,{base:r,compartments:o}=n
;for(let i of e.effects)i.is(H4.reconfigure)?(n&&(o=new Map,
n.compartments.forEach(((e,t)=>o.set(t,e))),
n=null),o.set(i.value.compartment,i.value.extension)):i.is(i7.reconfigure)?(n=null,
r=i.value):i.is(i7.appendConfig)&&(n=null,r=h7(r).concat(i.value))
;if(n)t=e.startState.values.slice();else{
n=Z4.resolve(r,o,this),t=new b7(n,this.doc,this.selection,n.dynamicSlots.map((()=>null)),((e,t)=>t.reconfigure(e,this)),null).values
}let a=e.startState.facet(Y4)?e.newSelection:e.newSelection.asSingle()
;new b7(n,e.newDoc,a,t,((t,n)=>n.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:T4.cursor(t.from+e.length)})))}
changeByRange(e){
let t=this.selection,n=e(t.ranges[0]),r=this.changes(n.changes),o=[n.range],a=h7(n.effects)
;for(let i=1;i<t.ranges.length;i++){
let n=e(t.ranges[i]),s=this.changes(n.changes),l=s.map(r)
;for(let e=0;e<i;e++)o[e]=o[e].map(l);let c=r.mapDesc(s,!0)
;o.push(n.range.map(c)),
r=r.compose(l),a=i7.mapEffects(a,l).concat(i7.mapEffects(h7(n.effects),c))}
return{changes:r,selection:T4.create(o,t.mainIndex),effects:a}}changes(e=[]){
return e instanceof y4?e:y4.of(e,this.doc.length,this.facet(b7.lineSeparator))}
toText(e){return n4.of(e.split(this.facet(b7.lineSeparator)||g4))}
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:(W4(this,t),X4(this,t))}toJSON(e){let t={
doc:this.sliceDoc(),selection:this.selection.toJSON()};if(e)for(let n in e){
let r=e[n]
;r instanceof L4&&null!=this.config.address[r.id]&&(t[n]=r.spec.toJSON(this.field(e[n]),this))
}return t}static fromJSON(e,t={},n){
if(!e||"string"!=typeof e.doc)throw new RangeError("Invalid JSON representation for EditorState")
;let r=[];if(n)for(let o in n)if(Object.prototype.hasOwnProperty.call(e,o)){
let t=n[o],a=e[o];r.push(t.init((e=>t.spec.fromJSON(a,e))))}return b7.create({
doc:e.doc,selection:T4.fromJSON(e.selection),
extensions:t.extensions?r.concat([t.extensions]):r})}static create(e={}){
let t=Z4.resolve(e.extensions||[],new Map),n=e.doc instanceof n4?e.doc:n4.of((e.doc||"").split(t.staticFacet(b7.lineSeparator)||g4)),r=e.selection?e.selection instanceof T4?e.selection:T4.single(e.selection.anchor,e.selection.head):T4.single(0)
;return C4(r,n.length),
t.staticFacet(Y4)||(r=r.asSingle()),new b7(t,n,r,t.dynamicSlots.map((()=>null)),((e,t)=>t.create(e)),null)
}get tabSize(){return this.facet(b7.tabSize)}get lineBreak(){
return this.facet(b7.lineSeparator)||"\n"}get readOnly(){return this.facet(n7)}
phrase(e,...t){
for(let n of this.facet(b7.phrases))if(Object.prototype.hasOwnProperty.call(n,e)){
e=n[e];break}return t.length&&(e=e.replace(/\$(\$|\d*)/g,((e,n)=>{
if("$"==n)return"$";let r=+(n||1);return!r||r>t.length?e:t[r-1]}))),e}
languageDataAt(e,t,n=-1){let r=[]
;for(let o of this.facet(G4))for(let a of o(this,t,n))Object.prototype.hasOwnProperty.call(a,e)&&r.push(a[e])
;return r}charCategorizer(e){
return v7(this.languageDataAt("wordChars",e).join(""))}wordAt(e){
let{text:t,from:n,length:r}=this.doc.lineAt(e),o=this.charCategorizer(e),a=e-n,i=e-n
;for(;a>0;){let e=p4(t,a,!1);if(o(t.slice(e,a))!=f7.Word)break;a=e}for(;i<r;){
let e=p4(t,i);if(o(t.slice(i,e))!=f7.Word)break;i=e}
return a==i?null:T4.range(a+n,i+n)}}function y7(e,t,n={}){let r={}
;for(let o of e)for(let e of Object.keys(o)){let t=o[e],a=r[e]
;if(void 0===a)r[e]=t;else if(a===t||void 0===t);else{
if(!Object.hasOwnProperty.call(n,e))throw new Error("Config merge conflict for field "+e)
;r[e]=n[e](a,t)}}for(let o in t)void 0===r[o]&&(r[o]=t[o]);return r}
b7.allowMultipleSelections=Y4,b7.tabSize=P4.define({combine:e=>e.length?e[0]:4
}),b7.lineSeparator=K4,b7.readOnly=n7,b7.phrases=P4.define({compare(e,t){
let n=Object.keys(e),r=Object.keys(t)
;return n.length==r.length&&n.every((n=>e[n]==t[n]))}
}),b7.languageData=G4,b7.changeFilter=J4,
b7.transactionFilter=e7,b7.transactionExtender=t7,H4.reconfigure=i7.define()
;class O7{eq(e){return this==e}range(e,t=e){return w7.create(e,t,this)}}
O7.prototype.startSide=O7.prototype.endSide=0,
O7.prototype.point=!1,O7.prototype.mapMode=v4.TrackDel;let w7=class e{
constructor(e,t,n){this.from=e,this.to=t,this.value=n}static create(t,n,r){
return new e(t,n,r)}};function x7(e,t){
return e.from-t.from||e.value.startSide-t.value.startSide}class k7{
constructor(e,t,n,r){this.from=e,this.to=t,this.value=n,this.maxPoint=r}
get length(){return this.to[this.to.length-1]}findIndex(e,t,n,r=0){
let o=n?this.to:this.from;for(let a=r,i=o.length;;){if(a==i)return a
;let r=a+i>>1,s=o[r]-e||(n?this.value[r].endSide:this.value[r].startSide)-t
;if(r==a)return s>=0?a:i;s>=0?i=r:a=r+1}}between(e,t,n,r){
for(let o=this.findIndex(t,-1e9,!0),a=this.findIndex(n,1e9,!1,o);o<a;o++)if(!1===r(this.from[o]+e,this.to[o]+e,this.value[o]))return!1
}map(e,t){let n=[],r=[],o=[],a=-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||(a<0&&(a=l),
u.point&&(i=Math.max(i,c-l)),n.push(u),r.push(l-a),o.push(c-a))}return{
mapped:n.length?new k7(r,o,n,i):null,pos:a}}}class S7{constructor(e,t,n,r){
this.chunkPos=e,this.chunk=t,this.nextLayer=n,this.maxPoint=r}
static create(e,t,n,r){return new S7(e,t,n,r)}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:n=!1,filterFrom:r=0,filterTo:o=this.length}=e,a=e.filter
;if(0==t.length&&!a)return this
;if(n&&(t=t.slice().sort(x7)),this.isEmpty)return t.length?S7.of(t):this
;let i=new T7(this,null,-1).goto(0),s=0,l=[],c=new _7
;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)&&(!a||r>this.chunkEnd(i.chunkIndex)||o<this.chunkPos[i.chunkIndex])&&c.addChunk(this.chunkPos[i.chunkIndex],this.chunk[i.chunkIndex])?i.nextChunk():((!a||r>i.to||o<i.from||a(i.from,i.to,i.value))&&(c.addInner(i.from,i.to,i.value)||l.push(w7.create(i.from,i.to,i.value))),
i.next())
;return c.finishInner(this.nextLayer.isEmpty&&!l.length?S7.empty:this.nextLayer.update({
add:l,filter:a,filterFrom:r,filterTo:o}))}map(e){
if(e.empty||this.isEmpty)return this;let t=[],n=[],r=-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)r=Math.max(r,i.maxPoint),
t.push(i),n.push(e.mapPos(o));else if(!0===s){let{mapped:a,pos:s}=i.map(o,e)
;a&&(r=Math.max(r,a.maxPoint),t.push(a),n.push(s))}}let o=this.nextLayer.map(e)
;return 0==t.length?o:new S7(n,t,o||S7.empty,r)}between(e,t,n){
if(!this.isEmpty){for(let r=0;r<this.chunk.length;r++){
let o=this.chunkPos[r],a=this.chunk[r]
;if(t>=o&&e<=o+a.length&&!1===a.between(o,e-o,t-o,n))return}
this.nextLayer.between(e,t,n)}}iter(e=0){return C7.from([this]).goto(e)}
get isEmpty(){return this.nextLayer==this}static iter(e,t=0){
return C7.from(e).goto(t)}static compare(e,t,n,r,o=-1){
let a=e.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=o)),i=t.filter((e=>e.maxPoint>0||!e.isEmpty&&e.maxPoint>=o)),s=E7(a,i,n),l=new P7(a,s,o),c=new P7(i,s,o)
;n.iterGaps(((e,t,n)=>D7(l,e,c,t,n,r))),n.empty&&0==n.length&&D7(l,0,c,0,0,r)}
static eq(e,t,n=0,r){null==r&&(r=999999999)
;let o=e.filter((e=>!e.isEmpty&&t.indexOf(e)<0)),a=t.filter((t=>!t.isEmpty&&e.indexOf(t)<0))
;if(o.length!=a.length)return!1;if(!o.length)return!0
;let i=E7(o,a),s=new P7(o,i,0).goto(n),l=new P7(a,i,0).goto(n);for(;;){
if(s.to!=l.to||!R7(s.active,l.active)||s.point&&(!l.point||!s.point.eq(l.point)))return!1
;if(s.to>r)return!0;s.next(),l.next()}}static spans(e,t,n,r,o=-1){
let a=new P7(e,null,o).goto(t),i=t,s=a.openStart;for(;;){let e=Math.min(a.to,n)
;if(a.point){
let n=a.activeForPoint(a.to),o=a.pointFrom<t?n.length+1:a.point.startSide<0?n.length:Math.min(n.length,s)
;r.point(i,e,a.point,n,o,a.pointRank),s=Math.min(a.openEnd(e),n.length)
}else e>i&&(r.span(i,e,a.active,s),s=a.openEnd(e))
;if(a.to>n)return s+(a.point&&a.to>n?1:0);i=a.to,a.next()}}static of(e,t=!1){
let n=new _7;for(let r of e instanceof w7?[e]:t?function(e){
if(e.length>1)for(let t=e[0],n=1;n<e.length;n++){let r=e[n]
;if(x7(t,r)>0)return e.slice().sort(x7);t=r}return e
}(e):e)n.add(r.from,r.to,r.value);return n.finish()}static join(e){
if(!e.length)return S7.empty;let t=e[e.length-1]
;for(let n=e.length-2;n>=0;n--)for(let r=e[n];r!=S7.empty;r=r.nextLayer)t=new S7(r.chunkPos,r.chunk,t,Math.max(r.maxPoint,t.maxPoint))
;return t}}S7.empty=new S7([],[],null,-1),S7.empty.nextLayer=S7.empty;class _7{
finishChunk(e){
this.chunks.push(new k7(this.from,this.to,this.value,this.maxPoint)),
this.chunkPos.push(this.chunkStart),
this.chunkStart=-1,this.setMaxPoint=Math.max(this.setMaxPoint,this.maxPoint),
this.maxPoint=-1,e&&(this.from=[],this.to=[],this.value=[])}constructor(){
this.chunks=[],
this.chunkPos=[],this.chunkStart=-1,this.last=null,this.lastFrom=-1e9,
this.lastTo=-1e9,
this.from=[],this.to=[],this.value=[],this.maxPoint=-1,this.setMaxPoint=-1,
this.nextLayer=null}add(e,t,n){
this.addInner(e,t,n)||(this.nextLayer||(this.nextLayer=new _7)).add(e,t,n)}
addInner(e,t,n){let r=e-this.lastTo||n.startSide-this.last.endSide
;if(r<=0&&(e-this.lastFrom||n.startSide-this.last.startSide)<0)throw new Error("Ranges must be added sorted by `from` position and `startSide`")
;return!(r<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=n,this.lastFrom=e,
this.lastTo=t,this.value.push(n),n.point&&(this.maxPoint=Math.max(this.maxPoint,t-e)),
!0)}addChunk(e,t){
if((e-this.lastTo||t.value[0].startSide-this.last.endSide)<0)return!1
;this.from.length&&this.finishChunk(!0),
this.setMaxPoint=Math.max(this.setMaxPoint,t.maxPoint),
this.chunks.push(t),this.chunkPos.push(e);let n=t.value.length-1
;return this.last=t.value[n],this.lastFrom=t.from[n]+e,this.lastTo=t.to[n]+e,!0}
finish(){return this.finishInner(S7.empty)}finishInner(e){
if(this.from.length&&this.finishChunk(!1),0==this.chunks.length)return e
;let t=S7.create(this.chunkPos,this.chunks,this.nextLayer?this.nextLayer.finishInner(e):e,this.setMaxPoint)
;return this.from=null,t}}function E7(e,t,n){let r=new Map
;for(let a of e)for(let e=0;e<a.chunk.length;e++)a.chunk[e].maxPoint<=0&&r.set(a.chunk[e],a.chunkPos[e])
;let o=new Set;for(let a of t)for(let e=0;e<a.chunk.length;e++){
let t=r.get(a.chunk[e])
;null==t||(n?n.mapPos(t):t)!=a.chunkPos[e]||(null==n?void 0:n.touchesRange(t,t+a.chunk[e].length))||o.add(a.chunk[e])
}return o}class T7{constructor(e,t,n,r=0){
this.layer=e,this.skip=t,this.minPoint=n,this.rank=r}get startSide(){
return this.value?this.value.startSide:0}get endSide(){
return this.value?this.value.endSide:0}goto(e,t=-1e9){
return this.chunkIndex=this.rangeIndex=0,this.gotoInner(e,t,!1),this}
gotoInner(e,t,n){for(;this.chunkIndex<this.layer.chunk.length;){
let t=this.layer.chunk[this.chunkIndex]
;if(!(this.skip&&this.skip.has(t)||this.layer.chunkEnd(this.chunkIndex)<e||t.maxPoint<this.minPoint))break
;this.chunkIndex++,n=!1}if(this.chunkIndex<this.layer.chunk.length){
let r=this.layer.chunk[this.chunkIndex].findIndex(e-this.layer.chunkPos[this.chunkIndex],t,!0)
;(!n||this.rangeIndex<r)&&this.setRangeIndex(r)}this.next()}forward(e,t){
(this.to-e||this.endSide-t)<0&&this.gotoInner(e,t,!0)}next(){for(;;){
if(this.chunkIndex==this.layer.chunk.length){
this.from=this.to=1e9,this.value=null;break}{
let e=this.layer.chunkPos[this.chunkIndex],t=this.layer.chunk[this.chunkIndex],n=e+t.from[this.rangeIndex]
;if(this.from=n,
this.to=e+t.to[this.rangeIndex],this.value=t.value[this.rangeIndex],
this.setRangeIndex(this.rangeIndex+1),
this.minPoint<0||this.value.point&&this.to-this.from>=this.minPoint)break}}}
setRangeIndex(e){if(e==this.layer.chunk[this.chunkIndex].value.length){
if(this.chunkIndex++,
this.skip)for(;this.chunkIndex<this.layer.chunk.length&&this.skip.has(this.layer.chunk[this.chunkIndex]);)this.chunkIndex++
;this.rangeIndex=0}else this.rangeIndex=e}nextChunk(){
this.chunkIndex++,this.rangeIndex=0,this.next()}compare(e){
return this.from-e.from||this.startSide-e.startSide||this.rank-e.rank||this.to-e.to||this.endSide-e.endSide
}}class C7{constructor(e){this.heap=e}static from(e,t=null,n=-1){let r=[]
;for(let o=0;o<e.length;o++)for(let a=e[o];!a.isEmpty;a=a.nextLayer)a.maxPoint>=n&&r.push(new T7(a,t,n,o))
;return 1==r.length?r[0]:new C7(r)}get startSide(){
return this.value?this.value.startSide:0}goto(e,t=-1e9){
for(let n of this.heap)n.goto(e,t)
;for(let n=this.heap.length>>1;n>=0;n--)A7(this.heap,n);return this.next(),this}
forward(e,t){for(let n of this.heap)n.forward(e,t)
;for(let n=this.heap.length>>1;n>=0;n--)A7(this.heap,n)
;(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(),A7(this.heap,0)}}}function A7(e,t){for(let n=e[t];;){
let r=1+(t<<1);if(r>=e.length)break;let o=e[r]
;if(r+1<e.length&&o.compare(e[r+1])>=0&&(o=e[r+1],r++),n.compare(o)<0)break
;e[r]=n,e[t]=o,t=r}}class P7{constructor(e,t,n){
this.minPoint=n,this.active=[],this.activeTo=[],
this.activeRank=[],this.minActive=-1,
this.point=null,this.pointFrom=0,this.pointRank=0,
this.to=-1e9,this.endSide=0,this.openStart=-1,this.cursor=C7.from(e,t,n)}
goto(e,t=-1e9){
return this.cursor.goto(e,t),this.active.length=this.activeTo.length=this.activeRank.length=0,
this.minActive=-1,this.to=e,this.endSide=t,this.openStart=-1,this.next(),this}
forward(e,t){
for(;this.minActive>-1&&(this.activeTo[this.minActive]-e||this.active[this.minActive].endSide-t)<0;)this.removeActive(this.minActive)
;this.cursor.forward(e,t)}removeActive(e){$7(this.active,e),$7(this.activeTo,e),
$7(this.activeRank,e),this.minActive=M7(this.active,this.activeTo)}addActive(e){
let t=0,{value:n,to:r,rank:o}=this.cursor
;for(;t<this.activeRank.length&&(o-this.activeRank[t]||r-this.activeTo[t])>0;)t++
;N7(this.active,t,n),
N7(this.activeTo,t,r),N7(this.activeRank,t,o),e&&N7(e,t,this.cursor.from),
this.minActive=M7(this.active,this.activeTo)}next(){let e=this.to,t=this.point
;this.point=null;let n=this.openStart<0?[]:null;for(;;){let r=this.minActive
;if(r>-1&&(this.activeTo[r]-this.cursor.from||this.active[r].endSide-this.cursor.startSide)<0){
if(this.activeTo[r]>e){
this.to=this.activeTo[r],this.endSide=this.active[r].endSide;break}
this.removeActive(r),n&&$7(n,r)}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(n),this.cursor.next()}}}if(n){
this.openStart=0;for(let t=n.length-1;t>=0&&n[t]<e;t--)this.openStart++}}
activeForPoint(e){if(!this.active.length)return this.active;let t=[]
;for(let n=this.active.length-1;n>=0&&!(this.activeRank[n]<this.pointRank);n--)(this.activeTo[n]>e||this.activeTo[n]==e&&this.active[n].endSide>=this.point.endSide)&&t.push(this.active[n])
;return t.reverse()}openEnd(e){let t=0
;for(let n=this.activeTo.length-1;n>=0&&this.activeTo[n]>e;n--)t++;return t}}
function D7(e,t,n,r,o,a){e.goto(t),n.goto(r);let i=r+o,s=r,l=r-t;for(;;){
let t=e.to+l-n.to,r=t||e.endSide-n.endSide,o=r<0?e.to+l:n.to,c=Math.min(o,i)
;if(e.point||n.point?e.point&&n.point&&(e.point==n.point||e.point.eq(n.point))&&R7(e.activeForPoint(e.to),n.activeForPoint(n.to))||a.comparePoint(s,c,e.point,n.point):c>s&&!R7(e.active,n.active)&&a.compareRange(s,c,e.active,n.active),
o>i)break
;(t||e.openEnd!=n.openEnd)&&a.boundChange&&a.boundChange(o),s=o,r<=0&&e.next(),
r>=0&&n.next()}}function R7(e,t){if(e.length!=t.length)return!1
;for(let n=0;n<e.length;n++)if(e[n]!=t[n]&&!e[n].eq(t[n]))return!1;return!0}
function $7(e,t){for(let n=t,r=e.length-1;n<r;n++)e[n]=e[n+1];e.pop()}
function N7(e,t,n){for(let r=e.length-1;r>=t;r--)e[r+1]=e[r];e[t]=n}
function M7(e,t){let n=-1,r=1e9
;for(let o=0;o<t.length;o++)(t[o]-r||e[o].endSide-e[n].endSide)<0&&(n=o,r=t[o])
;return n}function I7(e,t,n=e.length){let r=0
;for(let o=0;o<n;)9==e.charCodeAt(o)?(r+=t-r%t,o++):(r++,o=p4(e,o));return r}
const L7="undefined"==typeof Symbol?"__ͼ":Symbol.for("ͼ"),j7="undefined"==typeof Symbol?"__styleSet"+Math.floor(1e8*Math.random()):Symbol("styleSet"),B7="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:{}
;class U7{constructor(e,t){this.rules=[];let{finish:n}=t||{};function r(e){
return/^@/.test(e)?[e]:e.split(/,\s*/)}function o(e,t,a,i){
let s=[],l=/^@(\w+)\b/.exec(e[0]),c=l&&"keyframes"==l[1]
;if(l&&null==t)return a.push(e[0]+";");for(let n in t){let i=t[n]
;if(/&/.test(n))o(n.split(/,\s*/).map((t=>e.map((e=>t.replace(/&/,e))))).reduce(((e,t)=>e.concat(t))),i,a);else if(i&&"object"==typeof i){
if(!l)throw new RangeError("The value of a property ("+n+") should be a primitive value.")
;o(r(n),i,s,c)
}else null!=i&&s.push(n.replace(/_.*/,"").replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))+": "+i+";")
}(s.length||c)&&a.push((!n||l||i?e:e.map(n)).join(", ")+" {"+s.join(" ")+"}")}
for(let a in e)o(r(a),e[a],this.rules)}getRules(){return this.rules.join("\n")}
static newName(){let e=B7[L7]||1;return B7[L7]=e+1,"ͼ"+e.toString(36)}
static mount(e,t,n){let r=e[j7],o=n&&n.nonce
;r?o&&r.setNonce(o):r=new F7(e,o),r.mount(Array.isArray(t)?t:[t],e)}}
let Q7=new Map;class F7{constructor(e,t){
let n=e.ownerDocument||e,r=n.defaultView
;if(!e.head&&e.adoptedStyleSheets&&r.CSSStyleSheet){let t=Q7.get(n)
;if(t)return e[j7]=t;this.sheet=new r.CSSStyleSheet,Q7.set(n,this)
}else this.styleTag=n.createElement("style"),
t&&this.styleTag.setAttribute("nonce",t);this.modules=[],e[j7]=this}mount(e,t){
let n=this.sheet,r=0,o=0;for(let a=0;a<e.length;a++){
let t=e[a],i=this.modules.indexOf(t)
;if(i<o&&i>-1&&(this.modules.splice(i,1),o--,i=-1),-1==i){
if(this.modules.splice(o++,0,t),
n)for(let e=0;e<t.rules.length;e++)n.insertRule(t.rules[e],r++)}else{
for(;o<i;)r+=this.modules[o++].rules.length;r+=t.rules.length,o++}}
if(n)t.adoptedStyleSheets.indexOf(this.sheet)<0&&(t.adoptedStyleSheets=[this.sheet,...t.adoptedStyleSheets]);else{
let e=""
;for(let t=0;t<this.modules.length;t++)e+=this.modules[t].getRules()+"\n"
;this.styleTag.textContent=e;let n=t.head||t
;this.styleTag.parentNode!=n&&n.insertBefore(this.styleTag,n.firstChild)}}
setNonce(e){
this.styleTag&&this.styleTag.getAttribute("nonce")!=e&&this.styleTag.setAttribute("nonce",e)
}}for(var z7={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:"'"},q7={48:")",49:"!",50:"@",51:"#",52:"$",53:"%",
54:"^",55:"&",56:"*",57:"(",59:":",61:"+",173:"_",186:":",187:"+",188:"<",
189:"_",190:">",191:"?",192:"~",219:"{",220:"|",221:"}",222:'"'
},H7="undefined"!=typeof navigator&&/Mac/.test(navigator.platform),V7="undefined"!=typeof navigator&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),Z7=0;Z7<10;Z7++)z7[48+Z7]=z7[96+Z7]=String(Z7)
;for(Z7=1;Z7<=24;Z7++)z7[Z7+111]="F"+Z7
;for(Z7=65;Z7<=90;Z7++)z7[Z7]=String.fromCharCode(Z7+32),
q7[Z7]=String.fromCharCode(Z7)
;for(var W7 in z7)q7.hasOwnProperty(W7)||(q7[W7]=z7[W7]);function X7(e){let t
;return t=11==e.nodeType?e.getSelection?e:e.ownerDocument:e,t.getSelection()}
function G7(e,t){return!!t&&(e==t||e.contains(1!=t.nodeType?t.parentNode:t))}
function Y7(e,t){if(!t.anchorNode)return!1;try{return G7(e,t.anchorNode)
}catch(KPe){return!1}}function K7(e){
return 3==e.nodeType?d8(e,0,e.nodeValue.length).getClientRects():1==e.nodeType?e.getClientRects():[]
}function J7(e,t,n,r){return!!n&&(n8(e,t,n,r,-1)||n8(e,t,n,r,1))}function e8(e){
for(var t=0;;t++)if(!(e=e.previousSibling))return t}function t8(e){
return 1==e.nodeType&&/^(DIV|P|LI|UL|OL|BLOCKQUOTE|DD|DT|H\d|SECTION|PRE)$/.test(e.nodeName)
}function n8(e,t,n,r,o){for(;;){if(e==n&&t==r)return!0;if(t==(o<0?0:r8(e))){
if("DIV"==e.nodeName)return!1;let n=e.parentNode;if(!n||1!=n.nodeType)return!1
;t=e8(e)+(o<0?0:1),e=n}else{if(1!=e.nodeType)return!1
;if(1==(e=e.childNodes[t+(o<0?-1:0)]).nodeType&&"false"==e.contentEditable)return!1
;t=o<0?r8(e):0}}}function r8(e){
return 3==e.nodeType?e.nodeValue.length:e.childNodes.length}function o8(e,t){
let n=t?e.left:e.right;return{left:n,right:n,top:e.top,bottom:e.bottom}}
function a8(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 i8(e,t){let n=t.width/e.offsetWidth,r=t.height/e.offsetHeight
;return(n>.995&&n<1.005||!isFinite(n)||Math.abs(t.width-e.offsetWidth)<1)&&(n=1),
(r>.995&&r<1.005||!isFinite(r)||Math.abs(t.height-e.offsetHeight)<1)&&(r=1),{
scaleX:n,scaleY:r}}class s8{constructor(){
this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}
eq(e){
return this.anchorNode==e.anchorNode&&this.anchorOffset==e.anchorOffset&&this.focusNode==e.focusNode&&this.focusOffset==e.focusOffset
}setRange(e){let{anchorNode:t,focusNode:n}=e
;this.set(t,Math.min(e.anchorOffset,t?r8(t):0),n,Math.min(e.focusOffset,n?r8(n):0))
}set(e,t,n,r){
this.anchorNode=e,this.anchorOffset=t,this.focusNode=n,this.focusOffset=r}}
let l8,c8=null;function u8(e){if(e.setActive)return e.setActive()
;if(c8)return e.focus(c8);let t=[]
;for(let n=e;n&&(t.push(n,n.scrollTop,n.scrollLeft),
n!=n.ownerDocument);n=n.parentNode);if(e.focus(null==c8?{get preventScroll(){
return c8={preventScroll:!0},!0}}:void 0),!c8){c8=!1;for(let e=0;e<t.length;){
let n=t[e++],r=t[e++],o=t[e++]
;n.scrollTop!=r&&(n.scrollTop=r),n.scrollLeft!=o&&(n.scrollLeft=o)}}}
function d8(e,t,n=t){let r=l8||(l8=document.createRange());return r.setEnd(e,n),
r.setStart(e,t),r}function p8(e,t,n,r){let o={key:t,code:t,keyCode:n,which:n,
cancelable:!0}
;r&&({altKey:o.altKey,ctrlKey:o.ctrlKey,shiftKey:o.shiftKey,metaKey:o.metaKey}=r)
;let a=new KeyboardEvent("keydown",o);a.synthetic=!0,e.dispatchEvent(a)
;let i=new KeyboardEvent("keyup",o)
;return i.synthetic=!0,e.dispatchEvent(i),a.defaultPrevented||i.defaultPrevented
}function h8(e){for(;e.attributes.length;)e.removeAttributeNode(e.attributes[0])
}function f8(e){return e.scrollTop>Math.max(1,e.scrollHeight-e.clientHeight-4)}
function m8(e,t){for(let n=e,r=t;;){if(3==n.nodeType&&r>0)return{node:n,offset:r
};if(1==n.nodeType&&r>0){if("false"==n.contentEditable)return null
;n=n.childNodes[r-1],r=r8(n)}else{if(!n.parentNode||t8(n))return null
;r=e8(n),n=n.parentNode}}}function g8(e,t){for(let n=e,r=t;;){
if(3==n.nodeType&&r<n.nodeValue.length)return{node:n,offset:r}
;if(1==n.nodeType&&r<n.childNodes.length){
if("false"==n.contentEditable)return null;n=n.childNodes[r],r=0}else{
if(!n.parentNode||t8(n))return null;r=e8(n)+1,n=n.parentNode}}}class v8{
constructor(e,t,n=!0){this.node=e,this.offset=t,this.precise=n}
static before(e,t){return new v8(e.parentNode,e8(e),t)}static after(e,t){
return new v8(e.parentNode,e8(e)+1,t)}}const b8=[];class y8{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 n of this.children){if(n==e)return t
;t+=n.length+n.breakAfter}throw new RangeError("Invalid child in posBefore")}
posAfter(e){return this.posBefore(e)+e.length}sync(e,t){if(2&this.flags){
let n,r=this.dom,o=null;for(let a of this.children){if(7&a.flags){
if(!a.dom&&(n=o?o.nextSibling:r.firstChild)){let e=y8.get(n)
;(!e||!e.parent&&e.canReuseDOM(a))&&a.reuseDOM(n)}a.sync(e,t),a.flags&=-8}
if(n=o?o.nextSibling:r.firstChild,
t&&!t.written&&t.node==r&&n!=a.dom&&(t.written=!0),
a.dom.parentNode==r)for(;n&&n!=a.dom;)n=O8(n);else r.insertBefore(a.dom,n)
;o=a.dom}
for(n=o?o.nextSibling:r.firstChild,n&&t&&t.node==r&&(t.written=!0);n;)n=O8(n)
}else if(1&this.flags)for(let n of this.children)7&n.flags&&(n.sync(e,t),
n.flags&=-8)}reuseDOM(e){}localPosFromDOM(e,t){let n
;if(e==this.dom)n=this.dom.childNodes[t];else{let r=0==r8(e)?0:0==t?-1:1
;for(;;){let t=e.parentNode;if(t==this.dom)break
;0==r&&t.firstChild!=t.lastChild&&(r=e==t.firstChild?-1:1),e=t}
n=r<0?e:e.nextSibling}if(n==this.dom.firstChild)return 0
;for(;n&&!y8.get(n);)n=n.nextSibling;if(!n)return this.length
;for(let r=0,o=0;;r++){let e=this.children[r];if(e.dom==n)return o
;o+=e.length+e.breakAfter}}domBoundsAround(e,t,n=0){let r=-1,o=-1,a=-1,i=-1
;for(let s=0,l=n,c=n;s<this.children.length;s++){
let n=this.children[s],u=l+n.length;if(l<e&&u>t)return n.domBoundsAround(e,t,l)
;if(u>=e&&-1==r&&(r=s,o=l),l>t&&n.dom.parentNode==this.dom){a=s,i=c;break}
c=u,l=u+n.breakAfter}return{from:o,to:i<0?n+this.length:i,
startDOM:(r?this.children[r-1].dom.nextSibling:null)||this.dom.firstChild,
endDOM:a<this.children.length&&a>=0?this.children[a].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,n=b8){this.markDirty();for(let r=e;r<t;r++){
let e=this.children[r];e.parent==this&&n.indexOf(e)<0&&e.destroy()}
n.length<250?this.children.splice(e,t-e,...n):this.children=[].concat(this.children.slice(0,e),n,this.children.slice(t))
;for(let r=0;r<n.length;r++)n[r].setParent(this)}ignoreMutation(e){return!1}
ignoreEvent(e){return!1}childCursor(e=this.length){
return new w8(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,n,r,o,a){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 O8(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}
y8.prototype.breakAfter=0;class w8{constructor(e,t,n){
this.children=e,this.pos=t,this.i=n,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 n=this.children[--this.i];this.pos-=n.length+n.breakAfter}}}
function x8(e,t,n,r,o,a,i,s,l){
let{children:c}=e,u=c.length?c[t]:null,d=a.length?a[a.length-1]:null,p=d?d.breakAfter:i
;if(!(t==r&&u&&!i&&!p&&a.length<2&&u.merge(n,o,a.length?d:null,0==n,s,l))){
if(r<c.length){let e=c[r]
;e&&(o<e.length||e.breakAfter&&(null==d?void 0:d.breakAfter))?(t==r&&(e=e.split(o),
o=0),
!p&&d&&e.merge(0,o,d,!0,0,l)?a[a.length-1]=e:((o||e.children.length&&!e.children[0].length)&&e.merge(0,o,null,!1,0,l),
a.push(e))):(null==e?void 0:e.breakAfter)&&(d?d.breakAfter=1:i=1),r++}
for(u&&(u.breakAfter=i,
n>0&&(!i&&a.length&&u.merge(n,u.length,a[0],!1,s,0)?u.breakAfter=a.shift().breakAfter:(n<u.length||u.children.length&&0==u.children[u.children.length-1].length)&&u.merge(n,u.length,null,!1,s,0),
t++));t<r&&a.length;)if(c[r-1].become(a[a.length-1]))r--,
a.pop(),l=a.length?0:s;else{if(!c[t].become(a[0]))break
;t++,a.shift(),s=a.length?0:l}
!a.length&&t&&r<c.length&&!c[t-1].breakAfter&&c[r].merge(0,0,c[t-1],!1,s,l)&&t--,
(t<r||a.length)&&e.replaceChildren(t,r,a)}}function k8(e,t,n,r,o,a){
let i=e.childCursor(),{i:s,off:l}=i.findPos(n,1),{i:c,off:u}=i.findPos(t,-1),d=t-n
;for(let p of r)d+=p.length;e.length+=d,x8(e,c,u,s,l,r,0,o,a)}
let S8="undefined"!=typeof navigator?navigator:{userAgent:"",vendor:"",
platform:""},_8="undefined"!=typeof document?document:{documentElement:{style:{}
}}
;const E8=/Edge\/(\d+)/.exec(S8.userAgent),T8=/MSIE \d/.test(S8.userAgent),C8=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(S8.userAgent),A8=!!(T8||C8||E8),P8=!A8&&/gecko\/(\d+)/i.test(S8.userAgent),D8=!A8&&/Chrome\/(\d+)/.exec(S8.userAgent),R8="webkitFontSmoothing"in _8.documentElement.style,$8=!A8&&/Apple Computer/.test(S8.vendor),N8=$8&&(/Mobile\/\w+/.test(S8.userAgent)||S8.maxTouchPoints>2)
;var M8={mac:N8||/Mac/.test(S8.platform),windows:/Win/.test(S8.platform),
linux:/Linux|X11/.test(S8.platform),ie:A8,
ie_version:T8?_8.documentMode||6:C8?+C8[1]:E8?+E8[1]:0,gecko:P8,
gecko_version:P8?+(/Firefox\/(\d+)/.exec(S8.userAgent)||[0,0])[1]:0,chrome:!!D8,
chrome_version:D8?+D8[1]:0,ios:N8,android:/Android\b/.test(S8.userAgent),
webkit:R8,safari:$8,
webkit_version:R8?+(/\bAppleWebKit\/(\d+)/.exec(S8.userAgent)||[0,0])[1]:0,
tabSize:null!=_8.documentElement.style.tabSize?"tab-size":"-moz-tab-size"}
;class I8 extends y8{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,n){
return!(8&this.flags||n&&(!(n instanceof I8)||this.length-(t-e)+n.length>256||8&n.flags))&&(this.text=this.text.slice(0,e)+(n?n.text:"")+this.text.slice(t),
this.markDirty(),!0)}split(e){let t=new I8(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 v8(this.dom,e)}domBoundsAround(e,t,n){return{from:n,to:n+this.length,
startDOM:this.dom,endDOM:this.dom.nextSibling}}coordsAt(e,t){
return function(e,t,n){let r=e.nodeValue.length;t>r&&(t=r);let o=t,a=t,i=0
;0==t&&n<0||t==r&&n>=0?M8.chrome||M8.gecko||(t?(o--,
i=1):a<r&&(a++,i=-1)):n<0?o--:a<r&&a++;let s=d8(e,o,a).getClientRects()
;if(!s.length)return null;let l=s[(i?i<0:n>=0)?0:s.length-1]
;M8.safari&&!i&&0==l.width&&(l=Array.prototype.find.call(s,(e=>e.width))||l)
;return i?o8(l,i<0):l||null}(this.dom,e,t)}}class L8 extends y8{
constructor(e,t=[],n=0){super(),this.mark=e,this.children=t,this.length=n
;for(let r of t)r.setParent(this)}setAttrs(e){
if(h8(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,n,r,o,a){
return(!n||!(!(n instanceof L8&&n.mark.eq(this.mark))||e&&o<=0||t<this.length&&a<=0))&&(k8(this,e,t,n?n.children.slice():[],o-1,a-1),
this.markDirty(),!0)}split(e){let t=[],n=0,r=-1,o=0;for(let i of this.children){
let a=n+i.length;a>e&&t.push(n<e?i.split(e-n):i),r<0&&n>=e&&(r=o),n=a,o++}
let a=this.length-e
;return this.length=e,r>-1&&(this.children.length=r,this.markDirty()),
new L8(this.mark,t,a)}domAtPos(e){return U8(this,e)}coordsAt(e,t){
return F8(this,e,t)}}class j8 extends y8{static create(e,t,n){
return new j8(e,t,n)}constructor(e,t,n){
super(),this.widget=e,this.length=t,this.side=n,this.prevWidget=null}split(e){
let t=j8.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,n,r,o,a){
return!(n&&(!(n instanceof j8&&this.widget.compare(n.widget))||e>0&&o<=0||t<this.length&&a<=0))&&(this.length=e+(n?n.length:0)+(this.length-t),
!0)}become(e){
return e instanceof j8&&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 n4.empty;let e=this;for(;e.parent;)e=e.parent
;let{view:t}=e,n=t&&t.state.doc,r=this.posAtStart
;return n?n.slice(r,r+this.length):n4.empty}domAtPos(e){
return(this.length?0==e:this.side>0)?v8.before(this.dom):v8.after(this.dom,e==this.length)
}domBoundsAround(){return null}coordsAt(e,t){
let n=this.widget.coordsAt(this.dom,e,t);if(n)return n
;let r=this.dom.getClientRects(),o=null;if(!r.length)return null
;let a=this.side?this.side<0:e>0
;for(let i=a?r.length-1:0;o=r[i],!(e>0?0==i:i==r.length-1||o.top<o.bottom);i+=a?-1:1);
return o8(o,!a)}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 B8 extends y8{
constructor(e){super(),this.side=e}get length(){return 0}merge(){return!1}
become(e){return e instanceof B8&&e.side==this.side}split(){
return new B8(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?v8.before(this.dom):v8.after(this.dom)}localPosFromDOM(){
return 0}domBoundsAround(){return null}coordsAt(e){
return this.dom.getBoundingClientRect()}get overrideDOMText(){return n4.empty}
get isHidden(){return!0}}function U8(e,t){let n=e.dom,{children:r}=e,o=0
;for(let a=0;o<r.length;o++){let e=r[o],i=a+e.length
;if(!(i==a&&e.getSide()<=0)){
if(t>a&&t<i&&e.dom.parentNode==n)return e.domAtPos(t-a);if(t<=a)break;a=i}}
for(let a=o;a>0;a--){let e=r[a-1]
;if(e.dom.parentNode==n)return e.domAtPos(e.length)}for(let a=o;a<r.length;a++){
let e=r[a];if(e.dom.parentNode==n)return e.domAtPos(0)}return new v8(n,0)}
function Q8(e,t,n){let r,{children:o}=e
;n>0&&t instanceof L8&&o.length&&(r=o[o.length-1])instanceof L8&&r.mark.eq(t.mark)?Q8(r,t.children[0],n-1):(o.push(t),
t.setParent(e)),e.length+=t.length}function F8(e,t,n){
let r=null,o=-1,a=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):(!a||a.isHidden&&n>0)&&(d>s||c==d&&u.getSide()>0)?(a=u,
i=s-c):(c<s||c==d&&u.getSide()<0&&!u.isHidden)&&(r=u,o=s-c)),c=d}}(e,t)
;let s=(n<0?r:a)||r||a;return s?s.coordsAt(Math.max(0,s==r?o:i),n):function(e){
let t=e.dom.lastChild;if(!t)return e.dom.getBoundingClientRect();let n=K7(t)
;return n[n.length-1]||null}(e)}function z8(e,t){
for(let n in e)"class"==n&&t.class?t.class+=" "+e.class:"style"==n&&t.style?t.style+=";"+e.style:t[n]=e[n]
;return t}I8.prototype.children=j8.prototype.children=B8.prototype.children=b8
;const q8=Object.create(null);function H8(e,t,n){if(e==t)return!0
;e||(e=q8),t||(t=q8);let r=Object.keys(e),o=Object.keys(t)
;if(r.length-(n&&r.indexOf(n)>-1?1:0)!=o.length-(n&&o.indexOf(n)>-1?1:0))return!1
;for(let a of r)if(a!=n&&(-1==o.indexOf(a)||e[a]!==t[a]))return!1;return!0}
function V8(e,t,n){let r=!1
;if(t)for(let o in t)n&&o in n||(r=!0,"style"==o?e.style.cssText="":e.removeAttribute(o))
;if(n)for(let o in n)t&&t[o]==n[o]||(r=!0,
"style"==o?e.style.cssText=n[o]:e.setAttribute(o,n[o]));return r}function Z8(e){
let t=Object.create(null);for(let n=0;n<e.attributes.length;n++){
let r=e.attributes[n];t[r.name]=r.value}return t}class W8{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,n){return null}get isHidden(){return!1}get editable(){return!1}
destroy(e){}}var X8=function(e){
return e[e.Text=0]="Text",e[e.WidgetBefore=1]="WidgetBefore",
e[e.WidgetAfter=2]="WidgetAfter",e[e.WidgetRange=3]="WidgetRange",e
}(X8||(X8={}));class G8 extends O7{constructor(e,t,n,r){
super(),this.startSide=e,this.endSide=t,this.widget=n,this.spec=r}
get heightRelevant(){return!1}static mark(e){return new Y8(e)}static widget(e){
let t=Math.max(-1e4,Math.min(1e4,e.side||0)),n=!!e.block
;return t+=n&&!e.inlineOrder?t>0?3e8:-4e8:t>0?1e8:-1e8,
new J8(e,t,t,n,e.widget||null,!1)}static replace(e){let t,n,r=!!e.block
;if(e.isBlockGap)t=-5e8,n=4e8;else{let{start:o,end:a}=e6(e,r)
;t=(o?r?-3e8:-1:5e8)-1,n=1+(a?r?2e8:1:-6e8)}
return new J8(e,t,n,r,e.widget||null,!0)}static line(e){return new K8(e)}
static set(e,t=!1){return S7.of(e,t)}hasHeight(){
return!!this.widget&&this.widget.estimatedHeight>-1}}G8.none=S7.empty
;class Y8 extends G8{constructor(e){let{start:t,end:n}=e6(e)
;super(t?-1:5e8,n?1:-6e8,null,e),
this.tagName=e.tagName||"span",this.class=e.class||"",
this.attrs=e.attributes||null}eq(e){var t,n
;return this==e||e instanceof Y8&&this.tagName==e.tagName&&(this.class||(null===(t=this.attrs)||void 0===t?void 0:t.class))==(e.class||(null===(n=e.attrs)||void 0===n?void 0:n.class))&&H8(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)}}Y8.prototype.point=!1;class K8 extends G8{
constructor(e){super(-2e8,-2e8,null,e)}eq(e){
return e instanceof K8&&this.spec.class==e.spec.class&&H8(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)}}
K8.prototype.mapMode=v4.TrackBefore,K8.prototype.point=!0;class J8 extends G8{
constructor(e,t,n,r,o,a){
super(t,n,o,e),this.block=r,this.isReplace=a,this.mapMode=r?t<=0?v4.TrackBefore:v4.TrackAfter:v4.TrackDel
}get type(){
return this.startSide!=this.endSide?X8.WidgetRange:this.startSide<=0?X8.WidgetBefore:X8.WidgetAfter
}get heightRelevant(){
return this.block||!!this.widget&&(this.widget.estimatedHeight>=5||this.widget.lineBreaks>0)
}eq(e){
return e instanceof J8&&(t=this.widget,n=e.widget,t==n||!!(t&&n&&t.compare(n)))&&this.block==e.block&&this.startSide==e.startSide&&this.endSide==e.endSide
;var t,n}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 e6(e,t=!1){
let{inclusiveStart:n,inclusiveEnd:r}=e
;return null==n&&(n=e.inclusive),null==r&&(r=e.inclusive),{start:null!=n?n:t,
end:null!=r?r:t}}function t6(e,t,n,r=0){let o=n.length-1
;o>=0&&n[o]+r>=e?n[o]=Math.max(n[o],t):n.push(e,t)}J8.prototype.point=!0
;class n6 extends y8{constructor(){
super(...arguments),this.children=[],this.length=0,
this.prevAttrs=void 0,this.attrs=null,this.breakAfter=0}merge(e,t,n,r,o,a){
if(n){if(!(n instanceof n6))return!1;this.dom||n.transferDOM(this)}
return r&&this.setDeco(n?n.attrs:null),k8(this,e,t,n?n.children.slice():[],o,a),
!0}split(e){let t=new n6;if(t.breakAfter=this.breakAfter,0==this.length)return t
;let{i:n,off:r}=this.childPos(e)
;r&&(t.append(this.children[n].split(r),0),this.children[n].merge(r,this.children[n].length,null,!1,0,0),
n++);for(let o=n;o<this.children.length;o++)t.append(this.children[o],0)
;for(;n>0&&0==this.children[n-1].length;)this.children[--n].destroy()
;return this.children.length=n,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){
H8(this.attrs,e)||(this.dom&&(this.prevAttrs=this.attrs,
this.markDirty()),this.attrs=e)}append(e,t){Q8(this,e,t)}addLineDeco(e){
let t=e.spec.attributes,n=e.spec.class
;t&&(this.attrs=z8(t,this.attrs||{})),n&&(this.attrs=z8({class:n
},this.attrs||{}))}domAtPos(e){return U8(this,e)}reuseDOM(e){
"DIV"==e.nodeName&&(this.setDOM(e),this.flags|=6)}sync(e,t){var n
;this.dom?4&this.flags&&(h8(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&&(V8(this.dom,this.prevAttrs,this.attrs),
this.dom.classList.add("cm-line"),this.prevAttrs=void 0),super.sync(e,t)
;let r=this.dom.lastChild;for(;r&&y8.get(r)instanceof L8;)r=r.lastChild
;if(!(r&&this.length&&("BR"==r.nodeName||0!=(null===(n=y8.get(r))||void 0===n?void 0:n.isEditable)||M8.ios&&this.children.some((e=>e instanceof I8))))){
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 n of this.children){
if(!(n instanceof I8)||/[^ -~]/.test(n.text))return null;let r=K7(n.dom)
;if(1!=r.length)return null;t+=r[0].width,e=r[0].height}return t?{
lineHeight:this.dom.getBoundingClientRect().height,charWidth:t/this.length,
textHeight:e}:null}coordsAt(e,t){let n=F8(this,e,t)
;if(!this.children.length&&n&&this.parent){
let{heightOracle:e}=this.parent.view.viewState,t=n.bottom-n.top
;if(Math.abs(t-e.lineHeight)<2&&e.textHeight<t){let r=(t-e.textHeight)/2;return{
top:n.top+r,bottom:n.bottom-r,left:n.left,right:n.left}}}return n}become(e){
return e instanceof n6&&0==this.children.length&&0==e.children.length&&H8(this.attrs,e.attrs)&&this.breakAfter==e.breakAfter
}covers(){return!0}static find(e,t){for(let n=0,r=0;n<e.children.length;n++){
let o=e.children[n],a=r+o.length;if(a>=t){if(o instanceof n6)return o
;if(a>t)break}r=a+o.breakAfter}return null}}class r6 extends y8{
constructor(e,t,n){
super(),this.widget=e,this.length=t,this.deco=n,this.breakAfter=0,
this.prevWidget=null}merge(e,t,n,r,o,a){
return!(n&&(!(n instanceof r6&&this.widget.compare(n.widget))||e>0&&o<=0||t<this.length&&a<=0))&&(this.length=e+(n?n.length:0)+(this.length-t),
!0)}domAtPos(e){
return 0==e?v8.before(this.dom):v8.after(this.dom,e==this.length)}split(e){
let t=this.length-e;this.length=e;let n=new r6(this.widget,t,this.deco)
;return n.breakAfter=this.breakAfter,n}get children(){return b8}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):n4.empty
}domBoundsAround(){return null}become(e){
return e instanceof r6&&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){let n=this.widget.coordsAt(this.dom,e,t)
;return n||(this.widget instanceof o6?null:o8(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:n}=this.deco;return t!=n&&(e<0?t<0:n>0)}}
class o6 extends W8{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 a6{
constructor(e,t,n,r){
this.doc=e,this.pos=t,this.end=n,this.disallowBlockEffectsFor=r,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 r6&&e.deco.endSide<0)}getLine(){
return this.curLine||(this.content.push(this.curLine=new n6),
this.atCursorPos=!0),this.curLine}flushBuffer(e=this.bufferMarks){
this.pendingBuffer&&(this.curLine.append(i6(new B8(-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 r6||this.getLine()
}buildText(e,t,n){for(;e>0;){if(this.textOff==this.text.length){
let{value:t,lineBreak:n,done:r}=this.cursor.next(this.skip)
;if(this.skip=0,r)throw new Error("Ran out of text content when drawing inline views")
;if(n){
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 r=Math.min(this.text.length-this.textOff,e,512)
;this.flushBuffer(t.slice(t.length-n)),
this.getLine().append(i6(new I8(this.text.slice(this.textOff,this.textOff+r)),t),n),
this.atCursorPos=!0,this.textOff+=r,e-=r,n=0}}span(e,t,n,r){
this.buildText(t-e,n,r),this.pos=t,this.openStart<0&&(this.openStart=r)}
point(e,t,n,r,o,a){if(this.disallowBlockEffectsFor[a]&&n instanceof J8){
if(n.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(n instanceof J8)if(n.block)n.startSide>0&&!this.posCovered()&&this.getLine(),
this.addBlockWidget(new r6(n.widget||s6.block,i,n));else{
let a=j8.create(n.widget||s6.inline,i,i?0:n.startSide),s=this.atCursorPos&&!a.isEditable&&o<=r.length&&(e<t||n.startSide>0),l=!a.isEditable&&(e<t||o>r.length||n.startSide<=0),c=this.getLine()
;2!=this.pendingBuffer||s||a.isEditable||(this.pendingBuffer=0),
this.flushBuffer(r),
s&&(c.append(i6(new B8(1),r),o),o=r.length+Math.max(0,o-r.length)),
c.append(i6(a,r),o),
this.atCursorPos=l,this.pendingBuffer=l?e<t||o>r.length?1:2:0,
this.pendingBuffer&&(this.bufferMarks=r.slice())
}else this.doc.lineAt(this.pos).from==this.pos&&this.getLine().addLineDeco(n)
;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=o)}
static build(e,t,n,r,o){let a=new a6(e,t,n,o)
;return a.openEnd=S7.spans(r,t,n,a),
a.openStart<0&&(a.openStart=a.openEnd),a.finish(a.openEnd),a}}function i6(e,t){
for(let n of t)e=new L8(n,[e],e.length);return e}class s6 extends W8{
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}}
s6.inline=new s6("span"),s6.block=new s6("div");var l6=function(e){
return e[e.LTR=0]="LTR",e[e.RTL=1]="RTL",e}(l6||(l6={}))
;const c6=l6.LTR,u6=l6.RTL;function d6(e){let t=[]
;for(let n=0;n<e.length;n++)t.push(1<<+e[n]);return t}
const p6=d6("88888888888888888888888888888888888666888888787833333333337888888000000000000000000000000008888880000000000000000000000000088888888888888888888888888888888888887866668888088888663380888308888800000000000000000000000800000000000000000000000000000008"),h6=d6("4444448826627288999999999992222222222222222222222222222222222222222222222229999999999999999999994444444444644222822222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222999999949999999229989999223333333333"),f6=Object.create(null),m6=[]
;for(let JPe of["()","[]","{}"]){let e=JPe.charCodeAt(0),t=JPe.charCodeAt(1)
;f6[e]=t,f6[t]=-e}function g6(e){
return e<=247?p6[e]:1424<=e&&e<=1524?2:1536<=e&&e<=1785?h6[e-1536]:1774<=e&&e<=2220?4:8192<=e&&e<=8204?256:64336<=e&&e<=65023?4:1
}const v6=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\ufb50-\ufdff]/;class b6{
get dir(){return this.level%2?u6:c6}constructor(e,t,n){
this.from=e,this.to=t,this.level=n}side(e,t){
return this.dir==t==e?this.to:this.from}forward(e,t){return e==(this.dir==t)}
static find(e,t,n,r){let o=-1;for(let a=0;a<e.length;a++){let i=e[a]
;if(i.from<=t&&i.to>=t){if(i.level==n)return a
;(o<0||(0!=r?r<0?i.from<t:i.to>t:e[o].level>i.level))&&(o=a)}}
if(o<0)throw new RangeError("Index out of range");return o}}function y6(e,t){
if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){let r=e[n],o=t[n]
;if(r.from!=o.from||r.to!=o.to||r.direction!=o.direction||!y6(r.inner,o.inner))return!1
}return!0}const O6=[];function w6(e,t,n,r,o,a,i){let s=r%2?2:1
;if(r%2==o%2)for(let l=t,c=0;l<n;){let t=!0,u=!1;if(c==a.length||l<a[c].from){
let e=O6[l];e!=s&&(t=!1,u=16==e)}let d=t||1!=s?null:[],p=t?r:r+1,h=l
;e:for(;;)if(c<a.length&&h==a[c].from){if(u)break e;let f=a[c]
;if(!t)for(let e=f.to,t=c+1;;){if(e==n)break e;if(!(t<a.length&&a[t].from==e)){
if(O6[e]==s)break e;break}e=a[t++].to}if(c++,d)d.push(f);else{
f.from>l&&i.push(new b6(l,f.from,p)),
x6(e,f.direction==c6!=!(p%2)?r+1:r,o,f.inner,f.from,f.to,i),l=f.to}h=f.to}else{
if(h==n||(t?O6[h]!=s:O6[h]==s))break;h++}
d?w6(e,l,h,r+1,o,d,i):l<h&&i.push(new b6(l,h,p)),l=h
}else for(let l=n,c=a.length;l>t;){let n=!0,u=!1;if(!c||l>a[c-1].to){
let e=O6[l-1];e!=s&&(n=!1,u=16==e)}let d=n||1!=s?null:[],p=n?r:r+1,h=l
;e:for(;;)if(c&&h==a[c-1].to){if(u)break e;let f=a[--c]
;if(!n)for(let e=f.from,n=c;;){if(e==t)break e;if(!n||a[n-1].to!=e){
if(O6[e-1]==s)break e;break}e=a[--n].from}if(d)d.push(f);else{
f.to<l&&i.push(new b6(f.to,l,p)),
x6(e,f.direction==c6!=!(p%2)?r+1:r,o,f.inner,f.from,f.to,i),l=f.from}h=f.from
}else{if(h==t||(n?O6[h-1]!=s:O6[h-1]==s))break;h--}
d?w6(e,h,l,r+1,o,d,i):h<l&&i.push(new b6(h,l,p)),l=h}}
function x6(e,t,n,r,o,a,i){let s=t%2?2:1;!function(e,t,n,r,o){
for(let a=0;a<=r.length;a++){
let i=a?r[a-1].to:t,s=a<r.length?r[a].from:n,l=a?256:o
;for(let t=i,n=l,r=l;t<s;t++){let o=g6(e.charCodeAt(t))
;512==o?o=n:8==o&&4==r&&(o=16),O6[t]=4==o?2:o,7&o&&(r=o),n=o}
for(let e=i,t=l,r=l;e<s;e++){let o=O6[e]
;if(128==o)e<s-1&&t==O6[e+1]&&24&t?o=O6[e]=t:O6[e]=256;else if(64==o){let o=e+1
;for(;o<s&&64==O6[o];)o++;let a=e&&8==t||o<n&&8==O6[o]?1==r?1:8:256
;for(let t=e;t<o;t++)O6[t]=a;e=o-1}else 8==o&&1==r&&(O6[e]=1);t=o,7&o&&(r=o)}}
}(e,o,a,r,s),function(e,t,n,r,o){let a=1==o?2:1
;for(let i=0,s=0,l=0;i<=r.length;i++){
let c=i?r[i-1].to:t,u=i<r.length?r[i].from:n
;for(let t,n,r,i=c;i<u;i++)if(n=f6[t=e.charCodeAt(i)])if(n<0){
for(let e=s-3;e>=0;e-=3)if(m6[e+1]==-n){let t=m6[e+2],n=2&t?o:4&t?1&t?a:o:0
;n&&(O6[i]=O6[m6[e]]=n),s=e;break}}else{if(189==m6.length)break
;m6[s++]=i,m6[s++]=t,m6[s++]=l}else if(2==(r=O6[i])||1==r){let e=r==o;l=e?0:1
;for(let t=s-3;t>=0;t-=3){let n=m6[t+2];if(2&n)break;if(e)m6[t+2]|=2;else{
if(4&n)break;m6[t+2]|=4}}}}}(e,o,a,r,s),function(e,t,n,r){
for(let o=0,a=r;o<=n.length;o++){let i=o?n[o-1].to:e,s=o<n.length?n[o].from:t
;for(let l=i;l<s;){let i=O6[l];if(256==i){let i=l+1;for(;;)if(i==s){
if(o==n.length)break;i=n[o++].to,s=o<n.length?n[o].from:t}else{
if(256!=O6[i])break;i++}let c=1==a,u=c==(1==(i<t?O6[i]:r))?c?1:2:r
;for(let t=i,r=o,a=r?n[r-1].to:e;t>l;)t==a&&(t=n[--r].from,
a=r?n[r-1].to:e),O6[--t]=u;l=i}else a=i,l++}}}(o,a,r,s),w6(e,o,a,t,n,r,i)}
function k6(e){return[new b6(0,e,0)]}let S6="";function _6(e,t,n,r,o){var a
;let i=r.head-e.from,s=b6.find(t,i,null!==(a=r.bidiLevel)&&void 0!==a?a:-1,r.assoc),l=t[s],c=l.side(o,n)
;if(i==c){let e=s+=o?1:-1;if(e<0||e>=t.length)return null
;l=t[s=e],i=l.side(!o,n),c=l.side(o,n)}let u=p4(e.text,i,l.forward(o,n))
;(u<l.from||u>l.to)&&(u=c),S6=e.text.slice(Math.min(i,u),Math.max(i,u))
;let d=s==(o?t.length-1:0)?null:t[s+(o?1:-1)]
;return d&&u==c&&d.level+(o?0:1)<l.level?T4.cursor(d.side(!o,n)+e.from,d.forward(o,n)?1:-1,d.level):T4.cursor(u+e.from,l.forward(o,n)?-1:1,l.level)
}function E6(e,t,n){for(let r=t;r<n;r++){let t=g6(e.charCodeAt(r))
;if(1==t)return c6;if(2==t||4==t)return u6}return c6}
const T6=P4.define(),C6=P4.define(),A6=P4.define(),P6=P4.define(),D6=P4.define(),R6=P4.define(),$6=P4.define(),N6=P4.define(),M6=P4.define(),I6=P4.define({
combine:e=>e.some((e=>e))}),L6=P4.define({combine:e=>e.some((e=>e))
}),j6=P4.define();class B6{constructor(e,t="nearest",n="nearest",r=5,o=5,a=!1){
this.range=e,this.y=t,this.x=n,this.yMargin=r,this.xMargin=o,this.isSnapshot=a}
map(e){
return e.empty?this:new B6(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 B6(T4.cursor(e.doc.length),this.y,this.x,this.yMargin,this.xMargin,this.isSnapshot)
}}const U6=i7.define({map:(e,t)=>e.map(t)}),Q6=i7.define();function F6(e,t,n){
let r=e.facet(P6)
;r.length?r[0](t):window.onerror?window.onerror(String(t),n,void 0,void 0,t):n?console.error(n+":",t):console.error(t)
}const z6=P4.define({combine:e=>!e.length||e[0]});let q6=0;const H6=P4.define()
;class V6{constructor(e,t,n,r,o){
this.id=e,this.create=t,this.domEventHandlers=n,
this.domEventObservers=r,this.extension=o(this)}static define(e,t){
const{eventHandlers:n,eventObservers:r,provide:o,decorations:a}=t||{}
;return new V6(q6++,e,n,r,(e=>{let t=[H6.of(e)];return a&&t.push(G6.of((t=>{
let n=t.plugin(e);return n?a(n):G8.none}))),o&&t.push(o(e)),t}))}
static fromClass(e,t){return V6.define((t=>new e(t)),t)}}class Z6{
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(pM){
if(F6(e.state,pM,"CodeMirror plugin crashed"),this.value.destroy)try{
this.value.destroy()}catch(KPe){}this.deactivate()}}}else if(this.spec)try{
this.value=this.spec.create(e)}catch(pM){
F6(e.state,pM,"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(pM){F6(e.state,pM,"CodeMirror plugin crashed")}}
deactivate(){this.spec=this.value=null}}
const W6=P4.define(),X6=P4.define(),G6=P4.define(),Y6=P4.define(),K6=P4.define(),J6=P4.define()
;function e9(e,t){let n=e.state.facet(J6);if(!n.length)return n
;let r=n.map((t=>t instanceof Function?t(e):t)),o=[]
;return S7.spans(r,t.from,t.to,{point(){},span(e,n,r,a){
let i=e-t.from,s=n-t.from,l=o;for(let o=r.length-1;o>=0;o--,a--){
let e,n=r[o].spec.bidiIsolate
;if(null==n&&(n=E6(t.text,i,s)),a>0&&l.length&&(e=l[l.length-1]).to==i&&e.direction==n)e.to=s,
l=e.inner;else{let e={from:i,to:s,direction:n,inner:[]};l.push(e),l=e.inner}}}
}),o}const t9=P4.define();function n9(e){let t=0,n=0,r=0,o=0
;for(let a of e.state.facet(t9)){let i=a(e)
;i&&(null!=i.left&&(t=Math.max(t,i.left)),
null!=i.right&&(n=Math.max(n,i.right)),
null!=i.top&&(r=Math.max(r,i.top)),null!=i.bottom&&(o=Math.max(o,i.bottom)))}
return{left:t,right:n,top:r,bottom:o}}const r9=P4.define();class o9{
constructor(e,t,n,r){this.fromA=e,this.toA=t,this.fromB=n,this.toB=r}join(e){
return new o9(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,n=this;for(;t>0;t--){let r=e[t-1]
;if(!(r.fromA>n.toA)){if(r.toA<n.fromA)break;n=n.join(r),e.splice(t-1,1)}}
return e.splice(t,0,n),e}static extendWithRanges(e,t){if(0==t.length)return e
;let n=[];for(let r=0,o=0,a=0,i=0;;r++){
let s=r==e.length?null:e[r],l=a-i,c=s?s.fromB:1e9;for(;o<t.length&&t[o]<c;){
let e=t[o],r=t[o+1],a=Math.max(i,e),s=Math.min(c,r)
;if(a<=s&&new o9(a+l,s+l,a,s).addToSet(n),r>c)break;o+=2}if(!s)return n
;new o9(s.fromA,s.toA,s.fromB,s.toB).addToSet(n),a=s.toA,i=s.toB}}}class a9{
constructor(e,t,n){
this.view=e,this.state=t,this.transactions=n,this.flags=0,this.startState=e.state,
this.changes=y4.empty(this.startState.doc.length)
;for(let o of n)this.changes=this.changes.compose(o.changes);let r=[]
;this.changes.iterChangedRanges(((e,t,n,o)=>r.push(new o9(e,t,n,o)))),
this.changedRanges=r}static create(e,t,n){return new a9(e,t,n)}
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 i9 extends y8{
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=G8.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 n6],
this.children[0].setParent(this),this.updateDeco(),this.updateInner([new o9(0,0,0,e.state.doc.length)],0,null)
}update(e){var t;let n=e.changedRanges
;this.minWidth>0&&n.length&&(n.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 r=-1
;this.view.inputState.composing>=0&&!this.view.observer.editContext&&((null===(t=this.domChanged)||void 0===t?void 0:t.newSel)?r=this.domChanged.newSel.head:function(e,t){
let n=!1;t&&e.iterChangedRanges(((e,r)=>{e<t.to&&r>t.from&&(n=!0)}));return n
}(e.changes,this.hasComposition)||e.selectionSet||(r=e.state.selection.main.head))
;let o=r>-1?function(e,t,n){let r=s9(e,n);if(!r)return null
;let{node:o,from:a,to:i}=r,s=o.nodeValue;if(/[\n\r]/.test(s))return null
;if(e.state.doc.sliceString(r.from,r.to)!=s)return null
;let l=t.invertedDesc,c=new o9(l.mapPos(a),l.mapPos(i),a,i),u=[]
;for(let d=o.parentNode;;d=d.parentNode){let t=y8.get(d)
;if(t instanceof L8)u.push({node:d,deco:t.mark});else{
if(t instanceof n6||"DIV"==d.nodeName&&d.parentNode==e.contentDOM)return{
range:c,text:o,marks:u,line:d};if(d==e.contentDOM)return null;u.push({node:d,
deco:new Y8({inclusive:!0,attributes:Z8(d),tagName:d.tagName.toLowerCase()})})}}
}(this.view,e.changes,r):null;if(this.domChanged=null,this.hasComposition){
this.markedForComposition.clear();let{from:t,to:r}=this.hasComposition
;n=new o9(t,r,e.changes.mapPos(t,-1),e.changes.mapPos(r,1)).addToSet(n.slice())}
this.hasComposition=o?{from:o.range.fromB,to:o.range.toB
}:null,(M8.ie||M8.chrome)&&!o&&e&&e.state.doc.lines!=e.startState.doc.lines&&(this.forceSelection=!0)
;let a=function(e,t,n){let r=new l9;return S7.compare(e,t,n,r),r.changes
}(this.decorations,this.updateDeco(),e.changes)
;return n=o9.extendWithRanges(n,a),
!!(7&this.flags||0!=n.length)&&(this.updateInner(n,e.startState.doc.length,o),
e.transactions.length&&(this.lastUpdate=Date.now()),!0)}updateInner(e,t,n){
this.view.viewState.mustMeasureContent=!0,this.updateChildren(e,t,n)
;let{observer:r}=this.view;r.ignore((()=>{
this.dom.style.height=this.view.viewState.contentHeight/this.view.scaleY+"px",
this.dom.style.flexBasis=this.minWidth?this.minWidth+"px":""
;let e=M8.chrome||M8.ios?{node:r.selectionRange.focusNode,written:!1}:void 0
;this.sync(this.view,e),
this.flags&=-8,e&&(e.written||r.selectionRange.focusNode!=e.node)&&(this.forceSelection=!0),
this.dom.style.height=""})),this.markedForComposition.forEach((e=>e.flags&=-9))
;let o=[]
;if(this.view.viewport.from||this.view.viewport.to<this.view.state.doc.length)for(let a of this.children)a instanceof r6&&a.widget instanceof o6&&o.push(a.dom)
;r.updateGaps(o)}updateChildren(e,t,n){
let r=n?n.range.addToSet(e.slice()):e,o=this.childCursor(t)
;for(let a=r.length-1;;a--){let e=a>=0?r[a]:null;if(!e)break
;let t,i,s,l,{fromA:c,toA:u,fromB:d,toB:p}=e
;if(n&&n.range.fromB<p&&n.range.toB>d){
let e=a6.build(this.view.state.doc,d,n.range.fromB,this.decorations,this.dynamicDecorationMap),r=a6.build(this.view.state.doc,n.range.toB,p,this.decorations,this.dynamicDecorationMap)
;i=e.breakAtStart,s=e.openStart,l=r.openEnd;let o=this.compositionView(n)
;r.breakAtStart?o.breakAfter=1:r.content.length&&o.merge(o.length,o.length,r.content[0],!1,r.openStart,0)&&(o.breakAfter=r.content[0].breakAfter,
r.content.shift()),
e.content.length&&o.merge(0,0,e.content[e.content.length-1],!0,0,e.openEnd)&&e.content.pop(),
t=e.content.concat(o).concat(r.content)
}else({content:t,breakAtStart:i,openStart:s,openEnd:l}=a6.build(this.view.state.doc,d,p,this.decorations,this.dynamicDecorationMap))
;let{i:h,off:f}=o.findPos(u,1),{i:m,off:g}=o.findPos(c,-1)
;x8(this,m,g,h,f,t,i,s,l)}n&&this.fixCompositionDOM(n)}
updateEditContextFormatting(e){
this.editContextFormatting=this.editContextFormatting.map(e.changes)
;for(let t of e.transactions)for(let e of t.effects)e.is(Q6)&&(this.editContextFormatting=e.value)
}compositionView(e){let t=new I8(e.text.nodeValue);t.flags|=8
;for(let{deco:r}of e.marks)t=new L8(r,[t],t.length);let n=new n6
;return n.append(t,0),n}fixCompositionDOM(e){let t=(e,t)=>{
t.flags|=8|(t.children.some((e=>7&e.flags))?1:0),
this.markedForComposition.add(t);let n=y8.get(e)
;n&&n!=t&&(n.dom=null),t.setDOM(e)
},n=this.childPos(e.range.fromB,1),r=this.children[n.i];t(e.line,r)
;for(let o=e.marks.length-1;o>=-1;o--)n=r.childPos(n.off,1),
r=r.children[n.i],t(o>=0?e.marks[o].node:e.text,r)}updateSelection(e=!1,t=!1){
!e&&this.view.observer.selectionRange.focusNode||this.view.observer.readSelectionRange()
;let n=this.view.root.activeElement,r=n==this.dom,o=!r&&!(this.view.state.facet(z6)||this.dom.tabIndex>-1)&&Y7(this.dom,this.view.observer.selectionRange)&&!(n&&this.dom.contains(n))
;if(!(r||t||o))return;let a=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(M8.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 v8(e,0),a=!0}var c;let u=this.view.observer.selectionRange
;!a&&u.focusNode&&(J7(s.node,s.offset,u.anchorNode,u.anchorOffset)&&J7(l.node,l.offset,u.focusNode,u.focusOffset)||this.suppressWidgetCursorChange(u,i))||(this.view.observer.ignore((()=>{
M8.android&&M8.chrome&&this.dom.contains(u.focusNode)&&function(e,t){
for(let n=e;n&&n!=t;n=n.assignedSlot||n.parentNode)if(1==n.nodeType&&"false"==n.contentEditable)return!0
;return!1}(u.focusNode,this.dom)&&(this.dom.blur(),this.dom.focus({
preventScroll:!0}));let e=X7(this.view.root);if(e)if(i.empty){if(M8.gecko){
let e=(t=s.node,
r=s.offset,1!=t.nodeType?0:(r&&"false"==t.childNodes[r-1].contentEditable?1:0)|(r<t.childNodes.length&&"false"==t.childNodes[r].contentEditable?2:0))
;if(e&&3!=e){let t=(1==e?m8:g8)(s.node,s.offset);t&&(s=new v8(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(KPe){}}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)}else;var t,r
;o&&this.view.root.activeElement==this.dom&&(this.dom.blur(),n&&n.focus())
})),this.view.observer.setSelectionRange(s,l)),
this.impreciseAnchor=s.precise?null:new v8(u.anchorNode,u.anchorOffset),
this.impreciseHead=l.precise?null:new v8(u.focusNode,u.focusOffset)}
suppressWidgetCursorChange(e,t){
return this.hasComposition&&t.empty&&J7(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)&&this.posFromDOM(e.focusNode,e.focusOffset)==t.head
}enforceCursorAssoc(){if(this.hasComposition)return
;let{view:e}=this,t=e.state.selection.main,n=X7(e.root),{anchorNode:r,anchorOffset:o}=e.observer.selectionRange
;if(!(n&&t.empty&&t.assoc&&n.modify))return;let a=n6.find(this,t.head)
;if(!a)return;let i=a.posAtStart;if(t.head==i||t.head==i+a.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)
;n.collapse(c.node,c.offset),
n.modify("move",t.assoc<0?"forward":"backward","lineboundary"),
e.observer.readSelectionRange();let u=e.observer.selectionRange
;e.docView.posFromDOM(u.anchorNode,u.anchorOffset)!=t.from&&n.collapse(r,o)}
moveToLine(e){let t,n=this.dom;if(e.node!=n)return e
;for(let r=e.offset;!t&&r<n.childNodes.length;r++){let e=y8.get(n.childNodes[r])
;e instanceof n6&&(t=e.domAtPos(0))}for(let r=e.offset-1;!t&&r>=0;r--){
let e=y8.get(n.childNodes[r]);e instanceof n6&&(t=e.domAtPos(e.length))}
return t?new v8(t.node,t.offset,!0):e}nearest(e){for(let t=e;t;){let e=y8.get(t)
;if(e&&e.rootView==this)return e;t=t.parentNode}return null}posFromDOM(e,t){
let n=this.nearest(e)
;if(!n)throw new RangeError("Trying to find position for a DOM position outside of the document")
;return n.localPosFromDOM(e,t)+n.posAtStart}domAtPos(e){
let{i:t,off:n}=this.childCursor().findPos(e,-1);for(;t<this.children.length-1;){
let e=this.children[t];if(n<e.length||e instanceof n6)break;t++,n=0}
return this.children[t].domAtPos(n)}coordsAt(e,t){let n=null,r=0
;for(let o=this.length,a=this.children.length-1;a>=0;a--){
let i=this.children[a],s=o-i.breakAfter,l=s-i.length;if(s<e)break
;if(l<=e&&(l<e||i.covers(-1))&&(s>e||i.covers(1))&&(!n||i instanceof n6&&!(n instanceof n6&&t>=0)))n=i,
r=l;else if(n&&l==e&&s==e&&i instanceof r6&&Math.abs(t)<2){
if(i.deco.startSide<0)break;a&&(n=null)}o=l}return n?n.coordsAt(e-r,t):null}
coordsForChar(e){let{i:t,off:n}=this.childPos(e,1),r=this.children[t]
;if(!(r instanceof n6))return null;for(;r.children.length;){
let{i:e,off:t}=r.childPos(n,1);for(;;e++){if(e==r.children.length)return null
;if((r=r.children[e]).length)break}n=t}if(!(r instanceof I8))return null
;let o=p4(r.text,n);if(o==n)return null;let a=d8(r.dom,n,o).getClientRects()
;for(let i=0;i<a.length;i++){let e=a[i]
;if(i==a.length-1||e.top<e.bottom&&e.left<e.right)return e}return null}
measureVisibleLineHeights(e){
let t=[],{from:n,to:r}=e,o=this.view.contentDOM.clientWidth,a=o>Math.max(this.view.scrollDOM.clientWidth,this.minWidth)+1,i=-1,s=this.view.textDirection==l6.LTR
;for(let l=0,c=0;c<this.children.length;c++){let e=this.children[c],u=l+e.length
;if(u>r)break;if(l>=n){let n=e.dom.getBoundingClientRect()
;if(t.push(n.height),a){let t=e.dom.lastChild,r=t?K7(t):[];if(r.length){
let e=r[r.length-1],t=s?e.right-n.left:n.right-e.left;t>i&&(i=t,this.minWidth=o,
this.minWidthFrom=l,this.minWidthTo=u)}}}l=u+e.breakAfter}return t}
textDirectionAt(e){let{i:t}=this.childPos(e,1)
;return"rtl"==getComputedStyle(this.children[t].dom).direction?l6.RTL:l6.LTR}
measureTextSize(){for(let o of this.children)if(o instanceof n6){
let e=o.measureTextSize();if(e)return e}
let e,t,n,r=document.createElement("div")
;return r.className="cm-line",r.style.width="99999px",
r.style.position="absolute",
r.textContent="abc def ghi jkl mno pqr stu",this.view.observer.ignore((()=>{
this.dom.appendChild(r);let o=K7(r.firstChild)[0]
;e=r.getBoundingClientRect().height,t=o?o.width/27:7,n=o?o.height:e,r.remove()
})),{lineHeight:e,charWidth:t,textHeight:n}}childCursor(e=this.length){
let t=this.children.length
;return t&&(e-=this.children[--t].length),new w8(this.children,e,t)}
computeBlockGapDeco(){let e=[],t=this.view.viewState;for(let n=0,r=0;;r++){
let o=r==t.viewports.length?null:t.viewports[r],a=o?o.from-1:this.length
;if(a>n){let r=(t.lineBlockAt(a).bottom-t.lineBlockAt(n).top)/this.view.scaleY
;e.push(G8.replace({widget:new o6(r),block:!0,inclusive:!0,isBlockGap:!0
}).range(n,a))}if(!o)break;n=o.to+1}return G8.set(e)}updateDeco(){
let e=1,t=this.view.state.facet(G6).map((t=>(this.dynamicDecorationMap[e++]="function"==typeof t)?t(this.view):t)),n=!1,r=this.view.state.facet(Y6).map(((e,t)=>{
let r="function"==typeof e;return r&&(n=!0),r?e(this.view):e}))
;for(r.length&&(this.dynamicDecorationMap[e++]=n,
t.push(S7.join(r))),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 l of this.view.state.facet(j6))try{if(l(this.view,e.range,e))return!0
}catch(pM){F6(this.view.state,pM,"scroll handler")}
let t,{range:n}=e,r=this.coordsAt(n.head,n.empty?n.assoc:n.head>n.anchor?-1:1)
;if(!r)return;!n.empty&&(t=this.coordsAt(n.anchor,n.anchor>n.head?-1:1))&&(r={
left:Math.min(r.left,t.left),top:Math.min(r.top,t.top),
right:Math.max(r.right,t.right),bottom:Math.max(r.bottom,t.bottom)})
;let o=n9(this.view),a={left:r.left-o.left,top:r.top-o.top,
right:r.right+o.right,bottom:r.bottom+o.bottom
},{offsetWidth:i,offsetHeight:s}=this.view.scrollDOM;!function(e,t,n,r,o,a,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=a8(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}=i8(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"==o)t.top<e.top?(g=-(e.top-t.top+i),
n>0&&t.bottom>e.bottom+g&&(g=t.bottom-e.bottom+g+i)):t.bottom>e.bottom&&(g=t.bottom-e.bottom+i,
n<0&&t.top-g<e.top&&(g=-(e.top+g-t.top+i)));else{
let r=t.bottom-t.top,a=e.bottom-e.top
;g=("center"==o&&r<=a?t.top+r/2-a/2:"start"==o||"center"==o&&n<0?t.top-i:t.bottom-a+i)-e.top
}
if("nearest"==r?t.left<e.left?(m=-(e.left-t.left+a),n>0&&t.right>e.right+m&&(m=t.right-e.right+m+a)):t.right>e.right&&(m=t.right-e.right+a,
n<0&&t.left<e.left+m&&(m=-(e.left+m-t.left+a))):m=("center"==r?t.left+(t.right-t.left)/2-(e.right-e.left)/2:"start"==r==s?t.left-a:t.right-(e.right-e.left)+a)-e.left,
m||g)if(p)c.scrollBy(m,g);else{let e=0,n=0;if(g){let e=u.scrollTop
;u.scrollTop+=g/f,n=(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-n,
right:t.right-e,bottom:t.bottom-n
},e&&Math.abs(e-m)<1&&(r="nearest"),n&&Math.abs(n-g)<1&&(o="nearest")}if(p)break
;u=u.assignedSlot||u.parentNode}else{if(11!=u.nodeType)break;u=u.host}
}(this.view.scrollDOM,a,n.head<n.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==l6.LTR)
}}function s9(e,t){let n=e.observer.selectionRange;if(!n.focusNode)return null
;let r=m8(n.focusNode,n.focusOffset),o=g8(n.focusNode,n.focusOffset),a=r||o
;if(o&&r&&o.node!=r.node){let t=y8.get(o.node)
;if(!t||t instanceof I8&&t.text!=o.node.nodeValue)a=o;else if(e.docView.lastCompositionAfterCursor){
let e=y8.get(r.node);!e||e instanceof I8&&e.text!=r.node.nodeValue||(a=o)}}
if(e.docView.lastCompositionAfterCursor=a!=r,!a)return null;let i=t-a.offset
;return{from:i,to:i+a.node.nodeValue.length,node:a.node}}let l9=class{
constructor(){this.changes=[]}compareRange(e,t){t6(e,t,this.changes)}
comparePoint(e,t){t6(e,t,this.changes)}boundChange(e){t6(e,e,this.changes)}}
;function c9(e,t){return t.left>e?t.left-e:Math.max(0,e-t.right)}
function u9(e,t){return t.top>e?t.top-e:Math.max(0,e-t.bottom)}function d9(e,t){
return e.top<t.bottom-1&&e.bottom>t.top+1}function p9(e,t){return t<e.top?{
top:t,left:e.left,right:e.right,bottom:e.bottom}:e}function h9(e,t){
return t>e.bottom?{top:e.top,left:e.left,right:e.right,bottom:t}:e}
function f9(e,t,n){let r,o,a,i,s,l,c,u,d=!1
;for(let h=e.firstChild;h;h=h.nextSibling){let e=K7(h)
;for(let p=0;p<e.length;p++){let f=e[p];o&&d9(o,f)&&(f=p9(h9(f,o.bottom),o.top))
;let m=c9(t,f),g=u9(n,f);if(0==m&&0==g)return 3==h.nodeType?m9(h,t,n):f9(h,t,n)
;if(!r||i>g||i==g&&a>m){r=h,o=f,a=m,i=g;let s=g?n<f.top?-1:1:m?t<f.left?-1:1:0
;d=!s||(s>0?p<e.length-1:p>0)}
0==m?n>f.bottom&&(!c||c.bottom<f.bottom)?(s=h,c=f):n<f.top&&(!u||u.top>f.top)&&(l=h,
u=f):c&&d9(c,f)?c=h9(c,f.bottom):u&&d9(u,f)&&(u=p9(u,f.top))}}
if(c&&c.bottom>=n?(r=s,o=c):u&&u.top<=n&&(r=l,o=u),!r)return{node:e,offset:0}
;let p=Math.max(o.left,Math.min(o.right,t))
;return 3==r.nodeType?m9(r,p,n):d&&"false"!=r.contentEditable?f9(r,p,n):{node:e,
offset:Array.prototype.indexOf.call(e.childNodes,r)+(t>=(o.left+o.right)/2?1:0)}
}function m9(e,t,n){let r=e.nodeValue.length,o=-1,a=1e9,i=0
;for(let s=0;s<r;s++){let r=d8(e,s,s+1).getClientRects()
;for(let l=0;l<r.length;l++){let c=r[l];if(c.top==c.bottom)continue
;i||(i=t-c.left);let u=(c.top>n?c.top-n:n-c.bottom)-1
;if(c.left-1<=t&&c.right+1>=t&&u<a){let n=t>=(c.left+c.right)/2,r=n
;if(M8.chrome||M8.gecko){d8(e,s).getBoundingClientRect().left==c.right&&(r=!n)}
if(u<=0)return{node:e,offset:s+(r?1:0)};o=s+(r?1:0),a=u}}}return{node:e,
offset:o>-1?o:i>0?e.nodeValue.length:0}}function g9(e,t,n,r=-1){var o,a
;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 O=e.viewState.heightOracle.textHeight/2,w=!1;i=e.elementAtHeight(p),
i.type!=X8.Text;)for(;p=r>0?i.bottom+O:i.top-O,!(p>=0&&p<=c);){
if(w)return n?null:0;w=!0,r=-r}d=l+p;let h=i.from
;if(h<e.viewport.from)return 0==e.viewport.from?0:n?null:v9(e,s,i,u,d)
;if(h>e.viewport.to)return e.viewport.to==e.state.doc.length?e.state.doc.length:n?null:v9(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 v,b=-1
;if(g&&0!=(null===(o=e.docView.nearest(g))||void 0===o?void 0:o.isEditable)){
if(f.caretPositionFromPoint){let e=f.caretPositionFromPoint(u,d)
;e&&({offsetNode:v,offset:b}=e)}else if(f.caretRangeFromPoint){
let t=f.caretRangeFromPoint(u,d)
;t&&(({startContainer:v,startOffset:b}=t),(!e.contentDOM.contains(v)||M8.safari&&function(e,t,n){
let r;if(3!=e.nodeType||t!=(r=e.nodeValue.length))return!1
;for(let o=e.nextSibling;o;o=o.nextSibling)if(1!=o.nodeType||"BR"!=o.nodeName)return!1
;return d8(e,r-1,r).getBoundingClientRect().left>n
}(v,b,u)||M8.chrome&&function(e,t,n){if(0!=t)return!1;for(let o=e;;){
let e=o.parentNode;if(!e||1!=e.nodeType||e.firstChild!=o)return!1
;if(e.classList.contains("cm-line"))break;o=e}
let r=1==e.nodeType?e.getBoundingClientRect():d8(e,0,Math.max(e.nodeValue.length,1)).getBoundingClientRect()
;return n-r.left>5}(v,b,u))&&(v=void 0))}v&&(b=Math.min(r8(v),b))}
if(!v||!e.docView.dom.contains(v)){let t=n6.find(e.docView,h)
;if(!t)return p>i.top+i.height/2?i.to:i.from;({node:v,offset:b}=f9(t.dom,u,d))}
let y=e.docView.nearest(v);if(!y)return null
;if(y.isWidget&&1==(null===(a=y.dom)||void 0===a?void 0:a.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(v,b)+y.posAtStart}function v9(e,t,n,r,o){
let a=Math.round((r-t.left)*e.defaultCharacterWidth)
;if(e.lineWrapping&&n.height>1.5*e.defaultLineHeight){
let t=e.viewState.heightOracle.textHeight
;a+=Math.floor((o-n.top-.5*(e.defaultLineHeight-t))/t)*e.viewState.heightOracle.lineLength
}let i=e.state.sliceDoc(n.from,n.to);return n.from+function(e,t,n,r){
for(let o=0,a=0;;){if(a>=t)return o;if(o==e.length)break
;a+=9==e.charCodeAt(o)?n-a%n:1,o=p4(e,o)}return!0===r?-1:e.length
}(i,a,e.state.tabSize)}function b9(e,t,n,r){let o=function(e,t){
let n=e.lineBlockAt(t)
;if(Array.isArray(n.type))for(let r of n.type)if(r.to>t||r.to==t&&(r.to==n.to||r.type==X8.Text))return r
;return n
}(e,t.head),a=r&&o.type==X8.Text&&(e.lineWrapping||o.widgetLineBreaks)?e.coordsAtPos(t.assoc<0&&t.head>o.from?t.head-1:t.head):null
;if(a){
let t=e.dom.getBoundingClientRect(),r=e.textDirectionAt(o.from),i=e.posAtCoords({
x:n==(r==l6.LTR)?t.right-1:t.left+1,y:(a.top+a.bottom)/2})
;if(null!=i)return T4.cursor(i,n?-1:1)}return T4.cursor(n?o.to:o.from,n?-1:1)}
function y9(e,t,n,r){
let o=e.state.doc.lineAt(t.head),a=e.bidiSpans(o),i=e.textDirectionAt(o.from)
;for(let s=t,l=null;;){let t=_6(o,a,i,s,n),c=S6;if(!t){
if(o.number==(n?e.state.doc.lines:1))return s
;c="\n",o=e.state.doc.line(o.number+(n?1:-1)),
a=e.bidiSpans(o),t=e.visualLineSide(o,!n)}if(l){if(!l(c))return s}else{
if(!r)return t;l=r(c)}s=t}}function O9(e,t,n){for(;;){let r=0
;for(let o of e)o.between(t-1,t+1,((e,o,a)=>{if(t>e&&t<o){
let a=r||n||(t-e<o-t?-1:1);t=a<0?e:o,r=a}}));if(!r)return t}}function w9(e,t,n){
let r=O9(e.state.facet(K6).map((t=>t(e))),n.from,t.head>n.from?-1:1)
;return r==n.from?n:T4.cursor(r,r<n.from?1:-1)}const x9="￿";class k9{
constructor(e,t){
this.points=e,this.text="",this.lineSeparator=t.facet(b7.lineSeparator)}
append(e){this.text+=e}lineBreak(){this.text+=x9}readRange(e,t){
if(!e)return this;let n=e.parentNode;for(let r=e;;){this.findPointBefore(n,r)
;let e=this.text.length;this.readNode(r);let o=r.nextSibling;if(o==t)break
;let a=y8.get(r),i=y8.get(o)
;(a&&i?a.breakAfter:(a?a.breakAfter:t8(r))||t8(o)&&("BR"!=r.nodeName||r.cmIgnore)&&this.text.length>e)&&this.lineBreak(),
r=o}return this.findPointBefore(n,t),this}readTextNode(e){let t=e.nodeValue
;for(let n of this.points)n.node==e&&(n.pos=this.text.length+Math.min(n.offset,t.length))
;for(let n=0,r=this.lineSeparator?null:/\r\n?|\n/g;;){let o,a=-1,i=1
;if(this.lineSeparator?(a=t.indexOf(this.lineSeparator,n),
i=this.lineSeparator.length):(o=r.exec(t))&&(a=o.index,
i=o[0].length),this.append(t.slice(n,a<0?t.length:a)),a<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)
;n=a+i}}readNode(e){if(e.cmIgnore)return;let t=y8.get(e),n=t&&t.overrideDOMText
;if(null!=n){this.findPointInside(e,n.length)
;for(let e=n.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 n of this.points)n.node==e&&e.childNodes[n.offset]==t&&(n.pos=this.text.length)
}findPointInside(e,t){
for(let n of this.points)(3==e.nodeType?n.node==e:e.contains(n.node))&&(n.pos=this.text.length+(S9(e,n.node,n.offset)?t:0))
}}function S9(e,t,n){for(;;){if(!t||n<r8(t))return!1;if(t==e)return!0;n=e8(t)+1,
t=t.parentNode}}class _9{constructor(e,t){this.node=e,this.offset=t,this.pos=-1}
}class E9{constructor(e,t,n,r){
this.typeOver=r,this.bounds=null,this.text="",this.domChanged=t>-1
;let{impreciseHead:o,impreciseAnchor:a}=e.docView
;if(e.state.readOnly&&t>-1)this.newSel=null;else if(t>-1&&(this.bounds=e.docView.domBoundsAround(t,n,0))){
let t=o||a?[]:function(e){let t=[]
;if(e.root.activeElement!=e.contentDOM)return t
;let{anchorNode:n,anchorOffset:r,focusNode:o,focusOffset:a}=e.observer.selectionRange
;n&&(t.push(new _9(n,r)),o==n&&a==r||t.push(new _9(o,a)));return t
}(e),n=new k9(t,e.state)
;n.readRange(this.bounds.startDOM,this.bounds.endDOM),this.text=n.text,
this.newSel=function(e,t){if(0==e.length)return null
;let n=e[0].pos,r=2==e.length?e[1].pos:n
;return n>-1&&r>-1?T4.single(n+t,r+t):null}(t,this.bounds.from)}else{
let t=e.observer.selectionRange,n=o&&o.node==t.focusNode&&o.offset==t.focusOffset||!G7(e.contentDOM,t.focusNode)?e.state.selection.main.head:e.docView.posFromDOM(t.focusNode,t.focusOffset),r=a&&a.node==t.anchorNode&&a.offset==t.anchorOffset||!G7(e.contentDOM,t.anchorNode)?e.state.selection.main.anchor:e.docView.posFromDOM(t.anchorNode,t.anchorOffset),i=e.viewport
;if((M8.ios||M8.chrome)&&e.state.selection.main.empty&&n!=r&&(i.from>0||i.to<e.state.doc.length)){
let t=Math.min(n,r),o=Math.max(n,r),a=i.from-t,s=i.to-o
;0!=a&&1!=a&&0!=t||0!=s&&-1!=s&&o!=e.state.doc.length||(n=0,
r=e.state.doc.length)}this.newSel=T4.single(r,n)}}}function T9(e,t){
let n,{newSel:r}=t,o=e.state.selection.main,a=e.inputState.lastKeyTime>Date.now()-100?e.inputState.lastKeyCode:-1
;if(t.bounds){let{from:r,to:i}=t.bounds,s=o.from,l=null
;(8===a||M8.android&&t.text.length<i-r)&&(s=o.to,l="end")
;let c=function(e,t,n,r){let o=Math.min(e.length,t.length),a=0
;for(;a<o&&e.charCodeAt(a)==t.charCodeAt(a);)a++
;if(a==o&&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--;if("end"==r){
n-=i+Math.max(0,a-Math.min(i,s))-a}if(i<a&&e.length<t.length){
a-=n<=a&&n>=i?a-n:0,s=a+(s-i),i=a}else if(s<a){a-=n<=a&&n>=s?a-n:0,i=a+(i-s),s=a
}return{from:a,toA:i,toB:s}}(e.state.doc.sliceString(r,i,x9),t.text,s-r,l)
;c&&(M8.chrome&&13==a&&c.toB==c.from+2&&t.text.slice(c.from,c.toB)==x9+x9&&c.toB--,
n={from:r+c.from,to:r+c.toA,insert:n4.of(t.text.slice(c.from,c.toB).split(x9))})
}else r&&(!e.hasFocus&&e.state.facet(z6)||r.main.eq(o))&&(r=null)
;if(!n&&!r)return!1;if(!n&&t.typeOver&&!o.empty&&r&&r.main.empty?n={from:o.from,
to:o.to,insert:e.state.doc.slice(o.from,o.to)
}:n&&n.from>=o.from&&n.to<=o.to&&(n.from!=o.from||n.to!=o.to)&&o.to-o.from-(n.to-n.from)<=4?n={
from:o.from,to:o.to,
insert:e.state.doc.slice(o.from,n.from).append(n.insert).append(e.state.doc.slice(n.to,o.to))
}:(M8.mac||M8.android)&&n&&n.from==n.to&&n.from==o.head-1&&/^\. ?$/.test(n.insert.toString())&&"off"==e.contentDOM.getAttribute("autocorrect")?(r&&2==n.insert.length&&(r=T4.single(r.main.anchor-1,r.main.head-1)),
n={from:o.from,to:o.to,insert:n4.of([" "])
}):M8.chrome&&n&&n.from==n.to&&n.from==o.head&&"\n "==n.insert.toString()&&e.lineWrapping&&(r&&(r=T4.single(r.main.anchor-1,r.main.head-1)),
n={from:o.from,to:o.to,insert:n4.of([" "])}),n)return C9(e,n,r,a)
;if(r&&!r.main.eq(o)){let t=!1,n="select"
;return e.inputState.lastSelectionTime>Date.now()-50&&("select"==e.inputState.lastSelectionOrigin&&(t=!0),
n=e.inputState.lastSelectionOrigin),e.dispatch({selection:r,scrollIntoView:t,
userEvent:n}),!0}return!1}function C9(e,t,n,r=-1){
if(M8.ios&&e.inputState.flushIOSKey(t))return!0;let o=e.state.selection.main
;if(M8.android&&(t.to==o.to&&(t.from==o.from||t.from==o.from-1&&" "==e.state.sliceDoc(t.from,o.from))&&1==t.insert.length&&2==t.insert.lines&&p8(e.contentDOM,"Enter",13)||(t.from==o.from-1&&t.to==o.to&&0==t.insert.length||8==r&&t.insert.length<t.to-t.from&&t.to>o.head)&&p8(e.contentDOM,"Backspace",8)||t.from==o.from&&t.to==o.to+1&&0==t.insert.length&&p8(e.contentDOM,"Delete",46)))return!0
;let a,i=t.insert.toString();e.inputState.composing>=0&&e.inputState.composing++
;let s=()=>a||(a=function(e,t,n){let r,o=e.state,a=o.selection.main
;if(t.from>=a.from&&t.to<=a.to&&t.to-t.from>=(a.to-a.from)/3&&(!n||n.main.empty&&n.main.from==t.from+t.insert.length)&&e.inputState.composing<0){
let n=a.from<t.from?o.sliceDoc(a.from,t.from):"",i=a.to>t.to?o.sliceDoc(t.to,a.to):""
;r=o.replaceSelection(e.state.toText(n+t.insert.sliceString(0,void 0,e.state.lineBreak)+i))
}else{let i=o.changes(t),s=n&&n.main.to<=i.newLength?n.main:void 0
;if(o.selection.ranges.length>1&&e.inputState.composing>=0&&t.to<=a.to&&t.to>=a.to-10){
let l,c=e.state.sliceDoc(t.from,t.to),u=n&&s9(e,n.main.head);if(u){
let e=t.insert.length-(t.to-t.from);l={from:u.from,to:u.to-e}
}else l=e.state.doc.lineAt(a.head);let d=a.to-t.to,p=a.to-a.from
;r=o.changeByRange((n=>{if(n.from==a.from&&n.to==a.to)return{changes:i,
range:s||n.map(i)};let r=n.to-d,u=r-c.length
;if(n.to-n.from!=p||e.state.sliceDoc(u,r)!=c||n.to>=l.from&&n.from<=l.to)return{
range:n};let h=o.changes({from:u,to:r,insert:t.insert}),f=n.to-a.to;return{
changes:h,range:s?T4.range(Math.max(0,s.anchor+f),Math.max(0,s.head+f)):n.map(h)
}}))}else r={changes:i,selection:s&&o.selection.replaceRange(s)}}
let i="input.type"
;(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))
;return o.update(r,{userEvent:i,scrollIntoView:!0})}(e,t,n))
;return e.state.facet(R6).some((n=>n(e,t.from,t.to,i,s)))||e.dispatch(s()),!0}
class A9{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,M8.safari&&e.contentDOM.addEventListener("input",(()=>null)),
M8.gecko&&(t=e.contentDOM.ownerDocument,
tee.has(t)||(tee.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 n,r=t.target;r!=e.contentDOM;r=r.parentNode)if(!r||11==r.nodeType||(n=y8.get(r))&&n.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 n=this.handlers[e];if(n){
for(let e of n.observers)e(this.view,t);for(let e of n.handlers){
if(t.defaultPrevented)break;if(e(this.view,t)){t.preventDefault();break}}}}
ensureHandlers(e){let t=function(e){let t=Object.create(null);function n(e){
return t[e]||(t[e]={observers:[],handlers:[]})}for(let r of e){let e=r.spec
;if(e&&e.domEventHandlers)for(let t in e.domEventHandlers){
let o=e.domEventHandlers[t];o&&n(t).handlers.push(P9(r.value,o))}
if(e&&e.domEventObservers)for(let t in e.domEventObservers){
let o=e.domEventObservers[t];o&&n(t).observers.push(P9(r.value,o))}}
for(let r in I9)n(r).handlers.push(I9[r])
;for(let r in L9)n(r).observers.push(L9[r]);return t
}(e),n=this.handlers,r=this.view.contentDOM;for(let o in t)if("scroll"!=o){
let e=!t[o].handlers.length,a=n[o]
;a&&e!=!a.handlers.length&&(r.removeEventListener(o,this.handleEvent),
a=null),a||r.addEventListener(o,this.handleEvent,{passive:e})}
for(let o in n)"scroll"==o||t[o]||r.removeEventListener(o,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&&$9.indexOf(e.keyCode)<0&&(this.tabFocusMode=-1),
M8.android&&M8.chrome&&!e.synthetic&&(13==e.keyCode||8==e.keyCode))return this.view.observer.delayAndroidKey(e.key,e.keyCode),
!0;let t
;return!M8.ios||e.synthetic||e.altKey||e.metaKey||!((t=D9.find((t=>t.keyCode==e.keyCode)))&&!e.ctrlKey||R9.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,
p8(this.view.contentDOM,t.key,t.keyCode,t instanceof KeyboardEvent?t:void 0)))}
ignoreDuringComposition(e){
return!!/^key/.test(e.type)&&(this.composing>0||!!(M8.safari&&!M8.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 P9(e,t){
return(n,r)=>{try{return t.call(e,r,n)}catch(pM){F6(n.state,pM)}}}const D9=[{
key:"Backspace",keyCode:8,inputType:"deleteContentBackward"},{key:"Enter",
keyCode:13,inputType:"insertParagraph"},{key:"Enter",keyCode:13,
inputType:"insertLineBreak"},{key:"Delete",keyCode:46,
inputType:"deleteContentForward"}],R9="dthko",$9=[16,17,18,20,91,92,224,225]
;function N9(e){return.7*Math.max(0,e)+8}class M9{constructor(e,t,n,r){
this.view=e,this.startEvent=t,this.style=n,this.mustSelect=r,this.scrollSpeed={
x:0,y:0},this.scrolling=-1,this.lastEvent=t,this.scrollParents=function(e){
let t,n,r=e.ownerDocument
;for(let o=e.parentNode;o&&!(o==r.body||t&&n);)if(1==o.nodeType)!n&&o.scrollHeight>o.clientHeight&&(n=o),
!t&&o.scrollWidth>o.clientWidth&&(t=o),o=o.assignedSlot||o.parentNode;else{
if(11!=o.nodeType)break;o=o.host}return{x:t,y:n}
}(e.contentDOM),this.atoms=e.state.facet(K6).map((t=>t(e)))
;let o=e.contentDOM.ownerDocument
;o.addEventListener("mousemove",this.move=this.move.bind(this)),
o.addEventListener("mouseup",this.up=this.up.bind(this)),this.extend=t.shiftKey,
this.multiple=e.state.facet(b7.allowMultipleSelections)&&function(e,t){
let n=e.state.facet(T6);return n.length?n[0](t):M8.mac?t.metaKey:t.ctrlKey
}(e,t),this.dragging=!(!function(e,t){let{main:n}=e.state.selection
;if(n.empty)return!1;let r=X7(e.root);if(!r||0==r.rangeCount)return!0
;let o=r.getRangeAt(0).getClientRects();for(let a=0;a<o.length;a++){let e=o[a]
;if(e.left<=t.clientX&&e.right>=t.clientX&&e.top<=t.clientY&&e.bottom>=t.clientY)return!0
}return!1}(e,t)||1!=X9(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,
n=e,Math.max(Math.abs(t.clientX-n.clientX),Math.abs(t.clientY-n.clientY))<10))return
;var t,n;this.select(this.lastEvent=e)
;let r=0,o=0,a=0,i=0,s=this.view.win.innerWidth,l=this.view.win.innerHeight
;this.scrollParents.x&&({left:a,right:s}=this.scrollParents.x.getBoundingClientRect()),
this.scrollParents.y&&({top:i,bottom:l}=this.scrollParents.y.getBoundingClientRect())
;let c=n9(this.view)
;e.clientX-c.left<=a+6?r=-N9(a-e.clientX):e.clientX+c.right>=s-6&&(r=N9(e.clientX-s)),
e.clientY-c.top<=i+6?o=-N9(i-e.clientY):e.clientY+c.bottom>=l-6&&(o=N9(e.clientY-l)),
this.setScrollSpeed(r,o)}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 n=0;n<e.ranges.length;n++){let r=e.ranges[n],o=null;if(r.empty){
let e=O9(this.atoms,r.from,0);e!=r.from&&(o=T4.cursor(e,-1))}else{
let e=O9(this.atoms,r.from,-1),t=O9(this.atoms,r.to,1)
;e==r.from&&t==r.to||(o=T4.range(r.from==r.anchor?e:t,r.from==r.head?e:t))}
o&&(t||(t=e.ranges.slice()),t[n]=o)}return t?T4.create(t,e.mainIndex):e}
select(e){
let{view:t}=this,n=this.skipAtoms(this.style.get(e,this.extend,this.multiple))
;!this.mustSelect&&n.eq(t.state.selection,!1===this.dragging)||this.view.dispatch({
selection:n,userEvent:"select.pointer"}),this.mustSelect=!1}update(e){
e.transactions.some((e=>e.isUserEvent("input.type")))?this.destroy():this.style.update(e)&&setTimeout((()=>this.select(this.lastEvent)),20)
}}
const I9=Object.create(null),L9=Object.create(null),j9=M8.ie&&M8.ie_version<15||M8.ios&&M8.webkit_version<604
;function B9(e,t,n){for(let r of e.facet(t))n=r(n,e);return n}function U9(e,t){
t=B9(e.state,N6,t)
;let n,{state:r}=e,o=1,a=r.toText(t),i=a.lines==r.selection.ranges.length,s=null!=Y9&&r.selection.ranges.every((e=>e.empty))&&Y9==a.toString()
;if(s){let e=-1;n=r.changeByRange((n=>{let s=r.doc.lineAt(n.from)
;if(s.from==e)return{range:n};e=s.from
;let l=r.toText((i?a.line(o++).text:t)+r.lineBreak);return{changes:{from:s.from,
insert:l},range:T4.cursor(n.from+l.length)}}))}else n=i?r.changeByRange((e=>{
let t=a.line(o++);return{changes:{from:e.from,to:e.to,insert:t.text},
range:T4.cursor(e.from+t.length)}})):r.replaceSelection(a);e.dispatch(n,{
userEvent:"input.paste",scrollIntoView:!0})}function Q9(e,t,n,r){
if(1==r)return T4.cursor(t,n);if(2==r)return function(e,t,n=1){
let r=e.charCategorizer(t),o=e.doc.lineAt(t),a=t-o.from
;if(0==o.length)return T4.cursor(t);0==a?n=1:a==o.length&&(n=-1);let i=a,s=a
;n<0?i=p4(o.text,a,!1):s=p4(o.text,a);let l=r(o.text.slice(i,s));for(;i>0;){
let e=p4(o.text,i,!1);if(r(o.text.slice(e,i))!=l)break;i=e}for(;s<o.length;){
let e=p4(o.text,s);if(r(o.text.slice(s,e))!=l)break;s=e}
return T4.range(i+o.from,s+o.from)}(e.state,t,n);{
let n=n6.find(e.docView,t),r=e.state.doc.lineAt(n?n.posAtEnd:t),o=n?n.posAtStart:r.from,a=n?n.posAtEnd:r.to
;return a<e.state.doc.length&&a==r.to&&a++,T4.range(o,a)}}L9.scroll=e=>{
e.inputState.lastScrollTop=e.scrollDOM.scrollTop,
e.inputState.lastScrollLeft=e.scrollDOM.scrollLeft
},I9.keydown=(e,t)=>(e.inputState.setSelectionOrigin("select"),
27==t.keyCode&&0!=e.inputState.tabFocusMode&&(e.inputState.tabFocusMode=Date.now()+2e3),
!1),L9.touchstart=(e,t)=>{
e.inputState.lastTouchTime=Date.now(),e.inputState.setSelectionOrigin("select.pointer")
},L9.touchmove=e=>{e.inputState.setSelectionOrigin("select.pointer")
},I9.mousedown=(e,t)=>{
if(e.observer.flush(),e.inputState.lastTouchTime>Date.now()-2e3)return!1
;let n=null;for(let r of e.state.facet(A6))if(n=r(e,t),n)break
;if(n||0!=t.button||(n=function(e,t){let n=q9(e,t),r=X9(t),o=e.state.selection
;return{update(e){
e.docChanged&&(n.pos=e.changes.mapPos(n.pos),o=o.map(e.changes))},get(t,a,i){
let s,l=q9(e,t),c=Q9(e,l.pos,l.bias,r);if(n.pos!=l.pos&&!a){
let t=Q9(e,n.pos,n.bias,r),o=Math.min(t.from,c.from),a=Math.max(t.to,c.to)
;c=o<c.from?T4.range(o,a):T4.range(a,o)}
return a?o.replaceRange(o.main.extend(c.from,c.to)):i&&1==r&&o.ranges.length>1&&(s=function(e,t){
for(let n=0;n<e.ranges.length;n++){let{from:r,to:o}=e.ranges[n]
;if(r<=t&&o>=t)return T4.create(e.ranges.slice(0,n).concat(e.ranges.slice(n+1)),e.mainIndex==n?0:e.mainIndex-(e.mainIndex>n?1:0))
}return null}(o,l.pos))?s:i?o.addRange(c):T4.create([c])}}}(e,t)),n){
let r=!e.hasFocus
;e.inputState.startMouseSelection(new M9(e,t,n,r)),r&&e.observer.ignore((()=>{
u8(e.contentDOM);let t=e.root.activeElement
;t&&!t.contains(e.contentDOM)&&t.blur()}));let o=e.inputState.mouseSelection
;if(o)return o.start(t),!1===o.dragging}return!1}
;let F9=(e,t,n)=>t>=n.top&&t<=n.bottom&&e>=n.left&&e<=n.right
;function z9(e,t,n,r){let o=n6.find(e.docView,t);if(!o)return 1
;let a=t-o.posAtStart;if(0==a)return 1;if(a==o.length)return-1
;let i=o.coordsAt(a,-1);if(i&&F9(n,r,i))return-1;let s=o.coordsAt(a,1)
;return s&&F9(n,r,s)?1:i&&i.bottom>=r?-1:1}function q9(e,t){
let n=e.posAtCoords({x:t.clientX,y:t.clientY},!1);return{pos:n,
bias:z9(e,n,t.clientX,t.clientY)}}const H9=M8.ie&&M8.ie_version<=11
;let V9=null,Z9=0,W9=0;function X9(e){if(!H9)return e.detail;let t=V9,n=W9
;return V9=e,
W9=Date.now(),Z9=!t||n>Date.now()-400&&Math.abs(t.clientX-e.clientX)<2&&Math.abs(t.clientY-e.clientY)<2?(Z9+1)%3:1
}function G9(e,t,n,r){if(!(n=B9(e.state,N6,n)))return;let o=e.posAtCoords({
x:t.clientX,y:t.clientY
},!1),{draggedContent:a}=e.inputState,i=r&&a&&function(e,t){
let n=e.state.facet(C6);return n.length?n[0](t):M8.mac?!t.altKey:!t.ctrlKey
}(e,t)?{from:a.from,to:a.to}:null,s={from:o,insert:n
},l=e.state.changes(i?[i,s]:s);e.focus(),e.dispatch({changes:l,selection:{
anchor:l.mapPos(o,-1),head:l.mapPos(o,1)},userEvent:i?"move.drop":"input.drop"
}),e.inputState.draggedContent=null}I9.dragstart=(e,t)=>{
let{selection:{main:n}}=e.state;if(t.target.draggable){
let r=e.docView.nearest(t.target);if(r&&r.isWidget){
let e=r.posAtStart,t=e+r.length;(e>=n.to||t<=n.from)&&(n=T4.range(e,t))}}
let{inputState:r}=e
;return r.mouseSelection&&(r.mouseSelection.dragging=!0),r.draggedContent=n,
t.dataTransfer&&(t.dataTransfer.setData("Text",B9(e.state,M6,e.state.sliceDoc(n.from,n.to))),
t.dataTransfer.effectAllowed="copyMove"),!1
},I9.dragend=e=>(e.inputState.draggedContent=null,!1),I9.drop=(e,t)=>{
if(!t.dataTransfer)return!1;if(e.state.readOnly)return!0
;let n=t.dataTransfer.files;if(n&&n.length){let r=Array(n.length),o=0,a=()=>{
++o==n.length&&G9(e,t,r.filter((e=>null!=e)).join(e.state.lineBreak),!1)}
;for(let e=0;e<n.length;e++){let t=new FileReader;t.onerror=a,t.onload=()=>{
/[\x00-\x08\x0e-\x1f]{2}/.test(t.result)||(r[e]=t.result),a()
},t.readAsText(n[e])}return!0}{let n=t.dataTransfer.getData("Text")
;if(n)return G9(e,t,n,!0),!0}return!1},I9.paste=(e,t)=>{
if(e.state.readOnly)return!0;e.observer.flush();let n=j9?null:t.clipboardData
;return n?(U9(e,n.getData("text/plain")||n.getData("text/uri-list")),
!0):(function(e){let t=e.dom.parentNode;if(!t)return
;let n=t.appendChild(document.createElement("textarea"))
;n.style.cssText="position: fixed; left: -10000px; top: 10px",
n.focus(),setTimeout((()=>{e.focus(),n.remove(),U9(e,n.value)}),50)}(e),!1)}
;let Y9=null;I9.copy=I9.cut=(e,t)=>{let{text:n,ranges:r,linewise:o}=function(e){
let t=[],n=[],r=!1
;for(let o of e.selection.ranges)o.empty||(t.push(e.sliceDoc(o.from,o.to)),
n.push(o));if(!t.length){let o=-1;for(let{from:r}of e.selection.ranges){
let a=e.doc.lineAt(r);a.number>o&&(t.push(a.text),n.push({from:a.from,
to:Math.min(e.doc.length,a.to+1)})),o=a.number}r=!0}return{
text:B9(e,M6,t.join(e.lineBreak)),ranges:n,linewise:r}}(e.state)
;if(!n&&!o)return!1;Y9=o?n:null,"cut"!=t.type||e.state.readOnly||e.dispatch({
changes:r,scrollIntoView:!0,userEvent:"delete.cut"})
;let a=j9?null:t.clipboardData
;return a?(a.clearData(),a.setData("text/plain",n),!0):(function(e,t){
let n=e.dom.parentNode;if(!n)return
;let r=n.appendChild(document.createElement("textarea"))
;r.style.cssText="position: fixed; left: -10000px; top: 10px",
r.value=t,r.focus(),r.selectionEnd=t.length,r.selectionStart=0,setTimeout((()=>{
r.remove(),e.focus()}),50)}(e,n),!1)};const K9=r7.define();function J9(e,t){
let n=[];for(let r of e.facet($6)){let o=r(e,t);o&&n.push(o)}return n?e.update({
effects:n,annotations:K9.of(!0)}):null}function eee(e){setTimeout((()=>{
let t=e.hasFocus;if(t!=e.inputState.notifiedFocused){let n=J9(e.state,t)
;n?e.dispatch(n):e.update([])}}),10)}L9.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),eee(e)},L9.blur=e=>{
e.observer.clearSelectionRange(),eee(e)
},L9.compositionstart=L9.compositionupdate=e=>{
e.observer.editContext||(null==e.inputState.compositionFirstChange&&(e.inputState.compositionFirstChange=!0),
e.inputState.composing<0&&(e.inputState.composing=0))},L9.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,
M8.chrome&&M8.android?e.observer.flushSoon():e.inputState.compositionPendingChange?Promise.resolve().then((()=>e.observer.flush())):setTimeout((()=>{
e.inputState.composing<0&&e.docView.hasComposition&&e.update([])}),50))
},L9.contextmenu=e=>{e.inputState.lastContextMenu=Date.now()
},I9.beforeinput=(e,t)=>{var n,r
;if("insertReplacementText"==t.inputType&&e.observer.editContext){
let r=null===(n=t.dataTransfer)||void 0===n?void 0:n.getData("text/plain"),o=t.getTargetRanges()
;if(r&&o.length){
let t=o[0],n=e.posAtDOM(t.startContainer,t.startOffset),a=e.posAtDOM(t.endContainer,t.endOffset)
;return C9(e,{from:n,to:a,insert:e.state.toText(r)},null),!0}}let o
;if(M8.chrome&&M8.android&&(o=D9.find((e=>e.inputType==t.inputType)))&&(e.observer.delayAndroidKey(o.key,o.keyCode),
"Backspace"==o.key||"Delete"==o.key)){
let t=(null===(r=window.visualViewport)||void 0===r?void 0:r.height)||0
;setTimeout((()=>{var n
;((null===(n=window.visualViewport)||void 0===n?void 0:n.height)||0)>t+10&&e.hasFocus&&(e.contentDOM.blur(),
e.focus())}),100)}
return M8.ios&&"deleteContentForward"==t.inputType&&e.observer.flushSoon(),
M8.safari&&"insertText"==t.inputType&&e.inputState.composing>=0&&setTimeout((()=>L9.compositionend(e,t)),20),
!1};const tee=new Set;const nee=["pre-wrap","normal","pre-line","break-spaces"]
;let ree=!1;function oee(){ree=!1}class aee{constructor(e){
this.lineWrapping=e,this.doc=n4.empty,
this.heightSamples={},this.lineHeight=14,this.charWidth=7,
this.textHeight=14,this.lineLength=30}heightForGap(e,t){
let n=this.doc.lineAt(t).number-this.doc.lineAt(e).number+1
;return this.lineWrapping&&(n+=Math.max(0,Math.ceil((t-e-n*this.lineLength*.5)/this.lineLength))),
this.lineHeight*n}heightForLine(e){if(!this.lineWrapping)return this.lineHeight
;return(1+Math.max(0,Math.ceil((e-this.lineLength)/(this.lineLength-5))))*this.lineHeight
}setDoc(e){return this.doc=e,this}mustRefreshForWrapping(e){
return nee.indexOf(e)>-1!=this.lineWrapping}mustRefreshForHeights(e){let t=!1
;for(let n=0;n<e.length;n++){let r=e[n]
;r<0?n++:this.heightSamples[Math.floor(10*r)]||(t=!0,
this.heightSamples[Math.floor(10*r)]=!0)}return t}refresh(e,t,n,r,o,a){
let i=nee.indexOf(e)>-1,s=Math.round(t)!=Math.round(this.lineHeight)||this.lineWrapping!=i
;if(this.lineWrapping=i,
this.lineHeight=t,this.charWidth=n,this.textHeight=r,this.lineLength=o,s){
this.heightSamples={};for(let e=0;e<a.length;e++){let t=a[e]
;t<0?e++:this.heightSamples[Math.floor(10*t)]=!0}}return s}}class iee{
constructor(e,t){this.from=e,this.heights=t,this.index=0}get more(){
return this.index<this.heights.length}}class see{constructor(e,t,n,r,o){
this.from=e,this.length=t,this.top=n,this.height=r,this._content=o}get type(){
return"number"==typeof this._content?X8.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 J8?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 see(this.from,this.length+e.length,this.top,this.height+e.height,t)}
}var lee=function(e){
return e[e.ByPos=0]="ByPos",e[e.ByHeight=1]="ByHeight",e[e.ByPosNoHeight=2]="ByPosNoHeight",
e}(lee||(lee={}));const cee=.001;class uee{constructor(e,t,n=2){
this.length=e,this.height=t,this.flags=n}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)>cee&&(ree=!0),this.height=e)}
replace(e,t,n){return uee.of(n)}decomposeLeft(e,t){t.push(this)}
decomposeRight(e,t){t.push(this)}applyChanges(e,t,n,r){let o=this,a=n.doc
;for(let i=r.length-1;i>=0;i--){
let{fromA:s,toA:l,fromB:c,toB:u}=r[i],d=o.lineAt(s,lee.ByPosNoHeight,n.setDoc(t),0,0),p=d.to>=l?d:o.lineAt(l,lee.ByPosNoHeight,n,0,0)
;for(u+=p.to-l,
l=p.to;i>0&&d.from<=r[i-1].toA;)s=r[i-1].fromA,c=r[i-1].fromB,i--,
s<d.from&&(d=o.lineAt(s,lee.ByPosNoHeight,n,0,0));c+=d.from-s,s=d.from
;let h=vee.build(n.setDoc(a),e,c,u);o=dee(o,o.replace(s,l,h))}
return o.updateHeight(n,0)}static empty(){return new hee(0,0)}static of(e){
if(1==e.length)return e[0];let t=0,n=e.length,r=0,o=0;for(;;)if(t==n)if(r>2*o){
let o=e[t-1]
;o.break?e.splice(--t,1,o.left,null,o.right):e.splice(--t,1,o.left,o.right),
n+=1+o.break,r-=o.size}else{if(!(o>2*r))break;{let t=e[n]
;t.break?e.splice(n,1,t.left,null,t.right):e.splice(n,1,t.left,t.right),
n+=2+t.break,o-=t.size}}else if(r<o){let n=e[t++];n&&(r+=n.size)}else{
let t=e[--n];t&&(o+=t.size)}let a=0
;return null==e[t-1]?(a=1,t--):null==e[t]&&(a=1,
n++),new mee(uee.of(e.slice(0,t)),a,uee.of(e.slice(n)))}}function dee(e,t){
return e==t?e:(e.constructor!=t.constructor&&(ree=!0),t)}uee.prototype.size=1
;class pee extends uee{constructor(e,t,n){super(e,t),this.deco=n}
blockAt(e,t,n,r){return new see(r,this.length,n,this.height,this.deco||0)}
lineAt(e,t,n,r,o){return this.blockAt(0,n,r,o)}forEachLine(e,t,n,r,o,a){
e<=o+this.length&&t>=o&&a(this.blockAt(0,n,r,o))}updateHeight(e,t=0,n=!1,r){
return r&&r.from<=t&&r.more&&this.setHeight(r.heights[r.index++]),
this.outdated=!1,this}toString(){return`block(${this.length})`}}
class hee extends pee{constructor(e,t){
super(e,t,null),this.collapsed=0,this.widgetHeight=0,this.breaks=0}
blockAt(e,t,n,r){return new see(r,this.length,n,this.height,this.breaks)}
replace(e,t,n){let r=n[0]
;return 1==n.length&&(r instanceof hee||r instanceof fee&&4&r.flags)&&Math.abs(this.length-r.length)<10?(r instanceof fee?r=new hee(r.length,this.height):r.height=this.height,
this.outdated||(r.outdated=!1),r):uee.of(n)}updateHeight(e,t=0,n=!1,r){
return r&&r.from<=t&&r.more?this.setHeight(r.heights[r.index++]):(n||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 fee extends uee{constructor(e){super(e,0)}heightMetrics(e,t){
let n,r=e.doc.lineAt(t).number,o=e.doc.lineAt(t+this.length).number,a=o-r+1,i=0
;if(e.lineWrapping){let t=Math.min(this.height,e.lineHeight*a)
;n=t/a,this.length>a+1&&(i=(this.height-t)/(this.length-a-1))
}else n=this.height/a;return{firstLine:r,lastLine:o,perLine:n,perChar:i}}
blockAt(e,t,n,r){
let{firstLine:o,lastLine:a,perLine:i,perChar:s}=this.heightMetrics(t,r)
;if(t.lineWrapping){
let o=r+(e<t.lineHeight?0:Math.round(Math.max(0,Math.min(1,(e-n)/this.height))*this.length)),a=t.doc.lineAt(o),l=i+a.length*s,c=Math.max(n,e-l/2)
;return new see(a.from,a.length,c,l,0)}{
let r=Math.max(0,Math.min(a-o,Math.floor((e-n)/i))),{from:s,length:l}=t.doc.line(o+r)
;return new see(s,l,n+i*r,i,0)}}lineAt(e,t,n,r,o){
if(t==lee.ByHeight)return this.blockAt(e,n,r,o);if(t==lee.ByPosNoHeight){
let{from:t,to:r}=n.doc.lineAt(e);return new see(t,r-t,0,0,0)}
let{firstLine:a,perLine:i,perChar:s}=this.heightMetrics(n,o),l=n.doc.lineAt(e),c=i+l.length*s,u=l.number-a,d=r+i*u+s*(l.from-o-u)
;return new see(l.from,l.length,Math.max(r,Math.min(d,r+this.height-c)),c,0)}
forEachLine(e,t,n,r,o,a){e=Math.max(e,o),t=Math.min(t,o+this.length)
;let{firstLine:i,perLine:s,perChar:l}=this.heightMetrics(n,o)
;for(let c=e,u=r;c<=t;){let t=n.doc.lineAt(c);if(c==e){let n=t.number-i
;u+=s*n+l*(e-o-n)}let r=s+l*t.length
;a(new see(t.from,t.length,u,r,0)),u+=r,c=t.to+1}}replace(e,t,n){
let r=this.length-t;if(r>0){let e=n[n.length-1]
;e instanceof fee?n[n.length-1]=new fee(e.length+r):n.push(null,new fee(r-1))}
if(e>0){let t=n[0]
;t instanceof fee?n[0]=new fee(e+t.length):n.unshift(new fee(e-1),null)}
return uee.of(n)}decomposeLeft(e,t){t.push(new fee(e-1),null)}
decomposeRight(e,t){t.push(null,new fee(this.length-e-1))}
updateHeight(e,t=0,n=!1,r){let o=t+this.length
;if(r&&r.from<=t+this.length&&r.more){let n=[],a=Math.max(t,r.from),i=-1
;for(r.from>t&&n.push(new fee(r.from-t-1).updateHeight(e,t));a<=o&&r.more;){
let t=e.doc.lineAt(a).length;n.length&&n.push(null);let o=r.heights[r.index++]
;-1==i?i=o:Math.abs(o-i)>=cee&&(i=-2);let s=new hee(t,o)
;s.outdated=!1,n.push(s),a+=t+1}
a<=o&&n.push(null,new fee(o-a).updateHeight(e,a));let s=uee.of(n)
;return(i<0||Math.abs(s.height-this.height)>=cee||Math.abs(i-this.heightMetrics(e,t).perLine)>=cee)&&(ree=!0),
dee(this,s)}
return(n||this.outdated)&&(this.setHeight(e.heightForGap(t,t+this.length)),
this.outdated=!1),this}toString(){return`gap(${this.length})`}}
class mee extends uee{constructor(e,t,n){
super(e.length+t+n.length,e.height+n.height,t|(e.outdated||n.outdated?2:0)),
this.left=e,this.right=n,this.size=e.size+n.size}get break(){return 1&this.flags
}blockAt(e,t,n,r){let o=n+this.left.height
;return e<o?this.left.blockAt(e,t,n,r):this.right.blockAt(e,t,o,r+this.left.length+this.break)
}lineAt(e,t,n,r,o){
let a=r+this.left.height,i=o+this.left.length+this.break,s=t==lee.ByHeight?e<a:e<i,l=s?this.left.lineAt(e,t,n,r,o):this.right.lineAt(e,t,n,a,i)
;if(this.break||(s?l.to<i:l.from>i))return l
;let c=t==lee.ByPosNoHeight?lee.ByPosNoHeight:lee.ByPos
;return s?l.join(this.right.lineAt(i,c,n,a,i)):this.left.lineAt(i,c,n,r,o).join(l)
}forEachLine(e,t,n,r,o,a){
let i=r+this.left.height,s=o+this.left.length+this.break
;if(this.break)e<s&&this.left.forEachLine(e,t,n,r,o,a),
t>=s&&this.right.forEachLine(e,t,n,i,s,a);else{
let l=this.lineAt(s,lee.ByPos,n,r,o)
;e<l.from&&this.left.forEachLine(e,l.from-1,n,r,o,a),
l.to>=e&&l.from<=t&&a(l),t>l.to&&this.right.forEachLine(l.to+1,t,n,i,s,a)}}
replace(e,t,n){let r=this.left.length+this.break
;if(t<r)return this.balanced(this.left.replace(e,t,n),this.right)
;if(e>this.left.length)return this.balanced(this.left,this.right.replace(e-r,t-r,n))
;let o=[];e>0&&this.decomposeLeft(e,o);let a=o.length;for(let i of n)o.push(i)
;if(e>0&&gee(o,a-1),t<this.length){let e=o.length
;this.decomposeRight(t,o),gee(o,e)}return uee.of(o)}decomposeLeft(e,t){
let n=this.left.length;if(e<=n)return this.left.decomposeLeft(e,t)
;t.push(this.left),
this.break&&(n++,e>=n&&t.push(null)),e>n&&this.right.decomposeLeft(e-n,t)}
decomposeRight(e,t){let n=this.left.length,r=n+this.break
;if(e>=r)return this.right.decomposeRight(e-r,t)
;e<n&&this.left.decomposeRight(e,t),
this.break&&e<r&&t.push(null),t.push(this.right)}balanced(e,t){
return e.size>2*t.size||t.size>2*e.size?uee.of(this.break?[e,null,t]:[e,t]):(this.left=dee(this.left,e),
this.right=dee(this.right,t),
this.setHeight(e.height+t.height),this.outdated=e.outdated||t.outdated,
this.size=e.size+t.size,this.length=e.length+this.break+t.length,this)}
updateHeight(e,t=0,n=!1,r){
let{left:o,right:a}=this,i=t+o.length+this.break,s=null
;return r&&r.from<=t+o.length&&r.more?s=o=o.updateHeight(e,t,n,r):o.updateHeight(e,t,n),
r&&r.from<=i+a.length&&r.more?s=a=a.updateHeight(e,i,n,r):a.updateHeight(e,i,n),
s?this.balanced(o,a):(this.height=this.left.height+this.right.height,
this.outdated=!1,this)}toString(){
return this.left+(this.break?" ":"-")+this.right}}function gee(e,t){let n,r
;null==e[t]&&(n=e[t-1])instanceof fee&&(r=e[t+1])instanceof fee&&e.splice(t-1,3,new fee(n.length+1+r.length))
}class vee{constructor(e,t){
this.pos=e,this.oracle=t,this.nodes=[],this.lineStart=-1,
this.lineEnd=-1,this.covering=null,this.writtenTo=e}get isCovered(){
return this.covering&&this.nodes[this.nodes.length-1]==this.covering}span(e,t){
if(this.lineStart>-1){
let e=Math.min(t,this.lineEnd),n=this.nodes[this.nodes.length-1]
;n instanceof hee?n.length+=e-this.pos:(e>this.pos||!this.isCovered)&&this.nodes.push(new hee(e-this.pos,-1)),
this.writtenTo=e,t>e&&(this.nodes.push(null),this.writtenTo++,this.lineStart=-1)
}this.pos=t}point(e,t,n){if(e<t||n.heightRelevant){
let r=n.widget?n.widget.estimatedHeight:0,o=n.widget?n.widget.lineBreaks:0
;r<0&&(r=this.oracle.lineHeight);let a=t-e
;n.block?this.addBlock(new pee(a,r,n)):(a||o||r>=5)&&this.addLineDeco(r,o,a)
}else t>e&&this.span(e,t)
;this.lineEnd>-1&&this.lineEnd<this.pos&&(this.lineEnd=this.oracle.doc.lineAt(this.pos).to)
}enterLine(){if(this.lineStart>-1)return
;let{from:e,to:t}=this.oracle.doc.lineAt(this.pos)
;this.lineStart=e,this.lineEnd=t,
this.writtenTo<e&&((this.writtenTo<e-1||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 hee(this.pos-e,-1)),this.writtenTo=this.pos}
blankContent(e,t){let n=new fee(t-e)
;return this.oracle.doc.lineAt(e).to==t&&(n.flags|=4),n}ensureLine(){
this.enterLine();let e=this.nodes.length?this.nodes[this.nodes.length-1]:null
;if(e instanceof hee)return e;let t=new hee(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,n){let r=this.ensureLine()
;r.length+=n,
r.collapsed+=n,r.widgetHeight=Math.max(r.widgetHeight,e),r.breaks+=t,
this.writtenTo=this.pos=this.pos+n}finish(e){
let t=0==this.nodes.length?null:this.nodes[this.nodes.length-1]
;!(this.lineStart>-1)||t instanceof hee||this.isCovered?(this.writtenTo<this.pos||null==t)&&this.nodes.push(this.blankContent(this.writtenTo,this.pos)):this.nodes.push(new hee(0,-1))
;let n=e
;for(let r of this.nodes)r instanceof hee&&r.updateHeight(this.oracle,n),
n+=r?r.length:1;return this.nodes}static build(e,t,n,r){let o=new vee(n,e)
;return S7.spans(t,n,r,o,0),o.finish(n)}}class bee{constructor(){this.changes=[]
}compareRange(){}comparePoint(e,t,n,r){
(e<t||n&&n.heightRelevant||r&&r.heightRelevant)&&t6(e,t,this.changes,5)}}
function yee(e,t){
let n=e.getBoundingClientRect(),r=e.ownerDocument,o=r.defaultView||window,a=Math.max(0,n.left),i=Math.min(o.innerWidth,n.right),s=Math.max(0,n.top),l=Math.min(o.innerHeight,n.bottom)
;for(let c=e.parentNode;c&&c!=r.body;)if(1==c.nodeType){
let t=c,n=window.getComputedStyle(t)
;if((t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth)&&"visible"!=n.overflow){
let n=t.getBoundingClientRect()
;a=Math.max(a,n.left),i=Math.min(i,n.right),s=Math.max(s,n.top),
l=Math.min(c==e.parentNode?o.innerHeight:l,n.bottom)}
c="absolute"==n.position||"fixed"==n.position?t.offsetParent:t.parentNode}else{
if(11!=c.nodeType)break;c=c.host}return{left:a-n.left,
right:Math.max(a,i)-n.left,top:s-(n.top+t),bottom:Math.max(s,l)-(n.top+t)}}
function Oee(e,t){let n=e.getBoundingClientRect();return{left:0,
right:n.right-n.left,top:t,bottom:n.bottom-(n.top+t)}}class wee{
constructor(e,t,n,r){this.from=e,this.to=t,this.size=n,this.displaySize=r}
static same(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++){
let r=e[n],o=t[n];if(r.from!=o.from||r.to!=o.to||r.size!=o.size)return!1}
return!0}draw(e,t){return G8.replace({
widget:new xee(this.displaySize*(t?e.scaleY:e.scaleX),t)
}).range(this.from,this.to)}}class xee extends W8{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 kee{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=Tee,
this.scrollTarget=null,
this.printing=!1,this.mustMeasureContent=!0,this.defaultTextDirection=l6.LTR,
this.visibleRanges=[],this.mustEnforceCursorAssoc=!1
;let t=e.facet(X6).some((e=>"function"!=typeof e&&"cm-lineWrapping"==e.class))
;this.heightOracle=new aee(t),
this.stateDeco=e.facet(G6).filter((e=>"function"!=typeof e)),
this.heightMap=uee.empty().applyChanges(this.stateDeco,n4.empty,this.heightOracle.setDoc(e.doc),[new o9(0,0,0,e.doc.length)])
;for(let n=0;n<2&&(this.viewport=this.getViewport(0,null),
this.updateForViewport());n++);
this.updateViewportLines(),this.lineGaps=this.ensureLineGaps([]),
this.lineGapDeco=G8.set(this.lineGaps.map((e=>e.draw(this,!1)))),
this.computeVisibleRanges()}updateForViewport(){
let e=[this.viewport],{main:t}=this.state.selection;for(let n=0;n<=1;n++){
let r=n?t.head:t.anchor;if(!e.some((({from:e,to:t})=>r>=e&&r<=t))){
let{from:t,to:n}=this.lineBlockAt(r);e.push(new See(t,n))}}
return this.viewports=e.sort(((e,t)=>e.from-t.from)),this.updateScaler()}
updateScaler(){let e=this.scaler
;return this.scaler=this.heightMap.height<=7e6?Tee:new Cee(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(Aee(e,this.scaler))}))}update(e,t=null){
this.state=e.state;let n=this.stateDeco
;this.stateDeco=this.state.facet(G6).filter((e=>"function"!=typeof e))
;let r=e.changedRanges,o=o9.extendWithRanges(r,function(e,t,n){let r=new bee
;return S7.compare(e,t,n,r,0),r.changes
}(n,this.stateDeco,e?e.changes:y4.empty(this.state.doc.length))),a=this.heightMap.height,i=this.scrolledToBottom?null:this.scrollAnchorAt(this.scrollTop)
;oee(),
this.heightMap=this.heightMap.applyChanges(this.stateDeco,e.startState.doc,this.heightOracle.setDoc(this.state.doc),o),
(this.heightMap.height!=a||ree)&&(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=o.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(L6)&&(this.mustEnforceCursorAssoc=!0)
}measure(e){
let t=e.contentDOM,n=window.getComputedStyle(t),r=this.heightOracle,o=n.whiteSpace
;this.defaultTextDirection="rtl"==n.direction?l6.RTL:l6.LTR
;let a=this.heightOracle.mustRefreshForWrapping(o),i=t.getBoundingClientRect(),s=a||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:n}=i8(t,i)
;(e>.005&&Math.abs(this.scaleX-e)>.005||n>.005&&Math.abs(this.scaleY-n)>.005)&&(this.scaleX=e,
this.scaleY=n,l|=8,a=s=!0)}
let u=(parseInt(n.paddingTop)||0)*this.scaleY,d=(parseInt(n.paddingBottom)||0)*this.scaleY
;this.paddingTop==u&&this.paddingBottom==d||(this.paddingTop=u,
this.paddingBottom=d,
l|=10),this.editorWidth!=e.scrollDOM.clientWidth&&(r.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=f8(e.scrollDOM)
;let h=(this.printing?Oee:yee)(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 v=i.width
;if(this.contentDOMWidth==v&&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(r.mustRefreshForHeights(t)&&(a=!0),
a||r.lineWrapping&&Math.abs(v-this.contentDOMWidth)>r.charWidth){
let{lineHeight:n,charWidth:i,textHeight:s}=e.docView.measureTextSize()
;a=n>0&&r.refresh(o,n,i,s,v/i,t),a&&(e.docView.minWidth=0,l|=8)}
f>0&&m>0?c=Math.max(f,m):f<0&&m<0&&(c=Math.min(f,m)),oee()
;for(let n of this.viewports){
let o=n.from==this.viewport.from?t:e.docView.measureVisibleLineHeights(n)
;this.heightMap=(a?uee.empty().applyChanges(this.stateDeco,n4.empty,this.heightOracle,[new o9(0,0,0,e.state.doc.length)]):this.heightMap).updateHeight(r,0,a,new iee(n.from,o))
}ree&&(l|=2)}
let b=!this.viewportIsAppropriate(this.viewport,c)||this.scrollTarget&&(this.scrollTarget.range.head<this.viewport.from||this.scrollTarget.range.head>this.viewport.to)
;return b&&(2&l&&(l|=this.updateScaler()),
this.viewport=this.getViewport(c,this.scrollTarget),
l|=this.updateForViewport()),
(2&l||b)&&this.updateViewportLines(),(this.lineGaps.length||this.viewport.to-this.viewport.from>4e3)&&this.updateLineGaps(this.ensureLineGaps(a?[]: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 n=.5-Math.max(-.5,Math.min(.5,e/1e3/2)),r=this.heightMap,o=this.heightOracle,{visibleTop:a,visibleBottom:i}=this,s=new See(r.lineAt(a-1e3*n,lee.ByHeight,o,0,0).from,r.lineAt(i+1e3*(1-n),lee.ByHeight,o,0,0).to)
;if(t){let{head:e}=t.range;if(e<s.from||e>s.to){
let n,a=Math.min(this.editorHeight,this.pixelViewport.bottom-this.pixelViewport.top),i=r.lineAt(e,lee.ByPos,o,0,0)
;n="center"==t.y?(i.top+i.bottom)/2-a/2:"start"==t.y||"nearest"==t.y&&e<s.from?i.top:i.bottom-a,
s=new See(r.lineAt(n-500,lee.ByHeight,o,0,0).from,r.lineAt(n+a+500,lee.ByHeight,o,0,0).to)
}}return s}mapViewport(e,t){let n=t.mapPos(e.from,-1),r=t.mapPos(e.to,1)
;return new See(this.heightMap.lineAt(n,lee.ByPos,this.heightOracle,0,0).from,this.heightMap.lineAt(r,lee.ByPos,this.heightOracle,0,0).to)
}viewportIsAppropriate({from:e,to:t},n=0){if(!this.inView)return!0
;let{top:r}=this.heightMap.lineAt(e,lee.ByPos,this.heightOracle,0,0),{bottom:o}=this.heightMap.lineAt(t,lee.ByPos,this.heightOracle,0,0),{visibleTop:a,visibleBottom:i}=this
;return(0==e||r<=a-Math.max(10,Math.min(-n,250)))&&(t==this.state.doc.length||o>=i+Math.max(10,Math.min(n,250)))&&r>a-2e3&&o<i+2e3
}mapLineGaps(e,t){if(!e.length||t.empty)return e;let n=[]
;for(let r of e)t.touchesRange(r.from,r.to)||n.push(new wee(t.mapPos(r.from),t.mapPos(r.to),r.size,r.displaySize))
;return n}ensureLineGaps(e,t){
let n=this.heightOracle.lineWrapping,r=n?1e4:2e3,o=r>>1,a=r<<1
;if(this.defaultTextDirection!=l6.LTR&&!n)return[];let i=[],s=(r,a,l,c)=>{
if(a-r<o)return;let u=this.state.selection.main,d=[u.from];u.empty||d.push(u.to)
;for(let e of d)if(e>r&&e<a)return s(r,e-10,l,c),void s(e+10,a,l,c)
;let p=function(e,t){for(let n of e)if(t(n))return n;return
}(e,(e=>e.from>=l.from&&e.to<=l.to&&Math.abs(e.from-r)<o&&Math.abs(e.to-a)<o&&!d.some((t=>e.from<t&&e.to>t))))
;if(!p){if(a<l.to&&t&&n&&t.visibleRanges.some((e=>e.from<=a&&e.to>=a))){
let e=t.moveToLineBoundary(T4.cursor(a),!1,!0).head;e>r&&(a=e)}
let e=this.gapSize(l,r,a,c);p=new wee(r,a,e,n||e<2e6?e:2e6)}i.push(p)},l=t=>{
if(t.length<a||t.type!=X8.Text)return;let o=function(e,t,n){let r=[],o=e,a=0
;S7.spans(n,e,t,{span(){},point(e,t){e>o&&(r.push({from:o,to:e}),a+=e-o),o=t}
},20),o<t&&(r.push({from:o,to:t}),a+=t-o);return{total:a,ranges:r}
}(t.from,t.to,this.stateDeco);if(o.total<a)return
;let i,l,c=this.scrollTarget?this.scrollTarget.range.head:null;if(n){
let e,n,a=r/this.heightOracle.lineLength*this.heightOracle.lineHeight
;if(null!=c){
let r=Eee(o,c),i=((this.visibleBottom-this.visibleTop)/2+a)/t.height;e=r-i,n=r+i
}else e=(this.visibleTop-t.top-a)/t.height,
n=(this.visibleBottom-t.top+a)/t.height;i=_ee(o,e),l=_ee(o,n)}else{
let n=o.total*this.heightOracle.charWidth,a=r*this.heightOracle.charWidth,s=0
;if(n>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=Eee(o,c),t=((h-p)/2+a)/n;u=e-t,d=e+t}else u=(p-a)/n,d=(h+a)/n
;i=_ee(o,u),l=_ee(o,d)}i>t.from&&s(t.from,i,t,o),l<t.to&&s(l,t.to,t,o)}
;for(let c of this.viewportLines)Array.isArray(c.type)?c.type.forEach(l):l(c)
;return i}gapSize(e,t,n,r){let o=Eee(r,n)-Eee(r,t)
;return this.heightOracle.lineWrapping?e.height*o:r.total*this.heightOracle.charWidth*o
}updateLineGaps(e){
wee.same(e,this.lineGaps)||(this.lineGaps=e,this.lineGapDeco=G8.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=[]
;S7.spans(e,this.viewport.from,this.viewport.to,{span(e,n){t.push({from:e,to:n})
},point(){}},20)
;let n=t.length!=this.visibleRanges.length||this.visibleRanges.some(((e,n)=>e.from!=t[n].from||e.to!=t[n].to))
;return this.visibleRanges=t,n?4:0}lineBlockAt(e){
return e>=this.viewport.from&&e<=this.viewport.to&&this.viewportLines.find((t=>t.from<=e&&t.to>=e))||Aee(this.heightMap.lineAt(e,lee.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))||Aee(this.heightMap.lineAt(this.scaler.fromDOM(e),lee.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 Aee(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 See{constructor(e,t){this.from=e,this.to=t}}
function _ee({total:e,ranges:t},n){if(n<=0)return t[0].from
;if(n>=1)return t[t.length-1].to;let r=Math.floor(e*n);for(let o=0;;o++){
let{from:e,to:n}=t[o],a=n-e;if(r<=a)return e+r;r-=a}}function Eee(e,t){let n=0
;for(let{from:r,to:o}of e.ranges){if(t<=o){n+=t-r;break}n+=o-r}return n/e.total}
const Tee={toDOM:e=>e,fromDOM:e=>e,scale:1,eq(e){return e==this}};class Cee{
constructor(e,t,n){let r=0,o=0,a=0;this.viewports=n.map((({from:n,to:o})=>{
let a=t.lineAt(n,lee.ByPos,e,0,0).top,i=t.lineAt(o,lee.ByPos,e,0,0).bottom
;return r+=i-a,{from:n,to:o,top:a,bottom:i,domTop:0,domBottom:0}
})),this.scale=(7e6-r)/(t.height-r)
;for(let i of this.viewports)i.domTop=a+(i.top-o)*this.scale,
a=i.domBottom=i.domTop+(i.bottom-i.top),o=i.bottom}toDOM(e){
for(let t=0,n=0,r=0;;t++){let o=t<this.viewports.length?this.viewports[t]:null
;if(!o||e<o.top)return r+(e-n)*this.scale
;if(e<=o.bottom)return o.domTop+(e-o.top);n=o.bottom,r=o.domBottom}}fromDOM(e){
for(let t=0,n=0,r=0;;t++){let o=t<this.viewports.length?this.viewports[t]:null
;if(!o||e<o.domTop)return n+(e-r)/this.scale
;if(e<=o.domBottom)return o.top+(e-o.domTop);n=o.bottom,r=o.domBottom}}eq(e){
return e instanceof Cee&&(this.scale==e.scale&&this.viewports.length==e.viewports.length&&this.viewports.every(((t,n)=>t.from==e.viewports[n].from&&t.to==e.viewports[n].to)))
}}function Aee(e,t){if(1==t.scale)return e
;let n=t.toDOM(e.top),r=t.toDOM(e.bottom)
;return new see(e.from,e.length,n,r-n,Array.isArray(e._content)?e._content.map((e=>Aee(e,t))):e._content)
}const Pee=P4.define({combine:e=>e.join(" ")}),Dee=P4.define({
combine:e=>e.indexOf(!0)>-1
}),Ree=U7.newName(),$ee=U7.newName(),Nee=U7.newName(),Mee={"&light":"."+$ee,
"&dark":"."+Nee};function Iee(e,t,n){return new U7(t,{
finish:t=>/&/.test(t)?t.replace(/&\w*/,(t=>{if("&"==t)return e
;if(!n||!n[t])throw new RangeError(`Unsupported selector: ${t}`);return n[t]
})):e+" "+t})}const Lee=Iee("."+Ree,{"&":{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"}
},Mee),jee={childList:!0,characterData:!0,subtree:!0,attributes:!0,
characterDataOldValue:!0},Bee=M8.ie&&M8.ie_version<=11;class Uee{constructor(e){
this.view=e,
this.active=!1,this.editContext=null,this.selectionRange=new s8,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)
;(M8.ie&&M8.ie_version<=11||M8.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||M8.chrome&&M8.chrome_version<126||(this.editContext=new zee(e),
e.state.facet(z6)&&(e.contentDOM.editContext=this.editContext.editContext)),
Bee&&(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,n)=>t!=e[n])))){
this.gapIntersection.disconnect();for(let t of e)this.gapIntersection.observe(t)
;this.gaps=e}}onSelectionChange(e){let t=this.selectionChanged
;if(!this.readSelectionRange()||this.delayedAndroidKey)return
;let{view:n}=this,r=this.selectionRange
;if(n.state.facet(z6)?n.root.activeElement!=this.dom:!Y7(this.dom,r))return
;let o=r.anchorNode&&n.docView.nearest(r.anchorNode)
;o&&o.ignoreEvent(e)?t||(this.selectionChanged=!1):(M8.ie&&M8.ie_version<=11||M8.android&&M8.chrome)&&!n.state.selection.main.empty&&r.focusNode&&J7(r.focusNode,r.focusOffset,r.anchorNode,r.anchorOffset)?this.flushSoon():this.flush(!1)
}readSelectionRange(){let{view:e}=this,t=X7(e.root);if(!t)return!1
;let n=M8.safari&&11==e.root.nodeType&&e.root.activeElement==this.dom&&function(e,t){
if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0]
;if(n)return Fee(e,n)}let n=null;function r(e){
e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}
return e.contentDOM.addEventListener("beforeinput",r,!0),
e.dom.ownerDocument.execCommand("indent"),
e.contentDOM.removeEventListener("beforeinput",r,!0),n?Fee(e,n):null
}(this.view,t)||t;if(!n||this.selectionRange.eq(n))return!1;let r=Y7(this.dom,n)
;return r&&!this.selectionChanged&&e.inputState.lastFocusTime>Date.now()-200&&e.inputState.lastTouchTime<Date.now()-300&&function(e,t){
let n=t.focusNode,r=t.focusOffset
;if(!n||t.anchorNode!=n||t.anchorOffset!=r)return!1
;for(r=Math.min(r,r8(n));;)if(r){if(1!=n.nodeType)return!1
;let e=n.childNodes[r-1];"false"==e.contentEditable?r--:(n=e,r=r8(n))}else{
if(n==e)return!0;r=e8(n),n=n.parentNode}
}(this.dom,n)?(this.view.inputState.lastFocusTime=0,e.docView.updateSelection(),
!1):(this.selectionRange.setRange(n),r&&(this.selectionChanged=!0),!0)}
setSelectionRange(e,t){this.selectionRange.set(e.node,e.offset,t.node,t.offset),
this.selectionChanged=!1}clearSelectionRange(){
this.selectionRange.set(null,0,null,0)}listenForScroll(){this.parentCheck=-1
;let e=0,t=null
;for(let n=this.dom;n;)if(1==n.nodeType)!t&&e<this.scrollTargets.length&&this.scrollTargets[e]==n?e++:t||(t=this.scrollTargets.slice(0,e)),
t&&t.push(n),n=n.assignedSlot||n.parentNode;else{if(11!=n.nodeType)break
;n=n.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,jee),
Bee&&this.dom.addEventListener("DOMCharacterDataModified",this.onCharData),
this.active=!0)}stop(){
this.active&&(this.active=!1,this.observer.disconnect(),Bee&&this.dom.removeEventListener("DOMCharacterDataModified",this.onCharData))
}clear(){this.processRecords(),this.queue.length=0,this.selectionChanged=!1}
delayAndroidKey(e,t){var n;if(!this.delayedAndroidKey){let e=()=>{
let e=this.delayedAndroidKey;if(e){
this.clearDelayedAndroidKey(),this.view.inputState.lastKeyCode=e.keyCode,
this.view.inputState.lastKeyTime=Date.now(),
!this.flush()&&e.force&&p8(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===(n=this.delayedAndroidKey)||void 0===n?void 0:n.force)
})}clearDelayedAndroidKey(){
this.win.cancelAnimationFrame(this.flushingAndroidKey),
this.delayedAndroidKey=null,this.flushingAndroidKey=-1}flushSoon(){
this.delayedFlush<0&&(this.delayedFlush=this.view.win.requestAnimationFrame((()=>{
this.delayedFlush=-1,this.flush()})))}forceFlush(){
this.delayedFlush>=0&&(this.view.win.cancelAnimationFrame(this.delayedFlush),
this.delayedFlush=-1),this.flush()}pendingRecords(){
for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}
processRecords(){let e=this.pendingRecords();e.length&&(this.queue=[])
;let t=-1,n=-1,r=!1;for(let o of e){let e=this.readMutation(o)
;e&&(e.typeOver&&(r=!0),
-1==t?({from:t,to:n}=e):(t=Math.min(e.from,t),n=Math.max(e.to,n)))}return{
from:t,to:n,typeOver:r}}readChange(){
let{from:e,to:t,typeOver:n}=this.processRecords(),r=this.selectionChanged&&Y7(this.dom,this.selectionRange)
;if(e<0&&!r)return null
;e>-1&&(this.lastChange=Date.now()),this.view.inputState.lastFocusTime=0,
this.selectionChanged=!1;let o=new E9(this.view,e,t,n)
;return this.view.docView.domChanged={newSel:o.newSel?o.newSel.main:null},o}
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 n=this.view.state,r=T9(this.view,t)
;return this.view.state==n&&(t.domChanged||t.newSel&&!t.newSel.main.eq(this.view.state.selection.main))&&this.view.update([]),
r}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 n=Qee(t,e.previousSibling||e.target.previousSibling,-1),r=Qee(t,e.nextSibling||e.target.nextSibling,1)
;return{from:n?t.posAfter(n):t.posAtStart,to:r?t.posBefore(r):t.posAtEnd,
typeOver:!1}}return"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(z6)!=e.state.facet(z6)&&(e.view.contentDOM.editContext=e.state.facet(z6)?this.editContext.editContext:null))
}destroy(){var e,t,n
;this.stop(),null===(e=this.intersection)||void 0===e||e.disconnect(),
null===(t=this.gapIntersection)||void 0===t||t.disconnect(),
null===(n=this.resizeScroll)||void 0===n||n.disconnect()
;for(let r of this.scrollTargets)r.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 Qee(e,t,n){for(;t;){let r=y8.get(t)
;if(r&&r.parent==e)return r;let o=t.parentNode
;t=o!=e.dom?o:n>0?t.nextSibling:t.previousSibling}return null}function Fee(e,t){
let n=t.startContainer,r=t.startOffset,o=t.endContainer,a=t.endOffset,i=e.docView.domAtPos(e.state.selection.main.anchor)
;return J7(i.node,i.offset,o,a)&&([n,r,o,a]=[o,a,n,r]),{anchorNode:n,
anchorOffset:r,focusNode:o,focusOffset:a}}class zee{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:n}=e.state.selection.main,r=this.toEditorPos(t.updateRangeStart),o=this.toEditorPos(t.updateRangeEnd)
;e.inputState.composing>=0&&!this.composing&&(this.composing={
contextBase:t.updateRangeStart,editorBase:r,drifted:!1});let a={from:r,to:o,
insert:n4.of(t.text.split("\n"))}
;if(a.from==this.from&&n<this.from?a.from=n:a.to==this.to&&n>this.to&&(a.to=n),
a.from!=a.to||a.insert.length){
if(this.pendingContextChange=a,!e.state.readOnly){
let n=this.to-this.from+(a.to-a.from+a.insert.length)
;C9(e,a,T4.single(this.toEditorPos(t.selectionStart,n),this.toEditorPos(t.selectionEnd,n)))
}
this.pendingContextChange&&(this.revertPending(e.state),this.setSelection(e.state))
}},this.handlers.characterboundsupdate=n=>{let r=[],o=null
;for(let t=this.toEditorPos(n.rangeStart),a=this.toEditorPos(n.rangeEnd);t<a;t++){
let n=e.coordsForChar(t)
;o=n&&new DOMRect(n.left,n.top,n.right-n.left,n.bottom-n.top)||o||new DOMRect,
r.push(o)}t.updateCharacterBounds(n.rangeStart,r)
},this.handlers.textformatupdate=t=>{let n=[];for(let e of t.getTextFormats()){
let t=e.underlineStyle,r=e.underlineThickness;if("None"!=t&&"None"!=r){
let o=this.toEditorPos(e.rangeStart),a=this.toEditorPos(e.rangeEnd);if(o<a){
let e=`text-decoration: underline ${"Dashed"==t?"dashed ":"Squiggle"==t?"wavy ":""}${"Thin"==r?1:2}px`
;n.push(G8.mark({attributes:{style:e}}).range(o,a))}}}e.dispatch({
effects:Q6.of(G8.set(n))})},this.handlers.compositionstart=()=>{
e.inputState.composing<0&&(e.inputState.composing=0,
e.inputState.compositionFirstChange=!0)},this.handlers.compositionend=()=>{
if(e.inputState.composing=-1,
e.inputState.compositionFirstChange=null,this.composing){
let{drifted:t}=this.composing;this.composing=null,t&&this.reset(e.state)}}
;for(let n in this.handlers)t.addEventListener(n,this.handlers[n])
;this.measureReq={read:e=>{
this.editContext.updateControlBounds(e.contentDOM.getBoundingClientRect())
;let t=X7(e.root)
;t&&t.rangeCount&&this.editContext.updateSelectionBounds(t.getRangeAt(0).getBoundingClientRect())
}}}applyEdits(e){let t=0,n=!1,r=this.pendingContextChange
;return e.changes.iterChanges(((o,a,i,s,l)=>{if(n)return;let c=l.length-(a-o)
;if(r&&a>=r.to){
if(r.from==o&&r.to==a&&r.insert.eq(l))return r=this.pendingContextChange=null,
t+=c,void(this.to+=c);r=null,this.revertPending(e.state)}
if(o+=t,(a+=t)<=this.from)this.from+=c,this.to+=c;else if(o<this.to){
if(o<this.from||a>this.to||this.to-this.from+l.length>3e4)return void(n=!0)
;this.editContext.updateText(this.toContextPos(o),this.toContextPos(a),l.toString()),
this.to+=c}t+=c})),r&&!n&&this.revertPending(e.state),!n}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,n=this.toContextPos(Math.max(this.from,Math.min(this.to,t.anchor))),r=this.toContextPos(t.head)
;this.editContext.selectionStart==n&&this.editContext.selectionEnd==r||this.editContext.updateSelection(n,r)
}rangeIsValid(e){let{head:t}=e.selection.main
;return!(this.from>0&&t-this.from<500||this.to<e.doc.length&&this.to-t<500||this.to-this.from>3e4)
}toEditorPos(e,t=this.to-this.from){e=Math.min(e,t);let n=this.composing
;return n&&n.drifted?n.editorBase+(e-n.contextBase):e+this.from}toContextPos(e){
let t=this.composing
;return t&&t.drifted?t.contextBase+(e-t.editorBase):e-this.from}destroy(){
for(let e in this.handlers)this.editContext.removeEventListener(e,this.handlers[e])
}}class qee{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:n}=e
;this.dispatchTransactions=e.dispatchTransactions||n&&(e=>e.forEach((e=>n(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 kee(e.state||b7.create(e)),
e.scrollTo&&e.scrollTo.is(U6)&&(this.viewState.scrollTarget=e.scrollTo.value.clip(this.viewState.state)),
this.plugins=this.state.facet(H6).map((e=>new Z6(e)))
;for(let r of this.plugins)r.update(this)
;this.observer=new Uee(this),this.inputState=new A9(this),
this.inputState.ensureHandlers(this.plugins),
this.docView=new i9(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 s7?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,n=!1,r=!1,o=this.state;for(let d of e){
if(d.startState!=o)throw new RangeError("Trying to update state with a transaction that doesn't start from the previous state.")
;o=d.state}if(this.destroyed)return void(this.viewState.state=o)
;let a=this.hasFocus,i=0,s=null
;e.some((e=>e.annotation(K9)))?(this.inputState.notifiedFocused=a,
i=1):a!=this.inputState.notifiedFocused&&(this.inputState.notifiedFocused=a,
s=J9(o,a),s||(i=1));let l=this.observer.delayedAndroidKey,c=null
;if(l?(this.observer.clearDelayedAndroidKey(),
c=this.observer.readChange(),(c&&!this.state.doc.eq(o.doc)||!this.state.selection.eq(o.selection))&&(c=null)):this.observer.clear(),
o.facet(b7.phrases)!=this.state.facet(b7.phrases))return this.setState(o)
;t=a9.create(this,o,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 B6(e.empty?e:T4.cursor(e.head,e.head>e.anchor?-1:1))}
for(let e of t.effects)e.is(U6)&&(u=e.value.clip(this.state))}
this.viewState.update(t,u),
this.bidiCache=Zee.update(this.bidiCache,t.changes),t.empty||(this.updatePlugins(t),
this.inputState.update(t)),
n=this.docView.update(t),this.state.facet(r9)!=this.styleModules&&this.mountStyles(),
r=this.updateAttrs(),
this.showAnnouncements(e),this.docView.updateSelection(n,e.some((e=>e.isUserEvent("select.pointer"))))
}finally{this.updateState=0}
if(t.startState.facet(Pee)!=t.state.facet(Pee)&&(this.viewState.mustMeasureContent=!0),
(n||r||u||this.viewState.mustEnforceCursorAssoc||this.viewState.mustMeasureContent)&&this.requestMeasure(),
n&&this.docViewUpdate(),!t.empty)for(let d of this.state.facet(D6))try{d(t)
}catch(pM){F6(this.state,pM,"update listener")}
(s||c)&&Promise.resolve().then((()=>{
s&&this.state==s.startState&&this.dispatch(s),
c&&!T9(this,c)&&l.force&&p8(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 kee(e),
this.plugins=e.facet(H6).map((e=>new Z6(e))),this.pluginMap.clear()
;for(let e of this.plugins)e.update(this)
;this.docView.destroy(),this.docView=new i9(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(H6),n=e.state.facet(H6);if(t!=n){let r=[]
;for(let o of n){let n=t.indexOf(o);if(n<0)r.push(new Z6(o));else{
let t=this.plugins[n];t.mustUpdate=e,r.push(t)}}
for(let t of this.plugins)t.mustUpdate!=e&&t.destroy(this)
;this.plugins=r,this.pluginMap.clear()
}else for(let r of this.plugins)r.mustUpdate=e
;for(let r=0;r<this.plugins.length;r++)this.plugins[r].update(this)
;t!=n&&this.inputState.ensureHandlers(this.plugins)}docViewUpdate(){
for(let e of this.plugins){let t=e.value;if(t&&t.docViewUpdate)try{
t.docViewUpdate(this)}catch(pM){F6(this.state,pM,"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,n=this.scrollDOM,r=n.scrollTop*this.scaleY,{scrollAnchorPos:o,scrollAnchorHeight:a}=this.viewState
;Math.abs(r-this.viewState.scrollTop)>1&&(a=-1),
this.viewState.scrollAnchorHeight=-1;try{for(let e=0;;e++){if(a<0)if(f8(n))o=-1,
a=this.viewState.heightMap.height;else{let e=this.viewState.scrollAnchorAt(r)
;o=e.from,a=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(pM){return F6(this.state,pM),Vee
}})),c=a9.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]!=Vee)try{let t=s[e]
;t.write&&t.write(l[e],this)}catch(pM){F6(this.state,pM)}
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,a=-1;continue}{
let e=(o<0?this.viewState.heightMap.height:this.viewState.lineBlockAt(o).top)-a
;if(e>1||e<-1){r+=e,n.scrollTop=r/this.scaleY,a=-1;continue}}}break}}}finally{
this.updateState=0,this.measureScheduled=-1}
if(t&&!t.empty)for(let i of this.state.facet(D6))i(t)}get themeClasses(){
return Ree+" "+(this.state.facet(Dee)?Nee:$ee)+" "+this.state.facet(Pee)}
updateAttrs(){let e=Wee(this,W6,{
class:"cm-editor"+(this.hasFocus?" cm-focused ":" ")+this.themeClasses}),t={
spellcheck:"false",autocorrect:"off",autocapitalize:"off",
writingsuggestions:"false",translate:"no",
contenteditable:this.state.facet(z6)?"true":"false",class:"cm-content",
style:`${M8.tabSize}: ${this.state.tabSize}`,role:"textbox",
"aria-multiline":"true"}
;this.state.readOnly&&(t["aria-readonly"]="true"),Wee(this,X6,t)
;let n=this.observer.ignore((()=>{
let n=V8(this.contentDOM,this.contentAttrs,t),r=V8(this.dom,this.editorAttrs,e)
;return n||r}));return this.editorAttrs=e,this.contentAttrs=t,n}
showAnnouncements(e){let t=!0
;for(let n of e)for(let e of n.effects)if(e.is(qee.announce)){
t&&(this.announceDOM.textContent=""),
t=!1,this.announceDOM.appendChild(document.createElement("div")).textContent=e.value
}}mountStyles(){this.styleModules=this.state.facet(r9)
;let e=this.state.facet(qee.cspNonce)
;U7.mount(this.root,this.styleModules.concat(Lee).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,n){
return w9(this,e,y9(this,e,t,n))}moveByGroup(e,t){
return w9(this,e,y9(this,e,t,(t=>function(e,t,n){
let r=e.state.charCategorizer(t),o=r(n);return e=>{let t=r(e)
;return o==f7.Space&&(o=t),o==t}}(this,e.head,t))))}visualLineSide(e,t){
let n=this.bidiSpans(e),r=this.textDirectionAt(e.from),o=n[t?n.length-1:0]
;return T4.cursor(o.side(t,r)+e.from,o.forward(!t,r)?1:-1)}
moveToLineBoundary(e,t,n=!0){return b9(this,e,t,n)}moveVertically(e,t,n){
return w9(this,e,function(e,t,n,r){let o=t.head,a=n?1:-1
;if(o==(n?e.state.doc.length:0))return T4.cursor(o,t.assoc)
;let i,s=t.goalColumn,l=e.contentDOM.getBoundingClientRect(),c=e.coordsAtPos(o,t.assoc||-1),u=e.documentTop
;if(c)null==s&&(s=c.left-l.left),i=a<0?c.top:c.bottom;else{
let t=e.viewState.lineBlockAt(o)
;null==s&&(s=Math.min(l.right-l.left,e.defaultCharacterWidth*(o-t.from))),
i=(a<0?t.top:t.bottom)+u}
let d=l.left+s,p=null!=r?r:e.viewState.heightOracle.textHeight>>1
;for(let h=0;;h+=10){let t=i+(p+h)*a,n=g9(e,{x:d,y:t},!1,a)
;if(t<l.top||t>l.bottom||(a<0?n<o:n>o)){
let r=e.docView.coordsForChar(n),o=!r||t<r.top?-1:1
;return T4.cursor(n,o,void 0,s)}}}(this,e,t,n))}domAtPos(e){
return this.docView.domAtPos(e)}posAtDOM(e,t=0){
return this.docView.posFromDOM(e,t)}posAtCoords(e,t=!0){
return this.readMeasured(),g9(this,e,t)}coordsAtPos(e,t=1){this.readMeasured()
;let n=this.docView.coordsAt(e,t);if(!n||n.left==n.right)return n
;let r=this.state.doc.lineAt(e),o=this.bidiSpans(r)
;return o8(n,o[b6.find(o,e-r.from,-1,t)].dir==l6.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(I6)||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>Hee)return k6(e.length);let t,n=this.textDirectionAt(e.from)
;for(let o of this.bidiCache)if(o.from==e.from&&o.dir==n&&(o.fresh||y6(o.isolates,t=e9(this,e))))return o.order
;t||(t=e9(this,e));let r=function(e,t,n){if(!e)return[new b6(0,0,t==u6?1:0)]
;if(t==c6&&!n.length&&!v6.test(e))return k6(e.length)
;if(n.length)for(;e.length>O6.length;)O6[O6.length]=256;let r=[],o=t==c6?0:1
;return x6(e,o,o,n,0,e.length,r),r}(e.text,n,t)
;return this.bidiCache.push(new Zee(e.from,e.to,n,t,!0,r)),r}get hasFocus(){
var e
;return(this.dom.ownerDocument.hasFocus()||M8.safari&&(null===(e=this.inputState)||void 0===e?void 0:e.lastContextMenu)>Date.now()-3e4)&&this.root.activeElement==this.contentDOM
}focus(){this.observer.ignore((()=>{
u8(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 U6.of(new B6("number"==typeof e?T4.cursor(e):e,t.y,t.x,t.yMargin,t.xMargin))
}scrollSnapshot(){
let{scrollTop:e,scrollLeft:t}=this.scrollDOM,n=this.viewState.scrollAnchorAt(e)
;return U6.of(new B6(T4.cursor(n.from),"start","start",n.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 V6.define((()=>({})),{eventHandlers:e})}
static domEventObservers(e){return V6.define((()=>({})),{eventObservers:e})}
static theme(e,t){let n=U7.newName(),r=[Pee.of(n),r9.of(Iee(`.${n}`,e))]
;return t&&t.dark&&r.push(Dee.of(!0)),r}static baseTheme(e){
return z4.lowest(r9.of(Iee("."+Ree,e,Mee)))}static findFromDOM(e){var t
;let n=e.querySelector(".cm-content"),r=n&&y8.get(n)||y8.get(e)
;return(null===(t=null==r?void 0:r.rootView)||void 0===t?void 0:t.view)||null}}
qee.styleModule=r9,
qee.inputHandler=R6,qee.clipboardInputFilter=N6,qee.clipboardOutputFilter=M6,
qee.scrollHandler=j6,
qee.focusChangeEffect=$6,qee.perLineTextDirection=I6,qee.exceptionSink=P6,
qee.updateListener=D6,
qee.editable=z6,qee.mouseSelectionStyle=A6,qee.dragMovesSelection=C6,
qee.clickAddsSelectionRange=T6,
qee.decorations=G6,qee.outerDecorations=Y6,qee.atomicRanges=K6,
qee.bidiIsolatedRanges=J6,
qee.scrollMargins=t9,qee.darkTheme=Dee,qee.cspNonce=P4.define({
combine:e=>e.length?e[0]:""
}),qee.contentAttributes=X6,qee.editorAttributes=W6,qee.lineWrapping=qee.contentAttributes.of({
class:"cm-lineWrapping"}),qee.announce=i7.define();const Hee=4096,Vee={}
;class Zee{constructor(e,t,n,r,o,a){
this.from=e,this.to=t,this.dir=n,this.isolates=r,this.fresh=o,this.order=a}
static update(e,t){if(t.empty&&!e.some((e=>e.fresh)))return e
;let n=[],r=e.length?e[e.length-1].dir:l6.LTR
;for(let o=Math.max(0,e.length-10);o<e.length;o++){let a=e[o]
;a.dir!=r||t.touchesRange(a.from,a.to)||n.push(new Zee(t.mapPos(a.from,1),t.mapPos(a.to,-1),a.dir,a.isolates,!1,a.order))
}return n}}function Wee(e,t,n){
for(let r=e.state.facet(t),o=r.length-1;o>=0;o--){
let t=r[o],a="function"==typeof t?t(e):t;a&&z8(a,n)}return n}
const Xee=M8.mac?"mac":M8.windows?"win":M8.linux?"linux":"key"
;function Gee(e,t,n){
return t.altKey&&(e="Alt-"+e),t.ctrlKey&&(e="Ctrl-"+e),t.metaKey&&(e="Meta-"+e),
!1!==n&&t.shiftKey&&(e="Shift-"+e),e}const Yee=z4.default(qee.domEventHandlers({
keydown:(e,t)=>function(e,t,n,r){nte=t;let o=function(e){
var t=!(H7&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||V7&&e.shiftKey&&e.key&&1==e.key.length||"Unidentified"==e.key)&&e.key||(e.shiftKey?q7:z7)[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),a=m4(h4(o,0))==o.length&&" "!=o,i="",s=!1,l=!1,c=!1
;ete&&ete.view==n&&ete.scope==r&&(i=ete.prefix+" ",
$9.indexOf(t.keyCode)<0&&(l=!0,ete=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(n)))return e.stopPropagation&&(c=!0),!0
;e.preventDefault&&(e.stopPropagation&&(c=!0),l=!0)}return!1},f=e[r]
;f&&(h(f[i+Gee(o,t,!a)])?s=!0:a&&(t.altKey||t.metaKey||t.ctrlKey)&&!(M8.windows&&t.ctrlKey&&t.altKey)&&(u=z7[t.keyCode])&&u!=o?(h(f[i+Gee(u,t,!0)])||t.shiftKey&&(d=q7[t.keyCode])!=o&&d!=u&&h(f[i+Gee(d,t,!1)]))&&(s=!0):a&&t.shiftKey&&h(f[i+Gee(o,t,!0)])&&(s=!0),
!s&&h(f._any)&&(s=!0));l&&(s=!0);s&&c&&t.stopPropagation();return nte=null,s
}(function(e){let t=e.facet(Kee),n=Jee.get(t);n||Jee.set(t,n=function(e,t=Xee){
let n=Object.create(null),r=Object.create(null),o=(e,t)=>{let n=r[e]
;if(null==n)r[e]=t;else if(n!=t)throw new Error("Key binding "+e+" is used both as a regular binding and as a multi-stroke prefix")
},a=(e,r,a,i,s)=>{var l,c
;let u=n[e]||(n[e]=Object.create(null)),d=r.split(/ (?!$)/).map((e=>function(e,t){
const n=e.split(/-(?!$)/);let r,o,a,i,s=n[n.length-1];"Space"==s&&(s=" ")
;for(let l=0;l<n.length-1;++l){const e=n[l]
;if(/^(cmd|meta|m)$/i.test(e))i=!0;else if(/^a(lt)?$/i.test(e))r=!0;else if(/^(c|ctrl|control)$/i.test(e))o=!0;else if(/^s(hift)?$/i.test(e))a=!0;else{
if(!/^mod$/i.test(e))throw new Error("Unrecognized modifier name: "+e)
;"mac"==t?i=!0:o=!0}}
return r&&(s="Alt-"+s),o&&(s="Ctrl-"+s),i&&(s="Meta-"+s),a&&(s="Shift-"+s),s
}(e,t)));for(let t=1;t<d.length;t++){let n=d.slice(0,t).join(" ")
;o(n,!0),u[n]||(u[n]={preventDefault:!0,stopPropagation:!1,run:[t=>{let r=ete={
view:t,prefix:n,scope:e};return setTimeout((()=>{ete==r&&(ete=null)}),tte),!0}]
})}let p=d.join(" ");o(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())||[]
});a&&h.run.push(a),i&&(h.preventDefault=!0),s&&(h.stopPropagation=!0)}
;for(let i of e){let e=i.scope?i.scope.split(" "):["editor"]
;if(i.any)for(let t of e){let e=n[t]||(n[t]=Object.create(null))
;e._any||(e._any={preventDefault:!1,stopPropagation:!1,run:[]});let{any:r}=i
;for(let t in e)e[t].run.push((e=>r(e,nte)))}let r=i[t]||i.key
;if(r)for(let t of e)a(t,r,i.run,i.preventDefault,i.stopPropagation),
i.shift&&a(t,"Shift-"+r,i.shift,i.preventDefault,i.stopPropagation)}return n
}(t.reduce(((e,t)=>e.concat(t)),[])));return n}(t.state),e,t,"editor")
})),Kee=P4.define({enables:Yee}),Jee=new WeakMap;let ete=null;const tte=4e3
;let nte=null;const rte={".cm-line":{"& ::selection, &::selection":{
backgroundColor:"transparent !important"}},".cm-content":{"& :focus":{
caretColor:"initial !important","&::selection, & ::selection":{
backgroundColor:"Highlight !important"}}}};function ote(e,t,n,r,o){t.lastIndex=0
;for(let a,i=e.iterRange(n,r),s=n;!i.next().done;s+=i.value.length)if(!i.lineBreak)for(;a=t.exec(i.value);)o(s+a.index,a)
}
!(M8.ios&&M8.webkit&&M8.webkit_version<534)&&(rte[".cm-line"].caretColor=rte[".cm-content"].caretColor="transparent !important")
;class ate{constructor(e){
const{regexp:t,decoration:n,decorate:r,boundary:o,maxLength:a=1e3}=e
;if(!t.global)throw new RangeError("The regular expression given to MatchDecorator should have its 'g' flag set")
;if(this.regexp=t,
r)this.addMatch=(e,t,n,o)=>r(o,n,n+e[0].length,e,t);else if("function"==typeof n)this.addMatch=(e,t,r,o)=>{
let a=n(e,t,r);a&&o(r,r+e[0].length,a)};else{
if(!n)throw new RangeError("Either 'decorate' or 'decoration' should be provided to MatchDecorator")
;this.addMatch=(e,t,r,o)=>o(r,r+e[0].length,n)}this.boundary=o,this.maxLength=a}
createDeco(e){let t=new _7,n=t.add.bind(t);for(let{from:r,to:o}of function(e,t){
let n=e.visibleRanges
;if(1==n.length&&n[0].from==e.viewport.from&&n[0].to==e.viewport.to)return n
;let r=[]
;for(let{from:o,to:a}of n)o=Math.max(e.state.doc.lineAt(o).from,o-t),a=Math.min(e.state.doc.lineAt(a).to,a+t),
r.length&&r[r.length-1].to>=o?r[r.length-1].to=a:r.push({from:o,to:a});return r
}(e,this.maxLength))ote(e.state.doc,this.regexp,r,o,((t,r)=>this.addMatch(r,e,t,n)))
;return t.finish()}updateDeco(e,t){let n=1e9,r=-1
;return e.docChanged&&e.changes.iterChanges(((t,o,a,i)=>{
i>e.view.viewport.from&&a<e.view.viewport.to&&(n=Math.min(a,n),r=Math.max(i,r))
})),
e.viewportChanged||r-n>1e3?this.createDeco(e.view):r>-1?this.updateRange(e.view,t.map(e.changes),n,r):t
}updateRange(e,t,n,r){for(let o of e.visibleRanges){
let a=Math.max(o.from,n),i=Math.min(o.to,r);if(i>a){
let n=e.state.doc.lineAt(a),r=n.to<i?e.state.doc.lineAt(i):n,s=Math.max(o.from,n.from),l=Math.min(o.to,r.to)
;if(this.boundary){for(;a>n.from;a--)if(this.boundary.test(n.text[a-1-n.from])){
s=a;break}for(;i<r.to;i++)if(this.boundary.test(r.text[i-r.from])){l=i;break}}
let c,u=[],d=(e,t,n)=>u.push(n.range(e,t))
;if(n==r)for(this.regexp.lastIndex=s-n.from;(c=this.regexp.exec(n.text))&&c.index<l-n.from;)this.addMatch(c,e,c.index+n.from,d);else ote(e.state.doc,this.regexp,s,l,((t,n)=>this.addMatch(n,e,t,d)))
;t=t.update({filterFrom:s,filterTo:l,filter:(e,t)=>e<s||t>l,add:u})}}return t}}
const ite=null!=/x/.unicode?"gu":"g",ste=new RegExp("[\0-\b\n--­؜​‎‏\u2028\u2029‭‮⁦⁧⁩\ufeff￹-￼]",ite),lte={
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 cte=null;const ute=P4.define({combine(e){
let t=y7(e,{render:null,specialChars:ste,addSpecialChars:null})
;return(t.replaceTabs=!function(){var e
;if(null==cte&&"undefined"!=typeof document&&document.body){
let t=document.body.style
;cte=null!=(null!==(e=t.tabSize)&&void 0!==e?e:t.MozTabSize)}return cte||!1
}())&&(t.specialChars=new RegExp("\t|"+t.specialChars.source,ite)),
t.addSpecialChars&&(t.specialChars=new RegExp(t.specialChars.source+"|"+t.addSpecialChars.source,ite)),
t}});function dte(e={}){return[ute.of(e),pte||(pte=V6.fromClass(class{
constructor(e){
this.view=e,this.decorations=G8.none,this.decorationCache=Object.create(null),
this.decorator=this.makeDecorator(e.state.facet(ute)),
this.decorations=this.decorator.createDeco(e)}makeDecorator(e){return new ate({
regexp:e.specialChars,decoration:(t,n,r)=>{let{doc:o}=n.state,a=h4(t[0],0)
;if(9==a){let e=o.lineAt(r),t=n.state.tabSize,a=I7(e.text,t,r-e.from)
;return G8.replace({
widget:new fte((t-a%t)*this.view.defaultCharacterWidth/this.view.scaleX)})}
return this.decorationCache[a]||(this.decorationCache[a]=G8.replace({
widget:new hte(e,a)}))},boundary:e.replaceTabs?void 0:/[^]/})}update(e){
let t=e.state.facet(ute)
;e.startState.facet(ute)!=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 pte=null;class hte extends W8{
constructor(e,t){super(),this.options=e,this.code=t}eq(e){
return e.code==this.code}toDOM(e){
let t=(n=this.code)>=32?"•":10==n?"␤":String.fromCharCode(9216+n);var n
;let r=e.state.phrase("Control character")+" "+(lte[this.code]||"0x"+this.code.toString(16)),o=this.options.render&&this.options.render(this.code,r,t)
;if(o)return o;let a=document.createElement("span")
;return a.textContent=t,a.title=r,
a.setAttribute("aria-label",r),a.className="cm-specialChar",a}ignoreEvent(){
return!1}}class fte extends W8{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 mte extends W8{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?K7(e.firstChild):[];if(!t.length)return null
;let n=window.getComputedStyle(e.parentNode),r=o8(t[0],"rtl"!=n.direction),o=parseInt(n.lineHeight)
;return r.bottom-r.top>1.5*o?{left:r.left,right:r.right,top:r.top,bottom:r.top+o
}:r}ignoreEvent(){return!1}}const gte="-10000px";class vte{constructor(e,t,n,r){
this.facet=t,
this.createTooltipView=n,this.removeTooltipView=r,this.input=e.state.facet(t),
this.tooltips=this.input.filter((e=>e));let o=null
;this.tooltipViews=this.tooltips.map((e=>o=n(e,o)))}update(e,t){var n
;let r=e.state.facet(this.facet),o=r.filter((e=>e));if(r===this.input){
for(let t of this.tooltipViews)t.update&&t.update(e);return!1}
let a=[],i=t?[]:null;for(let s=0;s<o.length;s++){let n=o[s],r=-1;if(n){
for(let e=0;e<this.tooltips.length;e++){let t=this.tooltips[e]
;t&&t.create==n.create&&(r=e)}
if(r<0)a[s]=this.createTooltipView(n,s?a[s-1]:null),i&&(i[s]=!!n.above);else{
let n=a[s]=this.tooltipViews[r];i&&(i[s]=t[r]),n.update&&n.update(e)}}}
for(let s of this.tooltipViews)a.indexOf(s)<0&&(this.removeTooltipView(s),
null===(n=s.destroy)||void 0===n||n.call(s))
;return t&&(i.forEach(((e,n)=>t[n]=e)),
t.length=i.length),this.input=r,this.tooltips=o,this.tooltipViews=a,!0}}
function bte(e){let{win:t}=e;return{top:0,left:0,bottom:t.innerHeight,
right:t.innerWidth}}const yte=P4.define({combine:e=>{var t,n,r;return{
position:M8.ios?"absolute":(null===(t=e.find((e=>e.position)))||void 0===t?void 0:t.position)||"fixed",
parent:(null===(n=e.find((e=>e.parent)))||void 0===n?void 0:n.parent)||null,
tooltipSpace:(null===(r=e.find((e=>e.tooltipSpace)))||void 0===r?void 0:r.tooltipSpace)||bte
}}}),Ote=new WeakMap,wte=V6.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(yte)
;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 vte(e,_te,((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 n=t||e.geometryChanged,r=e.state.facet(yte)
;if(r.position!=this.position&&!this.madeAbsolute){this.position=r.position
;for(let e of this.manager.tooltipViews)e.dom.style.position=this.position;n=!0}
if(r.parent!=this.parent){
this.parent&&this.container.remove(),this.parent=r.parent,this.createContainer()
;for(let e of this.manager.tooltipViews)this.container.appendChild(e.dom);n=!0
}else this.parent&&this.view.themeClasses!=this.classes&&(this.classes=this.container.className=this.view.themeClasses)
;n&&this.maybeMeasure()}createTooltip(e,t){
let n=e.create(this.view),r=t?t.dom:null
;if(n.dom.classList.add("cm-tooltip"),e.arrow&&!n.dom.querySelector(".cm-tooltip > .cm-tooltip-arrow")){
let e=document.createElement("div")
;e.className="cm-tooltip-arrow",n.dom.appendChild(e)}
return n.dom.style.position=this.position,
n.dom.style.top=gte,n.dom.style.left="0px",this.container.insertBefore(n.dom,r),
n.mount&&n.mount(this.view),
this.resizeObserver&&this.resizeObserver.observe(n.dom),n}destroy(){var e,t,n
;this.view.win.removeEventListener("resize",this.measureSoon)
;for(let r of this.manager.tooltipViews)r.dom.remove(),
null===(e=r.destroy)||void 0===e||e.call(r)
;this.parent&&this.container.remove(),
null===(t=this.resizeObserver)||void 0===t||t.disconnect(),
null===(n=this.intersectionObserver)||void 0===n||n.disconnect(),
clearTimeout(this.measureTimeout)}readMeasure(){let e=1,t=1,n=!1
;if("fixed"==this.position&&this.manager.tooltipViews.length){
let{dom:e}=this.manager.tooltipViews[0]
;if(M8.gecko)n=e.offsetParent!=this.container.ownerDocument.body;else if(e.style.top==gte&&"0px"==e.style.left){
let t=e.getBoundingClientRect();n=Math.abs(t.top+1e4)>1||Math.abs(t.left)>1}}
if(n||"absolute"==this.position)if(this.parent){
let n=this.parent.getBoundingClientRect()
;n.width&&n.height&&(e=n.width/this.parent.offsetWidth,
t=n.height/this.parent.offsetHeight)
}else({scaleX:e,scaleY:t}=this.view.viewState)
;let r=this.view.scrollDOM.getBoundingClientRect(),o=n9(this.view);return{
visible:{left:r.left+o.left,top:r.top+o.top,right:r.right-o.right,
bottom:r.bottom-o.bottom},
parent:this.parent?this.container.getBoundingClientRect():this.view.dom.getBoundingClientRect(),
pos:this.manager.tooltips.map(((e,t)=>{let n=this.manager.tooltipViews[t]
;return n.getCoords?n.getCoords(e.pos):this.view.coordsAtPos(e.pos)})),
size:this.manager.tooltipViews.map((({dom:e})=>e.getBoundingClientRect())),
space:this.view.state.facet(yte).tooltipSpace(this.view),scaleX:e,scaleY:t,
makeAbsolute:n}}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:n,space:r,scaleX:o,scaleY:a}=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(n.top,r.top)||d.top>=Math.min(n.bottom,r.bottom)||d.right<Math.max(n.left,r.left)-.1||d.left>Math.min(n.right,r.right)+.1)){
u.style.top=gte;continue}
let h=l.arrow?c.dom.querySelector(".cm-tooltip-arrow"):null,f=h?7:0,m=p.right-p.left,g=null!==(t=Ote.get(c))&&void 0!==t?t:p.bottom-p.top,v=c.offset||Ste,b=this.view.textDirection==l6.LTR,y=p.width>r.right-r.left?b?r.left:r.right-p.width:b?Math.max(r.left,Math.min(d.left-(h?14:0)+v.x,r.right-m)):Math.min(Math.max(r.left,d.left-m+(h?14:0)-v.x),r.right-m),O=this.above[s]
;!l.strictSide&&(O?d.top-g-f-v.y<r.top:d.bottom+g+f+v.y>r.bottom)&&O==r.bottom-d.bottom>d.top-r.top&&(O=this.above[s]=!O)
;let w=(O?d.top-r.top:r.bottom-d.bottom)-f;if(w<g&&!1!==c.resize){
if(w<this.view.defaultLineHeight){u.style.top=gte;continue}
Ote.set(c,g),u.style.height=(g=w)/a+"px"
}else u.style.height&&(u.style.height="")
;let x=O?d.top-g-f-v.y:d.bottom+f+v.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)/a+"px",
xte(u,(y-e.parent.left)/o)):(u.style.top=x/a+"px",xte(u,y/o)),h){
let e=d.left+(b?v.x:-v.x)-(y+14-7);h.style.left=e/o+"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=gte}},{
eventObservers:{scroll(){this.maybeMeasure()}}});function xte(e,t){
let n=parseInt(e.style.left,10)
;(isNaN(n)||Math.abs(t-n)>1)&&(e.style.left=t+"px")}const kte=qee.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"}}}),Ste={x:0,y:0},_te=P4.define({
enables:[wte,kte]}),Ete=P4.define({combine:e=>e.reduce(((e,t)=>e.concat(t)),[])
});class Tte{static create(e){return new Tte(e)}constructor(e){
this.view=e,this.mounted=!1,
this.dom=document.createElement("div"),this.dom.classList.add("cm-tooltip-hover"),
this.manager=new vte(e,Ete,((e,t)=>this.createHostedView(e,t)),(e=>e.dom.remove()))
}createHostedView(e,t){let n=e.create(this.view)
;return n.dom.classList.add("cm-tooltip-section"),
this.dom.insertBefore(n.dom,t?t.dom.nextSibling:this.dom.firstChild),
this.mounted&&n.mount&&n.mount(this.view),n}mount(e){
for(let t of this.manager.tooltipViews)t.mount&&t.mount(e);this.mounted=!0}
positioned(e){
for(let t of this.manager.tooltipViews)t.positioned&&t.positioned(e)}update(e){
this.manager.update(e)}destroy(){var e
;for(let t of this.manager.tooltipViews)null===(e=t.destroy)||void 0===e||e.call(t)
}passProp(e){let t;for(let n of this.manager.tooltipViews){let r=n[e]
;if(void 0!==r)if(void 0===t)t=r;else if(t!==r)return}return t}get offset(){
return this.passProp("offset")}get getCoords(){return this.passProp("getCoords")
}get overlap(){return this.passProp("overlap")}get resize(){
return this.passProp("resize")}}const Cte=_te.compute([Ete],(e=>{
let t=e.facet(Ete);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:Tte.create,above:t[0].above,arrow:t.some((e=>e.arrow))}}))
;class Ate{constructor(e,t,n,r,o){
this.view=e,this.source=t,this.field=n,this.setHover=r,
this.hoverTime=o,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,n=e.docView.nearest(t.target);if(!n)return
;let r,o=1;if(n instanceof j8)r=n.posAtStart;else{
if(r=e.posAtCoords(t),null==r)return;let n=e.coordsAtPos(r)
;if(!n||t.y<n.top||t.y>n.bottom||t.x<n.left-e.defaultCharacterWidth||t.x>n.right+e.defaultCharacterWidth)return
;let a=e.bidiSpans(e.state.doc.lineAt(r)).find((e=>e.from<=r&&e.to>=r)),i=a&&a.dir==l6.RTL?-1:1
;o=t.x<n.left?-i:i}let a=this.source(e,r,o);if(null==a?void 0:a.then){
let t=this.pending={pos:r};a.then((n=>{
this.pending==t&&(this.pending=null,!n||Array.isArray(n)&&!n.length||e.dispatch({
effects:this.setHover.of(Array.isArray(n)?n:[n])}))
}),(t=>F6(e.state,t,"hover tooltip")))
}else!a||Array.isArray(a)&&!a.length||e.dispatch({
effects:this.setHover.of(Array.isArray(a)?a:[a])})}get tooltip(){
let e=this.view.plugin(wte),t=e?e.manager.tooltips.findIndex((e=>e.create==Tte.create)):-1
;return t>-1?e.manager.tooltipViews[t]:null}mousemove(e){var t,n;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:r,tooltip:o}=this;if(r.length&&o&&!function(e,t){
let n,{left:r,right:o,top:a,bottom:i}=e.getBoundingClientRect()
;if(n=e.querySelector(".cm-tooltip-arrow")){let e=n.getBoundingClientRect()
;a=Math.min(e.top,a),i=Math.max(e.bottom,i)}
return t.clientX>=r-Pte&&t.clientX<=o+Pte&&t.clientY>=a-Pte&&t.clientY<=i+Pte
}(o.dom,e)||this.pending){
let{pos:o}=r[0]||this.pending,a=null!==(n=null===(t=r[0])||void 0===t?void 0:t.end)&&void 0!==n?n:o
;(o==a?this.view.posAtCoords(this.lastMove)==o:function(e,t,n,r,o,a){
let i=e.scrollDOM.getBoundingClientRect(),s=e.documentTop+e.documentPadding.top+e.contentHeight
;if(i.left>r||i.right<r||i.top>o||Math.min(i.bottom,s)<o)return!1
;let l=e.posAtCoords({x:r,y:o},!1);return l>=t&&l<=n
}(this.view,o,a,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=n=>{
e.removeEventListener("mouseleave",t),
this.active.length&&!this.view.dom.contains(n.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 Pte=4
;function Dte(e,t={}){let n=i7.define(),r=L4.define({create:()=>[],update(e,r){
if(e.length&&(t.hideOnChange&&(r.docChanged||r.selection)?e=[]:t.hideOn&&(e=e.filter((e=>!t.hideOn(r,e)))),
r.docChanged)){let t=[];for(let n of e){
let e=r.changes.mapPos(n.pos,-1,v4.TrackDel);if(null!=e){
let o=Object.assign(Object.create(null),n)
;o.pos=e,null!=o.end&&(o.end=r.changes.mapPos(o.end)),t.push(o)}}e=t}
for(let t of r.effects)t.is(n)&&(e=t.value),t.is($te)&&(e=[]);return e},
provide:e=>Ete.from(e)});return{active:r,
extension:[r,V6.define((o=>new Ate(o,e,r,n,t.hoverTime||300))),Cte]}}
function Rte(e,t){let n=e.plugin(wte);if(!n)return null
;let r=n.manager.tooltips.indexOf(t);return r<0?null:n.manager.tooltipViews[r]}
const $te=i7.define(),Nte=P4.define({combine(e){let t,n
;for(let r of e)t=t||r.topContainer,n=n||r.bottomContainer;return{
topContainer:t,bottomContainer:n}}}),Mte=V6.fromClass(class{constructor(e){
this.input=e.state.facet(jte),
this.specs=this.input.filter((e=>e)),this.panels=this.specs.map((t=>t(e)))
;let t=e.state.facet(Nte)
;this.top=new Ite(e,!0,t.topContainer),this.bottom=new Ite(e,!1,t.bottomContainer),
this.top.sync(this.panels.filter((e=>e.top))),
this.bottom.sync(this.panels.filter((e=>!e.top)))
;for(let n of this.panels)n.dom.classList.add("cm-panel"),n.mount&&n.mount()}
update(e){let t=e.state.facet(Nte)
;this.top.container!=t.topContainer&&(this.top.sync([]),
this.top=new Ite(e.view,!0,t.topContainer)),
this.bottom.container!=t.bottomContainer&&(this.bottom.sync([]),
this.bottom=new Ite(e.view,!1,t.bottomContainer)),
this.top.syncClasses(),this.bottom.syncClasses();let n=e.state.facet(jte)
;if(n!=this.input){let t=n.filter((e=>e)),r=[],o=[],a=[],i=[];for(let n of t){
let t,s=this.specs.indexOf(n)
;s<0?(t=n(e.view),i.push(t)):(t=this.panels[s],t.update&&t.update(e)),r.push(t),
(t.top?o:a).push(t)}
this.specs=t,this.panels=r,this.top.sync(o),this.bottom.sync(a)
;for(let e of i)e.dom.classList.add("cm-panel"),e.mount&&e.mount()
}else for(let r of this.panels)r.update&&r.update(e)}destroy(){
this.top.sync([]),this.bottom.sync([])}},{provide:e=>qee.scrollMargins.of((t=>{
let n=t.plugin(e);return n&&{top:n.top.scrollMargin(),
bottom:n.bottom.scrollMargin()}}))});class Ite{constructor(e,t,n){
this.view=e,this.top=t,
this.container=n,this.dom=void 0,this.classes="",this.panels=[],
this.syncClasses()}sync(e){
for(let t of this.panels)t.destroy&&e.indexOf(t)<0&&t.destroy()
;this.panels=e,this.syncDOM()}syncDOM(){
if(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=Lte(e)
;e=e.nextSibling}else this.dom.insertBefore(t.dom,e);for(;e;)e=Lte(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 Lte(e){let t=e.nextSibling;return e.remove(),t}const jte=P4.define({
enables:Mte});class Bte extends O7{compare(e){
return this==e||this.constructor==e.constructor&&this.eq(e)}eq(e){return!1}
destroy(e){}}
Bte.prototype.elementClass="",Bte.prototype.toDOM=void 0,Bte.prototype.mapMode=v4.TrackBefore,
Bte.prototype.startSide=Bte.prototype.endSide=-1,Bte.prototype.point=!0
;const Ute=P4.define(),Qte=P4.define(),Fte={class:"",renderEmptyElements:!1,
elementStyle:"",markers:()=>S7.empty,lineMarker:()=>null,widgetMarker:()=>null,
lineMarkerChange:null,initialSpacer:null,updateSpacer:null,domEventHandlers:{}
},zte=P4.define();function qte(e){
return[Vte(),zte.of(Object.assign(Object.assign({},Fte),e))]}
const Hte=P4.define({combine:e=>e.some((e=>e))});function Vte(e){return[Zte]}
const Zte=V6.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(zte).map((t=>new Yte(e,t)))
;for(let t of this.gutters)this.dom.appendChild(t.dom)
;this.fixed=!e.state.facet(Hte),
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,n=e.view.viewport,r=Math.min(t.to,n.to)-Math.max(t.from,n.from)
;this.syncGutters(r<.8*(n.to-n.from))}
e.geometryChanged&&(this.dom.style.minHeight=this.view.contentHeight/this.view.scaleY+"px"),
this.view.state.facet(Hte)!=!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 n=S7.iter(this.view.state.facet(Ute),this.view.viewport.from),r=[],o=this.gutters.map((e=>new Gte(e,this.view.viewport,-this.view.documentPadding.top)))
;for(let a of this.view.viewportLineBlocks)if(r.length&&(r=[]),
Array.isArray(a.type)){let e=!0;for(let t of a.type)if(t.type==X8.Text&&e){
Xte(n,r,t.from);for(let e of o)e.line(this.view,t,r);e=!1
}else if(t.widget)for(let e of o)e.widget(this.view,t)}else if(a.type==X8.Text){
Xte(n,r,a.from);for(let e of o)e.line(this.view,a,r)
}else if(a.widget)for(let e of o)e.widget(this.view,a);for(let a of o)a.finish()
;e&&this.view.scrollDOM.insertBefore(this.dom,t)}updateGutters(e){
let t=e.startState.facet(zte),n=e.state.facet(zte),r=e.docChanged||e.heightChanged||e.viewportChanged||!S7.eq(e.startState.facet(Ute),e.state.facet(Ute),e.view.viewport.from,e.view.viewport.to)
;if(t==n)for(let o of this.gutters)o.update(e)&&(r=!0);else{r=!0;let o=[]
;for(let r of n){let n=t.indexOf(r)
;n<0?o.push(new Yte(this.view,r)):(this.gutters[n].update(e),
o.push(this.gutters[n]))}
for(let e of this.gutters)e.dom.remove(),o.indexOf(e)<0&&e.destroy()
;for(let e of o)this.dom.appendChild(e.dom);this.gutters=o}return r}destroy(){
for(let e of this.gutters)e.destroy();this.dom.remove()}},{
provide:e=>qee.scrollMargins.of((t=>{let n=t.plugin(e)
;return n&&0!=n.gutters.length&&n.fixed?t.textDirection==l6.LTR?{
left:n.dom.offsetWidth*t.scaleX}:{right:n.dom.offsetWidth*t.scaleX}:null}))})
;function Wte(e){return Array.isArray(e)?e:[e]}function Xte(e,t,n){
for(;e.value&&e.from<=n;)e.from==n&&t.push(e.value),e.next()}class Gte{
constructor(e,t,n){
this.gutter=e,this.height=n,this.i=0,this.cursor=S7.iter(e.markers,t.from)}
addElement(e,t,n){
let{gutter:r}=this,o=(t.top-this.height)/e.scaleY,a=t.height/e.scaleY
;if(this.i==r.elements.length){let t=new Kte(e,a,o,n)
;r.elements.push(t),r.dom.appendChild(t.dom)
}else r.elements[this.i].update(e,a,o,n);this.height=t.bottom,this.i++}
line(e,t,n){let r=[];Xte(this.cursor,r,t.from),n.length&&(r=r.concat(n))
;let o=this.gutter.config.lineMarker(e,t,r);o&&r.unshift(o);let a=this.gutter
;(0!=r.length||a.config.renderEmptyElements)&&this.addElement(e,t,r)}
widget(e,t){let n=this.gutter.config.widgetMarker(e,t.widget,t),r=n?[n]:null
;for(let o of e.state.facet(Qte)){let n=o(e,t.widget,t);n&&(r||(r=[])).push(n)}
r&&this.addElement(e,t,r)}finish(){let e=this.gutter
;for(;e.elements.length>this.i;){let t=e.elements.pop()
;e.dom.removeChild(t.dom),t.destroy()}}}class Yte{constructor(e,t){
this.view=e,this.config=t,
this.elements=[],this.spacer=null,this.dom=document.createElement("div"),
this.dom.className="cm-gutter"+(this.config.class?" "+this.config.class:"")
;for(let n in t.domEventHandlers)this.dom.addEventListener(n,(r=>{
let o,a=r.target;if(a!=this.dom&&this.dom.contains(a)){
for(;a.parentNode!=this.dom;)a=a.parentNode;let e=a.getBoundingClientRect()
;o=(e.top+e.bottom)/2}else o=r.clientY
;let i=e.lineBlockAtHeight(o-e.documentTop)
;t.domEventHandlers[n](e,i,r)&&r.preventDefault()}))
;this.markers=Wte(t.markers(e)),
t.initialSpacer&&(this.spacer=new Kte(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=Wte(this.config.markers(e.view)),this.spacer&&this.config.updateSpacer){
let t=this.config.updateSpacer(this.spacer.markers[0],e)
;t!=this.spacer.markers[0]&&this.spacer.update(e.view,0,0,[t])}
let n=e.view.viewport
;return!S7.eq(this.markers,t,n.from,n.to)||!!this.config.lineMarkerChange&&this.config.lineMarkerChange(e)
}destroy(){for(let e of this.elements)e.destroy()}}class Kte{
constructor(e,t,n,r){
this.height=-1,this.above=0,this.markers=[],this.dom=document.createElement("div"),
this.dom.className="cm-gutterElement",this.update(e,t,n,r)}update(e,t,n,r){
this.height!=t&&(this.height=t,
this.dom.style.height=t+"px"),this.above!=n&&(this.dom.style.marginTop=(this.above=n)?n+"px":""),
function(e,t){if(e.length!=t.length)return!1
;for(let n=0;n<e.length;n++)if(!e[n].compare(t[n]))return!1;return!0
}(this.markers,r)||this.setMarkers(e,r)}setMarkers(e,t){
let n="cm-gutterElement",r=this.dom.firstChild;for(let o=0,a=0;;){
let i=a,s=o<t.length?t[o++]:null,l=!1;if(s){let e=s.elementClass;e&&(n+=" "+e)
;for(let t=a;t<this.markers.length;t++)if(this.markers[t].compare(s)){i=t,l=!0
;break}}else i=this.markers.length;for(;a<i;){let e=this.markers[a++]
;if(e.toDOM){e.destroy(r);let t=r.nextSibling;r.remove(),r=t}}if(!s)break
;s.toDOM&&(l?r=r.nextSibling:this.dom.insertBefore(s.toDOM(e),r)),l&&a++}
this.dom.className=n,this.markers=t}destroy(){this.setMarkers(null,[])}}
const Jte=P4.define(),ene=P4.define(),tne=P4.define({combine:e=>y7(e,{
formatNumber:String,domEventHandlers:{}},{domEventHandlers(e,t){
let n=Object.assign({},e);for(let r in t){let e=n[r],o=t[r]
;n[r]=e?(t,n,r)=>e(t,n,r)||o(t,n,r):o}return n}})});class nne extends Bte{
constructor(e){super(),this.number=e}eq(e){return this.number==e.number}toDOM(){
return document.createTextNode(this.number)}}function rne(e,t){
return e.state.facet(tne).formatNumber(t,e.state)}
const one=zte.compute([tne],(e=>({class:"cm-lineNumbers",renderEmptyElements:!1,
markers:e=>e.state.facet(Jte),
lineMarker:(e,t,n)=>n.some((e=>e.toDOM))?null:new nne(rne(e,e.state.doc.lineAt(t.from).number)),
widgetMarker:(e,t,n)=>{for(let r of e.state.facet(ene)){let o=r(e,t,n)
;if(o)return o}return null},
lineMarkerChange:e=>e.startState.facet(tne)!=e.state.facet(tne),
initialSpacer:e=>new nne(rne(e,ane(e.state.doc.lines))),updateSpacer(e,t){
let n=rne(t.view,ane(t.view.state.doc.lines));return n==e.number?e:new nne(n)},
domEventHandlers:e.facet(tne).domEventHandlers})));function ane(e){let t=9
;for(;t<e;)t=10*t+9;return t}const ine=1024;let sne=0;class lne{
constructor(e,t){this.from=e,this.to=t}}class cne{constructor(e={}){
this.id=sne++,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=pne.match(e)),t=>{let n=e(t)
;return void 0===n?null:[this,n]}}}cne.closedBy=new cne({
deserialize:e=>e.split(" ")}),cne.openedBy=new cne({deserialize:e=>e.split(" ")
}),cne.group=new cne({deserialize:e=>e.split(" ")}),cne.isolate=new cne({
deserialize:e=>{
if(e&&"rtl"!=e&&"ltr"!=e&&"auto"!=e)throw new RangeError("Invalid value for isolate: "+e)
;return e||"auto"}}),cne.contextHash=new cne({perNode:!0
}),cne.lookAhead=new cne({perNode:!0}),cne.mounted=new cne({perNode:!0})
;class une{constructor(e,t,n){this.tree=e,this.overlay=t,this.parser=n}
static get(e){return e&&e.props&&e.props[cne.mounted.id]}}
const dne=Object.create(null);class pne{constructor(e,t,n,r=0){
this.name=e,this.props=t,this.id=n,this.flags=r}static define(e){
let t=e.props&&e.props.length?Object.create(null):dne,n=(e.top?1:0)|(e.skipped?2:0)|(e.error?4:0)|(null==e.name?8:0),r=new pne(e.name||"",t,e.id,n)
;if(e.props)for(let o of e.props)if(Array.isArray(o)||(o=o(r)),o){
if(o[0].perNode)throw new RangeError("Can't store a per-node prop on a node type")
;t[o[0].id]=o[1]}return r}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(cne.group)
;return!!t&&t.indexOf(e)>-1}return this.id==e}static match(e){
let t=Object.create(null);for(let n in e)for(let r of n.split(" "))t[r]=e[n]
;return e=>{for(let n=e.prop(cne.group),r=-1;r<(n?n.length:0);r++){
let o=t[r<0?e.name:n[r]];if(o)return o}}}}
pne.none=new pne("",Object.create(null),0,8);class hne{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 n of this.types){let r=null;for(let t of e){
let e=t(n);e&&(r||(r=Object.assign({},n.props)),r[e[0].id]=e[1])}
t.push(r?new pne(n.name,r,n.id,n.flags):n)}return new hne(t)}}
const fne=new WeakMap,mne=new WeakMap;var gne,vne
;(vne=gne||(gne={}))[vne.ExcludeBuffers=1]="ExcludeBuffers",
vne[vne.IncludeAnonymous=2]="IncludeAnonymous",
vne[vne.IgnoreMounts=4]="IgnoreMounts",
vne[vne.IgnoreOverlays=8]="IgnoreOverlays";class bne{constructor(e,t,n,r,o){
if(this.type=e,
this.children=t,this.positions=n,this.length=r,this.props=null,o&&o.length){
this.props=Object.create(null)
;for(let[e,t]of o)this.props["number"==typeof e?e:e.id]=t}}toString(){
let e=une.get(this);if(e&&!e.overlay)return e.tree.toString();let t=""
;for(let n of this.children){let e=n.toString();e&&(t&&(t+=","),t+=e)}
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 Dne(this.topNode,e)}cursorAt(e,t=0,n=0){
let r=fne.get(this)||this.topNode,o=new Dne(r)
;return o.moveTo(e,t),fne.set(this,o._tree),o}get topNode(){
return new Sne(this,0,0,null)}resolve(e,t=0){
let n=xne(fne.get(this)||this.topNode,e,t,!1);return fne.set(this,n),n}
resolveInner(e,t=0){let n=xne(mne.get(this)||this.topNode,e,t,!0)
;return mne.set(this,n),n}resolveStack(e,t=0){return function(e,t,n){
let r=e.resolveInner(t,n),o=null
;for(let a=r instanceof Sne?r:r.context.parent;a;a=a.parent)if(a.index<0){
let e=a.parent;(o||(o=[r])).push(e.resolve(t,n)),a=e}else{let e=une.get(a.tree)
;if(e&&e.overlay&&e.overlay[0].from<=t&&e.overlay[e.overlay.length-1].to>=t){
let i=new Sne(e.tree,e.overlay[0].from+a.from,-1,a)
;(o||(o=[r])).push(xne(i,t,n,!1))}}return o?Ane(o):r}(this,e,t)}iterate(e){
let{enter:t,leave:n,from:r=0,to:o=this.length}=e,a=e.mode||0,i=(a&gne.IncludeAnonymous)>0
;for(let s=this.cursor(a|gne.IncludeAnonymous);;){let e=!1
;if(s.from<=o&&s.to>=r&&(!i&&s.type.isAnonymous||!1!==t(s))){
if(s.firstChild())continue;e=!0}
for(;e&&n&&(i||!s.type.isAnonymous)&&n(s),!s.nextSibling();){
if(!s.parent())return;e=!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:Mne(pne.none,this.children,this.positions,0,this.children.length,0,this.length,((e,t,n)=>new bne(this.type,e,t,n,this.propValues)),e.makeTree||((e,t,n)=>new bne(pne.none,e,t,n)))
}static build(e){return function(e){var t
;let{buffer:n,nodeSet:r,maxBufferLength:o=ine,reused:a=[],minRepeatType:i=r.types.length}=e,s=Array.isArray(n)?new yne(n,n.length):n,l=r.types,c=0,u=0
;function d(e,t,n,b,y,O){let{id:w,start:x,end:k,size:S}=s,_=u,E=c;for(;S<0;){
if(s.next(),-1==S){let t=a[w];return n.push(t),void b.push(x-e)}
if(-3==S)return void(c=w);if(-4==S)return void(u=w)
;throw new RangeError(`Unrecognized record size: ${S}`)}let T,C,A=l[w],P=x-e
;if(k-x<=o&&(C=g(s.pos-t,y))){
let t=new Uint16Array(C.size-C.skip),n=s.pos-C.size,o=t.length
;for(;s.pos>n;)o=v(C.start,t,o);T=new One(t,k-C.start,r),P=C.start-e}else{
let e=s.pos-S;s.next();let t=[],n=[],r=w>=i?w:-1,a=0,l=k
;for(;s.pos>e;)r>=0&&s.id==r&&s.size>=0?(s.end<=l-o&&(f(t,n,x,a,s.end,l,r,_,E),
a=t.length,l=s.end),s.next()):O>2500?p(x,e,t,n):d(x,e,t,n,r,O+1)
;if(r>=0&&a>0&&a<t.length&&f(t,n,x,a,x,l,r,_,E),
t.reverse(),n.reverse(),r>-1&&a>0){let e=h(A,E)
;T=Mne(A,t,n,0,t.length,0,k-x,e,e)}else T=m(A,t,n,k-x,_-k,E)}n.push(T),b.push(P)
}function p(e,t,n,a){let i=[],l=0,c=-1;for(;s.pos>t;){
let{id:e,start:t,end:n,size:r}=s;if(r>4)s.next();else{if(c>-1&&t<c)break
;c<0&&(c=n-o),i.push(e,t,n),l++,s.next()}}if(l){
let t=new Uint16Array(4*l),o=i[i.length-2]
;for(let e=i.length-3,n=0;e>=0;e-=3)t[n++]=i[e],t[n++]=i[e+1]-o,t[n++]=i[e+2]-o,
t[n++]=n;n.push(new One(t,i[2]-o,r)),a.push(o-e)}}function h(e,t){
return(n,r,o)=>{let a,i,s=0,l=n.length-1;if(l>=0&&(a=n[l])instanceof bne){
if(!l&&a.type==e&&a.length==o)return a
;(i=a.prop(cne.lookAhead))&&(s=r[l]+a.length+i)}return m(e,n,r,o,s,t)}}
function f(e,t,n,o,a,i,s,l,c){let u=[],d=[]
;for(;e.length>o;)u.push(e.pop()),d.push(t.pop()+n-a)
;e.push(m(r.types[s],u,d,i-a,l-i,c)),t.push(a-n)}function m(e,t,n,r,o,a,i){
if(a){let e=[cne.contextHash,a];i=i?[e].concat(i):[e]}if(o>25){
let e=[cne.lookAhead,o];i=i?[e].concat(i):[e]}return new bne(e,t,n,r,i)}
function g(e,t){let n=s.fork(),r=0,a=0,l=0,c=n.end-o,u={size:0,start:0,skip:0}
;e:for(let o=n.pos-e;n.pos>o;){let e=n.size;if(n.id==t&&e>=0){
u.size=r,u.start=a,u.skip=l,l+=4,r+=4,n.next();continue}let s=n.pos-e
;if(e<0||s<o||n.start<c)break;let d=n.id>=i?4:0,p=n.start
;for(n.next();n.pos>s;){if(n.size<0){if(-3!=n.size)break e;d+=4
}else n.id>=i&&(d+=4);n.next()}a=p,r+=e,l+=d}
return(t<0||r==e)&&(u.size=r,u.start=a,u.skip=l),u.size>4?u:void 0}
function v(e,t,n){let{id:r,start:o,end:a,size:l}=s;if(s.next(),l>=0&&r<i){
let i=n;if(l>4){let r=s.pos-(l-4);for(;s.pos>r;)n=v(e,t,n)}
t[--n]=i,t[--n]=a-e,t[--n]=o-e,t[--n]=r}else-3==l?c=r:-4==l&&(u=r);return n}
let b=[],y=[];for(;s.pos>0;)d(e.start||0,e.bufferStart||0,b,y,-1,0)
;let O=null!==(t=e.length)&&void 0!==t?t:b.length?y[0]+b[0].length:0
;return new bne(l[e.topID],b.reverse(),y.reverse(),O)}(e)}}
bne.empty=new bne(pne.none,[],[],0);class yne{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 yne(this.buffer,this.index)}}class One{constructor(e,t,n){
this.buffer=e,this.length=t,this.set=n}get type(){return pne.none}toString(){
let e=[]
;for(let t=0;t<this.buffer.length;)e.push(this.childString(t)),t=this.buffer[t+3]
;return e.join(",")}childString(e){
let t=this.buffer[e],n=this.buffer[e+3],r=this.set.types[t],o=r.name
;if(/\W/.test(o)&&!r.isError&&(o=JSON.stringify(o)),n==(e+=4))return o;let a=[]
;for(;e<n;)a.push(this.childString(e)),e=this.buffer[e+3]
;return o+"("+a.join(",")+")"}findChild(e,t,n,r,o){let{buffer:a}=this,i=-1
;for(let s=e;s!=t&&!(wne(o,r,a[s+1],a[s+2])&&(i=s,n>0));s=a[s+3]);return i}
slice(e,t,n){let r=this.buffer,o=new Uint16Array(t-e),a=0;for(let i=e,s=0;i<t;){
o[s++]=r[i++],o[s++]=r[i++]-n;let t=o[s++]=r[i++]-n
;o[s++]=r[i++]-e,a=Math.max(a,t)}return new One(o,a,this.set)}}
function wne(e,t,n,r){switch(e){case-2:return n<t;case-1:return r>=t&&n<t
;case 0:return n<t&&r>t;case 1:return n<=t&&r>t;case 2:return r>t;case 4:
return!0}}function xne(e,t,n,r){
for(var o;e.from==e.to||(n<1?e.from>=t:e.from>t)||(n>-1?e.to<=t:e.to<t);){
let t=!r&&e instanceof Sne&&e.index<0?null:e.parent;if(!t)return e;e=t}
let a=r?0:gne.IgnoreOverlays
;if(r)for(let i=e,s=i.parent;s;i=s,s=i.parent)i instanceof Sne&&i.index<0&&(null===(o=s.enter(t,n,a))||void 0===o?void 0:o.from)!=i.from&&(e=s)
;for(;;){let r=e.enter(t,n,a);if(!r)return e;e=r}}class kne{cursor(e=0){
return new Dne(this,e)}getChild(e,t=null,n=null){let r=_ne(this,e,t,n)
;return r.length?r[0]:null}getChildren(e,t=null,n=null){return _ne(this,e,t,n)}
resolve(e,t=0){return xne(this,e,t,!1)}resolveInner(e,t=0){
return xne(this,e,t,!0)}matchContext(e){return Ene(this.parent,e)}
enterUnfinishedNodesBefore(e){let t=this.childBefore(e),n=this;for(;t;){
let e=t.lastChild;if(!e||e.to!=t.to)break
;e.type.isError&&e.from==e.to?(n=t,t=e.prevSibling):t=e}return n}get node(){
return this}get next(){return this.parent}}class Sne extends kne{
constructor(e,t,n,r){
super(),this._tree=e,this.from=t,this.index=n,this._parent=r}get type(){
return this._tree.type}get name(){return this._tree.type.name}get to(){
return this.from+this._tree.length}nextChild(e,t,n,r,o=0){for(let a=this;;){
for(let{children:i,positions:s}=a._tree,l=t>0?i.length:-1;e!=l;e+=t){
let l=i[e],c=s[e]+a.from;if(wne(r,n,c,c+l.length))if(l instanceof One){
if(o&gne.ExcludeBuffers)continue;let i=l.findChild(0,l.buffer.length,t,n-c,r)
;if(i>-1)return new Cne(new Tne(a,l,e,c),null,i)
}else if(o&gne.IncludeAnonymous||!l.type.isAnonymous||Rne(l)){let i
;if(!(o&gne.IgnoreMounts)&&(i=une.get(l))&&!i.overlay)return new Sne(i.tree,c,e,a)
;let s=new Sne(l,c,e,a)
;return o&gne.IncludeAnonymous||!s.type.isAnonymous?s:s.nextChild(t<0?l.children.length-1:0,t,n,r)
}}if(o&gne.IncludeAnonymous||!a.type.isAnonymous)return null
;if(e=a.index>=0?a.index+t:t<0?-1:a._parent._tree.children.length,
a=a._parent,!a)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,n=0){let r
;if(!(n&gne.IgnoreOverlays)&&(r=une.get(this._tree))&&r.overlay){
let n=e-this.from
;for(let{from:e,to:o}of r.overlay)if((t>0?e<=n:e<n)&&(t<0?o>=n:o>n))return new Sne(r.tree,r.overlay[0].from+this.from,-1,this)
}return this.nextChild(0,1,e,t,n)}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 _ne(e,t,n,r){let o=e.cursor(),a=[]
;if(!o.firstChild())return a
;if(null!=n)for(let i=!1;!i;)if(i=o.type.is(n),!o.nextSibling())return a
;for(;;){if(null!=r&&o.type.is(r))return a
;if(o.type.is(t)&&a.push(o.node),!o.nextSibling())return null==r?a:[]}}
function Ene(e,t,n=t.length-1){for(let r=e;n>=0;r=r.parent){if(!r)return!1
;if(!r.type.isAnonymous){if(t[n]&&t[n]!=r.name)return!1;n--}}return!0}class Tne{
constructor(e,t,n,r){this.parent=e,this.buffer=t,this.index=n,this.start=r}}
class Cne extends kne{get name(){return this.type.name}get from(){
return this.context.start+this.context.buffer.buffer[this.index+1]}get to(){
return this.context.start+this.context.buffer.buffer[this.index+2]}
constructor(e,t,n){
super(),this.context=e,this._parent=t,this.index=n,this.type=e.buffer.set.types[e.buffer.buffer[n]]
}child(e,t,n){
let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.context.start,n)
;return o<0?null:new Cne(this.context,this,o)}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,n=0){if(n&gne.ExcludeBuffers)return null
;let{buffer:r}=this.context,o=r.findChild(this.index+4,r.buffer[this.index+3],t>0?1:-1,e-this.context.start,t)
;return o<0?null:new Cne(this.context,this,o)}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 Cne(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 Cne(this.context,this._parent,e.findChild(t,this.index,-1,0,4))
}get tree(){return null}toTree(){
let e=[],t=[],{buffer:n}=this.context,r=this.index+4,o=n.buffer[this.index+3]
;if(o>r){let a=n.buffer[this.index+1];e.push(n.slice(r,o,a)),t.push(0)}
return new bne(this.type,e,t,this.to-this.from)}toString(){
return this.context.buffer.childString(this.index)}}function Ane(e){
if(!e.length)return null;let t=0,n=e[0];for(let a=1;a<e.length;a++){let r=e[a]
;(r.from>n.from||r.to<n.to)&&(n=r,t=a)}
let r=n instanceof Sne&&n.index<0?null:n.parent,o=e.slice()
;return r?o[t]=r:o.splice(t,1),new Pne(o,n)}class Pne{constructor(e,t){
this.heads=e,this.node=t}get next(){return Ane(this.heads)}}class Dne{
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 Sne)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:n,buffer:r}=this.buffer
;return this.type=t||r.set.types[r.buffer[e]],
this.from=n+r.buffer[e+1],this.to=n+r.buffer[e+2],!0}yield(e){
return!!e&&(e instanceof Sne?(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,n){
if(!this.buffer)return this.yield(this._tree.nextChild(e<0?this._tree._tree.children.length-1:0,e,t,n,this.mode))
;let{buffer:r}=this.buffer,o=r.findChild(this.index+4,r.buffer[this.index+3],e,t-this.buffer.start,n)
;return!(o<0)&&(this.stack.push(this.index),this.yieldBuf(o))}firstChild(){
return this.enterChild(1,0,4)}lastChild(){return this.enterChild(-1,0,4)}
childAfter(e){return this.enterChild(1,e,2)}childBefore(e){
return this.enterChild(-1,e,-2)}enter(e,t,n=this.mode){
return this.buffer?!(n&gne.ExcludeBuffers)&&this.enterChild(1,e,t):this.yield(this._tree.enter(e,t,n))
}parent(){
if(!this.buffer)return this.yieldNode(this.mode&gne.IncludeAnonymous?this._tree._parent:this._tree.parent)
;if(this.stack.length)return this.yieldBuf(this.stack.pop())
;let e=this.mode&gne.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,n=this.stack.length-1;if(e<0){
let e=n<0?0:this.stack[n]+4
;if(this.index!=e)return this.yieldBuf(t.findChild(e,this.index,-1,0,4))}else{
let e=t.buffer[this.index+3]
;if(e<(n<0?t.buffer.length:t.buffer[this.stack[n]+3]))return this.yieldBuf(e)}
return n<0&&this.yield(this.buffer.parent.nextChild(this.buffer.index+e,e,0,4,this.mode))
}nextSibling(){return this.sibling(1)}prevSibling(){return this.sibling(-1)}
atLastNode(e){let t,n,{buffer:r}=this;if(r){if(e>0){
if(this.index<r.buffer.buffer.length)return!1
}else for(let e=0;e<this.index;e++)if(r.buffer.buffer[e+3]<this.index)return!1
;({index:t,parent:n}=r)}else({index:t,_parent:n}=this._tree)
;for(;n;({index:t,_parent:n}=n))if(t>-1)for(let r=t+e,o=e<0?-1:n._tree.children.length;r!=o;r+=e){
let e=n._tree.children[r]
;if(this.mode&gne.IncludeAnonymous||e instanceof One||!e.type.isAnonymous||Rne(e))return!1
}return!0}move(e,t){if(t&&this.enterChild(e,0,4))return!0;for(;;){
if(this.sibling(e))return!0;if(this.atLastNode(e)||!this.parent())return!1}}
next(e=!0){return this.move(1,e)}prev(e=!0){return this.move(-1,e)}
moveTo(e,t=0){
for(;(this.from==this.to||(t<1?this.from>=e:this.from>e)||(t>-1?this.to<=e:this.to<e))&&this.parent(););
for(;this.enterChild(1,e,t););return this}get node(){
if(!this.buffer)return this._tree;let e=this.bufferNode,t=null,n=0
;if(e&&e.context==this.buffer)e:for(let r=this.index,o=this.stack.length;o>=0;){
for(let a=e;a;a=a._parent)if(a.index==r){if(r==this.index)return a;t=a,n=o+1
;break e}r=this.stack[--o]}
for(let r=n;r<this.stack.length;r++)t=new Cne(this.buffer,t,this.stack[r])
;return this.bufferNode=new Cne(this.buffer,t,this.index)}get tree(){
return this.buffer?null:this._tree._tree}iterate(e,t){for(let n=0;;){let r=!1
;if(this.type.isAnonymous||!1!==e(this)){if(this.firstChild()){n++;continue}
this.type.isAnonymous||(r=!0)}for(;;){
if(r&&t&&t(this),r=this.type.isAnonymous,!n)return;if(this.nextSibling())break
;this.parent(),n--,r=!0}}}matchContext(e){
if(!this.buffer)return Ene(this.node.parent,e)
;let{buffer:t}=this.buffer,{types:n}=t.set
;for(let r=e.length-1,o=this.stack.length-1;r>=0;o--){
if(o<0)return Ene(this._tree,e,r);let a=n[t.buffer[this.stack[o]]]
;if(!a.isAnonymous){if(e[r]&&e[r]!=a.name)return!1;r--}}return!0}}
function Rne(e){
return e.children.some((e=>e instanceof One||!e.type.isAnonymous||Rne(e)))}
const $ne=new WeakMap;function Nne(e,t){
if(!e.isAnonymous||t instanceof One||t.type!=e)return 1;let n=$ne.get(t)
;if(null==n){n=1;for(let r of t.children){if(r.type!=e||!(r instanceof bne)){n=1
;break}n+=Nne(e,r)}$ne.set(t,n)}return n}function Mne(e,t,n,r,o,a,i,s,l){let c=0
;for(let h=r;h<o;h++)c+=Nne(e,t[h]);let u=Math.ceil(1.5*c/8),d=[],p=[]
;return function t(n,r,o,i,s){for(let c=o;c<i;){let o=c,h=r[c],f=Nne(e,n[c])
;for(c++;c<i;c++){let t=Nne(e,n[c]);if(f+t>=u)break;f+=t}if(c==o+1){if(f>u){
let e=n[o];t(e.children,e.positions,0,e.children.length,r[o]+s);continue}
d.push(n[o])}else{let t=r[c-1]+n[c-1].length-h;d.push(Mne(e,n,r,o,c,h,t,null,l))
}p.push(h+s-a)}}(t,n,r,o,0),(s||l)(d,p,i)}class Ine{constructor(){
this.map=new WeakMap}setBuffer(e,t,n){let r=this.map.get(e)
;r||this.map.set(e,r=new Map),r.set(t,n)}getBuffer(e,t){let n=this.map.get(e)
;return n&&n.get(t)}set(e,t){
e instanceof Cne?this.setBuffer(e.context.buffer,e.index,t):e instanceof Sne&&this.map.set(e.tree,t)
}get(e){
return e instanceof Cne?this.getBuffer(e.context.buffer,e.index):e instanceof Sne?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 Lne{constructor(e,t,n,r,o=!1,a=!1){
this.from=e,this.to=t,this.tree=n,this.offset=r,this.open=(o?1:0)|(a?2:0)}
get openStart(){return(1&this.open)>0}get openEnd(){return(2&this.open)>0}
static addTree(e,t=[],n=!1){let r=[new Lne(0,e.length,e,0,!1,n)]
;for(let o of t)o.to>e.length&&r.push(o);return r}
static applyChanges(e,t,n=128){if(!t.length)return e
;let r=[],o=1,a=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>=n)for(;a&&a.from<u;){let t=a
;if(s>=t.from||u<=t.to||l){let e=Math.max(t.from,s)-l,n=Math.min(t.to,u)-l
;t=e>=n?null:new Lne(e,n,t.tree,t.offset+l,i>0,!!c)}if(t&&r.push(t),a.to>u)break
;a=o<e.length?e[o++]:null}if(!c)break;s=c.toA,l=c.toA-c.toB}return r}}class jne{
startParse(e,t,n){
return"string"==typeof e&&(e=new Bne(e)),n=n?n.length?n.map((e=>new lne(e.from,e.to))):[new lne(0,0)]:[new lne(0,e.length)],
this.createParse(e,t||[],n)}parse(e,t,n){let r=this.startParse(e,t,n);for(;;){
let e=r.advance();if(e)return e}}}class Bne{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 Une{
constructor(e,t,n,r,o){
this.parser=e,this.parse=t,this.overlay=n,this.target=r,this.from=o}}
function Qne(e){
if(!e.length||e.some((e=>e.from>=e.to)))throw new RangeError("Invalid inner parse ranges given: "+JSON.stringify(e))
}class Fne{constructor(e,t,n,r,o,a,i){
this.parser=e,this.predicate=t,this.mounts=n,
this.index=r,this.start=o,this.target=a,this.prev=i,this.depth=0,this.ranges=[]}
}const zne=new cne({perNode:!0});class qne{constructor(e,t,n,r,o){
this.nest=t,this.input=n,
this.fragments=r,this.ranges=o,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 t of this.inner)t.parse.stopAt(this.stoppedAt)
}if(this.innerDone==this.inner.length){let e=this.baseTree
;return null!=this.stoppedAt&&(e=new bne(e.type,e.children,e.positions,e.length,e.propValues.concat([[zne,this.stoppedAt]]))),
e}let e=this.inner[this.innerDone],t=e.parse.advance();if(t){this.innerDone++
;let n=Object.assign(Object.create(null),e.target.props)
;n[cne.mounted.id]=new une(t,e.overlay,e.parser),e.target.props=n}return null}
get parsedPos(){if(this.baseParse)return 0;let e=this.input.length
;for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].from<e&&(e=Math.min(e,this.inner[t].parse.parsedPos))
;return e}stopAt(e){
if(this.stoppedAt=e,this.baseParse)this.baseParse.stopAt(e);else for(let t=this.innerDone;t<this.inner.length;t++)this.inner[t].parse.stopAt(e)
}startInner(){
let e=new Xne(this.fragments),t=null,n=null,r=new Dne(new Sne(this.baseTree,this.ranges[0].from,0,null),gne.IncludeAnonymous|gne.IgnoreMounts)
;e:for(let o,a;;){let i,s=!0
;if(null!=this.stoppedAt&&r.from>=this.stoppedAt)s=!1;else if(e.hasNode(r)){
if(t){
let e=t.mounts.find((e=>e.frag.from<=r.from&&e.frag.to>=r.to&&e.mount.overlay))
;if(e)for(let n of e.mount.overlay){let o=n.from+e.pos,a=n.to+e.pos
;o>=r.from&&a<=r.to&&!t.ranges.some((e=>e.from<a&&e.to>o))&&t.ranges.push({
from:o,to:a})}}s=!1
}else if(n&&(a=Hne(n.ranges,r.from,r.to)))s=2!=a;else if(!r.type.isAnonymous&&(o=this.nest(r,this.input))&&(r.from<r.to||!o.overlay)){
r.tree||Zne(r);let a=e.findMounts(r.from,o.parser)
;if("function"==typeof o.overlay)t=new Fne(o.parser,o.overlay,a,this.inner.length,r.from,r.tree,t);else{
let e=Gne(this.ranges,o.overlay||(r.from<r.to?[new lne(r.from,r.to)]:[]))
;e.length&&Qne(e),
!e.length&&o.overlay||this.inner.push(new Une(o.parser,e.length?o.parser.startParse(this.input,Kne(a,e),e):o.parser.startParse(""),o.overlay?o.overlay.map((e=>new lne(e.from-r.from,e.to-r.from))):null,r.tree,e.length?e[0].from:r.from)),
o.overlay?e.length&&(n={ranges:e,depth:0,prev:n}):s=!1}
}else if(t&&(i=t.predicate(r))&&(!0===i&&(i=new lne(r.from,r.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&&r.firstChild())t&&t.depth++,n&&n.depth++;else for(;!r.nextSibling();){
if(!r.parent())break e;if(t&&! --t.depth){let e=Gne(this.ranges,t.ranges)
;e.length&&(Qne(e),
this.inner.splice(t.index,0,new Une(t.parser,t.parser.startParse(this.input,Kne(t.mounts,e),e),t.ranges.map((e=>new lne(e.from-t.start,e.to-t.start))),t.target,e[0].from))),
t=t.prev}n&&! --n.depth&&(n=n.prev)}}}}function Hne(e,t,n){for(let r of e){
if(r.from>=n)break;if(r.to>t)return r.from<=t&&r.to>=n?2:1}return 0}
function Vne(e,t,n,r,o,a){if(t<n){let i=e.buffer[t+1]
;r.push(e.slice(t,n,i)),o.push(i-a)}}function Zne(e){
let{node:t}=e,n=[],r=t.context.buffer;do{n.push(e.index),e.parent()
}while(!e.tree)
;let o=e.tree,a=o.children.indexOf(r),i=o.children[a],s=i.buffer,l=[a]
;o.children[a]=function e(r,o,a,c,u,d){let p=n[d],h=[],f=[];Vne(i,r,p,h,f,c)
;let m=s[p+1],g=s[p+2];l.push(h.length)
;let v=d?e(p+4,s[p+3],i.set.types[s[p]],m,g-m,d-1):t.toTree()
;return h.push(v),f.push(m-c),Vne(i,s[p+3],o,h,f,c),new bne(a,h,f,u)
}(0,s.length,pne.none,0,i.length,n.length-1);for(let c of l){
let t=e.tree.children[c],n=e.tree.positions[c]
;e.yield(new Sne(t,n+e.from,c,e._tree))}}class Wne{constructor(e,t){
this.offset=t,
this.done=!1,this.cursor=e.cursor(gne.IncludeAnonymous|gne.IgnoreMounts)}
moveTo(e){let{cursor:t}=this,n=e-this.offset
;for(;!this.done&&t.from<n;)t.to>=e&&t.enter(n,1,gne.IgnoreOverlays|gne.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 bne))break
;t=t.children[0]}return!1}}let Xne=class{constructor(e){var t
;if(this.fragments=e,this.curTo=0,this.fragI=0,e.length){let n=this.curFrag=e[0]
;this.curTo=null!==(t=n.tree.prop(zne))&&void 0!==t?t:n.to,
this.inner=new Wne(n.tree,-n.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(zne))&&void 0!==e?e:t.to,
this.inner=new Wne(t.tree,-t.offset)}}findMounts(e,t){var n;let r=[]
;if(this.inner){this.inner.cursor.moveTo(e,1)
;for(let e=this.inner.cursor.node;e;e=e.parent){
let o=null===(n=e.tree)||void 0===n?void 0:n.prop(cne.mounted)
;if(o&&o.parser==t)for(let t=this.fragI;t<this.fragments.length;t++){
let n=this.fragments[t];if(n.from>=e.to)break
;n.tree==this.curFrag.tree&&r.push({frag:n,pos:e.from-n.offset,mount:o})}}}
return r}};function Gne(e,t){let n=null,r=t;for(let o=1,a=0;o<e.length;o++){
let i=e[o-1].to,s=e[o].from;for(;a<r.length;a++){let e=r[a];if(e.from>=s)break
;e.to<=i||(n||(r=n=t.slice()),
e.from<i?(n[a]=new lne(e.from,i),e.to>s&&n.splice(a+1,0,new lne(s,e.to))):e.to>s?n[a--]=new lne(s,e.to):n.splice(a--,1))
}}return r}function Yne(e,t,n,r){let o=0,a=0,i=!1,s=!1,l=-1e9,c=[];for(;;){
let u=o==e.length?1e9:i?e[o].to:e[o].from,d=a==t.length?1e9:s?t[a].to:t[a].from
;if(i!=s){let e=Math.max(l,n),t=Math.min(u,d,r);e<t&&c.push(new lne(e,t))}
if(l=Math.min(u,d),1e9==l)break
;u==l&&(i?(i=!1,o++):i=!0),d==l&&(s?(s=!1,a++):s=!0)}return c}function Kne(e,t){
let n=[];for(let{pos:r,mount:o,frag:a}of e){
let e=r+(o.overlay?o.overlay[0].from:0),i=e+o.tree.length,s=Math.max(a.from,e),l=Math.min(a.to,i)
;if(o.overlay){let i=o.overlay.map((e=>new lne(e.from+r,e.to+r))),c=Yne(t,i,s,l)
;for(let t=0,r=s;;t++){let i=t==c.length,s=i?l:c[t].from
;if(s>r&&n.push(new Lne(r,s,o.tree,-e,a.from>=r||a.openStart,a.to<=s||a.openEnd)),
i)break;r=c[t].to}
}else n.push(new Lne(s,l,o.tree,-e,a.from>=e||a.openStart,a.to<=i||a.openEnd))}
return n}let Jne=0,ere=class e{constructor(e,t,n,r){
this.name=e,this.set=t,this.base=n,this.modified=r,this.id=Jne++}toString(){
let{name:e}=this;for(let t of this.modified)t.name&&(e=`${t.name}(${e})`)
;return e}static define(t,n){let r="string"==typeof t?t:"?"
;if(t instanceof e&&(n=t),
null==n?void 0:n.base)throw new Error("Can not derive from a modified tag")
;let o=new e(r,[],null,[]);if(o.set.push(o),n)for(let e of n.set)o.set.push(e)
;return o}static defineModifier(e){let t=new nre(e)
;return e=>e.modified.indexOf(t)>-1?e:nre.get(e.base||e,e.modified.concat(t).sort(((e,t)=>e.id-t.id)))
}},tre=0;class nre{constructor(e){this.name=e,this.instances=[],this.id=tre++}
static get(e,t){if(!t.length)return e;let n=t[0].instances.find((n=>{
return n.base==e&&(r=t,
o=n.modified,r.length==o.length&&r.every(((e,t)=>e==o[t])));var r,o}))
;if(n)return n;let r=[],o=new ere(e.name,r,e,t)
;for(let i of t)i.instances.push(o);let a=function(e){let t=[[]]
;for(let n=0;n<e.length;n++)for(let r=0,o=t.length;r<o;r++)t.push(t[r].concat(e[n]))
;return t.sort(((e,t)=>t.length-e.length))}(t)
;for(let i of e.set)if(!i.modified.length)for(let e of a)r.push(nre.get(i,e))
;return o}}function rre(e){let t=Object.create(null);for(let n in e){let r=e[n]
;Array.isArray(r)||(r=[r]);for(let e of n.split(" "))if(e){let n=[],o=2,a=e
;for(let t=0;;){if("..."==a&&t>0&&t+3==e.length){o=1;break}
let r=/^"(?:[^"\\]|\\.)*?"|[^\/!]+/.exec(a)
;if(!r)throw new RangeError("Invalid path: "+e)
;if(n.push("*"==r[0]?"":'"'==r[0][0]?JSON.parse(r[0]):r[0]),
t+=r[0].length,t==e.length)break;let i=e[t++];if(t==e.length&&"!"==i){o=0;break}
if("/"!=i)throw new RangeError("Invalid path: "+e);a=e.slice(t)}
let i=n.length-1,s=n[i];if(!s)throw new RangeError("Invalid path: "+e)
;let l=new are(r,o,i>0?n.slice(0,i):null);t[s]=l.sort(t[s])}}return ore.add(t)}
const ore=new cne;class are{constructor(e,t,n,r){
this.tags=e,this.mode=t,this.context=n,this.next=r}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 ire(e,t){
let n=Object.create(null)
;for(let a of e)if(Array.isArray(a.tag))for(let e of a.tag)n[e.id]=a.class;else n[a.tag.id]=a.class
;let{scope:r,all:o=null}=t||{};return{style:e=>{let t=o
;for(let r of e)for(let e of r.set){let r=n[e.id];if(r){t=t?t+" "+r:r;break}}
return t},scope:r}}function sre(e,t,n,r=0,o=e.length){
let a=new lre(r,Array.isArray(t)?t:[t],n)
;a.highlightRange(e.cursor(),r,o,"",a.highlighters),a.flush(o)}
are.empty=new are([],2,null);class lre{constructor(e,t,n){
this.at=e,this.highlighters=t,this.span=n,this.class=""}startSpan(e,t){
t!=this.class&&(this.flush(e),e>this.at&&(this.at=e),this.class=t)}flush(e){
e>this.at&&this.class&&this.span(this.at,e,this.class)}
highlightRange(e,t,n,r,o){let{type:a,from:i,to:s}=e;if(i>=n||s<=t)return
;a.isTop&&(o=this.highlighters.filter((e=>!e.scope||e.scope(a))))
;let l=r,c=function(e){let t=e.type.prop(ore)
;for(;t&&t.context&&!e.matchContext(t.context);)t=t.next;return t||null
}(e)||are.empty,u=function(e,t){let n=null;for(let r of e){let e=r.style(t)
;e&&(n=n?n+" "+e:e)}return n}(o,c.tags)
;if(u&&(l&&(l+=" "),l+=u,1==c.mode&&(r+=(r?" ":"")+u)),
this.startSpan(Math.max(t,i),l),c.opaque)return
;let d=e.tree&&e.tree.prop(cne.mounted);if(d&&d.overlay){
let a=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),v=Math.min(n,m)
;if(g<v&&u)for(;e.from<v&&(this.highlightRange(e,g,v,r,o),
this.startSpan(Math.min(v,e.to),l),!(e.to>=m)&&e.nextSibling()););
if(!f||m>n)break
;h=f.to+i,h>t&&(this.highlightRange(a.cursor(),Math.max(t,f.from+i),Math.min(n,h),"",c),
this.startSpan(Math.min(n,h),l))}u&&e.parent()}else if(e.firstChild()){d&&(r="")
;do{if(!(e.to<=t)){if(e.from>=n)break
;this.highlightRange(e,t,n,r,o),this.startSpan(Math.min(n,e.to),l)}
}while(e.nextSibling());e.parent()}}}
const cre=ere.define,ure=cre(),dre=cre(),pre=cre(dre),hre=cre(dre),fre=cre(),mre=cre(fre),gre=cre(fre),vre=cre(),bre=cre(vre),yre=cre(),Ore=cre(),wre=cre(),xre=cre(wre),kre=cre(),Sre={
comment:ure,lineComment:cre(ure),blockComment:cre(ure),docComment:cre(ure),
name:dre,variableName:cre(dre),typeName:pre,tagName:cre(pre),propertyName:hre,
attributeName:cre(hre),className:cre(dre),labelName:cre(dre),namespace:cre(dre),
macroName:cre(dre),literal:fre,string:mre,docString:cre(mre),character:cre(mre),
attributeValue:cre(mre),number:gre,integer:cre(gre),float:cre(gre),
bool:cre(fre),regexp:cre(fre),escape:cre(fre),color:cre(fre),url:cre(fre),
keyword:yre,self:cre(yre),null:cre(yre),atom:cre(yre),unit:cre(yre),
modifier:cre(yre),operatorKeyword:cre(yre),controlKeyword:cre(yre),
definitionKeyword:cre(yre),moduleKeyword:cre(yre),operator:Ore,
derefOperator:cre(Ore),arithmeticOperator:cre(Ore),logicOperator:cre(Ore),
bitwiseOperator:cre(Ore),compareOperator:cre(Ore),updateOperator:cre(Ore),
definitionOperator:cre(Ore),typeOperator:cre(Ore),controlOperator:cre(Ore),
punctuation:wre,separator:cre(wre),bracket:xre,angleBracket:cre(xre),
squareBracket:cre(xre),paren:cre(xre),brace:cre(xre),content:vre,heading:bre,
heading1:cre(bre),heading2:cre(bre),heading3:cre(bre),heading4:cre(bre),
heading5:cre(bre),heading6:cre(bre),contentSeparator:cre(vre),list:cre(vre),
quote:cre(vre),emphasis:cre(vre),strong:cre(vre),link:cre(vre),
monospace:cre(vre),strikethrough:cre(vre),inserted:cre(),deleted:cre(),
changed:cre(),invalid:cre(),meta:kre,documentMeta:cre(kre),annotation:cre(kre),
processingInstruction:cre(kre),definition:ere.defineModifier("definition"),
constant:ere.defineModifier("constant"),function:ere.defineModifier("function"),
standard:ere.defineModifier("standard"),local:ere.defineModifier("local"),
special:ere.defineModifier("special")};for(let JPe in Sre){let e=Sre[JPe]
;e instanceof ere&&(e.name=JPe)}var _re;ire([{tag:Sre.link,class:"tok-link"},{
tag:Sre.heading,class:"tok-heading"},{tag:Sre.emphasis,class:"tok-emphasis"},{
tag:Sre.strong,class:"tok-strong"},{tag:Sre.keyword,class:"tok-keyword"},{
tag:Sre.atom,class:"tok-atom"},{tag:Sre.bool,class:"tok-bool"},{tag:Sre.url,
class:"tok-url"},{tag:Sre.labelName,class:"tok-labelName"},{tag:Sre.inserted,
class:"tok-inserted"},{tag:Sre.deleted,class:"tok-deleted"},{tag:Sre.literal,
class:"tok-literal"},{tag:Sre.string,class:"tok-string"},{tag:Sre.number,
class:"tok-number"},{tag:[Sre.regexp,Sre.escape,Sre.special(Sre.string)],
class:"tok-string2"},{tag:Sre.variableName,class:"tok-variableName"},{
tag:Sre.local(Sre.variableName),class:"tok-variableName tok-local"},{
tag:Sre.definition(Sre.variableName),class:"tok-variableName tok-definition"},{
tag:Sre.special(Sre.variableName),class:"tok-variableName2"},{
tag:Sre.definition(Sre.propertyName),class:"tok-propertyName tok-definition"},{
tag:Sre.typeName,class:"tok-typeName"},{tag:Sre.namespace,class:"tok-namespace"
},{tag:Sre.className,class:"tok-className"},{tag:Sre.macroName,
class:"tok-macroName"},{tag:Sre.propertyName,class:"tok-propertyName"},{
tag:Sre.operator,class:"tok-operator"},{tag:Sre.comment,class:"tok-comment"},{
tag:Sre.meta,class:"tok-meta"},{tag:Sre.invalid,class:"tok-invalid"},{
tag:Sre.punctuation,class:"tok-punctuation"}]);const Ere=new cne
;function Tre(e){return P4.define({combine:e?t=>t.concat(e):void 0})}
const Cre=new cne;class Are{constructor(e,t,n=[],r=""){
this.data=e,this.name=r,b7.prototype.hasOwnProperty("tree")||Object.defineProperty(b7.prototype,"tree",{
get(){return Rre(this)}
}),this.parser=t,this.extension=[Qre.of(this),b7.languageData.of(((e,t,n)=>{
let r=Pre(e,t,n),o=r.type.prop(Ere);if(!o)return[]
;let a=e.facet(o),i=r.type.prop(Cre);if(i){let o=r.resolve(t-r.from,n)
;for(let t of i)if(t.test(o,e)){let n=e.facet(t.facet)
;return"replace"==t.type?n:n.concat(a)}}return a}))].concat(n)}
isActiveAt(e,t,n=-1){return Pre(e,t,n).type.prop(Ere)==this.data}findRegions(e){
let t=e.facet(Qre);if((null==t?void 0:t.data)==this.data)return[{from:0,
to:e.doc.length}];if(!t||!t.allowsNesting)return[];let n=[],r=(e,t)=>{
if(e.prop(Ere)==this.data)return void n.push({from:t,to:t+e.length})
;let o=e.prop(cne.mounted);if(o){if(o.tree.prop(Ere)==this.data){
if(o.overlay)for(let e of o.overlay)n.push({from:e.from+t,to:e.to+t
});else n.push({from:t,to:t+e.length});return}if(o.overlay){let e=n.length
;if(r(o.tree,o.overlay[0].from+t),n.length>e)return}}
for(let n=0;n<e.children.length;n++){let o=e.children[n]
;o instanceof bne&&r(o,e.positions[n]+t)}};return r(Rre(e),0),n}
get allowsNesting(){return!0}}function Pre(e,t,n){
let r=e.facet(Qre),o=Rre(e).topNode
;if(!r||r.allowsNesting)for(let a=o;a;a=a.enter(t,n,gne.ExcludeBuffers))a.type.isTop&&(o=a)
;return o}Are.setState=i7.define();class Dre extends Are{constructor(e,t,n){
super(e,t,[],n),this.parser=t}static define(e){let t=Tre(e.languageData)
;return new Dre(t,e.parser.configure({props:[Ere.add((e=>e.isTop?t:void 0))]
}),e.name)}configure(e,t){
return new Dre(this.data,this.parser.configure(e),t||this.name)}
get allowsNesting(){return this.parser.hasWrappers()}}function Rre(e){
let t=e.field(Are.state,!1);return t?t.tree:bne.empty}class $re{constructor(e){
this.doc=e,this.cursorPos=0,this.string="",this.cursor=e.iter()}get length(){
return this.doc.length}syncTo(e){
return this.string=this.cursor.next(e-this.cursorPos).value,
this.cursorPos=e+this.string.length,this.cursorPos-this.string.length}chunk(e){
return this.syncTo(e),this.string}get lineChunks(){return!0}read(e,t){
let n=this.cursorPos-this.string.length
;return e<n||t>=this.cursorPos?this.doc.sliceString(e,t):this.string.slice(e-n,t-n)
}}let Nre=null;class Mre{constructor(e,t,n=[],r,o,a,i,s){
this.parser=e,this.state=t,
this.fragments=n,this.tree=r,this.treeLen=o,this.viewport=a,
this.skipped=i,this.scheduleOn=s,this.parse=null,this.tempSkipped=[]}
static create(e,t,n){return new Mre(e,t,[],bne.empty,0,n,[],null)}startParse(){
return this.parser.startParse(new $re(this.state.doc),this.fragments)}work(e,t){
return null!=t&&t>=this.state.doc.length&&(t=void 0),
this.tree!=bne.empty&&this.isDone(null!=t?t:this.state.doc.length)?(this.takeTree(),
!0):this.withContext((()=>{var n;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 r=this.parse.advance();if(r){
if(this.fragments=this.withoutTempSkipped(Lne.addTree(r,this.fragments,null!=this.parse.stoppedAt)),
this.treeLen=null!==(n=this.parse.stoppedAt)&&void 0!==n?n:this.state.doc.length,
this.tree=r,
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(Lne.addTree(this.tree,this.fragments,!0)),
this.parse=null)}withContext(e){let t=Nre;Nre=this;try{return e()}finally{Nre=t}
}withoutTempSkipped(e){for(let t;t=this.tempSkipped.pop();)e=Ire(e,t.from,t.to)
;return e}changes(e,t){
let{fragments:n,tree:r,treeLen:o,viewport:a,skipped:i}=this
;if(this.takeTree(),!e.empty){let t=[]
;if(e.iterChangedRanges(((e,n,r,o)=>t.push({fromA:e,toA:n,fromB:r,toB:o
}))),n=Lne.applyChanges(n,t),r=bne.empty,o=0,a={from:e.mapPos(a.from,-1),
to:e.mapPos(a.to,1)},this.skipped.length){i=[];for(let t of this.skipped){
let n=e.mapPos(t.from,1),r=e.mapPos(t.to,-1);n<r&&i.push({from:n,to:r})}}}
return new Mre(this.parser,t,n,r,o,a,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 n=0;n<this.skipped.length;n++){
let{from:t,to:r}=this.skipped[n]
;t<e.to&&r>e.from&&(this.fragments=Ire(this.fragments,t,r),
this.skipped.splice(n--,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 jne{createParse(t,n,r){
let o=r[0].from,a=r[r.length-1].to,i={parsedPos:o,advance(){let t=Nre;if(t){
for(let e of r)t.tempSkipped.push(e)
;e&&(t.scheduleOn=t.scheduleOn?Promise.all([t.scheduleOn,e]):e)}
return this.parsedPos=a,new bne(pne.none,[],[],a-o)},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 Nre}}function Ire(e,t,n){return Lne.applyChanges(e,[{fromA:t,toA:n,
fromB:t,toB:n}])}class Lre{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),n=this.context.treeLen==e.startState.doc.length?void 0:Math.max(e.changes.mapPos(this.context.treeLen),t.viewport.to)
;return t.work(20,n)||t.takeTree(),new Lre(t)}static init(e){
let t=Math.min(3e3,e.doc.length),n=Mre.create(e.facet(Qre).parser,e,{from:0,to:t
});return n.work(20,t)||n.takeTree(),new Lre(n)}}Are.state=L4.define({
create:Lre.init,update(e,t){
for(let n of t.effects)if(n.is(Are.setState))return n.value
;return t.startState.facet(Qre)!=t.state.facet(Qre)?Lre.init(t.state):e.apply(t)
}});let jre=e=>{let t=setTimeout((()=>e()),500);return()=>clearTimeout(t)}
;"undefined"!=typeof requestIdleCallback&&(jre=e=>{let t=-1,n=setTimeout((()=>{
t=requestIdleCallback(e,{timeout:400})}),100)
;return()=>t<0?clearTimeout(n):cancelIdleCallback(t)})
;const Bre="undefined"!=typeof navigator&&(null===(_re=navigator.scheduling)||void 0===_re?void 0:_re.isInputPending)?()=>navigator.scheduling.isInputPending():null,Ure=V6.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(Are.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(Are.state)
;t.tree==t.context.tree&&t.context.isDone(e.doc.length)||(this.working=jre(this.work))
}work(e){this.working=null;let t=Date.now()
;if(this.chunkEnd<t&&(this.chunkEnd<0||this.view.hasFocus)&&(this.chunkEnd=t+3e4,
this.chunkBudget=3e3),this.chunkBudget<=0)return
;let{state:n,viewport:{to:r}}=this.view,o=n.field(Are.state)
;if(o.tree==o.context.tree&&o.context.isDone(r+1e5))return
;let a=Date.now()+Math.min(this.chunkBudget,100,e&&!Bre?Math.max(25,e.timeRemaining()-5):1e9),i=o.context.treeLen<r&&n.doc.length>r+1e3,s=o.context.work((()=>Bre&&Bre()||Date.now()>a),r+(i?0:1e5))
;this.chunkBudget-=Date.now()-t,(s||this.chunkBudget<=0)&&(o.context.takeTree(),
this.view.dispatch({effects:Are.setState.of(new Lre(o.context))
})),this.chunkBudget>0&&(!s||i)&&this.scheduleWork(),
this.checkAsyncSchedule(o.context)}checkAsyncSchedule(e){
e.scheduleOn&&(this.workScheduled++,
e.scheduleOn.then((()=>this.scheduleWork())).catch((e=>F6(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()}}}),Qre=P4.define({combine:e=>e.length?e[0]:null,
enables:e=>[Are.state,Ure,qee.contentAttributes.compute([e],(t=>{
let n=t.facet(e);return n&&n.name?{"data-language":n.name}:{}}))]});class Fre{
constructor(e,t=[]){this.language=e,this.support=t,this.extension=[e,t]}}
const zre=P4.define(),qre=P4.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 Hre(e){let t=e.facet(qre)
;return 9==t.charCodeAt(0)?e.tabSize*t.length:t.length}function Vre(e,t){
let n="",r=e.tabSize,o=e.facet(qre)[0];if("\t"==o){for(;t>=r;)n+="\t",t-=r;o=" "
}for(let a=0;a<t;a++)n+=o;return n}function Zre(e,t){
e instanceof b7&&(e=new Wre(e));for(let r of e.state.facet(zre)){let n=r(e,t)
;if(void 0!==n)return n}let n=Rre(e.state);return n.length>=t?function(e,t,n){
let r=t.resolveStack(n),o=t.resolveInner(n,-1).resolve(n,0).enterUnfinishedNodesBefore(n)
;if(o!=r.node){let e=[];for(let t=o;t!=r.node;t=t.parent)e.push(t)
;for(let t=e.length-1;t>=0;t--)r={node:e[t],next:r}}return Gre(r,e,n)
}(e,n,t):null}class Wre{constructor(e,t={}){
this.state=e,this.options=t,this.unit=Hre(e)}lineAt(e,t=1){
let n=this.state.doc.lineAt(e),{simulateBreak:r,simulateDoubleBreak:o}=this.options
;return null!=r&&r>=n.from&&r<=n.to?o&&r==e?{text:"",from:e}:(t<0?r<e:r<=e)?{
text:n.text.slice(r-n.from),from:r}:{text:n.text.slice(0,r-n.from),from:n.from
}:n}textAfterPos(e,t=1){
if(this.options.simulateDoubleBreak&&e==this.options.simulateBreak)return""
;let{text:n,from:r}=this.lineAt(e,t)
;return n.slice(e-r,Math.min(n.length,e+100-r))}column(e,t=1){
let{text:n,from:r}=this.lineAt(e,t),o=this.countColumn(n,e-r),a=this.options.overrideIndentation?this.options.overrideIndentation(r):-1
;return a>-1&&(o+=a-this.countColumn(n,n.search(/\S|$/))),o}
countColumn(e,t=e.length){return I7(e,this.state.tabSize,t)}lineIndent(e,t=1){
let{text:n,from:r}=this.lineAt(e,t),o=this.options.overrideIndentation;if(o){
let e=o(r);if(e>-1)return e}return this.countColumn(n,n.search(/\S|$/))}
get simulatedBreak(){return this.options.simulateBreak||null}}const Xre=new cne
;function Gre(e,t,n){for(let r=e;r;r=r.next){let e=Yre(r.node)
;if(e)return e(Jre.create(t,n,r))}return 0}function Yre(e){
let t=e.type.prop(Xre);if(t)return t;let n,r=e.firstChild
;if(r&&(n=r.type.prop(cne.closedBy))){
let t=e.lastChild,r=t&&n.indexOf(t.name)>-1
;return e=>noe(e,!0,1,void 0,r&&!function(e){
return e.pos==e.options.simulateBreak&&e.options.simulateDoubleBreak
}(e)?t.from:void 0)}return null==e.parent?Kre:null}function Kre(){return 0}
class Jre extends Wre{constructor(e,t,n){
super(e.state,e.options),this.base=e,this.pos=t,this.context=n}get node(){
return this.context.node}static create(e,t,n){return new Jre(e,t,n)}
get textAfter(){return this.textAfterPos(this.pos)}get baseIndent(){
return this.baseIndentFor(this.node)}baseIndentFor(e){
let t=this.state.doc.lineAt(e.from);for(;;){let n=e.resolve(t.from)
;for(;n.parent&&n.parent.from==n.from;)n=n.parent;if(eoe(n,e))break
;t=this.state.doc.lineAt(n.from)}return this.lineIndent(t.from)}continue(){
return Gre(this.context.next,this.base,this.pos)}}function eoe(e,t){
for(let n=t;n;n=n.parent)if(e==n)return!0;return!1}
function toe({closing:e,align:t=!0,units:n=1}){return r=>noe(r,t,n,e)}
function noe(e,t,n,r,o){
let a=e.textAfter,i=a.match(/^\s*/)[0].length,s=r&&a.slice(i,i+r.length)==r||o==e.pos+i,l=t?function(e){
let t=e.node,n=t.childAfter(t.from),r=t.lastChild;if(!n)return null
;let o=e.options.simulateBreak,a=e.state.doc.lineAt(n.from),i=null==o||o<=a.from?a.to:Math.min(a.to,o)
;for(let s=n.to;;){let e=t.childAfter(s);if(!e||e==r)return null
;if(!e.type.isSkipped){if(e.from>=i)return null
;let t=/^ */.exec(a.text.slice(n.to-a.from))[0].length;return{from:n.from,
to:n.to+t}}s=e.to}}(e):null
;return l?s?e.column(l.from):e.column(l.to):e.baseIndent+(s?0:e.unit*n)}
function roe({except:e,units:t=1}={}){return n=>{let r=e&&e.test(n.textAfter)
;return n.baseIndent+(r?0:t*n.unit)}}const ooe=200
;const aoe=P4.define(),ioe=new cne;function soe(e){
let t=e.firstChild,n=e.lastChild;return t&&t.to<n.from?{from:t.to,
to:n.type.isError?e.to:n.from}:null}function loe(e){let t=e.lastChild
;return t&&t.to==e.to&&t.type.isError}function coe(e,t,n){
for(let r of e.facet(aoe)){let o=r(e,t,n);if(o)return o}return function(e,t,n){
let r=Rre(e);if(r.length<n)return null;let o=null
;for(let a=r.resolveStack(n,1);a;a=a.next){let i=a.node
;if(i.to<=n||i.from>n)continue;if(o&&i.from<t)break;let s=i.type.prop(ioe)
;if(s&&(i.to<r.length-50||r.length==e.doc.length||!loe(i))){let r=s(i,e)
;r&&r.from<=n&&r.from>=t&&r.to>n&&(o=r)}}return o}(e,t,n)}function uoe(e,t){
let n=t.mapPos(e.from,1),r=t.mapPos(e.to,-1);return n>=r?void 0:{from:n,to:r}}
const doe=i7.define({map:uoe}),poe=i7.define({map:uoe}),hoe=L4.define({
create:()=>G8.none,update(e,t){e=e.map(t.changes)
;for(let n of t.effects)if(n.is(doe)&&!moe(e,n.value.from,n.value.to)){
let{preparePlaceholder:r}=t.state.facet(voe),o=r?G8.replace({
widget:new Ooe(r(t.state,n.value))}):yoe;e=e.update({
add:[o.range(n.value.from,n.value.to)]})}else n.is(poe)&&(e=e.update({
filter:(e,t)=>n.value.from!=e||n.value.to!=t,filterFrom:n.value.from,
filterTo:n.value.to}));if(t.selection){let n=!1,{head:r}=t.selection.main
;e.between(r,r,((e,t)=>{e<r&&t>r&&(n=!0)})),n&&(e=e.update({filterFrom:r,
filterTo:r,filter:(e,t)=>t<=r||e>=r}))}return e},
provide:e=>qee.decorations.from(e),toJSON(e,t){let n=[]
;return e.between(0,t.doc.length,((e,t)=>{n.push(e,t)})),n},fromJSON(e){
if(!Array.isArray(e)||e.length%2)throw new RangeError("Invalid JSON for fold state")
;let t=[];for(let n=0;n<e.length;){let r=e[n++],o=e[n++]
;if("number"!=typeof r||"number"!=typeof o)throw new RangeError("Invalid JSON for fold state")
;t.push(yoe.range(r,o))}return G8.set(t,!0)}});function foe(e,t,n){var r
;let o=null
;return null===(r=e.field(hoe,!1))||void 0===r||r.between(t,n,((e,t)=>{
(!o||o.from>e)&&(o={from:e,to:t})})),o}function moe(e,t,n){let r=!1
;return e.between(t,t,((e,o)=>{e==t&&o==n&&(r=!0)})),r}const goe={
placeholderDOM:null,preparePlaceholder:null,placeholderText:"…"},voe=P4.define({
combine:e=>y7(e,goe)});function boe(e,t){let{state:n}=e,r=n.facet(voe),o=t=>{
let n=e.lineBlockAt(e.posAtDOM(t.target)),r=foe(e.state,n.from,n.to)
;r&&e.dispatch({effects:poe.of(r)}),t.preventDefault()}
;if(r.placeholderDOM)return r.placeholderDOM(e,o,t)
;let a=document.createElement("span")
;return a.textContent=r.placeholderText,a.setAttribute("aria-label",n.phrase("folded code")),
a.title=n.phrase("unfold"),a.className="cm-foldPlaceholder",a.onclick=o,a}
const yoe=G8.replace({widget:new class extends W8{toDOM(e){return boe(e,null)}}
});class Ooe extends W8{constructor(e){super(),this.value=e}eq(e){
return this.value==e.value}toDOM(e){return boe(e,this.value)}}const woe={
openText:"⌄",closedText:"›",markerDOM:null,domEventHandlers:{},
foldingChanged:()=>!1};class xoe extends Bte{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 koe(e={}){
let t=Object.assign(Object.assign({},woe),e),n=new xoe(t,!0),r=new xoe(t,!1),o=V6.fromClass(class{
constructor(e){this.from=e.viewport.from,this.markers=this.buildMarkers(e)}
update(e){
(e.docChanged||e.viewportChanged||e.startState.facet(Qre)!=e.state.facet(Qre)||e.startState.field(hoe,!1)!=e.state.field(hoe,!1)||Rre(e.startState)!=Rre(e.state)||t.foldingChanged(e))&&(this.markers=this.buildMarkers(e.view))
}buildMarkers(e){let t=new _7;for(let o of e.viewportLineBlocks){
let a=foe(e.state,o.from,o.to)?r:coe(e.state,o.from,o.to)?n:null
;a&&t.add(o.from,o.from,a)}return t.finish()}}),{domEventHandlers:a}=t
;return[o,qte({class:"cm-foldGutter",markers(e){var t
;return(null===(t=e.plugin(o))||void 0===t?void 0:t.markers)||S7.empty},
initialSpacer:()=>new xoe(t,!1),
domEventHandlers:Object.assign(Object.assign({},a),{click:(e,t,n)=>{
if(a.click&&a.click(e,t,n))return!0;let r=foe(e.state,t.from,t.to)
;if(r)return e.dispatch({effects:poe.of(r)}),!0;let o=coe(e.state,t.from,t.to)
;return!!o&&(e.dispatch({effects:doe.of(o)}),!0)}})}),[hoe,Soe]]}
const Soe=qee.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 _oe{constructor(e,t){let n;function r(e){
let t=U7.newName();return(n||(n=Object.create(null)))["."+t]=e,t}this.specs=e
;const o="string"==typeof t.all?t.all:t.all?r(t.all):void 0,a=t.scope
;this.scope=a instanceof Are?e=>e.prop(Ere)==a.data:a?e=>e==a:void 0,
this.style=ire(e.map((e=>({tag:e.tag,class:e.class||r(Object.assign({},e,{
tag:null}))}))),{all:o
}).style,this.module=n?new U7(n):null,this.themeType=t.themeType}
static define(e,t){return new _oe(e,t||{})}}
const Eoe=P4.define(),Toe=P4.define({combine:e=>e.length?[e[0]]:null})
;function Coe(e){let t=e.facet(Eoe);return t.length?t:e.facet(Toe)}
function Aoe(e,t){let n,r=[Doe]
;return e instanceof _oe&&(e.module&&r.push(qee.styleModule.of(e.module)),
n=e.themeType),
(null==t?void 0:t.fallback)?r.push(Toe.of(e)):n?r.push(Eoe.computeN([qee.darkTheme],(t=>t.facet(qee.darkTheme)==("dark"==n)?[e]:[]))):r.push(Eoe.of(e)),
r}class Poe{constructor(e){
this.markCache=Object.create(null),this.tree=Rre(e.state),
this.decorations=this.buildDeco(e,Coe(e.state)),this.decoratedTo=e.viewport.to}
update(e){
let t=Rre(e.state),n=Coe(e.state),r=n!=Coe(e.startState),{viewport:o}=e.view,a=e.changes.mapPos(this.decoratedTo,1)
;t.length<o.to&&!r&&t.type==this.tree.type&&a>=o.to?(this.decorations=this.decorations.map(e.changes),
this.decoratedTo=a):(t!=this.tree||e.viewportChanged||r)&&(this.tree=t,
this.decorations=this.buildDeco(e.view,n),this.decoratedTo=o.to)}buildDeco(e,t){
if(!t||!this.tree.length)return G8.none;let n=new _7
;for(let{from:r,to:o}of e.visibleRanges)sre(this.tree,t,((e,t,r)=>{
n.add(e,t,this.markCache[r]||(this.markCache[r]=G8.mark({class:r})))}),r,o)
;return n.finish()}}const Doe=z4.high(V6.fromClass(Poe,{
decorations:e=>e.decorations})),Roe=_oe.define([{tag:Sre.meta,color:"#404740"},{
tag:Sre.link,textDecoration:"underline"},{tag:Sre.heading,
textDecoration:"underline",fontWeight:"bold"},{tag:Sre.emphasis,
fontStyle:"italic"},{tag:Sre.strong,fontWeight:"bold"},{tag:Sre.strikethrough,
textDecoration:"line-through"},{tag:Sre.keyword,color:"#708"},{
tag:[Sre.atom,Sre.bool,Sre.url,Sre.contentSeparator,Sre.labelName],color:"#219"
},{tag:[Sre.literal,Sre.inserted],color:"#164"},{tag:[Sre.string,Sre.deleted],
color:"#a11"},{tag:[Sre.regexp,Sre.escape,Sre.special(Sre.string)],color:"#e40"
},{tag:Sre.definition(Sre.variableName),color:"#00f"},{
tag:Sre.local(Sre.variableName),color:"#30a"},{tag:[Sre.typeName,Sre.namespace],
color:"#085"},{tag:Sre.className,color:"#167"},{
tag:[Sre.special(Sre.variableName),Sre.macroName],color:"#256"},{
tag:Sre.definition(Sre.propertyName),color:"#00c"},{tag:Sre.comment,color:"#940"
},{tag:Sre.invalid,color:"#f00"}]),$oe=qee.baseTheme({
"&.cm-focused .cm-matchingBracket":{backgroundColor:"#328c8252"},
"&.cm-focused .cm-nonmatchingBracket":{backgroundColor:"#bb555544"}
}),Noe="()[]{}",Moe=P4.define({combine:e=>y7(e,{afterCursor:!0,brackets:Noe,
maxScanDistance:1e4,renderMatch:joe})}),Ioe=G8.mark({class:"cm-matchingBracket"
}),Loe=G8.mark({class:"cm-nonmatchingBracket"});function joe(e){
let t=[],n=e.matched?Ioe:Loe
;return t.push(n.range(e.start.from,e.start.to)),e.end&&t.push(n.range(e.end.from,e.end.to)),
t}const Boe=[L4.define({create:()=>G8.none,update(e,t){
if(!t.docChanged&&!t.selection)return e;let n=[],r=t.state.facet(Moe)
;for(let o of t.state.selection.ranges){if(!o.empty)continue
;let e=qoe(t.state,o.head,-1,r)||o.head>0&&qoe(t.state,o.head-1,1,r)||r.afterCursor&&(qoe(t.state,o.head,1,r)||o.head<t.state.doc.length&&qoe(t.state,o.head+1,-1,r))
;e&&(n=n.concat(r.renderMatch(e,t.state)))}return G8.set(n,!0)},
provide:e=>qee.decorations.from(e)}),$oe];function Uoe(e={}){
return[Moe.of(e),Boe]}const Qoe=new cne;function Foe(e,t,n){
let r=e.prop(t<0?cne.openedBy:cne.closedBy);if(r)return r;if(1==e.name.length){
let r=n.indexOf(e.name);if(r>-1&&r%2==(t<0?1:0))return[n[r+t]]}return null}
function zoe(e){let t=e.type.prop(Qoe);return t?t(e.node):e}
function qoe(e,t,n,r={}){
let o=r.maxScanDistance||1e4,a=r.brackets||Noe,i=Rre(e),s=i.resolveInner(t,n)
;for(let l=s;l;l=l.parent){let r=Foe(l.type,n,a);if(r&&l.from<l.to){let o=zoe(l)
;if(o&&(n>0?t>=o.from&&t<o.to:t>o.from&&t<=o.to))return Hoe(e,t,n,l,o,r,a)}}
return function(e,t,n,r,o,a,i){
let s=n<0?e.sliceDoc(t-1,t):e.sliceDoc(t,t+1),l=i.indexOf(s)
;if(l<0||l%2==0!=n>0)return null;let c={from:n<0?t-1:t,to:n>0?t+1:t
},u=e.doc.iterRange(t,n>0?e.doc.length:0),d=0
;for(let p=0;!u.next().done&&p<=a;){let e=u.value;n<0&&(p+=e.length);let a=t+p*n
;for(let t=n>0?0:e.length-1,s=n>0?e.length:-1;t!=s;t+=n){let s=i.indexOf(e[t])
;if(!(s<0||r.resolveInner(a+t,1).type!=o))if(s%2==0==n>0)d++;else{
if(1==d)return{start:c,end:{from:a+t,to:a+t+1},matched:s>>1==l>>1};d--}}
n>0&&(p+=e.length)}return u.done?{start:c,matched:!1}:null}(e,t,n,i,s.type,o,a)}
function Hoe(e,t,n,r,o,a,i){let s=r.parent,l={from:o.from,to:o.to
},c=0,u=null==s?void 0:s.cursor()
;if(u&&(n<0?u.childBefore(r.from):u.childAfter(r.to)))do{
if(n<0?u.to<=r.from:u.from>=r.to){
if(0==c&&a.indexOf(u.type.name)>-1&&u.from<u.to){let e=zoe(u);return{start:l,
end:e?{from:e.from,to:e.to}:void 0,matched:!0}}
if(Foe(u.type,n,i))c++;else if(Foe(u.type,-n,i)){if(0==c){let e=zoe(u);return{
start:l,end:e&&e.from<e.to?{from:e.from,to:e.to}:void 0,matched:!1}}c--}}
}while(n<0?u.prevSibling():u.nextSibling());return{start:l,matched:!1}}
const Voe=Object.create(null),Zoe=[pne.none],Woe=[],Xoe=Object.create(null),Goe=Object.create(null)
;for(let[JPe,eDe]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"]])Goe[JPe]=Koe(Voe,eDe)
;function Yoe(e,t){Woe.indexOf(e)>-1||(Woe.push(e),console.warn(t))}
function Koe(e,t){let n=[];for(let s of t.split(" ")){let t=[]
;for(let n of s.split(".")){let r=e[n]||Sre[n]
;r?"function"==typeof r?t.length?t=t.map(r):Yoe(n,`Modifier ${n} used at start of tag`):t.length?Yoe(n,`Tag ${n} used as modifier`):t=Array.isArray(r)?r:[r]:Yoe(n,`Unknown highlighting tag ${n}`)
}for(let e of t)n.push(e)}if(!n.length)return 0
;let r=t.replace(/ /g,"_"),o=r+" "+n.map((e=>e.id)),a=Xoe[o];if(a)return a.id
;let i=Xoe[o]=pne.define({id:Zoe.length,name:r,props:[rre({[r]:n})]})
;return Zoe.push(i),i.id}l6.RTL,l6.LTR
;const Joe=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"]])
;const eae=new WeakMap;var tae=function(e){
return e.rgb="RGB",e.hex="HEX",e.named="NAMED",e.hsl="HSL",e}(tae||(tae={}))
;const nae=/rgb(?:a)?\(\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*,?\s*(\d{1,3}%?)\s*([,/]\s*0?\.?\d+%?)?\)/,rae=/hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*(,\s*0?\.\d+)?\)/,oae=/(^|\b)(#[0-9a-f]{3,9})(\b|$)/i
;function aae(e,t){const n=[],r=Rre(e.state)
;for(const o of e.visibleRanges)r.iterate({from:o.from,to:o.to,
enter:({type:o,from:a,to:i})=>{var s
;const l=t(r,a,i,o.name,e.state.doc,null===(s=e.state.facet(Qre))||void 0===s?void 0:s.name)
;if(l)if(Array.isArray(l))for(const e of l)n.push(G8.widget({widget:new pae(e),
side:1}).range(e.from));else n.push(G8.widget({widget:new pae(l),side:1
}).range(l.from))}});return G8.set(n)}function iae(e){let t;if(e.endsWith("%")){
const n=Number(e.slice(0,-1));t=Math.round(n/100*255)}else t=Number(e)
;return sae(t)}function sae(e){const t=e.toString(16)
;return 1===t.length?"0"+t:t}function lae(e){
const t=e.slice(1,3),n=e.slice(3,5),r=e.slice(5,7)
;return[parseInt(t,16),parseInt(n,16),parseInt(r,16)]}function cae(e){
return e<0?e+1:e>1?e-1:e}function uae(e,t,n){
return 6*n<1?t+6*(e-t)*n:2*n<1?e:3*n<2?t+(e-t)*(.666-n)*6:t}
const dae="cm-css-color-picker-wrapper";class pae extends W8{constructor(e){
var{color:t}=e,n=function(e,t){var n={}
;for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r])
;if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0
;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])
}return n}(e,["color"]);super(),this.state=n,this.color=t}eq(e){
return e.state.colorType===this.state.colorType&&e.color===this.color&&e.state.from===this.state.from&&e.state.to===this.state.to&&e.state.alpha===this.state.alpha
}toDOM(){const e=document.createElement("input")
;eae.set(e,this.state),e.type="color",e.value=this.color
;const t=document.createElement("span");return t.appendChild(e),t.className=dae,
t}ignoreEvent(){return!1}}const hae=qee.baseTheme({[`.${dae}`]:{
display:"inline-block",outline:"1px solid #eee",marginRight:"0.6ch",
height:"1em",width:"1em",transform:"translateY(1px)"},
[`.${dae} 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"}
}}),fae=e=>V6.fromClass(class{constructor(t){
this.decorations=aae(t,e.discoverColors)}update(t){
(t.docChanged||t.viewportChanged)&&(this.decorations=aae(t.view,e.discoverColors))
}},{decorations:e=>e.decorations,eventHandlers:{change:(e,t)=>{const n=e.target
;if("INPUT"!==n.nodeName||!n.parentElement||!n.parentElement.classList.contains(dae))return!1
;const r=eae.get(n);let o=n.value+r.alpha
;if(r.colorType===tae.rgb)o=`rgb(${lae(n.value).join(", ")}${r.alpha})`;else if(r.colorType===tae.named)for(const[a,i]of Joe.entries())i===n.value&&(o=a);else if(r.colorType===tae.hsl){
const[e,t,a]=lae(n.value),[i,s,l]=function(e,t,n){
const r=e/255,o=t/255,a=n/255,i=Math.min(r,o,a),s=Math.max(r,o,a),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===r?(o-a)/(s-i):o===s?2+(a-r)/(s-i):4+(r-o)/(s-i),
u=Math.round(60*u);u<0;)u+=360;return[u,c,l]}(e,t,a)
;o=`hsl(${i}, ${Math.round(100*s)}%, ${Math.round(100*l)}%${r.alpha})`}
return t.dispatch({changes:{from:r.from,to:r.to,insert:o}}),!0}}}),mae=[fae({
discoverColors:function e(t,n,r,o,a,i){var s;switch(o){case"AttributeValue":{
const r=t.resolveInner(n,0).tree;if(!r)return null
;const o=null===(s=r.prop(cne.mounted))||void 0===s?void 0:s.tree
;if("Styles"!==(null==o?void 0:o.type.name))return null;const i=[]
;return o.iterate({from:0,to:o.length,enter:({type:r,from:o,to:s})=>{
const l=e(t,n+1+o,n+1+s,r.name,a);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=nae.exec(e);if(!t)return null;const[n,r,o,a,i]=t,s=function(e,t,n){
return`#${iae(e)}${iae(t)}${iae(n)}`}(r,o,a);return{colorType:tae.rgb,color:s,
alpha:i||""}}case"hsl":{const t=rae.exec(e);if(!t)return null
;const[n,r,o,a,i]=t,s=function(e,t,n){
const r=Number(t)/100,o=Number(n)/100,[a,i,s]=function(e,t,n){if(0===t){
const e=Math.round(255*n);return[e,e,e]}let r;r=n<.5?n*(1+t):n+t-n*t
;const o=2*n-r,a=cae(.333+(e/=360)),i=e,s=cae(e-.333),l=uae(r,o,a),c=uae(r,o,i),u=uae(r,o,s)
;return[Math.round(255*l),Math.round(255*c),Math.round(255*u)]}(Number(e),r,o)
;return`#${sae(a)}${sae(i)}${sae(s)}`}(r,o,a);return{colorType:tae.hsl,color:s,
alpha:i||""}}default:return null}}(a.sliceString(n,r))
;return e?Object.assign(Object.assign({},e),{from:n,to:r}):null}
case"ColorLiteral":{const e=function(e){if(!oae.exec(e))return null
;const[t,n]=function(e){
if(4===e.length)return[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,""]
;if(5===e.length)return[`#${e[1].repeat(2)}${e[2].repeat(2)}${e[3].repeat(2)}`,e[4].repeat(2)]
;if(9===e.length)return[`#${e.slice(1,-2)}`,e.slice(-2)];return[e,""]}(e)
;return{colorType:tae.hex,color:t,alpha:n}}(a.sliceString(n,r))
;return e?Object.assign(Object.assign({},e),{from:n,to:r}):null}case"ValueName":
{const e=function(e){const t=Joe.get(e);if(!t)return null;return{
colorType:tae.named,color:t,alpha:""}}(a.sliceString(n,r))
;return e?Object.assign(Object.assign({},e),{from:n,to:r}):null}default:
return null}}}),hae];class gae{constructor(e,t,n,r){
this.state=e,this.pos=t,this.explicit=n,
this.view=r,this.abortListeners=[],this.abortOnDocChange=!1}tokenBefore(e){
let t=Rre(this.state).resolveInner(this.pos,-1)
;for(;t&&e.indexOf(t.name)<0;)t=t.parent;return t?{from:t.from,to:this.pos,
text:this.state.sliceDoc(t.from,this.pos),type:t.type}:null}matchBefore(e){
let t=this.state.doc.lineAt(this.pos),n=Math.max(t.from,this.pos-250),r=t.text.slice(n-t.from,this.pos-t.from),o=r.search(wae(e,!1))
;return o<0?null:{from:n+o,to:this.pos,text:r.slice(o)}}get aborted(){
return null==this.abortListeners}addEventListener(e,t,n){
"abort"==e&&this.abortListeners&&(this.abortListeners.push(t),
n&&n.onDocChange&&(this.abortOnDocChange=!0))}}function vae(e){
let t=Object.keys(e).join(""),n=/\w/.test(t)
;return n&&(t=t.replace(/\w/g,"")),`[${n?"\\w":""}${t.replace(/[^\w\s]/g,"\\$&")}]`
}function bae(e){let t=e.map((e=>"string"==typeof e?{label:e
}:e)),[n,r]=t.every((e=>/^\w+$/.test(e.label)))?[/\w*$/,/\w+$/]:function(e){
let t=Object.create(null),n=Object.create(null);for(let{label:o}of e){t[o[0]]=!0
;for(let e=1;e<o.length;e++)n[o[e]]=!0}let r=vae(t)+vae(n)+"*$"
;return[new RegExp("^"+r),new RegExp(r)]}(t);return e=>{let o=e.matchBefore(r)
;return o||e.explicit?{from:o?o.from:e.pos,options:t,validFor:n}:null}}
class yae{constructor(e,t,n,r){
this.completion=e,this.source=t,this.match=n,this.score=r}}function Oae(e){
return e.selection.main.from}function wae(e,t){var n
;let{source:r}=e,o=t&&"^"!=r[0],a="$"!=r[r.length-1]
;return o||a?new RegExp(`${o?"^":""}(?:${r})${a?"$":""}`,null!==(n=e.flags)&&void 0!==n?n:e.ignoreCase?"i":""):e
}const xae=r7.define();const kae=new WeakMap;function Sae(e){
if(!Array.isArray(e))return e;let t=kae.get(e);return t||kae.set(e,t=bae(e)),t}
const _ae=i7.define(),Eae=i7.define();class Tae{constructor(e){
this.pattern=e,this.chars=[],
this.folded=[],this.any=[],this.precise=[],this.byWord=[],
this.score=0,this.matched=[];for(let t=0;t<e.length;){let n=h4(e,t),r=m4(n)
;this.chars.push(n);let o=e.slice(t,t+r),a=o.toUpperCase()
;this.folded.push(h4(a==o?o.toLowerCase():a,0)),t+=r}
this.astral=e.length!=this.chars.length}ret(e,t){
return this.score=e,this.matched=t,this}match(e){
if(0==this.pattern.length)return this.ret(-100,[])
;if(e.length<this.pattern.length)return null
;let{chars:t,folded:n,any:r,precise:o,byWord:a}=this;if(1==t.length){
let r=h4(e,0),o=m4(r),a=o==e.length?0:-100;if(r==t[0]);else{
if(r!=n[0])return null;a+=-200}return this.ret(a,[0,o])}
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 o=0,a=Math.min(e.length,200);o<a&&l<s;){
let a=h4(e,o);a!=t[l]&&a!=n[l]||(r[l++]=o),o+=m4(a)}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 v=0,b=Math.min(e.length,200),y=0;v<b&&u<s;){let r=h4(e,v)
;i<0&&(c<s&&r==t[c]&&(o[c++]=v),
p<s&&(r==t[p]||r==n[p]?(0==p&&(h=v),f=v+1,p++):p=0))
;let l,b=r<255?r>=48&&r<=57||r>=97&&r<=122?2:r>=65&&r<=90?1:0:(l=f4(r))!=l.toLowerCase()?1:l!=l.toUpperCase()?2:0
;(!v||1==b&&m||0==y&&0!=b)&&(t[u]==r||n[u]==r&&(d=!0)?a[u++]=v:a.length&&(g=!1)),
y=b,v+=m4(r)}
return u==s&&0==a[0]&&g?this.result((d?-200:0)-100,a,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),a,e):2==t.length?null:this.result((r[0]?-700:0)-200-1100,r,e)
}result(e,t,n){let r=[],o=0;for(let a of t){let e=a+(this.astral?m4(h4(n,a)):1)
;o&&r[o-1]==a?r[o-1]=e:(r[o++]=a,r[o++]=e)}return this.ret(e-n.length,r)}}
class Cae{constructor(e){
this.pattern=e,this.matched=[],this.score=0,this.folded=e.toLowerCase()}
match(e){if(e.length<this.pattern.length)return null
;let t=e.slice(0,this.pattern.length),n=t==this.pattern?0:t.toLowerCase()==this.folded?-200:null
;return null==n?null:(this.matched=[0,t.length],
this.score=n+(e.length==this.pattern.length?0:-100),this)}}const Aae=P4.define({
combine:e=>y7(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:Dae,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)=>n=>Pae(e(n),t(n)),
optionClass:(e,t)=>n=>Pae(e(n),t(n)),addToOptions:(e,t)=>e.concat(t),
filterStrict:(e,t)=>e||t})});function Pae(e,t){return e?t?e+" "+t:e:t}
function Dae(e,t,n,r,o,a){
let i,s,l=e.textDirection==l6.RTL,c=l,u=!1,d="top",p=t.left-o.left,h=o.right-t.right,f=r.right-r.left,m=r.bottom-r.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(o.top,Math.min(n.top,o.bottom-m))-t.top,
s=Math.min(400,c?p:h);else{u=!0,s=Math.min(400,(l?t.right:o.right-t.left)-30)
;let e=o.bottom-t.bottom
;e>=m||e>t.top?i=n.bottom-t.top:(d="bottom",i=t.bottom-n.top)}return{
style:`${d}: ${i/((t.bottom-t.top)/a.offsetHeight)}px; max-width: ${s/((t.right-t.left)/a.offsetWidth)}px`,
class:"cm-completionInfo-"+(u?l?"left-narrow":"right-narrow":c?"left":"right")}}
function Rae(e,t,n){if(e<=n)return{from:0,to:e};if(t<0&&(t=0),t<=e>>1){
let e=Math.floor(t/n);return{from:e*n,to:(e+1)*n}}let r=Math.floor((e-t)/n)
;return{from:e-(r+1)*n,to:e-r*n}}class $ae{constructor(e,t,n){
this.view=e,this.stateField=t,
this.applyCompletion=n,this.info=null,this.infoDestroy=null,this.placeInfoReq={
read:()=>this.measureInfo(),write:e=>this.placeInfo(e),key:this
},this.space=null,this.currentClass=""
;let r=e.state.field(t),{options:o,selected:a}=r.open,i=e.state.facet(Aae)
;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,n,r){
let o=document.createElement("span");o.className="cm-completionLabel"
;let a=e.displayLabel||e.label,i=0;for(let s=0;s<r.length;){
let e=r[s++],t=r[s++];e>i&&o.appendChild(document.createTextNode(a.slice(i,e)))
;let n=o.appendChild(document.createElement("span"))
;n.appendChild(document.createTextNode(a.slice(e,t))),
n.className="cm-completionMatchedText",i=t}
return i<a.length&&o.appendChild(document.createTextNode(a.slice(i))),o},
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=Rae(o.length,a,i.maxRenderedOptions),
this.dom=document.createElement("div"),
this.dom.className="cm-tooltip-autocomplete",
this.updateTooltipClass(e.state),this.dom.addEventListener("mousedown",(n=>{
let{options:r}=e.state.field(t).open
;for(let t,o=n.target;o&&o!=this.dom;o=o.parentNode)if("LI"==o.nodeName&&(t=/-(\d+)$/.exec(o.id))&&+t[1]<r.length)return this.applyCompletion(e,r[+t[1]]),
void n.preventDefault()})),this.dom.addEventListener("focusout",(t=>{
let n=e.state.field(this.stateField,!1)
;n&&n.tooltip&&e.state.facet(Aae).closeOnBlur&&t.relatedTarget!=e.contentDOM&&e.dispatch({
effects:Eae.of(null)})})),this.showOptions(o,r.id)}mount(){this.updateSel()}
showOptions(e,t){
this.list&&this.list.remove(),this.list=this.dom.appendChild(this.createListBox(e,t,this.range)),
this.list.addEventListener("scroll",(()=>{
this.info&&this.view.requestMeasure(this.placeInfoReq)}))}update(e){var t
;let n=e.state.field(this.stateField),r=e.startState.field(this.stateField)
;if(this.updateTooltipClass(e.state),n!=r){
let{options:o,selected:a,disabled:i}=n.open
;r.open&&r.open.options==o||(this.range=Rae(o.length,a,e.state.facet(Aae).maxRenderedOptions),
this.showOptions(o,n.id)),
this.updateSel(),i!=(null===(t=r.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=Rae(t.options.length,t.selected,this.view.state.facet(Aae).maxRenderedOptions),
this.showOptions(t.options,e.id)),this.updateSelectedOption(t.selected)){
this.destroyInfo();let{completion:n}=t.options[t.selected],{info:r}=n
;if(!r)return;let o="string"==typeof r?document.createTextNode(r):r(n)
;if(!o)return;"then"in o?o.then((t=>{
t&&this.view.state.field(this.stateField,!1)==e&&this.addInfoPane(t,n)
})).catch((e=>F6(this.view.state,e,"completion info"))):this.addInfoPane(o,n)}}
addInfoPane(e,t){this.destroyInfo()
;let n=this.info=document.createElement("div")
;if(n.className="cm-tooltip cm-completionInfo",
null!=e.nodeType)n.appendChild(e),this.infoDestroy=null;else{
let{dom:t,destroy:r}=e;n.appendChild(t),this.infoDestroy=r||null}
this.dom.appendChild(n),this.view.requestMeasure(this.placeInfoReq)}
updateSelectedOption(e){let t=null
;for(let n=this.list.firstChild,r=this.range.from;n;n=n.nextSibling,
r++)"LI"==n.nodeName&&n.id?r==e?n.hasAttribute("aria-selected")||(n.setAttribute("aria-selected","true"),
t=n):n.hasAttribute("aria-selected")&&n.removeAttribute("aria-selected"):r--
;return t&&function(e,t){
let n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=n.height/e.offsetHeight
;r.top<n.top?e.scrollTop-=(n.top-r.top)/o:r.bottom>n.bottom&&(e.scrollTop+=(r.bottom-n.bottom)/o)
}(this.list,t),t}measureInfo(){let e=this.dom.querySelector("[aria-selected]")
;if(!e||!this.info)return null
;let t=this.dom.getBoundingClientRect(),n=this.info.getBoundingClientRect(),r=e.getBoundingClientRect(),o=this.space
;if(!o){let e=this.dom.ownerDocument.defaultView||window;o={left:0,top:0,
right:e.innerWidth,bottom:e.innerHeight}}
return r.top>Math.min(o.bottom,t.bottom)-10||r.bottom<Math.max(o.top,t.top)+10?null:this.view.state.facet(Aae).positionInfo(this.view,t,r,n,o,this.dom)
}placeInfo(e){
this.info&&(e?(e.style&&(this.info.style.cssText=e.style),this.info.className="cm-tooltip cm-completionInfo "+(e.class||"")):this.info.style.cssText="top: -1e6px")
}createListBox(e,t,n){const r=document.createElement("ul")
;r.id=t,r.setAttribute("role","listbox"),r.setAttribute("aria-expanded","true"),
r.setAttribute("aria-label",this.view.state.phrase("Completions"));let o=null
;for(let a=n.from;a<n.to;a++){let{completion:i,match:s}=e[a],{section:l}=i
;if(l){let e="string"==typeof l?l:l.name
;if(e!=o&&(a>n.from||0==n.from))if(o=e,"string"!=typeof l&&l.header)r.appendChild(l.header(l));else{
r.appendChild(document.createElement("completion-section")).textContent=e}}
const c=r.appendChild(document.createElement("li"))
;c.id=t+"-"+a,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 n.from&&r.classList.add("cm-completionListIncompleteTop"),
n.to<e.length&&r.classList.add("cm-completionListIncompleteBottom"),r}
destroyInfo(){
this.info&&(this.infoDestroy&&this.infoDestroy(),this.info.remove(),
this.info=null)}destroy(){this.destroyInfo()}}function Nae(e,t){
return n=>new $ae(n,e,t)}function Mae(e){
return 100*(e.boost||0)+(e.apply?10:0)+(e.info?5:0)+(e.type?1:0)}class Iae{
constructor(e,t,n,r,o,a){
this.options=e,this.attrs=t,this.tooltip=n,this.timestamp=r,
this.selected=o,this.disabled=a}setSelected(e,t){
return e==this.selected||e>=this.options.length?this:new Iae(this.options,Uae(t,e),this.tooltip,this.timestamp,e,this.disabled)
}static build(e,t,n,r,o,a){
if(r&&!a&&e.some((e=>e.isPending)))return r.setDisabled();let i=function(e,t){
let n=[],r=null,o=e=>{n.push(e);let{section:t}=e.completion;if(t){r||(r=[])
;let e="string"==typeof t?t:t.name
;r.some((t=>t.name==e))||r.push("string"==typeof t?{name:e}:t)}},a=t.facet(Aae)
;for(let c of e)if(c.hasResult()){let e=c.result.getMatch
;if(!1===c.result.filter)for(let t of c.result.options)o(new yae(t,c.source,e?e(t):[],1e9-n.length));else{
let n,r=t.sliceDoc(c.from,c.to),i=a.filterStrict?new Cae(r):new Tae(r)
;for(let t of c.result.options)if(n=i.match(t.label)){
let r=t.displayLabel?e?e(t,n.matched):[]:n.matched
;o(new yae(t,c.source,r,n.score+(t.boost||0)))}}}if(r){
let e=Object.create(null),t=0,o=(e,t)=>{var n,r
;return(null!==(n=e.rank)&&void 0!==n?n:1e9)-(null!==(r=t.rank)&&void 0!==r?r:1e9)||(e.name<t.name?-1:1)
};for(let n of r.sort(o))t-=1e5,e[n.name]=t;for(let r of n){
let{section:t}=r.completion;t&&(r.score+=e["string"==typeof t?t:t.name])}}
let i=[],s=null,l=a.compareCompletions
;for(let c of n.sort(((e,t)=>t.score-e.score||l(e.completion,t.completion)))){
let e=c.completion
;!s||s.label!=e.label||s.detail!=e.detail||null!=s.type&&null!=e.type&&s.type!=e.type||s.apply!=e.apply||s.boost!=e.boost?i.push(c):Mae(c.completion)>Mae(s)&&(i[i.length-1]=c),
s=c.completion}return i}(e,t)
;if(!i.length)return r&&e.some((e=>e.isPending))?r.setDisabled():null
;let s=t.facet(Aae).selectOnOpen?0:-1;if(r&&r.selected!=s&&-1!=r.selected){
let e=r.options[r.selected].completion
;for(let t=0;t<i.length;t++)if(i[t].completion==e){s=t;break}}
return new Iae(i,Uae(n,s),{
pos:e.reduce(((e,t)=>t.hasResult()?Math.min(e,t.from):e),1e8),create:Xae,
above:o.aboveCursor},r?r.timestamp:Date.now(),s,!1)}map(e){
return new Iae(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 Iae(this.options,this.attrs,this.tooltip,this.timestamp,this.selected,!0)
}}class Lae{constructor(e,t,n){this.active=e,this.id=t,this.open=n}
static start(){
return new Lae(Qae,"cm-ac-"+Math.floor(2e6*Math.random()).toString(36),null)}
update(e){
let{state:t}=e,n=t.facet(Aae),r=(n.override||t.languageDataAt("autocomplete",Oae(t)).map(Sae)).map((t=>{
let r=this.active.find((e=>e.source==t))||new zae(t,this.active.some((e=>0!=e.state))?1:0)
;return r.update(e,n)}))
;r.length==this.active.length&&r.every(((e,t)=>e==this.active[t]))&&(r=this.active)
;let o=this.open,a=e.effects.some((e=>e.is(Hae)))
;o&&e.docChanged&&(o=o.map(e.changes)),
e.selection||r.some((t=>t.hasResult()&&e.changes.touchesRange(t.from,t.to)))||!function(e,t){
if(e==t)return!0;for(let n=0,r=0;;){for(;n<e.length&&!e[n].hasResult();)n++
;for(;r<t.length&&!t[r].hasResult();)r++;let o=n==e.length,a=r==t.length
;if(o||a)return o==a;if(e[n++].result!=t[r++].result)return!1}
}(r,this.active)||a?o=Iae.build(r,t,this.id,o,n,a):o&&o.disabled&&!r.some((e=>e.isPending))&&(o=null),
!o&&r.every((e=>!e.isPending))&&r.some((e=>e.hasResult()))&&(r=r.map((e=>e.hasResult()?new zae(e.source,0):e)))
;for(let i of e.effects)i.is(Vae)&&(o=o&&o.setSelected(i.value,this.id))
;return r==this.active&&o==this.open?this:new Lae(r,this.id,o)}get tooltip(){
return this.open?this.open.tooltip:null}get attrs(){
return this.open?this.open.attrs:this.active.length?jae:Bae}}const jae={
"aria-autocomplete":"list"},Bae={};function Uae(e,t){let n={
"aria-autocomplete":"list","aria-haspopup":"listbox","aria-controls":e}
;return t>-1&&(n["aria-activedescendant"]=e+"-"+t),n}const Qae=[]
;function Fae(e,t){if(e.isUserEvent("input.complete")){let n=e.annotation(xae)
;if(n&&t.activateOnCompletion(n))return 12}let n=e.isUserEvent("input.type")
;return n&&t.activateOnTyping?5:n?1:e.isUserEvent("delete.backward")?2:e.selection?8:e.docChanged?16:0
}class zae{constructor(e,t,n=!1){this.source=e,this.state=t,this.explicit=n}
hasResult(){return!1}get isPending(){return 1==this.state}update(e,t){
let n=Fae(e,t),r=this
;(8&n||16&n&&this.touches(e))&&(r=new zae(r.source,0)),4&n&&0==r.state&&(r=new zae(this.source,1)),
r=r.updateFor(e,n)
;for(let o of e.effects)if(o.is(_ae))r=new zae(r.source,1,o.value);else if(o.is(Eae))r=new zae(r.source,0);else if(o.is(Hae))for(let e of o.value)e.source==r.source&&(r=e)
;return r}updateFor(e,t){return this.map(e.changes)}map(e){return this}
touches(e){return e.changes.touchesRange(Oae(e.state))}}class qae extends zae{
constructor(e,t,n,r,o,a){
super(e,3,t),this.limit=n,this.result=r,this.from=o,this.to=a}hasResult(){
return!0}updateFor(e,t){var n;if(!(3&t))return this.map(e.changes)
;let r=this.result;r.map&&!e.changes.empty&&(r=r.map(r,e.changes))
;let o=e.changes.mapPos(this.from),a=e.changes.mapPos(this.to,1),i=Oae(e.state)
;if(i>a||!r||2&t&&(Oae(e.startState)==this.from||i<this.limit))return new zae(this.source,4&t?1:0)
;let s=e.changes.mapPos(this.limit);return function(e,t,n,r){if(!e)return!1
;let o=t.sliceDoc(n,r);return"function"==typeof e?e(o,n,r,t):wae(e,!0).test(o)
}(r.validFor,e.state,o,a)?new qae(this.source,this.explicit,s,r,o,a):r.update&&(r=r.update(r,o,a,new gae(e.state,i,!1)))?new qae(this.source,this.explicit,s,r,r.from,null!==(n=r.to)&&void 0!==n?n:Oae(e.state)):new zae(this.source,1,this.explicit)
}map(e){if(e.empty)return this
;return(this.result.map?this.result.map(this.result,e):this.result)?new qae(this.source,this.explicit,e.mapPos(this.limit),this.result,e.mapPos(this.from),e.mapPos(this.to,1)):new zae(this.source,0)
}touches(e){return e.changes.touchesRange(this.from,this.to)}}
const Hae=i7.define({map:(e,t)=>e.map((e=>e.map(t)))
}),Vae=i7.define(),Zae=L4.define({create:()=>Lae.start(),
update:(e,t)=>e.update(t),
provide:e=>[_te.from(e,(e=>e.tooltip)),qee.contentAttributes.from(e,(e=>e.attrs))]
});function Wae(e,t){const n=t.completion.apply||t.completion.label
;let r=e.state.field(Zae).active.find((e=>e.source==t.source))
;return r instanceof qae&&("string"==typeof n?e.dispatch(Object.assign(Object.assign({},function(e,t,n,r){
let{main:o}=e.selection,a=n-o.from,i=r-o.from
;return Object.assign(Object.assign({},e.changeByRange((s=>{
if(s!=o&&n!=r&&e.sliceDoc(s.from+a,s.from+i)!=e.sliceDoc(n,r))return{range:s}
;let l=e.toText(t);return{changes:{from:s.from+a,to:r==o.from?s.to:s.from+i,
insert:l},range:T4.cursor(s.from+a+l.length)}}))),{scrollIntoView:!0,
userEvent:"input.complete"})}(e.state,n,r.from,r.to)),{
annotations:xae.of(t.completion)})):n(e,t.completion,r.from,r.to),!0)}
const Xae=Nae(Zae,Wae);function Gae(e,t="option"){return n=>{
let r=n.state.field(Zae,!1)
;if(!r||!r.open||r.open.disabled||Date.now()-r.open.timestamp<n.state.facet(Aae).interactionDelay)return!1
;let o,a=1
;"page"==t&&(o=Rte(n,r.open.tooltip))&&(a=Math.max(2,Math.floor(o.dom.offsetHeight/o.dom.querySelector("li").offsetHeight)-1))
;let{length:i}=r.open.options,s=r.open.selected>-1?r.open.selected+a*(e?1:-1):e?0:i-1
;return s<0?s="page"==t?0:i-1:s>=i&&(s="page"==t?i-1:0),n.dispatch({
effects:Vae.of(s)}),!0}}const Yae=e=>!!e.state.field(Zae,!1)&&(e.dispatch({
effects:_ae.of(!0)}),!0);class Kae{constructor(e,t){
this.active=e,this.context=t,
this.time=Date.now(),this.updates=[],this.done=void 0}}
const Jae=V6.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(Zae).active)t.isPending&&this.startQuery(t)}
update(e){let t=e.state.field(Zae),n=e.state.facet(Aae)
;if(!e.selectionSet&&!e.docChanged&&e.startState.field(Zae)==t)return
;let r=e.transactions.some((e=>{let t=Fae(e,n)
;return 8&t||(e.selection||e.docChanged)&&!(3&t)}))
;for(let a=0;a<this.running.length;a++){let t=this.running[a]
;if(r||t.context.abortOnDocChange&&e.docChanged||t.updates.length+e.transactions.length>50&&Date.now()-t.time>1e3){
for(let e of t.context.abortListeners)try{e()}catch(pM){F6(this.view.state,pM)}
t.context.abortListeners=null,this.running.splice(a--,1)
}else t.updates.push(...e.transactions)}
this.debounceUpdate>-1&&clearTimeout(this.debounceUpdate),
e.transactions.some((e=>e.effects.some((e=>e.is(_ae)))))&&(this.pendingStart=!0)
;let o=this.pendingStart?50:n.activateOnTypingDelay
;if(this.debounceUpdate=t.active.some((e=>e.isPending&&!this.running.some((t=>t.active.source==e.source))))?setTimeout((()=>this.startUpdate()),o):-1,
0!=this.composing)for(let a of e.transactions)a.isUserEvent("input.type")?this.composing=2:2==this.composing&&a.selection&&(this.composing=3)
}startUpdate(){this.debounceUpdate=-1,this.pendingStart=!1
;let{state:e}=this.view,t=e.field(Zae)
;for(let n of t.active)n.isPending&&!this.running.some((e=>e.active.source==n.source))&&this.startQuery(n)
;this.running.length&&t.open&&t.open.disabled&&(this.debounceAccept=setTimeout((()=>this.accept()),this.view.state.facet(Aae).updateSyncTime))
}startQuery(e){
let{state:t}=this.view,n=Oae(t),r=new gae(t,n,e.explicit,this.view),o=new Kae(e,r)
;this.running.push(o),Promise.resolve(e.source(r)).then((e=>{
o.context.aborted||(o.done=e||null,this.scheduleAccept())}),(e=>{
this.view.dispatch({effects:Eae.of(null)}),F6(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(Aae).updateSyncTime))
}accept(){var e
;this.debounceAccept>-1&&clearTimeout(this.debounceAccept),this.debounceAccept=-1
;let t=[],n=this.view.state.facet(Aae),r=this.view.state.field(Zae)
;for(let o=0;o<this.running.length;o++){let a=this.running[o]
;if(void 0===a.done)continue;if(this.running.splice(o--,1),a.done){
let r=Oae(a.updates.length?a.updates[0].startState:this.view.state),o=Math.min(r,a.done.from+(a.active.explicit?0:1)),i=new qae(a.active.source,a.active.explicit,o,a.done,a.done.from,null!==(e=a.done.to)&&void 0!==e?e:r)
;for(let e of a.updates)i=i.update(e,n);if(i.hasResult()){t.push(i);continue}}
let i=r.active.find((e=>e.source==a.active.source))
;if(i&&i.isPending)if(null==a.done){let e=new zae(a.active.source,0)
;for(let t of a.updates)e=e.update(t,n);e.isPending||t.push(e)
}else this.startQuery(i)}
(t.length||r.open&&r.open.disabled)&&this.view.dispatch({effects:Hae.of(t)})}},{
eventHandlers:{blur(e){let t=this.view.state.field(Zae,!1)
;if(t&&t.tooltip&&this.view.state.facet(Aae).closeOnBlur){
let n=t.open&&Rte(this.view,t.open.tooltip)
;n&&n.dom.contains(e.relatedTarget)||setTimeout((()=>this.view.dispatch({
effects:Eae.of(null)})),10)}},compositionstart(){this.composing=1},
compositionend(){3==this.composing&&setTimeout((()=>this.view.dispatch({
effects:_ae.of(!1)})),20),this.composing=0}}
}),eie="object"==typeof navigator&&/Win/.test(navigator.platform),tie=z4.highest(qee.domEventHandlers({
keydown(e,t){let n=t.state.field(Zae,!1)
;if(!n||!n.open||n.open.disabled||n.open.selected<0||e.key.length>1||e.ctrlKey&&(!eie||!e.altKey)||e.metaKey)return!1
;let r=n.open.options[n.open.selected],o=n.active.find((e=>e.source==r.source)),a=r.completion.commitCharacters||o.result.commitCharacters
;return a&&a.indexOf(e.key)>-1&&Wae(t,r),!1}})),nie=qee.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 rie{constructor(e,t,n,r){
this.field=e,this.line=t,this.from=n,this.to=r}}class oie{constructor(e,t,n){
this.field=e,this.from=t,this.to=n}map(e){
let t=e.mapPos(this.from,-1,v4.TrackDel),n=e.mapPos(this.to,1,v4.TrackDel)
;return null==t||null==n?null:new oie(this.field,t,n)}}class aie{
constructor(e,t){this.lines=e,this.fieldPositions=t}instantiate(e,t){
let n=[],r=[t],o=e.doc.lineAt(t),a=/^\s*/.exec(o.text)[0]
;for(let i of this.lines){if(n.length){let n=a,o=/^\t*/.exec(i)[0].length
;for(let t=0;t<o;t++)n+=e.facet(qre);r.push(t+n.length-o),i=n+i.slice(o)}
n.push(i),t+=i.length+1}return{text:n,
ranges:this.fieldPositions.map((e=>new oie(e.field,r[e.line]+e.from,r[e.line]+e.to)))
}}static parse(e){let t,n=[],r=[],o=[];for(let a of e.split(/\r\n?|\n/)){
for(;t=/[#$]\{(?:(\d+)(?::([^}]*))?|((?:\\[{}]|[^}])*))\}/.exec(a);){
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<n.length;t++)(null!=e?n[t].seq==e:l&&n[t].name==l)&&(s=t)
;if(s<0){let t=0;for(;t<n.length&&(null==e||null!=n[t].seq&&n[t].seq<e);)t++
;n.splice(t,0,{seq:e,name:l}),s=t;for(let e of o)e.field>=s&&e.field++}
o.push(new rie(s,r.length,t.index,t.index+l.length)),
a=a.slice(0,t.index)+i+a.slice(t.index+t[0].length)}
a=a.replace(/\\([{}])/g,((e,t,n)=>{
for(let a of o)a.line==r.length&&a.from>n&&(a.from--,a.to--);return t
})),r.push(a)}return new aie(r,o)}}let iie=G8.widget({
widget:new class extends W8{toDOM(){let e=document.createElement("span")
;return e.className="cm-snippetFieldPosition",e}ignoreEvent(){return!1}}
}),sie=G8.mark({class:"cm-snippetField"});class lie{constructor(e,t){
this.ranges=e,
this.active=t,this.deco=G8.set(e.map((e=>(e.from==e.to?iie:sie).range(e.from,e.to))))
}map(e){let t=[];for(let n of this.ranges){let r=n.map(e);if(!r)return null
;t.push(r)}return new lie(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 cie=i7.define({map:(e,t)=>e&&e.map(t)}),uie=i7.define(),die=L4.define({
create:()=>null,update(e,t){for(let n of t.effects){if(n.is(cie))return n.value
;if(n.is(uie)&&e)return new lie(e.ranges,n.value)}
return e&&t.docChanged&&(e=e.map(t.changes)),
e&&t.selection&&!e.selectionInsideField(t.selection)&&(e=null),e},
provide:e=>qee.decorations.from(e,(e=>e?e.deco:G8.none))});function pie(e,t){
return T4.create(e.filter((e=>e.field==t)).map((e=>T4.range(e.from,e.to))))}
function hie(e){let t=aie.parse(e);return(e,n,r,o)=>{
let{text:a,ranges:i}=t.instantiate(e.state,r),s={changes:{from:r,to:o,
insert:n4.of(a)},scrollIntoView:!0,
annotations:n?[xae.of(n),s7.userEvent.of("input.complete")]:void 0}
;if(i.length&&(s.selection=pie(i,0)),i.some((e=>e.field>0))){
let t=new lie(i,0),n=s.effects=[cie.of(t)]
;void 0===e.state.field(die,!1)&&n.push(i7.appendConfig.of([die,vie,yie,nie]))}
e.dispatch(e.state.update(s))}}function fie(e){return({state:t,dispatch:n})=>{
let r=t.field(die,!1);if(!r||e<0&&0==r.active)return!1
;let o=r.active+e,a=e>0&&!r.ranges.some((t=>t.field==o+e));return n(t.update({
selection:pie(r.ranges,o),effects:cie.of(a?null:new lie(r.ranges,o)),
scrollIntoView:!0})),!0}}const mie=[{key:"Tab",run:fie(1),shift:fie(-1)},{
key:"Escape",run:({state:e,dispatch:t})=>!!e.field(die,!1)&&(t(e.update({
effects:cie.of(null)})),!0)}],gie=P4.define({combine:e=>e.length?e[0]:mie
}),vie=z4.highest(Kee.compute([gie],(e=>e.facet(gie))));function bie(e,t){
return Object.assign(Object.assign({},t),{apply:hie(e)})}
const yie=qee.domEventHandlers({mousedown(e,t){let n,r=t.state.field(die,!1)
;if(!r||null==(n=t.posAtCoords({x:e.clientX,y:e.clientY})))return!1
;let o=r.ranges.find((e=>e.from<=n&&e.to>=n))
;return!(!o||o.field==r.active)&&(t.dispatch({selection:pie(r.ranges,o.field),
effects:cie.of(r.ranges.some((e=>e.field>o.field))?new lie(r.ranges,o.field):null),
scrollIntoView:!0}),!0)}}),Oie={brackets:["(","[","{","'",'"'],before:")]}:;>",
stringPrefixes:[]},wie=i7.define({map(e,t){let n=t.mapPos(e,-1,v4.TrackAfter)
;return null==n?void 0:n}}),xie=new class extends O7{}
;xie.startSide=1,xie.endSide=-1;const kie=L4.define({create:()=>S7.empty,
update(e,t){if(e=e.map(t.changes),t.selection){
let n=t.state.doc.lineAt(t.selection.main.head);e=e.update({
filter:e=>e>=n.from&&e<=n.to})}for(let n of t.effects)n.is(wie)&&(e=e.update({
add:[xie.range(n.value,n.value+1)]}));return e}});const Sie="()[]{}<>"
;function _ie(e){
for(let t=0;t<Sie.length;t+=2)if(Sie.charCodeAt(t)==e)return Sie.charAt(t+1)
;return f4(e<128?e:e+1)}function Eie(e,t){
return e.languageDataAt("closeBrackets",t)[0]||Oie}
const Tie="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),Cie=qee.inputHandler.of(((e,t,n,r)=>{
if((Tie?e.composing:e.compositionStarted)||e.state.readOnly)return!1
;let o=e.state.selection.main
;if(r.length>2||2==r.length&&1==m4(h4(r,0))||t!=o.from||n!=o.to)return!1
;let a=function(e,t){
let n=Eie(e,e.selection.main.head),r=n.brackets||Oie.brackets;for(let o of r){
let a=_ie(h4(o,0))
;if(t==o)return a==o?Nie(e,o,r.indexOf(o+o+o)>-1,n):Rie(e,o,a,n.before||Oie.before)
;if(t==a&&Pie(e,e.selection.main.from))return $ie(e,o,a)}return null}(e.state,r)
;return!!a&&(e.dispatch(a),!0)})),Aie=[{key:"Backspace",
run:({state:e,dispatch:t})=>{if(e.readOnly)return!1
;let n=Eie(e,e.selection.main.head).brackets||Oie.brackets,r=null,o=e.changeByRange((t=>{
if(t.empty){let r=function(e,t){let n=e.sliceString(t-2,t)
;return m4(h4(n,0))==n.length?n:n.slice(1)}(e.doc,t.head)
;for(let o of n)if(o==r&&Die(e.doc,t.head)==_ie(h4(o,0)))return{changes:{
from:t.head-o.length,to:t.head+o.length},range:T4.cursor(t.head-o.length)}}
return{range:r=t}}));return r||t(e.update(o,{scrollIntoView:!0,
userEvent:"delete.backward"})),!r}}];function Pie(e,t){let n=!1
;return e.field(kie).between(0,e.doc.length,(e=>{e==t&&(n=!0)})),n}
function Die(e,t){let n=e.sliceString(t,t+2);return n.slice(0,m4(h4(n,0)))}
function Rie(e,t,n,r){let o=null,a=e.changeByRange((a=>{if(!a.empty)return{
changes:[{insert:t,from:a.from},{insert:n,from:a.to}],
effects:wie.of(a.to+t.length),range:T4.range(a.anchor+t.length,a.head+t.length)}
;let i=Die(e.doc,a.head);return!i||/\s/.test(i)||r.indexOf(i)>-1?{changes:{
insert:t+n,from:a.head},effects:wie.of(a.head+t.length),
range:T4.cursor(a.head+t.length)}:{range:o=a}}));return o?null:e.update(a,{
scrollIntoView:!0,userEvent:"input.type"})}function $ie(e,t,n){
let r=null,o=e.changeByRange((t=>t.empty&&Die(e.doc,t.head)==n?{changes:{
from:t.head,to:t.head+n.length,insert:n},range:T4.cursor(t.head+n.length)}:r={
range:t}));return r?null:e.update(o,{scrollIntoView:!0,userEvent:"input.type"})}
function Nie(e,t,n,r){
let o=r.stringPrefixes||Oie.stringPrefixes,a=null,i=e.changeByRange((r=>{
if(!r.empty)return{changes:[{insert:t,from:r.from},{insert:t,from:r.to}],
effects:wie.of(r.to+t.length),range:T4.range(r.anchor+t.length,r.head+t.length)}
;let i,s=r.head,l=Die(e.doc,s);if(l==t){if(Mie(e,s))return{changes:{insert:t+t,
from:s},effects:wie.of(s+t.length),range:T4.cursor(s+t.length)};if(Pie(e,s)){
let r=n&&e.sliceDoc(s,s+3*t.length)==t+t+t?t+t+t:t;return{changes:{from:s,
to:s+r.length,insert:r},range:T4.cursor(s+r.length)}}}else{
if(n&&e.sliceDoc(s-2*t.length,s)==t+t&&(i=Iie(e,s-2*t.length,o))>-1&&Mie(e,i))return{
changes:{insert:t+t+t+t,from:s},effects:wie.of(s+t.length),
range:T4.cursor(s+t.length)}
;if(e.charCategorizer(s)(l)!=f7.Word&&Iie(e,s,o)>-1&&!function(e,t,n,r){
let o=Rre(e).resolveInner(t,-1),a=r.reduce(((e,t)=>Math.max(e,t.length)),0)
;for(let i=0;i<5;i++){
let i=e.sliceDoc(o.from,Math.min(o.to,o.from+n.length+a)),s=i.indexOf(n)
;if(!s||s>-1&&r.indexOf(i.slice(0,s))>-1){let t=o.firstChild
;for(;t&&t.from==o.from&&t.to-t.from>n.length+s;){
if(e.sliceDoc(t.to-n.length,t.to)==n)return!1;t=t.firstChild}return!0}
let l=o.to==t&&o.parent;if(!l)break;o=l}return!1}(e,s,t,o))return{changes:{
insert:t+t,from:s},effects:wie.of(s+t.length),range:T4.cursor(s+t.length)}}
return{range:a=r}}));return a?null:e.update(i,{scrollIntoView:!0,
userEvent:"input.type"})}function Mie(e,t){let n=Rre(e).resolveInner(t+1)
;return n.parent&&n.from==t}function Iie(e,t,n){let r=e.charCategorizer(t)
;if(r(e.sliceDoc(t-1,t))!=f7.Word)return t;for(let o of n){let n=t-o.length
;if(e.sliceDoc(n,t)==o&&r(e.sliceDoc(n-1,n))!=f7.Word)return n}return-1}
const Lie=[{key:"Ctrl-Space",run:Yae},{mac:"Alt-`",run:Yae},{key:"Escape",
run:e=>{let t=e.state.field(Zae,!1)
;return!(!t||!t.active.some((e=>0!=e.state)))&&(e.dispatch({effects:Eae.of(null)
}),!0)}},{key:"ArrowDown",run:Gae(!0)},{key:"ArrowUp",run:Gae(!1)},{
key:"PageDown",run:Gae(!0,"page")},{key:"PageUp",run:Gae(!1,"page")},{
key:"Enter",run:e=>{let t=e.state.field(Zae,!1)
;return!(e.state.readOnly||!t||!t.open||t.open.selected<0||t.open.disabled||Date.now()-t.open.timestamp<e.state.facet(Aae).interactionDelay)&&Wae(e,t.open.options[t.open.selected])
}
}],jie=z4.highest(Kee.computeN([Aae],(e=>e.facet(Aae).defaultKeymap?[Lie]:[]))),Bie=({state:e,dispatch:t})=>(t(e.update(e.replaceSelection(e.lineBreak),{
scrollIntoView:!0,userEvent:"input"})),!0);function Uie(e,t){let n=-1
;return e.changeByRange((r=>{let o=[];for(let i=r.from;i<=r.to;){
let a=e.doc.lineAt(i);a.number>n&&(r.empty||r.to>a.from)&&(t(a,o,r),n=a.number),
i=a.to+1}let a=e.changes(o);return{changes:o,
range:T4.range(a.mapPos(r.anchor,1),a.mapPos(r.head,1))}}))}const Qie={
key:"Tab",run:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Uie(e,((t,n)=>{
n.push({from:t.from,insert:e.facet(qre)})})),{userEvent:"input.indent"})),!0),
shift:({state:e,dispatch:t})=>!e.readOnly&&(t(e.update(Uie(e,((t,n)=>{
let r=/^\s*/.exec(t.text)[0];if(!r)return
;let o=I7(r,e.tabSize),a=0,i=Vre(e,Math.max(0,o-Hre(e)))
;for(;a<r.length&&a<i.length&&r.charCodeAt(a)==i.charCodeAt(a);)a++;n.push({
from:t.from+a,to:t.from+r.length,insert:i.slice(a)})})),{
userEvent:"delete.dedent"})),!0)};class Fie{
constructor(e,t,n,r,o,a,i,s,l,c=0,u){
this.p=e,this.stack=t,this.state=n,this.reducePos=r,
this.pos=o,this.score=a,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,n=0){let r=e.parser.context
;return new Fie(e,[],t,n,n,0,[],0,r?new zie(r,r.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 n=e>>19,r=65535&e,{parser:o}=this.p,a=this.reducePos<this.pos-25
;a&&this.setLookAhead(this.pos);let i=o.dynamicPrecedence(r)
;if(i&&(this.score+=i),
0==n)return this.pushState(o.getGoto(this.state,r,!0),this.reducePos),
r<o.minRepeatTerm&&this.storeNode(r,this.reducePos,this.reducePos,a?8:4,!0),
void this.reduceContext(r,this.reducePos)
;let s=this.stack.length-3*(n-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[r])||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(r<o.minRepeatTerm||131072&e){
let e=o.stateFlag(this.state,1)?this.pos:this.reducePos
;this.storeNode(r,l,e,d+4,!0)}if(262144&e)this.state=this.stack[s];else{
let e=this.stack[s-3];this.state=o.getGoto(e,r,!0)}
for(;this.stack.length>s;)this.stack.pop();this.reduceContext(r,l)}
storeNode(e,t,n,r=4,o=!1){
if(0==e&&(!this.stack.length||this.stack[this.stack.length-1]<this.buffer.length+this.bufferBase)){
let e=this,r=this.buffer.length
;if(0==r&&e.parent&&(r=e.bufferBase-e.parent.bufferBase,
e=e.parent),r>0&&0==e.buffer[r-4]&&e.buffer[r-1]>-1){if(t==n)return
;if(e.buffer[r-2]>=t)return void(e.buffer[r-2]=n)}}if(o&&this.pos!=n){
let o=this.buffer.length;if(o>0&&0!=this.buffer[o-4]){let e=!1
;for(let t=o;t>0&&this.buffer[t-2]>n;t-=4)if(this.buffer[t-1]>=0){e=!0;break}
if(e)for(;o>0&&this.buffer[o-2]>n;)this.buffer[o]=this.buffer[o-4],
this.buffer[o+1]=this.buffer[o-3],
this.buffer[o+2]=this.buffer[o-2],this.buffer[o+3]=this.buffer[o-1],
o-=4,r>4&&(r-=4)}
this.buffer[o]=e,this.buffer[o+1]=t,this.buffer[o+2]=n,this.buffer[o+3]=r
}else this.buffer.push(e,t,n,r)}shift(e,t,n,r){
if(131072&e)this.pushState(65535&e,this.pos);else if(262144&e)this.pos=r,
this.shiftContext(t,n),t<=this.p.parser.maxNode&&this.buffer.push(t,n,r,4);else{
let o=e,{parser:a}=this.p
;(r>this.pos||t<=a.maxNode)&&(this.pos=r,a.stateFlag(o,1)||(this.reducePos=r)),
this.pushState(o,n),
this.shiftContext(t,n),t<=a.maxNode&&this.buffer.push(t,n,r,4)}}apply(e,t,n,r){
65536&e?this.reduce(e):this.shift(e,t,n,r)}useNode(e,t){
let n=this.p.reused.length-1;(n<0||this.p.reused[n]!=e)&&(this.p.reused.push(e),
n++);let r=this.pos
;this.reducePos=this.pos=r+e.length,this.pushState(t,r),this.buffer.push(n,r,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 n=e.buffer.slice(t),r=e.bufferBase+t;for(;e&&r==e.bufferBase;)e=e.parent
;return new Fie(this.p,this.stack.slice(),this.state,this.reducePos,this.pos,this.score,n,r,this.curContext,this.lookAhead,e)
}recoverByDelete(e,t){let n=e<=this.p.parser.maxNode
;n&&this.storeNode(e,this.pos,t,4),
this.storeNode(0,this.pos,t,n?8:4),this.pos=this.reducePos=t,this.score-=190}
canShift(e){for(let t=new qie(this);;){
let n=this.p.parser.stateSlot(t.state,4)||this.p.parser.hasAction(t.state,e)
;if(0==n)return!1;if(!(65536&n))return!0;t.reduce(n)}}recoverByInsert(e){
if(this.stack.length>=300)return[];let t=this.p.parser.nextStates(this.state)
;if(t.length>8||this.stack.length>=120){let n=[]
;for(let r,o=0;o<t.length;o+=2)(r=t[o+1])!=this.state&&this.p.parser.hasAction(r,e)&&n.push(t[o],r)
;if(this.stack.length<120)for(let e=0;n.length<8&&e<t.length;e+=2){let r=t[e+1]
;n.some(((e,t)=>1&t&&e==r))||n.push(t[e],r)}t=n}let n=[]
;for(let r=0;r<t.length&&n.length<4;r+=2){let e=t[r+1];if(e==this.state)continue
;let o=this.split()
;o.pushState(e,this.pos),o.storeNode(0,o.pos,o.pos,4,!0),o.shiftContext(t[r],this.pos),
o.reducePos=this.pos,o.score-=200,n.push(o)}return n}forceReduce(){
let{parser:e}=this.p,t=e.stateSlot(this.state,5);if(!(65536&t))return!1
;if(!e.validAction(this.state,t)){let n=t>>19,r=65535&t,o=this.stack.length-3*n
;if(o<0||e.getGoto(this.stack[o],r,!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=[],n=(r,o)=>{
if(!t.includes(r))return t.push(r),e.allActions(r,(t=>{
if(393216&t);else if(65536&t){let n=(t>>19)-o;if(n>1){
let r=65535&t,o=this.stack.length-3*n
;if(o>=0&&e.getGoto(this.stack[o],r,!1)>=0)return n<<19|65536|r}}else{
let e=n(t,o+1);if(null!=e)return e}}))};return n(this.state,0)}forceAll(){
for(;!this.p.parser.stateFlag(this.state,2);)if(!this.forceReduce()){
this.storeNode(0,this.pos,this.pos,4,!0);break}return this}get deadEnd(){
if(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 zie(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 zie{constructor(e,t){
this.tracker=e,this.context=t,this.hash=e.strict?e.hash(t):0}}class qie{
constructor(e){
this.start=e,this.state=e.state,this.stack=e.stack,this.base=this.stack.length}
reduce(e){let t=65535&e,n=e>>19
;0==n?(this.stack==this.start.stack&&(this.stack=this.stack.slice()),
this.stack.push(this.state,0,0),this.base+=3):this.base-=3*(n-1)
;let r=this.start.p.parser.getGoto(this.stack[this.base-3],t,!0);this.state=r}}
class Hie{constructor(e,t,n){
this.stack=e,this.pos=t,this.index=n,this.buffer=e.buffer,
0==this.index&&this.maybeNext()}static create(e,t=e.bufferBase+e.buffer.length){
return new Hie(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 Hie(this.stack,this.pos,this.index)}}function Vie(e,t=Uint16Array){
if("string"!=typeof e)return e;let n=null;for(let r=0,o=0;r<e.length;){let a=0
;for(;;){let t=e.charCodeAt(r++),n=!1;if(126==t){a=65535;break}
t>=92&&t--,t>=34&&t--;let o=t-32;if(o>=46&&(o-=46,n=!0),a+=o,n)break;a*=46}
n?n[o++]=a:n=new t(a)}return n}class Zie{constructor(){
this.start=-1,this.value=-1,
this.end=-1,this.extended=-1,this.lookAhead=0,this.mask=0,this.context=0}}
const Wie=new Zie;class Xie{constructor(e,t){
this.input=e,this.ranges=t,this.chunk="",
this.chunkOff=0,this.chunk2="",this.chunk2Pos=0,
this.next=-1,this.token=Wie,this.rangeIndex=0,
this.pos=this.chunkPos=t[0].from,this.range=t[0],
this.end=t[t.length-1].to,this.readNext()}resolveOffset(e,t){
let n=this.range,r=this.rangeIndex,o=this.pos+e;for(;o<n.from;){
if(!r)return null;let e=this.ranges[--r];o-=n.from-e.to,n=e}
for(;t<0?o>n.to:o>=n.to;){if(r==this.ranges.length-1)return null
;let e=this.ranges[++r];o+=e.from-n.to,n=e}return o}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,n,r=this.chunkOff+e
;if(r>=0&&r<this.chunk.length)t=this.pos+e,n=this.chunk.charCodeAt(r);else{
let r=this.resolveOffset(e,1);if(null==r)return-1
;if(t=r,t>=this.chunk2Pos&&t<this.chunk2Pos+this.chunk2.length)n=this.chunk2.charCodeAt(t-this.chunk2Pos);else{
let e=this.rangeIndex,r=this.range;for(;r.to<=t;)r=this.ranges[++e]
;this.chunk2=this.input.chunk(this.chunk2Pos=t),
t+this.chunk2.length>r.to&&(this.chunk2=this.chunk2.slice(0,r.to-t)),
n=this.chunk2.charCodeAt(0)}}
return t>=this.token.lookAhead&&(this.token.lookAhead=t+1),n}acceptToken(e,t=0){
let n=t?this.resolveOffset(t,-1):this.pos
;if(null==n||n<this.token.start)throw new RangeError("Token end out of bounds")
;this.token.value=e,this.token.end=n}acceptTokenTo(e,t){
this.token.value=e,this.token.end=t}getChunk(){
if(this.pos>=this.chunk2Pos&&this.pos<this.chunk2Pos+this.chunk2.length){
let{chunk:e,chunkPos:t}=this
;this.chunk=this.chunk2,this.chunkPos=this.chunk2Pos,
this.chunk2=e,this.chunk2Pos=t,this.chunkOff=this.pos-this.chunkPos}else{
this.chunk2=this.chunk,this.chunk2Pos=this.chunkPos
;let e=this.input.chunk(this.pos),t=this.pos+e.length
;this.chunk=t>this.range.to?e.slice(0,this.range.to-this.pos):e,
this.chunkPos=this.pos,this.chunkOff=0}}readNext(){
return this.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=Wie,this.pos!=e){
if(this.pos=e,e==this.end)return this.setDone(),this
;for(;e<this.range.from;)this.range=this.ranges[--this.rangeIndex]
;for(;e>=this.range.to;)this.range=this.ranges[++this.rangeIndex]
;e>=this.chunkPos&&e<this.chunkPos+this.chunk.length?this.chunkOff=e-this.chunkPos:(this.chunk="",
this.chunkOff=0),this.readNext()}return this}read(e,t){
if(e>=this.chunkPos&&t<=this.chunkPos+this.chunk.length)return this.chunk.slice(e-this.chunkPos,t-this.chunkPos)
;if(e>=this.chunk2Pos&&t<=this.chunk2Pos+this.chunk2.length)return this.chunk2.slice(e-this.chunk2Pos,t-this.chunk2Pos)
;if(e>=this.range.from&&t<=this.range.to)return this.input.read(e,t);let n=""
;for(let r of this.ranges){if(r.from>=t)break
;r.to>e&&(n+=this.input.read(Math.max(r.from,e),Math.min(r.to,t)))}return n}}
class Gie{constructor(e,t){this.data=e,this.id=t}token(e,t){let{parser:n}=t.p
;Jie(this.data,e,t,this.id,n.data,n.tokenPrecTable)}}
Gie.prototype.contextual=Gie.prototype.fallback=Gie.prototype.extend=!1
;class Yie{constructor(e,t,n){
this.precTable=t,this.elseToken=n,this.data="string"==typeof e?Vie(e):e}
token(e,t){let n=e.pos,r=0;for(;;){let n=e.next<0,o=e.resolveOffset(1,1)
;if(Jie(this.data,e,t,0,this.data,this.precTable),e.token.value>-1)break
;if(null==this.elseToken)return;if(n||r++,null==o)break;e.reset(o,e.token)}
r&&(e.reset(n,e.token),e.acceptToken(this.elseToken,r))}}
Yie.prototype.contextual=Gie.prototype.fallback=Gie.prototype.extend=!1
;class Kie{constructor(e,t={}){
this.token=e,this.contextual=!!t.contextual,this.fallback=!!t.fallback,
this.extend=!!t.extend}}function Jie(e,t,n,r,o,a){
let i=0,s=1<<r,{dialect:l}=n.p.parser;e:for(;s&e[i];){let n=e[i+1]
;for(let d=i+3;d<n;d+=2)if((e[d+1]&s)>0){let n=e[d]
;if(l.allows(n)&&(-1==t.token.value||t.token.value==n||tse(n,t.token.value,o,a))){
t.acceptToken(n);break}}let r=t.next,c=0,u=e[i+2]
;if(!(t.next<0&&u>c&&65535==e[n+3*u-3])){for(;c<u;){
let o=c+u>>1,a=n+o+(o<<1),s=e[a],l=e[a+1]||65536;if(r<s)u=o;else{if(!(r>=l)){
i=e[a+2],t.advance();continue e}c=o+1}}break}i=e[n+3*u-1]}}function ese(e,t,n){
for(let r,o=t;65535!=(r=e[o]);o++)if(r==n)return o-t;return-1}
function tse(e,t,n,r){let o=ese(n,r,t);return o<0||ese(n,r,e)<o}
const nse="undefined"!=typeof process&&process.env&&/\bparse\b/.test(process.env.LOG)
;let rse=null;function ose(e,t,n){let r=e.cursor(gne.IncludeAnonymous)
;for(r.moveTo(t);;)if(!(n<0?r.childBefore(t):r.childAfter(t)))for(;;){
if((n<0?r.to<t:r.from>t)&&!r.type.isError)return n<0?Math.max(0,Math.min(r.to-1,t-25)):Math.min(e.length,Math.max(r.from+1,t+25))
;if(n<0?r.prevSibling():r.nextSibling())break
;if(!r.parent())return n<0?0:e.length}}class ase{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?ose(e.tree,e.from+e.offset,1)-e.offset:e.from,
this.safeTo=e.openEnd?ose(e.tree,e.to+e.offset,-1)-e.offset:e.to;this.trees.length;)this.trees.pop(),
this.start.pop(),this.index.pop()
;this.trees.push(e.tree),this.start.push(-e.offset),
this.index.push(0),this.nextStart=this.safeFrom}else this.nextStart=1e9}
nodeAt(e){if(e<this.nextStart)return null
;for(;this.fragment&&this.safeTo<=e;)this.nextFragment()
;if(!this.fragment)return null;for(;;){let t=this.trees.length-1
;if(t<0)return this.nextFragment(),null;let n=this.trees[t],r=this.index[t]
;if(r==n.children.length){this.trees.pop(),this.start.pop(),this.index.pop()
;continue}let o=n.children[r],a=this.start[t]+n.positions[r]
;if(a>e)return this.nextStart=a,null;if(o instanceof bne){if(a==e){
if(a<this.safeFrom)return null;let e=a+o.length;if(e<=this.safeTo){
let t=o.prop(cne.lookAhead);if(!t||e+t<this.fragment.to)return o}}
this.index[t]++,
a+o.length>=Math.max(this.safeFrom,e)&&(this.trees.push(o),this.start.push(a),
this.index.push(0))}else this.index[t]++,this.nextStart=a+o.length}}}class ise{
constructor(e,t){
this.stream=t,this.tokens=[],this.mainToken=null,this.actions=[],
this.tokens=e.tokenizers.map((e=>new Zie))}getActions(e){
let t=0,n=null,{parser:r}=e.p,{tokenizers:o}=r,a=r.stateSlot(e.state,3),i=e.curContext?e.curContext.hash:0,s=0
;for(let l=0;l<o.length;l++){if(!(1<<l&a))continue;let r=o[l],c=this.tokens[l]
;if((!n||r.fallback)&&((r.contextual||c.start!=e.pos||c.mask!=a||c.context!=i)&&(this.updateCachedToken(c,r,e),
c.mask=a,
c.context=i),c.lookAhead>c.end+25&&(s=Math.max(c.lookAhead,s)),0!=c.value)){
let o=t
;if(c.extended>-1&&(t=this.addActions(e,c.extended,c.end,t)),t=this.addActions(e,c.value,c.end,t),
!r.extend&&(n=c,t>o))break}}for(;this.actions.length>t;)this.actions.pop()
;return s&&e.setLookAhead(s),
n||e.pos!=this.stream.end||(n=new Zie,n.value=e.p.parser.eofTerm,
n.start=n.end=e.pos,
t=this.addActions(e,n.value,n.end,t)),this.mainToken=n,this.actions}
getMainToken(e){if(this.mainToken)return this.mainToken
;let t=new Zie,{pos:n,p:r}=e
;return t.start=n,t.end=Math.min(n+1,r.stream.end),t.value=n==r.stream.end?r.parser.eofTerm:0,
t}updateCachedToken(e,t,n){let r=this.stream.clipPos(n.pos)
;if(t.token(this.stream.reset(r,e),n),e.value>-1){let{parser:t}=n.p
;for(let r=0;r<t.specialized.length;r++)if(t.specialized[r]==e.value){
let o=t.specializers[r](this.stream.read(e.start,e.end),n)
;if(o>=0&&n.p.parser.dialect.allows(o>>1)){1&o?e.extended=o>>1:e.value=o>>1
;break}}}else e.value=0,e.end=this.stream.clipPos(r+1)}putAction(e,t,n,r){
for(let o=0;o<r;o+=3)if(this.actions[o]==e)return r
;return this.actions[r++]=e,this.actions[r++]=t,this.actions[r++]=n,r}
addActions(e,t,n,r){let{state:o}=e,{parser:a}=e.p,{data:i}=a
;for(let s=0;s<2;s++)for(let e=a.stateSlot(o,s?2:1);;e+=3){if(65535==i[e]){
if(1!=i[e+1]){0==r&&2==i[e+1]&&(r=this.putAction(hse(i,e+2),t,n,r));break}
e=hse(i,e+2)}i[e]==t&&(r=this.putAction(hse(i,e+1),t,n,r))}return r}}class sse{
constructor(e,t,n,r){this.parser=e,this.input=t,this.ranges=r,this.recovering=0,
this.nextStackID=9812,
this.minStackPos=0,this.reused=[],this.stoppedAt=null,this.lastBigReductionStart=-1,
this.lastBigReductionSize=0,
this.bigReductionCount=0,this.stream=new Xie(t,r),this.tokens=new ise(e,this.stream),
this.topTerm=e.top[1];let{from:o}=r[0];this.stacks=[Fie.start(this,e.top[0],o)],
this.fragments=n.length&&this.stream.end-o>4*e.bufferLength?new ase(n,e.nodeSet):null
}get parsedPos(){return this.minStackPos}advance(){
let e,t,n=this.stacks,r=this.minStackPos,o=this.stacks=[]
;if(this.bigReductionCount>300&&1==n.length){let[e]=n
;for(;e.forceReduce()&&e.stack.length&&e.stack[e.stack.length-2]>=this.lastBigReductionStart;);
this.bigReductionCount=this.lastBigReductionSize=0}for(let a=0;a<n.length;a++){
let i=n[a];for(;;){if(this.tokens.mainToken=null,i.pos>r)o.push(i);else{
if(this.advanceStack(i,o,n))continue;{e||(e=[],t=[]),e.push(i)
;let n=this.tokens.getMainToken(i);t.push(n.value,n.end)}}break}}if(!o.length){
let t=e&&function(e){let t=null;for(let n of e){let e=n.p.stoppedAt
;(n.pos==n.p.stream.end||null!=e&&n.pos>e)&&n.p.parser.stateFlag(n.state,2)&&(!t||t.score<n.score)&&(t=n)
}return t}(e)
;if(t)return nse&&console.log("Finish with "+this.stackID(t)),this.stackToTree(t)
;if(this.parser.strict)throw nse&&e&&console.log("Stuck with token "+(this.tokens.mainToken?this.parser.getName(this.tokens.mainToken.value):"none")),
new SyntaxError("No parse at "+r);this.recovering||(this.recovering=5)}
if(this.recovering&&e){
let n=null!=this.stoppedAt&&e[0].pos>this.stoppedAt?e[0]:this.runRecovery(e,t,o)
;if(n)return nse&&console.log("Force-finish "+this.stackID(n)),
this.stackToTree(n.forceAll())}if(this.recovering){
let e=1==this.recovering?1:3*this.recovering
;if(o.length>e)for(o.sort(((e,t)=>t.score-e.score));o.length>e;)o.pop()
;o.some((e=>e.reducePos>r))&&this.recovering--}else if(o.length>1){
e:for(let e=0;e<o.length-1;e++){let t=o[e];for(let n=e+1;n<o.length;n++){
let r=o[n];if(t.sameState(r)||t.buffer.length>500&&r.buffer.length>500){
if(!((t.score-r.score||t.buffer.length-r.buffer.length)>0)){o.splice(e--,1)
;continue e}o.splice(n--,1)}}}o.length>12&&o.splice(12,o.length-12)}
this.minStackPos=o[0].pos
;for(let a=1;a<o.length;a++)o[a].pos<this.minStackPos&&(this.minStackPos=o[a].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,n){
let r=e.pos,{parser:o}=this,a=nse?this.stackID(e)+" -> ":""
;if(null!=this.stoppedAt&&r>this.stoppedAt)return e.forceReduce()?e:null
;if(this.fragments){
let t=e.curContext&&e.curContext.tracker.strict,n=t?e.curContext.hash:0
;for(let i=this.fragments.nodeAt(r);i;){
let r=this.parser.nodeSet.types[i.type.id]==i.type?o.getGoto(e.state,i.type.id):-1
;if(r>-1&&i.length&&(!t||(i.prop(cne.contextHash)||0)==n))return e.useNode(i,r),
nse&&console.log(a+this.stackID(e)+` (via reuse of ${o.getName(i.type.id)})`),!0
;if(!(i instanceof bne)||0==i.children.length||i.positions[0]>0)break
;let s=i.children[0];if(!(s instanceof bne&&0==i.positions[0]))break;i=s}}
let i=o.stateSlot(e.state,4)
;if(i>0)return e.reduce(i),nse&&console.log(a+this.stackID(e)+` (via always-reduce ${o.getName(65535&i)})`),
!0;if(e.stack.length>=8400)for(;e.stack.length>6e3&&e.forceReduce(););
let s=this.tokens.getActions(e);for(let l=0;l<s.length;){
let i=s[l++],c=s[l++],u=s[l++],d=l==s.length||!n,p=d?e:e.split(),h=this.tokens.mainToken
;if(p.apply(i,c,h?h.start:p.pos,u),
nse&&console.log(a+this.stackID(p)+` (via ${65536&i?`reduce of ${o.getName(65535&i)}`:"shift"} for ${o.getName(c)} @ ${r}${p==e?"":", split"})`),
d)return!0;p.pos>r?t.push(p):n.push(p)}return!1}advanceFully(e,t){let n=e.pos
;for(;;){if(!this.advanceStack(e,null,null))return!1;if(e.pos>n)return lse(e,t),
!0}}runRecovery(e,t,n){let r=null,o=!1;for(let a=0;a<e.length;a++){
let i=e[a],s=t[a<<1],l=t[1+(a<<1)],c=nse?this.stackID(i)+" -> ":""
;if(i.deadEnd){if(o)continue
;if(o=!0,i.restart(),nse&&console.log(c+this.stackID(i)+" (restarted)"),
this.advanceFully(i,n))continue}let u=i.split(),d=c
;for(let e=0;u.forceReduce()&&e<10;e++){
if(nse&&console.log(d+this.stackID(u)+" (via force-reduce)"),
this.advanceFully(u,n))break;nse&&(d=this.stackID(u)+" -> ")}
for(let e of i.recoverByInsert(s))nse&&console.log(c+this.stackID(e)+" (via recover-insert)"),
this.advanceFully(e,n)
;this.stream.end>i.pos?(l==i.pos&&(l++,s=0),i.recoverByDelete(s,l),
nse&&console.log(c+this.stackID(i)+` (via recover-delete ${this.parser.getName(s)})`),
lse(i,n)):(!r||r.score<i.score)&&(r=i)}return r}stackToTree(e){return e.close(),
bne.build({buffer:Hie.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=(rse||(rse=new WeakMap)).get(e)
;return t||rse.set(e,t=String.fromCodePoint(this.nextStackID++)),t+e}}
function lse(e,t){for(let n=0;n<t.length;n++){let r=t[n]
;if(r.pos==e.pos&&r.sameState(e))return void(t[n].score<e.score&&(t[n]=e))}
t.push(e)}class cse{constructor(e,t,n){
this.source=e,this.flags=t,this.disabled=n}allows(e){
return!this.disabled||0==this.disabled[e]}}const use=e=>e;class dse{
constructor(e){
this.start=e.start,this.shift=e.shift||use,this.reduce=e.reduce||use,
this.reuse=e.reuse||use,this.hash=e.hash||(()=>0),this.strict=!1!==e.strict}}
class pse extends jne{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 i=0;i<e.repeatNodeCount;i++)t.push("")
;let n=Object.keys(e.topRules).map((t=>e.topRules[t][1])),r=[]
;for(let i=0;i<t.length;i++)r.push([]);function o(e,t,n){
r[e].push([t,t.deserialize(String(n))])}
if(e.nodeProps)for(let i of e.nodeProps){let e=i[0]
;"string"==typeof e&&(e=cne[e]);for(let t=1;t<i.length;){let n=i[t++]
;if(n>=0)o(n,e,i[t++]);else{let r=i[t+-n];for(let a=-n;a>0;a--)o(i[t++],e,r);t++
}}}this.nodeSet=new hne(t.map(((t,o)=>pne.define({
name:o>=this.minRepeatTerm?void 0:t,id:o,props:r[o],top:n.indexOf(o)>-1,
error:0==o,skipped:e.skippedNodes&&e.skippedNodes.indexOf(o)>-1
})))),e.propSources&&(this.nodeSet=this.nodeSet.extend(...e.propSources)),
this.strict=!1,this.bufferLength=ine;let a=Vie(e.tokenData)
;this.context=e.context,
this.specializerSpecs=e.specialized||[],this.specialized=new Uint16Array(this.specializerSpecs.length)
;for(let i=0;i<this.specializerSpecs.length;i++)this.specialized[i]=this.specializerSpecs[i].term
;this.specializers=this.specializerSpecs.map(fse),
this.states=Vie(e.states,Uint32Array),
this.data=Vie(e.stateData),this.goto=Vie(e.goto),
this.maxTerm=e.maxTerm,this.tokenizers=e.tokenizers.map((e=>"number"==typeof e?new Gie(a,e):e)),
this.topRules=e.topRules,
this.dialects=e.dialects||{},this.dynamicPrecedences=e.dynamicPrecedences||null,
this.tokenPrecTable=e.tokenPrec,
this.termNames=e.termNames||null,this.maxNode=this.nodeSet.types.length-1,
this.dialect=this.parseDialect(),
this.top=this.topRules[Object.keys(this.topRules)[0]]}createParse(e,t,n){
let r=new sse(this,e,t,n);for(let o of this.wrappers)r=o(r,e,t,n);return r}
getGoto(e,t,n=!1){let r=this.goto;if(t>=r[0])return-1;for(let o=r[t+1];;){
let t=r[o++],a=1&t,i=r[o++];if(a&&n)return i
;for(let n=o+(t>>1);o<n;o++)if(r[o]==e)return i;if(a)return-1}}hasAction(e,t){
let n=this.data;for(let r=0;r<2;r++)for(let o,a=this.stateSlot(e,r?2:1);;a+=3){
if(65535==(o=n[a])){if(1!=n[a+1]){if(2==n[a+1])return hse(n,a+2);break}
o=n[a=hse(n,a+2)]}if(o==t||0==o)return hse(n,a+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 n=this.stateSlot(e,4),r=n?t(n):void 0
;for(let o=this.stateSlot(e,1);null==r;o+=3){if(65535==this.data[o]){
if(1!=this.data[o+1])break;o=hse(this.data,o+2)}r=t(hse(this.data,o+1))}return r
}nextStates(e){let t=[];for(let n=this.stateSlot(e,1);;n+=3){
if(65535==this.data[n]){if(1!=this.data[n+1])break;n=hse(this.data,n+2)}
if(!(1&this.data[n+2])){let e=this.data[n+1]
;t.some(((t,n)=>1&n&&t==e))||t.push(this.data[n],e)}}return t}configure(e){
let t=Object.assign(Object.create(pse.prototype),this)
;if(e.props&&(t.nodeSet=this.nodeSet.extend(...e.props)),e.top){
let n=this.topRules[e.top]
;if(!n)throw new RangeError(`Invalid top rule name ${e.top}`);t.top=n}
return e.tokenizers&&(t.tokenizers=this.tokenizers.map((t=>{
let n=e.tokenizers.find((e=>e.from==t));return n?n.to:t
}))),e.specializers&&(t.specializers=this.specializers.slice(),
t.specializerSpecs=this.specializerSpecs.map(((n,r)=>{
let o=e.specializers.find((e=>e.from==n.external));if(!o)return n
;let a=Object.assign(Object.assign({},n),{external:o.to})
;return t.specializers[r]=fse(a),a
}))),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),n=t.map((()=>!1))
;if(e)for(let o of e.split(" ")){let e=t.indexOf(o);e>=0&&(n[e]=!0)}let r=null
;for(let o=0;o<t.length;o++)if(!n[o])for(let e,n=this.dialects[t[o]];65535!=(e=this.data[n++]);)(r||(r=new Uint8Array(this.maxTerm+1)))[e]=1
;return new cse(e,n,r)}static deserialize(e){return new pse(e)}}
function hse(e,t){return e[t]|e[t+1]<<16}function fse(e){if(e.external){
let t=e.extend?1:0;return(n,r)=>e.external(n,r)<<1|t}return e.get}
const mse=[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 gse(e){return e>=65&&e<=90||e>=97&&e<=122||e>=161}function vse(e){
return e>=48&&e<=57}const bse=new Kie(((e,t)=>{for(let n=!1,r=0,o=0;;o++){
let{next:a}=e
;if(gse(a)||45==a||95==a||n&&vse(a))!n&&(45!=a||o>0)&&(n=!0),r===o&&45==a&&r++,
e.advance();else{if(92!=a||10==e.peek(1)){
n&&e.acceptToken(40==a?100:2==r&&t.canShift(2)?2:101);break}
e.advance(),e.next>-1&&e.advance(),n=!0}}})),yse=new Kie((e=>{
if(mse.includes(e.peek(-1))){let{next:t}=e
;(gse(t)||95==t||35==t||46==t||91==t||58==t&&gse(e.peek(1))||45==t||38==t)&&e.acceptToken(99)
}})),Ose=new Kie((e=>{if(!mse.includes(e.peek(-1))){let{next:t}=e
;if(37==t&&(e.advance(),e.acceptToken(1)),gse(t)){do{e.advance()
}while(gse(e.next)||vse(e.next));e.acceptToken(1)}}})),wse=rre({
"AtKeyword import charset namespace keyframes media supports":Sre.definitionKeyword,
"from to selector":Sre.keyword,NamespaceName:Sre.namespace,
KeyframeName:Sre.labelName,KeyframeRangeName:Sre.operatorKeyword,
TagName:Sre.tagName,ClassName:Sre.className,
PseudoClassName:Sre.constant(Sre.className),IdName:Sre.labelName,
"FeatureName PropertyName":Sre.propertyName,AttributeName:Sre.attributeName,
NumberLiteral:Sre.number,KeywordQuery:Sre.keyword,
UnaryQueryOp:Sre.operatorKeyword,"CallTag ValueName":Sre.atom,
VariableName:Sre.variableName,Callee:Sre.operatorKeyword,Unit:Sre.unit,
"UniversalSelector NestingSelector":Sre.definitionOperator,
MatchOp:Sre.compareOperator,"ChildOp SiblingOp, LogicOp":Sre.logicOperator,
BinOp:Sre.arithmeticOperator,Important:Sre.modifier,Comment:Sre.blockComment,
ColorLiteral:Sre.color,"ParenthesizedContent StringLiteral":Sre.string,
":":Sre.punctuation,"PseudoOp #":Sre.derefOperator,"; ,":Sre.separator,
"( )":Sre.paren,"[ ]":Sre.squareBracket,"{ }":Sre.brace}),xse={__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},kse={__proto__:null,"@import":118,"@media":142,
"@charset":146,"@namespace":150,"@keyframes":156,"@supports":168},Sse={
__proto__:null,not:132,only:132},_se=pse.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:[wse],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:[yse,Ose,bse,1,2,3,4,new Yie("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~",28,105)],
topRules:{StyleSheet:[0,4],Styles:[1,86]},specialized:[{term:100,
get:e=>xse[e]||-1},{term:58,get:e=>kse[e]||-1},{term:101,get:e=>Sse[e]||-1}],
tokenPrec:1200});let Ese=null;function Tse(){
if(!Ese&&"object"==typeof document&&document.body){
let{style:e}=document.body,t=[],n=new Set
;for(let r in e)"cssText"!=r&&"cssFloat"!=r&&"string"==typeof e[r]&&(/[A-Z]/.test(r)&&(r=r.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase()))),
n.has(r)||(t.push(r),n.add(r)));Ese=t.sort().map((e=>({type:"property",label:e,
apply:e+": "})))}return Ese||[]}
const Cse=["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
}))),Ase=["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
})))),Pse=["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
}))),Dse=["@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}))),Rse=/^(\w[\w-]*|-\w[\w-]*|)$/,$se=/^-(-[\w-]*)?$/
;const Nse=new Ine,Mse=["Declaration"];function Ise(e){for(let t=e;;){
if(t.type.isTop)return t;if(!(t=t.parent))return e}}function Lse(e,t,n){
if(t.to-t.from>4096){let r=Nse.get(t);if(r)return r
;let o=[],a=new Set,i=t.cursor(gne.IncludeAnonymous);if(i.firstChild())do{
for(let t of Lse(e,i.node,n))a.has(t.label)||(a.add(t.label),o.push(t))
}while(i.nextSibling());return Nse.set(t,o),o}{let r=[],o=new Set
;return t.cursor().iterate((t=>{var a
;if(n(t)&&t.matchContext(Mse)&&":"==(null===(a=t.node.nextSibling)||void 0===a?void 0:a.name)){
let n=e.sliceString(t.from,t.to);o.has(n)||(o.add(n),r.push({label:n,
type:"variable"}))}})),r}}const jse=(e=>t=>{
let{state:n,pos:r}=t,o=Rre(n).resolveInner(r,-1),a=o.type.isError&&o.from==o.to-1&&"-"==n.doc.sliceString(o.from,o.to)
;if("PropertyName"==o.name||(a||"TagName"==o.name)&&/^(Block|Styles)$/.test(o.resolve(o.to).name))return{
from:o.from,options:Tse(),validFor:Rse};if("ValueName"==o.name)return{
from:o.from,options:Ase,validFor:Rse};if("PseudoClassName"==o.name)return{
from:o.from,options:Cse,validFor:Rse};if(e(o)||(t.explicit||a)&&function(e,t){
var n
;if(("("==e.name||e.type.isError)&&(e=e.parent||e),"ArgList"!=e.name)return!1
;let r=null===(n=e.parent)||void 0===n?void 0:n.firstChild
;return"Callee"==(null==r?void 0:r.name)&&"var"==t.sliceString(r.from,r.to)
}(o,n.doc))return{from:e(o)||a?o.from:r,options:Lse(n.doc,Ise(o),e),validFor:$se
};if("TagName"==o.name){
for(let{parent:e}=o;e;e=e.parent)if("Block"==e.name)return{from:o.from,
options:Tse(),validFor:Rse};return{from:o.from,options:Pse,validFor:Rse}}
if("AtKeyword"==o.name)return{from:o.from,options:Dse,validFor:Rse}
;if(!t.explicit)return null;let i=o.resolve(r),s=i.childBefore(r)
;return s&&":"==s.name&&"PseudoClassSelector"==i.name?{from:r,options:Cse,
validFor:Rse}:s&&":"==s.name&&"Declaration"==i.name||"ArgList"==i.name?{from:r,
options:Ase,validFor:Rse}:"Block"==i.name||"Styles"==i.name?{from:r,
options:Tse(),validFor:Rse}:null})((e=>"VariableName"==e.name)),Bse=Dre.define({
name:"css",parser:_se.configure({props:[Xre.add({Declaration:roe()}),ioe.add({
"Block KeyframeList":soe})]}),languageData:{commentTokens:{block:{open:"/*",
close:"*/"}},indentOnInput:/^\s*\}$/,wordChars:"-"}});function Use(){
return new Fre(Bse,Bse.data.of({autocomplete:jse}))}
const Qse=20,Fse=22,zse=23,qse=24,Hse=26,Vse=27,Zse=28,Wse=31,Xse=34,Gse=37,Yse={
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},Kse={
dd:!0,li:!0,optgroup:!0,option:!0,p:!0,rp:!0,rt:!0,tbody:!0,td:!0,tfoot:!0,
th:!0,tr:!0},Jse={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 ele(e){return 9==e||10==e||13==e||32==e}
let tle=null,nle=null,rle=0;function ole(e,t){let n=e.pos+t
;if(rle==n&&nle==e)return tle;let r=e.peek(t);for(;ele(r);)r=e.peek(++t)
;let o=""
;for(;45==(a=r)||46==a||58==a||a>=65&&a<=90||95==a||a>=97&&a<=122||a>=161;)o+=String.fromCharCode(r),
r=e.peek(++t);var a
;return nle=e,rle=n,tle=o?o.toLowerCase():r==ale||r==ile?void 0:null}
const ale=63,ile=33;function sle(e,t){this.name=e,this.parent=t}
const lle=[6,10,7,8,9],cle=new dse({start:null,
shift:(e,t,n,r)=>lle.indexOf(t)>-1?new sle(ole(r,1)||"",e):e,
reduce:(e,t)=>t==Qse&&e?e.parent:e,reuse(e,t,n,r){let o=t.type.id
;return 6==o||36==o?new sle(ole(r,1)||"",e):e},strict:!1}),ule=new Kie(((e,t)=>{
if(60!=e.next)return void(e.next<0&&t.context&&e.acceptToken(57));e.advance()
;let n=47==e.next;n&&e.advance();let r=ole(e,0);if(void 0===r)return
;if(!r)return e.acceptToken(n?14:6);let o=t.context?t.context.name:null;if(n){
if(r==o)return e.acceptToken(11);if(o&&Kse[o])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==r)return;e.acceptToken(13)}else{
if("script"==r)return e.acceptToken(7);if("style"==r)return e.acceptToken(8)
;if("textarea"==r)return e.acceptToken(9)
;if(Yse.hasOwnProperty(r))return e.acceptToken(10)
;o&&Jse[o]&&Jse[o][r]?e.acceptToken(57,-1):e.acceptToken(6)}}),{contextual:!0
}),dle=new Kie((e=>{for(let t=0,n=0;;n++){if(e.next<0){n&&e.acceptToken(58)
;break}if(45==e.next)t++;else{if(62==e.next&&t>=2){n>=3&&e.acceptToken(58,-2)
;break}t=0}e.advance()}}));const ple=new Kie(((e,t)=>{
if(47==e.next&&62==e.peek(1)){let n=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(n?5:4,2)}else 62==e.next&&e.acceptToken(4,1)}))
;function hle(e,t,n){let r=2+e.length;return new Kie((o=>{
for(let a=0,i=0,s=0;;s++){if(o.next<0){s&&o.acceptToken(t);break}
if(0==a&&60==o.next||1==a&&47==o.next||a>=2&&a<r&&o.next==e.charCodeAt(a-2))a++,
i++;else if(2!=a&&a!=r||!ele(o.next)){if(a==r&&62==o.next){
s>i?o.acceptToken(t,-i):o.acceptToken(n,-(i-2));break}
if((10==o.next||13==o.next)&&s){o.acceptToken(t,1);break}a=i=0}else i++
;o.advance()}}))}
const fle=hle("script",54,1),mle=hle("style",55,2),gle=hle("textarea",56,3),vle=rre({
"Text RawText":Sre.content,
"StartTag StartCloseTag SelfClosingEndTag EndTag":Sre.angleBracket,
TagName:Sre.tagName,"MismatchedCloseTag/TagName":[Sre.tagName,Sre.invalid],
AttributeName:Sre.attributeName,
"AttributeValue UnquotedAttributeValue":Sre.attributeValue,
Is:Sre.definitionOperator,"EntityReference CharacterReference":Sre.character,
Comment:Sre.blockComment,ProcessingInst:Sre.processingInstruction,
DoctypeDecl:Sre.documentMeta}),ble=pse.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:cle,
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:[vle],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:[fle,mle,gle,ple,ule,dle,0,1,2,3,4,5],topRules:{Document:[0,15]},
dialects:{noMatch:0,selfClosing:509},tokenPrec:511});function yle(e,t){
let n=Object.create(null);for(let r of e.getChildren(zse)){
let e=r.getChild(qse),o=r.getChild(Hse)||r.getChild(Vse)
;e&&(n[t.read(e.from,e.to)]=o?o.type.id==Hse?t.read(o.from+1,o.to-1):t.read(o.from,o.to):"")
}return n}function Ole(e,t){let n=e.getChild(Fse)
;return n?t.read(n.from,n.to):" "}function wle(e,t,n){let r
;for(let o of n)if(!o.attrs||o.attrs(r||(r=yle(e.node.parent.firstChild,t))))return{
parser:o.parser};return null}function xle(e=[],t=[]){let n=[],r=[],o=[],a=[]
;for(let l of e){
("script"==l.tag?n:"style"==l.tag?r:"textarea"==l.tag?o:a).push(l)}
let i=t.length?Object.create(null):null
;for(let l of t)(i[l.name]||(i[l.name]=[])).push(l);return s=(e,t)=>{
let s=e.type.id;if(s==Zse)return wle(e,t,n);if(s==Wse)return wle(e,t,r)
;if(s==Xse)return wle(e,t,o);if(s==Qse&&a.length){
let n,r=e.node,o=r.firstChild,i=o&&Ole(o,t)
;if(i)for(let e of a)if(e.tag==i&&(!e.attrs||e.attrs(n||(n=yle(o,t))))){
let t=r.lastChild,n=t.type.id==Gse?t.from:r.to;if(n>o.to)return{parser:e.parser,
overlay:[{from:o.to,to:n}]}}}if(i&&s==zse){let n,r=e.node;if(n=r.firstChild){
let e=i[t.read(n.from,n.to)];if(e)for(let n of e){
if(n.tagName&&n.tagName!=Ole(r.parent,t))continue;let e=r.lastChild
;if(e.type.id==Hse){let t=e.from+1,r=e.lastChild,o=e.to-(r&&r.isError?0:1)
;if(o>t)return{parser:n.parser,overlay:[{from:t,to:o}]}
}else if(e.type.id==Vse)return{parser:n.parser,overlay:[{from:e.from,to:e.to}]}}
}}return null},(e,t,n,r)=>new qne(e,s,t,n,r);var s}
const kle=[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],Sle=new dse({
start:!1,shift:(e,t)=>5==t||6==t||315==t?e:316==t,strict:!1
}),_le=new Kie(((e,t)=>{let{next:n}=e
;(125==n||-1==n||t.context)&&e.acceptToken(313)}),{contextual:!0,fallback:!0
}),Ele=new Kie(((e,t)=>{let n,{next:r}=e
;kle.indexOf(r)>-1||(47!=r||47!=(n=e.peek(1))&&42!=n)&&(125==r||59==r||-1==r||t.context||e.acceptToken(312))
}),{contextual:!0}),Tle=new Kie(((e,t)=>{let{next:n}=e;if(43==n||45==n){
if(e.advance(),n==e.next){e.advance();let n=!t.context&&t.canShift(1)
;e.acceptToken(n?1:2)}
}else 63==n&&46==e.peek(1)&&(e.advance(),e.advance(),(e.next<48||e.next>57)&&e.acceptToken(3))
}),{contextual:!0});function Cle(e,t){
return e>=65&&e<=90||e>=97&&e<=122||95==e||e>=192||!t&&e>=48&&e<=57}
const Ale=new Kie(((e,t)=>{if(60!=e.next||!t.dialectEnabled(0))return
;if(e.advance(),47==e.next)return;let n=0
;for(;kle.indexOf(e.next)>-1;)e.advance(),n++;if(Cle(e.next,!0)){
for(e.advance(),n++;Cle(e.next,!1);)e.advance(),n++
;for(;kle.indexOf(e.next)>-1;)e.advance(),n++;if(44==e.next)return
;for(let t=0;;t++){if(7==t){if(!Cle(e.next,!0))return;break}
if(e.next!="extends".charCodeAt(t))break;e.advance(),n++}}e.acceptToken(4,-n)
})),Ple=rre({"get set async static":Sre.modifier,
"for while do if else switch try catch finally return throw break continue default case":Sre.controlKeyword,
"in of await yield void typeof delete instanceof":Sre.operatorKeyword,
"let var const using function class extends":Sre.definitionKeyword,
"import export from":Sre.moduleKeyword,"with debugger as new":Sre.keyword,
TemplateString:Sre.special(Sre.string),super:Sre.atom,BooleanLiteral:Sre.bool,
this:Sre.self,null:Sre.null,Star:Sre.modifier,VariableName:Sre.variableName,
"CallExpression/VariableName TaggedTemplateExpression/VariableName":Sre.function(Sre.variableName),
VariableDefinition:Sre.definition(Sre.variableName),Label:Sre.labelName,
PropertyName:Sre.propertyName,PrivatePropertyName:Sre.special(Sre.propertyName),
"CallExpression/MemberExpression/PropertyName":Sre.function(Sre.propertyName),
"FunctionDeclaration/VariableDefinition":Sre.function(Sre.definition(Sre.variableName)),
"ClassDeclaration/VariableDefinition":Sre.definition(Sre.className),
PropertyDefinition:Sre.definition(Sre.propertyName),
PrivatePropertyDefinition:Sre.definition(Sre.special(Sre.propertyName)),
UpdateOp:Sre.updateOperator,"LineComment Hashbang":Sre.lineComment,
BlockComment:Sre.blockComment,Number:Sre.number,String:Sre.string,
Escape:Sre.escape,ArithOp:Sre.arithmeticOperator,LogicOp:Sre.logicOperator,
BitOp:Sre.bitwiseOperator,CompareOp:Sre.compareOperator,RegExp:Sre.regexp,
Equals:Sre.definitionOperator,Arrow:Sre.function(Sre.punctuation),
": Spread":Sre.punctuation,"( )":Sre.paren,"[ ]":Sre.squareBracket,
"{ }":Sre.brace,"InterpolationStart InterpolationEnd":Sre.special(Sre.brace),
".":Sre.derefOperator,", ;":Sre.separator,"@":Sre.meta,TypeName:Sre.typeName,
TypeDefinition:Sre.definition(Sre.typeName),
"type enum interface implements namespace module declare":Sre.definitionKeyword,
"abstract global Privacy readonly override":Sre.modifier,
"is keyof unique infer":Sre.operatorKeyword,
JSXAttributeValue:Sre.attributeValue,JSXText:Sre.content,
"JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag":Sre.angleBracket,
"JSXIdentifier JSXNameSpacedName":Sre.tagName,
"JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName":Sre.attributeName,
"JSXBuiltin/JSXIdentifier":Sre.standard(Sre.tagName)}),Dle={__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
},Rle={__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},$le={__proto__:null,"<":187},Nle=pse.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!ka![!ka%f!ka!d!ka~PKPO!h(_O~O!d#vO#](`O(m'mO!Y(oXa(oX'u(oX~O!h(oX~PMlO!P%fO![%gO!y]O#f(eO#g(dO(O%eO~O!Y(fO!h(nX~O!h(hO~O!P%fO![%gO#g(dO(O%eO~OP(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~O!d#vO!h(bX~P! YOR(jO}(iO!i#xO#P$dO!y!xa!P!xa~O!u!xa%e!xa![!xa#f!xa#g!xa(O!xa~P!#ZO!u(nO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![XO!fuO!iZO!lYO!mYO!nYO!pvO!r!gO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~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(rO(QTO(TUO([$uO(t$}O(u%PO~O#h(tO~O!X(vO!h(fP~P%[O(`(xO(j[O~O!P(zO!i#xO(`(xO(j[O~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(O)XO(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:Sle,
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:[Ple],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:[Ele,Tle,Ale,2,3,4,5,6,7,8,9,10,11,12,13,14,_le,new Yie("$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 Yie("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=>Dle[e]||-1},{term:338,get:e=>Rle[e]||-1},{term:92,
get:e=>$le[e]||-1}],tokenPrec:14749
}),Mle=[bie("function ${name}(${params}) {\n\t${}\n}",{label:"function",
detail:"definition",type:"keyword"
}),bie("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}",{
label:"for",detail:"loop",type:"keyword"
}),bie("for (let ${name} of ${collection}) {\n\t${}\n}",{label:"for",
detail:"of loop",type:"keyword"}),bie("do {\n\t${}\n} while (${})",{label:"do",
detail:"loop",type:"keyword"}),bie("while (${}) {\n\t${}\n}",{label:"while",
detail:"loop",type:"keyword"
}),bie("try {\n\t${}\n} catch (${error}) {\n\t${}\n}",{label:"try",
detail:"/ catch block",type:"keyword"}),bie("if (${}) {\n\t${}\n}",{label:"if",
detail:"block",type:"keyword"}),bie("if (${}) {\n\t${}\n} else {\n\t${}\n}",{
label:"if",detail:"/ else block",type:"keyword"
}),bie("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}",{
label:"class",detail:"definition",type:"keyword"
}),bie('import {${names}} from "${module}"\n${}',{label:"import",detail:"named",
type:"keyword"}),bie('import ${name} from "${module}"\n${}',{label:"import",
detail:"default",type:"keyword"
})],Ile=Mle.concat([bie("interface ${name} {\n\t${}\n}",{label:"interface",
detail:"definition",type:"keyword"}),bie("type ${name} = ${type}",{label:"type",
detail:"definition",type:"keyword"}),bie("enum ${name} {\n\t${}\n}",{
label:"enum",detail:"definition",type:"keyword"
})]),Lle=new Ine,jle=new Set(["Script","Block","FunctionExpression","FunctionDeclaration","ArrowFunction","MethodDeclaration","ForStatement"])
;function Ble(e){return(t,n)=>{let r=t.node.getChild("VariableDefinition")
;return r&&n(r,e),!0}}const Ule=["FunctionDeclaration"],Qle={
FunctionDeclaration:Ble("function"),ClassDeclaration:Ble("class"),
ClassExpression:()=>!0,EnumDeclaration:Ble("constant"),
TypeAliasDeclaration:Ble("type"),NamespaceDeclaration:Ble("namespace"),
VariableDefinition(e,t){e.matchContext(Ule)||t(e,"variable")},
TypeDefinition(e,t){t(e,"type")},__proto__:null};function Fle(e,t){
let n=Lle.get(t);if(n)return n;let r=[],o=!0;function a(t,n){
let o=e.sliceString(t.from,t.to);r.push({label:o,type:n})}
return t.cursor(gne.IncludeAnonymous).iterate((t=>{if(o)o=!1;else if(t.name){
let e=Qle[t.name];if(e&&e(t,a)||jle.has(t.name))return!1
}else if(t.to-t.from>8192){for(let n of Fle(e,t.node))r.push(n);return!1}
})),Lle.set(t,r),r}
const zle=/^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,qle=["TemplateString","String","RegExp","LineComment","BlockComment","VariableDefinition","TypeDefinition","Label","PropertyDefinition","PropertyName","PrivatePropertyDefinition","PrivatePropertyName",".","?."]
;function Hle(e){let t=Rre(e.state).resolveInner(e.pos,-1)
;if(qle.indexOf(t.name)>-1)return null
;let n="VariableName"==t.name||t.to-t.from<20&&zle.test(e.state.sliceDoc(t.from,t.to))
;if(!n&&!e.explicit)return null;let r=[]
;for(let o=t;o;o=o.parent)jle.has(o.name)&&(r=r.concat(Fle(e.state.doc,o)))
;return{options:r,from:n?t.from:e.pos,validFor:zle}}const Vle=Dre.define({
name:"javascript",parser:Nle.configure({props:[Xre.add({IfStatement:roe({
except:/^\s*({|else\b)/}),TryStatement:roe({except:/^\s*({|catch\b|finally\b)/
}),LabeledStatement:e=>e.baseIndent,SwitchBody:e=>{
let t=e.textAfter,n=/^\s*\}/.test(t),r=/^\s*(case|default)\b/.test(t)
;return e.baseIndent+(n?0:r?1:2)*e.unit},Block:toe({closing:"}"}),
ArrowFunction:e=>e.baseIndent+e.unit,"TemplateString BlockComment":()=>null,
"Statement Property":roe({except:/^{/}),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}),ioe.add({
"Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType":soe,
BlockComment:e=>({from:e.from+2,to:e.to-2})})]}),languageData:{closeBrackets:{
brackets:["(","[","{","'",'"',"`"]},commentTokens:{line:"//",block:{open:"/*",
close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\}|<\/)$/,wordChars:"$"}
}),Zle={test:e=>/^JSX/.test(e.name),facet:Tre({commentTokens:{block:{open:"{/*",
close:"*/}"}}})},Wle=Vle.configure({dialect:"ts"
},"typescript"),Xle=Vle.configure({dialect:"jsx",
props:[Cre.add((e=>e.isTop?[Zle]:void 0))]}),Gle=Vle.configure({
dialect:"jsx ts",props:[Cre.add((e=>e.isTop?[Zle]:void 0))]},"typescript")
;let Yle=e=>({label:e,type:"keyword"})
;const Kle="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(Yle),Jle=Kle.concat(["declare","implements","private","protected","public"].map(Yle))
;function ece(e={}){
let t=e.jsx?e.typescript?Gle:Xle:e.typescript?Wle:Vle,n=e.typescript?Ile.concat(Jle):Mle.concat(Kle)
;return new Fre(t,[Vle.data.of({autocomplete:(r=qle,o=bae(n),e=>{
for(let t=Rre(e.state).resolveInner(e.pos,-1);t;t=t.parent){
if(r.indexOf(t.name)>-1)return null;if(t.type.isTop)break}return o(e)})
}),Vle.data.of({autocomplete:Hle}),e.jsx?rce:[]]);var r,o}
function tce(e,t,n=e.length){
for(let r=null==t?void 0:t.firstChild;r;r=r.nextSibling)if("JSXIdentifier"==r.name||"JSXBuiltin"==r.name||"JSXNamespacedName"==r.name||"JSXMemberExpression"==r.name)return e.sliceString(r.from,Math.min(r.to,n))
;return""}
const nce="object"==typeof navigator&&/Android\b/.test(navigator.userAgent),rce=qee.inputHandler.of(((e,t,n,r,o)=>{
if((nce?e.composing:e.compositionStarted)||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!Vle.isActiveAt(e.state,t,-1))return!1
;let a=o(),{state:i}=a,s=i.changeByRange((e=>{var t
;let n,{head:o}=e,a=Rre(i).resolveInner(o-1,-1)
;if("JSXStartTag"==a.name&&(a=a.parent),
i.doc.sliceString(o-1,o)!=r||"JSXAttributeValue"==a.name&&a.to>o);else{
if(">"==r&&"JSXFragmentTag"==a.name)return{range:e,changes:{from:o,insert:"</>"}
};if("/"==r&&"JSXStartCloseTag"==a.name){let e=a.parent,r=e.parent
;if(r&&e.from==o-2&&((n=tce(i.doc,r.firstChild,o))||"JSXFragmentTag"==(null===(t=r.firstChild)||void 0===t?void 0:t.name))){
let e=`${n}>`;return{range:T4.cursor(o+e.length,-1),changes:{from:o,insert:e}}}
}else if(">"==r){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}}(a)
;if(t&&"JSXOpenTag"==t.name&&!/^\/?>|^<\//.test(i.doc.sliceString(o,o+2))&&(n=tce(i.doc,t,o)))return{
range:e,changes:{from:o,insert:`</${n}>`}}}}return{range:e}}))
;return!s.changes.empty&&(e.dispatch([a,i.update(s,{userEvent:"input.complete",
scrollIntoView:!0})]),!0)
})),oce=["_blank","_self","_top","_parent"],ace=["ascii","utf-8","utf-16","latin1","latin1"],ice=["get","post","put","delete"],sce=["application/x-www-form-urlencoded","multipart/form-data","text/plain"],lce=["true","false"],cce={},uce={
a:{attrs:{href:null,ping:null,type:null,media:null,target:oce,hreflang:null}},
abbr:cce,address:cce,area:{attrs:{alt:null,coords:null,href:null,target:null,
ping:null,media:null,hreflang:null,type:null,
shape:["default","rect","circle","poly"]}},article:cce,aside:cce,audio:{attrs:{
src:null,mediagroup:null,crossorigin:["anonymous","use-credentials"],
preload:["none","metadata","auto"],autoplay:["autoplay"],loop:["loop"],
controls:["controls"]}},b:cce,base:{attrs:{href:null,target:oce}},bdi:cce,
bdo:cce,blockquote:{attrs:{cite:null}},body:cce,br:cce,button:{attrs:{form:null,
formaction:null,name:null,value:null,autofocus:["autofocus"],
disabled:["autofocus"],formenctype:sce,formmethod:ice,
formnovalidate:["novalidate"],formtarget:oce,type:["submit","reset","button"]}},
canvas:{attrs:{width:null,height:null}},caption:cce,center:cce,cite:cce,
code:cce,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:cce,del:{attrs:{cite:null,datetime:null}},
details:{attrs:{open:["open"]}},dfn:cce,div:cce,dl:cce,dt:cce,em:cce,embed:{
attrs:{src:null,type:null,width:null,height:null}},eventsource:{attrs:{src:null}
},fieldset:{attrs:{disabled:["disabled"],form:null,name:null}},figcaption:cce,
figure:cce,footer:cce,form:{attrs:{action:null,name:null,"accept-charset":ace,
autocomplete:["on","off"],enctype:sce,method:ice,novalidate:["novalidate"],
target:oce}},h1:cce,h2:cce,h3:cce,h4:cce,h5:cce,h6:cce,head:{
children:["title","base","link","style","meta","script","noscript","command"]},
header:cce,hgroup:cce,hr:cce,html:{attrs:{manifest:null}},i:cce,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:sce,formmethod:ice,formnovalidate:["novalidate"],formtarget:oce,
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:cce,keygen:{attrs:{challenge:null,
form:null,name:null,autofocus:["autofocus"],disabled:["disabled"],
keytype:["RSA"]}},label:{attrs:{for:null,form:null}},legend:cce,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:cce,menu:{attrs:{label:null,type:["list","context","toolbar"]}},meta:{
attrs:{content:null,charset:ace,
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:cce,noscript:cce,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:cce,param:{attrs:{name:null,value:null}},pre:cce,progress:{attrs:{
value:null,max:null}},q:{attrs:{cite:null}},rp:cce,rt:cce,ruby:cce,samp:cce,
script:{attrs:{type:["text/javascript"],src:null,async:["async"],
defer:["defer"],charset:ace}},section:cce,select:{attrs:{form:null,name:null,
size:null,autofocus:["autofocus"],disabled:["disabled"],multiple:["multiple"]}},
slot:{attrs:{name:null}},small:cce,source:{attrs:{src:null,type:null,media:null}
},span:cce,strong:cce,style:{attrs:{type:["text/css"],media:null,scoped:null}},
sub:cce,summary:cce,sup:cce,table:cce,tbody:cce,td:{attrs:{colspan:null,
rowspan:null,headers:null}},template:cce,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:cce,th:{attrs:{colspan:null,
rowspan:null,headers:null,scope:["row","col","rowgroup","colgroup"]}},thead:cce,
time:{attrs:{datetime:null}},title:cce,tr:cce,track:{attrs:{src:null,label:null,
default:null,kind:["subtitles","captions","descriptions","chapters","metadata"],
srclang:null}},ul:{children:["li","script","template","ul","ol"]},var:cce,
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:cce},dce={accesskey:null,class:null,contenteditable:lce,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:lce,autocorrect:lce,autocapitalize:lce,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":lce,
"aria-autocomplete":["inline","list","both","none"],"aria-busy":lce,
"aria-checked":["true","false","mixed","undefined"],"aria-controls":null,
"aria-describedby":null,"aria-disabled":lce,"aria-dropeffect":null,
"aria-expanded":["true","false","undefined"],"aria-flowto":null,
"aria-grabbed":["true","false","undefined"],"aria-haspopup":lce,
"aria-hidden":lce,"aria-invalid":["true","false","grammar","spelling"],
"aria-label":null,"aria-labelledby":null,"aria-level":null,
"aria-live":["off","polite","assertive"],"aria-multiline":lce,
"aria-multiselectable":lce,"aria-owns":null,"aria-posinset":null,
"aria-pressed":["true","false","mixed","undefined"],"aria-readonly":lce,
"aria-relevant":null,"aria-required":lce,
"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
},pce="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 JPe of pce)dce[JPe]=null;let hce=class{constructor(e,t){
this.tags=Object.assign(Object.assign({},uce),e),
this.globalAttrs=Object.assign(Object.assign({},dce),t),
this.allTags=Object.keys(this.tags),
this.globalAttrNames=Object.keys(this.globalAttrs)}}
;function fce(e,t,n=e.length){if(!t)return""
;let r=t.firstChild,o=r&&r.getChild("TagName")
;return o?e.sliceString(o.from,Math.min(o.to,n)):""}function mce(e,t=!1){
for(;e;e=e.parent)if("Element"==e.name){if(!t)return e;t=!1}return null}
function gce(e,t,n){let r=n.tags[fce(e,mce(t))]
;return(null==r?void 0:r.children)||n.allTags}function vce(e,t){let n=[]
;for(let r=mce(t);r&&!r.type.isTop;r=mce(r.parent)){let o=fce(e,r)
;if(o&&"CloseTag"==r.lastChild.name)break
;o&&n.indexOf(o)<0&&("EndTag"==t.name||t.from>=r.firstChild.to)&&n.push(o)}
return n}hce.default=new hce;const bce=/^[:\-\.\w\u00b7-\uffff]*$/
;function yce(e,t,n,r,o){let a=/\s*>/.test(e.sliceDoc(o,o+5))?"":">",i=mce(n,!0)
;return{from:r,to:o,options:gce(e.doc,i,t).map((e=>({label:e,type:"type"
}))).concat(vce(e.doc,n).map(((e,t)=>({label:"/"+e,apply:"/"+e+a,type:"type",
boost:99-t})))),validFor:/^\/?[:\-\.\w\u00b7-\uffff]*$/}}function Oce(e,t,n,r){
let o=/\s*>/.test(e.sliceDoc(r,r+5))?"":">";return{from:n,to:r,
options:vce(e.doc,t).map(((e,t)=>({label:e,apply:e+o,type:"type",boost:99-t}))),
validFor:bce}}function wce(e,t){
let{state:n,pos:r}=t,o=Rre(n).resolveInner(r,-1),a=o.resolve(r)
;for(let i,s=r;a==o&&(i=o.childBefore(s));){let e=i.lastChild
;if(!e||!e.type.isError||e.from<e.to)break;a=o=i,s=e.from}
return"TagName"==o.name?o.parent&&/CloseTag$/.test(o.parent.name)?Oce(n,o,o.from,r):yce(n,e,o,o.from,r):"StartTag"==o.name?yce(n,e,o,r,r):"StartCloseTag"==o.name||"IncompleteCloseTag"==o.name?Oce(n,o,r,r):"OpenTag"==o.name||"SelfClosingTag"==o.name||"AttributeName"==o.name?function(e,t,n,r,o){
let a=mce(n),i=a?t.tags[fce(e.doc,a)]:null,s=i&&i.attrs?Object.keys(i.attrs):[]
;return{from:r,to:o,
options:(i&&!1===i.globalAttrs?s:s.length?s.concat(t.globalAttrNames):t.globalAttrNames).map((e=>({
label:e,type:"property"}))),validFor:bce}
}(n,e,o,"AttributeName"==o.name?o.from:r,r):"Is"==o.name||"AttributeValue"==o.name||"UnquotedAttributeValue"==o.name?function(e,t,n,r,o){
var a
;let i,s=null===(a=n.parent)||void 0===a?void 0:a.getChild("AttributeName"),l=[]
;if(s){let a=e.sliceDoc(s.from,s.to),c=t.globalAttrs[a];if(!c){
let r=mce(n),o=r?t.tags[fce(e.doc,r)]:null
;c=(null==o?void 0:o.attrs)&&o.attrs[a]}if(c){
let t=e.sliceDoc(r,o).toLowerCase(),n='"',a='"'
;/^['"]/.test(t)?(i='"'==t[0]?/^[^"]*$/:/^[^']*$/,
n="",a=e.sliceDoc(o,o+1)==t[0]?"":t[0],t=t.slice(1),r++):i=/^[^\s<>='"]*$/
;for(let e of c)l.push({label:e,apply:n+e+a,type:"constant"})}}return{from:r,
to:o,options:l,validFor:i}
}(n,e,o,"Is"==o.name?r:o.from,r):!t.explicit||"Element"!=a.name&&"Text"!=a.name&&"Document"!=a.name?null:function(e,t,n,r){
let o=[],a=0;for(let i of gce(e.doc,n,t))o.push({label:"<"+i,type:"type"})
;for(let i of vce(e.doc,n))o.push({label:"</"+i+">",type:"type",boost:99-a++})
;return{from:r,to:r,options:o,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}
}(n,e,o,r)}function xce(e){
let{extraTags:t,extraGlobalAttributes:n}=e,r=n||t?new hce(t,n):hce.default
;return e=>wce(r,e)}const kce=Vle.parser.configure({top:"SingleExpression"
}),Sce=[{tag:"script",attrs:e=>"text/typescript"==e.type||"ts"==e.lang,
parser:Wle.parser},{tag:"script",
attrs:e=>"text/babel"==e.type||"text/jsx"==e.type,parser:Xle.parser},{
tag:"script",attrs:e=>"text/typescript-jsx"==e.type,parser:Gle.parser},{
tag:"script",
attrs:e=>/^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),
parser:kce},{tag:"script",
attrs:e=>!e.type||/^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),
parser:Vle.parser},{tag:"style",
attrs:e=>(!e.lang||"css"==e.lang)&&(!e.type||/^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),
parser:Bse.parser}],_ce=[{name:"style",parser:Bse.parser.configure({top:"Styles"
})}].concat(pce.map((e=>({name:e,parser:Vle.parser})))),Ece=Dre.define({
name:"html",parser:ble.configure({props:[Xre.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,n=null;for(let r=e.node;;){let e=r.lastChild
;if(!e||"Element"!=e.name||e.to!=r.to)break;n=r=e}
return n&&(!(t=n.lastChild)||"CloseTag"!=t.name&&"SelfClosingTag"!=t.name)?e.lineIndent(n.from)+e.unit:null
}}),ioe.add({Element(e){let t=e.firstChild,n=e.lastChild
;return t&&"OpenTag"==t.name?{from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}
}),Qoe.add({"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{
commentTokens:{block:{open:"\x3c!--",close:"--\x3e"}},
indentOnInput:/^\s*<\/\w+\W$/,wordChars:"-._"}}),Tce=Ece.configure({
wrap:xle(Sce,_ce)})
;const Cce=new Set("area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" ")),Ace=qee.inputHandler.of(((e,t,n,r,o)=>{
if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!Tce.isActiveAt(e.state,t,-1))return!1
;let a=o(),{state:i}=a,s=i.changeByRange((e=>{var t,n,o
;let a,s=i.doc.sliceString(e.from-1,e.to)==r,{head:l}=e,c=Rre(i).resolveInner(l,-1)
;if(s&&">"==r&&"EndTag"==c.name){let r=c.parent
;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(a=fce(i.doc,r.parent,l))&&!Cce.has(a)){
return{range:e,changes:{from:l,to:l+(">"===i.doc.sliceString(l,l+1)?1:0),
insert:`</${a}>`}}}}else if(s&&"/"==r&&"IncompleteCloseTag"==c.name){
let e=c.parent
;if(c.from==l-2&&"CloseTag"!=(null===(o=e.lastChild)||void 0===o?void 0:o.name)&&(a=fce(i.doc,e,l))&&!Cce.has(a)){
let e=l+(">"===i.doc.sliceString(l,l+1)?1:0),t=`${a}>`;return{
range:T4.cursor(l+t.length,-1),changes:{from:l,to:e,insert:t}}}}return{range:e}
}));return!s.changes.empty&&(e.dispatch([a,i.update(s,{
userEvent:"input.complete",scrollIntoView:!0})]),!0)})),Pce=rre({
String:Sre.string,Number:Sre.number,"True False":Sre.bool,
PropertyName:Sre.propertyName,Null:Sre.null,",":Sre.separator,
"[ ]":Sre.squareBracket,"{ }":Sre.brace}),Dce=pse.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:[Pce],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}),Rce=Dre.define({
name:"json",parser:Dce.configure({props:[Xre.add({Object:roe({except:/^\s*\}/}),
Array:roe({except:/^\s*\]/})}),ioe.add({"Object Array":soe})]}),languageData:{
closeBrackets:{brackets:["[","{",'"']},indentOnInput:/^\s*[\}\]]$/}})
;function $ce(e){
return 45==e||46==e||58==e||e>=65&&e<=90||95==e||e>=97&&e<=122||e>=161}
let Nce=null,Mce=null,Ice=0;function Lce(e,t){let n=e.pos+t
;if(Mce==e&&Ice==n)return Nce;for(;9==(r=e.peek(t))||10==r||13==r||32==r;)t++
;var r;let o="";for(;;){let n=e.peek(t);if(!$ce(n))break
;o+=String.fromCharCode(n),t++}return Mce=e,Ice=n,Nce=o||null}function jce(e,t){
this.name=e,this.parent=t,this.hash=t?t.hash:0
;for(let n=0;n<e.length;n++)this.hash+=(this.hash<<4)+e.charCodeAt(n)+(e.charCodeAt(n)<<8)
}const Bce=new dse({start:null,shift:(e,t,n,r)=>1==t?new jce(Lce(r,1)||"",e):e,
reduce:(e,t)=>11==t&&e?e.parent:e,reuse(e,t,n,r){let o=t.type.id
;return 1==o||13==o?new jce(Lce(r,1)||"",e):e},hash:e=>e?e.hash:0,strict:!1
}),Uce=new Kie(((e,t)=>{if(60==e.next)if(e.advance(),47==e.next){e.advance()
;let n=Lce(e,0);if(!n)return e.acceptToken(5)
;if(t.context&&n==t.context.name)return e.acceptToken(2)
;for(let r=t.context;r;r=r.parent)if(r.name==n)return e.acceptToken(3,-2)
;e.acceptToken(4)}else if(33!=e.next&&63!=e.next)return e.acceptToken(1)}),{
contextual:!0});function Qce(e,t){return new Kie((n=>{let r=0,o=t.charCodeAt(0)
;e:for(;!(n.next<0);n.advance(),r++)if(n.next==o){
for(let e=1;e<t.length;e++)if(n.peek(e)!=t.charCodeAt(e))continue e;break}
r&&n.acceptToken(e)}))}
const Fce=Qce(35,"--\x3e"),zce=Qce(36,"?>"),qce=Qce(37,"]]>"),Hce=rre({
Text:Sre.content,
"StartTag StartCloseTag EndTag SelfCloseEndTag":Sre.angleBracket,
TagName:Sre.tagName,"MismatchedCloseTag/TagName":[Sre.tagName,Sre.invalid],
AttributeName:Sre.attributeName,AttributeValue:Sre.attributeValue,
Is:Sre.definitionOperator,"EntityReference CharacterReference":Sre.character,
Comment:Sre.blockComment,ProcessingInst:Sre.processingInstruction,
DoctypeDecl:Sre.documentMeta,Cdata:Sre.special(Sre.string)
}),Vce=pse.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:Bce,
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:[Hce],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:[Uce,Fce,zce,qce,0,1,2,3],topRules:{Document:[0,6]},tokenPrec:0})
;function Zce(e,t){let n=t&&t.getChild("TagName")
;return n?e.sliceString(n.from,n.to):""}function Wce(e,t){let n=t&&t.firstChild
;return n&&"OpenTag"==n.name?Zce(e,n):""}function Xce(e){
for(let t=e&&e.parent;t;t=t.parent)if("Element"==t.name)return t;return null}
let Gce=class{constructor(e,t,n){
this.attrs=t,this.attrValues=n,this.children=[],
this.name=e.name,this.completion=Object.assign(Object.assign({type:"type"
},e.completion||{}),{label:this.name
}),this.openCompletion=Object.assign(Object.assign({},this.completion),{
label:"<"+this.name
}),this.closeCompletion=Object.assign(Object.assign({},this.completion),{
label:"</"+this.name+">",boost:2
}),this.closeNameCompletion=Object.assign(Object.assign({},this.completion),{
label:this.name+">"}),this.text=e.textContent?e.textContent.map((e=>({label:e,
type:"text"}))):[]}};const Yce=/^[:\-\.\w\u00b7-\uffff]*$/;function Kce(e){
return Object.assign(Object.assign({type:"property"},e.completion||{}),{
label:e.name})}function Jce(e){return"string"==typeof e?{label:`"${e}"`,
type:"constant"}:/^"/.test(e.label)?e:Object.assign(Object.assign({},e),{
label:`"${e.label}"`})}function eue(e,t){let n=[],r=[],o=Object.create(null)
;for(let l of t){let e=Kce(l)
;n.push(e),l.global&&r.push(e),l.values&&(o[l.name]=l.values.map(Jce))}
let a=[],i=[],s=Object.create(null);for(let l of e){let e=r,t=o
;l.attributes&&(e=e.concat(l.attributes.map((e=>"string"==typeof e?n.find((t=>t.label==e))||{
label:e,type:"property"
}:(e.values&&(t==o&&(t=Object.create(t)),t[e.name]=e.values.map(Jce)),
Kce(e))))));let c=new Gce(l,e,t);s[c.name]=c,a.push(c),l.top&&i.push(c)}
i.length||(i=a);for(let l=0;l<a.length;l++){let t=e[l],n=a[l]
;if(t.children)for(let e of t.children)s[e]&&n.children.push(s[e]);else n.children=a
}return e=>{var t;let{doc:n}=e.state,l=function(e,t){var n
;let r=Rre(e).resolveInner(t,-1),o=null
;for(let a=r;!o&&a.parent;a=a.parent)"OpenTag"!=a.name&&"CloseTag"!=a.name&&"SelfClosingTag"!=a.name&&"MismatchedCloseTag"!=a.name||(o=a)
;if(o&&(o.to>t||o.lastChild.type.isError)){let e=o.parent
;if("TagName"==r.name)return"CloseTag"==o.name||"MismatchedCloseTag"==o.name?{
type:"closeTag",from:r.from,context:e}:{type:"openTag",from:r.from,
context:Xce(e)};if("AttributeName"==r.name)return{type:"attrName",from:r.from,
context:o};if("AttributeValue"==r.name)return{type:"attrValue",from:r.from,
context:o};let n=r==o||"Attribute"==r.name?r.childBefore(t):r
;return"StartTag"==(null==n?void 0:n.name)?{type:"openTag",from:t,context:Xce(e)
}:"StartCloseTag"==(null==n?void 0:n.name)&&n.to<=t?{type:"closeTag",from:t,
context:e}:"Is"==(null==n?void 0:n.name)?{type:"attrValue",from:t,context:o}:n?{
type:"attrName",from:t,context:o}:null}if("StartCloseTag"==r.name)return{
type:"closeTag",from:t,context:r.parent}
;for(;r.parent&&r.to==t&&!(null===(n=r.lastChild)||void 0===n?void 0:n.type.isError);)r=r.parent
;return"Element"==r.name||"Text"==r.name||"Document"==r.name?{type:"tag",from:t,
context:"Element"==r.name?r:Xce(r)}: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=Wce(n,d);if(t){let n=s[t]
;e=(null==n?void 0:n.children)||a}return{from:u,
options:e.map((e=>e.completion)),validFor:Yce}}if("closeTag"==c){let r=Wce(n,d)
;return r?{from:u,to:e.pos+(">"==n.sliceString(e.pos,e.pos+1)?1:0),
options:[(null===(t=s[r])||void 0===t?void 0:t.closeNameCompletion)||{
label:r+">",type:"type"}],validFor:Yce}:null}if("attrName"==c){let e=s[Zce(n,d)]
;return{from:u,options:(null==e?void 0:e.attrs)||r,validFor:Yce}}
if("attrValue"==c){let t=function(e,t,n){
let r=t&&t.getChildren("Attribute").find((e=>e.from<=n&&e.to>=n)),o=r&&r.getChild("AttributeName")
;return o?e.sliceString(o.from,o.to):""}(n,d,u);if(!t)return null
;let r=s[Zce(n,d)],a=((null==r?void 0:r.attrValues)||o)[t];return a&&a.length?{
from:u,to:e.pos+('"'==n.sliceString(e.pos,e.pos+1)?1:0),options:a,
validFor:/^"[^"]*"?$/}:null}if("tag"==c){
let t=Wce(n,d),r=s[t],o=[],l=d&&d.lastChild
;!t||l&&"CloseTag"==l.name&&Zce(n,l)==t||o.push(r?r.closeCompletion:{
label:"</"+t+">",type:"type",boost:2})
;let c=o.concat(((null==r?void 0:r.children)||(d?a:i)).map((e=>e.openCompletion)))
;if(d&&(null==r?void 0:r.text.length)){let t=d.firstChild
;t.to>e.pos-20&&!/\S/.test(e.state.sliceDoc(t.to,e.pos))&&(c=c.concat(r.text))}
return{from:u,options:c,validFor:/^<\/?[:\-\.\w\u00b7-\uffff]*$/}}return null}}
const tue=Dre.define({name:"xml",parser:Vce.configure({props:[Xre.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}),ioe.add({
Element(e){let t=e.firstChild,n=e.lastChild;return t&&"OpenTag"==t.name?{
from:t.to,to:"CloseTag"==n.name?n.from:e.to}:null}}),Qoe.add({
"OpenTag CloseTag":e=>e.getChild("TagName")})]}),languageData:{commentTokens:{
block:{open:"\x3c!--",close:"--\x3e"}},indentOnInput:/^\s*<\/$/}})
;function nue(e,t,n=e.length){if(!t)return""
;let r=t.firstChild,o=r&&r.getChild("TagName")
;return o?e.sliceString(o.from,Math.min(o.to,n)):""}
const rue=qee.inputHandler.of(((e,t,n,r,o)=>{
if(e.composing||e.state.readOnly||t!=n||">"!=r&&"/"!=r||!tue.isActiveAt(e.state,t,-1))return!1
;let a=o(),{state:i}=a,s=i.changeByRange((e=>{var t,n,o
;let a,{head:s}=e,l=i.doc.sliceString(s-1,s)==r,c=Rre(i).resolveInner(s,-1)
;if(l&&">"==r&&"EndTag"==c.name){let r=c.parent
;if("CloseTag"!=(null===(n=null===(t=r.parent)||void 0===t?void 0:t.lastChild)||void 0===n?void 0:n.name)&&(a=nue(i.doc,r.parent,s))){
return{range:e,changes:{from:s,to:s+(">"===i.doc.sliceString(s,s+1)?1:0),
insert:`</${a}>`}}}}else if(l&&"/"==r&&"StartCloseTag"==c.name){let e=c.parent
;if(c.from==s-2&&"CloseTag"!=(null===(o=e.lastChild)||void 0===o?void 0:o.name)&&(a=nue(i.doc,e,s))){
let e=s+(">"===i.doc.sliceString(s,s+1)?1:0),t=`${a}>`;return{
range:T4.cursor(s+t.length,-1),changes:{from:s,to:e,insert:t}}}}return{range:e}
}));return!s.changes.empty&&(e.dispatch([a,i.update(s,{
userEvent:"input.complete",scrollIntoView:!0})]),!0)})),oue=63;class aue{
constructor(e,t,n){
this.parent=e,this.depth=t,this.type=n,this.hash=(e?e.hash+e.hash<<8:0)+t+(t<<4)+n
}}function iue(e,t){for(let n=0,r=t-e.pos-1;;r--,n++){let t=e.peek(r)
;if(lue(t)||-1==t)return n}}function sue(e){return 32==e||9==e}function lue(e){
return 10==e||13==e}function cue(e){return sue(e)||lue(e)}function uue(e){
return e<0||cue(e)}aue.top=new aue(null,-1,0);const due=new dse({start:aue.top,
reduce:(e,t)=>3!=e.type||20!=t&&34!=t?e:e.parent,shift(e,t,n,r){
if(3==t)return new aue(e,iue(r,r.pos),1)
;if(65==t||5==t)return new aue(e,iue(r,r.pos),2);if(t==oue)return e.parent
;if(19==t||33==t)return new aue(e,0,3);if(13==t&&4==e.type)return e.parent
;if(47==t){let t=/[1-9]/.exec(r.read(r.pos,n.pos))
;if(t)return new aue(e,e.depth+ +t[0],4)}return e},hash:e=>e.hash})
;function pue(e,t,n=0){
return e.peek(n)==t&&e.peek(n+1)==t&&e.peek(n+2)==t&&uue(e.peek(n+3))}
const hue=new Kie(((e,t)=>{
if(-1==e.next&&t.canShift(64))return e.acceptToken(64);let n=e.peek(-1)
;if((lue(n)||n<0)&&3!=t.context.type){if(pue(e,45)){
if(!t.canShift(oue))return e.acceptToken(1,3);e.acceptToken(oue)}if(pue(e,46)){
if(!t.canShift(oue))return e.acceptToken(2,3);e.acceptToken(oue)}let n=0
;for(;32==e.next;)n++,e.advance()
;!(n<t.context.depth)&&(n!=t.context.depth||1!=t.context.type||45==e.next&&uue(e.peek(1)))||-1==e.next||lue(e.next)||35==e.next||e.acceptToken(oue,-n)
}}),{contextual:!0}),fue=new Kie(((e,t)=>{
if(3!=t.context.type)if(45==e.next)e.advance(),
uue(e.next)&&e.acceptToken(1==t.context.type&&t.context.depth==iue(e,e.pos-1)?4:3);else if(63==e.next)e.advance(),
uue(e.next)&&e.acceptToken(2==t.context.type&&t.context.depth==iue(e,e.pos-1)?6:5);else{
let n=e.pos;for(;;)if(sue(e.next)){if(e.pos==n)return;e.advance()
}else if(33==e.next)vue(e);else{if(38!=e.next){if(42==e.next){bue(e);break}
if(39==e.next||34==e.next){if(yue(e,!0))break;return}
if(91==e.next||123==e.next){if(!Oue(e))return;break}Sue(e,!0,!1,0);break}bue(e)}
for(;sue(e.next);)e.advance();if(58==e.next){if(e.pos==n&&t.canShift(29))return
;uue(e.peek(1))&&e.acceptTokenTo(2==t.context.type&&t.context.depth==iue(e,n)?66:65,n)
}}else 63==e.next&&(e.advance(),uue(e.next)&&e.acceptToken(7))}),{contextual:!0
});function mue(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}
function gue(e,t){
return 37==e.next?(e.advance(),mue(e.next)&&e.advance(),mue(e.next)&&e.advance(),
!0):!!((n=e.next)>32&&n<127&&34!=n&&37!=n&&44!=n&&60!=n&&62!=n&&92!=n&&94!=n&&96!=n&&123!=n&&124!=n&&125!=n||t&&44==e.next)&&(e.advance(),
!0);var n}function vue(e){if(e.advance(),60==e.next){
for(e.advance();;)if(!gue(e,!0)){62==e.next&&e.advance();break}
}else for(;gue(e,!1););}function bue(e){
for(e.advance();!uue(e.next)&&"f"!=xue(e.tag);)e.advance()}function yue(e,t){
let n=e.next,r=!1,o=e.pos;for(e.advance();;){let a=e.next;if(a<0)break
;if(e.advance(),a==n){if(39!=a)break;if(39!=e.next)break;e.advance()
}else if(92==a&&34==n)e.next>=0&&e.advance();else if(lue(a)){if(t)return!1;r=!0
}else if(t&&e.pos>=o+1024)return!1}return!r}function Oue(e){
for(let t=[],n=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(!yue(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>n||lue(e.next))return!1;e.advance()}}
const wue="iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"
;function xue(e){return e<33?"u":e>125?"s":wue[e-33]}function kue(e,t){
let n=xue(e);return"u"!=n&&!(t&&"f"==n)}function Sue(e,t,n,r){
if("s"!=xue(e.next)&&(63!=e.next&&58!=e.next&&45!=e.next||!kue(e.peek(1),n)))return!1
;e.advance();let o=e.pos;for(;;){let a=e.next,i=0,s=r+1;for(;cue(a);){
if(lue(a)){if(t)return!1;s=0}else s++;a=e.peek(++i)}
if(!(a>=0&&(58==a?kue(e.peek(i+1),n):35==a?32!=e.peek(i-1):kue(a,n)))||!n&&s<=r||0==s&&!n&&(pue(e,45,i)||pue(e,46,i)))break
;if(t&&"f"==xue(a))return!1;for(let t=i;t>=0;t--)e.advance()
;if(t&&e.pos>o+1024)return!1}return!0}const _ue=new Kie(((e,t)=>{
if(33==e.next)vue(e),e.acceptToken(12);else if(38==e.next||42==e.next){
let t=38==e.next?10:11;bue(e),e.acceptToken(t)
}else 39==e.next||34==e.next?(yue(e,!1),
e.acceptToken(9)):Sue(e,!1,3==t.context.type,t.context.depth)&&e.acceptToken(8)
})),Eue=new Kie(((e,t)=>{let n=4==t.context.type?t.context.depth:-1,r=e.pos
;e:for(;;){let o=0,a=e.next;for(;32==a;)a=e.peek(++o)
;if(!o&&(pue(e,45,o)||pue(e,46,o)))break
;if(!lue(a)&&(n<0&&(n=Math.max(t.context.depth+1,o)),o<n))break;for(;;){
if(e.next<0)break e;let t=lue(e.next);if(e.advance(),t)continue e;r=e.pos}}
e.acceptTokenTo(13,r)})),Tue=rre({DirectiveName:Sre.keyword,
DirectiveContent:Sre.attributeValue,"DirectiveEnd DocEnd":Sre.meta,
QuotedLiteral:Sre.string,BlockLiteralHeader:Sre.special(Sre.string),
BlockLiteralContent:Sre.content,Literal:Sre.content,
"Key/Literal Key/QuotedLiteral":Sre.definition(Sre.propertyName),
"Anchor Alias":Sre.labelName,Tag:Sre.typeName,Comment:Sre.lineComment,
": , -":Sre.separator,"?":Sre.punctuation,"[ ]":Sre.squareBracket,
"{ }":Sre.brace}),Cue=pse.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:due,
nodeProps:[["isolate",-3,8,9,14,""],["openedBy",18,"[",32,"{"],["closedBy",19,"]",33,"}"]],
propSources:[Tue],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:[hue,fue,_ue,Eue,0,1],topRules:{Stream:[0,15]},tokenPrec:0
}),Aue=Dre.define({name:"yaml",parser:Cue.configure({props:[Xre.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 n=e.column(t.from,1);if(n==e.lineIndent(t.from,1))return n
;if(t.to>e.pos)return null}}return null},FlowMapping:toe({closing:"}"}),
FlowSequence:toe({closing:"]"})}),ioe.add({"FlowMapping FlowSequence":soe,
"Item Pair BlockLiteral":(e,t)=>({from:t.doc.lineAt(e.from).to,to:e.to})})]}),
languageData:{commentTokens:{line:"#"},indentOnInput:/^\s*[\]\}]$/}})
;function Pue(){var e=arguments[0]
;"string"==typeof e&&(e=document.createElement(e));var t=1,n=arguments[1]
;if(n&&"object"==typeof n&&null==n.nodeType&&!Array.isArray(n)){
for(var r in n)if(Object.prototype.hasOwnProperty.call(n,r)){var o=n[r]
;"string"==typeof o?e.setAttribute(r,o):null!=o&&(e[r]=o)}t++}
for(;t<arguments.length;t++)Due(e,arguments[t]);return e}function Due(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 n=0;n<t.length;n++)Due(e,t[n])}}Sre.meta;class Rue{constructor(e,t,n){
this.from=e,this.to=t,this.diagnostic=n}}class $ue{constructor(e,t,n){
this.diagnostics=e,this.panel=t,this.selected=n}static init(e,t,n){
let r=e,o=n.facet(Hue).markerFilter;o&&(r=o(r,n))
;let a=e.slice().sort(((e,t)=>e.from-t.from||e.to-t.to)),i=new _7,s=[],l=0
;for(let u=0;;){let e,t,r=u==a.length?null:a[u];if(!r&&!s.length)break
;for(s.length?(e=l,
t=s.reduce(((e,t)=>Math.min(e,t.to)),r&&r.from>e?r.from:1e8)):(e=r.from,
t=r.to,s.push(r),u++);u<a.length;){let n=a[u]
;if(n.from!=e||!(n.to>n.from||n.to==e)){t=Math.min(n.from,t);break}
s.push(n),u++,t=Math.min(n.to,t)}let o=ede(s)
;if(s.some((e=>e.from==e.to||e.from==e.to-1&&n.doc.lineAt(e.from).to==e.from)))i.add(e,e,G8.widget({
widget:new Wue(o),diagnostics:s.slice()}));else{
let n=s.reduce(((e,t)=>t.markClass?e+" "+t.markClass:e),"");i.add(e,t,G8.mark({
class:"cm-lintRange cm-lintRange-"+o+n,diagnostics:s.slice(),
inclusiveEnd:s.some((e=>e.to>t))}))}l=t
;for(let n=0;n<s.length;n++)s[n].to<=l&&s.splice(n--,1)}let c=i.finish()
;return new $ue(c,t,Nue(c))}}function Nue(e,t=null,n=0){let r=null
;return e.between(n,1e9,((e,n,{spec:o})=>{
if(!(t&&o.diagnostics.indexOf(t)<0))if(r){
if(o.diagnostics.indexOf(r.diagnostic)<0)return!1
;r=new Rue(r.from,n,r.diagnostic)}else r=new Rue(e,n,t||o.diagnostics[0])})),r}
function Mue(e,t){return e.field(Bue,!1)?t:t.concat(i7.appendConfig.of(tde))}
const Iue=i7.define(),Lue=i7.define(),jue=i7.define(),Bue=L4.define({
create:()=>new $ue(G8.none,null,null),update(e,t){
if(t.docChanged&&e.diagnostics.size){
let n=e.diagnostics.map(t.changes),r=null,o=e.panel;if(e.selected){
let o=t.changes.mapPos(e.selected.from,1)
;r=Nue(n,e.selected.diagnostic,o)||Nue(n,null,o)}
!n.size&&o&&t.state.facet(Hue).autoPanel&&(o=null),e=new $ue(n,o,r)}
for(let n of t.effects)if(n.is(Iue)){
let r=t.state.facet(Hue).autoPanel?n.value.length?Gue.open:null:e.panel
;e=$ue.init(n.value,r,t.state)
}else n.is(Lue)?e=new $ue(e.diagnostics,n.value?Gue.open:null,e.selected):n.is(jue)&&(e=new $ue(e.diagnostics,e.panel,n.value))
;return e},
provide:e=>[jte.from(e,(e=>e.panel)),qee.decorations.from(e,(e=>e.diagnostics))]
}),Uue=G8.mark({class:"cm-lintRange cm-lintRange-active"});function Que(e,t,n){
let r,{diagnostics:o}=e.state.field(Bue),a=-1,i=-1
;o.between(t-(n<0?1:0),t+(n>0?1:0),((e,o,{spec:s})=>{
if(t>=e&&t<=o&&(e==o||(t>e||n>0)&&(t<o||n<0)))return r=s.diagnostics,a=e,i=o,!1
}));let s=e.state.facet(Hue).tooltipFilter;return r&&s&&(r=s(r,e.state)),r?{
pos:a,end:i,above:e.state.doc.lineAt(a).to<i,create:()=>({dom:Fue(e,r)})}:null}
function Fue(e,t){return Pue("ul",{class:"cm-tooltip-lint"
},t.map((t=>Zue(e,t,!1))))}const zue=e=>{let t=e.state.field(Bue,!1)
;return!(!t||!t.panel)&&(e.dispatch({effects:Lue.of(!1)}),!0)
},que=V6.fromClass(class{constructor(e){this.view=e,this.timeout=-1,this.set=!0
;let{delay:t}=e.state.facet(Hue)
;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(Hue)
;t.length&&function(e,t,n){let r=[],o=-1;for(let a of e)a.then((n=>{
r.push(n),clearTimeout(o),r.length==e.length?t(r):o=setTimeout((()=>t(r)),200)
}),n)}(t.map((e=>Promise.resolve(e(this.view)))),(t=>{
this.view.state.doc==e.doc&&this.view.dispatch(function(e,t){return{
effects:Mue(e,[Iue.of(t)])}}(this.view.state,t.reduce(((e,t)=>e.concat(t)))))
}),(e=>{F6(this.view.state,e)}))}}update(e){let t=e.state.facet(Hue)
;(e.docChanged||t!=e.startState.facet(Hue)||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)}});const Hue=P4.define({combine:e=>Object.assign({
sources:e.map((e=>e.source)).filter((e=>null!=e))},y7(e.map((e=>e.config)),{
delay:750,markerFilter:null,tooltipFilter:null,needsRefresh:null,hideOn:()=>null
},{needsRefresh:(e,t)=>e?t?n=>e(n)||t(n):e:t}))});function Vue(e){let t=[]
;if(e)e:for(let{name:n}of e){for(let e=0;e<n.length;e++){let r=n[e]
;if(/[a-zA-Z]/.test(r)&&!t.some((e=>e.toLowerCase()==r.toLowerCase()))){
t.push(r);continue e}}t.push("")}return t}function Zue(e,t,n){var r
;let o=n?Vue(t.actions):[];return Pue("li",{
class:"cm-diagnostic cm-diagnostic-"+t.severity},Pue("span",{
class:"cm-diagnosticText"
},t.renderMessage?t.renderMessage(e):t.message),null===(r=t.actions)||void 0===r?void 0:r.map(((n,r)=>{
let a=!1,i=r=>{if(r.preventDefault(),a)return;a=!0
;let o=Nue(e.state.field(Bue).diagnostics,t);o&&n.apply(e,o.from,o.to)
},{name:s}=n,l=o[r]?s.indexOf(o[r]):-1,c=l<0?s:[s.slice(0,l),Pue("u",s.slice(l,l+1)),s.slice(l+1)]
;return Pue("button",{type:"button",class:"cm-diagnosticAction",onclick:i,
onmousedown:i,"aria-label":` Action: ${s}${l<0?"":` (access key "${o[r]})"`}.`
},c)})),t.source&&Pue("div",{class:"cm-diagnosticSource"},t.source))}
class Wue extends W8{constructor(e){super(),this.sev=e}eq(e){
return e.sev==this.sev}toDOM(){return Pue("span",{
class:"cm-lintPoint cm-lintPoint-"+this.sev})}}class Xue{constructor(e,t){
this.diagnostic=t,
this.id="item_"+Math.floor(4294967295*Math.random()).toString(16),
this.dom=Zue(e,t,!0),this.dom.id=this.id,this.dom.setAttribute("role","option")}
}class Gue{constructor(e){this.view=e,this.items=[];this.list=Pue("ul",{
tabIndex:0,role:"listbox","aria-label":this.view.state.phrase("Diagnostics"),
onkeydown:t=>{
if(27==t.keyCode)zue(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:n}=this.items[this.selectedIndex],r=Vue(n.actions)
;for(let o=0;o<r.length;o++)if(r[o].toUpperCase().charCodeAt(0)==t.keyCode){
let t=Nue(this.view.state.field(Bue).diagnostics,n)
;t&&n.actions[o].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=Pue("div",{class:"cm-panel-lint"},this.list,Pue("button",{
type:"button",name:"close","aria-label":this.view.state.phrase("close"),
onclick:()=>zue(this.view)},"×")),this.update()}get selectedIndex(){
let e=this.view.state.field(Bue).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(Bue),n=0,r=!1,o=null,a=new Set
;for(e.between(0,this.view.state.doc.length,((e,i,{spec:s})=>{
for(let l of s.diagnostics){if(a.has(l))continue;a.add(l);let e,i=-1
;for(let t=n;t<this.items.length;t++)if(this.items[t].diagnostic==l){i=t;break}
i<0?(e=new Xue(this.view,l),
this.items.splice(n,0,e),r=!0):(e=this.items[i],i>n&&(this.items.splice(n,i-n),
r=!0)),
t&&e.diagnostic==t.diagnostic?e.dom.hasAttribute("aria-selected")||(e.dom.setAttribute("aria-selected","true"),
o=e):e.dom.hasAttribute("aria-selected")&&e.dom.removeAttribute("aria-selected"),
n++}
}));n<this.items.length&&!(1==this.items.length&&this.items[0].diagnostic.from<0);)r=!0,
this.items.pop();0==this.items.length&&(this.items.push(new Xue(this.view,{
from:-1,to:-1,severity:"info",message:this.view.state.phrase("No diagnostics")
})),
r=!0),o?(this.list.setAttribute("aria-activedescendant",o.id),this.view.requestMeasure({
key:this,read:()=>({sel:o.dom.getBoundingClientRect(),
panel:this.list.getBoundingClientRect()}),write:({sel:e,panel:t})=>{
let n=t.height/this.list.offsetHeight
;e.top<t.top?this.list.scrollTop-=(t.top-e.top)/n:e.bottom>t.bottom&&(this.list.scrollTop+=(e.bottom-t.bottom)/n)
}
})):this.selectedIndex<0&&this.list.removeAttribute("aria-activedescendant"),r&&this.sync()
}sync(){let e=this.list.firstChild;function t(){let t=e
;e=t.nextSibling,t.remove()}
for(let n of this.items)if(n.dom.parentNode==this.list){for(;e!=n.dom;)t()
;e=n.dom.nextSibling}else this.list.insertBefore(n.dom,e);for(;e;)t()}
moveSelection(e){if(this.selectedIndex<0)return
;let t=Nue(this.view.state.field(Bue).diagnostics,this.items[e].diagnostic)
;t&&this.view.dispatch({selection:{anchor:t.from,head:t.to},scrollIntoView:!0,
effects:jue.of(t)})}static open(e){return new Gue(e)}}function Yue(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 Kue=qee.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:Yue("#d11")},
".cm-lintRange-warning":{backgroundImage:Yue("orange")},".cm-lintRange-info":{
backgroundImage:Yue("#999")},".cm-lintRange-hint":{backgroundImage:Yue("#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 Jue(e){
return"error"==e?4:"warning"==e?3:"info"==e?2:1}function ede(e){let t="hint",n=1
;for(let r of e){let e=Jue(r.severity);e>n&&(n=e,t=r.severity)}return t}
const tde=[Bue,qee.decorations.compute([Bue],(e=>{
let{selected:t,panel:n}=e.field(Bue)
;return t&&n&&t.from!=t.to?G8.set([Uue.range(t.from,t.to)]):G8.none})),Dte(Que,{
hideOn:function(e,t){let n=t.pos,r=t.end||n,o=e.state.facet(Hue).hideOn(e,n,r)
;if(null!=o)return o;let a=e.startState.doc.lineAt(t.pos)
;return!(!e.effects.some((e=>e.is(Iue)))&&!e.changes.touchesRange(a.from,Math.max(a.to,r)))
}}),Kue];const nde=(e=>{var{theme:t,settings:n={},styles:r=[]}=e,o={
".cm-gutters":{}},a={}
;n.background&&(a.backgroundColor=n.background),n.backgroundImage&&(a.backgroundImage=n.backgroundImage),
n.foreground&&(a.color=n.foreground),
n.fontSize&&(a.fontSize=n.fontSize),(n.background||n.foreground)&&(o["&"]=a),
n.fontFamily&&(o["&.cm-editor .cm-scroller"]={fontFamily:n.fontFamily
}),n.gutterBackground&&(o[".cm-gutters"].backgroundColor=n.gutterBackground),
n.gutterForeground&&(o[".cm-gutters"].color=n.gutterForeground),
n.gutterBorder&&(o[".cm-gutters"].borderRightColor=n.gutterBorder),
n.caret&&(o[".cm-content"]={caretColor:n.caret
},o[".cm-cursor, .cm-dropCursor"]={borderLeftColor:n.caret});var i={}
;return n.gutterActiveForeground&&(i.color=n.gutterActiveForeground),
n.lineHighlight&&(o[".cm-activeLine"]={backgroundColor:n.lineHighlight
},i.backgroundColor=n.lineHighlight),
o[".cm-activeLineGutter"]=i,n.selection&&(o["&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"]={
background:n.selection+" !important"
}),n.selectionMatch&&(o["& .cm-selectionMatch"]={
backgroundColor:n.selectionMatch}),[qee.theme(o,{dark:"dark"===t
}),Aoe(_oe.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:[Sre.standard(Sre.tagName),Sre.tagName],
color:"var(--scalar-color-purple)"},{tag:[Sre.comment],
color:"var(--scalar-color-3)"},{tag:[Sre.className],
color:"var(--scalar-color-orange)"},{
tag:[Sre.variableName,Sre.propertyName,Sre.attributeName],
color:"var(--scalar-color-1)"},{tag:[Sre.operator],color:"var(--scalar-color-2)"
},{tag:[Sre.keyword,Sre.typeName,Sre.typeOperator],
color:"var(--scalar-color-green)"},{tag:[Sre.string],
color:"var(--scalar-color-blue)"},{tag:[Sre.bracket,Sre.regexp,Sre.meta],
color:"var(--scalar-color-3)"},{tag:[Sre.number],
color:"var(--scalar-color-orange)"},{tag:[Sre.name,Sre.quote],
color:"var(--scalar-color-3)"},{tag:[Sre.heading],color:"var(--scalar-color-3)",
fontWeight:"bold"},{tag:[Sre.emphasis],color:"var(--scalar-color-3)",
fontStyle:"italic"},{tag:[Sre.deleted],color:"var(--scalar-color-3)",
backgroundColor:"transparent"},{
tag:[Sre.atom,Sre.bool,Sre.special(Sre.variableName)],
color:"var(--scalar-color-3)"},{tag:[Sre.url,Sre.escape,Sre.regexp,Sre.link],
color:"var(--scalar-color-1)"},{tag:Sre.link,textDecoration:"underline"},{
tag:Sre.strikethrough,textDecoration:"line-through"},{tag:Sre.invalid,
color:"var(--scalar-color-3)"}]}),rde=new ate({regexp:/(\{[^}]+\})/g,
decoration:()=>G8.mark({attributes:{class:"api-client-url-variable"}})
}),ode=()=>V6.fromClass(class{constructor(e){
r(this,"variables"),this.variables=rde.createDeco(e)}update(e){
this.variables=rde.updateDeco(e,this.variables)}},{decorations:e=>e.variables,
provide:e=>qee.atomicRanges.of((t=>{var n
;return(null==(n=t.plugin(e))?void 0:n.variables)||G8.none}))
}),ade=e=>"provider"in e&&!!Zn(e.provider),ide={key:"Mod-a",run:e=>(e.dispatch({
selection:{anchor:0,head:e.state.doc.length},scrollIntoView:!1}),!0)},sde=e=>{
const t=Fn(null),n=(e="")=>{
t.value&&t.value.state.doc.toString()!==e&&t.value.dispatch({changes:{from:0,
to:t.value.state.doc.length,insert:e},selection:{
anchor:Math.min(t.value.state.selection.main.anchor,e.length)}})},r=Bi((()=>({
onChange:e.onChange,onBlur:e.onBlur,onFocus:e.onFocus,
disableTabIndent:Zn(e.disableTabIndent),language:Zn(e.language),
classes:Zn(e.classes),readOnly:Zn(e.readOnly),lineNumbers:Zn(e.lineNumbers),
withVariables:Zn(e.withVariables),forceFoldGutter:Zn(e.forceFoldGutter),
disableEnter:Zn(e.disableEnter),disableCloseBrackets:Zn(e.disableCloseBrackets),
withoutTheme:Zn(e.withoutTheme),lint:Zn(e.lint),
additionalExtensions:Zn(e.extensions),placeholder:Zn(e.placeholder)})))
;function o(){if(e.codeMirrorRef.value){
const o=ade(e)?Zn(e.provider):null,a=cde({...r.value,provider:o})
;t.value=new qee({parent:e.codeMirrorRef.value,extensions:a
}),ade(e)||n(Zn(e.content))}}return Ma(e.codeMirrorRef,(()=>{var e
;null==(e=t.value)||e.destroy(),o()}),{immediate:!0}),yo((()=>{var e
;return null==(e=t.value)?void 0:e.destroy()
})),Ma((()=>ade(e)?Zn(e.provider):null),(()=>{var n
;ade(e)&&(null==(n=t.value)||n.destroy(),o())})),Ma(r,(()=>{if(t.value){
const n=ade(e)?Zn(e.provider):null,o=cde({...r.value,provider:n})
;requestAnimationFrame((()=>{var e;null==(e=t.value)||e.dispatch({
effects:i7.reconfigure.of(o)})}))}}),{immediate:!0
}),Ma((()=>Zn(e.content)),(()=>{ade(e)||n(Zn(e.content))}),{immediate:!0}),{
setCodeMirrorContent:n,codeMirror:t}},lde={html:function(e={}){let t,n=""
;!1===e.matchClosingTags&&(n="noMatch"),
!0===e.selfClosingTags&&(n=(n?n+" ":"")+"selfClosing"),
(e.nestedLanguages&&e.nestedLanguages.length||e.nestedAttributes&&e.nestedAttributes.length)&&(t=xle((e.nestedLanguages||[]).concat(Sce),(e.nestedAttributes||[]).concat(_ce)))
;let r=t?Ece.configure({wrap:t,dialect:n}):n?Tce.configure({dialect:n}):Tce
;return new Fre(r,[Tce.data.of({autocomplete:xce(e)
}),!1!==e.autoCloseTags?Ace:[],ece().support,Use().support])},json:function(){
return new Fre(Rce)},yaml:function(){return new Fre(Aue)},css:Use,
xml:function(e={}){let t=[tue.data.of({
autocomplete:eue(e.elements||[],e.attributes||[])})]
;return!1!==e.autoCloseTags&&t.push(rue),new Fre(tue,t)}}
;function cde({onChange:e,onBlur:t,onFocus:n,provider:r,language:o,classes:a=[],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 v=[dte(),Aoe(Roe,{fallback:!0}),qee.theme({".cm-line":{lineHeight:"20px",
padding:"0 2px 0 4px"},".cm-gutterElement":{lineHeight:"20px"},".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)"}}),qee.updateListener.of((t=>{
t.docChanged&&(null==e||e(t.state.doc.toString()))})),qee.domEventHandlers({
blur:(e,n)=>{null==t||t(n.state.doc.toString())},focus:(e,t)=>{
null==n||n(t.state.doc.toString())}}),qee.editorAttributes.of({class:a.join(" ")
}),...m];var b
;if(r&&v.push(r),h||v.push(nde),i?v.push(qee.editable.of(!1)):(v.push(b7.transactionFilter.of((e=>{
if(!e.docChanged||!e.isUserEvent("input.type")&&!e.isUserEvent("input.complete"))return e
;let t=e.startState.languageDataAt("indentOnInput",e.startState.selection.main.head)
;if(!t.length)return e;let n=e.newDoc,{head:r}=e.newSelection.main,o=n.lineAt(r)
;if(r>o.from+ooe)return e;let a=n.sliceString(o.from,r)
;if(!t.some((e=>e.test(a))))return e;let{state:i}=e,s=-1,l=[]
;for(let{head:c}of i.selection.ranges){let e=i.doc.lineAt(c)
;if(e.from==s)continue;s=e.from;let t=Zre(i,e.from);if(null==t)continue
;let n=/^\s*/.exec(e.text)[0],r=Vre(i,t);n!=r&&l.push({from:e.from,
to:e.from+n.length,insert:r})}return l.length?[e,{changes:l,sequential:!0}]:e
})),Uoe(),function(e={}){return[tie,Zae,Aae.of(e),Jae,jie,nie]
}(),Kee.of([...Lie,ide]),Uoe()),
d||v.push([Cie,kie],Kee.of([...Aie])),p?v.push(Kee.of([{key:"Tab",run:()=>!1,
shift:()=>!1}])):v.push(Kee.of([Qie]))),g&&v.push((b=g,V6.fromClass(class{
constructor(e){this.view=e,this.placeholder=b?G8.set([G8.widget({
widget:new mte(b),side:1}).range(0)]):G8.none}get decorations(){
return this.view.state.doc.length?G8.none:this.placeholder}},{
decorations:e=>e.decorations}))),s&&v.push(function(e={}){
return[tne.of(e),Vte(),one]}()),c&&v.push(koe({markerDOM:e=>{
const t=document.createElement("div");t.classList.add("cm-foldMarker")
;const n=Ui(oY,{icon:e?"ChevronDown":"ChevronRight",size:"xs"});return tl(n,t),t
}})),o&&lde[o]&&(v.push(lde[o]()),c||v.push(koe({markerDOM:e=>{
const t=document.createElement("div");t.classList.add("cm-foldMarker")
;const n=Ui(oY,{icon:e?"ChevronDown":"ChevronRight",size:"xs"});return tl(n,t),t
}}))),f&&"json"===o){const e=function(e,t={}){return[Hue.of({source:e,config:t
}),que,tde]}((e=>{const t=[],n=e.state.doc.toString();if(n.trim())try{
JSON.parse(n)}catch(pM){pM instanceof Error&&t.push({from:0,
to:e.state.doc.length,severity:"error",message:pM.message})}return t}))
;v.push(e)}return l&&v.push(ode()),u?v.push(Kee.of([{key:"Enter",run:()=>!0},{
key:"Ctrl-Enter",mac:"Cmd-Enter",run:()=>!0},{key:"Shift-Enter",run:()=>!0
}])):v.push(Kee.of([{key:"Enter",run:Bie}])),v}const ude={class:"w-full"},dde={
class:"text-c-1"},pde={class:"flex items-center justify-center h-4 w-4"
},hde=no({__name:"DataTableInputSelect",props:{modelValue:{},value:{},
default:{},canAddCustomValue:{type:Boolean,default:!0}},
emits:["update:modelValue"],setup(e,{emit:t}){
const n=e,r=t,o=Bi((()=>n.value??[])),a=Fn(!1),i=Fn(""),s=Fn(null);Ma(i,(e=>{
r("update:modelValue",e)}));const l=e=>{r("update:modelValue",e),a.value=!1
},c=()=>{i.value.trim()&&(l(i.value),i.value="")},u=()=>{
i.value.trim()||(r("update:modelValue",""),a.value=!1)
},d=e=>n.modelValue.toString()===e;Ma(a,(e=>{e&&yr((()=>{var e
;null==(e=s.value)||e.focus()}))}))
;const p=Bi((()=>void 0!==n.modelValue?n.modelValue:n.default))
;return(e,t)=>(ei(),oi("div",ude,[a.value?Pr((ei(),oi("input",{key:0,
ref_key:"inputRef",ref:s,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),
class:"border-none text-c-1 min-w-0 w-full px-2 py-1.5 outline-none",
placeholder:"Value",type:"text",onBlur:u,onKeyup:Ys(c,["enter"])
},null,544)),[[Bs,i.value]]):(ei(),ai(Vn(F0),{key:1,resize:"",value:p.value},{
items:Ar((()=>[(ei(!0),oi(Wa,null,Do(o.value,(e=>(ei(),ai(Vn(y1),{key:e,
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
value:e,onClick:t=>l(e)},{default:Ar((()=>[ui("div",{
class:it(["flex items-center justify-center rounded-full p-[3px] w-4 h-4",d(e)?"bg-c-accent text-b-1":"group-hover/item:shadow-border text-transparent"])
},[di(Vn(oY),{class:"size-2.5",icon:"Checkmark",thickness:"3.5"
})],2),fi(" "+ht(e),1)])),_:2
},1032,["value","onClick"])))),128)),e.canAddCustomValue?(ei(),oi(Wa,{key:0
},[di(Vn(m1)),di(Vn(y1),{class:"flex items-center gap-1.5",
onClick:t[1]||(t[1]=e=>a.value=!0)},{default:Ar((()=>[ui("div",pde,[di(Vn(oY),{
icon:"Add",size:"sm"})]),t[2]||(t[2]=ui("span",null,"Add value",-1))])),_:1
})],64)):gi("",!0)])),default:Ar((()=>[di(Vn(BB),{
class:"gap-1.5 font-normal h-full justify-start px-2 py-1.5",fullWidth:"",
variant:"ghost"},{
default:Ar((()=>[ui("span",dde,ht(p.value||"Select a value"),1),di(Vn(oY),{
icon:"ChevronDown",size:"md"})])),_:1})])),_:1},8,["value"]))]))}
}),fde=e=>e?e.color:"#8E8E8E";function mde(e){return e.flatMap((e=>{
if("value"===e.key)try{const t=JSON.parse(e.value)
;return Object.keys(t).map((n=>({key:n,value:t[n],source:e.source})))}catch{}
return[e]}))}
var gde=Object.defineProperty,vde=(e,t,n)=>((e,t,n)=>t in e?gde(e,t,{
enumerable:!0,configurable:!0,writable:!0,value:n
}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n);let bde=class e extends W8{
constructor(e,t,n,r,o){
super(),vde(this,"app"),vde(this,"environment"),vde(this,"envVariables"),
vde(this,"workspace"),
vde(this,"isReadOnly"),this.variableName=e,this.variableName=e,
this.environment=t,this.envVariables=n,this.workspace=r,this.isReadOnly=o}
toDOM(){const e=document.createElement("span")
;e.className="cm-pill",e.textContent=`${this.variableName}`;const t=no({props:{
variableName:{type:String,default:null}},render:()=>{
const t=this.envVariables?mde(this.envVariables).find((e=>e.key===this.variableName)):void 0,n=t&&this.environment?fde(this.environment):"#8E8E8E"
;e.style.setProperty("--tw-bg-base",n||"#8E8E8E"),
e.style.opacity=null!=t&&t.value?"1":"0.5";const r=null!=t&&t.value?Ui("div",{
class:"p-2"},t.value):Ui("div",{class:"divide-y divide-1/2 grid"},[Ui("span",{
class:"p-2 opacity-25"},"No value"),!this.isReadOnly&&Ui("div",{class:"p-1"
},[Ui(BB,{
class:"gap-1.5 justify-start font-normal px-1 py-1.5 h-auto transition-colors rounded no-underline text-xxs w-full hover:bg-b-2",
variant:"ghost",onClick:()=>{var e
;return window.location.href=`/workspace/${null==(e=this.workspace)?void 0:e.uid}/environment`
}},{default:()=>[Ui(oY,{class:"w-2",icon:"Add",size:"xs"}),"Add variable"]})])])
;return Ui(p1,{align:"center",class:"w-full",delay:0,side:"bottom",sideOffset:6
},{trigger:()=>Ui("span",`${this.variableName}`),content:()=>Ui("div",{
class:["border w-content rounded  bg-b-1 brightness-lifted text-xxs leading-5 text-c-1",null!=t&&t.value?"border-solid":"border-dashed"]
},r)})}});return this.app=nl(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}ignoreEvent(){return!1
}};const yde=e=>V6.fromClass(class{constructor(e){
vde(this,"decorations"),this.decorations=this.buildDecorations(e)}update(e){
(e.docChanged||e.viewportChanged)&&requestAnimationFrame((()=>{
this.decorations=this.buildDecorations(e.view),e.view.update([])}))}
buildDecorations(t){const n=new _7;for(const{from:r,to:o}of t.visibleRanges){
const a=t.state.doc.sliceString(r,o);let i
;for(;null!==(i=bD.VARIABLES.exec(a));){
const t=r+i.index,o=t+i[0].length,a=i[1]??"";n.add(t,o,G8.widget({
widget:new bde(a,e.environment,e.envVariables,e.workspace,e.isReadOnly),side:1
}))}}return n.finish()}},{decorations:e=>e.decorations
}),Ode=qee.domEventHandlers({keydown(e,t){if("Backspace"===e.key){
const{state:n}=t,{from:r,to:o}=n.selection.main
;if(0===r&&o===n.doc.length)return t.dispatch({changes:{from:0,to:n.doc.length},
selection:{anchor:0}}),e.preventDefault(),!0
;if(r===o&&r>0&&"}}"===n.doc.sliceString(r-2,r))return t.dispatch({changes:{
from:r-2,to:o},selection:{anchor:r-2}}),e.preventDefault(),!0}return!1}})
;function wde(e){return Array.isArray?Array.isArray(e):"[object Array]"===Pde(e)
}const xde=1/0;function kde(e){return null==e?"":function(e){
if("string"==typeof e)return e;let t=e+"";return"0"==t&&1/e==-xde?"-0":t}(e)}
function Sde(e){return"string"==typeof e}function _de(e){
return"number"==typeof e}function Ede(e){return!0===e||!1===e||function(e){
return Tde(e)&&null!==e}(e)&&"[object Boolean]"==Pde(e)}function Tde(e){
return"object"==typeof e}function Cde(e){return null!=e}function Ade(e){
return!e.trim().length}function Pde(e){
return null==e?void 0===e?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)
}
const Dde=e=>`Missing ${e} property in key`,Rde=e=>`Property 'weight' in key '${e}' must be a positive integer`,$de=Object.prototype.hasOwnProperty
;class Nde{constructor(e){this._keys=[],this._keyMap={};let t=0;e.forEach((e=>{
let n=Mde(e);this._keys.push(n),this._keyMap[n.id]=n,t+=n.weight
})),this._keys.forEach((e=>{e.weight/=t}))}get(e){return this._keyMap[e]}keys(){
return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Mde(e){
let t=null,n=null,r=null,o=1,a=null
;if(Sde(e)||wde(e))r=e,t=Ide(e),n=Lde(e);else{
if(!$de.call(e,"name"))throw new Error(Dde("name"));const i=e.name
;if(r=i,$de.call(e,"weight")&&(o=e.weight,o<=0))throw new Error(Rde(i))
;t=Ide(i),n=Lde(i),a=e.getFn}return{path:t,id:n,weight:o,src:r,getFn:a}}
function Ide(e){return wde(e)?e:e.split(".")}function Lde(e){
return wde(e)?e.join("."):e}const jde={useExtendedSearch:!1,getFn:function(e,t){
let n=[],r=!1;const o=(e,t,a)=>{if(Cde(e))if(t[a]){const i=e[t[a]]
;if(!Cde(i))return
;if(a===t.length-1&&(Sde(i)||_de(i)||Ede(i)))n.push(kde(i));else if(wde(i)){r=!0
;for(let e=0,n=i.length;e<n;e+=1)o(i[e],t,a+1)}else t.length&&o(i,t,a+1)
}else n.push(e)};return o(e,Sde(t)?t.split("."):t,0),r?n:n[0]},
ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1};var Bde={
isCaseSensitive:!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,...jde};const Ude=/[^ ]+/g;class Qde{
constructor({getFn:e=Bde.getFn,fieldNormWeight:t=Bde.fieldNormWeight}={}){
this.norm=function(e=1,t=3){const n=new Map,r=Math.pow(10,t);return{get(t){
const o=t.match(Ude).length;if(n.has(o))return n.get(o)
;const a=1/Math.pow(o,.5*e),i=parseFloat(Math.round(a*r)/r);return n.set(o,i),i
},clear(){n.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,Sde(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()
;Sde(e)?this._addString(e,t):this._addObject(e,t)}removeAt(e){
this.records.splice(e,1);for(let t=e,n=this.size();t<n;t+=1)this.records[t].i-=1
}getValueForItemAtKeyId(e,t){return e[this._keysMap[t]]}size(){
return this.records.length}_addString(e,t){if(!Cde(e)||Ade(e))return;let n={v:e,
i:t,n:this.norm.get(e)};this.records.push(n)}_addObject(e,t){let n={i:t,$:{}}
;this.keys.forEach(((t,r)=>{let o=t.getFn?t.getFn(e):this.getFn(e,t.path)
;if(Cde(o))if(wde(o)){let e=[];const t=[{nestedArrIndex:-1,value:o}]
;for(;t.length;){const{nestedArrIndex:n,value:r}=t.pop()
;if(Cde(r))if(Sde(r)&&!Ade(r)){let t={v:r,i:n,n:this.norm.get(r)};e.push(t)
}else wde(r)&&r.forEach(((e,n)=>{t.push({nestedArrIndex:n,value:e})}))}n.$[r]=e
}else if(Sde(o)&&!Ade(o)){let e={v:o,n:this.norm.get(o)};n.$[r]=e}
})),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}
function Fde(e,t,{getFn:n=Bde.getFn,fieldNormWeight:r=Bde.fieldNormWeight}={}){
const o=new Qde({getFn:n,fieldNormWeight:r})
;return o.setKeys(e.map(Mde)),o.setSources(t),o.create(),o}
function zde(e,{errors:t=0,currentLocation:n=0,expectedLocation:r=0,distance:o=Bde.distance,ignoreLocation:a=Bde.ignoreLocation}={}){
const i=t/e.length;if(a)return i;const s=Math.abs(r-n);return o?i+s/o:s?1:i}
const qde=32
;function Hde(e,t,n,{location:r=Bde.location,distance:o=Bde.distance,threshold:a=Bde.threshold,findAllMatches:i=Bde.findAllMatches,minMatchCharLength:s=Bde.minMatchCharLength,includeMatches:l=Bde.includeMatches,ignoreLocation:c=Bde.ignoreLocation}={}){
if(t.length>qde)throw new Error(`Pattern length exceeds max of ${qde}.`)
;const u=t.length,d=e.length,p=Math.max(0,Math.min(r,d));let h=a,f=p
;const m=s>1||l,g=m?Array(d):[];let v;for(;(v=e.indexOf(t,f))>-1;){let e=zde(t,{
currentLocation:v,expectedLocation:p,distance:o,ignoreLocation:c})
;if(h=Math.min(e,h),f=v+u,m){let e=0;for(;e<u;)g[v+e]=1,e+=1}}f=-1
;let b=[],y=1,O=u+d;const w=1<<u-1;for(let k=0;k<u;k+=1){let r=0,a=O;for(;r<a;){
zde(t,{errors:k,currentLocation:p+a,expectedLocation:p,distance:o,
ignoreLocation:c})<=h?r=a:O=a,a=Math.floor((O-r)/2+r)}O=a
;let s=Math.max(1,p-a+1),l=i?d:Math.min(p+a,d)+u,v=Array(l+2);v[l+1]=(1<<k)-1
;for(let i=l;i>=s;i-=1){let r=i-1,a=n[e.charAt(r)]
;if(m&&(g[r]=+!!a),v[i]=(v[i+1]<<1|1)&a,
k&&(v[i]|=(b[i+1]|b[i])<<1|1|b[i+1]),v[i]&w&&(y=zde(t,{errors:k,
currentLocation:r,expectedLocation:p,distance:o,ignoreLocation:c}),y<=h)){
if(h=y,f=r,f<=p)break;s=Math.max(1,2*p-f)}}if(zde(t,{errors:k+1,
currentLocation:p,expectedLocation:p,distance:o,ignoreLocation:c})>h)break;b=v}
const x={isMatch:f>=0,score:Math.max(.001,y)};if(m){
const e=function(e=[],t=Bde.minMatchCharLength){let n=[],r=-1,o=-1,a=0
;for(let i=e.length;a<i;a+=1){let i=e[a]
;i&&-1===r?r=a:i||-1===r||(o=a-1,o-r+1>=t&&n.push([r,o]),r=-1)}
return e[a-1]&&a-r>=t&&n.push([r,a-1]),n}(g,s)
;e.length?l&&(x.indices=e):x.isMatch=!1}return x}function Vde(e){let t={}
;for(let n=0,r=e.length;n<r;n+=1){const o=e.charAt(n);t[o]=(t[o]||0)|1<<r-n-1}
return t}class Zde{
constructor(e,{location:t=Bde.location,threshold:n=Bde.threshold,distance:r=Bde.distance,includeMatches:o=Bde.includeMatches,findAllMatches:a=Bde.findAllMatches,minMatchCharLength:i=Bde.minMatchCharLength,isCaseSensitive:s=Bde.isCaseSensitive,ignoreLocation:l=Bde.ignoreLocation}={}){
if(this.options={location:t,threshold:n,distance:r,includeMatches:o,
findAllMatches:a,minMatchCharLength:i,isCaseSensitive:s,ignoreLocation:l
},this.pattern=s?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return
;const c=(e,t)=>{this.chunks.push({pattern:e,alphabet:Vde(e),startIndex:t})
},u=this.pattern.length;if(u>qde){let e=0;const t=u%qde,n=u-t
;for(;e<n;)c(this.pattern.substr(e,qde),e),e+=qde;if(t){const e=u-qde
;c(this.pattern.substr(e),e)}}else c(this.pattern,0)}searchIn(e){
const{isCaseSensitive:t,includeMatches:n}=this.options
;if(t||(e=e.toLowerCase()),this.pattern===e){let t={isMatch:!0,score:0}
;return n&&(t.indices=[[0,e.length-1]]),t}
const{location:r,distance:o,threshold:a,findAllMatches:i,minMatchCharLength:s,ignoreLocation:l}=this.options
;let c=[],u=0,d=!1;this.chunks.forEach((({pattern:t,alphabet:p,startIndex:h})=>{
const{isMatch:f,score:m,indices:g}=Hde(e,t,p,{location:r+h,distance:o,
threshold:a,findAllMatches:i,minMatchCharLength:s,includeMatches:n,
ignoreLocation:l});f&&(d=!0),u+=m,f&&g&&(c=[...c,...g])}));let p={isMatch:d,
score:d?u/this.chunks.length:1};return d&&n&&(p.indices=c),p}}class Wde{
constructor(e){this.pattern=e}static isMultiMatch(e){
return Xde(e,this.multiRegex)}static isSingleMatch(e){
return Xde(e,this.singleRegex)}search(){}}function Xde(e,t){const n=e.match(t)
;return n?n[1]:null}class Gde extends Wde{
constructor(e,{location:t=Bde.location,threshold:n=Bde.threshold,distance:r=Bde.distance,includeMatches:o=Bde.includeMatches,findAllMatches:a=Bde.findAllMatches,minMatchCharLength:i=Bde.minMatchCharLength,isCaseSensitive:s=Bde.isCaseSensitive,ignoreLocation:l=Bde.ignoreLocation}={}){
super(e),this._bitapSearch=new Zde(e,{location:t,threshold:n,distance:r,
includeMatches:o,findAllMatches:a,minMatchCharLength:i,isCaseSensitive:s,
ignoreLocation:l})}static get type(){return"fuzzy"}static get multiRegex(){
return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){
return this._bitapSearch.searchIn(e)}}class Yde extends Wde{constructor(e){
super(e)}static get type(){return"include"}static get multiRegex(){
return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let t,n=0
;const r=[],o=this.pattern.length
;for(;(t=e.indexOf(this.pattern,n))>-1;)n=t+o,r.push([t,n-1]);const a=!!r.length
;return{isMatch:a,score:a?0:1,indices:r}}}const Kde=[class extends Wde{
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]}}},Yde,class extends Wde{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 Wde{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 Wde{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 Wde{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 Wde{
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]}}
},Gde],Jde=Kde.length,epe=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/
;const tpe=new Set([Gde.type,Yde.type]);class npe{
constructor(e,{isCaseSensitive:t=Bde.isCaseSensitive,includeMatches:n=Bde.includeMatches,minMatchCharLength:r=Bde.minMatchCharLength,ignoreLocation:o=Bde.ignoreLocation,findAllMatches:a=Bde.findAllMatches,location:i=Bde.location,threshold:s=Bde.threshold,distance:l=Bde.distance}={}){
this.query=null,this.options={isCaseSensitive:t,includeMatches:n,
minMatchCharLength:r,findAllMatches:a,ignoreLocation:o,location:i,threshold:s,
distance:l},this.pattern=t?e:e.toLowerCase(),this.query=function(e,t={}){
return e.split("|").map((e=>{
let n=e.trim().split(epe).filter((e=>e&&!!e.trim())),r=[]
;for(let o=0,a=n.length;o<a;o+=1){const e=n[o];let a=!1,i=-1;for(;!a&&++i<Jde;){
const n=Kde[i];let o=n.isMultiMatch(e);o&&(r.push(new n(o,t)),a=!0)}
if(!a)for(i=-1;++i<Jde;){const n=Kde[i];let o=n.isSingleMatch(e);if(o){
r.push(new n(o,t));break}}}return r}))}(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:n,isCaseSensitive:r}=this.options;e=r?e:e.toLowerCase()
;let o=0,a=[],i=0;for(let s=0,l=t.length;s<l;s+=1){const r=t[s];a.length=0,o=0
;for(let t=0,s=r.length;t<s;t+=1){
const s=r[t],{isMatch:l,indices:c,score:u}=s.search(e);if(!l){i=0,o=0,a.length=0
;break}if(o+=1,i+=u,n){const e=s.constructor.type
;tpe.has(e)?a=[...a,...c]:a.push(c)}}if(o){let e={isMatch:!0,score:i/o}
;return n&&(e.indices=a),e}}return{isMatch:!1,score:1}}}const rpe=[]
;function ope(e,t){for(let n=0,r=rpe.length;n<r;n+=1){let r=rpe[n]
;if(r.condition(e,t))return new r(e,t)}return new Zde(e,t)}
const ape="$and",ipe="$or",spe="$path",lpe="$val",cpe=e=>!(!e[ape]&&!e[ipe]),upe=e=>({
[ape]:Object.keys(e).map((t=>({[t]:e[t]})))});function dpe(e,t,{auto:n=!0}={}){
const r=e=>{let o=Object.keys(e);const a=(e=>!!e[spe])(e)
;if(!a&&o.length>1&&!cpe(e))return r(upe(e))
;if((e=>!wde(e)&&Tde(e)&&!cpe(e))(e)){const r=a?e[spe]:o[0],i=a?e[lpe]:e[r]
;if(!Sde(i))throw new Error((e=>`Invalid value for key ${e}`)(r));const s={
keyId:Lde(r),pattern:i};return n&&(s.searcher=ope(i,t)),s}let i={children:[],
operator:o[0]};return o.forEach((t=>{const n=e[t];wde(n)&&n.forEach((e=>{
i.children.push(r(e))}))})),i};return cpe(e)||(e=upe(e)),r(e)}function ppe(e,t){
const n=e.matches;t.matches=[],Cde(n)&&n.forEach((e=>{
if(!Cde(e.indices)||!e.indices.length)return;const{indices:n,value:r}=e;let o={
indices:n,value:r}
;e.key&&(o.key=e.key.src),e.idx>-1&&(o.refIndex=e.idx),t.matches.push(o)}))}
function hpe(e,t){t.score=e.score}class fpe{constructor(e,t={},n){this.options={
...Bde,...t
},this.options.useExtendedSearch,this._keyStore=new Nde(this.options.keys),
this.setCollection(e,n)}setCollection(e,t){
if(this._docs=e,t&&!(t instanceof Qde))throw new Error("Incorrect 'index' type")
;this._myIndex=t||Fde(this.options.keys,this._docs,{getFn:this.options.getFn,
fieldNormWeight:this.options.fieldNormWeight})}add(e){
Cde(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const t=[]
;for(let n=0,r=this._docs.length;n<r;n+=1){const o=this._docs[n]
;e(o,n)&&(this.removeAt(n),n-=1,r-=1,t.push(o))}return t}removeAt(e){
this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex
}search(e,{limit:t=-1}={}){
const{includeMatches:n,includeScore:r,shouldSort:o,sortFn:a,ignoreFieldNorm:i}=this.options
;let s=Sde(e)?Sde(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e)
;return function(e,{ignoreFieldNorm:t=Bde.ignoreFieldNorm}){e.forEach((e=>{
let n=1;e.matches.forEach((({key:e,norm:r,score:o})=>{const a=e?e.weight:null
;n*=Math.pow(0===o&&a?Number.EPSILON:o,(a||1)*(t?1:r))})),e.score=n}))}(s,{
ignoreFieldNorm:i
}),o&&s.sort(a),_de(t)&&t>-1&&(s=s.slice(0,t)),function(e,t,{includeMatches:n=Bde.includeMatches,includeScore:r=Bde.includeScore}={}){
const o=[];return n&&o.push(ppe),r&&o.push(hpe),e.map((e=>{const{idx:n}=e,r={
item:t[n],refIndex:n};return o.length&&o.forEach((t=>{t(e,r)})),r}))
}(s,this._docs,{includeMatches:n,includeScore:r})}_searchStringList(e){
const t=ope(e,this.options),{records:n}=this._myIndex,r=[]
;return n.forEach((({v:e,i:n,n:o})=>{if(!Cde(e))return
;const{isMatch:a,score:i,indices:s}=t.searchIn(e);a&&r.push({item:e,idx:n,
matches:[{score:i,value:e,norm:o,indices:s}]})})),r}_searchLogical(e){
const t=dpe(e,this.options),n=(e,t,r)=>{if(!e.children){
const{keyId:n,searcher:o}=e,a=this._findMatches({key:this._keyStore.get(n),
value:this._myIndex.getValueForItemAtKeyId(t,n),searcher:o})
;return a&&a.length?[{idx:r,item:t,matches:a}]:[]}const o=[]
;for(let a=0,i=e.children.length;a<i;a+=1){const i=e.children[a],s=n(i,t,r)
;if(s.length)o.push(...s);else if(e.operator===ape)return[]}return o
},r=this._myIndex.records,o={},a=[];return r.forEach((({$:e,i:r})=>{if(Cde(e)){
let i=n(t,e,r);i.length&&(o[r]||(o[r]={idx:r,item:e,matches:[]
},a.push(o[r])),i.forEach((({matches:e})=>{o[r].matches.push(...e)})))}})),a}
_searchObjectList(e){
const t=ope(e,this.options),{keys:n,records:r}=this._myIndex,o=[]
;return r.forEach((({$:e,i:r})=>{if(!Cde(e))return;let a=[];n.forEach(((n,r)=>{
a.push(...this._findMatches({key:n,value:e[r],searcher:t}))
})),a.length&&o.push({idx:r,item:e,matches:a})})),o}
_findMatches({key:e,value:t,searcher:n}){if(!Cde(t))return[];let r=[]
;if(wde(t))t.forEach((({v:t,i:o,n:a})=>{if(!Cde(t))return
;const{isMatch:i,score:s,indices:l}=n.searchIn(t);i&&r.push({score:s,key:e,
value:t,idx:o,norm:a,indices:l})}));else{
const{v:o,n:a}=t,{isMatch:i,score:s,indices:l}=n.searchIn(o);i&&r.push({score:s,
key:e,value:o,norm:a,indices:l})}return r}}
fpe.version="7.0.0",fpe.createIndex=Fde,
fpe.parseIndex=function(e,{getFn:t=Bde.getFn,fieldNormWeight:n=Bde.fieldNormWeight}={}){
const{keys:r,records:o}=e,a=new Qde({getFn:t,fieldNormWeight:n})
;return a.setKeys(r),a.setIndexRecords(o),a
},fpe.config=Bde,fpe.parseQuery=dpe,function(...e){rpe.push(...e)}(npe)
;const mpe={key:0,class:"flex flex-col gap-px"},gpe=["onClick"],vpe={
class:"flex items-center gap-1.5 whitespace-nowrap"},bpe={
class:"w-20 overflow-hidden text-ellipsis text-right whitespace-nowrap"
},ype=no({__name:"EnvironmentVariableDropdown",props:{query:{},environment:{},
envVariables:{},dropdownPosition:{}},emits:["select"],
setup(e,{expose:t,emit:n}){
const r=e,o=n,a=Fn(!0),i=Fn(null),s=Fn(0),l=o3(),c=()=>{if(!l)return
;const{currentRoute:e,push:t}=l;t({name:"environment.default",params:{
workspace:e.value.params.workspace}}),a.value=!1
},u=new fpe(mde(r.envVariables),{keys:["key","value"]}),d=Bi((()=>{
const e=r.query
;if(!e)return mde(r.envVariables).slice(-4).filter((({key:e,value:t})=>""!==e||""!==t))
;const t=u.search(e,{limit:10})
;return t.length>0?t.map((e=>e.item)).filter((({key:e,value:t})=>""!==e||""!==t)):[]
})),p=e=>{o("select",e)};t({handleArrowKey:e=>{
const t="up"===e?-1:1,n=d.value.length;0!==n&&(s.value=(s.value+t+n)%n)},
handleSelect:()=>{if(s.value>=0){const e=d.value[s.value];e&&p(e.key)}}
}),go((()=>{s.value=0}));const h=Bi((()=>{var e,t;return{
left:((null==(e=r.dropdownPosition)?void 0:e.left)??0)+"px",
top:((null==(t=r.dropdownPosition)?void 0:t.top)??0)+5+"px"}}))
;return function(e,t,n={}){
const{window:r=nd,ignore:o=[],capture:a=!0,detectIframe:i=!1}=n;if(!r)return Wu
;Xu&&!ad&&(ad=!0,
Array.from(r.document.body.children).forEach((e=>e.addEventListener("click",Wu))),
r.document.documentElement.addEventListener("click",Wu));let s=!0
;const l=e=>o.some((t=>{
if("string"==typeof t)return Array.from(r.document.querySelectorAll(t)).some((t=>t===e.target||e.composedPath().includes(t)))
;{const n=td(t);return n&&(e.target===n||e.composedPath().includes(n))}
})),c=[od(r,"click",(n=>{const r=td(e)
;r&&r!==n.target&&!n.composedPath().includes(r)&&(0===n.detail&&(s=!l(n)),
s?t(n):s=!0)}),{passive:!0,capture:a}),od(r,"pointerdown",(t=>{const n=td(e)
;s=!l(t)&&!(!n||t.composedPath().includes(n))}),{passive:!0
}),i&&od(r,"blur",(n=>{setTimeout((()=>{var o;const a=td(e)
;"IFRAME"!==(null==(o=r.document.activeElement)?void 0:o.tagName)||(null==a?void 0:a.contains(r.document.activeElement))||t(n)
}),0)}))].filter(Boolean)}(i,(()=>{a.value=!1}),{ignore:[i]
}),(e,t)=>a.value?(ei(),ai(Vn(jK),{key:0,class:"scalar-client"},{
default:Ar((()=>[ui("div",{ref_key:"dropdownRef",ref:i,
class:"fixed left-0 top-0 flex flex-col p-0.75 max-h-[60svh] w-56 rounded border custom-scroll",
style:tt(h.value)
},[d.value.length?(ei(),oi("ul",mpe,[(ei(!0),oi(Wa,null,Do(d.value,((t,n)=>(ei(),
oi("li",{key:t.key,
class:it(["h-8 font-code text-xxs hover:bg-b-2 flex cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",{
"bg-b-2":n===s.value}]),onClick:e=>p(t.key)
},[ui("div",vpe,["collection"===t.source?(ei(),oi("span",{key:0,
class:"h-2.5 w-2.5 min-w-2.5 rounded-full",style:tt({
backgroundColor:Vn(fde)(e.environment)})},null,4)):(ei(),ai(Vn(oY),{key:1,
class:"w-2.5",icon:"Globe"
})),fi(" "+ht(t.key),1)]),ui("span",bpe,ht(t.value),1)],10,gpe)))),128))])):Vn(l)?(ei(),
ai(Vn(BB),{key:1,
class:"font-code text-xxs hover:bg-b-2 flex h-8 w-full justify-start gap-2 px-1.5 transition-colors duration-150",
variant:"secondary",onClick:c},{default:Ar((()=>[di(Vn(oY),{icon:"Add",size:"sm"
}),t[0]||(t[0]=fi(" Add Variable "))])),_:1})):gi("",!0),t[1]||(t[1]=ui("div",{
class:"absolute inset-0 -z-1 rounded bg-b-1 shadow-lg brightness-lifted"
},null,-1))],4)])),_:1})):gi("",!0)}}),Ope=["id"],wpe={key:0,
class:"scalar-code-copy z-context"},xpe={key:3,
class:"absolute centered-y right-7 text-orange text-xs"},kpe={key:4,
class:"required absolute centered-y right-0 pt-px pr-2 text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-has-[.cm-focused]:opacity-0 pointer-events-none"
},Spe=no({inheritAttrs:!1,__name:"CodeInput",props:{colorPicker:{type:Boolean,
default:!1},modelValue:{},error:{type:Boolean},emitOnBlur:{type:Boolean,
default:!0},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:{},type:{},nullable:{
type:Boolean,default:!1},withVariables:{type:Boolean,default:!0},importCurl:{
type:Boolean},isCopyable:{type:Boolean,default:!1},default:{}},
emits:["submit","update:modelValue","curl"],setup(e,{expose:t,emit:n}){var r
;const o=e,a=n,i=Qo(),s=i.id||`id-${ND()}`,l=Fn(!1),c=Fn(!1),u=Fn(""),d=Fn({
left:0,top:0
}),p=Fn(null),{activeEnvVariables:h,activeEnvironment:f,activeWorkspace:m}=q1(),{isReadOnly:g}=M1(),{copyToClipboard:v}=WU()
;function b(e){l.value=!1,o.emitOnBlur&&o.modelValue&&function(e){
o.handleFieldSubmit?o.handleFieldSubmit(e):a("submit",e)}(e)}const y=[]
;o.colorPicker&&y.push(mae),y.push(yde({environment:f.value,
envVariables:h.value,workspace:m.value,isReadOnly:g}),Ode)
;const O=Fn(null),{codeMirror:w}=sde({
content:tr((()=>void 0!==o.modelValue?String(o.modelValue):"")),onChange:e=>{
(function(e){var t
;e===o.modelValue||(o.importCurl&&e.trim().toLowerCase().startsWith("curl")?(a("curl",e),
null==(t=w.value)||t.dispatch({changes:{from:0,to:w.value.state.doc.length,
insert:String(o.modelValue)}
})):o.handleFieldChange?o.handleFieldChange(e):a("update:modelValue",e))
})(e),k()},onFocus:()=>l.value=!0,onBlur:e=>b(e),codeMirrorRef:O,
disableTabIndent:tr((()=>o.disableTabIndent)),
disableEnter:tr((()=>o.disableEnter)),
disableCloseBrackets:tr((()=>o.disableCloseBrackets)),
lineNumbers:tr((()=>o.lineNumbers)),language:tr((()=>o.language)),
lint:tr((()=>o.lint)),extensions:y,placeholder:tr((()=>o.placeholder))})
;null==(r=w.value)||r.focus(),Ma(w,(()=>{
w.value&&Object.prototype.hasOwnProperty.call(i,"autofocus")&&w.value.focus()}))
;const{handleDropdownSelect:x,updateDropdownVisibility:k}=function(e){
const{codeMirror:t,query:n,showDropdown:r,dropdownPosition:o}=e;function a(){
var e;return(null==(e=t.value)?void 0:e.state.selection.main.head)||0}
function i(e){var n;return null==(n=t.value)?void 0:n.coordsAtPos(e)}
function s(){const e=a();requestAnimationFrame((()=>{
const t=i(e-n.value.length-2);t&&(o.value={left:t.left,top:Math.max(t.bottom)})
}))}function l(){var e
;const l=a(),c=(null==(e=t.value)?void 0:e.state.doc.sliceString(0,l))||"",u=c.lastIndexOf("{{")
;u>c.lastIndexOf("}}")?(n.value=c.slice(u+2),r.value=!0,o.value=i(l)||{left:0,
top:0},""===n.value&&s()):r.value=!1}return Ma(n,s),Ma((()=>{var e
;return null==(e=t.value)?void 0:e.state.doc.toString()}),l),{
handleDropdownSelect:function(e){var o
;const i=`{{${e}}}`,s=a(),l=Math.max(0,s-n.value.length-2),c=s
;null==(o=t.value)||o.dispatch({changes:{from:l,to:c,insert:i}}),r.value=!1},
updateDropdownVisibility:l}}({codeMirror:w,query:u,showDropdown:c,
dropdownPosition:d}),S=Bi((()=>{var e
;return"boolean"===o.type||null!=(e=o.type)&&e.includes("boolean")||o.nullable?["true","false","null"]:["true","false"]
}));t({focus:()=>{var e;null==(e=w.value)||e.focus()}});const _=(e,t)=>{
var n,r,o
;c.value&&("down"===e?(t.preventDefault(),null==(n=p.value)||n.handleArrowKey("down")):"up"===e?(t.preventDefault(),
null==(r=p.value)||r.handleArrowKey("up")):"enter"===e&&(t.preventDefault(),
null==(o=p.value)||o.handleSelect()))};return(e,t)=>{var n
;return ei(),oi(Wa,null,[o.enum&&o.enum.length?(ei(),ai(hde,{key:0,
default:o.default,modelValue:o.modelValue,value:o.enum,
"onUpdate:modelValue":t[0]||(t[0]=e=>a("update:modelValue",e))
},null,8,["default","modelValue","value"])):"boolean"===o.type||null!=(n=o.type)&&n.includes("boolean")?(ei(),
ai(hde,{key:1,default:o.default,modelValue:o.modelValue,value:S.value,
"onUpdate:modelValue":t[1]||(t[1]=e=>a("update:modelValue",e))
},null,8,["default","modelValue","value"])):(ei(),oi("div",Oi({key:2,id:Vn(s)
},e.$attrs,{ref_key:"codeMirrorRef",ref:O,
class:["peer font-code w-full whitespace-nowrap overflow-hidden text-xs leading-[1.44] relative has-[:focus-visible]:outline has-[:focus-visible]:rounded-[4px] -outline-offset-2",{
"flow-code-input--error":e.error}],
onKeydown:[t[3]||(t[3]=Ys(Xs((e=>_("down",e)),["stop"]),["down"])),t[4]||(t[4]=Ys((e=>_("enter",e)),["enter"])),t[5]||(t[5]=Ys(Xs((e=>_("up",e)),["stop"]),["up"]))]
}),[e.isCopyable?(ei(),oi("div",wpe,[ui("button",{class:"copy-button",
type:"button",onClick:t[2]||(t[2]=e=>Vn(v)(Vn(_D)(o.modelValue)))
},[t[6]||(t[6]=ui("span",{class:"sr-only"},"Copy content",-1)),di(Vn(oY),{
icon:"Clipboard",size:"md"
})])])):gi("",!0)],16,Ope)),e.$slots.warning?(ei(),oi("div",xpe,[$o(e.$slots,"warning",{},void 0,!0)])):gi("",!0),$o(e.$slots,"icon",{},void 0,!0),e.required?(ei(),
oi("div",kpe," Required ")):gi("",!0),c.value&&o.withVariables&&!Vn(g)&&Vn(f)?(ei(),
ai(ype,{key:5,ref_key:"dropdownRef",ref:p,dropdownPosition:d.value,
envVariables:Vn(h),environment:Vn(f),query:u.value,onSelect:Vn(x)
},null,8,["dropdownPosition","envVariables","environment","query","onSelect"])):gi("",!0)],64)
}}}),_pe=g3(Spe,[["__scopeId","data-v-958f2326"]]),Epe={key:0,
class:"text-c-1 flex items-center pl-3 pr-0"},Tpe={class:"row-1 overflow-x-auto"
},Cpe=["id","readOnly","type","value"],Ape={key:2,
class:"scalar-input-required absolute centered-y right-2 pt-px text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-has-[:focus-visible]:opacity-0"
},Ppe={key:1,class:"absolute centered-y right-7 text-orange text-xs"},Dpe=no({
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:{}},emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],
setup(e,{emit:t}){const n=e,r=t,o=Fn(!0),a=Fn(!1),i=()=>{a.value||r("inputBlur")
},s=Bi((()=>"password"===n.type?o.value?"password":"text":n.type??"text"))
;return(e,t)=>(ei(),ai($3,{class:it(["relative row",e.containerClass])},{
default:Ar((()=>[e.$slots.default?(ei(),
oi("div",Epe,[$o(e.$slots,"default",{},void 0,!0),t[5]||(t[5]=fi(": "))])):gi("",!0),ui("div",Tpe,[n.enum&&n.enum.length?(ei(),
ai(hde,{key:0,canAddCustomValue:e.canAddCustomEnumValue,modelValue:n.modelValue,
value:n.enum,"onUpdate:modelValue":t[0]||(t[0]=e=>r("update:modelValue",e))
},null,8,["canAddCustomValue","modelValue","value"])):(ei(),oi(Wa,{key:1
},[o.value&&"password"===e.type?(ei(),oi("input",Oi({key:0},e.$attrs,{id:e.id,
autocomplete:"off",
class:"border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer px-2 py-1.25 -outline-offset-2",
"data-1p-ignore":"",readOnly:e.readOnly,spellcheck:"false",type:s.value,
value:e.modelValue,
onInput:t[1]||(t[1]=e=>r("update:modelValue",e.target.value??""))
}),null,16,Cpe)):(ei(),ai(_pe,Oi({key:1},e.$attrs,{id:e.id,
class:"border-none text-c-1 disabled:text-c-2 min-w-0 w-full peer",
disableCloseBrackets:"",disableTabIndent:"",max:e.max,min:e.min,
modelValue:e.modelValue??"",readOnly:e.readOnly,required:e.required,
spellcheck:"false",type:s.value,onBlur:i,
onFocus:t[2]||(t[2]=e=>r("inputFocus")),
"onUpdate:modelValue":t[3]||(t[3]=e=>r("update:modelValue",e))
}),null,16,["id","max","min","modelValue","readOnly","required","type"])),e.required?(ei(),
oi("div",Ape," Required ")):gi("",!0)],64))]),e.$slots.warning?(ei(),
oi("div",Ppe,[$o(e.$slots,"warning",{},void 0,!0)])):gi("",!0),$o(e.$slots,"icon",{},void 0,!0),"password"===e.type?(ei(),
ai(Vn(W0),{key:2,class:"-ml-.5 mr-0.75 h-6 w-6 self-center p-1.5",
icon:o.value?"Show":"Hide",label:o.value?"Show Password":"Hide Password",
onClick:t[4]||(t[4]=e=>o.value=!o.value)
},null,8,["icon","label"])):gi("",!0)])),_:3},8,["class"]))}
}),Rpe=g3(Dpe,[["__scopeId","data-v-ea527929"]]),$pe=["for"],Npe=no({
__name:"RequestAuthDataTableInput",props:{type:{},containerClass:{},required:{
type:Boolean,default:!1},modelValue:{},readOnly:{type:Boolean,default:!1}},
emits:["update:modelValue","inputFocus","inputBlur","selectVariable"],
setup(e,{emit:t}){const n=e,r=t,o=ro();return(e,t)=>(ei(),ai(Rpe,Oi({id:Vn(o),
canAddCustomEnumValue:!n.readOnly,containerClass:n.containerClass,
modelValue:n.modelValue,readOnly:n.readOnly,required:n.required,type:n.type
},e.$attrs,{onInputBlur:t[0]||(t[0]=e=>r("inputBlur")),
onInputFocus:t[1]||(t[1]=e=>r("inputFocus")),
onSelectVariable:t[2]||(t[2]=e=>r("selectVariable",e)),
"onUpdate:modelValue":t[3]||(t[3]=e=>r("update:modelValue",e))}),{
default:Ar((()=>[ui("label",{for:Vn(o)},[$o(e.$slots,"default")],8,$pe)])),
icon:Ar((()=>[$o(e.$slots,"icon")])),_:3
},16,["id","canAddCustomEnumValue","containerClass","modelValue","readOnly","required","type"]))
}}),Mpe=async(e,t,n)=>{try{if(!e)return[new Error("Flow not found"),null]
;const r=e.selectedScopes.join(" ")
;if("clientCredentials"===e.type||"password"===e.type)return Ipe(e,r,{proxyUrl:n
});{
const o=(Math.random()+1).toString(36).substring(7),a=new URL(e.authorizationUrl)
;let i=null
;if("implicit"===e.type)a.searchParams.set("response_type","token");else if("authorizationCode"===e.type&&(a.searchParams.set("response_type","code"),
"no"!==e["x-usePkce"])){const t=(()=>{const e=new Uint8Array(32)
;return crypto.getRandomValues(e),
btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")
})(),n=await(async(e,t)=>{if("plain"===t)return e
;const n=(new TextEncoder).encode(e),r=await crypto.subtle.digest("SHA-256",n)
;return btoa(String.fromCharCode(...new Uint8Array(r))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")
})(t,e["x-usePkce"]);i={codeVerifier:t,codeChallenge:n,
codeChallengeMethod:"SHA-256"===e["x-usePkce"]?"S256":"plain"
},a.searchParams.set("code_challenge",n),
a.searchParams.set("code_challenge_method",i.codeChallengeMethod)}
if(e["x-scalar-redirect-uri"].startsWith("/")){
const n=t.url||window.location.origin+window.location.pathname,r=new URL(e["x-scalar-redirect-uri"],n).toString()
;a.searchParams.set("redirect_uri",r)
}else a.searchParams.set("redirect_uri",e["x-scalar-redirect-uri"])
;a.searchParams.set("client_id",e["x-scalar-client-id"]),
a.searchParams.set("state",o),r&&a.searchParams.set("scope",r)
;const s=window.open(a,"openAuth2Window","left=100,top=100,width=800,height=600")
;return s?new Promise((t=>{const a=setInterval((()=>{var l;let c=null,u=null
;try{const e=new URL(s.location.href).searchParams
;c=e.get("access_token"),u=e.get("code")
;const t=new URLSearchParams(s.location.href.split("#")[1])
;c||(c=t.get("access_token")),u||(u=t.get("code"))}catch{}
if(s.closed||c||u)if(clearInterval(a),s.close(),c){
const e=null==(l=s.location.href.match(/state=([^&]*)/))?void 0:l[1]
;t(e===o?[null,c]:[new Error("State mismatch"),null])
}else u?new URL(s.location.href).searchParams.get("state")===o?Ipe(e,r,{code:u,
pkce:i,proxyUrl:n
}).then(t):t([new Error("State mismatch"),null]):(clearInterval(a),
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]}
},Ipe=async(e,t,{code:n,pkce:r,proxyUrl:o}={})=>{
if(!e)return[new Error("OAuth2 flow was not defined"),null]
;const a=new URLSearchParams
;a.set("client_id",e["x-scalar-client-id"]),t&&a.set("scope",t),
e.clientSecret&&a.set("client_secret",e.clientSecret),
"x-scalar-redirect-uri"in e&&e["x-scalar-redirect-uri"]&&a.set("redirect_uri",e["x-scalar-redirect-uri"]),
n?(a.set("code",n),
a.set("grant_type","authorization_code"),r&&a.set("code_verifier",r.codeVerifier)):"password"===e.type?(a.set("grant_type","password"),
a.set("username",e.username),
a.set("password",e.password)):a.set("grant_type","client_credentials");try{
const t={"Content-Type":"application/x-www-form-urlencoded"}
;t.Authorization=`Basic ${btoa(`${e["x-scalar-client-id"]}:${e.clientSecret}`)}`
;const n=iC(o,e.tokenUrl)?`${o}?${new URLSearchParams([["scalar_url",e.tokenUrl]]).toString()}`:e.tokenUrl,r=await fetch(n,{
method:"POST",headers:t,body:a}),{access_token:i}=await r.json();return[null,i]
}catch{
return[new Error("Failed to get an access token. Please check your credentials."),null]
}},Lpe={class:"h-8 flex items-center justify-self-end"},jpe={
class:"h-8 flex items-center justify-end border-t-1/2 w-full"},Bpe=no({
__name:"OAuth2",props:{scheme:{},flow:{},layout:{default:"client"}},setup(e){
const t=$B(),{toast:n}=VU(),{activeCollection:r,activeServer:o,activeWorkspace:a}=q1(),{securitySchemeMutators:i}=M1(),s=(t,n)=>i.edit(e.scheme.uid,t,n),l=async()=>{
var i,l;if(t.isLoading||null==(i=r.value)||!i.uid)return
;if(t.startLoading(),!o.value)return void n("No server selected","error")
;const[c,u]=await Mpe(e.flow,o.value,null==(l=a.value)?void 0:l.proxyUrl).finally((()=>t.stopLoading()))
;u?s(`flows.${e.flow.type}.token`,u):(console.error(c),
n((null==c?void 0:c.message)??"Failed to authorize","error"))}
;return(e,n)=>(ei(),oi(Wa,null,[e.flow.token?(ei(),oi(Wa,{key:0
},[di(Vn(M3),null,{default:Ar((()=>[di(Npe,{class:"border-r-transparent",
modelValue:e.flow.token,placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",
type:"password",
"onUpdate:modelValue":n[0]||(n[0]=t=>s(`flows.${e.flow.type}.token`,t))},{
default:Ar((()=>n[10]||(n[10]=[fi(" Access Token ")]))),_:1
},8,["modelValue"])])),_:1}),di(Vn(M3),{class:"min-w-full"},{
default:Ar((()=>[ui("div",Lpe,[di(Vn(BB),{class:"p-0 py-0.5 px-2 mr-1",
loading:Vn(t),size:"sm",variant:"outlined",
onClick:n[1]||(n[1]=t=>s(`flows.${e.flow.type}.token`,""))},{
default:Ar((()=>n[11]||(n[11]=[fi(" Clear ")]))),_:1},8,["loading"])])])),_:1
})],64)):(ei(),oi(Wa,{key:1},[di(Vn(M3),null,{
default:Ar((()=>["authorizationUrl"in e.flow?(ei(),ai(Npe,{key:0,
modelValue:e.flow.authorizationUrl,
placeholder:"https://galaxy.scalar.com/authorize",
"onUpdate:modelValue":n[2]||(n[2]=t=>s(`flows.${e.flow.type}.authorizationUrl`,t))
},{default:Ar((()=>n[12]||(n[12]=[fi(" Auth URL ")]))),_:1
},8,["modelValue"])):gi("",!0),"tokenUrl"in e.flow?(ei(),ai(Npe,{key:1,
modelValue:e.flow.tokenUrl,placeholder:"https://galaxy.scalar.com/token",
"onUpdate:modelValue":n[3]||(n[3]=t=>s(`flows.${e.flow.type}.tokenUrl`,t))},{
default:Ar((()=>n[13]||(n[13]=[fi(" Token URL ")]))),_:1
},8,["modelValue"])):gi("",!0)])),_:1
}),"x-scalar-redirect-uri"in e.flow?(ei(),ai(Vn(M3),{key:0},{
default:Ar((()=>[di(Npe,{modelValue:e.flow["x-scalar-redirect-uri"],
placeholder:"https://galaxy.scalar.com/callback",
"onUpdate:modelValue":n[4]||(n[4]=t=>s(`flows.${e.flow.type}.x-scalar-redirect-uri`,t))
},{default:Ar((()=>n[14]||(n[14]=[fi(" Redirect URL ")]))),_:1
},8,["modelValue"])])),_:1})):gi("",!0),"password"===e.flow.type?(ei(),oi(Wa,{
key:1},[di(Vn(M3),null,{default:Ar((()=>[di(Npe,{class:"text-c-2",
modelValue:e.flow.username,placeholder:"janedoe",
"onUpdate:modelValue":n[5]||(n[5]=t=>s(`flows.${e.flow.type}.username`,t))},{
default:Ar((()=>n[15]||(n[15]=[fi(" Username ")]))),_:1},8,["modelValue"])])),
_:1}),di(Vn(M3),null,{default:Ar((()=>[di(Npe,{modelValue:e.flow.password,
placeholder:"********",type:"password",
"onUpdate:modelValue":n[6]||(n[6]=t=>s(`flows.${e.flow.type}.password`,t))},{
default:Ar((()=>n[16]||(n[16]=[fi(" Password ")]))),_:1},8,["modelValue"])])),
_:1})],64)):gi("",!0),di(Vn(M3),null,{default:Ar((()=>[di(Npe,{
modelValue:e.flow["x-scalar-client-id"],placeholder:"12345",
"onUpdate:modelValue":n[7]||(n[7]=t=>s(`flows.${e.flow.type}.x-scalar-client-id`,t))
},{default:Ar((()=>n[17]||(n[17]=[fi(" Client ID ")]))),_:1
},8,["modelValue"])])),_:1}),"clientSecret"in e.flow?(ei(),ai(Vn(M3),{key:2},{
default:Ar((()=>[di(Npe,{modelValue:e.flow.clientSecret,placeholder:"XYZ123",
type:"password",
"onUpdate:modelValue":n[8]||(n[8]=t=>s(`flows.${e.flow.type}.clientSecret`,t))
},{default:Ar((()=>n[18]||(n[18]=[fi(" Client Secret ")]))),_:1
},8,["modelValue"])])),_:1})):gi("",!0),"x-usePkce"in e.flow?(ei(),ai(Vn(M3),{
key:3},{default:Ar((()=>[di(Npe,{enum:Vn(oR),modelValue:e.flow["x-usePkce"],
readOnly:"",
"onUpdate:modelValue":n[9]||(n[9]=t=>s(`flows.${e.flow.type}.x-usePkce`,t))},{
default:Ar((()=>n[19]||(n[19]=[fi(" Use PKCE ")]))),_:1
},8,["enum","modelValue"])])),_:1
})):gi("",!0),Object.keys(e.flow.scopes??{}).length?(ei(),ai(Vn(M3),{key:4},{
default:Ar((()=>[di(z3,{flow:e.flow,layout:e.layout,updateScheme:s
},null,8,["flow","layout"])])),_:1
})):gi("",!0)],64)),e.flow.token?gi("",!0):(ei(),ai(Vn(M3),{key:2,
class:"min-w-full"},{default:Ar((()=>[ui("div",jpe,[di(Vn(BB),{
class:"p-0 py-0.5 px-2 mr-1",loading:Vn(t),size:"sm",variant:"outlined",
onClick:l},{default:Ar((()=>n[20]||(n[20]=[fi(" Authorize ")]))),_:1
},8,["loading"])])])),_:1}))],64))}}),Upe={key:0,
class:"border-t min-h-8 flex text-sm"},Qpe={
class:"flex h-8 gap-2.5 px-3 max-w-full overflow-x-auto"},Fpe=["onClick"],zpe={
class:"z-10 relative"},qpe={key:4,
class:"border-t text-c-3 px-4 text-sm min-h-16 justify-center flex items-center bg-b-1"
},Hpe=no({__name:"RequestExampleAuth",props:{selectedSecuritySchemeUids:{},
layout:{default:"client"}},setup(e){
const{securitySchemes:t,securitySchemeMutators:n}=M1(),r=Bi((()=>e.selectedSecuritySchemeUids.map((e=>({
scheme:t[e]}))))),o=Fn(""),a=e=>{
if("apiKey"===e.type)return`${Ve(e.nameKey)}: ${e.in}`;if("oauth2"===e.type){
const t=Object.values(e.flows??{})[0]
;return`${Ve(e.nameKey)}: ${o.value?o.value:(null==t?void 0:t.type)??""}`}
return"http"===e.type?`${Ve(e.nameKey)}: ${e.scheme}`:`${Ve(e.nameKey)}: ${e.type}`
},i=(e,t,r)=>n.edit(e,t,r)
;return(e,t)=>(ei(!0),oi(Wa,null,Do(r.value,(({scheme:n},s)=>(ei(),oi(Wa,{
key:null==n?void 0:n.uid},[r.value.length>1?(ei(),ai(Vn(M3),{key:0,class:it({
"request-example-references-header":"reference"===e.layout})},{
default:Ar((()=>[di(Vn($3),{
class:it(["text-c-3 pl-2 font-medium flex items-center","reference"===e.layout&&"border-t "+(0!==s?"mt-2":"")])
},{default:Ar((()=>[fi(ht(a(n)),1)])),_:2},1032,["class"])])),_:2
},1032,["class"])):gi("",!0),"http"===(null==n?void 0:n.type)?(ei(),oi(Wa,{key:1
},["bearer"===n.scheme?(ei(),ai(Vn(M3),{key:0},{default:Ar((()=>[di(Npe,{
containerClass:"reference"===e.layout&&"border-t",modelValue:n.token,
placeholder:"Token",type:"password","onUpdate:modelValue":e=>i(n.uid,"token",e)
},{default:Ar((()=>t[0]||(t[0]=[fi(" Bearer Token ")]))),_:2
},1032,["containerClass","modelValue","onUpdate:modelValue"])])),_:2
},1024)):"basic"===(null==n?void 0:n.scheme)?(ei(),oi(Wa,{key:1
},[di(Vn(M3),null,{default:Ar((()=>[di(Npe,{class:"text-c-2",
containerClass:"reference"===e.layout&&"auth-blend-required border-t",
modelValue:n.username,placeholder:"janedoe",required:"",
"onUpdate:modelValue":e=>i(n.uid,"username",e)},{
default:Ar((()=>t[1]||(t[1]=[fi(" Username ")]))),_:2
},1032,["containerClass","modelValue","onUpdate:modelValue"])])),_:2
},1024),di(Vn(M3),null,{default:Ar((()=>[di(Npe,{modelValue:n.password,
placeholder:"********",type:"password",
"onUpdate:modelValue":e=>i(n.uid,"password",e)},{
default:Ar((()=>t[2]||(t[2]=[fi(" Password ")]))),_:2
},1032,["modelValue","onUpdate:modelValue"])])),_:2
},1024)],64)):gi("",!0)],64)):"apiKey"===(null==n?void 0:n.type)?(ei(),oi(Wa,{
key:2},[di(Vn(M3),null,{default:Ar((()=>[di(Npe,{
containerClass:"reference"===e.layout&&"border-t",modelValue:n.name,
placeholder:"api-key","onUpdate:modelValue":e=>i(n.uid,"name",e)},{
default:Ar((()=>t[3]||(t[3]=[fi(" Name ")]))),_:2
},1032,["containerClass","modelValue","onUpdate:modelValue"])])),_:2
},1024),di(Vn(M3),null,{default:Ar((()=>[di(Npe,{modelValue:n.value,
placeholder:"QUxMIFlPVVIgQkFTRSBBUkUgQkVMT05HIFRPIFVT",
"onUpdate:modelValue":e=>i(n.uid,"value",e)},{
default:Ar((()=>t[4]||(t[4]=[fi(" Value ")]))),_:2
},1032,["modelValue","onUpdate:modelValue"])])),_:2
},1024)],64)):"oauth2"===(null==n?void 0:n.type)?(ei(),oi(Wa,{key:3
},[di(Vn(M3),null,{
default:Ar((()=>[Object.keys(n.flows).length>1?(ei(),oi("div",Upe,[ui("div",Qpe,[(ei(!0),
oi(Wa,null,Do(null==n?void 0:n.flows,((t,n,r)=>(ei(),oi("button",{key:n,
class:it(["floating-bg py-1 text-sm border-b-[1px] border-transparent relative cursor-pointer font-medium text-c-3",{
"!text-c-1 !border-current border-b-[1px] !rounded-none":"client"===e.layout&&(o.value===n||0===r&&!o.value),
"!text-c-1 !border-current border-b-[1px] !rounded-none opacity-100":"reference"===e.layout&&(o.value===n||0===r&&!o.value)
}]),type:"button",onClick:e=>o.value=n
},[ui("span",zpe,ht(n),1)],10,Fpe)))),128))])])):gi("",!0)])),_:2
},1024),(ei(!0),oi(Wa,null,Do(null==n?void 0:n.flows,((t,r,a)=>(ei(),oi(Wa,{
key:r},[o.value===r||0===a&&!o.value?(ei(),ai(Bpe,{key:0,flow:t,layout:e.layout,
scheme:n
},null,8,["flow","layout","scheme"])):gi("",!0)],64)))),128))],64)):"openIdConnect"===(null==n?void 0:n.type)?(ei(),
oi("div",qpe," Coming soon ")):gi("",!0)],64)))),128))}
}),Vpe=g3(Hpe,[["__scopeId","data-v-6b71d6c6"]]),Zpe=e=>({id:e.uid,
label:"openIdConnect"===e.type?`${e.nameKey} (coming soon)`:e.nameKey}),Wpe={
key:0,class:"sr-only"},Xpe=no({__name:"DataTable",props:{columns:{},scroll:{
type:Boolean}},setup(e){const{cx:t}=AB()
;return(e,n)=>(ei(),oi("div",st(pi(Vn(t)(e.scroll?"overflow-x-auto custom-scroll":"overflow-visible","scalar-data-table border-t-1/2 bg-b-1"))),[ui("table",{
class:it(["grid auto-rows-auto min-h-8 mb-0",{"min-w-full w-max":e.scroll}]),
style:tt({gridTemplateColumns:e.columns.map((e=>e||"1fr")).join(" ")})
},[e.$slots.caption?(ei(),
oi("caption",Wpe,[$o(e.$slots,"caption")])):gi("",!0),$o(e.$slots,"default")],6)],16))
}}),Gpe={key:0,class:"border-t flex px-3 flex-wrap gap-x-2.5 overflow-hidden"
},Ype=["onClick"],Kpe={class:"whitespace-nowrap font-medium z-10 relative"
},Jpe={key:0,
class:"absolute bottom-[var(--scalar-border-width)] z-1 inset-x-1 h-px bg-current left-1/2 -translate-x-1/2 w-full"
},ehe={key:2,
class:"text-c-3 px-4 text-sm border-t min-h-16 justify-center flex items-center bg-b-1"
},the=no({__name:"RequestAuthDataTable",props:{selectedSecuritySchemeUids:{},
layout:{default:"client"}},setup(e){
const{securitySchemes:t}=M1(),n=w1(),r=Fn(null),o=Fn(0),a=Bi((()=>e.selectedSecuritySchemeUids[o.value]||null))
;return Ma((()=>e.selectedSecuritySchemeUids),(e=>{
e[o.value]||(o.value=Math.max(0,o.value-1))
})),(e,i)=>(ei(),oi("form",null,[e.selectedSecuritySchemeUids.length>1?(ei(),
oi("div",Gpe,[(ei(!0),
oi(Wa,null,Do(e.selectedSecuritySchemeUids,((e,n)=>(ei(),oi("div",{key:e,
class:it(["flex relative h-8 z-1 cursor-pointer -mb-[var(--scalar-border-width)]",[o.value===n?"text-c-1":"text-c-3"]])
},[ui("button",{
class:"floating-bg py-1 text-sm border-b-[1px] border-transparent relative cursor-pointer font-medium",
type:"button",onClick:e=>o.value=n
},[ui("span",Kpe,ht(Vn(t)[e]?Vn(Zpe)(Vn(t)[e]).label:""),1)],8,Ype),i[1]||(i[1]=ui("div",{
class:"absolute bottom-0 z-0 -inset-x-96 h-[var(--scalar-border-width)] bg-border"
},null,-1)),o.value===n?(ei(),
oi("div",Jpe)):gi("",!0)],2)))),128))])):gi("",!0),a.value?(ei(),ai(Vn(Xpe),{
key:1,class:it(["flex-1","reference"===e.layout&&"border-0"]),columns:[""]},{
default:Ar((()=>[di(Vpe,{layout:e.layout,selectedSecuritySchemeUids:[a.value]
},null,8,["layout","selectedSecuritySchemeUids"])])),_:1
},8,["class"])):gi("",!0),e.selectedSecuritySchemeUids.length?gi("",!0):(ei(),
oi("div",ehe," No authentication selected ")),di(R3,{scheme:r.value,state:Vn(n),
onClose:i[0]||(i[0]=e=>Vn(n).hide())},null,8,["scheme","state"])]))}
}),nhe=g3(the,[["__scopeId","data-v-77c33357"]]),rhe={
class:"bg-b-2 flex items-center"},ohe={
class:"flex flex-1 items-center gap-1.5 text-c-1"},ahe={key:0,
class:"bg-b-2 text-c-2 text-3xs inline-flex h-4 w-4 items-center justify-center rounded-full font-semibold border-1/2"
},ihe={key:0,class:"ui-not-open:invisible flex items-center gap-2 pr-1.5"
},she=no({__name:"ViewLayoutCollapse",props:{defaultOpen:{type:Boolean,
default:!0},itemCount:{default:0},layout:{default:"client"}},
setup:e=>(e,t)=>(ei(),ai(Vn(_I),{as:"div",
class:"focus-within:text-c-1 text-c-2 request-item border-b-1/2",
defaultOpen:e.defaultOpen,static:"reference"===e.layout},{
default:Ar((({open:t})=>[ui("div",rhe,[di(Vn(EI),{
class:it(["group hover:text-c-1 flex flex-1 items-center gap-2.5 overflow-hidden py-1.5 text-sm font-medium max-h-8 px-1 md:px-1.5 xl:pl-2 xl:pr-0.5 outline-none",{
"!pl-3":"reference"===e.layout}]),disabled:"reference"===e.layout},{
default:Ar((()=>["reference"!==e.layout?(ei(),ai(Vn(oY),{key:0,
class:it(["text-c-3 group-hover:text-c-1 group-focus-visible:outline ui-open:rotate-90 ui-not-open:rotate-0 rounded-px outline-offset-2"]),
icon:"ChevronRight",size:"md"})):gi("",!0),ui("div",ohe,[$o(e.$slots,"title",{
open:t}),!t&&e.itemCount?(ei(),oi("span",ahe,ht(e.itemCount),1)):gi("",!0)])])),
_:2
},1032,["class","disabled"]),e.$slots.actions?(ei(),oi("div",ihe,[$o(e.$slots,"actions",{
open:t})])):gi("",!0)]),di(Vn(TI),Oi(e.$attrs,{
class:"h-full max-h-fit rounded-b diclosure-panel"}),{
default:Ar((()=>[$o(e.$slots,"default",{open:t})])),_:2},1040)])),_:3
},8,["defaultOpen","static"]))}),lhe=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
}))),che={class:"inline-flex gap-1 items-center"},uhe={class:"flex flex-1 -mx-1"
},dhe={class:"text-c-1"},phe=no({__name:"RequestAuth",props:{
selectedSecuritySchemeUids:{},title:{},layout:{default:"client"}},
emits:["update:selectedSecuritySchemeUids"],setup(e,{emit:t}){
const n=t,{activeCollection:r,activeRequest:o}=q1(),{isReadOnly:a,securitySchemes:i,securitySchemeMutators:s,requestMutators:l,collectionMutators:c}=M1(),u=Fn(null),d=w1(),p=Fn(null),h=Bi((()=>{
var e,t
;const n=(null==(e=o.value)?void 0:e.security)??(null==(t=r.value)?void 0:t.security)??[]
;return{filteredRequirements:n.filter((e=>Object.keys(e).length)),requirements:n
}})),f=Bi((()=>{const{filteredRequirements:e,requirements:t}=h.value
;if(!t.length)return null;const n=e.length<t.length,r=n?"Optional":"Required"
;return{icon:n?"Unlock":"Lock",
text:`${1===e.length?Object.keys(e[0]||{})[0]:""} ${r}`}
})),m=Bi((()=>e.selectedSecuritySchemeUids.map((e=>{const t=i[e??""]
;if(t)return Zpe(t)})).filter(ER)));function g(e){var t,a
;if(null==(t=r.value)||!t.uid||null==(a=o.value)||!a.uid)return
;const i=e.find((e=>e.payload)),l=e.filter((e=>!e.payload)).map((({id:e})=>e))
;if(null!=i&&i.payload){const e=s.add(i.payload,r.value.uid);e&&l.push(e.uid)}
v(l),n("update:selectedSecuritySchemeUids",l)}const v=e=>{
!r.value||!o.value||(a?c.edit(r.value.uid,"selectedSecuritySchemeUids",e):l.edit(o.value.uid,"selectedSecuritySchemeUids",e))
};function b(e){p.value=e,d.show()}const y=Bi((()=>{var e
;return((null==(e=r.value)?void 0:e.securitySchemes)??[]).map((e=>i[e])).filter((e=>e))
})),O=Bi((()=>{const e=[...y.value],t=[]
;h.value.filteredRequirements.forEach((n=>{
const r=e.findIndex((e=>(null==e?void 0:e.nameKey)===Object.keys(n)[0]))
;r>-1&&(t.push(e[r]),e.splice(r,1))}))
;const n=e.map((e=>e?Zpe(e):void 0)).filter(ER),r=t.map((e=>e?Zpe(e):void 0)).filter(ER),o=[{
label:"Required authentication",options:r},{label:"Available authentication",
options:n}];return a?r.length?o:n:(o.push({label:"Add new authentication",
options:lhe}),o)}));return(t,r)=>(ei(),ai(she,{class:"group/params",
itemCount:m.value.length,layout:t.layout},{
title:Ar((()=>[ui("div",che,[ui("span",null,ht(t.title),1),f.value?(ei(),
oi("span",{key:0,class:it(["text-c-3 text-xs leading-[normal]",{
"text-c-1":"Required"===f.value.text}])},ht(f.value.text),3)):gi("",!0)])])),
actions:Ar((()=>[ui("div",uhe,[di(Vn(zK),{class:"text-xs w-72",
isDeletable:!Vn(a),modelValue:m.value,multiple:"",options:O.value,onDelete:b,
"onUpdate:modelValue":g},{default:Ar((()=>[di(Vn(BB),{
ref_key:"comboboxButtonRef",ref:u,
class:"h-auto px-1.5 py-0.75 hover:bg-b-3 text-c-1 hover:text-c-1 font-normal",
fullWidth:"",variant:"ghost"},{default:Ar((()=>{var e
;return[ui("div",dhe,ht(0===m.value.length?"Auth Type":1===m.value.length?null==(e=m.value[0])?void 0:e.label:"Multiple"),1),di(Vn(oY),{
class:"ml-1 shrink-0",icon:"ChevronDown",size:"sm"})]})),_:1},512)])),_:1
},8,["isDeletable","modelValue","options"])])])),default:Ar((()=>[di(nhe,{
layout:t.layout,selectedSecuritySchemeUids:t.selectedSecuritySchemeUids
},null,8,["layout","selectedSecuritySchemeUids"]),di(R3,{scheme:p.value,
state:Vn(d),onClose:r[0]||(r[0]=e=>Vn(d).hide()),onDelete:r[1]||(r[1]=t=>{var r
;return(t=>{var r;const o=e.selectedSecuritySchemeUids.filter((e=>e!==t))
;v(o),n("update:selectedSecuritySchemeUids",o),null==(r=u.value)||r.$el.focus(),
d.hide()})(null==(r=p.value)?void 0:r.id)})},null,8,["scheme","state"])])),_:1
},8,["itemCount","layout"]))}
}),hhe=g3(phe,[["__scopeId","data-v-456c0241"]]),fhe=["innerHTML"],mhe=(e,t)=>{
const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},ghe=mhe(no({
__name:"ServerUrl",props:{server:{},variables:{}},setup(e){const t=e,n=Bi((()=>{
var e
;return jR(((null==(e=t.server)?void 0:e.url)??"").replace(/(<([^>]+)>)/gi,""),(e=>{
var n;const r=(null==(n=t.variables)?void 0:n[e])??""
;return`<span class="base-url-variable">${""!==r?r:`{${e}}`}</span>`}))}))
;return(e,t)=>(ei(),oi("span",{class:"base-url",innerHTML:n.value},null,8,fhe))}
}),[["__scopeId","data-v-fe287df9"]]),vhe={class:"custom-scroll",tabindex:"-1"
},bhe=mhe(no({__name:"ServerUrlSelect",props:{options:{},modelValue:{},
describedBy:{}},emits:["update:modelValue"],setup(e,{emit:t}){
const n=e,r=t,o=Bi((()=>n.options.map(((e,t)=>({id:t.toString(),label:e.url??""
}))))),a=Bi({get:()=>{var e
;return null==(e=o.value)?void 0:e.find((e=>e.id===n.modelValue.toString()))},
set:e=>r("update:modelValue",parseInt((null==e?void 0:e.id)??"",10))})
;return(e,t)=>(ei(),ai(Vn(Y0),{modelValue:a.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),class:"text-sm",options:o.value,
resize:"",teleport:""},{default:Ar((()=>[di(Vn(BB),{
"aria-describedby":e.describedBy,class:it(["url-select",{
"pointer-events-none":o.value.length<=1}]),fullWidth:"",variant:"ghost"},{
default:Ar((()=>[ui("span",vhe,[$o(e.$slots,"default",{},void 0,!0)]),o.value.length>1?(ei(),
ai(Vn(oY),{key:0,icon:"ChevronDown",size:"sm"})):gi("",!0)])),_:3
},8,["aria-describedby","class"])])),_:3},8,["modelValue","options"]))}
}),[["__scopeId","data-v-2f4aa08a"]]),yhe={key:0,class:"sr-only"},Ohe=no({
__name:"ServerVariablesSelect",props:{enum:{},value:{},controls:{}},
emits:["change"],setup(e,{emit:t}){const n=e,r=t,o=Bi((()=>n.enum.map((e=>({
id:e,label:e}))))),a=Bi({get:()=>o.value.find((e=>e.id===n.value)),
set:e=>r("change",(null==e?void 0:e.id)??"")});return(e,t)=>(ei(),ai(Vn(Y0),{
modelValue:a.value,"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),
options:o.value},{default:Ar((()=>[di(Vn(BB),{"aria-controls":e.controls,
class:"variable-select px-0",fullWidth:"",variant:"ghost"},{
default:Ar((()=>[ui("span",{class:it({"text-c-1":e.value})
},[e.value?(ei(),oi("span",yhe," Selected: ")):gi("",!0),fi(" "+ht(e.value||"Select value"),1)],2),di(Vn(oY),{
icon:"ChevronDown",size:"sm"})])),_:1},8,["aria-controls"])])),_:1
},8,["modelValue","options"]))}
}),whe=mhe(Ohe,[["__scopeId","data-v-e458a761"]]),xhe=["aria-controls"],khe=mhe(no({
__name:"ServerVariablesTextbox",props:{value:{},controls:{}},emits:["change"],
setup(e,{emit:t}){const n=e,r=t,o=Bi({get:()=>n.value,set:e=>r("change",e)})
;return(e,t)=>Pr((ei(),oi("input",{
"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),"aria-controls":e.controls,
autocomplete:"off",class:"variable-textbox",placeholder:"value",
spellcheck:"false",type:"text"},null,8,xhe)),[[Bs,o.value]])}
}),[["__scopeId","data-v-9f767913"]]),She={key:0,class:"variable-container"
},_he=["for"],Ehe=no({__name:"ServerVariablesForm",props:{variables:{},
values:{},controls:{}},emits:["update:variable"],setup(e,{emit:t}){
const n=e,r=t,o=ND();function a(e,t){r("update:variable",e,t)}const i=e=>{
var t,r
;return((null==(t=n.values)?void 0:t[e])??(null==(r=n.variables)?void 0:r[e].default)??"").toString()
}
;return(e,t)=>e.variables&&Object.keys(e.variables??{}).length?(ei(),oi("div",She,[(ei(!0),
oi(Wa,null,Do(Object.keys(e.variables),(t=>{var n,r,s,l;return ei(),oi("div",{
key:t,class:"variable-container-item"},[ui("label",{class:"variable-label",
for:`${Vn(o)}-variable-${t}`
},[ui("code",null,ht(t),1)],8,_he),(null==(r=null==(n=e.variables)?void 0:n[t].enum)?void 0:r.length)?(ei(),
ai(whe,{key:0,controls:e.controls,
enum:(null==(l=null==(s=e.variables[t])?void 0:s.enum)?void 0:l.map((e=>`${e}`)))??[],
label:t,value:i(t),onChange:e=>a(t,e)
},null,8,["controls","enum","label","value","onChange"])):(ei(),ai(khe,{key:1,
id:`${Vn(o)}-variable-${t}`,controls:e.controls,value:i(t),onChange:e=>a(t,e)
},null,8,["id","controls","value","onChange"]))])})),128))])):gi("",!0)}
}),The=mhe(Ehe,[["__scopeId","data-v-40b06a7a"]]),Che={key:0},Ahe={
class:"server-form"},Phe={class:"server-form-container"},Dhe={
class:"description"},Rhe=mhe(no({__name:"ServerForm",props:{selected:{default:0
},servers:{},variables:{}},emits:["update:selected","update:variables"],
setup(e,{emit:t}){
const n=e,r=t,o=`server-selector-${ND()}`,a=`server-description-${ND()}`,i=Bi({
get:()=>n.selected,set:e=>r("update:selected",e)}),s=Bi((()=>{var e
;return null==(e=n.servers)?void 0:e[i.value]}));function l(e,t){
r("update:variables",{...n.variables,[e]:t})}return(e,t)=>{var n,r,c
;return(null==(n=e.servers)?void 0:n.length)?(ei(),
oi("div",Che,[t[2]||(t[2]=ui("label",{class:"server-form-title"
},"Server",-1)),ui("div",Ahe,[ui("div",Phe,[ui("div",null,[di(bhe,{id:o,
modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),
describedBy:a,label:"Base URL",options:e.servers},{
default:Ar((()=>[t[1]||(t[1]=ui("span",{class:"sr-only"
},"Selected:",-1)),di(ghe,{server:s.value,variables:e.variables
},null,8,["server","variables"])])),_:1},8,["modelValue","options"])]),di(The,{
controls:o,values:e.variables,variables:null==(r=s.value)?void 0:r.variables,
"onUpdate:variable":l
},null,8,["values","variables"])])]),(null==(c=s.value)?void 0:c.description)?(ei(),
oi("div",{key:0,id:a,muted:""},[ui("div",Dhe,[di(Vn(J0),{
value:s.value.description},null,8,["value"])])])):gi("",!0)])):gi("",!0)}}
}),[["__scopeId","data-v-eaa06049"]]),$he=no({__name:"BaseUrl",props:{
specification:{},defaultServerUrl:{},servers:{}},setup(e){
const t=e,n=tr(t.specification),r=tr(t.defaultServerUrl),o=tr(t.servers),{server:a,setServer:i}=WR({
specification:n,defaultServerUrl:r,servers:o}),s=Bi({
get:()=>a.selectedServer||0,set:e=>i({selectedServer:e})}),l=Bi({
get:()=>a.variables,set:e=>i({variables:e})});return(e,t)=>(ei(),ai(Rhe,{
selected:s.value,"onUpdate:selected":t[0]||(t[0]=e=>s.value=e),
variables:l.value,"onUpdate:variables":t[1]||(t[1]=e=>l.value=e),
servers:Vn(a).servers},null,8,["selected","variables","servers"]))}
}),Nhe=["onClick"],Mhe={class:"client-libraries-text"
},Ihe=["value"],Lhe=["label"],jhe=["aria-label","value"],Bhe={
"aria-hidden":"true",class:"client-libraries-icon__more"},Uhe={key:1,
class:"client-libraries-icon",height:"50",role:"presentation",
viewBox:"0 0 50 50",width:"50",xmlns:"http://www.w3.org/2000/svg"},Qhe={key:0,
"aria-hidden":"true",class:"client-libraries-text"},Fhe=mhe(no({
__name:"ClientSelector",setup(e){
const{httpClient:t,setHttpClient:n,availableTargets:r,getClientTitle:o,getTargetTitle:a}=TN(),i=Fn(),s=[{
targetKey:"shell",clientKey:"curl"},{targetKey:"ruby",clientKey:"native"},{
targetKey:"node",clientKey:"undici"},{targetKey:"php",clientKey:"guzzle"},{
targetKey:"python",clientKey:"python3"
}].filter((e=>r.value.find((t=>t.key===e.targetKey&&t.clients.find((t=>t.client===e.clientKey)))))),l=e=>`programming-language-${"js"===e?"javascript":e}`,c=e=>s.some((t=>t.targetKey===e.targetKey&&t.clientKey===e.clientKey))
;return(e,u)=>(ei(),oi("div",{ref_key:"containerRef",ref:i,
class:"client-libraries-content"},[(ei(!0),oi(Wa,null,Do(Vn(s),(e=>{return ei(),
oi("button",{key:e.clientKey,"aria-hidden":"true",
class:it(["client-libraries rendered-code-sdks",{
"client-libraries__active":(r=e,
r.targetKey===t.targetKey&&r.clientKey===t.clientKey)}]),tabindex:"-1",
type:"button",onClick:()=>Vn(n)(e)},[ui("div",{
class:it(`client-libraries-icon__${e.targetKey}`)},[di(Vn(oY),{
class:"client-libraries-icon",icon:l(e.targetKey)
},null,8,["icon"])],2),ui("span",Mhe,ht(Vn(a)(e)),1)],10,Nhe);var r
})),128)),ui("label",{class:it(["client-libraries client-libraries__select",{
"client-libraries__active":Vn(t)&&!c(Vn(t))}])},[u[2]||(u[2]=ui("span",{
class:"sr-only"},"Select Client Library",-1)),ui("select",{
class:"language-select",value:JSON.stringify(Vn(t)),
onInput:u[0]||(u[0]=e=>Vn(n)(JSON.parse(e.target.value)))
},[(ei(!0),oi(Wa,null,Do(Vn(r),(e=>(ei(),oi("optgroup",{key:e.key,label:e.title
},[(ei(!0),oi(Wa,null,Do(e.clients,(t=>(ei(),oi("option",{key:t.client,
"aria-label":`${e.title} ${Vn(o)({targetKey:e.key,clientKey:t.client})}`,
value:JSON.stringify({targetKey:e.key,clientKey:t.client})},ht(Vn(o)({
targetKey:e.key,clientKey:t.client
})),9,jhe)))),128))],8,Lhe)))),128))],40,Ihe),ui("div",Bhe,[Vn(t)&&!c(Vn(t))?(ei(),
oi("div",{key:0,class:it(`client-libraries-icon__${Vn(t).targetKey}`)
},[di(Vn(oY),{class:"client-libraries-icon",icon:l(Vn(t).targetKey)
},null,8,["icon"])],2)):(ei(),oi("svg",Uhe,u[1]||(u[1]=[ui("g",{
fill:"currentColor","fill-rule":"nonzero"},[ui("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)])))]),Vn(r).length?(ei(),oi("span",Qhe," More ")):gi("",!0)],2)],512))}
}),[["__scopeId","data-v-b29373e8"]]),zhe={key:0},qhe={
class:"selected-client card-footer",muted:""},Hhe=mhe(no({
__name:"ClientLibraries",setup(e){
const{availableTargets:t,httpTargetTitle:n,httpClientTitle:r}=TN()
;return(e,o)=>Vn(t).length?(ei(),oi("div",zhe,[o[0]||(o[0]=ui("div",{
class:"client-libraries-heading"
},"Client Libraries",-1)),ui("div",null,[di(Fhe)]),ui("div",qhe,ht(Vn(r))+" "+ht(Vn(n)),1)])):gi("",!0)
}}),[["__scopeId","data-v-35fd541a"]]),Vhe={class:"download"
},Zhe=["href"],Whe=mhe(no({__name:"DownloadLink",props:{specTitle:{}},setup(e){
const t=e,n=la(v$),r=la(y$),o=()=>{k$.emit({id:"",specTitle:t.specTitle})}
;return(e,t)=>{var a,i,s
;return ei(),oi("div",Vhe,[(null==(a=Vn(n))?void 0:a())?gi("",!0):(ei(),oi(Wa,{
key:0},[(null==(i=Vn(r))?void 0:i())?(ei(),oi("a",{key:0,
class:"download-button",download:"",href:null==(s=Vn(r))?void 0:s(),
target:"_blank"}," Download OpenAPI Document ",8,Zhe)):(ei(),oi("button",{key:1,
class:"download-button",role:"link",type:"button",onClick:o
}," Download OpenAPI Document "))],64))])}}
}),[["__scopeId","data-v-fd1562fa"]]),Xhe={class:"badge"}
;const Ghe=mhe({},[["render",function(e,t){
return ei(),oi("div",Xhe,[$o(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-190574ac"]]),Yhe=no({__name:"IntersectionObserver",
props:{id:{},is:{}},emits:["intersecting"],setup(e,{emit:t}){
const n=e,r=t,o=Fn(),a=e=>{const t=e.offsetHeight
;return`${t/2}px 0px ${t/2}px 0px`};return go((()=>{if(o.value){const t={
rootMargin:a(o.value),
threshold:(e=o.value,e.offsetHeight<window.innerHeight?.8:.5)}
;!function(e,t,n={}){
const{root:r,rootMargin:o="0px",threshold:a=.1,window:i=nd,immediate:s=!0}=n,l=id((()=>i&&"IntersectionObserver"in i)),c=Bi((()=>{
const t=zu(e);return(Array.isArray(t)?t:[t]).map(td).filter(Hu)}));let u=Wu
;const d=Fn(s),p=l.value?Ma((()=>[c.value,td(r),d.value]),(([e,n])=>{
if(u(),!d.value)return;if(!e.length)return;const r=new IntersectionObserver(t,{
root:td(n),rootMargin:o,threshold:a});e.forEach((e=>e&&r.observe(e))),u=()=>{
r.disconnect(),u=Wu}}),{immediate:s,flush:"post"}):Wu,h=()=>{u(),p(),d.value=!1}
;Fu(h)}(o,(([{isIntersecting:e}])=>{e&&n.id&&r("intersecting")}),t)}var e
})),(e,t)=>(ei(),ai(Co(e.is??"div"),{id:e.id,ref_key:"intersectionObserverRef",
ref:o},{default:Ar((()=>[$o(e.$slots,"default")])),_:3},8,["id"]))}
}),Khe=mhe(no({__name:"Section",props:{id:{},label:{}},setup(e){
const t=e,{getSectionId:n,isIntersectionEnabled:r,replaceUrlState:o}=U$(),{setCollapsedSidebarItem:a}=dN()
;function i(){var e,i
;t.label&&r.value&&(o(t.id??""),((null==(e=t.id)?void 0:e.startsWith("model"))||(null==(i=t.id)?void 0:i.startsWith("webhook")))&&a(n(t.id),!0))
}return(e,t)=>(ei(),ai(Yhe,{is:"section",id:e.id,class:"section",
onIntersecting:i},{default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3
},8,["id"]))}}),[["__scopeId","data-v-64ccd510"]]),Jhe={
class:"section-accordion-button-content"},efe={key:0,
class:"section-accordion-button-actions"},tfe={key:0,
class:"section-accordion-description"},nfe={
class:"section-accordion-content-card"},rfe=mhe(no({__name:"SectionAccordion",
props:{id:{},transparent:{type:Boolean}},setup(e){
const t=Fn(),n=function(e,t={}){
const{delayEnter:n=0,delayLeave:r=0,window:o=nd}=t,a=Fn(!1);let i;const s=e=>{
const t=e?n:r
;i&&(clearTimeout(i),i=void 0),t?i=setTimeout((()=>a.value=e),t):a.value=e}
;return o?(od(e,"mouseenter",(()=>s(!0)),{passive:!0
}),od(e,"mouseleave",(()=>s(!1)),{passive:!0}),a):a}(t)
;return(e,r)=>(ei(),ai(Yhe,{id:e.id,class:"section-wrapper"},{
default:Ar((()=>[di(Vn(_I),{as:"section",class:it(["section-accordion",{
"section-accordion-transparent":e.transparent}])},{
default:Ar((({open:r})=>[di(Vn(EI),{ref_key:"button",ref:t,
class:"section-accordion-button"},{
default:Ar((()=>[ui("div",Jhe,[$o(e.$slots,"title",{},void 0,!0)]),e.$slots.actions?(ei(),
oi("div",efe,[$o(e.$slots,"actions",{active:Vn(n)||r
},void 0,!0)])):gi("",!0),di(Vn(oY),{class:"section-accordion-chevron",
icon:r?"ChevronDown":"ChevronRight"},null,8,["icon"])])),_:2},1536),di(Vn(TI),{
class:"section-accordion-content"},{default:Ar((()=>[e.$slots.description?(ei(),
oi("div",tfe,[$o(e.$slots,"description",{},void 0,!0)])):gi("",!0),ui("div",nfe,[$o(e.$slots,"default",{},void 0,!0)])])),
_:3})])),_:3},8,["class"])])),_:3},8,["id"]))}
}),[["__scopeId","data-v-07cabcb0"]]),ofe={class:"section-column"}
;const afe=mhe({},[["render",function(e,t){
return ei(),oi("div",ofe,[$o(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-699c28e3"]]),ife={class:"section-columns"}
;const sfe=mhe({},[["render",function(e,t){
return ei(),oi("div",ife,[$o(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-8b9602bf"]]),lfe={class:"section-container"}
;const cfe=mhe({},[["render",function(e,t){
return ei(),oi("div",lfe,[$o(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-1913755a"]]),ufe={class:"section-accordion-wrapper"
},dfe={class:"section-accordion-title"},pfe=mhe(no({
__name:"SectionContainerAccordion",
setup:e=>(e,t)=>(ei(),oi("div",ufe,[di(Vn(_I),{as:"div",
class:"section-accordion",defaultOpen:""},{default:Ar((({open:t})=>[di(Vn(EI),{
class:"section-accordion-button"},{default:Ar((()=>[di(Vn(oY),{
class:"section-accordion-chevron",icon:t?"ChevronDown":"ChevronRight"
},null,8,["icon"]),ui("div",dfe,[$o(e.$slots,"title",{},void 0,!0)])])),_:2
},1024),di(Vn(TI),{class:"section-accordion-content"},{
default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})]))
}),[["__scopeId","data-v-1a30b4ff"]]),hfe=mhe(no({__name:"LoadingSkeleton",
props:{lines:{default:1}},
setup:e=>(e,t)=>(ei(!0),oi(Wa,null,Do([...Array(e.lines).keys()],(t=>(ei(),
oi("div",{key:t,class:it(["loading",{"single-line":1===e.lines}])
},null,2)))),128))}),[["__scopeId","data-v-c90b2c46"]]),ffe={
class:"section-content"},mfe=mhe(no({__name:"SectionContent",props:{loading:{
type:Boolean,default:!1}},
setup:e=>(e,t)=>(ei(),oi("div",ffe,[e.loading?(ei(),ai(hfe,{key:1,lines:8
})):$o(e.$slots,"default",{key:0},void 0,!0)]))
}),[["__scopeId","data-v-9735459e"]]),gfe={class:"section-header-wrapper"
},vfe=mhe(no({__name:"SectionHeader",props:{loading:{type:Boolean,default:!1},
tight:{type:Boolean,default:!1},level:{default:1}},
setup:e=>(e,t)=>(ei(),oi("div",gfe,[e.loading?(ei(),ai(hfe,{key:0
})):(ei(),ai(Co(`h${e.level}`),{key:1,class:it(["section-header",{tight:e.tight
}])},{default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3
},8,["class"]))]))}),[["__scopeId","data-v-b6aef53d"]]),bfe={key:0,
class:"screenreader-only"},yfe=mhe(no({__name:"ScreenReader",props:{if:{
type:Boolean,default:!0}},
setup:e=>(e,t)=>e.$props.if?(ei(),oi("span",bfe,[$o(e.$slots,"default",{},void 0,!0)])):$o(e.$slots,"default",{
key:1},void 0,!0)}),[["__scopeId","data-v-681ebf2c"]]),Ofe={class:"label"},wfe={
class:"anchor"},xfe=mhe(no({__name:"Anchor",props:{id:{}},setup(e){
const{copyToClipboard:t}=WU(),{getHashedUrl:n}=U$()
;return(e,r)=>(ei(),oi("span",Ofe,[$o(e.$slots,"default",{},void 0,!0),ui("span",wfe,[r[4]||(r[4]=ui("span",null,"​",-1)),ui("button",{
class:"anchor-copy",type:"button",onClick:r[0]||(r[0]=Xs((r=>{
return Vn(t)((o=e.id,n(o)));var o}),["stop"]))},[r[3]||(r[3]=ui("span",{
"aria-hidden":"true"},"#",-1)),di(yfe,null,{
default:Ar((()=>[r[1]||(r[1]=fi('Copy link to "')),$o(e.$slots,"default",{},void 0,!0),r[2]||(r[2]=fi('"'))])),
_:3})])])]))}
}),[["__scopeId","data-v-3cb2dd80"]]),kfe=["aria-expanded"],Sfe=["id"],_fe=mhe(no({
__name:"CompactSection",props:{id:{},label:{}},setup(e){
const t=e,{hash:n}=U$(),r=Fn(!1);return Ma(n,(async e=>{
e!==t.id||r.value||(r.value=!0,await yr(),w$(t.id))}),{immediate:!0
}),(e,t)=>(ei(),oi("div",{"aria-expanded":r.value,class:"collapsible-section"
},[ui("div",{id:e.id,class:it(["collapsible-section-trigger",{
"collapsible-section-trigger-open":r.value}]),
onClick:t[0]||(t[0]=e=>r.value=!r.value)},[di(Vn(oY),{
icon:r.value?"ChevronDown":"ChevronRight",size:"md",thickness:"1.5"
},null,8,["icon"]),di(xfe,{id:e.id,class:"collapsible-section-header"},{
default:Ar((()=>[$o(e.$slots,"heading",{},void 0,!0)])),_:3
},8,["id"])],10,Sfe),r.value?(ei(),ai(Khe,{key:0,
class:"collapsible-section-content",label:e.label},{
default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3
},8,["label"])):gi("",!0)],8,kfe))}}),[["__scopeId","data-v-b32ceff4"]]),Efe={
key:0,class:"introduction-description"},Tfe=mhe(no({__name:"Description",props:{
value:{}},setup(e){const t=e,n=Bi((()=>{if(!t.value)return[];const e=new HT
;return FT(t.value).map((t=>{const[n]=UT(t);return{id:n?r({...n,
slug:e.slug(n.value)}):void 0,content:t}}))
})),{getHeadingId:r,isIntersectionEnabled:o,replaceUrlState:a}=U$()
;const i=new HT,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,t)=>e.value?(ei(),
oi("div",Efe,[(ei(!0),oi(Wa,null,Do(n.value,((e,t)=>(ei(),oi(Wa,{key:t
},[e.id?(ei(),ai(Yhe,{key:0,id:e.id,class:"introduction-description-heading",
onIntersecting:()=>function(e=""){o.value&&a(e)}(e.id)},{
default:Ar((()=>[di(Vn(J0),{transform:s,transformType:"heading",value:e.content
},null,8,["value"])])),_:2},1032,["id","onIntersecting"])):(ei(),ai(Vn(J0),{
key:1,value:e.content,withImages:""
},null,8,["value"]))],64)))),128))])):gi("",!0)}
}),[["__scopeId","data-v-a9d504b8"]]),Cfe={class:"badges"},Afe={
class:"sticky-cards"},Pfe=mhe(no({__name:"Introduction",props:{info:{},
parsedSpec:{}},setup(e){
const t=e,n=new HT,r=Bi((()=>t.parsedSpec.openapi??t.parsedSpec.swagger??"")),o=Bi((()=>n.slug(t.info.title??"")))
;return(e,t)=>(ei(),ai(Vn(cfe),null,{default:Ar((()=>[di(Vn(Khe),{
class:"introduction-section"},{default:Ar((()=>[di(Vn(mfe),{
loading:!e.info.description&&!e.info.title},{
default:Ar((()=>[ui("div",Cfe,[e.info.version?(ei(),ai(Vn(Ghe),{key:0},{
default:Ar((()=>[fi(ht(e.info.version),1)])),_:1
})):gi("",!0),r.value?(ei(),ai(Vn(Ghe),{key:1},{
default:Ar((()=>[fi(" OAS "+ht(r.value),1)])),_:1})):gi("",!0)]),di(Vn(vfe),{
level:1,loading:!e.info.title,tight:""},{
default:Ar((()=>[fi(ht(e.info.title),1)])),_:1},8,["loading"]),di(Whe,{
specTitle:o.value},null,8,["specTitle"]),di(Vn(sfe),null,{
default:Ar((()=>[di(Vn(afe),null,{default:Ar((()=>[di(Tfe,{
value:e.info.description},null,8,["value"])])),_:1
}),e.$slots.aside?(ei(),ai(Vn(afe),{key:0},{
default:Ar((()=>[ui("div",Afe,[$o(e.$slots,"aside",{},void 0,!0)])])),_:3
})):gi("",!0)])),_:3})])),_:3
},8,["loading"]),$o(e.$slots,"after",{},void 0,!0)])),_:3})])),_:3}))}
}),[["__scopeId","data-v-fbd64817"]]),Dfe=no({__name:"Lazy",props:{id:{},
isLazy:{type:Boolean,default:!0},lazyTimeout:{default:0}},setup(e){
const t=e,n=Fn(!t.isLazy);return t.isLazy?((e=()=>{})=>{
"undefined"==typeof window||("requestIdleCallback"in window?setTimeout((()=>window.requestIdleCallback(e)),t.lazyTimeout):setTimeout((()=>yr(e)),t.lazyTimeout??300))
})((()=>{n.value=!0,t.id&&yr((()=>q$.emit({id:t.id})))
})):t.id&&yr((()=>q$.emit({id:t.id}))),(e,t)=>n.value?$o(e.$slots,"default",{
key:0}):gi("",!0)}
}),Rfe=(e,t=2)=>e>1e3?(e/1e3).toFixed(t)+"s":e+"ms",$fe=e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.toLowerCase().slice(1))).join("-")
;for(var Nfe="(?:"+["\\|\\|","\\&\\&",";;","\\|\\&","\\<\\(","\\<\\<\\<",">>",">\\&","<\\&","[&;()|<>]"].join("|")+")",Mfe=new RegExp("^"+Nfe+"$"),Ife="|&;()<> \\t",Lfe=/^#$/,jfe="",Bfe=0;Bfe<4;Bfe++)jfe+=(4294967296*Math.random()).toString(16)
;var Ufe=new RegExp("^"+jfe);function Qfe(e,t,n){n||(n={})
;var r=n.escape||"\\",o=new RegExp(["("+Nfe+")","("+("(\\"+r+"['\""+Ife+"]|[^\\s'\""+Ife+"])+")+"|\"((\\\\\"|[^\"])*?)\"|'((\\\\'|[^'])*?)')+"].join("|"),"g"),a=function(e,t){
for(var n,r=t.lastIndex,o=[];n=t.exec(e);)o.push(n),
t.lastIndex===n.index&&(t.lastIndex+=1);return t.lastIndex=r,o}(e,o)
;if(0===a.length)return[];t||(t={});var i=!1;return a.map((function(n){
var o=n[0];if(o&&!i){if(Mfe.test(o))return{op:o};var a,s=!1,l=!1,c="",u=!1
;for(a=0;a<o.length;a++){var d=o.charAt(a)
;if(u=u||!s&&("*"===d||"?"===d),l)c+=d,
l=!1;else if(s)d===s?s=!1:"'"==s?c+=d:d===r?(a+=1,
c+='"'===(d=o.charAt(a))||d===r||"$"===d?d:r+d):c+="$"===d?h():d;else if('"'===d||"'"===d)s=d;else{
if(Mfe.test(d))return{op:o};if(Lfe.test(d)){i=!0;var p={
comment:e.slice(n.index+a+1)};return c.length?[c,p]:[p]}
d===r?l=!0:c+="$"===d?h():d}}return u?{op:"glob",pattern:c}:c}function h(){
var e,n;a+=1;var r=o.charAt(a);if("{"===r){
if(a+=1,"}"===o.charAt(a))throw new Error("Bad substitution: "+o.slice(a-2,a+1))
;if((e=o.indexOf("}",a))<0)throw new Error("Bad substitution: "+o.slice(a))
;n=o.slice(a,e),a=e}else if(/[*@#?$!_-]/.test(r))n=r,a+=1;else{var i=o.slice(a)
;(e=i.match(/[^\w\d_]/))?(n=i.slice(0,e.index),a+=e.index-1):(n=i,a=o.length)}
return function(e,t,n){var r="function"==typeof e?e(n):e[n]
;return void 0===r&&""!=n?r="":void 0===r&&(r="$"),
"object"==typeof r?t+jfe+JSON.stringify(r)+jfe:t+r}(t,"",n)}
})).reduce((function(e,t){return void 0===t?e:e.concat(t)}),[])}
var Ffe=function(e,t,n){var r=Qfe(e,t,n)
;return"function"!=typeof t?r:r.reduce((function(e,t){
if("object"==typeof t)return e.concat(t)
;var n=t.split(RegExp("("+jfe+".*?"+jfe+")","g"))
;return 1===n.length?e.concat(n[0]):e.concat(n.filter(Boolean).map((function(e){
return Ufe.test(e)?JSON.parse(e.split(jfe)[1]):e})))}),[])};function zfe(e,t){
t.method=e.next().value.toLowerCase()}function qfe(e,t){
const n=new URL(e.next().value.replace(/['"]/g,""))
;t.servers=[n.origin],t.path="/"!==n.pathname?n.pathname:"",
t.url=t.servers[0]+t.path,t.queryParameters=Zfe(n.search)}function Hfe(e,t){
const n=e.next().value.replace(/['"]/g,"").split(/:(.*)/)
;t.headers=t.headers||{},
void 0!==n[1]?t.headers[n[0].trim()]=n[1].trim():t.headers[n[0].trim()]=""}
function Vfe(e,t){const n=e.next().value.replace(/['"]/g,"").split("=")
;t.pathVariables=t.pathVariables||{},
void 0!==n[1]?t.pathVariables[n[0].trim()]=n[1].trim():t.pathVariables[n[0].trim()]=""
}function Zfe(e){const t=e.indexOf("?"),n=[]
;return-1!==t&&e.substring(t+1).split("&").forEach((e=>{const[t,r]=e.split("=")
;if(t){const e=decodeURIComponent(t.trim()),o=r?decodeURIComponent(r.trim()):""
;n.push({key:e,value:o})}})),n}function Wfe(e,t){
const n=e.replace(/['"]/g,"").split(/:(.+)/)
;t.headers=t.headers||{},n[0]&&(void 0!==n[1]?t.headers[n[0].trim()]=n[1].trim():t.headers[n[0].trim()]="")
}function Xfe(e,t){const n=e.next().value.split(":")
;t.headers=t.headers||{},t.headers.Authorization=n[1]}function Gfe(e,t){
const n=e.next().value;t.headers=t.headers||{},t.headers.Cookie=n}
/*! js-cookie v3.0.5 | MIT */function Yfe(e){
for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)e[r]=n[r]}
return e}var Kfe=function e(t,n){function r(e,r,o){
if("undefined"!=typeof document){
"number"==typeof(o=Yfe({},n,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),
o.expires&&(o.expires=o.expires.toUTCString()),
e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape)
;var a=""
;for(var i in o)o[i]&&(a+="; "+i,!0!==o[i]&&(a+="="+o[i].split(";")[0]))
;return document.cookie=e+"="+t.write(r,e)+a}}return Object.create({set:r,
get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){
for(var n=document.cookie?document.cookie.split("; "):[],r={},o=0;o<n.length;o++){
var a=n[o].split("="),i=a.slice(1).join("=");try{var s=decodeURIComponent(a[0])
;if(r[s]=t.read(i,s),e===s)break}catch(pM){}}return e?r[e]:r}},
remove:function(e,t){r(e,"",Yfe({},t,{expires:-1}))},withAttributes:function(t){
return e(this.converter,Yfe({},this.attributes,t))},withConverter:function(t){
return e(Yfe({},this.converter,t),this.attributes)}},{attributes:{
value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){
return'"'===e[0]&&(e=e.slice(1,-1)),
e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){
return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)
}},{path:"/"}),Jfe={
removeLeadingAndTrailingHTTPWhitespace:e=>e.replace(/^[ \t\n\r]+/u,"").replace(/[ \t\n\r]+$/u,""),
removeTrailingHTTPWhitespace:e=>e.replace(/[ \t\n\r]+$/u,""),
isHTTPWhitespaceChar:e=>" "===e||"\t"===e||"\n"===e||"\r"===e,
solelyContainsHTTPTokenCodePoints:e=>/^[-!#$%&'*+.^_`|~A-Za-z0-9]*$/u.test(e),
soleyContainsHTTPQuotedStringTokenCodePoints:e=>/^[\t\u0020-\u007E\u0080-\u00FF]*$/u.test(e),
asciiLowercase:e=>e.replace(/[A-Z]/gu,(e=>e.toLowerCase())),
collectAnHTTPQuotedString:(e,t)=>{let n="";for(t++;;){
for(;t<e.length&&'"'!==e[t]&&"\\"!==e[t];)n+=e[t],++t;if(t>=e.length)break
;const r=e[t];if(++t,"\\"!==r)break;if(t>=e.length){n+="\\";break}n+=e[t],++t}
return[n,t]}}
;const{asciiLowercase:eme,solelyContainsHTTPTokenCodePoints:tme,soleyContainsHTTPQuotedStringTokenCodePoints:nme}=Jfe
;var rme=class{constructor(e){this._map=e}get size(){return this._map.size}
get(e){return e=eme(String(e)),this._map.get(e)}has(e){
return e=eme(String(e)),this._map.has(e)}set(e,t){
if(e=eme(String(e)),t=String(t),
!tme(e))throw new Error(`Invalid MIME type parameter name "${e}": only HTTP token code points are valid.`)
;if(!nme(t))throw new Error(`Invalid MIME type parameter value "${t}": only HTTP quoted-string token code points are valid.`)
;return this._map.set(e,t)}clear(){this._map.clear()}delete(e){
return e=eme(String(e)),this._map.delete(e)}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]()}}
;const{removeLeadingAndTrailingHTTPWhitespace:ome,removeTrailingHTTPWhitespace:ame,isHTTPWhitespaceChar:ime,solelyContainsHTTPTokenCodePoints:sme,soleyContainsHTTPQuotedStringTokenCodePoints:lme,asciiLowercase:cme,collectAnHTTPQuotedString:ume}=Jfe
;const{solelyContainsHTTPTokenCodePoints:dme}=Jfe;const pme=rme,hme=e=>{e=ome(e)
;let t=0,n="";for(;t<e.length&&"/"!==e[t];)n+=e[t],++t
;if(0===n.length||!sme(n))return null;if(t>=e.length)return null;++t;let r=""
;for(;t<e.length&&";"!==e[t];)r+=e[t],++t
;if(r=ame(r),0===r.length||!sme(r))return null;const o={type:cme(n),
subtype:cme(r),parameters:new Map};for(;t<e.length;){for(++t;ime(e[t]);)++t
;let n="";for(;t<e.length&&";"!==e[t]&&"="!==e[t];)n+=e[t],++t
;if(n=cme(n),t<e.length){if(";"===e[t])continue;++t}let r=null
;if('"'===e[t])for([r,t]=ume(e,t);t<e.length&&";"!==e[t];)++t;else{
for(r="";t<e.length&&";"!==e[t];)r+=e[t],++t;if(r=ame(r),""===r)continue}
n.length>0&&sme(n)&&lme(r)&&!o.parameters.has(n)&&o.parameters.set(n,r)}return o
},fme=e=>{let t=`${e.type}/${e.subtype}`;if(0===e.parameters.size)return t
;for(let[n,r]of e.parameters)t+=";",
t+=n,t+="=",dme(r)&&0!==r.length||(r=r.replace(/(["\\])/gu,"\\$1"),
r=`"${r}"`),t+=r;return t
},{asciiLowercase:mme,solelyContainsHTTPTokenCodePoints:gme}=Jfe
;const vme=mS(class{constructor(e){e=String(e);const t=hme(e)
;if(null===t)throw new Error(`Could not parse MIME type string "${e}"`)
;this._type=t.type,
this._subtype=t.subtype,this._parameters=new pme(t.parameters)}static parse(e){
try{return new this(e)}catch(pM){return null}}get essence(){
return`${this.type}/${this.subtype}`}get type(){return this._type}set type(e){
if(0===(e=mme(String(e))).length)throw new Error("Invalid type: must be a non-empty string")
;if(!gme(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=mme(String(e))).length)throw new Error("Invalid subtype: must be a non-empty string")
;if(!gme(e))throw new Error(`Invalid subtype ${e}: must contain only HTTP token code points`)
;this._subtype=e}get parameters(){return this._parameters}toString(){
return fme(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}}),bme={
"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/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"}
},yme=Object.entries(bme).filter((([,e])=>null==e?void 0:e.raw)).map((([e])=>e))
;const Ome="YOUR_SECRET_TOKEN",wme=({request:e,example:t,server:n,securitySchemes:r,selectedSecuritySchemeUids:o=[],proxyUrl:a,status:i,environment:s,globalCookies:l})=>{
try{
const c=s??{},u=new AbortController,d=t.parameters.path.reduce(((e,t)=>(t.enabled&&(e[t.key]=I1(t.value,c)),
e)),{}),p=I1((null==n?void 0:n.url)??"",c),h=I1(e.path,d);let f=p||h
;if(!f)throw gj
;Object.entries((null==n?void 0:n.variables)??{}).forEach((([e,t])=>{f=I1(f,{
[e]:d[e]||t.default})}));const m=function(e,t){const n=new URLSearchParams
;return e.parameters.query.forEach((e=>{
e.enabled&&e.value&&n.append(e.key,I1(e.value,t))})),n}(t,c),g=function(e,t){
const n={};return e.parameters.headers.forEach((e=>{
const r=e.key.trim().toLowerCase()
;e.enabled&&("content-type"!==r||"multipart/form-data"!==e.value)&&(n[r]=I1(e.value,t))
})),n}(t,c),{body:v}=function(e,t,n){var r,o,a;if(!xR(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",r="form-data"===t.body.formData.encoding?new FormData:new URLSearchParams
;return t.body.formData.value.forEach((e=>{
!e.enabled||!e.key||(e.file&&r instanceof FormData?r.append(e.key,e.file,e.file.name):void 0!==e.value&&r.append(e.key,I1(e.value,n)))
})),{body:r,contentType:e}}return"raw"===t.body.activeBody?{
body:I1((null==(r=t.body.raw)?void 0:r.value)??"",n),
contentType:null==(o=t.body.raw)?void 0:o.encoding
}:"binary"===t.body.activeBody?{body:t.body.binary,
contentType:null==(a=t.body.binary)?void 0:a.type}:{body:void 0,
contentType:void 0}}(e.method,t,c)
;if(function({example:e,env:t,globalCookies:n,domain:r,proxyUrl:o}){let a;try{
a=new URL(o||r).host}catch{typeof window<"u"&&(a=window.location.host)}const i={
domain:a,sameSite:"None",secure:!0},s=Kfe.get()
;Object.keys(s).forEach((e=>Kfe.remove(e))),e.parameters.cookies.forEach((e=>{
e.enabled&&Kfe.set(e.key,I1(e.value,t))})),n.forEach((e=>{var t
;const{name:n,value:o,...i}=e
;(i.domain===r||(null==(t=i.domain)?void 0:t.startsWith("."))&&r.endsWith(i.domain??""))&&Kfe.set(n,o,{
domain:a,path:i.path,expires:i.expires?new Date(i.expires):void 0,
httpOnly:i.httpOnly,secure:i.secure})}))}({example:t,env:c,globalCookies:l,
domain:f,proxyUrl:a}),null==o||o.forEach((e=>{var t;const n=r[e];if(n){
if("apiKey"===n.type){const e=I1(n.value,c)||Ome;"header"===n.in&&(g[n.name]=e),
"query"===n.in&&m.append(n.name,e),"cookie"===n.in&&Kfe.set(n.name,e)}
if("http"===n.type)if("basic"===n.scheme){
const e=`${I1(n.username,c)}:${I1(n.password,c)}`
;g.Authorization=`Basic ${":"===e?"username:password":btoa(e)}`}else{
const e=I1(n.token,c);g.Authorization=`Bearer ${e||Ome}`}if("oauth2"===n.type){
const e=null==(t=Object.values(n.flows).find((e=>e.token)))?void 0:t.token
;g.Authorization=`Bearer ${e||Ome}`}}})),f&&(!aC(f)||typeof window<"u")){
const e=aC(f)?tC(window.location.origin,f):function(e){
return bD.PATH.test(e)||e.startsWith("http://")||e.startsWith("https://")?e:`http://${e}`
}(f),t=new URL(e),r=new URL(h,t.origin),o=new URL(t)
;null!=n&&n.url&&("/"===t.pathname?o.pathname=h:o.pathname=t.pathname+h),
o.search=new URLSearchParams([...t.searchParams,...r.searchParams,...m]).toString(),
f=o.toString()}
const b=new URLSearchParams([["scalar_url",f.toString()]]),y=iC(a,f)?`${a}?${b.toString()}`:f,O=new Request(y,{
method:e.method.toUpperCase(),body:v,headers:g});return[null,{request:O,
sendRequest:async()=>{null==i||i.emit("start");const n=Date.now();try{
const r=await fetch(O,{signal:u.signal});null==i||i.emit("stop")
;const o=((e,t=!1)=>{var n,r;const o=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 o[e]))
;const a=Object.keys(o).find((e=>"x-scalar-modified-headers"===e.toLowerCase())),i=a?(null==(r=null==(n=o[a])?void 0:n.toString().split(", "))?void 0:r.map((e=>e.toLowerCase())))??[]:[]
;return Object.keys(o).forEach((e=>{i.includes(e.toLowerCase())&&delete o[e]})),
a&&delete o[a],Object.keys(o).forEach((e=>{const t=/^x-scalar-original-/i
;if(t.test(e)){const n=e.replace(t,"");o[e]&&(o[n]=o[e],delete o[e])}
})),Object.keys(o).forEach((e=>{const t=$fe(e)
;e!==t&&o[e]&&(o[t]=o[e],delete o[e])
})),Object.fromEntries(Object.entries(o).sort((([e],[t])=>e.localeCompare(t))))
})(r.headers,iC(a,f)),s=r.headers.get("content-type")??"text/plain;charset=UTF-8",l=await r.arrayBuffer(),c=function(e,t){
const n=new vme(t)
;return yme.includes(n.essence)?new TextDecoder(n.parameters.get("charset")).decode(e):new Blob([e],{
type:n.essence})
}(l,s),d="getSetCookie"in r.headers&&"function"==typeof r.headers.getSetCookie?r.headers.getSetCookie():[]
;return[null,{timestamp:Date.now(),request:t,response:{...r,headers:o,
cookieHeaderKeys:d,data:c,size:l.byteLength,duration:Date.now()-n,
method:e.method,status:r.status,path:h}}]}catch(pM){
return null==i||i.emit("abort"),[vj(pM,mj),null]}},controller:u}]}catch(c){
return console.error(c),null==i||i.emit("abort"),[vj(c),null]}
},{server:xme}=WR(),kme=({operation:e,collection:t,requests:n,requestExamples:r,securitySchemes:o,server:a})=>{
const i=Bi((()=>((e,t,n)=>Object.values(e).find((e=>e.path===t&&e.method.toLowerCase()===n.toLowerCase())))(n,e.path,e.httpVerb))),s=Bi((()=>{
var e,n,r,a
;const s=(null==(e=i.value)?void 0:e.security)??(null==(n=t.value)?void 0:n.security)??[],l=s.filter((e=>Object.keys(e).length)),c=l.map((e=>Object.keys(e)[0]))
;if(l.length<s.length)return(null==(r=t.value)?void 0:r.selectedSecuritySchemeUids)??[]
;{const e=Object.values(o),n=c.map((t=>{var n
;return null==(n=e.find((e=>e.nameKey===t)))?void 0:n.uid})).filter(Boolean)
;return null==(a=t.value)?void 0:a.selectedSecuritySchemeUids.filter((e=>n.find((t=>t===e))))
}})),l=Bi((()=>{var t,n
;const r=null==(n=null==(t=e.information)?void 0:t.servers)?void 0:n[0],{modifiedUrl:o}=QR(xme,r)
;return o})),c=Bi((()=>{const e=a.value;return{uid:(null==e?void 0:e.uid)||"",
url:l.value||""}}));return{request:Bi((()=>{var t,n,a,l
;const u=r[(null==(n=null==(t=i.value)?void 0:t.examples)?void 0:n[0])??""]
;if(!i.value||!u)return null;const[d,p]=wme({request:i.value,example:u,
server:c.value,securitySchemes:o,selectedSecuritySchemeUids:s.value,
environment:{},globalCookies:[]})
;if(d)return console.error("[useRequestExample]",d),null
;const h=Object.keys((null==(l=null==(a=e.information)?void 0:a.requestBody)?void 0:l.content)??{})
;return"text/plain;charset=UTF-8"===p.request.headers.get("content-type")&&h.length&&p.request.headers.set("content-type",h[0]),
p.request})),secretCredentials:Bi((()=>{var e
;return(null==(e=s.value)?void 0:e.flatMap((e=>{const t=o[e]
;return"apiKey"===(null==t?void 0:t.type)?t.value:"http"===(null==t?void 0:t.type)?[t.token,t.password,btoa(`${t.username}:${t.password}`)]:"oauth2"===(null==t?void 0:t.type)?Object.values(t.flows).map((e=>e.token)):[]
})))??[]}))}
},Sme=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"],_me={
POST:"var(--scalar-color-green)",DELETE:"var(--scalar-color-red)",
PATCH:"var(--scalar-color-yellow)",GET:"var(--scalar-color-blue)",
PUT:"var(--scalar-color-orange)",OPTIONS:"var(--scalar-color-purple)",
HEAD:"var(--scalar-color-2)",CONNECT:"var(--scalar-color-2)",
TRACE:"var(--scalar-color-2)"},Eme={POST:"POST",DELETE:"DEL",PATCH:"PATCH",
GET:"GET",PUT:"PUT",OPTIONS:"OPTS",HEAD:"HEAD",CONNECT:"CONN",TRACE:"TRACE"}
;function Tme(e){return Sme.includes(e)}const Cme=no({__name:"HttpMethod",
props:{as:{},property:{},short:{type:Boolean},method:{}},setup(e){
const t=e,n=Bi((()=>t.method.trim().toUpperCase())),r=Bi((()=>Tme(n.value)?Eme[n.value]:n.value.slice(0,4))),o=Bi((()=>Tme(n.value)?_me[n.value]:"var(--scalar-color-ghost)"))
;return(e,t)=>(ei(),ai(Co(e.as??"span"),{style:tt({[e.property||"color"]:o.value
})},{default:Ar((()=>[$o(e.$slots,"default",st(pi({normalized:n.value,
abbreviated:r.value,color:o.value
})),(()=>[fi(ht(e.short?r.value:n.value),1)]))])),_:3},8,["style"]))}}),Ame={
key:0},Pme=no({__name:"OperationPath",props:{path:{},deprecated:{type:Boolean}},
setup(e){
const t=e,n=e=>e.startsWith("{")&&e.endsWith("}"),r=Bi((()=>t.path.split(/({[^}]+})/)))
;return(e,t)=>(ei(),oi("span",{class:it(["operation-path",{
deprecated:e.deprecated}])},[(ei(!0),oi(Wa,null,Do(r.value,((e,t)=>(ei(),oi(Wa,{
key:t},[n(e)?(ei(),oi("em",Ame,ht(e),1)):(ei(),oi(Wa,{key:1
},[fi(ht(e),1)],64))],64)))),128))],2))}
}),Dme=mhe(Pme,[["__scopeId","data-v-ec6c8861"]]),Rme={class:"text-select-label"
},$me=["aria-controls","tabindex","value"],Nme=["label"],Mme=["value"],Ime=["value"],Lme=no({
__name:"TextSelect",props:{modelValue:{},options:{},controls:{}},
emits:["update:modelValue"],setup(e){
const t=e,n=Bi((()=>t.options.flatMap((e=>e.options??e)).length))
;return(e,t)=>(ei(),oi("label",{
class:it(["text-select",1===n.value?"text-select--single-option":""])
},[ui("span",Rme,[$o(e.$slots,"default")]),ui("select",{
"aria-controls":e.controls,tabindex:1===e.options.length?-1:0,
value:e.modelValue,
onInput:t[0]||(t[0]=t=>e.$emit("update:modelValue",t.target.value))
},[(ei(!0),oi(Wa,null,Do(e.options,(e=>(ei(),oi(Wa,{key:e.value
},[e.options?(ei(),oi("optgroup",{key:0,label:e.label
},[(ei(!0),oi(Wa,null,Do(e.options,(e=>(ei(),oi("option",{key:e.value,
value:e.value},ht(e.label),9,Mme)))),128))],8,Nme)):(ei(),oi("option",{
key:e.value,value:e.value},ht(e.label),9,Ime))],64)))),128))],40,$me)],2))}
}),jme=mhe(no({__name:"ExamplePicker",props:{examples:{}},
emits:["update:modelValue"],setup(e,{emit:t}){
const n=e,r=t,o=Fn(Object.keys(n.examples)[0]);function a(e){
if(!e)return"Select an example";const t=n.examples[e]
;return(null==t?void 0:t.summary)??e}return Ma((()=>n.examples),(()=>{var e
;(e=Object.keys(n.examples)[0])&&(o.value=e)}),{immediate:!0}),Ma(o,(()=>{
o.value&&r("update:modelValue",o.value)}),{immediate:!0}),(e,t)=>(ei(),ai(Lme,{
modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),
class:"example-selector",options:Object.keys(e.examples).map((e=>({label:a(e),
value:e})))},{default:Ar((()=>[di(yfe,null,{
default:Ar((()=>t[1]||(t[1]=[fi("Selected Example Values:")]))),_:1
}),fi(" "+ht(a(o.value)),1)])),_:1},8,["modelValue","options"]))}
}),[["__scopeId","data-v-a7e22e14"]]),Bme={class:"scalar-card"}
;const Ume=mhe({},[["render",function(e,t){
return ei(),oi("div",Bme,[$o(e.$slots,"default",{},void 0,!0)])
}],["__scopeId","data-v-38801681"]]),Qme=mhe(no({__name:"CardContent",props:{
muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},
transparent:{type:Boolean},borderless:{type:Boolean}},
setup:e=>(e,t)=>(ei(),oi("div",{class:it(["scalar-card-content",{
"scalar-card--muted":e.muted,"scalar-card--contrast":e.contrast,
"scalar-card--frameless":e.frameless,"scalar-card--transparent":e.transparent,
"scalar-card--borderless":e.borderless}])
},[$o(e.$slots,"default",{},void 0,!0)],2))
}),[["__scopeId","data-v-dd83e46e"]]),Fme={class:"scalar-card-header-slots"
},zme={class:"scalar-card-header-slot scalar-card-header-title"},qme={
class:"scalar-card-header-slot scalar-card-header-actions"},Hme=mhe(no({
__name:"CardHeader",props:{muted:{type:Boolean},contrast:{type:Boolean},
frameless:{type:Boolean},transparent:{type:Boolean},borderless:{type:Boolean}},
setup(e){const t=e;return(e,n)=>(ei(),ai(Qme,Oi(t,{class:"scalar-card-header"
}),{
default:Ar((()=>[ui("div",Fme,[ui("div",zme,[$o(e.$slots,"default",{},void 0,!0)]),ui("div",qme,[$o(e.$slots,"actions",{},void 0,!0)])])])),
_:3},16))}}),[["__scopeId","data-v-ef7873bc"]]),Vme=mhe(no({__name:"CardFooter",
props:{muted:{type:Boolean},contrast:{type:Boolean},frameless:{type:Boolean},
transparent:{type:Boolean},borderless:{type:Boolean}},setup(e){const t=e
;return(e,n)=>(ei(),ai(Qme,st(pi(t)),{
default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3},16))}
}),[["__scopeId","data-v-918ab8d6"]]),Zme=mhe(no({__name:"CardTabHeader",
emits:["change"],setup(e,{emit:t}){const n=t,r=e=>{n("change",e)}
;return(e,t)=>(ei(),ai(Hme,{class:"scalar-card-header scalar-card-header-tabs"
},{actions:Ar((()=>[$o(e.$slots,"actions",{},void 0,!0)])),
default:Ar((()=>[di(Vn(_L),{onChange:r},{default:Ar((()=>[di(Vn(EL),{
class:"tab-list custom-scroll"},{
default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),_:3})])),_:3})])),_:3}))
}}),[["__scopeId","data-v-03fdb072"]]),Wme=mhe(no({__name:"CardTab",
setup:e=>(e,t)=>(ei(),ai(Vn(TL),{as:"template"},{
default:Ar((({selected:t})=>[ui("button",{class:it(["tab",{"tab-selected":t}]),
type:"button"},[ui("span",null,[$o(e.$slots,"default",{},void 0,!0)])],2)])),_:3
}))}),[["__scopeId","data-v-d0e07e65"]]),Xme=["id"],Gme=["id"],Yme={key:0,
class:"request-card-footer-addon"},Kme={class:"request-header"},Jme=no({
__name:"ExampleRequest",props:{operation:{},request:{},secretCredentials:{},
fallback:{type:Boolean}},setup(e){
const t=`components-Content-Operation-Example-Request${nC(e.operation.path+e.operation.httpVerb+e.operation.operationId)}`,{selectedExampleKey:n,operationId:r}=YR(),{httpClient:o,setHttpClient:a,availableTargets:i,httpTargetTitle:s,httpClientTitle:l}=TN(),c=ro(),u=Bi((()=>{
var t;const n=["x-custom-examples","x-codeSamples","x-code-samples"]
;for(const r of n)if(null==(t=e.operation.information)?void 0:t[r]){
return[...e.operation.information[r]]}return[]})),d=Fn(u.value.length?{
targetKey:"customExamples",clientKey:0}:{targetKey:o.targetKey,
clientKey:o.clientKey});Ma(o,(()=>{d.value={targetKey:o.targetKey,
clientKey:o.clientKey}}));const p=Bi((()=>{var t,n,r,o
;return Object.keys((null==(o=null==(r=null==(n=null==(t=e.operation.information)?void 0:t.requestBody)?void 0:n.content)?void 0:r["application/json"])?void 0:o.examples)??{}).length>1
})),h=async()=>{var t
;if("customExamples"===d.value.targetKey)return(null==(t=u.value[d.value.clientKey])?void 0:t.source)??""
;if(!e.request)return"";const n=o.clientKey,r=o.targetKey
;return await Kp(e.request,r,n)??""},f=function(e,t,n){let r;r=Qn(n)?{
evaluating:n}:{}
;const{lazy:o=!1,evaluating:a,shallow:i=!0,onError:s=Wu}=r,l=Fn(!o),c=i?zn(t):Fn(t)
;let u=0;return Na((async t=>{if(!l.value)return;u++;const n=u;let r=!1
;a&&Promise.resolve().then((()=>{a.value=!0}));try{const o=await e((e=>{t((()=>{
a&&(a.value=!1),r||e()}))}));n===u&&(c.value=o)}catch(pM){s(pM)}finally{
a&&n===u&&(a.value=!1),r=!0}})),o?Bi((()=>(l.value=!0,c.value))):c}((async()=>{
try{return await h()}catch(e){return console.error("[generateSnippet]",e),""}
}),BR[t]??"");wo((async()=>{$a().payload.data[t]=await h()}));const m=Bi((()=>{
var e,t
;const n="customExamples"===(null==(e=d.value)?void 0:e.targetKey)?(null==(t=u.value[d.value.clientKey])?void 0:t.lang)??"plaintext":o.targetKey
;return"shell"===n&&f.value.includes("curl")?"curl":"Objective-C"===n?"objc":n
})),g=Bi((()=>{const e=i.value.map((e=>({value:e.key,label:e.title,
options:e.clients.map((t=>({value:JSON.stringify({targetKey:e.key,
clientKey:t.client}),label:t.title})))})));return u.value.length&&e.unshift({
value:"customExamples",label:"Examples",options:u.value.map(((e,t)=>({
value:JSON.stringify({targetKey:"customExamples",clientKey:t}),
label:e.label??e.lang??`Example #${t+1}`})))}),e}));function v(e){
const t=JSON.parse(e);"customExamples"===t.targetKey?d.value=t:a(t)}
return(e,t)=>Vn(i).length||u.value.length?(ei(),ai(Vn(Ume),{key:0,
class:"dark-mode"},{default:Ar((()=>[di(Vn(Hme),{muted:""},{
actions:Ar((()=>[di(Lme,{class:"request-client-picker",
controls:`${Vn(c)}-example`,modelValue:JSON.stringify(d.value),options:g.value,
"onUpdate:modelValue":v},{
default:Ar((()=>["customExamples"===d.value.targetKey?(ei(),oi(Wa,{key:0
},[di(yfe,null,{default:Ar((()=>t[1]||(t[1]=[fi("Selected Example:")]))),_:1
}),fi(" "+ht(u.value[d.value.clientKey].label??"Example"),1)],64)):(ei(),oi(Wa,{
key:1},[di(yfe,null,{
default:Ar((()=>t[2]||(t[2]=[fi("Selected HTTP client:")]))),_:1
}),fi(" "+ht(Vn(s))+" "+ht(Vn(l)),1)],64))])),_:1
},8,["controls","modelValue","options"])])),default:Ar((()=>[ui("div",{
id:`${Vn(c)}-header`,class:"request-header"},[di(Vn(Cme),{as:"span",
class:"request-method",method:e.operation.httpVerb
},null,8,["method"]),$o(e.$slots,"header",{},void 0,!0)],8,Xme)])),_:3
}),di(Vn(Qme),{borderless:"",class:"request-editor-section custom-scroll",
frameless:""},{default:Ar((()=>[ui("div",{id:`${Vn(c)}-example`,
class:"code-snippet"},[di(Vn(lY),{class:"bg-b-2",content:Vn(f),
hideCredentials:e.secretCredentials,lang:m.value,lineNumbers:""
},null,8,["content","hideCredentials","lang"])],8,Gme)])),_:1
}),p.value||e.$slots.footer?(ei(),ai(Vn(Vme),{key:0,class:"request-card-footer",
contrast:""},{default:Ar((()=>{var o,a,i,s
;return[p.value?(ei(),oi("div",Yme,[di(jme,{class:"request-example-selector",
examples:(null==(s=null==(i=null==(a=null==(o=e.operation.information)?void 0:o.requestBody)?void 0:a.content)?void 0:i["application/json"])?void 0:s.examples)??[],
"onUpdate:modelValue":t[0]||(t[0]=t=>(n.value=t,
r.value=e.operation.operationId))
},null,8,["examples"])])):gi("",!0),$o(e.$slots,"footer",{},void 0,!0)]})),_:3
})):gi("",!0)])),_:3})):e.fallback?(ei(),ai(Vn(Ume),{key:1,class:"dark-mode"},{
default:Ar((()=>[di(Vn(Qme),{class:"request-card-simple"},{
default:Ar((()=>[ui("div",Kme,[di(Vn(Cme),{as:"span",class:"request-method",
method:e.operation.httpVerb
},null,8,["method"]),$o(e.$slots,"header",{},void 0,!0)]),$o(e.$slots,"footer",{},void 0,!0)])),
_:3})])),_:3})):gi("",!0)}
}),ege=mhe(Jme,[["__scopeId","data-v-cd9a1e85"]]),tge={key:2,class:"empty-state"
},nge=mhe(no({__name:"ExampleResponse",props:{response:{}},setup:e=>(e,t)=>{
var n,r,o,a;return(null==(n=e.response)?void 0:n.example)?(ei(),ai(Vn(lY),{
key:0,class:"bg-b-2",content:null==(r=e.response)?void 0:r.example,lang:"json"
},null,8,["content"])):(null==(o=e.response)?void 0:o.schema)?(ei(),ai(Vn(lY),{
key:1,class:"bg-b-2",content:Vn(PD)(null==(a=e.response)?void 0:a.schema,{
emptyString:"…",mode:"read"}),lang:"json"
},null,8,["content"])):(ei(),oi("div",tge," No Body "))}
}),[["__scopeId","data-v-4b51e8ca"]]),rge={key:1,class:"scalar-card-checkbox"
},oge=["aria-controls"],age={class:"scalar-card-container custom-scroll"},ige={
key:1,class:"response-description"},sge=mhe(no({__name:"ExampleResponses",
props:{operation:{}},setup(e){
const t=e,n=ro(),{copyToClipboard:r}=WU(),o=Fn(),a=Bi((()=>{var e,n
;return Object.keys((null==(n=null==(e=null==t?void 0:t.operation)?void 0:e.information)?void 0:n.responses)??{}).sort()
})),i=Bi((()=>!!c.value.examples)),s=Fn(0),l=Bi((()=>{var e,n
;const r=a.value[s.value]
;return null==(n=null==(e=t.operation.information)?void 0:e.responses)?void 0:n[r]
})),c=Bi((()=>{var e;const t=SD(null==(e=l.value)?void 0:e.content)
;return(null==t?void 0:t["application/json"])??(null==t?void 0:t["text/plain"])??l.value
})),u=()=>{if(i.value){
if(Array.isArray(c.value.examples))return c.value.examples[0];{
const e=Object.keys(c.value.examples)[0];return c.value.examples[e]}}
return c.value.example},d=Bi((()=>({...c.value,
example:i.value&&o.value?c.value.examples[o.value].value??c.value.examples[o.value]:u()
}))),p=e=>{s.value=e,o.value=void 0},h=Fn(!1);return(e,t)=>a.value.length?(ei(),
ai(Vn(Ume),{key:0},{default:Ar((()=>{var e;return[di(Vn(Zme),{muted:"",x:"as",
onChange:p},{actions:Ar((()=>{var e,o
;return[(null==(e=c.value)?void 0:e.example)?(ei(),oi("button",{key:0,
class:"code-copy",type:"button",onClick:t[0]||(t[0]=()=>{var e
;return Vn(r)(null==(e=c.value)?void 0:e.example)})},[di(Vn(oY),{
icon:"Clipboard",width:"12px"
})])):gi("",!0),(null==(o=c.value)?void 0:o.schema)?(ei(),
oi("label",rge,[t[3]||(t[3]=fi(" Show Schema ")),Pr(ui("input",{
"onUpdate:modelValue":t[1]||(t[1]=e=>h.value=e),"aria-controls":Vn(n),
class:"scalar-card-checkbox-input",type:"checkbox"
},null,8,oge),[[Us,h.value]]),t[4]||(t[4]=ui("span",{
class:"scalar-card-checkbox-checkmark"},null,-1))])):gi("",!0)]})),
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(a.value,(e=>(ei(),ai(Vn(Wme),{key:e,
"aria-controls":Vn(n)},{default:Ar((()=>[fi(ht(e),1)])),_:2
},1032,["aria-controls"])))),128))])),_:1}),ui("div",age,[di(Vn(Qme),{muted:""
},{default:Ar((()=>{var e
;return[(null==(e=c.value)?void 0:e.schema)?(ei(),oi(Wa,{key:0
},[h.value&&d.value?(ei(),ai(Vn(lY),{key:0,id:Vn(n),content:d.value,lang:"json"
},null,8,["id","content"])):(ei(),ai(nge,{key:1,id:Vn(n),response:d.value
},null,8,["id","response"]))],64)):(ei(),ai(nge,{key:1,id:Vn(n),response:d.value
},null,8,["id","response"]))]})),_:1
})]),(null==(e=l.value)?void 0:e.description)||i.value?(ei(),ai(Vn(Vme),{key:0,
class:"response-card-footer",muted:""},{default:Ar((()=>{var e,n
;return[i.value?(ei(),ai(Vn(jme),{key:0,class:"response-example-selector",
examples:null==(e=c.value)?void 0:e.examples,
"onUpdate:modelValue":t[2]||(t[2]=e=>o.value=e)
},null,8,["examples"])):(null==(n=l.value)?void 0:n.description)?(ei(),
oi("div",ige,[di(Vn(J0),{class:"markdown",value:l.value.description
},null,8,["value"])])):gi("",!0)]})),_:1})):gi("",!0)]})),_:1})):gi("",!0)}
}),[["__scopeId","data-v-77e1a07c"]]),lge=["method"],cge=mhe(no({
__name:"TestRequestButton",props:{operation:{}},setup(e){
const t=la(b$),{client:n}=C3();return(e,r)=>{var o
;return!0!==(null==(o=Vn(t))?void 0:o())?(ei(),oi("button",{key:0,
class:"show-api-client-button",method:e.operation.httpVerb,type:"button",
onClick:r[0]||(r[0]=Xs((t=>{var r;return null==(r=Vn(n))?void 0:r.open({
path:e.operation.path,method:e.operation.httpVerb})}),["stop"]))},[di(Vn(oY),{
icon:"Play",size:"sm"
}),r[1]||(r[1]=ui("span",null,"Test Request",-1)),di(yfe,null,{
default:Ar((()=>[fi("("+ht(e.operation.httpVerb)+" "+ht(e.operation.path)+")",1)])),
_:1})],8,lge)):(ei(),oi(Wa,{key:1},[fi(" ")],64))}}
}),[["__scopeId","data-v-77256f36"]]),uge={key:0,class:"schema-type"
},dge=["title"],pge=mhe(no({__name:"SchemaHeading",props:{value:{
type:[Object,Boolean]},name:{}},setup:e=>(e,t)=>{var n,r,o,a,i,s
;return"object"==typeof e.value?(ei(),oi("span",uge,[ui("span",{
class:"schema-type-icon",
title:"string"==typeof e.value.type?e.value.type:Array.isArray(e.value.type)?e.value.type.join(" | "):"unkown type"
},["object"===e.value.type?(ei(),oi(Wa,{key:0
},[fi(" {} ")],64)):gi("",!0),"array"===e.value.type?(ei(),oi(Wa,{key:1
},[fi(" [] ")],64)):gi("",!0),e.value.enum?(ei(),oi(Wa,{key:2
},[fi(" enum ")],64)):gi("",!0)],8,dge),(null==(r=null==(n=e.value)?void 0:n.xml)?void 0:r.name)&&"##default"!==(null==(a=null==(o=e.value)?void 0:o.xml)?void 0:a.name)?(ei(),
oi(Wa,{key:0
},[fi(" <"+ht(null==(s=null==(i=e.value)?void 0:i.xml)?void 0:s.name)+" /> ",1)],64)):e.name?(ei(),
oi(Wa,{key:1},[fi(ht(e.name),1)],64)):(ei(),oi(Wa,{key:2
},[fi(ht(e.value.type),1)],64))])):gi("",!0)}
}),[["__scopeId","data-v-2a52eb0b"]]),hge={key:0,class:"property-detail-prefix"
},fge={key:1,class:"property-detail-value"},mge={key:2,
class:"property-detail-value"},gge=mhe(no({__name:"SchemaPropertyDetail",props:{
truncate:{type:Boolean},code:{type:Boolean}},setup:e=>(e,t)=>(ei(),oi("span",{
class:it(["property-detail",{"property-detail-truncate":e.truncate}])
},[e.$slots.prefix?(ei(),
oi("div",hge,[$o(e.$slots,"prefix",{},void 0,!0),t[0]||(t[0]=fi("  "))])):gi("",!0),e.code?(ei(),
oi("code",fge,[$o(e.$slots,"default",{},void 0,!0)])):(ei(),
oi("span",mge,[$o(e.$slots,"default",{},void 0,!0)]))],2))
}),[["__scopeId","data-v-3ae98a1b"]]),vge={class:"property-heading"},bge={key:0,
class:"property-name"},yge={key:1,class:"property-additional"},Oge={key:2,
class:"property-deprecated"},wge={key:3,class:"property-const"},xge={key:5,
class:"property-write-only"},kge={key:6,class:"property-read-only"},Sge={key:7,
class:"property-required"},_ge={key:0,class:"property-example"},Ege=no({
__name:"SchemaPropertyHeading",props:{value:{},enum:{type:Boolean},required:{
type:Boolean,default:!1},additional:{type:Boolean}},setup(e){
const t=["oneOf","anyOf","allOf","not"];return(e,n)=>{var r,o,a,i,s,l,c
;return ei(),
oi(Wa,null,[ui("div",vge,[e.$slots.name?(ei(),oi("div",bge,[$o(e.$slots,"name",{},void 0,!0)])):gi("",!0),e.additional?(ei(),
oi("div",yge,[(null==(r=e.value)?void 0:r["x-additionalPropertiesName"])?(ei(),
oi(Wa,{key:0
},[fi(ht(e.value["x-additionalPropertiesName"]),1)],64)):(ei(),oi(Wa,{key:1
},[fi("additional properties")],64))])):gi("",!0),(null==(o=e.value)?void 0:o.deprecated)?(ei(),
oi("div",Oge,[di(Vn(Ghe),null,{
default:Ar((()=>n[0]||(n[0]=[fi("deprecated")]))),_:1
})])):gi("",!0),(null==(a=e.value)?void 0:a.const)||(null==(i=e.value)?void 0:i.enum)&&1===e.value.enum.length?(ei(),
oi("div",wge,[di(gge,{truncate:""},{
prefix:Ar((()=>n[1]||(n[1]=[fi("const:")]))),
default:Ar((()=>[fi(" "+ht(e.value.const??e.value.enum[0]),1)])),_:1
})])):(null==(s=e.value)?void 0:s.type)?(ei(),oi(Wa,{key:4},[di(gge,null,{
default:Ar((()=>{var t,n,r
;return[(null==(n=null==(t=e.value)?void 0:t.items)?void 0:n.type)?(ei(),oi(Wa,{
key:0
},[fi(ht(e.value.type)+" "+ht(e.value.items.type)+"[] ",1)],64)):(ei(),oi(Wa,{
key:1
},[fi(ht(Array.isArray(e.value.type)?e.value.type.join(" | "):e.value.type)+" "+ht((null==(r=e.value)?void 0:r.nullable)?" | nullable":""),1)],64)),e.value.minItems||e.value.maxItems?(ei(),
oi(Wa,{key:2
},[fi(ht(e.value.minItems)+"…"+ht(e.value.maxItems),1)],64)):gi("",!0)]})),_:1
}),e.value.minLength?(ei(),ai(gge,{key:0},{
prefix:Ar((()=>n[2]||(n[2]=[fi("min:")]))),
default:Ar((()=>[fi(" "+ht(e.value.minLength),1)])),_:1
})):gi("",!0),e.value.maxLength?(ei(),ai(gge,{key:1},{
prefix:Ar((()=>n[3]||(n[3]=[fi("max:")]))),
default:Ar((()=>[fi(" "+ht(e.value.maxLength),1)])),_:1
})):gi("",!0),e.value.uniqueItems?(ei(),ai(gge,{key:2},{
default:Ar((()=>n[4]||(n[4]=[fi(" unique! ")]))),_:1
})):gi("",!0),e.value.format?(ei(),ai(gge,{key:3},{
default:Ar((()=>[fi(ht(e.value.format),1)])),_:1
})):gi("",!0),void 0!==e.value.minimum&&e.value.exclusiveMinimum?(ei(),ai(gge,{
key:4},{prefix:Ar((()=>n[5]||(n[5]=[fi("greater than:")]))),
default:Ar((()=>[fi(" "+ht(e.value.minimum),1)])),_:1
})):gi("",!0),void 0===e.value.minimum||e.value.exclusiveMinimum?gi("",!0):(ei(),
ai(gge,{key:5},{prefix:Ar((()=>n[6]||(n[6]=[fi("min:")]))),
default:Ar((()=>[fi(" "+ht(e.value.minimum),1)])),_:1
})),void 0!==e.value.maximum&&e.value.exclusiveMaximum?(ei(),ai(gge,{key:6},{
prefix:Ar((()=>n[7]||(n[7]=[fi("less than:")]))),
default:Ar((()=>[fi(" "+ht(e.value.maximum),1)])),_:1
})):gi("",!0),void 0===e.value.maximum||e.value.exclusiveMaximum?gi("",!0):(ei(),
ai(gge,{key:7},{prefix:Ar((()=>n[8]||(n[8]=[fi("max:")]))),
default:Ar((()=>[fi(" "+ht(e.value.maximum),1)])),_:1
})),e.value.pattern?(ei(),ai(gge,{key:8,code:"",truncate:""},{
default:Ar((()=>[fi(ht(e.value.pattern),1)])),_:1
})):gi("",!0),e.$props.enum?(ei(),ai(gge,{key:9},{
default:Ar((()=>n[9]||(n[9]=[fi("enum")]))),_:1
})):gi("",!0),void 0!==e.value.default?(ei(),ai(gge,{key:10,truncate:""},{
prefix:Ar((()=>n[10]||(n[10]=[fi("default:")]))),default:Ar((()=>{
return[fi(" "+ht((t=e.value,
Array.isArray(null==t?void 0:t.default)&&1===t.default.length?t.default[0]:null==t?void 0:t.default)),1)]
;var t})),_:1
})):gi("",!0)],64)):gi("",!0),(null==(l=e.value)?void 0:l.writeOnly)?(ei(),
oi("div",xge," write-only ")):(null==(c=e.value)?void 0:c.readOnly)?(ei(),
oi("div",kge," read-only ")):gi("",!0),(ei(!0),oi(Wa,null,Do(t.filter((t=>{
var n,r,o
;return(null==(n=e.value)?void 0:n[t])||(null==(o=null==(r=e.value)?void 0:r.items)?void 0:o[t])
})),(e=>(ei(),ai(Vn(Ghe),{key:e},{default:Ar((()=>[fi(ht(e),1)])),_:2
},1024)))),128)),e.required?(ei(),
oi("div",Sge," required ")):gi("",!0)]),e.$slots.example?(ei(),
oi("div",_ge,[$o(e.$slots,"example",{},void 0,!0)])):gi("",!0)],64)}}
}),Tge=mhe(Ege,[["__scopeId","data-v-8f6978ee"]]),Cge={key:0,
class:"property-description"},Age={key:1,class:"property-description"},Pge={
key:2,class:"property-example custom-scroll"},Dge={
class:"property-example-value"},Rge={key:3,
class:"property-example custom-scroll"},$ge={class:"property-example-label"
},Nge={key:4,class:"property-enum"},Mge={key:0,class:"property-list"},Ige={
class:"property-heading"},Lge={class:"property-name"},jge={
class:"property-description"},Bge={key:1,class:"property-enum-values"},Uge={
key:5,class:"children"},Qge={key:0,class:"children"},Fge={key:0,
class:"property-rule"},zge={key:1,class:"property-rule"},qge=mhe(no({
__name:"SchemaProperty",props:{value:{},level:{default:0},name:{},required:{
type:Boolean,default:!1},compact:{type:Boolean,default:!1},description:{},
additional:{type:Boolean}},setup(e){const t=e,n={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",
byte:"base64-encoded characters, for example, U3dhZ2dlciByb2Nrcw==",
binary:"binary data, used to describe files"}},r=function(e,t){
return(null==t?void 0:t.properties)||(null==t?void 0:t.additionalProperties)?null:e||(null==t?void 0:t.description)||null
},o=function(e){return e&&n[e.type]?n[e.type][e.format||"_default"]:null
},a=function(e){var t
;return(null==e?void 0:e.enum)||(null==(t=null==e?void 0:e.items)?void 0:t.enum)||[]
},i=["oneOf","anyOf","allOf","not"],s=Bi((()=>a(t.value).length>9)),l=Bi((()=>s.value?5:9)),c=Bi((()=>a(t.value).slice(0,l.value))),u=Bi((()=>a(t.value).slice(l.value)))
;return(e,t)=>{var n,l,d,p,h,f,m,g,v,b,y,O,w;return ei(),oi("div",{
class:it(["property",[`property--level-${e.level}`,{
"property--compact":e.compact,
"property--deprecated":null==(n=e.value)?void 0:n.deprecated}]])},[di(Tge,{
additional:e.additional,enum:a(e.value).length>1,required:e.required,
value:e.value},Ro({_:2},[e.name?{name:"name",fn:Ar((()=>[fi(ht(e.name),1)])),
key:"0"}:void 0,(null==(l=e.value)?void 0:l.example)?{name:"example",
fn:Ar((()=>[fi(" Example: "+ht(e.value.example),1)])),key:"1"
}:void 0]),1032,["additional","enum","required","value"]),r(e.description,e.value)?(ei(),
oi("div",Cge,[di(Vn(J0),{value:r(e.description,e.value)
},null,8,["value"])])):o(e.value)?(ei(),oi("div",Age,[di(Vn(J0),{
value:o(e.value)||""
},null,8,["value"])])):gi("",!0),(null==(d=e.value)?void 0:d.example)||(null==(h=null==(p=e.value)?void 0:p.items)?void 0:h.example)?(ei(),
oi("div",Pge,[t[0]||(t[0]=ui("span",{class:"property-example-label"
},"Example",-1)),ui("code",Dge,ht(e.value.example||(null==(f=e.value)?void 0:f.items.example)),1)])):gi("",!0),(null==(m=e.value)?void 0:m.examples)&&"object"==typeof e.value.examples&&Object.keys(e.value.examples).length>0?(ei(),
oi("div",Rge,[ui("span",$ge,ht(1===Object.keys(e.value.examples).length?"Example":"Examples"),1),(ei(!0),
oi(Wa,null,Do(e.value.examples,((e,t)=>(ei(),oi("code",{key:t,
class:"property-example-value"
},ht(e),1)))),128))])):gi("",!0),(null==(g=a(e.value))?void 0:g.length)>1?(ei(),
oi("div",Nge,[(null==(v=e.value)?void 0:v["x-enumDescriptions"])?(ei(),
oi("div",Mge,[(ei(!0),oi(Wa,null,Do(a(e.value),(t=>(ei(),oi("div",{key:t,
class:"property"
},[ui("div",Ige,[ui("div",Lge,ht(t),1)]),ui("div",jge,[di(Vn(J0),{
value:e.value["x-enumDescriptions"][t]},null,8,["value"])])])))),128))])):(ei(),
oi("ul",Bge,[(ei(!0),oi(Wa,null,Do(c.value,(e=>(ei(),oi("li",{key:e,
class:"property-enum-value"},ht(e),1)))),128)),s.value?(ei(),ai(Vn(_I),{key:0},{
default:Ar((({open:e})=>[di(Vn(TI),null,{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(u.value,(e=>(ei(),oi("li",{key:e,
class:"property-enum-value"},ht(e),1)))),128))])),_:1}),di(Vn(EI),{
class:"enum-toggle-button"},{default:Ar((()=>[di(Vn(oY),{
class:it(["enum-toggle-button-icon",{"enum-toggle-button-icon--open":e}]),
icon:"Add",size:"sm"
},null,8,["class"]),fi(" "+ht(e?"Hide values":"Show all values"),1)])),_:2
},1024)])),_:1
})):gi("",!0)]))])):gi("",!0),"object"===(null==(b=e.value)?void 0:b.type)&&((null==(y=e.value)?void 0:y.properties)||(null==(O=e.value)?void 0:O.additionalProperties))?(ei(),
oi("div",Uge,[di(Zge,{compact:e.compact,level:e.level+1,value:e.value
},null,8,["compact","level","value"])])):gi("",!0),(null==(w=e.value)?void 0:w.items)?(ei(),
oi(Wa,{key:6
},[["object"].includes(e.value.items.type)?(ei(),oi("div",Qge,[di(Zge,{
compact:e.compact,level:e.level+1,value:e.value.items
},null,8,["compact","level","value"])])):gi("",!0)],64)):gi("",!0),(ei(),
oi(Wa,null,Do(i,(t=>{var n,r,o;return ei(),oi(Wa,{key:t
},[(null==(n=e.value)?void 0:n[t])?(ei(),
oi("div",Fge,[(ei(!0),oi(Wa,null,Do(e.value[t],((t,n)=>(ei(),ai(Zge,{key:n,
compact:e.compact,level:e.level+1,value:t
},null,8,["compact","level","value"])))),128))])):gi("",!0),(null==(o=null==(r=e.value)?void 0:r.items)?void 0:o[t])&&e.level<3?(ei(),
oi("div",zge,[(ei(!0),oi(Wa,null,Do(e.value.items[t],((t,n)=>(ei(),ai(Zge,{
key:n,compact:e.compact,level:e.level+1,value:t
},null,8,["compact","level","value"])))),128))])):gi("",!0)],64)})),64))],2)}}
}),[["__scopeId","data-v-c75bd9a9"]]),Hge={key:0,class:"schema-card-description"
},Vge=no({__name:"Schema",props:{value:{type:[Object,Boolean]},level:{default:0
},name:{},compact:{type:Boolean},noncollapsible:{type:Boolean},hideHeading:{
type:Boolean}},setup(e){
const t=e,n=Bi((()=>!t.noncollapsible&&0!==t.level)),r=e=>t.noncollapsible&&e.stopPropagation()
;return(e,t)=>"object"==typeof e.value&&Object.keys(e.value).length?(ei(),
ai(Vn(_I),{key:0,defaultOpen:e.noncollapsible},{default:Ar((({open:t})=>{var o
;return[ui("div",{class:it(["schema-card",[`schema-card--level-${e.level}`,{
"schema-card--compact":e.compact,"schema-card--open":t}]])
},[(null==(o=e.value)?void 0:o.description)&&"string"==typeof e.value.description?(ei(),
oi("div",Hge,[di(Vn(J0),{value:e.value.description
},null,8,["value"])])):gi("",!0),ui("div",{class:it(["schema-properties",{
"schema-properties-open":t}])},[Pr(di(Vn(EI),{
as:e.noncollapsible?"div":"button",class:it(["schema-card-title",{
"schema-card-title--compact":e.compact}]),style:tt({
top:`calc(var(--refs-header-height) +  calc(var(--schema-title-height) * ${e.level}))`
}),onClickCapture:r},{default:Ar((()=>{var r,o,a;return[e.compact?(ei(),oi(Wa,{
key:0},[n.value?(ei(),ai(Vn(oY),{key:0,class:it(["schema-card-title-icon",{
"schema-card-title-icon--open":t}]),icon:"Add",size:"sm"
},null,8,["class"])):gi("",!0),t?(ei(),oi(Wa,{key:1
},[fi(" Hide "+ht((null==(r=e.value)?void 0:r.title)??"Child Attributes"),1)],64)):(ei(),
oi(Wa,{key:2
},[fi(" Show "+ht((null==(o=e.value)?void 0:o.title)??"Child Attributes"),1)],64))],64)):(ei(),
oi(Wa,{key:1},[n.value?(ei(),ai(Vn(oY),{key:0,
class:it(["schema-card-title-icon",{"schema-card-title-icon--open":t}]),
icon:"Add",size:"sm"},null,8,["class"])):gi("",!0),di(pge,{
name:(null==(a=e.value)?void 0:a.title)??e.name,value:e.value
},null,8,["name","value"])],64))]})),_:2
},1032,["as","class","style"]),[[hs,!(e.hideHeading||e.noncollapsible&&e.compact)]]),di(Vn(TI),{
static:e.noncollapsible},{default:Ar((()=>{var t
;return[e.value.properties||e.value.additionalProperties?(ei(),oi(Wa,{key:0
},[e.value.properties?(ei(!0),oi(Wa,{key:0
},Do(Object.keys(null==(t=e.value)?void 0:t.properties),(t=>{var n,r,o,a
;return ei(),ai(qge,{key:t,compact:e.compact,level:e.level,name:t,
required:(null==(n=e.value.required)?void 0:n.includes(t))||!0===(null==(o=null==(r=e.value.properties)?void 0:r[t])?void 0:o.required),
value:null==(a=e.value.properties)?void 0:a[t]
},null,8,["compact","level","name","required","value"])
})),128)):gi("",!0),e.value.additionalProperties?(ei(),oi(Wa,{key:1
},[!0!==e.value.additionalProperties&&0!==Object.keys(e.value.additionalProperties).length&&e.value.additionalProperties.type?(ei(),
ai(qge,{key:1,additional:"",compact:e.compact,level:e.level,noncollapsible:"",
value:e.value.additionalProperties
},null,8,["compact","level","value"])):(ei(),ai(qge,{key:0,additional:"",
compact:e.compact,level:e.level,noncollapsible:"",value:{type:"anything",
..."object"==typeof e.value.additionalProperties?e.value.additionalProperties:{}
}},null,8,["compact","level","value"]))],64)):gi("",!0)],64)):(ei(),ai(qge,{
key:1,compact:e.compact,level:e.level,name:e.value.name,value:e.value
},null,8,["compact","level","name","value"]))]})),_:1},8,["static"])],2)],2)]
})),_:1},8,["defaultOpen"])):gi("",!0)}
}),Zge=mhe(Vge,[["__scopeId","data-v-6f5b320f"]]),Wge=["value"],Xge=["value"],Gge=mhe(no({
__name:"ContentTypeSelect",props:{requestBody:{},defaultValue:{}},
emits:["selectContentType"],setup(e,{emit:t}){const n=e,r=t,o=Bi((()=>{var e
;return(null==(e=n.requestBody)?void 0:e.content)?Object.keys(n.requestBody.content):[]
})),a=Fn(n.defaultValue||o.value[0]);return(e,t)=>{var i;return ei(),oi("div",{
class:it(["content-type-select",{"content-type-no-select":o.value.length<=1}])
},[ui("span",null,ht(a.value),1),(null==n?void 0:n.requestBody)&&o.value.length>1?(ei(),
oi("select",{key:0,value:a.value,onChange:t[0]||(t[0]=e=>(e=>{
const t=e.target.value;a.value=t,r("selectContentType",{contentType:t})})(e))
},[(ei(!0),oi(Wa,null,Do(null==(i=n.requestBody)?void 0:i.content,((e,t)=>(ei(),
oi("option",{key:t,value:t},ht(t),9,Xge)))),128))],40,Wge)):gi("",!0)],2)}}
}),[["__scopeId","data-v-4b712394"]]),Yge=mhe(no({__name:"ParameterHeaders",
props:{headers:{}},setup(e){function t(e){return void 0!==e.schema}
return(e,n)=>(ei(),ai(Vn(_I),null,{default:Ar((({open:n})=>[ui("div",{
class:it(["headers-card headers-card--compact",[{"headers-card--open":n}]])
},[ui("div",{class:it(["headers-properties",{"headers-properties-open":n}])
},[di(Vn(EI),{class:"headers-card-title headers-card-title--compact",style:{
top:"calc(var(--refs-header-height)))"}},{default:Ar((()=>[di(Vn(oY),{
class:it(["headers-card-title-icon",{"headers-card-title-icon--open":n}]),
icon:"Add",size:"sm"},null,8,["class"]),n?(ei(),oi(Wa,{key:0
},[fi(" Hide Headers ")],64)):(ei(),oi(Wa,{key:1
},[fi(" Show Headers ")],64))])),_:2},1024),di(Vn(TI),null,{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(e.headers,((e,n)=>(ei(),ai(qge,{key:n,
description:e.description,name:`${n}`,value:t(e)?e.schema:void 0
},null,8,["description","name","value"])))),128))])),_:1})],2)],2)])),_:1}))}
}),[["__scopeId","data-v-2f99eae6"]]),Kge={class:"parameter-item"},Jge={
class:"parameter-item-name"},eve={class:"parameter-item-type"},tve={
class:"absolute right-0"},nve=mhe(no({__name:"ParameterListItem",props:{
parameter:{},showChildren:{type:Boolean,default:!1},collapsableItems:{
type:Boolean,default:!1}},setup(e){
const t=e,n=Fn(Bi((()=>t.parameter.content?Object.keys(t.parameter.content):[])).value[0])
;t.parameter.content&&"application/json"in t.parameter.content&&(n.value="application/json")
;const r=Bi((()=>!(!t.collapsableItems||!t.parameter.content)))
;return(e,o)=>(ei(),oi("li",Kge,[di(Vn(_I),null,{
default:Ar((({open:a})=>[r.value?(ei(),ai(Vn(EI),{key:0,
class:it(["flex parameter-item-trigger",{"parameter-item-trigger-open":a}])},{
default:Ar((()=>[di(Vn(oY),{class:"parameter-item-icon",
icon:a?"ChevronDown":"ChevronRight",thickness:"1.5"
},null,8,["icon"]),di(yfe,null,{
default:Ar((()=>[fi(ht(a?"Collapse":"Expand"),1)])),_:2
},1024),ui("span",Jge,ht(e.parameter.name),1),ui("span",eve,ht(e.parameter.description),1),ui("div",tve,[r.value&&t.parameter.content?(ei(),
ai(Gge,{key:0,class:"parameter-item-content-type",defaultValue:n.value,
requestBody:t.parameter,
onSelectContentType:o[0]||(o[0]=({contentType:e})=>n.value=e)
},null,8,["defaultValue","requestBody"])):gi("",!0)])])),_:2
},1032,["class"])):gi("",!0),di(Vn(TI),{
class:"parameter-item-container parameter-item-container-markdown",
static:!r.value},{default:Ar((()=>{var t,o
;return[e.parameter.headers?(ei(),ai(Yge,{key:0,headers:e.parameter.headers
},null,8,["headers"])):gi("",!0),di(Vn(qge),{compact:"",
description:r.value?"":e.parameter.description,name:r.value?"":e.parameter.name,
noncollapsible:e.showChildren,required:e.parameter.required,
value:e.parameter.content?null==(o=null==(t=e.parameter.content)?void 0:t[n.value])?void 0:o.schema:e.parameter.schema
},null,8,["description","name","noncollapsible","required","value"])]})),_:1
},8,["static"])])),_:1})]))}}),[["__scopeId","data-v-9508a2d2"]]),rve={key:0,
class:"parameter-list"},ove={class:"parameter-list-title"},ave={
class:"parameter-list-items"},ive=mhe(no({__name:"ParameterList",props:{
parameters:{},showChildren:{type:Boolean,default:!1},collapsableItems:{
type:Boolean,default:!1}},setup:e=>(e,t)=>{var n
;return(null==(n=e.parameters)?void 0:n.length)?(ei(),
oi("div",rve,[ui("div",ove,[$o(e.$slots,"title",{},void 0,!0)]),ui("ul",ave,[(ei(!0),
oi(Wa,null,Do(e.parameters,(t=>(ei(),ai(nve,{key:t.name,
collapsableItems:e.collapsableItems,parameter:t,showChildren:e.showChildren
},null,8,["collapsableItems","parameter","showChildren"])))),128))])])):gi("",!0)
}}),[["__scopeId","data-v-835fb005"]]),sve={key:0},lve={
class:"request-body-title"},cve=["value"],uve={key:0,
class:"request-body-description"},dve={key:0,class:"request-body-schema"
},pve=mhe(no({__name:"RequestBody",props:{requestBody:{}},setup(e){var t
;const n=e,r=Bi((()=>{var e
;return(null==(e=n.requestBody)?void 0:e.content)?Object.keys(n.requestBody.content):[]
})),o=Fn("application/json")
;return(null==(t=n.requestBody)?void 0:t.content)&&r.value.length>0&&(o.value=r.value[0]),
(e,t)=>{var a,i,s,l
;return(null==n?void 0:n.requestBody)?(ei(),oi("div",sve,[ui("div",lve,[$o(e.$slots,"title",{},void 0,!0),ui("div",{
class:it(["request-body-title-select",{
"request-body-title-no-select":r.value.length<=1}])
},[ui("span",null,ht(o.value),1),(null==n?void 0:n.requestBody)&&r.value.length>1?Pr((ei(),
oi("select",{key:0,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e)
},[(ei(!0),oi(Wa,null,Do(null==(a=n.requestBody)?void 0:a.content,((e,t)=>(ei(),
oi("option",{key:t,value:t
},ht(t),9,cve)))),128))],512)),[[zs,o.value]]):gi("",!0)],2),(null==n?void 0:n.requestBody.description)?(ei(),
oi("div",uve,[di(Vn(J0),{value:n.requestBody.description
},null,8,["value"])])):gi("",!0)]),(null==(i=null==n?void 0:n.requestBody.content)?void 0:i[o.value])?(ei(),
oi("div",dve,[di(Vn(Zge),{compact:"",noncollapsible:"",
value:null==(l=null==(s=null==n?void 0:n.requestBody.content)?void 0:s[o.value])?void 0:l.schema
},null,8,["value"])])):gi("",!0)])):gi("",!0)}}
}),[["__scopeId","data-v-293819f7"]]),hve=no({__name:"OperationParameters",
props:{operation:{}},setup(e){const t=e,{parameterMap:n}=Q$(t.operation)
;return(e,t)=>{var r,o;return ei(),oi(Wa,null,[di(ive,{parameters:Vn(n).path},{
title:Ar((()=>t[0]||(t[0]=[fi("Path Parameters")]))),_:1
},8,["parameters"]),di(ive,{parameters:Vn(n).query},{
title:Ar((()=>t[1]||(t[1]=[fi("Query Parameters")]))),_:1
},8,["parameters"]),di(ive,{parameters:Vn(n).header},{
title:Ar((()=>t[2]||(t[2]=[fi("Headers")]))),_:1},8,["parameters"]),di(ive,{
parameters:Vn(n).body,showChildren:""},{
title:Ar((()=>t[3]||(t[3]=[fi("Body Parameters")]))),_:1
},8,["parameters"]),di(ive,{parameters:Vn(n).formData},{
title:Ar((()=>t[4]||(t[4]=[fi("Form Data")]))),_:1
},8,["parameters"]),(null==(r=e.operation.information)?void 0:r.requestBody)?(ei(),
ai(pve,{key:0,requestBody:null==(o=e.operation.information)?void 0:o.requestBody
},{title:Ar((()=>t[5]||(t[5]=[fi("Body")]))),_:1
},8,["requestBody"])):gi("",!0)],64)}}});const fve=no({
__name:"OperationResponses",props:{operation:{},collapsableItems:{type:Boolean,
default:!0}},setup(e){const t=e,{responses:n}=(r=t.operation,{
responses:Bi((()=>{if(!r.information)return[]
;const{responses:e}=r.information,t=[]
;return e?(Object.entries(e).forEach((([e,n])=>{t.push({name:e,
description:n.description,content:n.content,headers:n.headers})})),t):t}))})
;var r;return(e,t)=>(ei(),ai(ive,{collapsableItems:e.collapsableItems,
parameters:Vn(n)},{title:Ar((()=>t[0]||(t[0]=[fi("Responses")]))),_:1
},8,["collapsableItems","parameters"]))}}),mve={class:"operation-title"},gve={
class:"operation-details"},vve={class:"endpoint-label"},bve={
class:"endpoint-label-path"},yve={class:"endpoint-label-name"},Ove={
class:"endpoint-content"},wve={class:"operation-details-card"},xve={
class:"operation-details-card-item"},kve={class:"operation-details-card-item"
},Sve=mhe(no({__name:"ClassicLayout",props:{id:{},operation:{},request:{},
secretCredentials:{}},setup(e){const{copyToClipboard:t}=WU(),n=la(b$)
;return(e,r)=>(ei(),ai(Vn(rfe),{id:e.id,class:"reference-endpoint",
transparent:""},Ro({title:Ar((()=>[ui("h3",mve,[ui("div",gve,[di(Vn(Cme),{
class:"endpoint-type",method:e.operation.httpVerb,short:""
},null,8,["method"]),di(Vn(xfe),{id:e.id??"",class:"endpoint-anchor"},{
default:Ar((()=>{var t;return[ui("div",vve,[ui("div",bve,[di(Dme,{
deprecated:null==(t=e.operation.information)?void 0:t.deprecated,
path:e.operation.path
},null,8,["deprecated","path"])]),ui("div",yve,ht(e.operation.name),1)])]})),_:1
},8,["id"])])])])),actions:Ar((({active:o})=>{var a;return[o?(ei(),ai(Vn(cge),{
key:0,operation:e.operation
},null,8,["operation"])):(null==(a=Vn(n))?void 0:a())?gi("",!0):(ei(),
ai(Vn(oY),{key:1,class:"endpoint-try-hint",icon:"Play",thickness:"1.75px"
})),di(Vn(W0),{class:"endpoint-copy",icon:"Clipboard",label:"Copy endpoint URL",
size:"xs",variant:"ghost",
onClick:r[0]||(r[0]=Xs((n=>Vn(t)(e.operation.path)),["stop"]))})]})),
default:Ar((()=>[ui("div",Ove,[ui("div",wve,[ui("div",xve,[di(hve,{
operation:e.operation},null,8,["operation"])]),ui("div",kve,[di(fve,{
collapsableItems:!1,operation:e.operation
},null,8,["operation"])])]),di(Vn(sge),{operation:e.operation
},null,8,["operation"]),di(Vn(ege),{operation:e.operation,request:e.request,
secretCredentials:e.secretCredentials
},null,8,["operation","request","secretCredentials"])])])),_:2
},[e.operation.description?{name:"description",fn:Ar((()=>[di(Vn(J0),{
value:e.operation.description,withImages:""},null,8,["value"])])),key:"0"
}:void 0]),1032,["id"]))}}),[["__scopeId","data-v-040b254b"]]),_ve={
class:"operation-details"},Eve={class:"examples"},Tve=mhe(no({
__name:"ModernLayout",props:{id:{},operation:{},request:{},secretCredentials:{}
},setup:e=>(e,t)=>(ei(),ai(Vn(Khe),{id:e.id,label:e.operation.name},{
default:Ar((()=>[di(Vn(mfe),null,{default:Ar((()=>{var n,r
;return[(null==(n=e.operation.information)?void 0:n.deprecated)?(ei(),
ai(Vn(Ghe),{key:0},{default:Ar((()=>t[0]||(t[0]=[fi(" Deprecated ")]))),_:1
})):gi("",!0),ui("div",{
class:it((null==(r=e.operation.information)?void 0:r.deprecated)?"deprecated":"")
},[di(Vn(vfe),{level:3},{default:Ar((()=>[di(Vn(xfe),{id:e.id??""},{
default:Ar((()=>[fi(ht(e.operation.name),1)])),_:1},8,["id"])])),_:1
})],2),di(Vn(sfe),null,{default:Ar((()=>[di(Vn(afe),null,{
default:Ar((()=>[ui("div",_ve,[di(Vn(J0),{value:e.operation.description,
withImages:""},null,8,["value"]),di(hve,{operation:e.operation
},null,8,["operation"]),di(fve,{operation:e.operation
},null,8,["operation"])])])),_:1}),di(Vn(afe),null,{
default:Ar((()=>[ui("div",Eve,[di(Vn(H0),null,{default:Ar((()=>[di(Vn(ege),{
fallback:"",operation:e.operation,request:e.request,
secretCredentials:e.secretCredentials},{header:Ar((()=>{var t;return[di(Dme,{
class:"example-path",
deprecated:null==(t=e.operation.information)?void 0:t.deprecated,
path:e.operation.path},null,8,["deprecated","path"])]})),
footer:Ar((()=>[di(Vn(cge),{operation:e.operation},null,8,["operation"])])),_:1
},8,["operation","request","secretCredentials"])])),_:1}),di(Vn(H0),null,{
default:Ar((()=>[di(Vn(sge),{operation:e.operation,style:{"margin-top":"12px"}
},null,8,["operation"])])),_:1})])])),_:1})])),_:1})]})),_:1})])),_:1
},8,["id","label"]))}),[["__scopeId","data-v-231d90aa"]]),Cve=no({
__name:"Operation",props:{id:{},layout:{default:"modern"},operation:{},
requests:{},requestExamples:{},securitySchemes:{}},setup(e){
const{activeCollection:t,activeServer:n}=q1(),{request:r,secretCredentials:o}=kme({
operation:e.operation,collection:t,requests:e.requests,
requestExamples:e.requestExamples,securitySchemes:e.securitySchemes,server:n})
;return(e,t)=>"classic"===e.layout?(ei(),ai(Sve,{key:0,id:e.id,
operation:e.operation,request:Vn(r),secretCredentials:Vn(o)
},null,8,["id","operation","request","secretCredentials"])):(ei(),ai(Tve,{key:1,
id:e.id,operation:e.operation,request:Vn(r),secretCredentials:Vn(o)
},null,8,["id","operation","request","secretCredentials"]))}}),Ave=mhe(no({
__name:"ShowMoreButton",props:{id:{}},setup(e){
const{setCollapsedSidebarItem:t}=dN();return(e,n)=>(ei(),oi("button",{
class:"show-more",type:"button",onClick:n[0]||(n[0]=n=>Vn(t)(e.id,!0))
},[n[1]||(n[1]=fi(" Show More ")),di(Vn(oY),{class:"show-more-icon",
icon:"ChevronDown"})]))}}),[["__scopeId","data-v-252cd03d"]]),Pve=mhe(no({
__name:"Webhook",props:{webhook:{}},setup:e=>(e,t)=>{var n
;return e.webhook?(ei(),oi(Wa,{key:0},[di(pve,{class:"webhook-request-body",
requestBody:null==(n=e.webhook.information)?void 0:n.requestBody},{
title:Ar((()=>t[0]||(t[0]=[fi("Payload")]))),_:1},8,["requestBody"]),di(fve,{
operation:e.webhook},null,8,["operation"])],64)):gi("",!0)}
}),[["__scopeId","data-v-cbaa1001"]]),Dve=mhe(no({__name:"Webhooks",props:{
webhooks:{}},setup(e){
const t=e,n=Bi((()=>Object.keys(t.webhooks??{}))),{getWebhookId:r}=U$(),{collapsedSidebarItems:o}=dN(),a=Bi((()=>n.value.length<=10||o[r()])),i=Bi((()=>{
const e=n.value;return a.value?e:e.slice(0,10)}))
;return(e,t)=>n.value.length?(ei(),ai(Vn(cfe),{key:0,id:"webhooks"},{
default:Ar((()=>[di(Vn(Khe),null,{default:Ar((()=>[di(Vn(vfe),{level:2},{
default:Ar((()=>t[0]||(t[0]=[fi("Webhooks")]))),_:1}),di(Vn(Dfe),{id:"webhooks",
isLazy:!1}),ui("div",{class:it(["webhooks-list",{
"webhooks-list-truncated":!a.value}])},[(ei(!0),oi(Wa,null,Do(i.value,(t=>{var n
;return ei(),oi(Wa,{key:t
},[(ei(!0),oi(Wa,null,Do(Object.keys(null==(n=e.webhooks)?void 0:n[t]),(n=>(ei(),
ai(Vn(Dfe),{id:Vn(r)(t,n),key:n,isLazy:""},{default:Ar((()=>{var o
;return[(null==(o=e.webhooks)?void 0:o[t])?(ei(),ai(Vn(_fe),{key:0,
id:Vn(r)(t,n),class:"webhooks-list-item",label:t},{heading:Ar((()=>{var r
;return[fi(ht(null==(r=e.webhooks[t][n])?void 0:r.name),1)]})),default:Ar((()=>{
var r,o
;return[(null==(r=e.webhooks[t][n])?void 0:r.description)?(ei(),ai(Vn(J0),{
key:0,class:"webhook-section-description",
value:null==(o=e.webhooks[t][n])?void 0:o.description,withImages:""
},null,8,["value"])):gi("",!0),di(Pve,{webhook:e.webhooks[t][n]
},null,8,["webhook"])]})),_:2},1032,["id","label"])):gi("",!0)]})),_:2
},1032,["id"])))),128))],64)})),128))],2),a.value?gi("",!0):(ei(),ai(Ave,{key:0,
id:"webhooks",class:"show-more-webhooks"}))])),_:1})])),_:1})):gi("",!0)}
}),[["__scopeId","data-v-fe6e775c"]]),Rve=["aria-label"],$ve=["href","onClick"],Nve=mhe(no({
__name:"Endpoints",props:{id:{},tag:{},isCollapsed:{type:Boolean}},setup(e){
const t=e,{getOperationId:n,getTagId:r}=U$(),{scrollToOperation:o}=dN(),a=Bi((()=>t.tag["x-displayName"]??t.tag.name))
;return(e,i)=>(ei(),ai(Vn(Khe),{id:e.id,label:e.tag.name.toUpperCase()},{
default:Ar((()=>[di(Vn(vfe),{level:2},{default:Ar((()=>[di(Vn(xfe),{
id:Vn(r)(e.tag)},{default:Ar((()=>[fi(ht(a.value),1)])),_:1},8,["id"])])),_:1
}),di(Vn(mfe),null,{default:Ar((()=>[di(Vn(sfe),null,{
default:Ar((()=>[di(Vn(afe),null,{default:Ar((()=>[di(Vn(J0),{
clamp:!!e.isCollapsed&&"7",value:e.tag.description,withImages:""
},null,8,["clamp","value"])])),_:1}),di(Vn(afe),null,{default:Ar((()=>{var r
;return[(null==(r=e.tag.operations)?void 0:r.length)>0?(ei(),ai(Vn(Ume),{key:0,
class:"scalar-card-sticky"},{default:Ar((()=>[di(Vn(Hme),{muted:""},{
default:Ar((()=>[di(yfe,null,{default:Ar((()=>[fi(ht(a.value),1)])),_:1
}),i[0]||(i[0]=fi(" Endpoints "))])),_:1}),di(Vn(Qme),{class:"custom-scroll",
muted:""},{default:Ar((()=>[ui("ul",{"aria-label":`${a.value} endpoints`,
class:"endpoints"},[(ei(!0),oi(Wa,null,Do(e.tag.operations,(r=>{var a
;return ei(),oi("li",{key:Vn(n)(r,e.tag),class:"contents"},[ui("a",{
class:"endpoint",href:`#${Vn(n)(r,e.tag)}`,onClick:Xs((e=>(async e=>{
const r=n(e,t.tag);o(r)})(r)),["prevent"])},[di(Vn(Cme),{method:r.httpVerb
},null,8,["method"]),ui("span",{class:it(["endpoint-path",{
deprecated:null==(a=r.information)?void 0:a.deprecated}])
},ht(r.path),3)],8,$ve)])})),128))],8,Rve)])),_:1})])),_:1})):gi("",!0)]})),_:1
})])),_:1})])),_:1})])),_:1},8,["id","label"]))}
}),[["__scopeId","data-v-72ede5ca"]]),Mve=mhe(no({__name:"Tag",props:{id:{},
tag:{},spec:{}},setup(e){
const t=e,n=Fn(),r=Fn(),{collapsedSidebarItems:o}=dN(),{getTagId:a}=U$(),i=Bi((()=>{
var e,n,r
;return 1!==(null==(e=t.spec.tags)?void 0:e.length)||"default"!==(null==(n=t.tag)?void 0:n.name)||""!==(null==(r=t.tag)?void 0:r.description)
}));async function s(){var e,t
;await yr(),null==(t=null==(e=r.value)?void 0:e.querySelector("button"))||t.focus()
}return(e,t)=>(ei(),ai(Vn(cfe),{ref_key:"sectionContainerRef",ref:n,
class:"tag-section-container"},{default:Ar((()=>{var t
;return[i.value?(ei(),ai(Nve,{key:0,id:e.id,isCollapsed:!Vn(o)[Vn(a)(e.tag)],
tag:e.tag
},null,8,["id","isCollapsed","tag"])):gi("",!0),!Vn(o)[Vn(a)(e.tag)]&&(null==(t=e.tag.operations)?void 0:t.length)>1?(ei(),
ai(Ave,{key:1,id:e.id??"",
"aria-label":`Show all ${e.tag["x-displayName"]??e.tag.name} endpoints`,
onClick:s},null,8,["id","aria-label"])):(ei(),oi("div",{key:2,
ref_key:"contentsRef",ref:r,class:"contents"
},[$o(e.$slots,"default",{},void 0,!0)],512))]})),_:3},512))}
}),[["__scopeId","data-v-a6dd88a4"]]),Ive=mhe(no({__name:"TagAccordion",props:{
tag:{},spec:{}},setup(e){const{getTagId:t}=U$();return(e,n)=>(ei(),ai(Vn(pfe),{
class:"tag-section"},{title:Ar((()=>[di(Vn(vfe),{class:"tag-name",level:2},{
default:Ar((()=>[di(Vn(xfe),{id:Vn(t)(e.tag)},{
default:Ar((()=>[fi(ht(e.tag.name),1)])),_:1},8,["id"])])),_:1}),di(Vn(J0),{
class:"tag-description",value:e.tag.description,withImages:""
},null,8,["value"])])),default:Ar((()=>[$o(e.$slots,"default",{},void 0,!0)])),
_:3}))}}),[["__scopeId","data-v-18f8a087"]]),Lve=no({__name:"TagList",props:{
tags:{},spec:{},layout:{}},setup(e){
const t=e,{getOperationId:n,getTagId:r,hash:o}=U$(),{collapsedSidebarItems:a}=dN(),{requests:i,requestExamples:s,securitySchemes:l}=M1(),c=Bi((()=>"classic"===t.layout?Ive:Mve)),u="classic"!==t.layout&&!o.value.startsWith("model")
;return(e,t)=>(ei(!0),oi(Wa,null,Do(e.tags,(t=>(ei(),ai(Vn(Dfe),{id:Vn(r)(t),
key:Vn(r)(t),isLazy:Vn(u)&&!Vn(a)[Vn(r)(t)]},{
default:Ar((()=>[(ei(),ai(Co(c.value),{id:Vn(r)(t),spec:e.spec,tag:t},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(t.operations,((r,o)=>(ei(),ai(Vn(Dfe),{
id:Vn(n)(r,t),key:`${r.httpVerb}-${r.operationId}`,isLazy:o>0},{
default:Ar((()=>[di(Vn(H0),null,{default:Ar((()=>[di(Vn(Cve),{id:Vn(n)(r,t),
layout:e.layout,operation:r,requestExamples:Vn(s),requests:Vn(i),
securitySchemes:Vn(l),tag:t
},null,8,["id","layout","operation","requestExamples","requests","securitySchemes","tag"])])),
_:2},1024)])),_:2},1032,["id","isLazy"])))),128))])),_:2
},1032,["id","spec","tag"]))])),_:2},1032,["id","isLazy"])))),128))}}),jve=no({
__name:"Loading",props:{layout:{default:"modern"},parsedSpec:{}},setup(e){
const t=e,n=Fn(!1),r=Fn([]),o=Fn([]),{requests:a,requestExamples:i,securitySchemes:s}=M1(),{getModelId:l,getSectionId:c,getTagId:u,hash:d,isIntersectionEnabled:p}=U$(),h=Fn("classic"!==t.layout&&d.value)
;Ma((()=>{var e;return null==(e=t.parsedSpec.tags)?void 0:e.length}),(e=>{
var a,i;if(!d.value||"number"!=typeof e||!t.parsedSpec.tags)return;const s=c()
;if(s.startsWith("tag")){let e=0
;const o=(null==(a=t.parsedSpec.tags)?void 0:a.findIndex((e=>u(e)===s)))??0,l=d.value.match(/tag\/([^/]+)\/([^/]+)\/(.+)/)
;if(4===(null==l?void 0:l.length)){const n=l[2],r="/"+l[3]
;e=null==(i=t.parsedSpec.tags[o])?void 0:i.operations.findIndex((({httpVerb:e,path:t})=>n===e&&r===t))
}const c=t.parsedSpec.tags[o];if(!c)return
;"default"!==c.name&&(n.value=s!==d.value&&s.startsWith("tag")),r.value.push({
...c,lazyOperations:c.operations.slice(e,e+2)})
}else if(d.value.startsWith("model")){
const e=Object.keys(GT(t.parsedSpec)??{}),[,n]=d.value.toLowerCase().split("/"),r="models"===d.value?0:e.findIndex((e=>e.toLowerCase()===n))
;if(-1===r)return;o.value=e.slice(r,r+3)
}else"undefined"!=typeof window&&w$(d.value),setTimeout((()=>p.value=!0),1e3)
}),{immediate:!0});const f=q$.on((({id:e})=>{const t=d.value
;t&&e===t&&(f(),setTimeout((()=>{
"undefined"!=typeof window&&w$(t),h.value=!1,setTimeout((()=>p.value=!0),1e3)
}),300))}));return go((()=>{d.value||setTimeout((()=>p.value=!0),1e3)
})),(e,t)=>Pr((ei(),oi("div",{class:it(["references-loading",{
"references-loading-hidden-tag":n.value,
"references-loading-top-spacer":r.value.length}])
},[(ei(!0),oi(Wa,null,Do(r.value,((t,n)=>(ei(),oi(Wa,{key:t.name+n
},[t.operations&&t.operations.length>0?(ei(),ai(Vn(Mve),{key:0,
spec:e.parsedSpec,tag:t},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(t.lazyOperations,(n=>(ei(),ai(Vn(Cve),{
key:`${n.httpVerb}-${n.operationId}`,layout:e.layout,operation:n,
requestExamples:Vn(i),requests:Vn(a),securitySchemes:Vn(s),tag:t
},null,8,["layout","operation","requestExamples","requests","securitySchemes","tag"])))),128))])),
_:2
},1032,["spec","tag"])):gi("",!0)],64)))),128)),o.value.length?(ei(),ai(Vn(cfe),{
key:0},{default:Ar((()=>[(ei(!0),oi(Wa,null,Do(o.value,(t=>(ei(),ai(Vn(Khe),{
key:t,label:t},{default:Ar((()=>{var n
;return[(null==(n=Vn(GT)(e.parsedSpec))?void 0:n[t])?(ei(),ai(Vn(mfe),{key:0},{
default:Ar((()=>{var n;return[di(Vn(vfe),{level:2},{
default:Ar((()=>[di(Vn(xfe),{id:Vn(l)(t)},{default:Ar((()=>{var n
;return[fi(ht((null==(n=Vn(GT)(e.parsedSpec))?void 0:n[t]).title??t),1)]})),_:2
},1032,["id"])])),_:2},1024),di(Vn(Zge),{name:t,noncollapsible:"",
value:null==(n=Vn(GT)(e.parsedSpec))?void 0:n[t]},null,8,["name","value"])]})),
_:2},1024)):gi("",!0)]})),_:2},1032,["label"])))),128))])),_:1
})):gi("",!0)],2)),[[hs,h.value]])}}),Bve=mhe(no({__name:"Models",props:{
schemas:{}},setup(e){
const t=e,{collapsedSidebarItems:n}=dN(),{getModelId:r}=U$(),o=Bi((()=>Object.keys(t.schemas??{}).length<=10||n[r()])),a=Bi((()=>{
const e=Object.keys(t.schemas??{});return o.value?e:e.slice(0,10)}))
;return(e,t)=>e.schemas?(ei(),ai(Vn(cfe),{key:0,id:"models"},{
default:Ar((()=>[di(Vn(Khe),null,{default:Ar((()=>[di(Vn(vfe),{level:2},{
default:Ar((()=>t[0]||(t[0]=[fi("Models")]))),_:1}),di(Vn(Dfe),{id:"models",
isLazy:!1}),ui("div",{class:it(["models-list",{"models-list-truncated":!o.value
}])},[(ei(!0),oi(Wa,null,Do(a.value,(t=>(ei(),ai(Vn(Dfe),{id:Vn(r)(t),key:t,
isLazy:""},{default:Ar((()=>[di(Vn(_fe),{id:Vn(r)(t),class:"models-list-item",
label:t},{heading:Ar((()=>[di(Vn(pge),{name:t,value:e.schemas[t]
},null,8,["name","value"])])),default:Ar((()=>[di(Vn(H0),null,{
default:Ar((()=>[di(Vn(Zge),{hideHeading:!0,noncollapsible:"",value:e.schemas[t]
},null,8,["value"])])),_:2},1024)])),_:2},1032,["id","label"])])),_:2
},1032,["id"])))),128))],2),o.value?gi("",!0):(ei(),ai(Ave,{key:0,id:Vn(r)(),
class:"show-more-models"},null,8,["id"]))])),_:1})])),_:1})):gi("",!0)}
}),[["__scopeId","data-v-02d49c40"]]),Uve={key:0,class:"properties"},Qve={key:1
},Fve=mhe(no({__name:"ModelsAccordion",props:{schemas:{}},setup(e){
const t=e,n=Bi((()=>t.schemas?Object.entries(t.schemas).map((([e,t])=>({name:e,
schema:t}))):[])),{getModelId:r}=U$();return(e,o)=>t.schemas?(ei(),ai(Vn(pfe),{
key:0,class:"reference-models"},{title:Ar((()=>[di(Vn(vfe),{level:2},{
default:Ar((()=>o[0]||(o[0]=[fi("Models")]))),_:1})])),default:Ar((()=>[(ei(!0),
oi(Wa,null,Do(n.value,(({name:e,schema:t})=>(ei(),ai(Vn(rfe),{id:Vn(r)(e),key:e,
label:e},{title:Ar((()=>[di(Vn(xfe),{id:Vn(r)(e),class:"reference-models-anchor"
},{default:Ar((()=>[di(Vn(pge),{class:"reference-models-label",name:e,value:t
},null,8,["name","value"])])),_:2},1032,["id"])])),
default:Ar((()=>[(null==t?void 0:t.properties)?(ei(),
oi("div",Uve,[(ei(!0),oi(Wa,null,Do(Object.entries(t.properties),(([e,n])=>{
var r,o,a;return ei(),ai(Vn(qge),{key:e,name:e,
required:(null==(r=t.required)?void 0:r.includes(e))||!0===(null==(a=null==(o=t.properties)?void 0:o[e])?void 0:a.required),
value:n},null,8,["name","required","value"])
})),128))])):(ei(),oi("div",Qve,[di(Vn(qge),{value:t},null,8,["value"])]))])),
_:2},1032,["id","label"])))),128))])),_:1})):gi("",!0)}
}),[["__scopeId","data-v-b3be69ad"]]),zve={class:"narrow-references-container"
},qve={class:"scalar-client introduction-card-item"},Hve=no({__name:"Content",
props:{parsedSpec:{},layout:{default:"modern"},baseServerURL:{},servers:{}},
setup(e){
const t=e,{hideModels:n}=dN(),{activeCollection:r}=q1(),o=Bi((()=>"classic"===t.layout?"after":"aside"))
;return(e,a)=>{var i,s,l,c
;return ei(),oi(Wa,null,[a[0]||(a[0]=mi('<div class="section-flare" data-v-25d74a5d><div class="section-flare-item" data-v-25d74a5d></div><div class="section-flare-item" data-v-25d74a5d></div><div class="section-flare-item" data-v-25d74a5d></div><div class="section-flare-item" data-v-25d74a5d></div><div class="section-flare-item" data-v-25d74a5d></div><div class="section-flare-item" data-v-25d74a5d></div><div class="section-flare-item" data-v-25d74a5d></div><div class="section-flare-item" data-v-25d74a5d></div></div>',1)),ui("div",zve,[$o(e.$slots,"start",{},void 0,!0),di(Vn(jve),{
layout:e.layout,parsedSpec:e.parsedSpec
},null,8,["layout","parsedSpec"]),(null==(s=null==(i=e.parsedSpec)?void 0:i.info)?void 0:s.title)||(null==(c=null==(l=e.parsedSpec)?void 0:l.info)?void 0:c.description)?(ei(),
ai(Vn(Pfe),{key:0,info:e.parsedSpec.info,parsedSpec:e.parsedSpec},{
[o.value]:Ar((()=>[di(Vn(H0),null,{default:Ar((()=>{var n;return[ui("div",{
class:it(["introduction-card",{"introduction-card-row":"classic"===e.layout}])
},[di(Vn($he),{class:"introduction-card-item",defaultServerUrl:e.baseServerURL,
servers:t.servers,specification:e.parsedSpec
},null,8,["defaultServerUrl","servers","specification"]),ui("div",qve,[di(Vn(hhe),{
layout:"reference",
selectedSecuritySchemeUids:(null==(n=Vn(r))?void 0:n.selectedSecuritySchemeUids)??[],
title:"Authentication"},null,8,["selectedSecuritySchemeUids"])]),di(Vn(Hhe),{
class:"introduction-card-item"})],2)]})),_:1})])),_:2
},1032,["info","parsedSpec"])):$o(e.$slots,"empty-state",{key:1
},void 0,!0),e.parsedSpec.tags?(ei(),oi(Wa,{key:2
},[e.parsedSpec["x-tagGroups"]?(ei(!0),oi(Wa,{key:0
},Do(e.parsedSpec["x-tagGroups"],(t=>(ei(),ai(Vn(Lve),{key:t.name,
layout:e.layout,spec:e.parsedSpec,tags:t.tags.map((t=>{var n
;return null==(n=e.parsedSpec.tags)?void 0:n.find((e=>e.name===t))
})).filter((e=>!!e))
},null,8,["layout","spec","tags"])))),128)):(ei(),ai(Vn(Lve),{key:1,
layout:e.layout,spec:e.parsedSpec,tags:e.parsedSpec.tags
},null,8,["layout","spec","tags"]))],64)):gi("",!0),e.parsedSpec.webhooks?(ei(),
ai(Vn(Dve),{key:3,webhooks:e.parsedSpec.webhooks
},null,8,["webhooks"])):gi("",!0),Vn(YT)(e.parsedSpec)&&!Vn(n)?(ei(),oi(Wa,{
key:4},["classic"===e.layout?(ei(),ai(Vn(Fve),{key:0,
schemas:Vn(GT)(e.parsedSpec)},null,8,["schemas"])):(ei(),ai(Vn(Bve),{key:1,
schemas:Vn(GT)(e.parsedSpec)
},null,8,["schemas"]))],64)):gi("",!0),$o(e.$slots,"end",{},void 0,!0)])],64)}}
}),Vve=mhe(Hve,[["__scopeId","data-v-25d74a5d"]]),Zve={
class:"start custom-scroll"},Wve={class:"start-copy"},Xve={class:"start-cta"
},Gve={class:"start-row"},Yve={class:"start-section start-section-colors"
},Kve=["onClick"],Jve=mhe(no({__name:"GettingStarted",props:{theme:{}},
emits:["changeTheme","loadSwaggerFile","linkSwaggerFile","updateContent"],
setup(e,{emit:t}){
const n=t,r=["default","alternate","moon","purple","solarized","bluePlanet","saturn","kepler","mars","deepSpace"]
;async function o(){
const e=await fetch("https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml")
;n("updateContent",await e.text())}
return(e,t)=>(ei(),oi("div",Zve,[ui("div",Wve,[t[3]||(t[3]=mi('<div class="start-logo" data-v-391b4e37><svg height="36" viewBox="0 0 36 36" width="36" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><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-391b4e37></path></svg></div><h1 class="start-h1" data-v-391b4e37>Swagger Editor</h1><p class="start-p" data-v-391b4e37> Welcome to the Scalar API References + Swagger Editor, a Free &amp; Open-Source tool that takes your Swagger/OAS file and generates Beautiful API references. </p>',3)),ui("div",Xve,[di(Vn(BB),{
fullWidth:"",onClick:o},{default:Ar((()=>t[1]||(t[1]=[fi(" Show Example ")]))),
_:1}),di(Vn(BB),{fullWidth:"",variant:"outlined",
onClick:t[0]||(t[0]=t=>e.$emit("loadSwaggerFile"))},{
default:Ar((()=>t[2]||(t[2]=[fi(" Upload File ")]))),_:1
})])]),ui("div",Gve,[t[5]||(t[5]=mi('<div class="start-section start-section-integrations" data-v-391b4e37><div class="start-h2" data-v-391b4e37>INTEGRATIONS</div><a class="start-item" href="https://github.com/scalar/scalar/tree/main/packages/fastify-api-reference#readme" target="_blank" data-v-391b4e37><svg fill="currentColor" height="16" viewBox="0 0 19 16" width="19" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><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-391b4e37></path></svg><span data-v-391b4e37>Fastify</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#from-a-cdn" target="_blank" data-v-391b4e37><svg fill="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g data-v-391b4e37><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-391b4e37></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-391b4e37></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-391b4e37></path></g></svg><span data-v-391b4e37>CDN</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-vuejs" target="_blank" data-v-391b4e37><svg height="170" viewBox="0 0 196.3 170" width="196.3" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="currentColor" fill-rule="nonzero" data-v-391b4e37><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-391b4e37></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-391b4e37></polygon></g></svg><span data-v-391b4e37>Vue</span></a><a class="start-item" href="https://github.com/scalar/scalar/tree/main#with-react" target="_blank" data-v-391b4e37><svg height="23.3" viewBox="0 0 22 23.3" width="22" xmlns="http://www.w3.org/2000/svg" data-v-391b4e37><g fill="none" fill-rule="evenodd" data-v-391b4e37><circle cx="11" cy="11.6" fill="currentColor" fill-rule="nonzero" r="2" data-v-391b4e37></circle><g stroke="currentColor" data-v-391b4e37><ellipse cx="11" cy="11.6" rx="11" ry="4.2" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(60 11 11.6)" data-v-391b4e37></ellipse><ellipse cx="11" cy="11.6" rx="11" ry="4.2" transform="rotate(120 11 11.6)" data-v-391b4e37></ellipse></g></g></svg><span data-v-391b4e37>React</span></a></div>',1)),ui("div",Yve,[t[4]||(t[4]=ui("p",{
class:"start-h2"},"THEMING",-1)),(ei(),oi(Wa,null,Do(r,(t=>ui("div",{key:t,
class:it(["start-item",{"start-item-active":t===e.theme}]),
onClick:n=>e.$emit("changeTheme",{id:t,label:Vn(gl)[t]})
},ht(Vn(gl)[t]),11,Kve))),64))])]),t[6]||(t[6]=mi('<p class="start-h1" data-v-391b4e37>Features</p><ul class="start-ul" data-v-391b4e37><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Customize</p> Bring your typography &amp; color palettes, or use our themes! </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Testing</p> A deeply integrated Rest API Client (Also Free &amp; Open-Source) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Search</p> Fully integrated Search (Using fuse.js) </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Hosting</p> Free subdomain hosting on https://apidocumentation.com </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>OpenAPI &amp; Swagger</p> Support for OpenAPI 3.1, OpenAPI 3.0, and Swagger 2.0 </li><li data-v-391b4e37><p class="start-h3" data-v-391b4e37>Code Samples</p> Code samples to show off your API in most popular languages </li></ul>',2))]))
}}),[["__scopeId","data-v-391b4e37"]]),ebe=mhe(no({__name:"SidebarHttpBadge",
props:{active:{type:Boolean},method:{}},setup:e=>(e,t)=>(ei(),ai(Vn(Cme),{
class:it(["sidebar-heading-type",{"sidebar-heading-type-active":e.active}]),
method:e.method,property:"--method-color",short:""},null,8,["class","method"]))
}),[["__scopeId","data-v-f51e2805"]]),tbe=["id"],nbe={key:0,
class:"sidebar-heading-chevron"},rbe=["href","tabindex"],obe={
class:"sidebar-heading-link-title"},abe={key:1,
class:"sidebar-heading-link-method"},ibe={key:1,class:"action-menu"
},sbe=mhe(no({__name:"SidebarElement",props:{id:{},item:{},isActive:{
type:Boolean},hasChildren:{type:Boolean},open:{type:Boolean}},
emits:["toggleOpen"],setup(e,{emit:t}){
const n=e,r=t,{getFullHash:o,isIntersectionEnabled:a,pathRouting:i,replaceUrlState:s}=U$(),l=async()=>{
var e,t
;n.hasChildren&&r("toggleOpen"),null==(t=null==(e=n.item)?void 0:e.select)||t.call(e),
n.open&&(a.value=!1,await x$(100),a.value=!0)},c=()=>{
if(i.value)return JT(i.value.basePath,n.item.id);if("undefined"!=typeof window){
const e=new URL(window.location.href)
;return e.hash=o(n.item.id),`${e.pathname}${e.search}${e.hash}`}
return`#${o(n.item.id)}`},u=async e=>{var t,o
;i.value&&(e.preventDefault(),n.hasChildren&&r("toggleOpen"),
null==(o=null==(t=n.item)?void 0:t.select)||o.call(t),
r("toggleOpen"),a.value=!1,s(n.item.id),w$(n.item.id),await x$(100),a.value=!0)}
;return(e,t)=>{var n,r;return ei(),oi("li",{id:e.id,class:"sidebar-group-item"
},[ui("div",{class:it(["sidebar-heading",{
"sidebar-group-item__folder":e.hasChildren,active_page:e.isActive,
deprecated:e.item.deprecated??!1}]),onClick:l
},[e.hasChildren?(ei(),oi("p",nbe,[di(Vn(W0),{"aria-expanded":e.open,
class:"toggle-nested-icon",icon:e.open?"ChevronDown":"ChevronRight",
label:`${e.open?"Collapse":"Expand"} ${e.item.title}`,size:"xs",thickness:"1.5",
onClick:Xs(l,["stop"])
},null,8,["aria-expanded","icon","label"]),t[0]||(t[0]=fi("   "))])):gi("",!0),ui("a",{
class:"sidebar-heading-link",href:c(),tabindex:e.hasChildren?-1:0,onClick:u
},[(null==(r=null==(n=e.item)?void 0:n.icon)?void 0:r.src)?(ei(),ai(Vn(oY),{
key:0,class:"sidebar-icon",icon:e.item.icon.src
},null,8,["icon"])):gi("",!0),ui("p",obe,ht(e.item.title),1),e.item.httpVerb&&!e.hasChildren?(ei(),
oi("p",abe,[t[1]||(t[1]=fi("   ")),t[2]||(t[2]=ui("span",{class:"sr-only"
},"HTTP Method: ",-1)),di(ebe,{active:e.isActive,method:e.item.httpVerb
},null,8,["active","method"])])):gi("",!0)],8,rbe)],2),e.open?$o(e.$slots,"default",{
key:0
},void 0,!0):gi("",!0),e.$slots["action-menu"]?(ei(),oi("div",ibe,[$o(e.$slots,"action-menu",{},void 0,!0)])):gi("",!0)],8,tbe)
}}}),[["__scopeId","data-v-90ecd485"]]),lbe=mhe(no({__name:"SidebarGroup",
props:{level:{}},setup:e=>(e,t)=>(ei(),oi("ul",{
class:"sidebar-group sidebar-indent-nested",style:tt({
"--scalar-sidebar-level":e.level})},[$o(e.$slots,"default",{},void 0,!0)],4))
}),[["__scopeId","data-v-39c84840"]]),cbe={class:"sidebar"
},ube=["aria-label"],dbe={class:"sidebar-group-title"},pbe=mhe(no({
__name:"Sidebar",props:{parsedSpec:{},tagsSorter:{type:[String,Function]},
operationsSorter:{type:[String,Function]}},setup(e){
const t=e,{hash:n,isIntersectionEnabled:r}=U$(),{items:o,toggleCollapsedSidebarItem:a,collapsedSidebarItems:i}=dN({
parsedSpec:t.parsedSpec,tagsSorter:t.tagsSorter,
operationsSorter:t.operationsSorter}),s=Fn(null),l=Fn(!0);Ma(n,(e=>{
r.value&&!l.value&&"undefined"!=typeof window&&c(e)}));const c=e=>{var t,n,r,o
;const a=document.getElementById(`sidebar-${e}`);if(!a||!s.value)return
;let i=-160
;"heading"===a.getAttribute("data-sidebar-type")?i+=a.offsetTop+(null==(t=a.getElementsByClassName("sidebar-heading"))?void 0:t[0]).offsetHeight:i+=a.offsetTop+((null==(n=a.parentElement)?void 0:n.offsetTop)??0)+((null==(o=null==(r=a.parentElement)?void 0:r.parentElement)?void 0:o.offsetTop)??0),
s.value.scrollTo({top:i,behavior:"smooth"})};return go((()=>{
setTimeout((()=>c(n.value)),500),l.value=!1})),(e,t)=>{var r
;return ei(),oi("div",cbe,[$o(e.$slots,"sidebar-start",{},void 0,!0),ui("nav",{
ref_key:"scrollerEl",ref:s,
"aria-label":`Contents of ${null==(r=e.parsedSpec.info)?void 0:r.title}`,
class:"sidebar-pages custom-scroll custom-scroll-self-contain-overflow"
},[di(lbe,{level:0},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(Vn(o).entries,(e=>(ei(),oi(Wa,{key:e.id
},[e.isGroup?(ei(),oi(Wa,{key:0
},[ui("li",dbe,ht(e.displayTitle??e.title),1),(ei(!0),
oi(Wa,null,Do(e.children,(t=>(ei(),ai(sbe,{key:t.id,id:`sidebar-${t.id}`,
"data-sidebar-type":"heading",hasChildren:t.children&&t.children.length>0,
isActive:Vn(n)===t.id,item:{id:t.id,title:t.displayTitle??t.title,
select:t.select,httpVerb:t.httpVerb,deprecated:t.deprecated??!1},
open:Vn(i)[t.id]??!1,onToggleOpen:async()=>{
l.value=!0,Vn(a)(t.id),await Vn(x$)(100),l.value=!1}},{default:Ar((()=>{var r
;return[t.children&&(null==(r=t.children)?void 0:r.length)>0?(ei(),ai(lbe,{
key:0,level:1},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(t.children,(t=>(ei(),oi(Wa,{key:t.id
},[e.show?(ei(),ai(sbe,{key:0,id:`sidebar-${t.id}`,isActive:Vn(n)===t.id,item:{
id:t.id,title:t.displayTitle??t.title,select:t.select,httpVerb:t.httpVerb,
deprecated:t.deprecated??!1}
},null,8,["id","isActive","item"])):gi("",!0)],64)))),128))])),_:2
},1024)):gi("",!0)]})),_:2
},1032,["id","hasChildren","isActive","item","open","onToggleOpen"])))),128))],64)):(ei(),
oi(Wa,{key:1},[e.show?(ei(),ai(sbe,{key:0,id:`sidebar-${e.id}`,
"data-sidebar-type":"heading",hasChildren:e.children&&e.children.length>0,
isActive:Vn(n)===e.id,item:{id:e.id,title:e.displayTitle??e.title,
select:e.select,httpVerb:e.httpVerb,deprecated:e.deprecated??!1},
open:Vn(i)[e.id]??!1,onToggleOpen:async()=>{
l.value=!0,Vn(a)(e.id),await Vn(x$)(100),l.value=!1}},{default:Ar((()=>{var t
;return[e.children&&(null==(t=e.children)?void 0:t.length)>0?(ei(),ai(lbe,{
key:0,level:1},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(e.children,(t=>(ei(),oi(Wa,{key:t.id
},[e.show?(ei(),ai(sbe,{key:0,id:`sidebar-${t.id}`,isActive:Vn(n)===t.id,item:{
id:t.id,title:t.displayTitle??t.title,select:t.select,httpVerb:t.httpVerb,
deprecated:t.deprecated??!1}
},null,8,["id","isActive","item"])):gi("",!0)],64)))),128))])),_:2
},1024)):gi("",!0)]})),_:2
},1032,["id","hasChildren","isActive","item","open","onToggleOpen"])):gi("",!0)],64))],64)))),128))])),
_:1})],8,ube),$o(e.$slots,"sidebar-end",{},void 0,!0)])}}
}),[["__scopeId","data-v-b863366c"]]),hbe=["innerHTML"],fbe={
class:"references-header"},mbe={key:0,
class:"references-navigation t-doc__sidebar"},gbe={
class:"references-navigation-list"},vbe={class:"references-editor"},bbe={
class:"references-editor-textarea"},ybe=["aria-label"],Obe={key:0,
class:"references-footer"},wbe=no({inheritAttrs:!1,__name:"ApiReferenceLayout",
props:{configuration:{},parsedSpec:{},rawSpec:{}},
emits:["changeTheme","updateContent","loadSwaggerFile","linkSwaggerFile","toggleDarkMode"],
setup(e){const t=e,{initializeToasts:n,toast:r}=VU();n((e=>r(e)))
;const o=sd("(min-width: 1150px)"),a=Fn("100dvh"),i=Fn(null);ld(i,(e=>{
a.value=e[0].contentRect.height+"px"}))
;const s=Bi(ml),{breadcrumb:l,collapsedSidebarItems:c,isSidebarOpen:u,setCollapsedSidebarItem:d,hideModels:p,defaultOpenAllTags:h,setParsedSpec:f,scrollToOperation:m}=dN(),{getReferenceHash:g,getPathRoutingId:v,getSectionId:b,getTagId:y,hash:O,isIntersectionEnabled:w,pathRouting:x,updateHash:k,replaceUrlState:S}=U$()
;x.value=t.configuration.pathRouting,mo((()=>k()));const _=async e=>{var t
;w.value=!1,
k(),e?m(e):null==(t=i.value)||t.scrollTo(0,0),await x$(100),w.value=!0},E=Fn(0)
;mo((()=>R1())),go((()=>{var e,n,r
;history.scrollRestoration="manual",k$.on((({specTitle:e})=>{!function(e,t){
const n=hD(e),r=n?new Blob([e],{type:"application/json"}):new Blob([e],{
type:"application/x-yaml"
}),o=URL.createObjectURL(r),a=n?".json":".yaml",i=t?t+a:"spec"+a,s=document.createElement("a")
;s.href=o,s.download=i,s.dispatchEvent(new MouseEvent("click",{bubbles:!0,
cancelable:!0,view:window})),setTimeout((()=>{
window.URL.revokeObjectURL(o),s.remove()}),100)}(t.rawSpec,e)}))
;const o=null==(n=null==(e=i.value)?void 0:e.parentElement)?void 0:n.getBoundingClientRect(),a=null==(r=i.value)?void 0:r.getBoundingClientRect()
;if(o&&a){const e=a.top-o.top;E.value=e<2?0:e}window.onhashchange=()=>{_(g())
},window.onpopstate=()=>x.value&&_(v(window.location.pathname))}))
;const T=Bi((()=>o.value||!t.configuration.isEditable)),C=function(e,t=200,n={}){
return Yu(Ju(t,n),e)}((e=>{if((e.target.scrollTop??0)<50){
const e=t.configuration.pathRouting?t.configuration.pathRouting.basePath:window.location.pathname
;S("",e+window.location.search)}})),A=Bi((()=>({breadcrumb:l.value,
spec:t.parsedSpec})));Oo((()=>{k$.reset()})),Ma((()=>t.parsedSpec),f,{deep:!0}),
wo((()=>{var e,n;const r=$a();if(r&&(r.payload||(r.payload={data:{}
}),(e=r.payload).data||(e.data={}),t.configuration.pathRouting)){
const e=v(r.url);O.value=e,r.payload.data.hash=e
;for(const t in c)Object.hasOwn(c,t)&&delete c[t];if(e)d(b(e),!0);else{
const e=null==(n=t.parsedSpec.tags)?void 0:n[0];e&&d(y(e),!0)}
r.payload.data["useSidebarContent-collapsedSidebarItems"]=c}})),function(e){
sa(DN,e)}((()=>{var e;const t=_i(),n="scalar-instance-id";if(!t)return n
;let r=t.uid
;return"undefined"==typeof window?(t.attrs||(t.attrs={}),t.attrs[n]=r):(null==(e=t.vnode.el)?void 0:e.getAttribute)&&(r=t.vnode.el.getAttribute(n)),
`${n}-${r}`}));const P=$1({isReadOnly:!0,
proxyUrl:t.configuration.proxyUrl||t.configuration.proxy,
themeId:t.configuration.theme,useLocalStorage:!1,
hideClientButton:t.configuration.hideClientButton});Ma((()=>t.rawSpec),(e=>{
var n;return e&&P.importSpecFile(e,"default",{shouldLoad:!1,
documentUrl:null==(n=t.configuration.spec)?void 0:n.url,
setCollectionSecurity:!0,...t.configuration})}),{immediate:!0}),sa(N1,P)
;const D=F1(P);function R(e,n){Ma((()=>t.configuration[e]),(e=>{void 0!==e&&n(e)
}),{immediate:!0})}
sa(z1,D),sa(v$,(()=>t.configuration.hideDownloadButton)),sa(b$,(()=>t.configuration.hideTestRequestButton)),
sa(y$,(()=>{var e;return null==(e=t.configuration.spec)?void 0:e.url
})),sa(O$,(()=>null!==t.configuration._integration?t.configuration._integration:"vue"))
;const{setExcludedClients:$,setDefaultHttpClient:N}=TN();var M
;R("defaultHttpClient",N),
R("hiddenClients",$),p.value=t.configuration.hideModels??!1,
h.value=t.configuration.defaultOpenAllTags??!1,
M=t.configuration,Ma((()=>M),(()=>{
M.proxy&&console.warn("[DEPRECATED] You’re using the deprecated 'proxy' attribute, rename it to 'proxyUrl' or update the package."),
(M.proxyUrl||M.proxy)===fd&&(console.warn(`[DEPRECATED] Warning: configuration.proxyUrl points to our old proxy (${fd}).`),
console.warn(`[DEPRECATED] We are overwriting the value and use the new proxy URL (${md}) instead.`),
delete M.proxy,
M.proxyUrl=md,console.warn(`[DEPRECATED] Action Required: You should manually update your configuration to use the new URL (${md}). Read more: https://github.com/scalar/scalar`))
}),{immediate:!0});const I=Bi((()=>`<style>\n  ${((e,t)=>{
const{fonts:n=!0,layer:r="scalar-theme"}=t??{},o=[bl(e),n?"/* 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,\n    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,\n    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: 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: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,\n    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, 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: 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/* 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,\n    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,\n    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: 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: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF,\n    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, 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: 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 r?`@layer ${r} {\n${o}}`:o})(t.configuration.theme,{
fonts:t.configuration.withDefaultFonts})}</style>`));return(e,t)=>{var n,r
;return ei(),oi(Wa,null,[ui("div",{innerHTML:I.value},null,8,hbe),ui("div",{
ref_key:"documentEl",ref:i,
class:it(["scalar-app scalar-api-reference references-layout",[{
"scalar-scrollbars-obtrusive":s.value,
"references-editable":e.configuration.isEditable,
"references-sidebar":e.configuration.showSidebar,
"references-sidebar-mobile-open":Vn(u),
"references-classic":"classic"===e.configuration.layout},e.$attrs.class]]),
style:tt({"--scalar-y-offset":`var(--scalar-custom-header-height, ${E.value}px)`
}),onScrollPassive:t[4]||(t[4]=(...e)=>Vn(C)&&Vn(C)(...e))
},[ui("div",fbe,[$o(e.$slots,"header",st(pi(A.value)),void 0,!0)]),e.configuration.showSidebar?(ei(),
oi("aside",mbe,[ui("div",gbe,[di(Vn(H0),null,{default:Ar((()=>[di(Vn(pbe),{
operationsSorter:e.configuration.operationsSorter,parsedSpec:e.parsedSpec,
tagsSorter:e.configuration.tagsSorter},{
"sidebar-start":Ar((()=>[$o(e.$slots,"sidebar-start",st(pi(A.value)),void 0,!0)])),
"sidebar-end":Ar((()=>[$o(e.$slots,"sidebar-end",st(pi(A.value)),void 0,!0)])),
_:3},8,["operationsSorter","parsedSpec","tagsSorter"])])),_:3
})])])):gi("",!0),Pr(ui("div",vbe,[ui("div",bbe,[$o(e.$slots,"editor",st(pi(A.value)),void 0,!0)])],512),[[hs,e.configuration.isEditable]]),T.value?(ei(),
oi(Wa,{key:1},[ui("section",{
"aria-label":`Open API Documentation for ${null==(n=e.parsedSpec.info)?void 0:n.title}`,
class:"references-rendered"},[di(Vn(Vve),{
baseServerURL:e.configuration.baseServerURL,layout:e.configuration.layout,
parsedSpec:e.parsedSpec,servers:e.configuration.servers},Ro({
start:Ar((()=>[$o(e.$slots,"content-start",st(pi(A.value)),void 0,!0)])),
end:Ar((()=>[$o(e.$slots,"content-end",st(pi(A.value)),void 0,!0)])),_:2
},[(null==(r=e.configuration)?void 0:r.isEditable)?{name:"empty-state",
fn:Ar((()=>{var n;return[di(Jve,{
theme:(null==(n=e.configuration)?void 0:n.theme)||"default",
onChangeTheme:t[0]||(t[0]=t=>e.$emit("changeTheme",t)),
onLinkSwaggerFile:t[1]||(t[1]=t=>e.$emit("linkSwaggerFile")),
onLoadSwaggerFile:t[2]||(t[2]=t=>e.$emit("loadSwaggerFile")),
onUpdateContent:t[3]||(t[3]=t=>e.$emit("updateContent",t))},null,8,["theme"])]
})),key:"0"
}:void 0]),1032,["baseServerURL","layout","parsedSpec","servers"])],8,ybe),e.$slots.footer?(ei(),
oi("div",Obe,[$o(e.$slots,"footer",st(pi(A.value)),void 0,!0)])):gi("",!0)],64)):gi("",!0),di(Vn(A3),{
configuration:e.configuration},null,8,["configuration"])],38),di(Vn(ZU))],64)}}
}),xbe=mhe(wbe,[["__scopeId","data-v-2bc622ac"]]),kbe={
class:"references-classic-header-container"},Sbe={
class:"references-classic-header"};const _be=mhe({},[["render",function(e,t){
return ei(),
oi("div",kbe,[ui("div",Sbe,[$o(e.$slots,"default",{},void 0,!0),$o(e.$slots,"dark-mode-toggle",{},void 0,!0)])])
}],["__scopeId","data-v-a860f78f"]]),Ebe={class:"darklight-reference-switch"
},Tbe=["aria-pressed"],Cbe=mhe(no({__name:"DarkModeToggle",props:{isDarkMode:{
type:Boolean},hideDarkModeToggle:{type:Boolean}},emits:["toggleDarkMode"],
setup:e=>(e,t)=>(ei(),oi("div",Ebe,[t[2]||(t[2]=ui("a",{
class:"darklight-reference-promo",href:"https://www.scalar.com",target:"_blank"
}," Powered by Scalar ",-1)),e.hideDarkModeToggle?gi("",!0):(ei(),oi("button",{
key:0,"aria-label":"Toggle dark mode","aria-pressed":e.isDarkMode,
class:it(["darklight",{darklight_dark:e.isDarkMode}]),type:"button",
onClick:t[0]||(t[0]=t=>e.$emit("toggleDarkMode"))
},t[1]||(t[1]=[mi('<div class="darklight-slider" data-v-4eddf114><div class="toggleicon" data-v-4eddf114><i class="toggleicon-sunray" data-v-4eddf114></i><i class="toggleicon-sunray" data-v-4eddf114></i><i class="toggleicon-sunray" data-v-4eddf114></i><i class="toggleicon-sunray" data-v-4eddf114></i><i class="toggleicon-sun" data-v-4eddf114></i></div></div>',1)]),10,Tbe))]))
}),[["__scopeId","data-v-4eddf114"]]),Abe=mhe(no({__name:"DarkModeIconToggle",
props:{isDarkMode:{type:Boolean}},emits:["toggleDarkMode"],
setup:e=>(e,t)=>(ei(),oi("button",{class:"darklight",type:"button",
onClick:t[0]||(t[0]=t=>e.$emit("toggleDarkMode"))},[di(Vn(oY),{
icon:e.isDarkMode?"DarkMode":"LightMode"},null,8,["icon"]),di(yfe,null,{
default:Ar((()=>[fi(" Switch to "+ht(e.isDarkMode?"Light":"Dark")+" Mode ",1)])),
_:1})]))}),[["__scopeId","data-v-3d47eee0"]]);function Pbe(e){var t,n,r;try{
const o=null==(r=null==(n=null==(t=null==e?void 0:e.information)?void 0:t.requestBody)?void 0:n.content)?void 0:r["application/json"]
;if(!o)throw new Error("Body not found");return function(e){var t
;const n=["Body"],r=null==(t=null==e?void 0:e.schema)?void 0:t.properties
;return r&&Object.keys(r).forEach((t=>{if(!e.schema)return;n.push(function(e,t){
let n=e
;return n+=t.required&&t.required.includes(e)?" REQUIRED ":" optional ",t.properties[e]&&(n+=t.properties[e].type,
t.properties[e].description&&(n+=" "+t.properties[e].description)),n
}(t,e.schema));const o=r[t]
;"object"===o.type&&o.properties&&o.properties&&Object.keys(o.properties).forEach((e=>{
var t,r
;n.push(`${e} ${null==(r=null==(t=o.properties)?void 0:t[e])?void 0:r.type}`)}))
})),n}(o)}catch(o){return!1}}const Dbe={class:"sr-only"},Rbe={class:"sr-only"
},$be=mhe(no({__name:"SearchModal",props:{parsedSpec:{},modalState:{}},setup(e){
const t=e,n=tr(t,"parsedSpec"),r=ND(),o=`${r}-search-result`,a=`${r}-search-instructions`,i=e=>`${r}${e}`,{resetSearch:s,fuseSearch:l,selectedSearchResult:c,searchResultsWithPlaceholderResults:u,searchText:d}=function({specification:e}){
const{getHeadingId:t,getWebhookId:n,getModelId:r,getOperationId:o,getTagId:a}=U$(),{hideModels:i}=dN(),s=Fn([]),l=Fn([]),c=Fn(0),u=Fn(""),d=new fpe(s.value,{
keys:["title","description","body"]}),p=()=>{c.value=0,l.value=d.search(u.value)
};Ma(u,(e=>{e.length?p():l.value=[]}))
;const h=Bi((()=>0===u.value.length?s.value.slice(0,25).map((e=>({item:e
}))):l.value.slice(0,25)));return Ma(e.value,(async()=>{var l,c,u,p,h,f,m,g,v
;if(s.value=[],
!(null==(c=null==(l=e.value)?void 0:l.tags)?void 0:c.length)&&!(null==(p=null==(u=e.value)?void 0:u.webhooks)?void 0:p.length))return void d.setCollection([])
;const b=[],y=WT((null==(f=null==(h=e.value)?void 0:h.info)?void 0:f.description)??"")
;y.length&&(y.forEach((e=>{b.push({type:"heading",title:`Info > ${e.value}`,
description:"",href:`#${t(e)}`,tag:e.slug,body:""})
})),s.value=s.value.concat(b)),
null==(g=null==(m=e.value)?void 0:m.tags)||g.forEach((e=>{const t={
title:e["x-displayName"]??e.name,href:`#${a(e)}`,description:e.description,
type:"tag",tag:e.name,body:""}
;s.value.push(t),e.operations&&e.operations.forEach((t=>{
const{parameterMap:n}=Q$(t),r=Pbe(t)||n.value;let a=null
;"boolean"!=typeof r&&(a=r);const i={type:"req",title:t.name??t.path,
href:`#${o(t,e)}`,operationId:t.operationId,description:t.description??"",
httpVerb:t.httpVerb,path:t.path,tag:e.name,operation:t}
;a&&(i.body=a),s.value.push(i)}))}))
;const O=null==(v=e.value)?void 0:v.webhooks,w=[]
;O&&Object.keys(O).forEach((e=>{Object.keys(O[e]).forEach((t=>{var r;w.push({
type:"webhook",title:`Webhook: ${null==(r=O[e][t])?void 0:r.name}`,
href:`#${n(e,t)}`,description:e,httpVerb:t,tag:e,body:""})
})),s.value=s.value.concat(w)}));const x=i.value?{}:GT(e.value),k=[]
;x&&(Object.keys(x).forEach((e=>{k.push({type:"model",title:"Model",
href:`#${r(e)}`,description:x[e].title??e,tag:e,body:""})
})),s.value=s.value.concat(k)),d.setCollection(s.value)}),{immediate:!0}),{
resetSearch:function(){u.value="",c.value=0,l.value=[]},fuseSearch:p,
selectedSearchResult:c,searchResultsWithPlaceholderResults:h,searchText:u}}({
specification:n}),p={heading:"DocsPage",model:"Brackets",req:"Terminal",
tag:"CodeFolder",webhook:"Terminal"},h={heading:"Document Heading",model:"",
req:"Request",tag:"Tag",webhook:"Webhook"},f=Fn(null)
;Ma((()=>t.modalState.open),(e=>{e&&s()}))
;const{setCollapsedSidebarItem:m}=dN(),g=/#(tag\/[^/]*)/;function v(e){
let n="models";const r=e.item.href.match(g)
;(null==r?void 0:r.length)&&r.length>1&&(n=r[1]),m(n,!0)
;const o=e.item.href.replace("#","")
;if(document.getElementById(o))w$(o),t.modalState.hide();else{
const e=q$.on((n=>{n.id===o&&(w$(o),e(),t.modalState.hide())}))}}Ma(c,(e=>{var t
;const n=u.value[e],r=i(null==n?void 0:n.item.href)
;null==(t=document.getElementById(r))||t.scrollIntoView({behavior:"smooth",
block:"nearest"})}));const b=Bi((()=>{const e=c.value,t=u.value[e]
;return i(null==t?void 0:t.item.href)})),y=e=>{
const t="up"===e?-1:1,n=u.value.length,r=(c.value+t+n)%n;c.value=r}
;function O(e){const t=new URL(window.location.href)
;return t.hash=e,t.toString()}return(e,t)=>(ei(),ai(Vn(k1),{state:e.modalState,
variant:"search",
onKeydown:[t[1]||(t[1]=Ys(Xs((e=>y("down")),["stop","prevent"]),["down"])),t[2]||(t[2]=Ys(Xs((e=>v(Vn(u)[Vn(c)])),["stop","prevent"]),["enter"])),t[3]||(t[3]=Ys(Xs((e=>y("up")),["stop","prevent"]),["up"]))]
},{default:Ar((()=>[ui("div",{ref_key:"searchModalRef",ref:f,
"aria-label":"Reference Search",class:"ref-search-container",role:"search"
},[di(Vn(E1),{modelValue:Vn(d),
"onUpdate:modelValue":t[0]||(t[0]=e=>Qn(d)?d.value=e:null),
"aria-activedescendant":b.value,"aria-controls":o,"aria-describedby":a,
onInput:Vn(l)
},null,8,["modelValue","aria-activedescendant","onInput"])],512),di(Vn(t1),{
id:o,"aria-describedby":a,"aria-label":"Reference Search Results",
class:"ref-search-results custom-scroll",noResults:!Vn(u).length},{
query:Ar((()=>[fi(ht(Vn(d)),1)])),
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(Vn(u),((e,n)=>(ei(),ai(Vn(c1),{
id:i(e.item.href),key:e.refIndex,active:Vn(c)===n,href:O(e.item.href),
icon:p[e.item.type],onClick:t=>v(e),onFocus:e=>c.value=n},Ro({default:Ar((()=>{
var n,r,o,a;return[ui("span",{class:it({
deprecated:null==(r=null==(n=e.item.operation)?void 0:n.information)?void 0:r.deprecated
})
},[ui("span",Dbe,[fi(ht(h[e.item.type])+":  ",1),(null==(a=null==(o=e.item.operation)?void 0:o.information)?void 0:a.deprecated)?(ei(),
oi(Wa,{key:0
},[fi(" (Deprecated)  ")],64)):gi("",!0)]),fi(" "+ht(e.item.title)+" ",1),t[4]||(t[4]=ui("span",{
class:"sr-only"},",",-1))],2)]})),_:2
},[(e.item.httpVerb||e.item.path)&&e.item.path!==e.item.title?{
name:"description",fn:Ar((()=>[t[5]||(t[5]=ui("span",{class:"sr-only"
},"Path: ",-1)),fi(" "+ht(e.item.path),1)])),key:"0"}:e.item.description?{
name:"description",fn:Ar((()=>[t[6]||(t[6]=ui("span",{class:"sr-only"
},"Description: ",-1)),fi(" "+ht(e.item.description),1)])),key:"1"
}:void 0,"req"===e.item.type?{name:"addon",fn:Ar((()=>[di(ebe,{
"aria-hidden":"true",method:e.item.httpVerb??"get"
},null,8,["method"]),ui("span",Rbe," HTTP Method: "+ht(e.item.httpVerb??"get")+", ",1)])),
key:"2"
}:void 0]),1032,["id","active","href","icon","onClick","onFocus"])))),128))])),
_:1},8,["noResults"]),t[7]||(t[7]=ui("div",{class:"ref-search-meta"
},[ui("span",null,"↑↓ Navigate"),ui("span",null,"⏎ Select")],-1)),ui("div",{
id:a,class:"sr-only"
}," Press up arrow / down arrow to navigate, enter to select, type to filter results ")])),
_:1},8,["state"]))}}),[["__scopeId","data-v-829b4762"]]),Nbe={
class:"sidebar-search-input"},Mbe={class:"sidebar-search-shortcut"},Ibe={
class:"sidebar-search-key"},Lbe=no({__name:"SearchButton",props:{spec:{},
searchHotKey:{default:"k"}},setup(e){const t=e,n=w1(),{client:r}=C3(),o=e=>{
var o
;(KT()?e.metaKey:e.ctrlKey)&&e.key===t.searchHotKey&&!(null==(o=r.value)?void 0:o.modalState.open)&&(e.preventDefault(),
e.stopPropagation(),n.open?n.hide():n.show())}
;return go((()=>window.addEventListener("keydown",o))),
yo((()=>window.removeEventListener("keydown",o))),
(e,t)=>(ei(),oi(Wa,null,[ui("button",{
class:it(["sidebar-search",e.$attrs.class]),type:"button",
onClick:t[0]||(t[0]=(...e)=>Vn(n).show&&Vn(n).show(...e))},[di(Vn(oY),{
class:"scalar-search-icon",icon:"Search",size:"sm",thickness:"2.5"
}),ui("div",Nbe,[t[2]||(t[2]=ui("span",{class:"sr-only"
},"Open ",-1)),t[3]||(t[3]=ui("span",{class:"sidebar-search-placeholder"
},"Search",-1)),ui("span",Mbe,[t[1]||(t[1]=ui("span",{class:"sr-only"
},"(Keyboard Shortcut)",-1)),ui("kbd",Ibe,ht(Vn(KT)()?"⌘":"⌃")+ht(e.searchHotKey),1)])])],2),di($be,{
modalState:Vn(n),parsedSpec:e.spec},null,8,["modalState","parsedSpec"])],64))}
}),jbe=mhe(Lbe,[["__scopeId","data-v-9f0bd6b4"]]),Bbe=no({
__name:"ClassicLayout",props:{configuration:{},parsedSpec:{},rawSpec:{},isDark:{
type:Boolean}},emits:["toggleDarkMode","updateContent"],setup(e){
const t=e,n=Uo(),r=Bi((()=>({...t.configuration,showSidebar:!1})))
;return(e,o)=>(ei(),ai(xbe,{configuration:r.value,parsedSpec:e.parsedSpec,
rawSpec:e.rawSpec,onUpdateContent:o[1]||(o[1]=t=>e.$emit("updateContent",t))
},Ro({"content-start":Ar((({spec:n})=>[di(_be,null,{
"dark-mode-toggle":Ar((()=>[t.configuration.hideDarkModeToggle?gi("",!0):(ei(),
ai(Vn(Abe),{key:0,isDarkMode:e.isDark,
onToggleDarkMode:o[0]||(o[0]=t=>e.$emit("toggleDarkMode"))
},null,8,["isDarkMode"]))])),
default:Ar((()=>[t.configuration.hideSearch?gi("",!0):(ei(),ai(Vn(jbe),{key:0,
class:"t-doc__sidebar",searchHotKey:r.value.searchHotKey,spec:n
},null,8,["searchHotKey","spec"]))])),_:2},1024)])),_:2},[Do(n,((t,n)=>({name:n,
fn:Ar((t=>[$o(e.$slots,n,st(pi(t||{})))]))
})))]),1032,["configuration","parsedSpec","rawSpec"]))}}),Ube=["href"],Qbe=no({
__name:"OpenApiClientButton",props:{buttonSource:{},source:{
default:"api-reference"},isDevelopment:{type:Boolean},integration:{},url:{}},
setup(e){const t=Bi((()=>{const t=((e,t)=>{var n
;if(!e||e.startsWith("http://")||e.startsWith("https://")||"undefined"==typeof window&&!t)return e
;const r=null==(n=window.location.href.split("?")[0])?void 0:n.split("#")[0],o=(null==r?void 0:r.endsWith("/"))?r:null==r?void 0:r.substring(0,(null==r?void 0:r.lastIndexOf("/"))+1)
;return new URL(e,o).toString()
})(e.url??(typeof window<"u"?window.location.href:void 0))
;if(null==t||!t.length)return
;const n=new URL(e.isDevelopment?"http://localhost:5065":"https://client.scalar.com")
;if(n.searchParams.set("url",t),
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,n)=>t.value?(ei(),oi("a",{key:0,
class:"open-api-client-button",href:t.value,target:"_blank"},[di(Vn(oY),{
icon:"ExternalLink",size:"xs",thickness:"2.5"
}),n[0]||(n[0]=fi(" Open API Client "))],8,Ube)):gi("",!0)}
}),Fbe=g3(Qbe,[["__scopeId","data-v-2e9f75f1"]]),zbe=no({__name:"HttpMethod",
props:{isSquare:{type:Boolean,default:!1},method:{},isEditable:{type:Boolean,
default:!1}},emits:["change"],setup(e,{emit:t}){
const n=e,r=t,o=Bi((()=>kR(n.method))),a=Object.entries(OR).map((([e])=>({id:e,
label:e.toUpperCase(),color:kR(e).color}))),i=Bi({
get:()=>a.find((({id:e})=>e===n.method)),
set:e=>(null==e?void 0:e.id)&&r("change",e.id)}),s=EB({
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-1/2 border-r-1/2",false:"cursor-auto"}}
}),l=Bi((()=>o.value.short));return(e,t)=>e.isEditable?(ei(),ai(Vn(Y0),{key:0,
modelValue:i.value,"onUpdate:modelValue":t[0]||(t[0]=e=>i.value=e),
class:"mt-1 font-code text-sm scalar-client",options:Vn(a)},{
default:Ar((()=>[ui("div",{class:it(["h-full",{
"pointer-events-none":!e.isEditable}])},[ui("button",{
class:it(["relative h-full",Vn(TB)(Vn(s)({isSquare:e.isSquare,
isEditable:e.isEditable}),o.value.color)]),type:"button"
},[ui("span",null,ht(l.value),1)],2)],2)])),_:1
},8,["modelValue","options"])):(ei(),oi("div",{key:1,
class:it(["relative gap-1 whitespace-nowrap",Vn(TB)(Vn(s)({isSquare:e.isSquare,
isEditable:e.isEditable}),o.value.color)]),type:"button"},ht(o.value.short),3))}
}),qbe=g3(zbe,[["__scopeId","data-v-46723816"]]),Hbe={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"}
},Vbe=e=>Hbe[e]||{color:"text-grey"},Zbe={class:"min-w-0"},Wbe={
class:"min-w-0 truncate text-c-1"},Xbe=no({__name:"AddressBarHistory",props:{
open:{type:Boolean}},setup(e){
const{activeRequest:t}=q1(),{requestHistory:n,requestExampleMutators:r}=M1(),o=o3(),a=Bi((()=>n.filter((e=>{
var n;return e.request.requestUid===(null==(n=t.value)?void 0:n.uid)
})).slice().reverse()));return(e,n)=>{var i
;return ei(),oi(Wa,null,[null!=(i=a.value)&&i.length?(ei(),ai(Vn(BI),{key:0,
class:"addressbar-history-button mr-1 rounded-lg p-1.5 text-c-3 focus:text-c-1"
},{default:Ar((()=>[di(Vn(oY),{icon:"History",size:"sm",thickness:"2.25"})])),
_:1})):gi("",!0),ui("div",{
class:it(["absolute bg-white left-0 top-8 w-full rounded-lg before:pointer-events-none before:absolute before:left-0 before:-top-8 before:h-[calc(100%+32px)] before:w-full before:rounded-lg z-context",{
"before:shadow-lg":e.open}])},[di(Vn(UI),{
class:"bg-b-1 border-t custom-scroll max-h-[300px] rounded-b-lg p-[3px] grid grid-cols-[44px,1fr,repeat(3,auto)] items-center"
},{default:Ar((()=>[(ei(!0),oi(Wa,null,Do(a.value,((e,n)=>(ei(),ai(Vn(QI),{
key:n,
class:"contents font-code text-sm *:rounded-none first:*:rounded-l last:*:rounded-r *:h-8 *:ui-active:bg-b-2 *:flex *:items-center *:cursor-pointer *:px-1.5 text-c-2 font-medium",
value:n,onClick:n=>function(e){var n
;const a=o.currentRoute.value.params.workspace
;(null==(n=t.value)?void 0:n.uid)!==e.request.requestUid&&o.push(`/workspace/${a}/request/${e.request.requestUid}`),
r.set({...e.request})}(e)},{default:Ar((()=>{var t
;return[e.response.method?(ei(),ai(qbe,{key:0,class:"text-[11px]",
method:e.response.method
},null,8,["method"])):gi("",!0),ui("div",Zbe,[ui("div",Wbe,ht(e.response.path),1)]),ui("div",null,ht(Vn(Rfe)(e.response.duration)),1),ui("div",{
class:it([Vn(Vbe)(e.response.status).color])
},ht(e.response.status),3),ui("div",null,ht(null==(t=Vn(_R)[e.response.status])?void 0:t.name),1)]
})),_:2},1032,["value","onClick"])))),128))])),_:1})],2)],64)}}
}),Gbe=g3(Xbe,[["__scopeId","data-v-69d275b6"]]),Ybe={
class:"whitespace-nowrap text-ellipsis overflow-hidden"},Kbe=no({
__name:"AddressBarServerItem",props:{serverOption:{},type:{}},setup(e){
const t=e,{activeCollection:n,activeRequest:r,activeServer:o}=q1(),{collectionMutators:a,requestMutators:i}=M1(),s=e=>{
var t;return(null==(t=o.value)?void 0:t.uid)===e};return(e,o)=>(ei(),ai(Vn(y1),{
key:"serverOption.id",
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden w-full",
value:e.serverOption.id,onClick:o[0]||(o[0]=o=>(e=>{var o,s
;"collection"===t.type&&n.value?(null!=(s=null==(o=r.value)?void 0:o.servers)&&s.length&&(r.value.selectedServerUid=""),
a.edit(n.value.uid,"selectedServerUid",e)):"request"===t.type&&r.value&&i.edit(r.value.uid,"selectedServerUid",e)
})(e.serverOption.id))},{default:Ar((()=>[ui("div",{
class:it(["flex size-4 items-center justify-center p-0.75 text-b-1 rounded-full",s(e.serverOption.id)?"bg-c-accent text-b-1":"group-hover/item:shadow-border text-transparent"])
},[di(Vn(oY),{icon:"Checkmark",size:"xs",thickness:"2.5"
})],2),ui("span",Ybe,ht(e.serverOption.label),1)])),_:1},8,["value"]))}}),Jbe={
class:"font-code lg:text-sm text-xs whitespace-nowrap border border-b-3 border-solid rounded px-1.5 py-0.5 text-c-2 -outline-offset-1",
type:"button"},eye={key:0,class:"text-xxs text-c-2 px-2.5 py-1"},tye={
class:"flex items-center justify-center h-4 w-4"},nye=no({
__name:"AddressBarServer",setup(e){
const{activeRequest:t,activeCollection:n,activeServer:r}=q1(),{isReadOnly:o,servers:a,collectionMutators:i,events:s}=M1(),l=Bi((()=>{
var e,n;return null==(n=null==(e=t.value)?void 0:e.servers)?void 0:n.map((e=>{
var t;return{id:e,label:(null==(t=a[e])?void 0:t.url)??"Unknown server"}}))
})),c=Bi((()=>{var e,r
;return null==(r=null==(e=n.value)?void 0:e.servers)?void 0:r.filter((e=>{
var n,r;return!(null!=(r=null==(n=t.value)?void 0:n.servers)&&r.includes(e))
})).map((e=>{var t;return{id:e,
label:(null==(t=a[e])?void 0:t.url)??"Unknown server"}}))})),u=Bi((()=>{var e,t
;return(null==(e=l.value)?void 0:e.length)&&(null==(t=c.value)?void 0:t.length)
}));Ma([n,t],(([e,t])=>{var n
;if(!e||e.selectedServerUid||null!=t&&t.selectedServerUid)return
;const r=null==(n=e.servers)?void 0:n[0];r&&i.edit(e.uid,"selectedServerUid",r)
}));const d=()=>s.commandPalette.emit({commandName:"Add Server"}),p=Bi((()=>{
var e,t,n
;return null!=(t=null==(e=r.value)?void 0:e.url)&&t.endsWith("/")?r.value.url.slice(0,-1):(null==(n=r.value)?void 0:n.url)||""
}));return(e,t)=>(ei(),ai(Vn(F0),{class:"w-max",teleport:""},{
items:Ar((()=>[u.value?(ei(),
oi("div",eye," Request ")):gi("",!0),(ei(!0),oi(Wa,null,Do(l.value,(e=>(ei(),
ai(Kbe,{key:e.id,serverOption:e,type:"request"
},null,8,["serverOption"])))),128)),u.value?(ei(),oi(Wa,{key:1
},[di(Vn(m1)),t[1]||(t[1]=ui("div",{class:"text-xxs text-c-2 px-2.5 py-1"
},"Collection",-1))],64)):gi("",!0),(ei(!0),
oi(Wa,null,Do(c.value,(e=>(ei(),ai(Kbe,{key:e.id,serverOption:e,
type:"collection"
},null,8,["serverOption"])))),128)),Vn(o)?gi("",!0):(ei(),oi(Wa,{key:2
},[di(Vn(m1)),di(Vn(y1),null,{default:Ar((()=>[ui("div",{
class:"font-code text-xxs flex items-center gap-1.5",onClick:d
},[ui("div",tye,[di(Vn(oY),{icon:"Add",size:"sm"
})]),t[2]||(t[2]=ui("span",null,"Add Server",-1))])])),_:1})],64))])),
default:Ar((()=>[ui("button",Jbe,[t[0]||(t[0]=ui("span",{class:"sr-only"
},"Server:",-1)),fi(" "+ht(p.value),1)])])),_:1}))}}),rye={key:0,
class:"scalar-address-bar order-last lg:order-none lg:w-auto w-full"},oye={
class:"m-auto flex flex-row items-center"},aye={
class:"pointer-events-none absolute left-0 top-0 block h-full w-full overflow-hidden"
},iye={class:"flex gap-1"},sye={
class:"codemirror-bg-switcher scroll-timeline-x scroll-timeline-x-hidden relative flex w-full"
},lye={"aria-hidden":"true",class:"inline-flex gap-1 items-center"},cye=no({
__name:"AddressBar",emits:["importCurl"],setup(e){
const{activeRequest:t,activeExample:n,activeServer:r,activeCollection:o}=q1(),{isReadOnly:a,requestMutators:i,requestHistory:s,events:l}=M1(),c=Fn(s[0]),u=Fn(null),d=function(e={}){
const{reactive:t=!1,target:n=nd,aliasMap:r=pd,passive:o=!0,onEventFired:a=Wu}=e,i=An(new Set),s={
toJSON:()=>({}),current:i},l=t?An(s):s,c=new Set,u=new Set;function d(e,n){
e in l&&(t?l[e]=n:l[e].value=n)}function p(){i.clear();for(const e of u)d(e,!1)}
function h(e,t){var n,r
;const o=null==(n=e.key)?void 0:n.toLowerCase(),a=[null==(r=e.code)?void 0:r.toLowerCase(),o].filter(Boolean)
;o&&(t?i.add(o):i.delete(o));for(const i of a)u.add(i),d(i,t)
;"meta"!==o||t?"function"==typeof e.getModifierState&&e.getModifierState("Meta")&&t&&[...i,...a].forEach((e=>c.add(e))):(c.forEach((e=>{
i.delete(e),d(e,!1)})),c.clear())}od(n,"keydown",(e=>(h(e,!0),a(e))),{passive:o
}),od(n,"keyup",(e=>(h(e,!1),a(e))),{passive:o}),od("blur",p,{passive:!0
}),od("focus",p,{passive:!0});const f=new Proxy(l,{get(e,n,o){
if("string"!=typeof n)return Reflect.get(e,n,o)
;if((n=n.toLowerCase())in r&&(n=r[n]),!(n in l))if(/[+_-]/.test(n)){
const e=n.split(/[+_-]/g).map((e=>e.trim()))
;l[n]=Bi((()=>e.every((e=>zu(f[e])))))}else l[n]=Fn(!1)
;const a=Reflect.get(e,n,o);return t?zu(a):a}});return f
}(),p=Bi((()=>i3()?d.meta_enter:d.ctrl_enter));var h,f
;h=()=>l.executeRequest.emit(),Ma(p,((e,t,n)=>{e&&h(e,t,n)}),{...f,once:!1})
;Ma((()=>{var e;return null==(e=t.value)?void 0:e.path}),(e=>{
!t.value||!e||(e=>{!t.value||t.value.path===e||i.edit(t.value.uid,"path",e)})(e)
}));const m=Fn(100),g=Fn(0),v=Fn(!1),b=Fn();function y(){
v.value?m.value-=(m.value-15)/60:m.value-=g.value/20,
m.value<=0&&(clearInterval(b.value),b.value=void 0,m.value=100,v.value=!1)}
function O(e){t.value&&i.edit(t.value.uid,"method",e)}function w(){
if(!t.value)return;const{method:e}=t.value;return OR[e].backgroundColor}
function x(){v.value||(v.value=!0,l.executeRequest.emit())}function k(e){
t.value&&i.edit(t.value.uid,"path",e)}function S(e){var t
;null!=e&&e.focusAddressBar&&(null==(t=u.value)||t.focus())}
return l.requestStatus.on((e=>{
"start"===e&&(b.value||(v.value=!0,b.value=setInterval(y,20))),
"stop"===e&&(g.value=m.value,
v.value=!1),"abort"===e&&(clearInterval(b.value),b.value=void 0,
m.value=100,v.value=!1)})),go((()=>l.hotKeys.on(S))),yo((()=>l.hotKeys.off(S))),
(e,i)=>Vn(t)&&Vn(n)?(ei(),oi("div",rye,[ui("div",oye,[di(Vn(LI),{
modelValue:c.value,"onUpdate:modelValue":i[1]||(i[1]=e=>c.value=e)},{
default:Ar((({open:n})=>{var s,l,c,d,p;return[ui("div",{
class:it(["addressbar-bg-states text-xxs relative flex w-full xl:min-w-[720px] xl:max-w-[720px] lg:min-w-[580px] lg:max-w-[580px] order-last overflow-hidden lg:order-none flex-1 flex-row items-stretch rounded-lg border-1/2 p-[3px]",{
"border-transparent overflow-visible rounded-b-none":n}])
},[ui("div",aye,[ui("div",{
class:it(["bg-mix-transparent bg-mix-amount-90 absolute left-0 top-0 h-full w-full z-context",w()]),
style:tt({transform:`translate3d(-${m.value}%,0,0)`})
},null,6)]),ui("div",iye,[di(qbe,{isEditable:!Vn(a),isSquare:"",
method:Vn(t).method,teleport:"",onChange:O
},null,8,["isEditable","method"])]),ui("div",sye,[i[2]||(i[2]=ui("div",{
class:"fade-left"
},null,-1)),null!=(l=null==(s=Vn(o))?void 0:s.servers)&&l.length?(ei(),ai(nye,{
key:0})):gi("",!0),di(_pe,{ref_key:"addressBarRef",ref:u,"aria-label":"Path",
class:"outline-none",disableCloseBrackets:"",disabled:Vn(a),disableEnter:"",
disableTabIndent:"",emitOnBlur:!1,importCurl:"",modelValue:Vn(t).path,
placeholder:null!=(c=Vn(r))&&c.uid&&null!=(p=null==(d=Vn(o))?void 0:d.servers)&&p.includes(Vn(r).uid)?"":"Enter a URL or cURL command",
server:"",onCurl:i[0]||(i[0]=t=>e.$emit("importCurl",t)),onSubmit:x,
"onUpdate:modelValue":k
},null,8,["disabled","modelValue","placeholder"]),i[3]||(i[3]=ui("div",{
class:"fade-right"},null,-1))]),di(Gbe,{open:n},null,8,["open"]),di(Vn(BB),{
class:"relative h-auto shrink-0 overflow-hidden !pl-2 !pr-2.5 !py-1 font-bold",
disabled:v.value,onClick:x},{default:Ar((()=>[ui("span",lye,[di(Vn(oY),{
class:"relative shrink-0 fill-current",icon:"Play",size:"xs"
}),i[4]||(i[4]=ui("span",{class:"text-xxs lg:flex hidden"
},"Send",-1))]),i[5]||(i[5]=ui("span",{class:"sr-only"
}," Send Request ",-1))])),_:1},8,["disabled"])],2)]})),_:1
},8,["modelValue"])])])):gi("",!0)}
}),uye=g3(cye,[["__scopeId","data-v-e6e6f37d"]]),dye={borderRadius:{
DEFAULT:"var(--scalar-radius)",md:"var(--scalar-radius)",
lg:"var(--scalar-radius-lg)",xl:"var(--scalar-radius-xl)",px:"1px",
full:"9999px",none:"0px"},borderWidth:{DEFAULT:"var(--scalar-border-width)",
0:"0","1/2":"calc(var(--scalar-border-width) / 2)",
1:"var(--scalar-border-width)",2:"calc(var(--scalar-border-width) * 2)",
4:"calc(var(--scalar-border-width) * 4)"},boxShadow:{
DEFAULT:"var(--scalar-shadow-1)",lg:"var(--scalar-shadow-2)",
md:"var(--scalar-shadow-1)",sm:"rgba(0, 0, 0, 0.09) 0px 1px 4px",
none:"0 0 #0000",border:"inset 0 0 0 1px var(--scalar-border-color)",
"border-1/2":"inset 0 0 0 .5px var(--scalar-border-color)"},fontFamily:{
DEFAULT:"var(--scalar-font)",code:"var(--scalar-font-code)"},fontSize:{
"3xs":"var(--scalar-font-size-7)",xxs:"var(--scalar-font-size-6)",
xs:"var(--scalar-font-size-5)",sm:"var(--scalar-font-size-4)",
base:"var(--scalar-font-size-3)",lg:"var(--scalar-font-size-2)",
xl:"var(--scalar-font-size-1)"},fontWeight:{DEFAULT:"var(--scalar-regular)",
normal:"var(--scalar-regular)",medium:"var(--scalar-semibold)",
bold:"var(--scalar-bold)"},colors:{current:"currentColor",inherit:"inherit",b:{
1:"var(--scalar-background-1)",2:"var(--scalar-background-2)",
3:"var(--scalar-background-3)",4:"var(--scalar-background-3)",
accent:"var(--scalar-background-accent)",btn:"var(--scalar-button-1)"},c:{
1:"var(--scalar-color-1)",2:"var(--scalar-color-2)",3:"var(--scalar-color-3)",
accent:"var(--scalar-color-accent)",ghost:"var(--scalar-color-ghost)",
disabled:"var(--scalar-color-disabled)",btn:"var(--scalar-button-1-color)"},h:{
btn:"var(--scalar-button-1-hover)"},backdrop:"rgba(0, 0, 0, 0.22)",
backdropdark:"rgba(0, 0, 0, 0.45)",border:"var(--scalar-border-color)",
brand:"var(--scalar-brand)",green:"var(--scalar-color-green)",
red:"var(--scalar-color-red)",yellow:"var(--scalar-color-yellow)",
blue:"var(--scalar-color-blue)",orange:"var(--scalar-color-orange)",
purple:"var(--scalar-color-purple)",grey:"var(--scalar-color-3)",
indigo:"var(--scalar-color-blue)",pink:"var(--scalar-color-pink)",white:"#FFF",
transparent:"transparent"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",
normal:"1.5",relaxed:"1.625",loose:"2",DEFAULT:"1.5",
1:"var(--scalar-line-height-1)",2:"var(--scalar-line-height-2)",
3:"var(--scalar-line-height-3)",4:"var(--scalar-line-height-4)",
5:"var(--scalar-line-height-5)"},screens:{xs:"400px",sm:"600px",md:"800px",
lg:"1000px",xl:"1200px"},zIndex:{"-1":"-1",0:"0",1:"1"},extend:{borderColor:{
DEFAULT:"var(--scalar-border-color)"},brightness:{
lifted:"var(--scalar-lifted-brightness)",
backdrop:"var(--scalar-backdrop-brightness)"},spacing:{px:"1px",header:"48px"}}}
;function pye(){
const e=dye.screens,t=Object.fromEntries(Object.entries(e).map((([e,t])=>[e,sd(`(min-width: ${t})`)]))),n=Bi((()=>Object.fromEntries(Object.entries(t).map((([e,t])=>[e,Vn(t)])))))
;return{screens:e,mediaQueries:t,breakpoints:n}}const hye={key:0,
class:"min-h-12 xl:min-h-client-header flex items-center justify-between px-3 py-1.5 md:px-4 md:py-2.5 text-sm"
},fye={class:"font-medium m-0 text-sm whitespace-nowrap"},mye={
class:"relative z-10 pt-0 md:px-2.5 md:pb-2.5 sticky bottom-0 w-[inherit] has-[.empty-sidebar-item]:border-t-1/2"
},gye=no({__name:"Sidebar",props:{title:{},isSidebarOpen:{type:Boolean,
default:!0}},setup(e){
const t=e,{isReadOnly:n,sidebarWidth:r,setSidebarWidth:o}=M1(),a=Fn(!1),i=Fn(null),{breakpoints:s}=pye(),l=e=>{
e.preventDefault()
;const t=e.clientX,n=parseInt(getComputedStyle(i.value).width||r.value,10),s=e=>{
a.value=!0,document.body.classList.add("dragging");let r=n+e.clientX-t
;r>420&&(r=420+.2*(r-420)),r<240&&(r=240),o(`${r}px`)},l=()=>{
a.value=!1,document.body.classList.remove("dragging"),
document.documentElement.removeEventListener("mousemove",s,!1),
document.documentElement.removeEventListener("mouseup",l,!1),
parseInt(r.value,10)>420?o("360px"):parseInt(r.value,10)<240&&o("240px")}
;document.documentElement.addEventListener("mousemove",s,!1),
document.documentElement.addEventListener("mouseup",l,!1)}
;return(e,o)=>Pr((ei(),oi("aside",{ref_key:"sidebarRef",ref:i,
class:it(["sidebar overflow-hidden relative flex flex-col flex-1 md:flex-none bg-b-1 md:border-b-0 md:border-r-1/2 min-w-full md:min-w-fit leading-3",{
dragging:a.value}]),style:tt({width:Vn(s).lg?Vn(r):"100%"})
},[$o(e.$slots,"header",{},void 0,!0),!Vn(n)&&e.title?(ei(),
oi("div",hye,[ui("h2",fye,ht(e.title),1),Vn(s).lg?gi("",!0):$o(e.$slots,"button",{
key:0},void 0,!0)])):gi("",!0),ui("div",{
class:it(["custom-scroll sidebar-height pb-0 md:pb-[37px] w-[inherit]",{
"sidebar-mask":!Vn(n)}])
},[$o(e.$slots,"content",{},void 0,!0)],2),Vn(s).lg?(ei(),oi(Wa,{key:1
},[ui("div",mye,[$o(e.$slots,"button",{},void 0,!0)]),ui("div",{class:"resizer",
onMousedown:l},null,32)],64)):gi("",!0)],6)),[[hs,t.isSidebarOpen]])}
}),vye=g3(gye,[["__scopeId","data-v-ba6d2e30"]]),bye={
class:"references-mobile-header t-doc__header"},yye={
class:"references-mobile-breadcrumbs"},Oye={
class:"references-mobile-header-actions"},wye=mhe(no({__name:"MobileHeader",
props:{open:{type:Boolean}},emits:["update:open"],setup(e){
const{breadcrumb:t}=dN();return(e,n)=>(ei(),oi("div",bye,[di(Vn(W0),{
icon:e.open?"Close":"Menu",label:e.open?"Close Menu":"Open Menu",size:"md",
onClick:n[0]||(n[0]=t=>e.$emit("update:open",!e.open))
},null,8,["icon","label"]),ui("span",yye,ht(Vn(t)),1),ui("div",Oye,[$o(e.$slots,"actions",{},void 0,!0)])]))
}}),[["__scopeId","data-v-b5fb4b8b"]]),xye={key:0,
class:"scalar-api-references-standalone-search"},kye={
class:"darklight-reference"},Sye=mhe(no({__name:"ModernLayout",props:{
configuration:{},parsedSpec:{},rawSpec:{},isDark:{type:Boolean}},
emits:["toggleDarkMode","updateContent"],setup(e){
const t=e,n=Uo(),{mediaQueries:r}=pye(),{isSidebarOpen:o}=dN();Ma(r.lg,((e,t)=>{
t&&!e&&(o.value=!1)}));const{hash:a}=U$();return Ma(a,((e,t)=>{
e&&e!==t&&(o.value=!1)})),(e,r)=>(ei(),ai(xbe,{class:it({
"scalar-api-references-standalone-mobile":e.configuration.showSidebar}),
configuration:e.configuration,parsedSpec:e.parsedSpec,rawSpec:e.rawSpec,
onUpdateContent:r[2]||(r[2]=t=>e.$emit("updateContent",t))},Ro({
header:Ar((()=>[t.configuration.showSidebar?(ei(),ai(wye,{key:0,open:Vn(o),
"onUpdate:open":r[0]||(r[0]=e=>Qn(o)?o.value=e:null)
},null,8,["open"])):gi("",!0)])),"sidebar-start":Ar((({spec:e})=>{var n
;return[t.configuration.hideSearch?gi("",!0):(ei(),oi("div",xye,[di(Vn(jbe),{
searchHotKey:null==(n=t.configuration)?void 0:n.searchHotKey,spec:e
},null,8,["searchHotKey","spec"])]))]})),"sidebar-end":Ar((()=>{var n
;return[ui("div",kye,[t.configuration.hideClientButton?gi("",!0):(ei(),
ai(Vn(Fbe),{key:0,buttonSource:"sidebar",
integration:e.configuration._integration,isDevelopment:false,
url:null==(n=e.configuration.spec)?void 0:n.url
},null,8,["integration","url"])),di(Vn(Cbe),{
hideDarkModeToggle:e.configuration.hideDarkModeToggle,isDarkMode:e.isDark,
onToggleDarkMode:r[1]||(r[1]=t=>e.$emit("toggleDarkMode"))
},null,8,["hideDarkModeToggle","isDarkMode"])])]})),_:2},[Do(n,((t,n)=>({name:n,
fn:Ar((t=>[$o(e.$slots,n,st(pi(t||{})),void 0,!0)]))
})))]),1032,["class","configuration","parsedSpec","rawSpec"]))}
}),[["__scopeId","data-v-90dab220"]]),_ye=no({__name:"Layouts",props:{
configuration:{},parsedSpec:{},rawSpec:{},isDark:{type:Boolean}},
emits:["toggleDarkMode","updateContent"],setup(e){const t=e,n=Uo(),r={
modern:Sye,classic:Bbe}
;return(e,o)=>(ei(),ai(Co(r[e.configuration.layout??"modern"]??Sye),Oi(t,{
onToggleDarkMode:o[0]||(o[0]=t=>e.$emit("toggleDarkMode")),
onUpdateContent:o[1]||(o[1]=t=>e.$emit("updateContent",t))}),Ro({_:2
},[Do(n,((t,n)=>({name:n,fn:Ar((t=>[$o(e.$slots,n,st(pi(t||{})))]))})))]),1040))
}}),Eye=no({__name:"ApiReference",props:{configuration:{}},
emits:["updateContent"],setup(e){var t,n,r
;const o=e,{setColorMode:a,toggleColorMode:i,darkLightMode:s}=Qu({
initialColorMode:(null==(t=o.configuration)?void 0:t.darkMode)?"dark":void 0,
overrideColorMode:null==(n=o.configuration)?void 0:n.forceDarkModeState})
;Ma((()=>{var e;return null==(e=o.configuration)?void 0:e.darkMode
}),(e=>a(e?"dark":"light")));const l=Bi((()=>{var e,t
;if(null==(e=o.configuration)?void 0:e.customCss)return function(e){
return fl.some((t=>e.includes(t)))?(console.warn("DEPRECATION WARNING: It looks like you're using legacy CSS variables in your custom CSS string. Please migrate them to use the updated prefixes. See https://github.com/scalar/scalar#theme-prefix-changes"),
hl.reduce(((e,[t,n])=>e.replaceAll(t,n)),e)):e
}(null==(t=o.configuration)?void 0:t.customCss)})),c=Bi((()=>{var e;return{
spec:{content:void 0,url:void 0,...null==(e=o.configuration)?void 0:e.spec},
proxyUrl:void 0,theme:"default",showSidebar:!0,isEditable:!1,...o.configuration,
customCss:l.value}}));(null==(r=c.value)?void 0:r.metaData)&&function(e,t){
const{title:n,titleTemplate:r,...o}=e;dl({title:n,titleTemplate:r,_flatMeta:o},{
...t,transform(e){const t=_({...e._flatMeta});return delete e._flatMeta,{...e,
meta:t}}})}(c.value.metaData);const{parsedSpec:u,rawSpec:d}=z$({
proxyUrl:tr((()=>c.value.proxyUrl||c.value.proxy||"")),
specConfig:tr((()=>c.value.spec||{}))})
;return dd(Bi((()=>c.value.favicon))),(e,t)=>{var n
;return ei(),oi(Wa,null,[(null==(n=c.value)?void 0:n.customCss)?(ei(),
ai(Co("style"),{key:0},{default:Ar((()=>[fi(ht(c.value.customCss),1)])),_:1
})):gi("",!0),di(Vn(_ye),{configuration:c.value,isDark:"dark"===Vn(s),
parsedSpec:Vn(u),rawSpec:Vn(d),onToggleDarkMode:t[0]||(t[0]=()=>Vn(i)()),
onUpdateContent:t[1]||(t[1]=t=>e.$emit("updateContent",t))},{
footer:Ar((()=>[$o(e.$slots,"footer")])),
"content-end":Ar((()=>[$o(e.$slots,"footer")])),_:3
},8,["configuration","isDark","parsedSpec","rawSpec"])],64)}}
}),Tye=()=>document.getElementById("api-reference"),Cye=document.querySelector("[data-spec]"),Aye=document.querySelector("[data-spec-url]"),Pye=document.querySelector("#api-reference[data-configuration]"),Dye=()=>{
if(Pye){const e=Pye.getAttribute("data-configuration");if(e)return{
_integration:"html",...JSON.parse(e.split("&quot;").join('"'))}}return{
_integration:"html"}},Rye=()=>{var e,t,n
;if(null==(e=Dye().spec)?void 0:e.url)return null==(t=Dye().spec)?void 0:t.url
;const r=Tye();if(r){
const e=null==(n=r.getAttribute("data-url"))?void 0:n.trim();if(e)return e}
if(Aye){
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=Aye.getAttribute("data-spec-url");if(e)return e}},$ye=()=>{var e,t
;const n=Tye();if(n){const t=null==(e=n.innerHTML)?void 0:e.trim();if(t)return t
}if(Cye){
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=null==(t=Cye.getAttribute("data-spec"))?void 0:t.trim();if(e)return e}
},Nye=()=>{const e=Tye();if(e){const t=e.getAttribute("data-proxy-url")
;if(t)return t.trim()}},Mye=An({});if(Aye||Cye||Tye()){const n=$ye()?{
content:$ye()}:{url:Rye()};Object.assign(Mye,{configuration:{
_integration:"html",proxyUrl:Nye(),...Dye(),spec:{...n}}
}),Dye().darkMode?null==(e=document.body)||e.classList.add("dark-mode"):null==(t=document.body)||t.classList.add("light-mode")
;const r=()=>{var e;let t=null;const n=Tye()
;return n?(t=document.createElement("main"),
null==(e=null==n?void 0:n.parentNode)||e.insertBefore(t,n)):t=Cye||Aye||document.body,
t};let o=r();const a=()=>{const e=nl((()=>Ui(Eye,Mye))),t=sl()
;return e.use(t),o?e.mount(o):console.error("Could not find a mount point for API References"),
e};let i=a();document.addEventListener("scalar:reload-references",(()=>{
document.body.contains(o)||(console.log("Re-adding container"),
o=r()),i.unmount(),i=a()
}),!1),document.addEventListener("scalar:destroy-references",(()=>{
delete Mye.configuration,i.unmount()
}),!1),document.addEventListener("scalar:update-references-config",(e=>{
"detail"in e&&Object.assign(Mye,e.detail)}),!1)
}else console.error('Couldn’t find a [data-spec], [data-spec-url] or <script id="api-reference" /> element. Try adding it like this: %c<div data-spec-url="https://cdn.jsdelivr.net/npm/@scalar/galaxy/dist/latest.yaml" />',"font-family: monospace;")
;const Iye={
class:"border flex flex-row gap-2 h-9 items-center mb-4 mt-2 p-[3px] rounded text-sm"
},Lye={class:"flex h-full"},jye={class:"scroll-timeline-x whitespace-nowrap"
},Bye={class:"flex gap-10 justify-between"},Uye=no({__name:"ImportCurlModal",
props:{parsedCurl:{},state:{},collectionUid:{}},emits:["importCurl","close"],
setup(e,{emit:t}){
const n=e,r=t,{toast:o}=VU(),a=Fn(""),{activeWorkspaceCollections:i,activeCollection:s}=q1(),l=Bi((()=>!a.value.trim())),c=Bi((()=>i.value.map((e=>{
var t;return{id:e.uid,
label:(null==(t=e.info)?void 0:t.title)??"Unititled Collection"}
})))),u=Fn(n.collectionUid?c.value.find((e=>e.id===n.collectionUid)):c.value.find((e=>{
var t;return e.id===(null==(t=s.value)?void 0:t.uid)})));function d(){
l.value?o("Please enter a name before importing your request.","error"):function(){
var e;n.parsedCurl&&r("importCurl",{parsedCurl:n.parsedCurl,requestName:a.value,
collectionUid:(null==(e=u.value)?void 0:e.id)??""})}()}
return Ma((()=>n.state.open),(e=>{e&&(a.value="")})),(e,t)=>(ei(),ai(Vn(k1),{
size:"xs",state:e.state,title:"Import cURL request"},{default:Ar((()=>{
var e,r,o,i;return[di(Vn(D1),{modelValue:a.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),autofocus:"",class:"h-9",
placeholder:"Request Name",onKeyup:Ys(d,["enter"])
},null,8,["modelValue"]),ui("div",Iye,[ui("div",Lye,[di(qbe,{isEditable:!1,
isSquare:"",method:(null==(e=n.parsedCurl)?void 0:e.method)||"get"
},null,8,["method"])]),ui("span",jye,ht((null==(o=null==(r=n.parsedCurl)?void 0:r.servers)?void 0:o[0])||"")+ht((null==(i=n.parsedCurl)?void 0:i.path)||""),1)]),ui("div",Bye,[di(Vn(Y0),{
modelValue:u.value,"onUpdate:modelValue":t[1]||(t[1]=e=>u.value=e),
options:c.value},{default:Ar((()=>[di(Vn(BB),{
class:"justify-between p-2 max-h-8 gap-1 text-xs hover:bg-b-2",
variant:"outlined"},{default:Ar((()=>[ui("span",{
class:it(["whitespace-nowrap",u.value?"text-c-1":"text-c-3"])
},ht(u.value?u.value.label:"Select Collection"),3),di(Vn(oY),{class:"text-c-3",
icon:"ChevronDown",size:"md"})])),_:1})])),_:1
},8,["modelValue","options"]),di(Vn(BB),{
class:"gap-1.5 font-medium px-2.5 h-8 shadow-none focus:outline-none whitespace-nowrap",
disabled:l.value,type:"submit",onClick:d},{
default:Ar((()=>t[2]||(t[2]=[fi(" Import Request ")]))),_:1},8,["disabled"])])]
})),_:1},8,["state"]))}}),Qye=g3(Uye,[["__scopeId","data-v-b77d5bd3"]]),Fye={
class:"flex flex-col min-h-0 flex-1 *:border-t-1/2 first:*:border-t-0 md:*:border-t-0 xl:overflow-hidden md:flex-row leading-3"
};const zye=g3({},[["render",function(e,t){
return ei(),oi("div",Fye,[$o(e.$slots,"default")])}]]),qye={
class:"*:border-t-1/2 first:*:border-t-0 xl:*:border-t-0 xl:*:border-l-1/2 xl:first:*:border-l-0 flex xl:flex-row flex-col custom-scroll pr-0"
};const Hye=g3({},[["render",function(e,t){
return ei(),oi("div",qye,[$o(e.$slots,"default")])}]]);function Vye(e){
const t=function(e){
const t=Ffe(e).map((e=>"object"==typeof e&&"op"in e&&"glob"===e.op?e.pattern.trim():"string"==typeof e?e.trim():e)).filter((e=>""!==e)),n={
url:""},r=t[Symbol.iterator]();let o=r.next().value
;for(;o;)if("object"==typeof o&&"op"in o){if("&"===o.op){const e=r.next().value
;if("string"==typeof e){
const t=Zfe(`?${e}`).reduce(((e,{key:t,value:n})=>(e[t]=n,e)),{})
;n.queryParameters={...n.queryParameters,...t}}}o=r.next().value}else{
if("-X"===o||"--request"===o)zfe(r,n);else if("--url"===o)qfe(r,n);else if("-H"===o||"--header"===o)Hfe(r,n);else if("--data"===o||"-d"===o||"--data-raw"===o||"--data-urlencode"===o||"--data-binary"===o||"--data-ascii"===o){
const e=r.next().value;"string"==typeof e&&(n.body=e)
}else"string"!=typeof o||n.url||!o.startsWith("http")&&!o.startsWith("www.")?"-P"===o?Vfe(r,n):"string"==typeof o&&o.toLowerCase().includes("content-type")?Wfe(o,n):"-u"===o||"--user"===o?Xfe(r,n):("-b"===o||"--cookie"===o)&&Gfe(r,n):qfe([o][Symbol.iterator](),n)
;o=r.next().value}return n
}(e),{method:n="get",url:r,body:o="",headers:a={},servers:i,queryParameters:s=[]}=t,l=new URL(r).pathname,c=null!=o&&o.includes("=")&&!o.startsWith("{")?"application/x-www-form-urlencoded":a["Content-Type"]||"application/json",u=o?function(e){
try{return JSON.parse(e)}catch{const t={};return e.split("&").forEach((e=>{
const[n,r]=e.split("=");n&&r&&(t[decodeURIComponent(n)]=decodeURIComponent(r))
})),t}}(o):{},d=[...Array.isArray(s)?s.map((({key:e,value:t})=>({name:e,
in:"query",schema:{type:typeof t,examples:[t]}
}))):[],...Object.entries(a||{}).map((([e,t])=>({name:e,in:"header",schema:{
type:typeof t},example:t})))];return{method:n,url:r,path:l,headers:a,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 Zye={
class:"hidden lg:flex ml-auto filter-hover context-bar-group lg:w-[120px]"
},Wye={
class:"request-section-content request-section-content-filter fade-request-section-content text-c-3 hidden xl:flex justify-end rounded text-xs gap-[1.5px] pointer-events-auto relative w-full py-2"
},Xye=["name","value"],Gye={
class:"flex items-center context-bar-group-hover:text-c-1 absolute -right-6 top-1/2 -translate-y-1/2"
},Yye={class:"mr-1.5 context-bar-group-hover:hidden"},Kye=no({
__name:"ContextBar",props:{sections:{},activeSection:{}},
emits:["setActiveSection"],setup(e,{emit:t}){const n=e,r=t,o=ro(),a=Bi({
get:()=>n.activeSection,set:e=>r("setActiveSection",e)})
;return(e,t)=>(ei(),oi("fieldset",Zye,[t[1]||(t[1]=ui("legend",{class:"sr-only"
},"Filter Sections",-1)),ui("div",Wye,[(ei(!0),
oi(Wa,null,Do(e.sections,(e=>(ei(),oi("label",{key:e,
class:it(["filter-hover-item flex items-center hover:bg-b-2 rounded p-1 px-2 cursor-pointer text-center font-medium w-fit whitespace-nowrap has-[:focus-visible]:outline",[a.value===e?"text-c-1  pointer-events-none":""]])
},[fi(ht(e)+" ",1),Pr(ui("input",{
"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),class:"sr-only",name:Vn(o),
type:"radio",value:e
},null,8,Xye),[[Fs,a.value]])],2)))),128)),ui("div",Gye,[ui("span",Yye,ht(a.value),1),di(Vn(oY),{
icon:"FilterList",size:"md",thickness:"2"})])])]))}
}),Jye=g3(Kye,[["__scopeId","data-v-3015ddb3"]]),eOe={
class:"flex xl:h-full xl:min-w-0 flex-1 flex-col xl:custom-scroll bg-b-1"},tOe={
class:"min-h-11 flex items-center border-b-1/2 px-4 text-sm font-medium sticky top-0 bg-b-1 xl:rounded-none z-1"
};const nOe=g3({},[["render",function(e,t){
return ei(),oi("section",eOe,[ui("div",tOe,[$o(e.$slots,"title")]),$o(e.$slots,"default")])
}]]),rOe=no({__name:"DataTableHeader",setup(e){const{cx:t}=AB()
;return(e,n)=>(ei(),ai($3,Oi({is:"th"
},Vn(t)("truncate font-medium px-2 py-1.5")),{
default:Ar((()=>[$o(e.$slots,"default")])),_:3},16))}}),oOe={
class:"pl-1 pr-1.5 py-[9px]"},aOe={
class:"grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 p-2 text-xxs leading-5 text-c-1"
},iOe={key:0,class:"flex items-center text-c-2"},sOe={key:0},lOe={key:1,
class:"before:content-['·'] before:block before:mx-[0.5ch] flex"},cOe={key:2,
class:"before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
},uOe={key:3,
class:"before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
},dOe={key:4,
class:"before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap"
},pOe={key:1,class:"leading-snug text-pretty text-sm",style:{maxWidth:"16rem"}
},hOe=no({__name:"RequestTableTooltip",props:{item:{}},setup(e){
const t=e,n=e=>void 0!==e,r=Bi((()=>t.item.type||t.item.format||n(t.item.minimum)||n(t.item.maximum)||n(t.item.default)))
;return(e,o)=>(ei(),ai(Vn(p1),{align:"start",class:"w-full",delay:0,side:"left",
triggerClass:"before:absolute before:content-[''] before:bg-gradient-to-r before:from-transparent before:to-b-1 before:min-h-[calc(100%-4px)] before:pointer-events-none before:right-[23px] before:top-0.5 before:w-3 absolute h-full right-0"
},{trigger:Ar((()=>[ui("div",oOe,[di(Vn(oY),{
class:"text-c-3 group-hover/info:text-c-1",icon:"Info",size:"sm",thickness:"1.5"
})])])),
content:Ar((()=>[ui("div",aOe,[r.value?(ei(),oi("div",iOe,[t.item.type?(ei(),
oi("span",sOe,ht(t.item.type),1)):gi("",!0),t.item.format?(ei(),
oi("span",lOe,ht(t.item.format),1)):gi("",!0),n(t.item.minimum)?(ei(),
oi("span",cOe,"min: "+ht(t.item.minimum),1)):gi("",!0),n(t.item.maximum)?(ei(),
oi("span",uOe,"max: "+ht(t.item.maximum),1)):gi("",!0),n(t.item.default)?(ei(),
oi("span",dOe,"default: "+ht(t.item.default),1)):gi("",!0)])):gi("",!0),t.item.description?(ei(),
oi("span",pOe,ht(t.item.description),1)):gi("",!0)])])),_:1}))}}),fOe={
class:"contents"},mOe={
class:"text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end"
},gOe=["onClick"],vOe=no({__name:"RequestTable",props:{items:{},
isEnabledHidden:{type:Boolean,default:!1},showUploadButton:{type:Boolean,
default:!1}},
emits:["updateRow","toggleRow","addRow","deleteRow","inputFocus","inputBlur","uploadFile","removeFile"],
setup(e,{emit:t}){
const n=t,r=e.isEnabledHidden?["",""]:["","","36px"],o=(e,t,r)=>{
n("updateRow",e,t,r)
},a=e=>!!(e.description||e.type||e.default||e.format),i=e=>Bi((()=>{
if("integer"===e.type&&void 0!==e.value){const t=Number(e.value)
;if(void 0!==e.minimum&&t<e.minimum)return`Min is ${e.minimum}`
;if(void 0!==e.maximum&&t>e.maximum)return`Max is ${e.maximum}`}return!1
})),s=e=>Array.isArray(e.default)&&1===e.default.length?e.default[0]:e.default
;return(e,t)=>(ei(),ai(Xpe,{class:"flex-1",columns:Vn(r)},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(e.items,((r,l)=>(ei(),ai(M3,{key:l},{
default:Ar((()=>[ui("label",fOe,[t[4]||(t[4]=ui("span",{class:"sr-only"
},"Row Enabled",-1)),e.isEnabledHidden?gi("",!0):(ei(),ai(L3,{key:0,
class:"!border-r-1/2",modelValue:r.enabled,
"onUpdate:modelValue":e=>n("toggleRow",l,e)
},null,8,["modelValue","onUpdate:modelValue"]))]),di($3,null,{
default:Ar((()=>[di(_pe,{disableCloseBrackets:"",disableEnter:"",
disableTabIndent:"",modelValue:r.key,placeholder:"Key",required:r.required,
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,["modelValue","required","onSelectVariable","onUpdate:modelValue"])])),
_:2},1024),di($3,null,{default:Ar((()=>[di(_pe,{class:it({"pr-6":a(r)}),
default:r.default,disableCloseBrackets:"",disableEnter:"",disableTabIndent:"",
enum:r.enum,max:r.maximum,min:r.minimum,modelValue:r.value,nullable:r.nullable,
placeholder:"Value",type:r.type,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)},Ro({
icon:Ar((()=>[a(r)?(ei(),ai(hOe,{key:0,item:{...r,default:s(r)}
},null,8,["item"])):gi("",!0)])),_:2},[i(r).value?{name:"warning",
fn:Ar((()=>[fi(ht(i(r).value),1)])),key:"0"
}:void 0]),1032,["class","default","enum","max","min","modelValue","nullable","type","onSelectVariable","onUpdate:modelValue"])])),
_:2},1024),e.showUploadButton?(ei(),ai($3,{key:0,
class:"group/upload p-1 overflow-hidden relative text-ellipsis whitespace-nowrap"
},{default:Ar((()=>{var e;return[r.file?(ei(),oi(Wa,{key:0
},[ui("div",mOe,[ui("span",null,ht(null==(e=r.file)?void 0:e.name),1)]),ui("button",{
class:"absolute bg-b-2 font-medium centered-x centered-y hidden rounded text-center p-0.5 w-[calc(100%_-_8px)] group-hover/upload:block text-xs",
type:"button",onClick:e=>n("removeFile",l)
}," Delete ",8,gOe)],64)):(ei(),ai(Vn(BB),{key:1,
class:"bg-b-2 hover:bg-b-3 border-0 py-px text-c-2 shadow-none",size:"sm",
variant:"outlined",onClick:e=>(e=>{n("uploadFile",e)})(l)},{
default:Ar((()=>[t[5]||(t[5]=ui("span",null,"File",-1)),di(Vn(oY),{class:"ml-1",
icon:"UploadSimple",size:"xs",thickness:"2.5"})])),_:2},1032,["onClick"]))]})),
_:2},1024)):gi("",!0)])),_:2},1024)))),128))])),_:1},8,["columns"]))}
}),bOe=g3(vOe,[["__scopeId","data-v-79278ac7"]])
;function yOe({multiple:e,accept:t,onChange:n,onError:r}={}){const o=Fn(null)
;let a
;typeof document<"u"&&(a=document.createElement("input"),a.type="file",a.onchange=e=>{
const t=e.target;o.value=t.files,null==n||n(o.value)
},a.onerror=()=>null==r?void 0:r(),a.multiple=e,a.accept=t);return{files:Dn(o),
open:()=>{if(!a)return null==r?void 0:r();a.click()}}}const OOe={key:0,
class:"border-t-1/2 text-c-3 flex min-h-10 w-full items-center justify-center p-2 text-sm"
},wOe={key:1,class:"flex items-center justify-center p-1.5 overflow-hidden"
},xOe={
class:"text-c-2 text-xs w-full border rounded p-1 max-w-full overflow-hidden whitespace-nowrap"
},kOe=no({__name:"RequestBody",props:{title:{}},setup(e){
const{activeRequest:t,activeExample:n}=q1(),{requestExampleMutators:r}=M1(),o={
json:"json",xml:"xml",yaml:"yaml",edn:"edn",other:"html"},a=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}))),i=Bi((()=>{var e,t
;return n.value?"formData"===n.value.body.activeBody?"urlencoded"===(null==(e=n.value.body.formData)?void 0:e.encoding)?"formUrlEncoded":"multipartForm":"binary"===n.value.body.activeBody?"binaryFile":"raw"===n.value.body.activeBody&&null!=(t=n.value.body.raw)&&t.encoding?"html"===n.value.body.raw.encoding?"other":n.value.body.raw.encoding:"none":"none"
})),s=Bi({get:()=>a.find((e=>e.id===i.value))??a[a.length-1],set:e=>{
null!=e&&e.id&&b(e.id)}}),l=Fn(null),c=Bi((()=>{var e
;const t=null==(e=s.value)?void 0:e.id;return o[t]??"plaintext"}));function u(){
console.log("deleteRow")}const d=(e,o,a)=>{var i,s,c,u,d,h,m
;if(!t.value||!n.value)return;const g=p.value;if(g.length>e){const t=[...g]
;t[e]={...t[e],value:(null==(i=t[e])?void 0:i.value)||"",
key:(null==(s=t[e])?void 0:s.key)||"",
enabled:(null==(c=t[e])?void 0:c.enabled)??!1,[o]:a||""
},(""!==(null==(u=t[e])?void 0:u.key)||""!==(null==(d=t[e])?void 0:d.value))&&(t[e].enabled=!0),
""===(null==(h=t[e])?void 0:h.key)&&""===(null==(m=t[e])?void 0:m.value)&&t.splice(e,1),
r.edit(n.value.uid,"body.formData.value",t)}else{const e=[ID.parse({[o]:a})]
;r.edit(n.value.uid,"body.formData.value",e),yr((()=>{var e
;l.value&&(null==(e=l.value.querySelectorAll("input")["key"===o?0:1])||e.focus())
}))}e===g.length-1&&f()},p=Bi((()=>{var e,t,r
;return(null==(r=null==(t=null==(e=n.value)?void 0:e.body)?void 0:t.formData)?void 0:r.value)??[]
})),h=()=>{const e=p.value[p.value.length-1];(!e||""!==e.key||""!==e.value)&&f()
},f=()=>{if(!t.value||!n.value)return;const e=ID.parse({enabled:!1
}),o=[...p.value,e]
;n.value.body.formData?r.edit(n.value.uid,"body.formData.value",o):r.edit(n.value.uid,"body.formData",{
value:o,encoding:"form-data"})},m=(e,o)=>{if(!t.value||!n.value)return
;const a=p.value;if(a.length>e){const t=[...a]
;t[e]&&(t[e].enabled=o),r.edit(n.value.uid,"body.formData.value",t)}},g=e=>{
!t.value||!n.value||r.edit(n.value.uid,"body.raw.value",e)
},v=e=>"multipartForm"===e?{activeBody:"formData",encoding:"form-data",
header:"multipart/form-data"}:"formUrlEncoded"===e?{activeBody:"formData",
encoding:"urlencoded",header:"application/x-www-form-urlencoded"
}:"binaryFile"===e?{activeBody:"binary",encoding:void 0,
header:"application/octet-stream"}:"json"===e?{activeBody:"raw",encoding:"json",
header:"application/json"}:"xml"===e?{activeBody:"raw",encoding:"xml",
header:"application/xml"}:"yaml"===e?{activeBody:"raw",encoding:"yaml",
header:"application/yaml"}:"edn"===e?{activeBody:"raw",encoding:"edn",
header:"application/edn"}:"other"===e?{activeBody:"raw",encoding:"html",
header:"application/html"}:{activeBody:"raw",encoding:void 0,header:void 0
},b=e=>{var t,o;if(!n.value)return;const{activeBody:a,encoding:i,header:s}=v(e)
;if(r.edit(n.value.uid,"body.activeBody",a),
i&&"raw"===a)r.edit(n.value.uid,"body.raw",{encoding:i,
value:(null==(t=n.value.body.raw)?void 0:t.value)??""
});else if(i&&"formData"===a)r.edit(n.value.uid,"body.formData",{encoding:i,
value:(null==(o=n.value.body.formData)?void 0:o.value)??[]});else if(!i){
const{raw:e,...t}=n.value.body;r.edit(n.value.uid,"body",t)}
const l=[...n.value.parameters.headers],c=l.findIndex((e=>"content-type"===e.key.toLowerCase()))
;c>=0?s&&l[c]?l[c].value=s:l[c]&&l.splice(c,1):s&&l.unshift({key:"Content-Type",
value:s,enabled:!0}),r.edit(n.value.uid,"parameters.headers",l)},y=async e=>{
const{open:o}=yOe({onChange:async o=>{const a=null==o?void 0:o[0]
;if(a&&t.value&&n.value){const t=[...p.value];t[e]={...t[e],file:a,value:a.name,
key:a.name,enabled:!0},r.edit(n.value.uid,"body.formData.value",t)}},
multiple:!1,accept:"*/*"});o()};function O(){
!t.value||!n.value||r.edit(n.value.uid,"body.binary",void 0)}function w(e){
if(!t.value||!n.value)return;const o=[...p.value];o[e]={...o[e],file:void 0,
value:"",key:"",enabled:!1},r.edit(n.value.uid,"body.formData.value",o)}
function x(){const{open:e}=yOe({onChange:async e=>{const o=null==e?void 0:e[0]
;o&&t.value&&n.value&&r.edit(n.value.uid,"body.binary",o)},multiple:!1,
accept:"*/*"});e()}Ma(s,(e=>{
["multipartForm","formUrlEncoded"].includes((null==e?void 0:e.id)||"")&&h()}),{
immediate:!0}),Ma((()=>{var e;return null==(e=n.value)?void 0:e.uid}),(()=>{
var e
;null!=(e=t.value)&&e.method&&xR(t.value.method)&&b(i.value),["multipartForm","formUrlEncoded"].includes(i.value)&&h()
}),{immediate:!0});const k=Bi((()=>{var e,n,r,o
;const a=null==(e=s.value)?void 0:e.id,{header:i}=v(a),l=(null==(r=null==(n=t.value)?void 0:n.requestBody)?void 0:r.content)||{},c=i&&(null==(o=l[i])?void 0:o.examples)||{}
;return Object.entries(c).map((([e,t])=>({id:e,label:e,value:t})))})),S=Bi({
get:()=>{var e,t
;const r=(null==(t=null==(e=n.value)?void 0:e.body.raw)?void 0:t.value)??"{}",o=JSON.parse(r)
;return k.value.find((e=>{const t=e.value
;return JSON.stringify(t.value)===JSON.stringify(o)}))??k.value[0]},set:e=>{
if(null!=e&&e.id){const t=k.value.find((t=>t.id===e.id));if(t){const e=t.value
;g(JSON.stringify(e.value,null,2))}}}});return(e,t)=>(ei(),ai(she,null,{
title:Ar((()=>[fi(ht(e.title),1)])),default:Ar((()=>[di(Xpe,{columns:[""]},{
default:Ar((()=>[di(M3,null,{default:Ar((()=>[di(rOe,{
class:"relative col-span-full flex h-8 cursor-pointer items-center justify-between !p-0"
},{default:Ar((()=>[di(Vn(Y0),{modelValue:s.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>s.value=e),options:Vn(a),teleport:""},{
default:Ar((()=>[di(Vn(BB),{
class:"flex gap-1.5 h-full px-2 text-c-2 font-normal hover:text-c-1 w-fit",
fullWidth:"",variant:"ghost"},{default:Ar((()=>{var e
;return[ui("span",null,ht(null==(e=s.value)?void 0:e.label),1),di(Vn(oY),{
icon:"ChevronDown",size:"md"})]})),_:1})])),_:1
},8,["modelValue","options"]),k.value.length>0?(ei(),ai(Vn(Y0),{key:0,
modelValue:S.value,"onUpdate:modelValue":t[1]||(t[1]=e=>S.value=e),
options:k.value,side:"left",teleport:""},{default:Ar((()=>[di(Vn(BB),{
class:"flex gap-1.5 h-full px-2 text-c-2 font-normal hover:text-c-1 w-fit",
fullWidth:"",variant:"ghost"},{default:Ar((()=>{var e
;return[ui("span",null,ht(null==(e=S.value)?void 0:e.label),1),di(Vn(oY),{
icon:"ChevronDown",size:"md"})]})),_:1})])),_:1
},8,["modelValue","options"])):gi("",!0)])),_:1})])),_:1}),di(M3,null,{
default:Ar((()=>{var e,r,o,a,i,h,f,v,b
;return["none"===(null==(e=s.value)?void 0:e.id)?(ei(),
oi("div",OOe,t[2]||(t[2]=[ui("span",null,"No Body",-1)]))):"binaryFile"===(null==(r=s.value)?void 0:r.id)?(ei(),
oi("div",wOe,[null!=(o=Vn(n))&&o.body.binary?(ei(),oi(Wa,{key:0
},[ui("span",xOe,ht((null==(a=Vn(n))?void 0:a.body.binary).name),1),di(Vn(BB),{
class:"bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1 shadow-none",size:"sm",
variant:"outlined",onClick:O},{default:Ar((()=>t[3]||(t[3]=[fi(" Delete ")]))),
_:1})],64)):(ei(),ai(Vn(BB),{key:1,
class:"bg-b-2 hover:bg-b-3 border-0 text-c-2 shadow-none",size:"sm",
variant:"outlined",onClick:x},{
default:Ar((()=>[t[4]||(t[4]=ui("span",null,"Upload File",-1)),di(Vn(oY),{
class:"ml-1",icon:"UploadSimple",size:"xs",thickness:"2.5"})])),_:1
}))])):"multipartForm"==(null==(i=s.value)?void 0:i.id)?(ei(),ai(bOe,{key:2,
ref_key:"tableWrapperRef",ref:l,
class:"!m-0 rounded-t-none shadow-none border-l-0 border-r-0 border-t-0 border-b-0",
columns:["32px","","","61px"],items:p.value,showUploadButton:"",onDeleteRow:u,
onRemoveFile:w,onToggleRow:m,onUpdateRow:d,onUploadFile:y
},null,8,["items"])):"formUrlEncoded"==(null==(h=s.value)?void 0:h.id)?(ei(),
ai(bOe,{key:3,ref_key:"tableWrapperRef",ref:l,
class:"!m-0 rounded-t-none border-t-0 shadow-none border-l-0 border-r-0 border-t-0 border-b-0",
columns:["32px","","","61px"],items:p.value,showUploadButton:"",onDeleteRow:u,
onRemoveFile:w,onToggleRow:m,onUpdateRow:d,onUploadFile:y
},null,8,["items"])):(ei(),ai(_pe,{key:4,class:"border-t-1/2",content:"",
language:c.value,lineNumbers:"",lint:"",
modelValue:(null==(b=null==(v=null==(f=Vn(n))?void 0:f.body)?void 0:v.raw)?void 0:b.value)??"",
"onUpdate:modelValue":g},null,8,["language","modelValue"]))]})),_:1}),di(M3)])),
_:1})])),_:1}))}}),SOe=g3(kOe,[["__scopeId","data-v-cdfe9ab6"]]),_Oe=no({
__name:"RequestParams",props:{title:{},paramKey:{}},setup(e){
const t=e,{activeRequest:n,activeExample:r}=q1(),{requestExampleMutators:o}=M1(),a=Bi((()=>{
var e;return(null==(e=r.value)?void 0:e.parameters[t.paramKey])??[]}));go((()=>{
u()}));const i=()=>{if(!n.value||!r.value)return;const e=ID.parse({enabled:!1
}),i=[...a.value,e];o.edit(r.value.uid,`parameters.${t.paramKey}`,i)
},s=Fn(null),l=(e,l,c)=>{if(!n.value||!r.value)return;const u=a.value
;if(u.length>e){const n=[...u];if(!n[e])return;n[e]={...n[e],[l]:c
},(""!==n[e].key||""!==n[e].value)&&(n[e].enabled=!0),
""===n[e].key&&""===n[e].value&&n.splice(e,1),
o.edit(r.value.uid,`parameters.${t.paramKey}`,n)}else{const e=[ID.parse({[l]:c
})];o.edit(r.value.uid,`parameters.${t.paramKey}`,e),yr((()=>{var e
;s.value&&(null==(e=s.value.querySelectorAll("input")["key"===l?0:1])||e.focus())
}))}e===u.length-1&&i()
},c=(e,a)=>n.value&&r.value&&o.edit(r.value.uid,`parameters.${t.paramKey}.${e}.enabled`,a)
;function u(){if(0===a.value.length)i();else if(a.value.length>=1){
const e=a.value[a.value.length-1];e&&""!==e.key&&""!==e.value&&i()}}
const d=Bi((()=>a.value.filter((e=>e.key||e.value)).length))
;return Ma((()=>r.value),((e,t)=>{e!==t&&u()}),{immediate:!0
}),(e,t)=>(ei(),ai(she,{class:"group/params",itemCount:d.value},{
title:Ar((()=>[fi(ht(e.title),1)])),actions:Ar((()=>t[0]||(t[0]=[ui("div",{
class:"text-c-2 flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 has-[:focus-visible]:opacity-100 request-meta-buttons"
},null,-1)]))),default:Ar((()=>[ui("div",{ref_key:"tableWrapperRef",ref:s
},[di(bOe,{class:"flex-1",columns:["32px","",""],items:a.value,onToggleRow:c,
onUpdateRow:l},null,8,["items"])],512)])),_:1},8,["itemCount"]))}}),EOe=no({
__name:"RequestPathParams",props:{title:{},paramKey:{}},setup(e){
const t=e,{activeRequest:n,activeExample:r,activeServer:o}=q1(),{requestMutators:a,requestExampleMutators:i}=M1(),s=Bi((()=>{
const e=r.value;return e?e.parameters[t.paramKey].map((t=>{var n;return{...t,
enum:t.enum||(null==(n=e.serverVariables)?void 0:n[t.key])}})):[]
})),l=(e,o,s)=>{var l,c;if(!n.value||!r.value)return
;const u=r.value.parameters[t.paramKey],d=null==(l=u[e])?void 0:l.key;if(d){
if("key"===o){if(null!=(c=u[e])&&c.required)return;if(s){
const e=encodeURIComponent(d),t=encodeURIComponent(s),r=new RegExp(`(?<=/):${e}(?=[/?#]|$)`,"g"),o=n.value.path.replace(r,`:${t}`)
;a.edit(n.value.uid,"path",o)}else{u.splice(e,1)
;const t=new RegExp(`/:${encodeURIComponent(d)}(?=[/?#]|$)`,"g"),r=n.value.path.replace(t,"")
;a.edit(n.value.uid,"path",r)}}
i.edit(r.value.uid,`parameters.${t.paramKey}.${e}.${o}`,s)}},c=e=>{e&&(e=>{var n
;if(!r.value)return
;const o=(null==(n=e.match(bD.PATH))?void 0:n.map((e=>e.slice(1,-1))))||[],a=r.value.parameters[t.paramKey],s=new Map(a.map((e=>[e.key,e]))),l=o.map((e=>s.get(e)||{
key:e,value:"",enabled:!0}));a.forEach((e=>{
!o.includes(e.key)&&(e.value||e.required)&&l.push(e)
})),a.splice(0,a.length,...l),i.edit(r.value.uid,`parameters.${t.paramKey}`,a)
})(e)};return Ma((()=>n.value),(e=>{var t,n
;e&&null!=(t=o.value)&&t.url&&c(null==(n=o.value)?void 0:n.url)})),Ma((()=>{
var e;return null==(e=o.value)?void 0:e.url}),((e,t)=>{e&&e!==t&&c(e)
})),(e,t)=>(ei(),ai(she,{itemCount:s.value.length},{
title:Ar((()=>[fi(ht(e.title),1)])),
default:Ar((()=>[s.value.length?(ei(),ai(bOe,{key:0,class:"flex-1",
isEnabledHidden:"",items:s.value,onUpdateRow:l},null,8,["items"])):gi("",!0)])),
_:1},8,["itemCount"]))}}),TOe={
class:"flex-1 flex gap-1 items-center lg:pr-24 pointer-events-none group"},COe={
key:0,
class:"absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text",
for:"requestname"},AOe=["value"],POe={key:2,
class:"flex items-center text-c-1 h-8"},DOe={
class:"request-section-content custom-scroll flex flex-1 flex-col"},ROe=no({
__name:"RequestSection",props:{selectedSecuritySchemeUids:{}},setup(e){
const{activeRequest:t,activeExample:n}=q1(),{isReadOnly:r,requestMutators:o}=M1(),a=Bi((()=>{
var e,r
;const o=new Set(["All","Query","Auth","Variables","Cookies","Headers","Body"])
;return null!=(e=n.value)&&e.parameters.path.length||o.delete("Variables"),
xR((null==(r=t.value)?void 0:r.method)??"get")||o.delete("Body"),
i.value&&o.delete("Auth"),[...o]})),i=Bi((()=>{var e,n
;return r&&0===(null==(n=null==(e=t.value)?void 0:e.security)?void 0:n.length)
})),s=Fn("All");Ma(t,(e=>{"Body"===s.value&&e&&!xR(e.method)&&(s.value="All")}))
;const l=e=>{if(!t.value)return;const n=e.target
;o.edit(t.value.uid,"summary",n.value)};return(e,o)=>{var c;return ei(),ai(nOe,{
"aria-label":`Request: ${null==(c=Vn(t))?void 0:c.summary}`},{title:Ar((()=>{
var e,n;return[ui("div",TOe,[Vn(r)?gi("",!0):(ei(),oi("label",COe)),Vn(r)?(ei(),
oi("span",POe,ht(null==(n=Vn(t))?void 0:n.summary),1)):(ei(),oi("input",{key:1,
id:"requestname",
class:"text-c-1 rounded pointer-events-auto relative w-full pl-2 -ml-0.5 md:-ml-1 xl:-ml-2 has-[:focus-visible]:outline h-8 group-hover-input has-[:focus-visible]:outline z-10",
placeholder:"Request Name",value:null==(e=Vn(t))?void 0:e.summary,onInput:l
},null,40,AOe))]),di(Jye,{activeSection:s.value,sections:a.value,
onSetActiveSection:o[0]||(o[0]=e=>s.value=e)
},null,8,["activeSection","sections"])]})),default:Ar((()=>{var r,o,a,l
;return[ui("div",DOe,[Pr(di(hhe,{
selectedSecuritySchemeUids:e.selectedSecuritySchemeUids,title:"Authentication"
},null,8,["selectedSecuritySchemeUids"]),[[hs,!i.value&&("All"===s.value||"Auth"===s.value)]]),Pr(di(EOe,{
paramKey:"path",title:"Variables"
},null,512),[[hs,("All"===s.value||"Variables"===s.value)&&(null==(a=null==(o=null==(r=Vn(n))?void 0:r.parameters)?void 0:o.path)?void 0:a.length)]]),Pr(di(_Oe,{
paramKey:"cookies",title:"Cookies"
},null,512),[[hs,"All"===s.value||"Cookies"===s.value]]),Pr(di(_Oe,{
paramKey:"headers",title:"Headers"
},null,512),[[hs,"All"===s.value||"Headers"===s.value]]),Pr(di(_Oe,{
paramKey:"query",title:"Query Parameters"
},null,512),[[hs,"All"===s.value||"Query"===s.value]]),Pr(di(SOe,{title:"Body"
},null,512),[[hs,(null==(l=Vn(t))?void 0:l.method)&&("All"===s.value||"Body"===s.value)&&Vn(xR)(Vn(t).method)]])])]
})),_:1},8,["aria-label"])}}
}),$Oe=g3(ROe,[["__scopeId","data-v-0fb9317f"]]),NOe={class:"sr-only"},MOe={
class:"size-4",fill:"none",viewBox:"0 0 24 24",
xmlns:"http://www.w3.org/2000/svg"},IOe={"clip-path":"url(#mask)"},LOe=no({
__name:"SidebarToggle",props:{modelValue:{type:Boolean}},
emits:["update:modelValue"],setup:e=>(e,t)=>(ei(),oi("button",{
class:"scalar-sidebar-toggle text-c-3 hover:bg-b-2 active:text-c-1 p-2 rounded-lg",
type:"button",onClick:t[0]||(t[0]=t=>e.$emit("update:modelValue",!e.modelValue))
},[ui("span",NOe,ht(e.modelValue?"Hide":"Show")+" sidebar",1),(ei(),
oi("svg",MOe,[t[1]||(t[1]=ui("defs",null,[ui("clipPath",{id:"mask"},[ui("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)),ui("g",IOe,[ui("path",{
class:it(["transition-transform duration-300",e.modelValue?"translate-x-0":"-translate-x-1/2"]),
d:"M1 3.2h8v17.5H1z",fill:"currentColor"},null,2)]),t[2]||(t[2]=ui("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))]))]))}),jOe={
class:"lg:min-h-client-header flex items-center w-full justify-center p-2 pt-2 lg:pt-1 lg:p-1 flex-wrap t-app__top-container border-b-1/2"
},BOe={
class:"flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-2 lg:flex-1 w-6/12"
},UOe={
class:"flex flex-row items-center gap-1 lg:px-2.5 lg:mb-0 mb-2 lg:flex-1 justify-end w-6/12"
},QOe=no({__name:"RequestSubpageHeader",props:{modelValue:{type:Boolean}},
emits:["update:modelValue","hideModal","importCurl"],setup(e){
const{activeCollection:t}=q1(),{isReadOnly:n,hideClientButton:r,showSidebar:o}=M1(),{layout:a}=y3(),{currentRoute:i}=o3()
;return(e,s)=>{var l,c,u
;return ei(),oi("div",jOe,[ui("div",BOe,[Vn(o)?(ei(),ai(LOe,{key:0,
class:it(["ml-1",[{hidden:e.modelValue},{"xl:!flex":!e.modelValue},{
"!flex":"modal"===Vn(a)},{"!hidden":"modal"===Vn(a)&&e.modelValue}]]),
modelValue:e.modelValue,
"onUpdate:modelValue":s[0]||(s[0]=t=>e.$emit("update:modelValue",t))
},null,8,["class","modelValue"])):gi("",!0)]),di(uye,{
onImportCurl:s[1]||(s[1]=t=>e.$emit("importCurl",t))
}),ui("div",UOe,[Vn(n)&&null!=(l=Vn(t))&&l.documentUrl&&!Vn(r)?(ei(),
ai(Vn(Fbe),{key:0,buttonSource:"modal",class:"!w-fit lg:-mr-1",
integration:null==(c=Vn(t))?void 0:c.integration,
source:"gitbook"===Vn(i).query.source?"gitbook":"api-reference",
url:null==(u=Vn(t))?void 0:u.documentUrl
},null,8,["integration","source","url"])):gi("",!0),Vn(n)?(ei(),oi("button",{
key:1,
class:"app-exit-button p-2 rounded-full fixed right-2 top-2 gitbook-hidden",
type:"button",onClick:s[2]||(s[2]=t=>e.$emit("hideModal"))},[di(Vn(oY),{
icon:"Close",size:"lg",thickness:"2"}),s[4]||(s[4]=ui("span",{class:"sr-only"
},"Close Client",-1))])):gi("",!0),Vn(n)?(ei(),oi("button",{key:2,
class:"text-c-1 hover:bg-b-2 active:text-c-1 p-2 rounded -mr-1.5 gitbook-show",
type:"button",onClick:s[3]||(s[3]=t=>e.$emit("hideModal"))},[di(Vn(oY),{
icon:"Close",size:"md",thickness:"1.75"}),s[5]||(s[5]=ui("span",{class:"sr-only"
},"Close Client",-1))])):gi("",!0)])])}}
}),FOe=g3(QOe,[["__scopeId","data-v-d6f5cf38"]]);function zOe(e){let t="";if(e){
const n=e.match(/filename\s*=\s*"?([^";]+)"?/)
;"string"==typeof(null==n?void 0:n[1])&&(t=(e=>{try{return decodeURIComponent(e)
}catch{return e}})(n[1].trim()))}return t}const qOe=["download","href"],HOe=no({
__name:"ResponseBodyDownload",props:{href:{},type:{},filename:{}},setup(e){
const t=e,n=Bi((()=>{var e
;const n=(null==(e=bme[t.type??""])?void 0:e.extension)??".unknown"
;return t.filename?t.filename:`response${n}`}));return(e,t)=>(ei(),oi("a",{
class:"flex gap-1 text-c-3 text-xxs no-underline items-center hover:bg-b-3 rounded py-0.5 px-1.5",
download:`${n.value}`,href:e.href,onClick:t[0]||(t[0]=Xs((()=>{}),["stop"]))
},[di(Vn(oY),{icon:"Download",size:"xs"
}),t[1]||(t[1]=ui("span",null,[ui("span",null,"Download"),ui("span",{
class:"sr-only"},"Response Body")],-1))],8,qOe))}}),VOe={
class:"flex justify-center px-2 py-3"},ZOe={class:"text-c-3 p-2 text-sm"}
;const WOe=g3({},[["render",function(e,t){
return ei(),oi("div",VOe,[ui("div",ZOe,[$o(e.$slots,"default")])])
}]]),XOe=["src"],GOe=["src","type"],YOe=["src","type"],KOe=["data","type"],JOe=no({
__name:"ResponseBodyPreview",props:{src:{},type:{},mode:{},alpha:{type:Boolean}
},setup(e){const t=e,n=Fn(!1)
;return Ma((()=>t.src),(()=>n.value=!1)),(e,t)=>!n.value&&e.src?(ei(),oi("div",{
key:0,class:it(["flex justify-center overflow-auto rounded-b",{
"p-2 bg-preview":e.alpha}])},["image"===e.mode?(ei(),oi("img",{key:0,
class:it(["h-full max-w-full",{rounded:e.alpha}]),src:e.src,
onError:t[0]||(t[0]=e=>n.value=!0)
},null,42,XOe)):"video"===e.mode?(ei(),oi("video",{key:1,autoplay:"",
controls:"",width:"100%",onError:t[1]||(t[1]=e=>n.value=!0)},[ui("source",{
src:e.src,type:e.type},null,8,GOe)],32)):"audio"===e.mode?(ei(),oi("audio",{
key:2,class:"my-12",controls:"",onError:t[2]||(t[2]=e=>n.value=!0)
},[ui("source",{src:e.src,type:e.type},null,8,YOe)],32)):(ei(),oi("object",{
key:3,class:"w-full aspect-[4/3]",data:e.src,type:e.type,
onError:t[3]||(t[3]=e=>n.value=!0)},null,40,KOe))],2)):(ei(),ai(WOe,{key:1},{
default:Ar((()=>t[4]||(t[4]=[fi("Preview unavailable")]))),_:1}))}
}),ewe=g3(JOe,[["__scopeId","data-v-c821a9de"]]),twe={
class:"body-raw relative overflow-auto"},nwe={key:0,class:"scalar-code-copy"
},rwe=no({__name:"ResponseBodyRaw",props:{content:{},language:{}},setup(e){
const t=e,n=Fn(null),{copyToClipboard:r}=WU(),{codeMirror:o}=sde({
codeMirrorRef:n,readOnly:!0,lineNumbers:!0,content:tr((()=>_D(t.content))),
language:tr((()=>t.language)),forceFoldGutter:!0}),a=()=>{var e
;return(null==(e=o.value)?void 0:e.state.doc.toString())||""}
;return(e,t)=>(ei(),oi("div",twe,[a()?(ei(),oi("div",nwe,[ui("button",{
class:"copy-button",type:"button",onClick:t[0]||(t[0]=e=>Vn(r)(a()))
},[t[1]||(t[1]=ui("span",{class:"sr-only"},"Copy content",-1)),di(Vn(oY),{
icon:"Clipboard",size:"md"})])])):gi("",!0),ui("div",{ref_key:"codeMirrorRef",
ref:n},null,512)]))}}),owe=g3(rwe,[["__scopeId","data-v-f3712b08"]]),awe={
class:"text-c-3 flex -my-1 justify-center rounded text-xxs p-0.5 gap-0.5"
},iwe=no({__name:"ResponseBodyToggle",props:{modelValue:{type:Boolean}},
emits:["update:modelValue"],setup:e=>(e,t)=>(ei(),oi("div",awe,[ui("button",{
class:it(["hover:bg-b-3 rounded px-1",{
"bg-b-3 text-c-1 cursor-default":e.modelValue}]),type:"button",
onClick:t[0]||(t[0]=Xs((t=>e.$emit("update:modelValue",!0)),["stop"]))
}," Preview ",2),ui("button",{class:it(["hover:bg-b-3 rounded px-1",{
"bg-b-3 text-c-1 cursor-default":!e.modelValue}]),type:"button",
onClick:t[1]||(t[1]=Xs((t=>e.$emit("update:modelValue",!1)),["stop"]))
}," Raw ",2)]))}),swe={key:0,
class:"max-h-[calc(100%-32px)] border-t-1/2 flex flex-col bg-b-1 overflow-hidden"
},lwe={class:"flex justify-between items-center border-b-1/2 px-3 py-1.5"},cwe={
class:"text-xxs leading-3 font-code"},uwe=no({__name:"ResponseBody",props:{
title:{},data:{},headers:{}},setup(e){const t=e,n=Fn(!0),r=Bi((()=>{var e
;return!(null==(e=l.value)||!e.raw||!l.value.preview)
})),o=Bi((()=>n.value||!r.value)),a=Bi((()=>!n.value||!r.value)),i=Bi((()=>{
var e
;const n=(null==(e=t.headers.find((e=>"content-type"===e.name.toLowerCase())))?void 0:e.value)??""
;return new vme(n)})),s=Bi((()=>{var e
;const n=(null==(e=t.headers.find((e=>"content-disposition"===e.name.toLowerCase())))?void 0:e.value)??""
;return zOe(n)
})),l=Bi((()=>bme[i.value.essence])),c=Bi((()=>(e=>e instanceof Blob)(t.data)?URL.createObjectURL(t.data):"string"==typeof t.data?URL.createObjectURL(new Blob([t.data],{
type:i.value.toString()
})):t.data instanceof Object&&Object.keys(t.data).length?URL.createObjectURL(new Blob([JSON.stringify(t.data)],{
type:i.value.toString()})):""));return(e,t)=>(ei(),ai(she,{
class:"max-h-content overflow-x-auto"},Ro({title:Ar((()=>[fi(ht(e.title),1)])),
default:Ar((()=>{var s,u,d,p
;return[e.data?(ei(),oi("div",swe,[ui("div",lwe,[ui("span",cwe,ht(i.value.essence),1),r.value?(ei(),
ai(iwe,{key:0,modelValue:n.value,"onUpdate:modelValue":t[0]||(t[0]=e=>n.value=e)
},null,8,["modelValue"])):gi("",!0)]),null!=(s=l.value)&&s.raw&&a.value?(ei(),
ai(owe,{key:c.value,content:e.data,language:l.value.language
},null,8,["content","language"])):gi("",!0),null!=(u=l.value)&&u.preview&&o.value?(ei(),
ai(ewe,{key:c.value,alpha:l.value.alpha,mode:l.value.preview,src:c.value,
type:i.value.essence
},null,8,["alpha","mode","src","type"])):gi("",!0),null!=(d=l.value)&&d.raw||null!=(p=l.value)&&p.preview?gi("",!0):(ei(),
ai(WOe,{key:2},{default:Ar((()=>t[1]||(t[1]=[fi(" Binary file ")]))),_:1
}))])):gi("",!0)]})),_:2},[e.data&&c.value?{name:"actions",fn:Ar((()=>[di(HOe,{
filename:s.value,href:c.value,type:i.value.essence
},null,8,["filename","href","type"])])),key:"0"}:void 0]),1024))}
}),dwe=g3(uwe,[["__scopeId","data-v-2b036187"]]),pwe="          .:=+++++=================-\n         .--#*                       :.\n        .-:-**                        -.\n      .:-::-+*                        =:\n     .:-:::-=#                         ::\n    .-:::----**                        ..\n   .-:::::---=#                         ..\n  :-::::::----**                         ..\n.:-::::::::----*=                        ..\n.-::::::::------+-                        ..\n..::::::::-------=                         ..\n .:::::----------++                        ..\n   .:::----------+**+*++*+*++*+++*++++++++++:.\n   ------------+*+=-=======================.\n   .----------+*+=========================:.\n    :--------+*+=-========================.\n    .=------+*+=-========================:.\n     .=----+*+=-------=================+-.\n     .----+*+=----------================.\n     .:=-+*+=----------=-==============-\n      .-+*+=----------------===========.\n       .-+=------------------====-====:.",hwe=no({
__name:"ScalarAsciiArt",props:{art:{},animate:{type:Boolean}},setup(e){
const t=e,n=Bi((()=>t.art.split("\n"))),r=(e,t)=>{var r,o,a,i;return{
animationDuration:100*e+"ms, 500ms",
animationTimingFunction:`steps(${e}), step-end`,animationDelay:100*t+"ms, 0ms",
animationIterationCount:"1, "+100*(((null==(r=n.value)?void 0:r.length)??0)+((null==(i=null==(a=n.value)?void 0:a[(null==(o=n.value)?void 0:o.length)-1])?void 0:i.length)??0)+5)/500
}};return(e,t)=>(ei(),oi("div",{
class:it(["ascii-art font-code flex flex-col items-start text-[6px] leading-[7px]",{
"ascii-art-animate":e.animate}])
},[(ei(!0),oi(Wa,null,Do(n.value,((e,t)=>(ei(),oi("span",{key:t,
class:"inline-block",style:tt({width:`calc(${e.length+1}ch)`})},[ui("span",{
class:"inline-block whitespace-pre overflow-hidden",style:tt(r(e.length,t))
},ht(e),5)],4)))),128))],2))}
}),fwe=g3(hwe,[["__scopeId","data-v-0018c948"]]),mwe=no({__name:"ScalarHotkey",
props:{hotkey:{},modifier:{}},setup(e){
const t=e,n=Bi((()=>t.modifier||"meta")),r=Bi((()=>`${"meta"===n.value?i3()?"⌘":"^":n.value} ${t.hotkey}`))
;return(e,t)=>(ei(),oi("div",Oi(e.$attrs,{
class:"border-b-3 inline-block overflow-hidden rounded border-1/2 text-xxs rounded-b px-1 font-medium uppercase"
}),ht(r.value),17))}}),gwe={
class:"relative col-1 flex-center gap-6 p-2 capitalize"},vwe={key:0,
class:"scalar-version-number"},bwe={class:"scale-75 flex"},ywe={class:"relative"
},Owe={class:"relative -ml-12"},wwe={
class:"text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm"
},xwe=no({__name:"ResponseEmpty",setup(e){
const{activeWorkspaceRequests:t}=q1(),{isReadOnly:n,events:r}=M1(),o=a3(),{layout:a}=y3(),i=()=>{
r.commandPalette.emit({commandName:"Create Request"})},s=e=>{
null!=e&&e.createNew&&"request"===o.name&&i()};return go((()=>r.hotKeys.on(s))),
yo((()=>r.hotKeys.off(s))),(e,o)=>(ei(),oi("div",gwe,[ui("div",{
class:it(["flex h-[calc(100%_-_50px)] flex-col items-center justify-center",{
"hidden opacity-0":Vn(t).length<=1&&"modal"!==Vn(a)}])
},[Vn(n)?gi("",!0):(ei(),oi("div",vwe,[fi(" Scalar App V"+ht(Vn("2.2.30"))+" Beta ",1),o[2]||(o[2]=ui("div",{
class:"mt-2"},[ui("a",{href:"https://github.com/scalar/scalar/issues/2669",
target:"_blank"}," Roadmap ")],-1))])),o[3]||(o[3]=ui("a",{
class:"gitbook-show scalar-version-number",href:"https://www.scalar.com",
target:"_blank"}," Powered By Scalar.com ",-1)),di(fwe,{
art:Vn("                         .,,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"!==Vn(a)?(ei(),oi("div",{key:0,
class:it(["h-[calc(100%_-_50px)] items-center justify-center hidden pb-5",{
"!flex opacity-100":1==Vn(t).length}])},[ui("div",bwe,[ui("div",ywe,[di(mwe,{
class:"keycap-hotkey",hotkey:""}),di(fwe,{art:Vn(pwe),
class:"!leading-[6px] text-c-3"
},null,8,["art"])]),ui("div",Owe,[o[4]||(o[4]=ui("div",{
class:"keycap-hotkey !right-[60px]"},"K",-1)),di(fwe,{art:Vn(pwe),
class:"!leading-[6px] keycap-n"
},null,8,["art"])])])],2)):gi("",!0),ui("div",wwe,["modal"!==Vn(a)?(ei(),
oi("button",{key:0,class:"flex items-center gap-1.5",type:"button",
onClick:o[0]||(o[0]=e=>Vn(r).commandPalette.emit())
},[o[5]||(o[5]=fi(" Get Started ")),di(mwe,{hotkey:"k"
})])):gi("",!0),"desktop"===Vn(a)?(ei(),oi("button",{key:1,
class:"flex items-center gap-1.5",type:"button",onClick:i
},[o[6]||(o[6]=fi(" New Request ")),di(mwe,{hotkey:"N"
})])):gi("",!0),ui("button",{class:"flex items-center gap-1.5",type:"button",
onClick:o[1]||(o[1]=e=>Vn(r).executeRequest.emit())
},[o[7]||(o[7]=fi(" Send Request ")),di(mwe,{hotkey:"↵"})])])]))}
}),kwe=g3(xwe,[["__scopeId","data-v-78a00890"]]),Swe={key:0,
class:"absolute inset-0 bg-b-1 flex flex-col gap-6 items-center justify-center"
},_we=no({__name:"ResponseLoadingOverlay",setup(e){
const{events:t}=M1(),n=$B(),r=Fn();return t.requestStatus.on((e=>{
"start"===e?r.value=setTimeout((()=>n.startLoading()),1e3):(clearTimeout(r.value),
r.value=void 0,n.stopLoading())})),(e,r)=>(ei(),ai(es,null,{
default:Ar((()=>[Vn(n).isLoading?(ei(),oi("div",Swe,[di(Vn(IB),{
class:"text-c-3",loadingState:Vn(n),size:"3xl"
},null,8,["loadingState"]),di(Vn(BB),{variant:"ghost",
onClick:r[0]||(r[0]=e=>Vn(t).cancelRequest.emit())},{
default:Ar((()=>r[1]||(r[1]=[fi(" Cancel ")]))),_:1})])):gi("",!0)])),_:1}))}
}),Ewe=g3(_we,[["__scopeId","data-v-ef5f83d8"]]),Twe=["href"],Cwe=no({
__name:"HelpfulLink",props:{href:{}},setup:e=>(e,t)=>(ei(),oi("a",{
class:"cursor-help decoration-c-3 underline underline-offset-2",href:e.href,
rel:"noopener noreferrer",target:"_blank"},[$o(e.$slots,"default")],8,Twe))
}),Awe=["B","kB","MB","GB","TB","PB","EB","ZB","YB"],Pwe=["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"],Dwe=["b","kbit","Mbit","Gbit","Tbit","Pbit","Ebit","Zbit","Ybit"],Rwe=["b","kibit","Mibit","Gibit","Tibit","Pibit","Eibit","Zibit","Yibit"],$we=(e,t,n)=>{
let r=e
;return"string"==typeof t||Array.isArray(t)?r=e.toLocaleString(t,n):!0!==t&&void 0===n||(r=e.toLocaleString(void 0,n)),
r};function Nwe(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 n=[],r=(e,r,o,a)=>{
if(!(0!==n.length&&t.colonNotation||0!==e||t.colonNotation&&"m"===o))return
;let i,s;if(a=(a||e||"0").toString(),t.colonNotation){i=n.length>0?":":"",s=""
;const e=a.includes(".")?a.split(".")[0].length:a.length,t=n.length>0?2:1
;a="0".repeat(Math.max(0,t-e))+a
}else i="",s=t.verbose?" "+(l=r,1===e?l:`${l}s`):o;var l;n.push(i+a+s)
},o=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(r(Math.trunc(o.days/365),"year","y"),
r(o.days%365,"day","d"),r(o.hours,"hour","h"),
r(o.minutes,"minute","m"),t.separateMilliseconds||t.formatSubMilliseconds||!t.colonNotation&&e<1e3)if(r(o.seconds,"second","s"),
t.formatSubMilliseconds)r(o.milliseconds,"millisecond","ms"),
r(o.microseconds,"microsecond","µs"),r(o.nanoseconds,"nanosecond","ns");else{
const e=o.milliseconds+o.microseconds/1e3+o.nanoseconds/1e6,n="number"==typeof t.millisecondsDecimalDigits?t.millisecondsDecimalDigits:0,a=e>=1?Math.round(e):Math.ceil(e),i=n?e.toFixed(n):a
;r(Number.parseFloat(i),"millisecond","ms",i)}else{const n=((e,t)=>{
const n=Math.floor(e*10**t+1e-7);return(Math.round(n)/10**t).toFixed(t)
})(e/1e3%60,"number"==typeof t.secondsDecimalDigits?t.secondsDecimalDigits:1),o=t.keepDecimalsOnWholeSeconds?n:n.replace(/\.0+$/,"")
;r(Number.parseFloat(o),"second","s",o)}
if(0===n.length)return"0"+(t.verbose?" milliseconds":"ms")
;if(t.compact)return n[0];if("number"==typeof t.unitCount){
const e=t.colonNotation?"":" ";return n.slice(0,Math.max(t.unitCount,1)).join(e)
}return t.colonNotation?n.join(""):n.join(" ")}const Mwe={
class:"flex gap-1.5 text-c-1"},Iwe={key:0},Lwe={key:0},jwe={key:1},Bwe=no({
__name:"ResponseMetaInformation",props:{response:{}},setup(e){
const t=e,{events:n}=M1(),r=Fn(),o=Fn(0);n.requestStatus.on((e=>{
"start"===e?r.value=setInterval((()=>o.value+=1e3),1e3):(clearInterval(r.value),
r.value=void 0,o.value=0)}));const a=e=>{var t,n
;const r=parseInt((null==(t=e.headers)?void 0:t["Content-Length"])||(null==(n=e.headers)?void 0:n["content-length"])||"0",10)
;return r?function(e,t){
if(!Number.isFinite(e))throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`)
;const n=(t={bits:!1,binary:!1,space:!0,...t
}).bits?t.binary?Rwe:Dwe:t.binary?Pwe:Awe,r=t.space?" ":""
;if(t.signed&&0===e)return` 0${r}${n[0]}`;const o=e<0,a=o?"-":t.signed?"+":""
;let i;if(o&&(e=-e),void 0!==t.minimumFractionDigits&&(i={
minimumFractionDigits:t.minimumFractionDigits
}),void 0!==t.maximumFractionDigits&&(i={
maximumFractionDigits:t.maximumFractionDigits,...i
}),e<1)return a+$we(e,t.locale,i)+r+n[0]
;const s=Math.min(Math.floor(t.binary?Math.log(e)/Math.log(1024):Math.log10(e)/3),n.length-1)
;return e/=(t.binary?1024:1e3)**s,
i||(e=e.toPrecision(3)),a+$we(Number(e),t.locale,i)+r+n[s]}(r):void 0
},i=Bi((()=>{const e=t.response.status;if(e)return _R[e]??void 0}))
;return(e,t)=>(ei(),
oi("div",Mwe,[r.value&&o.value?(ei(),oi("span",Iwe,ht(Vn(Nwe)(o.value)),1)):(ei(),
oi(Wa,{key:1},[ui("span",null,[t[0]||(t[0]=ui("span",{class:"sr-only"
},"Response Information, Duration:",-1)),fi(" "+ht(Vn(Nwe)(e.response.duration)),1)]),a(e.response)?(ei(),
oi("span",Lwe,[t[1]||(t[1]=ui("span",{class:"sr-only"
},", Size:",-1)),fi(" "+ht(a(e.response)),1)])):gi("",!0),i.value?(ei(),oi(Wa,{
key:1},[t[2]||(t[2]=ui("span",{class:"sr-only"
},", Status:",-1)),i.value.url?(ei(),ai(Cwe,{key:0,
class:"flex items-center gap-1.5",href:i.value.url},{
default:Ar((()=>[fi(ht(e.response.status)+" "+ht(i.value.name)+" ",1),ui("span",{
class:"block h-1.5 w-1.5 rounded-full",style:tt({backgroundColor:i.value.color})
},null,4)])),_:1
},8,["href"])):(ei(),oi("span",jwe,[fi(ht(e.response.status)+" "+ht(i.value.name)+" ",1),ui("span",{
class:"block h-1.5 w-1.5 rounded-full",style:tt({backgroundColor:i.value.color})
},null,4)]))],64)):gi("",!0)],64))]))}}),Uwe=no({__name:"ResponseBodyVirtual",
props:{content:{}},setup(e){const t=e,n=Bi((()=>fD(t.content)))
;return(e,t)=>(ei(),ai(she,{
class:"!max-h-[calc(100%-32px)] response-body-virtual"},{
title:Ar((()=>t[0]||(t[0]=[fi("Body")]))),
default:Ar((()=>[t[1]||(t[1]=ui("div",{
class:"mx-1 py-1.5 px-2.5 font-code text-xxs border-1/2 rounded-t border-b-0"
}," This response body is massive! Syntax highlighting won’t work here. ",-1)),di(Vn(h1),{
containerClass:"custom-scroll scalar-code-block border-1/2 rounded-b flex flex-1 mx-1",
contentClass:"hljs language-plaintext",lineHeight:20,text:n.value
},null,8,["text"])])),_:1}))}}),Qwe={
class:"flex-1 px-2 py-1.5 whitespace-nowrap"},Fwe=no({__name:"DataTableText",
props:{text:{}},setup:e=>(e,t)=>(ei(),ai($3,{class:"relative flex"},{
default:Ar((()=>[ui("span",Qwe,[$o(e.$slots,"default",{},(()=>[fi(ht(e.text),1)]))])])),
_:3}))}),zwe={key:1,
class:"text-c-3 px-4 text-sm border-t-1/2 min-h-16 justify-center flex items-center bg-b-1"
},qwe=no({__name:"ResponseCookies",props:{cookies:{}},
setup:e=>(e,t)=>(ei(),ai(she,{defaultOpen:!1},{
title:Ar((()=>t[0]||(t[0]=[fi("Cookies")]))),default:Ar((()=>[(ei(),oi(Wa,{key:0
},[e.cookies.length?(ei(),ai(Xpe,{key:0,class:"flex-1",columns:["",""]},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(e.cookies,((e,t)=>(ei(),ai(M3,{key:t},{
default:Ar((()=>[di(Fwe,{text:e.name},null,8,["text"]),di(Fwe,{text:e.value
},null,8,["text"])])),_:2},1024)))),128))])),_:1
})):(ei(),oi("div",zwe," No cookies "))],64))])),_:1}))}),Hwe=[{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"
}],Vwe={key:0,
class:"border-t-1/2 border-b-1/20 max-h-[calc(100%-32px)] overflow-y-auto"
},Zwe={key:1,
class:"text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1"
},Wwe=no({__name:"ResponseHeaders",props:{headers:{}},setup(e){
const t=e=>Hwe.find((t=>t.name.toLowerCase()===e.toLowerCase()))
;return(e,n)=>(ei(),ai(she,{class:"overflow-auto",defaultOpen:!1,
itemCount:e.headers.length},{title:Ar((()=>n[0]||(n[0]=[fi("Headers")]))),
default:Ar((()=>[e.headers.length?(ei(),oi("div",Vwe,[di(Xpe,{
class:"!border-0 !mx-0",
columns:["minmax(auto, min-content)","minmax(50%, 1fr)"],scroll:""},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(e.headers,((e,n)=>(ei(),ai(M3,{key:n,
class:"text-c-1"},{default:Ar((()=>[di(Fwe,{
class:"sticky left-0 z-1 bg-b-1 max-w-48"},{default:Ar((()=>{var n
;return["string"==typeof(null==(n=t(e.name))?void 0:n.url)?(ei(),ai(Cwe,{key:0,
class:"decoration-c-3",href:t(e.name).url},{
default:Ar((()=>[fi(ht(e.name),1)])),_:2},1032,["href"])):(ei(),oi(Wa,{key:1
},[fi(ht(e.name),1)],64))]})),_:2},1024),di(Fwe,{class:"z-0",text:e.value
},null,8,["text"])])),_:2},1024)))),128))])),_:1
})])):(ei(),oi("div",Zwe," No Headers "))])),_:1},8,["itemCount"]))}}),Xwe={
class:"flex items-center flex-1 h-8"},Gwe=2e5,Ywe=no({__name:"ResponseSection",
props:{response:{}},setup(e){const t=e,n=Bi((()=>{var e
;const n=null==(e=t.response)?void 0:e.headers
;return n?Object.keys(n).map((e=>({name:e,value:n[e]??"",required:!1
}))).filter((e=>!["rest-api-client-content-length","X-API-Client-Content-Length"].includes(e.name))):[]
})),r=Bi((()=>{var e
;return(null==(e=t.response)?void 0:e.cookieHeaderKeys.flatMap((e=>{var n,r
;const o=null==(r=null==(n=t.response)?void 0:n.headers)?void 0:r[e];return o?{
name:e,value:o,required:!1}:[]})))??[]
})),o=["All","Cookies","Headers","Body"],a=Fn("All"),i=Bi((()=>{var e,n
;if(!t.response)return!1
;const r=(null==(e=t.response.headers)?void 0:e["content-type"])||(null==(n=t.response.headers)?void 0:n["Content-Type"])
;return!(!r||(t.response.size??0)<=Gwe)&&(["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=>r.includes(e)))&&(t.response.size??0)>Gwe)
}));return(e,s)=>(ei(),ai(nOe,{"aria-label":"Response"},{
title:Ar((()=>[ui("div",Xwe,[ui("div",{"aria-live":"polite",
class:it(["flex items-center",{"animate-response-heading":e.response}])
},[s[1]||(s[1]=ui("span",{class:"response-heading absolute pointer-events-none"
}," Response ",-1)),e.response?(ei(),ai(Bwe,{key:0,
class:"animate-response-children",response:e.response
},null,8,["response"])):gi("",!0)],2),di(Jye,{activeSection:a.value,sections:o,
onSetActiveSection:s[0]||(s[0]=e=>a.value=e)},null,8,["activeSection"])])])),
default:Ar((()=>{var o;return[ui("div",{
class:it(["custom-scroll h-full relative grid justify-stretch",{
"content-start":e.response}])},[e.response?(ei(),oi(Wa,{key:1
},["All"===a.value||"Cookies"===a.value?(ei(),ai(qwe,{key:0,cookies:r.value
},null,8,["cookies"])):gi("",!0),"All"===a.value||"Headers"===a.value?(ei(),
ai(Wwe,{key:1,headers:n.value
},null,8,["headers"])):gi("",!0),"All"===a.value||"Body"===a.value?(ei(),oi(Wa,{
key:2},[i.value?(ei(),ai(Uwe,{key:0,content:t.response.data
},null,8,["content"])):(ei(),ai(dwe,{key:1,active:!0,
data:null==(o=t.response)?void 0:o.data,headers:n.value,title:"Body"
},null,8,["data","headers"]))],64)):gi("",!0)],64)):(ei(),ai(kwe,{key:0
})),di(Ewe)],2)]})),_:1}))}
}),Kwe=g3(Ywe,[["__scopeId","data-v-fda225b9"]]),Jwe={Date:!0,RegExp:!0,
String:!0,Number:!0};function exe(e,t,n={cyclesFix:!0},r=[]){var o,a;let i=[]
;const s=Array.isArray(e);for(const c in e){const l=e[c],u=s?+c:c;if(!(c in t)){
i.push({type:"REMOVE",path:[u],oldValue:e[c]});continue}
const d=t[c],p="object"==typeof l&&"object"==typeof d&&Array.isArray(l)===Array.isArray(d)
;if(!(l&&d&&p)||Jwe[null==(a=null==(o=Object.getPrototypeOf(l))?void 0:o.constructor)?void 0:a.name]||n.cyclesFix&&r.includes(l))l===d||Number.isNaN(l)&&Number.isNaN(d)||p&&(isNaN(l)?l+""==d+"":+l==+d)||i.push({
path:[u],type:"CHANGE",value:d,oldValue:l});else{
const e=exe(l,d,n,n.cyclesFix?r.concat([l]):[])
;i.push.apply(i,e.map((e=>(e.path.unshift(u),e))))}}const l=Array.isArray(t)
;for(const c in t)c in e||i.push({type:"CREATE",path:[l?+c:c],value:t[c]})
;return i}const txe=(e,t=[])=>{const n=[];let r=!1;for(let o=0;o<e.length;o++){
if(r){r=!1;continue}const a=e[o],i=e[o+1];if(a){
if(t.length)a.path=[...t,...a.path],
i&&(i.path=[...t,...i.path]);else if("paths"!==a.path[0]){n.push(a);continue}
if("REMOVE"===a.type&&"CREATE"===(null==i?void 0:i.type)){
const[,e,o]=a.path,[,s,l]=i.path,c=["paths",s].filter((e=>"string"==typeof e))
;if(e!==s&&n.push({type:"CHANGE",path:["paths","path"],oldValue:e,value:s
}),o&&"string"==typeof l&&o!==l&&s&&(n.push({type:"CHANGE",
path:["paths",s,"method"],oldValue:o,value:l}),c.push(l)),0===t.length){
const e=exe(a.oldValue,i.value);if(e.length){const t=txe(e,c);n.push(...t)}}r=!0
}else"CREATE"===a.type&&a.path.length>3&&"number"!=typeof a.path.at(-1)?n.push({
...a,type:"CHANGE",oldValue:void 0
}):"REMOVE"===a.type&&a.path.length>3&&"number"!=typeof a.path.at(-1)?n.push({
...a,type:"CHANGE",value:void 0}):n.push(a)}}return n},nxe=(e,t,n)=>{
for(const r of e){const e=t[r];if(e&&n(e))return e}return null
},rxe=e=>e instanceof ju.ZodOptional?rxe(e.unwrap()):e instanceof ju.ZodDefault?rxe(e._def.innerType):e,oxe=(e,t)=>{
const n=((e,t)=>{let n=e;for(const r of t){
if(n=rxe(n),n instanceof ju.ZodAny)return n
;if(n instanceof ju.ZodObject&&"string"==typeof r&&r in n.shape)n=n.shape[r];else if(n instanceof ju.ZodArray)if("number"==typeof r)n=n.element;else{
if("string"!=typeof r)return null
;if(n=n.element,!(n instanceof ju.ZodObject&&r in n.shape))return null
;n=n.shape[r]}else{if(!(n instanceof ju.ZodRecord))return null;n=n.valueSchema}
n=rxe(n)}return n})(e,t.path);if(!n)return null
;const r=t.path.join("."),o=t.path.slice(0,-1).join(".")
;if("REMOVE"===t.type)return{path:r,pathMinusOne:o,value:void 0}
;const a=xD(t.value,n,!1);return a?{path:r,pathMinusOne:o,value:a}:null
},axe=(e,t)=>{
const{requests:n,requestExamples:r,requestExampleMutators:o}=t,a=n[e]
;null==a||a.examples.forEach((e=>{var t
;const n=zD(a,(null==(t=r[e])?void 0:t.name)??"Default");n&&o.set({...n,uid:e})
}))
},ixe=(e,{activeCollection:t},{securitySchemes:n,securitySchemeMutators:r})=>{
if(!t.value)return!1
;const[,,o,...a]=e.path,i=n[o]??nxe(t.value.securitySchemes,n,(e=>e.nameKey===o))
;if(null!=a&&a.length){const t=((e,t,n)=>{const r=rxe(e)
;if(r instanceof ju.ZodUnion||r instanceof ju.ZodDiscriminatedUnion)for(const o of r.options)if(o instanceof ju.ZodObject&&t in o.shape&&o.shape[t]instanceof ju.ZodLiteral&&o.shape[t].value===n)return o
;return null})(lR,"type",(null==i?void 0:i.type)??"");if(!t||!i)return!1
;const n=oxe(t,{...e,path:a});if(!n)return!1;const o=n.path
;r.edit(i.uid,o,n.value)}else if("REMOVE"===e.type){if(!i)return!1
;r.delete(i.uid)}else"CREATE"===e.type&&r.add(lR.parse(e.value),t.value.uid)
;return!0},sxe=()=>{
const{toast:e}=VU(),t=q1(),n=M1(),{activeCollection:r,activeWorkspace:o}=t,{collectionMutators:a}=n,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:n})=>{
if(!t.value)return!1
;if("number"!=typeof e.path[e.path.length-1]||"CREATE"!==e.type&&"REMOVE"!==e.type){
const r=oxe(ML,e);if(!r)return!1;n.edit(t.value.uid,r.path,r.value)}else{
const r=oxe(ML,{...e,path:e.path});if(!r)return!1
;const o=[...BL(t.value,r.pathMinusOne)]
;"CREATE"===e.type?o.push(r.value):"REMOVE"===e.type&&o.pop(),
n.edit(t.value.uid,r.pathMinusOne,o)}return!0
})(e,t,n)||i("collection"):"components"===e.path[0]&&"securitySchemes"===e.path[1]?ixe(e,t,n)||i("securitySchemes"):"servers"===e.path[0]?((e,{activeCollection:t},{servers:n,serverMutators:r})=>{
if(!t.value)return!1;const[,o,...a]=e.path;if(null!=a&&a.length){
const i=t.value.servers[o];if(!i)return!1;const s=n[i],l=oxe(LL,{...e,path:a})
;if(!s||!l)return!1
;const c="REMOVE"===e.type&&"variables"===a[a.length-1]?{}:l.value
;r.edit(i,l.path,c)}else if("REMOVE"===e.type){if(!t.value.servers[o])return!1
;r.delete(t.value.servers[o],t.value.uid)}else if("CREATE"===e.type){
const n=xD(e.value,LL,!1);if(!n)return!1;r.add(n,t.value.uid)}return!0
})(e,t,n)||i("servers"):"tags"===e.path[0]?((e,{activeCollection:t},{tags:n,tagMutators:r})=>{
if(!t.value)return!1;const[,o,...a]=e.path;if(null!=a&&a.length){
const i=t.value.tags[o];if(!i)return!1;const s=n[i],l=oxe(fR,{...e,path:a})
;if(!s||!l)return!1;r.edit(i,l.path,l.value)}else if("REMOVE"===e.type){
const e=t.value.tags[o];if(!e)return!1;const a=n[e];if(!a)return!1
;r.delete(a,t.value.uid)}else if("CREATE"===e.type){const n=xD(e.value,fR,!1)
;if(!n)return!1;r.add(n,t.value.uid)}return!0
})(e,t,n)||i("tags"):"paths"===e.path[0]&&(((e,{activeCollection:t},n)=>{
if(!t.value)return!1;const{requests:r,requestMutators:o}=n,[,a,i,...s]=e.path
;if("path"===a&&"CHANGE"===e.type)t.value.requests.forEach((t=>{var n
;(null==(n=r[t])?void 0:n.path)===e.oldValue&&o.edit(t,"path",e.value)
}));else if("method"===i&&"CHANGE"===e.type)t.value.requests.forEach((t=>{
var n,i
;(null==(n=r[t])?void 0:n.method)===e.oldValue&&(null==(i=r[t])?void 0:i.path)===a&&o.edit(t,"method",e.value)
}));else if("CHANGE"!==e.type&&"number"==typeof s.at(-1)){
const s=nxe(t.value.requests,r,(e=>e.path===a&&e.method===i)),l=oxe(yR,{...e,
path:e.path.slice(3)});if(!s||!l)return!1;const c=[...BL(s,l.pathMinusOne)]
;"CREATE"===e.type?c.push(l.value):"REMOVE"===e.type&&c.pop(),
o.edit(s.uid,l.pathMinusOne,c),
("parameters"===e.path[3]||"requestBody"===e.path[3])&&axe(s.uid,n)
}else if("CREATE"===e.type){
const[n]=Object.entries(e.value??{}),[r,s]=n??[],l=i?e.value:s,c=i||r,u=LL.array().parse(l.servers??[]),{security:d,...p}=l,h={
...p,method:SR(c)?c:"get",path:a,parameters:l.parameters??[],
servers:u.map((e=>e.uid))};null!=d&&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=xD(h,yR,!1);if(!f)return!1;o.add(f,t.value.uid)
}else if("REMOVE"===e.type){
const e=nxe(t.value.requests,r,(e=>e.path===a&&e.method===i));if(!e)return!1
;o.delete(e,t.value.uid)}else if("CHANGE"===e.type){
const l=nxe(t.value.requests,r,(e=>e.path===a&&e.method===i)),c=oxe(yR,{...e,
path:s});if(!l||!c)return!1
;o.edit(l.uid,c.path,c.value),("parameters"===e.path[3]||"requestBody"===e.path[3])&&axe(l.uid,n)
}return!0})(e,t,n)||i("requests"))},{pause:l,resume:c}=hd((async()=>{var t,n
;const i=null==(t=r.value)?void 0:t.documentUrl;if(!i)return;const u=yj[i];try{
const e=await vD(i,null==(n=o.value)?void 0:n.proxyUrl,!1),t=nC(e)
;if(a.edit(r.value.uid,"watchModeStatus","WATCHING"),
null!=u&&u.hash)if(u.hash&&u.hash!==t){
const{schema:n}=await lj(e),r=exe(u.schema,n),o=txe(r);try{o.forEach(s),yj[i]={
hash:t,schema:n}}catch(d){console.error("[useOpenApiWatcher] Error:",d)}
}else console.log("[useOpenApiWatcher] No changes detected yet…");else{
const{schema:n}=await lj(e);n&&(yj[i]={hash:t,schema:n})}}catch(p){
console.error("[useOpenApiWatcher] Error:",p),
console.info("[useOpenApiWatcher] Pausing watcher for 60 seconds"),
l(),a.edit(r.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);Ma([()=>{var e;return null==(e=r.value)?void 0:e.documentUrl},()=>{
var e;return null==(e=r.value)?void 0:e.watchMode}],(([e,t])=>{
e&&t?(console.info(`[useOpenApiWatcher] Watching ${e} …`),
c()):r.value&&(l(),a.edit(r.value.uid,"watchModeStatus","IDLE"))}),{immediate:!0
})},lxe={parse(e){try{return{error:!1,data:JSON.parse(e)}}catch(pM){return{
error:!0,message:pM.message?String(pM.message):"Unknown Error"}}}},cxe={
class:"font-medium m-0 flex gap-1.5 items-center whitespace-nowrap"},uxe={
class:"flex items-center justify-center h-4 w-4"},dxe=no({
__name:"EnvironmentSelector",setup(e){
const{activeCollection:t,activeWorkspace:n,activeEnvironment:r}=q1(),{isReadOnly:o,collectionMutators:a}=M1(),i=o3(),s=e=>{
t.value&&n.value&&(a.edit(t.value.uid,"x-scalar-active-environment",e),
n.value.activeEnvironmentId=e)},l=()=>{var e;return i.push({name:"environment",
params:{environment:null==(e=n.value)?void 0:e.uid}})},c=Bi((()=>{
const{value:e}=r,{value:n}=t
;return(null==e?void 0:e.uid)||(null==n?void 0:n["x-scalar-active-environment"])||"Environment"
})),u=Bi((()=>{const{value:e}=t,n=null==e?void 0:e["x-scalar-environments"]
;return n?Object.entries(n).map((([e,t])=>({...t,uid:e,name:e}))):[]})),d=e=>{
const r=e["x-scalar-active-environment"]
;r&&t.value&&n.value?(t.value["x-scalar-active-environment"]=r,
n.value.activeEnvironmentId=r):n.value&&(n.value.activeEnvironmentId="")}
;return Ma(t,(e=>e&&d(e))),go((()=>{t.value&&d(t.value)
})),(e,n)=>(ei(),oi("div",null,[di(Vn(F0),{placement:"bottom-end"},{
items:Ar((()=>[(ei(!0),oi(Wa,null,Do(u.value,(e=>(ei(),ai(Vn(y1),{key:e.uid,
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
onClick:Xs((t=>s(e.uid)),["stop"])},{default:Ar((()=>{var n;return[di(Vn(cY),{
selected:(null==(n=Vn(t))?void 0:n["x-scalar-active-environment"])===e.uid
},null,8,["selected"]),fi(" "+ht(e.name),1)]})),_:2
},1032,["onClick"])))),128)),di(Vn(y1),{
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
onClick:n[0]||(n[0]=Xs((e=>s("")),["stop"]))},{default:Ar((()=>{var e,o
;return[ui("div",{
class:it(["flex items-center justify-center rounded-full p-[3px] w-4 h-4",""===(null==(e=Vn(r))?void 0:e.uid)&&""===(null==(o=Vn(t))?void 0:o["x-scalar-active-environment"])?"bg-c-accent text-b-1":"group-hover/item:shadow-border text-transparent"])
},[di(Vn(oY),{class:"size-2.5",icon:"Checkmark",thickness:"3.5"
})],2),n[1]||(n[1]=fi(" No Environment "))]})),_:1
}),di(Vn(m1)),Vn(o)?gi("",!0):(ei(),ai(Vn(y1),{key:0,
class:"flex items-center gap-1.5",onClick:l},{
default:Ar((()=>[ui("div",uxe,[di(Vn(oY),{icon:"Brackets",size:"sm"
})]),n[2]||(n[2]=ui("span",{class:"leading-none"},"Manage Environments",-1))])),
_:1}))])),default:Ar((()=>[di(Vn(BB),{
class:"font-normal h-auto justify-start py-1.5 px-1.5 pl-2 text-c-1 hover:bg-b-2 w-fit",
fullWidth:"",variant:"ghost"},{default:Ar((()=>[ui("h2",cxe,ht(c.value),1)])),
_:1})])),_:1})]))}});function pxe(){
const e=o3(),{activeWorkspace:t,activeWorkspaceRequests:n}=q1(),{requests:r}=M1(),o=Fn([]),a=Fn([]),i=Fn(0),s=Fn(""),l=Fn(null),c=Fn([]),u=new fpe(o.value,{
keys:["title","description","body"]}),d=()=>{i.value=0,a.value=u.search(s.value)
};Ma(s,(e=>{e.length?d():a.value=[]}))
;const p=Bi((()=>n.value.map((e=>r[e])).filter(ER)));Ma(n,(()=>{(e=>{
o.value=e.map((e=>{var n;return{id:e.uid,title:e.summary??e.method,
description:e.description??"",httpVerb:e.method,path:e.path,
link:`/workspace/${null==(n=t.value)?void 0:n.uid}/request/${e.uid}`}
})),u.setCollection(o.value)})(p.value)}),{immediate:!0});const h=t=>{
e.push(t.item.id),
s.value="",i.value=0,a.value=[],l.value instanceof HTMLInputElement&&l.value.blur()
},f=Bi((()=>0===s.value.length?o.value.map((e=>({item:e}))):a.value));return{
searchText:s,searchResultsWithPlaceholderResults:f,selectedSearchResult:i,
onSearchResultClick:h,fuseSearch:d,searchInputRef:l,searchResultRefs:c,
navigateSearchResults:e=>{const t="up"===e?-1:1,n=f.value.length
;i.value=(i.value+t+n)%n,yr((()=>{const e=c.value[i.value]
;e instanceof HTMLElement&&e.scrollIntoView({behavior:"smooth",block:"center"})
}))},selectSearchResult:()=>{if(i.value>=0){const e=f.value[i.value];e&&h(e)}}}}
const hxe=no({__name:"SidebarButton",props:{click:{type:Function},hotkey:{}},
setup(e){const t=e,{layout:n}=y3(),r=()=>{t.click()}
;return(e,t)=>(ei(),ai(Vn(BB),{
class:"bg-b-1 text-c-1 hover:bg-b-2 group relative w-auto md:w-full border-1/2 px-2 py-1 md:p-1.5 h-auto",
icon:"Plus",variant:"outlined",onClick:r},{
default:Ar((()=>[$o(e.$slots,"title"),e.hotkey&&"desktop"===Vn(n)?(ei(),ai(mwe,{
key:0,
class:"hidden md:block absolute right-2 group-hover:opacity-80 text-c-2 add-item-hotkey",
hotkey:e.hotkey},null,8,["hotkey"])):gi("",!0)])),_:3}))}}),fxe={
class:"flex gap-10 justify-between"},mxe=no({__name:"SidebarListElementForm",
props:{danger:{type:Boolean},label:{}},emits:["cancel","submit"],
setup(e,{emit:t}){const n=t;return(e,t)=>(ei(),oi("form",{
class:"flex flex-col gap-4 text-base",
onSubmit:t[1]||(t[1]=Xs((e=>n("submit")),["prevent"]))
},[$o(e.$slots,"default",{},void 0,!0),ui("div",fxe,[di(Vn(BB),{
class:"gap-1.5 px-2.5 h-8 shadow-none focus:outline-none flex items-center cursor-pointer",
type:"button",variant:"outlined",onClick:t[0]||(t[0]=e=>n("cancel"))},{
default:Ar((()=>t[2]||(t[2]=[fi(" Cancel ")]))),_:1}),di(Vn(BB),{
class:"gap-1.5 font-medium px-2.5 h-8 shadow-none focus:outline-none custom-scroll whitespace-nowrap",
type:"submit",variant:e.danger?"danger":"solid"},{
default:Ar((()=>[fi(ht(e.label??"Save"),1)])),_:1},8,["variant"])])],32))}
}),gxe=g3(mxe,[["__scopeId","data-v-b6a60dbc"]]),vxe={key:0,
class:"leading-normal text-c-2 text-sm text-pretty"},bxe=no({
__name:"DeleteSidebarListElement",props:{variableName:{},warningMessage:{}},
emits:["close","delete"],setup(e,{emit:t}){
const n=e,r=t,o=Bi((()=>n.variableName.length>18?n.variableName.slice(0,18)+"…":n.variableName))
;return(e,t)=>(ei(),ai(gxe,{danger:"",label:`Delete ${o.value}`,
onCancel:t[0]||(t[0]=e=>r("close")),onSubmit:t[1]||(t[1]=e=>r("delete"))},{
default:Ar((()=>[e.warningMessage?(ei(),
oi("p",vxe,ht(e.warningMessage),1)):gi("",!0)])),_:1},8,["label"]))}}),yxe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Oxe(e,t){return ei(),oi("svg",yxe,t[0]||(t[0]=[ui("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 wxe={render:Oxe},xxe=Object.freeze(Object.defineProperty({
__proto__:null,default:wxe,render:Oxe},Symbol.toStringTag,{value:"Module"
})),kxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Sxe(e,t){return ei(),oi("svg",kxe,t[0]||(t[0]=[ui("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 _xe={render:Sxe},Exe=Object.freeze(Object.defineProperty({
__proto__:null,default:_xe,render:Sxe},Symbol.toStringTag,{value:"Module"
})),Txe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Cxe(e,t){return ei(),oi("svg",Txe,t[0]||(t[0]=[ui("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 Axe={render:Cxe
},Pxe=Object.freeze(Object.defineProperty({__proto__:null,default:Axe,render:Cxe
},Symbol.toStringTag,{value:"Module"})),Dxe={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function Rxe(e,t){
return ei(),oi("svg",Dxe,t[0]||(t[0]=[ui("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 $xe={render:Rxe},Nxe=Object.freeze(Object.defineProperty({
__proto__:null,default:$xe,render:Rxe},Symbol.toStringTag,{value:"Module"
})),Mxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Ixe(e,t){return ei(),oi("svg",Mxe,t[0]||(t[0]=[ui("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 Lxe={render:Ixe},jxe=Object.freeze(Object.defineProperty({
__proto__:null,default:Lxe,render:Ixe},Symbol.toStringTag,{value:"Module"
})),Bxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Uxe(e,t){return ei(),oi("svg",Bxe,t[0]||(t[0]=[ui("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 Qxe={render:Uxe},Fxe=Object.freeze(Object.defineProperty({
__proto__:null,default:Qxe,render:Uxe},Symbol.toStringTag,{value:"Module"
})),zxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function qxe(e,t){return ei(),oi("svg",zxe,t[0]||(t[0]=[ui("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 Hxe={render:qxe},Vxe=Object.freeze(Object.defineProperty({
__proto__:null,default:Hxe,render:qxe},Symbol.toStringTag,{value:"Module"
})),Zxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Wxe(e,t){return ei(),oi("svg",Zxe,t[0]||(t[0]=[ui("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 Xxe={render:Wxe},Gxe=Object.freeze(Object.defineProperty({
__proto__:null,default:Xxe,render:Wxe},Symbol.toStringTag,{value:"Module"
})),Yxe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Kxe(e,t){return ei(),oi("svg",Yxe,t[0]||(t[0]=[ui("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),ui("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 Jxe={render:Kxe},eke=Object.freeze(Object.defineProperty({
__proto__:null,default:Jxe,render:Kxe},Symbol.toStringTag,{value:"Module"
})),tke={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function nke(e,t){return ei(),oi("svg",tke,t[0]||(t[0]=[ui("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),ui("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 rke={render:nke},oke=Object.freeze(Object.defineProperty({__proto__:null,
default:rke,render:nke},Symbol.toStringTag,{value:"Module"})),ake={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function ike(e,t){return ei(),oi("svg",ake,t[0]||(t[0]=[ui("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),ui("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 ske={render:ike
},lke=Object.freeze(Object.defineProperty({__proto__:null,default:ske,render:ike
},Symbol.toStringTag,{value:"Module"})),cke={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function uke(e,t){
return ei(),oi("svg",cke,t[0]||(t[0]=[ui("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),ui("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 dke={render:uke},pke=Object.freeze(Object.defineProperty({
__proto__:null,default:dke,render:uke},Symbol.toStringTag,{value:"Module"
})),hke={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function fke(e,t){return ei(),oi("svg",hke,t[0]||(t[0]=[ui("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 mke={render:fke},gke=Object.freeze(Object.defineProperty({
__proto__:null,default:mke,render:fke},Symbol.toStringTag,{value:"Module"
})),vke={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function bke(e,t){return ei(),oi("svg",vke,t[0]||(t[0]=[ui("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),ui("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 yke={render:bke},Oke=Object.freeze(Object.defineProperty({__proto__:null,
default:yke,render:bke},Symbol.toStringTag,{value:"Module"})),wke={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function xke(e,t){return ei(),oi("svg",wke,t[0]||(t[0]=[ui("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 kke={render:xke},Ske=Object.freeze(Object.defineProperty({
__proto__:null,default:kke,render:xke},Symbol.toStringTag,{value:"Module"
})),_ke={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Eke(e,t){return ei(),oi("svg",_ke,t[0]||(t[0]=[ui("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 Tke={render:Eke},Cke=Object.freeze(Object.defineProperty({
__proto__:null,default:Tke,render:Eke},Symbol.toStringTag,{value:"Module"
})),Ake={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Pke(e,t){return ei(),oi("svg",Ake,t[0]||(t[0]=[ui("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),ui("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 Dke={render:Pke},Rke=Object.freeze(Object.defineProperty({__proto__:null,
default:Dke,render:Pke},Symbol.toStringTag,{value:"Module"})),$ke={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Nke(e,t){return ei(),oi("svg",$ke,t[0]||(t[0]=[ui("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),ui("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 Mke={render:Nke
},Ike=Object.freeze(Object.defineProperty({__proto__:null,default:Mke,render:Nke
},Symbol.toStringTag,{value:"Module"})),Lke={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function jke(e,t){
return ei(),oi("svg",Lke,t[0]||(t[0]=[ui("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 Bke={render:jke},Uke=Object.freeze(Object.defineProperty({
__proto__:null,default:Bke,render:jke},Symbol.toStringTag,{value:"Module"
})),Qke={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Fke(e,t){return ei(),oi("svg",Qke,t[0]||(t[0]=[ui("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 zke={render:Fke},qke=Object.freeze(Object.defineProperty({
__proto__:null,default:zke,render:Fke},Symbol.toStringTag,{value:"Module"
})),Hke={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Vke(e,t){return ei(),oi("svg",Hke,t[0]||(t[0]=[ui("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 Zke={render:Vke},Wke=Object.freeze(Object.defineProperty({
__proto__:null,default:Zke,render:Vke},Symbol.toStringTag,{value:"Module"
})),Xke={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function Gke(e,t){return ei(),oi("svg",Xke,t[0]||(t[0]=[ui("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),ui("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 Yke={render:Gke},Kke=Object.freeze(Object.defineProperty({__proto__:null,
default:Yke,render:Gke},Symbol.toStringTag,{value:"Module"})),Jke={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function eSe(e,t){return ei(),oi("svg",Jke,t[0]||(t[0]=[ui("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),ui("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 tSe={render:eSe},nSe=Object.freeze(Object.defineProperty({__proto__:null,
default:tSe,render:eSe},Symbol.toStringTag,{value:"Module"})),rSe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function oSe(e,t){return ei(),oi("svg",rSe,t[0]||(t[0]=[ui("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),ui("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),ui("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 aSe={render:oSe},iSe=Object.freeze(Object.defineProperty({__proto__:null,
default:aSe,render:oSe},Symbol.toStringTag,{value:"Module"})),sSe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function lSe(e,t){return ei(),oi("svg",sSe,t[0]||(t[0]=[ui("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 cSe={render:lSe},uSe=Object.freeze(Object.defineProperty({
__proto__:null,default:cSe,render:lSe},Symbol.toStringTag,{value:"Module"
})),dSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function pSe(e,t){return ei(),oi("svg",dSe,t[0]||(t[0]=[ui("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),ui("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 hSe={render:pSe},fSe=Object.freeze(Object.defineProperty({__proto__:null,
default:hSe,render:pSe},Symbol.toStringTag,{value:"Module"})),mSe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function gSe(e,t){return ei(),oi("svg",mSe,t[0]||(t[0]=[ui("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 vSe={
render:gSe},bSe=Object.freeze(Object.defineProperty({__proto__:null,default:vSe,
render:gSe},Symbol.toStringTag,{value:"Module"})),ySe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function OSe(e,t){return ei(),oi("svg",ySe,t[0]||(t[0]=[ui("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 wSe={render:OSe},xSe=Object.freeze(Object.defineProperty({
__proto__:null,default:wSe,render:OSe},Symbol.toStringTag,{value:"Module"
})),kSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function SSe(e,t){return ei(),oi("svg",kSe,t[0]||(t[0]=[ui("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 _Se={render:SSe},ESe=Object.freeze(Object.defineProperty({
__proto__:null,default:_Se,render:SSe},Symbol.toStringTag,{value:"Module"
})),TSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function CSe(e,t){return ei(),oi("svg",TSe,t[0]||(t[0]=[ui("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 ASe={render:CSe},PSe=Object.freeze(Object.defineProperty({
__proto__:null,default:ASe,render:CSe},Symbol.toStringTag,{value:"Module"
})),DSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function RSe(e,t){return ei(),oi("svg",DSe,t[0]||(t[0]=[ui("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 $Se={render:RSe},NSe=Object.freeze(Object.defineProperty({
__proto__:null,default:$Se,render:RSe},Symbol.toStringTag,{value:"Module"
})),MSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function ISe(e,t){return ei(),oi("svg",MSe,t[0]||(t[0]=[ui("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 LSe={render:ISe},jSe=Object.freeze(Object.defineProperty({
__proto__:null,default:LSe,render:ISe},Symbol.toStringTag,{value:"Module"
})),BSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function USe(e,t){return ei(),oi("svg",BSe,t[0]||(t[0]=[ui("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 QSe={render:USe},FSe=Object.freeze(Object.defineProperty({
__proto__:null,default:QSe,render:USe},Symbol.toStringTag,{value:"Module"
})),zSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function qSe(e,t){return ei(),oi("svg",zSe,t[0]||(t[0]=[ui("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 HSe={render:qSe},VSe=Object.freeze(Object.defineProperty({
__proto__:null,default:HSe,render:qSe},Symbol.toStringTag,{value:"Module"
})),ZSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function WSe(e,t){return ei(),oi("svg",ZSe,t[0]||(t[0]=[ui("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 XSe={render:WSe},GSe=Object.freeze(Object.defineProperty({
__proto__:null,default:XSe,render:WSe},Symbol.toStringTag,{value:"Module"
})),YSe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function KSe(e,t){return ei(),oi("svg",YSe,t[0]||(t[0]=[ui("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 JSe={render:KSe},e_e=Object.freeze(Object.defineProperty({
__proto__:null,default:JSe,render:KSe},Symbol.toStringTag,{value:"Module"
})),t_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function n_e(e,t){return ei(),oi("svg",t_e,t[0]||(t[0]=[ui("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 r_e={render:n_e},o_e=Object.freeze(Object.defineProperty({
__proto__:null,default:r_e,render:n_e},Symbol.toStringTag,{value:"Module"
})),a_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function i_e(e,t){return ei(),oi("svg",a_e,t[0]||(t[0]=[ui("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 s_e={render:i_e},l_e=Object.freeze(Object.defineProperty({
__proto__:null,default:s_e,render:i_e},Symbol.toStringTag,{value:"Module"
})),c_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function u_e(e,t){return ei(),oi("svg",c_e,t[0]||(t[0]=[ui("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 d_e={render:u_e},p_e=Object.freeze(Object.defineProperty({
__proto__:null,default:d_e,render:u_e},Symbol.toStringTag,{value:"Module"
})),h_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function f_e(e,t){return ei(),oi("svg",h_e,t[0]||(t[0]=[ui("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 m_e={render:f_e},g_e=Object.freeze(Object.defineProperty({
__proto__:null,default:m_e,render:f_e},Symbol.toStringTag,{value:"Module"
})),v_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function b_e(e,t){return ei(),oi("svg",v_e,t[0]||(t[0]=[ui("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 y_e={render:b_e},O_e=Object.freeze(Object.defineProperty({
__proto__:null,default:y_e,render:b_e},Symbol.toStringTag,{value:"Module"
})),w_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function x_e(e,t){return ei(),oi("svg",w_e,t[0]||(t[0]=[ui("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 k_e={render:x_e},S_e=Object.freeze(Object.defineProperty({
__proto__:null,default:k_e,render:x_e},Symbol.toStringTag,{value:"Module"
})),__e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function E_e(e,t){return ei(),oi("svg",__e,t[0]||(t[0]=[ui("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 T_e={render:E_e},C_e=Object.freeze(Object.defineProperty({
__proto__:null,default:T_e,render:E_e},Symbol.toStringTag,{value:"Module"
})),A_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function P_e(e,t){return ei(),oi("svg",A_e,t[0]||(t[0]=[ui("path",{
stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round",
d:"M7 11v4a2 2 0 0 0 2 2h4"},null,-1),ui("circle",{cx:"7",cy:"7",r:"3.25",
stroke:"currentColor"},null,-1),ui("circle",{cx:"17",cy:"17",r:"3.25",
stroke:"currentColor"},null,-1)]))}const D_e={render:P_e
},R_e=Object.freeze(Object.defineProperty({__proto__:null,default:D_e,render:P_e
},Symbol.toStringTag,{value:"Module"})),$_e={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function N_e(e,t){
return ei(),oi("svg",$_e,t[0]||(t[0]=[ui("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 M_e={render:N_e},I_e=Object.freeze(Object.defineProperty({
__proto__:null,default:M_e,render:N_e},Symbol.toStringTag,{value:"Module"
})),L_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function j_e(e,t){return ei(),oi("svg",L_e,t[0]||(t[0]=[ui("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 B_e={render:j_e},U_e=Object.freeze(Object.defineProperty({
__proto__:null,default:B_e,render:j_e},Symbol.toStringTag,{value:"Module"
})),Q_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function F_e(e,t){return ei(),oi("svg",Q_e,t[0]||(t[0]=[ui("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 z_e={render:F_e},q_e=Object.freeze(Object.defineProperty({
__proto__:null,default:z_e,render:F_e},Symbol.toStringTag,{value:"Module"
})),H_e={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function V_e(e,t){return ei(),oi("svg",H_e,t[0]||(t[0]=[ui("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),ui("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 Z_e={render:V_e},W_e=Object.freeze(Object.defineProperty({__proto__:null,
default:Z_e,render:V_e},Symbol.toStringTag,{value:"Module"})),X_e={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function G_e(e,t){return ei(),oi("svg",X_e,t[0]||(t[0]=[ui("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),ui("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 Y_e={render:G_e},K_e=Object.freeze(Object.defineProperty({__proto__:null,
default:Y_e,render:G_e},Symbol.toStringTag,{value:"Module"})),J_e={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function eEe(e,t){return ei(),oi("svg",J_e,t[0]||(t[0]=[ui("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 tEe={render:eEe},nEe=Object.freeze(Object.defineProperty({
__proto__:null,default:tEe,render:eEe},Symbol.toStringTag,{value:"Module"
})),rEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function oEe(e,t){return ei(),oi("svg",rEe,t[0]||(t[0]=[ui("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 aEe={
render:oEe},iEe=Object.freeze(Object.defineProperty({__proto__:null,default:aEe,
render:oEe},Symbol.toStringTag,{value:"Module"})),sEe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function lEe(e,t){return ei(),oi("svg",sEe,t[0]||(t[0]=[ui("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),ui("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 cEe={render:lEe},uEe=Object.freeze(Object.defineProperty({__proto__:null,
default:cEe,render:lEe},Symbol.toStringTag,{value:"Module"})),dEe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function pEe(e,t){return ei(),oi("svg",dEe,t[0]||(t[0]=[ui("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 hEe={render:pEe},fEe=Object.freeze(Object.defineProperty({
__proto__:null,default:hEe,render:pEe},Symbol.toStringTag,{value:"Module"
})),mEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function gEe(e,t){return ei(),oi("svg",mEe,t[0]||(t[0]=[ui("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 vEe={render:gEe},bEe=Object.freeze(Object.defineProperty({
__proto__:null,default:vEe,render:gEe},Symbol.toStringTag,{value:"Module"
})),yEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function OEe(e,t){return ei(),oi("svg",yEe,t[0]||(t[0]=[ui("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 wEe={render:OEe},xEe=Object.freeze(Object.defineProperty({
__proto__:null,default:wEe,render:OEe},Symbol.toStringTag,{value:"Module"
})),kEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function SEe(e,t){return ei(),oi("svg",kEe,t[0]||(t[0]=[ui("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 _Ee={render:SEe},EEe=Object.freeze(Object.defineProperty({
__proto__:null,default:_Ee,render:SEe},Symbol.toStringTag,{value:"Module"
})),TEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function CEe(e,t){return ei(),oi("svg",TEe,t[0]||(t[0]=[ui("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 AEe={render:CEe},PEe=Object.freeze(Object.defineProperty({
__proto__:null,default:AEe,render:CEe},Symbol.toStringTag,{value:"Module"
})),DEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function REe(e,t){return ei(),oi("svg",DEe,t[0]||(t[0]=[ui("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),ui("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 $Ee={render:REe},NEe=Object.freeze(Object.defineProperty({
__proto__:null,default:$Ee,render:REe},Symbol.toStringTag,{value:"Module"
})),MEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function IEe(e,t){return ei(),oi("svg",MEe,t[0]||(t[0]=[ui("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 LEe={
render:IEe},jEe=Object.freeze(Object.defineProperty({__proto__:null,default:LEe,
render:IEe},Symbol.toStringTag,{value:"Module"})),BEe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function UEe(e,t){return ei(),oi("svg",BEe,t[0]||(t[0]=[ui("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 QEe={render:UEe},FEe=Object.freeze(Object.defineProperty({
__proto__:null,default:QEe,render:UEe},Symbol.toStringTag,{value:"Module"
})),zEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function qEe(e,t){return ei(),oi("svg",zEe,t[0]||(t[0]=[ui("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 HEe={render:qEe},VEe=Object.freeze(Object.defineProperty({
__proto__:null,default:HEe,render:qEe},Symbol.toStringTag,{value:"Module"
})),ZEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function WEe(e,t){return ei(),oi("svg",ZEe,t[0]||(t[0]=[ui("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 XEe={render:WEe},GEe=Object.freeze(Object.defineProperty({
__proto__:null,default:XEe,render:WEe},Symbol.toStringTag,{value:"Module"
})),YEe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function KEe(e,t){return ei(),oi("svg",YEe,t[0]||(t[0]=[ui("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 JEe={render:KEe},eTe=Object.freeze(Object.defineProperty({__proto__:null,
default:JEe,render:KEe},Symbol.toStringTag,{value:"Module"})),tTe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function nTe(e,t){return ei(),oi("svg",tTe,t[0]||(t[0]=[ui("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 rTe={render:nTe},oTe=Object.freeze(Object.defineProperty({
__proto__:null,default:rTe,render:nTe},Symbol.toStringTag,{value:"Module"
})),aTe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function iTe(e,t){return ei(),oi("svg",aTe,t[0]||(t[0]=[ui("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 sTe={render:iTe},lTe=Object.freeze(Object.defineProperty({
__proto__:null,default:sTe,render:iTe},Symbol.toStringTag,{value:"Module"
})),cTe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function uTe(e,t){return ei(),oi("svg",cTe,t[0]||(t[0]=[ui("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 dTe={render:uTe},pTe=Object.freeze(Object.defineProperty({
__proto__:null,default:dTe,render:uTe},Symbol.toStringTag,{value:"Module"
})),hTe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function fTe(e,t){return ei(),oi("svg",hTe,t[0]||(t[0]=[ui("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 mTe={render:fTe},gTe=Object.freeze(Object.defineProperty({__proto__:null,
default:mTe,render:fTe},Symbol.toStringTag,{value:"Module"})),vTe={
xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function bTe(e,t){return ei(),oi("svg",vTe,t[0]||(t[0]=[ui("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 yTe={render:bTe
},OTe=Object.freeze(Object.defineProperty({__proto__:null,default:yTe,render:bTe
},Symbol.toStringTag,{value:"Module"})),wTe={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function xTe(e,t){
return ei(),oi("svg",wTe,t[0]||(t[0]=[ui("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 kTe={render:xTe},STe=Object.freeze(Object.defineProperty({
__proto__:null,default:kTe,render:xTe},Symbol.toStringTag,{value:"Module"
})),_Te={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function ETe(e,t){return ei(),oi("svg",_Te,t[0]||(t[0]=[ui("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 TTe={render:ETe},CTe=Object.freeze(Object.defineProperty({
__proto__:null,default:TTe,render:ETe},Symbol.toStringTag,{value:"Module"
})),ATe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function PTe(e,t){return ei(),oi("svg",ATe,t[0]||(t[0]=[ui("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 DTe={render:PTe},RTe=Object.freeze(Object.defineProperty({
__proto__:null,default:DTe,render:PTe},Symbol.toStringTag,{value:"Module"
})),$Te={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function NTe(e,t){return ei(),oi("svg",$Te,t[0]||(t[0]=[ui("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 MTe={render:NTe},ITe=Object.freeze(Object.defineProperty({
__proto__:null,default:MTe,render:NTe},Symbol.toStringTag,{value:"Module"
})),LTe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function jTe(e,t){return ei(),oi("svg",LTe,t[0]||(t[0]=[ui("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 BTe={render:jTe},UTe=Object.freeze(Object.defineProperty({
__proto__:null,default:BTe,render:jTe},Symbol.toStringTag,{value:"Module"
})),QTe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function FTe(e,t){return ei(),oi("svg",QTe,t[0]||(t[0]=[ui("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),ui("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),ui("path",{stroke:"currentColor","stroke-linecap":"round",
"stroke-linejoin":"round",d:"M6 8h4m-4 8h4"},null,-1)]))}const zTe={render:FTe
},qTe=Object.freeze(Object.defineProperty({__proto__:null,default:zTe,render:FTe
},Symbol.toStringTag,{value:"Module"})),HTe={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function VTe(e,t){
return ei(),oi("svg",HTe,t[0]||(t[0]=[ui("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 ZTe={render:VTe},WTe=Object.freeze(Object.defineProperty({
__proto__:null,default:ZTe,render:VTe},Symbol.toStringTag,{value:"Module"
})),XTe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function GTe(e,t){return ei(),oi("svg",XTe,t[0]||(t[0]=[ui("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 YTe={render:GTe},KTe=Object.freeze(Object.defineProperty({
__proto__:null,default:YTe,render:GTe},Symbol.toStringTag,{value:"Module"
})),JTe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function eCe(e,t){return ei(),oi("svg",JTe,t[0]||(t[0]=[ui("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 tCe={render:eCe},nCe=Object.freeze(Object.defineProperty({
__proto__:null,default:tCe,render:eCe},Symbol.toStringTag,{value:"Module"
})),rCe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function oCe(e,t){return ei(),oi("svg",rCe,t[0]||(t[0]=[ui("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 aCe={render:oCe},iCe=Object.freeze(Object.defineProperty({
__proto__:null,default:aCe,render:oCe},Symbol.toStringTag,{value:"Module"
})),sCe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function lCe(e,t){return ei(),oi("svg",sCe,t[0]||(t[0]=[ui("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 cCe={render:lCe},uCe=Object.freeze(Object.defineProperty({
__proto__:null,default:cCe,render:lCe},Symbol.toStringTag,{value:"Module"
})),dCe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function pCe(e,t){return ei(),oi("svg",dCe,t[0]||(t[0]=[ui("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),ui("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 hCe={render:pCe
},fCe=Object.freeze(Object.defineProperty({__proto__:null,default:hCe,render:pCe
},Symbol.toStringTag,{value:"Module"})),mCe={xmlns:"http://www.w3.org/2000/svg",
fill:"none",viewBox:"0 0 24 24"};function gCe(e,t){
return ei(),oi("svg",mCe,t[0]||(t[0]=[ui("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 vCe={render:gCe},bCe=Object.freeze(Object.defineProperty({
__proto__:null,default:vCe,render:gCe},Symbol.toStringTag,{value:"Module"
})),yCe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function OCe(e,t){return ei(),oi("svg",yCe,t[0]||(t[0]=[ui("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 wCe={render:OCe},xCe=Object.freeze(Object.defineProperty({
__proto__:null,default:wCe,render:OCe},Symbol.toStringTag,{value:"Module"
})),kCe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function SCe(e,t){return ei(),oi("svg",kCe,t[0]||(t[0]=[ui("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 _Ce={render:SCe},ECe=Object.freeze(Object.defineProperty({
__proto__:null,default:_Ce,render:SCe},Symbol.toStringTag,{value:"Module"
})),TCe={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"}
;function CCe(e,t){return ei(),oi("svg",TCe,t[0]||(t[0]=[ui("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 ACe={render:CCe},PCe=Object.freeze(Object.defineProperty({
__proto__:null,default:ACe,render:CCe},Symbol.toStringTag,{value:"Module"}))
;const DCe=function(e){const t=Object.entries(e).map((([e,t])=>{
const n=e.replace("./icons/","").replace(".svg","");return{icon:{src:n,
title:n.replaceAll("-"," "),tags:[]},rawData:t}
})),n=t.map((e=>e.icon)),r=Object.fromEntries(t.map((e=>[e.icon.src,e.rawData])))
;return{iconDefinitionList:n,iconDataMap:r}}(Object.assign({
"./icons/basic-shape-diamond.svg":xxe,"./icons/basic-shape-hexagon.svg":Exe,
"./icons/basic-shape-primary-circle-ellipse-round.svg":Pxe,
"./icons/basic-shape-primary-square-rectangle.svg":Nxe,
"./icons/basic-shape-shield.svg":jxe,
"./icons/computer-device-desktop-monitor.svg":Fxe,
"./icons/computer-device-desktop.svg":Vxe,
"./icons/computer-device-laptop.svg":Gxe,
"./icons/computer-device-mobile-phone-android-samsung-back.svg":eke,
"./icons/computer-device-mobile-phone-android-samsung.svg":oke,
"./icons/computer-device-mobile-phone-iphone-x-back.svg":lke,
"./icons/computer-device-mobile-phone-iphone-x.svg":pke,
"./icons/computer-device-mobile-tablet-touch.svg":gke,
"./icons/computer-device-mobile-tablet.svg":Oke,
"./icons/computer-device-network-ethernet-cat6.svg":Ske,
"./icons/computer-device-network-lan-www.svg":Cke,
"./icons/computer-device-network-wifi-connection.svg":Rke,
"./icons/computer-device-network-wifi-router.svg":Ike,
"./icons/ecology-science-erlenmeyer-flask.svg":Uke,
"./icons/image-flash-lightning.svg":qke,"./icons/image-picture-flower.svg":Wke,
"./icons/interface-alert-exclamation-diamond.svg":Kke,
"./icons/interface-alert-exclamation-triangle-warning.svg":nSe,
"./icons/interface-alert-information-circle.svg":iSe,
"./icons/interface-award-crown.svg":uSe,
"./icons/interface-bookmark-tag.svg":fSe,"./icons/interface-bookmark.svg":bSe,
"./icons/interface-calendar-date-one.svg":xSe,
"./icons/interface-content-book-open-pages.svg":ESe,
"./icons/interface-content-book-page.svg":PSe,
"./icons/interface-content-file.svg":NSe,
"./icons/interface-content-folder.svg":jSe,
"./icons/interface-copy-clipboard.svg":FSe,
"./icons/interface-edit-attachment.svg":VSe,
"./icons/interface-edit-binocular.svg":GSe,
"./icons/interface-edit-magic-wand.svg":e_e,
"./icons/interface-edit-tool-paint-roller.svg":o_e,
"./icons/interface-edit-tool-pencil.svg":l_e,
"./icons/interface-favorite-award.svg":p_e,
"./icons/interface-favorite-flag.svg":g_e,
"./icons/interface-favorite-heart.svg":O_e,
"./icons/interface-favorite-star.svg":S_e,
"./icons/interface-favorite-stars-sparkles.svg":C_e,
"./icons/interface-hierarchy-flowchart.svg":R_e,
"./icons/interface-home-house.svg":I_e,"./icons/interface-hyperlink.svg":U_e,
"./icons/interface-lighting-brightness.svg":q_e,
"./icons/interface-lock-closed.svg":W_e,
"./icons/interface-lock-open-unlock.svg":K_e,
"./icons/interface-login-key.svg":nEe,"./icons/interface-search.svg":iEe,
"./icons/interface-setting-cog.svg":uEe,
"./icons/interface-share-megaphone-bullhorn.svg":fEe,
"./icons/interface-share-rocket.svg":bEe,
"./icons/interface-share-satellite.svg":xEe,
"./icons/interface-share-space-ship.svg":EEe,"./icons/interface-share.svg":PEe,
"./icons/interface-signal-square.svg":NEe,
"./icons/interface-time-clock-circle.svg":jEe,
"./icons/interface-time-hour-glass.svg":FEe,
"./icons/interface-users-multiple.svg":VEe,
"./icons/interface-weather-moon.svg":GEe,
"./icons/mail-chat-bubble-square.svg":eTe,
"./icons/mail-send-email-paper-airplane.svg":oTe,
"./icons/mail-send-envelope.svg":lTe,"./icons/money-cashier-receipt.svg":pTe,
"./icons/money-currency-dollar-pay.svg":gTe,
"./icons/money-graph-arrow-increase.svg":OTe,
"./icons/money-graph-bar-chart-increase.svg":STe,
"./icons/nature-ecology-leaf.svg":CTe,"./icons/phone-telephone.svg":RTe,
"./icons/programming-bug.svg":ITe,"./icons/programming-cloud.svg":UTe,
"./icons/programming-computer-database-server.svg":qTe,
"./icons/programming-computer-database.svg":WTe,
"./icons/programming-module-four-layout.svg":KTe,
"./icons/programming-module-three.svg":nCe,"./icons/programming-module.svg":iCe,
"./icons/programming-script-code.svg":uCe,"./icons/shopping-cart.svg":fCe,
"./icons/shopping-gift-present.svg":bCe,
"./icons/shopping-shipping-box-parcel-package.svg":xCe,
"./icons/tag-new-circle.svg":ECe,"./icons/travel-map-earth-globe.svg":PCe
})),RCe=DCe.iconDefinitionList,$Ce=DCe.iconDataMap,NCe=no({__name:"LibraryIcon",
props:{src:{}},setup(e){const t=e,n=Bi((()=>(e=>$Ce[e])(t.src)))
;return(e,t)=>n.value?(ei(),ai(Co(n.value),{key:0})):gi("",!0)}}),MCe={
class:"flex text-sm"},ICe={
class:"grid grid-cols-[repeat(auto-fill,minmax(32px,1fr))] auto-rows-[32px] justify-between content-between rounded bg-b-1 border p-1 max-w-[420px] w-dvw custom-scroll"
},LCe=no({__name:"IconSelector",props:{modelValue:{},placement:{}},
emits:["update:modelValue"],setup(e,{emit:t}){const n=e,r=t,o=Bi({
get:()=>n.modelValue,set:e=>r("update:modelValue",e)})
;return(e,t)=>(ei(),ai(Vn(e1),{class:"bg-b-2 rounded",
placement:e.placement??"bottom"},{popover:Ar((({close:n})=>[di(Vn(hL),{
modelValue:o.value,"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),
class:"flex flex-col"},{default:Ar((()=>[ui("div",MCe,[di(Vn(vL),{
class:"text-c-2 py-1 px-1"},{
default:Ar((()=>[$o(e.$slots,"title",{},(()=>[t[1]||(t[1]=fi("Select an icon"))]))])),
_:3})]),ui("ul",ICe,[(ei(!0),oi(Wa,null,Do(Vn(RCe),(e=>(ei(),ai(Vn(gL),{
key:e.src,as:"li",
class:"p-2 rounded flex items-center justify-center text-c-3 cursor-pointer hover:text-c-2 hover:bg-b-2 ui-checked:bg-b-3 ui-active:bg-b-2",
value:e.src,onClick:n},{default:Ar((()=>[di(Vn(vL),{class:"sr-only"},{
default:Ar((()=>[fi(ht(e.src.replaceAll("-"," "))+" Icon ",1)])),_:2
},1024),di(Vn(NCe),{class:"stroke-[1.5]",src:e.src},null,8,["src"])])),_:2
},1032,["value","onClick"])))),128))])])),_:2},1032,["modelValue"])])),
default:Ar((()=>[$o(e.$slots,"default")])),_:3},8,["placement"]))}}),jCe={
class:"grid gap-2 grid-cols-[auto,1fr]"},BCe={class:"flex aspect-square"
},UCe=no({__name:"EditSidebarListCollection",props:{name:{},icon:{}},
emits:["close","edit"],setup(e,{emit:t}){const n=e,r=t,o=Fn(n.name),a=Fn(n.icon)
;return(e,t)=>(ei(),ai(gxe,{onCancel:t[2]||(t[2]=e=>r("close")),
onSubmit:t[3]||(t[3]=e=>r("edit",o.value,a.value))},{
default:Ar((()=>[ui("div",jCe,[ui("div",BCe,[di(LCe,{modelValue:a.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),placement:"bottom-start"},{
default:Ar((()=>[di(Vn(BB),{class:"aspect-square px-0 h-auto",variant:"outlined"
},{default:Ar((()=>[di(Vn(NCe),{class:"size-4 text-c-2",src:a.value
},null,8,["src"])])),_:1})])),_:1},8,["modelValue"])]),di(Vn(D1),{
modelValue:o.value,"onUpdate:modelValue":t[1]||(t[1]=e=>o.value=e),autofocus:"",
class:"flex-1"},null,8,["modelValue"])])])),_:1}))}}),QCe=no({
__name:"EditSidebarListElement",props:{name:{}},emits:["close","edit"],
setup(e,{emit:t}){const n=t,r=Fn(e.name);return(e,t)=>(ei(),ai(gxe,{
onCancel:t[1]||(t[1]=e=>n("close")),onSubmit:t[2]||(t[2]=e=>n("edit",r.value))
},{default:Ar((()=>[di(Vn(D1),{modelValue:r.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>r.value=e),autofocus:""
},null,8,["modelValue"])])),_:1}))}}),FCe=no({__name:"RequestSidebarItemMenu",
props:{menuItem:{}},emits:["closeMenu","toggleWatchMode","clearDrafts"],
setup(e,{emit:t}){
const n=e,r=t,{replace:o}=o3(),{activeWorkspace:a,activeRouterParams:i,activeWorkspaceCollections:s,activeWorkspaceRequests:l}=q1(),{events:c,requestMutators:u}=M1(),d=w1(),p=w1(),h=w1(),f=()=>{
var e;return c.commandPalette.emit({commandName:"Add Example",metaData:{
itemUid:null==(e=n.menuItem.item)?void 0:e.entity.uid}})},m=(e,t)=>{var r
;null==(r=n.menuItem.item)||r.edit(e,t),d.hide()},g=()=>{var e,t,r,c,d,h
;if(null==(e=n.menuItem.item)||e.delete(),!l.value.length){
const{request:e}=wj(),n=s.value.find((e=>{var t
;return"Drafts"===(null==(t=e.info)?void 0:t.title)}))
;n&&(u.add(e,n.uid),o(`/workspace/${null==(t=a.value)?void 0:t.uid}/request/${e.uid}`))
}
if(i.value[j1.Request]===(null==(r=n.menuItem.item)?void 0:r.entity.uid)&&o(`/workspace/${null==(c=a.value)?void 0:c.uid}/request/default`),
i.value[j1.Examples]===(null==(d=n.menuItem.item)?void 0:d.entity.uid)&&o(`/workspace/${a.value}/request/default`),
s.value[0]){const e=s.value[0].requests[0]
;o(`/workspace/${null==(h=a.value)?void 0:h.uid}/request/${e}`)}p.hide()
},v=Fn(null);Ma([()=>n.menuItem.open,v],(async([e])=>{var t,n
;e&&null!=(n=null==(t=v.value)?void 0:t.$parent)&&n.$el&&v.value.$parent.$el.focus()
}));const b=()=>n.menuItem.open&&r("closeMenu")
;go((()=>window.addEventListener("click",b))),
yo((()=>window.removeEventListener("click",b)));const y=()=>{
r("toggleWatchMode",n.menuItem.item)},O=()=>{r("clearDrafts"),h.hide()
},w=Bi((()=>{var e;return"Drafts"===(null==(e=n.menuItem.item)?void 0:e.title)
}));return(e,t)=>{var n,r
;return ei(),oi(Wa,null,[e.menuItem.targetRef&&e.menuItem.open?(ei(),ai(Vn(BK),{
key:0,placement:"right-start",target:e.menuItem.targetRef,teleport:""},{
floating:Ar((()=>[di(Vn(Q0),{
onKeydown:t[3]||(t[3]=Ys((t=>e.$emit("closeMenu")),["escape"]))},{
default:Ar((()=>{var n,r
;return["request"===(null==(n=e.menuItem.item)?void 0:n.entity.type)?(ei(),
ai(Vn(v1),{key:0,class:"flex gap-2",onClick:f},{default:Ar((()=>[di(Vn(oY),{
class:"inline-flex",icon:"Example",size:"md",thickness:"1.5"
}),t[8]||(t[8]=ui("span",null,"Add Example",-1))])),_:1
})):gi("",!0),w.value?gi("",!0):(ei(),ai(Vn(v1),{key:1,ref_key:"menuRef",ref:v,
class:"flex gap-2",onClick:t[0]||(t[0]=e=>Vn(d).show())},{default:Ar((()=>{var t
;return[di(Vn(oY),{class:"inline-flex",icon:"Edit",size:"md",thickness:"1.5"
}),ui("span",null,["collection"===(null==(t=e.menuItem.item)?void 0:t.entity.type)?(ei(),
oi(Wa,{key:0},[fi(" Edit ")],64)):(ei(),oi(Wa,{key:1},[fi(" Rename ")],64))])]
})),_:1},512)),null!=(r=e.menuItem.item)&&r.documentUrl?(ei(),ai(Vn(v1),{key:2,
ref_key:"menuRef",ref:v,class:"flex gap-2",onClick:y},{default:Ar((()=>{var t,n
;return[di(Vn(oY),{class:"inline-flex",
icon:null!=(t=e.menuItem.item)&&t.watchMode?"Unwatch":"Watch",size:"md",
thickness:"1.5"
},null,8,["icon"]),ui("span",null,ht(null!=(n=e.menuItem.item)&&n.watchMode?"Disable Watch Mode":"Enable Watch Mode"),1)]
})),_:1},512)):gi("",!0),w.value?gi("",!0):(ei(),ai(Vn(v1),{key:3,
class:"flex gap-2",onClick:t[1]||(t[1]=e=>Vn(p).show())},{
default:Ar((()=>[di(Vn(oY),{class:"inline-flex",icon:"Delete",size:"md",
thickness:"1.5"}),t[9]||(t[9]=ui("span",null,"Delete",-1))])),_:1
})),w.value?(ei(),ai(Vn(v1),{key:4,class:"flex gap-2",
onClick:t[2]||(t[2]=e=>Vn(h).show())},{default:Ar((()=>[di(Vn(oY),{
class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"
}),t[10]||(t[10]=ui("span",null,"Clear Drafts",-1))])),_:1})):gi("",!0)]})),_:1
})])),_:1},8,["target"])):gi("",!0),di(Vn(k1),{size:"xxs",state:Vn(p),
title:`Delete ${null==(n=e.menuItem.item)?void 0:n.resourceTitle}`},{
default:Ar((()=>{var n,r;return[di(bxe,{
variableName:(null==(n=e.menuItem.item)?void 0:n.title)??"",
warningMessage:null==(r=e.menuItem.item)?void 0:r.warning,
onClose:t[4]||(t[4]=e=>Vn(p).hide()),onDelete:g
},null,8,["variableName","warningMessage"])]})),_:1
},8,["state","title"]),di(Vn(k1),{size:"xxs",state:Vn(d),
title:`Edit ${null==(r=e.menuItem.item)?void 0:r.resourceTitle}`},{
default:Ar((()=>{var n,r,o,a
;return["Collection"===(null==(n=e.menuItem.item)?void 0:n.resourceTitle)?(ei(),
ai(UCe,{key:0,
icon:(null==(r=e.menuItem.item)?void 0:r.icon)||"interface-content-folder",
name:null==(o=e.menuItem.item)?void 0:o.title,
onClose:t[5]||(t[5]=e=>Vn(d).hide()),onEdit:m
},null,8,["icon","name"])):(ei(),ai(QCe,{key:1,
name:(null==(a=e.menuItem.item)?void 0:a.title)??"",
onClose:t[6]||(t[6]=e=>Vn(d).hide()),onEdit:m},null,8,["name"]))]})),_:1
},8,["state","title"]),di(Vn(k1),{size:"xxs",state:Vn(h),title:"Clear Drafts"},{
default:Ar((()=>[di(bxe,{variableName:"All Drafts",
warningMessage:"This action will clear all drafts. This cannot be undone.",
onClose:t[7]||(t[7]=e=>Vn(h).hide()),onDelete:O})])),_:1},8,["state"])],64)}}
}),zCe=g3(FCe,[["__scopeId","data-v-99ca1ebd"]])
;const qCe=Fn(null),HCe=Fn(null),VCe=["draggable"],ZCe=no({__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:n}){
const r=e,o=n,a=Bi((()=>r.parentIds.at(-1)??null)),i=e=>{
!e.dataTransfer||!(e.target instanceof HTMLElement)||!r.isDraggable||(e.target.classList.add("dragging"),
e.dataTransfer.dropEffect="move",e.dataTransfer.effectAllowed="move",qCe.value={
id:r.id,parentId:a.value},o("onDragStart",{id:r.id,parentId:a.value}))
},s=((e,t)=>{let n=!1;return function(...r){
n||(e(...r),n=!0,setTimeout((()=>n=!1),t))}})((e=>{var t,n
;if(!qCe.value||qCe.value.id===r.id||r.parentIds.includes((null==(t=qCe.value)?void 0:t.id)??""))return
;const o=null==(n=HCe.value)?void 0:n.offset,i=e.target.offsetHeight,s=r.floor*i,l=r.ceiling*i
;let c=3
;e.offsetY<=0&&o&&3!==o?c=o:e.offsetY<=s?c=0:e.offsetY>=l?c=1:e.offsetY>s&&e.offsetY<l&&(c=2),
(e=>"function"==typeof r.isDroppable?r.isDroppable(qCe.value,{id:r.id,
parentId:a.value,offset:e}):r.isDroppable)(c)&&(HCe.value={id:r.id,
parentId:a.value,offset:c})}),25),l=["above","below","asChild"],c=Bi((()=>{var e
;let t="sidebar-indent-nested"
;return r.id===(null==(e=HCe.value)?void 0:e.id)&&(t+=` dragover-${l[HCe.value.offset]}`),
t})),u=()=>{if(!HCe.value||!qCe.value)return;const e={...qCe.value},t={
...HCe.value}
;qCe.value=null,HCe.value=null,document.querySelectorAll("div.dragging").forEach((e=>e.classList.remove("dragging"))),
e.id!==t.id&&o("onDragEnd",e,t)};return t({draggingItem:qCe,hoveredItem:HCe
}),(e,t)=>(ei(),oi("div",{class:it(c.value),draggable:e.isDraggable,onDragend:u,
onDragover:t[0]||(t[0]=Xs(((...e)=>Vn(s)&&Vn(s)(...e)),["prevent","stop"])),
onDragstart:Xs(i,["stop"])},[$o(e.$slots,"default",{},void 0,!0)],42,VCe))}
}),WCe=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n
},XCe=WCe(ZCe,[["__scopeId","data-v-1c336fff"]]),GCe=An({}),YCe=(e,t)=>GCe[e]=t,KCe=e=>{
GCe[e]=!GCe[e]},JCe=()=>({collapsedSidebarFolders:GCe,
setCollapsedSidebarFolder:YCe,toggleSidebarFolder:KCe}),eAe={
class:"break-all line-clamp-1 font-medium w-full pl-2"},tAe={
class:"flex flex-row gap-1 items-center"},nAe={class:"relative"},rAe={
class:"flex items-start"},oAe=["aria-expanded"],aAe={
class:"flex h-5 items-center justify-center max-w-[14px]"},iAe={
class:"flex flex-1 flex-row justify-between"},sAe={
class:"break-all line-clamp-1 font-medium text-left w-full"},lAe={
class:"relative flex justify-end h-fit"},cAe={
class:"grid gap-1.5 pointer-events-none max-w-10 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1"
},uAe={class:"flex items-center text-c-2"},dAe={class:"text-pretty break-all"
},pAe={key:2},hAe="hover:bg-sidebar-active-b indent-padding-left",fAe=no({
__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}){gs((e=>({
"519a14d7":k.value,e7fbc4f2:S.value})))
;const n=e,r=t,{activeCollection:o,activeRequest:a,activeRouterParams:i,activeWorkspace:s}=q1(),{collections:l,tags:c,isReadOnly:u,requests:d,requestExamples:p,collectionMutators:h,tagMutators:f,requestMutators:m,requestExampleMutators:g,events:v}=M1(),b=o3(),{collapsedSidebarFolders:y,toggleSidebarFolder:O}=JCe(),w=Bi((()=>{
var e,t,r,o;const a=l[n.uid],i=c[n.uid],u=d[n.uid],v=p[n.uid];return a?{
title:(null==(e=a.info)?void 0:e.title)??"Unknown title",entity:a,
resourceTitle:"Collection",children:a.children,icon:a["x-scalar-icon"],
documentUrl:a.documentUrl,watchMode:a.watchMode,
warning:"This cannot be undone. You’re about to delete the collection and all folders and requests inside it.",
edit:(e,t)=>{h.edit(a.uid,"info.title",e),t&&h.edit(a.uid,"x-scalar-icon",t)},
delete:()=>{s.value&&h.delete(a,s.value)}}:i?{title:i.name,entity:i,
resourceTitle:"Tag",children:i.children,
warning:"This cannot be undone. You’re about to delete the tag and all requests inside it",
edit:e=>f.edit(i.uid,"name",e),delete:()=>{
n.parentUids[0]&&f.delete(i,n.parentUids[0])}}:u?{title:u.summary??u.path,link:{
name:"request",params:{workspace:null==(t=s.value)?void 0:t.uid,request:u.uid}},
method:u.method,entity:u,resourceTitle:"Request",
warning:"This cannot be undone. You’re about to delete the request.",
children:u.examples.slice(1),edit:e=>m.edit(u.uid,"summary",e),delete:()=>{
n.parentUids[0]&&m.delete(u,n.parentUids[0])}}:v?{title:v.name,link:{
name:"request.examples",params:{workspace:null==(r=s.value)?void 0:r.uid,
request:v.requestUid,examples:v.uid}},
method:null==(o=d[v.requestUid])?void 0:o.method,entity:v,
resourceTitle:"Example",
warning:"This cannot be undone. You’re about to delete the example from the request.",
children:[],edit:e=>g.edit(v.uid,"name",e),delete:()=>g.delete(v)}:{
title:"Unknown",entity:{uid:"",type:"unknown"},resourceTitle:"Unknown",
children:[],edit:()=>{},delete:()=>{}}
})),x=Bi((()=>"collection"===w.value.entity.type&&"Drafts"===w.value.title)),k=Bi((()=>n.parentUids.length?u?12*(n.parentUids.length-1)+"px":12*n.parentUids.length+"px":"12px")),S=Bi((()=>n.parentUids.length?u?12*(n.parentUids.length-1)+"px":12*n.parentUids.length+"px":"0px")),_=Bi((()=>{
var e
;return y[n.uid]||(null==(e=a.value)?void 0:e.uid)===n.uid&&w.value.entity.examples.length>1
})),E=Bi((()=>{var e
;return"default"===i.value[j1.Request]&&(null==(e=a.value)?void 0:e.uid)===n.uid
})),T=Fn(null),C=Bi((()=>{let e=.5,t=.5;if(!T.value)return{ceiling:e,floor:t}
;const{draggingItem:n}=T.value
;return l[null==n?void 0:n.id]||"collection"!==w.value.entity.type?"tag"===w.value.entity.type&&(e=.8,
t=.2):(e=1,t=0),{ceiling:e,floor:t}})),A=(e,t)=>!(u||p[t.id]||l[e.id])
;function P(){v.commandPalette.emit({commandName:"Create Request",metaData:{
itemUid:n.uid,parentUid:n.parentUids[0]}})}const D=Bi((()=>{
const{uid:e,watchModeStatus:t}=o.value||{}
;return e!==w.value.entity.uid?"text-c-3":"WATCHING"===t?"text-c-1":"ERROR"===t?"text-red":"text-c-3"
})),R=Bi((()=>"Drafts"==w.value.title&&!u&&w.value.children.length>0))
;return(e,t)=>{const n=Eo("RequestSidebarItem",!0);return ei(),oi("li",{
class:it(["relative flex flex-row",[Vn(u)&&e.parentUids.length>1||!Vn(u)&&e.parentUids.length?"before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 indent-border-line-offset":""]])
},[di(Vn(XCe),{id:w.value.entity.uid,ref_key:"draggableRef",ref:T,
ceiling:C.value.ceiling,class:"flex flex-1 flex-col gap-[.5px] text-sm",
floor:C.value.floor,isDraggable:e.isDraggable,isDroppable:e.isDroppable,
parentIds:e.parentUids,
onOnDragEnd:t[9]||(t[9]=(...t)=>e.$emit("onDragEnd",...t))},{default:Ar((()=>{
var o;return[w.value.link?(ei(),ai(Vn(K5),{key:0,class:"group no-underline",
to:w.value.link,onClick:t[1]||(t[1]=Xs((e=>((e,t)=>{
e&&(d3(["default"]).some((t=>e[t]))?r("newTab",t.title||"",t.entity.uid):t.link&&b.push(t.link))
})(e,w.value)),["prevent"]))},{default:Ar((({isExactActive:n})=>{var r,o
;return[ui("div",{
class:it(["relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-0.5 py-1.5 pr-2 rounded w-full",[hAe,n||E.value?"bg-sidebar-active-b text-sidebar-active-c transition-none":"text-sidebar-c-2"]])
},[ui("span",eAe,ht(w.value.title),1),ui("div",tAe,[ui("div",nAe,[Vn(u)?gi("",!0):(ei(),
ai(Vn(BB),{key:0,
class:it(["hidden px-0.5 py-0 hover:bg-b-3 opacity-0 group-hover:opacity-100 group-hover:flex group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 aspect-square h-fit",{
flex:(null==(o=null==(r=e.menuItem)?void 0:r.item)?void 0:o.entity.uid)===w.value.entity.uid&&e.menuItem.open
}]),size:"sm",type:"button",variant:"ghost",
onClick:t[0]||(t[0]=Xs((t=>e.$emit("openMenu",{item:w.value,
parentUids:e.parentUids,targetRef:t.currentTarget,open:!e.menuItem.open
})),["stop","prevent"]))},{default:Ar((()=>[di(Vn(oY),{icon:"Ellipses",size:"md"
})])),_:1
},8,["class"]))]),ui("span",rAe,[t[10]||(t[10]=fi("   ")),t[11]||(t[11]=ui("span",{
class:"sr-only"},"HTTP Method:",-1)),w.value.method?(ei(),ai(Vn(qbe),{key:0,
class:"font-bold",method:w.value.method},null,8,["method"])):gi("",!0)])])],2)]
})),_:1},8,["to"])):!Vn(u)||e.parentUids.length?(ei(),oi("button",{key:1,
"aria-expanded":Vn(y)[w.value.entity.uid],
class:it(["hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 focus-visible:z-10",[hAe]]),
type:"button",onClick:t[4]||(t[4]=e=>Vn(O)(w.value.entity.uid))
},[ui("span",aAe,[$o(e.$slots,"leftIcon",{},(()=>[ui("div",{class:it({
"rotate-90":Vn(y)[w.value.entity.uid]})},[di(Vn(oY),{class:"text-c-3 text-sm",
icon:"ChevronRight",size:"md"
})],2)]),!0),t[12]||(t[12]=fi("   "))]),ui("div",iAe,[ui("span",sAe,ht(w.value.title),1),ui("div",lAe,[ui("div",{
class:it(["items-center opacity-0 gap-px group-hover:opacity-100 group-hover:flex group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100",{
flex:e.menuItem.open,
hidden:!e.menuItem.open||(null==(o=e.menuItem.item)?void 0:o.entity.uid)!==w.value.entity.uid
}])},[!Vn(u)&&!x.value||x.value&&R.value?(ei(),ai(Vn(BB),{key:0,
class:"px-0.5 py-0 hover:bg-b-3 hover:text-c-1 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 aspect-square h-fit",
size:"sm",variant:"ghost",onClick:t[2]||(t[2]=Xs((t=>e.$emit("openMenu",{
item:w.value,parentUids:e.parentUids,targetRef:t.currentTarget.parentNode,
open:!0})),["stop","prevent"]))},{default:Ar((()=>[di(Vn(oY),{icon:"Ellipses",
size:"md"})])),_:1})):gi("",!0),Vn(u)?gi("",!0):(ei(),ai(Vn(BB),{key:1,
class:"px-0.5 py-0 hover:bg-b-3 hover:text-c-1 group-focus-visible:opacity-100 group-has-[:focus-visible]:opacity-100 aspect-square h-fit",
size:"sm",variant:"ghost",onClick:t[3]||(t[3]=Xs((e=>P()),["stop","prevent"]))
},{default:Ar((()=>[di(Vn(oY),{icon:"Add",size:"md",thickness:"2"})])),_:1
}))],2),w.value.watchMode?(ei(),ai(Vn(p1),{key:0,side:"right",sideOffset:12},{
trigger:Ar((()=>[di(Vn(oY),{class:it(["ml-0.5 text-sm",D.value]),icon:"Watch",
size:"md",thickness:"2"},null,8,["class"])])),
content:Ar((()=>[ui("div",cAe,[ui("div",uAe,[ui("p",dAe," Watching: "+ht(w.value.documentUrl),1)])])])),
_:1
})):gi("",!0),t[13]||(t[13]=ui("span",null," ",-1))])])],10,oAe)):gi("",!0),_.value?(ei(),
oi("ul",pAe,[(ei(!0),oi(Wa,null,Do(w.value.children,(r=>(ei(),ai(n,{key:r,
isDraggable:!Vn(p)[r],isDroppable:A,menuItem:e.menuItem,
parentUids:[...e.parentUids,e.uid],uid:r,
onNewTab:t[5]||(t[5]=(t,n)=>e.$emit("newTab",t,n)),
onOnDragEnd:t[6]||(t[6]=(...t)=>e.$emit("onDragEnd",...t)),
onOpenMenu:t[7]||(t[7]=t=>e.$emit("openMenu",t))
},null,8,["isDraggable","menuItem","parentUids","uid"])))),128)),0===w.value.children.length?(ei(),
ai(Vn(BB),{key:0,
class:it(["mb-[.5px] flex gap-1.5 h-8 text-c-1 py-0 justify-start text-xs w-full hover:bg-b-2",e.parentUids.length?"pl-9":""]),
variant:"ghost",onClick:t[8]||(t[8]=e=>P())},{default:Ar((()=>[di(Vn(oY),{
class:"mx-0.5 h-2.5 w-2.5",icon:"Add",thickness:"3"
}),t[14]||(t[14]=ui("span",null,"Add Request",-1))])),_:1
},8,["class"])):gi("",!0)])):gi("",!0)]})),_:3
},8,["id","ceiling","floor","isDraggable","isDroppable","parentIds"])],2)}}
}),mAe=g3(fAe,[["__scopeId","data-v-29c563a2"]]),gAe={
class:"flex items-center text-sm w-[inherit]"},vAe={
class:"font-bold m-0 flex gap-1.5 items-center"},bAe={
class:"line-clamp-1 text-left"},yAe={class:"text-ellipsis overflow-hidden"
},OAe={class:"flex items-center justify-center h-4 w-4"},wAe=no({
__name:"WorkspaceDropdown",setup(e){
const{activeWorkspace:t}=q1(),{workspaces:n,workspaceMutators:r,events:o}=M1(),{push:a}=o3(),i=Bi((()=>1===Object.keys(n).length)),s=()=>o.commandPalette.emit({
commandName:"Create Workspace"}),l=Fn(""),c=Fn(""),u=w1(),d=w1(),p=e=>{
const t=n[e];t&&(l.value=t.name,c.value=e,u.show())},h=e=>{
e.trim()&&(r.edit(c.value,"name",e.trim()),u.hide())},f=e=>{const t=n[e]
;t&&(l.value=t.name,c.value=e,d.show())},m=async()=>{var e;if(!i.value){
const o=(null==(e=t.value)?void 0:e.uid)===c.value,i={...n}
;if(delete i[c.value],r.delete(c.value),o){const e=Object.keys(i)[0];await a({
name:"workspace",params:{workspace:e}})}}d.hide()}
;return(e,r)=>(ei(),oi("div",null,[ui("div",gAe,[di(Vn(F0),null,{
items:Ar((()=>[(ei(!0),oi(Wa,null,Do(Vn(n),((e,n)=>(ei(),ai(Vn(y1),{key:n,
class:"flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden w-full",
onClick:Xs((e=>(e=>{var n;e!==(null==(n=t.value)?void 0:n.uid)&&a({
name:"workspace",params:{workspace:e}})})(n)),["stop"])},{default:Ar((()=>{var o
;return[di(Vn(cY),{selected:(null==(o=Vn(t))?void 0:o.uid)===n
},null,8,["selected"]),ui("span",yAe,ht(e.name),1),di(Vn(F0),{
placement:"right-start",teleport:""},{items:Ar((()=>[di(Vn(y1),{
class:"flex gap-2",onMousedown:e=>p(n),onTouchend:Xs((e=>p(n)),["prevent"])},{
default:Ar((()=>[di(Vn(oY),{class:"inline-flex",icon:"Edit",size:"md",
thickness:"1.5"}),r[4]||(r[4]=ui("span",null,"Rename",-1))])),_:2
},1032,["onMousedown","onTouchend"]),i.value?(ei(),ai(Vn(p1),{key:0,
class:"z-overlay",side:"bottom"},{trigger:Ar((()=>[di(Vn(y1),{
class:"flex gap-2 w-full",disabled:"",
onMousedown:r[0]||(r[0]=Xs((()=>{}),["prevent"])),
onTouchend:r[1]||(r[1]=Xs((()=>{}),["prevent"]))},{default:Ar((()=>[di(Vn(oY),{
class:"inline-flex",icon:"Delete",size:"md",thickness:"1.5"
}),r[5]||(r[5]=ui("span",null,"Delete",-1))])),_:1})])),
content:Ar((()=>r[6]||(r[6]=[ui("div",{
class:"grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 z-context p-2 text-xxs leading-5 z-10 text-c-1"
},[ui("div",{class:"flex items-center text-c-2"
},[ui("span",null,"Only workspace cannot be deleted.")])],-1)]))),_:1
})):(ei(),ai(Vn(y1),{key:1,class:"flex !gap-2",
onMousedown:Xs((e=>f(n)),["prevent"]),onTouchend:Xs((e=>f(n)),["prevent"])},{
default:Ar((()=>[di(Vn(oY),{class:"inline-flex",icon:"Delete",size:"sm",
thickness:"1.5"}),r[7]||(r[7]=ui("span",null,"Delete",-1))])),_:2
},1032,["onMousedown","onTouchend"]))])),default:Ar((()=>[di(Vn(BB),{
class:"px-0.5 py-0 hover:bg-b-3 group-hover/item:flex aspect-square ml-auto -mr-1 h-fit",
size:"sm",type:"button",variant:"ghost"},{default:Ar((()=>[di(Vn(oY),{
icon:"Ellipses",size:"sm"})])),_:1})])),_:2},1024)]})),_:2
},1032,["onClick"])))),128)),di(Vn(m1)),di(Vn(y1),{
class:"flex items-center gap-1.5",onClick:s},{
default:Ar((()=>[ui("div",OAe,[di(Vn(oY),{icon:"Add",size:"sm"
})]),r[8]||(r[8]=ui("span",null,"Create Workspace",-1))])),_:1})])),
default:Ar((()=>[di(Vn(BB),{
class:"font-normal h-full justify-start line-clamp-1 py-1.5 px-1.5 text-c-1 hover:bg-b-2 w-fit",
fullWidth:"",variant:"ghost"},{default:Ar((()=>{var e
;return[ui("div",vAe,[ui("h2",bAe,ht(null==(e=Vn(t))?void 0:e.name),1)])]})),_:1
})])),_:1})]),di(Vn(k1),{size:"xxs",state:Vn(d),title:"Delete workspace"},{
default:Ar((()=>[di(bxe,{variableName:l.value,
warningMessage:"This cannot be undone. You’re about to delete the workspace and everything inside it.",
onClose:r[2]||(r[2]=e=>Vn(d).hide()),onDelete:m},null,8,["variableName"])])),_:1
},8,["state"]),di(Vn(k1),{size:"xxs",state:Vn(u),title:"Rename Workspace"},{
default:Ar((()=>[di(QCe,{name:l.value,onClose:r[3]||(r[3]=e=>Vn(u).hide()),
onEdit:h},null,8,["name"])])),_:1},8,["state"])]))}}),xAe={
class:"flex items-center h-[48px] px-3 top-0 bg-b-1 sticky z-20"},kAe={key:1,
class:"text-c-3"},SAe={
class:"search-button-fade sticky px-3 py-2.5 z-10 pt-0 top-[48px] focus-within:z-20",
role:"search"},_Ae={key:1,class:"contents"},EAe={
class:"empty-sidebar-item-content px-2.5 py-2.5"},TAe={
class:"w-[60px] h-[68px] m-auto rabbit-ascii mt-2 relative"},CAe=no({
__name:"RequestSidebar",props:{isSidebarOpen:{type:Boolean}},
emits:["update:modelValue","update:isSidebarOpen","newTab","clearDrafts"],
setup(e,{emit:t}){
const n=e,r=t,{layout:o}=y3(),a=M1(),{activeWorkspaceCollections:i,activeRequest:s,activeWorkspaceRequests:l,activeWorkspace:c}=q1(),{findRequestParents:u,isReadOnly:d,events:p,requestMutators:h,requests:f}=a,{handleDragEnd:m,isDroppable:g}=function(e,{collections:t,collectionMutators:n,isReadOnly:r,tags:o,tagMutators:a,workspaceMutators:i}){
function s(e,r){t[e]?n.edit(e,"children",r):o[e]&&a.edit(e,"children",r)}return{
handleDragEnd:function(r,l){var c,u,d,p;if(!r||!l)return
;const{id:h,parentId:f}=r,{id:m,parentId:g,offset:v}=l
;if(f?t[f]?n.edit(f,"children",t[f].children.filter((e=>e!==h))):o[f]&&a.edit(f,"children",o[f].children.filter((e=>e!==h))):i.edit((null==(c=e.value)?void 0:c.uid)??"","collections",(null==(u=e.value)?void 0:u.collections.filter((e=>e!==h)))??[]),
2===v){const e=t[m]||o[m];s(m,[...(null==e?void 0:e.children)??[],h])
}else if(g){
const e=t[g]||o[g],n=[...(null==e?void 0:e.children)??[]],r=n.findIndex((e=>m===e))??0
;n.splice(r+v,0,h),s(g,n)}else{
const t=[...(null==(d=e.value)?void 0:d.collections)??[]],n=t.findIndex((e=>m===e))??0
;t.splice(n+v,0,h),i.edit((null==(p=e.value)?void 0:p.uid)??"","collections",t)}
},isDroppable:(e,n)=>{var o,a
;return!(r||!t[e.id]&&2!==n.offset||t[e.id]&&"Drafts"===(null==(a=null==(o=t[n.id])?void 0:o.info)?void 0:a.title))
}}
}(c,a),{collapsedSidebarFolders:v,setCollapsedSidebarFolder:b}=JCe(),{replace:y}=o3(),O=()=>{
p.commandPalette.emit({commandName:"Import from OpenAPI/Swagger/Postman"})
},w=ro(),{toast:x}=VU(),k=An({open:!1}),S=Fn(!1);Ma(s,(e=>{
e&&u(e).forEach((e=>b(e,!0)))}),{immediate:!0})
;const{searchText:_,searchResultsWithPlaceholderResults:E,selectedSearchResult:T,onSearchResultClick:C,fuseSearch:A,searchInputRef:P,searchResultRefs:D,navigateSearchResults:R,selectSearchResult:$}=pxe(),N=e=>{
var t
;e&&(e.toggleSidebar&&r("update:isSidebarOpen",n.isSidebarOpen),e.focusRequestSearch&&(null==(t=P.value)||t.focus()))
};go((()=>p.hotKeys.on(N))),yo((()=>{p.hotKeys.off(N)}));const M=e=>{
if(null!=e&&e.documentUrl){e.watchMode=!e.watchMode
;const t=i.value.find((t=>t.uid===e.entity.uid));t&&(t.watchMode=e.watchMode)}}
;Ma((()=>i.value.map((e=>e.watchMode))),((e,t)=>{e.forEach(((e,n)=>{var r
;if(!d&&e!==t[n]){const t=i.value[n];if(!t)return
;const o=`${null==(r=t.info)?void 0:r.title}: Watch Mode ${e?"enabled":"disabled"}`
;x(o,"info")}}))}));const I=Bi((()=>{var e;const t=E.value[T.value]
;return null!=(e=null==t?void 0:t.item)&&e.id?`#search-input-${t.item.id}`:void 0
})),L=()=>{var e,t;const n=i.value.find((e=>{var t
;return"Drafts"===(null==(t=e.info)?void 0:t.title)}))
;if(n&&n.requests.forEach((e=>{f[e]&&h.delete(f[e],n.uid)})),l.value.length){
const e=i.value[0],n=null==e?void 0:e.requests[0]
;n&&y(`/workspace/${null==(t=c.value)?void 0:t.uid}/request/${n}`)}else{
const{request:t}=wj()
;n&&(h.add(t,n.uid),y(`/workspace/${null==(e=c.value)?void 0:e.uid}/request/${t.uid}`))
}},j=()=>{S.value=!S.value,S.value||(_.value=""),S.value&&yr((()=>{var e
;null==(e=P.value)||e.focus()}))};return(e,t)=>(ei(),oi(Wa,null,[Pr(di(Vn(vye),{
class:it([e.isSidebarOpen?"sidebar-active-width":""]),
isSidebarOpen:e.isSidebarOpen,
"onUpdate:isSidebarOpen":t[9]||(t[9]=t=>e.$emit("update:isSidebarOpen",t))},Ro({
content:Ar((()=>[ui("div",xAe,[di(LOe,{class:it(["xl:hidden",[{
"!flex":"modal"===Vn(o)}]]),modelValue:e.isSidebarOpen,
"onUpdate:modelValue":t[0]||(t[0]=t=>e.$emit("update:isSidebarOpen",t))
},null,8,["class","modelValue"]),Vn(d)?gi("",!0):(ei(),ai(Vn(wAe),{key:0
})),Vn(d)?gi("",!0):(ei(),oi("span",kAe," / ")),Vn(d)?gi("",!0):(ei(),ai(dxe,{
key:2})),ui("button",{class:"ml-auto",type:"button",onClick:j},[di(Vn(oY),{
class:"text-c-3 text-sm hover:bg-b-2 p-1.75 rounded-lg max-w-8 max-h-8",
icon:"Search"})])]),Pr(ui("div",SAe,[di(Vn(E1),{ref_key:"searchInputRef",ref:P,
modelValue:Vn(_),"onUpdate:modelValue":t[1]||(t[1]=e=>Qn(_)?_.value=e:null),
"aria-activedescendant":I.value,"aria-controls":Vn(w),sidebar:"",onInput:Vn(A),
onKeydown:[t[2]||(t[2]=Ys(Xs((e=>Vn(R)("down")),["stop"]),["down"])),t[3]||(t[3]=Ys(Xs((e=>Vn($)()),["stop"]),["enter"])),t[4]||(t[4]=Ys(Xs((e=>Vn(R)("up")),["stop"]),["up"]))]
},null,8,["modelValue","aria-activedescendant","aria-controls","onInput"])],512),[[hs,S.value]]),ui("div",{
class:it(["flex flex-1 flex-col overflow-visible px-3 pb-3 pt-0",{"pb-14":!Vn(d)
}]),onDragenter:t[7]||(t[7]=Xs((()=>{}),["prevent"])),
onDragover:t[8]||(t[8]=Xs((()=>{}),["prevent"]))},[Vn(_)?(ei(),ai(Vn(t1),{key:0,
id:Vn(w),"aria-label":"Search Results",class:"gap-px",noResults:!Vn(E).length},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(Vn(E),((e,n)=>(ei(),ai(Vn(c1),{
id:`#search-input-${e.item.id}`,key:e.refIndex,ref_for:!0,ref:e=>Vn(D)[n]=e,
active:Vn(T)===n,class:"px-2",href:e.item.link,
onClick:Xs((t=>Vn(C)(e)),["prevent"]),onFocus:e=>T.value=n},{
addon:Ar((()=>[t[11]||(t[11]=ui("span",{class:"sr-only"
},"HTTP Method:",-1)),di(qbe,{class:"font-bold",method:e.item.httpVerb??"get"
},null,8,["method"])])),default:Ar((()=>[fi(ht(e.item.title)+" ",1)])),_:2
},1032,["id","active","href","onClick","onFocus"])))),128))])),_:1
},8,["id","noResults"])):(ei(),oi("nav",_Ae,[(ei(!0),oi(Wa,null,Do(Vn(i),(e=>{
var n;return ei(),ai(mAe,{key:e.uid,
isDraggable:!Vn(d)&&"Drafts"!==(null==(n=e.info)?void 0:n.title),
isDroppable:Vn(g),menuItem:k,parentUids:[],uid:e.uid,
onNewTab:t[5]||(t[5]=(e,t)=>r("newTab",{name:e,uid:t})),onOnDragEnd:Vn(m),
onOpenMenu:t[6]||(t[6]=e=>Object.assign(k,e))},{leftIcon:Ar((()=>{var t
;return["Drafts"===(null==(t=e.info)?void 0:t.title)?(ei(),ai(Vn(oY),{key:0,
class:"text-sidebar-c-2 group-hover:hidden",icon:"Scribble",thickness:"2.25"
})):(ei(),ai(Vn(NCe),{key:1,
class:"min-w-3.5 text-sidebar-c-2 size-3.5 stroke-2 group-hover:hidden",
src:e["x-scalar-icon"]||"interface-content-folder"},null,8,["src"])),ui("div",{
class:it({"rotate-90":Vn(v)[e.uid]})},[di(Vn(oY),{
class:"text-c-3 hidden text-sm group-hover:block",icon:"ChevronRight",size:"md"
})],2)]})),_:2
},1032,["isDraggable","isDroppable","menuItem","uid","onOnDragEnd"])
})),128))]))],34)])),button:Ar((()=>[ui("div",{class:it({
"empty-sidebar-item":Vn(l).length<=1})},[ui("div",EAe,[ui("div",TAe,[di(fwe,{
art:Vn('         ,\\\n         \\\\\\,_\n          \\` ,\\\n     __,.-" =__)\n   ."        )\n,_/   ,    \\/\\_\n\\_| )_-\\ \\_-`\n   `-----` `--`'),
class:"font-bold rabbitsit"},null,8,["art"]),di(fwe,{
art:Vn('         __\n        // \\,_\n          \\` ,\\\n     __,.-" =__)\n   ."        )\n,_/   ,    \\/\\ \n\\_| // /  /  /\n   /  /    '),
class:"font-bold absolute top-0 left-0 rabbitjump"
},null,8,["art"])]),t[12]||(t[12]=ui("div",{
class:"text-center text-balance text-sm mb-2 mt-2"},[ui("b",{class:"font-medium"
},"Let's Get Started"),ui("p",{class:"mt-2"
}," Create request, folder, collection or import from OpenAPI/Postman ")],-1))]),Vn(d)?gi("",!0):(ei(),
ai(Vn(BB),{key:0,class:it(["mb-1.5 w-full h-fit hidden opacity-0 p-1.5",{
"flex opacity-100":Vn(l).length<=1}]),onClick:O},{
default:Ar((()=>t[13]||(t[13]=[fi(" Import Collection ")]))),_:1
},8,["class"])),Vn(d)?gi("",!0):(ei(),ai(hxe,{key:1,
click:Vn(p).commandPalette.emit,hotkey:"K"},{
title:Ar((()=>t[14]||(t[14]=[fi("Add Item")]))),_:1},8,["click"]))],2)])),_:2
},[Vn(d)?void 0:{name:"header",fn:Ar((()=>[])),key:"0"
}]),1032,["class","isSidebarOpen"]),[[hs,e.isSidebarOpen]]),!Vn(d)&&k?(ei(),
ai(zCe,{key:0,menuItem:k,onClearDrafts:L,
onCloseMenu:t[10]||(t[10]=e=>k.open=!1),onToggleWatchMode:M
},null,8,["menuItem"])):gi("",!0)],64))}
}),AAe=g3(CAe,[["__scopeId","data-v-e3a9520b"]]),PAe={class:"flex h-full"},DAe={
class:"flex flex-1 flex-col h-full"},RAe=no({__name:"Request",emits:["newTab"],
setup(e){
const t=M1(),{toast:n}=VU(),{layout:r}=y3(),{activeCollection:o,activeExample:a,activeEnvironment:i,activeRequest:s,activeWorkspace:l,activeServer:c,activeWorkspaceCollections:u}=q1(),{cookies:d,isReadOnly:p,modalState:h,requestHistory:f,showSidebar:m,securitySchemes:g,requestMutators:v,serverMutators:b,servers:y,events:O}=t,w=Fn(!p),x=Fn(),k=Fn(),S=Fn(""),_=o3(),E=Bi((()=>f.findLast((e=>{
var t;return e.request.uid===(null==(t=a.value)?void 0:t.uid)
})))),{mediaQueries:T}=pye();Ma(T.xl,(e=>w.value=e),{immediate:"modal"!==r})
;const C=Bi((()=>{var e,t
;return(p?null==(e=o.value)?void 0:e.selectedSecuritySchemeUids:null==(t=s.value)?void 0:t.selectedSecuritySchemeUids)??[]
})),A=async()=>{var e,t,r,u;if(!s.value||!a.value||!o.value)return
;const p="object"==typeof i.value?i.value.value:"{}",h=lxe.parse(p)
;h.error&&console.error("INVALID ENVIRONMENT!")
;const m=h.error||"object"!=typeof h.data?{}:h.data??{},v=(null==(e=l.value)?void 0:e.cookies.map((e=>d[e])).filter(ER))??[],b="Drafts"===(null==(r=null==(t=o.value)?void 0:t.info)?void 0:r.title)?void 0:c.value,[y,w]=wme({
request:s.value,example:a.value,selectedSecuritySchemeUids:C.value,
proxyUrl:(null==(u=l.value)?void 0:u.proxyUrl)??"",environment:m,
globalCookies:v,status:O.requestStatus,securitySchemes:g,server:b})
;if(y)return void n(y.message,"error");x.value=w.controller
;const[k,S]=await w.sendRequest();k?n(k.message,"error"):f.push(S)},P=async()=>{
var e;return null==(e=x.value)?void 0:e.abort(fj)}
;function D({requestName:e,collectionUid:t}){var n,r,o,a,i,s,c
;if(!k.value)return;const d=u.value.find((e=>e.uid===t));if(!d)return
;const p="Drafts"===(null==(n=null==d?void 0:d.info)?void 0:n.title)
;if(!p&&k.value.servers){const e=Object.values(y).find((e=>{var t,n
;return e.url===(null==(n=null==(t=null==k?void 0:k.value)?void 0:t.servers)?void 0:n[0])
}));S.value=e?e.uid:b.add({url:k.value.servers[0]},d.uid).uid}const f=v.add({
summary:e,
path:p?null==(r=null==k?void 0:k.value)?void 0:r.url:null==(o=null==k?void 0:k.value)?void 0:o.path,
method:null==(a=null==k?void 0:k.value)?void 0:a.method,
parameters:null==(i=null==k?void 0:k.value)?void 0:i.parameters,
selectedServerUid:p?void 0:S.value,
requestBody:null==(s=null==k?void 0:k.value)?void 0:s.requestBody},d.uid)
;f&&null!=(c=l.value)&&c.uid&&_.push(`/workspace/${l.value.uid}/request/${f.uid}`),
h.hide()}function R(e){k.value=Vye(e),h.show()}return go((()=>{
O.executeRequest.on(A),O.cancelRequest.on(P)
})),sxe(),yo((()=>O.executeRequest.off(A))),(e,t)=>{var n
;return ei(),oi(Wa,null,[ui("div",{
class:it(["flex flex-1 flex-col pt-0 h-full bg-b-1 relative z-0 overflow-hidden",{
"!mr-0 !mb-0 !border-0":Vn(p)}])},[ui("div",PAe,[Vn(m)?(ei(),ai(AAe,{key:0,
isSidebarOpen:w.value,onNewTab:t[0]||(t[0]=t=>e.$emit("newTab",t)),
"onUpdate:isSidebarOpen":t[1]||(t[1]=e=>w.value=e)
},null,8,["isSidebarOpen"])):gi("",!0),ui("div",DAe,[di(FOe,{modelValue:w.value,
"onUpdate:modelValue":t[2]||(t[2]=e=>w.value=e),
onHideModal:t[3]||(t[3]=()=>Vn(h).hide()),onImportCurl:R
},null,8,["modelValue"]),di(zye,null,{default:Ar((()=>[Vn(a)?(ei(),ai(Hye,{
key:0,class:it(["flex-1",[w.value?"sidebar-active-hide-layout":""]])},{
default:Ar((()=>{var e;return[di($Oe,{selectedSecuritySchemeUids:C.value
},null,8,["selectedSecuritySchemeUids"]),di(Kwe,{
response:null==(e=E.value)?void 0:e.response},null,8,["response"])]})),_:1
},8,["class"])):gi("",!0)])),_:1})])])],2),k.value?(ei(),ai(Qye,{key:0,
collectionUid:(null==(n=Vn(o))?void 0:n.uid)??"",parsedCurl:k.value,state:Vn(h),
onClose:t[4]||(t[4]=e=>Vn(h).hide()),onImportCurl:D
},null,8,["collectionUid","parsedCurl","state"])):gi("",!0)],64)}}
}),$Ae=g3(RAe,[["__scopeId","data-v-90ff0226"]]),NAe=Object.freeze(Object.defineProperty({
__proto__:null,default:$Ae},Symbol.toStringTag,{value:"Module"})),MAe={
class:"flex flex-col gap-px px-3 pb-[75px]"}
;const IAe=g3({},[["render",function(e,t){
return ei(),oi("ul",MAe,[$o(e.$slots,"default")])}]]),LAe={
class:"absolute flex right-1 opacity-0 group-hover:opacity-100"},jAe=no({
__name:"SidebarListElementActions",props:{variable:{},warningMessage:{},
isCopyable:{type:Boolean},isDeletable:{type:Boolean},isRenameable:{type:Boolean}
},emits:["delete","rename"],setup(e,{emit:t}){const n=t,r=Fn({action:"None",
name:""}),o=w1(),{copyToClipboard:a}=WU();function i(){o.hide(),r.value={
action:"None",name:""}}
return(t,s)=>(ei(),oi(Wa,null,[ui("div",LAe,[t.isCopyable?(ei(),oi("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=>Vn(a)(t.variable.name))},[di(Vn(oY),{
class:"h-3 w-3",icon:"Clipboard"
})])):gi("",!0),t.isRenameable?(ei(),oi("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=>n("rename",t.variable.uid))},[di(Vn(oY),{class:"h-3 w-3",
icon:"Edit"
})])):gi("",!0),!t.variable.isDefault&&t.isDeletable?(ei(),oi("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]=Xs((t=>function(t){r.value={action:t,name:e.variable.name
},o.show()}("Delete")),["prevent"]))},[di(Vn(oY),{class:"h-3.5 w-3.5",
icon:"Close"})])):gi("",!0)]),di(Vn(k1),{size:"sm",state:Vn(o),
title:`${r.value.action} ${r.value.name}`},{
default:Ar((()=>["Delete"===r.value.action?(ei(),ai(bxe,{key:0,
variableName:r.value.name,warningMessage:t.warningMessage,onClose:i,
onDelete:s[3]||(s[3]=e=>function(e){n("delete",e),i()}(t.variable.uid))
},null,8,["variableName","warningMessage"])):gi("",!0)])),_:1
},8,["state","title"])],64))}}),BAe={class:"empty-variable-name text-sm"
},UAe=no({__name:"SidebarListElement",props:{variable:{},collectionId:{},
warningMessage:{},isDeletable:{type:Boolean},isCopyable:{type:Boolean},
isRenameable:{type:Boolean},type:{}},emits:["delete","colorModal","rename"],
setup(e,{emit:t}){const n=e,r=t,o=o3(),{activeWorkspace:a}=q1(),i=e=>{
r("delete",e)},s=e=>{r("rename",e)};return(e,t)=>{var l,c
;const u=Eo("router-link");return ei(),oi("li",null,[di(u,{
class:it(["h-8 text-c-2 hover:bg-b-2 group relative block flex items-center gap-1.5 rounded py-1 pr-1.5 font-medium no-underline",[e.variable.color?"pl-1":"pl-1.5"]]),
exactActiveClass:"active-link",
to:e.collectionId?`/workspace/${null==(l=Vn(a))?void 0:l.uid}/${e.type}/${e.collectionId}/${e.variable.uid}`:`/workspace/${null==(c=Vn(a))?void 0:c.uid}/${e.type}/${e.variable.uid}`,
onClick:t[1]||(t[1]=Xs((t=>((e,t,r)=>{var i
;const s=null==(i=a.value)?void 0:i.uid,l=n.type,c=r?`/workspace/${s}/${l}/${r||void 0}/${t}`:`/workspace/${s}/${l}/${t}`
;e.metaKey?window.open(c,"_blank"):o.push({path:c})
})(t,e.variable.uid,e.collectionId)),["prevent"]))},{
default:Ar((()=>[e.variable.color?(ei(),oi("button",{key:0,
class:"hover:bg-b-3 rounded p-1.5",type:"button",onClick:t[0]||(t[0]=t=>(e=>{
r("colorModal",e)})(e.variable.uid))},[ui("div",{class:"h-2.5 w-2.5 rounded-xl",
style:tt({backgroundColor:e.variable.color})
},null,4)])):gi("",!0),e.variable.icon?(ei(),ai(Vn(oY),{key:1,
class:"text-sidebar-c-2 size-3.5 stroke-[2.25]",icon:e.variable.icon
},null,8,["icon"])):gi("",!0),ui("span",BAe,ht(e.variable.name),1),di(jAe,{
isCopyable:e.isCopyable,isDeletable:e.isDeletable,isRenameable:e.isRenameable,
variable:{...e.variable,isDefault:e.variable.isDefault??!1},
warningMessage:e.warningMessage,onDelete:i,onRename:s
},null,8,["isCopyable","isDeletable","isRenameable","variable","warningMessage"])])),
_:1},8,["class","to"])])}}
}),QAe=g3(UAe,[["__scopeId","data-v-4713d7d0"]]),FAe=["onClick"],zAe=["placeholder"],qAe=no({
__name:"EnvironmentColors",props:{activeColor:{},selector:{type:Boolean,
default:!1}},emits:["select"],setup(e,{emit:t}){
const n=e,r=t,o=Fn(""),a=Fn(null),i=Fn(!1),s=Fn(!1),l=[{color:"#8E8E8E"},{
color:"#EF0006"},{color:"#EDBE20"},{color:"#069061"},{color:"#FB892C"},{
color:"#0082D0"},{color:"#5203D1"},{color:"#FFC0CB"
}],c=Bi((()=>n.activeColor&&!l.some((e=>e.color===n.activeColor))||o.value?`background-color: ${n.activeColor||o.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,n.selector&&(s.value=!1),yr((()=>{a.value&&a.value.focus()}))}
;Ma(o,(e=>{e&&!e.startsWith("#")&&(o.value=`#${e}`),i.value=!0}));const d=()=>{
n.selector&&(s.value=!s.value)},p=e=>{r("select",e),n.selector&&(s.value=!1)}
;return(e,t)=>(ei(),oi("div",null,[i.value?gi("",!0):(ei(),oi(Wa,{key:0
},[n.selector&&!s.value?(ei(),oi("div",{key:0,
class:it(["flex cursor-pointer items-center justify-center rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),
style:tt({backgroundColor:e.activeColor}),onClick:d
},[e.activeColor?(ei(),ai(Vn(oY),{key:0,
class:it(["text-c-btn",n.selector&&"p-0.5"]),icon:"Checkmark",size:"xs"
},null,8,["class"])):gi("",!0)],6)):gi("",!0),s.value||!n.selector?(ei(),
oi("div",{key:1,
class:it(["color-selector flex flex-row gap-1.5 items-center justify-between space-x-1",n.selector?"h-4":"min-h-10 min-w-[296px]"])
},[(ei(),oi(Wa,null,Do(l,(t=>ui("div",{key:t.color,
class:it(["flex cursor-pointer items-center justify-center rounded-full",n.selector?"h-4 w-4":"h-5 w-5"]),
style:tt({backgroundColor:t.color}),onClick:e=>p(t.color)
},[e.activeColor!==t.color||o.value?gi("",!0):(ei(),ai(Vn(oY),{key:0,
class:it(["text-c-btn",n.selector&&"p-0.5"]),icon:"Checkmark",size:"xs"
},null,8,["class"]))],14,FAe))),64)),t[2]||(t[2]=ui("hr",{
class:"w-0.5 h-5 border-ghost border-l"},null,-1)),ui("label",{
class:it(["cursor-pointer flex flex-row justify-center gap-2 items-center rounded-full z-10",n.selector?"h-4 w-4":"h-5 w-5"]),
style:tt(c.value),onClick:u
},[i.value||e.activeColor!==o.value&&(!e.activeColor||l.some((t=>t.color===e.activeColor)))?gi("",!0):(ei(),
ai(Vn(oY),{key:0,class:"text-c-btn",icon:"Checkmark",size:"xs"
}))],6)],2)):gi("",!0)],64)),i.value?(ei(),oi("div",{key:1,
class:it(["color-selector flex flex-1 gap-2 items-center rounded",n.selector?"h-4":"min-h-10"])
},[ui("span",{
class:it(["absolute border border-dashed rounded-full",n.selector?"h-4 w-4":"h-5 w-5"])
},null,2),ui("span",{
class:it(["rounded-full z-[1]",n.selector?"h-4 w-4":"h-5 w-5"]),
style:tt(c.value)},null,6),Pr(ui("input",{ref_key:"customColorInputRef",ref:a,
"onUpdate:modelValue":t[0]||(t[0]=e=>o.value=e),
class:"border-transparent flex-1 outline-none w-full text-sm",
placeholder:e.activeColor||"#000000",type:"text",
onInput:t[1]||(t[1]=e=>p(o.value))},null,40,zAe),[[Bs,o.value]]),ui("button",{
class:"text-c-3 hover:bg-b-2 p-1.5 rounded-lg",type:"button",onClick:u
},[di(Vn(oY),{icon:"Checkmark",size:"xs"})])],2)):gi("",!0)]))}}),HAe={
class:"flex flex-col gap-4"},VAe=no({__name:"EnvironmentColorModal",props:{
state:{},selectedColor:{}},emits:["cancel","submit"],setup(e,{emit:t}){
const n=e,r=t,o=Fn(""),a=e=>{o.value=e},i=()=>{r("submit",o.value),o.value=""}
;return(e,t)=>(ei(),ai(Vn(k1),{size:"xxs",state:e.state,
title:"Edit Environment Color"},{default:Ar((()=>[ui("div",HAe,[di(qAe,{
activeColor:o.value||n.selectedColor,class:"p-1 w-full",onSelect:a
},null,8,["activeColor"]),di(gxe,{onCancel:t[0]||(t[0]=e=>r("cancel")),
onSubmit:i})])])),_:1},8,["state"]))}}),ZAe={
class:"flex flex-col rounded min-h-20 relative"},WAe={class:"flex gap-2"},XAe={
class:"flex flex-1 max-h-8"},GAe=no({__name:"CommandActionForm",props:{
loading:{},disabled:{type:Boolean}},emits:["submit","cancel","back"],
setup:e=>(e,t)=>(ei(),oi("form",{class:"flex w-full flex-col gap-3",
onKeydown:t[0]||(t[0]=Ys(Xs((()=>{}),["stop"]),["enter"])),
onSubmit:t[1]||(t[1]=Xs((t=>e.$emit("submit")),["prevent","stop"]))
},[ui("div",ZAe,[$o(e.$slots,"default")]),ui("div",WAe,[ui("div",XAe,[$o(e.$slots,"options")]),di(Vn(BB),{
class:"max-h-8 text-xs p-0 px-3",disabled:e.disabled,loading:e.loading,
type:"submit"},{
default:Ar((()=>[$o(e.$slots,"submit",{},(()=>[t[2]||(t[2]=fi("Continue"))]))])),
_:3},8,["disabled","loading"])])],32))}),YAe=["placeholder"],KAe=no({
inheritAttrs:!1,__name:"CommandActionInput",props:{modelValue:{},placeholder:{}
},emits:["update:modelValue","onDelete"],setup(e,{emit:t}){
const n=e,r=t,o=Fn(null);go((()=>yr((()=>{var e
;return null==(e=o.value)?void 0:e.focus()}))));const a=Bi({
get:()=>n.modelValue??"",set:e=>r("update:modelValue",e)})
;return(e,t)=>Pr((ei(),oi("textarea",Oi({ref_key:"input",ref:o,
"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),
class:"border-none outline-none flex-1 w-full pl-8 text-sm min-h-8 py-1.5 resize-none",
placeholder:n.placeholder,wrap:"hard"},e.$attrs,{
onKeydown:[t[1]||(t[1]=Ys((e=>function(e){
""===a.value&&(e.preventDefault(),e.stopPropagation(),r("onDelete",e))
}(e)),["delete"])),t[2]||(t[2]=Ys((e=>function(e){var t
;if(e.shiftKey||!e.target)return;e.preventDefault()
;const n=e.target,r=new Event("submit",{cancelable:!0})
;null==(t=n.form)||t.dispatchEvent(r)}(e)),["enter"]))]
}),null,16,YAe)),[[Bs,a.value]])}}),JAe={class:"flex gap-2 items-start"
},ePe=no({__name:"EnvironmentModal",props:{state:{},
activeWorkspaceCollections:{},collectionId:{}},emits:["cancel","submit"],
setup(e,{emit:t}){
const n=e,r=t,{events:o}=M1(),a=Fn(""),i=Fn("#8E8E8E"),s=Bi((()=>[...n.activeWorkspaceCollections.filter((e=>{
var t;return"Drafts"!==(null==(t=e.info)?void 0:t.title)})).map((e=>{var t
;return{id:e.uid,label:(null==(t=e.info)?void 0:t.title)??"Untitled Collection"}
}))])),l=Fn(s.value.find((e=>e.id===n.collectionId))),{toast:c}=VU(),u=e=>{
i.value=e};Ma((()=>n.state.open),(e=>{
e&&(a.value="",i.value="#8E8E8E",n.collectionId?l.value=s.value.find((e=>e.id===n.collectionId)):l.value=void 0)
}));const d=()=>{var e,t,n,o;null!=(e=l.value)&&e.id?r("submit",{name:a.value,
color:i.value,
type:"global"===(null==(t=l.value)?void 0:t.id)?"global":"collection",
collectionId:"global"!==(null==(n=l.value)?void 0:n.id)?null==(o=l.value)?void 0:o.id:void 0
}):c("Please select a collection before adding an environment.","error")
},p=()=>{n.state.hide(),o.commandPalette.emit({commandName:"Create Collection"})
};return(e,t)=>(ei(),ai(Vn(k1),{bodyClass:"!border-t-0 !rounded-t-lg",size:"xs",
state:e.state},{default:Ar((()=>[di(GAe,{disabled:!l.value,
onCancel:t[2]||(t[2]=e=>r("cancel")),onSubmit:d},{options:Ar((()=>[di(Vn(Y0),{
modelValue:l.value,"onUpdate:modelValue":t[1]||(t[1]=e=>l.value=e),
options:s.value,placeholder:"Select Type"},{
default:Ar((()=>[s.value.length>0?(ei(),ai(Vn(BB),{key:0,
class:"justify-between p-2 max-h-8 w-full gap-1 text-xs hover:bg-b-2 w-fit",
variant:"outlined"},{default:Ar((()=>[ui("span",{
class:it(l.value?"text-c-1":"text-c-3")
},ht(l.value?l.value.label:"Select Collection"),3),di(Vn(oY),{class:"text-c-3",
icon:"ChevronDown",size:"xs"})])),_:1})):(ei(),ai(Vn(BB),{key:1,
class:"justify-between p-2 max-h-8 gap-1 text-xs hover:bg-b-2",
variant:"outlined",onClick:p},{default:Ar((()=>t[3]||(t[3]=[ui("span",{
class:"text-c-1"},"Create Collection",-1)]))),_:1}))])),_:1
},8,["modelValue","options"])])),
submit:Ar((()=>t[4]||(t[4]=[fi("Add Environment")]))),
default:Ar((()=>[ui("div",JAe,[di(qAe,{activeColor:i.value,class:"peer",
selector:"",onSelect:u},null,8,["activeColor"]),di(KAe,{modelValue:a.value,
"onUpdate:modelValue":t[0]||(t[0]=e=>a.value=e),
class:"!p-0 peer-has-[.color-selector]:hidden -mt-[.5px]",
placeholder:"Environment name"},null,8,["modelValue"])])])),_:1
},8,["disabled"])])),_:1},8,["state"]))}}),tPe={class:"flex-1"
},nPe=["onClick"],rPe={class:"flex h-5 items-center justify-center max-w-[14px]"
},oPe=no({__name:"Environment",setup(e){
const t=o3(),n=a3(),{activeWorkspace:r,activeEnvironment:o,activeWorkspaceCollections:a}=q1(),{events:i,workspaceMutators:s,collectionMutators:l}=M1(),{collapsedSidebarFolders:c,toggleSidebarFolder:u}=JCe(),d=w1(),p=w1(),h=w1(),f=Fn(null),m=Fn("default"),g=Fn(""),v=Fn(void 0),b=Fn(void 0),y=Fn(void 0),{toast:O}=VU()
;function w(e,t,n){var r
;e&&(t.uid===n?O(`Environment name already used in ${null==(r=t.info)?void 0:r.title}`,"error"):O("Environment name already used in another collection","error"))
}function x(e){a.value.some((t=>{
const n=Object.keys(t["x-scalar-environments"]||{}).includes(e.name)
;return w(n,t,e.collectionId),n}))||(e.collectionId&&(l.addEnvironment(e.name,{
variables:{},color:e.color
},e.collectionId),c[e.collectionId]||u(e.collectionId),t.push({
name:"environment.collection",params:{collectionId:e.collectionId,
environmentId:e.name}})),p.hide())}function k(e){var t,n;if(o){
const o=(e=>JSON.parse(e))(e)
;if("default"===m.value)s.edit((null==(t=r.value)?void 0:t.uid)??"","environments",o);else{
const e=a.value.find((e=>{var t
;return null==(t=e["x-scalar-environments"])?void 0:t[m.value??""]}))
;if(null!=(n=null==e?void 0:e["x-scalar-environments"])&&n[m.value??""]){
const t=e["x-scalar-environments"][m.value??""]
;t&&(t.variables=o,l.edit(e.uid,"x-scalar-environments",e["x-scalar-environments"]))
}}}}const S=e=>{v.value=e,p.show()},_=e=>{const t=f.value
;"string"==typeof t&&(a.value.some((e=>{var n
;return null==(n=e["x-scalar-environments"])?void 0:n[t]
}))&&a.value.forEach((n=>{var r
;null!=(r=n["x-scalar-environments"])&&r[t]&&(n["x-scalar-environments"][t].color=e,
l.edit(n.uid,"x-scalar-environments",n["x-scalar-environments"]))})),d.hide())}
;const E=()=>{var e,t,n,o
;return"default"===m.value?JSON.stringify(null==(e=r.value)?void 0:e.environments,null,2):JSON.stringify(null==(o=null==(n=null==(t=a.value.find((e=>{
var t;return null==(t=e["x-scalar-environments"])?void 0:t[m.value??""]
})))?void 0:t["x-scalar-environments"])?void 0:n[m.value??""])?void 0:o.variables,null,2)
},T=e=>c[e],C=e=>{null!=e&&e.createNew&&"environment"===n.name&&S()}
;Ma((()=>[n.params.collectionId,n.params.environmentId]),(([e,t])=>{
m.value=e?t:"default"})),go((()=>{
m.value=n.params.environmentId||"default",i.hotKeys.on(C)
;const{collectionId:e}=t.currentRoute.value.params;e&&!c[e]&&u(e)
})),yo((()=>i.hotKeys.off(C)));function A(){
b.value=void 0,v.value=void 0,y.value=void 0,h.hide()}function P(e){
a.value.some((t=>{
const n=Object.keys(t["x-scalar-environments"]||{}).includes(e)
;return w(n,t,v.value),n}))||(e&&"default"!==b.value&&a.value.forEach((t=>{var n
;if(null!=(n=t["x-scalar-environments"])&&n[b.value??""]){
const n=t["x-scalar-environments"][b.value??""]
;n&&(delete t["x-scalar-environments"][b.value??""],
t["x-scalar-environments"][e]=n,
l.edit(t.uid,"x-scalar-environments",t["x-scalar-environments"]))}
})),e&&m.value===b.value&&(m.value=e),
b.value=void 0,v.value=void 0,y.value=void 0,h.hide())}
return(e,n)=>(ei(),ai(zye,null,{default:Ar((()=>[di(vye,{title:"Collections"},{
content:Ar((()=>[ui("div",tPe,[di(IAe,null,{default:Ar((()=>[(ei(),ai(QAe,{
key:"default",class:"text-xs",isCopyable:!1,type:"environment",variable:{
name:"Global Environment",uid:"default",icon:"Globe",isDefault:!0}
})),(ei(!0),oi(Wa,null,Do(Vn(a),(e=>{var r;return ei(),oi("div",{key:e.uid,
class:"flex flex-col gap-0.25"},[ui("button",{
class:"flex font-medium gap-1.5 group items-center p-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
type:"button",onClick:t=>Vn(u)(e.uid)},[ui("span",rPe,[di(Vn(NCe),{
class:"min-w-3.5 text-sidebar-c-2 size-3.5 stroke-2 group-hover:hidden",
src:e["x-scalar-icon"]||"interface-content-folder"},null,8,["src"]),ui("div",{
class:it({"rotate-90":Vn(c)[e.uid]})},[di(Vn(oY),{
class:"text-c-3 hidden text-sm group-hover:block",icon:"ChevronRight",size:"md"
})],2)]),fi(" "+ht((null==(r=e.info)?void 0:r.title)??""),1)],8,nPe),Pr(ui("div",{
class:it({
"before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-3 before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative":Object.keys(e["x-scalar-environments"]||{}).length>0
})},[(ei(!0),oi(Wa,null,Do(e["x-scalar-environments"],((n,r)=>(ei(),ai(QAe,{
key:r,class:"text-xs [&>a]:pl-5",collectionId:e.uid,isCopyable:!1,
isDeletable:!0,isRenameable:!0,type:"environment",variable:{name:r,uid:r,
color:n.color??"#8E8E8E",isDefault:!1},
warningMessage:"Are you sure you want to delete this environment?",
onClick:Xs((n=>((e,n,r)=>{
const o=r?`/workspace/default/environment/${r}/${n}`:`/workspace/default/environment/${n}`
;e.metaKey?window.open(o,"_blank"):t.push({path:o})})(n,r,e.uid)),["prevent"]),
onColorModal:e=>(e=>{var t,n,r
;f.value=e,g.value=(null==(r=null==(n=null==(t=a.value.find((t=>{var n
;return null==(n=t["x-scalar-environments"])?void 0:n[e]
})))?void 0:t["x-scalar-environments"])?void 0:n[e])?void 0:r.color)??"",
d.show()})(r),onDelete:e=>function(e){a.value.forEach((t=>{
l.removeEnvironment(e,t.uid)}))
;const n=a.value.flatMap((e=>Object.keys(e["x-scalar-environments"]||{})))
;if(n.length>0){const e=n[n.length-1];if(!e)return
;const r=a.value.find((t=>Object.keys(t["x-scalar-environments"]||{}).includes(e)))
;m.value=e,t.push({name:"environment.collection",params:{
collectionId:null==r?void 0:r.uid,environmentId:e}}),r&&!c[r.uid]&&u(r.uid)
}else m.value="default",t.push({name:"environment",params:{environment:"default"
}})}(r),onRename:t=>((e,t)=>{b.value=e,v.value=t,y.value=e,h.show()})(r,e.uid)
},null,8,["collectionId","variable","onClick","onColorModal","onDelete","onRename"])))),128)),0===Object.keys(e["x-scalar-environments"]||{}).length?(ei(),
ai(Vn(BB),{key:0,
class:"mb-[.5px] flex gap-1.5 h-8 text-c-1 pl-6 py-0 justify-start text-xs w-full hover:bg-b-2",
variant:"ghost",onClick:t=>S(e.uid)},{default:Ar((()=>[di(Vn(oY),{
class:"ml-0.5 h-2.5 w-2.5",icon:"Add",thickness:"3"
}),n[2]||(n[2]=ui("span",null,"Add Environment",-1))])),_:2
},1032,["onClick"])):gi("",!0)],2),[[hs,T(e.uid)]])])})),128))])),_:1})])])),
button:Ar((()=>[di(hxe,{click:S,hotkey:"N"},{
title:Ar((()=>n[3]||(n[3]=[fi("Add Environment")]))),_:1})])),_:1}),di(Hye,{
class:"flex-1"},{default:Ar((()=>[di(nOe,null,Ro({
default:Ar((()=>[m.value?(ei(),ai(_pe,{key:0,class:"pl-px pr-2 md:px-4 py-2",
isCopyable:"",language:"json",lineNumbers:"",lint:"",modelValue:E(),
"onUpdate:modelValue":k},null,8,["modelValue"])):gi("",!0)])),_:2},[m.value?{
name:"title",
fn:Ar((()=>[ui("span",null,ht("default"===m.value?"Global Environment":m.value),1)])),
key:"0"}:void 0]),1024)])),_:1}),di(VAe,{selectedColor:g.value,state:Vn(d),
onCancel:n[0]||(n[0]=e=>Vn(d).hide()),onSubmit:_
},null,8,["selectedColor","state"]),di(ePe,{activeWorkspaceCollections:Vn(a),
collectionId:v.value,state:Vn(p),onCancel:n[1]||(n[1]=e=>Vn(p).hide()),
onSubmit:x
},null,8,["activeWorkspaceCollections","collectionId","state"]),di(Vn(k1),{
size:"xxs",state:Vn(h),title:`Edit ${b.value}`},{default:Ar((()=>[di(QCe,{
name:y.value??"",onClose:A,onEdit:P},null,8,["name"])])),_:1
},8,["state","title"])])),_:1}))}}),aPe=(Symbol.toStringTag,{key:0}),iPe={
class:"custom-scroll flex flex-1 flex-col gap-1.5 p-2 md:p-5"},sPe=no({
__name:"Form",props:{title:{},options:{},data:{},onUpdate:{type:Function}},
setup:e=>(e,t)=>(ei(),ai(nOe,null,{
title:Ar((()=>[e.title?(ei(),oi("span",aPe,ht(e.title),1)):$o(e.$slots,"title",{
key:1})])),
default:Ar((()=>[ui("div",iPe,[Object.keys(e.data).length>0?(ei(),ai(Xpe,{key:0,
columns:[""]},{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(e.options,((t,n)=>(ei(),ai(M3,{key:n,
class:it({"border-t":0===n})},{default:Ar((()=>[di(Rpe,{
modelValue:String(e.data[t.key]??""),placeholder:t.placeholder,
"onUpdate:modelValue":n=>e.onUpdate(t.key,n)},{
default:Ar((()=>[fi(ht(t.label),1)])),_:2
},1032,["modelValue","placeholder","onUpdate:modelValue"])])),_:2
},1032,["class"])))),128))])),_:1})):gi("",!0)])])),_:3}))}),lPe={
class:"flex items-center pointer-events-none"},cPe=["value"],uPe=no({
__name:"CookieForm",setup(e){
const{activeCookieId:t}=q1(),{cookies:n,cookieMutators:r}=M1(),o=[{label:"Key",
key:"key",placeholder:"Username"},{label:"Value",key:"value",placeholder:"123"
},{label:"Domain",key:"domain",placeholder:"scalar.com"},{label:"Path",
key:"path",placeholder:"/"},{label:"Expires",key:"expires",
placeholder:"Tomorrow"},{label:"Secure",key:"secure",placeholder:"True/False"},{
label:"HttpOnly",key:"httpOnly",placeholder:"True/False"
}],a=Bi((()=>n[t.value]||{value:"",uid:"",name:"",sameSite:"Lax"})),i=(e,n)=>{
t.value&&r.edit(t.value,e,n)};return(e,t)=>(ei(),ai(sPe,{data:a.value,
onUpdate:i,options:o},{title:Ar((()=>[ui("div",lPe,[t[1]||(t[1]=ui("label",{
class:"absolute w-full h-full top-0 left-0 pointer-events-auto opacity-0 cursor-text",
for:"cookiename"},null,-1)),ui("input",{id:"cookiename",
class:"md:pl-1 outline-none border-0 text-c-2 rounded pointer-events-auto relative w-full",
placeholder:"Cookie Name",value:a.value.name,
onInput:t[0]||(t[0]=e=>i("name",e.target.value))},null,40,cPe)])])),_:1
},8,["data"]))}}),dPe=no({__name:"CookieRaw",setup(e){
const{activeCookieId:t}=q1(),{cookies:n}=M1();return(e,r)=>(ei(),ai(nOe,null,{
title:Ar((()=>r[0]||(r[0]=[ui("span",null,"Raw Cookie String",-1)]))),
default:Ar((()=>[Vn(t)&&Vn(n)[Vn(t)]?(ei(),ai(_pe,{key:0,
class:"pl-px pr-2 md:px-2 py-2.5",lineNumbers:"",modelValue:""})):gi("",!0)])),
_:1}))}}),pPe={class:"flex-1"},hPe=["onClick"],fPe={
class:"before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-3 before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative"
},mPe=["onClick"],gPe={
class:"before:bg-border before:pointer-events-none before:z-1 before:absolute before:left-[calc(1.75rem_-1px)] before:top-0 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-[.5px] mb-[.5px] last:mb-0 relative"
},vPe=no({__name:"Cookies",setup(e){
const{cookies:t,cookieMutators:n,events:r}=M1(),{collapsedSidebarFolders:o,toggleSidebarFolder:a}=JCe(),i=o3(),s=a3(),l=()=>{
const e=Object.keys(t).length,r=aj.parse({name:`Cookie ${e}`,value:"",
domain:"example.com",path:"/",secure:!1,httpOnly:!1,sameSite:"None"})
;n.add(r),i.push(r.uid)},c=Bi((()=>{const e={}
;return Object.values(t).forEach((t=>{const n=t.domain??"",r=t.path??""
;e[n]||(e[n]={}),e[n][r]||(e[n][r]=[]),e[n][r].push(t)})),e})),u=e=>o[e],d=e=>{
null!=e&&e.createNew&&"cookies"===s.name&&l()};return go((()=>{
const e=Object.keys(c.value),t=Object.entries(c.value).flatMap((([e,t])=>Object.keys(t).map((t=>e+t))))
;e.forEach((e=>{o[e]=!0})),t.forEach((e=>{o[e]=!0})),r.hotKeys.on(d)
})),yo((()=>r.hotKeys.off(d))),(e,r)=>(ei(),ai(zye,null,{
default:Ar((()=>[di(Vn(vye),{title:"Cookies"},{
content:Ar((()=>[ui("div",pPe,[di(IAe,null,{
default:Ar((()=>[(ei(!0),oi(Wa,null,Do(c.value,((e,r)=>(ei(),oi("div",{key:r,
class:"flex flex-col gap-px"},[ui("button",{
class:"hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded text-left text-sm p-1.5 focus-visible:z-10 hover:bg-sidebar-active-b indent-padding-left",
type:"button",onClick:e=>Vn(a)(r)},[di(Vn(oY),{
class:it(["h-5 -ml-px text-c-3 w-4",{"rotate-90":Vn(o)[r]}]),
icon:"ChevronRight",size:"md"
},null,8,["class"]),ui("span",null,ht(r),1)],8,hPe),Pr(ui("div",fPe,[(ei(!0),
oi(Wa,null,Do(e,((e,s)=>(ei(),oi("div",{key:s,class:"flex flex-col gap-px"
},[ui("button",{
class:"flex gap-1.5 items-center pl-5 pr-2 py-1.5 text-left text-sm w-full break-words rounded hover:bg-b-2",
type:"button",onClick:e=>Vn(a)(r+s)},[di(Vn(oY),{class:it(["-ml-px text-c-3",{
"rotate-90":Vn(o)[r+s]}]),icon:"ChevronRight",size:"md"
},null,8,["class"]),fi(" "+ht(s),1)],8,mPe),Pr(ui("div",gPe,[(ei(!0),
oi(Wa,null,Do(e,(e=>(ei(),ai(QAe,{key:e.uid,class:"cookie text-xs",
type:"cookies",variable:{name:e.name,uid:e.uid},
warningMessage:"Are you sure you want to delete this cookie?",
onClick:Xs((t=>((e,t)=>{const n=`/workspace/default/cookies/${t}`
;e.metaKey?window.open(n,"_blank"):i.push({path:n})})(t,e.uid)),["prevent"]),
onDelete:r=>(e=>{var r;n.delete(e)
;const o=Object.values(t).filter((t=>t.uid!==e));if(o.length>1){
const e=o[o.length-1];e&&i.push(e.uid)
}else 1===o.length&&"default"===(null==(r=o[0])?void 0:r.uid)&&i.push("default")
})(e.uid)
},null,8,["variable","onClick","onDelete"])))),128))],512),[[hs,u(r+s)]])])))),128))],512),[[hs,u(r)]])])))),128))])),
_:1})])])),button:Ar((()=>[di(hxe,{click:l,hotkey:"N"},{
title:Ar((()=>r[0]||(r[0]=[fi("Add Cookie")]))),_:1})])),_:1}),di(Hye,{
class:"flex-1"},{default:Ar((()=>[di(uPe),di(dPe)])),_:1})])),_:1}))}
}),bPe=(Symbol.toStringTag,{class:"w-full"}),yPe=no({__name:"ServerForm",
setup(e){const{activeCollection:t}=q1(),{servers:n,serverMutators:r}=M1(),o=[{
label:"URL",key:"url",placeholder:"https://void.scalar.com/api"},{label:"Label",
key:"description",placeholder:"Production"}],a=a3(),i=Bi((()=>{var e,r
;return n[(t.value&&"default"===a.params.server?null==(e=t.value)?void 0:e.servers[0]:null==(r=t.value)?void 0:r.servers.find((e=>e===a.params.server)))??""]
})),s=(e,n)=>{!t.value||!i.value||r.edit(i.value.uid,e,n)},l=(e,n)=>{
!t.value||!i.value||r.edit(i.value.uid,`variables.${e}.value`,n)},c=Bi((()=>{
var e
;return Object.entries((null==(e=i.value)?void 0:e.variables)??{}).map((([e,t])=>{
var n;return{key:e,label:e,
placeholder:(t.default??(null==(n=null==t?void 0:t.enum)?void 0:n[0])??"").toString()
}}))})),u=Bi((()=>{var e
;return Object.entries((null==(e=i.value)?void 0:e.variables)??{}).reduce(((e,[t,n])=>{
var r
;return e[t]=(n.default??(null==(r=null==n?void 0:n.enum)?void 0:r[0])??"").toString(),
e}),{})}));return(e,t)=>(ei(),oi("div",bPe,[i.value?(ei(),oi(Wa,{key:0
},[di(sPe,{data:i.value,onUpdate:s,options:o,title:"Server"
},null,8,["data"]),Object.keys(u.value).length?(ei(),ai(sPe,{key:0,data:u.value,
onUpdate:l,options:c.value,title:"Variables"
},null,8,["data","options"])):gi("",!0)],64)):gi("",!0)]))}}),OPe={
class:"flex-1"},wPe=no({__name:"Servers",setup(e){
const{activeCollection:t}=q1(),{servers:n,serverMutators:r}=M1(),{push:o}=o3(),a=()=>{
if(!t.value)return;const e=LL.parse({url:"http://localhost"})
;r.add(e,t.value.uid),o({name:"servers",params:{server:e.uid}})}
;return(e,r)=>(ei(),ai(zye,null,{default:Ar((()=>[di(Vn(vye),{title:"Servers"},{
content:Ar((()=>[ui("div",OPe,[di(IAe,null,{default:Ar((()=>{var e
;return[(ei(!0),oi(Wa,null,Do(null==(e=Vn(t))?void 0:e.servers,(e=>{var t
;return ei(),ai(QAe,{key:e,class:"text-xs",type:"server",variable:{
name:(null==(t=Vn(n)[e])?void 0:t.url)??"",uid:e}},null,8,["variable"])
})),128))]})),_:1})])])),button:Ar((()=>[di(hxe,{click:a},{
title:Ar((()=>r[0]||(r[0]=[fi("Add Server")]))),_:1})])),_:1}),di(Hye,{
class:"flex-1"},{default:Ar((()=>[di(yPe)])),_:1})])),_:1}))}
}),xPe=(Symbol.toStringTag,no({__name:"IntegrationLogo",props:{integration:{}},
setup(e){
const t=e,n=["adonisjs","dotnet","elysiajs","express","fastapi","fastify","go","hono","laravel","litestar","nestjs","nextjs","nitro","nuxt","platformatic","react","rust"],r=Bi((()=>{
var e;const r="Openapi",o=null==(e=t.integration)?void 0:e.toLocaleLowerCase()
;if(!o)return r;const a=o.charAt(0).toUpperCase()+o.slice(1)
;return n.includes(o)?a:r}));return(e,t)=>(ei(),ai(Vn(oY),{
class:"w-full h-full rounded-lg",logo:r.value},null,8,["logo"]))}})),kPe={
class:"flex flex-col gap-2"},SPe={
class:"flex items-center justify-center w-5 h-5 rounded-full border-[1.5px] p-1"
},_Pe={
class:"flex items-center justify-center w-5 h-5 rounded-full border-[1.5px] p-1"
},EPe={
class:"flex items-center justify-center w-5 h-5 rounded-full border-[1.5px] p-1"
},TPe=no({__name:"SettingsAppearance",setup(e){
const{colorMode:t,setColorMode:n}=Qu()
;return(e,r)=>(ei(),oi("div",kPe,[di(Vn(BB),{
class:it(["w-full shadow-none text-c-1 justify-start pl-2 gap-2 border-1/2","system"===Vn(t)?"bg-b-2 text-c-1":"bg-b-1"]),
onClick:r[0]||(r[0]=e=>Vn(n)("system"))},{
default:Ar((()=>[ui("div",SPe,["system"===Vn(t)?(ei(),ai(Vn(oY),{key:0,
icon:"Checkmark",size:"xs",thickness:"3.5"
})):gi("",!0)]),r[3]||(r[3]=fi(" System Preference (default) "))])),_:1
},8,["class"]),di(Vn(BB),{
class:it(["w-full shadow-none text-c-1 justify-start pl-2 gap-2 border-1/2","light"===Vn(t)?"bg-b-2 text-c-1":"bg-b-1"]),
onClick:r[1]||(r[1]=e=>Vn(n)("light"))},{
default:Ar((()=>[ui("div",_Pe,["light"===Vn(t)?(ei(),ai(Vn(oY),{key:0,
icon:"Checkmark",size:"xs",thickness:"3.5"
})):gi("",!0)]),r[4]||(r[4]=fi(" Light Mode Always "))])),_:1
},8,["class"]),di(Vn(BB),{
class:it(["w-full shadow-none text-c-1 justify-start pl-2 gap-2 mb-8 border-1/2","dark"===Vn(t)?"bg-b-2 text-c-1":"bg-b-1"]),
onClick:r[2]||(r[2]=e=>Vn(n)("dark"))},{
default:Ar((()=>[ui("div",EPe,["dark"===Vn(t)?(ei(),ai(Vn(oY),{key:0,
icon:"Checkmark",size:"xs",thickness:"3.5"
})):gi("",!0)]),r[5]||(r[5]=fi(" Dark Mode Always "))])),_:1},8,["class"])]))}
}),CPe={class:"flex flex-col gap-2"},APe={key:0,class:"font-bold"},PPe={key:1,
class:"text-c-2 mb-4 leading-[21px]"},DPe=no({__name:"SettingsSection",
setup:e=>(e,t)=>(ei(),
oi("div",CPe,[e.$slots.title?(ei(),oi("h3",APe,[$o(e.$slots,"title")])):gi("",!0),e.$slots.description?(ei(),
oi("p",PPe,[$o(e.$slots,"description")])):gi("",!0),$o(e.$slots,"default")]))
}),RPe={class:"bg-b-1 w-full h-full overflow-auto"},$Pe={
class:"px-5 py-5 max-w-[720px] ml-auto mr-auto w-full"},NPe={
class:"flex flex-col gap-8"},MPe={class:"flex flex-col gap-2"},IPe={
class:"flex items-center justify-center w-5 h-5 rounded-full border-[1.5px] p-1"
},LPe={
class:"flex items-center justify-center w-5 h-5 rounded-full border-[1.5px] p-1"
},jPe={
class:"flex items-center justify-center w-5 h-5 rounded-full border-[1.5px] p-1"
},BPe={class:"flex flex-col gap-2"},UPe={class:"grid grid-cols-2 gap-2"},QPe={
class:"flex items-center gap-2"},FPe={
class:"flex items-center justify-center w-5 h-5 rounded-full border-[1.5px] p-1"
},zPe={class:"flex items-center gap-1"},qPe={class:"grid grid-cols-2 gap-2"
},HPe={class:"flex items-center gap-2"},VPe={
class:"flex items-center justify-center w-5 h-5 rounded-full border-[1.5px] p-1"
},ZPe={class:"flex items-center gap-1"},WPe={class:"rounded-xl size-7"
},XPe="https://proxy.scalar.com",GPe=no({__name:"SettingsGeneral",setup(e){
const{activeWorkspace:t}=q1(),{proxyUrl:n,workspaceMutators:r}=M1(),o=["default","alternate","purple","solarized","saturn","kepler"],a=["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"},
none:{light:"#ffffff",dark:"#000000",accent:"#3b82f6"}}[e]||{light:"#ffffff",
dark:"#000000",accent:"#3b82f6"}),s=e=>{var n
;r.edit((null==(n=t.value)?void 0:n.uid)??"","themeId",e)}
;return(e,l)=>(ei(),oi("div",RPe,[ui("div",$Pe,[ui("div",NPe,[l[13]||(l[13]=ui("div",null,[ui("h2",{
class:"font-bold text-xl mt-10"},"Settings")],-1)),di(DPe,null,{
title:Ar((()=>l[3]||(l[3]=[fi("CORS Proxy")]))),
description:Ar((()=>l[4]||(l[4]=[fi(" Browsers block cross-origin requests for security. We provide a public proxy to "),ui("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),fi(" . Check the "),ui("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),fi(" . ")]))),default:Ar((()=>{
var e,o,a,i;return[ui("div",MPe,[di(Vn(BB),{
class:it(["w-full shadow-none text-c-1 justify-start pl-2 gap-2 bg-b-1 border-1/2",{
"bg-b-2 text-c-1":(null==(e=Vn(t))?void 0:e.proxyUrl)===XPe}]),
variant:(null==(o=Vn(t))?void 0:o.proxyUrl)===XPe?"primary":"secondary",
onClick:l[0]||(l[0]=e=>{var n
;return Vn(r).edit((null==(n=Vn(t))?void 0:n.uid)??"","proxyUrl",XPe)})},{
default:Ar((()=>[ui("div",IPe,[Vn(t).proxyUrl===XPe?(ei(),ai(Vn(oY),{key:0,
icon:"Checkmark",size:"xs",thickness:"3.5"
})):gi("",!0)]),l[5]||(l[5]=fi(" Use proxy.scalar.com (default) "))])),_:1
},8,["class","variant"]),Vn(n)&&Vn(n)!==XPe?(ei(),ai(Vn(BB),{key:0,
class:"w-full shadow-none text-c-1 justify-start pl-2 gap-2 bg-b-1 border-1/2",
variant:"primary",onClick:l[1]||(l[1]=e=>{var o
;return Vn(r).edit((null==(o=Vn(t))?void 0:o.uid)??"","proxyUrl",Vn(n))})},{
default:Ar((()=>[ui("div",LPe,[Vn(t).proxyUrl===Vn(n)?(ei(),ai(Vn(oY),{key:0,
icon:"Checkmark",size:"xs",thickness:"3.5"
})):gi("",!0)]),fi(" Use custom proxy ("+ht(Vn(n))+") ",1)])),_:1
})):gi("",!0),di(Vn(BB),{
class:it(["w-full shadow-none text-c-1 justify-start pl-2 gap-2 bg-b-1 border-1/2",{
"bg-b-2 text-c-1":!(null!=(a=Vn(t))&&a.proxyUrl)}]),
variant:null!=(i=Vn(t))&&i.proxyUrl?"secondary":"primary",
onClick:l[2]||(l[2]=e=>{var n
;return Vn(r).edit((null==(n=Vn(t))?void 0:n.uid)??"","proxyUrl","")})},{
default:Ar((()=>{var e
;return[ui("div",jPe,[null!=(e=Vn(t))&&e.proxyUrl?gi("",!0):(ei(),ai(Vn(oY),{
key:0,icon:"Checkmark",size:"xs",thickness:"3.5"
}))]),l[6]||(l[6]=fi(" Skip the proxy "))]})),_:1},8,["class","variant"])])]})),
_:1}),di(DPe,null,{title:Ar((()=>l[7]||(l[7]=[fi("Themes")]))),
description:Ar((()=>l[8]||(l[8]=[fi(" We’ve got a whole rainbow of themes for you to play with: ")]))),
default:Ar((()=>[ui("div",BPe,[ui("div",UPe,[(ei(),oi(Wa,null,Do(o,(e=>{var n
;return di(Vn(BB),{key:e,
class:it(["px-2 flex items-center justify-between gap-2 text-c-1 border-1/2",[(null==(n=Vn(t))?void 0:n.themeId)===e?"bg-b-2":"bg-b-1"]]),
variant:"ghost",onClick:t=>s(e)},{default:Ar((()=>{var n,r
;return[ui("div",QPe,[ui("div",{
class:it(["flex items-center justify-center w-5 h-5 rounded-full border-2 border-c-3",{
"bg-primary":(null==(n=Vn(t))?void 0:n.themeId)===e}])
},[ui("div",FPe,[(null==(r=Vn(t))?void 0:r.themeId)===e?(ei(),ai(Vn(oY),{key:0,
icon:"Checkmark",size:"xs",thickness:"3.5"
})):gi("",!0)])],2),fi(" "+ht(Vn(gl)[e]),1)]),ui("div",zPe,[ui("span",{
class:"inline-block w-5 h-5 rounded-full border-c-3 -mr-3",style:tt({
backgroundColor:i(e).light})},null,4),ui("span",{
class:"inline-block w-5 h-5 rounded-full border-c-3 -mr-3",style:tt({
backgroundColor:i(e).dark})},null,4),ui("span",{
class:"inline-block w-5 h-5 rounded-full border-c-3",style:tt({
backgroundColor:i(e).accent})},null,4)])]})),_:2},1032,["class","onClick"])
})),64))])])])),_:1}),di(DPe,null,{
title:Ar((()=>l[9]||(l[9]=[fi("Framework Themes")]))),
description:Ar((()=>l[10]||(l[10]=[fi(" Are you a real fan? Show your support by using your favorite framework’s theme! ")]))),
default:Ar((()=>[ui("div",qPe,[(ei(),oi(Wa,null,Do(a,(e=>{var n
;return di(Vn(BB),{key:e,
class:it(["px-2 flex items-center justify-between gap-2 text-c-1 border-1/2",[(null==(n=Vn(t))?void 0:n.themeId)===e?"bg-b-2":"bg-b-1"]]),
variant:"ghost",onClick:t=>s(e)},{default:Ar((()=>{var n,r
;return[ui("div",HPe,[ui("div",{
class:it(["flex items-center justify-center w-5 h-5 rounded-full border-2 border-c-3",{
"bg-primary":(null==(n=Vn(t))?void 0:n.themeId)===e}])
},[ui("div",VPe,[(null==(r=Vn(t))?void 0:r.themeId)===e?(ei(),ai(Vn(oY),{key:0,
icon:"Checkmark",size:"xs",thickness:"3.5"
})):gi("",!0)])],2),fi(" "+ht(Vn(gl)[e]),1)]),ui("div",ZPe,[ui("div",WPe,[di(xPe,{
integration:e},null,8,["integration"])])])]})),_:2},1032,["class","onClick"])
})),64))])])),_:1}),di(DPe,null,{
title:Ar((()=>l[11]||(l[11]=[fi("Appearance")]))),
description:Ar((()=>l[12]||(l[12]=[fi(" Choose between light, dark, or system-based appearance for your workspace. ")]))),
default:Ar((()=>[di(TPe)])),_:1})])])]))}}),YPe=no({__name:"Settings",setup(e){
const t={general:{component:GPe,title:"general"}},n=Fn("general")
;return(e,r)=>(ei(),ai(zye,null,{default:Ar((()=>[di(Hye,{class:"flex-1"},{
default:Ar((()=>[t[n.value]?(ei(),ai(Co(t[n.value].component),{key:0
})):gi("",!0)])),_:1})])),_:1}))}});Symbol.toStringTag}));
