@veracity/ai 2.5.8 → 2.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/veracity-ai.es.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var y = (e, n, t) =>
|
|
4
|
-
function
|
|
1
|
+
var Sr = Object.defineProperty;
|
|
2
|
+
var _r = (e, n, t) => n in e ? Sr(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
|
+
var y = (e, n, t) => _r(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
+
function w(e, n, ...t) {
|
|
5
5
|
switch (typeof e) {
|
|
6
6
|
case "string": {
|
|
7
7
|
const r = document.createElement(e);
|
|
8
8
|
te(r, n);
|
|
9
|
-
for (const s of t)
|
|
9
|
+
for (const s of t) kn(r, s);
|
|
10
10
|
return r;
|
|
11
11
|
}
|
|
12
12
|
case "function":
|
|
@@ -25,27 +25,27 @@ function te(e, n) {
|
|
|
25
25
|
else t in e.style ? e.style[t] = r : e.setAttribute(t, r);
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
|
-
function
|
|
28
|
+
function Er(e) {
|
|
29
29
|
if (e instanceof Node) return e;
|
|
30
30
|
if (typeof e == "string")
|
|
31
31
|
return document.createTextNode(e);
|
|
32
32
|
if (e != null && e[Symbol.iterator]) {
|
|
33
33
|
const n = document.createDocumentFragment();
|
|
34
|
-
for (const t of e)
|
|
34
|
+
for (const t of e) kn(n, t);
|
|
35
35
|
return n;
|
|
36
36
|
} else return e ? document.createTextNode(e) : document.createComment(` ${e} `);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
const t =
|
|
38
|
+
function kn(e, n) {
|
|
39
|
+
const t = Er(n);
|
|
40
40
|
e.appendChild(t);
|
|
41
41
|
}
|
|
42
|
-
const Ar = `*,: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: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Avenir Next,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}b,strong{font-weight:600}:root{--Dark-Blue-5: hsl(223, 67%, 5%);--Dark-Blue-10: hsl(223, 67%, 10%);--Dark-Blue-15: hsl(223, 67%, 15%);--Dark-Blue-20: hsl(223, 67%, 20%);--Dark-Blue-25: hsl(223, 67%, 25%);--Dark-Blue-30: hsl(223, 67%, 30%);--Dark-Blue-35: hsl(223, 67%, 35%);--Dark-Blue-40: hsl(223, 67%, 40%);--Dark-Blue-45: hsl(223, 67%, 45%);--Dark-Blue-50: hsl(223, 67%, 50%);--Dark-Blue-55: hsl(223, 67%, 55%);--Dark-Blue-60: hsl(223, 67%, 60%);--Dark-Blue-65: hsl(223, 67%, 65%);--Dark-Blue-70: hsl(223, 67%, 70%);--Dark-Blue-75: hsl(223, 67%, 75%);--Dark-Blue-80: hsl(223, 67%, 80%);--Dark-Blue-85: hsl(223, 67%, 85%);--Dark-Blue-90: hsl(223, 67%, 90%);--Dark-Blue-95: hsl(223, 67%, 95%);--Dark-Blue-Main-18: hsl(223, 67%, 18%);--Sea-Blue-5: hsl(218, 100%, 5%);--Sea-Blue-10: hsl(218, 100%, 10%);--Sea-Blue-15: hsl(218, 100%, 15%);--Sea-Blue-20: hsl(218, 100%, 20%);--Sea-Blue-25: hsl(218, 100%, 25%);--Sea-Blue-30: hsl(218, 100%, 30%);--Sea-Blue-35: hsl(218, 100%, 35%);--Sea-Blue-40: hsl(218, 100%, 40%);--Sea-Blue-45: hsl(218, 100%, 45%);--Sea-Blue-50: hsl(218, 100%, 50%);--Sea-Blue-55: hsl(218, 100%, 55%);--Sea-Blue-60: hsl(218, 100%, 60%);--Sea-Blue-65: hsl(218, 100%, 65%);--Sea-Blue-70: hsl(218, 100%, 70%);--Sea-Blue-75: hsl(218, 100%, 75%);--Sea-Blue-80: hsl(218, 100%, 80%);--Sea-Blue-85: hsl(218, 100%, 85%);--Sea-Blue-90: hsl(218, 100%, 90%);--Sea-Blue-95: hsl(218, 100%, 95%);--Sea-Blue-Main-28: hsl(218, 100%, 28%);--Sky-Blue-5: hsl(196, 74%, 5%);--Sky-Blue-10: hsl(196, 74%, 10%);--Sky-Blue-15: hsl(196, 74%, 15%);--Sky-Blue-20: hsl(196, 74%, 20%);--Sky-Blue-25: hsl(196, 74%, 25%);--Sky-Blue-30: hsl(196, 74%, 30%);--Sky-Blue-35: hsl(196, 74%, 35%);--Sky-Blue-40: hsl(196, 74%, 40%);--Sky-Blue-45: hsl(196, 74%, 45%);--Sky-Blue-50: hsl(196, 74%, 50%);--Sky-Blue-55: hsl(196, 74%, 55%);--Sky-Blue-60: hsl(196, 74%, 60%);--Sky-Blue-65: hsl(196, 74%, 65%);--Sky-Blue-70: hsl(196, 74%, 70%);--Sky-Blue-75: hsl(196, 74%, 75%);--Sky-Blue-80: hsl(196, 74%, 80%);--Sky-Blue-85: hsl(196, 74%, 85%);--Sky-Blue-90: hsl(196, 74%, 90%);--Sky-Blue-95: hsl(196, 74%, 95%);--Sky-Blue-97: hsl(196, 74%, 97%);--Sky-Blue-Main-77: hsl(196, 74%, 77%);--Digi-Green-5: hsl(139, 100%, 5%);--Digi-Green-10: hsl(139, 100%, 10%);--Digi-Green-15: hsl(139, 100%, 15%);--Digi-Green-20: hsl(139, 100%, 20%);--Digi-Green-25: hsl(139, 100%, 25%);--Digi-Green-30: hsl(139, 100%, 30%);--Digi-Green-35: hsl(139, 100%, 35%);--Digi-Green-40: hsl(139, 100%, 40%);--Digi-Green-45: hsl(139, 100%, 45%);--Digi-Green-50: hsl(139, 100%, 50%);--Digi-Green-55: hsl(139, 100%, 55%);--Digi-Green-60: hsl(139, 100%, 60%);--Digi-Green-65: hsl(139, 100%, 65%);--Digi-Green-70: hsl(139, 100%, 70%);--Digi-Green-75: hsl(139, 100%, 75%);--Digi-Green-80: hsl(139, 100%, 80%);--Digi-Green-85: hsl(139, 100%, 85%);--Digi-Green-90: hsl(139, 100%, 90%);--Digi-Green-95: hsl(139, 100%, 95%);--Digi-Green-Main-78: hsl(139, 100%, 78%);--Sandstone-5: hsl(40, 3%, 5%);--Sandstone-10: hsl(40, 3%, 10%);--Sandstone-15: hsl(40, 3%, 15%);--Sandstone-20: hsl(40, 3%, 20%);--Sandstone-25: hsl(40, 3%, 25%);--Sandstone-30: hsl(40, 3%, 30%);--Sandstone-35: hsl(40, 3%, 35%);--Sandstone-40: hsl(40, 3%, 40%);--Sandstone-45: hsl(40, 3%, 45%);--Sandstone-50: hsl(40, 3%, 50%);--Sandstone-55: hsl(40, 3%, 55%);--Sandstone-60: hsl(40, 3%, 60%);--Sandstone-65: hsl(40, 3%, 65%);--Sandstone-70: hsl(40, 3%, 70%);--Sandstone-75: hsl(40, 3%, 75%);--Sandstone-80: hsl(40, 3%, 80%);--Sandstone-85: hsl(40, 3%, 85%);--Sandstone-90: hsl(40, 3%, 90%);--Sandstone-95: hsl(40, 3%, 95%);--Sandstone-97: hsl(40, 3%, 97%);--Sandstone-Main-79: hsl(40, 3%, 79%);--Warm-Grey-5: hsl(30, 8%, 5%);--Warm-Grey-10: hsl(30, 8%, 10%);--Warm-Grey-15: hsl(30, 8%, 15%);--Warm-Grey-20: hsl(30, 8%, 20%);--Warm-Grey-25: hsl(30, 8%, 25%);--Warm-Grey-30: hsl(30, 8%, 30%);--Warm-Grey-35: hsl(30, 8%, 35%);--Warm-Grey-40: hsl(30, 8%, 40%);--Warm-Grey-45: hsl(30, 8%, 45%);--Warm-Grey-50: hsl(30, 8%, 50%);--Warm-Grey-55: hsl(30, 8%, 55%);--Warm-Grey-60: hsl(30, 8%, 60%);--Warm-Grey-65: hsl(30, 8%, 65%);--Warm-Grey-70: hsl(30, 8%, 70%);--Warm-Grey-75: hsl(30, 8%, 75%);--Warm-Grey-80: hsl(30, 8%, 80%);--Warm-Grey-85: hsl(30, 8%, 85%);--Warm-Grey-90: hsl(30, 8%, 90%);--Warm-Grey-95: hsl(30, 8%, 95%);--Warm-Grey-Main-56: hsl(30, 8%, 56%);--Earth-5: hsl(35, 53%, 5%);--Earth-10: hsl(35, 53%, 10%);--Earth-15: hsl(35, 53%, 15%);--Earth-20: hsl(35, 53%, 20%);--Earth-25: hsl(35, 53%, 25%);--Earth-30: hsl(35, 53%, 30%);--Earth-35: hsl(35, 53%, 35%);--Earth-40: hsl(35, 53%, 40%);--Earth-45: hsl(35, 53%, 45%);--Earth-50: hsl(35, 53%, 50%);--Earth-55: hsl(35, 53%, 55%);--Earth-60: hsl(35, 53%, 60%);--Earth-65: hsl(35, 53%, 65%);--Earth-70: hsl(35, 53%, 70%);--Earth-75: hsl(35, 53%, 75%);--Earth-80: hsl(35, 53%, 80%);--Earth-85: hsl(35, 53%, 85%);--Earth-90: hsl(35, 53%, 90%);--Earth-95: hsl(35, 53%, 95%);--Earth-97: hsl(35, 53%, 97%);--Earth-Main-89: hsl(35, 53%, 89%);--Pine-5: hsl(195, 46%, 5%);--Pine-10: hsl(195, 46%, 10%);--Pine-15: hsl(195, 46%, 15%);--Pine-20: hsl(195, 46%, 20%);--Pine-25: hsl(195, 46%, 25%);--Pine-30: hsl(195, 46%, 30%);--Pine-35: hsl(195, 46%, 35%);--Pine-40: hsl(195, 46%, 40%);--Pine-45: hsl(195, 46%, 45%);--Pine-50: hsl(195, 46%, 50%);--Pine-55: hsl(195, 46%, 55%);--Pine-60: hsl(195, 46%, 60%);--Pine-65: hsl(195, 46%, 65%);--Pine-70: hsl(195, 46%, 70%);--Pine-75: hsl(195, 46%, 75%);--Pine-80: hsl(195, 46%, 80%);--Pine-85: hsl(195, 46%, 85%);--Pine-90: hsl(195, 46%, 90%);--Pine-95: hsl(195, 46%, 95%);--Pine-Main-30: hsl(195, 46%, 30%);--Eucalyptus-5: hsl(178, 80%, 5%);--Eucalyptus-10: hsl(178, 80%, 10%);--Eucalyptus-15: hsl(178, 80%, 15%);--Eucalyptus-20: hsl(178, 80%, 20%);--Eucalyptus-25: hsl(178, 80%, 25%);--Eucalyptus-30: hsl(178, 80%, 30%);--Eucalyptus-35: hsl(178, 80%, 35%);--Eucalyptus-40: hsl(178, 80%, 40%);--Eucalyptus-45: hsl(178, 80%, 45%);--Eucalyptus-50: hsl(178, 80%, 50%);--Eucalyptus-55: hsl(178, 80%, 55%);--Eucalyptus-60: hsl(178, 80%, 60%);--Eucalyptus-65: hsl(178, 80%, 65%);--Eucalyptus-70: hsl(178, 80%, 70%);--Eucalyptus-75: hsl(178, 80%, 75%);--Eucalyptus-80: hsl(178, 80%, 80%);--Eucalyptus-85: hsl(178, 80%, 85%);--Eucalyptus-90: hsl(178, 80%, 90%);--Eucalyptus-95: hsl(178, 80%, 95%);--Eucalyptus-Main-41: hsl(178, 80%, 41%);--Lavender-5: hsl(232, 58%, 5%);--Lavender-10: hsl(232, 58%, 10%);--Lavender-15: hsl(232, 58%, 15%);--Lavender-20: hsl(232, 58%, 20%);--Lavender-25: hsl(232, 58%, 25%);--Lavender-30: hsl(232, 58%, 30%);--Lavender-35: hsl(232, 58%, 35%);--Lavender-40: hsl(232, 58%, 40%);--Lavender-45: hsl(232, 58%, 45%);--Lavender-50: hsl(232, 58%, 50%);--Lavender-55: hsl(232, 58%, 55%);--Lavender-60: hsl(232, 58%, 60%);--Lavender-65: hsl(232, 58%, 65%);--Lavender-70: hsl(232, 58%, 70%);--Lavender-75: hsl(232, 58%, 75%);--Lavender-80: hsl(232, 58%, 80%);--Lavender-85: hsl(232, 58%, 85%);--Lavender-90: hsl(232, 58%, 90%);--Lavender-95: hsl(232, 58%, 95%);--Lavender-Main-77: hsl(232, 58%, 77%);--Terracotta-5: hsl(34, 100%, 5%);--Terracotta-10: hsl(34, 100%, 10%);--Terracotta-15: hsl(34, 100%, 15%);--Terracotta-20: hsl(34, 100%, 20%);--Terracotta-25: hsl(34, 100%, 25%);--Terracotta-30: hsl(34, 100%, 30%);--Terracotta-35: hsl(34, 100%, 35%);--Terracotta-40: hsl(34, 100%, 40%);--Terracotta-45: hsl(34, 100%, 45%);--Terracotta-50: hsl(34, 100%, 50%);--Terracotta-55: hsl(34, 100%, 55%);--Terracotta-60: hsl(34, 100%, 60%);--Terracotta-65: hsl(34, 100%, 65%);--Terracotta-70: hsl(34, 100%, 70%);--Terracotta-75: hsl(34, 100%, 75%);--Terracotta-80: hsl(34, 100%, 80%);--Terracotta-85: hsl(34, 100%, 85%);--Terracotta-90: hsl(34, 100%, 90%);--Terracotta-95: hsl(34, 100%, 95%);--Terracotta-Main-35: hsl(34, 100%, 35%);--Land-Green-5: hsl(114, 49%, 5%);--Land-Green-10: hsl(114, 49%, 10%);--Land-Green-15: hsl(114, 49%, 15%);--Land-Green-20: hsl(114, 49%, 20%);--Land-Green-25: hsl(114, 49%, 25%);--Land-Green-30: hsl(114, 49%, 30%);--Land-Green-35: hsl(114, 49%, 35%);--Land-Green-40: hsl(114, 49%, 40%);--Land-Green-45: hsl(114, 49%, 45%);--Land-Green-50: hsl(114, 49%, 50%);--Land-Green-55: hsl(114, 49%, 55%);--Land-Green-60: hsl(114, 49%, 60%);--Land-Green-65: hsl(114, 49%, 65%);--Land-Green-70: hsl(114, 49%, 70%);--Land-Green-75: hsl(114, 49%, 75%);--Land-Green-80: hsl(114, 49%, 80%);--Land-Green-85: hsl(114, 49%, 85%);--Land-Green-90: hsl(114, 49%, 90%);--Land-Green-95: hsl(114, 49%, 95%);--Land-Green-Main-41: hsl(114, 49%, 41%);--Sunflower-5: hsl(55, 100%, 5%);--Sunflower-10: hsl(55, 100%, 10%);--Sunflower-15: hsl(55, 100%, 15%);--Sunflower-20: hsl(55, 100%, 20%);--Sunflower-25: hsl(55, 100%, 25%);--Sunflower-30: hsl(55, 100%, 30%);--Sunflower-35: hsl(55, 100%, 35%);--Sunflower-40: hsl(55, 100%, 40%);--Sunflower-45: hsl(55, 100%, 45%);--Sunflower-50: hsl(55, 100%, 50%);--Sunflower-55: hsl(55, 100%, 55%);--Sunflower-60: hsl(55, 100%, 60%);--Sunflower-65: hsl(55, 100%, 65%);--Sunflower-70: hsl(55, 100%, 70%);--Sunflower-75: hsl(55, 100%, 75%);--Sunflower-80: hsl(55, 100%, 80%);--Sunflower-85: hsl(55, 100%, 85%);--Sunflower-90: hsl(55, 100%, 90%);--Sunflower-95: hsl(55, 100%, 95%);--Sunflower-Main-73: hsl(55, 100%, 73%);--Energy-Red-5: hsl(357, 83%, 5%);--Energy-Red-10: hsl(357, 83%, 10%);--Energy-Red-15: hsl(357, 83%, 15%);--Energy-Red-20: hsl(357, 83%, 20%);--Energy-Red-25: hsl(357, 83%, 25%);--Energy-Red-30: hsl(357, 83%, 30%);--Energy-Red-35: hsl(357, 83%, 35%);--Energy-Red-40: hsl(357, 83%, 40%);--Energy-Red-45: hsl(357, 83%, 45%);--Energy-Red-50: hsl(357, 83%, 50%);--Energy-Red-55: hsl(357, 83%, 55%);--Energy-Red-60: hsl(357, 83%, 60%);--Energy-Red-65: hsl(357, 83%, 65%);--Energy-Red-70: hsl(357, 83%, 70%);--Energy-Red-75: hsl(357, 83%, 75%);--Energy-Red-80: hsl(357, 83%, 80%);--Energy-Red-85: hsl(357, 83%, 85%);--Energy-Red-90: hsl(357, 83%, 90%);--Energy-Red-95: hsl(357, 83%, 95%);--Energy-Red-Main-54: hsl(357, 83%, 54%);--Cyan-5: hsl(196, 100%, 5%);--Cyan-10: hsl(196, 100%, 10%);--Cyan-15: hsl(196, 100%, 15%);--Cyan-20: hsl(196, 100%, 20%);--Cyan-25: hsl(196, 100%, 25%);--Cyan-30: hsl(196, 100%, 30%);--Cyan-35: hsl(196, 100%, 35%);--Cyan-40: hsl(196, 100%, 40%);--Cyan-45: hsl(196, 100%, 45%);--Cyan-50: hsl(196, 100%, 50%);--Cyan-55: hsl(196, 100%, 55%);--Cyan-60: hsl(196, 100%, 60%);--Cyan-65: hsl(196, 100%, 65%);--Cyan-70: hsl(196, 100%, 70%);--Cyan-75: hsl(196, 100%, 75%);--Cyan-80: hsl(196, 100%, 80%);--Cyan-85: hsl(196, 100%, 85%);--Cyan-90: hsl(196, 100%, 90%);--Cyan-95: hsl(196, 100%, 95%);--Cyan-Main-43: hsl(196, 100%, 43%);--Black: hsl(40 3% 10%);--White: hsl(40 3% 100%);--Light: hsl(40, 3%, 90%);--Default: hsl(40, 3%, 79%);--Medium: hsl(40, 3%, 75%);--Strong: hsl(218, 100%, 28%);--Emphasis: hsl(223, 67%, 18%);--vui-animation-duration-0: 0ms;--vui-animation-duration-100: .13s;--vui-animation-duration-200: .16s;--vui-animation-duration-300: .19s;--vui-animation-duration-400: .22s;--vui-animation-duration-500: .25s;--vui-animation-duration-600: .3s;--vui-animation-duration-700: .35s;--vui-animation-duration-800: .4s;--vui-animation-duration-900: .45s;--vui-animation-duration-1000: .5s;--vui-animation-duration-2000: 1s;--vui-animation-duration-4000: 2s;--vui-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--vui-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--vui-animation-ease-out: cubic-bezier(0, 0, .4, 1);--vui-animation-linear: cubic-bezier(0, 0, 1, 1);--vui-elevation-1: 0 6px 23px -10px hsla(223, 67%, 18%, .2);--vui-elevation-2: 0 9px 20px -6px hsla(223, 67%, 18%, .2);--vui-elevation-3: 0 12px 23px -4px hsla(223, 67%, 18%, .2);--vui-elevation-4: 0 15px 23px 0 hsla(223, 67%, 18%, .2);--fluent-depth-0: 0 0 0 0 transparent;--fluent-depth-4: 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108);--fluent-depth-8: 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108);--fluent-depth-16: 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108);--fluent-depth-64: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)}.h1{font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){.h1{font-size:1.9375rem;line-height:1.5483870967741935}}.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h1){color:var(--White, hsl(40 3% 100%))}.h2{font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){.h2{font-size:1.75rem;line-height:1.3571428571428572}}.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h2){color:var(--White, hsl(40 3% 100%))}.h3{font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){.h3{font-size:1.375rem;line-height:1.4545454545454546}}.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h3){color:var(--White, hsl(40 3% 100%))}.h4{font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){.h4{font-size:1.125rem;line-height:1.3333333333333333}}.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h4){color:var(--White, hsl(40 3% 100%))}.h5{font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){.h5{font-size:1rem;line-height:1.375}}.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h5){color:var(--White, hsl(40 3% 100%))}.h6{font-size:1rem;font-style:normal;font-weight:600;line-height:1.375;color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h6){color:var(--White, hsl(40 3% 100%))}.btn{font-weight:500;font-style:normal;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex}.btn>*{flex-shrink:0}.btn{height:auto;margin:0;outline:none;text-decoration:none;transition:background var(--vui-animation-duration-100) ease-out,border-color var(--vui-animation-duration-100) ease-out,color var(--vui-animation-duration-100) ease-out,box-shadow var(--vui-animation-duration-100) ease-out;white-space:nowrap}.btn:focus-visible,.btn.focus-visible{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: hsl(196, 100%, 43%);--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(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.btn:disabled{opacity:.5}.btn.btn-xl,.btn-xl{font-size:1.125rem;line-height:1.5555555555555556;gap:.625rem;padding:.625rem 1.25rem}.btn.btn-lg,.btn-lg{font-size:1rem;line-height:1.5;gap:.5rem;padding:.5rem 1rem}.btn.btn-md,.btn-md{font-size:.875rem;line-height:1.4285714285714286;gap:.375rem;padding:.375rem .75rem}.btn.btn-sm,.btn-sm{font-size:.75rem;line-height:1.3333333333333333;gap:.25rem;padding:.25rem .5rem}.btn.btn-primary,.btn-primary{background:var(--Sea-Blue-Main-28, #00348F);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-primary:hover,.btn-primary:hover{background:var(--Sea-Blue-20, #002566)}.btn.btn-primary:active,.btn.btn-primary.active,.btn-primary:active,.btn-primary.active{background:var(--Sea-Blue-35, #0041B3)}:is(.dark .btn.btn-primary),:is(.dark .btn-primary){background:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Dark-Blue-Main-18, #0F214D)}:is(.dark .btn.btn-primary):hover,:is(.dark .btn-primary):hover{background:var(--Digi-Green-70, #66FF96)}:is(.dark .btn.btn-primary):active,:is(.dark .btn.btn-primary).active,:is(.dark .btn-primary):active,:is(.dark .btn-primary).active{background:var(--Digi-Green-85, #B3FFCB)}.btn.btn-secondary,.btn-secondary{background:transparent;border:1px solid var(--Sea-Blue-Main-28, #00348F);color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-secondary:hover,.btn-secondary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-secondary:active,.btn.btn-secondary.active,.btn-secondary:active,.btn-secondary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-secondary),:is(.dark .btn-secondary){border-color:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-secondary):hover,:is(.dark .btn-secondary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-secondary):active,:is(.dark .btn.btn-secondary).active,:is(.dark .btn-secondary):active,:is(.dark .btn-secondary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-tertiary,.btn-tertiary{background:transparent;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-tertiary:hover,.btn-tertiary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-tertiary:active,.btn.btn-tertiary.active,.btn-tertiary:active,.btn-tertiary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-tertiary),:is(.dark .btn-tertiary){color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-tertiary):hover,:is(.dark .btn-tertiary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-tertiary):active,:is(.dark .btn.btn-tertiary).active,:is(.dark .btn-tertiary):active,:is(.dark .btn-tertiary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-badge,.btn-badge{background:var(--Sky-Blue-95, #E9F7FC);border-radius:9999px;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-badge:hover,.btn-badge:hover{background:var(--Sky-Blue-90, #D3EEF8)}.btn.btn-badge:active,.btn.btn-badge.active,.btn-badge:active,.btn-badge.active{background:var(--Sky-Blue-85, #BCE6F5)}.btn.btn-badge[data-status=success],.btn-badge[data-status=success]{background:var(--Land-Green-95, #EDF8EC);color:var(--Land-Green-30, #2F7227)}.btn.btn-badge[data-status=success]:hover,.btn-badge[data-status=success]:hover{background:var(--Land-Green-90, #DCF2D9)}.btn.btn-badge[data-status=success]:active,.btn.btn-badge[data-status=success].active,.btn-badge[data-status=success]:active,.btn-badge[data-status=success].active{background:var(--Land-Green-85, #CAEBC6)}.btn.btn-badge[data-status=error],.btn-badge[data-status=error]{background:var(--Energy-Red-95, #FDE8E9);color:var(--Energy-Red-30, #8C0D13)}.btn.btn-badge[data-status=error]:hover,.btn-badge[data-status=error]:hover{background:var(--Energy-Red-90, #FBD0D2)}.btn.btn-badge[data-status=error]:active,.btn.btn-badge[data-status=error].active,.btn-badge[data-status=error]:active,.btn-badge[data-status=error].active{background:var(--Energy-Red-85, #F8B9BC)}.btn.btn-marketplaceCTA,.btn-marketplaceCTA{background:var(--Land-Green-35, #36852E);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-marketplaceCTA:hover,.btn-marketplaceCTA:hover{background:var(--Land-Green-25, #275F21)}.btn.btn-marketplaceCTA:active,.btn.btn-marketplaceCTA.active,.btn-marketplaceCTA:active,.btn-marketplaceCTA.active{background:var(--Land-Green-Main-41, #409C35)}.btn.btn-destructive,.btn-destructive{background:var(--Energy-Red-45, #D2141D);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-destructive:hover,.btn-destructive:hover{background:var(--Energy-Red-35, #A30F17)}.btn.btn-destructive:active,.btn.btn-destructive.active,.btn-destructive:active,.btn-destructive.active{background:var(--Energy-Red-50, #E91620)}.sideMenuItem>.icon{width:24px;height:24px}.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid var(--Sandstone-60, #9C9A96);border-radius:0;color:#1a1a19;display:block;font-weight:400;font-style:normal;outline:0 solid transparent;width:100%}.input:focus{border:1px solid var(--Cyan-Main-43, #00A1DB);outline:1px solid var(--Cyan-Main-43, #00A1DB)}.input:disabled,.input[aria-disabled=true],fieldset:disabled .input{background:var(--Sandstone-90, #E6E6E5);border-color:var(--Sandstone-90, #E6E6E5)}.input::-moz-placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input::placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input.input-xl,.input-xl{font-size:1rem;line-height:1.625;padding:.4375rem .5rem}.input.input-lg,.input-lg{font-size:1rem;line-height:1.625;padding:.375rem .5rem}.input.input-md,.input-md{font-size:.875rem;line-height:1.5714285714285714;padding:.25rem .5rem}.input.input-sm,.input-sm{font-size:.875rem;line-height:1.5714285714285714;padding:.0625rem .5rem}.input.input-validated,.input.input-validated:focus,.input-validated,.input-validated:focus{border-color:var(--Land-Green-35, #36852E)}.input.input-validated,.input-validated{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20.8831 4.31025L7.75741 17.436L3.11702 12.7956C2.89736 12.5759 2.54121 12.5759 2.3215 12.7956L1.79121 13.3259C1.57155 13.5455 1.57155 13.9017 1.79121 14.1214L7.35968 19.6898C7.57933 19.9095 7.93549 19.9095 8.15519 19.6898L22.2089 5.63611C22.4286 5.41645 22.4286 5.0603 22.2089 4.84059L21.6786 4.31025C21.4589 4.09059 21.1028 4.09059 20.8831 4.31025Z' fill='var(--Land-Green-35%2c %2336852E)'/%3e%3c/svg%3e");background-repeat:no-repeat}.input.input-error,.input.input-error:focus,.input-error,.input-error:focus{border-color:var(--Energy-Red-45, #D2141D)}.input.input-select,.input-select{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.6018 15.3255L6.16426 9.80359C5.94395 9.58328 5.94395 9.22703 6.16426 9.00671L6.49707 8.6739C6.71738 8.45359 7.07363 8.45359 7.29395 8.6739L12.0002 13.4692L16.7064 8.67859C16.9268 8.45828 17.283 8.45828 17.5033 8.67859L17.8361 9.0114C18.0564 9.23171 18.0564 9.58796 17.8361 9.80828L12.3986 15.3302C12.1783 15.5458 11.8221 15.5458 11.6018 15.3255Z' fill='var(--Sea-Blue-Main-28%2c %2300348F)'/%3e%3c/svg%3e");background-repeat:no-repeat}.avatar{font-weight:500;font-style:normal;align-items:center;background:#e6e6e5;border-radius:9999px;color:#353431;display:inline-flex;justify-content:center;overflow:hidden;text-transform:uppercase}.avatar.avatar-xl,.avatar-xl{font-size:1.125rem;line-height:1.5555555555555556;height:3rem;width:3rem}.avatar.avatar-lg,.avatar-lg{font-size:1rem;line-height:1.5;height:2.5rem;width:2.5rem}.avatar.avatar-md,.avatar-md{font-size:.875rem;line-height:1.4285714285714286;height:2rem;width:2rem}.avatar.avatar-sm,.avatar-sm{font-size:.75rem;line-height:1.3333333333333333;height:1.5rem;width:1.5rem}.avatar.avatar-xxl,.avatar-xxl{font-size:1.125rem;line-height:1.5555555555555556;height:3.5rem;width:3.5rem}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"\`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose :where(ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.prose :where(ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0!important}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.m-2{margin:.5rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.mb-2{margin-bottom:.5rem!important}.ml-\\[1ch\\]{margin-left:1ch!important}.mt-2{margin-top:.5rem!important}.block{display:block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.grid{display:grid!important}.h-3{height:.75rem!important}.h-full{height:100%!important}.w-3{width:.75rem!important}.w-\\[600px\\]{width:600px!important}.w-full{width:100%!important}.min-w-24{min-width:6rem!important}.max-w-lg{max-width:32rem!important}.max-w-none{max-width:none!important}.flex-1{flex:1 1 0%!important}.shrink-0{flex-shrink:0!important}.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))!important}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-5{gap:1.25rem!important}.overflow-hidden{overflow:hidden!important}.overflow-x-auto{overflow-x:auto!important}.whitespace-pre-wrap{white-space:pre-wrap!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-l-4{border-left-width:4px!important}.border-t{border-top-width:1px!important}.border-Energy-Red-45{--tw-border-opacity: 1 !important;border-color:hsl(357 83% 45% / var(--tw-border-opacity, 1))!important}.border-Light{--tw-border-opacity: 1 !important;border-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.border-t-Light{--tw-border-opacity: 1 !important;border-top-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.bg-Black{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 10% / var(--tw-bg-opacity, 1))!important}.bg-Energy-Red-95{--tw-bg-opacity: 1 !important;background-color:hsl(357 83% 95% / var(--tw-bg-opacity, 1))!important}.bg-Eucalyptus-85{--tw-bg-opacity: 1 !important;background-color:hsl(178 80% 85% / var(--tw-bg-opacity, 1))!important}.bg-Land-Green-95{--tw-bg-opacity: 1 !important;background-color:hsl(114 49% 95% / var(--tw-bg-opacity, 1))!important}.bg-Lavender-90{--tw-bg-opacity: 1 !important;background-color:hsl(232 58% 90% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-95{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 95% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-97{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 97% / var(--tw-bg-opacity, 1))!important}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1 !important;background-color:hsl(218 100% 28% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-80{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 80% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-Main-77{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 77% / var(--tw-bg-opacity, 1))!important}.bg-Sunflower-85{--tw-bg-opacity: 1 !important;background-color:hsl(55 100% 85% / var(--tw-bg-opacity, 1))!important}.bg-Terracotta-85{--tw-bg-opacity: 1 !important;background-color:hsl(34 100% 85% / var(--tw-bg-opacity, 1))!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-6{padding:1.5rem!important}.pb-3{padding-bottom:.75rem!important}.pr-3{padding-right:.75rem!important}.pt-3{padding-top:.75rem!important}.text-left{text-align:left!important}.text-base{font-size:1rem!important;line-height:1.625!important}.text-sm{font-size:.75rem!important;line-height:1.5!important}.font-medium{font-weight:500!important}.uppercase{text-transform:uppercase!important}.leading-5{line-height:1.25rem!important}.text-Black{--tw-text-opacity: 1 !important;color:hsl(40 3% 10% / var(--tw-text-opacity, 1))!important}.text-Energy-Red-45{--tw-text-opacity: 1 !important;color:hsl(357 83% 45% / var(--tw-text-opacity, 1))!important}.text-Eucalyptus-20{--tw-text-opacity: 1 !important;color:hsl(178 80% 20% / var(--tw-text-opacity, 1))!important}.text-Land-Green-30{--tw-text-opacity: 1 !important;color:hsl(114 49% 30% / var(--tw-text-opacity, 1))!important}.text-Lavender-50{--tw-text-opacity: 1 !important;color:hsl(232 58% 50% / var(--tw-text-opacity, 1))!important}.text-Sea-Blue-Main-28{--tw-text-opacity: 1 !important;color:hsl(218 100% 28% / var(--tw-text-opacity, 1))!important}.text-Sky-Blue-95{--tw-text-opacity: 1 !important;color:hsl(196 74% 95% / var(--tw-text-opacity, 1))!important}.text-Sunflower-20{--tw-text-opacity: 1 !important;color:hsl(55 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-20{--tw-text-opacity: 1 !important;color:hsl(34 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-30{--tw-text-opacity: 1 !important;color:hsl(34 100% 30% / var(--tw-text-opacity, 1))!important}.text-White{--tw-text-opacity: 1 !important;color:hsl(40 3% 100% / var(--tw-text-opacity, 1))!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.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)!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.title{font-size:4rem!important;font-style:normal!important;font-weight:400!important;line-height:1.15625!important}@media only screen and (max-width: 992px){.title{font-size:2.625rem!important;line-height:1.2380952380952381!important}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))!important}:is(.dark .title){color:var(--White, hsl(40 3% 100%))!important}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .2s cubic-bezier(.4,0,1,1)}@keyframes pulse{0%{transform:scale(.75);opacity:.6}50%{transform:scale(1.25);opacity:1}to{transform:scale(.75);opacity:.6}}.p-1{padding:4px}.btn-link-feedback{background:transparent;border:none;text-decoration:none;cursor:pointer;padding:2px;border-radius:4px;transition:background .1s ease-out}.btn-link-feedback:hover{cursor:pointer;border-radius:3px;background-color:#a8a2a2}.btn-link-feedback-disabled{background:transparent;border:none;text-decoration:none;padding:2px;border-radius:4px;cursor:default}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:-rotate-180{--tw-rotate: -180deg !important;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))!important}`, Br = "pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#383a42;background:#fafafa}.hljs-comment,.hljs-quote{color:#a0a1a7;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#a626a4}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e45649}.hljs-literal{color:#0184bb}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#50a14f}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#986801}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#4078f2}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#c18401}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}", Ir = '@font-face{font-family:KaTeX_AMS;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.15"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathsfit,.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}:host{counter-reset:katexEqnNo mmlEqnNo}';
|
|
43
|
-
class
|
|
42
|
+
const Tr = `*,: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: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:currentColor}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:Avenir Next,Segoe UI,-apple-system,BlinkMacSystemFont,Roboto,Helvetica Neue,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}b,strong{font-weight:600}:root{--Dark-Blue-5: hsl(223, 67%, 5%);--Dark-Blue-10: hsl(223, 67%, 10%);--Dark-Blue-15: hsl(223, 67%, 15%);--Dark-Blue-20: hsl(223, 67%, 20%);--Dark-Blue-25: hsl(223, 67%, 25%);--Dark-Blue-30: hsl(223, 67%, 30%);--Dark-Blue-35: hsl(223, 67%, 35%);--Dark-Blue-40: hsl(223, 67%, 40%);--Dark-Blue-45: hsl(223, 67%, 45%);--Dark-Blue-50: hsl(223, 67%, 50%);--Dark-Blue-55: hsl(223, 67%, 55%);--Dark-Blue-60: hsl(223, 67%, 60%);--Dark-Blue-65: hsl(223, 67%, 65%);--Dark-Blue-70: hsl(223, 67%, 70%);--Dark-Blue-75: hsl(223, 67%, 75%);--Dark-Blue-80: hsl(223, 67%, 80%);--Dark-Blue-85: hsl(223, 67%, 85%);--Dark-Blue-90: hsl(223, 67%, 90%);--Dark-Blue-95: hsl(223, 67%, 95%);--Dark-Blue-Main-18: hsl(223, 67%, 18%);--Sea-Blue-5: hsl(218, 100%, 5%);--Sea-Blue-10: hsl(218, 100%, 10%);--Sea-Blue-15: hsl(218, 100%, 15%);--Sea-Blue-20: hsl(218, 100%, 20%);--Sea-Blue-25: hsl(218, 100%, 25%);--Sea-Blue-30: hsl(218, 100%, 30%);--Sea-Blue-35: hsl(218, 100%, 35%);--Sea-Blue-40: hsl(218, 100%, 40%);--Sea-Blue-45: hsl(218, 100%, 45%);--Sea-Blue-50: hsl(218, 100%, 50%);--Sea-Blue-55: hsl(218, 100%, 55%);--Sea-Blue-60: hsl(218, 100%, 60%);--Sea-Blue-65: hsl(218, 100%, 65%);--Sea-Blue-70: hsl(218, 100%, 70%);--Sea-Blue-75: hsl(218, 100%, 75%);--Sea-Blue-80: hsl(218, 100%, 80%);--Sea-Blue-85: hsl(218, 100%, 85%);--Sea-Blue-90: hsl(218, 100%, 90%);--Sea-Blue-95: hsl(218, 100%, 95%);--Sea-Blue-Main-28: hsl(218, 100%, 28%);--Sky-Blue-5: hsl(196, 74%, 5%);--Sky-Blue-10: hsl(196, 74%, 10%);--Sky-Blue-15: hsl(196, 74%, 15%);--Sky-Blue-20: hsl(196, 74%, 20%);--Sky-Blue-25: hsl(196, 74%, 25%);--Sky-Blue-30: hsl(196, 74%, 30%);--Sky-Blue-35: hsl(196, 74%, 35%);--Sky-Blue-40: hsl(196, 74%, 40%);--Sky-Blue-45: hsl(196, 74%, 45%);--Sky-Blue-50: hsl(196, 74%, 50%);--Sky-Blue-55: hsl(196, 74%, 55%);--Sky-Blue-60: hsl(196, 74%, 60%);--Sky-Blue-65: hsl(196, 74%, 65%);--Sky-Blue-70: hsl(196, 74%, 70%);--Sky-Blue-75: hsl(196, 74%, 75%);--Sky-Blue-80: hsl(196, 74%, 80%);--Sky-Blue-85: hsl(196, 74%, 85%);--Sky-Blue-90: hsl(196, 74%, 90%);--Sky-Blue-95: hsl(196, 74%, 95%);--Sky-Blue-97: hsl(196, 74%, 97%);--Sky-Blue-Main-77: hsl(196, 74%, 77%);--Digi-Green-5: hsl(139, 100%, 5%);--Digi-Green-10: hsl(139, 100%, 10%);--Digi-Green-15: hsl(139, 100%, 15%);--Digi-Green-20: hsl(139, 100%, 20%);--Digi-Green-25: hsl(139, 100%, 25%);--Digi-Green-30: hsl(139, 100%, 30%);--Digi-Green-35: hsl(139, 100%, 35%);--Digi-Green-40: hsl(139, 100%, 40%);--Digi-Green-45: hsl(139, 100%, 45%);--Digi-Green-50: hsl(139, 100%, 50%);--Digi-Green-55: hsl(139, 100%, 55%);--Digi-Green-60: hsl(139, 100%, 60%);--Digi-Green-65: hsl(139, 100%, 65%);--Digi-Green-70: hsl(139, 100%, 70%);--Digi-Green-75: hsl(139, 100%, 75%);--Digi-Green-80: hsl(139, 100%, 80%);--Digi-Green-85: hsl(139, 100%, 85%);--Digi-Green-90: hsl(139, 100%, 90%);--Digi-Green-95: hsl(139, 100%, 95%);--Digi-Green-Main-78: hsl(139, 100%, 78%);--Sandstone-5: hsl(40, 3%, 5%);--Sandstone-10: hsl(40, 3%, 10%);--Sandstone-15: hsl(40, 3%, 15%);--Sandstone-20: hsl(40, 3%, 20%);--Sandstone-25: hsl(40, 3%, 25%);--Sandstone-30: hsl(40, 3%, 30%);--Sandstone-35: hsl(40, 3%, 35%);--Sandstone-40: hsl(40, 3%, 40%);--Sandstone-45: hsl(40, 3%, 45%);--Sandstone-50: hsl(40, 3%, 50%);--Sandstone-55: hsl(40, 3%, 55%);--Sandstone-60: hsl(40, 3%, 60%);--Sandstone-65: hsl(40, 3%, 65%);--Sandstone-70: hsl(40, 3%, 70%);--Sandstone-75: hsl(40, 3%, 75%);--Sandstone-80: hsl(40, 3%, 80%);--Sandstone-85: hsl(40, 3%, 85%);--Sandstone-90: hsl(40, 3%, 90%);--Sandstone-95: hsl(40, 3%, 95%);--Sandstone-97: hsl(40, 3%, 97%);--Sandstone-Main-79: hsl(40, 3%, 79%);--Warm-Grey-5: hsl(30, 8%, 5%);--Warm-Grey-10: hsl(30, 8%, 10%);--Warm-Grey-15: hsl(30, 8%, 15%);--Warm-Grey-20: hsl(30, 8%, 20%);--Warm-Grey-25: hsl(30, 8%, 25%);--Warm-Grey-30: hsl(30, 8%, 30%);--Warm-Grey-35: hsl(30, 8%, 35%);--Warm-Grey-40: hsl(30, 8%, 40%);--Warm-Grey-45: hsl(30, 8%, 45%);--Warm-Grey-50: hsl(30, 8%, 50%);--Warm-Grey-55: hsl(30, 8%, 55%);--Warm-Grey-60: hsl(30, 8%, 60%);--Warm-Grey-65: hsl(30, 8%, 65%);--Warm-Grey-70: hsl(30, 8%, 70%);--Warm-Grey-75: hsl(30, 8%, 75%);--Warm-Grey-80: hsl(30, 8%, 80%);--Warm-Grey-85: hsl(30, 8%, 85%);--Warm-Grey-90: hsl(30, 8%, 90%);--Warm-Grey-95: hsl(30, 8%, 95%);--Warm-Grey-Main-56: hsl(30, 8%, 56%);--Earth-5: hsl(35, 53%, 5%);--Earth-10: hsl(35, 53%, 10%);--Earth-15: hsl(35, 53%, 15%);--Earth-20: hsl(35, 53%, 20%);--Earth-25: hsl(35, 53%, 25%);--Earth-30: hsl(35, 53%, 30%);--Earth-35: hsl(35, 53%, 35%);--Earth-40: hsl(35, 53%, 40%);--Earth-45: hsl(35, 53%, 45%);--Earth-50: hsl(35, 53%, 50%);--Earth-55: hsl(35, 53%, 55%);--Earth-60: hsl(35, 53%, 60%);--Earth-65: hsl(35, 53%, 65%);--Earth-70: hsl(35, 53%, 70%);--Earth-75: hsl(35, 53%, 75%);--Earth-80: hsl(35, 53%, 80%);--Earth-85: hsl(35, 53%, 85%);--Earth-90: hsl(35, 53%, 90%);--Earth-95: hsl(35, 53%, 95%);--Earth-97: hsl(35, 53%, 97%);--Earth-Main-89: hsl(35, 53%, 89%);--Pine-5: hsl(195, 46%, 5%);--Pine-10: hsl(195, 46%, 10%);--Pine-15: hsl(195, 46%, 15%);--Pine-20: hsl(195, 46%, 20%);--Pine-25: hsl(195, 46%, 25%);--Pine-30: hsl(195, 46%, 30%);--Pine-35: hsl(195, 46%, 35%);--Pine-40: hsl(195, 46%, 40%);--Pine-45: hsl(195, 46%, 45%);--Pine-50: hsl(195, 46%, 50%);--Pine-55: hsl(195, 46%, 55%);--Pine-60: hsl(195, 46%, 60%);--Pine-65: hsl(195, 46%, 65%);--Pine-70: hsl(195, 46%, 70%);--Pine-75: hsl(195, 46%, 75%);--Pine-80: hsl(195, 46%, 80%);--Pine-85: hsl(195, 46%, 85%);--Pine-90: hsl(195, 46%, 90%);--Pine-95: hsl(195, 46%, 95%);--Pine-Main-30: hsl(195, 46%, 30%);--Eucalyptus-5: hsl(178, 80%, 5%);--Eucalyptus-10: hsl(178, 80%, 10%);--Eucalyptus-15: hsl(178, 80%, 15%);--Eucalyptus-20: hsl(178, 80%, 20%);--Eucalyptus-25: hsl(178, 80%, 25%);--Eucalyptus-30: hsl(178, 80%, 30%);--Eucalyptus-35: hsl(178, 80%, 35%);--Eucalyptus-40: hsl(178, 80%, 40%);--Eucalyptus-45: hsl(178, 80%, 45%);--Eucalyptus-50: hsl(178, 80%, 50%);--Eucalyptus-55: hsl(178, 80%, 55%);--Eucalyptus-60: hsl(178, 80%, 60%);--Eucalyptus-65: hsl(178, 80%, 65%);--Eucalyptus-70: hsl(178, 80%, 70%);--Eucalyptus-75: hsl(178, 80%, 75%);--Eucalyptus-80: hsl(178, 80%, 80%);--Eucalyptus-85: hsl(178, 80%, 85%);--Eucalyptus-90: hsl(178, 80%, 90%);--Eucalyptus-95: hsl(178, 80%, 95%);--Eucalyptus-Main-41: hsl(178, 80%, 41%);--Lavender-5: hsl(232, 58%, 5%);--Lavender-10: hsl(232, 58%, 10%);--Lavender-15: hsl(232, 58%, 15%);--Lavender-20: hsl(232, 58%, 20%);--Lavender-25: hsl(232, 58%, 25%);--Lavender-30: hsl(232, 58%, 30%);--Lavender-35: hsl(232, 58%, 35%);--Lavender-40: hsl(232, 58%, 40%);--Lavender-45: hsl(232, 58%, 45%);--Lavender-50: hsl(232, 58%, 50%);--Lavender-55: hsl(232, 58%, 55%);--Lavender-60: hsl(232, 58%, 60%);--Lavender-65: hsl(232, 58%, 65%);--Lavender-70: hsl(232, 58%, 70%);--Lavender-75: hsl(232, 58%, 75%);--Lavender-80: hsl(232, 58%, 80%);--Lavender-85: hsl(232, 58%, 85%);--Lavender-90: hsl(232, 58%, 90%);--Lavender-95: hsl(232, 58%, 95%);--Lavender-Main-77: hsl(232, 58%, 77%);--Terracotta-5: hsl(34, 100%, 5%);--Terracotta-10: hsl(34, 100%, 10%);--Terracotta-15: hsl(34, 100%, 15%);--Terracotta-20: hsl(34, 100%, 20%);--Terracotta-25: hsl(34, 100%, 25%);--Terracotta-30: hsl(34, 100%, 30%);--Terracotta-35: hsl(34, 100%, 35%);--Terracotta-40: hsl(34, 100%, 40%);--Terracotta-45: hsl(34, 100%, 45%);--Terracotta-50: hsl(34, 100%, 50%);--Terracotta-55: hsl(34, 100%, 55%);--Terracotta-60: hsl(34, 100%, 60%);--Terracotta-65: hsl(34, 100%, 65%);--Terracotta-70: hsl(34, 100%, 70%);--Terracotta-75: hsl(34, 100%, 75%);--Terracotta-80: hsl(34, 100%, 80%);--Terracotta-85: hsl(34, 100%, 85%);--Terracotta-90: hsl(34, 100%, 90%);--Terracotta-95: hsl(34, 100%, 95%);--Terracotta-Main-35: hsl(34, 100%, 35%);--Land-Green-5: hsl(114, 49%, 5%);--Land-Green-10: hsl(114, 49%, 10%);--Land-Green-15: hsl(114, 49%, 15%);--Land-Green-20: hsl(114, 49%, 20%);--Land-Green-25: hsl(114, 49%, 25%);--Land-Green-30: hsl(114, 49%, 30%);--Land-Green-35: hsl(114, 49%, 35%);--Land-Green-40: hsl(114, 49%, 40%);--Land-Green-45: hsl(114, 49%, 45%);--Land-Green-50: hsl(114, 49%, 50%);--Land-Green-55: hsl(114, 49%, 55%);--Land-Green-60: hsl(114, 49%, 60%);--Land-Green-65: hsl(114, 49%, 65%);--Land-Green-70: hsl(114, 49%, 70%);--Land-Green-75: hsl(114, 49%, 75%);--Land-Green-80: hsl(114, 49%, 80%);--Land-Green-85: hsl(114, 49%, 85%);--Land-Green-90: hsl(114, 49%, 90%);--Land-Green-95: hsl(114, 49%, 95%);--Land-Green-Main-41: hsl(114, 49%, 41%);--Sunflower-5: hsl(55, 100%, 5%);--Sunflower-10: hsl(55, 100%, 10%);--Sunflower-15: hsl(55, 100%, 15%);--Sunflower-20: hsl(55, 100%, 20%);--Sunflower-25: hsl(55, 100%, 25%);--Sunflower-30: hsl(55, 100%, 30%);--Sunflower-35: hsl(55, 100%, 35%);--Sunflower-40: hsl(55, 100%, 40%);--Sunflower-45: hsl(55, 100%, 45%);--Sunflower-50: hsl(55, 100%, 50%);--Sunflower-55: hsl(55, 100%, 55%);--Sunflower-60: hsl(55, 100%, 60%);--Sunflower-65: hsl(55, 100%, 65%);--Sunflower-70: hsl(55, 100%, 70%);--Sunflower-75: hsl(55, 100%, 75%);--Sunflower-80: hsl(55, 100%, 80%);--Sunflower-85: hsl(55, 100%, 85%);--Sunflower-90: hsl(55, 100%, 90%);--Sunflower-95: hsl(55, 100%, 95%);--Sunflower-Main-73: hsl(55, 100%, 73%);--Energy-Red-5: hsl(357, 83%, 5%);--Energy-Red-10: hsl(357, 83%, 10%);--Energy-Red-15: hsl(357, 83%, 15%);--Energy-Red-20: hsl(357, 83%, 20%);--Energy-Red-25: hsl(357, 83%, 25%);--Energy-Red-30: hsl(357, 83%, 30%);--Energy-Red-35: hsl(357, 83%, 35%);--Energy-Red-40: hsl(357, 83%, 40%);--Energy-Red-45: hsl(357, 83%, 45%);--Energy-Red-50: hsl(357, 83%, 50%);--Energy-Red-55: hsl(357, 83%, 55%);--Energy-Red-60: hsl(357, 83%, 60%);--Energy-Red-65: hsl(357, 83%, 65%);--Energy-Red-70: hsl(357, 83%, 70%);--Energy-Red-75: hsl(357, 83%, 75%);--Energy-Red-80: hsl(357, 83%, 80%);--Energy-Red-85: hsl(357, 83%, 85%);--Energy-Red-90: hsl(357, 83%, 90%);--Energy-Red-95: hsl(357, 83%, 95%);--Energy-Red-Main-54: hsl(357, 83%, 54%);--Cyan-5: hsl(196, 100%, 5%);--Cyan-10: hsl(196, 100%, 10%);--Cyan-15: hsl(196, 100%, 15%);--Cyan-20: hsl(196, 100%, 20%);--Cyan-25: hsl(196, 100%, 25%);--Cyan-30: hsl(196, 100%, 30%);--Cyan-35: hsl(196, 100%, 35%);--Cyan-40: hsl(196, 100%, 40%);--Cyan-45: hsl(196, 100%, 45%);--Cyan-50: hsl(196, 100%, 50%);--Cyan-55: hsl(196, 100%, 55%);--Cyan-60: hsl(196, 100%, 60%);--Cyan-65: hsl(196, 100%, 65%);--Cyan-70: hsl(196, 100%, 70%);--Cyan-75: hsl(196, 100%, 75%);--Cyan-80: hsl(196, 100%, 80%);--Cyan-85: hsl(196, 100%, 85%);--Cyan-90: hsl(196, 100%, 90%);--Cyan-95: hsl(196, 100%, 95%);--Cyan-Main-43: hsl(196, 100%, 43%);--Black: hsl(40 3% 10%);--White: hsl(40 3% 100%);--Light: hsl(40, 3%, 90%);--Default: hsl(40, 3%, 79%);--Medium: hsl(40, 3%, 75%);--Strong: hsl(218, 100%, 28%);--Emphasis: hsl(223, 67%, 18%);--vui-animation-duration-0: 0ms;--vui-animation-duration-100: .13s;--vui-animation-duration-200: .16s;--vui-animation-duration-300: .19s;--vui-animation-duration-400: .22s;--vui-animation-duration-500: .25s;--vui-animation-duration-600: .3s;--vui-animation-duration-700: .35s;--vui-animation-duration-800: .4s;--vui-animation-duration-900: .45s;--vui-animation-duration-1000: .5s;--vui-animation-duration-2000: 1s;--vui-animation-duration-4000: 2s;--vui-animation-ease-in-out: cubic-bezier(.45, 0, .4, 1);--vui-animation-ease-in: cubic-bezier(.5, 0, 1, 1);--vui-animation-ease-out: cubic-bezier(0, 0, .4, 1);--vui-animation-linear: cubic-bezier(0, 0, 1, 1);--vui-elevation-1: 0 6px 23px -10px hsla(223, 67%, 18%, .2);--vui-elevation-2: 0 9px 20px -6px hsla(223, 67%, 18%, .2);--vui-elevation-3: 0 12px 23px -4px hsla(223, 67%, 18%, .2);--vui-elevation-4: 0 15px 23px 0 hsla(223, 67%, 18%, .2);--fluent-depth-0: 0 0 0 0 transparent;--fluent-depth-4: 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108);--fluent-depth-8: 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108);--fluent-depth-16: 0 6.4px 14.4px 0 rgba(0, 0, 0, .132), 0 1.2px 3.6px 0 rgba(0, 0, 0, .108);--fluent-depth-64: 0 25.6px 57.6px 0 rgba(0, 0, 0, .22), 0 4.8px 14.4px 0 rgba(0, 0, 0, .18)}.h1{font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){.h1{font-size:1.9375rem;line-height:1.5483870967741935}}.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h1){color:var(--White, hsl(40 3% 100%))}.h2{font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){.h2{font-size:1.75rem;line-height:1.3571428571428572}}.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h2){color:var(--White, hsl(40 3% 100%))}.h3{font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){.h3{font-size:1.375rem;line-height:1.4545454545454546}}.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h3){color:var(--White, hsl(40 3% 100%))}.h4{font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){.h4{font-size:1.125rem;line-height:1.3333333333333333}}.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h4){color:var(--White, hsl(40 3% 100%))}.h5{font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){.h5{font-size:1rem;line-height:1.375}}.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h5){color:var(--White, hsl(40 3% 100%))}.h6{font-size:1rem;font-style:normal;font-weight:600;line-height:1.375;color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .h6){color:var(--White, hsl(40 3% 100%))}.btn{font-weight:500;font-style:normal;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex}.btn>*{flex-shrink:0}.btn{height:auto;margin:0;outline:none;text-decoration:none;transition:background var(--vui-animation-duration-100) ease-out,border-color var(--vui-animation-duration-100) ease-out,color var(--vui-animation-duration-100) ease-out,box-shadow var(--vui-animation-duration-100) ease-out;white-space:nowrap}.btn:focus-visible,.btn.focus-visible{--tw-ring-inset: var(--tw-empty, );--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: hsl(196, 100%, 43%);--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(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.btn:disabled{opacity:.5}.btn.btn-xl,.btn-xl{font-size:1.125rem;line-height:1.5555555555555556;gap:.625rem;padding:.625rem 1.25rem}.btn.btn-lg,.btn-lg{font-size:1rem;line-height:1.5;gap:.5rem;padding:.5rem 1rem}.btn.btn-md,.btn-md{font-size:.875rem;line-height:1.4285714285714286;gap:.375rem;padding:.375rem .75rem}.btn.btn-sm,.btn-sm{font-size:.75rem;line-height:1.3333333333333333;gap:.25rem;padding:.25rem .5rem}.btn.btn-primary,.btn-primary{background:var(--Sea-Blue-Main-28, #00348F);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-primary:hover,.btn-primary:hover{background:var(--Sea-Blue-20, #002566)}.btn.btn-primary:active,.btn.btn-primary.active,.btn-primary:active,.btn-primary.active{background:var(--Sea-Blue-35, #0041B3)}:is(.dark .btn.btn-primary),:is(.dark .btn-primary){background:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Dark-Blue-Main-18, #0F214D)}:is(.dark .btn.btn-primary):hover,:is(.dark .btn-primary):hover{background:var(--Digi-Green-70, #66FF96)}:is(.dark .btn.btn-primary):active,:is(.dark .btn.btn-primary).active,:is(.dark .btn-primary):active,:is(.dark .btn-primary).active{background:var(--Digi-Green-85, #B3FFCB)}.btn.btn-secondary,.btn-secondary{background:transparent;border:1px solid var(--Sea-Blue-Main-28, #00348F);color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-secondary:hover,.btn-secondary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-secondary:active,.btn.btn-secondary.active,.btn-secondary:active,.btn-secondary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-secondary),:is(.dark .btn-secondary){border-color:var(--Digi-Green-Main-78, #8FFFB2);color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-secondary):hover,:is(.dark .btn-secondary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-secondary):active,:is(.dark .btn.btn-secondary).active,:is(.dark .btn-secondary):active,:is(.dark .btn-secondary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-tertiary,.btn-tertiary{background:transparent;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-tertiary:hover,.btn-tertiary:hover{background:var(--Sky-Blue-80, #A6DEF2)}.btn.btn-tertiary:active,.btn.btn-tertiary.active,.btn-tertiary:active,.btn-tertiary.active{background:var(--Sky-Blue-85, #BCE6F5)}:is(.dark .btn.btn-tertiary),:is(.dark .btn-tertiary){color:var(--Digi-Green-Main-78, #8FFFB2)}:is(.dark .btn.btn-tertiary):hover,:is(.dark .btn-tertiary):hover{background:var(--Sea-Blue-25, #002F80)}:is(.dark .btn.btn-tertiary):active,:is(.dark .btn.btn-tertiary).active,:is(.dark .btn-tertiary):active,:is(.dark .btn-tertiary).active{background:var(--Sea-Blue-35, #0041B3)}.btn.btn-badge,.btn-badge{background:var(--Sky-Blue-95, #E9F7FC);border-radius:9999px;color:var(--Sea-Blue-Main-28, #00348F);justify-content:center}.btn.btn-badge:hover,.btn-badge:hover{background:var(--Sky-Blue-90, #D3EEF8)}.btn.btn-badge:active,.btn.btn-badge.active,.btn-badge:active,.btn-badge.active{background:var(--Sky-Blue-85, #BCE6F5)}.btn.btn-badge[data-status=success],.btn-badge[data-status=success]{background:var(--Land-Green-95, #EDF8EC);color:var(--Land-Green-30, #2F7227)}.btn.btn-badge[data-status=success]:hover,.btn-badge[data-status=success]:hover{background:var(--Land-Green-90, #DCF2D9)}.btn.btn-badge[data-status=success]:active,.btn.btn-badge[data-status=success].active,.btn-badge[data-status=success]:active,.btn-badge[data-status=success].active{background:var(--Land-Green-85, #CAEBC6)}.btn.btn-badge[data-status=error],.btn-badge[data-status=error]{background:var(--Energy-Red-95, #FDE8E9);color:var(--Energy-Red-30, #8C0D13)}.btn.btn-badge[data-status=error]:hover,.btn-badge[data-status=error]:hover{background:var(--Energy-Red-90, #FBD0D2)}.btn.btn-badge[data-status=error]:active,.btn.btn-badge[data-status=error].active,.btn-badge[data-status=error]:active,.btn-badge[data-status=error].active{background:var(--Energy-Red-85, #F8B9BC)}.btn.btn-marketplaceCTA,.btn-marketplaceCTA{background:var(--Land-Green-35, #36852E);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-marketplaceCTA:hover,.btn-marketplaceCTA:hover{background:var(--Land-Green-25, #275F21)}.btn.btn-marketplaceCTA:active,.btn.btn-marketplaceCTA.active,.btn-marketplaceCTA:active,.btn-marketplaceCTA.active{background:var(--Land-Green-Main-41, #409C35)}.btn.btn-destructive,.btn-destructive{background:var(--Energy-Red-45, #D2141D);color:var(--White, #FFFFFF);justify-content:center}.btn.btn-destructive:hover,.btn-destructive:hover{background:var(--Energy-Red-35, #A30F17)}.btn.btn-destructive:active,.btn.btn-destructive.active,.btn-destructive:active,.btn-destructive.active{background:var(--Energy-Red-50, #E91620)}.sideMenuItem>.icon{width:24px;height:24px}.input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:1px solid var(--Sandstone-60, #9C9A96);border-radius:0;color:#1a1a19;display:block;font-weight:400;font-style:normal;outline:0 solid transparent;width:100%}.input:focus{border:1px solid var(--Cyan-Main-43, #00A1DB);outline:1px solid var(--Cyan-Main-43, #00A1DB)}.input:disabled,.input[aria-disabled=true],fieldset:disabled .input{background:var(--Sandstone-90, #E6E6E5);border-color:var(--Sandstone-90, #E6E6E5)}.input::-moz-placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input::placeholder{color:var(--Sandstone-55, #908D89);opacity:1}.input.input-xl,.input-xl{font-size:1rem;line-height:1.625;padding:.4375rem .5rem}.input.input-lg,.input-lg{font-size:1rem;line-height:1.625;padding:.375rem .5rem}.input.input-md,.input-md{font-size:.875rem;line-height:1.5714285714285714;padding:.25rem .5rem}.input.input-sm,.input-sm{font-size:.875rem;line-height:1.5714285714285714;padding:.0625rem .5rem}.input.input-validated,.input.input-validated:focus,.input-validated,.input-validated:focus{border-color:var(--Land-Green-35, #36852E)}.input.input-validated,.input-validated{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M20.8831 4.31025L7.75741 17.436L3.11702 12.7956C2.89736 12.5759 2.54121 12.5759 2.3215 12.7956L1.79121 13.3259C1.57155 13.5455 1.57155 13.9017 1.79121 14.1214L7.35968 19.6898C7.57933 19.9095 7.93549 19.9095 8.15519 19.6898L22.2089 5.63611C22.4286 5.41645 22.4286 5.0603 22.2089 4.84059L21.6786 4.31025C21.4589 4.09059 21.1028 4.09059 20.8831 4.31025Z' fill='var(--Land-Green-35%2c %2336852E)'/%3e%3c/svg%3e");background-repeat:no-repeat}.input.input-error,.input.input-error:focus,.input-error,.input-error:focus{border-color:var(--Energy-Red-45, #D2141D)}.input.input-select,.input-select{background-image:url("data:image/svg+xml,%3csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M11.6018 15.3255L6.16426 9.80359C5.94395 9.58328 5.94395 9.22703 6.16426 9.00671L6.49707 8.6739C6.71738 8.45359 7.07363 8.45359 7.29395 8.6739L12.0002 13.4692L16.7064 8.67859C16.9268 8.45828 17.283 8.45828 17.5033 8.67859L17.8361 9.0114C18.0564 9.23171 18.0564 9.58796 17.8361 9.80828L12.3986 15.3302C12.1783 15.5458 11.8221 15.5458 11.6018 15.3255Z' fill='var(--Sea-Blue-Main-28%2c %2300348F)'/%3e%3c/svg%3e");background-repeat:no-repeat}.avatar{font-weight:500;font-style:normal;align-items:center;background:#e6e6e5;border-radius:9999px;color:#353431;display:inline-flex;justify-content:center;overflow:hidden;text-transform:uppercase}.avatar.avatar-xl,.avatar-xl{font-size:1.125rem;line-height:1.5555555555555556;height:3rem;width:3rem}.avatar.avatar-lg,.avatar-lg{font-size:1rem;line-height:1.5;height:2.5rem;width:2.5rem}.avatar.avatar-md,.avatar-md{font-size:.875rem;line-height:1.4285714285714286;height:2rem;width:2rem}.avatar.avatar-sm,.avatar-sm{font-size:.75rem;line-height:1.3333333333333333;height:1.5rem;width:1.5rem}.avatar.avatar-xxl,.avatar-xxl{font-size:1.125rem;line-height:1.5555555555555556;height:3.5rem;width:3.5rem}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:1.25em;margin-bottom:1.25em;padding-inline-start:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.8888889em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:2em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:1.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"\`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start:1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:100%;table-layout:auto;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: #111827;--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose :where(ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0!important}.prose :where(ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0!important}.prose-sm{font-size:.875rem;line-height:1.7142857}.prose-sm :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;line-height:1.5555556;margin-top:.8888889em;margin-bottom:.8888889em}.prose-sm :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.3333333em;margin-bottom:1.3333333em;padding-inline-start:1.1111111em}.prose-sm :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:2.1428571em;margin-top:0;margin-bottom:.8em;line-height:1.2}.prose-sm :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.4285714em;margin-top:1.6em;margin-bottom:.8em;line-height:1.4}.prose-sm :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:1.2857143em;margin-top:1.5555556em;margin-bottom:.4444444em;line-height:1.5555556}.prose-sm :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.4285714em;margin-bottom:.5714286em;line-height:1.4285714}.prose-sm :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;border-radius:.3125rem;padding-top:.1428571em;padding-inline-end:.3571429em;padding-bottom:.1428571em;padding-inline-start:.3571429em}.prose-sm :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em}.prose-sm :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.9em}.prose-sm :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8888889em}.prose-sm :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.6666667;margin-top:1.6666667em;margin-bottom:1.6666667em;border-radius:.25rem;padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-inline-start:1.5714286em}.prose-sm :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;margin-bottom:.2857143em}.prose-sm :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.4285714em}.prose-sm :where(.prose-sm>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(.prose-sm>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5714286em;margin-bottom:.5714286em}.prose-sm :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em}.prose-sm :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.2857143em;padding-inline-start:1.5714286em}.prose-sm :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2.8571429em;margin-bottom:2.8571429em}.prose-sm :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.5}.prose-sm :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.6666667em;padding-inline-end:1em;padding-bottom:.6666667em;padding-inline-start:1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose-sm :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.7142857em;margin-bottom:1.7142857em}.prose-sm :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose-sm :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.8571429em;line-height:1.3333333;margin-top:.6666667em}.prose-sm :where(.prose-sm>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose-sm :where(.prose-sm>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.prose-neutral{--tw-prose-body: #404040;--tw-prose-headings: #171717;--tw-prose-lead: #525252;--tw-prose-links: #171717;--tw-prose-bold: #171717;--tw-prose-counters: #737373;--tw-prose-bullets: #d4d4d4;--tw-prose-hr: #e5e5e5;--tw-prose-quotes: #171717;--tw-prose-quote-borders: #e5e5e5;--tw-prose-captions: #737373;--tw-prose-kbd: #171717;--tw-prose-kbd-shadows: 23 23 23;--tw-prose-code: #171717;--tw-prose-pre-code: #e5e5e5;--tw-prose-pre-bg: #262626;--tw-prose-th-borders: #d4d4d4;--tw-prose-td-borders: #e5e5e5;--tw-prose-invert-body: #d4d4d4;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #a3a3a3;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #a3a3a3;--tw-prose-invert-bullets: #525252;--tw-prose-invert-hr: #404040;--tw-prose-invert-quotes: #f5f5f5;--tw-prose-invert-quote-borders: #404040;--tw-prose-invert-captions: #a3a3a3;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d4d4d4;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #525252;--tw-prose-invert-td-borders: #404040}.static{position:static!important}.absolute{position:absolute!important}.relative{position:relative!important}.m-2{margin:.5rem!important}.my-2{margin-top:.5rem!important;margin-bottom:.5rem!important}.mb-2{margin-bottom:.5rem!important}.ml-\\[1ch\\]{margin-left:1ch!important}.mt-2{margin-top:.5rem!important}.block{display:block!important}.inline{display:inline!important}.flex{display:flex!important}.inline-flex{display:inline-flex!important}.table{display:table!important}.grid{display:grid!important}.h-3{height:.75rem!important}.h-full{height:100%!important}.w-3{width:.75rem!important}.w-\\[600px\\]{width:600px!important}.w-full{width:100%!important}.min-w-24{min-width:6rem!important}.max-w-lg{max-width:32rem!important}.max-w-none{max-width:none!important}.shrink-0{flex-shrink:0!important}.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))!important}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite!important}.select-none{-webkit-user-select:none!important;-moz-user-select:none!important;user-select:none!important}.flex-col{flex-direction:column!important}.justify-end{justify-content:flex-end!important}.gap-2{gap:.5rem!important}.gap-3{gap:.75rem!important}.gap-5{gap:1.25rem!important}.gap-6{gap:1.5rem!important}.self-end{align-self:flex-end!important}.overflow-hidden{overflow:hidden!important}.overflow-x-auto{overflow-x:auto!important}.whitespace-pre-wrap{white-space:pre-wrap!important}.rounded-full{border-radius:9999px!important}.border{border-width:1px!important}.border-l-4{border-left-width:4px!important}.border-t{border-top-width:1px!important}.border-Energy-Red-45{--tw-border-opacity: 1 !important;border-color:hsl(357 83% 45% / var(--tw-border-opacity, 1))!important}.border-Light{--tw-border-opacity: 1 !important;border-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.border-t-Light{--tw-border-opacity: 1 !important;border-top-color:hsl(40 3% 90% / var(--tw-border-opacity, 1))!important}.bg-Black{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 10% / var(--tw-bg-opacity, 1))!important}.bg-Energy-Red-95{--tw-bg-opacity: 1 !important;background-color:hsl(357 83% 95% / var(--tw-bg-opacity, 1))!important}.bg-Eucalyptus-85{--tw-bg-opacity: 1 !important;background-color:hsl(178 80% 85% / var(--tw-bg-opacity, 1))!important}.bg-Land-Green-95{--tw-bg-opacity: 1 !important;background-color:hsl(114 49% 95% / var(--tw-bg-opacity, 1))!important}.bg-Lavender-90{--tw-bg-opacity: 1 !important;background-color:hsl(232 58% 90% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-95{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 95% / var(--tw-bg-opacity, 1))!important}.bg-Sandstone-97{--tw-bg-opacity: 1 !important;background-color:hsl(40 3% 97% / var(--tw-bg-opacity, 1))!important}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1 !important;background-color:hsl(218 100% 28% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-80{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 80% / var(--tw-bg-opacity, 1))!important}.bg-Sky-Blue-Main-77{--tw-bg-opacity: 1 !important;background-color:hsl(196 74% 77% / var(--tw-bg-opacity, 1))!important}.bg-Sunflower-85{--tw-bg-opacity: 1 !important;background-color:hsl(55 100% 85% / var(--tw-bg-opacity, 1))!important}.bg-Terracotta-85{--tw-bg-opacity: 1 !important;background-color:hsl(34 100% 85% / var(--tw-bg-opacity, 1))!important}.p-1{padding:.25rem!important}.p-2{padding:.5rem!important}.p-3{padding:.75rem!important}.p-6{padding:1.5rem!important}.pb-3{padding-bottom:.75rem!important}.pr-3{padding-right:.75rem!important}.pt-3{padding-top:.75rem!important}.text-left{text-align:left!important}.text-sm{font-size:.75rem!important;line-height:1.5!important}.uppercase{text-transform:uppercase!important}.text-Black{--tw-text-opacity: 1 !important;color:hsl(40 3% 10% / var(--tw-text-opacity, 1))!important}.text-Energy-Red-45{--tw-text-opacity: 1 !important;color:hsl(357 83% 45% / var(--tw-text-opacity, 1))!important}.text-Eucalyptus-20{--tw-text-opacity: 1 !important;color:hsl(178 80% 20% / var(--tw-text-opacity, 1))!important}.text-Land-Green-30{--tw-text-opacity: 1 !important;color:hsl(114 49% 30% / var(--tw-text-opacity, 1))!important}.text-Lavender-50{--tw-text-opacity: 1 !important;color:hsl(232 58% 50% / var(--tw-text-opacity, 1))!important}.text-Sea-Blue-Main-28{--tw-text-opacity: 1 !important;color:hsl(218 100% 28% / var(--tw-text-opacity, 1))!important}.text-Sky-Blue-95{--tw-text-opacity: 1 !important;color:hsl(196 74% 95% / var(--tw-text-opacity, 1))!important}.text-Sunflower-20{--tw-text-opacity: 1 !important;color:hsl(55 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-20{--tw-text-opacity: 1 !important;color:hsl(34 100% 20% / var(--tw-text-opacity, 1))!important}.text-Terracotta-30{--tw-text-opacity: 1 !important;color:hsl(34 100% 30% / var(--tw-text-opacity, 1))!important}.text-White{--tw-text-opacity: 1 !important;color:hsl(40 3% 100% / var(--tw-text-opacity, 1))!important}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1) !important;--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color) !important;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)!important}.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)!important}.transition-all{transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important;transition-duration:.15s!important}.duration-300{transition-duration:.3s!important}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.title{font-size:4rem!important;font-style:normal!important;font-weight:400!important;line-height:1.15625!important}@media only screen and (max-width: 992px){.title{font-size:2.625rem!important;line-height:1.2380952380952381!important}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))!important}:is(.dark .title){color:var(--White, hsl(40 3% 100%))!important}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .2s cubic-bezier(.4,0,1,1)}@keyframes pulse{0%{transform:scale(.75);opacity:.6}50%{transform:scale(1.25);opacity:1}to{transform:scale(.75);opacity:.6}}.p-1{padding:4px}.btn-link-feedback{background:transparent;border:none;text-decoration:none;cursor:pointer;padding:2px;border-radius:4px;transition:background .1s ease-out}.btn-link-feedback:hover{cursor:pointer;border-radius:3px;background-color:#a8a2a2}.btn-link-feedback-disabled{background:transparent;border:none;text-decoration:none;padding:2px;border-radius:4px;cursor:default}.gap-6{gap:24px}.assistant-message{align-self:flex-start}.user-message{background-color:#f3f2f2;max-width:min(80%);padding:12px;text-align:right;font-size:14px;line-height:1.75;letter-spacing:0;font-weight:400}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:-rotate-180{--tw-rotate: -180deg !important;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))!important}`, Ar = "pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#383a42;background:#fafafa}.hljs-comment,.hljs-quote{color:#a0a1a7;font-style:italic}.hljs-doctag,.hljs-keyword,.hljs-formula{color:#a626a4}.hljs-section,.hljs-name,.hljs-selector-tag,.hljs-deletion,.hljs-subst{color:#e45649}.hljs-literal{color:#0184bb}.hljs-string,.hljs-regexp,.hljs-addition,.hljs-attribute,.hljs-meta .hljs-string{color:#50a14f}.hljs-attr,.hljs-variable,.hljs-template-variable,.hljs-type,.hljs-selector-class,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-number{color:#986801}.hljs-symbol,.hljs-bullet,.hljs-link,.hljs-meta,.hljs-selector-id,.hljs-title{color:#4078f2}.hljs-built_in,.hljs-title.class_,.hljs-class .hljs-title{color:#c18401}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}.hljs-link{text-decoration:underline}", Br = '@font-face{font-family:KaTeX_AMS;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_AMS-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Caligraphic;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Caligraphic-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Fraktur;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Fraktur-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_Main;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Main-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-BoldItalic.ttf) format("truetype");font-weight:700;font-style:italic}@font-face{font-family:KaTeX_Math;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Math-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Bold.ttf) format("truetype");font-weight:700;font-style:normal}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Italic.ttf) format("truetype");font-weight:400;font-style:italic}@font-face{font-family:KaTeX_SansSerif;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_SansSerif-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Script;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Script-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size1;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size1-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size2;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size2-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size3;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size3-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Size4;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Size4-Regular.ttf) format("truetype");font-weight:400;font-style:normal}@font-face{font-family:KaTeX_Typewriter;src:url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff2) format("woff2"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.woff) format("woff"),url(https://cdn.veracity.com/vcb/katex/KaTeX_Typewriter-Regular.ttf) format("truetype");font-weight:400;font-style:normal}.katex{font: 1.21em KaTeX_Main,Times New Roman,serif;line-height:1.2;text-indent:0;text-rendering:auto}.katex *{-ms-high-contrast-adjust:none!important;border-color:currentColor}.katex .katex-version:after{content:"0.16.15"}.katex .katex-mathml{position:absolute;clip:rect(1px,1px,1px,1px);padding:0;border:0;height:1px;width:1px;overflow:hidden}.katex .katex-html>.newline{display:block}.katex .base{position:relative;display:inline-block;white-space:nowrap;width:-moz-min-content;width:min-content}.katex .strut{display:inline-block}.katex .textbf{font-weight:700}.katex .textit{font-style:italic}.katex .textrm{font-family:KaTeX_Main}.katex .textsf{font-family:KaTeX_SansSerif}.katex .texttt{font-family:KaTeX_Typewriter}.katex .mathnormal{font-family:KaTeX_Math;font-style:italic}.katex .mathit{font-family:KaTeX_Main;font-style:italic}.katex .mathrm{font-style:normal}.katex .mathbf{font-family:KaTeX_Main;font-weight:700}.katex .boldsymbol{font-family:KaTeX_Math;font-weight:700;font-style:italic}.katex .amsrm,.katex .mathbb,.katex .textbb{font-family:KaTeX_AMS}.katex .mathcal{font-family:KaTeX_Caligraphic}.katex .mathfrak,.katex .textfrak{font-family:KaTeX_Fraktur}.katex .mathboldfrak,.katex .textboldfrak{font-family:KaTeX_Fraktur;font-weight:700}.katex .mathtt{font-family:KaTeX_Typewriter}.katex .mathscr,.katex .textscr{font-family:KaTeX_Script}.katex .mathsf,.katex .textsf{font-family:KaTeX_SansSerif}.katex .mathboldsf,.katex .textboldsf{font-family:KaTeX_SansSerif;font-weight:700}.katex .mathsfit,.katex .mathitsf,.katex .textitsf{font-family:KaTeX_SansSerif;font-style:italic}.katex .mainrm{font-family:KaTeX_Main;font-style:normal}.katex .vlist-t{display:inline-table;table-layout:fixed;border-collapse:collapse}.katex .vlist-r{display:table-row}.katex .vlist{display:table-cell;vertical-align:bottom;position:relative}.katex .vlist>span{display:block;height:0;position:relative}.katex .vlist>span>span{display:inline-block}.katex .vlist>span>.pstrut{overflow:hidden;width:0}.katex .vlist-t2{margin-right:-2px}.katex .vlist-s{display:table-cell;vertical-align:bottom;font-size:1px;width:2px;min-width:2px}.katex .vbox{display:inline-flex;flex-direction:column;align-items:baseline}.katex .hbox{display:inline-flex;flex-direction:row;width:100%}.katex .thinbox{display:inline-flex;flex-direction:row;width:0;max-width:0}.katex .msupsub{text-align:left}.katex .mfrac>span>span{text-align:center}.katex .mfrac .frac-line{display:inline-block;width:100%;border-bottom-style:solid}.katex .mfrac .frac-line,.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline,.katex .hdashline,.katex .rule{min-height:1px}.katex .mspace{display:inline-block}.katex .llap,.katex .rlap,.katex .clap{width:0;position:relative}.katex .llap>.inner,.katex .rlap>.inner,.katex .clap>.inner{position:absolute}.katex .llap>.fix,.katex .rlap>.fix,.katex .clap>.fix{display:inline-block}.katex .llap>.inner{right:0}.katex .rlap>.inner,.katex .clap>.inner{left:0}.katex .clap>.inner>span{margin-left:-50%;margin-right:50%}.katex .rule{display:inline-block;border:solid 0;position:relative}.katex .overline .overline-line,.katex .underline .underline-line,.katex .hline{display:inline-block;width:100%;border-bottom-style:solid}.katex .hdashline{display:inline-block;width:100%;border-bottom-style:dashed}.katex .sqrt>.root{margin-left:.2777777778em;margin-right:-.5555555556em}.katex .sizing.reset-size1.size1,.katex .fontsize-ensurer.reset-size1.size1{font-size:1em}.katex .sizing.reset-size1.size2,.katex .fontsize-ensurer.reset-size1.size2{font-size:1.2em}.katex .sizing.reset-size1.size3,.katex .fontsize-ensurer.reset-size1.size3{font-size:1.4em}.katex .sizing.reset-size1.size4,.katex .fontsize-ensurer.reset-size1.size4{font-size:1.6em}.katex .sizing.reset-size1.size5,.katex .fontsize-ensurer.reset-size1.size5{font-size:1.8em}.katex .sizing.reset-size1.size6,.katex .fontsize-ensurer.reset-size1.size6{font-size:2em}.katex .sizing.reset-size1.size7,.katex .fontsize-ensurer.reset-size1.size7{font-size:2.4em}.katex .sizing.reset-size1.size8,.katex .fontsize-ensurer.reset-size1.size8{font-size:2.88em}.katex .sizing.reset-size1.size9,.katex .fontsize-ensurer.reset-size1.size9{font-size:3.456em}.katex .sizing.reset-size1.size10,.katex .fontsize-ensurer.reset-size1.size10{font-size:4.148em}.katex .sizing.reset-size1.size11,.katex .fontsize-ensurer.reset-size1.size11{font-size:4.976em}.katex .sizing.reset-size2.size1,.katex .fontsize-ensurer.reset-size2.size1{font-size:.8333333333em}.katex .sizing.reset-size2.size2,.katex .fontsize-ensurer.reset-size2.size2{font-size:1em}.katex .sizing.reset-size2.size3,.katex .fontsize-ensurer.reset-size2.size3{font-size:1.1666666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.3333333333em}.katex .sizing.reset-size2.size5,.katex .fontsize-ensurer.reset-size2.size5{font-size:1.5em}.katex .sizing.reset-size2.size6,.katex .fontsize-ensurer.reset-size2.size6{font-size:1.6666666667em}.katex .sizing.reset-size2.size7,.katex .fontsize-ensurer.reset-size2.size7{font-size:2em}.katex .sizing.reset-size2.size8,.katex .fontsize-ensurer.reset-size2.size8{font-size:2.4em}.katex .sizing.reset-size2.size9,.katex .fontsize-ensurer.reset-size2.size9{font-size:2.88em}.katex .sizing.reset-size2.size10,.katex .fontsize-ensurer.reset-size2.size10{font-size:3.4566666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.1466666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.7142857143em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.8571428571em}.katex .sizing.reset-size3.size3,.katex .fontsize-ensurer.reset-size3.size3{font-size:1em}.katex .sizing.reset-size3.size4,.katex .fontsize-ensurer.reset-size3.size4{font-size:1.1428571429em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.2857142857em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.4285714286em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.7142857143em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.0571428571em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.4685714286em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.9628571429em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.5542857143em}.katex .sizing.reset-size4.size1,.katex .fontsize-ensurer.reset-size4.size1{font-size:.625em}.katex .sizing.reset-size4.size2,.katex .fontsize-ensurer.reset-size4.size2{font-size:.75em}.katex .sizing.reset-size4.size3,.katex .fontsize-ensurer.reset-size4.size3{font-size:.875em}.katex .sizing.reset-size4.size4,.katex .fontsize-ensurer.reset-size4.size4{font-size:1em}.katex .sizing.reset-size4.size5,.katex .fontsize-ensurer.reset-size4.size5{font-size:1.125em}.katex .sizing.reset-size4.size6,.katex .fontsize-ensurer.reset-size4.size6{font-size:1.25em}.katex .sizing.reset-size4.size7,.katex .fontsize-ensurer.reset-size4.size7{font-size:1.5em}.katex .sizing.reset-size4.size8,.katex .fontsize-ensurer.reset-size4.size8{font-size:1.8em}.katex .sizing.reset-size4.size9,.katex .fontsize-ensurer.reset-size4.size9{font-size:2.16em}.katex .sizing.reset-size4.size10,.katex .fontsize-ensurer.reset-size4.size10{font-size:2.5925em}.katex .sizing.reset-size4.size11,.katex .fontsize-ensurer.reset-size4.size11{font-size:3.11em}.katex .sizing.reset-size5.size1,.katex .fontsize-ensurer.reset-size5.size1{font-size:.5555555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.6666666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.7777777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.8888888889em}.katex .sizing.reset-size5.size5,.katex .fontsize-ensurer.reset-size5.size5{font-size:1em}.katex .sizing.reset-size5.size6,.katex .fontsize-ensurer.reset-size5.size6{font-size:1.1111111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.3333333333em}.katex .sizing.reset-size5.size8,.katex .fontsize-ensurer.reset-size5.size8{font-size:1.6em}.katex .sizing.reset-size5.size9,.katex .fontsize-ensurer.reset-size5.size9{font-size:1.92em}.katex .sizing.reset-size5.size10,.katex .fontsize-ensurer.reset-size5.size10{font-size:2.3044444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.7644444444em}.katex .sizing.reset-size6.size1,.katex .fontsize-ensurer.reset-size6.size1{font-size:.5em}.katex .sizing.reset-size6.size2,.katex .fontsize-ensurer.reset-size6.size2{font-size:.6em}.katex .sizing.reset-size6.size3,.katex .fontsize-ensurer.reset-size6.size3{font-size:.7em}.katex .sizing.reset-size6.size4,.katex .fontsize-ensurer.reset-size6.size4{font-size:.8em}.katex .sizing.reset-size6.size5,.katex .fontsize-ensurer.reset-size6.size5{font-size:.9em}.katex .sizing.reset-size6.size6,.katex .fontsize-ensurer.reset-size6.size6{font-size:1em}.katex .sizing.reset-size6.size7,.katex .fontsize-ensurer.reset-size6.size7{font-size:1.2em}.katex .sizing.reset-size6.size8,.katex .fontsize-ensurer.reset-size6.size8{font-size:1.44em}.katex .sizing.reset-size6.size9,.katex .fontsize-ensurer.reset-size6.size9{font-size:1.728em}.katex .sizing.reset-size6.size10,.katex .fontsize-ensurer.reset-size6.size10{font-size:2.074em}.katex .sizing.reset-size6.size11,.katex .fontsize-ensurer.reset-size6.size11{font-size:2.488em}.katex .sizing.reset-size7.size1,.katex .fontsize-ensurer.reset-size7.size1{font-size:.4166666667em}.katex .sizing.reset-size7.size2,.katex .fontsize-ensurer.reset-size7.size2{font-size:.5em}.katex .sizing.reset-size7.size3,.katex .fontsize-ensurer.reset-size7.size3{font-size:.5833333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.6666666667em}.katex .sizing.reset-size7.size5,.katex .fontsize-ensurer.reset-size7.size5{font-size:.75em}.katex .sizing.reset-size7.size6,.katex .fontsize-ensurer.reset-size7.size6{font-size:.8333333333em}.katex .sizing.reset-size7.size7,.katex .fontsize-ensurer.reset-size7.size7{font-size:1em}.katex .sizing.reset-size7.size8,.katex .fontsize-ensurer.reset-size7.size8{font-size:1.2em}.katex .sizing.reset-size7.size9,.katex .fontsize-ensurer.reset-size7.size9{font-size:1.44em}.katex .sizing.reset-size7.size10,.katex .fontsize-ensurer.reset-size7.size10{font-size:1.7283333333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.0733333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.3472222222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.4166666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.4861111111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.5555555556em}.katex .sizing.reset-size8.size5,.katex .fontsize-ensurer.reset-size8.size5{font-size:.625em}.katex .sizing.reset-size8.size6,.katex .fontsize-ensurer.reset-size8.size6{font-size:.6944444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.8333333333em}.katex .sizing.reset-size8.size8,.katex .fontsize-ensurer.reset-size8.size8{font-size:1em}.katex .sizing.reset-size8.size9,.katex .fontsize-ensurer.reset-size8.size9{font-size:1.2em}.katex .sizing.reset-size8.size10,.katex .fontsize-ensurer.reset-size8.size10{font-size:1.4402777778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.7277777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.2893518519em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.3472222222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.4050925926em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.462962963em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.5208333333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.6944444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.8333333333em}.katex .sizing.reset-size9.size9,.katex .fontsize-ensurer.reset-size9.size9{font-size:1em}.katex .sizing.reset-size9.size10,.katex .fontsize-ensurer.reset-size9.size10{font-size:1.2002314815em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.4398148148em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.2410800386em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.2892960463em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.337512054em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.3857280617em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.4339440694em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.4821600771em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.5785920926em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.6943105111em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.8331726133em}.katex .sizing.reset-size10.size10,.katex .fontsize-ensurer.reset-size10.size10{font-size:1em}.katex .sizing.reset-size10.size11,.katex .fontsize-ensurer.reset-size10.size11{font-size:1.1996142719em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.2009646302em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.2411575563em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.2813504823em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.3215434084em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.3617363344em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.4019292605em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.4823151125em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.578778135em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.6945337621em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.8336012862em}.katex .sizing.reset-size11.size11,.katex .fontsize-ensurer.reset-size11.size11{font-size:1em}.katex .delimsizing.size1{font-family:KaTeX_Size1}.katex .delimsizing.size2{font-family:KaTeX_Size2}.katex .delimsizing.size3{font-family:KaTeX_Size3}.katex .delimsizing.size4{font-family:KaTeX_Size4}.katex .delimsizing.mult .delim-size1>span{font-family:KaTeX_Size1}.katex .delimsizing.mult .delim-size4>span{font-family:KaTeX_Size4}.katex .nulldelimiter{display:inline-block;width:.12em}.katex .delimcenter,.katex .op-symbol{position:relative}.katex .op-symbol.small-op{font-family:KaTeX_Size1}.katex .op-symbol.large-op{font-family:KaTeX_Size2}.katex .op-limits>.vlist-t{text-align:center}.katex .accent>.vlist-t{text-align:center}.katex .accent .accent-body{position:relative}.katex .accent .accent-body:not(.accent-full){width:0}.katex .overlay{display:block}.katex .mtable .vertical-separator{display:inline-block;min-width:1px}.katex .mtable .arraycolsep{display:inline-block}.katex .mtable .col-align-c>.vlist-t{text-align:center}.katex .mtable .col-align-l>.vlist-t{text-align:left}.katex .mtable .col-align-r>.vlist-t{text-align:right}.katex .svg-align{text-align:left}.katex svg{display:block;position:absolute;width:100%;height:inherit;fill:currentColor;stroke:currentColor;fill-rule:nonzero;fill-opacity:1;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1}.katex svg path{stroke:none}.katex img{border-style:none;min-width:0;min-height:0;max-width:none;max-height:none}.katex .stretchy{width:100%;display:block;position:relative;overflow:hidden}.katex .stretchy:before,.katex .stretchy:after{content:""}.katex .hide-tail{width:100%;position:relative;overflow:hidden}.katex .halfarrow-left{position:absolute;left:0;width:50.2%;overflow:hidden}.katex .halfarrow-right{position:absolute;right:0;width:50.2%;overflow:hidden}.katex .brace-left{position:absolute;left:0;width:25.1%;overflow:hidden}.katex .brace-center{position:absolute;left:25%;width:50%;overflow:hidden}.katex .brace-right{position:absolute;right:0;width:25.1%;overflow:hidden}.katex .x-arrow-pad{padding:0 .5em}.katex .cd-arrow-pad{padding:0 .55556em 0 .27778em}.katex .x-arrow,.katex .mover,.katex .munder{text-align:center}.katex .boxpad{padding:0 .3em}.katex .fbox,.katex .fcolorbox{box-sizing:border-box;border:.04em solid}.katex .cancel-pad{padding:0 .2em}.katex .cancel-lap{margin-left:-.2em;margin-right:-.2em}.katex .sout{border-bottom-style:solid;border-bottom-width:.08em}.katex .angl{box-sizing:border-box;border-top:.049em solid;border-right:.049em solid;margin-right:.03889em}.katex .anglpad{padding:0 .03889em}.katex .eqn-num:before{counter-increment:katexEqnNo;content:"(" counter(katexEqnNo) ")"}.katex .mml-eqn-num:before{counter-increment:mmlEqnNo;content:"(" counter(mmlEqnNo) ")"}.katex .mtr-glue{width:50%}.katex .cd-vert-arrow{display:inline-block;position:relative}.katex .cd-label-left{display:inline-block;position:absolute;right:calc(50% + .3em);text-align:left}.katex .cd-label-right{display:inline-block;position:absolute;left:calc(50% + .3em);text-align:right}.katex-display{display:block;margin:1em 0;text-align:center}.katex-display>.katex{display:block;text-align:center;white-space:nowrap}.katex-display>.katex>.katex-html{display:block;position:relative}.katex-display>.katex>.katex-html>.tag{position:absolute;right:0}.katex-display.leqno>.katex>.katex-html>.tag{left:0;right:auto}.katex-display.fleqn>.katex{text-align:left;padding-left:2em}:host{counter-reset:katexEqnNo mmlEqnNo}';
|
|
43
|
+
class zn extends Error {
|
|
44
44
|
constructor() {
|
|
45
45
|
super("Max input limit reached.");
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
var Qe = /* @__PURE__ */ ((e) => (e[e.Messages = 0] = "Messages", e[e.OperationResult = 1] = "OperationResult", e[e.OperationError = 2] = "OperationError", e))(Qe || {}),
|
|
48
|
+
var Qe = /* @__PURE__ */ ((e) => (e[e.Messages = 0] = "Messages", e[e.OperationResult = 1] = "OperationResult", e[e.OperationError = 2] = "OperationError", e))(Qe || {}), U = /* @__PURE__ */ ((e) => (e[e.MessageBegin = 0] = "MessageBegin", e[e.MessageAppend = 1] = "MessageAppend", e[e.MessageToolCallUpdate = 2] = "MessageToolCallUpdate", e[e.MessageToolCallResult = 3] = "MessageToolCallResult", e[e.MessageToolCallError = 4] = "MessageToolCallError", e[e.MessageExecuteLlmFunctionsBegin = 5] = "MessageExecuteLlmFunctionsBegin", e[e.MessageExecuteLlmFunctionsEnd = 6] = "MessageExecuteLlmFunctionsEnd", e[e.MessageInvokeClientFunction = 7] = "MessageInvokeClientFunction", e[e.MessageInvokeClientFunctionResult = 8] = "MessageInvokeClientFunctionResult", e[e.MessageInvokeClientFunctionError = 9] = "MessageInvokeClientFunctionError", e[e.MessageSubConversationBegin = 10] = "MessageSubConversationBegin", e[e.ConversationEnd = 11] = "ConversationEnd", e[e.ConversationError = 12] = "ConversationError", e[e.MessageToolCallBegin = 13] = "MessageToolCallBegin", e))(U || {});
|
|
49
49
|
class st extends Error {
|
|
50
50
|
constructor(n = "Operation was cancelled.") {
|
|
51
51
|
super(n);
|
|
@@ -75,7 +75,7 @@ class ze {
|
|
|
75
75
|
throw new st();
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
class
|
|
78
|
+
class Ir {
|
|
79
79
|
constructor() {
|
|
80
80
|
y(this, "_queue", []);
|
|
81
81
|
y(this, "_waitToReadDeferred");
|
|
@@ -141,7 +141,7 @@ class Lr {
|
|
|
141
141
|
return this._queue = [], n;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
class ft extends
|
|
144
|
+
class ft extends Ir {
|
|
145
145
|
constructor() {
|
|
146
146
|
super(...arguments);
|
|
147
147
|
y(this, "_reader");
|
|
@@ -195,7 +195,7 @@ class ft extends Lr {
|
|
|
195
195
|
signal: this._abortController.signal
|
|
196
196
|
});
|
|
197
197
|
if (a.status === 429)
|
|
198
|
-
throw new
|
|
198
|
+
throw new zn();
|
|
199
199
|
if (!a.ok) throw new Error(`Failed to start chat completion SSE: ${a.status} ${a.statusText}`);
|
|
200
200
|
this._reader = a.body.getReader(), this.readMessagesAsync();
|
|
201
201
|
}
|
|
@@ -236,7 +236,7 @@ class ft extends Lr {
|
|
|
236
236
|
if (t.length == 0) return null;
|
|
237
237
|
const r = t[0];
|
|
238
238
|
switch (r) {
|
|
239
|
-
case
|
|
239
|
+
case U.MessageBegin: {
|
|
240
240
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync(), a = await this.readUtf8StringAsync(), u = await this.readUtf8StringAsync(), l = await this.readUtf8StringAsync(), c = await this.readUtf8StringAsync(), h = await this.readUtf8StringAsync();
|
|
241
241
|
return {
|
|
242
242
|
type: r,
|
|
@@ -250,7 +250,7 @@ class ft extends Lr {
|
|
|
250
250
|
copilotId: h
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
|
-
case
|
|
253
|
+
case U.MessageAppend: {
|
|
254
254
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync();
|
|
255
255
|
return {
|
|
256
256
|
type: r,
|
|
@@ -258,7 +258,7 @@ class ft extends Lr {
|
|
|
258
258
|
appendMessageMarkdown: i
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
|
-
case
|
|
261
|
+
case U.MessageToolCallUpdate: {
|
|
262
262
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), o = await this.readLittleEndianInt32Async(), a = await this.readUtf8StringAsync(), u = await this.readUtf8StringAsync();
|
|
263
263
|
return {
|
|
264
264
|
type: r,
|
|
@@ -269,7 +269,7 @@ class ft extends Lr {
|
|
|
269
269
|
toolCallUpdateArguments: u
|
|
270
270
|
};
|
|
271
271
|
}
|
|
272
|
-
case
|
|
272
|
+
case U.MessageInvokeClientFunction: {
|
|
273
273
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync(), a = await this.readUtf8StringAsync(), u = await this.readUtf8StringAsync();
|
|
274
274
|
return {
|
|
275
275
|
type: r,
|
|
@@ -280,7 +280,7 @@ class ft extends Lr {
|
|
|
280
280
|
argumentsAsJSON: u
|
|
281
281
|
};
|
|
282
282
|
}
|
|
283
|
-
case
|
|
283
|
+
case U.MessageInvokeClientFunctionResult: {
|
|
284
284
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync();
|
|
285
285
|
return {
|
|
286
286
|
type: r,
|
|
@@ -288,7 +288,7 @@ class ft extends Lr {
|
|
|
288
288
|
result: i
|
|
289
289
|
};
|
|
290
290
|
}
|
|
291
|
-
case
|
|
291
|
+
case U.MessageInvokeClientFunctionError: {
|
|
292
292
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync();
|
|
293
293
|
return {
|
|
294
294
|
type: r,
|
|
@@ -296,7 +296,7 @@ class ft extends Lr {
|
|
|
296
296
|
error: i
|
|
297
297
|
};
|
|
298
298
|
}
|
|
299
|
-
case
|
|
299
|
+
case U.MessageSubConversationBegin: {
|
|
300
300
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync(), a = await this.readUtf8StringAsync(), u = await this.readUtf8StringAsync(), l = await this.readUtf8StringAsync(), c = await this.readUtf8StringAsync();
|
|
301
301
|
return {
|
|
302
302
|
type: r,
|
|
@@ -322,11 +322,11 @@ class ft extends Lr {
|
|
|
322
322
|
// agentManifestIcon,
|
|
323
323
|
// };
|
|
324
324
|
// }
|
|
325
|
-
case
|
|
325
|
+
case U.ConversationEnd: {
|
|
326
326
|
const s = await this.readUtf8StringAsync();
|
|
327
327
|
return { type: r, conversationId: s };
|
|
328
328
|
}
|
|
329
|
-
case
|
|
329
|
+
case U.ConversationError: {
|
|
330
330
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync();
|
|
331
331
|
return {
|
|
332
332
|
type: r,
|
|
@@ -335,8 +335,8 @@ class ft extends Lr {
|
|
|
335
335
|
stackTrace: o
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
|
-
case
|
|
339
|
-
case
|
|
338
|
+
case U.MessageExecuteLlmFunctionsBegin:
|
|
339
|
+
case U.MessageExecuteLlmFunctionsEnd: {
|
|
340
340
|
const s = await this.readUtf8StringAsync();
|
|
341
341
|
return {
|
|
342
342
|
type: r,
|
|
@@ -362,7 +362,7 @@ class ft extends Lr {
|
|
|
362
362
|
// toolCallPlaintextMessage,
|
|
363
363
|
// };
|
|
364
364
|
// }
|
|
365
|
-
case
|
|
365
|
+
case U.MessageToolCallBegin: {
|
|
366
366
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync();
|
|
367
367
|
return {
|
|
368
368
|
type: r,
|
|
@@ -371,7 +371,7 @@ class ft extends Lr {
|
|
|
371
371
|
toolCallBeginInfo: o
|
|
372
372
|
};
|
|
373
373
|
}
|
|
374
|
-
case
|
|
374
|
+
case U.MessageToolCallResult: {
|
|
375
375
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync();
|
|
376
376
|
return {
|
|
377
377
|
type: r,
|
|
@@ -380,7 +380,7 @@ class ft extends Lr {
|
|
|
380
380
|
result: o
|
|
381
381
|
};
|
|
382
382
|
}
|
|
383
|
-
case
|
|
383
|
+
case U.MessageToolCallError: {
|
|
384
384
|
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync();
|
|
385
385
|
return {
|
|
386
386
|
type: r,
|
|
@@ -416,14 +416,14 @@ function Fr(e, n, t) {
|
|
|
416
416
|
let r = new Uint8Array(e.length - t + n.length);
|
|
417
417
|
return r.set(e.subarray(0, e.length - t), 0), r.set(n, e.length - t), r;
|
|
418
418
|
}
|
|
419
|
-
var Mr = Object.defineProperty, O = (e, n) => Mr(e, "name", { value: n, configurable: !0 }),
|
|
419
|
+
var Mr = Object.defineProperty, O = (e, n) => Mr(e, "name", { value: n, configurable: !0 }), vn = ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (n, t) => (typeof require < "u" ? require : n)[t] }) : e)(function(e) {
|
|
420
420
|
if (typeof require < "u") return require.apply(this, arguments);
|
|
421
421
|
throw new Error('Dynamic require of "' + e + '" is not supported');
|
|
422
422
|
});
|
|
423
|
-
function
|
|
423
|
+
function Cn(e) {
|
|
424
424
|
return !isNaN(parseFloat(e)) && isFinite(e);
|
|
425
425
|
}
|
|
426
|
-
O(
|
|
426
|
+
O(Cn, "_isNumber");
|
|
427
427
|
function _e(e) {
|
|
428
428
|
return e.charAt(0).toUpperCase() + e.substring(1);
|
|
429
429
|
}
|
|
@@ -434,7 +434,7 @@ function ct(e) {
|
|
|
434
434
|
};
|
|
435
435
|
}
|
|
436
436
|
O(ct, "_getter");
|
|
437
|
-
var De = ["isConstructor", "isEval", "isNative", "isToplevel"], Pe = ["columnNumber", "lineNumber"],
|
|
437
|
+
var De = ["isConstructor", "isEval", "isNative", "isToplevel"], Pe = ["columnNumber", "lineNumber"], je = ["fileName", "functionName", "source"], Lr = ["args"], Rr = ["evalOrigin"], et = De.concat(Pe, je, Lr, Rr);
|
|
438
438
|
function ie(e) {
|
|
439
439
|
if (e) for (var n = 0; n < et.length; n++) e[et[n]] !== void 0 && this["set" + _e(et[n])](e[et[n]]);
|
|
440
440
|
}
|
|
@@ -467,18 +467,18 @@ for (Be = 0; Be < De.length; Be++) ie.prototype["get" + _e(De[Be])] = ct(De[Be])
|
|
|
467
467
|
var Be;
|
|
468
468
|
for (Ie = 0; Ie < Pe.length; Ie++) ie.prototype["get" + _e(Pe[Ie])] = ct(Pe[Ie]), ie.prototype["set" + _e(Pe[Ie])] = /* @__PURE__ */ function(e) {
|
|
469
469
|
return function(n) {
|
|
470
|
-
if (!
|
|
470
|
+
if (!Cn(n)) throw new TypeError(e + " must be a Number");
|
|
471
471
|
this[e] = Number(n);
|
|
472
472
|
};
|
|
473
473
|
}(Pe[Ie]);
|
|
474
474
|
var Ie;
|
|
475
|
-
for (
|
|
475
|
+
for (Fe = 0; Fe < je.length; Fe++) ie.prototype["get" + _e(je[Fe])] = ct(je[Fe]), ie.prototype["set" + _e(je[Fe])] = /* @__PURE__ */ function(e) {
|
|
476
476
|
return function(n) {
|
|
477
477
|
this[e] = String(n);
|
|
478
478
|
};
|
|
479
|
-
}(
|
|
480
|
-
var
|
|
481
|
-
function
|
|
479
|
+
}(je[Fe]);
|
|
480
|
+
var Fe, mt = ie;
|
|
481
|
+
function Sn() {
|
|
482
482
|
var e = /^\s*at .*(\S+:\d+|\(native\))/m, n = /^(eval@)?(\[native code])?$/;
|
|
483
483
|
return { parse: O(function(t) {
|
|
484
484
|
if (t.stack && t.stack.match(e)) return this.parseV8OrIE(t);
|
|
@@ -512,28 +512,28 @@ function _n() {
|
|
|
512
512
|
}, this);
|
|
513
513
|
}, "ErrorStackParser$$parseFFOrSafari") };
|
|
514
514
|
}
|
|
515
|
-
O(
|
|
516
|
-
var
|
|
515
|
+
O(Sn, "ErrorStackParser");
|
|
516
|
+
var Nr = new Sn(), Or = Nr, ge = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string" && !process.browser, _n = ge && typeof module < "u" && typeof module.exports < "u" && typeof vn < "u" && typeof __dirname < "u", Dr = ge && !_n, Pr = typeof Deno < "u", En = !ge && !Pr, jr = En && typeof window == "object" && typeof document == "object" && typeof document.createElement == "function" && "sessionStorage" in window && typeof importScripts != "function", Ur = En && typeof importScripts == "function" && typeof self == "object";
|
|
517
517
|
typeof navigator == "object" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome") == -1 && navigator.userAgent.indexOf("Safari") > -1;
|
|
518
|
-
var
|
|
518
|
+
var Tn, kt, An, Xt, Tt;
|
|
519
519
|
async function At() {
|
|
520
|
-
if (!ge || (
|
|
520
|
+
if (!ge || (Tn = (await import("./__vite-browser-external-DYxpcVy9.js")).default, Xt = await import("./__vite-browser-external-DYxpcVy9.js"), Tt = await import("./__vite-browser-external-DYxpcVy9.js"), An = (await import("./__vite-browser-external-DYxpcVy9.js")).default, kt = await import("./__vite-browser-external-DYxpcVy9.js"), Bt = kt.sep, typeof vn < "u")) return;
|
|
521
521
|
let e = Xt, n = await import("./__vite-browser-external-DYxpcVy9.js"), t = await import("./__vite-browser-external-DYxpcVy9.js"), r = await import("./__vite-browser-external-DYxpcVy9.js"), s = { fs: e, crypto: n, ws: t, child_process: r };
|
|
522
522
|
globalThis.require = function(i) {
|
|
523
523
|
return s[i];
|
|
524
524
|
};
|
|
525
525
|
}
|
|
526
526
|
O(At, "initNodeModules");
|
|
527
|
-
function
|
|
527
|
+
function Bn(e, n) {
|
|
528
528
|
return kt.resolve(n || ".", e);
|
|
529
529
|
}
|
|
530
|
-
O(
|
|
531
|
-
function
|
|
530
|
+
O(Bn, "node_resolvePath");
|
|
531
|
+
function In(e, n) {
|
|
532
532
|
return n === void 0 && (n = location), new URL(e, n).toString();
|
|
533
533
|
}
|
|
534
|
-
O(
|
|
534
|
+
O(In, "browser_resolvePath");
|
|
535
535
|
var zt;
|
|
536
|
-
ge ? zt =
|
|
536
|
+
ge ? zt = Bn : zt = In;
|
|
537
537
|
var Bt;
|
|
538
538
|
ge || (Bt = "/");
|
|
539
539
|
function Fn(e, n) {
|
|
@@ -547,17 +547,17 @@ function Mn(e, n) {
|
|
|
547
547
|
O(Mn, "browser_getBinaryResponse");
|
|
548
548
|
var ot;
|
|
549
549
|
ge ? ot = Fn : ot = Mn;
|
|
550
|
-
async function
|
|
550
|
+
async function Ln(e, n) {
|
|
551
551
|
let { response: t, binary: r } = ot(e, n);
|
|
552
552
|
if (r) return r;
|
|
553
553
|
let s = await t;
|
|
554
554
|
if (!s.ok) throw new Error(`Failed to load '${e}': request failed.`);
|
|
555
555
|
return new Uint8Array(await s.arrayBuffer());
|
|
556
556
|
}
|
|
557
|
-
O(
|
|
557
|
+
O(Ln, "loadBinaryFile");
|
|
558
558
|
var nt;
|
|
559
559
|
if (jr) nt = O(async (e) => await import(e), "loadScript");
|
|
560
|
-
else if (
|
|
560
|
+
else if (Ur) nt = O(async (e) => {
|
|
561
561
|
try {
|
|
562
562
|
globalThis.importScripts(e);
|
|
563
563
|
} catch (n) {
|
|
@@ -565,30 +565,30 @@ else if (qr) nt = O(async (e) => {
|
|
|
565
565
|
else throw n;
|
|
566
566
|
}
|
|
567
567
|
}, "loadScript");
|
|
568
|
-
else if (ge) nt =
|
|
568
|
+
else if (ge) nt = Rn;
|
|
569
569
|
else throw new Error("Cannot determine runtime environment");
|
|
570
|
-
async function
|
|
571
|
-
e.startsWith("file://") && (e = e.slice(7)), e.includes("://") ?
|
|
570
|
+
async function Rn(e) {
|
|
571
|
+
e.startsWith("file://") && (e = e.slice(7)), e.includes("://") ? An.runInThisContext(await (await fetch(e)).text()) : await import(Tn.pathToFileURL(e).href);
|
|
572
572
|
}
|
|
573
|
-
O(
|
|
574
|
-
async function
|
|
573
|
+
O(Rn, "nodeLoadScript");
|
|
574
|
+
async function Nn(e) {
|
|
575
575
|
if (ge) {
|
|
576
576
|
await At();
|
|
577
577
|
let n = await Tt.readFile(e, { encoding: "utf8" });
|
|
578
578
|
return JSON.parse(n);
|
|
579
579
|
} else return await (await fetch(e)).json();
|
|
580
580
|
}
|
|
581
|
-
O(
|
|
582
|
-
async function
|
|
583
|
-
if (
|
|
581
|
+
O(Nn, "loadLockFile");
|
|
582
|
+
async function On() {
|
|
583
|
+
if (_n) return __dirname;
|
|
584
584
|
let e;
|
|
585
585
|
try {
|
|
586
586
|
throw new Error();
|
|
587
587
|
} catch (r) {
|
|
588
588
|
e = r;
|
|
589
589
|
}
|
|
590
|
-
let n =
|
|
591
|
-
if (ge && !n.startsWith("file://") && (n = `file://${n}`),
|
|
590
|
+
let n = Or.parse(e)[0].fileName;
|
|
591
|
+
if (ge && !n.startsWith("file://") && (n = `file://${n}`), Dr) {
|
|
592
592
|
let r = await import("./__vite-browser-external-DYxpcVy9.js");
|
|
593
593
|
return (await import("./__vite-browser-external-DYxpcVy9.js")).fileURLToPath(r.dirname(n));
|
|
594
594
|
}
|
|
@@ -596,8 +596,8 @@ async function Dn() {
|
|
|
596
596
|
if (t === -1) throw new Error("Could not extract indexURL path from pyodide module location");
|
|
597
597
|
return n.slice(0, t);
|
|
598
598
|
}
|
|
599
|
-
O(
|
|
600
|
-
function
|
|
599
|
+
O(On, "calculateDirname");
|
|
600
|
+
function Dn(e) {
|
|
601
601
|
let n = e.FS, t = e.FS.filesystems.MEMFS, r = e.PATH, s = { DIR_MODE: 16895, FILE_MODE: 33279, mount: function(i) {
|
|
602
602
|
if (!i.opts.fileSystemHandle) throw new Error("opts.fileSystemHandle is required");
|
|
603
603
|
return t.mount.apply(null, arguments);
|
|
@@ -625,7 +625,7 @@ function Pn(e) {
|
|
|
625
625
|
}
|
|
626
626
|
return { type: "local", entries: o };
|
|
627
627
|
}, getRemoteSet: async (i) => {
|
|
628
|
-
let o = /* @__PURE__ */ Object.create(null), a = await
|
|
628
|
+
let o = /* @__PURE__ */ Object.create(null), a = await qr(i.opts.fileSystemHandle);
|
|
629
629
|
for (let [u, l] of a) u !== "." && (o[r.join2(i.mountpoint, u)] = { timestamp: l.kind === "file" ? (await l.getFile()).lastModifiedDate : /* @__PURE__ */ new Date(), mode: l.kind === "file" ? s.FILE_MODE : s.DIR_MODE });
|
|
630
630
|
return { type: "remote", entries: o, handles: a };
|
|
631
631
|
}, loadLocalEntry: (i) => {
|
|
@@ -687,8 +687,8 @@ function Pn(e) {
|
|
|
687
687
|
} };
|
|
688
688
|
e.FS.filesystems.NATIVEFS_ASYNC = s;
|
|
689
689
|
}
|
|
690
|
-
O(
|
|
691
|
-
var
|
|
690
|
+
O(Dn, "initializeNativeFS");
|
|
691
|
+
var qr = O(async (e) => {
|
|
692
692
|
let n = [];
|
|
693
693
|
async function t(s) {
|
|
694
694
|
for await (let i of s.values()) n.push(i), i.kind === "directory" && await t(i);
|
|
@@ -702,13 +702,13 @@ var Wr = O(async (e) => {
|
|
|
702
702
|
}
|
|
703
703
|
return r;
|
|
704
704
|
}, "getFsHandles");
|
|
705
|
-
function
|
|
706
|
-
let n = { noImageDecoding: !0, noAudioDecoding: !0, noWasmDecoding: !1, preRun:
|
|
705
|
+
function Pn(e) {
|
|
706
|
+
let n = { noImageDecoding: !0, noAudioDecoding: !0, noWasmDecoding: !1, preRun: Hn(e), quit(t, r) {
|
|
707
707
|
throw n.exited = { status: t, toThrow: r }, r;
|
|
708
|
-
}, print: e.stdout, printErr: e.stderr, arguments: e.args, API: { config: e }, locateFile: (t) => e.indexURL + t, instantiateWasm:
|
|
708
|
+
}, print: e.stdout, printErr: e.stderr, arguments: e.args, API: { config: e }, locateFile: (t) => e.indexURL + t, instantiateWasm: Xn(e.indexURL) };
|
|
709
709
|
return n;
|
|
710
710
|
}
|
|
711
|
-
O(
|
|
711
|
+
O(Pn, "createSettings");
|
|
712
712
|
function jn(e) {
|
|
713
713
|
return function(n) {
|
|
714
714
|
let t = "/";
|
|
@@ -721,20 +721,20 @@ function jn(e) {
|
|
|
721
721
|
};
|
|
722
722
|
}
|
|
723
723
|
O(jn, "createHomeDirectory");
|
|
724
|
-
function
|
|
724
|
+
function Un(e) {
|
|
725
725
|
return function(n) {
|
|
726
726
|
Object.assign(n.ENV, e);
|
|
727
727
|
};
|
|
728
728
|
}
|
|
729
|
-
O(
|
|
730
|
-
function
|
|
729
|
+
O(Un, "setEnvironment");
|
|
730
|
+
function qn(e) {
|
|
731
731
|
return (n) => {
|
|
732
732
|
for (let t of e) n.FS.mkdirTree(t), n.FS.mount(n.FS.filesystems.NODEFS, { root: t }, t);
|
|
733
733
|
};
|
|
734
734
|
}
|
|
735
|
-
O(
|
|
736
|
-
function
|
|
737
|
-
let n =
|
|
735
|
+
O(qn, "mountLocalDirectories");
|
|
736
|
+
function Wn(e) {
|
|
737
|
+
let n = Ln(e);
|
|
738
738
|
return (t) => {
|
|
739
739
|
let r = t._py_version_major(), s = t._py_version_minor();
|
|
740
740
|
t.FS.mkdirTree("/lib"), t.FS.mkdirTree(`/lib/python${r}.${s}/site-packages`), t.addRunDependency("install-stdlib"), n.then((i) => {
|
|
@@ -746,13 +746,13 @@ function Hn(e) {
|
|
|
746
746
|
});
|
|
747
747
|
};
|
|
748
748
|
}
|
|
749
|
-
O(
|
|
750
|
-
function
|
|
749
|
+
O(Wn, "installStdlib");
|
|
750
|
+
function Hn(e) {
|
|
751
751
|
let n;
|
|
752
|
-
return e.stdLibURL != null ? n = e.stdLibURL : n = e.indexURL + "python_stdlib.zip", [
|
|
752
|
+
return e.stdLibURL != null ? n = e.stdLibURL : n = e.indexURL + "python_stdlib.zip", [Wn(n), jn(e.env.HOME), Un(e.env), qn(e._node_mounts), Dn];
|
|
753
753
|
}
|
|
754
|
-
O(
|
|
755
|
-
function
|
|
754
|
+
O(Hn, "getFileSystemInitializationFuncs");
|
|
755
|
+
function Xn(e) {
|
|
756
756
|
let { binary: n, response: t } = ot(e + "pyodide.asm.wasm");
|
|
757
757
|
return function(r, s) {
|
|
758
758
|
return async function() {
|
|
@@ -767,17 +767,17 @@ function Kn(e) {
|
|
|
767
767
|
}(), {};
|
|
768
768
|
};
|
|
769
769
|
}
|
|
770
|
-
O(
|
|
770
|
+
O(Xn, "getInstantiateWasmFunc");
|
|
771
771
|
var Kt = "0.26.4";
|
|
772
|
-
async function
|
|
772
|
+
async function Kn(e = {}) {
|
|
773
773
|
var n, t;
|
|
774
774
|
await At();
|
|
775
|
-
let r = e.indexURL || await
|
|
775
|
+
let r = e.indexURL || await On();
|
|
776
776
|
r = zt(r), r.endsWith("/") || (r += "/"), e.indexURL = r;
|
|
777
777
|
let s = { fullStdLib: !1, jsglobals: globalThis, stdin: globalThis.prompt ? globalThis.prompt : void 0, lockFileURL: r + "pyodide-lock.json", args: [], _node_mounts: [], env: {}, packageCacheDir: r, packages: [], enableRunUntilComplete: !1, checkAPIVersion: !0 }, i = Object.assign(s, e);
|
|
778
778
|
(n = i.env).HOME ?? (n.HOME = "/home/pyodide"), (t = i.env).PYTHONINSPECT ?? (t.PYTHONINSPECT = "1");
|
|
779
|
-
let o =
|
|
780
|
-
if (a.lockFilePromise =
|
|
779
|
+
let o = Pn(i), a = o.API;
|
|
780
|
+
if (a.lockFilePromise = Nn(i.lockFileURL), typeof _createPyodideModule != "function") {
|
|
781
781
|
let m = `${i.indexURL}pyodide.asm.js`;
|
|
782
782
|
await nt(m);
|
|
783
783
|
}
|
|
@@ -797,7 +797,7 @@ async function Gn(e = {}) {
|
|
|
797
797
|
let h = a.finalizeBootstrap(c);
|
|
798
798
|
return a.sys.path.insert(0, a.config.env.HOME), h.version.includes("dev") || a.setCdnUrl(`https://cdn.jsdelivr.net/pyodide/v${h.version}/full/`), a._pyodide.set_excepthook(), await a.packageIndexReady, a.initializeStreams(i.stdin, i.stdout, i.stderr), h;
|
|
799
799
|
}
|
|
800
|
-
O(
|
|
800
|
+
O(Kn, "loadPyodide");
|
|
801
801
|
var Q = typeof globalThis < "u" && globalThis || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
802
802
|
typeof global < "u" && global || {}, Y = {
|
|
803
803
|
searchParams: "URLSearchParams" in Q,
|
|
@@ -812,11 +812,11 @@ typeof global < "u" && global || {}, Y = {
|
|
|
812
812
|
formData: "FormData" in Q,
|
|
813
813
|
arrayBuffer: "ArrayBuffer" in Q
|
|
814
814
|
};
|
|
815
|
-
function
|
|
815
|
+
function Wr(e) {
|
|
816
816
|
return e && DataView.prototype.isPrototypeOf(e);
|
|
817
817
|
}
|
|
818
818
|
if (Y.arrayBuffer)
|
|
819
|
-
var
|
|
819
|
+
var Hr = [
|
|
820
820
|
"[object Int8Array]",
|
|
821
821
|
"[object Uint8Array]",
|
|
822
822
|
"[object Uint8ClampedArray]",
|
|
@@ -826,8 +826,8 @@ if (Y.arrayBuffer)
|
|
|
826
826
|
"[object Uint32Array]",
|
|
827
827
|
"[object Float32Array]",
|
|
828
828
|
"[object Float64Array]"
|
|
829
|
-
],
|
|
830
|
-
return e &&
|
|
829
|
+
], Xr = ArrayBuffer.isView || function(e) {
|
|
830
|
+
return e && Hr.indexOf(Object.prototype.toString.call(e)) > -1;
|
|
831
831
|
};
|
|
832
832
|
function He(e) {
|
|
833
833
|
if (typeof e != "string" && (e = String(e)), /[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e) || e === "")
|
|
@@ -837,7 +837,7 @@ function He(e) {
|
|
|
837
837
|
function It(e) {
|
|
838
838
|
return typeof e != "string" && (e = String(e)), e;
|
|
839
839
|
}
|
|
840
|
-
function
|
|
840
|
+
function Ft(e) {
|
|
841
841
|
var n = {
|
|
842
842
|
next: function() {
|
|
843
843
|
var t = e.shift();
|
|
@@ -884,19 +884,19 @@ G.prototype.keys = function() {
|
|
|
884
884
|
var e = [];
|
|
885
885
|
return this.forEach(function(n, t) {
|
|
886
886
|
e.push(t);
|
|
887
|
-
}),
|
|
887
|
+
}), Ft(e);
|
|
888
888
|
};
|
|
889
889
|
G.prototype.values = function() {
|
|
890
890
|
var e = [];
|
|
891
891
|
return this.forEach(function(n) {
|
|
892
892
|
e.push(n);
|
|
893
|
-
}),
|
|
893
|
+
}), Ft(e);
|
|
894
894
|
};
|
|
895
895
|
G.prototype.entries = function() {
|
|
896
896
|
var e = [];
|
|
897
897
|
return this.forEach(function(n, t) {
|
|
898
898
|
e.push([t, n]);
|
|
899
|
-
}),
|
|
899
|
+
}), Ft(e);
|
|
900
900
|
};
|
|
901
901
|
Y.iterable && (G.prototype[Symbol.iterator] = G.prototype.entries);
|
|
902
902
|
function gt(e) {
|
|
@@ -906,7 +906,7 @@ function gt(e) {
|
|
|
906
906
|
e.bodyUsed = !0;
|
|
907
907
|
}
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function Gn(e) {
|
|
910
910
|
return new Promise(function(n, t) {
|
|
911
911
|
e.onload = function() {
|
|
912
912
|
n(e.result);
|
|
@@ -915,12 +915,12 @@ function Vn(e) {
|
|
|
915
915
|
};
|
|
916
916
|
});
|
|
917
917
|
}
|
|
918
|
-
function
|
|
919
|
-
var n = new FileReader(), t =
|
|
918
|
+
function Kr(e) {
|
|
919
|
+
var n = new FileReader(), t = Gn(n);
|
|
920
920
|
return n.readAsArrayBuffer(e), t;
|
|
921
921
|
}
|
|
922
|
-
function
|
|
923
|
-
var n = new FileReader(), t =
|
|
922
|
+
function Gr(e) {
|
|
923
|
+
var n = new FileReader(), t = Gn(n), r = /charset=([A-Za-z0-9_-]+)/.exec(e.type), s = r ? r[1] : "utf-8";
|
|
924
924
|
return n.readAsText(e, s), t;
|
|
925
925
|
}
|
|
926
926
|
function $r(e) {
|
|
@@ -936,7 +936,7 @@ function Gt(e) {
|
|
|
936
936
|
}
|
|
937
937
|
function $n() {
|
|
938
938
|
return this.bodyUsed = !1, this._initBody = function(e) {
|
|
939
|
-
this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? typeof e == "string" ? this._bodyText = e : Y.blob && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : Y.formData && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : Y.searchParams && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : Y.arrayBuffer && Y.blob &&
|
|
939
|
+
this.bodyUsed = this.bodyUsed, this._bodyInit = e, e ? typeof e == "string" ? this._bodyText = e : Y.blob && Blob.prototype.isPrototypeOf(e) ? this._bodyBlob = e : Y.formData && FormData.prototype.isPrototypeOf(e) ? this._bodyFormData = e : Y.searchParams && URLSearchParams.prototype.isPrototypeOf(e) ? this._bodyText = e.toString() : Y.arrayBuffer && Y.blob && Wr(e) ? (this._bodyArrayBuffer = Gt(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : Y.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(e) || Xr(e)) ? this._bodyArrayBuffer = Gt(e) : this._bodyText = e = Object.prototype.toString.call(e) : (this._noBody = !0, this._bodyText = ""), this.headers.get("content-type") || (typeof e == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : Y.searchParams && URLSearchParams.prototype.isPrototypeOf(e) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
940
940
|
}, Y.blob && (this.blob = function() {
|
|
941
941
|
var e = gt(this);
|
|
942
942
|
if (e)
|
|
@@ -959,7 +959,7 @@ function $n() {
|
|
|
959
959
|
) : Promise.resolve(this._bodyArrayBuffer));
|
|
960
960
|
} else {
|
|
961
961
|
if (Y.blob)
|
|
962
|
-
return this.blob().then(
|
|
962
|
+
return this.blob().then(Kr);
|
|
963
963
|
throw new Error("could not read as ArrayBuffer");
|
|
964
964
|
}
|
|
965
965
|
}, this.text = function() {
|
|
@@ -967,35 +967,35 @@ function $n() {
|
|
|
967
967
|
if (e)
|
|
968
968
|
return e;
|
|
969
969
|
if (this._bodyBlob)
|
|
970
|
-
return
|
|
970
|
+
return Gr(this._bodyBlob);
|
|
971
971
|
if (this._bodyArrayBuffer)
|
|
972
972
|
return Promise.resolve($r(this._bodyArrayBuffer));
|
|
973
973
|
if (this._bodyFormData)
|
|
974
974
|
throw new Error("could not read FormData body as text");
|
|
975
975
|
return Promise.resolve(this._bodyText);
|
|
976
976
|
}, Y.formData && (this.formData = function() {
|
|
977
|
-
return this.text().then(
|
|
977
|
+
return this.text().then(Zr);
|
|
978
978
|
}), this.json = function() {
|
|
979
979
|
return this.text().then(JSON.parse);
|
|
980
980
|
}, this;
|
|
981
981
|
}
|
|
982
|
-
var
|
|
983
|
-
function
|
|
982
|
+
var Vr = ["CONNECT", "DELETE", "GET", "HEAD", "OPTIONS", "PATCH", "POST", "PUT", "TRACE"];
|
|
983
|
+
function Qr(e) {
|
|
984
984
|
var n = e.toUpperCase();
|
|
985
|
-
return
|
|
985
|
+
return Vr.indexOf(n) > -1 ? n : e;
|
|
986
986
|
}
|
|
987
|
-
function
|
|
988
|
-
if (!(this instanceof
|
|
987
|
+
function Le(e, n) {
|
|
988
|
+
if (!(this instanceof Le))
|
|
989
989
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
990
990
|
n = n || {};
|
|
991
991
|
var t = n.body;
|
|
992
|
-
if (e instanceof
|
|
992
|
+
if (e instanceof Le) {
|
|
993
993
|
if (e.bodyUsed)
|
|
994
994
|
throw new TypeError("Already read");
|
|
995
995
|
this.url = e.url, this.credentials = e.credentials, n.headers || (this.headers = new G(e.headers)), this.method = e.method, this.mode = e.mode, this.signal = e.signal, !t && e._bodyInit != null && (t = e._bodyInit, e.bodyUsed = !0);
|
|
996
996
|
} else
|
|
997
997
|
this.url = String(e);
|
|
998
|
-
if (this.credentials = n.credentials || this.credentials || "same-origin", (n.headers || !this.headers) && (this.headers = new G(n.headers)), this.method =
|
|
998
|
+
if (this.credentials = n.credentials || this.credentials || "same-origin", (n.headers || !this.headers) && (this.headers = new G(n.headers)), this.method = Qr(n.method || this.method || "GET"), this.mode = n.mode || this.mode || null, this.signal = n.signal || this.signal || function() {
|
|
999
999
|
if ("AbortController" in Q) {
|
|
1000
1000
|
var i = new AbortController();
|
|
1001
1001
|
return i.signal;
|
|
@@ -1012,10 +1012,10 @@ function Me(e, n) {
|
|
|
1012
1012
|
}
|
|
1013
1013
|
}
|
|
1014
1014
|
}
|
|
1015
|
-
|
|
1016
|
-
return new
|
|
1015
|
+
Le.prototype.clone = function() {
|
|
1016
|
+
return new Le(this, { body: this._bodyInit });
|
|
1017
1017
|
};
|
|
1018
|
-
function
|
|
1018
|
+
function Zr(e) {
|
|
1019
1019
|
var n = new FormData();
|
|
1020
1020
|
return e.trim().split("&").forEach(function(t) {
|
|
1021
1021
|
if (t) {
|
|
@@ -1024,7 +1024,7 @@ function Jr(e) {
|
|
|
1024
1024
|
}
|
|
1025
1025
|
}), n;
|
|
1026
1026
|
}
|
|
1027
|
-
function
|
|
1027
|
+
function Jr(e) {
|
|
1028
1028
|
var n = new G(), t = e.replace(/\r?\n[\t ]+/g, " ");
|
|
1029
1029
|
return t.split("\r").map(function(r) {
|
|
1030
1030
|
return r.indexOf(`
|
|
@@ -1041,7 +1041,7 @@ function Yr(e) {
|
|
|
1041
1041
|
}
|
|
1042
1042
|
}), n;
|
|
1043
1043
|
}
|
|
1044
|
-
$n.call(
|
|
1044
|
+
$n.call(Le.prototype);
|
|
1045
1045
|
function fe(e, n) {
|
|
1046
1046
|
if (!(this instanceof fe))
|
|
1047
1047
|
throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');
|
|
@@ -1062,27 +1062,27 @@ fe.error = function() {
|
|
|
1062
1062
|
var e = new fe(null, { status: 200, statusText: "" });
|
|
1063
1063
|
return e.ok = !1, e.status = 0, e.type = "error", e;
|
|
1064
1064
|
};
|
|
1065
|
-
var
|
|
1065
|
+
var Yr = [301, 302, 303, 307, 308];
|
|
1066
1066
|
fe.redirect = function(e, n) {
|
|
1067
|
-
if (
|
|
1067
|
+
if (Yr.indexOf(n) === -1)
|
|
1068
1068
|
throw new RangeError("Invalid status code");
|
|
1069
1069
|
return new fe(null, { status: n, headers: { location: e } });
|
|
1070
1070
|
};
|
|
1071
|
-
var
|
|
1071
|
+
var Me = Q.DOMException;
|
|
1072
1072
|
try {
|
|
1073
|
-
new
|
|
1073
|
+
new Me();
|
|
1074
1074
|
} catch {
|
|
1075
|
-
|
|
1075
|
+
Me = function(n, t) {
|
|
1076
1076
|
this.message = n, this.name = t;
|
|
1077
1077
|
var r = Error(n);
|
|
1078
1078
|
this.stack = r.stack;
|
|
1079
|
-
},
|
|
1079
|
+
}, Me.prototype = Object.create(Error.prototype), Me.prototype.constructor = Me;
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function Vn(e, n) {
|
|
1082
1082
|
return new Promise(function(t, r) {
|
|
1083
|
-
var s = new
|
|
1083
|
+
var s = new Le(e, n);
|
|
1084
1084
|
if (s.signal && s.signal.aborted)
|
|
1085
|
-
return r(new
|
|
1085
|
+
return r(new Me("Aborted", "AbortError"));
|
|
1086
1086
|
var i = new XMLHttpRequest();
|
|
1087
1087
|
function o() {
|
|
1088
1088
|
i.abort();
|
|
@@ -1090,7 +1090,7 @@ function Qn(e, n) {
|
|
|
1090
1090
|
i.onload = function() {
|
|
1091
1091
|
var l = {
|
|
1092
1092
|
statusText: i.statusText,
|
|
1093
|
-
headers:
|
|
1093
|
+
headers: Jr(i.getAllResponseHeaders() || "")
|
|
1094
1094
|
};
|
|
1095
1095
|
s.url.indexOf("file://") === 0 && (i.status < 200 || i.status > 599) ? l.status = 200 : l.status = i.status, l.url = "responseURL" in i ? i.responseURL : l.headers.get("X-Request-URL");
|
|
1096
1096
|
var c = "response" in i ? i.response : i.responseText;
|
|
@@ -1107,7 +1107,7 @@ function Qn(e, n) {
|
|
|
1107
1107
|
}, 0);
|
|
1108
1108
|
}, i.onabort = function() {
|
|
1109
1109
|
setTimeout(function() {
|
|
1110
|
-
r(new
|
|
1110
|
+
r(new Me("Aborted", "AbortError"));
|
|
1111
1111
|
}, 0);
|
|
1112
1112
|
};
|
|
1113
1113
|
function a(l) {
|
|
@@ -1133,9 +1133,9 @@ function Qn(e, n) {
|
|
|
1133
1133
|
}), i.send(typeof s._bodyInit > "u" ? null : s._bodyInit);
|
|
1134
1134
|
});
|
|
1135
1135
|
}
|
|
1136
|
-
|
|
1137
|
-
Q.fetch || (Q.fetch =
|
|
1138
|
-
class
|
|
1136
|
+
Vn.polyfill = !0;
|
|
1137
|
+
Q.fetch || (Q.fetch = Vn, Q.Headers = G, Q.Request = Le, Q.Response = fe);
|
|
1138
|
+
class ei extends Error {
|
|
1139
1139
|
constructor(n = "Unexpected end of stream") {
|
|
1140
1140
|
super(n);
|
|
1141
1141
|
}
|
|
@@ -1157,10 +1157,10 @@ function Se(e, n, t, r) {
|
|
|
1157
1157
|
}
|
|
1158
1158
|
var he = /* @__PURE__ */ ((e) => (e.Primary = "btn-primary", e.Secondary = "btn-secondary", e.Tertiary = "btn-tertiary", e.Badge = "btn-badge", e.CTA = "btn-cta", e.Destructive = "btn-destructive", e))(he || {}), Xe = /* @__PURE__ */ ((e) => (e.Small = "btn-sm", e.Medium = "btn-md", e.Large = "btn-lg", e.ExtraLarge = "btn-xl", e))(Xe || {});
|
|
1159
1159
|
function Ze({ as: e = "button", type: n, variant: t = "btn-primary", size: r = "btn-lg", ...s }, i) {
|
|
1160
|
-
const o = /* @__PURE__ */
|
|
1160
|
+
const o = /* @__PURE__ */ w(e, { ...s }, i);
|
|
1161
1161
|
return e === "button" && (o.type = n || "button"), o.classList.add("btn"), t && o.classList.add(t), r && o.classList.add(r), o;
|
|
1162
1162
|
}
|
|
1163
|
-
class
|
|
1163
|
+
class $t {
|
|
1164
1164
|
constructor(n, t, r) {
|
|
1165
1165
|
this.llmFunctionId = n, this.operationId = t, this.conversationMessage = r;
|
|
1166
1166
|
}
|
|
@@ -1199,34 +1199,34 @@ class Vt {
|
|
|
1199
1199
|
);
|
|
1200
1200
|
}
|
|
1201
1201
|
}
|
|
1202
|
-
const
|
|
1203
|
-
function
|
|
1204
|
-
const t =
|
|
1205
|
-
return
|
|
1202
|
+
const ti = {};
|
|
1203
|
+
function ni(e, n) {
|
|
1204
|
+
const t = ti, r = typeof t.includeImageAlt == "boolean" ? t.includeImageAlt : !0, s = typeof t.includeHtml == "boolean" ? t.includeHtml : !0;
|
|
1205
|
+
return Qn(e, r, s);
|
|
1206
1206
|
}
|
|
1207
|
-
function
|
|
1208
|
-
if (
|
|
1207
|
+
function Qn(e, n, t) {
|
|
1208
|
+
if (ri(e)) {
|
|
1209
1209
|
if ("value" in e)
|
|
1210
1210
|
return e.type === "html" && !t ? "" : e.value;
|
|
1211
1211
|
if (n && "alt" in e && e.alt)
|
|
1212
1212
|
return e.alt;
|
|
1213
1213
|
if ("children" in e)
|
|
1214
|
-
return
|
|
1214
|
+
return Vt(e.children, n, t);
|
|
1215
1215
|
}
|
|
1216
|
-
return Array.isArray(e) ?
|
|
1216
|
+
return Array.isArray(e) ? Vt(e, n, t) : "";
|
|
1217
1217
|
}
|
|
1218
|
-
function
|
|
1218
|
+
function Vt(e, n, t) {
|
|
1219
1219
|
const r = [];
|
|
1220
1220
|
let s = -1;
|
|
1221
1221
|
for (; ++s < e.length; )
|
|
1222
|
-
r[s] =
|
|
1222
|
+
r[s] = Qn(e[s], n, t);
|
|
1223
1223
|
return r.join("");
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function ri(e) {
|
|
1226
1226
|
return !!(e && typeof e == "object");
|
|
1227
1227
|
}
|
|
1228
1228
|
const Qt = document.createElement("i");
|
|
1229
|
-
function
|
|
1229
|
+
function Mt(e) {
|
|
1230
1230
|
const n = "&" + e + ";";
|
|
1231
1231
|
Qt.innerHTML = n;
|
|
1232
1232
|
const t = Qt.textContent;
|
|
@@ -1245,14 +1245,14 @@ function se(e, n) {
|
|
|
1245
1245
|
return e.length > 0 ? (me(e, e.length, 0, n), e) : n;
|
|
1246
1246
|
}
|
|
1247
1247
|
const Zt = {}.hasOwnProperty;
|
|
1248
|
-
function
|
|
1248
|
+
function ii(e) {
|
|
1249
1249
|
const n = {};
|
|
1250
1250
|
let t = -1;
|
|
1251
1251
|
for (; ++t < e.length; )
|
|
1252
|
-
|
|
1252
|
+
si(n, e[t]);
|
|
1253
1253
|
return n;
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1255
|
+
function si(e, n) {
|
|
1256
1256
|
let t;
|
|
1257
1257
|
for (t in n) {
|
|
1258
1258
|
const s = (Zt.call(e, t) ? e[t] : void 0) || (e[t] = {}), i = n[t];
|
|
@@ -1261,7 +1261,7 @@ function oi(e, n) {
|
|
|
1261
1261
|
for (o in i) {
|
|
1262
1262
|
Zt.call(s, o) || (s[o] = []);
|
|
1263
1263
|
const a = i[o];
|
|
1264
|
-
|
|
1264
|
+
oi(
|
|
1265
1265
|
// @ts-expect-error Looks like a list.
|
|
1266
1266
|
s[o],
|
|
1267
1267
|
Array.isArray(a) ? a : a ? [a] : []
|
|
@@ -1269,14 +1269,14 @@ function oi(e, n) {
|
|
|
1269
1269
|
}
|
|
1270
1270
|
}
|
|
1271
1271
|
}
|
|
1272
|
-
function
|
|
1272
|
+
function oi(e, n) {
|
|
1273
1273
|
let t = -1;
|
|
1274
1274
|
const r = [];
|
|
1275
1275
|
for (; ++t < n.length; )
|
|
1276
1276
|
(n[t].add === "after" ? e : r).push(n[t]);
|
|
1277
1277
|
me(e, 0, 0, r);
|
|
1278
1278
|
}
|
|
1279
|
-
function
|
|
1279
|
+
function Zn(e, n) {
|
|
1280
1280
|
const t = Number.parseInt(e, n);
|
|
1281
1281
|
return (
|
|
1282
1282
|
// C0 except for HT, LF, FF, CR, space.
|
|
@@ -1292,7 +1292,7 @@ function Jn(e, n) {
|
|
|
1292
1292
|
function We(e) {
|
|
1293
1293
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
1294
1294
|
}
|
|
1295
|
-
const pe = Ee(/[A-Za-z]/), de = Ee(/[\dA-Za-z]/),
|
|
1295
|
+
const pe = Ee(/[A-Za-z]/), de = Ee(/[\dA-Za-z]/), ai = Ee(/[#-'*+\--9=?A-Z^-~]/);
|
|
1296
1296
|
function vt(e) {
|
|
1297
1297
|
return (
|
|
1298
1298
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
@@ -1300,17 +1300,17 @@ function vt(e) {
|
|
|
1300
1300
|
e !== null && (e < 32 || e === 127)
|
|
1301
1301
|
);
|
|
1302
1302
|
}
|
|
1303
|
-
const Ct = Ee(/\d/),
|
|
1303
|
+
const Ct = Ee(/\d/), li = Ee(/[\dA-Fa-f]/), ui = Ee(/[!-/:-@[-`{-~]/);
|
|
1304
1304
|
function E(e) {
|
|
1305
1305
|
return e !== null && e < -2;
|
|
1306
1306
|
}
|
|
1307
1307
|
function J(e) {
|
|
1308
1308
|
return e !== null && (e < 0 || e === 32);
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function L(e) {
|
|
1311
1311
|
return e === -2 || e === -1 || e === 32;
|
|
1312
1312
|
}
|
|
1313
|
-
const
|
|
1313
|
+
const ci = Ee(new RegExp("\\p{P}|\\p{S}", "u")), di = Ee(/\s/);
|
|
1314
1314
|
function Ee(e) {
|
|
1315
1315
|
return n;
|
|
1316
1316
|
function n(t) {
|
|
@@ -1322,16 +1322,16 @@ function N(e, n, t, r) {
|
|
|
1322
1322
|
let i = 0;
|
|
1323
1323
|
return o;
|
|
1324
1324
|
function o(u) {
|
|
1325
|
-
return
|
|
1325
|
+
return L(u) ? (e.enter(t), a(u)) : n(u);
|
|
1326
1326
|
}
|
|
1327
1327
|
function a(u) {
|
|
1328
|
-
return
|
|
1328
|
+
return L(u) && i++ < s ? (e.consume(u), a) : (e.exit(t), n(u));
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
|
-
const
|
|
1332
|
-
tokenize:
|
|
1331
|
+
const hi = {
|
|
1332
|
+
tokenize: pi
|
|
1333
1333
|
};
|
|
1334
|
-
function
|
|
1334
|
+
function pi(e) {
|
|
1335
1335
|
const n = e.attempt(
|
|
1336
1336
|
this.parser.constructs.contentInitial,
|
|
1337
1337
|
r,
|
|
@@ -1364,20 +1364,20 @@ function fi(e) {
|
|
|
1364
1364
|
return E(a) ? (e.consume(a), e.exit("chunkText"), i) : (e.consume(a), o);
|
|
1365
1365
|
}
|
|
1366
1366
|
}
|
|
1367
|
-
const
|
|
1368
|
-
tokenize:
|
|
1367
|
+
const fi = {
|
|
1368
|
+
tokenize: mi
|
|
1369
1369
|
}, Jt = {
|
|
1370
|
-
tokenize:
|
|
1370
|
+
tokenize: gi
|
|
1371
1371
|
};
|
|
1372
|
-
function
|
|
1372
|
+
function mi(e) {
|
|
1373
1373
|
const n = this, t = [];
|
|
1374
1374
|
let r = 0, s, i, o;
|
|
1375
1375
|
return a;
|
|
1376
1376
|
function a(_) {
|
|
1377
1377
|
if (r < t.length) {
|
|
1378
|
-
const
|
|
1379
|
-
return n.containerState =
|
|
1380
|
-
|
|
1378
|
+
const j = t[r];
|
|
1379
|
+
return n.containerState = j[1], e.attempt(
|
|
1380
|
+
j[0].continuation,
|
|
1381
1381
|
u,
|
|
1382
1382
|
l
|
|
1383
1383
|
)(_);
|
|
@@ -1387,23 +1387,23 @@ function gi(e) {
|
|
|
1387
1387
|
function u(_) {
|
|
1388
1388
|
if (r++, n.containerState._closeFlow) {
|
|
1389
1389
|
n.containerState._closeFlow = void 0, s && C();
|
|
1390
|
-
const
|
|
1391
|
-
let P =
|
|
1390
|
+
const j = n.events.length;
|
|
1391
|
+
let P = j, x;
|
|
1392
1392
|
for (; P--; )
|
|
1393
1393
|
if (n.events[P][0] === "exit" && n.events[P][1].type === "chunkFlow") {
|
|
1394
1394
|
x = n.events[P][1].end;
|
|
1395
1395
|
break;
|
|
1396
1396
|
}
|
|
1397
1397
|
z(r);
|
|
1398
|
-
let
|
|
1399
|
-
for (;
|
|
1400
|
-
n.events[
|
|
1398
|
+
let M = j;
|
|
1399
|
+
for (; M < n.events.length; )
|
|
1400
|
+
n.events[M][1].end = Object.assign({}, x), M++;
|
|
1401
1401
|
return me(
|
|
1402
1402
|
n.events,
|
|
1403
1403
|
P + 1,
|
|
1404
1404
|
0,
|
|
1405
|
-
n.events.slice(
|
|
1406
|
-
), n.events.length =
|
|
1405
|
+
n.events.slice(j)
|
|
1406
|
+
), n.events.length = M, l(_);
|
|
1407
1407
|
}
|
|
1408
1408
|
return a(_);
|
|
1409
1409
|
}
|
|
@@ -1450,14 +1450,14 @@ function gi(e) {
|
|
|
1450
1450
|
}
|
|
1451
1451
|
function S(_) {
|
|
1452
1452
|
if (_ === null) {
|
|
1453
|
-
|
|
1453
|
+
F(e.exit("chunkFlow"), !0), z(0), e.consume(_);
|
|
1454
1454
|
return;
|
|
1455
1455
|
}
|
|
1456
|
-
return E(_) ? (e.consume(_),
|
|
1456
|
+
return E(_) ? (e.consume(_), F(e.exit("chunkFlow")), r = 0, n.interrupt = void 0, a) : (e.consume(_), S);
|
|
1457
1457
|
}
|
|
1458
|
-
function
|
|
1458
|
+
function F(_, j) {
|
|
1459
1459
|
const P = n.sliceStream(_);
|
|
1460
|
-
if (
|
|
1460
|
+
if (j && P.push(null), _.previous = i, i && (i.next = _), i = _, s.defineSkip(_.start), s.write(P), n.parser.lazy[_.start.line]) {
|
|
1461
1461
|
let x = s.events.length;
|
|
1462
1462
|
for (; x--; )
|
|
1463
1463
|
if (
|
|
@@ -1467,8 +1467,8 @@ function gi(e) {
|
|
|
1467
1467
|
s.events[x][1].end.offset > o)
|
|
1468
1468
|
)
|
|
1469
1469
|
return;
|
|
1470
|
-
const
|
|
1471
|
-
let q =
|
|
1470
|
+
const M = n.events.length;
|
|
1471
|
+
let q = M, I, g;
|
|
1472
1472
|
for (; q--; )
|
|
1473
1473
|
if (n.events[q][0] === "exit" && n.events[q][1].type === "chunkFlow") {
|
|
1474
1474
|
if (I) {
|
|
@@ -1477,20 +1477,20 @@ function gi(e) {
|
|
|
1477
1477
|
}
|
|
1478
1478
|
I = !0;
|
|
1479
1479
|
}
|
|
1480
|
-
for (z(r), x =
|
|
1480
|
+
for (z(r), x = M; x < n.events.length; )
|
|
1481
1481
|
n.events[x][1].end = Object.assign({}, g), x++;
|
|
1482
1482
|
me(
|
|
1483
1483
|
n.events,
|
|
1484
1484
|
q + 1,
|
|
1485
1485
|
0,
|
|
1486
|
-
n.events.slice(
|
|
1486
|
+
n.events.slice(M)
|
|
1487
1487
|
), n.events.length = x;
|
|
1488
1488
|
}
|
|
1489
1489
|
}
|
|
1490
1490
|
function z(_) {
|
|
1491
|
-
let
|
|
1492
|
-
for (;
|
|
1493
|
-
const P = t[
|
|
1491
|
+
let j = t.length;
|
|
1492
|
+
for (; j-- > _; ) {
|
|
1493
|
+
const P = t[j];
|
|
1494
1494
|
n.containerState = P[1], P[0].exit.call(n, e);
|
|
1495
1495
|
}
|
|
1496
1496
|
t.length = _;
|
|
@@ -1499,7 +1499,7 @@ function gi(e) {
|
|
|
1499
1499
|
s.write([null]), i = void 0, s = void 0, n.containerState._closeFlow = void 0;
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
|
-
function
|
|
1502
|
+
function gi(e, n, t) {
|
|
1503
1503
|
return N(
|
|
1504
1504
|
e,
|
|
1505
1505
|
e.attempt(this.parser.constructs.document, n, t),
|
|
@@ -1508,12 +1508,12 @@ function bi(e, n, t) {
|
|
|
1508
1508
|
);
|
|
1509
1509
|
}
|
|
1510
1510
|
function Yt(e) {
|
|
1511
|
-
if (e === null || J(e) ||
|
|
1511
|
+
if (e === null || J(e) || di(e))
|
|
1512
1512
|
return 1;
|
|
1513
|
-
if (
|
|
1513
|
+
if (ci(e))
|
|
1514
1514
|
return 2;
|
|
1515
1515
|
}
|
|
1516
|
-
function
|
|
1516
|
+
function Lt(e, n, t) {
|
|
1517
1517
|
const r = [];
|
|
1518
1518
|
let s = -1;
|
|
1519
1519
|
for (; ++s < e.length; ) {
|
|
@@ -1524,10 +1524,10 @@ function Mt(e, n, t) {
|
|
|
1524
1524
|
}
|
|
1525
1525
|
const St = {
|
|
1526
1526
|
name: "attention",
|
|
1527
|
-
tokenize:
|
|
1528
|
-
resolveAll:
|
|
1527
|
+
tokenize: wi,
|
|
1528
|
+
resolveAll: bi
|
|
1529
1529
|
};
|
|
1530
|
-
function
|
|
1530
|
+
function bi(e, n) {
|
|
1531
1531
|
let t = -1, r, s, i, o, a, u, l, c;
|
|
1532
1532
|
for (; ++t < e.length; )
|
|
1533
1533
|
if (e[t][0] === "enter" && e[t][1].type === "attentionSequence" && e[t][1]._close) {
|
|
@@ -1564,7 +1564,7 @@ function wi(e, n) {
|
|
|
1564
1564
|
["enter", i, n]
|
|
1565
1565
|
]), l = se(
|
|
1566
1566
|
l,
|
|
1567
|
-
|
|
1567
|
+
Lt(
|
|
1568
1568
|
n.parser.constructs.insideSpan.null,
|
|
1569
1569
|
e.slice(r + 1, t),
|
|
1570
1570
|
n
|
|
@@ -1585,7 +1585,7 @@ function wi(e, n) {
|
|
|
1585
1585
|
e[t][1].type === "attentionSequence" && (e[t][1].type = "data");
|
|
1586
1586
|
return e;
|
|
1587
1587
|
}
|
|
1588
|
-
function
|
|
1588
|
+
function wi(e, n) {
|
|
1589
1589
|
const t = this.parser.constructs.attentionMarkers.null, r = this.previous, s = Yt(r);
|
|
1590
1590
|
let i;
|
|
1591
1591
|
return o;
|
|
@@ -1602,11 +1602,11 @@ function xi(e, n) {
|
|
|
1602
1602
|
function en(e, n) {
|
|
1603
1603
|
e.column += n, e.offset += n, e._bufferIndex += n;
|
|
1604
1604
|
}
|
|
1605
|
-
const
|
|
1605
|
+
const xi = {
|
|
1606
1606
|
name: "autolink",
|
|
1607
|
-
tokenize:
|
|
1607
|
+
tokenize: yi
|
|
1608
1608
|
};
|
|
1609
|
-
function
|
|
1609
|
+
function yi(e, n, t) {
|
|
1610
1610
|
let r = 0;
|
|
1611
1611
|
return s;
|
|
1612
1612
|
function s(d) {
|
|
@@ -1625,7 +1625,7 @@ function ki(e, n, t) {
|
|
|
1625
1625
|
return d === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(d), e.exit("autolinkMarker"), e.exit("autolink"), n) : d === null || d === 32 || d === 60 || vt(d) ? t(d) : (e.consume(d), u);
|
|
1626
1626
|
}
|
|
1627
1627
|
function l(d) {
|
|
1628
|
-
return d === 64 ? (e.consume(d), c) :
|
|
1628
|
+
return d === 64 ? (e.consume(d), c) : ai(d) ? (e.consume(d), l) : t(d);
|
|
1629
1629
|
}
|
|
1630
1630
|
function c(d) {
|
|
1631
1631
|
return de(d) ? h(d) : t(d);
|
|
@@ -1642,27 +1642,27 @@ function ki(e, n, t) {
|
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
1644
|
const dt = {
|
|
1645
|
-
tokenize:
|
|
1645
|
+
tokenize: ki,
|
|
1646
1646
|
partial: !0
|
|
1647
1647
|
};
|
|
1648
|
-
function
|
|
1648
|
+
function ki(e, n, t) {
|
|
1649
1649
|
return r;
|
|
1650
1650
|
function r(i) {
|
|
1651
|
-
return
|
|
1651
|
+
return L(i) ? N(e, s, "linePrefix")(i) : s(i);
|
|
1652
1652
|
}
|
|
1653
1653
|
function s(i) {
|
|
1654
1654
|
return i === null || E(i) ? n(i) : t(i);
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
|
-
const
|
|
1657
|
+
const Jn = {
|
|
1658
1658
|
name: "blockQuote",
|
|
1659
|
-
tokenize:
|
|
1659
|
+
tokenize: zi,
|
|
1660
1660
|
continuation: {
|
|
1661
|
-
tokenize:
|
|
1661
|
+
tokenize: vi
|
|
1662
1662
|
},
|
|
1663
|
-
exit:
|
|
1663
|
+
exit: Ci
|
|
1664
1664
|
};
|
|
1665
|
-
function
|
|
1665
|
+
function zi(e, n, t) {
|
|
1666
1666
|
const r = this;
|
|
1667
1667
|
return s;
|
|
1668
1668
|
function s(o) {
|
|
@@ -1675,14 +1675,14 @@ function vi(e, n, t) {
|
|
|
1675
1675
|
return t(o);
|
|
1676
1676
|
}
|
|
1677
1677
|
function i(o) {
|
|
1678
|
-
return
|
|
1678
|
+
return L(o) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(o), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), n) : (e.exit("blockQuotePrefix"), n(o));
|
|
1679
1679
|
}
|
|
1680
1680
|
}
|
|
1681
|
-
function
|
|
1681
|
+
function vi(e, n, t) {
|
|
1682
1682
|
const r = this;
|
|
1683
1683
|
return s;
|
|
1684
1684
|
function s(o) {
|
|
1685
|
-
return
|
|
1685
|
+
return L(o) ? N(
|
|
1686
1686
|
e,
|
|
1687
1687
|
i,
|
|
1688
1688
|
"linePrefix",
|
|
@@ -1690,30 +1690,30 @@ function Ci(e, n, t) {
|
|
|
1690
1690
|
)(o) : i(o);
|
|
1691
1691
|
}
|
|
1692
1692
|
function i(o) {
|
|
1693
|
-
return e.attempt(
|
|
1693
|
+
return e.attempt(Jn, n, t)(o);
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
|
-
function
|
|
1696
|
+
function Ci(e) {
|
|
1697
1697
|
e.exit("blockQuote");
|
|
1698
1698
|
}
|
|
1699
|
-
const
|
|
1699
|
+
const Yn = {
|
|
1700
1700
|
name: "characterEscape",
|
|
1701
|
-
tokenize:
|
|
1701
|
+
tokenize: Si
|
|
1702
1702
|
};
|
|
1703
|
-
function
|
|
1703
|
+
function Si(e, n, t) {
|
|
1704
1704
|
return r;
|
|
1705
1705
|
function r(i) {
|
|
1706
1706
|
return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(i), e.exit("escapeMarker"), s;
|
|
1707
1707
|
}
|
|
1708
1708
|
function s(i) {
|
|
1709
|
-
return
|
|
1709
|
+
return ui(i) ? (e.enter("characterEscapeValue"), e.consume(i), e.exit("characterEscapeValue"), e.exit("characterEscape"), n) : t(i);
|
|
1710
1710
|
}
|
|
1711
1711
|
}
|
|
1712
|
-
const
|
|
1712
|
+
const er = {
|
|
1713
1713
|
name: "characterReference",
|
|
1714
|
-
tokenize:
|
|
1714
|
+
tokenize: _i
|
|
1715
1715
|
};
|
|
1716
|
-
function
|
|
1716
|
+
function _i(e, n, t) {
|
|
1717
1717
|
const r = this;
|
|
1718
1718
|
let s = 0, i, o;
|
|
1719
1719
|
return a;
|
|
@@ -1724,25 +1724,25 @@ function Ei(e, n, t) {
|
|
|
1724
1724
|
return h === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(h), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), i = 31, o = de, c(h));
|
|
1725
1725
|
}
|
|
1726
1726
|
function l(h) {
|
|
1727
|
-
return h === 88 || h === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(h), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, o =
|
|
1727
|
+
return h === 88 || h === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(h), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, o = li, c) : (e.enter("characterReferenceValue"), i = 7, o = Ct, c(h));
|
|
1728
1728
|
}
|
|
1729
1729
|
function c(h) {
|
|
1730
1730
|
if (h === 59 && s) {
|
|
1731
1731
|
const m = e.exit("characterReferenceValue");
|
|
1732
|
-
return o === de && !
|
|
1732
|
+
return o === de && !Mt(r.sliceSerialize(m)) ? t(h) : (e.enter("characterReferenceMarker"), e.consume(h), e.exit("characterReferenceMarker"), e.exit("characterReference"), n);
|
|
1733
1733
|
}
|
|
1734
1734
|
return o(h) && s++ < i ? (e.consume(h), c) : t(h);
|
|
1735
1735
|
}
|
|
1736
1736
|
}
|
|
1737
1737
|
const tn = {
|
|
1738
|
-
tokenize:
|
|
1738
|
+
tokenize: Ti,
|
|
1739
1739
|
partial: !0
|
|
1740
1740
|
}, nn = {
|
|
1741
1741
|
name: "codeFenced",
|
|
1742
|
-
tokenize:
|
|
1742
|
+
tokenize: Ei,
|
|
1743
1743
|
concrete: !0
|
|
1744
1744
|
};
|
|
1745
|
-
function
|
|
1745
|
+
function Ei(e, n, t) {
|
|
1746
1746
|
const r = this, s = {
|
|
1747
1747
|
tokenize: P,
|
|
1748
1748
|
partial: !0
|
|
@@ -1753,19 +1753,19 @@ function Ti(e, n, t) {
|
|
|
1753
1753
|
return l(x);
|
|
1754
1754
|
}
|
|
1755
1755
|
function l(x) {
|
|
1756
|
-
const
|
|
1757
|
-
return i =
|
|
1756
|
+
const M = r.events[r.events.length - 1];
|
|
1757
|
+
return i = M && M[1].type === "linePrefix" ? M[2].sliceSerialize(M[1], !0).length : 0, a = x, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(x);
|
|
1758
1758
|
}
|
|
1759
1759
|
function c(x) {
|
|
1760
|
-
return x === a ? (o++, e.consume(x), c) : o < 3 ? t(x) : (e.exit("codeFencedFenceSequence"),
|
|
1760
|
+
return x === a ? (o++, e.consume(x), c) : o < 3 ? t(x) : (e.exit("codeFencedFenceSequence"), L(x) ? N(e, h, "whitespace")(x) : h(x));
|
|
1761
1761
|
}
|
|
1762
1762
|
function h(x) {
|
|
1763
|
-
return x === null || E(x) ? (e.exit("codeFencedFence"), r.interrupt ? n(x) : e.check(tn, S,
|
|
1763
|
+
return x === null || E(x) ? (e.exit("codeFencedFence"), r.interrupt ? n(x) : e.check(tn, S, j)(x)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
1764
1764
|
contentType: "string"
|
|
1765
1765
|
}), m(x));
|
|
1766
1766
|
}
|
|
1767
1767
|
function m(x) {
|
|
1768
|
-
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(x)) :
|
|
1768
|
+
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), h(x)) : L(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), N(e, d, "whitespace")(x)) : x === 96 && x === a ? t(x) : (e.consume(x), m);
|
|
1769
1769
|
}
|
|
1770
1770
|
function d(x) {
|
|
1771
1771
|
return x === null || E(x) ? h(x) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
@@ -1776,13 +1776,13 @@ function Ti(e, n, t) {
|
|
|
1776
1776
|
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), h(x)) : x === 96 && x === a ? t(x) : (e.consume(x), v);
|
|
1777
1777
|
}
|
|
1778
1778
|
function S(x) {
|
|
1779
|
-
return e.attempt(s,
|
|
1779
|
+
return e.attempt(s, j, F)(x);
|
|
1780
1780
|
}
|
|
1781
|
-
function
|
|
1781
|
+
function F(x) {
|
|
1782
1782
|
return e.enter("lineEnding"), e.consume(x), e.exit("lineEnding"), z;
|
|
1783
1783
|
}
|
|
1784
1784
|
function z(x) {
|
|
1785
|
-
return i > 0 &&
|
|
1785
|
+
return i > 0 && L(x) ? N(
|
|
1786
1786
|
e,
|
|
1787
1787
|
C,
|
|
1788
1788
|
"linePrefix",
|
|
@@ -1790,22 +1790,22 @@ function Ti(e, n, t) {
|
|
|
1790
1790
|
)(x) : C(x);
|
|
1791
1791
|
}
|
|
1792
1792
|
function C(x) {
|
|
1793
|
-
return x === null || E(x) ? e.check(tn, S,
|
|
1793
|
+
return x === null || E(x) ? e.check(tn, S, j)(x) : (e.enter("codeFlowValue"), _(x));
|
|
1794
1794
|
}
|
|
1795
1795
|
function _(x) {
|
|
1796
1796
|
return x === null || E(x) ? (e.exit("codeFlowValue"), C(x)) : (e.consume(x), _);
|
|
1797
1797
|
}
|
|
1798
|
-
function
|
|
1798
|
+
function j(x) {
|
|
1799
1799
|
return e.exit("codeFenced"), n(x);
|
|
1800
1800
|
}
|
|
1801
|
-
function P(x,
|
|
1801
|
+
function P(x, M, q) {
|
|
1802
1802
|
let I = 0;
|
|
1803
1803
|
return g;
|
|
1804
1804
|
function g(D) {
|
|
1805
1805
|
return x.enter("lineEnding"), x.consume(D), x.exit("lineEnding"), T;
|
|
1806
1806
|
}
|
|
1807
1807
|
function T(D) {
|
|
1808
|
-
return x.enter("codeFencedFence"),
|
|
1808
|
+
return x.enter("codeFencedFence"), L(D) ? N(
|
|
1809
1809
|
x,
|
|
1810
1810
|
A,
|
|
1811
1811
|
"linePrefix",
|
|
@@ -1816,14 +1816,14 @@ function Ti(e, n, t) {
|
|
|
1816
1816
|
return D === a ? (x.enter("codeFencedFenceSequence"), W(D)) : q(D);
|
|
1817
1817
|
}
|
|
1818
1818
|
function W(D) {
|
|
1819
|
-
return D === a ? (I++, x.consume(D), W) : I >= o ? (x.exit("codeFencedFenceSequence"),
|
|
1819
|
+
return D === a ? (I++, x.consume(D), W) : I >= o ? (x.exit("codeFencedFenceSequence"), L(D) ? N(x, K, "whitespace")(D) : K(D)) : q(D);
|
|
1820
1820
|
}
|
|
1821
1821
|
function K(D) {
|
|
1822
|
-
return D === null || E(D) ? (x.exit("codeFencedFence"),
|
|
1822
|
+
return D === null || E(D) ? (x.exit("codeFencedFence"), M(D)) : q(D);
|
|
1823
1823
|
}
|
|
1824
1824
|
}
|
|
1825
1825
|
}
|
|
1826
|
-
function
|
|
1826
|
+
function Ti(e, n, t) {
|
|
1827
1827
|
const r = this;
|
|
1828
1828
|
return s;
|
|
1829
1829
|
function s(o) {
|
|
@@ -1835,12 +1835,12 @@ function Ai(e, n, t) {
|
|
|
1835
1835
|
}
|
|
1836
1836
|
const bt = {
|
|
1837
1837
|
name: "codeIndented",
|
|
1838
|
-
tokenize:
|
|
1839
|
-
},
|
|
1840
|
-
tokenize:
|
|
1838
|
+
tokenize: Bi
|
|
1839
|
+
}, Ai = {
|
|
1840
|
+
tokenize: Ii,
|
|
1841
1841
|
partial: !0
|
|
1842
1842
|
};
|
|
1843
|
-
function
|
|
1843
|
+
function Bi(e, n, t) {
|
|
1844
1844
|
const r = this;
|
|
1845
1845
|
return s;
|
|
1846
1846
|
function s(l) {
|
|
@@ -1851,7 +1851,7 @@ function Ii(e, n, t) {
|
|
|
1851
1851
|
return c && c[1].type === "linePrefix" && c[2].sliceSerialize(c[1], !0).length >= 4 ? o(l) : t(l);
|
|
1852
1852
|
}
|
|
1853
1853
|
function o(l) {
|
|
1854
|
-
return l === null ? u(l) : E(l) ? e.attempt(
|
|
1854
|
+
return l === null ? u(l) : E(l) ? e.attempt(Ai, o, u)(l) : (e.enter("codeFlowValue"), a(l));
|
|
1855
1855
|
}
|
|
1856
1856
|
function a(l) {
|
|
1857
1857
|
return l === null || E(l) ? (e.exit("codeFlowValue"), o(l)) : (e.consume(l), a);
|
|
@@ -1860,7 +1860,7 @@ function Ii(e, n, t) {
|
|
|
1860
1860
|
return e.exit("codeIndented"), n(l);
|
|
1861
1861
|
}
|
|
1862
1862
|
}
|
|
1863
|
-
function
|
|
1863
|
+
function Ii(e, n, t) {
|
|
1864
1864
|
const r = this;
|
|
1865
1865
|
return s;
|
|
1866
1866
|
function s(o) {
|
|
@@ -1873,9 +1873,9 @@ function Li(e, n, t) {
|
|
|
1873
1873
|
}
|
|
1874
1874
|
const Fi = {
|
|
1875
1875
|
name: "codeText",
|
|
1876
|
-
tokenize:
|
|
1876
|
+
tokenize: Ri,
|
|
1877
1877
|
resolve: Mi,
|
|
1878
|
-
previous:
|
|
1878
|
+
previous: Li
|
|
1879
1879
|
};
|
|
1880
1880
|
function Mi(e) {
|
|
1881
1881
|
let n = e.length - 4, t = 3, r, s;
|
|
@@ -1890,10 +1890,10 @@ function Mi(e) {
|
|
|
1890
1890
|
s === void 0 ? r !== n && e[r][1].type !== "lineEnding" && (s = r) : (r === n || e[r][1].type === "lineEnding") && (e[s][1].type = "codeTextData", r !== s + 2 && (e[s][1].end = e[r - 1][1].end, e.splice(s + 2, r - s - 2), n -= r - s - 2, r = s + 2), s = void 0);
|
|
1891
1891
|
return e;
|
|
1892
1892
|
}
|
|
1893
|
-
function
|
|
1893
|
+
function Li(e) {
|
|
1894
1894
|
return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
1895
1895
|
}
|
|
1896
|
-
function
|
|
1896
|
+
function Ri(e, n, t) {
|
|
1897
1897
|
let r = 0, s, i;
|
|
1898
1898
|
return o;
|
|
1899
1899
|
function o(h) {
|
|
@@ -1912,7 +1912,7 @@ function Ni(e, n, t) {
|
|
|
1912
1912
|
return h === 96 ? (e.consume(h), s++, c) : s === r ? (e.exit("codeTextSequence"), e.exit("codeText"), n(h)) : (i.type = "codeTextData", l(h));
|
|
1913
1913
|
}
|
|
1914
1914
|
}
|
|
1915
|
-
function
|
|
1915
|
+
function tr(e) {
|
|
1916
1916
|
const n = {};
|
|
1917
1917
|
let t = -1, r, s, i, o, a, u, l;
|
|
1918
1918
|
for (; ++t < e.length; ) {
|
|
@@ -1922,7 +1922,7 @@ function nr(e) {
|
|
|
1922
1922
|
for (; ++i < u.length && u[i][1].type !== "content"; )
|
|
1923
1923
|
u[i][1].type === "chunkText" && (u[i][1]._isInFirstContentOfListItem = !0, i++);
|
|
1924
1924
|
if (r[0] === "enter")
|
|
1925
|
-
r[1].contentType && (Object.assign(n,
|
|
1925
|
+
r[1].contentType && (Object.assign(n, Ni(e, t)), t = n[t], l = !0);
|
|
1926
1926
|
else if (r[1]._container) {
|
|
1927
1927
|
for (i = t, s = void 0; i-- && (o = e[i], o[1].type === "lineEnding" || o[1].type === "lineEndingBlank"); )
|
|
1928
1928
|
o[0] === "enter" && (s && (e[s][1].type = "lineEndingBlank"), o[1].type = "lineEnding", s = i);
|
|
@@ -1931,12 +1931,12 @@ function nr(e) {
|
|
|
1931
1931
|
}
|
|
1932
1932
|
return !l;
|
|
1933
1933
|
}
|
|
1934
|
-
function
|
|
1934
|
+
function Ni(e, n) {
|
|
1935
1935
|
const t = e[n][1], r = e[n][2];
|
|
1936
1936
|
let s = n - 1;
|
|
1937
1937
|
const i = [], o = t._tokenizer || r.parser[t.contentType](t.start), a = o.events, u = [], l = {};
|
|
1938
1938
|
let c, h, m = -1, d = t, v = 0, S = 0;
|
|
1939
|
-
const
|
|
1939
|
+
const F = [S];
|
|
1940
1940
|
for (; d; ) {
|
|
1941
1941
|
for (; e[++s][1] !== d; )
|
|
1942
1942
|
;
|
|
@@ -1944,24 +1944,24 @@ function Oi(e, n) {
|
|
|
1944
1944
|
}
|
|
1945
1945
|
for (d = t; ++m < a.length; )
|
|
1946
1946
|
// Find a void token that includes a break.
|
|
1947
|
-
a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (S = m + 1,
|
|
1948
|
-
for (o.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) :
|
|
1949
|
-
const z = a.slice(
|
|
1947
|
+
a[m][0] === "exit" && a[m - 1][0] === "enter" && a[m][1].type === a[m - 1][1].type && a[m][1].start.line !== a[m][1].end.line && (S = m + 1, F.push(S), d._tokenizer = void 0, d.previous = void 0, d = d.next);
|
|
1948
|
+
for (o.events = [], d ? (d._tokenizer = void 0, d.previous = void 0) : F.pop(), m = F.length; m--; ) {
|
|
1949
|
+
const z = a.slice(F[m], F[m + 1]), C = i.pop();
|
|
1950
1950
|
u.unshift([C, C + z.length - 1]), me(e, C, 2, z);
|
|
1951
1951
|
}
|
|
1952
1952
|
for (m = -1; ++m < u.length; )
|
|
1953
1953
|
l[v + u[m][0]] = v + u[m][1], v += u[m][1] - u[m][0] - 1;
|
|
1954
1954
|
return l;
|
|
1955
1955
|
}
|
|
1956
|
-
const
|
|
1956
|
+
const Oi = {
|
|
1957
1957
|
tokenize: ji,
|
|
1958
|
-
resolve:
|
|
1959
|
-
},
|
|
1960
|
-
tokenize:
|
|
1958
|
+
resolve: Pi
|
|
1959
|
+
}, Di = {
|
|
1960
|
+
tokenize: Ui,
|
|
1961
1961
|
partial: !0
|
|
1962
1962
|
};
|
|
1963
|
-
function
|
|
1964
|
-
return
|
|
1963
|
+
function Pi(e) {
|
|
1964
|
+
return tr(e), e;
|
|
1965
1965
|
}
|
|
1966
1966
|
function ji(e, n) {
|
|
1967
1967
|
let t;
|
|
@@ -1973,7 +1973,7 @@ function ji(e, n) {
|
|
|
1973
1973
|
}
|
|
1974
1974
|
function s(a) {
|
|
1975
1975
|
return a === null ? i(a) : E(a) ? e.check(
|
|
1976
|
-
|
|
1976
|
+
Di,
|
|
1977
1977
|
o,
|
|
1978
1978
|
i
|
|
1979
1979
|
)(a) : (e.consume(a), s);
|
|
@@ -1988,7 +1988,7 @@ function ji(e, n) {
|
|
|
1988
1988
|
}), t = t.next, s;
|
|
1989
1989
|
}
|
|
1990
1990
|
}
|
|
1991
|
-
function
|
|
1991
|
+
function Ui(e, n, t) {
|
|
1992
1992
|
const r = this;
|
|
1993
1993
|
return s;
|
|
1994
1994
|
function s(o) {
|
|
@@ -2001,7 +2001,7 @@ function qi(e, n, t) {
|
|
|
2001
2001
|
return !r.parser.constructs.disable.null.includes("codeIndented") && a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? n(o) : e.interrupt(r.parser.constructs.flow, t, n)(o);
|
|
2002
2002
|
}
|
|
2003
2003
|
}
|
|
2004
|
-
function
|
|
2004
|
+
function nr(e, n, t, r, s, i, o, a, u) {
|
|
2005
2005
|
const l = u || Number.POSITIVE_INFINITY;
|
|
2006
2006
|
let c = 0;
|
|
2007
2007
|
return h;
|
|
@@ -2022,13 +2022,13 @@ function rr(e, n, t, r, s, i, o, a, u) {
|
|
|
2022
2022
|
return z === 60 || z === 62 || z === 92 ? (e.consume(z), d) : d(z);
|
|
2023
2023
|
}
|
|
2024
2024
|
function S(z) {
|
|
2025
|
-
return !c && (z === null || z === 41 || J(z)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(z)) : c < l && z === 40 ? (e.consume(z), c++, S) : z === 41 ? (e.consume(z), c--, S) : z === null || z === 32 || z === 40 || vt(z) ? t(z) : (e.consume(z), z === 92 ?
|
|
2025
|
+
return !c && (z === null || z === 41 || J(z)) ? (e.exit("chunkString"), e.exit(a), e.exit(o), e.exit(r), n(z)) : c < l && z === 40 ? (e.consume(z), c++, S) : z === 41 ? (e.consume(z), c--, S) : z === null || z === 32 || z === 40 || vt(z) ? t(z) : (e.consume(z), z === 92 ? F : S);
|
|
2026
2026
|
}
|
|
2027
|
-
function
|
|
2027
|
+
function F(z) {
|
|
2028
2028
|
return z === 40 || z === 41 || z === 92 ? (e.consume(z), S) : S(z);
|
|
2029
2029
|
}
|
|
2030
2030
|
}
|
|
2031
|
-
function
|
|
2031
|
+
function rr(e, n, t, r, s, i) {
|
|
2032
2032
|
const o = this;
|
|
2033
2033
|
let a = 0, u;
|
|
2034
2034
|
return l;
|
|
@@ -2046,13 +2046,13 @@ function ir(e, n, t, r, s, i) {
|
|
|
2046
2046
|
}), h(d));
|
|
2047
2047
|
}
|
|
2048
2048
|
function h(d) {
|
|
2049
|
-
return d === null || d === 91 || d === 93 || E(d) || a++ > 999 ? (e.exit("chunkString"), c(d)) : (e.consume(d), u || (u = !
|
|
2049
|
+
return d === null || d === 91 || d === 93 || E(d) || a++ > 999 ? (e.exit("chunkString"), c(d)) : (e.consume(d), u || (u = !L(d)), d === 92 ? m : h);
|
|
2050
2050
|
}
|
|
2051
2051
|
function m(d) {
|
|
2052
2052
|
return d === 91 || d === 92 || d === 93 ? (e.consume(d), a++, h) : h(d);
|
|
2053
2053
|
}
|
|
2054
2054
|
}
|
|
2055
|
-
function
|
|
2055
|
+
function ir(e, n, t, r, s, i) {
|
|
2056
2056
|
let o;
|
|
2057
2057
|
return a;
|
|
2058
2058
|
function a(m) {
|
|
@@ -2073,25 +2073,25 @@ function sr(e, n, t, r, s, i) {
|
|
|
2073
2073
|
return m === o || m === 92 ? (e.consume(m), c) : c(m);
|
|
2074
2074
|
}
|
|
2075
2075
|
}
|
|
2076
|
-
function
|
|
2076
|
+
function Ve(e, n) {
|
|
2077
2077
|
let t;
|
|
2078
2078
|
return r;
|
|
2079
2079
|
function r(s) {
|
|
2080
|
-
return E(s) ? (e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), t = !0, r) :
|
|
2080
|
+
return E(s) ? (e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), t = !0, r) : L(s) ? N(
|
|
2081
2081
|
e,
|
|
2082
2082
|
r,
|
|
2083
2083
|
t ? "linePrefix" : "lineSuffix"
|
|
2084
2084
|
)(s) : n(s);
|
|
2085
2085
|
}
|
|
2086
2086
|
}
|
|
2087
|
-
const
|
|
2087
|
+
const qi = {
|
|
2088
2088
|
name: "definition",
|
|
2089
|
-
tokenize:
|
|
2090
|
-
},
|
|
2091
|
-
tokenize:
|
|
2089
|
+
tokenize: Hi
|
|
2090
|
+
}, Wi = {
|
|
2091
|
+
tokenize: Xi,
|
|
2092
2092
|
partial: !0
|
|
2093
2093
|
};
|
|
2094
|
-
function
|
|
2094
|
+
function Hi(e, n, t) {
|
|
2095
2095
|
const r = this;
|
|
2096
2096
|
let s;
|
|
2097
2097
|
return i;
|
|
@@ -2099,7 +2099,7 @@ function Xi(e, n, t) {
|
|
|
2099
2099
|
return e.enter("definition"), o(d);
|
|
2100
2100
|
}
|
|
2101
2101
|
function o(d) {
|
|
2102
|
-
return
|
|
2102
|
+
return rr.call(
|
|
2103
2103
|
r,
|
|
2104
2104
|
e,
|
|
2105
2105
|
a,
|
|
@@ -2116,10 +2116,10 @@ function Xi(e, n, t) {
|
|
|
2116
2116
|
), d === 58 ? (e.enter("definitionMarker"), e.consume(d), e.exit("definitionMarker"), u) : t(d);
|
|
2117
2117
|
}
|
|
2118
2118
|
function u(d) {
|
|
2119
|
-
return J(d) ?
|
|
2119
|
+
return J(d) ? Ve(e, l)(d) : l(d);
|
|
2120
2120
|
}
|
|
2121
2121
|
function l(d) {
|
|
2122
|
-
return
|
|
2122
|
+
return nr(
|
|
2123
2123
|
e,
|
|
2124
2124
|
c,
|
|
2125
2125
|
// Note: we don’t need to reset the way `markdown-rs` does.
|
|
@@ -2132,22 +2132,22 @@ function Xi(e, n, t) {
|
|
|
2132
2132
|
)(d);
|
|
2133
2133
|
}
|
|
2134
2134
|
function c(d) {
|
|
2135
|
-
return e.attempt(
|
|
2135
|
+
return e.attempt(Wi, h, h)(d);
|
|
2136
2136
|
}
|
|
2137
2137
|
function h(d) {
|
|
2138
|
-
return
|
|
2138
|
+
return L(d) ? N(e, m, "whitespace")(d) : m(d);
|
|
2139
2139
|
}
|
|
2140
2140
|
function m(d) {
|
|
2141
2141
|
return d === null || E(d) ? (e.exit("definition"), r.parser.defined.push(s), n(d)) : t(d);
|
|
2142
2142
|
}
|
|
2143
2143
|
}
|
|
2144
|
-
function
|
|
2144
|
+
function Xi(e, n, t) {
|
|
2145
2145
|
return r;
|
|
2146
2146
|
function r(a) {
|
|
2147
|
-
return J(a) ?
|
|
2147
|
+
return J(a) ? Ve(e, s)(a) : t(a);
|
|
2148
2148
|
}
|
|
2149
2149
|
function s(a) {
|
|
2150
|
-
return
|
|
2150
|
+
return ir(
|
|
2151
2151
|
e,
|
|
2152
2152
|
i,
|
|
2153
2153
|
t,
|
|
@@ -2157,17 +2157,17 @@ function Ki(e, n, t) {
|
|
|
2157
2157
|
)(a);
|
|
2158
2158
|
}
|
|
2159
2159
|
function i(a) {
|
|
2160
|
-
return
|
|
2160
|
+
return L(a) ? N(e, o, "whitespace")(a) : o(a);
|
|
2161
2161
|
}
|
|
2162
2162
|
function o(a) {
|
|
2163
2163
|
return a === null || E(a) ? n(a) : t(a);
|
|
2164
2164
|
}
|
|
2165
2165
|
}
|
|
2166
|
-
const
|
|
2166
|
+
const Ki = {
|
|
2167
2167
|
name: "hardBreakEscape",
|
|
2168
|
-
tokenize:
|
|
2168
|
+
tokenize: Gi
|
|
2169
2169
|
};
|
|
2170
|
-
function
|
|
2170
|
+
function Gi(e, n, t) {
|
|
2171
2171
|
return r;
|
|
2172
2172
|
function r(i) {
|
|
2173
2173
|
return e.enter("hardBreakEscape"), e.consume(i), s;
|
|
@@ -2178,10 +2178,10 @@ function Vi(e, n, t) {
|
|
|
2178
2178
|
}
|
|
2179
2179
|
const $i = {
|
|
2180
2180
|
name: "headingAtx",
|
|
2181
|
-
tokenize:
|
|
2182
|
-
resolve:
|
|
2181
|
+
tokenize: Qi,
|
|
2182
|
+
resolve: Vi
|
|
2183
2183
|
};
|
|
2184
|
-
function
|
|
2184
|
+
function Vi(e, n) {
|
|
2185
2185
|
let t = e.length - 2, r = 3, s, i;
|
|
2186
2186
|
return e[r][1].type === "whitespace" && (r += 2), t - 2 > r && e[t][1].type === "whitespace" && (t -= 2), e[t][1].type === "atxHeadingSequence" && (r === t - 1 || t - 4 > r && e[t - 2][1].type === "whitespace") && (t -= r + 1 === t ? 2 : 4), t > r && (s = {
|
|
2187
2187
|
type: "atxHeadingText",
|
|
@@ -2199,7 +2199,7 @@ function Qi(e, n) {
|
|
|
2199
2199
|
["exit", s, n]
|
|
2200
2200
|
])), e;
|
|
2201
2201
|
}
|
|
2202
|
-
function
|
|
2202
|
+
function Qi(e, n, t) {
|
|
2203
2203
|
let r = 0;
|
|
2204
2204
|
return s;
|
|
2205
2205
|
function s(c) {
|
|
@@ -2212,7 +2212,7 @@ function Zi(e, n, t) {
|
|
|
2212
2212
|
return c === 35 && r++ < 6 ? (e.consume(c), o) : c === null || J(c) ? (e.exit("atxHeadingSequence"), a(c)) : t(c);
|
|
2213
2213
|
}
|
|
2214
2214
|
function a(c) {
|
|
2215
|
-
return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || E(c) ? (e.exit("atxHeading"), n(c)) :
|
|
2215
|
+
return c === 35 ? (e.enter("atxHeadingSequence"), u(c)) : c === null || E(c) ? (e.exit("atxHeading"), n(c)) : L(c) ? N(e, a, "whitespace")(c) : (e.enter("atxHeadingText"), l(c));
|
|
2216
2216
|
}
|
|
2217
2217
|
function u(c) {
|
|
2218
2218
|
return c === 35 ? (e.consume(c), u) : (e.exit("atxHeadingSequence"), a(c));
|
|
@@ -2221,7 +2221,7 @@ function Zi(e, n, t) {
|
|
|
2221
2221
|
return c === null || c === 35 || J(c) ? (e.exit("atxHeadingText"), a(c)) : (e.consume(c), l);
|
|
2222
2222
|
}
|
|
2223
2223
|
}
|
|
2224
|
-
const
|
|
2224
|
+
const Zi = [
|
|
2225
2225
|
"address",
|
|
2226
2226
|
"article",
|
|
2227
2227
|
"aside",
|
|
@@ -2284,25 +2284,25 @@ const Ji = [
|
|
|
2284
2284
|
"tr",
|
|
2285
2285
|
"track",
|
|
2286
2286
|
"ul"
|
|
2287
|
-
], rn = ["pre", "script", "style", "textarea"],
|
|
2287
|
+
], rn = ["pre", "script", "style", "textarea"], Ji = {
|
|
2288
2288
|
name: "htmlFlow",
|
|
2289
|
-
tokenize:
|
|
2290
|
-
resolveTo:
|
|
2289
|
+
tokenize: ns,
|
|
2290
|
+
resolveTo: ts,
|
|
2291
2291
|
concrete: !0
|
|
2292
|
-
},
|
|
2293
|
-
tokenize: ss,
|
|
2294
|
-
partial: !0
|
|
2295
|
-
}, ts = {
|
|
2292
|
+
}, Yi = {
|
|
2296
2293
|
tokenize: is,
|
|
2297
2294
|
partial: !0
|
|
2295
|
+
}, es = {
|
|
2296
|
+
tokenize: rs,
|
|
2297
|
+
partial: !0
|
|
2298
2298
|
};
|
|
2299
|
-
function
|
|
2299
|
+
function ts(e) {
|
|
2300
2300
|
let n = e.length;
|
|
2301
2301
|
for (; n-- && !(e[n][0] === "enter" && e[n][1].type === "htmlFlow"); )
|
|
2302
2302
|
;
|
|
2303
2303
|
return n > 1 && e[n - 2][1].type === "linePrefix" && (e[n][1].start = e[n - 2][1].start, e[n + 1][1].start = e[n - 2][1].start, e.splice(n - 2, 2)), e;
|
|
2304
2304
|
}
|
|
2305
|
-
function
|
|
2305
|
+
function ns(e, n, t) {
|
|
2306
2306
|
const r = this;
|
|
2307
2307
|
let s, i, o, a, u;
|
|
2308
2308
|
return l;
|
|
@@ -2313,7 +2313,7 @@ function rs(e, n, t) {
|
|
|
2313
2313
|
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(f), h;
|
|
2314
2314
|
}
|
|
2315
2315
|
function h(f) {
|
|
2316
|
-
return f === 33 ? (e.consume(f), m) : f === 47 ? (e.consume(f), i = !0, S) : f === 63 ? (e.consume(f), s = 3, r.interrupt ? n : p) : pe(f) ? (e.consume(f), o = String.fromCharCode(f),
|
|
2316
|
+
return f === 33 ? (e.consume(f), m) : f === 47 ? (e.consume(f), i = !0, S) : f === 63 ? (e.consume(f), s = 3, r.interrupt ? n : p) : pe(f) ? (e.consume(f), o = String.fromCharCode(f), F) : t(f);
|
|
2317
2317
|
}
|
|
2318
2318
|
function m(f) {
|
|
2319
2319
|
return f === 45 ? (e.consume(f), s = 2, d) : f === 91 ? (e.consume(f), s = 5, a = 0, v) : pe(f) ? (e.consume(f), s = 4, r.interrupt ? n : p) : t(f);
|
|
@@ -2326,58 +2326,58 @@ function rs(e, n, t) {
|
|
|
2326
2326
|
return f === le.charCodeAt(a++) ? (e.consume(f), a === le.length ? r.interrupt ? n : A : v) : t(f);
|
|
2327
2327
|
}
|
|
2328
2328
|
function S(f) {
|
|
2329
|
-
return pe(f) ? (e.consume(f), o = String.fromCharCode(f),
|
|
2329
|
+
return pe(f) ? (e.consume(f), o = String.fromCharCode(f), F) : t(f);
|
|
2330
2330
|
}
|
|
2331
|
-
function
|
|
2331
|
+
function F(f) {
|
|
2332
2332
|
if (f === null || f === 47 || f === 62 || J(f)) {
|
|
2333
2333
|
const le = f === 47, Te = o.toLowerCase();
|
|
2334
|
-
return !le && !i && rn.includes(Te) ? (s = 1, r.interrupt ? n(f) : A(f)) :
|
|
2334
|
+
return !le && !i && rn.includes(Te) ? (s = 1, r.interrupt ? n(f) : A(f)) : Zi.includes(o.toLowerCase()) ? (s = 6, le ? (e.consume(f), z) : r.interrupt ? n(f) : A(f)) : (s = 7, r.interrupt && !r.parser.lazy[r.now().line] ? t(f) : i ? C(f) : _(f));
|
|
2335
2335
|
}
|
|
2336
|
-
return f === 45 || de(f) ? (e.consume(f), o += String.fromCharCode(f),
|
|
2336
|
+
return f === 45 || de(f) ? (e.consume(f), o += String.fromCharCode(f), F) : t(f);
|
|
2337
2337
|
}
|
|
2338
2338
|
function z(f) {
|
|
2339
2339
|
return f === 62 ? (e.consume(f), r.interrupt ? n : A) : t(f);
|
|
2340
2340
|
}
|
|
2341
2341
|
function C(f) {
|
|
2342
|
-
return
|
|
2342
|
+
return L(f) ? (e.consume(f), C) : g(f);
|
|
2343
2343
|
}
|
|
2344
2344
|
function _(f) {
|
|
2345
|
-
return f === 47 ? (e.consume(f), g) : f === 58 || f === 95 || pe(f) ? (e.consume(f),
|
|
2345
|
+
return f === 47 ? (e.consume(f), g) : f === 58 || f === 95 || pe(f) ? (e.consume(f), j) : L(f) ? (e.consume(f), _) : g(f);
|
|
2346
2346
|
}
|
|
2347
|
-
function
|
|
2348
|
-
return f === 45 || f === 46 || f === 58 || f === 95 || de(f) ? (e.consume(f),
|
|
2347
|
+
function j(f) {
|
|
2348
|
+
return f === 45 || f === 46 || f === 58 || f === 95 || de(f) ? (e.consume(f), j) : P(f);
|
|
2349
2349
|
}
|
|
2350
2350
|
function P(f) {
|
|
2351
|
-
return f === 61 ? (e.consume(f), x) :
|
|
2351
|
+
return f === 61 ? (e.consume(f), x) : L(f) ? (e.consume(f), P) : _(f);
|
|
2352
2352
|
}
|
|
2353
2353
|
function x(f) {
|
|
2354
|
-
return f === null || f === 60 || f === 61 || f === 62 || f === 96 ? t(f) : f === 34 || f === 39 ? (e.consume(f), u = f,
|
|
2354
|
+
return f === null || f === 60 || f === 61 || f === 62 || f === 96 ? t(f) : f === 34 || f === 39 ? (e.consume(f), u = f, M) : L(f) ? (e.consume(f), x) : q(f);
|
|
2355
2355
|
}
|
|
2356
|
-
function
|
|
2357
|
-
return f === u ? (e.consume(f), u = null, I) : f === null || E(f) ? t(f) : (e.consume(f),
|
|
2356
|
+
function M(f) {
|
|
2357
|
+
return f === u ? (e.consume(f), u = null, I) : f === null || E(f) ? t(f) : (e.consume(f), M);
|
|
2358
2358
|
}
|
|
2359
2359
|
function q(f) {
|
|
2360
2360
|
return f === null || f === 34 || f === 39 || f === 47 || f === 60 || f === 61 || f === 62 || f === 96 || J(f) ? P(f) : (e.consume(f), q);
|
|
2361
2361
|
}
|
|
2362
2362
|
function I(f) {
|
|
2363
|
-
return f === 47 || f === 62 ||
|
|
2363
|
+
return f === 47 || f === 62 || L(f) ? _(f) : t(f);
|
|
2364
2364
|
}
|
|
2365
2365
|
function g(f) {
|
|
2366
2366
|
return f === 62 ? (e.consume(f), T) : t(f);
|
|
2367
2367
|
}
|
|
2368
2368
|
function T(f) {
|
|
2369
|
-
return f === null || E(f) ? A(f) :
|
|
2369
|
+
return f === null || E(f) ? A(f) : L(f) ? (e.consume(f), T) : t(f);
|
|
2370
2370
|
}
|
|
2371
2371
|
function A(f) {
|
|
2372
|
-
return f === 45 && s === 2 ? (e.consume(f), Z) : f === 60 && s === 1 ? (e.consume(f),
|
|
2373
|
-
|
|
2372
|
+
return f === 45 && s === 2 ? (e.consume(f), Z) : f === 60 && s === 1 ? (e.consume(f), $) : f === 62 && s === 4 ? (e.consume(f), ae) : f === 63 && s === 3 ? (e.consume(f), p) : f === 93 && s === 5 ? (e.consume(f), be) : E(f) && (s === 6 || s === 7) ? (e.exit("htmlFlowData"), e.check(
|
|
2373
|
+
Yi,
|
|
2374
2374
|
we,
|
|
2375
2375
|
W
|
|
2376
2376
|
)(f)) : f === null || E(f) ? (e.exit("htmlFlowData"), W(f)) : (e.consume(f), A);
|
|
2377
2377
|
}
|
|
2378
2378
|
function W(f) {
|
|
2379
2379
|
return e.check(
|
|
2380
|
-
|
|
2380
|
+
es,
|
|
2381
2381
|
K,
|
|
2382
2382
|
we
|
|
2383
2383
|
)(f);
|
|
@@ -2391,7 +2391,7 @@ function rs(e, n, t) {
|
|
|
2391
2391
|
function Z(f) {
|
|
2392
2392
|
return f === 45 ? (e.consume(f), p) : A(f);
|
|
2393
2393
|
}
|
|
2394
|
-
function
|
|
2394
|
+
function $(f) {
|
|
2395
2395
|
return f === 47 ? (e.consume(f), o = "", oe) : A(f);
|
|
2396
2396
|
}
|
|
2397
2397
|
function oe(f) {
|
|
@@ -2414,7 +2414,7 @@ function rs(e, n, t) {
|
|
|
2414
2414
|
return e.exit("htmlFlow"), n(f);
|
|
2415
2415
|
}
|
|
2416
2416
|
}
|
|
2417
|
-
function
|
|
2417
|
+
function rs(e, n, t) {
|
|
2418
2418
|
const r = this;
|
|
2419
2419
|
return s;
|
|
2420
2420
|
function s(o) {
|
|
@@ -2424,17 +2424,17 @@ function is(e, n, t) {
|
|
|
2424
2424
|
return r.parser.lazy[r.now().line] ? t(o) : n(o);
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
|
-
function
|
|
2427
|
+
function is(e, n, t) {
|
|
2428
2428
|
return r;
|
|
2429
2429
|
function r(s) {
|
|
2430
2430
|
return e.enter("lineEnding"), e.consume(s), e.exit("lineEnding"), e.attempt(dt, n, t);
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
|
-
const
|
|
2433
|
+
const ss = {
|
|
2434
2434
|
name: "htmlText",
|
|
2435
|
-
tokenize:
|
|
2435
|
+
tokenize: os
|
|
2436
2436
|
};
|
|
2437
|
-
function
|
|
2437
|
+
function os(e, n, t) {
|
|
2438
2438
|
const r = this;
|
|
2439
2439
|
let s, i, o;
|
|
2440
2440
|
return a;
|
|
@@ -2451,7 +2451,7 @@ function as(e, n, t) {
|
|
|
2451
2451
|
return p === 45 ? (e.consume(p), d) : t(p);
|
|
2452
2452
|
}
|
|
2453
2453
|
function h(p) {
|
|
2454
|
-
return p === null ? t(p) : p === 45 ? (e.consume(p), m) : E(p) ? (o = h,
|
|
2454
|
+
return p === null ? t(p) : p === 45 ? (e.consume(p), m) : E(p) ? (o = h, $(p)) : (e.consume(p), h);
|
|
2455
2455
|
}
|
|
2456
2456
|
function m(p) {
|
|
2457
2457
|
return p === 45 ? (e.consume(p), d) : h(p);
|
|
@@ -2464,49 +2464,49 @@ function as(e, n, t) {
|
|
|
2464
2464
|
return p === ae.charCodeAt(i++) ? (e.consume(p), i === ae.length ? S : v) : t(p);
|
|
2465
2465
|
}
|
|
2466
2466
|
function S(p) {
|
|
2467
|
-
return p === null ? t(p) : p === 93 ? (e.consume(p),
|
|
2467
|
+
return p === null ? t(p) : p === 93 ? (e.consume(p), F) : E(p) ? (o = S, $(p)) : (e.consume(p), S);
|
|
2468
2468
|
}
|
|
2469
|
-
function
|
|
2469
|
+
function F(p) {
|
|
2470
2470
|
return p === 93 ? (e.consume(p), z) : S(p);
|
|
2471
2471
|
}
|
|
2472
2472
|
function z(p) {
|
|
2473
2473
|
return p === 62 ? Z(p) : p === 93 ? (e.consume(p), z) : S(p);
|
|
2474
2474
|
}
|
|
2475
2475
|
function C(p) {
|
|
2476
|
-
return p === null || p === 62 ? Z(p) : E(p) ? (o = C,
|
|
2476
|
+
return p === null || p === 62 ? Z(p) : E(p) ? (o = C, $(p)) : (e.consume(p), C);
|
|
2477
2477
|
}
|
|
2478
2478
|
function _(p) {
|
|
2479
|
-
return p === null ? t(p) : p === 63 ? (e.consume(p),
|
|
2479
|
+
return p === null ? t(p) : p === 63 ? (e.consume(p), j) : E(p) ? (o = _, $(p)) : (e.consume(p), _);
|
|
2480
2480
|
}
|
|
2481
|
-
function
|
|
2481
|
+
function j(p) {
|
|
2482
2482
|
return p === 62 ? Z(p) : _(p);
|
|
2483
2483
|
}
|
|
2484
2484
|
function P(p) {
|
|
2485
2485
|
return pe(p) ? (e.consume(p), x) : t(p);
|
|
2486
2486
|
}
|
|
2487
2487
|
function x(p) {
|
|
2488
|
-
return p === 45 || de(p) ? (e.consume(p), x) :
|
|
2488
|
+
return p === 45 || de(p) ? (e.consume(p), x) : M(p);
|
|
2489
2489
|
}
|
|
2490
|
-
function
|
|
2491
|
-
return E(p) ? (o =
|
|
2490
|
+
function M(p) {
|
|
2491
|
+
return E(p) ? (o = M, $(p)) : L(p) ? (e.consume(p), M) : Z(p);
|
|
2492
2492
|
}
|
|
2493
2493
|
function q(p) {
|
|
2494
2494
|
return p === 45 || de(p) ? (e.consume(p), q) : p === 47 || p === 62 || J(p) ? I(p) : t(p);
|
|
2495
2495
|
}
|
|
2496
2496
|
function I(p) {
|
|
2497
|
-
return p === 47 ? (e.consume(p), Z) : p === 58 || p === 95 || pe(p) ? (e.consume(p), g) : E(p) ? (o = I,
|
|
2497
|
+
return p === 47 ? (e.consume(p), Z) : p === 58 || p === 95 || pe(p) ? (e.consume(p), g) : E(p) ? (o = I, $(p)) : L(p) ? (e.consume(p), I) : Z(p);
|
|
2498
2498
|
}
|
|
2499
2499
|
function g(p) {
|
|
2500
2500
|
return p === 45 || p === 46 || p === 58 || p === 95 || de(p) ? (e.consume(p), g) : T(p);
|
|
2501
2501
|
}
|
|
2502
2502
|
function T(p) {
|
|
2503
|
-
return p === 61 ? (e.consume(p), A) : E(p) ? (o = T,
|
|
2503
|
+
return p === 61 ? (e.consume(p), A) : E(p) ? (o = T, $(p)) : L(p) ? (e.consume(p), T) : I(p);
|
|
2504
2504
|
}
|
|
2505
2505
|
function A(p) {
|
|
2506
|
-
return p === null || p === 60 || p === 61 || p === 62 || p === 96 ? t(p) : p === 34 || p === 39 ? (e.consume(p), s = p, W) : E(p) ? (o = A,
|
|
2506
|
+
return p === null || p === 60 || p === 61 || p === 62 || p === 96 ? t(p) : p === 34 || p === 39 ? (e.consume(p), s = p, W) : E(p) ? (o = A, $(p)) : L(p) ? (e.consume(p), A) : (e.consume(p), K);
|
|
2507
2507
|
}
|
|
2508
2508
|
function W(p) {
|
|
2509
|
-
return p === s ? (e.consume(p), s = void 0, D) : p === null ? t(p) : E(p) ? (o = W,
|
|
2509
|
+
return p === s ? (e.consume(p), s = void 0, D) : p === null ? t(p) : E(p) ? (o = W, $(p)) : (e.consume(p), W);
|
|
2510
2510
|
}
|
|
2511
2511
|
function K(p) {
|
|
2512
2512
|
return p === null || p === 34 || p === 39 || p === 60 || p === 61 || p === 96 ? t(p) : p === 47 || p === 62 || J(p) ? I(p) : (e.consume(p), K);
|
|
@@ -2517,11 +2517,11 @@ function as(e, n, t) {
|
|
|
2517
2517
|
function Z(p) {
|
|
2518
2518
|
return p === 62 ? (e.consume(p), e.exit("htmlTextData"), e.exit("htmlText"), n) : t(p);
|
|
2519
2519
|
}
|
|
2520
|
-
function
|
|
2520
|
+
function $(p) {
|
|
2521
2521
|
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), oe;
|
|
2522
2522
|
}
|
|
2523
2523
|
function oe(p) {
|
|
2524
|
-
return
|
|
2524
|
+
return L(p) ? N(
|
|
2525
2525
|
e,
|
|
2526
2526
|
be,
|
|
2527
2527
|
"linePrefix",
|
|
@@ -2534,17 +2534,17 @@ function as(e, n, t) {
|
|
|
2534
2534
|
}
|
|
2535
2535
|
const Rt = {
|
|
2536
2536
|
name: "labelEnd",
|
|
2537
|
-
tokenize:
|
|
2538
|
-
resolveTo:
|
|
2539
|
-
resolveAll:
|
|
2537
|
+
tokenize: hs,
|
|
2538
|
+
resolveTo: ds,
|
|
2539
|
+
resolveAll: cs
|
|
2540
|
+
}, as = {
|
|
2541
|
+
tokenize: ps
|
|
2540
2542
|
}, ls = {
|
|
2541
2543
|
tokenize: fs
|
|
2542
2544
|
}, us = {
|
|
2543
2545
|
tokenize: ms
|
|
2544
|
-
}, cs = {
|
|
2545
|
-
tokenize: gs
|
|
2546
2546
|
};
|
|
2547
|
-
function
|
|
2547
|
+
function cs(e) {
|
|
2548
2548
|
let n = -1;
|
|
2549
2549
|
for (; ++n < e.length; ) {
|
|
2550
2550
|
const t = e[n][1];
|
|
@@ -2552,7 +2552,7 @@ function ds(e) {
|
|
|
2552
2552
|
}
|
|
2553
2553
|
return e;
|
|
2554
2554
|
}
|
|
2555
|
-
function
|
|
2555
|
+
function ds(e, n) {
|
|
2556
2556
|
let t = e.length, r = 0, s, i, o, a;
|
|
2557
2557
|
for (; t--; )
|
|
2558
2558
|
if (s = e[t][1], i) {
|
|
@@ -2583,7 +2583,7 @@ function hs(e, n) {
|
|
|
2583
2583
|
["enter", l, n]
|
|
2584
2584
|
], a = se(a, e.slice(i + 1, i + r + 3)), a = se(a, [["enter", c, n]]), a = se(
|
|
2585
2585
|
a,
|
|
2586
|
-
|
|
2586
|
+
Lt(
|
|
2587
2587
|
n.parser.constructs.insideSpan.null,
|
|
2588
2588
|
e.slice(i + r + 4, o - 3),
|
|
2589
2589
|
n
|
|
@@ -2595,7 +2595,7 @@ function hs(e, n) {
|
|
|
2595
2595
|
["exit", l, n]
|
|
2596
2596
|
]), a = se(a, e.slice(o + 1)), a = se(a, [["exit", u, n]]), me(e, i, e.length, a), e;
|
|
2597
2597
|
}
|
|
2598
|
-
function
|
|
2598
|
+
function hs(e, n, t) {
|
|
2599
2599
|
const r = this;
|
|
2600
2600
|
let s = r.events.length, i, o;
|
|
2601
2601
|
for (; s--; )
|
|
@@ -2616,18 +2616,18 @@ function ps(e, n, t) {
|
|
|
2616
2616
|
}
|
|
2617
2617
|
function u(m) {
|
|
2618
2618
|
return m === 40 ? e.attempt(
|
|
2619
|
-
|
|
2619
|
+
as,
|
|
2620
2620
|
c,
|
|
2621
2621
|
o ? c : h
|
|
2622
2622
|
)(m) : m === 91 ? e.attempt(
|
|
2623
|
-
|
|
2623
|
+
ls,
|
|
2624
2624
|
c,
|
|
2625
2625
|
o ? l : h
|
|
2626
2626
|
)(m) : o ? c(m) : h(m);
|
|
2627
2627
|
}
|
|
2628
2628
|
function l(m) {
|
|
2629
2629
|
return e.attempt(
|
|
2630
|
-
|
|
2630
|
+
us,
|
|
2631
2631
|
c,
|
|
2632
2632
|
h
|
|
2633
2633
|
)(m);
|
|
@@ -2639,16 +2639,16 @@ function ps(e, n, t) {
|
|
|
2639
2639
|
return i._balanced = !0, t(m);
|
|
2640
2640
|
}
|
|
2641
2641
|
}
|
|
2642
|
-
function
|
|
2642
|
+
function ps(e, n, t) {
|
|
2643
2643
|
return r;
|
|
2644
2644
|
function r(h) {
|
|
2645
2645
|
return e.enter("resource"), e.enter("resourceMarker"), e.consume(h), e.exit("resourceMarker"), s;
|
|
2646
2646
|
}
|
|
2647
2647
|
function s(h) {
|
|
2648
|
-
return J(h) ?
|
|
2648
|
+
return J(h) ? Ve(e, i)(h) : i(h);
|
|
2649
2649
|
}
|
|
2650
2650
|
function i(h) {
|
|
2651
|
-
return h === 41 ? c(h) :
|
|
2651
|
+
return h === 41 ? c(h) : nr(
|
|
2652
2652
|
e,
|
|
2653
2653
|
o,
|
|
2654
2654
|
a,
|
|
@@ -2661,13 +2661,13 @@ function fs(e, n, t) {
|
|
|
2661
2661
|
)(h);
|
|
2662
2662
|
}
|
|
2663
2663
|
function o(h) {
|
|
2664
|
-
return J(h) ?
|
|
2664
|
+
return J(h) ? Ve(e, u)(h) : c(h);
|
|
2665
2665
|
}
|
|
2666
2666
|
function a(h) {
|
|
2667
2667
|
return t(h);
|
|
2668
2668
|
}
|
|
2669
2669
|
function u(h) {
|
|
2670
|
-
return h === 34 || h === 39 || h === 40 ?
|
|
2670
|
+
return h === 34 || h === 39 || h === 40 ? ir(
|
|
2671
2671
|
e,
|
|
2672
2672
|
l,
|
|
2673
2673
|
t,
|
|
@@ -2677,17 +2677,17 @@ function fs(e, n, t) {
|
|
|
2677
2677
|
)(h) : c(h);
|
|
2678
2678
|
}
|
|
2679
2679
|
function l(h) {
|
|
2680
|
-
return J(h) ?
|
|
2680
|
+
return J(h) ? Ve(e, c)(h) : c(h);
|
|
2681
2681
|
}
|
|
2682
2682
|
function c(h) {
|
|
2683
2683
|
return h === 41 ? (e.enter("resourceMarker"), e.consume(h), e.exit("resourceMarker"), e.exit("resource"), n) : t(h);
|
|
2684
2684
|
}
|
|
2685
2685
|
}
|
|
2686
|
-
function
|
|
2686
|
+
function fs(e, n, t) {
|
|
2687
2687
|
const r = this;
|
|
2688
2688
|
return s;
|
|
2689
2689
|
function s(a) {
|
|
2690
|
-
return
|
|
2690
|
+
return rr.call(
|
|
2691
2691
|
r,
|
|
2692
2692
|
e,
|
|
2693
2693
|
i,
|
|
@@ -2708,7 +2708,7 @@ function ms(e, n, t) {
|
|
|
2708
2708
|
return t(a);
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
|
-
function
|
|
2711
|
+
function ms(e, n, t) {
|
|
2712
2712
|
return r;
|
|
2713
2713
|
function r(i) {
|
|
2714
2714
|
return e.enter("reference"), e.enter("referenceMarker"), e.consume(i), e.exit("referenceMarker"), s;
|
|
@@ -2717,12 +2717,12 @@ function gs(e, n, t) {
|
|
|
2717
2717
|
return i === 93 ? (e.enter("referenceMarker"), e.consume(i), e.exit("referenceMarker"), e.exit("reference"), n) : t(i);
|
|
2718
2718
|
}
|
|
2719
2719
|
}
|
|
2720
|
-
const
|
|
2720
|
+
const gs = {
|
|
2721
2721
|
name: "labelStartImage",
|
|
2722
|
-
tokenize:
|
|
2722
|
+
tokenize: bs,
|
|
2723
2723
|
resolveAll: Rt.resolveAll
|
|
2724
2724
|
};
|
|
2725
|
-
function
|
|
2725
|
+
function bs(e, n, t) {
|
|
2726
2726
|
const r = this;
|
|
2727
2727
|
return s;
|
|
2728
2728
|
function s(a) {
|
|
@@ -2735,12 +2735,12 @@ function ws(e, n, t) {
|
|
|
2735
2735
|
return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(a) : n(a);
|
|
2736
2736
|
}
|
|
2737
2737
|
}
|
|
2738
|
-
const
|
|
2738
|
+
const ws = {
|
|
2739
2739
|
name: "labelStartLink",
|
|
2740
|
-
tokenize:
|
|
2740
|
+
tokenize: xs,
|
|
2741
2741
|
resolveAll: Rt.resolveAll
|
|
2742
2742
|
};
|
|
2743
|
-
function
|
|
2743
|
+
function xs(e, n, t) {
|
|
2744
2744
|
const r = this;
|
|
2745
2745
|
return s;
|
|
2746
2746
|
function s(o) {
|
|
@@ -2752,9 +2752,9 @@ function ys(e, n, t) {
|
|
|
2752
2752
|
}
|
|
2753
2753
|
const wt = {
|
|
2754
2754
|
name: "lineEnding",
|
|
2755
|
-
tokenize:
|
|
2755
|
+
tokenize: ys
|
|
2756
2756
|
};
|
|
2757
|
-
function
|
|
2757
|
+
function ys(e, n) {
|
|
2758
2758
|
return t;
|
|
2759
2759
|
function t(r) {
|
|
2760
2760
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), N(e, n, "linePrefix");
|
|
@@ -2762,9 +2762,9 @@ function ks(e, n) {
|
|
|
2762
2762
|
}
|
|
2763
2763
|
const rt = {
|
|
2764
2764
|
name: "thematicBreak",
|
|
2765
|
-
tokenize:
|
|
2765
|
+
tokenize: ks
|
|
2766
2766
|
};
|
|
2767
|
-
function
|
|
2767
|
+
function ks(e, n, t) {
|
|
2768
2768
|
let r = 0, s;
|
|
2769
2769
|
return i;
|
|
2770
2770
|
function i(l) {
|
|
@@ -2777,24 +2777,24 @@ function zs(e, n, t) {
|
|
|
2777
2777
|
return l === s ? (e.enter("thematicBreakSequence"), u(l)) : r >= 3 && (l === null || E(l)) ? (e.exit("thematicBreak"), n(l)) : t(l);
|
|
2778
2778
|
}
|
|
2779
2779
|
function u(l) {
|
|
2780
|
-
return l === s ? (e.consume(l), r++, u) : (e.exit("thematicBreakSequence"),
|
|
2780
|
+
return l === s ? (e.consume(l), r++, u) : (e.exit("thematicBreakSequence"), L(l) ? N(e, a, "whitespace")(l) : a(l));
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
2783
2783
|
const ee = {
|
|
2784
2784
|
name: "list",
|
|
2785
|
-
tokenize:
|
|
2785
|
+
tokenize: Cs,
|
|
2786
2786
|
continuation: {
|
|
2787
|
-
tokenize:
|
|
2787
|
+
tokenize: Ss
|
|
2788
2788
|
},
|
|
2789
|
-
exit:
|
|
2790
|
-
},
|
|
2791
|
-
tokenize:
|
|
2789
|
+
exit: Es
|
|
2790
|
+
}, zs = {
|
|
2791
|
+
tokenize: Ts,
|
|
2792
2792
|
partial: !0
|
|
2793
|
-
},
|
|
2794
|
-
tokenize:
|
|
2793
|
+
}, vs = {
|
|
2794
|
+
tokenize: _s,
|
|
2795
2795
|
partial: !0
|
|
2796
2796
|
};
|
|
2797
|
-
function
|
|
2797
|
+
function Cs(e, n, t) {
|
|
2798
2798
|
const r = this, s = r.events[r.events.length - 1];
|
|
2799
2799
|
let i = s && s[1].type === "linePrefix" ? s[2].sliceSerialize(s[1], !0).length : 0, o = 0;
|
|
2800
2800
|
return a;
|
|
@@ -2819,7 +2819,7 @@ function Ss(e, n, t) {
|
|
|
2819
2819
|
// Can’t be empty when interrupting.
|
|
2820
2820
|
r.interrupt ? t : c,
|
|
2821
2821
|
e.attempt(
|
|
2822
|
-
|
|
2822
|
+
zs,
|
|
2823
2823
|
m,
|
|
2824
2824
|
h
|
|
2825
2825
|
)
|
|
@@ -2829,13 +2829,13 @@ function Ss(e, n, t) {
|
|
|
2829
2829
|
return r.containerState.initialBlankLine = !0, i++, m(d);
|
|
2830
2830
|
}
|
|
2831
2831
|
function h(d) {
|
|
2832
|
-
return
|
|
2832
|
+
return L(d) ? (e.enter("listItemPrefixWhitespace"), e.consume(d), e.exit("listItemPrefixWhitespace"), m) : t(d);
|
|
2833
2833
|
}
|
|
2834
2834
|
function m(d) {
|
|
2835
2835
|
return r.containerState.size = i + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, n(d);
|
|
2836
2836
|
}
|
|
2837
2837
|
}
|
|
2838
|
-
function
|
|
2838
|
+
function Ss(e, n, t) {
|
|
2839
2839
|
const r = this;
|
|
2840
2840
|
return r.containerState._closeFlow = void 0, e.check(dt, s, i);
|
|
2841
2841
|
function s(a) {
|
|
@@ -2847,7 +2847,7 @@ function _s(e, n, t) {
|
|
|
2847
2847
|
)(a);
|
|
2848
2848
|
}
|
|
2849
2849
|
function i(a) {
|
|
2850
|
-
return r.containerState.furtherBlankLines || !
|
|
2850
|
+
return r.containerState.furtherBlankLines || !L(a) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, o(a)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(vs, n, o)(a));
|
|
2851
2851
|
}
|
|
2852
2852
|
function o(a) {
|
|
2853
2853
|
return r.containerState._closeFlow = !0, r.interrupt = void 0, N(
|
|
@@ -2858,7 +2858,7 @@ function _s(e, n, t) {
|
|
|
2858
2858
|
)(a);
|
|
2859
2859
|
}
|
|
2860
2860
|
}
|
|
2861
|
-
function
|
|
2861
|
+
function _s(e, n, t) {
|
|
2862
2862
|
const r = this;
|
|
2863
2863
|
return N(
|
|
2864
2864
|
e,
|
|
@@ -2871,10 +2871,10 @@ function Es(e, n, t) {
|
|
|
2871
2871
|
return o && o[1].type === "listItemIndent" && o[2].sliceSerialize(o[1], !0).length === r.containerState.size ? n(i) : t(i);
|
|
2872
2872
|
}
|
|
2873
2873
|
}
|
|
2874
|
-
function
|
|
2874
|
+
function Es(e) {
|
|
2875
2875
|
e.exit(this.containerState.type);
|
|
2876
2876
|
}
|
|
2877
|
-
function
|
|
2877
|
+
function Ts(e, n, t) {
|
|
2878
2878
|
const r = this;
|
|
2879
2879
|
return N(
|
|
2880
2880
|
e,
|
|
@@ -2884,15 +2884,15 @@ function As(e, n, t) {
|
|
|
2884
2884
|
);
|
|
2885
2885
|
function s(i) {
|
|
2886
2886
|
const o = r.events[r.events.length - 1];
|
|
2887
|
-
return !
|
|
2887
|
+
return !L(i) && o && o[1].type === "listItemPrefixWhitespace" ? n(i) : t(i);
|
|
2888
2888
|
}
|
|
2889
2889
|
}
|
|
2890
2890
|
const sn = {
|
|
2891
2891
|
name: "setextUnderline",
|
|
2892
|
-
tokenize:
|
|
2893
|
-
resolveTo:
|
|
2892
|
+
tokenize: Bs,
|
|
2893
|
+
resolveTo: As
|
|
2894
2894
|
};
|
|
2895
|
-
function
|
|
2895
|
+
function As(e, n) {
|
|
2896
2896
|
let t = e.length, r, s, i;
|
|
2897
2897
|
for (; t--; )
|
|
2898
2898
|
if (e[t][0] === "enter") {
|
|
@@ -2910,7 +2910,7 @@ function Bs(e, n) {
|
|
|
2910
2910
|
};
|
|
2911
2911
|
return e[s][1].type = "setextHeadingText", i ? (e.splice(s, 0, ["enter", o, n]), e.splice(i + 1, 0, ["exit", e[r][1], n]), e[r][1].end = Object.assign({}, e[i][1].end)) : e[r][1] = o, e.push(["exit", o, n]), e;
|
|
2912
2912
|
}
|
|
2913
|
-
function
|
|
2913
|
+
function Bs(e, n, t) {
|
|
2914
2914
|
const r = this;
|
|
2915
2915
|
let s;
|
|
2916
2916
|
return i;
|
|
@@ -2927,13 +2927,13 @@ function Is(e, n, t) {
|
|
|
2927
2927
|
return e.enter("setextHeadingLineSequence"), a(l);
|
|
2928
2928
|
}
|
|
2929
2929
|
function a(l) {
|
|
2930
|
-
return l === s ? (e.consume(l), a) : (e.exit("setextHeadingLineSequence"),
|
|
2930
|
+
return l === s ? (e.consume(l), a) : (e.exit("setextHeadingLineSequence"), L(l) ? N(e, u, "lineSuffix")(l) : u(l));
|
|
2931
2931
|
}
|
|
2932
2932
|
function u(l) {
|
|
2933
2933
|
return l === null || E(l) ? (e.exit("setextHeadingLine"), n(l)) : t(l);
|
|
2934
2934
|
}
|
|
2935
2935
|
}
|
|
2936
|
-
const
|
|
2936
|
+
const Is = {
|
|
2937
2937
|
tokenize: Fs
|
|
2938
2938
|
};
|
|
2939
2939
|
function Fs(e) {
|
|
@@ -2950,7 +2950,7 @@ function Fs(e) {
|
|
|
2950
2950
|
e.attempt(
|
|
2951
2951
|
this.parser.constructs.flow,
|
|
2952
2952
|
s,
|
|
2953
|
-
e.attempt(
|
|
2953
|
+
e.attempt(Oi, s)
|
|
2954
2954
|
),
|
|
2955
2955
|
"linePrefix"
|
|
2956
2956
|
)
|
|
@@ -2973,13 +2973,13 @@ function Fs(e) {
|
|
|
2973
2973
|
}
|
|
2974
2974
|
}
|
|
2975
2975
|
const Ms = {
|
|
2976
|
-
resolveAll:
|
|
2977
|
-
},
|
|
2978
|
-
function
|
|
2976
|
+
resolveAll: or()
|
|
2977
|
+
}, Ls = sr("string"), Rs = sr("text");
|
|
2978
|
+
function sr(e) {
|
|
2979
2979
|
return {
|
|
2980
2980
|
tokenize: n,
|
|
2981
|
-
resolveAll:
|
|
2982
|
-
e === "text" ?
|
|
2981
|
+
resolveAll: or(
|
|
2982
|
+
e === "text" ? Ns : void 0
|
|
2983
2983
|
)
|
|
2984
2984
|
};
|
|
2985
2985
|
function n(t) {
|
|
@@ -3013,7 +3013,7 @@ function or(e) {
|
|
|
3013
3013
|
}
|
|
3014
3014
|
}
|
|
3015
3015
|
}
|
|
3016
|
-
function
|
|
3016
|
+
function or(e) {
|
|
3017
3017
|
return n;
|
|
3018
3018
|
function n(t, r) {
|
|
3019
3019
|
let s = -1, i;
|
|
@@ -3022,7 +3022,7 @@ function ar(e) {
|
|
|
3022
3022
|
return e ? e(t, r) : t;
|
|
3023
3023
|
}
|
|
3024
3024
|
}
|
|
3025
|
-
function
|
|
3025
|
+
function Ns(e, n) {
|
|
3026
3026
|
let t = 0;
|
|
3027
3027
|
for (; ++t <= e.length; )
|
|
3028
3028
|
if ((t === e.length || e[t][1].type === "lineEnding") && e[t - 1][1].type === "data") {
|
|
@@ -3065,7 +3065,7 @@ function Os(e, n) {
|
|
|
3065
3065
|
}
|
|
3066
3066
|
return e;
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3068
|
+
function Os(e, n, t) {
|
|
3069
3069
|
let r = Object.assign(
|
|
3070
3070
|
t ? Object.assign({}, t) : {
|
|
3071
3071
|
line: 1,
|
|
@@ -3082,10 +3082,10 @@ function Ds(e, n, t) {
|
|
|
3082
3082
|
const u = {
|
|
3083
3083
|
consume: C,
|
|
3084
3084
|
enter: _,
|
|
3085
|
-
exit:
|
|
3086
|
-
attempt:
|
|
3087
|
-
check:
|
|
3088
|
-
interrupt:
|
|
3085
|
+
exit: j,
|
|
3086
|
+
attempt: M(P),
|
|
3087
|
+
check: M(x),
|
|
3088
|
+
interrupt: M(x, {
|
|
3089
3089
|
interrupt: !0
|
|
3090
3090
|
})
|
|
3091
3091
|
}, l = {
|
|
@@ -3103,13 +3103,13 @@ function Ds(e, n, t) {
|
|
|
3103
3103
|
let c = n.tokenize.call(l, u);
|
|
3104
3104
|
return n.resolveAll && i.push(n), l;
|
|
3105
3105
|
function h(T) {
|
|
3106
|
-
return o = se(o, T),
|
|
3106
|
+
return o = se(o, T), F(), o[o.length - 1] !== null ? [] : (q(n, 0), l.events = Lt(i, l.events, l), l.events);
|
|
3107
3107
|
}
|
|
3108
3108
|
function m(T, A) {
|
|
3109
|
-
return
|
|
3109
|
+
return Ps(d(T), A);
|
|
3110
3110
|
}
|
|
3111
3111
|
function d(T) {
|
|
3112
|
-
return
|
|
3112
|
+
return Ds(o, T);
|
|
3113
3113
|
}
|
|
3114
3114
|
function v() {
|
|
3115
3115
|
const { line: T, column: A, offset: W, _index: K, _bufferIndex: D } = r;
|
|
@@ -3124,7 +3124,7 @@ function Ds(e, n, t) {
|
|
|
3124
3124
|
function S(T) {
|
|
3125
3125
|
s[T.line] = T.column, g();
|
|
3126
3126
|
}
|
|
3127
|
-
function
|
|
3127
|
+
function F() {
|
|
3128
3128
|
let T;
|
|
3129
3129
|
for (; r._index < o.length; ) {
|
|
3130
3130
|
const A = o[r._index];
|
|
@@ -3145,7 +3145,7 @@ function Ds(e, n, t) {
|
|
|
3145
3145
|
const W = A || {};
|
|
3146
3146
|
return W.type = T, W.start = v(), l.events.push(["enter", W, l]), a.push(W), W;
|
|
3147
3147
|
}
|
|
3148
|
-
function
|
|
3148
|
+
function j(T) {
|
|
3149
3149
|
const A = a.pop();
|
|
3150
3150
|
return A.end = v(), l.events.push(["exit", A, l]), A;
|
|
3151
3151
|
}
|
|
@@ -3155,18 +3155,18 @@ function Ds(e, n, t) {
|
|
|
3155
3155
|
function x(T, A) {
|
|
3156
3156
|
A.restore();
|
|
3157
3157
|
}
|
|
3158
|
-
function
|
|
3158
|
+
function M(T, A) {
|
|
3159
3159
|
return W;
|
|
3160
3160
|
function W(K, D, Z) {
|
|
3161
|
-
let
|
|
3161
|
+
let $, oe, be, p;
|
|
3162
3162
|
return Array.isArray(K) ? we(K) : "tokenize" in K ? (
|
|
3163
3163
|
// @ts-expect-error Looks like a construct.
|
|
3164
3164
|
we([K])
|
|
3165
3165
|
) : ae(K);
|
|
3166
|
-
function ae(
|
|
3166
|
+
function ae(V) {
|
|
3167
3167
|
return Ke;
|
|
3168
3168
|
function Ke(ve) {
|
|
3169
|
-
const Re = ve !== null &&
|
|
3169
|
+
const Re = ve !== null && V[ve], Ne = ve !== null && V.null, Ye = [
|
|
3170
3170
|
// To do: add more extension tests.
|
|
3171
3171
|
/* c8 ignore next 2 */
|
|
3172
3172
|
...Array.isArray(Re) ? Re : Re ? [Re] : [],
|
|
@@ -3175,13 +3175,13 @@ function Ds(e, n, t) {
|
|
|
3175
3175
|
return we(Ye)(ve);
|
|
3176
3176
|
}
|
|
3177
3177
|
}
|
|
3178
|
-
function we(
|
|
3179
|
-
return
|
|
3178
|
+
function we(V) {
|
|
3179
|
+
return $ = V, oe = 0, V.length === 0 ? Z : f(V[oe]);
|
|
3180
3180
|
}
|
|
3181
|
-
function f(
|
|
3181
|
+
function f(V) {
|
|
3182
3182
|
return Ke;
|
|
3183
3183
|
function Ke(ve) {
|
|
3184
|
-
return p = I(), be =
|
|
3184
|
+
return p = I(), be = V, V.partial || (l.currentConstruct = V), V.name && l.parser.constructs.disable.null.includes(V.name) ? Te() : V.tokenize.call(
|
|
3185
3185
|
// If we do have fields, create an object w/ `context` as its
|
|
3186
3186
|
// prototype.
|
|
3187
3187
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
@@ -3192,11 +3192,11 @@ function Ds(e, n, t) {
|
|
|
3192
3192
|
)(ve);
|
|
3193
3193
|
}
|
|
3194
3194
|
}
|
|
3195
|
-
function le(
|
|
3195
|
+
function le(V) {
|
|
3196
3196
|
return T(be, p), D;
|
|
3197
3197
|
}
|
|
3198
|
-
function Te(
|
|
3199
|
-
return p.restore(), ++oe <
|
|
3198
|
+
function Te(V) {
|
|
3199
|
+
return p.restore(), ++oe < $.length ? f($[oe]) : Z;
|
|
3200
3200
|
}
|
|
3201
3201
|
}
|
|
3202
3202
|
}
|
|
@@ -3222,7 +3222,7 @@ function Ds(e, n, t) {
|
|
|
3222
3222
|
r.line in s && r.column < 2 && (r.column = s[r.line], r.offset += s[r.line] - 1);
|
|
3223
3223
|
}
|
|
3224
3224
|
}
|
|
3225
|
-
function
|
|
3225
|
+
function Ds(e, n) {
|
|
3226
3226
|
const t = n.start._index, r = n.start._bufferIndex, s = n.end._index, i = n.end._bufferIndex;
|
|
3227
3227
|
let o;
|
|
3228
3228
|
if (t === s)
|
|
@@ -3236,7 +3236,7 @@ function Ps(e, n) {
|
|
|
3236
3236
|
}
|
|
3237
3237
|
return o;
|
|
3238
3238
|
}
|
|
3239
|
-
function
|
|
3239
|
+
function Ps(e, n) {
|
|
3240
3240
|
let t = -1;
|
|
3241
3241
|
const r = [];
|
|
3242
3242
|
let s;
|
|
@@ -3291,85 +3291,85 @@ const js = {
|
|
|
3291
3291
|
55: ee,
|
|
3292
3292
|
56: ee,
|
|
3293
3293
|
57: ee,
|
|
3294
|
-
62:
|
|
3294
|
+
62: Jn
|
|
3295
|
+
}, Us = {
|
|
3296
|
+
91: qi
|
|
3295
3297
|
}, qs = {
|
|
3296
|
-
91: Wi
|
|
3297
|
-
}, Ws = {
|
|
3298
3298
|
[-2]: bt,
|
|
3299
3299
|
[-1]: bt,
|
|
3300
3300
|
32: bt
|
|
3301
|
-
},
|
|
3301
|
+
}, Ws = {
|
|
3302
3302
|
35: $i,
|
|
3303
3303
|
42: rt,
|
|
3304
3304
|
45: [sn, rt],
|
|
3305
|
-
60:
|
|
3305
|
+
60: Ji,
|
|
3306
3306
|
61: sn,
|
|
3307
3307
|
95: rt,
|
|
3308
3308
|
96: nn,
|
|
3309
3309
|
126: nn
|
|
3310
|
+
}, Hs = {
|
|
3311
|
+
38: er,
|
|
3312
|
+
92: Yn
|
|
3310
3313
|
}, Xs = {
|
|
3311
|
-
38: tr,
|
|
3312
|
-
92: er
|
|
3313
|
-
}, Ks = {
|
|
3314
3314
|
[-5]: wt,
|
|
3315
3315
|
[-4]: wt,
|
|
3316
3316
|
[-3]: wt,
|
|
3317
|
-
33:
|
|
3318
|
-
38:
|
|
3317
|
+
33: gs,
|
|
3318
|
+
38: er,
|
|
3319
3319
|
42: St,
|
|
3320
|
-
60: [
|
|
3321
|
-
91:
|
|
3322
|
-
92: [
|
|
3320
|
+
60: [xi, ss],
|
|
3321
|
+
91: ws,
|
|
3322
|
+
92: [Ki, Yn],
|
|
3323
3323
|
93: Rt,
|
|
3324
3324
|
95: St,
|
|
3325
3325
|
96: Fi
|
|
3326
|
-
},
|
|
3326
|
+
}, Ks = {
|
|
3327
3327
|
null: [St, Ms]
|
|
3328
|
-
},
|
|
3328
|
+
}, Gs = {
|
|
3329
3329
|
null: [42, 95]
|
|
3330
3330
|
}, $s = {
|
|
3331
3331
|
null: []
|
|
3332
|
-
},
|
|
3332
|
+
}, Vs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3333
3333
|
__proto__: null,
|
|
3334
|
-
attentionMarkers:
|
|
3335
|
-
contentInitial:
|
|
3334
|
+
attentionMarkers: Gs,
|
|
3335
|
+
contentInitial: Us,
|
|
3336
3336
|
disable: $s,
|
|
3337
3337
|
document: js,
|
|
3338
|
-
flow:
|
|
3339
|
-
flowInitial:
|
|
3340
|
-
insideSpan:
|
|
3341
|
-
string:
|
|
3342
|
-
text:
|
|
3338
|
+
flow: Ws,
|
|
3339
|
+
flowInitial: qs,
|
|
3340
|
+
insideSpan: Ks,
|
|
3341
|
+
string: Hs,
|
|
3342
|
+
text: Xs
|
|
3343
3343
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3344
|
-
function
|
|
3344
|
+
function Qs(e) {
|
|
3345
3345
|
const t = (
|
|
3346
3346
|
/** @type {FullNormalizedExtension} */
|
|
3347
|
-
|
|
3347
|
+
ii([Vs, ...(e || {}).extensions || []])
|
|
3348
3348
|
), r = {
|
|
3349
3349
|
defined: [],
|
|
3350
3350
|
lazy: {},
|
|
3351
3351
|
constructs: t,
|
|
3352
|
-
content: s(
|
|
3353
|
-
document: s(
|
|
3354
|
-
flow: s(
|
|
3355
|
-
string: s(
|
|
3356
|
-
text: s(
|
|
3352
|
+
content: s(hi),
|
|
3353
|
+
document: s(fi),
|
|
3354
|
+
flow: s(Is),
|
|
3355
|
+
string: s(Ls),
|
|
3356
|
+
text: s(Rs)
|
|
3357
3357
|
};
|
|
3358
3358
|
return r;
|
|
3359
3359
|
function s(i) {
|
|
3360
3360
|
return o;
|
|
3361
3361
|
function o(a) {
|
|
3362
|
-
return
|
|
3362
|
+
return Os(r, i, a);
|
|
3363
3363
|
}
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
|
-
function
|
|
3367
|
-
for (; !
|
|
3366
|
+
function Zs(e) {
|
|
3367
|
+
for (; !tr(e); )
|
|
3368
3368
|
;
|
|
3369
3369
|
return e;
|
|
3370
3370
|
}
|
|
3371
3371
|
const on = /[\0\t\n\r]/g;
|
|
3372
|
-
function
|
|
3372
|
+
function Js() {
|
|
3373
3373
|
let e = 1, n = "", t = !0, r;
|
|
3374
3374
|
return s;
|
|
3375
3375
|
function s(i, o, a) {
|
|
@@ -3404,18 +3404,18 @@ function Ys() {
|
|
|
3404
3404
|
return a && (r && u.push(-5), n && u.push(n), u.push(null)), u;
|
|
3405
3405
|
}
|
|
3406
3406
|
}
|
|
3407
|
-
const
|
|
3408
|
-
function
|
|
3409
|
-
return e.replace(
|
|
3407
|
+
const Ys = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
|
|
3408
|
+
function eo(e) {
|
|
3409
|
+
return e.replace(Ys, to);
|
|
3410
3410
|
}
|
|
3411
|
-
function
|
|
3411
|
+
function to(e, n, t) {
|
|
3412
3412
|
if (n)
|
|
3413
3413
|
return n;
|
|
3414
3414
|
if (t.charCodeAt(0) === 35) {
|
|
3415
3415
|
const s = t.charCodeAt(1), i = s === 120 || s === 88;
|
|
3416
|
-
return
|
|
3416
|
+
return Zn(t.slice(i ? 2 : 1), i ? 16 : 10);
|
|
3417
3417
|
}
|
|
3418
|
-
return
|
|
3418
|
+
return Mt(t) || e;
|
|
3419
3419
|
}
|
|
3420
3420
|
function it(e) {
|
|
3421
3421
|
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? an(e.position) : "start" in e || "end" in e ? an(e) : "line" in e || "column" in e ? _t(e) : "";
|
|
@@ -3429,11 +3429,11 @@ function an(e) {
|
|
|
3429
3429
|
function ln(e) {
|
|
3430
3430
|
return e && typeof e == "number" ? e : 1;
|
|
3431
3431
|
}
|
|
3432
|
-
const
|
|
3433
|
-
function
|
|
3434
|
-
return typeof n != "string" && (t = n, n = void 0),
|
|
3432
|
+
const ar = {}.hasOwnProperty;
|
|
3433
|
+
function no(e, n, t) {
|
|
3434
|
+
return typeof n != "string" && (t = n, n = void 0), ro(t)(Zs(Qs(t).document().write(Js()(e, n, !0))));
|
|
3435
3435
|
}
|
|
3436
|
-
function
|
|
3436
|
+
function ro(e) {
|
|
3437
3437
|
const n = {
|
|
3438
3438
|
transforms: [],
|
|
3439
3439
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
|
@@ -3441,7 +3441,7 @@ function io(e) {
|
|
|
3441
3441
|
autolink: i(Wt),
|
|
3442
3442
|
autolinkProtocol: I,
|
|
3443
3443
|
autolinkEmail: I,
|
|
3444
|
-
atxHeading: i(
|
|
3444
|
+
atxHeading: i(jt),
|
|
3445
3445
|
blockQuote: i(Ne),
|
|
3446
3446
|
characterEscape: I,
|
|
3447
3447
|
characterReference: I,
|
|
@@ -3449,36 +3449,36 @@ function io(e) {
|
|
|
3449
3449
|
codeFencedFenceInfo: o,
|
|
3450
3450
|
codeFencedFenceMeta: o,
|
|
3451
3451
|
codeIndented: i(Ye, o),
|
|
3452
|
-
codeText: i(
|
|
3452
|
+
codeText: i(gr, o),
|
|
3453
3453
|
codeTextData: I,
|
|
3454
3454
|
data: I,
|
|
3455
3455
|
codeFlowValue: I,
|
|
3456
|
-
definition: i(
|
|
3456
|
+
definition: i(br),
|
|
3457
3457
|
definitionDestinationString: o,
|
|
3458
3458
|
definitionLabelString: o,
|
|
3459
3459
|
definitionTitleString: o,
|
|
3460
|
-
emphasis: i(
|
|
3461
|
-
hardBreakEscape: i(
|
|
3462
|
-
hardBreakTrailing: i(
|
|
3460
|
+
emphasis: i(wr),
|
|
3461
|
+
hardBreakEscape: i(Ut),
|
|
3462
|
+
hardBreakTrailing: i(Ut),
|
|
3463
3463
|
htmlFlow: i(qt, o),
|
|
3464
3464
|
htmlFlowData: I,
|
|
3465
3465
|
htmlText: i(qt, o),
|
|
3466
3466
|
htmlTextData: I,
|
|
3467
|
-
image: i(
|
|
3467
|
+
image: i(xr),
|
|
3468
3468
|
label: o,
|
|
3469
3469
|
link: i(Wt),
|
|
3470
|
-
listItem: i(
|
|
3470
|
+
listItem: i(yr),
|
|
3471
3471
|
listItemValue: m,
|
|
3472
3472
|
listOrdered: i(Ht, h),
|
|
3473
3473
|
listUnordered: i(Ht),
|
|
3474
|
-
paragraph: i(
|
|
3474
|
+
paragraph: i(kr),
|
|
3475
3475
|
reference: f,
|
|
3476
3476
|
referenceString: o,
|
|
3477
3477
|
resourceDestinationString: o,
|
|
3478
3478
|
resourceTitleString: o,
|
|
3479
|
-
setextHeading: i(
|
|
3480
|
-
strong: i(
|
|
3481
|
-
thematicBreak: i(
|
|
3479
|
+
setextHeading: i(jt),
|
|
3480
|
+
strong: i(zr),
|
|
3481
|
+
thematicBreak: i(Cr)
|
|
3482
3482
|
},
|
|
3483
3483
|
exit: {
|
|
3484
3484
|
atxHeading: u(),
|
|
@@ -3490,9 +3490,9 @@ function io(e) {
|
|
|
3490
3490
|
characterEscapeValue: g,
|
|
3491
3491
|
characterReferenceMarkerHexadecimal: Te,
|
|
3492
3492
|
characterReferenceMarkerNumeric: Te,
|
|
3493
|
-
characterReferenceValue:
|
|
3493
|
+
characterReferenceValue: V,
|
|
3494
3494
|
characterReference: Ke,
|
|
3495
|
-
codeFenced: u(
|
|
3495
|
+
codeFenced: u(F),
|
|
3496
3496
|
codeFencedFence: S,
|
|
3497
3497
|
codeFencedFenceInfo: d,
|
|
3498
3498
|
codeFencedFenceMeta: v,
|
|
@@ -3502,7 +3502,7 @@ function io(e) {
|
|
|
3502
3502
|
codeTextData: g,
|
|
3503
3503
|
data: g,
|
|
3504
3504
|
definition: u(),
|
|
3505
|
-
definitionDestinationString:
|
|
3505
|
+
definitionDestinationString: j,
|
|
3506
3506
|
definitionLabelString: C,
|
|
3507
3507
|
definitionTitleString: _,
|
|
3508
3508
|
emphasis: u(),
|
|
@@ -3512,7 +3512,7 @@ function io(e) {
|
|
|
3512
3512
|
htmlFlowData: g,
|
|
3513
3513
|
htmlText: u(K),
|
|
3514
3514
|
htmlTextData: g,
|
|
3515
|
-
image: u(
|
|
3515
|
+
image: u($),
|
|
3516
3516
|
label: be,
|
|
3517
3517
|
labelText: oe,
|
|
3518
3518
|
lineEnding: T,
|
|
@@ -3526,16 +3526,16 @@ function io(e) {
|
|
|
3526
3526
|
resourceTitleString: ae,
|
|
3527
3527
|
resource: we,
|
|
3528
3528
|
setextHeading: u(q),
|
|
3529
|
-
setextHeadingLineSequence:
|
|
3529
|
+
setextHeadingLineSequence: M,
|
|
3530
3530
|
setextHeadingText: x,
|
|
3531
3531
|
strong: u(),
|
|
3532
3532
|
thematicBreak: u()
|
|
3533
3533
|
}
|
|
3534
3534
|
};
|
|
3535
|
-
|
|
3535
|
+
lr(n, (e || {}).mdastExtensions || []);
|
|
3536
3536
|
const t = {};
|
|
3537
3537
|
return r;
|
|
3538
|
-
function r(
|
|
3538
|
+
function r(b) {
|
|
3539
3539
|
let k = {
|
|
3540
3540
|
type: "root",
|
|
3541
3541
|
children: []
|
|
@@ -3551,31 +3551,31 @@ function io(e) {
|
|
|
3551
3551
|
data: t
|
|
3552
3552
|
}, R = [];
|
|
3553
3553
|
let H = -1;
|
|
3554
|
-
for (; ++H <
|
|
3555
|
-
if (
|
|
3556
|
-
if (
|
|
3554
|
+
for (; ++H < b.length; )
|
|
3555
|
+
if (b[H][1].type === "listOrdered" || b[H][1].type === "listUnordered")
|
|
3556
|
+
if (b[H][0] === "enter")
|
|
3557
3557
|
R.push(H);
|
|
3558
3558
|
else {
|
|
3559
3559
|
const ue = R.pop();
|
|
3560
|
-
H = s(
|
|
3560
|
+
H = s(b, ue, H);
|
|
3561
3561
|
}
|
|
3562
|
-
for (H = -1; ++H <
|
|
3563
|
-
const ue = n[
|
|
3564
|
-
|
|
3565
|
-
sliceSerialize:
|
|
3566
|
-
}, B),
|
|
3562
|
+
for (H = -1; ++H < b.length; ) {
|
|
3563
|
+
const ue = n[b[H][0]];
|
|
3564
|
+
ar.call(ue, b[H][1].type) && ue[b[H][1].type].call(Object.assign({
|
|
3565
|
+
sliceSerialize: b[H][2].sliceSerialize
|
|
3566
|
+
}, B), b[H][1]);
|
|
3567
3567
|
}
|
|
3568
3568
|
if (B.tokenStack.length > 0) {
|
|
3569
3569
|
const ue = B.tokenStack[B.tokenStack.length - 1];
|
|
3570
3570
|
(ue[1] || un).call(B, void 0, ue[0]);
|
|
3571
3571
|
}
|
|
3572
3572
|
for (k.position = {
|
|
3573
|
-
start: Ce(
|
|
3573
|
+
start: Ce(b.length > 0 ? b[0][1].start : {
|
|
3574
3574
|
line: 1,
|
|
3575
3575
|
column: 1,
|
|
3576
3576
|
offset: 0
|
|
3577
3577
|
}),
|
|
3578
|
-
end: Ce(
|
|
3578
|
+
end: Ce(b.length > 0 ? b[b.length - 2][1].end : {
|
|
3579
3579
|
line: 1,
|
|
3580
3580
|
column: 1,
|
|
3581
3581
|
offset: 0
|
|
@@ -3584,19 +3584,19 @@ function io(e) {
|
|
|
3584
3584
|
k = n.transforms[H](k) || k;
|
|
3585
3585
|
return k;
|
|
3586
3586
|
}
|
|
3587
|
-
function s(
|
|
3588
|
-
let R = k - 1, H = -1, ue = !1, Ae, xe, Ge,
|
|
3587
|
+
function s(b, k, B) {
|
|
3588
|
+
let R = k - 1, H = -1, ue = !1, Ae, xe, Ge, $e;
|
|
3589
3589
|
for (; ++R <= B; ) {
|
|
3590
|
-
const re =
|
|
3590
|
+
const re = b[R];
|
|
3591
3591
|
switch (re[1].type) {
|
|
3592
3592
|
case "listUnordered":
|
|
3593
3593
|
case "listOrdered":
|
|
3594
3594
|
case "blockQuote": {
|
|
3595
|
-
re[0] === "enter" ? H++ : H--,
|
|
3595
|
+
re[0] === "enter" ? H++ : H--, $e = void 0;
|
|
3596
3596
|
break;
|
|
3597
3597
|
}
|
|
3598
3598
|
case "lineEndingBlank": {
|
|
3599
|
-
re[0] === "enter" && (Ae &&
|
|
3599
|
+
re[0] === "enter" && (Ae && !$e && !H && !Ge && (Ge = R), $e = void 0);
|
|
3600
3600
|
break;
|
|
3601
3601
|
}
|
|
3602
3602
|
case "linePrefix":
|
|
@@ -3606,19 +3606,19 @@ function io(e) {
|
|
|
3606
3606
|
case "listItemPrefixWhitespace":
|
|
3607
3607
|
break;
|
|
3608
3608
|
default:
|
|
3609
|
-
|
|
3609
|
+
$e = void 0;
|
|
3610
3610
|
}
|
|
3611
3611
|
if (!H && re[0] === "enter" && re[1].type === "listItemPrefix" || H === -1 && re[0] === "exit" && (re[1].type === "listUnordered" || re[1].type === "listOrdered")) {
|
|
3612
3612
|
if (Ae) {
|
|
3613
3613
|
let Oe = R;
|
|
3614
3614
|
for (xe = void 0; Oe--; ) {
|
|
3615
|
-
const ye =
|
|
3615
|
+
const ye = b[Oe];
|
|
3616
3616
|
if (ye[1].type === "lineEnding" || ye[1].type === "lineEndingBlank") {
|
|
3617
3617
|
if (ye[0] === "exit") continue;
|
|
3618
|
-
xe && (
|
|
3618
|
+
xe && (b[xe][1].type = "lineEndingBlank", ue = !0), ye[1].type = "lineEnding", xe = Oe;
|
|
3619
3619
|
} else if (!(ye[1].type === "linePrefix" || ye[1].type === "blockQuotePrefix" || ye[1].type === "blockQuotePrefixWhitespace" || ye[1].type === "blockQuoteMarker" || ye[1].type === "listItemIndent")) break;
|
|
3620
3620
|
}
|
|
3621
|
-
Ge && (!xe || Ge < xe) && (Ae._spread = !0), Ae.end = Object.assign({}, xe ?
|
|
3621
|
+
Ge && (!xe || Ge < xe) && (Ae._spread = !0), Ae.end = Object.assign({}, xe ? b[xe][1].start : re[1].end), b.splice(xe || R, 0, ["exit", Ae, re[2]]), R++, B++;
|
|
3622
3622
|
}
|
|
3623
3623
|
if (re[1].type === "listItemPrefix") {
|
|
3624
3624
|
const Oe = {
|
|
@@ -3628,16 +3628,16 @@ function io(e) {
|
|
|
3628
3628
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
3629
3629
|
end: void 0
|
|
3630
3630
|
};
|
|
3631
|
-
Ae = Oe,
|
|
3631
|
+
Ae = Oe, b.splice(R, 0, ["enter", Oe, re[2]]), R++, B++, Ge = void 0, $e = !0;
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
}
|
|
3635
|
-
return
|
|
3635
|
+
return b[k][1]._spread = ue, B;
|
|
3636
3636
|
}
|
|
3637
|
-
function i(
|
|
3637
|
+
function i(b, k) {
|
|
3638
3638
|
return B;
|
|
3639
3639
|
function B(R) {
|
|
3640
|
-
a.call(this,
|
|
3640
|
+
a.call(this, b(R), R), k && k.call(this, R);
|
|
3641
3641
|
}
|
|
3642
3642
|
}
|
|
3643
3643
|
function o() {
|
|
@@ -3646,163 +3646,163 @@ function io(e) {
|
|
|
3646
3646
|
children: []
|
|
3647
3647
|
});
|
|
3648
3648
|
}
|
|
3649
|
-
function a(
|
|
3650
|
-
this.stack[this.stack.length - 1].children.push(
|
|
3649
|
+
function a(b, k, B) {
|
|
3650
|
+
this.stack[this.stack.length - 1].children.push(b), this.stack.push(b), this.tokenStack.push([k, B || void 0]), b.position = {
|
|
3651
3651
|
start: Ce(k.start),
|
|
3652
3652
|
// @ts-expect-error: `end` will be patched later.
|
|
3653
3653
|
end: void 0
|
|
3654
3654
|
};
|
|
3655
3655
|
}
|
|
3656
|
-
function u(
|
|
3656
|
+
function u(b) {
|
|
3657
3657
|
return k;
|
|
3658
3658
|
function k(B) {
|
|
3659
|
-
|
|
3659
|
+
b && b.call(this, B), l.call(this, B);
|
|
3660
3660
|
}
|
|
3661
3661
|
}
|
|
3662
|
-
function l(
|
|
3662
|
+
function l(b, k) {
|
|
3663
3663
|
const B = this.stack.pop(), R = this.tokenStack.pop();
|
|
3664
3664
|
if (R)
|
|
3665
|
-
R[0].type !==
|
|
3666
|
-
else throw new Error("Cannot close `" +
|
|
3667
|
-
start:
|
|
3668
|
-
end:
|
|
3665
|
+
R[0].type !== b.type && (k ? k.call(this, b, R[0]) : (R[1] || un).call(this, b, R[0]));
|
|
3666
|
+
else throw new Error("Cannot close `" + b.type + "` (" + it({
|
|
3667
|
+
start: b.start,
|
|
3668
|
+
end: b.end
|
|
3669
3669
|
}) + "): it’s not open");
|
|
3670
|
-
B.position.end = Ce(
|
|
3670
|
+
B.position.end = Ce(b.end);
|
|
3671
3671
|
}
|
|
3672
3672
|
function c() {
|
|
3673
|
-
return
|
|
3673
|
+
return ni(this.stack.pop());
|
|
3674
3674
|
}
|
|
3675
3675
|
function h() {
|
|
3676
3676
|
this.data.expectingFirstListItemValue = !0;
|
|
3677
3677
|
}
|
|
3678
|
-
function m(
|
|
3678
|
+
function m(b) {
|
|
3679
3679
|
if (this.data.expectingFirstListItemValue) {
|
|
3680
3680
|
const k = this.stack[this.stack.length - 2];
|
|
3681
|
-
k.start = Number.parseInt(this.sliceSerialize(
|
|
3681
|
+
k.start = Number.parseInt(this.sliceSerialize(b), 10), this.data.expectingFirstListItemValue = void 0;
|
|
3682
3682
|
}
|
|
3683
3683
|
}
|
|
3684
3684
|
function d() {
|
|
3685
|
-
const
|
|
3686
|
-
k.lang =
|
|
3685
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3686
|
+
k.lang = b;
|
|
3687
3687
|
}
|
|
3688
3688
|
function v() {
|
|
3689
|
-
const
|
|
3690
|
-
k.meta =
|
|
3689
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3690
|
+
k.meta = b;
|
|
3691
3691
|
}
|
|
3692
3692
|
function S() {
|
|
3693
3693
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
3694
3694
|
}
|
|
3695
|
-
function
|
|
3696
|
-
const
|
|
3697
|
-
k.value =
|
|
3695
|
+
function F() {
|
|
3696
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3697
|
+
k.value = b.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
3698
3698
|
}
|
|
3699
3699
|
function z() {
|
|
3700
|
-
const
|
|
3701
|
-
k.value =
|
|
3700
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3701
|
+
k.value = b.replace(/(\r?\n|\r)$/g, "");
|
|
3702
3702
|
}
|
|
3703
|
-
function C(
|
|
3703
|
+
function C(b) {
|
|
3704
3704
|
const k = this.resume(), B = this.stack[this.stack.length - 1];
|
|
3705
|
-
B.label = k, B.identifier = We(this.sliceSerialize(
|
|
3705
|
+
B.label = k, B.identifier = We(this.sliceSerialize(b)).toLowerCase();
|
|
3706
3706
|
}
|
|
3707
3707
|
function _() {
|
|
3708
|
-
const
|
|
3709
|
-
k.title =
|
|
3708
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3709
|
+
k.title = b;
|
|
3710
3710
|
}
|
|
3711
|
-
function
|
|
3712
|
-
const
|
|
3713
|
-
k.url =
|
|
3711
|
+
function j() {
|
|
3712
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3713
|
+
k.url = b;
|
|
3714
3714
|
}
|
|
3715
|
-
function P(
|
|
3715
|
+
function P(b) {
|
|
3716
3716
|
const k = this.stack[this.stack.length - 1];
|
|
3717
3717
|
if (!k.depth) {
|
|
3718
|
-
const B = this.sliceSerialize(
|
|
3718
|
+
const B = this.sliceSerialize(b).length;
|
|
3719
3719
|
k.depth = B;
|
|
3720
3720
|
}
|
|
3721
3721
|
}
|
|
3722
3722
|
function x() {
|
|
3723
3723
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
3724
3724
|
}
|
|
3725
|
-
function
|
|
3725
|
+
function M(b) {
|
|
3726
3726
|
const k = this.stack[this.stack.length - 1];
|
|
3727
|
-
k.depth = this.sliceSerialize(
|
|
3727
|
+
k.depth = this.sliceSerialize(b).codePointAt(0) === 61 ? 1 : 2;
|
|
3728
3728
|
}
|
|
3729
3729
|
function q() {
|
|
3730
3730
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
3731
3731
|
}
|
|
3732
|
-
function I(
|
|
3732
|
+
function I(b) {
|
|
3733
3733
|
const B = this.stack[this.stack.length - 1].children;
|
|
3734
3734
|
let R = B[B.length - 1];
|
|
3735
|
-
(!R || R.type !== "text") && (R =
|
|
3736
|
-
start: Ce(
|
|
3735
|
+
(!R || R.type !== "text") && (R = vr(), R.position = {
|
|
3736
|
+
start: Ce(b.start),
|
|
3737
3737
|
// @ts-expect-error: we’ll add `end` later.
|
|
3738
3738
|
end: void 0
|
|
3739
3739
|
}, B.push(R)), this.stack.push(R);
|
|
3740
3740
|
}
|
|
3741
|
-
function g(
|
|
3741
|
+
function g(b) {
|
|
3742
3742
|
const k = this.stack.pop();
|
|
3743
|
-
k.value += this.sliceSerialize(
|
|
3743
|
+
k.value += this.sliceSerialize(b), k.position.end = Ce(b.end);
|
|
3744
3744
|
}
|
|
3745
|
-
function T(
|
|
3745
|
+
function T(b) {
|
|
3746
3746
|
const k = this.stack[this.stack.length - 1];
|
|
3747
3747
|
if (this.data.atHardBreak) {
|
|
3748
3748
|
const B = k.children[k.children.length - 1];
|
|
3749
|
-
B.position.end = Ce(
|
|
3749
|
+
B.position.end = Ce(b.end), this.data.atHardBreak = void 0;
|
|
3750
3750
|
return;
|
|
3751
3751
|
}
|
|
3752
|
-
!this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(k.type) && (I.call(this,
|
|
3752
|
+
!this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(k.type) && (I.call(this, b), g.call(this, b));
|
|
3753
3753
|
}
|
|
3754
3754
|
function A() {
|
|
3755
3755
|
this.data.atHardBreak = !0;
|
|
3756
3756
|
}
|
|
3757
3757
|
function W() {
|
|
3758
|
-
const
|
|
3759
|
-
k.value =
|
|
3758
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3759
|
+
k.value = b;
|
|
3760
3760
|
}
|
|
3761
3761
|
function K() {
|
|
3762
|
-
const
|
|
3763
|
-
k.value =
|
|
3762
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3763
|
+
k.value = b;
|
|
3764
3764
|
}
|
|
3765
3765
|
function D() {
|
|
3766
|
-
const
|
|
3767
|
-
k.value =
|
|
3766
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3767
|
+
k.value = b;
|
|
3768
3768
|
}
|
|
3769
3769
|
function Z() {
|
|
3770
|
-
const
|
|
3770
|
+
const b = this.stack[this.stack.length - 1];
|
|
3771
3771
|
if (this.data.inReference) {
|
|
3772
3772
|
const k = this.data.referenceType || "shortcut";
|
|
3773
|
-
|
|
3773
|
+
b.type += "Reference", b.referenceType = k, delete b.url, delete b.title;
|
|
3774
3774
|
} else
|
|
3775
|
-
delete
|
|
3775
|
+
delete b.identifier, delete b.label;
|
|
3776
3776
|
this.data.referenceType = void 0;
|
|
3777
3777
|
}
|
|
3778
|
-
function
|
|
3779
|
-
const
|
|
3778
|
+
function $() {
|
|
3779
|
+
const b = this.stack[this.stack.length - 1];
|
|
3780
3780
|
if (this.data.inReference) {
|
|
3781
3781
|
const k = this.data.referenceType || "shortcut";
|
|
3782
|
-
|
|
3782
|
+
b.type += "Reference", b.referenceType = k, delete b.url, delete b.title;
|
|
3783
3783
|
} else
|
|
3784
|
-
delete
|
|
3784
|
+
delete b.identifier, delete b.label;
|
|
3785
3785
|
this.data.referenceType = void 0;
|
|
3786
3786
|
}
|
|
3787
|
-
function oe(
|
|
3788
|
-
const k = this.sliceSerialize(
|
|
3789
|
-
B.label =
|
|
3787
|
+
function oe(b) {
|
|
3788
|
+
const k = this.sliceSerialize(b), B = this.stack[this.stack.length - 2];
|
|
3789
|
+
B.label = eo(k), B.identifier = We(k).toLowerCase();
|
|
3790
3790
|
}
|
|
3791
3791
|
function be() {
|
|
3792
|
-
const
|
|
3792
|
+
const b = this.stack[this.stack.length - 1], k = this.resume(), B = this.stack[this.stack.length - 1];
|
|
3793
3793
|
if (this.data.inReference = !0, B.type === "link") {
|
|
3794
|
-
const R =
|
|
3794
|
+
const R = b.children;
|
|
3795
3795
|
B.children = R;
|
|
3796
3796
|
} else
|
|
3797
3797
|
B.alt = k;
|
|
3798
3798
|
}
|
|
3799
3799
|
function p() {
|
|
3800
|
-
const
|
|
3801
|
-
k.url =
|
|
3800
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3801
|
+
k.url = b;
|
|
3802
3802
|
}
|
|
3803
3803
|
function ae() {
|
|
3804
|
-
const
|
|
3805
|
-
k.title =
|
|
3804
|
+
const b = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3805
|
+
k.title = b;
|
|
3806
3806
|
}
|
|
3807
3807
|
function we() {
|
|
3808
3808
|
this.data.inReference = void 0;
|
|
@@ -3810,33 +3810,33 @@ function io(e) {
|
|
|
3810
3810
|
function f() {
|
|
3811
3811
|
this.data.referenceType = "collapsed";
|
|
3812
3812
|
}
|
|
3813
|
-
function le(
|
|
3813
|
+
function le(b) {
|
|
3814
3814
|
const k = this.resume(), B = this.stack[this.stack.length - 1];
|
|
3815
|
-
B.label = k, B.identifier = We(this.sliceSerialize(
|
|
3815
|
+
B.label = k, B.identifier = We(this.sliceSerialize(b)).toLowerCase(), this.data.referenceType = "full";
|
|
3816
3816
|
}
|
|
3817
|
-
function Te(
|
|
3818
|
-
this.data.characterReferenceType =
|
|
3817
|
+
function Te(b) {
|
|
3818
|
+
this.data.characterReferenceType = b.type;
|
|
3819
3819
|
}
|
|
3820
|
-
function
|
|
3821
|
-
const k = this.sliceSerialize(
|
|
3820
|
+
function V(b) {
|
|
3821
|
+
const k = this.sliceSerialize(b), B = this.data.characterReferenceType;
|
|
3822
3822
|
let R;
|
|
3823
|
-
B ? (R =
|
|
3823
|
+
B ? (R = Zn(k, B === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : R = Mt(k);
|
|
3824
3824
|
const H = this.stack[this.stack.length - 1];
|
|
3825
3825
|
H.value += R;
|
|
3826
3826
|
}
|
|
3827
|
-
function Ke(
|
|
3827
|
+
function Ke(b) {
|
|
3828
3828
|
const k = this.stack.pop();
|
|
3829
|
-
k.position.end = Ce(
|
|
3829
|
+
k.position.end = Ce(b.end);
|
|
3830
3830
|
}
|
|
3831
|
-
function ve(
|
|
3832
|
-
g.call(this,
|
|
3831
|
+
function ve(b) {
|
|
3832
|
+
g.call(this, b);
|
|
3833
3833
|
const k = this.stack[this.stack.length - 1];
|
|
3834
|
-
k.url = this.sliceSerialize(
|
|
3834
|
+
k.url = this.sliceSerialize(b);
|
|
3835
3835
|
}
|
|
3836
|
-
function Re(
|
|
3837
|
-
g.call(this,
|
|
3836
|
+
function Re(b) {
|
|
3837
|
+
g.call(this, b);
|
|
3838
3838
|
const k = this.stack[this.stack.length - 1];
|
|
3839
|
-
k.url = "mailto:" + this.sliceSerialize(
|
|
3839
|
+
k.url = "mailto:" + this.sliceSerialize(b);
|
|
3840
3840
|
}
|
|
3841
3841
|
function Ne() {
|
|
3842
3842
|
return {
|
|
@@ -3852,13 +3852,13 @@ function io(e) {
|
|
|
3852
3852
|
value: ""
|
|
3853
3853
|
};
|
|
3854
3854
|
}
|
|
3855
|
-
function
|
|
3855
|
+
function gr() {
|
|
3856
3856
|
return {
|
|
3857
3857
|
type: "inlineCode",
|
|
3858
3858
|
value: ""
|
|
3859
3859
|
};
|
|
3860
3860
|
}
|
|
3861
|
-
function
|
|
3861
|
+
function br() {
|
|
3862
3862
|
return {
|
|
3863
3863
|
type: "definition",
|
|
3864
3864
|
identifier: "",
|
|
@@ -3867,13 +3867,13 @@ function io(e) {
|
|
|
3867
3867
|
url: ""
|
|
3868
3868
|
};
|
|
3869
3869
|
}
|
|
3870
|
-
function
|
|
3870
|
+
function wr() {
|
|
3871
3871
|
return {
|
|
3872
3872
|
type: "emphasis",
|
|
3873
3873
|
children: []
|
|
3874
3874
|
};
|
|
3875
3875
|
}
|
|
3876
|
-
function
|
|
3876
|
+
function jt() {
|
|
3877
3877
|
return {
|
|
3878
3878
|
type: "heading",
|
|
3879
3879
|
// @ts-expect-error `depth` will be set later.
|
|
@@ -3881,7 +3881,7 @@ function io(e) {
|
|
|
3881
3881
|
children: []
|
|
3882
3882
|
};
|
|
3883
3883
|
}
|
|
3884
|
-
function
|
|
3884
|
+
function Ut() {
|
|
3885
3885
|
return {
|
|
3886
3886
|
type: "break"
|
|
3887
3887
|
};
|
|
@@ -3892,7 +3892,7 @@ function io(e) {
|
|
|
3892
3892
|
value: ""
|
|
3893
3893
|
};
|
|
3894
3894
|
}
|
|
3895
|
-
function
|
|
3895
|
+
function xr() {
|
|
3896
3896
|
return {
|
|
3897
3897
|
type: "image",
|
|
3898
3898
|
title: null,
|
|
@@ -3908,42 +3908,42 @@ function io(e) {
|
|
|
3908
3908
|
children: []
|
|
3909
3909
|
};
|
|
3910
3910
|
}
|
|
3911
|
-
function Ht(
|
|
3911
|
+
function Ht(b) {
|
|
3912
3912
|
return {
|
|
3913
3913
|
type: "list",
|
|
3914
|
-
ordered:
|
|
3914
|
+
ordered: b.type === "listOrdered",
|
|
3915
3915
|
start: null,
|
|
3916
|
-
spread:
|
|
3916
|
+
spread: b._spread,
|
|
3917
3917
|
children: []
|
|
3918
3918
|
};
|
|
3919
3919
|
}
|
|
3920
|
-
function
|
|
3920
|
+
function yr(b) {
|
|
3921
3921
|
return {
|
|
3922
3922
|
type: "listItem",
|
|
3923
|
-
spread:
|
|
3923
|
+
spread: b._spread,
|
|
3924
3924
|
checked: null,
|
|
3925
3925
|
children: []
|
|
3926
3926
|
};
|
|
3927
3927
|
}
|
|
3928
|
-
function
|
|
3928
|
+
function kr() {
|
|
3929
3929
|
return {
|
|
3930
3930
|
type: "paragraph",
|
|
3931
3931
|
children: []
|
|
3932
3932
|
};
|
|
3933
3933
|
}
|
|
3934
|
-
function
|
|
3934
|
+
function zr() {
|
|
3935
3935
|
return {
|
|
3936
3936
|
type: "strong",
|
|
3937
3937
|
children: []
|
|
3938
3938
|
};
|
|
3939
3939
|
}
|
|
3940
|
-
function
|
|
3940
|
+
function vr() {
|
|
3941
3941
|
return {
|
|
3942
3942
|
type: "text",
|
|
3943
3943
|
value: ""
|
|
3944
3944
|
};
|
|
3945
3945
|
}
|
|
3946
|
-
function
|
|
3946
|
+
function Cr() {
|
|
3947
3947
|
return {
|
|
3948
3948
|
type: "thematicBreak"
|
|
3949
3949
|
};
|
|
@@ -3956,17 +3956,17 @@ function Ce(e) {
|
|
|
3956
3956
|
offset: e.offset
|
|
3957
3957
|
};
|
|
3958
3958
|
}
|
|
3959
|
-
function
|
|
3959
|
+
function lr(e, n) {
|
|
3960
3960
|
let t = -1;
|
|
3961
3961
|
for (; ++t < n.length; ) {
|
|
3962
3962
|
const r = n[t];
|
|
3963
|
-
Array.isArray(r) ?
|
|
3963
|
+
Array.isArray(r) ? lr(e, r) : io(e, r);
|
|
3964
3964
|
}
|
|
3965
3965
|
}
|
|
3966
|
-
function
|
|
3966
|
+
function io(e, n) {
|
|
3967
3967
|
let t;
|
|
3968
3968
|
for (t in n)
|
|
3969
|
-
if (
|
|
3969
|
+
if (ar.call(n, t))
|
|
3970
3970
|
switch (t) {
|
|
3971
3971
|
case "canContainEols": {
|
|
3972
3972
|
const r = n[t];
|
|
@@ -3998,7 +3998,7 @@ function un(e, n) {
|
|
|
3998
3998
|
end: n.end
|
|
3999
3999
|
}) + ") is still open");
|
|
4000
4000
|
}
|
|
4001
|
-
class
|
|
4001
|
+
class so {
|
|
4002
4002
|
/**
|
|
4003
4003
|
* Create a new edit map.
|
|
4004
4004
|
*/
|
|
@@ -4014,7 +4014,7 @@ class oo {
|
|
|
4014
4014
|
* @returns {undefined}
|
|
4015
4015
|
*/
|
|
4016
4016
|
add(n, t, r) {
|
|
4017
|
-
|
|
4017
|
+
oo(this, n, t, r);
|
|
4018
4018
|
}
|
|
4019
4019
|
// To do: add this when moving to `micromark`.
|
|
4020
4020
|
// /**
|
|
@@ -4050,7 +4050,7 @@ class oo {
|
|
|
4050
4050
|
this.map.length = 0;
|
|
4051
4051
|
}
|
|
4052
4052
|
}
|
|
4053
|
-
function
|
|
4053
|
+
function oo(e, n, t, r) {
|
|
4054
4054
|
let s = 0;
|
|
4055
4055
|
if (!(t === 0 && r.length === 0)) {
|
|
4056
4056
|
for (; s < e.map.length; ) {
|
|
@@ -4063,7 +4063,7 @@ function ao(e, n, t, r) {
|
|
|
4063
4063
|
e.map.push([n, t, r]);
|
|
4064
4064
|
}
|
|
4065
4065
|
}
|
|
4066
|
-
function
|
|
4066
|
+
function ao(e, n) {
|
|
4067
4067
|
let t = !1;
|
|
4068
4068
|
const r = [];
|
|
4069
4069
|
for (; n < e.length; ) {
|
|
@@ -4083,18 +4083,18 @@ function lo(e, n) {
|
|
|
4083
4083
|
}
|
|
4084
4084
|
return r;
|
|
4085
4085
|
}
|
|
4086
|
-
function
|
|
4086
|
+
function lo() {
|
|
4087
4087
|
return {
|
|
4088
4088
|
flow: {
|
|
4089
4089
|
null: {
|
|
4090
4090
|
name: "table",
|
|
4091
|
-
tokenize:
|
|
4092
|
-
resolveAll:
|
|
4091
|
+
tokenize: uo,
|
|
4092
|
+
resolveAll: co
|
|
4093
4093
|
}
|
|
4094
4094
|
}
|
|
4095
4095
|
};
|
|
4096
4096
|
}
|
|
4097
|
-
function
|
|
4097
|
+
function uo(e, n, t) {
|
|
4098
4098
|
const r = this;
|
|
4099
4099
|
let s = 0, i = 0, o;
|
|
4100
4100
|
return a;
|
|
@@ -4116,7 +4116,7 @@ function co(e, n, t) {
|
|
|
4116
4116
|
return g === 124 || (o = !0, i += 1), c(g);
|
|
4117
4117
|
}
|
|
4118
4118
|
function c(g) {
|
|
4119
|
-
return g === null ? t(g) : E(g) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"), d) : t(g) :
|
|
4119
|
+
return g === null ? t(g) : E(g) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(g), e.exit("lineEnding"), d) : t(g) : L(g) ? N(e, c, "whitespace")(g) : (i += 1, o && (o = !1, s += 1), g === 124 ? (e.enter("tableCellDivider"), e.consume(g), e.exit("tableCellDivider"), o = !0, c) : (e.enter("data"), h(g)));
|
|
4120
4120
|
}
|
|
4121
4121
|
function h(g) {
|
|
4122
4122
|
return g === null || g === 124 || J(g) ? (e.exit("data"), c(g)) : (e.consume(g), g === 92 ? m : h);
|
|
@@ -4125,16 +4125,16 @@ function co(e, n, t) {
|
|
|
4125
4125
|
return g === 92 || g === 124 ? (e.consume(g), h) : h(g);
|
|
4126
4126
|
}
|
|
4127
4127
|
function d(g) {
|
|
4128
|
-
return r.interrupt = !1, r.parser.lazy[r.now().line] ? t(g) : (e.enter("tableDelimiterRow"), o = !1,
|
|
4128
|
+
return r.interrupt = !1, r.parser.lazy[r.now().line] ? t(g) : (e.enter("tableDelimiterRow"), o = !1, L(g) ? N(e, v, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(g) : v(g));
|
|
4129
4129
|
}
|
|
4130
4130
|
function v(g) {
|
|
4131
|
-
return g === 45 || g === 58 ?
|
|
4131
|
+
return g === 45 || g === 58 ? F(g) : g === 124 ? (o = !0, e.enter("tableCellDivider"), e.consume(g), e.exit("tableCellDivider"), S) : P(g);
|
|
4132
4132
|
}
|
|
4133
4133
|
function S(g) {
|
|
4134
|
-
return
|
|
4134
|
+
return L(g) ? N(e, F, "whitespace")(g) : F(g);
|
|
4135
4135
|
}
|
|
4136
|
-
function
|
|
4137
|
-
return g === 58 ? (i += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(g), e.exit("tableDelimiterMarker"), z) : g === 45 ? (i += 1, z(g)) : g === null || E(g) ?
|
|
4136
|
+
function F(g) {
|
|
4137
|
+
return g === 58 ? (i += 1, o = !0, e.enter("tableDelimiterMarker"), e.consume(g), e.exit("tableDelimiterMarker"), z) : g === 45 ? (i += 1, z(g)) : g === null || E(g) ? j(g) : P(g);
|
|
4138
4138
|
}
|
|
4139
4139
|
function z(g) {
|
|
4140
4140
|
return g === 45 ? (e.enter("tableDelimiterFiller"), C(g)) : P(g);
|
|
@@ -4143,30 +4143,30 @@ function co(e, n, t) {
|
|
|
4143
4143
|
return g === 45 ? (e.consume(g), C) : g === 58 ? (o = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(g), e.exit("tableDelimiterMarker"), _) : (e.exit("tableDelimiterFiller"), _(g));
|
|
4144
4144
|
}
|
|
4145
4145
|
function _(g) {
|
|
4146
|
-
return
|
|
4146
|
+
return L(g) ? N(e, j, "whitespace")(g) : j(g);
|
|
4147
4147
|
}
|
|
4148
|
-
function
|
|
4148
|
+
function j(g) {
|
|
4149
4149
|
return g === 124 ? v(g) : g === null || E(g) ? !o || s !== i ? P(g) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), n(g)) : P(g);
|
|
4150
4150
|
}
|
|
4151
4151
|
function P(g) {
|
|
4152
4152
|
return t(g);
|
|
4153
4153
|
}
|
|
4154
4154
|
function x(g) {
|
|
4155
|
-
return e.enter("tableRow"),
|
|
4155
|
+
return e.enter("tableRow"), M(g);
|
|
4156
4156
|
}
|
|
4157
|
-
function
|
|
4158
|
-
return g === 124 ? (e.enter("tableCellDivider"), e.consume(g), e.exit("tableCellDivider"),
|
|
4157
|
+
function M(g) {
|
|
4158
|
+
return g === 124 ? (e.enter("tableCellDivider"), e.consume(g), e.exit("tableCellDivider"), M) : g === null || E(g) ? (e.exit("tableRow"), n(g)) : L(g) ? N(e, M, "whitespace")(g) : (e.enter("data"), q(g));
|
|
4159
4159
|
}
|
|
4160
4160
|
function q(g) {
|
|
4161
|
-
return g === null || g === 124 || J(g) ? (e.exit("data"),
|
|
4161
|
+
return g === null || g === 124 || J(g) ? (e.exit("data"), M(g)) : (e.consume(g), g === 92 ? I : q);
|
|
4162
4162
|
}
|
|
4163
4163
|
function I(g) {
|
|
4164
4164
|
return g === 92 || g === 124 ? (e.consume(g), q) : q(g);
|
|
4165
4165
|
}
|
|
4166
4166
|
}
|
|
4167
|
-
function
|
|
4167
|
+
function co(e, n) {
|
|
4168
4168
|
let t = -1, r = !0, s = 0, i = [0, 0, 0, 0], o = [0, 0, 0, 0], a = !1, u = 0, l, c, h;
|
|
4169
|
-
const m = new
|
|
4169
|
+
const m = new so();
|
|
4170
4170
|
for (; ++t < e.length; ) {
|
|
4171
4171
|
const d = e[t], v = d[1];
|
|
4172
4172
|
d[0] === "enter" ? v.type === "tableHead" ? (a = !1, u !== 0 && (cn(m, n, u, l, c), c = void 0, u = 0), l = {
|
|
@@ -4183,21 +4183,21 @@ function ho(e, n) {
|
|
|
4183
4183
|
}
|
|
4184
4184
|
for (u !== 0 && cn(m, n, u, l, c), m.consume(n.events), t = -1; ++t < n.events.length; ) {
|
|
4185
4185
|
const d = n.events[t];
|
|
4186
|
-
d[0] === "enter" && d[1].type === "table" && (d[1]._align =
|
|
4186
|
+
d[0] === "enter" && d[1].type === "table" && (d[1]._align = ao(n.events, t));
|
|
4187
4187
|
}
|
|
4188
4188
|
return e;
|
|
4189
4189
|
}
|
|
4190
4190
|
function tt(e, n, t, r, s, i) {
|
|
4191
4191
|
const o = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", a = "tableContent";
|
|
4192
|
-
t[0] !== 0 && (i.end = Object.assign({},
|
|
4193
|
-
const u =
|
|
4192
|
+
t[0] !== 0 && (i.end = Object.assign({}, Ue(n.events, t[0])), e.add(t[0], 0, [["exit", i, n]]));
|
|
4193
|
+
const u = Ue(n.events, t[1]);
|
|
4194
4194
|
if (i = {
|
|
4195
4195
|
type: o,
|
|
4196
4196
|
start: Object.assign({}, u),
|
|
4197
4197
|
// Note: correct end is set later.
|
|
4198
4198
|
end: Object.assign({}, u)
|
|
4199
4199
|
}, e.add(t[1], 0, [["enter", i, n]]), t[2] !== 0) {
|
|
4200
|
-
const l =
|
|
4200
|
+
const l = Ue(n.events, t[2]), c = Ue(n.events, t[3]), h = {
|
|
4201
4201
|
type: a,
|
|
4202
4202
|
start: Object.assign({}, l),
|
|
4203
4203
|
end: Object.assign({}, c)
|
|
@@ -4211,34 +4211,34 @@ function tt(e, n, t, r, s, i) {
|
|
|
4211
4211
|
}
|
|
4212
4212
|
e.add(t[3] + 1, 0, [["exit", h, n]]);
|
|
4213
4213
|
}
|
|
4214
|
-
return s !== void 0 && (i.end = Object.assign({},
|
|
4214
|
+
return s !== void 0 && (i.end = Object.assign({}, Ue(n.events, s)), e.add(s, 0, [["exit", i, n]]), i = void 0), i;
|
|
4215
4215
|
}
|
|
4216
4216
|
function cn(e, n, t, r, s) {
|
|
4217
|
-
const i = [], o =
|
|
4217
|
+
const i = [], o = Ue(n.events, t);
|
|
4218
4218
|
s && (s.end = Object.assign({}, o), i.push(["exit", s, n])), r.end = Object.assign({}, o), i.push(["exit", r, n]), e.add(t + 1, 0, i);
|
|
4219
4219
|
}
|
|
4220
|
-
function
|
|
4220
|
+
function Ue(e, n) {
|
|
4221
4221
|
const t = e[n], r = t[0] === "enter" ? "start" : "end";
|
|
4222
4222
|
return t[1][r];
|
|
4223
4223
|
}
|
|
4224
|
-
function
|
|
4224
|
+
function ho() {
|
|
4225
4225
|
return {
|
|
4226
4226
|
enter: {
|
|
4227
|
-
table:
|
|
4227
|
+
table: po,
|
|
4228
4228
|
tableData: dn,
|
|
4229
4229
|
tableHeader: dn,
|
|
4230
|
-
tableRow:
|
|
4230
|
+
tableRow: mo
|
|
4231
4231
|
},
|
|
4232
4232
|
exit: {
|
|
4233
|
-
codeText:
|
|
4234
|
-
table:
|
|
4233
|
+
codeText: go,
|
|
4234
|
+
table: fo,
|
|
4235
4235
|
tableData: xt,
|
|
4236
4236
|
tableHeader: xt,
|
|
4237
4237
|
tableRow: xt
|
|
4238
4238
|
}
|
|
4239
4239
|
};
|
|
4240
4240
|
}
|
|
4241
|
-
function
|
|
4241
|
+
function po(e) {
|
|
4242
4242
|
const n = e._align;
|
|
4243
4243
|
this.enter(
|
|
4244
4244
|
{
|
|
@@ -4251,10 +4251,10 @@ function fo(e) {
|
|
|
4251
4251
|
e
|
|
4252
4252
|
), this.data.inTable = !0;
|
|
4253
4253
|
}
|
|
4254
|
-
function
|
|
4254
|
+
function fo(e) {
|
|
4255
4255
|
this.exit(e), this.data.inTable = void 0;
|
|
4256
4256
|
}
|
|
4257
|
-
function
|
|
4257
|
+
function mo(e) {
|
|
4258
4258
|
this.enter({ type: "tableRow", children: [] }, e);
|
|
4259
4259
|
}
|
|
4260
4260
|
function xt(e) {
|
|
@@ -4263,26 +4263,26 @@ function xt(e) {
|
|
|
4263
4263
|
function dn(e) {
|
|
4264
4264
|
this.enter({ type: "tableCell", children: [] }, e);
|
|
4265
4265
|
}
|
|
4266
|
-
function
|
|
4266
|
+
function go(e) {
|
|
4267
4267
|
let n = this.resume();
|
|
4268
|
-
this.data.inTable && (n = n.replace(/\\([\\|])/g,
|
|
4268
|
+
this.data.inTable && (n = n.replace(/\\([\\|])/g, bo));
|
|
4269
4269
|
const t = this.stack[this.stack.length - 1];
|
|
4270
4270
|
t.type, t.value = n, this.exit(e);
|
|
4271
4271
|
}
|
|
4272
|
-
function
|
|
4272
|
+
function bo(e, n) {
|
|
4273
4273
|
return n === "|" ? n : e;
|
|
4274
4274
|
}
|
|
4275
|
-
class
|
|
4275
|
+
class ur {
|
|
4276
4276
|
constructor(n, t) {
|
|
4277
4277
|
y(this, "node");
|
|
4278
4278
|
y(this, "codeNode");
|
|
4279
4279
|
y(this, "_language");
|
|
4280
4280
|
y(this, "_code");
|
|
4281
4281
|
y(this, "_ct");
|
|
4282
|
-
this.node = /* @__PURE__ */
|
|
4282
|
+
this.node = /* @__PURE__ */ w("pre", null, this.codeNode = /* @__PURE__ */ w("code", null)), this.updateCodeAsync(n, t, this._ct = new ze());
|
|
4283
4283
|
}
|
|
4284
4284
|
async updateCodeAsync(n, t, r) {
|
|
4285
|
-
const s =
|
|
4285
|
+
const s = xo(n);
|
|
4286
4286
|
if (s) {
|
|
4287
4287
|
if (await s.promise, r.isCancellationRequested) return;
|
|
4288
4288
|
this._language = n, this._code = t, this.codeNode.innerHTML = ke.result.default.highlight(t, {
|
|
@@ -4296,14 +4296,14 @@ class cr {
|
|
|
4296
4296
|
}
|
|
4297
4297
|
}
|
|
4298
4298
|
let ke;
|
|
4299
|
-
function
|
|
4299
|
+
function wo() {
|
|
4300
4300
|
return ke || (ke = { promise: import("./core-CdG-ENX3.js") }, ke.promise.then((e) => ke.result = e).catch((e) => ke.error = e), ke);
|
|
4301
4301
|
}
|
|
4302
4302
|
const hn = {};
|
|
4303
|
-
function
|
|
4303
|
+
function xo(e) {
|
|
4304
4304
|
let n = hn[e];
|
|
4305
4305
|
if (n) return n;
|
|
4306
|
-
|
|
4306
|
+
wo();
|
|
4307
4307
|
let t;
|
|
4308
4308
|
switch (e) {
|
|
4309
4309
|
case "javascript":
|
|
@@ -4331,21 +4331,21 @@ function yo(e) {
|
|
|
4331
4331
|
})()
|
|
4332
4332
|
}, hn[e] = n, n.promise.then((r) => n.result = r).catch((r) => n.error = r), n;
|
|
4333
4333
|
}
|
|
4334
|
-
function
|
|
4334
|
+
function yo(e, n) {
|
|
4335
4335
|
console.debug("getImageFromPyodide", n);
|
|
4336
4336
|
var t = e.FS.readFile(n, { encoding: "binary" });
|
|
4337
4337
|
const r = new Blob([t], { type: "image/png" });
|
|
4338
4338
|
return URL.createObjectURL(r);
|
|
4339
4339
|
}
|
|
4340
|
-
const
|
|
4341
|
-
tokenize:
|
|
4340
|
+
const ko = {
|
|
4341
|
+
tokenize: zo,
|
|
4342
4342
|
concrete: !0,
|
|
4343
4343
|
name: "mathFlow"
|
|
4344
4344
|
}, pn = {
|
|
4345
|
-
tokenize:
|
|
4345
|
+
tokenize: vo,
|
|
4346
4346
|
partial: !0
|
|
4347
4347
|
};
|
|
4348
|
-
function
|
|
4348
|
+
function zo(e, n, t) {
|
|
4349
4349
|
const r = this, s = r.events[r.events.length - 1], i = s && s[1].type === "linePrefix" ? s[2].sliceSerialize(s[1], !0).length : 0;
|
|
4350
4350
|
let o = 0;
|
|
4351
4351
|
return a;
|
|
@@ -4364,41 +4364,41 @@ function vo(e, n, t) {
|
|
|
4364
4364
|
return C === null || E(C) ? (e.exit("chunkString"), e.exit("mathFlowFenceMeta"), h(C)) : C === 36 ? t(C) : (e.consume(C), c);
|
|
4365
4365
|
}
|
|
4366
4366
|
function h(C) {
|
|
4367
|
-
return e.exit("mathFlowFence"), r.interrupt ? n(C) : e.attempt(pn, m,
|
|
4367
|
+
return e.exit("mathFlowFence"), r.interrupt ? n(C) : e.attempt(pn, m, F)(C);
|
|
4368
4368
|
}
|
|
4369
4369
|
function m(C) {
|
|
4370
4370
|
return e.attempt({
|
|
4371
4371
|
tokenize: z,
|
|
4372
4372
|
partial: !0
|
|
4373
|
-
},
|
|
4373
|
+
}, F, d)(C);
|
|
4374
4374
|
}
|
|
4375
4375
|
function d(C) {
|
|
4376
4376
|
return (i ? N(e, v, "linePrefix", i + 1) : v)(C);
|
|
4377
4377
|
}
|
|
4378
4378
|
function v(C) {
|
|
4379
|
-
return C === null ?
|
|
4379
|
+
return C === null ? F(C) : E(C) ? e.attempt(pn, m, F)(C) : (e.enter("mathFlowValue"), S(C));
|
|
4380
4380
|
}
|
|
4381
4381
|
function S(C) {
|
|
4382
4382
|
return C === null || E(C) ? (e.exit("mathFlowValue"), v(C)) : (e.consume(C), S);
|
|
4383
4383
|
}
|
|
4384
|
-
function
|
|
4384
|
+
function F(C) {
|
|
4385
4385
|
return e.exit("mathFlow"), n(C);
|
|
4386
4386
|
}
|
|
4387
|
-
function z(C, _,
|
|
4387
|
+
function z(C, _, j) {
|
|
4388
4388
|
let P = 0;
|
|
4389
4389
|
return N(C, x, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4);
|
|
4390
4390
|
function x(I) {
|
|
4391
|
-
return C.enter("mathFlowFence"), C.enter("mathFlowFenceSequence"),
|
|
4391
|
+
return C.enter("mathFlowFence"), C.enter("mathFlowFenceSequence"), M(I);
|
|
4392
4392
|
}
|
|
4393
|
-
function
|
|
4394
|
-
return I === 36 ? (P++, C.consume(I),
|
|
4393
|
+
function M(I) {
|
|
4394
|
+
return I === 36 ? (P++, C.consume(I), M) : P < o ? j(I) : (C.exit("mathFlowFenceSequence"), N(C, q, "whitespace")(I));
|
|
4395
4395
|
}
|
|
4396
4396
|
function q(I) {
|
|
4397
|
-
return I === null || E(I) ? (C.exit("mathFlowFence"), _(I)) :
|
|
4397
|
+
return I === null || E(I) ? (C.exit("mathFlowFence"), _(I)) : j(I);
|
|
4398
4398
|
}
|
|
4399
4399
|
}
|
|
4400
4400
|
}
|
|
4401
|
-
function
|
|
4401
|
+
function vo(e, n, t) {
|
|
4402
4402
|
const r = this;
|
|
4403
4403
|
return s;
|
|
4404
4404
|
function s(o) {
|
|
@@ -4408,12 +4408,12 @@ function Co(e, n, t) {
|
|
|
4408
4408
|
return r.parser.lazy[r.now().line] ? t(o) : n(o);
|
|
4409
4409
|
}
|
|
4410
4410
|
}
|
|
4411
|
-
function
|
|
4411
|
+
function Co(e) {
|
|
4412
4412
|
let t = {}.singleDollarTextMath;
|
|
4413
4413
|
return t == null && (t = !0), {
|
|
4414
4414
|
tokenize: r,
|
|
4415
|
-
resolve:
|
|
4416
|
-
previous:
|
|
4415
|
+
resolve: So,
|
|
4416
|
+
previous: _o,
|
|
4417
4417
|
name: "mathText"
|
|
4418
4418
|
};
|
|
4419
4419
|
function r(s, i, o) {
|
|
@@ -4436,7 +4436,7 @@ function So(e) {
|
|
|
4436
4436
|
}
|
|
4437
4437
|
}
|
|
4438
4438
|
}
|
|
4439
|
-
function
|
|
4439
|
+
function So(e) {
|
|
4440
4440
|
let n = e.length - 4, t = 3, r, s;
|
|
4441
4441
|
if ((e[t][1].type === "lineEnding" || e[t][1].type === "space") && (e[n][1].type === "lineEnding" || e[n][1].type === "space")) {
|
|
4442
4442
|
for (r = t; ++r < n; )
|
|
@@ -4449,20 +4449,20 @@ function _o(e) {
|
|
|
4449
4449
|
s === void 0 ? r !== n && e[r][1].type !== "lineEnding" && (s = r) : (r === n || e[r][1].type === "lineEnding") && (e[s][1].type = "mathTextData", r !== s + 2 && (e[s][1].end = e[r - 1][1].end, e.splice(s + 2, r - s - 2), n -= r - s - 2, r = s + 2), s = void 0);
|
|
4450
4450
|
return e;
|
|
4451
4451
|
}
|
|
4452
|
-
function
|
|
4452
|
+
function _o(e) {
|
|
4453
4453
|
return e !== 36 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
4454
4454
|
}
|
|
4455
|
-
function
|
|
4455
|
+
function Eo(e) {
|
|
4456
4456
|
return {
|
|
4457
4457
|
flow: {
|
|
4458
|
-
36:
|
|
4458
|
+
36: ko
|
|
4459
4459
|
},
|
|
4460
4460
|
text: {
|
|
4461
|
-
36:
|
|
4461
|
+
36: Co()
|
|
4462
4462
|
}
|
|
4463
4463
|
};
|
|
4464
4464
|
}
|
|
4465
|
-
function
|
|
4465
|
+
function To() {
|
|
4466
4466
|
return {
|
|
4467
4467
|
enter: {
|
|
4468
4468
|
mathFlow: e,
|
|
@@ -4538,20 +4538,20 @@ function Ao() {
|
|
|
4538
4538
|
this.config.enter.data.call(this, u), this.config.exit.data.call(this, u);
|
|
4539
4539
|
}
|
|
4540
4540
|
}
|
|
4541
|
-
function
|
|
4541
|
+
function Ao(e) {
|
|
4542
4542
|
const n = /(```[\s\S]+?```|~~~[\s\S]+?~~~)/g, t = e.split(n), r = /\\\((.*?)\\\)/g, s = /\\\[([\s\S]*?)\\\]/g;
|
|
4543
4543
|
for (let i = 0; i < t.length; i++)
|
|
4544
4544
|
i % 2 === 0 && (t[i] = t[i].replace(r, (o, a) => `$${a}$`).replace(s, (o, a) => `$$${a}$$`));
|
|
4545
4545
|
return t.join("");
|
|
4546
4546
|
}
|
|
4547
4547
|
function Nt(e, n, t, r) {
|
|
4548
|
-
const s =
|
|
4549
|
-
extensions: [
|
|
4550
|
-
mdastExtensions: [
|
|
4548
|
+
const s = no(Ao(n), {
|
|
4549
|
+
extensions: [lo(), Eo()],
|
|
4550
|
+
mdastExtensions: [ho(), To(), ...r]
|
|
4551
4551
|
}), i = {}, o = {};
|
|
4552
|
-
|
|
4552
|
+
cr(s, i, o), Et(s, e, i, o, t);
|
|
4553
4553
|
}
|
|
4554
|
-
function
|
|
4554
|
+
function cr(e, n, t) {
|
|
4555
4555
|
for (const r of e.children) {
|
|
4556
4556
|
switch (r.type) {
|
|
4557
4557
|
case "definition":
|
|
@@ -4559,7 +4559,7 @@ function dr(e, n, t) {
|
|
|
4559
4559
|
s && (n[s] = r, t[s.toLowerCase()] = r);
|
|
4560
4560
|
continue;
|
|
4561
4561
|
}
|
|
4562
|
-
r.children &&
|
|
4562
|
+
r.children && cr(r, n, t);
|
|
4563
4563
|
}
|
|
4564
4564
|
}
|
|
4565
4565
|
function Et(e, n, t, r, s) {
|
|
@@ -4600,7 +4600,7 @@ function Et(e, n, t, r, s) {
|
|
|
4600
4600
|
const h = i.nextSibling;
|
|
4601
4601
|
i.remove(), i = h;
|
|
4602
4602
|
}
|
|
4603
|
-
c = new
|
|
4603
|
+
c = new ur(a.lang, a.value), i = c.node, mn.set(i, c), n.appendChild(i);
|
|
4604
4604
|
}
|
|
4605
4605
|
i = i.nextSibling;
|
|
4606
4606
|
continue;
|
|
@@ -4735,7 +4735,7 @@ function Et(e, n, t, r, s) {
|
|
|
4735
4735
|
if (c.startsWith("python://")) {
|
|
4736
4736
|
let h = c.substring(9);
|
|
4737
4737
|
try {
|
|
4738
|
-
i.src =
|
|
4738
|
+
i.src = yo(s, h);
|
|
4739
4739
|
} catch (m) {
|
|
4740
4740
|
console.error(m), i.src = "";
|
|
4741
4741
|
}
|
|
@@ -4841,47 +4841,17 @@ function Et(e, n, t, r, s) {
|
|
|
4841
4841
|
}
|
|
4842
4842
|
}
|
|
4843
4843
|
let yt;
|
|
4844
|
-
function
|
|
4844
|
+
function Bo() {
|
|
4845
4845
|
return yt || (yt = import("./katex-c21813vb.js")), yt;
|
|
4846
4846
|
}
|
|
4847
4847
|
async function fn(e, n) {
|
|
4848
4848
|
let t = at.get(e);
|
|
4849
4849
|
t == null || t.cancel(), at.set(e, t = new ze()), (async () => {
|
|
4850
|
-
const r = await
|
|
4850
|
+
const r = await Bo();
|
|
4851
4851
|
t.isCancellationRequested || r.default.render(n, e, { throwOnError: !1 });
|
|
4852
4852
|
})();
|
|
4853
4853
|
}
|
|
4854
4854
|
const at = /* @__PURE__ */ new WeakMap(), mn = /* @__PURE__ */ new WeakMap();
|
|
4855
|
-
function Lo(e) {
|
|
4856
|
-
const t = e.trim().replace(/[^\w\s]|_/g, "").replace(/\s+/g, " ").toUpperCase().split(" ");
|
|
4857
|
-
if (t.length === 1 && t[0] === "")
|
|
4858
|
-
return "?";
|
|
4859
|
-
let r = t[0][0];
|
|
4860
|
-
return t.length > 1 && (r += t[1][0]), r;
|
|
4861
|
-
}
|
|
4862
|
-
function Fo({ as: e = "div", size: n = "avatar-lg", id: t, ...r }, s) {
|
|
4863
|
-
const i = /* @__PURE__ */ b(e, { ...r }, s);
|
|
4864
|
-
return e === "button" && !("type" in r) && (i.type = "button"), i.classList.add("avatar"), n && i.classList.add(n), t && i.classList.add(...jo(t)), i;
|
|
4865
|
-
}
|
|
4866
|
-
const Mo = ["bg-Land-Green-95", "text-Land-Green-30"], Ro = ["bg-Sunflower-85", "text-Sunflower-20"], No = ["bg-Energy-Red-95", "text-Energy-Red-45"], Oo = ["bg-Sea-Blue-Main-28", "text-Sky-Blue-95"], Do = ["bg-Lavender-90", "text-Lavender-50"], Po = ["bg-Eucalyptus-85", "text-Eucalyptus-20"], Uo = ["bg-Terracotta-85", "text-Terracotta-20"], gn = [
|
|
4867
|
-
Mo,
|
|
4868
|
-
Ro,
|
|
4869
|
-
No,
|
|
4870
|
-
Oo,
|
|
4871
|
-
Do,
|
|
4872
|
-
Po,
|
|
4873
|
-
Uo
|
|
4874
|
-
];
|
|
4875
|
-
function jo(e) {
|
|
4876
|
-
const n = qo(e);
|
|
4877
|
-
return gn[Math.floor(Math.abs(n % gn.length))];
|
|
4878
|
-
}
|
|
4879
|
-
function qo(e) {
|
|
4880
|
-
let n = 0;
|
|
4881
|
-
for (let t = 0; t < e.length; t++)
|
|
4882
|
-
n = e.charCodeAt(t) + ((n << 5) - n);
|
|
4883
|
-
return n;
|
|
4884
|
-
}
|
|
4885
4855
|
var ce = /* @__PURE__ */ ((e) => (e[e.Error = 0] = "Error", e[e.Danger = 1] = "Danger", e[e.Warning = 2] = "Warning", e[e.Info = 3] = "Info", e[e.Success = 4] = "Success", e))(ce || {}), qe = /* @__PURE__ */ ((e) => (e[e.Primary = 0] = "Primary", e[e.Secondary = 1] = "Secondary", e[e.Tertiary = 2] = "Tertiary", e[e.Destructive = 3] = "Destructive", e[e.CTA = 4] = "CTA", e))(qe || {});
|
|
4886
4856
|
function X(e) {
|
|
4887
4857
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
@@ -4896,7 +4866,7 @@ function ht({ size: e = ne.Medium, ...n }) {
|
|
|
4896
4866
|
"M413.505 91.951L133.49 371.966l-98.995-98.995c-4.686-4.686-12.284-4.686-16.971 0L6.211 284.284c-4.686 4.686-4.686 12.284 0 16.971l118.794 118.794c4.686 4.686 12.284 4.686 16.971 0l299.813-299.813c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.686-4.686-12.284-4.686-16.97 0z"
|
|
4897
4867
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
4898
4868
|
}
|
|
4899
|
-
function
|
|
4869
|
+
function dr({ size: e = ne.Medium, ...n }) {
|
|
4900
4870
|
const t = X("svg");
|
|
4901
4871
|
t.setAttribute("viewBox", "0 0 448 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), te(t, n);
|
|
4902
4872
|
const r = X("path");
|
|
@@ -4955,7 +4925,7 @@ function pt({
|
|
|
4955
4925
|
}
|
|
4956
4926
|
class ut {
|
|
4957
4927
|
}
|
|
4958
|
-
class
|
|
4928
|
+
class Io extends ut {
|
|
4959
4929
|
constructor(t, r) {
|
|
4960
4930
|
super();
|
|
4961
4931
|
y(this, "node");
|
|
@@ -4965,25 +4935,25 @@ class Wo extends ut {
|
|
|
4965
4935
|
let s;
|
|
4966
4936
|
switch (r.type) {
|
|
4967
4937
|
case ce.Error:
|
|
4968
|
-
s = /* @__PURE__ */
|
|
4938
|
+
s = /* @__PURE__ */ w(Ot, { class: "text-Energy-Red-45" });
|
|
4969
4939
|
break;
|
|
4970
4940
|
case ce.Danger:
|
|
4971
|
-
s = /* @__PURE__ */
|
|
4941
|
+
s = /* @__PURE__ */ w(lt, { class: "text-Energy-Red-45" });
|
|
4972
4942
|
break;
|
|
4973
4943
|
case ce.Warning:
|
|
4974
|
-
s = /* @__PURE__ */
|
|
4944
|
+
s = /* @__PURE__ */ w(lt, { class: "text-Terracotta-30" });
|
|
4975
4945
|
break;
|
|
4976
4946
|
case ce.Info:
|
|
4977
|
-
s = /* @__PURE__ */
|
|
4947
|
+
s = /* @__PURE__ */ w(Dt, { class: "text-Sea-Blue-Main-28" });
|
|
4978
4948
|
break;
|
|
4979
4949
|
case ce.Success:
|
|
4980
|
-
s = /* @__PURE__ */
|
|
4950
|
+
s = /* @__PURE__ */ w(dr, { class: "text-Land-Green-30" });
|
|
4981
4951
|
break;
|
|
4982
4952
|
}
|
|
4983
4953
|
s.classList.add("shrink-0");
|
|
4984
|
-
for (const o of r.buttons) this.buttons[o.value] = new
|
|
4954
|
+
for (const o of r.buttons) this.buttons[o.value] = new Fo(this, o);
|
|
4985
4955
|
let i;
|
|
4986
|
-
this.node = /* @__PURE__ */
|
|
4956
|
+
this.node = /* @__PURE__ */ w("section", { class: "max-w-lg text-left my-2 bg-Sandstone-97 select-none border border-Light" }, /* @__PURE__ */ w("div", { class: "p-6 pb-3 flex gap-5" }, s, /* @__PURE__ */ w("div", null, /* @__PURE__ */ w("h6", null, r.title), i = /* @__PURE__ */ w("div", { class: "prose prose-sm prose-neutral" }))), this.buttonsFieldset = /* @__PURE__ */ w("fieldset", { class: "p-6 pt-3 flex justify-end gap-3" }, Object.values(this.buttons).map((o) => o.node))), Nt(
|
|
4987
4957
|
i,
|
|
4988
4958
|
r.textInMarkdown,
|
|
4989
4959
|
this.context.conversationMessage.chat.pyodide,
|
|
@@ -5002,14 +4972,14 @@ class Wo extends ut {
|
|
|
5002
4972
|
for (const r in this.buttons) this.buttons[r].possiblyRemoveSpinner();
|
|
5003
4973
|
}
|
|
5004
4974
|
}
|
|
5005
|
-
class
|
|
4975
|
+
class Fo {
|
|
5006
4976
|
constructor(n, t) {
|
|
5007
4977
|
y(this, "node");
|
|
5008
4978
|
y(this, "_spinner");
|
|
5009
|
-
this.dialog = n, this.buttonOption = t, this.node = /* @__PURE__ */
|
|
4979
|
+
this.dialog = n, this.buttonOption = t, this.node = /* @__PURE__ */ w(
|
|
5010
4980
|
Ze,
|
|
5011
4981
|
{
|
|
5012
|
-
class:
|
|
4982
|
+
class: Mo(this.buttonOption.variant) + " min-w-24",
|
|
5013
4983
|
size: Xe.Medium,
|
|
5014
4984
|
onclick: () => this.onClickAsync()
|
|
5015
4985
|
},
|
|
@@ -5017,7 +4987,7 @@ class Ho {
|
|
|
5017
4987
|
);
|
|
5018
4988
|
}
|
|
5019
4989
|
async onClickAsync() {
|
|
5020
|
-
this.dialog.buttonsFieldset.disabled = !0, this.node.insertBefore(this._spinner = /* @__PURE__ */
|
|
4990
|
+
this.dialog.buttonsFieldset.disabled = !0, this.node.insertBefore(this._spinner = /* @__PURE__ */ w(pt, { size: Je.ExtraSmall }), this.node.firstChild);
|
|
5021
4991
|
try {
|
|
5022
4992
|
await this.dialog.context.postResultAsync(this.buttonOption.value);
|
|
5023
4993
|
} catch (n) {
|
|
@@ -5025,14 +4995,14 @@ class Ho {
|
|
|
5025
4995
|
}
|
|
5026
4996
|
}
|
|
5027
4997
|
selected() {
|
|
5028
|
-
this.possiblyRemoveSpinner(), this.node.insertBefore(/* @__PURE__ */
|
|
4998
|
+
this.possiblyRemoveSpinner(), this.node.insertBefore(/* @__PURE__ */ w(ht, { size: ne.Small }), this.node.firstChild);
|
|
5029
4999
|
}
|
|
5030
5000
|
possiblyRemoveSpinner() {
|
|
5031
5001
|
var n;
|
|
5032
5002
|
(n = this._spinner) == null || n.remove();
|
|
5033
5003
|
}
|
|
5034
5004
|
}
|
|
5035
|
-
function
|
|
5005
|
+
function Mo(e) {
|
|
5036
5006
|
switch (e) {
|
|
5037
5007
|
case qe.Primary:
|
|
5038
5008
|
return he.Primary;
|
|
@@ -5046,13 +5016,13 @@ function Xo(e) {
|
|
|
5046
5016
|
return he.CTA;
|
|
5047
5017
|
}
|
|
5048
5018
|
}
|
|
5049
|
-
class
|
|
5019
|
+
class Lo {
|
|
5050
5020
|
constructor() {
|
|
5051
5021
|
y(this, "_dataByIndex", {});
|
|
5052
5022
|
}
|
|
5053
5023
|
append(n) {
|
|
5054
5024
|
const t = this._dataByIndex[n.toolCallUpdateIndex];
|
|
5055
|
-
return t ? (n.llmFunctionId && (t.llmFunctionId = n.llmFunctionId), n.toolCallUpdateName && (t.functionName = n.toolCallUpdateName), n.toolCallUpdateArguments && (t.functionArguments += n.toolCallUpdateArguments), t) : this._dataByIndex[n.toolCallUpdateIndex] = new
|
|
5025
|
+
return t ? (n.llmFunctionId && (t.llmFunctionId = n.llmFunctionId), n.toolCallUpdateName && (t.functionName = n.toolCallUpdateName), n.toolCallUpdateArguments && (t.functionArguments += n.toolCallUpdateArguments), t) : this._dataByIndex[n.toolCallUpdateIndex] = new hr(
|
|
5056
5026
|
n.llmFunctionId,
|
|
5057
5027
|
n.toolCallUpdateName,
|
|
5058
5028
|
n.toolCallUpdateArguments ?? ""
|
|
@@ -5062,12 +5032,12 @@ class Ko {
|
|
|
5062
5032
|
this._dataByIndex = {};
|
|
5063
5033
|
}
|
|
5064
5034
|
}
|
|
5065
|
-
class
|
|
5035
|
+
class hr {
|
|
5066
5036
|
constructor(n, t, r) {
|
|
5067
5037
|
this.llmFunctionId = n, this.functionName = t, this.functionArguments = r;
|
|
5068
5038
|
}
|
|
5069
5039
|
}
|
|
5070
|
-
function
|
|
5040
|
+
function Ro(e) {
|
|
5071
5041
|
const n = [];
|
|
5072
5042
|
let t = 0;
|
|
5073
5043
|
for (; t < e.length; )
|
|
@@ -5122,8 +5092,8 @@ function Go(e) {
|
|
|
5122
5092
|
n.push(e[t]), t++;
|
|
5123
5093
|
return n.join("");
|
|
5124
5094
|
}
|
|
5125
|
-
function
|
|
5126
|
-
const n = [
|
|
5095
|
+
function No(e) {
|
|
5096
|
+
const n = [...Oo(e)];
|
|
5127
5097
|
if (n.length) {
|
|
5128
5098
|
const r = n[n.length - 1];
|
|
5129
5099
|
r === "," ? n.pop() : r === ":" && n.push("undefined");
|
|
@@ -5143,7 +5113,7 @@ function Vo(e) {
|
|
|
5143
5113
|
t.pop() === "{" ? n.push("}") : n.push("]");
|
|
5144
5114
|
return JSON.parse(n.join(""));
|
|
5145
5115
|
}
|
|
5146
|
-
function*
|
|
5116
|
+
function* Oo(e) {
|
|
5147
5117
|
for (let n = 0; n < e.length; ++n) {
|
|
5148
5118
|
let t = e[n];
|
|
5149
5119
|
switch (t) {
|
|
@@ -5193,7 +5163,7 @@ function* $o(e) {
|
|
|
5193
5163
|
}
|
|
5194
5164
|
}
|
|
5195
5165
|
}
|
|
5196
|
-
function
|
|
5166
|
+
function pr({ size: e = ne.Medium, ...n }) {
|
|
5197
5167
|
const t = X("svg");
|
|
5198
5168
|
t.setAttribute("viewBox", "0 0 256 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), te(t, n);
|
|
5199
5169
|
const r = X("path");
|
|
@@ -5211,7 +5181,7 @@ function Pt({ size: e = ne.Medium, ...n }) {
|
|
|
5211
5181
|
"M193.94 256L296.5 153.44l21.15-21.15c3.12-3.12 3.12-8.19 0-11.31l-22.63-22.63c-3.12-3.12-8.19-3.12-11.31 0L160 222.06 36.29 98.34c-3.12-3.12-8.19-3.12-11.31 0L2.34 120.97c-3.12 3.12-3.12 8.19 0 11.31L126.06 256 2.34 379.71c-3.12 3.12-3.12 8.19 0 11.31l22.63 22.63c3.12 3.12 8.19 3.12 11.31 0L160 289.94 262.56 392.5l21.15 21.15c3.12 3.12 8.19 3.12 11.31 0l22.63-22.63c3.12-3.12 3.12-8.19 0-11.31L193.94 256z"
|
|
5212
5182
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5213
5183
|
}
|
|
5214
|
-
class
|
|
5184
|
+
class gn {
|
|
5215
5185
|
constructor(n, t) {
|
|
5216
5186
|
y(this, "node");
|
|
5217
5187
|
y(this, "_buttonNode");
|
|
@@ -5228,10 +5198,10 @@ class bn {
|
|
|
5228
5198
|
y(this, "_resultRawNode");
|
|
5229
5199
|
y(this, "_errorNode");
|
|
5230
5200
|
y(this, "_ignoreSetResult");
|
|
5231
|
-
this.context = n, this.context.conversationMessage.chat.lazyInitializePyodideAsync(), this._highlightCode = new
|
|
5201
|
+
this.context = n, this.context.conversationMessage.chat.lazyInitializePyodideAsync(), this._highlightCode = new ur(
|
|
5232
5202
|
"python",
|
|
5233
|
-
t instanceof
|
|
5234
|
-
), this._highlightCode.node.classList.add("p-3", "bg-Sandstone-97", "text-Black", "overflow-x-auto"), this.node = /* @__PURE__ */
|
|
5203
|
+
t instanceof hr ? bn(t.functionArguments) : t
|
|
5204
|
+
), this._highlightCode.node.classList.add("p-3", "bg-Sandstone-97", "text-Black", "overflow-x-auto"), this.node = /* @__PURE__ */ w("div", { class: "my-2" }, this._buttonNode = /* @__PURE__ */ w(
|
|
5235
5205
|
Ze,
|
|
5236
5206
|
{
|
|
5237
5207
|
class: "p-2 gap-2 group",
|
|
@@ -5239,10 +5209,10 @@ class bn {
|
|
|
5239
5209
|
size: Xe.Medium,
|
|
5240
5210
|
onclick: () => this.expanded = !this.expanded
|
|
5241
5211
|
},
|
|
5242
|
-
this._buttonIconWrapperNode = /* @__PURE__ */
|
|
5212
|
+
this._buttonIconWrapperNode = /* @__PURE__ */ w("div", { width: "24px", height: "24px" }, /* @__PURE__ */ w(pt, { size: Je.Small })),
|
|
5243
5213
|
"Generate and run Python code",
|
|
5244
|
-
/* @__PURE__ */
|
|
5245
|
-
), this._contentWrapperNode = /* @__PURE__ */
|
|
5214
|
+
/* @__PURE__ */ w(pr, { class: "transition-all duration-300 group-data-[expanded=true]:-rotate-180" })
|
|
5215
|
+
), this._contentWrapperNode = /* @__PURE__ */ w(
|
|
5246
5216
|
"div",
|
|
5247
5217
|
{
|
|
5248
5218
|
class: "grid",
|
|
@@ -5250,7 +5220,7 @@ class bn {
|
|
|
5250
5220
|
opacity: this._expanded ? "1" : "0",
|
|
5251
5221
|
"aria-expanded": this._expanded
|
|
5252
5222
|
},
|
|
5253
|
-
/* @__PURE__ */
|
|
5223
|
+
/* @__PURE__ */ w("div", { class: "overflow-hidden" }, this._contentNode = /* @__PURE__ */ w("section", { class: "mt-2 border border-Light flex flex-col text-sm" }, this._highlightCode.node))
|
|
5254
5224
|
));
|
|
5255
5225
|
}
|
|
5256
5226
|
get expanded() {
|
|
@@ -5297,25 +5267,25 @@ class bn {
|
|
|
5297
5267
|
}
|
|
5298
5268
|
}
|
|
5299
5269
|
setButtonSuccess() {
|
|
5300
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5270
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ w(ht, null), this._buttonIconWrapperNode.firstChild);
|
|
5301
5271
|
}
|
|
5302
5272
|
setButtonError() {
|
|
5303
|
-
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5273
|
+
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ w(Pt, null), this._buttonIconWrapperNode.firstChild);
|
|
5304
5274
|
}
|
|
5305
5275
|
getOrAddStdoutStderrNode() {
|
|
5306
|
-
return this._stdoutStderrNode ? this._stdoutStderrNode : (this._stdoutStderrNode = /* @__PURE__ */
|
|
5276
|
+
return this._stdoutStderrNode ? this._stdoutStderrNode : (this._stdoutStderrNode = /* @__PURE__ */ w("section", { class: "border-t border-t-Light p-3 bg-Black text-White text-sm" }, /* @__PURE__ */ w("h1", { class: "mb-2" }, "STDOUT / STDERR")), this._contentNode.insertBefore(this._stdoutStderrNode, this._highlightCode.node.nextSibling), this._stdoutStderrNode);
|
|
5307
5277
|
}
|
|
5308
5278
|
getOrAddStdoutNode() {
|
|
5309
|
-
return this._stdoutNode ? this._stdoutNode : (this._stderrNode = null, this._stdoutNode = /* @__PURE__ */
|
|
5279
|
+
return this._stdoutNode ? this._stdoutNode : (this._stderrNode = null, this._stdoutNode = /* @__PURE__ */ w("pre", null), this.getOrAddStdoutStderrNode().appendChild(this._stdoutNode), this._stdoutNode);
|
|
5310
5280
|
}
|
|
5311
5281
|
getOrAddStderrNode() {
|
|
5312
|
-
return this._stderrNode ? this._stderrNode : (this._stdoutNode = null, this._stderrNode = /* @__PURE__ */
|
|
5282
|
+
return this._stderrNode ? this._stderrNode : (this._stdoutNode = null, this._stderrNode = /* @__PURE__ */ w("pre", { class: "text-Energy-Red-45" }), this.getOrAddStdoutStderrNode().appendChild(this._stderrNode), this._stderrNode);
|
|
5313
5283
|
}
|
|
5314
5284
|
getOrAddErrorNode() {
|
|
5315
|
-
return this._errorNode ? this._errorNode : (this._errorNode = /* @__PURE__ */
|
|
5285
|
+
return this._errorNode ? this._errorNode : (this._errorNode = /* @__PURE__ */ w("pre", { class: "border-t border-t-Light border-l-4 border-Energy-Red-45 p-3 text-sm" }), this._contentNode.appendChild(this._errorNode), this._errorNode);
|
|
5316
5286
|
}
|
|
5317
5287
|
getOrAddResultRawNode() {
|
|
5318
|
-
return this._resultRawNode ? this._resultRawNode : (this._resultNode = /* @__PURE__ */
|
|
5288
|
+
return this._resultRawNode ? this._resultRawNode : (this._resultNode = /* @__PURE__ */ w("section", { class: "border-t border-t-Light p-3 bg-Black text-White text-sm" }, /* @__PURE__ */ w("h1", { class: "mb-2" }, "RESULT"), this._resultRawNode = /* @__PURE__ */ w("pre", null)), this._contentNode.appendChild(this._resultNode), this._resultRawNode);
|
|
5319
5289
|
}
|
|
5320
5290
|
onClientResult(n) {
|
|
5321
5291
|
if (!this._ignoreSetResult) {
|
|
@@ -5377,38 +5347,38 @@ class bn {
|
|
|
5377
5347
|
});
|
|
5378
5348
|
}
|
|
5379
5349
|
updateWithToolCallData(n) {
|
|
5380
|
-
this._highlightCode.updateCode("python",
|
|
5350
|
+
this._highlightCode.updateCode("python", bn(n.functionArguments));
|
|
5381
5351
|
}
|
|
5382
5352
|
}
|
|
5383
|
-
function
|
|
5353
|
+
function bn(e) {
|
|
5384
5354
|
if (!e.startsWith("{")) return e;
|
|
5385
5355
|
var n = e.indexOf("Code:");
|
|
5386
5356
|
if (n != -1 && e.substring(0, n).trim() == "{" && (e = '{"Code":' + e.substring(n + 5)), n = e.indexOf('"""'), n != -1) {
|
|
5387
5357
|
var t = e.lastIndexOf('"""');
|
|
5388
5358
|
if (n < t && e.substring(t + 3).trim() == "}") {
|
|
5389
|
-
var r =
|
|
5359
|
+
var r = Ro(e.substring(n + 3, t - (n + 3))), s = e.substring(0, n) + JSON.stringify(r) + e.substring(t + 3);
|
|
5390
5360
|
e = s;
|
|
5391
5361
|
}
|
|
5392
5362
|
}
|
|
5393
5363
|
try {
|
|
5394
|
-
var i =
|
|
5364
|
+
var i = No(e);
|
|
5395
5365
|
} catch {
|
|
5396
5366
|
return console.warn("Error parsing Python code arguments provided as JSON.", e), "";
|
|
5397
5367
|
}
|
|
5398
5368
|
return (i == null ? void 0 : i.Code) || (i == null ? void 0 : i.code) || "";
|
|
5399
5369
|
}
|
|
5400
|
-
class
|
|
5370
|
+
class Do {
|
|
5401
5371
|
constructor(n, t) {
|
|
5402
5372
|
y(this, "node");
|
|
5403
5373
|
y(this, "_buttonNode");
|
|
5404
5374
|
y(this, "_buttonIconWrapperNode");
|
|
5405
|
-
this.context = n, this.node = /* @__PURE__ */
|
|
5375
|
+
this.context = n, this.node = /* @__PURE__ */ w("div", { class: "my-2" }, this._buttonNode = /* @__PURE__ */ w(Ze, { as: "div", class: "p-2 pr-3 gap-2 select-none", variant: he.Badge, size: Xe.Medium }, this._buttonIconWrapperNode = /* @__PURE__ */ w("div", { width: "24px", height: "24px" }, /* @__PURE__ */ w(pt, { size: Je.Small })), `Search for '${t}'`));
|
|
5406
5376
|
}
|
|
5407
5377
|
setButtonSuccess() {
|
|
5408
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5378
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ w(ht, null), this._buttonIconWrapperNode.firstChild);
|
|
5409
5379
|
}
|
|
5410
5380
|
setButtonError() {
|
|
5411
|
-
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5381
|
+
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ w(Pt, null), this._buttonIconWrapperNode.firstChild);
|
|
5412
5382
|
}
|
|
5413
5383
|
onOpcodeMessageToolCallResultReceived(n) {
|
|
5414
5384
|
this.setButtonSuccess();
|
|
@@ -5422,7 +5392,7 @@ class Qo {
|
|
|
5422
5392
|
run(n) {
|
|
5423
5393
|
}
|
|
5424
5394
|
}
|
|
5425
|
-
class
|
|
5395
|
+
class Po extends ut {
|
|
5426
5396
|
constructor(t, r) {
|
|
5427
5397
|
super();
|
|
5428
5398
|
y(this, "node");
|
|
@@ -5430,24 +5400,24 @@ class Zo extends ut {
|
|
|
5430
5400
|
let s;
|
|
5431
5401
|
switch (r.type) {
|
|
5432
5402
|
case ce.Error:
|
|
5433
|
-
s = /* @__PURE__ */
|
|
5403
|
+
s = /* @__PURE__ */ w(Ot, { class: "text-Energy-Red-45" });
|
|
5434
5404
|
break;
|
|
5435
5405
|
case ce.Danger:
|
|
5436
|
-
s = /* @__PURE__ */
|
|
5406
|
+
s = /* @__PURE__ */ w(lt, { class: "text-Energy-Red-45" });
|
|
5437
5407
|
break;
|
|
5438
5408
|
case ce.Warning:
|
|
5439
|
-
s = /* @__PURE__ */
|
|
5409
|
+
s = /* @__PURE__ */ w(lt, { class: "text-Terracotta-30" });
|
|
5440
5410
|
break;
|
|
5441
5411
|
case ce.Info:
|
|
5442
|
-
s = /* @__PURE__ */
|
|
5412
|
+
s = /* @__PURE__ */ w(Dt, { class: "text-Sea-Blue-Main-28" });
|
|
5443
5413
|
break;
|
|
5444
5414
|
case ce.Success:
|
|
5445
|
-
s = /* @__PURE__ */
|
|
5415
|
+
s = /* @__PURE__ */ w(dr, { class: "text-Land-Green-30" });
|
|
5446
5416
|
break;
|
|
5447
5417
|
}
|
|
5448
5418
|
s.classList.add("shrink-0");
|
|
5449
5419
|
let i;
|
|
5450
|
-
this.node = /* @__PURE__ */
|
|
5420
|
+
this.node = /* @__PURE__ */ w("section", { class: "max-w-lg text-left my-2 bg-Sandstone-97 select-none border border-Light" }, /* @__PURE__ */ w("div", { class: "p-6 pb-3 flex gap-5" }, s, /* @__PURE__ */ w("div", null, /* @__PURE__ */ w("h6", null, r.title), i = /* @__PURE__ */ w("div", { class: "prose prose-sm prose-neutral" }))), /* @__PURE__ */ w("fieldset", { class: "p-6 pt-3 flex justify-end gap-3" }, /* @__PURE__ */ w(
|
|
5451
5421
|
Ze,
|
|
5452
5422
|
{
|
|
5453
5423
|
as: "a",
|
|
@@ -5470,7 +5440,7 @@ class Zo extends ut {
|
|
|
5470
5440
|
onErrorWhileReadingBodyStream(t) {
|
|
5471
5441
|
}
|
|
5472
5442
|
}
|
|
5473
|
-
function
|
|
5443
|
+
function jo({ size: e = ne.Medium, ...n }) {
|
|
5474
5444
|
const t = X("svg");
|
|
5475
5445
|
t.setAttribute("viewBox", "0 0 24 24"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), te(t, n);
|
|
5476
5446
|
const r = X("path");
|
|
@@ -5479,7 +5449,7 @@ function Jo({ size: e = ne.Medium, ...n }) {
|
|
|
5479
5449
|
"M13 6.50403L12.875 7.01643C12.5312 8.22205 11.7188 9.27697 10.625 9.94006L10.5313 10.0003C10.2813 10.151 10.0625 10.362 9.875 10.6032C9.71875 10.8141 9.40625 10.8744 9.1875 10.7237C8.96875 10.5429 8.90625 10.2415 9.0625 10.0305C9.3125 9.69894 9.625 9.42767 10 9.18655L10.0938 9.12627C10.9688 8.58374 11.625 7.7398 11.9063 6.74516L12.0312 6.26291C12.3125 5.35869 13.25 4.81616 14.1875 5.05728C15.125 5.32855 15.6875 6.23277 15.4375 7.13699L15.2813 7.64938C15.1563 8.07135 15 8.46317 14.8125 8.855H18C19.0938 8.855 20 9.72908 20 10.784C20 11.3265 19.75 11.8088 19.4063 12.1705C19.4688 12.3513 19.5 12.5322 19.5 12.713C19.5 13.2857 19.2188 13.7981 18.8438 14.1598C18.9375 14.3707 18.9688 14.642 18.9688 14.8831C18.9688 15.6065 18.5938 16.2395 17.9688 16.571C17.9688 17.6561 17.0938 18.5 15.9688 18.5H13.1875C12.5 18.5 11.8125 18.3192 11.25 17.9575L10.0313 17.1738C9.65625 16.9025 9.3125 16.6011 9.0625 16.2093C8.90625 15.9983 8.96875 15.6969 9.21875 15.5462C9.4375 15.3955 9.75 15.4558 9.90625 15.6969C10.0938 15.9682 10.3125 16.1792 10.5938 16.36L11.8125 17.1437C12.2188 17.4149 12.6875 17.5355 13.1875 17.5355H16C16.5313 17.5355 17 17.1135 17 16.571C17 16.5107 16.9688 16.4504 16.9688 16.36C16.9063 16.1189 17.0625 15.8778 17.3125 15.8175C17.6875 15.6969 18 15.3352 18 14.8831C18 14.6721 17.9063 14.4612 17.7813 14.3105C17.6875 14.1899 17.6563 14.0392 17.6875 13.9186C17.7188 13.7679 17.8125 13.6474 17.9375 13.5871C18.2813 13.4364 18.5 13.1048 18.5 12.713C18.5 12.5623 18.4375 12.3815 18.3438 12.2609C18.2188 12.0198 18.3125 11.7485 18.5313 11.5978C18.8125 11.4471 19 11.1457 19 10.784C19 10.2716 18.5313 9.8195 18 9.8195L13.9688 9.84964C13.7812 9.84964 13.625 9.72908 13.5312 9.57838C13.4375 9.42767 13.4375 9.24683 13.5312 9.09613C13.875 8.58374 14.1562 7.98092 14.3125 7.37811L14.4688 6.89586C14.5625 6.50403 14.3438 6.11221 13.9375 5.99164C13.5312 5.90122 13.125 6.11221 13 6.50403ZM5 10.784V17.5355H7V10.784H5ZM4 10.784C4 10.2716 4.4375 9.8195 5 9.8195H7C7.53125 9.8195 8 10.2716 8 10.784V17.5355C8 18.078 7.53125 18.5 7 18.5H5C4.4375 18.5 4 18.078 4 17.5355V10.784Z"
|
|
5480
5450
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5481
5451
|
}
|
|
5482
|
-
function
|
|
5452
|
+
function Uo({ size: e = ne.Medium, ...n }) {
|
|
5483
5453
|
const t = X("svg");
|
|
5484
5454
|
t.setAttribute("viewBox", "0 0 24 24"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), te(t, n);
|
|
5485
5455
|
const r = X("path");
|
|
@@ -5488,7 +5458,7 @@ function Yo({ size: e = ne.Medium, ...n }) {
|
|
|
5488
5458
|
"M13 17.4688C13.125 17.875 13.5312 18.0938 13.9375 18C14.3438 17.875 14.5625 17.4688 14.4688 17.0625L14.3125 16.5625C14.1562 15.9062 13.875 15.3125 13.5312 14.7812C13.4375 14.625 13.4375 14.4375 13.5312 14.2812C13.625 14.0938 13.7812 14 13.9688 14H18C18.5312 14 19 13.5625 19 13C19 12.6562 18.8125 12.3438 18.5312 12.1562C18.3125 12.0312 18.2188 11.75 18.3438 11.5C18.4375 11.375 18.5 11.1875 18.5 11C18.5 10.625 18.2812 10.2812 17.9375 10.125C17.8125 10.0625 17.7188 9.9375 17.6875 9.78125C17.6562 9.625 17.6875 9.5 17.7812 9.375C17.9062 9.21875 18 9 18 8.75C18 8.3125 17.6875 7.9375 17.3125 7.8125C17.0625 7.75 16.9062 7.46875 16.9688 7.21875C16.9688 7.15625 17 7.09375 17 7.03125C17 6.46875 16.5312 6.03125 16 6.03125H13.1875C12.6875 6.03125 12.2188 6.15625 11.8125 6.4375L10.5938 7.25C10.3125 7.4375 10.0938 7.65625 9.90625 7.9375C9.75 8.1875 9.4375 8.25 9.21875 8.09375C8.96875 7.9375 8.90625 7.625 9.0625 7.40625C9.3125 7 9.65625 6.6875 10.0312 6.40625L11.25 5.59375C11.8125 5.21875 12.5 5.03125 13.1875 5.03125L16 5C17.0938 5 18 5.90625 18 7V7.03125C18.5938 7.375 19 8.03125 19 8.75C19 9.03125 18.9375 9.3125 18.8438 9.53125C19.2188 9.90625 19.5 10.4375 19.5 11C19.5 11.2188 19.4688 11.4062 19.4062 11.5938C19.75 11.9688 20 12.4688 20 13C20 14.125 19.0938 15 18 15H14.8125C15 15.4375 15.1562 15.8438 15.2812 16.2812L15.4375 16.8125C15.6875 17.75 15.125 18.6875 14.1875 18.9688C13.25 19.2188 12.3125 18.6562 12.0312 17.7188L11.9062 17.2188C11.625 16.1875 10.9688 15.3125 10.0938 14.75L10 14.6875C9.625 14.4375 9.3125 14.1562 9.0625 13.8125C8.90625 13.5625 8.96875 13.25 9.1875 13.0938C9.40625 12.9375 9.71875 13 9.875 13.2188C10.0625 13.4688 10.2812 13.6875 10.5312 13.8438L10.625 13.9062C11.7188 14.5938 12.5312 15.6875 12.875 16.9375L13 17.4688ZM5 15H7V8H5V15ZM4 15V8C4 7.46875 4.4375 7 5 7H7C7.53125 7 8 7.46875 8 8V15C8 15.5625 7.53125 16 7 16H5C4.4375 16 4 15.5625 4 15Z"
|
|
5489
5459
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5490
5460
|
}
|
|
5491
|
-
function
|
|
5461
|
+
function qo({ size: e = ne.Medium, ...n }) {
|
|
5492
5462
|
const t = X("svg");
|
|
5493
5463
|
t.setAttribute("viewBox", "0 0 32 32"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), te(t, n);
|
|
5494
5464
|
const r = X("path");
|
|
@@ -5497,8 +5467,8 @@ function ea({ size: e = ne.Medium, ...n }) {
|
|
|
5497
5467
|
"M18.1215 16.0003L24.5315 9.59034L25.8534 8.26846C26.0484 8.07346 26.0484 7.75659 25.8534 7.56159L24.439 6.14721C24.244 5.95221 23.9271 5.95221 23.7321 6.14721L16.0002 13.8791L8.26837 6.14659C8.07337 5.95159 7.75649 5.95159 7.56149 6.14659L6.14649 7.56096C5.95149 7.75596 5.95149 8.07284 6.14649 8.26784L13.879 16.0003L6.14649 23.7322C5.95149 23.9272 5.95149 24.2441 6.14649 24.4391L7.56087 25.8535C7.75587 26.0485 8.07274 26.0485 8.26774 25.8535L16.0002 18.1216L22.4102 24.5316L23.7321 25.8535C23.9271 26.0485 24.244 26.0485 24.439 25.8535L25.8534 24.4391C26.0484 24.2441 26.0484 23.9272 25.8534 23.7322L18.1215 16.0003Z"
|
|
5498
5468
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5499
5469
|
}
|
|
5500
|
-
const
|
|
5501
|
-
function
|
|
5470
|
+
const Wo = ".dialog-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#00000080;display:flex;align-items:center;justify-content:center;z-index:10000;font-family:Gantari,sans-serif}.dialog-content{background:#fff;box-shadow:0 4px 20px #00000026;position:relative;max-width:600px;width:90%;max-height:90vh;overflow-y:auto}.dialog-close-button{position:absolute;top:10px;right:10px;background:transparent;border:none;cursor:pointer;padding:10px;display:flex;align-items:center;justify-content:center;transition:background .1s ease-out;color:#00348f;border-radius:2px}.dialog-close-button:hover{background:#bce6f5}.dialog-header{padding:20px}.dialog-body{display:flex;flex-direction:column;border-top-width:1px;border-bottom-width:1px;border-top-style:solid;border-bottom-style:solid;border-color:#0000001a;padding-top:8px;padding-bottom:16px;padding-inline:20px;overflow-y:auto}.dialog-footer{gap:8px;padding:16px;display:flex;justify-content:flex-end;flex-shrink:0}.text-label-md{font-size:var(--text-lg, 1.5rem);font-weight:var(--font-weight-semibold, 600);color:#0f214d;margin:0}.text-label-sm{font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-normal, 400);color:#0f214d;line-height:1.5}.feedback-category{padding-bottom:16px}.feedback-suggestion-text{display:inline-block;padding:4px 8px;margin:4px 8px 4px 0;background:#d3eef8;border-radius:.25rem;cursor:pointer;transition:all .1s ease-out;font-size:14px;color:#0f214d}.feedback-suggestion-text:hover{background:#a6def2}.feedback-suggestion-text-active:hover{background:#152d6a}.feedback-suggestion-text-active{background:#0f214d;color:#fff}.feedback-comment-text{width:100%;min-height:100px;font-family:var(--font-sans);font-size:var(--text-sm, 1rem);font-weight:var(--font-weight-normal, 400);letter-spacing:0;resize:none;box-sizing:border-box;transition:border-color .1s ease-out;background:#fff;color:#1a1a19;border-width:1px;border-color:#b5b3b0;padding-left:6px;padding-right:6px;padding-block:6px}.feedback-comment-text:focus{outline:none;border:2px solid #009fda}.btn-base-feedback{align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:none;border-radius:0;display:inline-flex;height:auto;margin:0;outline:none;text-decoration:none;transition:background .1s ease-out,border-color .1s ease-out,color .1s ease-out,box-shadow .1s ease-out;white-space:nowrap;cursor:pointer;font-family:Gantari,sans-serif;font-size:var(--text-sm, .875rem);font-weight:var(--font-weight-medium, 500);justify-content:center}.btn-primary-feedback{background:#00348f;color:#fff}.btn-primary-feedback:disabled{background:#95adea;color:#fff;cursor:not-allowed;opacity:.5}.btn-primary-feedback:hover{background:#002566}.btn-primary-feedback:active{background:#0041b2}.btn-primary-feedback:disabled:hover{background:#00348f;color:#fff}.btn-lg-feedback{min-width:40px;font-size:16px;letter-spacing:0;gap:8px;padding-inline:16px;padding-block:12px;font-weight:500;line-height:1}.flex{display:flex}.flex-col{flex-direction:column}.justify-end{justify-content:flex-end}.gap-2-feedback{gap:8px;padding-top:40px}.gap-5-feedback{gap:20px}.w-\\[600px\\]{width:600px}.pl-7-feedback{padding-top:28px}.footer-note{font-size:12px;color:#6c757d;line-height:1.5;padding-top:12px;text-align:left;font-weight:400;font-family:Gantari,sans-serif;letter-spacing:.02rem}.footer-note a{color:#6c757d;text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px;font-weight:500;transition:color .1s ease-out}.footer-note a:hover{color:#6c757d;text-decoration-thickness:2px}.dialog-close-button:focus-visible,.btn-base-feedback:focus-visible,.btn-link-feedback:focus-visible{box-shadow:0 0 0 2px #8bc8f0}.btn-base-feedback:disabled{opacity:.5;cursor:not-allowed}", Ho = ".feedback-toast{position:fixed;right:32px;bottom:32px;background:#e9f7fc;color:#17789b;padding:8px 16px;font-size:1rem;box-shadow:0 2px 8px #0000001f;z-index:9999;transition:opacity .2s;max-width:400px;height:40px;display:flex;align-items:center;justify-content:space-between;border:1px solid #17789B}.feedback-toast-close{background:transparent;border:none;color:#00348f;font-size:1.2rem;cursor:pointer;margin-left:16px;padding:10px;opacity:.7;transition:opacity .15s;display:flex;align-items:center;justify-content:center;transition:.1s ease-out}.feedback-toast-close:hover{background:#bce6f5;opacity:1}";
|
|
5471
|
+
function wn({ size: e = ne.Medium, ...n }) {
|
|
5502
5472
|
const t = X("svg");
|
|
5503
5473
|
t.setAttribute("viewBox", "0 0 24 24"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), te(t, n);
|
|
5504
5474
|
const r = X("path");
|
|
@@ -5507,7 +5477,7 @@ function xn({ size: e = ne.Medium, ...n }) {
|
|
|
5507
5477
|
"M8 18C8 18.5625 7.53125 19 7 18.9375H5C4.4375 18.9375 4 18.5 4 17.9688V11C4 10.4688 4.4375 10 5 10H7C7.53125 10 8 10.4375 8 11V18ZM20 11.0313C20 11.8125 19.375 12.4688 18.5938 12.5C18.8438 12.7813 19 13.125 19 13.5312C19 14.25 18.4688 14.8438 17.75 15C17.9063 15.2188 18 15.4688 18 15.75C18 16.4375 17.5625 17 16.9375 17.1875C16.9688 17.2813 17 17.4063 17 17.5313C17 18.3438 16.3125 19 15.5 19H13.6562C12.5625 19 11.5313 18.6563 10.6563 18L9.59375 17.2188C9.21875 16.9375 9 16.5 9 16V11C9 10.5625 9.1875 10.1562 9.5625 9.84375L10.0625 9.4375C12.625 7.40625 11.4688 5 13.4375 5C14.4062 5 15 5.78125 15 6.53125C15 7 14.625 8.34375 13.9062 9.53125H18.5C19.3125 9.53125 20 10.1875 20 11.0313Z"
|
|
5508
5478
|
), r.setAttribute("fill", "black"), t.appendChild(r), t.classList.add("icon"), t;
|
|
5509
5479
|
}
|
|
5510
|
-
function
|
|
5480
|
+
function xn({ size: e = ne.Medium, ...n }) {
|
|
5511
5481
|
const t = X("svg");
|
|
5512
5482
|
t.setAttribute("viewBox", "0 0 24 24"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), te(t, n);
|
|
5513
5483
|
const r = X("path");
|
|
@@ -5516,7 +5486,7 @@ function yn({ size: e = ne.Medium, ...n }) {
|
|
|
5516
5486
|
"M7 5.03125C7.53125 5.03125 8 5.46875 8 6.03125V12.9688C8 13.5 7.53125 13.9375 7 13.9375H5C4.4375 13.9375 4 13.5 4 12.9688V6C4 5.46875 4.4375 5.03125 5 5.03125H7ZM18.5938 11.5312C19.375 11.5625 20 12.2188 20 13C20 13.8438 19.3125 14.5 18.5 14.5H13.9062C14.625 15.6875 14.9688 17.0312 14.9688 17.5C14.9688 18.25 14.4062 19 13.4375 19C11.4688 19 12.625 16.625 10.0625 14.5625L9.5625 14.1562C9.1875 13.875 9 13.4375 9 13V8C9 7.53125 9.21875 7.09375 9.59375 6.8125L10.6562 6C11.5312 5.375 12.5625 5 13.6562 5H15.5C16.3125 5 17 5.6875 17 6.5C17 6.625 16.9688 6.75 16.9375 6.8125C17.5625 7 18 7.5625 18 8.25C18 8.5625 17.9062 8.8125 17.75 9.03125C18.4688 9.15625 19 9.78125 19 10.5C19 10.9062 18.8438 11.25 18.5938 11.5312Z"
|
|
5517
5487
|
), r.setAttribute("fill", "black"), t.appendChild(r), t.classList.add("icon"), t;
|
|
5518
5488
|
}
|
|
5519
|
-
class
|
|
5489
|
+
class fr {
|
|
5520
5490
|
constructor(n, t, r, s, i, o, a, u) {
|
|
5521
5491
|
y(this, "node");
|
|
5522
5492
|
y(this, "_rightColumnNode");
|
|
@@ -5526,7 +5496,7 @@ class mr {
|
|
|
5526
5496
|
y(this, "_currentMessageBlockNode");
|
|
5527
5497
|
y(this, "_currentMessageBlockNodeMarkdown");
|
|
5528
5498
|
y(this, "_accumulatedMarkdown", "");
|
|
5529
|
-
y(this, "_toolCallBuilder", new
|
|
5499
|
+
y(this, "_toolCallBuilder", new Lo());
|
|
5530
5500
|
y(this, "_clientFunctionInvocationsByOperationId", {});
|
|
5531
5501
|
y(this, "_clientFunctionInvocationsByLlmFunctionId", {});
|
|
5532
5502
|
//private _completedClientFunctionInvocationsInCurrentLoop = new Set<ClientFunctionInvocation>();
|
|
@@ -5534,7 +5504,7 @@ class mr {
|
|
|
5534
5504
|
y(this, "_pulseNode");
|
|
5535
5505
|
y(this, "_pulseNodeAnimation");
|
|
5536
5506
|
y(this, "_suggestionTextList");
|
|
5537
|
-
this.conversation = n, this.authorRole = t, this.authorId = r, this.authorPictureUrl = s, this.authorDisplayName = i, this.authorEmail = o, this.messageId = a, this.copilitId = u, this.node = /* @__PURE__ */
|
|
5507
|
+
this.conversation = n, this.authorRole = t, this.authorId = r, this.authorPictureUrl = s, this.authorDisplayName = i, this.authorEmail = o, this.messageId = a, this.copilitId = u, this.node = /* @__PURE__ */ w("li", { class: `${this.authorRole === "user" ? "flex user-message self-end" : "flex assistant-message"}` }, this._rightColumnNode = /* @__PURE__ */ w("div", null)), this.ensureCurrentMessageBlockNode(), this._suggestionTextList = [{ text: "Irrelevant answer", isActive: !1 }, { text: "Incorrect information", isActive: !1 }, { text: "Incomplete answer", isActive: !1 }, { text: "Offensive content", isActive: !1 }, { text: "Other", isActive: !1 }];
|
|
5538
5508
|
}
|
|
5539
5509
|
//private _completedSubConversationsInCurrentLoop = new Set<SubConversation>();
|
|
5540
5510
|
get chat() {
|
|
@@ -5542,11 +5512,11 @@ class mr {
|
|
|
5542
5512
|
}
|
|
5543
5513
|
ensureCurrentMessageBlockNode() {
|
|
5544
5514
|
if (!this._currentMessageBlockNode && (this._rightColumnNode.appendChild(
|
|
5545
|
-
this._toolCallInfoNode = /* @__PURE__ */
|
|
5515
|
+
this._toolCallInfoNode = /* @__PURE__ */ w("div", { class: "prose prose-neutral prose-sm max-w-none" })
|
|
5546
5516
|
), this._rightColumnNode.appendChild(
|
|
5547
|
-
this._currentMessageBlockNode = /* @__PURE__ */
|
|
5517
|
+
this._currentMessageBlockNode = /* @__PURE__ */ w("div", { class: "prose prose-neutral prose-sm max-w-none" })
|
|
5548
5518
|
), this._currentMessageBlockNodeMarkdown = "", this.authorRole === "assistant")) {
|
|
5549
|
-
this._pulseNode = /* @__PURE__ */
|
|
5519
|
+
this._pulseNode = /* @__PURE__ */ w("div", { class: "inline-flex relative h-3 w-3" }, /* @__PURE__ */ w("div", { class: "absolute inline-flex h-full w-full rounded-full bg-Sky-Blue-80" }), /* @__PURE__ */ w("div", { class: "relative inline-flex rounded-full h-full w-full bg-Sky-Blue-Main-77" })), this._currentMessageBlockNode.appendChild(this._pulseNode);
|
|
5550
5520
|
const n = [
|
|
5551
5521
|
//{ transform: "scale(1)", opacity: 1, offset: 0 },
|
|
5552
5522
|
{ transform: "scale(2.5)", opacity: 0, offset: 0.75 },
|
|
@@ -5573,7 +5543,7 @@ class mr {
|
|
|
5573
5543
|
this._currentMessageBlockNodeMarkdown,
|
|
5574
5544
|
this.chat.pyodide,
|
|
5575
5545
|
this.chat.mdastExtensions
|
|
5576
|
-
), this._pulseNode && (this._pulseNodeAnimation.currentTime = t, this._pulseNode.classList.add("ml-[1ch]"),
|
|
5546
|
+
), this._pulseNode && (this._pulseNodeAnimation.currentTime = t, this._pulseNode.classList.add("ml-[1ch]"), Xo(this._currentMessageBlockNode).appendChild(this._pulseNode), this._pulseNodeAnimation.play());
|
|
5577
5547
|
}
|
|
5578
5548
|
toolCallUpdate(n) {
|
|
5579
5549
|
var r;
|
|
@@ -5586,7 +5556,7 @@ class mr {
|
|
|
5586
5556
|
}
|
|
5587
5557
|
const i = this.chat.clientFunctionInvocationHandlersPartial[t.functionName];
|
|
5588
5558
|
if (i) {
|
|
5589
|
-
const o = new
|
|
5559
|
+
const o = new $t(t.llmFunctionId, null, this), a = i(o, t);
|
|
5590
5560
|
this._clientFunctionInvocationsByLlmFunctionId[t.llmFunctionId] = a, this.removePulseNodeIfItIsThere(), a.node && (this._rightColumnNode.appendChild(a.node), a instanceof ut && a.context.conversationMessage.expandAsync(), this._currentMessageBlockNode = null, this._currentMessageBlockNodeMarkdown = null);
|
|
5591
5561
|
}
|
|
5592
5562
|
}
|
|
@@ -5603,7 +5573,7 @@ class mr {
|
|
|
5603
5573
|
o.context.operationId = t, this.chat.clientFunctionInvocationsByOperationId[t] = o, this._clientFunctionInvocationsByOperationId[t] = o, (l = o.run) == null || l.call(o, ...i);
|
|
5604
5574
|
return;
|
|
5605
5575
|
}
|
|
5606
|
-
const a = new
|
|
5576
|
+
const a = new $t(n, t, this), u = this.chat.clientFunctionInvocationHandlers[r];
|
|
5607
5577
|
if (u)
|
|
5608
5578
|
o = u(a, ...i), this.chat.clientFunctionInvocationsByOperationId[t] = o, this._clientFunctionInvocationsByOperationId[t] = o, this._clientFunctionInvocationsByLlmFunctionId[n] = o, (c = o.run) == null || c.call(o, ...i), this.removePulseNodeIfItIsThere(), o.node && (this._rightColumnNode.appendChild(o.node), o instanceof ut && o.context.conversationMessage.expandAsync(), this._currentMessageBlockNode = null, this._currentMessageBlockNodeMarkdown = null);
|
|
5609
5579
|
else {
|
|
@@ -5620,8 +5590,8 @@ class mr {
|
|
|
5620
5590
|
(r = n.onClientError) == null || r.call(n, t);
|
|
5621
5591
|
}
|
|
5622
5592
|
onOpcodeMessageToolCallBeginReceived(n, t) {
|
|
5623
|
-
this._showToolCallResult = !0, this.ensureCurrentMessageBlockNode(), this._toolCallInfoNode.appendChild(
|
|
5624
|
-
/* @__PURE__ */
|
|
5593
|
+
this._showToolCallResult = !0, this.ensureCurrentMessageBlockNode(), this._toolCallInfoNode && this._toolCallInfoNode.appendChild(
|
|
5594
|
+
/* @__PURE__ */ w("div", { class: "flex" }, /* @__PURE__ */ w("div", { class: "p-1" }, /* @__PURE__ */ w("label", null, t)))
|
|
5625
5595
|
);
|
|
5626
5596
|
}
|
|
5627
5597
|
onOpcodeMessageToolCallResultReceived(n, t) {
|
|
@@ -5632,8 +5602,8 @@ class mr {
|
|
|
5632
5602
|
} catch {
|
|
5633
5603
|
r = t;
|
|
5634
5604
|
}
|
|
5635
|
-
this.ensureCurrentMessageBlockNode(), this._showToolCallResult && t.length > 0 && this._toolCallInfoNode.appendChild(
|
|
5636
|
-
/* @__PURE__ */
|
|
5605
|
+
this.ensureCurrentMessageBlockNode(), this._showToolCallResult && t.length > 0 && this._toolCallInfoNode && this._toolCallInfoNode.appendChild(
|
|
5606
|
+
/* @__PURE__ */ w("div", { class: "flex" }, /* @__PURE__ */ w("div", { class: "p-1" }, /* @__PURE__ */ w("pre", { class: "whitespace-pre-wrap" }, JSON.stringify(r, null, 2))))
|
|
5637
5607
|
);
|
|
5638
5608
|
let s = this._clientFunctionInvocationsByLlmFunctionId[n];
|
|
5639
5609
|
s && ((i = s.onOpcodeMessageToolCallResultReceived) == null || i.call(s, t), this.onClientFunctionInvocationCompleted(s));
|
|
@@ -5652,7 +5622,7 @@ class mr {
|
|
|
5652
5622
|
this.ensureCurrentMessageBlockNode(), this._clientFunctionInvocationsByLlmFunctionId = {}, this._subConversations = {};
|
|
5653
5623
|
}
|
|
5654
5624
|
subConversationBegin(n, t, r, s, i, o) {
|
|
5655
|
-
const a = new
|
|
5625
|
+
const a = new yn(this.chat, n, this, o);
|
|
5656
5626
|
this.chat.conversationsById.set(n, a), this._subConversations[n] = a, this.removePulseNodeIfItIsThere(), this._rightColumnNode.appendChild(a.node), this._currentMessageBlockNode = null, this._currentMessageBlockNodeMarkdown = null;
|
|
5657
5627
|
}
|
|
5658
5628
|
notifySubConversationEnded(n, t) {
|
|
@@ -5662,7 +5632,7 @@ class mr {
|
|
|
5662
5632
|
this.removePulseNodeIfItIsThere(), this._toolCallBuilder.clear(), this._clientFunctionInvocationsByLlmFunctionId = {}, this._subConversations = {};
|
|
5663
5633
|
const n = this.conversation.chat.feedbackByMessageId.get(this.messageId);
|
|
5664
5634
|
if (n != null)
|
|
5665
|
-
this._feedbackNode = /* @__PURE__ */
|
|
5635
|
+
this._feedbackNode = /* @__PURE__ */ w("div", { class: "flex btn-link-feedback-disabled" }, /* @__PURE__ */ w(n ? wn : xn, null));
|
|
5666
5636
|
else {
|
|
5667
5637
|
let t = function(r) {
|
|
5668
5638
|
let s = document.createElement("div");
|
|
@@ -5680,15 +5650,15 @@ class mr {
|
|
|
5680
5650
|
}, 2e3);
|
|
5681
5651
|
o.addEventListener("click", () => clearTimeout(a));
|
|
5682
5652
|
const u = document.createElement("div"), l = u.attachShadow({ mode: "open" }), c = document.createElement("style");
|
|
5683
|
-
c.textContent =
|
|
5653
|
+
c.textContent = Ho, l.appendChild(c), l.appendChild(s), document.body.appendChild(u);
|
|
5684
5654
|
};
|
|
5685
|
-
this._feedbackNode = /* @__PURE__ */
|
|
5655
|
+
this._feedbackNode = /* @__PURE__ */ w("div", { class: "flex" }, /* @__PURE__ */ w("a", { class: "btn btn-link-feedback", onclick: () => {
|
|
5686
5656
|
this.conversation.chat.setLikeAsync(this.messageId, this.copilitId, !0), t("Thank you for your feedback!"), this._feedbackNode.replaceWith(
|
|
5687
|
-
this._feedbackNode = /* @__PURE__ */
|
|
5657
|
+
this._feedbackNode = /* @__PURE__ */ w("div", { class: "flex btn-link-feedback-disabled" }, /* @__PURE__ */ w(wn, null))
|
|
5688
5658
|
);
|
|
5689
|
-
} }, /* @__PURE__ */
|
|
5659
|
+
} }, /* @__PURE__ */ w(jo, null)), /* @__PURE__ */ w("a", { class: "btn btn-link-feedback", onclick: () => {
|
|
5690
5660
|
let r;
|
|
5691
|
-
const s = /* @__PURE__ */
|
|
5661
|
+
const s = /* @__PURE__ */ w(
|
|
5692
5662
|
"div",
|
|
5693
5663
|
{
|
|
5694
5664
|
class: "dialog-overlay",
|
|
@@ -5696,12 +5666,12 @@ class mr {
|
|
|
5696
5666
|
c.target === c.currentTarget && (r && r(), s.remove());
|
|
5697
5667
|
}
|
|
5698
5668
|
},
|
|
5699
|
-
/* @__PURE__ */
|
|
5669
|
+
/* @__PURE__ */ w("div", { role: "dialog", class: "dialog-content w-[600px]" }, /* @__PURE__ */ w("div", { class: "dialog-header" }, /* @__PURE__ */ w("label", { class: "text-label-md" }, "Tell us more"), /* @__PURE__ */ w("button", { onclick: () => {
|
|
5700
5670
|
r && r(), s.remove();
|
|
5701
|
-
}, class: "dialog-close-button" }, /* @__PURE__ */
|
|
5671
|
+
}, class: "dialog-close-button" }, /* @__PURE__ */ w(qo, { size: "22" }))), /* @__PURE__ */ w("div", { class: "dialog-body" }, /* @__PURE__ */ w("div", { class: "text-label-sm feedback-category" }, this._suggestionTextList.map((c, h) => /* @__PURE__ */ w("span", { class: "feedback-suggestion-text", onclick: (m) => {
|
|
5702
5672
|
const d = this;
|
|
5703
|
-
this._suggestionTextList.filter((
|
|
5704
|
-
} }, c.text))), /* @__PURE__ */
|
|
5673
|
+
this._suggestionTextList.filter((F, z) => z !== h && F.isActive).forEach((F) => F.isActive = !1), s.querySelectorAll(".feedback-suggestion-text").forEach((F) => F.classList.toggle("feedback-suggestion-text-active", !1)), c.isActive = !c.isActive, m.currentTarget.classList.toggle("feedback-suggestion-text-active", c.isActive), i.call(d);
|
|
5674
|
+
} }, c.text))), /* @__PURE__ */ w("textarea", { placeholder: "Add special details (optional)", class: "feedback-comment-text" }), /* @__PURE__ */ w("div", { class: "footer-note" }, /* @__PURE__ */ w("a", { href: "https://id.veracity.com/terms-of-use", target: "_blank", rel: "noopener noreferrer" }, "Learn more"), " about how this data is used and your rights. By pressing Submit, your conversation will be used to improve Veracity products and services. ", /* @__PURE__ */ w("a", { href: "https://services.veracity.com/PrivacyStatement", target: "_blank", rel: "noopener noreferrer" }, "Privacy statement."))), /* @__PURE__ */ w("div", { class: "dialog-footer" }, /* @__PURE__ */ w(
|
|
5705
5675
|
"button",
|
|
5706
5676
|
{
|
|
5707
5677
|
id: "submit-btn",
|
|
@@ -5715,7 +5685,7 @@ class mr {
|
|
|
5715
5685
|
let h = "";
|
|
5716
5686
|
const m = s.querySelector(".feedback-comment-text").value;
|
|
5717
5687
|
m !== "" && (h = m), this.conversation.chat.setLikeAsync(this.messageId, this.copilitId, !1, c, h), t("Thank you for your feedback!"), r && r(), s.remove(), this._feedbackNode.replaceWith(
|
|
5718
|
-
this._feedbackNode = /* @__PURE__ */
|
|
5688
|
+
this._feedbackNode = /* @__PURE__ */ w("div", { class: "flex btn-link-feedback-disabled" }, /* @__PURE__ */ w(xn, null))
|
|
5719
5689
|
);
|
|
5720
5690
|
}
|
|
5721
5691
|
},
|
|
@@ -5738,8 +5708,8 @@ class mr {
|
|
|
5738
5708
|
c.isActive = !1;
|
|
5739
5709
|
}), i.call(this);
|
|
5740
5710
|
const a = document.createElement("div"), u = a.attachShadow({ mode: "open" }), l = document.createElement("style");
|
|
5741
|
-
l.textContent =
|
|
5742
|
-
} }, /* @__PURE__ */
|
|
5711
|
+
l.textContent = Wo, u.appendChild(l), u.appendChild(s), document.body.appendChild(a);
|
|
5712
|
+
} }, /* @__PURE__ */ w(Uo, null)));
|
|
5743
5713
|
}
|
|
5744
5714
|
this._rightColumnNode.appendChild(this._feedbackNode);
|
|
5745
5715
|
}
|
|
@@ -5759,17 +5729,17 @@ class mr {
|
|
|
5759
5729
|
};
|
|
5760
5730
|
}
|
|
5761
5731
|
expandAsync() {
|
|
5762
|
-
if (this.conversation instanceof
|
|
5732
|
+
if (this.conversation instanceof yn)
|
|
5763
5733
|
return this.conversation.expandAsync();
|
|
5764
5734
|
}
|
|
5765
5735
|
static installClientFunctions(n) {
|
|
5766
5736
|
n.clientFunctionInvocationHandlers.python = (t, r) => {
|
|
5767
|
-
const s = new
|
|
5737
|
+
const s = new gn(t, r);
|
|
5768
5738
|
return s.run(r), s;
|
|
5769
|
-
}, n.clientFunctionInvocationHandlersPartial.python = (t, r) => new
|
|
5739
|
+
}, n.clientFunctionInvocationHandlersPartial.python = (t, r) => new gn(t, r), n.clientFunctionInvocationHandlers.ButtonOptionsDialog = (t, r) => new Io(t, r), n.clientFunctionInvocationHandlers.search = (t, r) => new Do(t, r), n.clientFunctionInvocationHandlers.WindowOpenDialog = (t, r) => new Po(t, r);
|
|
5770
5740
|
}
|
|
5771
5741
|
}
|
|
5772
|
-
function
|
|
5742
|
+
function Xo(e) {
|
|
5773
5743
|
for (; ; )
|
|
5774
5744
|
for (let n = e.lastChild; ; n = n.previousSibling)
|
|
5775
5745
|
if (n) {
|
|
@@ -5781,7 +5751,7 @@ function ra(e) {
|
|
|
5781
5751
|
}
|
|
5782
5752
|
} else return e;
|
|
5783
5753
|
}
|
|
5784
|
-
class
|
|
5754
|
+
class mr {
|
|
5785
5755
|
constructor(n, t) {
|
|
5786
5756
|
y(this, "node");
|
|
5787
5757
|
y(this, "messagesListNode");
|
|
@@ -5790,10 +5760,10 @@ class gr {
|
|
|
5790
5760
|
y(this, "_opcodeConversationEndReceived");
|
|
5791
5761
|
y(this, "_opcodeConversationErrorReceived");
|
|
5792
5762
|
y(this, "_onErrorWhileReadingBodyStreamCalled");
|
|
5793
|
-
this.chat = n, this.id = t, this.node = this.messagesListNode = /* @__PURE__ */
|
|
5763
|
+
this.chat = n, this.id = t, this.node = this.messagesListNode = /* @__PURE__ */ w("ol", { class: "flex flex-col gap-6" });
|
|
5794
5764
|
}
|
|
5795
5765
|
onOpcodeMessageBeginReceived(n, t, r, s, i, o, a) {
|
|
5796
|
-
const u = new
|
|
5766
|
+
const u = new fr(
|
|
5797
5767
|
this,
|
|
5798
5768
|
n,
|
|
5799
5769
|
t,
|
|
@@ -5846,7 +5816,7 @@ class gr {
|
|
|
5846
5816
|
}
|
|
5847
5817
|
handleMessage(n) {
|
|
5848
5818
|
switch (n.type) {
|
|
5849
|
-
case
|
|
5819
|
+
case U.MessageBegin:
|
|
5850
5820
|
return this.onOpcodeMessageBeginReceived(
|
|
5851
5821
|
n.messageAuthorRole,
|
|
5852
5822
|
n.messageAuthorId,
|
|
@@ -5856,28 +5826,28 @@ class gr {
|
|
|
5856
5826
|
n.messageId,
|
|
5857
5827
|
n.copilotId
|
|
5858
5828
|
), !0;
|
|
5859
|
-
case
|
|
5829
|
+
case U.MessageAppend:
|
|
5860
5830
|
return this.onOpcodeMessageAppendReceived(n.appendMessageMarkdown), !0;
|
|
5861
|
-
case
|
|
5831
|
+
case U.MessageToolCallUpdate:
|
|
5862
5832
|
return this.onOpcodeMessageToolCallUpdateReceived(n), !0;
|
|
5863
|
-
case
|
|
5833
|
+
case U.MessageToolCallBegin:
|
|
5864
5834
|
return this.onOpcodeMessageToolCallBeginReceived(n.llmFunctionId, n.toolCallBeginInfo), !0;
|
|
5865
|
-
case
|
|
5835
|
+
case U.MessageToolCallResult:
|
|
5866
5836
|
return this.onOpcodeMessageToolCallResultReceived(n.llmFunctionId, n.result), !0;
|
|
5867
|
-
case
|
|
5837
|
+
case U.MessageToolCallError:
|
|
5868
5838
|
return this.onOpcodeMessageToolCallErrorReceived(n.llmFunctionId, n.error), !0;
|
|
5869
|
-
case
|
|
5839
|
+
case U.MessageExecuteLlmFunctionsBegin:
|
|
5870
5840
|
return this.onOpcodeMessageExecuteLlmFunctionsBeginReceived(), !0;
|
|
5871
|
-
case
|
|
5841
|
+
case U.MessageExecuteLlmFunctionsEnd:
|
|
5872
5842
|
return this.onOpcodeMessageExecuteLlmFunctionsEndReceived(), !0;
|
|
5873
|
-
case
|
|
5843
|
+
case U.MessageInvokeClientFunction:
|
|
5874
5844
|
return this.onOpcodeMessageInvokeClientFunctionReceived(
|
|
5875
5845
|
n.llmFunctionId,
|
|
5876
5846
|
n.operationId,
|
|
5877
5847
|
n.clientFunctionName,
|
|
5878
5848
|
n.argumentsAsJSON
|
|
5879
5849
|
), !0;
|
|
5880
|
-
case
|
|
5850
|
+
case U.MessageSubConversationBegin:
|
|
5881
5851
|
return this.onOpcodeMessageSubConversationBeginReceived(
|
|
5882
5852
|
n.subConversationId,
|
|
5883
5853
|
n.messageAuthorId,
|
|
@@ -5886,9 +5856,9 @@ class gr {
|
|
|
5886
5856
|
n.messageAuthorEmail,
|
|
5887
5857
|
n.subConversationTitle
|
|
5888
5858
|
), !0;
|
|
5889
|
-
case
|
|
5859
|
+
case U.ConversationEnd:
|
|
5890
5860
|
return this.onOpcodeConversationEndReceived(), !0;
|
|
5891
|
-
case
|
|
5861
|
+
case U.ConversationError:
|
|
5892
5862
|
return this.onOpcodeConversationErrorReceived(n.error, n.stackTrace), this.onOpcodeConversationEndReceived(), !0;
|
|
5893
5863
|
}
|
|
5894
5864
|
return !1;
|
|
@@ -5898,7 +5868,7 @@ class gr {
|
|
|
5898
5868
|
}
|
|
5899
5869
|
onRootConversationUnexpectedEndOfBodyStream() {
|
|
5900
5870
|
var n, t;
|
|
5901
|
-
(t = (n = this.activeMessage) == null ? void 0 : n.onErrorWhileReadingBodyStream) == null || t.call(n, new
|
|
5871
|
+
(t = (n = this.activeMessage) == null ? void 0 : n.onErrorWhileReadingBodyStream) == null || t.call(n, new ei()), this.displayError(
|
|
5902
5872
|
"Unexpected end of response",
|
|
5903
5873
|
"The response ended unexpectedly. Please check your connectivity. Other possible causes include server instability or a bug."
|
|
5904
5874
|
);
|
|
@@ -5916,7 +5886,7 @@ class gr {
|
|
|
5916
5886
|
this.displayInfo("Stopped", "The generation of the response was stopped.");
|
|
5917
5887
|
return;
|
|
5918
5888
|
}
|
|
5919
|
-
if (n instanceof
|
|
5889
|
+
if (n instanceof zn) {
|
|
5920
5890
|
this.displayError("Max limit reached", "You have reached the maximum input limit. Please try again later.");
|
|
5921
5891
|
return;
|
|
5922
5892
|
} else
|
|
@@ -5928,16 +5898,16 @@ class gr {
|
|
|
5928
5898
|
}
|
|
5929
5899
|
displayError(n, t) {
|
|
5930
5900
|
this.messagesListNode.appendChild(
|
|
5931
|
-
/* @__PURE__ */
|
|
5901
|
+
/* @__PURE__ */ w("li", { class: "m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97" }, /* @__PURE__ */ w(Ot, { class: "text-Energy-Red-45" }), /* @__PURE__ */ w("div", null, /* @__PURE__ */ w("h6", null, n), /* @__PURE__ */ w("div", { class: "prose prose-sm prose-neutral" }, /* @__PURE__ */ w("p", null, t))))
|
|
5932
5902
|
);
|
|
5933
5903
|
}
|
|
5934
5904
|
displayInfo(n, t) {
|
|
5935
5905
|
this.messagesListNode.appendChild(
|
|
5936
|
-
/* @__PURE__ */
|
|
5906
|
+
/* @__PURE__ */ w("li", { class: "m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97" }, /* @__PURE__ */ w(Dt, { class: "text-Sea-Blue-Main-28" }), /* @__PURE__ */ w("div", null, /* @__PURE__ */ w("h6", null, n), /* @__PURE__ */ w("div", { class: "prose prose-sm prose-neutral" }, /* @__PURE__ */ w("p", null, t))))
|
|
5937
5907
|
);
|
|
5938
5908
|
}
|
|
5939
5909
|
}
|
|
5940
|
-
class
|
|
5910
|
+
class yn extends mr {
|
|
5941
5911
|
constructor(t, r, s, i) {
|
|
5942
5912
|
super(t, r);
|
|
5943
5913
|
y(this, "_buttonNode");
|
|
@@ -5948,7 +5918,7 @@ class kn extends gr {
|
|
|
5948
5918
|
y(this, "_expanded", !1);
|
|
5949
5919
|
y(this, "_expandedCt");
|
|
5950
5920
|
y(this, "_expandPromise");
|
|
5951
|
-
this.parentMessage = s, this.title = i, this.node = /* @__PURE__ */
|
|
5921
|
+
this.parentMessage = s, this.title = i, this.node = /* @__PURE__ */ w("div", { class: "my-2" }, this._buttonNode = /* @__PURE__ */ w(
|
|
5952
5922
|
Ze,
|
|
5953
5923
|
{
|
|
5954
5924
|
class: "p-2 gap-2 group",
|
|
@@ -5956,10 +5926,10 @@ class kn extends gr {
|
|
|
5956
5926
|
size: Xe.Medium,
|
|
5957
5927
|
onclick: () => this.expanded = !this.expanded
|
|
5958
5928
|
},
|
|
5959
|
-
this._buttonIconWrapperNode = /* @__PURE__ */
|
|
5929
|
+
this._buttonIconWrapperNode = /* @__PURE__ */ w("div", { width: "24px", height: "24px" }, /* @__PURE__ */ w(pt, { size: Je.Small })),
|
|
5960
5930
|
this.title,
|
|
5961
|
-
/* @__PURE__ */
|
|
5962
|
-
), this._contentWrapperNode = /* @__PURE__ */
|
|
5931
|
+
/* @__PURE__ */ w(pr, { class: "transition-all duration-300 group-data-[expanded=true]:-rotate-180" })
|
|
5932
|
+
), this._contentWrapperNode = /* @__PURE__ */ w(
|
|
5963
5933
|
"div",
|
|
5964
5934
|
{
|
|
5965
5935
|
class: "grid",
|
|
@@ -5967,7 +5937,7 @@ class kn extends gr {
|
|
|
5967
5937
|
opacity: this._expanded ? "1" : "0",
|
|
5968
5938
|
"aria-expanded": this._expanded
|
|
5969
5939
|
},
|
|
5970
|
-
/* @__PURE__ */
|
|
5940
|
+
/* @__PURE__ */ w("div", { class: "overflow-hidden" }, this._contentNode = /* @__PURE__ */ w("section", { class: "mt-2 border border-Light flex flex-col bg-Sandstone-95 p-3" }, this.messagesListNode))
|
|
5971
5941
|
));
|
|
5972
5942
|
}
|
|
5973
5943
|
get expanded() {
|
|
@@ -6038,16 +6008,16 @@ class kn extends gr {
|
|
|
6038
6008
|
// onErrorBeforeReadingBodyStreamStarted(error: any) {
|
|
6039
6009
|
// }
|
|
6040
6010
|
setButtonSuccess() {
|
|
6041
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
6011
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ w(ht, null), this._buttonIconWrapperNode.firstChild);
|
|
6042
6012
|
}
|
|
6043
6013
|
setButtonError() {
|
|
6044
|
-
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
6014
|
+
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ w(Pt, null), this._buttonIconWrapperNode.firstChild);
|
|
6045
6015
|
}
|
|
6046
6016
|
async expandAsync() {
|
|
6047
6017
|
await this.parentMessage.expandAsync(), this._expanded ? this._expandPromise && await this._expandPromise : await this.doExpandAsync();
|
|
6048
6018
|
}
|
|
6049
6019
|
}
|
|
6050
|
-
class
|
|
6020
|
+
class Go {
|
|
6051
6021
|
constructor(n) {
|
|
6052
6022
|
y(this, "node");
|
|
6053
6023
|
y(this, "url");
|
|
@@ -6057,7 +6027,7 @@ class sa {
|
|
|
6057
6027
|
y(this, "fetch");
|
|
6058
6028
|
y(this, "conversationsById", /* @__PURE__ */ new Map());
|
|
6059
6029
|
y(this, "feedbackByMessageId", /* @__PURE__ */ new Map());
|
|
6060
|
-
y(this, "rootConversation", new
|
|
6030
|
+
y(this, "rootConversation", new mr(this, null));
|
|
6061
6031
|
y(this, "clientFunctionInvocationHandlers", {});
|
|
6062
6032
|
y(this, "clientFunctionInvocationHandlersPartial", {});
|
|
6063
6033
|
y(this, "clientFunctionInvocationsByOperationId", {});
|
|
@@ -6066,19 +6036,19 @@ class sa {
|
|
|
6066
6036
|
y(this, "_lazyInitializePyodidePromise");
|
|
6067
6037
|
/** For each message submission, a new instance of ChatCompletionsClient will be created, and set to null when finished. */
|
|
6068
6038
|
y(this, "_completion");
|
|
6069
|
-
this.conversationsById.set(null, this.rootConversation), this.url = n.url, this.historyUrl = n.historyUrl, this.feedbackUrl = n.feedbackUrl, this.summarizeTitleUrl = n.summarizeTitleUrl, this.fetch = n.fetch ?? fetch.bind(window), this.node = /* @__PURE__ */
|
|
6039
|
+
this.conversationsById.set(null, this.rootConversation), this.url = n.url, this.historyUrl = n.historyUrl, this.feedbackUrl = n.feedbackUrl, this.summarizeTitleUrl = n.summarizeTitleUrl, this.fetch = n.fetch ?? fetch.bind(window), this.node = /* @__PURE__ */ w("div", null);
|
|
6070
6040
|
const t = document.createElement("style");
|
|
6071
|
-
t.textContent =
|
|
6072
|
-
` +
|
|
6073
|
-
` +
|
|
6041
|
+
t.textContent = Tr + `
|
|
6042
|
+
` + Ar + `
|
|
6043
|
+
` + Br;
|
|
6074
6044
|
const r = this.node.attachShadow({ mode: "closed" });
|
|
6075
|
-
r.appendChild(t), r.appendChild(this.rootConversation.node),
|
|
6045
|
+
r.appendChild(t), r.appendChild(this.rootConversation.node), fr.installClientFunctions(this);
|
|
6076
6046
|
}
|
|
6077
6047
|
lazyInitializePyodideAsync() {
|
|
6078
6048
|
return this._lazyInitializePyodidePromise ?? (this._lazyInitializePyodidePromise = this.doInitializePyodide());
|
|
6079
6049
|
}
|
|
6080
6050
|
async doInitializePyodide() {
|
|
6081
|
-
return this.pyodide = await
|
|
6051
|
+
return this.pyodide = await Kn({
|
|
6082
6052
|
indexURL: "https://cdn.veracity.com/vcb/pyodide-0.26.4/pyodide/"
|
|
6083
6053
|
// veracitycdnprod
|
|
6084
6054
|
}), this.pyodide.FS.mkdir("/mnt"), this.pyodide.FS.mkdir("/mnt/data"), this.pyodide;
|
|
@@ -6103,12 +6073,12 @@ class sa {
|
|
|
6103
6073
|
for (; await n.waitToReadAsync(); )
|
|
6104
6074
|
for (const t of n.read()) {
|
|
6105
6075
|
switch (t.type) {
|
|
6106
|
-
case
|
|
6076
|
+
case U.MessageInvokeClientFunctionResult: {
|
|
6107
6077
|
const r = this.clientFunctionInvocationsByOperationId[t.operationId];
|
|
6108
6078
|
r.context.conversationMessage.setClientInvocationResult(r, JSON.parse(t.result));
|
|
6109
6079
|
continue;
|
|
6110
6080
|
}
|
|
6111
|
-
case
|
|
6081
|
+
case U.MessageInvokeClientFunctionError: {
|
|
6112
6082
|
const r = this.clientFunctionInvocationsByOperationId[t.operationId];
|
|
6113
6083
|
r.context.conversationMessage.setClientInvocationError(r, t.error);
|
|
6114
6084
|
continue;
|
|
@@ -6167,12 +6137,12 @@ class sa {
|
|
|
6167
6137
|
for (; await this._completion.waitToReadAsync(); )
|
|
6168
6138
|
for (const i of this._completion.read()) {
|
|
6169
6139
|
switch (i.type) {
|
|
6170
|
-
case
|
|
6140
|
+
case U.MessageInvokeClientFunctionResult: {
|
|
6171
6141
|
const o = this.clientFunctionInvocationsByOperationId[i.operationId];
|
|
6172
6142
|
o.context.conversationMessage.setClientInvocationResult(o, JSON.parse(i.result));
|
|
6173
6143
|
continue;
|
|
6174
6144
|
}
|
|
6175
|
-
case
|
|
6145
|
+
case U.MessageInvokeClientFunctionError: {
|
|
6176
6146
|
const o = this.clientFunctionInvocationsByOperationId[i.operationId];
|
|
6177
6147
|
o.context.conversationMessage.setClientInvocationError(o, i.error);
|
|
6178
6148
|
continue;
|
|
@@ -6217,5 +6187,5 @@ class sa {
|
|
|
6217
6187
|
}
|
|
6218
6188
|
}
|
|
6219
6189
|
export {
|
|
6220
|
-
|
|
6190
|
+
Go as Chat
|
|
6221
6191
|
};
|