@veracity/ai 2.3.1 → 2.3.3
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/ChatClient.d.ts +3 -1
- package/dist/ChatClient.d.ts.map +1 -1
- package/dist/components/Chat/index.d.ts +5 -2
- package/dist/components/Chat/index.d.ts.map +1 -1
- package/dist/components/Conversation.d.ts.map +1 -1
- package/dist/components/ConversationMessage.d.ts +3 -1
- package/dist/components/ConversationMessage.d.ts.map +1 -1
- package/dist/components/icons/CloseIcon.d.ts +3 -0
- package/dist/components/icons/CloseIcon.d.ts.map +1 -0
- package/dist/dtos.d.ts +1 -0
- package/dist/dtos.d.ts.map +1 -1
- package/dist/veracity-ai.es.js +670 -613
- package/dist/veracity-ai.umd.js +16 -15
- package/package.json +1 -1
package/dist/veracity-ai.es.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var _r = Object.defineProperty;
|
|
2
2
|
var Er = (e, n, t) => n in e ? _r(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var y = (e, n, t) => Er(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
|
-
function
|
|
4
|
+
function b(e, n, ...t) {
|
|
5
5
|
switch (typeof e) {
|
|
6
6
|
case "string": {
|
|
7
7
|
const r = document.createElement(e);
|
|
8
|
-
|
|
8
|
+
ie(r, n);
|
|
9
9
|
for (const s of t) zn(r, s);
|
|
10
10
|
return r;
|
|
11
11
|
}
|
|
@@ -14,7 +14,7 @@ function w(e, n, ...t) {
|
|
|
14
14
|
}
|
|
15
15
|
throw new Error(`Unable to create element of type '${typeof e}'`);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function ie(e, n) {
|
|
18
18
|
if (n)
|
|
19
19
|
for (const t in n) {
|
|
20
20
|
const r = n[t];
|
|
@@ -39,19 +39,19 @@ function zn(e, n) {
|
|
|
39
39
|
const t = Tr(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-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}}.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}.btn-link:hover{cursor:pointer;border-radius:3px;background-color:#a8a2a2}';
|
|
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}.pl-7{padding-left:1.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}}.btn-link:hover{cursor:pointer;border-radius:3px;background-color:#a8a2a2}.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
43
|
class vn extends Error {
|
|
44
44
|
constructor() {
|
|
45
45
|
super("Max input limit reached.");
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
var
|
|
48
|
+
var Qe = /* @__PURE__ */ ((e) => (e[e.Messages = 0] = "Messages", e[e.OperationResult = 1] = "OperationResult", e[e.OperationError = 2] = "OperationError", e))(Qe || {}), j = /* @__PURE__ */ ((e) => (e[e.MessageBegin = 0] = "MessageBegin", e[e.MessageAppend = 1] = "MessageAppend", e[e.MessageToolCallUpdate = 2] = "MessageToolCallUpdate", e[e.MessageToolCallBegin = 3] = "MessageToolCallBegin", e[e.MessageToolCallResult = 4] = "MessageToolCallResult", e[e.MessageToolCallError = 5] = "MessageToolCallError", e[e.MessageExecuteLlmFunctionsBegin = 6] = "MessageExecuteLlmFunctionsBegin", e[e.MessageExecuteLlmFunctionsEnd = 7] = "MessageExecuteLlmFunctionsEnd", e[e.MessageInvokeClientFunction = 8] = "MessageInvokeClientFunction", e[e.MessageInvokeClientFunctionResult = 9] = "MessageInvokeClientFunctionResult", e[e.MessageInvokeClientFunctionError = 10] = "MessageInvokeClientFunctionError", e[e.MessageSubConversationBegin = 11] = "MessageSubConversationBegin", e[e.ConversationEnd = 12] = "ConversationEnd", e[e.ConversationError = 13] = "ConversationError", e))(j || {});
|
|
49
49
|
class st extends Error {
|
|
50
50
|
constructor(n = "Operation was cancelled.") {
|
|
51
51
|
super(n);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
|
-
class
|
|
54
|
+
class ze {
|
|
55
55
|
constructor() {
|
|
56
56
|
y(this, "isCancellationRequested", !1);
|
|
57
57
|
y(this, "listeners", /* @__PURE__ */ new Set());
|
|
@@ -141,7 +141,7 @@ class Lr {
|
|
|
141
141
|
return this._queue = [], n;
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
|
-
class
|
|
144
|
+
class ft extends Lr {
|
|
145
145
|
constructor() {
|
|
146
146
|
super(...arguments);
|
|
147
147
|
y(this, "_reader");
|
|
@@ -159,7 +159,7 @@ class Kt extends Lr {
|
|
|
159
159
|
}
|
|
160
160
|
// If cancelled, will call _abortController.abort() and abort the request
|
|
161
161
|
async initializeExistingAsync(t, r) {
|
|
162
|
-
this._abortController = new AbortController(), (this._cancellationToken = new
|
|
162
|
+
this._abortController = new AbortController(), (this._cancellationToken = new ze()).addListener(() => this._abortController.abort());
|
|
163
163
|
const s = await t(r, {
|
|
164
164
|
method: "GET",
|
|
165
165
|
signal: this._abortController.signal
|
|
@@ -169,20 +169,35 @@ class Kt extends Lr {
|
|
|
169
169
|
this._reader = s.body.getReader(), this.readMessagesAsync();
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
|
-
async
|
|
173
|
-
this._abortController = new AbortController(), (this._cancellationToken = new
|
|
172
|
+
async summarizeTitleAsync(t, r, s, i) {
|
|
173
|
+
this._abortController = new AbortController(), (this._cancellationToken = new ze()).addListener(() => this._abortController.abort());
|
|
174
174
|
const a = await t(r, {
|
|
175
175
|
method: "POST",
|
|
176
176
|
headers: {
|
|
177
177
|
"Content-Type": "application/json"
|
|
178
178
|
},
|
|
179
|
-
body: JSON.stringify({ type:
|
|
179
|
+
body: JSON.stringify({ type: Qe.Messages, messages: s, chatId: i }),
|
|
180
180
|
signal: this._abortController.signal
|
|
181
181
|
});
|
|
182
|
-
if (a.status ===
|
|
183
|
-
|
|
182
|
+
if (a.status === 400)
|
|
183
|
+
return null;
|
|
184
184
|
if (!a.ok) throw new Error(`Failed to start chat completion SSE: ${a.status} ${a.statusText}`);
|
|
185
|
-
|
|
185
|
+
return a.json();
|
|
186
|
+
}
|
|
187
|
+
async startAsync(t, r, s, i, a) {
|
|
188
|
+
this._abortController = new AbortController(), (this._cancellationToken = new ze()).addListener(() => this._abortController.abort());
|
|
189
|
+
const o = await t(r, {
|
|
190
|
+
method: "POST",
|
|
191
|
+
headers: {
|
|
192
|
+
"Content-Type": "application/json"
|
|
193
|
+
},
|
|
194
|
+
body: JSON.stringify({ type: Qe.Messages, messages: s, chatId: i, copilotId: a }),
|
|
195
|
+
signal: this._abortController.signal
|
|
196
|
+
});
|
|
197
|
+
if (o.status === 429)
|
|
198
|
+
throw new vn();
|
|
199
|
+
if (!o.ok) throw new Error(`Failed to start chat completion SSE: ${o.status} ${o.statusText}`);
|
|
200
|
+
this._reader = o.body.getReader(), this.readMessagesAsync();
|
|
186
201
|
}
|
|
187
202
|
stop() {
|
|
188
203
|
this._cancellationToken.cancel();
|
|
@@ -222,7 +237,7 @@ class Kt extends Lr {
|
|
|
222
237
|
const r = t[0];
|
|
223
238
|
switch (r) {
|
|
224
239
|
case j.MessageBegin: {
|
|
225
|
-
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), a = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync(), u = await this.readUtf8StringAsync(), l = await this.readUtf8StringAsync(), c = await this.readUtf8StringAsync();
|
|
240
|
+
const s = await this.readUtf8StringAsync(), i = await this.readUtf8StringAsync(), a = await this.readUtf8StringAsync(), o = await this.readUtf8StringAsync(), u = await this.readUtf8StringAsync(), l = await this.readUtf8StringAsync(), c = await this.readUtf8StringAsync(), p = await this.readUtf8StringAsync();
|
|
226
241
|
return {
|
|
227
242
|
type: r,
|
|
228
243
|
conversationId: s,
|
|
@@ -231,7 +246,8 @@ class Kt extends Lr {
|
|
|
231
246
|
messageAuthorPictureUrl: o,
|
|
232
247
|
messageAuthorDisplayName: u,
|
|
233
248
|
messageAuthorEmail: l,
|
|
234
|
-
messageId: c
|
|
249
|
+
messageId: c,
|
|
250
|
+
copilotId: p
|
|
235
251
|
};
|
|
236
252
|
}
|
|
237
253
|
case j.MessageAppend: {
|
|
@@ -418,9 +434,9 @@ function ct(e) {
|
|
|
418
434
|
};
|
|
419
435
|
}
|
|
420
436
|
N(ct, "_getter");
|
|
421
|
-
var De = ["isConstructor", "isEval", "isNative", "isToplevel"], Pe = ["columnNumber", "lineNumber"], Ue = ["fileName", "functionName", "source"], Rr = ["args"], Nr = ["evalOrigin"],
|
|
437
|
+
var De = ["isConstructor", "isEval", "isNative", "isToplevel"], Pe = ["columnNumber", "lineNumber"], Ue = ["fileName", "functionName", "source"], Rr = ["args"], Nr = ["evalOrigin"], et = De.concat(Pe, Ue, Rr, Nr);
|
|
422
438
|
function ne(e) {
|
|
423
|
-
if (e) for (var n = 0; n <
|
|
439
|
+
if (e) for (var n = 0; n < et.length; n++) e[et[n]] !== void 0 && this["set" + _e(et[n])](e[et[n]]);
|
|
424
440
|
}
|
|
425
441
|
N(ne, "StackFrame");
|
|
426
442
|
ne.prototype = { getArgs: function() {
|
|
@@ -461,7 +477,7 @@ for (Le = 0; Le < Ue.length; Le++) ne.prototype["get" + _e(Ue[Le])] = ct(Ue[Le])
|
|
|
461
477
|
this[e] = String(n);
|
|
462
478
|
};
|
|
463
479
|
}(Ue[Le]);
|
|
464
|
-
var Le,
|
|
480
|
+
var Le, mt = ne;
|
|
465
481
|
function _n() {
|
|
466
482
|
var e = /^\s*at .*(\S+:\d+|\(native\))/m, n = /^(eval@)?(\[native code])?$/;
|
|
467
483
|
return { parse: N(function(t) {
|
|
@@ -482,7 +498,7 @@ function _n() {
|
|
|
482
498
|
var i = s.replace(/^\s+/, "").replace(/\(eval code/g, "(").replace(/^.*?\s+/, ""), a = i.match(/ (\(.+\)$)/);
|
|
483
499
|
i = a ? i.replace(a[0], "") : i;
|
|
484
500
|
var o = this.extractLocation(a ? a[1] : i), u = a && i || void 0, l = ["eval", "<anonymous>"].indexOf(o[0]) > -1 ? void 0 : o[0];
|
|
485
|
-
return new
|
|
501
|
+
return new mt({ functionName: u, fileName: l, lineNumber: o[1], columnNumber: o[2], source: s });
|
|
486
502
|
}, this);
|
|
487
503
|
}, "ErrorStackParser$$parseV8OrIE"), parseFFOrSafari: N(function(t) {
|
|
488
504
|
var r = t.stack.split(`
|
|
@@ -490,38 +506,38 @@ function _n() {
|
|
|
490
506
|
return !s.match(n);
|
|
491
507
|
}, this);
|
|
492
508
|
return r.map(function(s) {
|
|
493
|
-
if (s.indexOf(" > eval") > -1 && (s = s.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g, ":$1")), s.indexOf("@") === -1 && s.indexOf(":") === -1) return new
|
|
509
|
+
if (s.indexOf(" > eval") > -1 && (s = s.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g, ":$1")), s.indexOf("@") === -1 && s.indexOf(":") === -1) return new mt({ functionName: s });
|
|
494
510
|
var i = /((.*".+"[^@]*)?[^@]*)(?:@)/, a = s.match(i), o = a && a[1] ? a[1] : void 0, u = this.extractLocation(s.replace(i, ""));
|
|
495
|
-
return new
|
|
511
|
+
return new mt({ functionName: o, fileName: u[0], lineNumber: u[1], columnNumber: u[2], source: s });
|
|
496
512
|
}, this);
|
|
497
513
|
}, "ErrorStackParser$$parseFFOrSafari") };
|
|
498
514
|
}
|
|
499
515
|
N(_n, "ErrorStackParser");
|
|
500
516
|
var Or = new _n(), Dr = Or, ge = typeof process == "object" && typeof process.versions == "object" && typeof process.versions.node == "string" && !process.browser, En = ge && typeof module < "u" && typeof module.exports < "u" && typeof Cn < "u" && typeof __dirname < "u", Pr = ge && !En, Ur = typeof Deno < "u", Tn = !ge && !Ur, jr = Tn && typeof window == "object" && typeof document == "object" && typeof document.createElement == "function" && "sessionStorage" in window && typeof importScripts != "function", qr = Tn && typeof importScripts == "function" && typeof self == "object";
|
|
501
517
|
typeof navigator == "object" && typeof navigator.userAgent == "string" && navigator.userAgent.indexOf("Chrome") == -1 && navigator.userAgent.indexOf("Safari") > -1;
|
|
502
|
-
var An,
|
|
503
|
-
async function
|
|
504
|
-
if (!ge || (An = (await import("./__vite-browser-external-DYxpcVy9.js")).default, Gt = await import("./__vite-browser-external-DYxpcVy9.js"),
|
|
518
|
+
var An, vt, Bn, Gt, Bt;
|
|
519
|
+
async function It() {
|
|
520
|
+
if (!ge || (An = (await import("./__vite-browser-external-DYxpcVy9.js")).default, Gt = await import("./__vite-browser-external-DYxpcVy9.js"), Bt = await import("./__vite-browser-external-DYxpcVy9.js"), Bn = (await import("./__vite-browser-external-DYxpcVy9.js")).default, vt = await import("./__vite-browser-external-DYxpcVy9.js"), Lt = vt.sep, typeof Cn < "u")) return;
|
|
505
521
|
let e = Gt, 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 };
|
|
506
522
|
globalThis.require = function(i) {
|
|
507
523
|
return s[i];
|
|
508
524
|
};
|
|
509
525
|
}
|
|
510
|
-
N(
|
|
526
|
+
N(It, "initNodeModules");
|
|
511
527
|
function In(e, n) {
|
|
512
|
-
return
|
|
528
|
+
return vt.resolve(n || ".", e);
|
|
513
529
|
}
|
|
514
530
|
N(In, "node_resolvePath");
|
|
515
531
|
function Ln(e, n) {
|
|
516
532
|
return n === void 0 && (n = location), new URL(e, n).toString();
|
|
517
533
|
}
|
|
518
534
|
N(Ln, "browser_resolvePath");
|
|
519
|
-
var
|
|
520
|
-
ge ?
|
|
521
|
-
var
|
|
522
|
-
ge || (
|
|
535
|
+
var Ct;
|
|
536
|
+
ge ? Ct = In : Ct = Ln;
|
|
537
|
+
var Lt;
|
|
538
|
+
ge || (Lt = "/");
|
|
523
539
|
function Fn(e, n) {
|
|
524
|
-
return e.startsWith("file://") && (e = e.slice(7)), e.includes("://") ? { response: fetch(e) } : { binary:
|
|
540
|
+
return e.startsWith("file://") && (e = e.slice(7)), e.includes("://") ? { response: fetch(e) } : { binary: Bt.readFile(e).then((t) => new Uint8Array(t.buffer, t.byteOffset, t.byteLength)) };
|
|
525
541
|
}
|
|
526
542
|
N(Fn, "node_getBinaryResponse");
|
|
527
543
|
function Mn(e, n) {
|
|
@@ -539,9 +555,9 @@ async function Rn(e, n) {
|
|
|
539
555
|
return new Uint8Array(await s.arrayBuffer());
|
|
540
556
|
}
|
|
541
557
|
N(Rn, "loadBinaryFile");
|
|
542
|
-
var
|
|
543
|
-
if (jr)
|
|
544
|
-
else if (qr)
|
|
558
|
+
var nt;
|
|
559
|
+
if (jr) nt = N(async (e) => await import(e), "loadScript");
|
|
560
|
+
else if (qr) nt = N(async (e) => {
|
|
545
561
|
try {
|
|
546
562
|
globalThis.importScripts(e);
|
|
547
563
|
} catch (n) {
|
|
@@ -549,7 +565,7 @@ else if (qr) tt = N(async (e) => {
|
|
|
549
565
|
else throw n;
|
|
550
566
|
}
|
|
551
567
|
}, "loadScript");
|
|
552
|
-
else if (ge)
|
|
568
|
+
else if (ge) nt = Nn;
|
|
553
569
|
else throw new Error("Cannot determine runtime environment");
|
|
554
570
|
async function Nn(e) {
|
|
555
571
|
e.startsWith("file://") && (e = e.slice(7)), e.includes("://") ? Bn.runInThisContext(await (await fetch(e)).text()) : await import(An.pathToFileURL(e).href);
|
|
@@ -557,8 +573,8 @@ async function Nn(e) {
|
|
|
557
573
|
N(Nn, "nodeLoadScript");
|
|
558
574
|
async function On(e) {
|
|
559
575
|
if (ge) {
|
|
560
|
-
await
|
|
561
|
-
let n = await
|
|
576
|
+
await It();
|
|
577
|
+
let n = await Bt.readFile(e, { encoding: "utf8" });
|
|
562
578
|
return JSON.parse(n);
|
|
563
579
|
} else return await (await fetch(e)).json();
|
|
564
580
|
}
|
|
@@ -576,7 +592,7 @@ async function Dn() {
|
|
|
576
592
|
let r = await import("./__vite-browser-external-DYxpcVy9.js");
|
|
577
593
|
return (await import("./__vite-browser-external-DYxpcVy9.js")).fileURLToPath(r.dirname(n));
|
|
578
594
|
}
|
|
579
|
-
let t = n.lastIndexOf(
|
|
595
|
+
let t = n.lastIndexOf(Lt);
|
|
580
596
|
if (t === -1) throw new Error("Could not extract indexURL path from pyodide module location");
|
|
581
597
|
return n.slice(0, t);
|
|
582
598
|
}
|
|
@@ -587,8 +603,8 @@ function Pn(e) {
|
|
|
587
603
|
return t.mount.apply(null, arguments);
|
|
588
604
|
}, syncfs: async (i, a, o) => {
|
|
589
605
|
try {
|
|
590
|
-
let u = s.getLocalSet(i), l = await s.getRemoteSet(i), c = a ? l : u,
|
|
591
|
-
await s.reconcile(i, c,
|
|
606
|
+
let u = s.getLocalSet(i), l = await s.getRemoteSet(i), c = a ? l : u, p = a ? u : l;
|
|
607
|
+
await s.reconcile(i, c, p), o(null);
|
|
592
608
|
} catch (u) {
|
|
593
609
|
o(u);
|
|
594
610
|
}
|
|
@@ -599,13 +615,13 @@ function Pn(e) {
|
|
|
599
615
|
}
|
|
600
616
|
N(o, "isRealDir");
|
|
601
617
|
function u(c) {
|
|
602
|
-
return (
|
|
618
|
+
return (p) => r.join2(c, p);
|
|
603
619
|
}
|
|
604
620
|
N(u, "toAbsolute");
|
|
605
621
|
let l = n.readdir(i.mountpoint).filter(o).map(u(i.mountpoint));
|
|
606
622
|
for (; l.length; ) {
|
|
607
|
-
let c = l.pop(),
|
|
608
|
-
n.isDir(
|
|
623
|
+
let c = l.pop(), p = n.stat(c);
|
|
624
|
+
n.isDir(p.mode) && l.push.apply(l, n.readdir(c).filter(o).map(u(c))), a[c] = { timestamp: p.mtime, mode: p.mode };
|
|
609
625
|
}
|
|
610
626
|
return { type: "local", entries: a };
|
|
611
627
|
}, getRemoteSet: async (i) => {
|
|
@@ -652,21 +668,21 @@ function Pn(e) {
|
|
|
652
668
|
if (Object.keys(o.entries).forEach(function(m) {
|
|
653
669
|
a.entries[m] || (c.push(m), u++);
|
|
654
670
|
}), c.sort().reverse(), !u) return;
|
|
655
|
-
let
|
|
671
|
+
let p = a.type === "remote" ? a.handles : o.handles;
|
|
656
672
|
for (let m of l) {
|
|
657
673
|
let h = r.normalize(m.replace(i.mountpoint, "/")).substring(1);
|
|
658
674
|
if (o.type === "local") {
|
|
659
|
-
let C =
|
|
675
|
+
let C = p.get(h), S = await s.loadRemoteEntry(C);
|
|
660
676
|
s.storeLocalEntry(m, S);
|
|
661
677
|
} else {
|
|
662
678
|
let C = s.loadLocalEntry(m);
|
|
663
|
-
await s.storeRemoteEntry(
|
|
679
|
+
await s.storeRemoteEntry(p, h, C);
|
|
664
680
|
}
|
|
665
681
|
}
|
|
666
682
|
for (let m of c) if (o.type === "local") s.removeLocalEntry(m);
|
|
667
683
|
else {
|
|
668
684
|
let h = r.normalize(m.replace(i.mountpoint, "/")).substring(1);
|
|
669
|
-
await s.removeRemoteEntry(
|
|
685
|
+
await s.removeRemoteEntry(p, h);
|
|
670
686
|
}
|
|
671
687
|
} };
|
|
672
688
|
e.FS.filesystems.NATIVEFS_ASYNC = s;
|
|
@@ -755,15 +771,15 @@ N(Kn, "getInstantiateWasmFunc");
|
|
|
755
771
|
var $t = "0.26.4";
|
|
756
772
|
async function Gn(e = {}) {
|
|
757
773
|
var n, t;
|
|
758
|
-
await
|
|
774
|
+
await It();
|
|
759
775
|
let r = e.indexURL || await Dn();
|
|
760
|
-
r =
|
|
776
|
+
r = Ct(r), r.endsWith("/") || (r += "/"), e.indexURL = r;
|
|
761
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);
|
|
762
778
|
(n = i.env).HOME ?? (n.HOME = "/home/pyodide"), (t = i.env).PYTHONINSPECT ?? (t.PYTHONINSPECT = "1");
|
|
763
779
|
let a = Un(i), o = a.API;
|
|
764
780
|
if (o.lockFilePromise = On(i.lockFileURL), typeof _createPyodideModule != "function") {
|
|
765
781
|
let m = `${i.indexURL}pyodide.asm.js`;
|
|
766
|
-
await
|
|
782
|
+
await nt(m);
|
|
767
783
|
}
|
|
768
784
|
let u;
|
|
769
785
|
if (e._loadSnapshot) {
|
|
@@ -778,8 +794,8 @@ async function Gn(e = {}) {
|
|
|
778
794
|
};
|
|
779
795
|
let c;
|
|
780
796
|
u && (c = o.restoreSnapshot(u));
|
|
781
|
-
let
|
|
782
|
-
return o.sys.path.insert(0, o.config.env.HOME),
|
|
797
|
+
let p = o.finalizeBootstrap(c);
|
|
798
|
+
return o.sys.path.insert(0, o.config.env.HOME), p.version.includes("dev") || o.setCdnUrl(`https://cdn.jsdelivr.net/pyodide/v${p.version}/full/`), o._pyodide.set_excepthook(), await o.packageIndexReady, o.initializeStreams(i.stdin, i.stdout, i.stderr), p;
|
|
783
799
|
}
|
|
784
800
|
N(Gn, "loadPyodide");
|
|
785
801
|
var Q = typeof globalThis < "u" && globalThis || typeof self < "u" && self || // eslint-disable-next-line no-undef
|
|
@@ -818,10 +834,10 @@ function Xe(e) {
|
|
|
818
834
|
throw new TypeError('Invalid character in header field name: "' + e + '"');
|
|
819
835
|
return e.toLowerCase();
|
|
820
836
|
}
|
|
821
|
-
function
|
|
837
|
+
function Ft(e) {
|
|
822
838
|
return typeof e != "string" && (e = String(e)), e;
|
|
823
839
|
}
|
|
824
|
-
function
|
|
840
|
+
function Mt(e) {
|
|
825
841
|
var n = {
|
|
826
842
|
next: function() {
|
|
827
843
|
var t = e.shift();
|
|
@@ -844,7 +860,7 @@ function G(e) {
|
|
|
844
860
|
}, this);
|
|
845
861
|
}
|
|
846
862
|
G.prototype.append = function(e, n) {
|
|
847
|
-
e = Xe(e), n =
|
|
863
|
+
e = Xe(e), n = Ft(n);
|
|
848
864
|
var t = this.map[e];
|
|
849
865
|
this.map[e] = t ? t + ", " + n : n;
|
|
850
866
|
};
|
|
@@ -858,7 +874,7 @@ G.prototype.has = function(e) {
|
|
|
858
874
|
return this.map.hasOwnProperty(Xe(e));
|
|
859
875
|
};
|
|
860
876
|
G.prototype.set = function(e, n) {
|
|
861
|
-
this.map[Xe(e)] =
|
|
877
|
+
this.map[Xe(e)] = Ft(n);
|
|
862
878
|
};
|
|
863
879
|
G.prototype.forEach = function(e, n) {
|
|
864
880
|
for (var t in this.map)
|
|
@@ -868,22 +884,22 @@ G.prototype.keys = function() {
|
|
|
868
884
|
var e = [];
|
|
869
885
|
return this.forEach(function(n, t) {
|
|
870
886
|
e.push(t);
|
|
871
|
-
}),
|
|
887
|
+
}), Mt(e);
|
|
872
888
|
};
|
|
873
889
|
G.prototype.values = function() {
|
|
874
890
|
var e = [];
|
|
875
891
|
return this.forEach(function(n) {
|
|
876
892
|
e.push(n);
|
|
877
|
-
}),
|
|
893
|
+
}), Mt(e);
|
|
878
894
|
};
|
|
879
895
|
G.prototype.entries = function() {
|
|
880
896
|
var e = [];
|
|
881
897
|
return this.forEach(function(n, t) {
|
|
882
898
|
e.push([t, n]);
|
|
883
|
-
}),
|
|
899
|
+
}), Mt(e);
|
|
884
900
|
};
|
|
885
901
|
Y.iterable && (G.prototype[Symbol.iterator] = G.prototype.entries);
|
|
886
|
-
function
|
|
902
|
+
function gt(e) {
|
|
887
903
|
if (!e._noBody) {
|
|
888
904
|
if (e.bodyUsed)
|
|
889
905
|
return Promise.reject(new TypeError("Already read"));
|
|
@@ -922,7 +938,7 @@ function Vn() {
|
|
|
922
938
|
return this.bodyUsed = !1, this._initBody = function(e) {
|
|
923
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 && Xr(e) ? (this._bodyArrayBuffer = Vt(e.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : Y.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(e) || Kr(e)) ? this._bodyArrayBuffer = Vt(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"));
|
|
924
940
|
}, Y.blob && (this.blob = function() {
|
|
925
|
-
var e =
|
|
941
|
+
var e = gt(this);
|
|
926
942
|
if (e)
|
|
927
943
|
return e;
|
|
928
944
|
if (this._bodyBlob)
|
|
@@ -934,7 +950,7 @@ function Vn() {
|
|
|
934
950
|
return Promise.resolve(new Blob([this._bodyText]));
|
|
935
951
|
}), this.arrayBuffer = function() {
|
|
936
952
|
if (this._bodyArrayBuffer) {
|
|
937
|
-
var e =
|
|
953
|
+
var e = gt(this);
|
|
938
954
|
return e || (ArrayBuffer.isView(this._bodyArrayBuffer) ? Promise.resolve(
|
|
939
955
|
this._bodyArrayBuffer.buffer.slice(
|
|
940
956
|
this._bodyArrayBuffer.byteOffset,
|
|
@@ -947,7 +963,7 @@ function Vn() {
|
|
|
947
963
|
throw new Error("could not read as ArrayBuffer");
|
|
948
964
|
}
|
|
949
965
|
}, this.text = function() {
|
|
950
|
-
var e =
|
|
966
|
+
var e = gt(this);
|
|
951
967
|
if (e)
|
|
952
968
|
return e;
|
|
953
969
|
if (this._bodyBlob)
|
|
@@ -1104,7 +1120,7 @@ function Qn(e, n) {
|
|
|
1104
1120
|
if (i.open(s.method, o(s.url), !0), s.credentials === "include" ? i.withCredentials = !0 : s.credentials === "omit" && (i.withCredentials = !1), "responseType" in i && (Y.blob ? i.responseType = "blob" : Y.arrayBuffer && (i.responseType = "arraybuffer")), n && typeof n.headers == "object" && !(n.headers instanceof G || Q.Headers && n.headers instanceof Q.Headers)) {
|
|
1105
1121
|
var u = [];
|
|
1106
1122
|
Object.getOwnPropertyNames(n.headers).forEach(function(l) {
|
|
1107
|
-
u.push(Xe(l)), i.setRequestHeader(l,
|
|
1123
|
+
u.push(Xe(l)), i.setRequestHeader(l, Ft(n.headers[l]));
|
|
1108
1124
|
}), s.headers.forEach(function(l, c) {
|
|
1109
1125
|
u.indexOf(c) === -1 && i.setRequestHeader(c, l);
|
|
1110
1126
|
});
|
|
@@ -1124,7 +1140,7 @@ class ti extends Error {
|
|
|
1124
1140
|
super(n);
|
|
1125
1141
|
}
|
|
1126
1142
|
}
|
|
1127
|
-
function
|
|
1143
|
+
function Se(e, n, t, r) {
|
|
1128
1144
|
return r ? new Promise((s, i) => {
|
|
1129
1145
|
const a = e.animate(n, t), o = () => {
|
|
1130
1146
|
a.pause();
|
|
@@ -1140,8 +1156,8 @@ function Ce(e, n, t, r) {
|
|
|
1140
1156
|
});
|
|
1141
1157
|
}
|
|
1142
1158
|
var de = /* @__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))(de || {}), He = /* @__PURE__ */ ((e) => (e.Small = "btn-sm", e.Medium = "btn-md", e.Large = "btn-lg", e.ExtraLarge = "btn-xl", e))(He || {});
|
|
1143
|
-
function
|
|
1144
|
-
const a = /* @__PURE__ */
|
|
1159
|
+
function Je({ as: e = "button", type: n, variant: t = "btn-primary", size: r = "btn-lg", ...s }, i) {
|
|
1160
|
+
const a = /* @__PURE__ */ b(e, { ...s }, i);
|
|
1145
1161
|
return e === "button" && (a.type = n || "button"), a.classList.add("btn"), t && a.classList.add(t), r && a.classList.add(r), a;
|
|
1146
1162
|
}
|
|
1147
1163
|
class Qt {
|
|
@@ -1155,7 +1171,7 @@ class Qt {
|
|
|
1155
1171
|
"Content-Type": "application/json"
|
|
1156
1172
|
},
|
|
1157
1173
|
body: JSON.stringify({
|
|
1158
|
-
type:
|
|
1174
|
+
type: Qe.OperationResult,
|
|
1159
1175
|
operationId: this.operationId,
|
|
1160
1176
|
operationResult: n
|
|
1161
1177
|
})
|
|
@@ -1172,7 +1188,7 @@ class Qt {
|
|
|
1172
1188
|
"Content-Type": "application/json"
|
|
1173
1189
|
},
|
|
1174
1190
|
body: JSON.stringify({
|
|
1175
|
-
type:
|
|
1191
|
+
type: Qe.OperationError,
|
|
1176
1192
|
operationId: this.operationId,
|
|
1177
1193
|
operationError: n
|
|
1178
1194
|
})
|
|
@@ -1210,7 +1226,7 @@ function ii(e) {
|
|
|
1210
1226
|
return !!(e && typeof e == "object");
|
|
1211
1227
|
}
|
|
1212
1228
|
const Zt = document.createElement("i");
|
|
1213
|
-
function
|
|
1229
|
+
function Rt(e) {
|
|
1214
1230
|
const n = "&" + e + ";";
|
|
1215
1231
|
Zt.innerHTML = n;
|
|
1216
1232
|
const t = Zt.textContent;
|
|
@@ -1276,15 +1292,15 @@ function Zn(e, n) {
|
|
|
1276
1292
|
function We(e) {
|
|
1277
1293
|
return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
|
|
1278
1294
|
}
|
|
1279
|
-
const pe = Ee(/[A-Za-z]/),
|
|
1280
|
-
function
|
|
1295
|
+
const pe = Ee(/[A-Za-z]/), he = Ee(/[\dA-Za-z]/), li = Ee(/[#-'*+\--9=?A-Z^-~]/);
|
|
1296
|
+
function St(e) {
|
|
1281
1297
|
return (
|
|
1282
1298
|
// Special whitespace codes (which have negative values), C0 and Control
|
|
1283
1299
|
// character DEL
|
|
1284
1300
|
e !== null && (e < 32 || e === 127)
|
|
1285
1301
|
);
|
|
1286
1302
|
}
|
|
1287
|
-
const
|
|
1303
|
+
const _t = Ee(/\d/), ui = Ee(/[\dA-Fa-f]/), ci = Ee(/[!-/:-@[-`{-~]/);
|
|
1288
1304
|
function E(e) {
|
|
1289
1305
|
return e !== null && e < -2;
|
|
1290
1306
|
}
|
|
@@ -1402,13 +1418,13 @@ function gi(e) {
|
|
|
1402
1418
|
return n.containerState = {}, e.check(
|
|
1403
1419
|
en,
|
|
1404
1420
|
c,
|
|
1405
|
-
|
|
1421
|
+
p
|
|
1406
1422
|
)(_);
|
|
1407
1423
|
}
|
|
1408
1424
|
function c(_) {
|
|
1409
1425
|
return s && v(), z(r), m(_);
|
|
1410
1426
|
}
|
|
1411
|
-
function
|
|
1427
|
+
function p(_) {
|
|
1412
1428
|
return n.parser.lazy[n.now().line] = r !== t.length, a = n.now().offset, C(_);
|
|
1413
1429
|
}
|
|
1414
1430
|
function m(_) {
|
|
@@ -1497,7 +1513,7 @@ function tn(e) {
|
|
|
1497
1513
|
if (hi(e))
|
|
1498
1514
|
return 2;
|
|
1499
1515
|
}
|
|
1500
|
-
function
|
|
1516
|
+
function Nt(e, n, t) {
|
|
1501
1517
|
const r = [];
|
|
1502
1518
|
let s = -1;
|
|
1503
1519
|
for (; ++s < e.length; ) {
|
|
@@ -1506,7 +1522,7 @@ function Rt(e, n, t) {
|
|
|
1506
1522
|
}
|
|
1507
1523
|
return n;
|
|
1508
1524
|
}
|
|
1509
|
-
const
|
|
1525
|
+
const Et = {
|
|
1510
1526
|
name: "attention",
|
|
1511
1527
|
tokenize: xi,
|
|
1512
1528
|
resolveAll: wi
|
|
@@ -1521,10 +1537,10 @@ function wi(e, n) {
|
|
|
1521
1537
|
if ((e[r][1]._close || e[t][1]._open) && (e[t][1].end.offset - e[t][1].start.offset) % 3 && !((e[r][1].end.offset - e[r][1].start.offset + e[t][1].end.offset - e[t][1].start.offset) % 3))
|
|
1522
1538
|
continue;
|
|
1523
1539
|
u = e[r][1].end.offset - e[r][1].start.offset > 1 && e[t][1].end.offset - e[t][1].start.offset > 1 ? 2 : 1;
|
|
1524
|
-
const
|
|
1525
|
-
nn(
|
|
1540
|
+
const p = Object.assign({}, e[r][1].end), m = Object.assign({}, e[t][1].start);
|
|
1541
|
+
nn(p, -u), nn(m, u), a = {
|
|
1526
1542
|
type: u > 1 ? "strongSequence" : "emphasisSequence",
|
|
1527
|
-
start:
|
|
1543
|
+
start: p,
|
|
1528
1544
|
end: Object.assign({}, e[r][1].end)
|
|
1529
1545
|
}, o = {
|
|
1530
1546
|
type: u > 1 ? "strongSequence" : "emphasisSequence",
|
|
@@ -1548,7 +1564,7 @@ function wi(e, n) {
|
|
|
1548
1564
|
["enter", i, n]
|
|
1549
1565
|
]), l = re(
|
|
1550
1566
|
l,
|
|
1551
|
-
|
|
1567
|
+
Nt(
|
|
1552
1568
|
n.parser.constructs.insideSpan.null,
|
|
1553
1569
|
e.slice(r + 1, t),
|
|
1554
1570
|
n
|
|
@@ -1579,8 +1595,8 @@ function xi(e, n) {
|
|
|
1579
1595
|
function o(u) {
|
|
1580
1596
|
if (u === i)
|
|
1581
1597
|
return e.consume(u), o;
|
|
1582
|
-
const l = e.exit("attentionSequence"), c = tn(u),
|
|
1583
|
-
return l._open = !!(i === 42 ?
|
|
1598
|
+
const l = e.exit("attentionSequence"), c = tn(u), p = !c || c === 2 && s || t.includes(u), m = !s || s === 2 && c || t.includes(r);
|
|
1599
|
+
return l._open = !!(i === 42 ? p : p && (s || !m)), l._close = !!(i === 42 ? m : m && (c || !p)), n(u);
|
|
1584
1600
|
}
|
|
1585
1601
|
}
|
|
1586
1602
|
function nn(e, n) {
|
|
@@ -1600,26 +1616,26 @@ function ki(e, n, t) {
|
|
|
1600
1616
|
return pe(h) ? (e.consume(h), a) : l(h);
|
|
1601
1617
|
}
|
|
1602
1618
|
function a(h) {
|
|
1603
|
-
return h === 43 || h === 45 || h === 46 ||
|
|
1619
|
+
return h === 43 || h === 45 || h === 46 || he(h) ? (r = 1, o(h)) : l(h);
|
|
1604
1620
|
}
|
|
1605
1621
|
function o(h) {
|
|
1606
|
-
return h === 58 ? (e.consume(h), r = 0, u) : (h === 43 || h === 45 || h === 46 ||
|
|
1622
|
+
return h === 58 ? (e.consume(h), r = 0, u) : (h === 43 || h === 45 || h === 46 || he(h)) && r++ < 32 ? (e.consume(h), o) : (r = 0, l(h));
|
|
1607
1623
|
}
|
|
1608
1624
|
function u(h) {
|
|
1609
|
-
return h === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), n) : h === null || h === 32 || h === 60 ||
|
|
1625
|
+
return h === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), n) : h === null || h === 32 || h === 60 || St(h) ? t(h) : (e.consume(h), u);
|
|
1610
1626
|
}
|
|
1611
1627
|
function l(h) {
|
|
1612
1628
|
return h === 64 ? (e.consume(h), c) : li(h) ? (e.consume(h), l) : t(h);
|
|
1613
1629
|
}
|
|
1614
1630
|
function c(h) {
|
|
1615
|
-
return
|
|
1631
|
+
return he(h) ? p(h) : t(h);
|
|
1616
1632
|
}
|
|
1617
|
-
function
|
|
1633
|
+
function p(h) {
|
|
1618
1634
|
return h === 46 ? (e.consume(h), r = 0, c) : h === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(h), e.exit("autolinkMarker"), e.exit("autolink"), n) : m(h);
|
|
1619
1635
|
}
|
|
1620
1636
|
function m(h) {
|
|
1621
|
-
if ((h === 45 ||
|
|
1622
|
-
const C = h === 45 ? m :
|
|
1637
|
+
if ((h === 45 || he(h)) && r++ < 63) {
|
|
1638
|
+
const C = h === 45 ? m : p;
|
|
1623
1639
|
return e.consume(h), C;
|
|
1624
1640
|
}
|
|
1625
1641
|
return t(h);
|
|
@@ -1701,21 +1717,21 @@ function Ei(e, n, t) {
|
|
|
1701
1717
|
const r = this;
|
|
1702
1718
|
let s = 0, i, a;
|
|
1703
1719
|
return o;
|
|
1704
|
-
function o(
|
|
1705
|
-
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(
|
|
1720
|
+
function o(p) {
|
|
1721
|
+
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), u;
|
|
1706
1722
|
}
|
|
1707
|
-
function u(
|
|
1708
|
-
return
|
|
1723
|
+
function u(p) {
|
|
1724
|
+
return p === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(p), e.exit("characterReferenceMarkerNumeric"), l) : (e.enter("characterReferenceValue"), i = 31, a = he, c(p));
|
|
1709
1725
|
}
|
|
1710
|
-
function l(
|
|
1711
|
-
return
|
|
1726
|
+
function l(p) {
|
|
1727
|
+
return p === 88 || p === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(p), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, a = ui, c) : (e.enter("characterReferenceValue"), i = 7, a = _t, c(p));
|
|
1712
1728
|
}
|
|
1713
|
-
function c(
|
|
1714
|
-
if (
|
|
1729
|
+
function c(p) {
|
|
1730
|
+
if (p === 59 && s) {
|
|
1715
1731
|
const m = e.exit("characterReferenceValue");
|
|
1716
|
-
return a ===
|
|
1732
|
+
return a === he && !Rt(r.sliceSerialize(m)) ? t(p) : (e.enter("characterReferenceMarker"), e.consume(p), e.exit("characterReferenceMarker"), e.exit("characterReference"), n);
|
|
1717
1733
|
}
|
|
1718
|
-
return a(
|
|
1734
|
+
return a(p) && s++ < i ? (e.consume(p), c) : t(p);
|
|
1719
1735
|
}
|
|
1720
1736
|
}
|
|
1721
1737
|
const rn = {
|
|
@@ -1741,23 +1757,23 @@ function Ti(e, n, t) {
|
|
|
1741
1757
|
return i = L && L[1].type === "linePrefix" ? L[2].sliceSerialize(L[1], !0).length : 0, o = x, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), c(x);
|
|
1742
1758
|
}
|
|
1743
1759
|
function c(x) {
|
|
1744
|
-
return x === o ? (a++, e.consume(x), c) : a < 3 ? t(x) : (e.exit("codeFencedFenceSequence"), F(x) ? R(e,
|
|
1760
|
+
return x === o ? (a++, e.consume(x), c) : a < 3 ? t(x) : (e.exit("codeFencedFenceSequence"), F(x) ? R(e, p, "whitespace")(x) : p(x));
|
|
1745
1761
|
}
|
|
1746
|
-
function
|
|
1762
|
+
function p(x) {
|
|
1747
1763
|
return x === null || E(x) ? (e.exit("codeFencedFence"), r.interrupt ? n(x) : e.check(rn, S, U)(x)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
1748
1764
|
contentType: "string"
|
|
1749
1765
|
}), m(x));
|
|
1750
1766
|
}
|
|
1751
1767
|
function m(x) {
|
|
1752
|
-
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"),
|
|
1768
|
+
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(x)) : F(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), R(e, h, "whitespace")(x)) : x === 96 && x === o ? t(x) : (e.consume(x), m);
|
|
1753
1769
|
}
|
|
1754
1770
|
function h(x) {
|
|
1755
|
-
return x === null || E(x) ?
|
|
1771
|
+
return x === null || E(x) ? p(x) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
1756
1772
|
contentType: "string"
|
|
1757
1773
|
}), C(x));
|
|
1758
1774
|
}
|
|
1759
1775
|
function C(x) {
|
|
1760
|
-
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"),
|
|
1776
|
+
return x === null || E(x) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), p(x)) : x === 96 && x === o ? t(x) : (e.consume(x), C);
|
|
1761
1777
|
}
|
|
1762
1778
|
function S(x) {
|
|
1763
1779
|
return e.attempt(s, U, P)(x);
|
|
@@ -1817,7 +1833,7 @@ function Ai(e, n, t) {
|
|
|
1817
1833
|
return r.parser.lazy[r.now().line] ? t(a) : n(a);
|
|
1818
1834
|
}
|
|
1819
1835
|
}
|
|
1820
|
-
const
|
|
1836
|
+
const bt = {
|
|
1821
1837
|
name: "codeIndented",
|
|
1822
1838
|
tokenize: Ii
|
|
1823
1839
|
}, Bi = {
|
|
@@ -1880,20 +1896,20 @@ function Ri(e) {
|
|
|
1880
1896
|
function Ni(e, n, t) {
|
|
1881
1897
|
let r = 0, s, i;
|
|
1882
1898
|
return a;
|
|
1883
|
-
function a(
|
|
1884
|
-
return e.enter("codeText"), e.enter("codeTextSequence"), o(
|
|
1899
|
+
function a(p) {
|
|
1900
|
+
return e.enter("codeText"), e.enter("codeTextSequence"), o(p);
|
|
1885
1901
|
}
|
|
1886
|
-
function o(
|
|
1887
|
-
return
|
|
1902
|
+
function o(p) {
|
|
1903
|
+
return p === 96 ? (e.consume(p), r++, o) : (e.exit("codeTextSequence"), u(p));
|
|
1888
1904
|
}
|
|
1889
|
-
function u(
|
|
1890
|
-
return
|
|
1905
|
+
function u(p) {
|
|
1906
|
+
return p === null ? t(p) : p === 32 ? (e.enter("space"), e.consume(p), e.exit("space"), u) : p === 96 ? (i = e.enter("codeTextSequence"), s = 0, c(p)) : E(p) ? (e.enter("lineEnding"), e.consume(p), e.exit("lineEnding"), u) : (e.enter("codeTextData"), l(p));
|
|
1891
1907
|
}
|
|
1892
|
-
function l(
|
|
1893
|
-
return
|
|
1908
|
+
function l(p) {
|
|
1909
|
+
return p === null || p === 32 || p === 96 || E(p) ? (e.exit("codeTextData"), u(p)) : (e.consume(p), l);
|
|
1894
1910
|
}
|
|
1895
|
-
function c(
|
|
1896
|
-
return
|
|
1911
|
+
function c(p) {
|
|
1912
|
+
return p === 96 ? (e.consume(p), s++, c) : s === r ? (e.exit("codeTextSequence"), e.exit("codeText"), n(p)) : (i.type = "codeTextData", l(p));
|
|
1897
1913
|
}
|
|
1898
1914
|
}
|
|
1899
1915
|
function nr(e) {
|
|
@@ -1919,12 +1935,12 @@ function Oi(e, n) {
|
|
|
1919
1935
|
const t = e[n][1], r = e[n][2];
|
|
1920
1936
|
let s = n - 1;
|
|
1921
1937
|
const i = [], a = t._tokenizer || r.parser[t.contentType](t.start), o = a.events, u = [], l = {};
|
|
1922
|
-
let c,
|
|
1938
|
+
let c, p, m = -1, h = t, C = 0, S = 0;
|
|
1923
1939
|
const P = [S];
|
|
1924
1940
|
for (; h; ) {
|
|
1925
1941
|
for (; e[++s][1] !== h; )
|
|
1926
1942
|
;
|
|
1927
|
-
i.push(s), h._tokenizer || (c = r.sliceStream(h), h.next || c.push(null),
|
|
1943
|
+
i.push(s), h._tokenizer || (c = r.sliceStream(h), h.next || c.push(null), p && a.defineSkip(h.start), h._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = !0), a.write(c), h._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = void 0)), p = h, h = h.next;
|
|
1928
1944
|
}
|
|
1929
1945
|
for (h = t; ++m < o.length; )
|
|
1930
1946
|
// Find a void token that includes a break.
|
|
@@ -1988,9 +2004,9 @@ function qi(e, n, t) {
|
|
|
1988
2004
|
function rr(e, n, t, r, s, i, a, o, u) {
|
|
1989
2005
|
const l = u || Number.POSITIVE_INFINITY;
|
|
1990
2006
|
let c = 0;
|
|
1991
|
-
return
|
|
1992
|
-
function
|
|
1993
|
-
return z === 60 ? (e.enter(r), e.enter(s), e.enter(i), e.consume(z), e.exit(i), m) : z === null || z === 32 || z === 41 ||
|
|
2007
|
+
return p;
|
|
2008
|
+
function p(z) {
|
|
2009
|
+
return z === 60 ? (e.enter(r), e.enter(s), e.enter(i), e.consume(z), e.exit(i), m) : z === null || z === 32 || z === 41 || St(z) ? t(z) : (e.enter(r), e.enter(a), e.enter(o), e.enter("chunkString", {
|
|
1994
2010
|
contentType: "string"
|
|
1995
2011
|
}), S(z));
|
|
1996
2012
|
}
|
|
@@ -2006,7 +2022,7 @@ function rr(e, n, t, r, s, i, a, o, u) {
|
|
|
2006
2022
|
return z === 60 || z === 62 || z === 92 ? (e.consume(z), h) : h(z);
|
|
2007
2023
|
}
|
|
2008
2024
|
function S(z) {
|
|
2009
|
-
return !c && (z === null || z === 41 || Z(z)) ? (e.exit("chunkString"), e.exit(o), e.exit(a), 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 ||
|
|
2025
|
+
return !c && (z === null || z === 41 || Z(z)) ? (e.exit("chunkString"), e.exit(o), e.exit(a), 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 || St(z) ? t(z) : (e.consume(z), z === 92 ? P : S);
|
|
2010
2026
|
}
|
|
2011
2027
|
function P(z) {
|
|
2012
2028
|
return z === 40 || z === 41 || z === 92 ? (e.consume(z), S) : S(z);
|
|
@@ -2027,13 +2043,13 @@ function ir(e, n, t, r, s, i) {
|
|
|
2027
2043
|
/* c8 ignore next 3 */
|
|
2028
2044
|
h === 94 && !o && "_hiddenFootnoteSupport" in a.parser.constructs ? t(h) : h === 93 ? (e.exit(i), e.enter(s), e.consume(h), e.exit(s), e.exit(r), n) : E(h) ? (e.enter("lineEnding"), e.consume(h), e.exit("lineEnding"), c) : (e.enter("chunkString", {
|
|
2029
2045
|
contentType: "string"
|
|
2030
|
-
}),
|
|
2046
|
+
}), p(h));
|
|
2031
2047
|
}
|
|
2032
|
-
function
|
|
2033
|
-
return h === null || h === 91 || h === 93 || E(h) || o++ > 999 ? (e.exit("chunkString"), c(h)) : (e.consume(h), u || (u = !F(h)), h === 92 ? m :
|
|
2048
|
+
function p(h) {
|
|
2049
|
+
return h === null || h === 91 || h === 93 || E(h) || o++ > 999 ? (e.exit("chunkString"), c(h)) : (e.consume(h), u || (u = !F(h)), h === 92 ? m : p);
|
|
2034
2050
|
}
|
|
2035
2051
|
function m(h) {
|
|
2036
|
-
return h === 91 || h === 92 || h === 93 ? (e.consume(h), o++,
|
|
2052
|
+
return h === 91 || h === 92 || h === 93 ? (e.consume(h), o++, p) : p(h);
|
|
2037
2053
|
}
|
|
2038
2054
|
}
|
|
2039
2055
|
function sr(e, n, t, r, s, i) {
|
|
@@ -2051,9 +2067,9 @@ function sr(e, n, t, r, s, i) {
|
|
|
2051
2067
|
}), c(m));
|
|
2052
2068
|
}
|
|
2053
2069
|
function c(m) {
|
|
2054
|
-
return m === a || m === null || E(m) ? (e.exit("chunkString"), l(m)) : (e.consume(m), m === 92 ?
|
|
2070
|
+
return m === a || m === null || E(m) ? (e.exit("chunkString"), l(m)) : (e.consume(m), m === 92 ? p : c);
|
|
2055
2071
|
}
|
|
2056
|
-
function
|
|
2072
|
+
function p(m) {
|
|
2057
2073
|
return m === a || m === 92 ? (e.consume(m), c) : c(m);
|
|
2058
2074
|
}
|
|
2059
2075
|
}
|
|
@@ -2116,9 +2132,9 @@ function Hi(e, n, t) {
|
|
|
2116
2132
|
)(h);
|
|
2117
2133
|
}
|
|
2118
2134
|
function c(h) {
|
|
2119
|
-
return e.attempt(Xi,
|
|
2135
|
+
return e.attempt(Xi, p, p)(h);
|
|
2120
2136
|
}
|
|
2121
|
-
function
|
|
2137
|
+
function p(h) {
|
|
2122
2138
|
return F(h) ? R(e, m, "whitespace")(h) : m(h);
|
|
2123
2139
|
}
|
|
2124
2140
|
function m(h) {
|
|
@@ -2290,112 +2306,112 @@ function rs(e, n, t) {
|
|
|
2290
2306
|
const r = this;
|
|
2291
2307
|
let s, i, a, o, u;
|
|
2292
2308
|
return l;
|
|
2293
|
-
function l(
|
|
2294
|
-
return c(
|
|
2309
|
+
function l(f) {
|
|
2310
|
+
return c(f);
|
|
2295
2311
|
}
|
|
2296
|
-
function c(
|
|
2297
|
-
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(
|
|
2312
|
+
function c(f) {
|
|
2313
|
+
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(f), p;
|
|
2298
2314
|
}
|
|
2299
|
-
function f
|
|
2300
|
-
return
|
|
2315
|
+
function p(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 : d) : pe(f) ? (e.consume(f), a = String.fromCharCode(f), P) : t(f);
|
|
2301
2317
|
}
|
|
2302
|
-
function m(
|
|
2303
|
-
return
|
|
2318
|
+
function m(f) {
|
|
2319
|
+
return f === 45 ? (e.consume(f), s = 2, h) : f === 91 ? (e.consume(f), s = 5, o = 0, C) : pe(f) ? (e.consume(f), s = 4, r.interrupt ? n : d) : t(f);
|
|
2304
2320
|
}
|
|
2305
|
-
function h(
|
|
2306
|
-
return
|
|
2321
|
+
function h(f) {
|
|
2322
|
+
return f === 45 ? (e.consume(f), r.interrupt ? n : d) : t(f);
|
|
2307
2323
|
}
|
|
2308
|
-
function C(
|
|
2309
|
-
const
|
|
2310
|
-
return
|
|
2324
|
+
function C(f) {
|
|
2325
|
+
const le = "CDATA[";
|
|
2326
|
+
return f === le.charCodeAt(o++) ? (e.consume(f), o === le.length ? r.interrupt ? n : A : C) : t(f);
|
|
2311
2327
|
}
|
|
2312
|
-
function S(
|
|
2313
|
-
return pe(
|
|
2328
|
+
function S(f) {
|
|
2329
|
+
return pe(f) ? (e.consume(f), a = String.fromCharCode(f), P) : t(f);
|
|
2314
2330
|
}
|
|
2315
|
-
function P(
|
|
2316
|
-
if (
|
|
2317
|
-
const
|
|
2318
|
-
return !
|
|
2331
|
+
function P(f) {
|
|
2332
|
+
if (f === null || f === 47 || f === 62 || Z(f)) {
|
|
2333
|
+
const le = f === 47, Te = a.toLowerCase();
|
|
2334
|
+
return !le && !i && an.includes(Te) ? (s = 1, r.interrupt ? n(f) : A(f)) : Zi.includes(a.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 ? v(f) : _(f));
|
|
2319
2335
|
}
|
|
2320
|
-
return
|
|
2336
|
+
return f === 45 || he(f) ? (e.consume(f), a += String.fromCharCode(f), P) : t(f);
|
|
2321
2337
|
}
|
|
2322
|
-
function z(
|
|
2323
|
-
return
|
|
2338
|
+
function z(f) {
|
|
2339
|
+
return f === 62 ? (e.consume(f), r.interrupt ? n : A) : t(f);
|
|
2324
2340
|
}
|
|
2325
|
-
function v(
|
|
2326
|
-
return F(
|
|
2341
|
+
function v(f) {
|
|
2342
|
+
return F(f) ? (e.consume(f), v) : g(f);
|
|
2327
2343
|
}
|
|
2328
|
-
function _(
|
|
2329
|
-
return
|
|
2344
|
+
function _(f) {
|
|
2345
|
+
return f === 47 ? (e.consume(f), g) : f === 58 || f === 95 || pe(f) ? (e.consume(f), U) : F(f) ? (e.consume(f), _) : g(f);
|
|
2330
2346
|
}
|
|
2331
|
-
function U(
|
|
2332
|
-
return
|
|
2347
|
+
function U(f) {
|
|
2348
|
+
return f === 45 || f === 46 || f === 58 || f === 95 || he(f) ? (e.consume(f), U) : D(f);
|
|
2333
2349
|
}
|
|
2334
|
-
function D(
|
|
2335
|
-
return
|
|
2350
|
+
function D(f) {
|
|
2351
|
+
return f === 61 ? (e.consume(f), x) : F(f) ? (e.consume(f), D) : _(f);
|
|
2336
2352
|
}
|
|
2337
|
-
function x(
|
|
2338
|
-
return
|
|
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, L) : F(f) ? (e.consume(f), x) : q(f);
|
|
2339
2355
|
}
|
|
2340
|
-
function L(
|
|
2341
|
-
return
|
|
2356
|
+
function L(f) {
|
|
2357
|
+
return f === u ? (e.consume(f), u = null, I) : f === null || E(f) ? t(f) : (e.consume(f), L);
|
|
2342
2358
|
}
|
|
2343
|
-
function q(
|
|
2344
|
-
return
|
|
2359
|
+
function q(f) {
|
|
2360
|
+
return f === null || f === 34 || f === 39 || f === 47 || f === 60 || f === 61 || f === 62 || f === 96 || Z(f) ? D(f) : (e.consume(f), q);
|
|
2345
2361
|
}
|
|
2346
|
-
function I(
|
|
2347
|
-
return
|
|
2362
|
+
function I(f) {
|
|
2363
|
+
return f === 47 || f === 62 || F(f) ? _(f) : t(f);
|
|
2348
2364
|
}
|
|
2349
|
-
function g(
|
|
2350
|
-
return
|
|
2365
|
+
function g(f) {
|
|
2366
|
+
return f === 62 ? (e.consume(f), T) : t(f);
|
|
2351
2367
|
}
|
|
2352
|
-
function T(
|
|
2353
|
-
return
|
|
2368
|
+
function T(f) {
|
|
2369
|
+
return f === null || E(f) ? A(f) : F(f) ? (e.consume(f), T) : t(f);
|
|
2354
2370
|
}
|
|
2355
|
-
function A(
|
|
2356
|
-
return
|
|
2371
|
+
function A(f) {
|
|
2372
|
+
return f === 45 && s === 2 ? (e.consume(f), J) : f === 60 && s === 1 ? (e.consume(f), $) : f === 62 && s === 4 ? (e.consume(f), oe) : f === 63 && s === 3 ? (e.consume(f), d) : f === 93 && s === 5 ? (e.consume(f), be) : E(f) && (s === 6 || s === 7) ? (e.exit("htmlFlowData"), e.check(
|
|
2357
2373
|
es,
|
|
2358
2374
|
we,
|
|
2359
2375
|
W
|
|
2360
|
-
)(
|
|
2376
|
+
)(f)) : f === null || E(f) ? (e.exit("htmlFlowData"), W(f)) : (e.consume(f), A);
|
|
2361
2377
|
}
|
|
2362
|
-
function W(
|
|
2378
|
+
function W(f) {
|
|
2363
2379
|
return e.check(
|
|
2364
2380
|
ts,
|
|
2365
2381
|
H,
|
|
2366
2382
|
we
|
|
2367
|
-
)(
|
|
2383
|
+
)(f);
|
|
2368
2384
|
}
|
|
2369
|
-
function H(
|
|
2370
|
-
return e.enter("lineEnding"), e.consume(
|
|
2385
|
+
function H(f) {
|
|
2386
|
+
return e.enter("lineEnding"), e.consume(f), e.exit("lineEnding"), O;
|
|
2371
2387
|
}
|
|
2372
|
-
function O(
|
|
2373
|
-
return
|
|
2388
|
+
function O(f) {
|
|
2389
|
+
return f === null || E(f) ? W(f) : (e.enter("htmlFlowData"), A(f));
|
|
2374
2390
|
}
|
|
2375
|
-
function J(
|
|
2376
|
-
return
|
|
2391
|
+
function J(f) {
|
|
2392
|
+
return f === 45 ? (e.consume(f), d) : A(f);
|
|
2377
2393
|
}
|
|
2378
|
-
function $(
|
|
2379
|
-
return
|
|
2394
|
+
function $(f) {
|
|
2395
|
+
return f === 47 ? (e.consume(f), a = "", ae) : A(f);
|
|
2380
2396
|
}
|
|
2381
|
-
function
|
|
2382
|
-
if (
|
|
2383
|
-
const
|
|
2384
|
-
return an.includes(
|
|
2397
|
+
function ae(f) {
|
|
2398
|
+
if (f === 62) {
|
|
2399
|
+
const le = a.toLowerCase();
|
|
2400
|
+
return an.includes(le) ? (e.consume(f), oe) : A(f);
|
|
2385
2401
|
}
|
|
2386
|
-
return pe(
|
|
2402
|
+
return pe(f) && a.length < 8 ? (e.consume(f), a += String.fromCharCode(f), ae) : A(f);
|
|
2387
2403
|
}
|
|
2388
|
-
function be(
|
|
2389
|
-
return
|
|
2404
|
+
function be(f) {
|
|
2405
|
+
return f === 93 ? (e.consume(f), d) : A(f);
|
|
2390
2406
|
}
|
|
2391
|
-
function d(
|
|
2392
|
-
return
|
|
2407
|
+
function d(f) {
|
|
2408
|
+
return f === 62 ? (e.consume(f), oe) : f === 45 && s === 2 ? (e.consume(f), d) : A(f);
|
|
2393
2409
|
}
|
|
2394
|
-
function
|
|
2395
|
-
return
|
|
2410
|
+
function oe(f) {
|
|
2411
|
+
return f === null || E(f) ? (e.exit("htmlFlowData"), we(f)) : (e.consume(f), oe);
|
|
2396
2412
|
}
|
|
2397
|
-
function we(
|
|
2398
|
-
return e.exit("htmlFlow"), n(
|
|
2413
|
+
function we(f) {
|
|
2414
|
+
return e.exit("htmlFlow"), n(f);
|
|
2399
2415
|
}
|
|
2400
2416
|
}
|
|
2401
2417
|
function is(e, n, t) {
|
|
@@ -2434,18 +2450,18 @@ function os(e, n, t) {
|
|
|
2434
2450
|
function c(d) {
|
|
2435
2451
|
return d === 45 ? (e.consume(d), h) : t(d);
|
|
2436
2452
|
}
|
|
2437
|
-
function
|
|
2438
|
-
return d === null ? t(d) : d === 45 ? (e.consume(d), m) : E(d) ? (a =
|
|
2453
|
+
function p(d) {
|
|
2454
|
+
return d === null ? t(d) : d === 45 ? (e.consume(d), m) : E(d) ? (a = p, $(d)) : (e.consume(d), p);
|
|
2439
2455
|
}
|
|
2440
2456
|
function m(d) {
|
|
2441
|
-
return d === 45 ? (e.consume(d), h) :
|
|
2457
|
+
return d === 45 ? (e.consume(d), h) : p(d);
|
|
2442
2458
|
}
|
|
2443
2459
|
function h(d) {
|
|
2444
|
-
return d === 62 ? J(d) : d === 45 ? m(d) :
|
|
2460
|
+
return d === 62 ? J(d) : d === 45 ? m(d) : p(d);
|
|
2445
2461
|
}
|
|
2446
2462
|
function C(d) {
|
|
2447
|
-
const
|
|
2448
|
-
return d ===
|
|
2463
|
+
const oe = "CDATA[";
|
|
2464
|
+
return d === oe.charCodeAt(i++) ? (e.consume(d), i === oe.length ? S : C) : t(d);
|
|
2449
2465
|
}
|
|
2450
2466
|
function S(d) {
|
|
2451
2467
|
return d === null ? t(d) : d === 93 ? (e.consume(d), P) : E(d) ? (a = S, $(d)) : (e.consume(d), S);
|
|
@@ -2469,19 +2485,19 @@ function os(e, n, t) {
|
|
|
2469
2485
|
return pe(d) ? (e.consume(d), x) : t(d);
|
|
2470
2486
|
}
|
|
2471
2487
|
function x(d) {
|
|
2472
|
-
return d === 45 ||
|
|
2488
|
+
return d === 45 || he(d) ? (e.consume(d), x) : L(d);
|
|
2473
2489
|
}
|
|
2474
2490
|
function L(d) {
|
|
2475
2491
|
return E(d) ? (a = L, $(d)) : F(d) ? (e.consume(d), L) : J(d);
|
|
2476
2492
|
}
|
|
2477
2493
|
function q(d) {
|
|
2478
|
-
return d === 45 ||
|
|
2494
|
+
return d === 45 || he(d) ? (e.consume(d), q) : d === 47 || d === 62 || Z(d) ? I(d) : t(d);
|
|
2479
2495
|
}
|
|
2480
2496
|
function I(d) {
|
|
2481
2497
|
return d === 47 ? (e.consume(d), J) : d === 58 || d === 95 || pe(d) ? (e.consume(d), g) : E(d) ? (a = I, $(d)) : F(d) ? (e.consume(d), I) : J(d);
|
|
2482
2498
|
}
|
|
2483
2499
|
function g(d) {
|
|
2484
|
-
return d === 45 || d === 46 || d === 58 || d === 95 ||
|
|
2500
|
+
return d === 45 || d === 46 || d === 58 || d === 95 || he(d) ? (e.consume(d), g) : T(d);
|
|
2485
2501
|
}
|
|
2486
2502
|
function T(d) {
|
|
2487
2503
|
return d === 61 ? (e.consume(d), A) : E(d) ? (a = T, $(d)) : F(d) ? (e.consume(d), T) : I(d);
|
|
@@ -2502,9 +2518,9 @@ function os(e, n, t) {
|
|
|
2502
2518
|
return d === 62 ? (e.consume(d), e.exit("htmlTextData"), e.exit("htmlText"), n) : t(d);
|
|
2503
2519
|
}
|
|
2504
2520
|
function $(d) {
|
|
2505
|
-
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"),
|
|
2521
|
+
return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(d), e.exit("lineEnding"), ae;
|
|
2506
2522
|
}
|
|
2507
|
-
function
|
|
2523
|
+
function ae(d) {
|
|
2508
2524
|
return F(d) ? R(
|
|
2509
2525
|
e,
|
|
2510
2526
|
be,
|
|
@@ -2516,7 +2532,7 @@ function os(e, n, t) {
|
|
|
2516
2532
|
return e.enter("htmlTextData"), a(d);
|
|
2517
2533
|
}
|
|
2518
2534
|
}
|
|
2519
|
-
const
|
|
2535
|
+
const Ot = {
|
|
2520
2536
|
name: "labelEnd",
|
|
2521
2537
|
tokenize: ps,
|
|
2522
2538
|
resolveTo: ds,
|
|
@@ -2567,7 +2583,7 @@ function ds(e, n) {
|
|
|
2567
2583
|
["enter", l, n]
|
|
2568
2584
|
], o = re(o, e.slice(i + 1, i + r + 3)), o = re(o, [["enter", c, n]]), o = re(
|
|
2569
2585
|
o,
|
|
2570
|
-
|
|
2586
|
+
Nt(
|
|
2571
2587
|
n.parser.constructs.insideSpan.null,
|
|
2572
2588
|
e.slice(i + r + 4, a - 3),
|
|
2573
2589
|
n
|
|
@@ -2589,7 +2605,7 @@ function ps(e, n, t) {
|
|
|
2589
2605
|
}
|
|
2590
2606
|
return o;
|
|
2591
2607
|
function o(m) {
|
|
2592
|
-
return i ? i._inactive ?
|
|
2608
|
+
return i ? i._inactive ? p(m) : (a = r.parser.defined.includes(
|
|
2593
2609
|
We(
|
|
2594
2610
|
r.sliceSerialize({
|
|
2595
2611
|
start: i.end,
|
|
@@ -2602,37 +2618,37 @@ function ps(e, n, t) {
|
|
|
2602
2618
|
return m === 40 ? e.attempt(
|
|
2603
2619
|
ls,
|
|
2604
2620
|
c,
|
|
2605
|
-
a ? c :
|
|
2621
|
+
a ? c : p
|
|
2606
2622
|
)(m) : m === 91 ? e.attempt(
|
|
2607
2623
|
us,
|
|
2608
2624
|
c,
|
|
2609
|
-
a ? l :
|
|
2610
|
-
)(m) : a ? c(m) :
|
|
2625
|
+
a ? l : p
|
|
2626
|
+
)(m) : a ? c(m) : p(m);
|
|
2611
2627
|
}
|
|
2612
2628
|
function l(m) {
|
|
2613
2629
|
return e.attempt(
|
|
2614
2630
|
cs,
|
|
2615
2631
|
c,
|
|
2616
|
-
|
|
2632
|
+
p
|
|
2617
2633
|
)(m);
|
|
2618
2634
|
}
|
|
2619
2635
|
function c(m) {
|
|
2620
2636
|
return n(m);
|
|
2621
2637
|
}
|
|
2622
|
-
function
|
|
2638
|
+
function p(m) {
|
|
2623
2639
|
return i._balanced = !0, t(m);
|
|
2624
2640
|
}
|
|
2625
2641
|
}
|
|
2626
2642
|
function fs(e, n, t) {
|
|
2627
2643
|
return r;
|
|
2628
|
-
function r(
|
|
2629
|
-
return e.enter("resource"), e.enter("resourceMarker"), e.consume(
|
|
2644
|
+
function r(p) {
|
|
2645
|
+
return e.enter("resource"), e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), s;
|
|
2630
2646
|
}
|
|
2631
|
-
function s(
|
|
2632
|
-
return Z(
|
|
2647
|
+
function s(p) {
|
|
2648
|
+
return Z(p) ? Ve(e, i)(p) : i(p);
|
|
2633
2649
|
}
|
|
2634
|
-
function i(
|
|
2635
|
-
return
|
|
2650
|
+
function i(p) {
|
|
2651
|
+
return p === 41 ? c(p) : rr(
|
|
2636
2652
|
e,
|
|
2637
2653
|
a,
|
|
2638
2654
|
o,
|
|
@@ -2642,29 +2658,29 @@ function fs(e, n, t) {
|
|
|
2642
2658
|
"resourceDestinationRaw",
|
|
2643
2659
|
"resourceDestinationString",
|
|
2644
2660
|
32
|
|
2645
|
-
)(
|
|
2661
|
+
)(p);
|
|
2646
2662
|
}
|
|
2647
|
-
function a(
|
|
2648
|
-
return Z(
|
|
2663
|
+
function a(p) {
|
|
2664
|
+
return Z(p) ? Ve(e, u)(p) : c(p);
|
|
2649
2665
|
}
|
|
2650
|
-
function o(
|
|
2651
|
-
return t(
|
|
2666
|
+
function o(p) {
|
|
2667
|
+
return t(p);
|
|
2652
2668
|
}
|
|
2653
|
-
function u(
|
|
2654
|
-
return
|
|
2669
|
+
function u(p) {
|
|
2670
|
+
return p === 34 || p === 39 || p === 40 ? sr(
|
|
2655
2671
|
e,
|
|
2656
2672
|
l,
|
|
2657
2673
|
t,
|
|
2658
2674
|
"resourceTitle",
|
|
2659
2675
|
"resourceTitleMarker",
|
|
2660
2676
|
"resourceTitleString"
|
|
2661
|
-
)(
|
|
2677
|
+
)(p) : c(p);
|
|
2662
2678
|
}
|
|
2663
|
-
function l(
|
|
2664
|
-
return Z(
|
|
2679
|
+
function l(p) {
|
|
2680
|
+
return Z(p) ? Ve(e, c)(p) : c(p);
|
|
2665
2681
|
}
|
|
2666
|
-
function c(
|
|
2667
|
-
return
|
|
2682
|
+
function c(p) {
|
|
2683
|
+
return p === 41 ? (e.enter("resourceMarker"), e.consume(p), e.exit("resourceMarker"), e.exit("resource"), n) : t(p);
|
|
2668
2684
|
}
|
|
2669
2685
|
}
|
|
2670
2686
|
function ms(e, n, t) {
|
|
@@ -2704,7 +2720,7 @@ function gs(e, n, t) {
|
|
|
2704
2720
|
const bs = {
|
|
2705
2721
|
name: "labelStartImage",
|
|
2706
2722
|
tokenize: ws,
|
|
2707
|
-
resolveAll:
|
|
2723
|
+
resolveAll: Ot.resolveAll
|
|
2708
2724
|
};
|
|
2709
2725
|
function ws(e, n, t) {
|
|
2710
2726
|
const r = this;
|
|
@@ -2722,7 +2738,7 @@ function ws(e, n, t) {
|
|
|
2722
2738
|
const xs = {
|
|
2723
2739
|
name: "labelStartLink",
|
|
2724
2740
|
tokenize: ys,
|
|
2725
|
-
resolveAll:
|
|
2741
|
+
resolveAll: Ot.resolveAll
|
|
2726
2742
|
};
|
|
2727
2743
|
function ys(e, n, t) {
|
|
2728
2744
|
const r = this;
|
|
@@ -2734,7 +2750,7 @@ function ys(e, n, t) {
|
|
|
2734
2750
|
return a === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? t(a) : n(a);
|
|
2735
2751
|
}
|
|
2736
2752
|
}
|
|
2737
|
-
const
|
|
2753
|
+
const wt = {
|
|
2738
2754
|
name: "lineEnding",
|
|
2739
2755
|
tokenize: ks
|
|
2740
2756
|
};
|
|
@@ -2744,7 +2760,7 @@ function ks(e, n) {
|
|
|
2744
2760
|
return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), R(e, n, "linePrefix");
|
|
2745
2761
|
}
|
|
2746
2762
|
}
|
|
2747
|
-
const
|
|
2763
|
+
const rt = {
|
|
2748
2764
|
name: "thematicBreak",
|
|
2749
2765
|
tokenize: zs
|
|
2750
2766
|
};
|
|
@@ -2784,18 +2800,18 @@ function Ss(e, n, t) {
|
|
|
2784
2800
|
return o;
|
|
2785
2801
|
function o(h) {
|
|
2786
2802
|
const C = r.containerState.type || (h === 42 || h === 43 || h === 45 ? "listUnordered" : "listOrdered");
|
|
2787
|
-
if (C === "listUnordered" ? !r.containerState.marker || h === r.containerState.marker :
|
|
2803
|
+
if (C === "listUnordered" ? !r.containerState.marker || h === r.containerState.marker : _t(h)) {
|
|
2788
2804
|
if (r.containerState.type || (r.containerState.type = C, e.enter(C, {
|
|
2789
2805
|
_container: !0
|
|
2790
2806
|
})), C === "listUnordered")
|
|
2791
|
-
return e.enter("listItemPrefix"), h === 42 || h === 45 ? e.check(
|
|
2807
|
+
return e.enter("listItemPrefix"), h === 42 || h === 45 ? e.check(rt, t, l)(h) : l(h);
|
|
2792
2808
|
if (!r.interrupt || h === 49)
|
|
2793
2809
|
return e.enter("listItemPrefix"), e.enter("listItemValue"), u(h);
|
|
2794
2810
|
}
|
|
2795
2811
|
return t(h);
|
|
2796
2812
|
}
|
|
2797
2813
|
function u(h) {
|
|
2798
|
-
return
|
|
2814
|
+
return _t(h) && ++a < 10 ? (e.consume(h), u) : (!r.interrupt || a < 2) && (r.containerState.marker ? h === r.containerState.marker : h === 41 || h === 46) ? (e.exit("listItemValue"), l(h)) : t(h);
|
|
2799
2815
|
}
|
|
2800
2816
|
function l(h) {
|
|
2801
2817
|
return e.enter("listItemMarker"), e.consume(h), e.exit("listItemMarker"), r.containerState.marker = r.containerState.marker || h, e.check(
|
|
@@ -2805,14 +2821,14 @@ function Ss(e, n, t) {
|
|
|
2805
2821
|
e.attempt(
|
|
2806
2822
|
vs,
|
|
2807
2823
|
m,
|
|
2808
|
-
|
|
2824
|
+
p
|
|
2809
2825
|
)
|
|
2810
2826
|
);
|
|
2811
2827
|
}
|
|
2812
2828
|
function c(h) {
|
|
2813
2829
|
return r.containerState.initialBlankLine = !0, i++, m(h);
|
|
2814
2830
|
}
|
|
2815
|
-
function
|
|
2831
|
+
function p(h) {
|
|
2816
2832
|
return F(h) ? (e.enter("listItemPrefixWhitespace"), e.consume(h), e.exit("listItemPrefixWhitespace"), m) : t(h);
|
|
2817
2833
|
}
|
|
2818
2834
|
function m(h) {
|
|
@@ -2899,13 +2915,13 @@ function Is(e, n, t) {
|
|
|
2899
2915
|
let s;
|
|
2900
2916
|
return i;
|
|
2901
2917
|
function i(l) {
|
|
2902
|
-
let c = r.events.length,
|
|
2918
|
+
let c = r.events.length, p;
|
|
2903
2919
|
for (; c--; )
|
|
2904
2920
|
if (r.events[c][1].type !== "lineEnding" && r.events[c][1].type !== "linePrefix" && r.events[c][1].type !== "content") {
|
|
2905
|
-
|
|
2921
|
+
p = r.events[c][1].type === "paragraph";
|
|
2906
2922
|
break;
|
|
2907
2923
|
}
|
|
2908
|
-
return !r.parser.lazy[r.now().line] && (r.interrupt ||
|
|
2924
|
+
return !r.parser.lazy[r.now().line] && (r.interrupt || p) ? (e.enter("setextHeadingLine"), s = l, a(l)) : t(l);
|
|
2909
2925
|
}
|
|
2910
2926
|
function a(l) {
|
|
2911
2927
|
return e.enter("setextHeadingLineSequence"), o(l);
|
|
@@ -2985,11 +3001,11 @@ function ar(e) {
|
|
|
2985
3001
|
function l(c) {
|
|
2986
3002
|
if (c === null)
|
|
2987
3003
|
return !0;
|
|
2988
|
-
const
|
|
3004
|
+
const p = s[c];
|
|
2989
3005
|
let m = -1;
|
|
2990
|
-
if (
|
|
2991
|
-
for (; ++m <
|
|
2992
|
-
const h =
|
|
3006
|
+
if (p)
|
|
3007
|
+
for (; ++m < p.length; ) {
|
|
3008
|
+
const h = p[m];
|
|
2993
3009
|
if (!h.previous || h.previous.call(r, r.previous))
|
|
2994
3010
|
return !0;
|
|
2995
3011
|
}
|
|
@@ -3082,12 +3098,12 @@ function Ds(e, n, t) {
|
|
|
3082
3098
|
sliceSerialize: m,
|
|
3083
3099
|
now: C,
|
|
3084
3100
|
defineSkip: S,
|
|
3085
|
-
write:
|
|
3101
|
+
write: p
|
|
3086
3102
|
};
|
|
3087
3103
|
let c = n.tokenize.call(l, u);
|
|
3088
3104
|
return n.resolveAll && i.push(n), l;
|
|
3089
|
-
function
|
|
3090
|
-
return a = re(a, T), P(), a[a.length - 1] !== null ? [] : (q(n, 0), l.events =
|
|
3105
|
+
function p(T) {
|
|
3106
|
+
return a = re(a, T), P(), a[a.length - 1] !== null ? [] : (q(n, 0), l.events = Nt(i, l.events, l), l.events);
|
|
3091
3107
|
}
|
|
3092
3108
|
function m(T, A) {
|
|
3093
3109
|
return Us(h(T), A);
|
|
@@ -3142,45 +3158,45 @@ function Ds(e, n, t) {
|
|
|
3142
3158
|
function L(T, A) {
|
|
3143
3159
|
return W;
|
|
3144
3160
|
function W(H, O, J) {
|
|
3145
|
-
let $,
|
|
3161
|
+
let $, ae, be, d;
|
|
3146
3162
|
return Array.isArray(H) ? we(H) : "tokenize" in H ? (
|
|
3147
3163
|
// @ts-expect-error Looks like a construct.
|
|
3148
3164
|
we([H])
|
|
3149
|
-
) :
|
|
3150
|
-
function
|
|
3165
|
+
) : oe(H);
|
|
3166
|
+
function oe(V) {
|
|
3151
3167
|
return Ke;
|
|
3152
|
-
function Ke(
|
|
3153
|
-
const Re =
|
|
3168
|
+
function Ke(ve) {
|
|
3169
|
+
const Re = ve !== null && V[ve], Ne = ve !== null && V.null, Ye = [
|
|
3154
3170
|
// To do: add more extension tests.
|
|
3155
3171
|
/* c8 ignore next 2 */
|
|
3156
3172
|
...Array.isArray(Re) ? Re : Re ? [Re] : [],
|
|
3157
3173
|
...Array.isArray(Ne) ? Ne : Ne ? [Ne] : []
|
|
3158
3174
|
];
|
|
3159
|
-
return we(
|
|
3175
|
+
return we(Ye)(ve);
|
|
3160
3176
|
}
|
|
3161
3177
|
}
|
|
3162
3178
|
function we(V) {
|
|
3163
|
-
return $ = V,
|
|
3179
|
+
return $ = V, ae = 0, V.length === 0 ? J : f(V[ae]);
|
|
3164
3180
|
}
|
|
3165
|
-
function
|
|
3181
|
+
function f(V) {
|
|
3166
3182
|
return Ke;
|
|
3167
|
-
function Ke(
|
|
3183
|
+
function Ke(ve) {
|
|
3168
3184
|
return d = I(), be = V, V.partial || (l.currentConstruct = V), V.name && l.parser.constructs.disable.null.includes(V.name) ? Te() : V.tokenize.call(
|
|
3169
3185
|
// If we do have fields, create an object w/ `context` as its
|
|
3170
3186
|
// prototype.
|
|
3171
3187
|
// This allows a “live binding”, which is needed for `interrupt`.
|
|
3172
3188
|
A ? Object.assign(Object.create(l), A) : l,
|
|
3173
3189
|
u,
|
|
3174
|
-
|
|
3190
|
+
le,
|
|
3175
3191
|
Te
|
|
3176
|
-
)(
|
|
3192
|
+
)(ve);
|
|
3177
3193
|
}
|
|
3178
3194
|
}
|
|
3179
|
-
function
|
|
3195
|
+
function le(V) {
|
|
3180
3196
|
return T(be, d), O;
|
|
3181
3197
|
}
|
|
3182
3198
|
function Te(V) {
|
|
3183
|
-
return d.restore(), ++
|
|
3199
|
+
return d.restore(), ++ae < $.length ? f($[ae]) : J;
|
|
3184
3200
|
}
|
|
3185
3201
|
}
|
|
3186
3202
|
}
|
|
@@ -3279,36 +3295,36 @@ const js = {
|
|
|
3279
3295
|
}, qs = {
|
|
3280
3296
|
91: Wi
|
|
3281
3297
|
}, Ws = {
|
|
3282
|
-
[-2]:
|
|
3283
|
-
[-1]:
|
|
3284
|
-
32:
|
|
3298
|
+
[-2]: bt,
|
|
3299
|
+
[-1]: bt,
|
|
3300
|
+
32: bt
|
|
3285
3301
|
}, Xs = {
|
|
3286
3302
|
35: Vi,
|
|
3287
|
-
42:
|
|
3288
|
-
45: [on,
|
|
3303
|
+
42: rt,
|
|
3304
|
+
45: [on, rt],
|
|
3289
3305
|
60: Yi,
|
|
3290
3306
|
61: on,
|
|
3291
|
-
95:
|
|
3307
|
+
95: rt,
|
|
3292
3308
|
96: sn,
|
|
3293
3309
|
126: sn
|
|
3294
3310
|
}, Hs = {
|
|
3295
3311
|
38: tr,
|
|
3296
3312
|
92: er
|
|
3297
3313
|
}, Ks = {
|
|
3298
|
-
[-5]:
|
|
3299
|
-
[-4]:
|
|
3300
|
-
[-3]:
|
|
3314
|
+
[-5]: wt,
|
|
3315
|
+
[-4]: wt,
|
|
3316
|
+
[-3]: wt,
|
|
3301
3317
|
33: bs,
|
|
3302
3318
|
38: tr,
|
|
3303
|
-
42:
|
|
3319
|
+
42: Et,
|
|
3304
3320
|
60: [yi, as],
|
|
3305
3321
|
91: xs,
|
|
3306
3322
|
92: [Gi, er],
|
|
3307
|
-
93:
|
|
3308
|
-
95:
|
|
3323
|
+
93: Ot,
|
|
3324
|
+
95: Et,
|
|
3309
3325
|
96: Fi
|
|
3310
3326
|
}, Gs = {
|
|
3311
|
-
null: [
|
|
3327
|
+
null: [Et, Ms]
|
|
3312
3328
|
}, $s = {
|
|
3313
3329
|
null: [42, 95]
|
|
3314
3330
|
}, Vs = {
|
|
@@ -3358,16 +3374,16 @@ function Ys() {
|
|
|
3358
3374
|
return s;
|
|
3359
3375
|
function s(i, a, o) {
|
|
3360
3376
|
const u = [];
|
|
3361
|
-
let l, c,
|
|
3362
|
-
for (i = n + (typeof i == "string" ? i.toString() : new TextDecoder(a || void 0).decode(i)),
|
|
3363
|
-
if (ln.lastIndex =
|
|
3364
|
-
n = i.slice(
|
|
3377
|
+
let l, c, p, m, h;
|
|
3378
|
+
for (i = n + (typeof i == "string" ? i.toString() : new TextDecoder(a || void 0).decode(i)), p = 0, n = "", t && (i.charCodeAt(0) === 65279 && p++, t = void 0); p < i.length; ) {
|
|
3379
|
+
if (ln.lastIndex = p, l = ln.exec(i), m = l && l.index !== void 0 ? l.index : i.length, h = i.charCodeAt(m), !l) {
|
|
3380
|
+
n = i.slice(p);
|
|
3365
3381
|
break;
|
|
3366
3382
|
}
|
|
3367
|
-
if (h === 10 &&
|
|
3383
|
+
if (h === 10 && p === m && r)
|
|
3368
3384
|
u.push(-3), r = void 0;
|
|
3369
3385
|
else
|
|
3370
|
-
switch (r && (u.push(-5), r = void 0),
|
|
3386
|
+
switch (r && (u.push(-5), r = void 0), p < m && (u.push(i.slice(p, m)), e += m - p), h) {
|
|
3371
3387
|
case 0: {
|
|
3372
3388
|
u.push(65533), e++;
|
|
3373
3389
|
break;
|
|
@@ -3383,7 +3399,7 @@ function Ys() {
|
|
|
3383
3399
|
default:
|
|
3384
3400
|
r = !0, e = 1;
|
|
3385
3401
|
}
|
|
3386
|
-
|
|
3402
|
+
p = m + 1;
|
|
3387
3403
|
}
|
|
3388
3404
|
return o && (r && u.push(-5), n && u.push(n), u.push(null)), u;
|
|
3389
3405
|
}
|
|
@@ -3399,16 +3415,16 @@ function na(e, n, t) {
|
|
|
3399
3415
|
const s = t.charCodeAt(1), i = s === 120 || s === 88;
|
|
3400
3416
|
return Zn(t.slice(i ? 2 : 1), i ? 16 : 10);
|
|
3401
3417
|
}
|
|
3402
|
-
return
|
|
3418
|
+
return Rt(t) || e;
|
|
3403
3419
|
}
|
|
3404
|
-
function
|
|
3405
|
-
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? un(e.position) : "start" in e || "end" in e ? un(e) : "line" in e || "column" in e ?
|
|
3420
|
+
function it(e) {
|
|
3421
|
+
return !e || typeof e != "object" ? "" : "position" in e || "type" in e ? un(e.position) : "start" in e || "end" in e ? un(e) : "line" in e || "column" in e ? Tt(e) : "";
|
|
3406
3422
|
}
|
|
3407
|
-
function
|
|
3423
|
+
function Tt(e) {
|
|
3408
3424
|
return cn(e && e.line) + ":" + cn(e && e.column);
|
|
3409
3425
|
}
|
|
3410
3426
|
function un(e) {
|
|
3411
|
-
return
|
|
3427
|
+
return Tt(e && e.start) + "-" + Tt(e && e.end);
|
|
3412
3428
|
}
|
|
3413
3429
|
function cn(e) {
|
|
3414
3430
|
return e && typeof e == "number" ? e : 1;
|
|
@@ -3422,17 +3438,17 @@ function ia(e) {
|
|
|
3422
3438
|
transforms: [],
|
|
3423
3439
|
canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
|
|
3424
3440
|
enter: {
|
|
3425
|
-
autolink: i(
|
|
3441
|
+
autolink: i(Ht),
|
|
3426
3442
|
autolinkProtocol: I,
|
|
3427
3443
|
autolinkEmail: I,
|
|
3428
|
-
atxHeading: i(
|
|
3444
|
+
atxHeading: i(qt),
|
|
3429
3445
|
blockQuote: i(Ne),
|
|
3430
3446
|
characterEscape: I,
|
|
3431
3447
|
characterReference: I,
|
|
3432
|
-
codeFenced: i(
|
|
3448
|
+
codeFenced: i(Ye),
|
|
3433
3449
|
codeFencedFenceInfo: a,
|
|
3434
3450
|
codeFencedFenceMeta: a,
|
|
3435
|
-
codeIndented: i(
|
|
3451
|
+
codeIndented: i(Ye, a),
|
|
3436
3452
|
codeText: i(br, a),
|
|
3437
3453
|
codeTextData: I,
|
|
3438
3454
|
data: I,
|
|
@@ -3442,25 +3458,25 @@ function ia(e) {
|
|
|
3442
3458
|
definitionLabelString: a,
|
|
3443
3459
|
definitionTitleString: a,
|
|
3444
3460
|
emphasis: i(xr),
|
|
3445
|
-
hardBreakEscape: i(
|
|
3446
|
-
hardBreakTrailing: i(
|
|
3447
|
-
htmlFlow: i(
|
|
3461
|
+
hardBreakEscape: i(Wt),
|
|
3462
|
+
hardBreakTrailing: i(Wt),
|
|
3463
|
+
htmlFlow: i(Xt, a),
|
|
3448
3464
|
htmlFlowData: I,
|
|
3449
|
-
htmlText: i(
|
|
3465
|
+
htmlText: i(Xt, a),
|
|
3450
3466
|
htmlTextData: I,
|
|
3451
3467
|
image: i(yr),
|
|
3452
3468
|
label: a,
|
|
3453
|
-
link: i(
|
|
3469
|
+
link: i(Ht),
|
|
3454
3470
|
listItem: i(kr),
|
|
3455
3471
|
listItemValue: m,
|
|
3456
|
-
listOrdered: i(
|
|
3457
|
-
listUnordered: i(
|
|
3472
|
+
listOrdered: i(Kt, p),
|
|
3473
|
+
listUnordered: i(Kt),
|
|
3458
3474
|
paragraph: i(zr),
|
|
3459
|
-
reference:
|
|
3475
|
+
reference: f,
|
|
3460
3476
|
referenceString: a,
|
|
3461
3477
|
resourceDestinationString: a,
|
|
3462
3478
|
resourceTitleString: a,
|
|
3463
|
-
setextHeading: i(
|
|
3479
|
+
setextHeading: i(qt),
|
|
3464
3480
|
strong: i(vr),
|
|
3465
3481
|
thematicBreak: i(Sr)
|
|
3466
3482
|
},
|
|
@@ -3469,7 +3485,7 @@ function ia(e) {
|
|
|
3469
3485
|
atxHeadingSequence: D,
|
|
3470
3486
|
autolink: u(),
|
|
3471
3487
|
autolinkEmail: Re,
|
|
3472
|
-
autolinkProtocol:
|
|
3488
|
+
autolinkProtocol: ve,
|
|
3473
3489
|
blockQuote: u(),
|
|
3474
3490
|
characterEscapeValue: g,
|
|
3475
3491
|
characterReferenceMarkerHexadecimal: Te,
|
|
@@ -3498,16 +3514,16 @@ function ia(e) {
|
|
|
3498
3514
|
htmlTextData: g,
|
|
3499
3515
|
image: u($),
|
|
3500
3516
|
label: be,
|
|
3501
|
-
labelText:
|
|
3517
|
+
labelText: ae,
|
|
3502
3518
|
lineEnding: T,
|
|
3503
3519
|
link: u(J),
|
|
3504
3520
|
listItem: u(),
|
|
3505
3521
|
listOrdered: u(),
|
|
3506
3522
|
listUnordered: u(),
|
|
3507
3523
|
paragraph: u(),
|
|
3508
|
-
referenceString:
|
|
3524
|
+
referenceString: le,
|
|
3509
3525
|
resourceDestinationString: d,
|
|
3510
|
-
resourceTitleString:
|
|
3526
|
+
resourceTitleString: oe,
|
|
3511
3527
|
resource: we,
|
|
3512
3528
|
setextHeading: u(q),
|
|
3513
3529
|
setextHeadingLineSequence: L,
|
|
@@ -3519,7 +3535,7 @@ function ia(e) {
|
|
|
3519
3535
|
ur(n, (e || {}).mdastExtensions || []);
|
|
3520
3536
|
const t = {};
|
|
3521
3537
|
return r;
|
|
3522
|
-
function r(
|
|
3538
|
+
function r(w) {
|
|
3523
3539
|
let k = {
|
|
3524
3540
|
type: "root",
|
|
3525
3541
|
children: []
|
|
@@ -3535,31 +3551,31 @@ function ia(e) {
|
|
|
3535
3551
|
data: t
|
|
3536
3552
|
}, M = [];
|
|
3537
3553
|
let X = -1;
|
|
3538
|
-
for (; ++X <
|
|
3539
|
-
if (
|
|
3540
|
-
if (
|
|
3554
|
+
for (; ++X < w.length; )
|
|
3555
|
+
if (w[X][1].type === "listOrdered" || w[X][1].type === "listUnordered")
|
|
3556
|
+
if (w[X][0] === "enter")
|
|
3541
3557
|
M.push(X);
|
|
3542
3558
|
else {
|
|
3543
|
-
const
|
|
3544
|
-
X = s(
|
|
3559
|
+
const ue = M.pop();
|
|
3560
|
+
X = s(w, ue, X);
|
|
3545
3561
|
}
|
|
3546
|
-
for (X = -1; ++X <
|
|
3547
|
-
const
|
|
3548
|
-
lr.call(
|
|
3549
|
-
sliceSerialize:
|
|
3550
|
-
}, B),
|
|
3562
|
+
for (X = -1; ++X < w.length; ) {
|
|
3563
|
+
const ue = n[w[X][0]];
|
|
3564
|
+
lr.call(ue, w[X][1].type) && ue[w[X][1].type].call(Object.assign({
|
|
3565
|
+
sliceSerialize: w[X][2].sliceSerialize
|
|
3566
|
+
}, B), w[X][1]);
|
|
3551
3567
|
}
|
|
3552
3568
|
if (B.tokenStack.length > 0) {
|
|
3553
|
-
const
|
|
3554
|
-
(
|
|
3569
|
+
const ue = B.tokenStack[B.tokenStack.length - 1];
|
|
3570
|
+
(ue[1] || hn).call(B, void 0, ue[0]);
|
|
3555
3571
|
}
|
|
3556
3572
|
for (k.position = {
|
|
3557
|
-
start:
|
|
3573
|
+
start: Ce(w.length > 0 ? w[0][1].start : {
|
|
3558
3574
|
line: 1,
|
|
3559
3575
|
column: 1,
|
|
3560
3576
|
offset: 0
|
|
3561
3577
|
}),
|
|
3562
|
-
end:
|
|
3578
|
+
end: Ce(w.length > 0 ? w[w.length - 2][1].end : {
|
|
3563
3579
|
line: 1,
|
|
3564
3580
|
column: 1,
|
|
3565
3581
|
offset: 0
|
|
@@ -3568,10 +3584,10 @@ function ia(e) {
|
|
|
3568
3584
|
k = n.transforms[X](k) || k;
|
|
3569
3585
|
return k;
|
|
3570
3586
|
}
|
|
3571
|
-
function s(
|
|
3572
|
-
let M = k - 1, X = -1,
|
|
3587
|
+
function s(w, k, B) {
|
|
3588
|
+
let M = k - 1, X = -1, ue = !1, Ae, xe, Ge, $e;
|
|
3573
3589
|
for (; ++M <= B; ) {
|
|
3574
|
-
const te =
|
|
3590
|
+
const te = w[M];
|
|
3575
3591
|
switch (te[1].type) {
|
|
3576
3592
|
case "listUnordered":
|
|
3577
3593
|
case "listOrdered":
|
|
@@ -3596,13 +3612,13 @@ function ia(e) {
|
|
|
3596
3612
|
if (Ae) {
|
|
3597
3613
|
let Oe = M;
|
|
3598
3614
|
for (xe = void 0; Oe--; ) {
|
|
3599
|
-
const ye =
|
|
3615
|
+
const ye = w[Oe];
|
|
3600
3616
|
if (ye[1].type === "lineEnding" || ye[1].type === "lineEndingBlank") {
|
|
3601
3617
|
if (ye[0] === "exit") continue;
|
|
3602
|
-
xe && (
|
|
3618
|
+
xe && (w[xe][1].type = "lineEndingBlank", ue = !0), ye[1].type = "lineEnding", xe = Oe;
|
|
3603
3619
|
} else if (!(ye[1].type === "linePrefix" || ye[1].type === "blockQuotePrefix" || ye[1].type === "blockQuotePrefixWhitespace" || ye[1].type === "blockQuoteMarker" || ye[1].type === "listItemIndent")) break;
|
|
3604
3620
|
}
|
|
3605
|
-
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 ? w[xe][1].start : te[1].end), w.splice(xe || M, 0, ["exit", Ae, te[2]]), M++, B++;
|
|
3606
3622
|
}
|
|
3607
3623
|
if (te[1].type === "listItemPrefix") {
|
|
3608
3624
|
const Oe = {
|
|
@@ -3612,16 +3628,16 @@ function ia(e) {
|
|
|
3612
3628
|
// @ts-expect-error: we’ll add `end` in a second.
|
|
3613
3629
|
end: void 0
|
|
3614
3630
|
};
|
|
3615
|
-
Ae = Oe,
|
|
3631
|
+
Ae = Oe, w.splice(M, 0, ["enter", Oe, te[2]]), M++, B++, Ge = void 0, $e = !0;
|
|
3616
3632
|
}
|
|
3617
3633
|
}
|
|
3618
3634
|
}
|
|
3619
|
-
return
|
|
3635
|
+
return w[k][1]._spread = ue, B;
|
|
3620
3636
|
}
|
|
3621
|
-
function i(
|
|
3637
|
+
function i(w, k) {
|
|
3622
3638
|
return B;
|
|
3623
3639
|
function B(M) {
|
|
3624
|
-
o.call(this,
|
|
3640
|
+
o.call(this, w(M), M), k && k.call(this, M);
|
|
3625
3641
|
}
|
|
3626
3642
|
}
|
|
3627
3643
|
function a() {
|
|
@@ -3630,197 +3646,197 @@ function ia(e) {
|
|
|
3630
3646
|
children: []
|
|
3631
3647
|
});
|
|
3632
3648
|
}
|
|
3633
|
-
function o(
|
|
3634
|
-
this.stack[this.stack.length - 1].children.push(
|
|
3635
|
-
start:
|
|
3649
|
+
function o(w, k, B) {
|
|
3650
|
+
this.stack[this.stack.length - 1].children.push(w), this.stack.push(w), this.tokenStack.push([k, B || void 0]), w.position = {
|
|
3651
|
+
start: Ce(k.start),
|
|
3636
3652
|
// @ts-expect-error: `end` will be patched later.
|
|
3637
3653
|
end: void 0
|
|
3638
3654
|
};
|
|
3639
3655
|
}
|
|
3640
|
-
function u(
|
|
3656
|
+
function u(w) {
|
|
3641
3657
|
return k;
|
|
3642
3658
|
function k(B) {
|
|
3643
|
-
|
|
3659
|
+
w && w.call(this, B), l.call(this, B);
|
|
3644
3660
|
}
|
|
3645
3661
|
}
|
|
3646
|
-
function l(
|
|
3662
|
+
function l(w, k) {
|
|
3647
3663
|
const B = this.stack.pop(), M = this.tokenStack.pop();
|
|
3648
3664
|
if (M)
|
|
3649
|
-
M[0].type !==
|
|
3650
|
-
else throw new Error("Cannot close `" +
|
|
3651
|
-
start:
|
|
3652
|
-
end:
|
|
3665
|
+
M[0].type !== w.type && (k ? k.call(this, w, M[0]) : (M[1] || hn).call(this, w, M[0]));
|
|
3666
|
+
else throw new Error("Cannot close `" + w.type + "` (" + it({
|
|
3667
|
+
start: w.start,
|
|
3668
|
+
end: w.end
|
|
3653
3669
|
}) + "): it’s not open");
|
|
3654
|
-
B.position.end =
|
|
3670
|
+
B.position.end = Ce(w.end);
|
|
3655
3671
|
}
|
|
3656
3672
|
function c() {
|
|
3657
3673
|
return ri(this.stack.pop());
|
|
3658
3674
|
}
|
|
3659
|
-
function
|
|
3675
|
+
function p() {
|
|
3660
3676
|
this.data.expectingFirstListItemValue = !0;
|
|
3661
3677
|
}
|
|
3662
|
-
function m(
|
|
3678
|
+
function m(w) {
|
|
3663
3679
|
if (this.data.expectingFirstListItemValue) {
|
|
3664
3680
|
const k = this.stack[this.stack.length - 2];
|
|
3665
|
-
k.start = Number.parseInt(this.sliceSerialize(
|
|
3681
|
+
k.start = Number.parseInt(this.sliceSerialize(w), 10), this.data.expectingFirstListItemValue = void 0;
|
|
3666
3682
|
}
|
|
3667
3683
|
}
|
|
3668
3684
|
function h() {
|
|
3669
|
-
const
|
|
3670
|
-
k.lang =
|
|
3685
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3686
|
+
k.lang = w;
|
|
3671
3687
|
}
|
|
3672
3688
|
function C() {
|
|
3673
|
-
const
|
|
3674
|
-
k.meta =
|
|
3689
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3690
|
+
k.meta = w;
|
|
3675
3691
|
}
|
|
3676
3692
|
function S() {
|
|
3677
3693
|
this.data.flowCodeInside || (this.buffer(), this.data.flowCodeInside = !0);
|
|
3678
3694
|
}
|
|
3679
3695
|
function P() {
|
|
3680
|
-
const
|
|
3681
|
-
k.value =
|
|
3696
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3697
|
+
k.value = w.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), this.data.flowCodeInside = void 0;
|
|
3682
3698
|
}
|
|
3683
3699
|
function z() {
|
|
3684
|
-
const
|
|
3685
|
-
k.value =
|
|
3700
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3701
|
+
k.value = w.replace(/(\r?\n|\r)$/g, "");
|
|
3686
3702
|
}
|
|
3687
|
-
function v(
|
|
3703
|
+
function v(w) {
|
|
3688
3704
|
const k = this.resume(), B = this.stack[this.stack.length - 1];
|
|
3689
|
-
B.label = k, B.identifier = We(this.sliceSerialize(
|
|
3705
|
+
B.label = k, B.identifier = We(this.sliceSerialize(w)).toLowerCase();
|
|
3690
3706
|
}
|
|
3691
3707
|
function _() {
|
|
3692
|
-
const
|
|
3693
|
-
k.title =
|
|
3708
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3709
|
+
k.title = w;
|
|
3694
3710
|
}
|
|
3695
3711
|
function U() {
|
|
3696
|
-
const
|
|
3697
|
-
k.url =
|
|
3712
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3713
|
+
k.url = w;
|
|
3698
3714
|
}
|
|
3699
|
-
function D(
|
|
3715
|
+
function D(w) {
|
|
3700
3716
|
const k = this.stack[this.stack.length - 1];
|
|
3701
3717
|
if (!k.depth) {
|
|
3702
|
-
const B = this.sliceSerialize(
|
|
3718
|
+
const B = this.sliceSerialize(w).length;
|
|
3703
3719
|
k.depth = B;
|
|
3704
3720
|
}
|
|
3705
3721
|
}
|
|
3706
3722
|
function x() {
|
|
3707
3723
|
this.data.setextHeadingSlurpLineEnding = !0;
|
|
3708
3724
|
}
|
|
3709
|
-
function L(
|
|
3725
|
+
function L(w) {
|
|
3710
3726
|
const k = this.stack[this.stack.length - 1];
|
|
3711
|
-
k.depth = this.sliceSerialize(
|
|
3727
|
+
k.depth = this.sliceSerialize(w).codePointAt(0) === 61 ? 1 : 2;
|
|
3712
3728
|
}
|
|
3713
3729
|
function q() {
|
|
3714
3730
|
this.data.setextHeadingSlurpLineEnding = void 0;
|
|
3715
3731
|
}
|
|
3716
|
-
function I(
|
|
3732
|
+
function I(w) {
|
|
3717
3733
|
const B = this.stack[this.stack.length - 1].children;
|
|
3718
3734
|
let M = B[B.length - 1];
|
|
3719
3735
|
(!M || M.type !== "text") && (M = Cr(), M.position = {
|
|
3720
|
-
start:
|
|
3736
|
+
start: Ce(w.start),
|
|
3721
3737
|
// @ts-expect-error: we’ll add `end` later.
|
|
3722
3738
|
end: void 0
|
|
3723
3739
|
}, B.push(M)), this.stack.push(M);
|
|
3724
3740
|
}
|
|
3725
|
-
function g(
|
|
3741
|
+
function g(w) {
|
|
3726
3742
|
const k = this.stack.pop();
|
|
3727
|
-
k.value += this.sliceSerialize(
|
|
3743
|
+
k.value += this.sliceSerialize(w), k.position.end = Ce(w.end);
|
|
3728
3744
|
}
|
|
3729
|
-
function T(
|
|
3745
|
+
function T(w) {
|
|
3730
3746
|
const k = this.stack[this.stack.length - 1];
|
|
3731
3747
|
if (this.data.atHardBreak) {
|
|
3732
3748
|
const B = k.children[k.children.length - 1];
|
|
3733
|
-
B.position.end =
|
|
3749
|
+
B.position.end = Ce(w.end), this.data.atHardBreak = void 0;
|
|
3734
3750
|
return;
|
|
3735
3751
|
}
|
|
3736
|
-
!this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(k.type) && (I.call(this,
|
|
3752
|
+
!this.data.setextHeadingSlurpLineEnding && n.canContainEols.includes(k.type) && (I.call(this, w), g.call(this, w));
|
|
3737
3753
|
}
|
|
3738
3754
|
function A() {
|
|
3739
3755
|
this.data.atHardBreak = !0;
|
|
3740
3756
|
}
|
|
3741
3757
|
function W() {
|
|
3742
|
-
const
|
|
3743
|
-
k.value =
|
|
3758
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3759
|
+
k.value = w;
|
|
3744
3760
|
}
|
|
3745
3761
|
function H() {
|
|
3746
|
-
const
|
|
3747
|
-
k.value =
|
|
3762
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3763
|
+
k.value = w;
|
|
3748
3764
|
}
|
|
3749
3765
|
function O() {
|
|
3750
|
-
const
|
|
3751
|
-
k.value =
|
|
3766
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3767
|
+
k.value = w;
|
|
3752
3768
|
}
|
|
3753
3769
|
function J() {
|
|
3754
|
-
const
|
|
3770
|
+
const w = this.stack[this.stack.length - 1];
|
|
3755
3771
|
if (this.data.inReference) {
|
|
3756
3772
|
const k = this.data.referenceType || "shortcut";
|
|
3757
|
-
|
|
3773
|
+
w.type += "Reference", w.referenceType = k, delete w.url, delete w.title;
|
|
3758
3774
|
} else
|
|
3759
|
-
delete
|
|
3775
|
+
delete w.identifier, delete w.label;
|
|
3760
3776
|
this.data.referenceType = void 0;
|
|
3761
3777
|
}
|
|
3762
3778
|
function $() {
|
|
3763
|
-
const
|
|
3779
|
+
const w = this.stack[this.stack.length - 1];
|
|
3764
3780
|
if (this.data.inReference) {
|
|
3765
3781
|
const k = this.data.referenceType || "shortcut";
|
|
3766
|
-
|
|
3782
|
+
w.type += "Reference", w.referenceType = k, delete w.url, delete w.title;
|
|
3767
3783
|
} else
|
|
3768
|
-
delete
|
|
3784
|
+
delete w.identifier, delete w.label;
|
|
3769
3785
|
this.data.referenceType = void 0;
|
|
3770
3786
|
}
|
|
3771
|
-
function
|
|
3772
|
-
const k = this.sliceSerialize(
|
|
3787
|
+
function ae(w) {
|
|
3788
|
+
const k = this.sliceSerialize(w), B = this.stack[this.stack.length - 2];
|
|
3773
3789
|
B.label = ta(k), B.identifier = We(k).toLowerCase();
|
|
3774
3790
|
}
|
|
3775
3791
|
function be() {
|
|
3776
|
-
const
|
|
3792
|
+
const w = this.stack[this.stack.length - 1], k = this.resume(), B = this.stack[this.stack.length - 1];
|
|
3777
3793
|
if (this.data.inReference = !0, B.type === "link") {
|
|
3778
|
-
const M =
|
|
3794
|
+
const M = w.children;
|
|
3779
3795
|
B.children = M;
|
|
3780
3796
|
} else
|
|
3781
3797
|
B.alt = k;
|
|
3782
3798
|
}
|
|
3783
3799
|
function d() {
|
|
3784
|
-
const
|
|
3785
|
-
k.url =
|
|
3800
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3801
|
+
k.url = w;
|
|
3786
3802
|
}
|
|
3787
|
-
function
|
|
3788
|
-
const
|
|
3789
|
-
k.title =
|
|
3803
|
+
function oe() {
|
|
3804
|
+
const w = this.resume(), k = this.stack[this.stack.length - 1];
|
|
3805
|
+
k.title = w;
|
|
3790
3806
|
}
|
|
3791
3807
|
function we() {
|
|
3792
3808
|
this.data.inReference = void 0;
|
|
3793
3809
|
}
|
|
3794
|
-
function
|
|
3810
|
+
function f() {
|
|
3795
3811
|
this.data.referenceType = "collapsed";
|
|
3796
3812
|
}
|
|
3797
|
-
function
|
|
3813
|
+
function le(w) {
|
|
3798
3814
|
const k = this.resume(), B = this.stack[this.stack.length - 1];
|
|
3799
|
-
B.label = k, B.identifier = We(this.sliceSerialize(
|
|
3815
|
+
B.label = k, B.identifier = We(this.sliceSerialize(w)).toLowerCase(), this.data.referenceType = "full";
|
|
3800
3816
|
}
|
|
3801
|
-
function Te(
|
|
3802
|
-
this.data.characterReferenceType =
|
|
3817
|
+
function Te(w) {
|
|
3818
|
+
this.data.characterReferenceType = w.type;
|
|
3803
3819
|
}
|
|
3804
|
-
function V(
|
|
3805
|
-
const k = this.sliceSerialize(
|
|
3820
|
+
function V(w) {
|
|
3821
|
+
const k = this.sliceSerialize(w), B = this.data.characterReferenceType;
|
|
3806
3822
|
let M;
|
|
3807
|
-
B ? (M = Zn(k, B === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : M =
|
|
3823
|
+
B ? (M = Zn(k, B === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : M = Rt(k);
|
|
3808
3824
|
const X = this.stack[this.stack.length - 1];
|
|
3809
3825
|
X.value += M;
|
|
3810
3826
|
}
|
|
3811
|
-
function Ke(
|
|
3827
|
+
function Ke(w) {
|
|
3812
3828
|
const k = this.stack.pop();
|
|
3813
|
-
k.position.end =
|
|
3829
|
+
k.position.end = Ce(w.end);
|
|
3814
3830
|
}
|
|
3815
|
-
function
|
|
3816
|
-
g.call(this,
|
|
3831
|
+
function ve(w) {
|
|
3832
|
+
g.call(this, w);
|
|
3817
3833
|
const k = this.stack[this.stack.length - 1];
|
|
3818
|
-
k.url = this.sliceSerialize(
|
|
3834
|
+
k.url = this.sliceSerialize(w);
|
|
3819
3835
|
}
|
|
3820
|
-
function Re(
|
|
3821
|
-
g.call(this,
|
|
3836
|
+
function Re(w) {
|
|
3837
|
+
g.call(this, w);
|
|
3822
3838
|
const k = this.stack[this.stack.length - 1];
|
|
3823
|
-
k.url = "mailto:" + this.sliceSerialize(
|
|
3839
|
+
k.url = "mailto:" + this.sliceSerialize(w);
|
|
3824
3840
|
}
|
|
3825
3841
|
function Ne() {
|
|
3826
3842
|
return {
|
|
@@ -3828,7 +3844,7 @@ function ia(e) {
|
|
|
3828
3844
|
children: []
|
|
3829
3845
|
};
|
|
3830
3846
|
}
|
|
3831
|
-
function
|
|
3847
|
+
function Ye() {
|
|
3832
3848
|
return {
|
|
3833
3849
|
type: "code",
|
|
3834
3850
|
lang: null,
|
|
@@ -3857,7 +3873,7 @@ function ia(e) {
|
|
|
3857
3873
|
children: []
|
|
3858
3874
|
};
|
|
3859
3875
|
}
|
|
3860
|
-
function
|
|
3876
|
+
function qt() {
|
|
3861
3877
|
return {
|
|
3862
3878
|
type: "heading",
|
|
3863
3879
|
// @ts-expect-error `depth` will be set later.
|
|
@@ -3865,12 +3881,12 @@ function ia(e) {
|
|
|
3865
3881
|
children: []
|
|
3866
3882
|
};
|
|
3867
3883
|
}
|
|
3868
|
-
function
|
|
3884
|
+
function Wt() {
|
|
3869
3885
|
return {
|
|
3870
3886
|
type: "break"
|
|
3871
3887
|
};
|
|
3872
3888
|
}
|
|
3873
|
-
function
|
|
3889
|
+
function Xt() {
|
|
3874
3890
|
return {
|
|
3875
3891
|
type: "html",
|
|
3876
3892
|
value: ""
|
|
@@ -3884,7 +3900,7 @@ function ia(e) {
|
|
|
3884
3900
|
alt: null
|
|
3885
3901
|
};
|
|
3886
3902
|
}
|
|
3887
|
-
function
|
|
3903
|
+
function Ht() {
|
|
3888
3904
|
return {
|
|
3889
3905
|
type: "link",
|
|
3890
3906
|
title: null,
|
|
@@ -3892,19 +3908,19 @@ function ia(e) {
|
|
|
3892
3908
|
children: []
|
|
3893
3909
|
};
|
|
3894
3910
|
}
|
|
3895
|
-
function
|
|
3911
|
+
function Kt(w) {
|
|
3896
3912
|
return {
|
|
3897
3913
|
type: "list",
|
|
3898
|
-
ordered:
|
|
3914
|
+
ordered: w.type === "listOrdered",
|
|
3899
3915
|
start: null,
|
|
3900
|
-
spread:
|
|
3916
|
+
spread: w._spread,
|
|
3901
3917
|
children: []
|
|
3902
3918
|
};
|
|
3903
3919
|
}
|
|
3904
|
-
function kr(
|
|
3920
|
+
function kr(w) {
|
|
3905
3921
|
return {
|
|
3906
3922
|
type: "listItem",
|
|
3907
|
-
spread:
|
|
3923
|
+
spread: w._spread,
|
|
3908
3924
|
checked: null,
|
|
3909
3925
|
children: []
|
|
3910
3926
|
};
|
|
@@ -3933,7 +3949,7 @@ function ia(e) {
|
|
|
3933
3949
|
};
|
|
3934
3950
|
}
|
|
3935
3951
|
}
|
|
3936
|
-
function
|
|
3952
|
+
function Ce(e) {
|
|
3937
3953
|
return {
|
|
3938
3954
|
line: e.line,
|
|
3939
3955
|
column: e.column,
|
|
@@ -3971,13 +3987,13 @@ function sa(e, n) {
|
|
|
3971
3987
|
}
|
|
3972
3988
|
}
|
|
3973
3989
|
function hn(e, n) {
|
|
3974
|
-
throw e ? new Error("Cannot close `" + e.type + "` (" +
|
|
3990
|
+
throw e ? new Error("Cannot close `" + e.type + "` (" + it({
|
|
3975
3991
|
start: e.start,
|
|
3976
3992
|
end: e.end
|
|
3977
|
-
}) + "): a different token (`" + n.type + "`, " +
|
|
3993
|
+
}) + "): a different token (`" + n.type + "`, " + it({
|
|
3978
3994
|
start: n.start,
|
|
3979
3995
|
end: n.end
|
|
3980
|
-
}) + ") is open") : new Error("Cannot close document, a token (`" + n.type + "`, " +
|
|
3996
|
+
}) + ") is open") : new Error("Cannot close document, a token (`" + n.type + "`, " + it({
|
|
3981
3997
|
start: n.start,
|
|
3982
3998
|
end: n.end
|
|
3983
3999
|
}) + ") is still open");
|
|
@@ -4100,13 +4116,13 @@ function ca(e, n, t) {
|
|
|
4100
4116
|
return g === 124 || (a = !0, i += 1), c(g);
|
|
4101
4117
|
}
|
|
4102
4118
|
function c(g) {
|
|
4103
|
-
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"), h) : t(g) : F(g) ? R(e, c, "whitespace")(g) : (i += 1, a && (a = !1, s += 1), g === 124 ? (e.enter("tableCellDivider"), e.consume(g), e.exit("tableCellDivider"), a = !0, c) : (e.enter("data"),
|
|
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"), h) : t(g) : F(g) ? R(e, c, "whitespace")(g) : (i += 1, a && (a = !1, s += 1), g === 124 ? (e.enter("tableCellDivider"), e.consume(g), e.exit("tableCellDivider"), a = !0, c) : (e.enter("data"), p(g)));
|
|
4104
4120
|
}
|
|
4105
|
-
function
|
|
4106
|
-
return g === null || g === 124 || Z(g) ? (e.exit("data"), c(g)) : (e.consume(g), g === 92 ? m :
|
|
4121
|
+
function p(g) {
|
|
4122
|
+
return g === null || g === 124 || Z(g) ? (e.exit("data"), c(g)) : (e.consume(g), g === 92 ? m : p);
|
|
4107
4123
|
}
|
|
4108
4124
|
function m(g) {
|
|
4109
|
-
return g === 92 || g === 124 ? (e.consume(g),
|
|
4125
|
+
return g === 92 || g === 124 ? (e.consume(g), p) : p(g);
|
|
4110
4126
|
}
|
|
4111
4127
|
function h(g) {
|
|
4112
4128
|
return r.interrupt = !1, r.parser.lazy[r.now().line] ? t(g) : (e.enter("tableDelimiterRow"), a = !1, F(g) ? R(e, C, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(g) : C(g));
|
|
@@ -4149,7 +4165,7 @@ function ca(e, n, t) {
|
|
|
4149
4165
|
}
|
|
4150
4166
|
}
|
|
4151
4167
|
function ha(e, n) {
|
|
4152
|
-
let t = -1, r = !0, s = 0, i = [0, 0, 0, 0], a = [0, 0, 0, 0], o = !1, u = 0, l, c,
|
|
4168
|
+
let t = -1, r = !0, s = 0, i = [0, 0, 0, 0], a = [0, 0, 0, 0], o = !1, u = 0, l, c, p;
|
|
4153
4169
|
const m = new aa();
|
|
4154
4170
|
for (; ++t < e.length; ) {
|
|
4155
4171
|
const h = e[t], C = h[1];
|
|
@@ -4158,12 +4174,12 @@ function ha(e, n) {
|
|
|
4158
4174
|
start: Object.assign({}, C.start),
|
|
4159
4175
|
// Note: correct end is set later.
|
|
4160
4176
|
end: Object.assign({}, C.end)
|
|
4161
|
-
}, m.add(t, 0, [["enter", l, n]])) : C.type === "tableRow" || C.type === "tableDelimiterRow" ? (r = !0,
|
|
4177
|
+
}, m.add(t, 0, [["enter", l, n]])) : C.type === "tableRow" || C.type === "tableDelimiterRow" ? (r = !0, p = void 0, i = [0, 0, 0, 0], a = [0, t + 1, 0, 0], o && (o = !1, c = {
|
|
4162
4178
|
type: "tableBody",
|
|
4163
4179
|
start: Object.assign({}, C.start),
|
|
4164
4180
|
// Note: correct end is set later.
|
|
4165
4181
|
end: Object.assign({}, C.end)
|
|
4166
|
-
}, m.add(t, 0, [["enter", c, n]])), s = C.type === "tableDelimiterRow" ? 2 : c ? 3 : 1) : s && (C.type === "data" || C.type === "tableDelimiterMarker" || C.type === "tableDelimiterFiller") ? (r = !1, a[2] === 0 && (i[1] !== 0 && (a[0] = a[1],
|
|
4182
|
+
}, m.add(t, 0, [["enter", c, n]])), s = C.type === "tableDelimiterRow" ? 2 : c ? 3 : 1) : s && (C.type === "data" || C.type === "tableDelimiterMarker" || C.type === "tableDelimiterFiller") ? (r = !1, a[2] === 0 && (i[1] !== 0 && (a[0] = a[1], p = tt(m, n, i, s, void 0, p), i = [0, 0, 0, 0]), a[2] = t)) : C.type === "tableCellDivider" && (r ? r = !1 : (i[1] !== 0 && (a[0] = a[1], p = tt(m, n, i, s, void 0, p)), i = a, a = [i[1], t, 0, 0])) : C.type === "tableHead" ? (o = !0, u = t) : C.type === "tableRow" || C.type === "tableDelimiterRow" ? (u = t, i[1] !== 0 ? (a[0] = a[1], p = tt(m, n, i, s, t, p)) : a[1] !== 0 && (p = tt(m, n, a, s, t, p)), s = 0) : s && (C.type === "data" || C.type === "tableDelimiterMarker" || C.type === "tableDelimiterFiller") && (a[3] = t);
|
|
4167
4183
|
}
|
|
4168
4184
|
for (u !== 0 && dn(m, n, u, l, c), m.consume(n.events), t = -1; ++t < n.events.length; ) {
|
|
4169
4185
|
const h = n.events[t];
|
|
@@ -4171,7 +4187,7 @@ function ha(e, n) {
|
|
|
4171
4187
|
}
|
|
4172
4188
|
return e;
|
|
4173
4189
|
}
|
|
4174
|
-
function
|
|
4190
|
+
function tt(e, n, t, r, s, i) {
|
|
4175
4191
|
const a = r === 1 ? "tableHeader" : r === 2 ? "tableDelimiter" : "tableData", o = "tableContent";
|
|
4176
4192
|
t[0] !== 0 && (i.end = Object.assign({}, je(n.events, t[0])), e.add(t[0], 0, [["exit", i, n]]));
|
|
4177
4193
|
const u = je(n.events, t[1]);
|
|
@@ -4181,19 +4197,19 @@ function et(e, n, t, r, s, i) {
|
|
|
4181
4197
|
// Note: correct end is set later.
|
|
4182
4198
|
end: Object.assign({}, u)
|
|
4183
4199
|
}, e.add(t[1], 0, [["enter", i, n]]), t[2] !== 0) {
|
|
4184
|
-
const l = je(n.events, t[2]), c = je(n.events, t[3]),
|
|
4200
|
+
const l = je(n.events, t[2]), c = je(n.events, t[3]), p = {
|
|
4185
4201
|
type: o,
|
|
4186
4202
|
start: Object.assign({}, l),
|
|
4187
4203
|
end: Object.assign({}, c)
|
|
4188
4204
|
};
|
|
4189
|
-
if (e.add(t[2], 0, [["enter",
|
|
4205
|
+
if (e.add(t[2], 0, [["enter", p, n]]), r !== 2) {
|
|
4190
4206
|
const m = n.events[t[2]], h = n.events[t[3]];
|
|
4191
4207
|
if (m[1].end = Object.assign({}, h[1].end), m[1].type = "chunkText", m[1].contentType = "text", t[3] > t[2] + 1) {
|
|
4192
4208
|
const C = t[2] + 1, S = t[3] - t[2] - 1;
|
|
4193
4209
|
e.add(C, S, []);
|
|
4194
4210
|
}
|
|
4195
4211
|
}
|
|
4196
|
-
e.add(t[3] + 1, 0, [["exit",
|
|
4212
|
+
e.add(t[3] + 1, 0, [["exit", p, n]]);
|
|
4197
4213
|
}
|
|
4198
4214
|
return s !== void 0 && (i.end = Object.assign({}, je(n.events, s)), e.add(s, 0, [["exit", i, n]]), i = void 0), i;
|
|
4199
4215
|
}
|
|
@@ -4216,9 +4232,9 @@ function da() {
|
|
|
4216
4232
|
exit: {
|
|
4217
4233
|
codeText: ga,
|
|
4218
4234
|
table: fa,
|
|
4219
|
-
tableData:
|
|
4220
|
-
tableHeader:
|
|
4221
|
-
tableRow:
|
|
4235
|
+
tableData: xt,
|
|
4236
|
+
tableHeader: xt,
|
|
4237
|
+
tableRow: xt
|
|
4222
4238
|
}
|
|
4223
4239
|
};
|
|
4224
4240
|
}
|
|
@@ -4241,7 +4257,7 @@ function fa(e) {
|
|
|
4241
4257
|
function ma(e) {
|
|
4242
4258
|
this.enter({ type: "tableRow", children: [] }, e);
|
|
4243
4259
|
}
|
|
4244
|
-
function
|
|
4260
|
+
function xt(e) {
|
|
4245
4261
|
this.exit(e);
|
|
4246
4262
|
}
|
|
4247
4263
|
function pn(e) {
|
|
@@ -4263,7 +4279,7 @@ class cr {
|
|
|
4263
4279
|
y(this, "_language");
|
|
4264
4280
|
y(this, "_code");
|
|
4265
4281
|
y(this, "_ct");
|
|
4266
|
-
this.node = /* @__PURE__ */
|
|
4282
|
+
this.node = /* @__PURE__ */ b("pre", null, this.codeNode = /* @__PURE__ */ b("code", null)), this.updateCodeAsync(n, t, this._ct = new ze());
|
|
4267
4283
|
}
|
|
4268
4284
|
async updateCodeAsync(n, t, r) {
|
|
4269
4285
|
const s = xa(n);
|
|
@@ -4276,7 +4292,7 @@ class cr {
|
|
|
4276
4292
|
this._language = n, this._code = t, this.codeNode.textContent = t;
|
|
4277
4293
|
}
|
|
4278
4294
|
updateCode(n, t) {
|
|
4279
|
-
this._ct.cancel(), !(this._language === n && this._code === t) && this.updateCodeAsync(n, t, this._ct = new
|
|
4295
|
+
this._ct.cancel(), !(this._language === n && this._code === t) && this.updateCodeAsync(n, t, this._ct = new ze());
|
|
4280
4296
|
}
|
|
4281
4297
|
}
|
|
4282
4298
|
let ke;
|
|
@@ -4340,14 +4356,14 @@ function za(e, n, t) {
|
|
|
4340
4356
|
return v === 36 ? (e.consume(v), a++, u) : a < 2 ? t(v) : (e.exit("mathFlowFenceSequence"), R(e, l, "whitespace")(v));
|
|
4341
4357
|
}
|
|
4342
4358
|
function l(v) {
|
|
4343
|
-
return v === null || E(v) ?
|
|
4359
|
+
return v === null || E(v) ? p(v) : (e.enter("mathFlowFenceMeta"), e.enter("chunkString", {
|
|
4344
4360
|
contentType: "string"
|
|
4345
4361
|
}), c(v));
|
|
4346
4362
|
}
|
|
4347
4363
|
function c(v) {
|
|
4348
|
-
return v === null || E(v) ? (e.exit("chunkString"), e.exit("mathFlowFenceMeta"),
|
|
4364
|
+
return v === null || E(v) ? (e.exit("chunkString"), e.exit("mathFlowFenceMeta"), p(v)) : v === 36 ? t(v) : (e.consume(v), c);
|
|
4349
4365
|
}
|
|
4350
|
-
function
|
|
4366
|
+
function p(v) {
|
|
4351
4367
|
return e.exit("mathFlowFence"), r.interrupt ? n(v) : e.attempt(mn, m, P)(v);
|
|
4352
4368
|
}
|
|
4353
4369
|
function m(v) {
|
|
@@ -4404,10 +4420,10 @@ function Ca(e) {
|
|
|
4404
4420
|
let o = 0, u, l;
|
|
4405
4421
|
return c;
|
|
4406
4422
|
function c(S) {
|
|
4407
|
-
return s.enter("mathText"), s.enter("mathTextSequence"),
|
|
4423
|
+
return s.enter("mathText"), s.enter("mathTextSequence"), p(S);
|
|
4408
4424
|
}
|
|
4409
|
-
function
|
|
4410
|
-
return S === 36 ? (s.consume(S), o++,
|
|
4425
|
+
function p(S) {
|
|
4426
|
+
return S === 36 ? (s.consume(S), o++, p) : o < 2 && !t ? a(S) : (s.exit("mathTextSequence"), m(S));
|
|
4411
4427
|
}
|
|
4412
4428
|
function m(S) {
|
|
4413
4429
|
return S === null ? a(S) : S === 36 ? (l = s.enter("mathTextSequence"), u = 0, C(S)) : S === 32 ? (s.enter("space"), s.consume(S), s.exit("space"), m) : E(S) ? (s.enter("lineEnding"), s.consume(S), s.exit("lineEnding"), m) : (s.enter("mathTextData"), h(S));
|
|
@@ -4492,11 +4508,11 @@ function Ta() {
|
|
|
4492
4508
|
function s(u) {
|
|
4493
4509
|
const l = this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g, ""), c = this.stack[this.stack.length - 1];
|
|
4494
4510
|
c.type, this.exit(u), c.value = l;
|
|
4495
|
-
const
|
|
4511
|
+
const p = (
|
|
4496
4512
|
/** @type {HastElement} */
|
|
4497
4513
|
c.data.hChildren[0]
|
|
4498
4514
|
);
|
|
4499
|
-
|
|
4515
|
+
p.type, p.tagName, p.children.push({ type: "text", value: l }), this.data.mathFlowInside = void 0;
|
|
4500
4516
|
}
|
|
4501
4517
|
function i(u) {
|
|
4502
4518
|
this.enter(
|
|
@@ -4528,12 +4544,12 @@ function Aa(e) {
|
|
|
4528
4544
|
i % 2 === 0 && (t[i] = t[i].replace(r, (a, o) => `$${o}$`).replace(s, (a, o) => `$$${o}$$`));
|
|
4529
4545
|
return t.join("");
|
|
4530
4546
|
}
|
|
4531
|
-
function
|
|
4547
|
+
function Dt(e, n, t, r) {
|
|
4532
4548
|
const s = ra(Aa(n), {
|
|
4533
4549
|
extensions: [ua(), Ea()],
|
|
4534
4550
|
mdastExtensions: [da(), Ta(), ...r]
|
|
4535
4551
|
}), i = {}, a = {};
|
|
4536
|
-
hr(s, i, a),
|
|
4552
|
+
hr(s, i, a), At(s, e, i, a, t);
|
|
4537
4553
|
}
|
|
4538
4554
|
function hr(e, n, t) {
|
|
4539
4555
|
for (const r of e.children) {
|
|
@@ -4546,7 +4562,7 @@ function hr(e, n, t) {
|
|
|
4546
4562
|
r.children && hr(r, n, t);
|
|
4547
4563
|
}
|
|
4548
4564
|
}
|
|
4549
|
-
function
|
|
4565
|
+
function At(e, n, t, r, s) {
|
|
4550
4566
|
var a;
|
|
4551
4567
|
let i = n.firstChild;
|
|
4552
4568
|
for (const o of e.children) {
|
|
@@ -4581,8 +4597,8 @@ function Tt(e, n, t, r, s) {
|
|
|
4581
4597
|
c.updateCode(o.lang, o.value);
|
|
4582
4598
|
else {
|
|
4583
4599
|
for (; i; ) {
|
|
4584
|
-
const
|
|
4585
|
-
i.remove(), i =
|
|
4600
|
+
const p = i.nextSibling;
|
|
4601
|
+
i.remove(), i = p;
|
|
4586
4602
|
}
|
|
4587
4603
|
c = new cr(o.lang, o.value), i = c.node, bn.set(i, c), n.appendChild(i);
|
|
4588
4604
|
}
|
|
@@ -4709,17 +4725,17 @@ function Tt(e, n, t, r, s) {
|
|
|
4709
4725
|
case "image": {
|
|
4710
4726
|
if (!((i == null ? void 0 : i.nodeType) === Node.ELEMENT_NODE && i.nodeName === "IMG")) {
|
|
4711
4727
|
for (; i; ) {
|
|
4712
|
-
const
|
|
4713
|
-
i.remove(), i =
|
|
4728
|
+
const p = i.nextSibling;
|
|
4729
|
+
i.remove(), i = p;
|
|
4714
4730
|
}
|
|
4715
4731
|
i = document.createElement("img"), n.appendChild(i);
|
|
4716
4732
|
}
|
|
4717
4733
|
const c = o.url;
|
|
4718
4734
|
if (c)
|
|
4719
4735
|
if (c.startsWith("python://")) {
|
|
4720
|
-
let
|
|
4736
|
+
let p = c.substring(9);
|
|
4721
4737
|
try {
|
|
4722
|
-
i.src = ya(s,
|
|
4738
|
+
i.src = ya(s, p);
|
|
4723
4739
|
} catch (m) {
|
|
4724
4740
|
console.error(m), i.src = "";
|
|
4725
4741
|
}
|
|
@@ -4736,7 +4752,7 @@ function Tt(e, n, t, r, s) {
|
|
|
4736
4752
|
}
|
|
4737
4753
|
i = document.createElement("a"), n.appendChild(i);
|
|
4738
4754
|
}
|
|
4739
|
-
|
|
4755
|
+
At(
|
|
4740
4756
|
o,
|
|
4741
4757
|
i,
|
|
4742
4758
|
t,
|
|
@@ -4811,7 +4827,7 @@ function Tt(e, n, t, r, s) {
|
|
|
4811
4827
|
}
|
|
4812
4828
|
i = document.createElement(u), n.appendChild(i);
|
|
4813
4829
|
}
|
|
4814
|
-
u === "A" && (i.href = o.url || "", i.target = "_blank", i.title = o.title || ""),
|
|
4830
|
+
u === "A" && (i.href = o.url || "", i.target = "_blank", i.title = o.title || ""), At(
|
|
4815
4831
|
o,
|
|
4816
4832
|
i,
|
|
4817
4833
|
t,
|
|
@@ -4824,13 +4840,13 @@ function Tt(e, n, t, r, s) {
|
|
|
4824
4840
|
i.remove(), i = o;
|
|
4825
4841
|
}
|
|
4826
4842
|
}
|
|
4827
|
-
let
|
|
4843
|
+
let yt;
|
|
4828
4844
|
function Ba() {
|
|
4829
|
-
return
|
|
4845
|
+
return yt || (yt = import("./katex-c21813vb.js")), yt;
|
|
4830
4846
|
}
|
|
4831
4847
|
async function gn(e, n) {
|
|
4832
4848
|
let t = ot.get(e);
|
|
4833
|
-
t == null || t.cancel(), ot.set(e, t = new
|
|
4849
|
+
t == null || t.cancel(), ot.set(e, t = new ze()), (async () => {
|
|
4834
4850
|
const r = await Ba();
|
|
4835
4851
|
t.isCancellationRequested || r.default.render(n, e, { throwOnError: !1 });
|
|
4836
4852
|
})();
|
|
@@ -4844,7 +4860,7 @@ function Ia(e) {
|
|
|
4844
4860
|
return t.length > 1 && (r += t[1][0]), r;
|
|
4845
4861
|
}
|
|
4846
4862
|
function La({ as: e = "div", size: n = "avatar-lg", id: t, ...r }, s) {
|
|
4847
|
-
const i = /* @__PURE__ */
|
|
4863
|
+
const i = /* @__PURE__ */ b(e, { ...r }, s);
|
|
4848
4864
|
return e === "button" && !("type" in r) && (i.type = "button"), i.classList.add("avatar"), n && i.classList.add(n), t && i.classList.add(...Ua(t)), i;
|
|
4849
4865
|
}
|
|
4850
4866
|
const Fa = ["bg-Land-Green-95", "text-Land-Green-30"], Ma = ["bg-Sunflower-85", "text-Sunflower-20"], Ra = ["bg-Energy-Red-95", "text-Energy-Red-45"], Na = ["bg-Sea-Blue-Main-28", "text-Sky-Blue-95"], Oa = ["bg-Lavender-90", "text-Lavender-50"], Da = ["bg-Eucalyptus-85", "text-Eucalyptus-20"], Pa = ["bg-Terracotta-85", "text-Terracotta-20"], wn = [
|
|
@@ -4866,63 +4882,63 @@ function ja(e) {
|
|
|
4866
4882
|
n = e.charCodeAt(t) + ((n << 5) - n);
|
|
4867
4883
|
return n;
|
|
4868
4884
|
}
|
|
4869
|
-
var
|
|
4885
|
+
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 || {});
|
|
4870
4886
|
function K(e) {
|
|
4871
4887
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
4872
4888
|
}
|
|
4873
|
-
var
|
|
4874
|
-
function dt({ size: e =
|
|
4889
|
+
var se = /* @__PURE__ */ ((e) => (e.ExtraSmall = "16", e.Small = "20", e.Medium = "24", e.Large = "28", e.ExtraLarge = "32", e.ExtraExtraLarge = "40", e))(se || {});
|
|
4890
|
+
function dt({ size: e = se.Medium, ...n }) {
|
|
4875
4891
|
const t = K("svg");
|
|
4876
|
-
t.setAttribute("viewBox", "0 0 448 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
4892
|
+
t.setAttribute("viewBox", "0 0 448 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
4877
4893
|
const r = K("path");
|
|
4878
4894
|
return r.setAttribute(
|
|
4879
4895
|
"d",
|
|
4880
4896
|
"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"
|
|
4881
4897
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
4882
4898
|
}
|
|
4883
|
-
function dr({ size: e =
|
|
4899
|
+
function dr({ size: e = se.Medium, ...n }) {
|
|
4884
4900
|
const t = K("svg");
|
|
4885
|
-
t.setAttribute("viewBox", "0 0 448 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
4901
|
+
t.setAttribute("viewBox", "0 0 448 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
4886
4902
|
const r = K("path");
|
|
4887
4903
|
return r.setAttribute(
|
|
4888
4904
|
"d",
|
|
4889
4905
|
"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 464c-118.664 0-216-96.055-216-216 0-118.663 96.055-216 216-216 118.664 0 216 96.055 216 216 0 118.663-96.055 216-216 216zm141.63-274.961L217.15 376.071c-4.705 4.667-12.303 4.637-16.97-.068l-85.878-86.572c-4.667-4.705-4.637-12.303.068-16.97l8.52-8.451c4.705-4.667 12.303-4.637 16.97.068l68.976 69.533 163.441-162.13c4.705-4.667 12.303-4.637 16.97.068l8.451 8.52c4.668 4.705 4.637 12.303-.068 16.97z"
|
|
4890
4906
|
), t.appendChild(r), t;
|
|
4891
4907
|
}
|
|
4892
|
-
function
|
|
4908
|
+
function Pt({ size: e = se.Medium, ...n }) {
|
|
4893
4909
|
const t = K("svg");
|
|
4894
|
-
t.setAttribute("viewBox", "0 0 512 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
4910
|
+
t.setAttribute("viewBox", "0 0 512 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
4895
4911
|
const r = K("path");
|
|
4896
4912
|
return r.setAttribute(
|
|
4897
4913
|
"d",
|
|
4898
4914
|
"M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-11.49 120h22.979c6.823 0 12.274 5.682 11.99 12.5l-7 168c-.268 6.428-5.556 11.5-11.99 11.5h-8.979c-6.433 0-11.722-5.073-11.99-11.5l-7-168c-.283-6.818 5.167-12.5 11.99-12.5zM256 340c-15.464 0-28 12.536-28 28s12.536 28 28 28 28-12.536 28-28-12.536-28-28-28z"
|
|
4899
4915
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
4900
4916
|
}
|
|
4901
|
-
function lt({ size: e =
|
|
4917
|
+
function lt({ size: e = se.Medium, ...n }) {
|
|
4902
4918
|
const t = K("svg");
|
|
4903
|
-
t.setAttribute("viewBox", "0 0 576 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
4919
|
+
t.setAttribute("viewBox", "0 0 576 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
4904
4920
|
const r = K("path");
|
|
4905
4921
|
return r.setAttribute(
|
|
4906
4922
|
"d",
|
|
4907
4923
|
"M270.2 160h35.5c3.4 0 6.1 2.8 6 6.2l-7.5 196c-.1 3.2-2.8 5.8-6 5.8h-20.5c-3.2 0-5.9-2.5-6-5.8l-7.5-196c-.1-3.4 2.6-6.2 6-6.2zM288 388c-15.5 0-28 12.5-28 28s12.5 28 28 28 28-12.5 28-28-12.5-28-28-28zm281.5 52L329.6 24c-18.4-32-64.7-32-83.2 0L6.5 440c-18.4 31.9 4.6 72 41.6 72H528c36.8 0 60-40 41.5-72zM528 480H48c-12.3 0-20-13.3-13.9-24l240-416c6.1-10.6 21.6-10.7 27.7 0l240 416c6.2 10.6-1.5 24-13.8 24z"
|
|
4908
4924
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
4909
4925
|
}
|
|
4910
|
-
function
|
|
4926
|
+
function Ut({ size: e = se.Medium, ...n }) {
|
|
4911
4927
|
const t = K("svg");
|
|
4912
|
-
t.setAttribute("viewBox", "0 0 512 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
4928
|
+
t.setAttribute("viewBox", "0 0 512 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
4913
4929
|
const r = K("path");
|
|
4914
4930
|
return r.setAttribute(
|
|
4915
4931
|
"d",
|
|
4916
4932
|
"M256 40c118.621 0 216 96.075 216 216 0 119.291-96.61 216-216 216-119.244 0-216-96.562-216-216 0-119.203 96.602-216 216-216m0-32C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm-36 344h12V232h-12c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12h48c6.627 0 12 5.373 12 12v140h12c6.627 0 12 5.373 12 12v8c0 6.627-5.373 12-12 12h-72c-6.627 0-12-5.373-12-12v-8c0-6.627 5.373-12 12-12zm36-240c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"
|
|
4917
4933
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
4918
4934
|
}
|
|
4919
|
-
var
|
|
4935
|
+
var Ze = /* @__PURE__ */ ((e) => (e.ExtraSmall = "20", e.Small = "24", e.Medium = "32", e.Large = "40", e.ExtraLarge = "48", e.ExtraExtraLarge = "60", e.ExtraExtraExtraLarge = "80", e.ExtraExtraExtraExtraLarge = "120", e))(Ze || {});
|
|
4920
4936
|
function pt({
|
|
4921
4937
|
size: e = "80",
|
|
4922
4938
|
...n
|
|
4923
4939
|
}) {
|
|
4924
4940
|
const t = K("svg");
|
|
4925
|
-
t.setAttribute("viewBox", "0 0 80 80"), t.setAttribute("fill", "none"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
4941
|
+
t.setAttribute("viewBox", "0 0 80 80"), t.setAttribute("fill", "none"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n), t.setAttribute(
|
|
4926
4942
|
"class",
|
|
4927
4943
|
(t.getAttribute("class") ?? "") + " animate-spin"
|
|
4928
4944
|
);
|
|
@@ -4948,26 +4964,26 @@ class qa extends ut {
|
|
|
4948
4964
|
this.context = t;
|
|
4949
4965
|
let s;
|
|
4950
4966
|
switch (r.type) {
|
|
4951
|
-
case
|
|
4952
|
-
s = /* @__PURE__ */
|
|
4967
|
+
case ce.Error:
|
|
4968
|
+
s = /* @__PURE__ */ b(Pt, { class: "text-Energy-Red-45" });
|
|
4953
4969
|
break;
|
|
4954
|
-
case
|
|
4955
|
-
s = /* @__PURE__ */
|
|
4970
|
+
case ce.Danger:
|
|
4971
|
+
s = /* @__PURE__ */ b(lt, { class: "text-Energy-Red-45" });
|
|
4956
4972
|
break;
|
|
4957
|
-
case
|
|
4958
|
-
s = /* @__PURE__ */
|
|
4973
|
+
case ce.Warning:
|
|
4974
|
+
s = /* @__PURE__ */ b(lt, { class: "text-Terracotta-30" });
|
|
4959
4975
|
break;
|
|
4960
|
-
case
|
|
4961
|
-
s = /* @__PURE__ */
|
|
4976
|
+
case ce.Info:
|
|
4977
|
+
s = /* @__PURE__ */ b(Ut, { class: "text-Sea-Blue-Main-28" });
|
|
4962
4978
|
break;
|
|
4963
|
-
case
|
|
4964
|
-
s = /* @__PURE__ */
|
|
4979
|
+
case ce.Success:
|
|
4980
|
+
s = /* @__PURE__ */ b(dr, { class: "text-Land-Green-30" });
|
|
4965
4981
|
break;
|
|
4966
4982
|
}
|
|
4967
4983
|
s.classList.add("shrink-0");
|
|
4968
4984
|
for (const a of r.buttons) this.buttons[a.value] = new Wa(this, a);
|
|
4969
4985
|
let i;
|
|
4970
|
-
this.node = /* @__PURE__ */
|
|
4986
|
+
this.node = /* @__PURE__ */ b("section", { class: "max-w-lg text-left my-2 bg-Sandstone-97 select-none border border-Light" }, /* @__PURE__ */ b("div", { class: "p-6 pb-3 flex gap-5" }, s, /* @__PURE__ */ b("div", null, /* @__PURE__ */ b("h6", null, r.title), i = /* @__PURE__ */ b("div", { class: "prose prose-sm prose-neutral" }))), this.buttonsFieldset = /* @__PURE__ */ b("fieldset", { class: "p-6 pt-3 flex justify-end gap-3" }, Object.values(this.buttons).map((a) => a.node))), Dt(
|
|
4971
4987
|
i,
|
|
4972
4988
|
r.textInMarkdown,
|
|
4973
4989
|
this.context.conversationMessage.chat.pyodide,
|
|
@@ -4990,8 +5006,8 @@ class Wa {
|
|
|
4990
5006
|
constructor(n, t) {
|
|
4991
5007
|
y(this, "node");
|
|
4992
5008
|
y(this, "_spinner");
|
|
4993
|
-
this.dialog = n, this.buttonOption = t, this.node = /* @__PURE__ */
|
|
4994
|
-
|
|
5009
|
+
this.dialog = n, this.buttonOption = t, this.node = /* @__PURE__ */ b(
|
|
5010
|
+
Je,
|
|
4995
5011
|
{
|
|
4996
5012
|
class: Xa(this.buttonOption.variant) + " min-w-24",
|
|
4997
5013
|
size: He.Medium,
|
|
@@ -5001,7 +5017,7 @@ class Wa {
|
|
|
5001
5017
|
);
|
|
5002
5018
|
}
|
|
5003
5019
|
async onClickAsync() {
|
|
5004
|
-
this.dialog.buttonsFieldset.disabled = !0, this.node.insertBefore(this._spinner = /* @__PURE__ */
|
|
5020
|
+
this.dialog.buttonsFieldset.disabled = !0, this.node.insertBefore(this._spinner = /* @__PURE__ */ b(pt, { size: Ze.ExtraSmall }), this.node.firstChild);
|
|
5005
5021
|
try {
|
|
5006
5022
|
await this.dialog.context.postResultAsync(this.buttonOption.value);
|
|
5007
5023
|
} catch (n) {
|
|
@@ -5009,7 +5025,7 @@ class Wa {
|
|
|
5009
5025
|
}
|
|
5010
5026
|
}
|
|
5011
5027
|
selected() {
|
|
5012
|
-
this.possiblyRemoveSpinner(), this.node.insertBefore(/* @__PURE__ */
|
|
5028
|
+
this.possiblyRemoveSpinner(), this.node.insertBefore(/* @__PURE__ */ b(dt, { size: se.Small }), this.node.firstChild);
|
|
5013
5029
|
}
|
|
5014
5030
|
possiblyRemoveSpinner() {
|
|
5015
5031
|
var n;
|
|
@@ -5177,18 +5193,18 @@ function* $a(e) {
|
|
|
5177
5193
|
}
|
|
5178
5194
|
}
|
|
5179
5195
|
}
|
|
5180
|
-
function fr({ size: e =
|
|
5196
|
+
function fr({ size: e = se.Medium, ...n }) {
|
|
5181
5197
|
const t = K("svg");
|
|
5182
|
-
t.setAttribute("viewBox", "0 0 256 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
5198
|
+
t.setAttribute("viewBox", "0 0 256 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
5183
5199
|
const r = K("path");
|
|
5184
5200
|
return r.setAttribute(
|
|
5185
5201
|
"d",
|
|
5186
5202
|
"M119.5 326.9L3.5 209.1c-4.7-4.7-4.7-12.3 0-17l7.1-7.1c4.7-4.7 12.3-4.7 17 0L128 287.3l100.4-102.2c4.7-4.7 12.3-4.7 17 0l7.1 7.1c4.7 4.7 4.7 12.3 0 17L136.5 327c-4.7 4.6-12.3 4.6-17-.1z"
|
|
5187
5203
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5188
5204
|
}
|
|
5189
|
-
function
|
|
5205
|
+
function jt({ size: e = se.Medium, ...n }) {
|
|
5190
5206
|
const t = K("svg");
|
|
5191
|
-
t.setAttribute("viewBox", "0 0 320 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
5207
|
+
t.setAttribute("viewBox", "0 0 320 512"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
5192
5208
|
const r = K("path");
|
|
5193
5209
|
return r.setAttribute(
|
|
5194
5210
|
"d",
|
|
@@ -5215,18 +5231,18 @@ class xn {
|
|
|
5215
5231
|
this.context = n, this.context.conversationMessage.chat.lazyInitializePyodideAsync(), this._highlightCode = new cr(
|
|
5216
5232
|
"python",
|
|
5217
5233
|
t instanceof pr ? yn(t.functionArguments) : t
|
|
5218
|
-
), this._highlightCode.node.classList.add("p-3", "bg-Sandstone-97", "text-Black", "overflow-x-auto"), this.node = /* @__PURE__ */
|
|
5219
|
-
|
|
5234
|
+
), this._highlightCode.node.classList.add("p-3", "bg-Sandstone-97", "text-Black", "overflow-x-auto"), this.node = /* @__PURE__ */ b("div", { class: "my-2" }, this._buttonNode = /* @__PURE__ */ b(
|
|
5235
|
+
Je,
|
|
5220
5236
|
{
|
|
5221
5237
|
class: "p-2 gap-2 group",
|
|
5222
5238
|
variant: de.Badge,
|
|
5223
5239
|
size: He.Medium,
|
|
5224
5240
|
onclick: () => this.expanded = !this.expanded
|
|
5225
5241
|
},
|
|
5226
|
-
this._buttonIconWrapperNode = /* @__PURE__ */
|
|
5242
|
+
this._buttonIconWrapperNode = /* @__PURE__ */ b("div", { width: "24px", height: "24px" }, /* @__PURE__ */ b(pt, { size: Ze.Small })),
|
|
5227
5243
|
"Generate and run Python code",
|
|
5228
|
-
/* @__PURE__ */
|
|
5229
|
-
), this._contentWrapperNode = /* @__PURE__ */
|
|
5244
|
+
/* @__PURE__ */ b(fr, { class: "transition-all duration-300 group-data-[expanded=true]:-rotate-180" })
|
|
5245
|
+
), this._contentWrapperNode = /* @__PURE__ */ b(
|
|
5230
5246
|
"div",
|
|
5231
5247
|
{
|
|
5232
5248
|
class: "grid",
|
|
@@ -5234,7 +5250,7 @@ class xn {
|
|
|
5234
5250
|
opacity: this._expanded ? "1" : "0",
|
|
5235
5251
|
"aria-expanded": this._expanded
|
|
5236
5252
|
},
|
|
5237
|
-
/* @__PURE__ */
|
|
5253
|
+
/* @__PURE__ */ b("div", { class: "overflow-hidden" }, this._contentNode = /* @__PURE__ */ b("section", { class: "mt-2 border border-Light flex flex-col text-sm" }, this._highlightCode.node))
|
|
5238
5254
|
));
|
|
5239
5255
|
}
|
|
5240
5256
|
get expanded() {
|
|
@@ -5244,15 +5260,15 @@ class xn {
|
|
|
5244
5260
|
var t;
|
|
5245
5261
|
if (n !== this._expanded) {
|
|
5246
5262
|
(t = this._expandedCt) == null || t.cancel();
|
|
5247
|
-
const r = this._expandedCt = new
|
|
5263
|
+
const r = this._expandedCt = new ze();
|
|
5248
5264
|
this._buttonNode.setAttribute("data-expanded", String(this._expanded = n)), n ? (async () => {
|
|
5249
5265
|
try {
|
|
5250
|
-
await
|
|
5266
|
+
await Se(
|
|
5251
5267
|
this._contentWrapperNode,
|
|
5252
5268
|
[{ gridTemplateRows: "1fr" }],
|
|
5253
5269
|
{ duration: 300, easing: "ease-in-out", fill: "forwards" },
|
|
5254
5270
|
this._expandedCt
|
|
5255
|
-
), await
|
|
5271
|
+
), await Se(
|
|
5256
5272
|
this._contentWrapperNode,
|
|
5257
5273
|
[{ opacity: "1" }],
|
|
5258
5274
|
{ duration: 300, easing: "ease-in-out", fill: "forwards" },
|
|
@@ -5263,12 +5279,12 @@ class xn {
|
|
|
5263
5279
|
}
|
|
5264
5280
|
})() : (async () => {
|
|
5265
5281
|
try {
|
|
5266
|
-
await
|
|
5282
|
+
await Se(
|
|
5267
5283
|
this._contentWrapperNode,
|
|
5268
5284
|
[{ opacity: "0" }],
|
|
5269
5285
|
{ duration: 300, easing: "ease-in-out", fill: "forwards" },
|
|
5270
5286
|
this._expandedCt
|
|
5271
|
-
), await
|
|
5287
|
+
), await Se(
|
|
5272
5288
|
this._contentWrapperNode,
|
|
5273
5289
|
[{ gridTemplateRows: "0fr" }],
|
|
5274
5290
|
{ duration: 300, easing: "ease-in-out", fill: "forwards" },
|
|
@@ -5281,25 +5297,25 @@ class xn {
|
|
|
5281
5297
|
}
|
|
5282
5298
|
}
|
|
5283
5299
|
setButtonSuccess() {
|
|
5284
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5300
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(dt, null), this._buttonIconWrapperNode.firstChild);
|
|
5285
5301
|
}
|
|
5286
5302
|
setButtonError() {
|
|
5287
|
-
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5303
|
+
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(jt, null), this._buttonIconWrapperNode.firstChild);
|
|
5288
5304
|
}
|
|
5289
5305
|
getOrAddStdoutStderrNode() {
|
|
5290
|
-
return this._stdoutStderrNode ? this._stdoutStderrNode : (this._stdoutStderrNode = /* @__PURE__ */
|
|
5306
|
+
return this._stdoutStderrNode ? this._stdoutStderrNode : (this._stdoutStderrNode = /* @__PURE__ */ b("section", { class: "border-t border-t-Light p-3 bg-Black text-White text-sm" }, /* @__PURE__ */ b("h1", { class: "mb-2" }, "STDOUT / STDERR")), this._contentNode.insertBefore(this._stdoutStderrNode, this._highlightCode.node.nextSibling), this._stdoutStderrNode);
|
|
5291
5307
|
}
|
|
5292
5308
|
getOrAddStdoutNode() {
|
|
5293
|
-
return this._stdoutNode ? this._stdoutNode : (this._stderrNode = null, this._stdoutNode = /* @__PURE__ */
|
|
5309
|
+
return this._stdoutNode ? this._stdoutNode : (this._stderrNode = null, this._stdoutNode = /* @__PURE__ */ b("pre", null), this.getOrAddStdoutStderrNode().appendChild(this._stdoutNode), this._stdoutNode);
|
|
5294
5310
|
}
|
|
5295
5311
|
getOrAddStderrNode() {
|
|
5296
|
-
return this._stderrNode ? this._stderrNode : (this._stdoutNode = null, this._stderrNode = /* @__PURE__ */
|
|
5312
|
+
return this._stderrNode ? this._stderrNode : (this._stdoutNode = null, this._stderrNode = /* @__PURE__ */ b("pre", { class: "text-Energy-Red-45" }), this.getOrAddStdoutStderrNode().appendChild(this._stderrNode), this._stderrNode);
|
|
5297
5313
|
}
|
|
5298
5314
|
getOrAddErrorNode() {
|
|
5299
|
-
return this._errorNode ? this._errorNode : (this._errorNode = /* @__PURE__ */
|
|
5315
|
+
return this._errorNode ? this._errorNode : (this._errorNode = /* @__PURE__ */ b("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);
|
|
5300
5316
|
}
|
|
5301
5317
|
getOrAddResultRawNode() {
|
|
5302
|
-
return this._resultRawNode ? this._resultRawNode : (this._resultNode = /* @__PURE__ */
|
|
5318
|
+
return this._resultRawNode ? this._resultRawNode : (this._resultNode = /* @__PURE__ */ b("section", { class: "border-t border-t-Light p-3 bg-Black text-White text-sm" }, /* @__PURE__ */ b("h1", { class: "mb-2" }, "RESULT"), this._resultRawNode = /* @__PURE__ */ b("pre", null)), this._contentNode.appendChild(this._resultNode), this._resultRawNode);
|
|
5303
5319
|
}
|
|
5304
5320
|
onClientResult(n) {
|
|
5305
5321
|
if (!this._ignoreSetResult) {
|
|
@@ -5386,13 +5402,13 @@ class Va {
|
|
|
5386
5402
|
y(this, "node");
|
|
5387
5403
|
y(this, "_buttonNode");
|
|
5388
5404
|
y(this, "_buttonIconWrapperNode");
|
|
5389
|
-
this.context = n, this.node = /* @__PURE__ */
|
|
5405
|
+
this.context = n, this.node = /* @__PURE__ */ b("div", { class: "my-2" }, this._buttonNode = /* @__PURE__ */ b(Je, { as: "div", class: "p-2 pr-3 gap-2 select-none", variant: de.Badge, size: He.Medium }, this._buttonIconWrapperNode = /* @__PURE__ */ b("div", { width: "24px", height: "24px" }, /* @__PURE__ */ b(pt, { size: Ze.Small })), `Search for '${t}'`));
|
|
5390
5406
|
}
|
|
5391
5407
|
setButtonSuccess() {
|
|
5392
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5408
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(dt, null), this._buttonIconWrapperNode.firstChild);
|
|
5393
5409
|
}
|
|
5394
5410
|
setButtonError() {
|
|
5395
|
-
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5411
|
+
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(jt, null), this._buttonIconWrapperNode.firstChild);
|
|
5396
5412
|
}
|
|
5397
5413
|
onOpcodeMessageToolCallResultReceived(n) {
|
|
5398
5414
|
this.setButtonSuccess();
|
|
@@ -5413,26 +5429,26 @@ class Qa extends ut {
|
|
|
5413
5429
|
this.context = t;
|
|
5414
5430
|
let s;
|
|
5415
5431
|
switch (r.type) {
|
|
5416
|
-
case
|
|
5417
|
-
s = /* @__PURE__ */
|
|
5432
|
+
case ce.Error:
|
|
5433
|
+
s = /* @__PURE__ */ b(Pt, { class: "text-Energy-Red-45" });
|
|
5418
5434
|
break;
|
|
5419
|
-
case
|
|
5420
|
-
s = /* @__PURE__ */
|
|
5435
|
+
case ce.Danger:
|
|
5436
|
+
s = /* @__PURE__ */ b(lt, { class: "text-Energy-Red-45" });
|
|
5421
5437
|
break;
|
|
5422
|
-
case
|
|
5423
|
-
s = /* @__PURE__ */
|
|
5438
|
+
case ce.Warning:
|
|
5439
|
+
s = /* @__PURE__ */ b(lt, { class: "text-Terracotta-30" });
|
|
5424
5440
|
break;
|
|
5425
|
-
case
|
|
5426
|
-
s = /* @__PURE__ */
|
|
5441
|
+
case ce.Info:
|
|
5442
|
+
s = /* @__PURE__ */ b(Ut, { class: "text-Sea-Blue-Main-28" });
|
|
5427
5443
|
break;
|
|
5428
|
-
case
|
|
5429
|
-
s = /* @__PURE__ */
|
|
5444
|
+
case ce.Success:
|
|
5445
|
+
s = /* @__PURE__ */ b(dr, { class: "text-Land-Green-30" });
|
|
5430
5446
|
break;
|
|
5431
5447
|
}
|
|
5432
5448
|
s.classList.add("shrink-0");
|
|
5433
5449
|
let i;
|
|
5434
|
-
this.node = /* @__PURE__ */
|
|
5435
|
-
|
|
5450
|
+
this.node = /* @__PURE__ */ b("section", { class: "max-w-lg text-left my-2 bg-Sandstone-97 select-none border border-Light" }, /* @__PURE__ */ b("div", { class: "p-6 pb-3 flex gap-5" }, s, /* @__PURE__ */ b("div", null, /* @__PURE__ */ b("h6", null, r.title), i = /* @__PURE__ */ b("div", { class: "prose prose-sm prose-neutral" }))), /* @__PURE__ */ b("fieldset", { class: "p-6 pt-3 flex justify-end gap-3" }, /* @__PURE__ */ b(
|
|
5451
|
+
Je,
|
|
5436
5452
|
{
|
|
5437
5453
|
as: "a",
|
|
5438
5454
|
variant: de.Tertiary,
|
|
@@ -5442,7 +5458,7 @@ class Qa extends ut {
|
|
|
5442
5458
|
href: r.url
|
|
5443
5459
|
},
|
|
5444
5460
|
"Open in new tab"
|
|
5445
|
-
))),
|
|
5461
|
+
))), Dt(
|
|
5446
5462
|
i,
|
|
5447
5463
|
r.textInMarkdown,
|
|
5448
5464
|
this.context.conversationMessage.chat.pyodide,
|
|
@@ -5454,26 +5470,35 @@ class Qa extends ut {
|
|
|
5454
5470
|
onErrorWhileReadingBodyStream(t) {
|
|
5455
5471
|
}
|
|
5456
5472
|
}
|
|
5457
|
-
function
|
|
5473
|
+
function kt({ size: e = se.Medium, ...n }) {
|
|
5458
5474
|
const t = K("svg");
|
|
5459
|
-
t.setAttribute("viewBox", "0 0 20 20"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
5475
|
+
t.setAttribute("viewBox", "0 0 20 20"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
5460
5476
|
const r = K("path");
|
|
5461
5477
|
return r.setAttribute(
|
|
5462
5478
|
"d",
|
|
5463
5479
|
"M10.9153 1.83987L11.2942 1.88772L11.4749 1.91507C13.2633 2.24201 14.4107 4.01717 13.9749 5.78225L13.9261 5.95901L13.3987 7.6719C13.7708 7.67575 14.0961 7.68389 14.3792 7.70608C14.8737 7.74486 15.3109 7.82759 15.7015 8.03323L15.8528 8.11819C16.5966 8.56353 17.1278 9.29625 17.3167 10.1475L17.347 10.3096C17.403 10.69 17.3647 11.0832 17.2835 11.5098C17.2375 11.7517 17.1735 12.0212 17.096 12.3233L16.8255 13.3321L16.4456 14.7276C16.2076 15.6001 16.0438 16.2356 15.7366 16.7305L15.595 16.9346C15.2989 17.318 14.9197 17.628 14.4866 17.8408L14.2982 17.9258C13.6885 18.1774 12.9785 18.1651 11.9446 18.1651H7.33331C6.64422 18.1651 6.08726 18.1657 5.63702 18.1289C5.23638 18.0962 4.87565 18.031 4.53936 17.8867L4.39679 17.8203C3.87576 17.5549 3.43916 17.151 3.13507 16.6553L3.013 16.4366C2.82119 16.0599 2.74182 15.6541 2.7044 15.1963C2.66762 14.7461 2.66827 14.1891 2.66827 13.5V11.667C2.66827 10.9349 2.66214 10.4375 2.77569 10.0137L2.83722 9.81253C3.17599 8.81768 3.99001 8.05084 5.01397 7.77639L5.17706 7.73928C5.56592 7.66435 6.02595 7.66799 6.66632 7.66799C6.9429 7.66799 7.19894 7.52038 7.33624 7.2803L10.2562 2.16995L10.3118 2.08792C10.4544 1.90739 10.6824 1.81092 10.9153 1.83987ZM7.33136 14.167C7.33136 14.9841 7.33714 15.2627 7.39386 15.4746L7.42999 15.5918C7.62644 16.1686 8.09802 16.6134 8.69171 16.7725L8.87042 16.8067C9.07652 16.8323 9.38687 16.835 10.0003 16.835H11.9446C13.099 16.835 13.4838 16.8228 13.7903 16.6963L13.8997 16.6465C14.1508 16.5231 14.3716 16.3444 14.5433 16.1221L14.6155 16.0166C14.7769 15.7552 14.8968 15.3517 15.1624 14.378L15.5433 12.9824L15.8079 11.9922C15.8804 11.7102 15.9368 11.4711 15.9769 11.2608C16.0364 10.948 16.0517 10.7375 16.0394 10.5791L16.0179 10.4356C15.9156 9.97497 15.641 9.57381 15.2542 9.31253L15.0814 9.20999C14.9253 9.12785 14.6982 9.06544 14.2747 9.03225C13.8477 8.99881 13.2923 8.99807 12.5003 8.99807C12.2893 8.99807 12.0905 8.89822 11.9651 8.72854C11.8398 8.55879 11.8025 8.33942 11.8646 8.13772L12.6556 5.56741L12.7054 5.36331C12.8941 4.35953 12.216 3.37956 11.1878 3.2178L8.49054 7.93948C8.23033 8.39484 7.81431 8.72848 7.33136 8.88967V14.167ZM3.99835 13.5C3.99835 14.2111 3.99924 14.7044 4.03058 15.0879C4.06128 15.4636 4.11804 15.675 4.19854 15.833L4.26886 15.959C4.44517 16.2466 4.69805 16.4808 5.0003 16.6348L5.13019 16.6905C5.27397 16.7419 5.46337 16.7797 5.74542 16.8028C5.97772 16.8217 6.25037 16.828 6.58722 16.8311C6.41249 16.585 6.27075 16.3136 6.1712 16.0215L6.10968 15.8194C5.99614 15.3956 6.00128 14.899 6.00128 14.167V9.00296C5.79386 9.0067 5.65011 9.01339 5.53741 9.02737L5.3587 9.06057C4.76502 9.21965 4.29247 9.66448 4.09601 10.2412L4.06085 10.3584C4.00404 10.5705 3.99835 10.8493 3.99835 11.667V13.5Z"
|
|
5464
5480
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5465
5481
|
}
|
|
5466
|
-
function
|
|
5482
|
+
function zt({ size: e = se.Medium, ...n }) {
|
|
5467
5483
|
const t = K("svg");
|
|
5468
|
-
t.setAttribute("viewBox", "0 0 20 20"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e),
|
|
5484
|
+
t.setAttribute("viewBox", "0 0 20 20"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
5469
5485
|
const r = K("path");
|
|
5470
5486
|
return r.setAttribute(
|
|
5471
5487
|
"d",
|
|
5472
5488
|
"M12.6687 5.83304C12.6687 5.22006 12.6649 4.91019 12.6394 4.70413L12.6062 4.52542C12.4471 3.93179 12.0022 3.45922 11.4255 3.26272L11.3083 3.22757C11.0963 3.17075 10.8175 3.16507 9.99974 3.16507H8.0554C7.04558 3.16507 6.62456 3.17475 6.32982 3.26175L6.2097 3.30374C5.95005 3.41089 5.71908 3.57635 5.53392 3.78616L5.45677 3.87796C5.30475 4.0748 5.20336 4.33135 5.03392 4.91702L4.83763 5.6221L4.45677 7.01761C4.24829 7.78204 4.10326 8.31846 4.02318 8.73929C3.94374 9.15672 3.94298 9.39229 3.98119 9.56448L4.03587 9.75784C4.18618 10.1996 4.50043 10.5702 4.91771 10.7901L5.05052 10.8477C5.20009 10.9014 5.40751 10.9429 5.72533 10.9678C6.15231 11.0012 6.70771 11.002 7.49974 11.002C7.71076 11.002 7.90952 11.1018 8.0349 11.2715C8.14465 11.4201 8.18683 11.6067 8.15404 11.7862L8.13548 11.8623L7.34447 14.4326C7.01523 15.5033 7.71404 16.6081 8.81126 16.7813L11.5095 12.0606L11.5827 11.9405C11.8445 11.5461 12.2289 11.2561 12.6687 11.1094V5.83304ZM17.3318 8.33304C17.3318 8.97366 17.3364 9.43432 17.2615 9.82327L17.2234 9.98538C16.949 11.0094 16.1821 11.8233 15.1872 12.1621L14.9861 12.2237C14.5624 12.3372 14.0656 12.3321 13.3337 12.3321C13.0915 12.3321 12.8651 12.4453 12.7204 12.6348L12.6638 12.7198L9.74388 17.8301C9.61066 18.0631 9.35005 18.1935 9.08372 18.1602L8.70579 18.1123C6.75379 17.8682 5.49542 15.9213 6.07396 14.041L6.60033 12.3272C6.22861 12.3233 5.90377 12.3161 5.62083 12.294C5.18804 12.26 4.79914 12.1931 4.44701 12.0391L4.29857 11.9668C3.52688 11.5605 2.95919 10.8555 2.72533 10.0205L2.68333 9.85257C2.58769 9.42154 2.62379 8.97768 2.71654 8.49026C2.80865 8.00634 2.97082 7.41139 3.17357 6.668L3.55443 5.27249L3.74583 4.58011C3.9286 3.94171 4.10186 3.45682 4.40404 3.06546L4.53685 2.9053C4.85609 2.54372 5.25433 2.25896 5.70189 2.07425L5.93626 1.99222C6.49455 1.82612 7.15095 1.83499 8.0554 1.83499H12.6667C13.3558 1.83499 13.9128 1.83434 14.363 1.87112C14.8208 1.90854 15.2266 1.98789 15.6033 2.17972L15.821 2.30179C16.317 2.6059 16.7215 3.04226 16.987 3.56351L17.0535 3.70608C17.1977 4.04236 17.2629 4.40311 17.2956 4.80374C17.3324 5.25398 17.3318 5.81094 17.3318 6.50003V8.33304ZM13.9978 10.9961C14.3321 10.9901 14.5013 10.977 14.6413 10.9395L14.7585 10.9033C15.3353 10.7069 15.7801 10.2353 15.9392 9.64163L15.9724 9.46292C15.998 9.25682 16.0017 8.94657 16.0017 8.33304V6.50003C16.0017 5.78899 16.0008 5.29566 15.9695 4.91214C15.9464 4.6301 15.9086 4.44069 15.8572 4.2969L15.8015 4.16702C15.6475 3.86478 15.4133 3.6119 15.1257 3.43558L14.9997 3.36526C14.8418 3.28477 14.6302 3.228 14.2546 3.19729C14.0221 3.1783 13.7491 3.17109 13.4118 3.168C13.6267 3.47028 13.7914 3.81126 13.8904 4.18069L13.9275 4.34378C13.981 4.62163 13.9947 4.93582 13.9978 5.3262V10.9961Z"
|
|
5473
5489
|
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5474
5490
|
}
|
|
5491
|
+
function Ja({ size: e = se.Medium, ...n }) {
|
|
5492
|
+
const t = K("svg");
|
|
5493
|
+
t.setAttribute("viewBox", "0 0 32 32"), t.setAttribute("fill", "currentColor"), t.setAttribute("width", e), t.setAttribute("height", e), ie(t, n);
|
|
5494
|
+
const r = K("path");
|
|
5495
|
+
return r.setAttribute(
|
|
5496
|
+
"d",
|
|
5497
|
+
"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
|
+
), t.appendChild(r), t.classList.add("icon"), t;
|
|
5499
|
+
}
|
|
5475
5500
|
class mr {
|
|
5476
|
-
constructor(n, t, r, s, i, a, o) {
|
|
5501
|
+
constructor(n, t, r, s, i, a, o, u) {
|
|
5477
5502
|
y(this, "node");
|
|
5478
5503
|
y(this, "_rightColumnNode");
|
|
5479
5504
|
y(this, "_feedbackNode");
|
|
@@ -5489,7 +5514,8 @@ class mr {
|
|
|
5489
5514
|
y(this, "_subConversations", {});
|
|
5490
5515
|
y(this, "_pulseNode");
|
|
5491
5516
|
y(this, "_pulseNodeAnimation");
|
|
5492
|
-
|
|
5517
|
+
y(this, "_suggestionTextList");
|
|
5518
|
+
this.conversation = n, this.authorRole = t, this.authorId = r, this.authorPictureUrl = s, this.authorDisplayName = i, this.authorEmail = a, this.messageId = o, this.copilitId = u, this.node = /* @__PURE__ */ b("li", { class: "p-2 flex gap-2" }, /* @__PURE__ */ b(La, { class: "shrink-0", id: this.authorId, title: this.authorDisplayName }, this.authorPictureUrl ? /* @__PURE__ */ b("img", { src: this.authorPictureUrl, class: "w-full h-full" }) : /* @__PURE__ */ b("span", { marginTop: "-.1em" }, Ia(this.authorDisplayName))), this._rightColumnNode = /* @__PURE__ */ b("div", { class: "shrink-0 flex-1" }, /* @__PURE__ */ b("div", { class: "font-medium text-base leading-5" }, this.authorDisplayName))), 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 }];
|
|
5493
5519
|
}
|
|
5494
5520
|
//private _completedSubConversationsInCurrentLoop = new Set<SubConversation>();
|
|
5495
5521
|
get chat() {
|
|
@@ -5497,11 +5523,11 @@ class mr {
|
|
|
5497
5523
|
}
|
|
5498
5524
|
ensureCurrentMessageBlockNode() {
|
|
5499
5525
|
if (!this._currentMessageBlockNode && (this._rightColumnNode.appendChild(
|
|
5500
|
-
this._toolCallInfoNode = /* @__PURE__ */
|
|
5526
|
+
this._toolCallInfoNode = /* @__PURE__ */ b("div", { class: "prose prose-neutral prose-sm max-w-none" })
|
|
5501
5527
|
), this._rightColumnNode.appendChild(
|
|
5502
|
-
this._currentMessageBlockNode = /* @__PURE__ */
|
|
5528
|
+
this._currentMessageBlockNode = /* @__PURE__ */ b("div", { class: "prose prose-neutral prose-sm max-w-none" })
|
|
5503
5529
|
), this._currentMessageBlockNodeMarkdown = "", this.authorRole === "assistant")) {
|
|
5504
|
-
this._pulseNode = /* @__PURE__ */
|
|
5530
|
+
this._pulseNode = /* @__PURE__ */ b("div", { class: "inline-flex relative h-3 w-3" }, /* @__PURE__ */ b("div", { class: "absolute inline-flex h-full w-full rounded-full bg-Sky-Blue-80" }), /* @__PURE__ */ b("div", { class: "relative inline-flex rounded-full h-full w-full bg-Sky-Blue-Main-77" })), this._currentMessageBlockNode.appendChild(this._pulseNode);
|
|
5505
5531
|
const n = [
|
|
5506
5532
|
//{ transform: "scale(1)", opacity: 1, offset: 0 },
|
|
5507
5533
|
{ transform: "scale(2.5)", opacity: 0, offset: 0.75 },
|
|
@@ -5523,12 +5549,12 @@ class mr {
|
|
|
5523
5549
|
var t = this._pulseNodeAnimation.currentTime;
|
|
5524
5550
|
this._pulseNodeAnimation.pause(), this._pulseNode.remove();
|
|
5525
5551
|
}
|
|
5526
|
-
|
|
5552
|
+
Dt(
|
|
5527
5553
|
this._currentMessageBlockNode,
|
|
5528
5554
|
this._currentMessageBlockNodeMarkdown,
|
|
5529
5555
|
this.chat.pyodide,
|
|
5530
5556
|
this.chat.mdastExtensions
|
|
5531
|
-
), this._pulseNode && (this._pulseNodeAnimation.currentTime = t, this._pulseNode.classList.add("ml-[1ch]"),
|
|
5557
|
+
), this._pulseNode && (this._pulseNodeAnimation.currentTime = t, this._pulseNode.classList.add("ml-[1ch]"), Za(this._currentMessageBlockNode).appendChild(this._pulseNode), this._pulseNodeAnimation.play());
|
|
5532
5558
|
}
|
|
5533
5559
|
toolCallUpdate(n) {
|
|
5534
5560
|
var r;
|
|
@@ -5562,8 +5588,8 @@ class mr {
|
|
|
5562
5588
|
if (u)
|
|
5563
5589
|
a = u(o, ...i), this.chat.clientFunctionInvocationsByOperationId[t] = a, this._clientFunctionInvocationsByOperationId[t] = a, this._clientFunctionInvocationsByLlmFunctionId[n] = a, (c = a.run) == null || c.call(a, ...i), this.removePulseNodeIfItIsThere(), a.node && (this._rightColumnNode.appendChild(a.node), a instanceof ut && a.context.conversationMessage.expandAsync(), this._currentMessageBlockNode = null, this._currentMessageBlockNodeMarkdown = null);
|
|
5564
5590
|
else {
|
|
5565
|
-
const
|
|
5566
|
-
o.postErrorAsync(
|
|
5591
|
+
const p = `Function '${r}' not found. This occurs if a tool / function has been invoked, that requires some sort of user interaction (e.g. to obtain confirmation or to fill out some form values), then contacts the front-end to obtain a response, but the front-end is unable to handle the request because the function to be invoked does not exist. This error was thrown in the front-end. This most likely indicates that the bot is set up incorrectly, and the user should contact support.`;
|
|
5592
|
+
o.postErrorAsync(p);
|
|
5567
5593
|
}
|
|
5568
5594
|
}
|
|
5569
5595
|
setClientInvocationResult(n, t) {
|
|
@@ -5576,7 +5602,7 @@ class mr {
|
|
|
5576
5602
|
}
|
|
5577
5603
|
onOpcodeMessageToolCallBeginReceived(n, t) {
|
|
5578
5604
|
this._showToolCallResult = !0, this.ensureCurrentMessageBlockNode(), this._toolCallInfoNode.appendChild(
|
|
5579
|
-
/* @__PURE__ */
|
|
5605
|
+
/* @__PURE__ */ b("div", { class: "flex" }, /* @__PURE__ */ b("div", { class: "p-1" }, /* @__PURE__ */ b("label", null, t)))
|
|
5580
5606
|
);
|
|
5581
5607
|
}
|
|
5582
5608
|
onOpcodeMessageToolCallResultReceived(n, t) {
|
|
@@ -5588,7 +5614,7 @@ class mr {
|
|
|
5588
5614
|
r = t;
|
|
5589
5615
|
}
|
|
5590
5616
|
this.ensureCurrentMessageBlockNode(), this._showToolCallResult && this._toolCallInfoNode.appendChild(
|
|
5591
|
-
/* @__PURE__ */
|
|
5617
|
+
/* @__PURE__ */ b("div", { class: "flex" }, /* @__PURE__ */ b("div", { class: "p-1" }, /* @__PURE__ */ b("pre", { class: "whitespace-pre-wrap" }, JSON.stringify(r, null, 2))))
|
|
5592
5618
|
);
|
|
5593
5619
|
let s = this._clientFunctionInvocationsByLlmFunctionId[n];
|
|
5594
5620
|
s && ((i = s.onOpcodeMessageToolCallResultReceived) == null || i.call(s, t), this.onClientFunctionInvocationCompleted(s));
|
|
@@ -5616,17 +5642,26 @@ class mr {
|
|
|
5616
5642
|
onOpcodeEndReceived() {
|
|
5617
5643
|
this.removePulseNodeIfItIsThere(), this._toolCallBuilder.clear(), this._clientFunctionInvocationsByLlmFunctionId = {}, this._subConversations = {};
|
|
5618
5644
|
const n = this.conversation.chat.feedbackByMessageId.get(this.messageId);
|
|
5619
|
-
n != null ? this._feedbackNode = /* @__PURE__ */
|
|
5620
|
-
this.conversation.chat.setLike(this.messageId, !0), this._feedbackNode.replaceWith(
|
|
5621
|
-
this._feedbackNode = /* @__PURE__ */
|
|
5622
|
-
);
|
|
5623
|
-
} }, /* @__PURE__ */ w(yt, null)), /* @__PURE__ */ w("a", { class: "btn btn-link p-1", onclick: () => {
|
|
5624
|
-
this.conversation.chat.setLike(this.messageId, !1), this._feedbackNode.replaceWith(
|
|
5625
|
-
this._feedbackNode = /* @__PURE__ */ w("div", { class: "flex" }, /* @__PURE__ */ w("a", { class: "btn btn-link p-1" }, /* @__PURE__ */ w(kt, null)))
|
|
5645
|
+
n != null ? this._feedbackNode = /* @__PURE__ */ b("div", { class: "flex" }, /* @__PURE__ */ b("a", { class: "btn btn-link p-1" }, /* @__PURE__ */ b(n ? kt : zt, null))) : this._feedbackNode = /* @__PURE__ */ b("div", { class: "flex" }, /* @__PURE__ */ b("a", { class: "btn btn-link p-1", onclick: () => {
|
|
5646
|
+
this.conversation.chat.setLike(this.messageId, this.copilitId, !0), this._feedbackNode.replaceWith(
|
|
5647
|
+
this._feedbackNode = /* @__PURE__ */ b("div", { class: "flex" }, /* @__PURE__ */ b("a", { class: "btn btn-link p-1" }, /* @__PURE__ */ b(kt, null)))
|
|
5626
5648
|
);
|
|
5627
|
-
} }, /* @__PURE__ */
|
|
5628
|
-
this.
|
|
5629
|
-
|
|
5649
|
+
} }, /* @__PURE__ */ b(kt, null)), /* @__PURE__ */ b("a", { class: "btn btn-link p-1", onclick: () => {
|
|
5650
|
+
const t = /* @__PURE__ */ b("div", { class: "vui-dialog-overlay-rac" }, /* @__PURE__ */ b("div", { role: "dialog", class: "vui-dialog-content-rac w-[600px] gap-5" }, /* @__PURE__ */ b("button", { onclick: () => t.remove(), class: "vui-dialog-close-button-rac" }, /* @__PURE__ */ b(Ja, { size: "18" })), /* @__PURE__ */ b("div", { class: "vui-dialog-header-rac" }, /* @__PURE__ */ b("label", { class: "text-label-md pl-7" }, "Tell us more")), /* @__PURE__ */ b("div", { class: "vui-dialog-body-rac flex flex-col gap-5" }, /* @__PURE__ */ b("div", { class: "text-label-sm pl-7" }, this._suggestionTextList.map((r, s) => /* @__PURE__ */ b("span", { class: "feedback-suggestion-text", onclick: (i) => {
|
|
5651
|
+
this._suggestionTextList.filter((u, l) => l !== s && u.isActive).forEach((u) => u.isActive = !1), t.querySelectorAll(".feedback-suggestion-text").forEach((u) => u.classList.toggle("feedback-suggestion-text-active", !1)), r.isActive = !r.isActive, i.currentTarget.classList.toggle("feedback-suggestion-text-active", r.isActive);
|
|
5652
|
+
} }, r.text))), /* @__PURE__ */ b("textarea", { placeholder: "Add special details (optional)", class: "feedback-comment-text" })), /* @__PURE__ */ b("div", { class: "vui-dialog-footer-rac flex justify-end gap-2" }, /* @__PURE__ */ b("button", { class: "btn-rac btn-primary-rac btn-lg", onclick: () => {
|
|
5653
|
+
let r = "";
|
|
5654
|
+
this._suggestionTextList.map((a, o) => {
|
|
5655
|
+
a.isActive && (r = a.text);
|
|
5656
|
+
});
|
|
5657
|
+
let s = "";
|
|
5658
|
+
const i = t.querySelector(".feedback-comment-text").value;
|
|
5659
|
+
i !== "" && (s = i), this.conversation.chat.setLike(this.messageId, this.copilitId, !1, r, s), t.remove(), this._feedbackNode.replaceWith(
|
|
5660
|
+
this._feedbackNode = /* @__PURE__ */ b("div", { class: "flex" }, /* @__PURE__ */ b("a", { class: "btn btn-link p-1" }, /* @__PURE__ */ b(zt, null)))
|
|
5661
|
+
);
|
|
5662
|
+
} }, "Submit"))));
|
|
5663
|
+
document.body.appendChild(t);
|
|
5664
|
+
} }, /* @__PURE__ */ b(zt, null))), this._rightColumnNode.appendChild(this._feedbackNode);
|
|
5630
5665
|
}
|
|
5631
5666
|
onErrorWhileReadingBodyStream(n) {
|
|
5632
5667
|
this.removePulseNodeIfItIsThere();
|
|
@@ -5654,7 +5689,7 @@ class mr {
|
|
|
5654
5689
|
}, n.clientFunctionInvocationHandlersPartial.python = (t, r) => new xn(t, r), n.clientFunctionInvocationHandlers.ButtonOptionsDialog = (t, r) => new qa(t, r), n.clientFunctionInvocationHandlers.search = (t, r) => new Va(t, r), n.clientFunctionInvocationHandlers.WindowOpenDialog = (t, r) => new Qa(t, r);
|
|
5655
5690
|
}
|
|
5656
5691
|
}
|
|
5657
|
-
function
|
|
5692
|
+
function Za(e) {
|
|
5658
5693
|
for (; ; )
|
|
5659
5694
|
for (let n = e.lastChild; ; n = n.previousSibling)
|
|
5660
5695
|
if (n) {
|
|
@@ -5675,19 +5710,20 @@ class gr {
|
|
|
5675
5710
|
y(this, "_opcodeConversationEndReceived");
|
|
5676
5711
|
y(this, "_opcodeConversationErrorReceived");
|
|
5677
5712
|
y(this, "_onErrorWhileReadingBodyStreamCalled");
|
|
5678
|
-
this.chat = n, this.id = t, this.node = this.messagesListNode = /* @__PURE__ */
|
|
5713
|
+
this.chat = n, this.id = t, this.node = this.messagesListNode = /* @__PURE__ */ b("ol", null);
|
|
5679
5714
|
}
|
|
5680
|
-
onOpcodeMessageBeginReceived(n, t, r, s, i, a) {
|
|
5681
|
-
const
|
|
5715
|
+
onOpcodeMessageBeginReceived(n, t, r, s, i, a, o) {
|
|
5716
|
+
const u = new mr(
|
|
5682
5717
|
this,
|
|
5683
5718
|
n,
|
|
5684
5719
|
t,
|
|
5685
5720
|
r,
|
|
5686
5721
|
s,
|
|
5687
5722
|
i,
|
|
5688
|
-
a
|
|
5723
|
+
a,
|
|
5724
|
+
o
|
|
5689
5725
|
);
|
|
5690
|
-
return this.messages.push(this.activeMessage =
|
|
5726
|
+
return this.messages.push(this.activeMessage = u), this.messagesListNode.appendChild(u.node), u;
|
|
5691
5727
|
}
|
|
5692
5728
|
onOpcodeMessageAppendReceived(n) {
|
|
5693
5729
|
this.activeMessage.append(n);
|
|
@@ -5737,7 +5773,8 @@ class gr {
|
|
|
5737
5773
|
n.messageAuthorPictureUrl,
|
|
5738
5774
|
n.messageAuthorDisplayName,
|
|
5739
5775
|
n.messageAuthorEmail,
|
|
5740
|
-
n.messageId
|
|
5776
|
+
n.messageId,
|
|
5777
|
+
n.copilotId
|
|
5741
5778
|
), !0;
|
|
5742
5779
|
case j.MessageAppend:
|
|
5743
5780
|
return this.onOpcodeMessageAppendReceived(n.appendMessageMarkdown), !0;
|
|
@@ -5811,12 +5848,12 @@ class gr {
|
|
|
5811
5848
|
}
|
|
5812
5849
|
displayError(n, t) {
|
|
5813
5850
|
this.messagesListNode.appendChild(
|
|
5814
|
-
/* @__PURE__ */
|
|
5851
|
+
/* @__PURE__ */ b("li", { class: "m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97" }, /* @__PURE__ */ b(Pt, { class: "text-Energy-Red-45" }), /* @__PURE__ */ b("div", null, /* @__PURE__ */ b("h6", null, n), /* @__PURE__ */ b("div", { class: "prose prose-sm prose-neutral" }, /* @__PURE__ */ b("p", null, t))))
|
|
5815
5852
|
);
|
|
5816
5853
|
}
|
|
5817
5854
|
displayInfo(n, t) {
|
|
5818
5855
|
this.messagesListNode.appendChild(
|
|
5819
|
-
/* @__PURE__ */
|
|
5856
|
+
/* @__PURE__ */ b("li", { class: "m-2 border border-Light p-6 flex gap-5 bg-Sandstone-97" }, /* @__PURE__ */ b(Ut, { class: "text-Sea-Blue-Main-28" }), /* @__PURE__ */ b("div", null, /* @__PURE__ */ b("h6", null, n), /* @__PURE__ */ b("div", { class: "prose prose-sm prose-neutral" }, /* @__PURE__ */ b("p", null, t))))
|
|
5820
5857
|
);
|
|
5821
5858
|
}
|
|
5822
5859
|
}
|
|
@@ -5831,18 +5868,18 @@ class kn extends gr {
|
|
|
5831
5868
|
y(this, "_expanded", !1);
|
|
5832
5869
|
y(this, "_expandedCt");
|
|
5833
5870
|
y(this, "_expandPromise");
|
|
5834
|
-
this.parentMessage = s, this.title = i, this.node = /* @__PURE__ */
|
|
5835
|
-
|
|
5871
|
+
this.parentMessage = s, this.title = i, this.node = /* @__PURE__ */ b("div", { class: "my-2" }, this._buttonNode = /* @__PURE__ */ b(
|
|
5872
|
+
Je,
|
|
5836
5873
|
{
|
|
5837
5874
|
class: "p-2 gap-2 group",
|
|
5838
5875
|
variant: de.Badge,
|
|
5839
5876
|
size: He.Medium,
|
|
5840
5877
|
onclick: () => this.expanded = !this.expanded
|
|
5841
5878
|
},
|
|
5842
|
-
this._buttonIconWrapperNode = /* @__PURE__ */
|
|
5879
|
+
this._buttonIconWrapperNode = /* @__PURE__ */ b("div", { width: "24px", height: "24px" }, /* @__PURE__ */ b(pt, { size: Ze.Small })),
|
|
5843
5880
|
this.title,
|
|
5844
|
-
/* @__PURE__ */
|
|
5845
|
-
), this._contentWrapperNode = /* @__PURE__ */
|
|
5881
|
+
/* @__PURE__ */ b(fr, { class: "transition-all duration-300 group-data-[expanded=true]:-rotate-180" })
|
|
5882
|
+
), this._contentWrapperNode = /* @__PURE__ */ b(
|
|
5846
5883
|
"div",
|
|
5847
5884
|
{
|
|
5848
5885
|
class: "grid",
|
|
@@ -5850,7 +5887,7 @@ class kn extends gr {
|
|
|
5850
5887
|
opacity: this._expanded ? "1" : "0",
|
|
5851
5888
|
"aria-expanded": this._expanded
|
|
5852
5889
|
},
|
|
5853
|
-
/* @__PURE__ */
|
|
5890
|
+
/* @__PURE__ */ b("div", { class: "overflow-hidden" }, this._contentNode = /* @__PURE__ */ b("section", { class: "mt-2 border border-Light flex flex-col bg-Sandstone-95 p-3" }, this.messagesListNode))
|
|
5854
5891
|
));
|
|
5855
5892
|
}
|
|
5856
5893
|
get expanded() {
|
|
@@ -5862,15 +5899,15 @@ class kn extends gr {
|
|
|
5862
5899
|
async doExpandAsync() {
|
|
5863
5900
|
var r;
|
|
5864
5901
|
(r = this._expandedCt) == null || r.cancel();
|
|
5865
|
-
const t = this._expandedCt = new
|
|
5902
|
+
const t = this._expandedCt = new ze();
|
|
5866
5903
|
this._buttonNode.setAttribute("data-expanded", String(this._expanded = !0)), this._expandPromise = (async () => {
|
|
5867
5904
|
try {
|
|
5868
|
-
await
|
|
5905
|
+
await Se(
|
|
5869
5906
|
this._contentWrapperNode,
|
|
5870
5907
|
[{ gridTemplateRows: "1fr" }],
|
|
5871
5908
|
{ duration: 300, easing: "ease-in-out", fill: "forwards" },
|
|
5872
5909
|
this._expandedCt
|
|
5873
|
-
), await
|
|
5910
|
+
), await Se(
|
|
5874
5911
|
this._contentWrapperNode,
|
|
5875
5912
|
[{ opacity: "1" }],
|
|
5876
5913
|
{ duration: 300, easing: "ease-in-out", fill: "forwards" },
|
|
@@ -5884,15 +5921,15 @@ class kn extends gr {
|
|
|
5884
5921
|
async doCollapseAsync() {
|
|
5885
5922
|
var r;
|
|
5886
5923
|
(r = this._expandedCt) == null || r.cancel();
|
|
5887
|
-
const t = this._expandedCt = new
|
|
5924
|
+
const t = this._expandedCt = new ze();
|
|
5888
5925
|
this._buttonNode.setAttribute("data-expanded", String(this._expanded = !1));
|
|
5889
5926
|
try {
|
|
5890
|
-
await
|
|
5927
|
+
await Se(
|
|
5891
5928
|
this._contentWrapperNode,
|
|
5892
5929
|
[{ opacity: "0" }],
|
|
5893
5930
|
{ duration: 300, easing: "ease-in-out", fill: "forwards" },
|
|
5894
5931
|
this._expandedCt
|
|
5895
|
-
), await
|
|
5932
|
+
), await Se(
|
|
5896
5933
|
this._contentWrapperNode,
|
|
5897
5934
|
[{ gridTemplateRows: "0fr" }],
|
|
5898
5935
|
{ duration: 300, easing: "ease-in-out", fill: "forwards" },
|
|
@@ -5922,21 +5959,22 @@ class kn extends gr {
|
|
|
5922
5959
|
// onErrorBeforeReadingBodyStreamStarted(error: any) {
|
|
5923
5960
|
// }
|
|
5924
5961
|
setButtonSuccess() {
|
|
5925
|
-
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5962
|
+
this._buttonNode.setAttribute("data-status", "success"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(dt, null), this._buttonIconWrapperNode.firstChild);
|
|
5926
5963
|
}
|
|
5927
5964
|
setButtonError() {
|
|
5928
|
-
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */
|
|
5965
|
+
this._buttonNode.setAttribute("data-status", "error"), this._buttonIconWrapperNode.replaceChild(/* @__PURE__ */ b(jt, null), this._buttonIconWrapperNode.firstChild);
|
|
5929
5966
|
}
|
|
5930
5967
|
async expandAsync() {
|
|
5931
5968
|
await this.parentMessage.expandAsync(), this._expanded ? this._expandPromise && await this._expandPromise : await this.doExpandAsync();
|
|
5932
5969
|
}
|
|
5933
5970
|
}
|
|
5934
|
-
class
|
|
5971
|
+
class eo {
|
|
5935
5972
|
constructor(n) {
|
|
5936
5973
|
y(this, "node");
|
|
5937
5974
|
y(this, "url");
|
|
5938
5975
|
y(this, "historyUrl");
|
|
5939
5976
|
y(this, "feedbackUrl");
|
|
5977
|
+
y(this, "summarizeTitleUrl");
|
|
5940
5978
|
y(this, "fetch");
|
|
5941
5979
|
y(this, "conversationsById", /* @__PURE__ */ new Map());
|
|
5942
5980
|
y(this, "feedbackByMessageId", /* @__PURE__ */ new Map());
|
|
@@ -5949,7 +5987,7 @@ class Ya {
|
|
|
5949
5987
|
y(this, "_lazyInitializePyodidePromise");
|
|
5950
5988
|
/** For each message submission, a new instance of ChatCompletionsClient will be created, and set to null when finished. */
|
|
5951
5989
|
y(this, "_completion");
|
|
5952
|
-
this.conversationsById.set(null, this.rootConversation), this.url = n.url, this.historyUrl = n.historyUrl, this.feedbackUrl = n.feedbackUrl, this.fetch = n.fetch ?? fetch.bind(window), this.node = /* @__PURE__ */
|
|
5990
|
+
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__ */ b("div", null);
|
|
5953
5991
|
const t = document.createElement("style");
|
|
5954
5992
|
t.textContent = Ar + `
|
|
5955
5993
|
` + Br + `
|
|
@@ -5974,7 +6012,7 @@ class Ya {
|
|
|
5974
6012
|
return !this._completion;
|
|
5975
6013
|
}
|
|
5976
6014
|
async LoadHistoryMessages() {
|
|
5977
|
-
let n = new
|
|
6015
|
+
let n = new ft();
|
|
5978
6016
|
await this.LoadLikes();
|
|
5979
6017
|
try {
|
|
5980
6018
|
await n.initializeExistingAsync(this.fetch, this.historyUrl);
|
|
@@ -6005,47 +6043,66 @@ class Ya {
|
|
|
6005
6043
|
n = null, this.rootConversation.onRootConversationEndOfBodyStream();
|
|
6006
6044
|
}
|
|
6007
6045
|
}
|
|
6008
|
-
async
|
|
6046
|
+
async SummarizeTitleAsync(n, t) {
|
|
6047
|
+
const r = new ft(), s = this.rootConversation.messages.map((i) => i.toDto());
|
|
6048
|
+
s.push({
|
|
6049
|
+
role: "user",
|
|
6050
|
+
content: t
|
|
6051
|
+
});
|
|
6052
|
+
for (let i = 0; i < s.length; ++i)
|
|
6053
|
+
if (s[i].role === "user") {
|
|
6054
|
+
const a = i + 1;
|
|
6055
|
+
for (; a < s.length && s[a].role === "user"; )
|
|
6056
|
+
s[i].content += `
|
|
6057
|
+
` + s[a].content, s.splice(a, 1);
|
|
6058
|
+
}
|
|
6059
|
+
try {
|
|
6060
|
+
return await r.summarizeTitleAsync(this.fetch, this.summarizeTitleUrl, s, n);
|
|
6061
|
+
} catch (i) {
|
|
6062
|
+
return console.error("Error summarizing title:", i), null;
|
|
6063
|
+
}
|
|
6064
|
+
}
|
|
6065
|
+
async submitMessageAsync(n, t, r) {
|
|
6009
6066
|
if (!this.canSubmit) throw new Error("Cannot submit message because another message is currently being processed");
|
|
6010
|
-
this._completion = new
|
|
6011
|
-
const
|
|
6012
|
-
|
|
6067
|
+
this._completion = new ft();
|
|
6068
|
+
const s = this.rootConversation.messages.map((i) => i.toDto());
|
|
6069
|
+
s.push({
|
|
6013
6070
|
role: "user",
|
|
6014
6071
|
content: n
|
|
6015
6072
|
});
|
|
6016
|
-
for (let
|
|
6017
|
-
if (
|
|
6018
|
-
const
|
|
6019
|
-
for (;
|
|
6020
|
-
|
|
6021
|
-
` +
|
|
6073
|
+
for (let i = 0; i < s.length; ++i)
|
|
6074
|
+
if (s[i].role === "user") {
|
|
6075
|
+
const a = i + 1;
|
|
6076
|
+
for (; a < s.length && s[a].role === "user"; )
|
|
6077
|
+
s[i].content += `
|
|
6078
|
+
` + s[a].content, s.splice(a, 1);
|
|
6022
6079
|
}
|
|
6023
6080
|
try {
|
|
6024
|
-
await this._completion.startAsync(this.fetch, this.url,
|
|
6025
|
-
} catch (
|
|
6026
|
-
let
|
|
6027
|
-
this._completion = null, this.rootConversation.onErrorBeforeReadingBodyStreamStarted(
|
|
6081
|
+
await this._completion.startAsync(this.fetch, this.url, s, t, r);
|
|
6082
|
+
} catch (i) {
|
|
6083
|
+
let a = this._completion.wasStopped;
|
|
6084
|
+
this._completion = null, this.rootConversation.onErrorBeforeReadingBodyStreamStarted(i, a);
|
|
6028
6085
|
return;
|
|
6029
6086
|
}
|
|
6030
6087
|
try {
|
|
6031
6088
|
for (; await this._completion.waitToReadAsync(); )
|
|
6032
|
-
for (const
|
|
6033
|
-
switch (
|
|
6089
|
+
for (const i of this._completion.read()) {
|
|
6090
|
+
switch (i.type) {
|
|
6034
6091
|
case j.MessageInvokeClientFunctionResult: {
|
|
6035
|
-
const
|
|
6036
|
-
|
|
6092
|
+
const a = this.clientFunctionInvocationsByOperationId[i.operationId];
|
|
6093
|
+
a.context.conversationMessage.setClientInvocationResult(a, JSON.parse(i.result));
|
|
6037
6094
|
continue;
|
|
6038
6095
|
}
|
|
6039
6096
|
case j.MessageInvokeClientFunctionError: {
|
|
6040
|
-
const
|
|
6041
|
-
|
|
6097
|
+
const a = this.clientFunctionInvocationsByOperationId[i.operationId];
|
|
6098
|
+
a.context.conversationMessage.setClientInvocationError(a, i.error);
|
|
6042
6099
|
continue;
|
|
6043
6100
|
}
|
|
6044
6101
|
}
|
|
6045
|
-
this.conversationsById.get(
|
|
6102
|
+
this.conversationsById.get(i.conversationId).handleMessage(i);
|
|
6046
6103
|
}
|
|
6047
|
-
} catch (
|
|
6048
|
-
this.rootConversation.onErrorWhileReadingBodyStream(
|
|
6104
|
+
} catch (i) {
|
|
6105
|
+
this.rootConversation.onErrorWhileReadingBodyStream(i, this._completion.wasStopped);
|
|
6049
6106
|
} finally {
|
|
6050
6107
|
this._completion = null, this.rootConversation.onRootConversationEndOfBodyStream();
|
|
6051
6108
|
}
|
|
@@ -6054,17 +6111,17 @@ class Ya {
|
|
|
6054
6111
|
var n;
|
|
6055
6112
|
(n = this._completion) == null || n.stop();
|
|
6056
6113
|
}
|
|
6057
|
-
async setLike(n, t) {
|
|
6058
|
-
const
|
|
6114
|
+
async setLike(n, t, r, s = null, i = null) {
|
|
6115
|
+
const a = await this.fetch(this.feedbackUrl, {
|
|
6059
6116
|
method: "POST",
|
|
6060
6117
|
headers: {
|
|
6061
6118
|
"Content-Type": "application/json"
|
|
6062
6119
|
},
|
|
6063
|
-
body: JSON.stringify({ messageId: n, isThumbsUp: t })
|
|
6120
|
+
body: JSON.stringify({ messageId: n, isThumbsUp: r, copilotId: t, category: s, comment: i })
|
|
6064
6121
|
});
|
|
6065
|
-
if (!
|
|
6066
|
-
throw new Error(`Failed to send feedback: ${
|
|
6067
|
-
this.feedbackByMessageId.set(n,
|
|
6122
|
+
if (!a.ok)
|
|
6123
|
+
throw new Error(`Failed to send feedback: ${a.status} ${a.statusText}`);
|
|
6124
|
+
this.feedbackByMessageId.set(n, r);
|
|
6068
6125
|
}
|
|
6069
6126
|
async LoadLikes() {
|
|
6070
6127
|
const n = await this.fetch(`${this.feedbackUrl}`, {
|
|
@@ -6081,5 +6138,5 @@ class Ya {
|
|
|
6081
6138
|
}
|
|
6082
6139
|
}
|
|
6083
6140
|
export {
|
|
6084
|
-
|
|
6141
|
+
eo as Chat
|
|
6085
6142
|
};
|