diff --git a/package.json b/package.json index ec2fe0b7805b73ea0002f6f9e697a12181695596..dbeed174f00c0efbb40736fff643b1b2b5e7ad40 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@docusaurus/core": "^3.4.0", "@docusaurus/preset-classic": "^3.4.0", "@mdx-js/react": "^3.0.0", - "@scalar/docusaurus": "0.4.156", + "@scalar/docusaurus": "0.4.171", "clsx": "^2.0.0", "docusaurus": "^1.14.7", "docusaurus-plugin-image-zoom": "^2.0.0", diff --git a/patches/@scalar+docusaurus+0.4.156.patch b/patches/@scalar+docusaurus+0.4.171.patch similarity index 98% rename from patches/@scalar+docusaurus+0.4.156.patch rename to patches/@scalar+docusaurus+0.4.171.patch index 881624191b791fd59eff81193542e4c5f4dc69a0..46a70dbf7112b5ea91e588d5c8cca75af325f147 100644 --- a/patches/@scalar+docusaurus+0.4.156.patch +++ b/patches/@scalar+docusaurus+0.4.171.patch @@ -7,7 +7,7 @@ index 1330545..718320b 100644 // Creating and appending the script element const script = document.createElement('script'); - script.src = 'https://cdn.jsdelivr.net/npm/@scalar/api-reference'; -+ script.src = '/docs/@scalar/api-reference.v1.25.78.js'; ++ script.src = '/docs/@scalar/api-reference.v1.25.93.js'; script.async = true; script.onload = () => { console.log('Scalar script loaded successfully'); diff --git a/static/@scalar/api-reference.v1.25.78.js b/static/@scalar/api-reference.v1.25.78.js deleted file mode 100644 index e4ff20ae74b6a6165cd88ed984db56e3dde5214d..0000000000000000000000000000000000000000 --- a/static/@scalar/api-reference.v1.25.78.js +++ /dev/null @@ -1,30861 +0,0 @@ -/** - * _____ _________ __ ___ ____ - * / ___// ____/ | / / / | / __ \ - * \__ \/ / / /| | / / / /| | / /_/ / - * ___/ / /___/ ___ |/ /___/ ___ |/ _, _/ - * /____/\____/_/ |_/_____/_/ |_/_/ |_| - * - * @scalar/api-reference 1.25.78 - * - * 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-0084a96c]{padding:0 9px!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-0084a96c]{display:flex;align-items:center;scrollbar-width:none;-ms-overflow-style:none}.url-select span[data-v-0084a96c]::-webkit-scrollbar{width:0;height:0;display:none}.url-select svg[data-v-0084a96c]{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-8cbce9ba]{display:flex;width:100%}.variable-label[data-v-8cbce9ba]{border-top:.5px solid var(--scalar-border-color);color:var(--scalar-color-2);font-size:var(--scalar-mini);padding:9px 0 9px 9px}.variable-label[data-v-8cbce9ba]:after{content:":";margin-right:6px}.server-form-title[data-v-2b7c0035]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);text-transform:uppercase;display:block}.server-form[data-v-2b7c0035]{margin-top:6px}.server-form-container[data-v-2b7c0035]{border-radius:var(--scalar-radius);background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color)}.description[data-v-2b7c0035]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-top:0;border-bottom-left-radius:var(--scalar-radius);border-bottom-right-radius:var(--scalar-radius);padding:3px 9px;font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-3)}.description[data-v-2b7c0035] .markdown{font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:4px 0;display:block}.description[data-v-2b7c0035] .markdown>*:first-child{margin-top:0}.client-libraries-content[data-v-28cced37]{container:client-libraries-content / inline-size;display:flex;justify-content:center;overflow:hidden;background-color:var(--scalar-background-2);border-radius:var(--scalar-radius) var(--scalar-radius) 0 0;border:var(--scalar-border-width) solid var(--scalar-border-color)}.client-libraries[data-v-28cced37]{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);-webkit-user-select:none;-moz-user-select:none;user-select:none}.client-libraries[data-v-28cced37]:first-child{border-radius:var(--scalar-radius) 0 0 0}.client-libraries[data-v-28cced37]:not(.client-libraries__active):hover:before{content:"";position:absolute;width:calc(100% - 4px);height:calc(100% - 4px);background:var(--scalar-background-3);left:2px;top:2px;z-index:0;border-radius:var(--scalar-radius)}.client-libraries[data-v-28cced37]:active{color:var(--scalar-color-1)}.client-libraries[data-v-28cced37]: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-28cced37]:nth-of-type(4),.client-libraries[data-v-28cced37]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-28cced37]{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-28cced37]{height:initial}@container client-libraries-content (width < 400px){.client-libraries__select[data-v-28cced37]{width:-moz-fit-content;width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-28cced37]{display:none}}@container client-libraries-content (width < 380px){.client-libraries[data-v-28cced37]{width:100%}.client-libraries span[data-v-28cced37]{display:none}}.client-libraries__active[data-v-28cced37]{color:var(--scalar-color-1);border-bottom:var(--scalar-border-width) solid var(--scalar-color-1)}@keyframes codeloader-28cced37{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries span[data-v-28cced37]{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);position:relative}.client-libraries__active span[data-v-28cced37]{color:var(--scalar-color-1)}.client-libraries__select select[data-v-28cced37]{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-28cced37]:has(select:focus-visible){border-radius:var(--scalar-radius);box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}.client-libraries__select span[data-v-28cced37]{position:relative;display:flex;align-items:center}@media screen and (max-width: 600px){.references-classic .client-libraries[data-v-28cced37]{flex-direction:column}}.selected-client[data-v-d0104df2]{color:var(--scalar-color-1);font-size:var(--scalar-mini);font-family:var(--scalar-font-code);padding:9px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--scalar-background-2);border-radius:0 0 var(--scalar-radius) var(--scalar-radius);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top:none;min-height:-moz-fit-content;min-height:fit-content}.client-libraries-heading[data-v-d0104df2]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);text-transform:uppercase;margin-bottom:6px;display:block}.download[data-v-4ae6d175]{margin-bottom:24px}.download-button[data-v-4ae6d175]{color:var(--scalar-color-accent);-webkit-text-decoration:var(--scalar-text-decoration)!important;text-decoration:var(--scalar-text-decoration)!important;font-size:var(--scalar-paragraph);cursor:pointer}.download-button[data-v-4ae6d175]:hover{-webkit-text-decoration:var(--scalar-text-decoration-hover)!important;text-decoration:var(--scalar-text-decoration-hover)!important}.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-8687f476]{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-8687f476]:has(~div.contents){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.references-classic .section[data-v-8687f476]{padding:48px 0;gap:24px}@container narrow-references-container (max-width: 900px){.references-classic .section[data-v-8687f476],.section[data-v-8687f476]{padding:48px 24px}}.section[data-v-8687f476]: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-89d2a181]{position:relative;display:inline-block;word-break:break-all}.anchor[data-v-89d2a181]{position:relative;display:inline-block;opacity:0}.anchor-copy[data-v-89d2a181]{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-89d2a181]:hover,.anchor-copy[data-v-89d2a181]:focus-visible{color:var(--scalar-color-2)}.label:hover .anchor[data-v-89d2a181],.label:has(:focus-visible) .anchor[data-v-89d2a181]{opacity:1}.collapsible-section[data-v-f61b582b]{border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-f61b582b]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-f61b582b]{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-f61b582b]:after{content:"";height:10px;width:100%;position:absolute;bottom:0}.collapsible-section-trigger svg[data-v-f61b582b]{color:var(--scalar-color-3);position:absolute;left:-19px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-f61b582b]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-f61b582b] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-f61b582b]{padding:0;margin:0;scroll-margin-top:140px}.introduction-description-heading[data-v-76e3a64b]{scroll-margin-top:64px;margin-top:1em;margin-bottom:.5em}.markdown+.markdown[data-v-76e3a64b]{margin-top:1em}.introduction-description[data-v-76e3a64b]{display:flex;flex-direction:column}.references-classic .introduction-description[data-v-76e3a64b] 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-8c97702b]{display:flex;flex-wrap:nowrap}.request-header[data-v-8c97702b]{display:flex;gap:6px;text-transform:initial}.request-method[data-v-8c97702b]{font-family:var(--scalar-font-code);text-transform:uppercase}.request-client-picker[data-v-8c97702b]{padding-left:12px;padding-right:9px}.request-card-footer[data-v-8c97702b]{display:flex;justify-content:flex-end;padding:6px;flex-shrink:0}.request-card-footer-addon[data-v-8c97702b]{display:flex;align-items:center;flex:1;min-width:0}.request-editor-section[data-v-8c97702b]{display:flex;flex:1}.request-card-simple[data-v-8c97702b]{display:flex;align-items:center;justify-content:space-between;padding:8px 8px 8px 12px;font-size:var(--scalar-small)}.code-snippet[data-v-8c97702b]{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-67b44dbd]{display:flex;flex-wrap:wrap;align-items:baseline;row-gap:9px;white-space:nowrap}.property-heading[data-v-67b44dbd]>*{margin-right:9px}.property-heading[data-v-67b44dbd]:last-child{margin-right:0}.property-heading>.property-detail[data-v-67b44dbd]:not(:last-of-type){margin-right:0}.property-name[data-v-67b44dbd]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold);font-size:var(--scalar-font-size-3);display:flex}.property-additional[data-v-67b44dbd]{font-family:var(--scalar-font-code)}.property-required[data-v-67b44dbd],.property-optional[data-v-67b44dbd]{color:var(--scalar-color-2)}.property-required[data-v-67b44dbd]{font-size:var(--scalar-micro);color:var(--scalar-color-orange)}.property-read-only[data-v-67b44dbd]{font-size:var(--scalar-micro);color:var(--scalar-color-blue)}.property-write-only[data-v-67b44dbd]{font-size:var(--scalar-micro);color:var(--scalar-color-green)}.property-detail[data-v-67b44dbd]{font-size:var(--scalar-micro);color:var(--scalar-color-2);display:flex;align-items:center;min-width:0}.property-const[data-v-67b44dbd]{color:var(--scalar-color-1)}.property[data-v-38da2070]{color:var(--scalar-color-1);padding:10px;font-size:var(--scalar-mini)}.property[data-v-38da2070]:last-of-type{padding-bottom:0}.property--compact.property--level-0[data-v-38da2070]{padding:12px 0}.property--deprecated[data-v-38da2070]{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-38da2070]>*{opacity:.75}.property-description[data-v-38da2070]{margin-top:6px;line-height:1.4;font-size:var(--scalar-small)}.property-heading:empty+.property-description[data-v-38da2070]:last-of-type,.property-description[data-v-38da2070]:first-of-type:last-of-type{margin-top:0}[data-v-38da2070] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-38da2070]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.children[data-v-38da2070]{display:flex;flex-direction:column;padding-top:8px}.property-example[data-v-38da2070]{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-38da2070]{font-weight:var(--scalar-semibold);color:var(--scalar-color-3);padding:6px}.property-example-value[data-v-38da2070]{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-38da2070]{display:flex;flex-direction:column;gap:6px;margin-top:12px;border-radius:var(--scalar-radius-lg)}.property-enum-value[data-v-38da2070]{padding:3px 0;color:var(--scalar-color-2);line-height:1.5;word-break:break-word}.property-enum-value[data-v-38da2070]:before{content:"⊢";margin-right:6px;color:var(--scalar-color-3)}.property-enum-values[data-v-38da2070]{margin-top:8px;list-style:none}.property--compact .property-example[data-v-38da2070]{display:none}.property-list[data-v-38da2070]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-38da2070]:last-of-type{padding-bottom:10px}.property-name[data-v-38da2070]{font-family:var(--scalar-font-code);font-weight:var(--scalar-semibold)}.enum-toggle-button[data-v-38da2070]{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-38da2070]:hover{color:var(--scalar-color-1)}.enum-toggle-button-icon--open[data-v-38da2070]{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-604f5c87]{height:calc(var(--full-height) - var(--refs-header-height));display:flex;align-items:center;justify-content:center}.introduction-card[data-v-604f5c87]{display:flex;flex-direction:column;padding-top:3px;background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.introduction-card-item[data-v-604f5c87]{padding:9px;display:flex;flex-direction:column;justify-content:start}@container narrow-references-container (max-width: 900px){.introduction-card-item[data-v-604f5c87]{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}}.introduction-card-item[data-v-604f5c87]:has(.description) .server-form-container{border-bottom-left-radius:0;border-bottom-right-radius:0}.introduction-card-item[data-v-604f5c87]:last-of-type{border-bottom:none}.introduction-card-title[data-v-604f5c87]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3)}.introduction-card-row[data-v-604f5c87]{gap:24px}@media (min-width: 600px){.introduction-card-row[data-v-604f5c87]{flex-flow:row wrap}}.introduction-card-row[data-v-604f5c87]>*{flex:1}@media (min-width: 600px){.introduction-card-row[data-v-604f5c87]>*{min-width:-moz-min-content;min-width:min-content}}@media (max-width: 600px){.introduction-card-row[data-v-604f5c87]>*{max-width:100%}}@container (max-width: 900px){.introduction-card-row[data-v-604f5c87]{flex-direction:column;align-items:stretch;gap:0px}}.introduction-card[data-v-604f5c87] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.references-classic .introduction-card-row[data-v-604f5c87] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.references-classic .introduction-card-row[data-v-604f5c87] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}.section-flare[data-v-604f5c87]{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-f2a62314]{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-f2a62314]{margin:0}.sidebar-heading.deprecated .sidebar-heading-link-title[data-v-f2a62314]{text-decoration:line-through}.sidebar-heading-link-title[data-v-f2a62314]{margin:0}.sidebar-heading[data-v-f2a62314]:hover{background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-heading:hover .sidebar-heading-link-title[data-v-f2a62314]{color:var(--scalar-sidebar-item-hover-color)}.sidebar-heading-link[data-v-f2a62314]:focus-visible{outline:none}.sidebar-heading[data-v-f2a62314]:has(>.sidebar-heading-link:focus-visible){z-index:1;outline:1px solid var(--scalar-color-accent)}.active_page.sidebar-heading[data-v-f2a62314]:hover,.active_page.sidebar-heading[data-v-f2a62314]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent));background:var( --scalar-sidebar-item-active-background, var(--scalar-background-accent) )}.active_page.sidebar-heading:hover .sidebar-heading-link-title[data-v-f2a62314]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-f2a62314]: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-f2a62314]:hover:before{background:var(--scalar-sidebar-indent-border-hover)}.sidebar-indent-nested .sidebar-indent-nested .active_page.sidebar-heading[data-v-f2a62314]:before{background:var(--scalar-sidebar-indent-border-active)}.sidebar-heading-link[data-v-f2a62314]{text-decoration:none;color:inherit;padding:6px 0;display:flex;flex:1;justify-content:space-between;gap:2px}.sidebar-heading p[data-v-f2a62314]{height:-moz-fit-content;height:fit-content;display:flex;align-items:center}.sidebar-heading p[data-v-f2a62314]:empty{display:none}.link-icon[data-v-f2a62314]{position:relative;left:4px}.sidebar-icon[data-v-f2a62314]{display:flex;align-items:center;justify-content:center;margin-right:6px;width:13px;height:13px}.sidebar-icon>svg[data-v-f2a62314]{width:13px;height:13px}.sidebar-group-item[data-v-f2a62314]{position:relative}.sidebar-heading-chevron[data-v-f2a62314]{margin:5px -5.5px 5px -9px}.sidebar-heading-chevron .toggle-nested-icon[data-v-f2a62314]:focus-visible{outline:none}.sidebar-heading[data-v-f2a62314]: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-f2a62314]{border:none;color:currentColor;padding:2px;color:var(--scalar-sidebar-color-2)}.active_page .toggle-nested-icon[data-v-f2a62314]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.toggle-nested-icon[data-v-f2a62314]:hover,.toggle-nested-icon[data-v-f2a62314]:focus-visible{color:currentColor}.action-menu[data-v-f2a62314]{position:absolute;top:5px;right:5px;display:flex;gap:6px}.action-menu[data-v-f2a62314] .button-wrapper button{opacity:0;width:20px;height:20px;padding:4px}.action-menu[data-v-f2a62314]:hover .button-wrapper button,.action-menu[data-v-f2a62314] .button-wrapper button:hover,.sidebar-heading:hover~.action-menu[data-v-f2a62314] .button-wrapper button,.action-menu[data-v-f2a62314] .button-wrapper button[aria-expanded=true]{opacity:1}.sidebar-heading[data-v-f2a62314]: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-f2a62314]{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-37c6928e]{--scalar-sidebar-indent-base: 12px;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-37c6928e]{flex:1;padding:9px 12px}@media (max-width: 1000px){.sidebar[data-v-37c6928e]{min-height:0;border-right:none}.sidebar-pages[data-v-37c6928e]{padding-top:12px}}.sidebar-group-title[data-v-37c6928e]{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-37c6928e]{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}.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}.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}.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,\');mask-image:url(\'data:image/svg+xml,\')}@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}.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}.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}.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 .border-y-1\\/2{border-top-width:calc(var(--scalar-border-width) / 2);border-bottom-width:calc(var(--scalar-border-width) / 2)}.scalar-api-reference .bg-b-2{background-color:var(--scalar-background-2)}.scalar-api-reference .p-\\[9px\\]{padding:9px}.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-c09436db]{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-c09436db ease-in-out .3s forwards;animation-delay:.1s}.commandmenu-overlay[data-v-c09436db]{position:fixed;top:0;right:0;bottom:0;left:0;background:#0003;animation:fadeincommand-c09436db ease-in-out .3s forwards;cursor:pointer}@keyframes fadeincommand-c09436db{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-c09436db{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}.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}.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}.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,\');mask-image:url(\'data:image/svg+xml,\')}@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}.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}.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}.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}.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}.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}.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,\');mask-image:url(\'data:image/svg+xml,\')}@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-api-client[data-v-d1ef066c]{max-height:calc(100% - calc(var(--scalar-app-header-height)));border-radius:8px}.scalar .scalar-app-layout[data-v-d1ef066c]{background:var(--scalar-background-1);height:calc(100% - 120px);max-width:1390px;width:100%;margin:auto;opacity:0;animation:scalarapiclientfadein-d1ef066c .35s forwards;position:relative;overflow:hidden;border-radius:8px;border:var(--scalar-border-width) solid var(--scalar-border-color)}@keyframes scalarapiclientfadein-d1ef066c{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-d1ef066c]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000038;transition:all .3s ease-in-out;cursor:pointer;animation:scalardrawerexitfadein-d1ef066c .35s forwards}.dark-mode .scalar .scalar-app-exit[data-v-d1ef066c]{background:#00000073}.scalar .scalar-app-exit[data-v-d1ef066c]: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-d1ef066c]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-d1ef066c{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-d1ef066c]{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-d1ef066c]{min-height:auto!important}.scalar .scalar-container[data-v-d1ef066c]{line-height:normal}.scalar .scalar-app-header span[data-v-d1ef066c]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-d1ef066c]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-d1ef066c]:hover{text-decoration:underline}.scalar-activate[data-v-d1ef066c]{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-d1ef066c]{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-d1ef066c]{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%)}[data-v-4b3bb606] .cm-editor{height:100%;outline:none;padding:0;background:transparent}[data-v-4b3bb606] .cm-placeholder{color:var(--scalar-color-3)}[data-v-4b3bb606] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-4b3bb606] .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-4b3bb606] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-4b3bb606] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-4b3bb606] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-4b3bb606] .cm-tooltip-autocomplete ul{padding:6px!important;position:relative}[data-v-4b3bb606] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-4b3bb606] .cm-activeLine,[data-v-4b3bb606] .cm-activeLineGutter{background-color:transparent}[data-v-4b3bb606] .cm-selectionMatch,[data-v-4b3bb606] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-4b3bb606] .cm-css-color-picker-wrapper{display:inline-flex;outline:1px solid var(--scalar-background-3);border-radius:3px;overflow:hidden}[data-v-4b3bb606] .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-4b3bb606] .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-4b3bb606] .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-4b3bb606] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-4b3bb606] .cm-scroller{overflow:auto}.peer:hover .copy-button[data-v-4b3bb606],.copy-button[data-v-4b3bb606]:focus-visible{opacity:100}.scalar-code-copy[data-v-4b3bb606]{align-items:flex-start;display:flex;top:0;right:0;bottom:0;left:0;justify-content:flex-end;position:sticky}.copy-button[data-v-4b3bb606]{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-4b3bb606],.copy-button[data-v-4b3bb606]{background:inherit}.copy-button[data-v-4b3bb606]:hover{color:var(--scalar-color-1)}.copy-button svg[data-v-4b3bb606]{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-b750a6e5] .cm-editor{padding:0}[data-v-b750a6e5] .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-b750a6e5] .cm-content:has(.cm-pill){padding:4px 3px}[data-v-b750a6e5] .cm-content .cm-pill:not(:last-of-type){margin-right:.5px}[data-v-b750a6e5] .cm-content .cm-pill:not(:first-of-type){margin-left:.5px}[data-v-b750a6e5] .cm-line{padding:0}.required[data-v-b750a6e5]:after{content:"Required"}input[data-v-b750a6e5]::-moz-placeholder{color:var(--scalar-color-3)}input[data-v-b750a6e5]::placeholder{color:var(--scalar-color-3)}.auth-blend-required[data-v-8225a482] .scalar-input-required,.auth-blend-required[data-v-8225a482] .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-8225a482]+tr>td{border-top:0;border-top-left-radius:0;border-top-right-radius:0}.auth-combobox-position[data-v-ea5c24d5]{margin-left:120px}.scroll-timeline-x[data-v-ea5c24d5]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-ea5c24d5],.fade-right[data-v-ea5c24d5]{position:sticky;content:"";height:100%;animation-name:fadein-ea5c24d5;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none}.fade-left[data-v-ea5c24d5]{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-ea5c24d5]{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-ea5c24d5{0%{opacity:0}15%{opacity:1}}@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}.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}.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}.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-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) .w-3{width:12px}: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-\\[37px\\]{min-width:37px}:where(.scalar-app) .min-w-max{min-width:-moz-max-content;min-width:max-content}:where(.scalar-app) .max-w-\\[37px\\]{max-width:37px}: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) .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-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-center{justify-content:center}:where(.scalar-app) .justify-between{justify-content:space-between}:where(.scalar-app) .gap-0{gap:0px}:where(.scalar-app) .gap-0\\.75{gap:3px}:where(.scalar-app) .gap-1{gap:4px}:where(.scalar-app) .gap-1\\.5{gap:6px}:where(.scalar-app) .gap-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-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-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-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) .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: 600px){:where(.scalar-app) .sm\\:min-w-max{min-width:-moz-max-content;min-width:max-content}:where(.scalar-app) .sm\\:max-w-max{max-width:-moz-max-content;max-width:max-content}:where(.scalar-app) .sm\\:rounded{border-radius:var(--scalar-radius)}:where(.scalar-app) .sm\\:py-1{padding-top:4px;padding-bottom:4px}:where(.scalar-app) .sm\\:py-1\\.5{padding-top:6px;padding-bottom:6px}}@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-backdropdark:where(.dark-mode,.dark-mode *){background-color:#00000073;--tw-bg-base: rgba(0, 0, 0, .45)}.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,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown summary:hover:after{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open] summary:after{transform:rotate(90deg)}.scalar-app .markdown summary::-webkit-details-marker{display:none}.scalar-app .markdown img{overflow:hidden;border-radius:var(--scalar-radius);max-width:100%}.scalar-app .markdown>:first-child{margin-top:0;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-color-accent);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);cursor:pointer}.scalar-app .markdown a:hover{-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.scalar-app .markdown em{font-style:italic}.scalar-app .markdown sup{font-size:var(--scalar-micro);vertical-align:super;font-weight:450}.scalar-app .markdown sub{font-size:var(--scalar-micro);vertical-align:sub;font-weight:450}.scalar-app .markdown del{text-decoration:line-through}.scalar-app .markdown code{font-family:var(--scalar-font-code);background-color:var(--scalar-background-2);box-shadow:0 0 0 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-5b435217]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}.search-background[data-v-5b435217]: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}.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}.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}.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,.scalar-client .scalar-row{display:flex;flex-direction:row}.scalar-client .row-1{display:flex;flex-direction:row;flex:1 1 0%}.scalar-client .col{display:flex;flex-direction:column}.scalar-client .col-1{display:flex;flex-direction:column;flex:1 1 0%}.scalar-client .flex-center{display:flex;justify-content:center;align-items:center}.scalar-client .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered-y{top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.scalar-client .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 .\\!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 .left-0{left:0}.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-\\[0\\.5px\\]{top:.5px}.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-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 .-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 .my-4{margin-top:16px;margin-bottom:16px}.scalar-client .\\!mb-0{margin-bottom:0!important}.scalar-client .\\!mr-0{margin-right:0!important}.scalar-client .-ml-0{margin-left:-0px}.scalar-client .-ml-0\\.5{margin-left:-2px}.scalar-client .-ml-12{margin-left:-48px}.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-8{margin-left:32px}.scalar-client .ml-auto{margin-left:auto}.scalar-client .mr-1{margin-right:4px}.scalar-client .mr-1\\.5{margin-right:6px}.scalar-client .mr-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}.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-12{height:48px}.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-\\[68px\\]{height:68px}.scalar-client .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-client .h-auto{height:auto}.scalar-client .h-fit{height:-moz-fit-content;height:fit-content}.scalar-client .h-full{height:100%}.scalar-client .h-screen{height:100vh}.scalar-client .\\!max-h-\\[calc\\(100\\%-32px\\)\\]{max-height:calc(100% - 32px)!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-12{min-height:48px}.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-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-\\[94px\\]{min-width:94px}.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-1{gap:4px!important}.scalar-client .\\!gap-1\\.5{gap:6px!important}.scalar-client .\\!gap-2{gap:8px!important}.scalar-client .gap-0{gap:0px}.scalar-client .gap-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 .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{border-radius:var(--scalar-radius)}.scalar-client .rounded-\\[10px\\]{border-radius:10px}.scalar-client .rounded-\\[1px\\]{border-radius:1px}.scalar-client .rounded-full{border-radius:9999px}.scalar-client .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-client .rounded-md{border-radius:var(--scalar-radius)}.scalar-client .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-client .\\!rounded-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-\\[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-l{border-left-width:var(--scalar-border-width)}.scalar-client .border-l-0{border-left-width:0}.scalar-client .border-l-1\\/2{border-left-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-r{border-right-width:var(--scalar-border-width)}.scalar-client .border-r-0{border-right-width:0}.scalar-client .border-r-1\\/2{border-right-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-t{border-top-width:var(--scalar-border-width)}.scalar-client .border-t-0{border-top-width:0}.scalar-client .border-t-1\\/2{border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-solid{border-style:solid}.scalar-client .border-dashed{border-style:dashed}.scalar-client .border-none{border-style:none}.scalar-client .border-b-3{border-color:var(--scalar-background-3)}.scalar-client .border-border{border-color:var(--scalar-border-color)}.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-2{background-color:var(--scalar-background-2)!important}.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-c-2{background-color:var(--scalar-color-2)}.scalar-client .bg-c-accent{background-color:var(--scalar-color-accent)}.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-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-3\\.5{padding-left:14px;padding-right:14px}.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-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 .\\!pr-2{padding-right:8px!important}.scalar-client .\\!pr-2\\.5{padding-right:10px!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-2{padding-left:8px}.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-0\\.5{padding-right:2px}.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-2\\.5{padding-top:10px}.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-none{line-height:1}.scalar-client .leading-normal{line-height:1.5}.scalar-client .leading-snug{line-height:1.375}.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-2{--tw-bg-base:var(--scalar-background-2) !important}.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-c-2{--tw-bg-base:var(--scalar-color-2)}.scalar-client .bg-c-accent{--tw-bg-base:var(--scalar-color-accent)}.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-\\[calc\\(\\.75rem_\\+_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(.75rem + .5px)}.scalar-client .before\\:left-\\[calc\\(1\\.75rem_-_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(1.75rem - .5px)}.scalar-client .before\\:left-\\[calc\\(1rem_-_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(1rem - .5px)}.scalar-client .before\\:left-\\[calc\\(1rem_-_1\\.5px\\)\\]:before{content:var(--tw-content);left:calc(1rem - 1.5px)}.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\\:border-r-1\\/2:last-child{border-right-width:calc(var(--scalar-border-width) / 2)}.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\\: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\\:bg-b-2:focus-within{background-color:var(--scalar-background-2)}.scalar-client .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}.scalar-client .focus-within\\:bg-b-1:focus-within{--tw-bg-base:var(--scalar-background-1)}.scalar-client .focus-within\\:bg-b-2:focus-within{--tw-bg-base:var(--scalar-background-2)}.scalar-client .hover\\:cursor-auto:hover{cursor:auto}.scalar-client .hover\\:bg-b-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-border{border-bottom-color:var(--scalar-border-color)}.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,.scalar-client .group:hover .group-hover\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--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\\:mb-\\[0\\.5px\\][data-headlessui-state]:not([data-headlessui-state~=open]){margin-bottom:.5px}.scalar-client .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-not-open\\:bg-transparent[data-headlessui-state]:not([data-headlessui-state~=open]){background-color:transparent;--tw-bg-base:transparent}.scalar-client .ui-not-open\\:hover\\:bg-b-2:hover[data-headlessui-state]:not([data-headlessui-state~=open]){background-color:var(--scalar-background-2);--tw-bg-base:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:invisible:not([data-headlessui-state]){visibility:hidden}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:mb-\\[0\\.5px\\]:not([data-headlessui-state]){margin-bottom:.5px}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:rotate-0:not([data-headlessui-state]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:bg-transparent:not([data-headlessui-state]){background-color:transparent;--tw-bg-base:transparent}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:hover\\:bg-b-2:hover:not([data-headlessui-state]){background-color:var(--scalar-background-2);--tw-bg-base:var(--scalar-background-2)}.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-2{margin-left:8px}.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-header{min-height:var(--scalar-client-header-height)}.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-header{min-height:var(--scalar-client-header-height)}.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\\:px-2{padding-left:8px;padding-right:8px}.scalar-client .xl\\:px-3{padding-left:12px;padding-right:12px}.scalar-client .xl\\:px-4{padding-left:16px;padding-right:16px}.scalar-client .xl\\:px-6{padding-left:24px;padding-right:24px}.scalar-client .xl\\:pr-5{padding-right:20px}.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 .ui-open\\:\\[\\&\\:not\\(\\:last-child\\)\\]\\:mb-2\\.5:not(:last-child)[data-headlessui-state~=open]{margin-bottom:10px}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:\\[\\&\\:not\\(\\:last-child\\)\\]\\:mb-2\\.5:not(:last-child){margin-bottom:10px}.scalar-client .\\[\\&\\>a\\]\\:pl-5>a{padding-left:20px}:root{--scalar-client-header-height: 52px;--scalar-sidebar-width: 280px;--scalar-toc-width: 280px}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-455b0236] .cm-editor{background-color:var(--scalar-background-1);height:100%;outline:none;width:100%}[data-v-455b0236] .cm-content{padding:0;display:flex;align-items:center;font-size:var(--scalar-mini)}.scroll-timeline-x[data-v-455b0236]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-455b0236]{overflow:hidden}.scroll-timeline-x-hidden[data-v-455b0236] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-455b0236]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-455b0236] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-455b0236]{line-height:27px;scrollbar-width:none}.scroll-timeline-x-address[data-v-455b0236]:after{content:"";position:absolute;height:100%;width:24px;right:0;cursor:text}.scroll-timeline-x-address[data-v-455b0236]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-455b0236],.fade-right[data-v-455b0236]{content:"";position:sticky;height:100%;animation-name:fadein-455b0236;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;pointer-events:none}.fade-left[data-v-455b0236]{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-455b0236]{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-455b0236{0%{opacity:0}1%{opacity:1}}.codemirror-bg-switcher[data-v-455b0236]{--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-455b0236]{--scalar-background-1: var(--scalar-background-1)}.addressbar-bg-states[data-v-455b0236]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2))}.addressbar-bg-states[data-v-455b0236]: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-742cbf17]{min-height:100%}@media (min-width: 800px){.sidebar-mask[data-v-742cbf17]{-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-742cbf17]{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-742cbf17]:hover,.dragging .resizer[data-v-742cbf17]{border-right-color:var(--scalar-background-3)}.dragging[data-v-742cbf17]{cursor:col-resize}.dragging[data-v-742cbf17]:before{content:"";display:block;position:absolute;width:100%;height:100%}.scroll-timeline-x[data-v-50c10cc9]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none;scrollbar-width:none}.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}[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-7d610d02] .cm-content{font-size:var(--scalar-mini)}.auth-combobox-position[data-v-c8154c4e]{margin-left:120px}.scroll-timeline-x[data-v-c8154c4e]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-c8154c4e],.fade-right[data-v-c8154c4e]{position:sticky;content:"";height:100%;animation-name:fadein-c8154c4e;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none}.fade-left[data-v-c8154c4e]{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-c8154c4e]{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-c8154c4e{0%{opacity:0}15%{opacity:1}}.request-section-content[data-v-ade1db3e]{--scalar-border-width: .5px}.request-section-content-filter[data-v-ade1db3e]{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons[data-v-ade1db3e]{opacity:1}.group-hover-input[data-v-ade1db3e]{border-width:var(--scalar-border-width);border-color:transparent}.group:hover .group-hover-input[data-v-ade1db3e]{background:color-mix(in srgb,var(--scalar-background-1),var(--scalar-background-2));border-color:var(--scalar-border-color)}.group-hover-input[data-v-ade1db3e]:focus{background:transparent!important;border-color:var(--scalar-border-color)!important}.gitbook-show[data-v-cad1af01]{display:none}.app-exit-button[data-v-cad1af01]{color:#fff;background:#0000001a}.app-exit-button[data-v-cad1af01]:hover{background:#ffffff1a}.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-cb6b7a57] .hljs *{font-size:var(--scalar-mini)}.ascii-art-animate .ascii-art-line[data-v-93347509]{border-right:1ch solid transparent;animation:typewriter-93347509 4s steps(1) 1s 1 normal both,blinkTextCursor-93347509 .5s steps(1) infinite normal}@keyframes typewriter-93347509{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-93347509{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-4c842dc1]{animation:push-response-4c842dc1 .2s ease-in-out forwards;opacity:1}@keyframes push-response-4c842dc1{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-4px)}}.animate-response-heading .animate-response-children[data-v-4c842dc1]{animation:response-spans-4c842dc1 .2s ease-in-out forwards .05s;opacity:0}@keyframes response-spans-4c842dc1{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:translateY(0)}}.ellipsis-position[data-v-4505d1d7]{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-390bf191]:before{left:var(--b4d0afaa)}.indent-padding-left[data-v-390bf191]{padding-left:calc(var(--c4444c9a) + 6px)}.sidebar-folderitem[data-v-390bf191] .ellipsis-position{right:6px;transform:none}.search-button-fade[data-v-36c16505]{background:linear-gradient(var(--scalar-background-1) 44px,color-mix(in srgb,var(--scalar-background-1),transparent) 50px,transparent)}.empty-sidebar-item-content[data-v-36c16505]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-36c16505]{display:block}.rabbitjump[data-v-36c16505]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-36c16505]{opacity:1;animation:rabbitAnimation-36c16505 .5s steps(1) infinite}.empty-sidebar-item:hover .rabbitsit[data-v-36c16505]{opacity:0;animation:rabbitAnimation2-36c16505 .5s steps(1) infinite}.empty-sidebar-item:hover .rabbit-ascii[data-v-36c16505]{animation:rabbitRun-36c16505 8s infinite linear}@keyframes rabbitRun-36c16505{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-36c16505{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-36c16505{0%,to{opacity:0}50%{opacity:1;transform:translate3d(0,-8px,0)}}.request-text-color-text[data-v-c563efae]{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-c563efae]{display:none}.sidebar-active-width[data-v-c563efae]{width:100%}}.active-link[data-v-f7711416]{background-color:var(--scalar-background-2);color:var(--scalar-color-1);--tw-bg-base: var(--scalar-background-2)}.empty-variable-name[data-v-f7711416]:empty:before{content:"No Name";color:var(--scalar-color-3)}.cookie>a[data-v-f7711416]{padding-left:40px}:root{--scalar-loaded-api-reference: true}@layer scalar-config{.scalar-api-reference[data-v-0e930cc2]{--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-0e930cc2]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.references-layout[data-v-0e930cc2]{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-0e930cc2]{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-0e930cc2]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1);z-index:1}.references-navigation[data-v-0e930cc2]{grid-area:navigation}.references-rendered[data-v-0e930cc2]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-0e930cc2],.references-classic .references-rendered[data-v-0e930cc2]{--full-height: fit-content !important;height:initial!important;max-height:initial!important}.references-navigation-list[data-v-0e930cc2]{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-0e930cc2]{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-0e930cc2]{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-0e930cc2]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-0e930cc2]{grid-area:footer}@media (max-width: 1150px){.references-layout[data-v-0e930cc2]{grid-template-columns:var(--refs-sidebar-width) 1fr 0px}}@media (max-width: 1000px){.references-layout[data-v-0e930cc2]{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-0e930cc2]{grid-template-areas:"header" "navigation" "editor"}.references-navigation[data-v-0e930cc2],.references-rendered[data-v-0e930cc2]{max-height:unset}.references-rendered[data-v-0e930cc2]{position:static}.references-navigation[data-v-0e930cc2]{display:none;z-index:10}.references-sidebar-mobile-open .references-navigation[data-v-0e930cc2]{display:block;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));width:100%;position:sticky}.references-navigation-list[data-v-0e930cc2]{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-64613cbc]{display:flex;align-items:center;justify-content:space-between}.darklight-reference-promo[data-v-64613cbc]{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-64613cbc]:hover{text-decoration:underline}.darklight[data-v-64613cbc]{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-64613cbc]:focus-visible{outline:none;box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}.darklight:focus-visible .darklight-slider[data-v-64613cbc]{outline:none;box-shadow:inset 0 0 0 1px var(--scalar-color-accent)}.toggleicon[data-v-64613cbc]{display:flex;align-items:center;justify-content:center;height:12px}.darklight-slider[data-v-64613cbc]{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-64613cbc]{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-64613cbc]: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-64613cbc]{width:12px;height:1px;border-radius:8px;background:var(--scalar-color-1);position:absolute;transition:transform .3s ease-in-out}.toggleicon-sunray[data-v-64613cbc]:nth-of-type(2){transform:rotate(90deg)}.toggleicon-sunray[data-v-64613cbc]:nth-of-type(3){transform:rotate(45deg)}.toggleicon-sunray[data-v-64613cbc]:nth-of-type(4){transform:rotate(-45deg)}.darklight_dark .toggleicon-sunray[data-v-64613cbc]{transform:scale(0)}.darklight_dark .toggleicon-sun[data-v-64613cbc]:before{transform:translateZ(0)}.darklight_dark .toggleicon-sun[data-v-64613cbc]{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-64613cbc]{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-ce119e9f]{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-ce119e9f]{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-ce119e9f]{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-ce119e9f]{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-a7cab07f]{display:flex;flex-direction:column;padding:12px 12px 6px}.darklight-reference[data-v-a7cab07f]{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>>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 k=new Set(["og:image","og:video","og:audio","twitter:image"]) -;function x(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=x(t),r=y(e),o=b(r);if(k.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(k.has(y(o))){t.push(...S(o,r)) -;continue}n[o]=x(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(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 $(e,t,n){ -for(let r=n;r(t[r]=n,$(e,t,r)))) -;Array.isArray(n)?e.push(...n):e.push(n)}}function D(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=$(r,t,0),a=()=>r.map(((t,n)=>(t._e=e._i, -e.mode&&(t._m=e.mode),t._p=(e._i<{ -if(e===B||!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(B)&&(e=e.slice(0,-10)),e.startsWith(B)&&(e=e.slice(10)), -e=e.replace(Q,n).trim()),e}function q(e,t){ -return null==e?t||null:"function"==typeof e?e(t):e}function z(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=U(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=>{ -z(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=U(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&&R.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) -;R.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 nr?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"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{const{tags:t}=e;let n,r -;for(let o=0;o{ -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(`{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 D(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:"),ke=Object.assign,xe=(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,$e=e=>"string"==typeof e,De=e=>"symbol"==typeof e,Re=e=>null!==e&&"object"==typeof e,Ne=e=>(Re(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),Ue=e=>$e(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Be=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,qe=Qe((e=>e.replace(Fe,((e,t)=>t?t.toUpperCase():"")))),ze=/\B([A-Z])/g,He=Qe((e=>e.replace(ze,"-$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{ -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=$e(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{if(e){ -const n=e.split(rt);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t} -function it(e){let t="";if($e(e))t=e;else if(Ee(e))for(let n=0;nut(e,t)))} -const pt=e=>!(!e||!0!==e.__v_isRef),ht=e=>$e(e)?e:null==e?"":Ee(e)||Re(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))) -}:De(t)?mt(t):!Re(t)||Ee(t)||je(t)?t:String(t),mt=(e,t="")=>{var n -;return De(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&>&&(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;e0)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(;xt;){let n=xt;for(xt=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),Rt(r),Nt(r)):t=r,r.dep.activeLink=r.prevActiveLink, -r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function $t(e){ -for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Dt(t.dep.computed)||t.dep.version!==t.version))return!0 -;return!!e._dirty}function Dt(e){if(4&e.flags&&!(16&e.flags))return -;if(e.flags&=-17,e.globalVersion===Bt)return;e.globalVersion=Bt;const t=e.dep -;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!$t(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 Rt(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)Rt(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 Ut(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){ -const e=vt;vt=void 0;try{t()}finally{vt=e}}}let Bt=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, -qt(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++,Bt++,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 qt(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)qt(e)} -const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}} -const zt=new WeakMap,Ht=Symbol(""),Vt=Symbol(""),Zt=Symbol("") -;function Wt(e,t,n){if(Mt&&vt){let t=zt.get(e);t||zt.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=zt.get(e);if(!i)return void Bt++;const s=e=>{ -e&&e.trigger()};if(Tt(),"clear"===t)i.forEach(s);else{const o=Ee(e),a=o&&Ue(n) -;if(o&&"length"===n){const e=Number(r);i.forEach(((t,n)=>{ -("length"===n||n===Zt||!De(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(Un))}function Yt(e){ -return Wt(e=jn(e),0,Zt),e}const Kt={__proto__:null,[Symbol.iterator](){ -return Jt(this,Symbol.iterator,Un)},concat(...e){ -return Gt(this).concat(...e.map((e=>Ee(e)?Gt(e):e)))},entries(){ -return Jt(this,"entries",(e=>(e[1]=Un(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(Un)),arguments)},find(e,t){ -return tn(this,"find",e,t,Un,arguments)},findIndex(e,t){ -return tn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){ -return tn(this,"findLast",e,t,Un,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",Un)}} -;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?Un(t):t}let c=n;i!==e&&(s?c=function(t,r){ -return n.call(this,Un(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,Un(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(De)) -;function ln(e){De(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(De(t)?sn.has(t):an(t))?i:(r||Wt(e,0,t), -o?i:Qn(i)?a&&Ue(t)?i:i.value:Re(i)?r?$n(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)&&Ue(t)?Number(t)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?Bn:Un -;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?Bn:Un -;return!e&&Wt(i,0,Ht),a.forEach(((e,t)=>n.call(r,s(e),s(t),o)))}};ke(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?Bn:Un -;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)},kn={get:On(!1,!0)},xn={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:Rn(e,!1,pn,wn,_n)}function Pn(e){ -return Rn(e,!1,fn,kn,En)}function $n(e){return Rn(e,!0,hn,xn,Tn)}function Dn(e){ -return Rn(e,!0,mn,Sn,Cn)}function Rn(e,t,n,r,o){if(!Re(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 Un=e=>Re(e)?An(e):e,Bn=e=>Re(e)?$n(e):e;function Qn(e){ -return!!e&&!0===e.__v_isRef}function Fn(e){return zn(e,!1)}function qn(e){ -return zn(e,!0)}function zn(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:Un(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:Un(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=zt.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):Re(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=Bt-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 Dt(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&&xe(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 kt(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||!Re(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{ -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=Sr(n)?pr.push(e):pr.splice(function(e){ -let t=hr+1,n=pr.length;for(;t>>1,o=pr[r],a=Sr(o) -;aSr(e)-Sr(t))) -;if(fr.length=0,mr)return void mr.push(...e);for(mr=e,gr=0;grnull==e.id?2&e.flags?-1:1/0:e.id;function _r(e){try{ -for(hr=0;hr{ -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;oe.__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($e(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):Ur(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&&Ur(t,e,null,c,0)}else m&&Ur(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{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[qr]=()=>{t(),e[qr]=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),k=(e,t)=>{ -e&&ur(e,r,9,t)},x=(e,t)=>{const n=t[1] -;k(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[qr]&&t[qr](!0);const o=w[O];o&&si(e,o)&&o.el[qr]&&o.el[qr](),k(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[zr]=t=>{ -i||(i=!0,k(t?o:r,[e]),S.delayedLeave&&S.delayedLeave(),e[zr]=void 0)} -;t?x(t,[e,s]):s()},leave(t,r){const o=String(e.key) -;if(t[zr]&&t[zr](!0),n.isUnmounting)return r();k(p,[t]);let a=!1 -;const i=t[qr]=n=>{a||(a=!0,r(),k(n?m:f,[t]),t[qr]=void 0,w[o]===e&&delete w[o]) -};w[o]=e,h?x(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 Rr(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;a1)for(let a=0;ake({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&&($e(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=$e(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)&&xe(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((()=>{xe(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)=>{ -Di&&"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"),ko=fo("rtg"),xo=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 $e(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===qe(t)||e===Ve(qe(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[qe(t)]||e[Ve(qe(t))])}function $o(e,t,n,r){ -let o;const a=n,i=Ee(e);if(i||$e(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;rt(e,n,void 0,a)));else{ -const n=Object.keys(e);o=new Array(n.length);for(let r=0,i=n.length;r{ -const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e} -function Ro(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&&!De(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=ke(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),Uo={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 Bo(){return Fo().slots}function Qo(){ -return Fo().attrs}function Fo(){const e=_i() -;return e.setupContext||(e.setupContext=Ii(e))}function qo(e){ -return Ee(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}function zo(e,t){ -const n=qo(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:k,renderTriggered:x,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=Re(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 D in i){const e=i[D] -;Pe(e)&&(r[D]=e.bind(n))}if(o){const t=o.call(n,n);Re(t)&&(e.data=An(t))} -if(Ho=!0,a)for(const D in a){ -const e=a[D],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=Ui({ -get:t,set:o});Object.defineProperty(r,D,{enumerable:!0,configurable:!0, -get:()=>i.value,set:e=>i.value=e})}if(s)for(const D in s)Wo(s[D],r,n,D);if(l){ -const e=Pe(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{sa(t,e[t])}))} -function $(e,t){Ee(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))} -if(u&&Zo(u,e,"c"), -$(mo,d),$(go,p),$(vo,h),$(bo,f),$(lo,m),$(co,g),$(So,S),$(xo,k),$(ko,x),$(yo,b), -$(Oo,O),$(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($e(e)){const n=t[e];Pe(n)&&Ma(o,n) -}else if(Pe(e))Ma(o,e.bind(n));else if(Re(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,Re(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=ke(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 ke(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(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(Be(l))continue;const c=t[l];let u -;o&&_e(o,u=qe(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{l=!0;const[n,r]=ma(e,t,!0) -;ke(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 Re(e)&&r.set(e,ve),ve -;if(Ee(a))for(let u=0;u"_"===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},ka=(e,t,n)=>{ -for(const r in t)(n||"_"!==r)&&(e[r]=t[r])},xa=(e,t,n)=>{const r=e.slots=ua() -;if(32&e.vnode.shapeFlag){const e=t._;e?(ka(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:ka(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&&x(e.children,p,null,i,s,Ta(e,l),u,d), -v&&$r(e,null,i,"created"),k(p,e,e.scopeId,u,i),f){ -for(const e in f)"value"===e||Be(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&&$r(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&&$r(e,null,i,"mounted")}),s)},k=(e,t,n,r,o)=>{ -if(n&&p(e,n),r)for(let a=0;a{ -for(let c=l;c{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&&$r(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||R(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{m&&wi(m,n,t,e),p&&$r(t,e,n,"updated")}),r) -},_=(e,t,n,r,o,a,i)=>{for(let s=0;s{if(t!==n){ -if(t!==ge)for(const i in t)Be(i)||i in n||o(e,i,t[i],null,a,r) -;for(const i in n){if(Be(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),x(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)):R(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)||ki,a={uid:xi++,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=Ba.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),xa(e,o,n);const i=a?function(e,t){const n=e.type -;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Uo);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=>{ -Ri(e,n,t)})).catch((t=>{dr(t,e,0)}));e.asyncDep=a}else Ri(e,a,t)}else Ni(e,t) -}(e,t):void 0;t&&Ti(!1)}(s,!1,i),s.asyncDep){if(o&&o.registerDep(s,$,i),!e.el){ -const e=s.subTree=di(Ga);g(null,e,t,n)}}else $(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{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,D(e,t,i)),void n.asyncDep.then((()=>{ -e.isUnmounted||s()}))}let d,p=t -;Ca(e,!1),t?(t.el=c.el,D(e,t,i)):t=c,n&&Xe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&wi(d,l,t,c), -Ca(e,!0);const h=qa(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=qa(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=qa(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 kt(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()},D=(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{ -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&&x(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;pu?Q(e,o,a,!0,!1,d):x(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=ep)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 k=new Array(y);for(c=0;c=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===k[v-m]&&si(r,t[v])){ -u=v;break} -void 0===u?L(r,o,a,!0):(k[u-m]=c+1,u>=w?w=u:O=!0,f(r,t[u],n,null,o,a,i,s,l),b++) -}const x=O?function(e){const t=e.slice(),n=[0];let r,o,a,i,s;const l=e.length -;for(r=0;r>1,e[n[s]]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}(k):ve;for(v=x.length-1,c=y-1;c>=0;c--){ -const e=m+c,d=t[e],p=e+1{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;el.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)B(e.component,n,r);else{ -if(128&u)return void e.suspense.unmount(n,r) -;f&&$r(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&&$r(e,null,t,"unmounted")}),n)},j=e=>{ -const{type:t,el:n,anchor:o,transition:a}=e;if(t===Wa)return void U(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()},U=(e,t)=>{let n;for(;e!==t;)n=d(e),r(e),e=n;r(t) -},B=(e,t,n)=>{const{bum:r,scope:o,job:a,subTree:i,um:s,m:l,a:c}=e -;$a(l),$a(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{ -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[Dr];return n?d(n):t};let q=!1 -;const z=(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,q||(q=!0,kr(),xr(),q=!1)},H={p:f,um:L,m:I,r:j,mt:A,mc:x,pc:R,pbc:_, -n:F,o:e};let V,Z;return{render:z,hydrate:V,createApp:aa(z,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;ala(Da);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=ke({},n),l=t&&r||!t&&"post"!==a -;let c;if(Di)if("sync"===a){const e=Ra() -;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 Di&&(c?c.push(p):l&&p()),p}function La(e,t,n){ -const r=this.proxy,o=$e(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"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${qe(t)}Modifiers`]||e[`${He(t)}Modifiers`] -;function Ba(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||ge;let o=n -;const a=t.startsWith("update:"),i=a&&Ua(r,t.slice(7));let s -;i&&(i.trim&&(o=n.map((e=>$e(e)?e.trim():e))),i.number&&(o=n.map(Ye))) -;let l=r[s=Ze(t)]||r[s=Ze(qe(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,ke(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)):ke(i,a), -Re(e)&&r.set(e,i),i):(Re(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 qa(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:za(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 za=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;oe.__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?$e(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|=$e(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&&!$e(e)&&(t.class=it(e)),Re(n)&&(Ln(n)&&!Ee(n)&&(n=ke({},n)),t.style=tt(n))} -const s=$e(e)?1:Za(e)?128:Rr(e)?64:Re(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)?ke({},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;nSi||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=>Di=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 $i,Di=!1;function Ri(e,t,n){ -Pe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Re(t)&&(e.setupState=Xn(t)), -Ni(e,n)}function Ni(e,t,n){const r=e.type;if(!e.render){if(!t&&$i&&!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=ke(ke({ -isCustomElement:n,delimiters:a},o),i);r.render=$i(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 Ui=(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,Di);return n} -;function Bi(e,t,n){const r=arguments.length -;return 2===r?Re(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 qi="undefined"!=typeof window&&window.trustedTypes;if(qi)try{ -Fi=qi.createPolicy("vue",{createHTML:e=>e})}catch(xI){} -const zi=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=zi("svg"===r?`${e}`:"mathml"===r?`${e}`: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=ke({},Vr,Yi),Ji=e=>(e.displayName="Transition", -e.props=Ki,e),es=Ji(((e,{slots:t})=>Bi(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(Re(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:k=v,onAppear:x=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?x: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 ke(t,{onBeforeEnter(e){ -ts(v,[e]),os(e,a),os(e,i)},onBeforeAppear(e){ts(k,[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((()=>{uus(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=xs[t] -;if(n)return n;let r=qe(t);if("filter"!==r&&r in e)return xs[t]=r;r=Ve(r) -;for(let o=0;o{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=Rs(),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 $s=0 -;const Ds=Promise.resolve(),Rs=()=>$s||(Ds.then((()=>$s=0)),$s=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"),Us={ -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}}},Bs={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))}},qs={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}){zs(e,t)},beforeUpdate(e,t,n){ -e[js]=Ms(n)},updated(e,{value:t}){e._assigning||zs(e,t)}};function zs(e,t){ -const n=e.multiple,r=Ee(t);if(!n||r||Ce(t)){ -for(let o=0,a=e.options.length;oString(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{ -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=ke({ -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=$e(n);let a=!1;if(n&&!o){ -if(t)if($e(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)&&$e(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)&&$e(r)?("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r), -_s(e,t,r,i)):Es(e,qe(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($e(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(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(\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(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(\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 kl=yl.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),xl=e=>{ -switch(typeof e){case"undefined":return kl.undefined;case"string": -return kl.string;case"number":return isNaN(e)?kl.nan:kl.number;case"boolean": -return kl.boolean;case"function":return kl.function;case"bigint": -return kl.bigint;case"symbol":return kl.symbol;case"object": -return Array.isArray(e)?kl.array:null===e?kl.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?kl.promise:"undefined"!=typeof Map&&e instanceof Map?kl.map:"undefined"!=typeof Set&&e instanceof Set?kl.set:"undefined"!=typeof Date&&e instanceof Date?kl.date:kl.object -;default:return kl.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(;re.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===kl.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 $l{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 Dl -;"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 $l.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 Dl -;if("aborted"===o.status)return Dl -;"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 Dl=Object.freeze({status:"aborted" -}),Rl=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 Ul(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 Bl(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,ql,zl -;"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 xl(e.data)}_getOrReturnCtx(e,t){ -return t||{common:e.parent.common,data:e.data,parsedType:xl(e.data), -schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}} -_processInputParams(e){return{status:new $l,ctx:{common:e.parent.common, -data:e.data,parsedType:xl(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:xl(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:xl(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 qc.create(this,this._def)}nullable(){ -return zc.create(this,this._def)}nullish(){return this.nullable().optional()} -array(){return xc.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)!==kl.string){ -const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type, -expected:kl.string,received:t.parsedType}),Dl}const t=new $l;let n -;for(const i of this._def.checks)if("min"===i.kind)e.data.lengthi.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.lengthe.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.valuer?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)!==kl.number){const t=this._getOrReturnCtx(e);return Pl(t,{ -code:Sl.invalid_type,expected:kl.number,received:t.parsedType}),Dl}let t -;const n=new $l -;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.datar.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"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.valuenew 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)!==kl.bigint){ -const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type, -expected:kl.bigint,received:t.parsedType}),Dl}let t;const n=new $l -;for(const r of this._def.checks)if("min"===r.kind){ -(r.inclusive?e.datar.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{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)!==kl.boolean){const t=this._getOrReturnCtx(e);return Pl(t,{ -code:Sl.invalid_type,expected:kl.boolean,received:t.parsedType}),Dl} -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)!==kl.date){ -const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type, -expected:kl.date,received:t.parsedType}),Dl}if(isNaN(e.data.getTime())){ -return Pl(this._getOrReturnCtx(e),{code:Sl.invalid_date}),Dl}const t=new $l -;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_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.valuenew 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)!==kl.symbol){ -const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type, -expected:kl.symbol,received:t.parsedType}),Dl}return Nl(e.data)}} -gc.create=e=>new gc({typeName:eu.ZodSymbol,...Zl(e)});class vc extends Wl{ -_parse(e){if(this._getType(e)!==kl.undefined){const t=this._getOrReturnCtx(e) -;return Pl(t,{code:Sl.invalid_type,expected:kl.undefined,received:t.parsedType -}),Dl}return Nl(e.data)}}vc.create=e=>new vc({typeName:eu.ZodUndefined,...Zl(e) -});class bc extends Wl{_parse(e){if(this._getType(e)!==kl.null){ -const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type, -expected:kl.null,received:t.parsedType}),Dl}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:kl.never,received:t.parsedType}),Dl}}wc.create=e=>new wc({ -typeName:eu.ZodNever,...Zl(e)});class kc extends Wl{_parse(e){ -if(this._getType(e)!==kl.undefined){const t=this._getOrReturnCtx(e) -;return Pl(t,{code:Sl.invalid_type,expected:kl.void,received:t.parsedType}),Dl} -return Nl(e.data)}}kc.create=e=>new kc({typeName:eu.ZodVoid,...Zl(e)}) -;class xc extends Wl{_parse(e){ -const{ctx:t,status:n}=this._processInputParams(e),r=this._def -;if(t.parsedType!==kl.array)return Pl(t,{code:Sl.invalid_type,expected:kl.array, -received:t.parsedType}),Dl;if(null!==r.exactLength){ -const e=t.data.length>r.exactLength.value,o=t.data.lengthr.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=>$l.mergeArray(n,e))) -;const o=[...t.data].map(((e,n)=>r.type._parseSync(new Hl(t,e,t.path,n)))) -;return $l.mergeArray(n,o)}get element(){return this._def.type}min(e,t){ -return new xc({...this._def,minLength:{value:e,message:Ql.toString(t)}})} -max(e,t){return new xc({...this._def,maxLength:{value:e,message:Ql.toString(t)} -})}length(e,t){return new xc({...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]=qc.create(Sc(r))}return new _c({...e._def,shape:()=>t})} -return e instanceof xc?new xc({...e._def,type:Sc(e.element) -}):e instanceof qc?qc.create(Sc(e.unwrap())):e instanceof zc?zc.create(Sc(e.unwrap())):e instanceof $c?$c.create(e.items.map((e=>Sc(e)))):e -}xc.create=(e,t)=>new xc({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)!==kl.object){ -const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type, -expected:kl.object,received:t.parsedType}),Dl} -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=>$l.mergeObjectSync(t,e))):$l.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 qc;)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}),Dl}));{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 -}),Dl}}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 Uc?e.options:e instanceof Bc?yl.objectValues(e.enum):e instanceof Hc?Tc(e._def.innerType):e instanceof vc?[void 0]:e instanceof bc?[null]:e instanceof qc?[void 0,...Tc(e.unwrap())]:e instanceof zc?[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!==kl.object)return Pl(t,{code:Sl.invalid_type, -expected:kl.object,received:t.parsedType}),Dl -;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]}),Dl)}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=xl(e),r=xl(t) -;if(e===t)return{valid:!0,data:e};if(n===kl.object&&r===kl.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===kl.array&&r===kl.array){ -if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r{ -if(Ml(e)||Ml(r))return Dl;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}),Dl)} -;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 $c extends Wl{_parse(e){ -const{status:t,ctx:n}=this._processInputParams(e) -;if(n.parsedType!==kl.array)return Pl(n,{code:Sl.invalid_type,expected:kl.array, -received:n.parsedType}),Dl;if(n.data.lengththis._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=>$l.mergeArray(t,e))):$l.mergeArray(t,r) -}get items(){return this._def.items}rest(e){return new $c({...this._def,rest:e}) -}}$c.create=(e,t)=>{ -if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])") -;return new $c({items:e,typeName:eu.ZodTuple,rest:null,...Zl(t)})} -;class Dc 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!==kl.object)return Pl(n,{code:Sl.invalid_type, -expected:kl.object,received:n.parsedType}),Dl -;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?$l.mergeObjectAsync(t,r):$l.mergeObjectSync(t,r)} -get element(){return this._def.valueType}static create(e,t,n){ -return new Dc(t instanceof Wl?{keyType:e,valueType:t,typeName:eu.ZodRecord, -...Zl(n)}:{keyType:uc.create(),valueType:e,typeName:eu.ZodRecord,...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!==kl.map)return Pl(n,{code:Sl.invalid_type,expected:kl.map, -received:n.parsedType}),Dl -;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 Dl -;"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 Dl -;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)} -return{status:t.value,value:e}}}}Rc.create=(e,t,n)=>new Rc({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!==kl.set)return Pl(n,{code:Sl.invalid_type,expected:kl.set, -received:n.parsedType}),Dl;const r=this._def -;null!==r.minSize&&n.data.sizer.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 Dl;"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!==kl.function)return Pl(t,{code:Sl.invalid_type, -expected:kl.function,received:t.parsedType}),Dl;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:$c.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||$c.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}),Dl}return{status:"valid", -value:e.data}}get value(){return this._def.value}}function jc(e,t){ -return new Uc({values:e,typeName:eu.ZodEnum,...Zl(t)})}Lc.create=(e,t)=>new Lc({ -value:e,typeName:eu.ZodLiteral,...Zl(t)});class Uc extends Wl{constructor(){ -super(...arguments),ql.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}),Dl} -if(Ul(this,ql)||Bl(this,ql,new Set(this._def.values)),!Ul(this,ql).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}),Dl}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 Uc.create(e,{...this._def,...t})}exclude(e,t=this._def){ -return Uc.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}} -ql=new WeakMap,Uc.create=jc;class Bc extends Wl{constructor(){ -super(...arguments),zl.set(this,void 0)}_parse(e){ -const t=yl.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e) -;if(n.parsedType!==kl.string&&n.parsedType!==kl.number){ -const e=yl.objectValues(t);return Pl(n,{expected:yl.joinValues(e), -received:n.parsedType,code:Sl.invalid_type}),Dl} -if(Ul(this,zl)||Bl(this,zl,new Set(yl.getValidEnumValues(this._def.values))), -!Ul(this,zl).has(e.data)){const e=yl.objectValues(t);return Pl(n,{ -received:n.data,code:Sl.invalid_enum_value,options:e}),Dl}return Nl(e.data)} -get enum(){return this._def.values}}zl=new WeakMap,Bc.create=(e,t)=>new Bc({ -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!==kl.promise&&!1===t.common.async)return Pl(t,{ -code:Sl.invalid_type,expected:kl.promise,received:t.parsedType}),Dl -;const n=t.parsedType===kl.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 Dl;const r=await this._def.schema._parseAsync({ -data:e,path:n.path,parent:n}) -;return"aborted"===r.status?Dl:"dirty"===r.status||"dirty"===t.value?Rl(r.value):r -}));{if("aborted"===t.value)return Dl;const r=this._def.schema._parseSync({ -data:e,path:n.path,parent:n}) -;return"aborted"===r.status?Dl:"dirty"===r.status||"dirty"===t.value?Rl(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?Dl:("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?Dl:("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 qc extends Wl{_parse(e){ -return this._getType(e)===kl.undefined?Nl(void 0):this._def.innerType._parse(e)} -unwrap(){return this._def.innerType}}qc.create=(e,t)=>new qc({innerType:e, -typeName:eu.ZodOptional,...Zl(t)});class zc extends Wl{_parse(e){ -return this._getType(e)===kl.null?Nl(null):this._def.innerType._parse(e)} -unwrap(){return this._def.innerType}}zc.create=(e,t)=>new zc({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===kl.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)!==kl.nan){ -const t=this._getOrReturnCtx(e);return Pl(t,{code:Sl.invalid_type, -expected:kl.nan,received:t.parsedType}),Dl}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?Dl:"dirty"===e.status?(t.dirty(), -Rl(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?Dl:"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=kc.create,mu=xc.create,gu=_c.create,vu=_c.strictCreate,bu=Ec.create,yu=Cc.create,Ou=Pc.create,wu=$c.create,ku=Dc.create,xu=Rc.create,Su=Nc.create,_u=Mc.create,Eu=Ic.create,Tu=Lc.create,Cu=Uc.create,Au=Bc.create,Pu=Qc.create,$u=Fc.create,Du=qc.create,Ru=zc.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=Dl;var ju=Object.freeze({__proto__:null, -defaultErrorMap:El,setErrorMap:function(e){Tl=e},getErrorMap:Cl,makeIssue:Al, -EMPTY_PATH:[],addIssueToContext:Pl,ParseStatus:$l,INVALID:Dl,DIRTY:Rl,OK:Nl, -isAborted:Ml,isDirty:Il,isValid:Ll,isAsync:jl,get util(){return yl}, -get objectUtil(){return wl},ZodParsedType:kl,getParsedType:xl,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:kc,ZodArray:xc,ZodObject:_c,ZodUnion:Ec, -ZodDiscriminatedUnion:Cc,ZodIntersection:Pc,ZodTuple:$c,ZodRecord:Dc,ZodMap:Rc, -ZodSet:Nc,ZodFunction:Mc,ZodLazy:Ic,ZodLiteral:Lc,ZodEnum:Uc,ZodNativeEnum:Bc, -ZodPromise:Qc,ZodEffects:Fc,ZodTransformer:Fc,ZodOptional:qc,ZodNullable:zc, -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:$u,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:xu,nan:ou, -nativeEnum:Au,never:hu,null:uu,nullable:Ru,number:ru,object:gu, -oboolean:()=>iu().optional(),onumber:()=>ru().optional(),optional:Du, -ostring:()=>nu().optional(),pipeline:Mu,preprocess:Nu,promise:Pu,record:ku, -set:Su,strictObject:vu,string:nu,symbol:lu,transformer:$u,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 Uu=Fn("dark"),Bu=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"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=Ui((()=>"system"===Uu.value?o():Uu.value));function i(e){ -typeof document>"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=Bu.parse(null==(t=null==window?void 0:window.localStorage)?void 0:t.getItem("colorMode")) -;return Uu.value=s??n,Ma(Uu,i,{immediate:!0}),go((()=>{ -if("function"==typeof(null==window?void 0:window.matchMedia)){ -const e=window.matchMedia("(prefers-color-scheme: dark)"),t=()=>"system"===Uu.value&&i("system") -;e.addEventListener("change",t),Oo((()=>{e.removeEventListener("change",t)}))} -})),{colorMode:Ui((()=>Uu.value)),darkLightMode:a,toggleColorMode:function(){ -var e -;Uu.value="dark"===a.value?"light":"dark",!(typeof window>"u")&&(null==(e=null==window?void 0:window.localStorage)||e.setItem("colorMode",Uu.value)) -},setColorMode:function(e){var t -;Uu.value=e,!(typeof window>"u")&&(null==(t=null==window?void 0:window.localStorage)||t.setItem("colorMode",Uu.value)) -},getSystemModePreference:o}}function Fu(e){return!!yt()&&(Ot(e),!0)} -function qu(e){return"function"==typeof e?e():Vn(e)} -const zu="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 zu&&(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=200,n={}){return function(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)}))}}(function(e,t={}){let n,r,o=Wu -;const a=e=>{clearTimeout(e),o(),o=Wu};return i=>{const s=qu(e),l=qu(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)}))}}(t,n),e)} -function Ku(e){var t;const n=qu(e);return null!=(t=null==n?void 0:n.$el)?t:n} -const Ju=zu?window:void 0,ed=zu?window.document:void 0;function td(...e){ -let t,n,r,o -;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,o]=e,t=Ju):[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((()=>[Ku(t),qu(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 nd=!1;function rd(e){const t=function(){ -const e=Fn(!1),t=_i();return t&&go((()=>{e.value=!0}),t),e}() -;return Ui((()=>(t.value,Boolean(e()))))}function od(e,t={}){ -const{window:n=Ju}=t,r=rd((()=>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(qu(e)),"addEventListener"in o?o.addEventListener("change",i):o.addListener(i), -a.value=o.matches)}));return Fu((()=>{l(),s(),o=void 0})),a} -function ad(e,t,n={}){const{window:r=Ju,...o}=n;let a -;const i=rd((()=>r&&"ResizeObserver"in r)),s=()=>{a&&(a.disconnect(),a=void 0) -},l=Ma(Ui((()=>Array.isArray(e)?e.map((e=>Ku(e))):[Ku(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 id=new Map;function sd(e){const t=yt();function n(n){var o -;const a=id.get(e)||new Set;a.add(n),id.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=id.get(e);n&&(n.delete(t),n.size||o())}function o(){id.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=id.get(e))||r.forEach((e=>e(t,n)))},reset:o}} -function ld(e=null,t={}){ -const{baseUrl:n="",rel:r="icon",document:o=ed}=t,a=function(...e){ -if(1!==e.length)return tr(...e);const t=e[0] -;return"function"==typeof t?$n(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 cd={ctrl:"control", -command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown", -left:"arrowleft",right:"arrowright"};function ud(e={}){ -const{reactive:t=!1,target:n=Ju,aliasMap:r=cd,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())}td(n,"keydown",(e=>(h(e,!0),a(e))),{passive:o -}),td(n,"keyup",(e=>(h(e,!1),a(e))),{passive:o}),td("blur",p,{passive:!0 -}),td("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]=Ui((()=>e.every((e=>qu(f[e])))))}else l[n]=Fn(!1) -;const a=Reflect.get(e,n,o);return t?qu(a):a}});return f}function dd(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) -}),qu(t))}return r&&(o.value=!0,zu&&l()),Fu(s),{isPending:$n(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 pd="https://api.scalar.com/request-proxy",hd="https://proxy.scalar.com" -;const fd=(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("") -},md=e=>{let t=0,n=0,r=0;if(!(null==e?void 0:e.length))return n -;for(r=0;r!e.startsWith("http://")&&!e.startsWith("https://")&&!/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-.]+(\/|$)/.test(e) -;function yd(e,t){return!(!e||!t)&&(!bd(t)&&!function(e){try{ -const{hostname:t}=new URL(e);return gd.includes(t)}catch{return!0}}(t))} -const Od=Symbol.for("yaml.alias"),wd=Symbol.for("yaml.document"),kd=Symbol.for("yaml.map"),xd=Symbol.for("yaml.pair"),Sd=Symbol.for("yaml.scalar"),_d=Symbol.for("yaml.seq"),Ed=Symbol.for("yaml.node.type"),Td=e=>!!e&&"object"==typeof e&&e[Ed]===Od,Cd=e=>!!e&&"object"==typeof e&&e[Ed]===wd,Ad=e=>!!e&&"object"==typeof e&&e[Ed]===kd,Pd=e=>!!e&&"object"==typeof e&&e[Ed]===xd,$d=e=>!!e&&"object"==typeof e&&e[Ed]===Sd,Dd=e=>!!e&&"object"==typeof e&&e[Ed]===_d -;function Rd(e){if(e&&"object"==typeof e)switch(e[Ed]){case kd:case _d:return!0} -return!1}function Nd(e){if(e&&"object"==typeof e)switch(e[Ed]){case Od:case kd: -case Sd:case _d:return!0}return!1} -const Md=e=>($d(e)||Rd(e))&&!!e.anchor,Id=Symbol("break visit"),Ld=Symbol("skip children"),jd=Symbol("remove node") -;function Ud(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(Cd(e)){ -Bd(null,e.contents,n,Object.freeze([e]))===jd&&(e.contents=null) -}else Bd(null,e,n,Object.freeze([]))}function Bd(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):Ad(t)?null==(o=n.Map)?void 0:o.call(n,e,t,r):Dd(t)?null==(a=n.Seq)?void 0:a.call(n,e,t,r):Pd(t)?null==(i=n.Pair)?void 0:i.call(n,e,t,r):$d(t)?null==(s=n.Scalar)?void 0:s.call(n,e,t,r):Td(t)?null==(l=n.Alias)?void 0:l.call(n,e,t,r):void 0 -}(e,t,n,r);if(Nd(o)||Pd(o))return function(e,t,n){const r=t[t.length-1] -;if(Rd(r))r.items[e]=n;else if(Pd(r))"key"===e?r.key=n:r.value=n;else{ -if(!Cd(r)){const e=Td(r)?"alias":"scalar" -;throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n} -}(e,r,o),Bd(e,o,n,r);if("symbol"!=typeof o)if(Rd(t)){ -r=Object.freeze(r.concat(t));for(let e=0;e"!==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=>Qd[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&&Nd(e.contents)){const t={};Ud(e.contents,((e,n)=>{ -Nd(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 qd(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 zd(e){const t=new Set;return Ud(e,{Value(e,n){ -n.anchor&&t.add(n.anchor)}}),t}function Hd(e,t){for(let n=1;;++n){ -const r=`${e}${n}`;if(!t.has(r))return r}}function Vd(e,t,n,r){ -if(r&&"object"==typeof r)if(Array.isArray(r))for(let o=0,a=r.length;oZd(e,String(t),n))) -;if(e&&"function"==typeof e.toJSON){if(!n||!Md(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)}Fd.defaultYaml={ -explicit:!1,version:"1.2"},Fd.defaultTags={"!!":"tag:yaml.org,2002:"};class Wd{ -constructor(e){Object.defineProperty(this,Ed,{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(!Cd(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=Zd(this,"",a) -;if("function"==typeof r)for(const{count:s,res:l}of a.anchors.values())r(l,s) -;return"function"==typeof o?Vd(o,{"":i},"",i):i}}let Xd=class extends Wd{ -constructor(e){super(Od),this.source=e,Object.defineProperty(this,"tag",{set(){ -throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t -;return Ud(e,{Node:(e,n)=>{if(n===this)return Ud.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||(Zd(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=Gd(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(qd(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 Gd(e,t,n){if(Td(t)){const r=t.resolve(e),o=n&&r&&n.get(r) -;return o?o.count*o.aliasCount:0}if(Rd(t)){let r=0;for(const o of t.items){ -const t=Gd(e,o,n);t>r&&(r=t)}return r}if(Pd(t)){ -const r=Gd(e,t.key,n),o=Gd(e,t.value,n);return Math.max(r,o)}return 1} -const Yd=e=>!e||"function"!=typeof e&&"object"!=typeof e;class Kd extends Wd{ -constructor(e){super(Sd),this.value=e}toJSON(e,t){ -return(null==t?void 0:t.keep)?this.value:Zd(this.value,e,t)}toString(){ -return String(this.value)}} -Kd.BLOCK_FOLDED="BLOCK_FOLDED",Kd.BLOCK_LITERAL="BLOCK_LITERAL", -Kd.PLAIN="PLAIN",Kd.QUOTE_DOUBLE="QUOTE_DOUBLE",Kd.QUOTE_SINGLE="QUOTE_SINGLE" -;const Jd="tag:yaml.org,2002:";function ep(e,t,n){var r,o,a -;if(Cd(e)&&(e=e.contents),Nd(e))return e;if(Pd(e)){ -const t=null==(o=(r=n.schema[kd]).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 Xd(d.anchor);d={ -anchor:null,node:null},u.set(e,d)} -(null==t?void 0:t.startsWith("!!"))&&(t=Jd+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 Kd(e);return d&&(d.node=t),t} -p=e instanceof Map?c[kd]:Symbol.iterator in Object(e)?c[_d]:c[kd]} -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 Kd(e) -;return t?h.tag=t:p.default||(h.tag=p.tag),d&&(d.node=h),h}function tp(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 ep(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 np=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done -;class rp extends Wd{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=>Nd(t)||Pd(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()), -t}addIn(e,t){if(np(e))this.add(t);else{const[n,...r]=e,o=this.get(n,!0) -;if(Rd(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,tp(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(Rd(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&&$d(o)?o.value:o:Rd(o)?o.getIn(r,t):void 0} -hasAllNullValues(e){return this.items.every((t=>{if(!Pd(t))return!1 -;const n=t.value -;return null==n||e&&$d(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!!Rd(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(Rd(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,tp(this.schema,r,t))}}}}rp.maxFlowStringSingleLineLength=60 -;const op=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function ap(e,t){ -return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e} -const ip=(e,t,n)=>e.endsWith("\n")?ap(n,t):n.includes("\n")?"\n"+ap(n,t):(e.endsWith(" ")?"":" ")+n,sp="flow",lp="block",cp="quoted" -;function up(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===lp&&(m=dp(e,m,t.length),-1!==m&&(h=m+l));for(let y;y=e[m+=1];){ -if(n===cp&&"\\"===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===lp&&(m=dp(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===cp){ -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({ -indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth, -minContentWidth:e.options.minContentWidth}),hp=e=>/^(%|---|\.\.\.)/m.test(e) -;function fp(e,t){const n=JSON.stringify(e) -;if(t.options.doubleQuotedAsJSON)return n -;const{implicitKey:r}=t,o=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(hp(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.lengthr)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(vp,`$&${c}`)) -;let m,g=!1,v=-1;for(m=0;m")+(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}${up(`${b}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,lp,pp(r,!0))}` -}function yp(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!==Kd.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=Kd.QUOTE_DOUBLE) -;const l=e=>{switch(e){case Kd.BLOCK_FOLDED:case Kd.BLOCK_LITERAL: -return o||a?gp(i.value,t):bp(i,t,n,r);case Kd.QUOTE_DOUBLE:return fp(i.value,t) -;case Kd.QUOTE_SINGLE:return mp(i.value,t);case Kd.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 gp(a,t) -;if(!a||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return s||u||!a.includes("\n")?gp(a,t):bp(e,t,n,r) -;if(!s&&!u&&o!==Kd.PLAIN&&a.includes("\n"))return bp(e,t,n,r);if(hp(a)){ -if(""===l)return t.forceBlockIndent=!0,bp(e,t,n,r);if(s&&l===c)return gp(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 gp(a,t)} -return s?d:up(d,l,sp,pp(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 Op(e,t){const n=Object.assign({blockQuote:!0,commentString:op, -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 wp(e,t,n,r){var o;if(Pd(e))return e.toString(t,n,r) -;if(Td(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=Nd(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($d(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=($d(e)||Rd(e))&&e.anchor -;a&&qd(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):$d(i)?yp(i,t,n,r):i.toString(t,n,r) -;return s?$d(i)||"{"===l[0]||"["===l[0]?`${s} ${l}`:`${s}\n${t.indent}${l}`:l} -function kp(e,t){ -"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t)) -}function xp(e,t,{key:n,value:r}){ -if((null==e?void 0:e.doc.schema.merge)&&Sp(n))if(r=Td(r)?r.resolve(e.doc):r, -Dd(r))for(const o of r.items)_p(e,t,o);else if(Array.isArray(r))for(const o of r)_p(e,t,o);else _p(e,t,r);else{ -const o=Zd(n,"",e) -;if(t instanceof Map)t.set(o,Zd(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(Nd(e)&&(null==n?void 0:n.doc)){ -const t=Op(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)+'..."'),kp(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=Zd(r,a,e) -;a in t?Object.defineProperty(t,a,{value:i,writable:!0,enumerable:!0, -configurable:!0}):t[a]=i}}return t} -const Sp=e=>"<<"===e||$d(e)&&"<<"===e.value&&(!e.type||e.type===Kd.PLAIN) -;function _p(e,t,n){const r=e&&Td(n)?n.resolve(e.doc):n -;if(!Ad(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 Ep(e,t,n){ -const r=ep(e,void 0,n),o=ep(t,void 0,n);return new Tp(r,o)}class Tp{ -constructor(e,t=null){Object.defineProperty(this,Ed,{value:xd -}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this -;return Nd(t)&&(t=t.clone(e)),Nd(n)&&(n=n.clone(e)),new Tp(t,n)}toJSON(e,t){ -return xp(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=Nd(e)&&e.comment||null;if(d){ -if(p)throw new Error("With simple keys, key nodes cannot have comments") -;if(Rd(e)||!Nd(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||Rd(e)||($d(e)?e.type===Kd.BLOCK_FOLDED||e.type===Kd.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=wp(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+=ip(y,n.indent,c(p)):b&&o&&o(),y -;v&&(p=null),h?(p&&(y+=ip(y,n.indent,c(p))), -y=`? ${y}\n${s}:`):(y=`${y}:`,p&&(y+=ip(y,n.indent,c(p)))), -Nd(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||!$d(t)||(n.indentAtStart=y.length+1),b=!1,u||!(l.length>=2)||n.inFlow||h||!Dd(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2)) -;let O=!1;const w=wp(t,n,(()=>O=!0),(()=>b=!0));let k=" " -;if(p||f||m)k=f?"\n":"", -m&&(k+=`\n${ap(c(m),n.indent)}`),""!==w||n.inFlow?k+=`\n${n.indent}`:"\n"===k&&(k="\n\n");else if(!h&&Rd(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&&no=null),(()=>d=!0)) -;o&&(i+=ip(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;eo=null)) -;fu||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 $p({indent:e,options:{commentString:t}},n,r,o){ -if(r&&o&&(r=r.replace(/^\n+/,"")),r){const o=ap(t(r),e);n.push(o.trimStart())}} -function Dp(e,t){const n=$d(t)?t.value:t;for(const r of e)if(Pd(r)){ -if(r.key===t||r.key===n)return r;if($d(r.key)&&r.key.value===n)return r}} -class Rp extends rp{static get tagName(){return"tag:yaml.org,2002:map"} -constructor(e){super(kd,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(Ep(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=Pd(e)?e:e&&"object"==typeof e&&"key"in e?new Tp(e.key,e.value):new Tp(e,null==e?void 0:e.value) -;const o=Dp(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`) -;$d(o.value)&&Yd(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=Dp(this.items,e);if(!t)return!1 -;return this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){ -const n=Dp(this.items,e),r=null==n?void 0:n.value -;return(!t&&$d(r)?r.value:r)??void 0}has(e){return!!Dp(this.items,e)}set(e,t){ -this.add(new Tp(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)xp(t,r,o) -;return r}toString(e,t,n){if(!e)return JSON.stringify(this) -;for(const r of this.items)if(!Pd(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})),Cp(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"}, -itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const Np={collection:"map", -default:!0,nodeClass:Rp,tag:"tag:yaml.org,2002:map", -resolve:(e,t)=>(Ad(e)||t("Expected a mapping for this tag"),e), -createNode:(e,t,n)=>Rp.from(e,t,n)};class Mp extends rp{static get tagName(){ -return"tag:yaml.org,2002:seq"}constructor(e){super(_d,e),this.items=[]}add(e){ -this.items.push(e)}delete(e){const t=Ip(e);if("number"!=typeof t)return!1 -;return this.items.splice(t,1).length>0}get(e,t){const n=Ip(e) -;if("number"!=typeof n)return;const r=this.items[n];return!t&&$d(r)?r.value:r} -has(e){const t=Ip(e);return"number"==typeof t&&t=0?t:null}const Lp={collection:"seq", -default:!0,nodeClass:Mp,tag:"tag:yaml.org,2002:seq", -resolve:(e,t)=>(Dd(e)||t("Expected a sequence for this tag"),e), -createNode:(e,t,n)=>Mp.from(e,t,n)},jp={identify:e=>"string"==typeof e, -default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e, -stringify:(e,t,n,r)=>yp(e,t=Object.assign({actualString:!0},t),n,r)},Up={ -identify:e=>null==e,createNode:()=>new Kd(null),default:!0, -tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/, -resolve:()=>new Kd(null), -stringify:({source:e},t)=>"string"==typeof e&&Up.test.test(e)?e:t.options.nullStr -},Bp={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool", -test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/, -resolve:e=>new Kd("t"===e[0]||"T"===e[0]),stringify({source:e,value:t},n){ -if(e&&Bp.test.test(e)){if(t===("t"===e[0]||"T"===e[0]))return e} -return t?n.options.trueStr:n.options.falseStr}} -;function Qp({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 Fp={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:Qp},qp={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():Qp(e)}},zp={ -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 Kd(parseFloat(e)),n=e.indexOf(".") -;return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t}, -stringify:Qp -},Hp=e=>"bigint"==typeof e||Number.isInteger(e),Vp=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n) -;function Zp(e,t,n){const{value:r}=e;return Hp(r)&&r>=0?n+r.toString(t):Qp(e)} -const Wp={identify:e=>Hp(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int", -format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>Vp(e,2,8,n), -stringify:e=>Zp(e,8,"0o")},Xp={identify:Hp,default:!0, -tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>Vp(e,0,10,n), -stringify:Qp},Gp={identify:e=>Hp(e)&&e>=0,default:!0, -tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/, -resolve:(e,t,n)=>Vp(e,2,16,n),stringify:e=>Zp(e,16,"0x") -},Yp=[Np,Lp,jp,Up,Bp,Wp,Xp,Gp,Fp,qp,zp];function Kp(e){ -return"bigint"==typeof e||Number.isInteger(e)} -const Jp=({value:e})=>JSON.stringify(e),eh=[Np,Lp].concat([{ -identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str", -resolve:e=>e,stringify:Jp},{identify:e=>null==e,createNode:()=>new Kd(null), -default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null, -stringify:Jp},{identify:e=>"boolean"==typeof e,default:!0, -tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e, -stringify:Jp},{identify:Kp,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})=>Kp(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:Jp}],{default:!0,tag:"",test:/^/, -resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),th={ -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;e1&&t("Each pair must have its own sequence indicator") -;const e=r.items[0]||new Tp(new Kd(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]=Pd(r)?r:new Tp(r)}}else t("Expected a sequence for this tag") -;return e}function rh(e,t,n){const{replacer:r}=n,o=new Mp(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(Ep(e,s,n))}return o}const oh={ -collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:nh, -createNode:rh};class ah extends Mp{constructor(){ -super(),this.add=Rp.prototype.add.bind(this), -this.delete=Rp.prototype.delete.bind(this),this.get=Rp.prototype.get.bind(this), -this.has=Rp.prototype.has.bind(this), -this.set=Rp.prototype.set.bind(this),this.tag=ah.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(Pd(r)?(e=Zd(r.key,"",t), -o=Zd(r.value,e,t)):e=Zd(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=rh(e,t,n),o=new this -;return o.items=r.items,o}}ah.tag="tag:yaml.org,2002:omap";const ih={ -collection:"seq",identify:e=>e instanceof Map,nodeClass:ah,default:!1, -tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=nh(e,t),r=[] -;for(const{key:o}of n.items)$d(o)&&(r.includes(o.value)?t(`Ordered maps must not include duplicate keys: ${o.value}`):r.push(o.value)) -;return Object.assign(new ah,n)},createNode:(e,t,n)=>ah.from(e,t,n)} -;function sh({value:e,source:t},n){ -return t&&(e?lh:ch).test.test(t)?t:e?n.options.trueStr:n.options.falseStr} -const lh={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 Kd(!0), -stringify:sh},ch={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 Kd(!1), -stringify:sh},uh={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:Qp},dh={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():Qp(e)}},ph={ -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 Kd(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:Qp -},hh=e=>"bigint"==typeof e||Number.isInteger(e) -;function fh(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 mh(e,t,n){const{value:r}=e;if(hh(r)){ -const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return Qp(e)}const gh={ -identify:hh,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN", -test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>fh(e,2,2,n),stringify:e=>mh(e,2,"0b") -},vh={identify:hh,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT", -test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>fh(e,1,8,n),stringify:e=>mh(e,8,"0") -},bh={identify:hh,default:!0,tag:"tag:yaml.org,2002:int", -test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>fh(e,0,10,n),stringify:Qp},yh={ -identify:hh,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX", -test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>fh(e,2,16,n), -stringify:e=>mh(e,16,"0x")};class Oh extends Rp{constructor(e){ -super(e),this.tag=Oh.tag}add(e){let t -;t=Pd(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new Tp(e.key,null):new Tp(e,null) -;Dp(this.items,t.key)||this.items.push(t)}get(e,t){const n=Dp(this.items,e) -;return!t&&Pd(n)?$d(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=Dp(this.items,e) -;n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new Tp(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(Ep(a,null,n));return o}}Oh.tag="tag:yaml.org,2002:set";const wh={ -collection:"map",identify:e=>e instanceof Set,nodeClass:Oh,default:!1, -tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>Oh.from(e,t,n),resolve(e,t){ -if(Ad(e)){if(e.hasAllNullValues(!0))return Object.assign(new Oh,e) -;t("Set items must all have null values") -}else t("Expected a mapping for this tag");return e}};function kh(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 xh(e){let{value:t}=e,n=e=>e -;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return Qp(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 Sh={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})=>kh(e,n),stringify:xh},_h={ -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=>kh(e,!1),stringify:xh},Eh={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(Eh.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=kh(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$/,"") -},Th=[Np,Lp,jp,Up,lh,ch,gh,vh,bh,yh,uh,dh,ph,th,ih,oh,wh,Sh,_h,Eh],Ch=new Map([["core",Yp],["failsafe",[Np,Lp,jp]],["json",eh],["yaml11",Th],["yaml-1.1",Th]]),Ah={ -binary:th,bool:Bp,float:zp,floatExp:qp,floatNaN:Fp,floatTime:_h,int:Xp, -intHex:Gp,intOct:Wp,intTime:Sh,map:Np,null:Up,omap:ih,pairs:oh,seq:Lp,set:wh, -timestamp:Eh},Ph={"tag:yaml.org,2002:binary":th,"tag:yaml.org,2002:omap":ih, -"tag:yaml.org,2002:pairs":oh,"tag:yaml.org,2002:set":wh, -"tag:yaml.org,2002:timestamp":Eh};function $h(e,t){let n=Ch.get(t);if(!n){ -if(!Array.isArray(e)){ -const e=Array.from(Ch.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=Ah[e];if(t)return t -;const n=Object.keys(Ah).map((e=>JSON.stringify(e))).join(", ") -;throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))} -const Dh=(e,t)=>e.keyt.key?1:0;let Rh=class e{ -constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:o,sortMapEntries:a,toStringDefaults:i}){ -this.compat=Array.isArray(e)?$h(e,"compat"):e?$h(null,e):null, -this.merge=!!n,this.name="string"==typeof o&&o||"core", -this.knownTags=r?Ph:{},this.tags=$h(t,this.name), -this.toStringOptions=i??null,Object.defineProperty(this,kd,{value:Np -}),Object.defineProperty(this,Sd,{value:jp}),Object.defineProperty(this,_d,{ -value:Lp}),this.sortMapEntries="function"==typeof a?a:!0===a?Dh:null}clone(){ -const t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this)) -;return t.tags=this.tags.slice(),t}};let Nh=class e{constructor(e,t,n){ -this.commentBefore=null, -this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Ed,{ -value:wd});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 Fd({ -version:a -}),this.setSchema(a,n),this.contents=void 0===e?null:this.createNode(e,r,n)} -clone(){const t=Object.create(e.prototype,{[Ed]:{value:wd}}) -;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=Nd(this.contents)?this.contents.clone(t.schema):this.contents, -this.range&&(t.range=this.range.slice()),t}add(e){ -Mh(this.contents)&&this.contents.add(e)}addIn(e,t){ -Mh(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){ -const n=zd(this);e.anchor=!t||n.has(t)?Hd(t||"a",n):t}return new Xd(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=zd(e)) -;const a=Hd(t,o);return o.add(a),a},setAnchors:()=>{for(const e of n){ -const t=r.get(e);if("object"!=typeof t||!t.anchor||!$d(t.node)&&!Rd(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=ep(e,c,{aliasDuplicateObjects:o??!0,keepUndefined:s??!1, -onAnchor:u,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:p}) -;return i&&Rd(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 Tp(r,o) -}delete(e){return!!Mh(this.contents)&&this.contents.delete(e)}deleteIn(e){ -return np(e)?null!=this.contents&&(this.contents=null, -!0):!!Mh(this.contents)&&this.contents.deleteIn(e)}get(e,t){ -return Rd(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){ -return np(e)?!t&&$d(this.contents)?this.contents.value:this.contents:Rd(this.contents)?this.contents.getIn(e,t):void 0 -}has(e){return!!Rd(this.contents)&&this.contents.has(e)}hasIn(e){ -return np(e)?void 0!==this.contents:!!Rd(this.contents)&&this.contents.hasIn(e)} -set(e,t){ -null==this.contents?this.contents=tp(this.schema,[e],t):Mh(this.contents)&&this.contents.set(e,t) -}setIn(e,t){ -np(e)?this.contents=t:null==this.contents?this.contents=tp(this.schema,Array.from(e),t):Mh(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 Fd({ -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 Fd({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 Rh(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=Zd(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?Vd(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=Op(e,t),{commentString:i}=a.options;if(e.commentBefore){ -1!==r.length&&r.unshift("");const t=i(e.commentBefore);r.unshift(ap(t,""))} -let s=!1,l=null;if(e.contents){if(Nd(e.contents)){ -if(e.contents.spaceBefore&&o&&r.push(""),e.contents.commentBefore){ -const t=i(e.contents.commentBefore);r.push(ap(t,""))} -a.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>s=!0 -;let n=wp(e.contents,a,(()=>l=null),t) -;l&&(n+=ip(n,"",i(l))),"|"!==n[0]&&">"!==n[0]||"---"!==r[r.length-1]?r.push(n):r[r.length-1]=`--- ${n}` -}else r.push(wp(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(ap(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(ap(i(t),"")))}return r.join("\n")+"\n"}(this,e)}};function Mh(e){ -if(Rd(e))return!0 -;throw new Error("Expected a YAML collection as document contents")} -class Ih extends Error{constructor(e,t,n,r){ -super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class Lh extends Ih{ -constructor(e,t,n){super("YAMLParseError",e,t,n)}}class jh extends Ih{ -constructor(e,t,n){super("YAMLWarning",e,t,n)}}const Uh=(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 Bh(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 k=e[e.length-1],x=k?k.offset+k.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:x,start:w??x}}function Qh(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(Qh(t.key)||Qh(t.value))return!0}return!1;default:return!0}} -function Fh(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)&&Qh(t)){ -n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}} -function qh(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1 -;const o="function"==typeof r?r:(t,n)=>t===n||$d(t)&&$d(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge) -;return t.some((e=>o(e.key,n)))} -const zh="All mapping items must start at the same column";function Hh(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 Vh="Block collections are not allowed within flow collections",Zh=e=>e&&("block-map"===e.type||"block-seq"===e.type) -;function Wh(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)??Rp)(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=Bh(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",zh)), -!f.anchor&&!f.tag&&!p){ -c=f.end,f.comment&&(s.comment?s.comment+="\n"+f.comment:s.comment=f.comment) -;continue} -(f.hasNewlineAfterProp||Qh(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",zh) -;const g=f.end,v=d?e(n,d,f,o):t(n,g,a,null,f,o) -;n.schema.compat&&Fh(r.indent,d,o), -qh(n,s.items,v)&&o(g,"DUPLICATE_KEY","Map keys must be unique") -;const b=Bh(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.start0){ -const e=Hh(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 Xh(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=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;ml&&(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;ml||"\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;en(r+e,t,o);switch(o){case"scalar": -s=Kd.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 Yh(e) -}(a,c);break;case"single-quoted-scalar":s=Kd.QUOTE_SINGLE,l=function(e,t){ -"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote") -;return Yh(e.slice(1,-1)).replace(/''/g,"'")}(a,c);break -;case"double-quoted-scalar":s=Kd.QUOTE_DOUBLE,l=function(e,t){let n="" -;for(let r=1;rt?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=Hh(i,u,t,n);return{value:l,type:s,comment:d.comment, -range:[r,u,d.offset]}}function Yh(e){let t,n;try{ -t=new RegExp("(.*?)(?r(n,"TAG_RESOLVE_FAILED",e))):null,c=n&&l?function(e,t,n,r,o){ -var a;if("!"===n)return e[Sd];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[Sd] -}(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[Sd];if(t.compat){ -const i=t.compat.find((e=>{var t -;return e.default&&(null==(t=e.test)?void 0:t.test(n))}))??t[Sd] -;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[Sd];let u;try{ -const a=c.resolve(o,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options) -;u=$d(a)?a:new Kd(a)}catch(d){const e=d instanceof Error?d.message:String(d) -;r(n??t,"TAG_RESOLVE_FAILED",e),u=new Kd(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 nf(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 rf={composeNode:of,composeEmptyNode:af} -;function of(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 Xd(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=Hh(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=tf(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===Rp.tagName&&"map"===s||i===Mp.tagName&&"seq"===s||!s)return Wh(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), -Wh(e,t,n,o,i);t.schema.tags.push(Object.assign({},a,{default:!1})),l=a} -const c=Wh(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=Nd(u)?u:new Kd(u) -;return d.range=c.range,d.tag=i,(null==l?void 0:l.format)&&(d.format=l.format),d -}(rf,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=af(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 af(e,t,n,r,{spaceBefore:o,comment:a,anchor:i,tag:s,end:l},c){ -const u=tf(e,{type:"scalar",offset:nf(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 sf(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 lf(e){var t;let n="",r=!1,o=!1;for(let a=0;a{ -const o=sf(e) -;r?this.warnings.push(new jh(o,t,n)):this.errors.push(new Lh(o,t,n)) -},this.directives=new Fd({version:e.version||"1.2"}),this.options=e} -decorate(e,t){const{comment:n,afterEmptyLine:r}=lf(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(Rd(o)&&!o.flow&&o.items.length>0){ -let e=o.items[0];Pd(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:lf(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=sf(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 Nh(void 0,s),c={atRoot:!0,directives:l.directives, -options:l.options,schema:l.schema},u=Bh(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?of(c,o,u,i):af(c,u.end,r,null,u,i) -;const d=l.contents.range[2],p=Hh(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 Lh(sf(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 Lh(sf(e),"UNEXPECTED_TOKEN",t));break} -this.doc.directives.docEnd=!0 -;const t=Hh(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 Lh(sf(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 Nh(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 uf(e){switch(e){ -case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}} -const df=new Set("0123456789ABCDEFabcdef"),pf=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),hf=new Set(",[]{}"),ff=new Set(" ,[]{}\n\r\t"),mf=e=>!e||ff.has(e) -;class gf{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)&&uf(this.buffer[e+3]))return-1}return e}getLine(){ -let e=this.lineEndPos -;return("number"!=typeof e||-1!==e&&ethis.indentValue&&!uf(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)&&uf(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(mf),"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"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break -}return yield*this.pushUntil((e=>uf(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(uf(t)||e&&hf.has(t))break;n=r}else if(uf(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&&hf.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&&hf.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(mf))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators()) -;case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1) -;if(uf(t)||e&&hf.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(;!uf(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(pf.has(t))t=this.buffer[++e];else{ -if("%"!==t||!df.has(this.buffer[e+1])||!df.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 vf{constructor(){this.lineStarts=[], -this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{ -let t=0,n=this.lineStarts.length;for(;t>1 -;this.lineStarts[r]=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 xf(e){ -if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||bf(t.start,"explicit-key-ind")||bf(t.sep,"map-value-ind")||(t.key&&(t.value=t.key), -delete t.key, -Of(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 Sf=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 gf,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&&xf(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===yf(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.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;re.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(bf(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(Of(n.key)&&!bf(n.sep,"newline")){ -const e=kf(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(bf(n.start,"newline"))Object.assign(n,{ -key:null,sep:[this.sourceToken]});else{const e=kf(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]}):bf(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||bf(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=kf(wf(t));xf(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=kf(wf(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=kf(wf(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 _f(e,t={}){ -const{lineCounter:n,prettyErrors:r}=function(e){const t=!1!==e.prettyErrors -;return{lineCounter:e.lineCounter||t&&new vf||null,prettyErrors:t} -}(t),o=new Sf(null==n?void 0:n.addNewLine),a=new cf(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 Lh(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(Uh(e,n)),i.warnings.forEach(Uh(e,n))),i} -const Ef={parse:e=>{const t=JSON.parse(e) -;if("object"!=typeof t)throw Error("Invalid JSON object");return t}, -parseSafe(e,t){try{return Ef.parse(e)}catch(n){return"function"==typeof t?t(n):t -}},stringify:e=>JSON.stringify(e) -},Tf=e=>"string"==typeof e&&!!Ef.parseSafe(e,!1);function Cf(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 Af="https://api.scalar.com/request-proxy",Pf="https://proxy.scalar.com" -;async function $f(e,t,n=!0){t===Af&&(t=Pf);const r=await fetch(t?vd(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?Cf(await r.text()):await r.text()}const Df={ -VARIABLES:/{{((?:[^{}]|{[^{}]*})*)}}/g,PATH:/(?:{)([^{}]+)}(?!})/g, -TEMPLATE_VARIABLE:/{{\s*([^}\s]+?)\s*}}|{\s*([^}\s]+?)\s*}|:\b[\w.]+\b/g -},Rf=ju.enum(["path","query","header","cookie"]),Nf=ju.enum(["matrix","simple","form","label","spaceDelimited","pipeDelimited","deepObject"]),Mf=ju.object({ -in:Rf,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:Nf.optional(), -example:ju.unknown().optional(),examples:ju.record(ju.string(),ju.object({ -value:ju.unknown(),summary:ju.string().optional()})).optional()}) -;function If(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 Lf(e,t){const n=function(e,t,r){let o="" -;if(e instanceof Array)for(let a=0,i=e.length;a":"/>",a){ -for(const t in e)"#text"==t?o+=e[t]:"#cdata"==t?o+="":"@"!=t.charAt(0)&&(o+=n(e[t],t,r+"\t")) -;o+=("\n"==o.charAt(o.length-1)?r:"")+""} -}else o+=r+"<"+t+">"+e.toString()+"";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 jf(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 Uf=e=>{ -if("string"==typeof e)return Tf(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 Bf={ -"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 Qf(e,t=""){ -return Bf[e.format]??t}const Ff=new WeakMap;function qf(e,t){ -return"object"!=typeof t||null===t||Ff.set(e,t),t}const zf=(e,t,n=0,r,o)=>{ -var a,i,s,l,c,u,d,p,h,f,m,g,v;if(Ff.has(e))return Ff.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):qf(e,n) -}if(Array.isArray(e.examples)&&e.examples.length>0)return qf(e,e.examples[0]) -;if(void 0!==e.example)return qf(e,e.example) -;if(void 0!==e.default)return qf(e,e.default) -;if(Array.isArray(e.enum)&&e.enum.length>0)return qf(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]=zf(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=zf(e.additionalProperties,t,n+1)) -} -return void 0!==e.anyOf?Object.assign(r,zf(e.anyOf[0],t,n+1)):void 0!==e.oneOf?Object.assign(r,zf(e.oneOf[0],t,n+1)):void 0!==e.allOf&&Object.assign(r,...e.allOf.map((r=>zf(r,t,n+1,e))).filter((e=>void 0!==e))), -qf(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 qf(e,o?{[r]:e.example}:e.example);if(e.items){ -if(e.items.allOf){if("object"===e.items.allOf[0].type){const a=zf({ -type:"object",allOf:e.items.allOf},t,n+1,e);return qf(e,o?[{[r]:a}]:[a])}{ -const a=e.items.allOf.map((r=>zf(r,t,n+1,e))).filter((e=>void 0!==e)) -;return qf(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=>zf(r,t,n+1,e))).filter((e=>void 0!==e)) -;return qf(e,o?[{[r]:a}]:a)}}if(null==(v=e.items)?void 0:v.type){ -const a=zf(e.items,t,n+1);return o?[{[r]:a}]:[a]}return[]}const y={ -string:b?Qf(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 qf(e,y[e.type]) -;const O=e.oneOf||e.anyOf;if(Array.isArray(O)&&O.length>0){const e=O[0] -;return zf(e,t,n+1)}if(Array.isArray(e.allOf)){let r=null -;return e.allOf.forEach((e=>{const o=zf(e,t,n+1) -;r="object"==typeof o&&"object"==typeof r?{...r??{},...o -}:Array.isArray(o)&&Array.isArray(r)?[...r??{},...o]:o})),qf(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 qf(e,t)}return null} -;function Hf(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?zf(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 Vf(e,t=""){return Object.entries(e).flatMap((([e,n])=>{ -const r=t?`${t}[${e}]`:e;return"object"==typeof n&&null!==n?Vf(n,r):[{name:r, -value:n}]}))} -const Zf=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"] -;let Wf=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e)) -;for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]] -;return t} -;const Xf=ju.string().min(7).optional().default((()=>Wf())),Gf=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()}),Yf=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:Yf})]);const Kf=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:Gf.array().default([])}).optional(),binary:ju.instanceof(Blob).optional(), -activeBody:ju.union([ju.literal("raw"),ju.literal("formData"),ju.literal("binary")]).default("raw") -}),Jf=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:Yf.optional()}),em=ju.object({uid:Xf, -type:ju.literal("requestExample").optional().default("requestExample"), -requestUid:Xf,name:ju.string().optional().default("Name"), -body:Kf.optional().default({}),parameters:ju.object({ -path:Gf.array().default([]),query:Gf.array().default([]), -headers:Gf.array().default([]),cookies:Gf.array().default([]) -}).optional().default({}), -serverVariables:ju.record(ju.string(),ju.array(ju.string())).optional() -}),tm=ju.record(ju.string(),ju.string()).optional(),nm=ju.object({ -name:ju.string().optional(),body:Jf.optional(),parameters:ju.object({path:tm, -query:tm,headers:tm,cookies:tm})});function rm(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 -;const o=e.schema,a=Object.keys((null==e?void 0:e.examples)??{}),i=a.length?null==(t=e.examples)?void 0:t[a[0]]:null,s=String((null==o?void 0:o.default)??(null==(n=null==o?void 0:o.examples)?void 0:n[0])??(null==o?void 0:o.example)??(null==i?void 0:i.value)??e.example??""),l=(null==o?void 0:o.enum)&&"string"!==(null==o?void 0:o.type)?null==(r=o.enum)?void 0:r.map(String):null==o?void 0:o.enum,c=If({ -...o,key:e.name,value:s,description:e.description,required:e.required, -enabled:!!e.required,enum:l},Gf,!1) -;return c||(console.warn(`Example at ${e.name} is invalid.`),Gf.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=jf(null==(o=null==(r=e.information)?void 0:r.requestBody)?void 0:o.content),l=Zf.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:Uf(null==u?void 0:u.value)}} -;const d=Hf(e,"body",!1);if(d.length>0)return{body:{mimeType:"application/json", -text:Uf(d[0].value)}};const p=Hf(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)?zf(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)?zf(null==h?void 0:h.schema,{xml:!0, -mode:"write"}):null;return{headers:f,body:{mimeType:l,text:m??Lf(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)?zf(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)?zf(null==h?void 0:h.schema,{xml:!0, -mode:"write"}):null;return{headers:f,body:{mimeType:l,params:Vf(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=If({requestUid:e.uid,parameters:c,name:t,body:u,serverVariables:{} -},em,!1) -;return d||(console.warn(`Example at ${e.uid} is invalid.`),em.parse({}))} -const om=ju.object({description:ju.string().optional()}),am=ju.object({uid:Xf, -nameKey:ju.string().optional().default("")}),im=om.extend({ -type:ju.literal("apiKey"),name:ju.string().optional().default(""), -in:ju.enum(["query","header","cookie"]).optional().default("header") -}),sm=ju.object({value:ju.string().default("") -}),lm=im.merge(am).merge(sm),cm=om.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") -}),um=ju.object({username:ju.string().default(""), -password:ju.string().default(""),token:ju.string().default("") -}),dm=cm.merge(am).merge(um),pm=om.extend({type:ju.literal("openIdConnect"), -openIdConnectUrl:ju.string().optional().default("") -}),hm=pm.merge(am),fm=ju.string().default(""),mm=ju.string().default(""),gm=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("") -}),vm="undefined"!=typeof window?window.location.origin+window.location.pathname:"",bm=["SHA-256","plain","no"],ym=om.extend({ -type:ju.literal("oauth2"),flows:ju.object({implicit:gm.extend({ -type:ju.literal("implicit"),authorizationUrl:fm, -"x-scalar-redirect-uri":ju.string().optional().default(vm)}), -password:gm.extend({type:ju.literal("password"),tokenUrl:mm, -clientSecret:ju.string().default(""),username:ju.string().default(""), -password:ju.string().default("")}),clientCredentials:gm.extend({ -type:ju.literal("clientCredentials"),tokenUrl:mm, -clientSecret:ju.string().default("")}),authorizationCode:gm.extend({ -type:ju.literal("authorizationCode"),authorizationUrl:fm, -"x-usePkce":ju.enum(bm).optional().default("no"), -"x-scalar-redirect-uri":ju.string().optional().default(vm),tokenUrl:mm, -clientSecret:ju.string().default("")})}).partial().default({implicit:{ -type:"implicit",authorizationUrl:"http://localhost:8080"}}) -}),Om=ym.merge(am),wm=ju.record(ju.string(),ju.array(ju.string()).optional().default([])) -;ju.union([im,cm,ym,pm]);const km=ju.union([lm,dm,hm,Om]),xm=ju.object({ -name:ju.string().optional().default("name"),identifier:ju.string().optional(), -url:ju.string().optional()}),Sm=ju.object({name:ju.string().optional(), -url:ju.string().optional(),email:ju.string().email().optional()}),_m=ju.object({ -title:ju.string().optional().default("OpenAPI Spec"), -summary:ju.string().optional(),description:ju.string().optional(), -termsOfService:ju.string().optional(),contact:Sm.optional(), -license:xm.optional(),version:ju.string().optional().default("1.0") -}),Em=ju.object({description:ju.string().optional(),url:ju.string().default("") -}),Tm=ju.object({tagName:ju.string()}).array(),Cm=ju.object({ -type:ju.literal("tag").optional().default("tag"),name:ju.string(), -description:ju.string().optional(),externalDocs:Em.optional(), -"x-scalar-children":Tm.default([]).optional()}).extend({uid:Xf, -children:Xf.array().default([]) -}),Am=["connect","delete","get","head","options","patch","post","put","trace"],Pm=ju.any(),$m=ju.object({ -tags:ju.string().array().optional(),summary:ju.string().optional(), -description:ju.string().optional(),operationId:ju.string().optional(), -security:ju.array(wm).optional(),requestBody:Pm.optional(), -parameters:Mf.array().optional(),externalDocs:Em.optional(), -deprecated:ju.boolean().optional(), -responses:ju.record(ju.string(),ju.any()).optional(), -"x-scalar-examples":ju.record(ju.string(),nm).optional()}),Dm=ju.object({ -type:ju.literal("request").optional().default("request"),uid:Xf, -path:ju.string().optional().default(""),method:ju.enum(Am).default("get"), -servers:Xf.array().default([]),selectedServerUid:ju.string().default(""), -examples:Xf.array().default([]), -selectedSecuritySchemeUids:Xf.array().default([])}),Rm=$m.omit({ -"x-scalar-examples":!0}).merge(Dm),Nm={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"} -},Mm=["post","put","patch","delete"],Im=e=>Mm.includes(e),Lm=e=>{ -const t=e.trim().toLowerCase();return Nm[t]??{short:t,color:"text-c-2", -backgroundColor:"bg-c-2"}},jm=e=>Am.includes(e),Um={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)"}};const Bm=(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 Bm(o,t,n) -},Qm="collection",Fm="cookie",qm="environment",zm="request",Hm="requestExample",Vm="securityScheme",Zm="server",Wm="tag",Xm="workspace" -;function Gm(e,t){return Object.keys(e).forEach((n=>{ -Object.hasOwn(t,n)||delete e[n]})),Object.assign(e,t),e}function Ym(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 Km="undefined"!=typeof window?window.__SCALAR__??{}:{},Jm=e=>e[0].toUpperCase()+e.slice(1),eg=/[\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,tg=Object.hasOwnProperty -;class ng{constructor(){this.occurrences,this.reset()}slug(e,t){const n=this -;let r=rg(e,!0===t);const o=r;for(;tg.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 rg(e,t){ -return"string"!=typeof e?"":(t||(e=e.toLowerCase()), -e.replace(eg,"").replace(/ /g,"-"))} -const og=Fn(Km.hash??""),ag=Fn(),ig=Fn(!1),sg=e=>e.slug?`description/${e.slug}`:"",lg=e=>{ -var t;if(!ag.value)return"" -;const n=new RegExp("^"+(null==(t=ag.value)?void 0:t.basePath)+"/?") -;return decodeURIComponent(e.replace(n,"")) -},cg=(e,t)=>e?`webhook/${t}/${rg(e)}`:"webhooks",ug=e=>e?`model/${rg(e)}`:"models",dg=(e,t)=>`${pg(t)}/${e.httpVerb}${e.path}`,pg=({name:e})=>`tag/${rg(e)}`,hg=(e=og.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},fg=()=>{ -og.value=ag.value?lg(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,"")) -},mg=()=>({hash:og,getWebhookId:cg,getModelId:ug,getHeadingId:sg, -getOperationId:dg,getPathRoutingId:lg,getSectionId:hg,getTagId:pg, -isIntersectionEnabled:ig,pathRouting:ag,updateHash:fg});function gg(e){return{ -parameterMap:Ui((()=>{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}))}}function vg(e,t){ -for(const[n,r]of Object.entries(e))null!==r&&"object"==typeof r?(t[n]??(t[n]=new r.__proto__.constructor), -vg(r,t[n])):void 0!==r&&(t[n]=r);return t}function bg(e){return vg(e??{},{info:{ -title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""}, -contact:{email:""}},externalDocs:{description:"",url:""},servers:[],tags:[]})} -function yg(e,t){var n,r,o;const a={url:(null==t?void 0:t.url)??"", -httpVersion:(null==t?void 0:t.httpVersion)??"HTTP/1.1", -cookies:(null==t?void 0:t.cookies)??[],headers:(null==t?void 0:t.headers)??[], -headersSize:(null==t?void 0:t.headersSize)??0, -bodySize:(null==t?void 0:t.bodySize)??0, -queryString:(null==t?void 0:t.queryString)??[],...t -},i=((null==a?void 0:a.headers)??[]).reduce(((e,t)=>({...e,[t.name]:t.value -})),{}),s=(a.queryString??[]).reduce(((e,t)=>({...e,[t.name]:t.value -})),{}),l=(a.cookies??[]).reduce(((e,t)=>({...e,[t.name]:t.value -})),{}),c=new URL(a.url),u={protocol:c.protocol,hostname:c.hostname, -host:c.hostname,port:c.port, -pathname:c.pathname.split("/").map((e=>encodeURIComponent(decodeURIComponent(e)))).join("/")+c.search, -path:c.pathname.split("/").map((e=>encodeURIComponent(decodeURIComponent(e)))).join("/")+c.search, -search:c.search,hash:c.hash,href:c.href,origin:c.origin,password:c.password, -searchParams:c.searchParams,username:c.username,toString:c.toString, -toJSON:()=>c.toJSON()};return null==e?void 0:e.convert({url:a.url,uriObj:u, -method:(null==(n=a.method)?void 0:n.toLocaleUpperCase())??"GET", -httpVersion:a.httpVersion,cookies:a.cookies??[],headers:a.headers??[], -headersSize:a.headersSize??0,headersObj:i??{},bodySize:a.bodySize??0, -queryString:a.queryString??[],postData:a.postData?{ -mimeType:a.postData.mimeType??"application/json",text:a.postData.text, -params:a.postData.params??[], -jsonObj:(null==(r=a.postData.mimeType)?void 0:r.includes("json"))?JSON.parse(a.postData.text??"{}"):void 0, -paramsObj:(null==(o=a.postData.params)?void 0:o.reduce(((e,t)=>({...e, -[t.name]:t.value??""})),{}))??{}}:void 0,allHeaders:i??{},fullUrl:a.url, -queryObj:s??{},cookiesObj:l??{}})}let Og=class{ -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 wg(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 kg=e=>wg(e,{delimiter:"'"}),xg=e=>wg(e,{delimiter:'"'}),Sg={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 Og -;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}: ${xg(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()}},_g={target:"c", -client:"libcurl",generate:e=>yg(Sg,e)},Eg={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 Og({indent:a.indent}) -;return i("HttpRequest request = HttpRequest.newBuilder()"), -i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{ -i(`.header("${t}", "${xg(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 response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"), -i("System.out.println(response.body());"),s()}},Tg={target:"java", -client:"nethttp",generate:e=>yg(Eg,e)},Cg={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 Og({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}", "${xg(r[e])}")`,1) -})),i(".build();",1), -s(),i("Response response = client.newCall(request).execute();"),l()}},Ag={ -target:"java",client:"okhttp",generate:e=>yg(Cg,e)},Pg={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 Og({indent:a.indent}) -;return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse response = Unirest.customMethod("${e.toUpperCase()}","${r}")`), -Object.keys(t).forEach((e=>{s(`.header("${e}", "${xg(t[e])}")`,1) -})),(null==n?void 0:n.text)&&s(`.body(${JSON.stringify(n.text)})`,1), -s(".asString();",1),i()}},$g={target:"java",client:"unirest", -generate:e=>yg(Pg,e) -},Dg=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),Rg=(e,t)=>{ -const n=Dg(e,t);if(n)return e[n]},Ng=(e,t)=>Boolean(Dg(e,t));let Mg=class{ -constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e} -},Ig=class{constructor(e){ -this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`, -this.path=e}} -;const Lg=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),jg=e=>"object"===Lg(e)&&0===Object.keys(e).length,Ug=e=>(Object.keys(e).filter((t=>jg(e[t]))).forEach((t=>{ -delete e[t]})),e),Bg=(e,t)=>{const n=" ".repeat(e) -;return t.replace(/\n/g,`\n${n}`)},Qg=e=>{switch(Lg(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} ${Bg(n.length+2,Qg(e[n]))}\n `),"").trim() -;return`{${Bg(1,t)}}`}case"array":{ -const t=e.reduce(((e,t)=>`${e} ${Qg(t)}`),"").trim();return`[${Bg(1,t)}]`}} -},Fg={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 Og({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(null==n?void 0:n.mimeType){ -case"application/json":{ -l["content-type"]=new Mg("json"),l["form-params"]=n.jsonObj -;const e=Dg(l.headers,"content-type");e&&delete l.headers[e]}break -;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj -;const e=Dg(l.headers,"content-type");e&&delete l.headers[e]}break -;case"text/plain":{l.body=n.text;const e=Dg(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 Ig(e.fileName)}:{name:e.name,content:e.value})) -;const e=Dg(l.headers,"content-type");e&&delete l.headers[e]}} -if("application/json"===Rg(l.headers,"accept")){l.accept=new Mg("json") -;const e=Dg(l.headers,"accept");e&&delete l.headers[e]} -if(i("(require '[clj-http.client :as client])\n"), -jg(Ug(l)))i(`(client/${t} "${r}")`);else{const e=11+t.length+r.length -;i(`(client/${t} "${r}" ${Bg(e,Qg(Ug(l)))})`)}return s()}},qg={target:"clojure", -client:"clj_http",generate:e=>yg(Fg,e)},zg={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)=>{var a,i;const s={ -indent:" ",...o},{push:l,join:c}=new Og({indent:s.indent}) -;l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{ -let t=Rg(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}", "${xg(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){ -const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded": -l("Content = new FormUrlEncodedContent(new Dictionary",1), -l("{",1),null===(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()}},Hg={target:"csharp", -client:"httpclient",generate:e=>yg(zg,e)},Vg={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 Og -;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}", "${xg(r[e])}");`) -})),null==o||o.forEach((({name:e,value:t})=>{ -i(`request.AddCookie("${e}", "${t}");`)})),null==a?void 0:a.text){ -const t=Rg(e,"content-type"),n=JSON.stringify(a.text) -;i(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)} -return i("IRestResponse response = client.Execute(request);"),s()}},Zg={ -target:"csharp",client:"restsharp",generate:e=>yg(Vg,e)},Wg={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 Og({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}", "${xg(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()}},Xg={target:"go",client:"native",generate:e=>yg(Wg,e)},Gg={ -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 Og({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)||""}`}},Yg={target:"http", -client:"http1.1",generate:e=>yg(Gg,e)},Kg={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 Og({indent:a.indent}) -;return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"), -s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach((e=>{ -s(`.setHeader("${e}", "${xg(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()}},Jg={target:"java", -client:"asynchttp",generate:e=>yg(Kg,e)},{toString:ev}=Object.prototype -;const{propertyIsEnumerable:tv}=Object.prototype;function nv(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]"===ev.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=>tv.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 rv={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 Og({ -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=nv(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()}},ov={ -target:"js",client:"axios",generate:e=>yg(rv,e)};function av(e){ -return e.reduce(((e,t)=>(e[t.name]=t.value,e)),{})}function iv(e){ -return/\s|-/.test(e)}function sv(e,t=0){ -const n=[],r=" ".repeat(t),o=" ".repeat(t+2) -;for(const[a,i]of Object.entries(e)){const e=iv(a)?`'${a}'`:a -;if(Array.isArray(i)){ -const r=i.map((e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?sv(e,t+2):e)).join(`, ${o}`) -;n.push(`${o}${e}: [${r}]`) -}else if(i&&"object"==typeof i)n.push(`${o}${e}: ${sv(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 lv={target:"js",client:"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?av(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(${sv(JSON.parse(o.body))})`)) -;const s=Object.keys(o).length?`, ${sv(o)}`:"";return`fetch('${r.url}${i}'${s})` -}},cv={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)=>{var a;const i={ -indent:" ",...o},{blank:s,push:l,join:c}=new Og({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]", -Ng(n,"content-type")&&(null===(a=Rg(n,"content-type"))||void 0===a?void 0:a.includes("boundary"))){ -const e=Dg(n,"content-type");e&&delete u.headers[e]}s();break;default: -(null==r?void 0:r.text)&&(u.data=r.text)}const d=nv(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()}},uv={target:"js",client:"jquery", -generate:e=>yg(cv,e)},dv={target:"js",client:"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?av(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?`, ${sv(o)}`:"" -;return`import { ofetch } from 'ofetch'\n\nofetch('${r.url}'${i})`}},pv={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)=>{var a;const i={ -indent:" ",cors:!0,...o},{blank:s,push:l,join:c}=new Og({indent:i.indent}) -;switch(null==e?void 0:e.mimeType){case"application/json": -l(`const data = JSON.stringify(${nv(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||""}');`) -})),Ng(t,"content-type")&&(null===(a=Rg(t,"content-type"))||void 0===a?void 0:a.includes("boundary"))){ -const e=Dg(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}', '${kg(t[e])}');`) -})),s(),l("xhr.send(data);"),c()}},hv={target:"js",client:"xhr", -generate:e=>yg(pv,e)},fv={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 Og({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}", "${xg(r[e])}")`,1) -})),l(".build()",1), -i(),l("val response = client.newCall(request).execute()"),s()}},mv={ -target:"kotlin",client:"okhttp",generate:e=>yg(fv,e)},gv={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 Og({ -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=nv(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()}},vv={ -target:"node",client:"axios",generate:e=>yg(gv,e)},bv={target:"node", -client:"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?av(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(${sv(JSON.parse(o.body))})`)) -;const s=Object.keys(o).length?`, ${sv(o)}`:"";return`fetch('${r.url}${i}'${s})` -}},yv={target:"node",client:"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?av(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?`, ${sv(o)}`:"" -;return`import { ofetch } from 'ofetch'\n\nofetch('${r.url}'${i})`}},Ov={ -target:"node",client:"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?av(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(${sv(JSON.parse(o.body))})`)) -;const s=Object.keys(o).length?`, ${sv(o)}`:"" -;return`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${r.url}${i}'${s})` -}},wv=(e,t,n,r)=>{const o=`${e} *${t} = ` -;return`${o}${kv(n,r?o.length:void 0)};`},kv=(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=>kv(e))).join(n)} ]` -;case"[object Object]":{const t=[] -;for(const n in e)t.push(`@"${n}": ${kv(e[n])}`);return`@{ ${t.join(n)} }`} -case"[object Boolean]":return e?"@YES":"@NO";default: -return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},xv={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)=>{var a;const i={ -indent:" ",pretty:!0,timeout:10,...o},{push:s,join:l,blank:c}=new Og({ -indent:i.indent}),u={hasHeaders:!1,hasBody:!1} -;if(s("#import "), -Object.keys(e).length&&(u.hasHeaders=!0, -c(),s(wv("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(wv("NSDictionary","parameters",t.jsonObj,i.pretty)), -c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];")) -;break;case"multipart/form-data": -s(wv("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() -}},Sv={target:"objc",client:"nsurlsession",generate:e=>yg(xv,e)},_v={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 Og({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]}" "${xg(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["), -c.forEach((e=>{i(`("${e}", "${xg(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()} -},Ev={target:"ocaml",client:"cohttp",generate:e=>yg(_v,e)},Tv=(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`'${wg(e,{delimiter:"'",escapeNewlines:!1})}'`;case"[object Number]": -return e.toString();case"[object Array]":{ -const r=e.map((e=>Tv(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(`${Tv(n,t)} => ${Tv(e[n],`${t}${t}`,t)}`) -;return`[\n${t}${r.join(`,\n${t}`)}\n${n}]`}}},Cv={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 Og({ -indent:c});p||(m(h?"{ -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}: ${xg(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()}},Av={ -target:"php",client:"curl",generate:e=>yg(Cv,e)},Pv={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)=>{var i -;const s={closingTag:!1,indent:" ",noTags:!1,shortTags:!1,...a -},{push:l,blank:c,join:u}=new Og({indent:s.indent -}),{code:d,push:p,join:h}=new Og({indent:s.indent}) -;switch(s.noTags||(l(s.shortTags?" ${Tv(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' => ${Tv(t,s.indent+s.indent,s.indent)}`,1), -Ng(o,"content-type")&&(null===(i=Rg(o,"content-type"))||void 0===i?void 0:i.indexOf("boundary")))){ -const e=Dg(o,"content-type");e&&delete o[e]}break}default: -(null==e?void 0:e.text)&&p(`'body' => ${Tv(e.text)},`,1)} -const f=Object.keys(o).sort().map((function(e){ -return`${s.indent}${s.indent}'${e}' => '${kg(o[e])}',` -})),m=r.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ") -;return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${kg(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()} -},$v={target:"php",client:"guzzle",generate:e=>yg(Pv,e) -},Dv=e=>({method:t,headersObj:n,cookies:r,uriObj:o,fullUrl:a,postData:i,allHeaders:s})=>{ -const{push:l,join:c}=new Og -;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}", "${wg(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 '${wg(Rg(s,"content-type"),{ -delimiter:"'",escapeChar:"`" -})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${a}' -Method ${t} ${u.join(" ")}`), -c()},Rv={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:Dv("Invoke-RestMethod")},Nv={target:"powershell",client:"restmethod", -generate:e=>yg(Rv,e)},Mv={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:Dv("Invoke-WebRequest")},Iv={target:"powershell",client:"webrequest", -generate:e=>yg(Mv,e)},Lv={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 Og -;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}': "${xg(p[f])}" }`), -c();else if(h>1){let e=1;l("headers = {") -;for(const t in p)e++!==h?l(` '${t}': "${xg(p[t])}",`):l(` '${t}': "${xg(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()}},jv={target:"python",client:"python3",generate:e=>yg(Lv,e)} -;function Uv(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 Bv=(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 Uv("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1), -Bv(e,t,n)))),r,t.indent,n)}case"[object Object]":{const r=[] -;for(const o in e)r.push(`"${o}": ${Bv(e[o],t,n)}`) -;return Uv("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,'\\"')}"`} -},Qv=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],Fv={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 Og({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 = ${Bv(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 = ${Bv(h,i)}`),m&&s(`payload = ${Bv(p,i)}`) -;const e=Dg(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 = ${Bv(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}": "${xg(d[y])}"}`), -l();else if(v>1){let e=1;s("headers = {") -;for(const t in d)s(e!==v?`"${t}": "${xg(d[t])}",`:`"${t}": "${xg(d[t])}"`,1), -e+=1;s("}"),l()} -let b=Qv.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()} -},qv={target:"python",client:"requests",generate:e=>yg(Fv,e)},zv={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={})=>{ -var s,l;const{push:c,blank:u,join:d}=new Og({ -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=Rg(o,"cookie"),v=Rg(o,"accept"),b=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,y=v?`accept("${xg(v)}")`:void 0,O=`content_type("${xg(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}' = '${kg(t)}'`)).join(", "),k=w?`add_headers(${w})`:void 0 -;let x=`response <- VERB("${a}", url` -;m&&(x+=", body = payload"),n.length&&(x+=", query = queryString") -;const S=[k,O,y,b].filter((e=>!!e)).join(", ") -;return S&&(x+=`, ${S}`),r&&(r.text||r.jsonObj||r.params)&&(x+=", encode = encode"), -x+=")",c(x),u(),c('content(response, "text")'),d()}},Hv={target:"r", -client:"httr",generate:e=>yg(zv,e)},Vv={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 Og -;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}"] = '${kg(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()} -},Zv={target:"ruby",client:"native",generate:e=>yg(Vv,e)},Wv={target:"shell", -client:"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 ")} -},Xv=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,Gv={ -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)=>{ -const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1, -queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...i -},{push:l,join:c,unshift:u}=new Og({indent:s.indent, -join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[] -;s.headers&&p.push(s.short?"-h":"--headers"), -s.body&&p.push(s.short?"-b":"--body"), -s.verbose&&p.push(s.short?"-v":"--verbose"), -s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`), -s.verify&&p.push(`--verify=${s.verify}`), -s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`), -s.style&&p.push(`--style=${s.style}`), -s.timeout&&p.push(`--timeout=${s.timeout}`), -s.queryParams&&Object.keys(n).forEach((e=>{const t=n[e] -;Array.isArray(t)?t.forEach((t=>{l(`${e}==${Xv(t)}`)})):l(`${e}==${Xv(t)}`) -})),Object.keys(e).sort().forEach((t=>{l(`${t}:${Xv(e[t])}`) -})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params&&t.params.length&&(p.push(s.short?"-f":"--form"), -t.params.forEach((e=>{l(`${e.name}=${Xv(e.value)}`)}))):d=!0 -;if(u(`http ${p.length?`${p.join(" ")} `:""}${o} ${a=Xv(s.queryParams?a:r)}`), -d&&(null==t?void 0:t.text)){u(`echo ${Xv(t.text)} | `)}return c()}},Yv={ -target:"shell",client:"httpie",generate:e=>yg(Gv,e)},Kv={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 Og({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 ${Xv(e)}`),Object.keys(n).forEach((e=>{const t=`${e}: ${n[e]}` -;i(`--header ${Xv(t)}`) -})),(null==t?void 0:t.text)&&i(`--body-data ${l=Xv(t.text), -l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`), -i(a.short?"-O":"--output-document"),i(`- ${Xv(r)}`),s()}},Jv={target:"shell", -client:"wget",generate:e=>yg(Kv,e)},eb=(e,t)=>t.repeat(e),tb=(e,t,n,r)=>{ -const o=eb(r,n),a=eb(r-1,n),i=t?`,\n${o}`:", " -;return t?`[\n${o}${e.join(i)}\n${a}]`:`[${e.join(i)}]` -},nb=(e,t,n)=>`let ${e} = ${rb(t,n)}`,rb=(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), -rb(e,t,n))));return tb(o,r,t.indent,n)}case"[object Object]":{const r=[] -;for(const o in e)r.push(`"${o}": ${rb(e[o],t,n)}`) -;return tb(r,t.pretty&&r.length>1,t.indent,n)}case"[object Boolean]": -return e.toString();default: -return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},ob={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)=>{var a;const i={ -indent:" ",pretty:!0,timeout:"10",...o},{push:s,blank:l,join:c}=new Og({ -indent:i.indent}),u={hasHeaders:!1,hasBody:!1} -;if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0, -l(),s(nb("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(`${nb("parameters",t.jsonObj,i)} as [String : Any]`), -l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])")) -;break;case"multipart/form-data": -s(nb("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()} -},ab={target:"swift",client:"nsurlsession",generate:e=>yg(ob,e)};function ib(){ -const e=[_g,qg,Hg,Zg,Xg,Yg,Jg,Tg,Ag,$g,ov,lv,uv,dv,hv,mv,vv,bv,yv,Ov,Sv,Ev,Av,$v,Nv,Iv,jv,qv,Hv,Zv,Wv,Yv,Jv,ab] -;return{get(e,t){return this.findPlugin(e,t)},print(e,t,n){var r -;return null==(r=this.get(e,t))?void 0:r.generate(n)}, -targets:()=>e.map((e=>e.target)).filter(((e,t,n)=>n.indexOf(e)===t)), -clients:()=>e.map((e=>e.client)),plugins:()=>e.map((e=>({target:e.target, -client:e.client}))),findPlugin:(t,n)=>e.find((e=>e.target===t&&e.client===n)), -hasPlugin(e,t){return Boolean(this.findPlugin(e,t))}}} -const sb="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:lb,Blob:cb,File:ub}=sb,db="\r\n",pb="-".repeat(2),hb=Symbol.toStringTag,fb=(e,t,n)=>{ -let r="" -;return r+=`${pb}${e}${db}`,r+=`Content-Disposition: form-data; name="${t}"`, -"string"!=typeof n&&"blob"!==n.name&&(r+=`; filename="${n.name}"${db}`, -r+=`Content-Type: ${n.type||"application/octet-stream"}`),`${r}${db.repeat(2)}` -},mb=async function*(e,t){ -for(const[n,r]of e)yield fb(t,n,r),"string"==typeof r?yield r:yield await r.text(), -yield db;yield(e=>`${pb}${e}${pb}${db.repeat(1)}`)(t) -},gb=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),vb=(e,t)=>{ -const n=gb(e,t);if(n)return e[n] -},bb=(e,t)=>Boolean(gb(e,t)),yb=["application/json","application/x-json","text/json","text/x-json","+json"],Ob=(e,t)=>{ -if(void 0===t.value)return e;const n=e[t.name] -;return void 0===n?(e[t.name]=t.value, -e):Array.isArray(n)?(n.push(t.value),e):(e[t.name]=[n,t.value],e)} -;function wb(e){ -return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1)) -}class kb extends URL{get path(){return this.pathname+this.search}}class xb{ -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 Sb(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 _b=e=>Sb(e,{delimiter:"'"}),Eb=e=>Sb(e,{delimiter:'"'}),Tb={info:{ -key:"c",title:"C",extname:".c",default:"libcurl"},clientsById:{libcurl:{info:{ -key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl", -description:"Simple REST and HTTP API Client for C"}, -convert:({method:e,fullUrl:t,headersObj:n,allHeaders:r,postData:o})=>{ -const{push:a,blank:i,join:s}=new xb -;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}: ${Eb(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()}}}};class Cb{constructor(e){ -this.name="",this.toString=()=>`:${this.name}`,this.name=e}}let Ab=class{ -constructor(e){ -this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`, -this.path=e}} -;const Pb=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),$b=e=>"object"===Pb(e)&&0===Object.keys(e).length,Db=e=>(Object.keys(e).filter((t=>$b(e[t]))).forEach((t=>{ -delete e[t]})),e),Rb=(e,t)=>{const n=" ".repeat(e) -;return t.replace(/\n/g,`\n${n}`)},Nb=e=>{switch(Pb(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} ${Rb(n.length+2,Nb(e[n]))}\n `),"").trim() -;return`{${Rb(1,t)}}`}case"array":{ -const t=e.reduce(((e,t)=>`${e} ${Nb(t)}`),"").trim();return`[${Rb(1,t)}]`}} -},Mb={info:{key:"clojure",title:"Clojure",extname:".clj",default:"clj_http"}, -clientsById:{clj_http:{info:{key:"clj_http",title:"clj-http", -link:"https://github.com/dakrone/clj-http", -description:"An idiomatic clojure http client wrapping the apache client."}, -convert:({queryObj:e,method:t,postData:n,url:r,allHeaders:o},a)=>{ -const{push:i,join:s}=new xb({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(null==n?void 0:n.mimeType){ -case"application/json":{ -l["content-type"]=new Cb("json"),l["form-params"]=n.jsonObj -;const e=gb(l.headers,"content-type");e&&delete l.headers[e]}break -;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj -;const e=gb(l.headers,"content-type");e&&delete l.headers[e]}break -;case"text/plain":{l.body=n.text;const e=gb(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 Ab(e.fileName)}:{name:e.name,content:e.value})) -;const e=gb(l.headers,"content-type");e&&delete l.headers[e]}} -if("application/json"===vb(l.headers,"accept")){l.accept=new Cb("json") -;const e=gb(l.headers,"accept");e&&delete l.headers[e]} -if(i("(require '[clj-http.client :as client])\n"), -$b(Db(l)))i(`(client/${t} "${r}")`);else{const e=11+t.length+r.length -;i(`(client/${t} "${r}" ${Rb(e,Nb(Db(l)))})`)}return s()}}}},Ib={info:{ -key:"csharp",title:"C#",extname:".cs",default:"restsharp"},clientsById:{ -httpclient:{info:{key:"httpclient",title:"HttpClient", -link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient", -description:".NET Standard HTTP Client"}, -convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{var a,i;const s={ -indent:" ",...o},{push:l,join:c}=new xb({indent:s.indent}) -;l("using System.Net.Http.Headers;");let u="";const d=Boolean(e.cookie),p=(e=>{ -let t=vb(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}", "${Eb(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){ -const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded": -l("Content = new FormUrlEncodedContent(new Dictionary",1), -l("{",1),null===(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()}},restsharp:{info:{key:"restsharp", -title:"RestSharp",link:"http://restsharp.org/", -description:"Simple REST and HTTP API Client for .NET"}, -convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:o,postData:a})=>{ -const{push:i,join:s}=new xb -;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}", "${Eb(r[e])}");`) -})),null==o||o.forEach((({name:e,value:t})=>{ -i(`request.AddCookie("${e}", "${t}");`)})),null==a?void 0:a.text){ -const t=vb(e,"content-type"),n=JSON.stringify(a.text) -;i(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)} -return i("IRestResponse response = client.Execute(request);"),s()}}}},Lb={info:{ -key:"go",title:"Go",extname:".go",default:"native"},clientsById:{native:{info:{ -key:"native",title:"NewRequest", -link:"http://golang.org/pkg/net/http/#NewRequest", -description:"Golang HTTP client request"}, -convert:({postData:e,method:t,allHeaders:n,fullUrl:r},o={})=>{ -const{blank:a,push:i,join:s}=new xb({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}", "${Eb(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()}}}},jb={info:{key:"http",title:"HTTP",extname:null, -default:"1.1"},clientsById:{"http1.1":{info:{key:"http1.1",title:"HTTP/1.1", -link:"https://tools.ietf.org/html/rfc7230", -description:"HTTP/1.1 request string in accordance with RFC 7230"}, -convert:({method:e,fullUrl:t,uriObj:n,httpVersion:r,allHeaders:o,postData:a},i)=>{ -const s={absoluteURI:!1,autoContentLength:!0,autoHost:!0,...i -},{blank:l,push:c,join:u}=new xb({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)||""}`}}}},Ub={info:{key:"java", -title:"Java",extname:".java",default:"unirest"},clientsById:{asynchttp:{info:{ -key:"asynchttp",title:"AsyncHttp", -link:"https://github.com/AsyncHttpClient/async-http-client", -description:"Asynchronous Http and WebSocket Client library for Java"}, -convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const a={indent:" ", -...o},{blank:i,push:s,join:l}=new xb({indent:a.indent}) -;return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"), -s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach((e=>{ -s(`.setHeader("${e}", "${Eb(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()}},nethttp:{info:{key:"nethttp", -title:"java.net.http", -link:"https://openjdk.java.net/groups/net/httpclient/intro.html", -description:"Java Standardized HTTP Client API"}, -convert:({allHeaders:e,fullUrl:t,method:n,postData:r},o)=>{const a={indent:" ", -...o},{push:i,join:s}=new xb({indent:a.indent}) -;return i("HttpRequest request = HttpRequest.newBuilder()"), -i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{ -i(`.header("${t}", "${Eb(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 response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"), -i("System.out.println(response.body());"),s()}},okhttp:{info:{key:"okhttp", -title:"OkHttp",link:"http://square.github.io/okhttp/", -description:"An HTTP Request Client Library"}, -convert:({postData:e,method:t,fullUrl:n,allHeaders:r},o)=>{const a={indent:" ", -...o},{push:i,blank:s,join:l}=new xb({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}", "${Eb(r[e])}")`,1) -})),i(".build();",1), -s(),i("Response response = client.newCall(request).execute();"),l()}},unirest:{ -info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html", -description:"Lightweight HTTP Request Client Library"}, -convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const a={indent:" ", -...o},{join:i,push:s}=new xb({indent:a.indent}) -;return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse response = Unirest.customMethod("${e.toUpperCase()}","${r}")`), -Object.keys(t).forEach((e=>{s(`.header("${e}", "${Eb(t[e])}")`,1) -})),(null==n?void 0:n.text)&&s(`.body(${JSON.stringify(n.text)})`,1), -s(".asString();",1),i()}}}};function Bb(e){ -return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e -}var Qb={};Object.defineProperty(Qb,"__esModule",{value:!0 -}),Qb.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t))) -;const Fb=function(e){ -return"[object RegExp]"===Object.prototype.toString.call(e)},qb=function(e){ -var t=typeof e;return null!==e&&("object"===t||"function"===t)},zb=Qb.default -;var Hb=(e,t,n)=>{const r=[];return function e(t,n,o){let a -;(n=n||{}).indent=n.indent||"\t",o=o||"",a=void 0===n.inlineCharacterLimit?{ -newLine:"\n",newLineOrSpace:"\n",pad:o,indent:o+n.indent}:{ -newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@", -newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@", -pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"} -;const i=e=>{if(void 0===n.inlineCharacterLimit)return e -;const t=e.replace(new RegExp(a.newLine,"g"),"").replace(new RegExp(a.newLineOrSpace,"g")," ").replace(new RegExp(a.pad+"|"+a.indent,"g"),"") -;return t.length<=n.inlineCharacterLimit?t:e.replace(new RegExp(a.newLine+"|"+a.newLineOrSpace,"g"),"\n").replace(new RegExp(a.pad,"g"),o).replace(new RegExp(a.indent,"g"),o+n.indent) -};if(-1!==r.indexOf(t))return'"[Circular]"' -;if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||Fb(t))return String(t) -;if(t instanceof Date)return`new Date('${t.toISOString()}')` -;if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t) -;const s="["+a.newLine+t.map(((r,i)=>{ -const s=t.length-1===i?a.newLine:","+a.newLineOrSpace;let l=e(r,n,o+n.indent) -;return n.transform&&(l=n.transform(t,i,l)),a.indent+l+s})).join("")+a.pad+"]" -;return r.pop(),i(s)}if(qb(t)){let s=Object.keys(t).concat(zb(t)) -;if(n.filter&&(s=s.filter((e=>n.filter(t,e)))),0===s.length)return"{}";r.push(t) -;const l="{"+a.newLine+s.map(((r,i)=>{ -const l=s.length-1===i?a.newLine:","+a.newLineOrSpace,c="symbol"==typeof r,u=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(r),d=c||u?r:e(r,n) -;let p=e(t[r],n,o+n.indent) -;return n.transform&&(p=n.transform(t,r,p)),a.indent+String(d)+": "+p+l -})).join("")+a.pad+"}";return r.pop(),i(l)} -return 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 Vb=Bb(Hb),Zb={info:{key:"javascript",title:"JavaScript", -extname:".js",default:"xhr"},clientsById:{xhr:{info:{key:"xhr", -title:"XMLHttpRequest", -link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest", -description:"W3C Standard API that provides scripted client functionality"}, -convert:({postData:e,allHeaders:t,method:n,fullUrl:r},o)=>{var a;const i={ -indent:" ",cors:!0,...o},{blank:s,push:l,join:c}=new xb({indent:i.indent}) -;switch(null==e?void 0:e.mimeType){case"application/json": -l(`const data = JSON.stringify(${Vb(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||""}');`) -})),bb(t,"content-type")&&(null===(a=vb(t,"content-type"))||void 0===a?void 0:a.includes("boundary"))){ -const e=gb(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}', '${_b(t[e])}');`) -})),s(),l("xhr.send(data);"),c()}},axios:{info:{key:"axios",title:"Axios", -link:"https://github.com/axios/axios", -description:"Promise based HTTP client for the browser and node.js"}, -convert:({allHeaders:e,method:t,url:n,queryObj:r,postData:o},a)=>{const i={ -indent:" ",...a},{blank:s,push:l,join:c,addPostProcessor:u}=new xb({ -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=Vb(d,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form") -;return l(`const options = ${p};`), -s(),l("try {"),l("const { data } = await axios.request(options);",1), -l("console.log(data);",1), -l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},fetch:{info:{ -key:"fetch",title:"fetch", -link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch", -description:"Perform asynchronous HTTP requests with the Fetch API"}, -convert:({method:e,allHeaders:t,postData:n,fullUrl:r},o)=>{const a={indent:" ", -credentials:null,...o},{blank:i,join:s,push:l}=new xb({indent:a.indent}),c={ -method:e} -;switch(Object.keys(t).length&&(c.headers=t),null!==a.credentials&&(c.credentials=a.credentials), -l(`const url = '${r}';`),null==n?void 0:n.mimeType){ -case"application/x-www-form-urlencoded":c.body=n.paramsObj?n.paramsObj:n.text -;break;case"application/json":c.body=JSON.stringify(n.jsonObj);break -;case"multipart/form-data":if(!n.params)break;const e=gb(t,"content-type") -;e&&delete t[e],l("const form = new FormData();"),n.params.forEach((e=>{ -l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),i();break -;default:(null==n?void 0:n.text)&&(c.body=n.text)} -return c.headers&&!Object.keys(c.headers).length&&delete c.headers, -l(`const options = ${Vb(c,{indent:a.indent,inlineCharacterLimit:80, -transform:(e,t,r)=>"body"===t&&n&&"application/x-www-form-urlencoded"===n.mimeType?`new URLSearchParams(${r})`:r -})};`), -i(),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&(l("options.body = form;"), -i()), -l("try {"),l("const response = await fetch(url, options);",1),l("const data = await response.json();",1), -l("console.log(data);",1), -l("} catch (error) {"),l("console.error(error);",1),l("}"),s()}},jquery:{info:{ -key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/", -description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"}, -convert:({fullUrl:e,method:t,allHeaders:n,postData:r},o)=>{var a;const i={ -indent:" ",...o},{blank:s,push:l,join:c}=new xb({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]", -bb(n,"content-type")&&(null===(a=vb(n,"content-type"))||void 0===a?void 0:a.includes("boundary"))){ -const e=gb(n,"content-type");e&&delete u.headers[e]}s();break;default: -(null==r?void 0:r.text)&&(u.data=r.text)}const d=Vb(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()}}}},Wb={info:{key:"kotlin", -title:"Kotlin",extname:".kt",default:"okhttp"},clientsById:{okhttp:{info:{ -key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/", -description:"An HTTP Request Client Library"}, -convert:({postData:e,fullUrl:t,method:n,allHeaders:r},o)=>{const a={indent:" ", -...o},{blank:i,join:s,push:l}=new xb({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}", "${Eb(r[e])}")`,1) -})),l(".build()",1), -i(),l("val response = client.newCall(request).execute()"),s()}}}},Xb={info:{ -key:"node",title:"Node.js",extname:".js",default:"native"},clientsById:{native:{ -info:{key:"native",title:"HTTP", -link:"http://nodejs.org/api/http.html#http_http_request_options_callback", -description:"Node.js native HTTP interface"}, -convert:({uriObj:e,method:t,allHeaders:n,postData:r},o={})=>{ -const{indent:a=" ",insecureSkipVerify:i=!1}=o,{blank:s,join:l,push:c,unshift:u}=new xb({ -indent:a}),d={method:t,hostname:e.hostname,port:""===e.port?null:e.port, -path:e.path,headers:n,...i?{rejectUnauthorized:!1}:{}} -;switch(c(`const http = require('${e.protocol.replace(":","")}');`), -s(),c(`const options = ${Vb(d,{indent:a -})};`),s(),c("const req = http.request(options, function (res) {"), -c("const chunks = [];",1), -s(),c("res.on('data', function (chunk) {",1),c("chunks.push(chunk);",2), -c("});",1), -s(),c("res.on('end', function () {",1),c("const body = Buffer.concat(chunks);",2), -c("console.log(body.toString());",2), -c("});",1),c("});"),s(),null==r?void 0:r.mimeType){ -case"application/x-www-form-urlencoded": -r.paramsObj&&(u("const qs = require('querystring');"), -c(`req.write(qs.stringify(${Vb(r.paramsObj,{indent:" ",inlineCharacterLimit:80 -})}));`));break;case"application/json": -r.jsonObj&&c(`req.write(JSON.stringify(${Vb(r.jsonObj,{indent:" ", -inlineCharacterLimit:80})}));`);break;default: -(null==r?void 0:r.text)&&c(`req.write(${Vb(r.text,{indent:a})});`)} -return c("req.end();"),l()}},request:{info:{key:"request",title:"Request", -link:"https://github.com/request/request", -description:"Simplified HTTP request client"}, -convert:({method:e,url:t,queryObj:n,postData:r,headersObj:o,cookies:a},i)=>{ -const s={indent:" ",...i};let l=!1 -;const{push:c,blank:u,join:d,unshift:p}=new xb({indent:s.indent}) -;c("const request = require('request');"),u();const h={method:e,url:t} -;switch(Object.keys(n).length&&(h.qs=n), -Object.keys(o).length&&(h.headers=o),null==r?void 0:r.mimeType){ -case"application/x-www-form-urlencoded":h.form=r.paramsObj;break -;case"application/json":r.jsonObj&&(h.body=r.jsonObj,h.json=!0);break -;case"multipart/form-data":if(!r.params)break -;h.formData={},r.params.forEach((e=>{ -if(!e.fileName&&!e.fileName&&!e.contentType)return void(h.formData[e.name]=e.value) -;let t={};e.fileName?(l=!0,t={value:`fs.createReadStream(${e.fileName})`, -options:{filename:e.fileName,contentType:e.contentType?e.contentType:null} -}):e.value&&(t.value=e.value),h.formData[e.name]=t}));break;default: -(null==r?void 0:r.text)&&(h.body=r.text)} -return a.length&&(h.jar="JAR",c("const jar = request.jar();"),a.forEach((e=>{ -c(`jar.setCookie(request.cookie('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}'), '${t}');`) -})),u()),l&&p("const fs = require('fs');"),c(`const options = ${Vb(h,{ -indent:" ",inlineCharacterLimit:80 -})};`),u(),c("request(options, function (error, response, body) {"), -c("if (error) throw new Error(error);",1), -u(),c("console.log(body);",1),c("});"), -d().replace("'JAR'","jar").replace(/'fs\.createReadStream\((.*)\)'/,"fs.createReadStream('$1')") -}},unirest:{info:{key:"unirest",title:"Unirest", -link:"http://unirest.io/nodejs.html", -description:"Lightweight HTTP Request Client Library"}, -convert:({method:e,url:t,cookies:n,queryObj:r,postData:o,headersObj:a},i)=>{ -const s={indent:" ",...i};let l=!1 -;const{addPostProcessor:c,blank:u,join:d,push:p,unshift:h}=new xb({ -indent:s.indent}) -;switch(p("const unirest = require('unirest');"),u(),p(`const req = unirest('${e}', '${t}');`), -u(),n.length&&(p("const CookieJar = unirest.jar();"),n.forEach((e=>{ -p(`CookieJar.add('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}', '${t}');`) -})),p("req.jar(CookieJar);"),u()),Object.keys(r).length&&(p(`req.query(${Vb(r,{ -indent:s.indent})});`),u()),Object.keys(a).length&&(p(`req.headers(${Vb(a,{ -indent:s.indent})});`),u()),null==o?void 0:o.mimeType){ -case"application/x-www-form-urlencoded": -o.paramsObj&&(p(`req.form(${Vb(o.paramsObj,{indent:s.indent})});`),u());break -;case"application/json": -o.jsonObj&&(p("req.type('json');"),p(`req.send(${Vb(o.jsonObj,{indent:s.indent -})});`),u());break;case"multipart/form-data":{if(!o.params)break;const e=[] -;o.params.forEach((t=>{const n={} -;t.fileName&&!t.value?(l=!0,n.body=`fs.createReadStream('${t.fileName}')`, -c((e=>e.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/,"fs.createReadStream('$1')")))):t.value&&(n.body=t.value), -n.body&&(t.contentType&&(n["content-type"]=t.contentType),e.push(n)) -})),p(`req.multipart(${Vb(e,{indent:s.indent})});`),u();break}default: -(null==o?void 0:o.text)&&(p(`req.send(${Vb(o.text,{indent:s.indent})});`),u())} -return l&&h("const fs = require('fs');"), -p("req.end(function (res) {"),p("if (res.error) throw new Error(res.error);",1), -u(),p("console.log(res.body);",1),p("});"),d()}},axios:{info:{key:"axios", -title:"Axios",link:"https://github.com/axios/axios", -description:"Promise based HTTP client for the browser and node.js"}, -convert:({method:e,url:t,queryObj:n,allHeaders:r,postData:o},a)=>{const i={ -indent:" ",...a},{blank:s,join:l,push:c,addPostProcessor:u}=new xb({ -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=Vb(d,{indent:" ", -inlineCharacterLimit:80}) -;return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1), -c("console.log(data);",1), -c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fetch:{info:{ -key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch", -description:"Simplified HTTP node-fetch client"}, -convert:({method:e,fullUrl:t,postData:n,headersObj:r,cookies:o},a)=>{var i -;const s={indent:" ",...a};let l=!1 -;const{blank:c,push:u,join:d,unshift:p}=new xb({indent:s.indent}) -;u("const fetch = require('node-fetch');"),c();const h={method:e} -;switch(Object.keys(r).length&&(h.headers=r),null==n?void 0:n.mimeType){ -case"application/x-www-form-urlencoded": -p("const { URLSearchParams } = require('url');"), -u("const encodedParams = new URLSearchParams();"), -null===(i=n.params)||void 0===i||i.forEach((e=>{ -u(`encodedParams.set('${e.name}', '${e.value}');`)})),c(),h.body="encodedParams" -;break;case"application/json":n.jsonObj&&(h.body=JSON.stringify(n.jsonObj)) -;break;case"multipart/form-data":if(!n.params)break;const e=gb(r,"content-type") -;e&&delete r[e], -p("const FormData = require('form-data');"),u("const formData = new FormData();"), -n.params.forEach((e=>{ -e.fileName||e.fileName||e.contentType?e.fileName&&(l=!0,u(`formData.append('${e.name}', fs.createReadStream('${e.fileName}'));`)):u(`formData.append('${e.name}', '${e.value}');`) -})),c();break;default:(null==n?void 0:n.text)&&(h.body=n.text)}if(o.length){ -const e=o.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ") -;h.headers||(h.headers={}),h.headers.cookie=e} -u(`const url = '${t}';`),h.headers&&!Object.keys(h.headers).length&&delete h.headers -;const f=Vb(h,{indent:" ",inlineCharacterLimit:80}) -;return u(`const options = ${f};`), -l&&p("const fs = require('fs');"),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&u("options.body = formData;"), -c(), -u("try {"),u("const response = await fetch(url, options);",1),u("const data = await response.json();",1), -u("console.log(data);",1), -u("} catch (error) {"),u("console.error(error);",1),u("}"), -d().replace(/'encodedParams'/,"encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")') -}}}},Gb=(e,t,n,r)=>{const o=`${e} *${t} = ` -;return`${o}${Yb(n,r?o.length:void 0)};`},Yb=(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=>Yb(e))).join(n)} ]` -;case"[object Object]":{const t=[] -;for(const n in e)t.push(`@"${n}": ${Yb(e[n])}`);return`@{ ${t.join(n)} }`} -case"[object Boolean]":return e?"@YES":"@NO";default: -return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},Kb={info:{ -key:"objc",title:"Objective-C",extname:".m",default:"nsurlsession"}, -clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession", -link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html", -description:"Foundation's NSURLSession request"}, -convert:({allHeaders:e,postData:t,method:n,fullUrl:r},o)=>{var a;const i={ -indent:" ",pretty:!0,timeout:10,...o},{push:s,join:l,blank:c}=new xb({ -indent:i.indent}),u={hasHeaders:!1,hasBody:!1} -;if(s("#import "), -Object.keys(e).length&&(u.hasHeaders=!0, -c(),s(Gb("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(Gb("NSDictionary","parameters",t.jsonObj,i.pretty)), -c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];")) -;break;case"multipart/form-data": -s(Gb("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() -}}}},Jb={info:{key:"ocaml",title:"OCaml",extname:".ml",default:"cohttp"}, -clientsById:{cohttp:{info:{key:"cohttp",title:"CoHTTP", -link:"https://github.com/mirage/ocaml-cohttp", -description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml" -},convert:({fullUrl:e,allHeaders:t,postData:n,method:r},o)=>{const a={ -indent:" ",...o},{push:i,blank:s,join:l}=new xb({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]}" "${Eb(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["), -c.forEach((e=>{i(`("${e}", "${Eb(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()}}} -},ey=(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`'${Sb(e,{delimiter:"'",escapeNewlines:!1})}'` -;case"[object Number]":return e.toString();case"[object Array]":{ -const r=e.map((e=>ey(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(`${ey(n,t)} => ${ey(e[n],`${t}${t}`,t)}`) -;return`[\n${t}${r.join(`,\n${t}`)}\n${n}]`}} -},ty=["ACL","BASELINE_CONTROL","CHECKIN","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LABEL","LOCK","MERGE","MKACTIVITY","MKCOL","MKWORKSPACE","MOVE","OPTIONS","POST","PROPFIND","PROPPATCH","PUT","REPORT","TRACE","UNCHECKOUT","UNLOCK","UPDATE","VERSION_CONTROL"],ny={ -info:{key:"php",title:"PHP",extname:".php",default:"curl"},clientsById:{curl:{ -info:{key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php", -description:"PHP with ext-curl"}, -convert:({uriObj:e,postData:t,fullUrl: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 xb({ -indent:c});p||(m(h?"{ -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}: ${Eb(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()}},guzzle:{ -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)=>{var i -;const s={closingTag:!1,indent:" ",noTags:!1,shortTags:!1,...a -},{push:l,blank:c,join:u}=new xb({indent:s.indent -}),{code:d,push:p,join:h}=new xb({indent:s.indent}) -;switch(s.noTags||(l(s.shortTags?" ${ey(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' => ${ey(t,s.indent+s.indent,s.indent)}`,1), -bb(o,"content-type")&&(null===(i=vb(o,"content-type"))||void 0===i?void 0:i.indexOf("boundary")))){ -const e=gb(o,"content-type");e&&delete o[e]}break}default: -(null==e?void 0:e.text)&&p(`'body' => ${ey(e.text)},`,1)} -const f=Object.keys(o).sort().map((function(e){ -return`${s.indent}${s.indent}'${e}' => '${_b(o[e])}',` -})),m=r.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ") -;return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${_b(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()} -},http1:{info:{key:"http1",title:"HTTP v1", -link:"http://php.net/manual/en/book.http.php", -description:"PHP with pecl/http v1"}, -convert:({method:e,url:t,postData:n,queryObj:r,headersObj:o,cookiesObj:a},i={})=>{ -const{closingTag:s=!1,indent:l=" ",noTags:c=!1,shortTags:u=!1}=i,{push:d,blank:p,join:h}=new xb({ -indent:l}) -;switch(c||(d(u?"setUrl(${ey(t)});`),ty.includes(e.toUpperCase())?d(`$request->setMethod(HTTP_METH_${e.toUpperCase()});`):d(`$request->setMethod(HttpRequest::HTTP_METH_${e.toUpperCase()});`), -p(), -Object.keys(r).length&&(d(`$request->setQueryData(${ey(r,l)});`),p()),Object.keys(o).length&&(d(`$request->setHeaders(${ey(o,l)});`), -p()), -Object.keys(a).length&&(d(`$request->setCookies(${ey(a,l)});`),p()),null==n?void 0:n.mimeType){ -case"application/x-www-form-urlencoded": -d(`$request->setContentType(${ey(n.mimeType)});`), -d(`$request->setPostFields(${ey(n.paramsObj,l)});`),p();break -;case"application/json": -d(`$request->setContentType(${ey(n.mimeType)});`),d(`$request->setBody(json_encode(${ey(n.jsonObj,l)}));`), -p();break;default: -(null==n?void 0:n.text)&&(d(`$request->setBody(${ey(n.text)});`),p())} -return d("try {"), -d("$response = $request->send();",1),p(),d("echo $response->getBody();",1), -d("} catch (HttpException $ex) {"),d("echo $ex;",1),d("}"),!c&&s&&(p(),d("?>")), -h()}},http2:{info:{key:"http2",title:"HTTP v2", -link:"http://devel-m6w6.rhcloud.com/mdref/http", -description:"PHP with pecl/http v2"}, -convert:({postData:e,headersObj:t,method:n,queryObj:r,cookiesObj:o,url:a},i={})=>{ -var s -;const{closingTag:l=!1,indent:c=" ",noTags:u=!1,shortTags:d=!1}=i,{push:p,blank:h,join:f}=new xb({ -indent:c});let m=!1 -;switch(u||(p(d?"append(new http\\QueryString(${ey(e.paramsObj,c)}));`), -h(),m=!0;break;case"multipart/form-data":{if(!e.params)break;const n=[],r={} -;e.params.forEach((({name:e,fileName:t,value:o,contentType:a})=>{t?n.push({ -name:e,type:a,file:t,data:o}):o&&(r[e]=o)})) -;const o=Object.keys(r).length?ey(r,c):"null",a=n.length?ey(n,c):"null" -;if(p("$body = new http\\Message\\Body;"), -p(`$body->addForm(${o}, ${a});`),bb(t,"content-type")&&(null===(s=vb(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){ -const e=gb(t,"content-type");e&&delete t[e]}h(),m=!0;break} -case"application/json": -p("$body = new http\\Message\\Body;"),p(`$body->append(json_encode(${ey(e.jsonObj,c)}));`), -m=!0;break;default: -(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"), -p(`$body->append(${ey(e.text)});`),h(),m=!0)} -return p(`$request->setRequestUrl(${ey(a)});`), -p(`$request->setRequestMethod(${ey(n)});`), -m&&(p("$request->setBody($body);"),h()), -Object.keys(r).length&&(p(`$request->setQuery(new http\\QueryString(${ey(r,c)}));`), -h()), -Object.keys(t).length&&(p(`$request->setHeaders(${ey(t,c)});`),h()),Object.keys(o).length&&(h(), -p(`$client->setCookies(${ey(o,c)});`), -h()),p("$client->enqueue($request)->send();"), -p("$response = $client->getResponse();"), -h(),p("echo $response->getBody();"),!u&&l&&(h(),p("?>")),f()}}} -},ry=e=>({method:t,headersObj:n,cookies:r,uriObj:o,fullUrl:a,postData:i,allHeaders:s})=>{ -const{push:l,join:c}=new xb -;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}", "${Sb(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 '${Sb(vb(s,"content-type"),{ -delimiter:"'",escapeChar:"`" -})}'`),u.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${a}' -Method ${t} ${u.join(" ")}`), -c()},oy={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:ry("Invoke-RestMethod")},ay={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:ry("Invoke-WebRequest")};function iy(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 sy=(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 iy("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1), -sy(e,t,n)))),r,t.indent,n)}case"[object Object]":{const r=[] -;for(const o in e)r.push(`"${o}": ${sy(e[o],t,n)}`) -;return iy("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,'\\"')}"`} -},ly=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],cy={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={})=>{ -var s,l;const{push:c,blank:u,join:d}=new xb({ -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=vb(o,"cookie"),v=vb(o,"accept"),b=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,y=v?`accept("${Eb(v)}")`:void 0,O=`content_type("${Eb(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}' = '${_b(t)}'`)).join(", "),k=w?`add_headers(${w})`:void 0 -;let x=`response <- VERB("${a}", url` -;m&&(x+=", body = payload"),n.length&&(x+=", query = queryString") -;const S=[k,O,y,b].filter((e=>!!e)).join(", ") -;return S&&(x+=`, ${S}`),r&&(r.text||r.jsonObj||r.params)&&(x+=", encode = encode"), -x+=")",c(x),u(),c('content(response, "text")'),d()} -},uy=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,dy={ -"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H", -insecure:"k",request:"X"},py=(e,t)=>t.repeat(e),hy=(e,t,n,r)=>{ -const o=py(r,n),a=py(r-1,n),i=t?`,\n${o}`:", " -;return t?`[\n${o}${e.join(i)}\n${a}]`:`[${e.join(i)}]` -},fy=(e,t,n)=>`let ${e} = ${my(t,n)}`,my=(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), -my(e,t,n))));return hy(o,r,t.indent,n)}case"[object Object]":{const r=[] -;for(const o in e)r.push(`"${o}": ${my(e[o],t,n)}`) -;return hy(r,t.pretty&&r.length>1,t.indent,n)}case"[object Boolean]": -return e.toString();default: -return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},gy={c:Tb,clojure:Mb, -csharp:Ib,go:Lb,http:jb,java:Ub,javascript:Zb,kotlin:Wb,node:Xb,objc:Kb, -ocaml:Jb,php:ny,powershell:{info:{key:"powershell",title:"Powershell", -extname:".ps1",default:"webrequest"},clientsById:{webrequest:ay,restmethod:oy}}, -python:{info:{key:"python",title:"Python",extname:".py",default:"python3"}, -clientsById:{python3:{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 xb -;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}': "${Eb(p[f])}" }`), -c();else if(h>1){let e=1;l("headers = {") -;for(const t in p)e++!==h?l(` '${t}': "${Eb(p[t])}",`):l(` '${t}': "${Eb(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()}},requests:{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 xb({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 = ${sy(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 = ${sy(h,i)}`),m&&s(`payload = ${sy(p,i)}`) -;const e=gb(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 = ${sy(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}": "${Eb(d[y])}"}`), -l();else if(v>1){let e=1;s("headers = {") -;for(const t in d)s(e!==v?`"${t}": "${Eb(d[t])}",`:`"${t}": "${Eb(d[t])}"`,1), -e+=1;s("}"),l()} -let b=ly.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()}} -}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:cy} -},ruby:{info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"}, -clientsById:{native:{info:{key:"native",title:"net::http", -link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html", -description:"Ruby HTTP client"}, -convert:({uriObj:e,method:t,fullUrl:n,postData:r,allHeaders:o},a={})=>{ -const{insecureSkipVerify:i=!1}=a,{push:s,blank:l,join:c}=new xb -;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}"] = '${_b(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()}}}}, -shell:{info:{key:"shell",title:"Shell",extname:".sh",default:"curl"}, -clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://curl.haxx.se/", -description:"cURL is a command line tool and library for transferring data with URL syntax" -}, -convert:({fullUrl:e,method:t,httpVersion:n,headersObj:r,allHeaders:o,postData:a},i={})=>{ -var s -;const{binary:l=!1,globOff:c=!1,indent:u=" ",insecureSkipVerify:d=!1,prettifyJson:p=!1,short:h=!1}=i,{push:f,join:m}=new xb({ -..."string"==typeof u?{indent:u}:{},join:!1!==u?` \\\n${u}`:" "}),g=(e=>t=>{ -if(e){const e=dy[t];return e?`-${e}`:""}return`--${t}`})(h);let v=uy(e) -;if(f(`curl ${g("request")} ${t}`), -c&&(v=unescape(v),f(g("globoff"))),f(`${g("url ")}${v}`), -d&&f(g("insecure")),"HTTP/1.0"===n&&f(g("http1.0")), -vb(o,"accept-encoding")&&f("--compressed"), -"multipart/form-data"===(null==a?void 0:a.mimeType)){ -const e=gb(r,"content-type");if(e){const t=r[e];if(e&&t){ -const n=t.replace(/; boundary.+?(?=(;|$))/,"");r[e]=n,o[e]=n}}} -switch(Object.keys(r).sort().forEach((e=>{const t=`${e}: ${r[e]}` -;f(`${g("header")} ${uy(t)}`) -})),o.cookie&&f(`${g("cookie")} ${uy(o.cookie)}`),null==a?void 0:a.mimeType){ -case"multipart/form-data":null===(s=a.params)||void 0===s||s.forEach((e=>{ -let t="" -;t=e.fileName?`${e.name}=@${e.fileName}`:`${e.name}=${e.value}`,f(`${g("form")} ${uy(t)}`) -}));break;case"application/x-www-form-urlencoded": -a.params?a.params.forEach((e=>{ -const t=e.name,n=encodeURIComponent(e.name),r=n!==t -;f(`${l?"--data-binary":"--data"+(r?"-urlencode":"")} ${uy(`${r?n:t}=${e.value}`)}`) -})):f(`${l?"--data-binary":g("data")} ${uy(a.text)}`);break;default:{if(!a)break -;if(!a.text)break;const e=l?"--data-binary":g("data");let t=!1 -;if(b=a.mimeType,yb.some((e=>b.includes(e)))){if(a.text.length>2&&p)try{ -const n=JSON.parse(a.text);t=!0;const r=JSON.stringify(n,void 0,u) -;a.text.indexOf("'")>0?f(`${e} @- <{ -const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1, -queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...i -},{push:l,join:c,unshift:u}=new xb({indent:s.indent, -join:!1!==s.indent?` \\\n${s.indent}`:" "});let d=!1;const p=[] -;s.headers&&p.push(s.short?"-h":"--headers"), -s.body&&p.push(s.short?"-b":"--body"), -s.verbose&&p.push(s.short?"-v":"--verbose"), -s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`), -s.verify&&p.push(`--verify=${s.verify}`), -s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`), -s.style&&p.push(`--style=${s.style}`), -s.timeout&&p.push(`--timeout=${s.timeout}`), -s.queryParams&&Object.keys(n).forEach((e=>{const t=n[e] -;Array.isArray(t)?t.forEach((t=>{l(`${e}==${uy(t)}`)})):l(`${e}==${uy(t)}`) -})),Object.keys(e).sort().forEach((t=>{l(`${t}:${uy(e[t])}`) -})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params&&t.params.length&&(p.push(s.short?"-f":"--form"), -t.params.forEach((e=>{l(`${e.name}=${uy(e.value)}`)}))):d=!0 -;if(u(`http ${p.length?`${p.join(" ")} `:""}${o} ${a=uy(s.queryParams?a:r)}`), -d&&(null==t?void 0:t.text)){u(`echo ${uy(t.text)} | `)}return c()}},wget:{info:{ -key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/", -description:"a free software package for retrieving files using HTTP, HTTPS"}, -convert:({method:e,postData:t,allHeaders:n,fullUrl:r},o)=>{const a={indent:" ", -short:!1,verbose:!1,...o},{push:i,join:s}=new xb({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 ${uy(e)}`),Object.keys(n).forEach((e=>{const t=`${e}: ${n[e]}` -;i(`--header ${uy(t)}`) -})),(null==t?void 0:t.text)&&i(`--body-data ${l=uy(t.text), -l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`), -i(a.short?"-O":"--output-document"),i(`- ${uy(r)}`),s()}}}},swift:{info:{ -key:"swift",title:"Swift",extname:".swift",default:"nsurlsession"},clientsById:{ -nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession", -link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html", -description:"Foundation's NSURLSession request"}, -convert:({allHeaders:e,postData:t,fullUrl:n,method:r},o)=>{var a;const i={ -indent:" ",pretty:!0,timeout:"10",...o},{push:s,blank:l,join:c}=new xb({ -indent:i.indent}),u={hasHeaders:!1,hasBody:!1} -;if(s("import Foundation"),Object.keys(e).length&&(u.hasHeaders=!0, -l(),s(fy("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(`${fy("parameters",t.jsonObj,i)} as [String : Any]`), -l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])")) -;break;case"multipart/form-data": -s(fy("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()}}}}} -;class vy{constructor(e){let t=[];var n -;t="object"==typeof(n=e)&&"log"in n&&"object"==typeof n.log&&"entries"in n.log&&Array.isArray(n.log.entries)?e.log.entries:[{ -request:e}],this.requests=Promise.all(t.map((({request:e})=>{var t;const n={ -bodySize:0,headersSize:0,headers:[],cookies:[],httpVersion:"HTTP/1.1", -queryString:[],postData:{ -mimeType:(null===(t=e.postData)||void 0===t?void 0:t.mimeType)||"application/octet-stream" -},...e};return this.prepare(n)})))}async prepare(e){var t,n,r,o;const a={...e, -fullUrl:"",queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{}} -;if(a.queryString&&a.queryString.length&&(a.queryObj=a.queryString.reduce(Ob,{})), -a.headers&&a.headers.length){const e=/^HTTP\/2/ -;a.headersObj=a.headers.reduce(((t,{name:n,value:r})=>{ -const o=e.exec(a.httpVersion)?n.toLocaleLowerCase():n;return{...t,[o]:r}}),{})} -a.cookies&&a.cookies.length&&(a.cookiesObj=a.cookies.reduceRight(((e,{name:t,value:n})=>({ -...e,[t]:n})),{})) -;const i=null===(t=a.cookies)||void 0===t?void 0:t.map((({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`)) -;switch((null==i?void 0:i.length)&&(a.allHeaders.cookie=i.join("; ")), -null===(n=a.postData)||void 0===n?void 0:n.mimeType){case"multipart/mixed": -case"multipart/related":case"multipart/form-data":case"multipart/alternative": -if(a.postData.text="", -a.postData.mimeType="multipart/form-data",null===(r=a.postData)||void 0===r?void 0:r.params){ -const e=new lb,t="---011000010111000001101001" -;null===(o=a.postData)||void 0===o||o.params.forEach((t=>{ -const n=t.name,r=t.value||"",o=t.fileName;var a -;"object"==typeof(a=r)&&"function"==typeof a.arrayBuffer&&"string"==typeof a.type&&"function"==typeof a.stream&&"function"==typeof a.constructor&&/^(Blob|File)$/.test(a[hb])?e.append(n,r,o):e.append(n,new cb([r],{ -type:t.contentType}),o?function(e){const t=e.split("/");return t[t.length-1] -}(o):o)}));const{postData:n}=a;for await(const o of mb(e,t))n.text+=o -;a.postData.boundary=t;const r=gb(a.headersObj,"content-type")||"content-type" -;a.headersObj[r]=`multipart/form-data; boundary=${t}`}break -;case"application/x-www-form-urlencoded": -a.postData.params?(a.postData.paramsObj=a.postData.params.reduce(Ob,{}), -a.postData.text=wb(a.postData.paramsObj).toString()):a.postData.text="";break -;case"text/json":case"text/x-json":case"application/json": -case"application/x-json": -if(a.postData.mimeType="application/json",a.postData.text)try{ -a.postData.jsonObj=JSON.parse(a.postData.text)}catch(xI){ -a.postData.mimeType="text/plain"}}const s={...a.allHeaders,...a.headersObj -},l=new URL(a.url),c=Object.fromEntries(l.searchParams);a.queryObj={ -...a.queryObj,...c};const u=wb(a.queryObj),d=new URL(a.url) -;return d.search=u.toString(),l.search="",{...a,allHeaders:s, -fullUrl:d.toString(),url:l.toString(),uriObj:new kb(d.toString())}} -async convert(e,t,n){!n&&t&&(n=t);const r=gy[e];if(!r)return null -;const{convert:o}=r.clientsById[t||r.info.default],a=(await this.requests).map((e=>o(e,n))) -;return 1===a.length?a[0]:a}}async function by(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(xI){} -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(xI){}return r})(e),o=t -;if(ib().hasPlugin(o,n))return ib().print(t,n,r) -;if(e.url.startsWith("__"))return e.url;try{ -const e=null==t?void 0:t.replace("js","javascript"),o=n,a=await new vy(r).convert(e,o) -;if("string"==typeof a)return a}catch(a){ -console.error("[getExampleCode] Failed to generate example code with httpsnippet-lite:",a) -}return""}const yy="object"==typeof self?self:globalThis,Oy=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 yy[e](t),o)}case 8:return n(BigInt(i),o) -;case"BigInt":return n(Object(BigInt(i)),o)}return n(new yy[a](i),o)};return r -})(new Map,e)(0),wy="",{toString:ky}={},{keys:xy}=Object,Sy=e=>{const t=typeof e -;if("object"!==t||!e)return[0,t];const n=ky.call(e).slice(8,-1);switch(n){ -case"Array":return[1,wy];case"Object":return[2,wy];case"Date":return[3,wy] -;case"RegExp":return[4,wy];case"Map":return[5,wy];case"Set":return[6,wy]} -return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n] -},_y=([e,t])=>0===e&&("function"===t||"symbol"===t),Ey=(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]=Sy(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 xy(r))!e&&_y(Sy(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||!_y(Sy(o))&&!_y(Sy(i)))&&t.push([a(o),a(i)]);return n} -case 6:{const t=[],n=o([i,t],r);for(const o of r)!e&&_y(Sy(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 -},Ty="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Oy(Ey(e,t)):structuredClone(e):(e,t)=>Oy(Ey(e,t)),Cy=function(e,t,n,r,o){ -const a=Ay(t);return!!Dy(e)&&a.call(o,e,n,r)},Ay=function(e){ -if(null==e)return $y;if("string"==typeof e)return function(e){return Py(t) -;function t(t){return t.tagName===e}}(e) -;if("object"==typeof e)return function(e){const t=[];let n=-1 -;for(;++n":"")+")"})} -return u;function u(){let c,u,d,p=By -;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[Qy,e] -;return null==e?By:[e]}(n(o,l)),p[0]===Fy))return p -;if("children"in o&&o.children){const t=o -;if(t.children&&p[0]!==qy)for(u=(r?t.children.length:-1)+i, -d=l.concat(t);u>-1&&u0&&(e.properties.rel=[...a]),i&&(e.properties.target=i),r){ -const n=Gy(t.contentProperties,e)||{};e.children.push({type:"element", -tagName:"span",properties:Ty(n),children:Ty(r)})}}}}))}}function Gy(e,t){ -return"function"==typeof e?e(t):e}const Yy=Ay((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 -})),Ky={}.hasOwnProperty;const Jy=new Set(["pingback","prefetch","stylesheet"]) -;const eO=Ay(["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"]),tO=Ay("meta") -;function nO(e){return Boolean("text"===e.type||eO(e)||Yy(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(;++n0&&t.blanks.includes(e.tagName)) -}}function SO(e,t){ -return"root"===e.type||"element"===e.type&&(t||Cy(e,"script")||Yy(e)||!nO(e))} -let _O=class{constructor(e,t,n){this.property=e,this.normal=t,n&&(this.space=n)} -};function EO(e,t){const n={},r={};let o=-1 -;for(;++o"xlink:"+t.slice(5).toLowerCase(),properties:{ -xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null, -xLinkShow:null,xLinkTitle:null,xLinkType:null}}),HO=qO({space:"xml", -transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null, -xmlBase:null,xmlSpace:null}});function VO(e,t){return t in e?e[t]:t} -function ZO(e,t){return VO(e,t.toLowerCase())}const WO=qO({space:"xmlns", -attributes:{xmlnsxlink:"xmlns:xlink"},transform:ZO,properties:{xmlns:null, -xmlnsXLink:null}}),XO=qO({ -transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ -ariaActiveDescendant:null,ariaAtomic:$O,ariaAutoComplete:null,ariaBusy:$O, -ariaChecked:$O,ariaColCount:RO,ariaColIndex:RO,ariaColSpan:RO,ariaControls:NO, -ariaCurrent:null,ariaDescribedBy:NO,ariaDetails:null,ariaDisabled:$O, -ariaDropEffect:NO,ariaErrorMessage:null,ariaExpanded:$O,ariaFlowTo:NO, -ariaGrabbed:$O,ariaHasPopup:null,ariaHidden:$O,ariaInvalid:null, -ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:NO,ariaLevel:RO, -ariaLive:null,ariaModal:$O,ariaMultiLine:$O,ariaMultiSelectable:$O, -ariaOrientation:null,ariaOwns:NO,ariaPlaceholder:null,ariaPosInSet:RO, -ariaPressed:$O,ariaReadOnly:$O,ariaRelevant:null,ariaRequired:$O, -ariaRoleDescription:NO,ariaRowCount:RO,ariaRowIndex:RO,ariaRowSpan:RO, -ariaSelected:$O,ariaSetSize:RO,ariaSort:null,ariaValueMax:RO,ariaValueMin:RO, -ariaValueNow:RO,ariaValueText:null,role:null}}),GO=qO({space:"html",attributes:{ -acceptcharset:"accept-charset",classname:"class",htmlfor:"for", -httpequiv:"http-equiv"},transform:ZO, -mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null, -accept:MO,acceptCharset:NO,accessKey:NO,action:null,allow:null, -allowFullScreen:PO,allowPaymentRequest:PO,allowUserMedia:PO,alt:null,as:null, -async:PO,autoCapitalize:null,autoComplete:NO,autoFocus:PO,autoPlay:PO, -blocking:NO,capture:null,charSet:null,checked:PO,cite:null,className:NO,cols:RO, -colSpan:null,content:null,contentEditable:$O,controls:PO,controlsList:NO, -coords:RO|MO,crossOrigin:null,data:null,dateTime:null,decoding:null,default:PO, -defer:PO,dir:null,dirName:null,disabled:PO,download:DO,draggable:$O, -encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null, -formEncType:null,formMethod:null,formNoValidate:PO,formTarget:null,headers:NO, -height:RO,hidden:PO,high:RO,href:null,hrefLang:null,htmlFor:NO,httpEquiv:NO, -id:null,imageSizes:null,imageSrcSet:null,inert:PO,inputMode:null,integrity:null, -is:null,isMap:PO,itemId:null,itemProp:NO,itemRef:NO,itemScope:PO,itemType:NO, -kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:PO, -low:RO,manifest:null,max:null,maxLength:RO,media:null,method:null,min:null, -minLength:RO,multiple:PO,muted:PO,name:null,nonce:null,noModule:PO, -noValidate:PO,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:PO, -optimum:RO,pattern:null,ping:NO,placeholder:null,playsInline:PO,popover:null, -popoverTarget:null,popoverTargetAction:null,poster:null,preload:null, -readOnly:PO,referrerPolicy:null,rel:NO,required:PO,reversed:PO,rows:RO, -rowSpan:RO,sandbox:NO,scope:null,scoped:PO,seamless:PO,selected:PO, -shadowRootClonable:PO,shadowRootDelegatesFocus:PO,shadowRootMode:null, -shape:null,size:RO,sizes:null,slot:null,span:RO,spellCheck:$O,src:null, -srcDoc:null,srcLang:null,srcSet:null,start:RO,step:null,style:null,tabIndex:RO, -target:null,title:null,translate:null,type:null,typeMustMatch:PO,useMap:null, -value:$O,width:RO,wrap:null,writingSuggestions:null,align:null,aLink:null, -archive:NO,axis:null,background:null,bgColor:null,border:RO,borderColor:null, -bottomMargin:RO,cellPadding:null,cellSpacing:null,char:null,charOff:null, -classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null, -compact:PO,declare:PO,event:null,face:null,frame:null,frameBorder:null, -hSpace:RO,leftMargin:RO,link:null,longDesc:null,lowSrc:null,marginHeight:RO, -marginWidth:RO,noResize:PO,noHref:PO,noShade:PO,noWrap:PO,object:null, -profile:null,prompt:null,rev:null,rightMargin:RO,rules:null,scheme:null, -scrolling:$O,standby:null,summary:null,text:null,topMargin:RO,valueType:null, -version:null,vAlign:null,vLink:null,vSpace:RO,allowTransparency:null, -autoCorrect:null,autoSave:null,disablePictureInPicture:PO, -disableRemotePlayback:PO,prefix:null,property:null,results:RO,security:null, -unselectable:null}}),YO=qO({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:VO,properties:{about:IO, -accentHeight:RO,accumulate:null,additive:null,alignmentBaseline:null, -alphabetic:RO,amplitude:RO,arabicForm:null,ascent:RO,attributeName:null, -attributeType:null,azimuth:RO,bandwidth:null,baselineShift:null, -baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:RO,by:null, -calcMode:null,capHeight:RO,className:NO,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:RO, -diffuseConstant:RO,direction:null,display:null,dur:null,divisor:RO, -dominantBaseline:null,download:PO,dx:null,dy:null,edgeMode:null,editable:null, -elevation:RO,enableBackground:null,end:null,event:null,exponent:RO, -externalResourcesRequired:null,fill:null,fillOpacity:RO,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:MO,g2:MO, -glyphName:MO,glyphOrientationHorizontal:null,glyphOrientationVertical:null, -glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:RO, -hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null, -horizAdvX:RO,horizOriginX:RO,horizOriginY:RO,id:null,ideographic:RO, -imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:RO,k:RO, -k1:RO,k2:RO,k3:RO,k4:RO,kernelMatrix:IO,kernelUnitLength:null,keyPoints:null, -keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null, -letterSpacing:null,lightingColor:null,limitingConeAngle:RO,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:RO, -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:RO, -overlineThickness:RO,paintOrder:null,panose1:null,path:null,pathLength:RO, -patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null, -ping:NO,pitch:null,playbackOrder:null,pointerEvents:null,points:null, -pointsAtX:RO,pointsAtY:RO,pointsAtZ:RO,preserveAlpha:null, -preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:IO,r:null, -radius:null,referrerPolicy:null,refX:null,refY:null,rel:IO,rev:IO, -renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:IO, -requiredFeatures:IO,requiredFonts:IO,requiredFormats:IO,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:RO, -specularExponent:RO,spreadMethod:null,spacing:null,startOffset:null, -stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null, -stopOpacity:null,strikethroughPosition:RO,strikethroughThickness:RO,string:null, -stroke:null,strokeDashArray:IO,strokeDashOffset:null,strokeLineCap:null, -strokeLineJoin:null,strokeMiterLimit:RO,strokeOpacity:RO,strokeWidth:null, -style:null,surfaceScale:RO,syncBehavior:null,syncBehaviorDefault:null, -syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:IO, -tabIndex:RO,tableValues:null,target:null,targetX:RO,targetY:RO,textAnchor:null, -textDecoration:null,textRendering:null,textLength:null,timelineBegin:null, -title:null,transformBehavior:null,type:null,typeOf:IO,to:null,transform:null, -transformOrigin:null,u1:null,u2:null,underlinePosition:RO,underlineThickness:RO, -unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:RO,values:null, -vAlphabetic:RO,vMathematical:RO,vectorEffect:null,vHanging:RO,vIdeographic:RO, -version:null,vertAdvY:RO,vertOriginX:RO,vertOriginY:RO,viewBox:null, -viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null, -writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:RO,y:null, -y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null} -}),KO=/^data[-\w.:]+$/i,JO=/-[a-z]/g,ew=/[A-Z]/g;function tw(e,t){const n=TO(t) -;let r=t,o=CO;if(n in e.normal)return e.property[e.normal[n]] -;if(n.length>4&&"data"===n.slice(0,4)&&KO.test(t)){if("-"===t.charAt(4)){ -const e=t.slice(5).replace(JO,rw);r="data"+e.charAt(0).toUpperCase()+e.slice(1) -}else{const e=t.slice(4);if(!JO.test(e)){let n=e.replace(ew,nw) -;"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}o=BO}return new o(r,t)}function nw(e){ -return"-"+e.toLowerCase()}function rw(e){return e.charAt(1).toUpperCase()} -const ow=EO([HO,zO,WO,XO,GO],"html"),aw=EO([HO,zO,WO,XO,YO],"svg") -;function iw(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 sw(e,t){ -const n=t||{} -;return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim() -}const lw=/[#.]/g -;const cw=new Set(["button","menu","reset","submit"]),uw={}.hasOwnProperty -;function dw(e,t,n){const r=n&&function(e){const t={};let n=-1 -;for(;++n-1&&ee)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=55296&&e<=57343}function Zw(e){ -return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159} -function Ww(e){return e>=64976&&e<=65007||Iw.has(e)}var Xw,Gw -;(Gw=Xw=Xw||(Xw={})).controlCharacterInInputStream="control-character-in-input-stream", -Gw.noncharacterInInputStream="noncharacter-in-input-stream", -Gw.surrogateInInputStream="surrogate-in-input-stream", -Gw.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus", -Gw.endTagWithAttributes="end-tag-with-attributes", -Gw.endTagWithTrailingSolidus="end-tag-with-trailing-solidus", -Gw.unexpectedSolidusInTag="unexpected-solidus-in-tag", -Gw.unexpectedNullCharacter="unexpected-null-character", -Gw.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name", -Gw.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name", -Gw.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name", -Gw.missingEndTagName="missing-end-tag-name", -Gw.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name", -Gw.unknownNamedCharacterReference="unknown-named-character-reference", -Gw.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference", -Gw.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier", -Gw.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value", -Gw.eofBeforeTagName="eof-before-tag-name", -Gw.eofInTag="eof-in-tag",Gw.missingAttributeValue="missing-attribute-value", -Gw.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes", -Gw.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword", -Gw.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers", -Gw.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword", -Gw.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier", -Gw.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier", -Gw.missingDoctypePublicIdentifier="missing-doctype-public-identifier", -Gw.missingDoctypeSystemIdentifier="missing-doctype-system-identifier", -Gw.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier", -Gw.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier", -Gw.cdataInHtmlContent="cdata-in-html-content", -Gw.incorrectlyOpenedComment="incorrectly-opened-comment", -Gw.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text", -Gw.eofInDoctype="eof-in-doctype", -Gw.nestedComment="nested-comment",Gw.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment", -Gw.eofInComment="eof-in-comment", -Gw.incorrectlyClosedComment="incorrectly-closed-comment", -Gw.eofInCdata="eof-in-cdata", -Gw.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference", -Gw.nullCharacterReference="null-character-reference", -Gw.surrogateCharacterReference="surrogate-character-reference", -Gw.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range", -Gw.controlCharacterReference="control-character-reference", -Gw.noncharacterCharacterReference="noncharacter-character-reference", -Gw.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name", -Gw.missingDoctypeName="missing-doctype-name", -Gw.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name", -Gw.duplicateAttribute="duplicate-attribute", -Gw.nonConformingDoctype="non-conforming-doctype", -Gw.missingDoctype="missing-doctype", -Gw.misplacedDoctype="misplaced-doctype",Gw.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element", -Gw.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements", -Gw.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head", -Gw.openElementsLeftAfterEof="open-elements-left-after-eof", -Gw.abandonedHeadElementChild="abandoned-head-element-child", -Gw.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element", -Gw.nestedNoscriptInHead="nested-noscript-in-head", -Gw.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text" -;class Yw{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,jw.EOF -;return this._err(Xw.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=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,jw.EOF -;const n=this.html.charCodeAt(t);return n===jw.CARRIAGE_RETURN?jw.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, -jw.EOF;let e=this.html.charCodeAt(this.pos) -;if(e===jw.CARRIAGE_RETURN)return this.isEol=!0, -this.skipNextNewLine=!0,jw.LINE_FEED -;if(e===jw.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine))return this.line--, -this.skipNextNewLine=!1,this._addGap(),this.advance() -;this.skipNextNewLine=!1,Vw(e)&&(e=this._processSurrogate(e)) -;return null===this.handler.onParseError||e>31&&e<127||e===jw.LINE_FEED||e===jw.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e), -e}_checkForProblematicCharacters(e){ -Zw(e)?this._err(Xw.controlCharacterInInputStream):Ww(e)&&this._err(Xw.noncharacterInInputStream) -}retreat(e){ -for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value -;return null} -(Jw=Kw=Kw||(Kw={}))[Jw.CHARACTER=0]="CHARACTER",Jw[Jw.NULL_CHARACTER=1]="NULL_CHARACTER", -Jw[Jw.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER", -Jw[Jw.START_TAG=3]="START_TAG", -Jw[Jw.END_TAG=4]="END_TAG",Jw[Jw.COMMENT=5]="COMMENT", -Jw[Jw.DOCTYPE=6]="DOCTYPE",Jw[Jw.EOF=7]="EOF",Jw[Jw.HIBERNATION=8]="HIBERNATION" -;const tk=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏ੊ઑඡ๭༉༦჊ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ὾⁠↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms„‹•˜¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲ΂ϏϢϸontourIntegraìȹoɴ͹\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՗՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲ׌y;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱cò׋؀JTabcdfgorstר׬ׯ׺؀ؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d׷׸䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇܎ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ޷޼߂ߐĀiyޱ޵rc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄΀HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶߻dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣ঳সে্਷ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗ࡜ࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४Ānrࢃ࢏gleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpw৔ਖਛgȀLRlr৞৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼੝੠੷੼અઋ઎p;椅y;䐜Ādl੥੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑ඗ඞcy;䐊cute;䅃ƀaey઴હાron;䅇dil;䅅;䐝ƀgswે૰଎ativeƀMTV૓૟૨ediumSpace;怋hiĀcn૦૘ë૙eryThiî૙tedĀGL૸ଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷ଺reak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊ஛ement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater΀;EFGLSTஶஷ஽௉௓௘௥扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲௽ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ೒拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨೹setĀ;E೰ೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂ෉෕ෛ෠෧෼ขภยา฿ไlig;䅒cute耻Ó䃓Āiy෎ීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲ෶cr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬื฼de耻Õ䃕es;樷ml耻Ö䃖erĀBP๋๠Āar๐๓r;怾acĀek๚๜;揞et;掴arenthesis;揜Ҁacfhilors๿ງຊຏຒດຝະ໼rtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ໠໤檻cedesȀ;EST່້໏໚扺qual;檯lantEqual;扼ilde;找me;怳Ādp໩໮uct;戏ortionĀ;aȥ໹l;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬؀BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁࿫࿳ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL࿜࿝࿡憒ar;懥eftArrow;懄eiling;按oǵ࿹\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»࿝pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄ቉ቕ቞ቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHc቎ቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗Āeiቻ኉Dzኀ\0ኇefore;戴a;䎘Ācn኎ኘkSpace;쀀  Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0᏿ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0጖y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻፿on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtè૙a;䎖r;愨pf;愤cr;쀀𝒵௡ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚΀;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒΀;Eaeiop዁ᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;e዁ᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;e዁ᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰ᜼ᝃᝈ᝸᝽០៦ᠹᡐᜍ᤽᥈ᥰot;櫭Ācrᛶ᜞kȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e᜚᜛戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀako៭ᠦᠵĀcn៲ᠣkƀlst៺֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘᠝斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈؀DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬ᣿ᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教΀;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ᣷᣹᣻᣽;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ᤟;敛;敘;攘;攔΀;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģ᥂bar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;e᜚᜜lƀ;bhᥨᥩᥫ䁜;槅sub;柈Ŭᥴ᥾lĀ;e᥹᥺怢t»᥺pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭍᭒\0᯽\0ᰌƀcpr᦭ᦲ᧝ute;䄇̀;abcdsᦿᧀᧄ᧊᧕᧙戩nd;橄rcup;橉Āau᧏᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r΀;Ecefms᩟᩠ᩢᩫ᪤᪪᪮旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖᪚᪟»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇᫔᫺\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ᫙\0\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩eóɍǧ᫾\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯΀delprvw᭠᭬᭷ᮂᮬᯔ᯹arrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;p᭿ᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰸᰻᰿ᱝᱩᱵᲊᲞᲬᲷ᳻᳿ᴍᵻᶑᶫᶻ᷆᷍rò΁ar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂͸᳖᳜᳠mƀ;oș᳊᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄ὎὚ĀDoḆᴴoôᲉĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»Ṻƀaeiἒ἖Ἒls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙ῜ῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao‌⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧‪‬\0‮耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₟₥₰₴⃰⃵⃺⃿℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕ₝ute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽⃉ƀ;qsؾٌ⃄lanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqr׮ⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0↎proø₞r;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢␧␭␱␵␻ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀஀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼rò৆òΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonó྘quigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d྘➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ᠛旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐௏쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop඄⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roø඄urĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓΀;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨í஘istĀ;s஠டr;쀀𝔫ȀEest௅⩦⩹⩼ƀ;qs஼⩭௡ƀ;qs஼௅⩴lanô௢ií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚΀AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs఻⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs఻⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast୻⭕⭚⭟lleì୻l;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖ΀chimpqu⮽⯍⯙⬄୸⯤⯯Ȁ;cerല⯆ഷ⯉uå൅;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭å೸åഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñ೗Ā;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰⳴ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥ⵲ⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;c᪞ⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\0\0⵼\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕ⶘ⶥⶨrò᪀Āir⶝ⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔ⷗ǒr;榷rp;榹΀;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ⹞\0⹽\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ⹧⹲຅脀¶;l⹭⹮䂶leìЃɩ⹸\0\0⹻m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳⻴ᤈ⻹⻽⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp໬⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t໻⾴ï໻rel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⿚⋢⿟⿥⿫⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei⿾々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔઀ABHabcdefhilmnoprstux぀けさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤΀cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstw࿜ガクシスゼゾダッデナp;極Ā;f࿠ゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes㄂㄄;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ì࿲âヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘㇤㇮rrowĀ;t࿜ㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowó࿪arpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓rò࿪aòՑ;怏oustĀ;a㈞㈟掱che»㈟mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦΀Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼਴t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì⹯耻­䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;q኱ኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫ਩war;椪lig耻ß䃟௡㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rë๟ƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproø዁im»ኬsðኞĀas㚺㚮ð዁rn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈ΀adempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xô᝷headĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜΀eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roð໻tré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚΀cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜ៟tré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),nk=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0)))) -;var rk -;const ok=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]]),ak=null!==(rk=String.fromCodePoint)&&void 0!==rk?rk: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 ik,sk -;(sk=ik||(ik={}))[sk.NUM=35]="NUM",sk[sk.SEMI=59]="SEMI", -sk[sk.EQUALS=61]="EQUALS", -sk[sk.ZERO=48]="ZERO",sk[sk.NINE=57]="NINE",sk[sk.LOWER_A=97]="LOWER_A", -sk[sk.LOWER_F=102]="LOWER_F", -sk[sk.LOWER_X=120]="LOWER_X",sk[sk.LOWER_Z=122]="LOWER_Z", -sk[sk.UPPER_A=65]="UPPER_A", -sk[sk.UPPER_F=70]="UPPER_F",sk[sk.UPPER_Z=90]="UPPER_Z" -;var lk,ck,uk,dk,pk,hk,fk,mk,gk,vk,bk,yk,Ok,wk,kk,xk;function Sk(e){ -return e>=ik.ZERO&&e<=ik.NINE}function _k(e){return e===ik.EQUALS||function(e){ -return e>=ik.UPPER_A&&e<=ik.UPPER_Z||e>=ik.LOWER_A&&e<=ik.LOWER_Z||Sk(e)}(e)} -(ck=lk||(lk={}))[ck.VALUE_LENGTH=49152]="VALUE_LENGTH", -ck[ck.BRANCH_LENGTH=16256]="BRANCH_LENGTH", -ck[ck.JUMP_TABLE=127]="JUMP_TABLE",(dk=uk||(uk={}))[dk.EntityStart=0]="EntityStart", -dk[dk.NumericStart=1]="NumericStart", -dk[dk.NumericDecimal=2]="NumericDecimal",dk[dk.NumericHex=3]="NumericHex", -dk[dk.NamedEntity=4]="NamedEntity", -(hk=pk||(pk={}))[hk.Legacy=0]="Legacy",hk[hk.Strict=1]="Strict", -hk[hk.Attribute=2]="Attribute";class Ek{constructor(e,t,n){ -this.decodeTree=e,this.emitCodePoint=t, -this.errors=n,this.state=uk.EntityStart,this.consumed=1, -this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=pk.Strict} -startEntity(e){ -this.decodeMode=e,this.state=uk.EntityStart,this.result=0,this.treeIndex=0, -this.excess=1,this.consumed=1}write(e,t){switch(this.state){case uk.EntityStart: -return e.charCodeAt(t)===ik.NUM?(this.state=uk.NumericStart, -this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=uk.NamedEntity, -this.stateNamedEntity(e,t));case uk.NumericStart: -return this.stateNumericStart(e,t);case uk.NumericDecimal: -return this.stateNumericDecimal(e,t);case uk.NumericHex: -return this.stateNumericHex(e,t);case uk.NamedEntity: -return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){ -return t>=e.length?-1:(32|e.charCodeAt(t))===ik.LOWER_X?(this.state=uk.NumericHex, -this.consumed+=1, -this.stateNumericHex(e,t+1)):(this.state=uk.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=ik.UPPER_A&&r<=ik.UPPER_F||r>=ik.LOWER_A&&r<=ik.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=55296&&e<=57343||e>1114111?65533:null!==(t=ok.get(e))&&void 0!==t?t:e -}(this.result),this.consumed), -this.errors&&(e!==ik.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&lk.VALUE_LENGTH)>>14 -;for(;t>14,0!==o){ -if(a===ik.SEMI)return this.emitNamedEntityData(this.treeIndex,o,this.consumed+this.excess) -;this.decodeMode!==pk.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]&lk.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]&~lk.VALUE_LENGTH:r[e+1],n), -3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){ -case uk.NamedEntity: -return 0===this.result||this.decodeMode===pk.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity() -;case uk.NumericDecimal:return this.emitNumericEntity(0,2);case uk.NumericHex: -return this.emitNumericEntity(0,3);case uk.NumericStart: -return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed), -0;case uk.EntityStart:return 0}}}function Tk(e){let t="" -;const n=new Ek(e,(e=>t+=ak(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 Ck(e,t,n,r){ -const o=(t&lk.BRANCH_LENGTH)>>7,a=t&lk.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(nr))return e[t+o];s=t-1}}return-1} -Tk(tk),Tk(nk),(mk=fk=fk||(fk={})).HTML="http://www.w3.org/1999/xhtml", -mk.MATHML="http://www.w3.org/1998/Math/MathML", -mk.SVG="http://www.w3.org/2000/svg", -mk.XLINK="http://www.w3.org/1999/xlink",mk.XML="http://www.w3.org/XML/1998/namespace", -mk.XMLNS="http://www.w3.org/2000/xmlns/", -(vk=gk=gk||(gk={})).TYPE="type",vk.ACTION="action", -vk.ENCODING="encoding",vk.PROMPT="prompt", -vk.NAME="name",vk.COLOR="color",vk.FACE="face", -vk.SIZE="size",(yk=bk=bk||(bk={})).NO_QUIRKS="no-quirks", -yk.QUIRKS="quirks",yk.LIMITED_QUIRKS="limited-quirks",(wk=Ok=Ok||(Ok={})).A="a", -wk.ADDRESS="address", -wk.ANNOTATION_XML="annotation-xml",wk.APPLET="applet",wk.AREA="area", -wk.ARTICLE="article", -wk.ASIDE="aside",wk.B="b",wk.BASE="base",wk.BASEFONT="basefont", -wk.BGSOUND="bgsound", -wk.BIG="big",wk.BLOCKQUOTE="blockquote",wk.BODY="body",wk.BR="br", -wk.BUTTON="button", -wk.CAPTION="caption",wk.CENTER="center",wk.CODE="code",wk.COL="col", -wk.COLGROUP="colgroup", -wk.DD="dd",wk.DESC="desc",wk.DETAILS="details",wk.DIALOG="dialog", -wk.DIR="dir",wk.DIV="div", -wk.DL="dl",wk.DT="dt",wk.EM="em",wk.EMBED="embed",wk.FIELDSET="fieldset", -wk.FIGCAPTION="figcaption",wk.FIGURE="figure",wk.FONT="font",wk.FOOTER="footer", -wk.FOREIGN_OBJECT="foreignObject", -wk.FORM="form",wk.FRAME="frame",wk.FRAMESET="frameset", -wk.H1="h1",wk.H2="h2",wk.H3="h3", -wk.H4="h4",wk.H5="h5",wk.H6="h6",wk.HEAD="head", -wk.HEADER="header",wk.HGROUP="hgroup", -wk.HR="hr",wk.HTML="html",wk.I="i",wk.IMG="img", -wk.IMAGE="image",wk.INPUT="input", -wk.IFRAME="iframe",wk.KEYGEN="keygen",wk.LABEL="label", -wk.LI="li",wk.LINK="link", -wk.LISTING="listing",wk.MAIN="main",wk.MALIGNMARK="malignmark", -wk.MARQUEE="marquee", -wk.MATH="math",wk.MENU="menu",wk.META="meta",wk.MGLYPH="mglyph", -wk.MI="mi",wk.MO="mo", -wk.MN="mn",wk.MS="ms",wk.MTEXT="mtext",wk.NAV="nav",wk.NOBR="nobr", -wk.NOFRAMES="noframes", -wk.NOEMBED="noembed",wk.NOSCRIPT="noscript",wk.OBJECT="object", -wk.OL="ol",wk.OPTGROUP="optgroup", -wk.OPTION="option",wk.P="p",wk.PARAM="param",wk.PLAINTEXT="plaintext", -wk.PRE="pre", -wk.RB="rb",wk.RP="rp",wk.RT="rt",wk.RTC="rtc",wk.RUBY="ruby",wk.S="s", -wk.SCRIPT="script", -wk.SECTION="section",wk.SELECT="select",wk.SOURCE="source",wk.SMALL="small", -wk.SPAN="span", -wk.STRIKE="strike",wk.STRONG="strong",wk.STYLE="style",wk.SUB="sub", -wk.SUMMARY="summary", -wk.SUP="sup",wk.TABLE="table",wk.TBODY="tbody",wk.TEMPLATE="template", -wk.TEXTAREA="textarea", -wk.TFOOT="tfoot",wk.TD="td",wk.TH="th",wk.THEAD="thead",wk.TITLE="title", -wk.TR="tr", -wk.TRACK="track",wk.TT="tt",wk.U="u",wk.UL="ul",wk.SVG="svg",wk.VAR="var", -wk.WBR="wbr", -wk.XMP="xmp",(xk=kk=kk||(kk={}))[xk.UNKNOWN=0]="UNKNOWN",xk[xk.A=1]="A", -xk[xk.ADDRESS=2]="ADDRESS", -xk[xk.ANNOTATION_XML=3]="ANNOTATION_XML",xk[xk.APPLET=4]="APPLET", -xk[xk.AREA=5]="AREA", -xk[xk.ARTICLE=6]="ARTICLE",xk[xk.ASIDE=7]="ASIDE",xk[xk.B=8]="B", -xk[xk.BASE=9]="BASE", -xk[xk.BASEFONT=10]="BASEFONT",xk[xk.BGSOUND=11]="BGSOUND",xk[xk.BIG=12]="BIG", -xk[xk.BLOCKQUOTE=13]="BLOCKQUOTE", -xk[xk.BODY=14]="BODY",xk[xk.BR=15]="BR",xk[xk.BUTTON=16]="BUTTON", -xk[xk.CAPTION=17]="CAPTION", -xk[xk.CENTER=18]="CENTER",xk[xk.CODE=19]="CODE",xk[xk.COL=20]="COL", -xk[xk.COLGROUP=21]="COLGROUP", -xk[xk.DD=22]="DD",xk[xk.DESC=23]="DESC",xk[xk.DETAILS=24]="DETAILS", -xk[xk.DIALOG=25]="DIALOG", -xk[xk.DIR=26]="DIR",xk[xk.DIV=27]="DIV",xk[xk.DL=28]="DL", -xk[xk.DT=29]="DT",xk[xk.EM=30]="EM", -xk[xk.EMBED=31]="EMBED",xk[xk.FIELDSET=32]="FIELDSET", -xk[xk.FIGCAPTION=33]="FIGCAPTION", -xk[xk.FIGURE=34]="FIGURE",xk[xk.FONT=35]="FONT", -xk[xk.FOOTER=36]="FOOTER",xk[xk.FOREIGN_OBJECT=37]="FOREIGN_OBJECT", -xk[xk.FORM=38]="FORM", -xk[xk.FRAME=39]="FRAME",xk[xk.FRAMESET=40]="FRAMESET",xk[xk.H1=41]="H1", -xk[xk.H2=42]="H2", -xk[xk.H3=43]="H3",xk[xk.H4=44]="H4",xk[xk.H5=45]="H5",xk[xk.H6=46]="H6", -xk[xk.HEAD=47]="HEAD", -xk[xk.HEADER=48]="HEADER",xk[xk.HGROUP=49]="HGROUP",xk[xk.HR=50]="HR", -xk[xk.HTML=51]="HTML", -xk[xk.I=52]="I",xk[xk.IMG=53]="IMG",xk[xk.IMAGE=54]="IMAGE", -xk[xk.INPUT=55]="INPUT", -xk[xk.IFRAME=56]="IFRAME",xk[xk.KEYGEN=57]="KEYGEN",xk[xk.LABEL=58]="LABEL", -xk[xk.LI=59]="LI", -xk[xk.LINK=60]="LINK",xk[xk.LISTING=61]="LISTING",xk[xk.MAIN=62]="MAIN", -xk[xk.MALIGNMARK=63]="MALIGNMARK", -xk[xk.MARQUEE=64]="MARQUEE",xk[xk.MATH=65]="MATH", -xk[xk.MENU=66]="MENU",xk[xk.META=67]="META", -xk[xk.MGLYPH=68]="MGLYPH",xk[xk.MI=69]="MI",xk[xk.MO=70]="MO",xk[xk.MN=71]="MN", -xk[xk.MS=72]="MS", -xk[xk.MTEXT=73]="MTEXT",xk[xk.NAV=74]="NAV",xk[xk.NOBR=75]="NOBR", -xk[xk.NOFRAMES=76]="NOFRAMES", -xk[xk.NOEMBED=77]="NOEMBED",xk[xk.NOSCRIPT=78]="NOSCRIPT", -xk[xk.OBJECT=79]="OBJECT", -xk[xk.OL=80]="OL",xk[xk.OPTGROUP=81]="OPTGROUP",xk[xk.OPTION=82]="OPTION", -xk[xk.P=83]="P", -xk[xk.PARAM=84]="PARAM",xk[xk.PLAINTEXT=85]="PLAINTEXT",xk[xk.PRE=86]="PRE", -xk[xk.RB=87]="RB", -xk[xk.RP=88]="RP",xk[xk.RT=89]="RT",xk[xk.RTC=90]="RTC",xk[xk.RUBY=91]="RUBY", -xk[xk.S=92]="S", -xk[xk.SCRIPT=93]="SCRIPT",xk[xk.SECTION=94]="SECTION",xk[xk.SELECT=95]="SELECT", -xk[xk.SOURCE=96]="SOURCE", -xk[xk.SMALL=97]="SMALL",xk[xk.SPAN=98]="SPAN",xk[xk.STRIKE=99]="STRIKE", -xk[xk.STRONG=100]="STRONG", -xk[xk.STYLE=101]="STYLE",xk[xk.SUB=102]="SUB",xk[xk.SUMMARY=103]="SUMMARY", -xk[xk.SUP=104]="SUP", -xk[xk.TABLE=105]="TABLE",xk[xk.TBODY=106]="TBODY",xk[xk.TEMPLATE=107]="TEMPLATE", -xk[xk.TEXTAREA=108]="TEXTAREA", -xk[xk.TFOOT=109]="TFOOT",xk[xk.TD=110]="TD",xk[xk.TH=111]="TH", -xk[xk.THEAD=112]="THEAD", -xk[xk.TITLE=113]="TITLE",xk[xk.TR=114]="TR",xk[xk.TRACK=115]="TRACK", -xk[xk.TT=116]="TT", -xk[xk.U=117]="U",xk[xk.UL=118]="UL",xk[xk.SVG=119]="SVG",xk[xk.VAR=120]="VAR", -xk[xk.WBR=121]="WBR",xk[xk.XMP=122]="XMP" -;const Ak=new Map([[Ok.A,kk.A],[Ok.ADDRESS,kk.ADDRESS],[Ok.ANNOTATION_XML,kk.ANNOTATION_XML],[Ok.APPLET,kk.APPLET],[Ok.AREA,kk.AREA],[Ok.ARTICLE,kk.ARTICLE],[Ok.ASIDE,kk.ASIDE],[Ok.B,kk.B],[Ok.BASE,kk.BASE],[Ok.BASEFONT,kk.BASEFONT],[Ok.BGSOUND,kk.BGSOUND],[Ok.BIG,kk.BIG],[Ok.BLOCKQUOTE,kk.BLOCKQUOTE],[Ok.BODY,kk.BODY],[Ok.BR,kk.BR],[Ok.BUTTON,kk.BUTTON],[Ok.CAPTION,kk.CAPTION],[Ok.CENTER,kk.CENTER],[Ok.CODE,kk.CODE],[Ok.COL,kk.COL],[Ok.COLGROUP,kk.COLGROUP],[Ok.DD,kk.DD],[Ok.DESC,kk.DESC],[Ok.DETAILS,kk.DETAILS],[Ok.DIALOG,kk.DIALOG],[Ok.DIR,kk.DIR],[Ok.DIV,kk.DIV],[Ok.DL,kk.DL],[Ok.DT,kk.DT],[Ok.EM,kk.EM],[Ok.EMBED,kk.EMBED],[Ok.FIELDSET,kk.FIELDSET],[Ok.FIGCAPTION,kk.FIGCAPTION],[Ok.FIGURE,kk.FIGURE],[Ok.FONT,kk.FONT],[Ok.FOOTER,kk.FOOTER],[Ok.FOREIGN_OBJECT,kk.FOREIGN_OBJECT],[Ok.FORM,kk.FORM],[Ok.FRAME,kk.FRAME],[Ok.FRAMESET,kk.FRAMESET],[Ok.H1,kk.H1],[Ok.H2,kk.H2],[Ok.H3,kk.H3],[Ok.H4,kk.H4],[Ok.H5,kk.H5],[Ok.H6,kk.H6],[Ok.HEAD,kk.HEAD],[Ok.HEADER,kk.HEADER],[Ok.HGROUP,kk.HGROUP],[Ok.HR,kk.HR],[Ok.HTML,kk.HTML],[Ok.I,kk.I],[Ok.IMG,kk.IMG],[Ok.IMAGE,kk.IMAGE],[Ok.INPUT,kk.INPUT],[Ok.IFRAME,kk.IFRAME],[Ok.KEYGEN,kk.KEYGEN],[Ok.LABEL,kk.LABEL],[Ok.LI,kk.LI],[Ok.LINK,kk.LINK],[Ok.LISTING,kk.LISTING],[Ok.MAIN,kk.MAIN],[Ok.MALIGNMARK,kk.MALIGNMARK],[Ok.MARQUEE,kk.MARQUEE],[Ok.MATH,kk.MATH],[Ok.MENU,kk.MENU],[Ok.META,kk.META],[Ok.MGLYPH,kk.MGLYPH],[Ok.MI,kk.MI],[Ok.MO,kk.MO],[Ok.MN,kk.MN],[Ok.MS,kk.MS],[Ok.MTEXT,kk.MTEXT],[Ok.NAV,kk.NAV],[Ok.NOBR,kk.NOBR],[Ok.NOFRAMES,kk.NOFRAMES],[Ok.NOEMBED,kk.NOEMBED],[Ok.NOSCRIPT,kk.NOSCRIPT],[Ok.OBJECT,kk.OBJECT],[Ok.OL,kk.OL],[Ok.OPTGROUP,kk.OPTGROUP],[Ok.OPTION,kk.OPTION],[Ok.P,kk.P],[Ok.PARAM,kk.PARAM],[Ok.PLAINTEXT,kk.PLAINTEXT],[Ok.PRE,kk.PRE],[Ok.RB,kk.RB],[Ok.RP,kk.RP],[Ok.RT,kk.RT],[Ok.RTC,kk.RTC],[Ok.RUBY,kk.RUBY],[Ok.S,kk.S],[Ok.SCRIPT,kk.SCRIPT],[Ok.SECTION,kk.SECTION],[Ok.SELECT,kk.SELECT],[Ok.SOURCE,kk.SOURCE],[Ok.SMALL,kk.SMALL],[Ok.SPAN,kk.SPAN],[Ok.STRIKE,kk.STRIKE],[Ok.STRONG,kk.STRONG],[Ok.STYLE,kk.STYLE],[Ok.SUB,kk.SUB],[Ok.SUMMARY,kk.SUMMARY],[Ok.SUP,kk.SUP],[Ok.TABLE,kk.TABLE],[Ok.TBODY,kk.TBODY],[Ok.TEMPLATE,kk.TEMPLATE],[Ok.TEXTAREA,kk.TEXTAREA],[Ok.TFOOT,kk.TFOOT],[Ok.TD,kk.TD],[Ok.TH,kk.TH],[Ok.THEAD,kk.THEAD],[Ok.TITLE,kk.TITLE],[Ok.TR,kk.TR],[Ok.TRACK,kk.TRACK],[Ok.TT,kk.TT],[Ok.U,kk.U],[Ok.UL,kk.UL],[Ok.SVG,kk.SVG],[Ok.VAR,kk.VAR],[Ok.WBR,kk.WBR],[Ok.XMP,kk.XMP]]) -;function Pk(e){var t;return null!==(t=Ak.get(e))&&void 0!==t?t:kk.UNKNOWN} -const $k=kk,Dk={ -[fk.HTML]:new Set([$k.ADDRESS,$k.APPLET,$k.AREA,$k.ARTICLE,$k.ASIDE,$k.BASE,$k.BASEFONT,$k.BGSOUND,$k.BLOCKQUOTE,$k.BODY,$k.BR,$k.BUTTON,$k.CAPTION,$k.CENTER,$k.COL,$k.COLGROUP,$k.DD,$k.DETAILS,$k.DIR,$k.DIV,$k.DL,$k.DT,$k.EMBED,$k.FIELDSET,$k.FIGCAPTION,$k.FIGURE,$k.FOOTER,$k.FORM,$k.FRAME,$k.FRAMESET,$k.H1,$k.H2,$k.H3,$k.H4,$k.H5,$k.H6,$k.HEAD,$k.HEADER,$k.HGROUP,$k.HR,$k.HTML,$k.IFRAME,$k.IMG,$k.INPUT,$k.LI,$k.LINK,$k.LISTING,$k.MAIN,$k.MARQUEE,$k.MENU,$k.META,$k.NAV,$k.NOEMBED,$k.NOFRAMES,$k.NOSCRIPT,$k.OBJECT,$k.OL,$k.P,$k.PARAM,$k.PLAINTEXT,$k.PRE,$k.SCRIPT,$k.SECTION,$k.SELECT,$k.SOURCE,$k.STYLE,$k.SUMMARY,$k.TABLE,$k.TBODY,$k.TD,$k.TEMPLATE,$k.TEXTAREA,$k.TFOOT,$k.TH,$k.THEAD,$k.TITLE,$k.TR,$k.TRACK,$k.UL,$k.WBR,$k.XMP]), -[fk.MATHML]:new Set([$k.MI,$k.MO,$k.MN,$k.MS,$k.MTEXT,$k.ANNOTATION_XML]), -[fk.SVG]:new Set([$k.TITLE,$k.FOREIGN_OBJECT,$k.DESC]),[fk.XLINK]:new Set, -[fk.XML]:new Set,[fk.XMLNS]:new Set};function Rk(e){ -return e===$k.H1||e===$k.H2||e===$k.H3||e===$k.H4||e===$k.H5||e===$k.H6} -Ok.STYLE,Ok.SCRIPT,Ok.XMP,Ok.IFRAME,Ok.NOEMBED,Ok.NOFRAMES,Ok.PLAINTEXT -;const Nk=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 Mk,Ik -;(Ik=Mk||(Mk={}))[Ik.DATA=0]="DATA",Ik[Ik.RCDATA=1]="RCDATA",Ik[Ik.RAWTEXT=2]="RAWTEXT", -Ik[Ik.SCRIPT_DATA=3]="SCRIPT_DATA", -Ik[Ik.PLAINTEXT=4]="PLAINTEXT",Ik[Ik.TAG_OPEN=5]="TAG_OPEN", -Ik[Ik.END_TAG_OPEN=6]="END_TAG_OPEN", -Ik[Ik.TAG_NAME=7]="TAG_NAME",Ik[Ik.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN", -Ik[Ik.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN", -Ik[Ik.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME", -Ik[Ik.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN", -Ik[Ik.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN", -Ik[Ik.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME", -Ik[Ik.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN", -Ik[Ik.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN", -Ik[Ik.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME", -Ik[Ik.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START", -Ik[Ik.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH", -Ik[Ik.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED", -Ik[Ik.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH", -Ik[Ik.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH", -Ik[Ik.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN", -Ik[Ik.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN", -Ik[Ik.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME", -Ik[Ik.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START", -Ik[Ik.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED", -Ik[Ik.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH", -Ik[Ik.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH", -Ik[Ik.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN", -Ik[Ik.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END", -Ik[Ik.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME", -Ik[Ik.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME", -Ik[Ik.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME", -Ik[Ik.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE", -Ik[Ik.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED", -Ik[Ik.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED", -Ik[Ik.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED", -Ik[Ik.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED", -Ik[Ik.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG", -Ik[Ik.BOGUS_COMMENT=40]="BOGUS_COMMENT", -Ik[Ik.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN", -Ik[Ik.COMMENT_START=42]="COMMENT_START", -Ik[Ik.COMMENT_START_DASH=43]="COMMENT_START_DASH", -Ik[Ik.COMMENT=44]="COMMENT",Ik[Ik.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN", -Ik[Ik.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG", -Ik[Ik.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH", -Ik[Ik.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH", -Ik[Ik.COMMENT_END_DASH=49]="COMMENT_END_DASH", -Ik[Ik.COMMENT_END=50]="COMMENT_END", -Ik[Ik.COMMENT_END_BANG=51]="COMMENT_END_BANG", -Ik[Ik.DOCTYPE=52]="DOCTYPE",Ik[Ik.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME", -Ik[Ik.DOCTYPE_NAME=54]="DOCTYPE_NAME", -Ik[Ik.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME", -Ik[Ik.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD", -Ik[Ik.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER", -Ik[Ik.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED", -Ik[Ik.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED", -Ik[Ik.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER", -Ik[Ik.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS", -Ik[Ik.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD", -Ik[Ik.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER", -Ik[Ik.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED", -Ik[Ik.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED", -Ik[Ik.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER", -Ik[Ik.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Ik[Ik.CDATA_SECTION=68]="CDATA_SECTION", -Ik[Ik.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET", -Ik[Ik.CDATA_SECTION_END=70]="CDATA_SECTION_END", -Ik[Ik.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE", -Ik[Ik.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE", -Ik[Ik.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND", -Ik[Ik.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE", -Ik[Ik.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START", -Ik[Ik.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE", -Ik[Ik.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE", -Ik[Ik.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END" -;const Lk={DATA:Mk.DATA,RCDATA:Mk.RCDATA,RAWTEXT:Mk.RAWTEXT, -SCRIPT_DATA:Mk.SCRIPT_DATA,PLAINTEXT:Mk.PLAINTEXT,CDATA_SECTION:Mk.CDATA_SECTION -};function jk(e){return e>=jw.DIGIT_0&&e<=jw.DIGIT_9}function Uk(e){ -return e>=jw.LATIN_CAPITAL_A&&e<=jw.LATIN_CAPITAL_Z}function Bk(e){ -return function(e){return e>=jw.LATIN_SMALL_A&&e<=jw.LATIN_SMALL_Z}(e)||Uk(e)} -function Qk(e){return Bk(e)||jk(e)}function Fk(e){ -return e>=jw.LATIN_CAPITAL_A&&e<=jw.LATIN_CAPITAL_F}function qk(e){ -return e>=jw.LATIN_SMALL_A&&e<=jw.LATIN_SMALL_F}function zk(e){return e+32} -function Hk(e){ -return e===jw.SPACE||e===jw.LINE_FEED||e===jw.TABULATION||e===jw.FORM_FEED} -function Vk(e){return Hk(e)||e===jw.SOLIDUS||e===jw.GREATER_THAN_SIGN}class Zk{ -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=Mk.DATA,this.returnState=Mk.DATA, -this.charRefCode=-1,this.consumedAfterSnapshot=-1, -this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={ -name:"",value:"" -},this.preprocessor=new Yw(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;t0&&this._err(Xw.endTagWithAttributes), -e.selfClosing&&this._err(Xw.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 Kw.CHARACTER: -this.handler.onCharacter(this.currentCharacterToken);break -;case Kw.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken) -;break;case Kw.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:Kw.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=Hk(e)?Kw.WHITESPACE_CHARACTER:e===jw.NULL?Kw.NULL_CHARACTER:Kw.CHARACTER -;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))} -_emitChars(e){this._appendCharToCurrentCharacterToken(Kw.CHARACTER,e)} -_matchNamedCharacterReference(e){let t=null,n=0,r=!1 -;for(let a=0,i=tk[0];a>=0&&(a=Ck(tk,i,a+1,e),!(a<0));e=this._consume()){ -n+=1,i=tk[a];const s=i&lk.VALUE_LENGTH;if(s){const i=(s>>14)-1 -;if(e!==jw.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((o=this.preprocessor.peek(1))===jw.EQUALS_SIGN||Qk(o))?(t=[jw.AMPERSAND], -a+=i):(t=0===i?[tk[a]&~lk.VALUE_LENGTH]:1===i?[tk[++a]]:[tk[++a],tk[++a]], -n=0,r=e!==jw.SEMICOLON),0===i){this._consume();break}}}var o -;return this._unconsume(n), -r&&!this.preprocessor.endOfChunkHit&&this._err(Xw.missingSemicolonAfterCharacterReference), -this._unconsume(1),t}_isCharacterReferenceInAttribute(){ -return this.returnState===Mk.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Mk.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Mk.ATTRIBUTE_VALUE_UNQUOTED -}_flushCodePointConsumedAsCharacterReference(e){ -this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e) -}_callState(e){switch(this.state){case Mk.DATA:this._stateData(e);break -;case Mk.RCDATA:this._stateRcdata(e);break;case Mk.RAWTEXT:this._stateRawtext(e) -;break;case Mk.SCRIPT_DATA:this._stateScriptData(e);break;case Mk.PLAINTEXT: -this._statePlaintext(e);break;case Mk.TAG_OPEN:this._stateTagOpen(e);break -;case Mk.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Mk.TAG_NAME: -this._stateTagName(e);break;case Mk.RCDATA_LESS_THAN_SIGN: -this._stateRcdataLessThanSign(e);break;case Mk.RCDATA_END_TAG_OPEN: -this._stateRcdataEndTagOpen(e);break;case Mk.RCDATA_END_TAG_NAME: -this._stateRcdataEndTagName(e);break;case Mk.RAWTEXT_LESS_THAN_SIGN: -this._stateRawtextLessThanSign(e);break;case Mk.RAWTEXT_END_TAG_OPEN: -this._stateRawtextEndTagOpen(e);break;case Mk.RAWTEXT_END_TAG_NAME: -this._stateRawtextEndTagName(e);break;case Mk.SCRIPT_DATA_LESS_THAN_SIGN: -this._stateScriptDataLessThanSign(e);break;case Mk.SCRIPT_DATA_END_TAG_OPEN: -this._stateScriptDataEndTagOpen(e);break;case Mk.SCRIPT_DATA_END_TAG_NAME: -this._stateScriptDataEndTagName(e);break;case Mk.SCRIPT_DATA_ESCAPE_START: -this._stateScriptDataEscapeStart(e);break;case Mk.SCRIPT_DATA_ESCAPE_START_DASH: -this._stateScriptDataEscapeStartDash(e);break;case Mk.SCRIPT_DATA_ESCAPED: -this._stateScriptDataEscaped(e);break;case Mk.SCRIPT_DATA_ESCAPED_DASH: -this._stateScriptDataEscapedDash(e);break;case Mk.SCRIPT_DATA_ESCAPED_DASH_DASH: -this._stateScriptDataEscapedDashDash(e);break -;case Mk.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN: -this._stateScriptDataEscapedLessThanSign(e);break -;case Mk.SCRIPT_DATA_ESCAPED_END_TAG_OPEN: -this._stateScriptDataEscapedEndTagOpen(e);break -;case Mk.SCRIPT_DATA_ESCAPED_END_TAG_NAME: -this._stateScriptDataEscapedEndTagName(e);break -;case Mk.SCRIPT_DATA_DOUBLE_ESCAPE_START: -this._stateScriptDataDoubleEscapeStart(e);break -;case Mk.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break -;case Mk.SCRIPT_DATA_DOUBLE_ESCAPED_DASH: -this._stateScriptDataDoubleEscapedDash(e);break -;case Mk.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH: -this._stateScriptDataDoubleEscapedDashDash(e);break -;case Mk.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN: -this._stateScriptDataDoubleEscapedLessThanSign(e);break -;case Mk.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e) -;break;case Mk.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break -;case Mk.ATTRIBUTE_NAME:this._stateAttributeName(e);break -;case Mk.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break -;case Mk.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break -;case Mk.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e) -;break;case Mk.ATTRIBUTE_VALUE_SINGLE_QUOTED: -this._stateAttributeValueSingleQuoted(e);break;case Mk.ATTRIBUTE_VALUE_UNQUOTED: -this._stateAttributeValueUnquoted(e);break;case Mk.AFTER_ATTRIBUTE_VALUE_QUOTED: -this._stateAfterAttributeValueQuoted(e);break;case Mk.SELF_CLOSING_START_TAG: -this._stateSelfClosingStartTag(e);break;case Mk.BOGUS_COMMENT: -this._stateBogusComment(e);break;case Mk.MARKUP_DECLARATION_OPEN: -this._stateMarkupDeclarationOpen(e);break;case Mk.COMMENT_START: -this._stateCommentStart(e);break;case Mk.COMMENT_START_DASH: -this._stateCommentStartDash(e);break;case Mk.COMMENT:this._stateComment(e);break -;case Mk.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break -;case Mk.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break -;case Mk.COMMENT_LESS_THAN_SIGN_BANG_DASH: -this._stateCommentLessThanSignBangDash(e);break -;case Mk.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH: -this._stateCommentLessThanSignBangDashDash(e);break;case Mk.COMMENT_END_DASH: -this._stateCommentEndDash(e);break;case Mk.COMMENT_END:this._stateCommentEnd(e) -;break;case Mk.COMMENT_END_BANG:this._stateCommentEndBang(e);break -;case Mk.DOCTYPE:this._stateDoctype(e);break;case Mk.BEFORE_DOCTYPE_NAME: -this._stateBeforeDoctypeName(e);break;case Mk.DOCTYPE_NAME: -this._stateDoctypeName(e);break;case Mk.AFTER_DOCTYPE_NAME: -this._stateAfterDoctypeName(e);break;case Mk.AFTER_DOCTYPE_PUBLIC_KEYWORD: -this._stateAfterDoctypePublicKeyword(e);break -;case Mk.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER: -this._stateBeforeDoctypePublicIdentifier(e);break -;case Mk.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED: -this._stateDoctypePublicIdentifierDoubleQuoted(e);break -;case Mk.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED: -this._stateDoctypePublicIdentifierSingleQuoted(e);break -;case Mk.AFTER_DOCTYPE_PUBLIC_IDENTIFIER: -this._stateAfterDoctypePublicIdentifier(e);break -;case Mk.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS: -this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break -;case Mk.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e) -;break;case Mk.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER: -this._stateBeforeDoctypeSystemIdentifier(e);break -;case Mk.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED: -this._stateDoctypeSystemIdentifierDoubleQuoted(e);break -;case Mk.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED: -this._stateDoctypeSystemIdentifierSingleQuoted(e);break -;case Mk.AFTER_DOCTYPE_SYSTEM_IDENTIFIER: -this._stateAfterDoctypeSystemIdentifier(e);break;case Mk.BOGUS_DOCTYPE: -this._stateBogusDoctype(e);break;case Mk.CDATA_SECTION: -this._stateCdataSection(e);break;case Mk.CDATA_SECTION_BRACKET: -this._stateCdataSectionBracket(e);break;case Mk.CDATA_SECTION_END: -this._stateCdataSectionEnd(e);break;case Mk.CHARACTER_REFERENCE: -this._stateCharacterReference(e);break;case Mk.NAMED_CHARACTER_REFERENCE: -this._stateNamedCharacterReference(e);break;case Mk.AMBIGUOUS_AMPERSAND: -this._stateAmbiguousAmpersand(e);break;case Mk.NUMERIC_CHARACTER_REFERENCE: -this._stateNumericCharacterReference(e);break -;case Mk.HEXADEMICAL_CHARACTER_REFERENCE_START: -this._stateHexademicalCharacterReferenceStart(e);break -;case Mk.HEXADEMICAL_CHARACTER_REFERENCE: -this._stateHexademicalCharacterReference(e);break -;case Mk.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e) -;break;case Mk.NUMERIC_CHARACTER_REFERENCE_END: -this._stateNumericCharacterReferenceEnd(e);break;default: -throw new Error("Unknown state")}}_stateData(e){switch(e){ -case jw.LESS_THAN_SIGN:this.state=Mk.TAG_OPEN;break;case jw.AMPERSAND: -this.returnState=Mk.DATA,this.state=Mk.CHARACTER_REFERENCE;break;case jw.NULL: -this._err(Xw.unexpectedNullCharacter),this._emitCodePoint(e);break;case jw.EOF: -this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){ -switch(e){case jw.AMPERSAND: -this.returnState=Mk.RCDATA,this.state=Mk.CHARACTER_REFERENCE;break -;case jw.LESS_THAN_SIGN:this.state=Mk.RCDATA_LESS_THAN_SIGN;break;case jw.NULL: -this._err(Xw.unexpectedNullCharacter),this._emitChars(Lw);break;case jw.EOF: -this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){ -switch(e){case jw.LESS_THAN_SIGN:this.state=Mk.RAWTEXT_LESS_THAN_SIGN;break -;case jw.NULL:this._err(Xw.unexpectedNullCharacter),this._emitChars(Lw);break -;case jw.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}} -_stateScriptData(e){switch(e){case jw.LESS_THAN_SIGN: -this.state=Mk.SCRIPT_DATA_LESS_THAN_SIGN;break;case jw.NULL: -this._err(Xw.unexpectedNullCharacter),this._emitChars(Lw);break;case jw.EOF: -this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){ -switch(e){case jw.NULL:this._err(Xw.unexpectedNullCharacter),this._emitChars(Lw) -;break;case jw.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}} -_stateTagOpen(e){ -if(Bk(e))this._createStartTagToken(),this.state=Mk.TAG_NAME,this._stateTagName(e);else switch(e){ -case jw.EXCLAMATION_MARK:this.state=Mk.MARKUP_DECLARATION_OPEN;break -;case jw.SOLIDUS:this.state=Mk.END_TAG_OPEN;break;case jw.QUESTION_MARK: -this._err(Xw.unexpectedQuestionMarkInsteadOfTagName), -this._createCommentToken(1), -this.state=Mk.BOGUS_COMMENT,this._stateBogusComment(e);break;case jw.EOF: -this._err(Xw.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break -;default: -this._err(Xw.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Mk.DATA, -this._stateData(e)}}_stateEndTagOpen(e){ -if(Bk(e))this._createEndTagToken(),this.state=Mk.TAG_NAME, -this._stateTagName(e);else switch(e){case jw.GREATER_THAN_SIGN: -this._err(Xw.missingEndTagName),this.state=Mk.DATA;break;case jw.EOF: -this._err(Xw.eofBeforeTagName),this._emitChars("");break -;case jw.NULL: -this._err(Xw.unexpectedNullCharacter),this.state=Mk.SCRIPT_DATA_ESCAPED, -this._emitChars(Lw);break;case jw.EOF: -this._err(Xw.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default: -this.state=Mk.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}} -_stateScriptDataEscapedLessThanSign(e){ -e===jw.SOLIDUS?this.state=Mk.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Bk(e)?(this._emitChars("<"), -this.state=Mk.SCRIPT_DATA_DOUBLE_ESCAPE_START, -this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"), -this.state=Mk.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))} -_stateScriptDataEscapedEndTagOpen(e){ -Bk(e)?(this.state=Mk.SCRIPT_DATA_ESCAPED_END_TAG_NAME, -this._stateScriptDataEscapedEndTagName(e)):(this._emitChars("") -;break;case jw.NULL: -this._err(Xw.unexpectedNullCharacter),this.state=Mk.SCRIPT_DATA_DOUBLE_ESCAPED, -this._emitChars(Lw);break;case jw.EOF: -this._err(Xw.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default: -this.state=Mk.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}} -_stateScriptDataDoubleEscapedLessThanSign(e){ -e===jw.SOLIDUS?(this.state=Mk.SCRIPT_DATA_DOUBLE_ESCAPE_END, -this._emitChars("/")):(this.state=Mk.SCRIPT_DATA_DOUBLE_ESCAPED, -this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){ -if(this.preprocessor.startsWith(qw,!1)&&Vk(this.preprocessor.peek(qw.length))){ -this._emitCodePoint(e) -;for(let e=0;e1114111)this._err(Xw.characterReferenceOutsideUnicodeRange), -this.charRefCode=jw.REPLACEMENT_CHARACTER;else if(Vw(this.charRefCode))this._err(Xw.surrogateCharacterReference), -this.charRefCode=jw.REPLACEMENT_CHARACTER;else if(Ww(this.charRefCode))this._err(Xw.noncharacterCharacterReference);else if(Zw(this.charRefCode)||this.charRefCode===jw.CARRIAGE_RETURN){ -this._err(Xw.controlCharacterReference);const e=Nk.get(this.charRefCode) -;void 0!==e&&(this.charRefCode=e)} -this._flushCodePointConsumedAsCharacterReference(this.charRefCode), -this._reconsumeInState(this.returnState,e)}} -const Wk=new Set([kk.DD,kk.DT,kk.LI,kk.OPTGROUP,kk.OPTION,kk.P,kk.RB,kk.RP,kk.RT,kk.RTC]),Xk=new Set([...Wk,kk.CAPTION,kk.COLGROUP,kk.TBODY,kk.TD,kk.TFOOT,kk.TH,kk.THEAD,kk.TR]),Gk=new Map([[kk.APPLET,fk.HTML],[kk.CAPTION,fk.HTML],[kk.HTML,fk.HTML],[kk.MARQUEE,fk.HTML],[kk.OBJECT,fk.HTML],[kk.TABLE,fk.HTML],[kk.TD,fk.HTML],[kk.TEMPLATE,fk.HTML],[kk.TH,fk.HTML],[kk.ANNOTATION_XML,fk.MATHML],[kk.MI,fk.MATHML],[kk.MN,fk.MATHML],[kk.MO,fk.MATHML],[kk.MS,fk.MATHML],[kk.MTEXT,fk.MATHML],[kk.DESC,fk.SVG],[kk.FOREIGN_OBJECT,fk.SVG],[kk.TITLE,fk.SVG]]),Yk=[kk.H1,kk.H2,kk.H3,kk.H4,kk.H5,kk.H6],Kk=[kk.TR,kk.TEMPLATE,kk.HTML],Jk=[kk.TBODY,kk.TFOOT,kk.THEAD,kk.TEMPLATE,kk.HTML],ex=[kk.TABLE,kk.TEMPLATE,kk.HTML],tx=[kk.TD,kk.TH] -;class nx{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=kk.UNKNOWN,this.current=e}_indexOf(e){ -return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){ -return this.currentTagId===kk.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===fk.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])!==fk.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=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(ex,fk.HTML)}clearBackToTableBodyContext(){ -this.clearBackTo(Jk,fk.HTML)}clearBackToTableRowContext(){ -this.clearBackTo(Kk,fk.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]===kk.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]===kk.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===fk.HTML)return!0;if(Gk.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(Rk(t)&&n===fk.HTML)return!0;if(Gk.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===fk.HTML)return!0 -;if((n===kk.UL||n===kk.OL)&&r===fk.HTML||Gk.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===fk.HTML)return!0 -;if(n===kk.BUTTON&&r===fk.HTML||Gk.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])===fk.HTML){if(n===e)return!0 -;if(n===kk.TABLE||n===kk.TEMPLATE||n===kk.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])===fk.HTML){ -if(t===kk.TBODY||t===kk.THEAD||t===kk.TFOOT)return!0 -;if(t===kk.TABLE||t===kk.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])===fk.HTML){if(n===e)return!0 -;if(n!==kk.OPTION&&n!==kk.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){ -for(;Wk.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){ -for(;Xk.has(this.currentTagId);)this.pop()} -generateImpliedEndTagsWithExclusion(e){ -for(;this.currentTagId!==e&&Xk.has(this.currentTagId);)this.pop()}}var rx,ox -;(ox=rx=rx||(rx={}))[ox.Marker=0]="Marker",ox[ox.Element=1]="Element";const ax={ -type:rx.Marker};class ix{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[e.name,e.value])));let o=0 -;for(let a=0;ar.get(e.name)===e.value))&&(o+=1, -o>=3&&this.entries.splice(e.idx,1))}}insertMarker(){this.entries.unshift(ax)} -pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({ -type:rx.Element,element:e,token:t})}insertElementAfterBookmark(e,t){ -const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{ -type:rx.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(ax) -;e>=0?this.entries.splice(0,e+1):this.entries.length=0} -getElementEntryInScopeWithTagName(e){ -const t=this.entries.find((t=>t.type===rx.Marker||this.treeAdapter.getTagName(t.element)===e)) -;return t&&t.type===rx.Element?t:null}getElementEntry(e){ -return this.entries.find((t=>t.type===rx.Element&&t.element===e))}} -function sx(e){return{nodeName:"#text",value:e,parentNode:null}}const lx={ -createDocument:()=>({nodeName:"#document",mode:bk.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};lx.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(lx.isTextNode(n))return void(n.value+=t)}lx.appendChild(e,sx(t))}, -insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1] -;r&&lx.isTextNode(r)?r.value+=t:lx.insertBefore(e,sx(t),n)}, -adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name))) -;for(let r=0;re.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}} -},cx="html",ux="about:legacy-compat",dx="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",px=["+//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//"],hx=[...px,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],fx=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),mx=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],gx=[...mx,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"] -;function vx(e,t){return t.some((t=>e.startsWith(t)))}const bx={ -TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml" -},yx="definitionurl",Ox="definitionURL",wx=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]))),kx=new Map([["xlink:actuate",{ -prefix:"xlink",name:"actuate",namespace:fk.XLINK}],["xlink:arcrole",{ -prefix:"xlink",name:"arcrole",namespace:fk.XLINK}],["xlink:href",{ -prefix:"xlink",name:"href",namespace:fk.XLINK}],["xlink:role",{prefix:"xlink", -name:"role",namespace:fk.XLINK}],["xlink:show",{prefix:"xlink",name:"show", -namespace:fk.XLINK}],["xlink:title",{prefix:"xlink",name:"title", -namespace:fk.XLINK}],["xlink:type",{prefix:"xlink",name:"type", -namespace:fk.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:fk.XML -}],["xml:lang",{prefix:"xml",name:"lang",namespace:fk.XML}],["xml:space",{ -prefix:"xml",name:"space",namespace:fk.XML}],["xmlns",{prefix:"",name:"xmlns", -namespace:fk.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink", -namespace:fk.XMLNS -}]]),xx=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]))),Sx=new Set([kk.B,kk.BIG,kk.BLOCKQUOTE,kk.BODY,kk.BR,kk.CENTER,kk.CODE,kk.DD,kk.DIV,kk.DL,kk.DT,kk.EM,kk.EMBED,kk.H1,kk.H2,kk.H3,kk.H4,kk.H5,kk.H6,kk.HEAD,kk.HR,kk.I,kk.IMG,kk.LI,kk.LISTING,kk.MENU,kk.META,kk.NOBR,kk.OL,kk.P,kk.PRE,kk.RUBY,kk.S,kk.SMALL,kk.SPAN,kk.STRONG,kk.STRIKE,kk.SUB,kk.SUP,kk.TABLE,kk.TT,kk.U,kk.UL,kk.VAR]) -;function _x(e){for(let t=0;t0&&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)===fk.HTML -;this.currentNotInHTML=!n, -this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)} -_switchToTextParsing(e,t){this._insertElement(e,fk.HTML),this.tokenizer.state=t, -this.originalInsertionMode=this.insertionMode,this.insertionMode=Dx.TEXT} -switchToPlaintextParsing(){ -this.insertionMode=Dx.TEXT,this.originalInsertionMode=Dx.IN_BODY, -this.tokenizer.state=Lk.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)===Ok.FORM){this.formElement=e;break} -e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){ -if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===fk.HTML)switch(this.fragmentContextID){ -case kk.TITLE:case kk.TEXTAREA:this.tokenizer.state=Lk.RCDATA;break -;case kk.STYLE:case kk.XMP:case kk.IFRAME:case kk.NOEMBED:case kk.NOFRAMES: -case kk.NOSCRIPT:this.tokenizer.state=Lk.RAWTEXT;break;case kk.SCRIPT: -this.tokenizer.state=Lk.SCRIPT_DATA;break;case kk.PLAINTEXT: -this.tokenizer.state=Lk.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,fk.HTML,[]) -;this._attachElementToTree(n,null),this.openElements.push(n,t)} -_insertTemplate(e){ -const t=this.treeAdapter.createElement(e.tagName,fk.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(Ok.HTML,fk.HTML,[]) -;this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null), -this.treeAdapter.appendChild(this.openElements.current,e), -this.openElements.push(e,kk.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===Kw.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!==kk.SVG||this.treeAdapter.getTagName(t)!==Ok.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==fk.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===kk.MGLYPH||e.tagID===kk.MALIGNMARK)&&!this._isIntegrationPoint(n,t,fk.HTML)) -}_processToken(e){switch(e.type){case Kw.CHARACTER:this.onCharacter(e);break -;case Kw.NULL_CHARACTER:this.onNullCharacter(e);break;case Kw.COMMENT: -this.onComment(e);break;case Kw.DOCTYPE:this.onDoctype(e);break -;case Kw.START_TAG:this._processStartTag(e);break;case Kw.END_TAG: -this.onEndTag(e);break;case Kw.EOF:this.onEof(e);break -;case Kw.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}} -_isIntegrationPoint(e,t,n){ -return Cx(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===rx.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=Dx.IN_ROW} -_closePElement(){ -this.openElements.generateImpliedEndTagsWithExclusion(kk.P),this.openElements.popUntilTagNamePopped(kk.P) -}_resetInsertionMode(){ -for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){ -case kk.TR:return void(this.insertionMode=Dx.IN_ROW);case kk.TBODY: -case kk.THEAD:case kk.TFOOT:return void(this.insertionMode=Dx.IN_TABLE_BODY) -;case kk.CAPTION:return void(this.insertionMode=Dx.IN_CAPTION);case kk.COLGROUP: -return void(this.insertionMode=Dx.IN_COLUMN_GROUP);case kk.TABLE: -return void(this.insertionMode=Dx.IN_TABLE);case kk.BODY: -return void(this.insertionMode=Dx.IN_BODY);case kk.FRAMESET: -return void(this.insertionMode=Dx.IN_FRAMESET);case kk.SELECT: -return void this._resetInsertionModeForSelect(e);case kk.TEMPLATE: -return void(this.insertionMode=this.tmplInsertionModeStack[0]);case kk.HTML: -return void(this.insertionMode=this.headElement?Dx.AFTER_HEAD:Dx.BEFORE_HEAD) -;case kk.TD:case kk.TH:if(e>0)return void(this.insertionMode=Dx.IN_CELL);break -;case kk.HEAD:if(e>0)return void(this.insertionMode=Dx.IN_HEAD)} -this.insertionMode=Dx.IN_BODY}_resetInsertionModeForSelect(e){ -if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t] -;if(e===kk.TEMPLATE)break -;if(e===kk.TABLE)return void(this.insertionMode=Dx.IN_SELECT_IN_TABLE)} -this.insertionMode=Dx.IN_SELECT}_isElementCausesFosterParenting(e){ -return Mx.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 kk.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===fk.HTML)return{ -parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break -;case kk.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 Dk[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 Dx.INITIAL:Zx(this,e);break;case Dx.BEFORE_HTML:Wx(this,e);break -;case Dx.BEFORE_HEAD:Xx(this,e);break;case Dx.IN_HEAD:Kx(this,e);break -;case Dx.IN_HEAD_NO_SCRIPT:Jx(this,e);break;case Dx.AFTER_HEAD:eS(this,e);break -;case Dx.IN_BODY:case Dx.IN_CAPTION:case Dx.IN_CELL:case Dx.IN_TEMPLATE: -rS(this,e);break;case Dx.TEXT:case Dx.IN_SELECT:case Dx.IN_SELECT_IN_TABLE: -this._insertCharacters(e);break;case Dx.IN_TABLE:case Dx.IN_TABLE_BODY: -case Dx.IN_ROW:pS(this,e);break;case Dx.IN_TABLE_TEXT:vS(this,e);break -;case Dx.IN_COLUMN_GROUP:wS(this,e);break;case Dx.AFTER_BODY:PS(this,e);break -;case Dx.AFTER_AFTER_BODY:$S(this,e)}}onNullCharacter(e){ -if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){ -t.chars=Lw,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){ -case Dx.INITIAL:Zx(this,e);break;case Dx.BEFORE_HTML:Wx(this,e);break -;case Dx.BEFORE_HEAD:Xx(this,e);break;case Dx.IN_HEAD:Kx(this,e);break -;case Dx.IN_HEAD_NO_SCRIPT:Jx(this,e);break;case Dx.AFTER_HEAD:eS(this,e);break -;case Dx.TEXT:this._insertCharacters(e);break;case Dx.IN_TABLE: -case Dx.IN_TABLE_BODY:case Dx.IN_ROW:pS(this,e);break;case Dx.IN_COLUMN_GROUP: -wS(this,e);break;case Dx.AFTER_BODY:PS(this,e);break;case Dx.AFTER_AFTER_BODY: -$S(this,e)}}onComment(e){ -if(this.skipNextNewLine=!1,this.currentNotInHTML)Hx(this,e);else switch(this.insertionMode){ -case Dx.INITIAL:case Dx.BEFORE_HTML:case Dx.BEFORE_HEAD:case Dx.IN_HEAD: -case Dx.IN_HEAD_NO_SCRIPT:case Dx.AFTER_HEAD:case Dx.IN_BODY:case Dx.IN_TABLE: -case Dx.IN_CAPTION:case Dx.IN_COLUMN_GROUP:case Dx.IN_TABLE_BODY:case Dx.IN_ROW: -case Dx.IN_CELL:case Dx.IN_SELECT:case Dx.IN_SELECT_IN_TABLE: -case Dx.IN_TEMPLATE:case Dx.IN_FRAMESET:case Dx.AFTER_FRAMESET:Hx(this,e);break -;case Dx.IN_TABLE_TEXT:bS(this,e);break;case Dx.AFTER_BODY:!function(e,t){ -e._appendCommentNode(t,e.openElements.items[0])}(this,e);break -;case Dx.AFTER_AFTER_BODY:case Dx.AFTER_AFTER_FRAMESET:!function(e,t){ -e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){ -switch(this.skipNextNewLine=!1,this.insertionMode){case Dx.INITIAL: -!function(e,t){e._setDocumentType(t) -;const n=t.forceQuirks?bk.QUIRKS:function(e){if(e.name!==cx)return bk.QUIRKS -;const{systemId:t}=e;if(t&&t.toLowerCase()===dx)return bk.QUIRKS -;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),fx.has(n))return bk.QUIRKS -;let e=null===t?hx:px;if(vx(n,e))return bk.QUIRKS -;if(e=null===t?mx:gx,vx(n,e))return bk.LIMITED_QUIRKS}return bk.NO_QUIRKS}(t) -;(function(e){ -return e.name===cx&&null===e.publicId&&(null===e.systemId||e.systemId===ux) -})(t)||e._err(t,Xw.nonConformingDoctype) -;e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Dx.BEFORE_HTML -}(this,e);break;case Dx.BEFORE_HEAD:case Dx.IN_HEAD:case Dx.IN_HEAD_NO_SCRIPT: -case Dx.AFTER_HEAD:this._err(e,Xw.misplacedDoctype);break;case Dx.IN_TABLE_TEXT: -bS(this,e)}}onStartTag(e){ -this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e), -e.selfClosing&&!e.ackSelfClosing&&this._err(e,Xw.nonVoidHtmlElementStartTagWithTrailingSolidus) -}_processStartTag(e){ -this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){ -const t=e.tagID -;return t===kk.FONT&&e.attrs.some((({name:e})=>e===gk.COLOR||e===gk.SIZE||e===gk.FACE))||Sx.has(t) -}(t))DS(e),e._startTagOutsideForeignContent(t);else{ -const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n) -;r===fk.MATHML?_x(t):r===fk.SVG&&(!function(e){const t=xx.get(e.tagName) -;null!=t&&(e.tagName=t,e.tagID=Pk(e.tagName)) -}(t),Ex(t)),Tx(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 Dx.INITIAL: -Zx(this,e);break;case Dx.BEFORE_HTML:!function(e,t){ -t.tagID===kk.HTML?(e._insertElement(t,fk.HTML), -e.insertionMode=Dx.BEFORE_HEAD):Wx(e,t)}(this,e);break;case Dx.BEFORE_HEAD: -!function(e,t){switch(t.tagID){case kk.HTML:lS(e,t);break;case kk.HEAD: -e._insertElement(t,fk.HTML), -e.headElement=e.openElements.current,e.insertionMode=Dx.IN_HEAD;break;default: -Xx(e,t)}}(this,e);break;case Dx.IN_HEAD:Gx(this,e);break -;case Dx.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case kk.HTML:lS(e,t) -;break;case kk.BASEFONT:case kk.BGSOUND:case kk.HEAD:case kk.LINK:case kk.META: -case kk.NOFRAMES:case kk.STYLE:Gx(e,t);break;case kk.NOSCRIPT: -e._err(t,Xw.nestedNoscriptInHead);break;default:Jx(e,t)}}(this,e);break -;case Dx.AFTER_HEAD:!function(e,t){switch(t.tagID){case kk.HTML:lS(e,t);break -;case kk.BODY: -e._insertElement(t,fk.HTML),e.framesetOk=!1,e.insertionMode=Dx.IN_BODY;break -;case kk.FRAMESET:e._insertElement(t,fk.HTML),e.insertionMode=Dx.IN_FRAMESET -;break;case kk.BASE:case kk.BASEFONT:case kk.BGSOUND:case kk.LINK:case kk.META: -case kk.NOFRAMES:case kk.SCRIPT:case kk.STYLE:case kk.TEMPLATE:case kk.TITLE: -e._err(t,Xw.abandonedHeadElementChild), -e.openElements.push(e.headElement,kk.HEAD), -Gx(e,t),e.openElements.remove(e.headElement);break;case kk.HEAD: -e._err(t,Xw.misplacedStartTagForHeadElement);break;default:eS(e,t)}}(this,e) -;break;case Dx.IN_BODY:lS(this,e);break;case Dx.IN_TABLE:hS(this,e);break -;case Dx.IN_TABLE_TEXT:bS(this,e);break;case Dx.IN_CAPTION:!function(e,t){ -const n=t.tagID -;yS.has(n)?e.openElements.hasInTableScope(kk.CAPTION)&&(e.openElements.generateImpliedEndTags(), -e.openElements.popUntilTagNamePopped(kk.CAPTION), -e.activeFormattingElements.clearToLastMarker(), -e.insertionMode=Dx.IN_TABLE,hS(e,t)):lS(e,t)}(this,e);break -;case Dx.IN_COLUMN_GROUP:OS(this,e);break;case Dx.IN_TABLE_BODY:kS(this,e);break -;case Dx.IN_ROW:SS(this,e);break;case Dx.IN_CELL:!function(e,t){const n=t.tagID -;yS.has(n)?(e.openElements.hasInTableScope(kk.TD)||e.openElements.hasInTableScope(kk.TH))&&(e._closeTableCell(), -SS(e,t)):lS(e,t)}(this,e);break;case Dx.IN_SELECT:ES(this,e);break -;case Dx.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID -;n===kk.CAPTION||n===kk.TABLE||n===kk.TBODY||n===kk.TFOOT||n===kk.THEAD||n===kk.TR||n===kk.TD||n===kk.TH?(e.openElements.popUntilTagNamePopped(kk.SELECT), -e._resetInsertionMode(),e._processStartTag(t)):ES(e,t)}(this,e);break -;case Dx.IN_TEMPLATE:!function(e,t){switch(t.tagID){case kk.BASE: -case kk.BASEFONT:case kk.BGSOUND:case kk.LINK:case kk.META:case kk.NOFRAMES: -case kk.SCRIPT:case kk.STYLE:case kk.TEMPLATE:case kk.TITLE:Gx(e,t);break -;case kk.CAPTION:case kk.COLGROUP:case kk.TBODY:case kk.TFOOT:case kk.THEAD: -e.tmplInsertionModeStack[0]=Dx.IN_TABLE,e.insertionMode=Dx.IN_TABLE,hS(e,t) -;break;case kk.COL: -e.tmplInsertionModeStack[0]=Dx.IN_COLUMN_GROUP,e.insertionMode=Dx.IN_COLUMN_GROUP, -OS(e,t);break;case kk.TR: -e.tmplInsertionModeStack[0]=Dx.IN_TABLE_BODY,e.insertionMode=Dx.IN_TABLE_BODY, -kS(e,t);break;case kk.TD:case kk.TH: -e.tmplInsertionModeStack[0]=Dx.IN_ROW,e.insertionMode=Dx.IN_ROW,SS(e,t);break -;default: -e.tmplInsertionModeStack[0]=Dx.IN_BODY,e.insertionMode=Dx.IN_BODY,lS(e,t)} -}(this,e);break;case Dx.AFTER_BODY:!function(e,t){ -t.tagID===kk.HTML?lS(e,t):PS(e,t)}(this,e);break;case Dx.IN_FRAMESET: -!function(e,t){switch(t.tagID){case kk.HTML:lS(e,t);break;case kk.FRAMESET: -e._insertElement(t,fk.HTML);break;case kk.FRAME: -e._appendElement(t,fk.HTML),t.ackSelfClosing=!0;break;case kk.NOFRAMES:Gx(e,t)} -}(this,e);break;case Dx.AFTER_FRAMESET:!function(e,t){switch(t.tagID){ -case kk.HTML:lS(e,t);break;case kk.NOFRAMES:Gx(e,t)}}(this,e);break -;case Dx.AFTER_AFTER_BODY:!function(e,t){t.tagID===kk.HTML?lS(e,t):$S(e,t) -}(this,e);break;case Dx.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){ -case kk.HTML:lS(e,t);break;case kk.NOFRAMES:Gx(e,t)}}(this,e)}}onEndTag(e){ -this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){ -if(t.tagID===kk.P||t.tagID===kk.BR)return DS(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)===fk.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 Dx.INITIAL: -Zx(this,e);break;case Dx.BEFORE_HTML:!function(e,t){const n=t.tagID -;n!==kk.HTML&&n!==kk.HEAD&&n!==kk.BODY&&n!==kk.BR||Wx(e,t)}(this,e);break -;case Dx.BEFORE_HEAD:!function(e,t){const n=t.tagID -;n===kk.HEAD||n===kk.BODY||n===kk.HTML||n===kk.BR?Xx(e,t):e._err(t,Xw.endTagWithoutMatchingOpenElement) -}(this,e);break;case Dx.IN_HEAD:!function(e,t){switch(t.tagID){case kk.HEAD: -e.openElements.pop(),e.insertionMode=Dx.AFTER_HEAD;break;case kk.BODY: -case kk.BR:case kk.HTML:Kx(e,t);break;case kk.TEMPLATE:Yx(e,t);break;default: -e._err(t,Xw.endTagWithoutMatchingOpenElement)}}(this,e);break -;case Dx.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case kk.NOSCRIPT: -e.openElements.pop(),e.insertionMode=Dx.IN_HEAD;break;case kk.BR:Jx(e,t);break -;default:e._err(t,Xw.endTagWithoutMatchingOpenElement)}}(this,e);break -;case Dx.AFTER_HEAD:!function(e,t){switch(t.tagID){case kk.BODY:case kk.HTML: -case kk.BR:eS(e,t);break;case kk.TEMPLATE:Yx(e,t);break;default: -e._err(t,Xw.endTagWithoutMatchingOpenElement)}}(this,e);break;case Dx.IN_BODY: -uS(this,e);break;case Dx.TEXT:!function(e,t){var n -;t.tagID===kk.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 Dx.IN_TABLE:fS(this,e);break;case Dx.IN_TABLE_TEXT:bS(this,e);break -;case Dx.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case kk.CAPTION: -case kk.TABLE: -e.openElements.hasInTableScope(kk.CAPTION)&&(e.openElements.generateImpliedEndTags(), -e.openElements.popUntilTagNamePopped(kk.CAPTION), -e.activeFormattingElements.clearToLastMarker(), -e.insertionMode=Dx.IN_TABLE,n===kk.TABLE&&fS(e,t));break;case kk.BODY: -case kk.COL:case kk.COLGROUP:case kk.HTML:case kk.TBODY:case kk.TD: -case kk.TFOOT:case kk.TH:case kk.THEAD:case kk.TR:break;default:uS(e,t)} -}(this,e);break;case Dx.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){ -case kk.COLGROUP: -e.openElements.currentTagId===kk.COLGROUP&&(e.openElements.pop(), -e.insertionMode=Dx.IN_TABLE);break;case kk.TEMPLATE:Yx(e,t);break;case kk.COL: -break;default:wS(e,t)}}(this,e);break;case Dx.IN_TABLE_BODY:xS(this,e);break -;case Dx.IN_ROW:_S(this,e);break;case Dx.IN_CELL:!function(e,t){const n=t.tagID -;switch(n){case kk.TD:case kk.TH: -e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(), -e.openElements.popUntilTagNamePopped(n), -e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Dx.IN_ROW);break -;case kk.TABLE:case kk.TBODY:case kk.TFOOT:case kk.THEAD:case kk.TR: -e.openElements.hasInTableScope(n)&&(e._closeTableCell(),_S(e,t));break -;case kk.BODY:case kk.CAPTION:case kk.COL:case kk.COLGROUP:case kk.HTML:break -;default:uS(e,t)}}(this,e);break;case Dx.IN_SELECT:TS(this,e);break -;case Dx.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID -;n===kk.CAPTION||n===kk.TABLE||n===kk.TBODY||n===kk.TFOOT||n===kk.THEAD||n===kk.TR||n===kk.TD||n===kk.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(kk.SELECT), -e._resetInsertionMode(),e.onEndTag(t)):TS(e,t)}(this,e);break -;case Dx.IN_TEMPLATE:!function(e,t){t.tagID===kk.TEMPLATE&&Yx(e,t)}(this,e) -;break;case Dx.AFTER_BODY:AS(this,e);break;case Dx.IN_FRAMESET:!function(e,t){ -t.tagID!==kk.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(), -e.fragmentContext||e.openElements.currentTagId===kk.FRAMESET||(e.insertionMode=Dx.AFTER_FRAMESET)) -}(this,e);break;case Dx.AFTER_FRAMESET:!function(e,t){ -t.tagID===kk.HTML&&(e.insertionMode=Dx.AFTER_AFTER_FRAMESET)}(this,e);break -;case Dx.AFTER_AFTER_BODY:$S(this,e)}}onEof(e){switch(this.insertionMode){ -case Dx.INITIAL:Zx(this,e);break;case Dx.BEFORE_HTML:Wx(this,e);break -;case Dx.BEFORE_HEAD:Xx(this,e);break;case Dx.IN_HEAD:Kx(this,e);break -;case Dx.IN_HEAD_NO_SCRIPT:Jx(this,e);break;case Dx.AFTER_HEAD:eS(this,e);break -;case Dx.IN_BODY:case Dx.IN_TABLE:case Dx.IN_CAPTION:case Dx.IN_COLUMN_GROUP: -case Dx.IN_TABLE_BODY:case Dx.IN_ROW:case Dx.IN_CELL:case Dx.IN_SELECT: -case Dx.IN_SELECT_IN_TABLE:dS(this,e);break;case Dx.TEXT:!function(e,t){ -e._err(t,Xw.eofInElementThatCanContainOnlyText), -e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e) -;break;case Dx.IN_TABLE_TEXT:bS(this,e);break;case Dx.IN_TEMPLATE:CS(this,e) -;break;case Dx.AFTER_BODY:case Dx.IN_FRAMESET:case Dx.AFTER_FRAMESET: -case Dx.AFTER_AFTER_BODY:case Dx.AFTER_AFTER_FRAMESET:Vx(this,e)}} -onWhitespaceCharacter(e){ -if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===jw.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 Dx.IN_HEAD:case Dx.IN_HEAD_NO_SCRIPT:case Dx.AFTER_HEAD:case Dx.TEXT: -case Dx.IN_COLUMN_GROUP:case Dx.IN_SELECT:case Dx.IN_SELECT_IN_TABLE: -case Dx.IN_FRAMESET:case Dx.AFTER_FRAMESET:this._insertCharacters(e);break -;case Dx.IN_BODY:case Dx.IN_CAPTION:case Dx.IN_CELL:case Dx.IN_TEMPLATE: -case Dx.AFTER_BODY:case Dx.AFTER_AFTER_BODY:case Dx.AFTER_AFTER_FRAMESET: -nS(this,e);break;case Dx.IN_TABLE:case Dx.IN_TABLE_BODY:case Dx.IN_ROW: -pS(this,e);break;case Dx.IN_TABLE_TEXT:gS(this,e)}}};function jx(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):cS(e,t),n}function Ux(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 Bx(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>=$x -;!n||s?(s&&e.activeFormattingElements.removeEntry(n), -e.openElements.remove(i)):(i=Qx(e,n), -r===t&&(e.activeFormattingElements.bookmark=n), -e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r} -function Qx(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 Fx(e,t,n){ -const r=Pk(e.treeAdapter.getTagName(t)) -;if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{ -const o=e.treeAdapter.getNamespaceURI(t) -;r===kk.TEMPLATE&&o===fk.HTML&&(t=e.treeAdapter.getTemplateContent(t)), -e.treeAdapter.appendChild(t,n)}}function qx(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 zx(e,t){for(let n=0;n=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 Zx(e,t){ -e._err(t,Xw.missingDoctype,!0), -e.treeAdapter.setDocumentMode(e.document,bk.QUIRKS), -e.insertionMode=Dx.BEFORE_HTML,e._processToken(t)}function Wx(e,t){ -e._insertFakeRootElement(),e.insertionMode=Dx.BEFORE_HEAD,e._processToken(t)} -function Xx(e,t){ -e._insertFakeElement(Ok.HEAD,kk.HEAD),e.headElement=e.openElements.current, -e.insertionMode=Dx.IN_HEAD,e._processToken(t)}function Gx(e,t){switch(t.tagID){ -case kk.HTML:lS(e,t);break;case kk.BASE:case kk.BASEFONT:case kk.BGSOUND: -case kk.LINK:case kk.META:e._appendElement(t,fk.HTML),t.ackSelfClosing=!0;break -;case kk.TITLE:e._switchToTextParsing(t,Lk.RCDATA);break;case kk.NOSCRIPT: -e.options.scriptingEnabled?e._switchToTextParsing(t,Lk.RAWTEXT):(e._insertElement(t,fk.HTML), -e.insertionMode=Dx.IN_HEAD_NO_SCRIPT);break;case kk.NOFRAMES:case kk.STYLE: -e._switchToTextParsing(t,Lk.RAWTEXT);break;case kk.SCRIPT: -e._switchToTextParsing(t,Lk.SCRIPT_DATA);break;case kk.TEMPLATE: -e._insertTemplate(t), -e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Dx.IN_TEMPLATE, -e.tmplInsertionModeStack.unshift(Dx.IN_TEMPLATE);break;case kk.HEAD: -e._err(t,Xw.misplacedStartTagForHeadElement);break;default:Kx(e,t)}} -function Yx(e,t){ -e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(), -e.openElements.currentTagId!==kk.TEMPLATE&&e._err(t,Xw.closingOfElementWithOpenChildElements), -e.openElements.popUntilTagNamePopped(kk.TEMPLATE), -e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(), -e._resetInsertionMode()):e._err(t,Xw.endTagWithoutMatchingOpenElement)} -function Kx(e,t){ -e.openElements.pop(),e.insertionMode=Dx.AFTER_HEAD,e._processToken(t)} -function Jx(e,t){ -const n=t.type===Kw.EOF?Xw.openElementsLeftAfterEof:Xw.disallowedContentInNoscriptInHead -;e._err(t,n),e.openElements.pop(),e.insertionMode=Dx.IN_HEAD,e._processToken(t)} -function eS(e,t){ -e._insertFakeElement(Ok.BODY,kk.BODY),e.insertionMode=Dx.IN_BODY,tS(e,t)} -function tS(e,t){switch(t.type){case Kw.CHARACTER:rS(e,t);break -;case Kw.WHITESPACE_CHARACTER:nS(e,t);break;case Kw.COMMENT:Hx(e,t);break -;case Kw.START_TAG:lS(e,t);break;case Kw.END_TAG:uS(e,t);break;case Kw.EOF: -dS(e,t)}}function nS(e,t){ -e._reconstructActiveFormattingElements(),e._insertCharacters(t)} -function rS(e,t){ -e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1} -function oS(e,t){ -e._reconstructActiveFormattingElements(),e._appendElement(t,fk.HTML), -e.framesetOk=!1,t.ackSelfClosing=!0}function aS(e){const t=ek(e,gk.TYPE) -;return null!=t&&t.toLowerCase()===Ax}function iS(e,t){ -e._switchToTextParsing(t,Lk.RAWTEXT)}function sS(e,t){ -e._reconstructActiveFormattingElements(),e._insertElement(t,fk.HTML)} -function lS(e,t){switch(t.tagID){case kk.I:case kk.S:case kk.B:case kk.U: -case kk.EM:case kk.TT:case kk.BIG:case kk.CODE:case kk.FONT:case kk.SMALL: -case kk.STRIKE:case kk.STRONG:!function(e,t){ -e._reconstructActiveFormattingElements(), -e._insertElement(t,fk.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t) -}(e,t);break;case kk.A:!function(e,t){ -const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Ok.A) -;n&&(zx(e,t), -e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)), -e._reconstructActiveFormattingElements(), -e._insertElement(t,fk.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t) -}(e,t);break;case kk.H1:case kk.H2:case kk.H3:case kk.H4:case kk.H5:case kk.H6: -!function(e,t){ -e.openElements.hasInButtonScope(kk.P)&&e._closePElement(),Rk(e.openElements.currentTagId)&&e.openElements.pop(), -e._insertElement(t,fk.HTML)}(e,t);break;case kk.P:case kk.DL:case kk.OL: -case kk.UL:case kk.DIV:case kk.DIR:case kk.NAV:case kk.MAIN:case kk.MENU: -case kk.ASIDE:case kk.CENTER:case kk.FIGURE:case kk.FOOTER:case kk.HEADER: -case kk.HGROUP:case kk.DIALOG:case kk.DETAILS:case kk.ADDRESS:case kk.ARTICLE: -case kk.SECTION:case kk.SUMMARY:case kk.FIELDSET:case kk.BLOCKQUOTE: -case kk.FIGCAPTION:!function(e,t){ -e.openElements.hasInButtonScope(kk.P)&&e._closePElement(), -e._insertElement(t,fk.HTML)}(e,t);break;case kk.LI:case kk.DD:case kk.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===kk.LI&&t===kk.LI||(n===kk.DD||n===kk.DT)&&(t===kk.DD||t===kk.DT)){ -e.openElements.generateImpliedEndTagsWithExclusion(t), -e.openElements.popUntilTagNamePopped(t);break} -if(t!==kk.ADDRESS&&t!==kk.DIV&&t!==kk.P&&e._isSpecialElement(e.openElements.items[r],t))break -} -e.openElements.hasInButtonScope(kk.P)&&e._closePElement(),e._insertElement(t,fk.HTML) -}(e,t);break;case kk.BR:case kk.IMG:case kk.WBR:case kk.AREA:case kk.EMBED: -case kk.KEYGEN:oS(e,t);break;case kk.HR:!function(e,t){ -e.openElements.hasInButtonScope(kk.P)&&e._closePElement(), -e._appendElement(t,fk.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break -;case kk.RB:case kk.RTC:!function(e,t){ -e.openElements.hasInScope(kk.RUBY)&&e.openElements.generateImpliedEndTags(), -e._insertElement(t,fk.HTML)}(e,t);break;case kk.RT:case kk.RP:!function(e,t){ -e.openElements.hasInScope(kk.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(kk.RTC), -e._insertElement(t,fk.HTML)}(e,t);break;case kk.PRE:case kk.LISTING: -!function(e,t){ -e.openElements.hasInButtonScope(kk.P)&&e._closePElement(),e._insertElement(t,fk.HTML), -e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case kk.XMP:!function(e,t){ -e.openElements.hasInButtonScope(kk.P)&&e._closePElement(), -e._reconstructActiveFormattingElements(), -e.framesetOk=!1,e._switchToTextParsing(t,Lk.RAWTEXT)}(e,t);break;case kk.SVG: -!function(e,t){ -e._reconstructActiveFormattingElements(),Ex(t),Tx(t),t.selfClosing?e._appendElement(t,fk.SVG):e._insertElement(t,fk.SVG), -t.ackSelfClosing=!0}(e,t);break;case kk.HTML:!function(e,t){ -0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs) -}(e,t);break;case kk.BASE:case kk.LINK:case kk.META:case kk.STYLE:case kk.TITLE: -case kk.SCRIPT:case kk.BGSOUND:case kk.BASEFONT:case kk.TEMPLATE:Gx(e,t);break -;case kk.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 kk.FORM: -!function(e,t){const n=e.openElements.tmplCount>0 -;e.formElement&&!n||(e.openElements.hasInButtonScope(kk.P)&&e._closePElement(), -e._insertElement(t,fk.HTML),n||(e.formElement=e.openElements.current))}(e,t) -;break;case kk.NOBR:!function(e,t){ -e._reconstructActiveFormattingElements(),e.openElements.hasInScope(kk.NOBR)&&(zx(e,t), -e._reconstructActiveFormattingElements()), -e._insertElement(t,fk.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t) -}(e,t);break;case kk.MATH:!function(e,t){ -e._reconstructActiveFormattingElements(), -_x(t),Tx(t),t.selfClosing?e._appendElement(t,fk.MATHML):e._insertElement(t,fk.MATHML), -t.ackSelfClosing=!0}(e,t);break;case kk.TABLE:!function(e,t){ -e.treeAdapter.getDocumentMode(e.document)!==bk.QUIRKS&&e.openElements.hasInButtonScope(kk.P)&&e._closePElement(), -e._insertElement(t,fk.HTML),e.framesetOk=!1,e.insertionMode=Dx.IN_TABLE}(e,t) -;break;case kk.INPUT:!function(e,t){ -e._reconstructActiveFormattingElements(),e._appendElement(t,fk.HTML), -aS(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case kk.PARAM: -case kk.TRACK:case kk.SOURCE:!function(e,t){ -e._appendElement(t,fk.HTML),t.ackSelfClosing=!0}(e,t);break;case kk.IMAGE: -!function(e,t){t.tagName=Ok.IMG,t.tagID=kk.IMG,oS(e,t)}(e,t);break -;case kk.BUTTON:!function(e,t){ -e.openElements.hasInScope(kk.BUTTON)&&(e.openElements.generateImpliedEndTags(), -e.openElements.popUntilTagNamePopped(kk.BUTTON)), -e._reconstructActiveFormattingElements(), -e._insertElement(t,fk.HTML),e.framesetOk=!1}(e,t);break;case kk.APPLET: -case kk.OBJECT:case kk.MARQUEE:!function(e,t){ -e._reconstructActiveFormattingElements(), -e._insertElement(t,fk.HTML),e.activeFormattingElements.insertMarker(), -e.framesetOk=!1}(e,t);break;case kk.IFRAME:!function(e,t){ -e.framesetOk=!1,e._switchToTextParsing(t,Lk.RAWTEXT)}(e,t);break;case kk.SELECT: -!function(e,t){ -e._reconstructActiveFormattingElements(),e._insertElement(t,fk.HTML), -e.framesetOk=!1, -e.insertionMode=e.insertionMode===Dx.IN_TABLE||e.insertionMode===Dx.IN_CAPTION||e.insertionMode===Dx.IN_TABLE_BODY||e.insertionMode===Dx.IN_ROW||e.insertionMode===Dx.IN_CELL?Dx.IN_SELECT_IN_TABLE:Dx.IN_SELECT -}(e,t);break;case kk.OPTION:case kk.OPTGROUP:!function(e,t){ -e.openElements.currentTagId===kk.OPTION&&e.openElements.pop(), -e._reconstructActiveFormattingElements(),e._insertElement(t,fk.HTML)}(e,t);break -;case kk.NOEMBED:iS(e,t);break;case kk.FRAMESET:!function(e,t){ -const n=e.openElements.tryPeekProperlyNestedBodyElement() -;e.framesetOk&&n&&(e.treeAdapter.detachNode(n), -e.openElements.popAllUpToHtmlElement(), -e._insertElement(t,fk.HTML),e.insertionMode=Dx.IN_FRAMESET)}(e,t);break -;case kk.TEXTAREA:!function(e,t){ -e._insertElement(t,fk.HTML),e.skipNextNewLine=!0, -e.tokenizer.state=Lk.RCDATA,e.originalInsertionMode=e.insertionMode, -e.framesetOk=!1,e.insertionMode=Dx.TEXT}(e,t);break;case kk.NOSCRIPT: -e.options.scriptingEnabled?iS(e,t):sS(e,t);break;case kk.PLAINTEXT: -!function(e,t){ -e.openElements.hasInButtonScope(kk.P)&&e._closePElement(),e._insertElement(t,fk.HTML), -e.tokenizer.state=Lk.PLAINTEXT}(e,t);break;case kk.COL:case kk.TH:case kk.TD: -case kk.TR:case kk.HEAD:case kk.FRAME:case kk.TBODY:case kk.TFOOT:case kk.THEAD: -case kk.CAPTION:case kk.COLGROUP:break;default:sS(e,t)}}function cS(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!==kk.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 uS(e,t){switch(t.tagID){case kk.A: -case kk.B:case kk.I:case kk.S:case kk.U:case kk.EM:case kk.TT:case kk.BIG: -case kk.CODE:case kk.FONT:case kk.NOBR:case kk.SMALL:case kk.STRIKE: -case kk.STRONG:zx(e,t);break;case kk.P:!function(e){ -e.openElements.hasInButtonScope(kk.P)||e._insertFakeElement(Ok.P,kk.P), -e._closePElement()}(e);break;case kk.DL:case kk.UL:case kk.OL:case kk.DIR: -case kk.DIV:case kk.NAV:case kk.PRE:case kk.MAIN:case kk.MENU:case kk.ASIDE: -case kk.BUTTON:case kk.CENTER:case kk.FIGURE:case kk.FOOTER:case kk.HEADER: -case kk.HGROUP:case kk.DIALOG:case kk.ADDRESS:case kk.ARTICLE:case kk.DETAILS: -case kk.SECTION:case kk.SUMMARY:case kk.LISTING:case kk.FIELDSET: -case kk.BLOCKQUOTE:case kk.FIGCAPTION:!function(e,t){const n=t.tagID -;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(), -e.openElements.popUntilTagNamePopped(n))}(e,t);break;case kk.LI:!function(e){ -e.openElements.hasInListItemScope(kk.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(kk.LI), -e.openElements.popUntilTagNamePopped(kk.LI))}(e);break;case kk.DD:case kk.DT: -!function(e,t){const n=t.tagID -;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n), -e.openElements.popUntilTagNamePopped(n))}(e,t);break;case kk.H1:case kk.H2: -case kk.H3:case kk.H4:case kk.H5:case kk.H6:!function(e){ -e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(), -e.openElements.popUntilNumberedHeaderPopped())}(e);break;case kk.BR: -!function(e){ -e._reconstructActiveFormattingElements(),e._insertFakeElement(Ok.BR,kk.BR), -e.openElements.pop(),e.framesetOk=!1}(e);break;case kk.BODY:!function(e,t){ -if(e.openElements.hasInScope(kk.BODY)&&(e.insertionMode=Dx.AFTER_BODY, -e.options.sourceCodeLocationInfo)){ -const n=e.openElements.tryPeekProperlyNestedBodyElement() -;n&&e._setEndLocation(n,t)}}(e,t);break;case kk.HTML:!function(e,t){ -e.openElements.hasInScope(kk.BODY)&&(e.insertionMode=Dx.AFTER_BODY,AS(e,t)) -}(e,t);break;case kk.FORM:!function(e){ -const t=e.openElements.tmplCount>0,{formElement:n}=e -;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(kk.FORM)&&(e.openElements.generateImpliedEndTags(), -t?e.openElements.popUntilTagNamePopped(kk.FORM):n&&e.openElements.remove(n))}(e) -;break;case kk.APPLET:case kk.OBJECT:case kk.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 kk.TEMPLATE: -Yx(e,t);break;default:cS(e,t)}}function dS(e,t){ -e.tmplInsertionModeStack.length>0?CS(e,t):Vx(e,t)}function pS(e,t){ -if(Mx.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0, -e.hasNonWhitespacePendingCharacterToken=!1, -e.originalInsertionMode=e.insertionMode, -e.insertionMode=Dx.IN_TABLE_TEXT,t.type){case Kw.CHARACTER:vS(e,t);break -;case Kw.WHITESPACE_CHARACTER:gS(e,t)}else mS(e,t)}function hS(e,t){ -switch(t.tagID){case kk.TD:case kk.TH:case kk.TR:!function(e,t){ -e.openElements.clearBackToTableContext(), -e._insertFakeElement(Ok.TBODY,kk.TBODY),e.insertionMode=Dx.IN_TABLE_BODY,kS(e,t) -}(e,t);break;case kk.STYLE:case kk.SCRIPT:case kk.TEMPLATE:Gx(e,t);break -;case kk.COL:!function(e,t){ -e.openElements.clearBackToTableContext(),e._insertFakeElement(Ok.COLGROUP,kk.COLGROUP), -e.insertionMode=Dx.IN_COLUMN_GROUP,OS(e,t)}(e,t);break;case kk.FORM: -!function(e,t){ -e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,fk.HTML), -e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break -;case kk.TABLE:!function(e,t){ -e.openElements.hasInTableScope(kk.TABLE)&&(e.openElements.popUntilTagNamePopped(kk.TABLE), -e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case kk.TBODY: -case kk.TFOOT:case kk.THEAD:!function(e,t){ -e.openElements.clearBackToTableContext(), -e._insertElement(t,fk.HTML),e.insertionMode=Dx.IN_TABLE_BODY}(e,t);break -;case kk.INPUT:!function(e,t){ -aS(t)?e._appendElement(t,fk.HTML):mS(e,t),t.ackSelfClosing=!0}(e,t);break -;case kk.CAPTION:!function(e,t){ -e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(), -e._insertElement(t,fk.HTML),e.insertionMode=Dx.IN_CAPTION}(e,t);break -;case kk.COLGROUP:!function(e,t){ -e.openElements.clearBackToTableContext(),e._insertElement(t,fk.HTML), -e.insertionMode=Dx.IN_COLUMN_GROUP}(e,t);break;default:mS(e,t)}} -function fS(e,t){switch(t.tagID){case kk.TABLE: -e.openElements.hasInTableScope(kk.TABLE)&&(e.openElements.popUntilTagNamePopped(kk.TABLE), -e._resetInsertionMode());break;case kk.TEMPLATE:Yx(e,t);break;case kk.BODY: -case kk.CAPTION:case kk.COL:case kk.COLGROUP:case kk.HTML:case kk.TBODY: -case kk.TD:case kk.TFOOT:case kk.TH:case kk.THEAD:case kk.TR:break;default: -mS(e,t)}}function mS(e,t){const n=e.fosterParentingEnabled -;e.fosterParentingEnabled=!0,tS(e,t),e.fosterParentingEnabled=n} -function gS(e,t){e.pendingCharacterTokens.push(t)}function vS(e,t){ -e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0} -function bS(e,t){let n=0 -;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===kk.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===kk.OPTGROUP&&e.openElements.pop(), -e.openElements.currentTagId===kk.OPTGROUP&&e.openElements.pop();break -;case kk.OPTION:e.openElements.currentTagId===kk.OPTION&&e.openElements.pop() -;break;case kk.SELECT: -e.openElements.hasInSelectScope(kk.SELECT)&&(e.openElements.popUntilTagNamePopped(kk.SELECT), -e._resetInsertionMode());break;case kk.TEMPLATE:Yx(e,t)}}function CS(e,t){ -e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(kk.TEMPLATE), -e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(), -e._resetInsertionMode(),e.onEof(t)):Vx(e,t)}function AS(e,t){var n -;if(t.tagID===kk.HTML){ -if(e.fragmentContext||(e.insertionMode=Dx.AFTER_AFTER_BODY), -e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===kk.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 PS(e,t)}function PS(e,t){e.insertionMode=Dx.IN_BODY,tS(e,t)} -function $S(e,t){e.insertionMode=Dx.IN_BODY,tS(e,t)}function DS(e){ -for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==fk.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop() -}function RS(e,t){return Lx.parse(e,t)}function NS(e,t,n){ -"string"==typeof e&&(n=t,t=e,e=null);const r=Lx.getFragmentParser(e,n) -;return r.tokenizer.write(t,!0),r.getFragment()} -Ok.AREA,Ok.BASE,Ok.BASEFONT,Ok.BGSOUND, -Ok.BR,Ok.COL,Ok.EMBED,Ok.FRAME,Ok.HR,Ok.IMG, -Ok.INPUT,Ok.KEYGEN,Ok.LINK,Ok.META,Ok.PARAM,Ok.SOURCE,Ok.TRACK,Ok.WBR -;const MS=LS("end"),IS=LS("start");function LS(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 jS(e){ -const t=IS(e),n=MS(e);if(t&&n)return{start:t,end:n}} -const US=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),BS={ -sourceCodeLocationInfo:!0,scriptingEnabled:!1};function QS(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=Cw("type",{handlers:{root:qS,element:zS,text:HS,comment:WS,doctype:VS, -raw:XS},unknown:GS}),o={parser:n?new Lx(BS):Lx.getFragmentParser(void 0,BS), -handle(e){r(e,o)},stitches:!1,options:t||{}};r(e,o),YS(o,IS()) -;const a=ww(n?o.parser.document:o.parser.getFragment(),{file:o.options.file}) -;return o.stitches&&Hy(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 FS(e,t){let n=-1;if(e)for(;++n-1&&a>l||i>-1&&a>i||s>-1&&a>s)return!0;let c=-1;for(;++c1){let e=!1,n=0;for(;++n4&&"data"===t.slice(0,4).toLowerCase())return n}function u_(e){ -return function(t){const n=function(e,t){let n={type:"root",children:[]} -;const r=o_({schema:t?{...n_,...t}:n_,stack:[]},e) -;return r&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}(t,e) -;return n}} -const d_=/["&'<>`]/g,p_=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h_=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,f_=/[|\\{}()[\]^$+*?.]/g,m_=new WeakMap -;function g_(e,t){return e=e.replace(t.subset?function(e){let t=m_.get(e) -;t||(t=function(e){const t=[];let n=-1 -;for(;++n",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:"€" -},w_=["cent","copy","divide","gt","lt","not","para","times"],k_={}.hasOwnProperty,x_={} -;let S_;for(S_ in O_)k_.call(O_,S_)&&(x_[O_[S_]]=S_);const __=/[^\dA-Za-z]/ -;function E_(e,t,n){let r,o=function(e,t,n){ -const r="&#x"+e.toString(16).toUpperCase() -;return n&&t&&!v_.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(k_.call(x_,o)){const e=x_[o],a="&"+e -;return n&&y_.includes(e)&&!w_.includes(e)&&(!r||t&&61!==t&&__.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&&!b_.test(String.fromCharCode(t))?r:r+";" -}(e,t,n.omitOptionalSemicolons);r.length|^->||--!>|"],P_=["<",">"];function $_(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 D_=M_(1),R_=M_(-1),N_=[];function M_(e){return function(t,n,r){ -const o=t?t.children:N_;let a=(n||0)+e,i=o[a];if(!r)for(;i&&oO(i);)a+=e,i=o[a] -;return i}}const I_={}.hasOwnProperty;function L_(e){return function(t,n,r){ -return I_.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const j_=L_({ -body:function(e,t,n){const r=D_(n,t);return!r||"comment"!==r.type},caption:U_, -colgroup:U_,dd:function(e,t,n){const r=D_(n,t) -;return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)}, -dt:function(e,t,n){const r=D_(n,t) -;return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))}, -head:U_,html:function(e,t,n){const r=D_(n,t);return!r||"comment"!==r.type}, -li:function(e,t,n){const r=D_(n,t) -;return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){ -const r=D_(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName}, -option:function(e,t,n){const r=D_(n,t) -;return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)}, -p:function(e,t,n){const r=D_(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:B_,rt:B_,tbody:function(e,t,n){const r=D_(n,t) -;return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)}, -td:Q_,tfoot:function(e,t,n){return!D_(n,t)},th:Q_,thead:function(e,t,n){ -const r=D_(n,t) -;return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)) -},tr:function(e,t,n){const r=D_(n,t) -;return!r||"element"===r.type&&"tr"===r.tagName}});function U_(e,t,n){ -const r=D_(n,t,!0) -;return!r||"comment"!==r.type&&!("text"===r.type&&oO(r.value.charAt(0)))} -function B_(e,t,n){const r=D_(n,t) -;return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)} -function Q_(e,t,n){const r=D_(n,t) -;return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)} -const F_=L_({body:function(e){const t=D_(e,-1,!0) -;return!(t&&("comment"===t.type||"text"===t.type&&oO(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=R_(n,t),o=D_(e,-1,!0) -;if(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&j_(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(;++r0}, -html:function(e){const t=D_(e,-1);return!t||"comment"!==t.type}, -tbody:function(e,t,n){const r=R_(n,t),o=D_(e,-1) -;if(n&&r&&"element"===r.type&&("thead"===r.tagName||"tbody"===r.tagName)&&j_(r,n.children.indexOf(r),n))return!1 -;return Boolean(o&&"element"===o.type&&"tr"===o.tagName)}});const q_={ -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 z_(e,t,n){ -const r=tw(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=T_(r.attribute,Object.assign({},e.settings.characterReferences,{ -subset:q_.name[o][a]})) -;return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?sw:Iy)(n,{ -padLeft:!e.settings.tightCommaSeparatedLists -}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(i=T_(n,Object.assign({},e.settings.characterReferences,{ -attribute:!0,subset:q_.unquoted[o][a] -}))),i!==n&&(e.settings.quoteSmart&&$_(n,s)>$_(n,e.alternative)&&(s=e.alternative), -i=s+T_(n,Object.assign({},e.settings.characterReferences,{ -subset:("'"===s?q_.single:q_.double)[o][a],attribute:!0}))+s),l+(i?"="+i:i)))} -const H_=["<","&"];function V_(e,t,n,r){ -return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?T_(e.value,Object.assign({},r.settings.characterReferences,{ -subset:H_})):e.value}const Z_=Cw("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?"":"\x3c!--"+e.value.replace(C_,(function(e){ -return T_(e,Object.assign({},r.settings.characterReferences,{subset:P_})) -}))+"--\x3e"},doctype:function(e,t,n,r){ -return"" -},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=aw) -;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=z_(e,r,t[r]) -;o&&n.push(o)}for(;++o")),s.push(u),i||a&&j_(e,t,n)||s.push(""), -s.join("")},raw:function(e,t,n,r){ -return r.settings.allowDangerousHtml?e.value:V_(e,0,n,r)}, -root:function(e,t,n,r){return r.all(e)},text:V_}});const W_={},X_={},G_=[] -;function Y_(e,t,n){return Z_(e,t,n,this)}function K_(e){ -const t=[],n=e&&e.children||G_;let r=-1 -;for(;++r-1&&e.test(String.fromCharCode(t))}} -function hE(e,t,n){const r=Ly((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(;++r0?{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?\]}]+$/.exec(e) -;if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")") -;const o=$_(e,"(");let a=$_(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 EE(e,t,n,r){return!(!TE(r,!0)||/[-\d_]$/.test(n))&&{ -type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text", -value:t+"@"+n}]}}function TE(e,t){const n=e.input.charCodeAt(e.index-1) -;return(0===e.index||dE(n)||uE(n))&&(!t||47!==n)}function CE(e){ -return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase() -}function AE(e){this.enter({type:"footnoteDefinition",identifier:"",label:"", -children:[]},e)}function PE(){this.buffer()}function $E(e){ -const t=this.resume(),n=this.stack[this.stack.length-1] -;n.type,n.label=t,n.identifier=CE(this.sliceSerialize(e)).toLowerCase()} -function DE(e){this.exit(e)}function RE(e){this.enter({type:"footnoteReference", -identifier:"",label:""},e)}function NE(){this.buffer()}function ME(e){ -const t=this.resume(),n=this.stack[this.stack.length-1] -;n.type,n.label=t,n.identifier=CE(this.sliceSerialize(e)).toLowerCase()} -function IE(e){this.exit(e)}function LE(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 jE(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()),UE)), -i(),a}function UE(e,t,n){return 0===t?e:(n?"":" ")+e}LE.peek=function(){ -return"["} -;const BE=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"] -;function QE(e){this.enter({type:"delete",children:[]},e)}function FE(e){ -this.exit(e)}function qE(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 zE(e){return e.length}function HE(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} -qE.peek=function(){return"~"};const VE={}.hasOwnProperty;function ZE(e,t){ -let n,r=-1;if(t.extensions)for(;++r"+(n?"":" ")+e} -function YE(e,t){return KE(e,t.inConstruct,!0)&&!KE(e,t.notInConstruct,!1)} -function KE(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n -;let r=-1;for(;++r",...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 dT(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 pT(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\u007F]/.test(e.url)) -}function fT(e,t,n,r){ -const o=nT(n),a='"'===o?"Quote":"Apostrophe",i=n.createTracker(r);let s,l -;if(hT(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 mT(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 gT(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 vT(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}cT.peek=function(){return"<"},uT.peek=function(){return"!" -},dT.peek=function(){return"!"},pT.peek=function(){return"`" -},fT.peek=function(e,t,n){return hT(e,n)?"<":"["},mT.peek=function(){return"["} -;const bT=Ly(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]) -;function yT(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}yT.peek=function(e,t,n){return n.options.strong||"*"} -;const OT={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()),GE);return o(),i}, -break:JE,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(eT(e,n)){ -const e=n.enter("codeIndented"),t=n.indentLines(a,tT);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=nT(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:rT,hardBreak:JE,heading:function(e,t,n,r){ -const o=Math.max(Math.min(6,e.depth||1),1),a=n.createTracker(r);if(lT(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:cT,image:uT, -imageReference:dT,inlineCode:pT,link:fT,linkReference:mT,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):gT(n);const s=e.ordered?"."===i?")":".":function(e){ -const t=gT(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), -vT(n)===i&&t){let t=-1;for(;++t-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 bT(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:yT, -text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){ -const r=(vT(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} -},wT=[function(e,t,n,r){ -if("code"===t.type&&eT(t,r)&&("list"===e.type||e.type===t.type&&eT(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&&lT(t,r)))return -;return n.spread?1:0}}] -;const kT=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],xT=[{ -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:kT},{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:kT},{atBreak:!0,before:"\\d+", -character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0, -character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing", -notInConstruct:kT},{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:kT},{ -character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{ -atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{ -atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing", -notInConstruct:kT},{character:"[",inConstruct:["label","reference"]},{ -character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]", -inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_", -inConstruct:"phrasing",notInConstruct:kT},{atBreak:!0,character:"`"},{ -character:"`", -inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{ -character:"`",inConstruct:"phrasing",notInConstruct:kT},{atBreak:!0, -character:"~"}],ST=document.createElement("i");function _T(e){const t="&"+e+";" -;ST.innerHTML=t;const n=ST.textContent -;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&(n!==t&&n)}function ET(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 TT=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi -;function CT(e){return e.replace(TT,AT)}function AT(e,t,n){if(t)return t -;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e -;return ET(n.slice(t?2:1),t?16:10)}return _T(n)||e}function PT(e){ -return e.label||!e.identifier?e.label||"":CT(e.identifier)}function $T(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 DT(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 RT=/\r?\n|\r/g -;function NT(e,t){const n=[];let r,o=0,a=0 -;for(;r=RT.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 MT(e,t){return e-t}function IT(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(;++s0&&("\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 qT(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=c||e+1l&&(l=e[c].length);++ds[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(;++ds[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(;++co?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);i0?(nC(e,e.length,0,t),e):t}const oC={}.hasOwnProperty -;function aC(e){const t={};let n=-1;for(;++n0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n} -function xC(e){const t=[];let n=-1,r=0,o=0;for(;++n55295&&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 SC(e){ -return null===e||lE(e)||dE(e)?1:uE(e)?2:void 0}function _C(e,t,n){const r=[] -;let o=-1;for(;++o1&&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) -;TC(d,-s),TC(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=rC(l,[["enter",e[n][1],t],["exit",e[n][1],t]])), -l=rC(l,[["enter",r,t],["enter",a,t],["exit",a,t],["enter",o,t]]), -l=rC(l,_C(t.parser.constructs.insideSpan.null,e.slice(n+1,u),t)), -l=rC(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=rC(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0, -nC(e,n-1,u-n+3,l),u=n+l.length-c-2;break}u=-1 -;for(;++u=s?(e.exit("codeFencedFenceSequence"), -cE(t)?AC(e,d,"whitespace")(t):d(t)):n(t)}function d(r){ -return null===r||sE(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"), -cE(t)?AC(e,c,"whitespace")(t):c(t))}function c(n){ -return null===n||sE(n)?(e.exit("codeFencedFence"), -r.interrupt?t(n):e.check(NC,h,b)(n)):(e.enter("codeFencedFenceInfo"), -e.enter("chunkString",{contentType:"string"}),u(n))}function u(t){ -return null===t||sE(t)?(e.exit("chunkString"), -e.exit("codeFencedFenceInfo"),c(t)):cE(t)?(e.exit("chunkString"), -e.exit("codeFencedFenceInfo"), -AC(e,d,"whitespace")(t)):96===t&&t===a?n(t):(e.consume(t),u)}function d(t){ -return null===t||sE(t)?c(t):(e.enter("codeFencedFenceMeta"), -e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){ -return null===t||sE(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&&cE(t)?AC(e,g,"linePrefix",i+1)(t):g(t)}function g(t){ -return null===t||sE(t)?e.check(NC,h,b)(t):(e.enter("codeFlowValue"),v(t))} -function v(t){ -return null===t||sE(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)} -function b(n){return e.exit("codeFenced"),t(n)}},concrete:!0};const IC={ -name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){ -return e.enter("codeIndented"),AC(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):sE(t)?e.attempt(LC,a,s)(t):(e.enter("codeFlowValue"),i(t))} -function i(t){ -return null===t||sE(t)?(e.exit("codeFlowValue"),a(t)):(e.consume(t),i)} -function s(n){return e.exit("codeIndented"),t(n)}}},LC={ -tokenize:function(e,t,n){const r=this;return o;function o(t){ -return r.parser.lazy[r.now().line]?n(t):sE(t)?(e.enter("lineEnding"), -e.consume(t),e.exit("lineEnding"),o):AC(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):sE(e)?o(e):n(e) -}},partial:!0};const jC={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)):sE(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||sE(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=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 ethis.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&&BC(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),BC(this.left,e)}unshift(e){ -this.setCursor(0),this.right.push(e)}unshiftMany(e){ -this.setCursor(0),BC(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=4?t(o):e.interrupt(r.parser.constructs.flow,n,t)(o) -}},partial:!0};function HC(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||rE(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||sE(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&&!lE(o)?u999||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):sE(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||sE(t)||l++>999?(e.exit("chunkString"), -c(t)):(e.consume(t),s||(s=!cE(t)),92===t?d:u)}function d(t){ -return 91===t||92===t||93===t?(e.consume(t),l++,u):u(t)}} -function ZC(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):sE(t)?(e.enter("lineEnding"), -e.consume(t),e.exit("lineEnding"),AC(e,l,"linePrefix")):(e.enter("chunkString",{ -contentType:"string"}),c(t))}function c(t){ -return t===i||null===t||sE(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 WC(e,t){let n -;return function r(o){ -if(sE(o))return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),n=!0,r -;if(cE(o))return AC(e,r,n?"linePrefix":"lineSuffix")(o);return t(o)}}const XC={ -name:"definition",tokenize:function(e,t,n){const r=this;let o -;return function(t){return e.enter("definition"),function(t){ -return VC.call(r,e,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t) -}(t)};function a(t){ -return o=CE(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 lE(t)?WC(e,s)(t):s(t)}function s(t){ -return HC(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t) -}function l(t){return e.attempt(GC,c,c)(t)}function c(t){ -return cE(t)?AC(e,u,"whitespace")(t):u(t)}function u(a){ -return null===a||sE(a)?(e.exit("definition"),r.parser.defined.push(o),t(a)):n(a) -}}},GC={tokenize:function(e,t,n){return function(t){return lE(t)?WC(e,r)(t):n(t) -};function r(t){ -return ZC(e,o,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t) -}function o(t){return cE(t)?AC(e,a,"whitespace")(t):a(t)}function a(e){ -return null===e||sE(e)?t(e):n(e)}},partial:!0};const YC={name:"hardBreakEscape", -tokenize:function(e,t,n){return function(t){ -return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){ -return sE(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}};const KC={ -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||lE(t)?(e.exit("atxHeadingSequence"),a(t)):n(t)}function a(n){ -return 35===n?(e.enter("atxHeadingSequence"), -i(n)):null===n||sE(n)?(e.exit("atxHeading"), -t(n)):cE(n)?AC(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||lE(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" -},nC(e,a,o-a+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])) -;return e}} -;const JC=["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"],eA=["pre","script","style","textarea"],tA={ -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):eE(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):eE(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 eE(t)?(e.consume(t),i=String.fromCharCode(t),f):n(t)} -function f(s){if(null===s||47===s||62===s||lE(s)){ -const l=47===s,c=i.toLowerCase() -;return l||a||!eA.includes(c)?JC.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||tE(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 cE(t)?(e.consume(t),g):S(t)}function v(t){ -return 47===t?(e.consume(t),S):58===t||95===t||eE(t)?(e.consume(t), -b):cE(t)?(e.consume(t),v):S(t)}function b(t){ -return 45===t||46===t||58===t||95===t||tE(t)?(e.consume(t),b):y(t)} -function y(t){return 61===t?(e.consume(t),O):cE(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):cE(t)?(e.consume(t),O):k(t)}function w(t){ -return t===l?(e.consume(t),l=null,x):null===t||sE(t)?n(t):(e.consume(t),w)} -function k(t){ -return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||lE(t)?y(t):(e.consume(t), -k)}function x(e){return 47===e||62===e||cE(e)?v(e):n(e)}function S(t){ -return 62===t?(e.consume(t),_):n(t)}function _(t){ -return null===t||sE(t)?E(t):cE(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),$):62===t&&4===o?(e.consume(t), -M):63===t&&3===o?(e.consume(t), -N):93===t&&5===o?(e.consume(t),R):!sE(t)||6!==o&&7!==o?null===t||sE(t)?(e.exit("htmlFlowData"), -T(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(nA,I,T)(t))} -function T(t){return e.check(rA,C,I)(t)}function C(t){ -return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){ -return null===t||sE(t)?T(t):(e.enter("htmlFlowData"),E(t))}function P(t){ -return 45===t?(e.consume(t),N):E(t)}function $(t){ -return 47===t?(e.consume(t),i="",D):E(t)}function D(t){if(62===t){ -const n=i.toLowerCase();return eA.includes(n)?(e.consume(t),M):E(t)} -return eE(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),D):E(t)} -function R(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||sE(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},nA={ -tokenize:function(e,t,n){return function(r){ -return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(PC,t,n) -}},partial:!0},rA={tokenize:function(e,t,n){const r=this;return function(t){ -if(sE(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 oA={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):eE(t)?(e.consume(t),x):n(t)}function l(t){ -return 45===t?(e.consume(t),c):91===t?(e.consume(t), -a=0,h):eE(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):sE(t)?(i=u,D(t)):(e.consume(t),u)} -function d(t){return 45===t?(e.consume(t),p):u(t)}function p(e){ -return 62===e?$(e):45===e?d(e):u(e)}function h(t){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):sE(t)?(i=f,D(t)):(e.consume(t),f)} -function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){ -return 62===t?$(t):93===t?(e.consume(t),g):f(t)}function v(t){ -return null===t||62===t?$(t):sE(t)?(i=v,D(t)):(e.consume(t),v)}function b(t){ -return null===t?n(t):63===t?(e.consume(t),y):sE(t)?(i=b,D(t)):(e.consume(t),b)} -function y(e){return 62===e?$(e):b(e)}function O(t){ -return eE(t)?(e.consume(t),w):n(t)}function w(t){ -return 45===t||tE(t)?(e.consume(t),w):k(t)}function k(t){ -return sE(t)?(i=k,D(t)):cE(t)?(e.consume(t),k):$(t)}function x(t){ -return 45===t||tE(t)?(e.consume(t),x):47===t||62===t||lE(t)?S(t):n(t)} -function S(t){ -return 47===t?(e.consume(t),$):58===t||95===t||eE(t)?(e.consume(t), -_):sE(t)?(i=S,D(t)):cE(t)?(e.consume(t),S):$(t)}function _(t){ -return 45===t||46===t||58===t||95===t||tE(t)?(e.consume(t),_):E(t)} -function E(t){ -return 61===t?(e.consume(t),T):sE(t)?(i=E,D(t)):cE(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):sE(t)?(i=T,D(t)):cE(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):sE(t)?(i=C,D(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||lE(t)?S(t):(e.consume(t), -A)}function P(e){return 47===e||62===e||lE(e)?S(e):n(e)}function $(r){ -return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)} -function D(t){ -return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"), -R}function R(t){ -return cE(t)?AC(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 aA={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(CE(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(iA,c,a?c:u)(t):91===t?e.attempt(sA,c,a?l:u)(t):a?c(t):u(t) -}function l(t){return e.attempt(lA,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=rC(a,e.slice(r+1,r+s+3)),a=rC(a,[["enter",u,t]]), -a=rC(a,_C(t.parser.constructs.insideSpan.null,e.slice(r+s+4,o-3),t)), -a=rC(a,[["exit",u,t],e[o-2],e[o-1],["exit",c,t]]), -a=rC(a,e.slice(o+1)),a=rC(a,[["exit",l,t]]),nC(e,r,e.length,a),e}, -resolveAll:function(e){let t=-1;for(;++t=3&&(null===a||sE(a))?(e.exit("thematicBreak"),t(a)):n(a)}function i(t){ -return t===r?(e.consume(t), -o++,i):(e.exit("thematicBreakSequence"),cE(t)?AC(e,a,"whitespace")(t):a(t))}}} -;const hA={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:oE(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(pA,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 oE(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(PC,r.interrupt?n:c,e.attempt(fA,d,u))}function c(e){ -return r.containerState.initialBlankLine=!0,a++,d(e)}function u(t){ -return cE(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(PC,(function(n){ -return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine, -AC(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){ -if(r.containerState.furtherBlankLines||!cE(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(mA,t,o)(n)}));function o(o){ -return r.containerState._closeFlow=!0, -r.interrupt=void 0,AC(e,e.attempt(hA,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o) -}}},exit:function(e){e.exit(this.containerState.type)}},fA={ -tokenize:function(e,t,n){const r=this;return AC(e,(function(e){ -const o=r.events[r.events.length-1] -;return!cE(e)&&o&&"listItemPrefixWhitespace"===o[1].type?t(e):n(e) -}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5) -},partial:!0},mA={tokenize:function(e,t,n){const r=this -;return AC(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 gA={ -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"), -cE(t)?AC(e,i,"lineSuffix")(t):i(t))}function i(r){ -return null===r||sE(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 vA={tokenize:function(e,t,n){const r=this -;return AC(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 bA(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=CE(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 yA(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 OA(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||lE(s))return n(s) -;if(93===s){e.exit("chunkString");const a=e.exit("gfmFootnoteCallString") -;return o.includes(CE(r.sliceSerialize(a)))?(e.enter("gfmFootnoteCallLabelMarker"), -e.consume(s), -e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)} -return lE(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 wA(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||lE(t))return n(t);if(93===t){ -e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString") -;return a=CE(r.sliceSerialize(n)), -e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t), -e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"), -d}return lE(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),AC(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)} -function p(e){return t(e)}}function kA(e,t,n){ -return e.check(PC,t,e.attempt(vA,t,n))}function xA(e){ -e.exit("gfmFootnoteDefinition")}function SA(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=SC(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=SC(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(;++n0;)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 EA(e,t){let n=!1;const r=[];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):sE(t)?i>1?(i=0, -r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"), -e.consume(t),e.exit("lineEnding"), -d):n(t):cE(t)?AC(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||lE(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,cE(t)?AC(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 cE(t)?AC(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||sE(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 cE(t)?AC(e,b,"whitespace")(t):b(t)}function b(n){ -return 124===n?p(n):(null===n||sE(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||sE(n)?(e.exit("tableRow"),t(n)):cE(n)?AC(e,w,"whitespace")(n):(e.enter("data"), -k(n))}function k(t){ -return null===t||124===t||lE(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?x:k)} -function x(t){return 92===t||124===t?(e.consume(t),k):k(t)}}function CA(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 _A -;for(;++an[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({},$A(t.events,o)), -e.add(o,0,[["exit",a,t]]),a=void 0),a}function PA(e,t,n,r,o){ -const a=[],i=$A(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 $A(e,t){ -const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const DA={ -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 lE(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 sE(r)?t(r):cE(r)?e.check({tokenize:RA},t,n)(r):n(r)}}} -;function RA(e,t,n){return AC(e,(function(e){return null===e?n(e):t(e) -}),"whitespace")}const NA={};function MA(e){ -const t=e||NA,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),o=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),a=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]) -;r.push(function(e){return aC([{text:gC},{document:{91:{tokenize:wA, -continuation:{tokenize:kA},exit:xA}},text:{91:{tokenize:OA},93:{add:"after", -tokenize:bA,resolveTo:yA}}},SA(e),{flow:{null:{tokenize:TA,resolveAll:CA}}},{ -text:{91:DA}}])}(t)),o.push([{transforms:[SE],enter:{literalAutolink:bE, -literalAutolinkEmail:yE,literalAutolinkHttp:yE,literalAutolinkWww:yE},exit:{ -literalAutolink:xE,literalAutolinkEmail:kE,literalAutolinkHttp:OE, -literalAutolinkWww:wE}},{enter:{gfmFootnoteDefinition:AE, -gfmFootnoteDefinitionLabelString:PE,gfmFootnoteCall:RE,gfmFootnoteCallString:NE -},exit:{gfmFootnoteDefinition:DE,gfmFootnoteDefinitionLabelString:$E, -gfmFootnoteCall:IE,gfmFootnoteCallString:ME}},{canContainEols:["delete"],enter:{ -strikethrough:QE},exit:{strikethrough:FE}},{enter:{table:HT,tableData:XT, -tableHeader:XT,tableRow:ZT},exit:{codeText:GT,table:VT,tableData:WT, -tableHeader:WT,tableRow:WT}},{exit:{taskListCheckValueChecked:JT, -taskListCheckValueUnchecked:JT,paragraph:eC}}]),a.push(function(e){return{ -extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]", -inConstruct:gE,notInConstruct:vE},{character:".",before:"[Ww]", -after:"[\\-.\\w]",inConstruct:gE,notInConstruct:vE},{character:":", -before:"[ps]",after:"\\/",inConstruct:gE,notInConstruct:vE}]},{unsafe:[{ -character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{ -footnoteDefinition:jE,footnoteReference:LE}},{unsafe:[{character:"~", -inConstruct:"phrasing",notInConstruct:BE}],handlers:{delete:qE}},KT(e),{ -unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:tC}}]}}(t)) -}const IA={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"), -AC(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)):sE(t)?(e.consume(t), -e.exit("chunkText"),r):(e.consume(t),o)}}};const LA={tokenize:function(e){ -const t=this,n=[];let r,o,a,i=0;return s;function s(r){if(ia))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;er;){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}}},jA={ -tokenize:function(e,t,n){ -return AC(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4) -}};const UA={tokenize:function(e){const t=this,n=e.attempt(PC,(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,AC(e,e.attempt(this.parser.constructs.flow,r,e.attempt(qC,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 BA={resolveAll:zA() -},QA=qA("string"),FA=qA("text");function qA(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-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._index0){ -const e=a.tokenStack[a.tokenStack.length-1];(e[1]||dP).call(a,void 0,e[0])} -for(r.position={start:lP(e.length>0?e[0][1].start:{line:1,column:1,offset:0}), -end:lP(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0}) -},d=-1;++d1:t} -const mP=9,gP=32;function vP(e){const t=String(e),n=/\r?\n|\r/g -;let r=n.exec(t),o=0;const a=[] -;for(;r;)a.push(bP(t.slice(o,r.index),o>0,!0),r[0]), -o=r.index+r[0].length,r=n.exec(t) -;return a.push(bP(t.slice(o),o>0,!1)),a.join("")}function bP(e,t,n){ -let r=0,o=e.length;if(t){let t=e.codePointAt(r) -;for(;t===mP||t===gP;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(o-1) -;for(;t===mP||t===gP;)o--,t=e.codePointAt(o-1)}return o>r?e.slice(r,o):""} -const yP={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=xC(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 hP(e,t);const o={src:xC(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:xC(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 hP(e,t);const o={href:xC(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:xC(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&&++r0&&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(;++s0){const r={type:"element",tagName:"tbody",properties:{}, -children:e.wrap(n,!0)},a=IS(t.children[1]),i=MS(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(;++s1&&n.push({type:"element",tagName:"sup", -properties:{},children:[{type:"text",value:String(t)}]}),n}function kP(e,t){ -return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const xP={}.hasOwnProperty,SP={} -;function _P(e,t){e.position&&(t.position=jS(e))}function EP(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,Ty(o)), -"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function TP(e,t){ -const n=t.data||{},r=!("value"in t)||xP.call(n,"hProperties")||xP.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 CP(e,t){const n=[] -;let r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text", -value:"\n"}),n}function AP(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++, -n=e.charCodeAt(t);return e.slice(t)}function PP(e,t){const n=function(e,t){ -const n=t||SP,r=new Map,o=new Map,a=new Map,i={...yP,...n.handlers},s={ -all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1 -;for(;++r0&&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:{...Ty(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 $P(e,t){ -return e&&"run"in e?async function(n,r){const o=PP(n,{file:r,...t}) -;await e.run(o,r)}:function(n,r){return PP(n,{file:r,...t||e})}}function DP(e){ -const t=this;t.compiler=function(n){return jT(n,{...t.data("settings"),...e, -extensions:t.data("toMarkdownExtensions")||[]})}}function RP(e){if(e)throw e} -var NP=Object.prototype.hasOwnProperty,MP=Object.prototype.toString,IP=Object.defineProperty,LP=Object.getOwnPropertyDescriptor,jP=function(e){ -return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===MP.call(e) -},UP=function(e){if(!e||"[object Object]"!==MP.call(e))return!1 -;var t,n=NP.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&NP.call(e.constructor.prototype,"isPrototypeOf") -;if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||NP.call(e,t) -},BP=function(e,t){IP&&"__proto__"===t.name?IP(e,t.name,{enumerable:!0, -configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue -},QP=function(e,t){if("__proto__"===t){if(!NP.call(e,t))return -;if(LP)return LP(e,t).value}return e[t]},FP=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={});lt.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 VP 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=nP(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}} -VP.prototype.file="",VP.prototype.name="", -VP.prototype.reason="",VP.prototype.message="", -VP.prototype.stack="",VP.prototype.column=void 0, -VP.prototype.line=void 0,VP.prototype.ancestors=void 0, -VP.prototype.cause=void 0, -VP.prototype.fatal=void 0,VP.prototype.place=void 0,VP.prototype.ruleId=void 0, -VP.prototype.source=void 0;const ZP={basename:function(e,t){ -if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string') -;WP(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(WP(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){WP(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(;++n2){ -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 WP(e){ -if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e)) -}const XP={cwd:function(){return"/"}};function GP(e){ -return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth) -}function YP(e){if("string"==typeof e)e=new URL(e);else if(!GP(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(;++n0){let[r,...a]=t;const i=n[o][1] -;zP(i)&&zP(r)&&(r=qP(!0,i,r)),n[o]=[e,r,...a]}}}}const i$=(new a$).freeze() -;function s$(e,t){ -if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")} -function l$(e,t){ -if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`") -}function c$(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 u$(e){ -if(!zP(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`") -}function d$(e,t,n){ -if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")} -function p$(e){return function(e){ -return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e) -}(e)?e:new JP(e)}const h$=function(e,t,n){const r=Ly(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(;++tl&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "), -l=-1,s.push(e))}return s.join("")}function x$(e,t,n){ -return"element"===e.type?function(e,t,n){const r=E$(e,n),o=e.children||[] -;let a,i,s=-1,l=[];if(O$(e))return l;g$(e)||y$(e)&&h$(t,e,y$)?i="\n":b$(e)?(a=2, -i=2):w$(e)&&(a=1,i=1);for(;++sI$(e,t,n-1)))} -const L$="[A-Za-z$_][0-9A-Za-z$_]*",j$=["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"],U$=["true","false","null","undefined","NaN","Infinity"],B$=["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"],Q$=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],F$=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],q$=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],z$=[].concat(F$,B$,Q$) -;var H$="[0-9](_*[0-9])*",V$=`\\.(${H$})`,Z$="[0-9a-fA-F](_*[0-9a-fA-F])*",W$={ -className:"number",variants:[{ -begin:`(\\b(${H$})((${V$})|\\.)?|(${V$}))[eE][+-]?(${H$})[fFdD]?\\b`},{ -begin:`\\b(${H$})((${V$})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{ -begin:`(${V$})[fFdD]?\\b`},{begin:`\\b(${H$})[fFdD]\\b`},{ -begin:`\\b0[xX]((${Z$})\\.?|(${Z$})?\\.(${Z$}))[pP][+-]?(${H$})[fFdD]?\\b`},{ -begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${Z$})[lL]?\\b`},{ -begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}], -relevance:0} -;const X$=["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"],G$=["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"],Y$=["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"],K$=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],J$=["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(),eD=Y$.concat(K$) -;const tD=["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"],nD=["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"],rD=["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"],oD=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],aD=["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 iD(e){return e?"string"==typeof e?e:e.source:null}function sD(e){ -return lD("(?=",e,")")}function lD(...e){return e.map((e=>iD(e))).join("")} -function cD(...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=>iD(e))).join("|")+")"} -const uD=e=>lD(/\b/,e,/\w$/.test(e)?/\b/:/\B/),dD=["Protocol","Type"].map(uD),pD=["init","self"].map(uD),hD=["Any","Self"],fD=["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"],mD=["false","nil","true"],gD=["assignment","associativity","higherThan","left","lowerThan","none","right"],vD=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],bD=["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"],yD=cD(/[/=\-+!*%<>&|^~?]/,/[\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]/),OD=cD(yD,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),wD=lD(yD,OD,"*"),kD=cD(/[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]/),xD=cD(kD,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),SD=lD(kD,xD,"*"),_D=lD(/[A-Z]/,xD,"*"),ED=["attached","autoclosure",lD(/convention\(/,cD("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",lD(/objc\(/,SD,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],TD=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"] -;const CD="[A-Za-z$_][0-9A-Za-z$_]*",AD=["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"],PD=["true","false","null","undefined","NaN","Infinity"],$D=["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"],DD=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],RD=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ND=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],MD=[].concat(RD,$D,DD) -;function ID(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:/`]+/}]}]}]};return{ -name:"HTML, XML", -aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"], -case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[o,s,i,a,{begin:/\[/,end:/\]/,contains:[{ -className:"meta",begin://,contains:[o,a,s,i]}]}] -},e.COMMENT(//,{relevance:10}),{begin://, -relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/, -relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag", -begin:/)/,end:/>/,keywords:{name:"style"},contains:[l],starts:{ -end:/<\/style>/,returnEnd:!0,subLanguage:["css","xml"]}},{className:"tag", -begin:/)/,end:/>/,keywords:{name:"script"},contains:[l],starts:{ -end:/<\/script>/,returnEnd:!0,subLanguage:["javascript","handlebars","xml"]}},{ -className:"tag",begin:/<>|<\/>/},{className:"tag", -begin:t.concat(//,/>/,/\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 LD(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)||LD(n) -})),e}class jD{constructor(e){ -void 0===e.data&&(e.data={}),this.data=e.data,this.isMatchIgnored=!1} -ignoreMatch(){this.isMatchIgnored=!0}}function UD(e){ -return e.replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'") -}function BD(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 QD=e=>!!e.scope;class FD{constructor(e,t){ -this.buffer="",this.classPrefix=t.classPrefix,e.walk(this)}addText(e){ -this.buffer+=UD(e)}openNode(e){if(!QD(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){QD(e)&&(this.buffer+="")}value(){return this.buffer}span(e){ -this.buffer+=``}}const qD=(e={})=>{const t={children:[]} -;return Object.assign(t,e),t};class zD{constructor(){ -this.rootNode=qD(),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=qD({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=>{ -zD._collapse(e)})))}}class HD extends zD{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 FD(this,this.options).value()}finalize(){return this.closeAllNodes(), -!0}}function VD(e){return e?"string"==typeof e?e:e.source:null}function ZD(e){ -return GD("(?=",e,")")}function WD(e){return GD("(?:",e,")*")}function XD(e){ -return GD("(?:",e,")?")}function GD(...e){return e.map((e=>VD(e))).join("")} -function YD(...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=>VD(e))).join("|")+")"} -function KD(e){return new RegExp(e.toString()+"|").exec("").length-1} -const JD=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./ -;function eR(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n -;let r=VD(e),o="";for(;r.length>0;){const e=JD.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 tR="[a-zA-Z]\\w*",nR="[a-zA-Z_]\\w*",rR="\\b\\d+(\\.\\d+)?",oR="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",aR="\\b(0b[01]+)",iR={ -begin:"\\\\[\\s\\S]",relevance:0},sR={scope:"string",begin:"'",end:"'", -illegal:"\\n",contains:[iR]},lR={scope:"string",begin:'"',end:'"',illegal:"\\n", -contains:[iR]},cR=function(e,t,n={}){const r=BD({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=YD("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:GD(/[ ]+/,"(",o,/[.]?[:]?([.][ ]|[ ])/,"){3}")}), -r},uR=cR("//","$"),dR=cR("/\\*","\\*/"),pR=cR("#","$"),hR={scope:"number", -begin:rR,relevance:0},fR={scope:"number",begin:oR,relevance:0},mR={ -scope:"number",begin:aR,relevance:0},gR={scope:"regexp",begin:/\/(?=[^/\n]*\/)/, -end:/\/[gimuy]*/,contains:[iR,{begin:/\[/,end:/\]/,relevance:0,contains:[iR]}] -},vR={scope:"title",begin:tR,relevance:0},bR={scope:"title",begin:nR,relevance:0 -},yR={begin:"\\.\\s*"+nR,relevance:0};var OR=Object.freeze({__proto__:null, -APOS_STRING_MODE:sR,BACKSLASH_ESCAPE:iR,BINARY_NUMBER_MODE:mR, -BINARY_NUMBER_RE:aR,COMMENT:cR,C_BLOCK_COMMENT_MODE:dR,C_LINE_COMMENT_MODE:uR, -C_NUMBER_MODE:fR,C_NUMBER_RE:oR,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:pR,IDENT_RE:tR,MATCH_NOTHING_RE:/\b\B/,METHOD_GUARD:yR, -NUMBER_MODE:hR,NUMBER_RE:rR,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:lR,REGEXP_MODE:gR, -RE_STARTERS_RE:"!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~", -SHEBANG:(e={})=>{const t=/^#![ ]*\// -;return e.binary&&(e.begin=GD(t,/.*\b/,e.binary,/\b.*/)),BD({scope:"meta", -begin:t,end:/$/,relevance:0,"on:begin":(e,t)=>{0!==e.index&&t.ignoreMatch()}},e) -},TITLE_MODE:vR,UNDERSCORE_IDENT_RE:nR,UNDERSCORE_TITLE_MODE:bR}) -;function wR(e,t){"."===e.input[e.index-1]&&t.ignoreMatch()}function kR(e,t){ -void 0!==e.className&&(e.scope=e.className,delete e.className)}function xR(e,t){ -t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)", -e.__beforeBegin=wR, -e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords, -void 0===e.relevance&&(e.relevance=0))}function SR(e,t){ -Array.isArray(e.illegal)&&(e.illegal=YD(...e.illegal))}function _R(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 ER(e,t){ -void 0===e.relevance&&(e.relevance=1)}const TR=(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=GD(n.beforeMatch,ZD(n.begin)),e.starts={ -relevance:0,contains:[Object.assign(n,{endsParent:!0})] -},e.relevance=0,delete n.beforeMatch -},CR=["of","and","for","in","not","or","if","then","parent","list","value"],AR="keyword" -;function PR(e,t,n=AR){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,PR(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,$R(n[0],n[1])]}))}}function $R(e,t){return t?Number(t):function(e){ -return CR.includes(e.toLowerCase())}(e)?0:1}const DR={},RR=e=>{console.error(e) -},NR=(e,...t)=>{console.log(`WARN: ${e}`,...t)},MR=(e,t)=>{ -DR[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),DR[`${e}/${t}`]=!0) -},IR=new Error;function LR(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+=KD(t[s-1]) -;e[n]=i,e[n]._emit=a,e[n]._multi=!0}function jR(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 RR("skip, excludeBegin, returnBegin not compatible with beginScope: {}"), -IR -;if("object"!=typeof e.beginScope||null===e.beginScope)throw RR("beginScope must be object"), -IR;LR(e,e.begin,{key:"beginScope"}),e.begin=eR(e.begin,{joinWith:""})} -}(e),function(e){if(Array.isArray(e.end)){ -if(e.skip||e.excludeEnd||e.returnEnd)throw RR("skip, excludeEnd, returnEnd not compatible with endScope: {}"), -IR -;if("object"!=typeof e.endScope||null===e.endScope)throw RR("endScope must be object"), -IR;LR(e,e.end,{key:"endScope"}),e.end=eR(e.end,{joinWith:""})}}(e)} -function UR(e){function t(t,n){ -return new RegExp(VD(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+=KD(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null) -;const e=this.regexes.map((e=>e[1]));this.matcherRe=t(eR(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=BD(e.classNameAliases||{}),function n(o,a){const i=o -;if(o.isCompiled)return i -;[kR,_R,jR,TR].forEach((e=>e(o,a))),e.compilerExtensions.forEach((e=>e(o,a))), -o.__beforeBegin=null,[xR,SR,ER].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=PR(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=VD(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 BD(e,{variants:null},t)})));if(e.cachedVariants)return e.cachedVariants -;if(BR(e))return BD(e,{starts:e.starts?BD(e.starts):null}) -;if(Object.isFrozen(e))return BD(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 BR(e){ -return!!e&&(e.endsWithParent||BR(e.starts))}class QR extends Error{ -constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t}} -const FR=UD,qR=BD,zR=Symbol("nomatch"),HR=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:HD};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):(MR("10.7.0","highlight(lang, code, ...args) has been deprecated."), -MR("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=k.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=k.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=k.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(k.classNameAliases[e.scope]||e.scope), -e.beginScope&&(e.beginScope._wrap?(h(C,k.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 jD(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):(D=!0,0)}function y(e){ -const t=e[0],r=n.substring(e.index),o=v(_,e,r);if(!o)return zR;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 jD(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||"")+'"') -;throw e.mode=_,e}if("end"===a.type){const e=y(a);if(e!==zR)return e} -if("illegal"===a.type&&""===i)return 1;if($>1e5&&$>3*a.index){ -throw new Error("potential infinite loop, way more iterations than matches")} -return C+=i,i.length}const k=m(e) -;if(!k)throw RR(a.replace("{}",e)),new Error('Unknown language: "'+e+'"') -;const x=UR(k);let S="",_=i||x;const E={},T=new s.__emitter(s);!function(){ -const e=[];for(let t=_;t!==k;t=t.parent)t.scope&&e.unshift(t.scope) -;e.forEach((e=>T.openNode(e)))}();let C="",A=0,P=0,$=0,D=!1;try{ -if(k.__emitTokens)k.__emitTokens(n,T);else{for(_.matcher.considerAll();;){ -$++,D?D=!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(R){ -if(R.message&&R.message.includes("Illegal"))return{language:e,value:FR(n), -illegal:!0,relevance:0,_illegalBy:{message:R.message,index:P, -context:n.slice(P-100,P+100),mode:R.mode,resultSoFar:S},_emitter:T};if(o)return{ -language:e,value:FR(n),illegal:!1,relevance:0,errorRaised:R,_emitter:T,_top:_} -;throw R}}function d(e,n){n=n||s.languages||Object.keys(t);const r=function(e){ -const t={value:FR(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||(NR(a.replace("{}",n[1])), -NR("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 QR("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 MR("10.7.0","highlightBlock will be removed entirely in v12.0"), -MR("10.7.0","Please use highlightElement now."),p(e)},configure:function(e){ -s=qR(s,e)},initHighlighting:()=>{ -f(),MR("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")}, -initHighlightingOnLoad:function(){ -f(),MR("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.") -},registerLanguage:function(n,r){let a=null;try{a=r(e)}catch(s){ -if(RR("Language definition for '{}' could not be registered.".replace("{}",n)), -!o)throw s;RR(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:qR,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:GD,lookahead:ZD,either:YD, -optional:XD,anyNumberOfTimes:WD} -;for(const y in OR)"object"==typeof OR[y]&&LD(OR[y]);return Object.assign(e,OR), -e},VR=HR({});VR.newInstance=()=>HR({});var ZR=VR;VR.HighlightJS=VR,VR.default=VR -;const WR=Bb(ZR),XR={},GR="hljs-";class YR{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 KR={ -ts:"typescript",js:"javascript",py:"python",py3:"python","c#":"csharp", -"c++":"cpp",node:"javascript"},JR={};function eN(e){ -const t=e||JR,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=WR.newInstance();return e&&o(e),{highlight:n, -highlightAuto:function(e,o){const a=(o||XR).subset||r();let i,s=-1,l=0 -;for(;++sl&&(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||XR,a="string"==typeof o.prefix?o.prefix:GR -;if(!t.getLanguage(e))throw new Error("Unknown language: `"+e+"` is not registered") -;t.configure({__emitter:YR,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){Hy(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 KR[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,k$(o),{prefix:i}):c.highlightAuto(k$(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 tN={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:[{ -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:"",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:":("+A$.join("|")+")"},{begin:":(:)?("+P$.join("|")+")"}] -},n.CSS_VARIABLE,{className:"attribute",begin:"\\b("+$$.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:C$.join(" ")},contains:[{ -begin:/[a-z-]+(?=:)/,className:"attribute"},...r,n.CSS_NUMBER_MODE]}]},{ -className:"selector-tag",begin:"\\b("+T$.join("|")+")\\b"}]}}, -curl:Bb((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:""}]}] -}),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://}],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:")?",/~~~/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,M$,e.C_BLOCK_COMMENT_MODE] -},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},M$,a]}},javascript:function(e){ -const t=e.regex,n=L$,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="",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:k},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,k,{ -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"]}]}]},x,{ -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=W$,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://, -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://,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=eD,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:G$.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("+J$.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("+X$.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:":("+Y$.join("|")+")"},{ -className:"selector-pseudo",begin:":(:)?("+K$.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:/\$[@%",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:"/,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 k=[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",...k]},...k,{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]?/},{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:""},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=oD,r=rD,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("+tD.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("+aD.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:nD.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:[/\./,cD(...dD,...pD)],className:{2:"keyword"}},a={ -match:lD(/\./,cD(...fD)),relevance:0 -},i=fD.filter((e=>"string"==typeof e)).concat(["_|0"]),s={variants:[{ -className:"keyword", -match:cD(...fD.filter((e=>"string"!=typeof e)).concat(hD).map(uD),...pD)}]},l={ -$pattern:cD(/\b\w+/,/#\w+/),keyword:i.concat(vD),literal:mD},c=[o,a,s],u=[{ -match:lD(/\./,cD(...bD)),relevance:0},{className:"built_in", -match:lD(/\b/,cD(...bD),/(?=\()/)}],d={match:/->/,relevance:0},p=[d,{ -className:"operator",relevance:0,variants:[{match:wD},{match:`\\.(\\.|${OD})+`}] -}],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:lD(/\\/,e,/[0\\tnr"']/)},{match:lD(/\\/,e,/u\{[0-9a-fA-F]{1,8}\}/)}] -}),v=(e="")=>({className:"subst",match:lD(/\\/,e,/[\t ]*(?:[\r\n]|\r\n)/) -}),b=(e="")=>({className:"subst",label:"interpol",begin:lD(/\\/,e,/\(/),end:/\)/ -}),y=(e="")=>({begin:lD(e,/"""/),end:lD(/"""/,e),contains:[g(e),v(e),b(e)] -}),O=(e="")=>({begin:lD(e,/"/),end:lD(/"/,e),contains:[g(e),b(e)]}),w={ -className:"string", -variants:[y(),y("#"),y("##"),y("###"),O(),O("#"),O("##"),O("###")] -},k=[e.BACKSLASH_ESCAPE,{begin:/\[/,end:/\]/,relevance:0, -contains:[e.BACKSLASH_ESCAPE]}],x={begin:/\/[^\s](?=[^/\n]*\/)/,end:/\//, -contains:k},S=e=>{const t=lD(e,/\//),n=lD(/\//,e);return{begin:t,end:n, -contains:[...k,{scope:"comment",begin:`#(?!.*${n})`,end:/$/}]}},_={ -scope:"regexp",variants:[S("###"),S("##"),S("#"),x]},E={match:lD(/`/,SD,/`/) -},T=[E,{className:"variable",match:/\$\d+/},{className:"variable", -match:`\\$${xD}+`}],C=[{match:/(@|#(un)?)available/,scope:"keyword",starts:{ -contains:[{begin:/\(/,end:/\)/,keywords:TD,contains:[...p,m,w]}]}},{ -scope:"keyword",match:lD(/@/,cD(...ED))},{scope:"meta",match:lD(/@/,SD)}],A={ -match:sD(/\b[A-Z]/),relevance:0,contains:[{className:"type", -match:lD(/(AV|CA|CF|CG|CI|CL|CM|CN|CT|MK|MP|MTK|MTL|NS|SCN|SK|UI|WK|XC)/,xD,"+") -},{className:"type",match:_D,relevance:0},{match:/[?!]+/,relevance:0},{ -match:/\.\.\./,relevance:0},{match:lD(/\s+&\s+/,sD(_D)),relevance:0}]},P={ -begin://,keywords:l,contains:[...r,...c,...C,d,A]};A.contains.push(P) -;const $={begin:/\(/,end:/\)/,relevance:0,keywords:l,contains:["self",{ -match:lD(SD,/\s*:/),keywords:"_|0",relevance:0 -},...r,_,...c,...u,...p,m,w,...T,...C,A]},D={begin://, -keywords:"repeat each",contains:[...r,A]},R={begin:/\(/,end:/\)/,keywords:l, -contains:[{begin:cD(sD(lD(SD,/\s*:/)),sD(lD(SD,/\s+/,SD,/\s*:/))),end:/:/, -relevance:0,contains:[{className:"keyword",match:/\b_\b/},{className:"params", -match:SD}]},...r,...c,...p,m,w,...C,A,$],endsParent:!0,illegal:/["']/},N={ -match:[/(func|macro)/,/\s+/,cD(E.match,SD,wD)],className:{1:"keyword", -3:"title.function"},contains:[D,R,t],illegal:[/\[/,/%/]},M={ -match:[/\b(?:subscript|init[?!]?)/,/\s*(?=[<(])/],className:{1:"keyword"}, -contains:[D,R,t],illegal:/\[|%/},I={match:[/operator/,/\s+/,wD],className:{ -1:"keyword",3:"title"}},L={begin:[/precedencegroup/,/\s+/,_D],className:{ -1:"keyword",3:"title"},contains:[A],keywords:[...gD,...mD],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,$]}},typescript:function(e){ -const t=function(e){const t=e.regex,n=CD,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="",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:k},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,k,{ -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"]}]}]},x,{ -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=CD,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:CD, -keyword:AD.concat(["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"]), -literal:PD,built_in:MD.concat(r),"variable.language":ND},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:ID,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}}},nN=function(e,...t){return t=>{ -(null==e?void 0:e.transform)&&(null==e?void 0:e.type)&&Hy(t,null==e?void 0:e.type,(t=>((null==e?void 0:e.transform)&&(null==e||e.transform(t)), -qy)))}};function rN(e){return i$().use(pP).use(MA).parse(e)}function oN(e,t=1){ -const n=rN(e),r=[];return Hy(n,"heading",(e=>{const n=aN(e);n&&r.push({ -depth:e.depth??t,value:n.value})})),r}function aN(e){if("text"===e.type)return e -;if("children"in e&&e.children)for(const t of e.children){const e=aN(t) -;if(e)return e}return null}function iN(e){var t;const n=rN(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=i$().use(DP).use(MA).stringify({type:"root",children:e});return t.trim() -}(e)))}const sN=(e,t)=>e.map((e=>({...e,slug:t.slug(e.value)})));function lN(e){ -const t=new ng,n=oN(e);return sN(n,t)}const cN=e=>{ -const t=Math.min(...e.map((e=>e.depth)));return t>=1&&t<=6?t:1};function uN(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 dN=e=>!!e&&!!Object.keys(uN(e)??{}).length,pN=()=>"undefined"!=typeof navigator&&/Mac/.test(navigator.platform),hN=(e,t)=>e.replace(/\/$/,"")+"/"+t.replace(/^\//,""),fN=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"] -;function mN(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)?Ym(null==o?void 0:o.url,e.variables):null==o?void 0:o.url,s=null==i?void 0:i.match(Df.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 gN="get",vN=e=>{ -if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${gN} as the default.`), -gN;const t=e.trim().toUpperCase() -;return n=t,fN.includes(n)?t:(console.warn(`${e} is not a valid request method. Using ${gN} as the default.`), -gN);var n};function bN(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=fd((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(Df.PATH),...r.matchAll(Df.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 yN=An({selectedServer:null,servers:[],variables:{}}),ON=e=>{var t -;const n=null==(t=yN.servers)?void 0:t[e.selectedServer??yN.selectedServer??0],r=(null==n?void 0:n.variables)?Object.fromEntries(Object.entries(n.variables).map((([e,t])=>[e,t.default??""]))):{} -;Object.assign(yN,{...yN,...e,variables:{...r,...e.variables}})} -;function wN(e,t){ -return Object.fromEntries(Object.entries(e).filter((([e])=>e in(t.variables??{})))) -} -const kN=({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=bN(void 0===(null==n?void 0:n.value)?(null==e?void 0:e.value)??bg():bg({ -servers:n.value}),{defaultServerUrl:null==t?void 0:t.value -}),o=null==r?void 0:r[yN.selectedServer??0];var a;ON({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())??""] -})))),...wN(yN.variables,(null==r?void 0:r[yN.selectedServer??0])??{})}})}),{ -deep:!0,immediate:!0}),{server:yN,setServer:ON}),xN=Fn(),SN=Fn(),_N=()=>({ -selectedExampleKey:xN,operationId:SN});const EN={"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"}}}} -},TN=Object.keys(EN),CN={ -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 AN(e){for(const t of new Set(TN)){ -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 PN(e){ -return null==e?void 0:e.find((e=>e.isEntrypoint))}function $N(e){ -return decodeURI(e.replace(/~1/g,"/").replace(/~0/g,"~"))}function DN(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?DN(n,t,[...e,r.toString()]):n)):r[o]="object"==typeof a&&null!==a?DN(a,t,e):a -}return t(r,n)}function RN(e){const t=[] -;return e&&"object"==typeof e?(DN(e,(e=>(e.$ref&&"string"==typeof e.$ref&&!e.$ref.startsWith("#")&&t.push(e.$ref.split("#")[0]), -e))),[...new Set(t)]):t}function NN(e){ -return void 0!==e&&Array.isArray(e)&&e.length>0&&e.some((e=>!0===e.isEntrypoint)) -}function MN(e){if(NN(e))return e;if("string"==typeof e)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=_f(e,n);if(!o)return null -;if(o.warnings.forEach((e=>kp(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 e} -function IN(e,t={}){if(NN(e))return e;const n=MN(e);return[{isEntrypoint:!0, -specification:n,filename:null,dir:"./",references:RN(n),...t}]} -function LN(e,t,n,r){void 0===r&&(r=[]);const o=IN(structuredClone(e)),a=PN(o) -;return i((null==n?void 0:n.specification)??a.specification,o,n??a), -i((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??PN(o)).specification};function i(e,n,o,a){let s -;return Object.entries(e??{}).forEach((([a,l])=>{if(void 0!==e.$ref){ -const a=jN(e.$ref,t,o,n,r);if(void 0===a)return -;delete e.$ref,"object"==typeof a&&Object.keys(a).forEach((t=>{ -void 0===e[t]&&(e[t]=a[t])}))}"object"!=typeof l||function(e){try{ -return JSON.stringify(e),!1}catch(t){return!0}}(l)||(s=i(l,n,o))})),{ -errors:(null==s?void 0:s.errors)??[]}}}function jN(e,t,n,r,o){ -if("string"!=typeof e)return void o.push({code:"INVALID_REFERENCE", -message:CN.INVALID_REFERENCE.replace("%s",e)}) -;const[a,i]=e.split("#",2),s=a!==n.filename;if(a&&s){ -const e=r.find((e=>e.filename===a));if(!e)return void o.push({ -code:"EXTERNAL_REFERENCE_NOT_FOUND", -message:CN.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",a)});const n=LN(r,t,e,o) -;return void 0===i?n.schema:jN(`#${i}`,t,e,r,o)}const l=function(e){ -return e.split("/").slice(1).map($N)}(i);try{ -return l.reduce(((e,t)=>e[t]),n.specification)}catch(c){o.push({ -code:"INVALID_REFERENCE",message:CN.INVALID_REFERENCE.replace("%s",e)})}} -async function UN(e,t){const n=IN(e),r=PN(n),o=LN(n,t);return{ -specification:r.specification,errors:o.errors,schema:o.schema, -...AN(r.specification)}}async function BN(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=PN(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=MN(await c.get(e))}catch(h){ -if(null==t?void 0:t.throwOnError)throw new Error(CN.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",e)) -;return l.push({code:"EXTERNAL_REFERENCE_NOT_FOUND", -message:CN.EXTERNAL_REFERENCE_NOT_FOUND.replace("%s",e)}),{specification:null, -filesystem:[],errors:l}}else u=MN(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:CN.NO_CONTENT}),{specification:null, -filesystem:[],errors:l}}let d=IN(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))):PN(d)).references??RN(u) -;if(0===p.length)return{specification:null==(a=PN(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 BN(r,{...t,filename:f}) -;l.push(...a),d=[...d,...o.map((e=>({...e,isEntrypoint:!1})))]}return{ -specification:null==(s=PN(d))?void 0:s.specification,filesystem:d,errors:l}} -function QN(e){var t;let n=e -;return(null==(t=n.openapi)?void 0:t.startsWith("3.0"))?(n.openapi="3.1.1", -n=DN(n,(e=>("undefined"!==e.type&&!0===e.nullable&&(e.type=["null",e.type], -delete e.nullable), -e))),n=DN(n,(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))),n=DN(n,((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))),n=DN(n,(e=>{ -if("object"===e.type&&void 0!==e.properties){ -const t=Object.entries(e.properties) -;for(const[e,n]of t)"object"==typeof n&&"string"===n.type&&"binary"===n.format&&(n.contentEncoding="application/octet-stream", -delete n.format)}return e})),n=DN(n,(e=>{ -if("string"!==e.type||"binary"!==e.format)return e -})),n=DN(n,(e=>"string"===e.type&&"base64"===e.format?{type:"string", -contentEncoding:"base64"}:e)),n):n}function FN(e){var t,n,r -;if(!(null==(t=e.swagger)?void 0:t.startsWith("2.0")))return e -;if(e.openapi="3.0.4", -delete e.swagger,console.warn("[upgradeFromTwoToThree] The upgrade from Swagger 2.0 to OpenAPI 3.0 documents is experimental and lacks features."), -e.host){const t=(null==(n=e.schemes)?void 0:n.length)?e.schemes:["http"] -;e.servers=t.map((t=>({url:`${t}://${e.host}${e.basePath??""}` -}))),delete e.basePath,delete e.schemes,delete e.host} -if(e.definitions&&("object"!=typeof e.components&&(e.components={}), -e.components.schemas=e.definitions,delete e.definitions,e=DN(e,(e=>{var t -;return(null==(t=e.$ref)?void 0:t.startsWith("#/definitions/"))&&(e.$ref=e.$ref.replace(/^#\/definitions\//,"#/components/schemas/")), -e}))),e.paths)for(const o in e.paths)if(Object.hasOwn(e.paths,o)){ -const t=e.paths[o];for(const n in t)if(Object.hasOwn(t,n)){const o=t[n] -;if(o.parameters){ -const t=structuredClone(o.parameters.find((e=>"body"===e.in))??{}) -;if(t&&Object.keys(t).length){delete t.name,delete t.in -;const n=e.consumes??o.consumes??["application/json"] -;"object"!=typeof o.requestBody&&(o.requestBody={}), -"object"!=typeof o.requestBody.content&&(o.requestBody.content={}) -;const{schema:r,...a}=t;o.requestBody={...o.requestBody,...a} -;for(const e of n)o.requestBody.content[e]={schema:r}} -o.parameters=o.parameters.filter((e=>"body"!==e.in)),delete o.consumes -;const n=o.parameters.filter((e=>"formData"===e.in));if(n.length>0){ -"object"!=typeof o.requestBody&&(o.requestBody={}), -"object"!=typeof o.requestBody.content&&(o.requestBody.content={}), -o.requestBody.content["application/x-www-form-urlencoded"]={schema:{ -type:"object",properties:{},required:[]}} -;for(const e of n)o.requestBody.content["application/x-www-form-urlencoded"].schema.properties[e.name]={ -type:e.type,description:e.description -},e.required&&o.requestBody.content["application/x-www-form-urlencoded"].schema.required.push(e.name) -;o.parameters=o.parameters.filter((e=>"formData"!==e.in))}} -if(o.responses)for(const t in o.responses)if(Object.hasOwn(o.responses,t)){ -const n=o.responses[t];if(n.schema){ -const t=e.produces??o.produces??["application/json"] -;"object"!=typeof n.content&&(n.content={});for(const e of t)n.content[e]={ -schema:n.schema};delete n.schema}} -delete o.produces,0===(null==(r=o.parameters)?void 0:r.length)&&delete o.parameters -}}if(e.securityDefinitions){ -"object"!=typeof e.components&&(e.components={}),e.components.securitySchemes={} -;for(const[t,n]of Object.entries(e.securityDefinitions))if("object"==typeof n)if("type"in n&&"oauth2"===n.type){ -const{flow:r,authorizationUrl:o,tokenUrl:a,scopes:i}=n -;e.components.securitySchemes[t]={type:"oauth2",flows:{[r]:{...o&&{ -authorizationUrl:o},...a&&{tokenUrl:a},...i&&{scopes:i}}}} -}else e.components.securitySchemes[t]=n;delete e.securityDefinitions}return e} -const qN={limit:20},zN=e=>{let t=0;const n={...qN,...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})`)} -}}},HN=e=>{let t={} -;t=e&&"object"==typeof e?structuredClone(e):bg(),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:vN(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=>fN.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:vN(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 -}},VN=Symbol(),ZN=Symbol(),WN=Symbol(),XN=Symbol(),GN=async e=>{var t -;null==(t=document.getElementById(e))||t.scrollIntoView() -},YN=e=>new Promise((t=>setTimeout(t,e))),KN=sd(Symbol("downloadSpec")) -;const JN=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 $f(e,n):await $f(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?Uf(r):void 0} -;function eM({specConfig:e,proxyUrl:t}){const n=Fn(""),r=An(bg()),o=Fn(null) -;function a(e){return e?((e,{proxyUrl:t}={})=>new Promise((async(n,r)=>{var o -;try{if(!e)return n(HN(bg())) -;const a=performance.now(),{filesystem:i}=await BN(e,{plugins:[zN({ -fetch:e=>fetch(t?vd(t,e):e)})] -}),{schema:s,errors:l}=await UN(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(HN(bg()))):n(HN(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(HN(bg()))})))(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,bg())}return Ma((()=>Zn(e)),(async e=>{ -var r;if(e){const o=null==(r=await JN(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 tM=sd(Symbol()),{getHeadingId:nM,getModelId:rM,getOperationId:oM,getSectionId:aM,getTagId:iM,getWebhookId:sM,hash:lM}=mg(),cM=Fn(void 0),uM=An({}) -;function dM(e){var t,n,r -;"alpha"===uM.tagsSorter?e.tags=null==(t=e.tags)?void 0:t.sort(((e,t)=>e.name.localeCompare(t.name))):"function"==typeof uM.tagsSorter&&(e.tags=null==(n=e.tags)?void 0:n.sort(uM.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"===uM.operationsSorter?i=o:"method"===uM.operationsSorter?i=a:"function"==typeof uM.operationsSorter&&(i=uM.operationsSorter), -i&&(null==(r=e.tags)||r.forEach((e=>{var t -;e.operations=null==(t=e.operations)?void 0:t.sort(i)}))),cM.value=e} -const pM=Fn(!1),hM=Fn(!1),fM=An(Km["useSidebarContent-collapsedSidebarItems"]??{}) -;function mM(e){fM[e]=!fM[e]}function gM(e,t){fM[e]=t}const vM=Fn([]) -;const bM=Ui((()=>{var e,t,n,r,o,a,i,s,l,c;const u={},d=[];let p=null -;vM.value.forEach((e=>{var t;e.depth===cN(vM.value)?(p={id:nM(e),title:e.value, -show:!0,children:[]},d.push(p)):p&&(null==(t=p.children)||t.push({id:nM(e), -title:e.value,show:!0}))})) -;const h=null==(t=null==(e=cM.value)?void 0:e.tags)?void 0:t[0],f=h&&(1!==(null==(m=null==(n=cM.value)?void 0:n.tags)?void 0:m.length)||"default"!==m[0].name||""!==m[0].description)?null==(o=null==(r=cM.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:iM(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=oM(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=oM(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=dN(cM.value)&&!pM.value?[{id:rM(),title:"Models", -show:!0,children:Object.keys(uN(cM.value)??{}).map((e=>{var t;const n=rM(e) -;return u[n]=e,{id:n,title:(null==(t=uN(cM.value))?void 0:t[e]).title??e,show:!0 -}}))}]:[],v=(b=cM.value)&&Object.keys((null==b?void 0:b.webhooks)??{}).length?[{ -id:sM(),title:"Webhooks",show:!0, -children:Object.keys((null==(i=cM.value)?void 0:i.webhooks)??{}).map((e=>{ -var t,n;const r=sM(e) -;return u[r]=e,Object.keys((null==(n=null==(t=cM.value)?void 0:t.webhooks)?void 0:n[e])??{}).map((t=>{ -var n,r,o;return{id:sM(e,t), -title:null==(o=null==(r=null==(n=cM.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=cM.value)?void 0:s["x-tagGroups"])?null==(c=null==(l=cM.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 hM.value&&O.forEach((e=>{ -gM(e.id,!0),e.show=!0})),{entries:O,titles:u}})),yM=Fn(!1),OM=Ui((()=>{var e,t -;return(null==(t=null==(e=bM.value)?void 0:e.titles)?void 0:t[lM.value])??"" -})),wM=e=>{const t=aM(e);if(t!==e)if(fM[t])GN(e);else{const n=tM.on((t=>{ -t.id===e&&(GN(e),n())}));gM(t,!0)}};function kM(e){ -return Object.assign(uM,e),(null==e?void 0:e.parsedSpec)&&(dM(e.parsedSpec), -Ma((()=>{var e,t -;return null==(t=null==(e=cM.value)?void 0:e.tags)?void 0:t.length}),(()=>{ -var e,t;if(lM.value){const e=aM(lM.value);e&&gM(e,!0)}else{ -const n=null==(t=null==(e=cM.value)?void 0:e.tags)?void 0:t[0];n&&gM(iM(n),!0)} -})),Ma((()=>{var e,t -;return null==(t=null==(e=cM.value)?void 0:e.info)?void 0:t.description}),(()=>{ -var e,t;const n=null==(t=null==(e=cM.value)?void 0:e.info)?void 0:t.description -;return vM.value=n?function(e){const t=lN(e),n=cN(t) -;return t.filter((e=>e.depth===n||e.depth===n+1))}(n):[]}),{immediate:!0})),{ -breadcrumb:OM,items:bM,isSidebarOpen:yM,collapsedSidebarItems:fM, -toggleCollapsedSidebarItem:mM,setCollapsedSidebarItem:gM,hideModels:pM, -setParsedSpec:dM,defaultOpenAllTags:hM,scrollToOperation:wM}}const xM={ -targetKey:"shell",clientKey:"curl"};function SM(e){var t -;return(null==(t=CM.value.find((t=>t.key===e.targetKey)))?void 0:t.title)??e.targetKey -}function _M(e){var t,n -;return(null==(n=null==(t=CM.value.find((t=>t.key===e.targetKey)))?void 0:t.clients.find((t=>t.key===e.clientKey)))?void 0:n.title)??e.clientKey -}const EM=Ui((()=>SM(IM))),TM=Ui((()=>_M(IM)));const CM=Ui((()=>{var e -;const t=Object.keys(gy).map((e=>({...gy[e].info, -clients:Object.keys(gy[e].clientsById).map((t=>gy[e].clientsById[t].info))}))) -;return null==(e=t.find((e=>"node"===e.key)))||e.clients.unshift({ -description:"An HTTP/1.1 client, written from scratch for Node.js.", -key:"undici",link:"https://github.com/nodejs/undici",title:"undici" -}),function(e,t){return!0===t.value?[]:e.flatMap((e=>{var n -;return"object"!=typeof t.value?[]:Array.isArray(t.value)?(e.clients=e.clients.filter((e=>!t.value.includes(e.key))), -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.key)))), -(null==(n=null==e?void 0:e.clients)?void 0:n.length)?[e]:[])}))}(t,PM)})),AM={ -node:["unirest"]},PM=Fn({...!0===AM?{}:AM}),$M=Fn();function DM(e){ -void 0!==e&&($M.value=e,LM(RM()))}const RM=()=>{var e,t,n,r -;return NM($M.value)?$M.value:NM(xM)?xM:{ -targetKey:null==(e=CM.value[0])?void 0:e.key, -clientKey:null==(r=null==(n=null==(t=CM.value[0])?void 0:t.clients)?void 0:n[0])?void 0:r.key -}};function NM(e){ -return void 0!==e&&!!CM.value.find((t=>t.key===e.targetKey&&t.clients.find((t=>t.key===e.clientKey)))) -}function MM(){Gm(IM,RM())}const IM=An(RM()),LM=e=>{Object.assign(IM,{...IM,...e -})},jM=()=>({httpClient:$n(IM),resetState:MM,setHttpClient:LM, -setDefaultHttpClient:DM,excludedClients:$n(PM),setExcludedClients:e=>{ -PM.value=e,Gm(IM,RM())},availableTargets:CM,getClientTitle:_M,getTargetTitle:SM, -httpTargetTitle:EM,httpClientTitle:TM});function UM(e,t,n){ -let r=Fn(null==n?void 0:n.value),o=Ui((()=>void 0!==e.value)) -;return[Ui((()=>o.value?e.value:r.value)),function(e){ -return o.value||(r.value=e),null==t?void 0:t(e)}]}function BM(e){ -"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{ -throw e}))))}function QM(){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 BM((()=>{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=QM();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 FM=Symbol("headlessui.useid"),qM=0;function zM(){ -return la(FM,(()=>""+ ++qM))()}function HM(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 VM(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,VM),r} -var ZM=Object.defineProperty,WM=(e,t,n)=>(((e,t,n)=>{t in e?ZM(e,t,{ -enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n -})(e,"symbol"!=typeof t?t+"":t,n),n);let XM=new class{constructor(){ -WM(this,"current",this.detect()),WM(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 GM(e){if(XM.isServer)return null -;if(e instanceof Node)return e.ownerDocument -;if(null!=e&&e.hasOwnProperty("value")){let t=HM(e);if(t)return t.ownerDocument} -return document} -let YM=["[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 KM,JM,eI,tI=((eI=tI||{})[eI.First=1]="First", -eI[eI.Previous=2]="Previous",eI[eI.Next=4]="Next", -eI[eI.Last=8]="Last",eI[eI.WrapAround=16]="WrapAround", -eI[eI.NoScroll=32]="NoScroll", -eI),nI=((JM=nI||{})[JM.Error=0]="Error",JM[JM.Overflow=1]="Overflow", -JM[JM.Success=2]="Success", -JM[JM.Underflow=3]="Underflow",JM),rI=((KM=rI||{})[KM.Previous=-1]="Previous", -KM[KM.Next=1]="Next",KM);function oI(e=document.body){ -return null==e?[]:Array.from(e.querySelectorAll(YM)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))) -}var aI=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(aI||{}) -;function iI(e,t=0){var n;return e!==(null==(n=GM(e))?void 0:n.body)&&VM(t,{ -0:()=>e.matches(YM),1(){let t=e;for(;null!==t;){if(t.matches(YM))return!0 -;t=t.parentElement}return!1}})}function sI(e){let t=GM(e);yr((()=>{ -t&&!iI(t.activeElement,0)&&cI(e)}))} -var lI=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(lI||{}) -;function cI(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 uI=["textarea","input"].join(",");function dI(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 pI(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?dI(e):e:oI(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,uI))&&n -}(l)&&l.select(),2}function hI(){ -return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0 -}function fI(){return hI()||/Android/gi.test(window.navigator.userAgent)} -function mI(e,t,n){XM.isServer||Na((r=>{ -document.addEventListener(e,t,n),r((()=>document.removeEventListener(e,t,n)))})) -}function gI(e,t,n){XM.isServer||Na((r=>{ -window.addEventListener(e,t,n),r((()=>window.removeEventListener(e,t,n)))}))} -function vI(e,t,n=Ui((()=>!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:HM(e) -;if(null!=t&&t.contains(a)||r.composed&&r.composedPath().includes(t))return} -return!iI(a,aI.Loose)&&-1!==a.tabIndex&&r.preventDefault(),t(r,a)}let o=Fn(null) -;mI("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),mI("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),mI("click",(e=>{fI()||o.value&&(r(e,(()=>o.value)),o.value=null) -}),!0),mI("touchend",(e=>r(e,(()=>e.target instanceof HTMLElement?e.target:null))),!0), -gI("blur",(e=>r(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0) -}function bI(e,t){if(e)return e;let n=null!=t?t:"button" -;return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0} -function yI(e,t){let n=Fn(bI(e.value.type,e.value.as));return go((()=>{ -n.value=bI(e.value.type,e.value.as)})),Na((()=>{var e -;n.value||HM(t)&&HM(t)instanceof HTMLButtonElement&&(null==(e=HM(t))||!e.hasAttribute("type"))&&(n.value="button") -})),n}function OI(e){return[e.screenX,e.screenY]}function wI(){let e=Fn([-1,-1]) -;return{wasMoved(t){let n=OI(t) -;return(e.value[0]!==n[0]||e.value[1]!==n[1])&&(e.value=n,!0)},update(t){ -e.value=OI(t)}}}function kI({container:e,accept:t,walk:n,enabled:r}){Na((()=>{ -let o=e.value;if(!o||void 0!==r&&!r.value)return;let a=GM(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 xI,SI=(e=>(e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy", -e[e.Static=2]="Static", -e))(SI||{}),_I=((xI=_I||{})[xI.Unmount=0]="Unmount",xI[xI.Hidden=1]="Hidden",xI) -;function EI({visible:e=!0,features:t=0,ourProps:n,theirProps:r,...o}){var a -;let i=AI(r,n),s=Object.assign(o,{props:i});if(e||2&t&&i.static)return TI(s) -;if(1&t){return VM(null==(a=i.unmount)||a?0:1,{0:()=>null,1:()=>TI({...o,props:{ -...i,hidden:!0,style:{display:"none"}}})})}return TI(s)} -function TI({props:e,attrs:t,slots:n,slot:r,name:o}){var a,i -;let{as:s,...l}=$I(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=CI(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=AI(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 Bi(s,Object.assign({},l,u),{default:()=>c})}function CI(e){ -return e.flatMap((e=>e.type===Wa?CI(e.children):[e]))}function AI(...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 PI(e){let t=Object.assign({},e) -;for(let n in t)void 0===t[n]&&delete t[n];return t}function $I(e,t=[]){ -let n=Object.assign({},e);for(let r of t)r in n&&delete n[r];return n} -var DI=(e=>(e[e.None=1]="None", -e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(DI||{});let RI=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 EI({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"})}}),NI=Symbol("Context") -;var MI=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing", -e[e.Opening=8]="Opening",e))(MI||{});function II(){return la(NI,null)} -function LI(e){sa(NI,e)} -var jI,UI=((jI=UI||{}).Space=" ",jI.Enter="Enter",jI.Escape="Escape", -jI.Backspace="Backspace", -jI.Delete="Delete",jI.ArrowLeft="ArrowLeft",jI.ArrowUp="ArrowUp", -jI.ArrowRight="ArrowRight",jI.ArrowDown="ArrowDown",jI.Home="Home",jI.End="End", -jI.PageUp="PageUp",jI.PageDown="PageDown",jI.Tab="Tab",jI);let BI=[] -;!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&&BI[0]!==e.target&&(BI.unshift(e.target), -BI=BI.filter((e=>null!=e&&e.isConnected)),BI.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 QI,FI=((QI=FI||{})[QI.First=0]="First", -QI[QI.Previous=1]="Previous",QI[QI.Next=2]="Next", -QI[QI.Last=3]="Last",QI[QI.Specific=4]="Specific",QI[QI.Nothing=5]="Nothing",QI) -;function qI(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=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r -;case 2:for(let e=o+1;e=0;--e)if(!t.resolveDisabled(n[e],e,n))return e;return r -;case 4:for(let r=0;r{ -(e=null!=e?e:window).addEventListener(t,n,r), -o((()=>e.removeEventListener(t,n,r)))}))}var WI=(e=>(e[e.Forwards=0]="Forwards", -e[e.Backwards=1]="Backwards",e))(WI||{});function XI(){let e=Fn(0) -;return gI("keydown",(t=>{"Tab"===t.key&&(e.value=t.shiftKey?1:0)})),e} -function GI(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=HM(n) -;e instanceof HTMLElement&&t.add(e)}return t} -var YI=(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))(YI||{});let KI=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=Ui((()=>GM(o))),i=Fn(!1) -;go((()=>i.value=!0)),Oo((()=>i.value=!1)),function({ownerDocument:e},t){ -let n=function(e){let t=Fn(BI.slice());return Ma([e],(([e],[n])=>{ -!0===n&&!1===e?BM((()=>{t.value.splice(0) -})):!1===n&&!0===e&&(t.value=BI.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)&&cI(n()) -}),{flush:"post"})})),Oo((()=>{t.value&&cI(n())}))}({ownerDocument:a -},Ui((()=>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=HM(t) -;l&&BM((()=>{var t,r;if(!a.value)return -;let i=HM(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?cI(i):pI(l,tI.First|tI.NoScroll)===nI.Error&&console.warn("There are no focusable elements inside the "), -o.value=null==(r=e.value)?void 0:r.activeElement}))}),{immediate:!0,flush:"post" -})})),o}({ownerDocument:a,container:o,initialFocus:Ui((()=>e.initialFocus)) -},Ui((()=>i.value&&Boolean(2&e.features)))) -;!function({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){ -var a;ZI(null==(a=e.value)?void 0:a.defaultView,"focus",(e=>{if(!o.value)return -;let a=GI(n);HM(t)instanceof HTMLElement&&a.add(HM(t));let i=r.value -;if(!i)return;let s=e.target -;s&&s instanceof HTMLElement?JI(a,s)?(r.value=s,cI(s)):(e.preventDefault(), -e.stopPropagation(),cI(i)):cI(r.value)}),!0)}({ownerDocument:a,container:o, -containers:e.containers,previousActiveElement:s -},Ui((()=>i.value&&Boolean(8&e.features))));let l=XI();function c(e){let t=HM(o) -;t&&VM(l.value,{[WI.Forwards]:()=>{pI(t,tI.First,{skipElements:[e.relatedTarget] -})},[WI.Backwards]:()=>{pI(t,tI.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=GI(e.containers) -;HM(o)instanceof HTMLElement&&n.add(HM(o));let r=t.relatedTarget -;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(JI(n,r)||(u.value?pI(HM(o),VM(l.value,{ -[WI.Forwards]:()=>tI.Next,[WI.Backwards]:()=>tI.Previous})|tI.WrapAround,{ -relativeTo:t.target}):t.target instanceof HTMLElement&&cI(t.target)))} -return()=>{let r={ref:o,onKeydown:d,onFocusout:p -},{features:a,initialFocus:i,containers:s,...l}=e -;return Bi(Wa,[Boolean(4&a)&&Bi(RI,{as:"button",type:"button", -"data-headlessui-focus-guard":!0,onFocus:c,features:DI.Focusable}),EI({ -ourProps:r,theirProps:{...t,...l},slot:{},attrs:t,slots:n,name:"FocusTrap" -}),Boolean(4&a)&&Bi(RI,{as:"button",type:"button", -"data-headlessui-focus-guard":!0,onFocus:c,features:DI.Focusable})])}}}),{ -features:YI});function JI(e,t){for(let n of e)if(n.contains(t))return!0;return!1 -}function eL(){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 tL(e){let t={} -;for(let n of e)Object.assign(t,n(t));return t}let nL=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:QM(),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:tL(n)},o=[hI()?{ -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=QM() -;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)}))}))}}:{},eL(),{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 rL(e,t,n){let r=function(e){ -let t=qn(e.getSnapshot());return Oo(e.subscribe((()=>{t.value=e.getSnapshot() -}))),t}(nL),o=Ui((()=>{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 -;nL.dispatch("PUSH",e,n);let a=!1;o((()=>{ -a||(nL.dispatch("POP",null!=r?r:e,n),a=!0)}))}),{immediate:!0}),o} -nL.subscribe((()=>{let e=nL.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)&&nL.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n), -0===n.count&&nL.dispatch("TEARDOWN",n)}}));let oL=new Map,aL=new Map -;function iL(e,t=Fn(!0)){Na((n=>{var r;if(!t.value)return;let o=HM(e) -;if(!o)return;n((function(){var e;if(!o)return;let t=null!=(e=aL.get(o))?e:1 -;if(1===t?aL.delete(o):aL.set(o,t-1),1!==t)return;let n=oL.get(o) -;n&&(null===n["aria-hidden"]?o.removeAttribute("aria-hidden"):o.setAttribute("aria-hidden",n["aria-hidden"]), -o.inert=n.inert,oL.delete(o))}));let a=null!=(r=aL.get(o))?r:0 -;aL.set(o,a+1),0===a&&(oL.set(o,{"aria-hidden":o.getAttribute("aria-hidden"), -inert:o.inert}),o.setAttribute("aria-hidden","true"),o.inert=!0)}))} -function sL({defaultContainers:e=[],portals:t,mainTreeNodeRef:n}={}){ -let r=Fn(null),o=GM(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(HM(r))||e.contains(null==(i=null==(a=HM(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:Bi(RI,{features:DI.Hidden,ref:r -})}}let lL=Symbol("ForcePortalRootContext");let cL=no({name:"ForcePortalRoot", -props:{as:{type:[Object,String],default:"template"},force:{type:Boolean, -default:!1}},setup:(e,{slots:t,attrs:n})=>(sa(lL,e.force),()=>{ -let{force:r,...o}=e;return EI({theirProps:o,ourProps:{},slot:{},slots:t,attrs:n, -name:"ForcePortalRoot"})})}),uL=Symbol("StackContext") -;var dL=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(dL||{}) -;function pL({type:e,enabled:t,element:n,onUpdate:r}){let o=la(uL,(()=>{})) -;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(uL,a)}let hL=Symbol("DescriptionContext") -;function fL({slot:e=Fn({}),name:t="Description",props:n={}}={}){let r=Fn([]) -;return sa(hL,{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 -}),Ui((()=>r.value.length>0?r.value.join(" "):void 0))}let mL=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-${zM()}`,a=function(){ -let e=la(hL,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 EI({ -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 gL=new WeakMap;function vL(e,t){let n=t(function(e){var t -;return null!=(t=gL.get(e))?t:0}(e));return n<=0?gL.delete(e):gL.set(e,n),n} -let bL=no({name:"Portal",props:{as:{type:[Object,String],default:"div"}}, -setup(e,{slots:t,attrs:n}){ -let r=Fn(null),o=Ui((()=>GM(r))),a=la(lL,!1),i=la(wL,null),s=Fn(!0===a||null==i?function(e){ -let t=GM(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&&vL(s.value,(e=>e+1));let l=Fn(!1) -;go((()=>{l.value=!0})),Na((()=>{a||null!=i&&(s.value=i.resolveTarget())})) -;let c=la(yL,null),u=!1,d=_i();return Ma(r,(()=>{if(u||!c)return;let e=HM(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||vL(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 Bi(Br,{to:s.value},EI({ourProps:o, -theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}} -}),yL=Symbol("PortalParentContext");function OL(){let e=la(yL,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(yL,r),()=>{var e -;return null==(e=t.default)?void 0:e.call(t)})})]} -let wL=Symbol("PortalGroupContext"),kL=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(wL,r),()=>{let{target:r,...o}=e;return EI({theirProps:o,ourProps:{}, -slot:{},attrs:t,slots:n,name:"PortalGroup"})}}}) -;var xL,SL=((xL=SL||{})[xL.Open=0]="Open",xL[xL.Closed=1]="Closed",xL) -;let _L=Symbol("DialogContext");function EL(e){let t=la(_L,null);if(null===t){ -let t=new Error(`<${e} /> is missing a parent component.`) -;throw Error.captureStackTrace&&Error.captureStackTrace(t,EL),t}return t} -let TL="DC8F892D-2EBD-447C-A4C8-A03058436FF4",CL=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:TL},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-${zM()}`,l=Fn(!1);go((()=>{l.value=!0 -})) -;let c=!1,u=Ui((()=>"dialog"===e.role||"alertdialog"===e.role?e.role:(c||(c=!0, -console.warn(`Invalid role [${u}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)), -"dialog"))),d=Fn(0),p=II(),h=Ui((()=>e.open===TL&&null!==p?(p.value&MI.Open)===MI.Open:e.open)),f=Fn(null),m=Ui((()=>GM(f))) -;if(o({el:f,$el:f -}),e.open===TL&&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===TL?void 0:e.open}`) -;let g=Ui((()=>l.value&&h.value?0:1)),v=Ui((()=>0===g.value)),b=Ui((()=>d.value>1)),y=null!==la(_L,null),[O,w]=OL(),{resolveContainers:k,mainTreeNodeRef:x,MainTreeNode:S}=sL({ -portals:O,defaultContainers:[Ui((()=>{var e -;return null!=(e=R.panelRef.value)?e:f.value}))] -}),_=Ui((()=>b.value?"parent":"leaf")),E=Ui((()=>null!==p&&(p.value&MI.Closing)===MI.Closing)),T=Ui((()=>!y&&!E.value&&v.value)),C=Ui((()=>{ -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(HM(x))&&e instanceof HTMLElement))))?n:null -}));iL(C,T);let A=Ui((()=>!!b.value||v.value)),P=Ui((()=>{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(HM(x))&&e instanceof HTMLElement)))?n:null -}));iL(P,A),pL({type:"Dialog",enabled:Ui((()=>0===g.value)),element:f, -onUpdate:(e,t)=>{if("Dialog"===t)return VM(e,{[dL.Add]:()=>d.value+=1, -[dL.Remove]:()=>d.value-=1})}});let $=fL({name:"DialogDescription", -slot:Ui((()=>({open:h.value})))}),D=Fn(null),R={titleId:D,panelRef:Fn(null), -dialogState:g,setTitleId(e){D.value!==e&&(D.value=e)},close(){t("close",!1)}} -;sa(_L,R);let N=Ui((()=>!(!v.value||b.value)));vI(k,((e,t)=>{e.preventDefault(), -R.close(),yr((()=>null==t?void 0:t.focus()))}),N) -;let M=Ui((()=>!(b.value||0!==g.value))) -;ZI(null==(i=m.value)?void 0:i.defaultView,"keydown",(e=>{ -M.value&&(e.defaultPrevented||e.key===UI.Escape&&(e.preventDefault(), -e.stopPropagation(),R.close()))}));let I=Ui((()=>!(E.value||0!==g.value||y))) -;return rL(m,I,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],k]} -})),Na((e=>{if(0!==g.value)return;let t=HM(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&&R.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":D.value, -"aria-describedby":$.value},l={open:0===g.value};return Bi(cL,{force:!0 -},(()=>[Bi(bL,(()=>Bi(kL,{target:f.value},(()=>Bi(cL,{force:!1},(()=>Bi(KI,{ -initialFocus:o,containers:k,features:v.value?VM(_.value,{ -parent:KI.features.RestoreFocus,leaf:KI.features.All&~KI.features.FocusLock -}):KI.features.None},(()=>Bi(w,{},(()=>EI({ourProps:i,theirProps:{...a,...n}, -slot:l,attrs:n,slots:r,visible:0===g.value,features:SI.RenderStrategy|SI.Static, -name:"Dialog"}))))))))))),Bi(S)]))}}}),AL=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-${zM()}`,i=EL("DialogPanel") -;function s(e){e.stopPropagation()}return r({el:i.panelRef,$el:i.panelRef -}),()=>{let{...r}=e;return EI({ourProps:{id:a,ref:i.panelRef,onClick:s}, -theirProps:r,slot:{open:0===i.dialogState.value},attrs:t,slots:n, -name:"DialogPanel"})}}}),PL=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-${zM()}`,a=EL("DialogTitle") -;return go((()=>{a.setTitleId(o),Oo((()=>a.setTitleId(null)))})),()=>{ -let{...r}=e;return EI({ourProps:{id:o},theirProps:r,slot:{ -open:0===a.dialogState.value},attrs:t,slots:n,name:"DialogTitle"})}}}),$L=mL -;var DL=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(DL||{}) -;let RL=Symbol("DisclosureContext");function NL(e){let t=la(RL,null) -;if(null===t){ -let t=new Error(`<${e} /> is missing a parent component.`) -;throw Error.captureStackTrace&&Error.captureStackTrace(t,NL),t}return t} -let ML=Symbol("DisclosurePanelContext");let IL=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-${zM()}`), -panelId:Fn(`headlessui-disclosure-panel-${zM()}`),disclosureState:r,panel:o, -button:a,toggleDisclosure(){r.value=VM(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?HM(e):HM(i.button):HM(i.button) -;null==t||t.focus()}};return sa(RL,i),LI(Ui((()=>VM(r.value,{0:MI.Open, -1:MI.Closed})))),()=>{let{defaultOpen:o,...a}=e;return EI({theirProps:a, -ourProps:{},slot:{open:0===r.value,close:i.close},slots:t,attrs:n, -name:"Disclosure"})}}}),LL=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=NL("DisclosureButton"),a=la(ML,null),i=Ui((()=>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=yI(Ui((()=>({as:e.as, -type:t.type}))),s);function c(){var t -;e.disabled||(i.value?(o.toggleDisclosure(), -null==(t=HM(o.button))||t.focus()):o.toggleDisclosure())}function u(t){var n -;if(!e.disabled)if(i.value)switch(t.key){case UI.Space:case UI.Enter: -t.preventDefault(), -t.stopPropagation(),o.toggleDisclosure(),null==(n=HM(o.button))||n.focus() -}else switch(t.key){case UI.Space:case UI.Enter: -t.preventDefault(),t.stopPropagation(),o.toggleDisclosure()}}function d(e){ -if(e.key===UI.Space)e.preventDefault()}return()=>{var r;let a={ -open:0===o.disclosureState.value},{id:p,...h}=e;return EI({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||HM(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"})}}}),jL=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=NL("DisclosurePanel") -;go((()=>{null!==e.id&&(o.panelId.value=e.id)})),Oo((()=>{o.panelId.value=null -})),r({el:o.panel,$el:o.panel}),sa(ML,o.panelId) -;let a=II(),i=Ui((()=>null!==a?(a.value&MI.Open)===MI.Open:0===o.disclosureState.value)) -;return()=>{var r;let a={open:0===o.disclosureState.value,close:o.close -},{id:s,...l}=e;return EI({ourProps:{id:null!=(r=o.panelId.value)?r:s, -ref:o.panel},theirProps:l,slot:a,attrs:t,slots:n, -features:SI.RenderStrategy|SI.Static,visible:i.value,name:"DisclosurePanel"})}} -}),UL=/([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g -;function BL(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 UL.test(i)&&(i=i.replace(UL,"")),i}function QL(e){let t=Fn(""),n=Fn("") -;return()=>{let r=HM(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():BL(t).trim()}return null})).filter(Boolean) -;if(e.length>0)return e.join(", ")}return BL(e).trim()}(r).trim().toLowerCase() -;return t.value=o,n.value=a,a}}function FL(e,t){return e===t} -var qL=(e=>(e[e.Open=0]="Open", -e[e.Closed=1]="Closed",e))(qL||{}),zL=(e=>(e[e.Single=0]="Single", -e[e.Multi=1]="Multi", -e))(zL||{}),HL=(e=>(e[e.Pointer=0]="Pointer",e[e.Other=1]="Other",e))(HL||{}) -;let VL=Symbol("ListboxContext");function ZL(e){let t=la(VL,null);if(null===t){ -let t=new Error(`<${e} /> is missing a parent component.`) -;throw Error.captureStackTrace&&Error.captureStackTrace(t,ZL),t}return t} -let WL=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:()=>FL},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=dI(e(l.value.slice()),(e=>HM(e.dataRef.domRef))),r=t?n.indexOf(t):null -;return-1===r&&(r=null),{options:n,activeOptionIndex:r}} -let h=Ui((()=>e.multiple?1:0)),[f,m]=UM(Ui((()=>e.modelValue)),(e=>r("update:modelValue",e)),Ui((()=>e.defaultValue))),g=Ui((()=>void 0===f.value?VM(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:Ui((()=>e.horizontal?"horizontal":"vertical")),labelRef:a, -buttonRef:i,optionsRef:s,disabled:Ui((()=>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=qI(t===FI.Specific?{ -focus:FI.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(VM(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}}))}};vI([i,s],((e,t)=>{var n -;v.closeListbox(), -iI(t,aI.Loose)||(e.preventDefault(),null==(n=HM(i))||n.focus()) -}),Ui((()=>0===o.value))),sa(VL,v),LI(Ui((()=>VM(o.value,{0:MI.Open,1:MI.Closed -}))));let b=Ui((()=>{var e;return null==(e=HM(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 Bi(Wa,[...null!=r&&null!=g.value?zI({ -[r]:g.value}).map((([e,t])=>Bi(RI,PI({features:DI.Hidden,key:e,as:"input", -type:"hidden",hidden:!0,readOnly:!0,form:s,disabled:i,name:e,value:t -})))):[],EI({ourProps:{},theirProps:{...n, -...$I(l,["defaultValue","onUpdate:modelValue","horizontal","multiple","by"])}, -slot:c,slots:t,attrs:n,name:"Listbox"})])}}}),XL=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-${zM()}`,a=ZL("ListboxLabel") -;function i(){var e;null==(e=HM(a.buttonRef))||e.focus({preventScroll:!0})} -return()=>{let r={open:0===a.listboxState.value,disabled:a.disabled.value -},{...s}=e;return EI({ourProps:{id:o,ref:a.labelRef,onClick:i},theirProps:s, -slot:r,attrs:t,slots:n,name:"ListboxLabel"})}}}),GL=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-${zM()}`,i=ZL("ListboxButton") -;function s(e){switch(e.key){case UI.Space:case UI.Enter:case UI.ArrowDown: -e.preventDefault(),i.openListbox(),yr((()=>{var e -;null==(e=HM(i.optionsRef))||e.focus({preventScroll:!0 -}),i.value.value||i.goToOption(FI.First)}));break;case UI.ArrowUp: -e.preventDefault(),i.openListbox(),yr((()=>{var e -;null==(e=HM(i.optionsRef))||e.focus({preventScroll:!0 -}),i.value.value||i.goToOption(FI.Last)}))}}function l(e){ -if(e.key===UI.Space)e.preventDefault()}function c(e){ -i.disabled.value||(0===i.listboxState.value?(i.closeListbox(),yr((()=>{var e -;return null==(e=HM(i.buttonRef))?void 0:e.focus({preventScroll:!0}) -}))):(e.preventDefault(),i.openListbox(),function(e){ -requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e -;return null==(e=HM(i.optionsRef))?void 0:e.focus({preventScroll:!0})}))))}r({ -el:i.buttonRef,$el:i.buttonRef});let u=yI(Ui((()=>({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 EI({ourProps:{ -ref:i.buttonRef,id:a,type:u.value,"aria-haspopup":"listbox", -"aria-controls":null==(r=HM(i.optionsRef))?void 0:r.id, -"aria-expanded":0===i.listboxState.value, -"aria-labelledby":i.labelRef.value?[null==(o=HM(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"})}}}),YL=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-${zM()}`,i=ZL("ListboxOptions"),s=Fn(null) -;function l(e){switch(s.value&&clearTimeout(s.value),e.key){case UI.Space: -if(""!==i.searchQuery.value)return e.preventDefault(), -e.stopPropagation(),i.search(e.key);case UI.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=HM(i.buttonRef))?void 0:e.focus({preventScroll:!0})})));break -;case VM(i.orientation.value,{vertical:UI.ArrowDown,horizontal:UI.ArrowRight}): -return e.preventDefault(),e.stopPropagation(),i.goToOption(FI.Next) -;case VM(i.orientation.value,{vertical:UI.ArrowUp,horizontal:UI.ArrowLeft}): -return e.preventDefault(),e.stopPropagation(),i.goToOption(FI.Previous) -;case UI.Home:case UI.PageUp: -return e.preventDefault(),e.stopPropagation(),i.goToOption(FI.First) -;case UI.End:case UI.PageDown: -return e.preventDefault(),e.stopPropagation(),i.goToOption(FI.Last) -;case UI.Escape: -e.preventDefault(),e.stopPropagation(),i.closeListbox(),yr((()=>{var e -;return null==(e=HM(i.buttonRef))?void 0:e.focus({preventScroll:!0})}));break -;case UI.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=II(),u=Ui((()=>null!==c?(c.value&MI.Open)===MI.Open:0===i.listboxState.value)) -;return()=>{var r,o;let s={open:0===i.listboxState.value},{...c}=e;return EI({ -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=HM(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:SI.RenderStrategy|SI.Static,visible:u.value,name:"ListboxOptions"})}} -}),KL=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-${zM()}`,i=ZL("ListboxOption"),s=Fn(null) -;r({el:s,$el:s}) -;let l=Ui((()=>null!==i.activeOptionIndex.value&&i.options.value[i.activeOptionIndex.value].id===a)),c=Ui((()=>VM(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=Ui((()=>VM(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=QL(s),p=Ui((()=>({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=HM(i.buttonRef))?void 0:e.focus({preventScroll:!0})})))} -function f(){if(e.disabled)return i.goToOption(FI.Nothing) -;i.goToOption(FI.Specific,a)} -go((()=>i.registerOption(a,p))),Oo((()=>i.unregisterOption(a))),go((()=>{ -Ma([i.listboxState,c],(()=>{0===i.listboxState.value&&c.value&&VM(i.mode.value,{ -1:()=>{u.value&&i.goToOption(FI.Specific,a)},0:()=>{i.goToOption(FI.Specific,a)} -})}),{immediate:!0})})),Na((()=>{ -0===i.listboxState.value&&l.value&&0!==i.activationTrigger.value&&yr((()=>{ -var e,t -;return null==(t=null==(e=HM(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{ -block:"nearest"})}))}));let m=wI();function g(e){m.update(e)}function v(t){ -m.wasMoved(t)&&(e.disabled||l.value||i.goToOption(FI.Specific,a,0))} -function b(t){m.wasMoved(t)&&(e.disabled||l.value&&i.goToOption(FI.Nothing))} -return()=>{let{disabled:r}=e,o={active:l.value,selected:c.value,disabled:r -},{value:i,disabled:u,...d}=e;return EI({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 JL=(e=>(e[e.Open=0]="Open", -e[e.Closed=1]="Closed",e))(JL||{}),ej=(e=>(e[e.Pointer=0]="Pointer", -e[e.Other=1]="Other",e))(ej||{});let tj=Symbol("MenuContext");function nj(e){ -let t=la(tj,null);if(null===t){ -let t=new Error(`<${e} /> is missing a parent component.`) -;throw Error.captureStackTrace&&Error.captureStackTrace(t,nj),t}return t} -let rj=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=dI(e(i.value.slice()),(e=>HM(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=qI(e===FI.Specific?{ -focus:FI.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 vI([o,a],((e,t)=>{ -var n -;d.closeMenu(),iI(t,aI.Loose)||(e.preventDefault(),null==(n=HM(o))||n.focus()) -}),Ui((()=>0===r.value))),sa(tj,d),LI(Ui((()=>VM(r.value,{0:MI.Open,1:MI.Closed -})))),()=>{let o={open:0===r.value,close:d.closeMenu};return EI({ourProps:{}, -theirProps:e,slot:o,slots:t,attrs:n,name:"Menu"})}}}),oj=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-${zM()}`,i=nj("MenuButton") -;function s(e){switch(e.key){case UI.Space:case UI.Enter:case UI.ArrowDown: -e.preventDefault(),e.stopPropagation(),i.openMenu(),yr((()=>{var e -;null==(e=HM(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(FI.First)})) -;break;case UI.ArrowUp: -e.preventDefault(),e.stopPropagation(),i.openMenu(),yr((()=>{var e -;null==(e=HM(i.itemsRef))||e.focus({preventScroll:!0}),i.goToItem(FI.Last)}))}} -function l(e){if(e.key===UI.Space)e.preventDefault()}function c(t){ -e.disabled||(0===i.menuState.value?(i.closeMenu(),yr((()=>{var e -;return null==(e=HM(i.buttonRef))?void 0:e.focus({preventScroll:!0}) -}))):(t.preventDefault(),i.openMenu(),function(e){ -requestAnimationFrame((()=>requestAnimationFrame(e)))}((()=>{var e -;return null==(e=HM(i.itemsRef))?void 0:e.focus({preventScroll:!0})}))))}r({ -el:i.buttonRef,$el:i.buttonRef});let u=yI(Ui((()=>({as:e.as,type:t.type -}))),i.buttonRef);return()=>{var r;let o={open:0===i.menuState.value},{...d}=e -;return EI({ourProps:{ref:i.buttonRef,id:a,type:u.value,"aria-haspopup":"menu", -"aria-controls":null==(r=HM(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"})}}}),aj=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-${zM()}`,i=nj("MenuItems"),s=Fn(null) -;function l(e){var t;switch(s.value&&clearTimeout(s.value),e.key){case UI.Space: -if(""!==i.searchQuery.value)return e.preventDefault(), -e.stopPropagation(),i.search(e.key);case UI.Enter: -if(e.preventDefault(),e.stopPropagation(),null!==i.activeItemIndex.value){ -null==(t=HM(i.items.value[i.activeItemIndex.value].dataRef.domRef))||t.click()} -i.closeMenu(),sI(HM(i.buttonRef));break;case UI.ArrowDown: -return e.preventDefault(),e.stopPropagation(),i.goToItem(FI.Next) -;case UI.ArrowUp: -return e.preventDefault(),e.stopPropagation(),i.goToItem(FI.Previous) -;case UI.Home:case UI.PageUp: -return e.preventDefault(),e.stopPropagation(),i.goToItem(FI.First);case UI.End: -case UI.PageDown: -return e.preventDefault(),e.stopPropagation(),i.goToItem(FI.Last) -;case UI.Escape:e.preventDefault(),e.stopPropagation(),i.closeMenu(),yr((()=>{ -var e;return null==(e=HM(i.buttonRef))?void 0:e.focus({preventScroll:!0})})) -;break;case UI.Tab: -e.preventDefault(),e.stopPropagation(),i.closeMenu(),yr((()=>function(e,t){ -return pI(oI(),t,{relativeTo:e}) -}(HM(i.buttonRef),e.shiftKey?tI.Previous:tI.Next)));break;default: -1===e.key.length&&(i.search(e.key), -s.value=setTimeout((()=>i.clearSearch()),350))}}function c(e){ -if(e.key===UI.Space)e.preventDefault()}r({el:i.itemsRef,$el:i.itemsRef}),kI({ -container:Ui((()=>HM(i.itemsRef))),enabled:Ui((()=>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=II(),d=Ui((()=>null!==u?(u.value&MI.Open)===MI.Open:0===i.menuState.value)) -;return()=>{var r,o;let s={open:0===i.menuState.value},{...u}=e;return EI({ -ourProps:{ -"aria-activedescendant":null===i.activeItemIndex.value||null==(r=i.items.value[i.activeItemIndex.value])?void 0:r.id, -"aria-labelledby":null==(o=HM(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:SI.RenderStrategy|SI.Static,visible:d.value,name:"MenuItems"})} -}}),ij=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-${zM()}`,i=nj("MenuItem"),s=Fn(null) -;r({el:s,$el:s}) -;let l=Ui((()=>null!==i.activeItemIndex.value&&i.items.value[i.activeItemIndex.value].id===a)),c=QL(s),u=Ui((()=>({ -disabled:e.disabled,get textValue(){return c()},domRef:s})));function d(t){ -if(e.disabled)return t.preventDefault();i.closeMenu(),sI(HM(i.buttonRef))} -function p(){if(e.disabled)return i.goToItem(FI.Nothing) -;i.goToItem(FI.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=HM(s))?void 0:e.scrollIntoView)?void 0:t.call(e,{ -block:"nearest"})}))}));let h=wI();function f(e){h.update(e)}function m(t){ -h.wasMoved(t)&&(e.disabled||l.value||i.goToItem(FI.Specific,a,0))}function g(t){ -h.wasMoved(t)&&(e.disabled||l.value&&i.goToItem(FI.Nothing))}return()=>{ -let{disabled:r,...o}=e,c={active:l.value,disabled:r,close:i.closeMenu} -;return EI({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 sj,lj=((sj=lj||{})[sj.Open=0]="Open",sj[sj.Closed=1]="Closed",sj) -;let cj=Symbol("PopoverContext");function uj(e){let t=la(cj,null);if(null===t){ -let t=new Error(`<${e} /> is missing a parent <${fj.name} /> component.`) -;throw Error.captureStackTrace&&Error.captureStackTrace(t,uj),t}return t} -let dj=Symbol("PopoverGroupContext");function pj(){return la(dj,null)} -let hj=Symbol("PopoverPanelContext");let fj=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=Ui((()=>GM(a))),p=Ui((()=>{ -var e,t;if(!HM(s)||!HM(u))return!1 -;for(let c of document.querySelectorAll("body > *"))if(Number(null==c?void 0:c.contains(HM(s)))^Number(null==c?void 0:c.contains(HM(u))))return!0 -;let n=oI(),r=n.indexOf(HM(s)),o=(r+n.length-1)%n.length,a=(r+1)%n.length,i=n[o],l=n[a] -;return!(null!=(e=HM(u))&&e.contains(i)||null!=(t=HM(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=VM(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?HM(e):HM(h.button):HM(h.button) -;null==t||t.focus()}};sa(cj,h),LI(Ui((()=>VM(i.value,{0:MI.Open,1:MI.Closed})))) -;let f={buttonId:h.buttonId,panelId:h.panelId,close(){h.closePopover()} -},m=pj(),g=null==m?void 0:m.registerPopover,[v,b]=OL(),y=sL({ -mainTreeNodeRef:null==m?void 0:m.mainTreeNodeRef,portals:v, -defaultContainers:[s,u]}) -;return Na((()=>null==g?void 0:g(f))),ZI(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=HM(s))?void 0:t.contains(d.value.activeElement))||(null==(n=HM(u))?void 0:n.contains(d.value.activeElement))) -}()||s&&u&&(y.contains(e.target)||null!=(t=HM(h.beforePanelSentinel))&&t.contains(e.target)||null!=(n=HM(h.afterPanelSentinel))&&n.contains(e.target)||h.closePopover())) -}),!0),vI(y.resolveContainers,((e,t)=>{var n -;h.closePopover(),iI(t,aI.Loose)||(e.preventDefault(), -null==(n=HM(s))||n.focus())}),Ui((()=>0===i.value))),()=>{let r={ -open:0===i.value,close:h.close};return Bi(Wa,[Bi(b,{},(()=>EI({theirProps:{...e, -...n},ourProps:{ref:a},slot:r,slots:t,attrs:n,name:"Popover" -}))),Bi(y.MainTreeNode)])}}}),mj=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-${zM()}`,i=uj("PopoverButton"),s=Ui((()=>GM(i.button))) -;r({el:i.button,$el:i.button}),go((()=>{i.buttonId.value=a})),Oo((()=>{ -i.buttonId.value=null})) -;let l=pj(),c=null==l?void 0:l.closeOthers,u=la(hj,null),d=Ui((()=>null!==u&&u.value===i.panelId.value)),p=Fn(null),h=`headlessui-focus-sentinel-${zM()}` -;d.value||Na((()=>{i.button.value=HM(p)}));let f=yI(Ui((()=>({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 UI.Space:case UI.Enter: -e.preventDefault(), -null==(n=(t=e.target).click)||n.call(t),i.closePopover(),null==(r=HM(i.button))||r.focus() -}}else switch(e.key){case UI.Space:case UI.Enter: -e.preventDefault(),e.stopPropagation(), -1===i.popoverState.value&&(null==c||c(i.buttonId.value)),i.togglePopover();break -;case UI.Escape: -if(0!==i.popoverState.value)return null==c?void 0:c(i.buttonId.value) -;if(!HM(i.button)||null!=(o=s.value)&&o.activeElement&&(null==(a=HM(i.button))||!a.contains(s.value.activeElement)))return -;e.preventDefault(),e.stopPropagation(),i.closePopover()}}function g(e){ -d.value||e.key===UI.Space&&e.preventDefault()}function v(t){var n,r -;e.disabled||(d.value?(i.closePopover(), -null==(n=HM(i.button))||n.focus()):(t.preventDefault(), -t.stopPropagation(),1===i.popoverState.value&&(null==c||c(i.buttonId.value)), -i.togglePopover(),null==(r=HM(i.button))||r.focus()))}function b(e){ -e.preventDefault(),e.stopPropagation()}let y=XI();function O(){let e=HM(i.panel) -;e&&VM(y.value,{[WI.Forwards]:()=>pI(e,tI.First), -[WI.Backwards]:()=>pI(e,tI.Last) -})===nI.Error&&pI(oI().filter((e=>"true"!==e.dataset.headlessuiFocusGuard)),VM(y.value,{ -[WI.Forwards]:tI.Next,[WI.Backwards]:tI.Previous}),{relativeTo:HM(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":HM(i.panel)?i.panelId.value:void 0, -disabled:!!e.disabled||void 0,onKeydown:m,onKeyup:g,onClick:v,onMousedown:b} -;return Bi(Wa,[EI({ourProps:l,theirProps:{...t,...s},slot:o,attrs:t,slots:n, -name:"PopoverButton"}),r&&!d.value&&i.isPortalled.value&&Bi(RI,{id:h, -features:DI.Focusable,"data-headlessui-focus-guard":!0,as:"button", -type:"button",onFocus:O})])}}}),gj=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-${zM()}`,{focus:i}=e,s=uj("PopoverPanel"),l=Ui((()=>GM(s.panel))),c=`headlessui-focus-sentinel-before-${zM()}`,u=`headlessui-focus-sentinel-after-${zM()}` -;r({el:s.panel,$el:s.panel}),go((()=>{s.panelId.value=a})),Oo((()=>{ -s.panelId.value=null})),sa(hj,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=HM(s.panel))&&t.contains(n)||pI(HM(s.panel),tI.First)})) -;let d=II(),p=Ui((()=>null!==d?(d.value&MI.Open)===MI.Open:0===s.popoverState.value)) -;function h(e){var t,n;if(e.key===UI.Escape){ -if(0!==s.popoverState.value||!HM(s.panel)||l.value&&(null==(t=HM(s.panel))||!t.contains(l.value.activeElement)))return -;e.preventDefault(), -e.stopPropagation(),s.closePopover(),null==(n=HM(s.button))||n.focus()}} -function f(e){var t,n,r,o,a;let i=e.relatedTarget -;i&&HM(s.panel)&&(null!=(t=HM(s.panel))&&t.contains(i)||(s.closePopover(), -(null!=(r=null==(n=HM(s.beforePanelSentinel))?void 0:n.contains)&&r.call(n,i)||null!=(a=null==(o=HM(s.afterPanelSentinel))?void 0:o.contains)&&a.call(o,i))&&i.focus({ -preventScroll:!0})))}let m=XI();function g(){let e=HM(s.panel);e&&VM(m.value,{ -[WI.Forwards]:()=>{var t -;pI(e,tI.First)===nI.Error&&(null==(t=HM(s.afterPanelSentinel))||t.focus())}, -[WI.Backwards]:()=>{var e;null==(e=HM(s.button))||e.focus({preventScroll:!0})}}) -}function v(){let e=HM(s.panel);e&&VM(m.value,{[WI.Forwards]:()=>{ -let e=HM(s.button),t=HM(s.panel);if(!e)return -;let n=oI(),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)}pI(a,tI.First,{sorted:!1})}, -[WI.Backwards]:()=>{var t -;pI(e,tI.Previous)===nI.Error&&(null==(t=HM(s.button))||t.focus())}})} -return()=>{let r={open:0===s.popoverState.value,close:s.close},{focus:o,...l}=e -;return EI({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[Bi(Wa,[p.value&&s.isPortalled.value&&Bi(RI,{id:c, -ref:s.beforePanelSentinel,features:DI.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&&Bi(RI,{ -id:u,ref:s.afterPanelSentinel,features:DI.Focusable, -"data-headlessui-focus-guard":!0,as:"button",type:"button",onFocus:v})])]}}, -features:SI.RenderStrategy|SI.Static,visible:p.value,name:"PopoverPanel"})}} -}),vj=Symbol("LabelContext");function bj(){let e=la(vj,null);if(null===e){ -let e=new Error("You used a