[[o`#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^n?VSt^Oy%^z;'S%^;'S;=`%o<%lO%^l?hWjWOy%^z!O%^!O!P;O!P!Q%^!Q![>T![;'S%^;'S;=`%o<%lO%^n@VU#bQOy%^z!Q%^!Q![;g![;'S%^;'S;=`%o<%lO%^~@nTjWOy%^z{@}{;'S%^;'S;=`%o<%lO%^~AUSo`#[~Oy%^z;'S%^;'S;=`%o<%lO%^lAg[#e[Oy%^z!O%^!O!P;g!P!Q%^!Q![>T![!g%^!g!h<^!h#X%^#X#Y<^#Y;'S%^;'S;=`%o<%lO%^bBbU]QOy%^z![%^![!]Bt!];'S%^;'S;=`%o<%lO%^bB{S^Qo`Oy%^z;'S%^;'S;=`%o<%lO%^nC^S!Y^Oy%^z;'S%^;'S;=`%o<%lO%^dCoS|SOy%^z;'S%^;'S;=`%o<%lO%^bDQU!OQOy%^z!`%^!`!aDd!a;'S%^;'S;=`%o<%lO%^bDkS!OQo`Oy%^z;'S%^;'S;=`%o<%lO%^bDzWOy%^z!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^bEk[![Qo`Oy%^z}%^}!OEd!O!Q%^!Q![Ed![!c%^!c!}Ed!}#T%^#T#oEd#o;'S%^;'S;=`%o<%lO%^nFfSq^Oy%^z;'S%^;'S;=`%o<%lO%^nFwSp^Oy%^z;'S%^;'S;=`%o<%lO%^bGWUOy%^z#b%^#b#cGj#c;'S%^;'S;=`%o<%lO%^bGoUo`Oy%^z#W%^#W#XHR#X;'S%^;'S;=`%o<%lO%^bHYS!bQo`Oy%^z;'S%^;'S;=`%o<%lO%^bHiUOy%^z#f%^#f#gHR#g;'S%^;'S;=`%o<%lO%^fIQS!TUOy%^z;'S%^;'S;=`%o<%lO%^nIcS!S^Oy%^z;'S%^;'S;=`%o<%lO%^fItU!RQOy%^z!_%^!_!`6y!`;'S%^;'S;=`%o<%lO%^`JZP;=`<%l$}",
- tokenizers: [Ele, Tle, Sle, 1, 2, 3, 4, new ale("m~RRYZ[z{a~~g~aO#^~~dP!P!Qg~lO#_~~", 28, 105)],
- topRules: { StyleSheet: [0, 4], Styles: [1, 86] },
- specialized: [
- { term: 100, get: (e) => Cle[e] || -1 },
- { term: 58, get: (e) => Ple[e] || -1 },
- { term: 101, get: (e) => Dle[e] || -1 },
- ],
- tokenPrec: 1200,
- })
- let Nle = null
- function $le() {
- if (!Nle && "object" == typeof document && document.body) {
- let { style: e } = document.body,
- t = [],
- n = new Set()
- for (let r in e)
- "cssText" != r &&
- "cssFloat" != r &&
- "string" == typeof e[r] &&
- (/[A-Z]/.test(r) && (r = r.replace(/[A-Z]/g, (e) => "-" + e.toLowerCase())),
- n.has(r) || (t.push(r), n.add(r)))
- Nle = t.sort().map((e) => ({ type: "property", label: e }))
- }
- return Nle || []
- }
- const Ile = [
- "active",
- "after",
- "any-link",
- "autofill",
- "backdrop",
- "before",
- "checked",
- "cue",
- "default",
- "defined",
- "disabled",
- "empty",
- "enabled",
- "file-selector-button",
- "first",
- "first-child",
- "first-letter",
- "first-line",
- "first-of-type",
- "focus",
- "focus-visible",
- "focus-within",
- "fullscreen",
- "has",
- "host",
- "host-context",
- "hover",
- "in-range",
- "indeterminate",
- "invalid",
- "is",
- "lang",
- "last-child",
- "last-of-type",
- "left",
- "link",
- "marker",
- "modal",
- "not",
- "nth-child",
- "nth-last-child",
- "nth-last-of-type",
- "nth-of-type",
- "only-child",
- "only-of-type",
- "optional",
- "out-of-range",
- "part",
- "placeholder",
- "placeholder-shown",
- "read-only",
- "read-write",
- "required",
- "right",
- "root",
- "scope",
- "selection",
- "slotted",
- "target",
- "target-text",
- "valid",
- "visited",
- "where",
- ].map((e) => ({ type: "class", label: e })),
- Mle = [
- "above",
- "absolute",
- "activeborder",
- "additive",
- "activecaption",
- "after-white-space",
- "ahead",
- "alias",
- "all",
- "all-scroll",
- "alphabetic",
- "alternate",
- "always",
- "antialiased",
- "appworkspace",
- "asterisks",
- "attr",
- "auto",
- "auto-flow",
- "avoid",
- "avoid-column",
- "avoid-page",
- "avoid-region",
- "axis-pan",
- "background",
- "backwards",
- "baseline",
- "below",
- "bidi-override",
- "blink",
- "block",
- "block-axis",
- "bold",
- "bolder",
- "border",
- "border-box",
- "both",
- "bottom",
- "break",
- "break-all",
- "break-word",
- "bullets",
- "button",
- "button-bevel",
- "buttonface",
- "buttonhighlight",
- "buttonshadow",
- "buttontext",
- "calc",
- "capitalize",
- "caps-lock-indicator",
- "caption",
- "captiontext",
- "caret",
- "cell",
- "center",
- "checkbox",
- "circle",
- "cjk-decimal",
- "clear",
- "clip",
- "close-quote",
- "col-resize",
- "collapse",
- "color",
- "color-burn",
- "color-dodge",
- "column",
- "column-reverse",
- "compact",
- "condensed",
- "contain",
- "content",
- "contents",
- "content-box",
- "context-menu",
- "continuous",
- "copy",
- "counter",
- "counters",
- "cover",
- "crop",
- "cross",
- "crosshair",
- "currentcolor",
- "cursive",
- "cyclic",
- "darken",
- "dashed",
- "decimal",
- "decimal-leading-zero",
- "default",
- "default-button",
- "dense",
- "destination-atop",
- "destination-in",
- "destination-out",
- "destination-over",
- "difference",
- "disc",
- "discard",
- "disclosure-closed",
- "disclosure-open",
- "document",
- "dot-dash",
- "dot-dot-dash",
- "dotted",
- "double",
- "down",
- "e-resize",
- "ease",
- "ease-in",
- "ease-in-out",
- "ease-out",
- "element",
- "ellipse",
- "ellipsis",
- "embed",
- "end",
- "ethiopic-abegede-gez",
- "ethiopic-halehame-aa-er",
- "ethiopic-halehame-gez",
- "ew-resize",
- "exclusion",
- "expanded",
- "extends",
- "extra-condensed",
- "extra-expanded",
- "fantasy",
- "fast",
- "fill",
- "fill-box",
- "fixed",
- "flat",
- "flex",
- "flex-end",
- "flex-start",
- "footnotes",
- "forwards",
- "from",
- "geometricPrecision",
- "graytext",
- "grid",
- "groove",
- "hand",
- "hard-light",
- "help",
- "hidden",
- "hide",
- "higher",
- "highlight",
- "highlighttext",
- "horizontal",
- "hsl",
- "hsla",
- "hue",
- "icon",
- "ignore",
- "inactiveborder",
- "inactivecaption",
- "inactivecaptiontext",
- "infinite",
- "infobackground",
- "infotext",
- "inherit",
- "initial",
- "inline",
- "inline-axis",
- "inline-block",
- "inline-flex",
- "inline-grid",
- "inline-table",
- "inset",
- "inside",
- "intrinsic",
- "invert",
- "italic",
- "justify",
- "keep-all",
- "landscape",
- "large",
- "larger",
- "left",
- "level",
- "lighter",
- "lighten",
- "line-through",
- "linear",
- "linear-gradient",
- "lines",
- "list-item",
- "listbox",
- "listitem",
- "local",
- "logical",
- "loud",
- "lower",
- "lower-hexadecimal",
- "lower-latin",
- "lower-norwegian",
- "lowercase",
- "ltr",
- "luminosity",
- "manipulation",
- "match",
- "matrix",
- "matrix3d",
- "medium",
- "menu",
- "menutext",
- "message-box",
- "middle",
- "min-intrinsic",
- "mix",
- "monospace",
- "move",
- "multiple",
- "multiple_mask_images",
- "multiply",
- "n-resize",
- "narrower",
- "ne-resize",
- "nesw-resize",
- "no-close-quote",
- "no-drop",
- "no-open-quote",
- "no-repeat",
- "none",
- "normal",
- "not-allowed",
- "nowrap",
- "ns-resize",
- "numbers",
- "numeric",
- "nw-resize",
- "nwse-resize",
- "oblique",
- "opacity",
- "open-quote",
- "optimizeLegibility",
- "optimizeSpeed",
- "outset",
- "outside",
- "outside-shape",
- "overlay",
- "overline",
- "padding",
- "padding-box",
- "painted",
- "page",
- "paused",
- "perspective",
- "pinch-zoom",
- "plus-darker",
- "plus-lighter",
- "pointer",
- "polygon",
- "portrait",
- "pre",
- "pre-line",
- "pre-wrap",
- "preserve-3d",
- "progress",
- "push-button",
- "radial-gradient",
- "radio",
- "read-only",
- "read-write",
- "read-write-plaintext-only",
- "rectangle",
- "region",
- "relative",
- "repeat",
- "repeating-linear-gradient",
- "repeating-radial-gradient",
- "repeat-x",
- "repeat-y",
- "reset",
- "reverse",
- "rgb",
- "rgba",
- "ridge",
- "right",
- "rotate",
- "rotate3d",
- "rotateX",
- "rotateY",
- "rotateZ",
- "round",
- "row",
- "row-resize",
- "row-reverse",
- "rtl",
- "run-in",
- "running",
- "s-resize",
- "sans-serif",
- "saturation",
- "scale",
- "scale3d",
- "scaleX",
- "scaleY",
- "scaleZ",
- "screen",
- "scroll",
- "scrollbar",
- "scroll-position",
- "se-resize",
- "self-start",
- "self-end",
- "semi-condensed",
- "semi-expanded",
- "separate",
- "serif",
- "show",
- "single",
- "skew",
- "skewX",
- "skewY",
- "skip-white-space",
- "slide",
- "slider-horizontal",
- "slider-vertical",
- "sliderthumb-horizontal",
- "sliderthumb-vertical",
- "slow",
- "small",
- "small-caps",
- "small-caption",
- "smaller",
- "soft-light",
- "solid",
- "source-atop",
- "source-in",
- "source-out",
- "source-over",
- "space",
- "space-around",
- "space-between",
- "space-evenly",
- "spell-out",
- "square",
- "start",
- "static",
- "status-bar",
- "stretch",
- "stroke",
- "stroke-box",
- "sub",
- "subpixel-antialiased",
- "svg_masks",
- "super",
- "sw-resize",
- "symbolic",
- "symbols",
- "system-ui",
- "table",
- "table-caption",
- "table-cell",
- "table-column",
- "table-column-group",
- "table-footer-group",
- "table-header-group",
- "table-row",
- "table-row-group",
- "text",
- "text-bottom",
- "text-top",
- "textarea",
- "textfield",
- "thick",
- "thin",
- "threeddarkshadow",
- "threedface",
- "threedhighlight",
- "threedlightshadow",
- "threedshadow",
- "to",
- "top",
- "transform",
- "translate",
- "translate3d",
- "translateX",
- "translateY",
- "translateZ",
- "transparent",
- "ultra-condensed",
- "ultra-expanded",
- "underline",
- "unidirectional-pan",
- "unset",
- "up",
- "upper-latin",
- "uppercase",
- "url",
- "var",
- "vertical",
- "vertical-text",
- "view-box",
- "visible",
- "visibleFill",
- "visiblePainted",
- "visibleStroke",
- "visual",
- "w-resize",
- "wait",
- "wave",
- "wider",
- "window",
- "windowframe",
- "windowtext",
- "words",
- "wrap",
- "wrap-reverse",
- "x-large",
- "x-small",
- "xor",
- "xx-large",
- "xx-small",
- ]
- .map((e) => ({ type: "keyword", label: e }))
- .concat(
- [
- "aliceblue",
- "antiquewhite",
- "aqua",
- "aquamarine",
- "azure",
- "beige",
- "bisque",
- "black",
- "blanchedalmond",
- "blue",
- "blueviolet",
- "brown",
- "burlywood",
- "cadetblue",
- "chartreuse",
- "chocolate",
- "coral",
- "cornflowerblue",
- "cornsilk",
- "crimson",
- "cyan",
- "darkblue",
- "darkcyan",
- "darkgoldenrod",
- "darkgray",
- "darkgreen",
- "darkkhaki",
- "darkmagenta",
- "darkolivegreen",
- "darkorange",
- "darkorchid",
- "darkred",
- "darksalmon",
- "darkseagreen",
- "darkslateblue",
- "darkslategray",
- "darkturquoise",
- "darkviolet",
- "deeppink",
- "deepskyblue",
- "dimgray",
- "dodgerblue",
- "firebrick",
- "floralwhite",
- "forestgreen",
- "fuchsia",
- "gainsboro",
- "ghostwhite",
- "gold",
- "goldenrod",
- "gray",
- "grey",
- "green",
- "greenyellow",
- "honeydew",
- "hotpink",
- "indianred",
- "indigo",
- "ivory",
- "khaki",
- "lavender",
- "lavenderblush",
- "lawngreen",
- "lemonchiffon",
- "lightblue",
- "lightcoral",
- "lightcyan",
- "lightgoldenrodyellow",
- "lightgray",
- "lightgreen",
- "lightpink",
- "lightsalmon",
- "lightseagreen",
- "lightskyblue",
- "lightslategray",
- "lightsteelblue",
- "lightyellow",
- "lime",
- "limegreen",
- "linen",
- "magenta",
- "maroon",
- "mediumaquamarine",
- "mediumblue",
- "mediumorchid",
- "mediumpurple",
- "mediumseagreen",
- "mediumslateblue",
- "mediumspringgreen",
- "mediumturquoise",
- "mediumvioletred",
- "midnightblue",
- "mintcream",
- "mistyrose",
- "moccasin",
- "navajowhite",
- "navy",
- "oldlace",
- "olive",
- "olivedrab",
- "orange",
- "orangered",
- "orchid",
- "palegoldenrod",
- "palegreen",
- "paleturquoise",
- "palevioletred",
- "papayawhip",
- "peachpuff",
- "peru",
- "pink",
- "plum",
- "powderblue",
- "purple",
- "rebeccapurple",
- "red",
- "rosybrown",
- "royalblue",
- "saddlebrown",
- "salmon",
- "sandybrown",
- "seagreen",
- "seashell",
- "sienna",
- "silver",
- "skyblue",
- "slateblue",
- "slategray",
- "snow",
- "springgreen",
- "steelblue",
- "tan",
- "teal",
- "thistle",
- "tomato",
- "turquoise",
- "violet",
- "wheat",
- "white",
- "whitesmoke",
- "yellow",
- "yellowgreen",
- ].map((e) => ({ type: "constant", label: e })),
- ),
- Lle = [
- "a",
- "abbr",
- "address",
- "article",
- "aside",
- "b",
- "bdi",
- "bdo",
- "blockquote",
- "body",
- "br",
- "button",
- "canvas",
- "caption",
- "cite",
- "code",
- "col",
- "colgroup",
- "dd",
- "del",
- "details",
- "dfn",
- "dialog",
- "div",
- "dl",
- "dt",
- "em",
- "figcaption",
- "figure",
- "footer",
- "form",
- "header",
- "hgroup",
- "h1",
- "h2",
- "h3",
- "h4",
- "h5",
- "h6",
- "hr",
- "html",
- "i",
- "iframe",
- "img",
- "input",
- "ins",
- "kbd",
- "label",
- "legend",
- "li",
- "main",
- "meter",
- "nav",
- "ol",
- "output",
- "p",
- "pre",
- "ruby",
- "section",
- "select",
- "small",
- "source",
- "span",
- "strong",
- "sub",
- "summary",
- "sup",
- "table",
- "tbody",
- "td",
- "template",
- "textarea",
- "tfoot",
- "th",
- "thead",
- "tr",
- "u",
- "ul",
- ].map((e) => ({ type: "type", label: e })),
- Qle = /^(\w[\w-]*|-\w[\w-]*|)$/,
- Ble = /^-(-[\w-]*)?$/,
- jle = new pae(),
- Ule = ["Declaration"]
- function Fle(e) {
- for (let t = e; ; ) {
- if (t.type.isTop) return t
- if (!(t = t.parent)) return e
- }
- }
- function zle(e, t, n) {
- if (t.to - t.from > 4096) {
- let r = jle.get(t)
- if (r) return r
- let a = [],
- o = new Set(),
- i = t.cursor(Hre.IncludeAnonymous)
- if (i.firstChild())
- do {
- for (let t of zle(e, i.node, n)) o.has(t.label) || (o.add(t.label), a.push(t))
- } while (i.nextSibling())
- return jle.set(t, a), a
- }
- {
- let r = [],
- a = new Set()
- return (
- t.cursor().iterate((t) => {
- var o
- if (
- n(t) &&
- t.matchContext(Ule) &&
- ":" == (null === (o = t.node.nextSibling) || void 0 === o ? void 0 : o.name)
- ) {
- let n = e.sliceString(t.from, t.to)
- a.has(n) || (a.add(n), r.push({ label: n, type: "variable" }))
- }
- }),
- r
- )
- }
- }
- const qle = ((e) => (t) => {
- let { state: n, pos: r } = t,
- a = loe(n).resolveInner(r, -1),
- o = a.type.isError && a.from == a.to - 1 && "-" == n.doc.sliceString(a.from, a.to)
- if ("PropertyName" == a.name || ((o || "TagName" == a.name) && /^(Block|Styles)$/.test(a.resolve(a.to).name)))
- return { from: a.from, options: $le(), validFor: Qle }
- if ("ValueName" == a.name) return { from: a.from, options: Mle, validFor: Qle }
- if ("PseudoClassName" == a.name) return { from: a.from, options: Ile, validFor: Qle }
- if (
- e(a) ||
- ((t.explicit || o) &&
- (function (e, t) {
- var n
- if ((("(" == e.name || e.type.isError) && (e = e.parent || e), "ArgList" != e.name)) return !1
- let r = null === (n = e.parent) || void 0 === n ? void 0 : n.firstChild
- return "Callee" == (null == r ? void 0 : r.name) && "var" == t.sliceString(r.from, r.to)
- })(a, n.doc))
- )
- return { from: e(a) || o ? a.from : r, options: zle(n.doc, Fle(a), e), validFor: Ble }
- if ("TagName" == a.name) {
- for (let { parent: e } = a; e; e = e.parent)
- if ("Block" == e.name) return { from: a.from, options: $le(), validFor: Qle }
- return { from: a.from, options: Lle, validFor: Qle }
- }
- if (!t.explicit) return null
- let i = a.resolve(r),
- s = i.childBefore(r)
- return s && ":" == s.name && "PseudoClassSelector" == i.name
- ? { from: r, options: Ile, validFor: Qle }
- : (s && ":" == s.name && "Declaration" == i.name) || "ArgList" == i.name
- ? { from: r, options: Mle, validFor: Qle }
- : "Block" == i.name || "Styles" == i.name
- ? { from: r, options: $le(), validFor: Qle }
- : null
- })((e) => "VariableName" == e.name),
- Zle = soe.define({
- name: "css",
- parser: Rle.configure({ props: [Soe.add({ Declaration: Noe() }), $oe.add({ "Block KeyframeList": Ioe })] }),
- languageData: {
- commentTokens: { block: { open: "/*", close: "*/" } },
- indentOnInput: /^\s*\}$/,
- wordChars: "-",
- },
- })
- function Hle() {
- return new voe(Zle, Zle.data.of({ autocomplete: qle }))
- }
- const Vle = 22,
- Wle = 23,
- Xle = 24,
- Yle = 26,
- Gle = 27,
- Kle = {
- area: !0,
- base: !0,
- br: !0,
- col: !0,
- command: !0,
- embed: !0,
- frame: !0,
- hr: !0,
- img: !0,
- input: !0,
- keygen: !0,
- link: !0,
- meta: !0,
- param: !0,
- source: !0,
- track: !0,
- wbr: !0,
- menuitem: !0,
- },
- Jle = {
- dd: !0,
- li: !0,
- optgroup: !0,
- option: !0,
- p: !0,
- rp: !0,
- rt: !0,
- tbody: !0,
- td: !0,
- tfoot: !0,
- th: !0,
- tr: !0,
- },
- ece = {
- dd: { dd: !0, dt: !0 },
- dt: { dd: !0, dt: !0 },
- li: { li: !0 },
- option: { option: !0, optgroup: !0 },
- optgroup: { optgroup: !0 },
- p: {
- address: !0,
- article: !0,
- aside: !0,
- blockquote: !0,
- dir: !0,
- div: !0,
- dl: !0,
- fieldset: !0,
- footer: !0,
- form: !0,
- h1: !0,
- h2: !0,
- h3: !0,
- h4: !0,
- h5: !0,
- h6: !0,
- header: !0,
- hgroup: !0,
- hr: !0,
- menu: !0,
- nav: !0,
- ol: !0,
- p: !0,
- pre: !0,
- section: !0,
- table: !0,
- ul: !0,
- },
- rp: { rp: !0, rt: !0 },
- rt: { rp: !0, rt: !0 },
- tbody: { tbody: !0, tfoot: !0 },
- td: { td: !0, th: !0 },
- tfoot: { tbody: !0 },
- th: { td: !0, th: !0 },
- thead: { tbody: !0, tfoot: !0 },
- tr: { tr: !0 },
- }
- function tce(e) {
- return 9 == e || 10 == e || 13 == e || 32 == e
- }
- let nce = null,
- rce = null,
- ace = 0
- function oce(e, t) {
- let n = e.pos + t
- if (ace == n && rce == e) return nce
- let r = e.peek(t)
- for (; tce(r); ) r = e.peek(++t)
- let a = ""
- for (
- ;
- 45 == (o = r) || 46 == o || 58 == o || (o >= 65 && o <= 90) || 95 == o || (o >= 97 && o <= 122) || o >= 161;
-
- )
- (a += String.fromCharCode(r)), (r = e.peek(++t))
- var o
- return (rce = e), (ace = n), (nce = a ? a.toLowerCase() : r == ice || r == sce ? void 0 : null)
- }
- const ice = 63,
- sce = 33
- function lce(e, t) {
- ;(this.name = e), (this.parent = t)
- }
- const cce = [6, 10, 7, 8, 9],
- dce = new vle({
- start: null,
- shift: (e, t, n, r) => (cce.indexOf(t) > -1 ? new lce(oce(r, 1) || "", e) : e),
- reduce: (e, t) => (20 == t && e ? e.parent : e),
- reuse(e, t, n, r) {
- let a = t.type.id
- return 6 == a || 36 == a ? new lce(oce(r, 1) || "", e) : e
- },
- strict: !1,
- }),
- uce = new ole(
- (e, t) => {
- if (60 != e.next) return void (e.next < 0 && t.context && e.acceptToken(57))
- e.advance()
- let n = 47 == e.next
- n && e.advance()
- let r = oce(e, 0)
- if (void 0 === r) return
- if (!r) return e.acceptToken(n ? 14 : 6)
- let a = t.context ? t.context.name : null
- if (n) {
- if (r == a) return e.acceptToken(11)
- if (a && Jle[a]) return e.acceptToken(57, -2)
- if (t.dialectEnabled(0)) return e.acceptToken(12)
- for (let e = t.context; e; e = e.parent) if (e.name == r) return
- e.acceptToken(13)
- } else {
- if ("script" == r) return e.acceptToken(7)
- if ("style" == r) return e.acceptToken(8)
- if ("textarea" == r) return e.acceptToken(9)
- if (Kle.hasOwnProperty(r)) return e.acceptToken(10)
- a && ece[a] && ece[a][r] ? e.acceptToken(57, -1) : e.acceptToken(6)
- }
- },
- { contextual: !0 },
- ),
- pce = new ole((e) => {
- for (let t = 0, n = 0; ; n++) {
- if (e.next < 0) {
- n && e.acceptToken(58)
- break
- }
- if (45 == e.next) t++
- else {
- if (62 == e.next && t >= 2) {
- n >= 3 && e.acceptToken(58, -2)
- break
- }
- t = 0
- }
- e.advance()
- }
- }),
- hce = new ole((e, t) => {
- if (47 == e.next && 62 == e.peek(1)) {
- let n =
- t.dialectEnabled(1) ||
- (function (e) {
- for (; e; e = e.parent) if ("svg" == e.name || "math" == e.name) return !0
- return !1
- })(t.context)
- e.acceptToken(n ? 5 : 4, 2)
- } else 62 == e.next && e.acceptToken(4, 1)
- })
- function fce(e, t, n) {
- let r = 2 + e.length
- return new ole((a) => {
- for (let o = 0, i = 0, s = 0; ; s++) {
- if (a.next < 0) {
- s && a.acceptToken(t)
- break
- }
- if (
- (0 == o && 60 == a.next) ||
- (1 == o && 47 == a.next) ||
- (o >= 2 && o < r && a.next == e.charCodeAt(o - 2))
- )
- o++, i++
- else if ((2 != o && o != r) || !tce(a.next)) {
- if (o == r && 62 == a.next) {
- s > i ? a.acceptToken(t, -i) : a.acceptToken(n, -(i - 2))
- break
- }
- if ((10 == a.next || 13 == a.next) && s) {
- a.acceptToken(t, 1)
- break
- }
- o = i = 0
- } else i++
- a.advance()
- }
- })
- }
- const mce = fce("script", 54, 1),
- gce = fce("style", 55, 2),
- bce = fce("textarea", 56, 3),
- vce = Nae({
- "Text RawText": eoe.content,
- "StartTag StartCloseTag SelfClosingEndTag EndTag": eoe.angleBracket,
- TagName: eoe.tagName,
- "MismatchedCloseTag/TagName": [eoe.tagName, eoe.invalid],
- AttributeName: eoe.attributeName,
- "AttributeValue UnquotedAttributeValue": eoe.attributeValue,
- Is: eoe.definitionOperator,
- "EntityReference CharacterReference": eoe.character,
- Comment: eoe.blockComment,
- ProcessingInst: eoe.processingInstruction,
- DoctypeDecl: eoe.documentMeta,
- }),
- yce = yle.deserialize({
- version: 14,
- states:
- ",xOVO!rOOO!WQ#tO'#CqO!]Q#tO'#CzO!bQ#tO'#C}O!gQ#tO'#DQO!lQ#tO'#DSO!qOaO'#CpO!|ObO'#CpO#XOdO'#CpO$eO!rO'#CpOOO`'#Cp'#CpO$lO$fO'#DTO$tQ#tO'#DVO$yQ#tO'#DWOOO`'#Dk'#DkOOO`'#DY'#DYQVO!rOOO%OQ&rO,59]O%ZQ&rO,59fO%fQ&rO,59iO%qQ&rO,59lO%|Q&rO,59nOOOa'#D^'#D^O&XOaO'#CxO&dOaO,59[OOOb'#D_'#D_O&lObO'#C{O&wObO,59[OOOd'#D`'#D`O'POdO'#DOO'[OdO,59[OOO`'#Da'#DaO'dO!rO,59[O'kQ#tO'#DROOO`,59[,59[OOOp'#Db'#DbO'pO$fO,59oOOO`,59o,59oO'xQ#|O,59qO'}Q#|O,59rOOO`-E7W-E7WO(SQ&rO'#CsOOQW'#DZ'#DZO(bQ&rO1G.wOOOa1G.w1G.wOOO`1G/Y1G/YO(mQ&rO1G/QOOOb1G/Q1G/QO(xQ&rO1G/TOOOd1G/T1G/TO)TQ&rO1G/WOOO`1G/W1G/WO)`Q&rO1G/YOOOa-E7[-E7[O)kQ#tO'#CyOOO`1G.v1G.vOOOb-E7]-E7]O)pQ#tO'#C|OOOd-E7^-E7^O)uQ#tO'#DPOOO`-E7_-E7_O)zQ#|O,59mOOOp-E7`-E7`OOO`1G/Z1G/ZOOO`1G/]1G/]OOO`1G/^1G/^O*PQ,UO,59_OOQW-E7X-E7XOOOa7+$c7+$cOOO`7+$t7+$tOOOb7+$l7+$lOOOd7+$o7+$oOOO`7+$r7+$rO*[Q#|O,59eO*aQ#|O,59hO*fQ#|O,59kOOO`1G/X1G/XO*kO7[O'#CvO*|OMhO'#CvOOQW1G.y1G.yOOO`1G/P1G/POOO`1G/S1G/SOOO`1G/V1G/VOOOO'#D['#D[O+_O7[O,59bOOQW,59b,59bOOOO'#D]'#D]O+pOMhO,59bOOOO-E7Y-E7YOOQW1G.|1G.|OOOO-E7Z-E7Z",
- stateData:
- ",]~O!^OS~OUSOVPOWQOXROYTO[]O][O^^O`^Oa^Ob^Oc^Ox^O{_O!dZO~OfaO~OfbO~OfcO~OfdO~OfeO~O!WfOPlP!ZlP~O!XiOQoP!ZoP~O!YlORrP!ZrP~OUSOVPOWQOXROYTOZqO[]O][O^^O`^Oa^Ob^Oc^Ox^O!dZO~O!ZrO~P#dO![sO!euO~OfvO~OfwO~OS|OT}OhyO~OS!POT}OhyO~OS!ROT}OhyO~OS!TOT}OhyO~OS}OT}OhyO~O!WfOPlX!ZlX~OP!WO!Z!XO~O!XiOQoX!ZoX~OQ!ZO!Z!XO~O!YlORrX!ZrX~OR!]O!Z!XO~O!Z!XO~P#dOf!_O~O![sO!e!aO~OS!bO~OS!cO~Oi!dOSgXTgXhgX~OS!fOT!gOhyO~OS!hOT!gOhyO~OS!iOT!gOhyO~OS!jOT!gOhyO~OS!gOT!gOhyO~Of!kO~Of!lO~Of!mO~OS!nO~Ok!qO!`!oO!b!pO~OS!rO~OS!sO~OS!tO~Oa!uOb!uOc!uO!`!wO!a!uO~Oa!xOb!xOc!xO!b!wO!c!xO~Oa!uOb!uOc!uO!`!{O!a!uO~Oa!xOb!xOc!xO!b!{O!c!xO~OT~bac!dx{!d~",
- goto: "%p!`PPPPPPPPPPPPPPPPPPPP!a!gP!mPP!yP!|#P#S#Y#]#`#f#i#l#r#x!aP!a!aP$O$U$l$r$x%O%U%[%bPPPPPPPP%hX^OX`pXUOX`pezabcde{!O!Q!S!UR!q!dRhUR!XhXVOX`pRkVR!XkXWOX`pRnWR!XnXXOX`pQrXR!XpXYOX`pQ`ORx`Q{aQ!ObQ!QcQ!SdQ!UeZ!e{!O!Q!S!UQ!v!oR!z!vQ!y!pR!|!yQgUR!VgQjVR!YjQmWR![mQpXR!^pQtZR!`tS_O`ToXp",
- nodeNames:
- "⚠ StartCloseTag StartCloseTag StartCloseTag EndTag SelfClosingEndTag StartTag StartTag StartTag StartTag StartTag StartCloseTag StartCloseTag StartCloseTag IncompleteCloseTag Document Text EntityReference CharacterReference InvalidEntity Element OpenTag TagName Attribute AttributeName Is AttributeValue UnquotedAttributeValue ScriptText CloseTag OpenTag StyleText CloseTag OpenTag TextareaText CloseTag OpenTag CloseTag SelfClosingTag Comment ProcessingInst MismatchedCloseTag CloseTag DoctypeDecl",
- maxTerm: 67,
- context: dce,
- nodeProps: [
- [
- "closedBy",
- -10,
- 1,
- 2,
- 3,
- 7,
- 8,
- 9,
- 10,
- 11,
- 12,
- 13,
- "EndTag",
- 6,
- "EndTag SelfClosingEndTag",
- -4,
- 21,
- 30,
- 33,
- 36,
- "CloseTag",
- ],
- ["openedBy", 4, "StartTag StartCloseTag", 5, "StartTag", -4, 29, 32, 35, 37, "OpenTag"],
- [
- "group",
- -9,
- 14,
- 17,
- 18,
- 19,
- 20,
- 39,
- 40,
- 41,
- 42,
- "Entity",
- 16,
- "Entity TextContent",
- -3,
- 28,
- 31,
- 34,
- "TextContent Entity",
- ],
- ["isolate", -11, 21, 29, 30, 32, 33, 35, 36, 37, 38, 41, 42, "ltr", -3, 26, 27, 39, ""],
- ],
- propSources: [vce],
- skippedNodes: [0],
- repeatNodeCount: 9,
- tokenData:
- "!]tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^/^!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!Z5zbkWOX5uXZ7SZ[5u[^7S^p5uqr5urs7Sst+Ptw5uwx7Sx!]5u!]!^7w!^!a7S!a#S5u#S#T7S#T;'S5u;'S;=`8n<%lO5u!R7VVOp7Sqs7St!]7S!]!^7l!^;'S7S;'S;=`7q<%lO7S!R7qOa!R!R7tP;=`<%l7S!Z8OYkWa!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!Z8qP;=`<%l5u!_8{ihSkWOX5uXZ7SZ[5u[^7S^p5uqr8trs7Sst/^tw8twx7Sx!P8t!P!Q5u!Q!]8t!]!^:j!^!a7S!a#S8t#S#T;{#T#s8t#s$f5u$f;'S8t;'S;=`>V<%l?Ah8t?Ah?BY5u?BY?Mn8t?MnO5u!_:sbhSkWa!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VP<%l?Ah;{?Ah?BY7S?BY?Mn;{?MnO7S!V=dXhSa!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!V>SP;=`<%l;{!_>YP;=`<%l8t!_>dhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^/^!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!Z@TakWOX@OXZAYZ[@O[^AY^p@Oqr@OrsAYsw@OwxAYx!]@O!]!^Az!^!aAY!a#S@O#S#TAY#T;'S@O;'S;=`Bq<%lO@O!RA]UOpAYq!]AY!]!^Ao!^;'SAY;'S;=`At<%lOAY!RAtOb!R!RAwP;=`<%lAY!ZBRYkWb!ROX+PZ[+P^p+Pqr+Psw+Px!^+P!a#S+P#T;'S+P;'S;=`+t<%lO+P!ZBtP;=`<%l@O!_COhhSkWOX@OXZAYZ[@O[^AY^p@OqrBwrsAYswBwwxAYx!PBw!P!Q@O!Q!]Bw!]!^Dj!^!aAY!a#SBw#S#TE{#T#sBw#s$f@O$f;'SBw;'S;=`HS<%l?AhBw?Ah?BY@O?BY?MnBw?MnO@O!_DsbhSkWb!ROX+PZ[+P^p+Pqr/^sw/^x!P/^!P!Q+P!Q!^/^!a#S/^#S#T0m#T#s/^#s$f+P$f;'S/^;'S;=`1e<%l?Ah/^?Ah?BY+P?BY?Mn/^?MnO+P!VFQbhSOpAYqrE{rsAYswE{wxAYx!PE{!P!QAY!Q!]E{!]!^GY!^!aAY!a#sE{#s$fAY$f;'SE{;'S;=`G|<%l?AhE{?Ah?BYAY?BY?MnE{?MnOAY!VGaXhSb!Rqr0msw0mx!P0m!Q!^0m!a#s0m$f;'S0m;'S;=`1_<%l?Ah0m?BY?Mn0m!VHPP;=`<%lE{!_HVP;=`<%lBw!ZHcW!bx`P!a`Or(trs'ksv(tw!^(t!^!_)e!_;'S(t;'S;=`*P<%lO(t!aIYlhS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OKQ!O!P-_!P!Q$q!Q!^-_!^!_*V!_!a&X!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!aK_khS`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx!P-_!P!Q$q!Q!^-_!^!_*V!_!`&X!`!aMS!a#S-_#S#T1k#T#s-_#s$f$q$f;'S-_;'S;=`3X<%l?Ah-_?Ah?BY$q?BY?Mn-_?MnO$q!TM_X`P!a`!cp!eQOr&Xrs&}sv&Xwx(tx!^&X!^!_*V!_;'S&X;'S;=`*y<%lO&X!aNZ!ZhSfQ`PkW!a`!cpOX$qXZ&XZ[$q[^&X^p$qpq&Xqr-_rs&}sv-_vw/^wx(tx}-_}!OMz!O!PMz!P!Q$q!Q![Mz![!]Mz!]!^-_!^!_*V!_!a&X!a!c-_!c!}Mz!}#R-_#R#SMz#S#T1k#T#oMz#o#s-_#s$f$q$f$}-_$}%OMz%O%W-_%W%oMz%o%p-_%p&aMz&a&b-_&b1pMz1p4UMz4U4dMz4d4e-_4e$ISMz$IS$I`-_$I`$IbMz$Ib$Je-_$Je$JgMz$Jg$Kh-_$Kh%#tMz%#t&/x-_&/x&EtMz&Et&FV-_&FV;'SMz;'S;:j!#|;:j;=`3X<%l?&r-_?&r?AhMz?Ah?BY$q?BY?MnMz?MnO$q!a!$PP;=`<%lMz!R!$ZY!a`!cpOq*Vqr!$yrs(Vsv*Vwx)ex!a*V!a!b!4t!b;'S*V;'S;=`*s<%lO*V!R!%Q]!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!%y!O!f*V!f!g!']!g#W*V#W#X!0`#X;'S*V;'S;=`*s<%lO*V!R!&QX!a`!cpOr*Vrs(Vsv*Vwx)ex}*V}!O!&m!O;'S*V;'S;=`*s<%lO*V!R!&vV!a`!cp!dPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!'dX!a`!cpOr*Vrs(Vsv*Vwx)ex!q*V!q!r!(P!r;'S*V;'S;=`*s<%lO*V!R!(WX!a`!cpOr*Vrs(Vsv*Vwx)ex!e*V!e!f!(s!f;'S*V;'S;=`*s<%lO*V!R!(zX!a`!cpOr*Vrs(Vsv*Vwx)ex!v*V!v!w!)g!w;'S*V;'S;=`*s<%lO*V!R!)nX!a`!cpOr*Vrs(Vsv*Vwx)ex!{*V!{!|!*Z!|;'S*V;'S;=`*s<%lO*V!R!*bX!a`!cpOr*Vrs(Vsv*Vwx)ex!r*V!r!s!*}!s;'S*V;'S;=`*s<%lO*V!R!+UX!a`!cpOr*Vrs(Vsv*Vwx)ex!g*V!g!h!+q!h;'S*V;'S;=`*s<%lO*V!R!+xY!a`!cpOr!+qrs!,hsv!+qvw!-Swx!.[x!`!+q!`!a!/j!a;'S!+q;'S;=`!0Y<%lO!+qq!,mV!cpOv!,hvx!-Sx!`!,h!`!a!-q!a;'S!,h;'S;=`!.U<%lO!,hP!-VTO!`!-S!`!a!-f!a;'S!-S;'S;=`!-k<%lO!-SP!-kO{PP!-nP;=`<%l!-Sq!-xS!cp{POv(Vx;'S(V;'S;=`(h<%lO(Vq!.XP;=`<%l!,ha!.aX!a`Or!.[rs!-Ssv!.[vw!-Sw!`!.[!`!a!.|!a;'S!.[;'S;=`!/d<%lO!.[a!/TT!a`{POr)esv)ew;'S)e;'S;=`)y<%lO)ea!/gP;=`<%l!.[!R!/sV!a`!cp{POr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!0]P;=`<%l!+q!R!0gX!a`!cpOr*Vrs(Vsv*Vwx)ex#c*V#c#d!1S#d;'S*V;'S;=`*s<%lO*V!R!1ZX!a`!cpOr*Vrs(Vsv*Vwx)ex#V*V#V#W!1v#W;'S*V;'S;=`*s<%lO*V!R!1}X!a`!cpOr*Vrs(Vsv*Vwx)ex#h*V#h#i!2j#i;'S*V;'S;=`*s<%lO*V!R!2qX!a`!cpOr*Vrs(Vsv*Vwx)ex#m*V#m#n!3^#n;'S*V;'S;=`*s<%lO*V!R!3eX!a`!cpOr*Vrs(Vsv*Vwx)ex#d*V#d#e!4Q#e;'S*V;'S;=`*s<%lO*V!R!4XX!a`!cpOr*Vrs(Vsv*Vwx)ex#X*V#X#Y!+q#Y;'S*V;'S;=`*s<%lO*V!R!4{Y!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!a!4t!a!b!:]!b;'S!4t;'S;=`!;r<%lO!4tq!5pV!cpOv!5kvx!6Vx!a!5k!a!b!7W!b;'S!5k;'S;=`!8V<%lO!5kP!6YTO!a!6V!a!b!6i!b;'S!6V;'S;=`!7Q<%lO!6VP!6lTO!`!6V!`!a!6{!a;'S!6V;'S;=`!7Q<%lO!6VP!7QOxPP!7TP;=`<%l!6Vq!7]V!cpOv!5kvx!6Vx!`!5k!`!a!7r!a;'S!5k;'S;=`!8V<%lO!5kq!7yS!cpxPOv(Vx;'S(V;'S;=`(h<%lO(Vq!8YP;=`<%l!5ka!8bX!a`Or!8]rs!6Vsv!8]vw!6Vw!a!8]!a!b!8}!b;'S!8];'S;=`!:V<%lO!8]a!9SX!a`Or!8]rs!6Vsv!8]vw!6Vw!`!8]!`!a!9o!a;'S!8];'S;=`!:V<%lO!8]a!9vT!a`xPOr)esv)ew;'S)e;'S;=`)y<%lO)ea!:YP;=`<%l!8]!R!:dY!a`!cpOr!4trs!5ksv!4tvw!6Vwx!8]x!`!4t!`!a!;S!a;'S!4t;'S;=`!;r<%lO!4t!R!;]V!a`!cpxPOr*Vrs(Vsv*Vwx)ex;'S*V;'S;=`*s<%lO*V!R!;uP;=`<%l!4t!V! {
- let s = e.type.id
- if (28 == s) return xce(e, t, n)
- if (31 == s) return xce(e, t, r)
- if (34 == s) return xce(e, t, a)
- if (20 == s && o.length) {
- let n,
- r = e.node,
- a = r.firstChild,
- i = a && wce(a, t)
- if (i)
- for (let e of o)
- if (e.tag == i && (!e.attrs || e.attrs(n || (n = Oce(a, t))))) {
- let t = r.lastChild,
- n = 37 == t.type.id ? t.from : r.to
- if (n > a.to) return { parser: e.parser, overlay: [{ from: a.to, to: n }] }
- }
- }
- if (i && s == Wle) {
- let n,
- r = e.node
- if ((n = r.firstChild)) {
- let e = i[t.read(n.from, n.to)]
- if (e)
- for (let n of e) {
- if (n.tagName && n.tagName != wce(r.parent, t)) continue
- let e = r.lastChild
- if (e.type.id == Yle) {
- let t = e.from + 1,
- r = e.lastChild,
- a = e.to - (r && r.isError ? 0 : 1)
- if (a > t) return { parser: n.parser, overlay: [{ from: t, to: a }] }
- } else if (e.type.id == Gle) return { parser: n.parser, overlay: [{ from: e.from, to: e.to }] }
- }
- }
- }
- return null
- }),
- (e, t, n, r) => new Oae(e, s, t, n, r)
- )
- var s
- }
- const _ce = [
- 9, 10, 11, 12, 13, 32, 133, 160, 5760, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8232,
- 8233, 8239, 8287, 12288,
- ],
- Sce = new vle({ start: !1, shift: (e, t) => (5 == t || 6 == t || 315 == t ? e : 316 == t), strict: !1 }),
- Ece = new ole(
- (e, t) => {
- let { next: n } = e
- ;(125 == n || -1 == n || t.context) && e.acceptToken(313)
- },
- { contextual: !0, fallback: !0 },
- ),
- Tce = new ole(
- (e, t) => {
- let n,
- { next: r } = e
- _ce.indexOf(r) > -1 ||
- ((47 != r || (47 != (n = e.peek(1)) && 42 != n)) &&
- (125 == r || 59 == r || -1 == r || t.context || e.acceptToken(312)))
- },
- { contextual: !0 },
- ),
- Ace = new ole(
- (e, t) => {
- let { next: n } = e
- if (43 == n || 45 == n) {
- if ((e.advance(), n == e.next)) {
- e.advance()
- let n = !t.context && t.canShift(1)
- e.acceptToken(n ? 1 : 2)
- }
- } else
- 63 == n && 46 == e.peek(1) && (e.advance(), e.advance(), (e.next < 48 || e.next > 57) && e.acceptToken(3))
- },
- { contextual: !0 },
- )
- function Cce(e, t) {
- return (e >= 65 && e <= 90) || (e >= 97 && e <= 122) || 95 == e || e >= 192 || (!t && e >= 48 && e <= 57)
- }
- const Pce = new ole((e, t) => {
- if (60 != e.next || !t.dialectEnabled(0)) return
- if ((e.advance(), 47 == e.next)) return
- let n = 0
- for (; _ce.indexOf(e.next) > -1; ) e.advance(), n++
- if (Cce(e.next, !0)) {
- for (e.advance(), n++; Cce(e.next, !1); ) e.advance(), n++
- for (; _ce.indexOf(e.next) > -1; ) e.advance(), n++
- if (44 == e.next) return
- for (let t = 0; ; t++) {
- if (7 == t) {
- if (!Cce(e.next, !0)) return
- break
- }
- if (e.next != "extends".charCodeAt(t)) break
- e.advance(), n++
- }
- }
- e.acceptToken(4, -n)
- }),
- Dce = Nae({
- "get set async static": eoe.modifier,
- "for while do if else switch try catch finally return throw break continue default case": eoe.controlKeyword,
- "in of await yield void typeof delete instanceof": eoe.operatorKeyword,
- "let var const using function class extends": eoe.definitionKeyword,
- "import export from": eoe.moduleKeyword,
- "with debugger as new": eoe.keyword,
- TemplateString: eoe.special(eoe.string),
- super: eoe.atom,
- BooleanLiteral: eoe.bool,
- this: eoe.self,
- null: eoe.null,
- Star: eoe.modifier,
- VariableName: eoe.variableName,
- "CallExpression/VariableName TaggedTemplateExpression/VariableName": eoe.function(eoe.variableName),
- VariableDefinition: eoe.definition(eoe.variableName),
- Label: eoe.labelName,
- PropertyName: eoe.propertyName,
- PrivatePropertyName: eoe.special(eoe.propertyName),
- "CallExpression/MemberExpression/PropertyName": eoe.function(eoe.propertyName),
- "FunctionDeclaration/VariableDefinition": eoe.function(eoe.definition(eoe.variableName)),
- "ClassDeclaration/VariableDefinition": eoe.definition(eoe.className),
- PropertyDefinition: eoe.definition(eoe.propertyName),
- PrivatePropertyDefinition: eoe.definition(eoe.special(eoe.propertyName)),
- UpdateOp: eoe.updateOperator,
- "LineComment Hashbang": eoe.lineComment,
- BlockComment: eoe.blockComment,
- Number: eoe.number,
- String: eoe.string,
- Escape: eoe.escape,
- ArithOp: eoe.arithmeticOperator,
- LogicOp: eoe.logicOperator,
- BitOp: eoe.bitwiseOperator,
- CompareOp: eoe.compareOperator,
- RegExp: eoe.regexp,
- Equals: eoe.definitionOperator,
- Arrow: eoe.function(eoe.punctuation),
- ": Spread": eoe.punctuation,
- "( )": eoe.paren,
- "[ ]": eoe.squareBracket,
- "{ }": eoe.brace,
- "InterpolationStart InterpolationEnd": eoe.special(eoe.brace),
- ".": eoe.derefOperator,
- ", ;": eoe.separator,
- "@": eoe.meta,
- TypeName: eoe.typeName,
- TypeDefinition: eoe.definition(eoe.typeName),
- "type enum interface implements namespace module declare": eoe.definitionKeyword,
- "abstract global Privacy readonly override": eoe.modifier,
- "is keyof unique infer": eoe.operatorKeyword,
- JSXAttributeValue: eoe.attributeValue,
- JSXText: eoe.content,
- "JSXStartTag JSXStartCloseTag JSXSelfCloseEndTag JSXEndTag": eoe.angleBracket,
- "JSXIdentifier JSXNameSpacedName": eoe.tagName,
- "JSXAttribute/JSXIdentifier JSXAttribute/JSXNameSpacedName": eoe.attributeName,
- "JSXBuiltin/JSXIdentifier": eoe.standard(eoe.tagName),
- }),
- Rce = {
- __proto__: null,
- export: 20,
- as: 25,
- from: 33,
- default: 36,
- async: 41,
- function: 42,
- extends: 54,
- this: 58,
- true: 66,
- false: 66,
- null: 78,
- void: 82,
- typeof: 86,
- super: 102,
- new: 136,
- delete: 148,
- yield: 157,
- await: 161,
- class: 166,
- public: 229,
- private: 229,
- protected: 229,
- readonly: 231,
- instanceof: 250,
- satisfies: 253,
- in: 254,
- const: 256,
- import: 290,
- keyof: 345,
- unique: 349,
- infer: 355,
- is: 391,
- abstract: 411,
- implements: 413,
- type: 415,
- let: 418,
- var: 420,
- using: 423,
- interface: 429,
- enum: 433,
- namespace: 439,
- module: 441,
- declare: 445,
- global: 449,
- for: 468,
- of: 477,
- while: 480,
- with: 484,
- do: 488,
- if: 492,
- else: 494,
- switch: 498,
- case: 504,
- try: 510,
- catch: 514,
- finally: 518,
- return: 522,
- throw: 526,
- break: 530,
- continue: 534,
- debugger: 538,
- },
- Nce = {
- __proto__: null,
- async: 123,
- get: 125,
- set: 127,
- declare: 189,
- public: 191,
- private: 191,
- protected: 191,
- static: 193,
- abstract: 195,
- override: 197,
- readonly: 203,
- accessor: 205,
- new: 395,
- },
- $ce = { __proto__: null, "<": 187 },
- Ice = yle.deserialize({
- version: 14,
- states:
- "$@QO%TQ^OOO%[Q^OOO'_Q`OOP(lOWOOO*zQ?NdO'#CiO+RO!bO'#CjO+aO#tO'#CjO+oO!0LbO'#D^O.QQ^O'#DdO.bQ^O'#DoO%[Q^O'#DwO0fQ^O'#EPOOQ?Mr'#EX'#EXO1PQWO'#EUOOQO'#Em'#EmOOQO'#Ih'#IhO1XQWO'#GpO1dQWO'#ElO1iQWO'#ElO3hQ?NdO'#JmO6[Q?NdO'#JnO6uQWO'#F[O6zQ&jO'#FsOOQ?Mr'#Fe'#FeO7VO,YO'#FeO7eQ7[O'#FzO9RQWO'#FyOOQ?Mr'#Jn'#JnOOQ?Mp'#Jm'#JmO9WQWO'#GtOOQU'#KZ'#KZO9cQWO'#IUO9hQ?MxO'#IVOOQU'#JZ'#JZOOQU'#IZ'#IZQ`Q^OOO`Q^OOO9pQMnO'#DsO9wQ^O'#D{O:OQ^O'#D}O9^QWO'#GpO:VQ7[O'#CoO:eQWO'#EkO:pQWO'#EvO:uQ7[O'#FdO;dQWO'#GpOOQO'#K['#K[O;iQWO'#K[O;wQWO'#GxO;wQWO'#GyO;wQWO'#G{O9^QWO'#HOOVQWO'#CeO>gQWO'#H_O>oQWO'#HeO>oQWO'#HgO`Q^O'#HiO>oQWO'#HkO>oQWO'#HnO>tQWO'#HtO>yQ?MyO'#HzO%[Q^O'#H|O?UQ?MyO'#IOO?aQ?MyO'#IQO9hQ?MxO'#ISO?lQ?NdO'#CiO@nQ`O'#DiQOQWOOO%[Q^O'#D}OAUQWO'#EQO:VQ7[O'#EkOAaQWO'#EkOAlQpO'#FdOOQU'#Cg'#CgOOQ?Mp'#Dn'#DnOOQ?Mp'#Jq'#JqO%[Q^O'#JqOOQO'#Jt'#JtOOQO'#Id'#IdOBlQ`O'#EdOOQ?Mp'#Ec'#EcOOQ?Mp'#Jx'#JxOChQ?NQO'#EdOCrQ`O'#ETOOQO'#Js'#JsODWQ`O'#JtOEeQ`O'#ETOCrQ`O'#EdPErO#@ItO'#CbPOOO)CDx)CDxOOOO'#I['#I[OE}O!bO,59UOOQ?Mr,59U,59UOOOO'#I]'#I]OF]O#tO,59UO%[Q^O'#D`OOOO'#I_'#I_OFkO!0LbO,59xOOQ?Mr,59x,59xOFyQ^O'#I`OG^QWO'#JoOI]QrO'#JoO+}Q^O'#JoOIdQWO,5:OOIzQWO'#EmOJXQWO'#KOOJdQWO'#J}OJdQWO'#J}OJlQWO,5;ZOJqQWO'#J|OOQ?Mv,5:Z,5:ZOJxQ^O,5:ZOLvQ?NdO,5:cOMgQWO,5:kONQQ?MxO'#J{ONXQWO'#JzO9WQWO'#JzONmQWO'#JzONuQWO,5;YONzQWO'#JzO!#PQrO'#JnOOQ?Mr'#Ci'#CiO%[Q^O'#EPO!#oQrO,5:pOOQQ'#Ju'#JuOOQO-EpOOQU'#Jc'#JcOOQU,5>q,5>qOOQU-EtQWO'#HTO9^QWO'#HVO!DgQWO'#HVO:VQ7[O'#HXO!DlQWO'#HXOOQU,5=m,5=mO!DqQWO'#HYO!ESQWO'#CoO!EXQWO,59PO!EcQWO,59PO!GhQ^O,59POOQU,59P,59PO!GxQ?MxO,59PO%[Q^O,59PO!JTQ^O'#HaOOQU'#Hb'#HbOOQU'#Hc'#HcO`Q^O,5=yO!JkQWO,5=yO`Q^O,5>PO`Q^O,5>RO!JpQWO,5>TO`Q^O,5>VO!JuQWO,5>YO!JzQ^O,5>`OOQU,5>f,5>fO%[Q^O,5>fO9hQ?MxO,5>hOOQU,5>j,5>jO# UQWO,5>jOOQU,5>l,5>lO# UQWO,5>lOOQU,5>n,5>nO# rQ`O'#D[O%[Q^O'#JqO# |Q`O'#JqO#!kQ`O'#DjO#!|Q`O'#DjO#%_Q^O'#DjO#%fQWO'#JpO#%nQWO,5:TO#%sQWO'#EqO#&RQWO'#KPO#&ZQWO,5;[O#&`Q`O'#DjO#&mQ`O'#ESOOQ?Mr,5:l,5:lO%[Q^O,5:lO#&tQWO,5:lO>tQWO,5;VO!A}Q`O,5;VO!BVQ7[O,5;VO:VQ7[O,5;VO#&|QWO,5@]O#'RQ(CYO,5:pOOQO-EzO+}Q^O,5>zOOQO,5?Q,5?QO#*ZQ^O'#I`OOQO-E<^-E<^O#*hQWO,5@ZO#*pQrO,5@ZO#*wQWO,5@iOOQ?Mr1G/j1G/jO%[Q^O,5@jO#+PQWO'#IfOOQO-EuQ?NdO1G0|O#>|Q?NdO1G0|O#AZQ07bO'#CiO#CUQ07bO1G1_O#C]Q07bO'#JnO#CpQ?NdO,5?WOOQ?Mp-EoQWO1G3oO$3VQ^O1G3qO$7ZQ^O'#HpOOQU1G3t1G3tO$7hQWO'#HvO>tQWO'#HxOOQU1G3z1G3zO$7pQ^O1G3zO9hQ?MxO1G4QOOQU1G4S1G4SOOQ?Mp'#G]'#G]O9hQ?MxO1G4UO9hQ?MxO1G4WO$;wQWO,5@]O!(oQ^O,5;]O9WQWO,5;]O>tQWO,5:UO!(oQ^O,5:UO!A}Q`O,5:UO$;|Q07bO,5:UOOQO,5;],5;]O$tQWO1G0qO!A}Q`O1G0qO!BVQ7[O1G0qOOQ?Mp1G5w1G5wO!ArQ?MxO1G0ZOOQO1G0j1G0jO%[Q^O1G0jO$=aQ?MxO1G0jO$=lQ?MxO1G0jO!A}Q`O1G0ZOCrQ`O1G0ZO$=zQ?MxO1G0jOOQO1G0Z1G0ZO$>`Q?NdO1G0jPOOO-EjQpO,5rQrO1G4fOOQO1G4l1G4lO%[Q^O,5>zO$>|QWO1G5uO$?UQWO1G6TO$?^QrO1G6UO9WQWO,5?QO$?hQ?NdO1G6RO%[Q^O1G6RO$?xQ?MxO1G6RO$@ZQWO1G6QO$@ZQWO1G6QO9WQWO1G6QO$@cQWO,5?TO9WQWO,5?TOOQO,5?T,5?TO$@wQWO,5?TO$(PQWO,5?TOOQO-E[OOQU,5>[,5>[O%[Q^O'#HqO%8mQWO'#HsOOQU,5>b,5>bO9WQWO,5>bOOQU,5>d,5>dOOQU7+)f7+)fOOQU7+)l7+)lOOQU7+)p7+)pOOQU7+)r7+)rO%8rQ`O1G5wO%9WQ07bO1G0wO%9bQWO1G0wOOQO1G/p1G/pO%9mQ07bO1G/pO>tQWO1G/pO!(oQ^O'#DjOOQO,5>{,5>{OOQO-E<_-E<_OOQO,5?R,5?ROOQO-EtQWO7+&]O!A}Q`O7+&]OOQO7+%u7+%uO$>`Q?NdO7+&UOOQO7+&U7+&UO%[Q^O7+&UO%9wQ?MxO7+&UO!ArQ?MxO7+%uO!A}Q`O7+%uO%:SQ?MxO7+&UO%:bQ?NdO7++mO%[Q^O7++mO%:rQWO7++lO%:rQWO7++lOOQO1G4o1G4oO9WQWO1G4oO%:zQWO1G4oOOQQ7+%z7+%zO#&wQWO<|O%[Q^O,5>|OOQO-E<`-E<`O%FwQWO1G5xOOQ?Mr<]OOQU,5>_,5>_O&8uQWO1G3|O9WQWO7+&cO!(oQ^O7+&cOOQO7+%[7+%[O&8zQ07bO1G6UO>tQWO7+%[OOQ?Mr<tQWO<`Q?NdO<pQ?NdO,5?_O&@xQ?NdO7+'zO&CWQrO1G4hO&CbQ07bO7+&^O&EcQ07bO,5=UO&GgQ07bO,5=WO&GwQ07bO,5=UO&HXQ07bO,5=WO&HiQ07bO,59rO&JlQ07bO,5tQWO7+)hO'(OQWO<`Q?NdOAN?[OOQOAN>{AN>{O%[Q^OAN?[OOQO<`Q?NdOG24vO#&wQWOLD,nOOQULD,nLD,nO!&_Q7[OLD,nO'5TQrOLD,nO'5[Q07bO7+'xO'6}Q07bO,5?]O'8}Q07bO,5?_O':}Q07bO7+'zO'kOh%VOk+aO![']O%f+`O~O!d+cOa(WX![(WX'u(WX!Y(WX~Oa%lO![XO'u%lO~Oh%VO!i%cO~Oh%VO!i%cO(O%eO~O!d#vO#h(tO~Ob+nO%g+oO(O+kO(QTO(TUO!Z)TP~O!Y+pO`)SX~O[+tO~O`+uO~O![%}O(O%eO(P!lO`)SP~Oh%VO#]+zO~Oh%VOk+}O![$|O~O![,PO~O},RO![XO~O%k%tO~O!u,WO~Oe,]O~Ob,^O(O#nO(QTO(TUO!Z)RP~Oe%{O~O%g!QO(O&WO~P=RO[,cO`,bO~OPYOQYOSfOdzOeyOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO!fuO!iZO!lYO!mYO!nYO!pvO!uxO!y]O%e}O(QTO(TUO([VO(j[O(yiO~O![!eO!r!gO$V!kO(O!dO~P!EkO`,bOa%lO'u%lO~OPYOQYOSfOd!jOe!iOmkOoYOpkOqkOwkOyYO{YO!PWO!TkO!UkO![!eO!fuO!iZO!lYO!mYO!nYO!pvO!u!hO$V!kO(O!dO(QTO(TUO([VO(j[O(yiO~Oa,hO!rwO#t!OO%i!OO%j!OO%k!OO~P!HTO!i&lO~O&Y,nO~O![,pO~O&k,rO&m,sOP&haQ&haS&haY&haa&had&hae&ham&hao&hap&haq&haw&hay&ha{&ha!P&ha!T&ha!U&ha![&ha!f&ha!i&ha!l&ha!m&ha!n&ha!p&ha!r&ha!u&ha!y&ha#t&ha$V&ha%e&ha%g&ha%i&ha%j&ha%k&ha%n&ha%p&ha%s&ha%t&ha%v&ha&S&ha&Y&ha&[&ha&^&ha&`&ha&c&ha&i&ha&o&ha&q&ha&s&ha&u&ha&w&ha's&ha(O&ha(Q&ha(T&ha([&ha(j&ha(y&ha!Z&ha&a&hab&ha&f&ha~O(O,xO~Oh!bX!Y!OX!Z!OX!d!OX!d!bX!i!bX#]!OX~O!Y!bX!Z!bX~P# ZO!d,}O#],|Oh(eX!Y#eX!Y(eX!Z#eX!Z(eX!d(eX!i(eX~Oh%VO!d-PO!i%cO!Y!^X!Z!^X~Op!nO!P!oO(QTO(TUO(`!mO~OP;POQ;POSfOdkOg'XX!Y'XX~P!+hO!Y.wOg(ka~OSfO![3uO$c3vO~O!Z3zO~Os3{O~P#.aOa$lq!Y$lq'u$lq's$lq!V$lq!h$lqs$lq![$lq%f$lq!d$lq~P!9mO!V3|O~P#.aO})zO!P){O(u%POk'ea(t'ea!Y'ea#]'ea~Og'ea#}'ea~P%)nO})zO!P){Ok'ga(t'ga(u'ga!Y'ga#]'ga~Og'ga#}'ga~P%*aO(m$YO~P#.aO!VfX!V$xX!YfX!Y$xX!d%PX#]fX~P!/gO(OQ#>g#@V#@e#@l#BR#Ba#C|#D[#Db#Dh#Dn#Dx#EO#EU#E`#Er#ExPPPPPPPPPP#FOPPPPPPP#Fs#Iz#KZ#Kb#KjPPP$!sP$!|$%t$,^$,a$,d$-P$-S$-Z$-cP$-i$-lP$.Y$.^$/U$0d$0i$1PPP$1U$1[$1`P$1c$1g$1k$2a$2x$3a$3e$3h$3k$3q$3t$3x$3|R!|RoqOXst!Z#d%k&o&q&r&t,k,p1|2PY!vQ']-]1a5eQ%rvQ%zyQ&R|Q&g!VS'T!e-TQ'c!iS'i!r!yU*e$|*V*jQ+i%{Q+v&TQ,[&aQ-Z'[Q-e'dQ-m'jQ0R*lQ1k,]R;v;T%QdOPWXYZstuvw!Z!`!g!o#S#W#Z#d#o#u#x#{$O$P$Q$R$S$T$U$V$W$X$_$a$e%k%r&P&h&k&o&q&r&t&x'Q'_'o(P(R(X(`(t(v(z)y+R+V,h,k,p-a-i-w-}.l.s/f0a0g0v1d1t1u1w1y1|2P2R2r2x3^5b5m5}6O6R6f8R8X8h8rS#q];Q!r)Z$Z$n'U)o,|-P.}2b3u5`6]9h9y;P;S;T;W;X;Y;Z;[;];^;_;`;a;b;c;d;f;i;v;x;y;{ < TypeParamList TypeDefinition extends ThisType this LiteralType ArithOp Number BooleanLiteral TemplateType InterpolationEnd Interpolation InterpolationStart NullType null VoidType void TypeofType typeof MemberExpression . PropertyName [ TemplateString Escape Interpolation super RegExp ] ArrayExpression Spread , } { ObjectExpression Property async get set PropertyDefinition Block : NewTarget new NewExpression ) ( ArgList UnaryExpression delete LogicOp BitOp YieldExpression yield AwaitExpression await ParenthesizedExpression ClassExpression class ClassBody MethodDeclaration Decorator @ MemberExpression PrivatePropertyName CallExpression TypeArgList CompareOp < declare Privacy static abstract override PrivatePropertyDefinition PropertyDeclaration readonly accessor Optional TypeAnnotation Equals StaticBlock FunctionExpression ArrowFunction ParamList ParamList ArrayPattern ObjectPattern PatternProperty Privacy readonly Arrow MemberExpression BinaryExpression ArithOp ArithOp ArithOp ArithOp BitOp CompareOp instanceof satisfies in const CompareOp BitOp BitOp BitOp LogicOp LogicOp ConditionalExpression LogicOp LogicOp AssignmentExpression UpdateOp PostfixExpression CallExpression InstantiationExpression TaggedTemplateExpression DynamicImport import ImportMeta JSXElement JSXSelfCloseEndTag JSXSelfClosingTag JSXIdentifier JSXBuiltin JSXIdentifier JSXNamespacedName JSXMemberExpression JSXSpreadAttribute JSXAttribute JSXAttributeValue JSXEscape JSXEndTag JSXOpenTag JSXFragmentTag JSXText JSXEscape JSXStartCloseTag JSXCloseTag PrefixCast ArrowFunction TypeParamList SequenceExpression InstantiationExpression KeyofType keyof UniqueType unique ImportType InferredType infer TypeName ParenthesizedType FunctionSignature ParamList NewSignature IndexedType TupleType Label ArrayType ReadonlyType ObjectType MethodType PropertyType IndexSignature PropertyDefinition CallSignature TypePredicate is NewSignature new UnionType LogicOp IntersectionType LogicOp ConditionalType ParameterizedType ClassDeclaration abstract implements type VariableDeclaration let var using TypeAliasDeclaration InterfaceDeclaration interface EnumDeclaration enum EnumBody NamespaceDeclaration namespace module AmbientDeclaration declare GlobalDeclaration global ClassDeclaration ClassBody AmbientFunctionDeclaration ExportGroup VariableName VariableName ImportDeclaration ImportGroup ForStatement for ForSpec ForInSpec ForOfSpec of WhileStatement while WithStatement with DoStatement do IfStatement if else SwitchStatement switch SwitchBody CaseLabel case DefaultLabel TryStatement try CatchClause catch FinallyClause finally ReturnStatement return ThrowStatement throw BreakStatement break ContinueStatement continue DebuggerStatement debugger LabeledStatement ExpressionStatement SingleExpression SingleClassItem",
- maxTerm: 376,
- context: Sce,
- nodeProps: [
- ["isolate", -8, 5, 6, 14, 34, 36, 48, 50, 52, ""],
- [
- "group",
- -26,
- 9,
- 17,
- 19,
- 65,
- 204,
- 208,
- 212,
- 213,
- 215,
- 218,
- 221,
- 231,
- 233,
- 239,
- 241,
- 243,
- 245,
- 248,
- 254,
- 260,
- 262,
- 264,
- 266,
- 268,
- 270,
- 271,
- "Statement",
- -34,
- 13,
- 14,
- 29,
- 32,
- 33,
- 39,
- 48,
- 51,
- 52,
- 54,
- 59,
- 67,
- 69,
- 73,
- 77,
- 79,
- 81,
- 82,
- 107,
- 108,
- 117,
- 118,
- 135,
- 138,
- 140,
- 141,
- 142,
- 143,
- 144,
- 146,
- 147,
- 166,
- 167,
- 169,
- "Expression",
- -23,
- 28,
- 30,
- 34,
- 38,
- 40,
- 42,
- 171,
- 173,
- 175,
- 176,
- 178,
- 179,
- 180,
- 182,
- 183,
- 184,
- 186,
- 187,
- 188,
- 198,
- 200,
- 202,
- 203,
- "Type",
- -3,
- 85,
- 100,
- 106,
- "ClassItem",
- ],
- ["openedBy", 23, "<", 35, "InterpolationStart", 53, "[", 57, "{", 70, "(", 159, "JSXStartCloseTag"],
- ["closedBy", 24, ">", 37, "InterpolationEnd", 47, "]", 58, "}", 71, ")", 164, "JSXEndTag"],
- ],
- propSources: [Dce],
- skippedNodes: [0, 5, 6, 274],
- repeatNodeCount: 37,
- tokenData:
- "$Fq07[R!bOX%ZXY+gYZ-yZ[+g[]%Z]^.c^p%Zpq+gqr/mrs3cst:_tuEruvJSvwLkwx! Yxy!'iyz!(sz{!)}{|!,q|}!.O}!O!,q!O!P!/Y!P!Q!9j!Q!R#:O!R![#<_![!]#I_!]!^#Jk!^!_#Ku!_!`$![!`!a$$v!a!b$*T!b!c$,r!c!}Er!}#O$-|#O#P$/W#P#Q$4o#Q#R$5y#R#SEr#S#T$7W#T#o$8b#o#p$x#r#s$@U#s$f%Z$f$g+g$g#BYEr#BY#BZ$A`#BZ$ISEr$IS$I_$A`$I_$I|Er$I|$I}$Dk$I}$JO$Dk$JO$JTEr$JT$JU$A`$JU$KVEr$KV$KW$A`$KW&FUEr&FU&FV$A`&FV;'SEr;'S;=`I|<%l?HTEr?HT?HU$A`?HUOEr(n%d_$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z&j&hT$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c&j&zP;=`<%l&c'|'U]$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!b(SU(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!b(iP;=`<%l'}'|(oP;=`<%l&}'[(y]$h&j(RpOY(rYZ&cZr(rrs&cs!^(r!^!_)r!_#O(r#O#P&c#P#o(r#o#p)r#p;'S(r;'S;=`*a<%lO(rp)wU(RpOY)rZr)rs#O)r#P;'S)r;'S;=`*Z<%lO)rp*^P;=`<%l)r'[*dP;=`<%l(r#S*nX(Rp(U!bOY*gZr*grs'}sw*gwx)rx#O*g#P;'S*g;'S;=`+Z<%lO*g#S+^P;=`<%l*g(n+dP;=`<%l%Z07[+rq$h&j(Rp(U!b'w0/lOX%ZXY+gYZ&cZ[+g[p%Zpq+gqr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p$f%Z$f$g+g$g#BY%Z#BY#BZ+g#BZ$IS%Z$IS$I_+g$I_$JT%Z$JT$JU+g$JU$KV%Z$KV$KW+g$KW&FU%Z&FU&FV+g&FV;'S%Z;'S;=`+a<%l?HT%Z?HT?HU+g?HUO%Z07[.ST(S#S$h&j'x0/lO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c07[.n_$h&j(Rp(U!b'x0/lOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)3p/x`$h&j!m),Q(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`0z!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW1V`#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_!`2X!`#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z(KW2d_#u(Ch$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'At3l_(Q':f$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k(^4r_$h&j(U!bOY4kYZ5qZr4krs7nsw4kwx5qx!^4k!^!_8p!_#O4k#O#P5q#P#o4k#o#p8p#p;'S4k;'S;=`:X<%lO4k&z5vX$h&jOr5qrs6cs!^5q!^!_6y!_#o5q#o#p6y#p;'S5q;'S;=`7h<%lO5q&z6jT$c`$h&jO!^&c!_#o&c#p;'S&c;'S;=`&w<%lO&c`6|TOr6yrs7]s;'S6y;'S;=`7b<%lO6y`7bO$c``7eP;=`<%l6y&z7kP;=`<%l5q(^7w]$c`$h&j(U!bOY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}!r8uZ(U!bOY8pYZ6yZr8prs9hsw8pwx6yx#O8p#O#P6y#P;'S8p;'S;=`:R<%lO8p!r9oU$c`(U!bOY'}Zw'}x#O'}#P;'S'};'S;=`(f<%lO'}!r:UP;=`<%l8p(^:[P;=`<%l4k%9[:hh$h&j(Rp(U!bOY%ZYZ&cZq%Zqr`#P#o`x!^=^!^!_?q!_#O=^#O#P>`#P#o=^#o#p?q#p;'S=^;'S;=`@h<%lO=^&n>gXWS$h&jOY>`YZ&cZ!^>`!^!_?S!_#o>`#o#p?S#p;'S>`;'S;=`?k<%lO>`S?XSWSOY?SZ;'S?S;'S;=`?e<%lO?SS?hP;=`<%l?S&n?nP;=`<%l>`!f?xWWS(U!bOY?qZw?qwx?Sx#O?q#O#P?S#P;'S?q;'S;=`@b<%lO?q!f@eP;=`<%l?q(Q@kP;=`<%l=^'`@w]WS$h&j(RpOY@nYZ&cZr@nrs>`s!^@n!^!_Ap!_#O@n#O#P>`#P#o@n#o#pAp#p;'S@n;'S;=`Bg<%lO@ntAwWWS(RpOYApZrAprs?Ss#OAp#O#P?S#P;'SAp;'S;=`Ba<%lOAptBdP;=`<%lAp'`BjP;=`<%l@n#WBvYWS(Rp(U!bOYBmZrBmrs?qswBmwxApx#OBm#O#P?S#P;'SBm;'S;=`Cf<%lOBm#WCiP;=`<%lBm(rCoP;=`<%l^!Q^$h&j!U7`OY!=yYZ&cZ!P!=y!P!Q!>|!Q!^!=y!^!_!@c!_!}!=y!}#O!CW#O#P!Dy#P#o!=y#o#p!@c#p;'S!=y;'S;=`!Ek<%lO!=y|#X#Z&c#Z#[!>|#[#]&c#]#^!>|#^#a&c#a#b!>|#b#g&c#g#h!>|#h#i&c#i#j!>|#j#k!>|#k#m&c#m#n!>|#n#o&c#p;'S&c;'S;=`&w<%lO&c7`!@hX!U7`OY!@cZ!P!@c!P!Q!AT!Q!}!@c!}#O!Ar#O#P!Bq#P;'S!@c;'S;=`!CQ<%lO!@c7`!AYW!U7`#W#X!AT#Z#[!AT#]#^!AT#a#b!AT#g#h!AT#i#j!AT#j#k!AT#m#n!AT7`!AuVOY!ArZ#O!Ar#O#P!B[#P#Q!@c#Q;'S!Ar;'S;=`!Bk<%lO!Ar7`!B_SOY!ArZ;'S!Ar;'S;=`!Bk<%lO!Ar7`!BnP;=`<%l!Ar7`!BtSOY!@cZ;'S!@c;'S;=`!CQ<%lO!@c7`!CTP;=`<%l!@c^!Ezl$h&j(U!b!U7`OY&}YZ&cZw&}wx&cx!^&}!^!_'}!_#O&}#O#P&c#P#W&}#W#X!Eq#X#Z&}#Z#[!Eq#[#]&}#]#^!Eq#^#a&}#a#b!Eq#b#g&}#g#h!Eq#h#i&}#i#j!Eq#j#k!Eq#k#m&}#m#n!Eq#n#o&}#o#p'}#p;'S&};'S;=`(l<%lO&}8r!GyZ(U!b!U7`OY!GrZw!Grwx!@cx!P!Gr!P!Q!Hl!Q!}!Gr!}#O!JU#O#P!Bq#P;'S!Gr;'S;=`!J|<%lO!Gr8r!Hse(U!b!U7`OY'}Zw'}x#O'}#P#W'}#W#X!Hl#X#Z'}#Z#[!Hl#[#]'}#]#^!Hl#^#a'}#a#b!Hl#b#g'}#g#h!Hl#h#i'}#i#j!Hl#j#k!Hl#k#m'}#m#n!Hl#n;'S'};'S;=`(f<%lO'}8r!JZX(U!bOY!JUZw!JUwx!Arx#O!JU#O#P!B[#P#Q!Gr#Q;'S!JU;'S;=`!Jv<%lO!JU8r!JyP;=`<%l!JU8r!KPP;=`<%l!Gr>^!KZ^$h&j(U!bOY!KSYZ&cZw!KSwx!CWx!^!KS!^!_!JU!_#O!KS#O#P!DR#P#Q!^!LYP;=`<%l!KS>^!L`P;=`<%l!_#c#d#Bq#d#l%Z#l#m#Es#m#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#>j_$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#?rd$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#A]f$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!R#AQ!R!S#AQ!S!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#AQ#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Bzc$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Dbe$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q!Y#DV!Y!^%Z!^!_*g!_#O%Z#O#P&c#P#R%Z#R#S#DV#S#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#E|g$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z'Ad#Gpi$h&j(Rp(U!bp'9tOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!Q%Z!Q![#Ge![!^%Z!^!_*g!_!c%Z!c!i#Ge!i#O%Z#O#P&c#P#R%Z#R#S#Ge#S#T%Z#T#Z#Ge#Z#b%Z#b#c#>_#c#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z*)x#Il_!d$b$h&j#})Lv(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z)[#Jv_al$h&j(Rp(U!bOY%ZYZ&cZr%Zrs&}sw%Zwx(rx!^%Z!^!_*g!_#O%Z#O#P&c#P#o%Z#o#p*g#p;'S%Z;'S;=`+a<%lO%Z04f#LS^h#)`#O- Rce[e] || -1 },
- { term: 338, get: (e) => Nce[e] || -1 },
- { term: 92, get: (e) => $ce[e] || -1 },
- ],
- tokenPrec: 14749,
- }),
- Mce = [
- Sse("function ${name}(${params}) {\n\t${}\n}", { label: "function", detail: "definition", type: "keyword" }),
- Sse("for (let ${index} = 0; ${index} < ${bound}; ${index}++) {\n\t${}\n}", {
- label: "for",
- detail: "loop",
- type: "keyword",
- }),
- Sse("for (let ${name} of ${collection}) {\n\t${}\n}", { label: "for", detail: "of loop", type: "keyword" }),
- Sse("do {\n\t${}\n} while (${})", { label: "do", detail: "loop", type: "keyword" }),
- Sse("while (${}) {\n\t${}\n}", { label: "while", detail: "loop", type: "keyword" }),
- Sse("try {\n\t${}\n} catch (${error}) {\n\t${}\n}", { label: "try", detail: "/ catch block", type: "keyword" }),
- Sse("if (${}) {\n\t${}\n}", { label: "if", detail: "block", type: "keyword" }),
- Sse("if (${}) {\n\t${}\n} else {\n\t${}\n}", { label: "if", detail: "/ else block", type: "keyword" }),
- Sse("class ${name} {\n\tconstructor(${params}) {\n\t\t${}\n\t}\n}", {
- label: "class",
- detail: "definition",
- type: "keyword",
- }),
- Sse('import {${names}} from "${module}"\n${}', { label: "import", detail: "named", type: "keyword" }),
- Sse('import ${name} from "${module}"\n${}', { label: "import", detail: "default", type: "keyword" }),
- ],
- Lce = Mce.concat([
- Sse("interface ${name} {\n\t${}\n}", { label: "interface", detail: "definition", type: "keyword" }),
- Sse("type ${name} = ${type}", { label: "type", detail: "definition", type: "keyword" }),
- Sse("enum ${name} {\n\t${}\n}", { label: "enum", detail: "definition", type: "keyword" }),
- ]),
- Qce = new pae(),
- Bce = new Set([
- "Script",
- "Block",
- "FunctionExpression",
- "FunctionDeclaration",
- "ArrowFunction",
- "MethodDeclaration",
- "ForStatement",
- ])
- function jce(e) {
- return (t, n) => {
- let r = t.node.getChild("VariableDefinition")
- return r && n(r, e), !0
- }
- }
- const Uce = ["FunctionDeclaration"],
- Fce = {
- FunctionDeclaration: jce("function"),
- ClassDeclaration: jce("class"),
- ClassExpression: () => !0,
- EnumDeclaration: jce("constant"),
- TypeAliasDeclaration: jce("type"),
- NamespaceDeclaration: jce("namespace"),
- VariableDefinition(e, t) {
- e.matchContext(Uce) || t(e, "variable")
- },
- TypeDefinition(e, t) {
- t(e, "type")
- },
- __proto__: null,
- }
- function zce(e, t) {
- let n = Qce.get(t)
- if (n) return n
- let r = [],
- a = !0
- function o(t, n) {
- let a = e.sliceString(t.from, t.to)
- r.push({ label: a, type: n })
- }
- return (
- t.cursor(Hre.IncludeAnonymous).iterate((t) => {
- if (a) a = !1
- else if (t.name) {
- let e = Fce[t.name]
- if ((e && e(t, o)) || Bce.has(t.name)) return !1
- } else if (t.to - t.from > 8192) {
- for (let n of zce(e, t.node)) r.push(n)
- return !1
- }
- }),
- Qce.set(t, r),
- r
- )
- }
- const qce = /^[\w$\xa1-\uffff][\w$\d\xa1-\uffff]*$/,
- Zce = [
- "TemplateString",
- "String",
- "RegExp",
- "LineComment",
- "BlockComment",
- "VariableDefinition",
- "TypeDefinition",
- "Label",
- "PropertyDefinition",
- "PropertyName",
- "PrivatePropertyDefinition",
- "PrivatePropertyName",
- ".",
- "?.",
- ]
- function Hce(e) {
- let t = loe(e.state).resolveInner(e.pos, -1)
- if (Zce.indexOf(t.name) > -1) return null
- let n = "VariableName" == t.name || (t.to - t.from < 20 && qce.test(e.state.sliceDoc(t.from, t.to)))
- if (!n && !e.explicit) return null
- let r = []
- for (let n = t; n; n = n.parent) Bce.has(n.name) && (r = r.concat(zce(e.state.doc, n)))
- return { options: r, from: n ? t.from : e.pos, validFor: qce }
- }
- const Vce = soe.define({
- name: "javascript",
- parser: Ice.configure({
- props: [
- Soe.add({
- IfStatement: Noe({ except: /^\s*({|else\b)/ }),
- TryStatement: Noe({ except: /^\s*({|catch\b|finally\b)/ }),
- LabeledStatement: (e) => e.baseIndent,
- SwitchBody: (e) => {
- let t = e.textAfter,
- n = /^\s*\}/.test(t),
- r = /^\s*(case|default)\b/.test(t)
- return e.baseIndent + (n ? 0 : r ? 1 : 2) * e.unit
- },
- Block: Doe({ closing: "}" }),
- ArrowFunction: (e) => e.baseIndent + e.unit,
- "TemplateString BlockComment": () => null,
- "Statement Property": Noe({ except: /^{/ }),
- JSXElement(e) {
- let t = /^\s*<\//.test(e.textAfter)
- return e.lineIndent(e.node.from) + (t ? 0 : e.unit)
- },
- JSXEscape(e) {
- let t = /\s*\}/.test(e.textAfter)
- return e.lineIndent(e.node.from) + (t ? 0 : e.unit)
- },
- "JSXOpenTag JSXSelfClosingTag": (e) => e.column(e.node.from) + e.unit,
- }),
- $oe.add({
- "Block ClassBody SwitchBody EnumBody ObjectExpression ArrayExpression ObjectType": Ioe,
- BlockComment: (e) => ({ from: e.from + 2, to: e.to - 2 }),
- }),
- ],
- }),
- languageData: {
- closeBrackets: { brackets: ["(", "[", "{", "'", '"', "`"] },
- commentTokens: { line: "//", block: { open: "/*", close: "*/" } },
- indentOnInput: /^\s*(?:case |default:|\{|\}|<\/)$/,
- wordChars: "$",
- },
- }),
- Wce = {
- test: (e) => /^JSX/.test(e.name),
- facet: roe({ commentTokens: { block: { open: "{/*", close: "*/}" } } }),
- },
- Xce = Vce.configure({ dialect: "ts" }, "typescript"),
- Yce = Vce.configure({ dialect: "jsx", props: [aoe.add((e) => (e.isTop ? [Wce] : void 0))] }),
- Gce = Vce.configure({ dialect: "jsx ts", props: [aoe.add((e) => (e.isTop ? [Wce] : void 0))] }, "typescript")
- let Kce = (e) => ({ label: e, type: "keyword" })
- const Jce =
- "break case const continue default delete export extends false finally in instanceof let new return static super switch this throw true typeof var yield"
- .split(" ")
- .map(Kce),
- ede = Jce.concat(["declare", "implements", "private", "protected", "public"].map(Kce))
- function tde(e = {}) {
- let t = e.jsx ? (e.typescript ? Gce : Yce) : e.typescript ? Xce : Vce,
- n = e.typescript ? Lce.concat(ede) : Mce.concat(Jce)
- return new voe(t, [
- Vce.data.of({
- autocomplete:
- ((r = Zce),
- (a = Aie(n)),
- (e) => {
- for (let t = loe(e.state).resolveInner(e.pos, -1); t; t = t.parent) {
- if (r.indexOf(t.name) > -1) return null
- if (t.type.isTop) break
- }
- return a(e)
- }),
- }),
- Vce.data.of({ autocomplete: Hce }),
- e.jsx ? ade : [],
- ])
- var r, a
- }
- function nde(e, t, n = e.length) {
- for (let r = null == t ? void 0 : t.firstChild; r; r = r.nextSibling)
- if (
- "JSXIdentifier" == r.name ||
- "JSXBuiltin" == r.name ||
- "JSXNamespacedName" == r.name ||
- "JSXMemberExpression" == r.name
- )
- return e.sliceString(r.from, Math.min(r.to, n))
- return ""
- }
- const rde = "object" == typeof navigator && /Android\b/.test(navigator.userAgent),
- ade = Tne.inputHandler.of((e, t, n, r, a) => {
- if (
- (rde ? e.composing : e.compositionStarted) ||
- e.state.readOnly ||
- t != n ||
- (">" != r && "/" != r) ||
- !Vce.isActiveAt(e.state, t, -1)
- )
- return !1
- let o = a(),
- { state: i } = o,
- s = i.changeByRange((e) => {
- var t
- let n,
- { head: a } = e,
- o = loe(i).resolveInner(a - 1, -1)
- if (
- ("JSXStartTag" == o.name && (o = o.parent),
- i.doc.sliceString(a - 1, a) != r || ("JSXAttributeValue" == o.name && o.to > a))
- );
- else {
- if (">" == r && "JSXFragmentTag" == o.name) return { range: e, changes: { from: a, insert: ">" } }
- if ("/" == r && "JSXStartCloseTag" == o.name) {
- let e = o.parent,
- r = e.parent
- if (
- r &&
- e.from == a - 2 &&
- ((n = nde(i.doc, r.firstChild, a)) ||
- "JSXFragmentTag" == (null === (t = r.firstChild) || void 0 === t ? void 0 : t.name))
- ) {
- let e = `${n}>`
- return { range: w7.cursor(a + e.length, -1), changes: { from: a, insert: e } }
- }
- } else if (">" == r) {
- let t = (function (e) {
- for (;;) {
- if ("JSXOpenTag" == e.name || "JSXSelfClosingTag" == e.name || "JSXFragmentTag" == e.name) return e
- if ("JSXEscape" == e.name || !e.parent) return null
- e = e.parent
- }
- })(o)
- if (
- t &&
- "JSXOpenTag" == t.name &&
- !/^\/?>|^<\//.test(i.doc.sliceString(a, a + 2)) &&
- (n = nde(i.doc, t, a))
- )
- return { range: e, changes: { from: a, insert: `${n}>` } }
- }
- }
- return { range: e }
- })
- return (
- !s.changes.empty && (e.dispatch([o, i.update(s, { userEvent: "input.complete", scrollIntoView: !0 })]), !0)
- )
- }),
- ode = ["_blank", "_self", "_top", "_parent"],
- ide = ["ascii", "utf-8", "utf-16", "latin1", "latin1"],
- sde = ["get", "post", "put", "delete"],
- lde = ["application/x-www-form-urlencoded", "multipart/form-data", "text/plain"],
- cde = ["true", "false"],
- dde = {},
- ude = {
- a: { attrs: { href: null, ping: null, type: null, media: null, target: ode, hreflang: null } },
- abbr: dde,
- address: dde,
- area: {
- attrs: {
- alt: null,
- coords: null,
- href: null,
- target: null,
- ping: null,
- media: null,
- hreflang: null,
- type: null,
- shape: ["default", "rect", "circle", "poly"],
- },
- },
- article: dde,
- aside: dde,
- audio: {
- attrs: {
- src: null,
- mediagroup: null,
- crossorigin: ["anonymous", "use-credentials"],
- preload: ["none", "metadata", "auto"],
- autoplay: ["autoplay"],
- loop: ["loop"],
- controls: ["controls"],
- },
- },
- b: dde,
- base: { attrs: { href: null, target: ode } },
- bdi: dde,
- bdo: dde,
- blockquote: { attrs: { cite: null } },
- body: dde,
- br: dde,
- button: {
- attrs: {
- form: null,
- formaction: null,
- name: null,
- value: null,
- autofocus: ["autofocus"],
- disabled: ["autofocus"],
- formenctype: lde,
- formmethod: sde,
- formnovalidate: ["novalidate"],
- formtarget: ode,
- type: ["submit", "reset", "button"],
- },
- },
- canvas: { attrs: { width: null, height: null } },
- caption: dde,
- center: dde,
- cite: dde,
- code: dde,
- col: { attrs: { span: null } },
- colgroup: { attrs: { span: null } },
- command: {
- attrs: {
- type: ["command", "checkbox", "radio"],
- label: null,
- icon: null,
- radiogroup: null,
- command: null,
- title: null,
- disabled: ["disabled"],
- checked: ["checked"],
- },
- },
- data: { attrs: { value: null } },
- datagrid: { attrs: { disabled: ["disabled"], multiple: ["multiple"] } },
- datalist: { attrs: { data: null } },
- dd: dde,
- del: { attrs: { cite: null, datetime: null } },
- details: { attrs: { open: ["open"] } },
- dfn: dde,
- div: dde,
- dl: dde,
- dt: dde,
- em: dde,
- embed: { attrs: { src: null, type: null, width: null, height: null } },
- eventsource: { attrs: { src: null } },
- fieldset: { attrs: { disabled: ["disabled"], form: null, name: null } },
- figcaption: dde,
- figure: dde,
- footer: dde,
- form: {
- attrs: {
- action: null,
- name: null,
- "accept-charset": ide,
- autocomplete: ["on", "off"],
- enctype: lde,
- method: sde,
- novalidate: ["novalidate"],
- target: ode,
- },
- },
- h1: dde,
- h2: dde,
- h3: dde,
- h4: dde,
- h5: dde,
- h6: dde,
- head: { children: ["title", "base", "link", "style", "meta", "script", "noscript", "command"] },
- header: dde,
- hgroup: dde,
- hr: dde,
- html: { attrs: { manifest: null } },
- i: dde,
- iframe: {
- attrs: {
- src: null,
- srcdoc: null,
- name: null,
- width: null,
- height: null,
- sandbox: ["allow-top-navigation", "allow-same-origin", "allow-forms", "allow-scripts"],
- seamless: ["seamless"],
- },
- },
- img: {
- attrs: {
- alt: null,
- src: null,
- ismap: null,
- usemap: null,
- width: null,
- height: null,
- crossorigin: ["anonymous", "use-credentials"],
- },
- },
- input: {
- attrs: {
- alt: null,
- dirname: null,
- form: null,
- formaction: null,
- height: null,
- list: null,
- max: null,
- maxlength: null,
- min: null,
- name: null,
- pattern: null,
- placeholder: null,
- size: null,
- src: null,
- step: null,
- value: null,
- width: null,
- accept: ["audio/*", "video/*", "image/*"],
- autocomplete: ["on", "off"],
- autofocus: ["autofocus"],
- checked: ["checked"],
- disabled: ["disabled"],
- formenctype: lde,
- formmethod: sde,
- formnovalidate: ["novalidate"],
- formtarget: ode,
- multiple: ["multiple"],
- readonly: ["readonly"],
- required: ["required"],
- type: [
- "hidden",
- "text",
- "search",
- "tel",
- "url",
- "email",
- "password",
- "datetime",
- "date",
- "month",
- "week",
- "time",
- "datetime-local",
- "number",
- "range",
- "color",
- "checkbox",
- "radio",
- "file",
- "submit",
- "image",
- "reset",
- "button",
- ],
- },
- },
- ins: { attrs: { cite: null, datetime: null } },
- kbd: dde,
- keygen: {
- attrs: {
- challenge: null,
- form: null,
- name: null,
- autofocus: ["autofocus"],
- disabled: ["disabled"],
- keytype: ["RSA"],
- },
- },
- label: { attrs: { for: null, form: null } },
- legend: dde,
- li: { attrs: { value: null } },
- link: {
- attrs: {
- href: null,
- type: null,
- hreflang: null,
- media: null,
- sizes: ["all", "16x16", "16x16 32x32", "16x16 32x32 64x64"],
- },
- },
- map: { attrs: { name: null } },
- mark: dde,
- menu: { attrs: { label: null, type: ["list", "context", "toolbar"] } },
- meta: {
- attrs: {
- content: null,
- charset: ide,
- name: ["viewport", "application-name", "author", "description", "generator", "keywords"],
- "http-equiv": ["content-language", "content-type", "default-style", "refresh"],
- },
- },
- meter: { attrs: { value: null, min: null, low: null, high: null, max: null, optimum: null } },
- nav: dde,
- noscript: dde,
- object: {
- attrs: {
- data: null,
- type: null,
- name: null,
- usemap: null,
- form: null,
- width: null,
- height: null,
- typemustmatch: ["typemustmatch"],
- },
- },
- ol: {
- attrs: { reversed: ["reversed"], start: null, type: ["1", "a", "A", "i", "I"] },
- children: ["li", "script", "template", "ul", "ol"],
- },
- optgroup: { attrs: { disabled: ["disabled"], label: null } },
- option: { attrs: { disabled: ["disabled"], label: null, selected: ["selected"], value: null } },
- output: { attrs: { for: null, form: null, name: null } },
- p: dde,
- param: { attrs: { name: null, value: null } },
- pre: dde,
- progress: { attrs: { value: null, max: null } },
- q: { attrs: { cite: null } },
- rp: dde,
- rt: dde,
- ruby: dde,
- samp: dde,
- script: { attrs: { type: ["text/javascript"], src: null, async: ["async"], defer: ["defer"], charset: ide } },
- section: dde,
- select: {
- attrs: {
- form: null,
- name: null,
- size: null,
- autofocus: ["autofocus"],
- disabled: ["disabled"],
- multiple: ["multiple"],
- },
- },
- slot: { attrs: { name: null } },
- small: dde,
- source: { attrs: { src: null, type: null, media: null } },
- span: dde,
- strong: dde,
- style: { attrs: { type: ["text/css"], media: null, scoped: null } },
- sub: dde,
- summary: dde,
- sup: dde,
- table: dde,
- tbody: dde,
- td: { attrs: { colspan: null, rowspan: null, headers: null } },
- template: dde,
- textarea: {
- attrs: {
- dirname: null,
- form: null,
- maxlength: null,
- name: null,
- placeholder: null,
- rows: null,
- cols: null,
- autofocus: ["autofocus"],
- disabled: ["disabled"],
- readonly: ["readonly"],
- required: ["required"],
- wrap: ["soft", "hard"],
- },
- },
- tfoot: dde,
- th: { attrs: { colspan: null, rowspan: null, headers: null, scope: ["row", "col", "rowgroup", "colgroup"] } },
- thead: dde,
- time: { attrs: { datetime: null } },
- title: dde,
- tr: dde,
- track: {
- attrs: {
- src: null,
- label: null,
- default: null,
- kind: ["subtitles", "captions", "descriptions", "chapters", "metadata"],
- srclang: null,
- },
- },
- ul: { children: ["li", "script", "template", "ul", "ol"] },
- var: dde,
- video: {
- attrs: {
- src: null,
- poster: null,
- width: null,
- height: null,
- crossorigin: ["anonymous", "use-credentials"],
- preload: ["auto", "metadata", "none"],
- autoplay: ["autoplay"],
- mediagroup: ["movie"],
- muted: ["muted"],
- controls: ["controls"],
- },
- },
- wbr: dde,
- },
- pde = {
- accesskey: null,
- class: null,
- contenteditable: cde,
- contextmenu: null,
- dir: ["ltr", "rtl", "auto"],
- draggable: ["true", "false", "auto"],
- dropzone: ["copy", "move", "link", "string:", "file:"],
- hidden: ["hidden"],
- id: null,
- inert: ["inert"],
- itemid: null,
- itemprop: null,
- itemref: null,
- itemscope: ["itemscope"],
- itemtype: null,
- lang: ["ar", "bn", "de", "en-GB", "en-US", "es", "fr", "hi", "id", "ja", "pa", "pt", "ru", "tr", "zh"],
- spellcheck: cde,
- autocorrect: cde,
- autocapitalize: cde,
- style: null,
- tabindex: null,
- title: null,
- translate: ["yes", "no"],
- rel: [
- "stylesheet",
- "alternate",
- "author",
- "bookmark",
- "help",
- "license",
- "next",
- "nofollow",
- "noreferrer",
- "prefetch",
- "prev",
- "search",
- "tag",
- ],
- role: "alert application article banner button cell checkbox complementary contentinfo dialog document feed figure form grid gridcell heading img list listbox listitem main navigation region row rowgroup search switch tab table tabpanel textbox timer".split(
- " ",
- ),
- "aria-activedescendant": null,
- "aria-atomic": cde,
- "aria-autocomplete": ["inline", "list", "both", "none"],
- "aria-busy": cde,
- "aria-checked": ["true", "false", "mixed", "undefined"],
- "aria-controls": null,
- "aria-describedby": null,
- "aria-disabled": cde,
- "aria-dropeffect": null,
- "aria-expanded": ["true", "false", "undefined"],
- "aria-flowto": null,
- "aria-grabbed": ["true", "false", "undefined"],
- "aria-haspopup": cde,
- "aria-hidden": cde,
- "aria-invalid": ["true", "false", "grammar", "spelling"],
- "aria-label": null,
- "aria-labelledby": null,
- "aria-level": null,
- "aria-live": ["off", "polite", "assertive"],
- "aria-multiline": cde,
- "aria-multiselectable": cde,
- "aria-owns": null,
- "aria-posinset": null,
- "aria-pressed": ["true", "false", "mixed", "undefined"],
- "aria-readonly": cde,
- "aria-relevant": null,
- "aria-required": cde,
- "aria-selected": ["true", "false", "undefined"],
- "aria-setsize": null,
- "aria-sort": ["ascending", "descending", "none", "other"],
- "aria-valuemax": null,
- "aria-valuemin": null,
- "aria-valuenow": null,
- "aria-valuetext": null,
- },
- hde =
- "beforeunload copy cut dragstart dragover dragleave dragenter dragend drag paste focus blur change click load mousedown mouseenter mouseleave mouseup keydown keyup resize scroll unload"
- .split(" ")
- .map((e) => "on" + e)
- for (let e of hde) pde[e] = null
- class fde {
- constructor(e, t) {
- ;(this.tags = Object.assign(Object.assign({}, ude), e)),
- (this.globalAttrs = Object.assign(Object.assign({}, pde), t)),
- (this.allTags = Object.keys(this.tags)),
- (this.globalAttrNames = Object.keys(this.globalAttrs))
- }
- }
- function mde(e, t, n = e.length) {
- if (!t) return ""
- let r = t.firstChild,
- a = r && r.getChild("TagName")
- return a ? e.sliceString(a.from, Math.min(a.to, n)) : ""
- }
- function gde(e, t = !1) {
- for (; e; e = e.parent)
- if ("Element" == e.name) {
- if (!t) return e
- t = !1
- }
- return null
- }
- function bde(e, t, n) {
- let r = n.tags[mde(e, gde(t))]
- return (null == r ? void 0 : r.children) || n.allTags
- }
- function vde(e, t) {
- let n = []
- for (let r = gde(t); r && !r.type.isTop; r = gde(r.parent)) {
- let a = mde(e, r)
- if (a && "CloseTag" == r.lastChild.name) break
- a && n.indexOf(a) < 0 && ("EndTag" == t.name || t.from >= r.firstChild.to) && n.push(a)
- }
- return n
- }
- fde.default = new fde()
- const yde = /^[:\-\.\w\u00b7-\uffff]*$/
- function Ode(e, t, n, r, a) {
- let o = /\s*>/.test(e.sliceDoc(a, a + 5)) ? "" : ">",
- i = gde(n, !0)
- return {
- from: r,
- to: a,
- options: bde(e.doc, i, t)
- .map((e) => ({ label: e, type: "type" }))
- .concat(vde(e.doc, n).map((e, t) => ({ label: "/" + e, apply: "/" + e + o, type: "type", boost: 99 - t }))),
- validFor: /^\/?[:\-\.\w\u00b7-\uffff]*$/,
- }
- }
- function wde(e, t, n, r) {
- let a = /\s*>/.test(e.sliceDoc(r, r + 5)) ? "" : ">"
- return {
- from: n,
- to: r,
- options: vde(e.doc, t).map((e, t) => ({ label: e, apply: e + a, type: "type", boost: 99 - t })),
- validFor: yde,
- }
- }
- function xde(e) {
- let { extraTags: t, extraGlobalAttributes: n } = e,
- r = n || t ? new fde(t, n) : fde.default
- return (e) =>
- (function (e, t) {
- let { state: n, pos: r } = t,
- a = loe(n).resolveInner(r, -1),
- o = a.resolve(r)
- for (let e, t = r; o == a && (e = a.childBefore(t)); ) {
- let n = e.lastChild
- if (!n || !n.type.isError || n.from < n.to) break
- ;(o = a = e), (t = n.from)
- }
- return "TagName" == a.name
- ? a.parent && /CloseTag$/.test(a.parent.name)
- ? wde(n, a, a.from, r)
- : Ode(n, e, a, a.from, r)
- : "StartTag" == a.name
- ? Ode(n, e, a, r, r)
- : "StartCloseTag" == a.name || "IncompleteCloseTag" == a.name
- ? wde(n, a, r, r)
- : "OpenTag" == a.name || "SelfClosingTag" == a.name || "AttributeName" == a.name
- ? (function (e, t, n, r, a) {
- let o = gde(n),
- i = o ? t.tags[mde(e.doc, o)] : null,
- s = i && i.attrs ? Object.keys(i.attrs) : []
- return {
- from: r,
- to: a,
- options: (i && !1 === i.globalAttrs
- ? s
- : s.length
- ? s.concat(t.globalAttrNames)
- : t.globalAttrNames
- ).map((e) => ({ label: e, type: "property" })),
- validFor: yde,
- }
- })(n, e, a, "AttributeName" == a.name ? a.from : r, r)
- : "Is" == a.name || "AttributeValue" == a.name || "UnquotedAttributeValue" == a.name
- ? (function (e, t, n, r, a) {
- var o
- let i,
- s = null === (o = n.parent) || void 0 === o ? void 0 : o.getChild("AttributeName"),
- l = []
- if (s) {
- let o = e.sliceDoc(s.from, s.to),
- c = t.globalAttrs[o]
- if (!c) {
- let r = gde(n),
- a = r ? t.tags[mde(e.doc, r)] : null
- c = (null == a ? void 0 : a.attrs) && a.attrs[o]
- }
- if (c) {
- let t = e.sliceDoc(r, a).toLowerCase(),
- n = '"',
- o = '"'
- ;/^['"]/.test(t)
- ? ((i = '"' == t[0] ? /^[^"]*$/ : /^[^']*$/),
- (n = ""),
- (o = e.sliceDoc(a, a + 1) == t[0] ? "" : t[0]),
- (t = t.slice(1)),
- r++)
- : (i = /^[^\s<>='"]*$/)
- for (let e of c) l.push({ label: e, apply: n + e + o, type: "constant" })
- }
- }
- return { from: r, to: a, options: l, validFor: i }
- })(n, e, a, "Is" == a.name ? r : a.from, r)
- : !t.explicit || ("Element" != o.name && "Text" != o.name && "Document" != o.name)
- ? null
- : (function (e, t, n, r) {
- let a = [],
- o = 0
- for (let r of bde(e.doc, n, t)) a.push({ label: "<" + r, type: "type" })
- for (let t of vde(e.doc, n)) a.push({ label: "" + t + ">", type: "type", boost: 99 - o++ })
- return { from: r, to: r, options: a, validFor: /^<\/?[:\-\.\w\u00b7-\uffff]*$/ }
- })(n, e, a, r)
- })(r, e)
- }
- const kde = Vce.parser.configure({ top: "SingleExpression" }),
- _de = [
- { tag: "script", attrs: (e) => "text/typescript" == e.type || "ts" == e.lang, parser: Xce.parser },
- { tag: "script", attrs: (e) => "text/babel" == e.type || "text/jsx" == e.type, parser: Yce.parser },
- { tag: "script", attrs: (e) => "text/typescript-jsx" == e.type, parser: Gce.parser },
- {
- tag: "script",
- attrs: (e) => /^(importmap|speculationrules|application\/(.+\+)?json)$/i.test(e.type),
- parser: kde,
- },
- {
- tag: "script",
- attrs: (e) => !e.type || /^(?:text|application)\/(?:x-)?(?:java|ecma)script$|^module$|^$/i.test(e.type),
- parser: Vce.parser,
- },
- {
- tag: "style",
- attrs: (e) => (!e.lang || "css" == e.lang) && (!e.type || /^(text\/)?(x-)?(stylesheet|css)$/i.test(e.type)),
- parser: Zle.parser,
- },
- ],
- Sde = [{ name: "style", parser: Zle.parser.configure({ top: "Styles" }) }].concat(
- hde.map((e) => ({ name: e, parser: Vce.parser })),
- ),
- Ede = soe.define({
- name: "html",
- parser: yce.configure({
- props: [
- Soe.add({
- Element(e) {
- let t = /^(\s*)(<\/)?/.exec(e.textAfter)
- return e.node.to <= e.pos + t[0].length ? e.continue() : e.lineIndent(e.node.from) + (t[2] ? 0 : e.unit)
- },
- "OpenTag CloseTag SelfClosingTag": (e) => e.column(e.node.from) + e.unit,
- Document(e) {
- if (e.pos + /\s*/.exec(e.textAfter)[0].length < e.node.to) return e.continue()
- let t,
- n = null
- for (let t = e.node; ; ) {
- let e = t.lastChild
- if (!e || "Element" != e.name || e.to != t.to) break
- n = t = e
- }
- return n && (!(t = n.lastChild) || ("CloseTag" != t.name && "SelfClosingTag" != t.name))
- ? e.lineIndent(n.from) + e.unit
- : null
- },
- }),
- $oe.add({
- Element(e) {
- let t = e.firstChild,
- n = e.lastChild
- return t && "OpenTag" == t.name ? { from: t.to, to: "CloseTag" == n.name ? n.from : e.to } : null
- },
- }),
- Goe.add({ "OpenTag CloseTag": (e) => e.getChild("TagName") }),
- ],
- }),
- languageData: {
- commentTokens: { block: { open: "\x3c!--", close: "--\x3e" } },
- indentOnInput: /^\s*<\/\w+\W$/,
- wordChars: "-._",
- },
- }),
- Tde = Ede.configure({ wrap: kce(_de, Sde) }),
- Ade = new Set(
- "area base br col command embed frame hr img input keygen link meta param source track wbr menuitem".split(" "),
- ),
- Cde = Tne.inputHandler.of((e, t, n, r, a) => {
- if (e.composing || e.state.readOnly || t != n || (">" != r && "/" != r) || !Tde.isActiveAt(e.state, t, -1))
- return !1
- let o = a(),
- { state: i } = o,
- s = i.changeByRange((e) => {
- var t, n, a
- let o,
- s = i.doc.sliceString(e.from - 1, e.to) == r,
- { head: l } = e,
- c = loe(i).resolveInner(l, -1)
- if (s && ">" == r && "EndTag" == c.name) {
- let r = c.parent
- if (
- "CloseTag" !=
- (null === (n = null === (t = r.parent) || void 0 === t ? void 0 : t.lastChild) || void 0 === n
- ? void 0
- : n.name) &&
- (o = mde(i.doc, r.parent, l)) &&
- !Ade.has(o)
- )
- return {
- range: e,
- changes: { from: l, to: l + (">" === i.doc.sliceString(l, l + 1) ? 1 : 0), insert: `${o}>` },
- }
- } else if (s && "/" == r && "IncompleteCloseTag" == c.name) {
- let e = c.parent
- if (
- c.from == l - 2 &&
- "CloseTag" != (null === (a = e.lastChild) || void 0 === a ? void 0 : a.name) &&
- (o = mde(i.doc, e, l)) &&
- !Ade.has(o)
- ) {
- let e = l + (">" === i.doc.sliceString(l, l + 1) ? 1 : 0),
- t = `${o}>`
- return { range: w7.cursor(l + t.length, -1), changes: { from: l, to: e, insert: t } }
- }
- }
- return { range: e }
- })
- return (
- !s.changes.empty && (e.dispatch([o, i.update(s, { userEvent: "input.complete", scrollIntoView: !0 })]), !0)
- )
- }),
- Pde = Nae({
- String: eoe.string,
- Number: eoe.number,
- "True False": eoe.bool,
- PropertyName: eoe.propertyName,
- Null: eoe.null,
- ",": eoe.separator,
- "[ ]": eoe.squareBracket,
- "{ }": eoe.brace,
- }),
- Dde = yle.deserialize({
- version: 14,
- states:
- "$bOVQPOOOOQO'#Cb'#CbOnQPO'#CeOvQPO'#CjOOQO'#Cp'#CpQOQPOOOOQO'#Cg'#CgO}QPO'#CfO!SQPO'#CrOOQO,59P,59PO![QPO,59PO!aQPO'#CuOOQO,59U,59UO!iQPO,59UOVQPO,59QOqQPO'#CkO!nQPO,59^OOQO1G.k1G.kOVQPO'#ClO!vQPO,59aOOQO1G.p1G.pOOQO1G.l1G.lOOQO,59V,59VOOQO-E6i-E6iOOQO,59W,59WOOQO-E6j-E6j",
- stateData: "#O~OcOS~OQSORSOSSOTSOWQO]ROePO~OVXOeUO~O[[O~PVOg^O~Oh_OVfX~OVaO~OhbO[iX~O[dO~Oh_OVfa~OhbO[ia~O",
- goto: "!kjPPPPPPkPPkqwPPk{!RPPP!XP!ePP!hXSOR^bQWQRf_TVQ_Q`WRg`QcZRicQTOQZRQe^RhbRYQR]R",
- nodeNames: "⚠ JsonText True False Null Number String } { Object Property PropertyName ] [ Array",
- maxTerm: 25,
- nodeProps: [
- ["isolate", -2, 6, 11, ""],
- ["openedBy", 7, "{", 12, "["],
- ["closedBy", 8, "}", 13, "]"],
- ],
- propSources: [Pde],
- skippedNodes: [0],
- repeatNodeCount: 2,
- tokenData:
- "(|~RaXY!WYZ!W]^!Wpq!Wrs!]|}$u}!O$z!Q!R%T!R![&c![!]&t!}#O&y#P#Q'O#Y#Z'T#b#c'r#h#i(Z#o#p(r#q#r(w~!]Oc~~!`Wpq!]qr!]rs!xs#O!]#O#P!}#P;'S!];'S;=`$o<%lO!]~!}Oe~~#QXrs!]!P!Q!]#O#P!]#U#V!]#Y#Z!]#b#c!]#f#g!]#h#i!]#i#j#m~#pR!Q![#y!c!i#y#T#Z#y~#|R!Q![$V!c!i$V#T#Z$V~$YR!Q![$c!c!i$c#T#Z$c~$fR!Q![!]!c!i!]#T#Z!]~$rP;=`<%l!]~$zOh~~$}Q!Q!R%T!R![&c~%YRT~!O!P%c!g!h%w#X#Y%w~%fP!Q![%i~%nRT~!Q![%i!g!h%w#X#Y%w~%zR{|&T}!O&T!Q![&Z~&WP!Q![&Z~&`PT~!Q![&Z~&hST~!O!P%c!Q![&c!g!h%w#X#Y%w~&yOg~~'OO]~~'TO[~~'WP#T#U'Z~'^P#`#a'a~'dP#g#h'g~'jP#X#Y'm~'rOR~~'uP#i#j'x~'{P#`#a(O~(RP#`#a(U~(ZOS~~(^P#f#g(a~(dP#i#j(g~(jP#X#Y(m~(rOQ~~(wOW~~(|OV~",
- tokenizers: [0],
- topRules: { JsonText: [0, 1] },
- tokenPrec: 0,
- }),
- Rde = soe.define({
- name: "json",
- parser: Dde.configure({
- props: [
- Soe.add({ Object: Noe({ except: /^\s*\}/ }), Array: Noe({ except: /^\s*\]/ }) }),
- $oe.add({ "Object Array": Ioe }),
- ],
- }),
- languageData: { closeBrackets: { brackets: ["[", "{", '"'] }, indentOnInput: /^\s*[\}\]]$/ },
- }),
- Nde = 63
- class $de {
- constructor(e, t, n) {
- ;(this.parent = e),
- (this.depth = t),
- (this.type = n),
- (this.hash = (e ? (e.hash + e.hash) << 8 : 0) + t + (t << 4) + n)
- }
- }
- function Ide(e, t) {
- for (let n = 0, r = t - e.pos - 1; ; r--, n++) {
- let t = e.peek(r)
- if (Lde(t) || -1 == t) return n
- }
- }
- function Mde(e) {
- return 32 == e || 9 == e
- }
- function Lde(e) {
- return 10 == e || 13 == e
- }
- function Qde(e) {
- return Mde(e) || Lde(e)
- }
- function Bde(e) {
- return e < 0 || Qde(e)
- }
- $de.top = new $de(null, -1, 0)
- const jde = new vle({
- start: $de.top,
- reduce: (e, t) => (3 != e.type || (20 != t && 34 != t) ? e : e.parent),
- shift(e, t, n, r) {
- if (3 == t) return new $de(e, Ide(r, r.pos), 1)
- if (65 == t || 5 == t) return new $de(e, Ide(r, r.pos), 2)
- if (t == Nde) return e.parent
- if (19 == t || 33 == t) return new $de(e, 0, 3)
- if (13 == t && 4 == e.type) return e.parent
- if (47 == t) {
- let t = /[1-9]/.exec(r.read(r.pos, n.pos))
- if (t) return new $de(e, e.depth + +t[0], 4)
- }
- return e
- },
- hash: (e) => e.hash,
- })
- function Ude(e, t, n = 0) {
- return e.peek(n) == t && e.peek(n + 1) == t && e.peek(n + 2) == t && Bde(e.peek(n + 3))
- }
- const Fde = new ole(
- (e, t) => {
- if (-1 == e.next && t.canShift(64)) return e.acceptToken(64)
- let n = e.peek(-1)
- if ((Lde(n) || n < 0) && 3 != t.context.type) {
- if (Ude(e, 45)) {
- if (!t.canShift(Nde)) return e.acceptToken(1, 3)
- e.acceptToken(Nde)
- }
- if (Ude(e, 46)) {
- if (!t.canShift(Nde)) return e.acceptToken(2, 3)
- e.acceptToken(Nde)
- }
- let n = 0
- for (; 32 == e.next; ) n++, e.advance()
- ;(!(n < t.context.depth) &&
- (n != t.context.depth || 1 != t.context.type || (45 == e.next && Bde(e.peek(1))))) ||
- -1 == e.next ||
- Lde(e.next) ||
- 35 == e.next ||
- e.acceptToken(Nde, -n)
- }
- },
- { contextual: !0 },
- ),
- zde = new ole(
- (e, t) => {
- if (3 != t.context.type)
- if (45 == e.next)
- e.advance(),
- Bde(e.next) && e.acceptToken(1 == t.context.type && t.context.depth == Ide(e, e.pos - 1) ? 4 : 3)
- else if (63 == e.next)
- e.advance(),
- Bde(e.next) && e.acceptToken(2 == t.context.type && t.context.depth == Ide(e, e.pos - 1) ? 6 : 5)
- else {
- let n = e.pos
- for (;;)
- if (Mde(e.next)) {
- if (e.pos == n) return
- e.advance()
- } else if (33 == e.next) Hde(e)
- else {
- if (38 != e.next) {
- if (42 == e.next) {
- Vde(e)
- break
- }
- if (39 == e.next || 34 == e.next) {
- if (Wde(e, !0)) break
- return
- }
- if (91 == e.next || 123 == e.next) {
- if (!Xde(e)) return
- break
- }
- Jde(e, !0, !1, 0)
- break
- }
- Vde(e)
- }
- for (; Mde(e.next); ) e.advance()
- if (58 == e.next) {
- if (e.pos == n && t.canShift(29)) return
- Bde(e.peek(1)) && e.acceptTokenTo(2 == t.context.type && t.context.depth == Ide(e, n) ? 66 : 65, n)
- }
- }
- else 63 == e.next && (e.advance(), Bde(e.next) && e.acceptToken(7))
- },
- { contextual: !0 },
- )
- function qde(e) {
- return (e >= 48 && e <= 57) || (e >= 97 && e <= 102) || (e >= 65 && e <= 70)
- }
- function Zde(e, t) {
- return 37 == e.next
- ? (e.advance(), qde(e.next) && e.advance(), qde(e.next) && e.advance(), !0)
- : !!(
- ((n = e.next) > 32 &&
- n < 127 &&
- 34 != n &&
- 37 != n &&
- 44 != n &&
- 60 != n &&
- 62 != n &&
- 92 != n &&
- 94 != n &&
- 96 != n &&
- 123 != n &&
- 124 != n &&
- 125 != n) ||
- (t && 44 == e.next)
- ) && (e.advance(), !0)
- var n
- }
- function Hde(e) {
- if ((e.advance(), 60 == e.next)) {
- for (e.advance(); ; )
- if (!Zde(e, !0)) {
- 62 == e.next && e.advance()
- break
- }
- } else for (; Zde(e, !1); );
- }
- function Vde(e) {
- for (e.advance(); !Bde(e.next) && "f" != Gde(e.tag); ) e.advance()
- }
- function Wde(e, t) {
- let n = e.next,
- r = !1,
- a = e.pos
- for (e.advance(); ; ) {
- let o = e.next
- if (o < 0) break
- if ((e.advance(), o == n)) {
- if (39 != o) break
- if (39 != e.next) break
- e.advance()
- } else if (92 == o && 34 == n) e.next >= 0 && e.advance()
- else if (Lde(o)) {
- if (t) return !1
- r = !0
- } else if (t && e.pos >= a + 1024) return !1
- }
- return !r
- }
- function Xde(e) {
- for (let t = [], n = e.pos + 1024; ; )
- if (91 == e.next || 123 == e.next) t.push(e.next), e.advance()
- else if (39 == e.next || 34 == e.next) {
- if (!Wde(e, !0)) return !1
- } else if (93 == e.next || 125 == e.next) {
- if (t[t.length - 1] != e.next - 2) return !1
- if ((t.pop(), e.advance(), !t.length)) return !0
- } else {
- if (e.next < 0 || e.pos > n || Lde(e.next)) return !1
- e.advance()
- }
- }
- const Yde = "iiisiiissisfissssssssssssisssiiissssssssssssssssssssssssssfsfssissssssssssssssssssssssssssfif"
- function Gde(e) {
- return e < 33 ? "u" : e > 125 ? "s" : Yde[e - 33]
- }
- function Kde(e, t) {
- let n = Gde(e)
- return "u" != n && !(t && "f" == n)
- }
- function Jde(e, t, n, r) {
- if ("s" != Gde(e.next) && ((63 != e.next && 58 != e.next && 45 != e.next) || !Kde(e.peek(1), n))) return !1
- e.advance()
- let a = e.pos
- for (;;) {
- let o = e.next,
- i = 0,
- s = r + 1
- for (; Qde(o); ) {
- if (Lde(o)) {
- if (t) return !1
- s = 0
- } else s++
- o = e.peek(++i)
- }
- if (
- !(o >= 0 && (58 == o ? Kde(e.peek(i + 1), n) : 35 == o ? 32 != e.peek(i - 1) : Kde(o, n))) ||
- (!n && s <= r) ||
- (0 == s && !n && (Ude(e, 45, i) || Ude(e, 46, i)))
- )
- break
- if (t && "f" == Gde(o)) return !1
- for (let t = i; t >= 0; t--) e.advance()
- if (t && e.pos > a + 1024) return !1
- }
- return !0
- }
- const eue = new ole((e, t) => {
- if (33 == e.next) Hde(e), e.acceptToken(12)
- else if (38 == e.next || 42 == e.next) {
- let t = 38 == e.next ? 10 : 11
- Vde(e), e.acceptToken(t)
- } else
- 39 == e.next || 34 == e.next
- ? (Wde(e, !1), e.acceptToken(9))
- : Jde(e, !1, 3 == t.context.type, t.context.depth) && e.acceptToken(8)
- }),
- tue = new ole((e, t) => {
- let n = 4 == t.context.type ? t.context.depth : -1,
- r = e.pos
- e: for (;;) {
- let a = 0,
- o = e.next
- for (; 32 == o; ) o = e.peek(++a)
- if (!a && (Ude(e, 45, a) || Ude(e, 46, a))) break
- if (!Lde(o) && (n < 0 && (n = Math.max(t.context.depth + 1, a)), a < n)) break
- for (;;) {
- if (e.next < 0) break e
- let t = Lde(e.next)
- if ((e.advance(), t)) continue e
- r = e.pos
- }
- }
- e.acceptTokenTo(13, r)
- }),
- nue = Nae({
- DirectiveName: eoe.keyword,
- DirectiveContent: eoe.attributeValue,
- "DirectiveEnd DocEnd": eoe.meta,
- QuotedLiteral: eoe.string,
- BlockLiteralHeader: eoe.special(eoe.string),
- BlockLiteralContent: eoe.content,
- Literal: eoe.content,
- "Key/Literal Key/QuotedLiteral": eoe.definition(eoe.propertyName),
- "Anchor Alias": eoe.labelName,
- Tag: eoe.typeName,
- Comment: eoe.lineComment,
- ": , -": eoe.separator,
- "?": eoe.punctuation,
- "[ ]": eoe.squareBracket,
- "{ }": eoe.brace,
- }),
- rue = yle.deserialize({
- version: 14,
- states:
- "5lQ!ZQgOOO#PQfO'#CpO#uQfO'#DOOOQR'#Dv'#DvO$qQgO'#DRO%gQdO'#DUO%nQgO'#DUO&ROaO'#D[OOQR'#Du'#DuO&{QgO'#D^O'rQgO'#D`OOQR'#Dt'#DtO(iOqO'#DbOOQP'#Dj'#DjO(zQaO'#CmO)YQgO'#CmOOQP'#Cm'#CmQ)jQaOOQ)uQgOOQ]QgOOO*PQdO'#CrO*nQdO'#CtOOQO'#Dw'#DwO+]Q`O'#CxO+hQdO'#CwO+rQ`O'#CwOOQO'#Cv'#CvO+wQdO'#CvOOQO'#Cq'#CqO,UQ`O,59[O,^QfO,59[OOQR,59[,59[OOQO'#Cx'#CxO,eQ`O'#DPO,pQdO'#DPOOQO'#Dx'#DxO,zQdO'#DxO-XQ`O,59jO-aQfO,59jOOQR,59j,59jOOQR'#DS'#DSO-hQcO,59mO-sQgO'#DVO.TQ`O'#DVO.YQcO,59pOOQR'#DX'#DXO#|QfO'#DWO.hQcO'#DWOOQR,59v,59vO.yOWO,59vO/OOaO,59vO/WOaO,59vO/cQgO'#D_OOQR,59x,59xO0VQgO'#DaOOQR,59z,59zOOQP,59|,59|O0yOaO,59|O1ROaO,59|O1aOqO,59|OOQP-E7h-E7hO1oQgO,59XOOQP,59X,59XO2PQaO'#DeO2_QgO'#DeO2oQgO'#DkOOQP'#Dk'#DkQ)jQaOOO3PQdO'#CsOOQO,59^,59^O3kQdO'#CuOOQO,59`,59`OOQO,59c,59cO4VQdO,59cO4aQdO'#CzO4kQ`O'#CzOOQO,59b,59bOOQU,5:Q,5:QOOQR1G.v1G.vO4pQ`O1G.vOOQU-E7d-E7dO4xQdO,59kOOQO,59k,59kO5SQdO'#DQO5^Q`O'#DQOOQO,5:d,5:dOOQU,5:R,5:ROOQR1G/U1G/UO5cQ`O1G/UOOQU-E7e-E7eO5kQgO'#DhO5xQcO1G/XOOQR1G/X1G/XOOQR,59q,59qO6TQgO,59qO6eQdO'#DiO6lQgO'#DiO7PQcO1G/[OOQR1G/[1G/[OOQR,59r,59rO#|QfO,59rOOQR1G/b1G/bO7_OWO1G/bO7dOaO1G/bOOQR,59y,59yOOQR,59{,59{OOQP1G/h1G/hO7lOaO1G/hO7tOaO1G/hO8POaO1G/hOOQP1G.s1G.sO8_QgO,5:POOQP,5:P,5:POOQP,5:V,5:VOOQP-E7i-E7iOOQO,59_,59_OOQO,59a,59aOOQO1G.}1G.}OOQO,59f,59fO8oQdO,59fOOQR7+$b7+$bP,XQ`O'#DfOOQO1G/V1G/VOOQO,59l,59lO8yQdO,59lOOQR7+$p7+$pP9TQ`O'#DgOOQR'#DT'#DTOOQR,5:S,5:SOOQR-E7f-E7fOOQR7+$s7+$sOOQR1G/]1G/]O9YQgO'#DYO9jQ`O'#DYOOQR,5:T,5:TO#|QfO'#DZO9oQcO'#DZOOQR-E7g-E7gOOQR7+$v7+$vOOQR1G/^1G/^OOQR7+$|7+$|O:QOWO7+$|OOQP7+%S7+%SO:VOaO7+%SO:_OaO7+%SOOQP1G/k1G/kOOQO1G/Q1G/QOOQO1G/W1G/WOOQR,59t,59tO:jQgO,59tOOQR,59u,59uO#|QfO,59uOOQR<YAN>Y",
- stateData:
- ";S~O!fOS!gOS^OS~OP_OQbORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!V[O!cTO~O`cO~P]OVkOWROXROYeOZfO[dOcPOmhOqQO~OboO~P!bOVtOWROXROYeOZfO[dOcPOmrOqQO~OpwO~P#WORSOTUOWROXROYYOZZO[XOcPOqQO!PVO!cTO~OSvP!avP!bvP~P#|OWROXROYeOZfO[dOcPOqQO~OmzO~P%OOm!OOUzP!azP!bzP!dzP~P#|O^!SO!b!QO!f!TO!g!RO~ORSOTUOWROXROcPOqQO!PVO!cTO~OY!UOP!QXQ!QX!V!QX!`!QXS!QX!a!QX!b!QXU!QXm!QX!d!QX~P&aO[!WOP!SXQ!SX!V!SX!`!SXS!SX!a!SX!b!SXU!SXm!SX!d!SX~P&aO^!ZO!W![O!b!YO!f!]O!g!YO~OP!_O!V[OQaX!`aX~OPaXQaX!VaX!`aX~P#|OP!bOQ!cO!V[O~OP_O!V[O~P#|OWROXROY!fOcPOqQObfXmfXofXpfX~OWROXRO[!hOcPOqQObhXmhXohXphX~ObeXmlXoeX~ObkXokX~P%OOm!kO~Om!lObnPonP~P%OOb!pOo!oO~Ob!pO~P!bOm!sOosXpsX~OosXpsX~P%OOm!uOotPptP~P%OOo!xOp!yO~Op!yO~P#WOS!|O!a#OO!b#OO~OUyX!ayX!byX!dyX~P#|Om#QO~OU#SO!a#UO!b#UO!d#RO~Om#WOUzX!azX!bzX!dzX~O]#XO~O!b#XO!g#YO~O^#ZO!b#XO!g#YO~OP!RXQ!RX!V!RX!`!RXS!RX!a!RX!b!RXU!RXm!RX!d!RX~P&aOP!TXQ!TX!V!TX!`!TXS!TX!a!TX!b!TXU!TXm!TX!d!TX~P&aO!b#^O!g#^O~O^#_O!b#^O!f#`O!g#^O~O^#_O!W#aO!b#^O!g#^O~OPaaQaa!Vaa!`aa~P#|OP#cO!V[OQ!XX!`!XX~OP!XXQ!XX!V!XX!`!XX~P#|OP_O!V[OQ!_X!`!_X~P#|OWROXROcPOqQObgXmgXogXpgX~OWROXROcPOqQObiXmiXoiXpiX~Obkaoka~P%OObnXonX~P%OOm#kO~Ob#lOo!oO~Oosapsa~P%OOotXptX~P%OOm#pO~Oo!xOp#qO~OSwP!awP!bwP~P#|OS!|O!a#vO!b#vO~OUya!aya!bya!dya~P#|Om#xO~P%OOm#{OU}P!a}P!b}P!d}P~P#|OU#SO!a$OO!b$OO!d#RO~O]$QO~O!b$QO!g$RO~O!b$SO!g$SO~O^$TO!b$SO!g$SO~O^$TO!b$SO!f$UO!g$SO~OP!XaQ!Xa!V!Xa!`!Xa~P#|Obnaona~P%OOotapta~P%OOo!xO~OU|X!a|X!b|X!d|X~P#|Om$ZO~Om$]OU}X!a}X!b}X!d}X~O]$^O~O!b$_O!g$_O~O^$`O!b$_O!g$_O~OU|a!a|a!b|a!d|a~P#|O!b$cO!g$cO~O",
- goto: ",]!mPPPPPPPPPPPPPPPPP!nPP!v#v#|$`#|$c$f$j$nP%VPPP!v%Y%^%a%{&O%a&R&U&X&_&b%aP&e&{&e'O'RPP']'a'g'm's'y(XPPPPPPPP(_)e*X+c,VUaObcR#e!c!{ROPQSTUXY_bcdehknrtvz!O!U!W!_!b!c!f!h!k!l!s!u!|#Q#R#S#W#c#k#p#x#{$Z$]QmPR!qnqfPQThknrtv!k!l!s!u#R#k#pR!gdR!ieTlPnTjPnSiPnSqQvQ{TQ!mkQ!trQ!vtR#y#RR!nkTsQvR!wt!RWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]RySR#t!|R|TR|UQ!PUR#|#SR#z#RR#z#SyZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]R!VXR!XYa]O^abc!a!c!eT!da!eQnPR!rnQvQR!{vQ!}yR#u!}Q#T|R#}#TW^Obc!cS!^^!aT!aa!eQ!eaR#f!eW`Obc!cQxSS}U#SQ!`_Q#PzQ#V!OQ#b!_Q#d!bQ#s!|Q#w#QQ$P#WQ$V#cQ$Y#xQ$[#{Q$a$ZR$b$]xZOSU_bcz!O!_!b!c!|#Q#S#W#c#x#{$Z$]Q!VXQ!XYQ#[!UR#]!W!QWOSUXY_bcz!O!U!W!_!b!c!|#Q#S#W#c#x#{$Z$]pfPQThknrtv!k!l!s!u#R#k#pQ!gdQ!ieQ#g!fR#h!hSgPn^pQTkrtv#RQ!jhQ#i!kQ#j!lQ#n!sQ#o!uQ$W#kR$X#pQuQR!zv",
- nodeNames:
- "⚠ DirectiveEnd DocEnd - - ? ? ? Literal QuotedLiteral Anchor Alias Tag BlockLiteralContent Comment Stream BOM Document ] [ FlowSequence Item Tagged Anchored Anchored Tagged FlowMapping Pair Key : Pair , } { FlowMapping Pair Pair BlockSequence Item Item BlockMapping Pair Pair Key Pair Pair BlockLiteral BlockLiteralHeader Tagged Anchored Anchored Tagged Directive DirectiveName DirectiveContent Document",
- maxTerm: 74,
- context: jde,
- nodeProps: [
- ["isolate", -3, 8, 9, 14, ""],
- ["openedBy", 18, "[", 32, "{"],
- ["closedBy", 19, "]", 33, "}"],
- ],
- propSources: [nue],
- skippedNodes: [0],
- repeatNodeCount: 6,
- tokenData:
- "-Y~RnOX#PXY$QYZ$]Z]#P]^$]^p#Ppq$Qqs#Pst$btu#Puv$yv|#P|}&e}![#P![!]'O!]!`#P!`!a'i!a!}#P!}#O*g#O#P#P#P#Q+Q#Q#o#P#o#p+k#p#q'i#q#r,U#r;'S#P;'S;=`#z<%l?HT#P?HT?HU,o?HUO#PQ#UU!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PQ#kTOY#PZs#Pt;'S#P;'S;=`#z<%lO#PQ#}P;=`<%l#P~$VQ!f~XY$Qpq$Q~$bO!g~~$gS^~OY$bZ;'S$b;'S;=`$s<%lO$b~$vP;=`<%l$bR%OX!WQOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR%rX!WQ!VPOX%kXY#PZ]%k]^#P^p%kpq#hq;'S%k;'S;=`&_<%lO%kR&bP;=`<%l%kR&lUoP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'VUmP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR'p[!PP!WQOY#PZp#Ppq#hq{#P{|(f|}#P}!O(f!O!R#P!R![)p![;'S#P;'S;=`#z<%lO#PR(mW!PP!WQOY#PZp#Ppq#hq!R#P!R![)V![;'S#P;'S;=`#z<%lO#PR)^U!PP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR)wY!PP!WQOY#PZp#Ppq#hq{#P{|)V|}#P}!O)V!O;'S#P;'S;=`#z<%lO#PR*nUcP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+XUbP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR+rUqP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,]UpP!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#PR,vU`P!WQOY#PZp#Ppq#hq;'S#P;'S;=`#z<%lO#P",
- tokenizers: [Fde, zde, eue, tue, 0, 1],
- topRules: { Stream: [0, 15] },
- tokenPrec: 0,
- }),
- aue = soe.define({
- name: "yaml",
- parser: rue.configure({
- props: [
- Soe.add({
- Stream: (e) => {
- for (let t = e.node.resolve(e.pos, -1); t && t.to >= e.pos; t = t.parent) {
- if ("BlockLiteralContent" == t.name && t.from < t.to) return e.baseIndentFor(t)
- if ("BlockLiteral" == t.name) return e.baseIndentFor(t) + e.unit
- if ("BlockSequence" == t.name || "BlockMapping" == t.name) return e.column(t.from, 1)
- if ("QuotedLiteral" == t.name) return null
- if ("Literal" == t.name) {
- let n = e.column(t.from, 1)
- if (n == e.lineIndent(t.from, 1)) return n
- if (t.to > e.pos) return null
- }
- }
- return null
- },
- FlowMapping: Doe({ closing: "}" }),
- FlowSequence: Doe({ closing: "]" }),
- }),
- $oe.add({
- "FlowMapping FlowSequence": Ioe,
- "BlockSequence Pair BlockLiteral": (e, t) => ({ from: t.doc.lineAt(e.from).to, to: e.to }),
- }),
- ],
- }),
- languageData: { commentTokens: { line: "#" }, indentOnInput: /^\s*[\]\}]$/ },
- })
- function oue() {
- var e = arguments[0]
- "string" == typeof e && (e = document.createElement(e))
- var t = 1,
- n = arguments[1]
- if (n && "object" == typeof n && null == n.nodeType && !Array.isArray(n)) {
- for (var r in n)
- if (Object.prototype.hasOwnProperty.call(n, r)) {
- var a = n[r]
- "string" == typeof a ? e.setAttribute(r, a) : null != a && (e[r] = a)
- }
- t++
- }
- for (; t < arguments.length; t++) iue(e, arguments[t])
- return e
- }
- function iue(e, t) {
- if ("string" == typeof t) e.appendChild(document.createTextNode(t))
- else if (null == t);
- else if (null != t.nodeType) e.appendChild(t)
- else {
- if (!Array.isArray(t)) throw new RangeError("Unsupported child node: " + t)
- for (var n = 0; n < t.length; n++) iue(e, t[n])
- }
- }
- class sue {
- constructor(e, t, n) {
- ;(this.from = e), (this.to = t), (this.diagnostic = n)
- }
- }
- class lue {
- constructor(e, t, n) {
- ;(this.diagnostics = e), (this.panel = t), (this.selected = n)
- }
- static init(e, t, n) {
- let r = e,
- a = n.facet(yue).markerFilter
- a && (r = a(r, n))
- let o = U9.set(
- r.map((e) =>
- e.from == e.to || (e.from == e.to - 1 && n.doc.lineAt(e.from).to == e.from)
- ? U9.widget({ widget: new xue(e), diagnostic: e }).range(e.from)
- : U9.mark({
- attributes: {
- class: "cm-lintRange cm-lintRange-" + e.severity + (e.markClass ? " " + e.markClass : ""),
- },
- diagnostic: e,
- }).range(e.from, e.to),
- ),
- !0,
- )
- return new lue(o, t, cue(o))
- }
- }
- function cue(e, t = null, n = 0) {
- let r = null
- return (
- e.between(n, 1e9, (e, n, { spec: a }) => {
- if (!t || a.diagnostic == t) return (r = new sue(e, n, a.diagnostic)), !1
- }),
- r
- )
- }
- function due(e, t) {
- return e.field(fue, !1) ? t : t.concat(Y7.appendConfig.of(Tue))
- }
- const uue = Y7.define(),
- pue = Y7.define(),
- hue = Y7.define(),
- fue = D7.define({
- create: () => new lue(U9.none, null, null),
- update(e, t) {
- if (t.docChanged && e.diagnostics.size) {
- let n = e.diagnostics.map(t.changes),
- r = null,
- a = e.panel
- if (e.selected) {
- let a = t.changes.mapPos(e.selected.from, 1)
- r = cue(n, e.selected.diagnostic, a) || cue(n, null, a)
- }
- !n.size && a && t.state.facet(yue).autoPanel && (a = null), (e = new lue(n, a, r))
- }
- for (let n of t.effects)
- if (n.is(uue)) {
- let r = t.state.facet(yue).autoPanel ? (n.value.length ? _ue.open : null) : e.panel
- e = lue.init(n.value, r, t.state)
- } else
- n.is(pue)
- ? (e = new lue(e.diagnostics, n.value ? _ue.open : null, e.selected))
- : n.is(hue) && (e = new lue(e.diagnostics, e.panel, n.value))
- return e
- },
- provide: (e) => [yre.from(e, (e) => e.panel), Tne.decorations.from(e, (e) => e.diagnostics)],
- }),
- mue = U9.mark({ class: "cm-lintRange cm-lintRange-active" })
- function gue(e, t) {
- return oue(
- "ul",
- { class: "cm-tooltip-lint" },
- t.map((t) => wue(e, t, !1)),
- )
- }
- const bue = (e) => {
- let t = e.state.field(fue, !1)
- return !(!t || !t.panel || (e.dispatch({ effects: pue.of(!1) }), 0))
- },
- vue = Ree.fromClass(
- class {
- constructor(e) {
- ;(this.view = e), (this.timeout = -1), (this.set = !0)
- let { delay: t } = e.state.facet(yue)
- ;(this.lintTime = Date.now() + t),
- (this.run = this.run.bind(this)),
- (this.timeout = setTimeout(this.run, t))
- }
- run() {
- clearTimeout(this.timeout)
- let e = Date.now()
- if (e < this.lintTime - 10) this.timeout = setTimeout(this.run, this.lintTime - e)
- else {
- this.set = !1
- let { state: e } = this.view,
- { sources: t } = e.facet(yue)
- t.length &&
- Promise.all(t.map((e) => Promise.resolve(e(this.view)))).then(
- (t) => {
- let n = t.reduce((e, t) => e.concat(t))
- this.view.state.doc == e.doc &&
- this.view.dispatch(
- (function (e, t) {
- return { effects: due(e, [uue.of(t)]) }
- })(this.view.state, n),
- )
- },
- (e) => {
- Aee(this.view.state, e)
- },
- )
- }
- }
- update(e) {
- let t = e.state.facet(yue)
- ;(e.docChanged || t != e.startState.facet(yue) || (t.needsRefresh && t.needsRefresh(e))) &&
- ((this.lintTime = Date.now() + t.delay),
- this.set || ((this.set = !0), (this.timeout = setTimeout(this.run, t.delay))))
- }
- force() {
- this.set && ((this.lintTime = Date.now()), this.run())
- }
- destroy() {
- clearTimeout(this.timeout)
- }
- },
- ),
- yue = _7.define({
- combine: (e) =>
- Object.assign(
- { sources: e.map((e) => e.source).filter((e) => null != e) },
- l6(
- e.map((e) => e.config),
- { delay: 750, markerFilter: null, tooltipFilter: null, needsRefresh: null, hideOn: () => null },
- { needsRefresh: (e, t) => (e ? (t ? (n) => e(n) || t(n) : e) : t) },
- ),
- ),
- })
- function Oue(e) {
- let t = []
- if (e)
- e: for (let { name: n } of e) {
- for (let e = 0; e < n.length; e++) {
- let r = n[e]
- if (/[a-zA-Z]/.test(r) && !t.some((e) => e.toLowerCase() == r.toLowerCase())) {
- t.push(r)
- continue e
- }
- }
- t.push("")
- }
- return t
- }
- function wue(e, t, n) {
- var r
- let a = n ? Oue(t.actions) : []
- return oue(
- "li",
- { class: "cm-diagnostic cm-diagnostic-" + t.severity },
- oue("span", { class: "cm-diagnosticText" }, t.renderMessage ? t.renderMessage(e) : t.message),
- null === (r = t.actions) || void 0 === r
- ? void 0
- : r.map((n, r) => {
- let o = !1,
- i = (r) => {
- if ((r.preventDefault(), o)) return
- o = !0
- let a = cue(e.state.field(fue).diagnostics, t)
- a && n.apply(e, a.from, a.to)
- },
- { name: s } = n,
- l = a[r] ? s.indexOf(a[r]) : -1,
- c = l < 0 ? s : [s.slice(0, l), oue("u", s.slice(l, l + 1)), s.slice(l + 1)]
- return oue(
- "button",
- {
- type: "button",
- class: "cm-diagnosticAction",
- onclick: i,
- onmousedown: i,
- "aria-label": ` Action: ${s}${l < 0 ? "" : ` (access key "${a[r]})"`}.`,
- },
- c,
- )
- }),
- t.source && oue("div", { class: "cm-diagnosticSource" }, t.source),
- )
- }
- class xue extends B9 {
- constructor(e) {
- super(), (this.diagnostic = e)
- }
- eq(e) {
- return e.diagnostic == this.diagnostic
- }
- toDOM() {
- return oue("span", { class: "cm-lintPoint cm-lintPoint-" + this.diagnostic.severity })
- }
- }
- class kue {
- constructor(e, t) {
- ;(this.diagnostic = t),
- (this.id = "item_" + Math.floor(4294967295 * Math.random()).toString(16)),
- (this.dom = wue(e, t, !0)),
- (this.dom.id = this.id),
- this.dom.setAttribute("role", "option")
- }
- }
- class _ue {
- constructor(e) {
- ;(this.view = e),
- (this.items = []),
- (this.list = oue("ul", {
- tabIndex: 0,
- role: "listbox",
- "aria-label": this.view.state.phrase("Diagnostics"),
- onkeydown: (t) => {
- if (27 == t.keyCode) bue(this.view), this.view.focus()
- else if (38 == t.keyCode || 33 == t.keyCode)
- this.moveSelection((this.selectedIndex - 1 + this.items.length) % this.items.length)
- else if (40 == t.keyCode || 34 == t.keyCode)
- this.moveSelection((this.selectedIndex + 1) % this.items.length)
- else if (36 == t.keyCode) this.moveSelection(0)
- else if (35 == t.keyCode) this.moveSelection(this.items.length - 1)
- else if (13 == t.keyCode) this.view.focus()
- else {
- if (!(t.keyCode >= 65 && t.keyCode <= 90 && this.selectedIndex >= 0)) return
- {
- let { diagnostic: n } = this.items[this.selectedIndex],
- r = Oue(n.actions)
- for (let a = 0; a < r.length; a++)
- if (r[a].toUpperCase().charCodeAt(0) == t.keyCode) {
- let t = cue(this.view.state.field(fue).diagnostics, n)
- t && n.actions[a].apply(e, t.from, t.to)
- }
- }
- }
- t.preventDefault()
- },
- onclick: (e) => {
- for (let t = 0; t < this.items.length; t++) this.items[t].dom.contains(e.target) && this.moveSelection(t)
- },
- })),
- (this.dom = oue(
- "div",
- { class: "cm-panel-lint" },
- this.list,
- oue(
- "button",
- {
- type: "button",
- name: "close",
- "aria-label": this.view.state.phrase("close"),
- onclick: () => bue(this.view),
- },
- "×",
- ),
- )),
- this.update()
- }
- get selectedIndex() {
- let e = this.view.state.field(fue).selected
- if (!e) return -1
- for (let t = 0; t < this.items.length; t++) if (this.items[t].diagnostic == e.diagnostic) return t
- return -1
- }
- update() {
- let { diagnostics: e, selected: t } = this.view.state.field(fue),
- n = 0,
- r = !1,
- a = null
- for (
- e.between(0, this.view.state.doc.length, (e, o, { spec: i }) => {
- let s,
- l = -1
- for (let e = n; e < this.items.length; e++)
- if (this.items[e].diagnostic == i.diagnostic) {
- l = e
- break
- }
- l < 0
- ? ((s = new kue(this.view, i.diagnostic)), this.items.splice(n, 0, s), (r = !0))
- : ((s = this.items[l]), l > n && (this.items.splice(n, l - n), (r = !0))),
- t && s.diagnostic == t.diagnostic
- ? s.dom.hasAttribute("aria-selected") || (s.dom.setAttribute("aria-selected", "true"), (a = s))
- : s.dom.hasAttribute("aria-selected") && s.dom.removeAttribute("aria-selected"),
- n++
- });
- n < this.items.length && !(1 == this.items.length && this.items[0].diagnostic.from < 0);
-
- )
- (r = !0), this.items.pop()
- 0 == this.items.length &&
- (this.items.push(
- new kue(this.view, {
- from: -1,
- to: -1,
- severity: "info",
- message: this.view.state.phrase("No diagnostics"),
- }),
- ),
- (r = !0)),
- a
- ? (this.list.setAttribute("aria-activedescendant", a.id),
- this.view.requestMeasure({
- key: this,
- read: () => ({ sel: a.dom.getBoundingClientRect(), panel: this.list.getBoundingClientRect() }),
- write: ({ sel: e, panel: t }) => {
- let n = t.height / this.list.offsetHeight
- e.top < t.top
- ? (this.list.scrollTop -= (t.top - e.top) / n)
- : e.bottom > t.bottom && (this.list.scrollTop += (e.bottom - t.bottom) / n)
- },
- }))
- : this.selectedIndex < 0 && this.list.removeAttribute("aria-activedescendant"),
- r && this.sync()
- }
- sync() {
- let e = this.list.firstChild
- function t() {
- let t = e
- ;(e = t.nextSibling), t.remove()
- }
- for (let n of this.items)
- if (n.dom.parentNode == this.list) {
- for (; e != n.dom; ) t()
- e = n.dom.nextSibling
- } else this.list.insertBefore(n.dom, e)
- for (; e; ) t()
- }
- moveSelection(e) {
- if (this.selectedIndex < 0) return
- let t = cue(this.view.state.field(fue).diagnostics, this.items[e].diagnostic)
- t && this.view.dispatch({ selection: { anchor: t.from, head: t.to }, scrollIntoView: !0, effects: hue.of(t) })
- }
- static open(e) {
- return new _ue(e)
- }
- }
- function Sue(e) {
- return (function (e, t = 'viewBox="0 0 40 40"') {
- return `url('data:image/svg+xml,')`
- })(
- ``,
- 'width="6" height="3"',
- )
- }
- const Eue = Tne.baseTheme({
- ".cm-diagnostic": { padding: "3px 6px 3px 8px", marginLeft: "-1px", display: "block", whiteSpace: "pre-wrap" },
- ".cm-diagnostic-error": { borderLeft: "5px solid #d11" },
- ".cm-diagnostic-warning": { borderLeft: "5px solid orange" },
- ".cm-diagnostic-info": { borderLeft: "5px solid #999" },
- ".cm-diagnostic-hint": { borderLeft: "5px solid #66d" },
- ".cm-diagnosticAction": {
- font: "inherit",
- border: "none",
- padding: "2px 4px",
- backgroundColor: "#444",
- color: "white",
- borderRadius: "3px",
- marginLeft: "8px",
- cursor: "pointer",
- },
- ".cm-diagnosticSource": { fontSize: "70%", opacity: 0.7 },
- ".cm-lintRange": { backgroundPosition: "left bottom", backgroundRepeat: "repeat-x", paddingBottom: "0.7px" },
- ".cm-lintRange-error": { backgroundImage: Sue("#d11") },
- ".cm-lintRange-warning": { backgroundImage: Sue("orange") },
- ".cm-lintRange-info": { backgroundImage: Sue("#999") },
- ".cm-lintRange-hint": { backgroundImage: Sue("#66d") },
- ".cm-lintRange-active": { backgroundColor: "#ffdd9980" },
- ".cm-tooltip-lint": { padding: 0, margin: 0 },
- ".cm-lintPoint": {
- position: "relative",
- "&:after": {
- content: '""',
- position: "absolute",
- bottom: 0,
- left: "-2px",
- borderLeft: "3px solid transparent",
- borderRight: "3px solid transparent",
- borderBottom: "4px solid #d11",
- },
- },
- ".cm-lintPoint-warning": { "&:after": { borderBottomColor: "orange" } },
- ".cm-lintPoint-info": { "&:after": { borderBottomColor: "#999" } },
- ".cm-lintPoint-hint": { "&:after": { borderBottomColor: "#66d" } },
- ".cm-panel.cm-panel-lint": {
- position: "relative",
- "& ul": {
- maxHeight: "100px",
- overflowY: "auto",
- "& [aria-selected]": { backgroundColor: "#ddd", "& u": { textDecoration: "underline" } },
- "&:focus [aria-selected]": {
- background_fallback: "#bdf",
- backgroundColor: "Highlight",
- color_fallback: "white",
- color: "HighlightText",
- },
- "& u": { textDecoration: "none" },
- padding: 0,
- margin: 0,
- },
- "& [name=close]": {
- position: "absolute",
- top: "0",
- right: "2px",
- background: "inherit",
- border: "none",
- font: "inherit",
- padding: 0,
- margin: 0,
- },
- },
- }),
- Tue = [
- fue,
- Tne.decorations.compute([fue], (e) => {
- let { selected: t, panel: n } = e.field(fue)
- return t && n && t.from != t.to ? U9.set([mue.range(t.from, t.to)]) : U9.none
- }),
- (function (e, t = {}) {
- let n = Y7.define(),
- r = D7.define({
- create: () => [],
- update(e, r) {
- if (
- e.length &&
- (t.hideOnChange && (r.docChanged || r.selection)
- ? (e = [])
- : t.hideOn && (e = e.filter((e) => !t.hideOn(r, e))),
- r.docChanged)
- ) {
- let t = []
- for (let n of e) {
- let e = r.changes.mapPos(n.pos, -1, u7.TrackDel)
- if (null != e) {
- let a = Object.assign(Object.create(null), n)
- ;(a.pos = e), null != a.end && (a.end = r.changes.mapPos(a.end)), t.push(a)
- }
- }
- e = t
- }
- for (let t of r.effects) t.is(n) && (e = t.value), t.is(fre) && (e = [])
- return e
- },
- provide: (e) => lre.from(e),
- })
- return [r, Ree.define((a) => new ure(a, e, r, n, t.hoverTime || 300)), dre]
- })(
- function (e, t, n) {
- let { diagnostics: r } = e.state.field(fue),
- a = [],
- o = 2e8,
- i = 0
- r.between(t - (n < 0 ? 1 : 0), t + (n > 0 ? 1 : 0), (e, r, { spec: s }) => {
- t >= e &&
- t <= r &&
- (e == r || ((t > e || n > 0) && (t < r || n < 0))) &&
- (a.push(s.diagnostic), (o = Math.min(e, o)), (i = Math.max(r, i)))
- })
- let s = e.state.facet(yue).tooltipFilter
- return (
- s && (a = s(a, e.state)),
- a.length
- ? { pos: o, end: i, above: e.state.doc.lineAt(o).to < i, create: () => ({ dom: gue(e, a) }) }
- : null
- )
- },
- {
- hideOn: function (e, t) {
- let n = t.pos,
- r = t.end || n,
- a = e.state.facet(yue).hideOn(e, n, r)
- if (null != a) return a
- let o = e.startState.doc.lineAt(t.pos)
- return !(!e.effects.some((e) => e.is(uue)) && !e.changes.touchesRange(o.from, Math.max(o.to, r)))
- },
- },
- ),
- Eue,
- ],
- Aue = ((e) => {
- var { theme: t, settings: n = {}, styles: r = [] } = e,
- a = { ".cm-gutters": {} },
- o = {}
- n.background && (o.backgroundColor = n.background),
- n.backgroundImage && (o.backgroundImage = n.backgroundImage),
- n.foreground && (o.color = n.foreground),
- n.fontSize && (o.fontSize = n.fontSize),
- (n.background || n.foreground) && (a["&"] = o),
- n.fontFamily && (a["&.cm-editor .cm-scroller"] = { fontFamily: n.fontFamily }),
- n.gutterBackground && (a[".cm-gutters"].backgroundColor = n.gutterBackground),
- n.gutterForeground && (a[".cm-gutters"].color = n.gutterForeground),
- n.gutterBorder && (a[".cm-gutters"].borderRightColor = n.gutterBorder),
- n.caret &&
- ((a[".cm-content"] = { caretColor: n.caret }),
- (a[".cm-cursor, .cm-dropCursor"] = { borderLeftColor: n.caret }))
- var i = {}
- return (
- n.gutterActiveForeground && (i.color = n.gutterActiveForeground),
- n.lineHighlight &&
- ((a[".cm-activeLine"] = { backgroundColor: n.lineHighlight }), (i.backgroundColor = n.lineHighlight)),
- (a[".cm-activeLineGutter"] = i),
- n.selection &&
- (a[
- "&.cm-focused .cm-selectionBackground, & .cm-line::selection, & .cm-selectionLayer .cm-selectionBackground, .cm-content ::selection"
- ] = { background: n.selection + " !important" }),
- n.selectionMatch && (a["& .cm-selectionMatch"] = { backgroundColor: n.selectionMatch }),
- [Tne.theme(a, { dark: "dark" === t }), joe(Moe.define(r))]
- )
- })({
- theme: "light",
- settings: {
- background: "var(--scalar-background-2)",
- foreground: "var(--scalar-color-1)",
- caret: "var(--scalar-color-1)",
- selection: "rgba(151, 183, 205, 0.2)",
- selectionMatch: "#e3dcce",
- gutterBackground: "var(--scalar-background-2)",
- gutterForeground: "var(--scalar-color-3)",
- gutterBorder: "transparent",
- lineHighlight: "var(--scalar-background-3)",
- fontFamily: "var(--scalar-font-code)",
- },
- styles: [
- { tag: [eoe.standard(eoe.tagName), eoe.tagName], color: "var(--scalar-color-purple)" },
- { tag: [eoe.comment], color: "var(--scalar-color-3)" },
- { tag: [eoe.className], color: "var(--scalar-color-orange)" },
- { tag: [eoe.variableName, eoe.propertyName, eoe.attributeName], color: "var(--scalar-color-1)" },
- { tag: [eoe.operator], color: "var(--scalar-color-2)" },
- { tag: [eoe.keyword, eoe.typeName, eoe.typeOperator], color: "var(--scalar-color-green)" },
- { tag: [eoe.string], color: "var(--scalar-color-blue)" },
- { tag: [eoe.bracket, eoe.regexp, eoe.meta], color: "var(--scalar-color-3)" },
- { tag: [eoe.number], color: "var(--scalar-color-blue)" },
- { tag: [eoe.name, eoe.quote], color: "var(--scalar-color-3)" },
- { tag: [eoe.heading], color: "var(--scalar-color-3)", fontWeight: "bold" },
- { tag: [eoe.emphasis], color: "var(--scalar-color-3)", fontStyle: "italic" },
- { tag: [eoe.deleted], color: "var(--scalar-color-3)", backgroundColor: "transparent" },
- { tag: [eoe.atom, eoe.bool, eoe.special(eoe.variableName)], color: "var(--scalar-color-3)" },
- { tag: [eoe.url, eoe.escape, eoe.regexp, eoe.link], color: "var(--scalar-color-1)" },
- { tag: eoe.link, textDecoration: "underline" },
- { tag: eoe.strikethrough, textDecoration: "line-through" },
- { tag: eoe.invalid, color: "var(--scalar-color-3)" },
- ],
- })
- var Cue = Object.defineProperty
- const Pue = new Fne({
- regexp: /(\{[^}]+\})/g,
- decoration: () => U9.mark({ attributes: { class: "api-client-url-variable" } }),
- }),
- Due = () =>
- Ree.fromClass(
- class {
- constructor(e) {
- ;((e, t, n) => {
- ;((e, t, n) => {
- t in e ? Cue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : (e[t] = n)
- })(e, t + "", n)
- })(this, "variables"),
- (this.variables = Pue.createDeco(e))
- }
- update(e) {
- this.variables = Pue.updateDeco(e, this.variables)
- }
- },
- {
- decorations: (e) => e.variables,
- provide: (e) =>
- Tne.atomicRanges.of((t) => {
- var n
- return (null == (n = t.plugin(e)) ? void 0 : n.variables) || U9.none
- }),
- },
- ),
- Rue = (e) => "provider" in e && !!Mn(e.provider),
- Nue = {
- key: "Mod-a",
- run: (e) => (e.dispatch({ selection: { anchor: 0, head: e.state.doc.length }, scrollIntoView: !1 }), !0),
- },
- $ue = (e) => {
- const t = Dn(null)
- function n() {
- if (e.codeMirrorRef.value) {
- const n = Rue(e) ? Mn(e.provider) : null,
- o = Mue({ ...r.value, provider: n })
- ;(t.value = new Tne({ parent: e.codeMirrorRef.value, extensions: o })), Rue(e) || a(Mn(e.content))
- }
- }
- Ya(
- e.codeMirrorRef,
- () => {
- var e
- null == (e = t.value) || e.destroy(), n()
- },
- { immediate: !0 },
- ),
- Mr(() => {
- var e
- return null == (e = t.value) ? void 0 : e.destroy()
- })
- const r = ii(() => ({
- onChange: e.onChange,
- onBlur: e.onBlur,
- onFocus: e.onFocus,
- disableTabIndent: Mn(e.disableTabIndent),
- language: Mn(e.language),
- classes: Mn(e.classes),
- readOnly: Mn(e.readOnly),
- lineNumbers: Mn(e.lineNumbers),
- withVariables: Mn(e.withVariables),
- disableEnter: Mn(e.disableEnter),
- disableCloseBrackets: Mn(e.disableCloseBrackets),
- withoutTheme: Mn(e.withoutTheme),
- lint: Mn(e.lint),
- additionalExtensions: Mn(e.extensions),
- placeholder: Mn(e.placeholder),
- }))
- Ya(
- () => (Rue(e) ? Mn(e.provider) : null),
- () => {
- var r
- Rue(e) && (null == (r = t.value) || r.destroy(), n())
- },
- ),
- Ya(
- r,
- () => {
- if (t.value) {
- const n = Rue(e) ? Mn(e.provider) : null,
- a = Mue({ ...r.value, provider: n })
- t.value.dispatch({ effects: Y7.reconfigure.of(a) })
- }
- },
- { immediate: !0 },
- )
- const a = (e = "") => {
- t.value &&
- t.value.state.doc.toString() !== e &&
- t.value.dispatch({
- changes: { from: 0, to: t.value.state.doc.length, insert: e },
- selection: { anchor: Math.min(t.value.state.selection.main.anchor, e.length) },
- })
- }
- return (
- Ya(
- () => Mn(e.content),
- () => {
- Rue(e) || a(Mn(e.content))
- },
- { immediate: !0 },
- ),
- { setCodeMirrorContent: a, codeMirror: t }
- )
- },
- Iue = {
- html: function (e = {}) {
- let t,
- n = ""
- !1 === e.matchClosingTags && (n = "noMatch"),
- !0 === e.selfClosingTags && (n = (n ? n + " " : "") + "selfClosing"),
- ((e.nestedLanguages && e.nestedLanguages.length) || (e.nestedAttributes && e.nestedAttributes.length)) &&
- (t = kce((e.nestedLanguages || []).concat(_de), (e.nestedAttributes || []).concat(Sde)))
- let r = t ? Ede.configure({ wrap: t, dialect: n }) : n ? Tde.configure({ dialect: n }) : Tde
- return new voe(r, [
- Tde.data.of({ autocomplete: xde(e) }),
- !1 !== e.autoCloseTags ? Cde : [],
- tde().support,
- Hle().support,
- ])
- },
- json: function () {
- return new voe(Rde)
- },
- yaml: function () {
- return new voe(aue)
- },
- css: Hle,
- }
- function Mue({
- onChange: e,
- onBlur: t,
- onFocus: n,
- provider: r,
- language: a,
- classes: o = [],
- readOnly: i = !1,
- lineNumbers: s = !1,
- withVariables: l = !1,
- disableEnter: c = !1,
- disableCloseBrackets: d = !1,
- disableTabIndent: u = !1,
- withoutTheme: p = !1,
- lint: h = !1,
- additionalExtensions: f = [],
- placeholder: m,
- }) {
- const g = [
- Wne(),
- joe(Foe, { fallback: !0 }),
- Tne.theme({
- ".cm-line": { lineHeight: "20px" },
- ".cm-gutterElement": { lineHeight: "20px" },
- ".cm-tooltip": { border: "1px solid #f5c6cb", fontSize: "12px" },
- ".cm-tooltip-lint": { backgroundColor: "#ffffff" },
- ".cm-diagnostic-error": { borderLeft: "0", color: "#dc1b19" },
- }),
- Tne.updateListener.of((t) => {
- t.docChanged && (null == e || e(t.state.doc.toString()))
- }),
- Tne.domEventHandlers({
- blur: (e, n) => {
- null == t || t(n.state.doc.toString())
- },
- focus: (e, t) => {
- null == n || n(t.state.doc.toString())
- },
- }),
- Tne.editorAttributes.of({ class: o.join(" ") }),
- ...f,
- ]
- if (
- (r && g.push(r),
- p || g.push(Aue),
- i
- ? g.push(Tne.editable.of(!1))
- : (g.push(
- s6.transactionFilter.of((e) => {
- if (!e.docChanged || (!e.isUserEvent("input.type") && !e.isUserEvent("input.complete"))) return e
- let t = e.startState.languageDataAt("indentOnInput", e.startState.selection.main.head)
- if (!t.length) return e
- let n = e.newDoc,
- { head: r } = e.newSelection.main,
- a = n.lineAt(r)
- if (r > a.from + 200) return e
- let o = n.sliceString(a.from, r)
- if (!t.some((e) => e.test(o))) return e
- let { state: i } = e,
- s = -1,
- l = []
- for (let { head: e } of i.selection.ranges) {
- let t = i.doc.lineAt(e)
- if (t.from == s) continue
- s = t.from
- let n = koe(i, t.from)
- if (null == n) continue
- let r = /^\s*/.exec(t.text)[0],
- a = xoe(i, n)
- r != a && l.push({ from: t.from, to: t.from + r.length, insert: a })
- }
- return l.length ? [e, { changes: l, sequential: !0 }] : e
- }),
- Yoe(),
- (function (e = {}) {
- return [lse, tse, Bie.of(e), ise, Zse, cse]
- })(),
- Ine.of([...qse, Nue]),
- Yoe(),
- ),
- d || g.push([Ise, Pse], Ine.of([...Mse])),
- u ? g.push(Ine.of([{ key: "Tab", run: () => !1, shift: () => !1 }])) : g.push(Ine.of([Wse]))),
- m &&
- g.push(
- ((b = m),
- Ree.fromClass(
- class {
- constructor(e) {
- ;(this.view = e),
- (this.placeholder = b ? U9.set([U9.widget({ widget: new Kne(b), side: 1 }).range(0)]) : U9.none)
- }
- get decorations() {
- return this.view.state.doc.length ? U9.none : this.placeholder
- }
- },
- { decorations: (e) => e.decorations },
- )),
- ),
- a && Iue[a] && g.push(Iue[a]()),
- h && "json" === a)
- ) {
- const e = (function (e, t = {}) {
- return [yue.of({ source: e, config: t }), vue, Tue]
- })((e) => {
- const t = []
- try {
- JSON.parse(e.state.doc.toString())
- } catch (n) {
- n instanceof Error && t.push({ from: 0, to: e.state.doc.length, severity: "error", message: n.message })
- }
- return t
- })
- g.push(e)
- }
- var b
- return (
- s &&
- g.push(
- (function (e = {}) {
- return [Dre.of(e), [_re], $re]
- })(),
- ),
- l && g.push(Due()),
- c
- ? g.push(
- Ine.of([
- { key: "Enter", run: () => !0 },
- { key: "Ctrl-Enter", mac: "Cmd-Enter", run: () => !0 },
- { key: "Shift-Enter", run: () => !0 },
- ]),
- )
- : g.push(Ine.of([{ key: "Enter", run: Hse }])),
- g
- )
- }
- const Lue = { class: "w-full" },
- Que = { class: "flex items-center justify-center h-4 w-4" },
- Bue = Ro("span", null, "Add value", -1),
- jue = Hr({
- __name: "DataTableInputSelect",
- props: { modelValue: {}, value: {} },
- emits: ["update:modelValue"],
- setup(e, { emit: t }) {
- const n = e,
- r = t,
- a = ii(() => n.value ?? []),
- o = Dn(n.modelValue.toString()),
- i = Dn(!1),
- s = Dn(""),
- l = Dn(null)
- Ya(s, (e) => {
- r("update:modelValue", e)
- })
- const c = (e) => {
- ;(o.value = e), r("update:modelValue", e), (i.value = !1)
- },
- d = () => {
- s.value.trim() && (c(s.value), (s.value = ""))
- },
- u = () => {
- s.value.trim() || ((o.value = ""), (i.value = !1))
- },
- p = (e) => o.value === e
- return (
- Ya(i, (e) => {
- e &&
- rr(() => {
- var e
- null == (e = l.value) || e.focus()
- })
- }),
- (e, t) => (
- xo(),
- Eo("div", Lue, [
- i.value
- ? Fr(
- (xo(),
- Eo(
- "input",
- {
- key: 0,
- ref_key: "inputRef",
- ref: l,
- "onUpdate:modelValue": t[0] || (t[0] = (e) => (s.value = e)),
- class: "border-none focus:text-c-1 text-c-2 min-w-0 w-full px-2 py-1.5 outline-none",
- placeholder: "Value",
- type: "text",
- onBlur: u,
- onKeyup: Yi(d, ["enter"]),
- },
- null,
- 544,
- )),
- [[Bi, s.value]],
- )
- : (xo(),
- To(
- In(cL),
- { key: 1, resize: "", value: o.value },
- {
- items: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- a.value,
- (e) => (
- xo(),
- To(
- In(pL),
- {
- key: e,
- class:
- "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
- value: e,
- onClick: (t) => c(e),
- },
- {
- default: yr(() => [
- Ro(
- "div",
- {
- class: Ge([
- "flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",
- p(e) ? "bg-blue text-b-1" : "text-transparent",
- ]),
- },
- [No(In(BI), { class: "size-2.5", icon: "Checkmark", thickness: "3.5" })],
- 2,
- ),
- Mo(" " + at(e), 1),
- ]),
- _: 2,
- },
- 1032,
- ["value", "onClick"],
- )
- ),
- ),
- 128,
- )),
- No(In(uL)),
- No(
- In(pL),
- { class: "flex items-center gap-1.5", onClick: t[1] || (t[1] = (e) => (i.value = !0)) },
- {
- default: yr(() => [Ro("div", Que, [No(In(BI), { class: "h-2.5", icon: "Add" })]), Bue]),
- _: 1,
- },
- ),
- ]),
- default: yr(() => [
- No(
- In(mw),
- {
- class: "gap-1.5 font-normal h-full justify-start px-2 py-1.5",
- fullWidth: "",
- variant: "ghost",
- },
- {
- default: yr(() => [
- Ro("span", null, at(o.value || "Select a value"), 1),
- o.value ? Qo("", !0) : (xo(), To(In(BI), { key: 0, icon: "ChevronDown", size: "xs" })),
- ]),
- _: 1,
- },
- ),
- ]),
- _: 1,
- },
- 8,
- ["value"],
- )),
- ])
- )
- )
- },
- }),
- Uue = { id: "env-dialog", class: "z-10 w-60 rounded border bg-b-1 p-1", open: !0, tabindex: "0" },
- Fue = { key: 0 },
- zue = ["onClick"],
- que = { class: "flex items-center gap-1.5 whitespace-nowrap" },
- Zue = { class: "w-20 overflow-hidden text-ellipsis text-right" },
- Hue = Hr({
- __name: "EnvironmentVariableDropdown",
- props: { query: {} },
- emits: ["select"],
- setup(e, { emit: t }) {
- const n = e,
- r = t,
- { activeParsedEnvironments: a, environments: o } = E8(),
- i = X1(),
- s = new Nq(a.value, { keys: ["key", "value"] }),
- l = ii(() => {
- const e = n.query
- if (!e) return a.value.slice(-4)
- const t = s.search(e)
- return t.length > 0 ? t.map((e) => e.item) : []
- }),
- c = (e) => ("_scalarEnvId" in e ? `bg-${o[e._scalarEnvId].color}` : "bg-grey")
- return (e, t) => (
- xo(),
- Eo("dialog", Uue, [
- l.value.length
- ? (xo(),
- Eo("ul", Fue, [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- l.value,
- (e, t) => (
- xo(),
- Eo(
- "li",
- {
- key: t,
- class:
- "font-code text-3xs hover:bg-b-2 flex cursor-pointer items-center justify-between gap-1.5 rounded p-1.5 transition-colors duration-150",
- onClick: (t) =>
- ((e) => {
- r("select", e)
- })(e.key),
- },
- [
- Ro("div", que, [
- Ro("span", { class: Ge(["h-2.5 w-2.5 min-w-2.5 rounded-full", c(e)]) }, null, 2),
- Mo(" " + at(e.key), 1),
- ]),
- Ro("span", Zue, at(e.value), 1),
- ],
- 8,
- zue,
- )
- ),
- ),
- 128,
- )),
- ]))
- : (xo(),
- To(
- In(mw),
- {
- key: 1,
- class:
- "font-code text-3xs hover:bg-b-2 flex h-7 w-full justify-start gap-2 px-2 transition-colors duration-150",
- variant: "secondary",
- onClick: t[0] || (t[0] = (e) => In(i).push("/environment")),
- },
- {
- default: yr(() => [No(In(BI), { class: "w-2", icon: "Add", size: "xs" }), Mo(" Add variable ")]),
- _: 1,
- },
- )),
- ])
- )
- },
- })
- var Vue = Object.defineProperty,
- Wue = (e, t, n) =>
- ((e, t, n) => (t in e ? Vue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : (e[t] = n)))(
- e,
- "symbol" != typeof t ? t + "" : t,
- n,
- )
- let Xue = class e extends B9 {
- constructor(e, t, n) {
- super(),
- Wue(this, "queryTerm"),
- Wue(this, "onSelect"),
- Wue(this, "dropdown", null),
- Wue(this, "withServers"),
- (this.queryTerm = e),
- (this.onSelect = t),
- (this.withServers = n)
- }
- updateQueryTerm(e) {
- this.queryTerm !== e && (this.queryTerm = e)
- }
- getQueryTerm() {
- return this.queryTerm
- }
- toDOM(e) {
- const t = document.createElement("span")
- return (
- (t.style.position = "fixed"),
- setTimeout(() => {
- var n
- const r = e.state.selection.main.head,
- a = e.coordsAtPos(r - this.queryTerm.length - 2)
- if (a) {
- const e = null == (n = document.querySelector(".scalar-client")) ? void 0 : n.getBoundingClientRect()
- e &&
- (this.dropdown = Ji({
- render: () =>
- si(fo, { to: ".scalar-client" }, [
- si(Hue, {
- query: this.queryTerm,
- onSelect: this.onSelect,
- withServers: this.withServers,
- style: {
- position: "absolute",
- left: a.left - e.left + "px",
- top: `calc(${a.bottom - e.top}px + 6px)`,
- },
- }),
- ]),
- })),
- this.dropdown.use(e2),
- this.dropdown.mount(t)
- }
- }, 0),
- t
- )
- }
- destroy() {
- this.dropdown && (this.dropdown.unmount(), (this.dropdown = null))
- }
- eq(t) {
- return t instanceof e && this.queryTerm === t.queryTerm
- }
- }
- const Yue = (e) =>
- Ree.fromClass(
- class {
- constructor(e) {
- Wue(this, "decorations"),
- Wue(this, "widget", null),
- Wue(this, "view"),
- (this.view = e),
- (this.decorations = U9.none),
- (this.handleDropdownSelect = this.handleDropdownSelect.bind(this))
- }
- handleDropdownSelect(t) {
- var n
- if (!this.widget) return
- const { state: r, dispatch: a } = this.view,
- o = r.selection.main.head,
- i = Math.max(0, o - this.widget.getQueryTerm().length - 2),
- s = `{{${t}}}`
- a({ changes: { from: i, to: o, insert: s } }),
- null == (n = this.widget) || n.destroy(),
- (this.widget = null),
- (this.decorations = U9.none),
- this.view.dispatch({ effects: Y7.appendConfig.of([]) })
- const l = i + s.length
- ;(this.widget = new Xue("", this.handleDropdownSelect, e.withServers)),
- (this.decorations = U9.set([U9.widget({ widget: this.widget, side: 1 }).range(l)])),
- this.view.dispatch({ selection: { anchor: l } }),
- this.view.focus()
- }
- update(e) {
- var t, n
- const r = e.state.selection.main.head,
- a = e.state.doc.sliceString(0, r),
- o = [],
- i = a.lastIndexOf("{{")
- if (i > a.lastIndexOf("}}")) {
- const e = a.slice(i + 2)
- this.widget && this.widget.getQueryTerm() === e
- ? this.widget.updateQueryTerm(e)
- : (null == (t = this.widget) || t.destroy(), (this.widget = new Xue(e, this.handleDropdownSelect))),
- o.push(U9.widget({ widget: this.widget, side: 1 }).range(r))
- } else null == (n = this.widget) || n.destroy(), (this.widget = null)
- this.decorations = U9.set(o)
- }
- },
- { decorations: (e) => e.decorations },
- )
- var Gue = Object.defineProperty,
- Kue = (e, t, n) =>
- ((e, t, n) => (t in e ? Gue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : (e[t] = n)))(
- e,
- "symbol" != typeof t ? t + "" : t,
- n,
- )
- const { activeParsedEnvironments: Jue, isReadOnly: epe, environments: tpe } = E8()
- let npe = class e extends B9 {
- constructor(e) {
- super(), Kue(this, "app"), (this.variableName = e)
- }
- toDOM() {
- const e = document.createElement("span")
- ;(e.className = "cm-pill"), (e.textContent = `${this.variableName}`)
- const t = Hr({
- props: ["variableName"],
- render() {
- const t = Jue.value.find((e) => e.key === this.variableName)
- t &&
- (e.className += ` ${((e) => ("_scalarEnvId" in e ? `bg-${tpe[e._scalarEnvId].color}` : "bg-grey"))(t)}`)
- const n = t
- ? si("div", { class: "p-2" }, t.value)
- : si("div", { class: "divide-y divide-1/2 grid" }, [
- si("span", { class: "p-2" }, "Variable not found"),
- !epe.value &&
- si("div", { class: "p-1" }, [
- si(
- mw,
- {
- class:
- "gap-1.5 justify-start font-normal px-1 py-1.5 h-auto transition-colors rounded no-underline text-xxs w-full hover:bg-b-2",
- variant: "ghost",
- onClick: () => {
- window.location.href = "/environment"
- },
- },
- [si(BI, { class: "w-2", icon: "Add", size: "xs" }), "Add variable"],
- ),
- ]),
- ])
- return si(
- PQ,
- { align: "start", class: "bg-b-1 w-full", delay: 0, side: "bottom", sideOffset: 6 },
- {
- trigger: () => si("span", `${this.variableName}`),
- content: () =>
- si("div", { class: "w-content shadow-lg rounded bg-b-1 text-xxs leading-5 text-c-1" }, n),
- },
- )
- },
- })
- return (this.app = Ji(t, { variableName: this.variableName })), this.app.mount(e), e
- }
- destroy() {
- this.app && this.app.unmount()
- }
- eq(t) {
- return t instanceof e && t.variableName === this.variableName
- }
- ignoreEvent(e) {
- return !1
- }
- }
- const rpe = Ree.fromClass(
- class {
- constructor(e) {
- Kue(this, "decorations"), (this.decorations = this.buildDecorations(e))
- }
- update(e) {
- ;(e.docChanged || e.viewportChanged) && (this.decorations = this.buildDecorations(e.view))
- }
- buildDecorations(e) {
- const t = new f6()
- for (const { from: n, to: r } of e.visibleRanges) {
- const a = e.state.doc.sliceString(n, r),
- o = /{{(.*?)}}/g
- let i
- for (; null !== (i = o.exec(a)); ) {
- const e = n + i.index,
- r = e + i[0].length,
- a = i[1]
- t.add(e, r, U9.widget({ widget: new npe(a), side: 1 }))
- }
- }
- return t.finish()
- }
- },
- { decorations: (e) => e.decorations },
- ),
- ape = Tne.domEventHandlers({
- keydown(e, t) {
- if ("Backspace" === e.key) {
- const { state: n } = t,
- { from: r, to: a } = n.selection.main
- if (r === a && r > 0 && "}}" === n.doc.sliceString(r - 2, r))
- return (
- t.dispatch({ changes: { from: r - 2, to: a }, selection: { anchor: r - 2 } }), e.preventDefault(), !0
- )
- }
- return !1
- },
- }),
- ope = ["id"],
- ipe = { key: 3, class: "absolute centered-y right-7 text-orange text-xs" },
- spe = {
- key: 4,
- class:
- "required absolute centered-y right-0 pt-px pr-2 text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-has-[.cm-focused]:opacity-0",
- },
- lpe = Hr({
- inheritAttrs: !1,
- __name: "CodeInput",
- props: {
- colorPicker: { type: Boolean, default: !1 },
- modelValue: {},
- error: { type: Boolean },
- emitOnBlur: { type: Boolean, default: !0 },
- lineNumbers: { type: Boolean },
- lint: { type: Boolean },
- disableTabIndent: { type: Boolean, default: !1 },
- language: {},
- handleFieldSubmit: {},
- handleFieldChange: {},
- placeholder: {},
- required: { type: Boolean },
- disableEnter: { type: Boolean, default: !1 },
- disableCloseBrackets: { type: Boolean, default: !1 },
- enum: {},
- type: {},
- nullable: { type: Boolean, default: !1 },
- withVariables: { type: Boolean, default: !0 },
- withServers: { type: Boolean, default: !1 },
- },
- emits: ["submit", "update:modelValue"],
- setup(e, { emit: t }) {
- var n
- const r = e,
- a = t,
- o = ra(),
- i = o.id || `id-${NL()}`,
- s = Dn(!1),
- { activeWorkspace: l } = E8()
- const c = []
- r.colorPicker && c.push(Sie),
- r.withVariables && !l.value.isReadOnly && c.push(Yue({ withServers: r.withServers })),
- c.push(rpe, ape)
- const d = Dn(null),
- { codeMirror: u } = $ue({
- content: zn(() => (void 0 !== r.modelValue ? String(r.modelValue) : "")),
- onChange: function (e) {
- return e === r.modelValue
- ? null
- : r.handleFieldChange
- ? r.handleFieldChange(e)
- : a("update:modelValue", e)
- },
- onFocus: () => (s.value = !0),
- onBlur: (e) =>
- (function (e) {
- ;(s.value = !1),
- r.emitOnBlur &&
- r.modelValue &&
- (function (e) {
- r.handleFieldSubmit ? r.handleFieldSubmit(e) : a("submit", e)
- })(e)
- })(e),
- codeMirrorRef: d,
- disableTabIndent: zn(() => r.disableTabIndent),
- disableEnter: zn(() => r.disableEnter),
- disableCloseBrackets: zn(() => r.disableCloseBrackets),
- lineNumbers: zn(() => r.lineNumbers),
- language: zn(() => r.language),
- lint: zn(() => r.lint),
- extensions: c,
- placeholder: zn(() => r.placeholder),
- })
- null == (n = u.value) || n.focus(),
- Ya(u, () => {
- u.value && Object.prototype.hasOwnProperty.call(o, "autofocus") && u.value.focus()
- })
- const p = ii(() => {
- var e
- return "boolean" === r.type || (null != (e = r.type) && e.includes("boolean")) || r.nullable
- ? ["true", "false", "null"]
- : ["true", "false"]
- })
- return (e, t) => {
- var n
- return (
- xo(),
- Eo(
- go,
- null,
- [
- r.enum && r.enum.length
- ? (xo(),
- To(
- jue,
- {
- key: 0,
- modelValue: r.modelValue,
- value: r.enum,
- "onUpdate:modelValue": t[0] || (t[0] = (e) => a("update:modelValue", e)),
- },
- null,
- 8,
- ["modelValue", "value"],
- ))
- : "boolean" === r.type || (null != (n = r.type) && n.includes("boolean"))
- ? (xo(),
- To(
- jue,
- {
- key: 1,
- modelValue: r.modelValue,
- value: p.value,
- "onUpdate:modelValue": t[1] || (t[1] = (e) => a("update:modelValue", e)),
- },
- null,
- 8,
- ["modelValue", "value"],
- ))
- : (xo(),
- Eo(
- "div",
- Fo({ key: 2, id: In(i) }, e.$attrs, {
- ref_key: "codeMirrorRef",
- ref: d,
- class: [
- "peer font-code w-full whitespace-nowrap text-xs leading-[1.44] relative",
- { "flow-code-input--error": e.error },
- ],
- }),
- null,
- 16,
- ope,
- )),
- e.$slots.warning ? (xo(), Eo("div", ipe, [Xr(e.$slots, "warning", {}, void 0, !0)])) : Qo("", !0),
- Xr(e.$slots, "icon", {}, void 0, !0),
- e.required ? (xo(), Eo("div", spe, " Required ")) : Qo("", !0),
- ],
- 64,
- )
- )
- }
- },
- }),
- cpe = T8(lpe, [["__scopeId", "data-v-5c9fc64f"]]),
- dpe = (e, t = 2) => (e > 1e3 ? (e / 1e3).toFixed(t) + "s" : e + "ms"),
- upe = {
- 100: { color: "text-yellow" },
- 200: { color: "text-green" },
- 202: { color: "text-green" },
- 300: { color: "text-blue" },
- 304: { color: "text-blue" },
- 400: { color: "text-red" },
- 401: { color: "text-orange" },
- 422: { color: "text-yellow" },
- 423: { color: "text-purple" },
- 505: { color: "text-orange" },
- },
- ppe = (e) => upe[e] || { color: "text-grey" },
- hpe = { class: "font-code flex flex-1 gap-1.5 text-sm font-medium" },
- fpe = { class: "text-c-2 gap-0" },
- mpe = { class: "font-code text-c-3 flex flex-row items-center gap-1.5 text-sm font-medium" },
- gpe = Hr({
- __name: "AddressBarHistory",
- props: { open: { type: Boolean } },
- setup(e) {
- const { activeRequest: t, requestExampleMutators: n } = E8(),
- r = X1()
- function a(e) {
- const t = new URL(e),
- n = new URLSearchParams(t.search).get("scalar_url")
- return n ? new URL(n).href : t.href
- }
- return (e, o) => (
- xo(),
- Eo(
- go,
- null,
- [
- In(t).history.length
- ? (xo(),
- To(
- In(Ny),
- { key: 0, class: "hover:bg-b-2 mr-1 rounded p-1.5" },
- {
- default: yr(() => [
- No(In(BI), { class: "text-c-3", icon: "History", size: "sm", thickness: "2.25" }),
- ]),
- _: 1,
- },
- ))
- : Qo("", !0),
- Ro(
- "div",
- {
- class: Ge([
- "absolute left-0 top-[33px] w-full rounded before:pointer-events-none before:absolute before:left-0 before:top-[-33px] before:h-[calc(100%+33px)] before:w-full before:rounded z-50",
- { "before:shadow-lg": e.open },
- ]),
- },
- [
- No(
- In($y),
- {
- class:
- "bg-b-1 custom-scroll bg-mix-transparent bg-mix-amount-30 max-h-[300px] rounded-b p-[3px] pt-0 backdrop-blur",
- },
- {
- default: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- In(t).history,
- ({ response: e }, o) => (
- xo(),
- To(
- In(Iy),
- {
- key: o,
- class:
- "ui-active:bg-b-2 text-c-1 ui-active:text-c-1 flex cursor-pointer flex-row gap-2.5 rounded py-1.5 pr-3",
- value: o,
- onClick: (e) =>
- (function (e) {
- const a = t.value.history[e]
- t.value.uid !== a.request.requestUid &&
- r.push(`/request/${a.request.requestUid}`),
- n.set(a.request)
- })(o),
- },
- {
- default: yr(() => {
- var t
- return [
- Ro("div", hpe, [
- e.config.method
- ? (xo(),
- To(
- $8,
- { key: 0, class: "text-[11px] min-w-[44px]", method: e.config.method },
- null,
- 8,
- ["method"],
- ))
- : Qo("", !0),
- Ro("span", fpe, at(a(e.config.url)), 1),
- ]),
- Ro("div", mpe, [
- Ro("span", null, at(In(dpe)(e.duration)), 1),
- Ro("span", { class: Ge([In(ppe)(e.status).color]) }, at(e.status), 3),
- Ro("span", null, at(null == (t = In(Td)[e.status]) ? void 0 : t.name), 1),
- ]),
- ]
- }),
- _: 2,
- },
- 1032,
- ["value", "onClick"],
- )
- ),
- ),
- 128,
- )),
- ]),
- _: 1,
- },
- ),
- ],
- 2,
- ),
- ],
- 64,
- )
- )
- },
- }),
- bpe = Mm(Symbol()),
- vpe = (e) => (br("data-v-231a70ec"), (e = e()), vr(), e),
- ype = { key: 0, class: "order-last lg:order-none lg:w-auto w-full" },
- Ope = { class: "m-auto flex basis-1/2 flex-row items-center" },
- wpe = { class: "pointer-events-none absolute left-0 top-0 z-10 block h-full w-full overflow-hidden" },
- xpe = { class: "flex gap-1" },
- kpe = { class: "scroll-timeline-x scroll-timeline-x-hidden relative flex w-full" },
- _pe = vpe(() => Ro("div", { class: "fade-left" }, null, -1)),
- Spe = vpe(() => Ro("div", { class: "fade-right" }, null, -1)),
- Epe = vpe(() => Ro("span", { class: "text-xxs relative z-10 lg:flex hidden" }, "Send", -1)),
- Tpe = Hr({
- __name: "AddressBar",
- setup(e) {
- const {
- activeRequest: t,
- activeExample: n,
- isReadOnly: r,
- requestMutators: a,
- requestExampleMutators: o,
- requestsHistory: i,
- } = E8(),
- s = Dn(i.value[0]),
- l = Qm()
- Am(Hz() ? l.meta_enter : l.ctrl_enter, () => bpe.emit()),
- Ya(
- () => {
- var e
- return null == (e = t.value) ? void 0 : e.path
- },
- (e) => {
- t.value &&
- ((e) => {
- !t.value || t.value.path === e || a.edit(t.value.uid, "path", e)
- })(e)
- },
- )
- const c = Dn(100),
- d = Dn(!1)
- function u(e) {
- t.value && a.edit(t.value.uid, "method", e)
- }
- function p() {
- if (!t.value) return
- const { method: e } = t.value
- return Ed[e].backgroundColor
- }
- bpe.on(() => {
- if (d.value) return
- d.value = !0
- const e = setInterval(() => {
- ;(c.value -= 5), c.value <= 0 && (clearInterval(e), (c.value = 100), (d.value = !1))
- }, 20)
- })
- const h = (e) => {
- n.value && o.edit(n.value.uid, "url", e)
- }
- return (e, a) =>
- In(t) && In(n)
- ? (xo(),
- Eo("div", ype, [
- Ro("div", Ope, [
- No(
- In(Ry),
- { modelValue: s.value, "onUpdate:modelValue": a[2] || (a[2] = (e) => (s.value = e)) },
- {
- default: yr(({ open: e }) => [
- Ro(
- "div",
- {
- class: Ge([
- "text-xxs bg-b-1 relative flex w-full lg:min-w-[720px] lg:max-w-[720px] order-last lg:order-none flex-1 flex-row items-stretch rounded border p-[3px]",
- { "rounded-b-none": e },
- { "border-transparent": e },
- ]),
- },
- [
- Ro("div", wpe, [
- Ro(
- "div",
- {
- class: Ge([
- "bg-mix-transparent bg-mix-amount-95 absolute left-0 top-0 h-full w-full",
- p(),
- ]),
- style: He({ transform: `translate3d(-${c.value}%,0,0)` }),
- },
- null,
- 6,
- ),
- ]),
- Ro("div", xpe, [
- No(
- $8,
- {
- class: "font-code text-xxs font-medium",
- isEditable: !In(r),
- isSquare: "",
- method: In(t).method,
- onChange: u,
- },
- null,
- 8,
- ["isEditable", "method"],
- ),
- ]),
- Ro("div", kpe, [
- _pe,
- No(
- cpe,
- {
- disableCloseBrackets: "",
- disabled: In(r),
- disableEnter: "",
- disableTabIndent: "",
- emitOnBlur: !1,
- modelValue: In(n).url,
- placeholder: "Enter URL to get started",
- server: "",
- onSubmit: a[0] || (a[0] = (e) => In(bpe).emit()),
- "onUpdate:modelValue": h,
- },
- null,
- 8,
- ["disabled", "modelValue"],
- ),
- Spe,
- ]),
- No(gpe, { open: e }, null, 8, ["open"]),
- No(
- In(mw),
- {
- class: "relative h-auto shrink-0 gap-1 overflow-hidden pl-2 pr-2.5 py-1 z-[1]",
- disabled: d.value,
- onClick: a[1] || (a[1] = (e) => In(bpe).emit()),
- },
- {
- default: yr(() => [
- No(In(BI), {
- class: "relative z-10 shrink-0 fill-current",
- icon: "Play",
- size: "xs",
- }),
- Epe,
- ]),
- _: 1,
- },
- 8,
- ["disabled"],
- ),
- ],
- 2,
- ),
- ]),
- _: 1,
- },
- 8,
- ["modelValue"],
- ),
- ]),
- ]))
- : Qo("", !0)
- },
- }),
- Ape = T8(Tpe, [["__scopeId", "data-v-231a70ec"]]),
- Cpe = { class: "bg-b-1 sticky top-0 z-50 px-3 py-2.5 pb-0" },
- Ppe = { class: "w-[15px] flex items-center justify-center" },
- Dpe = { class: "sidebar-search-input ml-1.5 flex w-full items-center justify-between text-sm font-medium" },
- Rpe = Ro("span", { class: "sidebar-search-placeholder" }, "Search", -1),
- Npe = Hr({
- __name: "SearchButton",
- emits: ["openSearchModal"],
- setup(e, { emit: t }) {
- const n = t
- return (e, t) => (
- xo(),
- Eo("div", Cpe, [
- Ro(
- "button",
- {
- class: "shadow-border text-c-2 flex w-full items-center rounded p-1.5",
- type: "button",
- onClick: t[0] || (t[0] = (e) => n("openSearchModal")),
- },
- [
- Ro("div", Ppe, [No(In(BI), { icon: "Search", size: "xs", thickness: "2.5" })]),
- Ro("div", Dpe, [Rpe, No(R8, { hotkey: "k" })]),
- ],
- ),
- ])
- )
- },
- }),
- $pe = ((e) => (br("data-v-b9a9246e"), (e = e()), vr(), e))(() =>
- Ro("div", { class: "ref-search-meta" }, [Ro("span", null, "↑↓ Navigate"), Ro("span", null, "⏎ Select")], -1),
- ),
- Ipe = Hr({
- __name: "SearchModal",
- props: { modalState: {} },
- setup(e) {
- const t = e,
- n = X1(),
- { requests: r } = E8(),
- a = Qm(),
- o = Dn([]),
- i = Dn([]),
- s = Dn(0),
- l = Dn(""),
- c = Dn(null),
- d = new Nq(o.value, { keys: ["title", "description", "body"] }),
- u = () => {
- ;(s.value = 0), (i.value = d.search(l.value))
- }
- function p(e) {
- n.push(e.item.id), t.modalState.hide()
- }
- Ya(
- () => t.modalState.open,
- (e) => {
- var t
- e && (null == (t = c.value) || t.focus(), (l.value = ""), (s.value = 0), (i.value = []))
- },
- ),
- Ya(
- r,
- (e) => {
- Object.keys(e).forEach((e) => {
- const t = r[e]
- o.value.push({
- id: e,
- title: t.summary ?? t.method,
- description: t.description ?? "",
- httpVerb: t.method,
- path: t.path,
- })
- }),
- d.setCollection(o.value)
- },
- { immediate: !0 },
- )
- const h = ii(() => f.value[s.value]),
- f = ii(() => (0 === l.value.length ? o.value.map((e) => ({ item: e })) : i.value))
- return (
- Am(a.enter, () => {
- t.modalState.open && window && p(h.value)
- }),
- Am(a.ArrowDown, () => {
- var e
- t.modalState.open &&
- window &&
- (s.value < f.value.length - 1 ? s.value++ : (s.value = 0),
- null == (e = document.getElementById(`search-modal-${h.value.item.id}`)) ||
- e.scrollIntoView({ behavior: "smooth", block: "center" }))
- }),
- Am(a.ArrowUp, () => {
- var e
- t.modalState.open &&
- window &&
- (s.value > 0 ? s.value-- : (s.value = f.value.length - 1),
- null == (e = document.getElementById(`search-modal-${h.value.item.id}`)) ||
- e.scrollIntoView({ behavior: "smooth", block: "center" }))
- }),
- (e, t) => (
- xo(),
- To(
- In(sw),
- { state: e.modalState, variant: "search" },
- {
- default: yr(() => [
- Ro(
- "div",
- { ref_key: "searchModalRef", ref: c, class: "ref-search-container" },
- [
- No(
- In(wL),
- {
- modelValue: l.value,
- "onUpdate:modelValue": t[0] || (t[0] = (e) => (l.value = e)),
- onInput: u,
- },
- null,
- 8,
- ["modelValue"],
- ),
- ],
- 512,
- ),
- No(
- In(RL),
- { class: "ref-search-results custom-scroll", noResults: !f.value.length },
- {
- query: yr(() => [Mo(at(l.value), 1)]),
- default: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- f.value,
- (e, t) => (
- xo(),
- To(
- In(PL),
- {
- id: `#search-modal-${e.item.id}`,
- key: e.refIndex,
- active: s.value === t,
- icon: "Terminal",
- onClick: (t) => p(e),
- onFocus: (e) => (s.value = t),
- },
- Zr(
- {
- addon: yr(() => [
- No(In($8), { method: e.item.httpVerb ?? "get" }, null, 8, ["method"]),
- ]),
- default: yr(() => [Mo(at(e.item.title) + " ", 1)]),
- _: 2,
- },
- [
- (e.item.httpVerb || e.item.path) && e.item.path !== e.item.title
- ? { name: "description", fn: yr(() => [Mo(at(e.item.path), 1)]), key: "0" }
- : e.item.description
- ? {
- name: "description",
- fn: yr(() => [Mo(at(e.item.description), 1)]),
- key: "1",
- }
- : void 0,
- ],
- ),
- 1032,
- ["id", "active", "onClick", "onFocus"],
- )
- ),
- ),
- 128,
- )),
- ]),
- _: 1,
- },
- 8,
- ["noResults"],
- ),
- $pe,
- ]),
- _: 1,
- },
- 8,
- ["state"],
- )
- )
- )
- },
- }),
- Mpe = T8(Ipe, [["__scopeId", "data-v-b9a9246e"]]),
- Lpe = { class: "fixed relative bottom-[50px] z-10 flex p-2" },
- Qpe = Hr({
- __name: "SidebarButton",
- props: { click: { type: Function } },
- setup(e) {
- const t = e,
- n = () => {
- t.click()
- }
- return (e, t) => (
- xo(),
- Eo("div", Lpe, [
- No(
- In(mw),
- {
- class: "bg-b-1 text-c-1 hover:bg-b-2 group relative w-full border p-1.5 h-auto",
- icon: "Plus",
- variant: "outlined",
- onClick: n,
- },
- {
- default: yr(() => [
- Xr(e.$slots, "title"),
- No(R8, {
- class: "absolute right-2 group-hover:opacity-80 text-c-2",
- hotkey: "N",
- onHotkeyPressed: n,
- }),
- ]),
- _: 3,
- },
- ),
- ])
- )
- },
- }),
- Bpe = { class: "size-3.5", fill: "none", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" },
- jpe = Ro(
- "defs",
- null,
- [
- Ro("clipPath", { id: "mask" }, [
- Ro("path", { "clip-rule": "evenodd", d: "M9 3.2H4c-1.7 0-3 1.3-3 3v11.5c0 1.7 1.3 3 3 3h5V3.2z" }),
- ]),
- ],
- -1,
- ),
- Upe = { "clip-path": "url(#mask)" },
- Fpe = Ro(
- "path",
- {
- d: "M20 20.8H4c-1.7 0-3-1.3-3-3V6.2c0-1.7 1.3-3 3-3h16c1.7 0 3 1.3 3 3v11.5c0 1.7-1.3 3-3 3zM9 3.2v17.5",
- stroke: "currentColor",
- "stroke-linecap": "round",
- "stroke-linejoin": "round",
- "stroke-width": "2",
- },
- null,
- -1,
- ),
- zpe = Hr({
- __name: "SidebarToggle",
- props: { modelValue: { type: Boolean } },
- emits: ["update:modelValue"],
- setup: (e) => (e, t) => (
- xo(),
- Eo(
- "button",
- {
- class: "text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",
- type: "button",
- onClick: t[0] || (t[0] = (t) => e.$emit("update:modelValue", !e.modelValue)),
- },
- [
- (xo(),
- Eo("svg", Bpe, [
- jpe,
- Ro("g", Upe, [
- Ro(
- "path",
- {
- class: Ge([
- "transition-transform duration-300",
- e.modelValue ? "translate-x-0" : "-translate-x-1/2",
- ]),
- d: "M1 3.2h8v17.5H1z",
- fill: "currentColor",
- },
- null,
- 2,
- ),
- ]),
- Fpe,
- ])),
- ],
- )
- ),
- }),
- qpe = { class: "m-1 mt-0 flex min-h-0 flex-1 rounded xl:rounded-lg xl:border xl:overflow-hidden leading-3 z-0" },
- Zpe = T8({}, [
- [
- "render",
- function (e, t) {
- return xo(), Eo("div", qpe, [Xr(e.$slots, "default")])
- },
- ],
- ]),
- Hpe = { class: "divide divide-y xl:divide-y-0 xl:divide-x flex xl:flex-row flex-col custom-scroll rounded" },
- Vpe = T8({}, [
- [
- "render",
- function (e, t) {
- return xo(), Eo("div", Hpe, [Xr(e.$slots, "default")])
- },
- ],
- ]),
- Wpe = {
- class:
- "request-section-content request-section-content-filter bg-b-2 text-c-3 bg-b-1 sticky top-0 z-10 mb-2.5 hidden xl:flex justify-center rounded p-[2.25px] text-xs gap-0.5",
- },
- Xpe = ["isActive", "onClick"],
- Ype = Hr({
- __name: "ContextBar",
- props: { sections: {}, activeSection: {} },
- emits: ["setActiveSection"],
- setup: (e) => (e, t) => (
- xo(),
- Eo("div", Wpe, [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- e.sections,
- (t) => (
- xo(),
- Eo(
- "button",
- {
- key: t,
- class: Ge([
- "hover:bg-b-3 w-full rounded px-1 py-1 text-center font-medium",
- [
- e.activeSection === t
- ? "bg-b-1 text-c-1 dark:bg-b-3 border pointer-events-none"
- : "border border-transparent",
- ],
- ]),
- isActive: e.activeSection === t,
- type: "button",
- onClick: (n) => e.$emit("setActiveSection", t),
- },
- at(t),
- 11,
- Xpe,
- )
- ),
- ),
- 128,
- )),
- ])
- ),
- }),
- Gpe = ["aria-labelledby"],
- Kpe = ["id"],
- Jpe = Hr({
- __name: "ViewLayoutSection",
- setup(e) {
- const t = NL()
- return (e, n) => (
- xo(),
- Eo(
- "section",
- { "aria-labelledby": In(t), class: "flex xl:min-w-0 xl:flex-1 flex-col xl:custom-scroll bg-b-1" },
- [
- Ro(
- "div",
- {
- id: In(t),
- class:
- "xl:min-h-header py-2.5 flex items-center border-b px-4 xl:px-6 text-sm font-medium sticky top-0 bg-b-1 z-20 rounded-t xl:rounded-none",
- },
- [Xr(e.$slots, "title")],
- 8,
- Kpe,
- ),
- Xr(e.$slots, "default"),
- ],
- 8,
- Gpe,
- )
- )
- },
- }),
- ehe = { class: "flex flex-1 items-center gap-1.5" },
- the = {
- key: 0,
- class: "bg-b-2 text-c-2 text-3xs inline-flex h-4 w-4 items-center justify-center rounded-full font-semibold",
- },
- nhe = { class: "flex items-center gap-2" },
- rhe = { key: 0, class: "ui-not-open:invisible -my-1 flex items-center gap-2" },
- ahe = Hr({
- __name: "ViewLayoutCollapse",
- props: { defaultOpen: { type: Boolean, default: !0 }, itemCount: { default: 0 } },
- setup: (e) => (e, t) => (
- xo(),
- To(
- In(Oy),
- {
- as: "div",
- class:
- "focus-within:bg-b-2 focus-within:text-c-1 text-c-2 rounded request-item ui-not-open:bg-transparent ui-open:pb-1 ui-open:mb-3 ui-not-open:mb-0 ui-not-open:pb-0",
- defaultOpen: e.defaultOpen,
- },
- {
- default: yr(({ open: t }) => [
- No(
- In(wy),
- {
- class:
- "hover:text-c-1 group flex w-full items-center gap-1.5 overflow-hidden py-1.5 text-sm font-medium px-1.5",
- },
- {
- default: yr(() => [
- No(In(BI), {
- class: "text-c-3 group-hover:text-c-1 ui-open:rotate-90 ui-not-open:rotate-0",
- icon: "ChevronRight",
- size: "sm",
- thickness: "2.5",
- }),
- Ro("div", ehe, [
- Xr(e.$slots, "title", { open: t }),
- !t && e.itemCount ? (xo(), Eo("span", the, at(e.itemCount), 1)) : Qo("", !0),
- ]),
- Ro("div", nhe, [
- e.$slots.actions ? (xo(), Eo("div", rhe, [Xr(e.$slots, "actions", { open: t })])) : Qo("", !0),
- ]),
- ]),
- _: 2,
- },
- 1024,
- ),
- No(
- In(xy),
- { class: "rounded-b" },
- { default: yr(() => [Xr(e.$slots, "default", { open: t })]), _: 2 },
- 1024,
- ),
- ]),
- _: 3,
- },
- 8,
- ["defaultOpen"],
- )
- ),
- }),
- ohe = Hr({
- __name: "DataTableCell",
- props: { is: { default: "td" } },
- setup: (e) => (e, t) => (
- xo(),
- To(
- Tr(e.is),
- {
- class:
- "min-h-8 min-w-8 border-l-0 border-t-0 border-b-1/2 border-r-1/2 flex text-sm last:border-r-0 group-last:border-b-transparent p-0 m-0 relative",
- role: "cell",
- },
- { default: yr(() => [Xr(e.$slots, "default")]), _: 3 },
- )
- ),
- }),
- ihe = { key: 0, class: "text-c-2 flex min-w-[100px] items-center border-r-1/2 pl-2 pr-0" },
- she = { class: "row-1" },
- lhe = ["id", "max", "min", "readOnly", "required", "type", "value"],
- che = {
- key: 0,
- class:
- "absolute centered-y right-0 pt-px pr-2 text-xxs text-c-3 bg-b-1 shadow-[-8px_0_4px_var(--scalar-background-1)] opacity-100 duration-150 transition-opacity peer-focus:opacity-0",
- },
- dhe = { key: 1, class: "absolute centered-y right-7 text-orange text-xs" },
- uhe = Hr({
- inheritAttrs: !1,
- __name: "DataTableInput",
- props: {
- id: {},
- type: {},
- containerClass: {},
- required: { type: Boolean, default: !1 },
- modelValue: {},
- readOnly: { type: Boolean, default: !1 },
- enum: {},
- min: {},
- max: {},
- },
- emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
- setup(e, { emit: t }) {
- const n = e,
- r = t,
- a = Dn(!0),
- o = Dn(""),
- i = Dn(!1),
- s = () => {
- i.value || r("inputBlur")
- },
- l = ii(() => ("password" === n.type ? (a.value ? "password" : "text") : (n.type ?? "text"))),
- c = (e) => {
- const t = e.target
- ;(o.value = t.value), r("update:modelValue", t.value)
- }
- return (e, t) => (
- xo(),
- To(
- ohe,
- { class: Ge(["relative row", e.containerClass]) },
- {
- default: yr(() => [
- e.$slots.default ? (xo(), Eo("div", ihe, [Xr(e.$slots, "default", {}, void 0, !0)])) : Qo("", !0),
- Ro("div", she, [
- n.enum && n.enum.length
- ? (xo(),
- To(
- jue,
- {
- key: 0,
- modelValue: n.modelValue,
- value: n.enum,
- "onUpdate:modelValue": t[0] || (t[0] = (e) => r("update:modelValue", e)),
- },
- null,
- 8,
- ["modelValue", "value"],
- ))
- : (xo(),
- Eo(
- go,
- { key: 1 },
- [
- Ro(
- "input",
- Fo(e.$attrs, {
- id: e.id,
- autocomplete: "off",
- class:
- "border-none focus:text-c-1 text-c-2 min-w-0 w-full peer px-2 py-1.5 outline-none",
- "data-1p-ignore": "",
- max: e.max,
- min: e.min,
- readOnly: e.readOnly,
- required: e.required,
- spellcheck: "false",
- type: l.value,
- value: e.modelValue,
- onBlur: s,
- onFocus: t[1] || (t[1] = (e) => r("inputFocus")),
- onInput: c,
- }),
- null,
- 16,
- lhe,
- ),
- e.required ? (xo(), Eo("div", che, " Required ")) : Qo("", !0),
- ],
- 64,
- )),
- ]),
- e.$slots.warning ? (xo(), Eo("div", dhe, [Xr(e.$slots, "warning", {}, void 0, !0)])) : Qo("", !0),
- Xr(e.$slots, "icon", {}, void 0, !0),
- "password" === e.type
- ? (xo(),
- To(
- In(mL),
- {
- key: 2,
- class: "-ml-.5 mr-1 h-6 w-6 self-center p-1.5",
- icon: a.value ? "Show" : "Hide",
- label: a.value ? "Show Password" : "Hide Password",
- onClick: t[2] || (t[2] = (e) => (a.value = !a.value)),
- },
- null,
- 8,
- ["icon", "label"],
- ))
- : Qo("", !0),
- ]),
- _: 3,
- },
- 8,
- ["class"],
- )
- )
- },
- }),
- phe = T8(uhe, [["__scopeId", "data-v-7949fbac"]]),
- hhe = ["for"],
- fhe = Hr({
- __name: "RequestAuthDataTableInput",
- props: {
- id: {},
- type: {},
- containerClass: {},
- required: { type: Boolean, default: !1 },
- modelValue: {},
- readOnly: { type: Boolean, default: !1 },
- },
- emits: ["update:modelValue", "inputFocus", "inputBlur", "selectVariable"],
- setup(e, { emit: t }) {
- const n = e,
- r = t
- return (e, t) => (
- xo(),
- To(
- phe,
- Fo(
- {
- id: n.id,
- containerClass: n.containerClass,
- modelValue: n.modelValue,
- readOnly: n.readOnly,
- required: n.required,
- type: n.type,
- },
- e.$attrs,
- {
- onInputBlur: t[0] || (t[0] = (e) => r("inputBlur")),
- onInputFocus: t[1] || (t[1] = (e) => r("inputFocus")),
- onSelectVariable: t[2] || (t[2] = (e) => r("selectVariable", e)),
- "onUpdate:modelValue": t[3] || (t[3] = (e) => r("update:modelValue", e)),
- },
- ),
- {
- default: yr(() => [Ro("label", { for: n.id }, [Xr(e.$slots, "default")], 8, hhe)]),
- icon: yr(() => [Xr(e.$slots, "icon")]),
- _: 3,
- },
- 16,
- ["id", "containerClass", "modelValue", "readOnly", "required", "type"],
- )
- )
- },
- }),
- mhe = { key: 0, class: "sr-only" },
- ghe = Hr({
- __name: "DataTable",
- props: { columns: {}, scroll: { type: Boolean } },
- setup: (e) => (e, t) => (
- xo(),
- Eo(
- "div",
- {
- class: Ge([
- "border-1/2 rounded mx-1 bg-b-1",
- e.scroll ? "overflow-x-auto custom-scroll" : "overflow-visible",
- ]),
- },
- [
- Ro(
- "table",
- {
- class: Ge(["grid auto-rows-auto min-h-8 mb-0", { "min-w-full w-max": e.scroll }]),
- style: He({ gridTemplateColumns: e.columns.map((e) => e || "1fr").join(" ") }),
- },
- [
- e.$slots.caption ? (xo(), Eo("caption", mhe, [Xr(e.$slots, "caption")])) : Qo("", !0),
- Xr(e.$slots, "default"),
- ],
- 6,
- ),
- ],
- 2,
- )
- ),
- }),
- bhe = { class: "group contents w-fit min-w-full" },
- vhe = T8({}, [
- [
- "render",
- function (e, t) {
- return xo(), Eo("tr", bhe, [Xr(e.$slots, "default")])
- },
- ],
- ]),
- yhe = Hr({
- __name: "DataTableHeader",
- setup: (e) => (e, t) => (
- xo(),
- To(
- ohe,
- { is: "th", class: "truncate font-medium px-2 py-1.5" },
- { default: yr(() => [Xr(e.$slots, "default")]), _: 3 },
- )
- ),
- }),
- Ohe = ["checked", "disabled"],
- whe = {
- class:
- "w-full h-full flex items-center justify-center centered text-border peer-checked:text-c-2 pointer-events-none absolute before:absolute before:opacity-0 group-hover/cell:before:opacity-100 before:border before:rounded before:w-9/12 before:aspect-square before:top-1/2 before:left-1/2 before:transform before:-translate-x-1/2 before:-translate-y-1/2 before:border-[1px]",
- },
- xhe = Hr({
- __name: "DataTableCheckbox",
- props: { modelValue: { type: Boolean }, disabled: { type: Boolean } },
- emits: ["update:modelValue"],
- setup: (e) => (e, t) => (
- xo(),
- To(
- ohe,
- { class: "group/cell relative flex min-w-8" },
- {
- default: yr(() => [
- Ro(
- "input",
- {
- checked: e.modelValue,
- class: "peer absolute inset-0 opacity-0 cursor-pointer",
- disabled: e.disabled,
- tabindex: "-1",
- type: "checkbox",
- onChange: t[0] || (t[0] = (t) => e.$emit("update:modelValue", t.target.checked)),
- },
- null,
- 40,
- Ohe,
- ),
- Ro("div", whe, [No(In(BI), { icon: "Checkmark", size: "xs", thickness: "2.5" })]),
- ]),
- _: 1,
- },
- )
- ),
- }),
- khe = { class: "flex h-full w-full" },
- _he = Ro(
- "div",
- { class: "text-c-2 min-w-[100px] items-center pl-2 h-full border-r-1/2" },
- [Ro("span", { class: "h-8 flex items-center" }, " Scopes ")],
- -1,
- ),
- She = { class: "flex-1 text-c-3" },
- Ehe = { class: "grid auto-rows-auto border-t-1/2", style: { gridTemplateColumns: "1fr auto" } },
- The = { class: "font-code text-xs" },
- Ahe = Hr({
- __name: "OAuthScopesInput",
- props: { activeFlow: {}, schemeModel: {}, updateScheme: { type: Function } },
- setup(e) {
- const t = e,
- n = ii(() => {
- var e
- return Object.entries((null == (e = t.activeFlow) ? void 0 : e.scopes) ?? {}).map(([e, t]) => ({
- id: e,
- label: e,
- description: t,
- }))
- }),
- r = ii(() => {
- var e
- return (null == (e = t.activeFlow) ? void 0 : e.selectedScopes) || []
- })
- return (e, a) => (
- xo(),
- To(
- In(ohe),
- { class: "items-center min-h-8 h-auto" },
- {
- default: yr(() => [
- Ro("div", khe, [
- _he,
- No(
- In(Oy),
- { as: "div", class: "flex flex-col w-full" },
- {
- default: yr(() => [
- No(
- In(wy),
- {
- class:
- "group/scopes-accordion flex items-center text-left min-h-8 gap-1.5 h-auto pl-2 hover:bg-b-2 pr-2.5 cursor-pointer",
- },
- {
- default: yr(({ open: t }) => {
- var n, r, a
- return [
- Ro(
- "div",
- She,
- " Selected " +
- at(
- (null == (r = null == (n = e.activeFlow) ? void 0 : n.selectedScopes)
- ? void 0
- : r.length) || 0,
- ) +
- " / " +
- at(
- Object.keys((null == (a = e.activeFlow) ? void 0 : a.scopes) ?? {}).length || 0,
- ),
- 1,
- ),
- No(
- In(BI),
- {
- class: "text-c-3 group-hover/scopes-accordion:text-c-2",
- icon: t ? "ChevronDown" : "ChevronRight",
- size: "xs",
- },
- null,
- 8,
- ["icon"],
- ),
- ]
- }),
- _: 1,
- },
- ),
- No(
- In(xy),
- { as: "template" },
- {
- default: yr(() => [
- Ro("table", Ehe, [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- n.value,
- ({ id: e, label: n, description: a }) => (
- xo(),
- To(
- In(vhe),
- {
- key: e,
- class: "text-c-2",
- onClick: (n) =>
- (function (e, n) {
- n
- ? t.updateScheme(`flows.${t.schemeModel.flowKey}.selectedScopes`, [
- ...r.value,
- e,
- ])
- : t.updateScheme(
- `flows.${t.schemeModel.flowKey}.selectedScopes`,
- r.value.filter((t) => t !== e),
- )
- })(e, !r.value.includes(e)),
- },
- {
- default: yr(() => [
- No(
- In(ohe),
- { class: "w-full px-2 py-1.5 hover:bg-b-2 cursor-pointer" },
- {
- default: yr(() => [
- Ro("span", null, [
- Ro("span", The, at(n), 1),
- Ro("span", null, " – " + at(a), 1),
- ]),
- ]),
- _: 2,
- },
- 1024,
- ),
- No(
- In(xhe),
- { modelValue: r.value.includes(e), "onUpdate:modelValue": () => {} },
- null,
- 8,
- ["modelValue"],
- ),
- ]),
- _: 2,
- },
- 1032,
- ["onClick"],
- )
- ),
- ),
- 128,
- )),
- ]),
- ]),
- _: 1,
- },
- ),
- ]),
- _: 1,
- },
- ),
- ]),
- ]),
- _: 1,
- },
- )
- )
- },
- }),
- Che = async (e, t) => {
- if (!("clientSecret" in e.flow))
- throw new Error("Authorize Servers only works for Client Credentials or Authorization Code flow")
- if (!e.flow) throw new Error("OAuth2 flow was not defined")
- const { flow: n, scheme: r } = e,
- a = n.selectedScopes.join(" "),
- o = new URLSearchParams()
- o.set("client_id", r.clientId),
- o.set("scope", a),
- n.clientSecret && o.set("client_secret", n.clientSecret),
- r.redirectUri && o.set("redirect_uri", r.redirectUri),
- t && (o.set("code", t), o.set("grant_type", "authorization_code")),
- "secondValue" in n
- ? (o.set("grant_type", "password"), o.set("username", n.value), o.set("password", n.secondValue))
- : o.set("grant_type", "client_credentials")
- try {
- const e = { "Content-Type": "application/x-www-form-urlencoded" }
- r.clientId && n.clientSecret && (e.Authorization = `Basic ${btoa(`${r.clientId}:${n.clientSecret}`)}`)
- const t = await fetch(n.tokenUrl, { method: "POST", headers: e, body: o }),
- { access_token: a } = await t.json()
- return a
- } catch {
- throw new Error("Failed to get an access token. Please check your credentials.")
- }
- },
- Phe = { class: "h-8 flex items-center justify-self-end" },
- Dhe = Hr({
- __name: "OAuth2",
- props: { activeScheme: {}, schemeModel: {}, updateScheme: { type: Function } },
- setup(e) {
- const t = e,
- n = mn({
- isValid: !1,
- isInvalid: !1,
- isLoading: !1,
- startLoading() {
- this.isLoading = !0
- },
- stopLoading() {
- this.isLoading = !1
- },
- validate(e = 800) {
- this.isValid = !0
- const t = e - 300
- return new Promise((e) => setTimeout(() => this.clear().then(() => e(!0)), t))
- },
- invalidate(e = 1100) {
- this.isInvalid = !0
- const t = e - 300
- return new Promise((e) => setTimeout(() => this.clear().then(() => e(!0)), t))
- },
- clear(e = 300) {
- return (
- (this.isValid = !1),
- (this.isInvalid = !1),
- (this.isLoading = !1),
- new Promise((t) => {
- setTimeout(() => {
- t(!0)
- }, e)
- })
- )
- },
- }),
- r = async () => {
- if (n.isLoading) return
- n.startLoading()
- const e = await ((e, t) =>
- new Promise((n, r) => {
- const { flow: a, scheme: o } = e
- if ("clientCredentials" === t.flowKey || "password" === t.flowKey) Che(e).then(n).catch(r)
- else {
- const i = a.selectedScopes.join(" "),
- s = (Math.random() + 1).toString(36).substring(7),
- l = new URL("authorizationUrl" in a ? a.authorizationUrl : a.tokenUrl)
- "implicit" === t.flowKey
- ? l.searchParams.set("response_type", "token")
- : "authorizationCode" === t.flowKey && l.searchParams.set("response_type", "code"),
- l.searchParams.set("client_id", o.clientId),
- l.searchParams.set("redirect_uri", o.redirectUri),
- l.searchParams.set("scope", i),
- l.searchParams.set("state", s)
- const c = window.open(l, "openAuth2Window", "left=100,top=100,width=800,height=600")
- if (c) {
- const t = setInterval(function () {
- var a
- let o = null,
- i = null
- try {
- const e = new URL(c.location.href).searchParams
- ;(o = e.get("access_token")), (i = e.get("code"))
- } catch {}
- if (c.closed || o || i)
- if ((clearInterval(t), c.close(), o)) {
- const e = null == (a = c.location.href.match(/state=([^&]*)/)) ? void 0 : a[1]
- o && e === s && n(o)
- } else
- i
- ? Che(e, i).then(n).catch(r)
- : (clearInterval(t), r(new Error("Window was closed without granting authorization")))
- }, 200)
- }
- }
- }))(t.activeScheme, t.schemeModel).finally(() => n.stopLoading())
- e && t.updateScheme(`flows.${t.schemeModel.flowKey}.token`, e)
- }
- return (e, t) =>
- e.activeScheme.flow.token
- ? (xo(),
- To(
- In(vhe),
- { key: 0 },
- {
- default: yr(() => [
- No(
- fhe,
- {
- id: "oauth2-access-token",
- class: "border-r-transparent",
- modelValue: e.activeScheme.flow.token,
- type: "password",
- "onUpdate:modelValue":
- t[0] || (t[0] = (t) => e.updateScheme(`flows.${e.schemeModel.flowKey}.token`, t)),
- },
- { default: yr(() => [Mo(" Access Token ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- No(
- In(ohe),
- { class: "flex items-center p-0.5" },
- {
- default: yr(() => [
- No(
- In(mw),
- {
- size: "sm",
- variant: "ghost",
- onClick:
- t[1] || (t[1] = (t) => e.updateScheme(`flows.${e.schemeModel.flowKey}.token`, "")),
- },
- { default: yr(() => [Mo(" Clear ")]), _: 1 },
- ),
- ]),
- _: 1,
- },
- ),
- ]),
- _: 1,
- },
- ))
- : (xo(),
- Eo(
- go,
- { key: 1 },
- [
- ["implicit", "authorizationCode"].includes(e.schemeModel.flowKey)
- ? (xo(),
- To(
- In(vhe),
- { key: 0 },
- {
- default: yr(() => [
- No(
- fhe,
- {
- id: "oauth2-redirect-uri",
- modelValue: e.activeScheme.scheme.redirectUri,
- placeholder: "https://galaxy.scalar.com/callback",
- "onUpdate:modelValue": t[2] || (t[2] = (t) => e.updateScheme("redirectUri", t)),
- },
- { default: yr(() => [Mo(" Redirect URI ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- ]),
- _: 1,
- },
- ))
- : Qo("", !0),
- "password" === e.schemeModel.flowKey && "value" in e.activeScheme.flow
- ? (xo(),
- Eo(
- go,
- { key: 1 },
- [
- No(In(vhe), null, {
- default: yr(() => [
- No(
- fhe,
- {
- id: "oauth2-password-username",
- class: "text-c-2",
- modelValue: e.activeScheme.flow.value,
- placeholder: "ScalarEnjoyer01",
- "onUpdate:modelValue":
- t[3] || (t[3] = (t) => e.updateScheme("flows.password.value", t)),
- },
- { default: yr(() => [Mo(" Username ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- ]),
- _: 1,
- }),
- No(In(vhe), null, {
- default: yr(() => [
- No(
- fhe,
- {
- id: "oauth2-password-password",
- modelValue: e.activeScheme.flow.secondValue,
- placeholder: "XYZ123",
- type: "password",
- "onUpdate:modelValue":
- t[4] || (t[4] = (t) => e.updateScheme("flows.password.secondValue", t)),
- },
- { default: yr(() => [Mo(" Password ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- ]),
- _: 1,
- }),
- ],
- 64,
- ))
- : Qo("", !0),
- No(In(vhe), null, {
- default: yr(() => [
- No(
- fhe,
- {
- id: "oauth2-client-id",
- modelValue: e.activeScheme.scheme.clientId,
- placeholder: "12345",
- "onUpdate:modelValue": t[5] || (t[5] = (t) => e.updateScheme("clientId", t)),
- },
- { default: yr(() => [Mo(" Client ID ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- ]),
- _: 1,
- }),
- "clientSecret" in e.activeScheme.flow
- ? (xo(),
- To(
- In(vhe),
- { key: 2 },
- {
- default: yr(() => [
- No(
- fhe,
- {
- id: "oauth2-client-secret",
- modelValue: e.activeScheme.flow.clientSecret,
- placeholder: "XYZ123",
- type: "password",
- "onUpdate:modelValue":
- t[6] ||
- (t[6] = (t) =>
- ("authorizationCode" === e.schemeModel.flowKey ||
- "clientCredentials" === e.schemeModel.flowKey ||
- "password" === e.schemeModel.flowKey) &&
- e.updateScheme(`flows.${e.schemeModel.flowKey}.clientSecret`, t)),
- },
- { default: yr(() => [Mo(" Client Secret ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- ]),
- _: 1,
- },
- ))
- : Qo("", !0),
- e.activeScheme.flow.scopes
- ? (xo(),
- To(
- In(vhe),
- { key: 3 },
- {
- default: yr(() => [
- No(
- Ahe,
- {
- activeFlow: e.activeScheme.flow,
- schemeModel: e.schemeModel,
- updateScheme: e.updateScheme,
- },
- null,
- 8,
- ["activeFlow", "schemeModel", "updateScheme"],
- ),
- ]),
- _: 1,
- },
- ))
- : Qo("", !0),
- No(
- In(vhe),
- { class: "min-w-full" },
- {
- default: yr(() => [
- Ro("div", Phe, [
- No(
- In(mw),
- {
- class: "p-0 py-0.5 px-2 mr-1",
- loading: In(n),
- size: "sm",
- variant: "outlined",
- onClick: r,
- },
- { default: yr(() => [Mo(" Authorize ")]), _: 1 },
- 8,
- ["loading"],
- ),
- ]),
- ]),
- _: 1,
- },
- ),
- ],
- 64,
- ))
- },
- }),
- Rhe = { class: "flex gap-1" },
- Nhe = { class: "flex h-8 items-center" },
- $he = Ro(
- "div",
- { class: "text-c-2 flex min-w-[100px] items-center border-r-1/2 pr-0 pl-2 h-full" },
- " Auth Type ",
- -1,
- ),
- Ihe = { class: "pl-2" },
- Mhe = Hr({
- __name: "RequestAuth",
- props: { title: {} },
- setup(e) {
- const {
- activeCollection: t,
- collectionMutators: n,
- activeSecurityRequirements: r,
- activeSecurityScheme: a,
- securitySchemes: o,
- securitySchemeMutators: i,
- } = E8(),
- s = (e) => {
- const t = o[e]
- switch (null == t ? void 0 : t.type) {
- case "apiKey":
- return `${Qe(t.in)} (${e})`
- case "http":
- return `${Qe(t.scheme)} Authentication (${e})`
- case "openIdConnect":
- return `Open ID Connect (${e})`
- default:
- return "None"
- }
- },
- l = ii(() =>
- r.value.flatMap((e) => {
- const t = Object.keys(e)
- return 0 === t.length
- ? { id: "none", label: "None" }
- : t.flatMap((e) => {
- const t = o[e]
- return "oauth2" === (null == t ? void 0 : t.type)
- ? Object.keys(t.flows).map((t) => {
- return {
- id: `${e}${t}`,
- label: `${
- ((n = t),
- n
- .replace(/([A-Z])/g, (e) => ` ${e}`)
- .replace(/^./, (e) => e.toUpperCase())
- .trim())
- } (${e})`,
- flowKey: t,
- uid: e,
- }
- var n
- })
- : { id: e, label: s(e) }
- })
- }),
- ),
- c = ii({
- get: () => {
- var e, n
- const r = null == (n = null == (e = t.value) ? void 0 : e.selectedSecuritySchemes) ? void 0 : n[0]
- return (
- l.value.find(
- ({ id: e }) => e === `${null == r ? void 0 : r.uid}${(null == r ? void 0 : r.flowKey) ?? ""}`,
- ) || l.value[0]
- )
- },
- set: (e) => {
- if (null == e || !e.id) return
- const r = "uid" in e ? { flowKey: e.flowKey, uid: e.uid } : { uid: e.id }
- n.edit(t.value.uid, "selectedSecuritySchemes", [r])
- },
- }),
- d = (e, t) => {
- var n
- return i.edit((null == (n = a.value) ? void 0 : n.scheme.uid) ?? "", e, t)
- }
- return (e, t) => (
- xo(),
- To(
- ahe,
- { class: "group/params", itemCount: l.value.length },
- {
- title: yr(() => [Ro("div", Rhe, at(e.title), 1)]),
- default: yr(() => [
- Ro("form", null, [
- No(
- In(ghe),
- { class: "flex-1", columns: [""] },
- {
- default: yr(() => {
- var e, n, r, o
- return [
- No(In(vhe), null, {
- default: yr(() => [
- No(
- In(yhe),
- {
- class: "relative col-span-full cursor-pointer py-[0px] px-[0px] flex items-center",
- },
- {
- default: yr(() => [
- No(
- In(vL),
- {
- modelValue: c.value,
- "onUpdate:modelValue": t[0] || (t[0] = (e) => (c.value = e)),
- class: "text-xs w-full left-2",
- fullWidth: "",
- options: l.value,
- teleport: "",
- },
- {
- default: yr(() => [
- No(
- In(mw),
- {
- class:
- "flex gap-1.5 h-auto py-0 px-0 text-c-2 hover:text-c-1 font-normal",
- fullWidth: "",
- variant: "ghost",
- },
- {
- default: yr(() => {
- var e
- return [
- Ro("div", Nhe, [
- $he,
- Ro("span", Ihe, at(null == (e = c.value) ? void 0 : e.label), 1),
- No(In(BI), { icon: "ChevronDown", size: "xs" }),
- ]),
- ]
- }),
- _: 1,
- },
- ),
- ]),
- _: 1,
- },
- 8,
- ["modelValue", "options"],
- ),
- ]),
- _: 1,
- },
- ),
- ]),
- _: 1,
- }),
- "http" === (null == (e = In(a)) ? void 0 : e.scheme.type) &&
- "bearer" === In(a).scheme.scheme
- ? (xo(),
- To(
- In(vhe),
- { key: 0 },
- {
- default: yr(() => [
- No(
- fhe,
- {
- id: "http-bearer-token",
- modelValue: In(a).scheme.value,
- placeholder: "Token",
- type: "password",
- "onUpdate:modelValue": t[1] || (t[1] = (e) => d("value", e)),
- },
- { default: yr(() => [Mo(" Bearer Token ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- ]),
- _: 1,
- },
- ))
- : "http" === (null == (n = In(a)) ? void 0 : n.scheme.type) &&
- "basic" === In(a).scheme.scheme
- ? (xo(),
- Eo(
- go,
- { key: 1 },
- [
- No(In(vhe), null, {
- default: yr(() => [
- No(
- fhe,
- {
- id: "http-basic-username",
- class: "text-c-2",
- modelValue: In(a).scheme.value,
- placeholder: "ScalarEnjoyer01",
- "onUpdate:modelValue": t[2] || (t[2] = (e) => d("value", e)),
- },
- { default: yr(() => [Mo(" Username ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- ]),
- _: 1,
- }),
- No(In(vhe), null, {
- default: yr(() => [
- No(
- fhe,
- {
- id: "http-basic-password",
- modelValue: In(a).scheme.secondValue,
- placeholder: "xxxxxx",
- type: "password",
- "onUpdate:modelValue": t[3] || (t[3] = (e) => d("secondValue", e)),
- },
- { default: yr(() => [Mo(" Password ")]), _: 1 },
- 8,
- ["modelValue"],
- ),
- ]),
- _: 1,
- }),
- ],
- 64,
- ))
- : "apiKey" === (null == (r = In(a)) ? void 0 : r.scheme.type)
- ? (xo(),
- To(
- In(vhe),
- { key: 2 },
- {
- default: yr(() => [
- No(
- fhe,
- {
- id: `api-key-${In(a).scheme.name}`,
- modelValue: In(a).scheme.value,
- placeholder: "Value",
- type: "password",
- "onUpdate:modelValue": t[4] || (t[4] = (e) => d("value", e)),
- },
- { default: yr(() => [Mo(at(In(a).scheme.name), 1)]), _: 1 },
- 8,
- ["id", "modelValue"],
- ),
- ]),
- _: 1,
- },
- ))
- : "oauth2" === (null == (o = In(a)) ? void 0 : o.scheme.type) &&
- "uid" in c.value &&
- In(a).flow
- ? (xo(),
- To(
- In(Dhe),
- { key: 3, activeScheme: In(a), schemeModel: c.value, updateScheme: d },
- null,
- 8,
- ["activeScheme", "schemeModel"],
- ))
- : Qo("", !0),
- ]
- }),
- _: 1,
- },
- ),
- ]),
- ]),
- _: 1,
- },
- 8,
- ["itemCount"],
- )
- )
- },
- }),
- Lhe = {
- class:
- "grid gap-1.5 pointer-events-none min-w-48 w-content shadow-lg rounded bg-b-1 z-100 p-2 text-xxs leading-5 z-10 text-c-1",
- },
- Qhe = { class: "flex items-center text-c-2" },
- Bhe = { key: 0 },
- jhe = { key: 1, class: "before:content-['·'] before:block before:mx-[0.5ch] flex" },
- Uhe = { key: 2, class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap" },
- Fhe = { key: 3, class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap" },
- zhe = { key: 4, class: "before:content-['·'] before:block before:mx-[0.5ch] flex whitespace-nowrap" },
- qhe = { key: 0, class: "leading-snug text-pretty text-sm", style: { maxWidth: "16rem" } },
- Zhe = Hr({
- __name: "RequestTableTooltip",
- props: { item: {} },
- setup: (e) => (e, t) => (
- xo(),
- To(
- In(PQ),
- { align: "start", class: "w-full", delay: 0, side: "left", triggerClass: "p-[7px]" },
- {
- trigger: yr(() => [
- No(In(BI), {
- class: "ml-1 text-c-3 group-hover/info:text-c-1",
- icon: "Info",
- size: "sm",
- thickness: "1.5",
- }),
- ]),
- content: yr(() => [
- Ro("div", Lhe, [
- Ro("div", Qhe, [
- e.item.type ? (xo(), Eo("span", Bhe, at(e.item.type), 1)) : Qo("", !0),
- e.item.format ? (xo(), Eo("span", jhe, at(e.item.format), 1)) : Qo("", !0),
- e.item.minimum ? (xo(), Eo("span", Uhe, "min: " + at(e.item.minimum), 1)) : Qo("", !0),
- e.item.maximum ? (xo(), Eo("span", Fhe, "max: " + at(e.item.maximum), 1)) : Qo("", !0),
- e.item.default ? (xo(), Eo("span", zhe, "default: " + at(e.item.default), 1)) : Qo("", !0),
- ]),
- e.item.description ? (xo(), Eo("span", qhe, at(e.item.description), 1)) : Qo("", !0),
- ]),
- ]),
- _: 1,
- },
- )
- ),
- }),
- Hhe = { class: "text-c-2 max-w-[100%] overflow-hidden filemask flex items-end justify-end" },
- Vhe = ["onClick"],
- Whe = ((e) => (br("data-v-92212893"), (e = e()), vr(), e))(() => Ro("span", null, "File", -1)),
- Xhe = Hr({
- __name: "RequestTable",
- props: {
- items: {},
- isEnabledHidden: { type: Boolean, default: !1 },
- showUploadButton: { type: Boolean, default: !1 },
- },
- emits: ["updateRow", "toggleRow", "addRow", "deleteRow", "inputFocus", "inputBlur", "uploadFile", "removeFile"],
- setup(e, { emit: t }) {
- const n = t,
- r = e.isEnabledHidden ? ["", ""] : ["", "", "36px"],
- a = (e, t, r) => {
- n("updateRow", e, t, r)
- },
- o = (e) => !!(e.description || e.type || e.default || e.format),
- i = (e) =>
- ii(() => {
- if ("integer" === e.type && void 0 !== e.value) {
- const t = Number(e.value)
- if (void 0 !== e.minimum && t < e.minimum) return `Min is ${e.minimum}`
- if (void 0 !== e.maximum && t > e.maximum) return `Max is ${e.maximum}`
- }
- return !1
- }),
- s = (e) => (Array.isArray(e.default) && 1 === e.default.length ? e.default[0] : e.default)
- return (e, t) => (
- xo(),
- To(
- ghe,
- { class: "flex-1", columns: In(r) },
- {
- default: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- e.items,
- (r, l) => (
- xo(),
- To(
- vhe,
- { key: l },
- {
- default: yr(() => [
- e.isEnabledHidden
- ? Qo("", !0)
- : (xo(),
- To(
- xhe,
- {
- key: 0,
- modelValue: r.enabled,
- "onUpdate:modelValue": (e) => n("toggleRow", l, e),
- },
- null,
- 8,
- ["modelValue", "onUpdate:modelValue"],
- )),
- No(
- ohe,
- null,
- {
- default: yr(() => [
- No(
- cpe,
- {
- disableCloseBrackets: "",
- disableEnter: "",
- disableTabIndent: "",
- modelValue: r.key,
- placeholder: "Key",
- required: r.required,
- onBlur: t[0] || (t[0] = (e) => n("inputBlur")),
- onFocus: t[1] || (t[1] = (e) => n("inputFocus")),
- onInput: (t) => e.items && l === e.items.length - 1 && n("addRow"),
- onSelectVariable: (e) => a(l, "key", e),
- "onUpdate:modelValue": (e) => n("updateRow", l, "key", e),
- },
- null,
- 8,
- ["modelValue", "required", "onInput", "onSelectVariable", "onUpdate:modelValue"],
- ),
- ]),
- _: 2,
- },
- 1024,
- ),
- No(
- ohe,
- null,
- {
- default: yr(() => [
- No(
- cpe,
- {
- disableCloseBrackets: "",
- disableEnter: "",
- disableTabIndent: "",
- enum: r.enum,
- max: r.maximum,
- min: r.minimum,
- modelValue: r.value,
- nullable: r.nullable,
- placeholder: "Value",
- type: r.type,
- onBlur: t[2] || (t[2] = (e) => n("inputBlur")),
- onFocus: t[3] || (t[3] = (e) => n("inputFocus")),
- onInput: (t) => e.items && l === e.items.length - 1 && n("addRow"),
- onSelectVariable: (e) => a(l, "value", e),
- "onUpdate:modelValue": (e) => n("updateRow", l, "value", e),
- },
- Zr(
- {
- icon: yr(() => [
- o(r)
- ? (xo(),
- To(Zhe, { key: 0, item: { ...r, default: s(r) } }, null, 8, ["item"]))
- : Qo("", !0),
- ]),
- _: 2,
- },
- [
- i(r).value
- ? { name: "warning", fn: yr(() => [Mo(at(i(r).value), 1)]), key: "0" }
- : void 0,
- ],
- ),
- 1032,
- [
- "enum",
- "max",
- "min",
- "modelValue",
- "nullable",
- "type",
- "onInput",
- "onSelectVariable",
- "onUpdate:modelValue",
- ],
- ),
- ]),
- _: 2,
- },
- 1024,
- ),
- e.showUploadButton
- ? (xo(),
- To(
- ohe,
- {
- key: 1,
- class:
- "group/upload p-1 overflow-hidden relative text-ellipsis whitespace-nowrap",
- },
- {
- default: yr(() => {
- var e
- return [
- r.file
- ? (xo(),
- Eo(
- go,
- { key: 0 },
- [
- Ro("div", Hhe, [
- Ro("span", null, at(null == (e = r.file) ? void 0 : e.name), 1),
- ]),
- Ro(
- "button",
- {
- class:
- "absolute bg-b-2 font-medium centered-x centered-y hidden rounded text-center p-0.5 w-[calc(100%_-_8px)] group-hover/upload:block text-xs",
- type: "button",
- onClick: (e) => n("removeFile", l),
- },
- " Delete ",
- 8,
- Vhe,
- ),
- ],
- 64,
- ))
- : (xo(),
- To(
- In(mw),
- {
- key: 1,
- class: "bg-b-2 hover:bg-b-3 border-0 py-px text-c-2",
- size: "sm",
- variant: "outlined",
- onClick: (e) =>
- ((e) => {
- n("uploadFile", e)
- })(l),
- },
- {
- default: yr(() => [
- Whe,
- No(In(BI), {
- class: "ml-1",
- icon: "UploadSimple",
- size: "xs",
- thickness: "2.5",
- }),
- ]),
- _: 2,
- },
- 1032,
- ["onClick"],
- )),
- ]
- }),
- _: 2,
- },
- 1024,
- ))
- : Qo("", !0),
- ]),
- _: 2,
- },
- 1024,
- )
- ),
- ),
- 128,
- )),
- ]),
- _: 1,
- },
- 8,
- ["columns"],
- )
- )
- },
- }),
- Yhe = T8(Xhe, [["__scopeId", "data-v-92212893"]]),
- Ghe = {
- key: 0,
- class:
- "text-c-3 flex min-h-14 w-full items-center justify-center rounded border border-dashed text-center text-base",
- },
- Khe = [Ro("span", null, "No Body", -1)],
- Jhe = { key: 0, class: "text-c-3 flex min-h-10 w-full items-center justify-center p-2 text-sm" },
- efe = [Ro("span", null, "No Body", -1)],
- tfe = { key: 1, class: "flex items-center justify-center p-1.5 overflow-hidden" },
- nfe = { class: "text-c-2 text-xs w-full border rounded p-1 max-w-full overflow-hidden whitespace-nowrap" },
- rfe = Ro("span", null, "Upload File", -1),
- afe = Hr({
- __name: "RequestBody",
- props: { title: {}, body: {}, formData: {} },
- setup(e) {
- const { activeRequest: t, activeExample: n, requestExampleMutators: r } = E8(),
- a = Dn("none"),
- o = Dn(null),
- i = { json: "json", xml: "xml", yaml: "yaml", edn: "edn", other: "html" },
- s = ii(() => {
- const e = a.value
- return i[e] ?? "plaintext"
- })
- function l() {
- console.log("deleteRow")
- }
- const c = (e, a, i) => {
- if (!t.value || !n.value) return
- const s = d.value
- if (s.length > e) {
- const t = [...s]
- ;(t[e] = { ...t[e], [a]: i }),
- ("" !== t[e].key || "" !== t[e].value) && (t[e].enabled = !0),
- "" === t[e].key && "" === t[e].value && t.splice(e, 1),
- r.edit(n.value.uid, "body.formData.value", t)
- } else {
- const e = [u4({ [a]: i })]
- r.edit(n.value.uid, "body.formData.value", e),
- rr(() => {
- var e
- o.value && (null == (e = o.value.querySelectorAll("input")["key" === a ? 0 : 1]) || e.focus())
- })
- }
- },
- d = ii(() => {
- var e
- return (null == (e = n.value) ? void 0 : e.body.formData.value) ?? []
- }),
- u = () => {
- if (!t.value || !n.value) return
- const e = u4({ enabled: !1 }),
- a = [...d.value, e]
- r.edit(n.value.uid, "body.formData.value", a)
- },
- p = (e) => {
- !t.value || !n.value || r.edit(n.value.uid, "body.raw.value", e)
- },
- h = async (e) => {
- const { open: a } = I8({
- onChange: async (a) => {
- const o = null == a ? void 0 : a[0]
- if (o && t.value && n.value) {
- const t = [...d.value]
- ;(t[e] = { ...t[e], file: o }), r.edit(n.value.uid, "body.formData.value", t)
- }
- },
- multiple: !1,
- accept: "*/*",
- })
- a()
- }
- function f() {
- !t.value || !n.value || r.edit(n.value.uid, "body.binary", void 0)
- }
- function m(e) {
- if (!t.value || !n.value) return
- const a = [...d.value]
- ;(a[e] = { ...a[e], file: void 0 }), r.edit(n.value.uid, "body.formData.value", a)
- }
- function g() {
- const { open: e } = I8({
- onChange: async (e) => {
- const a = null == e ? void 0 : e[0]
- a && t.value && n.value && r.edit(n.value.uid, "body.binary", a)
- },
- multiple: !1,
- accept: "*/*",
- })
- e()
- }
- const b = Object.entries({
- multipartForm: "Multipart Form",
- formUrlEncoded: "Form URL Encoded",
- binaryFile: "Binary File",
- json: "JSON",
- xml: "XML",
- yaml: "YAML",
- edn: "EDN",
- other: "Other",
- none: "None",
- }).map(([e, t]) => ({ id: e, label: t, value: e })),
- v = ii({
- get: () => b.find((e) => e.id === a.value),
- set: (e) => {
- null != e && e.id && (a.value = e.id)
- },
- }),
- y = ii(() =>
- n.value
- ? "formData" === n.value.body.activeBody &&
- n.value.body.formData &&
- n.value.body.formData.value.length > 0
- ? "multipartForm"
- : "raw" === n.value.body.activeBody
- ? n.value.body.raw.encoding
- : a.value
- : "none",
- )
- return (
- "none" !== y.value && (a.value = y.value),
- Ya(
- y,
- (e) => {
- e && (a.value = e)
- },
- { immediate: !0 },
- ),
- Ya(
- a,
- (e) => {
- ;("multipartForm" === e || "formUrlEncoded" === e) && 0 === d.value.length && u(),
- ((e) => {
- const t = ((e) =>
- "multipartForm" === e
- ? "multipart/form-data"
- : "formUrlEncoded" === e
- ? "application/x-www-form-urlencoded"
- : "binaryFile" === e
- ? "application/octet-stream"
- : "none" !== e
- ? `application/${e}`
- : "")(e),
- a = ((e) =>
- "multipartForm" === e || "formUrlEncoded" === e
- ? "formData"
- : "binaryFile" === e
- ? "binary"
- : "raw")(e)
- r.edit(n.value.uid, "body.activeBody", a)
- const o = [...n.value.parameters.headers].findIndex(
- (e) => e.key.toLowerCase() === "Content-Type".toLowerCase(),
- ),
- i = [...n.value.parameters.headers][o]
- if ((null == i ? void 0 : i.value) !== t)
- if (i && t) {
- const e = [...n.value.parameters.headers]
- ;(e[o].value = t), r.edit(n.value.uid, "parameters.headers", e)
- } else if (t) {
- const e = [
- ...n.value.parameters.headers.filter(
- (e) => e.key.toLowerCase() !== "Content-Type".toLowerCase(),
- ),
- ]
- e.push({ key: "Content-Type", value: t, enabled: !0 }),
- r.edit(n.value.uid, "parameters.headers", e)
- }
- })(e)
- },
- { immediate: !0 },
- ),
- (e, t) => (
- xo(),
- To(ahe, null, {
- title: yr(() => [Mo(at(e.title), 1)]),
- default: yr(() => [
- e.body && 0 === e.body.length && e.formData && 0 === e.formData.length
- ? (xo(), Eo("div", Ghe, Khe))
- : e.formData && e.formData.length > 0
- ? (xo(), Eo(go, { key: 1 }, [], 64))
- : (xo(),
- To(
- ghe,
- { key: 2, columns: [""] },
- {
- default: yr(() => [
- No(vhe, null, {
- default: yr(() => [
- No(
- yhe,
- {
- class:
- "relative col-span-full flex h-8 cursor-pointer items-center px-[2.25px] py-[2.25px]",
- },
- {
- default: yr(() => [
- No(
- In(vL),
- {
- modelValue: v.value,
- "onUpdate:modelValue": t[0] || (t[0] = (e) => (v.value = e)),
- class: "text-xxs w-full",
- fullWidth: "",
- options: In(b),
- teleport: "",
- },
- {
- default: yr(() => [
- No(
- In(mw),
- {
- class:
- "flex gap-1.5 h-auto px-1.5 text-c-2 font-normal hover:text-c-1",
- fullWidth: "",
- variant: "ghost",
- },
- {
- default: yr(() => {
- var e
- return [
- Ro("span", null, at(null == (e = v.value) ? void 0 : e.label), 1),
- No(In(BI), { icon: "ChevronDown", size: "xs", thickness: "2.5" }),
- ]
- }),
- _: 1,
- },
- ),
- ]),
- _: 1,
- },
- 8,
- ["modelValue", "options"],
- ),
- ]),
- _: 1,
- },
- ),
- ]),
- _: 1,
- }),
- No(vhe, null, {
- default: yr(() => {
- var e, t, r
- return [
- "none" === a.value
- ? (xo(), Eo("div", Jhe, efe))
- : "binaryFile" === a.value
- ? (xo(),
- Eo("div", tfe, [
- null != (e = In(n)) && e.body.binary
- ? (xo(),
- Eo(
- go,
- { key: 0 },
- [
- Ro(
- "span",
- nfe,
- at(null == (t = In(n)) ? void 0 : t.body.binary.name),
- 1,
- ),
- No(
- In(mw),
- {
- class: "bg-b-2 hover:bg-b-3 border-0 text-c-2 ml-1",
- size: "sm",
- variant: "outlined",
- onClick: f,
- },
- { default: yr(() => [Mo(" Delete ")]), _: 1 },
- ),
- ],
- 64,
- ))
- : (xo(),
- To(
- In(mw),
- {
- key: 1,
- class: "bg-b-2 hover:bg-b-3 border-0 text-c-2",
- size: "sm",
- variant: "outlined",
- onClick: g,
- },
- {
- default: yr(() => [
- rfe,
- No(In(BI), {
- class: "ml-1",
- icon: "UploadSimple",
- size: "xs",
- thickness: "2.5",
- }),
- ]),
- _: 1,
- },
- )),
- ]))
- : "multipartForm" == a.value
- ? (xo(),
- To(
- Yhe,
- {
- key: 2,
- ref_key: "tableWrapperRef",
- ref: o,
- class:
- "!m-0 rounded-t-none shadow-none border-l-0 border-r-0 border-t-0 border-b-0",
- columns: ["32px", "", "", "61px"],
- items: d.value,
- showUploadButton: "",
- onAddRow: u,
- onDeleteRow: l,
- onRemoveFile: m,
- onUpdateRow: c,
- onUploadFile: h,
- },
- null,
- 8,
- ["items"],
- ))
- : "formUrlEncoded" == a.value
- ? (xo(),
- To(
- Yhe,
- {
- key: 3,
- ref_key: "tableWrapperRef",
- ref: o,
- class:
- "!m-0 rounded-t-none border-t-0 shadow-none border-l-0 border-r-0 border-t-0 border-b-0",
- columns: ["32px", "", "", "61px"],
- items: d.value,
- showUploadButton: "",
- onAddRow: u,
- onDeleteRow: l,
- onRemoveFile: m,
- onUpdateRow: c,
- onUploadFile: h,
- },
- null,
- 8,
- ["items"],
- ))
- : (xo(),
- To(
- cpe,
- {
- key: 4,
- content: "",
- language: s.value,
- lineNumbers: "",
- lint: "",
- modelValue: (null == (r = In(n)) ? void 0 : r.body.raw.value) ?? "",
- "onUpdate:modelValue": p,
- },
- null,
- 8,
- ["language", "modelValue"],
- )),
- ]
- }),
- _: 1,
- }),
- No(vhe),
- ]),
- _: 1,
- },
- )),
- ]),
- _: 1,
- })
- )
- )
- },
- }),
- ofe = { class: "text-c-2 flex whitespace-nowrap opacity-0 group-hover/params:opacity-100 request-meta-buttons" },
- ife = Hr({
- __name: "RequestParams",
- props: { title: {}, paramKey: {} },
- setup(e) {
- const t = e,
- { activeRequest: n, activeExample: r, requestExampleMutators: a } = E8(),
- o = ii(() => {
- var e
- return (null == (e = r.value) ? void 0 : e.parameters[t.paramKey]) ?? []
- })
- Nr(() => {
- u()
- })
- const i = () => {
- if (!n.value || !r.value) return
- const e = u4({ enabled: !1 }),
- i = [...o.value, e]
- a.edit(r.value.uid, `parameters.${t.paramKey}`, i)
- },
- s = Dn(null),
- l = (e, i, l) => {
- if (!n.value || !r.value) return
- const c = o.value
- if (c.length > e) {
- const n = [...c]
- ;(n[e] = { ...n[e], [i]: l }),
- ("" !== n[e].key || "" !== n[e].value) && (n[e].enabled = !0),
- "" === n[e].key && "" === n[e].value && n.splice(e, 1),
- a.edit(r.value.uid, `parameters.${t.paramKey}`, n)
- } else {
- const e = [u4({ [i]: l })]
- a.edit(r.value.uid, `parameters.${t.paramKey}`, e),
- rr(() => {
- var e
- s.value && (null == (e = s.value.querySelectorAll("input")["key" === i ? 0 : 1]) || e.focus())
- })
- }
- },
- c = (e, o) => n.value && r.value && a.edit(r.value.uid, `parameters.${t.paramKey}.${e}.enabled`, o),
- d = () => {
- !n.value ||
- !r.value ||
- (a.edit(r.value.uid, `parameters.${t.paramKey}`, []),
- rr(() => {
- i()
- }))
- }
- function u() {
- if (0 === o.value.length) i()
- else if (o.value.length >= 1) {
- const e = o.value[o.value.length - 1]
- "" !== e.key && "" !== e.value && i()
- }
- }
- const p = ii(() => o.value.filter((e) => e.key || e.value).length)
- return (
- Ya(
- () => r.value,
- (e, t) => {
- e !== t && u()
- },
- { immediate: !0 },
- ),
- (e, t) => (
- xo(),
- To(
- ahe,
- { class: "group/params", itemCount: p.value },
- {
- title: yr(() => [Mo(at(e.title), 1)]),
- actions: yr(() => [
- Ro("div", ofe, [
- No(
- In(mw),
- { class: "px-1 transition-none", size: "sm", variant: "ghost", onClick: Wi(d, ["stop"]) },
- { default: yr(() => [Mo(" Clear ")]), _: 1 },
- ),
- ]),
- ]),
- default: yr(() => [
- Ro(
- "div",
- { ref_key: "tableWrapperRef", ref: s },
- [
- No(
- Yhe,
- {
- class: "flex-1",
- columns: ["32px", "", ""],
- items: o.value,
- onAddRow: i,
- onToggleRow: c,
- onUpdateRow: l,
- },
- null,
- 8,
- ["items"],
- ),
- ],
- 512,
- ),
- ]),
- _: 1,
- },
- 8,
- ["itemCount"],
- )
- )
- )
- },
- }),
- sfe = {
- key: 1,
- class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1",
- },
- lfe = Ro("code", { class: "bg-b-2 ml-1 px-1 rounded" }, "/endpoint/{my_path_variable}", -1),
- cfe = Hr({
- __name: "RequestPathParams",
- props: { title: {}, paramKey: {} },
- setup(e) {
- const t = e,
- { activeRequest: n, activeExample: r, requestMutators: a, requestExampleMutators: o } = E8(),
- i = ii(() => {
- var e
- return (null == (e = r.value) ? void 0 : e.parameters[t.paramKey]) ?? []
- }),
- s = (e, i, s) => {
- var l, c
- if (!n.value || !r.value) return
- const d = r.value.parameters[t.paramKey],
- u = null == (l = d[e]) ? void 0 : l.key
- if ("key" === i) {
- if (null != (c = d[e]) && c.required) return
- if (s) {
- const e = encodeURIComponent(u),
- t = encodeURIComponent(s),
- r = new RegExp(`(?<=/):${e}(?=[/?#]|$)`, "g"),
- o = n.value.path.replace(r, `:${t}`)
- a.edit(n.value.uid, "path", o)
- } else {
- d.splice(e, 1)
- const t = new RegExp(`/:${encodeURIComponent(u)}(?=[/?#]|$)`, "g"),
- r = n.value.path.replace(t, "")
- a.edit(n.value.uid, "path", r)
- }
- }
- o.edit(r.value.uid, `parameters.${t.paramKey}.${e}.${i}`, s)
- }
- return (e, t) => (
- xo(),
- To(
- ahe,
- { itemCount: i.value.length },
- {
- title: yr(() => [Mo(at(e.title), 1)]),
- default: yr(() => [
- i.value.length
- ? (xo(),
- To(
- Yhe,
- { key: 0, class: "flex-1", isEnabledHidden: "", items: i.value, onUpdateRow: s },
- null,
- 8,
- ["items"],
- ))
- : (xo(), Eo("div", sfe, [Mo(" You can use variables in your path: "), lfe])),
- ]),
- _: 1,
- },
- 8,
- ["itemCount"],
- )
- )
- },
- }),
- dfe = { class: "flex-1" },
- ufe = { class: "text-c-3 pl-1" },
- pfe = { class: "request-section-content custom-scroll flex flex-1 flex-col px-2 xl:px-5 py-2.5" },
- hfe = Hr({
- __name: "RequestSection",
- setup(e) {
- const { activeRequest: t, activeExample: n, activeSecurityRequirements: r } = E8(),
- a = ["POST", "PUT", "PATCH", "DELETE"],
- o = ii(() => {
- const e = ["All", "Auth", "Request", "Cookies", "Headers", "Query", "Body"]
- return (
- n.value.parameters.path.length || e.splice(e.indexOf("Request"), 1),
- a.includes(t.value.method) || e.splice(e.indexOf("Body"), 1),
- i.value && e.splice(e.indexOf("Auth"), 1),
- e
- )
- }),
- i = ii(() => 0 === r.value.length || "[{}]" === JSON.stringify(r.value)),
- s = Dn("All")
- return (
- Ya(t, (e) => {
- "Body" === s.value && !a.includes(e.method) && (s.value = "All")
- }),
- (e, r) => (
- xo(),
- To(Jpe, null, {
- title: yr(() => {
- var e
- return [
- No(In(BI), { class: "text-c-3 mr-2", icon: "ExternalLink", size: "sm", thickness: "2.5" }),
- Ro("div", dfe, [Mo(" Request "), Ro("span", ufe, at(null == (e = In(t)) ? void 0 : e.summary), 1)]),
- ]
- }),
- default: yr(() => [
- Ro("div", pfe, [
- No(
- Ype,
- {
- activeSection: s.value,
- sections: o.value,
- onSetActiveSection: r[0] || (r[0] = (e) => (s.value = e)),
- },
- null,
- 8,
- ["activeSection", "sections"],
- ),
- Fr(No(Mhe, { title: "Authentication" }, null, 512), [
- [mi, !i.value && ("All" === s.value || "Auth" === s.value)],
- ]),
- Fr(No(cfe, { paramKey: "path", title: "Path Variables" }, null, 512), [
- [mi, ("All" === s.value || "Request" === s.value) && In(n).parameters.path.length > 0],
- ]),
- Fr(No(ife, { paramKey: "cookies", title: "Cookies" }, null, 512), [
- [mi, "All" === s.value || "Cookies" === s.value],
- ]),
- Fr(No(ife, { paramKey: "headers", title: "Headers" }, null, 512), [
- [mi, "All" === s.value || "Headers" === s.value],
- ]),
- Fr(No(ife, { paramKey: "query", title: "Query Parameters" }, null, 512), [
- [mi, "All" === s.value || "Query" === s.value],
- ]),
- Fr(No(afe, { body: "foo", title: "Body" }, null, 512), [
- [mi, ("All" === s.value || "Body" === s.value) && a.includes(In(t).method)],
- ]),
- ]),
- ]),
- _: 1,
- })
- )
- )
- },
- }),
- ffe = Hr({
- __name: "ResponseBody",
- props: { title: {}, data: { default: null }, headers: {} },
- setup(e) {
- const t = e,
- n = ii(() => {
- var e
- const n =
- (null == (e = t.headers.find((e) => "content-type" === e.name.toLowerCase())) ? void 0 : e.value) ?? ""
- return n.includes("json") ? "json" : (n.includes("html"), "html")
- }),
- r = Dn(null)
- return (
- $ue({ codeMirrorRef: r, readOnly: !0, lineNumbers: !0, content: zn(() => t.data), language: n }),
- (e, t) => (
- xo(),
- To(ahe, null, {
- title: yr(() => [Mo(at(e.title), 1)]),
- default: yr(() => [Ro("div", { ref_key: "codeMirrorRef", ref: r }, null, 512)]),
- _: 1,
- })
- )
- )
- },
- }),
- mfe = T8(ffe, [["__scopeId", "data-v-223b333c"]]),
- gfe = Hr({
- __name: "ScalarAsciiArt",
- props: { art: {}, animate: { type: Boolean } },
- setup(e) {
- const t = e,
- n = ii(() => t.art.split("\n")),
- r = (e, t) => ({
- animationDuration: 100 * e + "ms, 500ms",
- animationTimingFunction: `steps(${e}), step-end`,
- animationDelay: 100 * t + "ms, 0ms",
- animationIterationCount: "1, " + (100 * (n.value.length + n.value[n.value.length - 1].length + 5)) / 500,
- })
- return (e, t) => (
- xo(),
- Eo(
- "div",
- {
- class: Ge([
- "ascii-art font-code text-c-3 flex flex-col items-start text-[6px] leading-[7px]",
- { "ascii-art-animate": e.animate },
- ]),
- },
- [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- n.value,
- (e, t) => (
- xo(),
- Eo(
- "span",
- { key: t, class: "inline-block", style: He({ width: `calc(${e.length + 1}ch)` }) },
- [
- Ro(
- "span",
- { class: "inline-block whitespace-pre overflow-hidden", style: He(r(e.length, t)) },
- at(e),
- 5,
- ),
- ],
- 4,
- )
- ),
- ),
- 128,
- )),
- ],
- 2,
- )
- )
- },
- }),
- bfe = T8(gfe, [["__scopeId", "data-v-80684d49"]]),
- vfe = { class: "relative col-1 flex-center gap-6 p-2 capitalize" },
- yfe = { class: "flex h-[calc(100%_-_50px)] flex-col items-center justify-center" },
- Ofe = { class: "text-c-3 right-4 mt-auto flex w-full flex-col items-end gap-2 text-sm" },
- wfe = { key: 0, class: "flex items-center gap-1.5", type: "button" },
- xfe = Hr({
- __name: "ResponseEmpty",
- setup(e) {
- const { isReadOnly: t } = E8()
- return (e, n) => (
- xo(),
- Eo("div", vfe, [
- Ro("div", yfe, [
- No(
- bfe,
- {
- art: In(
- " .,,uod8B8bou,,.\n ..,uod8BBBBBBBBBBBBBBBBRPFT?l!i:.\n ||||||||||||||!?TFPRBBBBBBBBBBBBBBB8m=,\n |||| '\"\"^^!!||||||||||TFPRBBBVT!:...!\n |||| '\"\"^^!!|||||?!:.......!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n |||| ||||.........!\n ||||, ||||.........`\n |||||!!-._ ||||.......;.\n ':!|||||||||!!-._ ||||.....bBBBBWdou,.\n bBBBBB86foi!|||||||!!-..:|||!..bBBBBBBBBBBBBBBY!\n ::!?TFPRBBBBBB86foi!||||||||!!bBBBBBBBBBBBBBBY..!\n :::::::::!?TFPRBBBBBB86ftiaabBBBBBBBBBBBBBBY....!\n :::;`\"^!:;::::::!?TFPRBBBBBBBBBBBBBBBBBBBY......!\n ;::::::...''^::::::::::!?TFPRBBBBBBBBBBY........!\n .ob86foi;::::::::::::::::::::::::!?TFPRBY..........`\n .b888888888886foi;:::::::::::::::::::::::..........`\n .b888888888888888888886foi;::::::::::::::::..........\n.b888888888888888888888888888886foi;:::::::::......`\n!Tf998888888888888888888888888888888886foi;:::....`\n '\"^!|Tf9988888888888888888888888888888888!::..`\n '\"^!|Tf998888888888888888888888889!! '`\n '\"^!|Tf9988888888888888888!!` iBBbo.\n '\"^!|Tf998888888889!` WBBBBbo.\n '\"^!|Tf9989!` YBBBP^'\n '\"^!` `\n",
- ),
- },
- null,
- 8,
- ["art"],
- ),
- ]),
- Ro("div", Ofe, [
- Ro(
- "button",
- {
- class: "flex items-center gap-1.5",
- type: "button",
- onClick: n[0] || (n[0] = (e) => In(bpe).emit()),
- },
- [Mo(" Send Request "), No(R8, { hotkey: "↵" })],
- ),
- In(t) ? Qo("", !0) : (xo(), Eo("button", wfe, [Mo(" New Request "), No(R8, { hotkey: "N" })])),
- ]),
- ])
- )
- },
- }),
- kfe = ["href"],
- _fe = Hr({
- __name: "HelpfulLink",
- props: { href: {} },
- setup: (e) => (e, t) => (
- xo(),
- Eo(
- "a",
- {
- class: "cursor-help decoration-c-3 underline underline-offset-2",
- href: e.href,
- rel: "noopener noreferrer",
- target: "_blank",
- },
- [Xr(e.$slots, "default")],
- 8,
- kfe,
- )
- ),
- }),
- Sfe = ["B", "kB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"],
- Efe = ["B", "KiB", "MiB", "GiB", "TiB", "PiB", "EiB", "ZiB", "YiB"],
- Tfe = ["b", "kbit", "Mbit", "Gbit", "Tbit", "Pbit", "Ebit", "Zbit", "Ybit"],
- Afe = ["b", "kibit", "Mibit", "Gibit", "Tibit", "Pibit", "Eibit", "Zibit", "Yibit"],
- Cfe = (e, t, n) => {
- let r = e
- return (
- "string" == typeof t || Array.isArray(t)
- ? (r = e.toLocaleString(t, n))
- : (!0 !== t && void 0 === n) || (r = e.toLocaleString(void 0, n)),
- r
- )
- }
- function Pfe(e, t = {}) {
- if (!Number.isFinite(e)) throw new TypeError("Expected a finite number")
- t.colonNotation &&
- ((t.compact = !1), (t.formatSubMilliseconds = !1), (t.separateMilliseconds = !1), (t.verbose = !1)),
- t.compact && ((t.secondsDecimalDigits = 0), (t.millisecondsDecimalDigits = 0))
- const n = [],
- r = (e, r, a, o) => {
- if (!((0 !== n.length && t.colonNotation) || 0 !== e || (t.colonNotation && "m" === a))) return
- let i, s
- if (((o = (o || e || "0").toString()), t.colonNotation)) {
- ;(i = n.length > 0 ? ":" : ""), (s = "")
- const e = o.includes(".") ? o.split(".")[0].length : o.length,
- t = n.length > 0 ? 2 : 1
- o = "0".repeat(Math.max(0, t - e)) + o
- } else (i = ""), (s = t.verbose ? " " + ((l = r), 1 === e ? l : `${l}s`) : a)
- var l
- n.push(i + o + s)
- },
- a = (function (e) {
- if ("number" != typeof e) throw new TypeError("Expected a number")
- const t = e > 0 ? Math.floor : Math.ceil
- return {
- days: t(e / 864e5),
- hours: t(e / 36e5) % 24,
- minutes: t(e / 6e4) % 60,
- seconds: t(e / 1e3) % 60,
- milliseconds: t(e) % 1e3,
- microseconds: t(1e3 * e) % 1e3,
- nanoseconds: t(1e6 * e) % 1e3,
- }
- })(e)
- if (
- (r(Math.trunc(a.days / 365), "year", "y"),
- r(a.days % 365, "day", "d"),
- r(a.hours, "hour", "h"),
- r(a.minutes, "minute", "m"),
- t.separateMilliseconds || t.formatSubMilliseconds || (!t.colonNotation && e < 1e3))
- )
- if ((r(a.seconds, "second", "s"), t.formatSubMilliseconds))
- r(a.milliseconds, "millisecond", "ms"),
- r(a.microseconds, "microsecond", "µs"),
- r(a.nanoseconds, "nanosecond", "ns")
- else {
- const e = a.milliseconds + a.microseconds / 1e3 + a.nanoseconds / 1e6,
- n = "number" == typeof t.millisecondsDecimalDigits ? t.millisecondsDecimalDigits : 0,
- o = e >= 1 ? Math.round(e) : Math.ceil(e),
- i = n ? e.toFixed(n) : o
- r(Number.parseFloat(i), "millisecond", "ms", i)
- }
- else {
- const n = ((e, t) => {
- const n = Math.floor(e * 10 ** t + 1e-7)
- return (Math.round(n) / 10 ** t).toFixed(t)
- })((e / 1e3) % 60, "number" == typeof t.secondsDecimalDigits ? t.secondsDecimalDigits : 1),
- a = t.keepDecimalsOnWholeSeconds ? n : n.replace(/\.0+$/, "")
- r(Number.parseFloat(a), "second", "s", a)
- }
- if (0 === n.length) return "0" + (t.verbose ? " milliseconds" : "ms")
- if (t.compact) return n[0]
- if ("number" == typeof t.unitCount) {
- const e = t.colonNotation ? "" : " "
- return n.slice(0, Math.max(t.unitCount, 1)).join(e)
- }
- return t.colonNotation ? n.join("") : n.join(" ")
- }
- const Dfe = { class: "flex gap-1.5 text-c-3 pl-1" },
- Rfe = { key: 0 },
- Nfe = { key: 1 },
- $fe = Hr({
- __name: "ResponseMetaInformation",
- props: { response: {} },
- setup(e) {
- const t = e,
- n = (e) => {
- var t
- const n = parseInt((null == (t = e.headers) ? void 0 : t["content-length"]) || "0", 10)
- return n
- ? (function (e, t) {
- if (!Number.isFinite(e)) throw new TypeError(`Expected a finite number, got ${typeof e}: ${e}`)
- const n = (t = { bits: !1, binary: !1, space: !0, ...t }).bits
- ? t.binary
- ? Afe
- : Tfe
- : t.binary
- ? Efe
- : Sfe,
- r = t.space ? " " : ""
- if (t.signed && 0 === e) return ` 0${r}${n[0]}`
- const a = e < 0,
- o = a ? "-" : t.signed ? "+" : ""
- let i
- if (
- (a && (e = -e),
- void 0 !== t.minimumFractionDigits && (i = { minimumFractionDigits: t.minimumFractionDigits }),
- void 0 !== t.maximumFractionDigits &&
- (i = { maximumFractionDigits: t.maximumFractionDigits, ...i }),
- e < 1)
- )
- return o + Cfe(e, t.locale, i) + r + n[0]
- const s = Math.min(
- Math.floor(t.binary ? Math.log(e) / Math.log(1024) : Math.log10(e) / 3),
- n.length - 1,
- )
- return (
- (e /= (t.binary ? 1024 : 1e3) ** s),
- i || (e = e.toPrecision(3)),
- o + Cfe(Number(e), t.locale, i) + r + n[s]
- )
- })(n)
- : void 0
- },
- r = ii(() => {
- const e = t.response.status
- if (e) return Td[e] ?? void 0
- })
- return (e, t) => (
- xo(),
- Eo("div", Dfe, [
- Ro("span", null, at(In(Pfe)(e.response.duration)), 1),
- n(e.response) ? (xo(), Eo("span", Rfe, at(n(e.response)), 1)) : Qo("", !0),
- r.value
- ? (xo(),
- Eo(
- go,
- { key: 1 },
- [
- r.value.url
- ? (xo(),
- To(
- _fe,
- { key: 0, href: r.value.url },
- { default: yr(() => [Mo(at(e.response.status) + " " + at(r.value.name), 1)]), _: 1 },
- 8,
- ["href"],
- ))
- : (xo(), Eo("span", Nfe, at(e.response.status) + " " + at(r.value.name), 1)),
- ],
- 64,
- ))
- : Qo("", !0),
- ])
- )
- },
- }),
- Ife = { class: "flex-1 px-2 py-1.5 whitespace-nowrap" },
- Mfe = Hr({
- __name: "DataTableText",
- props: { text: {} },
- setup: (e) => (e, t) => (
- xo(), To(ohe, { class: "relative flex" }, { default: yr(() => [Ro("span", Ife, at(e.text), 1)]), _: 1 })
- ),
- }),
- Lfe = {
- key: 1,
- class: "text-c-3 px-4 text-sm border border-1/2 rounded min-h-12 justify-center flex items-center bg-b-1 mx-1",
- },
- Qfe = Hr({
- __name: "ResponseCookies",
- props: { cookies: {} },
- setup: (e) => (e, t) => (
- xo(),
- To(
- ahe,
- { defaultOpen: !1 },
- {
- title: yr(() => [Mo("Cookies")]),
- default: yr(() => [
- (xo(),
- Eo(
- go,
- { key: 0 },
- [
- e.cookies.length
- ? (xo(),
- To(
- ghe,
- { key: 0, class: "flex-1", columns: ["", ""] },
- {
- default: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- e.cookies,
- (e, t) => (
- xo(),
- To(
- vhe,
- { key: t },
- {
- default: yr(() => [
- No(Mfe, { text: e.name }, null, 8, ["text"]),
- No(Mfe, { text: e.value }, null, 8, ["text"]),
- ]),
- _: 2,
- },
- 1024,
- )
- ),
- ),
- 128,
- )),
- ]),
- _: 1,
- },
- ))
- : (xo(), Eo("div", Lfe, " No cookies ")),
- ],
- 64,
- )),
- ]),
- _: 1,
- },
- )
- ),
- }),
- Bfe = {
- key: 1,
- class: "text-c-3 px-4 text-sm border rounded min-h-12 justify-center flex items-center bg-b-1 mx-1",
- },
- jfe = Hr({
- __name: "ResponseHeaders",
- props: { headers: {} },
- setup(e) {
- const t = (e) =>
- e
- .split("-")
- .map((e) => e.charAt(0).toUpperCase() + e.slice(1))
- .join("-")
- return (e, n) => (
- xo(),
- To(
- ahe,
- { defaultOpen: !1, itemCount: e.headers.length },
- {
- title: yr(() => [Mo("Headers")]),
- default: yr(() => [
- e.headers.length
- ? (xo(),
- To(
- ghe,
- { key: 0, columns: ["minmax(auto, min-content)", "minmax(50%, 1fr)"], scroll: "" },
- {
- default: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- e.headers,
- (e, n) => (
- xo(),
- To(
- vhe,
- { key: n, class: "text-c-1" },
- {
- default: yr(() => [
- No(
- Mfe,
- { class: "sticky left-0 z-1 bg-b-1 max-w-48", text: t(e.name) },
- null,
- 8,
- ["text"],
- ),
- No(Mfe, { class: "z-0", text: e.value }, null, 8, ["text"]),
- ]),
- _: 2,
- },
- 1024,
- )
- ),
- ),
- 128,
- )),
- ]),
- _: 1,
- },
- ))
- : (xo(), Eo("div", Bfe, " No Headers ")),
- ]),
- _: 1,
- },
- 8,
- ["itemCount"],
- )
- )
- },
- }),
- Ufe = { class: "flex items-center flex-1" },
- Ffe = { class: "custom-scroll flex flex-1 flex-col px-2 xl:px-6 py-2.5" },
- zfe = Hr({
- __name: "ResponseSection",
- props: { response: {} },
- setup(e) {
- const t = e,
- n = ii(() => {
- var e
- const n = null == (e = t.response) ? void 0 : e.headers
- return n
- ? Object.keys(n)
- .map((e) => ({ name: e, value: n[e], required: !1 }))
- .filter((e) => !["rest-api-client-content-length", "X-API-Client-Content-Length"].includes(e.name))
- : []
- }),
- r = ii(() => {
- var e, n
- const r = null == (n = null == (e = t.response) ? void 0 : e.headers) ? void 0 : n.cookies
- return r ? Object.keys(r).map((e) => ({ name: e, value: r[e], required: !1 })) : []
- }),
- a = ii(() => {
- var e
- const n = null == (e = t.response) ? void 0 : e.data
- return n && xd(n)
- ? JSON.stringify(JSON.parse(n), null, 2)
- : n && "object" == typeof _n(n)
- ? JSON.stringify(n, null, 2)
- : n
- }),
- o = ["All", "Body", "Headers", "Cookies"],
- i = Dn("All")
- return (e, t) => (
- xo(),
- To(Jpe, null, {
- title: yr(() => [
- No(In(BI), { class: "text-c-3 mr-2 rotate-180", icon: "ExternalLink", size: "sm", thickness: "2.5" }),
- Ro("div", Ufe, [
- Mo(" Response "),
- e.response ? (xo(), To($fe, { key: 0, response: e.response }, null, 8, ["response"])) : Qo("", !0),
- ]),
- ]),
- default: yr(() => [
- Ro("div", Ffe, [
- e.response
- ? (xo(),
- Eo(
- go,
- { key: 1 },
- [
- No(
- Ype,
- {
- activeSection: i.value,
- sections: o,
- onSetActiveSection: t[0] || (t[0] = (e) => (i.value = e)),
- },
- null,
- 8,
- ["activeSection"],
- ),
- "All" === i.value || "Cookies" === i.value
- ? (xo(), To(Qfe, { key: 0, cookies: r.value }, null, 8, ["cookies"]))
- : Qo("", !0),
- "All" === i.value || "Headers" === i.value
- ? (xo(), To(jfe, { key: 1, headers: n.value }, null, 8, ["headers"]))
- : Qo("", !0),
- "All" === i.value || "Body" === i.value
- ? (xo(),
- To(mfe, { key: 2, active: !0, data: a.value, headers: n.value, title: "Body" }, null, 8, [
- "data",
- "headers",
- ]))
- : Qo("", !0),
- ],
- 64,
- ))
- : (xo(), To(xfe, { key: 0 })),
- ]),
- ]),
- _: 1,
- })
- )
- },
- }),
- qfe = Dn(null),
- Zfe = Dn(null),
- Hfe = ["draggable"],
- Vfe = Hr({
- __name: "Draggable",
- props: {
- ceiling: { default: 0.8 },
- floor: { default: 0.2 },
- isDraggable: { type: Boolean, default: !0 },
- isDroppable: { type: Boolean, default: !0 },
- parentIds: {},
- id: {},
- },
- emits: ["onDragEnd", "onDragStart"],
- setup(e, { emit: t }) {
- const n = e,
- r = t,
- a = ii(() => ((n.parentIds.length ?? 0) > 0 ? n.parentIds[n.parentIds.length - 1] : null)),
- o = (e) => {
- !e.dataTransfer ||
- !(e.target instanceof HTMLDivElement) ||
- !n.isDraggable ||
- (e.target.classList.add("dragging"),
- (e.dataTransfer.dropEffect = "move"),
- (e.dataTransfer.effectAllowed = "move"),
- (qfe.value = { id: n.id, parentId: a.value }),
- r("onDragStart", { id: n.id, parentId: a.value }))
- },
- i = ((e, t) => {
- let n = !1
- return function (...t) {
- n || (e(...t), (n = !0), setTimeout(() => (n = !1), 25))
- }
- })((e) => {
- var t, r, o
- if (
- (null == (t = qfe.value) ? void 0 : t.id) === n.id ||
- n.parentIds.includes((null == (r = qfe.value) ? void 0 : r.id) ?? "") ||
- !n.isDroppable
- )
- return
- const i = null == (o = Zfe.value) ? void 0 : o.offset,
- s = e.target.offsetHeight,
- l = n.floor * s,
- c = n.ceiling * s
- let d = 3
- e.offsetY <= 0 && i && 3 !== i
- ? (d = i)
- : e.offsetY <= l
- ? (d = 0)
- : e.offsetY >= c
- ? (d = 1)
- : e.offsetY > l && e.offsetY < c && (d = 2),
- (Zfe.value = { id: n.id, parentId: a.value, offset: d })
- }),
- s = ["above", "below", "asChild"],
- l = ii(() => {
- var e
- let t = "sidebar-indent-nested"
- return (
- n.isDroppable &&
- n.id === (null == (e = Zfe.value) ? void 0 : e.id) &&
- (t += ` dragover-${s[Zfe.value.offset]}`),
- t
- )
- }),
- c = () => {
- if (!Zfe.value || !qfe.value) return
- const e = { ...qfe.value },
- t = { ...Zfe.value }
- ;(qfe.value = null),
- (Zfe.value = null),
- document.querySelectorAll("div.dragging").forEach((e) => e.classList.remove("dragging")),
- e.id !== t.id && r("onDragEnd", e, t)
- }
- return (e, t) => (
- xo(),
- Eo(
- "div",
- {
- class: Ge(l.value),
- draggable: e.isDraggable,
- onDragend: c,
- onDragover: t[0] || (t[0] = Wi((...e) => In(i) && In(i)(...e), ["prevent", "stop"])),
- onDragstart: Wi(o, ["stop"]),
- },
- [Xr(e.$slots, "default")],
- 42,
- Hfe,
- )
- )
- },
- }),
- Wfe = Ro("span", null, "Add Example", -1),
- Xfe = Ro("span", null, "Rename", -1),
- Yfe = Ro("span", null, "Duplicate", -1),
- Gfe = Ro("span", null, "Delete", -1),
- Kfe = Hr({
- __name: "RequestSidebarItemMenu",
- props: { item: {} },
- setup(e) {
- const t = e,
- { activeWorkspace: n, requestMutators: r, requestExampleMutators: a } = E8(),
- { replace: o } = X1(),
- i = () => N8.emit({ commandName: "Add Example", metaData: t.item.uid }),
- s = () => {
- console.log("rename")
- },
- l = () => {
- console.log("duplicate")
- },
- c = () => {
- if ("requestUid" in t.item)
- a.delete(t.item), n2.value[Y1.Examples] === t.item.uid && o(`/workspace/${n.value}/request/default`)
- else {
- const e = R4(t.item.uid)
- if (!e.length) return
- r.delete(t.item, e[0]),
- n2.value[Y1.Request] === t.item.uid && o(`/workspace/${n.value.uid}/request/default`)
- }
- },
- d = ii(() => "summary" in t.item)
- return (e, t) => (
- xo(),
- To(
- In(cL),
- { teleport: "#scalar-client" },
- {
- items: yr(() => [
- d.value
- ? (xo(),
- To(
- In(pL),
- { key: 0, class: "flex !gap-2", onClick: i },
- {
- default: yr(() => [No(In(BI), { class: "inline-flex", icon: "Add", size: "sm" }), Wfe]),
- _: 1,
- },
- ))
- : Qo("", !0),
- No(
- In(pL),
- { class: "flex !gap-2", onClick: s },
- { default: yr(() => [No(In(BI), { class: "inline-flex", icon: "Edit", size: "sm" }), Xfe]), _: 1 },
- ),
- No(
- In(pL),
- { class: "flex !gap-2", onClick: l },
- {
- default: yr(() => [No(In(BI), { class: "inline-flex", icon: "Duplicate", size: "sm" }), Yfe]),
- _: 1,
- },
- ),
- No(In(uL)),
- No(
- In(pL),
- { class: "flex !gap-2", onClick: c },
- { default: yr(() => [No(In(BI), { class: "inline-flex", icon: "Trash", size: "sm" }), Gfe]), _: 1 },
- ),
- ]),
- default: yr(() => [
- No(
- In(mw),
- {
- class:
- "z-10 hover:bg-b-3 transition-none p-1 group-hover:flex ui-open:flex absolute left-0 hidden -translate-x-full -ml-1",
- size: "sm",
- variant: "ghost",
- },
- { default: yr(() => [No(In(BI), { icon: "Ellipses", size: "sm" })]), _: 1 },
- ),
- ]),
- _: 1,
- },
- )
- )
- },
- }),
- Jfe = { class: "z-10 font-medium w-full editable-sidebar-hover-item pl-2" },
- eme = { class: "relative" },
- tme = { class: "flex" },
- nme = { class: "z-10 flex h-fit items-center justify-center max-w-[14px]" },
- rme = { class: "z-10 font-medium" },
- ame = { key: 2 },
- ome = "hover:bg-sidebar-active-b indent-padding-left",
- ime = Hr({
- __name: "RequestSidebarItem",
- props: {
- isDraggable: { type: Boolean, default: !1 },
- isDroppable: { type: Boolean, default: !1 },
- parentUids: {},
- item: {},
- },
- emits: ["onDragEnd"],
- setup(e) {
- vi((e) => ({ "28f0b1bd": u.value, "9782e23e": p.value }))
- const t = e,
- { activeRequest: n, activeWorkspace: r, folders: a, isReadOnly: o, requests: i, requestExamples: s } = E8(),
- { collapsedSidebarFolders: l, toggleSidebarFolder: c } = k4(),
- d = ii(() => "childUids" in t.item),
- u = ii(() =>
- t.parentUids.length
- ? o.value
- ? 12 * (t.parentUids.length - 1) + "px"
- : 12 * t.parentUids.length + "px"
- : "12px",
- ),
- p = ii(() =>
- t.parentUids.length
- ? o.value
- ? 12 * (t.parentUids.length - 1) + "px"
- : 12 * t.parentUids.length + "px"
- : "0px",
- ),
- h = (e) => {
- var t
- return "spec" in e
- ? null == (t = e.spec.info)
- ? void 0
- : t.title
- : "summary" in e
- ? e.summary || e.path
- : "name" in e
- ? e.name
- : ""
- },
- f = ii(() => ("requestUid" in t.item ? i[t.item.requestUid] : t.item).method),
- m = ii(() => {
- var e
- return (
- l[t.item.uid] ||
- ((null == (e = n.value) ? void 0 : e.uid) === t.item.uid && t.item.childUids.length > 1)
- )
- }),
- g = ii(() => "default" === n2.value[Y1.Request] && n.value.uid === t.item.uid)
- return (e, n) => {
- const u = Sr("RequestSidebarItem", !0)
- return (
- xo(),
- Eo(
- "div",
- {
- class: Ge([
- "relative flex flex-row",
- [
- (In(o) && e.parentUids.length > 1) || (!In(o) && e.parentUids.length)
- ? "before:bg-b-3 before:absolute before:left-[calc(.75rem_+_.5px)] before:top-0 before:z-10 before:h-[calc(100%_+_.5px)] last:before:h-full before:w-px mb-[.5px] last:mb-0 indent-border-line-offset"
- : "",
- ],
- ]),
- },
- [
- No(
- In(Vfe),
- {
- id: e.item.uid,
- ceiling: d.value ? 0.8 : 0.5,
- class: "flex flex-1 flex-col gap-[.5px] text-sm",
- floor: d.value ? 0.2 : 0.5,
- isDraggable: e.parentUids.length > 0 && e.isDraggable,
- isDroppable: e.isDroppable,
- parentIds: e.parentUids,
- onOnDragEnd: n[2] || (n[2] = (...t) => e.$emit("onDragEnd", ...t)),
- },
- {
- default: yr(() => [
- "summary" in e.item || "requestUid" in e.item
- ? (xo(),
- To(
- In(z1),
- {
- key: 0,
- class: "no-underline",
- to:
- "requestUid" in t.item
- ? `/workspace/${r.value.uid}/request/${t.item.requestUid}/examples/${t.item.uid}`
- : `/workspace/${r.value.uid}/request/${t.item.uid}`,
- },
- {
- default: yr(({ isExactActive: t }) => [
- Ro(
- "div",
- {
- class: Ge([
- "group relative flex min-h-8 cursor-pointer flex-row items-start justify-between gap-2 py-1.5 pr-2 rounded editable-sidebar-hover",
- [
- ome,
- t || g.value
- ? "bg-sidebar-active-b text-sidebar-active-c transition-none"
- : "text-sidebar-c-2",
- ],
- ]),
- tabindex: "0",
- },
- [
- Ro("span", Jfe, at(h(e.item)), 1),
- Ro("div", eme, [
- In(o)
- ? Qo("", !0)
- : (xo(), To(Kfe, { key: 0, item: e.item }, null, 8, ["item"])),
- Ro("span", tme, [
- Mo(" "),
- No(In($8), { class: "font-bold", method: f.value }, null, 8, ["method"]),
- ]),
- ]),
- ],
- 2,
- ),
- ]),
- _: 1,
- },
- 8,
- ["to"],
- ))
- : !In(o) || e.parentUids.length
- ? (xo(),
- Eo(
- "button",
- {
- key: 1,
- class: Ge([
- "hover:bg-b-2 group relative flex w-full flex-row justify-start gap-1.5 rounded p-1.5 z-[1]",
- ome,
- ]),
- type: "button",
- onClick: n[0] || (n[0] = (t) => In(c)(e.item.uid)),
- },
- [
- Ro("span", nme, [
- Xr(
- e.$slots,
- "leftIcon",
- {},
- () => [
- Ro(
- "div",
- { class: Ge({ "rotate-90": In(l)[e.item.uid] }) },
- [
- No(In(BI), {
- class: "text-c-3 text-sm",
- icon: "ChevronRight",
- size: "sm",
- thickness: "2.5",
- }),
- ],
- 2,
- ),
- ],
- !0,
- ),
- Mo(" "),
- ]),
- Ro("span", rme, at(h(e.item)), 1),
- ],
- ))
- : Qo("", !0),
- "childUids" in e.item
- ? Fr(
- (xo(),
- Eo(
- "div",
- ame,
- [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- "summary" in e.item ? e.item.childUids.slice(1) : e.item.childUids,
- (t) => (
- xo(),
- To(
- u,
- {
- key: t,
- isDraggable: e.isDraggable,
- isDroppable: e.isDroppable,
- item: In(a)[t] || In(i)[t] || In(s)[t],
- parentUids: [...e.parentUids, e.item.uid],
- onOnDragEnd: n[1] || (n[1] = (...t) => e.$emit("onDragEnd", ...t)),
- },
- null,
- 8,
- ["isDraggable", "isDroppable", "item", "parentUids"],
- )
- ),
- ),
- 128,
- )),
- ],
- 512,
- )),
- [[mi, m.value]],
- )
- : Qo("", !0),
- ]),
- _: 3,
- },
- 8,
- ["id", "ceiling", "floor", "isDraggable", "isDroppable", "parentIds"],
- ),
- ],
- 2,
- )
- )
- }
- },
- }),
- sme = T8(ime, [["__scopeId", "data-v-18928cac"]]),
- lme = { class: "w-sidebar relative flex flex-col border-r bg-b-1" },
- cme = { key: 0, class: "xl:min-h-header py-2.5 flex items-center border-b px-4 text-sm" },
- dme = { class: "font-medium m-0 text-sm" },
- ume = { class: "custom-scroll sidebar-height" },
- pme = Hr({
- __name: "Sidebar",
- props: { title: {} },
- setup(e) {
- const { isReadOnly: t } = E8()
- return (e, n) => (
- xo(),
- Eo("aside", lme, [
- Xr(e.$slots, "header"),
- !In(t) && e.title ? (xo(), Eo("div", cme, [Ro("h2", dme, at(e.title), 1)])) : Qo("", !0),
- Ro("div", ume, [Xr(e.$slots, "content")]),
- Xr(e.$slots, "button"),
- ])
- )
- },
- }),
- hme = { class: "xl:min-h-header py-2.5 flex items-center border-b px-2.5 text-sm" },
- fme = { class: "font-medium m-0 text-sm flex gap-1.5 items-center" },
- mme = { class: "flex items-center justify-center h-4 w-4" },
- gme = Ro("span", null, "Create new workspace", -1),
- bme = Hr({
- __name: "WorkspaceDropdown",
- setup(e) {
- const { activeWorkspace: t, workspaces: n } = E8(),
- { push: r } = X1(),
- a = () => N8.emit({ commandName: "Create Workspace" })
- return (e, o) => (
- xo(),
- Eo("div", hme, [
- No(In(cL), null, {
- items: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- In(n),
- (e, n) => (
- xo(),
- To(
- In(pL),
- {
- key: n,
- class:
- "flex gap-1.5 group/item items-center whitespace-nowrap text-ellipsis overflow-hidden",
- onClick: Wi(
- (e) =>
- ((e) => {
- e !== t.value.uid && r(`/workspace/${e}`)
- })(n),
- ["stop"],
- ),
- },
- {
- default: yr(() => [
- Ro(
- "div",
- {
- class: Ge([
- "flex items-center justify-center rounded-full p-[3px] w-4 h-4 group-hover/item:shadow-border",
- In(t).uid === n ? "bg-blue text-b-1" : "text-transparent",
- ]),
- },
- [No(In(BI), { class: "size-2.5", icon: "Checkmark", thickness: "3.5" })],
- 2,
- ),
- Mo(" " + at(e.name), 1),
- ]),
- _: 2,
- },
- 1032,
- ["onClick"],
- )
- ),
- ),
- 128,
- )),
- No(In(uL)),
- No(
- In(pL),
- { class: "flex items-center gap-1.5", onClick: a },
- { default: yr(() => [Ro("div", mme, [No(In(BI), { class: "h-2.5", icon: "Add" })]), gme]), _: 1 },
- ),
- ]),
- default: yr(() => [
- No(
- In(mw),
- {
- class: "font-normal h-full justify-start py-1.5 px-1.5 text-c-1 hover:bg-b-2 w-fit",
- fullWidth: "",
- variant: "ghost",
- },
- {
- default: yr(() => [
- Ro("h2", fme, [
- Mo(at(In(t).name) + " ", 1),
- No(In(BI), { class: "size-2.5", icon: "ChevronDown", thickness: "3.5" }),
- ]),
- ]),
- _: 1,
- },
- ),
- ]),
- _: 1,
- }),
- ])
- )
- },
- })
- /*! js-cookie v3.0.5 | MIT */ function vme(e) {
- for (var t = 1; t < arguments.length; t++) {
- var n = arguments[t]
- for (var r in n) e[r] = n[r]
- }
- return e
- }
- var yme = (function e(t, n) {
- function r(e, r, a) {
- if ("undefined" != typeof document) {
- "number" == typeof (a = vme({}, n, a)).expires && (a.expires = new Date(Date.now() + 864e5 * a.expires)),
- a.expires && (a.expires = a.expires.toUTCString()),
- (e = encodeURIComponent(e)
- .replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent)
- .replace(/[()]/g, escape))
- var o = ""
- for (var i in a) a[i] && ((o += "; " + i), !0 !== a[i] && (o += "=" + a[i].split(";")[0]))
- return (document.cookie = e + "=" + t.write(r, e) + o)
- }
- }
- return Object.create(
- {
- set: r,
- get: function (e) {
- if ("undefined" != typeof document && (!arguments.length || e)) {
- for (var n = document.cookie ? document.cookie.split("; ") : [], r = {}, a = 0; a < n.length; a++) {
- var o = n[a].split("="),
- i = o.slice(1).join("=")
- try {
- var s = decodeURIComponent(o[0])
- if (((r[s] = t.read(i, s)), e === s)) break
- } catch (e) {}
- }
- return e ? r[e] : r
- }
- },
- remove: function (e, t) {
- r(e, "", vme({}, t, { expires: -1 }))
- },
- withAttributes: function (t) {
- return e(this.converter, vme({}, this.attributes, t))
- },
- withConverter: function (t) {
- return e(vme({}, this.converter, t), this.attributes)
- },
- },
- { attributes: { value: Object.freeze(n) }, converter: { value: Object.freeze(t) } },
- )
- })(
- {
- read: function (e) {
- return '"' === e[0] && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent)
- },
- write: function (e) {
- return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g, decodeURIComponent)
- },
- },
- { path: "/" },
- )
- const Ome = (e = []) => e.reduce((e, t) => (t.key && (e[t.key] = t.value), e), {}),
- wme = { class: "lg:min-h-header flex items-center w-full justify-center p-1 flex-wrap t-app__top-container" },
- xme = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 w-6/12" },
- kme = { class: "flex flex-row items-center gap-1 lg:px-1 lg:mb-0 mb-0.5 lg:flex-1 justify-end w-6/12" },
- _me = Hr({
- __name: "Request",
- setup(e) {
- var t
- const {
- activeExample: n,
- activeRequest: r,
- activeSecurityScheme: a,
- activeWorkspaceServers: o,
- activeWorkspace: i,
- environments: s,
- requestMutators: l,
- activeWorkspaceCollections: c,
- modalState: d,
- } = E8(),
- { collapsedSidebarFolders: u } = k4(),
- p = aw(),
- h = Dn(!(null != (t = i.value) && t.isReadOnly)),
- f = async () => {
- var e
- if (!r.value || !n.value)
- return void console.warn("There is no request active at the moment. Please select one then try again.")
- let t = n.value.url
- const c = Object.values(s).reduce((e, t) => {
- try {
- return { ...e, ...JSON.parse(t.raw) }
- } catch {
- return e
- }
- }, {})
- t = t.replace(
- /\{\{(.*?)\}\}/g,
- (e, t) => (
- o.value.forEach((e) => {
- if (e.url === t) return t
- }),
- c[t] || t
- ),
- )
- const { request: d, response: u } = await (async (e, t, n, r, a) => {
- var o
- let i = n
- t.parameters.path.forEach((e) => {
- !e.key || !e.value || (i = i.replace(`{${e.key}}`, e.value))
- })
- const s = Ome(t.parameters.headers.filter(({ enabled: e }) => e))
- let l = null
- if ("binary" === t.body.activeBody && t.body.binary)
- (s["Content-Type"] = t.body.binary.type),
- (s["Content-Disposition"] = `attachment; filename="${t.body.binary.name}"`),
- (l = t.body.binary)
- else if ("raw" === t.body.activeBody && t.body.raw.value) l = t.body.raw.value
- else if ("formData" === t.body.activeBody) {
- s["Content-Type"] = "multipart/form-data"
- const e = new FormData()
- "form-data" === t.body.formData.encoding &&
- (t.body.formData.value.forEach((t) => {
- t.key && t.value ? e.append(t.key, t.value) : t.file && e.append(t.file.name, t.file)
- }),
- (l = e))
- }
- const c = [],
- [d, u] = i.split("?")
- new URLSearchParams(u ?? "").forEach((e, t) => {
- c.push({ key: t, value: e, enabled: !0 })
- })
- const p = {
- ...Ome(t.parameters.query.filter(({ enabled: e }) => e).filter(({ value: e }) => "" !== e)),
- ...Ome(c),
- },
- h = { ...Ome((t.parameters.cookies ?? []).filter(({ enabled: e }) => e)) }
- if (null != r && r.scheme) {
- const { scheme: e } = r
- if ("apiKey" === e.type && e.value)
- switch (e.in) {
- case "cookie":
- h[e.name] = e.value
- break
- case "query":
- p[e.name] = e.value
- break
- case "header":
- s[e.name] = e.value
- }
- else
- "http" === e.type && e.value
- ? "basic" === e.scheme && e.secondValue
- ? (s.Authorization = `Basic ${btoa(`${e.value}:${e.secondValue}`)}`)
- : (s.Authorization = `Bearer ${e.value}`)
- : "oauth2" === e.type &&
- null != (o = r.flow) &&
- o.token &&
- (s.Authorization = `Bearer ${r.flow.token}`)
- }
- Object.keys(h).forEach((e) => {
- yme.set(e, h[e], { sameSite: "None", secure: !0 })
- })
- const f = new URLSearchParams(p).toString()
- i = `${d}${f ? "?" + f : ""}`
- const m = { url: gs(a, i), method: e.method, headers: s }
- l && (m.data = l)
- const g = Date.now()
- try {
- const e = await wf(m)
- return (
- bs(a, i) &&
- [
- "Access-Control-Allow-Headers",
- "Access-Control-Allow-Origin",
- "Access-Control-Allow-Methods",
- "Access-Control-Expose-Headers",
- ]
- .map((e) => e.toLowerCase())
- .forEach((t) => delete e.headers[t]),
- { sentTime: Date.now(), request: t, response: { ...e, duration: Date.now() - g } }
- )
- } catch (e) {
- const n = e.response
- return (
- console.error("ERROR", e),
- { sentTime: Date.now(), request: t, response: n ? { ...n, duration: Date.now() - g } : void 0 }
- )
- }
- })(r.value, n.value, t, a.value, null == (e = i.value) ? void 0 : e.proxyUrl)
- d && u
- ? l.edit(r.value.uid, "history", [
- ...r.value.history,
- { request: d, response: u, timestamp: Date.now() },
- ])
- : console.warn("No response or request was returned")
- }
- Nr(() => bpe.on(f)), Mr(() => bpe.off(f))
- const m = () => N8.emit(),
- g = Qm()
- Rm(document, "keydown", (e) => {
- ;(Hz() ? g.meta.value : g.ctrl.value) && "b" === e.key && (h.value = !h.value),
- (Hz() ? g.meta.value : g.ctrl.value) && "k" === e.key && (p.open ? p.hide() : p.show())
- })
- const b = () => {
- if (!r.value) return ""
- const { method: e } = r.value
- return Ed[e].backgroundColor
- }
- return (e, t) => (
- xo(),
- Eo(
- go,
- null,
- [
- Ro(
- "div",
- {
- class: Ge([
- "flex flex-1 flex-col rounded-lg rounded-b-none rounded-r-none pt-0 h-full client-wrapper-bg-color",
- b(),
- ]),
- },
- [
- Ro("div", wme, [
- Ro("div", xme, [
- No(
- zpe,
- { modelValue: h.value, "onUpdate:modelValue": t[0] || (t[0] = (e) => (h.value = e)) },
- null,
- 8,
- ["modelValue"],
- ),
- ]),
- No(Ape),
- Ro("div", kme, [
- In(i).isReadOnly
- ? (xo(),
- Eo(
- "button",
- {
- key: 0,
- class: "text-c-3 hover:bg-b-3 active:text-c-1 p-2 rounded",
- type: "button",
- onClick: t[1] || (t[1] = (e) => In(d).hide()),
- },
- [No(In(BI), { icon: "Close", size: "lg", thickness: "1.75" })],
- ))
- : Qo("", !0),
- ]),
- ]),
- No(Zpe, null, {
- default: yr(() => [
- Fr(
- No(
- In(pme),
- { class: Ge([h.value ? "sidebar-active-width" : ""]) },
- Zr(
- {
- content: yr(() => [
- No(Npe, { onOpenSearchModal: t[2] || (t[2] = (e) => In(p).show()) }),
- Ro(
- "div",
- {
- class: "custom-scroll flex flex-1 flex-col overflow-visible px-3 pb-12 pt-2.5",
- onDragenter: t[3] || (t[3] = Wi(() => {}, ["prevent"])),
- onDragover: t[4] || (t[4] = Wi(() => {}, ["prevent"])),
- },
- [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- In(c),
- (e, t) => (
- xo(),
- To(
- sme,
- {
- key: e.uid,
- isDraggable: !In(i).isReadOnly,
- isDroppable: !In(i).isReadOnly,
- item: e,
- parentUids: [],
- onOnDragEnd: (...e) => {},
- },
- {
- leftIcon: yr(() => [
- No(In(BI), {
- class: "text-sidebar-c-2 text-sm group-hover:hidden",
- icon: "CodeFolder",
- size: "sm",
- thickness: "2",
- }),
- Ro(
- "div",
- { class: Ge({ "rotate-90": In(u)[e.uid] }) },
- [
- No(In(BI), {
- class: "text-c-3 hidden text-sm group-hover:block",
- icon: "ChevronRight",
- size: "sm",
- }),
- ],
- 2,
- ),
- ]),
- _: 2,
- },
- 1032,
- ["isDraggable", "isDroppable", "item", "onOnDragEnd"],
- )
- ),
- ),
- 128,
- )),
- ],
- 32,
- ),
- ]),
- button: yr(() => [
- In(i).isReadOnly
- ? Qo("", !0)
- : (xo(),
- To(Qpe, { key: 0, click: m }, { title: yr(() => [Mo("Add Item")]), _: 1 })),
- ]),
- _: 2,
- },
- [In(i).isReadOnly ? void 0 : { name: "header", fn: yr(() => [No(In(bme))]), key: "0" }],
- ),
- 1032,
- ["class"],
- ),
- [[mi, h.value]],
- ),
- In(n)
- ? (xo(),
- To(
- Vpe,
- { key: 0, class: Ge(["flex-1", [h.value ? "sidebar-active-hide-layout" : ""]]) },
- {
- default: yr(() => {
- var e, t, n, a, o
- return [
- No(hfe),
- No(
- zfe,
- {
- response:
- null ==
- (o =
- null == (a = null == (e = In(r)) ? void 0 : e.history)
- ? void 0
- : a[
- (null == (n = null == (t = In(r)) ? void 0 : t.history)
- ? void 0
- : n.length) - 1
- ])
- ? void 0
- : o.response,
- },
- null,
- 8,
- ["response"],
- ),
- ]
- }),
- _: 1,
- },
- 8,
- ["class"],
- ))
- : Qo("", !0),
- ]),
- _: 1,
- }),
- ],
- 2,
- ),
- No(Mpe, { modalState: In(p) }, null, 8, ["modalState"]),
- ],
- 64,
- )
- )
- },
- }),
- Sme = T8(_me, [["__scopeId", "data-v-60c28ddd"]]),
- Eme = Object.freeze(
- Object.defineProperty({ __proto__: null, default: Sme }, Symbol.toStringTag, { value: "Module" }),
- ),
- Tme = { class: "flex flex-col gap-1 p-2" },
- Ame = T8({}, [
- [
- "render",
- function (e, t) {
- return xo(), Eo("ul", Tme, [Xr(e.$slots, "default")])
- },
- ],
- ]),
- Cme = { class: "flex justify-end gap-3" },
- Pme = Hr({
- __name: "SidebarListElementForm",
- props: { danger: { type: Boolean }, label: {} },
- emits: ["cancel", "submit"],
- setup(e, { emit: t }) {
- const n = t
- return (e, t) => (
- xo(),
- Eo(
- "form",
- {
- class: "flex flex-col gap-6 text-base",
- onSubmit: t[1] || (t[1] = Wi((e) => n("submit"), ["prevent"])),
- },
- [
- Xr(e.$slots, "default"),
- Ro("div", Cme, [
- No(
- In(mw),
- { variant: "outlined", onClick: t[0] || (t[0] = (e) => n("cancel")) },
- { default: yr(() => [Mo(" Cancel ")]), _: 1 },
- ),
- No(
- In(mw),
- { error: e.danger, type: "submit" },
- { default: yr(() => [Mo(at(e.label ?? "Submit"), 1)]), _: 1 },
- 8,
- ["error"],
- ),
- ]),
- ],
- 32,
- )
- )
- },
- }),
- Dme = Ro("p", null, "Are you sure you want to remove it?", -1),
- Rme = Hr({
- __name: "DeleteSidebarListElement",
- props: { variableName: {} },
- emits: ["close", "delete"],
- setup(e, { emit: t }) {
- const n = t
- async function r() {
- n("delete")
- }
- return (e, t) => (
- xo(),
- To(
- Pme,
- {
- danger: "",
- label: `Delete ${e.variableName}`,
- onCancel: t[0] || (t[0] = (e) => n("close")),
- onSubmit: r,
- },
- { default: yr(() => [Dme]), _: 1 },
- 8,
- ["label"],
- )
- )
- },
- }),
- Nme = { class: "absolute flex right-1 opacity-0 group-hover:opacity-100" },
- $me = Hr({
- __name: "SidebarListElementActions",
- props: { variable: {} },
- emits: ["delete"],
- setup(e, { emit: t }) {
- const { variable: n } = e,
- r = t,
- a = Dn({ action: "None", name: "" }),
- o = aw(),
- { copyToClipboard: i } = (() => {
- const { toast: e } = Vu()
- return {
- copyToClipboard: (t) => {
- navigator.clipboard.writeText(t).then(() => {
- e("Copied to the clipboard.", "info")
- })
- },
- }
- })()
- function s() {
- o.hide(), (a.value = { action: "None", name: "" })
- }
- return (e, t) => (
- xo(),
- Eo(
- go,
- null,
- [
- Ro("div", Nme, [
- Ro(
- "button",
- {
- class: "text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-[5px]",
- type: "button",
- onClick: t[0] || (t[0] = (t) => In(i)(e.variable.name)),
- },
- [No(In(BI), { class: "h-3 w-3", icon: "Clipboard" })],
- ),
- e.variable.isDefault
- ? Qo("", !0)
- : (xo(),
- Eo(
- "button",
- {
- key: 0,
- class: "text-c-3 hover:bg-b-3 hover:text-c-1 rounded p-1",
- type: "button",
- onClick:
- t[1] ||
- (t[1] = Wi(
- (e) => ((a.value = { action: "Delete", name: n.name }), void o.show()),
- ["prevent"],
- )),
- },
- [No(In(BI), { class: "h-3.5 w-3.5", icon: "Close" })],
- )),
- ]),
- No(
- In(sw),
- { state: In(o), title: `${a.value.action} ${a.value.name}` },
- {
- default: yr(() => [
- "Delete" === a.value.action
- ? (xo(),
- To(
- Rme,
- {
- key: 0,
- variableName: a.value.name,
- onClose: s,
- onDelete:
- t[2] ||
- (t[2] = (t) =>
- (function (e) {
- r("delete", e), s()
- })(e.variable.uid)),
- },
- null,
- 8,
- ["variableName"],
- ))
- : Qo("", !0),
- ]),
- _: 1,
- },
- 8,
- ["state", "title"],
- ),
- ],
- 64,
- )
- )
- },
- }),
- Ime = { key: 0, class: "hover:bg-b-3 rounded p-1.5", type: "button" },
- Mme = Hr({
- __name: "SidebarListElement",
- props: { variable: {} },
- emits: ["delete"],
- setup(e, { emit: t }) {
- const n = t,
- r = X1(),
- a = (e) => {
- n("delete", e)
- }
- return (e, t) => {
- const n = Sr("router-link")
- return (
- xo(),
- Eo("li", null, [
- No(
- n,
- {
- class: Ge([
- "text-c-2 hover:bg-b-2 group relative block flex items-center gap-1 rounded py-1 pr-2 font-medium",
- [e.variable.color ? "pl-1" : "pl-2"],
- ]),
- exactActiveClass: "active-link",
- to: `${e.variable.uid}`,
- onClick:
- t[0] ||
- (t[0] = Wi(
- (t) =>
- ((e, t) => {
- e.metaKey ? window.open(t, "_blank") : r.push(t)
- })(t, e.variable.uid),
- ["prevent"],
- )),
- },
- {
- default: yr(() => [
- e.variable.color
- ? (xo(),
- Eo("button", Ime, [
- Ro("div", { class: Ge(["h-2.5 w-2.5 rounded-xl", `bg-${e.variable.color}`]) }, null, 2),
- ]))
- : Qo("", !0),
- Mo(" " + at(e.variable.name) + " ", 1),
- No(
- $me,
- { variable: { ...e.variable, isDefault: e.variable.isDefault ?? !1 }, onDelete: a },
- null,
- 8,
- ["variable"],
- ),
- ]),
- _: 1,
- },
- 8,
- ["class", "to"],
- ),
- ])
- )
- }
- },
- }),
- Lme = T8(Mme, [["__scopeId", "data-v-f43d5cfd"]]),
- Qme = { class: "flex flex-row gap-1.5 space-x-1" },
- Bme = ["onClick"],
- jme = Hr({
- __name: "EnvironmentColors",
- props: { activeColor: {} },
- emits: ["select"],
- setup(e) {
- const t = [
- { color: "grey", bgClass: "bg-grey" },
- { color: "red", bgClass: "bg-red" },
- { color: "yellow", bgClass: "bg-yellow" },
- { color: "green", bgClass: "bg-green" },
- { color: "orange", bgClass: "bg-orange" },
- { color: "blue", bgClass: "bg-blue" },
- { color: "text-c-2", bgClass: "bg-c-2" },
- { color: "purple", bgClass: "bg-purple" },
- { color: "pink", bgClass: "bg-pink" },
- ]
- return (e, n) => (
- xo(),
- Eo("div", Qme, [
- (xo(),
- Eo(
- go,
- null,
- qr(t, (t) =>
- Ro(
- "div",
- {
- key: t.color,
- class: Ge(["flex h-5 w-5 cursor-pointer items-center justify-center rounded-full", t.bgClass]),
- onClick: (n) => e.$emit("select", t.color),
- },
- [
- e.activeColor === t.color
- ? (xo(), To(In(BI), { key: 0, icon: "Checkmark", size: "xs" }))
- : Qo("", !0),
- ],
- 10,
- Bme,
- ),
- ),
- 64,
- )),
- ])
- )
- },
- }),
- Ume = { class: "flex-1" },
- Fme = ["value"],
- zme = { class: "colors ml-auto" },
- qme = Hr({
- __name: "Environment",
- setup(e) {
- const t = X1(),
- { environments: n, environmentMutators: r } = E8(),
- a = Dn(null),
- o = Dn(null),
- i = Dn(!1)
- function s() {
- const e = {
- name: "New Environment",
- uid: NL(),
- color: "grey",
- raw: JSON.stringify({ exampleKey: "exampleValue" }, null, 2),
- parsed: [],
- isDefault: !1,
- }
- r.add(e), (a.value = e.uid), t.push(a.value)
- }
- function l(e) {
- a.value && r.edit(a.value, "raw", e)
- }
- const c = (e) => {
- a.value && (n[a.value].color = e)
- },
- d = () => {
- a.value &&
- !n[a.value].isDefault &&
- ((i.value = !0),
- rr(() => {
- var e
- null == (e = o.value) || e.focus()
- }))
- },
- u = (e) => {
- const t = e.target.value
- a.value && !n[a.value].isDefault && (n[a.value].name = t)
- }
- return (
- Nr(() => {
- "default" === t.currentRoute.value.params.environment && (a.value = n.default.uid)
- }),
- (e, t) => (
- xo(),
- To(Zpe, null, {
- default: yr(() => [
- No(
- pme,
- { title: "Environment" },
- {
- content: yr(() => [
- Ro("div", Ume, [
- No(Ame, null, {
- default: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- In(n),
- (e) => (
- xo(),
- To(
- Lme,
- {
- key: e.uid,
- class: "text-xs",
- variable: { name: e.name, uid: e.uid, color: e.color, isDefault: e.isDefault },
- onClick: (t) => (a.value = e.uid),
- onDelete: (t) =>
- ((e) => {
- r.delete(e), a.value === e && (a.value = null)
- })(e.uid),
- },
- null,
- 8,
- ["variable", "onClick", "onDelete"],
- )
- ),
- ),
- 128,
- )),
- ]),
- _: 1,
- }),
- ]),
- ]),
- button: yr(() => [
- No(Qpe, { click: s }, { title: yr(() => [Mo("Add Environment Variable")]), _: 1 }),
- ]),
- _: 1,
- },
- ),
- No(
- Vpe,
- { class: "flex-1" },
- {
- default: yr(() => [
- No(
- Jpe,
- null,
- Zr(
- {
- default: yr(() => [
- a.value
- ? (xo(),
- To(
- cpe,
- {
- key: 0,
- class: "px-2 py-2.5",
- lineNumbers: "",
- modelValue: In(n)[a.value].raw,
- "onUpdate:modelValue": l,
- },
- null,
- 8,
- ["modelValue"],
- ))
- : Qo("", !0),
- ]),
- _: 2,
- },
- [
- a.value
- ? {
- name: "title",
- fn: yr(() => [
- !i.value || In(n)[a.value].isDefault
- ? (xo(), Eo("span", { key: 0, onDblclick: d }, at(In(n)[a.value].name), 33))
- : (xo(),
- Eo(
- "input",
- {
- key: 1,
- ref_key: "nameInputRef",
- ref: o,
- class: "ring-1 ring-offset-4 ring-b-outline rounded",
- spellcheck: "false",
- type: "text",
- value: In(n)[a.value].name,
- onBlur: t[0] || (t[0] = (e) => (i.value = !1)),
- onInput: u,
- onKeyup: t[1] || (t[1] = Yi((e) => (i.value = !1), ["enter"])),
- },
- null,
- 40,
- Fme,
- )),
- Ro("div", zme, [
- No(jme, { activeColor: In(n)[a.value].color, onSelect: c }, null, 8, [
- "activeColor",
- ]),
- ]),
- ]),
- key: "0",
- }
- : void 0,
- ],
- ),
- 1024,
- ),
- ]),
- _: 1,
- },
- ),
- ]),
- _: 1,
- })
- )
- )
- },
- }),
- Zme = Object.freeze(
- Object.defineProperty({ __proto__: null, default: qme }, Symbol.toStringTag, { value: "Module" }),
- ),
- Hme = { class: "custom-scroll flex flex-1 flex-col gap-1.5 px-5 py-2" },
- Vme = Hr({
- __name: "Form",
- props: { title: {}, options: {}, data: {}, onUpdate: { type: Function } },
- setup: (e) => (e, t) => (
- xo(),
- To(Jpe, null, {
- title: yr(() => [Ro("span", null, at(e.title), 1)]),
- default: yr(() => [
- Ro("div", Hme, [
- Object.keys(e.data).length > 0
- ? (xo(),
- To(
- ghe,
- { key: 0, columns: [""] },
- {
- default: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- e.options,
- (t, n) => (
- xo(),
- To(
- vhe,
- { key: n, class: Ge({ "border-t": 0 === n }) },
- {
- default: yr(() => [
- No(
- phe,
- {
- modelValue: String(e.data[t.key] ?? ""),
- placeholder: t.placeholder,
- "onUpdate:modelValue": (n) => e.onUpdate(t.key, n),
- },
- { default: yr(() => [Mo(at(t.label), 1)]), _: 2 },
- 1032,
- ["modelValue", "placeholder", "onUpdate:modelValue"],
- ),
- ]),
- _: 2,
- },
- 1032,
- ["class"],
- )
- ),
- ),
- 128,
- )),
- ]),
- _: 1,
- },
- ))
- : Qo("", !0),
- ]),
- ]),
- _: 1,
- })
- ),
- }),
- Wme = Hr({
- __name: "CookieForm",
- setup(e) {
- const { cookies: t, activeCookieId: n, cookieMutators: r } = E8(),
- a = [
- { label: "Key", key: "key", placeholder: "Username" },
- { label: "Value", key: "value", placeholder: "123" },
- { label: "Domain", key: "domain", placeholder: "scalar.com" },
- { label: "Path", key: "path", placeholder: "/" },
- { label: "Expires", key: "expires", placeholder: "Tomorrow" },
- { label: "Secure", key: "secure", placeholder: "True/False" },
- { label: "HttpOnly", key: "httpOnly", placeholder: "True/False" },
- ],
- o = ii(() => t[n.value] || {}),
- i = (e, t) => {
- n.value && r.edit(n.value, e, t)
- }
- return (e, t) => (
- xo(), To(Vme, { data: o.value, onUpdate: i, options: a, title: "Cookie" }, null, 8, ["data"])
- )
- },
- }),
- Xme = Ro("span", null, "Raw Cookie String", -1),
- Yme = Hr({
- __name: "CookieRaw",
- setup(e) {
- const { cookies: t, activeCookieId: n } = E8()
- return (e, r) => (
- xo(),
- To(Jpe, null, {
- title: yr(() => [Xme]),
- default: yr(() => [
- In(n) && In(t)[In(n)]
- ? (xo(), To(cpe, { key: 0, class: "px-2 py-2.5", lineNumbers: "", modelValue: "" }))
- : Qo("", !0),
- ]),
- _: 1,
- })
- )
- },
- }),
- Gme = { class: "flex-1" },
- Kme = Hr({
- __name: "Cookies",
- setup(e) {
- const { cookies: t, cookieMutators: n } = E8(),
- r = X1(),
- a = () => {
- const e = M3({
- uid: NL(),
- name: "Cookie",
- value: "",
- domain: "",
- path: "/",
- secure: !1,
- httpOnly: !1,
- sameSite: "None",
- })
- n.add(e), r.push(e.uid)
- }
- return (e, n) => (
- xo(),
- To(Zpe, null, {
- default: yr(() => [
- No(
- In(pme),
- { title: "Domain" },
- {
- content: yr(() => [
- Ro("div", Gme, [
- No(Ame, null, {
- default: yr(() => [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- In(t),
- (e) => (
- xo(),
- To(
- Lme,
- { key: e.uid, class: "text-xs", variable: { name: e.name, uid: e.uid } },
- null,
- 8,
- ["variable"],
- )
- ),
- ),
- 128,
- )),
- ]),
- _: 1,
- }),
- ]),
- ]),
- button: yr(() => [No(Qpe, { click: a }, { title: yr(() => [Mo("Add Item")]), _: 1 })]),
- _: 1,
- },
- ),
- No(Vpe, { class: "flex-1" }, { default: yr(() => [No(Wme), No(Yme)]), _: 1 }),
- ]),
- _: 1,
- })
- )
- },
- }),
- Jme = Object.freeze(
- Object.defineProperty({ __proto__: null, default: Kme }, Symbol.toStringTag, { value: "Module" }),
- ),
- ege = { class: "w-full" },
- tge = Hr({
- __name: "ServerForm",
- setup(e) {
- const { activeCollection: t, servers: n, serverMutators: r } = E8(),
- a = [
- { label: "URL", key: "url", placeholder: "https://void.scalar.com/api" },
- { label: "Label", key: "description", placeholder: "Production" },
- ],
- o = xa(L1),
- i = ii(() => {
- var e, r
- return n[
- t.value && "default" === o.params.server
- ? null == (e = t.value)
- ? void 0
- : e.spec.serverUids[0]
- : ((null == (r = t.value) ? void 0 : r.spec.serverUids.find((e) => e === o.params.server)) ?? "")
- ]
- }),
- s = (e, n) => {
- t.value && r.edit(i.value.uid, e, n)
- },
- l = (e, n) => {
- t.value && r.edit(i.value.uid, `variables.${e}.value`, n)
- },
- c = ii(() => {
- var e
- return Object.entries((null == (e = i.value) ? void 0 : e.variables) ?? {}).map(([e, t]) => {
- var n
- return {
- key: e,
- label: e,
- placeholder: t.default ?? (null == (n = null == t ? void 0 : t.enum) ? void 0 : n[0]) ?? "",
- }
- })
- }),
- d = ii(() =>
- Object.entries(i.value.variables ?? {}).reduce((e, [t, n]) => {
- var r
- return (
- (e[t] = n.value ?? n.default ?? (null == (r = null == n ? void 0 : n.enum) ? void 0 : r[0]) ?? ""), e
- )
- }, {}),
- )
- return (e, t) => (
- xo(),
- Eo("div", ege, [
- i.value
- ? (xo(),
- Eo(
- go,
- { key: 0 },
- [
- No(Vme, { data: i.value, onUpdate: s, options: a, title: "Server" }, null, 8, ["data"]),
- Object.keys(d.value).length
- ? (xo(),
- To(
- Vme,
- { key: 0, data: d.value, onUpdate: l, options: c.value, title: "Variables" },
- null,
- 8,
- ["data", "options"],
- ))
- : Qo("", !0),
- ],
- 64,
- ))
- : Qo("", !0),
- ])
- )
- },
- }),
- nge = { class: "flex-1" },
- rge = Hr({
- __name: "Servers",
- setup(e) {
- const { activeCollection: t, servers: n, serverMutators: r } = E8(),
- { push: a } = X1(),
- o = () => {
- if (!t.value) return
- const e = a4({ url: "http://localhost" })
- r.add(e, t.value.uid), a(`/servers/${e.uid}`)
- }
- return (e, r) => (
- xo(),
- To(Zpe, null, {
- default: yr(() => [
- No(
- In(pme),
- { title: "Servers" },
- {
- content: yr(() => [
- Ro("div", nge, [
- No(Ame, null, {
- default: yr(() => {
- var e
- return [
- (xo(!0),
- Eo(
- go,
- null,
- qr(
- null == (e = In(t)) ? void 0 : e.spec.serverUids,
- (e) => (
- xo(),
- To(
- Lme,
- { key: e, class: "text-xs", variable: { name: In(n)[e].url, uid: e } },
- null,
- 8,
- ["variable"],
- )
- ),
- ),
- 128,
- )),
- ]
- }),
- _: 1,
- }),
- ]),
- ]),
- button: yr(() => [No(Qpe, { click: o }, { title: yr(() => [Mo("Add Server")]), _: 1 })]),
- _: 1,
- },
- ),
- No(Vpe, { class: "flex-1" }, { default: yr(() => [No(tge)]), _: 1 }),
- ]),
- _: 1,
- })
- )
- },
- }),
- age = Object.freeze(
- Object.defineProperty({ __proto__: null, default: rge }, Symbol.toStringTag, { value: "Module" }),
- )
- })
-//# sourceMappingURL=/sm/a5ca14c080aa12771ea7357befdeb882ac98814091ab40a642a07858e6b3c077.map
diff --git a/apps/backend/assets/api-reference@1.25.30.js b/apps/backend/assets/api-reference@1.25.30.js
new file mode 100644
index 000000000..56a29ef5d
--- /dev/null
+++ b/apps/backend/assets/api-reference@1.25.30.js
@@ -0,0 +1,36 @@
+/**
+ * Minified by jsDelivr using Terser v5.19.2.
+ * Original file: /npm/@scalar/api-reference@1.25.30/dist/browser/standalone.js
+ *
+ * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
+ */
+!function(){"use strict";try{if("undefined"!=typeof document){var e=document.createElement("style");e.appendChild(document.createTextNode('.sidebar-heading-type[data-v-f51e2805]{display:block;min-width:3.9em;overflow:hidden;line-height:14px;flex-shrink:0;color:#fff;color:color-mix(in srgb,var(--method-color, var(--scalar-color-1)),transparent 0%);text-transform:uppercase;font-size:10px;font-weight:var(--scalar-bold);text-align:right;position:relative;font-family:var(--scalar-font-code);white-space:nowrap;margin-left:3px}a[data-v-fc89d20d]{text-decoration:none}.ref-search-container[data-v-fc89d20d]{display:flex;flex-direction:column;padding:12px 12px 0}.ref-search-results[data-v-fc89d20d]{padding:12px}.ref-search-meta[data-v-fc89d20d]{background:var(--scalar-background-3);padding:6px 12px;font-size:var(--scalar-font-size-4);color:var(--scalar-color-3);font-weight:var(--scalar-semibold);display:flex;gap:12px}.deprecated[data-v-fc89d20d]{text-decoration:line-through}.sidebar-search[data-v-bc475de3]{display:flex;align-items:center;position:relative;padding:0 3px 0 9px;min-width:254px;max-width:100%;font-family:var(--scalar-font);background:var( --scalar-sidebar-search-background, var(--scalar-background-1) );color:var(--scalar-sidebar-color-2, var(--scalar-color-2));outline:none;border-radius:var(--scalar-radius);box-shadow:0 0 0 .5px var(--scalar-sidebar-search-border-color, var(--scalar-border-color));cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none}.sidebar-search-input[data-v-bc475de3]{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);height:31px;-webkit-user-select:none;user-select:none;z-index:10;position:relative;display:flex;width:100%;justify-content:space-between;align-items:center}.sidebar-search-shortcut[data-v-bc475de3]{text-transform:uppercase}.sidebar-search-key[data-v-bc475de3]{background-color:var(--scalar-background-2);padding:3px 5px;margin:2px;border-radius:var(--scalar-radius);color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.search-icon[data-v-bc475de3]{padding:0;margin-right:6px;width:12px}.scalar-sidenav[data-v-34c56294]{width:52px}.drag-region[data-v-34c56294]{-webkit-app-region:drag}.no-drag-region[data-v-34c56294]{-webkit-app-region:no-drag}.nav-item[data-v-e4e81f66]{padding:0 1rem;cursor:pointer;flex:1;justify-content:center;align-items:center;display:flex;border-radius:var(--scalar-radius);background:var(--scalar-background-3);border:var(--scalar-border-width) solid var(--scalar-background-2);color:var(--scalar-color-3);padding:4.5px;min-width:0;overflow:hidden;position:relative}.dark-mode .nav-item[data-v-e4e81f66]{background:color-mix(in srgb,var(--scalar-background-2),transparent)}.nav-item-icon-copy[data-v-e4e81f66]{max-width:100%;white-space:nowrap;overflow:hidden;-webkit-mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px);mask-image:linear-gradient(to left,transparent 0,var(--scalar-background-2) 20px)}.nav-item:hover .nav-item-icon-copy[data-v-e4e81f66]{-webkit-mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2) 40px);mask-image:linear-gradient(to left,transparent 20px,var(--scalar-background-2) 40px)}.nav-item-copy[data-v-e4e81f66]{max-width:calc(100% - 20px)}.nav-item[data-v-e4e81f66]:hover{color:var(--scalar-color-1)}.nav-item__active[data-v-e4e81f66]{background-color:var(--scalar-background-1);color:var(--scalar-color-1);border-color:var(--scalar-border-color)}.dark-mode .nav-item__active[data-v-e4e81f66]{background-color:var(--scalar-background-2)}.nav-item-close[data-v-e4e81f66]{position:absolute;right:3px;padding:2px;border-radius:var(--scalar-radius);background:transparent;max-width:20px;stroke-width:1.5px;color:var(--scalar-color-3);margin-left:-20px;opacity:0}.nav-item:hover .nav-item-close[data-v-e4e81f66]{opacity:1}.nav-item-close[data-v-e4e81f66]:hover{background-color:var(--scalar-background-4)}.nav-item__active .nav-item-close[data-v-e4e81f66]:hover{background-color:var(--scalar-background-2)}.webkit-app-no-drag[data-v-e4e81f66]{-webkit-app-region:no-drag}.t-app__top-nav[data-v-df123a3c]{padding-left:52px;padding-right:9px;position:relative}.t-app__top-nav-draggable[data-v-df123a3c]{-webkit-app-region:drag;position:absolute;top:0;left:0;width:100%;height:100%}.webkit-app-no-drag[data-v-df123a3c]{-webkit-app-region:no-drag}.http-bg-gradient[data-v-a2902675]{background:linear-gradient(#ffffffbf,#00000009)}.http-bg-gradient[data-v-a2902675]:hover{background:linear-gradient(#00000009,#ffffffbf)}.dark-mode .http-bg-gradient[data-v-a2902675]{background:linear-gradient(#ffffff09,#00000026)}.dark-mode .http-bg-gradient[data-v-a2902675]:hover{background:linear-gradient(#00000026,#ffffff09)}.commandmenu[data-v-c08d90be]{box-shadow:var(--scalar-shadow-2);border-radius:var(--scalar-radius-lg);background-color:var(--scalar-background-1);max-height:50dvh;width:100%;max-width:580px;padding:6px;margin:12px;position:fixed;left:50%;top:150px;opacity:0;transform:translate3d(-50%,10px,0);z-index:100;animation:fadeincommandmenu-c08d90be ease-in-out .3s forwards;animation-delay:.1s}.commandmenu-clickout[data-v-c08d90be]{background:#0003;animation:fadeincommand-c08d90be ease-in-out .3s forwards;position:fixed;top:0;left:0;width:100%;height:100%;z-index:100;cursor:pointer}@keyframes fadeincommand-c08d90be{0%{opacity:0}to{opacity:1}}@keyframes fadeincommandmenu-c08d90be{0%{opacity:0;transform:translate3d(-50%,10px,0)}to{opacity:1;transform:translate3d(-50%,0,0)}}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}}@layer scalar-base{:root{--scalar-border-width: .5px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-background-1: #0f0f0f;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-color-1: #e7e7e7;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-background-1: #fff;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-color-1: #2a2f45;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}*::-moz-selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}*::selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #dfdfdf}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: #e7e7e7;--scalar-color-2: #a4a4a4;--scalar-color-3: #797979;--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: #2d2d2d}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}}@layer scalar-base{:root{--scalar-border-width: .5px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-background-1: #0f0f0f;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-color-1: #e7e7e7;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-background-1: #fff;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-color-1: #2a2f45;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}*::-moz-selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}*::selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #dfdfdf}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: #e7e7e7;--scalar-color-2: #a4a4a4;--scalar-color-3: #797979;--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: #2d2d2d}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}#scalar-client{display:flex;flex-direction:column;height:100vh;width:100vw;position:relative;background-color:var(--scalar-background-2)}.dark-mode #scalar-client{background-color:color-mix(in srgb,var(--scalar-background-1) 30%,black)}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}}@layer scalar-base{:root{--scalar-border-width: .5px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-background-1: #0f0f0f;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-color-1: #e7e7e7;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-background-1: #fff;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-color-1: #2a2f45;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}*::-moz-selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}*::selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #dfdfdf}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: #e7e7e7;--scalar-color-2: #a4a4a4;--scalar-color-3: #797979;--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: #2d2d2d}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow: inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);--tw-shadow-color: var(--scalar-border-color);--tw-shadow: var(--tw-shadow-colored)}:where(.scalar-app) .dark\\:bg-backdropdark:where(.dark-mode,.dark-mode *){background-color:#00000073;--tw-bg-base: rgba(0, 0, 0, .45)}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}@layer scalar-base{*,:before,:after{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgb(59 130 246 / .5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}.scalar-client{line-height:1.5;color:var(--scalar-color-1)}.scalar-client .row{display:flex;flex-direction:row}.scalar-client .row-1{display:flex;flex-direction:row;flex:1 1 0%}.scalar-client .col{display:flex;flex-direction:column}.scalar-client .col-1{display:flex;flex-direction:column;flex:1 1 0%}.scalar-client .flex-center{display:flex;justify-content:center;align-items:center}.scalar-client .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered-y{top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.scalar-client .pointer-events-none{pointer-events:none}.scalar-client .pointer-events-auto{pointer-events:auto}.scalar-client .visible{visibility:visible}.scalar-client .static{position:static}.scalar-client .fixed{position:fixed}.scalar-client .absolute{position:absolute}.scalar-client .relative{position:relative}.scalar-client .sticky{position:sticky}.scalar-client .inset-0{top:0;right:0;bottom:0;left:0}.scalar-client .inset-y-2\\/4{top:50%;bottom:50%}.scalar-client .-right-6{right:-24px}.scalar-client .bottom-10{bottom:40px}.scalar-client .left-0{left:0}.scalar-client .right-0{right:0}.scalar-client .right-1{right:4px}.scalar-client .right-10{right:40px}.scalar-client .right-2{right:8px}.scalar-client .right-4{right:16px}.scalar-client .right-7{right:28px}.scalar-client .top-0{top:0}.scalar-client .top-1\\/2{top:50%}.scalar-client .top-8{top:32px}.scalar-client .top-\\[0\\.5px\\]{top:.5px}.scalar-client .z-0{z-index:0}.scalar-client .z-1{z-index:1}.scalar-client .z-10{z-index:10}.scalar-client .z-20{z-index:20}.scalar-client .z-50{z-index:50}.scalar-client .z-\\[1\\]{z-index:1}.scalar-client .order-last{order:9999}.scalar-client .col-span-full{grid-column:1 / -1}.scalar-client .\\!m-0{margin:0!important}.scalar-client .m-0{margin:0}.scalar-client .m-4{margin:16px}.scalar-client .m-auto{margin:auto}.scalar-client .-my-1{margin-top:-4px;margin-bottom:-4px}.scalar-client .mx-0{margin-left:0;margin-right:0}.scalar-client .mx-1{margin-left:4px;margin-right:4px}.scalar-client .my-1{margin-top:4px;margin-bottom:4px}.scalar-client .my-1\\.5{margin-top:6px;margin-bottom:6px}.scalar-client .my-12{margin-top:48px;margin-bottom:48px}.scalar-client .my-24{margin-top:96px;margin-bottom:96px}.scalar-client .\\!mb-0{margin-bottom:0!important}.scalar-client .\\!mr-0{margin-right:0!important}.scalar-client .-mr-1{margin-right:-4px}.scalar-client .mb-0{margin-bottom:0}.scalar-client .mb-0\\.5{margin-bottom:2px}.scalar-client .mb-1{margin-bottom:4px}.scalar-client .mb-1\\.5{margin-bottom:6px}.scalar-client .mb-2{margin-bottom:8px}.scalar-client .mb-2\\.5{margin-bottom:10px}.scalar-client .mb-4{margin-bottom:16px}.scalar-client .mb-\\[\\.5px\\]{margin-bottom:.5px}.scalar-client .ml-0{margin-left:0}.scalar-client .ml-0\\.5{margin-left:2px}.scalar-client .ml-1{margin-left:4px}.scalar-client .ml-8{margin-left:32px}.scalar-client .ml-auto{margin-left:auto}.scalar-client .mr-1{margin-right:4px}.scalar-client .mr-1\\.5{margin-right:6px}.scalar-client .mr-2{margin-right:8px}.scalar-client .mr-2\\.5{margin-right:10px}.scalar-client .mr-4{margin-right:16px}.scalar-client .mt-1{margin-top:4px}.scalar-client .mt-2{margin-top:8px}.scalar-client .mt-auto{margin-top:auto}.scalar-client .line-clamp-1{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1}.scalar-client .line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.scalar-client .block{display:block}.scalar-client .inline-block{display:inline-block}.scalar-client .flex{display:flex}.scalar-client .inline-flex{display:inline-flex}.scalar-client .table{display:table}.scalar-client .grid{display:grid}.scalar-client .contents{display:contents}.scalar-client .hidden{display:none}.scalar-client .aspect-\\[4\\/3\\]{aspect-ratio:4/3}.scalar-client .aspect-square{aspect-ratio:1 / 1}.scalar-client .size-2{width:8px;height:8px}.scalar-client .size-2\\.5{width:10px;height:10px}.scalar-client .size-3{width:12px;height:12px}.scalar-client .size-3\\.5{width:14px;height:14px}.scalar-client .size-4{width:16px;height:16px}.scalar-client .h-10{height:40px}.scalar-client .h-2{height:8px}.scalar-client .h-2\\.5{height:10px}.scalar-client .h-24{height:96px}.scalar-client .h-3{height:12px}.scalar-client .h-3\\.5{height:14px}.scalar-client .h-4{height:16px}.scalar-client .h-48{height:192px}.scalar-client .h-5{height:20px}.scalar-client .h-6{height:24px}.scalar-client .h-64{height:256px}.scalar-client .h-7{height:28px}.scalar-client .h-8{height:32px}.scalar-client .h-\\[68px\\]{height:68px}.scalar-client .h-\\[calc\\(100\\%_-_50px\\)\\]{height:calc(100% - 50px)}.scalar-client .h-auto{height:auto}.scalar-client .h-fit{height:-moz-fit-content;height:fit-content}.scalar-client .h-full{height:100%}.scalar-client .max-h-40{max-height:160px}.scalar-client .max-h-8{max-height:32px}.scalar-client .max-h-\\[25dvh\\]{max-height:25dvh}.scalar-client .max-h-\\[300px\\]{max-height:300px}.scalar-client .min-h-0{min-height:0px}.scalar-client .min-h-10{min-height:40px}.scalar-client .min-h-12{min-height:48px}.scalar-client .min-h-20{min-height:80px}.scalar-client .min-h-8{min-height:32px}.scalar-client .w-2{width:8px}.scalar-client .w-2\\.5{width:10px}.scalar-client .w-20{width:80px}.scalar-client .w-3{width:12px}.scalar-client .w-3\\.5{width:14px}.scalar-client .w-4{width:16px}.scalar-client .w-5{width:20px}.scalar-client .w-6{width:24px}.scalar-client .w-6\\/12{width:50%}.scalar-client .w-64{width:256px}.scalar-client .w-\\[60px\\]{width:60px}.scalar-client .w-\\[calc\\(100\\%-10px\\)\\]{width:calc(100% - 10px)}.scalar-client .w-\\[calc\\(100\\%_-_8px\\)\\]{width:calc(100% - 8px)}.scalar-client .w-\\[inherit\\]{width:inherit}.scalar-client .w-dvw{width:100dvw}.scalar-client .w-fit{width:-moz-fit-content;width:fit-content}.scalar-client .w-full{width:100%}.scalar-client .w-max{width:-moz-max-content;width:max-content}.scalar-client .min-w-0{min-width:0px}.scalar-client .min-w-2{min-width:8px}.scalar-client .min-w-2\\.5{min-width:10px}.scalar-client .min-w-3{min-width:12px}.scalar-client .min-w-48{min-width:192px}.scalar-client .min-w-60{min-width:240px}.scalar-client .min-w-8{min-width:32px}.scalar-client .min-w-\\[120px\\]{min-width:120px}.scalar-client .min-w-\\[37px\\]{min-width:37px}.scalar-client .min-w-full{min-width:100%}.scalar-client .max-w-\\[100\\%\\]{max-width:100%}.scalar-client .max-w-\\[14px\\]{max-width:14px}.scalar-client .max-w-\\[150px\\]{max-width:150px}.scalar-client .max-w-\\[37px\\]{max-width:37px}.scalar-client .max-w-\\[420px\\]{max-width:420px}.scalar-client .max-w-full{max-width:100%}.scalar-client .flex-1{flex:1 1 0%}.scalar-client .flex-shrink-0,.scalar-client .shrink-0{flex-shrink:0}.scalar-client .-translate-x-1\\/2{--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .-translate-y-1\\/2{--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .-translate-y-full{--tw-translate-y:-100%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .translate-x-0{--tw-translate-x:0px;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .rotate-180{--tw-rotate:180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .cursor-default{cursor:default}.scalar-client .cursor-help{cursor:help}.scalar-client .cursor-pointer{cursor:pointer}.scalar-client .cursor-text{cursor:text}.scalar-client .resize{resize:both}.scalar-client .auto-rows-\\[32px\\]{grid-auto-rows:32px}.scalar-client .auto-rows-auto{grid-auto-rows:auto}.scalar-client .grid-cols-\\[44px\\,1fr\\,repeat\\(3\\,auto\\)\\]{grid-template-columns:44px 1fr repeat(3,auto)}.scalar-client .grid-cols-\\[auto\\,1fr\\]{grid-template-columns:auto 1fr}.scalar-client .grid-cols-\\[repeat\\(auto-fill\\,minmax\\(32px\\,1fr\\)\\)\\]{grid-template-columns:repeat(auto-fill,minmax(32px,1fr))}.scalar-client .flex-row{flex-direction:row}.scalar-client .flex-col{flex-direction:column}.scalar-client .flex-wrap{flex-wrap:wrap}.scalar-client .content-between{align-content:space-between}.scalar-client .items-start{align-items:flex-start}.scalar-client .items-end{align-items:flex-end}.scalar-client .items-center{align-items:center}.scalar-client .items-stretch{align-items:stretch}.scalar-client .justify-start{justify-content:flex-start}.scalar-client .justify-end{justify-content:flex-end}.scalar-client .justify-center{justify-content:center}.scalar-client .justify-between{justify-content:space-between}.scalar-client .\\!gap-1{gap:4px!important}.scalar-client .\\!gap-1\\.5{gap:6px!important}.scalar-client .\\!gap-2{gap:8px!important}.scalar-client .gap-0{gap:0px}.scalar-client .gap-0\\.5{gap:2px}.scalar-client .gap-0\\.75{gap:3px}.scalar-client .gap-1{gap:4px}.scalar-client .gap-1\\.5{gap:6px}.scalar-client .gap-10{gap:40px}.scalar-client .gap-2{gap:8px}.scalar-client .gap-3{gap:12px}.scalar-client .gap-4{gap:16px}.scalar-client .gap-5{gap:20px}.scalar-client .gap-6{gap:24px}.scalar-client .gap-\\[\\.5px\\]{gap:.5px}.scalar-client .gap-\\[1\\.5px\\]{gap:1.5px}.scalar-client .gap-px{gap:1px}.scalar-client .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(4px * var(--tw-space-x-reverse));margin-left:calc(4px * calc(1 - var(--tw-space-x-reverse)))}.scalar-client .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse))}.scalar-client .self-center{align-self:center}.scalar-client .justify-self-end{justify-self:end}.scalar-client .overflow-hidden{overflow:hidden}.scalar-client .overflow-visible{overflow:visible}.scalar-client .overflow-x-auto{overflow-x:auto}.scalar-client .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.scalar-client .text-ellipsis{text-overflow:ellipsis}.scalar-client .whitespace-nowrap{white-space:nowrap}.scalar-client .whitespace-pre{white-space:pre}.scalar-client .text-balance{text-wrap:balance}.scalar-client .text-pretty{text-wrap:pretty}.scalar-client .break-words{overflow-wrap:break-word}.scalar-client .break-all{word-break:break-all}.scalar-client .rounded{border-radius:var(--scalar-radius)}.scalar-client .rounded-full{border-radius:9999px}.scalar-client .rounded-lg{border-radius:var(--scalar-radius-lg)}.scalar-client .rounded-md{border-radius:var(--scalar-radius)}.scalar-client .rounded-xl{border-radius:var(--scalar-radius-xl)}.scalar-client .rounded-b{border-bottom-right-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-client .rounded-b-lg{border-bottom-right-radius:var(--scalar-radius-lg);border-bottom-left-radius:var(--scalar-radius-lg)}.scalar-client .rounded-b-none{border-bottom-right-radius:0;border-bottom-left-radius:0}.scalar-client .rounded-t{border-top-left-radius:var(--scalar-radius);border-top-right-radius:var(--scalar-radius)}.scalar-client .rounded-t-none{border-top-left-radius:0;border-top-right-radius:0}.scalar-client .\\!border-0{border-width:0!important}.scalar-client .border{border-width:var(--scalar-border-width)}.scalar-client .border-0{border-width:0}.scalar-client .border-1\\/2{border-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-b-0{border-bottom-width:0}.scalar-client .border-b-1\\/2{border-bottom-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-l-0{border-left-width:0}.scalar-client .border-l-1\\/2{border-left-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-r{border-right-width:var(--scalar-border-width)}.scalar-client .border-r-0{border-right-width:0}.scalar-client .border-r-1\\/2{border-right-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-t{border-top-width:var(--scalar-border-width)}.scalar-client .border-t-0{border-top-width:0}.scalar-client .border-t-1\\/2{border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .border-solid{border-style:solid}.scalar-client .border-none{border-style:none}.scalar-client .border-b-3{border-color:var(--scalar-background-3)}.scalar-client .border-transparent{border-color:transparent}.scalar-client .border-r-transparent{border-right-color:transparent}.scalar-client .bg-b-1{background-color:var(--scalar-background-1)}.scalar-client .bg-b-2{background-color:var(--scalar-background-2)}.scalar-client .bg-b-3{background-color:var(--scalar-background-3)}.scalar-client .bg-backdropdark{background-color:#00000073}.scalar-client .bg-blue{background-color:var(--scalar-color-blue)}.scalar-client .bg-c-2{background-color:var(--scalar-color-2)}.scalar-client .bg-green{background-color:var(--scalar-color-green)}.scalar-client .bg-grey{background-color:var(--scalar-color-3)}.scalar-client .bg-orange{background-color:var(--scalar-color-orange)}.scalar-client .bg-pink{background-color:var(--scalar-color-pink)}.scalar-client .bg-purple{background-color:var(--scalar-color-purple)}.scalar-client .bg-red{background-color:var(--scalar-color-red)}.scalar-client .bg-sidebar-active-b{background-color:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.scalar-client .bg-yellow{background-color:var(--scalar-color-yellow)}.scalar-client .bg-none{background-image:none}.scalar-client .fill-current{fill:currentColor}.scalar-client .stroke-2{stroke-width:2}.scalar-client .stroke-\\[2\\.5\\]{stroke-width:2.5}.scalar-client .p-0{padding:0}.scalar-client .p-0\\.5{padding:2px}.scalar-client .p-0\\.75{padding:3px}.scalar-client .p-1{padding:4px}.scalar-client .p-1\\.5{padding:6px}.scalar-client .p-2{padding:8px}.scalar-client .p-2\\.25{padding:9px}.scalar-client .p-3{padding:12px}.scalar-client .p-4{padding:16px}.scalar-client .p-\\[3px\\]{padding:3px}.scalar-client .p-\\[5px\\]{padding:5px}.scalar-client .p-\\[7px\\]{padding:7px}.scalar-client .px-0{padding-left:0;padding-right:0}.scalar-client .px-0\\.5{padding-left:2px;padding-right:2px}.scalar-client .px-1{padding-left:4px;padding-right:4px}.scalar-client .px-1\\.5{padding-left:6px;padding-right:6px}.scalar-client .px-2{padding-left:8px;padding-right:8px}.scalar-client .px-2\\.5{padding-left:10px;padding-right:10px}.scalar-client .px-3{padding-left:12px;padding-right:12px}.scalar-client .px-4{padding-left:16px;padding-right:16px}.scalar-client .px-6{padding-left:24px;padding-right:24px}.scalar-client .px-\\[0px\\]{padding-left:0;padding-right:0}.scalar-client .px-\\[2\\.25px\\]{padding-left:2.25px;padding-right:2.25px}.scalar-client .py-0{padding-top:0;padding-bottom:0}.scalar-client .py-0\\.5{padding-top:2px;padding-bottom:2px}.scalar-client .py-1{padding-top:4px;padding-bottom:4px}.scalar-client .py-1\\.5{padding-top:6px;padding-bottom:6px}.scalar-client .py-2{padding-top:8px;padding-bottom:8px}.scalar-client .py-2\\.5{padding-top:10px;padding-bottom:10px}.scalar-client .py-3{padding-top:12px;padding-bottom:12px}.scalar-client .py-\\[0px\\]{padding-top:0;padding-bottom:0}.scalar-client .py-\\[2\\.25px\\]{padding-top:2.25px;padding-bottom:2.25px}.scalar-client .py-\\[9px\\]{padding-top:9px;padding-bottom:9px}.scalar-client .py-px{padding-top:1px;padding-bottom:1px}.scalar-client .pb-0{padding-bottom:0}.scalar-client .pb-14{padding-bottom:56px}.scalar-client .pb-3{padding-bottom:12px}.scalar-client .pl-1{padding-left:4px}.scalar-client .pl-2{padding-left:8px}.scalar-client .pl-5{padding-left:20px}.scalar-client .pl-8{padding-left:32px}.scalar-client .pl-9{padding-left:36px}.scalar-client .pl-px{padding-left:1px}.scalar-client .pr-0{padding-right:0}.scalar-client .pr-1{padding-right:4px}.scalar-client .pr-1\\.5{padding-right:6px}.scalar-client .pr-2{padding-right:8px}.scalar-client .pr-2\\.5{padding-right:10px}.scalar-client .pr-6{padding-right:24px}.scalar-client .pr-\\[26px\\]{padding-right:26px}.scalar-client .pt-0{padding-top:0}.scalar-client .pt-3{padding-top:12px}.scalar-client .pt-px{padding-top:1px}.scalar-client .text-left{text-align:left}.scalar-client .text-center{text-align:center}.scalar-client .text-right{text-align:right}.scalar-client .font-code{font-family:var(--scalar-font-code)}.scalar-client .text-3xs{font-size:var(--scalar-font-size-7)}.scalar-client .text-\\[11px\\]{font-size:11px}.scalar-client .text-\\[6px\\]{font-size:6px}.scalar-client .text-base{font-size:var(--scalar-font-size-3)}.scalar-client .text-sm{font-size:var(--scalar-font-size-4)}.scalar-client .text-xl{font-size:var(--scalar-font-size-1)}.scalar-client .text-xs{font-size:var(--scalar-font-size-5)}.scalar-client .text-xxs{font-size:var(--scalar-font-size-6)}.scalar-client .font-bold{font-weight:var(--scalar-bold)}.scalar-client .font-medium{font-weight:var(--scalar-semibold)}.scalar-client .font-normal{font-weight:var(--scalar-regular)}.scalar-client .uppercase{text-transform:uppercase}.scalar-client .lowercase{text-transform:lowercase}.scalar-client .capitalize{text-transform:capitalize}.scalar-client .leading-3{line-height:var(--scalar-line-height-3)}.scalar-client .leading-5{line-height:var(--scalar-line-height-5)}.scalar-client .leading-\\[1\\.44\\]{line-height:1.44}.scalar-client .leading-\\[7px\\]{line-height:7px}.scalar-client .leading-none{line-height:1}.scalar-client .leading-normal{line-height:1.5}.scalar-client .leading-snug{line-height:1.375}.scalar-client .\\!text-c-1{color:var(--scalar-color-1)!important}.scalar-client .text-b-1{color:var(--scalar-background-1)}.scalar-client .text-blue{color:var(--scalar-color-blue)}.scalar-client .text-border{color:var(--scalar-border-color)}.scalar-client .text-c-1{color:var(--scalar-color-1)}.scalar-client .text-c-2{color:var(--scalar-color-2)}.scalar-client .text-c-3{color:var(--scalar-color-3)}.scalar-client .text-green{color:var(--scalar-color-green)}.scalar-client .text-grey{color:var(--scalar-color-3)}.scalar-client .text-orange{color:var(--scalar-color-orange)}.scalar-client .text-purple{color:var(--scalar-color-purple)}.scalar-client .text-red{color:var(--scalar-color-red)}.scalar-client .text-sidebar-active-c{color:var(--scalar-sidebar-color-active, currentColor)}.scalar-client .text-sidebar-c-2{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.scalar-client .text-transparent{color:transparent}.scalar-client .text-yellow{color:var(--scalar-color-yellow)}.scalar-client .underline{text-decoration-line:underline}.scalar-client .no-underline{text-decoration-line:none}.scalar-client .decoration-c-3{text-decoration-color:var(--scalar-color-3)}.scalar-client .underline-offset-2{text-underline-offset:2px}.scalar-client .opacity-0{opacity:0}.scalar-client .opacity-100{opacity:1}.scalar-client .shadow{--tw-shadow:var(--scalar-shadow-1);--tw-shadow-colored:var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-\\[-8px_0_4px_var\\(--scalar-background-1\\)\\]{--tw-shadow:-8px 0 4px var(--scalar-background-1);--tw-shadow-colored:-8px 0 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-lg{--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .shadow-none{--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .outline-none{outline:2px solid transparent;outline-offset:2px}.scalar-client .outline{outline-style:solid}.scalar-client .ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.scalar-client .ring-offset-4{--tw-ring-offset-width:4px}.scalar-client .blur{--tw-blur:blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.scalar-client .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.scalar-client .backdrop-filter{-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.scalar-client .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .transition-none{transition-property:none}.scalar-client .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.scalar-client .duration-150{transition-duration:.15s}.scalar-client .duration-200{transition-duration:.2s}.scalar-client .duration-300{transition-duration:.3s}.scalar-client .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.scalar-client .bg-mix-transparent{background-color:color-mix(var(--tw-bg-mix-method, in srgb),transparent calc(var(--tw-bg-mix-amount, 0) * 1%),var(--tw-bg-base))}.scalar-client .bg-mix-amount-90{--tw-bg-mix-amount:90}.scalar-client .bg-b-1{--tw-bg-base:var(--scalar-background-1)}.scalar-client .bg-b-2{--tw-bg-base:var(--scalar-background-2)}.scalar-client .bg-b-3{--tw-bg-base:var(--scalar-background-3)}.scalar-client .bg-backdropdark{--tw-bg-base:rgba(0, 0, 0, .45)}.scalar-client .bg-blue{--tw-bg-base:var(--scalar-color-blue)}.scalar-client .bg-c-2{--tw-bg-base:var(--scalar-color-2)}.scalar-client .bg-green{--tw-bg-base:var(--scalar-color-green)}.scalar-client .bg-grey{--tw-bg-base:var(--scalar-color-3)}.scalar-client .bg-orange{--tw-bg-base:var(--scalar-color-orange)}.scalar-client .bg-pink{--tw-bg-base:var(--scalar-color-pink)}.scalar-client .bg-purple{--tw-bg-base:var(--scalar-color-purple)}.scalar-client .bg-red{--tw-bg-base:var(--scalar-color-red)}.scalar-client .bg-sidebar-active-b{--tw-bg-base:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .bg-white{--tw-bg-opacity:1;--tw-bg-base:rgb(255 255 255 / var(--tw-bg-opacity))}.scalar-client .bg-yellow{--tw-bg-base:var(--scalar-color-yellow)}.scalar-client .\\*\\:flex>*{display:flex}.scalar-client .\\*\\:h-8>*{height:32px}.scalar-client .\\*\\:cursor-pointer>*{cursor:pointer}.scalar-client .\\*\\:items-center>*{align-items:center}.scalar-client .\\*\\:rounded-none>*{border-radius:0}.scalar-client .\\*\\:px-1>*{padding-left:4px;padding-right:4px}.scalar-client .\\*\\:px-1\\.5>*{padding-left:6px;padding-right:6px}.scalar-client .before\\:pointer-events-none:before{content:var(--tw-content);pointer-events:none}.scalar-client .before\\:absolute:before{content:var(--tw-content);position:absolute}.scalar-client .before\\:-top-8:before{content:var(--tw-content);top:-32px}.scalar-client .before\\:left-0:before{content:var(--tw-content);left:0}.scalar-client .before\\:left-1\\/2:before{content:var(--tw-content);left:50%}.scalar-client .before\\:left-\\[calc\\(\\.75rem_\\+_\\.5px\\)\\]:before{content:var(--tw-content);left:calc(.75rem + .5px)}.scalar-client .before\\:left-\\[calc\\(1\\.75rem_-_1\\.5px\\)\\]:before{content:var(--tw-content);left:calc(1.75rem - 1.5px)}.scalar-client .before\\:left-\\[calc\\(1rem_-_1\\.5px\\)\\]:before{content:var(--tw-content);left:calc(1rem - 1.5px)}.scalar-client .before\\:right-\\[23px\\]:before{content:var(--tw-content);right:23px}.scalar-client .before\\:top-0:before{content:var(--tw-content);top:0}.scalar-client .before\\:top-1\\/2:before{content:var(--tw-content);top:50%}.scalar-client .before\\:z-10:before{content:var(--tw-content);z-index:10}.scalar-client .before\\:mx-\\[0\\.5ch\\]:before{content:var(--tw-content);margin-left:.5ch;margin-right:.5ch}.scalar-client .before\\:block:before{content:var(--tw-content);display:block}.scalar-client .before\\:aspect-square:before{content:var(--tw-content);aspect-ratio:1 / 1}.scalar-client .before\\:h-\\[calc\\(100\\%\\+32px\\)\\]:before{content:var(--tw-content);height:calc(100% + 32px)}.scalar-client .before\\:h-\\[calc\\(100\\%_\\+_\\.5px\\)\\]:before{content:var(--tw-content);height:calc(100% + .5px)}.scalar-client .before\\:min-h-full:before{content:var(--tw-content);min-height:100%}.scalar-client .before\\:w-3:before{content:var(--tw-content);width:12px}.scalar-client .before\\:w-9\\/12:before{content:var(--tw-content);width:75%}.scalar-client .before\\:w-\\[\\.5px\\]:before{content:var(--tw-content);width:.5px}.scalar-client .before\\:w-full:before{content:var(--tw-content);width:100%}.scalar-client .before\\:-translate-x-1\\/2:before{content:var(--tw-content);--tw-translate-x:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:-translate-y-1\\/2:before{content:var(--tw-content);--tw-translate-y:-50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:transform:before{content:var(--tw-content);transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .before\\:rounded:before{content:var(--tw-content);border-radius:var(--scalar-radius)}.scalar-client .before\\:rounded-lg:before{content:var(--tw-content);border-radius:var(--scalar-radius-lg)}.scalar-client .before\\:border:before{content:var(--tw-content);border-width:var(--scalar-border-width)}.scalar-client .before\\:border-\\[1px\\]:before{content:var(--tw-content);border-width:1px}.scalar-client .before\\:bg-b-3:before{content:var(--tw-content);background-color:var(--scalar-background-3)}.scalar-client .before\\:bg-gradient-to-r:before{content:var(--tw-content);background-image:linear-gradient(to right,var(--tw-gradient-stops))}.scalar-client .before\\:from-transparent:before{content:var(--tw-content);--tw-gradient-from:transparent var(--tw-gradient-from-position);--tw-gradient-to:rgb(0 0 0 / 0) var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from), var(--tw-gradient-to)}.scalar-client .before\\:to-b-1:before{content:var(--tw-content);--tw-gradient-to:var(--scalar-background-1) var(--tw-gradient-to-position)}.scalar-client .before\\:opacity-0:before{content:var(--tw-content);opacity:0}.scalar-client .before\\:shadow-lg:before{content:var(--tw-content);--tw-shadow:var(--scalar-shadow-2);--tw-shadow-colored:var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .before\\:content-\\[\\\'\\\'\\]:before{--tw-content:"";content:var(--tw-content)}.scalar-client .before\\:content-\\[\\\'·\\\'\\]:before{--tw-content:"·";content:var(--tw-content)}.scalar-client .before\\:bg-b-3:before{content:var(--tw-content);--tw-bg-base:var(--scalar-background-3)}.scalar-client .first\\:\\*\\:rounded-l>*:first-child{border-top-left-radius:var(--scalar-radius);border-bottom-left-radius:var(--scalar-radius)}.scalar-client .last\\:mb-0:last-child{margin-bottom:0}.scalar-client .last\\:border-r-0:last-child{border-right-width:0}.scalar-client .last\\:\\*\\:rounded-r>*:last-child{border-top-right-radius:var(--scalar-radius);border-bottom-right-radius:var(--scalar-radius)}.scalar-client .last\\:before\\:h-full:last-child:before{content:var(--tw-content);height:100%}.scalar-client .focus-within\\:bg-b-1:focus-within{background-color:var(--scalar-background-1)}.scalar-client .focus-within\\:bg-b-2:focus-within{background-color:var(--scalar-background-2)}.scalar-client .focus-within\\:text-c-1:focus-within{color:var(--scalar-color-1)}.scalar-client .focus-within\\:shadow-border:focus-within{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .focus-within\\:shadow-border:focus-within{--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-client .focus-within\\:bg-b-1:focus-within{--tw-bg-base:var(--scalar-background-1)}.scalar-client .focus-within\\:bg-b-2:focus-within{--tw-bg-base:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-3:hover{background-color:var(--scalar-background-3)}.scalar-client .hover\\:bg-sidebar-active-b:hover{background-color:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .hover\\:text-c-1:hover{color:var(--scalar-color-1)}.scalar-client .hover\\:text-c-2:hover{color:var(--scalar-color-2)}.scalar-client .hover\\:bg-b-2:hover{--tw-bg-base:var(--scalar-background-2)}.scalar-client .hover\\:bg-b-3:hover{--tw-bg-base:var(--scalar-background-3)}.scalar-client .hover\\:bg-sidebar-active-b:hover{--tw-bg-base:var(--scalar-sidebar-item-active-background, var(--scalar-background-2))}.scalar-client .\\*\\:hover\\:bg-b-2:hover>*{background-color:var(--scalar-background-2)}.scalar-client .\\*\\:hover\\:bg-b-2:hover>*{--tw-bg-base:var(--scalar-background-2)}.scalar-client .focus\\:text-c-1:focus{color:var(--scalar-color-1)}.scalar-client .focus\\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.scalar-client .active\\:text-c-1:active{color:var(--scalar-color-1)}.scalar-client .disabled\\:text-c-2:disabled{color:var(--scalar-color-2)}.scalar-client .group:last-child .group-last\\:border-b-transparent{border-bottom-color:transparent}.scalar-client .group\\/upload:hover .group-hover\\/upload\\:block,.scalar-client .group:hover .group-hover\\:block{display:block}.scalar-client .group\\/item:hover .group-hover\\/item\\:flex,.scalar-client .group:hover .group-hover\\:flex{display:flex}.scalar-client .group:hover .group-hover\\:hidden{display:none}.scalar-client .group:hover .group-hover\\:cursor-auto{cursor:auto}.scalar-client .group:hover .group-hover\\:bg-b-2{background-color:var(--scalar-background-2)}.scalar-client .group\\/info:hover .group-hover\\/info\\:text-c-1{color:var(--scalar-color-1)}.scalar-client .group\\/scopes-accordion:hover .group-hover\\/scopes-accordion\\:text-c-2{color:var(--scalar-color-2)}.scalar-client .group:hover .group-hover\\:text-c-1{color:var(--scalar-color-1)}.scalar-client .group\\/params:hover .group-hover\\/params\\:opacity-100,.scalar-client .group:hover .group-hover\\:opacity-100{opacity:1}.scalar-client .group:hover .group-hover\\:opacity-80{opacity:.8}.scalar-client .group\\/item:hover .group-hover\\/item\\:shadow-border,.scalar-client .group:hover .group-hover\\:shadow-border{--tw-shadow:inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored:inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.scalar-client .group\\/item:hover .group-hover\\/item\\:shadow-border,.scalar-client .group:hover .group-hover\\:shadow-border{--tw-shadow-color:var(--scalar-border-color);--tw-shadow:var(--tw-shadow-colored)}.scalar-client .group:hover .group-hover\\:bg-b-2{--tw-bg-base:var(--scalar-background-2)}.scalar-client .group\\/cell:hover .group-hover\\/cell\\:before\\:opacity-100:before{content:var(--tw-content);opacity:1}.scalar-client .peer:checked~.peer-checked\\:text-c-2{color:var(--scalar-color-2)}.scalar-client .peer:focus~.peer-focus\\:opacity-0{opacity:0}.scalar-client .has-\\[\\.empty-sidebar-item\\]\\:border-t-1\\/2:has(.empty-sidebar-item){border-top-width:calc(var(--scalar-border-width) / 2)}.scalar-client .peer:has(.cm-focused)~.peer-has-\\[\\.cm-focused\\]\\:opacity-0{opacity:0}.scalar-client .ui-open\\:mb-3[data-headlessui-state~=open]{margin-bottom:12px}.scalar-client .ui-open\\:rotate-90[data-headlessui-state~=open]{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-open\\:pb-1[data-headlessui-state~=open]{padding-bottom:4px}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:mb-3{margin-bottom:12px}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:rotate-90{--tw-rotate:90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state~=open]) .ui-open\\:pb-1{padding-bottom:4px}.scalar-client .ui-not-open\\:invisible[data-headlessui-state]:not([data-headlessui-state~=open]){visibility:hidden}.scalar-client .ui-not-open\\:mb-0[data-headlessui-state]:not([data-headlessui-state~=open]){margin-bottom:0}.scalar-client .ui-not-open\\:rotate-0[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client .ui-not-open\\:bg-transparent[data-headlessui-state]:not([data-headlessui-state~=open]){background-color:transparent}.scalar-client .ui-not-open\\:pb-0[data-headlessui-state]:not([data-headlessui-state~=open]){padding-bottom:0}.scalar-client .ui-not-open\\:bg-transparent[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-bg-base:transparent}.scalar-client .ui-not-open\\:hover\\:bg-b-2:hover[data-headlessui-state]:not([data-headlessui-state~=open]){background-color:var(--scalar-background-2)}.scalar-client .ui-not-open\\:hover\\:bg-b-2:hover[data-headlessui-state]:not([data-headlessui-state~=open]){--tw-bg-base:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:invisible:not([data-headlessui-state]){visibility:hidden}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:mb-0:not([data-headlessui-state]){margin-bottom:0}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:rotate-0:not([data-headlessui-state]){--tw-rotate:0deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:bg-transparent:not([data-headlessui-state]){background-color:transparent}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:pb-0:not([data-headlessui-state]){padding-bottom:0}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:bg-transparent:not([data-headlessui-state]){--tw-bg-base:transparent}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:hover\\:bg-b-2:hover:not([data-headlessui-state]){background-color:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state]:not([data-headlessui-state~=open])) .ui-not-open\\:hover\\:bg-b-2:hover:not([data-headlessui-state]){--tw-bg-base:var(--scalar-background-2)}.scalar-client .ui-checked\\:bg-b-3[data-headlessui-state~=checked]{background-color:var(--scalar-background-3)}.scalar-client .ui-checked\\:bg-b-3[data-headlessui-state~=checked]{--tw-bg-base:var(--scalar-background-3)}.scalar-client :where([data-headlessui-state~=checked]) .ui-checked\\:bg-b-3{background-color:var(--scalar-background-3)}.scalar-client :where([data-headlessui-state~=checked]) .ui-checked\\:bg-b-3{--tw-bg-base:var(--scalar-background-3)}.scalar-client .ui-active\\:bg-b-2[data-headlessui-state~=active]{background-color:var(--scalar-background-2)}.scalar-client .ui-active\\:bg-b-2[data-headlessui-state~=active]{--tw-bg-base:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:bg-b-2{background-color:var(--scalar-background-2)}.scalar-client :where([data-headlessui-state~=active]) .ui-active\\:bg-b-2{--tw-bg-base:var(--scalar-background-2)}@media (min-width: 800px){.scalar-client .md\\:mx-1{margin-left:4px;margin-right:4px}}@media (min-width: 800px){.scalar-client .md\\:block{display:block}}@media (min-width: 800px){.scalar-client .md\\:flex{display:flex}}@media (min-width: 800px){.scalar-client .md\\:min-w-fit{min-width:-moz-fit-content;min-width:fit-content}}@media (min-width: 800px){.scalar-client .md\\:flex-none{flex:none}}@media (min-width: 800px){.scalar-client .md\\:flex-row{flex-direction:row}}@media (min-width: 800px){.scalar-client .md\\:border-b-0{border-bottom-width:0}}@media (min-width: 800px){.scalar-client .md\\:border-r-1\\/2{border-right-width:calc(var(--scalar-border-width) / 2)}}@media (min-width: 800px){.scalar-client .md\\:border-t-0{border-top-width:0}}@media (min-width: 800px){.scalar-client .md\\:p-1{padding:4px}}@media (min-width: 800px){.scalar-client .md\\:p-1\\.5{padding:6px}}@media (min-width: 800px){.scalar-client .md\\:p-5{padding:20px}}@media (min-width: 800px){.scalar-client .md\\:px-2{padding-left:8px;padding-right:8px}}@media (min-width: 800px){.scalar-client .md\\:px-2\\.5{padding-left:10px;padding-right:10px}}@media (min-width: 800px){.scalar-client .md\\:px-4{padding-left:16px;padding-right:16px}}@media (min-width: 800px){.scalar-client .md\\:py-2{padding-top:8px;padding-bottom:8px}}@media (min-width: 800px){.scalar-client .md\\:py-2\\.5{padding-top:10px;padding-bottom:10px}}@media (min-width: 800px){.scalar-client .md\\:pb-2{padding-bottom:8px}}@media (min-width: 800px){.scalar-client .md\\:pb-2\\.5{padding-bottom:10px}}@media (min-width: 800px){.scalar-client .md\\:pb-\\[37px\\]{padding-bottom:37px}}@media (min-width: 800px){.scalar-client .md\\:pl-1{padding-left:4px}}@media (min-width: 1000px){.scalar-client .lg\\:order-none{order:0}}@media (min-width: 1000px){.scalar-client .lg\\:mb-0{margin-bottom:0}}@media (min-width: 1000px){.scalar-client .lg\\:flex{display:flex}}@media (min-width: 1000px){.scalar-client .lg\\:min-h-header{min-height:var(--scalar-client-header-height)}}@media (min-width: 1000px){.scalar-client .lg\\:w-\\[120px\\]{width:120px}}@media (min-width: 1000px){.scalar-client .lg\\:w-auto{width:auto}}@media (min-width: 1000px){.scalar-client .lg\\:min-w-\\[720px\\]{min-width:720px}}@media (min-width: 1000px){.scalar-client .lg\\:max-w-\\[720px\\]{max-width:720px}}@media (min-width: 1000px){.scalar-client .lg\\:flex-1{flex:1 1 0%}}@media (min-width: 1000px){.scalar-client .lg\\:px-1{padding-left:4px;padding-right:4px}}@media (min-width: 1000px){.scalar-client .lg\\:pr-24{padding-right:96px}}@media (min-width: 1000px){.scalar-client .lg\\:text-sm{font-size:var(--scalar-font-size-4)}}@media (min-width: 1200px){.scalar-client .xl\\:flex{display:flex}}@media (min-width: 1200px){.scalar-client .xl\\:min-h-header{min-height:var(--scalar-client-header-height)}}@media (min-width: 1200px){.scalar-client .xl\\:min-w-0{min-width:0px}}@media (min-width: 1200px){.scalar-client .xl\\:flex-1{flex:1 1 0%}}@media (min-width: 1200px){.scalar-client .xl\\:flex-row{flex-direction:row}}@media (min-width: 1200px){.scalar-client .xl\\:divide-x-1\\/2>:not([hidden])~:not([hidden]){--tw-divide-x-reverse:0;border-right-width:calc(calc(var(--scalar-border-width) / 2) * var(--tw-divide-x-reverse));border-left-width:calc(calc(var(--scalar-border-width) / 2) * calc(1 - var(--tw-divide-x-reverse)))}}@media (min-width: 1200px){.scalar-client .xl\\:divide-y-0>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-top-width:calc(0px * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(0px * var(--tw-divide-y-reverse))}}@media (min-width: 1200px){.scalar-client .xl\\:overflow-hidden{overflow:hidden}}@media (min-width: 1200px){.scalar-client .xl\\:rounded-none{border-radius:0}}@media (min-width: 1200px){.scalar-client .xl\\:px-4{padding-left:16px;padding-right:16px}}@media (min-width: 1200px){.scalar-client .xl\\:px-5{padding-left:20px;padding-right:20px}}@media (min-width: 1200px){.scalar-client .xl\\:px-6{padding-left:24px;padding-right:24px}}@media (min-width: 1200px){.scalar-client .xl\\:py-2{padding-top:8px;padding-bottom:8px}}@media (min-width: 1200px){.scalar-client .xl\\:py-2\\.5{padding-top:10px;padding-bottom:10px}}@media (min-width: 1200px){.scalar-client .xl\\:pr-5{padding-right:20px}}.scalar-client .dark\\:hover\\:bg-b-2:hover:where(.dark-mode,.dark-mode *){background-color:var(--scalar-background-2)}.scalar-client .dark\\:hover\\:bg-b-2:hover:where(.dark-mode,.dark-mode *){--tw-bg-base:var(--scalar-background-2)}:root{--scalar-client-header-height: 50px;--scalar-sidebar-width: 280px;--scalar-toc-width: 280px}.scalar .scalar-api-client[data-v-c544671b]{max-height:calc(100% - calc(var(--scalar-app-header-height)));border-radius:8px}.scalar .scalar-app-layout[data-v-c544671b]{background:var(--scalar-background-1);height:calc(100% - 120px);max-width:1390px;width:100%;margin:auto;opacity:0;animation:scalarapiclientfadein-c544671b .35s forwards;z-index:1002;position:relative;overflow:hidden;border-radius:8px}@keyframes scalarapiclientfadein-c544671b{0%{opacity:0}to{opacity:1}}.scalar .scalar-app-exit[data-v-c544671b]{position:fixed;top:0;left:0;width:100vw;height:100vh;background:#00000038;transition:all .3s ease-in-out;z-index:1000;cursor:pointer;animation:scalardrawerexitfadein-c544671b .35s forwards}.dark-mode .scalar .scalar-app-exit[data-v-c544671b]{background:#00000073}.scalar .scalar-app-exit[data-v-c544671b]:before{font-family:sans-serif;position:absolute;top:0;font-size:30px;font-weight:100;line-height:50px;right:12px;text-align:center;color:#fff;opacity:.6}.scalar .scalar-app-exit[data-v-c544671b]:hover:before{opacity:1}@keyframes scalardrawerexitfadein-c544671b{0%{opacity:0}to{opacity:1}}.scalar-container[data-v-c544671b]{overflow:hidden;visibility:visible;position:fixed;bottom:0;top:0;left:0;width:100%;height:100%;z-index:1001;display:flex;align-items:center;justify-content:center}.scalar .url-form-input[data-v-c544671b]{min-height:auto!important}.scalar .scalar-container[data-v-c544671b]{line-height:normal}.scalar .scalar-app-header span[data-v-c544671b]{color:var(--scalar-color-3)}.scalar .scalar-app-header a[data-v-c544671b]{color:var(--scalar-color-1)}.scalar .scalar-app-header a[data-v-c544671b]:hover{text-decoration:underline}.scalar-activate[data-v-c544671b]{width:-moz-fit-content;width:fit-content;margin:0px .75rem .75rem auto;line-height:24px;cursor:pointer;font-size:.875rem;font-weight:600;display:flex;align-items:center;gap:6px}.scalar-activate-button[data-v-c544671b]{display:flex;gap:6px;align-items:center;color:var(--scalar-color-blue);-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;background:transparent;padding:0 .5rem}.scalar-activate:hover .scalar-activate-button[data-v-c544671b]{background:var(--scalar-background-3);border-radius:3px}.delete-warning-button[data-v-c3d3d457]{background:color-mix(in srgb,var(--scalar-color-red),transparent 95%);color:var(--scalar-color-red)}.delete-warning-button[data-v-c3d3d457]:hover,.delete-warning-button[data-v-c3d3d457]:focus{background:color-mix(in srgb,var(--scalar-color-red),transparent 90%)}[data-v-1823eac1] .cm-editor{height:100%;outline:none;padding:0;background:transparent}[data-v-1823eac1] .cm-content{font-family:var(--scalar-font-code);font-size:var(--scalar-small);max-height:20px;padding:8px 0}[data-v-1823eac1] .cm-tooltip{background:transparent!important;filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);border:none!important;outline:none!important;overflow:hidden!important}[data-v-1823eac1] .cm-tooltip-autocomplete ul li{padding:3px 6px!important}[data-v-1823eac1] .cm-completionIcon-type:after{color:var(--scalar-color-3)!important}[data-v-1823eac1] .cm-tooltip-autocomplete ul li[aria-selected]{background:var(--scalar-background-2)!important;color:var(--scalar-color-1)!important}[data-v-1823eac1] .cm-tooltip-autocomplete ul{padding:6px!important;z-index:10000;position:relative}[data-v-1823eac1] .cm-tooltip-autocomplete ul li:hover{border-radius:3px;color:var(--scalar-color-1)!important;background:var(--scalar-background-3)!important}[data-v-1823eac1] .cm-activeLine,[data-v-1823eac1] .cm-activeLineGutter{background-color:transparent}[data-v-1823eac1] .cm-selectionMatch,[data-v-1823eac1] .cm-matchingBracket{border-radius:var(--scalar-radius);background:var(--scalar-background-4)!important}[data-v-1823eac1] .cm-css-color-picker-wrapper{display:inline-flex;outline:1px solid var(--scalar-background-3);border-radius:3px;overflow:hidden}[data-v-1823eac1] .cm-gutters{background-color:var(--scalar-background-1);border-right:none;color:var(--scalar-color-3);font-size:var(--scalar-small);line-height:1.44;border-radius:0 0 0 3px}[data-v-1823eac1] .cm-gutterElement{font-family:var(--scalar-font-code)!important;padding:0 6px 0 8px!important;display:flex;align-items:center;justify-content:flex-end}[data-v-1823eac1] .cm-gutter+.cm-gutter :not(.cm-foldGutter) .cm-gutterElement{padding-left:0!important}[data-v-1823eac1] .cm-scroller{overflow:auto}.cm-pill{--tw-bg-base: var(--scalar-color-1);color:var(--tw-bg-base);padding:0 9px;display:inline-block;border-radius:30px;font-size:var(--scalar-mini);background:color-mix(in srgb,var(--tw-bg-base),transparent 94%)!important}.cm-pill.bg-grey{background:var(--scalar-background-3)!important}.dark-mode .cm-pill{background:color-mix(in srgb,var(--tw-bg-base),transparent 80%)!important}.cm-pill:first-of-type{margin-left:0}.cm-editor .cm-widgetBuffer{display:none}.cm-foldPlaceholder:hover{color:var(--scalar-color-1)}.cm-foldGutter .cm-gutterElement{font-size:var(--scalar-heading-4);padding:2px!important}.cm-foldGutter .cm-gutterElement:first-of-type{display:none}.cm-foldGutter .cm-gutterElement .cm-foldMarker{padding:2px}.cm-foldGutter .cm-gutterElement:hover .cm-foldMarker{background:var(--scalar-background-2);border-radius:var(--scalar-radius);color:var(--scalar-color-1)}.cm-focused .cm-content ::-moz-selection{background:var(--scalar-selection-background)!important;color:var(--scalar-selection-color)}.cm-focused .cm-content ::selection{background:var(--scalar-selection-background)!important;color:var(--scalar-selection-color)}.addressbar-history-button[data-v-38e0296d]:hover{background:var(--scalar-background-3)}.addressbar-history-button[data-v-38e0296d]:focus-within{background:var(--scalar-background-2)}[data-v-1a9f572a] .cm-editor{background-color:var(--scalar-background-1);height:100%;outline:none;width:100%}[data-v-1a9f572a] .cm-content{padding:0;display:flex;align-items:center;font-size:var(--scalar-mini)}.scroll-timeline-x[data-v-1a9f572a]{scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;-ms-overflow-style:none}.scroll-timeline-x-hidden[data-v-1a9f572a]{overflow:hidden}.scroll-timeline-x-hidden[data-v-1a9f572a] .cm-scroller{scrollbar-width:none;-ms-overflow-style:none;padding-right:20px;overflow:auto}.scroll-timeline-x-hidden[data-v-1a9f572a]::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-hidden[data-v-1a9f572a] .cm-scroller::-webkit-scrollbar{width:0;height:0;display:none}.scroll-timeline-x-address[data-v-1a9f572a]{line-height:27px;scrollbar-width:none}.scroll-timeline-x-address[data-v-1a9f572a]:after{content:"";position:absolute;height:100%;width:24px;right:0;cursor:text}.scroll-timeline-x-address[data-v-1a9f572a]:empty:before{content:"Enter URL or cURL request";color:var(--scalar-color-3);pointer-events:none}.fade-left[data-v-1a9f572a],.fade-right[data-v-1a9f572a]{content:"";position:sticky;height:100%;animation-name:fadein-1a9f572a;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;z-index:1;pointer-events:none}.fade-left[data-v-1a9f572a]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 30%,var(--scalar-background-1) 100%);left:0;min-width:3px;animation-direction:normal}.fade-right[data-v-1a9f572a]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 30%,var(--scalar-background-1) 100%);right:0;min-width:24px}@keyframes fadein-1a9f572a{0%{opacity:0}1%{opacity:1}}.codemirror-bg-switcher[data-v-1a9f572a]{--scalar-background-1: var(--scalar-background-2)}.addressbar-bg-states:focus-within .codemirror-bg-switcher[data-v-1a9f572a]{--scalar-background-1: var(--scalar-background-1)}.addressbar-bg-states[data-v-1a9f572a]{background:var(--scalar-background-2);border-color:transparent}.addressbar-bg-states[data-v-1a9f572a]:focus-within{background:var(--scalar-background-1);border-color:var(--scalar-border-color)}.sidebar-height[data-v-c7a612bc]{min-height:calc(100% - 50px)}@media (min-width: 800px){.sidebar-mask[data-v-c7a612bc]{-webkit-mask-image:linear-gradient(0,transparent 0,transparent 40px,var(--scalar-background-2) 60px);mask-image:linear-gradient(0,transparent 0,transparent 40px,var(--scalar-background-2) 60px)}}.resizer[data-v-c7a612bc]{width:5px;cursor:col-resize;position:absolute;top:0;right:0;bottom:0;border-right:2px solid transparent;transition:border-right-color .3s;z-index:100}.resizer[data-v-c7a612bc]:hover,.dragging .resizer[data-v-c7a612bc]{border-right-color:var(--scalar-background-3)}.dragging[data-v-c7a612bc]{cursor:col-resize}.dragging[data-v-c7a612bc]:before{content:"";display:block;position:absolute;width:100%;height:100%;z-index:99}.required[data-v-04bdd5dd]:after{content:"Required"}input[data-v-04bdd5dd]::-moz-placeholder{color:var(--scalar-color-3)}input[data-v-04bdd5dd]::placeholder{color:var(--scalar-color-3)}.fade-request-section-content[data-v-59badb72]{background:linear-gradient(to left,var(--scalar-background-1) 64%,transparent)}.filter-hover[data-v-59badb72]{height:100%;padding-right:48px;padding-left:24px;position:absolute;right:0;z-index:100;transition:width 0s ease-in-out .2s;overflow:hidden}.filter-hover[data-v-59badb72]:hover{width:100%}.filter-hover[data-v-59badb72]:before{content:"";position:absolute;top:0;left:0;width:100%;height:100%;background-color:var(--scalar-background-1);opacity:0;transition:all .3s ease-in-out;pointer-events:none}.filter-hover button[data-v-59badb72]{opacity:0}.filter-hover button[data-v-59badb72]:not(:last-of-type){transform:translate3d(0,3px,0)}.filter-hover:hover button[data-v-59badb72]{transition:opacity .2s ease-in-out,transform .2s ease-in-out}.filter-hover:hover button[data-v-59badb72]:nth-last-of-type(1){transition-delay:.05s}.filter-hover:hover button[data-v-59badb72]:nth-last-of-type(2){transition-delay:.1s}.filter-hover:hover button[data-v-59badb72]:nth-last-of-type(3){transition-delay:.15s}.filter-hover:hover button[data-v-59badb72]:nth-last-of-type(4){transition-delay:.2s}.filter-hover:hover button[data-v-59badb72]:nth-last-of-type(5){transition-delay:.25s}.filter-hover:hover button[data-v-59badb72]:nth-last-of-type(6){transition-delay:.3s}.filter-hover:hover button[data-v-59badb72]:nth-last-of-type(7){transition-delay:.4s}.filter-hover:hover button[data-v-59badb72]{opacity:1;transform:translateZ(0)}.filter-hover[data-v-59badb72]:hover:before{opacity:.9;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}[data-v-15395b2c] .cm-editor{padding:0}[data-v-15395b2c] .cm-content{align-items:center;background-color:transparent;display:flex;font-family:var(--scalar-font);font-size:var(--scalar-mini);padding:6px 8px}[data-v-15395b2c] .cm-content:has(.cm-pill){padding:4px 8px}[data-v-15395b2c] .cm-line{padding:0}.filemask[data-v-15395b2c]{-webkit-mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2) 20px);mask-image:linear-gradient(to right,transparent 0,var(--scalar-background-2) 20px)}.auth-combobox-position[data-v-ab00a92e]{margin-left:120px}.scroll-timeline-x[data-v-ab00a92e]{overflow:auto;scroll-timeline:--scroll-timeline x;scroll-timeline:--scroll-timeline horizontal;scrollbar-width:none;-ms-overflow-style:none}.fade-left[data-v-ab00a92e],.fade-right[data-v-ab00a92e]{position:sticky;content:"";height:100%;animation-name:fadein-ab00a92e;animation-duration:1ms;animation-direction:reverse;animation-timeline:--scroll-timeline;min-height:24px;pointer-events:none;z-index:1}.fade-left[data-v-ab00a92e]{background:linear-gradient(-90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);min-width:3px;left:-1px;animation-direction:normal}.fade-right[data-v-ab00a92e]{background:linear-gradient(90deg,color-mix(in srgb,var(--scalar-background-1),transparent 100%) 0%,color-mix(in srgb,var(--scalar-background-1),transparent 20%) 60%,var(--scalar-background-1) 100%);margin-left:-20px;min-width:24px;right:-1px;top:0}@keyframes fadein-ab00a92e{0%{opacity:0}15%{opacity:1}}.request-section-content{--scalar-border-width: .5px}.request-section-content-filter{box-shadow:0 -10px 0 10px var(--scalar-background-1)}.request-item:focus-within .request-meta-buttons{opacity:1}.gitbook-show[data-v-d2e340a5]{display:none}.light-mode .bg-preview[data-v-7fbe3767]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23000\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}.dark-mode .bg-preview[data-v-7fbe3767]{background-image:url("data:image/svg+xml,%3Csvg xmlns=\'http://www.w3.org/2000/svg\' width=\'16\' height=\'16\' fill=\'%23FFF\' fill-opacity=\'10%25\'%3E%3Crect width=\'8\' height=\'8\' /%3E%3Crect x=\'8\' y=\'8\' width=\'8\' height=\'8\' /%3E%3C/svg%3E")}[data-v-b7d4ba6e] .cm-editor{background-color:transparent;font-size:var(--scalar-mini);outline:none}[data-v-b7d4ba6e] .cm-gutters{background-color:var(--scalar-background-1);border-radius:var(--scalar-radius) 0 0 var(--scalar-radius)}.ascii-art-animate .ascii-art-line[data-v-93347509]{border-right:1ch solid transparent;animation:typewriter-93347509 4s steps(1) 1s 1 normal both,blinkTextCursor-93347509 .5s steps(1) infinite normal}@keyframes typewriter-93347509{0%{width:0}to{width:100%}}@keyframes blinkTextCursor-93347509{0%{border-right-color:currentColor}50%{border-right-color:transparent}}.scalar-version-number[data-v-43fc1968]{transform:skew(0,16deg);width:66px;height:66px;position:absolute;margin-left:-33px;font-size:8px;font-family:var(--scalar-font-code);line-height:11px;margin-top:-110px}.scalar-version-number b[data-v-43fc1968]{font-weight:700}.v-enter-active[data-v-7a03bf55]{transition:opacity .5s ease}.v-enter-from[data-v-7a03bf55]{opacity:0}.ellipsis-position[data-v-eb0a2336]{transform:translate3d(calc(-100% - 4.5px),0,0)}.dragover-asChild[data-v-1c55d212],.dragover-above[data-v-1c55d212],.dragover-below[data-v-1c55d212]{position:relative}.dragover-above[data-v-1c55d212]:after,.dragover-below[data-v-1c55d212]:after{content:"";position:absolute;top:-1.5px;height:3px;width:100%;display:block;background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%);pointer-events:none;border-radius:var(--scalar-radius)}.dragover-below[data-v-1c55d212]:after{top:initial;bottom:-1.5px}.dragover-asChild[data-v-1c55d212]:after{content:"";position:absolute;top:0;left:0;width:100%;height:100%;display:block;background:color-mix(in srgb,var(--scalar-color-blue),transparent 85%);pointer-events:none;border-radius:var(--scalar-radius)}.indent-border-line-offset[data-v-d3581d0d]:before{left:var(--30e2fca9)}.indent-padding-left[data-v-d3581d0d]{padding-left:calc(var(--711b4c75) + 6px)}.editable-sidebar-hover:hover .editable-sidebar-hover-item[data-v-d3581d0d]{-webkit-mask-image:linear-gradient(to left,transparent 10px,var(--scalar-background-2) 30px);mask-image:linear-gradient(to left,transparent 10px,var(--scalar-background-2) 30px)}.sidebar-folderitem[data-v-d3581d0d] .ellipsis-position{right:6px;transform:none}.word-break-break-word[data-v-d3581d0d]{word-break:break-word}.search-button-fade[data-v-8ce3ee0b]{background:linear-gradient(var(--scalar-background-1) 44px,color-mix(in srgb,var(--scalar-background-1),transparent) 50px,transparent)}.empty-sidebar-item[data-v-8ce3ee0b] .scalar-button{background:var(--scalar-button-1);color:var(--scalar-button-1-color)}.empty-sidebar-item[data-v-8ce3ee0b] .scalar-button:hover{background:var(--scalar-button-1-hover)}.empty-sidebar-item[data-v-8ce3ee0b] .add-item-hotkey{color:var(--scalar-button-1-color);background:color-mix(in srgb,var(--scalar-button-1),white 20%);border-color:transparent}.empty-sidebar-item-content[data-v-8ce3ee0b]{display:none}.empty-sidebar-item .empty-sidebar-item-content[data-v-8ce3ee0b]{display:block}.rabbitjump[data-v-8ce3ee0b]{opacity:0}.empty-sidebar-item:hover .rabbitjump[data-v-8ce3ee0b]{opacity:1;animation:rabbitAnimation-8ce3ee0b .5s steps(1) infinite}.empty-sidebar-item:hover .rabbitsit[data-v-8ce3ee0b]{opacity:0;animation:rabbitAnimation2-8ce3ee0b .5s steps(1) infinite}.empty-sidebar-item:hover .rabbit-ascii[data-v-8ce3ee0b]{animation:rabbitRun-8ce3ee0b 8s infinite linear}@keyframes rabbitRun-8ce3ee0b{0%{transform:translateZ(0)}25%{transform:translate3d(250px,0,0)}25.01%{transform:translate3d(-250px,0,0)}75%{transform:translate3d(250px,0,0)}75.01%{transform:translate3d(-250px,0,0)}to{transform:translateZ(0)}}@keyframes rabbitAnimation-8ce3ee0b{0%,to{opacity:1}50%{opacity:0}}@keyframes rabbitAnimation2-8ce3ee0b{0%,to{opacity:0}50%{opacity:1;transform:translate3d(0,-8px,0)}}.request-text-color-text[data-v-d69f8ce9]{color:var(--scalar-color-1);background:linear-gradient(var(--scalar-background-1),var(--scalar-background-3));box-shadow:0 0 0 1px var(--scalar-border-color)}@media screen and (max-width: 780px){.sidebar-active-hide-layout[data-v-d69f8ce9]{display:none}.sidebar-active-width[data-v-d69f8ce9]{width:100%}}.active-link[data-v-e9dbd857]{background-color:var(--scalar-background-2);color:var(--scalar-color-1);--tw-bg-base: var(--scalar-background-2)}.empty-variable-name[data-v-e9dbd857]:empty:before{content:"No Name";color:var(--scalar-color-3)}.cookie>a[data-v-e9dbd857]{padding-left:40px}.base-url-variable{color:var(--scalar-color-1)}.base-url[data-v-41e1c30c]{color:var(--scalar-color-1);cursor:pointer;display:inline-block;font-size:var(--scalar-mini);min-width:0;white-space:nowrap;text-overflow:ellipsis}.url-select[data-v-92440dbc]{padding:0;min-height:32px;color:var(--scalar-color-1);align-items:center;display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.url-select span[data-v-92440dbc]{display:flex;align-items:center;scrollbar-width:none;-ms-overflow-style:none}.url-select span[data-v-92440dbc]::-webkit-scrollbar{width:0;height:0;display:none}.url-select svg[data-v-92440dbc]{color:var(--scalar-color-2);stroke-width:1}.variable-select[data-v-4b092d90]{padding:9px 9px 9px 0;color:var(--scalar-color-1);align-items:center;border-color:transparent;border-radius:0;border-top:1px solid var(--scalar-border-color);display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.variable-select svg[data-v-4b092d90]{color:var(--scalar-color-2);stroke-width:1}.variable-textbox[data-v-fbcac0a4]{padding:9px 9px 9px 0;color:var(--scalar-color-1);align-items:center;border-color:transparent;border-radius:0;border-top:1px solid var(--scalar-border-color);display:flex;font-size:var(--scalar-micro);font-weight:var(--scalar-regular);gap:3px;height:auto;outline:none;width:100%}.variable-container-item[data-v-d5675216]{display:flex;width:100%}.variable-label[data-v-d5675216]{padding:9px 0 9px 9px;color:var(--scalar-color-2);border-top:1px solid var(--scalar-border-color);font-size:var(--scalar-micro)}.variable-label[data-v-d5675216]:after{content:":";margin-right:6px}.server-form-title[data-v-7b6cd311]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);text-transform:uppercase;display:block}.server-form[data-v-7b6cd311]{margin-top:6px}.server-form-container[data-v-7b6cd311]{border-radius:var(--scalar-radius);background:var(--scalar-background-2);border:var(--scalar-border-width) solid var(--scalar-border-color)}.server-item[data-v-7b6cd311]{padding:0 9px}.description[data-v-7b6cd311]{padding:6px 12px;font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-3)}.description[data-v-7b6cd311] .markdown{font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color--1);padding:4px 0;display:block}.description[data-v-7b6cd311] .markdown>*:first-child{margin-top:0}.card-form[data-v-20e78fcd]{color:var(--scalar-color-1);width:100%;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);background-color:var(--scalar-background-2)}.card-form[data-v-20e78fcd]:focus-within{background-color:var(--scalar-background-1)}.card-form-button[data-v-502d153b]{display:flex;align-items:center;position:relative;background:transparent;cursor:pointer;padding:9px;outline:none;white-space:nowrap;font-family:var(--scalar-font);font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-2)}.card-form-button[data-v-502d153b]:hover{color:var(--scalar-color-1)}.card-form-group[data-v-88abf5f7]{display:flex}:where(.card-form-rows[data-v-1611fc76]){display:flex;flex-direction:column;width:100%}:where(.card-form-rows[data-v-1611fc76])>*+*{border-top:1px solid var(--scalar-border-color)}.card-form-input[data-v-15626a6a]{background:transparent;position:relative;width:100%;text-align:left;display:flex;align-items:baseline;border-color:inherit}.card-form-input label[data-v-15626a6a],.card-form-input input[data-v-15626a6a]{padding:9px;border:0;outline:none;font-size:var(--scalar-mini);color:var(--scalar-color-2);width:100%;background:transparent;-moz-appearance:none;appearance:none;-webkit-appearance:none;left:0}.card-form-input input[data-v-15626a6a]:placeholder,.card-form-input input[data-v-15626a6a]:-ms-input-placeholder,.card-form-input input[data-v-15626a6a]::-webkit-input-placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}.card-form-input label[data-v-15626a6a]{width:fit-content;white-space:nowrap;cursor:text;padding:9px 0 9px 9px;border-radius:var(--scalar-radius);font-weight:var(--scalar-semibold)}.card-form-input input[data-v-15626a6a]{position:relative;z-index:99;color:var(--scalar-color-1)}.card-form-input+.card-form-input[data-v-15626a6a]{border-left:var(--scalar-border-width) solid var(--scalar-border-color)}.card-form-input input:not(:placeholder-shown)+label[data-v-15626a6a]{color:var(--scalar-color-2)}.password-mask[data-v-15626a6a]{padding:4px;margin-right:6px;height:24px;width:auto;align-self:center;stroke-width:.75}.card-form-input label[data-v-15626a6a]{display:none}.card-form-input label[for="oAuth2.clientId"][data-v-15626a6a]{display:flex}.wrapper[data-v-6d6455a4]{display:grid;border-color:inherit}.scopes-label[data-v-6d6455a4]{display:inline-flex;align-items:center;height:1em;line-height:1;gap:4px}.scopes-label-badge[data-v-6d6455a4]{display:inline-flex;align-items:center;gap:2px}.scopes-label-badge em[data-v-6d6455a4]{transform:rotate(10deg) translateY(-.9px)}.floating[data-v-6d6455a4]{position:relative;z-index:1010}.dropdown[data-v-6d6455a4]{background:var(--scalar-background-1);filter:brightness(var(--scalar-lifted-brightness));border-radius:var(--scalar-radius);box-shadow:var(--scalar-shadow-2);padding:4px;font-style:normal;display:flex;flex-direction:column;gap:10px}.dropdown-item[data-v-6d6455a4]{display:grid;grid-template-areas:"check title" "check description";grid-template-columns:auto 1fr;padding:6px 10px 8px 6px;row-gap:2px;column-gap:8px;border-radius:var(--scalar-radius);font-size:var(--scalar-mini);cursor:pointer}.dropdown-item[data-headlessui-state=active][data-v-6d6455a4],.dropdown-item[data-headlessui-state="active selected"][data-v-6d6455a4]{background:var(--scalar-background-2)}.dropdown-item-title[data-v-6d6455a4]{grid-area:title;color:var(--scalar-color-1);font-weight:var(--scalar-semibold)}.dropdown-item-description[data-v-6d6455a4]{grid-area:description;color:var(--scalar-color-2);line-height:initial}.dropdown-item-check[data-v-6d6455a4]{all:unset;position:relative;grid-area:check;width:20px;height:20px;color:var(--scalar-color-2);background:var(--scalar-background-1);border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius)}.dropdown-item-check[data-v-6d6455a4]:checked:after{content:"";position:absolute;border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;width:6px;height:12px;top:calc(50% - 1.5px);left:50%;transform:translate(-50%,-50%) rotate(45deg)}.dropdown-item-check[data-v-6d6455a4]:checked{background:var(--scalar-color-accent);color:var(--scalar-background-1);border:1px solid currentColor}.description[data-v-22bdc0a2]{padding:12px 4px 4px;font-size:var(--scalar-mini)}.cardform-auth-button[data-v-22bdc0a2]{background:var(--scalar-button-1);color:var(--scalar-button-1-color);font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);border-radius:var(--scalar-radius);margin:3px;padding:0 9px;cursor:pointer;-webkit-appearance:none;-moz-appearance:none;appearance:none}.cardform-auth-button[data-v-22bdc0a2]:hover{background:var(--scalar-button-1-hover)}.security-scheme-selector[data-v-e77a5dfa]{position:relative;border-radius:var(--scalar-radius);color:var(--scalar-color-3);display:flex;align-items:center;gap:4px;cursor:pointer}.security-scheme-selector[data-v-e77a5dfa]:hover{color:var(--scalar-color-1)}.security-scheme-label[data-v-e77a5dfa]{color:var(--scalar-color-3);font-size:var(--scalar-mini)}.security-scheme-selector:hover .security-scheme-label[data-v-e77a5dfa]{color:var(--scalar-color-1)}.security-scheme-selector select[data-v-e77a5dfa]{position:absolute;cursor:pointer;opacity:0;right:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;width:100%;margin-top:-5px;padding:10px 0}.security-scheme-selector svg[data-v-e77a5dfa]{width:12px;stroke:currentColor}.authentication-header[data-v-25fd5cfd]{white-space:nowrap}.authentication-content[data-v-25fd5cfd]{margin-top:6px}.client-libraries-content[data-v-4951736c]{container:client-libraries-content / inline-size;display:flex;justify-content:center;overflow:hidden;background-color:var(--scalar-background-2);border-radius:var(--scalar-radius) var(--scalar-radius) 0 0;border:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:none}.client-libraries[data-v-4951736c]{display:flex;align-items:center;justify-content:center;width:100%;position:relative;cursor:pointer;white-space:nowrap;padding:8px 2px;gap:6px;color:var(--scalar-color-3);-webkit-user-select:none;user-select:none;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.client-libraries[data-v-4951736c]:hover:before{content:"";position:absolute;width:calc(100% - 4px);height:calc(100% - 4px);background:var(--scalar-background-3);left:2px;top:2px;z-index:0;border-radius:var(--scalar-radius)}.client-libraries[data-v-4951736c]:active{color:var(--scalar-color-1)}@media screen and (max-width: 450px){.client-libraries[data-v-4951736c]:nth-of-type(4),.client-libraries[data-v-4951736c]:nth-of-type(5){display:none}}.client-libraries-icon[data-v-4951736c]{max-width:14px;max-height:14px;min-width:14px;width:100%;aspect-ratio:1;display:flex;align-items:center;justify-content:center;position:relative;box-sizing:border-box;color:currentColor}.client-libraries-icon__more svg[data-v-4951736c]{height:initial}@container client-libraries-content (width < 400px){.client-libraries__select[data-v-4951736c]{width:fit-content}.client-libraries__select .client-libraries-icon__more+span[data-v-4951736c]{display:none}}@container client-libraries-content (width < 380px){.client-libraries[data-v-4951736c]{width:100%}.client-libraries span[data-v-4951736c]{display:none}}.client-libraries__active[data-v-4951736c]{color:var(--scalar-color-1);border-bottom:var(--scalar-border-width) solid var(--scalar-color-1)}@keyframes codeloader-4951736c{0%{transform:rotate(0)}to{transform:rotate(1turn)}}.client-libraries span[data-v-4951736c]{font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);position:relative}.client-libraries__active span[data-v-4951736c]{color:var(--scalar-color-1)}.client-libraries__select select[data-v-4951736c]{background:var(--scalar-background-3);color:var(--scalar-color-2);opacity:0;height:100%;width:100%;aspect-ratio:1;position:absolute;top:0;left:0;cursor:pointer;z-index:1;-moz-appearance:none;-webkit-appearance:none;appearance:none;border:none}.client-libraries__select span[data-v-4951736c]{position:relative;display:flex;align-items:center}@media screen and (max-width: 600px){.references-classic .client-libraries[data-v-4951736c]{flex-direction:column}}.selected-client[data-v-dbf83e74]{color:var(--scalar-color-1);font-size:var(--scalar-mini);font-family:var(--scalar-font-code);padding:9px 12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:var(--scalar-background-2);border-radius:0 0 var(--scalar-radius) var(--scalar-radius);border:var(--scalar-border-width) solid var(--scalar-border-color);border-top:none}.client-libraries-heading[data-v-dbf83e74]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);text-transform:uppercase;margin-bottom:6px;display:block}.download[data-v-af826d86]{margin-bottom:24px}.download-button[data-v-af826d86]{color:var(--scalar-color-accent);text-decoration:var(--scalar-text-decoration)!important;font-size:var(--scalar-paragraph);cursor:pointer}.download-button[data-v-af826d86]:hover{text-decoration:var(--scalar-text-decoration-hover)!important}.badge[data-v-190574ac]{color:var(--scalar-color-2);font-size:var(--scalar-micro);background:var(--scalar-background-2);padding:2px 6px;border-radius:12px;font-weight:var(--scalar-semibold);display:inline-block;text-transform:uppercase}.section[data-v-fc324287]{position:relative;display:flex;flex-direction:column;max-width:var(--refs-content-max-width);margin:auto;padding:90px 0;scroll-margin-top:var(--refs-header-height)}.references-classic .section[data-v-fc324287]{padding:48px 0;gap:24px}@container narrow-references-container (max-width: 900px){.references-classic .section[data-v-fc324287],.section[data-v-fc324287]{padding:48px 24px}}.section[data-v-fc324287]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.section-wrapper[data-v-07cabcb0]{color:var(--scalar-color-1);padding-top:12px;margin-top:-12px}.section-accordion[data-v-07cabcb0]{display:flex;flex-direction:column;border-radius:var(--scalar-radius-lg);background:var(--scalar-background-2)}.section-accordion-transparent[data-v-07cabcb0]{background:transparent;border:1px solid var(--scalar-border-color)}.section-accordion-button[data-v-07cabcb0]{padding:6px}.section-accordion-button[data-v-07cabcb0]{display:flex;align-items:center;gap:6px;cursor:pointer}.section-accordion-button-content[data-v-07cabcb0]{flex:1;min-width:0}.section-accordion-button-actions[data-v-07cabcb0]{display:flex;align-items:center;gap:6px;color:var(--scalar-color-3)}.section-accordion-chevron[data-v-07cabcb0]{margin-right:4px;width:20px;cursor:pointer;opacity:1;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-07cabcb0]{color:var(--scalar-color-1)}.section-accordion-content[data-v-07cabcb0]{border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}.section-accordion-description[data-v-07cabcb0]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color--1);padding:10px 12px 0}.section-accordion-content-card[data-v-07cabcb0] .property:last-of-type{padding-bottom:9px}.section-column[data-v-d64e7382]{flex:1;min-width:0}.section-column[data-v-d64e7382]:nth-of-type(2){padding-top:48px}@container narrow-references-container (max-width: 900px){.section-column[data-v-d64e7382]:nth-of-type(2){padding-top:0}}.section-columns[data-v-8b9602bf]{display:flex;gap:48px}@container narrow-references-container (max-width: 900px){.section-columns[data-v-8b9602bf]{flex-direction:column;gap:24px}}.section-container[data-v-823b8471]{position:relative;padding:0 60px;width:100%}.section-container[data-v-823b8471]:last-of-type{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.section-container[data-v-823b8471]{padding:0}}.section-accordion-wrapper[data-v-2049975e]{padding:0 60px}.section-accordion[data-v-2049975e]{position:relative;width:100%;max-width:var(--refs-content-max-width);margin:auto}.section-accordion-content[data-v-2049975e]{display:flex;flex-direction:column;gap:12px;padding-top:12px}.section-accordion-button[data-v-2049975e]{width:100%;display:flex;cursor:pointer;padding:6px 0;margin:-6px 0;border-radius:var(--scalar-radius)}.section-accordion-chevron[data-v-2049975e]{width:24px;position:absolute;left:-24px;height:auto;top:10px;color:var(--scalar-color-3)}.section-accordion-button:hover .section-accordion-chevron[data-v-2049975e]{color:var(--scalar-color-1)}.section-accordion-title[data-v-2049975e]{display:flex;flex-direction:column;align-items:flex-start;flex:1;padding:0 6px}.section-accordion-title[data-v-2049975e] .section-header{margin-bottom:0}@container narrow-references-container (max-width: 900px){.section-accordion-chevron[data-v-2049975e]{width:16px;left:-16px;top:14px}.section-accordion-wrapper[data-v-2049975e]{padding:calc(var(--refs-header-height)) 24px 0 24px}}.loading[data-v-c90b2c46]{background:var(--scalar-background-3);animation:loading-skeleton-c90b2c46 1.5s infinite alternate;border-radius:var(--scalar-radius-lg);min-height:1.6em;margin:.6em 0;max-width:100%}.loading[data-v-c90b2c46]:first-of-type{min-height:3em;margin-bottom:24px;margin-top:0}.loading[data-v-c90b2c46]:last-of-type{width:60%}.loading.single-line[data-v-c90b2c46]{min-height:3em;margin:.6em 0;max-width:80%}@keyframes loading-skeleton-c90b2c46{0%{opacity:1}to{opacity:.33}}@container narrow-references-container (max-width: 900px){.section-content--with-columns[data-v-9735459e]{flex-direction:column;gap:24px}}.section-header[data-v-3bd1b9f0]{font-size:var(--font-size, var(--scalar-heading-2));font-weight:var(--font-weight, var(--scalar-bold));color:var(--scalar-color-1);word-wrap:break-word;line-height:1.45;margin-top:0;margin-bottom:12px}.section-header.tight[data-v-3bd1b9f0]{margin-bottom:6px}.section-header.loading[data-v-3bd1b9f0]{width:80%}.screenreader-only[data-v-681ebf2c]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.label[data-v-d9801d4e]{position:relative;display:inline-block}.anchor[data-v-d9801d4e]{position:relative;display:inline-block;opacity:0}.anchor-copy[data-v-d9801d4e]{position:absolute;left:0;top:50%;transform:translateY(-50%);cursor:pointer;padding:0 6px;color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:.8em}.anchor-copy[data-v-d9801d4e]:hover,.anchor-copy[data-v-d9801d4e]:focus-visible{color:var(--scalar-color-2)}.label:hover .anchor[data-v-d9801d4e]{opacity:1}.collapsible-section[data-v-db0c8da0]{padding:0 0 10px;border-top:var(--scalar-border-width) solid var(--scalar-border-color);position:relative}.collapsible-section-header[data-v-db0c8da0]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-db0c8da0]{display:flex;align-items:center;cursor:pointer;padding-top:10px;font-size:var(--scalar-font-size-3)}.collapsible-section .collapsible-section-trigger[data-v-db0c8da0]:after{content:"";height:10px;width:100%;position:absolute;bottom:0}.collapsible-section .collapsible-section-trigger-open[data-v-db0c8da0]{margin-bottom:10px}.collapsible-section-trigger svg[data-v-db0c8da0]{color:var(--scalar-color-3);position:absolute;left:-18px;margin-top:1px}.collapsible-section:hover .collapsible-section-trigger svg[data-v-db0c8da0]{color:var(--scalar-color-1)}.collapsible-section .collapsible-section-trigger[data-v-db0c8da0] .anchor-copy{line-height:18.5px}.collapsible-section-content[data-v-db0c8da0]{padding:0;margin:0;scroll-margin-top:140px}.introduction-description-heading[data-v-15c890da]{scroll-margin-top:64px}.introduction-description-heading+.markdown[data-v-15c890da]{margin-top:-6px}.introduction-description[data-v-15c890da]{display:flex;flex-direction:column;gap:18px}.references-classic .introduction-description[data-v-15c890da] img{max-width:720px}.heading[data-v-4e25996e]{margin-top:0!important;word-wrap:break-word}.loading[data-v-4e25996e]{background:var(--scalar-background-3);animation:loading-skeleton 1.5s infinite alternate;border-radius:var(--scalar-radius-lg)}.badges[data-v-4e25996e]{display:flex;align-items:center;gap:4px;margin-bottom:3px}.heading.loading[data-v-4e25996e]{width:80%}.introduction-section[data-v-4e25996e]{gap:48px}.sticky-cards[data-v-4e25996e]{display:flex;flex-direction:column;position:sticky;top:calc(var(--refs-header-height) + 24px)}.text-select{position:relative;height:fit-content}.text-select--single-option{pointer-events:none}.text-select select{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.text-select span{font-size:var(--scalar-mini);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);white-space:nowrap;display:flex;align-items:center;justify-content:center}.text-select:hover span{color:var(--scalar-color-1)}.text-select:not(.text-select--single-option) span:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-2px,0);display:block;margin-left:6px;box-shadow:1px 1px 0 currentColor}.text-select span:hover{background:var(--scalar-background-2)}.example-selector[data-v-090632a2]{padding:4px}.scalar-card[data-v-38801681]{all:unset;font-family:var(--scalar-font);border-radius:var(--scalar-radius-lg);overflow:hidden;border:var(--scalar-border-width) solid var(--scalar-border-color);background:var(--scalar-background-2);display:flex;flex-direction:column;max-height:calc(((var(--full-height) - var(--refs-header-height)) - 60px) / 2);position:relative}.scalar-card-sticky[data-v-38801681]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.scalar-card-content[data-v-dd83e46e]{overflow:auto;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);display:grid}.scalar-card-content[data-v-dd83e46e] .simple-table .simple-header{display:none}.scalar-card-content[data-v-dd83e46e]:last-of-type,.scalar-card-content.scalar-card--borderless[data-v-dd83e46e]{border-bottom:none}.scalar-card--muted[data-v-dd83e46e]{background:var(--scalar-background-2)}.scalar-card--contrast[data-v-dd83e46e]{background:var(--scalar-background-3)}.scalar-card--frameless[data-v-dd83e46e]{padding:0}.scalar-card--transparent[data-v-dd83e46e]{background:var(--scalar-background-1)}.scalar-card-header[data-v-ef7873bc]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3);padding:9px 3px 9px 12px;flex-shrink:0}.scalar-card-header.scalar-card--borderless[data-v-ef7873bc]+.scalar-card-content{margin-top:-9px}.scalar-card-header-slots[data-v-ef7873bc]{display:flex;justify-content:space-between;line-height:1.35}.scalar-card-header-title[data-v-ef7873bc]{text-transform:uppercase;flex:1;min-width:0;text-overflow:ellipsis;overflow:hidden}.scalar-card-header-actions[data-v-ef7873bc]{display:flex}.scalar-card-footer[data-v-918ab8d6]{flex-shrink:0}.tab-list[data-v-03fdb072]{display:flex;gap:6px;position:relative;flex:1;padding:9px 12px;overflow:auto}.scalar-card-header.scalar-card-header-tabs[data-v-03fdb072]{padding:0}.tab[data-v-f373ecc2]{background:none;border:none;font-size:var(--scalar-mini);font-family:var(--scalar-font);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);line-height:calc(var(--scalar-mini) + 2px);white-space:nowrap;cursor:pointer;padding:0;margin-right:3px;text-transform:uppercase;position:relative;line-height:1.35}.tab[data-v-f373ecc2]:before{content:"";position:absolute;z-index:0;left:-6px;top:-6px;width:calc(100% + 12px);height:calc(100% + 12px);border-radius:var(--scalar-radius);background:var(--scalar-background-3);opacity:0}.tab[data-v-f373ecc2]:hover:before{opacity:1}.tab span[data-v-f373ecc2]{z-index:1;position:relative}.tab-selected[data-v-f373ecc2]{color:var(--scalar-color-1);text-decoration:underline;text-underline-offset:var(--scalar-micro)}.request[data-v-7e225631]{display:flex;flex-wrap:nowrap}.request-header[data-v-7e225631]{display:flex;gap:6px;text-transform:initial}.request-method[data-v-7e225631]{font-family:var(--scalar-font-code);text-transform:uppercase}.request-client-picker[data-v-7e225631]{padding-left:12px;padding-right:9px}.request-card-footer[data-v-7e225631]{display:flex;justify-content:flex-end;padding:6px;flex-shrink:0}.request-card-footer-addon[data-v-7e225631]{display:flex;align-items:center;flex:1;min-width:0}.request-editor-section[data-v-7e225631]{display:flex;flex:1}.code-snippet[data-v-7e225631]{display:flex;flex-direction:column;width:100%}.empty-state[data-v-076c28f6]{margin:10px 0 10px 12px;text-align:center;font-size:var(--scalar-micro);min-height:56px;display:flex;align-items:center;justify-content:center;border-radius:var(--scalar-radius-lg);color:var(--scalar-color-2)}.rule-title[data-v-076c28f6]{font-family:var(--scalar-font-code);color:var(--scalar-color-1);display:inline-block;margin:12px 0 6px;border-radius:var(--scalar-radius)}.rule[data-v-076c28f6]{margin:0 12px;border-radius:var(--scalar-radius-lg)}.rule-items[data-v-076c28f6]{counter-reset:list-number;display:flex;flex-direction:column;gap:12px;border-left:1px solid var(--scalar-border-color);padding:12px 0}.rule-item[data-v-076c28f6]{counter-increment:list-number;border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);overflow:hidden;margin-left:24px}.rule-item[data-v-076c28f6]:before{border:1px solid var(--scalar-border-color);border-top:0;border-right:0;content:" ";display:block;width:24px;height:6px;border-radius:0 0 0 var(--scalar-radius-lg);margin-top:6px;color:var(--scalar-color-2);transform:translate(-25px);color:var(--scalar-color-1);position:absolute}.markdown[data-v-2dae81fd] *{margin:0}.code-copy[data-v-2dae81fd]{display:flex;align-items:center;justify-content:center;-moz-appearance:none;appearance:none;-webkit-appearance:none;outline:none;background:transparent;cursor:pointer;color:var(--scalar-color-3);border:none;padding:0;margin-right:12px}.code-copy[data-v-2dae81fd]:hover{color:var(--scalar-color-1)}.code-copy svg[data-v-2dae81fd]{width:13px;height:13px}.response-card-footer[data-v-2dae81fd]{display:flex;flex-direction:column;flex-shrink:0;padding:10px 12px;gap:8px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.response-example-selector[data-v-2dae81fd]{align-self:flex-start;margin:-4px}.response-description[data-v-2dae81fd]{font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);color:var(--scalar-color--1);display:flex;align-items:center;box-sizing:border-box}.schema-type[data-v-2dae81fd]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold);background:var(--scalar-background-3);padding:2px 4px;border-radius:4px;margin-right:4px}.schema-example[data-v-2dae81fd]{font-size:var(--scalar-micro);color:var(--scalar-color-2);font-weight:var(--scalar-semibold)}.example-response-tab[data-v-2dae81fd]{display:block;margin:6px}.scalar-card-container[data-v-2dae81fd]{flex:1;background:var(--scalar-background-2);display:grid}.scalar-card-container[data-v-2dae81fd] .cm-scroller{overflow-y:hidden}.scalar-card-checkbox[data-v-2dae81fd]{display:flex;align-items:center;justify-content:center;position:relative;min-height:17px;cursor:pointer;-webkit-user-select:none;user-select:none;font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);width:fit-content;white-space:nowrap;margin-right:9px;gap:6px}.scalar-card-checkbox[data-v-2dae81fd]:hover{color:var(--scalar-color--1)}.scalar-card-checkbox .scalar-card-checkbox-input[data-v-2dae81fd]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.scalar-card-checkbox-checkmark[data-v-2dae81fd]{height:17px;width:17px;border-radius:var(--scalar-radius);background-color:transparent;background-color:var(--scalar-background-3);box-shadow:inset 0 0 0 1px var(--scalar-border-color)}.scalar-card-checkbox[data-v-2dae81fd]:has(.scalar-card-checkbox-input:checked){color:var(--scalar-color-1)}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-2dae81fd]{background-color:var(--scalar-button-1);box-shadow:none}.scalar-card-checkbox-checkmark[data-v-2dae81fd]:after{content:"";position:absolute;display:none}.scalar-card-checkbox .scalar-card-checkbox-input:checked~.scalar-card-checkbox-checkmark[data-v-2dae81fd]:after{display:block}.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-2dae81fd]:after{right:6px;top:36.5%;width:5px;height:9px;border:solid 1px var(--scalar-button-1-color);border-width:0 1.5px 1.5px 0;transform:rotate(45deg)}.schema-type-icon[data-v-2a52eb0b]{color:var(--scalar-color-1);display:none}.schema-type[data-v-2a52eb0b]{font-family:var(--scalar-font-code);color:var(--scalar-color-1)}.property-detail[data-v-16d94ef5]{display:inline-flex}.property-detail+.property-detail[data-v-16d94ef5]:before{display:block;content:"·";margin:0 .5ch}.property-detail-truncate[data-v-16d94ef5]{overflow:hidden}.property-detail-truncate>.property-detail-value[data-v-16d94ef5]{overflow:hidden;text-overflow:ellipsis}.property-detail-prefix[data-v-16d94ef5]{color:var(--scalar-color-3)}code.property-detail-value[data-v-16d94ef5]{font-family:var(--scalar-font-code);font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);background:var(--scalar-background-3);padding:1px 3px;border-radius:var(--scalar-radius)}.property-heading[data-v-9ff769a7]{display:flex;align-items:baseline;gap:9px;white-space:nowrap}.property-name[data-v-9ff769a7],.property-additional[data-v-9ff769a7]{font-family:var(--scalar-font-code)}.property-required[data-v-9ff769a7],.property-optional[data-v-9ff769a7]{color:var(--scalar-color-2)}.property-required[data-v-9ff769a7]{text-transform:capitalize;color:var(--scalar-color-orange)}.property-read-only[data-v-9ff769a7],.property-write-only[data-v-9ff769a7]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-blue)}.property-details[data-v-9ff769a7]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);display:flex;align-items:center;min-width:0}.property-const[data-v-9ff769a7]{color:var(--scalar-color-1)}.property[data-v-bfe8efb1]{color:var(--scalar-color-1);padding:10px;font-size:var(--scalar-mini)}.property[data-v-bfe8efb1]:last-of-type{padding-bottom:0}.property--compact.property--level-0[data-v-bfe8efb1]{padding:10px 0}.property--deprecated[data-v-bfe8efb1]{background:repeating-linear-gradient(-45deg,var(--scalar-background-2) 0,var(--scalar-background-2) 2px,transparent 2px,transparent 5px);background-size:100%}.property--deprecated[data-v-bfe8efb1]>*{opacity:.75}.property-description[data-v-bfe8efb1]{margin-top:6px;line-height:1.4;font-size:var(--scalar-small)}[data-v-bfe8efb1] .property-description *{color:var(--scalar-color-2)!important}.property[data-v-bfe8efb1]:not(:last-of-type){border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.children[data-v-bfe8efb1]{display:flex;flex-direction:column;padding-top:8px}.property-example[data-v-bfe8efb1]{display:flex;flex-direction:column;margin-top:6px;max-height:calc(((var(--full-height) - var(--refs-header-height))) / 2);font-size:var(--scalar-micro);border:var(--scalar-border-width) solid var(--scalar-border-color);background:var(--scalar-background-2);border-radius:var(--scalar-radius-lg)}.property-example-label[data-v-bfe8efb1]{font-weight:var(--scalar-semibold);color:var(--scalar-color-3);padding:6px}.property-example-value[data-v-bfe8efb1]{font-family:var(--scalar-font-code);white-space:pre;padding:6px;border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.property-rule[data-v-bfe8efb1]{display:flex;flex-direction:column;gap:6px;margin-top:12px;border-radius:var(--scalar-radius-lg)}.property-enum-value[data-v-bfe8efb1]{padding:3px 0;color:var(--scalar-color-2)}.property-enum-value[data-v-bfe8efb1]:before{content:"◼";margin-right:6px;color:var(--scalar-color-3)}.property-enum-values[data-v-bfe8efb1]{margin-top:8px;list-style:none}.property--compact .property-example[data-v-bfe8efb1]{display:none}.property-list[data-v-bfe8efb1]{border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius);margin-top:10px}.property-list .property[data-v-bfe8efb1]:last-of-type{padding-bottom:10px}.property-name[data-v-bfe8efb1]{font-family:var(--scalar-font-code)}.error[data-v-24920b5a]{background-color:var(--scalar-color-red)}.schema-card[data-v-24920b5a]{z-index:0;position:relative;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1)}.schema-card-title[data-v-24920b5a]{height:var(--schema-title-height);padding:6px 10px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-2);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);border-bottom:var(--scalar-border-width) solid transparent}button.schema-card-title[data-v-24920b5a]{cursor:pointer}button.schema-card-title[data-v-24920b5a]:hover{color:var(--scalar-color-1)}.schema-card-title-icon--open[data-v-24920b5a]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title[data-v-24920b5a]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.schema-properties-open>.schema-properties[data-v-24920b5a]{width:fit-content}.schema-card-description+.schema-properties[data-v-24920b5a]{width:fit-content}.schema-card-description+.schema-properties[data-v-24920b5a]{margin-top:12px}.schema-properties-open.schema-properties[data-v-24920b5a],.schema-properties-open>.schema-card--open[data-v-24920b5a]{width:100%}.schema-card .property[data-v-24920b5a]:last-of-type{padding-bottom:10px}.schema-properties[data-v-24920b5a]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);width:fit-content}.schema-properties .schema-properties[data-v-24920b5a]{border-radius:13.5px}.schema-properties .schema-properties.schema-properties-open[data-v-24920b5a]{border-radius:13.5px 13.5px var(--scalar-radius) var(--scalar-radius)}.schema-properties-open[data-v-24920b5a]{width:100%}.schema-card--compact[data-v-24920b5a]{align-self:flex-start}.schema-card--compact.schema-card--open[data-v-24920b5a]{align-self:initial}.schema-card-title--compact[data-v-24920b5a]{color:var(--scalar-color-3);padding:6px 10px;height:auto;border-bottom:none}.schema-card--compact>.schema-properties[data-v-24920b5a],.schema-card-title--compact[data-v-24920b5a]{border-radius:13.5px}.schema-card-title--compact>.schema-card-title-icon[data-v-24920b5a]{width:10px;height:10px;margin:0}.schema-card-title--compact>.schema-card-title-icon--open[data-v-24920b5a]{transform:rotate(45deg)}.schema-properties-open>.schema-card-title--compact[data-v-24920b5a]{position:static}.schema-card--compact.schema-card--level-0>.schema-properties[data-v-24920b5a]{border:none}[data-v-24920b5a] .schema-card-description p{font-size:var(--scalar-mini, var(--scalar-paragraph));color:var(--scalar-color-2);line-height:1.5;display:block;margin-bottom:6px}.schema-card-description[data-v-24920b5a]:first-of-type{padding-top:10px}.children .schema-card-description[data-v-24920b5a]:first-of-type{padding-top:0}.content-type[data-v-19d1d4d0]{display:flex;align-items:center;font-size:var(--scalar-heading-4);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:24px;padding-bottom:12px;border-bottom:1px solid var(--scalar-border-color);flex-flow:wrap}.content-type-select[data-v-19d1d4d0]{position:relative;padding-left:9px;height:fit-content;color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);display:flex;align-items:center}.content-type-no-select.content-type-select[data-v-19d1d4d0]{pointer-events:none}.content-type-no-select.content-type-select[data-v-19d1d4d0]:after{display:none}.content-type-select span[data-v-19d1d4d0]{display:flex;align-items:center}.content-type-select[data-v-19d1d4d0]:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-4px,0);display:block;margin-left:7px;box-shadow:1px 1px 0 currentColor}.content-type-select select[data-v-19d1d4d0]{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.content-type-select[data-v-19d1d4d0]:hover{color:var(--scalar-color-1)}@media (max-width: 460px){.content-type-select[data-v-19d1d4d0]{margin-left:auto;padding-right:3px}}.headers-card[data-v-eecfdd25]{z-index:0;margin-top:12px;margin-bottom:6px;position:relative;font-size:var(--scalar-font-size-4);color:var(--scalar-color-1);align-self:flex-start}.headers-card.headers-card--open[data-v-eecfdd25]{align-self:initial}.headers-card-title[data-v-eecfdd25]{padding:6px 10px;display:flex;align-items:center;gap:4px;color:var(--scalar-color-3);font-weight:var(--scalar-semibold);font-size:var(--scalar-micro);border-radius:13.5px}button.headers-card-title[data-v-eecfdd25]{cursor:pointer}button.headers-card-title[data-v-eecfdd25]:hover{color:var(--scalar-color-1)}.headers-card-title-icon--open[data-v-eecfdd25]{transform:rotate(45deg)}.headers-properties-open>.headers-card-title[data-v-eecfdd25]{border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.headers-properties-open[data-v-eecfdd25]{width:100%}.headers-properties[data-v-eecfdd25]{display:flex;flex-direction:column;border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:13.5px;width:fit-content}.headers-card .property[data-v-eecfdd25]:last-of-type{padding-bottom:10px}.headers-card-title>.headers-card-title-icon[data-v-eecfdd25]{width:10px;height:10px;margin:0}.headers-card-title>.headers-card-title-icon--open[data-v-eecfdd25]{transform:rotate(45deg)}.parameter-item[data-v-f4d4e7c0]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item:last-of-type .parameter-schema[data-v-f4d4e7c0]{padding-bottom:0}.parameter-item-container[data-v-f4d4e7c0]{padding:0}.parameter-item-headers[data-v-f4d4e7c0]{border:var(--scalar-border-width) solid var(--scalar-border-color)}.parameter-item-name[data-v-f4d4e7c0]{font-weight:500;margin-right:6px;font-family:var(--scalar-font-code);font-size:var(--scalar-mini);color:var(--scalar-color-1)}.parameter-item-type[data-v-f4d4e7c0]{font-size:var(--scalar-font-size-3);color:var(--scalar-color-2);margin-right:6px}.parameter-item-required-optional[data-v-f4d4e7c0]{color:var(--scalar-color-2);font-weight:var(--scalar-semibold);margin-right:6px;position:relative}.parameter-item--required[data-v-f4d4e7c0]{text-transform:uppercase;font-size:var(--scalar-micro);font-weight:var(--scalar-semibold);color:var(--scalar-color-orange)}.parameter-item-description[data-v-f4d4e7c0]{margin-top:3px!important;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-item-description[data-v-f4d4e7c0] p{margin-top:4px;font-size:var(--scalar-small);color:var(--scalar-color-2);line-height:1.4}.parameter-schema[data-v-f4d4e7c0]{padding-bottom:9px;margin-top:3px}.parameter-item-trigger[data-v-f4d4e7c0]{padding:10px 0;cursor:pointer;position:relative;align-items:baseline}.parameter-item-trigger-open[data-v-f4d4e7c0]{padding-bottom:0}.parameter-item-trigger[data-v-f4d4e7c0]:after{content:"";position:absolute;height:10px;width:100%;bottom:0}.parameter-item-icon[data-v-f4d4e7c0]{color:var(--scalar-color-3);position:absolute;left:-18px}.parameter-item-trigger:hover .parameter-item-icon[data-v-f4d4e7c0]{color:var(--scalar-color-1)}.parameter-item-content-type[data-v-f4d4e7c0]{margin-left:auto;opacity:0}.parameter-item-trigger-open .parameter-item-content-type[data-v-f4d4e7c0],.parameter-item-trigger:hover .parameter-item-content-type[data-v-f4d4e7c0]{opacity:1}.parameters[data-v-eade05ab]{margin-top:24px}.parameters-title[data-v-eade05ab]{font-size:var(--scalar-font-size-3);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:12px;margin-bottom:12px}.parameter-list[data-v-eade05ab]{list-style:none;padding:0;margin:0 0 12px;font-size:var(--scalar-small)}.request-body-title[data-v-3b43342b]{display:flex;align-items:center;font-size:var(--scalar-font-size-3);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);line-height:1.45;margin-top:24px;padding-bottom:12px;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);flex-flow:wrap}.request-body-title-select[data-v-3b43342b]{position:relative;padding-left:9px;height:fit-content;color:var(--scalar-color-2);font-weight:var(--scalar-regular);display:flex;align-items:center}.request-body-title-no-select.request-body-title-select[data-v-3b43342b]{pointer-events:none}.request-body-title-no-select.request-body-title-select[data-v-3b43342b]:after{display:none}.request-body-title-select span[data-v-3b43342b]{display:flex;align-items:center}.request-body-title-select[data-v-3b43342b]:after{content:"";width:7px;height:7px;transform:rotate(45deg) translate3d(-2px,-4px,0);display:block;margin-left:7px;box-shadow:1px 1px 0 currentColor}.request-body-title-select select[data-v-3b43342b]{border:none;outline:none;cursor:pointer;background:var(--scalar-background-3);box-shadow:-2px 0 0 0 var(--scalar-background-3);position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.request-body-title-select[data-v-3b43342b]:hover{color:var(--scalar-color-1)}.request-body-description[data-v-3b43342b]{margin-top:6px;font-size:var(--scalar-small);width:100%}.request-body-description[data-v-3b43342b] .markdown *{color:var(--scalar-color-2)!important}@media (max-width: 460px){.request-body-title-select[data-v-3b43342b]{margin-left:auto;padding-right:3px}}.endpoint-path[data-v-b5ffe25a]{overflow:hidden;word-wrap:break-word;font-weight:var(--scalar-semibold);line-break:anywhere}.deprecated[data-v-b5ffe25a]{text-decoration:line-through}.show-api-client-button[data-v-2e17b0a6]{-webkit-appearance:none;-moz-appearance:none;appearance:none;outline:none;border:none;padding:4px 6px;white-space:nowrap;border-radius:var(--scalar-radius);display:flex;justify-content:center;align-items:center;font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-background-2);font-family:var(--scalar-font);background:var(--scalar-button-1);position:relative;cursor:pointer;box-sizing:border-box;box-shadow:inset 0 0 0 1px #0000001a}.show-api-client-button span[data-v-2e17b0a6],.show-api-client-button svg[data-v-2e17b0a6]{fill:currentColor;color:var(--scalar-button-1-color);z-index:1}.show-api-client-button[data-v-2e17b0a6]:hover{background:var(--scalar-button-1-hover)}.show-api-client-button svg[data-v-2e17b0a6]{margin-right:4px}.examples[data-v-307792e5]{position:sticky;top:calc(var(--refs-header-height) + 24px)}.deprecated[data-v-307792e5] *{text-decoration:line-through}.example-path[data-v-307792e5]{color:var(--scalar-color-2);font-family:var(--scalar-font-code)}.example-path[data-v-307792e5] em{color:var(--scalar-color-1);font-style:normal}.endpoint-details-card[data-v-102733a0]{display:flex;flex-direction:column;gap:12px}.endpoint-details-card-item[data-v-102733a0]{border:1px solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg);margin-top:0}.endpoint-details-card[data-v-102733a0] .parameter-list:first-of-type:last-of-type{margin:0}.endpoint-details-card[data-v-102733a0] .parameter-item:last-of-type .parameter-schema{padding-bottom:12px}.endpoint-details-card[data-v-102733a0] .parameter-list .parameter-list{margin-bottom:12px}.endpoint-details-card[data-v-102733a0] .parameter-list li{margin:0;padding:0 9px}.endpoint-details-card[data-v-102733a0] .property{padding:9px;margin:0}.endpoint-details-card[data-v-102733a0] .endpoint-title,.endpoint-details-card[data-v-102733a0] .parameters-title,.endpoint-details-card[data-v-102733a0] .request-body-title{text-transform:uppercase;font-weight:var(--scalar-bold);font-size:var(--scalar-mini);color:var(--scalar-color-2);line-height:1.33;padding:9px;margin:0}.endpoint-details-card[data-v-102733a0] .request-body-title-select{text-transform:initial;font-weight:initial;margin-left:auto}.endpoint-header[data-v-9b0621a3]{display:flex;justify-content:space-between}.endpoint-details[data-v-9b0621a3]{display:flex;align-items:center;margin-top:0;gap:9px;min-width:0;flex-shrink:1}.endpoint-type[data-v-9b0621a3]{display:flex;align-items:center;justify-content:center;gap:6px;position:relative;z-index:0;width:60px;padding:6px;flex-shrink:0;font-size:var(--scalar-small);text-transform:uppercase;font-weight:var(--scalar-bold);font-family:var(--scalar-font)}.endpoint-type[data-v-9b0621a3]:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:currentColor;opacity:.15;border-radius:var(--scalar-radius-lg)}.endpoint-anchor[data-v-9b0621a3]{display:flex;align-items:center;min-width:0;flex-shrink:1;font-size:20px}.endpoint-anchor.label[data-v-9b0621a3]{display:flex}.endpoint-label[data-v-9b0621a3]{display:flex;align-items:baseline;gap:9px;min-width:0;flex-shrink:1;color:var(--scalar-color-1)}.endpoint-label-path[data-v-9b0621a3]{font-family:var(--scalar-font-code);font-size:var(--scalar-mini);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-label-path[data-v-9b0621a3] em{color:var(--scalar-color-2)}.endpoint-label-name[data-v-9b0621a3]{color:var(--scalar-color-2);font-size:var(--scalar-small);flex-shrink:1000000000;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.endpoint-try-hint[data-v-9b0621a3]{padding:2px;height:24px;width:24px;flex-shrink:0}.endpoint-copy[data-v-9b0621a3]{color:currentColor;padding:2px}.endpoint-copy[data-v-9b0621a3] svg{stroke-width:2px}.endpoint-content[data-v-9b0621a3]{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;padding:9px}@container (max-width: 900px){.endpoint-content[data-v-9b0621a3]{grid-template-columns:1fr}}.endpoint-content[data-v-9b0621a3]>*{max-height:unset}.show-more[data-v-b1ddf847]{background:var(--scalar-background-1);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border:var(--scalar-border-width) solid var(--scalar-border-color);margin:auto;padding:8px 12px;border-radius:30px;color:var(--scalar-color-1);font-weight:var(--scalar-semibold);font-size:var(--scalar-small);display:flex;align-items:center;justify-content:center;position:relative;top:-48px}.show-more[data-v-b1ddf847]:hover{color:var(--scalar-color-2);cursor:pointer}.show-more-icon[data-v-b1ddf847]{width:14px!important;height:14px!important;margin-left:3px}.show-more[data-v-b1ddf847]:active{box-shadow:0 0 0 1px var(--scalar-border-color)}@container narrow-references-container (max-width: 900px){.show-more[data-v-b1ddf847]{top:-24px}}.endpoints[data-v-fe316e67]{overflow:auto;background:var(--scalar-background-2);padding:10px 12px}@media (max-width: 580px){.endpoints[data-v-fe316e67]{max-height:calc(100vh - 150px)}}.endpoints span+span[data-v-fe316e67]{text-align:left;margin-left:12px;text-transform:initial}.endpoint[data-v-fe316e67]{display:flex;white-space:nowrap;cursor:pointer}.endpoint span[data-v-fe316e67]:first-of-type{text-transform:uppercase}.endpoint .post[data-v-fe316e67],.endpoint .get[data-v-fe316e67],.endpoint .delete[data-v-fe316e67],.endpoint .put[data-v-fe316e67]{white-space:nowrap}.endpoint span[data-v-fe316e67]{color:var(--scalar-color-1);min-width:62px;display:inline-block;text-align:right;line-height:1.55;font-family:var(--scalar-font-code);font-size:var(--scalar-small);cursor:pointer}.deprecated[data-v-fe316e67]{text-decoration:line-through}.section-container[data-v-f9c3c8a1]{border-top:var(--scalar-border-width) solid var(--scalar-border-color)}.section-container[data-v-f9c3c8a1]:has(.show-more){background-color:color-mix(in srgb,var(--scalar-background-2),transparent)}.tag-section[data-v-fe69da0e]{margin-bottom:48px}.tag-name[data-v-fe69da0e]{text-transform:capitalize}.tag-description[data-v-fe69da0e]{padding-bottom:4px}.references-loading{position:absolute;top:0;left:0;right:0;z-index:1;grid-area:rendered;background:var(--scalar-background-1)}.references-loading-top-spacer{top:-1px}@media (min-width: 1001px){.references-loading-top-spacer{top:calc(var(--refs-header-height) - 1px)}}.references-loading-hidden-tag .section-container .section:first-child{display:none}.models-list[data-v-cff15ceb]{display:contents}.models-list-truncated .models-list-item[data-v-cff15ceb]:last-child{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.show-more-models[data-v-cff15ceb]{margin-top:32px;top:0}.reference-models[data-v-b3be69ad]{margin-bottom:48px}.reference-models-anchor[data-v-b3be69ad]{display:flex;align-items:center;font-size:20px;padding-left:6px;color:var(--scalar-color-1)}.reference-models-label[data-v-b3be69ad]{font-size:var(--scalar-mini)}.reference-models-label[data-v-b3be69ad] em{font-weight:var(--scalar-bold)}.webhook-request-body[data-v-8fced5af]{margin-top:-18px}.webhooks-list[data-v-87687203]{display:contents}.webhooks-list-truncated .webhooks-list-item[data-v-87687203]:last-child{border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.webhooks-list-item[aria-expanded=true][data-v-87687203]{padding-bottom:48px}.webhook-section-description.webhook-section-description[data-v-87687203]{color:var(--scalar-color-2);font-size:var(--scalar-font-size-3);padding-bottom:12px}.show-more-webhooks[data-v-87687203]{margin-top:32px;top:0}.narrow-references-container{container-name:narrow-references-container;container-type:inline-size}.render-loading[data-v-8d751fa0]{height:calc(var(--full-height) - var(--refs-header-height));display:flex;align-items:center;justify-content:center}.introduction-card[data-v-8d751fa0]{display:flex;flex-direction:column;padding-top:3px;background:var(--scalar-background-1);border:var(--scalar-border-width) solid var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.introduction-card-item[data-v-8d751fa0]{padding:9px 12px;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color);display:flex;flex-direction:column;justify-content:center}.introduction-card-item[data-v-8d751fa0]:last-of-type{border-bottom:none}.introduction-card[data-v-8d751fa0] .description{padding:0}.introduction-card-title[data-v-8d751fa0]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-3)}.introduction-card-row[data-v-8d751fa0]{flex-flow:row wrap;gap:24px}.introduction-card-row[data-v-8d751fa0]>*{flex:1}@media (min-width: 600px){.introduction-card-row[data-v-8d751fa0]>*{min-width:min-content}}@media (max-width: 600px){.introduction-card-row[data-v-8d751fa0]>*{max-width:100%}}@container (max-width: 900px){.introduction-card-row[data-v-8d751fa0]{flex-direction:column;align-items:stretch;gap:0px}}.introduction-card[data-v-8d751fa0] .security-scheme-label{text-transform:uppercase;font-weight:var(--scalar-semibold)}.references-classic .introduction-card-row[data-v-8d751fa0] .scalar-card:nth-of-type(2) .scalar-card-header{display:none}.references-classic .introduction-card-row[data-v-8d751fa0] .scalar-card:nth-of-type(2) .scalar-card-header.scalar-card--borderless+.scalar-card-content{margin-top:0}.section-flare[data-v-8d751fa0]{position:absolute;top:0;right:0;pointer-events:none}.start[data-v-391b4e37]{padding:24px;display:flex;flex-flow:wrap;justify-content:space-between;position:relative;z-index:0}.swagger-editor .start[data-v-391b4e37]{padding-top:24px}.start-h1[data-v-391b4e37]{font-size:var(--scalar-heading-2);margin-top:0;line-height:1.45;margin-bottom:0;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%;position:relative}.start-h3[data-v-391b4e37]{font-size:var(--scalar-paragraph);margin-top:0;margin-bottom:6px;display:block;line-height:1.45;font-weight:var(--scalar-bold);color:var(--scalar-color-1);width:100%}.start-h1[data-v-391b4e37]:not(:first-of-type){margin-top:24px}.start-p[data-v-391b4e37]{font-size:var(--scalar-paragraph);color:var(--scalar-color-2);line-height:1.5;width:100%;margin-top:12px}.start-ul[data-v-391b4e37]{margin-top:12px;font-size:var(--scalar-paragraph);line-height:1.5;padding-left:0;list-style:initial;display:flex;flex-flow:wrap;gap:24px}.start-ul li[data-v-391b4e37]{margin:0;padding:0;list-style:none;width:calc(50% - 24px);color:var(--scalar-color-2)}.start-ul li[data-v-391b4e37]:first-of-type{margin-top:0}.start-section[data-v-391b4e37]{width:100%;margin-bottom:12px;display:flex;flex-flow:wrap}.start-section[data-v-391b4e37]:last-of-type{margin-bottom:48px}.start-h2[data-v-391b4e37]{background:var(--scalar-background-2);border-top-left-radius:var(--scalar-radius-lg);border-top-right-radius:var(--scalar-radius-lg);border:1px solid var(--scalar-border-color);color:var(--scalar-color-3);font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;width:100%}.start-item[data-v-391b4e37]{align-items:center;background:var(--scalar-background-2);border-right:1px solid var(--scalar-border-color);border-bottom:1px solid var(--scalar-border-color);color:var(--scalar-color-1);cursor:pointer;display:flex;flex:1;font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);padding:9px;text-transform:capitalize;-webkit-user-select:none;user-select:none}.start-section-integrations .start-item[data-v-391b4e37]:first-of-type{border-bottom-left-radius:var(--scalar-radius-lg);border-left:1px solid var(--scalar-border-color)}.start-section-integrations .start-item[data-v-391b4e37]:last-of-type{border-bottom-right-radius:var(--scalar-radius-lg)}.start-section-colors .start-item[data-v-391b4e37]{min-width:33.33%}.start-section-colors .start-item[data-v-391b4e37]:nth-child(3n+2){border-left:1px solid var(--scalar-border-color)}.start-section-colors .start-item[data-v-391b4e37]:last-of-type,.start-section-colors .start-item-active[data-v-391b4e37]:last-of-type:before{border-radius:0 0 var(--scalar-radius-lg) var(--scalar-radius-lg)}.start-item[data-v-391b4e37]:empty{pointer-events:none}.start-item svg[data-v-391b4e37]{width:14px;height:14px;margin-right:6px}.start-item[data-v-391b4e37]:hover{background:var(--scalar-background-3)}.start-item-active[data-v-391b4e37]{z-index:10;position:relative;color:var(--scalar-color-1)}.start-item-active[data-v-391b4e37]:before{border:1px solid var(--scalar-color-1);content:"";top:-1px;right:-1px;bottom:-1px;left:-1px;pointer-events:none;position:absolute}.start-section-color .start-item[data-v-391b4e37]{text-transform:capitalize}.start-cta[data-v-391b4e37]{display:flex;gap:12px;width:100%;margin-top:24px;margin-bottom:0}.start-row[data-v-391b4e37]{width:100%;margin-top:12px;overflow:hidden}.start-hero-copy[data-v-391b4e37]{background:var(--scalar-background-2);padding:12px;border-radius:var(--scalar-radius-lg)}.start-p-small[data-v-391b4e37]{font-weight:var(--scalar-semibold);font-size:var(--scalar-mini);color:var(--scalar-color-2);margin-bottom:12px;line-height:1.4}.start-cta[data-v-391b4e37]{margin-bottom:12px;width:fit-content;white-space:nowrap}.start-copy[data-v-391b4e37]{padding:76px 48px 48px;display:flex;justify-content:center;align-items:center;flex-direction:column;text-align:center}.start-logo[data-v-391b4e37]{color:var(--scalar-color-1);margin-bottom:24px;width:72px;aspect-ratio:1;position:relative;box-shadow:var(--scalar-shadow-2);border-radius:50%}.start-logo[data-v-391b4e37]:before{content:"";width:300%;aspect-ratio:1;left:-100%;top:-100%;position:absolute;z-index:-1;border-radius:50%;background-size:24px 24px;box-shadow:inset 0 0 50px var(--scalar-background-1),inset 0 0 50px var(--scalar-background-1);background-image:linear-gradient(to right,var(--scalar-border-color) 1px,transparent 1px),linear-gradient(to bottom,var(--scalar-border-color) 1px,transparent 1px)}.start-logo svg[data-v-391b4e37]{width:100%;height:auto;background:var(--scalar-background-1);padding:3px;border-radius:50%;position:relative}@media screen and (max-width: 600px){.start-section-colors .start-item[data-v-391b4e37],.start-item[data-v-391b4e37]{width:100%;border-radius:0;border-right:none;border-top:1px solid var(--scalar-border-color)}.start-item[data-v-391b4e37]:empty{display:none}.start-h2[data-v-391b4e37]{border-bottom:none}.start li[data-v-391b4e37]{width:100%}.start-copy[data-v-391b4e37]{padding:48px 0 24px}}@media screen and (max-width: 1000px){.start[data-v-391b4e37]{padding:0;overflow:auto}}.sidebar-heading[data-v-8f97b414]{display:flex;gap:6px;color:var(--scalar-sidebar-color-2, var(--scalar-color-2));font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);word-break:break-word;line-height:1.385;max-width:100%;position:relative;cursor:pointer;border-radius:var(--scalar-radius);flex:1;padding-right:9px;-webkit-user-select:none;user-select:none}.sidebar-heading-link-method[data-v-8f97b414]{margin:0}.sidebar-heading.deprecated .sidebar-heading-link-title[data-v-8f97b414]{text-decoration:line-through}.sidebar-heading-link-title[data-v-8f97b414]{margin:0}.sidebar-heading[data-v-8f97b414]:hover{background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-heading:hover .sidebar-heading-link-title[data-v-8f97b414]{color:var(--scalar-sidebar-item-hover-color)}.active_page.sidebar-heading[data-v-8f97b414]:hover,.active_page.sidebar-heading[data-v-8f97b414]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent));background:var( --scalar-sidebar-item-active-background, var(--scalar-background-accent) )}.active_page.sidebar-heading:hover .sidebar-heading-link-title[data-v-8f97b414]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-8f97b414]:before{content:"";position:absolute;top:0;left:calc((var(--scalar-sidebar-level) * 12px));width:1px;height:100%;background:var(--scalar-sidebar-indent-border)}.sidebar-indent-nested .sidebar-indent-nested .sidebar-heading[data-v-8f97b414]:hover:before{background:var(--scalar-sidebar-indent-border-hover)}.sidebar-indent-nested .sidebar-indent-nested .active_page.sidebar-heading[data-v-8f97b414]:before{background:var(--scalar-sidebar-indent-border-active)}.sidebar-heading-link[data-v-8f97b414]{text-decoration:none;color:inherit;padding:6px 0;display:flex;flex:1;justify-content:space-between;gap:2px}.sidebar-heading p[data-v-8f97b414]{height:fit-content;display:flex;align-items:center}.sidebar-heading p[data-v-8f97b414]:empty{display:none}.link-icon[data-v-8f97b414]{position:relative;left:4px}.sidebar-icon[data-v-8f97b414]{display:flex;align-items:center;justify-content:center;margin-right:6px;width:13px;height:13px}.sidebar-icon>svg[data-v-8f97b414]{width:13px;height:13px}.sidebar-group-item[data-v-8f97b414]{position:relative}.sidebar-heading-chevron[data-v-8f97b414]{margin:5px -5.5px 5px -9px}.toggle-nested-icon[data-v-8f97b414]{border:none;color:currentColor;padding:3px;color:var(--scalar-sidebar-color-2)}.active_page .toggle-nested-icon[data-v-8f97b414]{color:var(--scalar-sidebar-color-active, var(--scalar-color-accent))}.toggle-nested-icon[data-v-8f97b414]:hover,.toggle-nested-icon[data-v-8f97b414]:focus-visible{color:currentColor}.action-menu[data-v-8f97b414]{position:absolute;top:5px;right:5px;display:flex;gap:6px}.action-menu[data-v-8f97b414] .button-wrapper button{opacity:0;width:20px;height:20px;padding:4px}.action-menu[data-v-8f97b414]:hover .button-wrapper button,.action-menu[data-v-8f97b414] .button-wrapper button:hover,.sidebar-heading:hover~.action-menu[data-v-8f97b414] .button-wrapper button,.action-menu[data-v-8f97b414] .button-wrapper button[aria-expanded=true]{opacity:1}.sidebar-heading[data-v-8f97b414]:has(~.action-menu:hover){color:var(--scalar-sidebar-color-1, var(--scalar-color-1));background:var( --scalar-sidebar-item-hover-background, var(--scalar-background-2) )}.sidebar-group-item__folder[data-v-8f97b414]{color:var(--scalar-sidebar-color-1, var(--scalar-color-1));text-transform:var(--scalar-tag-text-transform, initial)}.sidebar-group[data-v-39c84840]{list-style:none;width:100%;margin:0;padding:0}.sidebar-indent-nested[data-v-39c84840] .sidebar-heading{padding-left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 12px)!important}.sidebar-indent-nested[data-v-39c84840] .sidebar-heading .toggle-nested-icon{left:calc((var(--scalar-sidebar-level) * var(--scalar-sidebar-indent-base)) + 2px)!important}:where(.sidebar-indent-nested[data-v-39c84840]) .sidebar-heading{color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}:where(.sidebar-indent-nested[data-v-39c84840]) :where(.sidebar-indent-nested) .sidebar-heading{color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.sidebar[data-v-42bebafe]{--scalar-sidebar-indent-base: 12px}.sidebar[data-v-42bebafe]{flex:1;height:100%;display:flex;flex-direction:column;border-right:var(--scalar-border-width) solid var(--scalar-sidebar-border-color, var(--scalar-border-color));background:var(--scalar-sidebar-background-1, var(--scalar-background-1));--scalar-sidebar-level: 0}.sidebar-pages[data-v-42bebafe]{flex:1;padding:9px 12px}@media (max-width: 1000px){.sidebar[data-v-42bebafe]{min-height:0;border-right:none}.sidebar-pages[data-v-42bebafe]{padding-top:12px}}.sidebar-group-title[data-v-42bebafe]{color:var(--scalar-sidebar-color-1);font-size:var(--scalar-mini);padding:12px 6px 6px;font-weight:var(--scalar-semibold);text-transform:uppercase;word-break:break-word;line-height:1.385}.sidebar-group-item+.sidebar-group-title[data-v-42bebafe]{border-top:var(--scalar-border-width) solid var(--scalar-sidebar-border-color);margin-top:9px}.scalar-modal-layout[data-v-df67288f]{animation:fadein-layout-df67288f ease-in-out .3s forwards}.scalar-modal[data-v-df67288f]{animation:fadein-modal-df67288f ease-in-out .3s forwards;animation-delay:.1s;position:fixed;left:0;top:0;right:0;box-shadow:var(--scalar-shadow-2);transform:translate3d(0,10px,0)}.dark-mode .scalar-modal[data-v-df67288f]{background-color:color-mix(in srgb,var(--scalar-background-1),black)}.scalar-modal.scalar-modal-search[data-v-df67288f]{max-width:540px;max-height:440px;background-color:transparent}.modal-content-search .modal-body[data-v-df67288f]{padding:0;overflow:hidden;display:flex;flex-direction:column;max-height:440px}@media (max-width: 1280px){.scalar-modal[data-v-df67288f]{max-height:calc(100% - 56px);top:28px}}@keyframes fadein-layout-df67288f{0%{opacity:0}to{opacity:1}}@keyframes fadein-modal-df67288f{0%{opacity:0;transform:translate3d(0,10px,0)}to{opacity:1;transform:translateZ(0)}}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}}:where(.scalar-app){font-family:var(--scalar-font);line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4}@layer scalar-base{:root{--scalar-border-width: .5px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-background-1: #0f0f0f;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-color-1: #e7e7e7;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-background-1: #fff;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-color-1: #2a2f45;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}*::-moz-selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}*::selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #dfdfdf}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: #e7e7e7;--scalar-color-2: #a4a4a4;--scalar-color-3: #797979;--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: #2d2d2d}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }}:where(.scalar-app) .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:where(.scalar-app) .pointer-events-none{pointer-events:none}:where(.scalar-app) .visible{visibility:visible}:where(.scalar-app) .invisible{visibility:hidden}:where(.scalar-app) .\\!static{position:static!important}:where(.scalar-app) .static{position:static}:where(.scalar-app) .fixed{position:fixed}:where(.scalar-app) .absolute{position:absolute}:where(.scalar-app) .relative{position:relative}:where(.scalar-app) .sticky{position:sticky}:where(.scalar-app) .inset-0{top:0;right:0;bottom:0;left:0}:where(.scalar-app) .left-0{left:0}:where(.scalar-app) .left-3{left:12px}:where(.scalar-app) .top-0{top:0}:where(.scalar-app) .top-1\\/2{top:50%}:where(.scalar-app) .top-\\[0\\.5px\\]{top:.5px}:where(.scalar-app) .-z-1{z-index:-1}:where(.scalar-app) .z-\\[1001\\]{z-index:1001}:where(.scalar-app) .z-overlay{z-index:10000}:where(.scalar-app) .\\!m-0{margin:0!important}:where(.scalar-app) .m-0{margin:0}:where(.scalar-app) .m-1{margin:4px}:where(.scalar-app) .-mx-0{margin-left:-0px;margin-right:-0px}:where(.scalar-app) .-mx-0\\.75{margin-left:-3px;margin-right:-3px}:where(.scalar-app) .mx-2{margin-left:8px;margin-right:8px}:where(.scalar-app) .mx-auto{margin-left:auto;margin-right:auto}:where(.scalar-app) .my-0{margin-top:0;margin-bottom:0}:where(.scalar-app) .my-0\\.75{margin-top:3px;margin-bottom:3px}:where(.scalar-app) .my-3{margin-top:12px;margin-bottom:12px}:where(.scalar-app) .-mb-1{margin-bottom:-4px}:where(.scalar-app) .mb-0{margin-bottom:0}:where(.scalar-app) .ml-1{margin-left:4px}:where(.scalar-app) .mr-2{margin-right:8px}:where(.scalar-app) .mr-3{margin-right:12px}:where(.scalar-app) .mt-0{margin-top:0}:where(.scalar-app) .mt-1{margin-top:4px}:where(.scalar-app) .mt-1\\.5{margin-top:6px}:where(.scalar-app) .mt-10{margin-top:40px}:where(.scalar-app) .mt-2{margin-top:8px}:where(.scalar-app) .mt-20{margin-top:80px}:where(.scalar-app) .line-clamp-4{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4}:where(.scalar-app) .block{display:block}:where(.scalar-app) .inline-block{display:inline-block}:where(.scalar-app) .flex{display:flex}:where(.scalar-app) .grid{display:grid}:where(.scalar-app) .contents{display:contents}:where(.scalar-app) .hidden{display:none}:where(.scalar-app) .aspect-square{aspect-ratio:1 / 1}:where(.scalar-app) .size-10{width:40px;height:40px}:where(.scalar-app) .size-2{width:8px;height:8px}:where(.scalar-app) .size-2\\.5{width:10px;height:10px}:where(.scalar-app) .size-3{width:12px;height:12px}:where(.scalar-app) .size-3\\.5{width:14px;height:14px}:where(.scalar-app) .size-4{width:16px;height:16px}:where(.scalar-app) .size-5{width:20px;height:20px}:where(.scalar-app) .size-6{width:24px;height:24px}:where(.scalar-app) .size-8{width:32px;height:32px}:where(.scalar-app) .size-full{width:100%;height:100%}:where(.scalar-app) .h-10{height:40px}:where(.scalar-app) .h-4{height:16px}:where(.scalar-app) .h-5{height:20px}:where(.scalar-app) .h-72{height:288px}:where(.scalar-app) .h-8{height:32px}:where(.scalar-app) .h-\\[100dvh\\]{height:100dvh}:where(.scalar-app) .h-fit{height:-moz-fit-content;height:fit-content}:where(.scalar-app) .h-full{height:100%}:where(.scalar-app) .h-px{height:1px}:where(.scalar-app) .h-screen{height:100vh}:where(.scalar-app) .max-h-\\[440px\\]{max-height:440px}:where(.scalar-app) .max-h-\\[calc\\(100dvh-120px\\)\\]{max-height:calc(100dvh - 120px)}:where(.scalar-app) .max-h-\\[calc\\(100dvh-180px\\)\\]{max-height:calc(100dvh - 180px)}:where(.scalar-app) .max-h-\\[calc\\(100dvh-240px\\)\\]{max-height:calc(100dvh - 240px)}:where(.scalar-app) .max-h-dvh{max-height:100dvh}:where(.scalar-app) .min-h-\\[77px\\]{min-height:77px}:where(.scalar-app) .w-4{width:16px}:where(.scalar-app) .w-40{width:160px}:where(.scalar-app) .w-48{width:192px}:where(.scalar-app) .w-5{width:20px}:where(.scalar-app) .w-56{width:224px}:where(.scalar-app) .w-\\[100dvw\\]{width:100dvw}:where(.scalar-app) .w-\\[calc\\(100vw-16px\\)\\]{width:calc(100vw - 16px)}:where(.scalar-app) .w-full{width:100%}:where(.scalar-app) .min-w-0{min-width:0px}:where(.scalar-app) .max-w-screen-lg{max-width:800px}:where(.scalar-app) .max-w-screen-md{max-width:640px}:where(.scalar-app) .max-w-screen-sm{max-width:540px}:where(.scalar-app) .max-w-screen-xl{max-width:1000px}:where(.scalar-app) .max-w-screen-xs{max-width:480px}:where(.scalar-app) .max-w-screen-xxs{max-width:360px}:where(.scalar-app) .flex-1{flex:1 1 0%}:where(.scalar-app) .origin-top-left{transform-origin:top left}:where(.scalar-app) .-translate-y-1\\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .rotate-90{--tw-rotate: 90deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .cursor-not-allowed{cursor:not-allowed}:where(.scalar-app) .cursor-pointer{cursor:pointer}:where(.scalar-app) .resize-none{resize:none}:where(.scalar-app) .resize{resize:both}:where(.scalar-app) .appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}:where(.scalar-app) .flex-col{flex-direction:column}:where(.scalar-app) .flex-wrap{flex-wrap:wrap}:where(.scalar-app) .items-start{align-items:flex-start}:where(.scalar-app) .items-center{align-items:center}:where(.scalar-app) .justify-start{justify-content:flex-start}:where(.scalar-app) .justify-center{justify-content:center}:where(.scalar-app) .justify-between{justify-content:space-between}:where(.scalar-app) .gap-0{gap:0px}:where(.scalar-app) .gap-0\\.75{gap:3px}:where(.scalar-app) .gap-1{gap:4px}:where(.scalar-app) .gap-1\\.5{gap:6px}:where(.scalar-app) .gap-16{gap:64px}:where(.scalar-app) .gap-2{gap:8px}:where(.scalar-app) .gap-2\\.5{gap:10px}:where(.scalar-app) .gap-4{gap:16px}:where(.scalar-app) .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse: 0;border-top-width:calc(var(--scalar-border-width) * calc(1 - var(--tw-divide-y-reverse)));border-bottom-width:calc(var(--scalar-border-width) * var(--tw-divide-y-reverse))}:where(.scalar-app) .self-center{align-self:center}:where(.scalar-app) .overflow-hidden{overflow:hidden}:where(.scalar-app) .overflow-visible{overflow:visible}:where(.scalar-app) .truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:where(.scalar-app) .text-ellipsis{text-overflow:ellipsis}:where(.scalar-app) .text-wrap{text-wrap:wrap}:where(.scalar-app) .rounded{border-radius:var(--scalar-radius)}:where(.scalar-app) .rounded-full{border-radius:9999px}:where(.scalar-app) .rounded-lg{border-radius:var(--scalar-radius-lg)}:where(.scalar-app) .rounded-none{border-radius:0}:where(.scalar-app) .border{border-width:var(--scalar-border-width)}:where(.scalar-app) .border-0{border-width:0}:where(.scalar-app) .border-t{border-top-width:var(--scalar-border-width)}:where(.scalar-app) .border-solid{border-style:solid}:where(.scalar-app) .border-dashed{border-style:dashed}:where(.scalar-app) .border-none{border-style:none}:where(.scalar-app) .border-border{border-color:var(--scalar-border-color)}:where(.scalar-app) .border-c-3{border-color:var(--scalar-color-3)}:where(.scalar-app) .border-red{border-color:var(--scalar-color-red)}:where(.scalar-app) .bg-b-1{background-color:var(--scalar-background-1)}:where(.scalar-app) .bg-b-2{background-color:var(--scalar-background-2)}:where(.scalar-app) .bg-b-btn{background-color:var(--scalar-button-1)}:where(.scalar-app) .bg-backdrop{background-color:#00000038}:where(.scalar-app) .bg-blue{background-color:var(--scalar-color-blue)}:where(.scalar-app) .bg-border{background-color:var(--scalar-border-color)}:where(.scalar-app) .bg-red{background-color:var(--scalar-color-red)}:where(.scalar-app) .bg-transparent{background-color:transparent}:where(.scalar-app) .p-0{padding:0}:where(.scalar-app) .p-0\\.5{padding:2px}:where(.scalar-app) .p-0\\.75{padding:3px}:where(.scalar-app) .p-1{padding:4px}:where(.scalar-app) .p-2{padding:8px}:where(.scalar-app) .p-3{padding:12px}:where(.scalar-app) .p-6{padding:24px}:where(.scalar-app) .p-\\[3px\\]{padding:3px}:where(.scalar-app) .px-1{padding-left:4px;padding-right:4px}:where(.scalar-app) .px-1\\.5{padding-left:6px;padding-right:6px}:where(.scalar-app) .px-2{padding-left:8px;padding-right:8px}:where(.scalar-app) .px-2\\.5{padding-left:10px;padding-right:10px}:where(.scalar-app) .px-3{padding-left:12px;padding-right:12px}:where(.scalar-app) .px-6{padding-left:24px;padding-right:24px}:where(.scalar-app) .px-9{padding-left:36px;padding-right:36px}:where(.scalar-app) .py-1{padding-top:4px;padding-bottom:4px}:where(.scalar-app) .py-1\\.5{padding-top:6px;padding-bottom:6px}:where(.scalar-app) .py-2{padding-top:8px;padding-bottom:8px}:where(.scalar-app) .py-2\\.5{padding-top:10px;padding-bottom:10px}:where(.scalar-app) .py-4{padding-top:16px;padding-bottom:16px}:where(.scalar-app) .pb-0{padding-bottom:0}:where(.scalar-app) .pl-8{padding-left:32px}:where(.scalar-app) .pr-3{padding-right:12px}:where(.scalar-app) .pt-3{padding-top:12px}:where(.scalar-app) .pt-6{padding-top:24px}:where(.scalar-app) .text-left{text-align:left}:where(.scalar-app) .font-code{font-family:var(--scalar-font-code)}:where(.scalar-app) .text-lg{font-size:var(--scalar-font-size-2)}:where(.scalar-app) .text-sm{font-size:var(--scalar-font-size-4)}:where(.scalar-app) .text-xs{font-size:var(--scalar-font-size-5)}:where(.scalar-app) .text-xxs{font-size:var(--scalar-font-size-6)}:where(.scalar-app) .font-bold{font-weight:var(--scalar-bold)}:where(.scalar-app) .font-medium{font-weight:var(--scalar-semibold)}:where(.scalar-app) .font-normal{font-weight:var(--scalar-regular)}:where(.scalar-app) .leading-none{line-height:1}:where(.scalar-app) .leading-snug{line-height:1.375}:where(.scalar-app) .text-b-1{color:var(--scalar-background-1)}:where(.scalar-app) .text-c-1{color:var(--scalar-color-1)}:where(.scalar-app) .text-c-2{color:var(--scalar-color-2)}:where(.scalar-app) .text-c-3{color:var(--scalar-color-3)}:where(.scalar-app) .text-c-btn{color:var(--scalar-button-1-color)}:where(.scalar-app) .text-c-ghost{color:var(--scalar-color-ghost)}:where(.scalar-app) .text-red{color:var(--scalar-color-red)}:where(.scalar-app) .text-transparent{color:transparent}:where(.scalar-app) .text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:where(.scalar-app) .no-underline{text-decoration-line:none}:where(.scalar-app) .opacity-0{opacity:0}:where(.scalar-app) .opacity-50{opacity:.5}:where(.scalar-app) .shadow{--tw-shadow: var(--scalar-shadow-1);--tw-shadow-colored: var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-lg{--tw-shadow: var(--scalar-shadow-2);--tw-shadow-colored: var(--scalar-shadow-2);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-md{--tw-shadow: var(--scalar-shadow-1);--tw-shadow-colored: var(--scalar-shadow-1);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-sm{--tw-shadow: rgba(0, 0, 0, .09) 0px 1px 4px;--tw-shadow-colored: 0px 1px 4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .shadow-current{--tw-shadow-color: currentColor;--tw-shadow: var(--tw-shadow-colored)}:where(.scalar-app) .outline-none{outline:2px solid transparent;outline-offset:2px}:where(.scalar-app) .outline{outline-style:solid}:where(.scalar-app) .blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .brightness-lifted{--tw-brightness: brightness(var(--scalar-lifted-brightness));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .transition-transform{transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}:where(.scalar-app) .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}:where(.scalar-app) .bg-b-1{--tw-bg-base: var(--scalar-background-1)}:where(.scalar-app) .bg-b-2{--tw-bg-base: var(--scalar-background-2)}:where(.scalar-app) .bg-b-btn{--tw-bg-base: var(--scalar-button-1)}:where(.scalar-app) .bg-backdrop{--tw-bg-base: rgba(0, 0, 0, .22)}:where(.scalar-app) .bg-blue{--tw-bg-base: var(--scalar-color-blue)}:where(.scalar-app) .bg-border{--tw-bg-base: var(--scalar-border-color)}:where(.scalar-app) .bg-red{--tw-bg-base: var(--scalar-color-red)}:where(.scalar-app) .bg-transparent{--tw-bg-base: transparent}:where(.scalar-app) .row,:where(.scalar-app) .scalar-row{display:flex;flex-direction:row}:where(.scalar-app) .col{display:flex;flex-direction:column}:where(.scalar-app) .centered-x{left:50%;--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .centered{left:50%;--tw-translate-x: -50%;top:50%;--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .first-of-type\\:mt-0:first-of-type{margin-top:0}:where(.scalar-app) .first-of-type\\:mt-0\\.75:first-of-type{margin-top:3px}:where(.scalar-app) .last-of-type\\:mb-0:last-of-type{margin-bottom:0}:where(.scalar-app) .last-of-type\\:mb-0\\.75:last-of-type{margin-bottom:3px}:where(.scalar-app) .hover\\:bg-b-2:hover{background-color:var(--scalar-background-2)}:where(.scalar-app) .hover\\:text-c-1:hover{color:var(--scalar-color-1)}:where(.scalar-app) .hover\\:bg-b-2:hover{--tw-bg-base: var(--scalar-background-2)}:where(.scalar-app) .active\\:bg-b-btn:active{background-color:var(--scalar-button-1)}:where(.scalar-app) .active\\:text-c-1:active{color:var(--scalar-color-1)}:where(.scalar-app) .active\\:shadow-none:active{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .active\\:brightness-90:active{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .active\\:bg-b-btn:active{--tw-bg-base: var(--scalar-button-1)}:where(.scalar-app) .group:hover .group-hover\\:text-c-1{color:var(--scalar-color-1)}:where(.scalar-app) .group:hover .group-hover\\:opacity-100{opacity:1}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow: inset 0 0 0 1px var(--scalar-border-color);--tw-shadow-colored: inset 0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}:where(.scalar-app) .group:hover .group-hover\\:shadow-border{--tw-shadow-color: var(--scalar-border-color);--tw-shadow: var(--tw-shadow-colored)}:where(.scalar-app) .ui-open\\:rotate-180[data-headlessui-state~=open]{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) :where([data-headlessui-state~=open]) .ui-open\\:rotate-180{--tw-rotate: 180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}:where(.scalar-app) .has-actv-btn\\:border:has(button:active){border-width:var(--scalar-border-width)}:where(.scalar-app) .has-actv-btn\\:border-border:has(button:active){border-color:var(--scalar-border-color)}:where(.scalar-app) .\\!empty\\:flex:not(:empty){display:flex}:where(.scalar-app) .\\!empty\\:w-7:not(:empty){width:28px}:where(.scalar-app) .\\!empty\\:items-center:not(:empty){align-items:center}:where(.scalar-app) .\\!empty\\:pr-3:not(:empty){padding-right:12px}:where(.scalar-app) .hocus\\:bg-h-btn:hover{background-color:var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:text-c-1:hover{color:var(--scalar-color-1)}:where(.scalar-app) .hocus\\:brightness-90:hover{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .hocus\\:bg-h-btn:hover{--tw-bg-base: var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:bg-h-btn:focus-visible{background-color:var(--scalar-button-1-hover)}:where(.scalar-app) .hocus\\:text-c-1:focus-visible{color:var(--scalar-color-1)}:where(.scalar-app) .hocus\\:brightness-90:focus-visible{--tw-brightness: brightness(.9);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}:where(.scalar-app) .hocus\\:bg-h-btn:focus-visible{--tw-bg-base: var(--scalar-button-1-hover)}@media (min-width: 800px){:where(.scalar-app) .md\\:row{display:flex;flex-direction:row}}@media (min-width: 1000px){:where(.scalar-app) .lg\\:w-\\[calc\\(100vw-32px\\)\\]{width:calc(100vw - 32px)}}:where(.scalar-app) .dark\\:bg-backdropdark:where(.dark-mode,.dark-mode *){background-color:#00000073}:where(.scalar-app) .dark\\:bg-backdropdark:where(.dark-mode,.dark-mode *){--tw-bg-base: rgba(0, 0, 0, .45)}.loader-wrapper[data-v-5a129980]{position:relative;display:flex;align-items:center;justify-content:center;--loader-size: 50%}.svg-loader[data-v-5a129980]{width:var(--loader-size);height:var(--loader-size);top:1rem;right:.9rem;overflow:visible;fill:none;background-color:transparent;stroke:currentColor}.svg-path[data-v-5a129980]{stroke-width:14;fill:none;transition:.3s}.svg-x-mark[data-v-5a129980]{stroke-dasharray:57;stroke-dashoffset:57;transition-delay:0s}.svg-check-mark[data-v-5a129980]{stroke-dasharray:149;stroke-dashoffset:149;transition-delay:0s}.icon-is-invalid .svg-x-mark[data-v-5a129980],.icon-is-valid .svg-check-mark[data-v-5a129980]{stroke-dashoffset:0;transition-delay:.3s}.circular-loader[data-v-5a129980]{animation:rotate-5a129980 .7s linear infinite,fade-in-5a129980 .4s;transform-origin:center center;transform:scale(5);background:transparent}.loader-path[data-v-5a129980]{stroke-dasharray:50,200;stroke-dashoffset:-100;stroke-linecap:round}.loader-path-off[data-v-5a129980]{stroke-dasharray:50,200;stroke-dashoffset:-100;transition:opacity .3s;opacity:0}@keyframes fade-in-5a129980{0%{opacity:0}70%{opacity:0}to{opacity:1}}@keyframes rotate-5a129980{0%{transform:scale(5) rotate(0)}to{transform:scale(5) rotate(360deg)}}.scalar-icon[data-v-43d05207],.scalar-icon[data-v-43d05207] *{stroke-width:var(--5933775d)}.scalar-code-block{background:inherit;position:relative;overflow:auto;padding:.5rem .5rem .5rem .75rem}.scalar-code-block:hover .copy-button{opacity:100;visibility:visible}.scalar-codeblock-pre{margin:0;background:transparent;text-wrap:nowrap;white-space-collapse:preserve;border-radius:0}.scalar-code-copy{display:flex;align-items:start;justify-content:flex-end;position:sticky;top:0;right:0;bottom:0;left:0}.copy-button{position:relative;top:0;right:0;display:flex;align-items:center;background-color:var(--scalar-background-2);border:1px solid var(--scalar-border-color);border-radius:3px;color:var(--scalar-color-3);cursor:pointer;height:30px;margin-bottom:-30px;opacity:0;padding:6px;transition:opacity .15s ease-in-out,color .15s ease-in-out;visibility:hidden}.scalar-code-copy,.copy-button{background:inherit}.copy-button:after{content:".";color:transparent;font-size:var(--scalar-mini);line-height:1.35;width:0px}.copy-button:hover{color:var(--scalar-color-1)}.copy-button svg{stroke-width:1.5}.scalar-app code.hljs *{font-size:var(--scalar-small);font-family:var(--scalar-font-code);text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;line-height:1.4;-moz-tab-size:4;-o-tab-size:4;tab-size:4}.scalar-app code.hljs{font-size:var(--scalar-small);font-family:var(--scalar-font-code);display:inline-block;counter-reset:linenumber}.scalar-app .hljs{background:transparent;color:var(--scalar-color-2)}.scalar-app .hljs .line:before{color:var(--scalar-color-3);display:inline-block;counter-increment:linenumber;content:counter(linenumber);margin-right:.7em;min-width:calc(var(--line-digits) * 1ch);text-align:right}.scalar-app .hljs-comment,.scalar-app .hljs-quote{color:var(--scalar-color-3);font-style:italic}.scalar-app .hljs-number{color:var(--scalar-color-orange)}.scalar-app .hljs-regexp,.scalar-app .hljs-string,.scalar-app .hljs-built_in{color:var(--scalar-color-blue)}.scalar-app .hljs-title.class_{color:var(--scalar-color-1)}.scalar-app .hljs-keyword{color:var(--scalar-color-purple)}.scalar-app .hljs-title.function_{color:var(--scalar-color-orange)}.scalar-app .hljs-subst,.scalar-app .hljs-name{color:var(--scalar-color-blue)}.scalar-app .hljs-attr,.scalar-app .hljs-attribute{color:var(--scalar-color-1)}.scalar-app .hljs-addition,.scalar-app .hljs-literal,.scalar-app .hljs-selector-tag,.scalar-app .hljs-type{color:var(--scalar-color-green)}.scalar-app .hljs-selector-attr,.scalar-app .hljs-selector-pseudo{color:var(--scalar-color-orange)}.scalar-app .hljs-doctag,.scalar-app .hljs-section,.scalar-app .hljs-title{color:var(--scalar-color-blue)}.scalar-app .hljs-selector-id,.scalar-app .hljs-template-variable,.scalar-app .hljs-variable{color:var(--scalar-color-1)}.scalar-app .hljs-name,.scalar-app .hljs-section,.scalar-app .hljs-strong{font-weight:var(--scalar-semibold)}.scalar-app .hljs-bullet,.scalar-app .hljs-link,.scalar-app .hljs-meta,.scalar-app .hljs-symbol{color:var(--scalar-color-blue)}.scalar-app .hljs-deletion{color:var(--scalar-color-red)}.scalar-app .hljs-formula{background:var(--scalar-color-1)}.scalar-app .hljs-emphasis{font-style:italic}.scalar-app .credentials{font-size:0!important;color:transparent}.scalar-app .credentials:after{content:"·····";font-size:var(--scalar-small);color:var(--scalar-color-3);-webkit-user-select:none;-moz-user-select:none;user-select:none}.hljs.language-html{color:var(--scalar-color-1)}.hljs.language-html .hljs-attr{color:var(--scalar-color-2)}.hljs.language-curl .hljs-keyword{color:var(--scalar-color-orange)}.hljs.language-curl .hljs-string{color:var(--scalar-color-1)}.hljs.language-curl .hljs-literal,.hljs.language-php .hljs-variable{color:var(--scalar-color-blue)}.hljs.language-objectivec .hljs-meta{color:var(--scalar-color-1)}.hljs.language-objectivec .hljs-built_in,.hljs-built_in{color:var(--scalar-color-orange)}.scalar-app .markdown{font-family:var(--scalar-font);color:var(--scalar-color-1);word-break:break-word}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6,.scalar-app .markdown p,.scalar-app .markdown div,.scalar-app .markdown img,.scalar-app .markdown details,.scalar-app .markdown summary,.scalar-app .markdown ul,.scalar-app .markdown ol,.scalar-app .markdown table,.scalar-app .markdown blockquote,.scalar-app .markdown code{margin:12px 0}.scalar-app .markdown details{margin:12px 0;color:var(--scalar-color-1)}.scalar-app .markdown summary{display:block;margin:12px 0;padding-left:20px;position:relative;font-weight:var(--scalar-semibold);cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none}.scalar-app .markdown summary:after{display:block;content:"";position:absolute;top:1px;left:1px;width:16px;height:16px;background-color:var(--scalar-color-3);-webkit-mask-image:url(\'data:image/svg+xml,\');mask-image:url(\'data:image/svg+xml,\')}.scalar-app .markdown summary:hover:after{background-color:var(--scalar-color-1)}.scalar-app .markdown details[open] summary:after{transform:rotate(90deg)}.scalar-app .markdown summary::-webkit-details-marker{display:none}.scalar-app .markdown img{overflow:hidden;border-radius:var(--scalar-radius);max-width:100%}.scalar-app .markdown>:first-child{margin-top:0;margin-bottom:0}.scalar-app .markdown h1{--font-size: 1.4em}.scalar-app .markdown h2{--font-size: 1.25em}.scalar-app .markdown h3{--font-size: 1.1em}.scalar-app .markdown h4,.scalar-app .markdown h6{--font-size: 1em}.scalar-app .markdown h1,.scalar-app .markdown h2,.scalar-app .markdown h3,.scalar-app .markdown h4,.scalar-app .markdown h5,.scalar-app .markdown h6{font-size:var(--font-size);margin:18px 0 6px;font-weight:var(--scalar-bold);display:block;line-height:1.45}.scalar-app .markdown b,.scalar-app .markdown strong{font-weight:var(--scalar-bold)}.scalar-app .markdown p{color:inherit;font-weight:var(--font-weight, var(--scalar-regular));line-height:1.5;margin-bottom:0;display:block}.scalar-app .markdown ul,.scalar-app .markdown ol{padding-left:24px;line-height:1.5;margin:12px 0;display:block}.scalar-app .markdown ul{list-style:disc}.scalar-app .markdown ol{list-style:decimal}.scalar-app .markdown ul.contains-task-list{list-style:none;padding-left:0}.scalar-app .markdown li{margin:6px 0;display:list-item}.scalar-app .markdown ul:first-of-type li:first-of-type{margin-top:0}.scalar-app .markdown a{color:var(--scalar-color-accent);-webkit-text-decoration:var(--scalar-text-decoration);text-decoration:var(--scalar-text-decoration);cursor:pointer}.scalar-app .markdown a:hover{-webkit-text-decoration:var(--scalar-text-decoration-hover);text-decoration:var(--scalar-text-decoration-hover)}.scalar-app .markdown em{font-style:italic}.scalar-app .markdown sup{font-size:var(--scalar-micro);vertical-align:super;font-weight:450}.scalar-app .markdown sub{font-size:var(--scalar-micro);vertical-align:sub;font-weight:450}.scalar-app .markdown del{text-decoration:line-through}.scalar-app .markdown code{font-family:var(--scalar-font-code);background-color:var(--scalar-background-2);box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);font-size:var(--scalar-micro);border-radius:2px;padding:0 3px}.scalar-app .markdown pre code{display:block;white-space:pre;padding:12px;line-height:1.5;margin:12px 0;-webkit-overflow-scrolling:touch;overflow-x:auto;max-width:100%;min-width:100px}.scalar-app .markdown hr{border:none;border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.scalar-app .markdown blockquote{border-left:3px solid var(--scalar-border-color);padding-left:12px;margin:0;display:block}.scalar-app .markdown table{display:block;overflow-x:auto;position:relative;border-collapse:collapse;width:-moz-max-content;width:max-content;max-width:100%;margin:1em 0;box-shadow:0 0 0 var(--scalar-border-width) var(--scalar-border-color);border-radius:var(--scalar-radius-lg)}.scalar-app .markdown tbody{display:table-row-group;vertical-align:middle}.scalar-app .markdown thead{display:table-header-group;vertical-align:middle}.scalar-app .markdown tr{display:table-row;border-color:inherit;vertical-align:inherit}.scalar-app .markdown td,.scalar-app .markdown th{display:table-cell;vertical-align:inherit;min-width:1em;padding:6px 9px;vertical-align:top;line-height:1.5;position:relative;word-break:initial;font-size:var(--scalar-small);color:var(--scalar-color-1);font-weight:var(--font-weight, var(--scalar-regular));border-right:var(--scalar-border-width) solid var(--scalar-border-color);border-bottom:var(--scalar-border-width) solid var(--scalar-border-color)}.scalar-app .markdown td>*,.scalar-app .markdown th>*{margin-bottom:0}.scalar-app .markdown th:empty{display:none}.scalar-app .markdown td:first-of-type,.scalar-app .markdown th:first-of-type{border-left:none}.scalar-app .markdown td:last-of-type,.scalar-app .markdown th:last-of-type{border-right:none}.scalar-app .markdown tr:last-of-type td{border-bottom:none}.scalar-app .markdown th{font-weight:var(--scalar-semibold)!important;text-align:left;border-left-color:transparent;background:var(--scalar-background-2)}.scalar-app .markdown tr>[align=left]{text-align:left}.scalar-app .markdown tr>[align=right]{text-align:right}.scalar-app .markdown tr>[align=center]{text-align:center}.dark-mode .scalar-dropdown-item[data-v-a4980d5e]:hover{filter:brightness(1.1)}.scalar-input-wrapper-focus .scalar-input-label[data-v-4de7a24e]{color:var(--scalar-color-1)}.scalar-input-wrapper-error .scalar-input-label[data-v-4de7a24e]{color:var(--scalar-color-red)}.scalar-input[data-v-4de7a24e]::-moz-selection{color:var(--scalar-color-1);background:#ffa55859}.scalar-input[data-v-4de7a24e]::selection{color:var(--scalar-color-1);background:#ffa55859}.scalar-input[data-v-4de7a24e]:has(+.scalar-input-label){opacity:0}.scalar-input[data-v-4de7a24e]:not(:-moz-placeholder-shown){opacity:1;-moz-transition:opacity .2s ease-in-out .15s;transition:opacity .2s ease-in-out .15s}.scalar-input[data-v-4de7a24e]:not(:placeholder-shown),.scalar-input-wrapper-focus .scalar-input[data-v-4de7a24e]{opacity:1;transition:opacity .2s ease-in-out .15s}.scalar-input[data-v-4de7a24e]:-webkit-autofill,.scalar-input[data-v-4de7a24e]:-webkit-autofill:hover,.scalar-input[data-v-4de7a24e]:-webkit-autofill:focus,.scalar-input[data-v-4de7a24e]:-webkit-autofill:active,.scalar-input[data-v-4de7a24e]:focus-within:-webkit-autofill,.scalar-input[data-v-4de7a24e]:focus-within:-webkit-autofill:hover,.scalar-input[data-v-4de7a24e]:focus-within:-webkit-autofill:focus,.scalar-input[data-v-4de7a24e]:focus-within:-webkit-autofill:active{-webkit-box-shadow:0 0 0px 1000px var(--scalar-background-1) inset!important;-webkit-text-fill-color:var(--scalar-color-1);color:var(--scalar-color-1);border-radius:var(--scalar-radius)}.scalar-input:not(:-moz-placeholder-shown)+.scalar-input-label[data-v-4de7a24e]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus .scalar-input-label[data-v-4de7a24e],.scalar-input:not(:placeholder-shown)+.scalar-input-label[data-v-4de7a24e]{transform:translate3d(0,-20px,0) scale(.8);transform-origin:top left}.scalar-input-wrapper-focus:has(button:active) .scalar-input-label[data-v-4de7a24e]{color:var(--scalar-color-3)!important}@layer scalar-base,scalar-theme;@layer scalar-base{body{margin:0;line-height:inherit}}:where(.scalar-app){font-family:var(--scalar-font);line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}:where(.scalar-app) *,:where(.scalar-app) *:before,:where(.scalar-app) *:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:var(--scalar-border-color);font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;color:inherit;margin:unset;padding:unset;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}:where(.scalar-app) :before,:where(.scalar-app) :after{--tw-content: ""}:where(.scalar-app) button,:where(.scalar-app) input,:where(.scalar-app) optgroup,:where(.scalar-app) select,:where(.scalar-app) textarea,:where(.scalar-app) ::file-selector-button{background:transparent}:where(.scalar-app) ol,:where(.scalar-app) ul,:where(.scalar-app) menu{list-style:none}:where(.scalar-app) input:where(:not([type=button],[type=reset],[type=submit])),:where(.scalar-app) select,:where(.scalar-app) textarea{border-radius:var(--scalar-radius);border-width:1px}:where(.scalar-app) input::placeholder,:where(.scalar-app) input:-ms-input-placeholder,:where(.scalar-app) input::-webkit-input-placeholder{color:var(--scalar-color-3);font-family:var(--scalar-font)}:where(.scalar-app) input:-webkit-autofill{-webkit-background-clip:text!important;background-clip:text!important}:where(.scalar-app) :focus-visible{outline:1px solid var(--scalar-color-accent);outline-offset:1px}:where(.scalar-app) button,:where(.scalar-app) [role=button]{cursor:pointer}:where(.scalar-app) :disabled{cursor:default}:where(.scalar-app) img,:where(.scalar-app) svg,:where(.scalar-app) video,:where(.scalar-app) canvas,:where(.scalar-app) audio,:where(.scalar-app) iframe,:where(.scalar-app) embed,:where(.scalar-app) object{display:block;vertical-align:middle}:where(.scalar-app) [hidden]{display:none}.scalar-app .cm-scroller,.scalar-app .custom-scroll{overflow-y:auto;scrollbar-color:transparent transparent;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.scalar-app .custom-scroll-self-contain-overflow{overscroll-behavior:contain}.scalar-app .cm-scroller:hover,.scalar-app .custom-scroll:hover,.scalar-app.scalar-scrollbars-obtrusive .cm-scroller,.scalar-app.scalar-scrollbars-obtrusive .custom-scroll{scrollbar-color:var(--scalar-scrollbar-color, transparent) transparent}.scalar-app .cm-scroller:hover::-webkit-scrollbar-thumb,.scalar-app .custom-scroll:hover::-webkit-scrollbar-thumb{background:var(--scalar-scrollbar-color);background-clip:content-box;border:3px solid transparent}.scalar-app .cm-scroller::-webkit-scrollbar-thumb:active,.scalar-app .custom-scroll::-webkit-scrollbar-thumb:active{background:var(--scalar-scrollbar-color-active);background-clip:content-box;border:3px solid transparent}.scalar-app .cm-scroller::-webkit-scrollbar-corner,.scalar-app .custom-scroll::-webkit-scrollbar-corner{background:transparent}.scalar-app .cm-scroller::-webkit-scrollbar,.scalar-app .custom-scroll::-webkit-scrollbar{height:12px;width:12px}.scalar-app .cm-scroller::-webkit-scrollbar-track,.scalar-app .custom-scroll::-webkit-scrollbar-track{background:transparent}.scalar-app .cm-scroller::-webkit-scrollbar-thumb,.scalar-app .custom-scroll::-webkit-scrollbar-thumb{border-radius:20px;background:transparent;background-clip:content-box;border:3px solid transparent}@media (pointer: coarse){.scalar-app .cm-scroller,.scalar-app .custom-scroll{padding-right:12px}}@layer scalar-base{:root{--scalar-border-width: .5px;--scalar-radius: 3px;--scalar-radius-lg: 6px;--scalar-radius-xl: 8px;--scalar-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;--scalar-font-code: "JetBrains Mono", ui-monospace, Menlo, Monaco, "Cascadia Mono", "Segoe UI Mono", "Roboto Mono", "Oxygen Mono", "Ubuntu Monospace", "Source Code Pro", "Fira Mono", "Droid Sans Mono", "Courier New", monospace;--scalar-heading-1: 40px;--scalar-page-description: 24px;--scalar-heading-2: 24px;--scalar-heading-3: 20px;--scalar-heading-4: 16px;--scalar-heading-5: 16px;--scalar-heading-6: 16px;--scalar-paragraph: 16px;--scalar-small: 14px;--scalar-mini: 13px;--scalar-micro: 12px;--scalar-bold: 600;--scalar-semibold: 500;--scalar-regular: 400;--scalar-font-size-1: 24px;--scalar-font-size-2: 16px;--scalar-font-size-3: 14px;--scalar-font-size-4: 13px;--scalar-font-size-5: 12px;--scalar-font-size-6: 12px;--scalar-font-size-7: 10px;--scalar-line-height-1: 32px;--scalar-line-height-2: 24px;--scalar-line-height-3: 20px;--scalar-line-height-4: 18px;--scalar-line-height-5: 16px;--scalar-font-medium: 500;--scalar-font-bold: 700;--scalar-text-decoration: none;--scalar-text-decoration-hover: underline}.dark-mode{color-scheme:dark;--scalar-scrollbar-color: rgba(255, 255, 255, .18);--scalar-scrollbar-color-active: rgba(255, 255, 255, .36);--scalar-background-1: #0f0f0f;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black;--scalar-color-1: #e7e7e7;--scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, .1);--scalar-shadow-2: rgba(15, 15, 15, .2) 0px 3px 6px, rgba(15, 15, 15, .4) 0px 9px 24px, 0 0 0 1px var(--scalar-border-color);--scalar-lifted-brightness: 1.45;--scalar-backdrop-brightness: .5;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode{color-scheme:light;--scalar-scrollbar-color-active: rgba(0, 0, 0, .36);--scalar-scrollbar-color: rgba(0, 0, 0, .18);--scalar-background-1: #fff;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9);--scalar-color-1: #2a2f45;--scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, .11);--scalar-shadow-2: rgba(0, 0, 0, .08) 0px 13px 20px 0px, rgba(0, 0, 0, .08) 0px 3px 8px 0px, #eeeeed 0px 0 0 .5px;--scalar-lifted-brightness: 1;--scalar-backdrop-brightness: 1;--scalar-sidebar-indent-border: transparent;--scalar-sidebar-indent-border-hover: transparent;--scalar-sidebar-indent-border-active: transparent;--scalar-selection-background: color-mix( in sRGB, var(--scalar-color-1) 80%, transparent );--scalar-selection-color: var(--scalar-background-1)}.light-mode .dark-mode{color-scheme:dark!important}@media (max-width: 460px){:root{--scalar-font-size-1: 22px;--scalar-font-size-2: 14px;--scalar-font-size-3: 12px}}@media (max-width: 720px){:root{--scalar-heading-1: 24px;--scalar-page-description: 20px}}*::selection{background:var(--scalar-selection-background);color:var(--scalar-selection-color)}}@layer scalar-base{.light-mode{--scalar-background-1: #fff;--scalar-background-2: #f6f6f6;--scalar-background-3: #e7e7e7;--scalar-background-accent: #8ab4f81f;--scalar-color-1: #2a2f45;--scalar-color-2: #757575;--scalar-color-3: #8e8e8e;--scalar-color-accent: #0099ff;--scalar-border-color: #dfdfdf}.dark-mode{--scalar-background-1: #0f0f0f;--scalar-background-2: #1a1a1a;--scalar-background-3: #272727;--scalar-color-1: #e7e7e7;--scalar-color-2: #a4a4a4;--scalar-color-3: #797979;--scalar-color-accent: #3ea6ff;--scalar-background-accent: #3ea6ff1f;--scalar-border-color: #2d2d2d}.light-mode .t-doc__sidebar,.dark-mode .t-doc__sidebar{--scalar-sidebar-background-1: var(--scalar-background-1);--scalar-sidebar-color-1: var(--scalar-color-1);--scalar-sidebar-color-2: var(--scalar-color-2);--scalar-sidebar-border-color: var(--scalar-border-color);--scalar-sidebar-item-hover-background: var(--scalar-background-2);--scalar-sidebar-item-hover-color: currentColor;--scalar-sidebar-item-active-background: var(--scalar-background-2);--scalar-sidebar-color-active: var(--scalar-color-1);--scalar-sidebar-search-background: transparent;--scalar-sidebar-search-color: var(--scalar-color-3);--scalar-sidebar-search-border-color: var(--scalar-border-color)}.light-mode{--scalar-color-green: #069061;--scalar-color-red: #ef0006;--scalar-color-yellow: #edbe20;--scalar-color-blue: #0082d0;--scalar-color-orange: #fb892c;--scalar-color-purple: #5203d1;--scalar-button-1: rgba(0, 0, 0, 1);--scalar-button-1-hover: rgba(0, 0, 0, .8);--scalar-button-1-color: rgba(255, 255, 255, .9)}.dark-mode{--scalar-color-green: #00b648;--scalar-color-red: #dc1b19;--scalar-color-yellow: #ffc90d;--scalar-color-blue: #4eb3ec;--scalar-color-orange: #ff8d4d;--scalar-color-purple: #b191f9;--scalar-button-1: rgba(255, 255, 255, 1);--scalar-button-1-hover: rgba(255, 255, 255, .9);--scalar-button-1-color: black}}:root{--scalar-loaded-api-reference: true}@layer scalar-config{.scalar-api-reference[data-v-63cf628e]{--refs-sidebar-width: var(--scalar-sidebar-width, 0px);--refs-header-height: calc( var(--scalar-y-offset) + var(--scalar-header-height, 0px) );--refs-content-max-width: var(--scalar-content-max-width, 1540px)}.scalar-api-reference.references-classic[data-v-63cf628e]{--refs-content-max-width: var(--scalar-content-max-width, 1420px);min-height:100dvh;--refs-sidebar-width: 0}}.references-layout[data-v-63cf628e]{min-height:100dvh;min-width:100%;max-width:100%;flex:1;--full-height: 100dvh;display:grid;grid-template-rows:var(--scalar-header-height, 0px) repeat(2,auto);grid-template-columns:var(--refs-sidebar-width) 1fr;grid-template-areas:"header header" "navigation rendered" "footer footer";background:var(--scalar-background-1)}.references-header[data-v-63cf628e]{grid-area:header;position:sticky;top:var(--scalar-custom-header-height, 0px);z-index:10;height:var(--scalar-header-height, 0px)}.references-editor[data-v-63cf628e]{grid-area:editor;display:flex;min-width:0;background:var(--scalar-background-1);z-index:1}.references-navigation[data-v-63cf628e]{grid-area:navigation}.references-rendered[data-v-63cf628e]{position:relative;grid-area:rendered;min-width:0;background:var(--scalar-background-1)}.scalar-api-reference.references-classic[data-v-63cf628e],.references-classic .references-rendered[data-v-63cf628e]{--full-height: fit-content !important;height:initial!important;max-height:initial!important}.references-navigation-list[data-v-63cf628e]{position:sticky;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));background:var(--scalar-sidebar-background-1, var(--scalar-background-1));overflow-y:auto;display:flex;flex-direction:column}.references-editor-textarea[data-v-63cf628e]{position:sticky;top:var(--refs-header-height);height:calc(var(--full-height) - var(--refs-header-height));display:flex;min-width:0;flex:1}.references-editable[data-v-63cf628e]{grid-template-columns:var(--refs-sidebar-width) 1fr 1fr;grid-template-areas:"header header header" "navigation editor rendered" "footer footer footer"}@layer scalar-config{.references-sidebar[data-v-63cf628e]{--refs-sidebar-width: var(--scalar-sidebar-width, 280px)}}.references-footer[data-v-63cf628e]{grid-area:footer}@media (max-width: 1150px){.references-layout[data-v-63cf628e]{grid-template-columns:var(--refs-sidebar-width) 1fr 0px}}@media (max-width: 1000px){.references-layout[data-v-63cf628e]{grid-template-columns:auto;grid-template-rows:var(--scalar-header-height, 0px) 0px auto auto;grid-template-areas:"header" "navigation" "rendered" "footer"}.references-editable[data-v-63cf628e]{grid-template-areas:"header" "navigation" "editor"}.references-navigation[data-v-63cf628e],.references-rendered[data-v-63cf628e]{max-height:unset}.references-rendered[data-v-63cf628e]{position:static}.references-navigation[data-v-63cf628e]{display:none;z-index:10}.references-sidebar-mobile-open .references-navigation[data-v-63cf628e]{display:block;top:var(--refs-header-height);height:calc(100dvh - var(--refs-header-height));width:100%;position:sticky}.references-navigation-list[data-v-63cf628e]{position:absolute;top:-1px;height:calc(var(--full-height) - var(--refs-header-height) + 1px);width:100%;border-top:1px solid var(--scalar-border-color);display:flex;flex-direction:column}}.references-classic-header[data-v-a860f78f]{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:var(--refs-content-max-width);margin:auto;padding:12px 0}.references-classic-header-container[data-v-a860f78f]{padding:0 60px}@container narrow-references-container (max-width: 900px){.references-classic-header[data-v-a860f78f]{padding:12px 24px}.references-classic-header-container[data-v-a860f78f]{padding:0}}.references-classic-header-icon[data-v-a860f78f]{height:24px;color:var(--scalar-color-1)}.darklight[data-v-bfb18750]{font-family:var(--scalar-font);border:none;border-top:var(--scalar-border-width) solid var(--scalar-sidebar-border-color, var(--scalar-border-color));color:var(--scalar-sidebar-color-2, var(--scalar-color-2));font-size:var(--scalar-mini);font-weight:var(--scalar-semibold);-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;outline:none;padding:18px 24px 0;display:flex;align-items:center;text-indent:9px;width:100%}.darklight svg[data-v-bfb18750]{stroke-width:1.5}.darklight-reference[data-v-bfb18750]{width:100%;margin-top:auto}.darklight[data-v-bfb18750]:hover{cursor:pointer;color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}.darklight-reference-promo[data-v-bfb18750]{padding:6px 24px 12px;display:flex;align-items:center;font-size:var(--scalar-mini);text-decoration:none;color:var(--scalar-sidebar-color-2, var(--scalar-color-2))}.darklight-reference-promo[data-v-bfb18750]:hover{text-decoration:underline}.darklight[data-v-3d47eee0]{color:var(--scalar-sidebar-color-2, var(--scalar-color-2));display:flex;align-items:center;margin-left:auto;height:24px;width:24px;padding:4px}.darklight[data-v-3d47eee0]:hover{cursor:pointer;color:var(--scalar-sidebar-color-1, var(--scalar-color-1))}.references-mobile-header[data-v-b5fb4b8b]{display:none;align-items:center;height:100%;width:100%;padding:0 8px;background:var(--scalar-background-1);border-bottom:1px solid var(--scalar-border-color)}.references-mobile-breadcrumbs[data-v-b5fb4b8b]{flex:1;min-width:0;font-size:var(--scalar-small);font-weight:var(--scalar-semibold);color:var(--scalar-color-1);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.references-mobile-header-actions[data-v-b5fb4b8b]{display:flex;flex-direction:row;gap:4px;height:24px;align-items:center;padding-left:4px}@media (max-width: 1000px){.references-mobile-header[data-v-b5fb4b8b]{display:flex}}@media (max-width: 1000px){.scalar-api-references-standalone-mobile{--scalar-header-height: 50px}}.scalar-api-references-standalone-search[data-v-67757240]{display:flex;flex-direction:column;padding:12px 12px 6px}@layer scalar-base{body{margin:0;background-color:var(--scalar-background-1)}}')),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}(),function(e){"function"==typeof define&&define.amd?define(e):e()}((function(){"use strict";var e,t,n=Object.defineProperty,r=(e,t,r)=>((e,t,r)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);function a(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;"object"==typeof o&&null!==o?a(o,t,i):"function"==typeof o&&(t[i]=o)}return t}const o={run:e=>e()},i=void 0!==console.createTask?console.createTask:()=>o;function s(e,t){const n=t.shift(),r=i(n);return e.reduce(((e,n)=>e.then((()=>r.run((()=>n(...t)))))),Promise.resolve())}function l(e,t){const n=t.shift(),r=i(n);return Promise.all(e.map((e=>r.run((()=>e(...t))))))}function c(e,t){for(const n of[...e])n(t)}class d{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,t,n={}){if(!e||"function"!=typeof t)return()=>{};const r=e;let a;for(;this._deprecatedHooks[e];)a=this._deprecatedHooks[e],e=a.to;if(a&&!n.allowDeprecated){let e=a.message;e||(e=`${r} hook has been deprecated`+(a.to?`, please use ${a.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(e)||(console.warn(e),this._deprecatedMessages.add(e))}if(!t.name)try{Object.defineProperty(t,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(t),()=>{t&&(this.removeHook(e,t),t=void 0)}}hookOnce(e,t){let n,r=(...e)=>("function"==typeof n&&n(),n=void 0,r=void 0,t(...e));return n=this.hook(e,r),n}removeHook(e,t){if(this._hooks[e]){const n=this._hooks[e].indexOf(t);-1!==n&&this._hooks[e].splice(n,1),0===this._hooks[e].length&&delete this._hooks[e]}}deprecateHook(e,t){this._deprecatedHooks[e]="string"==typeof t?{to:t}:t;const n=this._hooks[e]||[];delete this._hooks[e];for(const t of n)this.hook(e,t)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const t in e)this.deprecateHook(t,e[t])}addHooks(e){const t=a(e),n=Object.keys(t).map((e=>this.hook(e,t[e])));return()=>{for(const e of n.splice(0,n.length))e()}}removeHooks(e){const t=a(e);for(const e in t)this.removeHook(e,t[e])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...t){return t.unshift(e),this.callHookWith(s,e,...t)}callHookParallel(e,...t){return t.unshift(e),this.callHookWith(l,e,...t)}callHookWith(e,t,...n){const r=this._before||this._after?{name:t,args:n,context:{}}:void 0;this._before&&c(this._before,r);const a=e(t in this._hooks?[...this._hooks[t]]:[],n);return a instanceof Promise?a.finally((()=>{this._after&&r&&c(this._after,r)})):(this._after&&r&&c(this._after,r),a)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(void 0!==this._before){const t=this._before.indexOf(e);-1!==t&&this._before.splice(t,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(void 0!==this._after){const t=this._after.indexOf(e);-1!==t&&this._after.splice(t,1)}}}}const u=["title","titleTemplate","script","style","noscript"],p=["base","meta","link","style","script","noscript"],h=["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"],f=["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"],m=["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"],g="undefined"!=typeof window;function v(e){let t=9;for(let n=0;n>>9)).toString(16).substring(1,8).toLowerCase()}function b(e){return e._h||v(e._d?e._d:`${e.tag}:${e.textContent||e.innerHTML||""}:${Object.entries(e.props).map((([e,t])=>`${e}:${String(t)}`)).join(",")}`)}function y(e,t){const{props:n,tag:r}=e;if(f.includes(r))return r;if("link"===r&&"canonical"===n.rel)return"canonical";if(n.charset)return"charset";const a=["id"];"meta"===r&&a.push("name","property","http-equiv");for(const e of a)if(void 0!==n[e])return`${r}:${e}:${String(n[e])}`;return!1}function O(e,t){return null==e?t||null:"function"==typeof e?e(t):e}function w(e,t){const n=[],r=t.resolveKeyData||(e=>e.key),a=t.resolveValueData||(e=>e.value);for(const[o,i]of Object.entries(e))n.push(...(Array.isArray(i)?i:[i]).map((e=>{const n={key:o,value:e},i=a(n);return"object"==typeof i?w(i,t):Array.isArray(i)?i:{["function"==typeof t.key?t.key(n):t.key]:r(n),["function"==typeof t.value?t.value(n):t.value]:i}})).flat());return n}function x(e,t){return Object.entries(e).map((([e,n])=>{if("object"==typeof n&&(n=x(n,t)),t.resolve){const r=t.resolve({key:e,value:n});if(void 0!==r)return r}return"number"==typeof n&&(n=n.toString()),"string"==typeof n&&t.wrapValue&&(n=n.replace(new RegExp(t.wrapValue,"g"),`\\${t.wrapValue}`),n=`${t.wrapValue}${n}${t.wrapValue}`),`${e}${t.keyValueSeparator||""}${n}`})).join(t.entrySeparator||"")}const k=e=>({keyValue:e,metaKey:"property"}),_=e=>({keyValue:e}),S={appleItunesApp:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>`${C(e)}=${t}`}},articleExpirationTime:k("article:expiration_time"),articleModifiedTime:k("article:modified_time"),articlePublishedTime:k("article:published_time"),bookReleaseDate:k("book:release_date"),charset:{metaKey:"charset"},contentSecurityPolicy:{unpack:{entrySeparator:"; ",resolve:({key:e,value:t})=>`${C(e)} ${t}`},metaKey:"http-equiv"},contentType:{metaKey:"http-equiv"},defaultStyle:{metaKey:"http-equiv"},fbAppId:k("fb:app_id"),msapplicationConfig:_("msapplication-Config"),msapplicationTileColor:_("msapplication-TileColor"),msapplicationTileImage:_("msapplication-TileImage"),ogAudioSecureUrl:k("og:audio:secure_url"),ogAudioUrl:k("og:audio"),ogImageSecureUrl:k("og:image:secure_url"),ogImageUrl:k("og:image"),ogSiteName:k("og:site_name"),ogVideoSecureUrl:k("og:video:secure_url"),ogVideoUrl:k("og:video"),profileFirstName:k("profile:first_name"),profileLastName:k("profile:last_name"),profileUsername:k("profile:username"),refresh:{metaKey:"http-equiv",unpack:{entrySeparator:";",resolve({key:e,value:t}){if("seconds"===e)return`${t}`}}},robots:{unpack:{entrySeparator:", ",resolve:({key:e,value:t})=>"boolean"==typeof t?`${C(e)}`:`${C(e)}:${t}`}},xUaCompatible:{metaKey:"http-equiv"}},E=["og","book","article","profile"];function T(e){var t;const n=C(e).split(":")[0];return E.includes(n)?"property":(null==(t=S[e])?void 0:t.metaKey)||"name"}function C(e){const t=e.replace(/([A-Z])/g,"-$1").toLowerCase(),n=t.split("-")[0];return E.includes(n)||"twitter"===n?e.replace(/([A-Z])/g,":$1").toLowerCase():t}function A(e){if(Array.isArray(e))return e.map((e=>A(e)));if("object"!=typeof e||Array.isArray(e))return e;const t={};for(const[n,r]of Object.entries(e))t[C(n)]=A(r);return t}function P(e,t){const n=S[t];return"refresh"===t?`${e.seconds};url=${e.url}`:x(A(e),{keyValueSeparator:"=",entrySeparator:", ",resolve:({value:e,key:t})=>null===e?"":"boolean"==typeof e?`${t}`:void 0,...null==n?void 0:n.unpack})}const D=["og:image","og:video","og:audio","twitter:image"];function R(e){const t={};return Object.entries(e).forEach((([e,n])=>{"false"!==String(n)&&e&&(t[e]=n)})),t}function $(e,t){const n=R(t),r=C(e),a=T(r);if(D.includes(r)){const t={};return Object.entries(n).forEach((([n,r])=>{t[`${e}${"url"===n?"":`${n.charAt(0).toUpperCase()}${n.slice(1)}`}`]=r})),N(t).sort(((e,t)=>{var n,r;return((null==(n=e[a])?void 0:n.length)||0)-((null==(r=t[a])?void 0:r.length)||0)}))}return[{[a]:r,...n}]}function N(e){const t=[],n={};Object.entries(e).forEach((([e,r])=>{if(Array.isArray(r))r.forEach((n=>{t.push(..."string"==typeof n?N({[e]:n}):$(e,n))}));else if("object"==typeof r&&r){if(D.includes(C(e)))return void t.push(...$(e,r));n[e]=R(r)}else n[e]=r}));const r=w(n,{key:({key:e})=>T(e),value:({key:e})=>"charset"===e?"charset":"content",resolveKeyData:({key:e})=>function(e){var t;return(null==(t=S[e])?void 0:t.keyValue)||C(e)}(e),resolveValueData:({value:e,key:t})=>null===e?"_null":"object"==typeof e?P(e,t):"number"==typeof e?e.toString():e});return[...t,...r].map((e=>("_null"===e.content&&(e.content=null),e)))}function M(e,t){var n;const r="class"===e?" ":";";return"object"!=typeof t||Array.isArray(t)||(t=Object.entries(t).filter((([,e])=>e)).map((([t,n])=>"style"===e?`${t}:${n}`:t))),null==(n=String(Array.isArray(t)?t.join(r):t))?void 0:n.split(r).filter((e=>e.trim())).filter(Boolean).join(r)}async function I(e,t){for(const n of Object.keys(e))if(["class","style"].includes(n))e[n]=M(n,e[n]);else if(e[n]instanceof Promise&&(e[n]=await e[n]),!t&&!m.includes(n)){const t=String(e[n]),r=n.startsWith("data-");"true"===t||""===t?e[n]=!r||"true":e[n]||(r&&"false"===t?e[n]="false":delete e[n])}return e}const L=10;async function j(e){const t=[];return Object.entries(e.resolvedInput).filter((([e,t])=>void 0!==t&&h.includes(e))).forEach((([n,r])=>{const a=function(e){return Array.isArray(e)?e:[e]}(r);t.push(...a.map((t=>async function(e,t,n){const r={tag:e,props:await I("object"!=typeof t||"function"==typeof t||t instanceof Promise?{[["script","noscript","style"].includes(e)?"innerHTML":"textContent"]:t}:{...t},["templateParams","titleTemplate"].includes(e))};return m.forEach((e=>{const t=void 0!==r.props[e]?r.props[e]:n[e];void 0!==t&&(["innerHTML","textContent","children"].includes(e)&&!u.includes(r.tag)||(r["children"===e?"innerHTML":e]=t),delete r.props[e])})),r.props.body&&(r.tagPosition="bodyClose",delete r.props.body),"script"===r.tag&&"object"==typeof r.innerHTML&&(r.innerHTML=JSON.stringify(r.innerHTML),r.props.type=r.props.type||"application/json"),Array.isArray(r.props.content)?r.props.content.map((e=>({...r,props:{...r.props,content:e}}))):r}(n,t,e))).flat())})),(await Promise.all(t)).flat().filter(Boolean).map(((t,n)=>(t._e=e._i,e.mode&&(t._m=e.mode),t._p=(e._i<{const r=function(e){let n;return n=["s","pageTitle"].includes(e)?t.pageTitle:e.includes(".")?e.split(".").reduce(((e,t)=>e&&e[t]||void 0),t):t[e],void 0!==n&&(n||"").replace(/"/g,'\\"')}(n.slice(1));"string"==typeof r&&(e=e.replace(new RegExp(`\\${n}(\\W|$)`,"g"),((e,t)=>`${r}${t}`)).trim())})),e.includes(q)&&(e.endsWith(q)&&(e=e.slice(0,-10).trim()),e.startsWith(q)&&(e=e.slice(10).trim()),e=H(e=e.replace(new RegExp(`\\${q}\\s*\\${q}`,"g"),q),{separator:n},n)),e}function V(e){return t=>{var n,r;const a=(null==(r=null==(n=t.resolvedOptions.document)?void 0:n.head.querySelector('script[id="unhead:payload"]'))?void 0:r.innerHTML)||!1;return a&&t.push(JSON.parse(a)),{mode:"client",hooks:{"entries:updated":function(t){!async function(e,t={}){const n=t.delayFn||(e=>setTimeout(e,10));e._domUpdatePromise=e._domUpdatePromise||new Promise((r=>n((async()=>{await async function(e,t={}){var n;const r=t.document||e.resolvedOptions.document;if(!r||!e.dirty)return;const a={shouldRender:!0,tags:[]};if(await e.hooks.callHook("dom:beforeRender",a),!a.shouldRender)return;const o=(await e.resolveTags()).map((e=>({tag:e,id:p.includes(e.tag)?b(e):e.tag,shouldRender:!0})));let i=e._dom;if(!i){i={elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}};for(const e of["body","head"]){const t=null==(n=r[e])?void 0:n.children,a=[];for(const e of[...t].filter((e=>p.includes(e.tagName.toLowerCase())))){const t={tag:e.tagName.toLowerCase(),props:await I(e.getAttributeNames().reduce(((t,n)=>({...t,[n]:e.getAttribute(n)})),{})),innerHTML:e.innerHTML};let n=1,r=y(t);for(;r&&a.find((e=>e._d===r));)r=`${r}:${n++}`;t._d=r||void 0,a.push(t),i.elMap[e.getAttribute("data-hid")||b(t)]=e}}}function s(e,t,n){const r=`${e}:${t}`;i.sideEffects[r]=n,delete i.pendingSideEffects[r]}function l({id:e,$el:t,tag:n}){const a=n.tag.endsWith("Attrs");i.elMap[e]=t,a||(["textContent","innerHTML"].forEach((e=>{n[e]&&n[e]!==t[e]&&(t[e]=n[e])})),s(e,"el",(()=>{var t;null==(t=i.elMap[e])||t.remove(),delete i.elMap[e]})));for(const[e,a]of Object.entries(n._eventHandlers||{}))""!==t.getAttribute(`data-${e}`)&&(("bodyAttrs"===n.tag?r.defaultView:t).addEventListener(e.replace("on",""),a.bind(t)),t.setAttribute(`data-${e}`,""));Object.entries(n.props).forEach((([n,r])=>{const o=`attr:${n}`;if("class"===n)for(const n of(r||"").split(" ").filter(Boolean))a&&s(e,`${o}:${n}`,(()=>t.classList.remove(n))),!t.classList.contains(n)&&t.classList.add(n);else if("style"===n)for(const n of(r||"").split(";").filter(Boolean)){const[r,...a]=n.split(":").map((e=>e.trim()));s(e,`${o}:${n}:${r}`,(()=>{t.style.removeProperty(r)})),t.style.setProperty(r,a.join(":"))}else t.getAttribute(n)!==r&&t.setAttribute(n,!0===r?"":String(r)),a&&s(e,o,(()=>t.removeAttribute(n)))}))}i.pendingSideEffects={...i.sideEffects||{}},i.sideEffects={};const c=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const e of o){const{tag:t,shouldRender:n,id:a}=e;n&&("title"!==t.tag?(e.$el=e.$el||i.elMap[a],e.$el?l(e):p.includes(t.tag)&&c.push(e)):r.title=t.textContent)}for(const e of c){const t=e.tag.tagPosition||"head";e.$el=r.createElement(e.tag.tag),l(e),d[t]=d[t]||r.createDocumentFragment(),d[t].appendChild(e.$el)}for(const t of o)await e.hooks.callHook("dom:renderTag",t,r,s);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose),Object.values(i.pendingSideEffects).forEach((e=>e())),e._dom=i,e.dirty=!1,await e.hooks.callHook("dom:rendered",{renders:o})}(e,t),delete e._domUpdatePromise,r()}))))}(t,e)}}}}}const Z=["templateParams","htmlAttrs","bodyAttrs"],W={hooks:{"tag:normalise":function({tag:e}){["hid","vmid","key"].forEach((t=>{e.props[t]&&(e.key=e.props[t],delete e.props[t])}));const t=y(e)||!!e.key&&`${e.tag}:${e.key}`;t&&(e._d=t)},"tags:resolve":function(e){const t={};e.tags.forEach((e=>{const n=(e.key?`${e.tag}:${e.key}`:e._d)||e._p,r=t[n];if(r){let a=null==e?void 0:e.tagDuplicateStrategy;if(!a&&Z.includes(e.tag)&&(a="merge"),"merge"===a){const a=r.props;return["class","style"].forEach((t=>{a[t]&&(e.props[t]?("style"!==t||a[t].endsWith(";")||(a[t]+=";"),e.props[t]=`${a[t]} ${e.props[t]}`):e.props[t]=a[t])})),void(t[n].props={...a,...e.props})}if(e._e===r._e)return r._duped=r._duped||[],e._d=`${r._d}:${r._duped.length+1}`,void r._duped.push(e);if(U(e)>U(r))return}const a=Object.keys(e.props).length+(e.innerHTML?1:0)+(e.textContent?1:0);p.includes(e.tag)&&0===a?delete t[n]:t[n]=e}));const n=[];Object.values(t).forEach((e=>{const t=e._duped;delete e._duped,n.push(e),t&&n.push(...t)})),e.tags=n,e.tags=e.tags.filter((e=>!("meta"===e.tag&&(e.props.name||e.props.property)&&!e.props.content)))}}},X={mode:"server",hooks:{"tags:resolve":function(e){const t={};e.tags.filter((e=>["titleTemplate","templateParams","title"].includes(e.tag)&&"server"===e._m)).forEach((e=>{t[e.tag]=e.tag.startsWith("title")?e.textContent:e.props})),Object.keys(t).length&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},Y=["script","link","bodyAttrs"],G=e=>({hooks:{"tags:resolve":function(t){for(const n of t.tags.filter((e=>Y.includes(e.tag))))Object.entries(n.props).forEach((([t,r])=>{t.startsWith("on")&&"function"==typeof r&&(e.ssr&&z.includes(t)?n.props[t]=`this.dataset.${t}fired = true`:delete n.props[t],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[t]=r)})),e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||v(n.props.src||n.props.href))},"dom:renderTag":function({$el:e,tag:t}){var n,r;for(const a of Object.keys((null==e?void 0:e.dataset)||{}).filter((e=>z.some((t=>`${t}fired`===e))))){const o=a.replace("fired","");null==(r=null==(n=t._eventHandlers)?void 0:n[o])||r.call(e,new Event(o.replace("on","")))}}}}),K=["link","style","script","noscript"],J={hooks:{"tag:normalise":({tag:e})=>{e.key&&K.includes(e.tag)&&(e.props["data-hid"]=e._h=v(e.key))}}},ee={hooks:{"tags:resolve":e=>{const t=t=>{var n;return null==(n=e.tags.find((e=>e._d===t)))?void 0:n._p};for(const{prefix:n,offset:r}of F)for(const a of e.tags.filter((e=>"string"==typeof e.tagPriority&&e.tagPriority.startsWith(n)))){const e=t(a.tagPriority.replace(n,""));void 0!==e&&(a._p=e+r)}e.tags.sort(((e,t)=>e._p-t._p)).sort(((e,t)=>U(e)-U(t)))}}},te={meta:"content",link:"href",htmlAttrs:"lang"},ne=e=>({hooks:{"tags:resolve":t=>{var n;const{tags:r}=t,a=null==(n=r.find((e=>"title"===e.tag)))?void 0:n.textContent,o=r.findIndex((e=>"templateParams"===e.tag)),i=-1!==o?r[o].props:{},s=i.separator||"|";delete i.separator,i.pageTitle=H(i.pageTitle||a||"",i,s);for(const e of r.filter((e=>!1!==e.processTemplateParams))){const t=te[e.tag];t&&"string"==typeof e.props[t]?e.props[t]=H(e.props[t],i,s):(!0===e.processTemplateParams||["titleTemplate","title"].includes(e.tag))&&["innerHTML","textContent"].forEach((t=>{"string"==typeof e[t]&&(e[t]=H(e[t],i,s))}))}e._templateParams=i,e._separator=s,t.tags=r.filter((e=>"templateParams"!==e.tag))}}}),re={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n=t.findIndex((e=>"titleTemplate"===e.tag));const r=t.findIndex((e=>"title"===e.tag));if(-1!==r&&-1!==n){const e=O(t[n].textContent,t[r].textContent);null!==e?t[r].textContent=e||t[r].textContent:delete t[r]}else if(-1!==n){const e=O(t[n].textContent);null!==e&&(t[n].textContent=e,t[n].tag="title",n=-1)}-1!==n&&delete t[n],e.tags=t.filter(Boolean)}}},ae={hooks:{"tags:afterResolve":function(e){for(const t of e.tags)"string"==typeof t.innerHTML&&(t.innerHTML&&["application/ld+json","application/json"].includes(t.props.type)?t.innerHTML=t.innerHTML.replace(/n.has(e)}const le={},ce=[],de=()=>{},ue=()=>!1,pe=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),he=e=>e.startsWith("onUpdate:"),fe=Object.assign,me=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ge=Object.prototype.hasOwnProperty,ve=(e,t)=>ge.call(e,t),be=Array.isArray,ye=e=>"[object Map]"===Ce(e),Oe=e=>"[object Set]"===Ce(e),we=e=>"[object Date]"===Ce(e),xe=e=>"function"==typeof e,ke=e=>"string"==typeof e,_e=e=>"symbol"==typeof e,Se=e=>null!==e&&"object"==typeof e,Ee=e=>(Se(e)||xe(e))&&xe(e.then)&&xe(e.catch),Te=Object.prototype.toString,Ce=e=>Te.call(e),Ae=e=>Ce(e).slice(8,-1),Pe=e=>"[object Object]"===Ce(e),De=e=>ke(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,Re=se(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$e=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ne=/-(\w)/g,Me=$e((e=>e.replace(Ne,((e,t)=>t?t.toUpperCase():"")))),Ie=/\B([A-Z])/g,Le=$e((e=>e.replace(Ie,"-$1").toLowerCase())),je=$e((e=>e.charAt(0).toUpperCase()+e.slice(1))),Be=$e((e=>e?`on${je(e)}`:"")),Qe=(e,t)=>!Object.is(e,t),Ue=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},ze=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let qe;const He=()=>qe||(qe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function Ve(e){if(be(e)){const t={};for(let n=0;n{if(e){const n=e.split(We);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function Ge(e){let t="";if(ke(e))t=e;else if(be(e))for(let n=0;ntt(e,t)))}const rt=e=>!(!e||!0!==e.__v_isRef),at=e=>ke(e)?e:null==e?"":be(e)||Se(e)&&(e.toString===Te||!xe(e.toString))?rt(e)?at(e.value):JSON.stringify(e,ot,2):String(e),ot=(e,t)=>rt(t)?ot(e,t.value):ye(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n],r)=>(e[it(t,r)+" =>"]=n,e)),{})}:Oe(t)?{[`Set(${t.size})`]:[...t.values()].map((e=>it(e)))}:_e(t)?it(t):!Se(t)||be(t)||Pe(t)?t:String(t),it=(e,t="")=>{var n;return _e(e)?`Symbol(${null!=(n=e.description)?n:t})`:e};
+/**
+ * @vue/reactivity v3.4.31
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
+ * @license MIT
+ **/let st,lt;class ct{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=st,!e&&st&&(this.index=(st.scopes||(st.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const t=st;try{return st=this,e()}finally{st=t}}}on(){st=this}off(){st=this.parent}stop(e){if(this._active){let t,n;for(t=0,n=this.effects.length;t=4))break}1===this._dirtyLevel&&(this._dirtyLevel=0),Ot()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=gt,t=lt;try{return gt=!0,lt=this,this._runnings++,ht(this),this.fn()}finally{ft(this),this._runnings--,lt=t,gt=e}}stop(){this.active&&(ht(this),ft(this),this.onStop&&this.onStop(),this.active=!1)}}function ht(e){e._trackId++,e._depsLength=0}function ft(e){if(e.deps.length>e._depsLength){for(let t=e._depsLength;t{const n=new Map;return n.cleanup=e,n.computed=t,n},Tt=new WeakMap,Ct=Symbol(""),At=Symbol("");function Pt(e,t,n){if(gt&<){let t=Tt.get(e);t||Tt.set(e,t=new Map);let r=t.get(n);r||t.set(n,r=Et((()=>t.delete(n)))),kt(lt,r)}}function Dt(e,t,n,r,a,o){const i=Tt.get(e);if(!i)return;let s=[];if("clear"===t)s=[...i.values()];else if("length"===n&&be(e)){const e=Number(r);i.forEach(((t,n)=>{("length"===n||!_e(n)&&n>=e)&&s.push(t)}))}else switch(void 0!==n&&s.push(i.get(n)),t){case"add":be(e)?De(n)&&s.push(i.get("length")):(s.push(i.get(Ct)),ye(e)&&s.push(i.get(At)));break;case"delete":be(e)||(s.push(i.get(Ct)),ye(e)&&s.push(i.get(At)));break;case"set":ye(e)&&s.push(i.get(Ct))}wt();for(const e of s)e&&St(e,4);xt()}const Rt=se("__proto__,__v_isRef,__isVue"),$t=new Set(Object.getOwnPropertyNames(Symbol).filter((e=>"arguments"!==e&&"caller"!==e)).map((e=>Symbol[e])).filter(_e)),Nt=function(){const e={};return["includes","indexOf","lastIndexOf"].forEach((t=>{e[t]=function(...e){const n=_n(this);for(let e=0,t=this.length;e{e[t]=function(...e){yt(),wt();const n=_n(this)[t].apply(this,e);return xt(),Ot(),n}})),e}();function Mt(e){_e(e)||(e=String(e));const t=_n(this);return Pt(t,0,e),t.hasOwnProperty(e)}class It{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){const r=this._isReadonly,a=this._isShallow;if("__v_isReactive"===t)return!r;if("__v_isReadonly"===t)return r;if("__v_isShallow"===t)return a;if("__v_raw"===t)return n===(r?a?fn:hn:a?pn:un).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const o=be(e);if(!r){if(o&&ve(Nt,t))return Reflect.get(Nt,t,n);if("hasOwnProperty"===t)return Mt}const i=Reflect.get(e,t,n);return(_e(t)?$t.has(t):Rt(t))?i:(r||Pt(e,0,t),a?i:Pn(i)?o&&De(t)?i:i.value:Se(i)?r?vn(i):mn(i):i)}}class Lt extends It{constructor(e=!1){super(!1,e)}set(e,t,n,r){let a=e[t];if(!this._isShallow){const t=wn(a);if(xn(n)||wn(n)||(a=_n(a),n=_n(n)),!be(e)&&Pn(a)&&!Pn(n))return!t&&(a.value=n,!0)}const o=be(e)&&De(t)?Number(t)e,qt=e=>Reflect.getPrototypeOf(e);function Ht(e,t,n=!1,r=!1){const a=_n(e=e.__v_raw),o=_n(t);n||(Qe(t,o)&&Pt(a,0,t),Pt(a,0,o));const{has:i}=qt(a),s=r?zt:n?En:Sn;return i.call(a,t)?s(e.get(t)):i.call(a,o)?s(e.get(o)):void(e!==a&&e.get(t))}function Vt(e,t=!1){const n=this.__v_raw,r=_n(n),a=_n(e);return t||(Qe(e,a)&&Pt(r,0,e),Pt(r,0,a)),e===a?n.has(e):n.has(e)||n.has(a)}function Zt(e,t=!1){return e=e.__v_raw,!t&&Pt(_n(e),0,Ct),Reflect.get(e,"size",e)}function Wt(e){e=_n(e);const t=_n(this);return qt(t).has.call(t,e)||(t.add(e),Dt(t,"add",e,e)),this}function Xt(e,t){t=_n(t);const n=_n(this),{has:r,get:a}=qt(n);let o=r.call(n,e);o||(e=_n(e),o=r.call(n,e));const i=a.call(n,e);return n.set(e,t),o?Qe(t,i)&&Dt(n,"set",e,t):Dt(n,"add",e,t),this}function Yt(e){const t=_n(this),{has:n,get:r}=qt(t);let a=n.call(t,e);a||(e=_n(e),a=n.call(t,e)),r&&r.call(t,e);const o=t.delete(e);return a&&Dt(t,"delete",e,void 0),o}function Gt(){const e=_n(this),t=0!==e.size,n=e.clear();return t&&Dt(e,"clear",void 0,void 0),n}function Kt(e,t){return function(n,r){const a=this,o=a.__v_raw,i=_n(o),s=t?zt:e?En:Sn;return!e&&Pt(i,0,Ct),o.forEach(((e,t)=>n.call(r,s(e),s(t),a)))}}function Jt(e,t,n){return function(...r){const a=this.__v_raw,o=_n(a),i=ye(o),s="entries"===e||e===Symbol.iterator&&i,l="keys"===e&&i,c=a[e](...r),d=n?zt:t?En:Sn;return!t&&Pt(o,0,l?At:Ct),{next(){const{value:e,done:t}=c.next();return t?{value:e,done:t}:{value:s?[d(e[0]),d(e[1])]:d(e),done:t}},[Symbol.iterator](){return this}}}}function en(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}const[tn,nn,rn,an]=function(){const e={get(e){return Ht(this,e)},get size(){return Zt(this)},has:Vt,add:Wt,set:Xt,delete:Yt,clear:Gt,forEach:Kt(!1,!1)},t={get(e){return Ht(this,e,!1,!0)},get size(){return Zt(this)},has:Vt,add:Wt,set:Xt,delete:Yt,clear:Gt,forEach:Kt(!1,!0)},n={get(e){return Ht(this,e,!0)},get size(){return Zt(this,!0)},has(e){return Vt.call(this,e,!0)},add:en("add"),set:en("set"),delete:en("delete"),clear:en("clear"),forEach:Kt(!0,!1)},r={get(e){return Ht(this,e,!0,!0)},get size(){return Zt(this,!0)},has(e){return Vt.call(this,e,!0)},add:en("add"),set:en("set"),delete:en("delete"),clear:en("clear"),forEach:Kt(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach((a=>{e[a]=Jt(a,!1,!1),n[a]=Jt(a,!0,!1),t[a]=Jt(a,!1,!0),r[a]=Jt(a,!0,!0)})),[e,n,t,r]}();function on(e,t){const n=t?e?an:rn:e?nn:tn;return(t,r,a)=>"__v_isReactive"===r?!e:"__v_isReadonly"===r?e:"__v_raw"===r?t:Reflect.get(ve(n,r)&&r in t?n:t,r,a)}const sn={get:on(!1,!1)},ln={get:on(!1,!0)},cn={get:on(!0,!1)},dn={get:on(!0,!0)},un=new WeakMap,pn=new WeakMap,hn=new WeakMap,fn=new WeakMap;function mn(e){return wn(e)?e:yn(e,!1,Bt,sn,un)}function gn(e){return yn(e,!1,Ut,ln,pn)}function vn(e){return yn(e,!0,Qt,cn,hn)}function bn(e){return yn(e,!0,Ft,dn,fn)}function yn(e,t,n,r,a){if(!Se(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const o=a.get(e);if(o)return o;const i=(s=e).__v_skip||!Object.isExtensible(s)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(Ae(s));var s;if(0===i)return e;const l=new Proxy(e,2===i?r:n);return a.set(e,l),l}function On(e){return wn(e)?On(e.__v_raw):!(!e||!e.__v_isReactive)}function wn(e){return!(!e||!e.__v_isReadonly)}function xn(e){return!(!e||!e.__v_isShallow)}function kn(e){return!!e&&!!e.__v_raw}function _n(e){const t=e&&e.__v_raw;return t?_n(t):e}const Sn=e=>Se(e)?mn(e):e,En=e=>Se(e)?vn(e):e;class Tn{constructor(e,t,n,r){this.getter=e,this._setter=t,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new pt((()=>e(this._value)),(()=>An(this,2===this.effect._dirtyLevel?2:3))),this.effect.computed=this,this.effect.active=this._cacheable=!r,this.__v_isReadonly=n}get value(){const e=_n(this);return e._cacheable&&!e.effect.dirty||!Qe(e._value,e._value=e.effect.run())||An(e,4),Cn(e),e.effect._dirtyLevel>=2&&An(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function Cn(e){var t;gt&<&&(e=_n(e),kt(lt,null!=(t=e.dep)?t:e.dep=Et((()=>e.dep=void 0),e instanceof Tn?e:void 0)))}function An(e,t=4,n,r){const a=(e=_n(e)).dep;a&&St(a,t)}function Pn(e){return!(!e||!0!==e.__v_isRef)}function Dn(e){return $n(e,!1)}function Rn(e){return $n(e,!0)}function $n(e,t){return Pn(e)?e:new Nn(e,t)}class Nn{constructor(e,t){this.__v_isShallow=t,this.dep=void 0,this.__v_isRef=!0,this._rawValue=t?e:_n(e),this._value=t?e:Sn(e)}get value(){return Cn(this),this._value}set value(e){const t=this.__v_isShallow||xn(e)||wn(e);e=t?e:_n(e),Qe(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=t?e:Sn(e),An(this,4))}}function Mn(e){return Pn(e)?e.value:e}function In(e){return xe(e)?e():Mn(e)}const Ln={get:(e,t,n)=>Mn(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const a=e[t];return Pn(a)&&!Pn(n)?(a.value=n,!0):Reflect.set(e,t,n,r)}};function jn(e){return On(e)?e:new Proxy(e,Ln)}class Bn{constructor(e){this.dep=void 0,this.__v_isRef=!0;const{get:t,set:n}=e((()=>Cn(this)),(()=>An(this)));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Qn(e){return new Bn(e)}function Un(e){const t=be(e)?new Array(e.length):{};for(const n in e)t[n]=Hn(e,n);return t}class Fn{constructor(e,t,n){this._object=e,this._key=t,this._defaultValue=n,this.__v_isRef=!0}get value(){const e=this._object[this._key];return void 0===e?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return function(e,t){const n=Tt.get(e);return n&&n.get(t)}(_n(this._object),this._key)}}class zn{constructor(e){this._getter=e,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function qn(e,t,n){return Pn(e)?e:xe(e)?new zn(e):Se(e)&&arguments.length>1?Hn(e,t,n):Dn(e)}function Hn(e,t,n){const r=e[t];return Pn(r)?r:new Fn(e,t,n)}
+/**
+ * @vue/runtime-core v3.4.31
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
+ * @license MIT
+ **/function Vn(e,t,n,r){try{return r?e(...r):e()}catch(e){Wn(e,t,n)}}function Zn(e,t,n,r){if(xe(e)){const a=Vn(e,t,n,r);return a&&Ee(a)&&a.catch((e=>{Wn(e,t,n)})),a}if(be(e)){const a=[];for(let o=0;o>>1,a=Gn[r],o=cr(a);ocr(e)-cr(t)));if(Jn.length=0,er)return void er.push(...e);for(er=e,tr=0;trnull==e.id?1/0:e.id,dr=(e,t)=>{const n=cr(e)-cr(t);if(0===n){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function ur(e){Yn=!1,Xn=!0,Gn.sort(dr);try{for(Kn=0;Knke(e)?e.trim():e))),t&&(a=n.map(ze))}let s,l=r[s=Be(t)]||r[s=Be(Me(t))];!l&&o&&(l=r[s=Be(Le(t))]),l&&Zn(l,e,6,a);const c=r[s+"Once"];if(c){if(e.emitted){if(e.emitted[s])return}else e.emitted={};e.emitted[s]=!0,Zn(c,e,6,a)}}function hr(e,t,n=!1){const r=t.emitsCache,a=r.get(e);if(void 0!==a)return a;const o=e.emits;let i={},s=!1;if(!xe(e)){const r=e=>{const n=hr(e,t,!0);n&&(s=!0,fe(i,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return o||s?(be(o)?o.forEach((e=>i[e]=null)):fe(i,o),Se(e)&&r.set(e,i),i):(Se(e)&&r.set(e,null),null)}function fr(e,t){return!(!e||!pe(t))&&(t=t.slice(2).replace(/Once$/,""),ve(e,t[0].toLowerCase()+t.slice(1))||ve(e,Le(t))||ve(e,t))}let mr=null,gr=null;function vr(e){const t=mr;return mr=e,gr=e&&e.type.__scopeId||null,t}function br(e){gr=e}function yr(){gr=null}function Or(e,t=mr,n){if(!t)return e;if(e._n)return e;const r=(...n)=>{r._d&&Lo(-1);const a=vr(t);let o;try{o=e(...n)}finally{vr(a),r._d&&Lo(1)}return o};return r._n=!0,r._c=!0,r._d=!0,r}function wr(e){const{type:t,vnode:n,proxy:r,withProxy:a,propsOptions:[o],slots:i,attrs:s,emit:l,render:c,renderCache:d,props:u,data:p,setupState:h,ctx:f,inheritAttrs:m}=e,g=vr(e);let v,b;try{if(4&n.shapeFlag){const e=a||r,t=e;v=Ko(c.call(t,e,d,u,h,p,f)),b=s}else{const e=t;v=Ko(e.length>1?e(u,{attrs:s,slots:i,emit:l}):e(u,null)),b=t.props?s:xr(s)}}catch(t){$o.length=0,Wn(t,e,1),v=Vo(Do)}let y=v;if(b&&!1!==m){const e=Object.keys(b),{shapeFlag:t}=y;e.length&&7&t&&(o&&e.some(he)&&(b=kr(b,o)),y=Wo(y,b,!1,!0))}return n.dirs&&(y=Wo(y,null,!1,!0),y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),v=y,vr(g),v}const xr=e=>{let t;for(const n in e)("class"===n||"style"===n||pe(n))&&((t||(t={}))[n]=e[n]);return t},kr=(e,t)=>{const n={};for(const r in e)he(r)&&r.slice(9)in t||(n[r]=e[r]);return n};function _r(e,t,n){const r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let a=0;a{yt();const a=ci(n),o=Zn(t,n,e,r);return a(),Ot(),o});return r?a.unshift(o):a.push(o),o}}const Rr=e=>(t,n=oi)=>{hi&&"sp"!==e||Dr(e,((...e)=>t(...e)),n)},$r=Rr("bm"),Nr=Rr("m"),Mr=Rr("bu"),Ir=Rr("u"),Lr=Rr("bum"),jr=Rr("um"),Br=Rr("sp"),Qr=Rr("rtg"),Ur=Rr("rtc");function Fr(e,t=oi){Dr("ec",e,t)}function zr(e,t){if(null===mr)return e;const n=bi(mr),r=e.dirs||(e.dirs=[]);for(let e=0;et(e,n,void 0,o)));else{const n=Object.keys(e);a=new Array(n.length);for(let r=0,i=n.length;r{const t=r.fn(...e);return t&&(t.key=r.key),t}:r.fn)}return e}
+/*! #__NO_SIDE_EFFECTS__ */function Zr(e,t){return xe(e)?fe({name:e.name},t,{setup:e}):e}const Wr=e=>!!e.type.__asyncLoader;function Xr(e,t,n={},r,a){if(mr.isCE||mr.parent&&Wr(mr.parent)&&mr.parent.isCE)return"default"!==t&&(n.name=t),Vo("slot",n,r&&r());let o=e[t];o&&o._c&&(o._d=!1),Mo();const i=o&&Yr(o(n)),s=Qo(Ao,{key:n.key||i&&i.key||`_${t}`},i||(r?r():[]),i&&1===e._?64:-2);return!a&&s.scopeId&&(s.slotScopeIds=[s.scopeId+"-s"]),o&&o._c&&(o._d=!0),s}function Yr(e){return e.some((e=>!Uo(e)||e.type!==Do&&!(e.type===Ao&&!Yr(e.children))))?e:null}function Gr(e,t){const n={};for(const t in e)n[Be(t)]=e[t];return n}const Kr=e=>e?ui(e)?bi(e):Kr(e.parent):null,Jr=fe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Kr(e.parent),$root:e=>Kr(e.root),$emit:e=>e.emit,$options:e=>ca(e),$forceUpdate:e=>e.f||(e.f=()=>{e.effect.dirty=!0,or(e.update)}),$nextTick:e=>e.n||(e.n=ar.bind(e.proxy)),$watch:e=>eo.bind(e)}),ea=(e,t)=>e!==le&&!e.__isScriptSetup&&ve(e,t),ta={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:n,setupState:r,data:a,props:o,accessCache:i,type:s,appContext:l}=e;let c;if("$"!==t[0]){const s=i[t];if(void 0!==s)switch(s){case 1:return r[t];case 2:return a[t];case 4:return n[t];case 3:return o[t]}else{if(ea(r,t))return i[t]=1,r[t];if(a!==le&&ve(a,t))return i[t]=2,a[t];if((c=e.propsOptions[0])&&ve(c,t))return i[t]=3,o[t];if(n!==le&&ve(n,t))return i[t]=4,n[t];ia&&(i[t]=0)}}const d=Jr[t];let u,p;return d?("$attrs"===t&&Pt(e.attrs,0,""),d(e)):(u=s.__cssModules)&&(u=u[t])?u:n!==le&&ve(n,t)?(i[t]=4,n[t]):(p=l.config.globalProperties,ve(p,t)?p[t]:void 0)},set({_:e},t,n){const{data:r,setupState:a,ctx:o}=e;return ea(a,t)?(a[t]=n,!0):r!==le&&ve(r,t)?(r[t]=n,!0):!(ve(e.props,t)||"$"===t[0]&&t.slice(1)in e||(o[t]=n,0))},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:a,propsOptions:o}},i){let s;return!!n[i]||e!==le&&ve(e,i)||ea(t,i)||(s=o[0])&&ve(s,i)||ve(r,i)||ve(Jr,i)||ve(a.config.globalProperties,i)},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:ve(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function na(){return aa().slots}function ra(){return aa().attrs}function aa(){const e=ii();return e.setupContext||(e.setupContext=vi(e))}function oa(e){return be(e)?e.reduce(((e,t)=>(e[t]=null,e)),{}):e}let ia=!0;function sa(e,t,n){Zn(be(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function la(e,t,n,r){const a=r.includes(".")?to(n,r):()=>n[r];if(ke(e)){const n=t[e];xe(n)&&Ka(a,n)}else if(xe(e))Ka(a,e.bind(n));else if(Se(e))if(be(e))e.forEach((e=>la(e,t,n,r)));else{const r=xe(e.handler)?e.handler.bind(n):t[e.handler];xe(r)&&Ka(a,r,e)}}function ca(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:a,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,s=o.get(t);let l;return s?l=s:a.length||n||r?(l={},a.length&&a.forEach((e=>da(l,e,i,!0))),da(l,t,i)):l=t,Se(t)&&o.set(t,l),l}function da(e,t,n,r=!1){const{mixins:a,extends:o}=t;o&&da(e,o,n,!0),a&&a.forEach((t=>da(e,t,n,!0)));for(const a in t)if(r&&"expose"===a);else{const r=ua[a]||n&&n[a];e[a]=r?r(e[a],t[a]):t[a]}return e}const ua={data:pa,props:ga,emits:ga,methods:ma,computed:ma,beforeCreate:fa,created:fa,beforeMount:fa,mounted:fa,beforeUpdate:fa,updated:fa,beforeDestroy:fa,beforeUnmount:fa,destroyed:fa,unmounted:fa,activated:fa,deactivated:fa,errorCaptured:fa,serverPrefetch:fa,components:ma,directives:ma,watch:function(e,t){if(!e)return t;if(!t)return e;const n=fe(Object.create(null),e);for(const r in t)n[r]=fa(e[r],t[r]);return n},provide:pa,inject:function(e,t){return ma(ha(e),ha(t))}};function pa(e,t){return t?e?function(){return fe(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function ha(e){if(be(e)){const t={};for(let n=0;n(o.has(e)||(e&&xe(e.install)?(o.add(e),e.install(s,...t)):xe(e)&&(o.add(e),e(s,...t))),s),mixin:e=>(a.mixins.includes(e)||a.mixins.push(e),s),component:(e,t)=>t?(a.components[e]=t,s):a.components[e],directive:(e,t)=>t?(a.directives[e]=t,s):a.directives[e],mount(o,l,c){if(!i){const d=Vo(n,r);return d.appContext=a,!0===c?c="svg":!1===c&&(c=void 0),l&&t?t(d,o):e(d,o,c),i=!0,s._container=o,o.__vue_app__=s,bi(d.component)}},unmount(){i&&(e(null,s._container),delete s._container.__vue_app__)},provide:(e,t)=>(a.provides[e]=t,s),runWithContext(e){const t=Oa;Oa=s;try{return e()}finally{Oa=t}}};return s}}let Oa=null;function wa(e,t){if(oi){let n=oi.provides;const r=oi.parent&&oi.parent.provides;r===n&&(n=oi.provides=Object.create(r)),n[e]=t}}function xa(e,t,n=!1){const r=oi||mr;if(r||Oa){const a=r?null==r.parent?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:Oa._context.provides;if(a&&e in a)return a[e];if(arguments.length>1)return n&&xe(t)?t.call(r&&r.proxy):t}}const ka={},_a=()=>Object.create(ka),Sa=e=>Object.getPrototypeOf(e)===ka;function Ea(e,t,n,r){const[a,o]=e.propsOptions;let i,s=!1;if(t)for(let l in t){if(Re(l))continue;const c=t[l];let d;a&&ve(a,d=Me(l))?o&&o.includes(d)?(i||(i={}))[d]=c:n[d]=c:fr(e.emitsOptions,l)||l in r&&c===r[l]||(r[l]=c,s=!0)}if(o){const t=_n(n),r=i||le;for(let i=0;i{l=!0;const[n,r]=Ca(e,t,!0);fe(i,n),r&&s.push(...r)};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}if(!o&&!l)return Se(e)&&r.set(e,ce),ce;if(be(o))for(let e=0;e-1,r[1]=n<0||e-1||ve(r,"default"))&&s.push(t)}}}const c=[i,s];return Se(e)&&r.set(e,c),c}function Aa(e){return"$"!==e[0]&&!Re(e)}function Pa(e){return null===e?"null":"function"==typeof e?e.name||"":"object"==typeof e&&e.constructor&&e.constructor.name||""}function Da(e,t){return Pa(e)===Pa(t)}function Ra(e,t){return be(t)?t.findIndex((t=>Da(t,e))):xe(t)&&Da(t,e)?0:-1}const $a=e=>"_"===e[0]||"$stable"===e,Na=e=>be(e)?e.map(Ko):[Ko(e)],Ma=(e,t,n)=>{if(t._n)return t;const r=Or(((...e)=>Na(t(...e))),n);return r._c=!1,r},Ia=(e,t,n)=>{const r=e._ctx;for(const n in e){if($a(n))continue;const a=e[n];if(xe(a))t[n]=Ma(0,a,r);else if(null!=a){const e=Na(a);t[n]=()=>e}}},La=(e,t)=>{const n=Na(t);e.slots.default=()=>n},ja=(e,t)=>{const n=e.slots=_a();if(32&e.vnode.shapeFlag){const e=t._;e?(fe(n,t),Fe(n,"_",e,!0)):Ia(t,n)}else t&&La(e,t)},Ba=(e,t,n)=>{const{vnode:r,slots:a}=e;let o=!0,i=le;if(32&r.shapeFlag){const e=t._;e?n&&1===e?o=!1:(fe(a,t),n||1!==e||delete a._):(o=!t.$stable,Ia(t,a)),i=t}else t&&(La(e,t),i={default:1});if(o)for(const e in a)$a(e)||null!=i[e]||delete a[e]};function Qa(e,t,n,r,a=!1){if(be(e))return void e.forEach(((e,o)=>Qa(e,t&&(be(t)?t[o]:t),n,r,a)));if(Wr(r)&&!a)return;const o=4&r.shapeFlag?bi(r.component):r.el,i=a?null:o,{i:s,r:l}=e,c=t&&t.r,d=s.refs===le?s.refs={}:s.refs,u=s.setupState;if(null!=c&&c!==l&&(ke(c)?(d[c]=null,ve(u,c)&&(u[c]=null)):Pn(c)&&(c.value=null)),xe(l))Vn(l,s,12,[i,d]);else{const t=ke(l),r=Pn(l);if(t||r){const s=()=>{if(e.f){const n=t?ve(u,l)?u[l]:d[l]:l.value;a?be(n)&&me(n,o):be(n)?n.includes(o)||n.push(o):t?(d[l]=[o],ve(u,l)&&(u[l]=d[l])):(l.value=[o],e.k&&(d[e.k]=l.value))}else t?(d[l]=i,ve(u,l)&&(u[l]=i)):r&&(l.value=i,e.k&&(d[e.k]=i))};i?(s.id=-1,Ua(s,n)):s()}}}const Ua=function(e,t){var n;t&&t.pendingBranch?be(e)?t.effects.push(...e):t.effects.push(e):(be(n=e)?Jn.push(...n):er&&er.includes(n,n.allowRecurse?tr+1:tr)||Jn.push(n),ir())};function Fa(e){return function(e,t){He().__VUE__=!0;const{insert:n,remove:r,patchProp:a,createElement:o,createText:i,createComment:s,setText:l,setElementText:c,parentNode:d,nextSibling:u,setScopeId:p=de,insertStaticContent:h}=e,f=(e,t,n,r=null,a=null,o=null,i=void 0,s=null,l=!!t.dynamicChildren)=>{if(e===t)return;e&&!Fo(e,t)&&(r=Q(e),M(e,a,o,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:d,shapeFlag:u}=t;switch(c){case Po:m(e,t,n,r);break;case Do:g(e,t,n,r);break;case Ro:null==e&&v(t,n,r,i);break;case Ao:S(e,t,n,r,a,o,i,s,l);break;default:1&u?b(e,t,n,r,a,o,i,s,l):6&u?E(e,t,n,r,a,o,i,s,l):(64&u||128&u)&&c.process(e,t,n,r,a,o,i,s,l,z)}null!=d&&a&&Qa(d,e&&e.ref,o,t||e,!t)},m=(e,t,r,a)=>{if(null==e)n(t.el=i(t.children),r,a);else{const n=t.el=e.el;t.children!==e.children&&l(n,t.children)}},g=(e,t,r,a)=>{null==e?n(t.el=s(t.children||""),r,a):t.el=e.el},v=(e,t,n,r)=>{[e.el,e.anchor]=h(e.children,t,n,r,e.el,e.anchor)},b=(e,t,n,r,a,o,i,s,l)=>{"svg"===t.type?i="svg":"math"===t.type&&(i="mathml"),null==e?y(t,n,r,a,o,i,s,l):x(e,t,a,o,i,s,l)},y=(e,t,r,i,s,l,d,u)=>{let p,h;const{props:f,shapeFlag:m,transition:g,dirs:v}=e;if(p=e.el=o(e.type,l,f&&f.is,f),8&m?c(p,e.children):16&m&&w(e.children,p,null,i,s,za(e,l),d,u),v&&qr(e,null,i,"created"),O(p,e,e.scopeId,d,i),f){for(const t in f)"value"===t||Re(t)||a(p,t,null,f[t],l,e.children,i,s,B);"value"in f&&a(p,"value",null,f.value,l),(h=f.onVnodeBeforeMount)&&ni(h,i,e)}v&&qr(e,null,i,"beforeMount");const b=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(s,g);b&&g.beforeEnter(p),n(p,t,r),((h=f&&f.onVnodeMounted)||b||v)&&Ua((()=>{h&&ni(h,i,e),b&&g.enter(p),v&&qr(e,null,i,"mounted")}),s)},O=(e,t,n,r,a)=>{if(n&&p(e,n),r)for(let t=0;t{for(let c=l;c{const l=t.el=e.el;let{patchFlag:d,dynamicChildren:u,dirs:p}=t;d|=16&e.patchFlag;const h=e.props||le,f=t.props||le;let m;if(n&&qa(n,!1),(m=f.onVnodeBeforeUpdate)&&ni(m,n,t,e),p&&qr(t,e,n,"beforeUpdate"),n&&qa(n,!0),u?k(e.dynamicChildren,u,l,n,r,za(t,o),i):s||D(e,t,l,null,n,r,za(t,o),i,!1),d>0){if(16&d)_(l,t,h,f,n,r,o);else if(2&d&&h.class!==f.class&&a(l,"class",null,f.class,o),4&d&&a(l,"style",h.style,f.style,o),8&d){const i=t.dynamicProps;for(let t=0;t{m&&ni(m,n,t,e),p&&qr(t,e,n,"updated")}),r)},k=(e,t,n,r,a,o,i)=>{for(let s=0;s{if(n!==r){if(n!==le)for(const l in n)Re(l)||l in r||a(e,l,n[l],null,s,t.children,o,i,B);for(const l in r){if(Re(l))continue;const c=r[l],d=n[l];c!==d&&"value"!==l&&a(e,l,d,c,s,t.children,o,i,B)}"value"in r&&a(e,"value",n.value,r.value,s)}},S=(e,t,r,a,o,s,l,c,d)=>{const u=t.el=e?e.el:i(""),p=t.anchor=e?e.anchor:i("");let{patchFlag:h,dynamicChildren:f,slotScopeIds:m}=t;m&&(c=c?c.concat(m):m),null==e?(n(u,r,a),n(p,r,a),w(t.children||[],r,p,o,s,l,c,d)):h>0&&64&h&&f&&e.dynamicChildren?(k(e.dynamicChildren,f,r,o,s,l,c),(null!=t.key||o&&t===o.subTree)&&Ha(e,t,!0)):D(e,t,r,p,o,s,l,c,d)},E=(e,t,n,r,a,o,i,s,l)=>{t.slotScopeIds=s,null==e?512&t.shapeFlag?a.ctx.activate(t,n,r,i,l):T(t,n,r,a,o,i,l):C(e,t,l)},T=(e,t,n,r,a,o,i)=>{const s=e.component=function(e,t,n){const r=e.type,a=(t?t.appContext:e.appContext)||ri,o={uid:ai++,vnode:e,type:r,parent:t,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,scope:new ct(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(a.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ca(r,a),emitsOptions:hr(r,a),emit:null,emitted:null,propsDefaults:le,inheritAttrs:r.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,setupContext:null,attrsProxy:null,slotsProxy:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=pr.bind(null,o),e.ce&&e.ce(o),o}(e,r,a);if(ro(e)&&(s.ctx.renderer=z),function(e,t=!1){t&&li(t);const{props:n,children:r}=e.vnode,a=ui(e);(function(e,t,n,r=!1){const a={},o=_a();e.propsDefaults=Object.create(null),Ea(e,t,a,o);for(const t in e.propsOptions[0])t in a||(a[t]=void 0);n?e.props=r?a:gn(a):e.type.props?e.props=a:e.props=o,e.attrs=o})(e,n,a,t),ja(e,r);a&&function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,ta);const{setup:r}=n;if(r){const n=e.setupContext=r.length>1?vi(e):null,a=ci(e);yt();const o=Vn(r,e,0,[e.props,n]);if(Ot(),a(),Ee(o)){if(o.then(di,di),t)return o.then((n=>{fi(e,n,t)})).catch((t=>{Wn(t,e,0)}));e.asyncDep=o}else fi(e,o,t)}else mi(e,t)}(e,t);t&&li(!1)}(s),s.asyncDep){if(a&&a.registerDep(s,A,i),!e.el){const e=s.subTree=Vo(Do);g(null,e,t,n)}}else A(s,e,t,n,a,o,i)},C=(e,t,n)=>{const r=t.component=e.component;if(function(e,t,n){const{props:r,children:a,component:o}=e,{props:i,children:s,patchFlag:l}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!a&&!s||s&&s.$stable)||r!==i&&(r?!i||_r(r,i,c):!!i);if(1024&l)return!0;if(16&l)return r?_r(r,i,c):!!i;if(8&l){const e=t.dynamicProps;for(let t=0;tKn&&Gn.splice(t,1)}(r.update),r.effect.dirty=!0,r.update()}else t.el=e.el,r.vnode=t},A=(e,t,n,r,a,o,i)=>{const s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:l,vnode:c}=e;{const n=Va(e);if(n)return t&&(t.el=c.el,P(e,t,i)),void n.asyncDep.then((()=>{e.isUnmounted||s()}))}let u,p=t;qa(e,!1),t?(t.el=c.el,P(e,t,i)):t=c,n&&Ue(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&ni(u,l,t,c),qa(e,!0);const h=wr(e),m=e.subTree;e.subTree=h,f(m,h,d(m.el),Q(m),e,a,o),t.el=h.el,null===p&&function({vnode:e,parent:t},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.el=e.el),r!==e)break;(e=t.vnode).el=n,t=t.parent}}(e,h.el),r&&Ua(r,a),(u=t.props&&t.props.onVnodeUpdated)&&Ua((()=>ni(u,l,t,c)),a)}else{let i;const{el:s,props:l}=t,{bm:c,m:d,parent:u}=e,p=Wr(t);qa(e,!1),c&&Ue(c),!p&&(i=l&&l.onVnodeBeforeMount)&&ni(i,u,t),qa(e,!0);{const i=e.subTree=wr(e);f(null,i,n,r,e,a,o),t.el=i.el}if(d&&Ua(d,a),!p&&(i=l&&l.onVnodeMounted)){const e=t;Ua((()=>ni(i,u,e)),a)}(256&t.shapeFlag||u&&Wr(u.vnode)&&256&u.vnode.shapeFlag)&&e.a&&Ua(e.a,a),e.isMounted=!0,t=n=r=null}},l=e.effect=new pt(s,de,(()=>or(c)),e.scope),c=e.update=()=>{l.dirty&&l.run()};c.id=e.uid,qa(e,!0),c()},P=(e,t,n)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,r){const{props:a,attrs:o,vnode:{patchFlag:i}}=e,s=_n(a),[l]=e.propsOptions;let c=!1;if(!(r||i>0)||16&i){let r;Ea(e,t,a,o)&&(c=!0);for(const o in s)t&&(ve(t,o)||(r=Le(o))!==o&&ve(t,r))||(l?!n||void 0===n[o]&&void 0===n[r]||(a[o]=Ta(l,s,o,void 0,e,!0)):delete a[o]);if(o!==s)for(const e in o)t&&ve(t,e)||(delete o[e],c=!0)}else if(8&i){const n=e.vnode.dynamicProps;for(let r=0;r{const d=e&&e.children,u=e?e.shapeFlag:0,p=t.children,{patchFlag:h,shapeFlag:f}=t;if(h>0){if(128&h)return void $(d,p,n,r,a,o,i,s,l);if(256&h)return void R(d,p,n,r,a,o,i,s,l)}8&f?(16&u&&B(d,a,o),p!==d&&c(n,p)):16&u?16&f?$(d,p,n,r,a,o,i,s,l):B(d,a,o,!0):(8&u&&c(n,""),16&f&&w(p,n,r,a,o,i,s,l))},R=(e,t,n,r,a,o,i,s,l)=>{t=t||ce;const c=(e=e||ce).length,d=t.length,u=Math.min(c,d);let p;for(p=0;pd?B(e,a,o,!0,!1,u):w(t,n,r,a,o,i,s,l,u)},$=(e,t,n,r,a,o,i,s,l)=>{let c=0;const d=t.length;let u=e.length-1,p=d-1;for(;c<=u&&c<=p;){const r=e[c],d=t[c]=l?Jo(t[c]):Ko(t[c]);if(!Fo(r,d))break;f(r,d,n,null,a,o,i,s,l),c++}for(;c<=u&&c<=p;){const r=e[u],c=t[p]=l?Jo(t[p]):Ko(t[p]);if(!Fo(r,c))break;f(r,c,n,null,a,o,i,s,l),u--,p--}if(c>u){if(c<=p){const e=p+1,u=ep)for(;c<=u;)M(e[c],a,o,!0),c++;else{const h=c,m=c,g=new Map;for(c=m;c<=p;c++){const e=t[c]=l?Jo(t[c]):Ko(t[c]);null!=e.key&&g.set(e.key,c)}let v,b=0;const y=p-m+1;let O=!1,w=0;const x=new Array(y);for(c=0;c=y){M(r,a,o,!0);continue}let d;if(null!=r.key)d=g.get(r.key);else for(v=m;v<=p;v++)if(0===x[v-m]&&Fo(r,t[v])){d=v;break}void 0===d?M(r,a,o,!0):(x[d-m]=c+1,d>=w?w=d:O=!0,f(r,t[d],n,null,a,o,i,s,l),b++)}const k=O?function(e){const t=e.slice(),n=[0];let r,a,o,i,s;const l=e.length;for(r=0;r>1,e[n[s]]0&&(t[r]=n[o-1]),n[o]=r)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}(x):ce;for(v=k.length-1,c=y-1;c>=0;c--){const e=m+c,u=t[e],p=e+1{const{el:i,type:s,transition:l,children:c,shapeFlag:d}=e;if(6&d)N(e.component.subTree,t,r,a);else if(128&d)e.suspense.move(t,r,a);else if(64&d)s.move(e,t,r,z);else if(s!==Ao)if(s!==Ro)if(2!==a&&1&d&&l)if(0===a)l.beforeEnter(i),n(i,t,r),Ua((()=>l.enter(i)),o);else{const{leave:e,delayLeave:a,afterLeave:o}=l,s=()=>n(i,t,r),c=()=>{e(i,(()=>{s(),o&&o()}))};a?a(i,s,c):c()}else n(i,t,r);else(({el:e,anchor:t},r,a)=>{let o;for(;e&&e!==t;)o=u(e),n(e,r,a),e=o;n(t,r,a)})(e,t,r);else{n(i,t,r);for(let e=0;e{const{type:o,props:i,ref:s,children:l,dynamicChildren:c,shapeFlag:d,patchFlag:u,dirs:p,memoIndex:h}=e;if(-2===u&&(a=!1),null!=s&&Qa(s,null,n,e,!0),null!=h&&(t.renderCache[h]=void 0),256&d)return void t.ctx.deactivate(e);const f=1&d&&p,m=!Wr(e);let g;if(m&&(g=i&&i.onVnodeBeforeUnmount)&&ni(g,t,e),6&d)j(e.component,n,r);else{if(128&d)return void e.suspense.unmount(n,r);f&&qr(e,null,t,"beforeUnmount"),64&d?e.type.remove(e,t,n,z,r):c&&(o!==Ao||u>0&&64&u)?B(c,t,n,!1,!0):(o===Ao&&384&u||!a&&16&d)&&B(l,t,n),r&&I(e)}(m&&(g=i&&i.onVnodeUnmounted)||f)&&Ua((()=>{g&&ni(g,t,e),f&&qr(e,null,t,"unmounted")}),n)},I=e=>{const{type:t,el:n,anchor:a,transition:o}=e;if(t===Ao)return void L(n,a);if(t===Ro)return void(({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=u(e),r(e),e=n;r(t)})(e);const i=()=>{r(n),o&&!o.persisted&&o.afterLeave&&o.afterLeave()};if(1&e.shapeFlag&&o&&!o.persisted){const{leave:t,delayLeave:r}=o,a=()=>t(n,i);r?r(e.el,i,a):a()}else i()},L=(e,t)=>{let n;for(;e!==t;)n=u(e),r(e),e=n;r(t)},j=(e,t,n)=>{const{bum:r,scope:a,update:o,subTree:i,um:s,m:l,a:c}=e;Za(l),Za(c),r&&Ue(r),a.stop(),o&&(o.active=!1,M(i,e,t,n)),s&&Ua(s,t),Ua((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},B=(e,t,n,r=!1,a=!1,o=0)=>{for(let i=o;i6&e.shapeFlag?Q(e.component.subTree):128&e.shapeFlag?e.suspense.next():u(e.anchor||e.el);let U=!1;const F=(e,t,n)=>{null==e?t._vnode&&M(t._vnode,null,null,!0):f(t._vnode||null,e,t,null,null,null,n),U||(U=!0,sr(),lr(),U=!1),t._vnode=e},z={p:f,um:M,m:N,r:I,mt:T,mc:w,pc:D,pbc:k,n:Q,o:e};let q;return{render:F,hydrate:q,createApp:ya(F,q)}}(e)}function za({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function qa({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Ha(e,t,n=!1){const r=e.children,a=t.children;if(be(r)&&be(a))for(let e=0;exa(Wa);function Ya(e,t){return Ja(e,null,t)}const Ga={};function Ka(e,t,n){return Ja(e,t,n)}function Ja(e,t,{immediate:n,deep:r,flush:a,once:o,onTrack:i,onTrigger:s}=le){if(t&&o){const e=t;t=(...t)=>{e(...t),w()}}const l=oi,c=e=>!0===r?e:no(e,!1===r?1:void 0);let d,u,p=!1,h=!1;if(Pn(e)?(d=()=>e.value,p=xn(e)):On(e)?(d=()=>c(e),p=!0):be(e)?(h=!0,p=e.some((e=>On(e)||xn(e))),d=()=>e.map((e=>Pn(e)?e.value:On(e)?c(e):xe(e)?Vn(e,l,2):void 0))):d=xe(e)?t?()=>Vn(e,l,2):()=>(u&&u(),Zn(e,l,3,[m])):de,t&&r){const e=d;d=()=>no(e())}let f,m=e=>{u=y.onStop=()=>{Vn(e,l,4),u=y.onStop=void 0}};if(hi){if(m=de,t?n&&Zn(t,l,3,[d(),h?[]:void 0,m]):d(),"sync"!==a)return de;{const e=Xa();f=e.__watcherHandles||(e.__watcherHandles=[])}}let g=h?new Array(e.length).fill(Ga):Ga;const v=()=>{if(y.active&&y.dirty)if(t){const e=y.run();(r||p||(h?e.some(((e,t)=>Qe(e,g[t]))):Qe(e,g)))&&(u&&u(),Zn(t,l,3,[e,g===Ga?void 0:h&&g[0]===Ga?[]:g,m]),g=e)}else y.run()};let b;v.allowRecurse=!!t,"sync"===a?b=v:"post"===a?b=()=>Ua(v,l&&l.suspense):(v.pre=!0,l&&(v.id=l.uid),b=()=>or(v));const y=new pt(d,de,b),O=dt(),w=()=>{y.stop(),O&&me(O.effects,y)};return t?n?v():g=y.run():"post"===a?Ua(y.run.bind(y),l&&l.suspense):y.run(),f&&f.push(w),w}function eo(e,t,n){const r=this.proxy,a=ke(e)?e.includes(".")?to(r,e):()=>r[e]:e.bind(r,r);let o;xe(t)?o=t:(o=t.handler,n=t);const i=ci(this),s=Ja(a,o.bind(r),n);return i(),s}function to(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e{no(e,t,n)}));else if(Pe(e)){for(const r in e)no(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&no(e[r],t,n)}return e}const ro=e=>e.type.__isKeepAlive;function ao(e,t){io(e,"a",t)}function oo(e,t){io(e,"da",t)}function io(e,t,n=oi){const r=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(Dr(t,r,n),n){let e=n.parent;for(;e&&e.parent;)ro(e.parent.vnode)&&so(r,t,n,e),e=e.parent}}function so(e,t,n,r){const a=Dr(t,e,r,!0);jr((()=>{me(r[t],a)}),n)}const lo=Symbol("_leaveCb"),co=Symbol("_enterCb"),uo=[Function,Array],po={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:uo,onEnter:uo,onAfterEnter:uo,onEnterCancelled:uo,onBeforeLeave:uo,onLeave:uo,onAfterLeave:uo,onLeaveCancelled:uo,onBeforeAppear:uo,onAppear:uo,onAfterAppear:uo,onAppearCancelled:uo},ho=e=>{const t=e.subTree;return t.component?ho(t.component):t},fo={name:"BaseTransition",props:po,setup(e,{slots:t}){const n=ii(),r=function(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Nr((()=>{e.isMounted=!0})),Lr((()=>{e.isUnmounting=!0})),e}();return()=>{const a=t.default&&Oo(t.default(),!0);if(!a||!a.length)return;let o=a[0];if(a.length>1)for(const e of a)if(e.type!==Do){o=e;break}const i=_n(e),{mode:s}=i;if(r.isLeaving)return vo(o);const l=bo(o);if(!l)return vo(o);let c=go(l,i,r,n,(e=>c=e));yo(l,c);const d=n.subTree,u=d&&bo(d);if(u&&u.type!==Do&&!Fo(l,u)&&ho(n).type!==Do){const e=go(u,i,r,n);if(yo(u,e),"out-in"===s&&l.type!==Do)return r.isLeaving=!0,e.afterLeave=()=>{r.isLeaving=!1,!1!==n.update.active&&(n.effect.dirty=!0,n.update())},vo(o);"in-out"===s&&l.type!==Do&&(e.delayLeave=(e,t,n)=>{mo(r,u)[String(u.key)]=u,e[lo]=()=>{t(),e[lo]=void 0,delete c.delayedLeave},c.delayedLeave=n})}return o}}};function mo(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function go(e,t,n,r,a){const{appear:o,mode:i,persisted:s=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:d,onEnterCancelled:u,onBeforeLeave:p,onLeave:h,onAfterLeave:f,onLeaveCancelled:m,onBeforeAppear:g,onAppear:v,onAfterAppear:b,onAppearCancelled:y}=t,O=String(e.key),w=mo(n,e),x=(e,t)=>{e&&Zn(e,r,9,t)},k=(e,t)=>{const n=t[1];x(e,t),be(e)?e.every((e=>e.length<=1))&&n():e.length<=1&&n()},_={mode:i,persisted:s,beforeEnter(t){let r=l;if(!n.isMounted){if(!o)return;r=g||l}t[lo]&&t[lo](!0);const a=w[O];a&&Fo(e,a)&&a.el[lo]&&a.el[lo](),x(r,[t])},enter(e){let t=c,r=d,a=u;if(!n.isMounted){if(!o)return;t=v||c,r=b||d,a=y||u}let i=!1;const s=e[co]=t=>{i||(i=!0,x(t?a:r,[e]),_.delayedLeave&&_.delayedLeave(),e[co]=void 0)};t?k(t,[e,s]):s()},leave(t,r){const a=String(e.key);if(t[co]&&t[co](!0),n.isUnmounting)return r();x(p,[t]);let o=!1;const i=t[lo]=n=>{o||(o=!0,r(),x(n?m:f,[t]),t[lo]=void 0,w[a]===e&&delete w[a])};w[a]=e,h?k(h,[t,i]):i()},clone(e){const o=go(e,t,n,r,a);return a&&a(o),o}};return _}function vo(e){if(ro(e))return(e=Wo(e)).children=null,e}function bo(e){if(!ro(e))return e;const{shapeFlag:t,children:n}=e;if(n){if(16&t)return n[0];if(32&t&&xe(n.default))return n.default()}}function yo(e,t){6&e.shapeFlag&&e.component?yo(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Oo(e,t=!1,n){let r=[],a=0;for(let o=0;o1)for(let e=0;ee&&(e.disabled||""===e.disabled),xo=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,ko=e=>"function"==typeof MathMLElement&&e instanceof MathMLElement,_o=(e,t)=>{const n=e&&e.to;return ke(n)?t?t(n):null:n},So={name:"Teleport",__isTeleport:!0,process(e,t,n,r,a,o,i,s,l,c){const{mc:d,pc:u,pbc:p,o:{insert:h,querySelector:f,createText:m,createComment:g}}=c,v=wo(t.props);let{shapeFlag:b,children:y,dynamicChildren:O}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");h(e,n,r),h(c,n,r);const u=t.target=_o(t.props,f),p=t.targetAnchor=m("");u&&(h(p,u),"svg"===i||xo(u)?i="svg":("mathml"===i||ko(u))&&(i="mathml"));const g=(e,t)=>{16&b&&d(y,e,t,a,o,i,s,l)};v?g(n,c):u&&g(u,p)}else{t.el=e.el;const r=t.anchor=e.anchor,d=t.target=e.target,h=t.targetAnchor=e.targetAnchor,m=wo(e.props),g=m?n:d,b=m?r:h;if("svg"===i||xo(d)?i="svg":("mathml"===i||ko(d))&&(i="mathml"),O?(p(e.dynamicChildren,O,g,a,o,i,s),Ha(e,t,!0)):l||u(e,t,g,b,a,o,i,s,!1),v)m?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Eo(t,n,r,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=_o(t.props,f);e&&Eo(t,e,null,c,0)}else m&&Eo(t,d,h,c,1)}Co(t)},remove(e,t,n,{um:r,o:{remove:a}},o){const{shapeFlag:i,children:s,anchor:l,targetAnchor:c,target:d,props:u}=e;if(d&&a(c),o&&a(l),16&i){const e=o||!wo(u);for(let a=0;a0?No||ce:null,$o.pop(),No=$o[$o.length-1]||null,Io>0&&No&&No.push(e),e}function Bo(e,t,n,r,a,o){return jo(Ho(e,t,n,r,a,o,!0))}function Qo(e,t,n,r,a){return jo(Vo(e,t,n,r,a,!0))}function Uo(e){return!!e&&!0===e.__v_isVNode}function Fo(e,t){return e.type===t.type&&e.key===t.key}const zo=({key:e})=>null!=e?e:null,qo=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?ke(e)||Pn(e)||xe(e)?{i:mr,r:e,k:t,f:!!n}:e:null);function Ho(e,t=null,n=null,r=0,a=null,o=(e===Ao?0:1),i=!1,s=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zo(t),ref:t&&qo(t),scopeId:gr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:r,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:mr};return s?(ei(l,n),128&o&&e.normalize(l)):n&&(l.shapeFlag|=ke(n)?8:16),Io>0&&!i&&No&&(l.patchFlag>0||6&o)&&32!==l.patchFlag&&No.push(l),l}const Vo=function(e,t=null,n=null,r=0,a=null,o=!1){if(e&&e!==Tr||(e=Do),Uo(e)){const r=Wo(e,t,!0);return n&&ei(r,n),Io>0&&!o&&No&&(6&r.shapeFlag?No[No.indexOf(e)]=r:No.push(r)),r.patchFlag=-2,r}var i;if(xe(i=e)&&"__vccOpts"in i&&(e=e.__vccOpts),t){t=Zo(t);let{class:e,style:n}=t;e&&!ke(e)&&(t.class=Ge(e)),Se(n)&&(kn(n)&&!be(n)&&(n=fe({},n)),t.style=Ve(n))}return Ho(e,t,n,r,a,ke(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:Se(e)?4:xe(e)?2:0,o,!0)};function Zo(e){return e?kn(e)||Sa(e)?fe({},e):e:null}function Wo(e,t,n=!1,r=!1){const{props:a,ref:o,patchFlag:i,children:s,transition:l}=e,c=t?ti(a||{},t):a,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&zo(c),ref:t&&t.ref?n&&o?be(o)?o.concat(qo(t)):[o,qo(t)]:qo(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ao?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Wo(e.ssContent),ssFallback:e.ssFallback&&Wo(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&yo(d,l.clone(d)),d}function Xo(e=" ",t=0){return Vo(Po,null,e,t)}function Yo(e,t){const n=Vo(Ro,null,e);return n.staticCount=t,n}function Go(e="",t=!1){return t?(Mo(),Qo(Do,null,e)):Vo(Do,null,e)}function Ko(e){return null==e||"boolean"==typeof e?Vo(Do):be(e)?Vo(Ao,null,e.slice()):"object"==typeof e?Jo(e):Vo(Po,null,String(e))}function Jo(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Wo(e)}function ei(e,t){let n=0;const{shapeFlag:r}=e;if(null==t)t=null;else if(be(t))n=16;else if("object"==typeof t){if(65&r){const n=t.default;return void(n&&(n._c&&(n._d=!1),ei(e,n()),n._c&&(n._d=!0)))}{n=32;const r=t._;r||Sa(t)?3===r&&mr&&(1===mr.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=mr}}else xe(t)?(t={default:t,_ctx:mr},n=32):(t=String(t),64&r?(n=16,t=[Xo(t)]):n=8);e.children=t,e.shapeFlag|=n}function ti(...e){const t={};for(let n=0;noi||mr;let si,li;{const e=He(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach((t=>t(e))):r[0](e)}};si=t("__VUE_INSTANCE_SETTERS__",(e=>oi=e)),li=t("__VUE_SSR_SETTERS__",(e=>hi=e))}const ci=e=>{const t=oi;return si(e),e.scope.on(),()=>{e.scope.off(),si(t)}},di=()=>{oi&&oi.scope.off(),si(null)};function ui(e){return 4&e.vnode.shapeFlag}let pi,hi=!1;function fi(e,t,n){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Se(t)&&(e.setupState=jn(t)),mi(e,n)}function mi(e,t,n){const r=e.type;if(!e.render){if(!t&&pi&&!r.render){const t=r.template||ca(e).template;if(t){const{isCustomElement:n,compilerOptions:a}=e.appContext.config,{delimiters:o,compilerOptions:i}=r,s=fe(fe({isCustomElement:n,delimiters:o},a),i);r.render=pi(t,s)}}e.render=r.render||de}{const t=ci(e);yt();try{!function(e){const t=ca(e),n=e.proxy,r=e.ctx;ia=!1,t.beforeCreate&&sa(t.beforeCreate,e,"bc");const{data:a,computed:o,methods:i,watch:s,provide:l,inject:c,created:d,beforeMount:u,mounted:p,beforeUpdate:h,updated:f,activated:m,deactivated:g,beforeDestroy:v,beforeUnmount:b,destroyed:y,unmounted:O,render:w,renderTracked:x,renderTriggered:k,errorCaptured:_,serverPrefetch:S,expose:E,inheritAttrs:T,components:C,directives:A,filters:P}=t;if(c&&function(e,t,n=de){be(e)&&(e=ha(e));for(const n in e){const r=e[n];let a;a=Se(r)?"default"in r?xa(r.from||n,r.default,!0):xa(r.from||n):xa(r),Pn(a)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e}):t[n]=a}}(c,r,null),i)for(const e in i){const t=i[e];xe(t)&&(r[e]=t.bind(n))}if(a){const t=a.call(n,n);Se(t)&&(e.data=mn(t))}if(ia=!0,o)for(const e in o){const t=o[e],a=xe(t)?t.bind(n,n):xe(t.get)?t.get.bind(n,n):de,i=!xe(t)&&xe(t.set)?t.set.bind(n):de,s=yi({get:a,set:i});Object.defineProperty(r,e,{enumerable:!0,configurable:!0,get:()=>s.value,set:e=>s.value=e})}if(s)for(const e in s)la(s[e],r,n,e);if(l){const e=xe(l)?l.call(n):l;Reflect.ownKeys(e).forEach((t=>{wa(t,e[t])}))}function D(e,t){be(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&sa(d,e,"c"),D($r,u),D(Nr,p),D(Mr,h),D(Ir,f),D(ao,m),D(oo,g),D(Fr,_),D(Ur,x),D(Qr,k),D(Lr,b),D(jr,O),D(Br,S),be(E))if(E.length){const t=e.exposed||(e.exposed={});E.forEach((e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t})}))}else e.exposed||(e.exposed={});w&&e.render===de&&(e.render=w),null!=T&&(e.inheritAttrs=T),C&&(e.components=C),A&&(e.directives=A)}(e)}finally{Ot(),t()}}}const gi={get:(e,t)=>(Pt(e,0,""),e[t])};function vi(e){return{attrs:new Proxy(e.attrs,gi),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function bi(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(jn((t=e.exposed,Object.isExtensible(t)&&Fe(t,"__v_skip",!0),t)),{get:(t,n)=>n in t?t[n]:n in Jr?Jr[n](e):void 0,has:(e,t)=>t in e||t in Jr})):e.proxy;var t}const yi=(e,t)=>{const n=function(e,t,n=!1){let r,a;const o=xe(e);return o?(r=e,a=de):(r=e.get,a=e.set),new Tn(r,a,o||!a,n)}(e,0,hi);return n};function Oi(e,t,n){const r=arguments.length;return 2===r?Se(t)&&!be(t)?Uo(t)?Vo(e,null,[t]):Vo(e,t):Vo(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):3===r&&Uo(n)&&(n=[n]),Vo(e,t,n))}const wi="3.4.31",xi="undefined"!=typeof document?document:null,ki=xi&&xi.createElement("template"),_i={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{const a="svg"===t?xi.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?xi.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?xi.createElement(e,{is:n}):xi.createElement(e);return"select"===e&&r&&null!=r.multiple&&a.setAttribute("multiple",r.multiple),a},createText:e=>xi.createTextNode(e),createComment:e=>xi.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>xi.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,a,o){const i=n?n.previousSibling:t.lastChild;if(a&&(a===o||a.nextSibling))for(;t.insertBefore(a.cloneNode(!0),n),a!==o&&(a=a.nextSibling););else{ki.innerHTML="svg"===r?``:"mathml"===r?``:e;const a=ki.content;if("svg"===r||"mathml"===r){const e=a.firstChild;for(;e.firstChild;)a.appendChild(e.firstChild);a.removeChild(e)}t.insertBefore(a,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Si="transition",Ei="animation",Ti=Symbol("_vtc"),Ci=(e,{slots:t})=>Oi(fo,function(e){const t={};for(const n in e)n in Ai||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:r,duration:a,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:s=`${n}-enter-to`,appearFromClass:l=o,appearActiveClass:c=i,appearToClass:d=s,leaveFromClass:u=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,f=function(e){if(null==e)return null;if(Se(e))return[Ri(e.enter),Ri(e.leave)];{const t=Ri(e);return[t,t]}}(a),m=f&&f[0],g=f&&f[1],{onBeforeEnter:v,onEnter:b,onEnterCancelled:y,onLeave:O,onLeaveCancelled:w,onBeforeAppear:x=v,onAppear:k=b,onAppearCancelled:_=y}=t,S=(e,t,n)=>{Ni(e,t?d:s),Ni(e,t?c:i),n&&n()},E=(e,t)=>{e._isLeaving=!1,Ni(e,u),Ni(e,h),Ni(e,p),t&&t()},T=e=>(t,n)=>{const a=e?k:b,i=()=>S(t,e,n);Pi(a,[t,i]),Mi((()=>{Ni(t,e?l:o),$i(t,e?d:s),Di(a)||Li(t,r,m,i)}))};return fe(t,{onBeforeEnter(e){Pi(v,[e]),$i(e,o),$i(e,i)},onBeforeAppear(e){Pi(x,[e]),$i(e,l),$i(e,c)},onEnter:T(!1),onAppear:T(!0),onLeave(e,t){e._isLeaving=!0;const n=()=>E(e,t);$i(e,u),$i(e,p),document.body.offsetHeight,Mi((()=>{e._isLeaving&&(Ni(e,u),$i(e,h),Di(O)||Li(e,r,g,n))})),Pi(O,[e,n])},onEnterCancelled(e){S(e,!1),Pi(y,[e])},onAppearCancelled(e){S(e,!0),Pi(_,[e])},onLeaveCancelled(e){E(e),Pi(w,[e])}})}(e),t)
+/**
+ * @vue/runtime-dom v3.4.31
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
+ * @license MIT
+ **/;Ci.displayName="Transition";const Ai={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ci.props=fe({},po,Ai);const Pi=(e,t=[])=>{be(e)?e.forEach((e=>e(...t))):e&&e(...t)},Di=e=>!!e&&(be(e)?e.some((e=>e.length>1)):e.length>1);function Ri(e){return(e=>{const t=ke(e)?Number(e):NaN;return isNaN(t)?e:t})(e)}function $i(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e[Ti]||(e[Ti]=new Set)).add(t)}function Ni(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const n=e[Ti];n&&(n.delete(t),n.size||(e[Ti]=void 0))}function Mi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let Ii=0;function Li(e,t,n,r){const a=e._endId=++Ii,o=()=>{a===e._endId&&r()};if(n)return setTimeout(o,n);const{type:i,timeout:s,propCount:l}=function(e,t){const n=window.getComputedStyle(e),r=e=>(n[e]||"").split(", "),a=r(`${Si}Delay`),o=r(`${Si}Duration`),i=ji(a,o),s=r(`${Ei}Delay`),l=r(`${Ei}Duration`),c=ji(s,l);let d=null,u=0,p=0;t===Si?i>0&&(d=Si,u=i,p=o.length):t===Ei?c>0&&(d=Ei,u=c,p=l.length):(u=Math.max(i,c),d=u>0?i>c?Si:Ei:null,p=d?d===Si?o.length:l.length:0);return{type:d,timeout:u,propCount:p,hasTransform:d===Si&&/\b(transform|all)(,|$)/.test(r(`${Si}Property`).toString())}}(e,t);if(!i)return r();const c=i+"end";let d=0;const u=()=>{e.removeEventListener(c,p),o()},p=t=>{t.target===e&&++d>=l&&u()};setTimeout((()=>{dBi(t)+Bi(e[n]))))}function Bi(e){return"auto"===e?0:1e3*Number(e.slice(0,-1).replace(",","."))}const Qi=Symbol("_vod"),Ui=Symbol("_vsh"),Fi={beforeMount(e,{value:t},{transition:n}){e[Qi]="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):zi(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:r}){!t!=!n&&(r?t?(r.beforeEnter(e),zi(e,!0),r.enter(e)):r.leave(e,(()=>{zi(e,!1)})):zi(e,t))},beforeUnmount(e,{value:t}){zi(e,t)}};function zi(e,t){e.style.display=t?e[Qi]:"none",e[Ui]=!t}const qi=Symbol("");function Hi(e){const t=ii();if(!t)return;const n=t.ut=(n=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach((e=>Zi(e,n)))},r=()=>{const r=e(t.proxy);Vi(t.subTree,r),n(r)};Nr((()=>{Ja(r,null,{flush:"post"});const e=new MutationObserver(r);e.observe(t.subTree.el.parentNode,{childList:!0}),jr((()=>e.disconnect()))}))}function Vi(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{Vi(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el)Zi(e.el,t);else if(e.type===Ao)e.children.forEach((e=>Vi(e,t)));else if(e.type===Ro){let{el:n,anchor:r}=e;for(;n&&(Zi(n,t),n!==r);)n=n.nextSibling}}function Zi(e,t){if(1===e.nodeType){const n=e.style;let r="";for(const e in t)n.setProperty(`--${e}`,t[e]),r+=`--${e}: ${t[e]};`;n[qi]=r}}const Wi=/(^|;)\s*display\s*:/,Xi=/\s*!important$/;function Yi(e,t,n){if(be(n))n.forEach((n=>Yi(e,t,n)));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=function(e,t){const n=Ki[t];if(n)return n;let r=Me(t);if("filter"!==r&&r in e)return Ki[t]=r;r=je(r);for(let n=0;nas||(os.then((()=>as=0)),as=Date.now()),ss=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,ls=e=>{const t=e.props["onUpdate:modelValue"]||!1;return be(t)?e=>Ue(t,e):t};function cs(e){e.target.composing=!0}function ds(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const us=Symbol("_assign"),ps={created(e,{modifiers:{lazy:t,trim:n,number:r}},a){e[us]=ls(a);const o=r||a.props&&"number"===a.props.type;ts(e,t?"change":"input",(t=>{if(t.target.composing)return;let r=e.value;n&&(r=r.trim()),o&&(r=ze(r)),e[us](r)})),n&&ts(e,"change",(()=>{e.value=e.value.trim()})),t||(ts(e,"compositionstart",cs),ts(e,"compositionend",ds),ts(e,"change",ds))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:a,number:o}},i){if(e[us]=ls(i),e.composing)return;const s=null==t?"":t;if((!o&&"number"!==e.type||/^0\d/.test(e.value)?e.value:ze(e.value))!==s){if(document.activeElement===e&&"range"!==e.type){if(r&&t===n)return;if(a&&e.value.trim()===s)return}e.value=s}}},hs={deep:!0,created(e,t,n){e[us]=ls(n),ts(e,"change",(()=>{const t=e._modelValue,n=vs(e),r=e.checked,a=e[us];if(be(t)){const e=nt(t,n),o=-1!==e;if(r&&!o)a(t.concat(n));else if(!r&&o){const n=[...t];n.splice(e,1),a(n)}}else if(Oe(t)){const e=new Set(t);r?e.add(n):e.delete(n),a(e)}else a(bs(e,r))}))},mounted:fs,beforeUpdate(e,t,n){e[us]=ls(n),fs(e,t,n)}};function fs(e,{value:t,oldValue:n},r){e._modelValue=t,be(t)?e.checked=nt(t,r.props.value)>-1:Oe(t)?e.checked=t.has(r.props.value):t!==n&&(e.checked=tt(t,bs(e,!0)))}const ms={deep:!0,created(e,{value:t,modifiers:{number:n}},r){const a=Oe(t);ts(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?ze(vs(e)):vs(e)));e[us](e.multiple?a?new Set(t):t:t[0]),e._assigning=!0,ar((()=>{e._assigning=!1}))})),e[us]=ls(r)},mounted(e,{value:t,modifiers:{number:n}}){gs(e,t)},beforeUpdate(e,t,n){e[us]=ls(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||gs(e,t)}};function gs(e,t,n){const r=e.multiple,a=be(t);if(!r||a||Oe(t)){for(let n=0,o=e.options.length;nString(e)===String(i))):nt(t,i)>-1}else o.selected=t.has(i);else if(tt(vs(o),t))return void(e.selectedIndex!==n&&(e.selectedIndex=n))}r||-1===e.selectedIndex||(e.selectedIndex=-1)}}function vs(e){return"_value"in e?e._value:e.value}function bs(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const ys=["ctrl","shift","alt","meta"],Os={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>ys.some((n=>e[`${n}Key`]&&!t.includes(n)))},ws=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(n,...r)=>{for(let e=0;e{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=n=>{if(!("key"in n))return;const r=Le(n.key);return t.some((e=>e===r||xs[e]===r))?e(n):void 0})},_s=fe({patchProp:(e,t,n,r,a,o,i,s,l)=>{const c="svg"===a;"class"===t?function(e,t,n){const r=e[Ti];r&&(t=(t?[t,...r]:[...r]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,r,c):"style"===t?function(e,t,n){const r=e.style,a=ke(n);let o=!1;if(n&&!a){if(t)if(ke(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&Yi(r,t,"")}else for(const e in t)null==n[e]&&Yi(r,e,"");for(const e in n)"display"===e&&(o=!0),Yi(r,e,n[e])}else if(a){if(t!==n){const e=r[qi];e&&(n+=";"+e),r.cssText=n,o=Wi.test(n)}}else t&&e.removeAttribute("style");Qi in e&&(e[Qi]=o?r.display:"",e[Ui]&&(r.display="none"))}(e,n,r):pe(t)?he(t)||function(e,t,n,r,a=null){const o=e[ns]||(e[ns]={}),i=o[t];if(r&&i)i.value=r;else{const[n,s]=function(e){let t;if(rs.test(e)){let n;for(t={};n=e.match(rs);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[":"===e[2]?e.slice(3):Le(e.slice(2)),t]}(t);if(r){const i=o[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();Zn(function(e,t){if(be(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=is(),n}(r,a);ts(e,n,i,s)}else i&&(function(e,t,n,r){e.removeEventListener(t,n,r)}(e,n,i,s),o[t]=void 0)}}(e,t,0,r,i):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,r){if(r)return"innerHTML"===t||"textContent"===t||!!(t in e&&ss(t)&&xe(n));if("spellcheck"===t||"draggable"===t||"translate"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!ss(t)||!ke(n))&&t in e}(e,t,r,c))?(function(e,t,n,r,a,o,i){if("innerHTML"===t||"textContent"===t)return r&&i(r,a,o),void(e[t]=null==n?"":n);const s=e.tagName;if("value"===t&&"PROGRESS"!==s&&!s.includes("-")){const r="OPTION"===s?e.getAttribute("value")||"":e.value,a=null==n?"":String(n);return r===a&&"_value"in e||(e.value=a),null==n&&e.removeAttribute(t),void(e._value=n)}let l=!1;if(""===n||null==n){const r=typeof e[t];"boolean"===r?n=et(n):null==n&&"string"===r?(n="",l=!0):"number"===r&&(n=0,l=!0)}try{e[t]=n}catch(e){}l&&e.removeAttribute(t)}(e,t,r,o,i,s,l),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||es(e,t,r,c,0,"value"!==t)):("true-value"===t?e._trueValue=r:"false-value"===t&&(e._falseValue=r),es(e,t,r,c))}},_i);let Ss;function Es(){return Ss||(Ss=Fa(_s))}const Ts=(...e)=>{const t=Es().createApp(...e),{mount:n}=t;return t.mount=e=>{const r=function(e){return ke(e)?document.querySelector(e):e}(e);if(!r)return;const a=t._component;xe(a)||a.render||a.template||(a.template=r.innerHTML),r.innerHTML="";const o=n(r,!1,function(e){return e instanceof SVGElement?"svg":"function"==typeof MathMLElement&&e instanceof MathMLElement?"mathml":void 0}(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t},Cs=wi.startsWith("3");function As(e,t=""){if(e instanceof Promise)return e;const n="function"==typeof(r=e)?r():Mn(r);var r;return e&&n?Array.isArray(n)?n.map((e=>As(e,t))):"object"==typeof n?Object.fromEntries(Object.entries(n).map((([e,t])=>"titleTemplate"===e||e.startsWith("on")?[e,Mn(t)]:[e,As(t,e)]))):n:n}const Ps={hooks:{"entries:resolve":function(e){for(const t of e.entries)t.resolvedInput=As(t.input)}}},Ds="usehead";function Rs(e={}){e.domDelayFn=e.domDelayFn||(e=>ar((()=>setTimeout((()=>e()),0))));const t=function(e={}){const t=function(e={}){const t=new d;t.addHooks(e.hooks||{}),e.document=e.document||(g?document:void 0);const n=!e.document,r=()=>{s.dirty=!0,t.callHook("entries:updated",s)};let a=0,o=[];const i=[],s={plugins:i,dirty:!1,resolvedOptions:e,hooks:t,headEntries:()=>o,use(e){const r="function"==typeof e?e(s):e;r.key&&i.some((e=>e.key===r.key))||(i.push(r),ie(r.mode,n)&&t.addHooks(r.hooks||{}))},push(e,i){null==i||delete i.head;const l={_i:a++,input:e,...i};return ie(l.mode,n)&&(o.push(l),r()),{dispose(){o=o.filter((e=>e._i!==l._i)),t.callHook("entries:updated",s),r()},patch(e){o=o.map((t=>(t._i===l._i&&(t.input=l.input=e),t))),r()}}},async resolveTags(){const e={tags:[],entries:[...o]};await t.callHook("entries:resolve",e);for(const n of e.entries){const r=n.resolvedInput||n.input;if(n.resolvedInput=await(n.transform?n.transform(r):r),n.resolvedInput)for(const r of await j(n)){const a={tag:r,entry:n,resolvedOptions:s.resolvedOptions};await t.callHook("tag:normalise",a),e.tags.push(a.tag)}}return await t.callHook("tags:beforeResolve",e),await t.callHook("tags:resolve",e),await t.callHook("tags:afterResolve",e),e.tags},ssr:n};return[W,X,G,J,ee,ne,re,ae,...(null==e?void 0:e.plugins)||[]].forEach((e=>s.use(e))),s.hooks.callHook("init",s),s}(e);return t.use(V()),oe=t}(e);return t.use(Ps),t.install=function(e){return{install(t){Cs&&(t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(Ds,e))}}.install}(t),t}const $s="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},Ns="__unhead_injection_handler__";function Ms(e,t={}){const n=t.head||(Ns in $s?$s[Ns]():xa(Ds)||oe);if(n)return n.ssr?n.push(e,t):function(e,t,n={}){const r=Dn(!1),a=Dn({});Ya((()=>{a.value=r.value?{}:As(t)}));const o=e.push(a.value,n);return Ka(a,(e=>{o.patch(e)})),ii()&&(Lr((()=>{o.dispose()})),oo((()=>{r.value=!0})),ao((()=>{r.value=!1}))),o}(n,e,t)}const Is=["GET","POST","PUT","HEAD","DELETE","PATCH","OPTIONS","CONNECT","TRACE"];function Ls(e,t){var n,r;const a=[],o=[],i=[];if(!e.customSecurity&&(!e.preferredSecurityScheme||!(s=t)||Array.isArray(s)&&!s.length||(s??[]).some((e=>!Object.keys(e).length))))return{headers:a,queryString:o,cookies:i};var s;const l=(null==t?void 0:t.some((t=>e.preferredSecurityScheme&&Object.keys(t).includes(e.preferredSecurityScheme))))||e.customSecurity?e.preferredSecurityScheme:Object.keys((null==t?void 0:t[0])??{}).pop(),c=null==(n=e.securitySchemes)?void 0:n[l??""];if(c)if("type"in c&&"apiKey"===c.type){if("in"in c&&"header"===c.in){const t=(null==(r=e.apiKey.token)?void 0:r.length)?e.apiKey.token:"YOUR_TOKEN";a.push({name:"name"in c?c.name:"",value:t})}else if("in"in c&&"cookie"===c.in){const t=e.apiKey.token.length?e.apiKey.token:"YOUR_TOKEN";i.push({name:c.name,value:t})}else if("in"in c&&"query"===c.in){const t=e.apiKey.token.length?e.apiKey.token:"YOUR_TOKEN";o.push({name:c.name,value:t})}}else if(!("type"in c)||"http"!==c.type&&"basic"!==c.type){if("type"in c&&"oauth2"===c.type.toLowerCase()){const t=e.oAuth2.accessToken||"YOUR_SECRET_TOKEN";a.push({name:"Authorization",value:`Bearer ${t}`})}}else if("type"in c&&("basic"===c.type||"http"===c.type&&"basic"===c.scheme)){const{username:t,password:n}=e.http.basic,r=js(t,n);a.push({name:"Authorization",value:`Basic ${r}`.trim()})}else if("type"in c&&"http"===c.type&&"bearer"===c.scheme){const t=e.http.bearer.token.length?e.http.bearer.token:"YOUR_SECRET_TOKEN";a.push({name:"Authorization",value:`Bearer ${t}`})}return{headers:a,queryString:o,cookies:i}}function js(e,t){return(null==e?void 0:e.length)||(null==t?void 0:t.length)?(n=`${e}:${t}`,"undefined"==typeof window?Buffer.from(n).toString("base64"):btoa(n)):"";var n}function Bs(e){return[e.apiKey.token,e.http.bearer.token,e.oAuth2.accessToken,js(e.http.basic.username,e.http.basic.password),e.http.basic.password].filter(Boolean)}const Qs=(e,t)=>{if("string"!=typeof t||!t.length)return e;const n=e.trim(),r=t.trim();return[n.endsWith("/")?n:`${n}/`,r.startsWith("/")?r.slice(1):r].join("")};function Us(e,t){if(!zs(e,t))return t??"";const n=new URL(t);return n.href=e,n.searchParams.append("scalar_url",t),n.toString()}const Fs=e=>!/^https?:\/\//.test(e);function zs(e,t){return!(!e||!t||Fs(t)||function(e){const{hostname:t}=new URL(e);return["localhost","127.0.0.1","[::1]"].includes(t)}(t))}const qs=Symbol.for("yaml.alias"),Hs=Symbol.for("yaml.document"),Vs=Symbol.for("yaml.map"),Zs=Symbol.for("yaml.pair"),Ws=Symbol.for("yaml.scalar"),Xs=Symbol.for("yaml.seq"),Ys=Symbol.for("yaml.node.type"),Gs=e=>!!e&&"object"==typeof e&&e[Ys]===qs,Ks=e=>!!e&&"object"==typeof e&&e[Ys]===Hs,Js=e=>!!e&&"object"==typeof e&&e[Ys]===Vs,el=e=>!!e&&"object"==typeof e&&e[Ys]===Zs,tl=e=>!!e&&"object"==typeof e&&e[Ys]===Ws,nl=e=>!!e&&"object"==typeof e&&e[Ys]===Xs;function rl(e){if(e&&"object"==typeof e)switch(e[Ys]){case Vs:case Xs:return!0}return!1}function al(e){if(e&&"object"==typeof e)switch(e[Ys]){case qs:case Vs:case Ws:case Xs:return!0}return!1}const ol=e=>(tl(e)||rl(e))&&!!e.anchor,il=Symbol("break visit"),sl=Symbol("skip children"),ll=Symbol("remove node");function cl(e,t){const n=function(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}(t);Ks(e)?dl(null,e.contents,n,Object.freeze([e]))===ll&&(e.contents=null):dl(null,e,n,Object.freeze([]))}function dl(e,t,n,r){const a=function(e,t,n,r){var a,o,i,s,l;return"function"==typeof n?n(e,t,r):Js(t)?null==(a=n.Map)?void 0:a.call(n,e,t,r):nl(t)?null==(o=n.Seq)?void 0:o.call(n,e,t,r):el(t)?null==(i=n.Pair)?void 0:i.call(n,e,t,r):tl(t)?null==(s=n.Scalar)?void 0:s.call(n,e,t,r):Gs(t)?null==(l=n.Alias)?void 0:l.call(n,e,t,r):void 0}(e,t,n,r);if(al(a)||el(a))return function(e,t,n){const r=t[t.length-1];if(rl(r))r.items[e]=n;else if(el(r))"key"===e?r.key=n:r.value=n;else{if(!Ks(r)){const e=Gs(r)?"alias":"scalar";throw new Error(`Cannot replace node with ${e} parent`)}r.contents=n}}(e,r,a),dl(e,a,n,r);if("symbol"!=typeof a)if(rl(t)){r=Object.freeze(r.concat(t));for(let e=0;e"!==e[e.length-1]&&t("Verbatim tags must end with a >"),n)}const[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);const a=this.tags[n];if(a)try{return a+decodeURIComponent(r)}catch(e){return t(String(e)),null}return"!"===n?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(const[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+e.substring(n.length).replace(/[!,[\]{}]/g,(e=>ul[e]));return"!"===e[0]?e:`!<${e}>`}toString(e){const t=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);let r;if(e&&n.length>0&&al(e.contents)){const t={};cl(e.contents,((e,n)=>{al(n)&&n.tag&&(t[n.tag]=!0)})),r=Object.keys(t)}else r=[];for(const[a,o]of n)"!!"===a&&"tag:yaml.org,2002:"===o||e&&!r.some((e=>e.startsWith(o)))||t.push(`%TAG ${a} ${o}`);return t.join("\n")}}function hl(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){const t=JSON.stringify(e);throw new Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function fl(e){const t=new Set;return cl(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function ml(e,t){for(let n=1;;++n){const r=`${e}${n}`;if(!t.has(r))return r}}function gl(e,t,n,r){if(r&&"object"==typeof r)if(Array.isArray(r))for(let t=0,n=r.length;tvl(e,String(t),n)));if(e&&"function"==typeof e.toJSON){if(!n||!ol(e))return e.toJSON(t,n);const r={aliasCount:0,count:1,res:void 0};n.anchors.set(e,r),n.onCreate=e=>{r.res=e,delete n.onCreate};const a=e.toJSON(t,n);return n.onCreate&&n.onCreate(a),a}return"bigint"!=typeof e||(null==n?void 0:n.keep)?e:Number(e)}pl.defaultYaml={explicit:!1,version:"1.2"},pl.defaultTags={"!!":"tag:yaml.org,2002:"};class bl{constructor(e){Object.defineProperty(this,Ys,{value:e})}clone(){const e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:n,onAnchor:r,reviver:a}={}){if(!Ks(e))throw new TypeError("A document argument is required");const o={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},i=vl(this,"",o);if("function"==typeof r)for(const{count:e,res:t}of o.anchors.values())r(t,e);return"function"==typeof a?gl(a,{"":i},"",i):i}}let yl=class extends bl{constructor(e){super(qs),this.source=e,Object.defineProperty(this,"tag",{set(){throw new Error("Alias nodes cannot have tags")}})}resolve(e){let t;return cl(e,{Node:(e,n)=>{if(n===this)return cl.BREAK;n.anchor===this.source&&(t=n)}}),t}toJSON(e,t){if(!t)return{source:this.source};const{anchors:n,doc:r,maxAliasCount:a}=t,o=this.resolve(r);if(!o){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new ReferenceError(e)}let i=n.get(o);if(i||(vl(o,null,t),i=n.get(o)),!i||void 0===i.res)throw new ReferenceError("This should not happen: Alias anchor was not resolved?");if(a>=0&&(i.count+=1,0===i.aliasCount&&(i.aliasCount=Ol(r,o,n)),i.count*i.aliasCount>a))throw new ReferenceError("Excessive alias count indicates a resource exhaustion attack");return i.res}toString(e,t,n){const r=`*${this.source}`;if(e){if(hl(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){const e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw new Error(e)}if(e.implicitKey)return`${r} `}return r}};function Ol(e,t,n){if(Gs(t)){const r=t.resolve(e),a=n&&r&&n.get(r);return a?a.count*a.aliasCount:0}if(rl(t)){let r=0;for(const a of t.items){const t=Ol(e,a,n);t>r&&(r=t)}return r}if(el(t)){const r=Ol(e,t.key,n),a=Ol(e,t.value,n);return Math.max(r,a)}return 1}const wl=e=>!e||"function"!=typeof e&&"object"!=typeof e;class xl extends bl{constructor(e){super(Ws),this.value=e}toJSON(e,t){return(null==t?void 0:t.keep)?this.value:vl(this.value,e,t)}toString(){return String(this.value)}}xl.BLOCK_FOLDED="BLOCK_FOLDED",xl.BLOCK_LITERAL="BLOCK_LITERAL",xl.PLAIN="PLAIN",xl.QUOTE_DOUBLE="QUOTE_DOUBLE",xl.QUOTE_SINGLE="QUOTE_SINGLE";const kl="tag:yaml.org,2002:";function _l(e,t,n){var r,a,o;if(Ks(e)&&(e=e.contents),al(e))return e;if(el(e)){const t=null==(a=(r=n.schema[Vs]).createNode)?void 0:a.call(r,n.schema,null,n);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());const{aliasDuplicateObjects:i,onAnchor:s,onTagObj:l,schema:c,sourceObjects:d}=n;let u;if(i&&e&&"object"==typeof e){if(u=d.get(e),u)return u.anchor||(u.anchor=s(e)),new yl(u.anchor);u={anchor:null,node:null},d.set(e,u)}(null==t?void 0:t.startsWith("!!"))&&(t=kl+t.slice(2));let p=function(e,t,n){if(t){const e=n.filter((e=>e.tag===t)),r=e.find((e=>!e.format))??e[0];if(!r)throw new Error(`Tag ${t} not found`);return r}return n.find((t=>{var n;return(null==(n=t.identify)?void 0:n.call(t,e))&&!t.format}))}(e,t,c.tags);if(!p){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){const t=new xl(e);return u&&(u.node=t),t}p=e instanceof Map?c[Vs]:Symbol.iterator in Object(e)?c[Xs]:c[Vs]}l&&(l(p),delete n.onTagObj);const h=(null==p?void 0:p.createNode)?p.createNode(n.schema,e,n):"function"==typeof(null==(o=null==p?void 0:p.nodeClass)?void 0:o.from)?p.nodeClass.from(n.schema,e,n):new xl(e);return t?h.tag=t:p.default||(h.tag=p.tag),u&&(u.node=h),h}function Sl(e,t,n){let r=n;for(let e=t.length-1;e>=0;--e){const n=t[e];if("number"==typeof n&&Number.isInteger(n)&&n>=0){const e=[];e[n]=r,r=e}else r=new Map([[n,r]])}return _l(r,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw new Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}const El=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class Tl extends bl{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){const t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map((t=>al(t)||el(t)?t.clone(e):t)),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(El(e))this.add(t);else{const[n,...r]=e,a=this.get(n,!0);if(rl(a))a.addIn(r,t);else{if(void 0!==a||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Sl(this.schema,r,t))}}}deleteIn(e){const[t,...n]=e;if(0===n.length)return this.delete(t);const r=this.get(t,!0);if(rl(r))return r.deleteIn(n);throw new Error(`Expected YAML collection at ${t}. Remaining path: ${n}`)}getIn(e,t){const[n,...r]=e,a=this.get(n,!0);return 0===r.length?!t&&tl(a)?a.value:a:rl(a)?a.getIn(r,t):void 0}hasAllNullValues(e){return this.items.every((t=>{if(!el(t))return!1;const n=t.value;return null==n||e&&tl(n)&&null==n.value&&!n.commentBefore&&!n.comment&&!n.tag}))}hasIn(e){const[t,...n]=e;if(0===n.length)return this.has(t);const r=this.get(t,!0);return!!rl(r)&&r.hasIn(n)}setIn(e,t){const[n,...r]=e;if(0===r.length)this.set(n,t);else{const e=this.get(n,!0);if(rl(e))e.setIn(r,t);else{if(void 0!==e||!this.schema)throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);this.set(n,Sl(this.schema,r,t))}}}}Tl.maxFlowStringSingleLineLength=60;const Cl=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function Al(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}const Pl=(e,t,n)=>e.endsWith("\n")?Al(n,t):n.includes("\n")?"\n"+Al(n,t):(e.endsWith(" ")?"":" ")+n,Dl="flow",Rl="block",$l="quoted";function Nl(e,t,n="flow",{indentAtStart:r,lineWidth:a=80,minContentWidth:o=20,onFold:i,onOverflow:s}={}){if(!a||a<0)return e;const l=Math.max(1+o,1+a-t.length);if(e.length<=l)return e;const c=[],d={};let u,p,h=a-t.length;"number"==typeof r&&(r>a-Math.max(2,o)?c.push(0):h=a-r);let f=!1,m=-1,g=-1,v=-1;n===Rl&&(m=Ml(e,m,t.length),-1!==m&&(h=m+l));for(let r;r=e[m+=1];){if(n===$l&&"\\"===r){switch(g=m,e[m+1]){case"x":m+=3;break;case"u":m+=5;break;case"U":m+=9;break;default:m+=1}v=m}if("\n"===r)n===Rl&&(m=Ml(e,m,t.length)),h=m+t.length+l,u=void 0;else{if(" "===r&&p&&" "!==p&&"\n"!==p&&"\t"!==p){const t=e[m+1];t&&" "!==t&&"\n"!==t&&"\t"!==t&&(u=m)}if(m>=h)if(u)c.push(u),h=u+l,u=void 0;else if(n===$l){for(;" "===p||"\t"===p;)p=r,r=e[m+=1],f=!0;const t=m>v+1?m-2:g-1;if(d[t])return e;c.push(t),d[t]=!0,h=t+l,u=void 0}else f=!0}p=r}if(f&&s&&s(),0===c.length)return e;i&&i();let b=e.slice(0,c[0]);for(let r=0;r({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),Ll=e=>/^(%|---|\.\.\.)/m.test(e);function jl(e,t){const n=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return n;const{implicitKey:r}=t,a=t.options.doubleQuotedMinMultiLineLength,o=t.indent||(Ll(e)?" ":"");let i="",s=0;for(let e=0,t=n[e];t;t=n[++e])if(" "===t&&"\\"===n[e+1]&&"n"===n[e+2]&&(i+=n.slice(s,e)+"\\ ",e+=1,s=e,t="\\"),"\\"===t)switch(n[e+1]){case"u":{i+=n.slice(s,e);const t=n.substr(e+2,4);switch(t){case"0000":i+="\\0";break;case"0007":i+="\\a";break;case"000b":i+="\\v";break;case"001b":i+="\\e";break;case"0085":i+="\\N";break;case"00a0":i+="\\_";break;case"2028":i+="\\L";break;case"2029":i+="\\P";break;default:"00"===t.substr(0,2)?i+="\\x"+t.substr(2):i+=n.substr(e,6)}e+=5,s=e+1}break;case"n":if(r||'"'===n[e+2]||n.lengthr)return!0;if(n=t+1,a-n<=r)return!1}return!0}(n,l,c.length));if(!n)return d?"|\n":">\n";let u,p;for(p=n.length;p>0;--p){const e=n[p-1];if("\n"!==e&&"\t"!==e&&" "!==e)break}let h=n.substring(p);const f=h.indexOf("\n");-1===f?u="-":n===h||f!==h.length-1?(u="+",o&&o()):u="",h&&(n=n.slice(0,-h.length),"\n"===h[h.length-1]&&(h=h.slice(0,-1)),h=h.replace(Ul,`$&${c}`));let m,g=!1,v=-1;for(m=0;m")+(g?c?"2":"1":"")+u;return e&&(y+=" "+s(e.replace(/ ?[\r\n]+/g," ")),a&&a()),d?`${y}\n${c}${b}${n=n.replace(/\n+/g,`$&${c}`)}${h}`:`${y}\n${c}${Nl(`${b}${n=n.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${c}`)}${h}`,c,Rl,Il(r,!0))}`}function zl(e,t,n,r){const{implicitKey:a,inFlow:o}=t,i="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)});let{type:s}=e;s!==xl.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(i.value)&&(s=xl.QUOTE_DOUBLE);const l=e=>{switch(e){case xl.BLOCK_FOLDED:case xl.BLOCK_LITERAL:return a||o?Ql(i.value,t):Fl(i,t,n,r);case xl.QUOTE_DOUBLE:return jl(i.value,t);case xl.QUOTE_SINGLE:return Bl(i.value,t);case xl.PLAIN:return function(e,t,n,r){const{type:a,value:o}=e,{actualString:i,implicitKey:s,indent:l,indentStep:c,inFlow:d}=t;if(s&&o.includes("\n")||d&&/[[\]{},]/.test(o))return Ql(o,t);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return s||d||!o.includes("\n")?Ql(o,t):Fl(e,t,n,r);if(!s&&!d&&a!==xl.PLAIN&&o.includes("\n"))return Fl(e,t,n,r);if(Ll(o)){if(""===l)return t.forceBlockIndent=!0,Fl(e,t,n,r);if(s&&l===c)return Ql(o,t)}const u=o.replace(/\n+/g,`$&\n${l}`);if(i){const e=e=>{var t;return e.default&&"tag:yaml.org,2002:str"!==e.tag&&(null==(t=e.test)?void 0:t.test(u))},{compat:n,tags:r}=t.doc.schema;if(r.some(e)||(null==n?void 0:n.some(e)))return Ql(o,t)}return s?u:Nl(u,l,Dl,Il(t,!1))}(i,t,n,r);default:return null}};let c=l(s);if(null===c){const{defaultKeyType:e,defaultStringType:n}=t.options,r=a&&e||n;if(c=l(r),null===c)throw new Error(`Unsupported default string type ${r}`)}return c}function ql(e,t){const n=Object.assign({blockQuote:!0,commentString:Cl,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);let r;switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function Hl(e,t,n,r){var a;if(el(e))return e.toString(t,n,r);if(Gs(e)){if(t.doc.directives)return e.toString(t);if(null==(a=t.resolvedAliases)?void 0:a.has(e))throw new TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let o;const i=al(e)?e:t.doc.createNode(e,{onTagObj:e=>o=e});o||(o=function(e,t){var n;if(t.tag){const n=e.filter((e=>e.tag===t.tag));if(n.length>0)return n.find((e=>e.format===t.format))??n[0]}let r,a;if(tl(t)){a=t.value;const n=e.filter((e=>{var t;return null==(t=e.identify)?void 0:t.call(e,a)}));r=n.find((e=>e.format===t.format))??n.find((e=>!e.format))}else a=t,r=e.find((e=>e.nodeClass&&a instanceof e.nodeClass));if(!r){const e=(null==(n=null==a?void 0:a.constructor)?void 0:n.name)??typeof a;throw new Error(`Tag not resolved for ${e} value`)}return r}(t.doc.schema.tags,i));const s=function(e,t,{anchors:n,doc:r}){if(!r.directives)return"";const a=[],o=(tl(e)||rl(e))&&e.anchor;o&&hl(o)&&(n.add(o),a.push(`&${o}`));const i=e.tag?e.tag:t.default?null:t.tag;return i&&a.push(r.directives.tagString(i)),a.join(" ")}(i,o,t);s.length>0&&(t.indentAtStart=(t.indentAtStart??0)+s.length+1);const l="function"==typeof o.stringify?o.stringify(i,t,n,r):tl(i)?zl(i,t,n,r):i.toString(t,n,r);return s?tl(i)||"{"===l[0]||"["===l[0]?`${s} ${l}`:`${s}\n${t.indent}${l}`:l}function Vl(e,t){"debug"!==e&&"warn"!==e||("undefined"!=typeof process&&process.emitWarning?process.emitWarning(t):console.warn(t))}function Zl(e,t,{key:n,value:r}){if((null==e?void 0:e.doc.schema.merge)&&Wl(n))if(r=Gs(r)?r.resolve(e.doc):r,nl(r))for(const n of r.items)Xl(e,t,n);else if(Array.isArray(r))for(const n of r)Xl(e,t,n);else Xl(e,t,r);else{const a=vl(n,"",e);if(t instanceof Map)t.set(a,vl(r,a,e));else if(t instanceof Set)t.add(a);else{const o=function(e,t,n){if(null===t)return"";if("object"!=typeof t)return String(t);if(al(e)&&(null==n?void 0:n.doc)){const t=ql(n.doc,{});t.anchors=new Set;for(const e of n.anchors.keys())t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;const r=e.toString(t);if(!n.mapKeyWarned){let e=JSON.stringify(r);e.length>40&&(e=e.substring(0,36)+'..."'),Vl(n.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),n.mapKeyWarned=!0}return r}return JSON.stringify(t)}(n,a,e),i=vl(r,o,e);o in t?Object.defineProperty(t,o,{value:i,writable:!0,enumerable:!0,configurable:!0}):t[o]=i}}return t}const Wl=e=>"<<"===e||tl(e)&&"<<"===e.value&&(!e.type||e.type===xl.PLAIN);function Xl(e,t,n){const r=e&&Gs(n)?n.resolve(e.doc):n;if(!Js(r))throw new Error("Merge sources must be maps or map aliases");const a=r.toJSON(null,e,Map);for(const[e,n]of a)t instanceof Map?t.has(e)||t.set(e,n):t instanceof Set?t.add(e):Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{value:n,writable:!0,enumerable:!0,configurable:!0});return t}function Yl(e,t,n){const r=_l(e,void 0,n),a=_l(t,void 0,n);return new Gl(r,a)}class Gl{constructor(e,t=null){Object.defineProperty(this,Ys,{value:Zs}),this.key=e,this.value=t}clone(e){let{key:t,value:n}=this;return al(t)&&(t=t.clone(e)),al(n)&&(n=n.clone(e)),new Gl(t,n)}toJSON(e,t){return Zl(t,(null==t?void 0:t.mapAsMap)?new Map:{},this)}toString(e,t,n){return(null==e?void 0:e.doc)?function({key:e,value:t},n,r,a){const{allNullValues:o,doc:i,indent:s,indentStep:l,options:{commentString:c,indentSeq:d,simpleKeys:u}}=n;let p=al(e)&&e.comment||null;if(u){if(p)throw new Error("With simple keys, key nodes cannot have comments");if(rl(e)||!al(e)&&"object"==typeof e)throw new Error("With simple keys, collection cannot be used as a key value")}let h=!u&&(!e||p&&null==t&&!n.inFlow||rl(e)||(tl(e)?e.type===xl.BLOCK_FOLDED||e.type===xl.BLOCK_LITERAL:"object"==typeof e));n=Object.assign({},n,{allNullValues:!1,implicitKey:!h&&(u||!o),indent:s+l});let f,m,g,v=!1,b=!1,y=Hl(e,n,(()=>v=!0),(()=>b=!0));if(!h&&!n.inFlow&&y.length>1024){if(u)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");h=!0}if(n.inFlow){if(o||null==t)return v&&r&&r(),""===y?"?":h?`? ${y}`:y}else if(o&&!u||null==t&&h)return y=`? ${y}`,p&&!v?y+=Pl(y,n.indent,c(p)):b&&a&&a(),y;v&&(p=null),h?(p&&(y+=Pl(y,n.indent,c(p))),y=`? ${y}\n${s}:`):(y=`${y}:`,p&&(y+=Pl(y,n.indent,c(p)))),al(t)?(f=!!t.spaceBefore,m=t.commentBefore,g=t.comment):(f=!1,m=null,g=null,t&&"object"==typeof t&&(t=i.createNode(t))),n.implicitKey=!1,h||p||!tl(t)||(n.indentAtStart=y.length+1),b=!1,d||!(l.length>=2)||n.inFlow||h||!nl(t)||t.flow||t.tag||t.anchor||(n.indent=n.indent.substring(2));let O=!1;const w=Hl(t,n,(()=>O=!0),(()=>b=!0));let x=" ";if(p||f||m)x=f?"\n":"",m&&(x+=`\n${Al(c(m),n.indent)}`),""!==w||n.inFlow?x+=`\n${n.indent}`:"\n"===x&&(x="\n\n");else if(!h&&rl(t)){const e=w[0],r=w.indexOf("\n"),a=-1!==r,o=n.inFlow??t.flow??0===t.items.length;if(a||!o){let t=!1;if(a&&("&"===e||"!"===e)){let n=w.indexOf(" ");"&"===e&&-1!==n&&ni=null),(()=>u=!0));i&&(s+=Pl(s,o,c(i))),u&&i&&(u=!1),p.push(r+s)}let h;if(0===p.length)h=a.start+a.end;else{h=p[0];for(let e=1;eo=null));nd||i.includes("\n"))&&(c=!0),u.push(i),d=u.length}const{start:p,end:h}=n;if(0===u.length)return p+h;if(!c){const e=u.reduce(((e,t)=>e+t.length+2),2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(c){let e=p;for(const t of u)e+=t?`\n${o}${a}${t}`:"\n";return`${e}\n${a}${h}`}return`${p}${i}${u.join(" ")}${i}${h}`}function tc({indent:e,options:{commentString:t}},n,r,a){if(r&&a&&(r=r.replace(/^\n+/,"")),r){const a=Al(t(r),e);n.push(a.trimStart())}}function nc(e,t){const n=tl(t)?t.value:t;for(const r of e)if(el(r)){if(r.key===t||r.key===n)return r;if(tl(r.key)&&r.key.value===n)return r}}class rc extends Tl{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(Vs,e),this.items=[]}static from(e,t,n){const{keepUndefined:r,replacer:a}=n,o=new this(e),i=(e,i)=>{if("function"==typeof a)i=a.call(t,e,i);else if(Array.isArray(a)&&!a.includes(e))return;(void 0!==i||r)&&o.items.push(Yl(e,i,n))};if(t instanceof Map)for(const[e,n]of t)i(e,n);else if(t&&"object"==typeof t)for(const e of Object.keys(t))i(e,t[e]);return"function"==typeof e.sortMapEntries&&o.items.sort(e.sortMapEntries),o}add(e,t){var n;let r;r=el(e)?e:e&&"object"==typeof e&&"key"in e?new Gl(e.key,e.value):new Gl(e,null==e?void 0:e.value);const a=nc(this.items,r.key),o=null==(n=this.schema)?void 0:n.sortMapEntries;if(a){if(!t)throw new Error(`Key ${r.key} already set`);tl(a.value)&&wl(r.value)?a.value.value=r.value:a.value=r.value}else if(o){const e=this.items.findIndex((e=>o(r,e)<0));-1===e?this.items.push(r):this.items.splice(e,0,r)}else this.items.push(r)}delete(e){const t=nc(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){const n=nc(this.items,e),r=null==n?void 0:n.value;return(!t&&tl(r)?r.value:r)??void 0}has(e){return!!nc(this.items,e)}set(e,t){this.add(new Gl(e,t),!0)}toJSON(e,t,n){const r=n?new n:(null==t?void 0:t.mapAsMap)?new Map:{};(null==t?void 0:t.onCreate)&&t.onCreate(r);for(const e of this.items)Zl(t,r,e);return r}toString(e,t,n){if(!e)return JSON.stringify(this);for(const e of this.items)if(!el(e))throw new Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),Kl(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:n,onComment:t})}}const ac={collection:"map",default:!0,nodeClass:rc,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>(Js(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,n)=>rc.from(e,t,n)};class oc extends Tl{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(Xs,e),this.items=[]}add(e){this.items.push(e)}delete(e){const t=ic(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){const n=ic(e);if("number"!=typeof n)return;const r=this.items[n];return!t&&tl(r)?r.value:r}has(e){const t=ic(e);return"number"==typeof t&&t=0?t:null}const sc={collection:"seq",default:!0,nodeClass:oc,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(nl(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,n)=>oc.from(e,t,n)},lc={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,n,r)=>zl(e,t=Object.assign({actualString:!0},t),n,r)},cc={identify:e=>null==e,createNode:()=>new xl(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new xl(null),stringify:({source:e},t)=>"string"==typeof e&&cc.test.test(e)?e:t.options.nullStr},dc={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new xl("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},n)=>e&&dc.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?n.options.trueStr:n.options.falseStr};function uc({format:e,minFractionDigits:t,tag:n,value:r}){if("bigint"==typeof r)return String(r);const a="number"==typeof r?r:Number(r);if(!isFinite(a))return isNaN(a)?".nan":a<0?"-.inf":".inf";let o=JSON.stringify(r);if(!e&&t&&(!n||"tag:yaml.org,2002:float"===n)&&/^\d/.test(o)){let e=o.indexOf(".");e<0&&(e=o.length,o+=".");let n=t-(o.length-e-1);for(;n-- >0;)o+="0"}return o}const pc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:uc},hc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():uc(e)}},fc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){const t=new xl(parseFloat(e)),n=e.indexOf(".");return-1!==n&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-n-1),t},stringify:uc},mc=e=>"bigint"==typeof e||Number.isInteger(e),gc=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function vc(e,t,n){const{value:r}=e;return mc(r)&&r>=0?n+r.toString(t):uc(e)}const bc={identify:e=>mc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,n)=>gc(e,2,8,n),stringify:e=>vc(e,8,"0o")},yc={identify:mc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>gc(e,0,10,n),stringify:uc},Oc={identify:e=>mc(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>gc(e,2,16,n),stringify:e=>vc(e,16,"0x")},wc=[ac,sc,lc,cc,dc,bc,yc,Oc,pc,hc,fc];function xc(e){return"bigint"==typeof e||Number.isInteger(e)}const kc=({value:e})=>JSON.stringify(e),_c=[ac,sc].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:kc},{identify:e=>null==e,createNode:()=>new xl(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:kc},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:e=>"true"===e,stringify:kc},{identify:xc,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>xc(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:kc}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),Sc={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"==typeof Buffer)return Buffer.from(e,"base64");if("function"==typeof atob){const t=atob(e.replace(/[\n\r]/g,"")),n=new Uint8Array(t.length);for(let e=0;e1&&t("Each pair must have its own sequence indicator");const e=r.items[0]||new Gl(new xl(null));if(r.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${r.commentBefore}\n${e.key.commentBefore}`:r.commentBefore),r.comment){const t=e.value??e.key;t.comment=t.comment?`${r.comment}\n${t.comment}`:r.comment}r=e}e.items[n]=el(r)?r:new Gl(r)}}else t("Expected a sequence for this tag");return e}function Tc(e,t,n){const{replacer:r}=n,a=new oc(e);a.tag="tag:yaml.org,2002:pairs";let o=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let i,s;if("function"==typeof r&&(e=r.call(t,String(o++),e)),Array.isArray(e)){if(2!==e.length)throw new TypeError(`Expected [key, value] tuple: ${e}`);i=e[0],s=e[1]}else if(e&&e instanceof Object){const t=Object.keys(e);if(1!==t.length)throw new TypeError(`Expected tuple with one key, not ${t.length} keys`);i=t[0],s=e[i]}else i=e;a.items.push(Yl(i,s,n))}return a}const Cc={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Ec,createNode:Tc};class Ac extends oc{constructor(){super(),this.add=rc.prototype.add.bind(this),this.delete=rc.prototype.delete.bind(this),this.get=rc.prototype.get.bind(this),this.has=rc.prototype.has.bind(this),this.set=rc.prototype.set.bind(this),this.tag=Ac.tag}toJSON(e,t){if(!t)return super.toJSON(e);const n=new Map;(null==t?void 0:t.onCreate)&&t.onCreate(n);for(const e of this.items){let r,a;if(el(e)?(r=vl(e.key,"",t),a=vl(e.value,r,t)):r=vl(e,"",t),n.has(r))throw new Error("Ordered maps must not include duplicate keys");n.set(r,a)}return n}static from(e,t,n){const r=Tc(e,t,n),a=new this;return a.items=r.items,a}}Ac.tag="tag:yaml.org,2002:omap";const Pc={collection:"seq",identify:e=>e instanceof Map,nodeClass:Ac,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){const n=Ec(e,t),r=[];for(const{key:e}of n.items)tl(e)&&(r.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):r.push(e.value));return Object.assign(new Ac,n)},createNode:(e,t,n)=>Ac.from(e,t,n)};function Dc({value:e,source:t},n){return t&&(e?Rc:$c).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}const Rc={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new xl(!0),stringify:Dc},$c={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new xl(!1),stringify:Dc},Nc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:uc},Mc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){const t=Number(e.value);return isFinite(t)?t.toExponential():uc(e)}},Ic={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){const t=new xl(parseFloat(e.replace(/_/g,""))),n=e.indexOf(".");if(-1!==n){const r=e.substring(n+1).replace(/_/g,"");"0"===r[r.length-1]&&(t.minFractionDigits=r.length)}return t},stringify:uc},Lc=e=>"bigint"==typeof e||Number.isInteger(e);function jc(e,t,n,{intAsBigInt:r}){const a=e[0];if("-"!==a&&"+"!==a||(t+=1),e=e.substring(t).replace(/_/g,""),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}const t=BigInt(e);return"-"===a?BigInt(-1)*t:t}const o=parseInt(e,n);return"-"===a?-1*o:o}function Bc(e,t,n){const{value:r}=e;if(Lc(r)){const e=r.toString(t);return r<0?"-"+n+e.substr(1):n+e}return uc(e)}const Qc={identify:Lc,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>jc(e,2,2,n),stringify:e=>Bc(e,2,"0b")},Uc={identify:Lc,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>jc(e,1,8,n),stringify:e=>Bc(e,8,"0")},Fc={identify:Lc,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>jc(e,0,10,n),stringify:uc},zc={identify:Lc,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>jc(e,2,16,n),stringify:e=>Bc(e,16,"0x")};class qc extends rc{constructor(e){super(e),this.tag=qc.tag}add(e){let t;t=el(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new Gl(e.key,null):new Gl(e,null),nc(this.items,t.key)||this.items.push(t)}get(e,t){const n=nc(this.items,e);return!t&&el(n)?tl(n.key)?n.key.value:n.key:n}set(e,t){if("boolean"!=typeof t)throw new Error("Expected boolean value for set(key, value) in a YAML set, not "+typeof t);const n=nc(this.items,e);n&&!t?this.items.splice(this.items.indexOf(n),1):!n&&t&&this.items.push(new Gl(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw new Error("Set items must all have null values")}static from(e,t,n){const{replacer:r}=n,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof r&&(e=r.call(t,e,e)),a.items.push(Yl(e,null,n));return a}}qc.tag="tag:yaml.org,2002:set";const Hc={collection:"map",identify:e=>e instanceof Set,nodeClass:qc,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,n)=>qc.from(e,t,n),resolve(e,t){if(Js(e)){if(e.hasAllNullValues(!0))return Object.assign(new qc,e);t("Set items must all have null values")}else t("Expected a mapping for this tag");return e}};function Vc(e,t){const n=e[0],r="-"===n||"+"===n?e.substring(1):e,a=e=>t?BigInt(e):Number(e),o=r.replace(/_/g,"").split(":").reduce(((e,t)=>e*a(60)+a(t)),a(0));return"-"===n?a(-1)*o:o}function Zc(e){let{value:t}=e,n=e=>e;if("bigint"==typeof t)n=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return uc(e);let r="";t<0&&(r="-",t*=n(-1));const a=n(60),o=[t%a];return t<60?o.unshift(0):(t=(t-o[0])/a,o.unshift(t%a),t>=60&&(t=(t-o[0])/a,o.unshift(t))),r+o.map((e=>String(e).padStart(2,"0"))).join(":").replace(/000000\d*$/,"")}const Wc={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:n})=>Vc(e,n),stringify:Zc},Xc={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>Vc(e,!1),stringify:Zc},Yc={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){const t=e.match(Yc.test);if(!t)throw new Error("!!timestamp expects a date, starting with yyyy-mm-dd");const[,n,r,a,o,i,s]=t.map(Number),l=t[7]?Number((t[7]+"00").substr(1,3)):0;let c=Date.UTC(n,r-1,a,o||0,i||0,s||0,l);const d=t[8];if(d&&"Z"!==d){let e=Vc(d,!1);Math.abs(e)<30&&(e*=60),c-=6e4*e}return new Date(c)},stringify:({value:e})=>e.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")},Gc=[ac,sc,lc,cc,Rc,$c,Qc,Uc,Fc,zc,Nc,Mc,Ic,Sc,Pc,Cc,Hc,Wc,Xc,Yc],Kc=new Map([["core",wc],["failsafe",[ac,sc,lc]],["json",_c],["yaml11",Gc],["yaml-1.1",Gc]]),Jc={binary:Sc,bool:dc,float:fc,floatExp:hc,floatNaN:pc,floatTime:Xc,int:yc,intHex:Oc,intOct:bc,intTime:Wc,map:ac,null:cc,omap:Pc,pairs:Cc,seq:sc,set:Hc,timestamp:Yc},ed={"tag:yaml.org,2002:binary":Sc,"tag:yaml.org,2002:omap":Pc,"tag:yaml.org,2002:pairs":Cc,"tag:yaml.org,2002:set":Hc,"tag:yaml.org,2002:timestamp":Yc};function td(e,t){let n=Kc.get(t);if(!n){if(!Array.isArray(e)){const e=Array.from(Kc.keys()).filter((e=>"yaml11"!==e)).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}n=[]}if(Array.isArray(e))for(const t of e)n=n.concat(t);else"function"==typeof e&&(n=e(n.slice()));return n.map((e=>{if("string"!=typeof e)return e;const t=Jc[e];if(t)return t;const n=Object.keys(Jc).map((e=>JSON.stringify(e))).join(", ");throw new Error(`Unknown custom tag "${e}"; use one of ${n}`)}))}const nd=(e,t)=>e.keyt.key?1:0;class rd{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,Ys,{value:Hs});let r=null;"function"==typeof t||Array.isArray(t)?r=t:void 0===n&&t&&(n=t,t=void 0);const a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,uniqueKeys:!0,version:"1.2"},n);this.options=a;let{version:o}=a;(null==n?void 0:n._directives)?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new pl({version:o}),this.setSchema(o,n),this.contents=void 0===e?null:this.createNode(e,r,n)}clone(){const e=Object.create(rd.prototype,{[Ys]:{value:Hs}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=al(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){ad(this.contents)&&this.contents.add(e)}addIn(e,t){ad(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){const n=fl(this);e.anchor=!t||n.has(t)?ml(t||"a",n):t}return new yl(e.anchor)}createNode(e,t,n){let r;if("function"==typeof t)e=t.call({"":e},"",e),r=t;else if(Array.isArray(t)){const e=e=>"number"==typeof e||e instanceof String||e instanceof Number,n=t.filter(e).map(String);n.length>0&&(t=t.concat(n)),r=t}else void 0===n&&t&&(n=t,t=void 0);const{aliasDuplicateObjects:a,anchorPrefix:o,flow:i,keepUndefined:s,onTagObj:l,tag:c}=n??{},{onAnchor:d,setAnchors:u,sourceObjects:p}=function(e,t){const n=[],r=new Map;let a=null;return{onAnchor:r=>{n.push(r),a||(a=fl(e));const o=ml(t,a);return a.add(o),o},setAnchors:()=>{for(const e of n){const t=r.get(e);if("object"!=typeof t||!t.anchor||!tl(t.node)&&!rl(t.node)){const t=new Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}t.node.anchor=t.anchor}},sourceObjects:r}}(this,o||"a"),h=_l(e,c,{aliasDuplicateObjects:a??!0,keepUndefined:s??!1,onAnchor:d,onTagObj:l,replacer:r,schema:this.schema,sourceObjects:p});return i&&rl(h)&&(h.flow=!0),u(),h}createPair(e,t,n={}){const r=this.createNode(e,null,n),a=this.createNode(t,null,n);return new Gl(r,a)}delete(e){return!!ad(this.contents)&&this.contents.delete(e)}deleteIn(e){return El(e)?null!=this.contents&&(this.contents=null,!0):!!ad(this.contents)&&this.contents.deleteIn(e)}get(e,t){return rl(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return El(e)?!t&&tl(this.contents)?this.contents.value:this.contents:rl(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!rl(this.contents)&&this.contents.has(e)}hasIn(e){return El(e)?void 0!==this.contents:!!rl(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=Sl(this.schema,[e],t):ad(this.contents)&&this.contents.set(e,t)}setIn(e,t){El(e)?this.contents=t:null==this.contents?this.contents=Sl(this.schema,Array.from(e),t):ad(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let n;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new pl({version:"1.1"}),n={merge:!0,resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new pl({version:e}),n={merge:!1,resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,n=null;break;default:{const t=JSON.stringify(e);throw new Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else{if(!n)throw new Error("With a null YAML version, the { schema: Schema } option is required");this.schema=new class e{constructor({compat:e,customTags:t,merge:n,resolveKnownTags:r,schema:a,sortMapEntries:o,toStringDefaults:i}){this.compat=Array.isArray(e)?td(e,"compat"):e?td(null,e):null,this.merge=!!n,this.name="string"==typeof a&&a||"core",this.knownTags=r?ed:{},this.tags=td(t,this.name),this.toStringOptions=i??null,Object.defineProperty(this,Vs,{value:ac}),Object.defineProperty(this,Ws,{value:lc}),Object.defineProperty(this,Xs,{value:sc}),this.sortMapEntries="function"==typeof o?o:!0===o?nd:null}clone(){const t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}(Object.assign(n,t))}}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:a,reviver:o}={}){const i={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===n,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},s=vl(this.contents,t??"",i);if("function"==typeof a)for(const{count:e,res:t}of i.anchors.values())a(t,e);return"function"==typeof o?gl(o,{"":s},"",s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){const t=JSON.stringify(e.indent);throw new Error(`"indent" option must be a positive integer, not ${t}`)}return function(e,t){var n;const r=[];let a=!0===t.directives;if(!1!==t.directives&&e.directives){const t=e.directives.toString(e);t?(r.push(t),a=!0):e.directives.docStart&&(a=!0)}a&&r.push("---");const o=ql(e,t),{commentString:i}=o.options;if(e.commentBefore){1!==r.length&&r.unshift("");const t=i(e.commentBefore);r.unshift(Al(t,""))}let s=!1,l=null;if(e.contents){if(al(e.contents)){if(e.contents.spaceBefore&&a&&r.push(""),e.contents.commentBefore){const t=i(e.contents.commentBefore);r.push(Al(t,""))}o.forceBlockIndent=!!e.comment,l=e.contents.comment}const t=l?void 0:()=>s=!0;let n=Hl(e.contents,o,(()=>l=null),t);l&&(n+=Pl(n,"",i(l))),"|"!==n[0]&&">"!==n[0]||"---"!==r[r.length-1]?r.push(n):r[r.length-1]=`--- ${n}`}else r.push(Hl(e.contents,o));if(null==(n=e.directives)?void 0:n.docEnd)if(e.comment){const t=i(e.comment);t.includes("\n")?(r.push("..."),r.push(Al(t,""))):r.push(`... ${t}`)}else r.push("...");else{let t=e.comment;t&&s&&(t=t.replace(/^\n+/,"")),t&&(s&&!l||""===r[r.length-1]||r.push(""),r.push(Al(i(t),"")))}return r.join("\n")+"\n"}(this,e)}}function ad(e){if(rl(e))return!0;throw new Error("Expected a YAML collection as document contents")}class od extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}}class id extends od{constructor(e,t,n){super("YAMLParseError",e,t,n)}}class sd extends od{constructor(e,t,n){super("YAMLWarning",e,t,n)}}const ld=(e,t)=>n=>{if(-1===n.pos[0])return;n.linePos=n.pos.map((e=>t.linePos(e)));const{line:r,col:a}=n.linePos[0];n.message+=` at line ${r}, column ${a}`;let o=a-1,i=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,"");if(o>=60&&i.length>80){const e=Math.min(o-39,i.length-79);i="…"+i.substring(e),o-=e-1}if(i.length>80&&(i=i.substring(0,79)+"…"),r>1&&/^ *$/.test(i.substring(0,o))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+"…\n"),i=n+i}if(/[^ ]/.test(i)){let e=1;const t=n.linePos[1];t&&t.line===r&&t.col>a&&(e=Math.max(1,Math.min(t.col-a,80-o)));const s=" ".repeat(o)+"^".repeat(e);n.message+=`:\n\n${i}\n${s}\n`}};function cd(e,{flow:t,indicator:n,next:r,offset:a,onError:o,parentIndent:i,startOnNewline:s}){let l=!1,c=s,d=s,u="",p="",h=!1,f=!1,m=!1,g=null,v=null,b=null,y=null,O=null,w=null;for(const a of e)switch(m&&("space"!==a.type&&"newline"!==a.type&&"comma"!==a.type&&o(a.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m=!1),g&&(c&&"comment"!==a.type&&"newline"!==a.type&&o(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),g=null),a.type){case"space":t||"doc-start"===n&&"flow-collection"===(null==r?void 0:r.type)||!a.source.includes("\t")||(g=a),d=!0;break;case"comment":{d||o(a,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const e=a.source.substring(1)||" ";u?u+=p+e:u=e,p="",c=!1;break}case"newline":c?u?u+=a.source:l=!0:p+=a.source,c=!0,h=!0,(v||b)&&(f=!0),d=!0;break;case"anchor":v&&o(a,"MULTIPLE_ANCHORS","A node can have at most one anchor"),a.source.endsWith(":")&&o(a.offset+a.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),v=a,null===w&&(w=a.offset),c=!1,d=!1,m=!0;break;case"tag":b&&o(a,"MULTIPLE_TAGS","A node can have at most one tag"),b=a,null===w&&(w=a.offset),c=!1,d=!1,m=!0;break;case n:(v||b)&&o(a,"BAD_PROP_ORDER",`Anchors and tags must be after the ${a.source} indicator`),O&&o(a,"UNEXPECTED_TOKEN",`Unexpected ${a.source} in ${t??"collection"}`),O=a,c="seq-item-ind"===n||"explicit-key-ind"===n,d=!1;break;case"comma":if(t){y&&o(a,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),y=a,c=!1,d=!1;break}default:o(a,"UNEXPECTED_TOKEN",`Unexpected ${a.type} token`),c=!1,d=!1}const x=e[e.length-1],k=x?x.offset+x.source.length:a;return m&&r&&"space"!==r.type&&"newline"!==r.type&&"comma"!==r.type&&("scalar"!==r.type||""!==r.source)&&o(r.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),g&&(c&&g.indent<=i||"block-map"===(null==r?void 0:r.type)||"block-seq"===(null==r?void 0:r.type))&&o(g,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:y,found:O,spaceBefore:l,comment:u,hasNewline:h,hasNewlineAfterProp:f,anchor:v,tag:b,end:k,start:w??k}}function dd(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end)for(const t of e.end)if("newline"===t.type)return!0;return!1;case"flow-collection":for(const t of e.items){for(const e of t.start)if("newline"===e.type)return!0;if(t.sep)for(const e of t.sep)if("newline"===e.type)return!0;if(dd(t.key)||dd(t.value))return!0}return!1;default:return!0}}function ud(e,t,n){if("flow-collection"===(null==t?void 0:t.type)){const r=t.end[0];r.indent!==e||"]"!==r.source&&"}"!==r.source||!dd(t)||n(r,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function pd(e,t,n){const{uniqueKeys:r}=e.options;if(!1===r)return!1;const a="function"==typeof r?r:(t,n)=>t===n||tl(t)&&tl(n)&&t.value===n.value&&!("<<"===t.value&&e.schema.merge);return t.some((e=>a(e.key,n)))}const hd="All mapping items must start at the same column";function fd(e,t,n,r){let a="";if(e){let o=!1,i="";for(const s of e){const{source:e,type:l}=s;switch(l){case"space":o=!0;break;case"comment":{n&&!o&&r(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");const t=e.substring(1)||" ";a?a+=i+t:a=t,i="";break}case"newline":a&&(i+=e),o=!0;break;default:r(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:a,offset:t}}const md="Block collections are not allowed within flow collections",gd=e=>e&&("block-map"===e.type||"block-seq"===e.type);function vd(e,t,n,r,a,o){const i="block-map"===n.type?function({composeNode:e,composeEmptyNode:t},n,r,a,o){var i;const s=new((null==o?void 0:o.nodeClass)??rc)(n.schema);n.atRoot&&(n.atRoot=!1);let l=r.offset,c=null;for(const o of r.items){const{start:d,key:u,sep:p,value:h}=o,f=cd(d,{indicator:"explicit-key-ind",next:u??(null==p?void 0:p[0]),offset:l,onError:a,parentIndent:r.indent,startOnNewline:!0}),m=!f.found;if(m){if(u&&("block-seq"===u.type?a(l,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==r.indent&&a(l,"BAD_INDENT",hd)),!f.anchor&&!f.tag&&!p){c=f.end,f.comment&&(s.comment?s.comment+="\n"+f.comment:s.comment=f.comment);continue}(f.hasNewlineAfterProp||dd(u))&&a(u??d[d.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else(null==(i=f.found)?void 0:i.indent)!==r.indent&&a(l,"BAD_INDENT",hd);const g=f.end,v=u?e(n,u,f,a):t(n,g,d,null,f,a);n.schema.compat&&ud(r.indent,u,a),pd(n,s.items,v)&&a(g,"DUPLICATE_KEY","Map keys must be unique");const b=cd(p??[],{indicator:"map-value-ind",next:h,offset:v.range[2],onError:a,parentIndent:r.indent,startOnNewline:!u||"block-scalar"===u.type});if(l=b.end,b.found){m&&("block-map"!==(null==h?void 0:h.type)||b.hasNewline||a(l,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),n.options.strict&&f.start0){const e=fd(h,f,n.options.strict,a);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[r.offset,f,e.offset]}else l.range=[r.offset,f,f];return l}(e,t,n,r,o),s=i.constructor;return"!"===a||a===s.tagName?(i.tag=s.tagName,i):(a&&(i.tag=a),i)}function bd(e){let t,n;try{t=new RegExp("(.*?)(?"===a.mode?xl.BLOCK_FOLDED:xl.BLOCK_LITERAL,i=t.source?function(e){const t=e.split(/\n( *)/),n=t[0],r=n.match(/^( *)/),a=[(null==r?void 0:r[1])?[r[1],n.slice(r[1].length)]:["",n]];for(let e=1;e=0;--e){const t=i[e][1];if(""!==t&&"\r"!==t)break;s=e}if(0===s){const e="+"===a.chomp&&i.length>0?"\n".repeat(Math.max(1,i.length-1)):"";let n=r+a.length;return t.source&&(n+=t.source.length),{value:e,type:o,comment:a.comment,range:[r,n,n]}}let l=t.indent+a.indent,c=t.offset+a.length,d=0;for(let t=0;tl&&(l=r.length),c+=r.length+o.length+1}for(let e=i.length-1;e>=s;--e)i[e][0].length>l&&(s=e+1);let u="",p="",h=!1;for(let e=0;el||"\t"===r[0]?(" "===p?p="\n":h||"\n"!==p||(p="\n\n"),u+=p+t.slice(l)+r,p="\n",h=!0):""===r?"\n"===p?u+="\n":p="\n":(u+=p+r,p=" ",h=!1)}switch(a.chomp){case"-":break;case"+":for(let e=s;en(r+e,t,a);switch(a){case"scalar":s=xl.PLAIN,l=function(e,t){let n="";switch(e[0]){case"\t":n="a tab character";break;case",":n="flow indicator character ,";break;case"%":n="directive indicator character %";break;case"|":case">":n=`block scalar indicator ${e[0]}`;break;case"@":case"`":n=`reserved character ${e[0]}`}return n&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${n}`),bd(e)}(o,c);break;case"single-quoted-scalar":s=xl.QUOTE_SINGLE,l=function(e,t){return"'"===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR","Missing closing 'quote"),bd(e.slice(1,-1)).replace(/''/g,"'")}(o,c);break;case"double-quoted-scalar":s=xl.QUOTE_DOUBLE,l=function(e,t){let n="";for(let r=1;rt?e.slice(t,r+1):a)}else n+=a}return'"'===e[e.length-1]&&1!==e.length||t(e.length,"MISSING_CHAR",'Missing closing "quote'),n}(o,c);break;default:return n(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${a}`),{value:"",type:null,comment:"",range:[r,r+o.length,r+o.length]}}const d=r+o.length,u=fd(i,d,t,n);return{value:l,type:s,comment:u.comment,range:[r,d,u.offset]}}(t,e.options.strict,r),l=n?e.directives.tagName(n.source,(e=>r(n,"TAG_RESOLVE_FAILED",e))):null,c=n&&l?function(e,t,n,r,a){var o;if("!"===n)return e[Ws];const i=[];for(const t of e.tags)if(!t.collection&&t.tag===n){if(!t.default||!t.test)return t;i.push(t)}for(const e of i)if(null==(o=e.test)?void 0:o.test(t))return e;const s=e.knownTags[n];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(a(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${n}`,"tag:yaml.org,2002:str"!==n),e[Ws])}(e.schema,a,l,n,r):"scalar"===t.type?function({directives:e,schema:t},n,r,a){const o=t.tags.find((e=>{var t;return e.default&&(null==(t=e.test)?void 0:t.test(n))}))||t[Ws];if(t.compat){const i=t.compat.find((e=>{var t;return e.default&&(null==(t=e.test)?void 0:t.test(n))}))??t[Ws];o.tag!==i.tag&&a(r,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${e.tagString(o.tag)} or ${e.tagString(i.tag)}`,!0)}return o}(e,a,t,r):e.schema[Ws];let d;try{const o=c.resolve(a,(e=>r(n??t,"TAG_RESOLVE_FAILED",e)),e.options);d=tl(o)?o:new xl(o)}catch(e){const o=e instanceof Error?e.message:String(e);r(n??t,"TAG_RESOLVE_FAILED",o),d=new xl(a)}return d.range=s,d.source=a,o&&(d.type=o),l&&(d.tag=l),c.format&&(d.format=c.format),i&&(d.comment=i),d}function kd(e,t,n){if(t){null===n&&(n=t.length);for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case"space":case"comment":case"newline":e-=n.source.length;continue}for(n=t[++r];"space"===(null==n?void 0:n.type);)e+=n.source.length,n=t[++r];break}}return e}const _d={composeNode:Sd,composeEmptyNode:Ed};function Sd(e,t,n,r){const{spaceBefore:a,comment:o,anchor:i,tag:s}=n;let l,c=!0;switch(t.type){case"alias":l=function({options:e},{offset:t,source:n,end:r},a){const o=new yl(n.substring(1));""===o.source&&a(t,"BAD_ALIAS","Alias cannot be an empty string"),o.source.endsWith(":")&&a(t+n.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);const i=t+n.length,s=fd(r,i,e.strict,a);return o.range=[t,i,s.offset],s.comment&&(o.comment=s.comment),o}(e,t,r),(i||s)&&r(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":l=xd(e,t,s,r),i&&(l.anchor=i.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":l=function(e,t,n,r,a){var o;const i=r?t.directives.tagName(r.source,(e=>a(r,"TAG_RESOLVE_FAILED",e))):null,s="block-map"===n.type?"map":"block-seq"===n.type?"seq":"{"===n.start.source?"map":"seq";if(!r||!i||"!"===i||i===rc.tagName&&"map"===s||i===oc.tagName&&"seq"===s||!s)return vd(e,t,n,a,i);let l=t.schema.tags.find((e=>e.tag===i&&e.collection===s));if(!l){const o=t.schema.knownTags[i];if(!o||o.collection!==s)return(null==o?void 0:o.collection)?a(r,"BAD_COLLECTION_TYPE",`${o.tag} used for ${s} collection, but expects ${o.collection}`,!0):a(r,"TAG_RESOLVE_FAILED",`Unresolved tag: ${i}`,!0),vd(e,t,n,a,i);t.schema.tags.push(Object.assign({},o,{default:!1})),l=o}const c=vd(e,t,n,a,i,l),d=(null==(o=l.resolve)?void 0:o.call(l,c,(e=>a(r,"TAG_RESOLVE_FAILED",e)),t.options))??c,u=al(d)?d:new xl(d);return u.range=c.range,u.tag=i,(null==l?void 0:l.format)&&(u.format=l.format),u}(_d,e,t,s,r),i&&(l.anchor=i.source.substring(1));break;default:r(t,"UNEXPECTED_TOKEN","error"===t.type?t.message:`Unsupported token (type: ${t.type})`),l=Ed(e,t.offset,void 0,null,n,r),c=!1}return i&&""===l.anchor&&r(i,"BAD_ALIAS","Anchor cannot be an empty string"),a&&(l.spaceBefore=!0),o&&("scalar"===t.type&&""===t.source?l.comment=o:l.commentBefore=o),e.options.keepSourceTokens&&c&&(l.srcToken=t),l}function Ed(e,t,n,r,{spaceBefore:a,comment:o,anchor:i,tag:s,end:l},c){const d=xd(e,{type:"scalar",offset:kd(t,n,r),indent:-1,source:""},s,c);return i&&(d.anchor=i.source.substring(1),""===d.anchor&&c(i,"BAD_ALIAS","Anchor cannot be an empty string")),a&&(d.spaceBefore=!0),o&&(d.comment=o,d.range[2]=l),d}function Td(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];const{offset:t,source:n}=e;return[t,t+("string"==typeof n?n.length:1)]}function Cd(e){var t;let n="",r=!1,a=!1;for(let o=0;o{const a=Td(e);r?this.warnings.push(new sd(a,t,n)):this.errors.push(new id(a,t,n))},this.directives=new pl({version:e.version||"1.2"}),this.options=e}decorate(e,t){const{comment:n,afterEmptyLine:r}=Cd(this.prelude);if(n){const a=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!a)e.commentBefore=n;else if(rl(a)&&!a.flow&&a.items.length>0){let e=a.items[0];el(e)&&(e=e.key);const t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{const e=a.commentBefore;a.commentBefore=e?`${n}\n${e}`:n}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:Cd(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,n=-1){for(const t of e)yield*this.next(t);yield*this.end(t,n)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,((t,n,r)=>{const a=Td(e);a[0]+=t,this.onError(a,"BAD_DIRECTIVE",n,r)})),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{const t=function(e,t,{offset:n,start:r,value:a,end:o},i){const s=Object.assign({_directives:t},e),l=new rd(void 0,s),c={atRoot:!0,directives:l.directives,options:l.options,schema:l.schema},d=cd(r,{indicator:"doc-start",next:a??(null==o?void 0:o[0]),offset:n,onError:i,parentIndent:0,startOnNewline:!0});d.found&&(l.directives.docStart=!0,!a||"block-map"!==a.type&&"block-seq"!==a.type||d.hasNewline||i(d.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),l.contents=a?Sd(c,a,d,i):Ed(c,d.end,r,null,d,i);const u=l.contents.range[2],p=fd(o,u,!1,i);return p.comment&&(l.comment=p.comment),l.range=[n,u,p.offset],l}(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{const t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new id(Td(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case"doc-end":{if(!this.doc){const t="Unexpected doc-end without preceding document";this.errors.push(new id(Td(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;const t=fd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){const e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new id(Td(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){const e=Object.assign({_directives:this.directives},this.options),n=new rd(void 0,e);this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),n.range=[0,t,t],this.decorate(n,!1),yield n}}}function Pd(e){switch(e){case void 0:case" ":case"\n":case"\r":case"\t":return!0;default:return!1}}const Dd=new Set("0123456789ABCDEFabcdef"),Rd=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),$d=new Set(",[]{}"),Nd=new Set(" ,[]{}\n\r\t"),Md=e=>!e||Nd.has(e);class Id{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??"stream";for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||"\t"===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];if(this.indentNext>0){let n=0;for(;" "===t;)t=this.buffer[++n+e];if("\r"===t){const t=this.buffer[n+e+1];if("\n"===t||!t&&!this.atEnd)return e+n+1}return"\n"===t||n>=this.indentNext||!t&&!this.atEnd?e+n:-1}if("-"===t||"."===t){const t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&Pd(this.buffer[e+3]))return-1}return e}getLine(){let e=this.lineEndPos;return("number"!=typeof e||-1!==e&ðis.indentValue&&!Pd(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){const[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&Pd(t)){const e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);const e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(Md),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=(yield*this.parseBlockScalarHeader()),t+=(yield*this.pushSpaces(!0)),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,n=-1;do{e=yield*this.pushNewline(),e>0?(t=yield*this.pushSpaces(!1),this.indentValue=n=t):t=0,t+=(yield*this.pushSpaces(!0))}while(e+t>0);const r=this.getLine();if(null===r)return this.setNext("flow");if((-1!==n&&n"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil((e=>Pd(e)||"#"===e))}*parseBlockScalar(){let e,t=this.pos-1,n=0;e:for(let r=this.pos;e=this.buffer[r];++r)switch(e){case" ":n+=1;break;case"\n":t=r,n=0;break;case"\r":{const e=this.buffer[r+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break e}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(n>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=n:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{const e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let r=t+1;for(e=this.buffer[r];" "===e;)e=this.buffer[++r];if("\t"===e){for(;"\t"===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++r];t=r-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,r=this.buffer[e];"\r"===r&&(r=this.buffer[--e]);const a=e;for(;" "===r;)r=this.buffer[--e];if(!("\n"===r&&e>=this.pos&&e+1+n>a))break;t=e}return yield"",yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){const e=this.flowLevel>0;let t,n=this.pos-1,r=this.pos-1;for(;t=this.buffer[++r];)if(":"===t){const t=this.buffer[r+1];if(Pd(t)||e&&$d.has(t))break;n=r}else if(Pd(t)){let a=this.buffer[r+1];if("\r"===t&&("\n"===a?(r+=1,t="\n",a=this.buffer[r+1]):n=r),"#"===a||e&&$d.has(a))break;if("\n"===t){const e=this.continueScalar(r+1);if(-1===e)break;r=Math.max(r,e-2)}}else{if(e&&$d.has(t))break;n=r}return t||this.atEnd?(yield"",yield*this.pushToIndex(n+1,!0),e?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){const n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(Md))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{const e=this.flowLevel>0,t=this.charAt(1);if(Pd(t)||e&&$d.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!Pd(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(Rd.has(t))t=this.buffer[++e];else{if("%"!==t||!Dd.has(this.buffer[e+1])||!Dd.has(this.buffer[e+2]))break;t=this.buffer[e+=3]}return yield*this.pushToIndex(e,!1)}}*pushNewline(){const e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,n=this.pos-1;do{t=this.buffer[++n]}while(" "===t||e&&"\t"===t);const r=n-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=n),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class Ld{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]=0;)switch(e[n].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break e}for(;"space"===(null==(t=e[++n])?void 0:t.type););return e.splice(n,e.length)}function zd(e){if("flow-seq-start"===e.start.type)for(const t of e.items)!t.sep||t.value||jd(t.start,"explicit-key-ind")||jd(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,Qd(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}let qd=class{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new Id,this.onNewLine=e}*parse(e,t=!1){this.onNewLine&&0===this.offset&&this.onNewLine(0);for(const n of this.lexer.lex(e,t))yield*this.next(n);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar)return this.atScalar=!1,yield*this.step(),void(this.offset+=e.length);const t=function(e){switch(e){case"\ufeff":return"byte-order-mark";case"":return"doc-mode";case"":return"flow-error-end";case"":return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case"\t":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}(e);if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{const t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){const e=this.peek(1);if("doc-end"!==this.type||e&&"doc-end"===e.type){if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}else{for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source})}}peek(e){return this.stack[this.stack.length-e]}*pop(e){const t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{const e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&zd(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{const n=e.items[e.items.length-1];if(n.value)return e.items.push({start:[],key:t,sep:[]}),void(this.onKeyLine=!0);if(!n.sep)return Object.assign(n,{key:t,sep:[]}),void(this.onKeyLine=!n.explicitKey);n.value=t;break}case"block-seq":{const n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case"flow-collection":{const n=e.items[e.items.length-1];return void(!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]}))}default:yield*this.pop(),yield*this.pop(t)}if(!("document"!==e.type&&"block-map"!==e.type&&"block-seq"!==e.type||"block-map"!==t.type&&"block-seq"!==t.type)){const n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&-1===Bd(n.start)&&(0===t.indent||n.start.every((e=>"comment"!==e.type||e.indent=e.indent){const t=!this.onKeyLine&&this.indent===e.indent,r=t&&(n.sep||n.explicitKey)&&"seq-item-ind"!==this.type;let a=[];if(r&&n.sep&&!n.value){const t=[];for(let r=0;re.indent&&(t.length=0);break;default:t.length=0}}t.length>=2&&(a=n.sep.splice(t[1]))}switch(this.type){case"anchor":case"tag":return void(r||n.value?(a.push(this.sourceToken),e.items.push({start:a}),this.onKeyLine=!0):n.sep?n.sep.push(this.sourceToken):n.start.push(this.sourceToken));case"explicit-key-ind":return n.sep||n.explicitKey?r||n.value?(a.push(this.sourceToken),e.items.push({start:a,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(n.start.push(this.sourceToken),n.explicitKey=!0),void(this.onKeyLine=!0);case"map-value-ind":if(n.explicitKey)if(n.sep)if(n.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(jd(n.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(Qd(n.key)&&!jd(n.sep,"newline")){const e=Fd(n.start),t=n.key,r=n.sep;r.push(this.sourceToken),delete n.key,delete n.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:t,sep:r}]})}else a.length>0?n.sep=n.sep.concat(a,this.sourceToken):n.sep.push(this.sourceToken);else if(jd(n.start,"newline"))Object.assign(n,{key:null,sep:[this.sourceToken]});else{const e=Fd(n.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else n.sep?n.value||r?e.items.push({start:a,key:null,sep:[this.sourceToken]}):jd(n.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):n.sep.push(this.sourceToken):Object.assign(n,{key:null,sep:[this.sourceToken]});return void(this.onKeyLine=!0);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const t=this.flowScalar(this.type);return void(r||n.value?(e.items.push({start:a,key:t,sep:[]}),this.onKeyLine=!0):n.sep?this.stack.push(t):(Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!0))}default:{const n=this.startBlockValue(e);if(n)return t&&"block-seq"!==n.type&&e.items.push({start:a}),void this.stack.push(n)}}}yield*this.pop(),yield*this.step()}*blockSequence(e){var t;const n=e.items[e.items.length-1];switch(this.type){case"newline":if(n.value){const t="end"in n.value?n.value.end:void 0,r=Array.isArray(t)?t[t.length-1]:void 0;"comment"===(null==r?void 0:r.type)?null==t||t.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else n.start.push(this.sourceToken);return;case"space":case"comment":if(n.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(n.start,e.indent)){const r=e.items[e.items.length-2],a=null==(t=null==r?void 0:r.value)?void 0:t.end;if(Array.isArray(a))return Array.prototype.push.apply(a,n.start),a.push(this.sourceToken),void e.items.pop()}n.start.push(this.sourceToken)}return;case"anchor":case"tag":if(n.value||this.indent<=e.indent)break;return void n.start.push(this.sourceToken);case"seq-item-ind":if(this.indent!==e.indent)break;return void(n.value||jd(n.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):n.start.push(this.sourceToken))}if(this.indent>e.indent){const t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){const t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do{yield*this.pop(),e=this.peek(1)}while(e&&"flow-collection"===e.type)}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":return void(!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken));case"map-value-ind":return void(!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]}));case"space":case"comment":case"newline":case"anchor":case"tag":return void(!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken));case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{const n=this.flowScalar(this.type);return void(!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]}))}case"flow-map-end":case"flow-seq-end":return void e.end.push(this.sourceToken)}const n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{const t=this.peek(2);if("block-map"===t.type&&("map-value-ind"===this.type&&t.indent===e.indent||"newline"===this.type&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if("map-value-ind"===this.type&&"flow-collection"!==t.type){const n=Fd(Ud(t));zd(e);const r=e.end.splice(1,e.end.length);r.push(this.sourceToken);const a={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=a}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const t=Fd(Ud(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const t=Fd(Ud(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every((e=>"newline"===e.type||"space"===e.type))}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}};const Hd={parse:e=>{const t=JSON.parse(e);if("object"!=typeof t)throw Error("Invalid JSON object");return t},parseSafe(e,t){try{return Hd.parse(e)}catch(e){return"function"==typeof t?t(e):t}},stringify:e=>JSON.stringify(e)},Vd=e=>"string"==typeof e&&!!Hd.parseSafe(e,!1);async function Zd(e,t){"https://api.scalar.com/request-proxy"===t&&(t="https://proxy.scalar.com");const n=await fetch(t?Us(t,e):e);return 200!==n.status&&(console.error(`[fetchSpecFromUrl] Failed to fetch the specification at ${e} (Status: ${n.status})`),t||console.warn(`[fetchSpecFromUrl] Tried to fetch the specification (url: ${e}) without a proxy. Are the CORS headers configured to allow cross-domain requests? https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS`)),function(e){if("{"!==e.trim()[0])return e;try{return JSON.stringify(JSON.parse(e),null,2)}catch{return e}}(await n.text())}const Wd={get:{short:"GET",color:"text-blue",backgroundColor:"bg-blue"},post:{short:"POST",color:"text-green",backgroundColor:"bg-green"},put:{short:"PUT",color:"text-orange",backgroundColor:"bg-orange"},patch:{short:"PATCH",color:"text-yellow",backgroundColor:"bg-yellow"},delete:{short:"DEL",color:"text-red",backgroundColor:"bg-red"},options:{short:"OPTS",color:"text-purple",backgroundColor:"bg-purple"},head:{short:"HEAD",color:"text-scalar-c-2",backgroundColor:"bg-c-2"},connect:{short:"CONN",color:"text-c-2",backgroundColor:"bg-c-2"},trace:{short:"TRACE",color:"text-c-2",backgroundColor:"bg-c-2"}},Xd=["post","put","patch","delete"],Yd=e=>Xd.includes(e),Gd=e=>{const t=e.trim().toLowerCase();return Wd[t]??{short:t,color:"text-c-2",backgroundColor:"bg-c-2"}},Kd={100:{name:"Continue",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/100"},101:{name:"Switching Protocols",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101"},102:{name:"Processing",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/102"},103:{name:"Early Hints",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/103"},200:{name:"OK",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/200"},201:{name:"Created",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/201"},202:{name:"Accepted",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/202"},203:{name:"Non-Authoritative Information",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/203"},204:{name:"No Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/204"},205:{name:"Reset Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/205"},206:{name:"Partial Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/206"},207:{name:"Multi-Status",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/207"},208:{name:"Already Reported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/208"},226:{name:"IM Used",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/226"},300:{name:"Multiple Choices",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/300"},301:{name:"Moved Permanently",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/301"},302:{name:"Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/302"},303:{name:"See Other",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/303"},304:{name:"Not Modified",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/304"},305:{name:"Use Proxy",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/305"},306:{name:"(Unused)",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/306"},307:{name:"Temporary Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/307"},308:{name:"Permanent Redirect",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/308"},400:{name:"Bad Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/400"},401:{name:"Unauthorized",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/401"},402:{name:"Payment Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/402"},403:{name:"Forbidden",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/403"},404:{name:"Not Found",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/404"},405:{name:"Method Not Allowed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/405"},406:{name:"Not Acceptable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/406"},407:{name:"Proxy Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407"},408:{name:"Request Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/408"},409:{name:"Conflict",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/409"},410:{name:"Gone",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/410"},411:{name:"Length Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/411"},412:{name:"Precondition Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/412"},413:{name:"Content Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/413"},414:{name:"URI Too Long",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/414"},415:{name:"Unsupported Media Type",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/415"},416:{name:"Range Not Satisfiable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/416"},417:{name:"Expectation Failed",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/417"},418:{name:"I'm a teapot",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/418"},421:{name:"Misdirected Request",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/421"},422:{name:"Unprocessable Content",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/422"},423:{name:"Locked",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/423"},424:{name:"Failed Dependency",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/424"},425:{name:"Too Early",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/425"},426:{name:"Upgrade Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/426"},428:{name:"Precondition Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/428"},429:{name:"Too Many Requests",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/429"},431:{name:"Request Header Fields Too Large",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/431"},451:{name:"Unavailable For Legal Reasons",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/451"},500:{name:"Internal Server Error",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/500"},501:{name:"Not Implemented",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/501"},502:{name:"Bad Gateway",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/502"},503:{name:"Service Unavailable",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/503"},504:{name:"Gateway Timeout",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/504"},505:{name:"HTTP Version Not Supported",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/505"},506:{name:"Variant Also Negotiates",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/506"},507:{name:"Insufficient Storage",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/507"},508:{name:"Loop Detected",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/508"},510:{name:"Not Extended",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/510"},511:{name:"Network Authentication Required",url:"https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/511"}},Jd=(e,t,n=" #")=>{if(!t(e))return e;const r=e.split(n),a=r.length>1?`${r.slice(0,-1).join()}${n}${Number(r.at(-1))+1}`:`${r.join()}${n}2`;return Jd(a,t,n)},eu="workspace";function tu(e){if(!e)return e;const t={...e};return Object.keys(t).forEach((e=>{const n=function(e){if("string"==typeof e)return e.replace(/;.*$/,"").replace(/\/.+\+/,"/").trim()}(e);void 0!==n&&(t[n]=t[e],e!==n&&delete t[e])})),t}function nu(e,t){return Object.keys(e).forEach((n=>{Object.hasOwn(t,n)||delete e[n]})),Object.assign(e,t),e}const ru=e=>{if("string"==typeof e)return Vd(e)?JSON.stringify(JSON.parse(e),null,2):e;if("object"==typeof e)try{return JSON.stringify(e,null,2)}catch{return function(e){const t=new Set;return JSON.stringify(e,((e,n)=>{if("object"==typeof n&&null!==n){if(t.has(n))return"[Circular]";t.add(n)}return n}),2)}(e)}return(null==e?void 0:e.toString())??""};function au(e,t){const n=(e,n)=>{var r;return"function"==typeof t?t(n):(null==(r=t[n])?void 0:r.toString())||`{${n}}`};return e.replace(/{{\s*([\w.-]+)\s*}}/g,n).replace(/{\s*([\w.-]+)\s*}/g,n)}function ou(e,t,n=!0,r){const a=t.safeParse(e);if(a.success||(console.group("Schema Error"),console.warn(JSON.stringify(a.error.format(),null,2)),console.log("Recieved: ",e),console.groupEnd()),n&&!a.success)throw new Error("Zod validation failure");return a.data}const iu="undefined"!=typeof window?window.__SCALAR__??{}:{},su=e=>e[0].toUpperCase()+e.slice(1),lu=/{{((?:[^{}]|{[^{}]*})*)}}/g,cu=new RegExp("(?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join("-")}const pu="get",hu=e=>{if("string"!=typeof e)return console.warn(`Request method is not a string. Using ${pu} as the default.`),pu;const t=e.trim().toUpperCase();return n=t,Is.includes(n)?t:(console.warn(`${e} is not a valid request method. Using ${pu} as the default.`),pu);var n},fu=mn({showApiClient:!1,activeApiClientEndpointId:"",activeItem:{},snippetType:"javascript"});function mu(e,t=!1){fu.showApiClient=!!t||!fu.showApiClient,e&&(fu.activeItem=e)}function gu(){fu.showApiClient=!1}function vu(e){fu.activeApiClientEndpointId=e}function bu(e){fu.snippetType=e}const yu=()=>({state:vn(fu),toggleApiClient:mu,setActiveApiClientEndpointId:vu,setSnippetType:bu,hideApiClient:gu}),Ou=mn(iu["useGlobalStore-authentication"]??{preferredSecurityScheme:null,customSecurity:!1,http:{basic:{username:"",password:""},bearer:{token:""}},apiKey:{token:""},oAuth2:{username:"",password:"",clientId:"",scopes:[],accessToken:"",state:""}}),wu=e=>Object.assign(Ou,e),xu=()=>({authentication:Ou,setAuthentication:wu}),ku=mn({operation:{},globalSecurity:[]}),_u=e=>{Object.assign(ku,{...ku,operation:e})},Su=e=>{Object.assign(ku,{...ku,globalSecurity:e})},Eu=()=>({openApi:ku,setOperation:_u,setGlobalSecurity:Su}),Tu=mn({}),Cu=Dn([]),Au=Dn(""),Pu=mn({name:"",url:"",type:"GET",path:"",variables:[],headers:[],query:[],body:"",formData:[]}),Du=yi((()=>{var e;return Au.value?null==(e=Tu[Au.value??""])?void 0:e.response:null})),Ru=Dn(!0);function $u(e,t){for(const[n,r]of Object.entries(e))null!==r&&"object"==typeof r?(t[n]??(t[n]=new r.__proto__.constructor),$u(r,t[n])):void 0!==r&&(t[n]=r);return t}function Nu(e){return $u(e??{},{info:{title:"",description:"",termsOfService:"",version:"",license:{name:"",url:""},contact:{email:""}},externalDocs:{description:"",url:""},servers:[],tags:[]})}const Mu=mn({selectedServer:null,servers:[],variables:{}}),Iu=e=>{Object.assign(Mu,{...Mu,...e})};function Lu(e,t){return Object.fromEntries(Object.entries(e).filter((([e])=>e in(t.variables??{}))))}const ju=({specification:e,defaultServerUrl:t,servers:n}={})=>(void 0!==(null==e?void 0:e.value)&&Ka((()=>[null==e?void 0:e.value,null==n?void 0:n.value,null==t?void 0:t.value]),(()=>{const r=function(e,t){var n;let r=[];return r=(null==e?void 0:e.servers)&&(null==e?void 0:e.servers.length)>0?e.servers:(null==e?void 0:e.host)?[{url:`${(null==(n=e.schemes)?void 0:n[0])??"http"}://${e.host}${(null==e?void 0:e.basePath)??""}`}]:[{url:(null==t?void 0:t.defaultServerUrl)?null==t?void 0:t.defaultServerUrl:"undefined"!=typeof window?window.location.origin:"/"}],((null==t?void 0:t.defaultServerUrl)||"undefined"!=typeof window)&&(r=r.map((e=>function(e,t){var n;return(null==(n=e.url)?void 0:n.match(/^(?!(https?|file):\/\/|{).+/))?(e.url=Qs((null==t?void 0:t.defaultServerUrl)?null==t?void 0:t.defaultServerUrl:"undefined"!=typeof window?window.location.origin:"",e.url),e):e}(e,t)))),r.map((e=>{const t=e.variables??{};return([...(e.url??"").matchAll(/(?:\{+)\s*(\w+)\s*(?:\}+)/g)].map((e=>e[1].trim()))||[]).filter((e=>!t[e])).forEach((t=>{void 0===e.variables&&(e.variables={}),e.variables[t]={default:""}})),e}))}(void 0===(null==n?void 0:n.value)?(null==e?void 0:e.value)??Nu():Nu({servers:n.value}),{defaultServerUrl:null==t?void 0:t.value}),a=null==r?void 0:r[Mu.selectedServer??0];var o;Iu({servers:r,variables:{...(o=(null==a?void 0:a.variables)??{},Object.fromEntries(Object.entries(o??{}).map((([e,t])=>{var n,r,a;return[e,(null==(n=t.default)?void 0:n.toString())??(null==(a=null==(r=t.enum)?void 0:r[0])?void 0:a.toString())??""]})))),...Lu(Mu.variables,(null==r?void 0:r[Mu.selectedServer??0])??{})}})}),{deep:!0,immediate:!0}),{server:Mu,setServer:Iu}),Bu="/* basic theme */\n.light-mode {\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #0099ff;\n --scalar-border-color: #dfdfdf;\n}\n.dark-mode {\n --scalar-background-1: #0f0f0f;\n --scalar-background-2: #1a1a1a;\n --scalar-background-3: #272727;\n\n --scalar-color-1: #e7e7e7;\n --scalar-color-2: #a4a4a4;\n --scalar-color-3: #797979;\n\n --scalar-color-accent: #3ea6ff;\n --scalar-background-accent: #3ea6ff1f;\n\n --scalar-border-color: #2d2d2d;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-2);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n",Qu=[["--theme-","--scalar-"],["--sidebar-","--scalar-sidebar-"]],Uu=Qu.map((([e])=>e));function Fu(){if(typeof window>"u")return!1;const e=document.createElement("div");e.setAttribute("style","width:30px;height:30px;overflow-y:scroll;"),e.classList.add("scrollbar-test");const t=document.createElement("div");t.setAttribute("style","width:100%;height:40px"),e.appendChild(t),document.body.appendChild(e);const n=30-e.firstChild.clientWidth;return document.body.removeChild(e),!!n}const zu={default:"Default",alternate:"Alternate",moon:"Moon",purple:"Purple",solarized:"Solarized",bluePlanet:"Blue Planet",saturn:"Saturn",kepler:"Kepler-11e",mars:"Mars",deepSpace:"Deep Space",none:""},qu={alternate:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode,\n.light-mode .dark-mode {\n --scalar-background-1: #f9f9f9;\n --scalar-background-2: #f1f1f1;\n --scalar-background-3: #e7e7e7;\n --scalar-background-card: #fff;\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: var(--scalar-background-3);\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n --scalar-background-1: #131313;\n --scalar-background-2: #1d1d1d;\n --scalar-background-3: #272727;\n --scalar-background-card: #1d1d1d;\n\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: var(--scalar-background-3);\n\n --scalar-border-color: rgba(255, 255, 255, 0.1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-indent-border: var(--scalar-sidebar-border-color);\n --scalar-sidebar-indent-border-hover: var(--scalar-sidebar-border-color);\n --scalar-sidebar-indent-border-active: var(--scalar-sidebar-border-color);\n}\n/* advanced */\n.light-mode .dark-mode,\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dd2f2c;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n\n.scalar-api-client__item,\n.scalar-card,\n.dark-mode .dark-mode.scalar-card {\n --scalar-background-1: var(--scalar-background-card);\n --scalar-background-2: var(--scalar-background-1);\n --scalar-background-3: var(--scalar-background-1);\n}\n.dark-mode .dark-mode.scalar-card {\n --scalar-background-3: var(--scalar-background-3);\n}\n.t-doc__sidebar {\n --scalar-color-green: var(--scalar-color-1);\n --scalar-color-red: var(--scalar-color-1);\n --scalar-color-yellow: var(--scalar-color-1);\n --scalar-color-blue: var(--scalar-color-1);\n --scalar-color-orange: var(--scalar-color-1);\n --scalar-color-purple: var(--scalar-color-1);\n}\n",default:Bu,moon:".light-mode {\n color-scheme: light;\n --scalar-color-1: #000000;\n --scalar-color-2: #000000;\n --scalar-color-3: #000000;\n --scalar-color-accent: #645b0f;\n --scalar-background-1: #ccc9b3;\n --scalar-background-2: #c2bfaa;\n --scalar-background-3: #b8b5a1;\n --scalar-background-accent: #000000;\n\n --scalar-border-color: rgba(0, 0, 0, 0.2);\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, var(--scalar-border-color) 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fffef3;\n --scalar-color-2: #fffef3;\n --scalar-color-3: #fffef3;\n --scalar-color-accent: #c3b531;\n --scalar-background-1: #313332;\n --scalar-background-2: #393b3a;\n --scalar-background-3: #414342;\n --scalar-background-accent: #fffef3;\n\n --scalar-border-color: rgba(255, 255, 255, 0.16);\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-background-1);\n --scalar-sidebar-search-background: var(--scalar-background-3);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-background-1);\n --scalar-sidebar-search-background: var(--scalar-background-3);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n",purple:"/* basic theme */\n.light-mode {\n --scalar-background-1: #fff;\n --scalar-background-2: #f5f6f8;\n --scalar-background-3: #eceef1;\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #5469d4;\n --scalar-background-accent: #5469d41f;\n\n --scalar-border-color: rgba(215, 215, 206, 0.68);\n}\n.dark-mode {\n --scalar-background-1: #15171c;\n --scalar-background-2: #1c1e24;\n --scalar-background-3: #22252b;\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: #c9ced8;\n --scalar-color-3: #8c99ad;\n\n --scalar-color-accent: #5469d4;\n --scalar-background-accent: #5469d41f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.18);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-3);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n",solarized:".light-mode {\n color-scheme: light;\n --scalar-color-1: #584c27;\n --scalar-color-2: #616161;\n --scalar-color-3: #a89f84;\n --scalar-color-accent: #b58900;\n --scalar-background-1: #fdf6e3;\n --scalar-background-2: #eee8d5;\n --scalar-background-3: #ddd6c1;\n --scalar-background-accent: #b589001f;\n\n --scalar-border-color: #ded8c8;\n --scalar-scrollbar-color: rgba(0, 0, 0, 0.18);\n --scalar-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n --scalar-lifted-brightness: 1;\n --scalar-backdrop-brightness: 1;\n\n --scalar-shadow-1: 0 1px 3px 0 rgba(0, 0, 0, 0.11);\n --scalar-shadow-2: rgba(0, 0, 0, 0.08) 0px 13px 20px 0px,\n rgba(0, 0, 0, 0.08) 0px 3px 8px 0px, #eeeeed 0px 0 0 1px;\n\n --scalar-button-1: rgb(49 53 56);\n --scalar-button-1-color: #fff;\n --scalar-button-1-hover: rgb(28 31 33);\n\n --scalar-color-red: #b91c1c;\n --scalar-color-orange: #a16207;\n --scalar-color-green: #047857;\n --scalar-color-blue: #1d4ed8;\n --scalar-color-orange: #c2410c;\n --scalar-color-purple: #6d28d9;\n}\n\n.dark-mode {\n color-scheme: dark;\n --scalar-color-1: #fff;\n --scalar-color-2: #cccccc;\n --scalar-color-3: #6d8890;\n --scalar-color-accent: #007acc;\n --scalar-background-1: #00212b;\n --scalar-background-2: #012b36;\n --scalar-background-3: #004052;\n --scalar-background-accent: #015a6f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.175);\n --scalar-scrollbar-color: rgba(255, 255, 255, 0.24);\n --scalar-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n --scalar-lifted-brightness: 1.45;\n --scalar-backdrop-brightness: 0.5;\n\n --scalar-shadow-1: 0 1px 3px 0 rgb(0, 0, 0, 0.1);\n --scalar-shadow-2: rgba(15, 15, 15, 0.2) 0px 3px 6px,\n rgba(15, 15, 15, 0.4) 0px 9px 24px, 0 0 0 1px rgba(255, 255, 255, 0.1);\n\n --scalar-button-1: #f6f6f6;\n --scalar-button-1-color: #000;\n --scalar-button-1-hover: #e7e7e7;\n\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n}\n\n/* Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n\n.dark-mode .sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-sidebar-color-1);\n --scalar-sidebar-search-background: var(--scalar-background-2);\n --scalar-sidebar-search-border-color: var(--scalar-sidebar-search-background);\n --scalar-sidebar-search--color: var(--scalar-color-3);\n}\n",bluePlanet:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #f0f2f5;\n --scalar-background-2: #eaecf0;\n --scalar-background-3: #e0e2e6;\n --scalar-border-color: rgb(213 213 213);\n\n --scalar-color-1: rgb(9, 9, 11);\n --scalar-color-2: rgb(113, 113, 122);\n --scalar-color-3: rgba(25, 25, 28, 0.5);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: #8ab4f81f;\n}\n.light-mode .scalar-card.dark-mode,\n.dark-mode {\n --scalar-background-1: #000e23;\n --scalar-background-2: #01132e;\n --scalar-background-3: #03193b;\n --scalar-border-color: rgba(255, 255, 255, 0.18);\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: var(--scalar-color-1);\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n z-index: 1;\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-search-background: white;\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom theme */\n/* Document header */\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n/* Hero Section Flare */\n.section-flare-item:nth-of-type(1) {\n --c1: #ffffff;\n --c2: #babfd8;\n --c3: #2e8bb2;\n --c4: #1a8593;\n --c5: #0a143e;\n --c6: #0a0f52;\n --c7: #2341b8;\n\n --solid: var(--c1), var(--c2), var(--c3), var(--c4), var(--c5), var(--c6),\n var(--c7);\n --solid-wrap: var(--solid), var(--c1);\n --trans: var(--c1), transparent, var(--c2), transparent, var(--c3),\n transparent, var(--c4), transparent, var(--c5), transparent, var(--c6),\n transparent, var(--c7);\n --trans-wrap: var(--trans), transparent, var(--c1);\n\n background: radial-gradient(circle, var(--trans)),\n conic-gradient(from 180deg, var(--trans-wrap)),\n radial-gradient(circle, var(--trans)), conic-gradient(var(--solid-wrap));\n width: 70vw;\n height: 700px;\n border-radius: 50%;\n filter: blur(100px);\n z-index: 0;\n right: 0;\n position: absolute;\n transform: rotate(-45deg);\n top: -300px;\n opacity: 0.3;\n}\n.section-flare-item:nth-of-type(3) {\n --star-color: #6b9acc;\n --star-color2: #446b8d;\n --star-color3: #3e5879;\n background-image: radial-gradient(\n 2px 2px at 20px 30px,\n var(--star-color2),\n rgba(0, 0, 0, 0)\n ),\n radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(\n 2px 2px at 160px 120px,\n var(--star-color3),\n rgba(0, 0, 0, 0)\n );\n background-repeat: repeat;\n background-size: 200px 200px;\n width: 100%;\n height: 100%;\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n}\n.section-flare {\n top: -150px !important;\n height: 100vh;\n background: linear-gradient(#000, var(--scalar-background-1));\n width: 100vw;\n overflow-x: hidden;\n}\n.light-mode .section-flare {\n display: none;\n}\n.light-mode .scalar-card {\n --scalar-background-1: #fff;\n --scalar-background-2: #fff;\n --scalar-background-3: #fff;\n}\n",deepSpace:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-color-1: rgb(9, 9, 11);\n --scalar-color-2: rgb(113, 113, 122);\n --scalar-color-3: rgba(25, 25, 28, 0.5);\n --scalar-color-accent: var(--scalar-color-1);\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f4f4f5;\n --scalar-background-3: #e3e3e6;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: rgb(228, 228, 231);\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n.dark-mode {\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n --scalar-color-accent: var(--scalar-color-1);\n\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: rgba(255, 255, 255, 0.16);\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: transparent;\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-item-active-background: var(--scalar-background-2);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n.examples .scalar-card-footer {\n --scalar-background-3: transparent;\n padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n width: 100vw;\n height: 550px;\n position: relative;\n}\n.section-flare-item:nth-of-type(1) {\n position: absolute;\n width: 100vw;\n height: 550px;\n --stripesDark: repeating-linear-gradient(\n 100deg,\n #000 0%,\n #000 7%,\n transparent 10%,\n transparent 12%,\n #000 16%\n );\n --rainbow: repeating-linear-gradient(\n 100deg,\n #fff 10%,\n #fff 16%,\n #fff 22%,\n #fff 30%\n );\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 300%, 200%;\n background-position:\n 50% 50%,\n 50% 50%;\n filter: invert(100%);\n -webkit-mask-image: radial-gradient(\n ellipse at 100% 0%,\n black 40%,\n transparent 70%\n );\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n pointer-events: none;\n opacity: 0.07;\n}\n.dark-mode .section-flare-item:nth-of-type(1) {\n background-image: var(--stripesDark), var(--rainbow);\n filter: opacity(50%) saturate(200%);\n opacity: 0.25;\n height: 350px;\n}\n.section-flare-item:nth-of-type(1):after {\n content: '';\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n background-image: var(--stripesDark), var(--rainbow);\n background-size: 200%, 100%;\n background-attachment: fixed;\n mix-blend-mode: difference;\n}\n.dark-mode .section-flare:after {\n background-image: var(--stripesDark), var(--rainbow);\n}\n.section-flare-item:nth-of-type(2) {\n --star-color: #fff;\n --star-color2: #fff;\n --star-color3: #fff;\n width: 100%;\n height: 100%;\n position: absolute;\n background-image: radial-gradient(\n 2px 2px at 20px 30px,\n var(--star-color2),\n rgba(0, 0, 0, 0)\n ),\n radial-gradient(2px 2px at 40px 70px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 50px 160px, var(--star-color3), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 90px 40px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(2px 2px at 130px 80px, var(--star-color), rgba(0, 0, 0, 0)),\n radial-gradient(\n 2px 2px at 160px 120px,\n var(--star-color3),\n rgba(0, 0, 0, 0)\n );\n background-repeat: repeat;\n background-size: 200px 200px;\n mask-image: radial-gradient(ellipse at 100% 0%, black 40%, transparent 70%);\n opacity: 0.2;\n}\n",saturn:"/* basic theme */\n.light-mode {\n --scalar-background-1: #f3f3ee;\n --scalar-background-2: #e8e8e3;\n --scalar-background-3: #e4e4df;\n --scalar-border-color: rgba(215, 215, 206, 0.85);\n\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n\n --scalar-color-accent: #1763a6;\n --scalar-background-accent: #1f648e1f;\n}\n.dark-mode {\n --scalar-background-1: #09090b;\n --scalar-background-2: #18181b;\n --scalar-background-3: #2c2c30;\n --scalar-border-color: rgba(255, 255, 255, 0.17);\n\n --scalar-color-1: #fafafa;\n --scalar-color-2: rgb(161, 161, 170);\n --scalar-color-3: rgba(255, 255, 255, 0.533);\n\n --scalar-color-accent: #4eb3ec;\n --scalar-background-accent: #8ab4f81f;\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-hover-color: currentColor;\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-1);\n\n --scalar-sidebar-search-background: var(--scalar-background-1);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n\n/* advanced */\n.light-mode {\n --scalar-color-green: #17803d;\n --scalar-color-red: #e10909;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #1763a6;\n --scalar-color-orange: #e25b09;\n --scalar-color-purple: #5c3993;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #30a159;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #eec644;\n --scalar-color-blue: #2b7abf;\n --scalar-color-orange: #f07528;\n --scalar-color-purple: #7a59b1;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n",kepler:"/* basic theme */\n.light-mode {\n --scalar-color-1: #2a2f45;\n --scalar-color-2: #757575;\n --scalar-color-3: #8e8e8e;\n --scalar-color-accent: #7070ff;\n\n --scalar-background-1: #fff;\n --scalar-background-2: #f6f6f6;\n --scalar-background-3: #e7e7e7;\n --scalar-background-accent: #7070ff1f;\n\n --scalar-border-color: rgba(0, 0, 0, 0.1);\n\n --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n.dark-mode {\n --scalar-color-1: #f7f8f8;\n --scalar-color-2: rgb(180, 188, 208);\n --scalar-color-3: #b4bcd099;\n --scalar-color-accent: #828fff;\n\n --scalar-background-1: #000212;\n --scalar-background-2: #0d0f1e;\n --scalar-background-3: #232533;\n --scalar-background-accent: #8ab4f81f;\n\n --scalar-border-color: #313245;\n --scalar-code-language-color-supersede: var(--scalar-color-3);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: var(--scalar-background-accent);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: rgba(0, 0, 0, 0.05);\n --scalar-sidebar-search-border-color: 1px solid rgba(0, 0, 0, 0.05);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-background-2: rgba(0, 0, 0, 0.03);\n}\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n --scalar-sidebar-item-active-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-border-color: 1px solid rgba(255, 255, 255, 0.05);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #069061;\n --scalar-color-red: #ef0006;\n --scalar-color-yellow: #edbe20;\n --scalar-color-blue: #0082d0;\n --scalar-color-orange: #fb892c;\n --scalar-color-purple: #5203d1;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: #00b648;\n --scalar-color-red: #dc1b19;\n --scalar-color-yellow: #ffc90d;\n --scalar-color-blue: #4eb3ec;\n --scalar-color-orange: #ff8d4d;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n.sidebar-search {\n backdrop-filter: blur(12px);\n}\n@keyframes headerbackground {\n from {\n background: transparent;\n backdrop-filter: none;\n }\n to {\n background: var(--header-background-1);\n backdrop-filter: blur(12px);\n }\n}\n.dark-mode .scalar-card {\n background: rgba(255, 255, 255, 0.05) !important;\n}\n.dark-mode .scalar-card * {\n --scalar-background-2: transparent !important;\n --scalar-background-1: transparent !important;\n}\n.light-mode .dark-mode.scalar-card *,\n.light-mode .dark-mode.scalar-card {\n --scalar-background-1: #0d0f1e !important;\n --scalar-background-2: #0d0f1e !important;\n --scalar-background-3: #191b29 !important;\n}\n.light-mode .dark-mode.scalar-card {\n background: #191b29 !important;\n}\n.badge {\n box-shadow: 0 0 0 1px var(--scalar-border-color);\n margin-right: 6px;\n}\n\n.table-row.required-parameter .table-row-item:nth-of-type(2):after {\n background: transparent;\n box-shadow: none;\n}\n/* Hero Section Flare */\n.section-flare {\n width: 100vw;\n background: radial-gradient(\n ellipse 80% 50% at 50% -20%,\n rgba(120, 119, 198, 0.3),\n transparent\n );\n height: 100vh;\n}\n",mars:"/* basic theme */\n:root {\n --scalar-text-decoration: underline;\n --scalar-text-decoration-hover: underline;\n}\n.light-mode {\n --scalar-background-1: #f9f6f0;\n --scalar-background-2: #f2efe8;\n --scalar-background-3: #e9e7e2;\n --scalar-border-color: rgba(203, 165, 156, 0.6);\n\n --scalar-color-1: #c75549;\n --scalar-color-2: #c75549;\n --scalar-color-3: #c75549;\n\n --scalar-color-accent: #c75549;\n --scalar-background-accent: #dcbfa81f;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n\n --scalar-selection-background: color-mix(\n in sRGB,\n var(--scalar-color-1) 90%,\n transparent\n );\n --scalar-selection-color: var(--scalar-background-1);\n}\n.dark-mode {\n --scalar-background-1: #140507;\n --scalar-background-2: #20090c;\n --scalar-background-3: #321116;\n --scalar-border-color: rgba(255, 255, 255, 0.17);\n\n --scalar-color-1: rgba(255, 255, 255, 0.9);\n --scalar-color-2: rgba(255, 255, 255, 0.62);\n --scalar-color-3: rgba(255, 255, 255, 0.44);\n\n --scalar-color-accent: rgba(255, 255, 255, 0.9);\n --scalar-background-accent: #441313;\n\n --scalar-code-language-color-supersede: var(--scalar-color-1);\n\n --scalar-selection-background: color-mix(\n in sRGB,\n var(--scalar-color-1) 50%,\n transparent\n );\n --scalar-selection-color: var(--scalar-background-1);\n}\n\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --scalar-sidebar-background-1: var(--scalar-background-1);\n --scalar-sidebar-color-1: var(--scalar-color-1);\n --scalar-sidebar-color-2: var(--scalar-color-2);\n --scalar-sidebar-border-color: var(--scalar-border-color);\n\n --scalar-sidebar-item-hover-color: currentColor;\n --scalar-sidebar-item-hover-background: var(--scalar-background-2);\n\n --scalar-sidebar-item-active-background: var(--scalar-background-3);\n --scalar-sidebar-color-active: var(--scalar-color-accent);\n\n --scalar-sidebar-search-background: rgba(255, 255, 255, 0.1);\n --scalar-sidebar-search-color: var(--scalar-color-3);\n --scalar-sidebar-search-border-color: var(--scalar-border-color);\n z-index: 1;\n}\n/* advanced */\n.light-mode {\n --scalar-color-green: #09533a;\n --scalar-color-red: #aa181d;\n --scalar-color-yellow: #ab8d2b;\n --scalar-color-blue: #19689a;\n --scalar-color-orange: #b26c34;\n --scalar-color-purple: #4c2191;\n\n --scalar-button-1: rgba(0, 0, 0, 1);\n --scalar-button-1-hover: rgba(0, 0, 0, 0.8);\n --scalar-button-1-color: rgba(255, 255, 255, 0.9);\n}\n.dark-mode {\n --scalar-color-green: rgba(69, 255, 165, 0.823);\n --scalar-color-red: #ff8589;\n --scalar-color-yellow: #ffcc4d;\n --scalar-color-blue: #6bc1fe;\n --scalar-color-orange: #f98943;\n --scalar-color-purple: #b191f9;\n\n --scalar-button-1: rgba(255, 255, 255, 1);\n --scalar-button-1-hover: rgba(255, 255, 255, 0.9);\n --scalar-button-1-color: black;\n}\n/* Custom Theme */\n.dark-mode h2.t-editor__heading,\n.dark-mode .t-editor__page-title h1,\n.dark-mode h1.section-header:not(::selection),\n.dark-mode .markdown h1,\n.dark-mode .markdown h2,\n.dark-mode .markdown h3,\n.dark-mode .markdown h4,\n.dark-mode .markdown h5,\n.dark-mode .markdown h6 {\n -webkit-text-fill-color: transparent;\n background-image: linear-gradient(\n to right bottom,\n rgb(255, 255, 255) 30%,\n rgba(255, 255, 255, 0.38)\n );\n -webkit-background-clip: text;\n background-clip: text;\n}\n.light-mode .t-doc__sidebar {\n --scalar-sidebar-search-background: white;\n}\n.examples .scalar-card-footer {\n --scalar-background-3: transparent;\n padding-top: 0;\n}\n/* Hero section flare */\n.section-flare {\n overflow-x: hidden;\n height: 100vh;\n left: initial;\n}\n.section-flare-item:nth-of-type(1) {\n background: #d25019;\n position: relative;\n top: -150px;\n right: -400px;\n width: 80vw;\n height: 500px;\n margin-top: -150px;\n border-radius: 50%;\n filter: blur(100px);\n z-index: 0;\n}\n.light-mode .section-flare {\n display: none;\n}\n"},Hu=e=>"none"===e?"":qu[e||"default"]??Bu;function Vu(e){return!!dt()&&(ut(e),!0)}function Zu(e){return"function"==typeof e?e():Mn(e)}const Wu="undefined"!=typeof window&&"undefined"!=typeof document;"undefined"!=typeof WorkerGlobalScope&&(globalThis,WorkerGlobalScope);const Xu=e=>null!=e,Yu=Object.prototype.toString,Gu=()=>{};function Ku(e){var t;const n=Zu(e);return null!=(t=null==n?void 0:n.$el)?t:n}const Ju=Wu?window:void 0,ep=Wu?window.document:void 0;function tp(...e){let t,n,r,a;if("string"==typeof e[0]||Array.isArray(e[0])?([n,r,a]=e,t=Ju):[t,n,r,a]=e,!t)return Gu;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const o=[],i=()=>{o.forEach((e=>e())),o.length=0},s=Ka((()=>[Ku(t),Zu(a)]),(([e,t])=>{if(i(),!e)return;const a=(e=>"[object Object]"===Yu.call(e))(t)?{...t}:t;o.push(...n.flatMap((t=>r.map((n=>((e,t,n,r)=>(e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)))(e,t,n,a))))))}),{immediate:!0,flush:"post"}),l=()=>{s(),i()};return Vu(l),l}function np(e){const t=function(){const e=Dn(!1),t=ii();return t&&Nr((()=>{e.value=!0}),t),e}();return yi((()=>(t.value,Boolean(e()))))}function rp(e,t={}){const{window:n=Ju}=t,r=np((()=>n&&"matchMedia"in n&&"function"==typeof n.matchMedia));let a;const o=Dn(!1),i=e=>{o.value=e.matches},s=()=>{a&&("removeEventListener"in a?a.removeEventListener("change",i):a.removeListener(i))},l=Ya((()=>{r.value&&(s(),a=n.matchMedia(Zu(e)),"addEventListener"in a?a.addEventListener("change",i):a.addListener(i),o.value=a.matches)}));return Vu((()=>{l(),s(),a=void 0})),o}const ap=new Map;function op(e){const t=dt();function n(n){var a;const o=ap.get(e)||new Set;o.add(n),ap.set(e,o);const i=()=>r(n);return null==(a=null==t?void 0:t.cleanups)||a.push(i),i}function r(t){const n=ap.get(e);n&&(n.delete(t),n.size||a())}function a(){ap.delete(e)}return{on:n,once:function(e){return n((function t(...n){r(t),e(...n)}))},off:r,emit:function(t,n){var r;null==(r=ap.get(e))||r.forEach((e=>e(t,n)))},reset:a}}const ip={ctrl:"control",command:"meta",cmd:"meta",option:"alt",up:"arrowup",down:"arrowdown",left:"arrowleft",right:"arrowright"};var sp=Object.defineProperty,lp=(e,t,n)=>(((e,t,n)=>{t in e?sp(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);!function(e){if(typeof document>"u")return;let t=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",t.appendChild(n),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e))}("[data-sonner-toaster][dir=ltr],html[dir=ltr]{--toast-icon-margin-start:-3px;--toast-icon-margin-end:4px;--toast-svg-margin-start:-1px;--toast-svg-margin-end:0px;--toast-button-margin-start:auto;--toast-button-margin-end:0;--toast-close-button-start:0;--toast-close-button-end:unset;--toast-close-button-transform:translate(-35%, -35%)}[data-sonner-toaster][dir=rtl],html[dir=rtl]{--toast-icon-margin-start:4px;--toast-icon-margin-end:-3px;--toast-svg-margin-start:0px;--toast-svg-margin-end:-1px;--toast-button-margin-start:0;--toast-button-margin-end:auto;--toast-close-button-start:unset;--toast-close-button-end:0;--toast-close-button-transform:translate(35%, -35%)}[data-sonner-toaster]{position:fixed;width:var(--width);font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;--gray1:hsl(0, 0%, 99%);--gray2:hsl(0, 0%, 97.3%);--gray3:hsl(0, 0%, 95.1%);--gray4:hsl(0, 0%, 93%);--gray5:hsl(0, 0%, 90.9%);--gray6:hsl(0, 0%, 88.7%);--gray7:hsl(0, 0%, 85.8%);--gray8:hsl(0, 0%, 78%);--gray9:hsl(0, 0%, 56.1%);--gray10:hsl(0, 0%, 52.3%);--gray11:hsl(0, 0%, 43.5%);--gray12:hsl(0, 0%, 9%);--border-radius:8px;box-sizing:border-box;padding:0;margin:0;list-style:none;outline:0;z-index:999999999}[data-sonner-toaster][data-x-position=right]{right:max(var(--offset),env(safe-area-inset-right))}[data-sonner-toaster][data-x-position=left]{left:max(var(--offset),env(safe-area-inset-left))}[data-sonner-toaster][data-x-position=center]{left:50%;transform:translateX(-50%)}[data-sonner-toaster][data-y-position=top]{top:max(var(--offset),env(safe-area-inset-top))}[data-sonner-toaster][data-y-position=bottom]{bottom:max(var(--offset),env(safe-area-inset-bottom))}[data-sonner-toast]{--y:translateY(100%);--lift-amount:calc(var(--lift) * var(--gap));z-index:var(--z-index);position:absolute;opacity:0;transform:var(--y);touch-action:none;will-change:transform,opacity,height;transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;box-sizing:border-box;outline:0;overflow-wrap:anywhere}[data-sonner-toast][data-styled=true]{padding:16px;background:var(--normal-bg);border:1px solid var(--normal-border);color:var(--normal-text);border-radius:var(--border-radius);box-shadow:0 4px 12px rgba(0,0,0,.1);width:var(--width);font-size:13px;display:flex;align-items:center;gap:6px}[data-sonner-toast]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast][data-y-position=top]{top:0;--y:translateY(-100%);--lift:1;--lift-amount:calc(1 * var(--gap))}[data-sonner-toast][data-y-position=bottom]{bottom:0;--y:translateY(100%);--lift:-1;--lift-amount:calc(var(--lift) * var(--gap))}[data-sonner-toast] [data-description]{font-weight:400;line-height:1.4;color:inherit}[data-sonner-toast] [data-title]{font-weight:500;line-height:1.5;color:inherit}[data-sonner-toast] [data-icon]{display:flex;height:16px;width:16px;position:relative;justify-content:flex-start;align-items:center;flex-shrink:0;margin-left:var(--toast-icon-margin-start);margin-right:var(--toast-icon-margin-end)}[data-sonner-toast][data-promise=true] [data-icon]>svg{opacity:0;transform:scale(.8);transform-origin:center;animation:sonner-fade-in .3s ease forwards}[data-sonner-toast] [data-icon]>*{flex-shrink:0}[data-sonner-toast] [data-icon] svg{margin-left:var(--toast-svg-margin-start);margin-right:var(--toast-svg-margin-end)}[data-sonner-toast] [data-content]{display:flex;flex-direction:column;gap:2px;transform:translateZ(0)}[data-sonner-toast] [data-button]{border-radius:4px;padding-left:8px;padding-right:8px;height:24px;font-size:12px;color:var(--normal-bg);background:var(--normal-text);margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end);border:none;cursor:pointer;outline:0;display:flex;align-items:center;flex-shrink:0;transition:opacity .4s,box-shadow .2s}[data-sonner-toast] [data-button]:focus-visible{box-shadow:0 0 0 2px rgba(0,0,0,.4)}[data-sonner-toast] [data-button]:first-of-type{margin-left:var(--toast-button-margin-start);margin-right:var(--toast-button-margin-end)}[data-sonner-toast] [data-cancel]{color:var(--normal-text);background:rgba(0,0,0,.08)}[data-sonner-toast][data-theme=dark] [data-cancel]{background:rgba(255,255,255,.3)}[data-sonner-toast] [data-close-button]{position:absolute;left:var(--toast-close-button-start);right:var(--toast-close-button-end);top:0;height:20px;width:20px;display:flex;justify-content:center;align-items:center;padding:0;background:var(--gray1);color:var(--gray12);border:1px solid var(--gray4);transform:var(--toast-close-button-transform);border-radius:50%;cursor:pointer;z-index:1;transition:opacity .1s,background .2s,border-color .2s}[data-sonner-toast] [data-close-button]:focus-visible{box-shadow:0 4px 12px rgba(0,0,0,.1),0 0 0 2px rgba(0,0,0,.2)}[data-sonner-toast] [data-disabled=true]{cursor:not-allowed}[data-sonner-toast]:hover [data-close-button]:hover{background:var(--gray2);border-color:var(--gray5)}[data-sonner-toast][data-swiping=true]:before{content:'';position:absolute;left:0;right:0;height:100%;z-index:-1}[data-sonner-toast][data-y-position=top][data-swiping=true]:before{bottom:50%;transform:scaleY(3) translateY(50%)}[data-sonner-toast][data-y-position=bottom][data-swiping=true]:before{top:50%;transform:scaleY(3) translateY(-50%)}[data-sonner-toast][data-swiping=false][data-removed=true]:before{content:'';position:absolute;inset:0;transform:scaleY(2)}[data-sonner-toast]:after{content:'';position:absolute;left:0;height:calc(var(--gap) + 1px);bottom:100%;width:100%}[data-sonner-toast][data-mounted=true]{--y:translateY(0);opacity:1}[data-sonner-toast][data-expanded=false][data-front=false]{--scale:var(--toasts-before) * 0.05 + 1;--y:translateY(calc(var(--lift-amount) * var(--toasts-before))) scale(calc(-1 * var(--scale)));height:var(--front-toast-height)}[data-sonner-toast]>*{transition:opacity .4s}[data-sonner-toast][data-expanded=false][data-front=false][data-styled=true]>*{opacity:0}[data-sonner-toast][data-visible=false]{opacity:0;pointer-events:none}[data-sonner-toast][data-mounted=true][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset)));height:var(--initial-height)}[data-sonner-toast][data-removed=true][data-front=true][data-swipe-out=false]{--y:translateY(calc(var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=true]{--y:translateY(calc(var(--lift) * var(--offset) + var(--lift) * -100%));opacity:0}[data-sonner-toast][data-removed=true][data-front=false][data-swipe-out=false][data-expanded=false]{--y:translateY(40%);opacity:0;transition:transform .5s,opacity .2s}[data-sonner-toast][data-removed=true][data-front=false]:before{height:calc(var(--initial-height) + 20%)}[data-sonner-toast][data-swiping=true]{transform:var(--y) translateY(var(--swipe-amount,0));transition:none}[data-sonner-toast][data-swipe-out=true][data-y-position=bottom],[data-sonner-toast][data-swipe-out=true][data-y-position=top]{animation:swipe-out .2s ease-out forwards}@keyframes swipe-out{from{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount)));opacity:1}to{transform:translateY(calc(var(--lift) * var(--offset) + var(--swipe-amount) + var(--lift) * -100%));opacity:0}}@media (max-width:600px){[data-sonner-toaster]{position:fixed;--mobile-offset:16px;right:var(--mobile-offset);left:var(--mobile-offset);width:100%}[data-sonner-toaster] [data-sonner-toast]{left:0;right:0;width:calc(100% - 32px)}[data-sonner-toaster][data-x-position=left]{left:var(--mobile-offset)}[data-sonner-toaster][data-y-position=bottom]{bottom:20px}[data-sonner-toaster][data-y-position=top]{top:20px}[data-sonner-toaster][data-x-position=center]{left:var(--mobile-offset);right:var(--mobile-offset);transform:none}}[data-sonner-toaster][data-theme=light]{--normal-bg:#fff;--normal-border:var(--gray4);--normal-text:var(--gray12);--success-bg:hsl(143, 85%, 96%);--success-border:hsl(145, 92%, 91%);--success-text:hsl(140, 100%, 27%);--info-bg:hsl(208, 100%, 97%);--info-border:hsl(221, 91%, 91%);--info-text:hsl(210, 92%, 45%);--warning-bg:hsl(49, 100%, 97%);--warning-border:hsl(49, 91%, 91%);--warning-text:hsl(31, 92%, 45%);--error-bg:hsl(359, 100%, 97%);--error-border:hsl(359, 100%, 94%);--error-text:hsl(360, 100%, 45%)}[data-sonner-toaster][data-theme=light] [data-sonner-toast][data-invert=true]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1)}[data-sonner-toaster][data-theme=dark] [data-sonner-toast][data-invert=true]{--normal-bg:#fff;--normal-border:var(--gray3);--normal-text:var(--gray12)}[data-sonner-toaster][data-theme=dark]{--normal-bg:#000;--normal-border:hsl(0, 0%, 20%);--normal-text:var(--gray1);--success-bg:hsl(150, 100%, 6%);--success-border:hsl(147, 100%, 12%);--success-text:hsl(150, 86%, 65%);--info-bg:hsl(215, 100%, 6%);--info-border:hsl(223, 100%, 12%);--info-text:hsl(216, 87%, 65%);--warning-bg:hsl(64, 100%, 6%);--warning-border:hsl(60, 100%, 12%);--warning-text:hsl(46, 87%, 65%);--error-bg:hsl(358, 76%, 10%);--error-border:hsl(357, 89%, 16%);--error-text:hsl(358, 100%, 81%)}[data-rich-colors=true] [data-sonner-toast][data-type=success]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=success] [data-close-button]{background:var(--success-bg);border-color:var(--success-border);color:var(--success-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=info] [data-close-button]{background:var(--info-bg);border-color:var(--info-border);color:var(--info-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=warning] [data-close-button]{background:var(--warning-bg);border-color:var(--warning-border);color:var(--warning-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}[data-rich-colors=true] [data-sonner-toast][data-type=error] [data-close-button]{background:var(--error-bg);border-color:var(--error-border);color:var(--error-text)}.sonner-loading-wrapper{--size:16px;height:var(--size);width:var(--size);position:absolute;inset:0;z-index:10}.sonner-loading-wrapper[data-visible=false]{transform-origin:center;animation:sonner-fade-out .2s ease forwards}.sonner-spinner{position:relative;top:50%;left:50%;height:var(--size);width:var(--size)}.sonner-loading-bar{animation:sonner-spin 1.2s linear infinite;background:var(--gray11);border-radius:6px;height:8%;left:-10%;position:absolute;top:-3.9%;width:24%}.sonner-loading-bar:first-child{animation-delay:-1.2s;transform:rotate(.0001deg) translate(146%)}.sonner-loading-bar:nth-child(2){animation-delay:-1.1s;transform:rotate(30deg) translate(146%)}.sonner-loading-bar:nth-child(3){animation-delay:-1s;transform:rotate(60deg) translate(146%)}.sonner-loading-bar:nth-child(4){animation-delay:-.9s;transform:rotate(90deg) translate(146%)}.sonner-loading-bar:nth-child(5){animation-delay:-.8s;transform:rotate(120deg) translate(146%)}.sonner-loading-bar:nth-child(6){animation-delay:-.7s;transform:rotate(150deg) translate(146%)}.sonner-loading-bar:nth-child(7){animation-delay:-.6s;transform:rotate(180deg) translate(146%)}.sonner-loading-bar:nth-child(8){animation-delay:-.5s;transform:rotate(210deg) translate(146%)}.sonner-loading-bar:nth-child(9){animation-delay:-.4s;transform:rotate(240deg) translate(146%)}.sonner-loading-bar:nth-child(10){animation-delay:-.3s;transform:rotate(270deg) translate(146%)}.sonner-loading-bar:nth-child(11){animation-delay:-.2s;transform:rotate(300deg) translate(146%)}.sonner-loading-bar:nth-child(12){animation-delay:-.1s;transform:rotate(330deg) translate(146%)}@keyframes sonner-fade-in{0%{opacity:0;transform:scale(.8)}100%{opacity:1;transform:scale(1)}}@keyframes sonner-fade-out{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(.8)}}@keyframes sonner-spin{0%{opacity:1}100%{opacity:.15}}@media (prefers-reduced-motion){.sonner-loading-bar,[data-sonner-toast],[data-sonner-toast]>*{transition:none!important;animation:none!important}}.sonner-loader{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);transform-origin:center;transition:opacity .2s,transform .2s}.sonner-loader[data-visible=false]{opacity:0;transform:scale(.8) translate(-50%,-50%)}");let cp=0;const dp=new class{constructor(){lp(this,"subscribers"),lp(this,"toasts"),lp(this,"subscribe",(e=>(this.subscribers.push(e),()=>{const t=this.subscribers.indexOf(e);this.subscribers.splice(t,1)}))),lp(this,"publish",(e=>{this.subscribers.forEach((t=>t(e)))})),lp(this,"addToast",(e=>{this.publish(e),this.toasts=[...this.toasts,e]})),lp(this,"create",(e=>{var t;const{message:n,...r}=e,a="number"==typeof e.id||e.id&&(null==(t=e.id)?void 0:t.length)>0?e.id:cp++,o=this.toasts.find((e=>e.id===a)),i=void 0===e.dismissible||e.dismissible;return o?this.toasts=this.toasts.map((t=>t.id===a?(this.publish({...t,...e,id:a,title:n}),{...t,...e,id:a,dismissible:i,title:n}):t)):this.addToast({title:n,...r,dismissible:i,id:a}),a})),lp(this,"dismiss",(e=>(e||this.toasts.forEach((e=>{this.subscribers.forEach((t=>t({id:e.id,dismiss:!0})))})),this.subscribers.forEach((t=>t({id:e,dismiss:!0}))),e))),lp(this,"message",((e,t)=>this.create({...t,message:e,type:"default"}))),lp(this,"error",((e,t)=>this.create({...t,type:"error",message:e}))),lp(this,"success",((e,t)=>this.create({...t,type:"success",message:e}))),lp(this,"info",((e,t)=>this.create({...t,type:"info",message:e}))),lp(this,"warning",((e,t)=>this.create({...t,type:"warning",message:e}))),lp(this,"loading",((e,t)=>this.create({...t,type:"loading",message:e}))),lp(this,"promise",((e,t)=>{if(!t)return;let n;void 0!==t.loading&&(n=this.create({...t,promise:e,type:"loading",message:t.loading,description:"function"!=typeof t.description?t.description:void 0}));const r=e instanceof Promise?e:e();let a=void 0!==n;return r.then((e=>{if(e&&"boolean"==typeof e.ok&&!e.ok){a=!1;const e="function"==typeof t.error?t.error(`HTTP error! status: ${response.status}`):t.error,r="function"==typeof t.description?t.description(`HTTP error! status: ${response.status}`):t.description;this.create({id:n,type:"error",message:e,description:r})}else if(void 0!==t.success){a=!1;const r="function"==typeof t.success?t.success(e):t.success,o="function"==typeof t.description?t.description(e):t.description;this.create({id:n,type:"success",message:r,description:o})}})).catch((e=>{if(void 0!==t.error){a=!1;const r="function"==typeof t.error?t.error(e):t.error,o="function"==typeof t.description?t.description(e):t.description;this.create({id:n,type:"error",message:r,description:o})}})).finally((()=>{var e;a&&(this.dismiss(n),n=void 0),null==(e=t.finally)||e.call(t)})),n})),lp(this,"custom",((e,t)=>{const n=(null==t?void 0:t.id)||cp++;return this.publish({component:e,id:n,...t}),n})),this.subscribers=[],this.toasts=[]}},up=Object.assign(((e,t)=>{const n=(null==t?void 0:t.id)||cp++;return dp.create({message:e,id:n,type:"default",...t}),n}),{success:dp.success,info:dp.info,warning:dp.warning,error:dp.error,custom:dp.custom,message:dp.message,promise:dp.promise,dismiss:dp.dismiss,loading:dp.loading}),pp=(e,t)=>{const n=e.__vccOpts||e;for(const[e,r]of t)n[e]=r;return n},hp={xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stoke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},fp=[Ho("line",{x1:"18",y1:"6",x2:"6",y2:"18"},null,-1),Ho("line",{x1:"6",y1:"6",x2:"18",y2:"18"},null,-1)],mp=pp({},[["render",function(e,t){return Mo(),Bo("svg",hp,fp)}]]),gp=["aria-live","data-styled","data-mounted","data-promise","data-removed","data-visible","data-y-position","data-x-position","data-index","data-front","data-swiping","data-dismissible","data-type","data-invert","data-swipe-out","data-expanded"],vp=["aria-label","data-disabled"],bp={key:0,"data-icon":""},yp={"data-content":""},Op=Zr({__name:"Toast",props:{toast:{},toasts:{},index:{},expanded:{type:Boolean},invert:{type:Boolean},heights:{},gap:{},position:{},visibleToasts:{},expandByDefault:{type:Boolean},closeButton:{type:Boolean},interacting:{type:Boolean},duration:{},descriptionClass:{},style:{},cancelButtonStyle:{},actionButtonStyle:{},unstyled:{type:Boolean},loadingIcon:{},class:{},classes:{},icons:{},closeButtonAriaLabel:{},pauseWhenPageIsHidden:{type:Boolean},cn:{type:Function}},emits:["update:heights","removeToast"],setup(e,{emit:t}){const n=t,r=e,a=Dn(!1),o=Dn(!1),i=Dn(!1),s=Dn(!1),l=Dn(0),c=Dn(0),d=Dn(null),u=Dn(null),p=yi((()=>0===r.index)),h=yi((()=>r.index+1<=r.visibleToasts)),f=yi((()=>r.toast.type)),m=yi((()=>!1!==r.toast.dismissible)),g=yi((()=>{var e,t,n,a,o,i,s;return r.cn(null==(e=r.classes)?void 0:e.toast,null==(n=null==(t=r.toast)?void 0:t.classes)?void 0:n.toast,null==(a=r.classes)?void 0:a.default,null==(o=r.classes)?void 0:o[r.toast.type||"default"],null==(s=null==(i=r.toast)?void 0:i.classes)?void 0:s[r.toast.type||"default"])})),v=r.toast.style||{},b=yi((()=>r.heights.findIndex((e=>e.toastId===r.toast.id))||0)),y=yi((()=>r.toast.closeButton??r.closeButton)),O=yi((()=>r.toast.duration||r.duration||4e3)),w=Dn(0),x=Dn(0),k=Dn(O.value),_=Dn(0),S=Dn(null),E=yi((()=>r.position.split("-"))),T=yi((()=>E.value[0])),C=yi((()=>E.value[1])),A="string"!=typeof r.toast.title,P="string"!=typeof r.toast.description,D=yi((()=>r.heights.reduce(((e,t,n)=>n>=b.value?e:e+t.height),0))),R=(()=>{const e=Dn(!1);return Ya((()=>{const t=()=>{e.value=document.hidden};return document.addEventListener("visibilitychange",t),()=>window.removeEventListener("visibilitychange",t)})),{isDocumentHidden:e}})(),$=yi((()=>r.toast.invert||r.invert)),N=yi((()=>"loading"===f.value));Nr((()=>{if(!a.value)return;const e=u.value,t=null==e?void 0:e.style.height;e.style.height="auto";const o=e.getBoundingClientRect().height;let i;e.style.height=t,c.value=o,i=r.heights.find((e=>e.toastId===r.toast.id))?r.heights.map((e=>e.toastId===r.toast.id?{...e,height:o}:e)):[{toastId:r.toast.id,height:o,position:r.toast.position},...r.heights],n("update:heights",i)}));const M=()=>{o.value=!0,l.value=x.value;const e=r.heights.filter((e=>e.toastId!==r.toast.id));n("update:heights",e),setTimeout((()=>{n("removeToast",r.toast)}),200)},I=()=>{var e,t;N.value||!m.value||(M(),null==(t=(e=r.toast).onDismiss)||t.call(e,r.toast))},L=e=>{N.value||!m.value||(d.value=new Date,l.value=x.value,e.target.setPointerCapture(e.pointerId),"BUTTON"!==e.target.tagName&&(i.value=!0,S.value={x:e.clientX,y:e.clientY}))},j=e=>{var t,n,a,o;if(s.value)return;S.value=null;const c=Number((null==(t=u.value)?void 0:t.style.getPropertyValue("--swipe-amount").replace("px",""))||0),p=(new Date).getTime()-d.value.getTime(),h=Math.abs(c)/p;if(Math.abs(c)>=20||h>.11)return l.value=x.value,null==(a=(n=r.toast).onDismiss)||a.call(n,r.toast),M(),void(s.value=!0);null==(o=u.value)||o.style.setProperty("--swipe-amount","0px"),i.value=!1},B=e=>{var t;if(!S.value)return;const n=e.clientY-S.value.y,r=e.clientX-S.value.x,a=("top"===E.value[0]?Math.min:Math.max)(0,n),o="touch"===e.pointerType?10:2;Math.abs(a)>o?null==(t=u.value)||t.style.setProperty("--swipe-amount",`${n}px`):Math.abs(r)>o&&(S.value=null)};return Ya((()=>{x.value=14*b.value+D.value})),Ya((e=>{if(r.toast.promise&&"loading"===f.value||r.toast.duration===1/0||"loading"===r.toast.type)return;let t;r.expanded||r.interacting||r.pauseWhenPageIsHidden&&R?(()=>{if(_.value{var e,t;null==(t=(e=r.toast).onAutoClose)||t.call(e,r.toast),M()}),k.value)),e((()=>{clearTimeout(t)}))})),Ya((()=>{r.toast.delete&&M()})),Nr((()=>{if(u.value){const e=u.value.getBoundingClientRect().height;c.value=e;const t=[{toastId:r.toast.id,height:e,position:r.toast.position},...r.heights];n("update:heights",t)}a.value=!0})),jr((()=>{if(u.value){const e=r.heights.filter((e=>e.toastId!==r.toast.id));n("update:heights",e)}})),(e,t)=>{var n,r,d,b,O,w,k,_,S,E,D,R;return Mo(),Bo("li",{"aria-live":e.toast.important?"assertive":"polite","aria-atomic":"true",role:"status",tabindex:"0",ref_key:"toastRef",ref:u,"data-sonner-toast":"",class:Ge(g.value),"data-styled":!(e.toast.component||null!=(n=e.toast)&&n.unstyled||e.unstyled),"data-mounted":a.value,"data-promise":!!e.toast.promise,"data-removed":o.value,"data-visible":h.value,"data-y-position":T.value,"data-x-position":C.value,"data-index":e.index,"data-front":p.value,"data-swiping":i.value,"data-dismissible":m.value,"data-type":f.value,"data-invert":$.value,"data-swipe-out":s.value,"data-expanded":!!(e.expanded||e.expandByDefault&&a.value),style:Ve({"--index":e.index,"--toasts-before":e.index,"--z-index":e.toasts.length-e.index,"--offset":`${o.value?l.value:x.value}px`,"--initial-height":e.expandByDefault?"auto":`${c.value}px`,...e.style,...Mn(v)}),onPointerdown:L,onPointerup:j,onPointermove:B},[y.value&&!e.toast.component?(Mo(),Bo("button",{key:0,"aria-label":e.closeButtonAriaLabel||"Close toast","data-disabled":N.value,"data-close-button":"",class:Ge(e.cn(null==(r=e.classes)?void 0:r.closeButton,null==(b=null==(d=e.toast)?void 0:d.classes)?void 0:b.closeButton)),onClick:I},[Vo(mp)],10,vp)):Go("",!0),e.toast.component?(Mo(),Qo(Cr(e.toast.component),ti({key:1},e.toast.componentProps,{onCloseToast:M}),null,16)):(Mo(),Bo(Ao,{key:2},["default"!==f.value||e.toast.icon||e.toast.promise?(Mo(),Bo("div",bp,[!e.toast.promise&&"loading"!==f.value||e.toast.icon?Go("",!0):Xr(e.$slots,"loading-icon",{key:0}),e.toast.icon?(Mo(),Qo(Cr(e.toast.icon),{key:1})):(Mo(),Bo(Ao,{key:2},["success"===f.value?Xr(e.$slots,"success-icon",{key:0}):"error"===f.value?Xr(e.$slots,"error-icon",{key:1}):"warning"===f.value?Xr(e.$slots,"warning-icon",{key:2}):"info"===f.value?Xr(e.$slots,"info-icon",{key:3}):Go("",!0)],64))])):Go("",!0),Ho("div",yp,[Ho("div",{"data-title":"",class:Ge(e.cn(null==(O=e.classes)?void 0:O.title,null==(w=e.toast.classes)?void 0:w.title))},[A?(Mo(),Qo(Cr(e.toast.title),Ke(ti({key:0},e.toast.componentProps)),null,16)):(Mo(),Bo(Ao,{key:1},[Xo(at(e.toast.title),1)],64))],2),e.toast.description?(Mo(),Bo("div",{key:0,"data-description":"",class:Ge(e.cn(e.descriptionClass,e.toast.descriptionClass,null==(k=e.classes)?void 0:k.description,null==(_=e.toast.classes)?void 0:_.description))},[P?(Mo(),Qo(Cr(e.toast.description),Ke(ti({key:0},e.toast.componentProps)),null,16)):(Mo(),Bo(Ao,{key:1},[Xo(at(e.toast.description),1)],64))],2)):Go("",!0)]),e.toast.cancel?(Mo(),Bo("button",{key:1,class:Ge(e.cn(null==(S=e.classes)?void 0:S.cancelButton,null==(E=e.toast.classes)?void 0:E.cancelButton)),"data-button":"","data-cancel":"",onClick:t[0]||(t[0]=()=>{var t;M(),null!=(t=e.toast.cancel)&&t.onClick&&e.toast.cancel.onClick()})},at(e.toast.cancel.label),3)):Go("",!0),e.toast.action?(Mo(),Bo("button",{key:2,class:Ge(e.cn(null==(D=e.classes)?void 0:D.actionButton,null==(R=e.toast.classes)?void 0:R.actionButton)),"data-button":"",onClick:t[1]||(t[1]=t=>{var n;null==(n=e.toast.action)||n.onClick(t),!t.defaultPrevented&&M()})},at(e.toast.action.label),3)):Go("",!0)],64))],46,gp)}}}),wp=["data-visible"],xp={class:"sonner-spinner"},kp=Zr({__name:"Loader",props:{visible:{type:Boolean}},setup(e){const t=Array(12).fill(0);return(e,n)=>(Mo(),Bo("div",{class:"sonner-loading-wrapper","data-visible":e.visible},[Ho("div",xp,[(Mo(!0),Bo(Ao,null,Hr(Mn(t),(e=>(Mo(),Bo("div",{key:`spinner-bar-${e}`,class:"sonner-loading-bar"})))),128))])],8,wp))}}),_p={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Sp=[Ho("path",{"fill-rule":"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z","clip-rule":"evenodd"},null,-1)],Ep=pp({},[["render",function(e,t){return Mo(),Bo("svg",_p,Sp)}]]),Tp={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Cp=[Ho("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z","clip-rule":"evenodd"},null,-1)],Ap=pp({},[["render",function(e,t){return Mo(),Bo("svg",Tp,Cp)}]]),Pp={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor",height:"20",width:"20"},Dp=[Ho("path",{"fill-rule":"evenodd",d:"M9.401 3.003c1.155-2 4.043-2 5.197 0l7.355 12.748c1.154 2-.29 4.5-2.599 4.5H4.645c-2.309 0-3.752-2.5-2.598-4.5L9.4 3.003zM12 8.25a.75.75 0 01.75.75v3.75a.75.75 0 01-1.5 0V9a.75.75 0 01.75-.75zm0 8.25a.75.75 0 100-1.5.75.75 0 000 1.5z","clip-rule":"evenodd"},null,-1)],Rp=pp({},[["render",function(e,t){return Mo(),Bo("svg",Pp,Dp)}]]),$p={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor",height:"20",width:"20"},Np=[Ho("path",{"fill-rule":"evenodd",d:"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z","clip-rule":"evenodd"},null,-1)],Mp=pp({},[["render",function(e,t){return Mo(),Bo("svg",$p,Np)}]]),Ip=["aria-label"],Lp=["dir","data-theme","data-rich-colors","data-y-position","data-x-position"],jp="32px",Bp=typeof window<"u"&&typeof document<"u",Qp=Zr({name:"Toaster",inheritAttrs:!1,__name:"Toaster",props:{invert:{type:Boolean,default:!1},theme:{default:"light"},position:{default:"bottom-right"},hotkey:{default:()=>["altKey","KeyT"]},richColors:{type:Boolean,default:!1},expand:{type:Boolean,default:!1},duration:{default:4e3},gap:{default:14},visibleToasts:{default:3},closeButton:{type:Boolean,default:!1},toastOptions:{default:()=>({})},class:{default:""},style:{default:()=>({})},offset:{default:jp},dir:{default:"auto"},icons:{},containerAriaLabel:{default:"Notifications"},pauseWhenPageIsHidden:{type:Boolean,default:!1},cn:{}},setup(e){function t(...e){return e.filter(Boolean).join(" ")}function n(){if(typeof window>"u"||typeof document>"u")return"ltr";const e=document.documentElement.getAttribute("dir");return"auto"!==e&&e?e:window.getComputedStyle(document.documentElement).direction}const r=e,a=ra(),o=Dn([]),i=yi((()=>{const e=o.value.filter((e=>e.position)).map((e=>e.position));return e.length>0?Array.from(new Set([r.position].concat(e))):[r.position]})),s=Dn([]),l=Dn(!1),c=Dn(!1),d=Dn("system"!==r.theme?r.theme:typeof window<"u"&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"),u=yi((()=>r.cn||t)),p=Dn(null),h=Dn(null),f=Dn(!1),m=r.hotkey.join("+").replace(/Key/g,"").replace(/Digit/g,"");function g(e){o.value=o.value.filter((({id:t})=>t!==e.id))}const v=e=>{var t,n;f.value&&(null==(n=null==(t=e.currentTarget)?void 0:t.contains)||!n.call(t,e.relatedTarget))&&(f.value=!1,h.value&&(h.value.focus({preventScroll:!0}),h.value=null))},b=e=>{e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||f.value||(f.value=!0,h.value=e.relatedTarget)},y=e=>{e.target&&e.target instanceof HTMLElement&&"false"===e.target.dataset.dismissible||(c.value=!1)};return Ya((e=>{const t=dp.subscribe((e=>{e.dismiss?o.value=o.value.map((t=>t.id===e.id?{...t,delete:!0}:t)):ar((()=>{const t=o.value.findIndex((t=>t.id===e.id));-1!==t?o.value.splice(t,1,e):o.value=[e,...o.value]}))}));e((()=>{t()}))})),Ka((()=>r.theme),(e=>{"system"===e?("system"===e&&(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?d.value="dark":d.value="light"),!(typeof window>"u")&&window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(({matches:e})=>{d.value=e?"dark":"light"}))):d.value=e})),Ka((()=>p.value),(()=>{if(p.value)return()=>{h.value&&(h.value.focus({preventScroll:!0}),h.value=null,f.value=!1)}})),Ya((()=>{o.value.length<=1&&(l.value=!1)})),Ya((e=>{function t(e){const t=r.hotkey.every((t=>e[t]||e.code===t)),n=Array.isArray(p.value)?p.value[0]:p.value;t&&(l.value=!0,null==n||n.focus());const a=document.activeElement===p.value||(null==n?void 0:n.contains(document.activeElement));"Escape"===e.code&&a&&(l.value=!1)}Bp&&(document.addEventListener("keydown",t),e((()=>{document.removeEventListener("keydown",t)})))})),(e,t)=>(Mo(),Bo("section",{"aria-label":`${e.containerAriaLabel} ${Mn(m)}`,tabIndex:-1},[(Mo(!0),Bo(Ao,null,Hr(i.value,((r,i)=>{var d;return Mo(),Bo("ol",ti({key:r,ref_for:!0,ref_key:"listRef",ref:p,"data-sonner-toaster":"",class:e.class,dir:"auto"===e.dir?n():e.dir,tabIndex:-1,"data-theme":e.theme,"data-rich-colors":e.richColors,"data-y-position":r.split("-")[0],"data-x-position":r.split("-")[1],style:{"--front-toast-height":`${null==(d=s.value[0])?void 0:d.height}px`,"--offset":"number"==typeof e.offset?`${e.offset}px`:e.offset||jp,"--width":"356px","--gap":"14px",...e.style,...Mn(a).style},onBlur:v,onFocus:b,onMouseenter:t[1]||(t[1]=e=>l.value=!0),onMousemove:t[2]||(t[2]=e=>l.value=!0),onMouseleave:t[3]||(t[3]=()=>{c.value||(l.value=!1)}),onPointerdown:y,onPointerup:t[4]||(t[4]=e=>c.value=!1)},e.$attrs),[(Mo(!0),Bo(Ao,null,Hr(o.value.filter((t=>!t.position&&0===i||t.position===e.position)),((n,r)=>{var a,i,d,p,h,f,m,v,b;return Mo(),Qo(Op,{key:n.id,index:r,toast:n,duration:(null==(a=e.toastOptions)?void 0:a.duration)??e.duration,class:Ge(null==(i=e.toastOptions)?void 0:i.class),descriptionClass:null==(d=e.toastOptions)?void 0:d.descriptionClass,invert:e.invert,visibleToasts:e.visibleToasts,closeButton:(null==(p=e.toastOptions)?void 0:p.closeButton)??e.closeButton,interacting:c.value,position:e.position,style:Ve(null==(h=e.toastOptions)?void 0:h.style),unstyled:null==(f=e.toastOptions)?void 0:f.unstyled,classes:null==(m=e.toastOptions)?void 0:m.classes,cancelButtonStyle:null==(v=e.toastOptions)?void 0:v.cancelButtonStyle,actionButtonStyle:null==(b=e.toastOptions)?void 0:b.actionButtonStyle,toasts:o.value,expandByDefault:e.expand,gap:e.gap,expanded:l.value,pauseWhenPageIsHidden:e.pauseWhenPageIsHidden,cn:u.value,heights:s.value,"onUpdate:heights":t[0]||(t[0]=e=>s.value=e),onRemoveToast:g},{"loading-icon":Or((()=>[Xr(e.$slots,"loading-icon",{},(()=>[Vo(kp,{visible:"loading"===n.type},null,8,["visible"])]))])),"success-icon":Or((()=>[Xr(e.$slots,"success-icon",{},(()=>[Vo(Ep)]))])),"error-icon":Or((()=>[Xr(e.$slots,"error-icon",{},(()=>[Vo(Mp)]))])),"warning-icon":Or((()=>[Xr(e.$slots,"warning-icon",{},(()=>[Vo(Rp)]))])),"info-icon":Or((()=>[Xr(e.$slots,"info-icon",{},(()=>[Vo(Ap)]))])),_:2},1032,["index","toast","duration","class","descriptionClass","invert","visibleToasts","closeButton","interacting","position","style","unstyled","classes","cancelButtonStyle","actionButtonStyle","toasts","expandByDefault","gap","expanded","pauseWhenPageIsHidden","cn","heights"])})),128))],16,Lp)})),128))],8,Ip))}}),Up={toast:()=>null};function Fp(e){Up.toast=e}function zp(){return{initializeToasts:Fp,toast:(e,t="info",n={timeout:3e3})=>{Up.toast(e,t,n)}}}const qp=Zr({__name:"ScalarToasts",setup(e){const t=Dn(!1);Nr((()=>t.value=!0));const n={success:up.success,error:up.error,warn:up.warning,info:up},{initializeToasts:r}=zp();return r(((e,t="info",r={})=>{(n[t]||n.info)(e,{duration:r.timeout||3e3,description:r.description})})),(e,n)=>t.value?(Mo(),Qo(Mn(Qp),{key:0,class:"scalar-toaster"})):Go("",!0)}});!function(){try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode(".scalar-toaster [data-sonner-toast][data-styled=true]{background:var(--scalar-background-1);color:var(--scalar-color-1);padding:18px;border:none;border-radius:var(--scalar-radius-lg);font-size:var(--scalar-font-size-3);font-weight:var(--scalar-font-medium);box-shadow:var(--scalar-shadow-2)}.scalar-toaster [data-sonner-toast] [data-icon]{align-self:flex-start;position:relative;top:2px}.scalar-toaster [data-sonner-toast][data-styled=true][data-expanded=true]{height:auto}.scalar-toaster [data-sonner-toast][data-type=error]{background:var(--scalar-background-1)}.scalar-toaster [data-sonner-toast][data-type=error] [data-icon]{color:color-mix(in srgb,var(--scalar-color-red) 75%,var(--scalar-color-1))}.scalar-toaster [data-sonner-toast][data-type=warning]{background:var(--scalar-background-1)}.scalar-toaster [data-sonner-toast][data-type=warning] [data-icon]{color:color-mix(in srgb,var(--scalar-color-orange) 90%,var(--scalar-color-1))}")),document.head.appendChild(e)}}catch(e){console.error("vite-plugin-css-injected-by-js",e)}}();const Hp=()=>{const{toast:e}=zp();return{copyToClipboard:t=>{navigator.clipboard.writeText(t).then((()=>{e("Copied to the clipboard","info")}))}}},Vp=Dn(!1);const Zp="https://api.scalar.com/request-proxy",Wp="https://proxy.scalar.com",Xp=/[\0-\x1F!-,\.\/:-@\[-\^`\{-\xA9\xAB-\xB4\xB6-\xB9\xBB-\xBF\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0378\u0379\u037E\u0380-\u0385\u0387\u038B\u038D\u03A2\u03F6\u0482\u0530\u0557\u0558\u055A-\u055F\u0589-\u0590\u05BE\u05C0\u05C3\u05C6\u05C8-\u05CF\u05EB-\u05EE\u05F3-\u060F\u061B-\u061F\u066A-\u066D\u06D4\u06DD\u06DE\u06E9\u06FD\u06FE\u0700-\u070F\u074B\u074C\u07B2-\u07BF\u07F6-\u07F9\u07FB\u07FC\u07FE\u07FF\u082E-\u083F\u085C-\u085F\u086B-\u089F\u08B5\u08C8-\u08D2\u08E2\u0964\u0965\u0970\u0984\u098D\u098E\u0991\u0992\u09A9\u09B1\u09B3-\u09B5\u09BA\u09BB\u09C5\u09C6\u09C9\u09CA\u09CF-\u09D6\u09D8-\u09DB\u09DE\u09E4\u09E5\u09F2-\u09FB\u09FD\u09FF\u0A00\u0A04\u0A0B-\u0A0E\u0A11\u0A12\u0A29\u0A31\u0A34\u0A37\u0A3A\u0A3B\u0A3D\u0A43-\u0A46\u0A49\u0A4A\u0A4E-\u0A50\u0A52-\u0A58\u0A5D\u0A5F-\u0A65\u0A76-\u0A80\u0A84\u0A8E\u0A92\u0AA9\u0AB1\u0AB4\u0ABA\u0ABB\u0AC6\u0ACA\u0ACE\u0ACF\u0AD1-\u0ADF\u0AE4\u0AE5\u0AF0-\u0AF8\u0B00\u0B04\u0B0D\u0B0E\u0B11\u0B12\u0B29\u0B31\u0B34\u0B3A\u0B3B\u0B45\u0B46\u0B49\u0B4A\u0B4E-\u0B54\u0B58-\u0B5B\u0B5E\u0B64\u0B65\u0B70\u0B72-\u0B81\u0B84\u0B8B-\u0B8D\u0B91\u0B96-\u0B98\u0B9B\u0B9D\u0BA0-\u0BA2\u0BA5-\u0BA7\u0BAB-\u0BAD\u0BBA-\u0BBD\u0BC3-\u0BC5\u0BC9\u0BCE\u0BCF\u0BD1-\u0BD6\u0BD8-\u0BE5\u0BF0-\u0BFF\u0C0D\u0C11\u0C29\u0C3A-\u0C3C\u0C45\u0C49\u0C4E-\u0C54\u0C57\u0C5B-\u0C5F\u0C64\u0C65\u0C70-\u0C7F\u0C84\u0C8D\u0C91\u0CA9\u0CB4\u0CBA\u0CBB\u0CC5\u0CC9\u0CCE-\u0CD4\u0CD7-\u0CDD\u0CDF\u0CE4\u0CE5\u0CF0\u0CF3-\u0CFF\u0D0D\u0D11\u0D45\u0D49\u0D4F-\u0D53\u0D58-\u0D5E\u0D64\u0D65\u0D70-\u0D79\u0D80\u0D84\u0D97-\u0D99\u0DB2\u0DBC\u0DBE\u0DBF\u0DC7-\u0DC9\u0DCB-\u0DCE\u0DD5\u0DD7\u0DE0-\u0DE5\u0DF0\u0DF1\u0DF4-\u0E00\u0E3B-\u0E3F\u0E4F\u0E5A-\u0E80\u0E83\u0E85\u0E8B\u0EA4\u0EA6\u0EBE\u0EBF\u0EC5\u0EC7\u0ECE\u0ECF\u0EDA\u0EDB\u0EE0-\u0EFF\u0F01-\u0F17\u0F1A-\u0F1F\u0F2A-\u0F34\u0F36\u0F38\u0F3A-\u0F3D\u0F48\u0F6D-\u0F70\u0F85\u0F98\u0FBD-\u0FC5\u0FC7-\u0FFF\u104A-\u104F\u109E\u109F\u10C6\u10C8-\u10CC\u10CE\u10CF\u10FB\u1249\u124E\u124F\u1257\u1259\u125E\u125F\u1289\u128E\u128F\u12B1\u12B6\u12B7\u12BF\u12C1\u12C6\u12C7\u12D7\u1311\u1316\u1317\u135B\u135C\u1360-\u137F\u1390-\u139F\u13F6\u13F7\u13FE-\u1400\u166D\u166E\u1680\u169B-\u169F\u16EB-\u16ED\u16F9-\u16FF\u170D\u1715-\u171F\u1735-\u173F\u1754-\u175F\u176D\u1771\u1774-\u177F\u17D4-\u17D6\u17D8-\u17DB\u17DE\u17DF\u17EA-\u180A\u180E\u180F\u181A-\u181F\u1879-\u187F\u18AB-\u18AF\u18F6-\u18FF\u191F\u192C-\u192F\u193C-\u1945\u196E\u196F\u1975-\u197F\u19AC-\u19AF\u19CA-\u19CF\u19DA-\u19FF\u1A1C-\u1A1F\u1A5F\u1A7D\u1A7E\u1A8A-\u1A8F\u1A9A-\u1AA6\u1AA8-\u1AAF\u1AC1-\u1AFF\u1B4C-\u1B4F\u1B5A-\u1B6A\u1B74-\u1B7F\u1BF4-\u1BFF\u1C38-\u1C3F\u1C4A-\u1C4C\u1C7E\u1C7F\u1C89-\u1C8F\u1CBB\u1CBC\u1CC0-\u1CCF\u1CD3\u1CFB-\u1CFF\u1DFA\u1F16\u1F17\u1F1E\u1F1F\u1F46\u1F47\u1F4E\u1F4F\u1F58\u1F5A\u1F5C\u1F5E\u1F7E\u1F7F\u1FB5\u1FBD\u1FBF-\u1FC1\u1FC5\u1FCD-\u1FCF\u1FD4\u1FD5\u1FDC-\u1FDF\u1FED-\u1FF1\u1FF5\u1FFD-\u203E\u2041-\u2053\u2055-\u2070\u2072-\u207E\u2080-\u208F\u209D-\u20CF\u20F1-\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F-\u215F\u2189-\u24B5\u24EA-\u2BFF\u2C2F\u2C5F\u2CE5-\u2CEA\u2CF4-\u2CFF\u2D26\u2D28-\u2D2C\u2D2E\u2D2F\u2D68-\u2D6E\u2D70-\u2D7E\u2D97-\u2D9F\u2DA7\u2DAF\u2DB7\u2DBF\u2DC7\u2DCF\u2DD7\u2DDF\u2E00-\u2E2E\u2E30-\u3004\u3008-\u3020\u3030\u3036\u3037\u303D-\u3040\u3097\u3098\u309B\u309C\u30A0\u30FB\u3100-\u3104\u3130\u318F-\u319F\u31C0-\u31EF\u3200-\u33FF\u4DC0-\u4DFF\u9FFD-\u9FFF\uA48D-\uA4CF\uA4FE\uA4FF\uA60D-\uA60F\uA62C-\uA63F\uA673\uA67E\uA6F2-\uA716\uA720\uA721\uA789\uA78A\uA7C0\uA7C1\uA7CB-\uA7F4\uA828-\uA82B\uA82D-\uA83F\uA874-\uA87F\uA8C6-\uA8CF\uA8DA-\uA8DF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA954-\uA95F\uA97D-\uA97F\uA9C1-\uA9CE\uA9DA-\uA9DF\uA9FF\uAA37-\uAA3F\uAA4E\uAA4F\uAA5A-\uAA5F\uAA77-\uAA79\uAAC3-\uAADA\uAADE\uAADF\uAAF0\uAAF1\uAAF7-\uAB00\uAB07\uAB08\uAB0F\uAB10\uAB17-\uAB1F\uAB27\uAB2F\uAB5B\uAB6A-\uAB6F\uABEB\uABEE\uABEF\uABFA-\uABFF\uD7A4-\uD7AF\uD7C7-\uD7CA\uD7FC-\uD7FF\uE000-\uF8FF\uFA6E\uFA6F\uFADA-\uFAFF\uFB07-\uFB12\uFB18-\uFB1C\uFB29\uFB37\uFB3D\uFB3F\uFB42\uFB45\uFBB2-\uFBD2\uFD3E-\uFD4F\uFD90\uFD91\uFDC8-\uFDEF\uFDFC-\uFDFF\uFE10-\uFE1F\uFE30-\uFE32\uFE35-\uFE4C\uFE50-\uFE6F\uFE75\uFEFD-\uFF0F\uFF1A-\uFF20\uFF3B-\uFF3E\uFF40\uFF5B-\uFF65\uFFBF-\uFFC1\uFFC8\uFFC9\uFFD0\uFFD1\uFFD8\uFFD9\uFFDD-\uFFFF]|\uD800[\uDC0C\uDC27\uDC3B\uDC3E\uDC4E\uDC4F\uDC5E-\uDC7F\uDCFB-\uDD3F\uDD75-\uDDFC\uDDFE-\uDE7F\uDE9D-\uDE9F\uDED1-\uDEDF\uDEE1-\uDEFF\uDF20-\uDF2C\uDF4B-\uDF4F\uDF7B-\uDF7F\uDF9E\uDF9F\uDFC4-\uDFC7\uDFD0\uDFD6-\uDFFF]|\uD801[\uDC9E\uDC9F\uDCAA-\uDCAF\uDCD4-\uDCD7\uDCFC-\uDCFF\uDD28-\uDD2F\uDD64-\uDDFF\uDF37-\uDF3F\uDF56-\uDF5F\uDF68-\uDFFF]|\uD802[\uDC06\uDC07\uDC09\uDC36\uDC39-\uDC3B\uDC3D\uDC3E\uDC56-\uDC5F\uDC77-\uDC7F\uDC9F-\uDCDF\uDCF3\uDCF6-\uDCFF\uDD16-\uDD1F\uDD3A-\uDD7F\uDDB8-\uDDBD\uDDC0-\uDDFF\uDE04\uDE07-\uDE0B\uDE14\uDE18\uDE36\uDE37\uDE3B-\uDE3E\uDE40-\uDE5F\uDE7D-\uDE7F\uDE9D-\uDEBF\uDEC8\uDEE7-\uDEFF\uDF36-\uDF3F\uDF56-\uDF5F\uDF73-\uDF7F\uDF92-\uDFFF]|\uD803[\uDC49-\uDC7F\uDCB3-\uDCBF\uDCF3-\uDCFF\uDD28-\uDD2F\uDD3A-\uDE7F\uDEAA\uDEAD-\uDEAF\uDEB2-\uDEFF\uDF1D-\uDF26\uDF28-\uDF2F\uDF51-\uDFAF\uDFC5-\uDFDF\uDFF7-\uDFFF]|\uD804[\uDC47-\uDC65\uDC70-\uDC7E\uDCBB-\uDCCF\uDCE9-\uDCEF\uDCFA-\uDCFF\uDD35\uDD40-\uDD43\uDD48-\uDD4F\uDD74\uDD75\uDD77-\uDD7F\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDFF\uDE12\uDE38-\uDE3D\uDE3F-\uDE7F\uDE87\uDE89\uDE8E\uDE9E\uDEA9-\uDEAF\uDEEB-\uDEEF\uDEFA-\uDEFF\uDF04\uDF0D\uDF0E\uDF11\uDF12\uDF29\uDF31\uDF34\uDF3A\uDF45\uDF46\uDF49\uDF4A\uDF4E\uDF4F\uDF51-\uDF56\uDF58-\uDF5C\uDF64\uDF65\uDF6D-\uDF6F\uDF75-\uDFFF]|\uD805[\uDC4B-\uDC4F\uDC5A-\uDC5D\uDC62-\uDC7F\uDCC6\uDCC8-\uDCCF\uDCDA-\uDD7F\uDDB6\uDDB7\uDDC1-\uDDD7\uDDDE-\uDDFF\uDE41-\uDE43\uDE45-\uDE4F\uDE5A-\uDE7F\uDEB9-\uDEBF\uDECA-\uDEFF\uDF1B\uDF1C\uDF2C-\uDF2F\uDF3A-\uDFFF]|\uD806[\uDC3B-\uDC9F\uDCEA-\uDCFE\uDD07\uDD08\uDD0A\uDD0B\uDD14\uDD17\uDD36\uDD39\uDD3A\uDD44-\uDD4F\uDD5A-\uDD9F\uDDA8\uDDA9\uDDD8\uDDD9\uDDE2\uDDE5-\uDDFF\uDE3F-\uDE46\uDE48-\uDE4F\uDE9A-\uDE9C\uDE9E-\uDEBF\uDEF9-\uDFFF]|\uD807[\uDC09\uDC37\uDC41-\uDC4F\uDC5A-\uDC71\uDC90\uDC91\uDCA8\uDCB7-\uDCFF\uDD07\uDD0A\uDD37-\uDD39\uDD3B\uDD3E\uDD48-\uDD4F\uDD5A-\uDD5F\uDD66\uDD69\uDD8F\uDD92\uDD99-\uDD9F\uDDAA-\uDEDF\uDEF7-\uDFAF\uDFB1-\uDFFF]|\uD808[\uDF9A-\uDFFF]|\uD809[\uDC6F-\uDC7F\uDD44-\uDFFF]|[\uD80A\uD80B\uD80E-\uD810\uD812-\uD819\uD824-\uD82B\uD82D\uD82E\uD830-\uD833\uD837\uD839\uD83D\uD83F\uD87B-\uD87D\uD87F\uD885-\uDB3F\uDB41-\uDBFF][\uDC00-\uDFFF]|\uD80D[\uDC2F-\uDFFF]|\uD811[\uDE47-\uDFFF]|\uD81A[\uDE39-\uDE3F\uDE5F\uDE6A-\uDECF\uDEEE\uDEEF\uDEF5-\uDEFF\uDF37-\uDF3F\uDF44-\uDF4F\uDF5A-\uDF62\uDF78-\uDF7C\uDF90-\uDFFF]|\uD81B[\uDC00-\uDE3F\uDE80-\uDEFF\uDF4B-\uDF4E\uDF88-\uDF8E\uDFA0-\uDFDF\uDFE2\uDFE5-\uDFEF\uDFF2-\uDFFF]|\uD821[\uDFF8-\uDFFF]|\uD823[\uDCD6-\uDCFF\uDD09-\uDFFF]|\uD82C[\uDD1F-\uDD4F\uDD53-\uDD63\uDD68-\uDD6F\uDEFC-\uDFFF]|\uD82F[\uDC6B-\uDC6F\uDC7D-\uDC7F\uDC89-\uDC8F\uDC9A-\uDC9C\uDC9F-\uDFFF]|\uD834[\uDC00-\uDD64\uDD6A-\uDD6C\uDD73-\uDD7A\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDE41\uDE45-\uDFFF]|\uD835[\uDC55\uDC9D\uDCA0\uDCA1\uDCA3\uDCA4\uDCA7\uDCA8\uDCAD\uDCBA\uDCBC\uDCC4\uDD06\uDD0B\uDD0C\uDD15\uDD1D\uDD3A\uDD3F\uDD45\uDD47-\uDD49\uDD51\uDEA6\uDEA7\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3\uDFCC\uDFCD]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85-\uDE9A\uDEA0\uDEB0-\uDFFF]|\uD838[\uDC07\uDC19\uDC1A\uDC22\uDC25\uDC2B-\uDCFF\uDD2D-\uDD2F\uDD3E\uDD3F\uDD4A-\uDD4D\uDD4F-\uDEBF\uDEFA-\uDFFF]|\uD83A[\uDCC5-\uDCCF\uDCD7-\uDCFF\uDD4C-\uDD4F\uDD5A-\uDFFF]|\uD83B[\uDC00-\uDDFF\uDE04\uDE20\uDE23\uDE25\uDE26\uDE28\uDE33\uDE38\uDE3A\uDE3C-\uDE41\uDE43-\uDE46\uDE48\uDE4A\uDE4C\uDE50\uDE53\uDE55\uDE56\uDE58\uDE5A\uDE5C\uDE5E\uDE60\uDE63\uDE65\uDE66\uDE6B\uDE73\uDE78\uDE7D\uDE7F\uDE8A\uDE9C-\uDEA0\uDEA4\uDEAA\uDEBC-\uDFFF]|\uD83C[\uDC00-\uDD2F\uDD4A-\uDD4F\uDD6A-\uDD6F\uDD8A-\uDFFF]|\uD83E[\uDC00-\uDFEF\uDFFA-\uDFFF]|\uD869[\uDEDE-\uDEFF]|\uD86D[\uDF35-\uDF3F]|\uD86E[\uDC1E\uDC1F]|\uD873[\uDEA2-\uDEAF]|\uD87A[\uDFE1-\uDFFF]|\uD87E[\uDE1E-\uDFFF]|\uD884[\uDF4B-\uDFFF]|\uDB40[\uDC00-\uDCFF\uDDF0-\uDFFF]/g,Yp=Object.hasOwnProperty;class Gp{constructor(){this.occurrences,this.reset()}slug(e,t){const n=this;let r=Kp(e,!0===t);const a=r;for(;Yp.call(n.occurrences,r);)n.occurrences[a]++,r=a+"-"+n.occurrences[a];return n.occurrences[r]=0,r}reset(){this.occurrences=Object.create(null)}}function Kp(e,t){return"string"!=typeof e?"":(t||(e=e.toLowerCase()),e.replace(Xp,"").replace(/ /g,"-"))}const Jp=Dn(iu.hash??""),eh=Dn(),th=Dn(!1),nh=e=>e.slug?`description/${e.slug}`:"",rh=e=>{var t;if(!eh.value)return"";const n=new RegExp("^"+(null==(t=eh.value)?void 0:t.basePath)+"/?");return decodeURIComponent(e.replace(n,""))},ah=(e,t)=>{if(!e)return"webhooks";const n=Kp(e);return`webhook/${t}/${encodeURIComponent(n)}`},oh=e=>{if(!e)return"models";const t=Kp(e);return`model/${encodeURIComponent(t)}`},ih=(e,t)=>`${sh(t)}/${e.httpVerb}${e.path}`,sh=({name:e})=>{const t=Kp(e);return`tag/${encodeURIComponent(t)}`},lh=(e=Jp.value)=>{var t;const n=null==(t=e.match(/(tag\/[^/]+)/))?void 0:t[0],r=e.startsWith("model")?"models":"",a=e.startsWith("webhook")?"webhooks":"";return n||r||a},ch=()=>{Jp.value=eh.value?rh(window.location.pathname):decodeURIComponent(window.location.hash.replace(/^#/,""))},dh=()=>({hash:Jp,getWebhookId:ah,getModelId:oh,getHeadingId:nh,getOperationId:ih,getPathRoutingId:rh,getSectionId:lh,getTagId:sh,isIntersectionEnabled:th,pathRouting:eh,updateHash:ch});function uh(e){return{parameterMap:yi((()=>{var t;const n=(null==(t=e.operation.information)?void 0:t.parameters)??[],r={path:[],query:[],header:[],body:[],formData:[]};return e.operation.pathParameters&&e.operation.pathParameters.forEach((e=>{"path"===e.in?r.path.push(e):"query"===e.in?r.query.push(e):"header"===e.in?r.header.push(e):"body"===e.in?r.body.push(e):"formData"===e.in&&r.formData.push(e)})),n&&n.forEach((e=>{"path"===e.in?r.path.push(e):"query"===e.in?r.query.push(e):"header"===e.in?r.header.push(e):"body"===e.in?r.body.push(e):"formData"===e.in&&r.formData.push(e)})),r}))}}const ph={"date-time":(new Date).toISOString(),date:(new Date).toISOString().split("T")[0],email:"hello@example.com",hostname:"example.com","idn-email":"jane.doe@example.com","idn-hostname":"example.com",ipv4:"127.0.0.1",ipv6:"51d4:7fab:bfbf:b7d7:b2cb:d4b4:3dad:d998","iri-reference":"/entitiy/1",iri:"https://example.com/entity/123","json-pointer":"/nested/objects",password:"super-secret",regex:"/[a-z]/","relative-json-pointer":"1/nested/objects",time:(new Date).toISOString().split("T")[1].split(".")[0],"uri-reference":"../folder","uri-template":"https://example.com/{id}",uri:"https://example.com",uuid:"123e4567-e89b-12d3-a456-426614174000"};function hh(e,t=""){return ph[e.format]??t}const fh=(e,t,n=0,r,a)=>{var o,i,s,l,c,d,u,p,h,f,m,g,v;if(11===n)try{JSON.stringify(e)}catch{return"[Circular Reference]"}const b=!!(null==t?void 0:t.emptyString);if("write"===(null==t?void 0:t.mode)&&e.readOnly||"read"===(null==t?void 0:t.mode)&&e.writeOnly)return;if(e["x-variable"]){const n=null==(o=null==t?void 0:t.variables)?void 0:o[e["x-variable"]];if(void 0!==n)return"number"===e.type||"integer"===e.type?parseInt(n,10):n}if(Array.isArray(e.examples)&&e.examples.length>0)return e.examples[0];if(void 0!==e.example)return e.example;if(void 0!==e.default)return e.default;if(Array.isArray(e.enum)&&e.enum.length>0)return e.enum[0];if(!("object"===e.type||"array"===e.type||(null==(s=null==(i=e.allOf)?void 0:i.at)?void 0:s.call(i,0))||(null==(c=null==(l=e.anyOf)?void 0:l.at)?void 0:c.call(l,0))||(null==(u=null==(d=e.oneOf)?void 0:d.at)?void 0:u.call(d,0))||!0!==(null==t?void 0:t.omitEmptyAndOptionalProperties)||!0===e.required||!0===(null==r?void 0:r.required)||(null==(p=null==r?void 0:r.required)?void 0:p.includes(a??e.name))))return;if("object"===e.type||void 0!==e.properties){const r={};if(void 0!==e.properties)for(const a in e.properties)if(Object.prototype.hasOwnProperty.call(e.properties,a)){const o=e.properties[a],i=(null==t?void 0:t.xml)?null==(h=o.xml)?void 0:h.name:void 0;r[i??a]=fh(o,t,n+1,e,a),void 0===r[i??a]&&delete r[i??a]}return void 0!==e.additionalProperties&&(!0===e.additionalProperties||"object"==typeof e.additionalProperties&&!Object.keys(e.additionalProperties).length?r.ANY_ADDITIONAL_PROPERTY="anything":!1!==e.additionalProperties&&(r.ANY_ADDITIONAL_PROPERTY=fh(e.additionalProperties,t,n+1))),void 0!==e.anyOf?Object.assign(r,fh(e.anyOf[0],t,n+1)):void 0!==e.oneOf?Object.assign(r,fh(e.oneOf[0],t,n+1)):void 0!==e.allOf&&Object.assign(r,...e.allOf.map((r=>fh(r,t,n+1,e))).filter((e=>void 0!==e))),r}if("array"===e.type||void 0!==e.items){const r=null==(m=null==(f=null==e?void 0:e.items)?void 0:f.xml)?void 0:m.name,a=!!((null==t?void 0:t.xml)&&(null==(g=e.xml)?void 0:g.wrapped)&&r);if(void 0!==e.example)return a?{[r]:e.example}:e.example;if(e.items){const o=["anyOf","oneOf","allOf"];for(const i of o){if(!e.items[i])continue;const o=(["anyOf","oneOf"].includes(i)?e.items[i].slice(0,1):e.items[i]).map((r=>fh(r,t,n+1,e))).filter((e=>void 0!==e));return a?[{[r]:o}]:o}}if(null==(v=e.items)?void 0:v.type){const o=fh(e.items,t,n+1);return a?[{[r]:o}]:[o]}return[]}const y={string:b?hh(e,null==t?void 0:t.emptyString):"",boolean:!0,integer:e.min??1,number:e.min??1,array:[]};if(void 0!==e.type&&void 0!==y[e.type])return y[e.type];const O=e.oneOf||e.anyOf;if(Array.isArray(O)&&O.length>0){const e=O[0];return fh(e,t,n+1)}if(Array.isArray(e.allOf)){let r=null;return e.allOf.forEach((e=>{const a=fh(e,t,n+1);r="object"==typeof a&&"object"==typeof r?{...r??{},...a}:Array.isArray(a)&&Array.isArray(r)?[...r??{},...a]:a})),r}if(Array.isArray(e.type)){if(e.type.includes("null"))return null;const t=y[e.type[0]];if(void 0!==t)return t}return null};function mh(e,t,n=!0){var r;return[...e.pathParameters||[],...(null==(r=e.information)?void 0:r.parameters)||[]].filter((e=>e.in===t)).filter((e=>n&&e.required||!n)).map((e=>({name:e.name,description:e.description??null,value:e.example?e.example:e.schema?fh(e.schema,{mode:"write"}):"",required:e.required??!1,enabled:e.required??!1}))).sort(((e,t)=>e.required&&!t.required?-1:!e.required&&t.required?1:0))}function gh(e,t){const n=function(e,t,r){let a="";if(e instanceof Array)for(let o=0,i=e.length;o":"/>",o){for(const t in e)"#text"==t?a+=e[t]:"#cdata"==t?a+="":"@"!=t.charAt(0)&&(a+=n(e[t],t,r+"\t"));a+=("\n"==a.charAt(a.length-1)?r:"")+""+t+">"}}else a+=r+"<"+t+">"+e.toString()+""+t+">";return a};let r="";for(const t in e)r+=n(e[t],t,"");return t?r.replace(/\t/g,t):r.replace(/\t|\n/g,"")}function vh(e,t=""){return Object.entries(e).flatMap((([e,n])=>{const r=t?`${t}[${e}]`:e;return"object"==typeof n&&null!==n?vh(n,r):[{name:r,value:n}]}))}const bh=["application/json","application/octet-stream","application/x-www-form-urlencoded","application/xml","multipart/form-data","text/plain"];function yh(e,t){var n,r,a,o;const i=tu(null==(r=null==(n=e.information)?void 0:n.requestBody)?void 0:r.content),s=bh.find((e=>!!(null==i?void 0:i[e]))),l=null==(a=null==i?void 0:i["application/json"])?void 0:a.examples,c=null==(o=l??{})?void 0:o[t??Object.keys(l??{})[0]];if(c)return{body:{mimeType:"application/json",text:ru(null==c?void 0:c.value)}};const d=mh(e,"body",!1);if(d.length>0)return{body:{mimeType:"application/json",text:ru(d[0].value)}};const u=mh(e,"formData",!1);if(u.length>0)return{body:{mimeType:"application/x-www-form-urlencoded",params:u.map((e=>({name:e.name,value:"string"==typeof e.value?e.value:JSON.stringify(e.value)})))}};if(!s)return null;const p=null==i?void 0:i[s],h=[{name:"Content-Type",value:s}],f=(null==p?void 0:p.example)?null==p?void 0:p.example:void 0;if("application/json"===s){const e=(null==p?void 0:p.schema)?fh(null==p?void 0:p.schema,{mode:"write",omitEmptyAndOptionalProperties:!0}):null,t=f??e;return{headers:h,body:{mimeType:s,text:"string"==typeof t?t:JSON.stringify(t,null,2)}}}if("application/xml"===s){const e=(null==p?void 0:p.schema)?fh(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,body:{mimeType:s,text:f??gh(e," ")}}}if("application/octet-stream"===s)return{headers:h,body:{mimeType:s,text:"BINARY"}};if("text/plain"===s){const e=(null==p?void 0:p.schema)?fh(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,body:{mimeType:s,text:f??e??""}}}if("multipart/form-data"===s||"application/x-www-form-urlencoded"===s){const e=(null==p?void 0:p.schema)?fh(null==p?void 0:p.schema,{xml:!0,mode:"write",omitEmptyAndOptionalProperties:!0}):null;return{headers:h,body:{mimeType:s,params:vh(f??e??{})}}}return null}const Oh=(e,t,n)=>{let r=e.path;const a=mh(e,"path",!1);if(a.length){const e=r.match(/{(.*?)}/g);e&&e.forEach((e=>{const t=e.replace(/{|}/g,"");if(a){const n=a.find((e=>e.name===t));(null==n?void 0:n.value)&&(r=r.replace(e,n.value.toString()))}}))}if(!0===(null==t?void 0:t.replaceVariables)){const e=r.match(/{(.*?)}/g);e&&e.forEach((e=>{const t=e.replace(/{|}/g,"");r=r.replace(e,`__${t.toUpperCase()}__`)}))}const o=yh(e,n);return{method:e.httpVerb.toUpperCase(),path:r,postData:null==o?void 0:o.body,headers:[...mh(e,"header",null==t?void 0:t.requiredOnly),...(null==o?void 0:o.headers)??[]],queryString:mh(e,"query",null==t?void 0:t.requiredOnly),cookies:mh(e,"cookie",null==t?void 0:t.requiredOnly)}};function wh(e){return(e??[]).map((e=>({...e,enabled:!0})))}function xh(e){return e.reduce(((e,t)=>(e[t.name]=t.value,e)),{})}function kh(e){return/\s|-/.test(e)}function _h(e,t=0){const n=[],r=" ".repeat(t),a=" ".repeat(t+2);for(const[r,o]of Object.entries(e)){const e=kh(r)?`'${r}'`:r;if(Array.isArray(o)){const r=o.map((e=>"string"==typeof e?`'${e}'`:e&&"object"==typeof e?_h(e,t+2):e)).join(`, ${a}`);n.push(`${a}${e}: [${r}]`)}else if(o&&"object"==typeof o)n.push(`${a}${e}: ${_h(o,t+2)}`);else if("string"==typeof o){let t=`${o}`;if(o.startsWith("JSON.stringify")){const e=o.split("\n");e.length>1&&(t=e.map(((e,t)=>0===t?e:`${a}${e}`)).join("\n"))}else t=`'${o}'`;n.push(`${a}${e}: ${t}`)}else n.push(`${a}${e}: ${o}`)}return`{\n${n.join(",\n")}\n${r}}`}function Sh(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const a={method:"GET"===r.method?void 0:r.method},o=new URLSearchParams(r.queryString?xh(r.queryString):void 0),i=o.size?`?${o.toString()}`:"";(null==(t=r.headers)?void 0:t.length)&&(a.headers={},r.headers.forEach((e=>{a.headers[e.name]=e.value}))),(null==(n=r.cookies)?void 0:n.length)&&(a.headers=a.headers||{},r.cookies.forEach((e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(a).forEach((e=>{void 0===a[e]&&delete a[e]})),r.postData&&(a.body=r.postData.text,"application/json"===r.postData.mimeType&&(a.body=`JSON.stringify(${_h(JSON.parse(a.body))})`));const s=Object.keys(a).length?`, ${_h(a)}`:"";return{target:"node",client:"undici",code:`import { request } from 'undici'\n\nconst { statusCode, body } = await request('${r.url}${i}'${s})`}}function Eh(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const a={method:"GET"===r.method?void 0:r.method},o=new URLSearchParams(r.queryString?xh(r.queryString):void 0),i=o.size?`?${o.toString()}`:"";(null==(t=r.headers)?void 0:t.length)&&(a.headers={},r.headers.forEach((e=>{a.headers[e.name]=e.value}))),(null==(n=r.cookies)?void 0:n.length)&&(a.headers=a.headers||{},r.cookies.forEach((e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(a).forEach((e=>{void 0===a[e]&&delete a[e]})),r.postData&&(a.body=r.postData.text,"application/json"===r.postData.mimeType&&(a.body=`JSON.stringify(${_h(JSON.parse(a.body))})`));const s=Object.keys(a).length?`, ${_h(a)}`:"";return{target:"node",client:"fetch",code:`fetch('${r.url}${i}'${s})`}}function Th(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const a={method:"GET"===r.method?void 0:r.method},o=new URLSearchParams(r.queryString?xh(r.queryString):void 0),i=o.size?`?${o.toString()}`:"";(null==(t=r.headers)?void 0:t.length)&&(a.headers={},r.headers.forEach((e=>{a.headers[e.name]=e.value}))),(null==(n=r.cookies)?void 0:n.length)&&(a.headers=a.headers||{},r.cookies.forEach((e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(a).forEach((e=>{void 0===a[e]&&delete a[e]})),r.postData&&(a.body=r.postData.text,"application/json"===r.postData.mimeType&&(a.body=`JSON.stringify(${_h(JSON.parse(a.body))})`));const s=Object.keys(a).length?`, ${_h(a)}`:"";return{target:"js",client:"fetch",code:`fetch('${r.url}${i}'${s})`}}function Ch(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const a={method:"GET"===r.method?void 0:r.method},o=new URLSearchParams(r.queryString?xh(r.queryString):void 0);o.size&&(a.query={},o.forEach(((e,t)=>{a.query[t]=e}))),(null==(t=r.headers)?void 0:t.length)&&(a.headers={},r.headers.forEach((e=>{a.headers[e.name]=e.value}))),(null==(n=r.cookies)?void 0:n.length)&&(a.headers=a.headers||{},r.cookies.forEach((e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(a).forEach((e=>{void 0===a[e]&&delete a[e]})),r.postData&&(a.body=r.postData.text,"application/json"===r.postData.mimeType&&(a.body=JSON.parse(a.body)));const i=Object.keys(a).length?`, ${_h(a)}`:"";return{target:"js",client:"ofetch",code:`ofetch('${r.url}'${i})`}}function Ah(e){var t,n;const r={method:"GET",...e};r.method=r.method.toUpperCase();const a={method:"GET"===r.method?void 0:r.method},o=new URLSearchParams(r.queryString?xh(r.queryString):void 0);o.size&&(a.query={},o.forEach(((e,t)=>{a.query[t]=e}))),(null==(t=r.headers)?void 0:t.length)&&(a.headers={},r.headers.forEach((e=>{a.headers[e.name]=e.value}))),(null==(n=r.cookies)?void 0:n.length)&&(a.headers=a.headers||{},r.cookies.forEach((e=>{a.headers["Set-Cookie"]=a.headers["Set-Cookie"]?`${a.headers["Set-Cookie"]}; ${e.name}=${e.value}`:`${e.name}=${e.value}`}))),Object.keys(a).forEach((e=>{void 0===a[e]&&delete a[e]})),r.postData&&(a.body=r.postData.text,"application/json"===r.postData.mimeType&&(a.body=JSON.parse(a.body)));const i=Object.keys(a).length?`, ${_h(a)}`:"";return{target:"node",client:"ofetch",code:`ofetch('${r.url}'${i})`}}function Ph(){const e=[Sh,Eh,Th,Ch,Ah];return{get(e,t,n){const r=this.findPlugin(e,t);return r?r(n):{code:""}},print(e,t,n){var r;return null==(r=this.get(e,t,n))?void 0:r.code},targets:()=>e.map((e=>e().target)).filter(((e,t,n)=>n.indexOf(e)===t)),clients:()=>e.map((e=>e().client)),plugins:()=>e.map((e=>{const t=e();return{target:t.target,client:t.client}})),findPlugin:(t,n)=>e.find((e=>{const r=e();return r.target===t&&r.client===n})),hasPlugin(e,t){return Boolean(this.findPlugin(e,t))}}}const Dh="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window,{FormData:Rh,Blob:$h,File:Nh}=Dh,Mh="\r\n",Ih="-".repeat(2),Lh=Symbol.toStringTag,jh=(e,t,n)=>{let r="";return r+=`${Ih}${e}${Mh}`,r+=`Content-Disposition: form-data; name="${t}"`,"string"!=typeof n&&"blob"!==n.name&&(r+=`; filename="${n.name}"${Mh}`,r+=`Content-Type: ${n.type||"application/octet-stream"}`),`${r}${Mh.repeat(2)}`},Bh=(e,t)=>Object.keys(e).find((e=>e.toLowerCase()===t.toLowerCase())),Qh=(e,t)=>{const n=Bh(e,t);if(n)return e[n]},Uh=(e,t)=>Boolean(Bh(e,t)),Fh=["application/json","application/x-json","text/json","text/x-json","+json"],zh=(e,t)=>{if(void 0===t.value)return e;const n=e[t.name];return void 0===n?(e[t.name]=t.value,e):Array.isArray(n)?(n.push(t.value),e):(e[t.name]=[n,t.value],e)};function qh(e){return new URLSearchParams(Object.entries(e).map((([e,t])=>Array.isArray(t)?t.map((t=>[e,t])):[[e,t]])).flat(1))}class Hh extends URL{get path(){return this.pathname+this.search}}class Vh{constructor({indent:e,join:t}={}){this.postProcessors=[],this.code=[],this.indentationCharacter="",this.lineJoin="\n",this.indentLine=(e,t=0)=>`${this.indentationCharacter.repeat(t)}${e}`,this.unshift=(e,t)=>{const n=this.indentLine(e,t);this.code.unshift(n)},this.push=(e,t)=>{const n=this.indentLine(e,t);this.code.push(n)},this.blank=()=>{this.code.push("")},this.join=()=>{const e=this.code.join(this.lineJoin);return this.postProcessors.reduce(((e,t)=>t(e)),e)},this.addPostProcessor=e=>{this.postProcessors=[...this.postProcessors,e]},this.indentationCharacter=e||"",this.lineJoin=null!=t?t:"\n"}}function Zh(e,t={}){const{delimiter:n='"',escapeChar:r="\\",escapeNewlines:a=!0}=t;return[...e.toString()].map((e=>"\b"===e?`${r}b`:"\t"===e?`${r}t`:"\n"===e?a?`${r}n`:e:"\f"===e?`${r}f`:"\r"===e?a?`${r}r`:e:e===r?r+r:e===n?r+n:e<" "||e>"~"?JSON.stringify(e).slice(1,-1):e)).join("")}const Wh=e=>Zh(e,{delimiter:"'"}),Xh=e=>Zh(e,{delimiter:'"'}),Yh={info:{key:"c",title:"C",extname:".c",default:"libcurl"},clientsById:{libcurl:{info:{key:"libcurl",title:"Libcurl",link:"http://curl.haxx.se/libcurl",description:"Simple REST and HTTP API Client for C"},convert:({method:e,fullUrl:t,headersObj:n,allHeaders:r,postData:a})=>{const{push:o,blank:i,join:s}=new Vh;o("CURL *hnd = curl_easy_init();"),i(),o(`curl_easy_setopt(hnd, CURLOPT_CUSTOMREQUEST, "${e.toUpperCase()}");`),o(`curl_easy_setopt(hnd, CURLOPT_URL, "${t}");`);const l=Object.keys(n);return l.length&&(i(),o("struct curl_slist *headers = NULL;"),l.forEach((e=>{o(`headers = curl_slist_append(headers, "${e}: ${Xh(n[e])}");`)})),o("curl_easy_setopt(hnd, CURLOPT_HTTPHEADER, headers);")),r.cookie&&(i(),o(`curl_easy_setopt(hnd, CURLOPT_COOKIE, "${r.cookie}");`)),(null==a?void 0:a.text)&&(i(),o(`curl_easy_setopt(hnd, CURLOPT_POSTFIELDS, ${JSON.stringify(a.text)});`)),i(),o("CURLcode ret = curl_easy_perform(hnd);"),s()}}}};class Gh{constructor(e){this.name="",this.toString=()=>`:${this.name}`,this.name=e}}class Kh{constructor(e){this.path="",this.toString=()=>`(clojure.java.io/file "${this.path}")`,this.path=e}}const Jh=e=>void 0===e?null:null===e?"null":e.constructor.name.toLowerCase(),ef=e=>"object"===Jh(e)&&0===Object.keys(e).length,tf=e=>(Object.keys(e).filter((t=>ef(e[t]))).forEach((t=>{delete e[t]})),e),nf=(e,t)=>{const n=" ".repeat(e);return t.replace(/\n/g,`\n${n}`)},rf=e=>{switch(Jh(e)){case"string":return`"${e.replace(/"/g,'\\"')}"`;case"file":case"keyword":default:return e.toString();case"null":return"nil";case"regexp":return`#"${e.source}"`;case"object":{const t=Object.keys(e).reduce(((t,n)=>`${t}:${n} ${nf(n.length+2,rf(e[n]))}\n `),"").trim();return`{${nf(1,t)}}`}case"array":{const t=e.reduce(((e,t)=>`${e} ${rf(t)}`),"").trim();return`[${nf(1,t)}]`}}},af={info:{key:"clojure",title:"Clojure",extname:".clj",default:"clj_http"},clientsById:{clj_http:{info:{key:"clj_http",title:"clj-http",link:"https://github.com/dakrone/clj-http",description:"An idiomatic clojure http client wrapping the apache client."},convert:({queryObj:e,method:t,postData:n,url:r,allHeaders:a},o)=>{const{push:i,join:s}=new Vh({indent:null==o?void 0:o.indent});if(t=t.toLowerCase(),!["get","post","put","delete","patch","head","options"].includes(t))return i("Method not supported"),s();const l={headers:a,"query-params":e};switch(null==n?void 0:n.mimeType){case"application/json":{l["content-type"]=new Gh("json"),l["form-params"]=n.jsonObj;const e=Bh(l.headers,"content-type");e&&delete l.headers[e]}break;case"application/x-www-form-urlencoded":{l["form-params"]=n.paramsObj;const e=Bh(l.headers,"content-type");e&&delete l.headers[e]}break;case"text/plain":{l.body=n.text;const e=Bh(l.headers,"content-type");e&&delete l.headers[e]}break;case"multipart/form-data":if(n.params){l.multipart=n.params.map((e=>e.fileName&&!e.value?{name:e.name,content:new Kh(e.fileName)}:{name:e.name,content:e.value}));const e=Bh(l.headers,"content-type");e&&delete l.headers[e]}}if("application/json"===Qh(l.headers,"accept")){l.accept=new Gh("json");const e=Bh(l.headers,"accept");e&&delete l.headers[e]}if(i("(require '[clj-http.client :as client])\n"),ef(tf(l)))i(`(client/${t} "${r}")`);else{const e=11+t.length+r.length;i(`(client/${t} "${r}" ${nf(e,rf(tf(l)))})`)}return s()}}}},of={info:{key:"csharp",title:"C#",extname:".cs",default:"restsharp"},clientsById:{httpclient:{info:{key:"httpclient",title:"HttpClient",link:"https://docs.microsoft.com/en-us/dotnet/api/system.net.http.httpclient",description:".NET Standard HTTP Client"},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},a)=>{var o,i;const s={indent:" ",...a},{push:l,join:c}=new Vh({indent:s.indent});l("using System.Net.Http.Headers;");let d="";const u=Boolean(e.cookie),p=(e=>{let t=Qh(e,"accept-encoding");if(!t)return[];const n={gzip:"DecompressionMethods.GZip",deflate:"DecompressionMethods.Deflate"},r=[];return"string"==typeof t&&(t=[t]),t.forEach((e=>{e.split(",").forEach((e=>{const t=/\s*([^;\s]+)/.exec(e);if(t){const e=n[t[1]];e&&r.push(e)}}))})),r})(e);(u||p.length)&&(d="clientHandler",l("var clientHandler = new HttpClientHandler"),l("{"),u&&l("UseCookies = false,",1),p.length&&l(`AutomaticDecompression = ${p.join(" | ")},`,1),l("};")),l(`var client = new HttpClient(${d});`),l("var request = new HttpRequestMessage"),l("{"),n=(n=n.toUpperCase())&&["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS","TRACE"].includes(n)?`HttpMethod.${n[0]}${n.substring(1).toLowerCase()}`:`new HttpMethod("${n}")`,l(`Method = ${n},`,1),l(`RequestUri = new Uri("${r}"),`,1);const h=Object.keys(e).filter((e=>{switch(e.toLowerCase()){case"content-type":case"content-length":case"accept-encoding":return!1;default:return!0}}));if(h.length&&(l("Headers =",1),l("{",1),h.forEach((t=>{l(`{ "${t}", "${Xh(e[t])}" },`,2)})),l("},",1)),null==t?void 0:t.text){const e=t.mimeType;switch(e){case"application/x-www-form-urlencoded":l("Content = new FormUrlEncodedContent(new Dictionary",1),l("{",1),null===(o=t.params)||void 0===o||o.forEach((e=>{l(`{ "${e.name}", "${e.value}" },`,2)})),l("}),",1);break;case"multipart/form-data":l("Content = new MultipartFormDataContent",1),l("{",1),null===(i=t.params)||void 0===i||i.forEach((e=>{l(`new StringContent(${JSON.stringify(e.value||"")})`,2),l("{",2),l("Headers =",3),l("{",3),e.contentType&&l(`ContentType = new MediaTypeHeaderValue("${e.contentType}"),`,4),l('ContentDisposition = new ContentDispositionHeaderValue("form-data")',4),l("{",4),l(`Name = "${e.name}",`,5),e.fileName&&l(`FileName = "${e.fileName}",`,5),l("}",4),l("}",3),l("},",2)})),l("},",1);break;default:l(`Content = new StringContent(${JSON.stringify((null==t?void 0:t.text)||"")})`,1),l("{",1),l("Headers =",2),l("{",2),l(`ContentType = new MediaTypeHeaderValue("${e}")`,3),l("}",2),l("}",1)}}return l("};"),l("using (var response = await client.SendAsync(request))"),l("{"),l("response.EnsureSuccessStatusCode();",1),l("var body = await response.Content.ReadAsStringAsync();",1),l("Console.WriteLine(body);",1),l("}"),c()}},restsharp:{info:{key:"restsharp",title:"RestSharp",link:"http://restsharp.org/",description:"Simple REST and HTTP API Client for .NET"},convert:({allHeaders:e,method:t,fullUrl:n,headersObj:r,cookies:a,postData:o})=>{const{push:i,join:s}=new Vh;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";if(i(`var client = new RestClient("${n}");`),i(`var request = new RestRequest(Method.${t.toUpperCase()});`),Object.keys(r).forEach((e=>{i(`request.AddHeader("${e}", "${Xh(r[e])}");`)})),null==a||a.forEach((({name:e,value:t})=>{i(`request.AddCookie("${e}", "${t}");`)})),null==o?void 0:o.text){const t=Qh(e,"content-type"),n=JSON.stringify(o.text);i(`request.AddParameter("${t}", ${n}, ParameterType.RequestBody);`)}return i("IRestResponse response = client.Execute(request);"),s()}}}},sf={info:{key:"go",title:"Go",extname:".go",default:"native"},clientsById:{native:{info:{key:"native",title:"NewRequest",link:"http://golang.org/pkg/net/http/#NewRequest",description:"Golang HTTP client request"},convert:({postData:e,method:t,allHeaders:n,fullUrl:r},a={})=>{const{blank:o,push:i,join:s}=new Vh({indent:"\t"}),{showBoilerplate:l=!0,checkErrors:c=!1,printBody:d=!0,timeout:u=-1,insecureSkipVerify:p=!1}=a,h=c?"err":"_",f=l?1:0,m=()=>{c&&(i("if err != nil {",f),i("panic(err)",f+1),i("}",f))};l&&(i("package main"),o(),i("import ("),i('"fmt"',f),u>0&&i('"time"',f),p&&i('"crypto/tls"',f),(null==e?void 0:e.text)&&i('"strings"',f),i('"net/http"',f),d&&i('"io"',f),i(")"),o(),i("func main() {"),o()),p&&(i("insecureTransport := http.DefaultTransport.(*http.Transport).Clone()",f),i("insecureTransport.TLSClientConfig = &tls.Config{InsecureSkipVerify: true}",f));const g=u>0,v=g||p,b=v?"client":"http.DefaultClient";return v&&(i("client := http.Client{",f),g&&i(`Timeout: time.Duration(${u} * time.Second),`,f+1),p&&i("Transport: insecureTransport,",f+1),i("}",f),o()),i(`url := "${r}"`,f),o(),(null==e?void 0:e.text)?(i(`payload := strings.NewReader(${JSON.stringify(e.text)})`,f),o(),i(`req, ${h} := http.NewRequest("${t}", url, payload)`,f),o()):(i(`req, ${h} := http.NewRequest("${t}", url, nil)`,f),o()),m(),Object.keys(n).length&&(Object.keys(n).forEach((e=>{i(`req.Header.Add("${e}", "${Xh(n[e])}")`,f)})),o()),i(`res, ${h} := ${b}.Do(req)`,f),m(),d&&(o(),i("defer res.Body.Close()",f),i(`body, ${h} := io.ReadAll(res.Body)`,f),m()),o(),i("fmt.Println(res)",f),d&&i("fmt.Println(string(body))",f),l&&(o(),i("}")),s()}}}},lf={info:{key:"http",title:"HTTP",extname:null,default:"1.1"},clientsById:{"http1.1":{info:{key:"http1.1",title:"HTTP/1.1",link:"https://tools.ietf.org/html/rfc7230",description:"HTTP/1.1 request string in accordance with RFC 7230"},convert:({method:e,fullUrl:t,uriObj:n,httpVersion:r,allHeaders:a,postData:o},i)=>{const s={absoluteURI:!1,autoContentLength:!0,autoHost:!0,...i},{blank:l,push:c,join:d}=new Vh({indent:"",join:"\r\n"}),u=s.absoluteURI?t:n.path;c(`${e} ${u} ${r}`);const p=Object.keys(a);return p.forEach((e=>{const t=e.toLowerCase().replace(/(^|-)(\w)/g,(e=>e.toUpperCase()));c(`${t}: ${a[e]}`)})),s.autoHost&&!p.includes("host")&&c(`Host: ${n.host}`),s.autoContentLength&&(null==o?void 0:o.text)&&!p.includes("content-length")&&c(`Content-Length: ${o.text.length}`),l(),`${d()}\r\n${(null==o?void 0:o.text)||""}`}}}},cf={info:{key:"java",title:"Java",extname:".java",default:"unirest"},clientsById:{asynchttp:{info:{key:"asynchttp",title:"AsyncHttp",link:"https://github.com/AsyncHttpClient/async-http-client",description:"Asynchronous Http and WebSocket Client library for Java"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},a)=>{const o={indent:" ",...a},{blank:i,push:s,join:l}=new Vh({indent:o.indent});return s("AsyncHttpClient client = new DefaultAsyncHttpClient();"),s(`client.prepare("${e.toUpperCase()}", "${r}")`),Object.keys(t).forEach((e=>{s(`.setHeader("${e}", "${Xh(t[e])}")`,1)})),(null==n?void 0:n.text)&&s(`.setBody(${JSON.stringify(n.text)})`,1),s(".execute()",1),s(".toCompletableFuture()",1),s(".thenAccept(System.out::println)",1),s(".join();",1),i(),s("client.close();"),l()}},nethttp:{info:{key:"nethttp",title:"java.net.http",link:"https://openjdk.java.net/groups/net/httpclient/intro.html",description:"Java Standardized HTTP Client API"},convert:({allHeaders:e,fullUrl:t,method:n,postData:r},a)=>{const o={indent:" ",...a},{push:i,join:s}=new Vh({indent:o.indent});return i("HttpRequest request = HttpRequest.newBuilder()"),i(`.uri(URI.create("${t}"))`,2),Object.keys(e).forEach((t=>{i(`.header("${t}", "${Xh(e[t])}")`,2)})),(null==r?void 0:r.text)?i(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.ofString(${JSON.stringify(r.text)}))`,2):i(`.method("${n.toUpperCase()}", HttpRequest.BodyPublishers.noBody())`,2),i(".build();",2),i("HttpResponse response = HttpClient.newHttpClient().send(request, HttpResponse.BodyHandlers.ofString());"),i("System.out.println(response.body());"),s()}},okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,method:t,fullUrl:n,allHeaders:r},a)=>{const o={indent:" ",...a},{push:i,blank:s,join:l}=new Vh({indent:o.indent});return i("OkHttpClient client = new OkHttpClient();"),s(),(null==e?void 0:e.text)&&(e.boundary?i(`MediaType mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}");`):i(`MediaType mediaType = MediaType.parse("${e.mimeType}");`),i(`RequestBody body = RequestBody.create(mediaType, ${JSON.stringify(e.text)});`)),i("Request request = new Request.Builder()"),i(`.url("${n}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(t.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(t.toUpperCase())?(null==e?void 0:e.text)?i(`.${t.toLowerCase()}(body)`,1):i(`.${t.toLowerCase()}(null)`,1):i(`.${t.toLowerCase()}()`,1):(null==e?void 0:e.text)?i(`.method("${t.toUpperCase()}", body)`,1):i(`.method("${t.toUpperCase()}", null)`,1),Object.keys(r).forEach((e=>{i(`.addHeader("${e}", "${Xh(r[e])}")`,1)})),i(".build();",1),s(),i("Response response = client.newCall(request).execute();"),l()}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/java.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},a)=>{const o={indent:" ",...a},{join:i,push:s}=new Vh({indent:o.indent});return["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(e.toUpperCase())?s(`HttpResponse response = Unirest.${e.toLowerCase()}("${r}")`):s(`HttpResponse response = Unirest.customMethod("${e.toUpperCase()}","${r}")`),Object.keys(t).forEach((e=>{s(`.header("${e}", "${Xh(t[e])}")`,1)})),(null==n?void 0:n.text)&&s(`.body(${JSON.stringify(n.text)})`,1),s(".asString();",1),i()}}}};function df(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var uf={};Object.defineProperty(uf,"__esModule",{value:!0}),uf.default=e=>Object.getOwnPropertySymbols(e).filter((t=>Object.prototype.propertyIsEnumerable.call(e,t)));const pf=uf.default;const hf=df(((e,t,n)=>{const r=[];return function e(t,n,a){let o;(n=n||{}).indent=n.indent||"\t",a=a||"",o=void 0===n.inlineCharacterLimit?{newLine:"\n",newLineOrSpace:"\n",pad:a,indent:a+n.indent}:{newLine:"@@__STRINGIFY_OBJECT_NEW_LINE__@@",newLineOrSpace:"@@__STRINGIFY_OBJECT_NEW_LINE_OR_SPACE__@@",pad:"@@__STRINGIFY_OBJECT_PAD__@@",indent:"@@__STRINGIFY_OBJECT_INDENT__@@"};const i=e=>{if(void 0===n.inlineCharacterLimit)return e;const t=e.replace(new RegExp(o.newLine,"g"),"").replace(new RegExp(o.newLineOrSpace,"g")," ").replace(new RegExp(o.pad+"|"+o.indent,"g"),"");return t.length<=n.inlineCharacterLimit?t:e.replace(new RegExp(o.newLine+"|"+o.newLineOrSpace,"g"),"\n").replace(new RegExp(o.pad,"g"),a).replace(new RegExp(o.indent,"g"),a+n.indent)};if(-1!==r.indexOf(t))return'"[Circular]"';if(null==t||"number"==typeof t||"boolean"==typeof t||"function"==typeof t||"symbol"==typeof t||function(e){return"[object RegExp]"===Object.prototype.toString.call(e)}(t))return String(t);if(t instanceof Date)return`new Date('${t.toISOString()}')`;if(Array.isArray(t)){if(0===t.length)return"[]";r.push(t);const s="["+o.newLine+t.map(((r,i)=>{const s=t.length-1===i?o.newLine:","+o.newLineOrSpace;let l=e(r,n,a+n.indent);return n.transform&&(l=n.transform(t,i,l)),o.indent+l+s})).join("")+o.pad+"]";return r.pop(),i(s)}if(function(e){var t=typeof e;return null!==e&&("object"===t||"function"===t)}(t)){let s=Object.keys(t).concat(pf(t));if(n.filter&&(s=s.filter((e=>n.filter(t,e)))),0===s.length)return"{}";r.push(t);const l="{"+o.newLine+s.map(((r,i)=>{const l=s.length-1===i?o.newLine:","+o.newLineOrSpace,c="symbol"==typeof r,d=!c&&/^[a-z$_][a-z$_0-9]*$/i.test(r),u=c||d?r:e(r,n);let p=e(t[r],n,a+n.indent);return n.transform&&(p=n.transform(t,r,p)),o.indent+String(u)+": "+p+l})).join("")+o.pad+"}";return r.pop(),i(l)}return t=String(t).replace(/[\r\n]/g,(e=>"\n"===e?"\\n":"\\r")),!1===n.singleQuotes?`"${t=t.replace(/"/g,'\\"')}"`:`'${t=t.replace(/\\?'/g,"\\'")}'`}(e,t,n)})),ff={info:{key:"javascript",title:"JavaScript",extname:".js",default:"xhr"},clientsById:{xhr:{info:{key:"xhr",title:"XMLHttpRequest",link:"https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",description:"W3C Standard API that provides scripted client functionality"},convert:({postData:e,allHeaders:t,method:n,fullUrl:r},a)=>{var o;const i={indent:" ",cors:!0,...a},{blank:s,push:l,join:c}=new Vh({indent:i.indent});switch(null==e?void 0:e.mimeType){case"application/json":l(`const data = JSON.stringify(${hf(e.jsonObj,{indent:i.indent})});`),s();break;case"multipart/form-data":if(!e.params)break;if(l("const data = new FormData();"),e.params.forEach((e=>{l(`data.append('${e.name}', '${e.value||e.fileName||""}');`)})),Uh(t,"content-type")&&(null===(o=Qh(t,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=Bh(t,"content-type");e&&delete t[e]}s();break;default:l(`const data = ${(null==e?void 0:e.text)?`'${e.text}'`:"null"};`),s()}return l("const xhr = new XMLHttpRequest();"),i.cors&&l("xhr.withCredentials = true;"),s(),l("xhr.addEventListener('readystatechange', function () {"),l("if (this.readyState === this.DONE) {",1),l("console.log(this.responseText);",2),l("}",1),l("});"),s(),l(`xhr.open('${n}', '${r}');`),Object.keys(t).forEach((e=>{l(`xhr.setRequestHeader('${e}', '${Wh(t[e])}');`)})),s(),l("xhr.send(data);"),c()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({allHeaders:e,method:t,url:n,queryObj:r,postData:a},o)=>{const i={indent:" ",...o},{blank:s,push:l,join:c,addPostProcessor:d}=new Vh({indent:i.indent});l("import axios from 'axios';"),s();const u={method:t,url:n};switch(Object.keys(r).length&&(u.params=r),Object.keys(e).length&&(u.headers=e),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.params&&(l("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{l(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),u.data="encodedParams,",d((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":a.jsonObj&&(u.data=a.jsonObj);break;case"multipart/form-data":if(!a.params)break;l("const form = new FormData();"),a.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),s(),u.data="[form]";break;default:(null==a?void 0:a.text)&&(u.data=a.text)}const p=hf(u,{indent:" ",inlineCharacterLimit:80}).replace('"[form]"',"form");return l(`const options = ${p};`),s(),l("try {"),l("const { data } = await axios.request(options);",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),c()}},fetch:{info:{key:"fetch",title:"fetch",link:"https://developer.mozilla.org/en-US/docs/Web/API/Fetch_API/Using_Fetch",description:"Perform asynchronous HTTP requests with the Fetch API"},convert:({method:e,allHeaders:t,postData:n,fullUrl:r},a)=>{const o={indent:" ",credentials:null,...a},{blank:i,join:s,push:l}=new Vh({indent:o.indent}),c={method:e};switch(Object.keys(t).length&&(c.headers=t),null!==o.credentials&&(c.credentials=o.credentials),l(`const url = '${r}';`),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":c.body=n.paramsObj?n.paramsObj:n.text;break;case"application/json":c.body=JSON.stringify(n.jsonObj);break;case"multipart/form-data":if(!n.params)break;const e=Bh(t,"content-type");e&&delete t[e],l("const form = new FormData();"),n.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),i();break;default:(null==n?void 0:n.text)&&(c.body=n.text)}return c.headers&&!Object.keys(c.headers).length&&delete c.headers,l(`const options = ${hf(c,{indent:o.indent,inlineCharacterLimit:80,transform:(e,t,r)=>"body"===t&&n&&"application/x-www-form-urlencoded"===n.mimeType?`new URLSearchParams(${r})`:r})};`),i(),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&(l("options.body = form;"),i()),l("try {"),l("const response = await fetch(url, options);",1),l("const data = await response.json();",1),l("console.log(data);",1),l("} catch (error) {"),l("console.error(error);",1),l("}"),s()}},jquery:{info:{key:"jquery",title:"jQuery",link:"http://api.jquery.com/jquery.ajax/",description:"Perform an asynchronous HTTP (Ajax) requests with jQuery"},convert:({fullUrl:e,method:t,allHeaders:n,postData:r},a)=>{var o;const i={indent:" ",...a},{blank:s,push:l,join:c}=new Vh({indent:i.indent}),d={async:!0,crossDomain:!0,url:e,method:t,headers:n};switch(null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":d.data=r.paramsObj?r.paramsObj:r.text;break;case"application/json":d.processData=!1,d.data=r.text;break;case"multipart/form-data":if(!r.params)break;if(l("const form = new FormData();"),r.params.forEach((e=>{l(`form.append('${e.name}', '${e.value||e.fileName||""}');`)})),d.processData=!1,d.contentType=!1,d.mimeType="multipart/form-data",d.data="[form]",Uh(n,"content-type")&&(null===(o=Qh(n,"content-type"))||void 0===o?void 0:o.includes("boundary"))){const e=Bh(n,"content-type");e&&delete d.headers[e]}s();break;default:(null==r?void 0:r.text)&&(d.data=r.text)}const u=hf(d,{indent:i.indent}).replace("'[form]'","form");return l(`const settings = ${u};`),s(),l("$.ajax(settings).done(function (response) {"),l("console.log(response);",1),l("});"),c()}}}},mf={info:{key:"kotlin",title:"Kotlin",extname:".kt",default:"okhttp"},clientsById:{okhttp:{info:{key:"okhttp",title:"OkHttp",link:"http://square.github.io/okhttp/",description:"An HTTP Request Client Library"},convert:({postData:e,fullUrl:t,method:n,allHeaders:r},a)=>{const o={indent:" ",...a},{blank:i,join:s,push:l}=new Vh({indent:o.indent});return l("val client = OkHttpClient()"),i(),(null==e?void 0:e.text)&&(e.boundary?l(`val mediaType = MediaType.parse("${e.mimeType}; boundary=${e.boundary}")`):l(`val mediaType = MediaType.parse("${e.mimeType}")`),l(`val body = RequestBody.create(mediaType, ${JSON.stringify(e.text)})`)),l("val request = Request.Builder()"),l(`.url("${t}")`,1),["GET","POST","PUT","DELETE","PATCH","HEAD"].includes(n.toUpperCase())?["POST","PUT","DELETE","PATCH"].includes(n.toUpperCase())?(null==e?void 0:e.text)?l(`.${n.toLowerCase()}(body)`,1):l(`.${n.toLowerCase()}(null)`,1):l(`.${n.toLowerCase()}()`,1):(null==e?void 0:e.text)?l(`.method("${n.toUpperCase()}", body)`,1):l(`.method("${n.toUpperCase()}", null)`,1),Object.keys(r).forEach((e=>{l(`.addHeader("${e}", "${Xh(r[e])}")`,1)})),l(".build()",1),i(),l("val response = client.newCall(request).execute()"),s()}}}},gf={info:{key:"node",title:"Node.js",extname:".js",default:"native"},clientsById:{native:{info:{key:"native",title:"HTTP",link:"http://nodejs.org/api/http.html#http_http_request_options_callback",description:"Node.js native HTTP interface"},convert:({uriObj:e,method:t,allHeaders:n,postData:r},a={})=>{const{indent:o=" ",insecureSkipVerify:i=!1}=a,{blank:s,join:l,push:c,unshift:d}=new Vh({indent:o}),u={method:t,hostname:e.hostname,port:""===e.port?null:e.port,path:e.path,headers:n,...i?{rejectUnauthorized:!1}:{}};switch(c(`const http = require('${e.protocol.replace(":","")}');`),s(),c(`const options = ${hf(u,{indent:o})};`),s(),c("const req = http.request(options, function (res) {"),c("const chunks = [];",1),s(),c("res.on('data', function (chunk) {",1),c("chunks.push(chunk);",2),c("});",1),s(),c("res.on('end', function () {",1),c("const body = Buffer.concat(chunks);",2),c("console.log(body.toString());",2),c("});",1),c("});"),s(),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":r.paramsObj&&(d("const qs = require('querystring');"),c(`req.write(qs.stringify(${hf(r.paramsObj,{indent:" ",inlineCharacterLimit:80})}));`));break;case"application/json":r.jsonObj&&c(`req.write(JSON.stringify(${hf(r.jsonObj,{indent:" ",inlineCharacterLimit:80})}));`);break;default:(null==r?void 0:r.text)&&c(`req.write(${hf(r.text,{indent:o})});`)}return c("req.end();"),l()}},request:{info:{key:"request",title:"Request",link:"https://github.com/request/request",description:"Simplified HTTP request client"},convert:({method:e,url:t,queryObj:n,postData:r,headersObj:a,cookies:o},i)=>{const s={indent:" ",...i};let l=!1;const{push:c,blank:d,join:u,unshift:p}=new Vh({indent:s.indent});c("const request = require('request');"),d();const h={method:e,url:t};switch(Object.keys(n).length&&(h.qs=n),Object.keys(a).length&&(h.headers=a),null==r?void 0:r.mimeType){case"application/x-www-form-urlencoded":h.form=r.paramsObj;break;case"application/json":r.jsonObj&&(h.body=r.jsonObj,h.json=!0);break;case"multipart/form-data":if(!r.params)break;h.formData={},r.params.forEach((e=>{if(!e.fileName&&!e.fileName&&!e.contentType)return void(h.formData[e.name]=e.value);let t={};e.fileName?(l=!0,t={value:`fs.createReadStream(${e.fileName})`,options:{filename:e.fileName,contentType:e.contentType?e.contentType:null}}):e.value&&(t.value=e.value),h.formData[e.name]=t}));break;default:(null==r?void 0:r.text)&&(h.body=r.text)}return o.length&&(h.jar="JAR",c("const jar = request.jar();"),o.forEach((e=>{c(`jar.setCookie(request.cookie('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}'), '${t}');`)})),d()),l&&p("const fs = require('fs');"),c(`const options = ${hf(h,{indent:" ",inlineCharacterLimit:80})};`),d(),c("request(options, function (error, response, body) {"),c("if (error) throw new Error(error);",1),d(),c("console.log(body);",1),c("});"),u().replace("'JAR'","jar").replace(/'fs\.createReadStream\((.*)\)'/,"fs.createReadStream('$1')")}},unirest:{info:{key:"unirest",title:"Unirest",link:"http://unirest.io/nodejs.html",description:"Lightweight HTTP Request Client Library"},convert:({method:e,url:t,cookies:n,queryObj:r,postData:a,headersObj:o},i)=>{const s={indent:" ",...i};let l=!1;const{addPostProcessor:c,blank:d,join:u,push:p,unshift:h}=new Vh({indent:s.indent});switch(p("const unirest = require('unirest');"),d(),p(`const req = unirest('${e}', '${t}');`),d(),n.length&&(p("const CookieJar = unirest.jar();"),n.forEach((e=>{p(`CookieJar.add('${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}', '${t}');`)})),p("req.jar(CookieJar);"),d()),Object.keys(r).length&&(p(`req.query(${hf(r,{indent:s.indent})});`),d()),Object.keys(o).length&&(p(`req.headers(${hf(o,{indent:s.indent})});`),d()),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.paramsObj&&(p(`req.form(${hf(a.paramsObj,{indent:s.indent})});`),d());break;case"application/json":a.jsonObj&&(p("req.type('json');"),p(`req.send(${hf(a.jsonObj,{indent:s.indent})});`),d());break;case"multipart/form-data":{if(!a.params)break;const e=[];a.params.forEach((t=>{const n={};t.fileName&&!t.value?(l=!0,n.body=`fs.createReadStream('${t.fileName}')`,c((e=>e.replace(/'fs\.createReadStream\(\\'(.+)\\'\)'/,"fs.createReadStream('$1')")))):t.value&&(n.body=t.value),n.body&&(t.contentType&&(n["content-type"]=t.contentType),e.push(n))})),p(`req.multipart(${hf(e,{indent:s.indent})});`),d();break}default:(null==a?void 0:a.text)&&(p(`req.send(${hf(a.text,{indent:s.indent})});`),d())}return l&&h("const fs = require('fs');"),p("req.end(function (res) {"),p("if (res.error) throw new Error(res.error);",1),d(),p("console.log(res.body);",1),p("});"),u()}},axios:{info:{key:"axios",title:"Axios",link:"https://github.com/axios/axios",description:"Promise based HTTP client for the browser and node.js"},convert:({method:e,url:t,queryObj:n,allHeaders:r,postData:a},o)=>{const i={indent:" ",...o},{blank:s,join:l,push:c,addPostProcessor:d}=new Vh({indent:i.indent});c("const axios = require('axios').default;");const u={method:e,url:t};switch(Object.keys(n).length&&(u.params=n),Object.keys(r).length&&(u.headers=r),null==a?void 0:a.mimeType){case"application/x-www-form-urlencoded":a.params&&(c("const { URLSearchParams } = require('url');"),s(),c("const encodedParams = new URLSearchParams();"),a.params.forEach((e=>{c(`encodedParams.set('${e.name}', '${e.value}');`)})),s(),u.data="encodedParams,",d((e=>e.replace(/'encodedParams,'/,"encodedParams,"))));break;case"application/json":s(),a.jsonObj&&(u.data=a.jsonObj);break;default:s(),(null==a?void 0:a.text)&&(u.data=a.text)}const p=hf(u,{indent:" ",inlineCharacterLimit:80});return c(`const options = ${p};`),s(),c("try {"),c("const { data } = await axios.request(options);",1),c("console.log(data);",1),c("} catch (error) {"),c("console.error(error);",1),c("}"),l()}},fetch:{info:{key:"fetch",title:"Fetch",link:"https://github.com/bitinn/node-fetch",description:"Simplified HTTP node-fetch client"},convert:({method:e,fullUrl:t,postData:n,headersObj:r,cookies:a},o)=>{var i;const s={indent:" ",...o};let l=!1;const{blank:c,push:d,join:u,unshift:p}=new Vh({indent:s.indent});d("const fetch = require('node-fetch');"),c();const h={method:e};switch(Object.keys(r).length&&(h.headers=r),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":p("const { URLSearchParams } = require('url');"),d("const encodedParams = new URLSearchParams();"),null===(i=n.params)||void 0===i||i.forEach((e=>{d(`encodedParams.set('${e.name}', '${e.value}');`)})),c(),h.body="encodedParams";break;case"application/json":n.jsonObj&&(h.body=JSON.stringify(n.jsonObj));break;case"multipart/form-data":if(!n.params)break;const e=Bh(r,"content-type");e&&delete r[e],p("const FormData = require('form-data');"),d("const formData = new FormData();"),n.params.forEach((e=>{e.fileName||e.fileName||e.contentType?e.fileName&&(l=!0,d(`formData.append('${e.name}', fs.createReadStream('${e.fileName}'));`)):d(`formData.append('${e.name}', '${e.value}');`)})),c();break;default:(null==n?void 0:n.text)&&(h.body=n.text)}if(a.length){const e=a.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");h.headers||(h.headers={}),h.headers.cookie=e}d(`const url = '${t}';`),h.headers&&!Object.keys(h.headers).length&&delete h.headers;const f=hf(h,{indent:" ",inlineCharacterLimit:80});return d(`const options = ${f};`),l&&p("const fs = require('fs');"),(null==n?void 0:n.params)&&"multipart/form-data"===n.mimeType&&d("options.body = formData;"),c(),d("try {"),d("const response = await fetch(url, options);",1),d("const data = await response.json();",1),d("console.log(data);",1),d("} catch (error) {"),d("console.error(error);",1),d("}"),u().replace(/'encodedParams'/,"encodedParams").replace(/"fs\.createReadStream\(\\"(.+)\\"\)"/,'fs.createReadStream("$1")')}}}},vf=(e,t,n,r)=>{const a=`${e} *${t} = `;return`${a}${bf(n,r?a.length:void 0)};`},bf=(e,t)=>{const n=void 0===t?", ":`,\n ${" ".repeat(t)}`;switch(Object.prototype.toString.call(e)){case"[object Number]":return`@${e}`;case"[object Array]":return`@[ ${e.map((e=>bf(e))).join(n)} ]`;case"[object Object]":{const t=[];for(const n in e)t.push(`@"${n}": ${bf(e[n])}`);return`@{ ${t.join(n)} }`}case"[object Boolean]":return e?"@YES":"@NO";default:return null==e?"":`@"${e.toString().replace(/"/g,'\\"')}"`}},yf={info:{key:"objc",title:"Objective-C",extname:".m",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,method:n,fullUrl:r},a)=>{var o;const i={indent:" ",pretty:!0,timeout:10,...a},{push:s,join:l,blank:c}=new Vh({indent:i.indent}),d={hasHeaders:!1,hasBody:!1};if(s("#import "),Object.keys(e).length&&(d.hasHeaders=!0,c(),s(vf("NSDictionary","headers",e,i.pretty))),t&&(t.text||t.jsonObj||t.params))switch(d.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(null===(o=t.params)||void 0===o?void 0:o.length){c();const[e,...n]=t.params;s(`NSMutableData *postData = [[NSMutableData alloc] initWithData:[@"${e.name}=${e.value}" dataUsingEncoding:NSUTF8StringEncoding]];`),n.forEach((({name:e,value:t})=>{s(`[postData appendData:[@"&${e}=${t}" dataUsingEncoding:NSUTF8StringEncoding]];`)}))}else d.hasBody=!1;break;case"application/json":t.jsonObj&&(s(vf("NSDictionary","parameters",t.jsonObj,i.pretty)),c(),s("NSData *postData = [NSJSONSerialization dataWithJSONObject:parameters options:0 error:nil];"));break;case"multipart/form-data":s(vf("NSArray","parameters",t.params||[],i.pretty)),s(`NSString *boundary = @"${t.boundary}";`),c(),s("NSError *error;"),s("NSMutableString *body = [NSMutableString string];"),s("for (NSDictionary *param in parameters) {"),s('[body appendFormat:@"--%@\\r\\n", boundary];',1),s('if (param[@"fileName"]) {',1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"; filename=\\"%@\\"\\r\\n", param[@"name"], param[@"fileName"]];',2),s('[body appendFormat:@"Content-Type: %@\\r\\n\\r\\n", param[@"contentType"]];',2),s('[body appendFormat:@"%@", [NSString stringWithContentsOfFile:param[@"fileName"] encoding:NSUTF8StringEncoding error:&error]];',2),s("if (error) {",2),s('NSLog(@"%@", error);',3),s("}",2),s("} else {",1),s('[body appendFormat:@"Content-Disposition:form-data; name=\\"%@\\"\\r\\n\\r\\n", param[@"name"]];',2),s('[body appendFormat:@"%@", param[@"value"]];',2),s("}",1),s("}"),s('[body appendFormat:@"\\r\\n--%@--\\r\\n", boundary];'),s("NSData *postData = [body dataUsingEncoding:NSUTF8StringEncoding];");break;default:c(),s(`NSData *postData = [[NSData alloc] initWithData:[@"${t.text}" dataUsingEncoding:NSUTF8StringEncoding]];`)}return c(),s(`NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"${r}"]`),s(" cachePolicy:NSURLRequestUseProtocolCachePolicy"),s(` timeoutInterval:${i.timeout.toFixed(1)}];`),s(`[request setHTTPMethod:@"${n}"];`),d.hasHeaders&&s("[request setAllHTTPHeaderFields:headers];"),d.hasBody&&s("[request setHTTPBody:postData];"),c(),s("NSURLSession *session = [NSURLSession sharedSession];"),s("NSURLSessionDataTask *dataTask = [session dataTaskWithRequest:request"),s(" completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {"),s(" if (error) {",1),s(' NSLog(@"%@", error);',2),s(" } else {",1),s(" NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *) response;",2),s(' NSLog(@"%@", httpResponse);',2),s(" }",1),s(" }];"),s("[dataTask resume];"),l()}}}},Of={info:{key:"ocaml",title:"OCaml",extname:".ml",default:"cohttp"},clientsById:{cohttp:{info:{key:"cohttp",title:"CoHTTP",link:"https://github.com/mirage/ocaml-cohttp",description:"Cohttp is a very lightweight HTTP server using Lwt or Async for OCaml"},convert:({fullUrl:e,allHeaders:t,postData:n,method:r},a)=>{const o={indent:" ",...a},{push:i,blank:s,join:l}=new Vh({indent:o.indent});i("open Cohttp_lwt_unix"),i("open Cohttp"),i("open Lwt"),s(),i(`let uri = Uri.of_string "${e}" in`);const c=Object.keys(t);1===c.length?i(`let headers = Header.add (Header.init ()) "${c[0]}" "${Xh(t[c[0]])}" in`):c.length>1&&(i("let headers = Header.add_list (Header.init ()) ["),c.forEach((e=>{i(`("${e}", "${Xh(t[e])}");`,1)})),i("] in")),(null==n?void 0:n.text)&&i(`let body = Cohttp_lwt_body.of_string ${JSON.stringify(n.text)} in`),s();const d=c.length?"~headers ":"",u=(null==n?void 0:n.text)?"~body ":"",p=["get","post","head","delete","patch","put","options"].includes(r.toLowerCase())?`\`${r.toUpperCase()}`:`(Code.method_of_string "${r}")`;return i(`Client.call ${d}${u}${p} uri`),i(">>= fun (res, body_stream) ->"),i("(* Do stuff with the result *)",1),l()}}}},wf=(e,t,n)=>{switch(n=n||"",t=t||"",Object.prototype.toString.call(e)){case"[object Null]":case"[object Undefined]":default:return"null";case"[object String]":return`'${Zh(e,{delimiter:"'",escapeNewlines:!1})}'`;case"[object Number]":return e.toString();case"[object Array]":{const r=e.map((e=>wf(e,`${t}${t}`,t))).join(`,\n${t}`);return`[\n${t}${r}\n${n}]`}case"[object Object]":{const r=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.push(`${wf(n,t)} => ${wf(e[n],`${t}${t}`,t)}`);return`[\n${t}${r.join(`,\n${t}`)}\n${n}]`}}},xf=["ACL","BASELINE_CONTROL","CHECKIN","CHECKOUT","CONNECT","COPY","DELETE","GET","HEAD","LABEL","LOCK","MERGE","MKACTIVITY","MKCOL","MKWORKSPACE","MOVE","OPTIONS","POST","PROPFIND","PROPPATCH","PUT","REPORT","TRACE","UNCHECKOUT","UNLOCK","UPDATE","VERSION_CONTROL"],kf={info:{key:"php",title:"PHP",extname:".php",default:"curl"},clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://php.net/manual/en/book.curl.php",description:"PHP with ext-curl"},convert:({uriObj:e,postData:t,fullUrl:n,method:r,httpVersion:a,cookies:o,headersObj:i},s={})=>{const{closingTag:l=!1,indent:c=" ",maxRedirects:d=10,namedErrors:u=!1,noTags:p=!1,shortTags:h=!1,timeout:f=30}=s,{push:m,blank:g,join:v}=new Vh({indent:c});p||(m(h?"":"{null!=e&&y.push(`${t} => ${n?JSON.stringify(e):e},`)}));const O=o.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`));O.length&&y.push(`CURLOPT_COOKIE => "${O.join("; ")}",`);const w=Object.keys(i).sort().map((e=>`"${e}: ${Xh(i[e])}"`));return w.length&&(y.push("CURLOPT_HTTPHEADER => ["),y.push(w.join(`,\n${c}${c}`),1),y.push("],")),m(y.join(),1),m("]);"),g(),m("$response = curl_exec($curl);"),m("$err = curl_error($curl);"),g(),m("curl_close($curl);"),g(),m("if ($err) {"),m(u?'echo array_flip(get_defined_constants(true)["curl"])[$err];':'echo "cURL Error #:" . $err;',1),m("} else {"),m("echo $response;",1),m("}"),!p&&l&&(g(),m("?>")),v()}},guzzle:{info:{key:"guzzle",title:"Guzzle",link:"http://docs.guzzlephp.org/en/stable/",description:"PHP with Guzzle"},convert:({postData:e,fullUrl:t,method:n,cookies:r,headersObj:a},o)=>{var i;const s={closingTag:!1,indent:" ",noTags:!1,shortTags:!1,...o},{push:l,blank:c,join:d}=new Vh({indent:s.indent}),{code:u,push:p,join:h}=new Vh({indent:s.indent});switch(s.noTags||(l(s.shortTags?"":" ${wf(e.paramsObj,s.indent+s.indent,s.indent)},`,1);break;case"multipart/form-data":{const t=[];if(e.params&&e.params.forEach((function(e){if(e.fileName){const n={name:e.name,filename:e.fileName,contents:e.value};e.contentType&&(n.headers={"Content-Type":e.contentType}),t.push(n)}else e.value&&t.push({name:e.name,contents:e.value})})),t.length&&(p(`'multipart' => ${wf(t,s.indent+s.indent,s.indent)}`,1),Uh(a,"content-type")&&(null===(i=Qh(a,"content-type"))||void 0===i?void 0:i.indexOf("boundary")))){const e=Bh(a,"content-type");e&&delete a[e]}break}default:(null==e?void 0:e.text)&&p(`'body' => ${wf(e.text)},`,1)}const f=Object.keys(a).sort().map((function(e){return`${s.indent}${s.indent}'${e}' => '${Wh(a[e])}',`})),m=r.map((e=>`${encodeURIComponent(e.name)}=${encodeURIComponent(e.value)}`)).join("; ");return m.length&&f.push(`${s.indent}${s.indent}'cookie' => '${Wh(m)}',`),f.length&&(p("'headers' => [",1),p(f.join("\n")),p("],",1)),l("$client = new \\GuzzleHttp\\Client();"),c(),u.length?(l(`$response = $client->request('${n}', '${t}', [`),l(h()),l("]);")):l(`$response = $client->request('${n}', '${t}');`),c(),l("echo $response->getBody();"),!s.noTags&&s.closingTag&&(c(),l("?>")),d()}},http1:{info:{key:"http1",title:"HTTP v1",link:"http://php.net/manual/en/book.http.php",description:"PHP with pecl/http v1"},convert:({method:e,url:t,postData:n,queryObj:r,headersObj:a,cookiesObj:o},i={})=>{const{closingTag:s=!1,indent:l=" ",noTags:c=!1,shortTags:d=!1}=i,{push:u,blank:p,join:h}=new Vh({indent:l});switch(c||(u(d?"":"setUrl(${wf(t)});`),xf.includes(e.toUpperCase())?u(`$request->setMethod(HTTP_METH_${e.toUpperCase()});`):u(`$request->setMethod(HttpRequest::HTTP_METH_${e.toUpperCase()});`),p(),Object.keys(r).length&&(u(`$request->setQueryData(${wf(r,l)});`),p()),Object.keys(a).length&&(u(`$request->setHeaders(${wf(a,l)});`),p()),Object.keys(o).length&&(u(`$request->setCookies(${wf(o,l)});`),p()),null==n?void 0:n.mimeType){case"application/x-www-form-urlencoded":u(`$request->setContentType(${wf(n.mimeType)});`),u(`$request->setPostFields(${wf(n.paramsObj,l)});`),p();break;case"application/json":u(`$request->setContentType(${wf(n.mimeType)});`),u(`$request->setBody(json_encode(${wf(n.jsonObj,l)}));`),p();break;default:(null==n?void 0:n.text)&&(u(`$request->setBody(${wf(n.text)});`),p())}return u("try {"),u("$response = $request->send();",1),p(),u("echo $response->getBody();",1),u("} catch (HttpException $ex) {"),u("echo $ex;",1),u("}"),!c&&s&&(p(),u("?>")),h()}},http2:{info:{key:"http2",title:"HTTP v2",link:"http://devel-m6w6.rhcloud.com/mdref/http",description:"PHP with pecl/http v2"},convert:({postData:e,headersObj:t,method:n,queryObj:r,cookiesObj:a,url:o},i={})=>{var s;const{closingTag:l=!1,indent:c=" ",noTags:d=!1,shortTags:u=!1}=i,{push:p,blank:h,join:f}=new Vh({indent:c});let m=!1;switch(d||(p(u?"":"append(new http\\QueryString(${wf(e.paramsObj,c)}));`),h(),m=!0;break;case"multipart/form-data":{if(!e.params)break;const n=[],r={};e.params.forEach((({name:e,fileName:t,value:a,contentType:o})=>{t?n.push({name:e,type:o,file:t,data:a}):a&&(r[e]=a)}));const a=Object.keys(r).length?wf(r,c):"null",o=n.length?wf(n,c):"null";if(p("$body = new http\\Message\\Body;"),p(`$body->addForm(${a}, ${o});`),Uh(t,"content-type")&&(null===(s=Qh(t,"content-type"))||void 0===s?void 0:s.indexOf("boundary"))){const e=Bh(t,"content-type");e&&delete t[e]}h(),m=!0;break}case"application/json":p("$body = new http\\Message\\Body;"),p(`$body->append(json_encode(${wf(e.jsonObj,c)}));`),m=!0;break;default:(null==e?void 0:e.text)&&(p("$body = new http\\Message\\Body;"),p(`$body->append(${wf(e.text)});`),h(),m=!0)}return p(`$request->setRequestUrl(${wf(o)});`),p(`$request->setRequestMethod(${wf(n)});`),m&&(p("$request->setBody($body);"),h()),Object.keys(r).length&&(p(`$request->setQuery(new http\\QueryString(${wf(r,c)}));`),h()),Object.keys(t).length&&(p(`$request->setHeaders(${wf(t,c)});`),h()),Object.keys(a).length&&(h(),p(`$client->setCookies(${wf(a,c)});`),h()),p("$client->enqueue($request)->send();"),p("$response = $client->getResponse();"),h(),p("echo $response->getBody();"),!d&&l&&(h(),p("?>")),f()}}}},_f=e=>({method:t,headersObj:n,cookies:r,uriObj:a,fullUrl:o,postData:i,allHeaders:s})=>{const{push:l,join:c}=new Vh;if(!["GET","POST","PUT","DELETE","PATCH","HEAD","OPTIONS"].includes(t.toUpperCase()))return"Method not supported";const d=[],u=Object.keys(n);return u.length&&(l("$headers=@{}"),u.forEach((e=>{"connection"!==e&&l(`$headers.Add("${e}", "${Zh(n[e],{escapeChar:"`"})}")`)})),d.push("-Headers $headers")),r.length&&(l("$session = New-Object Microsoft.PowerShell.Commands.WebRequestSession"),r.forEach((e=>{l("$cookie = New-Object System.Net.Cookie"),l(`$cookie.Name = '${e.name}'`),l(`$cookie.Value = '${e.value}'`),l(`$cookie.Domain = '${a.host}'`),l("$session.Cookies.Add($cookie)")})),d.push("-WebSession $session")),(null==i?void 0:i.text)&&(d.push(`-ContentType '${Zh(Qh(s,"content-type"),{delimiter:"'",escapeChar:"`"})}'`),d.push(`-Body '${i.text}'`)),l(`$response = ${e} -Uri '${o}' -Method ${t} ${d.join(" ")}`),c()},Sf={info:{key:"restmethod",title:"Invoke-RestMethod",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-RestMethod",description:"Powershell Invoke-RestMethod client"},convert:_f("Invoke-RestMethod")},Ef={info:{key:"webrequest",title:"Invoke-WebRequest",link:"https://docs.microsoft.com/en-us/powershell/module/Microsoft.PowerShell.Utility/Invoke-WebRequest",description:"Powershell Invoke-WebRequest client"},convert:_f("Invoke-WebRequest")};function Tf(e,t,n,r,a){const o=r.repeat(a),i=r.repeat(a-1),s=n?`,\n${o}`:", ",l="object"===e?"{":"[",c="object"===e?"}":"]";return n?`${l}\n${o}${t.join(s)}\n${i}${c}`:"object"===e&&t.length>0?`${l} ${t.join(s)} ${c}`:`${l}${t.join(s)}${c}`}const Cf=(e,t,n)=>{switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let r=!1;return Tf("array",e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),Cf(e,t,n)))),r,t.indent,n)}case"[object Object]":{const r=[];for(const a in e)r.push(`"${a}": ${Cf(e[a],t,n)}`);return Tf("object",r,t.pretty&&r.length>1,t.indent,n)}case"[object Null]":return"None";case"[object Boolean]":return e?"True":"False";default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},Af=["HEAD","GET","POST","PUT","PATCH","DELETE","OPTIONS"],Pf={info:{key:"httr",title:"httr",link:"https://cran.r-project.org/web/packages/httr/vignettes/quickstart.html",description:"httr: Tools for Working with URLs and HTTP"},convert:({url:e,queryObj:t,queryString:n,postData:r,allHeaders:a,method:o},i={})=>{var s,l;const{push:c,blank:d,join:u}=new Vh({indent:null!==(s=i.indent)&&void 0!==s?s:" "});c("library(httr)"),d(),c(`url <- "${e}"`),d();const p=t;delete t.key;const h=Object.entries(p),f=h.length;if(1===f){const e=h[0];c(`queryString <- list(${e[0]} = "${e[1]}")`),d()}else f>1&&(c("queryString <- list("),h.forEach((([e,t],n)=>{c(`${e} = "${t}"${n!==f-1?",":""}`,1)})),c(")"),d());const m=JSON.stringify(null==r?void 0:r.text);if(m&&(c(`payload <- ${m}`),d()),r&&(r.text||r.jsonObj||r.params))switch(r.mimeType){case"application/x-www-form-urlencoded":c('encode <- "form"'),d();break;case"application/json":c('encode <- "json"'),d();break;case"multipart/form-data":c('encode <- "multipart"'),d();break;default:c('encode <- "raw"'),d()}const g=Qh(a,"cookie"),v=Qh(a,"accept"),b=g?`set_cookies(\`${String(g).replace(/;/g,'", `').replace(/` /g,"`").replace(/[=]/g,'` = "')}")`:void 0,y=v?`accept("${Xh(v)}")`:void 0,O=`content_type("${Xh(null!==(l=null==r?void 0:r.mimeType)&&void 0!==l?l:"application/octet-stream")}")`,w=Object.entries(a).filter((([e])=>!["cookie","accept","content-type"].includes(e.toLowerCase()))).map((([e,t])=>`'${e}' = '${Wh(t)}'`)).join(", "),x=w?`add_headers(${w})`:void 0;let k=`response <- VERB("${o}", url`;m&&(k+=", body = payload"),n.length&&(k+=", query = queryString");const _=[x,O,y,b].filter((e=>!!e)).join(", ");return _&&(k+=`, ${_}`),r&&(r.text||r.jsonObj||r.params)&&(k+=", encode = encode"),k+=")",c(k),d(),c('content(response, "text")'),u()}},Df=(e="")=>/^[a-z0-9-_/.@%^=:]+$/i.test(e)?e:`'${e.replace(/'/g,"'\\''")}'`,Rf={"http1.0":"0","url ":"",cookie:"b",data:"d",form:"F",globoff:"g",header:"H",insecure:"k",request:"X"},$f=(e,t)=>t.repeat(e),Nf=(e,t,n,r)=>{const a=$f(r,n),o=$f(r-1,n),i=t?`,\n${a}`:", ";return t?`[\n${a}${e.join(i)}\n${o}]`:`[${e.join(i)}]`},Mf=(e,t,n)=>`let ${e} = ${If(t,n)}`,If=(e,t,n)=>{switch(n=void 0===n?1:n+1,Object.prototype.toString.call(e)){case"[object Number]":return e;case"[object Array]":{let r=!1;const a=e.map((e=>("[object Object]"===Object.prototype.toString.call(e)&&(r=Object.keys(e).length>1),If(e,t,n))));return Nf(a,r,t.indent,n)}case"[object Object]":{const r=[];for(const a in e)r.push(`"${a}": ${If(e[a],t,n)}`);return Nf(r,t.pretty&&r.length>1,t.indent,n)}case"[object Boolean]":return e.toString();default:return null==e?"":`"${e.toString().replace(/"/g,'\\"')}"`}},Lf={c:Yh,clojure:af,csharp:of,go:sf,http:lf,java:cf,javascript:ff,kotlin:mf,node:gf,objc:yf,ocaml:Of,php:kf,powershell:{info:{key:"powershell",title:"Powershell",extname:".ps1",default:"webrequest"},clientsById:{webrequest:Ef,restmethod:Sf}},python:{info:{key:"python",title:"Python",extname:".py",default:"python3"},clientsById:{python3:{info:{key:"python3",title:"http.client",link:"https://docs.python.org/3/library/http.client.html",description:"Python3 HTTP Client"},convert:({uriObj:{path:e,protocol:t,host:n},postData:r,allHeaders:a,method:o},i={})=>{const{insecureSkipVerify:s=!1}=i,{push:l,blank:c,join:d}=new Vh;l("import http.client"),s&&l("import ssl"),c(),"https:"===t?(l(`conn = http.client.HTTPSConnection("${n}"${s?", context = ssl._create_unverified_context()":""})`),c()):(l(`conn = http.client.HTTPConnection("${n}")`),c());const u=JSON.stringify(null==r?void 0:r.text);u&&(l(`payload = ${u}`),c());const p=a,h=Object.keys(p).length;if(1===h)for(const e in p)l(`headers = { '${e}': "${Xh(p[e])}" }`),c();else if(h>1){let e=1;l("headers = {");for(const t in p)e++!==h?l(` '${t}': "${Xh(p[t])}",`):l(` '${t}': "${Xh(p[t])}"`);l("}"),c()}return l(u&&h?`conn.request("${o}", "${e}", payload, headers)`:u&&!h?`conn.request("${o}", "${e}", payload)`:!u&&h?`conn.request("${o}", "${e}", headers=headers)`:`conn.request("${o}", "${e}")`),c(),l("res = conn.getresponse()"),l("data = res.read()"),c(),l('print(data.decode("utf-8"))'),d()}},requests:{info:{key:"requests",title:"Requests",link:"http://docs.python-requests.org/en/latest/api/#requests.request",description:"Requests HTTP library"},convert:({queryObj:e,url:t,postData:n,allHeaders:r,method:a},o)=>{const i={indent:" ",pretty:!0,...o},{push:s,blank:l,join:c}=new Vh({indent:i.indent});let d;s("import requests"),l(),s(`url = "${t}"`),l(),Object.keys(e).length&&(d=`querystring = ${JSON.stringify(e)}`,s(d),l());const u=r;let p={};const h={};let f=!1,m=!1,g=!1;switch(null==n?void 0:n.mimeType){case"application/json":n.jsonObj&&(s(`payload = ${Cf(n.jsonObj,i)}`),g=!0,m=!0);break;case"multipart/form-data":if(!n.params)break;if(p={},n.params.forEach((e=>{e.fileName?(h[e.name]=`open('${e.fileName}', 'rb')`,f=!0):(p[e.name]=e.value,m=!0)})),f){s(`files = ${Cf(h,i)}`),m&&s(`payload = ${Cf(p,i)}`);const e=Bh(u,"content-type");e&&delete u[e]}else{const e=JSON.stringify(n.text);e&&(s(`payload = ${e}`),m=!0)}break;default:{if(!n)break;if("application/x-www-form-urlencoded"===n.mimeType&&n.paramsObj){s(`payload = ${Cf(n.paramsObj,i)}`),m=!0;break}const e=JSON.stringify(n.text);e&&(s(`payload = ${e}`),m=!0)}}const v=Object.keys(u).length;if(0===v&&(m||f))l();else if(1===v)for(const e in u)s(`headers = {"${e}": "${Xh(u[e])}"}`),l();else if(v>1){let e=1;s("headers = {");for(const t in u)s(e!==v?`"${t}": "${Xh(u[t])}",`:`"${t}": "${Xh(u[t])}"`,1),e+=1;s("}"),l()}let b=Af.includes(a)?`response = requests.${a.toLowerCase()}(url`:`response = requests.request("${a}", url`;return m&&(b+=g?", json=payload":", data=payload"),f&&(b+=", files=files"),v>0&&(b+=", headers=headers"),d&&(b+=", params=querystring"),b+=")",s(b),l(),s("print(response.json())"),c()}}}},r:{info:{key:"r",title:"R",extname:".r",default:"httr"},clientsById:{httr:Pf}},ruby:{info:{key:"ruby",title:"Ruby",extname:".rb",default:"native"},clientsById:{native:{info:{key:"native",title:"net::http",link:"http://ruby-doc.org/stdlib-2.2.1/libdoc/net/http/rdoc/Net/HTTP.html",description:"Ruby HTTP client"},convert:({uriObj:e,method:t,fullUrl:n,postData:r,allHeaders:a},o={})=>{const{insecureSkipVerify:i=!1}=o,{push:s,blank:l,join:c}=new Vh;s("require 'uri'"),s("require 'net/http'"),l();const d=t.toUpperCase(),u=d.charAt(0)+d.substring(1).toLowerCase();["GET","POST","HEAD","DELETE","PATCH","PUT","OPTIONS","COPY","LOCK","UNLOCK","MOVE","TRACE"].includes(d)||(s(`class Net::HTTP::${u} < Net::HTTPRequest`),s(` METHOD = '${d.toUpperCase()}'`),s(` REQUEST_HAS_BODY = '${(null==r?void 0:r.text)?"true":"false"}'`),s(" RESPONSE_HAS_BODY = true"),s("end"),l()),s(`url = URI("${n}")`),l(),s("http = Net::HTTP.new(url.host, url.port)"),"https:"===e.protocol&&(s("http.use_ssl = true"),i&&s("http.verify_mode = OpenSSL::SSL::VERIFY_NONE")),l(),s(`request = Net::HTTP::${u}.new(url)`);const p=Object.keys(a);return p.length&&p.forEach((e=>{s(`request["${e}"] = '${Wh(a[e])}'`)})),(null==r?void 0:r.text)&&s(`request.body = ${JSON.stringify(r.text)}`),l(),s("response = http.request(request)"),s("puts response.read_body"),c()}}}},shell:{info:{key:"shell",title:"Shell",extname:".sh",default:"curl"},clientsById:{curl:{info:{key:"curl",title:"cURL",link:"http://curl.haxx.se/",description:"cURL is a command line tool and library for transferring data with URL syntax"},convert:({fullUrl:e,method:t,httpVersion:n,headersObj:r,allHeaders:a,postData:o},i={})=>{var s;const{binary:l=!1,globOff:c=!1,indent:d=" ",insecureSkipVerify:u=!1,prettifyJson:p=!1,short:h=!1}=i,{push:f,join:m}=new Vh({..."string"==typeof d?{indent:d}:{},join:!1!==d?` \\\n${d}`:" "}),g=(e=>t=>{if(e){const e=Rf[t];return e?`-${e}`:""}return`--${t}`})(h);let v=Df(e);if(f(`curl ${g("request")} ${t}`),c&&(v=unescape(v),f(g("globoff"))),f(`${g("url ")}${v}`),u&&f(g("insecure")),"HTTP/1.0"===n&&f(g("http1.0")),Qh(a,"accept-encoding")&&f("--compressed"),"multipart/form-data"===(null==o?void 0:o.mimeType)){const e=Bh(r,"content-type");if(e){const t=r[e];if(e&&t){const n=t.replace(/; boundary.+?(?=(;|$))/,"");r[e]=n,a[e]=n}}}switch(Object.keys(r).sort().forEach((e=>{const t=`${e}: ${r[e]}`;f(`${g("header")} ${Df(t)}`)})),a.cookie&&f(`${g("cookie")} ${Df(a.cookie)}`),null==o?void 0:o.mimeType){case"multipart/form-data":null===(s=o.params)||void 0===s||s.forEach((e=>{let t="";t=e.fileName?`${e.name}=@${e.fileName}`:`${e.name}=${e.value}`,f(`${g("form")} ${Df(t)}`)}));break;case"application/x-www-form-urlencoded":o.params?o.params.forEach((e=>{const t=e.name,n=encodeURIComponent(e.name),r=n!==t;f(`${l?"--data-binary":"--data"+(r?"-urlencode":"")} ${Df(`${r?n:t}=${e.value}`)}`)})):f(`${l?"--data-binary":g("data")} ${Df(o.text)}`);break;default:{if(!o)break;if(!o.text)break;const e=l?"--data-binary":g("data");let t=!1;if(b=o.mimeType,Fh.some((e=>b.includes(e)))&&o.text.length>2&&p)try{const n=JSON.parse(o.text);t=!0;const r=JSON.stringify(n,void 0,d);o.text.indexOf("'")>0?f(`${e} @- <{const s={body:!1,cert:!1,headers:!1,indent:" ",pretty:!1,print:!1,queryParams:!1,short:!1,style:!1,timeout:!1,verbose:!1,verify:!1,...i},{push:l,join:c,unshift:d}=new Vh({indent:s.indent,join:!1!==s.indent?` \\\n${s.indent}`:" "});let u=!1;const p=[];return s.headers&&p.push(s.short?"-h":"--headers"),s.body&&p.push(s.short?"-b":"--body"),s.verbose&&p.push(s.short?"-v":"--verbose"),s.print&&p.push(`${s.short?"-p":"--print"}=${s.print}`),s.verify&&p.push(`--verify=${s.verify}`),s.cert&&p.push(`--cert=${s.cert}`),s.pretty&&p.push(`--pretty=${s.pretty}`),s.style&&p.push(`--style=${s.style}`),s.timeout&&p.push(`--timeout=${s.timeout}`),s.queryParams&&Object.keys(n).forEach((e=>{const t=n[e];Array.isArray(t)?t.forEach((t=>{l(`${e}==${Df(t)}`)})):l(`${e}==${Df(t)}`)})),Object.keys(e).sort().forEach((t=>{l(`${t}:${Df(e[t])}`)})),"application/x-www-form-urlencoded"===(null==t?void 0:t.mimeType)?t.params&&t.params.length&&(p.push(s.short?"-f":"--form"),t.params.forEach((e=>{l(`${e.name}=${Df(e.value)}`)}))):u=!0,d(`http ${p.length?`${p.join(" ")} `:""}${a} ${o=Df(s.queryParams?o:r)}`),u&&(null==t?void 0:t.text)&&d(`echo ${Df(t.text)} | `),c()}},wget:{info:{key:"wget",title:"Wget",link:"https://www.gnu.org/software/wget/",description:"a free software package for retrieving files using HTTP, HTTPS"},convert:({method:e,postData:t,allHeaders:n,fullUrl:r},a)=>{const o={indent:" ",short:!1,verbose:!1,...a},{push:i,join:s}=new Vh({indent:o.indent,join:!1!==o.indent?` \\\n${o.indent}`:" "});var l;return o.verbose?i("wget "+(o.short?"-v":"--verbose")):i("wget "+(o.short?"-q":"--quiet")),i(`--method ${Df(e)}`),Object.keys(n).forEach((e=>{const t=`${e}: ${n[e]}`;i(`--header ${Df(t)}`)})),(null==t?void 0:t.text)&&i(`--body-data ${l=Df(t.text),l.replace(/\r/g,"\\r").replace(/\n/g,"\\n")}`),i(o.short?"-O":"--output-document"),i(`- ${Df(r)}`),s()}}}},swift:{info:{key:"swift",title:"Swift",extname:".swift",default:"nsurlsession"},clientsById:{nsurlsession:{info:{key:"nsurlsession",title:"NSURLSession",link:"https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/index.html",description:"Foundation's NSURLSession request"},convert:({allHeaders:e,postData:t,fullUrl:n,method:r},a)=>{var o;const i={indent:" ",pretty:!0,timeout:"10",...a},{push:s,blank:l,join:c}=new Vh({indent:i.indent}),d={hasHeaders:!1,hasBody:!1};if(s("import Foundation"),Object.keys(e).length&&(d.hasHeaders=!0,l(),s(Mf("headers",e,i))),t&&(t.text||t.jsonObj||t.params))switch(d.hasBody=!0,t.mimeType){case"application/x-www-form-urlencoded":if(l(),null===(o=t.params)||void 0===o?void 0:o.length){const[e,...n]=t.params;s(`let postData = NSMutableData(data: "${e.name}=${e.value}".data(using: String.Encoding.utf8)!)`),n.forEach((({name:e,value:t})=>{s(`postData.append("&${e}=${t}".data(using: String.Encoding.utf8)!)`)}))}else d.hasBody=!1;break;case"application/json":t.jsonObj&&(s(`${Mf("parameters",t.jsonObj,i)} as [String : Any]`),l(),s("let postData = JSONSerialization.data(withJSONObject: parameters, options: [])"));break;case"multipart/form-data":s(Mf("parameters",t.params,i)),l(),s(`let boundary = "${t.boundary}"`),l(),s('var body = ""'),s("var error: NSError? = nil"),s("for param in parameters {"),s('let paramName = param["name"]!',1),s('body += "--\\(boundary)\\r\\n"',1),s('body += "Content-Disposition:form-data; name=\\"\\(paramName)\\""',1),s('if let filename = param["fileName"] {',1),s('let contentType = param["content-type"]!',2),s("let fileContent = String(contentsOfFile: filename, encoding: String.Encoding.utf8)",2),s("if (error != nil) {",2),s("print(error as Any)",3),s("}",2),s('body += "; filename=\\"\\(filename)\\"\\r\\n"',2),s('body += "Content-Type: \\(contentType)\\r\\n\\r\\n"',2),s("body += fileContent",2),s('} else if let paramValue = param["value"] {',1),s('body += "\\r\\n\\r\\n\\(paramValue)"',2),s("}",1),s("}");break;default:l(),s(`let postData = NSData(data: "${t.text}".data(using: String.Encoding.utf8)!)`)}return l(),s(`let request = NSMutableURLRequest(url: NSURL(string: "${n}")! as URL,`),s(" cachePolicy: .useProtocolCachePolicy,"),s(` timeoutInterval: ${parseInt(i.timeout,10).toFixed(1)})`),s(`request.httpMethod = "${r}"`),d.hasHeaders&&s("request.allHTTPHeaderFields = headers"),d.hasBody&&s("request.httpBody = postData as Data"),l(),s("let session = URLSession.shared"),s("let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in"),s("if (error != nil) {",1),s("print(error as Any)",2),s("} else {",1),s("let httpResponse = response as? HTTPURLResponse",2),s("print(httpResponse)",2),s("}",1),s("})"),l(),s("dataTask.resume()"),c()}}}}};class jf{constructor(e){let t=[];var n;t="object"==typeof(n=e)&&"log"in n&&"object"==typeof n.log&&"entries"in n.log&&Array.isArray(n.log.entries)?e.log.entries:[{request:e}],this.requests=Promise.all(t.map((({request:e})=>{var t;const n={bodySize:0,headersSize:0,headers:[],cookies:[],httpVersion:"HTTP/1.1",queryString:[],postData:{mimeType:(null===(t=e.postData)||void 0===t?void 0:t.mimeType)||"application/octet-stream"},...e};return this.prepare(n)})))}async prepare(e){var t,n,r,a;const o={...e,fullUrl:"",queryObj:{},headersObj:{},cookiesObj:{},allHeaders:{}};if(o.queryString&&o.queryString.length&&(o.queryObj=o.queryString.reduce(zh,{})),o.headers&&o.headers.length){const e=/^HTTP\/2/;o.headersObj=o.headers.reduce(((t,{name:n,value:r})=>({...t,[e.exec(o.httpVersion)?n.toLocaleLowerCase():n]:r})),{})}o.cookies&&o.cookies.length&&(o.cookiesObj=o.cookies.reduceRight(((e,{name:t,value:n})=>({...e,[t]:n})),{}));const i=null===(t=o.cookies)||void 0===t?void 0:t.map((({name:e,value:t})=>`${encodeURIComponent(e)}=${encodeURIComponent(t)}`));switch((null==i?void 0:i.length)&&(o.allHeaders.cookie=i.join("; ")),null===(n=o.postData)||void 0===n?void 0:n.mimeType){case"multipart/mixed":case"multipart/related":case"multipart/form-data":case"multipart/alternative":if(o.postData.text="",o.postData.mimeType="multipart/form-data",null===(r=o.postData)||void 0===r?void 0:r.params){const e=new Rh,t="---011000010111000001101001";null===(a=o.postData)||void 0===a||a.params.forEach((t=>{const n=t.name,r=t.value||"",a=t.fileName;var o;"object"==typeof(o=r)&&"function"==typeof o.arrayBuffer&&"string"==typeof o.type&&"function"==typeof o.stream&&"function"==typeof o.constructor&&/^(Blob|File)$/.test(o[Lh])?e.append(n,r,a):e.append(n,new $h([r],{type:t.contentType}),a?function(e){const t=e.split("/");return t[t.length-1]}(a):a)}));const{postData:n}=o;for await(const r of async function*(e,t){for(const[n,r]of e)yield jh(t,n,r),"string"==typeof r?yield r:yield await r.text(),yield Mh;yield(e=>`${Ih}${e}${Ih}${Mh.repeat(1)}`)(t)}(e,t))n.text+=r;o.postData.boundary=t;const r=Bh(o.headersObj,"content-type")||"content-type";o.headersObj[r]=`multipart/form-data; boundary=${t}`}break;case"application/x-www-form-urlencoded":o.postData.params?(o.postData.paramsObj=o.postData.params.reduce(zh,{}),o.postData.text=qh(o.postData.paramsObj).toString()):o.postData.text="";break;case"text/json":case"text/x-json":case"application/json":case"application/x-json":if(o.postData.mimeType="application/json",o.postData.text)try{o.postData.jsonObj=JSON.parse(o.postData.text)}catch(e){o.postData.mimeType="text/plain"}}const s={...o.allHeaders,...o.headersObj},l=new URL(o.url),c=Object.fromEntries(l.searchParams);o.queryObj={...o.queryObj,...c};const d=qh(o.queryObj),u=new URL(o.url);return u.search=d.toString(),l.search="",{...o,allHeaders:s,fullUrl:u.toString(),url:l.toString(),uriObj:new Hh(u.toString())}}async convert(e,t,n){!n&&t&&(n=t);const r=Lf[e];if(!r)return null;const{convert:a}=r.clientsById[t||r.info.default],o=(await this.requests).map((e=>a(e,n)));return 1===o.length?o[0]:o}}const Bf=(...e)=>{let t={httpVersion:"1.1",method:"GET",url:"",path:"",headers:[],headersSize:-1,queryString:[],cookies:[],bodySize:-1};e.forEach((e=>{t={...t,...e,headers:[...t.headers,...e.headers??[]],queryString:[...t.queryString,...e.queryString??[]],cookies:[...t.cookies,...e.cookies??[]]}})),t.headers=(e=>{if(Array.isArray(e)){const t=new Map;return e.forEach((e=>{t.set(uu(e.name),e)})),Array.from(t.values()).map((e=>({...e,name:uu(e.name)})))}return Object.fromEntries(Object.entries(e??{}).reverse().filter((([e],t,n)=>n.findIndex((([t])=>uu(t)===uu(e)))===t)).reverse().map((([e,t])=>[uu(e),t])))})(t.headers);const{path:n,...r}=t;return n?{...r,url:`${t.url}${n}`}:r},Qf="object"==typeof self?self:globalThis,Uf=e=>((e,t)=>{const n=(t,n)=>(e.set(n,t),t),r=a=>{if(e.has(a))return e.get(a);const[o,i]=t[a];switch(o){case 0:case-1:return n(i,a);case 1:{const e=n([],a);for(const t of i)e.push(r(t));return e}case 2:{const e=n({},a);for(const[t,n]of i)e[r(t)]=r(n);return e}case 3:return n(new Date(i),a);case 4:{const{source:e,flags:t}=i;return n(new RegExp(e,t),a)}case 5:{const e=n(new Map,a);for(const[t,n]of i)e.set(r(t),r(n));return e}case 6:{const e=n(new Set,a);for(const t of i)e.add(r(t));return e}case 7:{const{name:e,message:t}=i;return n(new Qf[e](t),a)}case 8:return n(BigInt(i),a);case"BigInt":return n(Object(BigInt(i)),a)}return n(new Qf[o](i),a)};return r})(new Map,e)(0),Ff="",{toString:zf}={},{keys:qf}=Object,Hf=e=>{const t=typeof e;if("object"!==t||!e)return[0,t];const n=zf.call(e).slice(8,-1);switch(n){case"Array":return[1,Ff];case"Object":return[2,Ff];case"Date":return[3,Ff];case"RegExp":return[4,Ff];case"Map":return[5,Ff];case"Set":return[6,Ff]}return n.includes("Array")?[1,n]:n.includes("Error")?[7,n]:[2,n]},Vf=([e,t])=>0===e&&("function"===t||"symbol"===t),Zf=(e,{json:t,lossy:n}={})=>{const r=[];return((e,t,n,r)=>{const a=(e,t)=>{const a=r.push(e)-1;return n.set(t,a),a},o=r=>{if(n.has(r))return n.get(r);let[i,s]=Hf(r);switch(i){case 0:{let t=r;switch(s){case"bigint":i=8,t=r.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+s);t=null;break;case"undefined":return a([-1],r)}return a([i,t],r)}case 1:{if(s)return a([s,[...r]],r);const e=[],t=a([i,e],r);for(const t of r)e.push(o(t));return t}case 2:{if(s)switch(s){case"BigInt":return a([s,r.toString()],r);case"Boolean":case"Number":case"String":return a([s,r.valueOf()],r)}if(t&&"toJSON"in r)return o(r.toJSON());const n=[],l=a([i,n],r);for(const t of qf(r))!e&&Vf(Hf(r[t]))||n.push([o(t),o(r[t])]);return l}case 3:return a([i,r.toISOString()],r);case 4:{const{source:e,flags:t}=r;return a([i,{source:e,flags:t}],r)}case 5:{const t=[],n=a([i,t],r);for(const[n,a]of r)(e||!Vf(Hf(n))&&!Vf(Hf(a)))&&t.push([o(n),o(a)]);return n}case 6:{const t=[],n=a([i,t],r);for(const n of r)!e&&Vf(Hf(n))||t.push(o(n));return n}}const{message:l}=r;return a([i,{name:s,message:l}],r)};return o})(!(t||n),!!t,new Map,r)(e),r},Wf="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?Uf(Zf(e,t)):structuredClone(e):(e,t)=>Uf(Zf(e,t)),Xf=function(e,t,n,r,a){const o=Yf(t);return!!Jf(e)&&o.call(a,e,n,r)},Yf=function(e){if(null==e)return Kf;if("string"==typeof e)return function(e){return Gf((function(t){return t.tagName===e}))}(e);if("object"==typeof e)return function(e){const t=[];let n=-1;for(;++n":"")+")"})}return d;function d(){let c,d,u,p=sm;if((!t||o(a,s,l[l.length-1]||void 0))&&(p=function(e){return Array.isArray(e)?e:"number"==typeof e?[lm,e]:null==e?sm:[e]}(n(a,l)),p[0]===cm))return p;if("children"in a&&a.children){const t=a;if(t.children&&p[0]!==dm)for(d=(r?t.children.length:-1)+i,u=l.concat(t);d>-1&&d0&&(e.properties.rel=[...o]),i&&(e.properties.target=i),r){const n=vm(t.contentProperties,e)||{};e.children.push({type:"element",tagName:"span",properties:Wf(n),children:Wf(r)})}}}}))}}function vm(e,t){return"function"==typeof e?e(t):e}const bm=Yf((function(e){return"audio"===e.tagName||"canvas"===e.tagName||"embed"===e.tagName||"iframe"===e.tagName||"img"===e.tagName||"math"===e.tagName||"object"===e.tagName||"picture"===e.tagName||"svg"===e.tagName||"video"===e.tagName})),ym={}.hasOwnProperty,Om=new Set(["pingback","prefetch","stylesheet"]),wm=Yf(["a","abbr","area","b","bdi","bdo","br","button","cite","code","data","datalist","del","dfn","em","i","input","ins","kbd","keygen","label","map","mark","meter","noscript","output","progress","q","ruby","s","samp","script","select","small","span","strong","sub","sup","template","textarea","time","u","var","wbr"]),xm=Yf("meta");const km=/[ \t\n\f\r]/g;function _m(e){return"object"==typeof e?"text"===e.type&&Sm(e.value):Sm(e)}function Sm(e){return""===e.replace(km,"")}const Em=["pre","script","style","textarea"],Tm=["address","article","aside","blockquote","body","br","caption","center","col","colgroup","dd","dialog","dir","div","dl","dt","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","legend","li","li","listing","main","menu","nav","ol","optgroup","option","p","plaintext","pre","section","summary","table","tbody","td","td","tfoot","th","th","thead","tr","ul","wbr","xmp"],Cm=["button","input","select","textarea"],Am=["area","base","basefont","dialog","datalist","head","link","meta","noembed","noframes","param","rp","script","source","style","template","track","title"],Pm={},Dm=am(["doctype","comment"]);function Rm(e,t){if("children"in e){const n={...t};return("root"===e.type||Im(e))&&(n.before=!0,n.after=!0),n.whitespace=function(e,t){if("tagName"in e&&e.properties)switch(e.tagName){case"listing":case"plaintext":case"script":case"style":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return e.properties.wrap?"pre-wrap":"pre";case"td":case"th":return e.properties.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}return t.whitespace}(e,t),function(e,t){let n=t.before;const r=t.after,a=e.children;let o=a.length,i=-1;for(;++i0&&t.blanks.includes(e.tagName))}}function qm(e,t){return"root"===e.type||"element"===e.type&&(t||Xf(e,"script")||bm(e)||!function(e){return Boolean("text"===e.type||wm(e)||bm(e)||function(e){if("element"!==e.type||"link"!==e.tagName)return!1;if(e.properties.itemProp)return!0;const t=e.properties.rel;let n=-1;if(!Array.isArray(t)||0===t.length)return!1;for(;++n"xlink:"+t.slice(5).toLowerCase(),properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}}),ug=cg({space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase(),properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function pg(e,t){return t in e?e[t]:t}function hg(e,t){return pg(e,t.toLowerCase())}const fg=cg({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:hg,properties:{xmlns:null,xmlnsXLink:null}}),mg=cg({transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase(),properties:{ariaActiveDescendant:null,ariaAtomic:Gm,ariaAutoComplete:null,ariaBusy:Gm,ariaChecked:Gm,ariaColCount:Jm,ariaColIndex:Jm,ariaColSpan:Jm,ariaControls:eg,ariaCurrent:null,ariaDescribedBy:eg,ariaDetails:null,ariaDisabled:Gm,ariaDropEffect:eg,ariaErrorMessage:null,ariaExpanded:Gm,ariaFlowTo:eg,ariaGrabbed:Gm,ariaHasPopup:null,ariaHidden:Gm,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:eg,ariaLevel:Jm,ariaLive:null,ariaModal:Gm,ariaMultiLine:Gm,ariaMultiSelectable:Gm,ariaOrientation:null,ariaOwns:eg,ariaPlaceholder:null,ariaPosInSet:Jm,ariaPressed:Gm,ariaReadOnly:Gm,ariaRelevant:null,ariaRequired:Gm,ariaRoleDescription:eg,ariaRowCount:Jm,ariaRowIndex:Jm,ariaRowSpan:Jm,ariaSelected:Gm,ariaSetSize:Jm,ariaSort:null,ariaValueMax:Jm,ariaValueMin:Jm,ariaValueNow:Jm,ariaValueText:null,role:null}}),gg=cg({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:hg,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:tg,acceptCharset:eg,accessKey:eg,action:null,allow:null,allowFullScreen:Ym,allowPaymentRequest:Ym,allowUserMedia:Ym,alt:null,as:null,async:Ym,autoCapitalize:null,autoComplete:eg,autoFocus:Ym,autoPlay:Ym,blocking:eg,capture:null,charSet:null,checked:Ym,cite:null,className:eg,cols:Jm,colSpan:null,content:null,contentEditable:Gm,controls:Ym,controlsList:eg,coords:Jm|tg,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Ym,defer:Ym,dir:null,dirName:null,disabled:Ym,download:Km,draggable:Gm,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Ym,formTarget:null,headers:eg,height:Jm,hidden:Ym,high:Jm,href:null,hrefLang:null,htmlFor:eg,httpEquiv:eg,id:null,imageSizes:null,imageSrcSet:null,inert:Ym,inputMode:null,integrity:null,is:null,isMap:Ym,itemId:null,itemProp:eg,itemRef:eg,itemScope:Ym,itemType:eg,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Ym,low:Jm,manifest:null,max:null,maxLength:Jm,media:null,method:null,min:null,minLength:Jm,multiple:Ym,muted:Ym,name:null,nonce:null,noModule:Ym,noValidate:Ym,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:Ym,optimum:Jm,pattern:null,ping:eg,placeholder:null,playsInline:Ym,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Ym,referrerPolicy:null,rel:eg,required:Ym,reversed:Ym,rows:Jm,rowSpan:Jm,sandbox:eg,scope:null,scoped:Ym,seamless:Ym,selected:Ym,shadowRootClonable:Ym,shadowRootDelegatesFocus:Ym,shadowRootMode:null,shape:null,size:Jm,sizes:null,slot:null,span:Jm,spellCheck:Gm,src:null,srcDoc:null,srcLang:null,srcSet:null,start:Jm,step:null,style:null,tabIndex:Jm,target:null,title:null,translate:null,type:null,typeMustMatch:Ym,useMap:null,value:Gm,width:Jm,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:eg,axis:null,background:null,bgColor:null,border:Jm,borderColor:null,bottomMargin:Jm,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Ym,declare:Ym,event:null,face:null,frame:null,frameBorder:null,hSpace:Jm,leftMargin:Jm,link:null,longDesc:null,lowSrc:null,marginHeight:Jm,marginWidth:Jm,noResize:Ym,noHref:Ym,noShade:Ym,noWrap:Ym,object:null,profile:null,prompt:null,rev:null,rightMargin:Jm,rules:null,scheme:null,scrolling:Gm,standby:null,summary:null,text:null,topMargin:Jm,valueType:null,version:null,vAlign:null,vLink:null,vSpace:Jm,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Ym,disableRemotePlayback:Ym,prefix:null,property:null,results:Jm,security:null,unselectable:null}}),vg=cg({space:"svg",attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},transform:pg,properties:{about:ng,accentHeight:Jm,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:Jm,amplitude:Jm,arabicForm:null,ascent:Jm,attributeName:null,attributeType:null,azimuth:Jm,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:Jm,by:null,calcMode:null,capHeight:Jm,className:eg,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:Jm,diffuseConstant:Jm,direction:null,display:null,dur:null,divisor:Jm,dominantBaseline:null,download:Ym,dx:null,dy:null,edgeMode:null,editable:null,elevation:Jm,enableBackground:null,end:null,event:null,exponent:Jm,externalResourcesRequired:null,fill:null,fillOpacity:Jm,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:tg,g2:tg,glyphName:tg,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:Jm,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:Jm,horizOriginX:Jm,horizOriginY:Jm,id:null,ideographic:Jm,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:Jm,k:Jm,k1:Jm,k2:Jm,k3:Jm,k4:Jm,kernelMatrix:ng,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:Jm,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:Jm,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:Jm,overlineThickness:Jm,paintOrder:null,panose1:null,path:null,pathLength:Jm,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:eg,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:Jm,pointsAtY:Jm,pointsAtZ:Jm,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:ng,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:ng,rev:ng,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:ng,requiredFeatures:ng,requiredFonts:ng,requiredFormats:ng,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:Jm,specularExponent:Jm,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:Jm,strikethroughThickness:Jm,string:null,stroke:null,strokeDashArray:ng,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:Jm,strokeOpacity:Jm,strokeWidth:null,style:null,surfaceScale:Jm,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:ng,tabIndex:Jm,tableValues:null,target:null,targetX:Jm,targetY:Jm,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:ng,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:Jm,underlineThickness:Jm,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:Jm,values:null,vAlphabetic:Jm,vMathematical:Jm,vectorEffect:null,vHanging:Jm,vIdeographic:Jm,version:null,vertAdvY:Jm,vertOriginX:Jm,vertOriginY:Jm,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:Jm,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),bg=/^data[-\w.:]+$/i,yg=/-[a-z]/g,Og=/[A-Z]/g;function wg(e,t){const n=Zm(t);let r=t,a=Wm;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&"data"===n.slice(0,4)&&bg.test(t)){if("-"===t.charAt(4)){const e=t.slice(5).replace(yg,kg);r="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{const e=t.slice(4);if(!yg.test(e)){let n=e.replace(Og,xg);"-"!==n.charAt(0)&&(n="-"+n),t="data"+n}}a=ig}return new a(r,t)}function xg(e){return"-"+e.toLowerCase()}function kg(e){return e.charAt(1).toUpperCase()}const _g=Vm([ug,dg,fg,mg,gg],"html"),Sg=Vm([ug,dg,fg,mg,vg],"svg");function Eg(e){const t=[],n=String(e||"");let r=n.indexOf(","),a=0,o=!1;for(;!o;){-1===r&&(r=n.length,o=!0);const e=n.slice(a,r).trim();!e&&o||t.push(e),a=r+1,r=n.indexOf(",",a)}return t}function Tg(e,t){const n=t||{};return(""===e[e.length-1]?[...e,""]:e).join((n.padRight?" ":"")+","+(!1===n.padLeft?"":" ")).trim()}const Cg=/[#.]/g,Ag=new Set(["button","menu","reset","submit"]),Pg={}.hasOwnProperty;function Dg(e,t,n){const r=n&&function(e){const t={};let n=-1;for(;++n-1&&ee)return{line:t+1,column:e-(t>0?n[t-1]:0)+1,offset:e}},toOffset:function(e){const t=e&&e.line,r=e&&e.column;if("number"==typeof t&&"number"==typeof r&&!Number.isNaN(t)&&!Number.isNaN(r)&&t-1 in n){const e=(n[t-2]||0)+r-1||0;if(e>-1&&e=55296&&e<=57343}function dv(e){return 32!==e&&10!==e&&13!==e&&9!==e&&12!==e&&e>=1&&e<=31||e>=127&&e<=159}function uv(e){return e>=64976&&e<=65007||nv.has(e)}var pv,hv,fv,mv;(hv=pv=pv||(pv={})).controlCharacterInInputStream="control-character-in-input-stream",hv.noncharacterInInputStream="noncharacter-in-input-stream",hv.surrogateInInputStream="surrogate-in-input-stream",hv.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",hv.endTagWithAttributes="end-tag-with-attributes",hv.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",hv.unexpectedSolidusInTag="unexpected-solidus-in-tag",hv.unexpectedNullCharacter="unexpected-null-character",hv.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",hv.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",hv.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",hv.missingEndTagName="missing-end-tag-name",hv.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",hv.unknownNamedCharacterReference="unknown-named-character-reference",hv.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",hv.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",hv.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",hv.eofBeforeTagName="eof-before-tag-name",hv.eofInTag="eof-in-tag",hv.missingAttributeValue="missing-attribute-value",hv.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",hv.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",hv.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",hv.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",hv.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",hv.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",hv.missingDoctypePublicIdentifier="missing-doctype-public-identifier",hv.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",hv.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",hv.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",hv.cdataInHtmlContent="cdata-in-html-content",hv.incorrectlyOpenedComment="incorrectly-opened-comment",hv.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",hv.eofInDoctype="eof-in-doctype",hv.nestedComment="nested-comment",hv.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",hv.eofInComment="eof-in-comment",hv.incorrectlyClosedComment="incorrectly-closed-comment",hv.eofInCdata="eof-in-cdata",hv.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",hv.nullCharacterReference="null-character-reference",hv.surrogateCharacterReference="surrogate-character-reference",hv.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",hv.controlCharacterReference="control-character-reference",hv.noncharacterCharacterReference="noncharacter-character-reference",hv.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",hv.missingDoctypeName="missing-doctype-name",hv.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",hv.duplicateAttribute="duplicate-attribute",hv.nonConformingDoctype="non-conforming-doctype",hv.missingDoctype="missing-doctype",hv.misplacedDoctype="misplaced-doctype",hv.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",hv.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",hv.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",hv.openElementsLeftAfterEof="open-elements-left-after-eof",hv.abandonedHeadElementChild="abandoned-head-element-child",hv.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",hv.nestedNoscriptInHead="nested-noscript-in-head",hv.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text";class gv{constructor(e){this.handler=e,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=65536,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+Number(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(e){const{line:t,col:n,offset:r}=this;return{code:e,startLine:t,endLine:t,startCol:n,endCol:n,startOffset:r,endOffset:r}}_err(e){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(e)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(e){if(this.pos!==this.html.length-1){const t=this.html.charCodeAt(this.pos+1);if(function(e){return e>=56320&&e<=57343}(t))return this.pos++,this._addGap(),1024*(e-55296)+9216+t}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,av.EOF;return this._err(pv.surrogateInInputStream),e}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(e,t){this.html.length>0?this.html+=e:this.html=e,this.endOfChunkHit=!1,this.lastChunkWritten=t}insertHtmlAtCurrentPos(e){this.html=this.html.substring(0,this.pos+1)+e+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(e,t){if(this.pos+e.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(t)return this.html.startsWith(e,this.pos);for(let t=0;t=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,av.EOF;const n=this.html.charCodeAt(t);return n===av.CARRIAGE_RETURN?av.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,av.EOF;let e=this.html.charCodeAt(this.pos);return e===av.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,av.LINE_FEED):e===av.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,cv(e)&&(e=this._processSurrogate(e)),null===this.handler.onParseError||e>31&&e<127||e===av.LINE_FEED||e===av.CARRIAGE_RETURN||e>159&&e<64976||this._checkForProblematicCharacters(e),e)}_checkForProblematicCharacters(e){dv(e)?this._err(pv.controlCharacterInInputStream):uv(e)&&this._err(pv.noncharacterInInputStream)}retreat(e){for(this.pos-=e;this.pos=0;n--)if(e.attrs[n].name===t)return e.attrs[n].value;return null}(mv=fv=fv||(fv={}))[mv.CHARACTER=0]="CHARACTER",mv[mv.NULL_CHARACTER=1]="NULL_CHARACTER",mv[mv.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",mv[mv.START_TAG=3]="START_TAG",mv[mv.END_TAG=4]="END_TAG",mv[mv.COMMENT=5]="COMMENT",mv[mv.DOCTYPE=6]="DOCTYPE",mv[mv.EOF=7]="EOF",mv[mv.HIBERNATION=8]="HIBERNATION";const bv=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map((e=>e.charCodeAt(0)))),yv=new Uint16Array("Ȁaglq\tɭ\0\0p;䀦os;䀧t;䀾t;䀼uot;䀢".split("").map((e=>e.charCodeAt(0))));var Ov;const wv=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]),xv=null!==(Ov=String.fromCodePoint)&&void 0!==Ov?Ov:function(e){let t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+=String.fromCharCode(e),t};var kv,_v,Sv,Ev,Tv,Cv,Av,Pv,Dv,Rv,$v,Nv,Mv,Iv,Lv,jv,Bv,Qv;function Uv(e){return e>=kv.ZERO&&e<=kv.NINE}function Fv(e){return e===kv.EQUALS||function(e){return e>=kv.UPPER_A&&e<=kv.UPPER_Z||e>=kv.LOWER_A&&e<=kv.LOWER_Z||Uv(e)}(e)}(_v=kv||(kv={}))[_v.NUM=35]="NUM",_v[_v.SEMI=59]="SEMI",_v[_v.EQUALS=61]="EQUALS",_v[_v.ZERO=48]="ZERO",_v[_v.NINE=57]="NINE",_v[_v.LOWER_A=97]="LOWER_A",_v[_v.LOWER_F=102]="LOWER_F",_v[_v.LOWER_X=120]="LOWER_X",_v[_v.LOWER_Z=122]="LOWER_Z",_v[_v.UPPER_A=65]="UPPER_A",_v[_v.UPPER_F=70]="UPPER_F",_v[_v.UPPER_Z=90]="UPPER_Z",(Ev=Sv||(Sv={}))[Ev.VALUE_LENGTH=49152]="VALUE_LENGTH",Ev[Ev.BRANCH_LENGTH=16256]="BRANCH_LENGTH",Ev[Ev.JUMP_TABLE=127]="JUMP_TABLE",(Cv=Tv||(Tv={}))[Cv.EntityStart=0]="EntityStart",Cv[Cv.NumericStart=1]="NumericStart",Cv[Cv.NumericDecimal=2]="NumericDecimal",Cv[Cv.NumericHex=3]="NumericHex",Cv[Cv.NamedEntity=4]="NamedEntity",(Pv=Av||(Av={}))[Pv.Legacy=0]="Legacy",Pv[Pv.Strict=1]="Strict",Pv[Pv.Attribute=2]="Attribute";class zv{constructor(e,t,n){this.decodeTree=e,this.emitCodePoint=t,this.errors=n,this.state=Tv.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Av.Strict}startEntity(e){this.decodeMode=e,this.state=Tv.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(e,t){switch(this.state){case Tv.EntityStart:return e.charCodeAt(t)===kv.NUM?(this.state=Tv.NumericStart,this.consumed+=1,this.stateNumericStart(e,t+1)):(this.state=Tv.NamedEntity,this.stateNamedEntity(e,t));case Tv.NumericStart:return this.stateNumericStart(e,t);case Tv.NumericDecimal:return this.stateNumericDecimal(e,t);case Tv.NumericHex:return this.stateNumericHex(e,t);case Tv.NamedEntity:return this.stateNamedEntity(e,t)}}stateNumericStart(e,t){return t>=e.length?-1:(32|e.charCodeAt(t))===kv.LOWER_X?(this.state=Tv.NumericHex,this.consumed+=1,this.stateNumericHex(e,t+1)):(this.state=Tv.NumericDecimal,this.stateNumericDecimal(e,t))}addToNumericResult(e,t,n,r){if(t!==n){const a=n-t;this.result=this.result*Math.pow(r,a)+parseInt(e.substr(t,a),r),this.consumed+=a}}stateNumericHex(e,t){const n=t;for(;t=kv.UPPER_A&&r<=kv.UPPER_F||r>=kv.LOWER_A&&r<=kv.LOWER_F)))return this.addToNumericResult(e,n,t,16),this.emitNumericEntity(a,3);t+=1}var r;return this.addToNumericResult(e,n,t,16),-1}stateNumericDecimal(e,t){const n=t;for(;t=55296&&e<=57343||e>1114111?65533:null!==(t=wv.get(e))&&void 0!==t?t:e}(this.result),this.consumed),this.errors&&(e!==kv.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(e,t){const{decodeTree:n}=this;let r=n[this.treeIndex],a=(r&Sv.VALUE_LENGTH)>>14;for(;t>14,0!==a){if(o===kv.SEMI)return this.emitNamedEntityData(this.treeIndex,a,this.consumed+this.excess);this.decodeMode!==Av.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var e;const{result:t,decodeTree:n}=this,r=(n[t]&Sv.VALUE_LENGTH)>>14;return this.emitNamedEntityData(t,r,this.consumed),null===(e=this.errors)||void 0===e||e.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(e,t,n){const{decodeTree:r}=this;return this.emitCodePoint(1===t?r[e]&~Sv.VALUE_LENGTH:r[e+1],n),3===t&&this.emitCodePoint(r[e+2],n),n}end(){var e;switch(this.state){case Tv.NamedEntity:return 0===this.result||this.decodeMode===Av.Attribute&&this.result!==this.treeIndex?0:this.emitNotTerminatedNamedEntity();case Tv.NumericDecimal:return this.emitNumericEntity(0,2);case Tv.NumericHex:return this.emitNumericEntity(0,3);case Tv.NumericStart:return null===(e=this.errors)||void 0===e||e.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case Tv.EntityStart:return 0}}}function qv(e){let t="";const n=new zv(e,(e=>t+=xv(e)));return function(e,r){let a=0,o=0;for(;(o=e.indexOf("&",o))>=0;){t+=e.slice(a,o),n.startEntity(r);const i=n.write(e,o+1);if(i<0){a=o+n.end();break}a=o+i,o=0===i?a+1:a}const i=t+e.slice(a);return t="",i}}function Hv(e,t,n,r){const a=(t&Sv.BRANCH_LENGTH)>>7,o=t&Sv.JUMP_TABLE;if(0===a)return 0!==o&&r===o?n:-1;if(o){const t=r-o;return t<0||t>=a?-1:e[n+t]-1}let i=n,s=i+a-1;for(;i<=s;){const t=i+s>>>1,n=e[t];if(nr))return e[t+a];s=t-1}}return-1}qv(bv),qv(yv),(Rv=Dv=Dv||(Dv={})).HTML="http://www.w3.org/1999/xhtml",Rv.MATHML="http://www.w3.org/1998/Math/MathML",Rv.SVG="http://www.w3.org/2000/svg",Rv.XLINK="http://www.w3.org/1999/xlink",Rv.XML="http://www.w3.org/XML/1998/namespace",Rv.XMLNS="http://www.w3.org/2000/xmlns/",(Nv=$v=$v||($v={})).TYPE="type",Nv.ACTION="action",Nv.ENCODING="encoding",Nv.PROMPT="prompt",Nv.NAME="name",Nv.COLOR="color",Nv.FACE="face",Nv.SIZE="size",(Iv=Mv=Mv||(Mv={})).NO_QUIRKS="no-quirks",Iv.QUIRKS="quirks",Iv.LIMITED_QUIRKS="limited-quirks",(jv=Lv=Lv||(Lv={})).A="a",jv.ADDRESS="address",jv.ANNOTATION_XML="annotation-xml",jv.APPLET="applet",jv.AREA="area",jv.ARTICLE="article",jv.ASIDE="aside",jv.B="b",jv.BASE="base",jv.BASEFONT="basefont",jv.BGSOUND="bgsound",jv.BIG="big",jv.BLOCKQUOTE="blockquote",jv.BODY="body",jv.BR="br",jv.BUTTON="button",jv.CAPTION="caption",jv.CENTER="center",jv.CODE="code",jv.COL="col",jv.COLGROUP="colgroup",jv.DD="dd",jv.DESC="desc",jv.DETAILS="details",jv.DIALOG="dialog",jv.DIR="dir",jv.DIV="div",jv.DL="dl",jv.DT="dt",jv.EM="em",jv.EMBED="embed",jv.FIELDSET="fieldset",jv.FIGCAPTION="figcaption",jv.FIGURE="figure",jv.FONT="font",jv.FOOTER="footer",jv.FOREIGN_OBJECT="foreignObject",jv.FORM="form",jv.FRAME="frame",jv.FRAMESET="frameset",jv.H1="h1",jv.H2="h2",jv.H3="h3",jv.H4="h4",jv.H5="h5",jv.H6="h6",jv.HEAD="head",jv.HEADER="header",jv.HGROUP="hgroup",jv.HR="hr",jv.HTML="html",jv.I="i",jv.IMG="img",jv.IMAGE="image",jv.INPUT="input",jv.IFRAME="iframe",jv.KEYGEN="keygen",jv.LABEL="label",jv.LI="li",jv.LINK="link",jv.LISTING="listing",jv.MAIN="main",jv.MALIGNMARK="malignmark",jv.MARQUEE="marquee",jv.MATH="math",jv.MENU="menu",jv.META="meta",jv.MGLYPH="mglyph",jv.MI="mi",jv.MO="mo",jv.MN="mn",jv.MS="ms",jv.MTEXT="mtext",jv.NAV="nav",jv.NOBR="nobr",jv.NOFRAMES="noframes",jv.NOEMBED="noembed",jv.NOSCRIPT="noscript",jv.OBJECT="object",jv.OL="ol",jv.OPTGROUP="optgroup",jv.OPTION="option",jv.P="p",jv.PARAM="param",jv.PLAINTEXT="plaintext",jv.PRE="pre",jv.RB="rb",jv.RP="rp",jv.RT="rt",jv.RTC="rtc",jv.RUBY="ruby",jv.S="s",jv.SCRIPT="script",jv.SECTION="section",jv.SELECT="select",jv.SOURCE="source",jv.SMALL="small",jv.SPAN="span",jv.STRIKE="strike",jv.STRONG="strong",jv.STYLE="style",jv.SUB="sub",jv.SUMMARY="summary",jv.SUP="sup",jv.TABLE="table",jv.TBODY="tbody",jv.TEMPLATE="template",jv.TEXTAREA="textarea",jv.TFOOT="tfoot",jv.TD="td",jv.TH="th",jv.THEAD="thead",jv.TITLE="title",jv.TR="tr",jv.TRACK="track",jv.TT="tt",jv.U="u",jv.UL="ul",jv.SVG="svg",jv.VAR="var",jv.WBR="wbr",jv.XMP="xmp",(Qv=Bv=Bv||(Bv={}))[Qv.UNKNOWN=0]="UNKNOWN",Qv[Qv.A=1]="A",Qv[Qv.ADDRESS=2]="ADDRESS",Qv[Qv.ANNOTATION_XML=3]="ANNOTATION_XML",Qv[Qv.APPLET=4]="APPLET",Qv[Qv.AREA=5]="AREA",Qv[Qv.ARTICLE=6]="ARTICLE",Qv[Qv.ASIDE=7]="ASIDE",Qv[Qv.B=8]="B",Qv[Qv.BASE=9]="BASE",Qv[Qv.BASEFONT=10]="BASEFONT",Qv[Qv.BGSOUND=11]="BGSOUND",Qv[Qv.BIG=12]="BIG",Qv[Qv.BLOCKQUOTE=13]="BLOCKQUOTE",Qv[Qv.BODY=14]="BODY",Qv[Qv.BR=15]="BR",Qv[Qv.BUTTON=16]="BUTTON",Qv[Qv.CAPTION=17]="CAPTION",Qv[Qv.CENTER=18]="CENTER",Qv[Qv.CODE=19]="CODE",Qv[Qv.COL=20]="COL",Qv[Qv.COLGROUP=21]="COLGROUP",Qv[Qv.DD=22]="DD",Qv[Qv.DESC=23]="DESC",Qv[Qv.DETAILS=24]="DETAILS",Qv[Qv.DIALOG=25]="DIALOG",Qv[Qv.DIR=26]="DIR",Qv[Qv.DIV=27]="DIV",Qv[Qv.DL=28]="DL",Qv[Qv.DT=29]="DT",Qv[Qv.EM=30]="EM",Qv[Qv.EMBED=31]="EMBED",Qv[Qv.FIELDSET=32]="FIELDSET",Qv[Qv.FIGCAPTION=33]="FIGCAPTION",Qv[Qv.FIGURE=34]="FIGURE",Qv[Qv.FONT=35]="FONT",Qv[Qv.FOOTER=36]="FOOTER",Qv[Qv.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",Qv[Qv.FORM=38]="FORM",Qv[Qv.FRAME=39]="FRAME",Qv[Qv.FRAMESET=40]="FRAMESET",Qv[Qv.H1=41]="H1",Qv[Qv.H2=42]="H2",Qv[Qv.H3=43]="H3",Qv[Qv.H4=44]="H4",Qv[Qv.H5=45]="H5",Qv[Qv.H6=46]="H6",Qv[Qv.HEAD=47]="HEAD",Qv[Qv.HEADER=48]="HEADER",Qv[Qv.HGROUP=49]="HGROUP",Qv[Qv.HR=50]="HR",Qv[Qv.HTML=51]="HTML",Qv[Qv.I=52]="I",Qv[Qv.IMG=53]="IMG",Qv[Qv.IMAGE=54]="IMAGE",Qv[Qv.INPUT=55]="INPUT",Qv[Qv.IFRAME=56]="IFRAME",Qv[Qv.KEYGEN=57]="KEYGEN",Qv[Qv.LABEL=58]="LABEL",Qv[Qv.LI=59]="LI",Qv[Qv.LINK=60]="LINK",Qv[Qv.LISTING=61]="LISTING",Qv[Qv.MAIN=62]="MAIN",Qv[Qv.MALIGNMARK=63]="MALIGNMARK",Qv[Qv.MARQUEE=64]="MARQUEE",Qv[Qv.MATH=65]="MATH",Qv[Qv.MENU=66]="MENU",Qv[Qv.META=67]="META",Qv[Qv.MGLYPH=68]="MGLYPH",Qv[Qv.MI=69]="MI",Qv[Qv.MO=70]="MO",Qv[Qv.MN=71]="MN",Qv[Qv.MS=72]="MS",Qv[Qv.MTEXT=73]="MTEXT",Qv[Qv.NAV=74]="NAV",Qv[Qv.NOBR=75]="NOBR",Qv[Qv.NOFRAMES=76]="NOFRAMES",Qv[Qv.NOEMBED=77]="NOEMBED",Qv[Qv.NOSCRIPT=78]="NOSCRIPT",Qv[Qv.OBJECT=79]="OBJECT",Qv[Qv.OL=80]="OL",Qv[Qv.OPTGROUP=81]="OPTGROUP",Qv[Qv.OPTION=82]="OPTION",Qv[Qv.P=83]="P",Qv[Qv.PARAM=84]="PARAM",Qv[Qv.PLAINTEXT=85]="PLAINTEXT",Qv[Qv.PRE=86]="PRE",Qv[Qv.RB=87]="RB",Qv[Qv.RP=88]="RP",Qv[Qv.RT=89]="RT",Qv[Qv.RTC=90]="RTC",Qv[Qv.RUBY=91]="RUBY",Qv[Qv.S=92]="S",Qv[Qv.SCRIPT=93]="SCRIPT",Qv[Qv.SECTION=94]="SECTION",Qv[Qv.SELECT=95]="SELECT",Qv[Qv.SOURCE=96]="SOURCE",Qv[Qv.SMALL=97]="SMALL",Qv[Qv.SPAN=98]="SPAN",Qv[Qv.STRIKE=99]="STRIKE",Qv[Qv.STRONG=100]="STRONG",Qv[Qv.STYLE=101]="STYLE",Qv[Qv.SUB=102]="SUB",Qv[Qv.SUMMARY=103]="SUMMARY",Qv[Qv.SUP=104]="SUP",Qv[Qv.TABLE=105]="TABLE",Qv[Qv.TBODY=106]="TBODY",Qv[Qv.TEMPLATE=107]="TEMPLATE",Qv[Qv.TEXTAREA=108]="TEXTAREA",Qv[Qv.TFOOT=109]="TFOOT",Qv[Qv.TD=110]="TD",Qv[Qv.TH=111]="TH",Qv[Qv.THEAD=112]="THEAD",Qv[Qv.TITLE=113]="TITLE",Qv[Qv.TR=114]="TR",Qv[Qv.TRACK=115]="TRACK",Qv[Qv.TT=116]="TT",Qv[Qv.U=117]="U",Qv[Qv.UL=118]="UL",Qv[Qv.SVG=119]="SVG",Qv[Qv.VAR=120]="VAR",Qv[Qv.WBR=121]="WBR",Qv[Qv.XMP=122]="XMP";const Vv=new Map([[Lv.A,Bv.A],[Lv.ADDRESS,Bv.ADDRESS],[Lv.ANNOTATION_XML,Bv.ANNOTATION_XML],[Lv.APPLET,Bv.APPLET],[Lv.AREA,Bv.AREA],[Lv.ARTICLE,Bv.ARTICLE],[Lv.ASIDE,Bv.ASIDE],[Lv.B,Bv.B],[Lv.BASE,Bv.BASE],[Lv.BASEFONT,Bv.BASEFONT],[Lv.BGSOUND,Bv.BGSOUND],[Lv.BIG,Bv.BIG],[Lv.BLOCKQUOTE,Bv.BLOCKQUOTE],[Lv.BODY,Bv.BODY],[Lv.BR,Bv.BR],[Lv.BUTTON,Bv.BUTTON],[Lv.CAPTION,Bv.CAPTION],[Lv.CENTER,Bv.CENTER],[Lv.CODE,Bv.CODE],[Lv.COL,Bv.COL],[Lv.COLGROUP,Bv.COLGROUP],[Lv.DD,Bv.DD],[Lv.DESC,Bv.DESC],[Lv.DETAILS,Bv.DETAILS],[Lv.DIALOG,Bv.DIALOG],[Lv.DIR,Bv.DIR],[Lv.DIV,Bv.DIV],[Lv.DL,Bv.DL],[Lv.DT,Bv.DT],[Lv.EM,Bv.EM],[Lv.EMBED,Bv.EMBED],[Lv.FIELDSET,Bv.FIELDSET],[Lv.FIGCAPTION,Bv.FIGCAPTION],[Lv.FIGURE,Bv.FIGURE],[Lv.FONT,Bv.FONT],[Lv.FOOTER,Bv.FOOTER],[Lv.FOREIGN_OBJECT,Bv.FOREIGN_OBJECT],[Lv.FORM,Bv.FORM],[Lv.FRAME,Bv.FRAME],[Lv.FRAMESET,Bv.FRAMESET],[Lv.H1,Bv.H1],[Lv.H2,Bv.H2],[Lv.H3,Bv.H3],[Lv.H4,Bv.H4],[Lv.H5,Bv.H5],[Lv.H6,Bv.H6],[Lv.HEAD,Bv.HEAD],[Lv.HEADER,Bv.HEADER],[Lv.HGROUP,Bv.HGROUP],[Lv.HR,Bv.HR],[Lv.HTML,Bv.HTML],[Lv.I,Bv.I],[Lv.IMG,Bv.IMG],[Lv.IMAGE,Bv.IMAGE],[Lv.INPUT,Bv.INPUT],[Lv.IFRAME,Bv.IFRAME],[Lv.KEYGEN,Bv.KEYGEN],[Lv.LABEL,Bv.LABEL],[Lv.LI,Bv.LI],[Lv.LINK,Bv.LINK],[Lv.LISTING,Bv.LISTING],[Lv.MAIN,Bv.MAIN],[Lv.MALIGNMARK,Bv.MALIGNMARK],[Lv.MARQUEE,Bv.MARQUEE],[Lv.MATH,Bv.MATH],[Lv.MENU,Bv.MENU],[Lv.META,Bv.META],[Lv.MGLYPH,Bv.MGLYPH],[Lv.MI,Bv.MI],[Lv.MO,Bv.MO],[Lv.MN,Bv.MN],[Lv.MS,Bv.MS],[Lv.MTEXT,Bv.MTEXT],[Lv.NAV,Bv.NAV],[Lv.NOBR,Bv.NOBR],[Lv.NOFRAMES,Bv.NOFRAMES],[Lv.NOEMBED,Bv.NOEMBED],[Lv.NOSCRIPT,Bv.NOSCRIPT],[Lv.OBJECT,Bv.OBJECT],[Lv.OL,Bv.OL],[Lv.OPTGROUP,Bv.OPTGROUP],[Lv.OPTION,Bv.OPTION],[Lv.P,Bv.P],[Lv.PARAM,Bv.PARAM],[Lv.PLAINTEXT,Bv.PLAINTEXT],[Lv.PRE,Bv.PRE],[Lv.RB,Bv.RB],[Lv.RP,Bv.RP],[Lv.RT,Bv.RT],[Lv.RTC,Bv.RTC],[Lv.RUBY,Bv.RUBY],[Lv.S,Bv.S],[Lv.SCRIPT,Bv.SCRIPT],[Lv.SECTION,Bv.SECTION],[Lv.SELECT,Bv.SELECT],[Lv.SOURCE,Bv.SOURCE],[Lv.SMALL,Bv.SMALL],[Lv.SPAN,Bv.SPAN],[Lv.STRIKE,Bv.STRIKE],[Lv.STRONG,Bv.STRONG],[Lv.STYLE,Bv.STYLE],[Lv.SUB,Bv.SUB],[Lv.SUMMARY,Bv.SUMMARY],[Lv.SUP,Bv.SUP],[Lv.TABLE,Bv.TABLE],[Lv.TBODY,Bv.TBODY],[Lv.TEMPLATE,Bv.TEMPLATE],[Lv.TEXTAREA,Bv.TEXTAREA],[Lv.TFOOT,Bv.TFOOT],[Lv.TD,Bv.TD],[Lv.TH,Bv.TH],[Lv.THEAD,Bv.THEAD],[Lv.TITLE,Bv.TITLE],[Lv.TR,Bv.TR],[Lv.TRACK,Bv.TRACK],[Lv.TT,Bv.TT],[Lv.U,Bv.U],[Lv.UL,Bv.UL],[Lv.SVG,Bv.SVG],[Lv.VAR,Bv.VAR],[Lv.WBR,Bv.WBR],[Lv.XMP,Bv.XMP]]);function Zv(e){var t;return null!==(t=Vv.get(e))&&void 0!==t?t:Bv.UNKNOWN}const Wv=Bv,Xv={[Dv.HTML]:new Set([Wv.ADDRESS,Wv.APPLET,Wv.AREA,Wv.ARTICLE,Wv.ASIDE,Wv.BASE,Wv.BASEFONT,Wv.BGSOUND,Wv.BLOCKQUOTE,Wv.BODY,Wv.BR,Wv.BUTTON,Wv.CAPTION,Wv.CENTER,Wv.COL,Wv.COLGROUP,Wv.DD,Wv.DETAILS,Wv.DIR,Wv.DIV,Wv.DL,Wv.DT,Wv.EMBED,Wv.FIELDSET,Wv.FIGCAPTION,Wv.FIGURE,Wv.FOOTER,Wv.FORM,Wv.FRAME,Wv.FRAMESET,Wv.H1,Wv.H2,Wv.H3,Wv.H4,Wv.H5,Wv.H6,Wv.HEAD,Wv.HEADER,Wv.HGROUP,Wv.HR,Wv.HTML,Wv.IFRAME,Wv.IMG,Wv.INPUT,Wv.LI,Wv.LINK,Wv.LISTING,Wv.MAIN,Wv.MARQUEE,Wv.MENU,Wv.META,Wv.NAV,Wv.NOEMBED,Wv.NOFRAMES,Wv.NOSCRIPT,Wv.OBJECT,Wv.OL,Wv.P,Wv.PARAM,Wv.PLAINTEXT,Wv.PRE,Wv.SCRIPT,Wv.SECTION,Wv.SELECT,Wv.SOURCE,Wv.STYLE,Wv.SUMMARY,Wv.TABLE,Wv.TBODY,Wv.TD,Wv.TEMPLATE,Wv.TEXTAREA,Wv.TFOOT,Wv.TH,Wv.THEAD,Wv.TITLE,Wv.TR,Wv.TRACK,Wv.UL,Wv.WBR,Wv.XMP]),[Dv.MATHML]:new Set([Wv.MI,Wv.MO,Wv.MN,Wv.MS,Wv.MTEXT,Wv.ANNOTATION_XML]),[Dv.SVG]:new Set([Wv.TITLE,Wv.FOREIGN_OBJECT,Wv.DESC]),[Dv.XLINK]:new Set,[Dv.XML]:new Set,[Dv.XMLNS]:new Set};function Yv(e){return e===Wv.H1||e===Wv.H2||e===Wv.H3||e===Wv.H4||e===Wv.H5||e===Wv.H6}Lv.STYLE,Lv.SCRIPT,Lv.XMP,Lv.IFRAME,Lv.NOEMBED,Lv.NOFRAMES,Lv.PLAINTEXT;const Gv=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);var Kv,Jv;(Jv=Kv||(Kv={}))[Jv.DATA=0]="DATA",Jv[Jv.RCDATA=1]="RCDATA",Jv[Jv.RAWTEXT=2]="RAWTEXT",Jv[Jv.SCRIPT_DATA=3]="SCRIPT_DATA",Jv[Jv.PLAINTEXT=4]="PLAINTEXT",Jv[Jv.TAG_OPEN=5]="TAG_OPEN",Jv[Jv.END_TAG_OPEN=6]="END_TAG_OPEN",Jv[Jv.TAG_NAME=7]="TAG_NAME",Jv[Jv.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",Jv[Jv.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",Jv[Jv.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",Jv[Jv.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",Jv[Jv.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",Jv[Jv.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",Jv[Jv.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",Jv[Jv.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",Jv[Jv.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",Jv[Jv.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",Jv[Jv.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",Jv[Jv.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",Jv[Jv.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",Jv[Jv.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",Jv[Jv.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",Jv[Jv.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",Jv[Jv.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",Jv[Jv.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",Jv[Jv.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",Jv[Jv.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",Jv[Jv.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",Jv[Jv.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",Jv[Jv.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",Jv[Jv.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",Jv[Jv.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",Jv[Jv.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",Jv[Jv.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",Jv[Jv.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",Jv[Jv.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",Jv[Jv.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",Jv[Jv.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",Jv[Jv.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",Jv[Jv.BOGUS_COMMENT=40]="BOGUS_COMMENT",Jv[Jv.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",Jv[Jv.COMMENT_START=42]="COMMENT_START",Jv[Jv.COMMENT_START_DASH=43]="COMMENT_START_DASH",Jv[Jv.COMMENT=44]="COMMENT",Jv[Jv.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",Jv[Jv.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",Jv[Jv.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",Jv[Jv.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",Jv[Jv.COMMENT_END_DASH=49]="COMMENT_END_DASH",Jv[Jv.COMMENT_END=50]="COMMENT_END",Jv[Jv.COMMENT_END_BANG=51]="COMMENT_END_BANG",Jv[Jv.DOCTYPE=52]="DOCTYPE",Jv[Jv.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",Jv[Jv.DOCTYPE_NAME=54]="DOCTYPE_NAME",Jv[Jv.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",Jv[Jv.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",Jv[Jv.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",Jv[Jv.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",Jv[Jv.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",Jv[Jv.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",Jv[Jv.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",Jv[Jv.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",Jv[Jv.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",Jv[Jv.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",Jv[Jv.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",Jv[Jv.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",Jv[Jv.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",Jv[Jv.CDATA_SECTION=68]="CDATA_SECTION",Jv[Jv.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",Jv[Jv.CDATA_SECTION_END=70]="CDATA_SECTION_END",Jv[Jv.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",Jv[Jv.NAMED_CHARACTER_REFERENCE=72]="NAMED_CHARACTER_REFERENCE",Jv[Jv.AMBIGUOUS_AMPERSAND=73]="AMBIGUOUS_AMPERSAND",Jv[Jv.NUMERIC_CHARACTER_REFERENCE=74]="NUMERIC_CHARACTER_REFERENCE",Jv[Jv.HEXADEMICAL_CHARACTER_REFERENCE_START=75]="HEXADEMICAL_CHARACTER_REFERENCE_START",Jv[Jv.HEXADEMICAL_CHARACTER_REFERENCE=76]="HEXADEMICAL_CHARACTER_REFERENCE",Jv[Jv.DECIMAL_CHARACTER_REFERENCE=77]="DECIMAL_CHARACTER_REFERENCE",Jv[Jv.NUMERIC_CHARACTER_REFERENCE_END=78]="NUMERIC_CHARACTER_REFERENCE_END";const eb={DATA:Kv.DATA,RCDATA:Kv.RCDATA,RAWTEXT:Kv.RAWTEXT,SCRIPT_DATA:Kv.SCRIPT_DATA,PLAINTEXT:Kv.PLAINTEXT,CDATA_SECTION:Kv.CDATA_SECTION};function tb(e){return e>=av.DIGIT_0&&e<=av.DIGIT_9}function nb(e){return e>=av.LATIN_CAPITAL_A&&e<=av.LATIN_CAPITAL_Z}function rb(e){return function(e){return e>=av.LATIN_SMALL_A&&e<=av.LATIN_SMALL_Z}(e)||nb(e)}function ab(e){return rb(e)||tb(e)}function ob(e){return e>=av.LATIN_CAPITAL_A&&e<=av.LATIN_CAPITAL_F}function ib(e){return e>=av.LATIN_SMALL_A&&e<=av.LATIN_SMALL_F}function sb(e){return e+32}function lb(e){return e===av.SPACE||e===av.LINE_FEED||e===av.TABULATION||e===av.FORM_FEED}function cb(e){return lb(e)||e===av.SOLIDUS||e===av.GREATER_THAN_SIGN}class db{constructor(e,t){this.options=e,this.handler=t,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=Kv.DATA,this.returnState=Kv.DATA,this.charRefCode=-1,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new gv(t),this.currentLocation=this.getCurrentLocation(-1)}_err(e){var t,n;null===(n=(t=this.handler).onParseError)||void 0===n||n.call(t,this.preprocessor.getError(e))}getCurrentLocation(e){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-e,startOffset:this.preprocessor.offset-e,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const e=this._consume();this._ensureHibernation()||this._callState(e)}this.inLoop=!1}}pause(){this.paused=!0}resume(e){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,this.inLoop||(this._runParsingLoop(),this.paused||null==e||e())}write(e,t,n){this.active=!0,this.preprocessor.write(e,t),this._runParsingLoop(),this.paused||null==n||n()}insertHtmlAtCurrentPos(e){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(e),this._runParsingLoop()}_ensureHibernation(){return!!this.preprocessor.endOfChunkHit&&(this._unconsume(this.consumedAfterSnapshot),this.active=!1,!0)}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_unconsume(e){this.consumedAfterSnapshot-=e,this.preprocessor.retreat(e)}_reconsumeInState(e,t){this.state=e,this._callState(t)}_advanceBy(e){this.consumedAfterSnapshot+=e;for(let t=0;t0&&this._err(pv.endTagWithAttributes),e.selfClosing&&this._err(pv.endTagWithTrailingSolidus),this.handler.onEndTag(e)),this.preprocessor.dropParsedChunk()}emitCurrentComment(e){this.prepareToken(e),this.handler.onComment(e),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(e){this.prepareToken(e),this.handler.onDoctype(e),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(e){if(this.currentCharacterToken){switch(e&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=e.startLine,this.currentCharacterToken.location.endCol=e.startCol,this.currentCharacterToken.location.endOffset=e.startOffset),this.currentCharacterToken.type){case fv.CHARACTER:this.handler.onCharacter(this.currentCharacterToken);break;case fv.NULL_CHARACTER:this.handler.onNullCharacter(this.currentCharacterToken);break;case fv.WHITESPACE_CHARACTER:this.handler.onWhitespaceCharacter(this.currentCharacterToken)}this.currentCharacterToken=null}}_emitEOFToken(){const e=this.getCurrentLocation(0);e&&(e.endLine=e.startLine,e.endCol=e.startCol,e.endOffset=e.startOffset),this._emitCurrentCharacterToken(e),this.handler.onEof({type:fv.EOF,location:e}),this.active=!1}_appendCharToCurrentCharacterToken(e,t){if(this.currentCharacterToken){if(this.currentCharacterToken.type===e)return void(this.currentCharacterToken.chars+=t);this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk()}this._createCharacterToken(e,t)}_emitCodePoint(e){const t=lb(e)?fv.WHITESPACE_CHARACTER:e===av.NULL?fv.NULL_CHARACTER:fv.CHARACTER;this._appendCharToCurrentCharacterToken(t,String.fromCodePoint(e))}_emitChars(e){this._appendCharToCurrentCharacterToken(fv.CHARACTER,e)}_matchNamedCharacterReference(e){let t=null,n=0,r=!1;for(let o=0,i=bv[0];o>=0&&(o=Hv(bv,i,o+1,e),!(o<0));e=this._consume()){n+=1,i=bv[o];const s=i&Sv.VALUE_LENGTH;if(s){const i=(s>>14)-1;if(e!==av.SEMICOLON&&this._isCharacterReferenceInAttribute()&&((a=this.preprocessor.peek(1))===av.EQUALS_SIGN||ab(a))?(t=[av.AMPERSAND],o+=i):(t=0===i?[bv[o]&~Sv.VALUE_LENGTH]:1===i?[bv[++o]]:[bv[++o],bv[++o]],n=0,r=e!==av.SEMICOLON),0===i){this._consume();break}}}var a;return this._unconsume(n),r&&!this.preprocessor.endOfChunkHit&&this._err(pv.missingSemicolonAfterCharacterReference),this._unconsume(1),t}_isCharacterReferenceInAttribute(){return this.returnState===Kv.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===Kv.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===Kv.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(e){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(e):this._emitCodePoint(e)}_callState(e){switch(this.state){case Kv.DATA:this._stateData(e);break;case Kv.RCDATA:this._stateRcdata(e);break;case Kv.RAWTEXT:this._stateRawtext(e);break;case Kv.SCRIPT_DATA:this._stateScriptData(e);break;case Kv.PLAINTEXT:this._statePlaintext(e);break;case Kv.TAG_OPEN:this._stateTagOpen(e);break;case Kv.END_TAG_OPEN:this._stateEndTagOpen(e);break;case Kv.TAG_NAME:this._stateTagName(e);break;case Kv.RCDATA_LESS_THAN_SIGN:this._stateRcdataLessThanSign(e);break;case Kv.RCDATA_END_TAG_OPEN:this._stateRcdataEndTagOpen(e);break;case Kv.RCDATA_END_TAG_NAME:this._stateRcdataEndTagName(e);break;case Kv.RAWTEXT_LESS_THAN_SIGN:this._stateRawtextLessThanSign(e);break;case Kv.RAWTEXT_END_TAG_OPEN:this._stateRawtextEndTagOpen(e);break;case Kv.RAWTEXT_END_TAG_NAME:this._stateRawtextEndTagName(e);break;case Kv.SCRIPT_DATA_LESS_THAN_SIGN:this._stateScriptDataLessThanSign(e);break;case Kv.SCRIPT_DATA_END_TAG_OPEN:this._stateScriptDataEndTagOpen(e);break;case Kv.SCRIPT_DATA_END_TAG_NAME:this._stateScriptDataEndTagName(e);break;case Kv.SCRIPT_DATA_ESCAPE_START:this._stateScriptDataEscapeStart(e);break;case Kv.SCRIPT_DATA_ESCAPE_START_DASH:this._stateScriptDataEscapeStartDash(e);break;case Kv.SCRIPT_DATA_ESCAPED:this._stateScriptDataEscaped(e);break;case Kv.SCRIPT_DATA_ESCAPED_DASH:this._stateScriptDataEscapedDash(e);break;case Kv.SCRIPT_DATA_ESCAPED_DASH_DASH:this._stateScriptDataEscapedDashDash(e);break;case Kv.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataEscapedLessThanSign(e);break;case Kv.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:this._stateScriptDataEscapedEndTagOpen(e);break;case Kv.SCRIPT_DATA_ESCAPED_END_TAG_NAME:this._stateScriptDataEscapedEndTagName(e);break;case Kv.SCRIPT_DATA_DOUBLE_ESCAPE_START:this._stateScriptDataDoubleEscapeStart(e);break;case Kv.SCRIPT_DATA_DOUBLE_ESCAPED:this._stateScriptDataDoubleEscaped(e);break;case Kv.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:this._stateScriptDataDoubleEscapedDash(e);break;case Kv.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:this._stateScriptDataDoubleEscapedDashDash(e);break;case Kv.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:this._stateScriptDataDoubleEscapedLessThanSign(e);break;case Kv.SCRIPT_DATA_DOUBLE_ESCAPE_END:this._stateScriptDataDoubleEscapeEnd(e);break;case Kv.BEFORE_ATTRIBUTE_NAME:this._stateBeforeAttributeName(e);break;case Kv.ATTRIBUTE_NAME:this._stateAttributeName(e);break;case Kv.AFTER_ATTRIBUTE_NAME:this._stateAfterAttributeName(e);break;case Kv.BEFORE_ATTRIBUTE_VALUE:this._stateBeforeAttributeValue(e);break;case Kv.ATTRIBUTE_VALUE_DOUBLE_QUOTED:this._stateAttributeValueDoubleQuoted(e);break;case Kv.ATTRIBUTE_VALUE_SINGLE_QUOTED:this._stateAttributeValueSingleQuoted(e);break;case Kv.ATTRIBUTE_VALUE_UNQUOTED:this._stateAttributeValueUnquoted(e);break;case Kv.AFTER_ATTRIBUTE_VALUE_QUOTED:this._stateAfterAttributeValueQuoted(e);break;case Kv.SELF_CLOSING_START_TAG:this._stateSelfClosingStartTag(e);break;case Kv.BOGUS_COMMENT:this._stateBogusComment(e);break;case Kv.MARKUP_DECLARATION_OPEN:this._stateMarkupDeclarationOpen(e);break;case Kv.COMMENT_START:this._stateCommentStart(e);break;case Kv.COMMENT_START_DASH:this._stateCommentStartDash(e);break;case Kv.COMMENT:this._stateComment(e);break;case Kv.COMMENT_LESS_THAN_SIGN:this._stateCommentLessThanSign(e);break;case Kv.COMMENT_LESS_THAN_SIGN_BANG:this._stateCommentLessThanSignBang(e);break;case Kv.COMMENT_LESS_THAN_SIGN_BANG_DASH:this._stateCommentLessThanSignBangDash(e);break;case Kv.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:this._stateCommentLessThanSignBangDashDash(e);break;case Kv.COMMENT_END_DASH:this._stateCommentEndDash(e);break;case Kv.COMMENT_END:this._stateCommentEnd(e);break;case Kv.COMMENT_END_BANG:this._stateCommentEndBang(e);break;case Kv.DOCTYPE:this._stateDoctype(e);break;case Kv.BEFORE_DOCTYPE_NAME:this._stateBeforeDoctypeName(e);break;case Kv.DOCTYPE_NAME:this._stateDoctypeName(e);break;case Kv.AFTER_DOCTYPE_NAME:this._stateAfterDoctypeName(e);break;case Kv.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._stateAfterDoctypePublicKeyword(e);break;case Kv.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:this._stateBeforeDoctypePublicIdentifier(e);break;case Kv.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypePublicIdentifierDoubleQuoted(e);break;case Kv.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypePublicIdentifierSingleQuoted(e);break;case Kv.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:this._stateAfterDoctypePublicIdentifier(e);break;case Kv.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:this._stateBetweenDoctypePublicAndSystemIdentifiers(e);break;case Kv.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._stateAfterDoctypeSystemKeyword(e);break;case Kv.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:this._stateBeforeDoctypeSystemIdentifier(e);break;case Kv.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:this._stateDoctypeSystemIdentifierDoubleQuoted(e);break;case Kv.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:this._stateDoctypeSystemIdentifierSingleQuoted(e);break;case Kv.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:this._stateAfterDoctypeSystemIdentifier(e);break;case Kv.BOGUS_DOCTYPE:this._stateBogusDoctype(e);break;case Kv.CDATA_SECTION:this._stateCdataSection(e);break;case Kv.CDATA_SECTION_BRACKET:this._stateCdataSectionBracket(e);break;case Kv.CDATA_SECTION_END:this._stateCdataSectionEnd(e);break;case Kv.CHARACTER_REFERENCE:this._stateCharacterReference(e);break;case Kv.NAMED_CHARACTER_REFERENCE:this._stateNamedCharacterReference(e);break;case Kv.AMBIGUOUS_AMPERSAND:this._stateAmbiguousAmpersand(e);break;case Kv.NUMERIC_CHARACTER_REFERENCE:this._stateNumericCharacterReference(e);break;case Kv.HEXADEMICAL_CHARACTER_REFERENCE_START:this._stateHexademicalCharacterReferenceStart(e);break;case Kv.HEXADEMICAL_CHARACTER_REFERENCE:this._stateHexademicalCharacterReference(e);break;case Kv.DECIMAL_CHARACTER_REFERENCE:this._stateDecimalCharacterReference(e);break;case Kv.NUMERIC_CHARACTER_REFERENCE_END:this._stateNumericCharacterReferenceEnd(e);break;default:throw new Error("Unknown state")}}_stateData(e){switch(e){case av.LESS_THAN_SIGN:this.state=Kv.TAG_OPEN;break;case av.AMPERSAND:this.returnState=Kv.DATA,this.state=Kv.CHARACTER_REFERENCE;break;case av.NULL:this._err(pv.unexpectedNullCharacter),this._emitCodePoint(e);break;case av.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRcdata(e){switch(e){case av.AMPERSAND:this.returnState=Kv.RCDATA,this.state=Kv.CHARACTER_REFERENCE;break;case av.LESS_THAN_SIGN:this.state=Kv.RCDATA_LESS_THAN_SIGN;break;case av.NULL:this._err(pv.unexpectedNullCharacter),this._emitChars(rv);break;case av.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateRawtext(e){switch(e){case av.LESS_THAN_SIGN:this.state=Kv.RAWTEXT_LESS_THAN_SIGN;break;case av.NULL:this._err(pv.unexpectedNullCharacter),this._emitChars(rv);break;case av.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptData(e){switch(e){case av.LESS_THAN_SIGN:this.state=Kv.SCRIPT_DATA_LESS_THAN_SIGN;break;case av.NULL:this._err(pv.unexpectedNullCharacter),this._emitChars(rv);break;case av.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_statePlaintext(e){switch(e){case av.NULL:this._err(pv.unexpectedNullCharacter),this._emitChars(rv);break;case av.EOF:this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateTagOpen(e){if(rb(e))this._createStartTagToken(),this.state=Kv.TAG_NAME,this._stateTagName(e);else switch(e){case av.EXCLAMATION_MARK:this.state=Kv.MARKUP_DECLARATION_OPEN;break;case av.SOLIDUS:this.state=Kv.END_TAG_OPEN;break;case av.QUESTION_MARK:this._err(pv.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=Kv.BOGUS_COMMENT,this._stateBogusComment(e);break;case av.EOF:this._err(pv.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break;default:this._err(pv.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=Kv.DATA,this._stateData(e)}}_stateEndTagOpen(e){if(rb(e))this._createEndTagToken(),this.state=Kv.TAG_NAME,this._stateTagName(e);else switch(e){case av.GREATER_THAN_SIGN:this._err(pv.missingEndTagName),this.state=Kv.DATA;break;case av.EOF:this._err(pv.eofBeforeTagName),this._emitChars(""),this._emitEOFToken();break;default:this._err(pv.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=Kv.BOGUS_COMMENT,this._stateBogusComment(e)}}_stateTagName(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:this.state=Kv.BEFORE_ATTRIBUTE_NAME;break;case av.SOLIDUS:this.state=Kv.SELF_CLOSING_START_TAG;break;case av.GREATER_THAN_SIGN:this.state=Kv.DATA,this.emitCurrentTagToken();break;case av.NULL:this._err(pv.unexpectedNullCharacter),t.tagName+=rv;break;case av.EOF:this._err(pv.eofInTag),this._emitEOFToken();break;default:t.tagName+=String.fromCodePoint(nb(e)?sb(e):e)}}_stateRcdataLessThanSign(e){e===av.SOLIDUS?this.state=Kv.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=Kv.RCDATA,this._stateRcdata(e))}_stateRcdataEndTagOpen(e){rb(e)?(this.state=Kv.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(e)):(this._emitChars(""),this.state=Kv.RCDATA,this._stateRcdata(e))}handleSpecialEndTag(e){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();switch(this._createEndTagToken(),this.currentToken.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=Kv.BEFORE_ATTRIBUTE_NAME,!1;case av.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=Kv.SELF_CLOSING_START_TAG,!1;case av.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=Kv.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(""),this.state=Kv.RCDATA,this._stateRcdata(e))}_stateRawtextLessThanSign(e){e===av.SOLIDUS?this.state=Kv.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=Kv.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagOpen(e){rb(e)?(this.state=Kv.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(e)):(this._emitChars(""),this.state=Kv.RAWTEXT,this._stateRawtext(e))}_stateRawtextEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(""),this.state=Kv.RAWTEXT,this._stateRawtext(e))}_stateScriptDataLessThanSign(e){switch(e){case av.SOLIDUS:this.state=Kv.SCRIPT_DATA_END_TAG_OPEN;break;case av.EXCLAMATION_MARK:this.state=Kv.SCRIPT_DATA_ESCAPE_START,this._emitChars("");break;case av.NULL:this._err(pv.unexpectedNullCharacter),this.state=Kv.SCRIPT_DATA_ESCAPED,this._emitChars(rv);break;case av.EOF:this._err(pv.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Kv.SCRIPT_DATA_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataEscapedLessThanSign(e){e===av.SOLIDUS?this.state=Kv.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:rb(e)?(this._emitChars("<"),this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(e)):(this._emitChars("<"),this.state=Kv.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagOpen(e){rb(e)?(this.state=Kv.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(e)):(this._emitChars(""),this.state=Kv.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataEscapedEndTagName(e){this.handleSpecialEndTag(e)&&(this._emitChars(""),this.state=Kv.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscapeStart(e){if(this.preprocessor.startsWith(lv,!1)&&cb(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=Kv.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(e))}_stateScriptDataDoubleEscaped(e){switch(e){case av.HYPHEN_MINUS:this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break;case av.LESS_THAN_SIGN:this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case av.NULL:this._err(pv.unexpectedNullCharacter),this._emitChars(rv);break;case av.EOF:this._err(pv.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDash(e){switch(e){case av.HYPHEN_MINUS:this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break;case av.LESS_THAN_SIGN:this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case av.NULL:this._err(pv.unexpectedNullCharacter),this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(rv);break;case av.EOF:this._err(pv.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedDashDash(e){switch(e){case av.HYPHEN_MINUS:this._emitChars("-");break;case av.LESS_THAN_SIGN:this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break;case av.GREATER_THAN_SIGN:this.state=Kv.SCRIPT_DATA,this._emitChars(">");break;case av.NULL:this._err(pv.unexpectedNullCharacter),this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(rv);break;case av.EOF:this._err(pv.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break;default:this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(e)}}_stateScriptDataDoubleEscapedLessThanSign(e){e===av.SOLIDUS?(this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateScriptDataDoubleEscapeEnd(e){if(this.preprocessor.startsWith(lv,!1)&&cb(this.preprocessor.peek(6))){this._emitCodePoint(e);for(let e=0;e<6;e++)this._emitCodePoint(this._consume());this.state=Kv.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=Kv.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(e))}_stateBeforeAttributeName(e){switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.SOLIDUS:case av.GREATER_THAN_SIGN:case av.EOF:this.state=Kv.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case av.EQUALS_SIGN:this._err(pv.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=Kv.ATTRIBUTE_NAME;break;default:this._createAttr(""),this.state=Kv.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateAttributeName(e){switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:case av.SOLIDUS:case av.GREATER_THAN_SIGN:case av.EOF:this._leaveAttrName(),this.state=Kv.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(e);break;case av.EQUALS_SIGN:this._leaveAttrName(),this.state=Kv.BEFORE_ATTRIBUTE_VALUE;break;case av.QUOTATION_MARK:case av.APOSTROPHE:case av.LESS_THAN_SIGN:this._err(pv.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(e);break;case av.NULL:this._err(pv.unexpectedNullCharacter),this.currentAttr.name+=rv;break;default:this.currentAttr.name+=String.fromCodePoint(nb(e)?sb(e):e)}}_stateAfterAttributeName(e){switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.SOLIDUS:this.state=Kv.SELF_CLOSING_START_TAG;break;case av.EQUALS_SIGN:this.state=Kv.BEFORE_ATTRIBUTE_VALUE;break;case av.GREATER_THAN_SIGN:this.state=Kv.DATA,this.emitCurrentTagToken();break;case av.EOF:this._err(pv.eofInTag),this._emitEOFToken();break;default:this._createAttr(""),this.state=Kv.ATTRIBUTE_NAME,this._stateAttributeName(e)}}_stateBeforeAttributeValue(e){switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.QUOTATION_MARK:this.state=Kv.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break;case av.APOSTROPHE:this.state=Kv.ATTRIBUTE_VALUE_SINGLE_QUOTED;break;case av.GREATER_THAN_SIGN:this._err(pv.missingAttributeValue),this.state=Kv.DATA,this.emitCurrentTagToken();break;default:this.state=Kv.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(e)}}_stateAttributeValueDoubleQuoted(e){switch(e){case av.QUOTATION_MARK:this.state=Kv.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case av.AMPERSAND:this.returnState=Kv.ATTRIBUTE_VALUE_DOUBLE_QUOTED,this.state=Kv.CHARACTER_REFERENCE;break;case av.NULL:this._err(pv.unexpectedNullCharacter),this.currentAttr.value+=rv;break;case av.EOF:this._err(pv.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueSingleQuoted(e){switch(e){case av.APOSTROPHE:this.state=Kv.AFTER_ATTRIBUTE_VALUE_QUOTED;break;case av.AMPERSAND:this.returnState=Kv.ATTRIBUTE_VALUE_SINGLE_QUOTED,this.state=Kv.CHARACTER_REFERENCE;break;case av.NULL:this._err(pv.unexpectedNullCharacter),this.currentAttr.value+=rv;break;case av.EOF:this._err(pv.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAttributeValueUnquoted(e){switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:this._leaveAttrValue(),this.state=Kv.BEFORE_ATTRIBUTE_NAME;break;case av.AMPERSAND:this.returnState=Kv.ATTRIBUTE_VALUE_UNQUOTED,this.state=Kv.CHARACTER_REFERENCE;break;case av.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Kv.DATA,this.emitCurrentTagToken();break;case av.NULL:this._err(pv.unexpectedNullCharacter),this.currentAttr.value+=rv;break;case av.QUOTATION_MARK:case av.APOSTROPHE:case av.LESS_THAN_SIGN:case av.EQUALS_SIGN:case av.GRAVE_ACCENT:this._err(pv.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(e);break;case av.EOF:this._err(pv.eofInTag),this._emitEOFToken();break;default:this.currentAttr.value+=String.fromCodePoint(e)}}_stateAfterAttributeValueQuoted(e){switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:this._leaveAttrValue(),this.state=Kv.BEFORE_ATTRIBUTE_NAME;break;case av.SOLIDUS:this._leaveAttrValue(),this.state=Kv.SELF_CLOSING_START_TAG;break;case av.GREATER_THAN_SIGN:this._leaveAttrValue(),this.state=Kv.DATA,this.emitCurrentTagToken();break;case av.EOF:this._err(pv.eofInTag),this._emitEOFToken();break;default:this._err(pv.missingWhitespaceBetweenAttributes),this.state=Kv.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateSelfClosingStartTag(e){switch(e){case av.GREATER_THAN_SIGN:this.currentToken.selfClosing=!0,this.state=Kv.DATA,this.emitCurrentTagToken();break;case av.EOF:this._err(pv.eofInTag),this._emitEOFToken();break;default:this._err(pv.unexpectedSolidusInTag),this.state=Kv.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(e)}}_stateBogusComment(e){const t=this.currentToken;switch(e){case av.GREATER_THAN_SIGN:this.state=Kv.DATA,this.emitCurrentComment(t);break;case av.EOF:this.emitCurrentComment(t),this._emitEOFToken();break;case av.NULL:this._err(pv.unexpectedNullCharacter),t.data+=rv;break;default:t.data+=String.fromCodePoint(e)}}_stateMarkupDeclarationOpen(e){this._consumeSequenceIfMatch("--",!0)?(this._createCommentToken(3),this.state=Kv.COMMENT_START):this._consumeSequenceIfMatch(sv,!1)?(this.currentLocation=this.getCurrentLocation(8),this.state=Kv.DOCTYPE):this._consumeSequenceIfMatch(iv,!0)?this.inForeignNode?this.state=Kv.CDATA_SECTION:(this._err(pv.cdataInHtmlContent),this._createCommentToken(8),this.currentToken.data="[CDATA[",this.state=Kv.BOGUS_COMMENT):this._ensureHibernation()||(this._err(pv.incorrectlyOpenedComment),this._createCommentToken(2),this.state=Kv.BOGUS_COMMENT,this._stateBogusComment(e))}_stateCommentStart(e){switch(e){case av.HYPHEN_MINUS:this.state=Kv.COMMENT_START_DASH;break;case av.GREATER_THAN_SIGN:{this._err(pv.abruptClosingOfEmptyComment),this.state=Kv.DATA;const e=this.currentToken;this.emitCurrentComment(e);break}default:this.state=Kv.COMMENT,this._stateComment(e)}}_stateCommentStartDash(e){const t=this.currentToken;switch(e){case av.HYPHEN_MINUS:this.state=Kv.COMMENT_END;break;case av.GREATER_THAN_SIGN:this._err(pv.abruptClosingOfEmptyComment),this.state=Kv.DATA,this.emitCurrentComment(t);break;case av.EOF:this._err(pv.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Kv.COMMENT,this._stateComment(e)}}_stateComment(e){const t=this.currentToken;switch(e){case av.HYPHEN_MINUS:this.state=Kv.COMMENT_END_DASH;break;case av.LESS_THAN_SIGN:t.data+="<",this.state=Kv.COMMENT_LESS_THAN_SIGN;break;case av.NULL:this._err(pv.unexpectedNullCharacter),t.data+=rv;break;case av.EOF:this._err(pv.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+=String.fromCodePoint(e)}}_stateCommentLessThanSign(e){const t=this.currentToken;switch(e){case av.EXCLAMATION_MARK:t.data+="!",this.state=Kv.COMMENT_LESS_THAN_SIGN_BANG;break;case av.LESS_THAN_SIGN:t.data+="<";break;default:this.state=Kv.COMMENT,this._stateComment(e)}}_stateCommentLessThanSignBang(e){e===av.HYPHEN_MINUS?this.state=Kv.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=Kv.COMMENT,this._stateComment(e))}_stateCommentLessThanSignBangDash(e){e===av.HYPHEN_MINUS?this.state=Kv.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=Kv.COMMENT_END_DASH,this._stateCommentEndDash(e))}_stateCommentLessThanSignBangDashDash(e){e!==av.GREATER_THAN_SIGN&&e!==av.EOF&&this._err(pv.nestedComment),this.state=Kv.COMMENT_END,this._stateCommentEnd(e)}_stateCommentEndDash(e){const t=this.currentToken;switch(e){case av.HYPHEN_MINUS:this.state=Kv.COMMENT_END;break;case av.EOF:this._err(pv.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="-",this.state=Kv.COMMENT,this._stateComment(e)}}_stateCommentEnd(e){const t=this.currentToken;switch(e){case av.GREATER_THAN_SIGN:this.state=Kv.DATA,this.emitCurrentComment(t);break;case av.EXCLAMATION_MARK:this.state=Kv.COMMENT_END_BANG;break;case av.HYPHEN_MINUS:t.data+="-";break;case av.EOF:this._err(pv.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--",this.state=Kv.COMMENT,this._stateComment(e)}}_stateCommentEndBang(e){const t=this.currentToken;switch(e){case av.HYPHEN_MINUS:t.data+="--!",this.state=Kv.COMMENT_END_DASH;break;case av.GREATER_THAN_SIGN:this._err(pv.incorrectlyClosedComment),this.state=Kv.DATA,this.emitCurrentComment(t);break;case av.EOF:this._err(pv.eofInComment),this.emitCurrentComment(t),this._emitEOFToken();break;default:t.data+="--!",this.state=Kv.COMMENT,this._stateComment(e)}}_stateDoctype(e){switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:this.state=Kv.BEFORE_DOCTYPE_NAME;break;case av.GREATER_THAN_SIGN:this.state=Kv.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e);break;case av.EOF:{this._err(pv.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._err(pv.missingWhitespaceBeforeDoctypeName),this.state=Kv.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(e)}}_stateBeforeDoctypeName(e){if(nb(e))this._createDoctypeToken(String.fromCharCode(sb(e))),this.state=Kv.DOCTYPE_NAME;else switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.NULL:this._err(pv.unexpectedNullCharacter),this._createDoctypeToken(rv),this.state=Kv.DOCTYPE_NAME;break;case av.GREATER_THAN_SIGN:{this._err(pv.missingDoctypeName),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this.state=Kv.DATA;break}case av.EOF:{this._err(pv.eofInDoctype),this._createDoctypeToken(null);const e=this.currentToken;e.forceQuirks=!0,this.emitCurrentDoctype(e),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(e)),this.state=Kv.DOCTYPE_NAME}}_stateDoctypeName(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:this.state=Kv.AFTER_DOCTYPE_NAME;break;case av.GREATER_THAN_SIGN:this.state=Kv.DATA,this.emitCurrentDoctype(t);break;case av.NULL:this._err(pv.unexpectedNullCharacter),t.name+=rv;break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.name+=String.fromCodePoint(nb(e)?sb(e):e)}}_stateAfterDoctypeName(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.GREATER_THAN_SIGN:this.state=Kv.DATA,this.emitCurrentDoctype(t);break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._consumeSequenceIfMatch("public",!1)?this.state=Kv.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch("system",!1)?this.state=Kv.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(pv.invalidCharacterSequenceAfterDoctypeName),t.forceQuirks=!0,this.state=Kv.BOGUS_DOCTYPE,this._stateBogusDoctype(e))}}_stateAfterDoctypePublicKeyword(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:this.state=Kv.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break;case av.QUOTATION_MARK:this._err(pv.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Kv.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case av.APOSTROPHE:this._err(pv.missingWhitespaceAfterDoctypePublicKeyword),t.publicId="",this.state=Kv.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case av.GREATER_THAN_SIGN:this._err(pv.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Kv.DATA,this.emitCurrentDoctype(t);break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pv.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Kv.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.QUOTATION_MARK:t.publicId="",this.state=Kv.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break;case av.APOSTROPHE:t.publicId="",this.state=Kv.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break;case av.GREATER_THAN_SIGN:this._err(pv.missingDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Kv.DATA,this.emitCurrentDoctype(t);break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pv.missingQuoteBeforeDoctypePublicIdentifier),t.forceQuirks=!0,this.state=Kv.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypePublicIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case av.QUOTATION_MARK:this.state=Kv.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case av.NULL:this._err(pv.unexpectedNullCharacter),t.publicId+=rv;break;case av.GREATER_THAN_SIGN:this._err(pv.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Kv.DATA;break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateDoctypePublicIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case av.APOSTROPHE:this.state=Kv.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break;case av.NULL:this._err(pv.unexpectedNullCharacter),t.publicId+=rv;break;case av.GREATER_THAN_SIGN:this._err(pv.abruptDoctypePublicIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Kv.DATA;break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.publicId+=String.fromCodePoint(e)}}_stateAfterDoctypePublicIdentifier(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:this.state=Kv.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break;case av.GREATER_THAN_SIGN:this.state=Kv.DATA,this.emitCurrentDoctype(t);break;case av.QUOTATION_MARK:this._err(pv.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Kv.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case av.APOSTROPHE:this._err(pv.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),t.systemId="",this.state=Kv.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pv.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kv.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBetweenDoctypePublicAndSystemIdentifiers(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Kv.DATA;break;case av.QUOTATION_MARK:t.systemId="",this.state=Kv.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case av.APOSTROPHE:t.systemId="",this.state=Kv.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pv.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kv.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateAfterDoctypeSystemKeyword(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:this.state=Kv.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break;case av.QUOTATION_MARK:this._err(pv.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Kv.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case av.APOSTROPHE:this._err(pv.missingWhitespaceAfterDoctypeSystemKeyword),t.systemId="",this.state=Kv.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case av.GREATER_THAN_SIGN:this._err(pv.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kv.DATA,this.emitCurrentDoctype(t);break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pv.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kv.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBeforeDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.QUOTATION_MARK:t.systemId="",this.state=Kv.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break;case av.APOSTROPHE:t.systemId="",this.state=Kv.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break;case av.GREATER_THAN_SIGN:this._err(pv.missingDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kv.DATA,this.emitCurrentDoctype(t);break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pv.missingQuoteBeforeDoctypeSystemIdentifier),t.forceQuirks=!0,this.state=Kv.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateDoctypeSystemIdentifierDoubleQuoted(e){const t=this.currentToken;switch(e){case av.QUOTATION_MARK:this.state=Kv.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case av.NULL:this._err(pv.unexpectedNullCharacter),t.systemId+=rv;break;case av.GREATER_THAN_SIGN:this._err(pv.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Kv.DATA;break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateDoctypeSystemIdentifierSingleQuoted(e){const t=this.currentToken;switch(e){case av.APOSTROPHE:this.state=Kv.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break;case av.NULL:this._err(pv.unexpectedNullCharacter),t.systemId+=rv;break;case av.GREATER_THAN_SIGN:this._err(pv.abruptDoctypeSystemIdentifier),t.forceQuirks=!0,this.emitCurrentDoctype(t),this.state=Kv.DATA;break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:t.systemId+=String.fromCodePoint(e)}}_stateAfterDoctypeSystemIdentifier(e){const t=this.currentToken;switch(e){case av.SPACE:case av.LINE_FEED:case av.TABULATION:case av.FORM_FEED:break;case av.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Kv.DATA;break;case av.EOF:this._err(pv.eofInDoctype),t.forceQuirks=!0,this.emitCurrentDoctype(t),this._emitEOFToken();break;default:this._err(pv.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=Kv.BOGUS_DOCTYPE,this._stateBogusDoctype(e)}}_stateBogusDoctype(e){const t=this.currentToken;switch(e){case av.GREATER_THAN_SIGN:this.emitCurrentDoctype(t),this.state=Kv.DATA;break;case av.NULL:this._err(pv.unexpectedNullCharacter);break;case av.EOF:this.emitCurrentDoctype(t),this._emitEOFToken()}}_stateCdataSection(e){switch(e){case av.RIGHT_SQUARE_BRACKET:this.state=Kv.CDATA_SECTION_BRACKET;break;case av.EOF:this._err(pv.eofInCdata),this._emitEOFToken();break;default:this._emitCodePoint(e)}}_stateCdataSectionBracket(e){e===av.RIGHT_SQUARE_BRACKET?this.state=Kv.CDATA_SECTION_END:(this._emitChars("]"),this.state=Kv.CDATA_SECTION,this._stateCdataSection(e))}_stateCdataSectionEnd(e){switch(e){case av.GREATER_THAN_SIGN:this.state=Kv.DATA;break;case av.RIGHT_SQUARE_BRACKET:this._emitChars("]");break;default:this._emitChars("]]"),this.state=Kv.CDATA_SECTION,this._stateCdataSection(e)}}_stateCharacterReference(e){e===av.NUMBER_SIGN?this.state=Kv.NUMERIC_CHARACTER_REFERENCE:ab(e)?(this.state=Kv.NAMED_CHARACTER_REFERENCE,this._stateNamedCharacterReference(e)):(this._flushCodePointConsumedAsCharacterReference(av.AMPERSAND),this._reconsumeInState(this.returnState,e))}_stateNamedCharacterReference(e){const t=this._matchNamedCharacterReference(e);if(this._ensureHibernation());else if(t){for(let e=0;e1114111)this._err(pv.characterReferenceOutsideUnicodeRange),this.charRefCode=av.REPLACEMENT_CHARACTER;else if(cv(this.charRefCode))this._err(pv.surrogateCharacterReference),this.charRefCode=av.REPLACEMENT_CHARACTER;else if(uv(this.charRefCode))this._err(pv.noncharacterCharacterReference);else if(dv(this.charRefCode)||this.charRefCode===av.CARRIAGE_RETURN){this._err(pv.controlCharacterReference);const e=Gv.get(this.charRefCode);void 0!==e&&(this.charRefCode=e)}this._flushCodePointConsumedAsCharacterReference(this.charRefCode),this._reconsumeInState(this.returnState,e)}}const ub=new Set([Bv.DD,Bv.DT,Bv.LI,Bv.OPTGROUP,Bv.OPTION,Bv.P,Bv.RB,Bv.RP,Bv.RT,Bv.RTC]),pb=new Set([...ub,Bv.CAPTION,Bv.COLGROUP,Bv.TBODY,Bv.TD,Bv.TFOOT,Bv.TH,Bv.THEAD,Bv.TR]),hb=new Map([[Bv.APPLET,Dv.HTML],[Bv.CAPTION,Dv.HTML],[Bv.HTML,Dv.HTML],[Bv.MARQUEE,Dv.HTML],[Bv.OBJECT,Dv.HTML],[Bv.TABLE,Dv.HTML],[Bv.TD,Dv.HTML],[Bv.TEMPLATE,Dv.HTML],[Bv.TH,Dv.HTML],[Bv.ANNOTATION_XML,Dv.MATHML],[Bv.MI,Dv.MATHML],[Bv.MN,Dv.MATHML],[Bv.MO,Dv.MATHML],[Bv.MS,Dv.MATHML],[Bv.MTEXT,Dv.MATHML],[Bv.DESC,Dv.SVG],[Bv.FOREIGN_OBJECT,Dv.SVG],[Bv.TITLE,Dv.SVG]]),fb=[Bv.H1,Bv.H2,Bv.H3,Bv.H4,Bv.H5,Bv.H6],mb=[Bv.TR,Bv.TEMPLATE,Bv.HTML],gb=[Bv.TBODY,Bv.TFOOT,Bv.THEAD,Bv.TEMPLATE,Bv.HTML],vb=[Bv.TABLE,Bv.TEMPLATE,Bv.HTML],bb=[Bv.TD,Bv.TH];class yb{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(e,t,n){this.treeAdapter=t,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=Bv.UNKNOWN,this.current=e}_indexOf(e){return this.items.lastIndexOf(e,this.stackTop)}_isInTemplate(){return this.currentTagId===Bv.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===Dv.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(e,t){this.stackTop++,this.items[this.stackTop]=e,this.current=e,this.tagIDs[this.stackTop]=t,this.currentTagId=t,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(e,t,!0)}pop(){const e=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!0)}replace(e,t){const n=this._indexOf(e);this.items[n]=t,n===this.stackTop&&(this.current=t)}insertAfter(e,t,n){const r=this._indexOf(e)+1;this.items.splice(r,0,t),this.tagIDs.splice(r,0,n),this.stackTop++,r===this.stackTop&&this._updateCurrentElement(),this.handler.onItemPush(this.current,this.currentTagId,r===this.stackTop)}popUntilTagNamePopped(e){let t=this.stackTop+1;do{t=this.tagIDs.lastIndexOf(e,t-1)}while(t>0&&this.treeAdapter.getNamespaceURI(this.items[t])!==Dv.HTML);this.shortenToLength(t<0?0:t)}shortenToLength(e){for(;this.stackTop>=e;){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,this.stackTop=0;n--)if(e.includes(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===t)return n;return-1}clearBackTo(e,t){const n=this._indexOfTagNames(e,t);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(vb,Dv.HTML)}clearBackToTableBodyContext(){this.clearBackTo(gb,Dv.HTML)}clearBackToTableRowContext(){this.clearBackTo(mb,Dv.HTML)}remove(e){const t=this._indexOf(e);t>=0&&(t===this.stackTop?this.pop():(this.items.splice(t,1),this.tagIDs.splice(t,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(e,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===Bv.BODY?this.items[1]:null}contains(e){return this._indexOf(e)>-1}getCommonAncestor(e){const t=this._indexOf(e)-1;return t>=0?this.items[t]:null}isRootHtmlElementCurrent(){return 0===this.stackTop&&this.tagIDs[0]===Bv.HTML}hasInScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Dv.HTML)return!0;if(hb.get(n)===r)return!1}return!0}hasNumberedHeaderInScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e],n=this.treeAdapter.getNamespaceURI(this.items[e]);if(Yv(t)&&n===Dv.HTML)return!0;if(hb.get(t)===n)return!1}return!0}hasInListItemScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Dv.HTML)return!0;if((n===Bv.UL||n===Bv.OL)&&r===Dv.HTML||hb.get(n)===r)return!1}return!0}hasInButtonScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t],r=this.treeAdapter.getNamespaceURI(this.items[t]);if(n===e&&r===Dv.HTML)return!0;if(n===Bv.BUTTON&&r===Dv.HTML||hb.get(n)===r)return!1}return!0}hasInTableScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Dv.HTML){if(n===e)return!0;if(n===Bv.TABLE||n===Bv.TEMPLATE||n===Bv.HTML)return!1}}return!0}hasTableBodyContextInTableScope(){for(let e=this.stackTop;e>=0;e--){const t=this.tagIDs[e];if(this.treeAdapter.getNamespaceURI(this.items[e])===Dv.HTML){if(t===Bv.TBODY||t===Bv.THEAD||t===Bv.TFOOT)return!0;if(t===Bv.TABLE||t===Bv.HTML)return!1}}return!0}hasInSelectScope(e){for(let t=this.stackTop;t>=0;t--){const n=this.tagIDs[t];if(this.treeAdapter.getNamespaceURI(this.items[t])===Dv.HTML){if(n===e)return!0;if(n!==Bv.OPTION&&n!==Bv.OPTGROUP)return!1}}return!0}generateImpliedEndTags(){for(;ub.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;pb.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(e){for(;this.currentTagId!==e&&pb.has(this.currentTagId);)this.pop()}}var Ob,wb;(wb=Ob=Ob||(Ob={}))[wb.Marker=0]="Marker",wb[wb.Element=1]="Element";const xb={type:Ob.Marker};class kb{constructor(e){this.treeAdapter=e,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(e,t){const n=[],r=t.length,a=this.treeAdapter.getTagName(e),o=this.treeAdapter.getNamespaceURI(e);for(let e=0;e[e.name,e.value])));let a=0;for(let e=0;er.get(e.name)===e.value))&&(a+=1,a>=3&&this.entries.splice(t.idx,1))}}insertMarker(){this.entries.unshift(xb)}pushElement(e,t){this._ensureNoahArkCondition(e),this.entries.unshift({type:Ob.Element,element:e,token:t})}insertElementAfterBookmark(e,t){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:Ob.Element,element:e,token:t})}removeEntry(e){const t=this.entries.indexOf(e);t>=0&&this.entries.splice(t,1)}clearToLastMarker(){const e=this.entries.indexOf(xb);e>=0?this.entries.splice(0,e+1):this.entries.length=0}getElementEntryInScopeWithTagName(e){const t=this.entries.find((t=>t.type===Ob.Marker||this.treeAdapter.getTagName(t.element)===e));return t&&t.type===Ob.Element?t:null}getElementEntry(e){return this.entries.find((t=>t.type===Ob.Element&&t.element===e))}}function _b(e){return{nodeName:"#text",value:e,parentNode:null}}const Sb={createDocument:()=>({nodeName:"#document",mode:Mv.NO_QUIRKS,childNodes:[]}),createDocumentFragment:()=>({nodeName:"#document-fragment",childNodes:[]}),createElement:(e,t,n)=>({nodeName:e,tagName:e,attrs:n,namespaceURI:t,childNodes:[],parentNode:null}),createCommentNode:e=>({nodeName:"#comment",data:e,parentNode:null}),appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,n){const r=e.childNodes.indexOf(n);e.childNodes.splice(r,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent:e=>e.content,setDocumentType(e,t,n,r){const a=e.childNodes.find((e=>"#documentType"===e.nodeName));if(a)a.name=t,a.publicId=n,a.systemId=r;else{const a={nodeName:"#documentType",name:t,publicId:n,systemId:r,parentNode:null};Sb.appendChild(e,a)}},setDocumentMode(e,t){e.mode=t},getDocumentMode:e=>e.mode,detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const n=e.childNodes[e.childNodes.length-1];if(Sb.isTextNode(n))return void(n.value+=t)}Sb.appendChild(e,_b(t))},insertTextBefore(e,t,n){const r=e.childNodes[e.childNodes.indexOf(n)-1];r&&Sb.isTextNode(r)?r.value+=t:Sb.insertBefore(e,_b(t),n)},adoptAttributes(e,t){const n=new Set(e.attrs.map((e=>e.name)));for(let r=0;re.childNodes[0],getChildNodes:e=>e.childNodes,getParentNode:e=>e.parentNode,getAttrList:e=>e.attrs,getTagName:e=>e.tagName,getNamespaceURI:e=>e.namespaceURI,getTextNodeContent:e=>e.value,getCommentNodeContent:e=>e.data,getDocumentTypeNodeName:e=>e.name,getDocumentTypeNodePublicId:e=>e.publicId,getDocumentTypeNodeSystemId:e=>e.systemId,isTextNode:e=>"#text"===e.nodeName,isCommentNode:e=>"#comment"===e.nodeName,isDocumentTypeNode:e=>"#documentType"===e.nodeName,isElementNode:e=>Object.prototype.hasOwnProperty.call(e,"tagName"),setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation:e=>e.sourceCodeLocation,updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation={...e.sourceCodeLocation,...t}}},Eb="html",Tb=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Cb=[...Tb,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Ab=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),Pb=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Db=[...Pb,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Rb(e,t){return t.some((t=>e.startsWith(t)))}const $b="text/html",Nb="application/xhtml+xml",Mb="definitionurl",Ib="definitionURL",Lb=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),jb=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:Dv.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:Dv.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:Dv.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:Dv.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:Dv.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:Dv.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:Dv.XLINK}],["xml:base",{prefix:"xml",name:"base",namespace:Dv.XML}],["xml:lang",{prefix:"xml",name:"lang",namespace:Dv.XML}],["xml:space",{prefix:"xml",name:"space",namespace:Dv.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:Dv.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:Dv.XMLNS}]]),Bb=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map((e=>[e.toLowerCase(),e]))),Qb=new Set([Bv.B,Bv.BIG,Bv.BLOCKQUOTE,Bv.BODY,Bv.BR,Bv.CENTER,Bv.CODE,Bv.DD,Bv.DIV,Bv.DL,Bv.DT,Bv.EM,Bv.EMBED,Bv.H1,Bv.H2,Bv.H3,Bv.H4,Bv.H5,Bv.H6,Bv.HEAD,Bv.HR,Bv.I,Bv.IMG,Bv.LI,Bv.LISTING,Bv.MENU,Bv.META,Bv.NOBR,Bv.OL,Bv.P,Bv.PRE,Bv.RUBY,Bv.S,Bv.SMALL,Bv.SPAN,Bv.STRONG,Bv.STRIKE,Bv.SUB,Bv.SUP,Bv.TABLE,Bv.TT,Bv.U,Bv.UL,Bv.VAR]);function Ub(e){for(let t=0;t0&&this._setContextModes(e,t)}onItemPop(e,t){var n,r;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(e,this.currentToken),null===(r=(n=this.treeAdapter).onItemPop)||void 0===r||r.call(n,e,this.openElements.current),t){let e,t;0===this.openElements.stackTop&&this.fragmentContext?(e=this.fragmentContext,t=this.fragmentContextID):({current:e,currentTagId:t}=this.openElements),this._setContextModes(e,t)}}_setContextModes(e,t){const n=e===this.document||this.treeAdapter.getNamespaceURI(e)===Dv.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&!this._isIntegrationPoint(t,e)}_switchToTextParsing(e,t){this._insertElement(e,Dv.HTML),this.tokenizer.state=t,this.originalInsertionMode=this.insertionMode,this.insertionMode=Zb.TEXT}switchToPlaintextParsing(){this.insertionMode=Zb.TEXT,this.originalInsertionMode=Zb.IN_BODY,this.tokenizer.state=eb.PLAINTEXT}_getAdjustedCurrentElement(){return 0===this.openElements.stackTop&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let e=this.fragmentContext;for(;e;){if(this.treeAdapter.getTagName(e)===Lv.FORM){this.formElement=e;break}e=this.treeAdapter.getParentNode(e)}}_initTokenizerForFragmentParsing(){if(this.fragmentContext&&this.treeAdapter.getNamespaceURI(this.fragmentContext)===Dv.HTML)switch(this.fragmentContextID){case Bv.TITLE:case Bv.TEXTAREA:this.tokenizer.state=eb.RCDATA;break;case Bv.STYLE:case Bv.XMP:case Bv.IFRAME:case Bv.NOEMBED:case Bv.NOFRAMES:case Bv.NOSCRIPT:this.tokenizer.state=eb.RAWTEXT;break;case Bv.SCRIPT:this.tokenizer.state=eb.SCRIPT_DATA;break;case Bv.PLAINTEXT:this.tokenizer.state=eb.PLAINTEXT}}_setDocumentType(e){const t=e.name||"",n=e.publicId||"",r=e.systemId||"";if(this.treeAdapter.setDocumentType(this.document,t,n,r),e.location){const t=this.treeAdapter.getChildNodes(this.document).find((e=>this.treeAdapter.isDocumentTypeNode(e)));t&&this.treeAdapter.setNodeSourceCodeLocation(t,e.location)}}_attachElementToTree(e,t){if(this.options.sourceCodeLocationInfo){const n=t&&{...t,startTag:t};this.treeAdapter.setNodeSourceCodeLocation(e,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(e);else{const t=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(t,e)}}_appendElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location)}_insertElement(e,t){const n=this.treeAdapter.createElement(e.tagName,t,e.attrs);this._attachElementToTree(n,e.location),this.openElements.push(n,e.tagID)}_insertFakeElement(e,t){const n=this.treeAdapter.createElement(e,Dv.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,t)}_insertTemplate(e){const t=this.treeAdapter.createElement(e.tagName,Dv.HTML,e.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(t,n),this._attachElementToTree(t,e.location),this.openElements.push(t,e.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const e=this.treeAdapter.createElement(Lv.HTML,Dv.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(e,null),this.treeAdapter.appendChild(this.openElements.current,e),this.openElements.push(e,Bv.HTML)}_appendCommentNode(e,t){const n=this.treeAdapter.createCommentNode(e.data);this.treeAdapter.appendChild(t,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,e.location)}_insertCharacters(e){let t,n;if(this._shouldFosterParentOnInsertion()?(({parent:t,beforeElement:n}=this._findFosterParentingLocation()),n?this.treeAdapter.insertTextBefore(t,e.chars,n):this.treeAdapter.insertText(t,e.chars)):(t=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(t,e.chars)),!e.location)return;const r=this.treeAdapter.getChildNodes(t),a=n?r.lastIndexOf(n):r.length,o=r[a-1];if(this.treeAdapter.getNodeSourceCodeLocation(o)){const{endLine:t,endCol:n,endOffset:r}=e.location;this.treeAdapter.updateNodeSourceCodeLocation(o,{endLine:t,endCol:n,endOffset:r})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(o,e.location)}_adoptNodes(e,t){for(let n=this.treeAdapter.getFirstChild(e);n;n=this.treeAdapter.getFirstChild(e))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(t,n)}_setEndLocation(e,t){if(this.treeAdapter.getNodeSourceCodeLocation(e)&&t.location){const n=t.location,r=this.treeAdapter.getTagName(e),a=t.type===fv.END_TAG&&r===t.tagName?{endTag:{...n},endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(e,a)}}shouldProcessStartTagTokenInForeignContent(e){if(!this.currentNotInHTML)return!1;let t,n;return 0===this.openElements.stackTop&&this.fragmentContext?(t=this.fragmentContext,n=this.fragmentContextID):({current:t,currentTagId:n}=this.openElements),(e.tagID!==Bv.SVG||this.treeAdapter.getTagName(t)!==Lv.ANNOTATION_XML||this.treeAdapter.getNamespaceURI(t)!==Dv.MATHML)&&(this.tokenizer.inForeignNode||(e.tagID===Bv.MGLYPH||e.tagID===Bv.MALIGNMARK)&&!this._isIntegrationPoint(n,t,Dv.HTML))}_processToken(e){switch(e.type){case fv.CHARACTER:this.onCharacter(e);break;case fv.NULL_CHARACTER:this.onNullCharacter(e);break;case fv.COMMENT:this.onComment(e);break;case fv.DOCTYPE:this.onDoctype(e);break;case fv.START_TAG:this._processStartTag(e);break;case fv.END_TAG:this.onEndTag(e);break;case fv.EOF:this.onEof(e);break;case fv.WHITESPACE_CHARACTER:this.onWhitespaceCharacter(e)}}_isIntegrationPoint(e,t,n){return function(e,t,n,r){return(!r||r===Dv.HTML)&&function(e,t,n){if(t===Dv.MATHML&&e===Bv.ANNOTATION_XML)for(let e=0;ee.type===Ob.Marker||this.openElements.contains(e.element)));for(let n=t<0?e-1:t-1;n>=0;n--){const e=this.activeFormattingElements.entries[n];this._insertElement(e.token,this.treeAdapter.getNamespaceURI(e.element)),e.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=Zb.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(Bv.P),this.openElements.popUntilTagNamePopped(Bv.P)}_resetInsertionMode(){for(let e=this.openElements.stackTop;e>=0;e--)switch(0===e&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[e]){case Bv.TR:return void(this.insertionMode=Zb.IN_ROW);case Bv.TBODY:case Bv.THEAD:case Bv.TFOOT:return void(this.insertionMode=Zb.IN_TABLE_BODY);case Bv.CAPTION:return void(this.insertionMode=Zb.IN_CAPTION);case Bv.COLGROUP:return void(this.insertionMode=Zb.IN_COLUMN_GROUP);case Bv.TABLE:return void(this.insertionMode=Zb.IN_TABLE);case Bv.BODY:return void(this.insertionMode=Zb.IN_BODY);case Bv.FRAMESET:return void(this.insertionMode=Zb.IN_FRAMESET);case Bv.SELECT:return void this._resetInsertionModeForSelect(e);case Bv.TEMPLATE:return void(this.insertionMode=this.tmplInsertionModeStack[0]);case Bv.HTML:return void(this.insertionMode=this.headElement?Zb.AFTER_HEAD:Zb.BEFORE_HEAD);case Bv.TD:case Bv.TH:if(e>0)return void(this.insertionMode=Zb.IN_CELL);break;case Bv.HEAD:if(e>0)return void(this.insertionMode=Zb.IN_HEAD)}this.insertionMode=Zb.IN_BODY}_resetInsertionModeForSelect(e){if(e>0)for(let t=e-1;t>0;t--){const e=this.openElements.tagIDs[t];if(e===Bv.TEMPLATE)break;if(e===Bv.TABLE)return void(this.insertionMode=Zb.IN_SELECT_IN_TABLE)}this.insertionMode=Zb.IN_SELECT}_isElementCausesFosterParenting(e){return Yb.has(e)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let e=this.openElements.stackTop;e>=0;e--){const t=this.openElements.items[e];switch(this.openElements.tagIDs[e]){case Bv.TEMPLATE:if(this.treeAdapter.getNamespaceURI(t)===Dv.HTML)return{parent:this.treeAdapter.getTemplateContent(t),beforeElement:null};break;case Bv.TABLE:{const n=this.treeAdapter.getParentNode(t);return n?{parent:n,beforeElement:t}:{parent:this.openElements.items[e-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(e){const t=this._findFosterParentingLocation();t.beforeElement?this.treeAdapter.insertBefore(t.parent,e,t.beforeElement):this.treeAdapter.appendChild(t.parent,e)}_isSpecialElement(e,t){const n=this.treeAdapter.getNamespaceURI(e);return Xv[n].has(t)}onCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){e._insertCharacters(t),e.framesetOk=!1}(this,e);else switch(this.insertionMode){case Zb.INITIAL:ly(this,e);break;case Zb.BEFORE_HTML:cy(this,e);break;case Zb.BEFORE_HEAD:dy(this,e);break;case Zb.IN_HEAD:hy(this,e);break;case Zb.IN_HEAD_NO_SCRIPT:fy(this,e);break;case Zb.AFTER_HEAD:my(this,e);break;case Zb.IN_BODY:case Zb.IN_CAPTION:case Zb.IN_CELL:case Zb.IN_TEMPLATE:by(this,e);break;case Zb.TEXT:case Zb.IN_SELECT:case Zb.IN_SELECT_IN_TABLE:this._insertCharacters(e);break;case Zb.IN_TABLE:case Zb.IN_TABLE_BODY:case Zb.IN_ROW:Ty(this,e);break;case Zb.IN_TABLE_TEXT:Ry(this,e);break;case Zb.IN_COLUMN_GROUP:Iy(this,e);break;case Zb.AFTER_BODY:Hy(this,e);break;case Zb.AFTER_AFTER_BODY:Vy(this,e)}}onNullCharacter(e){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode)!function(e,t){t.chars=rv,e._insertCharacters(t)}(this,e);else switch(this.insertionMode){case Zb.INITIAL:ly(this,e);break;case Zb.BEFORE_HTML:cy(this,e);break;case Zb.BEFORE_HEAD:dy(this,e);break;case Zb.IN_HEAD:hy(this,e);break;case Zb.IN_HEAD_NO_SCRIPT:fy(this,e);break;case Zb.AFTER_HEAD:my(this,e);break;case Zb.TEXT:this._insertCharacters(e);break;case Zb.IN_TABLE:case Zb.IN_TABLE_BODY:case Zb.IN_ROW:Ty(this,e);break;case Zb.IN_COLUMN_GROUP:Iy(this,e);break;case Zb.AFTER_BODY:Hy(this,e);break;case Zb.AFTER_AFTER_BODY:Vy(this,e)}}onComment(e){if(this.skipNextNewLine=!1,this.currentNotInHTML)iy(this,e);else switch(this.insertionMode){case Zb.INITIAL:case Zb.BEFORE_HTML:case Zb.BEFORE_HEAD:case Zb.IN_HEAD:case Zb.IN_HEAD_NO_SCRIPT:case Zb.AFTER_HEAD:case Zb.IN_BODY:case Zb.IN_TABLE:case Zb.IN_CAPTION:case Zb.IN_COLUMN_GROUP:case Zb.IN_TABLE_BODY:case Zb.IN_ROW:case Zb.IN_CELL:case Zb.IN_SELECT:case Zb.IN_SELECT_IN_TABLE:case Zb.IN_TEMPLATE:case Zb.IN_FRAMESET:case Zb.AFTER_FRAMESET:iy(this,e);break;case Zb.IN_TABLE_TEXT:$y(this,e);break;case Zb.AFTER_BODY:!function(e,t){e._appendCommentNode(t,e.openElements.items[0])}(this,e);break;case Zb.AFTER_AFTER_BODY:case Zb.AFTER_AFTER_FRAMESET:!function(e,t){e._appendCommentNode(t,e.document)}(this,e)}}onDoctype(e){switch(this.skipNextNewLine=!1,this.insertionMode){case Zb.INITIAL:!function(e,t){e._setDocumentType(t);const n=t.forceQuirks?Mv.QUIRKS:function(e){if(e.name!==Eb)return Mv.QUIRKS;const{systemId:t}=e;if(t&&"http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd"===t.toLowerCase())return Mv.QUIRKS;let{publicId:n}=e;if(null!==n){if(n=n.toLowerCase(),Ab.has(n))return Mv.QUIRKS;let e=null===t?Cb:Tb;if(Rb(n,e))return Mv.QUIRKS;if(e=null===t?Pb:Db,Rb(n,e))return Mv.LIMITED_QUIRKS}return Mv.NO_QUIRKS}(t);(function(e){return e.name===Eb&&null===e.publicId&&(null===e.systemId||"about:legacy-compat"===e.systemId)})(t)||e._err(t,pv.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,n),e.insertionMode=Zb.BEFORE_HTML}(this,e);break;case Zb.BEFORE_HEAD:case Zb.IN_HEAD:case Zb.IN_HEAD_NO_SCRIPT:case Zb.AFTER_HEAD:this._err(e,pv.misplacedDoctype);break;case Zb.IN_TABLE_TEXT:$y(this,e)}}onStartTag(e){this.skipNextNewLine=!1,this.currentToken=e,this._processStartTag(e),e.selfClosing&&!e.ackSelfClosing&&this._err(e,pv.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(e){this.shouldProcessStartTagTokenInForeignContent(e)?function(e,t){if(function(e){const t=e.tagID;return t===Bv.FONT&&e.attrs.some((({name:e})=>e===$v.COLOR||e===$v.SIZE||e===$v.FACE))||Qb.has(t)}(t))Zy(e),e._startTagOutsideForeignContent(t);else{const n=e._getAdjustedCurrentElement(),r=e.treeAdapter.getNamespaceURI(n);r===Dv.MATHML?Ub(t):r===Dv.SVG&&(function(e){const t=Bb.get(e.tagName);null!=t&&(e.tagName=t,e.tagID=Zv(e.tagName))}(t),Fb(t)),zb(t),t.selfClosing?e._appendElement(t,r):e._insertElement(t,r),t.ackSelfClosing=!0}}(this,e):this._startTagOutsideForeignContent(e)}_startTagOutsideForeignContent(e){switch(this.insertionMode){case Zb.INITIAL:ly(this,e);break;case Zb.BEFORE_HTML:!function(e,t){t.tagID===Bv.HTML?(e._insertElement(t,Dv.HTML),e.insertionMode=Zb.BEFORE_HEAD):cy(e,t)}(this,e);break;case Zb.BEFORE_HEAD:!function(e,t){switch(t.tagID){case Bv.HTML:ky(e,t);break;case Bv.HEAD:e._insertElement(t,Dv.HTML),e.headElement=e.openElements.current,e.insertionMode=Zb.IN_HEAD;break;default:dy(e,t)}}(this,e);break;case Zb.IN_HEAD:uy(this,e);break;case Zb.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Bv.HTML:ky(e,t);break;case Bv.BASEFONT:case Bv.BGSOUND:case Bv.HEAD:case Bv.LINK:case Bv.META:case Bv.NOFRAMES:case Bv.STYLE:uy(e,t);break;case Bv.NOSCRIPT:e._err(t,pv.nestedNoscriptInHead);break;default:fy(e,t)}}(this,e);break;case Zb.AFTER_HEAD:!function(e,t){switch(t.tagID){case Bv.HTML:ky(e,t);break;case Bv.BODY:e._insertElement(t,Dv.HTML),e.framesetOk=!1,e.insertionMode=Zb.IN_BODY;break;case Bv.FRAMESET:e._insertElement(t,Dv.HTML),e.insertionMode=Zb.IN_FRAMESET;break;case Bv.BASE:case Bv.BASEFONT:case Bv.BGSOUND:case Bv.LINK:case Bv.META:case Bv.NOFRAMES:case Bv.SCRIPT:case Bv.STYLE:case Bv.TEMPLATE:case Bv.TITLE:e._err(t,pv.abandonedHeadElementChild),e.openElements.push(e.headElement,Bv.HEAD),uy(e,t),e.openElements.remove(e.headElement);break;case Bv.HEAD:e._err(t,pv.misplacedStartTagForHeadElement);break;default:my(e,t)}}(this,e);break;case Zb.IN_BODY:ky(this,e);break;case Zb.IN_TABLE:Cy(this,e);break;case Zb.IN_TABLE_TEXT:$y(this,e);break;case Zb.IN_CAPTION:!function(e,t){const n=t.tagID;Ny.has(n)?e.openElements.hasInTableScope(Bv.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Bv.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zb.IN_TABLE,Cy(e,t)):ky(e,t)}(this,e);break;case Zb.IN_COLUMN_GROUP:My(this,e);break;case Zb.IN_TABLE_BODY:Ly(this,e);break;case Zb.IN_ROW:By(this,e);break;case Zb.IN_CELL:!function(e,t){const n=t.tagID;Ny.has(n)?(e.openElements.hasInTableScope(Bv.TD)||e.openElements.hasInTableScope(Bv.TH))&&(e._closeTableCell(),By(e,t)):ky(e,t)}(this,e);break;case Zb.IN_SELECT:Uy(this,e);break;case Zb.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Bv.CAPTION||n===Bv.TABLE||n===Bv.TBODY||n===Bv.TFOOT||n===Bv.THEAD||n===Bv.TR||n===Bv.TD||n===Bv.TH?(e.openElements.popUntilTagNamePopped(Bv.SELECT),e._resetInsertionMode(),e._processStartTag(t)):Uy(e,t)}(this,e);break;case Zb.IN_TEMPLATE:!function(e,t){switch(t.tagID){case Bv.BASE:case Bv.BASEFONT:case Bv.BGSOUND:case Bv.LINK:case Bv.META:case Bv.NOFRAMES:case Bv.SCRIPT:case Bv.STYLE:case Bv.TEMPLATE:case Bv.TITLE:uy(e,t);break;case Bv.CAPTION:case Bv.COLGROUP:case Bv.TBODY:case Bv.TFOOT:case Bv.THEAD:e.tmplInsertionModeStack[0]=Zb.IN_TABLE,e.insertionMode=Zb.IN_TABLE,Cy(e,t);break;case Bv.COL:e.tmplInsertionModeStack[0]=Zb.IN_COLUMN_GROUP,e.insertionMode=Zb.IN_COLUMN_GROUP,My(e,t);break;case Bv.TR:e.tmplInsertionModeStack[0]=Zb.IN_TABLE_BODY,e.insertionMode=Zb.IN_TABLE_BODY,Ly(e,t);break;case Bv.TD:case Bv.TH:e.tmplInsertionModeStack[0]=Zb.IN_ROW,e.insertionMode=Zb.IN_ROW,By(e,t);break;default:e.tmplInsertionModeStack[0]=Zb.IN_BODY,e.insertionMode=Zb.IN_BODY,ky(e,t)}}(this,e);break;case Zb.AFTER_BODY:!function(e,t){t.tagID===Bv.HTML?ky(e,t):Hy(e,t)}(this,e);break;case Zb.IN_FRAMESET:!function(e,t){switch(t.tagID){case Bv.HTML:ky(e,t);break;case Bv.FRAMESET:e._insertElement(t,Dv.HTML);break;case Bv.FRAME:e._appendElement(t,Dv.HTML),t.ackSelfClosing=!0;break;case Bv.NOFRAMES:uy(e,t)}}(this,e);break;case Zb.AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Bv.HTML:ky(e,t);break;case Bv.NOFRAMES:uy(e,t)}}(this,e);break;case Zb.AFTER_AFTER_BODY:!function(e,t){t.tagID===Bv.HTML?ky(e,t):Vy(e,t)}(this,e);break;case Zb.AFTER_AFTER_FRAMESET:!function(e,t){switch(t.tagID){case Bv.HTML:ky(e,t);break;case Bv.NOFRAMES:uy(e,t)}}(this,e)}}onEndTag(e){this.skipNextNewLine=!1,this.currentToken=e,this.currentNotInHTML?function(e,t){if(t.tagID===Bv.P||t.tagID===Bv.BR)return Zy(e),void e._endTagOutsideForeignContent(t);for(let n=e.openElements.stackTop;n>0;n--){const r=e.openElements.items[n];if(e.treeAdapter.getNamespaceURI(r)===Dv.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(r);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(n);break}}}(this,e):this._endTagOutsideForeignContent(e)}_endTagOutsideForeignContent(e){switch(this.insertionMode){case Zb.INITIAL:ly(this,e);break;case Zb.BEFORE_HTML:!function(e,t){const n=t.tagID;n!==Bv.HTML&&n!==Bv.HEAD&&n!==Bv.BODY&&n!==Bv.BR||cy(e,t)}(this,e);break;case Zb.BEFORE_HEAD:!function(e,t){const n=t.tagID;n===Bv.HEAD||n===Bv.BODY||n===Bv.HTML||n===Bv.BR?dy(e,t):e._err(t,pv.endTagWithoutMatchingOpenElement)}(this,e);break;case Zb.IN_HEAD:!function(e,t){switch(t.tagID){case Bv.HEAD:e.openElements.pop(),e.insertionMode=Zb.AFTER_HEAD;break;case Bv.BODY:case Bv.BR:case Bv.HTML:hy(e,t);break;case Bv.TEMPLATE:py(e,t);break;default:e._err(t,pv.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zb.IN_HEAD_NO_SCRIPT:!function(e,t){switch(t.tagID){case Bv.NOSCRIPT:e.openElements.pop(),e.insertionMode=Zb.IN_HEAD;break;case Bv.BR:fy(e,t);break;default:e._err(t,pv.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zb.AFTER_HEAD:!function(e,t){switch(t.tagID){case Bv.BODY:case Bv.HTML:case Bv.BR:my(e,t);break;case Bv.TEMPLATE:py(e,t);break;default:e._err(t,pv.endTagWithoutMatchingOpenElement)}}(this,e);break;case Zb.IN_BODY:Sy(this,e);break;case Zb.TEXT:!function(e,t){var n;t.tagID===Bv.SCRIPT&&(null===(n=e.scriptHandler)||void 0===n||n.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}(this,e);break;case Zb.IN_TABLE:Ay(this,e);break;case Zb.IN_TABLE_TEXT:$y(this,e);break;case Zb.IN_CAPTION:!function(e,t){const n=t.tagID;switch(n){case Bv.CAPTION:case Bv.TABLE:e.openElements.hasInTableScope(Bv.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Bv.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zb.IN_TABLE,n===Bv.TABLE&&Ay(e,t));break;case Bv.BODY:case Bv.COL:case Bv.COLGROUP:case Bv.HTML:case Bv.TBODY:case Bv.TD:case Bv.TFOOT:case Bv.TH:case Bv.THEAD:case Bv.TR:break;default:Sy(e,t)}}(this,e);break;case Zb.IN_COLUMN_GROUP:!function(e,t){switch(t.tagID){case Bv.COLGROUP:e.openElements.currentTagId===Bv.COLGROUP&&(e.openElements.pop(),e.insertionMode=Zb.IN_TABLE);break;case Bv.TEMPLATE:py(e,t);break;case Bv.COL:break;default:Iy(e,t)}}(this,e);break;case Zb.IN_TABLE_BODY:jy(this,e);break;case Zb.IN_ROW:Qy(this,e);break;case Zb.IN_CELL:!function(e,t){const n=t.tagID;switch(n){case Bv.TD:case Bv.TH:e.openElements.hasInTableScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=Zb.IN_ROW);break;case Bv.TABLE:case Bv.TBODY:case Bv.TFOOT:case Bv.THEAD:case Bv.TR:e.openElements.hasInTableScope(n)&&(e._closeTableCell(),Qy(e,t));break;case Bv.BODY:case Bv.CAPTION:case Bv.COL:case Bv.COLGROUP:case Bv.HTML:break;default:Sy(e,t)}}(this,e);break;case Zb.IN_SELECT:Fy(this,e);break;case Zb.IN_SELECT_IN_TABLE:!function(e,t){const n=t.tagID;n===Bv.CAPTION||n===Bv.TABLE||n===Bv.TBODY||n===Bv.TFOOT||n===Bv.THEAD||n===Bv.TR||n===Bv.TD||n===Bv.TH?e.openElements.hasInTableScope(n)&&(e.openElements.popUntilTagNamePopped(Bv.SELECT),e._resetInsertionMode(),e.onEndTag(t)):Fy(e,t)}(this,e);break;case Zb.IN_TEMPLATE:!function(e,t){t.tagID===Bv.TEMPLATE&&py(e,t)}(this,e);break;case Zb.AFTER_BODY:qy(this,e);break;case Zb.IN_FRAMESET:!function(e,t){t.tagID!==Bv.FRAMESET||e.openElements.isRootHtmlElementCurrent()||(e.openElements.pop(),e.fragmentContext||e.openElements.currentTagId===Bv.FRAMESET||(e.insertionMode=Zb.AFTER_FRAMESET))}(this,e);break;case Zb.AFTER_FRAMESET:!function(e,t){t.tagID===Bv.HTML&&(e.insertionMode=Zb.AFTER_AFTER_FRAMESET)}(this,e);break;case Zb.AFTER_AFTER_BODY:Vy(this,e)}}onEof(e){switch(this.insertionMode){case Zb.INITIAL:ly(this,e);break;case Zb.BEFORE_HTML:cy(this,e);break;case Zb.BEFORE_HEAD:dy(this,e);break;case Zb.IN_HEAD:hy(this,e);break;case Zb.IN_HEAD_NO_SCRIPT:fy(this,e);break;case Zb.AFTER_HEAD:my(this,e);break;case Zb.IN_BODY:case Zb.IN_TABLE:case Zb.IN_CAPTION:case Zb.IN_COLUMN_GROUP:case Zb.IN_TABLE_BODY:case Zb.IN_ROW:case Zb.IN_CELL:case Zb.IN_SELECT:case Zb.IN_SELECT_IN_TABLE:Ey(this,e);break;case Zb.TEXT:!function(e,t){e._err(t,pv.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}(this,e);break;case Zb.IN_TABLE_TEXT:$y(this,e);break;case Zb.IN_TEMPLATE:zy(this,e);break;case Zb.AFTER_BODY:case Zb.IN_FRAMESET:case Zb.AFTER_FRAMESET:case Zb.AFTER_AFTER_BODY:case Zb.AFTER_AFTER_FRAMESET:sy(this,e)}}onWhitespaceCharacter(e){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,e.chars.charCodeAt(0)===av.LINE_FEED)){if(1===e.chars.length)return;e.chars=e.chars.substr(1)}if(this.tokenizer.inForeignNode)this._insertCharacters(e);else switch(this.insertionMode){case Zb.IN_HEAD:case Zb.IN_HEAD_NO_SCRIPT:case Zb.AFTER_HEAD:case Zb.TEXT:case Zb.IN_COLUMN_GROUP:case Zb.IN_SELECT:case Zb.IN_SELECT_IN_TABLE:case Zb.IN_FRAMESET:case Zb.AFTER_FRAMESET:this._insertCharacters(e);break;case Zb.IN_BODY:case Zb.IN_CAPTION:case Zb.IN_CELL:case Zb.IN_TEMPLATE:case Zb.AFTER_BODY:case Zb.AFTER_AFTER_BODY:case Zb.AFTER_AFTER_FRAMESET:vy(this,e);break;case Zb.IN_TABLE:case Zb.IN_TABLE_BODY:case Zb.IN_ROW:Ty(this,e);break;case Zb.IN_TABLE_TEXT:Dy(this,e)}}};function Jb(e,t){let n=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return n?e.openElements.contains(n.element)?e.openElements.hasInScope(t.tagID)||(n=null):(e.activeFormattingElements.removeEntry(n),n=null):_y(e,t),n}function ey(e,t){let n=null,r=e.openElements.stackTop;for(;r>=0;r--){const a=e.openElements.items[r];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[r])&&(n=a)}return n||(e.openElements.shortenToLength(r<0?0:r),e.activeFormattingElements.removeEntry(t)),n}function ty(e,t,n){let r=t,a=e.openElements.getCommonAncestor(t);for(let o=0,i=a;i!==n;o++,i=a){a=e.openElements.getCommonAncestor(i);const n=e.activeFormattingElements.getElementEntry(i),s=n&&o>=Vb;!n||s?(s&&e.activeFormattingElements.removeEntry(n),e.openElements.remove(i)):(i=ny(e,n),r===t&&(e.activeFormattingElements.bookmark=n),e.treeAdapter.detachNode(r),e.treeAdapter.appendChild(i,r),r=i)}return r}function ny(e,t){const n=e.treeAdapter.getNamespaceURI(t.element),r=e.treeAdapter.createElement(t.token.tagName,n,t.token.attrs);return e.openElements.replace(t.element,r),t.element=r,r}function ry(e,t,n){const r=Zv(e.treeAdapter.getTagName(t));if(e._isElementCausesFosterParenting(r))e._fosterParentElement(n);else{const a=e.treeAdapter.getNamespaceURI(t);r===Bv.TEMPLATE&&a===Dv.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,n)}}function ay(e,t,n){const r=e.treeAdapter.getNamespaceURI(n.element),{token:a}=n,o=e.treeAdapter.createElement(a.tagName,r,a.attrs);e._adoptNodes(t,o),e.treeAdapter.appendChild(t,o),e.activeFormattingElements.insertElementAfterBookmark(o,a),e.activeFormattingElements.removeEntry(n),e.openElements.remove(n.element),e.openElements.insertAfter(t,o,a.tagID)}function oy(e,t){for(let n=0;n=n;r--)e._setEndLocation(e.openElements.items[r],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],r=e.treeAdapter.getNodeSourceCodeLocation(n);if(r&&!r.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const n=e.openElements.items[1],r=e.treeAdapter.getNodeSourceCodeLocation(n);r&&!r.endTag&&e._setEndLocation(n,t)}}}}function ly(e,t){e._err(t,pv.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Mv.QUIRKS),e.insertionMode=Zb.BEFORE_HTML,e._processToken(t)}function cy(e,t){e._insertFakeRootElement(),e.insertionMode=Zb.BEFORE_HEAD,e._processToken(t)}function dy(e,t){e._insertFakeElement(Lv.HEAD,Bv.HEAD),e.headElement=e.openElements.current,e.insertionMode=Zb.IN_HEAD,e._processToken(t)}function uy(e,t){switch(t.tagID){case Bv.HTML:ky(e,t);break;case Bv.BASE:case Bv.BASEFONT:case Bv.BGSOUND:case Bv.LINK:case Bv.META:e._appendElement(t,Dv.HTML),t.ackSelfClosing=!0;break;case Bv.TITLE:e._switchToTextParsing(t,eb.RCDATA);break;case Bv.NOSCRIPT:e.options.scriptingEnabled?e._switchToTextParsing(t,eb.RAWTEXT):(e._insertElement(t,Dv.HTML),e.insertionMode=Zb.IN_HEAD_NO_SCRIPT);break;case Bv.NOFRAMES:case Bv.STYLE:e._switchToTextParsing(t,eb.RAWTEXT);break;case Bv.SCRIPT:e._switchToTextParsing(t,eb.SCRIPT_DATA);break;case Bv.TEMPLATE:e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=Zb.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(Zb.IN_TEMPLATE);break;case Bv.HEAD:e._err(t,pv.misplacedStartTagForHeadElement);break;default:hy(e,t)}}function py(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==Bv.TEMPLATE&&e._err(t,pv.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(Bv.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,pv.endTagWithoutMatchingOpenElement)}function hy(e,t){e.openElements.pop(),e.insertionMode=Zb.AFTER_HEAD,e._processToken(t)}function fy(e,t){const n=t.type===fv.EOF?pv.openElementsLeftAfterEof:pv.disallowedContentInNoscriptInHead;e._err(t,n),e.openElements.pop(),e.insertionMode=Zb.IN_HEAD,e._processToken(t)}function my(e,t){e._insertFakeElement(Lv.BODY,Bv.BODY),e.insertionMode=Zb.IN_BODY,gy(e,t)}function gy(e,t){switch(t.type){case fv.CHARACTER:by(e,t);break;case fv.WHITESPACE_CHARACTER:vy(e,t);break;case fv.COMMENT:iy(e,t);break;case fv.START_TAG:ky(e,t);break;case fv.END_TAG:Sy(e,t);break;case fv.EOF:Ey(e,t)}}function vy(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function by(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function yy(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Dv.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Oy(e){const t=vv(e,$v.TYPE);return null!=t&&t.toLowerCase()===qb}function wy(e,t){e._switchToTextParsing(t,eb.RAWTEXT)}function xy(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Dv.HTML)}function ky(e,t){switch(t.tagID){case Bv.I:case Bv.S:case Bv.B:case Bv.U:case Bv.EM:case Bv.TT:case Bv.BIG:case Bv.CODE:case Bv.FONT:case Bv.SMALL:case Bv.STRIKE:case Bv.STRONG:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Dv.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Bv.A:!function(e,t){const n=e.activeFormattingElements.getElementEntryInScopeWithTagName(Lv.A);n&&(oy(e,t),e.openElements.remove(n.element),e.activeFormattingElements.removeEntry(n)),e._reconstructActiveFormattingElements(),e._insertElement(t,Dv.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Bv.H1:case Bv.H2:case Bv.H3:case Bv.H4:case Bv.H5:case Bv.H6:!function(e,t){e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),Yv(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,Dv.HTML)}(e,t);break;case Bv.P:case Bv.DL:case Bv.OL:case Bv.UL:case Bv.DIV:case Bv.DIR:case Bv.NAV:case Bv.MAIN:case Bv.MENU:case Bv.ASIDE:case Bv.CENTER:case Bv.FIGURE:case Bv.FOOTER:case Bv.HEADER:case Bv.HGROUP:case Bv.DIALOG:case Bv.DETAILS:case Bv.ADDRESS:case Bv.ARTICLE:case Bv.SECTION:case Bv.SUMMARY:case Bv.FIELDSET:case Bv.BLOCKQUOTE:case Bv.FIGCAPTION:!function(e,t){e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),e._insertElement(t,Dv.HTML)}(e,t);break;case Bv.LI:case Bv.DD:case Bv.DT:!function(e,t){e.framesetOk=!1;const n=t.tagID;for(let t=e.openElements.stackTop;t>=0;t--){const r=e.openElements.tagIDs[t];if(n===Bv.LI&&r===Bv.LI||(n===Bv.DD||n===Bv.DT)&&(r===Bv.DD||r===Bv.DT)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r);break}if(r!==Bv.ADDRESS&&r!==Bv.DIV&&r!==Bv.P&&e._isSpecialElement(e.openElements.items[t],r))break}e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),e._insertElement(t,Dv.HTML)}(e,t);break;case Bv.BR:case Bv.IMG:case Bv.WBR:case Bv.AREA:case Bv.EMBED:case Bv.KEYGEN:yy(e,t);break;case Bv.HR:!function(e,t){e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),e._appendElement(t,Dv.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}(e,t);break;case Bv.RB:case Bv.RTC:!function(e,t){e.openElements.hasInScope(Bv.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,Dv.HTML)}(e,t);break;case Bv.RT:case Bv.RP:!function(e,t){e.openElements.hasInScope(Bv.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(Bv.RTC),e._insertElement(t,Dv.HTML)}(e,t);break;case Bv.PRE:case Bv.LISTING:!function(e,t){e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),e._insertElement(t,Dv.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}(e,t);break;case Bv.XMP:!function(e,t){e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,eb.RAWTEXT)}(e,t);break;case Bv.SVG:!function(e,t){e._reconstructActiveFormattingElements(),Fb(t),zb(t),t.selfClosing?e._appendElement(t,Dv.SVG):e._insertElement(t,Dv.SVG),t.ackSelfClosing=!0}(e,t);break;case Bv.HTML:!function(e,t){0===e.openElements.tmplCount&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}(e,t);break;case Bv.BASE:case Bv.LINK:case Bv.META:case Bv.STYLE:case Bv.TITLE:case Bv.SCRIPT:case Bv.BGSOUND:case Bv.BASEFONT:case Bv.TEMPLATE:uy(e,t);break;case Bv.BODY:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&0===e.openElements.tmplCount&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(n,t.attrs))}(e,t);break;case Bv.FORM:!function(e,t){const n=e.openElements.tmplCount>0;e.formElement&&!n||(e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),e._insertElement(t,Dv.HTML),n||(e.formElement=e.openElements.current))}(e,t);break;case Bv.NOBR:!function(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(Bv.NOBR)&&(oy(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,Dv.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}(e,t);break;case Bv.MATH:!function(e,t){e._reconstructActiveFormattingElements(),Ub(t),zb(t),t.selfClosing?e._appendElement(t,Dv.MATHML):e._insertElement(t,Dv.MATHML),t.ackSelfClosing=!0}(e,t);break;case Bv.TABLE:!function(e,t){e.treeAdapter.getDocumentMode(e.document)!==Mv.QUIRKS&&e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),e._insertElement(t,Dv.HTML),e.framesetOk=!1,e.insertionMode=Zb.IN_TABLE}(e,t);break;case Bv.INPUT:!function(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,Dv.HTML),Oy(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}(e,t);break;case Bv.PARAM:case Bv.TRACK:case Bv.SOURCE:!function(e,t){e._appendElement(t,Dv.HTML),t.ackSelfClosing=!0}(e,t);break;case Bv.IMAGE:!function(e,t){t.tagName=Lv.IMG,t.tagID=Bv.IMG,yy(e,t)}(e,t);break;case Bv.BUTTON:!function(e,t){e.openElements.hasInScope(Bv.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(Bv.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,Dv.HTML),e.framesetOk=!1}(e,t);break;case Bv.APPLET:case Bv.OBJECT:case Bv.MARQUEE:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Dv.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}(e,t);break;case Bv.IFRAME:!function(e,t){e.framesetOk=!1,e._switchToTextParsing(t,eb.RAWTEXT)}(e,t);break;case Bv.SELECT:!function(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,Dv.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===Zb.IN_TABLE||e.insertionMode===Zb.IN_CAPTION||e.insertionMode===Zb.IN_TABLE_BODY||e.insertionMode===Zb.IN_ROW||e.insertionMode===Zb.IN_CELL?Zb.IN_SELECT_IN_TABLE:Zb.IN_SELECT}(e,t);break;case Bv.OPTION:case Bv.OPTGROUP:!function(e,t){e.openElements.currentTagId===Bv.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,Dv.HTML)}(e,t);break;case Bv.NOEMBED:wy(e,t);break;case Bv.FRAMESET:!function(e,t){const n=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&n&&(e.treeAdapter.detachNode(n),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,Dv.HTML),e.insertionMode=Zb.IN_FRAMESET)}(e,t);break;case Bv.TEXTAREA:!function(e,t){e._insertElement(t,Dv.HTML),e.skipNextNewLine=!0,e.tokenizer.state=eb.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=Zb.TEXT}(e,t);break;case Bv.NOSCRIPT:e.options.scriptingEnabled?wy(e,t):xy(e,t);break;case Bv.PLAINTEXT:!function(e,t){e.openElements.hasInButtonScope(Bv.P)&&e._closePElement(),e._insertElement(t,Dv.HTML),e.tokenizer.state=eb.PLAINTEXT}(e,t);break;case Bv.COL:case Bv.TH:case Bv.TD:case Bv.TR:case Bv.HEAD:case Bv.FRAME:case Bv.TBODY:case Bv.TFOOT:case Bv.THEAD:case Bv.CAPTION:case Bv.COLGROUP:break;default:xy(e,t)}}function _y(e,t){const n=t.tagName,r=t.tagID;for(let t=e.openElements.stackTop;t>0;t--){const a=e.openElements.items[t],o=e.openElements.tagIDs[t];if(r===o&&(r!==Bv.UNKNOWN||e.treeAdapter.getTagName(a)===n)){e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.stackTop>=t&&e.openElements.shortenToLength(t);break}if(e._isSpecialElement(a,o))break}}function Sy(e,t){switch(t.tagID){case Bv.A:case Bv.B:case Bv.I:case Bv.S:case Bv.U:case Bv.EM:case Bv.TT:case Bv.BIG:case Bv.CODE:case Bv.FONT:case Bv.NOBR:case Bv.SMALL:case Bv.STRIKE:case Bv.STRONG:oy(e,t);break;case Bv.P:!function(e){e.openElements.hasInButtonScope(Bv.P)||e._insertFakeElement(Lv.P,Bv.P),e._closePElement()}(e);break;case Bv.DL:case Bv.UL:case Bv.OL:case Bv.DIR:case Bv.DIV:case Bv.NAV:case Bv.PRE:case Bv.MAIN:case Bv.MENU:case Bv.ASIDE:case Bv.BUTTON:case Bv.CENTER:case Bv.FIGURE:case Bv.FOOTER:case Bv.HEADER:case Bv.HGROUP:case Bv.DIALOG:case Bv.ADDRESS:case Bv.ARTICLE:case Bv.DETAILS:case Bv.SECTION:case Bv.SUMMARY:case Bv.LISTING:case Bv.FIELDSET:case Bv.BLOCKQUOTE:case Bv.FIGCAPTION:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Bv.LI:!function(e){e.openElements.hasInListItemScope(Bv.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(Bv.LI),e.openElements.popUntilTagNamePopped(Bv.LI))}(e);break;case Bv.DD:case Bv.DT:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.popUntilTagNamePopped(n))}(e,t);break;case Bv.H1:case Bv.H2:case Bv.H3:case Bv.H4:case Bv.H5:case Bv.H6:!function(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}(e);break;case Bv.BR:!function(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(Lv.BR,Bv.BR),e.openElements.pop(),e.framesetOk=!1}(e);break;case Bv.BODY:!function(e,t){if(e.openElements.hasInScope(Bv.BODY)&&(e.insertionMode=Zb.AFTER_BODY,e.options.sourceCodeLocationInfo)){const n=e.openElements.tryPeekProperlyNestedBodyElement();n&&e._setEndLocation(n,t)}}(e,t);break;case Bv.HTML:!function(e,t){e.openElements.hasInScope(Bv.BODY)&&(e.insertionMode=Zb.AFTER_BODY,qy(e,t))}(e,t);break;case Bv.FORM:!function(e){const t=e.openElements.tmplCount>0,{formElement:n}=e;t||(e.formElement=null),(n||t)&&e.openElements.hasInScope(Bv.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(Bv.FORM):n&&e.openElements.remove(n))}(e);break;case Bv.APPLET:case Bv.OBJECT:case Bv.MARQUEE:!function(e,t){const n=t.tagID;e.openElements.hasInScope(n)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(n),e.activeFormattingElements.clearToLastMarker())}(e,t);break;case Bv.TEMPLATE:py(e,t);break;default:_y(e,t)}}function Ey(e,t){e.tmplInsertionModeStack.length>0?zy(e,t):sy(e,t)}function Ty(e,t){if(Yb.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=Zb.IN_TABLE_TEXT,t.type){case fv.CHARACTER:Ry(e,t);break;case fv.WHITESPACE_CHARACTER:Dy(e,t)}else Py(e,t)}function Cy(e,t){switch(t.tagID){case Bv.TD:case Bv.TH:case Bv.TR:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Lv.TBODY,Bv.TBODY),e.insertionMode=Zb.IN_TABLE_BODY,Ly(e,t)}(e,t);break;case Bv.STYLE:case Bv.SCRIPT:case Bv.TEMPLATE:uy(e,t);break;case Bv.COL:!function(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(Lv.COLGROUP,Bv.COLGROUP),e.insertionMode=Zb.IN_COLUMN_GROUP,My(e,t)}(e,t);break;case Bv.FORM:!function(e,t){e.formElement||0!==e.openElements.tmplCount||(e._insertElement(t,Dv.HTML),e.formElement=e.openElements.current,e.openElements.pop())}(e,t);break;case Bv.TABLE:!function(e,t){e.openElements.hasInTableScope(Bv.TABLE)&&(e.openElements.popUntilTagNamePopped(Bv.TABLE),e._resetInsertionMode(),e._processStartTag(t))}(e,t);break;case Bv.TBODY:case Bv.TFOOT:case Bv.THEAD:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Dv.HTML),e.insertionMode=Zb.IN_TABLE_BODY}(e,t);break;case Bv.INPUT:!function(e,t){Oy(t)?e._appendElement(t,Dv.HTML):Py(e,t),t.ackSelfClosing=!0}(e,t);break;case Bv.CAPTION:!function(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,Dv.HTML),e.insertionMode=Zb.IN_CAPTION}(e,t);break;case Bv.COLGROUP:!function(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,Dv.HTML),e.insertionMode=Zb.IN_COLUMN_GROUP}(e,t);break;default:Py(e,t)}}function Ay(e,t){switch(t.tagID){case Bv.TABLE:e.openElements.hasInTableScope(Bv.TABLE)&&(e.openElements.popUntilTagNamePopped(Bv.TABLE),e._resetInsertionMode());break;case Bv.TEMPLATE:py(e,t);break;case Bv.BODY:case Bv.CAPTION:case Bv.COL:case Bv.COLGROUP:case Bv.HTML:case Bv.TBODY:case Bv.TD:case Bv.TFOOT:case Bv.TH:case Bv.THEAD:case Bv.TR:break;default:Py(e,t)}}function Py(e,t){const n=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,gy(e,t),e.fosterParentingEnabled=n}function Dy(e,t){e.pendingCharacterTokens.push(t)}function Ry(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function $y(e,t){let n=0;if(e.hasNonWhitespacePendingCharacterToken)for(;n0&&e.openElements.currentTagId===Bv.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===Bv.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===Bv.OPTGROUP&&e.openElements.pop();break;case Bv.OPTION:e.openElements.currentTagId===Bv.OPTION&&e.openElements.pop();break;case Bv.SELECT:e.openElements.hasInSelectScope(Bv.SELECT)&&(e.openElements.popUntilTagNamePopped(Bv.SELECT),e._resetInsertionMode());break;case Bv.TEMPLATE:py(e,t)}}function zy(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(Bv.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):sy(e,t)}function qy(e,t){var n;if(t.tagID===Bv.HTML){if(e.fragmentContext||(e.insertionMode=Zb.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===Bv.HTML){e._setEndLocation(e.openElements.items[0],t);const r=e.openElements.items[1];r&&!(null===(n=e.treeAdapter.getNodeSourceCodeLocation(r))||void 0===n?void 0:n.endTag)&&e._setEndLocation(r,t)}}else Hy(e,t)}function Hy(e,t){e.insertionMode=Zb.IN_BODY,gy(e,t)}function Vy(e,t){e.insertionMode=Zb.IN_BODY,gy(e,t)}function Zy(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==Dv.HTML&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Wy(e,t){return Kb.parse(e,t)}function Xy(e,t,n){"string"==typeof e&&(n=t,t=e,e=null);const r=Kb.getFragmentParser(e,n);return r.tokenizer.write(t,!0),r.getFragment()}Lv.AREA,Lv.BASE,Lv.BASEFONT,Lv.BGSOUND,Lv.BR,Lv.COL,Lv.EMBED,Lv.FRAME,Lv.HR,Lv.IMG,Lv.INPUT,Lv.KEYGEN,Lv.LINK,Lv.META,Lv.PARAM,Lv.SOURCE,Lv.TRACK,Lv.WBR;const Yy=Ky("end"),Gy=Ky("start");function Ky(e){return function(t){const n=t&&t.position&&t.position[e]||{};if("number"==typeof n.line&&n.line>0&&"number"==typeof n.column&&n.column>0)return{line:n.line,column:n.column,offset:"number"==typeof n.offset&&n.offset>-1?n.offset:void 0}}}function Jy(e){const t=Gy(e),n=Yy(e);if(t&&n)return{start:t,end:n}}const eO=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),tO={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function nO(e,t){const n=function(e){const t="root"===e.type?e.children[0]:e;return Boolean(t&&("doctype"===t.type||"element"===t.type&&"html"===t.tagName.toLowerCase()))}(e),r=Wg("type",{handlers:{root:aO,element:oO,text:iO,comment:lO,doctype:sO,raw:cO},unknown:dO}),a={parser:n?new Kb(tO):Kb.getFragmentParser(void 0,tO),handle(e){r(e,a)},stitches:!1,options:t||{}};r(e,a),uO(a,Gy());const o=Ug(n?a.parser.document:a.parser.getFragment(),{file:a.options.file});return a.stitches&&pm(o,"comment",(function(e,t,n){const r=e;if(r.value.stitch&&n&&void 0!==t)return n.children[t]=r.value.stitch,t})),"root"===o.type&&1===o.children.length&&o.children[0].type===e.type?o.children[0]:o}function rO(e,t){let n=-1;if(e)for(;++n-1&&o>l||i>-1&&o>i||s>-1&&o>s)return!0;let c=-1;for(;++c1){let e=!1,n=0;for(;++n4&&"data"===t.slice(0,4).toLowerCase())return n}function _O(e){return function(t){const n=function(e,t){let n={type:"root",children:[]};const r=bO({schema:t?{...gO,...t}:gO,stack:[]},e);return r&&(Array.isArray(r)?1===r.length?n=r[0]:n.children=r:n=r),n}(t,e);return n}}const SO=/["&'<>`]/g,EO=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,TO=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,CO=/[|\\{}()[\]^$+*?.]/g,AO=new WeakMap;const PO=/[\dA-Fa-f]/,DO=/\d/,RO=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],$O={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},NO=["cent","copy","divide","gt","lt","not","para","times"],MO={}.hasOwnProperty,IO={};let LO;for(LO in $O)MO.call($O,LO)&&(IO[$O[LO]]=LO);const jO=/[^\dA-Za-z]/;function BO(e,t,n){let r,a=function(e,t,n){const r=""+e.toString(16).toUpperCase();return n&&t&&!PO.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);if((n.useNamedReferences||n.useShortestReferences)&&(r=function(e,t,n,r){const a=String.fromCharCode(e);if(MO.call(IO,a)){const e=IO[a],o="&"+e;return n&&RO.includes(e)&&!NO.includes(e)&&(!r||t&&61!==t&&jO.test(String.fromCharCode(t)))?o:o+";"}return""}(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!r)&&n.useShortestReferences){const r=function(e,t,n){const r=""+String(e);return n&&t&&!DO.test(String.fromCharCode(t))?r:r+";"}(e,t,n.omitOptionalSemicolons);r.length|^->||--!>|"],zO=["<",">"];function qO(e,t){const n=String(e);if("string"!=typeof t)throw new TypeError("Expected character");let r=0,a=n.indexOf(t);for(;-1!==a;)r++,a=n.indexOf(t,a+t.length);return r}const HO=WO(1),VO=WO(-1),ZO=[];function WO(e){return function(t,n,r){const a=t?t.children:ZO;let o=(n||0)+e,i=a[o];if(!r)for(;i&&_m(i);)o+=e,i=a[o];return i}}const XO={}.hasOwnProperty;function YO(e){return function(t,n,r){return XO.call(e,t.tagName)&&e[t.tagName](t,n,r)}}const GO=YO({body:function(e,t,n){const r=HO(n,t);return!r||"comment"!==r.type},caption:KO,colgroup:KO,dd:function(e,t,n){const r=HO(n,t);return!r||"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName)},dt:function(e,t,n){const r=HO(n,t);return Boolean(r&&"element"===r.type&&("dt"===r.tagName||"dd"===r.tagName))},head:KO,html:function(e,t,n){const r=HO(n,t);return!r||"comment"!==r.type},li:function(e,t,n){const r=HO(n,t);return!r||"element"===r.type&&"li"===r.tagName},optgroup:function(e,t,n){const r=HO(n,t);return!r||"element"===r.type&&"optgroup"===r.tagName},option:function(e,t,n){const r=HO(n,t);return!r||"element"===r.type&&("option"===r.tagName||"optgroup"===r.tagName)},p:function(e,t,n){const r=HO(n,t);return r?"element"===r.type&&("address"===r.tagName||"article"===r.tagName||"aside"===r.tagName||"blockquote"===r.tagName||"details"===r.tagName||"div"===r.tagName||"dl"===r.tagName||"fieldset"===r.tagName||"figcaption"===r.tagName||"figure"===r.tagName||"footer"===r.tagName||"form"===r.tagName||"h1"===r.tagName||"h2"===r.tagName||"h3"===r.tagName||"h4"===r.tagName||"h5"===r.tagName||"h6"===r.tagName||"header"===r.tagName||"hgroup"===r.tagName||"hr"===r.tagName||"main"===r.tagName||"menu"===r.tagName||"nav"===r.tagName||"ol"===r.tagName||"p"===r.tagName||"pre"===r.tagName||"section"===r.tagName||"table"===r.tagName||"ul"===r.tagName):!n||!("element"===n.type&&("a"===n.tagName||"audio"===n.tagName||"del"===n.tagName||"ins"===n.tagName||"map"===n.tagName||"noscript"===n.tagName||"video"===n.tagName))},rp:JO,rt:JO,tbody:function(e,t,n){const r=HO(n,t);return!r||"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName)},td:ew,tfoot:function(e,t,n){return!HO(n,t)},th:ew,thead:function(e,t,n){const r=HO(n,t);return Boolean(r&&"element"===r.type&&("tbody"===r.tagName||"tfoot"===r.tagName))},tr:function(e,t,n){const r=HO(n,t);return!r||"element"===r.type&&"tr"===r.tagName}});function KO(e,t,n){const r=HO(n,t,!0);return!r||"comment"!==r.type&&!("text"===r.type&&_m(r.value.charAt(0)))}function JO(e,t,n){const r=HO(n,t);return!r||"element"===r.type&&("rp"===r.tagName||"rt"===r.tagName)}function ew(e,t,n){const r=HO(n,t);return!r||"element"===r.type&&("td"===r.tagName||"th"===r.tagName)}const tw=YO({body:function(e){const t=HO(e,-1,!0);return!(t&&("comment"===t.type||"text"===t.type&&_m(t.value.charAt(0))||"element"===t.type&&("meta"===t.tagName||"link"===t.tagName||"script"===t.tagName||"style"===t.tagName||"template"===t.tagName)))},colgroup:function(e,t,n){const r=VO(n,t),a=HO(e,-1,!0);return!(n&&r&&"element"===r.type&&"colgroup"===r.tagName&&GO(r,n.children.indexOf(r),n))&&Boolean(a&&"element"===a.type&&"col"===a.tagName)},head:function(e){const t=e.children,n=[];let r=-1;for(;++r0},html:function(e){const t=HO(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,n){const r=VO(n,t),a=HO(e,-1);return(!n||!r||"element"!==r.type||"thead"!==r.tagName&&"tbody"!==r.tagName||!GO(r,n.children.indexOf(r),n))&&Boolean(a&&"element"===a.type&&"tr"===a.tagName)}}),nw={name:[["\t\n\f\r &/=>".split(""),"\t\n\f\r \"&'/=>`".split("")],["\0\t\n\f\r \"&'/<=>".split(""),"\0\t\n\f\r \"&'/<=>`".split("")]],unquoted:[["\t\n\f\r &>".split(""),"\0\t\n\f\r \"&'<=>`".split("")],["\0\t\n\f\r \"&'<=>`".split(""),"\0\t\n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function rw(e,t,n){const r=wg(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=e.settings.allowDangerousCharacters?0:1;let i,s=e.quote;if(!r.overloadedBoolean||n!==r.attribute&&""!==n?(r.boolean||r.overloadedBoolean&&"string"!=typeof n)&&(n=Boolean(n)):n=!0,null==n||!1===n||"number"==typeof n&&Number.isNaN(n))return"";const l=QO(r.attribute,Object.assign({},e.settings.characterReferences,{subset:nw.name[a][o]}));return!0===n?l:(n=Array.isArray(n)?(r.commaSeparated?Tg:rm)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n?l:(e.settings.preferUnquoted&&(i=QO(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:nw.unquoted[a][o]}))),i!==n&&(e.settings.quoteSmart&&qO(n,s)>qO(n,e.alternative)&&(s=e.alternative),i=s+QO(n,Object.assign({},e.settings.characterReferences,{subset:("'"===s?nw.single:nw.double)[a][o],attribute:!0}))+s),l+(i?"="+i:i)))}const aw=["<","&"];function ow(e,t,n,r){return!n||"element"!==n.type||"script"!==n.tagName&&"style"!==n.tagName?QO(e.value,Object.assign({},r.settings.characterReferences,{subset:aw})):e.value}const iw=Wg("type",{invalid:function(e){throw new Error("Expected node, not `"+e+"`")},unknown:function(e){throw new Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,n,r){return r.settings.bogusComments?""+QO(e.value,Object.assign({},r.settings.characterReferences,{subset:FO}))+">":"\x3c!--"+e.value.replace(UO,(function(e){return QO(e,Object.assign({},r.settings.characterReferences,{subset:zO}))}))+"--\x3e"},doctype:function(e,t,n,r){return""},element:function(e,t,n,r){const a=r.schema,o="svg"!==a.space&&r.settings.omitOptionalTags;let i="svg"===a.space?r.settings.closeEmptyElements:r.settings.voids.includes(e.tagName.toLowerCase());const s=[];let l;"html"===a.space&&"svg"===e.tagName&&(r.schema=Sg);const c=function(e,t){const n=[];let r,a=-1;if(t)for(r in t)if(null!==t[r]&&void 0!==t[r]){const a=rw(e,r,t[r]);a&&n.push(a)}for(;++a")),s.push(d),i||o&&GO(e,t,n)||s.push(""+e.tagName+">"),s.join("")},raw:function(e,t,n,r){return r.settings.allowDangerousHtml?e.value:ow(e,0,n,r)},root:function(e,t,n,r){return r.all(e)},text:ow}}),sw={},lw={},cw=[];function dw(e,t,n){return iw(e,t,n,this)}function uw(e){const t=[],n=e&&e.children||cw;let r=-1;for(;++r-1&&e.test(String.fromCharCode(t))}}function Ew(e){return"string"==typeof e?new RegExp(function(e){if("string"!=typeof e)throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(e),"g"):e}function Tw(e){return"function"==typeof e?e:function(){return e}}const Cw="phrasing",Aw=["autolink","link","image","label"];function Pw(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Dw(e){this.config.enter.autolinkProtocol.call(this,e)}function Rw(e){this.config.exit.autolinkProtocol.call(this,e)}function $w(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function Nw(e){this.config.exit.autolinkEmail.call(this,e)}function Mw(e){this.exit(e)}function Iw(e){!function(e,t,n){const r=am((n||{}).ignore||[]),a=function(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const n=!e[0]||Array.isArray(e[0])?e:[e];let r=-1;for(;++r0?{type:"text",value:o}:void 0),!1===o?r.lastIndex=n+1:(s!==n&&d.push({type:"text",value:e.value.slice(s,n)}),Array.isArray(o)?d.push(...o):o&&d.push(o),s=n+u[0].length,c=!0),!r.global)break;u=r.exec(e.value)}return c?(s?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let n=t[0],r=n.indexOf(")");const a=qO(e,"(");let o=qO(e,")");for(;-1!==r&&a>o;)e+=n.slice(0,r+1),n=n.slice(r+1),r=n.indexOf(")"),o++;return[e,n]}(n+r);if(!i[0])return!1;const s={type:"link",title:null,url:o+t+i[0],children:[{type:"text",value:t+i[0]}]};return i[1]?[s,{type:"text",value:i[1]}]:s}function jw(e,t,n,r){return!(!Bw(r,!0)||/[-\d_]$/.test(n))&&{type:"link",title:null,url:"mailto:"+t+"@"+n,children:[{type:"text",value:t+"@"+n}]}}function Bw(e,t){const n=e.input.charCodeAt(e.index-1);return(0===e.index||_w(n)||kw(n))&&(!t||47!==n)}function Qw(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}function Uw(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Fw(){this.buffer()}function zw(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Qw(this.sliceSerialize(e)).toLowerCase()}function qw(e){this.exit(e)}function Hw(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Vw(){this.buffer()}function Zw(e){const t=this.resume(),n=this.stack[this.stack.length-1];n.type,n.label=t,n.identifier=Qw(this.sliceSerialize(e)).toLowerCase()}function Ww(e){this.exit(e)}function Xw(e,t,n,r){const a=n.createTracker(r);let o=a.move("[^");const i=n.enter("footnoteReference"),s=n.enter("reference");return o+=a.move(n.safe(n.associationId(e),{...a.current(),before:o,after:"]"})),s(),i(),o+=a.move("]"),o}function Yw(e,t,n,r){const a=n.createTracker(r);let o=a.move("[^");const i=n.enter("footnoteDefinition"),s=n.enter("label");return o+=a.move(n.safe(n.associationId(e),{...a.current(),before:o,after:"]"})),s(),o+=a.move("]:"+(e.children&&e.children.length>0?" ":"")),a.shift(4),o+=a.move(n.indentLines(n.containerFlow(e,a.current()),Gw)),i(),o}function Gw(e,t,n){return 0===t?e:(n?"":" ")+e}Xw.peek=function(){return"["};const Kw=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function Jw(e){this.enter({type:"delete",children:[]},e)}function ex(e){this.exit(e)}function tx(e,t,n,r){const a=n.createTracker(r),o=n.enter("strikethrough");let i=a.move("~~");return i+=n.containerPhrasing(e,{...a.current(),before:i,after:"~"}),i+=a.move("~~"),o(),i}function nx(e){return e.length}function rx(e){const t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:82===t||114===t?114:0}tx.peek=function(){return"~"};const ax={}.hasOwnProperty;function ox(e,t){let n,r=-1;if(t.extensions)for(;++r"+(n?"":" ")+e}function cx(e,t){return dx(e,t.inConstruct,!0)&&!dx(e,t.notInConstruct,!1)}function dx(e,t,n){if("string"==typeof t&&(t=[t]),!t||0===t.length)return n;let r=-1;for(;++r",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":")",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),c+=l.move(")"),i(),c}function kx(e,t,n,r){const a=e.referenceType,o=n.enter("imageReference");let i=n.enter("label");const s=n.createTracker(r);let l=s.move("![");const c=n.safe(e.alt,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const d=n.stack;n.stack=[],i=n.enter("reference");const u=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return i(),n.stack=d,o(),"full"!==a&&c&&c===u?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(u+"]"),l}function _x(e,t,n){let r=e.value||"",a="`",o=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(r);)a+="`";for(/[^ \r\n]/.test(r)&&(/^[ \r\n]/.test(r)&&/[ \r\n]$/.test(r)||/^`|`$/.test(r))&&(r=" "+r+" ");++o\u007F]/.test(e.url))}function Ex(e,t,n,r){const a=fx(n),o='"'===a?"Quote":"Apostrophe",i=n.createTracker(r);let s,l;if(Sx(e,n)){const t=n.stack;n.stack=[],s=n.enter("autolink");let r=i.move("<");return r+=i.move(n.containerPhrasing(e,{before:r,after:">",...i.current()})),r+=i.move(">"),s(),n.stack=t,r}s=n.enter("link"),l=n.enter("label");let c=i.move("[");return c+=i.move(n.containerPhrasing(e,{before:c,after:"](",...i.current()})),c+=i.move("]("),l(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(l=n.enter("destinationLiteral"),c+=i.move("<"),c+=i.move(n.safe(e.url,{before:c,after:">",...i.current()})),c+=i.move(">")):(l=n.enter("destinationRaw"),c+=i.move(n.safe(e.url,{before:c,after:e.title?" ":")",...i.current()}))),l(),e.title&&(l=n.enter(`title${o}`),c+=i.move(" "+a),c+=i.move(n.safe(e.title,{before:c,after:a,...i.current()})),c+=i.move(a),l()),c+=i.move(")"),s(),c}function Tx(e,t,n,r){const a=e.referenceType,o=n.enter("linkReference");let i=n.enter("label");const s=n.createTracker(r);let l=s.move("[");const c=n.containerPhrasing(e,{before:l,after:"]",...s.current()});l+=s.move(c+"]["),i();const d=n.stack;n.stack=[],i=n.enter("reference");const u=n.safe(n.associationId(e),{before:l,after:"]",...s.current()});return i(),n.stack=d,o(),"full"!==a&&c&&c===u?"shortcut"===a?l=l.slice(0,-1):l+=s.move("]"):l+=s.move(u+"]"),l}function Cx(e){const t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function Ax(e){const t=e.options.rule||"*";if("*"!==t&&"-"!==t&&"_"!==t)throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}wx.peek=function(){return"<"},xx.peek=function(){return"!"},kx.peek=function(){return"!"},_x.peek=function(){return"`"},Ex.peek=function(e,t,n){return Sx(e,n)?"<":"["},Tx.peek=function(){return"["};const Px=am(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Dx(e,t,n,r){const a=function(e){const t=e.options.strong||"*";if("*"!==t&&"_"!==t)throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}(n),o=n.enter("strong"),i=n.createTracker(r);let s=i.move(a+a);return s+=i.move(n.containerPhrasing(e,{before:s,after:a,...i.current()})),s+=i.move(a+a),o(),s}Dx.peek=function(e,t,n){return n.options.strong||"*"};const Rx={blockquote:function(e,t,n,r){const a=n.enter("blockquote"),o=n.createTracker(r);o.move("> "),o.shift(2);const i=n.indentLines(n.containerFlow(e,o.current()),lx);return a(),i},break:ux,code:function(e,t,n,r){const a=function(e){const t=e.options.fence||"`";if("`"!==t&&"~"!==t)throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}(n),o=e.value||"",i="`"===a?"GraveAccent":"Tilde";if(px(e,n)){const e=n.enter("codeIndented"),t=n.indentLines(o,hx);return e(),t}const s=n.createTracker(r),l=a.repeat(Math.max(function(e,t){const n=String(e);let r=n.indexOf(t),a=r,o=0,i=0;if("string"!=typeof t)throw new TypeError("Expected substring");for(;-1!==r;)r===a?++o>i&&(i=o):o=1,a=r+t.length,r=n.indexOf(t,a);return i}(o,a)+1,3)),c=n.enter("codeFenced");let d=s.move(l);if(e.lang){const t=n.enter(`codeFencedLang${i}`);d+=s.move(n.safe(e.lang,{before:d,after:" ",encode:["`"],...s.current()})),t()}if(e.lang&&e.meta){const t=n.enter(`codeFencedMeta${i}`);d+=s.move(" "),d+=s.move(n.safe(e.meta,{before:d,after:"\n",encode:["`"],...s.current()})),t()}return d+=s.move("\n"),o&&(d+=s.move(o+"\n")),d+=s.move(l),c(),d},definition:function(e,t,n,r){const a=fx(n),o='"'===a?"Quote":"Apostrophe",i=n.enter("definition");let s=n.enter("label");const l=n.createTracker(r);let c=l.move("[");return c+=l.move(n.safe(n.associationId(e),{before:c,after:"]",...l.current()})),c+=l.move("]: "),s(),!e.url||/[\0- \u007F]/.test(e.url)?(s=n.enter("destinationLiteral"),c+=l.move("<"),c+=l.move(n.safe(e.url,{before:c,after:">",...l.current()})),c+=l.move(">")):(s=n.enter("destinationRaw"),c+=l.move(n.safe(e.url,{before:c,after:e.title?" ":"\n",...l.current()}))),s(),e.title&&(s=n.enter(`title${o}`),c+=l.move(" "+a),c+=l.move(n.safe(e.title,{before:c,after:a,...l.current()})),c+=l.move(a),s()),i(),c},emphasis:mx,hardBreak:ux,heading:function(e,t,n,r){const a=Math.max(Math.min(6,e.depth||1),1),o=n.createTracker(r);if(Ox(e,n)){const t=n.enter("headingSetext"),r=n.enter("phrasing"),i=n.containerPhrasing(e,{...o.current(),before:"\n",after:"\n"});return r(),t(),i+"\n"+(1===a?"=":"-").repeat(i.length-(Math.max(i.lastIndexOf("\r"),i.lastIndexOf("\n"))+1))}const i="#".repeat(a),s=n.enter("headingAtx"),l=n.enter("phrasing");o.move(i+" ");let c=n.containerPhrasing(e,{before:"# ",after:"\n",...o.current()});return/^[\t ]/.test(c)&&(c=""+c.charCodeAt(0).toString(16).toUpperCase()+";"+c.slice(1)),c=c?i+" "+c:i,n.options.closeAtx&&(c+=" "+i),l(),s(),c},html:wx,image:xx,imageReference:kx,inlineCode:_x,link:Ex,linkReference:Tx,list:function(e,t,n,r){const a=n.enter("list"),o=n.bulletCurrent;let i=e.ordered?function(e){const t=e.options.bulletOrdered||".";if("."!==t&&")"!==t)throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}(n):Cx(n);const s=e.ordered?"."===i?")":".":function(e){const t=Cx(e),n=e.options.bulletOther;if(!n)return"*"===t?"-":"*";if("*"!==n&&"+"!==n&&"-"!==n)throw new Error("Cannot serialize items with `"+n+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(n===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+n+"`) to be different");return n}(n);let l=!(!t||!n.bulletLastUsed)&&i===n.bulletLastUsed;if(!e.ordered){const t=e.children?e.children[0]:void 0;if("*"!==i&&"-"!==i||!t||t.children&&t.children[0]||"list"!==n.stack[n.stack.length-1]||"listItem"!==n.stack[n.stack.length-2]||"list"!==n.stack[n.stack.length-3]||"listItem"!==n.stack[n.stack.length-4]||0!==n.indexStack[n.indexStack.length-1]||0!==n.indexStack[n.indexStack.length-2]||0!==n.indexStack[n.indexStack.length-3]||(l=!0),Ax(n)===i&&t){let t=-1;for(;++t-1?t.start:1)+(!1===n.options.incrementListMarker?0:t.children.indexOf(e))+o);let i=o.length+1;("tab"===a||"mixed"===a&&(t&&"list"===t.type&&t.spread||e.spread))&&(i=4*Math.ceil(i/4));const s=n.createTracker(r);s.move(o+" ".repeat(i-o.length)),s.shift(i);const l=n.enter("listItem"),c=n.indentLines(n.containerFlow(e,s.current()),(function(e,t,n){return t?(n?"":" ".repeat(i))+e:(n?o:o+" ".repeat(i-o.length))+e}));return l(),c},paragraph:function(e,t,n,r){const a=n.enter("paragraph"),o=n.enter("phrasing"),i=n.containerPhrasing(e,r);return o(),a(),i},root:function(e,t,n,r){return(e.children.some((function(e){return Px(e)}))?n.containerPhrasing:n.containerFlow).call(n,e,r)},strong:Dx,text:function(e,t,n,r){return n.safe(e.value,r)},thematicBreak:function(e,t,n){const r=(Ax(n)+(n.options.ruleSpaces?" ":"")).repeat(function(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}(n));return n.options.ruleSpaces?r.slice(0,-1):r}},$x=[function(e,t,n,r){if("code"===t.type&&px(t,r)&&("list"===e.type||e.type===t.type&&px(e,r)))return!1;if("spread"in n&&"boolean"==typeof n.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&Ox(t,r)))return;return n.spread?1:0}}],Nx=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],Mx=[{character:"\t",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",before:"[\\r\\n]",inConstruct:"phrasing"},{character:"\t",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:Nx},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:Nx},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \t\r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:Nx},{atBreak:!0,character:"+",after:"(?:[ \t\r\n])"},{atBreak:!0,character:"-",after:"(?:[ \t\r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \t\r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:Nx},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:Nx},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:Nx},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:Nx},{atBreak:!0,character:"~"}],Ix=document.createElement("i");function Lx(e){const t="&"+e+";";Ix.innerHTML=t;const n=Ix.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===e)&&n!==t&&n}function jx(e,t){const n=Number.parseInt(e,t);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||!(65535&~n)||65534==(65535&n)||n>1114111?"�":String.fromCodePoint(n)}const Bx=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Qx(e){return e.replace(Bx,Ux)}function Ux(e,t,n){if(t)return t;if(35===n.charCodeAt(0)){const e=n.charCodeAt(1),t=120===e||88===e;return jx(n.slice(t?2:1),t?16:10)}return Lx(n)||e}function Fx(e){return e.label||!e.identifier?e.label||"":Qx(e.identifier)}function zx(e){if(!e._compiled){const t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=new RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}function qx(e,t,n,r){let a=r.join.length;for(;a--;){const o=r.join[a](e,t,n,r);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}const Hx=/\r?\n|\r/g;function Vx(e,t){const n=[];let r,a=0,o=0;for(;r=Hx.exec(e);)i(e.slice(a,r.index)),n.push(r[0]),a=r.index+r[0].length,o++;return i(e.slice(a)),n.join("");function i(e){n.push(t(e,o,!e))}}function Zx(e,t){return e-t}function Wx(e,t){const n=/\\(?=[!-/:-@[-`{-~])/g,r=[],a=[],o=e+t;let i,s=-1,l=0;for(;i=n.exec(o);)r.push(i.index);for(;++s0&&("\r"===s||"\n"===s)&&"html"===c.type&&(o[o.length-1]=o[o.length-1].replace(/(\r?\n|\r)$/," "),s=" ",l=t.createTracker(n),l.move(o.join(""))),o.push(l.move(t.handle(c,e,t,{...l.current(),before:s,after:d}))),s=o[o.length-1].slice(-1)}return r.pop(),o.join("")}(e,this,t)}function tk(e,t){return function(e,t,n){const r=t.indexStack,a=e.children||[],o=t.createTracker(n),i=[];let s=-1;for(r.push(-1);++s=c||e+1l&&(l=e[c].length);++us[u])&&(s[u]=e)}n.push(o)}o[c]=n,i[c]=a}var d;let u=-1;if("object"==typeof n&&"length"in n)for(;++us[u]&&(s[u]=o),h[u]=o),p[u]=i}o.splice(1,0,p),i.splice(1,0,h),c=-1;const f=[];for(;++ca?0:a+t:t>a?a:t,n=n>0?n:0,r.length<1e4)o=Array.from(r),o.unshift(t,n),e.splice(...o);else for(n&&e.splice(t,n);i0?(fk(e,e.length,0,t),e):t}const gk={}.hasOwnProperty;function vk(e){const t={};let n=-1;for(;++n0&&!n&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),n}function Mk(e){const t=[];let n=-1,r=0,a=0;for(;++n55295&&o<57344){const t=e.charCodeAt(n+1);o<56320&&t>56319&&t<57344?(i=String.fromCharCode(o,t),a=1):i="�"}else i=String.fromCharCode(o);i&&(t.push(e.slice(r,n),encodeURIComponent(i)),r=n+a+1,i=""),a&&(n+=a,a=0)}return t.join("")+e.slice(r)}function Ik(e){return null===e||ww(e)||_w(e)?1:kw(e)?2:void 0}function Lk(e,t,n){const r=[];let a=-1;for(;++a1&&e[d][1].end.offset-e[d][1].start.offset>1?2:1;const u=Object.assign({},e[n][1].end),p=Object.assign({},e[d][1].start);Bk(u,-s),Bk(p,s),o={type:s>1?"strongSequence":"emphasisSequence",start:u,end:Object.assign({},e[n][1].end)},i={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[d][1].start),end:p},a={type:s>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[d][1].start)},r={type:s>1?"strong":"emphasis",start:Object.assign({},o.start),end:Object.assign({},i.end)},e[n][1].end=Object.assign({},o.start),e[d][1].start=Object.assign({},i.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=mk(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=mk(l,[["enter",r,t],["enter",o,t],["exit",o,t],["enter",a,t]]),l=mk(l,Lk(t.parser.constructs.insideSpan.null,e.slice(n+1,d),t)),l=mk(l,[["exit",a,t],["enter",i,t],["exit",i,t],["exit",r,t]]),e[d][1].end.offset-e[d][1].start.offset?(c=2,l=mk(l,[["enter",e[d][1],t],["exit",e[d][1],t]])):c=0,fk(e,n-1,d-n+3,l),d=n+l.length-c-2;break}for(d=-1;++d=s?(e.exit("codeFencedFenceSequence"),xw(t)?Uk(e,d,"whitespace")(t):d(t)):n(t)}function d(r){return null===r||Ow(r)?(e.exit("codeFencedFence"),t(r)):n(r)}},partial:!0};let o,i=0,s=0;return function(t){return function(t){const n=r.events[r.events.length-1];return i=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,o=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),l(t)}(t)};function l(t){return t===o?(s++,e.consume(t),l):s<3?n(t):(e.exit("codeFencedFenceSequence"),xw(t)?Uk(e,c,"whitespace")(t):c(t))}function c(n){return null===n||Ow(n)?(e.exit("codeFencedFence"),r.interrupt?t(n):e.check(Vk,h,b)(n)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(n))}function d(t){return null===t||Ow(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),c(t)):xw(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Uk(e,u,"whitespace")(t)):96===t&&t===o?n(t):(e.consume(t),d)}function u(t){return null===t||Ow(t)?c(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),p(t))}function p(t){return null===t||Ow(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),c(t)):96===t&&t===o?n(t):(e.consume(t),p)}function h(t){return e.attempt(a,b,f)(t)}function f(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),m}function m(t){return i>0&&xw(t)?Uk(e,g,"linePrefix",i+1)(t):g(t)}function g(t){return null===t||Ow(t)?e.check(Vk,h,b)(t):(e.enter("codeFlowValue"),v(t))}function v(t){return null===t||Ow(t)?(e.exit("codeFlowValue"),g(t)):(e.consume(t),v)}function b(n){return e.exit("codeFenced"),t(n)}},concrete:!0},Wk={name:"codeIndented",tokenize:function(e,t,n){const r=this;return function(t){return e.enter("codeIndented"),Uk(e,a,"linePrefix",5)(t)};function a(e){const t=r.events[r.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):n(e)}function o(t){return null===t?s(t):Ow(t)?e.attempt(Xk,o,s)(t):(e.enter("codeFlowValue"),i(t))}function i(t){return null===t||Ow(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),i)}function s(n){return e.exit("codeIndented"),t(n)}}},Xk={tokenize:function(e,t,n){const r=this;return a;function a(t){return r.parser.lazy[r.now().line]?n(t):Ow(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):Uk(e,o,"linePrefix",5)(t)}function o(e){const o=r.events[r.events.length-1];return o&&"linePrefix"===o[1].type&&o[2].sliceSerialize(o[1],!0).length>=4?t(e):Ow(e)?a(e):n(e)}},partial:!0},Yk={name:"codeText",tokenize:function(e,t,n){let r,a,o=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),i(t)};function i(t){return 96===t?(e.consume(t),o++,i):(e.exit("codeTextSequence"),s(t))}function s(t){return null===t?n(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),s):96===t?(a=e.enter("codeTextSequence"),r=0,c(t)):Ow(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),s):(e.enter("codeTextData"),l(t))}function l(t){return null===t||32===t||96===t||Ow(t)?(e.exit("codeTextData"),s(t)):(e.consume(t),l)}function c(n){return 96===n?(e.consume(n),r++,c):r===o?(e.exit("codeTextSequence"),e.exit("codeText"),t(n)):(a.type="codeTextData",l(n))}},resolve:function(e){let t,n,r=e.length-4,a=3;if(!("lineEnding"!==e[a][1].type&&"space"!==e[a][1].type||"lineEnding"!==e[r][1].type&&"space"!==e[r][1].type))for(t=a;++t=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return ethis.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(e,t,n){const r=t||0;this.setCursor(Math.trunc(e));const a=this.right.splice(this.right.length-r,Number.POSITIVE_INFINITY);return n&&Kk(this.left,n),a.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(e){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(e)}pushMany(e){this.setCursor(Number.POSITIVE_INFINITY),Kk(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),Kk(this.right,e.reverse())}setCursor(e){if(!(e===this.left.length||e>this.left.length&&0===this.right.length||e<0&&0===this.left.length))if(e=4?t(a):e.interrupt(r.parser.constructs.flow,n,t)(a)}},partial:!0};function r_(e,t,n,r,a,o,i,s,l){const c=l||Number.POSITIVE_INFINITY;let d=0;return function(t){return 60===t?(e.enter(r),e.enter(a),e.enter(o),e.consume(t),e.exit(o),u):null===t||32===t||41===t||gw(t)?n(t):(e.enter(r),e.enter(i),e.enter(s),e.enter("chunkString",{contentType:"string"}),f(t))};function u(n){return 62===n?(e.enter(o),e.consume(n),e.exit(o),e.exit(a),e.exit(r),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),p(n))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(s),u(t)):null===t||60===t||Ow(t)?n(t):(e.consume(t),92===t?h:p)}function h(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function f(a){return d||null!==a&&41!==a&&!ww(a)?d999||null===u||91===u||93===u&&!s||94===u&&!l&&"_hiddenFootnoteSupport"in i.parser.constructs?n(u):93===u?(e.exit(o),e.enter(a),e.consume(u),e.exit(a),e.exit(r),t):Ow(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),d(u))}function d(t){return null===t||91===t||93===t||Ow(t)||l++>999?(e.exit("chunkString"),c(t)):(e.consume(t),s||(s=!xw(t)),92===t?u:d)}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,d):d(t)}}function o_(e,t,n,r,a,o){let i;return function(t){return 34===t||39===t||40===t?(e.enter(r),e.enter(a),e.consume(t),e.exit(a),i=40===t?41:t,s):n(t)};function s(n){return n===i?(e.enter(a),e.consume(n),e.exit(a),e.exit(r),t):(e.enter(o),l(n))}function l(t){return t===i?(e.exit(o),s(i)):null===t?n(t):Ow(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),Uk(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===i||null===t||Ow(t)?(e.exit("chunkString"),l(t)):(e.consume(t),92===t?d:c)}function d(t){return t===i||92===t?(e.consume(t),c):c(t)}}function i_(e,t){let n;return function r(a){return Ow(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),n=!0,r):xw(a)?Uk(e,r,n?"linePrefix":"lineSuffix")(a):t(a)}}const s_={name:"definition",tokenize:function(e,t,n){const r=this;let a;return function(t){return e.enter("definition"),function(t){return a_.call(r,e,o,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}(t)};function o(t){return a=Qw(r.sliceSerialize(r.events[r.events.length-1][1]).slice(1,-1)),58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),i):n(t)}function i(t){return ww(t)?i_(e,s)(t):s(t)}function s(t){return r_(e,l,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function l(t){return e.attempt(l_,c,c)(t)}function c(t){return xw(t)?Uk(e,d,"whitespace")(t):d(t)}function d(o){return null===o||Ow(o)?(e.exit("definition"),r.parser.defined.push(a),t(o)):n(o)}}},l_={tokenize:function(e,t,n){return function(t){return ww(t)?i_(e,r)(t):n(t)};function r(t){return o_(e,a,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return xw(t)?Uk(e,o,"whitespace")(t):o(t)}function o(e){return null===e||Ow(e)?t(e):n(e)}},partial:!0},c_={name:"hardBreakEscape",tokenize:function(e,t,n){return function(t){return e.enter("hardBreakEscape"),e.consume(t),r};function r(r){return Ow(r)?(e.exit("hardBreakEscape"),t(r)):n(r)}}},d_={name:"headingAtx",tokenize:function(e,t,n){let r=0;return function(t){return e.enter("atxHeading"),function(t){return e.enter("atxHeadingSequence"),a(t)}(t)};function a(t){return 35===t&&r++<6?(e.consume(t),a):null===t||ww(t)?(e.exit("atxHeadingSequence"),o(t)):n(t)}function o(n){return 35===n?(e.enter("atxHeadingSequence"),i(n)):null===n||Ow(n)?(e.exit("atxHeading"),t(n)):xw(n)?Uk(e,o,"whitespace")(n):(e.enter("atxHeadingText"),s(n))}function i(t){return 35===t?(e.consume(t),i):(e.exit("atxHeadingSequence"),o(t))}function s(t){return null===t||35===t||ww(t)?(e.exit("atxHeadingText"),o(t)):(e.consume(t),s)}},resolve:function(e,t){let n,r,a=e.length-2,o=3;return"whitespace"===e[o][1].type&&(o+=2),a-2>o&&"whitespace"===e[a][1].type&&(a-=2),"atxHeadingSequence"===e[a][1].type&&(o===a-1||a-4>o&&"whitespace"===e[a-2][1].type)&&(a-=o+1===a?2:4),a>o&&(n={type:"atxHeadingText",start:e[o][1].start,end:e[a][1].end},r={type:"chunkText",start:e[o][1].start,end:e[a][1].end,contentType:"text"},fk(e,o,a-o+1,[["enter",n,t],["enter",r,t],["exit",r,t],["exit",n,t]])),e}},u_=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],p_=["pre","script","style","textarea"],h_={name:"htmlFlow",tokenize:function(e,t,n){const r=this;let a,o,i,s,l;return function(t){return function(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),c}(t)};function c(s){return 33===s?(e.consume(s),d):47===s?(e.consume(s),o=!0,h):63===s?(e.consume(s),a=3,r.interrupt?t:N):hw(s)?(e.consume(s),i=String.fromCharCode(s),f):n(s)}function d(o){return 45===o?(e.consume(o),a=2,u):91===o?(e.consume(o),a=5,s=0,p):hw(o)?(e.consume(o),a=4,r.interrupt?t:N):n(o)}function u(a){return 45===a?(e.consume(a),r.interrupt?t:N):n(a)}function p(a){return a==="CDATA[".charCodeAt(s++)?(e.consume(a),6===s?r.interrupt?t:E:p):n(a)}function h(t){return hw(t)?(e.consume(t),i=String.fromCharCode(t),f):n(t)}function f(s){if(null===s||47===s||62===s||ww(s)){const l=47===s,c=i.toLowerCase();return l||o||!p_.includes(c)?u_.includes(i.toLowerCase())?(a=6,l?(e.consume(s),m):r.interrupt?t(s):E(s)):(a=7,r.interrupt&&!r.parser.lazy[r.now().line]?n(s):o?g(s):v(s)):(a=1,r.interrupt?t(s):E(s))}return 45===s||fw(s)?(e.consume(s),i+=String.fromCharCode(s),f):n(s)}function m(a){return 62===a?(e.consume(a),r.interrupt?t:E):n(a)}function g(t){return xw(t)?(e.consume(t),g):_(t)}function v(t){return 47===t?(e.consume(t),_):58===t||95===t||hw(t)?(e.consume(t),b):xw(t)?(e.consume(t),v):_(t)}function b(t){return 45===t||46===t||58===t||95===t||fw(t)?(e.consume(t),b):y(t)}function y(t){return 61===t?(e.consume(t),O):xw(t)?(e.consume(t),y):v(t)}function O(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),l=t,w):xw(t)?(e.consume(t),O):x(t)}function w(t){return t===l?(e.consume(t),l=null,k):null===t||Ow(t)?n(t):(e.consume(t),w)}function x(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||ww(t)?y(t):(e.consume(t),x)}function k(e){return 47===e||62===e||xw(e)?v(e):n(e)}function _(t){return 62===t?(e.consume(t),S):n(t)}function S(t){return null===t||Ow(t)?E(t):xw(t)?(e.consume(t),S):n(t)}function E(t){return 45===t&&2===a?(e.consume(t),P):60===t&&1===a?(e.consume(t),D):62===t&&4===a?(e.consume(t),M):63===t&&3===a?(e.consume(t),N):93===t&&5===a?(e.consume(t),$):!Ow(t)||6!==a&&7!==a?null===t||Ow(t)?(e.exit("htmlFlowData"),T(t)):(e.consume(t),E):(e.exit("htmlFlowData"),e.check(f_,I,T)(t))}function T(t){return e.check(m_,C,I)(t)}function C(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),A}function A(t){return null===t||Ow(t)?T(t):(e.enter("htmlFlowData"),E(t))}function P(t){return 45===t?(e.consume(t),N):E(t)}function D(t){return 47===t?(e.consume(t),i="",R):E(t)}function R(t){if(62===t){const n=i.toLowerCase();return p_.includes(n)?(e.consume(t),M):E(t)}return hw(t)&&i.length<8?(e.consume(t),i+=String.fromCharCode(t),R):E(t)}function $(t){return 93===t?(e.consume(t),N):E(t)}function N(t){return 62===t?(e.consume(t),M):45===t&&2===a?(e.consume(t),N):E(t)}function M(t){return null===t||Ow(t)?(e.exit("htmlFlowData"),I(t)):(e.consume(t),M)}function I(n){return e.exit("htmlFlow"),t(n)}},resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},concrete:!0},f_={tokenize:function(e,t,n){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e.attempt(Fk,t,n)}},partial:!0},m_={tokenize:function(e,t,n){const r=this;return function(t){return Ow(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):n(t)};function a(e){return r.parser.lazy[r.now().line]?n(e):t(e)}},partial:!0},g_={name:"htmlText",tokenize:function(e,t,n){const r=this;let a,o,i;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),s};function s(t){return 33===t?(e.consume(t),l):47===t?(e.consume(t),O):63===t?(e.consume(t),b):hw(t)?(e.consume(t),k):n(t)}function l(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),o=0,h):hw(t)?(e.consume(t),v):n(t)}function c(t){return 45===t?(e.consume(t),p):n(t)}function d(t){return null===t?n(t):45===t?(e.consume(t),u):Ow(t)?(i=d,R(t)):(e.consume(t),d)}function u(t){return 45===t?(e.consume(t),p):d(t)}function p(e){return 62===e?D(e):45===e?u(e):d(e)}function h(t){return t==="CDATA[".charCodeAt(o++)?(e.consume(t),6===o?f:h):n(t)}function f(t){return null===t?n(t):93===t?(e.consume(t),m):Ow(t)?(i=f,R(t)):(e.consume(t),f)}function m(t){return 93===t?(e.consume(t),g):f(t)}function g(t){return 62===t?D(t):93===t?(e.consume(t),g):f(t)}function v(t){return null===t||62===t?D(t):Ow(t)?(i=v,R(t)):(e.consume(t),v)}function b(t){return null===t?n(t):63===t?(e.consume(t),y):Ow(t)?(i=b,R(t)):(e.consume(t),b)}function y(e){return 62===e?D(e):b(e)}function O(t){return hw(t)?(e.consume(t),w):n(t)}function w(t){return 45===t||fw(t)?(e.consume(t),w):x(t)}function x(t){return Ow(t)?(i=x,R(t)):xw(t)?(e.consume(t),x):D(t)}function k(t){return 45===t||fw(t)?(e.consume(t),k):47===t||62===t||ww(t)?_(t):n(t)}function _(t){return 47===t?(e.consume(t),D):58===t||95===t||hw(t)?(e.consume(t),S):Ow(t)?(i=_,R(t)):xw(t)?(e.consume(t),_):D(t)}function S(t){return 45===t||46===t||58===t||95===t||fw(t)?(e.consume(t),S):E(t)}function E(t){return 61===t?(e.consume(t),T):Ow(t)?(i=E,R(t)):xw(t)?(e.consume(t),E):_(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?n(t):34===t||39===t?(e.consume(t),a=t,C):Ow(t)?(i=T,R(t)):xw(t)?(e.consume(t),T):(e.consume(t),A)}function C(t){return t===a?(e.consume(t),a=void 0,P):null===t?n(t):Ow(t)?(i=C,R(t)):(e.consume(t),C)}function A(t){return null===t||34===t||39===t||60===t||61===t||96===t?n(t):47===t||62===t||ww(t)?_(t):(e.consume(t),A)}function P(e){return 47===e||62===e||ww(e)?_(e):n(e)}function D(r){return 62===r?(e.consume(r),e.exit("htmlTextData"),e.exit("htmlText"),t):n(r)}function R(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),$}function $(t){return xw(t)?Uk(e,N,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):N(t)}function N(t){return e.enter("htmlTextData"),i(t)}}},v_={name:"labelEnd",tokenize:function(e,t,n){const r=this;let a,o,i=r.events.length;for(;i--;)if(("labelImage"===r.events[i][1].type||"labelLink"===r.events[i][1].type)&&!r.events[i][1]._balanced){a=r.events[i][1];break}return function(t){return a?a._inactive?d(t):(o=r.parser.defined.includes(Qw(r.sliceSerialize({start:a.end,end:r.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),s):n(t)};function s(t){return 40===t?e.attempt(b_,c,o?c:d)(t):91===t?e.attempt(y_,c,o?l:d)(t):o?c(t):d(t)}function l(t){return e.attempt(O_,c,d)(t)}function c(e){return t(e)}function d(e){return a._balanced=!0,n(e)}},resolveTo:function(e,t){let n,r,a,o,i=e.length,s=0;for(;i--;)if(n=e[i][1],r){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===e[i][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(a){if("enter"===e[i][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(r=i,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(a=i);const l={type:"labelLink"===e[r][1].type?"link":"image",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)},c={type:"label",start:Object.assign({},e[r][1].start),end:Object.assign({},e[a][1].end)},d={type:"labelText",start:Object.assign({},e[r+s+2][1].end),end:Object.assign({},e[a-2][1].start)};return o=[["enter",l,t],["enter",c,t]],o=mk(o,e.slice(r+1,r+s+3)),o=mk(o,[["enter",d,t]]),o=mk(o,Lk(t.parser.constructs.insideSpan.null,e.slice(r+s+4,a-3),t)),o=mk(o,[["exit",d,t],e[a-2],e[a-1],["exit",c,t]]),o=mk(o,e.slice(a+1)),o=mk(o,[["exit",l,t]]),fk(e,r,e.length,o),e},resolveAll:function(e){let t=-1;for(;++t=3&&(null===o||Ow(o))?(e.exit("thematicBreak"),t(o)):n(o)}function i(t){return t===r?(e.consume(t),a++,i):(e.exit("thematicBreakSequence"),xw(t)?Uk(e,o,"whitespace")(t):o(t))}}},S_={name:"list",tokenize:function(e,t,n){const r=this,a=r.events[r.events.length-1];let o=a&&"linePrefix"===a[1].type?a[2].sliceSerialize(a[1],!0).length:0,i=0;return function(t){const a=r.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===a?!r.containerState.marker||t===r.containerState.marker:vw(t)){if(r.containerState.type||(r.containerState.type=a,e.enter(a,{_container:!0})),"listUnordered"===a)return e.enter("listItemPrefix"),42===t||45===t?e.check(__,n,l)(t):l(t);if(!r.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),s(t)}return n(t)};function s(t){return vw(t)&&++i<10?(e.consume(t),s):(!r.interrupt||i<2)&&(r.containerState.marker?t===r.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),l(t)):n(t)}function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),r.containerState.marker=r.containerState.marker||t,e.check(Fk,r.interrupt?n:c,e.attempt(E_,u,d))}function c(e){return r.containerState.initialBlankLine=!0,o++,u(e)}function d(t){return xw(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):n(t)}function u(n){return r.containerState.size=o+r.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(n)}},continuation:{tokenize:function(e,t,n){const r=this;return r.containerState._closeFlow=void 0,e.check(Fk,(function(n){return r.containerState.furtherBlankLines=r.containerState.furtherBlankLines||r.containerState.initialBlankLine,Uk(e,t,"listItemIndent",r.containerState.size+1)(n)}),(function(n){return r.containerState.furtherBlankLines||!xw(n)?(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,a(n)):(r.containerState.furtherBlankLines=void 0,r.containerState.initialBlankLine=void 0,e.attempt(T_,t,a)(n))}));function a(a){return r.containerState._closeFlow=!0,r.interrupt=void 0,Uk(e,e.attempt(S_,t,n),"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(a)}}},exit:function(e){e.exit(this.containerState.type)}},E_={tokenize:function(e,t,n){const r=this;return Uk(e,(function(e){const a=r.events[r.events.length-1];return!xw(e)&&a&&"listItemPrefixWhitespace"===a[1].type?t(e):n(e)}),"listItemPrefixWhitespace",r.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},T_={tokenize:function(e,t,n){const r=this;return Uk(e,(function(e){const a=r.events[r.events.length-1];return a&&"listItemIndent"===a[1].type&&a[2].sliceSerialize(a[1],!0).length===r.containerState.size?t(e):n(e)}),"listItemIndent",r.containerState.size+1)},partial:!0},C_={name:"setextUnderline",tokenize:function(e,t,n){const r=this;let a;return function(t){let i,s=r.events.length;for(;s--;)if("lineEnding"!==r.events[s][1].type&&"linePrefix"!==r.events[s][1].type&&"content"!==r.events[s][1].type){i="paragraph"===r.events[s][1].type;break}return r.parser.lazy[r.now().line]||!r.interrupt&&!i?n(t):(e.enter("setextHeadingLine"),a=t,function(t){return e.enter("setextHeadingLineSequence"),o(t)}(t))};function o(t){return t===a?(e.consume(t),o):(e.exit("setextHeadingLineSequence"),xw(t)?Uk(e,i,"lineSuffix")(t):i(t))}function i(r){return null===r||Ow(r)?(e.exit("setextHeadingLine"),t(r)):n(r)}},resolveTo:function(e,t){let n,r,a,o=e.length;for(;o--;)if("enter"===e[o][0]){if("content"===e[o][1].type){n=o;break}"paragraph"===e[o][1].type&&(r=o)}else"content"===e[o][1].type&&e.splice(o,1),a||"definition"!==e[o][1].type||(a=o);const i={type:"setextHeading",start:Object.assign({},e[r][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[r][1].type="setextHeadingText",a?(e.splice(r,0,["enter",i,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=i,e.push(["exit",i,t]),e}},A_={tokenize:function(e,t,n){const r=this;return Uk(e,(function(e){const a=r.events[r.events.length-1];return a&&"gfmFootnoteDefinitionIndent"===a[1].type&&4===a[2].sliceSerialize(a[1],!0).length?t(e):n(e)}),"gfmFootnoteDefinitionIndent",5)},partial:!0};function P_(e,t,n){const r=this;let a=r.events.length;const o=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let i;for(;a--;){const e=r.events[a][1];if("labelImage"===e.type){i=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!i||!i._balanced)return n(a);const s=Qw(r.sliceSerialize({start:i.end,end:r.now()}));return 94===s.codePointAt(0)&&o.includes(s.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):n(a)}}function D_(e,t){let n=e.length;for(;n--;)if("labelImage"===e[n][1].type&&"enter"===e[n][0]){e[n][1];break}e[n+1][1].type="data",e[n+3][1].type="gfmFootnoteCallLabelMarker";const r={type:"gfmFootnoteCall",start:Object.assign({},e[n+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[n+3][1].end),end:Object.assign({},e[n+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const o={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},i={type:"chunkString",contentType:"string",start:Object.assign({},o.start),end:Object.assign({},o.end)},s=[e[n+1],e[n+2],["enter",r,t],e[n+3],e[n+4],["enter",a,t],["exit",a,t],["enter",o,t],["enter",i,t],["exit",i,t],["exit",o,t],e[e.length-2],e[e.length-1],["exit",r,t]];return e.splice(n,e.length-n+1,...s),e}function R_(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,i=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),s};function s(t){return 94!==t?n(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(s){if(i>999||93===s&&!o||null===s||91===s||ww(s))return n(s);if(93===s){e.exit("chunkString");const o=e.exit("gfmFootnoteCallString");return a.includes(Qw(r.sliceSerialize(o)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(s),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):n(s)}return ww(s)||(o=!0),i++,e.consume(s),92===s?c:l}function c(t){return 91===t||92===t||93===t?(e.consume(t),i++,l):l(t)}}function $_(e,t,n){const r=this,a=r.parser.gfmFootnotes||(r.parser.gfmFootnotes=[]);let o,i,s=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),l};function l(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):n(t)}function c(t){if(s>999||93===t&&!i||null===t||91===t||ww(t))return n(t);if(93===t){e.exit("chunkString");const n=e.exit("gfmFootnoteDefinitionLabelString");return o=Qw(r.sliceSerialize(n)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),u}return ww(t)||(i=!0),s++,e.consume(t),92===t?d:c}function d(t){return 91===t||92===t||93===t?(e.consume(t),s++,c):c(t)}function u(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),a.includes(o)||a.push(o),Uk(e,p,"gfmFootnoteDefinitionWhitespace")):n(t)}function p(e){return t(e)}}function N_(e,t,n){return e.check(Fk,t,e.attempt(A_,t,n))}function M_(e){e.exit("gfmFootnoteDefinition")}function I_(e){let t=(e||{}).singleTilde;const n={tokenize:function(e,n,r){const a=this.previous,o=this.events;let i=0;return function(t){return 126===a&&"characterEscape"!==o[o.length-1][1].type?r(t):(e.enter("strikethroughSequenceTemporary"),s(t))};function s(o){const l=Ik(a);if(126===o)return i>1?r(o):(e.consume(o),i++,s);if(i<2&&!t)return r(o);const c=e.exit("strikethroughSequenceTemporary"),d=Ik(o);return c._open=!d||2===d&&Boolean(l),c._close=!l||2===l&&Boolean(d),n(o)}},resolveAll:function(e,t){let n=-1;for(;++n0;)t-=1,n.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];n.push([...e]),e.length=0;let r=n.pop();for(;r;)e.push(...r),r=n.pop();this.map.length=0}}function j_(e,t){let n=!1;const r=[];for(;t-1;){const e=r.events[t][1].type;if("lineEnding"!==e&&"linePrefix"!==e)break;t--}const a=t>-1?r.events[t][1].type:null,o="tableHead"===a||"tableRow"===a?O:s;return o===O&&r.parser.lazy[r.now().line]?n(e):o(e)};function s(t){return e.enter("tableHead"),e.enter("tableRow"),function(e){return 124===e||(a=!0,i+=1),l(e)}(t)}function l(t){return null===t?n(t):Ow(t)?i>1?(i=0,r.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),u):n(t):xw(t)?Uk(e,l,"whitespace")(t):(i+=1,a&&(a=!1,o+=1),124===t?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),a=!0,l):(e.enter("data"),c(t)))}function c(t){return null===t||124===t||ww(t)?(e.exit("data"),l(t)):(e.consume(t),92===t?d:c)}function d(t){return 92===t||124===t?(e.consume(t),c):c(t)}function u(t){return r.interrupt=!1,r.parser.lazy[r.now().line]?n(t):(e.enter("tableDelimiterRow"),a=!1,xw(t)?Uk(e,p,"linePrefix",r.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t))}function p(t){return 45===t||58===t?f(t):124===t?(a=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),h):y(t)}function h(t){return xw(t)?Uk(e,f,"whitespace")(t):f(t)}function f(t){return 58===t?(i+=1,a=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),m):45===t?(i+=1,m(t)):null===t||Ow(t)?b(t):y(t)}function m(t){return 45===t?(e.enter("tableDelimiterFiller"),g(t)):y(t)}function g(t){return 45===t?(e.consume(t),g):58===t?(a=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),v):(e.exit("tableDelimiterFiller"),v(t))}function v(t){return xw(t)?Uk(e,b,"whitespace")(t):b(t)}function b(n){return 124===n?p(n):(null===n||Ow(n))&&a&&o===i?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(n)):y(n)}function y(e){return n(e)}function O(t){return e.enter("tableRow"),w(t)}function w(n){return 124===n?(e.enter("tableCellDivider"),e.consume(n),e.exit("tableCellDivider"),w):null===n||Ow(n)?(e.exit("tableRow"),t(n)):xw(n)?Uk(e,w,"whitespace")(n):(e.enter("data"),x(n))}function x(t){return null===t||124===t||ww(t)?(e.exit("data"),w(t)):(e.consume(t),92===t?k:x)}function k(t){return 92===t||124===t?(e.consume(t),x):x(t)}}function Q_(e,t){let n,r,a,o=-1,i=!0,s=0,l=[0,0,0,0],c=[0,0,0,0],d=!1,u=0;const p=new L_;for(;++on[2]+1){const t=n[2]+1,r=n[3]-n[2]-1;e.add(t,r,[])}}e.add(n[3]+1,0,[["exit",i,t]])}return void 0!==a&&(o.end=Object.assign({},z_(t.events,a)),e.add(a,0,[["exit",o,t]]),o=void 0),o}function F_(e,t,n,r,a){const o=[],i=z_(t.events,n);a&&(a.end=Object.assign({},i),o.push(["exit",a,t])),r.end=Object.assign({},i),o.push(["exit",r,t]),e.add(n+1,0,o)}function z_(e,t){const n=e[t],r="enter"===n[0]?"start":"end";return n[1][r]}const q_={tokenize:function(e,t,n){const r=this;return function(t){return null===r.previous&&r._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),a):n(t)};function a(t){return ww(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),o):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),o):n(t)}function o(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),i):n(t)}function i(r){return Ow(r)?t(r):xw(r)?e.check({tokenize:H_},t,n)(r):n(r)}}};function H_(e,t,n){return Uk(e,(function(e){return null===e?n(e):t(e)}),"whitespace")}const V_={};function Z_(e){const t=e||V_,n=this.data(),r=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);r.push(function(e){return vk([{text:Ck},{document:{91:{tokenize:$_,continuation:{tokenize:N_},exit:M_}},text:{91:{tokenize:R_},93:{add:"after",tokenize:P_,resolveTo:D_}}},I_(e),{flow:{null:{tokenize:B_,resolveAll:Q_}}},{text:{91:q_}}])}(t)),a.push([{transforms:[Iw],enter:{literalAutolink:Pw,literalAutolinkEmail:Dw,literalAutolinkHttp:Dw,literalAutolinkWww:Dw},exit:{literalAutolink:Mw,literalAutolinkEmail:Nw,literalAutolinkHttp:Rw,literalAutolinkWww:$w}},{enter:{gfmFootnoteDefinition:Uw,gfmFootnoteDefinitionLabelString:Fw,gfmFootnoteCall:Hw,gfmFootnoteCallString:Vw},exit:{gfmFootnoteDefinition:qw,gfmFootnoteDefinitionLabelString:zw,gfmFootnoteCall:Ww,gfmFootnoteCallString:Zw}},{canContainEols:["delete"],enter:{strikethrough:Jw},exit:{strikethrough:ex}},{enter:{table:rk,tableData:sk,tableHeader:sk,tableRow:ok},exit:{codeText:lk,table:ak,tableData:ik,tableHeader:ik,tableRow:ik}},{exit:{taskListCheckValueChecked:uk,taskListCheckValueUnchecked:uk,paragraph:pk}}]),o.push(function(e){return{extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:Cw,notInConstruct:Aw},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:Cw,notInConstruct:Aw},{character:":",before:"[ps]",after:"\\/",inConstruct:Cw,notInConstruct:Aw}]},{unsafe:[{character:"[",inConstruct:["phrasing","label","reference"]}],handlers:{footnoteDefinition:Yw,footnoteReference:Xw}},{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Kw}],handlers:{delete:tx}},dk(e),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:hk}}]}}(t))}const W_={tokenize:function(e){const t=e.attempt(this.parser.constructs.contentInitial,(function(n){if(null!==n)return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Uk(e,t,"linePrefix");e.consume(n)}),(function(t){return e.enter("paragraph"),r(t)}));let n;return t;function r(t){const r=e.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=r),n=r,a(t)}function a(t){return null===t?(e.exit("chunkText"),e.exit("paragraph"),void e.consume(t)):Ow(t)?(e.consume(t),e.exit("chunkText"),r):(e.consume(t),a)}}},X_={tokenize:function(e){const t=this,n=[];let r,a,o,i=0;return s;function s(r){if(io))return;const n=t.events.length;let a,s,l=n;for(;l--;)if("exit"===t.events[l][0]&&"chunkFlow"===t.events[l][1].type){if(a){s=t.events[l][1].end;break}a=!0}for(v(i),e=n;er;){const r=n[a];t.containerState=r[1],r[0].exit.call(t,e)}n.length=r}function b(){r.write([null]),a=void 0,r=void 0,t.containerState._closeFlow=void 0}}},Y_={tokenize:function(e,t,n){return Uk(e,e.attempt(this.parser.constructs.document,t,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},G_={tokenize:function(e){const t=this,n=e.attempt(Fk,(function(r){if(null!==r)return e.enter("lineEndingBlank"),e.consume(r),e.exit("lineEndingBlank"),t.currentConstruct=void 0,n;e.consume(r)}),e.attempt(this.parser.constructs.flowInitial,r,Uk(e,e.attempt(this.parser.constructs.flow,r,e.attempt(t_,r)),"linePrefix")));return n;function r(r){if(null!==r)return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),t.currentConstruct=void 0,n;e.consume(r)}}},K_={resolveAll:nS()},J_=tS("string"),eS=tS("text");function tS(e){return{tokenize:function(t){const n=this,r=this.parser.constructs[e],a=t.attempt(r,o,i);return o;function o(e){return l(e)?a(e):i(e)}function i(e){if(null!==e)return t.enter("data"),t.consume(e),s;t.consume(e)}function s(e){return l(e)?(t.exit("data"),a(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;const t=r[e];let a=-1;if(t)for(;++a-1){const e=i[0];"string"==typeof e?i[0]=e.slice(r):i.shift()}o>0&&i.push(e[a].slice(0,o))}return i}(i,e)}function p(){const{line:e,column:t,offset:n,_index:a,_bufferIndex:o}=r;return{line:e,column:t,offset:n,_index:a,_bufferIndex:o}}function h(e){d=d(e)}function f(e,t){t.restore()}function m(e,t){return function(n,a,o){let i,d,u,h;return Array.isArray(n)?f(n):"tokenize"in n?f([n]):function(e){return function(t){const n=null!==t&&e[t],r=null!==t&&e.null;return f([...Array.isArray(n)?n:n?[n]:[],...Array.isArray(r)?r:r?[r]:[]])(t)}}(n);function f(e){return i=e,d=0,0===e.length?o:m(e[d])}function m(e){return function(n){return h=function(){const e=p(),t=c.previous,n=c.currentConstruct,a=c.events.length,o=Array.from(s);return{restore:function(){r=e,c.previous=t,c.currentConstruct=n,c.events.length=a,s=o,v()},from:a}}(),u=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name)?b():e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,g,b)(n)}}function g(t){return e(u,h),a}function b(e){return h.restore(),++d0){const e=s.tokenStack[s.tokenStack.length-1];(e[1]||kS).call(s,void 0,e[0])}for(a.position={start:OS(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:OS(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u1:t}const TS=9,CS=32;function AS(e){const t=String(e),n=/\r?\n|\r/g;let r=n.exec(t),a=0;const o=[];for(;r;)o.push(PS(t.slice(a,r.index),a>0,!0),r[0]),a=r.index+r[0].length,r=n.exec(t);return o.push(PS(t.slice(a),a>0,!1)),o.join("")}function PS(e,t,n){let r=0,a=e.length;if(t){let t=e.codePointAt(r);for(;t===TS||t===CS;)r++,t=e.codePointAt(r)}if(n){let t=e.codePointAt(a-1);for(;t===TS||t===CS;)a--,t=e.codePointAt(a-1)}return a>r?e.slice(r,a):""}const DS={blockquote:function(e,t){const n={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,n),e.applyData(t,n)},break:function(e,t){const n={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,n),[e.applyData(t,n),{type:"text",value:"\n"}]},code:function(e,t){const n=t.value?t.value+"\n":"",r={};t.lang&&(r.className=["language-"+t.lang]);let a={type:"element",tagName:"code",properties:r,children:[{type:"text",value:n}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a},delete:function(e,t){const n={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},emphasis:function(e,t){const n={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},footnoteReference:function(e,t){const n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=String(t.identifier).toUpperCase(),a=Mk(r.toLowerCase()),o=e.footnoteOrder.indexOf(r);let i,s=e.footnoteCounts.get(r);void 0===s?(s=0,e.footnoteOrder.push(r),i=e.footnoteOrder.length):i=o+1,s+=1,e.footnoteCounts.set(r,s);const l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(i)}]};e.patch(t,l);const c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){const n={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},html:function(e,t){if(e.options.allowDangerousHtml){const n={type:"raw",value:t.value};return e.patch(t,n),e.applyData(t,n)}},imageReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return SS(e,t);const a={src:Mk(r.url||""),alt:t.alt};null!==r.title&&void 0!==r.title&&(a.title=r.title);const o={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,o),e.applyData(t,o)},image:function(e,t){const n={src:Mk(t.url)};null!==t.alt&&void 0!==t.alt&&(n.alt=t.alt),null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"img",properties:n,children:[]};return e.patch(t,r),e.applyData(t,r)},inlineCode:function(e,t){const n={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,n);const r={type:"element",tagName:"code",properties:{},children:[n]};return e.patch(t,r),e.applyData(t,r)},linkReference:function(e,t){const n=String(t.identifier).toUpperCase(),r=e.definitionById.get(n);if(!r)return SS(e,t);const a={href:Mk(r.url||"")};null!==r.title&&void 0!==r.title&&(a.title=r.title);const o={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,o),e.applyData(t,o)},link:function(e,t){const n={href:Mk(t.url)};null!==t.title&&void 0!==t.title&&(n.title=t.title);const r={type:"element",tagName:"a",properties:n,children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},listItem:function(e,t,n){const r=e.all(t),a=n?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;const n=e.children;let r=-1;for(;!t&&++r0&&n.children.unshift({type:"text",value:" "}),n.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),o.className=["task-list-item"]}let s=-1;for(;++s0){const r={type:"element",tagName:"tbody",properties:{},children:e.wrap(n,!0)},o=Gy(t.children[1]),i=Yy(t.children[t.children.length-1]);o&&i&&(r.position={start:o,end:i}),a.push(r)}const o={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,o),e.applyData(t,o)},tableCell:function(e,t){const n={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},tableRow:function(e,t,n){const r=n?n.children:void 0,a=0===(r?r.indexOf(t):1)?"th":"td",o=n&&"table"===n.type?n.align:void 0,i=o?o.length:t.children.length;let s=-1;const l=[];for(;++s1&&n.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),n}function NS(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}const MS={}.hasOwnProperty,IS={};function LS(e,t){e.position&&(t.position=Jy(e))}function jS(e,t){let n=t;if(e&&e.data){const t=e.data.hName,r=e.data.hChildren,a=e.data.hProperties;"string"==typeof t&&("element"===n.type?n.tagName=t:n={type:"element",tagName:t,properties:{},children:"children"in n?n.children:[n]}),"element"===n.type&&a&&Object.assign(n.properties,Wf(a)),"children"in n&&n.children&&null!=r&&(n.children=r)}return n}function BS(e,t){const n=t.data||{},r=!("value"in t)||MS.call(n,"hProperties")||MS.call(n,"hChildren")?{type:"element",tagName:"div",properties:{},children:e.all(t)}:{type:"text",value:t.value};return e.patch(t,r),e.applyData(t,r)}function QS(e,t){const n=[];let r=-1;for(t&&n.push({type:"text",value:"\n"});++r0&&n.push({type:"text",value:"\n"}),n}function US(e){let t=0,n=e.charCodeAt(t);for(;9===n||32===n;)t++,n=e.charCodeAt(t);return e.slice(t)}function FS(e,t){const n=function(e,t){const n=t||IS,r=new Map,a=new Map,o=new Map,i={...DS,...n.handlers},s={all:function(e){const t=[];if("children"in e){const n=e.children;let r=-1;for(;++r0&&u.push({type:"text",value:" "});let e="string"==typeof n?n:n(l,d);"string"==typeof e&&(e={type:"text",value:e}),u.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof r?r:r(l,d),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}const h=o[o.length-1];if(h&&"element"===h.type&&"p"===h.tagName){const e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...u)}else o.push(...u);const f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(o,!0)};e.patch(a,f),s.push(f)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:o,properties:{...Wf(i),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)},{type:"text",value:"\n"}]}}(n),o=Array.isArray(r)?{type:"root",children:r}:r||{type:"root",children:[]};return a&&o.children.push({type:"text",value:"\n"},a),o}function zS(e,t){return e&&"run"in e?async function(n,r){const a=FS(n,{file:r,...t});await e.run(a,r)}:function(n,r){return FS(n,{file:r,...t||e})}}function qS(e){const t=this;t.compiler=function(n){return Yx(n,{...t.data("settings"),...e,extensions:t.data("toMarkdownExtensions")||[]})}}function HS(e){if(e)throw e}var VS=Object.prototype.hasOwnProperty,ZS=Object.prototype.toString,WS=Object.defineProperty,XS=Object.getOwnPropertyDescriptor,YS=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===ZS.call(e)},GS=function(e){if(!e||"[object Object]"!==ZS.call(e))return!1;var t,n=VS.call(e,"constructor"),r=e.constructor&&e.constructor.prototype&&VS.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!n&&!r)return!1;for(t in e);return void 0===t||VS.call(e,t)},KS=function(e,t){WS&&"__proto__"===t.name?WS(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},JS=function(e,t){if("__proto__"===t){if(!VS.call(e,t))return;if(XS)return XS(e,t).value}return e[t]};const eE=df((function e(){var t,n,r,a,o,i,s=arguments[0],l=1,c=arguments.length,d=!1;for("boolean"==typeof s&&(d=s,s=arguments[1]||{},l=2),(null==s||"object"!=typeof s&&"function"!=typeof s)&&(s={});le.length){for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else a<0&&(n=!0,a=o+1);return a<0?"":e.slice(r,a)}if(t===e)return"";let i=-1,s=t.length-1;for(;o--;)if(47===e.codePointAt(o)){if(n){r=o+1;break}}else i<0&&(n=!0,i=o+1),s>-1&&(e.codePointAt(o)===t.codePointAt(s--)?s<0&&(a=o):(s=-1,a=i));return r===a?a=i:a<0&&(a=e.length),e.slice(r,a)},aE=function(e){if(lE(e),0===e.length)return".";let t,n=-1,r=e.length;for(;--r;)if(47===e.codePointAt(r)){if(t){n=r;break}}else t||(t=!0);return n<0?47===e.codePointAt(0)?"/":".":1===n&&47===e.codePointAt(0)?"//":e.slice(0,n)},oE=function(e){lE(e);let t,n=e.length,r=-1,a=0,o=-1,i=0;for(;n--;){const s=e.codePointAt(n);if(47!==s)r<0&&(t=!0,r=n+1),46===s?o<0?o=n:1!==i&&(i=1):o>-1&&(i=-1);else if(t){a=n+1;break}}return o<0||r<0||0===i||1===i&&o===r-1&&o===a+1?"":e.slice(o,r)},iE=function(...e){let t,n=-1;for(;++n2){if(r=a.lastIndexOf("/"),r!==a.length-1){r<0?(a="",o=0):(a=a.slice(0,r),o=a.length-1-a.lastIndexOf("/")),i=l,s=0;continue}}else if(a.length>0){a="",o=0,i=l,s=0;continue}t&&(a=a.length>0?a+"/..":"..",o=2)}else a.length>0?a+="/"+e.slice(i+1,l):a=e.slice(i+1,l),o=l-i-1;i=l,s=0}else 46===n&&s>-1?s++:s=-1}return a}(e,!t);return 0!==n.length||t||(n="."),n.length>0&&47===e.codePointAt(e.length-1)&&(n+="/"),t?"/"+n:n}(t)},sE="/";function lE(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const cE=function(){return"/"};function dE(e){return Boolean(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}const uE=["history","path","basename","stem","extname","dirname"];class pE{constructor(e){let t;t=e?dE(e)?{path:e}:"string"==typeof e||function(e){return Boolean(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd=cE(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n,r=-1;for(;++rt.length;let i;o&&t.push(r);try{i=e.apply(this,t)}catch(e){if(o&&n)throw e;return r(e)}o||(i&&i.then&&"function"==typeof i.then?i.then(a,r):i instanceof Error?r(i):a(i))};function r(e,...r){n||(n=!0,t(e,...r))}function a(e){r(null,e)}}(s,a)(...i):r(null,...i)}}(null,...t)},use:function(n){if("function"!=typeof n)throw new TypeError("Expected `middelware` to be a function, not "+n);return e.push(n),t}};return t}()}copy(){const e=new bE;let t=-1;for(;++t0){let[r,...o]=t;const i=n[a][1];tE(i)&&tE(r)&&(r=eE(!0,i,r)),n[a]=[e,r,...o]}}}}const yE=(new bE).freeze();function OE(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `parser`")}function wE(e,t){if("function"!=typeof t)throw new TypeError("Cannot `"+e+"` without `compiler`")}function xE(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function kE(e){if(!tE(e)||"string"!=typeof e.type)throw new TypeError("Expected node, got `"+e+"`")}function _E(e,t,n){if(!n)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function SE(e){return function(e){return Boolean(e&&"object"==typeof e&&"message"in e&&"messages"in e)}(e)?e:new pE(e)}const EE=function(e,t,n){const r=am(n);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if("number"==typeof t){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw new Error("Expected child node or index");for(;++tl&&(l=e):e&&(void 0!==l&&l>-1&&s.push("\n".repeat(l)||" "),l=-1,s.push(e))}return s.join("")}function IE(e,t,n){return"element"===e.type?function(e,t,n){const r=BE(e,n),a=e.children||[];let o,i,s=-1,l=[];if($E(e))return l;for(AE(e)||RE(e)&&EE(t,e,RE)?i="\n":DE(e)?(o=2,i=2):NE(e)&&(o=1,i=1);++sXE(e,t,n-1)))}const YE="[A-Za-z$_][0-9A-Za-z$_]*",GE=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],KE=["true","false","null","undefined","NaN","Infinity"],JE=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],eT=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],tT=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],nT=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],rT=[].concat(tT,JE,eT);var aT="[0-9](_*[0-9])*",oT=`\\.(${aT})`,iT="[0-9a-fA-F](_*[0-9a-fA-F])*",sT={className:"number",variants:[{begin:`(\\b(${aT})((${oT})|\\.)?|(${oT}))[eE][+-]?(${aT})[fFdD]?\\b`},{begin:`\\b(${aT})((${oT})[fFdD]?\\b|\\.([fFdD]\\b)?)`},{begin:`(${oT})[fFdD]?\\b`},{begin:`\\b(${aT})[fFdD]\\b`},{begin:`\\b0[xX]((${iT})\\.?|(${iT})?\\.(${iT}))[pP][+-]?(${aT})[fFdD]?\\b`},{begin:"\\b(0|[1-9](_*[0-9])*)[lL]?\\b"},{begin:`\\b0[xX](${iT})[lL]?\\b`},{begin:"\\b0(_*[0-7])*[lL]?\\b"},{begin:"\\b0[bB][01](_*[01])*[lL]?\\b"}],relevance:0};const lT=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],cT=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],dT=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],uT=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],pT=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse(),hT=dT.concat(uT),fT=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],mT=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],gT=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],vT=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],bT=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function yT(e){return e?"string"==typeof e?e:e.source:null}function OT(e){return wT("(?=",e,")")}function wT(...e){return e.map((e=>yT(e))).join("")}function xT(...e){const t=function(e){const t=e[e.length-1];return"object"==typeof t&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}(e);return"("+(t.capture?"":"?:")+e.map((e=>yT(e))).join("|")+")"}const kT=e=>wT(/\b/,e,/\w$/.test(e)?/\b/:/\B/),_T=["Protocol","Type"].map(kT),ST=["init","self"].map(kT),ET=["Any","Self"],TT=["actor","any","associatedtype","async","await",/as\?/,/as!/,"as","borrowing","break","case","catch","class","consume","consuming","continue","convenience","copy","default","defer","deinit","didSet","distributed","do","dynamic","each","else","enum","extension","fallthrough",/fileprivate\(set\)/,"fileprivate","final","for","func","get","guard","if","import","indirect","infix",/init\?/,/init!/,"inout",/internal\(set\)/,"internal","in","is","isolated","nonisolated","lazy","let","macro","mutating","nonmutating",/open\(set\)/,"open","operator","optional","override","postfix","precedencegroup","prefix",/private\(set\)/,"private","protocol",/public\(set\)/,"public","repeat","required","rethrows","return","set","some","static","struct","subscript","super","switch","throws","throw",/try\?/,/try!/,"try","typealias",/unowned\(safe\)/,/unowned\(unsafe\)/,"unowned","var","weak","where","while","willSet"],CT=["false","nil","true"],AT=["assignment","associativity","higherThan","left","lowerThan","none","right"],PT=["#colorLiteral","#column","#dsohandle","#else","#elseif","#endif","#error","#file","#fileID","#fileLiteral","#filePath","#function","#if","#imageLiteral","#keyPath","#line","#selector","#sourceLocation","#warning"],DT=["abs","all","any","assert","assertionFailure","debugPrint","dump","fatalError","getVaList","isKnownUniquelyReferenced","max","min","numericCast","pointwiseMax","pointwiseMin","precondition","preconditionFailure","print","readLine","repeatElement","sequence","stride","swap","swift_unboxFromSwiftValueWithType","transcode","type","unsafeBitCast","unsafeDowncast","withExtendedLifetime","withUnsafeMutablePointer","withUnsafePointer","withVaList","withoutActuallyEscaping","zip"],RT=xT(/[/=\-+!*%<>&|^~?]/,/[\u00A1-\u00A7]/,/[\u00A9\u00AB]/,/[\u00AC\u00AE]/,/[\u00B0\u00B1]/,/[\u00B6\u00BB\u00BF\u00D7\u00F7]/,/[\u2016-\u2017]/,/[\u2020-\u2027]/,/[\u2030-\u203E]/,/[\u2041-\u2053]/,/[\u2055-\u205E]/,/[\u2190-\u23FF]/,/[\u2500-\u2775]/,/[\u2794-\u2BFF]/,/[\u2E00-\u2E7F]/,/[\u3001-\u3003]/,/[\u3008-\u3020]/,/[\u3030]/),$T=xT(RT,/[\u0300-\u036F]/,/[\u1DC0-\u1DFF]/,/[\u20D0-\u20FF]/,/[\uFE00-\uFE0F]/,/[\uFE20-\uFE2F]/),NT=wT(RT,$T,"*"),MT=xT(/[a-zA-Z_]/,/[\u00A8\u00AA\u00AD\u00AF\u00B2-\u00B5\u00B7-\u00BA]/,/[\u00BC-\u00BE\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u00FF]/,/[\u0100-\u02FF\u0370-\u167F\u1681-\u180D\u180F-\u1DBF]/,/[\u1E00-\u1FFF]/,/[\u200B-\u200D\u202A-\u202E\u203F-\u2040\u2054\u2060-\u206F]/,/[\u2070-\u20CF\u2100-\u218F\u2460-\u24FF\u2776-\u2793]/,/[\u2C00-\u2DFF\u2E80-\u2FFF]/,/[\u3004-\u3007\u3021-\u302F\u3031-\u303F\u3040-\uD7FF]/,/[\uF900-\uFD3D\uFD40-\uFDCF\uFDF0-\uFE1F\uFE30-\uFE44]/,/[\uFE47-\uFEFE\uFF00-\uFFFD]/),IT=xT(MT,/\d/,/[\u0300-\u036F\u1DC0-\u1DFF\u20D0-\u20FF\uFE20-\uFE2F]/),LT=wT(MT,IT,"*"),jT=wT(/[A-Z]/,IT,"*"),BT=["attached","autoclosure",wT(/convention\(/,xT("swift","block","c"),/\)/),"discardableResult","dynamicCallable","dynamicMemberLookup","escaping","freestanding","frozen","GKInspectable","IBAction","IBDesignable","IBInspectable","IBOutlet","IBSegueAction","inlinable","main","nonobjc","NSApplicationMain","NSCopying","NSManaged",wT(/objc\(/,LT,/\)/),"objc","objcMembers","propertyWrapper","requires_stored_property_inits","resultBuilder","Sendable","testable","UIApplicationMain","unchecked","unknown","usableFromInline","warn_unqualified_access"],QT=["iOS","iOSApplicationExtension","macOS","macOSApplicationExtension","macCatalyst","macCatalystApplicationExtension","watchOS","watchOSApplicationExtension","tvOS","tvOSApplicationExtension","swift"],UT="[A-Za-z$_][0-9A-Za-z$_]*",FT=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],zT=["true","false","null","undefined","NaN","Infinity"],qT=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],HT=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],VT=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],ZT=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],WT=[].concat(VT,qT,HT);function XT(e){const t=e.regex,n=t.concat(/[\p{L}_]/u,t.optional(/[\p{L}0-9_.-]*:/u),/[\p{L}0-9_.-]*/u),r={className:"symbol",begin:/&[a-z]+;|[0-9]+;|[a-f0-9]+;/},a={begin:/\s/,contains:[{className:"keyword",begin:/#?[a-z_][a-z1-9_-]+/,illegal:/\n/}]},o=e.inherit(a,{begin:/\(/,end:/\)/}),i=e.inherit(e.APOS_STRING_MODE,{className:"string"}),s=e.inherit(e.QUOTE_STRING_MODE,{className:"string"}),l={endsWithParent:!0,illegal:/,relevance:0,contains:[{className:"attr",begin:/[\p{L}0-9._:-]+/u,relevance:0},{begin:/=\s*/,relevance:0,contains:[{className:"string",endsParent:!0,variants:[{begin:/"/,end:/"/,contains:[r]},{begin:/'/,end:/'/,contains:[r]},{begin:/[^\s"'=<>`]+/}]}]}]};return{name:"HTML, XML",aliases:["html","xhtml","rss","atom","xjb","xsd","xsl","plist","wsf","svg"],case_insensitive:!0,unicodeRegex:!0,contains:[{className:"meta",begin://,relevance:10,contains:[a,s,i,o,{begin:/\[/,end:/\]/,contains:[{className:"meta",begin://,contains:[a,o,s,i]}]}]},e.COMMENT(//,{relevance:10}),{begin://,relevance:10},r,{className:"meta",end:/\?>/,variants:[{begin:/<\?xml/,relevance:10,contains:[s]},{begin:/<\?[a-z][a-z0-9]+/}]},{className:"tag",begin:/`));return(e,t)=>{var n,r;return Mo(),Bo(Ao,null,[Ho("div",{innerHTML:A.value},null,8,g5),Ho("div",{ref_key:"documentEl",ref:i,class:Ge(["scalar-app scalar-api-reference references-layout",[{"scalar-scrollbars-obtrusive":l.value,"references-editable":e.configuration.isEditable,"references-sidebar":e.configuration.showSidebar,"references-sidebar-mobile-open":Mn(u),"references-classic":"classic"===e.configuration.layout},e.$attrs.class]]),style:Ve({"--scalar-y-offset":`var(--scalar-custom-header-height, ${s.value}px)`}),onScrollPassive:t[4]||(t[4]=(...e)=>Mn(E)&&Mn(E)(...e))},[Ho("div",v5,[Xr(e.$slots,"header",Ke(Zo(T.value)),void 0,!0)]),e.configuration.showSidebar?(Mo(),Bo("aside",b5,[Ho("div",y5,[Vo(Mn(m5),{operationsSorter:e.configuration.operationsSorter,parsedSpec:e.parsedSpec,tagsSorter:e.configuration.tagsSorter},{"sidebar-start":Or((()=>[Xr(e.$slots,"sidebar-start",Ke(Zo(T.value)),void 0,!0)])),"sidebar-end":Or((()=>[Xr(e.$slots,"sidebar-end",Ke(Zo(T.value)),void 0,!0)])),_:3},8,["operationsSorter","parsedSpec","tagsSorter"])])])):Go("",!0),zr(Ho("div",O5,[Ho("div",w5,[Xr(e.$slots,"editor",Ke(Zo(T.value)),void 0,!0)])],512),[[Fi,e.configuration.isEditable]]),S.value?(Mo(),Bo(Ao,{key:1},[Ho("div",x5,[Vo(Mn(Z2),{baseServerURL:e.configuration.baseServerURL,layout:"classic"===e.configuration.layout?"accordion":"default",parsedSpec:e.parsedSpec,proxy:e.configuration.proxy,servers:e.configuration.servers},Vr({start:Or((()=>[Xr(e.$slots,"content-start",Ke(Zo(T.value)),void 0,!0)])),end:Or((()=>[Xr(e.$slots,"content-end",Ke(Zo(T.value)),void 0,!0)])),_:2},[(null==(n=e.configuration)?void 0:n.isEditable)?{name:"empty-state",fn:Or((()=>{var n;return[Vo(a5,{theme:(null==(n=e.configuration)?void 0:n.theme)||"default",onChangeTheme:t[0]||(t[0]=t=>e.$emit("changeTheme",t)),onLinkSwaggerFile:t[1]||(t[1]=t=>e.$emit("linkSwaggerFile")),onLoadSwaggerFile:t[2]||(t[2]=t=>e.$emit("loadSwaggerFile")),onUpdateContent:t[3]||(t[3]=t=>e.$emit("updateContent",t))},null,8,["theme"])]})),key:"0"}:void 0]),1032,["baseServerURL","layout","parsedSpec","proxy","servers"])]),e.$slots.footer?(Mo(),Bo("div",k5,[Xr(e.$slots,"footer",Ke(Zo(T.value)),void 0,!0)])):Go("",!0)],64)):Go("",!0),Vo(NK,{preferredSecurityScheme:null==(r=e.configuration.authentication)?void 0:r.preferredSecurityScheme,proxyUrl:e.configuration.proxy,servers:e.configuration.servers,spec:e.configuration.spec},null,8,["preferredSecurityScheme","proxyUrl","servers","spec"])],38),Vo(Mn(qp))],64)}}}),S5=OY(_5,[["__scopeId","data-v-63cf628e"]]),E5={class:"references-classic-header-container"},T5={class:"references-classic-header"},C5=OY({},[["render",function(e,t){return Mo(),Bo("div",E5,[Ho("div",T5,[Xr(e.$slots,"default",{},void 0,!0),Xr(e.$slots,"dark-mode-toggle",{},void 0,!0)])])}],["__scopeId","data-v-a860f78f"]]),A5={class:"darklight-reference"},P5={key:0},D5={key:1},R5=(e=>(br("data-v-bfb18750"),e=e(),yr(),e))((()=>Ho("a",{class:"darklight-reference-promo",href:"https://www.scalar.com",target:"_blank"}," Powered by scalar.com ",-1))),$5=OY(Zr({__name:"DarkModeToggle",props:{isDarkMode:{type:Boolean}},emits:["toggleDarkMode"],setup:e=>(e,t)=>(Mo(),Bo("div",A5,[Ho("button",{class:"darklight",type:"button",onClick:t[0]||(t[0]=t=>e.$emit("toggleDarkMode"))},[Vo(Mn(MH),{icon:"LightDarkModeToggle",size:"md"}),e.isDarkMode?(Mo(),Bo("span",P5,"Light Mode")):(Mo(),Bo("span",D5,"Dark Mode"))]),R5]))}),[["__scopeId","data-v-bfb18750"]]),N5=OY(Zr({__name:"DarkModeIconToggle",props:{isDarkMode:{type:Boolean}},emits:["toggleDarkMode"],setup:e=>(e,t)=>(Mo(),Bo("button",{class:"darklight",type:"button",onClick:t[0]||(t[0]=t=>e.$emit("toggleDarkMode"))},[Vo(Mn(MH),{icon:e.isDarkMode?"DarkMode":"LightMode"},null,8,["icon"]),Vo(w0,null,{default:Or((()=>[Xo(" Switch to "+at(e.isDarkMode?"Light":"Dark")+" Mode ",1)])),_:1})]))}),[["__scopeId","data-v-3d47eee0"]]),M5=Zr({__name:"ClassicLayout",props:{configuration:{},parsedSpec:{},rawSpec:{},isDark:{type:Boolean}},emits:["toggleDarkMode","updateContent"],setup(e){const t=e,n=na(),r=yi((()=>({...t.configuration,showSidebar:!1})));return(e,a)=>(Mo(),Qo(S5,{configuration:r.value,parsedSpec:e.parsedSpec,rawSpec:e.rawSpec,onUpdateContent:a[1]||(a[1]=t=>e.$emit("updateContent",t))},Vr({"content-start":Or((({spec:n})=>[Vo(C5,null,{"dark-mode-toggle":Or((()=>[t.configuration.hideDarkModeToggle?Go("",!0):(Mo(),Qo(Mn(N5),{key:0,isDarkMode:e.isDark,onToggleDarkMode:a[0]||(a[0]=t=>e.$emit("toggleDarkMode"))},null,8,["isDarkMode"]))])),default:Or((()=>[t.configuration.hideSearch?Go("",!0):(Mo(),Qo(Mn(gG),{key:0,class:"t-doc__sidebar",searchHotKey:r.value.searchHotKey,spec:n},null,8,["searchHotKey","spec"]))])),_:2},1024)])),_:2},[Hr(n,((t,n)=>({name:n,fn:Or((t=>[Xr(e.$slots,n,Ke(Zo(t||{})))]))})))]),1032,["configuration","parsedSpec","rawSpec"]))}}),I5={class:"references-mobile-header t-doc__header"},L5={class:"references-mobile-breadcrumbs"},j5={class:"references-mobile-header-actions"},B5=OY(Zr({__name:"MobileHeader",props:{open:{type:Boolean}},emits:["update:open"],setup(e){const{breadcrumb:t}=CP();return(e,n)=>(Mo(),Bo("div",I5,[Vo(Mn(DZ),{icon:e.open?"Close":"Menu",label:e.open?"Close Menu":"Open Menu",size:"md",onClick:n[0]||(n[0]=t=>e.$emit("update:open",!e.open))},null,8,["icon","label"]),Ho("span",L5,at(Mn(t)),1),Ho("div",j5,[Xr(e.$slots,"actions",{},void 0,!0)])]))}}),[["__scopeId","data-v-b5fb4b8b"]]),Q5={key:0,class:"scalar-api-references-standalone-search"},U5=Zr({__name:"ModernLayout",props:{configuration:{},parsedSpec:{},rawSpec:{},isDark:{type:Boolean}},emits:["toggleDarkMode","updateContent"],setup(e){const t=e,n=na(),r=rp("(max-width: 1000px)"),{isSidebarOpen:a}=CP();Ka(r,((e,t)=>{e&&!t&&(a.value=!1)}));const{hash:o}=dh();return Ka(o,((e,t)=>{e&&e!==t&&(a.value=!1)})),(e,r)=>(Mo(),Qo(S5,{class:Ge({"scalar-api-references-standalone-mobile":e.configuration.showSidebar}),configuration:e.configuration,parsedSpec:e.parsedSpec,rawSpec:e.rawSpec,onUpdateContent:r[2]||(r[2]=t=>e.$emit("updateContent",t))},Vr({header:Or((()=>[t.configuration.showSidebar?(Mo(),Qo(B5,{key:0,open:Mn(a),"onUpdate:open":r[0]||(r[0]=e=>Pn(a)?a.value=e:null)},null,8,["open"])):Go("",!0)])),"sidebar-start":Or((({spec:e})=>{var n;return[t.configuration.hideSearch?Go("",!0):(Mo(),Bo("div",Q5,[Vo(Mn(gG),{searchHotKey:null==(n=t.configuration)?void 0:n.searchHotKey,spec:e},null,8,["searchHotKey","spec"])]))]})),"sidebar-end":Or((()=>[t.configuration.hideDarkModeToggle?Go("",!0):(Mo(),Qo(Mn($5),{key:0,isDarkMode:e.isDark,onToggleDarkMode:r[1]||(r[1]=t=>e.$emit("toggleDarkMode"))},null,8,["isDarkMode"]))])),_:2},[Hr(n,((t,n)=>({name:n,fn:Or((t=>[Xr(e.$slots,n,Ke(Zo(t||{})),void 0,!0)]))})))]),1032,["class","configuration","parsedSpec","rawSpec"]))}}),F5=OY(U5,[["__scopeId","data-v-67757240"]]),z5=Zr({__name:"Layouts",props:{configuration:{},parsedSpec:{},rawSpec:{},isDark:{type:Boolean}},emits:["toggleDarkMode","updateContent"],setup(e){const t=e,n=na(),r={modern:F5,classic:M5};return(e,a)=>(Mo(),Qo(Cr(r[e.configuration.layout??"modern"]??F5),ti(t,{onToggleDarkMode:a[0]||(a[0]=t=>e.$emit("toggleDarkMode")),onUpdateContent:a[1]||(a[1]=t=>e.$emit("updateContent",t))}),Vr({_:2},[Hr(n,((t,n)=>({name:n,fn:Or((t=>[Xr(e.$slots,n,Ke(Zo(t||{})))]))})))]),1040))}}),q5=Zr({__name:"ApiReference",props:{configuration:{}},emits:["updateContent"],setup(e){var t,n,r;const a=e,{toggleDarkMode:o,isDark:i}=function(e,t){var n;return Vp.value=t?"dark"===t:("undefined"==typeof window?null:JSON.parse((null==(n=window.localStorage)?void 0:n.getItem("isDark"))||"null"))??e??(()=>{var e,t;const n="undefined"!=typeof window?null==(e=window.localStorage)?void 0:e.getItem("isDark"):null;return"string"==typeof n?!!JSON.parse(n):!("undefined"==typeof window||"function"!=typeof(null==window?void 0:window.matchMedia)||!(null==(t=null==window?void 0:window.matchMedia("(prefers-color-scheme: dark)"))?void 0:t.matches))})(),Ka(Vp,(e=>{"undefined"!=typeof document&&(document.body.classList.toggle("dark-mode",e),document.body.classList.toggle("light-mode",!e))}),{immediate:!0}),{isDark:Vp,toggleDarkMode:()=>{var e;Vp.value=!Vp.value,"undefined"!=typeof window&&(null==(e=null==window?void 0:window.localStorage)||e.setItem("isDark",JSON.stringify(Vp.value)))},setDarkMode:function(e){var t;Vp.value=e,"undefined"!=typeof window&&(null==(t=null==window?void 0:window.localStorage)||t.setItem("isDark",JSON.stringify(Vp.value)))}}}(null==(t=a.configuration)?void 0:t.darkMode,null==(n=a.configuration)?void 0:n.forceDarkModeState);Ka((()=>{var e;return null==(e=a.configuration)?void 0:e.darkMode}),(e=>{e!==i.value&&o()}));const s=yi((()=>{var e,t;if(null==(e=a.configuration)?void 0:e.customCss)return function(e){return Uu.some((t=>e.includes(t)))?(console.warn("DEPRECATION WARNING: It looks like you're using legacy CSS variables in your custom CSS string. Please migrate them to use the updated prefixes. See https://github.com/scalar/scalar#theme-prefix-changes"),Qu.reduce(((e,[t,n])=>e.replaceAll(t,n)),e)):e}(null==(t=a.configuration)?void 0:t.customCss)}));Ka(s,(()=>console.log(s.value)));const l=yi((()=>{var e;return{spec:{content:void 0,url:void 0,...null==(e=a.configuration)?void 0:e.spec},proxy:void 0,theme:"default",showSidebar:!0,isEditable:!1,...a.configuration,customCss:s.value}}));function c(e,t){Ka((()=>{var t;return null==(t=l.value)?void 0:t[e]}),(e=>{void 0!==e&&t(e)}),{immediate:!0})}(null==(r=l.value)?void 0:r.metaData)&&function(e,t){const{title:n,titleTemplate:r,...a}=e;Ms({title:n,titleTemplate:r,_flatMeta:a},{transform(e){const t=N({...e._flatMeta});return delete e._flatMeta,{...e,meta:t}}})}(l.value.metaData);const{setAuthentication:d}=xu();c("authentication",d);const{setExcludedClients:u,setDefaultHttpClient:p}=qP();c("defaultHttpClient",p),c("hiddenClients",u);const{parsedSpec:h,rawSpec:f}=oP({proxy:qn((()=>l.value.proxy||"")),specConfig:qn((()=>l.value.spec||{}))});return function(e=null,t={}){const{baseUrl:n="",rel:r="icon",document:a=ep}=t,o=function(...e){if(1!==e.length)return qn(...e);const t=e[0];return"function"==typeof t?vn(Qn((()=>({get:t,set:Gu})))):Dn(t)}(e);Ka(o,((e,t)=>{"string"==typeof e&&e!==t&&(e=>{const t=null==a?void 0:a.head.querySelectorAll(`link[rel*="${r}"]`);if(t&&0!==t.length)null==t||t.forEach((t=>t.href=`${n}${e}`));else{const t=null==a?void 0:a.createElement("link");t&&(t.rel=r,t.href=`${n}${e}`,t.type=`image/${e.split(".").pop()}`,null==a||a.head.append(t))}})(e)}),{immediate:!0})}(yi((()=>l.value.favicon))),(e,t)=>{var n;return Mo(),Bo(Ao,null,[(null==(n=l.value)?void 0:n.customCss)?(Mo(),Qo(Cr("style"),{key:0},{default:Or((()=>[Xo(at(l.value.customCss),1)])),_:1})):Go("",!0),Vo(Mn(z5),{configuration:l.value,isDark:Mn(i),parsedSpec:Mn(h),rawSpec:Mn(f),onToggleDarkMode:t[0]||(t[0]=()=>Mn(o)()),onUpdateContent:t[1]||(t[1]=t=>e.$emit("updateContent",t))},{footer:Or((()=>[Xr(e.$slots,"footer")])),"content-end":Or((()=>[Xr(e.$slots,"footer")])),_:3},8,["configuration","isDark","parsedSpec","rawSpec"])],64)}}}),H5=()=>document.getElementById("api-reference"),V5=document.querySelector("[data-spec]"),Z5=document.querySelector("[data-spec-url]"),W5=document.querySelector("#api-reference[data-configuration]"),X5=()=>{if(W5){const e=W5.getAttribute("data-configuration");if(e)return JSON.parse(e.split(""").join('"'))}return{}},Y5=()=>{var e,t,n;if(null==(e=X5().spec)?void 0:e.url)return null==(t=X5().spec)?void 0:t.url;const r=H5();if(r){const e=null==(n=r.getAttribute("data-url"))?void 0:n.trim();if(e)return e}if(Z5){console.warn('[@scalar/api-reference] The [data-spec-url] HTML API is deprecated. Use the new API instead.');const e=Z5.getAttribute("data-spec-url");if(e)return e}},G5=()=>{var e,t;const n=H5();if(n){const t=null==(e=n.innerHTML)?void 0:e.trim();if(t)return t}if(V5){console.warn('[@scalar/api-reference] The [data-spec] HTML API is deprecated. Use the new
-
+