@scalar/api-client 1.1.3 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +20 -0
- package/dist/helpers/encodeStringAsBase64.d.ts +5 -0
- package/dist/helpers/encodeStringAsBase64.d.ts.map +1 -0
- package/dist/helpers/index.d.ts +1 -0
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/index.css +1955 -0
- package/dist/index.js +291 -652
- package/dist/prism-autoloader-Dlh8Vzlw-BR-Zk31i.js +370 -0
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -1,22 +1,11 @@
|
|
|
1
|
-
(function() {
|
|
2
|
-
"use strict";
|
|
3
|
-
try {
|
|
4
|
-
if (typeof document != "undefined") {
|
|
5
|
-
var elementStyle = document.createElement("style");
|
|
6
|
-
elementStyle.appendChild(document.createTextNode("@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900');@import url('https://fonts.googleapis.com/css?family=JetBrains%20Mono');\n\n:root {\n --default-theme-border-width: 1px;\n --default-theme-radius: 3px;\n --default-theme-radius-lg: 6px;\n --default-theme-radius-xl: 8px;\n\n --default-theme-header-height: 50px;\n --default-theme-sidebar-width: 280px;\n --default-theme-toc-width: 280px;\n\n /* TYPOGRAPHY ------------------------------------ */\n --default-theme-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',\n Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;\n --default-theme-font-code: 'JetBrains Mono', ui-monospace, Menlo, Monaco,\n 'Cascadia Mono', 'Segoe UI Mono', 'Roboto Mono', 'Oxygen Mono',\n 'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono', 'Droid Sans Mono',\n 'Courier New', monospace;\n\n /** Font sizes for rendered text content (editor styles or static content) */\n --default-theme-heading-1: 40px; /* Editor Page heading */\n --default-theme-page-description: 24px;\n --default-theme-heading-2: 24px; /* Editor section headings */\n --default-theme-heading-3: 20px;\n --default-theme-heading-4: 16px;\n --default-theme-heading-5: 16px;\n --default-theme-heading-6: 16px;\n\n --default-theme-paragraph: 16px;\n --default-theme-small: 14px;\n --default-theme-mini: 13px;\n --default-theme-micro: 12px;\n --default-theme-bold: 600;\n --default-theme-semibold: 500;\n --default-theme-regular: 400;\n\n /* Font sizes for interactive applications (not rendered text content) */\n --default-theme-font-size-1: 24px;\n --default-theme-font-size-2: 16px;\n --default-theme-font-size-3: 14px;\n --default-theme-font-size-4: 13px;\n --default-theme-font-size-5: 12px;\n\n --default-theme-line-height-1: 32px;\n --default-theme-line-height-2: 24px;\n --default-theme-line-height-3: 20px;\n --default-theme-line-height-4: 18px;\n --default-theme-line-height-5: 16px;\n\n --default-theme-font-medium: 500;\n --default-theme-font-bold: 700;\n}\n.dark-mode {\n color-scheme: dark;\n --default-theme-scrollbar-color: rgba(255, 255, 255, 0.18);\n --default-theme-scrollbar-color-active: rgba(255, 255, 255, 0.36);\n --default-theme-button-1: rgba(255, 255, 255, 1);\n --default-theme-button-1-hover: rgba(255, 255, 255, 0.9);\n --default-theme-button-1-color: black;\n\n --default-theme-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --default-theme-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.light-mode {\n color-scheme: light;\n --default-theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --default-theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --default-theme-button-1: rgba(0, 0, 0, 1);\n --default-theme-button-1-hover: rgba(0, 0, 0, 0.8);\n --default-theme-button-1-color: rgba(255, 255, 255, 0.9);\n\n --default-theme-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --default-theme-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/* On some browsers, the light color scheme takes precedence when the light mode is active */\n.light-mode .dark-mode {\n color-scheme: dark !important;\n}\n@media (max-width: 460px) {\n :root {\n --default-theme-font-size-1: 22px;\n --default-theme-font-size-2: 14px;\n --default-theme-font-size-3: 12px;\n }\n}\n@media (max-width: 720px) {\n :root {\n --default-theme-heading-1: 24px;\n --default-theme-page-description: 20px;\n }\n}\n\n/* Use :where to lower specificity to 0 */\n:where(._reset_78zw5_3) {\n /** Add some more things which are normally applied to `html`. */\n font-family: var(--theme-font, var(--default-theme-font));\n line-height: 1.15;\n -webkit-text-size-adjust: 100%;\n -moz-tab-size: 4;\n tab-size: 4;\n\n /** Make sure box-sizing is set properly. */\n*,\n *:before,\n *:after {\n box-sizing: border-box;\n}\n\n /** Smooth text rendering */\n* {\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n /* prettier-ignore */\nh1, h2, h3, h4, h5, h6, i, p, ol, ul, dl, dd, dt, em, strong, button {\n margin: unset;\n padding: unset;\n color: unset;\n font-weight: unset;\n font-style: unset;\n}\nbutton {\n border: unset;\n background: unset;\n appearance: unset;\n font-family: var(--theme-font, var(--default-theme-font));\n}\ninput::placeholder {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-family: var(--theme-font, var(--default-theme-font));\n}\ninput:-ms-input-placeholder {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-family: var(--theme-font, var(--default-theme-font));\n}\ninput::-webkit-input-placeholder {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-family: var(--theme-font, var(--default-theme-font));\n}\n}\n\n/* Use :where to lower specificity to 0 */\n:where(._scrollbars_1wuqs_3) {\n._cm-scroller_1wuqs_4,\n ._custom-scroll_1wuqs_5 {\n overflow-y: auto;\n scrollbar-color: transparent transparent;\n scrollbar-width: thin;\n -webkit-overflow-scrolling: touch;\n}\n._custom-scroll-self-contain-overflow_1wuqs_11 {\n overscroll-behavior: contain;\n}\n@supports (-moz-appearance: none) {\n._cm-scroller_1wuqs_4,\n ._custom-scroll_1wuqs_5 {\n padding-right: 12px;\n}\n}\n._cm-scroller_1wuqs_4:hover,\n ._custom-scroll_1wuqs_5:hover {\n scrollbar-color: var(\n --theme-scrollbar-color,\n var(--default-theme-scrollbar-color)\n )\n transparent;\n}\n._cm-scroller_1wuqs_4:hover::-webkit-scrollbar-thumb,\n ._custom-scroll_1wuqs_5:hover::-webkit-scrollbar-thumb {\n background: var(\n --theme-scrollbar-color,\n var(--default-theme-scrollbar-color)\n );\n background-clip: content-box;\n border: 3px solid transparent;\n}\n._cm-scroller_1wuqs_4::-webkit-scrollbar-thumb:active,\n ._custom-scroll_1wuqs_5::-webkit-scrollbar-thumb:active {\n background: var(\n --theme-scrollbar-color-active,\n var(--default-theme-scrollbar-color-active)\n );\n background-clip: content-box;\n border: 3px solid transparent;\n}\n._cm-scroller_1wuqs_4::-webkit-scrollbar-corner,\n ._custom-scroll_1wuqs_5::-webkit-scrollbar-corner {\n background: transparent;\n}\n._cm-scroller_1wuqs_4::-webkit-scrollbar,\n ._custom-scroll_1wuqs_5::-webkit-scrollbar {\n height: 12px;\n width: 12px;\n}\n._cm-scroller_1wuqs_4::-webkit-scrollbar-track,\n ._custom-scroll_1wuqs_5::-webkit-scrollbar-track {\n background: transparent;\n}\n._cm-scroller_1wuqs_4::-webkit-scrollbar-thumb,\n ._custom-scroll_1wuqs_5::-webkit-scrollbar-thumb {\n border-radius: 20px;\n background: transparent;\n background-clip: content-box;\n border: 3px solid transparent;\n}\n@media (pointer: coarse) {\n._cm-scroller_1wuqs_4,\n ._custom-scroll_1wuqs_5 {\n padding-right: 12px;\n}\n}\n}\n\n.codemirror-container[data-v-9f50a430] {\n width: 100%;\n height: 100%;\n padding-top: 4px;\n min-height: 76px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n color: var(--theme-color-1, var(--default-theme-color-1));\n display: flex;\n align-items: stretch;\n}\n.copy-to-clipboard-button[data-v-9f50a430] {\n background: red;\n}\n\n.codemirror {\n flex-grow: 1;\n max-width: 100%;\n cursor: text;\n font-size: var(--theme-small, var(--default-theme-small));\n /* Don't scale wide text on mobile because we let it scroll */\n -webkit-text-size-adjust: 100%;\n}\n.cm-focused {\n outline: none !important;\n}\n\n.modal-layout[data-v-a06b8e92] {\n position: fixed;\n width: 100vw;\n height: 100vh;\n top: 0;\n left: 0;\n z-index: 1001;\n background: rgba(0, 0, 0, 0.44);\n padding: 20px;\n opacity: 0;\n animation: modal-fade-a06b8e92 0.2s forwards;\n}\n.modal-body[data-v-a06b8e92] {\n padding: 24px 24px 18px 24px;\n max-height: calc(100vh - 240px);\n background: var(--theme-background-1, var(--default-theme-background-1));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n font-family: var(--theme-font, var(--default-theme-font));\n position: relative;\n}\n.modal[data-v-a06b8e92] {\n margin: 80px auto 0;\n position: relative;\n background: var(--theme-background-2, var(--default-theme-background-2));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n text-align: left;\n line-height: 1.4;\n opacity: 0;\n transform: scale(0.98);\n animation: modal-pop-a06b8e92 0.15s 0.15s forwards;\n display: flex;\n flex-direction: column;\n}\n.modal[data-v-a06b8e92]:before {\n content: '';\n display: block;\n width: 100%;\n height: 100%;\n position: absolute;\n z-index: 0;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.dark-mode .modal[data-v-a06b8e92]:before {\n background: #1a1a1a;\n}\n.light-mode .modal[data-v-a06b8e92]:before {\n background: #fff;\n}\n.modal-content-history[data-v-a06b8e92] {\n background: var(--theme-background-1, var(--default-theme-background-1));\n}\n.modal-content-history[data-v-a06b8e92],\n.modal-content-large[data-v-a06b8e92] {\n max-width: 800px;\n}\n.modal-content-normal[data-v-a06b8e92] {\n max-width: 640px;\n}\n.modal-content-small[data-v-a06b8e92] {\n max-width: 480px;\n}\n@keyframes modal-fade-a06b8e92 {\nfrom {\n opacity: 0;\n}\nto {\n opacity: 1;\n}\n}\n@keyframes modal-pop-a06b8e92 {\n0% {\n opacity: 0;\n}\n100% {\n opacity: 1;\n transform: scale(1);\n}\n}\n.modal-header[data-v-a06b8e92] {\n padding: 12px 24px;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-font-size-4, var(--default-theme-font-size-4));\n text-align: left;\n font-weight: 600;\n margin: 0;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg)) 0 0;\n z-index: 1;\n}\n.modal-content-history .modal-header[data-v-a06b8e92] {\n padding-bottom: 0;\n padding-top: 24px;\n}\n.modal-content-history .modal-body[data-v-a06b8e92] {\n padding-top: 12px;\n}\n.modal-content-search[data-v-a06b8e92] {\n max-width: 540px;\n}\n.modal-content-search .modal-body[data-v-a06b8e92] {\n padding: 0;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n max-height: 440px;\n}\n\n.navtable-item-time[data-v-dd49a57f] {\n text-transform: capitalize;\n}\n.navtable-item__active[data-v-dd49a57f] {\n background: var(--theme-background-2, var(--default-theme-background-2));\n cursor: default;\n}\n\n.navtable-mock {\n background-repeat: repeat;\n width: 100%;\n background-size: 31px 31px;\n background-position: center 1px;\n flex: 1;\n position: relative;\n z-index: 0;\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n background: repeating-linear-gradient(\n var(--theme-background-1, var(--default-theme-background-1)),\n var(--theme-background-1, var(--default-theme-background-1)) 34.8px,\n var(--theme-border-color, var(--default-theme-border-color)) 34.8px,\n var(--theme-border-color, var(--default-theme-border-color)) 35.8px\n );\n}\n.navtable-mock .navtable-item {\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n background: transparent;\n box-shadow: none;\n}\n.radio {\n height: 10px;\n max-width: 10px;\n width: 10px;\n max-height: 10px;\n background: transparent;\n border: var(--border, var(--default-border));\n flex-shrink: 0;\n margin-right: 6px;\n margin-left: 0;\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n outline: none;\n padding: 0;\n}\n.radio:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n cursor: pointer;\n}\n.navtable-item__active:before {\n content: '';\n display: block;\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1)) !important;\n width: 100%;\n position: absolute;\n top: 0;\n left: 0;\n height: 100%;\n}\n.navtable-item__active + .navtable-item {\n /* box-shadow: none; */\n}\n.radio.post {\n background: var(--theme-color-green, var(--default-theme-color-green));\n}\n.radio.delete {\n background: var(--theme-color-red, var(--default-theme-color-red));\n}\n.radio.patch {\n background: var(--theme-color-yellow, var(--default-theme-color-yellow));\n}\n.radio.get {\n background: var(--theme-color-blue, var(--default-theme-color-blue));\n}\n.radio.put {\n background: var(--theme-color-orange, var(--default-theme-color-orange));\n}\n.navtable-item-request span {\n border: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n display: block;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n.navtable-item-request span em {\n text-transform: uppercase;\n font-style: normal;\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n font-size: var(--theme-micro, var(--default-theme-micro));\n margin-right: 6px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n\n.request-method-select[data-v-8e2122cd] {\n position: relative;\n display: flex;\n}\n.request-method-select select[data-v-8e2122cd] {\n border: none;\n outline: none;\n cursor: pointer;\n background: var(--theme-background-3, var(--default-theme-background-3));\n box-shadow: -2px 0 0 0\n var(--theme-background-3, var(--default-theme-background-3));\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n.request-method-select select[disabled][data-v-8e2122cd] {\n pointer-events: none;\n}\n.request-method[data-v-8e2122cd] {\n display: flex;\n align-items: center;\n color: var(--theme-color-3, var(--default-theme-color-3));\n appearance: none;\n -webkit-appearance: none;\n padding: 0 12px;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n}\n.request-method span[data-v-8e2122cd] {\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n font-size: 500;\n font-size: var(--theme-micro, var(--default-theme-micro));\n text-transform: uppercase;\n display: flex;\n align-items: center;\n}\n.request-method:not(.request-method--disabled) span[data-v-8e2122cd]:after {\n content: '';\n width: 7px;\n height: 7px;\n transform: rotate(45deg) translate3d(-2px, -2px, 0);\n display: block;\n margin-left: 6px;\n box-shadow: 1px 1px 0 currentColor;\n}\n.request-method i[data-v-8e2122cd] {\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 6px;\n text-align: center;\n line-height: 18px;\n font-style: normal;\n flex-shrink: 0;\n display: inline-block;\n color: var(--theme-color-disabled, var(--default-theme-color-disabled));\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n}\n\n.api-client-url-variable {\n color: var(--scalar-api-client-color, var(--default-scalar-api-client-color));\n}\n\n.loader[data-v-81fb881e] {\n position: absolute;\n z-index: 3;\n height: 2px;\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n animation: loading-81fb881e 5s cubic-bezier(0, 0.5, 0.25, 1);\n}\n@keyframes loading-81fb881e {\n0% {\n width: 0;\n}\n100% {\n width: 100%;\n}\n}\n.address-bar[data-v-81fb881e] {\n width: 100%;\n padding: 12px 12px 10px 12px;\n display: flex;\n align-items: center;\n position: relative;\n background: var(--theme-background-1, var(--default-theme-background-1));\n}\n.url-form[data-v-81fb881e] {\n display: flex;\n width: 100%;\n align-items: stretch;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.url-form[data-v-81fb881e] .cm-content {\n display: flex;\n align-items: center;\n}\n.url-form-field[data-v-81fb881e] {\n border-right: 0;\n background: var(--theme-background-2, var(--default-theme-background-2));\n border-radius: var(--theme-radius, var(--default-theme-radius)) 0 0\n var(--theme-radius, var(--default-theme-radius));\n display: flex;\n align-items: stretch;\n width: 100%;\n overflow: hidden;\n min-height: 31px;\n}\n.url-form-input[data-v-81fb881e] {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.url-form-input[data-v-81fb881e] {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n min-height: auto;\n padding-top: 0;\n}\n.url-form-input[data-v-81fb881e] .cm-scroller {\n overflow-y: hidden;\n}\n.history[data-v-81fb881e] {\n appearance: none;\n -webkit-appearance: none;\n background: transparent;\n color: var(--theme-color-2, var(--default-theme-color-2));\n display: flex;\n align-items: center;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n height: 100%;\n}\n.send-button[type='submit'][data-v-81fb881e] {\n font-size: var(--theme-micro, var(--default-theme-micro));\n letter-spacing: 0.25px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: white;\n border: none;\n white-space: nowrap;\n padding: 0 12px;\n text-transform: uppercase;\n cursor: pointer;\n outline: none;\n font-family: (--theme-font, var(--default-theme-font));\n border-radius: 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius)) 0;\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n );\n position: relative;\n /** #087f5b */\n display: flex;\n align-items: center;\n overflow: hidden;\n flex-shrink: 0;\n}\n.send-button[data-v-81fb881e]:before {\n content: '';\n position: absolute;\n top: -5%;\n left: -5%;\n width: 110%;\n height: 110%;\n pointer-events: none;\n cursor: pointer;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));\n}\n.send-button[data-v-81fb881e]:hover:before {\n background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));\n}\n.send-button svg[data-v-81fb881e] {\n width: 12px;\n height: 12px;\n flex-shrink: 0;\n margin-right: 6px;\n position: relative;\n}\n.send-button span[data-v-81fb881e] {\n position: relative;\n}\n@media screen and (max-width: 720px) {\n.history-toggle span[data-v-81fb881e],\n .send-button span[data-v-81fb881e] {\n display: none;\n}\n.history-toggle svg[data-v-81fb881e],\n .send-button svg[data-v-81fb881e] {\n margin-right: 0;\n}\n}\n.send-button[disabled][data-v-81fb881e] {\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n background: var(--theme-background-3, var(--default-theme-background-3));\n border: 1px solid var(--default-theme-border-color);\n}\n.history-toggle[data-v-81fb881e] {\n padding: 0 12px;\n line-height: 30px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n letter-spacing: 0.125px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n height: 100%;\n display: flex;\n align-items: center;\n cursor: pointer;\n white-space: nowrap;\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n margin-left: 12px;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n user-select: none;\n}\n.history-toggle[data-v-81fb881e]:hover {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.history-toggle svg[data-v-81fb881e] {\n height: 13px;\n width: 13px;\n margin-right: 6px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.address-bar-content[data-v-81fb881e] {\n width: 640px;\n height: 100%;\n background: var(--theme-background-1, var(--default-theme-background-1));\n position: fixed;\n top: 0;\n right: 0;\n z-index: 1000;\n transform: translate3d(640px, 0, 0);\n opacity: 0;\n transition:\n transform 0.5s cubic-bezier(0.77, 0, 0.175, 1),\n opacity 0.01s ease-in-out 0.5s;\n pointer-events: none;\n}\n.address-bar--with-history[data-v-81fb881e] {\n z-index: 100000;\n}\n.address-bar--with-history .address-bar-content[data-v-81fb881e] {\n transform: translate3d(0, 0, 0);\n opacity: 1;\n pointer-events: all;\n transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);\n}\n.address-bar--with-history .address-bar-close[data-v-81fb881e] {\n opacity: 1;\n pointer-events: all;\n cursor: pointer;\n}\n.address-bar-close[data-v-81fb881e] {\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n pointer-events: none;\n opacity: 0;\n transition: all 0.1s ease-in-out;\n z-index: 1000;\n}\n\n.scalar-api-client__item {\n border-radius: var(--theme-radius, var(--default-theme-radius));\n margin-bottom: 6px;\n position: relative;\n}\n.scalar-api-client__item button {\n background-color: transparent;\n text-align: left;\n}\n.scalar-api-client__item:hover {\n cursor: pointer;\n}\n.scalar-api-client__toggle:after {\n content: '';\n position: absolute;\n bottom: -6.5px;\n width: 100%;\n height: 6px;\n left: 0;\n}\n.scalar-api-client__item--open .scalar-api-client__toggle:after {\n display: none;\n}\n.scalar-api-client__item:hover,\n.scalar-api-client__item--open {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.scalar-api-client__item--open .scalar-api-client__item__content {\n display: flex;\n}\n.scalar-api-client__item--open:hover {\n cursor: default;\n}\n.scalar-api-client__item--open .scalar-api-client__toggle__icon {\n transform: rotate(90deg);\n}\n.scalar-api-client__toggle {\n padding: 6px;\n min-height: 37px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n position: relative;\n width: 100%;\n appearance: none;\n outline: 0;\n border: none;\n font-family: (--theme-font, var(--default-theme-font));\n cursor: pointer;\n}\n.scalar-api-client__item .scalar-api-client__item__title {\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-small, var(--default-theme-small));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: (--theme-font, var(--default-theme-font));\n user-select: none;\n flex: 1;\n position: relative;\n z-index: 1;\n}\n.scalar-api-client__item .scalar-api-client__toggle__icon {\n width: 10px;\n margin-right: 6px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n z-index: 1;\n position: relative;\n}\n.scalar-api-client__toggle:hover .scalar-api-client__toggle__icon {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__item__options {\n position: relative;\n z-index: 1;\n}\n.scalar-api-client__item__options span {\n background: transparent;\n padding: 2px 0;\n border-radius: 3px;\n font-size: var(--theme-small, var(--default-theme-small));\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.scalar-api-client__item__options:hover span {\n color: var(--theme-color-1, var(--default-theme-color-1));\n border-color: currentColor;\n}\n.scalar-api-client__item__options span svg {\n width: 15px;\n height: 15px;\n margin-left: 3px;\n}\n.scalar-api-client__item__options select {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n opacity: 0;\n cursor: pointer;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n}\n.scalar-api-client__item__content .scalar-api-client__codemirror__wrapper {\n padding-top: 0;\n}\n\n.table {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n background: transparent;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n width: 100%;\n}\n.table-row {\n border-bottom: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n display: flex;\n position: relative;\n}\n.table-row__add {\n border-radius: 0 0 var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg));\n border-bottom: none;\n}\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n content: 'Required';\n position: absolute;\n top: 4px;\n right: 0;\n padding: 5px 9px 5px 6px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: var(--theme-background-2, var(--default-theme-background-2));\n box-shadow: -2px 0 4px\n var(--theme-background-2, var(--default-theme-background-2));\n}\n.table-row.required-parameter\n .table-row-item:nth-of-type(2):focus-within:after {\n display: none;\n}\n.table-row:last-of-type {\n border-bottom: none;\n}\n.table-row__active {\n border-radius: 0 0 var(--theme-radius-lg, var(--default-theme-radius-lg))\n var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.table-row-drag {\n width: 20px;\n flex-shrink: 0;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n align-items: center;\n justify-content: center;\n display: none;\n}\n.table-row-drag svg {\n width: 6px;\n fill: var(--theme-color-3, var(--default-theme-color-3));\n}\n.table-row-drag .table-row-drag-add {\n width: 8px;\n}\n.table-row-item {\n width: 100%;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n}\n.table-row-item-menu {\n position: absolute;\n right: 6px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n width: 24px;\n height: 24px;\n top: 50%;\n transform: translate3d(0, -50%, 0);\n border-radius: 50%;\n display: flex;\n align-items: center;\n justify-content: center;\n opacity: 0;\n cursor: pointer;\n}\n.table-row-item input:focus + .table-row-item-menu,\n.table-row-item:hover .table-row-item-menu {\n opacity: 1;\n}\n.table-row-item-menu svg {\n height: 12px;\n width: initial;\n fill: var(--theme-color-3, var(--default-theme-color-3));\n}\n.table-row-item-menu:hover svg {\n fill: var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row-item input {\n border: none;\n appearance: none;\n outline: none;\n padding: 9px;\n width: 100%;\n min-height: 100%;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: transparent;\n font-family: var(--theme-font, var(--default-theme-font));\n}\n.table-row-item input[disabled] {\n background: transparent;\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n}\n.table-row-item input:focus {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row-item label {\n background: transparent;\n text-transform: uppercase;\n display: block;\n padding: 9px;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-size: var(--theme-micro, var(--default-theme-micro));\n}\n.table-row-meta {\n overflow: hidden;\n flex-shrink: 0;\n transition: all 0.15s ease-in-out;\n display: flex;\n align-items: center;\n justify-content: center;\n width: 51px;\n user-select: none;\n}\n.table-row-meta-check {\n width: 18px;\n height: 18px;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n background: rgba(47, 177, 228, 0.1);\n}\n.table-row-meta svg {\n width: 13px;\n height: 13px;\n margin: 0 1px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n cursor: pointer;\n}\n.table-row-meta svg:hover {\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.meta-check {\n display: flex;\n position: relative;\n cursor: pointer;\n align-items: center;\n font-size: var(--theme-micro, var(--default-theme-micro));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n user-select: none;\n margin: 0 1px;\n transition: all 0.15s ease-in-out;\n}\n.meta-check input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.meta-checkmark {\n height: 17px;\n width: 17px;\n background: var(--theme-background-3, var(--default-theme-background-3));\n border-radius: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.meta-checkmark:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.meta-check:focus-within .meta-checkmark {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.meta-check .meta-checkmark:after {\n content: '';\n display: none;\n width: 5px;\n height: 8px;\n border: solid var(--theme-color-1, var(--default-theme-color-1));\n border-width: 0 1.5px 1.5px 0;\n transform: rotate(45deg) translate3d(0, -1px, 0);\n}\n.meta-check input:checked ~ .meta-checkmark:after {\n display: block;\n}\n.meta-check input:checked ~ .meta-checkmark:hover {\n background: transparent;\n}\n\n.navtable {\n width: 100%;\n}\n.navtable-follow {\n background-color: black;\n color: white;\n font-size: 9px;\n padding: 6px;\n display: -webkit-box;\n max-width: 250px;\n -webkit-line-clamp: 12;\n border-radius: 3px;\n -webkit-box-orient: vertical;\n overflow: hidden;\n line-height: 1.24;\n transform: translate3d(10px, 0, 0);\n}\n.navtable-follow:after {\n content: '';\n position: absolute;\n bottom: 0;\n width: 100%;\n height: 6px;\n background-color: black;\n}\n.navtable-follow * {\n font-family: var(\n --theme-font-code,\n var(--default-theme-font-code)\n ) !important;\n}\n.navtable-table {\n position: relative;\n display: flex;\n flex-direction: column;\n min-height: 389px;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-radios {\n z-index: 1;\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item {\n display: flex;\n position: relative;\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-size: var(--theme-micro, var(--default-theme-micro));\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.navtable-item:first-of-type {\n border-top: none;\n}\n.navtable-item > div {\n word-wrap: break-word;\n}\n.navtable-item > div:not(:first-child) {\n border-left: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item-action {\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-bold, var(--default-theme-bold));\n background: var(\n --scalar-api-client-bg3,\n var(--default-scalar-api-client-bg3)\n );\n border: none;\n border-radius: 30px;\n appearance: none;\n max-height: 25px;\n margin-left: 12px;\n margin-right: 6px;\n padding: 4px 8px;\n outline: none;\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.15s ease-in-out;\n white-space: nowrap;\n position: relative;\n}\n.navtable-item-action:hover {\n color: var(--theme-color-1, var(--default-theme-color-1));\n background: var(\n --scalar-api-client-gradient,\n var(--default-scalar-api-client-gradient)\n );\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.navtable-item-action:focus {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item:hover,\n.navtable-item:focus-within .navtable-item-action {\n opacity: 1;\n}\n.navtable-item-add {\n display: flex;\n align-items: center;\n padding: 9px;\n font-weight: var(--theme-bold, var(--default-theme-bold));\n outline: none;\n border: none;\n appearance: none;\n background: transparent;\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.navtable-item-add:hover {\n background: var(--theme-background-2, var(--default-theme-background-2));\n cursor: pointer;\n}\n.navtable-item-25 {\n width: 25%;\n font-size: var(--theme-micro, var(--default-theme-micro));\n display: flex;\n align-items: center;\n}\n.navtable-item-33 {\n width: 33.33333%;\n display: flex;\n font-size: var(--theme-micro, var(--default-theme-micro));\n align-items: center;\n}\n.navtable-item-66 {\n width: 66.6666%;\n display: flex;\n font-size: var(--theme-micro, var(--default-theme-micro));\n align-items: center;\n}\n.navtable-item-75 {\n width: 75%;\n display: flex;\n align-items: center;\n}\n.navtable-item-75:focus-within {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item-40 {\n width: 40%;\n display: flex;\n align-items: center;\n padding: 9px;\n}\n.navtable-item-20 {\n width: 20%;\n display: flex;\n align-items: center;\n padding: 9px;\n}\n.navtable-item-50 {\n width: 50%;\n display: flex;\n align-items: center;\n}\n.navtable-item-50:focus-within {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item p {\n padding: 9px;\n}\n.navtable-item input {\n padding: 12px 6px;\n border: none;\n outline: none;\n appearance: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n background: transparent;\n width: 100%;\n}\n.navtable-item input:focus {\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.navtable-item-select {\n position: relative;\n}\n.navtable-item-select select {\n background: transparent;\n outline: none;\n border: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n width: 100%;\n padding: 12px 6px;\n top: 0;\n position: relative;\n cursor: pointer;\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.navtable-item-select svg {\n position: absolute;\n right: 6px;\n color: var(--theme-color-ghost, var(--default-theme-color-ghost));\n width: 6px;\n top: 12px;\n pointer-events: none;\n}\n.navtable-item .option {\n padding: 12px 6px;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n}\n.navtable-item label {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n display: block;\n width: 100%;\n}\n.navtable-item-response {\n padding: 0 9px;\n}\n.navtable-item-response span {\n font-size: var(--theme-micro, var(--default-theme-micro));\n display: flex;\n align-items: center;\n margin-right: 9px;\n min-width: 40px;\n}\n.scalar-api-client__status--1xx:before,\n.scalar-api-client__status--2xx:before,\n.scalar-api-client__status--3xx:before,\n.scalar-api-client__status--4xx:before,\n.scalar-api-client__status--5xx:before,\n.scalar-api-client__status--6xx:before {\n content: '';\n width: 10px;\n height: 10px;\n border-radius: 50%;\n margin-right: 4px;\n background: var(--theme-background-2, var(--default-theme-background-2));\n}\n.scalar-api-client__status--2xx:before {\n background: var(--theme-color-green, var(--default-theme-color-green));\n}\n.scalar-api-client__status--3xx:before {\n background: var(--theme-color-orange, var(--default-theme-color-orange));\n}\n.scalar-api-client__status--4xx:before {\n background: var(--theme-color-red, var(--default-theme-color-red));\n}\n.navtable-item-response span:empty {\n display: none;\n}\n.simpletable.navtable {\n padding: 0;\n}\n.simpletable.navtable .navtable-item-66,\n.simpletable.navtable .navtable-item-33 {\n display: block;\n}\n.simpletable.navtable .navtable-table {\n height: fit-content;\n}\n.meta-delete {\n position: absolute;\n right: -9px;\n background: var(\n --theme-background-3,\n var(--default-theme-background-3)\n ) !important;\n height: 20px;\n width: 20px;\n border: none;\n outline: none;\n border-radius: 50%;\n opacity: 0;\n padding: 5px;\n display: flex;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n}\n.meta-delete svg {\n width: 11px;\n height: 11px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.meta-delete:hover svg {\n color: var(--theme-color-red, var(--default-theme-color-red));\n}\n.meta-delete:focus svg {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.meta-delete:focus {\n border-color: var(--theme-color-1, var(--default-theme-color-1));\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.table-row:hover .meta-delete {\n opacity: 1;\n}\n@media (pointer: coarse) {\n.table-row:hover .meta-delete {\n opacity: 1;\n}\n}\n.meta-actions-item {\n border: none;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n appearance: none;\n padding: 9px;\n width: 100%;\n appearance: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-family: var(--theme-font, var(--default-theme-font));\n color: var(--theme-color-3, var(--default-theme-color-3));\n cursor: pointer;\n display: flex;\n align-items: center;\n gap: 6px;\n}\n.meta-actions {\n width: 100%;\n display: flex;\n justify-content: space-between;\n}\n.meta-actions-item:nth-of-type(2) {\n display: flex;\n justify-content: flex-end;\n}\n.meta-actions-item:nth-of-type(2) i {\n filter: drop-shadow(0 0.125px 0 currentColor)\n drop-shadow(0 -0.125px 0 currentColor);\n}\n.meta-actions-item-icon {\n width: 12px;\n height: 12px;\n}\n.meta-actions-item:hover,\n.meta-actions-item:focus {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n\n.scalar-api-client-add {\n color: var(--theme-color-2, var(--default-theme-color-2));\n padding: 6px;\n width: fit-content;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n cursor: pointer;\n font-size: var(--theme-micro, var(--default-theme-micro));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-decoration: none;\n margin: 0 6px;\n border: none;\n font-family: var(--theme-font);\n appearance: none;\n display: flex;\n align-items: center;\n}\n.scalar-api-client-add svg {\n width: 12px;\n height: 12px;\n margin-right: 6px;\n}\n.scalar-api-client-add:hover {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client-add:focus-within {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n\n.scalar-api-client__main__left {\n width: 50%;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n padding: 0 18px 12px 18px;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__left {\n width: 100%;\n border-right: none;\n padding: 0 12px 12px 12px;\n}\n}\n.scalar-api-client__item__content {\n flex-flow: wrap;\n padding: 3px 9px 9px 9px;\n border-radius: 3px;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-micro, var(--default-theme-micro));\n margin-top: -3px;\n justify-content: space-between;\n overflow: auto;\n}\n.scalar-api-client__item__content .scalar-api-client__codemirror__wrapper {\n width: 100%;\n min-height: 63px;\n}\n.scalar-api-client__item__content .scalar-codeblock-pre,\n.scalar-api-client__item__content .cm-s-default {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n}\n.scalar-api-client__item__content .scalar-codeblock-pre,\n.scalar-api-client__item__content .codemirror-container {\n width: 100%;\n max-height: calc(100vh - 300px);\n overflow: auto;\n}\n.scalar-api-client__item__content .cm-scroller {\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n border-radius: 3px;\n}\n.scalar-api-client__item__content .cm-editor {\n outline: none !important;\n}\n.scalar-api-client__item__content .cm-editor .cm-gutters {\n background: transparent;\n}\n.scalar-api-client__item__content .cm-scroll {\n background: transparent;\n}\n.scalar-api-client__item__content .cm-editor * {\n font-size: var(--theme-micro, var(--default-theme-micro));\n}\n.scalar-api-client__item__content .cm-editor .cm-line {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__item__content-button {\n appearance: none;\n border: none;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n background: var(\n --scalar-api-client-color,\n var(--default-scalar-api-client-color)\n ) !important;\n text-align: center;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: var(--theme-font, var(--default-theme-font));\n padding: 6px;\n width: fit-content;\n margin: 3px 3px 3px auto;\n text-transform: uppercase;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n color: white;\n cursor: pointer;\n text-align: center !important;\n position: relative;\n}\n.scalar-api-client__item__content-button span {\n position: relative;\n}\n.scalar-api-client__item__content-button:before {\n content: '';\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n cursor: pointer;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.2));\n}\n.scalar-api-client__item__content-button:hover:before {\n background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));\n}\n.scalar-api-client__item__content__split {\n justify-content: space-between;\n}\n.scalar-collapsible-section-flex {\n width: 100%;\n}\n.input {\n background: transparent;\n position: relative;\n width: 100%;\n text-align: left;\n display: flex;\n box-shadow: 0 1px 0\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.input:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1)) !important;\n z-index: 10;\n}\n.input:first-of-type {\n border-radius: var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius)) 0 0;\n}\n.input:first-child:last-child {\n border-radius: var(--theme-radius, var(--default-theme-radius));\n}\n.input:last-child {\n box-shadow: none;\n border-radius: 0 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius));\n}\n.input__half:first-of-type {\n border-radius: var(--theme-radius, var(--default-theme-radius)) 0 0 0;\n}\n.input__half:nth-of-type(2) {\n border-radius: 0 var(--theme-radius, var(--default-theme-radius)) 0 0;\n}\n.authentication-form {\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius, var(--default-theme-radius));\n width: 100%;\n display: flex;\n flex-flow: wrap;\n}\n.input__half {\n width: 50%;\n}\n.input__half + .input__half {\n border-left: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n.input__half:focus-within {\n border-color: transparent;\n}\n.input label,\n.input input {\n padding: 9px;\n border: 0;\n outline: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-2, var(--default-theme-color-2));\n width: 100%;\n background: transparent;\n appearance: none;\n -webkit-appearance: none;\n left: 0;\n}\n.input label {\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: fit-content;\n padding-right: 0;\n white-space: nowrap;\n cursor: text;\n}\n.input input {\n position: relative;\n z-index: 99;\n}\n.input input:not(:placeholder-shown) + label {\n color: var(--theme-color-2, var(--default-theme-color-2));\n}\n.select {\n background: --theme-background-1;\n border-radius: var(--theme-radius-lg, var(--default-theme-radius-lg));\n font-size: var(--theme-micro, var(--default-theme-micro));\n border: 1px solid var(--theme-border-color, var(--default-theme-border-color));\n width: 100%;\n position: relative;\n margin-bottom: 6px;\n}\n.select:focus-within {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.select:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.select svg {\n position: absolute;\n right: 9px;\n pointer-events: none;\n color: var(--theme-color-2, var(--default-theme-color-2));\n width: 6px;\n top: 10px;\n}\n.select label {\n display: block;\n font-size: 10px;\n color: var(--theme-color-2, var(--default-theme-color-2));\n position: absolute;\n left: 9px;\n top: 6px;\n}\n.select select {\n background: transparent;\n outline: none;\n border: none;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n font-size: var(--theme-micro, var(--default-theme-micro));\n color: var(--theme-color-1, var(--default-theme-color-1));\n width: 100%;\n padding: 14px 9px 4px 9px;\n top: 0;\n position: relative;\n cursor: pointer;\n}\n.check {\n display: flex;\n position: relative;\n cursor: pointer;\n align-items: center;\n font-size: var(--theme-micro, var(--default-theme-micro));\n padding: 6px 9px;\n border-radius: 0 0 var(--theme-radius, var(--default-theme-radius))\n var(--theme-radius, var(--default-theme-radius));\n user-select: none;\n width: 100%;\n outline: none;\n}\n.check:focus-within {\n box-shadow: 0 0 0 1px var(--theme-color-1, var(--default-theme-color-1));\n}\n.checkmark:hover {\n background: var(--theme-background-3, var(--default-theme-background-3));\n}\n.check:focus-within {\n border-color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.check p {\n color: var(--theme-color-3, var(--default-theme-color-3));\n}\n.check input {\n position: absolute;\n opacity: 0;\n cursor: pointer;\n height: 0;\n width: 0;\n}\n.checkmark {\n height: 17px;\n width: 17px;\n background: var(--theme-background-3, var(--default-theme-background-3));\n margin-right: 10px;\n border-radius: 3px;\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n}\n.check input:checked ~ p {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.check .checkmark:after {\n content: '';\n display: none;\n width: 5px;\n height: 8px;\n border: solid var(--theme-color-1, var(--default-theme-color-1));\n border-width: 0 1.5px 1.5px 0;\n transform: rotate(45deg) translate3d(0, -1px, 0);\n}\n.check input:checked ~ .checkmark:after {\n display: block;\n}\n.scalar-api-client__main__scroll-container {\n height: calc(100vh - 320px);\n}\n.scalar-api-client__request-name {\n outline: none;\n border: none;\n appearance: none;\n -webkit-appearance: none;\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-size: var(--theme-small, var(--default-theme-small));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n color: var(--theme-color-3, var(--default-theme-color-3));\n width: 100%;\n padding: 0;\n background: transparent;\n font-family: var(--theme-font, var(--default-theme-font));\n}\n.scalar-api-client__request-name::-webkit-input-placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.scalar-api-client__request-name:-ms-input-placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n.scalar-api-client__request-name::placeholder {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n\na[data-v-ffc7287f] {\n color: var(--theme-color-3, var(--default-theme-color-3));\n text-decoration: underline;\n text-decoration-color: var(\n --theme-border-color,\n var(--default-theme-border-color)\n );\n text-underline-offset: 2px;\n cursor: help;\n}\n\n.simple-cell[data-v-b99d5e90] {\n all: unset;\n display: table-cell;\n border-right: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n position: relative;\n padding: 9px !important;\n color: var(--theme-color-1, var(--default-theme-color-1));\n white-space: nowrap;\n}\n.simple-cell a[data-v-b99d5e90] {\n color: var(--theme-color-1, var(--default-theme-color-1)) !important;\n}\n.simple-cell[data-v-b99d5e90]:last-of-type {\n border-right: none;\n}\n.simple-cell.wrap[data-v-b99d5e90] {\n white-space: normal;\n}\n.simple-cell.strong[data-v-b99d5e90] {\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n}\n\n.simple-header[data-v-6bd3700b] {\n color: var(--theme-color-3, var(--default-theme-color-3));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n text-transform: uppercase;\n}\n\n.simple-row[data-v-e7e681a1] {\n all: unset;\n display: table-row;\n box-shadow: 0 -1px var(--theme-border-color, var(--default-theme-border-color));\n}\n.simple-row[data-v-e7e681a1]:first-of-type {\n box-shadow: none;\n}\n\n.simple-table[data-v-8f53a32f] {\n all: unset;\n display: table;\n width: 100%;\n border-spacing: 0;\n box-shadow: 0 0 0 1px\n var(--theme-border-color, var(--default-theme-border-color));\n border-radius: var(--theme-radius, var(--default-theme-radius));\n}\n\n.scalar-api-client__main__right {\n width: 50%;\n padding: 0 18px 12px 18px;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__right {\n width: 100%;\n border-right: none;\n padding: 0 12px 12px 12px;\n}\n}\n.scalar-api-client__main__right :deep(.scalar-copilot__header-button) {\n position: absolute;\n top: 6px;\n right: 12px;\n}\n\n.scalar-api-client,\n#headlessui-portal-root {\n background: var(--theme-background-1, var(--default-theme-background-1));\n position: relative;\n height: 100%;\n overflow: hidden !important;\n display: flex;\n flex-direction: column;\n font-family: var(--theme-font, var(--default-theme-font));\n\n /** Make sure box-sizing is set properly. */\n box-sizing: border-box;\n*,\n *:before,\n *:after {\n box-sizing: inherit;\n}\n}\n.scalar-api-client {\n flex: 1;\n max-height: 100vh;\n}\n@media screen and (max-width: 1000px) {\n.scalar-api-client {\n width: 100%;\n}\n}\n.scalar-api-client pre {\n font-family: var(--theme-font-code, var(--default-theme-font-code));\n}\n.scalar-api-client__mobile-navigation {\n padding: 12px 12px 0 12px;\n display: flex;\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-2, var(--default-theme-color-2));\n font-weight: var(--theme-bold, var(--default-theme-bold));\n}\n.scalar-api-client__mobile-navigation__toggle {\n appearance: none;\n border: none;\n outline: none;\n background: transparent;\n font-size: var(--theme-font-size-2);\n color: var(--theme-color-2);\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-family: var(--theme-font, var(--default-theme-font));\n padding: 0;\n margin-right: 9px;\n cursor: pointer;\n}\n.scalar-api-client__mobile-navigation--active {\n color: var(--theme-color-1, var(--default-theme-color-1));\n}\n.scalar-api-client__mobile-navigation--active:hover {\n cursor: pointer;\n}\n.scalar-api-client__main {\n display: flex;\n height: 100%;\n min-height: 0;\n background: var(--theme-background-1, var(--default-theme-background-1));\n border-top: 1px solid\n var(--theme-border-color, var(--default-theme-border-color));\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main {\n flex-direction: column;\n}\n}\n\n/** TODO: Consider to make a Column component */\n.scalar-api-client__main__content {\n padding: 12px 6px;\n background: var(--theme-background-1, var(--default-theme-background-1));\n top: 0;\n position: sticky;\n z-index: 100;\n}\n.scalar-api-client__main__content label {\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-1, var(--default-theme-color-1));\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n display: flex;\n align-items: center;\n}\n@media screen and (max-width: 820px) {\n.scalar-api-client__main__content {\n padding: 3px 0 12px 0;\n}\n.scalar-api-client__main__content label {\n display: none;\n}\n}\n.meta {\n display: flex;\n margin-top: 3px;\n font-size: var(--theme-font-size-2, var(--default-theme-font-size-2));\n font-weight: var(--theme-font-size-2, var(--default-theme-font-size-2));\n color: var(\n --scalar-api-client-color2,\n var(--default-scalar-api-client-color2)\n );\n}\n.meta-item svg {\n fill: var(--theme-color-ghost, var(--default-theme-color-ghost));\n height: 14px;\n width: 14px;\n margin-right: 6px;\n}\n.meta-item {\n display: flex;\n align-items: center;\n margin-right: 12px;\n white-space: nowrap;\n font-weight: var(--theme-semibold, var(--default-theme-semibold));\n font-size: var(--theme-small, var(--default-theme-small));\n color: var(--theme-color-3, var(--default-theme-color-3));\n min-height: 17px;\n}\n.meta-item__input {\n background: transparent;\n width: 100%;\n margin-right: 0;\n}\n.types {\n margin: auto;\n width: 580px;\n display: flex;\n align-items: center;\n justify-content: center;\n flex-flow: wrap;\n}\n.types-heading {\n width: 100%;\n text-align: center;\n}\n.types-heading b {\n font-size: 42px;\n}\n.types-heading p {\n margin-bottom: 20px;\n margin-top: 12px;\n font-size: 24px;\n}\n.scalar-api-client__empty-state {\n border: 1px dashed\n var(--theme-border-color, var(--default-theme-border-color));\n width: 100%;\n text-align: center;\n border-radius: var(--theme-radius, var(--default-theme-radius));\n font-size: var(--theme-small, var(--default-theme-small));\n min-height: 58px;\n display: flex;\n align-items: center;\n justify-content: center;\n}"));
|
|
7
|
-
document.head.appendChild(elementStyle);
|
|
8
|
-
}
|
|
9
|
-
} catch (e) {
|
|
10
|
-
console.error("vite-plugin-css-injected-by-js", e);
|
|
11
|
-
}
|
|
12
|
-
})();
|
|
13
1
|
var __defProp = Object.defineProperty;
|
|
14
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
15
3
|
var __publicField = (obj, key, value) => {
|
|
16
4
|
__defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
17
5
|
return value;
|
|
18
6
|
};
|
|
19
|
-
import
|
|
7
|
+
import "./index.css";
|
|
8
|
+
import { defineComponent, openBlock, createBlock, resolveDynamicComponent, withCtx, createTextVNode, toDisplayString, unref, createCommentVNode, reactive, readonly, ref, computed, normalizeStyle, renderSlot, normalizeProps, guardReactiveProps, watch, onBeforeUnmount, toValue as toValue$1, toRef, createElementBlock, createElementVNode, createVNode, normalizeClass, Fragment, renderList, createStaticVNode, pushScopeId, popScopeId, withDirectives, withModifiers, vModelSelect, vModelText, vModelCheckbox, defineAsyncComponent, nextTick, onServerPrefetch, onMounted, h, vShow, toRaw, withKeys } from "vue";
|
|
20
9
|
import { Dialog, DialogPanel, DialogTitle, DialogDescription, Disclosure, DisclosureButton, DisclosurePanel, TabGroup, TabList, Tab, TabPanels, TabPanel } from "@headlessui/vue";
|
|
21
10
|
import { useMagicKeys, whenever, useMediaQuery } from "@vueuse/core";
|
|
22
11
|
import axios from "axios";
|
|
@@ -3391,8 +3380,8 @@ class EditorState {
|
|
|
3391
3380
|
for (let i = 1; i < sel.ranges.length; i++) {
|
|
3392
3381
|
let result = f(sel.ranges[i]);
|
|
3393
3382
|
let newChanges = this.changes(result.changes), newMapped = newChanges.map(changes);
|
|
3394
|
-
for (let
|
|
3395
|
-
ranges[
|
|
3383
|
+
for (let j2 = 0; j2 < i; j2++)
|
|
3384
|
+
ranges[j2] = ranges[j2].map(newMapped);
|
|
3396
3385
|
let mapBy = changes.mapDesc(newChanges, true);
|
|
3397
3386
|
ranges.push(result.range.map(mapBy));
|
|
3398
3387
|
changes = changes.compose(newMapped);
|
|
@@ -4530,24 +4519,24 @@ class StyleSet {
|
|
|
4530
4519
|
}
|
|
4531
4520
|
mount(modules) {
|
|
4532
4521
|
let sheet = this.sheet;
|
|
4533
|
-
let pos = 0,
|
|
4522
|
+
let pos = 0, j2 = 0;
|
|
4534
4523
|
for (let i = 0; i < modules.length; i++) {
|
|
4535
4524
|
let mod = modules[i], index = this.modules.indexOf(mod);
|
|
4536
|
-
if (index <
|
|
4525
|
+
if (index < j2 && index > -1) {
|
|
4537
4526
|
this.modules.splice(index, 1);
|
|
4538
|
-
|
|
4527
|
+
j2--;
|
|
4539
4528
|
index = -1;
|
|
4540
4529
|
}
|
|
4541
4530
|
if (index == -1) {
|
|
4542
|
-
this.modules.splice(
|
|
4531
|
+
this.modules.splice(j2++, 0, mod);
|
|
4543
4532
|
if (sheet)
|
|
4544
4533
|
for (let k = 0; k < mod.rules.length; k++)
|
|
4545
4534
|
sheet.insertRule(mod.rules[k], pos++);
|
|
4546
4535
|
} else {
|
|
4547
|
-
while (
|
|
4548
|
-
pos += this.modules[
|
|
4536
|
+
while (j2 < index)
|
|
4537
|
+
pos += this.modules[j2++].rules.length;
|
|
4549
4538
|
pos += mod.rules.length;
|
|
4550
|
-
|
|
4539
|
+
j2++;
|
|
4551
4540
|
}
|
|
4552
4541
|
}
|
|
4553
4542
|
if (sheet) {
|
|
@@ -4649,7 +4638,7 @@ var shift = {
|
|
|
4649
4638
|
222: '"'
|
|
4650
4639
|
};
|
|
4651
4640
|
var mac = typeof navigator != "undefined" && /Mac/.test(navigator.platform);
|
|
4652
|
-
var ie$
|
|
4641
|
+
var ie$2 = typeof navigator != "undefined" && /MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent);
|
|
4653
4642
|
for (var i = 0; i < 10; i++)
|
|
4654
4643
|
base[48 + i] = base[96 + i] = String(i);
|
|
4655
4644
|
for (var i = 1; i <= 24; i++)
|
|
@@ -4662,7 +4651,7 @@ for (var code in base)
|
|
|
4662
4651
|
if (!shift.hasOwnProperty(code))
|
|
4663
4652
|
shift[code] = base[code];
|
|
4664
4653
|
function keyName(event) {
|
|
4665
|
-
var ignoreKey = mac && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey || ie$
|
|
4654
|
+
var ignoreKey = mac && event.metaKey && event.shiftKey && !event.ctrlKey && !event.altKey || ie$2 && event.shiftKey && event.key && event.key.length == 1 || event.key == "Unidentified";
|
|
4666
4655
|
var name2 = !ignoreKey && event.key || (event.shiftKey ? shift : base)[event.keyCode] || event.key || "Unidentified";
|
|
4667
4656
|
if (name2 == "Esc")
|
|
4668
4657
|
name2 = "Escape";
|
|
@@ -4769,7 +4758,7 @@ function getScale(elt, rect) {
|
|
|
4769
4758
|
scaleY = 1;
|
|
4770
4759
|
return { scaleX, scaleY };
|
|
4771
4760
|
}
|
|
4772
|
-
function scrollRectIntoView(dom, rect, side, x,
|
|
4761
|
+
function scrollRectIntoView(dom, rect, side, x, y2, xMargin, yMargin, ltr) {
|
|
4773
4762
|
let doc2 = dom.ownerDocument, win = doc2.defaultView || window;
|
|
4774
4763
|
for (let cur2 = dom, stop = false; cur2 && !stop; ) {
|
|
4775
4764
|
if (cur2.nodeType == 1) {
|
|
@@ -4794,7 +4783,7 @@ function scrollRectIntoView(dom, rect, side, x, y, xMargin, yMargin, ltr) {
|
|
|
4794
4783
|
};
|
|
4795
4784
|
}
|
|
4796
4785
|
let moveX = 0, moveY = 0;
|
|
4797
|
-
if (
|
|
4786
|
+
if (y2 == "nearest") {
|
|
4798
4787
|
if (rect.top < bounding.top) {
|
|
4799
4788
|
moveY = -(bounding.top - rect.top + yMargin);
|
|
4800
4789
|
if (side > 0 && rect.bottom > bounding.bottom + moveY)
|
|
@@ -4806,7 +4795,7 @@ function scrollRectIntoView(dom, rect, side, x, y, xMargin, yMargin, ltr) {
|
|
|
4806
4795
|
}
|
|
4807
4796
|
} else {
|
|
4808
4797
|
let rectHeight = rect.bottom - rect.top, boundingHeight = bounding.bottom - bounding.top;
|
|
4809
|
-
let targetTop =
|
|
4798
|
+
let targetTop = y2 == "center" && rectHeight <= boundingHeight ? rect.top + rectHeight / 2 - boundingHeight / 2 : y2 == "start" || y2 == "center" && side < 0 ? rect.top - yMargin : rect.bottom - boundingHeight + yMargin;
|
|
4810
4799
|
moveY = targetTop - bounding.top;
|
|
4811
4800
|
}
|
|
4812
4801
|
if (x == "nearest") {
|
|
@@ -4847,7 +4836,7 @@ function scrollRectIntoView(dom, rect, side, x, y, xMargin, yMargin, ltr) {
|
|
|
4847
4836
|
if (movedX && Math.abs(movedX - moveX) < 1)
|
|
4848
4837
|
x = "nearest";
|
|
4849
4838
|
if (movedY && Math.abs(movedY - moveY) < 1)
|
|
4850
|
-
|
|
4839
|
+
y2 = "nearest";
|
|
4851
4840
|
}
|
|
4852
4841
|
}
|
|
4853
4842
|
if (top2)
|
|
@@ -5320,17 +5309,17 @@ let doc = typeof document != "undefined" ? document : { documentElement: { style
|
|
|
5320
5309
|
const ie_edge = /* @__PURE__ */ /Edge\/(\d+)/.exec(nav.userAgent);
|
|
5321
5310
|
const ie_upto10 = /* @__PURE__ */ /MSIE \d/.test(nav.userAgent);
|
|
5322
5311
|
const ie_11up = /* @__PURE__ */ /Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(nav.userAgent);
|
|
5323
|
-
const ie = !!(ie_upto10 || ie_11up || ie_edge);
|
|
5324
|
-
const gecko = !ie && /* @__PURE__ */ /gecko\/(\d+)/i.test(nav.userAgent);
|
|
5325
|
-
const chrome = !ie && /* @__PURE__ */ /Chrome\/(\d+)/.exec(nav.userAgent);
|
|
5312
|
+
const ie$1 = !!(ie_upto10 || ie_11up || ie_edge);
|
|
5313
|
+
const gecko = !ie$1 && /* @__PURE__ */ /gecko\/(\d+)/i.test(nav.userAgent);
|
|
5314
|
+
const chrome = !ie$1 && /* @__PURE__ */ /Chrome\/(\d+)/.exec(nav.userAgent);
|
|
5326
5315
|
const webkit = "webkitFontSmoothing" in doc.documentElement.style;
|
|
5327
|
-
const safari = !ie && /* @__PURE__ */ /Apple Computer/.test(nav.vendor);
|
|
5316
|
+
const safari = !ie$1 && /* @__PURE__ */ /Apple Computer/.test(nav.vendor);
|
|
5328
5317
|
const ios = safari && (/* @__PURE__ */ /Mobile\/\w+/.test(nav.userAgent) || nav.maxTouchPoints > 2);
|
|
5329
5318
|
var browser = {
|
|
5330
5319
|
mac: ios || /* @__PURE__ */ /Mac/.test(nav.platform),
|
|
5331
5320
|
windows: /* @__PURE__ */ /Win/.test(nav.platform),
|
|
5332
5321
|
linux: /* @__PURE__ */ /Linux|X11/.test(nav.platform),
|
|
5333
|
-
ie,
|
|
5322
|
+
ie: ie$1,
|
|
5334
5323
|
ie_version: ie_upto10 ? doc.documentMode || 6 : ie_11up ? +ie_11up[1] : ie_edge ? +ie_edge[1] : 0,
|
|
5335
5324
|
gecko,
|
|
5336
5325
|
gecko_version: gecko ? +(/* @__PURE__ */ /Firefox\/(\d+)/.exec(nav.userAgent) || [0, 0])[1] : 0,
|
|
@@ -5649,13 +5638,13 @@ function inlineDOMAtPos(parent, pos) {
|
|
|
5649
5638
|
break;
|
|
5650
5639
|
off = end;
|
|
5651
5640
|
}
|
|
5652
|
-
for (let
|
|
5653
|
-
let prev = children[
|
|
5641
|
+
for (let j2 = i; j2 > 0; j2--) {
|
|
5642
|
+
let prev = children[j2 - 1];
|
|
5654
5643
|
if (prev.dom.parentNode == dom)
|
|
5655
5644
|
return prev.domAtPos(prev.length);
|
|
5656
5645
|
}
|
|
5657
|
-
for (let
|
|
5658
|
-
let next = children[
|
|
5646
|
+
for (let j2 = i; j2 < children.length; j2++) {
|
|
5647
|
+
let next = children[j2];
|
|
5659
5648
|
if (next.dom.parentNode == dom)
|
|
5660
5649
|
return next.domAtPos(0);
|
|
5661
5650
|
}
|
|
@@ -5796,8 +5785,8 @@ class LineView extends ContentView {
|
|
|
5796
5785
|
this.children[i].merge(off, this.children[i].length, null, false, 0, 0);
|
|
5797
5786
|
i++;
|
|
5798
5787
|
}
|
|
5799
|
-
for (let
|
|
5800
|
-
end.append(this.children[
|
|
5788
|
+
for (let j2 = i; j2 < this.children.length; j2++)
|
|
5789
|
+
end.append(this.children[j2], 0);
|
|
5801
5790
|
while (i > 0 && this.children[i - 1].length == 0)
|
|
5802
5791
|
this.children[--i].destroy();
|
|
5803
5792
|
this.children.length = i;
|
|
@@ -6527,8 +6516,8 @@ function computeCharTypes(line, rFrom, rTo, isolates, outerType) {
|
|
|
6527
6516
|
while (end < to && types[end] == 64)
|
|
6528
6517
|
end++;
|
|
6529
6518
|
let replace = i && prev == 8 || end < rTo && types[end] == 8 ? prevStrong == 1 ? 1 : 8 : 256;
|
|
6530
|
-
for (let
|
|
6531
|
-
types[
|
|
6519
|
+
for (let j2 = i; j2 < end; j2++)
|
|
6520
|
+
types[j2] = replace;
|
|
6532
6521
|
i = end - 1;
|
|
6533
6522
|
} else if (type == 8 && prevStrong == 1) {
|
|
6534
6523
|
types[i] = 1;
|
|
@@ -6604,12 +6593,12 @@ function processNeutrals(rFrom, rTo, isolates, outerType) {
|
|
|
6604
6593
|
let beforeL = prev == 1;
|
|
6605
6594
|
let afterL = (end < rTo ? types[end] : outerType) == 1;
|
|
6606
6595
|
let replace = beforeL == afterL ? beforeL ? 1 : 2 : outerType;
|
|
6607
|
-
for (let
|
|
6608
|
-
if (
|
|
6609
|
-
|
|
6596
|
+
for (let j2 = end, jI = iI, fromJ = jI ? isolates[jI - 1].to : rFrom; j2 > i; ) {
|
|
6597
|
+
if (j2 == fromJ) {
|
|
6598
|
+
j2 = isolates[--jI].from;
|
|
6610
6599
|
fromJ = jI ? isolates[jI - 1].to : rFrom;
|
|
6611
6600
|
}
|
|
6612
|
-
types[--
|
|
6601
|
+
types[--j2] = replace;
|
|
6613
6602
|
}
|
|
6614
6603
|
i = end;
|
|
6615
6604
|
} else {
|
|
@@ -6797,9 +6786,9 @@ const nativeSelectionHidden = /* @__PURE__ */ Facet.define({
|
|
|
6797
6786
|
combine: (values2) => values2.some((x) => x)
|
|
6798
6787
|
});
|
|
6799
6788
|
class ScrollTarget {
|
|
6800
|
-
constructor(range,
|
|
6789
|
+
constructor(range, y2 = "nearest", x = "nearest", yMargin = 5, xMargin = 5, isSnapshot = false) {
|
|
6801
6790
|
this.range = range;
|
|
6802
|
-
this.y =
|
|
6791
|
+
this.y = y2;
|
|
6803
6792
|
this.x = x;
|
|
6804
6793
|
this.yMargin = yMargin;
|
|
6805
6794
|
this.xMargin = xMargin;
|
|
@@ -7720,8 +7709,8 @@ function groupAt(state2, pos, bias = 1) {
|
|
|
7720
7709
|
function getdx(x, rect) {
|
|
7721
7710
|
return rect.left > x ? rect.left - x : Math.max(0, x - rect.right);
|
|
7722
7711
|
}
|
|
7723
|
-
function getdy(
|
|
7724
|
-
return rect.top >
|
|
7712
|
+
function getdy(y2, rect) {
|
|
7713
|
+
return rect.top > y2 ? rect.top - y2 : Math.max(0, y2 - rect.bottom);
|
|
7725
7714
|
}
|
|
7726
7715
|
function yOverlap(a, b) {
|
|
7727
7716
|
return a.top < b.bottom - 1 && a.bottom > b.top + 1;
|
|
@@ -7732,7 +7721,7 @@ function upTop(rect, top2) {
|
|
|
7732
7721
|
function upBot(rect, bottom) {
|
|
7733
7722
|
return bottom > rect.bottom ? { top: rect.top, left: rect.left, right: rect.right, bottom } : rect;
|
|
7734
7723
|
}
|
|
7735
|
-
function domPosAtCoords(parent, x,
|
|
7724
|
+
function domPosAtCoords(parent, x, y2) {
|
|
7736
7725
|
let closest, closestRect, closestX, closestY, closestOverlap = false;
|
|
7737
7726
|
let above, below, aboveRect, belowRect;
|
|
7738
7727
|
for (let child = parent.firstChild; child; child = child.nextSibling) {
|
|
@@ -7741,22 +7730,22 @@ function domPosAtCoords(parent, x, y) {
|
|
|
7741
7730
|
let rect = rects[i];
|
|
7742
7731
|
if (closestRect && yOverlap(closestRect, rect))
|
|
7743
7732
|
rect = upTop(upBot(rect, closestRect.bottom), closestRect.top);
|
|
7744
|
-
let dx = getdx(x, rect), dy = getdy(
|
|
7733
|
+
let dx = getdx(x, rect), dy = getdy(y2, rect);
|
|
7745
7734
|
if (dx == 0 && dy == 0)
|
|
7746
|
-
return child.nodeType == 3 ? domPosInText(child, x,
|
|
7735
|
+
return child.nodeType == 3 ? domPosInText(child, x, y2) : domPosAtCoords(child, x, y2);
|
|
7747
7736
|
if (!closest || closestY > dy || closestY == dy && closestX > dx) {
|
|
7748
7737
|
closest = child;
|
|
7749
7738
|
closestRect = rect;
|
|
7750
7739
|
closestX = dx;
|
|
7751
7740
|
closestY = dy;
|
|
7752
|
-
let side = dy ?
|
|
7741
|
+
let side = dy ? y2 < rect.top ? -1 : 1 : dx ? x < rect.left ? -1 : 1 : 0;
|
|
7753
7742
|
closestOverlap = !side || (side > 0 ? i < rects.length - 1 : i > 0);
|
|
7754
7743
|
}
|
|
7755
7744
|
if (dx == 0) {
|
|
7756
|
-
if (
|
|
7745
|
+
if (y2 > rect.bottom && (!aboveRect || aboveRect.bottom < rect.bottom)) {
|
|
7757
7746
|
above = child;
|
|
7758
7747
|
aboveRect = rect;
|
|
7759
|
-
} else if (
|
|
7748
|
+
} else if (y2 < rect.top && (!belowRect || belowRect.top > rect.top)) {
|
|
7760
7749
|
below = child;
|
|
7761
7750
|
belowRect = rect;
|
|
7762
7751
|
}
|
|
@@ -7767,10 +7756,10 @@ function domPosAtCoords(parent, x, y) {
|
|
|
7767
7756
|
}
|
|
7768
7757
|
}
|
|
7769
7758
|
}
|
|
7770
|
-
if (aboveRect && aboveRect.bottom >=
|
|
7759
|
+
if (aboveRect && aboveRect.bottom >= y2) {
|
|
7771
7760
|
closest = above;
|
|
7772
7761
|
closestRect = aboveRect;
|
|
7773
|
-
} else if (belowRect && belowRect.top <=
|
|
7762
|
+
} else if (belowRect && belowRect.top <= y2) {
|
|
7774
7763
|
closest = below;
|
|
7775
7764
|
closestRect = belowRect;
|
|
7776
7765
|
}
|
|
@@ -7778,24 +7767,24 @@ function domPosAtCoords(parent, x, y) {
|
|
|
7778
7767
|
return { node: parent, offset: 0 };
|
|
7779
7768
|
let clipX = Math.max(closestRect.left, Math.min(closestRect.right, x));
|
|
7780
7769
|
if (closest.nodeType == 3)
|
|
7781
|
-
return domPosInText(closest, clipX,
|
|
7770
|
+
return domPosInText(closest, clipX, y2);
|
|
7782
7771
|
if (closestOverlap && closest.contentEditable != "false")
|
|
7783
|
-
return domPosAtCoords(closest, clipX,
|
|
7772
|
+
return domPosAtCoords(closest, clipX, y2);
|
|
7784
7773
|
let offset = Array.prototype.indexOf.call(parent.childNodes, closest) + (x >= (closestRect.left + closestRect.right) / 2 ? 1 : 0);
|
|
7785
7774
|
return { node: parent, offset };
|
|
7786
7775
|
}
|
|
7787
|
-
function domPosInText(node, x,
|
|
7776
|
+
function domPosInText(node, x, y2) {
|
|
7788
7777
|
let len = node.nodeValue.length;
|
|
7789
7778
|
let closestOffset = -1, closestDY = 1e9, generalSide = 0;
|
|
7790
7779
|
for (let i = 0; i < len; i++) {
|
|
7791
7780
|
let rects = textRange(node, i, i + 1).getClientRects();
|
|
7792
|
-
for (let
|
|
7793
|
-
let rect = rects[
|
|
7781
|
+
for (let j2 = 0; j2 < rects.length; j2++) {
|
|
7782
|
+
let rect = rects[j2];
|
|
7794
7783
|
if (rect.top == rect.bottom)
|
|
7795
7784
|
continue;
|
|
7796
7785
|
if (!generalSide)
|
|
7797
7786
|
generalSide = x - rect.left;
|
|
7798
|
-
let dy = (rect.top >
|
|
7787
|
+
let dy = (rect.top > y2 ? rect.top - y2 : y2 - rect.bottom) - 1;
|
|
7799
7788
|
if (rect.left - 1 <= x && rect.right + 1 >= x && dy < closestDY) {
|
|
7800
7789
|
let right = x >= (rect.left + rect.right) / 2, after = right;
|
|
7801
7790
|
if (browser.chrome || browser.gecko) {
|
|
@@ -7816,7 +7805,7 @@ function posAtCoords(view, coords, precise, bias = -1) {
|
|
|
7816
7805
|
var _a2, _b;
|
|
7817
7806
|
let content2 = view.contentDOM.getBoundingClientRect(), docTop = content2.top + view.viewState.paddingTop;
|
|
7818
7807
|
let block, { docHeight } = view.viewState;
|
|
7819
|
-
let { x, y } = coords, yOffset =
|
|
7808
|
+
let { x, y: y2 } = coords, yOffset = y2 - docTop;
|
|
7820
7809
|
if (yOffset < 0)
|
|
7821
7810
|
return 0;
|
|
7822
7811
|
if (yOffset > docHeight)
|
|
@@ -7835,31 +7824,31 @@ function posAtCoords(view, coords, precise, bias = -1) {
|
|
|
7835
7824
|
bias = -bias;
|
|
7836
7825
|
}
|
|
7837
7826
|
}
|
|
7838
|
-
|
|
7827
|
+
y2 = docTop + yOffset;
|
|
7839
7828
|
let lineStart = block.from;
|
|
7840
7829
|
if (lineStart < view.viewport.from)
|
|
7841
|
-
return view.viewport.from == 0 ? 0 : precise ? null : posAtCoordsImprecise(view, content2, block, x,
|
|
7830
|
+
return view.viewport.from == 0 ? 0 : precise ? null : posAtCoordsImprecise(view, content2, block, x, y2);
|
|
7842
7831
|
if (lineStart > view.viewport.to)
|
|
7843
|
-
return view.viewport.to == view.state.doc.length ? view.state.doc.length : precise ? null : posAtCoordsImprecise(view, content2, block, x,
|
|
7832
|
+
return view.viewport.to == view.state.doc.length ? view.state.doc.length : precise ? null : posAtCoordsImprecise(view, content2, block, x, y2);
|
|
7844
7833
|
let doc2 = view.dom.ownerDocument;
|
|
7845
7834
|
let root = view.root.elementFromPoint ? view.root : doc2;
|
|
7846
|
-
let element = root.elementFromPoint(x,
|
|
7835
|
+
let element = root.elementFromPoint(x, y2);
|
|
7847
7836
|
if (element && !view.contentDOM.contains(element))
|
|
7848
7837
|
element = null;
|
|
7849
7838
|
if (!element) {
|
|
7850
7839
|
x = Math.max(content2.left + 1, Math.min(content2.right - 1, x));
|
|
7851
|
-
element = root.elementFromPoint(x,
|
|
7840
|
+
element = root.elementFromPoint(x, y2);
|
|
7852
7841
|
if (element && !view.contentDOM.contains(element))
|
|
7853
7842
|
element = null;
|
|
7854
7843
|
}
|
|
7855
7844
|
let node, offset = -1;
|
|
7856
7845
|
if (element && ((_a2 = view.docView.nearest(element)) === null || _a2 === void 0 ? void 0 : _a2.isEditable) != false) {
|
|
7857
7846
|
if (doc2.caretPositionFromPoint) {
|
|
7858
|
-
let pos = doc2.caretPositionFromPoint(x,
|
|
7847
|
+
let pos = doc2.caretPositionFromPoint(x, y2);
|
|
7859
7848
|
if (pos)
|
|
7860
7849
|
({ offsetNode: node, offset } = pos);
|
|
7861
7850
|
} else if (doc2.caretRangeFromPoint) {
|
|
7862
|
-
let range = doc2.caretRangeFromPoint(x,
|
|
7851
|
+
let range = doc2.caretRangeFromPoint(x, y2);
|
|
7863
7852
|
if (range) {
|
|
7864
7853
|
({ startContainer: node, startOffset: offset } = range);
|
|
7865
7854
|
if (!view.contentDOM.contains(node) || browser.safari && isSuspiciousSafariCaretResult(node, offset, x) || browser.chrome && isSuspiciousChromeCaretResult(node, offset, x))
|
|
@@ -7871,7 +7860,7 @@ function posAtCoords(view, coords, precise, bias = -1) {
|
|
|
7871
7860
|
let line = LineView.find(view.docView, lineStart);
|
|
7872
7861
|
if (!line)
|
|
7873
7862
|
return yOffset > block.top + block.height / 2 ? block.to : block.from;
|
|
7874
|
-
({ node, offset } = domPosAtCoords(line.dom, x,
|
|
7863
|
+
({ node, offset } = domPosAtCoords(line.dom, x, y2));
|
|
7875
7864
|
}
|
|
7876
7865
|
let nearest = view.docView.nearest(node);
|
|
7877
7866
|
if (!nearest)
|
|
@@ -7883,11 +7872,11 @@ function posAtCoords(view, coords, precise, bias = -1) {
|
|
|
7883
7872
|
return nearest.localPosFromDOM(node, offset) + nearest.posAtStart;
|
|
7884
7873
|
}
|
|
7885
7874
|
}
|
|
7886
|
-
function posAtCoordsImprecise(view, contentRect, block, x,
|
|
7875
|
+
function posAtCoordsImprecise(view, contentRect, block, x, y2) {
|
|
7887
7876
|
let into = Math.round((x - contentRect.left) * view.defaultCharacterWidth);
|
|
7888
7877
|
if (view.lineWrapping && block.height > view.defaultLineHeight * 1.5) {
|
|
7889
7878
|
let textHeight = view.viewState.heightOracle.textHeight;
|
|
7890
|
-
let line = Math.floor((
|
|
7879
|
+
let line = Math.floor((y2 - block.top - (view.defaultLineHeight - textHeight) * 0.5) / textHeight);
|
|
7891
7880
|
into += line * view.viewState.heightOracle.lineLength;
|
|
7892
7881
|
}
|
|
7893
7882
|
let content2 = view.state.sliceDoc(block.from, block.to);
|
|
@@ -8452,9 +8441,9 @@ function rangeForClick(view, pos, bias, type) {
|
|
|
8452
8441
|
return EditorSelection.range(from, to);
|
|
8453
8442
|
}
|
|
8454
8443
|
}
|
|
8455
|
-
let insideY = (
|
|
8456
|
-
let inside = (x,
|
|
8457
|
-
function findPositionSide(view, pos, x,
|
|
8444
|
+
let insideY = (y2, rect) => y2 >= rect.top && y2 <= rect.bottom;
|
|
8445
|
+
let inside = (x, y2, rect) => insideY(y2, rect) && x >= rect.left && x <= rect.right;
|
|
8446
|
+
function findPositionSide(view, pos, x, y2) {
|
|
8458
8447
|
let line = LineView.find(view.docView, pos);
|
|
8459
8448
|
if (!line)
|
|
8460
8449
|
return 1;
|
|
@@ -8464,12 +8453,12 @@ function findPositionSide(view, pos, x, y) {
|
|
|
8464
8453
|
if (off == line.length)
|
|
8465
8454
|
return -1;
|
|
8466
8455
|
let before = line.coordsAt(off, -1);
|
|
8467
|
-
if (before && inside(x,
|
|
8456
|
+
if (before && inside(x, y2, before))
|
|
8468
8457
|
return -1;
|
|
8469
8458
|
let after = line.coordsAt(off, 1);
|
|
8470
|
-
if (after && inside(x,
|
|
8459
|
+
if (after && inside(x, y2, after))
|
|
8471
8460
|
return 1;
|
|
8472
|
-
return before && insideY(
|
|
8461
|
+
return before && insideY(y2, before) ? -1 : 1;
|
|
8473
8462
|
}
|
|
8474
8463
|
function queryPos(view, event) {
|
|
8475
8464
|
let pos = view.posAtCoords({ x: event.clientX, y: event.clientY }, false);
|
|
@@ -8952,24 +8941,24 @@ class HeightMap {
|
|
|
8952
8941
|
static of(nodes) {
|
|
8953
8942
|
if (nodes.length == 1)
|
|
8954
8943
|
return nodes[0];
|
|
8955
|
-
let i = 0,
|
|
8944
|
+
let i = 0, j2 = nodes.length, before = 0, after = 0;
|
|
8956
8945
|
for (; ; ) {
|
|
8957
|
-
if (i ==
|
|
8946
|
+
if (i == j2) {
|
|
8958
8947
|
if (before > after * 2) {
|
|
8959
8948
|
let split = nodes[i - 1];
|
|
8960
8949
|
if (split.break)
|
|
8961
8950
|
nodes.splice(--i, 1, split.left, null, split.right);
|
|
8962
8951
|
else
|
|
8963
8952
|
nodes.splice(--i, 1, split.left, split.right);
|
|
8964
|
-
|
|
8953
|
+
j2 += 1 + split.break;
|
|
8965
8954
|
before -= split.size;
|
|
8966
8955
|
} else if (after > before * 2) {
|
|
8967
|
-
let split = nodes[
|
|
8956
|
+
let split = nodes[j2];
|
|
8968
8957
|
if (split.break)
|
|
8969
|
-
nodes.splice(
|
|
8958
|
+
nodes.splice(j2, 1, split.left, null, split.right);
|
|
8970
8959
|
else
|
|
8971
|
-
nodes.splice(
|
|
8972
|
-
|
|
8960
|
+
nodes.splice(j2, 1, split.left, split.right);
|
|
8961
|
+
j2 += 2 + split.break;
|
|
8973
8962
|
after -= split.size;
|
|
8974
8963
|
} else {
|
|
8975
8964
|
break;
|
|
@@ -8979,7 +8968,7 @@ class HeightMap {
|
|
|
8979
8968
|
if (next)
|
|
8980
8969
|
before += next.size;
|
|
8981
8970
|
} else {
|
|
8982
|
-
let next = nodes[--
|
|
8971
|
+
let next = nodes[--j2];
|
|
8983
8972
|
if (next)
|
|
8984
8973
|
after += next.size;
|
|
8985
8974
|
}
|
|
@@ -8990,9 +8979,9 @@ class HeightMap {
|
|
|
8990
8979
|
i--;
|
|
8991
8980
|
} else if (nodes[i] == null) {
|
|
8992
8981
|
brk = 1;
|
|
8993
|
-
|
|
8982
|
+
j2++;
|
|
8994
8983
|
}
|
|
8995
|
-
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(
|
|
8984
|
+
return new HeightMapBranch(HeightMap.of(nodes.slice(0, i)), brk, HeightMap.of(nodes.slice(j2)));
|
|
8996
8985
|
}
|
|
8997
8986
|
}
|
|
8998
8987
|
HeightMap.prototype.size = 1;
|
|
@@ -12958,16 +12947,16 @@ class SingleGutterView {
|
|
|
12958
12947
|
this.dom.className = "cm-gutter" + (this.config.class ? " " + this.config.class : "");
|
|
12959
12948
|
for (let prop in config2.domEventHandlers) {
|
|
12960
12949
|
this.dom.addEventListener(prop, (event) => {
|
|
12961
|
-
let target = event.target,
|
|
12950
|
+
let target = event.target, y2;
|
|
12962
12951
|
if (target != this.dom && this.dom.contains(target)) {
|
|
12963
12952
|
while (target.parentNode != this.dom)
|
|
12964
12953
|
target = target.parentNode;
|
|
12965
12954
|
let rect = target.getBoundingClientRect();
|
|
12966
|
-
|
|
12955
|
+
y2 = (rect.top + rect.bottom) / 2;
|
|
12967
12956
|
} else {
|
|
12968
|
-
|
|
12957
|
+
y2 = event.clientY;
|
|
12969
12958
|
}
|
|
12970
|
-
let line = view.lineBlockAtHeight(
|
|
12959
|
+
let line = view.lineBlockAtHeight(y2 - view.documentTop);
|
|
12971
12960
|
if (config2.domEventHandlers[prop](view, line, event))
|
|
12972
12961
|
event.preventDefault();
|
|
12973
12962
|
});
|
|
@@ -13593,11 +13582,11 @@ class TreeBuffer {
|
|
|
13593
13582
|
slice(startI, endI, from) {
|
|
13594
13583
|
let b = this.buffer;
|
|
13595
13584
|
let copy = new Uint16Array(endI - startI), len = 0;
|
|
13596
|
-
for (let i = startI,
|
|
13597
|
-
copy[
|
|
13598
|
-
copy[
|
|
13599
|
-
let to = copy[
|
|
13600
|
-
copy[
|
|
13585
|
+
for (let i = startI, j2 = 0; i < endI; ) {
|
|
13586
|
+
copy[j2++] = b[i++];
|
|
13587
|
+
copy[j2++] = b[i++] - from;
|
|
13588
|
+
let to = copy[j2++] = b[i++] - from;
|
|
13589
|
+
copy[j2++] = b[i++] - startI;
|
|
13601
13590
|
len = Math.max(len, to);
|
|
13602
13591
|
}
|
|
13603
13592
|
return new TreeBuffer(copy, len, this.set);
|
|
@@ -14449,11 +14438,11 @@ function buildTree(data) {
|
|
|
14449
14438
|
if (nodeCount) {
|
|
14450
14439
|
let buffer2 = new Uint16Array(nodeCount * 4);
|
|
14451
14440
|
let start = nodes[nodes.length - 2];
|
|
14452
|
-
for (let i = nodes.length - 3,
|
|
14453
|
-
buffer2[
|
|
14454
|
-
buffer2[
|
|
14455
|
-
buffer2[
|
|
14456
|
-
buffer2[
|
|
14441
|
+
for (let i = nodes.length - 3, j2 = 0; i >= 0; i -= 3) {
|
|
14442
|
+
buffer2[j2++] = nodes[i];
|
|
14443
|
+
buffer2[j2++] = nodes[i + 1] - start;
|
|
14444
|
+
buffer2[j2++] = nodes[i + 2] - start;
|
|
14445
|
+
buffer2[j2++] = j2;
|
|
14457
14446
|
}
|
|
14458
14447
|
children2.push(new TreeBuffer(buffer2, nodes[2] - start, nodeSet));
|
|
14459
14448
|
positions2.push(start - parentStart);
|
|
@@ -15077,10 +15066,10 @@ let FragmentCursor$1 = class FragmentCursor {
|
|
|
15077
15066
|
};
|
|
15078
15067
|
function punchRanges(outer, ranges) {
|
|
15079
15068
|
let copy = null, current = ranges;
|
|
15080
|
-
for (let i = 1,
|
|
15069
|
+
for (let i = 1, j2 = 0; i < outer.length; i++) {
|
|
15081
15070
|
let gapFrom = outer[i - 1].to, gapTo = outer[i].from;
|
|
15082
|
-
for (;
|
|
15083
|
-
let r2 = current[
|
|
15071
|
+
for (; j2 < current.length; j2++) {
|
|
15072
|
+
let r2 = current[j2];
|
|
15084
15073
|
if (r2.from >= gapTo)
|
|
15085
15074
|
break;
|
|
15086
15075
|
if (r2.to <= gapFrom)
|
|
@@ -15088,13 +15077,13 @@ function punchRanges(outer, ranges) {
|
|
|
15088
15077
|
if (!copy)
|
|
15089
15078
|
current = copy = ranges.slice();
|
|
15090
15079
|
if (r2.from < gapFrom) {
|
|
15091
|
-
copy[
|
|
15080
|
+
copy[j2] = new Range2(r2.from, gapFrom);
|
|
15092
15081
|
if (r2.to > gapTo)
|
|
15093
|
-
copy.splice(
|
|
15082
|
+
copy.splice(j2 + 1, 0, new Range2(gapTo, r2.to));
|
|
15094
15083
|
} else if (r2.to > gapTo) {
|
|
15095
|
-
copy[
|
|
15084
|
+
copy[j2--] = new Range2(gapTo, r2.to);
|
|
15096
15085
|
} else {
|
|
15097
|
-
copy.splice(
|
|
15086
|
+
copy.splice(j2--, 1);
|
|
15098
15087
|
}
|
|
15099
15088
|
}
|
|
15100
15089
|
}
|
|
@@ -15233,8 +15222,8 @@ function sameArray(a, b) {
|
|
|
15233
15222
|
function powerSet(array) {
|
|
15234
15223
|
let sets = [[]];
|
|
15235
15224
|
for (let i = 0; i < array.length; i++) {
|
|
15236
|
-
for (let
|
|
15237
|
-
sets.push(sets[
|
|
15225
|
+
for (let j2 = 0, e = sets.length; j2 < e; j2++) {
|
|
15226
|
+
sets.push(sets[j2].concat(array[i]));
|
|
15238
15227
|
}
|
|
15239
15228
|
}
|
|
15240
15229
|
return sets.sort((a, b) => b.length - a.length);
|
|
@@ -17379,8 +17368,8 @@ function optionContent(config2) {
|
|
|
17379
17368
|
let labelElt = document.createElement("span");
|
|
17380
17369
|
labelElt.className = "cm-completionLabel";
|
|
17381
17370
|
let label = completion.displayLabel || completion.label, off = 0;
|
|
17382
|
-
for (let
|
|
17383
|
-
let from = match[
|
|
17371
|
+
for (let j2 = 0; j2 < match.length; ) {
|
|
17372
|
+
let from = match[j2++], to = match[j2++];
|
|
17384
17373
|
if (from > off)
|
|
17385
17374
|
labelElt.appendChild(document.createTextNode(label.slice(off, from)));
|
|
17386
17375
|
let span = labelElt.appendChild(document.createElement("span"));
|
|
@@ -18062,7 +18051,7 @@ const completionPlugin = /* @__PURE__ */ ViewPlugin.fromClass(class {
|
|
|
18062
18051
|
if (update.transactions.some((tr) => tr.effects.some((e) => e.is(startCompletionEffect))))
|
|
18063
18052
|
this.pendingStart = true;
|
|
18064
18053
|
let delay = this.pendingStart ? 50 : update.state.facet(completionConfig).activateOnTypingDelay;
|
|
18065
|
-
this.debounceUpdate = cState.active.some((a) => a.state == 1 && !this.running.some((
|
|
18054
|
+
this.debounceUpdate = cState.active.some((a) => a.state == 1 && !this.running.some((q) => q.active.source == a.source)) ? setTimeout(() => this.startUpdate(), delay) : -1;
|
|
18066
18055
|
if (this.composing != 0)
|
|
18067
18056
|
for (let tr of update.transactions) {
|
|
18068
18057
|
if (getUserEvent(tr) == "input")
|
|
@@ -18096,7 +18085,7 @@ const completionPlugin = /* @__PURE__ */ ViewPlugin.fromClass(class {
|
|
|
18096
18085
|
});
|
|
18097
18086
|
}
|
|
18098
18087
|
scheduleAccept() {
|
|
18099
|
-
if (this.running.every((
|
|
18088
|
+
if (this.running.every((q) => q.done !== void 0))
|
|
18100
18089
|
this.accept();
|
|
18101
18090
|
else if (this.debounceAccept < 0)
|
|
18102
18091
|
this.debounceAccept = setTimeout(() => this.accept(), this.view.state.facet(completionConfig).updateSyncTime);
|
|
@@ -19959,11 +19948,11 @@ class Parse {
|
|
|
19959
19948
|
outer:
|
|
19960
19949
|
for (let i = 0; i < newStacks.length - 1; i++) {
|
|
19961
19950
|
let stack = newStacks[i];
|
|
19962
|
-
for (let
|
|
19963
|
-
let other = newStacks[
|
|
19951
|
+
for (let j2 = i + 1; j2 < newStacks.length; j2++) {
|
|
19952
|
+
let other = newStacks[j2];
|
|
19964
19953
|
if (stack.sameState(other) || stack.buffer.length > 500 && other.buffer.length > 500) {
|
|
19965
19954
|
if ((stack.score - other.score || stack.buffer.length - other.buffer.length) > 0) {
|
|
19966
|
-
newStacks.splice(
|
|
19955
|
+
newStacks.splice(j2--, 1);
|
|
19967
19956
|
} else {
|
|
19968
19957
|
newStacks.splice(i--, 1);
|
|
19969
19958
|
continue outer;
|
|
@@ -20087,7 +20076,7 @@ class Parse {
|
|
|
20087
20076
|
continue;
|
|
20088
20077
|
}
|
|
20089
20078
|
let force = stack.split(), forceBase = base2;
|
|
20090
|
-
for (let
|
|
20079
|
+
for (let j2 = 0; force.forceReduce() && j2 < 10; j2++) {
|
|
20091
20080
|
if (verbose)
|
|
20092
20081
|
console.log(forceBase + this.stackID(force) + " (via force-reduce)");
|
|
20093
20082
|
let done = this.advanceFully(force, newStacks);
|
|
@@ -20203,7 +20192,7 @@ class LRParser extends Parser {
|
|
|
20203
20192
|
setProp(next, prop, propSpec[i++]);
|
|
20204
20193
|
} else {
|
|
20205
20194
|
let value = propSpec[i + -next];
|
|
20206
|
-
for (let
|
|
20195
|
+
for (let j2 = -next; j2 > 0; j2--)
|
|
20207
20196
|
setProp(propSpec[i++], prop, value);
|
|
20208
20197
|
i++;
|
|
20209
20198
|
}
|
|
@@ -20244,8 +20233,8 @@ class LRParser extends Parser {
|
|
|
20244
20233
|
}
|
|
20245
20234
|
createParse(input, fragments, ranges) {
|
|
20246
20235
|
let parse = new Parse(this, input, fragments, ranges);
|
|
20247
|
-
for (let
|
|
20248
|
-
parse =
|
|
20236
|
+
for (let w2 of this.wrappers)
|
|
20237
|
+
parse = w2(parse, input, fragments, ranges);
|
|
20249
20238
|
return parse;
|
|
20250
20239
|
}
|
|
20251
20240
|
/**
|
|
@@ -20457,7 +20446,7 @@ class LRParser extends Parser {
|
|
|
20457
20446
|
let disabled = null;
|
|
20458
20447
|
for (let i = 0; i < values2.length; i++)
|
|
20459
20448
|
if (!flags[i]) {
|
|
20460
|
-
for (let
|
|
20449
|
+
for (let j2 = this.dialects[values2[i]], id2; (id2 = this.data[j2++]) != 65535; )
|
|
20461
20450
|
(disabled || (disabled = new Uint8Array(this.maxTerm + 1)))[id2] = 1;
|
|
20462
20451
|
}
|
|
20463
20452
|
return new Dialect(dialect, flags, disabled);
|
|
@@ -23996,6 +23985,12 @@ const concatenateUrlAndPath = (url, path) => {
|
|
|
23996
23985
|
const pathWithoutSlash = path.startsWith("/") ? path.slice(1) : path;
|
|
23997
23986
|
return [urlWithSlash, pathWithoutSlash].join("");
|
|
23998
23987
|
};
|
|
23988
|
+
function encodeStringAsBase64(value) {
|
|
23989
|
+
if (typeof window === "undefined") {
|
|
23990
|
+
return Buffer.from(value).toString("base64");
|
|
23991
|
+
}
|
|
23992
|
+
return btoa(value);
|
|
23993
|
+
}
|
|
23999
23994
|
const findVariables = (value) => {
|
|
24000
23995
|
const regex = /(?:\{+)\s*(\w+)\s*(?:\}+)/g;
|
|
24001
23996
|
return [...value.matchAll(regex)].map((match) => match[1].trim()) || [];
|
|
@@ -24180,7 +24175,7 @@ function initVisitor(visitor) {
|
|
|
24180
24175
|
return visitor;
|
|
24181
24176
|
}
|
|
24182
24177
|
function callVisitor(key, node, visitor, path) {
|
|
24183
|
-
var _a2, _b, _c, _d,
|
|
24178
|
+
var _a2, _b, _c, _d, _e2;
|
|
24184
24179
|
if (typeof visitor === "function")
|
|
24185
24180
|
return visitor(key, node, path);
|
|
24186
24181
|
if (isMap(node))
|
|
@@ -24192,7 +24187,7 @@ function callVisitor(key, node, visitor, path) {
|
|
|
24192
24187
|
if (isScalar(node))
|
|
24193
24188
|
return (_d = visitor.Scalar) == null ? void 0 : _d.call(visitor, key, node, path);
|
|
24194
24189
|
if (isAlias(node))
|
|
24195
|
-
return (
|
|
24190
|
+
return (_e2 = visitor.Alias) == null ? void 0 : _e2.call(visitor, key, node, path);
|
|
24196
24191
|
return void 0;
|
|
24197
24192
|
}
|
|
24198
24193
|
function replaceNode(key, path, node) {
|
|
@@ -24530,7 +24525,7 @@ class Collection extends NodeBase {
|
|
|
24530
24525
|
const copy = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
|
|
24531
24526
|
if (schema)
|
|
24532
24527
|
copy.schema = schema;
|
|
24533
|
-
copy.items = copy.items.map((
|
|
24528
|
+
copy.items = copy.items.map((it2) => isNode(it2) || isPair(it2) ? it2.clone(schema) : it2);
|
|
24534
24529
|
if (this.range)
|
|
24535
24530
|
copy.range = this.range.slice();
|
|
24536
24531
|
return copy;
|
|
@@ -24695,12 +24690,12 @@ function foldFlowLines(text, indent, mode = "flow", { indentAtStart, lineWidth =
|
|
|
24695
24690
|
ch = text[i += 1];
|
|
24696
24691
|
overflow = true;
|
|
24697
24692
|
}
|
|
24698
|
-
const
|
|
24699
|
-
if (escapedFolds[
|
|
24693
|
+
const j2 = i > escEnd + 1 ? i - 2 : escStart - 1;
|
|
24694
|
+
if (escapedFolds[j2])
|
|
24700
24695
|
return text;
|
|
24701
|
-
folds.push(
|
|
24702
|
-
escapedFolds[
|
|
24703
|
-
end =
|
|
24696
|
+
folds.push(j2);
|
|
24697
|
+
escapedFolds[j2] = true;
|
|
24698
|
+
end = j2 + endStep;
|
|
24704
24699
|
split = void 0;
|
|
24705
24700
|
} else {
|
|
24706
24701
|
overflow = true;
|
|
@@ -25262,11 +25257,11 @@ function addPairToJSMap(ctx, map, { key, value }) {
|
|
|
25262
25257
|
if ((ctx == null ? void 0 : ctx.doc.schema.merge) && isMergeKey(key)) {
|
|
25263
25258
|
value = isAlias(value) ? value.resolve(ctx.doc) : value;
|
|
25264
25259
|
if (isSeq(value))
|
|
25265
|
-
for (const
|
|
25266
|
-
mergeToJSMap(ctx, map,
|
|
25260
|
+
for (const it2 of value.items)
|
|
25261
|
+
mergeToJSMap(ctx, map, it2);
|
|
25267
25262
|
else if (Array.isArray(value))
|
|
25268
|
-
for (const
|
|
25269
|
-
mergeToJSMap(ctx, map,
|
|
25263
|
+
for (const it2 of value)
|
|
25264
|
+
mergeToJSMap(ctx, map, it2);
|
|
25270
25265
|
else
|
|
25271
25266
|
mergeToJSMap(ctx, map, value);
|
|
25272
25267
|
} else {
|
|
@@ -25500,12 +25495,12 @@ function addCommentBefore({ indent, options: { commentString } }, lines, comment
|
|
|
25500
25495
|
}
|
|
25501
25496
|
function findPair(items, key) {
|
|
25502
25497
|
const k = isScalar(key) ? key.value : key;
|
|
25503
|
-
for (const
|
|
25504
|
-
if (isPair(
|
|
25505
|
-
if (
|
|
25506
|
-
return
|
|
25507
|
-
if (isScalar(
|
|
25508
|
-
return
|
|
25498
|
+
for (const it2 of items) {
|
|
25499
|
+
if (isPair(it2)) {
|
|
25500
|
+
if (it2.key === key || it2.key === k)
|
|
25501
|
+
return it2;
|
|
25502
|
+
if (isScalar(it2.key) && it2.key.value === k)
|
|
25503
|
+
return it2;
|
|
25509
25504
|
}
|
|
25510
25505
|
}
|
|
25511
25506
|
return void 0;
|
|
@@ -25580,15 +25575,15 @@ class YAMLMap extends Collection {
|
|
|
25580
25575
|
}
|
|
25581
25576
|
}
|
|
25582
25577
|
delete(key) {
|
|
25583
|
-
const
|
|
25584
|
-
if (!
|
|
25578
|
+
const it2 = findPair(this.items, key);
|
|
25579
|
+
if (!it2)
|
|
25585
25580
|
return false;
|
|
25586
|
-
const del = this.items.splice(this.items.indexOf(
|
|
25581
|
+
const del = this.items.splice(this.items.indexOf(it2), 1);
|
|
25587
25582
|
return del.length > 0;
|
|
25588
25583
|
}
|
|
25589
25584
|
get(key, keepScalar) {
|
|
25590
|
-
const
|
|
25591
|
-
const node =
|
|
25585
|
+
const it2 = findPair(this.items, key);
|
|
25586
|
+
const node = it2 == null ? void 0 : it2.value;
|
|
25592
25587
|
return (!keepScalar && isScalar(node) ? node.value : node) ?? void 0;
|
|
25593
25588
|
}
|
|
25594
25589
|
has(key) {
|
|
@@ -25658,8 +25653,8 @@ class YAMLSeq extends Collection {
|
|
|
25658
25653
|
const idx = asItemIndex(key);
|
|
25659
25654
|
if (typeof idx !== "number")
|
|
25660
25655
|
return void 0;
|
|
25661
|
-
const
|
|
25662
|
-
return !keepScalar && isScalar(
|
|
25656
|
+
const it2 = this.items[idx];
|
|
25657
|
+
return !keepScalar && isScalar(it2) ? it2.value : it2;
|
|
25663
25658
|
}
|
|
25664
25659
|
/**
|
|
25665
25660
|
* Checks if the collection includes a value with the key `key`.
|
|
@@ -25713,12 +25708,12 @@ class YAMLSeq extends Collection {
|
|
|
25713
25708
|
const seq = new this(schema);
|
|
25714
25709
|
if (obj && Symbol.iterator in Object(obj)) {
|
|
25715
25710
|
let i = 0;
|
|
25716
|
-
for (let
|
|
25711
|
+
for (let it2 of obj) {
|
|
25717
25712
|
if (typeof replacer === "function") {
|
|
25718
|
-
const key = obj instanceof Set ?
|
|
25719
|
-
|
|
25713
|
+
const key = obj instanceof Set ? it2 : String(i++);
|
|
25714
|
+
it2 = replacer.call(obj, key, it2);
|
|
25720
25715
|
}
|
|
25721
|
-
seq.items.push(createNode(
|
|
25716
|
+
seq.items.push(createNode(it2, void 0, ctx));
|
|
25722
25717
|
}
|
|
25723
25718
|
}
|
|
25724
25719
|
return seq;
|
|
@@ -25736,26 +25731,26 @@ function createPairs(schema, iterable, ctx) {
|
|
|
25736
25731
|
pairs.tag = "tag:yaml.org,2002:pairs";
|
|
25737
25732
|
let i = 0;
|
|
25738
25733
|
if (iterable && Symbol.iterator in Object(iterable))
|
|
25739
|
-
for (let
|
|
25734
|
+
for (let it2 of iterable) {
|
|
25740
25735
|
if (typeof replacer === "function")
|
|
25741
|
-
|
|
25736
|
+
it2 = replacer.call(iterable, String(i++), it2);
|
|
25742
25737
|
let key, value;
|
|
25743
|
-
if (Array.isArray(
|
|
25744
|
-
if (
|
|
25745
|
-
key =
|
|
25746
|
-
value =
|
|
25738
|
+
if (Array.isArray(it2)) {
|
|
25739
|
+
if (it2.length === 2) {
|
|
25740
|
+
key = it2[0];
|
|
25741
|
+
value = it2[1];
|
|
25747
25742
|
} else
|
|
25748
|
-
throw new TypeError(`Expected [key, value] tuple: ${
|
|
25749
|
-
} else if (
|
|
25750
|
-
const keys = Object.keys(
|
|
25743
|
+
throw new TypeError(`Expected [key, value] tuple: ${it2}`);
|
|
25744
|
+
} else if (it2 && it2 instanceof Object) {
|
|
25745
|
+
const keys = Object.keys(it2);
|
|
25751
25746
|
if (keys.length === 1) {
|
|
25752
25747
|
key = keys[0];
|
|
25753
|
-
value =
|
|
25748
|
+
value = it2[key];
|
|
25754
25749
|
} else {
|
|
25755
25750
|
throw new TypeError(`Expected tuple with one key, not ${keys.length} keys`);
|
|
25756
25751
|
}
|
|
25757
25752
|
} else {
|
|
25758
|
-
key =
|
|
25753
|
+
key = it2;
|
|
25759
25754
|
}
|
|
25760
25755
|
pairs.items.push(createPair(key, value, ctx));
|
|
25761
25756
|
}
|
|
@@ -30097,11 +30092,11 @@ var prism = { exports: {} };
|
|
|
30097
30092
|
}
|
|
30098
30093
|
var patterns = grammar[token];
|
|
30099
30094
|
patterns = Array.isArray(patterns) ? patterns : [patterns];
|
|
30100
|
-
for (var
|
|
30101
|
-
if (rematch && rematch.cause == token + "," +
|
|
30095
|
+
for (var j2 = 0; j2 < patterns.length; ++j2) {
|
|
30096
|
+
if (rematch && rematch.cause == token + "," + j2) {
|
|
30102
30097
|
return;
|
|
30103
30098
|
}
|
|
30104
|
-
var patternObj = patterns[
|
|
30099
|
+
var patternObj = patterns[j2];
|
|
30105
30100
|
var inside2 = patternObj.inside;
|
|
30106
30101
|
var lookbehind = !!patternObj.lookbehind;
|
|
30107
30102
|
var greedy = !!patternObj.greedy;
|
|
@@ -30176,7 +30171,7 @@ var prism = { exports: {} };
|
|
|
30176
30171
|
}
|
|
30177
30172
|
if (removeCount > 1) {
|
|
30178
30173
|
var nestedRematch = {
|
|
30179
|
-
cause: token + "," +
|
|
30174
|
+
cause: token + "," + j2,
|
|
30180
30175
|
reach
|
|
30181
30176
|
};
|
|
30182
30177
|
matchGrammar(text, tokenList, grammar, currentNode.prev, pos, nestedRematch);
|
|
@@ -30824,30 +30819,20 @@ var prism = { exports: {} };
|
|
|
30824
30819
|
})();
|
|
30825
30820
|
})(prism);
|
|
30826
30821
|
var prismExports = prism.exports;
|
|
30827
|
-
const
|
|
30828
|
-
(
|
|
30829
|
-
try {
|
|
30830
|
-
if (typeof document < "u") {
|
|
30831
|
-
var e = document.createElement("style");
|
|
30832
|
-
e.appendChild(document.createTextNode(`.loader-wrapper:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .loader-wrapper[data-v-42a08e16]{position:relative;height:var(--8d3a1414);width:var(--8d3a1414);display:flex;align-items:center;justify-content:center;--default-loader-size: 50%}.svg-loader:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .svg-loader[data-v-42a08e16]{width:var(--loader-size, var(--default-loader-size));height:var(--loader-size, var(--default-loader-size));top:1rem;right:.9rem;overflow:visible;fill:none;background-color:transparent;stroke:currentColor}.svg-path:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .svg-path[data-v-42a08e16]{stroke-width:14;fill:none;transition:.3s}.svg-x-mark:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .svg-x-mark[data-v-42a08e16]{stroke-dasharray:57;stroke-dashoffset:57;transition-delay:0s}.svg-check-mark:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .svg-check-mark[data-v-42a08e16]{stroke-dasharray:149;stroke-dashoffset:149;transition-delay:0s}.icon-is-invalid .svg-x-mark:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .icon-is-invalid .svg-x-mark[data-v-42a08e16]{stroke-dashoffset:0;transition-delay:.3s}.icon-is-valid .svg-check-mark:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .icon-is-valid .svg-check-mark[data-v-42a08e16]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .circular-loader[data-v-42a08e16]{animation:rotate-42a08e16 .7s linear infinite,fade-in-42a08e16 .4s;transform-origin:center center;transform:scale(5);background:transparent}.loader-path:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .loader-path[data-v-42a08e16]{stroke-dasharray:50,200;stroke-dashoffset:-100;stroke-linecap:round}.loader-path-off:where(.scalar-component[data-v-42a08e16]),:where(.scalar-component) .loader-path-off[data-v-42a08e16]{stroke-dasharray:50,200;stroke-dashoffset:-100;transition:opacity .3s;opacity:0}@keyframes fade-in-42a08e16{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-42a08e16{0%{transform:scale(5) rotate(0)}to{transform:scale(5) rotate(360deg)}}.scalar-codeblock-code[class*=language-]:where(.scalar-component),:where(.scalar-component) .scalar-codeblock-code[class*=language-],.scalar-codeblock-pre[class*=language-]:where(.scalar-component),:where(.scalar-component) .scalar-codeblock-pre[class*=language-]{color:var(--theme-color-3, var(--default-theme-color-2));background:none;font-family:var(--theme-font-code, var(--default-theme-font-code));font-size:var(--theme-small, var(--default-theme-small));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;-webkit-hyphens:none;hyphens:none}.scalar-codeblock-pre[class*=language-]:where(.scalar-component),:where(.scalar-component) .scalar-codeblock-pre[class*=language-]{margin:0;padding:.5rem;overflow:auto}:not(pre)>code[class*=language-]:where(.scalar-component),:where(.scalar-component) :not(pre)>code[class*=language-],.scalar-codeblock-pre[class*=language-]:where(.scalar-component),:where(.scalar-component) .scalar-codeblock-pre[class*=language-]{background:var(--theme-background-2, var(--default-theme-background-2))}.line-numbers.scalar-codeblock-pre[class*=language-]{position:relative;padding-left:2em;counter-reset:linenumber}.line-numbers>code{position:relative;white-space:inherit}.line-numbers .line-numbers-rows{position:absolute;pointer-events:none;top:0;font-size:100%;left:-3em;width:3em;letter-spacing:-1px;-webkit-user-select:none;-moz-user-select:none;user-select:none}.line-numbers-rows>span{display:block;counter-increment:linenumber}.line-numbers-rows>span:before{content:counter(linenumber);color:#999;display:block;padding-right:.8em;text-align:right}:not(pre)>code[class*=language-]:where(.scalar-component),:where(.scalar-component) :not(pre)>code[class*=language-]{padding:.1em;border-radius:.3em;white-space:normal}.token.comment:where(.scalar-component),:where(.scalar-component) .token.comment,.token.block-comment:where(.scalar-component),:where(.scalar-component) .token.block-comment,.token.prolog:where(.scalar-component),:where(.scalar-component) .token.prolog,.token.doctype:where(.scalar-component),:where(.scalar-component) .token.doctype,.token.cdata:where(.scalar-component),:where(.scalar-component) .token.cdata{color:var(--theme-color-2, var(--default-theme-color-2))}.token.punctuation:where(.scalar-component),:where(.scalar-component) .token.punctuation{color:var(--theme-color-3, var(--default-theme-color-3))}.token.tag:where(.scalar-component),:where(.scalar-component) .token.tag,.token.attr-name:where(.scalar-component),:where(.scalar-component) .token.attr-name,.token.namespace:where(.scalar-component),:where(.scalar-component) .token.namespace,.token.deleted:where(.scalar-component),:where(.scalar-component) .token.deleted{color:var(--theme-color-red, var(--default-theme-color-red))}.token.function-name:where(.scalar-component),:where(.scalar-component) .token.function-name{color:var(--theme-color-green, var(--default-theme-color-green))}.token.boolean:where(.scalar-component),:where(.scalar-component) .token.boolean,.token.number:where(.scalar-component),:where(.scalar-component) .token.number,.token.function:where(.scalar-component),:where(.scalar-component) .token.function{color:var(--theme-color-orange, var(--default-theme-color-orange))}.token.property:where(.scalar-component),:where(.scalar-component) .token.property,.token.class-name:where(.scalar-component),:where(.scalar-component) .token.class-name,.token.constant:where(.scalar-component),:where(.scalar-component) .token.constant,.token.symbol:where(.scalar-component),:where(.scalar-component) .token.symbol{color:var(--theme-color-1, var(--default-theme-color-1))}.token.selector:where(.scalar-component),:where(.scalar-component) .token.selector,.token.important:where(.scalar-component),:where(.scalar-component) .token.important,.token.atrule:where(.scalar-component),:where(.scalar-component) .token.atrule,.token.keyword:where(.scalar-component),:where(.scalar-component) .token.keyword,.token.builtin:where(.scalar-component),:where(.scalar-component) .token.builtin{color:var(--theme-color-purple, var(--default-theme-color-purple))}.token.string:where(.scalar-component),:where(.scalar-component) .token.string,.token.char:where(.scalar-component),:where(.scalar-component) .token.char,.token.attr-value:where(.scalar-component),:where(.scalar-component) .token.attr-value,.token.regex:where(.scalar-component),:where(.scalar-component) .token.regex,.token.variable:where(.scalar-component),:where(.scalar-component) .token.variable{color:var(--theme-color-blue, var(--default-theme-color-blue))}.light-mode .dark-mode .language-shell .token.variable:where(.scalar-component),:where(.scalar-component) .light-mode .dark-mode .language-shell .token.variable{color:var(--theme-color-1, var(--default-theme-color-1))}.light-mode .dark-mode .language-shell .token.string:where(.scalar-component),:where(.scalar-component) .light-mode .dark-mode .language-shell .token.string{color:var(--theme-color-blue, var(--default-theme-color-blue))}.language-shell .token.string:where(.scalar-component),:where(.scalar-component) .language-shell .token.string{color:var(--theme-color-1, var(--default-theme-color-1))}.token.operator:where(.scalar-component),:where(.scalar-component) .token.operator,.token.entity:where(.scalar-component),:where(.scalar-component) .token.entity,.token.url:where(.scalar-component),:where(.scalar-component) .token.url{color:var(--theme-color-3, var(--default-theme-color-3))}.token.important:where(.scalar-component),:where(.scalar-component) .token.important,.token.bold:where(.scalar-component),:where(.scalar-component) .token.bold{font-weight:700}.token.italic:where(.scalar-component),:where(.scalar-component) .token.italic{font-style:italic}.token.entity:where(.scalar-component),:where(.scalar-component) .token.entity{cursor:help}.token.inserted:where(.scalar-component),:where(.scalar-component) .token.inserted{color:var(--theme-color-green, var(--default-theme-color-green))}.credentials:where(.scalar-component),:where(.scalar-component) .credentials{font-size:0;color:transparent}.credentials:after:where(.scalar-component),:where(.scalar-component) .credentials:after{content:"·····";font-size:var(--theme-small, var(--default-theme-small));color:var(--theme-color-3, var(--default-theme-color-3))}.scalar-modal-layout:where(.scalar-component[data-v-ff85ced0]),:where(.scalar-component) .scalar-modal-layout[data-v-ff85ced0]{animation:modal-fade-ff85ced0 .2s forwards}.scalar-modal:where(.scalar-component[data-v-ff85ced0]),:where(.scalar-component) .scalar-modal[data-v-ff85ced0]{transform:scale(.98);animation:modal-pop-ff85ced0 .15s .15s forwards}@keyframes modal-fade-ff85ced0{0%{opacity:0}to{opacity:1}}@keyframes modal-pop-ff85ced0{0%{opacity:0}to{opacity:1;transform:scale(1)}}.scalar-input-wrapper-focus .scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-focus .scalar-input-label[data-v-4717ec50]{color:var(--theme-color-1, var(--default-theme-color-1))}.scalar-input-wrapper-error .scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-error .scalar-input-label[data-v-4717ec50]{color:var(--theme-color-error-color, var(--default-theme-color-red))}.scalar-input::-moz-selection:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]::-moz-selection{color:var(--theme-color-1, var(--default-theme-color-1));background:#ffa55859}.scalar-input::selection:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]::selection{color:var(--theme-color-1, var(--default-theme-color-1));background:#ffa55859}.scalar-input:has(+.scalar-input-label):where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:has(+.scalar-input-label){opacity:0}.scalar-input:not(:-moz-placeholder-shown):where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:not(:-moz-placeholder-shown){opacity:1;-moz-transition:opacity .2s ease-in-out .15s;transition:opacity .2s ease-in-out .15s}.scalar-input:not(:placeholder-shown):where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:not(:placeholder-shown),.scalar-input-wrapper-focus .scalar-input:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-focus .scalar-input[data-v-4717ec50]{opacity:1;transition:opacity .2s ease-in-out .15s}.scalar-input:-webkit-autofill:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:-webkit-autofill,.scalar-input:-webkit-autofill:hover:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:-webkit-autofill:hover,.scalar-input:-webkit-autofill:focus:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:-webkit-autofill:focus,.scalar-input:-webkit-autofill:active:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:-webkit-autofill:active,.scalar-input:focus-within:-webkit-autofill:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:focus-within:-webkit-autofill,.scalar-input:focus-within:-webkit-autofill:hover:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:focus-within:-webkit-autofill:hover,.scalar-input:focus-within:-webkit-autofill:focus:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:focus-within:-webkit-autofill:focus,.scalar-input:focus-within:-webkit-autofill:active:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input[data-v-4717ec50]:focus-within:-webkit-autofill:active{-webkit-box-shadow:0 0 0px 1000px var(--theme-background-1, var(--default-theme-background-1)) inset!important;-webkit-text-fill-color:var(--theme-color-1, var(--default-theme-color-1));color:var(--theme-color-1, var(--default-theme-color-1));border-radius:var(--theme-radius, var(--default-theme-radius))}.scalar-input:not(:-moz-placeholder-shown)+.scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input:not(:-moz-placeholder-shown)+.scalar-input-label[data-v-4717ec50]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus .scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-focus .scalar-input-label[data-v-4717ec50],.scalar-input:not(:placeholder-shown)+.scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input:not(:placeholder-shown)+.scalar-input-label[data-v-4717ec50]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus:has(button:active) .scalar-input-label:where(.scalar-component[data-v-4717ec50]),:where(.scalar-component) .scalar-input-wrapper-focus:has(button:active) .scalar-input-label[data-v-4717ec50]{color:var(--theme-color-3, var(--default-theme-color-3))!important}:where(.scalar-component),:where(.scalar-component) *{box-sizing:border-box;border-width:unset;border-style:unset;border-color:currentColor;font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:unset;font-weight:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset}:where(.scalar-component),:where(.scalar-component) *,:before:where(.scalar-component),:where(.scalar-component) :before,:after:where(.scalar-component),:where(.scalar-component) :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: }::backdrop:where(.scalar-component),:where(.scalar-component) ::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: }.sr-only:where(.scalar-component),:where(.scalar-component) .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}.pointer-events-none:where(.scalar-component),:where(.scalar-component) .pointer-events-none{pointer-events:none}.visible:where(.scalar-component),:where(.scalar-component) .visible{visibility:visible}.fixed:where(.scalar-component),:where(.scalar-component) .fixed{position:fixed}.absolute:where(.scalar-component),:where(.scalar-component) .absolute{position:absolute}.relative:where(.scalar-component),:where(.scalar-component) .relative{position:relative}.left-0:where(.scalar-component),:where(.scalar-component) .left-0{left:0}.top-0:where(.scalar-component),:where(.scalar-component) .top-0{top:0}.z-10:where(.scalar-component),:where(.scalar-component) .z-10{z-index:10}.z-\\[1001\\]:where(.scalar-component),:where(.scalar-component) .z-\\[1001\\]{z-index:1001}.m-0:where(.scalar-component),:where(.scalar-component) .m-0{margin:0}.mx-2:where(.scalar-component),:where(.scalar-component) .mx-2{margin-left:8px;margin-right:8px}.mx-auto:where(.scalar-component),:where(.scalar-component) .mx-auto{margin-left:auto;margin-right:auto}.my-3:where(.scalar-component),:where(.scalar-component) .my-3{margin-top:12px;margin-bottom:12px}.mb-0:where(.scalar-component),:where(.scalar-component) .mb-0{margin-bottom:0}.ml-2:where(.scalar-component),:where(.scalar-component) .ml-2{margin-left:8px}.mr-2:where(.scalar-component),:where(.scalar-component) .mr-2{margin-right:8px}.mt-1:where(.scalar-component),:where(.scalar-component) .mt-1{margin-top:4px}.mt-1\\.5:where(.scalar-component),:where(.scalar-component) .mt-1\\.5{margin-top:6px}.mt-20:where(.scalar-component),:where(.scalar-component) .mt-20{margin-top:80px}.block:where(.scalar-component),:where(.scalar-component) .block{display:block}.flex:where(.scalar-component),:where(.scalar-component) .flex{display:flex}.grid:where(.scalar-component),:where(.scalar-component) .grid{display:grid}.hidden:where(.scalar-component),:where(.scalar-component) .hidden{display:none}.aspect-square:where(.scalar-component),:where(.scalar-component) .aspect-square{aspect-ratio:1 / 1}.h-10:where(.scalar-component),:where(.scalar-component) .h-10{height:40px}.h-3:where(.scalar-component),:where(.scalar-component) .h-3{height:12px}.h-3\\.5:where(.scalar-component),:where(.scalar-component) .h-3\\.5{height:14px}.h-4:where(.scalar-component),:where(.scalar-component) .h-4{height:16px}.h-5:where(.scalar-component),:where(.scalar-component) .h-5{height:20px}.h-6:where(.scalar-component),:where(.scalar-component) .h-6{height:24px}.h-\\[100dvh\\]:where(.scalar-component),:where(.scalar-component) .h-\\[100dvh\\]{height:100dvh}.h-full:where(.scalar-component),:where(.scalar-component) .h-full{height:100%}.max-h-\\[440px\\]:where(.scalar-component),:where(.scalar-component) .max-h-\\[440px\\]{max-height:440px}.max-h-\\[calc\\(100dvh-240px\\)\\]:where(.scalar-component),:where(.scalar-component) .max-h-\\[calc\\(100dvh-240px\\)\\]{max-height:calc(100dvh - 240px)}.min-h-\\[77px\\]:where(.scalar-component),:where(.scalar-component) .min-h-\\[77px\\]{min-height:77px}.w-10:where(.scalar-component),:where(.scalar-component) .w-10{width:40px}.w-3:where(.scalar-component),:where(.scalar-component) .w-3{width:12px}.w-3\\.5:where(.scalar-component),:where(.scalar-component) .w-3\\.5{width:14px}.w-4:where(.scalar-component),:where(.scalar-component) .w-4{width:16px}.w-5:where(.scalar-component),:where(.scalar-component) .w-5{width:20px}.w-6:where(.scalar-component),:where(.scalar-component) .w-6{width:24px}.w-\\[100dvw\\]:where(.scalar-component),:where(.scalar-component) .w-\\[100dvw\\]{width:100dvw}.w-full:where(.scalar-component),:where(.scalar-component) .w-full{width:100%}.max-w-screen-lg:where(.scalar-component),:where(.scalar-component) .max-w-screen-lg{max-width:800px}.max-w-screen-md:where(.scalar-component),:where(.scalar-component) .max-w-screen-md{max-width:640px}.max-w-screen-sm:where(.scalar-component),:where(.scalar-component) .max-w-screen-sm{max-width:540px}.max-w-screen-xs:where(.scalar-component),:where(.scalar-component) .max-w-screen-xs{max-width:480px}.origin-top-left:where(.scalar-component),:where(.scalar-component) .origin-top-left{transform-origin:top left}.transform:where(.scalar-component),:where(.scalar-component) .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))}.cursor-not-allowed:where(.scalar-component),:where(.scalar-component) .cursor-not-allowed{cursor:not-allowed}.cursor-pointer:where(.scalar-component),:where(.scalar-component) .cursor-pointer{cursor:pointer}.resize-none:where(.scalar-component),:where(.scalar-component) .resize-none{resize:none}.appearance-none:where(.scalar-component),:where(.scalar-component) .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.items-start:where(.scalar-component),:where(.scalar-component) .items-start{align-items:flex-start}.items-center:where(.scalar-component),:where(.scalar-component) .items-center{align-items:center}.justify-center:where(.scalar-component),:where(.scalar-component) .justify-center{justify-content:center}.gap-1:where(.scalar-component),:where(.scalar-component) .gap-1{gap:4px}.gap-4:where(.scalar-component),:where(.scalar-component) .gap-4{gap:16px}.overflow-hidden:where(.scalar-component),:where(.scalar-component) .overflow-hidden{overflow:hidden}.overflow-y-auto:where(.scalar-component),:where(.scalar-component) .overflow-y-auto{overflow-y:auto}.rounded:where(.scalar-component),:where(.scalar-component) .rounded{border-radius:var(--theme-radius, var(--default-theme-radius))}.rounded-lg:where(.scalar-component),:where(.scalar-component) .rounded-lg{border-radius:var(--theme-radius-lg, var(--default-theme-radius-lg))}.border:where(.scalar-component),:where(.scalar-component) .border{border-width:1px}.border-0:where(.scalar-component),:where(.scalar-component) .border-0{border-width:0px}.border-solid:where(.scalar-component),:where(.scalar-component) .border-solid{border-style:solid}.border-border:where(.scalar-component),:where(.scalar-component) .border-border{border-color:var(--theme-border-color, var(--default-theme-border-color))}.border-error:where(.scalar-component),:where(.scalar-component) .border-error{border-color:var(--theme-error-color, var(--default-theme-color-red))}.border-fore-3:where(.scalar-component),:where(.scalar-component) .border-fore-3{border-color:var(--theme-color-3, var(--default-theme-color-3))}.bg-back-1:where(.scalar-component),:where(.scalar-component) .bg-back-1{background-color:var(--theme-background-1, var(--default-theme-background-1))}.bg-back-2:where(.scalar-component),:where(.scalar-component) .bg-back-2{background-color:var(--theme-background-2, var(--default-theme-background-2))}.bg-back-btn-1:where(.scalar-component),:where(.scalar-component) .bg-back-btn-1{background-color:var(--theme-button-1, var(--default-theme-button-1))}.bg-backdrop:where(.scalar-component),:where(.scalar-component) .bg-backdrop{background-color:#00000070}.bg-error:where(.scalar-component),:where(.scalar-component) .bg-error{background-color:var(--theme-error-color, var(--default-theme-color-red))}.bg-transparent:where(.scalar-component),:where(.scalar-component) .bg-transparent{background-color:transparent}.p-0:where(.scalar-component),:where(.scalar-component) .p-0{padding:0}.p-0\\.5:where(.scalar-component),:where(.scalar-component) .p-0\\.5{padding:2px}.p-1:where(.scalar-component),:where(.scalar-component) .p-1{padding:4px}.p-3:where(.scalar-component),:where(.scalar-component) .p-3{padding:12px}.p-5:where(.scalar-component),:where(.scalar-component) .p-5{padding:20px}.px-1:where(.scalar-component),:where(.scalar-component) .px-1{padding-left:4px;padding-right:4px}.px-4:where(.scalar-component),:where(.scalar-component) .px-4{padding-left:16px;padding-right:16px}.px-6:where(.scalar-component),:where(.scalar-component) .px-6{padding-left:24px;padding-right:24px}.px-9:where(.scalar-component),:where(.scalar-component) .px-9{padding-left:36px;padding-right:36px}.py-1:where(.scalar-component),:where(.scalar-component) .py-1{padding-top:4px;padding-bottom:4px}.py-3:where(.scalar-component),:where(.scalar-component) .py-3{padding-top:12px;padding-bottom:12px}.pb-0:where(.scalar-component),:where(.scalar-component) .pb-0{padding-bottom:0}.pb-4:where(.scalar-component),:where(.scalar-component) .pb-4{padding-bottom:16px}.pl-9:where(.scalar-component),:where(.scalar-component) .pl-9{padding-left:36px}.pr-3:where(.scalar-component),:where(.scalar-component) .pr-3{padding-right:12px}.pt-3:where(.scalar-component),:where(.scalar-component) .pt-3{padding-top:12px}.pt-6:where(.scalar-component),:where(.scalar-component) .pt-6{padding-top:24px}.text-left:where(.scalar-component),:where(.scalar-component) .text-left{text-align:left}.text-sm:where(.scalar-component),:where(.scalar-component) .text-sm{font-size:var(--theme-small, var(--default-theme-small, var(--theme-font-size-3, var(--default-theme-font-size-3))))}.text-xs:where(.scalar-component),:where(.scalar-component) .text-xs{font-size:var(--theme-mini, var(--default-theme-mini, var(--theme-font-size-4, var(--default-theme-font-size-4))))}.font-medium:where(.scalar-component),:where(.scalar-component) .font-medium{font-weight:var(--theme-font-medium, var(--default-theme-font-medium))}.font-normal:where(.scalar-component),:where(.scalar-component) .font-normal{font-weight:400}.italic:where(.scalar-component),:where(.scalar-component) .italic{font-style:italic}.text-error:where(.scalar-component),:where(.scalar-component) .text-error{color:var(--theme-error-color, var(--default-theme-color-red))}.text-fore-1:where(.scalar-component),:where(.scalar-component) .text-fore-1{color:var(--theme-color-1, var(--default-theme-color-1))}.text-fore-3:where(.scalar-component),:where(.scalar-component) .text-fore-3{color:var(--theme-color-3, var(--default-theme-color-3))}.text-fore-btn-1:where(.scalar-component),:where(.scalar-component) .text-fore-btn-1{color:var(--theme-button-1-color, var(--default-theme-button-1-color))}.text-ghost:where(.scalar-component),:where(.scalar-component) .text-ghost{color:var(--theme-color-ghost, var(--default-theme-color-ghost))}.text-white:where(.scalar-component),:where(.scalar-component) .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.opacity-0:where(.scalar-component),:where(.scalar-component) .opacity-0{opacity:0}.shadow-none:where(.scalar-component),:where(.scalar-component) .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)}.shadow-sm:where(.scalar-component),:where(.scalar-component) .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)}.outline-none:where(.scalar-component),:where(.scalar-component) .outline-none{outline:2px solid transparent;outline-offset:2px}.outline:where(.scalar-component),:where(.scalar-component) .outline{outline-style:solid}.blur:where(.scalar-component),:where(.scalar-component) .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)}.filter:where(.scalar-component),:where(.scalar-component) .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)}.transition:where(.scalar-component),:where(.scalar-component) .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}.transition-opacity:where(.scalar-component),:where(.scalar-component) .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-transform:where(.scalar-component),:where(.scalar-component) .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out:where(.scalar-component),:where(.scalar-component) .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.row:where(.scalar-component),:where(.scalar-component) .row{display:flex;flex-direction:row}.col:where(.scalar-component),:where(.scalar-component) .col{display:flex;flex-direction:column}.before\\:mr-1:before:where(.scalar-component),:where(.scalar-component) .before\\:mr-1:before{content:var(--tw-content);margin-right:4px}.before\\:mr-1\\.5:before:where(.scalar-component),:where(.scalar-component) .before\\:mr-1\\.5:before{content:var(--tw-content);margin-right:6px}.before\\:block:before:where(.scalar-component),:where(.scalar-component) .before\\:block:before{content:var(--tw-content);display:block}.before\\:h-4:before:where(.scalar-component),:where(.scalar-component) .before\\:h-4:before{content:var(--tw-content);height:16px}.before\\:w-4:before:where(.scalar-component),:where(.scalar-component) .before\\:w-4:before{content:var(--tw-content);width:16px}.before\\:bg-error:before:where(.scalar-component),:where(.scalar-component) .before\\:bg-error:before{content:var(--tw-content);background-color:var(--theme-error-color, var(--default-theme-color-red))}.before\\:text-center:before:where(.scalar-component),:where(.scalar-component) .before\\:text-center:before{content:var(--tw-content);text-align:center}.before\\:text-xxs:before:where(.scalar-component),:where(.scalar-component) .before\\:text-xxs:before{content:var(--tw-content);font-size:var(--theme-micro, var(--default-theme-micro, var(--theme-font-size-5, var(--default-theme-font-size-5))))}.before\\:font-black:before:where(.scalar-component),:where(.scalar-component) .before\\:font-black:before{content:var(--tw-content);font-weight:900}.before\\:leading-4:before:where(.scalar-component),:where(.scalar-component) .before\\:leading-4:before{content:var(--tw-content);line-height:16px}.before\\:text-white:before:where(.scalar-component),:where(.scalar-component) .before\\:text-white:before{content:var(--tw-content);--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.before\\:content-\\[\\'\\!\\'\\]:before:where(.scalar-component),:where(.scalar-component) .before\\:content-\\[\\'\\!\\'\\]:before{--tw-content: "!";content:var(--tw-content)}.empty\\:hidden:empty:where(.scalar-component),:where(.scalar-component) .empty\\:hidden:empty{display:none}.hover\\:text-fore-1:hover:where(.scalar-component),:where(.scalar-component) .hover\\:text-fore-1:hover{color:var(--theme-color-1, var(--default-theme-color-1))}.active\\:bg-back-btn-1:active:where(.scalar-component),:where(.scalar-component) .active\\:bg-back-btn-1:active{background-color:var(--theme-button-1, var(--default-theme-button-1))}.active\\:text-fore-2:active:where(.scalar-component),:where(.scalar-component) .active\\:text-fore-2:active{color:var(--theme-color-2, var(--default-theme-color-2))}.active\\:shadow-none:active:where(.scalar-component),:where(.scalar-component) .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)}.active\\:brightness-90:active:where(.scalar-component),:where(.scalar-component) .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)}.has-actv-btn\\:border:has(button:active):where(.scalar-component),:where(.scalar-component) .has-actv-btn\\:border:has(button:active){border-width:1px}.has-actv-btn\\:border-border:has(button:active):where(.scalar-component),:where(.scalar-component) .has-actv-btn\\:border-border:has(button:active){border-color:var(--theme-border-color, var(--default-theme-border-color))}.\\!empty\\:flex:not(:empty):where(.scalar-component),:where(.scalar-component) .\\!empty\\:flex:not(:empty){display:flex}.\\!empty\\:w-7:not(:empty):where(.scalar-component),:where(.scalar-component) .\\!empty\\:w-7:not(:empty){width:28px}.\\!empty\\:items-center:not(:empty):where(.scalar-component),:where(.scalar-component) .\\!empty\\:items-center:not(:empty){align-items:center}.\\!empty\\:pr-3:not(:empty):where(.scalar-component),:where(.scalar-component) .\\!empty\\:pr-3:not(:empty){padding-right:12px}.hocus\\:bg-back-2:hover:where(.scalar-component),:where(.scalar-component) .hocus\\:bg-back-2:hover{background-color:var(--theme-background-2, var(--default-theme-background-2))}.hocus\\:bg-hover-btn-1:hover:where(.scalar-component),:where(.scalar-component) .hocus\\:bg-hover-btn-1:hover{background-color:var(--theme-button-1-hover, var(--default-theme-button-1-hover))}.hocus\\:text-fore-2:hover:where(.scalar-component),:where(.scalar-component) .hocus\\:text-fore-2:hover{color:var(--theme-color-2, var(--default-theme-color-2))}.hocus\\:brightness-90:hover:where(.scalar-component),:where(.scalar-component) .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)}.hocus\\:bg-back-2:focus-visible:where(.scalar-component),:where(.scalar-component) .hocus\\:bg-back-2:focus-visible{background-color:var(--theme-background-2, var(--default-theme-background-2))}.hocus\\:bg-hover-btn-1:focus-visible:where(.scalar-component),:where(.scalar-component) .hocus\\:bg-hover-btn-1:focus-visible{background-color:var(--theme-button-1-hover, var(--default-theme-button-1-hover))}.hocus\\:text-fore-2:focus-visible:where(.scalar-component),:where(.scalar-component) .hocus\\:text-fore-2:focus-visible{color:var(--theme-color-2, var(--default-theme-color-2))}.hocus\\:brightness-90:focus-visible:where(.scalar-component),:where(.scalar-component) .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: 768px){.md\\:row:where(.scalar-component),:where(.scalar-component) .md\\:row{display:flex;flex-direction:row}}`)), document.head.appendChild(e);
|
|
30833
|
-
}
|
|
30834
|
-
} catch (a) {
|
|
30835
|
-
console.error("vite-plugin-css-injected-by-js", a);
|
|
30836
|
-
}
|
|
30837
|
-
})();
|
|
30838
|
-
const R = "scalar-component", fe = extendTailwindMerge({
|
|
30822
|
+
const L = /* @__PURE__ */ getDefaultExportFromCjs(prismExports);
|
|
30823
|
+
const N = "scalar-component", ie = extendTailwindMerge({
|
|
30839
30824
|
extend: {
|
|
30840
30825
|
classGroups: {
|
|
30841
30826
|
// Add the scalar class prefix as a custom class to be deduped by tailwind-merge
|
|
30842
|
-
[
|
|
30827
|
+
[N]: [N]
|
|
30843
30828
|
}
|
|
30844
30829
|
}
|
|
30845
|
-
}), { cva:
|
|
30830
|
+
}), { cva: y, cx: w, compose: it } = defineConfig({
|
|
30846
30831
|
hooks: {
|
|
30847
|
-
onComplete: (r2) => `${
|
|
30832
|
+
onComplete: (r2) => `${ie(r2, N)}`
|
|
30848
30833
|
}
|
|
30849
30834
|
});
|
|
30850
|
-
const
|
|
30835
|
+
const j = {
|
|
30851
30836
|
solid: [
|
|
30852
30837
|
"scalar-button-solid",
|
|
30853
30838
|
"bg-back-btn-1 text-fore-btn-1 shadow-sm active:bg-back-btn-1 active:shadow-none hocus:bg-hover-btn-1"
|
|
@@ -30865,7 +30850,7 @@ const Y = {
|
|
|
30865
30850
|
"bg-error text-white active:brightness-90 hocus:brightness-90"
|
|
30866
30851
|
]
|
|
30867
30852
|
};
|
|
30868
|
-
|
|
30853
|
+
y({
|
|
30869
30854
|
base: "scalar-button row cursor-pointer items-center justify-center rounded font-medium",
|
|
30870
30855
|
variants: {
|
|
30871
30856
|
disabled: {
|
|
@@ -30873,7 +30858,7 @@ N({
|
|
|
30873
30858
|
},
|
|
30874
30859
|
fullWidth: { true: "w-full" },
|
|
30875
30860
|
size: { md: "h-10 px-6 text-sm" },
|
|
30876
|
-
variant:
|
|
30861
|
+
variant: j
|
|
30877
30862
|
},
|
|
30878
30863
|
compoundVariants: [
|
|
30879
30864
|
{
|
|
@@ -31098,8 +31083,8 @@ N({
|
|
|
31098
31083
|
"operator",
|
|
31099
31084
|
"punctuation",
|
|
31100
31085
|
"number"
|
|
31101
|
-
],
|
|
31102
|
-
|
|
31086
|
+
], g = s.variable[1].inside, a = 0; a < u.length; a++)
|
|
31087
|
+
g[u[a]] = r2.languages.bash[u[a]];
|
|
31103
31088
|
r2.languages.sh = r2.languages.bash, r2.languages.shell = r2.languages.bash;
|
|
31104
31089
|
})(Prism);
|
|
31105
31090
|
Prism.languages.json = {
|
|
@@ -31127,376 +31112,6 @@ Prism.languages.json = {
|
|
|
31127
31112
|
}
|
|
31128
31113
|
};
|
|
31129
31114
|
Prism.languages.webmanifest = Prism.languages.json;
|
|
31130
|
-
(function() {
|
|
31131
|
-
if (typeof Prism > "u" || typeof document > "u")
|
|
31132
|
-
return;
|
|
31133
|
-
var r2 = (
|
|
31134
|
-
/*dependencies_placeholder[*/
|
|
31135
|
-
{
|
|
31136
|
-
javascript: "clike",
|
|
31137
|
-
actionscript: "javascript",
|
|
31138
|
-
apex: [
|
|
31139
|
-
"clike",
|
|
31140
|
-
"sql"
|
|
31141
|
-
],
|
|
31142
|
-
arduino: "cpp",
|
|
31143
|
-
aspnet: [
|
|
31144
|
-
"markup",
|
|
31145
|
-
"csharp"
|
|
31146
|
-
],
|
|
31147
|
-
birb: "clike",
|
|
31148
|
-
bison: "c",
|
|
31149
|
-
c: "clike",
|
|
31150
|
-
csharp: "clike",
|
|
31151
|
-
cpp: "c",
|
|
31152
|
-
cfscript: "clike",
|
|
31153
|
-
chaiscript: [
|
|
31154
|
-
"clike",
|
|
31155
|
-
"cpp"
|
|
31156
|
-
],
|
|
31157
|
-
cilkc: "c",
|
|
31158
|
-
cilkcpp: "cpp",
|
|
31159
|
-
coffeescript: "javascript",
|
|
31160
|
-
crystal: "ruby",
|
|
31161
|
-
"css-extras": "css",
|
|
31162
|
-
d: "clike",
|
|
31163
|
-
dart: "clike",
|
|
31164
|
-
django: "markup-templating",
|
|
31165
|
-
ejs: [
|
|
31166
|
-
"javascript",
|
|
31167
|
-
"markup-templating"
|
|
31168
|
-
],
|
|
31169
|
-
etlua: [
|
|
31170
|
-
"lua",
|
|
31171
|
-
"markup-templating"
|
|
31172
|
-
],
|
|
31173
|
-
erb: [
|
|
31174
|
-
"ruby",
|
|
31175
|
-
"markup-templating"
|
|
31176
|
-
],
|
|
31177
|
-
fsharp: "clike",
|
|
31178
|
-
"firestore-security-rules": "clike",
|
|
31179
|
-
flow: "javascript",
|
|
31180
|
-
ftl: "markup-templating",
|
|
31181
|
-
gml: "clike",
|
|
31182
|
-
glsl: "c",
|
|
31183
|
-
go: "clike",
|
|
31184
|
-
gradle: "clike",
|
|
31185
|
-
groovy: "clike",
|
|
31186
|
-
haml: "ruby",
|
|
31187
|
-
handlebars: "markup-templating",
|
|
31188
|
-
haxe: "clike",
|
|
31189
|
-
hlsl: "c",
|
|
31190
|
-
idris: "haskell",
|
|
31191
|
-
java: "clike",
|
|
31192
|
-
javadoc: [
|
|
31193
|
-
"markup",
|
|
31194
|
-
"java",
|
|
31195
|
-
"javadoclike"
|
|
31196
|
-
],
|
|
31197
|
-
jolie: "clike",
|
|
31198
|
-
jsdoc: [
|
|
31199
|
-
"javascript",
|
|
31200
|
-
"javadoclike",
|
|
31201
|
-
"typescript"
|
|
31202
|
-
],
|
|
31203
|
-
"js-extras": "javascript",
|
|
31204
|
-
json5: "json",
|
|
31205
|
-
jsonp: "json",
|
|
31206
|
-
"js-templates": "javascript",
|
|
31207
|
-
kotlin: "clike",
|
|
31208
|
-
latte: [
|
|
31209
|
-
"clike",
|
|
31210
|
-
"markup-templating",
|
|
31211
|
-
"php"
|
|
31212
|
-
],
|
|
31213
|
-
less: "css",
|
|
31214
|
-
lilypond: "scheme",
|
|
31215
|
-
liquid: "markup-templating",
|
|
31216
|
-
markdown: "markup",
|
|
31217
|
-
"markup-templating": "markup",
|
|
31218
|
-
mongodb: "javascript",
|
|
31219
|
-
n4js: "javascript",
|
|
31220
|
-
objectivec: "c",
|
|
31221
|
-
opencl: "c",
|
|
31222
|
-
parser: "markup",
|
|
31223
|
-
php: "markup-templating",
|
|
31224
|
-
phpdoc: [
|
|
31225
|
-
"php",
|
|
31226
|
-
"javadoclike"
|
|
31227
|
-
],
|
|
31228
|
-
"php-extras": "php",
|
|
31229
|
-
plsql: "sql",
|
|
31230
|
-
processing: "clike",
|
|
31231
|
-
protobuf: "clike",
|
|
31232
|
-
pug: [
|
|
31233
|
-
"markup",
|
|
31234
|
-
"javascript"
|
|
31235
|
-
],
|
|
31236
|
-
purebasic: "clike",
|
|
31237
|
-
purescript: "haskell",
|
|
31238
|
-
qsharp: "clike",
|
|
31239
|
-
qml: "javascript",
|
|
31240
|
-
qore: "clike",
|
|
31241
|
-
racket: "scheme",
|
|
31242
|
-
cshtml: [
|
|
31243
|
-
"markup",
|
|
31244
|
-
"csharp"
|
|
31245
|
-
],
|
|
31246
|
-
jsx: [
|
|
31247
|
-
"markup",
|
|
31248
|
-
"javascript"
|
|
31249
|
-
],
|
|
31250
|
-
tsx: [
|
|
31251
|
-
"jsx",
|
|
31252
|
-
"typescript"
|
|
31253
|
-
],
|
|
31254
|
-
reason: "clike",
|
|
31255
|
-
ruby: "clike",
|
|
31256
|
-
sass: "css",
|
|
31257
|
-
scss: "css",
|
|
31258
|
-
scala: "java",
|
|
31259
|
-
"shell-session": "bash",
|
|
31260
|
-
smarty: "markup-templating",
|
|
31261
|
-
solidity: "clike",
|
|
31262
|
-
soy: "markup-templating",
|
|
31263
|
-
sparql: "turtle",
|
|
31264
|
-
sqf: "clike",
|
|
31265
|
-
squirrel: "clike",
|
|
31266
|
-
stata: [
|
|
31267
|
-
"mata",
|
|
31268
|
-
"java",
|
|
31269
|
-
"python"
|
|
31270
|
-
],
|
|
31271
|
-
"t4-cs": [
|
|
31272
|
-
"t4-templating",
|
|
31273
|
-
"csharp"
|
|
31274
|
-
],
|
|
31275
|
-
"t4-vb": [
|
|
31276
|
-
"t4-templating",
|
|
31277
|
-
"vbnet"
|
|
31278
|
-
],
|
|
31279
|
-
tap: "yaml",
|
|
31280
|
-
tt2: [
|
|
31281
|
-
"clike",
|
|
31282
|
-
"markup-templating"
|
|
31283
|
-
],
|
|
31284
|
-
textile: "markup",
|
|
31285
|
-
twig: "markup-templating",
|
|
31286
|
-
typescript: "javascript",
|
|
31287
|
-
v: "clike",
|
|
31288
|
-
vala: "clike",
|
|
31289
|
-
vbnet: "basic",
|
|
31290
|
-
velocity: "markup",
|
|
31291
|
-
wiki: "markup",
|
|
31292
|
-
xeora: "markup",
|
|
31293
|
-
"xml-doc": "markup",
|
|
31294
|
-
xquery: "markup"
|
|
31295
|
-
}
|
|
31296
|
-
), t2 = (
|
|
31297
|
-
/*aliases_placeholder[*/
|
|
31298
|
-
{
|
|
31299
|
-
html: "markup",
|
|
31300
|
-
xml: "markup",
|
|
31301
|
-
svg: "markup",
|
|
31302
|
-
mathml: "markup",
|
|
31303
|
-
ssml: "markup",
|
|
31304
|
-
atom: "markup",
|
|
31305
|
-
rss: "markup",
|
|
31306
|
-
js: "javascript",
|
|
31307
|
-
g4: "antlr4",
|
|
31308
|
-
ino: "arduino",
|
|
31309
|
-
"arm-asm": "armasm",
|
|
31310
|
-
art: "arturo",
|
|
31311
|
-
adoc: "asciidoc",
|
|
31312
|
-
avs: "avisynth",
|
|
31313
|
-
avdl: "avro-idl",
|
|
31314
|
-
gawk: "awk",
|
|
31315
|
-
sh: "bash",
|
|
31316
|
-
shell: "bash",
|
|
31317
|
-
shortcode: "bbcode",
|
|
31318
|
-
rbnf: "bnf",
|
|
31319
|
-
oscript: "bsl",
|
|
31320
|
-
cs: "csharp",
|
|
31321
|
-
dotnet: "csharp",
|
|
31322
|
-
cfc: "cfscript",
|
|
31323
|
-
"cilk-c": "cilkc",
|
|
31324
|
-
"cilk-cpp": "cilkcpp",
|
|
31325
|
-
cilk: "cilkcpp",
|
|
31326
|
-
coffee: "coffeescript",
|
|
31327
|
-
conc: "concurnas",
|
|
31328
|
-
jinja2: "django",
|
|
31329
|
-
"dns-zone": "dns-zone-file",
|
|
31330
|
-
dockerfile: "docker",
|
|
31331
|
-
gv: "dot",
|
|
31332
|
-
eta: "ejs",
|
|
31333
|
-
xlsx: "excel-formula",
|
|
31334
|
-
xls: "excel-formula",
|
|
31335
|
-
gamemakerlanguage: "gml",
|
|
31336
|
-
po: "gettext",
|
|
31337
|
-
gni: "gn",
|
|
31338
|
-
ld: "linker-script",
|
|
31339
|
-
"go-mod": "go-module",
|
|
31340
|
-
hbs: "handlebars",
|
|
31341
|
-
mustache: "handlebars",
|
|
31342
|
-
hs: "haskell",
|
|
31343
|
-
idr: "idris",
|
|
31344
|
-
gitignore: "ignore",
|
|
31345
|
-
hgignore: "ignore",
|
|
31346
|
-
npmignore: "ignore",
|
|
31347
|
-
webmanifest: "json",
|
|
31348
|
-
kt: "kotlin",
|
|
31349
|
-
kts: "kotlin",
|
|
31350
|
-
kum: "kumir",
|
|
31351
|
-
tex: "latex",
|
|
31352
|
-
context: "latex",
|
|
31353
|
-
ly: "lilypond",
|
|
31354
|
-
emacs: "lisp",
|
|
31355
|
-
elisp: "lisp",
|
|
31356
|
-
"emacs-lisp": "lisp",
|
|
31357
|
-
md: "markdown",
|
|
31358
|
-
moon: "moonscript",
|
|
31359
|
-
n4jsd: "n4js",
|
|
31360
|
-
nani: "naniscript",
|
|
31361
|
-
objc: "objectivec",
|
|
31362
|
-
qasm: "openqasm",
|
|
31363
|
-
objectpascal: "pascal",
|
|
31364
|
-
px: "pcaxis",
|
|
31365
|
-
pcode: "peoplecode",
|
|
31366
|
-
plantuml: "plant-uml",
|
|
31367
|
-
pq: "powerquery",
|
|
31368
|
-
mscript: "powerquery",
|
|
31369
|
-
pbfasm: "purebasic",
|
|
31370
|
-
purs: "purescript",
|
|
31371
|
-
py: "python",
|
|
31372
|
-
qs: "qsharp",
|
|
31373
|
-
rkt: "racket",
|
|
31374
|
-
razor: "cshtml",
|
|
31375
|
-
rpy: "renpy",
|
|
31376
|
-
res: "rescript",
|
|
31377
|
-
robot: "robotframework",
|
|
31378
|
-
rb: "ruby",
|
|
31379
|
-
"sh-session": "shell-session",
|
|
31380
|
-
shellsession: "shell-session",
|
|
31381
|
-
smlnj: "sml",
|
|
31382
|
-
sol: "solidity",
|
|
31383
|
-
sln: "solution-file",
|
|
31384
|
-
rq: "sparql",
|
|
31385
|
-
sclang: "supercollider",
|
|
31386
|
-
t4: "t4-cs",
|
|
31387
|
-
trickle: "tremor",
|
|
31388
|
-
troy: "tremor",
|
|
31389
|
-
trig: "turtle",
|
|
31390
|
-
ts: "typescript",
|
|
31391
|
-
tsconfig: "typoscript",
|
|
31392
|
-
uscript: "unrealscript",
|
|
31393
|
-
uc: "unrealscript",
|
|
31394
|
-
url: "uri",
|
|
31395
|
-
vb: "visual-basic",
|
|
31396
|
-
vba: "visual-basic",
|
|
31397
|
-
webidl: "web-idl",
|
|
31398
|
-
mathematica: "wolfram",
|
|
31399
|
-
nb: "wolfram",
|
|
31400
|
-
wl: "wolfram",
|
|
31401
|
-
xeoracube: "xeora",
|
|
31402
|
-
yml: "yaml"
|
|
31403
|
-
}
|
|
31404
|
-
), e = {}, s = "none", u = "components/", f = Prism.util.currentScript();
|
|
31405
|
-
if (f) {
|
|
31406
|
-
var a = /\bplugins\/autoloader\/prism-autoloader\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, d = /(^|\/)[\w-]+\.(?:min\.)?js(?:\?[^\r\n/]*)?$/i, n = f.getAttribute("data-autoloader-path");
|
|
31407
|
-
if (n != null)
|
|
31408
|
-
u = n.trim().replace(/\/?$/, "/");
|
|
31409
|
-
else {
|
|
31410
|
-
var c = f.src;
|
|
31411
|
-
a.test(c) ? u = c.replace(a, "components/") : d.test(c) && (u = c.replace(d, "$1components/"));
|
|
31412
|
-
}
|
|
31413
|
-
}
|
|
31414
|
-
var h2 = Prism.plugins.autoloader = {
|
|
31415
|
-
languages_path: u,
|
|
31416
|
-
use_minified: true,
|
|
31417
|
-
loadLanguages: y
|
|
31418
|
-
};
|
|
31419
|
-
function i(o, p, v) {
|
|
31420
|
-
var m = document.createElement("script");
|
|
31421
|
-
m.src = o, m.async = true, m.onload = function() {
|
|
31422
|
-
document.body.removeChild(m), p && p();
|
|
31423
|
-
}, m.onerror = function() {
|
|
31424
|
-
document.body.removeChild(m), v && v();
|
|
31425
|
-
}, document.body.appendChild(m);
|
|
31426
|
-
}
|
|
31427
|
-
function b(o) {
|
|
31428
|
-
var p = (o.getAttribute("data-dependencies") || "").trim();
|
|
31429
|
-
if (!p) {
|
|
31430
|
-
var v = o.parentElement;
|
|
31431
|
-
v && v.tagName.toLowerCase() === "pre" && (p = (v.getAttribute("data-dependencies") || "").trim());
|
|
31432
|
-
}
|
|
31433
|
-
return p ? p.split(/\s*,\s*/g) : [];
|
|
31434
|
-
}
|
|
31435
|
-
function l(o) {
|
|
31436
|
-
if (o.indexOf("!") >= 0)
|
|
31437
|
-
return false;
|
|
31438
|
-
if (o = t2[o] || o, o in Prism.languages)
|
|
31439
|
-
return true;
|
|
31440
|
-
var p = e[o];
|
|
31441
|
-
return p && !p.error && p.loading === false;
|
|
31442
|
-
}
|
|
31443
|
-
function _(o) {
|
|
31444
|
-
return h2.languages_path + "prism-" + o + (h2.use_minified ? ".min" : "") + ".js";
|
|
31445
|
-
}
|
|
31446
|
-
function y(o, p, v) {
|
|
31447
|
-
typeof o == "string" && (o = [o]);
|
|
31448
|
-
var m = o.length, L = 0, x = false;
|
|
31449
|
-
if (m === 0) {
|
|
31450
|
-
p && setTimeout(p, 0);
|
|
31451
|
-
return;
|
|
31452
|
-
}
|
|
31453
|
-
function S2() {
|
|
31454
|
-
x || (L++, L === m && p && p(o));
|
|
31455
|
-
}
|
|
31456
|
-
o.forEach(function(G) {
|
|
31457
|
-
Q(G, S2, function() {
|
|
31458
|
-
x || (x = true, v && v(G));
|
|
31459
|
-
});
|
|
31460
|
-
});
|
|
31461
|
-
}
|
|
31462
|
-
function Q(o, p, v) {
|
|
31463
|
-
var m = o.indexOf("!") >= 0;
|
|
31464
|
-
o = o.replace("!", ""), o = t2[o] || o;
|
|
31465
|
-
function L() {
|
|
31466
|
-
var S2 = e[o];
|
|
31467
|
-
S2 || (S2 = e[o] = {
|
|
31468
|
-
callbacks: []
|
|
31469
|
-
}), S2.callbacks.push({
|
|
31470
|
-
success: p,
|
|
31471
|
-
error: v
|
|
31472
|
-
}), !m && l(o) ? j(o, "success") : !m && S2.error ? j(o, "error") : (m || !S2.loading) && (S2.loading = true, S2.error = false, i(_(o), function() {
|
|
31473
|
-
S2.loading = false, j(o, "success");
|
|
31474
|
-
}, function() {
|
|
31475
|
-
S2.loading = false, S2.error = true, j(o, "error");
|
|
31476
|
-
}));
|
|
31477
|
-
}
|
|
31478
|
-
var x = r2[o];
|
|
31479
|
-
x && x.length ? y(x, L, v) : L();
|
|
31480
|
-
}
|
|
31481
|
-
function j(o, p) {
|
|
31482
|
-
if (e[o]) {
|
|
31483
|
-
for (var v = e[o].callbacks, m = 0, L = v.length; m < L; m++) {
|
|
31484
|
-
var x = v[m][p];
|
|
31485
|
-
x && setTimeout(x, 0);
|
|
31486
|
-
}
|
|
31487
|
-
v.length = 0;
|
|
31488
|
-
}
|
|
31489
|
-
}
|
|
31490
|
-
Prism.hooks.add("complete", function(o) {
|
|
31491
|
-
var p = o.element, v = o.language;
|
|
31492
|
-
if (!(!p || !v || v === s)) {
|
|
31493
|
-
var m = b(p);
|
|
31494
|
-
/^diff-./i.test(v) ? (m.push("diff"), m.push(v.substr(5))) : m.push(v), m.every(l) || y(m, function() {
|
|
31495
|
-
Prism.highlightElement(p);
|
|
31496
|
-
});
|
|
31497
|
-
}
|
|
31498
|
-
});
|
|
31499
|
-
})();
|
|
31500
31115
|
(function() {
|
|
31501
31116
|
if (typeof Prism > "u" || typeof document > "u")
|
|
31502
31117
|
return;
|
|
@@ -31508,14 +31123,14 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31508
31123
|
* @param {number} number line number
|
|
31509
31124
|
* @returns {Element|undefined}
|
|
31510
31125
|
*/
|
|
31511
|
-
getLine: function(a,
|
|
31126
|
+
getLine: function(a, o) {
|
|
31512
31127
|
if (!(a.tagName !== "PRE" || !a.classList.contains(r2))) {
|
|
31513
31128
|
var n = a.querySelector(".line-numbers-rows");
|
|
31514
31129
|
if (n) {
|
|
31515
|
-
var
|
|
31516
|
-
|
|
31517
|
-
var
|
|
31518
|
-
return n.children[
|
|
31130
|
+
var l = parseInt(a.getAttribute("data-start"), 10) || 1, p = l + (n.children.length - 1);
|
|
31131
|
+
o < l && (o = l), o > p && (o = p);
|
|
31132
|
+
var d = o - l;
|
|
31133
|
+
return n.children[d];
|
|
31519
31134
|
}
|
|
31520
31135
|
}
|
|
31521
31136
|
},
|
|
@@ -31544,40 +31159,40 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31544
31159
|
};
|
|
31545
31160
|
function s(a) {
|
|
31546
31161
|
if (a = a.filter(function(n) {
|
|
31547
|
-
var
|
|
31548
|
-
return
|
|
31162
|
+
var l = u(n), p = l["white-space"];
|
|
31163
|
+
return p === "pre-wrap" || p === "pre-line";
|
|
31549
31164
|
}), a.length != 0) {
|
|
31550
|
-
var
|
|
31551
|
-
var
|
|
31552
|
-
if (!(!
|
|
31553
|
-
var
|
|
31554
|
-
|
|
31555
|
-
var
|
|
31556
|
-
return
|
|
31165
|
+
var o = a.map(function(n) {
|
|
31166
|
+
var l = n.querySelector("code"), p = n.querySelector(".line-numbers-rows");
|
|
31167
|
+
if (!(!l || !p)) {
|
|
31168
|
+
var d = n.querySelector(".line-numbers-sizer"), v = l.textContent.split(t2);
|
|
31169
|
+
d || (d = document.createElement("span"), d.className = "line-numbers-sizer", l.appendChild(d)), d.innerHTML = "0", d.style.display = "block";
|
|
31170
|
+
var i = d.getBoundingClientRect().height;
|
|
31171
|
+
return d.innerHTML = "", {
|
|
31557
31172
|
element: n,
|
|
31558
|
-
lines:
|
|
31173
|
+
lines: v,
|
|
31559
31174
|
lineHeights: [],
|
|
31560
|
-
oneLinerHeight:
|
|
31561
|
-
sizer:
|
|
31175
|
+
oneLinerHeight: i,
|
|
31176
|
+
sizer: d
|
|
31562
31177
|
};
|
|
31563
31178
|
}
|
|
31564
31179
|
}).filter(Boolean);
|
|
31565
|
-
|
|
31566
|
-
var
|
|
31567
|
-
|
|
31568
|
-
if (
|
|
31569
|
-
var
|
|
31570
|
-
|
|
31180
|
+
o.forEach(function(n) {
|
|
31181
|
+
var l = n.sizer, p = n.lines, d = n.lineHeights, v = n.oneLinerHeight;
|
|
31182
|
+
d[p.length - 1] = void 0, p.forEach(function(i, b) {
|
|
31183
|
+
if (i && i.length > 1) {
|
|
31184
|
+
var C2 = l.appendChild(document.createElement("span"));
|
|
31185
|
+
C2.style.display = "block", C2.textContent = i;
|
|
31571
31186
|
} else
|
|
31572
|
-
|
|
31187
|
+
d[b] = v;
|
|
31573
31188
|
});
|
|
31574
|
-
}),
|
|
31575
|
-
for (var
|
|
31576
|
-
|
|
31577
|
-
}),
|
|
31578
|
-
var
|
|
31579
|
-
|
|
31580
|
-
|
|
31189
|
+
}), o.forEach(function(n) {
|
|
31190
|
+
for (var l = n.sizer, p = n.lineHeights, d = 0, v = 0; v < p.length; v++)
|
|
31191
|
+
p[v] === void 0 && (p[v] = l.children[d++].getBoundingClientRect().height);
|
|
31192
|
+
}), o.forEach(function(n) {
|
|
31193
|
+
var l = n.sizer, p = n.element.querySelector(".line-numbers-rows");
|
|
31194
|
+
l.style.display = "none", l.innerHTML = "", n.lineHeights.forEach(function(d, v) {
|
|
31195
|
+
p.children[v].style.height = d + "px";
|
|
31581
31196
|
});
|
|
31582
31197
|
});
|
|
31583
31198
|
}
|
|
@@ -31585,29 +31200,29 @@ Prism.languages.webmanifest = Prism.languages.json;
|
|
|
31585
31200
|
function u(a) {
|
|
31586
31201
|
return a ? window.getComputedStyle ? getComputedStyle(a) : a.currentStyle || null : null;
|
|
31587
31202
|
}
|
|
31588
|
-
var
|
|
31203
|
+
var g = void 0;
|
|
31589
31204
|
window.addEventListener("resize", function() {
|
|
31590
|
-
e.assumeViewportIndependence &&
|
|
31205
|
+
e.assumeViewportIndependence && g === window.innerWidth || (g = window.innerWidth, s(Array.prototype.slice.call(document.querySelectorAll("pre." + r2))));
|
|
31591
31206
|
}), Prism.hooks.add("complete", function(a) {
|
|
31592
31207
|
if (a.code) {
|
|
31593
|
-
var
|
|
31208
|
+
var o = (
|
|
31594
31209
|
/** @type {Element} */
|
|
31595
31210
|
a.element
|
|
31596
31211
|
), n = (
|
|
31597
31212
|
/** @type {HTMLElement} */
|
|
31598
|
-
|
|
31213
|
+
o.parentNode
|
|
31599
31214
|
);
|
|
31600
|
-
if (!(!n || !/pre/i.test(n.nodeName)) && !
|
|
31601
|
-
|
|
31602
|
-
var
|
|
31603
|
-
|
|
31215
|
+
if (!(!n || !/pre/i.test(n.nodeName)) && !o.querySelector(".line-numbers-rows") && Prism.util.isActive(o, r2)) {
|
|
31216
|
+
o.classList.remove(r2), n.classList.add(r2);
|
|
31217
|
+
var l = a.code.match(t2), p = l ? l.length + 1 : 1, d, v = new Array(p + 1).join("<span></span>");
|
|
31218
|
+
d = document.createElement("span"), d.setAttribute("aria-hidden", "true"), d.className = "line-numbers-rows", d.innerHTML = v, n.hasAttribute("data-start") && (n.style.counterReset = "linenumber " + (parseInt(n.getAttribute("data-start"), 10) - 1)), a.element.appendChild(d), s([n]), Prism.hooks.run("line-numbers", a);
|
|
31604
31219
|
}
|
|
31605
31220
|
}
|
|
31606
31221
|
}), Prism.hooks.add("line-numbers", function(a) {
|
|
31607
31222
|
a.plugins = a.plugins || {}, a.plugins.lineNumbers = true;
|
|
31608
31223
|
});
|
|
31609
31224
|
})();
|
|
31610
|
-
const
|
|
31225
|
+
const fe = ["innerHTML"], ct = /* @__PURE__ */ defineComponent({
|
|
31611
31226
|
__name: "ScalarCodeBlock",
|
|
31612
31227
|
props: {
|
|
31613
31228
|
content: {},
|
|
@@ -31616,96 +31231,119 @@ const ft = /* @__PURE__ */ defineComponent({
|
|
|
31616
31231
|
hideCredentials: {}
|
|
31617
31232
|
},
|
|
31618
31233
|
setup(r2) {
|
|
31619
|
-
const t2 = r2, { plugins: e, highlightElement: s } =
|
|
31620
|
-
t2.hideCredentials &&
|
|
31234
|
+
const t2 = r2, { plugins: e, highlightElement: s } = L;
|
|
31235
|
+
t2.hideCredentials && L.hooks.add("wrap", function(o) {
|
|
31621
31236
|
if (!t2.hideCredentials)
|
|
31622
31237
|
return;
|
|
31623
|
-
let
|
|
31624
|
-
typeof t2.hideCredentials == "string" ?
|
|
31625
|
-
(
|
|
31626
|
-
)),
|
|
31238
|
+
let n = false;
|
|
31239
|
+
typeof t2.hideCredentials == "string" ? o.content.includes(t2.hideCredentials) && (n = true) : Array.isArray(t2.hideCredentials) && (n = t2.hideCredentials.some(
|
|
31240
|
+
(l) => o.content.includes(l)
|
|
31241
|
+
)), n && (o.content = o.content.replace(
|
|
31627
31242
|
/<span class="credentials">.*?<\/span>/g,
|
|
31628
|
-
(
|
|
31629
|
-
),
|
|
31243
|
+
(l) => l.replace(/<span class="credentials">|<\/span>/g, "")
|
|
31244
|
+
), o.content = o.content.replace(
|
|
31630
31245
|
new RegExp(
|
|
31631
31246
|
typeof t2.hideCredentials == "string" ? t2.hideCredentials : t2.hideCredentials.join("|"),
|
|
31632
31247
|
"g"
|
|
31633
31248
|
),
|
|
31634
|
-
(
|
|
31249
|
+
(l) => `<span class="credentials">${l}</span>`
|
|
31635
31250
|
));
|
|
31636
31251
|
});
|
|
31637
|
-
const u = ref(null),
|
|
31638
|
-
return
|
|
31252
|
+
const u = ref(null), g = ref(""), a = computed(() => t2.lang === "node" ? "js" : t2.lang);
|
|
31253
|
+
return watch(
|
|
31639
31254
|
() => [t2.lang, t2.content],
|
|
31640
31255
|
() => {
|
|
31641
31256
|
u.value && nextTick(() => s(u.value));
|
|
31642
31257
|
}
|
|
31643
|
-
),
|
|
31644
|
-
|
|
31645
|
-
|
|
31258
|
+
), onServerPrefetch(async () => {
|
|
31259
|
+
const o = L.highlight(
|
|
31260
|
+
typeof t2.content == "object" ? JSON.stringify(t2.content) : t2.content,
|
|
31261
|
+
L.languages[a.value],
|
|
31262
|
+
a.value
|
|
31263
|
+
);
|
|
31264
|
+
g.value = o;
|
|
31265
|
+
}), onMounted(async () => {
|
|
31266
|
+
u.value && s(u.value), await import("./prism-autoloader-Dlh8Vzlw-BR-Zk31i.js"), e.autoloader.languages_path = "https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/";
|
|
31267
|
+
}), (o, n) => g.value ? (openBlock(), createElementBlock("pre", {
|
|
31268
|
+
key: 0,
|
|
31269
|
+
class: normalizeClass([
|
|
31270
|
+
`scalar-component scalar-codeblock-pre language-${a.value}`,
|
|
31271
|
+
{
|
|
31272
|
+
"line-numbers": o.lineNumbers
|
|
31273
|
+
}
|
|
31274
|
+
])
|
|
31275
|
+
}, [
|
|
31276
|
+
createElementVNode("code", {
|
|
31277
|
+
ref_key: "el",
|
|
31278
|
+
ref: u,
|
|
31279
|
+
class: normalizeClass(`scalar-codeblock-code language-${a.value}`),
|
|
31280
|
+
innerHTML: g.value
|
|
31281
|
+
}, null, 10, fe)
|
|
31282
|
+
], 2)) : (openBlock(), createElementBlock("pre", {
|
|
31283
|
+
key: 1,
|
|
31646
31284
|
class: normalizeClass(["scalar-component scalar-codeblock-pre", {
|
|
31647
|
-
"line-numbers":
|
|
31285
|
+
"line-numbers": o.lineNumbers
|
|
31648
31286
|
}])
|
|
31649
31287
|
}, [
|
|
31650
31288
|
createElementVNode("code", {
|
|
31651
31289
|
ref_key: "el",
|
|
31652
31290
|
ref: u,
|
|
31653
|
-
class: normalizeClass(`scalar-codeblock-code lang-${
|
|
31654
|
-
}, toDisplayString(
|
|
31291
|
+
class: normalizeClass(`scalar-codeblock-code lang-${a.value}`)
|
|
31292
|
+
}, toDisplayString(o.content), 3)
|
|
31655
31293
|
], 2));
|
|
31656
31294
|
}
|
|
31657
|
-
}),
|
|
31295
|
+
}), be = (r2) => Object.fromEntries(Array.from(r2).map((t2) => [t2.name, t2.value])), we = (r2) => ({ raw: t2 }) => {
|
|
31658
31296
|
const s = new r2().parseFromString(t2, "image/svg+xml");
|
|
31659
31297
|
if (s.getElementsByTagName("parsererror").length)
|
|
31660
31298
|
return;
|
|
31661
|
-
const u = s.documentElement,
|
|
31299
|
+
const u = s.documentElement, g = be(u.attributes), { width: a, height: o, ...n } = g;
|
|
31662
31300
|
return h("svg", { ...n, innerHTML: u.innerHTML });
|
|
31663
|
-
},
|
|
31664
|
-
const r2 = typeof DOMParser > "u" ? (await import("./index-CpJxdgyL.js").then((n) => n.i)).DOMParser : DOMParser, t2 =
|
|
31301
|
+
}, _e = defineAsyncComponent(async () => {
|
|
31302
|
+
const r2 = typeof DOMParser > "u" ? (await import("./index-CpJxdgyL.js").then((n) => n.i)).DOMParser : DOMParser, t2 = we(r2);
|
|
31665
31303
|
return t2.props = {
|
|
31666
31304
|
raw: {
|
|
31667
31305
|
type: String,
|
|
31668
31306
|
required: true
|
|
31669
31307
|
}
|
|
31670
31308
|
}, t2;
|
|
31671
|
-
}),
|
|
31309
|
+
}), ke = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
|
|
31672
31310
|
<path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.429"
|
|
31673
31311
|
d="M24 1.714v44.572M1.714 24h44.572" />
|
|
31674
|
-
</svg>`,
|
|
31312
|
+
</svg>`, Se = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32.5 23.5" fill="currentColor">
|
|
31675
31313
|
<path d="M11.2 23.5 0 12.3l2.15-2.15 9.05 9.05L30.4 0l2.15 2.15z" />
|
|
31676
|
-
</svg>`,
|
|
31314
|
+
</svg>`, Ce = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
31677
31315
|
<path d="M4.5 8.25L12 15.75L19.5 8.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
31678
31316
|
</svg>
|
|
31679
|
-
`,
|
|
31317
|
+
`, xe = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
31680
31318
|
<path d="M15.75 19.5L8.25 12L15.75 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
31681
31319
|
</svg>
|
|
31682
|
-
`,
|
|
31320
|
+
`, ye = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
31683
31321
|
<path d="M8.25 19.5L15.75 12L8.25 4.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
31684
|
-
</svg>`,
|
|
31322
|
+
</svg>`, Ee = `<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
31685
31323
|
<path d="M19.5 15.75L12 8.25L4.5 15.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
31686
31324
|
</svg>
|
|
31687
|
-
`,
|
|
31325
|
+
`, Le = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16">
|
|
31688
31326
|
<path d="M6,5h4c1.7,0,2-1.3,2-3c1.1,0,2,0.9,2,2v10c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V4c0-1.1,0.9-2,2-2C4,3.7,4.3,5,6,5z M6,2V1
|
|
31689
31327
|
c0-0.6,0.5-1,1-1h2c0.5,0,1,0.4,1,1v1.3C10,2.9,9.6,3,9,3H7C6.4,3,6,2.6,6,2z" />
|
|
31690
|
-
</svg>`,
|
|
31328
|
+
</svg>`, Ae = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
31691
31329
|
<path stroke="currentColor" d="m12.5 1.5-11 11m0-11 11 11" />
|
|
31692
|
-
</svg>`,
|
|
31330
|
+
</svg>`, Te = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
|
|
31693
31331
|
<path
|
|
31694
31332
|
d="M9.557,7.243A.456.456,0,0,0,9.1,6.991C9.023,7,8.951,7,8.877,7A4,4,0,0,1,5.546.781.5.5,0,0,0,5.564.256.476.476,0,0,0,5.1,0,5,5,0,1,0,9.539,7.767.5.5,0,0,0,9.557,7.243Z"
|
|
31695
31333
|
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
31696
|
-
</svg>`,
|
|
31334
|
+
</svg>`, Me = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
|
|
31697
31335
|
<path
|
|
31698
31336
|
d="M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" />
|
|
31699
|
-
</svg>`,
|
|
31337
|
+
</svg>`, Ie = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 9 9">
|
|
31700
31338
|
<g fill="none" fill-rule="evenodd" transform="translate(.67 .67)">
|
|
31701
31339
|
<rect transform="rotate(180 4 4)" />
|
|
31702
31340
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width=".5"
|
|
31703
31341
|
d="M2.85 1.73h3.4v3.4m0-3.4L1.74 6.24" />
|
|
31704
31342
|
</g>
|
|
31705
|
-
</svg>`,
|
|
31343
|
+
</svg>`, Ne = `<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 1024 1024">
|
|
31706
31344
|
<path
|
|
31707
31345
|
d="M512 0a512 512 0 0 0-162 998c26 4 35-11 35-25l-1-95c-128 23-161-32-172-60-6-15-31-61-52-73-18-10-44-33-1-33 40-1 69 37 78 52 46 78 120 56 149 43 5-33 18-56 33-69-114-13-234-56-234-253 0-56 20-101 53-137-5-13-23-65 5-136 0 0 43-13 141 53a487 487 0 0 1 256 0c98-66 141-53 141-53 28 71 10 123 5 136 33 36 53 81 53 137 0 197-120 240-234 253 18 16 35 47 35 95l-1 140c0 14 9 30 35 25A512 512 0 0 0 512 0z" />
|
|
31708
|
-
</svg>`,
|
|
31346
|
+
</svg>`, Oe = `<svg
|
|
31709
31347
|
height="24"
|
|
31710
31348
|
viewBox="0 0 24 24"
|
|
31711
31349
|
width="24"
|
|
@@ -31714,7 +31352,7 @@ const ft = /* @__PURE__ */ defineComponent({
|
|
|
31714
31352
|
d="M24 12a1 1 0 0 0 -1 -1h-3.91a0.51 0.51 0 0 1 -0.49 -0.4 6.83 6.83 0 0 0 -0.94 -2.28 0.5 0.5 0 0 1 0.06 -0.63l2.77 -2.76a1 1 0 1 0 -1.42 -1.42l-2.76 2.77a0.5 0.5 0 0 1 -0.63 0.06 6.83 6.83 0 0 0 -2.28 -0.94 0.5 0.5 0 0 1 -0.4 -0.49V1a1 1 0 0 0 -2 0v3.91a0.51 0.51 0 0 1 -0.4 0.49 6.83 6.83 0 0 0 -2.28 0.94 0.5 0.5 0 0 1 -0.63 -0.06L4.93 3.51a1 1 0 0 0 -1.42 1.42l2.77 2.76a0.5 0.5 0 0 1 0.06 0.63 6.83 6.83 0 0 0 -0.94 2.28 0.5 0.5 0 0 1 -0.49 0.4H1a1 1 0 0 0 0 2h3.91a0.51 0.51 0 0 1 0.49 0.4 6.83 6.83 0 0 0 0.94 2.28 0.5 0.5 0 0 1 -0.06 0.63l-2.77 2.76a1 1 0 1 0 1.42 1.42l2.76 -2.77a0.5 0.5 0 0 1 0.63 -0.06 6.83 6.83 0 0 0 2.28 0.94 0.5 0.5 0 0 1 0.4 0.49V23a1 1 0 0 0 2 0v-3.91a0.51 0.51 0 0 1 0.4 -0.49 6.83 6.83 0 0 0 2.28 -0.94 0.5 0.5 0 0 1 0.63 0.06l2.76 2.77a1 1 0 1 0 1.42 -1.42l-2.77 -2.76a0.5 0.5 0 0 1 -0.06 -0.63 6.83 6.83 0 0 0 0.94 -2.28 0.5 0.5 0 0 1 0.49 -0.4H23a1 1 0 0 0 1 -1Zm-8.74 2.5A5.76 5.76 0 0 1 9.5 8.74a5.66 5.66 0 0 1 0.16 -1.31 0.49 0.49 0 0 1 0.34 -0.36 5.36 5.36 0 0 1 1.8 -0.31 5.47 5.47 0 0 1 5.46 5.46 5.36 5.36 0 0 1 -0.31 1.8 0.49 0.49 0 0 1 -0.35 0.32 5.53 5.53 0 0 1 -1.34 0.16Z"
|
|
31715
31353
|
fill="currentColor"
|
|
31716
31354
|
stroke-width="1"></path>
|
|
31717
|
-
</svg>`,
|
|
31355
|
+
</svg>`, Be = `<svg viewBox="0 0 10 10" xmlns="http://www.w3.org/2000/svg">
|
|
31718
31356
|
<path d="M3.500 5.000 A1.500 1.500 0 1 0 6.500 5.000 A1.500 1.500 0 1 0 3.500 5.000 Z" fill="currentColor"
|
|
31719
31357
|
stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
31720
31358
|
<path d="M5,2.25a.625.625,0,0,1-.625-.625v-1a.625.625,0,0,1,1.25,0v1A.625.625,0,0,1,5,2.25Z" fill="currentColor"
|
|
@@ -31735,41 +31373,41 @@ const ft = /* @__PURE__ */ defineComponent({
|
|
|
31735
31373
|
<path
|
|
31736
31374
|
d="M3.055,3.055a.623.623,0,0,1-.883,0l-.708-.707a.625.625,0,0,1,.884-.884l.707.708A.623.623,0,0,1,3.055,3.055Z"
|
|
31737
31375
|
fill="currentColor" stroke="none" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"></path>
|
|
31738
|
-
</svg>`,
|
|
31376
|
+
</svg>`, De = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 593 593">
|
|
31739
31377
|
<path fill="currentColor" fill-rule="evenodd"
|
|
31740
31378
|
d="M347 0c6 0 12 5 12 12v134l94-95c5-5 13-5 17 0l72 72c4 4 5 12 0 16v1l-95 94h134c7 0 12 5 12 12v101c0 7-5 12-12 12H447l95 94c4 5 5 13 0 17l-72 72c-4 4-12 5-16 0h-1l-94-95v134c0 7-5 12-12 12H246c-7 0-12-5-12-12v-70c0-22 9-43 24-59l130-130c14-14 14-37 0-51L259 142a84 84 0 0 1-25-59V12c0-7 5-12 12-12h101ZM138 52h1l219 219c14 14 14 37 0 51L139 542c-4 5-12 5-17 0l-71-70c-4-5-5-12 0-17l95-96H12c-7 0-12-5-12-12V246c0-7 5-12 12-12h134l-95-94c-4-5-4-12 0-17l71-71c4-5 12-5 16 0Z" />
|
|
31741
|
-
</svg>`,
|
|
31379
|
+
</svg>`, Re = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 662 662">
|
|
31742
31380
|
<path fill-rule="evenodd" fill="currentColor"
|
|
31743
31381
|
d="M331 0a331 331 0 1 1 0 662 331 331 0 0 1 0-662Zm148.5 109 .6.9a187 187 0 1 1-297.6-.9 267 267 0 1 0 297 0Z" />
|
|
31744
|
-
</svg>`,
|
|
31382
|
+
</svg>`, ze = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620">
|
|
31745
31383
|
<path fill="currentColor"
|
|
31746
31384
|
d="M-.653 309.29c-.078 82.272 31.848 159.735 89.739 218.178l.283.283c122.379 121.247 319.824 121.184 440.16-.283 119.967-121.1 119.409-316.933-.998-437.339l-.99-.99C468.681 30.845 390.716-1.017 307.893-.67c-82.83.354-160.443 32.994-218.814 91.79C31.209 149.555-.724 227.025-.653 309.29Zm469.271-160.789.778.778c87.9 87.9 88.325 231.005.707 319.33-77.753 78.46-199.786 87.412-288.959 26.862l198.513-198.513-.007 166.361 83.68-.07v-306.22H157.11l-.008 83.6h160.584L121.994 436.323c-59.347-87.689-50.536-208.59 26.51-286.343C236.34 61.294 379.94 60.67 468.61 148.494Z" />
|
|
31747
|
-
</svg>`,
|
|
31385
|
+
</svg>`, Pe = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 642 642" fill="currentColor">
|
|
31748
31386
|
<path
|
|
31749
31387
|
d="M321 0a321 321 0 1 1 0 642 321 321 0 0 1 0-642Zm51.3 63L321 189.5 269.7 63l1 136.5-95.8-97.2L228 228l-125.7-53.1 97.2 95.8-136.5-1L189.5 321 63 372.3l136.5-1-97.2 95.8 125.7-53-53.1 125.6 95.8-97.2-1 136.5L321 452.5 372.3 579l-1-136.5 95.8 97.2-53-125.7 125.6 53.1-97.2-95.8 136.5 1L452.5 321 579 269.7l-136.5 1 97.2-95.8L414 228l53.1-125.7-95.8 97.2 1-136.5Z" />
|
|
31750
|
-
</svg>`,
|
|
31388
|
+
</svg>`, He = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 620 620" fill="currentColor">
|
|
31751
31389
|
<path
|
|
31752
31390
|
d="M529.2 90.8A310 310 0 1 0 90.8 529.2 310 310 0 0 0 529.2 90.8M122.4 498.2c-54.9-55-15.4-183.5 88.2-287 103.6-103.7 232.1-143.2 287-88.3 54.9 54.8 15.4 183.4-88.3 287-103.5 103.6-232 143.1-286.9 88.3m261.8-262.7A104.7 104.7 0 1 1 236 383.7a104.7 104.7 0 0 1 148.2-148.2" />
|
|
31753
|
-
</svg>`,
|
|
31391
|
+
</svg>`, $e = `<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" viewBox="0 0 14 14">
|
|
31754
31392
|
<path fill="none" stroke="currentColor" d="M14 3.4H0m14 7.2H0" />
|
|
31755
|
-
</svg>`,
|
|
31393
|
+
</svg>`, Ge = `<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
31756
31394
|
<path fill="currentColor" fill-rule="evenodd"
|
|
31757
31395
|
d="M11.8214 0.0977942C12.1097 -0.00745677 12.4219 -0.0286524 12.7219 0.0367783C13.0248 0.102864 13.3024 0.254542 13.5216 0.47378C13.7408 0.693018 13.8925 0.970598 13.9586 1.27352C14.024 1.57344 14.0028 1.88572 13.8976 2.17395L10.3236 12.8859L10.3234 12.8866C10.2363 13.1501 10.083 13.3868 9.8781 13.574C9.6738 13.7606 9.42509 13.8918 9.15572 13.9549C8.8863 14.0206 8.60441 14.0151 8.33774 13.9389C8.07131 13.8628 7.82926 13.7187 7.63529 13.5209L5.71795 11.6124L3.70389 12.6538C3.54684 12.7351 3.35857 12.7273 3.20874 12.6334C3.05892 12.5395 2.96981 12.3735 2.9744 12.1967L3.05697 9.013L10.1019 3.8956C10.3812 3.69273 10.4432 3.30188 10.2403 3.02261C10.0374 2.74333 9.64659 2.68139 9.36731 2.88425L2.20283 8.08846L0.473125 6.35875L0.473067 6.3587L0.472941 6.35857C0.285618 6.17138 0.147716 5.9406 0.0716193 5.68694C-0.00393616 5.43509 -0.0162115 5.16853 0.0358379 4.91085C0.0879545 4.62934 0.213796 4.36664 0.400577 4.14957C0.588637 3.93101 0.83165 3.76664 1.1045 3.67345L1.10787 3.6723L1.10787 3.67231L11.8214 0.0977942Z"
|
|
31758
31396
|
clip-rule="evenodd"></path>
|
|
31759
|
-
</svg>`,
|
|
31397
|
+
</svg>`, je = `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="currentColor">
|
|
31760
31398
|
<path fill-rule="evenodd"
|
|
31761
31399
|
d="M12.6 11.2h.1l3 3a1 1 0 1 1-1.4 1.5l-3-3a1 1 0 0 1-.1-.1 7 7 0 1 1 1.4-1.4zM7 12A5 5 0 1 0 7 2a5 5 0 0 0 0 10z" />
|
|
31762
|
-
</svg>`,
|
|
31400
|
+
</svg>`, D = /* @__PURE__ */ Object.assign({ "./Add.svg": ke, "./CheckMark.svg": Se, "./ChevronDown.svg": Ce, "./ChevronLeft.svg": xe, "./ChevronRight.svg": ye, "./ChevronUp.svg": Ee, "./Clipboard.svg": Le, "./Close.svg": Ae, "./DarkMode.svg": Te, "./Ellipses.svg": Me, "./ExternalLink.svg": Ie, "./GitHub.svg": Ne, "./LightDarkModeToggle.svg": Oe, "./LightMode.svg": Be, "./Logo.svg": De, "./LogoAPI.svg": Re, "./LogoClient.svg": ze, "./LogoMarket.svg": Pe, "./LogoSwagger.svg": He, "./Menu.svg": $e, "./PaperAirplane.svg": Ge, "./Search.svg": je }), Ve = (r2) => {
|
|
31763
31401
|
const t2 = `./${r2}.svg`;
|
|
31764
|
-
return
|
|
31765
|
-
},
|
|
31402
|
+
return D[t2] === void 0 ? (console.warn(`Could not find icon: ${r2}`), "") : D[t2];
|
|
31403
|
+
}, V = /* @__PURE__ */ defineComponent({
|
|
31766
31404
|
__name: "ScalarIcon",
|
|
31767
31405
|
props: {
|
|
31768
31406
|
icon: {},
|
|
31769
31407
|
size: {}
|
|
31770
31408
|
},
|
|
31771
31409
|
setup(r2) {
|
|
31772
|
-
const t2 = r2, e =
|
|
31410
|
+
const t2 = r2, e = y({
|
|
31773
31411
|
variants: {
|
|
31774
31412
|
size: {
|
|
31775
31413
|
xs: "h-3 w-3",
|
|
@@ -31783,10 +31421,10 @@ const ft = /* @__PURE__ */ defineComponent({
|
|
|
31783
31421
|
defaultVariants: {
|
|
31784
31422
|
size: "full"
|
|
31785
31423
|
}
|
|
31786
|
-
}), s = computed(() =>
|
|
31787
|
-
return (u,
|
|
31424
|
+
}), s = computed(() => Ve(t2.icon));
|
|
31425
|
+
return (u, g) => s.value ? (openBlock(), createBlock(unref(_e), {
|
|
31788
31426
|
key: 0,
|
|
31789
|
-
class: normalizeClass(unref(
|
|
31427
|
+
class: normalizeClass(unref(w)("scalar-icon", unref(e)({ size: u.size }))),
|
|
31790
31428
|
raw: s.value
|
|
31791
31429
|
}, null, 8, ["class", "raw"])) : createCommentVNode("", true);
|
|
31792
31430
|
}
|
|
@@ -31949,7 +31587,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
31949
31587
|
onClick: addHandler
|
|
31950
31588
|
}, [
|
|
31951
31589
|
createElementVNode("i", _hoisted_24, [
|
|
31952
|
-
createVNode(unref(
|
|
31590
|
+
createVNode(unref(V), { icon: "Add" })
|
|
31953
31591
|
]),
|
|
31954
31592
|
createTextVNode(" " + toDisplayString(_ctx.addLabel), 1)
|
|
31955
31593
|
])) : createCommentVNode("", true),
|
|
@@ -31961,7 +31599,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
31961
31599
|
}, [
|
|
31962
31600
|
createTextVNode(" Show More "),
|
|
31963
31601
|
createElementVNode("i", _hoisted_25, [
|
|
31964
|
-
createVNode(unref(
|
|
31602
|
+
createVNode(unref(V), { icon: "ChevronDown" })
|
|
31965
31603
|
])
|
|
31966
31604
|
])) : createCommentVNode("", true)
|
|
31967
31605
|
])
|
|
@@ -32408,7 +32046,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
32408
32046
|
return openBlock(), createBlock(unref(_sfc_main$j), { title: "Body" }, {
|
|
32409
32047
|
default: withCtx(() => [
|
|
32410
32048
|
_ctx.active ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
32411
|
-
codeMirrorLanguage.value ? (openBlock(), createBlock(unref(
|
|
32049
|
+
codeMirrorLanguage.value ? (openBlock(), createBlock(unref(ct), {
|
|
32412
32050
|
key: 0,
|
|
32413
32051
|
class: "custom-scroll",
|
|
32414
32052
|
content: _ctx.data,
|
|
@@ -32836,6 +32474,7 @@ export {
|
|
|
32836
32474
|
concatenateUrlAndPath,
|
|
32837
32475
|
createEmptyAuthState,
|
|
32838
32476
|
createPlaceholderRequest,
|
|
32477
|
+
encodeStringAsBase64,
|
|
32839
32478
|
findVariables,
|
|
32840
32479
|
httpHeaders,
|
|
32841
32480
|
httpStatusCodes,
|