@veracity/ai 0.0.15 → 0.0.16

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.
@@ -1,6 +1,6 @@
1
- (function(nt,q){typeof exports=="object"&&typeof module<"u"?q(exports):typeof define=="function"&&define.amd?define(["exports"],q):(nt=typeof globalThis<"u"?globalThis:nt||self,q(nt.VeracityAI={}))})(this,function(nt){"use strict";var Yd=Object.defineProperty;var Zd=(nt,q,qe)=>q in nt?Yd(nt,q,{enumerable:!0,configurable:!0,writable:!0,value:qe}):nt[q]=qe;var Y=(nt,q,qe)=>(Zd(nt,typeof q!="symbol"?q+"":q,qe),qe);function q(e,t,...r){switch(typeof e){case"string":{const n=document.createElement(e);qe(n,t);for(const i of r)wn(n,i);return n}case"function":return e(t||{},r)}throw new Error(`Unable to create element of type '${typeof e}'`)}function qe(e,t){if(t)for(const r in t){const n=t[r];if(r in e)if(r==="classList"){if(n)for(const i of n)e.classList.add(i)}else e[r]=n;else r in e.style?e.style[r]=n:e.setAttribute(r,n)}}function ho(e){if(e instanceof Node)return e;if(typeof e=="string")return document.createTextNode(e);if(e!=null&&e[Symbol.iterator]){const t=document.createDocumentFragment();for(const r of e)wn(t,r);return t}else return e?document.createTextNode(e):document.createComment(` ${e} `)}function wn(e,t){const r=ho(t);e.appendChild(r)}function xn(e,...t){const r=document.createDocumentFragment();for(const n of t)wn(r,n);return r}const mo=`*,: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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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]{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,.h1{font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){h1,.h1{font-size:1.9375rem;line-height:1.5483870967741935}}h1,.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h1),:is(.dark .h1){color:var(--White, hsl(40 3% 100%))}h2,.h2{font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){h2,.h2{font-size:1.75rem;line-height:1.3571428571428572}}h2,.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h2),:is(.dark .h2){color:var(--White, hsl(40 3% 100%))}h3,.h3{font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){h3,.h3{font-size:1.375rem;line-height:1.4545454545454546}}h3,.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h3),:is(.dark .h3){color:var(--White, hsl(40 3% 100%))}h4,.h4{font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){h4,.h4{font-size:1.125rem;line-height:1.3333333333333333}}h4,.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h4),:is(.dark .h4){color:var(--White, hsl(40 3% 100%))}h5,.h5{font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){h5,.h5{font-size:1rem;line-height:1.375}}h5,.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h5),:is(.dark .h5){color:var(--White, hsl(40 3% 100%))}h6,.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),:is(.dark .h6){color:var(--White, hsl(40 3% 100%))}*,: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: }::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: }.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-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-left: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-left: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-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left: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(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:.1875em .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:.8571429em 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;text-align:left;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-right:.5714286em;padding-bottom:.5714286em;padding-left:.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(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(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.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-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.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>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*: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-left: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-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right: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-left: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:.1428571em .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:.6666667em 1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left: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-left:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.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>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*: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-left: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-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right: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}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-\\[-3\\.25rem\\]{left:-3.25rem}.top-0{top:0}.top-\\[\\.05em\\]{top:.05em}.top-\\[3\\%\\]{top:3%}.z-10{z-index:10}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.ml-auto{margin-left:auto}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.list-item{display:list-item}.h-6{height:1.5rem}.h-\\[1\\.421875rem\\]{height:1.421875rem}.h-full{height:100%}.min-h-full{min-height:100%}.w-6{width:1.5rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-none{max-width:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.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))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-\\[32px\\,1fr\\]{grid-template-columns:32px 1fr}.grid-cols-\\[auto\\,1fr\\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.bg-Dark-Blue-Main-18{--tw-bg-opacity: 1;background-color:hsl(223 67% 18% / var(--tw-bg-opacity))}.bg-Energy-Red-95{--tw-bg-opacity: 1;background-color:hsl(357 83% 95% / var(--tw-bg-opacity))}.bg-Eucalyptus-85{--tw-bg-opacity: 1;background-color:hsl(178 80% 85% / var(--tw-bg-opacity))}.bg-Land-Green-95{--tw-bg-opacity: 1;background-color:hsl(114 49% 95% / var(--tw-bg-opacity))}.bg-Lavender-90{--tw-bg-opacity: 1;background-color:hsl(232 58% 90% / var(--tw-bg-opacity))}.bg-Sea-Blue-5{--tw-bg-opacity: 1;background-color:hsl(218 100% 5% / var(--tw-bg-opacity))}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1;background-color:hsl(218 100% 28% / var(--tw-bg-opacity))}.bg-Sky-Blue-95{--tw-bg-opacity: 1;background-color:hsl(196 74% 95% / var(--tw-bg-opacity))}.bg-Sunflower-85{--tw-bg-opacity: 1;background-color:hsl(55 100% 85% / var(--tw-bg-opacity))}.bg-Terracotta-85{--tw-bg-opacity: 1;background-color:hsl(34 100% 85% / var(--tw-bg-opacity))}.bg-White{--tw-bg-opacity: 1;background-color:hsl(40 3% 100% / var(--tw-bg-opacity))}.bg-\\[\\#262626\\]{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.bg-\\[\\#333333\\]{--tw-bg-opacity: 1;background-color:rgb(51 51 51 / var(--tw-bg-opacity))}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-5{padding-bottom:1.25rem}.pr-4{padding-right:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-\\[\\.875rem\\]{font-size:.875rem}.font-demiBold{font-weight:600}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-Energy-Red-45{--tw-text-opacity: 1;color:hsl(357 83% 45% / var(--tw-text-opacity))}.text-Eucalyptus-20{--tw-text-opacity: 1;color:hsl(178 80% 20% / var(--tw-text-opacity))}.text-Land-Green-30{--tw-text-opacity: 1;color:hsl(114 49% 30% / var(--tw-text-opacity))}.text-Lavender-50{--tw-text-opacity: 1;color:hsl(232 58% 50% / var(--tw-text-opacity))}.text-Sandstone-Main-79{--tw-text-opacity: 1;color:hsl(40 3% 79% / var(--tw-text-opacity))}.text-Sea-Blue-Main-28{--tw-text-opacity: 1;color:hsl(218 100% 28% / var(--tw-text-opacity))}.text-Sky-Blue-95{--tw-text-opacity: 1;color:hsl(196 74% 95% / var(--tw-text-opacity))}.text-Sunflower-20{--tw-text-opacity: 1;color:hsl(55 100% 20% / var(--tw-text-opacity))}.text-Terracotta-20{--tw-text-opacity: 1;color:hsl(34 100% 20% / var(--tw-text-opacity))}.text-Terracotta-30{--tw-text-opacity: 1;color:hsl(34 100% 30% / var(--tw-text-opacity))}.text-Terracotta-Main-35{--tw-text-opacity: 1;color:hsl(34 100% 35% / var(--tw-text-opacity))}.text-White{--tw-text-opacity: 1;color:hsl(40 3% 100% / var(--tw-text-opacity))}.text-\\[\\#e5e5e5\\]{--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.title{font-size:4rem;font-style:normal;font-weight:400;line-height:1.15625}@media only screen and (max-width: 992px){.title{font-size:2.625rem;line-height:1.2380952380952381}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .title){color:var(--White, hsl(40 3% 100%))}.elevation-4{box-shadow:var(--vui-elevation-4, 0 15px 23px 0 hsla(223, 67%, 18%, .2))}.fluent-depth-0{box-shadow:var(--fluent-depth-0, 0 0 0 0 transparent)}.fluent-depth-16{box-shadow:var(--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))}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .2s cubic-bezier(.4,0,1,1)}.first\\:mt-0:first-child{margin-top:0}.hover\\:bg-Sky-Blue-90:hover{--tw-bg-opacity: 1;background-color:hsl(196 74% 90% / var(--tw-bg-opacity))}.hover\\:fluent-depth-8:hover{box-shadow:var(--fluent-depth-8, 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108))}.active\\:select-none:active{-webkit-user-select:none;-moz-user-select:none;user-select:none}.active\\:bg-Sky-Blue-85:active{--tw-bg-opacity: 1;background-color:hsl(196 74% 85% / var(--tw-bg-opacity))}.active\\:fluent-depth-4:active{box-shadow:var(--fluent-depth-4, 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108))}.group:hover .group-hover\\:opacity-100{opacity:1}.aria-expanded\\:fluent-depth-16[aria-expanded=true]{box-shadow:var(--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))}.active\\:aria-expanded\\:fluent-depth-8[aria-expanded=true]:active{box-shadow:var(--fluent-depth-8, 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108))}.data-\\[expanded\\=true\\]\\:bg-Sky-Blue-85[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 85% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:bg-Energy-Red-95[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 95% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:bg-Energy-Red-85[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 85% / var(--tw-bg-opacity))}.data-\\[expanded\\=true\\]\\:hover\\:bg-Sky-Blue-80:hover[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 80% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:hover\\:bg-Energy-Red-80:hover[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 80% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:hover\\:bg-Energy-Red-90:hover[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 90% / var(--tw-bg-opacity))}.data-\\[expanded\\=true\\]\\:active\\:bg-Sky-Blue-75:active[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 75% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:active\\:bg-Energy-Red-85:active[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 85% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:active\\:bg-Energy-Red-75:active[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 75% / var(--tw-bg-opacity))}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:-rotate-180{--tw-rotate: -180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-status=error] .group-data-\\[status\\=error\\]\\:text-Energy-Red-45{--tw-text-opacity: 1;color:hsl(357 83% 45% / var(--tw-text-opacity))}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:opacity-100{opacity:1}.prose-code\\:text-\\[1em\\] :is(:where(code):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:1em}@media (min-width: 640px){.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-0{margin-top:0}.sm\\:flex{display:flex}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-center{align-items:center}.sm\\:p-0{padding:0}.sm\\:text-left{text-align:left}}`,po="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#2e3440}.hljs,.hljs-subst{color:#d8dee9}.hljs-selector-tag{color:#81a1c1}.hljs-selector-id{color:#8fbcbb;font-weight:700}.hljs-selector-class,.hljs-selector-attr{color:#8fbcbb}.hljs-property,.hljs-selector-pseudo{color:#88c0d0}.hljs-addition{background-color:#a3be8c80}.hljs-deletion{background-color:#bf616a80}.hljs-built_in,.hljs-type,.hljs-class{color:#8fbcbb}.hljs-function{color:#88c0d0}.hljs-title.hljs-function,.hljs-function>.hljs-title{color:#88c0d0}.hljs-keyword,.hljs-literal,.hljs-symbol{color:#81a1c1}.hljs-number{color:#b48ead}.hljs-regexp{color:#ebcb8b}.hljs-string{color:#a3be8c}.hljs-title{color:#8fbcbb}.hljs-params{color:#d8dee9}.hljs-bullet{color:#81a1c1}.hljs-code{color:#8fbcbb}.hljs-emphasis{font-style:italic}.hljs-formula{color:#8fbcbb}.hljs-strong{font-weight:700}.hljs-link:hover{text-decoration:underline}.hljs-quote,.hljs-comment{color:#4c566a}.hljs-doctag{color:#8fbcbb}.hljs-meta,.hljs-meta .hljs-keyword{color:#5e81ac}.hljs-meta .hljs-string{color:#a3be8c}.hljs-attr{color:#8fbcbb}.hljs-attribute{color:#d8dee9}.hljs-name{color:#81a1c1}.hljs-section{color:#88c0d0}.hljs-tag{color:#81a1c1}.hljs-variable,.hljs-template-variable{color:#d8dee9}.hljs-template-tag{color:#5e81ac}.language-abnf .hljs-attribute{color:#88c0d0}.language-abnf .hljs-symbol{color:#ebcb8b}.language-apache .hljs-attribute{color:#88c0d0}.language-apache .hljs-section{color:#81a1c1}.language-arduino .hljs-built_in{color:#88c0d0}.language-aspectj .hljs-meta{color:#d08770}.language-aspectj>.hljs-title{color:#88c0d0}.language-bnf .hljs-attribute{color:#8fbcbb}.language-clojure .hljs-name{color:#88c0d0}.language-clojure .hljs-symbol{color:#ebcb8b}.language-coq .hljs-built_in{color:#88c0d0}.language-cpp .hljs-meta .hljs-string{color:#8fbcbb}.language-css .hljs-built_in{color:#88c0d0}.language-css .hljs-keyword{color:#d08770}.language-diff .hljs-meta,.language-ebnf .hljs-attribute{color:#8fbcbb}.language-glsl .hljs-built_in{color:#88c0d0}.language-groovy .hljs-meta:not(:first-child){color:#d08770}.language-haxe .hljs-meta,.language-java .hljs-meta{color:#d08770}.language-ldif .hljs-attribute{color:#8fbcbb}.language-lisp .hljs-name,.language-lua .hljs-built_in,.language-moonscript .hljs-built_in,.language-nginx .hljs-attribute{color:#88c0d0}.language-nginx .hljs-section{color:#5e81ac}.language-pf .hljs-built_in,.language-processing .hljs-built_in{color:#88c0d0}.language-scss .hljs-keyword,.language-stylus .hljs-keyword{color:#81a1c1}.language-swift .hljs-meta{color:#d08770}.language-vim .hljs-built_in{color:#88c0d0;font-style:italic}.language-yaml .hljs-meta{color:#d08770}",fo='.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.9"}.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 .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:.27777778em;margin-right:-.55555556em}.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:.83333333em}.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.16666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.33333333em}.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.66666667em}.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.45666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.14666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.71428571em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.85714286em}.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.14285714em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.28571429em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.42857143em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.71428571em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.05714286em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.46857143em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.96285714em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.55428571em}.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:.55555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.66666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.77777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.88888889em}.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.11111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.33333333em}.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.30444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.76444444em}.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:.41666667em}.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:.58333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.66666667em}.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:.83333333em}.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.72833333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.07333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.34722222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.41666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.48611111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.55555556em}.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:.69444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.83333333em}.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.44027778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.72777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.28935185em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.34722222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.40509259em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.46296296em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.52083333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.69444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.83333333em}.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.20023148em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.43981481em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.24108004em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.28929605em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.33751205em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.38572806em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.43394407em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.48216008em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.57859209em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.69431051em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.83317261em}.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.19961427em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.20096463em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.24115756em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.28135048em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.32154341em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.36173633em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.40192926em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.48231511em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.57877814em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.69453376em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.83360129em}.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}';var ir=(e=>(e[e.Messages=0]="Messages",e[e.OperationResult=1]="OperationResult",e[e.OperationError=2]="OperationError",e))(ir||{}),ze=(e=>(e[e.Init=0]="Init",e[e.Done=1]="Done",e[e.Error=2]="Error",e[e.AppendMessage=3]="AppendMessage",e[e.ToolCallUpdate=4]="ToolCallUpdate",e[e.Loop=5]="Loop",e[e.ToolCallTaskItemStatus=6]="ToolCallTaskItemStatus",e[e.ToolCallTitle=7]="ToolCallTitle",e[e.ToolCallLog=8]="ToolCallLog",e[e.ToolCallPython=9]="ToolCallPython",e[e.ToolCallDone=10]="ToolCallDone",e[e.ToolCallError=11]="ToolCallError",e[e.InvokeFrontEnd=12]="InvokeFrontEnd",e))(ze||{}),ut=(e=>(e.Progress="progress",e.Complete="complete",e.Info="info",e.Warning="warning",e.Error="error",e.Undetermined="undetermined",e))(ut||{});const go={};function bo(e,t){const r=t||go,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return U0(e,n,i)}function U0(e,t,r){if(vo(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return G0(e.children,t,r)}return Array.isArray(e)?G0(e,t,r):""}function G0(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=U0(e[i],t,r);return n.join("")}function vo(e){return!!(e&&typeof e=="object")}const j0=document.createElement("i");function kn(e){const t="&"+e+";";j0.innerHTML=t;const r=j0.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function ft(e,t,r,n){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);a<n.length;)s=n.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function at(e,t){return e.length>0?(ft(e,e.length,0,t),e):t}const $0={}.hasOwnProperty;function yo(e){const t={};let r=-1;for(;++r<e.length;)wo(t,e[r]);return t}function wo(e,t){let r;for(r in t){const i=($0.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let s;if(a)for(s in a){$0.call(i,s)||(i[s]=[]);const o=a[s];xo(i[s],Array.isArray(o)?o:o?[o]:[])}}}function xo(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);ft(e,0,0,n)}function V0(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function sr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const gt=Lt(/[A-Za-z]/),ct=Lt(/[\dA-Za-z]/),ko=Lt(/[#-'*+\--9=?A-Z^-~]/);function zn(e){return e!==null&&(e<32||e===127)}const Sn=Lt(/\d/),zo=Lt(/[\dA-Fa-f]/),So=Lt(/[!-/:-@[-`{-~]/);function te(e){return e!==null&&e<-2}function He(e){return e!==null&&(e<0||e===32)}function fe(e){return e===-2||e===-1||e===32}const Eo=Lt(new RegExp("\\p{P}|\\p{S}","u")),Ao=Lt(/\s/);function Lt(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ge(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(l){return fe(l)?(e.enter(r),o(l)):t(l)}function o(l){return fe(l)&&a++<i?(e.consume(l),o):(e.exit(r),t(l))}}const To={tokenize:Mo};function Mo(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ge(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return te(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}const Co={tokenize:No},W0={tokenize:_o};function No(e){const t=this,r=[];let n=0,i,a,s;return o;function o(R){if(n<r.length){const W=r[n];return t.containerState=W[1],e.attempt(W[0].continuation,l,h)(R)}return h(R)}function l(R){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();const W=t.events.length;let H=W,T;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){T=t.events[H][1].end;break}A(n);let X=W;for(;X<t.events.length;)t.events[X][1].end=Object.assign({},T),X++;return ft(t.events,H+1,0,t.events.slice(W)),t.events.length=X,h(R)}return o(R)}function h(R){if(n===r.length){if(!i)return g(R);if(i.currentConstruct&&i.currentConstruct.concrete)return z(R);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(W0,d,p)(R)}function d(R){return i&&C(),A(n),g(R)}function p(R){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,z(R)}function g(R){return t.containerState={},e.attempt(W0,m,z)(R)}function m(R){return n++,r.push([t.currentConstruct,t.containerState]),g(R)}function z(R){if(R===null){i&&C(),A(0),e.consume(R);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),k(R)}function k(R){if(R===null){N(e.exit("chunkFlow"),!0),A(0),e.consume(R);return}return te(R)?(e.consume(R),N(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(R),k)}function N(R,W){const H=t.sliceStream(R);if(W&&H.push(null),R.previous=a,a&&(a.next=R),a=R,i.defineSkip(R.start),i.write(H),t.parser.lazy[R.start.line]){let T=i.events.length;for(;T--;)if(i.events[T][1].start.offset<s&&(!i.events[T][1].end||i.events[T][1].end.offset>s))return;const X=t.events.length;let ee=X,G,M;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(G){M=t.events[ee][1].end;break}G=!0}for(A(n),T=X;T<t.events.length;)t.events[T][1].end=Object.assign({},M),T++;ft(t.events,ee+1,0,t.events.slice(X)),t.events.length=T}}function A(R){let W=r.length;for(;W-- >R;){const H=r[W];t.containerState=H[1],H[0].exit.call(t,e)}r.length=R}function C(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function _o(e,t,r){return ge(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function X0(e){if(e===null||He(e)||Ao(e))return 1;if(Eo(e))return 2}function En(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const An={name:"attention",tokenize:Ro,resolveAll:Bo};function Bo(e,t){let r=-1,n,i,a,s,o,l,h,d;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const p=Object.assign({},e[n][1].end),g=Object.assign({},e[r][1].start);K0(p,-l),K0(g,l),s={type:l>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[r][1].start),end:g},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},s.start),e[r][1].start=Object.assign({},o.end),h=[],e[n][1].end.offset-e[n][1].start.offset&&(h=at(h,[["enter",e[n][1],t],["exit",e[n][1],t]])),h=at(h,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),h=at(h,En(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),h=at(h,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(d=2,h=at(h,[["enter",e[r][1],t],["exit",e[r][1],t]])):d=0,ft(e,n-1,r-n+3,h),r=n+h.length-d-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Ro(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=X0(n);let a;return s;function s(l){return a=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===a)return e.consume(l),o;const h=e.exit("attentionSequence"),d=X0(l),p=!d||d===2&&i||r.includes(l),g=!i||i===2&&d||r.includes(n);return h._open=!!(a===42?p:p&&(i||!g)),h._close=!!(a===42?g:g&&(d||!p)),t(l)}}function K0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Oo={name:"autolink",tokenize:Io};function Io(e,t,r){let n=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return gt(m)?(e.consume(m),s):h(m)}function s(m){return m===43||m===45||m===46||ct(m)?(n=1,o(m)):h(m)}function o(m){return m===58?(e.consume(m),n=0,l):(m===43||m===45||m===46||ct(m))&&n++<32?(e.consume(m),o):(n=0,h(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||zn(m)?r(m):(e.consume(m),l)}function h(m){return m===64?(e.consume(m),d):ko(m)?(e.consume(m),h):r(m)}function d(m){return ct(m)?p(m):r(m)}function p(m){return m===46?(e.consume(m),n=0,d):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||ct(m))&&n++<63){const z=m===45?g:p;return e.consume(m),z}return r(m)}}const Dr={tokenize:Do,partial:!0};function Do(e,t,r){return n;function n(a){return fe(a)?ge(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||te(a)?t(a):r(a)}}const Y0={name:"blockQuote",tokenize:Lo,continuation:{tokenize:Fo},exit:Po};function Lo(e,t,r){const n=this;return i;function i(s){if(s===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return r(s)}function a(s){return fe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Fo(e,t,r){const n=this;return i;function i(s){return fe(s)?ge(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(Y0,t,r)(s)}}function Po(e){e.exit("blockQuote")}const Z0={name:"characterEscape",tokenize:qo};function qo(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return So(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const J0={name:"characterReference",tokenize:Ho};function Ho(e,t,r){const n=this;let i=0,a,s;return o;function o(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),l}function l(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),a=31,s=ct,d(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=zo,d):(e.enter("characterReferenceValue"),a=7,s=Sn,d(p))}function d(p){if(p===59&&i){const g=e.exit("characterReferenceValue");return s===ct&&!kn(n.sliceSerialize(g))?r(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(p)&&i++<a?(e.consume(p),d):r(p)}}const Q0={tokenize:Go,partial:!0},ea={name:"codeFenced",tokenize:Uo,concrete:!0};function Uo(e,t,r){const n=this,i={tokenize:H,partial:!0};let a=0,s=0,o;return l;function l(T){return h(T)}function h(T){const X=n.events[n.events.length-1];return a=X&&X[1].type==="linePrefix"?X[2].sliceSerialize(X[1],!0).length:0,o=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(T)}function d(T){return T===o?(s++,e.consume(T),d):s<3?r(T):(e.exit("codeFencedFenceSequence"),fe(T)?ge(e,p,"whitespace")(T):p(T))}function p(T){return T===null||te(T)?(e.exit("codeFencedFence"),n.interrupt?t(T):e.check(Q0,k,W)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(T))}function g(T){return T===null||te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(T)):fe(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ge(e,m,"whitespace")(T)):T===96&&T===o?r(T):(e.consume(T),g)}function m(T){return T===null||te(T)?p(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),z(T))}function z(T){return T===null||te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(T)):T===96&&T===o?r(T):(e.consume(T),z)}function k(T){return e.attempt(i,W,N)(T)}function N(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),A}function A(T){return a>0&&fe(T)?ge(e,C,"linePrefix",a+1)(T):C(T)}function C(T){return T===null||te(T)?e.check(Q0,k,W)(T):(e.enter("codeFlowValue"),R(T))}function R(T){return T===null||te(T)?(e.exit("codeFlowValue"),C(T)):(e.consume(T),R)}function W(T){return e.exit("codeFenced"),t(T)}function H(T,X,ee){let G=0;return M;function M(re){return T.enter("lineEnding"),T.consume(re),T.exit("lineEnding"),V}function V(re){return T.enter("codeFencedFence"),fe(re)?ge(T,$,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(re):$(re)}function $(re){return re===o?(T.enter("codeFencedFenceSequence"),de(re)):ee(re)}function de(re){return re===o?(G++,T.consume(re),de):G>=s?(T.exit("codeFencedFenceSequence"),fe(re)?ge(T,ue,"whitespace")(re):ue(re)):ee(re)}function ue(re){return re===null||te(re)?(T.exit("codeFencedFence"),X(re)):ee(re)}}}function Go(e,t,r){const n=this;return i;function i(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const Tn={name:"codeIndented",tokenize:$o},jo={tokenize:Vo,partial:!0};function $o(e,t,r){const n=this;return i;function i(h){return e.enter("codeIndented"),ge(e,a,"linePrefix",5)(h)}function a(h){const d=n.events[n.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?s(h):r(h)}function s(h){return h===null?l(h):te(h)?e.attempt(jo,s,l)(h):(e.enter("codeFlowValue"),o(h))}function o(h){return h===null||te(h)?(e.exit("codeFlowValue"),s(h)):(e.consume(h),o)}function l(h){return e.exit("codeIndented"),t(h)}}function Vo(e,t,r){const n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):te(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):ge(e,a,"linePrefix",5)(s)}function a(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):te(s)?i(s):r(s)}}const Wo={name:"codeText",tokenize:Yo,resolve:Xo,previous:Ko};function Xo(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function Ko(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Yo(e,t,r){let n=0,i,a;return s;function s(p){return e.enter("codeText"),e.enter("codeTextSequence"),o(p)}function o(p){return p===96?(e.consume(p),n++,o):(e.exit("codeTextSequence"),l(p))}function l(p){return p===null?r(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),l):p===96?(a=e.enter("codeTextSequence"),i=0,d(p)):te(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||te(p)?(e.exit("codeTextData"),l(p)):(e.consume(p),h)}function d(p){return p===96?(e.consume(p),i++,d):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(a.type="codeTextData",h(p))}}function ta(e){const t={};let r=-1,n,i,a,s,o,l,h;for(;++r<e.length;){for(;r in t;)r=t[r];if(n=e[r],r&&n[1].type==="chunkFlow"&&e[r-1][1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Zo(e,r)),r=t[r],h=!0);else if(n[1]._container){for(a=r,i=void 0;a--&&(s=e[a],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(n[1].end=Object.assign({},e[i][1].start),o=e.slice(i,r),o.unshift(n),ft(e,i,r-i+1,o))}}return!h}function Zo(e,t){const r=e[t][1],n=e[t][2];let i=t-1;const a=[],s=r._tokenizer||n.parser[r.contentType](r.start),o=s.events,l=[],h={};let d,p,g=-1,m=r,z=0,k=0;const N=[k];for(;m;){for(;e[++i][1]!==m;);a.push(i),m._tokenizer||(d=n.sliceStream(m),m.next||d.push(null),p&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(d),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=m,m=m.next}for(m=r;++g<o.length;)o[g][0]==="exit"&&o[g-1][0]==="enter"&&o[g][1].type===o[g-1][1].type&&o[g][1].start.line!==o[g][1].end.line&&(k=g+1,N.push(k),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):N.pop(),g=N.length;g--;){const A=o.slice(N[g],N[g+1]),C=a.pop();l.unshift([C,C+A.length-1]),ft(e,C,2,A)}for(g=-1;++g<l.length;)h[z+l[g][0]]=z+l[g][1],z+=l[g][1]-l[g][0]-1;return h}const Jo={tokenize:tl,resolve:el},Qo={tokenize:rl,partial:!0};function el(e){return ta(e),e}function tl(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):te(o)?e.check(Qo,s,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function rl(e,t,r){const n=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ge(e,a,"linePrefix")}function a(s){if(s===null||te(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function ra(e,t,r,n,i,a,s,o,l){const h=l||Number.POSITIVE_INFINITY;let d=0;return p;function p(A){return A===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(A),e.exit(a),g):A===null||A===32||A===41||zn(A)?r(A):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),k(A))}function g(A){return A===62?(e.enter(a),e.consume(A),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(A))}function m(A){return A===62?(e.exit("chunkString"),e.exit(o),g(A)):A===null||A===60||te(A)?r(A):(e.consume(A),A===92?z:m)}function z(A){return A===60||A===62||A===92?(e.consume(A),m):m(A)}function k(A){return!d&&(A===null||A===41||He(A))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(A)):d<h&&A===40?(e.consume(A),d++,k):A===41?(e.consume(A),d--,k):A===null||A===32||A===40||zn(A)?r(A):(e.consume(A),A===92?N:k)}function N(A){return A===40||A===41||A===92?(e.consume(A),k):k(A)}}function na(e,t,r,n,i,a){const s=this;let o=0,l;return h;function h(m){return e.enter(n),e.enter(i),e.consume(m),e.exit(i),e.enter(a),d}function d(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(n),t):te(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===null||m===91||m===93||te(m)||o++>999?(e.exit("chunkString"),d(m)):(e.consume(m),l||(l=!fe(m)),m===92?g:p)}function g(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}}function aa(e,t,r,n,i,a){let s;return o;function o(g){return g===34||g===39||g===40?(e.enter(n),e.enter(i),e.consume(g),e.exit(i),s=g===40?41:g,l):r(g)}function l(g){return g===s?(e.enter(i),e.consume(g),e.exit(i),e.exit(n),t):(e.enter(a),h(g))}function h(g){return g===s?(e.exit(a),l(s)):g===null?r(g):te(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ge(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(g))}function d(g){return g===s||g===null||te(g)?(e.exit("chunkString"),h(g)):(e.consume(g),g===92?p:d)}function p(g){return g===s||g===92?(e.consume(g),d):d(g)}}function yr(e,t){let r;return n;function n(i){return te(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):fe(i)?ge(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}const nl={name:"definition",tokenize:il},al={tokenize:sl,partial:!0};function il(e,t,r){const n=this;let i;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return na.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return i=sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):r(m)}function l(m){return He(m)?yr(e,h)(m):h(m)}function h(m){return ra(e,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function d(m){return e.attempt(al,p,p)(m)}function p(m){return fe(m)?ge(e,g,"whitespace")(m):g(m)}function g(m){return m===null||te(m)?(e.exit("definition"),n.parser.defined.push(i),t(m)):r(m)}}function sl(e,t,r){return n;function n(o){return He(o)?yr(e,i)(o):r(o)}function i(o){return aa(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return fe(o)?ge(e,s,"whitespace")(o):s(o)}function s(o){return o===null||te(o)?t(o):r(o)}}const ol={name:"hardBreakEscape",tokenize:ll};function ll(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return te(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const ul={name:"headingAtx",tokenize:hl,resolve:cl};function cl(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},ft(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function hl(e,t,r){let n=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),s(d)}function s(d){return d===35&&n++<6?(e.consume(d),s):d===null||He(d)?(e.exit("atxHeadingSequence"),o(d)):r(d)}function o(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||te(d)?(e.exit("atxHeading"),t(d)):fe(d)?ge(e,o,"whitespace")(d):(e.enter("atxHeadingText"),h(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),o(d))}function h(d){return d===null||d===35||He(d)?(e.exit("atxHeadingText"),o(d)):(e.consume(d),h)}}const dl=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ia=["pre","script","style","textarea"],ml={name:"htmlFlow",tokenize:bl,resolveTo:gl,concrete:!0},pl={tokenize:yl,partial:!0},fl={tokenize:vl,partial:!0};function gl(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function bl(e,t,r){const n=this;let i,a,s,o,l;return h;function h(x){return d(x)}function d(x){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(x),p}function p(x){return x===33?(e.consume(x),g):x===47?(e.consume(x),a=!0,k):x===63?(e.consume(x),i=3,n.interrupt?t:v):gt(x)?(e.consume(x),s=String.fromCharCode(x),N):r(x)}function g(x){return x===45?(e.consume(x),i=2,m):x===91?(e.consume(x),i=5,o=0,z):gt(x)?(e.consume(x),i=4,n.interrupt?t:v):r(x)}function m(x){return x===45?(e.consume(x),n.interrupt?t:v):r(x)}function z(x){const Oe="CDATA[";return x===Oe.charCodeAt(o++)?(e.consume(x),o===Oe.length?n.interrupt?t:$:z):r(x)}function k(x){return gt(x)?(e.consume(x),s=String.fromCharCode(x),N):r(x)}function N(x){if(x===null||x===47||x===62||He(x)){const Oe=x===47,we=s.toLowerCase();return!Oe&&!a&&ia.includes(we)?(i=1,n.interrupt?t(x):$(x)):dl.includes(s.toLowerCase())?(i=6,Oe?(e.consume(x),A):n.interrupt?t(x):$(x)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(x):a?C(x):R(x))}return x===45||ct(x)?(e.consume(x),s+=String.fromCharCode(x),N):r(x)}function A(x){return x===62?(e.consume(x),n.interrupt?t:$):r(x)}function C(x){return fe(x)?(e.consume(x),C):M(x)}function R(x){return x===47?(e.consume(x),M):x===58||x===95||gt(x)?(e.consume(x),W):fe(x)?(e.consume(x),R):M(x)}function W(x){return x===45||x===46||x===58||x===95||ct(x)?(e.consume(x),W):H(x)}function H(x){return x===61?(e.consume(x),T):fe(x)?(e.consume(x),H):R(x)}function T(x){return x===null||x===60||x===61||x===62||x===96?r(x):x===34||x===39?(e.consume(x),l=x,X):fe(x)?(e.consume(x),T):ee(x)}function X(x){return x===l?(e.consume(x),l=null,G):x===null||te(x)?r(x):(e.consume(x),X)}function ee(x){return x===null||x===34||x===39||x===47||x===60||x===61||x===62||x===96||He(x)?H(x):(e.consume(x),ee)}function G(x){return x===47||x===62||fe(x)?R(x):r(x)}function M(x){return x===62?(e.consume(x),V):r(x)}function V(x){return x===null||te(x)?$(x):fe(x)?(e.consume(x),V):r(x)}function $(x){return x===45&&i===2?(e.consume(x),ve):x===60&&i===1?(e.consume(x),O):x===62&&i===4?(e.consume(x),se):x===63&&i===3?(e.consume(x),v):x===93&&i===5?(e.consume(x),Q):te(x)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(pl,ce,de)(x)):x===null||te(x)?(e.exit("htmlFlowData"),de(x)):(e.consume(x),$)}function de(x){return e.check(fl,ue,ce)(x)}function ue(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),re}function re(x){return x===null||te(x)?de(x):(e.enter("htmlFlowData"),$(x))}function ve(x){return x===45?(e.consume(x),v):$(x)}function O(x){return x===47?(e.consume(x),s="",L):$(x)}function L(x){if(x===62){const Oe=s.toLowerCase();return ia.includes(Oe)?(e.consume(x),se):$(x)}return gt(x)&&s.length<8?(e.consume(x),s+=String.fromCharCode(x),L):$(x)}function Q(x){return x===93?(e.consume(x),v):$(x)}function v(x){return x===62?(e.consume(x),se):x===45&&i===2?(e.consume(x),v):$(x)}function se(x){return x===null||te(x)?(e.exit("htmlFlowData"),ce(x)):(e.consume(x),se)}function ce(x){return e.exit("htmlFlow"),t(x)}}function vl(e,t,r){const n=this;return i;function i(s){return te(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):r(s)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function yl(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Dr,t,r)}}const wl={name:"htmlText",tokenize:xl};function xl(e,t,r){const n=this;let i,a,s;return o;function o(v){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(v),l}function l(v){return v===33?(e.consume(v),h):v===47?(e.consume(v),H):v===63?(e.consume(v),R):gt(v)?(e.consume(v),ee):r(v)}function h(v){return v===45?(e.consume(v),d):v===91?(e.consume(v),a=0,z):gt(v)?(e.consume(v),C):r(v)}function d(v){return v===45?(e.consume(v),m):r(v)}function p(v){return v===null?r(v):v===45?(e.consume(v),g):te(v)?(s=p,O(v)):(e.consume(v),p)}function g(v){return v===45?(e.consume(v),m):p(v)}function m(v){return v===62?ve(v):v===45?g(v):p(v)}function z(v){const se="CDATA[";return v===se.charCodeAt(a++)?(e.consume(v),a===se.length?k:z):r(v)}function k(v){return v===null?r(v):v===93?(e.consume(v),N):te(v)?(s=k,O(v)):(e.consume(v),k)}function N(v){return v===93?(e.consume(v),A):k(v)}function A(v){return v===62?ve(v):v===93?(e.consume(v),A):k(v)}function C(v){return v===null||v===62?ve(v):te(v)?(s=C,O(v)):(e.consume(v),C)}function R(v){return v===null?r(v):v===63?(e.consume(v),W):te(v)?(s=R,O(v)):(e.consume(v),R)}function W(v){return v===62?ve(v):R(v)}function H(v){return gt(v)?(e.consume(v),T):r(v)}function T(v){return v===45||ct(v)?(e.consume(v),T):X(v)}function X(v){return te(v)?(s=X,O(v)):fe(v)?(e.consume(v),X):ve(v)}function ee(v){return v===45||ct(v)?(e.consume(v),ee):v===47||v===62||He(v)?G(v):r(v)}function G(v){return v===47?(e.consume(v),ve):v===58||v===95||gt(v)?(e.consume(v),M):te(v)?(s=G,O(v)):fe(v)?(e.consume(v),G):ve(v)}function M(v){return v===45||v===46||v===58||v===95||ct(v)?(e.consume(v),M):V(v)}function V(v){return v===61?(e.consume(v),$):te(v)?(s=V,O(v)):fe(v)?(e.consume(v),V):G(v)}function $(v){return v===null||v===60||v===61||v===62||v===96?r(v):v===34||v===39?(e.consume(v),i=v,de):te(v)?(s=$,O(v)):fe(v)?(e.consume(v),$):(e.consume(v),ue)}function de(v){return v===i?(e.consume(v),i=void 0,re):v===null?r(v):te(v)?(s=de,O(v)):(e.consume(v),de)}function ue(v){return v===null||v===34||v===39||v===60||v===61||v===96?r(v):v===47||v===62||He(v)?G(v):(e.consume(v),ue)}function re(v){return v===47||v===62||He(v)?G(v):r(v)}function ve(v){return v===62?(e.consume(v),e.exit("htmlTextData"),e.exit("htmlText"),t):r(v)}function O(v){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),L}function L(v){return fe(v)?ge(e,Q,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):Q(v)}function Q(v){return e.enter("htmlTextData"),s(v)}}const Mn={name:"labelEnd",tokenize:Tl,resolveTo:Al,resolveAll:El},kl={tokenize:Ml},zl={tokenize:Cl},Sl={tokenize:Nl};function El(e){let t=-1;for(;++t<e.length;){const r=e[t][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(e.splice(t+1,r.type==="labelImage"?4:2),r.type="data",t++)}return e}function Al(e,t){let r=e.length,n=0,i,a,s,o;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(s=r);const l={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},h={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[s][1].end)},d={type:"labelText",start:Object.assign({},e[a+n+2][1].end),end:Object.assign({},e[s-2][1].start)};return o=[["enter",l,t],["enter",h,t]],o=at(o,e.slice(a+1,a+n+3)),o=at(o,[["enter",d,t]]),o=at(o,En(t.parser.constructs.insideSpan.null,e.slice(a+n+4,s-3),t)),o=at(o,[["exit",d,t],e[s-2],e[s-1],["exit",h,t]]),o=at(o,e.slice(s+1)),o=at(o,[["exit",l,t]]),ft(e,a,e.length,o),e}function Tl(e,t,r){const n=this;let i=n.events.length,a,s;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(g){return a?a._inactive?p(g):(s=n.parser.defined.includes(sr(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),l):r(g)}function l(g){return g===40?e.attempt(kl,d,s?d:p)(g):g===91?e.attempt(zl,d,s?h:p)(g):s?d(g):p(g)}function h(g){return e.attempt(Sl,d,p)(g)}function d(g){return t(g)}function p(g){return a._balanced=!0,r(g)}}function Ml(e,t,r){return n;function n(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),i}function i(p){return He(p)?yr(e,a)(p):a(p)}function a(p){return p===41?d(p):ra(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function s(p){return He(p)?yr(e,l)(p):d(p)}function o(p){return r(p)}function l(p){return p===34||p===39||p===40?aa(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):d(p)}function h(p){return He(p)?yr(e,d)(p):d(p)}function d(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):r(p)}}function Cl(e,t,r){const n=this;return i;function i(o){return na.call(n,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function Nl(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const _l={name:"labelStartImage",tokenize:Bl,resolveAll:Mn.resolveAll};function Bl(e,t,r){const n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const Rl={name:"labelStartLink",tokenize:Ol,resolveAll:Mn.resolveAll};function Ol(e,t,r){const n=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const Cn={name:"lineEnding",tokenize:Il};function Il(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ge(e,t,"linePrefix")}}const Lr={name:"thematicBreak",tokenize:Dl};function Dl(e,t,r){let n=0,i;return a;function a(h){return e.enter("thematicBreak"),s(h)}function s(h){return i=h,o(h)}function o(h){return h===i?(e.enter("thematicBreakSequence"),l(h)):n>=3&&(h===null||te(h))?(e.exit("thematicBreak"),t(h)):r(h)}function l(h){return h===i?(e.consume(h),n++,l):(e.exit("thematicBreakSequence"),fe(h)?ge(e,o,"whitespace")(h):o(h))}}const Ke={name:"list",tokenize:Pl,continuation:{tokenize:ql},exit:Ul},Ll={tokenize:Gl,partial:!0},Fl={tokenize:Hl,partial:!0};function Pl(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(m){const z=n.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(z==="listUnordered"?!n.containerState.marker||m===n.containerState.marker:Sn(m)){if(n.containerState.type||(n.containerState.type=z,e.enter(z,{_container:!0})),z==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Lr,r,h)(m):h(m);if(!n.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return r(m)}function l(m){return Sn(m)&&++s<10?(e.consume(m),l):(!n.interrupt||s<2)&&(n.containerState.marker?m===n.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),h(m)):r(m)}function h(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||m,e.check(Dr,n.interrupt?r:d,e.attempt(Ll,g,p))}function d(m){return n.containerState.initialBlankLine=!0,a++,g(m)}function p(m){return fe(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):r(m)}function g(m){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function ql(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Dr,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ge(e,t,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!fe(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(Fl,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,ge(e,e.attempt(Ke,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Hl(e,t,r){const n=this;return ge(e,i,"listItemIndent",n.containerState.size+1);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(a):r(a)}}function Ul(e){e.exit(this.containerState.type)}function Gl(e,t,r){const n=this;return ge(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=n.events[n.events.length-1];return!fe(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const sa={name:"setextUnderline",tokenize:$l,resolveTo:jl};function jl(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const s={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function $l(e,t,r){const n=this;let i;return a;function a(h){let d=n.events.length,p;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){p=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||p)?(e.enter("setextHeadingLine"),i=h,s(h)):r(h)}function s(h){return e.enter("setextHeadingLineSequence"),o(h)}function o(h){return h===i?(e.consume(h),o):(e.exit("setextHeadingLineSequence"),fe(h)?ge(e,l,"lineSuffix")(h):l(h))}function l(h){return h===null||te(h)?(e.exit("setextHeadingLine"),t(h)):r(h)}}const Vl={tokenize:Wl};function Wl(e){const t=this,r=e.attempt(Dr,n,e.attempt(this.parser.constructs.flowInitial,i,ge(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Jo,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const Xl={resolveAll:la()},Kl=oa("string"),Yl=oa("text");function oa(e){return{tokenize:t,resolveAll:la(e==="text"?Zl:void 0)};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,s,o);return s;function s(d){return h(d)?a(d):o(d)}function o(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),l}function l(d){return h(d)?(r.exit("data"),a(d)):(r.consume(d),l)}function h(d){if(d===null)return!0;const p=i[d];let g=-1;if(p)for(;++g<p.length;){const m=p[g];if(!m.previous||m.previous.call(n,n.previous))return!0}return!1}}}function la(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function Zl(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,s=-1,o=0,l;for(;a--;){const h=i[a];if(typeof h=="string"){for(s=h.length;h.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(h===-2)l=!0,o++;else if(h!==-1){a++;break}}if(o){const h={type:r===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-o,offset:n.end.offset-o,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},h.start),n.start.offset===n.end.offset?Object.assign(n,h):(e.splice(r,0,["enter",h,t],["exit",h,t]),r+=2)}r++}return e}function Jl(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let s=[],o=[];const l={consume:C,enter:R,exit:W,attempt:X(H),check:X(T),interrupt:X(T,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:g,now:z,defineSkip:k,write:p};let d=t.tokenize.call(h,l);return t.resolveAll&&a.push(t),h;function p(V){return s=at(s,V),N(),s[s.length-1]!==null?[]:(ee(t,0),h.events=En(a,h.events,h),h.events)}function g(V,$){return eu(m(V),$)}function m(V){return Ql(s,V)}function z(){const{line:V,column:$,offset:de,_index:ue,_bufferIndex:re}=n;return{line:V,column:$,offset:de,_index:ue,_bufferIndex:re}}function k(V){i[V.line]=V.column,M()}function N(){let V;for(;n._index<s.length;){const $=s[n._index];if(typeof $=="string")for(V=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===V&&n._bufferIndex<$.length;)A($.charCodeAt(n._bufferIndex));else A($)}}function A(V){d=d(V)}function C(V){te(V)?(n.line++,n.column=1,n.offset+=V===-3?2:1,M()):V!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),h.previous=V}function R(V,$){const de=$||{};return de.type=V,de.start=z(),h.events.push(["enter",de,h]),o.push(de),de}function W(V){const $=o.pop();return $.end=z(),h.events.push(["exit",$,h]),$}function H(V,$){ee(V,$.from)}function T(V,$){$.restore()}function X(V,$){return de;function de(ue,re,ve){let O,L,Q,v;return Array.isArray(ue)?ce(ue):"tokenize"in ue?ce([ue]):se(ue);function se(ye){return Xe;function Xe(Fe){const Je=Fe!==null&&ye[Fe],Qe=Fe!==null&&ye.null,tr=[...Array.isArray(Je)?Je:Je?[Je]:[],...Array.isArray(Qe)?Qe:Qe?[Qe]:[]];return ce(tr)(Fe)}}function ce(ye){return O=ye,L=0,ye.length===0?ve:x(ye[L])}function x(ye){return Xe;function Xe(Fe){return v=G(),Q=ye,ye.partial||(h.currentConstruct=ye),ye.name&&h.parser.constructs.disable.null.includes(ye.name)?we():ye.tokenize.call($?Object.assign(Object.create(h),$):h,l,Oe,we)(Fe)}}function Oe(ye){return V(Q,v),re}function we(ye){return v.restore(),++L<O.length?x(O[L]):ve}}}function ee(V,$){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&ft(h.events,$,h.events.length-$,V.resolve(h.events.slice($),h)),V.resolveTo&&(h.events=V.resolveTo(h.events,h))}function G(){const V=z(),$=h.previous,de=h.currentConstruct,ue=h.events.length,re=Array.from(o);return{restore:ve,from:ue};function ve(){n=V,h.previous=$,h.currentConstruct=de,h.events.length=ue,o=re,M()}}function M(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function Ql(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(r===i)s=[e[r].slice(n,a)];else{if(s=e.slice(r,i),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function eu(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
1
+ (function(nt,q){typeof exports=="object"&&typeof module<"u"?q(exports):typeof define=="function"&&define.amd?define(["exports"],q):(nt=typeof globalThis<"u"?globalThis:nt||self,q(nt.VeracityAI={}))})(this,function(nt){"use strict";var Yd=Object.defineProperty;var Zd=(nt,q,qe)=>q in nt?Yd(nt,q,{enumerable:!0,configurable:!0,writable:!0,value:qe}):nt[q]=qe;var K=(nt,q,qe)=>(Zd(nt,typeof q!="symbol"?q+"":q,qe),qe);function q(e,t,...r){switch(typeof e){case"string":{const n=document.createElement(e);qe(n,t);for(const i of r)wn(n,i);return n}case"function":return e(t||{},r)}throw new Error(`Unable to create element of type '${typeof e}'`)}function qe(e,t){if(t)for(const r in t){const n=t[r];if(r in e)if(r==="classList"){if(n)for(const i of n)e.classList.add(i)}else e[r]=n;else r in e.style?e.style[r]=n:e.setAttribute(r,n)}}function ho(e){if(e instanceof Node)return e;if(typeof e=="string")return document.createTextNode(e);if(e!=null&&e[Symbol.iterator]){const t=document.createDocumentFragment();for(const r of e)wn(t,r);return t}else return e?document.createTextNode(e):document.createComment(` ${e} `)}function wn(e,t){const r=ho(t);e.appendChild(r)}function xn(e,...t){const r=document.createDocumentFragment();for(const n of t)wn(r,n);return r}const mo=`*,: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;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[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]{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,.h1{font-size:3.125rem;font-style:normal;font-weight:400;line-height:1.24}@media only screen and (max-width: 992px){h1,.h1{font-size:1.9375rem;line-height:1.5483870967741935}}h1,.h1{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h1),:is(.dark .h1){color:var(--White, hsl(40 3% 100%))}h2,.h2{font-size:2rem;font-style:normal;font-weight:400;line-height:1.3125}@media only screen and (max-width: 992px){h2,.h2{font-size:1.75rem;line-height:1.3571428571428572}}h2,.h2{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h2),:is(.dark .h2){color:var(--White, hsl(40 3% 100%))}h3,.h3{font-size:1.5rem;font-style:normal;font-weight:400;line-height:1.3333333333333333}@media only screen and (max-width: 992px){h3,.h3{font-size:1.375rem;line-height:1.4545454545454546}}h3,.h3{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h3),:is(.dark .h3){color:var(--White, hsl(40 3% 100%))}h4,.h4{font-size:1.25rem;font-style:normal;font-weight:600;line-height:1.2}@media only screen and (max-width: 992px){h4,.h4{font-size:1.125rem;line-height:1.3333333333333333}}h4,.h4{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h4),:is(.dark .h4){color:var(--White, hsl(40 3% 100%))}h5,.h5{font-size:1.125rem;font-style:normal;font-weight:600;line-height:1.4444444444444444}@media only screen and (max-width: 992px){h5,.h5{font-size:1rem;line-height:1.375}}h5,.h5{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark h5),:is(.dark .h5){color:var(--White, hsl(40 3% 100%))}h6,.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),:is(.dark .h6){color:var(--White, hsl(40 3% 100%))}*,: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: }::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: }.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-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-left: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-left: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-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left: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(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:.1875em .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:.8571429em 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;text-align:left;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-right:.5714286em;padding-bottom:.5714286em;padding-left:.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(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(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.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-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.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>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*: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-left: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-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right: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-left: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:.1428571em .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:.6666667em 1em}.prose-sm :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left:1.5714286em}.prose-sm :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em;margin-bottom:1.1428571em;padding-left: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-left:.4285714em}.prose-sm :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.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>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.1428571em}.prose-sm :where(.prose-sm>ol>li>*: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-left: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-right:1em;padding-bottom:.6666667em;padding-left:1em}.prose-sm :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose-sm :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.6666667em 1em}.prose-sm :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose-sm :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right: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}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.left-\\[-3\\.25rem\\]{left:-3.25rem}.top-0{top:0}.top-\\[\\.05em\\]{top:.05em}.top-\\[3\\%\\]{top:3%}.z-10{z-index:10}.col-span-2{grid-column:span 2 / span 2}.mx-auto{margin-left:auto;margin-right:auto}.mb-1{margin-bottom:.25rem}.ml-auto{margin-left:auto}.mt-1{margin-top:.25rem}.mt-1\\.5{margin-top:.375rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.block{display:block}.inline{display:inline}.flex{display:flex}.table{display:table}.grid{display:grid}.list-item{display:list-item}.h-6{height:1.5rem}.h-\\[1\\.421875rem\\]{height:1.421875rem}.h-full{height:100%}.min-h-full{min-height:100%}.w-6{width:1.5rem}.w-full{width:100%}.w-screen{width:100vw}.max-w-none{max-width:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.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))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-\\[32px\\,1fr\\]{grid-template-columns:32px 1fr}.grid-cols-\\[auto\\,1fr\\]{grid-template-columns:auto 1fr}.flex-col{flex-direction:column}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.bg-Dark-Blue-Main-18{--tw-bg-opacity: 1;background-color:hsl(223 67% 18% / var(--tw-bg-opacity))}.bg-Energy-Red-95{--tw-bg-opacity: 1;background-color:hsl(357 83% 95% / var(--tw-bg-opacity))}.bg-Eucalyptus-85{--tw-bg-opacity: 1;background-color:hsl(178 80% 85% / var(--tw-bg-opacity))}.bg-Land-Green-95{--tw-bg-opacity: 1;background-color:hsl(114 49% 95% / var(--tw-bg-opacity))}.bg-Lavender-90{--tw-bg-opacity: 1;background-color:hsl(232 58% 90% / var(--tw-bg-opacity))}.bg-Sea-Blue-5{--tw-bg-opacity: 1;background-color:hsl(218 100% 5% / var(--tw-bg-opacity))}.bg-Sea-Blue-Main-28{--tw-bg-opacity: 1;background-color:hsl(218 100% 28% / var(--tw-bg-opacity))}.bg-Sky-Blue-95{--tw-bg-opacity: 1;background-color:hsl(196 74% 95% / var(--tw-bg-opacity))}.bg-Sunflower-85{--tw-bg-opacity: 1;background-color:hsl(55 100% 85% / var(--tw-bg-opacity))}.bg-Terracotta-85{--tw-bg-opacity: 1;background-color:hsl(34 100% 85% / var(--tw-bg-opacity))}.bg-White{--tw-bg-opacity: 1;background-color:hsl(40 3% 100% / var(--tw-bg-opacity))}.bg-\\[\\#262626\\]{--tw-bg-opacity: 1;background-color:rgb(38 38 38 / var(--tw-bg-opacity))}.bg-\\[\\#333333\\]{--tw-bg-opacity: 1;background-color:rgb(51 51 51 / var(--tw-bg-opacity))}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-5{padding-bottom:1.25rem}.pr-4{padding-right:1rem}.pt-5{padding-top:1.25rem}.text-left{text-align:left}.text-center{text-align:center}.text-\\[\\.875rem\\]{font-size:.875rem}.font-demiBold{font-weight:600}.font-medium{font-weight:500}.uppercase{text-transform:uppercase}.text-Energy-Red-45{--tw-text-opacity: 1;color:hsl(357 83% 45% / var(--tw-text-opacity))}.text-Eucalyptus-20{--tw-text-opacity: 1;color:hsl(178 80% 20% / var(--tw-text-opacity))}.text-Land-Green-30{--tw-text-opacity: 1;color:hsl(114 49% 30% / var(--tw-text-opacity))}.text-Lavender-50{--tw-text-opacity: 1;color:hsl(232 58% 50% / var(--tw-text-opacity))}.text-Sandstone-Main-79{--tw-text-opacity: 1;color:hsl(40 3% 79% / var(--tw-text-opacity))}.text-Sea-Blue-Main-28{--tw-text-opacity: 1;color:hsl(218 100% 28% / var(--tw-text-opacity))}.text-Sky-Blue-95{--tw-text-opacity: 1;color:hsl(196 74% 95% / var(--tw-text-opacity))}.text-Sunflower-20{--tw-text-opacity: 1;color:hsl(55 100% 20% / var(--tw-text-opacity))}.text-Terracotta-20{--tw-text-opacity: 1;color:hsl(34 100% 20% / var(--tw-text-opacity))}.text-Terracotta-30{--tw-text-opacity: 1;color:hsl(34 100% 30% / var(--tw-text-opacity))}.text-Terracotta-Main-35{--tw-text-opacity: 1;color:hsl(34 100% 35% / var(--tw-text-opacity))}.text-White{--tw-text-opacity: 1;color:hsl(40 3% 100% / var(--tw-text-opacity))}.text-\\[\\#e5e5e5\\]{--tw-text-opacity: 1;color:rgb(229 229 229 / var(--tw-text-opacity))}.opacity-50{opacity:.5}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition-\\[grid-template-rows\\]{transition-property:grid-template-rows;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-300{transition-duration:.3s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.title{font-size:4rem;font-style:normal;font-weight:400;line-height:1.15625}@media only screen and (max-width: 992px){.title{font-size:2.625rem;line-height:1.2380952380952381}}.title{color:var(--Dark-Blue-Main-18, hsl(223, 67%, 18%))}:is(.dark .title){color:var(--White, hsl(40 3% 100%))}.elevation-4{box-shadow:var(--vui-elevation-4, 0 15px 23px 0 hsla(223, 67%, 18%, .2))}.fluent-depth-0{box-shadow:var(--fluent-depth-0, 0 0 0 0 transparent)}.fluent-depth-16{box-shadow:var(--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))}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .2s cubic-bezier(.4,0,1,1)}.first\\:mt-0:first-child{margin-top:0}.hover\\:bg-Sky-Blue-90:hover{--tw-bg-opacity: 1;background-color:hsl(196 74% 90% / var(--tw-bg-opacity))}.hover\\:fluent-depth-8:hover{box-shadow:var(--fluent-depth-8, 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108))}.active\\:select-none:active{-webkit-user-select:none;-moz-user-select:none;user-select:none}.active\\:bg-Sky-Blue-85:active{--tw-bg-opacity: 1;background-color:hsl(196 74% 85% / var(--tw-bg-opacity))}.active\\:fluent-depth-4:active{box-shadow:var(--fluent-depth-4, 0 1.6px 3.6px 0 rgba(0, 0, 0, .132), 0 .3px .9px 0 rgba(0, 0, 0, .108))}.group:hover .group-hover\\:opacity-100{opacity:1}.aria-expanded\\:fluent-depth-16[aria-expanded=true]{box-shadow:var(--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))}.active\\:aria-expanded\\:fluent-depth-8[aria-expanded=true]:active{box-shadow:var(--fluent-depth-8, 0 3.2px 7.2px 0 rgba(0, 0, 0, .132), 0 .6px 1.8px 0 rgba(0, 0, 0, .108))}.data-\\[expanded\\=true\\]\\:bg-Sky-Blue-85[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 85% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:bg-Energy-Red-95[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 95% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:bg-Energy-Red-85[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 85% / var(--tw-bg-opacity))}.data-\\[expanded\\=true\\]\\:hover\\:bg-Sky-Blue-80:hover[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 80% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:hover\\:bg-Energy-Red-80:hover[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 80% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:hover\\:bg-Energy-Red-90:hover[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 90% / var(--tw-bg-opacity))}.data-\\[expanded\\=true\\]\\:active\\:bg-Sky-Blue-75:active[data-expanded=true]{--tw-bg-opacity: 1;background-color:hsl(196 74% 75% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:active\\:bg-Energy-Red-85:active[data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 85% / var(--tw-bg-opacity))}.data-\\[status\\=error\\]\\:data-\\[expanded\\=true\\]\\:active\\:bg-Energy-Red-75:active[data-expanded=true][data-status=error]{--tw-bg-opacity: 1;background-color:hsl(357 83% 75% / var(--tw-bg-opacity))}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:-rotate-180{--tw-rotate: -180deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.group[data-status=error] .group-data-\\[status\\=error\\]\\:text-Energy-Red-45{--tw-text-opacity: 1;color:hsl(357 83% 45% / var(--tw-text-opacity))}.group[data-expanded=true] .group-data-\\[expanded\\=true\\]\\:opacity-100{opacity:1}.prose-code\\:text-\\[1em\\] :is(:where(code):not(:where([class~=not-prose],[class~=not-prose] *))){font-size:1em}@media (min-width: 640px){.sm\\:mx-0{margin-left:0;margin-right:0}.sm\\:my-8{margin-top:2rem;margin-bottom:2rem}.sm\\:ml-3{margin-left:.75rem}.sm\\:ml-4{margin-left:1rem}.sm\\:mt-0{margin-top:0}.sm\\:flex{display:flex}.sm\\:w-auto{width:auto}.sm\\:w-full{width:100%}.sm\\:max-w-lg{max-width:32rem}.sm\\:flex-row-reverse{flex-direction:row-reverse}.sm\\:items-start{align-items:flex-start}.sm\\:items-center{align-items:center}.sm\\:p-0{padding:0}.sm\\:text-left{text-align:left}}`,po="pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#2e3440}.hljs,.hljs-subst{color:#d8dee9}.hljs-selector-tag{color:#81a1c1}.hljs-selector-id{color:#8fbcbb;font-weight:700}.hljs-selector-class,.hljs-selector-attr{color:#8fbcbb}.hljs-property,.hljs-selector-pseudo{color:#88c0d0}.hljs-addition{background-color:#a3be8c80}.hljs-deletion{background-color:#bf616a80}.hljs-built_in,.hljs-type,.hljs-class{color:#8fbcbb}.hljs-function{color:#88c0d0}.hljs-title.hljs-function,.hljs-function>.hljs-title{color:#88c0d0}.hljs-keyword,.hljs-literal,.hljs-symbol{color:#81a1c1}.hljs-number{color:#b48ead}.hljs-regexp{color:#ebcb8b}.hljs-string{color:#a3be8c}.hljs-title{color:#8fbcbb}.hljs-params{color:#d8dee9}.hljs-bullet{color:#81a1c1}.hljs-code{color:#8fbcbb}.hljs-emphasis{font-style:italic}.hljs-formula{color:#8fbcbb}.hljs-strong{font-weight:700}.hljs-link:hover{text-decoration:underline}.hljs-quote,.hljs-comment{color:#4c566a}.hljs-doctag{color:#8fbcbb}.hljs-meta,.hljs-meta .hljs-keyword{color:#5e81ac}.hljs-meta .hljs-string{color:#a3be8c}.hljs-attr{color:#8fbcbb}.hljs-attribute{color:#d8dee9}.hljs-name{color:#81a1c1}.hljs-section{color:#88c0d0}.hljs-tag{color:#81a1c1}.hljs-variable,.hljs-template-variable{color:#d8dee9}.hljs-template-tag{color:#5e81ac}.language-abnf .hljs-attribute{color:#88c0d0}.language-abnf .hljs-symbol{color:#ebcb8b}.language-apache .hljs-attribute{color:#88c0d0}.language-apache .hljs-section{color:#81a1c1}.language-arduino .hljs-built_in{color:#88c0d0}.language-aspectj .hljs-meta{color:#d08770}.language-aspectj>.hljs-title{color:#88c0d0}.language-bnf .hljs-attribute{color:#8fbcbb}.language-clojure .hljs-name{color:#88c0d0}.language-clojure .hljs-symbol{color:#ebcb8b}.language-coq .hljs-built_in{color:#88c0d0}.language-cpp .hljs-meta .hljs-string{color:#8fbcbb}.language-css .hljs-built_in{color:#88c0d0}.language-css .hljs-keyword{color:#d08770}.language-diff .hljs-meta,.language-ebnf .hljs-attribute{color:#8fbcbb}.language-glsl .hljs-built_in{color:#88c0d0}.language-groovy .hljs-meta:not(:first-child){color:#d08770}.language-haxe .hljs-meta,.language-java .hljs-meta{color:#d08770}.language-ldif .hljs-attribute{color:#8fbcbb}.language-lisp .hljs-name,.language-lua .hljs-built_in,.language-moonscript .hljs-built_in,.language-nginx .hljs-attribute{color:#88c0d0}.language-nginx .hljs-section{color:#5e81ac}.language-pf .hljs-built_in,.language-processing .hljs-built_in{color:#88c0d0}.language-scss .hljs-keyword,.language-stylus .hljs-keyword{color:#81a1c1}.language-swift .hljs-meta{color:#d08770}.language-vim .hljs-built_in{color:#88c0d0;font-style:italic}.language-yaml .hljs-meta{color:#d08770}",fo='.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.9"}.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 .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:.27777778em;margin-right:-.55555556em}.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:.83333333em}.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.16666667em}.katex .sizing.reset-size2.size4,.katex .fontsize-ensurer.reset-size2.size4{font-size:1.33333333em}.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.66666667em}.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.45666667em}.katex .sizing.reset-size2.size11,.katex .fontsize-ensurer.reset-size2.size11{font-size:4.14666667em}.katex .sizing.reset-size3.size1,.katex .fontsize-ensurer.reset-size3.size1{font-size:.71428571em}.katex .sizing.reset-size3.size2,.katex .fontsize-ensurer.reset-size3.size2{font-size:.85714286em}.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.14285714em}.katex .sizing.reset-size3.size5,.katex .fontsize-ensurer.reset-size3.size5{font-size:1.28571429em}.katex .sizing.reset-size3.size6,.katex .fontsize-ensurer.reset-size3.size6{font-size:1.42857143em}.katex .sizing.reset-size3.size7,.katex .fontsize-ensurer.reset-size3.size7{font-size:1.71428571em}.katex .sizing.reset-size3.size8,.katex .fontsize-ensurer.reset-size3.size8{font-size:2.05714286em}.katex .sizing.reset-size3.size9,.katex .fontsize-ensurer.reset-size3.size9{font-size:2.46857143em}.katex .sizing.reset-size3.size10,.katex .fontsize-ensurer.reset-size3.size10{font-size:2.96285714em}.katex .sizing.reset-size3.size11,.katex .fontsize-ensurer.reset-size3.size11{font-size:3.55428571em}.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:.55555556em}.katex .sizing.reset-size5.size2,.katex .fontsize-ensurer.reset-size5.size2{font-size:.66666667em}.katex .sizing.reset-size5.size3,.katex .fontsize-ensurer.reset-size5.size3{font-size:.77777778em}.katex .sizing.reset-size5.size4,.katex .fontsize-ensurer.reset-size5.size4{font-size:.88888889em}.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.11111111em}.katex .sizing.reset-size5.size7,.katex .fontsize-ensurer.reset-size5.size7{font-size:1.33333333em}.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.30444444em}.katex .sizing.reset-size5.size11,.katex .fontsize-ensurer.reset-size5.size11{font-size:2.76444444em}.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:.41666667em}.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:.58333333em}.katex .sizing.reset-size7.size4,.katex .fontsize-ensurer.reset-size7.size4{font-size:.66666667em}.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:.83333333em}.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.72833333em}.katex .sizing.reset-size7.size11,.katex .fontsize-ensurer.reset-size7.size11{font-size:2.07333333em}.katex .sizing.reset-size8.size1,.katex .fontsize-ensurer.reset-size8.size1{font-size:.34722222em}.katex .sizing.reset-size8.size2,.katex .fontsize-ensurer.reset-size8.size2{font-size:.41666667em}.katex .sizing.reset-size8.size3,.katex .fontsize-ensurer.reset-size8.size3{font-size:.48611111em}.katex .sizing.reset-size8.size4,.katex .fontsize-ensurer.reset-size8.size4{font-size:.55555556em}.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:.69444444em}.katex .sizing.reset-size8.size7,.katex .fontsize-ensurer.reset-size8.size7{font-size:.83333333em}.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.44027778em}.katex .sizing.reset-size8.size11,.katex .fontsize-ensurer.reset-size8.size11{font-size:1.72777778em}.katex .sizing.reset-size9.size1,.katex .fontsize-ensurer.reset-size9.size1{font-size:.28935185em}.katex .sizing.reset-size9.size2,.katex .fontsize-ensurer.reset-size9.size2{font-size:.34722222em}.katex .sizing.reset-size9.size3,.katex .fontsize-ensurer.reset-size9.size3{font-size:.40509259em}.katex .sizing.reset-size9.size4,.katex .fontsize-ensurer.reset-size9.size4{font-size:.46296296em}.katex .sizing.reset-size9.size5,.katex .fontsize-ensurer.reset-size9.size5{font-size:.52083333em}.katex .sizing.reset-size9.size6,.katex .fontsize-ensurer.reset-size9.size6{font-size:.5787037em}.katex .sizing.reset-size9.size7,.katex .fontsize-ensurer.reset-size9.size7{font-size:.69444444em}.katex .sizing.reset-size9.size8,.katex .fontsize-ensurer.reset-size9.size8{font-size:.83333333em}.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.20023148em}.katex .sizing.reset-size9.size11,.katex .fontsize-ensurer.reset-size9.size11{font-size:1.43981481em}.katex .sizing.reset-size10.size1,.katex .fontsize-ensurer.reset-size10.size1{font-size:.24108004em}.katex .sizing.reset-size10.size2,.katex .fontsize-ensurer.reset-size10.size2{font-size:.28929605em}.katex .sizing.reset-size10.size3,.katex .fontsize-ensurer.reset-size10.size3{font-size:.33751205em}.katex .sizing.reset-size10.size4,.katex .fontsize-ensurer.reset-size10.size4{font-size:.38572806em}.katex .sizing.reset-size10.size5,.katex .fontsize-ensurer.reset-size10.size5{font-size:.43394407em}.katex .sizing.reset-size10.size6,.katex .fontsize-ensurer.reset-size10.size6{font-size:.48216008em}.katex .sizing.reset-size10.size7,.katex .fontsize-ensurer.reset-size10.size7{font-size:.57859209em}.katex .sizing.reset-size10.size8,.katex .fontsize-ensurer.reset-size10.size8{font-size:.69431051em}.katex .sizing.reset-size10.size9,.katex .fontsize-ensurer.reset-size10.size9{font-size:.83317261em}.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.19961427em}.katex .sizing.reset-size11.size1,.katex .fontsize-ensurer.reset-size11.size1{font-size:.20096463em}.katex .sizing.reset-size11.size2,.katex .fontsize-ensurer.reset-size11.size2{font-size:.24115756em}.katex .sizing.reset-size11.size3,.katex .fontsize-ensurer.reset-size11.size3{font-size:.28135048em}.katex .sizing.reset-size11.size4,.katex .fontsize-ensurer.reset-size11.size4{font-size:.32154341em}.katex .sizing.reset-size11.size5,.katex .fontsize-ensurer.reset-size11.size5{font-size:.36173633em}.katex .sizing.reset-size11.size6,.katex .fontsize-ensurer.reset-size11.size6{font-size:.40192926em}.katex .sizing.reset-size11.size7,.katex .fontsize-ensurer.reset-size11.size7{font-size:.48231511em}.katex .sizing.reset-size11.size8,.katex .fontsize-ensurer.reset-size11.size8{font-size:.57877814em}.katex .sizing.reset-size11.size9,.katex .fontsize-ensurer.reset-size11.size9{font-size:.69453376em}.katex .sizing.reset-size11.size10,.katex .fontsize-ensurer.reset-size11.size10{font-size:.83360129em}.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}';var ir=(e=>(e[e.Messages=0]="Messages",e[e.OperationResult=1]="OperationResult",e[e.OperationError=2]="OperationError",e))(ir||{}),ze=(e=>(e[e.Init=0]="Init",e[e.Done=1]="Done",e[e.Error=2]="Error",e[e.AppendMessage=3]="AppendMessage",e[e.ToolCallUpdate=4]="ToolCallUpdate",e[e.Loop=5]="Loop",e[e.ToolCallTaskItemStatus=6]="ToolCallTaskItemStatus",e[e.ToolCallTitle=7]="ToolCallTitle",e[e.ToolCallLog=8]="ToolCallLog",e[e.ToolCallPython=9]="ToolCallPython",e[e.ToolCallDone=10]="ToolCallDone",e[e.ToolCallError=11]="ToolCallError",e[e.InvokeFrontEnd=12]="InvokeFrontEnd",e))(ze||{}),ut=(e=>(e.Progress="progress",e.Complete="complete",e.Info="info",e.Warning="warning",e.Error="error",e.Undetermined="undetermined",e))(ut||{});const go={};function bo(e,t){const r=t||go,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,i=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return U0(e,n,i)}function U0(e,t,r){if(vo(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return G0(e.children,t,r)}return Array.isArray(e)?G0(e,t,r):""}function G0(e,t,r){const n=[];let i=-1;for(;++i<e.length;)n[i]=U0(e[i],t,r);return n.join("")}function vo(e){return!!(e&&typeof e=="object")}const j0=document.createElement("i");function kn(e){const t="&"+e+";";j0.innerHTML=t;const r=j0.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function ft(e,t,r,n){const i=e.length;let a=0,s;if(t<0?t=-t>i?0:i+t:t=t>i?i:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);a<n.length;)s=n.slice(a,a+1e4),s.unshift(t,0),e.splice(...s),a+=1e4,t+=1e4}function at(e,t){return e.length>0?(ft(e,e.length,0,t),e):t}const $0={}.hasOwnProperty;function yo(e){const t={};let r=-1;for(;++r<e.length;)wo(t,e[r]);return t}function wo(e,t){let r;for(r in t){const i=($0.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];let s;if(a)for(s in a){$0.call(i,s)||(i[s]=[]);const o=a[s];xo(i[s],Array.isArray(o)?o:o?[o]:[])}}}function xo(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);ft(e,0,0,n)}function V0(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function sr(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const gt=Lt(/[A-Za-z]/),ct=Lt(/[\dA-Za-z]/),ko=Lt(/[#-'*+\--9=?A-Z^-~]/);function zn(e){return e!==null&&(e<32||e===127)}const Sn=Lt(/\d/),zo=Lt(/[\dA-Fa-f]/),So=Lt(/[!-/:-@[-`{-~]/);function te(e){return e!==null&&e<-2}function He(e){return e!==null&&(e<0||e===32)}function fe(e){return e===-2||e===-1||e===32}const Eo=Lt(new RegExp("\\p{P}|\\p{S}","u")),Ao=Lt(/\s/);function Lt(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ge(e,t,r,n){const i=n?n-1:Number.POSITIVE_INFINITY;let a=0;return s;function s(l){return fe(l)?(e.enter(r),o(l)):t(l)}function o(l){return fe(l)&&a++<i?(e.consume(l),o):(e.exit(r),t(l))}}const To={tokenize:Mo};function Mo(e){const t=e.attempt(this.parser.constructs.contentInitial,n,i);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),ge(e,t,"linePrefix")}function i(o){return e.enter("paragraph"),a(o)}function a(o){const l=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=l),r=l,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return te(o)?(e.consume(o),e.exit("chunkText"),a):(e.consume(o),s)}}const Co={tokenize:No},W0={tokenize:_o};function No(e){const t=this,r=[];let n=0,i,a,s;return o;function o(R){if(n<r.length){const W=r[n];return t.containerState=W[1],e.attempt(W[0].continuation,l,h)(R)}return h(R)}function l(R){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,i&&C();const W=t.events.length;let H=W,T;for(;H--;)if(t.events[H][0]==="exit"&&t.events[H][1].type==="chunkFlow"){T=t.events[H][1].end;break}A(n);let X=W;for(;X<t.events.length;)t.events[X][1].end=Object.assign({},T),X++;return ft(t.events,H+1,0,t.events.slice(W)),t.events.length=X,h(R)}return o(R)}function h(R){if(n===r.length){if(!i)return g(R);if(i.currentConstruct&&i.currentConstruct.concrete)return z(R);t.interrupt=!!(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(W0,d,p)(R)}function d(R){return i&&C(),A(n),g(R)}function p(R){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,z(R)}function g(R){return t.containerState={},e.attempt(W0,m,z)(R)}function m(R){return n++,r.push([t.currentConstruct,t.containerState]),g(R)}function z(R){if(R===null){i&&C(),A(0),e.consume(R);return}return i=i||t.parser.flow(t.now()),e.enter("chunkFlow",{contentType:"flow",previous:a,_tokenizer:i}),k(R)}function k(R){if(R===null){N(e.exit("chunkFlow"),!0),A(0),e.consume(R);return}return te(R)?(e.consume(R),N(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(R),k)}function N(R,W){const H=t.sliceStream(R);if(W&&H.push(null),R.previous=a,a&&(a.next=R),a=R,i.defineSkip(R.start),i.write(H),t.parser.lazy[R.start.line]){let T=i.events.length;for(;T--;)if(i.events[T][1].start.offset<s&&(!i.events[T][1].end||i.events[T][1].end.offset>s))return;const X=t.events.length;let ee=X,G,M;for(;ee--;)if(t.events[ee][0]==="exit"&&t.events[ee][1].type==="chunkFlow"){if(G){M=t.events[ee][1].end;break}G=!0}for(A(n),T=X;T<t.events.length;)t.events[T][1].end=Object.assign({},M),T++;ft(t.events,ee+1,0,t.events.slice(X)),t.events.length=T}}function A(R){let W=r.length;for(;W-- >R;){const H=r[W];t.containerState=H[1],H[0].exit.call(t,e)}r.length=R}function C(){i.write([null]),a=void 0,i=void 0,t.containerState._closeFlow=void 0}}function _o(e,t,r){return ge(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function X0(e){if(e===null||He(e)||Ao(e))return 1;if(Eo(e))return 2}function En(e,t,r){const n=[];let i=-1;for(;++i<e.length;){const a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}const An={name:"attention",tokenize:Ro,resolveAll:Bo};function Bo(e,t){let r=-1,n,i,a,s,o,l,h,d;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;l=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const p=Object.assign({},e[n][1].end),g=Object.assign({},e[r][1].start);K0(p,-l),K0(g,l),s={type:l>1?"strongSequence":"emphasisSequence",start:p,end:Object.assign({},e[n][1].end)},o={type:l>1?"strongSequence":"emphasisSequence",start:Object.assign({},e[r][1].start),end:g},a={type:l>1?"strongText":"emphasisText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},i={type:l>1?"strong":"emphasis",start:Object.assign({},s.start),end:Object.assign({},o.end)},e[n][1].end=Object.assign({},s.start),e[r][1].start=Object.assign({},o.end),h=[],e[n][1].end.offset-e[n][1].start.offset&&(h=at(h,[["enter",e[n][1],t],["exit",e[n][1],t]])),h=at(h,[["enter",i,t],["enter",s,t],["exit",s,t],["enter",a,t]]),h=at(h,En(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),h=at(h,[["exit",a,t],["enter",o,t],["exit",o,t],["exit",i,t]]),e[r][1].end.offset-e[r][1].start.offset?(d=2,h=at(h,[["enter",e[r][1],t],["exit",e[r][1],t]])):d=0,ft(e,n-1,r-n+3,h),r=n+h.length-d-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Ro(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,i=X0(n);let a;return s;function s(l){return a=l,e.enter("attentionSequence"),o(l)}function o(l){if(l===a)return e.consume(l),o;const h=e.exit("attentionSequence"),d=X0(l),p=!d||d===2&&i||r.includes(l),g=!i||i===2&&d||r.includes(n);return h._open=!!(a===42?p:p&&(i||!g)),h._close=!!(a===42?g:g&&(d||!p)),t(l)}}function K0(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Oo={name:"autolink",tokenize:Io};function Io(e,t,r){let n=0;return i;function i(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(m){return gt(m)?(e.consume(m),s):h(m)}function s(m){return m===43||m===45||m===46||ct(m)?(n=1,o(m)):h(m)}function o(m){return m===58?(e.consume(m),n=0,l):(m===43||m===45||m===46||ct(m))&&n++<32?(e.consume(m),o):(n=0,h(m))}function l(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||zn(m)?r(m):(e.consume(m),l)}function h(m){return m===64?(e.consume(m),d):ko(m)?(e.consume(m),h):r(m)}function d(m){return ct(m)?p(m):r(m)}function p(m){return m===46?(e.consume(m),n=0,d):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):g(m)}function g(m){if((m===45||ct(m))&&n++<63){const z=m===45?g:p;return e.consume(m),z}return r(m)}}const Dr={tokenize:Do,partial:!0};function Do(e,t,r){return n;function n(a){return fe(a)?ge(e,i,"linePrefix")(a):i(a)}function i(a){return a===null||te(a)?t(a):r(a)}}const Y0={name:"blockQuote",tokenize:Lo,continuation:{tokenize:Fo},exit:Po};function Lo(e,t,r){const n=this;return i;function i(s){if(s===62){const o=n.containerState;return o.open||(e.enter("blockQuote",{_container:!0}),o.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),a}return r(s)}function a(s){return fe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Fo(e,t,r){const n=this;return i;function i(s){return fe(s)?ge(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):a(s)}function a(s){return e.attempt(Y0,t,r)(s)}}function Po(e){e.exit("blockQuote")}const Z0={name:"characterEscape",tokenize:qo};function qo(e,t,r){return n;function n(a){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(a),e.exit("escapeMarker"),i}function i(a){return So(a)?(e.enter("characterEscapeValue"),e.consume(a),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(a)}}const J0={name:"characterReference",tokenize:Ho};function Ho(e,t,r){const n=this;let i=0,a,s;return o;function o(p){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),l}function l(p){return p===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(p),e.exit("characterReferenceMarkerNumeric"),h):(e.enter("characterReferenceValue"),a=31,s=ct,d(p))}function h(p){return p===88||p===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(p),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),a=6,s=zo,d):(e.enter("characterReferenceValue"),a=7,s=Sn,d(p))}function d(p){if(p===59&&i){const g=e.exit("characterReferenceValue");return s===ct&&!kn(n.sliceSerialize(g))?r(p):(e.enter("characterReferenceMarker"),e.consume(p),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(p)&&i++<a?(e.consume(p),d):r(p)}}const Q0={tokenize:Go,partial:!0},ea={name:"codeFenced",tokenize:Uo,concrete:!0};function Uo(e,t,r){const n=this,i={tokenize:H,partial:!0};let a=0,s=0,o;return l;function l(T){return h(T)}function h(T){const X=n.events[n.events.length-1];return a=X&&X[1].type==="linePrefix"?X[2].sliceSerialize(X[1],!0).length:0,o=T,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),d(T)}function d(T){return T===o?(s++,e.consume(T),d):s<3?r(T):(e.exit("codeFencedFenceSequence"),fe(T)?ge(e,p,"whitespace")(T):p(T))}function p(T){return T===null||te(T)?(e.exit("codeFencedFence"),n.interrupt?t(T):e.check(Q0,k,W)(T)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),g(T))}function g(T){return T===null||te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),p(T)):fe(T)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),ge(e,m,"whitespace")(T)):T===96&&T===o?r(T):(e.consume(T),g)}function m(T){return T===null||te(T)?p(T):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),z(T))}function z(T){return T===null||te(T)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),p(T)):T===96&&T===o?r(T):(e.consume(T),z)}function k(T){return e.attempt(i,W,N)(T)}function N(T){return e.enter("lineEnding"),e.consume(T),e.exit("lineEnding"),A}function A(T){return a>0&&fe(T)?ge(e,C,"linePrefix",a+1)(T):C(T)}function C(T){return T===null||te(T)?e.check(Q0,k,W)(T):(e.enter("codeFlowValue"),R(T))}function R(T){return T===null||te(T)?(e.exit("codeFlowValue"),C(T)):(e.consume(T),R)}function W(T){return e.exit("codeFenced"),t(T)}function H(T,X,ee){let G=0;return M;function M(re){return T.enter("lineEnding"),T.consume(re),T.exit("lineEnding"),V}function V(re){return T.enter("codeFencedFence"),fe(re)?ge(T,$,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(re):$(re)}function $(re){return re===o?(T.enter("codeFencedFenceSequence"),de(re)):ee(re)}function de(re){return re===o?(G++,T.consume(re),de):G>=s?(T.exit("codeFencedFenceSequence"),fe(re)?ge(T,ue,"whitespace")(re):ue(re)):ee(re)}function ue(re){return re===null||te(re)?(T.exit("codeFencedFence"),X(re)):ee(re)}}}function Go(e,t,r){const n=this;return i;function i(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const Tn={name:"codeIndented",tokenize:$o},jo={tokenize:Vo,partial:!0};function $o(e,t,r){const n=this;return i;function i(h){return e.enter("codeIndented"),ge(e,a,"linePrefix",5)(h)}function a(h){const d=n.events[n.events.length-1];return d&&d[1].type==="linePrefix"&&d[2].sliceSerialize(d[1],!0).length>=4?s(h):r(h)}function s(h){return h===null?l(h):te(h)?e.attempt(jo,s,l)(h):(e.enter("codeFlowValue"),o(h))}function o(h){return h===null||te(h)?(e.exit("codeFlowValue"),s(h)):(e.consume(h),o)}function l(h){return e.exit("codeIndented"),t(h)}}function Vo(e,t,r){const n=this;return i;function i(s){return n.parser.lazy[n.now().line]?r(s):te(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):ge(e,a,"linePrefix",5)(s)}function a(s){const o=n.events[n.events.length-1];return o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):te(s)?i(s):r(s)}}const Wo={name:"codeText",tokenize:Yo,resolve:Xo,previous:Ko};function Xo(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="codeTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function Ko(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Yo(e,t,r){let n=0,i,a;return s;function s(p){return e.enter("codeText"),e.enter("codeTextSequence"),o(p)}function o(p){return p===96?(e.consume(p),n++,o):(e.exit("codeTextSequence"),l(p))}function l(p){return p===null?r(p):p===32?(e.enter("space"),e.consume(p),e.exit("space"),l):p===96?(a=e.enter("codeTextSequence"),i=0,d(p)):te(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),l):(e.enter("codeTextData"),h(p))}function h(p){return p===null||p===32||p===96||te(p)?(e.exit("codeTextData"),l(p)):(e.consume(p),h)}function d(p){return p===96?(e.consume(p),i++,d):i===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(p)):(a.type="codeTextData",h(p))}}function ta(e){const t={};let r=-1,n,i,a,s,o,l,h;for(;++r<e.length;){for(;r in t;)r=t[r];if(n=e[r],r&&n[1].type==="chunkFlow"&&e[r-1][1].type==="listItemPrefix"&&(l=n[1]._tokenizer.events,a=0,a<l.length&&l[a][1].type==="lineEndingBlank"&&(a+=2),a<l.length&&l[a][1].type==="content"))for(;++a<l.length&&l[a][1].type!=="content";)l[a][1].type==="chunkText"&&(l[a][1]._isInFirstContentOfListItem=!0,a++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Zo(e,r)),r=t[r],h=!0);else if(n[1]._container){for(a=r,i=void 0;a--&&(s=e[a],s[1].type==="lineEnding"||s[1].type==="lineEndingBlank");)s[0]==="enter"&&(i&&(e[i][1].type="lineEndingBlank"),s[1].type="lineEnding",i=a);i&&(n[1].end=Object.assign({},e[i][1].start),o=e.slice(i,r),o.unshift(n),ft(e,i,r-i+1,o))}}return!h}function Zo(e,t){const r=e[t][1],n=e[t][2];let i=t-1;const a=[],s=r._tokenizer||n.parser[r.contentType](r.start),o=s.events,l=[],h={};let d,p,g=-1,m=r,z=0,k=0;const N=[k];for(;m;){for(;e[++i][1]!==m;);a.push(i),m._tokenizer||(d=n.sliceStream(m),m.next||d.push(null),p&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(d),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),p=m,m=m.next}for(m=r;++g<o.length;)o[g][0]==="exit"&&o[g-1][0]==="enter"&&o[g][1].type===o[g-1][1].type&&o[g][1].start.line!==o[g][1].end.line&&(k=g+1,N.push(k),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):N.pop(),g=N.length;g--;){const A=o.slice(N[g],N[g+1]),C=a.pop();l.unshift([C,C+A.length-1]),ft(e,C,2,A)}for(g=-1;++g<l.length;)h[z+l[g][0]]=z+l[g][1],z+=l[g][1]-l[g][0]-1;return h}const Jo={tokenize:tl,resolve:el},Qo={tokenize:rl,partial:!0};function el(e){return ta(e),e}function tl(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(o)}function i(o){return o===null?a(o):te(o)?e.check(Qo,s,a)(o):(e.consume(o),i)}function a(o){return e.exit("chunkContent"),e.exit("content"),t(o)}function s(o){return e.consume(o),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function rl(e,t,r){const n=this;return i;function i(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),ge(e,a,"linePrefix")}function a(s){if(s===null||te(s))return r(s);const o=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&o&&o[1].type==="linePrefix"&&o[2].sliceSerialize(o[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function ra(e,t,r,n,i,a,s,o,l){const h=l||Number.POSITIVE_INFINITY;let d=0;return p;function p(A){return A===60?(e.enter(n),e.enter(i),e.enter(a),e.consume(A),e.exit(a),g):A===null||A===32||A===41||zn(A)?r(A):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),k(A))}function g(A){return A===62?(e.enter(a),e.consume(A),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),m(A))}function m(A){return A===62?(e.exit("chunkString"),e.exit(o),g(A)):A===null||A===60||te(A)?r(A):(e.consume(A),A===92?z:m)}function z(A){return A===60||A===62||A===92?(e.consume(A),m):m(A)}function k(A){return!d&&(A===null||A===41||He(A))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(A)):d<h&&A===40?(e.consume(A),d++,k):A===41?(e.consume(A),d--,k):A===null||A===32||A===40||zn(A)?r(A):(e.consume(A),A===92?N:k)}function N(A){return A===40||A===41||A===92?(e.consume(A),k):k(A)}}function na(e,t,r,n,i,a){const s=this;let o=0,l;return h;function h(m){return e.enter(n),e.enter(i),e.consume(m),e.exit(i),e.enter(a),d}function d(m){return o>999||m===null||m===91||m===93&&!l||m===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(m):m===93?(e.exit(a),e.enter(i),e.consume(m),e.exit(i),e.exit(n),t):te(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),d):(e.enter("chunkString",{contentType:"string"}),p(m))}function p(m){return m===null||m===91||m===93||te(m)||o++>999?(e.exit("chunkString"),d(m)):(e.consume(m),l||(l=!fe(m)),m===92?g:p)}function g(m){return m===91||m===92||m===93?(e.consume(m),o++,p):p(m)}}function aa(e,t,r,n,i,a){let s;return o;function o(g){return g===34||g===39||g===40?(e.enter(n),e.enter(i),e.consume(g),e.exit(i),s=g===40?41:g,l):r(g)}function l(g){return g===s?(e.enter(i),e.consume(g),e.exit(i),e.exit(n),t):(e.enter(a),h(g))}function h(g){return g===s?(e.exit(a),l(s)):g===null?r(g):te(g)?(e.enter("lineEnding"),e.consume(g),e.exit("lineEnding"),ge(e,h,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),d(g))}function d(g){return g===s||g===null||te(g)?(e.exit("chunkString"),h(g)):(e.consume(g),g===92?p:d)}function p(g){return g===s||g===92?(e.consume(g),d):d(g)}}function yr(e,t){let r;return n;function n(i){return te(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):fe(i)?ge(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}const nl={name:"definition",tokenize:il},al={tokenize:sl,partial:!0};function il(e,t,r){const n=this;let i;return a;function a(m){return e.enter("definition"),s(m)}function s(m){return na.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function o(m){return i=sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),l):r(m)}function l(m){return He(m)?yr(e,h)(m):h(m)}function h(m){return ra(e,d,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function d(m){return e.attempt(al,p,p)(m)}function p(m){return fe(m)?ge(e,g,"whitespace")(m):g(m)}function g(m){return m===null||te(m)?(e.exit("definition"),n.parser.defined.push(i),t(m)):r(m)}}function sl(e,t,r){return n;function n(o){return He(o)?yr(e,i)(o):r(o)}function i(o){return aa(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function a(o){return fe(o)?ge(e,s,"whitespace")(o):s(o)}function s(o){return o===null||te(o)?t(o):r(o)}}const ol={name:"hardBreakEscape",tokenize:ll};function ll(e,t,r){return n;function n(a){return e.enter("hardBreakEscape"),e.consume(a),i}function i(a){return te(a)?(e.exit("hardBreakEscape"),t(a)):r(a)}}const ul={name:"headingAtx",tokenize:hl,resolve:cl};function cl(e,t){let r=e.length-2,n=3,i,a;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(i={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},a={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},ft(e,n,r-n+1,[["enter",i,t],["enter",a,t],["exit",a,t],["exit",i,t]])),e}function hl(e,t,r){let n=0;return i;function i(d){return e.enter("atxHeading"),a(d)}function a(d){return e.enter("atxHeadingSequence"),s(d)}function s(d){return d===35&&n++<6?(e.consume(d),s):d===null||He(d)?(e.exit("atxHeadingSequence"),o(d)):r(d)}function o(d){return d===35?(e.enter("atxHeadingSequence"),l(d)):d===null||te(d)?(e.exit("atxHeading"),t(d)):fe(d)?ge(e,o,"whitespace")(d):(e.enter("atxHeadingText"),h(d))}function l(d){return d===35?(e.consume(d),l):(e.exit("atxHeadingSequence"),o(d))}function h(d){return d===null||d===35||He(d)?(e.exit("atxHeadingText"),o(d)):(e.consume(d),h)}}const dl=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],ia=["pre","script","style","textarea"],ml={name:"htmlFlow",tokenize:bl,resolveTo:gl,concrete:!0},pl={tokenize:yl,partial:!0},fl={tokenize:vl,partial:!0};function gl(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function bl(e,t,r){const n=this;let i,a,s,o,l;return h;function h(x){return d(x)}function d(x){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(x),p}function p(x){return x===33?(e.consume(x),g):x===47?(e.consume(x),a=!0,k):x===63?(e.consume(x),i=3,n.interrupt?t:v):gt(x)?(e.consume(x),s=String.fromCharCode(x),N):r(x)}function g(x){return x===45?(e.consume(x),i=2,m):x===91?(e.consume(x),i=5,o=0,z):gt(x)?(e.consume(x),i=4,n.interrupt?t:v):r(x)}function m(x){return x===45?(e.consume(x),n.interrupt?t:v):r(x)}function z(x){const Oe="CDATA[";return x===Oe.charCodeAt(o++)?(e.consume(x),o===Oe.length?n.interrupt?t:$:z):r(x)}function k(x){return gt(x)?(e.consume(x),s=String.fromCharCode(x),N):r(x)}function N(x){if(x===null||x===47||x===62||He(x)){const Oe=x===47,we=s.toLowerCase();return!Oe&&!a&&ia.includes(we)?(i=1,n.interrupt?t(x):$(x)):dl.includes(s.toLowerCase())?(i=6,Oe?(e.consume(x),A):n.interrupt?t(x):$(x)):(i=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(x):a?C(x):R(x))}return x===45||ct(x)?(e.consume(x),s+=String.fromCharCode(x),N):r(x)}function A(x){return x===62?(e.consume(x),n.interrupt?t:$):r(x)}function C(x){return fe(x)?(e.consume(x),C):M(x)}function R(x){return x===47?(e.consume(x),M):x===58||x===95||gt(x)?(e.consume(x),W):fe(x)?(e.consume(x),R):M(x)}function W(x){return x===45||x===46||x===58||x===95||ct(x)?(e.consume(x),W):H(x)}function H(x){return x===61?(e.consume(x),T):fe(x)?(e.consume(x),H):R(x)}function T(x){return x===null||x===60||x===61||x===62||x===96?r(x):x===34||x===39?(e.consume(x),l=x,X):fe(x)?(e.consume(x),T):ee(x)}function X(x){return x===l?(e.consume(x),l=null,G):x===null||te(x)?r(x):(e.consume(x),X)}function ee(x){return x===null||x===34||x===39||x===47||x===60||x===61||x===62||x===96||He(x)?H(x):(e.consume(x),ee)}function G(x){return x===47||x===62||fe(x)?R(x):r(x)}function M(x){return x===62?(e.consume(x),V):r(x)}function V(x){return x===null||te(x)?$(x):fe(x)?(e.consume(x),V):r(x)}function $(x){return x===45&&i===2?(e.consume(x),ve):x===60&&i===1?(e.consume(x),O):x===62&&i===4?(e.consume(x),se):x===63&&i===3?(e.consume(x),v):x===93&&i===5?(e.consume(x),Q):te(x)&&(i===6||i===7)?(e.exit("htmlFlowData"),e.check(pl,ce,de)(x)):x===null||te(x)?(e.exit("htmlFlowData"),de(x)):(e.consume(x),$)}function de(x){return e.check(fl,ue,ce)(x)}function ue(x){return e.enter("lineEnding"),e.consume(x),e.exit("lineEnding"),re}function re(x){return x===null||te(x)?de(x):(e.enter("htmlFlowData"),$(x))}function ve(x){return x===45?(e.consume(x),v):$(x)}function O(x){return x===47?(e.consume(x),s="",L):$(x)}function L(x){if(x===62){const Oe=s.toLowerCase();return ia.includes(Oe)?(e.consume(x),se):$(x)}return gt(x)&&s.length<8?(e.consume(x),s+=String.fromCharCode(x),L):$(x)}function Q(x){return x===93?(e.consume(x),v):$(x)}function v(x){return x===62?(e.consume(x),se):x===45&&i===2?(e.consume(x),v):$(x)}function se(x){return x===null||te(x)?(e.exit("htmlFlowData"),ce(x)):(e.consume(x),se)}function ce(x){return e.exit("htmlFlow"),t(x)}}function vl(e,t,r){const n=this;return i;function i(s){return te(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):r(s)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function yl(e,t,r){return n;function n(i){return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),e.attempt(Dr,t,r)}}const wl={name:"htmlText",tokenize:xl};function xl(e,t,r){const n=this;let i,a,s;return o;function o(v){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(v),l}function l(v){return v===33?(e.consume(v),h):v===47?(e.consume(v),H):v===63?(e.consume(v),R):gt(v)?(e.consume(v),ee):r(v)}function h(v){return v===45?(e.consume(v),d):v===91?(e.consume(v),a=0,z):gt(v)?(e.consume(v),C):r(v)}function d(v){return v===45?(e.consume(v),m):r(v)}function p(v){return v===null?r(v):v===45?(e.consume(v),g):te(v)?(s=p,O(v)):(e.consume(v),p)}function g(v){return v===45?(e.consume(v),m):p(v)}function m(v){return v===62?ve(v):v===45?g(v):p(v)}function z(v){const se="CDATA[";return v===se.charCodeAt(a++)?(e.consume(v),a===se.length?k:z):r(v)}function k(v){return v===null?r(v):v===93?(e.consume(v),N):te(v)?(s=k,O(v)):(e.consume(v),k)}function N(v){return v===93?(e.consume(v),A):k(v)}function A(v){return v===62?ve(v):v===93?(e.consume(v),A):k(v)}function C(v){return v===null||v===62?ve(v):te(v)?(s=C,O(v)):(e.consume(v),C)}function R(v){return v===null?r(v):v===63?(e.consume(v),W):te(v)?(s=R,O(v)):(e.consume(v),R)}function W(v){return v===62?ve(v):R(v)}function H(v){return gt(v)?(e.consume(v),T):r(v)}function T(v){return v===45||ct(v)?(e.consume(v),T):X(v)}function X(v){return te(v)?(s=X,O(v)):fe(v)?(e.consume(v),X):ve(v)}function ee(v){return v===45||ct(v)?(e.consume(v),ee):v===47||v===62||He(v)?G(v):r(v)}function G(v){return v===47?(e.consume(v),ve):v===58||v===95||gt(v)?(e.consume(v),M):te(v)?(s=G,O(v)):fe(v)?(e.consume(v),G):ve(v)}function M(v){return v===45||v===46||v===58||v===95||ct(v)?(e.consume(v),M):V(v)}function V(v){return v===61?(e.consume(v),$):te(v)?(s=V,O(v)):fe(v)?(e.consume(v),V):G(v)}function $(v){return v===null||v===60||v===61||v===62||v===96?r(v):v===34||v===39?(e.consume(v),i=v,de):te(v)?(s=$,O(v)):fe(v)?(e.consume(v),$):(e.consume(v),ue)}function de(v){return v===i?(e.consume(v),i=void 0,re):v===null?r(v):te(v)?(s=de,O(v)):(e.consume(v),de)}function ue(v){return v===null||v===34||v===39||v===60||v===61||v===96?r(v):v===47||v===62||He(v)?G(v):(e.consume(v),ue)}function re(v){return v===47||v===62||He(v)?G(v):r(v)}function ve(v){return v===62?(e.consume(v),e.exit("htmlTextData"),e.exit("htmlText"),t):r(v)}function O(v){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(v),e.exit("lineEnding"),L}function L(v){return fe(v)?ge(e,Q,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(v):Q(v)}function Q(v){return e.enter("htmlTextData"),s(v)}}const Mn={name:"labelEnd",tokenize:Tl,resolveTo:Al,resolveAll:El},kl={tokenize:Ml},zl={tokenize:Cl},Sl={tokenize:Nl};function El(e){let t=-1;for(;++t<e.length;){const r=e[t][1];(r.type==="labelImage"||r.type==="labelLink"||r.type==="labelEnd")&&(e.splice(t+1,r.type==="labelImage"?4:2),r.type="data",t++)}return e}function Al(e,t){let r=e.length,n=0,i,a,s,o;for(;r--;)if(i=e[r][1],a){if(i.type==="link"||i.type==="labelLink"&&i._inactive)break;e[r][0]==="enter"&&i.type==="labelLink"&&(i._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(i.type==="labelImage"||i.type==="labelLink")&&!i._balanced&&(a=r,i.type!=="labelLink")){n=2;break}}else i.type==="labelEnd"&&(s=r);const l={type:e[a][1].type==="labelLink"?"link":"image",start:Object.assign({},e[a][1].start),end:Object.assign({},e[e.length-1][1].end)},h={type:"label",start:Object.assign({},e[a][1].start),end:Object.assign({},e[s][1].end)},d={type:"labelText",start:Object.assign({},e[a+n+2][1].end),end:Object.assign({},e[s-2][1].start)};return o=[["enter",l,t],["enter",h,t]],o=at(o,e.slice(a+1,a+n+3)),o=at(o,[["enter",d,t]]),o=at(o,En(t.parser.constructs.insideSpan.null,e.slice(a+n+4,s-3),t)),o=at(o,[["exit",d,t],e[s-2],e[s-1],["exit",h,t]]),o=at(o,e.slice(s+1)),o=at(o,[["exit",l,t]]),ft(e,a,e.length,o),e}function Tl(e,t,r){const n=this;let i=n.events.length,a,s;for(;i--;)if((n.events[i][1].type==="labelImage"||n.events[i][1].type==="labelLink")&&!n.events[i][1]._balanced){a=n.events[i][1];break}return o;function o(g){return a?a._inactive?p(g):(s=n.parser.defined.includes(sr(n.sliceSerialize({start:a.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(g),e.exit("labelMarker"),e.exit("labelEnd"),l):r(g)}function l(g){return g===40?e.attempt(kl,d,s?d:p)(g):g===91?e.attempt(zl,d,s?h:p)(g):s?d(g):p(g)}function h(g){return e.attempt(Sl,d,p)(g)}function d(g){return t(g)}function p(g){return a._balanced=!0,r(g)}}function Ml(e,t,r){return n;function n(p){return e.enter("resource"),e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),i}function i(p){return He(p)?yr(e,a)(p):a(p)}function a(p){return p===41?d(p):ra(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(p)}function s(p){return He(p)?yr(e,l)(p):d(p)}function o(p){return r(p)}function l(p){return p===34||p===39||p===40?aa(e,h,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(p):d(p)}function h(p){return He(p)?yr(e,d)(p):d(p)}function d(p){return p===41?(e.enter("resourceMarker"),e.consume(p),e.exit("resourceMarker"),e.exit("resource"),t):r(p)}}function Cl(e,t,r){const n=this;return i;function i(o){return na.call(n,e,a,s,"reference","referenceMarker","referenceString")(o)}function a(o){return n.parser.defined.includes(sr(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function Nl(e,t,r){return n;function n(a){return e.enter("reference"),e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),i}function i(a){return a===93?(e.enter("referenceMarker"),e.consume(a),e.exit("referenceMarker"),e.exit("reference"),t):r(a)}}const _l={name:"labelStartImage",tokenize:Bl,resolveAll:Mn.resolveAll};function Bl(e,t,r){const n=this;return i;function i(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),a}function a(o){return o===91?(e.enter("labelMarker"),e.consume(o),e.exit("labelMarker"),e.exit("labelImage"),s):r(o)}function s(o){return o===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(o):t(o)}}const Rl={name:"labelStartLink",tokenize:Ol,resolveAll:Mn.resolveAll};function Ol(e,t,r){const n=this;return i;function i(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),a}function a(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const Cn={name:"lineEnding",tokenize:Il};function Il(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),ge(e,t,"linePrefix")}}const Lr={name:"thematicBreak",tokenize:Dl};function Dl(e,t,r){let n=0,i;return a;function a(h){return e.enter("thematicBreak"),s(h)}function s(h){return i=h,o(h)}function o(h){return h===i?(e.enter("thematicBreakSequence"),l(h)):n>=3&&(h===null||te(h))?(e.exit("thematicBreak"),t(h)):r(h)}function l(h){return h===i?(e.consume(h),n++,l):(e.exit("thematicBreakSequence"),fe(h)?ge(e,o,"whitespace")(h):o(h))}}const Ke={name:"list",tokenize:Pl,continuation:{tokenize:ql},exit:Ul},Ll={tokenize:Gl,partial:!0},Fl={tokenize:Hl,partial:!0};function Pl(e,t,r){const n=this,i=n.events[n.events.length-1];let a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0,s=0;return o;function o(m){const z=n.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(z==="listUnordered"?!n.containerState.marker||m===n.containerState.marker:Sn(m)){if(n.containerState.type||(n.containerState.type=z,e.enter(z,{_container:!0})),z==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Lr,r,h)(m):h(m);if(!n.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(m)}return r(m)}function l(m){return Sn(m)&&++s<10?(e.consume(m),l):(!n.interrupt||s<2)&&(n.containerState.marker?m===n.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),h(m)):r(m)}function h(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||m,e.check(Dr,n.interrupt?r:d,e.attempt(Ll,g,p))}function d(m){return n.containerState.initialBlankLine=!0,a++,g(m)}function p(m){return fe(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),g):r(m)}function g(m){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function ql(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(Dr,i,a);function i(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,ge(e,t,"listItemIndent",n.containerState.size+1)(o)}function a(o){return n.containerState.furtherBlankLines||!fe(o)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(o)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(Fl,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,ge(e,e.attempt(Ke,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function Hl(e,t,r){const n=this;return ge(e,i,"listItemIndent",n.containerState.size+1);function i(a){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(a):r(a)}}function Ul(e){e.exit(this.containerState.type)}function Gl(e,t,r){const n=this;return ge(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(a){const s=n.events[n.events.length-1];return!fe(a)&&s&&s[1].type==="listItemPrefixWhitespace"?t(a):r(a)}}const sa={name:"setextUnderline",tokenize:$l,resolveTo:jl};function jl(e,t){let r=e.length,n,i,a;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(i=r)}else e[r][1].type==="content"&&e.splice(r,1),!a&&e[r][1].type==="definition"&&(a=r);const s={type:"setextHeading",start:Object.assign({},e[i][1].start),end:Object.assign({},e[e.length-1][1].end)};return e[i][1].type="setextHeadingText",a?(e.splice(i,0,["enter",s,t]),e.splice(a+1,0,["exit",e[n][1],t]),e[n][1].end=Object.assign({},e[a][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function $l(e,t,r){const n=this;let i;return a;function a(h){let d=n.events.length,p;for(;d--;)if(n.events[d][1].type!=="lineEnding"&&n.events[d][1].type!=="linePrefix"&&n.events[d][1].type!=="content"){p=n.events[d][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||p)?(e.enter("setextHeadingLine"),i=h,s(h)):r(h)}function s(h){return e.enter("setextHeadingLineSequence"),o(h)}function o(h){return h===i?(e.consume(h),o):(e.exit("setextHeadingLineSequence"),fe(h)?ge(e,l,"lineSuffix")(h):l(h))}function l(h){return h===null||te(h)?(e.exit("setextHeadingLine"),t(h)):r(h)}}const Vl={tokenize:Wl};function Wl(e){const t=this,r=e.attempt(Dr,n,e.attempt(this.parser.constructs.flowInitial,i,ge(e,e.attempt(this.parser.constructs.flow,i,e.attempt(Jo,i)),"linePrefix")));return r;function n(a){if(a===null){e.consume(a);return}return e.enter("lineEndingBlank"),e.consume(a),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function i(a){if(a===null){e.consume(a);return}return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const Xl={resolveAll:la()},Kl=oa("string"),Yl=oa("text");function oa(e){return{tokenize:t,resolveAll:la(e==="text"?Zl:void 0)};function t(r){const n=this,i=this.parser.constructs[e],a=r.attempt(i,s,o);return s;function s(d){return h(d)?a(d):o(d)}function o(d){if(d===null){r.consume(d);return}return r.enter("data"),r.consume(d),l}function l(d){return h(d)?(r.exit("data"),a(d)):(r.consume(d),l)}function h(d){if(d===null)return!0;const p=i[d];let g=-1;if(p)for(;++g<p.length;){const m=p[g];if(!m.previous||m.previous.call(n,n.previous))return!0}return!1}}}function la(e){return t;function t(r,n){let i=-1,a;for(;++i<=r.length;)a===void 0?r[i]&&r[i][1].type==="data"&&(a=i,i++):(!r[i]||r[i][1].type!=="data")&&(i!==a+2&&(r[a][1].end=r[i-1][1].end,r.splice(a+2,i-a-2),i=a+2),a=void 0);return e?e(r,n):r}}function Zl(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],i=t.sliceStream(n);let a=i.length,s=-1,o=0,l;for(;a--;){const h=i[a];if(typeof h=="string"){for(s=h.length;h.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(h===-2)l=!0,o++;else if(h!==-1){a++;break}}if(o){const h={type:r===e.length||l||o<2?"lineSuffix":"hardBreakTrailing",start:{line:n.end.line,column:n.end.column-o,offset:n.end.offset-o,_index:n.start._index+a,_bufferIndex:a?s:n.start._bufferIndex+s},end:Object.assign({},n.end)};n.end=Object.assign({},h.start),n.start.offset===n.end.offset?Object.assign(n,h):(e.splice(r,0,["enter",h,t],["exit",h,t]),r+=2)}r++}return e}function Jl(e,t,r){let n=Object.assign(r?Object.assign({},r):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const i={},a=[];let s=[],o=[];const l={consume:C,enter:R,exit:W,attempt:X(H),check:X(T),interrupt:X(T,{interrupt:!0})},h={previous:null,code:null,containerState:{},events:[],parser:e,sliceStream:m,sliceSerialize:g,now:z,defineSkip:k,write:p};let d=t.tokenize.call(h,l);return t.resolveAll&&a.push(t),h;function p(V){return s=at(s,V),N(),s[s.length-1]!==null?[]:(ee(t,0),h.events=En(a,h.events,h),h.events)}function g(V,$){return eu(m(V),$)}function m(V){return Ql(s,V)}function z(){const{line:V,column:$,offset:de,_index:ue,_bufferIndex:re}=n;return{line:V,column:$,offset:de,_index:ue,_bufferIndex:re}}function k(V){i[V.line]=V.column,M()}function N(){let V;for(;n._index<s.length;){const $=s[n._index];if(typeof $=="string")for(V=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===V&&n._bufferIndex<$.length;)A($.charCodeAt(n._bufferIndex));else A($)}}function A(V){d=d(V)}function C(V){te(V)?(n.line++,n.column=1,n.offset+=V===-3?2:1,M()):V!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),h.previous=V}function R(V,$){const de=$||{};return de.type=V,de.start=z(),h.events.push(["enter",de,h]),o.push(de),de}function W(V){const $=o.pop();return $.end=z(),h.events.push(["exit",$,h]),$}function H(V,$){ee(V,$.from)}function T(V,$){$.restore()}function X(V,$){return de;function de(ue,re,ve){let O,L,Q,v;return Array.isArray(ue)?ce(ue):"tokenize"in ue?ce([ue]):se(ue);function se(ye){return Xe;function Xe(Fe){const Je=Fe!==null&&ye[Fe],Qe=Fe!==null&&ye.null,tr=[...Array.isArray(Je)?Je:Je?[Je]:[],...Array.isArray(Qe)?Qe:Qe?[Qe]:[]];return ce(tr)(Fe)}}function ce(ye){return O=ye,L=0,ye.length===0?ve:x(ye[L])}function x(ye){return Xe;function Xe(Fe){return v=G(),Q=ye,ye.partial||(h.currentConstruct=ye),ye.name&&h.parser.constructs.disable.null.includes(ye.name)?we():ye.tokenize.call($?Object.assign(Object.create(h),$):h,l,Oe,we)(Fe)}}function Oe(ye){return V(Q,v),re}function we(ye){return v.restore(),++L<O.length?x(O[L]):ve}}}function ee(V,$){V.resolveAll&&!a.includes(V)&&a.push(V),V.resolve&&ft(h.events,$,h.events.length-$,V.resolve(h.events.slice($),h)),V.resolveTo&&(h.events=V.resolveTo(h.events,h))}function G(){const V=z(),$=h.previous,de=h.currentConstruct,ue=h.events.length,re=Array.from(o);return{restore:ve,from:ue};function ve(){n=V,h.previous=$,h.currentConstruct=de,h.events.length=ue,o=re,M()}}function M(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function Ql(e,t){const r=t.start._index,n=t.start._bufferIndex,i=t.end._index,a=t.end._bufferIndex;let s;if(r===i)s=[e[r].slice(n,a)];else{if(s=e.slice(r,i),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}a>0&&s.push(e[i].slice(0,a))}return s}function eu(e,t){let r=-1;const n=[];let i;for(;++r<e.length;){const a=e[r];let s;if(typeof a=="string")s=a;else switch(a){case-5:{s="\r";break}case-4:{s=`
2
2
  `;break}case-3:{s=`\r
3
- `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,n.push(s)}return n.join("")}const tu=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:nl},disable:{null:[]},document:{42:Ke,43:Ke,45:Ke,48:Ke,49:Ke,50:Ke,51:Ke,52:Ke,53:Ke,54:Ke,55:Ke,56:Ke,57:Ke,62:Y0},flow:{35:ul,42:Lr,45:[sa,Lr],60:ml,61:sa,95:Lr,96:ea,126:ea},flowInitial:{[-2]:Tn,[-1]:Tn,32:Tn},insideSpan:{null:[An,Xl]},string:{38:J0,92:Z0},text:{[-5]:Cn,[-4]:Cn,[-3]:Cn,33:_l,38:J0,42:An,60:[Oo,wl],91:Rl,92:[ol,Z0],93:Mn,95:An,96:Wo}},Symbol.toStringTag,{value:"Module"}));function ru(e){const r=yo([tu,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:r,content:i(To),document:i(Co),flow:i(Vl),string:i(Kl),text:i(Yl)};return n;function i(a){return s;function s(o){return Jl(n,a,o)}}}function nu(e){for(;!ta(e););return e}const ua=/[\0\t\n\r]/g;function au(){let e=1,t="",r=!0,n;return i;function i(a,s,o){const l=[];let h,d,p,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),p=0,t="",r&&(a.charCodeAt(0)===65279&&p++,r=void 0);p<a.length;){if(ua.lastIndex=p,h=ua.exec(a),g=h&&h.index!==void 0?h.index:a.length,m=a.charCodeAt(g),!h){t=a.slice(p);break}if(m===10&&p===g&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),p<g&&(l.push(a.slice(p,g)),e+=g-p),m){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}p=g+1}return o&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const iu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function su(e){return e.replace(iu,ou)}function ou(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return V0(r.slice(a?2:1),a?16:10)}return kn(r)||e}function Fr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ca(e.position):"start"in e||"end"in e?ca(e):"line"in e||"column"in e?Nn(e):""}function Nn(e){return ha(e&&e.line)+":"+ha(e&&e.column)}function ca(e){return Nn(e&&e.start)+"-"+Nn(e&&e.end)}function ha(e){return e&&typeof e=="number"?e:1}const da={}.hasOwnProperty;function lu(e,t,r){return typeof t!="string"&&(r=t,t=void 0),uu(r)(nu(ru(r).document().write(au()(e,t,!0))))}function uu(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(pt),autolinkProtocol:G,autolinkEmail:G,atxHeading:a(mt),blockQuote:a(Je),characterEscape:G,characterReference:G,codeFenced:a(Qe),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Qe,s),codeText:a(tr,s),codeTextData:G,data:G,codeFlowValue:G,definition:a(Or),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Ir),hardBreakEscape:a(Kt),hardBreakTrailing:a(Kt),htmlFlow:a(Ge,s),htmlFlowData:G,htmlText:a(Ge,s),htmlTextData:G,image:a(rr),label:s,link:a(pt),listItem:a(yn),listItemValue:g,listOrdered:a(ie,p),listUnordered:a(ie),paragraph:a(De),reference:x,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(mt),strong:a(ke),thematicBreak:a(It)},exit:{atxHeading:l(),atxHeadingSequence:H,autolink:l(),autolinkEmail:Fe,autolinkProtocol:Xe,blockQuote:l(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:we,characterReferenceMarkerNumeric:we,characterReferenceValue:ye,codeFenced:l(N),codeFencedFence:k,codeFencedFenceInfo:m,codeFencedFenceMeta:z,codeFlowValue:M,codeIndented:l(A),codeText:l(re),codeTextData:M,data:M,definition:l(),definitionDestinationString:W,definitionLabelString:C,definitionTitleString:R,emphasis:l(),hardBreakEscape:l($),hardBreakTrailing:l($),htmlFlow:l(de),htmlFlowData:M,htmlText:l(ue),htmlTextData:M,image:l(O),label:Q,labelText:L,lineEnding:V,link:l(ve),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Oe,resourceDestinationString:v,resourceTitleString:se,resource:ce,setextHeading:l(ee),setextHeadingLineSequence:X,setextHeadingText:T,strong:l(),thematicBreak:l()}};ma(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(_){let j={type:"root",children:[]};const B={stack:[j],tokenStack:[],config:t,enter:o,exit:h,buffer:s,resume:d,data:r},F=[];let J=-1;for(;++J<_.length;)if(_[J][1].type==="listOrdered"||_[J][1].type==="listUnordered")if(_[J][0]==="enter")F.push(J);else{const me=F.pop();J=i(_,me,J)}for(J=-1;++J<_.length;){const me=t[_[J][0]];da.call(me,_[J][1].type)&&me[_[J][1].type].call(Object.assign({sliceSerialize:_[J][2].sliceSerialize},B),_[J][1])}if(B.tokenStack.length>0){const me=B.tokenStack[B.tokenStack.length-1];(me[1]||pa).call(B,void 0,me[0])}for(j.position={start:Ft(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:Ft(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<t.transforms.length;)j=t.transforms[J](j)||j;return j}function i(_,j,B){let F=j-1,J=-1,me=!1,Ae,Le,nr,ar;for(;++F<=B;){const rt=_[F];switch(rt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{rt[0]==="enter"?J++:J--,ar=void 0;break}case"lineEndingBlank":{rt[0]==="enter"&&(Ae&&!ar&&!J&&!nr&&(nr=F),ar=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ar=void 0}if(!J&&rt[0]==="enter"&&rt[1].type==="listItemPrefix"||J===-1&&rt[0]==="exit"&&(rt[1].type==="listUnordered"||rt[1].type==="listOrdered")){if(Ae){let vr=F;for(Le=void 0;vr--;){const Dt=_[vr];if(Dt[1].type==="lineEnding"||Dt[1].type==="lineEndingBlank"){if(Dt[0]==="exit")continue;Le&&(_[Le][1].type="lineEndingBlank",me=!0),Dt[1].type="lineEnding",Le=vr}else if(!(Dt[1].type==="linePrefix"||Dt[1].type==="blockQuotePrefix"||Dt[1].type==="blockQuotePrefixWhitespace"||Dt[1].type==="blockQuoteMarker"||Dt[1].type==="listItemIndent"))break}nr&&(!Le||nr<Le)&&(Ae._spread=!0),Ae.end=Object.assign({},Le?_[Le][1].start:rt[1].end),_.splice(Le||F,0,["exit",Ae,rt[2]]),F++,B++}if(rt[1].type==="listItemPrefix"){const vr={type:"listItem",_spread:!1,start:Object.assign({},rt[1].start),end:void 0};Ae=vr,_.splice(F,0,["enter",vr,rt[2]]),F++,B++,nr=void 0,ar=!0}}}return _[j][1]._spread=me,B}function a(_,j){return B;function B(F){o.call(this,_(F),F),j&&j.call(this,F)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(_,j,B){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([j,B]),_.position={start:Ft(j.start),end:void 0}}function l(_){return j;function j(B){_&&_.call(this,B),h.call(this,B)}}function h(_,j){const B=this.stack.pop(),F=this.tokenStack.pop();if(F)F[0].type!==_.type&&(j?j.call(this,_,F[0]):(F[1]||pa).call(this,_,F[0]));else throw new Error("Cannot close `"+_.type+"` ("+Fr({start:_.start,end:_.end})+"): it’s not open");B.position.end=Ft(_.end)}function d(){return bo(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function g(_){if(this.data.expectingFirstListItemValue){const j=this.stack[this.stack.length-2];j.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function m(){const _=this.resume(),j=this.stack[this.stack.length-1];j.lang=_}function z(){const _=this.resume(),j=this.stack[this.stack.length-1];j.meta=_}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_.replace(/(\r?\n|\r)$/g,"")}function C(_){const j=this.resume(),B=this.stack[this.stack.length-1];B.label=j,B.identifier=sr(this.sliceSerialize(_)).toLowerCase()}function R(){const _=this.resume(),j=this.stack[this.stack.length-1];j.title=_}function W(){const _=this.resume(),j=this.stack[this.stack.length-1];j.url=_}function H(_){const j=this.stack[this.stack.length-1];if(!j.depth){const B=this.sliceSerialize(_).length;j.depth=B}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function X(_){const j=this.stack[this.stack.length-1];j.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function G(_){const B=this.stack[this.stack.length-1].children;let F=B[B.length-1];(!F||F.type!=="text")&&(F=br(),F.position={start:Ft(_.start),end:void 0},B.push(F)),this.stack.push(F)}function M(_){const j=this.stack.pop();j.value+=this.sliceSerialize(_),j.position.end=Ft(_.end)}function V(_){const j=this.stack[this.stack.length-1];if(this.data.atHardBreak){const B=j.children[j.children.length-1];B.position.end=Ft(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(j.type)&&(G.call(this,_),M.call(this,_))}function $(){this.data.atHardBreak=!0}function de(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function ue(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function re(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function ve(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const j=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=j,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function O(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const j=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=j,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function L(_){const j=this.sliceSerialize(_),B=this.stack[this.stack.length-2];B.label=su(j),B.identifier=sr(j).toLowerCase()}function Q(){const _=this.stack[this.stack.length-1],j=this.resume(),B=this.stack[this.stack.length-1];if(this.data.inReference=!0,B.type==="link"){const F=_.children;B.children=F}else B.alt=j}function v(){const _=this.resume(),j=this.stack[this.stack.length-1];j.url=_}function se(){const _=this.resume(),j=this.stack[this.stack.length-1];j.title=_}function ce(){this.data.inReference=void 0}function x(){this.data.referenceType="collapsed"}function Oe(_){const j=this.resume(),B=this.stack[this.stack.length-1];B.label=j,B.identifier=sr(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function we(_){this.data.characterReferenceType=_.type}function ye(_){const j=this.sliceSerialize(_),B=this.data.characterReferenceType;let F;B?(F=V0(j,B==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):F=kn(j);const J=this.stack.pop();J.value+=F,J.position.end=Ft(_.end)}function Xe(_){M.call(this,_);const j=this.stack[this.stack.length-1];j.url=this.sliceSerialize(_)}function Fe(_){M.call(this,_);const j=this.stack[this.stack.length-1];j.url="mailto:"+this.sliceSerialize(_)}function Je(){return{type:"blockquote",children:[]}}function Qe(){return{type:"code",lang:null,meta:null,value:""}}function tr(){return{type:"inlineCode",value:""}}function Or(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ir(){return{type:"emphasis",children:[]}}function mt(){return{type:"heading",depth:0,children:[]}}function Kt(){return{type:"break"}}function Ge(){return{type:"html",value:""}}function rr(){return{type:"image",title:null,url:"",alt:null}}function pt(){return{type:"link",title:null,url:"",children:[]}}function ie(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function yn(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function De(){return{type:"paragraph",children:[]}}function ke(){return{type:"strong",children:[]}}function br(){return{type:"text",value:""}}function It(){return{type:"thematicBreak"}}}function Ft(e){return{line:e.line,column:e.column,offset:e.offset}}function ma(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ma(e,n):cu(e,n)}}function cu(e,t){let r;for(r in t)if(da.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function pa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Fr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Fr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Fr({start:t.start,end:t.end})+") is still open")}class hu{constructor(){this.map=[]}add(t,r,n){du(this,t,r,n)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push([...t]),t.length=0;let i=n.pop();for(;i;)t.push(...i),i=n.pop();this.map.length=0}}function du(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function mu(e,t){let r=!1;const n=[];for(;t<e.length;){const i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function pu(){return{flow:{null:{tokenize:fu,resolveAll:gu}}}}function fu(e,t,r){const n=this;let i=0,a=0,s;return o;function o(M){let V=n.events.length-1;for(;V>-1;){const ue=n.events[V][1].type;if(ue==="lineEnding"||ue==="linePrefix")V--;else break}const $=V>-1?n.events[V][1].type:null,de=$==="tableHead"||$==="tableRow"?T:l;return de===T&&n.parser.lazy[n.now().line]?r(M):de(M)}function l(M){return e.enter("tableHead"),e.enter("tableRow"),h(M)}function h(M){return M===124||(s=!0,a+=1),d(M)}function d(M){return M===null?r(M):te(M)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),m):r(M):fe(M)?ge(e,d,"whitespace")(M):(a+=1,s&&(s=!1,i+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),s=!0,d):(e.enter("data"),p(M)))}function p(M){return M===null||M===124||He(M)?(e.exit("data"),d(M)):(e.consume(M),M===92?g:p)}function g(M){return M===92||M===124?(e.consume(M),p):p(M)}function m(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(M):(e.enter("tableDelimiterRow"),s=!1,fe(M)?ge(e,z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):z(M))}function z(M){return M===45||M===58?N(M):M===124?(s=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),k):H(M)}function k(M){return fe(M)?ge(e,N,"whitespace")(M):N(M)}function N(M){return M===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),A):M===45?(a+=1,A(M)):M===null||te(M)?W(M):H(M)}function A(M){return M===45?(e.enter("tableDelimiterFiller"),C(M)):H(M)}function C(M){return M===45?(e.consume(M),C):M===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),R):(e.exit("tableDelimiterFiller"),R(M))}function R(M){return fe(M)?ge(e,W,"whitespace")(M):W(M)}function W(M){return M===124?z(M):M===null||te(M)?!s||i!==a?H(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):H(M)}function H(M){return r(M)}function T(M){return e.enter("tableRow"),X(M)}function X(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),X):M===null||te(M)?(e.exit("tableRow"),t(M)):fe(M)?ge(e,X,"whitespace")(M):(e.enter("data"),ee(M))}function ee(M){return M===null||M===124||He(M)?(e.exit("data"),X(M)):(e.consume(M),M===92?G:ee)}function G(M){return M===92||M===124?(e.consume(M),ee):ee(M)}}function gu(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],o=!1,l=0,h,d,p;const g=new hu;for(;++r<e.length;){const m=e[r],z=m[1];m[0]==="enter"?z.type==="tableHead"?(o=!1,l!==0&&(fa(g,t,l,h,d),d=void 0,l=0),h={type:"table",start:Object.assign({},z.start),end:Object.assign({},z.end)},g.add(r,0,[["enter",h,t]])):z.type==="tableRow"||z.type==="tableDelimiterRow"?(n=!0,p=void 0,a=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,d={type:"tableBody",start:Object.assign({},z.start),end:Object.assign({},z.end)},g.add(r,0,[["enter",d,t]])),i=z.type==="tableDelimiterRow"?2:d?3:1):i&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],p=Pr(g,t,a,i,void 0,p),a=[0,0,0,0]),s[2]=r)):z.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(s[0]=s[1],p=Pr(g,t,a,i,void 0,p)),a=s,s=[a[1],r,0,0])):z.type==="tableHead"?(o=!0,l=r):z.type==="tableRow"||z.type==="tableDelimiterRow"?(l=r,a[1]!==0?(s[0]=s[1],p=Pr(g,t,a,i,r,p)):s[1]!==0&&(p=Pr(g,t,s,i,r,p)),i=0):i&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")&&(s[3]=r)}for(l!==0&&fa(g,t,l,h,d),g.consume(t.events),r=-1;++r<t.events.length;){const m=t.events[r];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=mu(t.events,r))}return e}function Pr(e,t,r,n,i,a){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},or(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));const l=or(t.events,r[1]);if(a={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){const h=or(t.events,r[2]),d=or(t.events,r[3]),p={type:o,start:Object.assign({},h),end:Object.assign({},d)};if(e.add(r[2],0,[["enter",p,t]]),n!==2){const g=t.events[r[2]],m=t.events[r[3]];if(g[1].end=Object.assign({},m[1].end),g[1].type="chunkText",g[1].contentType="text",r[3]>r[2]+1){const z=r[2]+1,k=r[3]-r[2]-1;e.add(z,k,[])}}e.add(r[3]+1,0,[["exit",p,t]])}return i!==void 0&&(a.end=Object.assign({},or(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function fa(e,t,r,n,i){const a=[],s=or(t.events,r);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),n.end=Object.assign({},s),a.push(["exit",n,t]),e.add(r+1,0,a)}function or(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}function o4(){}function bu(){return{enter:{table:vu,tableData:ga,tableHeader:ga,tableRow:wu},exit:{codeText:xu,table:yu,tableData:_n,tableHeader:_n,tableRow:_n}}}function vu(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function yu(e){this.exit(e),this.data.inTable=void 0}function wu(e){this.enter({type:"tableRow",children:[]},e)}function _n(e){this.exit(e)}function ga(e){this.enter({type:"tableCell",children:[]},e)}function xu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ku));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function ku(e,t){return t==="|"?t:e}class qr extends Error{constructor(t="Operation was cancelled."){super(t)}}class wr{constructor(){Y(this,"isCancellationRequested",!1);Y(this,"listeners",new Set)}addListener(t){this.isCancellationRequested?t():this.listeners.add(t)}cancel(){if(!this.isCancellationRequested){this.isCancellationRequested=!0;for(const t of this.listeners)t();this.listeners.clear()}}removeListener(t){this.listeners.delete(t)}throwIfCancellationRequested(){if(this.isCancellationRequested)throw new qr}}class ba{constructor(t,r){Y(this,"node");Y(this,"codeNode");Y(this,"_language");Y(this,"_code");Y(this,"_ct");this.node=q("pre",null,this.codeNode=q("code",null)),this.updateCodeAsync(t,r,this._ct=new wr)}async updateCodeAsync(t,r,n){const i=Su(t);if(i){if(await i.promise,n.isCancellationRequested)return;this._language=t,this._code=r,this.codeNode.innerHTML=St.result.default.highlight(r,{language:t}).value}else this._language=t,this._code=r,this.codeNode.textContent=r}updateCode(t,r){this._ct.cancel(),!(this._language===t&&this._code===r)&&this.updateCodeAsync(t,r,this._ct=new wr)}}let St;function zu(){return St||(St={promise:Promise.resolve().then(()=>Md)},St.promise.then(e=>St.result=e).catch(e=>St.error=e),St)}const va={};function Su(e){let t=va[e];if(t)return t;zu();let r;switch(e){case"javascript":r=Promise.resolve().then(()=>Od);break;case"csharp":r=Promise.resolve().then(()=>Dd);break;case"python":r=Promise.resolve().then(()=>Fd);break;case"css":r=Promise.resolve().then(()=>Vd);break;case"typescript":r=Promise.resolve().then(()=>Kd);break;default:return null}return t={promise:(async()=>{const n=await r;return(await St.promise).default.registerLanguage(e,n.default),n.default})()},va[e]=t,t.promise.then(n=>t.result=n).catch(n=>t.error=n),t}function Eu(e,t){const r=e.FS.readFile(t,{encoding:"binary"}),n=new Blob([r],{type:"image/png"});return URL.createObjectURL(n)}const Au={tokenize:Tu,concrete:!0},ya={tokenize:Mu,partial:!0};function Tu(e,t,r){const n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let s=0;return o;function o(C){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(C)}function l(C){return C===36?(e.consume(C),s++,l):s<2?r(C):(e.exit("mathFlowFenceSequence"),ge(e,h,"whitespace")(C))}function h(C){return C===null||te(C)?p(C):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(C))}function d(C){return C===null||te(C)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),p(C)):C===36?r(C):(e.consume(C),d)}function p(C){return e.exit("mathFlowFence"),n.interrupt?t(C):e.attempt(ya,g,N)(C)}function g(C){return e.attempt({tokenize:A,partial:!0},N,m)(C)}function m(C){return(a?ge(e,z,"linePrefix",a+1):z)(C)}function z(C){return C===null?N(C):te(C)?e.attempt(ya,g,N)(C):(e.enter("mathFlowValue"),k(C))}function k(C){return C===null||te(C)?(e.exit("mathFlowValue"),z(C)):(e.consume(C),k)}function N(C){return e.exit("mathFlow"),t(C)}function A(C,R,W){let H=0;return ge(C,T,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function T(G){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),X(G)}function X(G){return G===36?(H++,C.consume(G),X):H<s?W(G):(C.exit("mathFlowFenceSequence"),ge(C,ee,"whitespace")(G))}function ee(G){return G===null||te(G)?(C.exit("mathFlowFence"),R(G)):W(G)}}}function Mu(e,t,r){const n=this;return i;function i(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function Cu(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Nu,previous:_u};function n(i,a,s){let o=0,l,h;return d;function d(k){return i.enter("mathText"),i.enter("mathTextSequence"),p(k)}function p(k){return k===36?(i.consume(k),o++,p):o<2&&!r?s(k):(i.exit("mathTextSequence"),g(k))}function g(k){return k===null?s(k):k===36?(h=i.enter("mathTextSequence"),l=0,z(k)):k===32?(i.enter("space"),i.consume(k),i.exit("space"),g):te(k)?(i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),g):(i.enter("mathTextData"),m(k))}function m(k){return k===null||k===32||k===36||te(k)?(i.exit("mathTextData"),g(k)):(i.consume(k),m)}function z(k){return k===36?(i.consume(k),l++,z):l===o?(i.exit("mathTextSequence"),i.exit("mathText"),a(k)):(h.type="mathTextData",m(k))}}}function Nu(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function _u(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Bu(e){return{flow:{36:Au},text:{36:Cu(e)}}}class et{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new et(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class bt{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new bt(r,et.range(this,t))}}class P{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;i=s.start,a=s.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var l=o.slice(i,a).replace(/[^]/g,"$&̲"),h;i>15?h="…"+o.slice(i-15,i):h=o.slice(0,i);var d;a+15<o.length?d=o.slice(a,a+15)+"…":d=o.slice(a),n+=h+l+d}var p=new Error(n);return p.name="ParseError",p.__proto__=P.prototype,p.position=i,i!=null&&a!=null&&(p.length=a-i),p.rawMessage=t,p}}P.prototype.__proto__=Error.prototype;var Ru=function(t,r){return t.indexOf(r)!==-1},Ou=function(t,r){return t===void 0?r:t},Iu=/([A-Z])/g,Du=function(t){return t.replace(Iu,"-$1").toLowerCase()},Lu={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Fu=/[&><"']/g;function Pu(e){return String(e).replace(Fu,t=>Lu[t])}var wa=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},qu=function(t){var r=wa(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Hu=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Uu=function(t){var r=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(t);return r!=null?r[1]:"_relative"},oe={contains:Ru,deflt:Ou,escape:Pu,hyphenate:Du,getBaseElem:wa,isCharacterBox:qu,protocolFromUrl:Uu},Hr={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Gu(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Bn{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in Hr)if(Hr.hasOwnProperty(r)){var n=Hr[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Gu(n)}}reportNonstrict(t,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(t,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new P("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var i=this.strict;if(typeof i=="function")try{i=i(t,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]")),!1)}isTrusted(t){t.url&&!t.protocol&&(t.protocol=oe.protocolFromUrl(t.url));var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class Pt{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return vt[ju[this.id]]}sub(){return vt[$u[this.id]]}fracNum(){return vt[Vu[this.id]]}fracDen(){return vt[Wu[this.id]]}cramp(){return vt[Xu[this.id]]}text(){return vt[Ku[this.id]]}isTight(){return this.size>=2}}var Rn=0,Ur=1,lr=2,Et=3,xr=4,it=5,ur=6,je=7,vt=[new Pt(Rn,0,!1),new Pt(Ur,0,!0),new Pt(lr,1,!1),new Pt(Et,1,!0),new Pt(xr,2,!1),new Pt(it,2,!0),new Pt(ur,3,!1),new Pt(je,3,!0)],ju=[xr,it,xr,it,ur,je,ur,je],$u=[it,it,it,it,je,je,je,je],Vu=[lr,Et,xr,it,ur,je,ur,je],Wu=[Et,Et,it,it,je,je,je,je],Xu=[Ur,Ur,Et,Et,it,it,je,je],Ku=[Rn,Ur,lr,Et,lr,Et,lr,Et],ne={DISPLAY:vt[Rn],TEXT:vt[lr],SCRIPT:vt[xr],SCRIPTSCRIPT:vt[ur]},On=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Yu(e){for(var t=0;t<On.length;t++)for(var r=On[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}return null}var Gr=[];On.forEach(e=>e.blocks.forEach(t=>Gr.push(...t)));function xa(e){for(var t=0;t<Gr.length;t+=2)if(e>=Gr[t]&&e<=Gr[t+1])return!0;return!1}var cr=80,Zu=function(t,r){return"M95,"+(622+t+r)+`
3
+ `;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&i)continue;s=" ";break}default:s=String.fromCharCode(a)}i=a===-2,n.push(s)}return n.join("")}const tu=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:nl},disable:{null:[]},document:{42:Ke,43:Ke,45:Ke,48:Ke,49:Ke,50:Ke,51:Ke,52:Ke,53:Ke,54:Ke,55:Ke,56:Ke,57:Ke,62:Y0},flow:{35:ul,42:Lr,45:[sa,Lr],60:ml,61:sa,95:Lr,96:ea,126:ea},flowInitial:{[-2]:Tn,[-1]:Tn,32:Tn},insideSpan:{null:[An,Xl]},string:{38:J0,92:Z0},text:{[-5]:Cn,[-4]:Cn,[-3]:Cn,33:_l,38:J0,42:An,60:[Oo,wl],91:Rl,92:[ol,Z0],93:Mn,95:An,96:Wo}},Symbol.toStringTag,{value:"Module"}));function ru(e){const r=yo([tu,...(e||{}).extensions||[]]),n={defined:[],lazy:{},constructs:r,content:i(To),document:i(Co),flow:i(Vl),string:i(Kl),text:i(Yl)};return n;function i(a){return s;function s(o){return Jl(n,a,o)}}}function nu(e){for(;!ta(e););return e}const ua=/[\0\t\n\r]/g;function au(){let e=1,t="",r=!0,n;return i;function i(a,s,o){const l=[];let h,d,p,g,m;for(a=t+(typeof a=="string"?a.toString():new TextDecoder(s||void 0).decode(a)),p=0,t="",r&&(a.charCodeAt(0)===65279&&p++,r=void 0);p<a.length;){if(ua.lastIndex=p,h=ua.exec(a),g=h&&h.index!==void 0?h.index:a.length,m=a.charCodeAt(g),!h){t=a.slice(p);break}if(m===10&&p===g&&n)l.push(-3),n=void 0;else switch(n&&(l.push(-5),n=void 0),p<g&&(l.push(a.slice(p,g)),e+=g-p),m){case 0:{l.push(65533),e++;break}case 9:{for(d=Math.ceil(e/4)*4,l.push(-2);e++<d;)l.push(-1);break}case 10:{l.push(-4),e=1;break}default:n=!0,e=1}p=g+1}return o&&(n&&l.push(-5),t&&l.push(t),l.push(null)),l}}const iu=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function su(e){return e.replace(iu,ou)}function ou(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const i=r.charCodeAt(1),a=i===120||i===88;return V0(r.slice(a?2:1),a?16:10)}return kn(r)||e}function Fr(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?ca(e.position):"start"in e||"end"in e?ca(e):"line"in e||"column"in e?Nn(e):""}function Nn(e){return ha(e&&e.line)+":"+ha(e&&e.column)}function ca(e){return Nn(e&&e.start)+"-"+Nn(e&&e.end)}function ha(e){return e&&typeof e=="number"?e:1}const da={}.hasOwnProperty;function lu(e,t,r){return typeof t!="string"&&(r=t,t=void 0),uu(r)(nu(ru(r).document().write(au()(e,t,!0))))}function uu(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(pt),autolinkProtocol:G,autolinkEmail:G,atxHeading:a(mt),blockQuote:a(Je),characterEscape:G,characterReference:G,codeFenced:a(Qe),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:a(Qe,s),codeText:a(tr,s),codeTextData:G,data:G,codeFlowValue:G,definition:a(Or),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:a(Ir),hardBreakEscape:a(Kt),hardBreakTrailing:a(Kt),htmlFlow:a(Ge,s),htmlFlowData:G,htmlText:a(Ge,s),htmlTextData:G,image:a(rr),label:s,link:a(pt),listItem:a(yn),listItemValue:g,listOrdered:a(ie,p),listUnordered:a(ie),paragraph:a(De),reference:x,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:a(mt),strong:a(ke),thematicBreak:a(It)},exit:{atxHeading:l(),atxHeadingSequence:H,autolink:l(),autolinkEmail:Fe,autolinkProtocol:Xe,blockQuote:l(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:we,characterReferenceMarkerNumeric:we,characterReferenceValue:ye,codeFenced:l(N),codeFencedFence:k,codeFencedFenceInfo:m,codeFencedFenceMeta:z,codeFlowValue:M,codeIndented:l(A),codeText:l(re),codeTextData:M,data:M,definition:l(),definitionDestinationString:W,definitionLabelString:C,definitionTitleString:R,emphasis:l(),hardBreakEscape:l($),hardBreakTrailing:l($),htmlFlow:l(de),htmlFlowData:M,htmlText:l(ue),htmlTextData:M,image:l(O),label:Q,labelText:L,lineEnding:V,link:l(ve),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:Oe,resourceDestinationString:v,resourceTitleString:se,resource:ce,setextHeading:l(ee),setextHeadingLineSequence:X,setextHeadingText:T,strong:l(),thematicBreak:l()}};ma(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(_){let j={type:"root",children:[]};const B={stack:[j],tokenStack:[],config:t,enter:o,exit:h,buffer:s,resume:d,data:r},F=[];let J=-1;for(;++J<_.length;)if(_[J][1].type==="listOrdered"||_[J][1].type==="listUnordered")if(_[J][0]==="enter")F.push(J);else{const me=F.pop();J=i(_,me,J)}for(J=-1;++J<_.length;){const me=t[_[J][0]];da.call(me,_[J][1].type)&&me[_[J][1].type].call(Object.assign({sliceSerialize:_[J][2].sliceSerialize},B),_[J][1])}if(B.tokenStack.length>0){const me=B.tokenStack[B.tokenStack.length-1];(me[1]||pa).call(B,void 0,me[0])}for(j.position={start:Ft(_.length>0?_[0][1].start:{line:1,column:1,offset:0}),end:Ft(_.length>0?_[_.length-2][1].end:{line:1,column:1,offset:0})},J=-1;++J<t.transforms.length;)j=t.transforms[J](j)||j;return j}function i(_,j,B){let F=j-1,J=-1,me=!1,Ae,Le,nr,ar;for(;++F<=B;){const rt=_[F];switch(rt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{rt[0]==="enter"?J++:J--,ar=void 0;break}case"lineEndingBlank":{rt[0]==="enter"&&(Ae&&!ar&&!J&&!nr&&(nr=F),ar=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ar=void 0}if(!J&&rt[0]==="enter"&&rt[1].type==="listItemPrefix"||J===-1&&rt[0]==="exit"&&(rt[1].type==="listUnordered"||rt[1].type==="listOrdered")){if(Ae){let vr=F;for(Le=void 0;vr--;){const Dt=_[vr];if(Dt[1].type==="lineEnding"||Dt[1].type==="lineEndingBlank"){if(Dt[0]==="exit")continue;Le&&(_[Le][1].type="lineEndingBlank",me=!0),Dt[1].type="lineEnding",Le=vr}else if(!(Dt[1].type==="linePrefix"||Dt[1].type==="blockQuotePrefix"||Dt[1].type==="blockQuotePrefixWhitespace"||Dt[1].type==="blockQuoteMarker"||Dt[1].type==="listItemIndent"))break}nr&&(!Le||nr<Le)&&(Ae._spread=!0),Ae.end=Object.assign({},Le?_[Le][1].start:rt[1].end),_.splice(Le||F,0,["exit",Ae,rt[2]]),F++,B++}if(rt[1].type==="listItemPrefix"){const vr={type:"listItem",_spread:!1,start:Object.assign({},rt[1].start),end:void 0};Ae=vr,_.splice(F,0,["enter",vr,rt[2]]),F++,B++,nr=void 0,ar=!0}}}return _[j][1]._spread=me,B}function a(_,j){return B;function B(F){o.call(this,_(F),F),j&&j.call(this,F)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(_,j,B){this.stack[this.stack.length-1].children.push(_),this.stack.push(_),this.tokenStack.push([j,B]),_.position={start:Ft(j.start),end:void 0}}function l(_){return j;function j(B){_&&_.call(this,B),h.call(this,B)}}function h(_,j){const B=this.stack.pop(),F=this.tokenStack.pop();if(F)F[0].type!==_.type&&(j?j.call(this,_,F[0]):(F[1]||pa).call(this,_,F[0]));else throw new Error("Cannot close `"+_.type+"` ("+Fr({start:_.start,end:_.end})+"): it’s not open");B.position.end=Ft(_.end)}function d(){return bo(this.stack.pop())}function p(){this.data.expectingFirstListItemValue=!0}function g(_){if(this.data.expectingFirstListItemValue){const j=this.stack[this.stack.length-2];j.start=Number.parseInt(this.sliceSerialize(_),10),this.data.expectingFirstListItemValue=void 0}}function m(){const _=this.resume(),j=this.stack[this.stack.length-1];j.lang=_}function z(){const _=this.resume(),j=this.stack[this.stack.length-1];j.meta=_}function k(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function N(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function A(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_.replace(/(\r?\n|\r)$/g,"")}function C(_){const j=this.resume(),B=this.stack[this.stack.length-1];B.label=j,B.identifier=sr(this.sliceSerialize(_)).toLowerCase()}function R(){const _=this.resume(),j=this.stack[this.stack.length-1];j.title=_}function W(){const _=this.resume(),j=this.stack[this.stack.length-1];j.url=_}function H(_){const j=this.stack[this.stack.length-1];if(!j.depth){const B=this.sliceSerialize(_).length;j.depth=B}}function T(){this.data.setextHeadingSlurpLineEnding=!0}function X(_){const j=this.stack[this.stack.length-1];j.depth=this.sliceSerialize(_).codePointAt(0)===61?1:2}function ee(){this.data.setextHeadingSlurpLineEnding=void 0}function G(_){const B=this.stack[this.stack.length-1].children;let F=B[B.length-1];(!F||F.type!=="text")&&(F=br(),F.position={start:Ft(_.start),end:void 0},B.push(F)),this.stack.push(F)}function M(_){const j=this.stack.pop();j.value+=this.sliceSerialize(_),j.position.end=Ft(_.end)}function V(_){const j=this.stack[this.stack.length-1];if(this.data.atHardBreak){const B=j.children[j.children.length-1];B.position.end=Ft(_.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(j.type)&&(G.call(this,_),M.call(this,_))}function $(){this.data.atHardBreak=!0}function de(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function ue(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function re(){const _=this.resume(),j=this.stack[this.stack.length-1];j.value=_}function ve(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const j=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=j,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function O(){const _=this.stack[this.stack.length-1];if(this.data.inReference){const j=this.data.referenceType||"shortcut";_.type+="Reference",_.referenceType=j,delete _.url,delete _.title}else delete _.identifier,delete _.label;this.data.referenceType=void 0}function L(_){const j=this.sliceSerialize(_),B=this.stack[this.stack.length-2];B.label=su(j),B.identifier=sr(j).toLowerCase()}function Q(){const _=this.stack[this.stack.length-1],j=this.resume(),B=this.stack[this.stack.length-1];if(this.data.inReference=!0,B.type==="link"){const F=_.children;B.children=F}else B.alt=j}function v(){const _=this.resume(),j=this.stack[this.stack.length-1];j.url=_}function se(){const _=this.resume(),j=this.stack[this.stack.length-1];j.title=_}function ce(){this.data.inReference=void 0}function x(){this.data.referenceType="collapsed"}function Oe(_){const j=this.resume(),B=this.stack[this.stack.length-1];B.label=j,B.identifier=sr(this.sliceSerialize(_)).toLowerCase(),this.data.referenceType="full"}function we(_){this.data.characterReferenceType=_.type}function ye(_){const j=this.sliceSerialize(_),B=this.data.characterReferenceType;let F;B?(F=V0(j,B==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):F=kn(j);const J=this.stack.pop();J.value+=F,J.position.end=Ft(_.end)}function Xe(_){M.call(this,_);const j=this.stack[this.stack.length-1];j.url=this.sliceSerialize(_)}function Fe(_){M.call(this,_);const j=this.stack[this.stack.length-1];j.url="mailto:"+this.sliceSerialize(_)}function Je(){return{type:"blockquote",children:[]}}function Qe(){return{type:"code",lang:null,meta:null,value:""}}function tr(){return{type:"inlineCode",value:""}}function Or(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Ir(){return{type:"emphasis",children:[]}}function mt(){return{type:"heading",depth:0,children:[]}}function Kt(){return{type:"break"}}function Ge(){return{type:"html",value:""}}function rr(){return{type:"image",title:null,url:"",alt:null}}function pt(){return{type:"link",title:null,url:"",children:[]}}function ie(_){return{type:"list",ordered:_.type==="listOrdered",start:null,spread:_._spread,children:[]}}function yn(_){return{type:"listItem",spread:_._spread,checked:null,children:[]}}function De(){return{type:"paragraph",children:[]}}function ke(){return{type:"strong",children:[]}}function br(){return{type:"text",value:""}}function It(){return{type:"thematicBreak"}}}function Ft(e){return{line:e.line,column:e.column,offset:e.offset}}function ma(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?ma(e,n):cu(e,n)}}function cu(e,t){let r;for(r in t)if(da.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function pa(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Fr({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Fr({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Fr({start:t.start,end:t.end})+") is still open")}class hu{constructor(){this.map=[]}add(t,r,n){du(this,t,r,n)}consume(t){if(this.map.sort(function(a,s){return a[0]-s[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push([...t]),t.length=0;let i=n.pop();for(;i;)t.push(...i),i=n.pop();this.map.length=0}}function du(e,t,r,n){let i=0;if(!(r===0&&n.length===0)){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}function mu(e,t){let r=!1;const n=[];for(;t<e.length;){const i=e[t];if(r){if(i[0]==="enter")i[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(i[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const a=n.length-1;n[a]=n[a]==="left"?"center":"right"}}else if(i[1].type==="tableDelimiterRow")break}else i[0]==="enter"&&i[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function pu(){return{flow:{null:{tokenize:fu,resolveAll:gu}}}}function fu(e,t,r){const n=this;let i=0,a=0,s;return o;function o(M){let V=n.events.length-1;for(;V>-1;){const ue=n.events[V][1].type;if(ue==="lineEnding"||ue==="linePrefix")V--;else break}const $=V>-1?n.events[V][1].type:null,de=$==="tableHead"||$==="tableRow"?T:l;return de===T&&n.parser.lazy[n.now().line]?r(M):de(M)}function l(M){return e.enter("tableHead"),e.enter("tableRow"),h(M)}function h(M){return M===124||(s=!0,a+=1),d(M)}function d(M){return M===null?r(M):te(M)?a>1?(a=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(M),e.exit("lineEnding"),m):r(M):fe(M)?ge(e,d,"whitespace")(M):(a+=1,s&&(s=!1,i+=1),M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),s=!0,d):(e.enter("data"),p(M)))}function p(M){return M===null||M===124||He(M)?(e.exit("data"),d(M)):(e.consume(M),M===92?g:p)}function g(M){return M===92||M===124?(e.consume(M),p):p(M)}function m(M){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(M):(e.enter("tableDelimiterRow"),s=!1,fe(M)?ge(e,z,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(M):z(M))}function z(M){return M===45||M===58?N(M):M===124?(s=!0,e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),k):H(M)}function k(M){return fe(M)?ge(e,N,"whitespace")(M):N(M)}function N(M){return M===58?(a+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),A):M===45?(a+=1,A(M)):M===null||te(M)?W(M):H(M)}function A(M){return M===45?(e.enter("tableDelimiterFiller"),C(M)):H(M)}function C(M){return M===45?(e.consume(M),C):M===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(M),e.exit("tableDelimiterMarker"),R):(e.exit("tableDelimiterFiller"),R(M))}function R(M){return fe(M)?ge(e,W,"whitespace")(M):W(M)}function W(M){return M===124?z(M):M===null||te(M)?!s||i!==a?H(M):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(M)):H(M)}function H(M){return r(M)}function T(M){return e.enter("tableRow"),X(M)}function X(M){return M===124?(e.enter("tableCellDivider"),e.consume(M),e.exit("tableCellDivider"),X):M===null||te(M)?(e.exit("tableRow"),t(M)):fe(M)?ge(e,X,"whitespace")(M):(e.enter("data"),ee(M))}function ee(M){return M===null||M===124||He(M)?(e.exit("data"),X(M)):(e.consume(M),M===92?G:ee)}function G(M){return M===92||M===124?(e.consume(M),ee):ee(M)}}function gu(e,t){let r=-1,n=!0,i=0,a=[0,0,0,0],s=[0,0,0,0],o=!1,l=0,h,d,p;const g=new hu;for(;++r<e.length;){const m=e[r],z=m[1];m[0]==="enter"?z.type==="tableHead"?(o=!1,l!==0&&(fa(g,t,l,h,d),d=void 0,l=0),h={type:"table",start:Object.assign({},z.start),end:Object.assign({},z.end)},g.add(r,0,[["enter",h,t]])):z.type==="tableRow"||z.type==="tableDelimiterRow"?(n=!0,p=void 0,a=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,d={type:"tableBody",start:Object.assign({},z.start),end:Object.assign({},z.end)},g.add(r,0,[["enter",d,t]])),i=z.type==="tableDelimiterRow"?2:d?3:1):i&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(a[1]!==0&&(s[0]=s[1],p=Pr(g,t,a,i,void 0,p),a=[0,0,0,0]),s[2]=r)):z.type==="tableCellDivider"&&(n?n=!1:(a[1]!==0&&(s[0]=s[1],p=Pr(g,t,a,i,void 0,p)),a=s,s=[a[1],r,0,0])):z.type==="tableHead"?(o=!0,l=r):z.type==="tableRow"||z.type==="tableDelimiterRow"?(l=r,a[1]!==0?(s[0]=s[1],p=Pr(g,t,a,i,r,p)):s[1]!==0&&(p=Pr(g,t,s,i,r,p)),i=0):i&&(z.type==="data"||z.type==="tableDelimiterMarker"||z.type==="tableDelimiterFiller")&&(s[3]=r)}for(l!==0&&fa(g,t,l,h,d),g.consume(t.events),r=-1;++r<t.events.length;){const m=t.events[r];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=mu(t.events,r))}return e}function Pr(e,t,r,n,i,a){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(a.end=Object.assign({},or(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));const l=or(t.events,r[1]);if(a={type:s,start:Object.assign({},l),end:Object.assign({},l)},e.add(r[1],0,[["enter",a,t]]),r[2]!==0){const h=or(t.events,r[2]),d=or(t.events,r[3]),p={type:o,start:Object.assign({},h),end:Object.assign({},d)};if(e.add(r[2],0,[["enter",p,t]]),n!==2){const g=t.events[r[2]],m=t.events[r[3]];if(g[1].end=Object.assign({},m[1].end),g[1].type="chunkText",g[1].contentType="text",r[3]>r[2]+1){const z=r[2]+1,k=r[3]-r[2]-1;e.add(z,k,[])}}e.add(r[3]+1,0,[["exit",p,t]])}return i!==void 0&&(a.end=Object.assign({},or(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function fa(e,t,r,n,i){const a=[],s=or(t.events,r);i&&(i.end=Object.assign({},s),a.push(["exit",i,t])),n.end=Object.assign({},s),a.push(["exit",n,t]),e.add(r+1,0,a)}function or(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}function o4(){}function bu(){return{enter:{table:vu,tableData:ga,tableHeader:ga,tableRow:wu},exit:{codeText:xu,table:yu,tableData:_n,tableHeader:_n,tableRow:_n}}}function vu(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function yu(e){this.exit(e),this.data.inTable=void 0}function wu(e){this.enter({type:"tableRow",children:[]},e)}function _n(e){this.exit(e)}function ga(e){this.enter({type:"tableCell",children:[]},e)}function xu(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ku));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function ku(e,t){return t==="|"?t:e}class qr extends Error{constructor(t="Operation was cancelled."){super(t)}}class wr{constructor(){K(this,"isCancellationRequested",!1);K(this,"listeners",new Set)}addListener(t){this.isCancellationRequested?t():this.listeners.add(t)}cancel(){if(!this.isCancellationRequested){this.isCancellationRequested=!0;for(const t of this.listeners)t();this.listeners.clear()}}removeListener(t){this.listeners.delete(t)}throwIfCancellationRequested(){if(this.isCancellationRequested)throw new qr}}class ba{constructor(t,r){K(this,"node");K(this,"codeNode");K(this,"_language");K(this,"_code");K(this,"_ct");this.node=q("pre",null,this.codeNode=q("code",null)),this.updateCodeAsync(t,r,this._ct=new wr)}async updateCodeAsync(t,r,n){const i=Su(t);if(i){if(await i.promise,n.isCancellationRequested)return;this._language=t,this._code=r,this.codeNode.innerHTML=St.result.default.highlight(r,{language:t}).value}else this._language=t,this._code=r,this.codeNode.textContent=r}updateCode(t,r){this._ct.cancel(),!(this._language===t&&this._code===r)&&this.updateCodeAsync(t,r,this._ct=new wr)}}let St;function zu(){return St||(St={promise:Promise.resolve().then(()=>Md)},St.promise.then(e=>St.result=e).catch(e=>St.error=e),St)}const va={};function Su(e){let t=va[e];if(t)return t;zu();let r;switch(e){case"javascript":r=Promise.resolve().then(()=>Od);break;case"csharp":r=Promise.resolve().then(()=>Dd);break;case"python":r=Promise.resolve().then(()=>Fd);break;case"css":r=Promise.resolve().then(()=>Vd);break;case"typescript":r=Promise.resolve().then(()=>Kd);break;default:return null}return t={promise:(async()=>{const n=await r;return(await St.promise).default.registerLanguage(e,n.default),n.default})()},va[e]=t,t.promise.then(n=>t.result=n).catch(n=>t.error=n),t}function Eu(e,t){const r=e.FS.readFile(t,{encoding:"binary"}),n=new Blob([r],{type:"image/png"});return URL.createObjectURL(n)}const Au={tokenize:Tu,concrete:!0},ya={tokenize:Mu,partial:!0};function Tu(e,t,r){const n=this,i=n.events[n.events.length-1],a=i&&i[1].type==="linePrefix"?i[2].sliceSerialize(i[1],!0).length:0;let s=0;return o;function o(C){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),l(C)}function l(C){return C===36?(e.consume(C),s++,l):s<2?r(C):(e.exit("mathFlowFenceSequence"),ge(e,h,"whitespace")(C))}function h(C){return C===null||te(C)?p(C):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),d(C))}function d(C){return C===null||te(C)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),p(C)):C===36?r(C):(e.consume(C),d)}function p(C){return e.exit("mathFlowFence"),n.interrupt?t(C):e.attempt(ya,g,N)(C)}function g(C){return e.attempt({tokenize:A,partial:!0},N,m)(C)}function m(C){return(a?ge(e,z,"linePrefix",a+1):z)(C)}function z(C){return C===null?N(C):te(C)?e.attempt(ya,g,N)(C):(e.enter("mathFlowValue"),k(C))}function k(C){return C===null||te(C)?(e.exit("mathFlowValue"),z(C)):(e.consume(C),k)}function N(C){return e.exit("mathFlow"),t(C)}function A(C,R,W){let H=0;return ge(C,T,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function T(G){return C.enter("mathFlowFence"),C.enter("mathFlowFenceSequence"),X(G)}function X(G){return G===36?(H++,C.consume(G),X):H<s?W(G):(C.exit("mathFlowFenceSequence"),ge(C,ee,"whitespace")(G))}function ee(G){return G===null||te(G)?(C.exit("mathFlowFence"),R(G)):W(G)}}}function Mu(e,t,r){const n=this;return i;function i(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a)}function a(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function Cu(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Nu,previous:_u};function n(i,a,s){let o=0,l,h;return d;function d(k){return i.enter("mathText"),i.enter("mathTextSequence"),p(k)}function p(k){return k===36?(i.consume(k),o++,p):o<2&&!r?s(k):(i.exit("mathTextSequence"),g(k))}function g(k){return k===null?s(k):k===36?(h=i.enter("mathTextSequence"),l=0,z(k)):k===32?(i.enter("space"),i.consume(k),i.exit("space"),g):te(k)?(i.enter("lineEnding"),i.consume(k),i.exit("lineEnding"),g):(i.enter("mathTextData"),m(k))}function m(k){return k===null||k===32||k===36||te(k)?(i.exit("mathTextData"),g(k)):(i.consume(k),m)}function z(k){return k===36?(i.consume(k),l++,z):l===o?(i.exit("mathTextSequence"),i.exit("mathText"),a(k)):(h.type="mathTextData",m(k))}}}function Nu(e){let t=e.length-4,r=3,n,i;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)i===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(i=n):(n===t||e[n][1].type==="lineEnding")&&(e[i][1].type="mathTextData",n!==i+2&&(e[i][1].end=e[n-1][1].end,e.splice(i+2,n-i-2),t-=n-i-2,n=i+2),i=void 0);return e}function _u(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Bu(e){return{flow:{36:Au},text:{36:Cu(e)}}}class et{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new et(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class bt{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new bt(r,et.range(this,t))}}class P{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,i,a,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;i=s.start,a=s.end,i===o.length?n+=" at end of input: ":n+=" at position "+(i+1)+": ";var l=o.slice(i,a).replace(/[^]/g,"$&̲"),h;i>15?h="…"+o.slice(i-15,i):h=o.slice(0,i);var d;a+15<o.length?d=o.slice(a,a+15)+"…":d=o.slice(a),n+=h+l+d}var p=new Error(n);return p.name="ParseError",p.__proto__=P.prototype,p.position=i,i!=null&&a!=null&&(p.length=a-i),p.rawMessage=t,p}}P.prototype.__proto__=Error.prototype;var Ru=function(t,r){return t.indexOf(r)!==-1},Ou=function(t,r){return t===void 0?r:t},Iu=/([A-Z])/g,Du=function(t){return t.replace(Iu,"-$1").toLowerCase()},Lu={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Fu=/[&><"']/g;function Pu(e){return String(e).replace(Fu,t=>Lu[t])}var wa=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},qu=function(t){var r=wa(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Hu=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},Uu=function(t){var r=/^\s*([^\\/#]*?)(?::|&#0*58|&#x0*3a)/i.exec(t);return r!=null?r[1]:"_relative"},oe={contains:Ru,deflt:Ou,escape:Pu,hyphenate:Du,getBaseElem:wa,isCharacterBox:qu,protocolFromUrl:Uu},Hr={displayMode:{type:"boolean",description:"Render math in display mode, which puts the math in display style (so \\int and \\sum are large, for example), and centers the math on the page on its own line.",cli:"-d, --display-mode"},output:{type:{enum:["htmlAndMathml","html","mathml"]},description:"Determines the markup language of the output.",cli:"-F, --format <type>"},leqno:{type:"boolean",description:"Render display math in leqno style (left-justified tags)."},fleqn:{type:"boolean",description:"Render display math flush left."},throwOnError:{type:"boolean",default:!0,cli:"-t, --no-throw-on-error",cliDescription:"Render errors (in the color given by --error-color) instead of throwing a ParseError exception when encountering an error."},errorColor:{type:"string",default:"#cc0000",cli:"-c, --error-color <color>",cliDescription:"A color string given in the format 'rgb' or 'rrggbb' (no #). This option determines the color of errors rendered by the -t option.",cliProcessor:e=>"#"+e},macros:{type:"object",cli:"-m, --macro <def>",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(e,t)=>(t.push(e),t)},minRuleThickness:{type:"number",description:"Specifies a minimum thickness, in ems, for fraction lines, `\\sqrt` top lines, `{array}` vertical lines, `\\hline`, `\\hdashline`, `\\underline`, `\\overline`, and the borders of `\\fbox`, `\\boxed`, and `\\fcolorbox`.",processor:e=>Math.max(0,e),cli:"--min-rule-thickness <size>",cliProcessor:parseFloat},colorIsTextColor:{type:"boolean",description:"Makes \\color behave like LaTeX's 2-argument \\textcolor, instead of LaTeX's one-argument \\color mode change.",cli:"-b, --color-is-text-color"},strict:{type:[{enum:["warn","ignore","error"]},"boolean","function"],description:"Turn on strict / LaTeX faithfulness mode, which throws an error if the input uses features that are not supported by LaTeX.",cli:"-S, --strict",cliDefault:!1},trust:{type:["boolean","function"],description:"Trust the input, enabling all HTML features such as \\url.",cli:"-T, --trust"},maxSize:{type:"number",default:1/0,description:"If non-zero, all user-specified sizes, e.g. in \\rule{500em}{500em}, will be capped to maxSize ems. Otherwise, elements and spaces can be arbitrarily large",processor:e=>Math.max(0,e),cli:"-s, --max-size <n>",cliProcessor:parseInt},maxExpand:{type:"number",default:1e3,description:"Limit the number of macro expansions to the specified number, to prevent e.g. infinite macro loops. If set to Infinity, the macro expander will try to fully expand as in LaTeX.",processor:e=>Math.max(0,e),cli:"-e, --max-expand <n>",cliProcessor:e=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Gu(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Bn{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in Hr)if(Hr.hasOwnProperty(r)){var n=Hr[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Gu(n)}}reportNonstrict(t,r,n){var i=this.strict;if(typeof i=="function"&&(i=i(t,r,n)),!(!i||i==="ignore")){if(i===!0||i==="error")throw new P("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);i==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var i=this.strict;if(typeof i=="function")try{i=i(t,r,n)}catch{i="error"}return!i||i==="ignore"?!1:i===!0||i==="error"?!0:i==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+i+"': "+r+" ["+t+"]")),!1)}isTrusted(t){t.url&&!t.protocol&&(t.protocol=oe.protocolFromUrl(t.url));var r=typeof this.trust=="function"?this.trust(t):this.trust;return!!r}}class Pt{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return vt[ju[this.id]]}sub(){return vt[$u[this.id]]}fracNum(){return vt[Vu[this.id]]}fracDen(){return vt[Wu[this.id]]}cramp(){return vt[Xu[this.id]]}text(){return vt[Ku[this.id]]}isTight(){return this.size>=2}}var Rn=0,Ur=1,lr=2,Et=3,xr=4,it=5,ur=6,je=7,vt=[new Pt(Rn,0,!1),new Pt(Ur,0,!0),new Pt(lr,1,!1),new Pt(Et,1,!0),new Pt(xr,2,!1),new Pt(it,2,!0),new Pt(ur,3,!1),new Pt(je,3,!0)],ju=[xr,it,xr,it,ur,je,ur,je],$u=[it,it,it,it,je,je,je,je],Vu=[lr,Et,xr,it,ur,je,ur,je],Wu=[Et,Et,it,it,je,je,je,je],Xu=[Ur,Ur,Et,Et,it,it,je,je],Ku=[Rn,Ur,lr,Et,lr,Et,lr,Et],ne={DISPLAY:vt[Rn],TEXT:vt[lr],SCRIPT:vt[xr],SCRIPTSCRIPT:vt[ur]},On=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function Yu(e){for(var t=0;t<On.length;t++)for(var r=On[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}return null}var Gr=[];On.forEach(e=>e.blocks.forEach(t=>Gr.push(...t)));function xa(e){for(var t=0;t<Gr.length;t+=2)if(e>=Gr[t]&&e<=Gr[t+1])return!0;return!1}var cr=80,Zu=function(t,r){return"M95,"+(622+t+r)+`
4
4
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
5
5
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
6
6
  c44.2,-33.3,65.8,-50.3,66.5,-51c1.3,-1.3,3,-2,5,-2c4.7,0,8.7,3.3,12,10
@@ -254,15 +254,15 @@ c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6
254
254
  c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
255
255
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
256
256
  l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
257
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class kr{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return oe.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var yt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},jr={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},za={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function o1(e,t){yt[e]=t}function In(e,t,r){if(!yt[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=yt[t][n];if(!i&&e[0]in za&&(n=za[e[0]].charCodeAt(0),i=yt[t][n]),!i&&r==="text"&&xa(n)&&(i=yt[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Dn={};function l1(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Dn[t]){var r=Dn[t]={cssEmPerMu:jr.quad[t]/18};for(var n in jr)jr.hasOwnProperty(n)&&(r[n]=jr[n][t])}return Dn[t]}var u1=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Sa=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ea=function(t,r){return r.size<2?t:u1[t-1][r.size-1]};class At{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||At.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Sa[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new At(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Ea(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Sa[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Ea(At.BASESIZE,t);return this.size===r&&this.textSize===At.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==At.BASESIZE?["sizing","reset-size"+this.size,"size"+At.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=l1(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}At.BASESIZE=6;var Ln={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},c1={ex:!0,em:!0,mu:!0},Aa=function(t){return typeof t!="string"&&(t=t.unit),t in Ln||t in c1||t==="ex"},Te=function(t,r){var n;if(t.unit in Ln)n=Ln[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,t.unit==="ex")n=i.fontMetrics().xHeight;else if(t.unit==="em")n=i.fontMetrics().quad;else throw new P("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},U=function(t){return+t.toFixed(4)+"em"},qt=function(t){return t.filter(r=>r).join(" ")},Ta=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},Ma=function(t){var r=document.createElement(t);r.className=qt(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},Ca=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+oe.escape(qt(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=oe.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+oe.escape(n)+'"');for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&(r+=" "+a+'="'+oe.escape(this.attributes[a])+'"');r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class zr{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ta.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return oe.contains(this.classes,t)}toNode(){return Ma.call(this,"span")}toMarkup(){return Ca.call(this,"span")}}class Fn{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ta.call(this,r,i),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return oe.contains(this.classes,t)}toNode(){return Ma.call(this,"a")}toMarkup(){return Ca.call(this,"a")}}class h1{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return oe.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t="<img src='"+this.src+" 'alt='"+this.alt+"' ",r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=oe.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+oe.escape(r)+'"'),t+="'/>",t}}var d1={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class st{constructor(t,r,n,i,a,s,o,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=a||0,this.width=s||0,this.classes=o||[],this.style=l||{},this.maxFontSize=0;var h=Yu(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=d1[this.text])}hasClass(t){return oe.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=U(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=qt(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=oe.escape(qt(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=oe.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+oe.escape(n)+'"');var a=oe.escape(this.text);return t?(r+=">",r+=a,r+="</span>",r):a}}class Tt{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+"='"+this.attributes[r]+"'");t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Ht{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",ka[this.pathName]),r}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+ka[this.pathName]+"'/>"}}class Pn{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+"='"+this.attributes[r]+"'");return t+="/>",t}}function Na(e){if(e instanceof st)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function m1(e){if(e instanceof zr)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var p1={bin:1,close:1,inner:1,open:1,punct:1,rel:1},f1={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Se={math:{},text:{}};function u(e,t,r,n,i,a){Se[e][i]={font:t,group:r,replace:n},a&&n&&(Se[e][n]=Se[e][i])}var c="math",I="text",f="main",y="ams",Ee="accent-token",Z="bin",$e="close",hr="inner",ae="mathord",_e="op-token",tt="open",$r="punct",w="rel",Mt="spacing",S="textord";u(c,f,w,"≡","\\equiv",!0),u(c,f,w,"≺","\\prec",!0),u(c,f,w,"≻","\\succ",!0),u(c,f,w,"∼","\\sim",!0),u(c,f,w,"⊥","\\perp"),u(c,f,w,"⪯","\\preceq",!0),u(c,f,w,"⪰","\\succeq",!0),u(c,f,w,"≃","\\simeq",!0),u(c,f,w,"∣","\\mid",!0),u(c,f,w,"≪","\\ll",!0),u(c,f,w,"≫","\\gg",!0),u(c,f,w,"≍","\\asymp",!0),u(c,f,w,"∥","\\parallel"),u(c,f,w,"⋈","\\bowtie",!0),u(c,f,w,"⌣","\\smile",!0),u(c,f,w,"⊑","\\sqsubseteq",!0),u(c,f,w,"⊒","\\sqsupseteq",!0),u(c,f,w,"≐","\\doteq",!0),u(c,f,w,"⌢","\\frown",!0),u(c,f,w,"∋","\\ni",!0),u(c,f,w,"∝","\\propto",!0),u(c,f,w,"⊢","\\vdash",!0),u(c,f,w,"⊣","\\dashv",!0),u(c,f,w,"∋","\\owns"),u(c,f,$r,".","\\ldotp"),u(c,f,$r,"⋅","\\cdotp"),u(c,f,S,"#","\\#"),u(I,f,S,"#","\\#"),u(c,f,S,"&","\\&"),u(I,f,S,"&","\\&"),u(c,f,S,"ℵ","\\aleph",!0),u(c,f,S,"∀","\\forall",!0),u(c,f,S,"ℏ","\\hbar",!0),u(c,f,S,"∃","\\exists",!0),u(c,f,S,"∇","\\nabla",!0),u(c,f,S,"♭","\\flat",!0),u(c,f,S,"ℓ","\\ell",!0),u(c,f,S,"♮","\\natural",!0),u(c,f,S,"♣","\\clubsuit",!0),u(c,f,S,"℘","\\wp",!0),u(c,f,S,"♯","\\sharp",!0),u(c,f,S,"♢","\\diamondsuit",!0),u(c,f,S,"ℜ","\\Re",!0),u(c,f,S,"♡","\\heartsuit",!0),u(c,f,S,"ℑ","\\Im",!0),u(c,f,S,"♠","\\spadesuit",!0),u(c,f,S,"§","\\S",!0),u(I,f,S,"§","\\S"),u(c,f,S,"¶","\\P",!0),u(I,f,S,"¶","\\P"),u(c,f,S,"†","\\dag"),u(I,f,S,"†","\\dag"),u(I,f,S,"†","\\textdagger"),u(c,f,S,"‡","\\ddag"),u(I,f,S,"‡","\\ddag"),u(I,f,S,"‡","\\textdaggerdbl"),u(c,f,$e,"⎱","\\rmoustache",!0),u(c,f,tt,"⎰","\\lmoustache",!0),u(c,f,$e,"⟯","\\rgroup",!0),u(c,f,tt,"⟮","\\lgroup",!0),u(c,f,Z,"∓","\\mp",!0),u(c,f,Z,"⊖","\\ominus",!0),u(c,f,Z,"⊎","\\uplus",!0),u(c,f,Z,"⊓","\\sqcap",!0),u(c,f,Z,"∗","\\ast"),u(c,f,Z,"⊔","\\sqcup",!0),u(c,f,Z,"◯","\\bigcirc",!0),u(c,f,Z,"∙","\\bullet",!0),u(c,f,Z,"‡","\\ddagger"),u(c,f,Z,"≀","\\wr",!0),u(c,f,Z,"⨿","\\amalg"),u(c,f,Z,"&","\\And"),u(c,f,w,"⟵","\\longleftarrow",!0),u(c,f,w,"⇐","\\Leftarrow",!0),u(c,f,w,"⟸","\\Longleftarrow",!0),u(c,f,w,"⟶","\\longrightarrow",!0),u(c,f,w,"⇒","\\Rightarrow",!0),u(c,f,w,"⟹","\\Longrightarrow",!0),u(c,f,w,"↔","\\leftrightarrow",!0),u(c,f,w,"⟷","\\longleftrightarrow",!0),u(c,f,w,"⇔","\\Leftrightarrow",!0),u(c,f,w,"⟺","\\Longleftrightarrow",!0),u(c,f,w,"↦","\\mapsto",!0),u(c,f,w,"⟼","\\longmapsto",!0),u(c,f,w,"↗","\\nearrow",!0),u(c,f,w,"↩","\\hookleftarrow",!0),u(c,f,w,"↪","\\hookrightarrow",!0),u(c,f,w,"↘","\\searrow",!0),u(c,f,w,"↼","\\leftharpoonup",!0),u(c,f,w,"⇀","\\rightharpoonup",!0),u(c,f,w,"↙","\\swarrow",!0),u(c,f,w,"↽","\\leftharpoondown",!0),u(c,f,w,"⇁","\\rightharpoondown",!0),u(c,f,w,"↖","\\nwarrow",!0),u(c,f,w,"⇌","\\rightleftharpoons",!0),u(c,y,w,"≮","\\nless",!0),u(c,y,w,"","\\@nleqslant"),u(c,y,w,"","\\@nleqq"),u(c,y,w,"⪇","\\lneq",!0),u(c,y,w,"≨","\\lneqq",!0),u(c,y,w,"","\\@lvertneqq"),u(c,y,w,"⋦","\\lnsim",!0),u(c,y,w,"⪉","\\lnapprox",!0),u(c,y,w,"⊀","\\nprec",!0),u(c,y,w,"⋠","\\npreceq",!0),u(c,y,w,"⋨","\\precnsim",!0),u(c,y,w,"⪹","\\precnapprox",!0),u(c,y,w,"≁","\\nsim",!0),u(c,y,w,"","\\@nshortmid"),u(c,y,w,"∤","\\nmid",!0),u(c,y,w,"⊬","\\nvdash",!0),u(c,y,w,"⊭","\\nvDash",!0),u(c,y,w,"⋪","\\ntriangleleft"),u(c,y,w,"⋬","\\ntrianglelefteq",!0),u(c,y,w,"⊊","\\subsetneq",!0),u(c,y,w,"","\\@varsubsetneq"),u(c,y,w,"⫋","\\subsetneqq",!0),u(c,y,w,"","\\@varsubsetneqq"),u(c,y,w,"≯","\\ngtr",!0),u(c,y,w,"","\\@ngeqslant"),u(c,y,w,"","\\@ngeqq"),u(c,y,w,"⪈","\\gneq",!0),u(c,y,w,"≩","\\gneqq",!0),u(c,y,w,"","\\@gvertneqq"),u(c,y,w,"⋧","\\gnsim",!0),u(c,y,w,"⪊","\\gnapprox",!0),u(c,y,w,"⊁","\\nsucc",!0),u(c,y,w,"⋡","\\nsucceq",!0),u(c,y,w,"⋩","\\succnsim",!0),u(c,y,w,"⪺","\\succnapprox",!0),u(c,y,w,"≆","\\ncong",!0),u(c,y,w,"","\\@nshortparallel"),u(c,y,w,"∦","\\nparallel",!0),u(c,y,w,"⊯","\\nVDash",!0),u(c,y,w,"⋫","\\ntriangleright"),u(c,y,w,"⋭","\\ntrianglerighteq",!0),u(c,y,w,"","\\@nsupseteqq"),u(c,y,w,"⊋","\\supsetneq",!0),u(c,y,w,"","\\@varsupsetneq"),u(c,y,w,"⫌","\\supsetneqq",!0),u(c,y,w,"","\\@varsupsetneqq"),u(c,y,w,"⊮","\\nVdash",!0),u(c,y,w,"⪵","\\precneqq",!0),u(c,y,w,"⪶","\\succneqq",!0),u(c,y,w,"","\\@nsubseteqq"),u(c,y,Z,"⊴","\\unlhd"),u(c,y,Z,"⊵","\\unrhd"),u(c,y,w,"↚","\\nleftarrow",!0),u(c,y,w,"↛","\\nrightarrow",!0),u(c,y,w,"⇍","\\nLeftarrow",!0),u(c,y,w,"⇏","\\nRightarrow",!0),u(c,y,w,"↮","\\nleftrightarrow",!0),u(c,y,w,"⇎","\\nLeftrightarrow",!0),u(c,y,w,"△","\\vartriangle"),u(c,y,S,"ℏ","\\hslash"),u(c,y,S,"▽","\\triangledown"),u(c,y,S,"◊","\\lozenge"),u(c,y,S,"Ⓢ","\\circledS"),u(c,y,S,"®","\\circledR"),u(I,y,S,"®","\\circledR"),u(c,y,S,"∡","\\measuredangle",!0),u(c,y,S,"∄","\\nexists"),u(c,y,S,"℧","\\mho"),u(c,y,S,"Ⅎ","\\Finv",!0),u(c,y,S,"⅁","\\Game",!0),u(c,y,S,"‵","\\backprime"),u(c,y,S,"▲","\\blacktriangle"),u(c,y,S,"▼","\\blacktriangledown"),u(c,y,S,"■","\\blacksquare"),u(c,y,S,"⧫","\\blacklozenge"),u(c,y,S,"★","\\bigstar"),u(c,y,S,"∢","\\sphericalangle",!0),u(c,y,S,"∁","\\complement",!0),u(c,y,S,"ð","\\eth",!0),u(I,f,S,"ð","ð"),u(c,y,S,"╱","\\diagup"),u(c,y,S,"╲","\\diagdown"),u(c,y,S,"□","\\square"),u(c,y,S,"□","\\Box"),u(c,y,S,"◊","\\Diamond"),u(c,y,S,"¥","\\yen",!0),u(I,y,S,"¥","\\yen",!0),u(c,y,S,"✓","\\checkmark",!0),u(I,y,S,"✓","\\checkmark"),u(c,y,S,"ℶ","\\beth",!0),u(c,y,S,"ℸ","\\daleth",!0),u(c,y,S,"ℷ","\\gimel",!0),u(c,y,S,"ϝ","\\digamma",!0),u(c,y,S,"ϰ","\\varkappa"),u(c,y,tt,"┌","\\@ulcorner",!0),u(c,y,$e,"┐","\\@urcorner",!0),u(c,y,tt,"└","\\@llcorner",!0),u(c,y,$e,"┘","\\@lrcorner",!0),u(c,y,w,"≦","\\leqq",!0),u(c,y,w,"⩽","\\leqslant",!0),u(c,y,w,"⪕","\\eqslantless",!0),u(c,y,w,"≲","\\lesssim",!0),u(c,y,w,"⪅","\\lessapprox",!0),u(c,y,w,"≊","\\approxeq",!0),u(c,y,Z,"⋖","\\lessdot"),u(c,y,w,"⋘","\\lll",!0),u(c,y,w,"≶","\\lessgtr",!0),u(c,y,w,"⋚","\\lesseqgtr",!0),u(c,y,w,"⪋","\\lesseqqgtr",!0),u(c,y,w,"≑","\\doteqdot"),u(c,y,w,"≓","\\risingdotseq",!0),u(c,y,w,"≒","\\fallingdotseq",!0),u(c,y,w,"∽","\\backsim",!0),u(c,y,w,"⋍","\\backsimeq",!0),u(c,y,w,"⫅","\\subseteqq",!0),u(c,y,w,"⋐","\\Subset",!0),u(c,y,w,"⊏","\\sqsubset",!0),u(c,y,w,"≼","\\preccurlyeq",!0),u(c,y,w,"⋞","\\curlyeqprec",!0),u(c,y,w,"≾","\\precsim",!0),u(c,y,w,"⪷","\\precapprox",!0),u(c,y,w,"⊲","\\vartriangleleft"),u(c,y,w,"⊴","\\trianglelefteq"),u(c,y,w,"⊨","\\vDash",!0),u(c,y,w,"⊪","\\Vvdash",!0),u(c,y,w,"⌣","\\smallsmile"),u(c,y,w,"⌢","\\smallfrown"),u(c,y,w,"≏","\\bumpeq",!0),u(c,y,w,"≎","\\Bumpeq",!0),u(c,y,w,"≧","\\geqq",!0),u(c,y,w,"⩾","\\geqslant",!0),u(c,y,w,"⪖","\\eqslantgtr",!0),u(c,y,w,"≳","\\gtrsim",!0),u(c,y,w,"⪆","\\gtrapprox",!0),u(c,y,Z,"⋗","\\gtrdot"),u(c,y,w,"⋙","\\ggg",!0),u(c,y,w,"≷","\\gtrless",!0),u(c,y,w,"⋛","\\gtreqless",!0),u(c,y,w,"⪌","\\gtreqqless",!0),u(c,y,w,"≖","\\eqcirc",!0),u(c,y,w,"≗","\\circeq",!0),u(c,y,w,"≜","\\triangleq",!0),u(c,y,w,"∼","\\thicksim"),u(c,y,w,"≈","\\thickapprox"),u(c,y,w,"⫆","\\supseteqq",!0),u(c,y,w,"⋑","\\Supset",!0),u(c,y,w,"⊐","\\sqsupset",!0),u(c,y,w,"≽","\\succcurlyeq",!0),u(c,y,w,"⋟","\\curlyeqsucc",!0),u(c,y,w,"≿","\\succsim",!0),u(c,y,w,"⪸","\\succapprox",!0),u(c,y,w,"⊳","\\vartriangleright"),u(c,y,w,"⊵","\\trianglerighteq"),u(c,y,w,"⊩","\\Vdash",!0),u(c,y,w,"∣","\\shortmid"),u(c,y,w,"∥","\\shortparallel"),u(c,y,w,"≬","\\between",!0),u(c,y,w,"⋔","\\pitchfork",!0),u(c,y,w,"∝","\\varpropto"),u(c,y,w,"◀","\\blacktriangleleft"),u(c,y,w,"∴","\\therefore",!0),u(c,y,w,"∍","\\backepsilon"),u(c,y,w,"▶","\\blacktriangleright"),u(c,y,w,"∵","\\because",!0),u(c,y,w,"⋘","\\llless"),u(c,y,w,"⋙","\\gggtr"),u(c,y,Z,"⊲","\\lhd"),u(c,y,Z,"⊳","\\rhd"),u(c,y,w,"≂","\\eqsim",!0),u(c,f,w,"⋈","\\Join"),u(c,y,w,"≑","\\Doteq",!0),u(c,y,Z,"∔","\\dotplus",!0),u(c,y,Z,"∖","\\smallsetminus"),u(c,y,Z,"⋒","\\Cap",!0),u(c,y,Z,"⋓","\\Cup",!0),u(c,y,Z,"⩞","\\doublebarwedge",!0),u(c,y,Z,"⊟","\\boxminus",!0),u(c,y,Z,"⊞","\\boxplus",!0),u(c,y,Z,"⋇","\\divideontimes",!0),u(c,y,Z,"⋉","\\ltimes",!0),u(c,y,Z,"⋊","\\rtimes",!0),u(c,y,Z,"⋋","\\leftthreetimes",!0),u(c,y,Z,"⋌","\\rightthreetimes",!0),u(c,y,Z,"⋏","\\curlywedge",!0),u(c,y,Z,"⋎","\\curlyvee",!0),u(c,y,Z,"⊝","\\circleddash",!0),u(c,y,Z,"⊛","\\circledast",!0),u(c,y,Z,"⋅","\\centerdot"),u(c,y,Z,"⊺","\\intercal",!0),u(c,y,Z,"⋒","\\doublecap"),u(c,y,Z,"⋓","\\doublecup"),u(c,y,Z,"⊠","\\boxtimes",!0),u(c,y,w,"⇢","\\dashrightarrow",!0),u(c,y,w,"⇠","\\dashleftarrow",!0),u(c,y,w,"⇇","\\leftleftarrows",!0),u(c,y,w,"⇆","\\leftrightarrows",!0),u(c,y,w,"⇚","\\Lleftarrow",!0),u(c,y,w,"↞","\\twoheadleftarrow",!0),u(c,y,w,"↢","\\leftarrowtail",!0),u(c,y,w,"↫","\\looparrowleft",!0),u(c,y,w,"⇋","\\leftrightharpoons",!0),u(c,y,w,"↶","\\curvearrowleft",!0),u(c,y,w,"↺","\\circlearrowleft",!0),u(c,y,w,"↰","\\Lsh",!0),u(c,y,w,"⇈","\\upuparrows",!0),u(c,y,w,"↿","\\upharpoonleft",!0),u(c,y,w,"⇃","\\downharpoonleft",!0),u(c,f,w,"⊶","\\origof",!0),u(c,f,w,"⊷","\\imageof",!0),u(c,y,w,"⊸","\\multimap",!0),u(c,y,w,"↭","\\leftrightsquigarrow",!0),u(c,y,w,"⇉","\\rightrightarrows",!0),u(c,y,w,"⇄","\\rightleftarrows",!0),u(c,y,w,"↠","\\twoheadrightarrow",!0),u(c,y,w,"↣","\\rightarrowtail",!0),u(c,y,w,"↬","\\looparrowright",!0),u(c,y,w,"↷","\\curvearrowright",!0),u(c,y,w,"↻","\\circlearrowright",!0),u(c,y,w,"↱","\\Rsh",!0),u(c,y,w,"⇊","\\downdownarrows",!0),u(c,y,w,"↾","\\upharpoonright",!0),u(c,y,w,"⇂","\\downharpoonright",!0),u(c,y,w,"⇝","\\rightsquigarrow",!0),u(c,y,w,"⇝","\\leadsto"),u(c,y,w,"⇛","\\Rrightarrow",!0),u(c,y,w,"↾","\\restriction"),u(c,f,S,"‘","`"),u(c,f,S,"$","\\$"),u(I,f,S,"$","\\$"),u(I,f,S,"$","\\textdollar"),u(c,f,S,"%","\\%"),u(I,f,S,"%","\\%"),u(c,f,S,"_","\\_"),u(I,f,S,"_","\\_"),u(I,f,S,"_","\\textunderscore"),u(c,f,S,"∠","\\angle",!0),u(c,f,S,"∞","\\infty",!0),u(c,f,S,"′","\\prime"),u(c,f,S,"△","\\triangle"),u(c,f,S,"Γ","\\Gamma",!0),u(c,f,S,"Δ","\\Delta",!0),u(c,f,S,"Θ","\\Theta",!0),u(c,f,S,"Λ","\\Lambda",!0),u(c,f,S,"Ξ","\\Xi",!0),u(c,f,S,"Π","\\Pi",!0),u(c,f,S,"Σ","\\Sigma",!0),u(c,f,S,"Υ","\\Upsilon",!0),u(c,f,S,"Φ","\\Phi",!0),u(c,f,S,"Ψ","\\Psi",!0),u(c,f,S,"Ω","\\Omega",!0),u(c,f,S,"A","Α"),u(c,f,S,"B","Β"),u(c,f,S,"E","Ε"),u(c,f,S,"Z","Ζ"),u(c,f,S,"H","Η"),u(c,f,S,"I","Ι"),u(c,f,S,"K","Κ"),u(c,f,S,"M","Μ"),u(c,f,S,"N","Ν"),u(c,f,S,"O","Ο"),u(c,f,S,"P","Ρ"),u(c,f,S,"T","Τ"),u(c,f,S,"X","Χ"),u(c,f,S,"¬","\\neg",!0),u(c,f,S,"¬","\\lnot"),u(c,f,S,"⊤","\\top"),u(c,f,S,"⊥","\\bot"),u(c,f,S,"∅","\\emptyset"),u(c,y,S,"∅","\\varnothing"),u(c,f,ae,"α","\\alpha",!0),u(c,f,ae,"β","\\beta",!0),u(c,f,ae,"γ","\\gamma",!0),u(c,f,ae,"δ","\\delta",!0),u(c,f,ae,"ϵ","\\epsilon",!0),u(c,f,ae,"ζ","\\zeta",!0),u(c,f,ae,"η","\\eta",!0),u(c,f,ae,"θ","\\theta",!0),u(c,f,ae,"ι","\\iota",!0),u(c,f,ae,"κ","\\kappa",!0),u(c,f,ae,"λ","\\lambda",!0),u(c,f,ae,"μ","\\mu",!0),u(c,f,ae,"ν","\\nu",!0),u(c,f,ae,"ξ","\\xi",!0),u(c,f,ae,"ο","\\omicron",!0),u(c,f,ae,"π","\\pi",!0),u(c,f,ae,"ρ","\\rho",!0),u(c,f,ae,"σ","\\sigma",!0),u(c,f,ae,"τ","\\tau",!0),u(c,f,ae,"υ","\\upsilon",!0),u(c,f,ae,"ϕ","\\phi",!0),u(c,f,ae,"χ","\\chi",!0),u(c,f,ae,"ψ","\\psi",!0),u(c,f,ae,"ω","\\omega",!0),u(c,f,ae,"ε","\\varepsilon",!0),u(c,f,ae,"ϑ","\\vartheta",!0),u(c,f,ae,"ϖ","\\varpi",!0),u(c,f,ae,"ϱ","\\varrho",!0),u(c,f,ae,"ς","\\varsigma",!0),u(c,f,ae,"φ","\\varphi",!0),u(c,f,Z,"∗","*",!0),u(c,f,Z,"+","+"),u(c,f,Z,"−","-",!0),u(c,f,Z,"⋅","\\cdot",!0),u(c,f,Z,"∘","\\circ",!0),u(c,f,Z,"÷","\\div",!0),u(c,f,Z,"±","\\pm",!0),u(c,f,Z,"×","\\times",!0),u(c,f,Z,"∩","\\cap",!0),u(c,f,Z,"∪","\\cup",!0),u(c,f,Z,"∖","\\setminus",!0),u(c,f,Z,"∧","\\land"),u(c,f,Z,"∨","\\lor"),u(c,f,Z,"∧","\\wedge",!0),u(c,f,Z,"∨","\\vee",!0),u(c,f,S,"√","\\surd"),u(c,f,tt,"⟨","\\langle",!0),u(c,f,tt,"∣","\\lvert"),u(c,f,tt,"∥","\\lVert"),u(c,f,$e,"?","?"),u(c,f,$e,"!","!"),u(c,f,$e,"⟩","\\rangle",!0),u(c,f,$e,"∣","\\rvert"),u(c,f,$e,"∥","\\rVert"),u(c,f,w,"=","="),u(c,f,w,":",":"),u(c,f,w,"≈","\\approx",!0),u(c,f,w,"≅","\\cong",!0),u(c,f,w,"≥","\\ge"),u(c,f,w,"≥","\\geq",!0),u(c,f,w,"←","\\gets"),u(c,f,w,">","\\gt",!0),u(c,f,w,"∈","\\in",!0),u(c,f,w,"","\\@not"),u(c,f,w,"⊂","\\subset",!0),u(c,f,w,"⊃","\\supset",!0),u(c,f,w,"⊆","\\subseteq",!0),u(c,f,w,"⊇","\\supseteq",!0),u(c,y,w,"⊈","\\nsubseteq",!0),u(c,y,w,"⊉","\\nsupseteq",!0),u(c,f,w,"⊨","\\models"),u(c,f,w,"←","\\leftarrow",!0),u(c,f,w,"≤","\\le"),u(c,f,w,"≤","\\leq",!0),u(c,f,w,"<","\\lt",!0),u(c,f,w,"→","\\rightarrow",!0),u(c,f,w,"→","\\to"),u(c,y,w,"≱","\\ngeq",!0),u(c,y,w,"≰","\\nleq",!0),u(c,f,Mt," ","\\ "),u(c,f,Mt," ","\\space"),u(c,f,Mt," ","\\nobreakspace"),u(I,f,Mt," ","\\ "),u(I,f,Mt," "," "),u(I,f,Mt," ","\\space"),u(I,f,Mt," ","\\nobreakspace"),u(c,f,Mt,null,"\\nobreak"),u(c,f,Mt,null,"\\allowbreak"),u(c,f,$r,",",","),u(c,f,$r,";",";"),u(c,y,Z,"⊼","\\barwedge",!0),u(c,y,Z,"⊻","\\veebar",!0),u(c,f,Z,"⊙","\\odot",!0),u(c,f,Z,"⊕","\\oplus",!0),u(c,f,Z,"⊗","\\otimes",!0),u(c,f,S,"∂","\\partial",!0),u(c,f,Z,"⊘","\\oslash",!0),u(c,y,Z,"⊚","\\circledcirc",!0),u(c,y,Z,"⊡","\\boxdot",!0),u(c,f,Z,"△","\\bigtriangleup"),u(c,f,Z,"▽","\\bigtriangledown"),u(c,f,Z,"†","\\dagger"),u(c,f,Z,"⋄","\\diamond"),u(c,f,Z,"⋆","\\star"),u(c,f,Z,"◃","\\triangleleft"),u(c,f,Z,"▹","\\triangleright"),u(c,f,tt,"{","\\{"),u(I,f,S,"{","\\{"),u(I,f,S,"{","\\textbraceleft"),u(c,f,$e,"}","\\}"),u(I,f,S,"}","\\}"),u(I,f,S,"}","\\textbraceright"),u(c,f,tt,"{","\\lbrace"),u(c,f,$e,"}","\\rbrace"),u(c,f,tt,"[","\\lbrack",!0),u(I,f,S,"[","\\lbrack",!0),u(c,f,$e,"]","\\rbrack",!0),u(I,f,S,"]","\\rbrack",!0),u(c,f,tt,"(","\\lparen",!0),u(c,f,$e,")","\\rparen",!0),u(I,f,S,"<","\\textless",!0),u(I,f,S,">","\\textgreater",!0),u(c,f,tt,"⌊","\\lfloor",!0),u(c,f,$e,"⌋","\\rfloor",!0),u(c,f,tt,"⌈","\\lceil",!0),u(c,f,$e,"⌉","\\rceil",!0),u(c,f,S,"\\","\\backslash"),u(c,f,S,"∣","|"),u(c,f,S,"∣","\\vert"),u(I,f,S,"|","\\textbar",!0),u(c,f,S,"∥","\\|"),u(c,f,S,"∥","\\Vert"),u(I,f,S,"∥","\\textbardbl"),u(I,f,S,"~","\\textasciitilde"),u(I,f,S,"\\","\\textbackslash"),u(I,f,S,"^","\\textasciicircum"),u(c,f,w,"↑","\\uparrow",!0),u(c,f,w,"⇑","\\Uparrow",!0),u(c,f,w,"↓","\\downarrow",!0),u(c,f,w,"⇓","\\Downarrow",!0),u(c,f,w,"↕","\\updownarrow",!0),u(c,f,w,"⇕","\\Updownarrow",!0),u(c,f,_e,"∐","\\coprod"),u(c,f,_e,"⋁","\\bigvee"),u(c,f,_e,"⋀","\\bigwedge"),u(c,f,_e,"⨄","\\biguplus"),u(c,f,_e,"⋂","\\bigcap"),u(c,f,_e,"⋃","\\bigcup"),u(c,f,_e,"∫","\\int"),u(c,f,_e,"∫","\\intop"),u(c,f,_e,"∬","\\iint"),u(c,f,_e,"∭","\\iiint"),u(c,f,_e,"∏","\\prod"),u(c,f,_e,"∑","\\sum"),u(c,f,_e,"⨂","\\bigotimes"),u(c,f,_e,"⨁","\\bigoplus"),u(c,f,_e,"⨀","\\bigodot"),u(c,f,_e,"∮","\\oint"),u(c,f,_e,"∯","\\oiint"),u(c,f,_e,"∰","\\oiiint"),u(c,f,_e,"⨆","\\bigsqcup"),u(c,f,_e,"∫","\\smallint"),u(I,f,hr,"…","\\textellipsis"),u(c,f,hr,"…","\\mathellipsis"),u(I,f,hr,"…","\\ldots",!0),u(c,f,hr,"…","\\ldots",!0),u(c,f,hr,"⋯","\\@cdots",!0),u(c,f,hr,"⋱","\\ddots",!0),u(c,f,S,"⋮","\\varvdots"),u(c,f,Ee,"ˊ","\\acute"),u(c,f,Ee,"ˋ","\\grave"),u(c,f,Ee,"¨","\\ddot"),u(c,f,Ee,"~","\\tilde"),u(c,f,Ee,"ˉ","\\bar"),u(c,f,Ee,"˘","\\breve"),u(c,f,Ee,"ˇ","\\check"),u(c,f,Ee,"^","\\hat"),u(c,f,Ee,"⃗","\\vec"),u(c,f,Ee,"˙","\\dot"),u(c,f,Ee,"˚","\\mathring"),u(c,f,ae,"","\\@imath"),u(c,f,ae,"","\\@jmath"),u(c,f,S,"ı","ı"),u(c,f,S,"ȷ","ȷ"),u(I,f,S,"ı","\\i",!0),u(I,f,S,"ȷ","\\j",!0),u(I,f,S,"ß","\\ss",!0),u(I,f,S,"æ","\\ae",!0),u(I,f,S,"œ","\\oe",!0),u(I,f,S,"ø","\\o",!0),u(I,f,S,"Æ","\\AE",!0),u(I,f,S,"Œ","\\OE",!0),u(I,f,S,"Ø","\\O",!0),u(I,f,Ee,"ˊ","\\'"),u(I,f,Ee,"ˋ","\\`"),u(I,f,Ee,"ˆ","\\^"),u(I,f,Ee,"˜","\\~"),u(I,f,Ee,"ˉ","\\="),u(I,f,Ee,"˘","\\u"),u(I,f,Ee,"˙","\\."),u(I,f,Ee,"¸","\\c"),u(I,f,Ee,"˚","\\r"),u(I,f,Ee,"ˇ","\\v"),u(I,f,Ee,"¨",'\\"'),u(I,f,Ee,"˝","\\H"),u(I,f,Ee,"◯","\\textcircled");var _a={"--":!0,"---":!0,"``":!0,"''":!0};u(I,f,S,"–","--",!0),u(I,f,S,"–","\\textendash"),u(I,f,S,"—","---",!0),u(I,f,S,"—","\\textemdash"),u(I,f,S,"‘","`",!0),u(I,f,S,"‘","\\textquoteleft"),u(I,f,S,"’","'",!0),u(I,f,S,"’","\\textquoteright"),u(I,f,S,"“","``",!0),u(I,f,S,"“","\\textquotedblleft"),u(I,f,S,"”","''",!0),u(I,f,S,"”","\\textquotedblright"),u(c,f,S,"°","\\degree",!0),u(I,f,S,"°","\\degree"),u(I,f,S,"°","\\textdegree",!0),u(c,f,S,"£","\\pounds"),u(c,f,S,"£","\\mathsterling",!0),u(I,f,S,"£","\\pounds"),u(I,f,S,"£","\\textsterling",!0),u(c,y,S,"✠","\\maltese"),u(I,y,S,"✠","\\maltese");for(var Ba='0123456789/@."',qn=0;qn<Ba.length;qn++){var Ra=Ba.charAt(qn);u(c,f,S,Ra,Ra)}for(var Oa='0123456789!@*()-=+";:?/.,',Hn=0;Hn<Oa.length;Hn++){var Ia=Oa.charAt(Hn);u(I,f,S,Ia,Ia)}for(var Vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Un=0;Un<Vr.length;Un++){var Wr=Vr.charAt(Un);u(c,f,ae,Wr,Wr),u(I,f,S,Wr,Wr)}u(c,y,S,"C","ℂ"),u(I,y,S,"C","ℂ"),u(c,y,S,"H","ℍ"),u(I,y,S,"H","ℍ"),u(c,y,S,"N","ℕ"),u(I,y,S,"N","ℕ"),u(c,y,S,"P","ℙ"),u(I,y,S,"P","ℙ"),u(c,y,S,"Q","ℚ"),u(I,y,S,"Q","ℚ"),u(c,y,S,"R","ℝ"),u(I,y,S,"R","ℝ"),u(c,y,S,"Z","ℤ"),u(I,y,S,"Z","ℤ"),u(c,f,ae,"h","ℎ"),u(I,f,ae,"h","ℎ");for(var le="",Ve=0;Ve<Vr.length;Ve++){var Ce=Vr.charAt(Ve);le=String.fromCharCode(55349,56320+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56372+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56424+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56580+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56684+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56736+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56788+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56840+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56944+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),Ve<26&&(le=String.fromCharCode(55349,56632+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56476+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le))}le="𝕜",u(c,f,ae,"k",le),u(I,f,S,"k",le);for(var Yt=0;Yt<10;Yt++){var Ut=Yt.toString();le=String.fromCharCode(55349,57294+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57314+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57324+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57334+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le)}for(var Gn="ÐÞþ",jn=0;jn<Gn.length;jn++){var Xr=Gn.charAt(jn);u(c,f,ae,Xr,Xr),u(I,f,S,Xr,Xr)}var Kr=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Da=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],g1=function(t,r){var n=t.charCodeAt(0),i=t.charCodeAt(1),a=(n-55296)*1024+(i-56320)+65536,s=r==="math"?0:1;if(119808<=a&&a<120484){var o=Math.floor((a-119808)/26);return[Kr[o][2],Kr[o][s]]}else if(120782<=a&&a<=120831){var l=Math.floor((a-120782)/10);return[Da[l][2],Da[l][s]]}else{if(a===120485||a===120486)return[Kr[0][2],Kr[0][s]];if(120486<a&&a<120782)return["",""];throw new P("Unsupported character: "+t)}},Yr=function(t,r,n){return Se[n][t]&&Se[n][t].replace&&(t=Se[n][t].replace),{value:t,metrics:In(t,r,n)}},ht=function(t,r,n,i,a){var s=Yr(t,r,n),o=s.metrics;t=s.value;var l;if(o){var h=o.italic;(n==="text"||i&&i.font==="mathit")&&(h=0),l=new st(t,o.height,o.depth,h,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),l=new st(t,0,0,0,0,0,a);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var d=i.getColor();d&&(l.style.color=d)}return l},b1=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&Yr(t,"Main-Bold",r).metrics?ht(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||Se[r][t].font==="main"?ht(t,"Main-Regular",r,n,i):ht(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},v1=function(t,r,n,i,a){return a!=="textord"&&Yr(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},y1=function(t,r,n){var i=t.mode,a=t.text,s=["mord"],o=i==="math"||i==="text"&&r.font,l=o?r.font:r.fontFamily,h="",d="";if(a.charCodeAt(0)===55349&&([h,d]=g1(a,i)),h.length>0)return ht(a,h,i,r,s.concat(d));if(l){var p,g;if(l==="boldsymbol"){var m=v1(a,i,r,s,n);p=m.fontName,g=[m.fontClass]}else o?(p=Pa[l].fontName,g=[l]):(p=Zr(l,r.fontWeight,r.fontShape),g=[l,r.fontWeight,r.fontShape]);if(Yr(a,p,i).metrics)return ht(a,p,i,r,s.concat(g));if(_a.hasOwnProperty(a)&&p.slice(0,10)==="Typewriter"){for(var z=[],k=0;k<a.length;k++)z.push(ht(a[k],p,i,r,s.concat(g)));return Fa(z)}}if(n==="mathord")return ht(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var N=Se[i][a]&&Se[i][a].font;if(N==="ams"){var A=Zr("amsrm",r.fontWeight,r.fontShape);return ht(a,A,i,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(N==="main"||!N){var C=Zr("textrm",r.fontWeight,r.fontShape);return ht(a,C,i,r,s.concat(r.fontWeight,r.fontShape))}else{var R=Zr(N,r.fontWeight,r.fontShape);return ht(a,R,i,r,s.concat(R,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},w1=(e,t)=>{if(qt(e.classes)!==qt(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},x1=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof st&&n instanceof st&&w1(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},$n=function(t){for(var r=0,n=0,i=0,a=0;a<t.children.length;a++){var s=t.children[a];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=i},Ye=function(t,r,n,i){var a=new zr(t,r,n,i);return $n(a),a},La=(e,t,r,n)=>new zr(e,t,r,n),k1=function(t,r,n){var i=Ye([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=U(i.height),i.maxFontSize=1,i},z1=function(t,r,n,i){var a=new Fn(t,r,n,i);return $n(a),a},Fa=function(t){var r=new kr(t);return $n(r),r},S1=function(t,r){return t instanceof kr?Ye([],[t],r):t},E1=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s<r.length;s++){var o=-r[s].shift-a-r[s].elem.depth,l=o-(r[s-1].elem.height+r[s-1].elem.depth);a=a+o,n.push({type:"kern",size:l}),n.push(r[s])}return{children:n,depth:i}}var h;if(t.positionType==="top"){for(var d=t.positionData,p=0;p<t.children.length;p++){var g=t.children[p];d-=g.type==="kern"?g.size:g.elem.height+g.elem.depth}h=d}else if(t.positionType==="bottom")h=-t.positionData;else{var m=t.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")h=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")h=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:h}},A1=function(t,r){for(var{children:n,depth:i}=E1(t),a=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var l=o.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var h=Ye(["pstrut"],[]);h.style.height=U(a);for(var d=[],p=i,g=i,m=i,z=0;z<n.length;z++){var k=n[z];if(k.type==="kern")m+=k.size;else{var N=k.elem,A=k.wrapperClasses||[],C=k.wrapperStyle||{},R=Ye(A,[h,N],void 0,C);R.style.top=U(-a-m-N.depth),k.marginLeft&&(R.style.marginLeft=k.marginLeft),k.marginRight&&(R.style.marginRight=k.marginRight),d.push(R),m+=N.height+N.depth}p=Math.min(p,m),g=Math.max(g,m)}var W=Ye(["vlist"],d);W.style.height=U(g);var H;if(p<0){var T=Ye([],[]),X=Ye(["vlist"],[T]);X.style.height=U(-p);var ee=Ye(["vlist-s"],[new st("​")]);H=[Ye(["vlist-r"],[W,ee]),Ye(["vlist-r"],[X])]}else H=[Ye(["vlist-r"],[W])];var G=Ye(["vlist-t"],H);return H.length===2&&G.classes.push("vlist-t2"),G.height=g,G.depth=-p,G},T1=(e,t)=>{var r=Ye(["mspace"],[],t),n=Te(e,t);return r.style.marginRight=U(n),r},Zr=function(t,r,n){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},Pa={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},qa={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},M1=function(t,r){var[n,i,a]=qa[t],s=new Ht(n),o=new Tt([s],{width:U(i),height:U(a),style:"width:"+U(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=La(["overlay"],[o],r);return l.height=a,l.style.height=U(a),l.style.width=U(i),l},E={fontMap:Pa,makeSymbol:ht,mathsym:b1,makeSpan:Ye,makeSvgSpan:La,makeLineSpan:k1,makeAnchor:z1,makeFragment:Fa,wrapFragment:S1,makeVList:A1,makeOrd:y1,makeGlue:T1,staticSvg:M1,svgData:qa,tryCombineChars:x1},Me={number:3,unit:"mu"},Zt={number:4,unit:"mu"},Ct={number:5,unit:"mu"},C1={mord:{mop:Me,mbin:Zt,mrel:Ct,minner:Me},mop:{mord:Me,mop:Me,mrel:Ct,minner:Me},mbin:{mord:Zt,mop:Zt,mopen:Zt,minner:Zt},mrel:{mord:Ct,mop:Ct,mopen:Ct,minner:Ct},mopen:{},mclose:{mop:Me,mbin:Zt,mrel:Ct,minner:Me},mpunct:{mord:Me,mop:Me,mrel:Ct,mopen:Me,mclose:Me,mpunct:Me,minner:Me},minner:{mord:Me,mop:Me,mbin:Zt,mrel:Ct,mopen:Me,mpunct:Me,minner:Me}},N1={mord:{mop:Me},mop:{mord:Me,mop:Me},mbin:{},mrel:{},mopen:{},mclose:{mop:Me},mpunct:{},minner:{mop:Me}},Ha={},Jr={},Qr={};function K(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},l=0;l<r.length;++l)Ha[r[l]]=o;t&&(a&&(Jr[t]=a),s&&(Qr[t]=s))}function Jt(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;K({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var en=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Ne=function(t){return t.type==="ordgroup"?t.body:[t]},Nt=E.makeSpan,_1=["leftmost","mbin","mopen","mrel","mop","mpunct"],B1=["rightmost","mrel","mclose","mpunct"],R1={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT},O1={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ie=function(t,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s<t.length;s++){var o=be(t[s],r);if(o instanceof kr){var l=o.children;a.push(...l)}else a.push(o)}if(E.tryCombineChars(a),!n)return a;var h=r;if(t.length===1){var d=t[0];d.type==="sizing"?h=r.havingSize(d.size):d.type==="styling"&&(h=r.havingStyle(R1[d.style]))}var p=Nt([i[0]||"leftmost"],[],r),g=Nt([i[1]||"rightmost"],[],r),m=n==="root";return Ua(a,(z,k)=>{var N=k.classes[0],A=z.classes[0];N==="mbin"&&oe.contains(B1,A)?k.classes[0]="mord":A==="mbin"&&oe.contains(_1,N)&&(z.classes[0]="mord")},{node:p},g,m),Ua(a,(z,k)=>{var N=Vn(k),A=Vn(z),C=N&&A?z.hasClass("mtight")?N1[N][A]:C1[N][A]:null;if(C)return E.makeGlue(C,h)},{node:p},g,m),a},Ua=function e(t,r,n,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var o=t[s],l=Ga(o);if(l){e(l.children,r,n,null,a);continue}var h=!o.hasClass("mspace");if(h){var d=r(o,n.node);d&&(n.insertAfter?n.insertAfter(d):(t.unshift(d),s++))}h?n.node=o:a&&o.hasClass("newline")&&(n.node=Nt(["leftmost"])),n.insertAfter=(p=>g=>{t.splice(p+1,0,g),s++})(s)}i&&t.pop()},Ga=function(t){return t instanceof kr||t instanceof Fn||t instanceof zr&&t.hasClass("enclosing")?t:null},I1=function e(t,r){var n=Ga(t);if(n){var i=n.children;if(i.length){if(r==="right")return e(i[i.length-1],"right");if(r==="left")return e(i[0],"left")}}return t},Vn=function(t,r){return t?(r&&(t=I1(t,r)),O1[t.classes[0]]||null):null},Sr=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Nt(r.concat(n))},be=function(t,r,n){if(!t)return Nt();if(Jr[t.type]){var i=Jr[t.type](t,r);if(n&&r.size!==n.size){i=Nt(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new P("Got group of unknown type: '"+t.type+"'")};function tn(e,t){var r=Nt(["base"],e,t),n=Nt(["strut"]);return n.style.height=U(r.height+r.depth),r.depth&&(n.style.verticalAlign=U(-r.depth)),r.children.unshift(n),r}function Wn(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Ie(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],s=[],o=0;o<n.length;o++)if(s.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var l=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(l=!0);l||(a.push(tn(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(tn(s,t)),s=[]),a.push(n[o]));s.length>0&&a.push(tn(s,t));var h;r?(h=tn(Ie(r,t,!0)),h.classes=["tag"],a.push(h)):i&&a.push(i);var d=Nt(["katex-html"],a);if(d.setAttribute("aria-hidden","true"),h){var p=h.children[0];p.style.height=U(d.height+d.depth),d.depth&&(p.style.verticalAlign=U(-d.depth))}return d}function ja(e){return new kr(e)}class ot{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=qt(this.classes));for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=oe.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+oe.escape(qt(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Er{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return oe.escape(this.toText())}toText(){return this.text}}class D1{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",U(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+U(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var D={MathNode:ot,TextNode:Er,SpaceNode:D1,newDocumentFragment:ja},lt=function(t,r,n){return Se[r][t]&&Se[r][t].replace&&t.charCodeAt(0)!==55349&&!(_a.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Se[r][t].replace),new D.TextNode(t)},Xn=function(t){return t.length===1?t[0]:new D.MathNode("mrow",t)},Kn=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=t.text;if(oe.contains(["\\imath","\\jmath"],a))return null;Se[i][a]&&Se[i][a].replace&&(a=Se[i][a].replace);var s=E.fontMap[n].fontName;return In(a,s,i)?E.fontMap[n].variant:null},Ze=function(t,r,n){if(t.length===1){var i=xe(t[0],r);return n&&i instanceof ot&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,o=0;o<t.length;o++){var l=xe(t[o],r);if(l instanceof ot&&s instanceof ot){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mi"&&l.children.length===1&&s.type==="mn"){var h=l.children[0];if(h instanceof Er&&h.text==="."){s.children.push(...l.children);continue}}else if(s.type==="mi"&&s.children.length===1){var d=s.children[0];if(d instanceof Er&&d.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var p=l.children[0];p instanceof Er&&p.text.length>0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),a.pop())}}}a.push(l),s=l}return a},Gt=function(t,r,n){return Xn(Ze(t,r,n))},xe=function(t,r){if(!t)return new D.MathNode("mrow");if(Qr[t.type]){var n=Qr[t.type](t,r);return n}else throw new P("Got group of unknown type: '"+t.type+"'")};function $a(e,t,r,n,i){var a=Ze(e,r),s;a.length===1&&a[0]instanceof ot&&oe.contains(["mrow","mtable"],a[0].type)?s=a[0]:s=new D.MathNode("mrow",a);var o=new D.MathNode("annotation",[new D.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new D.MathNode("semantics",[s,o]),h=new D.MathNode("math",[l]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block");var d=i?"katex":"katex-mathml";return E.makeSpan([d],[h])}var Va=function(t){return new At({style:t.displayMode?ne.DISPLAY:ne.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Wa=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=E.makeSpan(n,[t])}return t},L1=function(t,r,n){var i=Va(n),a;if(n.output==="mathml")return $a(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=Wn(t,i);a=E.makeSpan(["katex"],[s])}else{var o=$a(t,r,i,n.displayMode,!1),l=Wn(t,i);a=E.makeSpan(["katex"],[o,l])}return Wa(a,n)},F1=function(t,r,n){var i=Va(n),a=Wn(t,i),s=E.makeSpan(["katex"],[a]);return Wa(s,n)},P1={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},q1=function(t){var r=new D.MathNode("mo",[new D.TextNode(P1[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},H1={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},U1=function(t){return t.type==="ordgroup"?t.body.length:1},G1=function(t,r){function n(){var o=4e5,l=t.label.slice(1);if(oe.contains(["widehat","widecheck","widetilde","utilde"],l)){var h=t,d=U1(h.base),p,g,m;if(d>5)l==="widehat"||l==="widecheck"?(p=420,o=2364,m=.42,g=l+"4"):(p=312,o=2340,m=.34,g="tilde4");else{var z=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(o=[0,1062,2364,2364,2364][z],p=[0,239,300,360,420][z],m=[0,.24,.3,.3,.36,.42][z],g=l+z):(o=[0,600,1033,2339,2340][z],p=[0,260,286,306,312][z],m=[0,.26,.286,.3,.306,.34][z],g="tilde"+z)}var k=new Ht(g),N=new Tt([k],{width:"100%",height:U(m),viewBox:"0 0 "+o+" "+p,preserveAspectRatio:"none"});return{span:E.makeSvgSpan([],[N],r),minWidth:0,height:m}}else{var A=[],C=H1[l],[R,W,H]=C,T=H/1e3,X=R.length,ee,G;if(X===1){var M=C[3];ee=["hide-tail"],G=[M]}else if(X===2)ee=["halfarrow-left","halfarrow-right"],G=["xMinYMin","xMaxYMin"];else if(X===3)ee=["brace-left","brace-center","brace-right"],G=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
258
- `+X+" children.");for(var V=0;V<X;V++){var $=new Ht(R[V]),de=new Tt([$],{width:"400em",height:U(T),viewBox:"0 0 "+o+" "+H,preserveAspectRatio:G[V]+" slice"}),ue=E.makeSvgSpan([ee[V]],[de],r);if(X===1)return{span:ue,minWidth:W,height:T};ue.style.height=U(T),A.push(ue)}return{span:E.makeSpan(["stretchy"],A,r),minWidth:W,height:T}}}var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=U(s),a>0&&(i.style.minWidth=U(a)),i},j1=function(t,r,n,i,a){var s,o=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=E.makeSpan(["stretchy",r],[],a),r==="fbox"){var l=a.color&&a.getColor();l&&(s.style.borderColor=l)}}else{var h=[];/^[bx]cancel$/.test(r)&&h.push(new Pn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&h.push(new Pn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Tt(h,{width:"100%",height:U(o)});s=E.makeSvgSpan([],[d],a)}return s.height=o,s.style.height=U(o),s},_t={encloseSpan:j1,mathMLnode:q1,svgSpan:G1};function he(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Yn(e){var t=rn(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function rn(e){return e&&(e.type==="atom"||f1.hasOwnProperty(e.type))?e:null}var Zn=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=he(e.base,"accent"),r=n.base,e.base=r,i=m1(be(e,t)),e.base=n):(n=he(e,"accent"),r=n.base);var a=be(r,t.havingCrampedStyle()),s=n.isShifty&&oe.isCharacterBox(r),o=0;if(s){var l=oe.getBaseElem(r),h=be(l,t.havingCrampedStyle());o=Na(h).skew}var d=n.label==="\\c",p=d?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),g;if(n.isStretchy)g=_t.svgSpan(n,t),g=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+U(2*o)+")",marginLeft:U(2*o)}:void 0}]},t);else{var m,z;n.label==="\\vec"?(m=E.staticSvg("vec",t),z=E.svgData.vec[1]):(m=E.makeOrd({mode:n.mode,text:n.label},t,"textord"),m=Na(m),m.italic=0,z=m.width,d&&(p+=m.depth)),g=E.makeSpan(["accent-body"],[m]);var k=n.label==="\\textcircled";k&&(g.classes.push("accent-full"),p=a.height);var N=o;k||(N-=z/2),g.style.left=U(N),n.label==="\\textcircled"&&(g.style.top=".2em"),g=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-p},{type:"elem",elem:g}]},t)}var A=E.makeSpan(["mord","accent"],[g],t);return i?(i.children[0]=A,i.height=Math.max(A.height,i.height),i.classes[0]="mord",i):A},Xa=(e,t)=>{var r=e.isStretchy?_t.mathMLnode(e.label):new D.MathNode("mo",[lt(e.label,e.mode)]),n=new D.MathNode("mover",[xe(e.base,t),r]);return n.setAttribute("accent","true"),n},$1=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));K({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=en(t[0]),n=!$1.test(e.funcName),i=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:Zn,mathmlBuilder:Xa}),K({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Zn,mathmlBuilder:Xa}),K({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=be(e.base,t),n=_t.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=E.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return E.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=_t.mathMLnode(e.label),n=new D.MathNode("munder",[xe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var nn=e=>{var t=new D.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};K({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),i=E.wrapFragment(be(e.body,n,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=E.wrapFragment(be(e.below,n,t),t),s.classes.push(a+"-arrow-pad"));var o=_t.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*o.height,h=-t.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(h-=i.depth);var d;if(s){var p=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;d=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:o,shift:l},{type:"elem",elem:s,shift:p}]},t)}else d=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:o,shift:l}]},t);return d.children[0].children[0].children[1].classes.push("svg-align"),E.makeSpan(["mrel","x-arrow"],[d],t)},mathmlBuilder(e,t){var r=_t.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=nn(xe(e.body,t));if(e.below){var a=nn(xe(e.below,t));n=new D.MathNode("munderover",[r,a,i])}else n=new D.MathNode("mover",[r,i])}else if(e.below){var s=nn(xe(e.below,t));n=new D.MathNode("munder",[r,s])}else n=nn(),n=new D.MathNode("mover",[r,n]);return n}});var V1=E.makeSpan;function Ka(e,t){var r=Ie(e.body,t,!0);return V1([e.mclass],r,t)}function Ya(e,t){var r,n=Ze(e.body,t);return e.mclass==="minner"?r=new D.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new D.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new D.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}K({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Ne(i),isCharacterBox:oe.isCharacterBox(i)}},htmlBuilder:Ka,mathmlBuilder:Ya});var an=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};K({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:an(t[0]),body:Ne(t[1]),isCharacterBox:oe.isCharacterBox(t[1])}}}),K({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,i=t[1],a=t[0],s;n!=="\\stackrel"?s=an(i):s="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ne(i)},l={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:oe.isCharacterBox(l)}},htmlBuilder:Ka,mathmlBuilder:Ya}),K({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:an(t[0]),body:Ne(t[0])}},htmlBuilder(e,t){var r=Ie(e.body,t,!0),n=E.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Ze(e.body,t),n=new D.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var W1={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Za=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ja=e=>e.type==="textord"&&e.text==="@",X1=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function K1(e,t,r){var n=W1[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,s,o]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Y1(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new P("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var s=t[a],o=Za(),l=0;l<s.length;l++)if(!Ja(s[l]))o.body.push(s[l]);else{n.push(o),l+=1;var h=Yn(s[l]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(h)>-1))if("<>AV".indexOf(h)>-1)for(var p=0;p<2;p++){for(var g=!0,m=l+1;m<s.length;m++){if(X1(s[m],h)){g=!1,l=m;break}if(Ja(s[m]))throw new P("Missing a "+h+" character to complete a CD arrow.",s[m]);d[p].body.push(s[m])}if(g)throw new P("Missing a "+h+" character to complete a CD arrow.",s[l])}else throw new P('Expected one of "<>AV=|." after @',s[l]);var z=K1(h,d,e),k={type:"styling",body:[z],mode:"math",style:"display"};n.push(k),o=Za()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var N=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:N,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}K({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=E.wrapFragment(be(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=U(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new D.MathNode("mrow",[xe(e.label,t)]);return r=new D.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new D.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),K({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=E.wrapFragment(be(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new D.MathNode("mrow",[xe(e.fragment,t)])}}),K({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=he(t[0],"ordgroup"),i=n.body,a="",s=0;s<i.length;s++){var o=he(i[s],"textord");a+=o.text}var l=parseInt(a),h;if(isNaN(l))throw new P("\\@char has non-numeric argument "+a);if(l<0||l>=1114111)throw new P("\\@char with invalid code point "+a);return l<=65535?h=String.fromCharCode(l):(l-=65536,h=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:h}}});var Qa=(e,t)=>{var r=Ie(e.body,t.withColor(e.color),!1);return E.makeFragment(r)},ei=(e,t)=>{var r=Ze(e.body,t.withColor(e.color)),n=new D.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};K({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=he(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:Ne(i)}},htmlBuilder:Qa,mathmlBuilder:ei}),K({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=he(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:Qa,mathmlBuilder:ei}),K({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&he(i,"size").value}},htmlBuilder(e,t){var r=E.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=U(Te(e.size,t)))),r},mathmlBuilder(e,t){var r=new D.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",U(Te(e.size,t)))),r}});var Jn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},ti=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new P("Expected a control sequence",e);return t},Z1=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},ri=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};K({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(Jn[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=Jn[n.text]),he(t.parseFunction(),"internal");throw new P("Invalid token after macro prefix",n)}}),K({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new P("Expected a control sequence",n);for(var a=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new P('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new P('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new P("Expected a macro definition");o[a].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:o},r===Jn[r]),{type:"internal",mode:t.mode}}}),K({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=ti(t.gullet.popToken());t.gullet.consumeSpaces();var i=Z1(t);return ri(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),K({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=ti(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return ri(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var Ar=function(t,r,n){var i=Se.math[t]&&Se.math[t].replace,a=In(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},Qn=function(t,r,n,i){var a=n.havingBaseStyle(r),s=E.makeSpan(i.concat(a.sizingClasses(n)),[t],n),o=a.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=a.sizeMultiplier,s},ni=function(t,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=U(a),t.height-=a,t.depth+=a},J1=function(t,r,n,i,a,s){var o=E.makeSymbol(t,"Main-Regular",a,i),l=Qn(o,r,i,s);return n&&ni(l,i,r),l},Q1=function(t,r,n,i){return E.makeSymbol(t,"Size"+r+"-Regular",n,i)},ai=function(t,r,n,i,a,s){var o=Q1(t,r,a,i),l=Qn(E.makeSpan(["delimsizing","size"+r],[o],i),ne.TEXT,i,s);return n&&ni(l,i,ne.TEXT),l},e0=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=E.makeSpan(["delimsizinginner",i],[E.makeSpan([],[E.makeSymbol(t,r,n)])]);return{type:"elem",elem:a}},t0=function(t,r,n){var i=yt["Size4-Regular"][t.charCodeAt(0)]?yt["Size4-Regular"][t.charCodeAt(0)][4]:yt["Size1-Regular"][t.charCodeAt(0)][4],a=new Ht("inner",i1(t,Math.round(1e3*r))),s=new Tt([a],{width:U(i),height:U(r),style:"width:"+U(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=E.makeSvgSpan([],[s],n);return o.height=r,o.style.height=U(r),o.style.width=U(i),{type:"elem",elem:o}},r0=.008,sn={type:"kern",size:-1*r0},ec=["|","\\lvert","\\rvert","\\vert"],tc=["\\|","\\lVert","\\rVert","\\Vert"],ii=function(t,r,n,i,a,s){var o,l,h,d,p="",g=0;o=h=d=t,l=null;var m="Size1-Regular";t==="\\uparrow"?h=d="⏐":t==="\\Uparrow"?h=d="‖":t==="\\downarrow"?o=h="⏐":t==="\\Downarrow"?o=h="‖":t==="\\updownarrow"?(o="\\uparrow",h="⏐",d="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",h="‖",d="\\Downarrow"):oe.contains(ec,t)?(h="∣",p="vert",g=333):oe.contains(tc,t)?(h="∥",p="doublevert",g=556):t==="["||t==="\\lbrack"?(o="⎡",h="⎢",d="⎣",m="Size4-Regular",p="lbrack",g=667):t==="]"||t==="\\rbrack"?(o="⎤",h="⎥",d="⎦",m="Size4-Regular",p="rbrack",g=667):t==="\\lfloor"||t==="⌊"?(h=o="⎢",d="⎣",m="Size4-Regular",p="lfloor",g=667):t==="\\lceil"||t==="⌈"?(o="⎡",h=d="⎢",m="Size4-Regular",p="lceil",g=667):t==="\\rfloor"||t==="⌋"?(h=o="⎥",d="⎦",m="Size4-Regular",p="rfloor",g=667):t==="\\rceil"||t==="⌉"?(o="⎤",h=d="⎥",m="Size4-Regular",p="rceil",g=667):t==="("||t==="\\lparen"?(o="⎛",h="⎜",d="⎝",m="Size4-Regular",p="lparen",g=875):t===")"||t==="\\rparen"?(o="⎞",h="⎟",d="⎠",m="Size4-Regular",p="rparen",g=875):t==="\\{"||t==="\\lbrace"?(o="⎧",l="⎨",d="⎩",h="⎪",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",l="⎬",d="⎭",h="⎪",m="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",d="⎩",h="⎪",m="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",d="⎭",h="⎪",m="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",d="⎭",h="⎪",m="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",d="⎩",h="⎪",m="Size4-Regular");var z=Ar(o,m,a),k=z.height+z.depth,N=Ar(h,m,a),A=N.height+N.depth,C=Ar(d,m,a),R=C.height+C.depth,W=0,H=1;if(l!==null){var T=Ar(l,m,a);W=T.height+T.depth,H=2}var X=k+R+W,ee=Math.max(0,Math.ceil((r-X)/(H*A))),G=X+ee*H*A,M=i.fontMetrics().axisHeight;n&&(M*=i.sizeMultiplier);var V=G/2-M,$=[];if(p.length>0){var de=G-k-R,ue=Math.round(G*1e3),re=s1(p,Math.round(de*1e3)),ve=new Ht(p,re),O=(g/1e3).toFixed(3)+"em",L=(ue/1e3).toFixed(3)+"em",Q=new Tt([ve],{width:O,height:L,viewBox:"0 0 "+g+" "+ue}),v=E.makeSvgSpan([],[Q],i);v.height=ue/1e3,v.style.width=O,v.style.height=L,$.push({type:"elem",elem:v})}else{if($.push(e0(d,m,a)),$.push(sn),l===null){var se=G-k-R+2*r0;$.push(t0(h,se,i))}else{var ce=(G-k-R-W)/2+2*r0;$.push(t0(h,ce,i)),$.push(sn),$.push(e0(l,m,a)),$.push(sn),$.push(t0(h,ce,i))}$.push(sn),$.push(e0(o,m,a))}var x=i.havingBaseStyle(ne.TEXT),Oe=E.makeVList({positionType:"bottom",positionData:V,children:$},x);return Qn(E.makeSpan(["delimsizing","mult"],[Oe],x),ne.TEXT,i,s)},n0=80,a0=.08,i0=function(t,r,n,i,a){var s=a1(t,i,n),o=new Ht(t,s),l=new Tt([o],{width:"400em",height:U(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return E.makeSvgSpan(["hide-tail"],[l],a)},rc=function(t,r){var n=r.havingBaseSizing(),i=ui("\\surd",t*n.sizeMultiplier,li,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,l=0,h=0,d=0,p;return i.type==="small"?(d=1e3+1e3*s+n0,t<1?a=1:t<1.4&&(a=.7),l=(1+s+a0)/a,h=(1+s)/a,o=i0("sqrtMain",l,d,s,r),o.style.minWidth="0.853em",p=.833/a):i.type==="large"?(d=(1e3+n0)*Tr[i.size],h=(Tr[i.size]+s)/a,l=(Tr[i.size]+s+a0)/a,o=i0("sqrtSize"+i.size,l,d,s,r),o.style.minWidth="1.02em",p=1/a):(l=t+s+a0,h=t+s,d=Math.floor(1e3*t+s)+n0,o=i0("sqrtTall",l,d,s,r),o.style.minWidth="0.742em",p=1.056),o.height=h,o.style.height=U(l),{span:o,advanceWidth:p,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},si=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],nc=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],oi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Tr=[0,1.2,1.8,2.4,3],ac=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),oe.contains(si,t)||oe.contains(oi,t))return ai(t,r,!1,n,i,a);if(oe.contains(nc,t))return ii(t,Tr[r],!1,n,i,a);throw new P("Illegal delimiter: '"+t+"'")},ic=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],sc=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],li=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],oc=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},ui=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;s<n.length&&n[s].type!=="stack";s++){var o=Ar(t,oc(n[s]),"math"),l=o.height+o.depth;if(n[s].type==="small"){var h=i.havingBaseStyle(n[s].style);l*=h.sizeMultiplier}if(l>r)return n[s]}return n[n.length-1]},ci=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;oe.contains(oi,t)?o=ic:oe.contains(si,t)?o=li:o=sc;var l=ui(t,r,o,i);return l.type==="small"?J1(t,l.style,n,i,a,s):l.type==="large"?ai(t,l.size,n,i,a,s):ii(t,r,n,i,a,s)},lc=function(t,r,n,i,a,s){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,h=5/i.fontMetrics().ptPerEm,d=Math.max(r-o,n+o),p=Math.max(d/500*l,2*d-h);return ci(t,p,!0,i,a,s)},Bt={sqrtImage:rc,sizedDelim:ac,sizeToMaxHeight:Tr,customSizedDelim:ci,leftRightDelim:lc},hi={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},uc=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function on(e,t){var r=rn(e);if(r&&oe.contains(uc,r.text))return r;throw r?new P("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new P("Invalid delimiter type '"+e.type+"'",e)}K({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=on(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:hi[e.funcName].size,mclass:hi[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?E.makeSpan([e.mclass]):Bt.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(lt(e.delim,e.mode));var r=new D.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=U(Bt.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function di(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}K({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new P("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:on(t[0],e).text,color:r}}}),K({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=on(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=he(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{di(e);for(var r=Ie(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s<r.length;s++)r[s].isMiddle?a=!0:(n=Math.max(r[s].height,n),i=Math.max(r[s].depth,i));n*=t.sizeMultiplier,i*=t.sizeMultiplier;var o;if(e.left==="."?o=Sr(t,["mopen"]):o=Bt.leftRightDelim(e.left,n,i,t,e.mode,["mopen"]),r.unshift(o),a)for(var l=1;l<r.length;l++){var h=r[l],d=h.isMiddle;d&&(r[l]=Bt.leftRightDelim(d.delim,n,i,d.options,e.mode,[]))}var p;if(e.right===".")p=Sr(t,["mclose"]);else{var g=e.rightColor?t.withColor(e.rightColor):t;p=Bt.leftRightDelim(e.right,n,i,g,e.mode,["mclose"])}return r.push(p),E.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{di(e);var r=Ze(e.body,t);if(e.left!=="."){var n=new D.MathNode("mo",[lt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new D.MathNode("mo",[lt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return Xn(r)}}),K({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=on(t[0],e);if(!e.parser.leftrightDepth)throw new P("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Sr(t,[]);else{r=Bt.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?lt("|","text"):lt(e.delim,e.mode),n=new D.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var s0=(e,t)=>{var r=E.wrapFragment(be(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,s=0,o=oe.isCharacterBox(e.body);if(n==="sout")a=E.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=Te({number:.6,unit:"pt"},t),h=Te({number:.35,unit:"ex"},t),d=t.havingBaseSizing();i=i/d.sizeMultiplier;var p=r.height+r.depth+l+h;r.style.paddingLeft=U(p/2+l);var g=Math.floor(1e3*p*i),m=r1(g),z=new Tt([new Ht("phase",m)],{width:"400em",height:U(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});a=E.makeSvgSpan(["hide-tail"],[z],t),a.style.height=U(p),s=r.depth+l+h}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var k=0,N=0,A=0;/box/.test(n)?(A=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),k=t.fontMetrics().fboxsep+(n==="colorbox"?0:A),N=k):n==="angl"?(A=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),k=4*A,N=Math.max(0,.25-r.depth)):(k=o?.2:0,N=k),a=_t.encloseSpan(r,n,k,N,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=U(A)):n==="angl"&&A!==.049&&(a.style.borderTopWidth=U(A),a.style.borderRightWidth=U(A)),s=r.depth+N,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var C;if(e.backgroundColor)C=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},t);else{var R=/cancel|phase/.test(n)?["svg-align"]:[];C=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:R}]},t)}return/cancel/.test(n)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(n)&&!o?E.makeSpan(["mord","cancel-lap"],[C],t):E.makeSpan(["mord"],[C],t)},o0=(e,t)=>{var r=0,n=new D.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[xe(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};K({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=he(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:s0,mathmlBuilder:o0}),K({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=he(t[0],"color-token").color,s=he(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:o}},htmlBuilder:s0,mathmlBuilder:o0}),K({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),K({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:s0,mathmlBuilder:o0}),K({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var mi={};function wt(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<r.length;++l)mi[r[l]]=o;a&&(Jr[t]=a),s&&(Qr[t]=s)}var pi={};function b(e,t){pi[e]=t}function fi(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var ln=e=>{var t=e.parser.settings;if(!t.displayMode)throw new P("{"+e.envName+"} can be used only in display mode.")};function l0(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function jt(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:o,autoTag:l,singleRow:h,emptySingleRow:d,maxNumCols:p,leqno:g}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new P("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var z=[],k=[z],N=[],A=[],C=l!=null?[]:void 0;function R(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function W(){C&&(e.gullet.macros.get("\\df@tag")?(C.push(e.subparse([new bt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),A.push(fi(e));;){var H=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),H={type:"ordgroup",mode:e.mode,body:H},r&&(H={type:"styling",mode:e.mode,style:r,body:[H]}),z.push(H);var T=e.fetch().text;if(T==="&"){if(p&&z.length===p){if(h||o)throw new P("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(T==="\\end"){W(),z.length===1&&H.type==="styling"&&H.body[0].body.length===0&&(k.length>1||!d)&&k.pop(),A.length<k.length+1&&A.push([]);break}else if(T==="\\\\"){e.consume();var X=void 0;e.gullet.future().text!==" "&&(X=e.parseSizeGroup(!0)),N.push(X?X.value:null),W(),A.push(fi(e)),z=[],k.push(z),R()}else throw new P("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:k,cols:a,rowGaps:N,hskipBeforeAndAfter:n,hLinesBeforeRow:A,colSeparationType:o,tags:C,leqno:g}}function u0(e){return e.slice(0,1)==="d"?"display":"text"}var xt=function(t,r){var n,i,a=t.body.length,s=t.hLinesBeforeRow,o=0,l=new Array(a),h=[],d=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),p=1/r.fontMetrics().ptPerEm,g=5*p;if(t.colSeparationType&&t.colSeparationType==="small"){var m=r.havingStyle(ne.SCRIPT).sizeMultiplier;g=.2778*(m/r.sizeMultiplier)}var z=t.colSeparationType==="CD"?Te({number:3,unit:"ex"},r):12*p,k=3*p,N=t.arraystretch*z,A=.7*N,C=.3*N,R=0;function W(pt){for(var ie=0;ie<pt.length;++ie)ie>0&&(R+=.25),h.push({pos:R,isDashed:pt[ie]})}for(W(s[0]),n=0;n<t.body.length;++n){var H=t.body[n],T=A,X=C;o<H.length&&(o=H.length);var ee=new Array(H.length);for(i=0;i<H.length;++i){var G=be(H[i],r);X<G.depth&&(X=G.depth),T<G.height&&(T=G.height),ee[i]=G}var M=t.rowGaps[n],V=0;M&&(V=Te(M,r),V>0&&(V+=C,X<V&&(X=V),V=0)),t.addJot&&(X+=k),ee.height=T,ee.depth=X,R+=T,ee.pos=R,R+=X+V,l[n]=ee,W(s[n+1])}var $=R/2+r.fontMetrics().axisHeight,de=t.cols||[],ue=[],re,ve,O=[];if(t.tags&&t.tags.some(pt=>pt))for(n=0;n<a;++n){var L=l[n],Q=L.pos-$,v=t.tags[n],se=void 0;v===!0?se=E.makeSpan(["eqn-num"],[],r):v===!1?se=E.makeSpan([],[],r):se=E.makeSpan([],Ie(v,r,!0),r),se.depth=L.depth,se.height=L.height,O.push({type:"elem",elem:se,shift:Q})}for(i=0,ve=0;i<o||ve<de.length;++i,++ve){for(var ce=de[ve]||{},x=!0;ce.type==="separator";){if(x||(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(r.fontMetrics().doubleRuleSep),ue.push(re)),ce.separator==="|"||ce.separator===":"){var Oe=ce.separator==="|"?"solid":"dashed",we=E.makeSpan(["vertical-separator"],[],r);we.style.height=U(R),we.style.borderRightWidth=U(d),we.style.borderRightStyle=Oe,we.style.margin="0 "+U(-d/2);var ye=R-$;ye&&(we.style.verticalAlign=U(-ye)),ue.push(we)}else throw new P("Invalid separator type: "+ce.separator);ve++,ce=de[ve]||{},x=!1}if(!(i>=o)){var Xe=void 0;(i>0||t.hskipBeforeAndAfter)&&(Xe=oe.deflt(ce.pregap,g),Xe!==0&&(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(Xe),ue.push(re)));var Fe=[];for(n=0;n<a;++n){var Je=l[n],Qe=Je[i];if(Qe){var tr=Je.pos-$;Qe.depth=Je.depth,Qe.height=Je.height,Fe.push({type:"elem",elem:Qe,shift:tr})}}Fe=E.makeVList({positionType:"individualShift",children:Fe},r),Fe=E.makeSpan(["col-align-"+(ce.align||"c")],[Fe]),ue.push(Fe),(i<o-1||t.hskipBeforeAndAfter)&&(Xe=oe.deflt(ce.postgap,g),Xe!==0&&(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(Xe),ue.push(re)))}}if(l=E.makeSpan(["mtable"],ue),h.length>0){for(var Or=E.makeLineSpan("hline",r,d),Ir=E.makeLineSpan("hdashline",r,d),mt=[{type:"elem",elem:l,shift:0}];h.length>0;){var Kt=h.pop(),Ge=Kt.pos-$;Kt.isDashed?mt.push({type:"elem",elem:Ir,shift:Ge}):mt.push({type:"elem",elem:Or,shift:Ge})}l=E.makeVList({positionType:"individualShift",children:mt},r)}if(O.length===0)return E.makeSpan(["mord"],[l],r);var rr=E.makeVList({positionType:"individualShift",children:O},r);return rr=E.makeSpan(["tag"],[rr],r),E.makeFragment([l,rr])},cc={c:"center ",l:"left ",r:"right "},kt=function(t,r){for(var n=[],i=new D.MathNode("mtd",[],["mtr-glue"]),a=new D.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],l=[],h=0;h<o.length;h++)l.push(new D.MathNode("mtd",[xe(o[h],r)]));t.tags&&t.tags[s]&&(l.unshift(i),l.push(i),t.leqno?l.unshift(a):l.push(a)),n.push(new D.MathNode("mtr",l))}var d=new D.MathNode("mtable",n),p=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);d.setAttribute("rowspacing",U(p));var g="",m="";if(t.cols&&t.cols.length>0){var z=t.cols,k="",N=!1,A=0,C=z.length;z[0].type==="separator"&&(g+="top ",A=1),z[z.length-1].type==="separator"&&(g+="bottom ",C-=1);for(var R=A;R<C;R++)z[R].type==="align"?(m+=cc[z[R].align],N&&(k+="none "),N=!0):z[R].type==="separator"&&N&&(k+=z[R].separator==="|"?"solid ":"dashed ",N=!1);d.setAttribute("columnalign",m.trim()),/[sd]/.test(k)&&d.setAttribute("columnlines",k.trim())}if(t.colSeparationType==="align"){for(var W=t.cols||[],H="",T=1;T<W.length;T++)H+=T%2?"0em ":"1em ";d.setAttribute("columnspacing",H.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var X="",ee=t.hLinesBeforeRow;g+=ee[0].length>0?"left ":"",g+=ee[ee.length-1].length>0?"right ":"";for(var G=1;G<ee.length-1;G++)X+=ee[G].length===0?"none ":ee[G][0]?"dashed ":"solid ";return/[sd]/.test(X)&&d.setAttribute("rowlines",X.trim()),g!==""&&(d=new D.MathNode("menclose",[d]),d.setAttribute("notation",g.trim())),t.arraystretch&&t.arraystretch<1&&(d=new D.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},gi=function(t,r){t.envName.indexOf("ed")===-1&&ln(t);var n=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",s=jt(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:l0(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,l=0,h={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",p=0;p<r[0].body.length;p++){var g=he(r[0].body[p],"textord");d+=g.text}o=Number(d),l=o*2}var m=!l;s.body.forEach(function(A){for(var C=1;C<A.length;C+=2){var R=he(A[C],"styling"),W=he(R.body[0],"ordgroup");W.body.unshift(h)}if(m)l<A.length&&(l=A.length);else{var H=A.length/2;if(o<H)throw new P("Too many math in a row: "+("expected "+o+", but got "+H),A[0])}});for(var z=0;z<l;++z){var k="r",N=0;z%2===1?k="l":z>0&&m&&(N=1),n[z]={type:"align",align:k,pregap:N,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};wt({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=rn(t[0]),n=r?[t[0]]:he(t[0],"ordgroup").body,i=n.map(function(s){var o=Yn(s),l=o.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new P("Unknown column alignment: "+l,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return jt(e.parser,a,u0(e.envName))},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new P("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=jt(e.parser,n,u0(e.envName)),s=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=jt(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=rn(t[0]),n=r?[t[0]]:he(t[0],"ordgroup").body,i=n.map(function(s){var o=Yn(s),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new P("Unknown column alignment: "+l,s)});if(i.length>1)throw new P("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=jt(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new P("{subarray} can contain only one column");return a},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=jt(e.parser,t,u0(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:gi,htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){oe.contains(["gather","gather*"],e.envName)&&ln(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:l0(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return jt(e.parser,t,"display")},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:gi,htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){ln(e);var t={autoTag:l0(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return jt(e.parser,t,"display")},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["CD"],props:{numArgs:0},handler(e){return ln(e),Y1(e.parser)},htmlBuilder:xt,mathmlBuilder:kt}),b("\\nonumber","\\gdef\\@eqnsw{0}"),b("\\notag","\\nonumber"),K({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new P(e.funcName+" valid only within array environment")}});var bi=mi;K({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if(i.type!=="ordgroup")throw new P("Invalid environment name",i);for(var a="",s=0;s<i.body.length;++s)a+=he(i.body[s],"textord").text;if(n==="\\begin"){if(!bi.hasOwnProperty(a))throw new P("No such environment: "+a,i);var o=bi[a],{args:l,optArgs:h}=r.parseArguments("\\begin{"+a+"}",o),d={mode:r.mode,envName:a,parser:r},p=o.handler(d,l,h);r.expect("\\end",!1);var g=r.nextToken,m=he(r.parseFunction(),"environment");if(m.name!==a)throw new P("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",g);return p}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var vi=(e,t)=>{var r=e.font,n=t.withFont(r);return be(e.body,n)},yi=(e,t)=>{var r=e.font,n=t.withFont(r);return xe(e.body,n)},wi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};K({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=en(t[0]),a=n;return a in wi&&(a=wi[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:vi,mathmlBuilder:yi}),K({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=oe.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:an(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}}),K({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,s=r.parseExpression(!0,i),o="math"+n.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:vi,mathmlBuilder:yi});var xi=(e,t)=>{var r=t;return e==="display"?r=r.id>=ne.SCRIPT.id?r.text():ne.DISPLAY:e==="text"&&r.size===ne.DISPLAY.size?r=ne.TEXT:e==="script"?r=ne.SCRIPT:e==="scriptscript"&&(r=ne.SCRIPTSCRIPT),r},c0=(e,t)=>{var r=xi(e.size,t.style),n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var s=be(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<l?l:s.depth}a=t.havingStyle(i);var h=be(e.denom,a,t),d,p,g;e.hasBarLine?(e.barSize?(p=Te(e.barSize,t),d=E.makeLineSpan("frac-line",t,p)):d=E.makeLineSpan("frac-line",t),p=d.height,g=d.height):(d=null,p=0,g=t.fontMetrics().defaultRuleThickness);var m,z,k;r.size===ne.DISPLAY.size||e.size==="display"?(m=t.fontMetrics().num1,p>0?z=3*g:z=7*g,k=t.fontMetrics().denom1):(p>0?(m=t.fontMetrics().num2,z=g):(m=t.fontMetrics().num3,z=3*g),k=t.fontMetrics().denom2);var N;if(d){var C=t.fontMetrics().axisHeight;m-s.depth-(C+.5*p)<z&&(m+=z-(m-s.depth-(C+.5*p))),C-.5*p-(h.height-k)<z&&(k+=z-(C-.5*p-(h.height-k)));var R=-(C-.5*p);N=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:d,shift:R},{type:"elem",elem:s,shift:-m}]},t)}else{var A=m-s.depth-(h.height-k);A<z&&(m+=.5*(z-A),k+=.5*(z-A)),N=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:s,shift:-m}]},t)}a=t.havingStyle(r),N.height*=a.sizeMultiplier/t.sizeMultiplier,N.depth*=a.sizeMultiplier/t.sizeMultiplier;var W;r.size===ne.DISPLAY.size?W=t.fontMetrics().delim1:r.size===ne.SCRIPTSCRIPT.size?W=t.havingStyle(ne.SCRIPT).fontMetrics().delim2:W=t.fontMetrics().delim2;var H,T;return e.leftDelim==null?H=Sr(t,["mopen"]):H=Bt.customSizedDelim(e.leftDelim,W,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?T=E.makeSpan([]):e.rightDelim==null?T=Sr(t,["mclose"]):T=Bt.customSizedDelim(e.rightDelim,W,!0,t.havingStyle(r),e.mode,["mclose"]),E.makeSpan(["mord"].concat(a.sizingClasses(t)),[H,E.makeSpan(["mfrac"],[N]),T],t)},h0=(e,t)=>{var r=new D.MathNode("mfrac",[xe(e.numer,t),xe(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Te(e.barSize,t);r.setAttribute("linethickness",U(n))}var i=xi(e.size,t.style);if(i.size!==t.style.size){r=new D.MathNode("mstyle",[r]);var a=i.size===ne.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var s=[];if(e.leftDelim!=null){var o=new D.MathNode("mo",[new D.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),e.rightDelim!=null){var l=new D.MathNode("mo",[new D.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return Xn(s)}return r};K({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1],s,o=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",l=")";break;case"\\\\bracefrac":s=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:o,rightDelim:l,size:h,barSize:null}},htmlBuilder:c0,mathmlBuilder:h0}),K({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),K({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:n}}});var ki=["display","text","script","scriptscript"],zi=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};K({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],i=t[5],a=en(t[0]),s=a.type==="atom"&&a.family==="open"?zi(a.text):null,o=en(t[1]),l=o.type==="atom"&&o.family==="close"?zi(o.text):null,h=he(t[2],"size"),d,p=null;h.isBlank?d=!0:(p=h.value,d=p.number>0);var g="auto",m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var z=he(m.body[0],"textord");g=ki[Number(z.text)]}}else m=he(m,"textord"),g=ki[Number(m.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:d,barSize:p,leftDelim:s,rightDelim:l,size:g}},htmlBuilder:c0,mathmlBuilder:h0}),K({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:he(t[0],"size").value,token:i}}}),K({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=Hu(he(t[1],"infix").size),s=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:c0,mathmlBuilder:h0});var Si=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?be(e.sup,t.havingStyle(r.sup()),t):be(e.sub,t.havingStyle(r.sub()),t),i=he(e.base,"horizBrace")):i=he(e,"horizBrace");var a=be(i.base,t.havingBaseStyle(ne.DISPLAY)),s=_t.svgSpan(i,t),o;if(i.isOver?(o=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=E.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=E.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t);i.isOver?o=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=E.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return E.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t)},hc=(e,t)=>{var r=_t.mathMLnode(e.label);return new D.MathNode(e.isOver?"mover":"munder",[xe(e.base,t),r])};K({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Si,mathmlBuilder:hc}),K({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=he(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:Ne(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Ie(e.body,t,!1);return E.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Gt(e.body,t);return r instanceof ot||(r=new ot("mrow",[r])),r.setAttribute("href",e.href),r}}),K({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=he(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var s=n[a];s==="~"&&(s="\\textasciitilde"),i.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:Ne(o)}}}),K({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:Ne(t[0])}},htmlBuilder(e,t){var r=Ie(e.body,t,!1);return E.makeFragment(r)},mathmlBuilder(e,t){return new D.MathNode("mrow",Ze(e.body,t))}}),K({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:i}=e,a=he(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,l={};switch(n){case"\\htmlClass":l.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var h=a.split(","),d=0;d<h.length;d++){var p=h[d].split("=");if(p.length!==2)throw new P("Error parsing key-value for \\htmlData");l["data-"+p[0].trim()]=p[1].trim()}o={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:l,body:Ne(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Ie(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=E.makeSpan(n,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>Gt(e.body,t)}),K({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Ne(t[0]),mathml:Ne(t[1])}},htmlBuilder:(e,t)=>{var r=Ie(e.html,t,!1);return E.makeFragment(r)},mathmlBuilder:(e,t)=>Gt(e.mathml,t)});var d0=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new P("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Aa(n))throw new P("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};K({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var l=he(r[0],"raw").string,h=l.split(","),d=0;d<h.length;d++){var p=h[d].split("=");if(p.length===2){var g=p[1].trim();switch(p[0].trim()){case"alt":o=g;break;case"width":i=d0(g);break;case"height":a=d0(g);break;case"totalheight":s=d0(g);break;default:throw new P("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var m=he(t[0],"url").url;return o===""&&(o=m,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:s,src:m}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Te(e.height,t),n=0;e.totalheight.number>0&&(n=Te(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=Te(e.width,t));var a={height:U(r+n)};i>0&&(a.width=U(i)),n>0&&(a.verticalAlign=U(-n));var s=new h1(e.src,e.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Te(e.height,t),i=0;if(e.totalheight.number>0&&(i=Te(e.totalheight,t)-n,r.setAttribute("valign",U(-i))),r.setAttribute("height",U(n+i)),e.width.number>0){var a=Te(e.width,t);r.setAttribute("width",U(a))}return r.setAttribute("src",e.src),r}}),K({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=he(t[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(e,t){return E.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=Te(e.dimension,t);return new D.SpaceNode(r)}}),K({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=E.makeSpan([],[be(e.body,t)]),r=E.makeSpan(["inner"],[r],t)):r=E.makeSpan(["inner"],[be(e.body,t)]);var n=E.makeSpan(["fix"],[]),i=E.makeSpan([e.alignment],[r,n],t),a=E.makeSpan(["strut"]);return a.style.height=U(i.height+i.depth),i.depth&&(a.style.verticalAlign=U(-i.depth)),i.children.unshift(a),i=E.makeSpan(["thinbox"],[i],t),E.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mpadded",[xe(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),K({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}}),K({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new P("Mismatched "+e.funcName)}});var Ei=(e,t)=>{switch(t.style.size){case ne.DISPLAY.size:return e.display;case ne.TEXT.size:return e.text;case ne.SCRIPT.size:return e.script;case ne.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};K({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Ne(t[0]),text:Ne(t[1]),script:Ne(t[2]),scriptscript:Ne(t[3])}},htmlBuilder:(e,t)=>{var r=Ei(e,t),n=Ie(r,t,!1);return E.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Ei(e,t);return Gt(r,t)}});var Ai=(e,t,r,n,i,a,s)=>{e=E.makeSpan([],[e]);var o=r&&oe.isCharacterBox(r),l,h;if(t){var d=be(t,n.havingStyle(i.sup()),n);h={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var p=be(r,n.havingStyle(i.sub()),n);l={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}var g;if(h&&l){var m=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;g=E.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:U(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:U(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var z=e.height-s;g=E.makeVList({positionType:"top",positionData:z,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:U(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},n)}else if(h){var k=e.depth+s;g=E.makeVList({positionType:"bottom",positionData:k,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:U(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var N=[g];if(l&&a!==0&&!o){var A=E.makeSpan(["mspace"],[],n);A.style.marginRight=U(a),N.unshift(A)}return E.makeSpan(["mop","op-limits"],N,n)},Ti=["\\smallint"],dr=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=he(e.base,"op"),i=!0):a=he(e,"op");var s=t.style,o=!1;s.size===ne.DISPLAY.size&&a.symbol&&!oe.contains(Ti,a.name)&&(o=!0);var l;if(a.symbol){var h=o?"Size2-Regular":"Size1-Regular",d="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(d=a.name.slice(1),a.name=d==="oiint"?"\\iint":"\\iiint"),l=E.makeSymbol(a.name,h,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),d.length>0){var p=l.italic,g=E.staticSvg(d+"Size"+(o?"2":"1"),t);l=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:g,shift:o?.08:0}]},t),a.name="\\"+d,l.classes.unshift("mop"),l.italic=p}}else if(a.body){var m=Ie(a.body,t,!0);m.length===1&&m[0]instanceof st?(l=m[0],l.classes[0]="mop"):l=E.makeSpan(["mop"],m,t)}else{for(var z=[],k=1;k<a.name.length;k++)z.push(E.mathsym(a.name[k],a.mode,t));l=E.makeSpan(["mop"],z,t)}var N=0,A=0;return(l instanceof st||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(N=(l.height-l.depth)/2-t.fontMetrics().axisHeight,A=l.italic),i?Ai(l,r,n,t,s,A,N):(N&&(l.style.position="relative",l.style.top=U(N)),l)},Mr=(e,t)=>{var r;if(e.symbol)r=new ot("mo",[lt(e.name,e.mode)]),oe.contains(Ti,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new ot("mo",Ze(e.body,t));else{r=new ot("mi",[new Er(e.name.slice(1))]);var n=new ot("mo",[lt("⁡","text")]);e.parentIsSupSub?r=new ot("mrow",[r,n]):r=ja([r,n])}return r},dc={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};K({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return i.length===1&&(i=dc[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:dr,mathmlBuilder:Mr}),K({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ne(n)}},htmlBuilder:dr,mathmlBuilder:Mr});var mc={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};K({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:dr,mathmlBuilder:Mr}),K({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:dr,mathmlBuilder:Mr}),K({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=mc[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:dr,mathmlBuilder:Mr});var Mi=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=he(e.base,"operatorname"),i=!0):a=he(e,"operatorname");var s;if(a.body.length>0){for(var o=a.body.map(p=>{var g=p.text;return typeof g=="string"?{type:"textord",mode:p.mode,text:g}:p}),l=Ie(o,t.withFont("mathrm"),!0),h=0;h<l.length;h++){var d=l[h];d instanceof st&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=E.makeSpan(["mop"],l,t)}else s=E.makeSpan(["mop"],[],t);return i?Ai(s,r,n,t,t.style,0,0):s},pc=(e,t)=>{for(var r=Ze(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof D.SpaceNode))if(a instanceof D.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=a.children[0];a.children.length===1&&s instanceof D.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(d=>d.toText()).join("");r=[new D.TextNode(o)]}var l=new D.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new D.MathNode("mo",[lt("⁡","text")]);return e.parentIsSupSub?new D.MathNode("mrow",[l,h]):D.newDocumentFragment([l,h])};K({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:Ne(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Mi,mathmlBuilder:pc}),b("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Jt({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?E.makeFragment(Ie(e.body,t,!1)):E.makeSpan(["mord"],Ie(e.body,t,!0),t)},mathmlBuilder(e,t){return Gt(e.body,t,!0)}}),K({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle()),n=E.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return E.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new D.MathNode("mover",[xe(e.body,t),r]);return n.setAttribute("accent","true"),n}}),K({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:Ne(n)}},htmlBuilder:(e,t)=>{var r=Ie(e.body,t.withPhantom(),!1);return E.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Ze(e.body,t);return new D.MathNode("mphantom",r)}}),K({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=E.makeSpan([],[be(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),E.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=Ze(Ne(e.body),t),n=new D.MathNode("mphantom",r),i=new D.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),K({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=E.makeSpan(["inner"],[be(e.body,t.withPhantom())]),n=E.makeSpan(["fix"],[]);return E.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Ze(Ne(e.body),t),n=new D.MathNode("mphantom",r),i=new D.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}}),K({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=he(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=be(e.body,t),n=Te(e.dy,t);return E.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new D.MathNode("mpadded",[xe(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),K({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),K({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=he(t[0],"size"),s=he(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&he(i,"size").value,width:a.value,height:s.value}},htmlBuilder(e,t){var r=E.makeSpan(["mord","rule"],[],t),n=Te(e.width,t),i=Te(e.height,t),a=e.shift?Te(e.shift,t):0;return r.style.borderRightWidth=U(n),r.style.borderTopWidth=U(i),r.style.bottom=U(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Te(e.width,t),n=Te(e.height,t),i=e.shift?Te(e.shift,t):0,a=t.color&&t.getColor()||"black",s=new D.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",U(r)),s.setAttribute("height",U(n));var o=new D.MathNode("mpadded",[s]);return i>=0?o.setAttribute("height",U(i)):(o.setAttribute("height",U(i)),o.setAttribute("depth",U(-i))),o.setAttribute("voffset",U(i)),o}});function Ci(e,t,r){for(var n=Ie(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var s=n[a].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[s+1]==="reset-size"+t.size&&(n[a].classes[s+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return E.makeFragment(n)}var Ni=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fc=(e,t)=>{var r=t.havingSize(e.size);return Ci(e.body,r,t)};K({type:"sizing",names:Ni,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:Ni.indexOf(n)+1,body:a}},htmlBuilder:fc,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Ze(e.body,r),i=new D.MathNode("mstyle",n);return i.setAttribute("mathsize",U(r.sizeMultiplier)),i}}),K({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,s=r[0]&&he(r[0],"ordgroup");if(s)for(var o="",l=0;l<s.body.length;++l){var h=s.body[l];if(o=h.text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var d=t[0];return{type:"smash",mode:n.mode,body:d,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=E.makeSpan([],[be(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var a=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return E.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mpadded",[xe(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),K({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=E.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.id<ne.TEXT.id&&(a=t.fontMetrics().xHeight);var s=i+a/4,o=r.height+r.depth+s+i,{span:l,ruleWidth:h,advanceWidth:d}=Bt.sqrtImage(o,t),p=l.height-h;p>r.height+r.depth+s&&(s=(s+p-r.height-r.depth)/2);var g=l.height-r.height-s-h;r.style.paddingLeft=U(d);var m=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:l},{type:"kern",size:h}]},t);if(e.index){var z=t.havingStyle(ne.SCRIPTSCRIPT),k=be(e.index,z,t),N=.6*(m.height-m.depth),A=E.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:k}]},t),C=E.makeSpan(["root"],[A]);return E.makeSpan(["mord","sqrt"],[C,m],t)}else return E.makeSpan(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new D.MathNode("mroot",[xe(r,t),xe(n,t)]):new D.MathNode("msqrt",[xe(r,t)])}});var _i={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};K({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(e,t){var r=_i[e.style],n=t.havingStyle(r).withFont("");return Ci(e.body,n,t)},mathmlBuilder(e,t){var r=_i[e.style],n=t.havingStyle(r),i=Ze(e.body,n),a=new D.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var gc=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return i?dr:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===ne.DISPLAY.size||n.limits);return a?Mi:null}else{if(n.type==="accent")return oe.isCharacterBox(n.base)?Zn:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Si:null}else return null}else return null};Jt({type:"supsub",htmlBuilder(e,t){var r=gc(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,s=be(n,t),o,l,h=t.fontMetrics(),d=0,p=0,g=n&&oe.isCharacterBox(n);if(i){var m=t.havingStyle(t.style.sup());o=be(i,m,t),g||(d=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var z=t.havingStyle(t.style.sub());l=be(a,z,t),g||(p=s.depth+z.fontMetrics().subDrop*z.sizeMultiplier/t.sizeMultiplier)}var k;t.style===ne.DISPLAY?k=h.sup1:t.style.cramped?k=h.sup3:k=h.sup2;var N=t.sizeMultiplier,A=U(.5/h.ptPerEm/N),C=null;if(l){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof st||R)&&(C=U(-s.italic))}var W;if(o&&l){d=Math.max(d,k,o.depth+.25*h.xHeight),p=Math.max(p,h.sub2);var H=h.defaultRuleThickness,T=4*H;if(d-o.depth-(l.height-p)<T){p=T-(d-o.depth)+l.height;var X=.8*h.xHeight-(d-o.depth);X>0&&(d+=X,p-=X)}var ee=[{type:"elem",elem:l,shift:p,marginRight:A,marginLeft:C},{type:"elem",elem:o,shift:-d,marginRight:A}];W=E.makeVList({positionType:"individualShift",children:ee},t)}else if(l){p=Math.max(p,h.sub1,l.height-.8*h.xHeight);var G=[{type:"elem",elem:l,marginLeft:C,marginRight:A}];W=E.makeVList({positionType:"shift",positionData:p,children:G},t)}else if(o)d=Math.max(d,k,o.depth+.25*h.xHeight),W=E.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:o,marginRight:A}]},t);else throw new Error("supsub must have either sup or sub.");var M=Vn(s,"right")||"mord";return E.makeSpan([M],[s,E.makeSpan(["msupsub"],[W])],t)},mathmlBuilder(e,t){var r=!1,n,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[xe(e.base,t)];e.sub&&a.push(xe(e.sub,t)),e.sup&&a.push(xe(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var h=e.base;h&&h.type==="op"&&h.limits&&t.style===ne.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===ne.DISPLAY||h.limits)?s="munderover":s="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===ne.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===ne.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===ne.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===ne.DISPLAY)?s="mover":s="msup"}return new D.MathNode(s,a)}}),Jt({type:"atom",htmlBuilder(e,t){return E.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new D.MathNode("mo",[lt(e.text,e.mode)]);if(e.family==="bin"){var n=Kn(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Bi={mi:"italic",mn:"normal",mtext:"normal"};Jt({type:"mathord",htmlBuilder(e,t){return E.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new D.MathNode("mi",[lt(e.text,e.mode,t)]),n=Kn(e,t)||"italic";return n!==Bi[r.type]&&r.setAttribute("mathvariant",n),r}}),Jt({type:"textord",htmlBuilder(e,t){return E.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=lt(e.text,e.mode,t),n=Kn(e,t)||"normal",i;return e.mode==="text"?i=new D.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new D.MathNode("mn",[r]):e.text==="\\prime"?i=new D.MathNode("mo",[r]):i=new D.MathNode("mi",[r]),n!==Bi[i.type]&&i.setAttribute("mathvariant",n),i}});var m0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},p0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Jt({type:"spacing",htmlBuilder(e,t){if(p0.hasOwnProperty(e.text)){var r=p0[e.text].className||"";if(e.mode==="text"){var n=E.makeOrd(e,t,"textord");return n.classes.push(r),n}else return E.makeSpan(["mspace",r],[E.mathsym(e.text,e.mode,t)],t)}else{if(m0.hasOwnProperty(e.text))return E.makeSpan(["mspace",m0[e.text]],[],t);throw new P('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(p0.hasOwnProperty(e.text))r=new D.MathNode("mtext",[new D.TextNode(" ")]);else{if(m0.hasOwnProperty(e.text))return new D.MathNode("mspace");throw new P('Unknown type of space "'+e.text+'"')}return r}});var Ri=()=>{var e=new D.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Jt({type:"tag",mathmlBuilder(e,t){var r=new D.MathNode("mtable",[new D.MathNode("mtr",[Ri(),new D.MathNode("mtd",[Gt(e.body,t)]),Ri(),new D.MathNode("mtd",[Gt(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Oi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ii={"\\textbf":"textbf","\\textmd":"textmd"},bc={"\\textit":"textit","\\textup":"textup"},Di=(e,t)=>{var r=e.font;return r?Oi[r]?t.withTextFontFamily(Oi[r]):Ii[r]?t.withTextFontWeight(Ii[r]):t.withTextFontShape(bc[r]):t};K({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:Ne(i),font:n}},htmlBuilder(e,t){var r=Di(e,t),n=Ie(e.body,r,!0);return E.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Di(e,t);return Gt(e.body,r)}}),K({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=E.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=E.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return E.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new D.MathNode("munder",[xe(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),K({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return E.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new D.MathNode("mpadded",[xe(e.body,t)],["vcenter"])}}),K({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new P("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Li(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),n.push(E.makeSymbol(s,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return E.makeSpan(["mord","text"].concat(i.sizingClasses(t)),E.tryCombineChars(n),i)},mathmlBuilder(e,t){var r=new D.TextNode(Li(e)),n=new D.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Li=e=>e.body.replace(/ /g,e.star?"␣":" "),$t=Ha,Fi=`[ \r
257
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class kr{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return oe.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var yt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},jr={slant:[.25,.25,.25],space:[0,0,0],stretch:[0,0,0],shrink:[0,0,0],xHeight:[.431,.431,.431],quad:[1,1.171,1.472],extraSpace:[0,0,0],num1:[.677,.732,.925],num2:[.394,.384,.387],num3:[.444,.471,.504],denom1:[.686,.752,1.025],denom2:[.345,.344,.532],sup1:[.413,.503,.504],sup2:[.363,.431,.404],sup3:[.289,.286,.294],sub1:[.15,.143,.2],sub2:[.247,.286,.4],supDrop:[.386,.353,.494],subDrop:[.05,.071,.1],delim1:[2.39,1.7,1.98],delim2:[1.01,1.157,1.42],axisHeight:[.25,.25,.25],defaultRuleThickness:[.04,.049,.049],bigOpSpacing1:[.111,.111,.111],bigOpSpacing2:[.166,.166,.166],bigOpSpacing3:[.2,.2,.2],bigOpSpacing4:[.6,.611,.611],bigOpSpacing5:[.1,.143,.143],sqrtRuleThickness:[.04,.04,.04],ptPerEm:[10,10,10],doubleRuleSep:[.2,.2,.2],arrayRuleWidth:[.04,.04,.04],fboxsep:[.3,.3,.3],fboxrule:[.04,.04,.04]},za={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function o1(e,t){yt[e]=t}function In(e,t,r){if(!yt[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=yt[t][n];if(!i&&e[0]in za&&(n=za[e[0]].charCodeAt(0),i=yt[t][n]),!i&&r==="text"&&xa(n)&&(i=yt[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Dn={};function l1(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Dn[t]){var r=Dn[t]={cssEmPerMu:jr.quad[t]/18};for(var n in jr)jr.hasOwnProperty(n)&&(r[n]=jr[n][t])}return Dn[t]}var u1=[[1,1,1],[2,1,1],[3,1,1],[4,2,1],[5,2,1],[6,3,1],[7,4,2],[8,6,3],[9,7,6],[10,8,7],[11,10,9]],Sa=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Ea=function(t,r){return r.size<2?t:u1[t-1][r.size-1]};class At{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||At.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Sa[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new At(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Ea(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Sa[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Ea(At.BASESIZE,t);return this.size===r&&this.textSize===At.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==At.BASESIZE?["sizing","reset-size"+this.size,"size"+At.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=l1(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}At.BASESIZE=6;var Ln={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},c1={ex:!0,em:!0,mu:!0},Aa=function(t){return typeof t!="string"&&(t=t.unit),t in Ln||t in c1||t==="ex"},Te=function(t,r){var n;if(t.unit in Ln)n=Ln[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var i;if(r.style.isTight()?i=r.havingStyle(r.style.text()):i=r,t.unit==="ex")n=i.fontMetrics().xHeight;else if(t.unit==="em")n=i.fontMetrics().quad;else throw new P("Invalid unit: '"+t.unit+"'");i!==r&&(n*=i.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},U=function(t){return+t.toFixed(4)+"em"},qt=function(t){return t.filter(r=>r).join(" ")},Ta=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var i=r.getColor();i&&(this.style.color=i)}},Ma=function(t){var r=document.createElement(t);r.className=qt(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var i in this.attributes)this.attributes.hasOwnProperty(i)&&r.setAttribute(i,this.attributes[i]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r},Ca=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+oe.escape(qt(this.classes))+'"');var n="";for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=oe.hyphenate(i)+":"+this.style[i]+";");n&&(r+=' style="'+oe.escape(n)+'"');for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&(r+=" "+a+'="'+oe.escape(this.attributes[a])+'"');r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class zr{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,Ta.call(this,t,n,i),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return oe.contains(this.classes,t)}toNode(){return Ma.call(this,"span")}toMarkup(){return Ca.call(this,"span")}}class Fn{constructor(t,r,n,i){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,Ta.call(this,r,i),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return oe.contains(this.classes,t)}toNode(){return Ma.call(this,"a")}toMarkup(){return Ca.call(this,"a")}}class h1{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return oe.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t="<img src='"+this.src+" 'alt='"+this.alt+"' ",r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=oe.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+oe.escape(r)+'"'),t+="'/>",t}}var d1={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class st{constructor(t,r,n,i,a,s,o,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=i||0,this.skew=a||0,this.width=s||0,this.classes=o||[],this.style=l||{},this.maxFontSize=0;var h=Yu(this.text.charCodeAt(0));h&&this.classes.push(h+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=d1[this.text])}hasClass(t){return oe.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=U(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=qt(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=oe.escape(qt(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var i in this.style)this.style.hasOwnProperty(i)&&(n+=oe.hyphenate(i)+":"+this.style[i]+";");n&&(t=!0,r+=' style="'+oe.escape(n)+'"');var a=oe.escape(this.text);return t?(r+=">",r+=a,r+="</span>",r):a}}class Tt{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+"='"+this.attributes[r]+"'");t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Ht{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",ka[this.pathName]),r}toMarkup(){return this.alternate?"<path d='"+this.alternate+"'/>":"<path d='"+ka[this.pathName]+"'/>"}}class Pn{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+"='"+this.attributes[r]+"'");return t+="/>",t}}function Na(e){if(e instanceof st)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function m1(e){if(e instanceof zr)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var p1={bin:1,close:1,inner:1,open:1,punct:1,rel:1},f1={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Se={math:{},text:{}};function u(e,t,r,n,i,a){Se[e][i]={font:t,group:r,replace:n},a&&n&&(Se[e][n]=Se[e][i])}var c="math",I="text",f="main",y="ams",Ee="accent-token",Z="bin",$e="close",hr="inner",ae="mathord",_e="op-token",tt="open",$r="punct",w="rel",Mt="spacing",S="textord";u(c,f,w,"≡","\\equiv",!0),u(c,f,w,"≺","\\prec",!0),u(c,f,w,"≻","\\succ",!0),u(c,f,w,"∼","\\sim",!0),u(c,f,w,"⊥","\\perp"),u(c,f,w,"⪯","\\preceq",!0),u(c,f,w,"⪰","\\succeq",!0),u(c,f,w,"≃","\\simeq",!0),u(c,f,w,"∣","\\mid",!0),u(c,f,w,"≪","\\ll",!0),u(c,f,w,"≫","\\gg",!0),u(c,f,w,"≍","\\asymp",!0),u(c,f,w,"∥","\\parallel"),u(c,f,w,"⋈","\\bowtie",!0),u(c,f,w,"⌣","\\smile",!0),u(c,f,w,"⊑","\\sqsubseteq",!0),u(c,f,w,"⊒","\\sqsupseteq",!0),u(c,f,w,"≐","\\doteq",!0),u(c,f,w,"⌢","\\frown",!0),u(c,f,w,"∋","\\ni",!0),u(c,f,w,"∝","\\propto",!0),u(c,f,w,"⊢","\\vdash",!0),u(c,f,w,"⊣","\\dashv",!0),u(c,f,w,"∋","\\owns"),u(c,f,$r,".","\\ldotp"),u(c,f,$r,"⋅","\\cdotp"),u(c,f,S,"#","\\#"),u(I,f,S,"#","\\#"),u(c,f,S,"&","\\&"),u(I,f,S,"&","\\&"),u(c,f,S,"ℵ","\\aleph",!0),u(c,f,S,"∀","\\forall",!0),u(c,f,S,"ℏ","\\hbar",!0),u(c,f,S,"∃","\\exists",!0),u(c,f,S,"∇","\\nabla",!0),u(c,f,S,"♭","\\flat",!0),u(c,f,S,"ℓ","\\ell",!0),u(c,f,S,"♮","\\natural",!0),u(c,f,S,"♣","\\clubsuit",!0),u(c,f,S,"℘","\\wp",!0),u(c,f,S,"♯","\\sharp",!0),u(c,f,S,"♢","\\diamondsuit",!0),u(c,f,S,"ℜ","\\Re",!0),u(c,f,S,"♡","\\heartsuit",!0),u(c,f,S,"ℑ","\\Im",!0),u(c,f,S,"♠","\\spadesuit",!0),u(c,f,S,"§","\\S",!0),u(I,f,S,"§","\\S"),u(c,f,S,"¶","\\P",!0),u(I,f,S,"¶","\\P"),u(c,f,S,"†","\\dag"),u(I,f,S,"†","\\dag"),u(I,f,S,"†","\\textdagger"),u(c,f,S,"‡","\\ddag"),u(I,f,S,"‡","\\ddag"),u(I,f,S,"‡","\\textdaggerdbl"),u(c,f,$e,"⎱","\\rmoustache",!0),u(c,f,tt,"⎰","\\lmoustache",!0),u(c,f,$e,"⟯","\\rgroup",!0),u(c,f,tt,"⟮","\\lgroup",!0),u(c,f,Z,"∓","\\mp",!0),u(c,f,Z,"⊖","\\ominus",!0),u(c,f,Z,"⊎","\\uplus",!0),u(c,f,Z,"⊓","\\sqcap",!0),u(c,f,Z,"∗","\\ast"),u(c,f,Z,"⊔","\\sqcup",!0),u(c,f,Z,"◯","\\bigcirc",!0),u(c,f,Z,"∙","\\bullet",!0),u(c,f,Z,"‡","\\ddagger"),u(c,f,Z,"≀","\\wr",!0),u(c,f,Z,"⨿","\\amalg"),u(c,f,Z,"&","\\And"),u(c,f,w,"⟵","\\longleftarrow",!0),u(c,f,w,"⇐","\\Leftarrow",!0),u(c,f,w,"⟸","\\Longleftarrow",!0),u(c,f,w,"⟶","\\longrightarrow",!0),u(c,f,w,"⇒","\\Rightarrow",!0),u(c,f,w,"⟹","\\Longrightarrow",!0),u(c,f,w,"↔","\\leftrightarrow",!0),u(c,f,w,"⟷","\\longleftrightarrow",!0),u(c,f,w,"⇔","\\Leftrightarrow",!0),u(c,f,w,"⟺","\\Longleftrightarrow",!0),u(c,f,w,"↦","\\mapsto",!0),u(c,f,w,"⟼","\\longmapsto",!0),u(c,f,w,"↗","\\nearrow",!0),u(c,f,w,"↩","\\hookleftarrow",!0),u(c,f,w,"↪","\\hookrightarrow",!0),u(c,f,w,"↘","\\searrow",!0),u(c,f,w,"↼","\\leftharpoonup",!0),u(c,f,w,"⇀","\\rightharpoonup",!0),u(c,f,w,"↙","\\swarrow",!0),u(c,f,w,"↽","\\leftharpoondown",!0),u(c,f,w,"⇁","\\rightharpoondown",!0),u(c,f,w,"↖","\\nwarrow",!0),u(c,f,w,"⇌","\\rightleftharpoons",!0),u(c,y,w,"≮","\\nless",!0),u(c,y,w,"","\\@nleqslant"),u(c,y,w,"","\\@nleqq"),u(c,y,w,"⪇","\\lneq",!0),u(c,y,w,"≨","\\lneqq",!0),u(c,y,w,"","\\@lvertneqq"),u(c,y,w,"⋦","\\lnsim",!0),u(c,y,w,"⪉","\\lnapprox",!0),u(c,y,w,"⊀","\\nprec",!0),u(c,y,w,"⋠","\\npreceq",!0),u(c,y,w,"⋨","\\precnsim",!0),u(c,y,w,"⪹","\\precnapprox",!0),u(c,y,w,"≁","\\nsim",!0),u(c,y,w,"","\\@nshortmid"),u(c,y,w,"∤","\\nmid",!0),u(c,y,w,"⊬","\\nvdash",!0),u(c,y,w,"⊭","\\nvDash",!0),u(c,y,w,"⋪","\\ntriangleleft"),u(c,y,w,"⋬","\\ntrianglelefteq",!0),u(c,y,w,"⊊","\\subsetneq",!0),u(c,y,w,"","\\@varsubsetneq"),u(c,y,w,"⫋","\\subsetneqq",!0),u(c,y,w,"","\\@varsubsetneqq"),u(c,y,w,"≯","\\ngtr",!0),u(c,y,w,"","\\@ngeqslant"),u(c,y,w,"","\\@ngeqq"),u(c,y,w,"⪈","\\gneq",!0),u(c,y,w,"≩","\\gneqq",!0),u(c,y,w,"","\\@gvertneqq"),u(c,y,w,"⋧","\\gnsim",!0),u(c,y,w,"⪊","\\gnapprox",!0),u(c,y,w,"⊁","\\nsucc",!0),u(c,y,w,"⋡","\\nsucceq",!0),u(c,y,w,"⋩","\\succnsim",!0),u(c,y,w,"⪺","\\succnapprox",!0),u(c,y,w,"≆","\\ncong",!0),u(c,y,w,"","\\@nshortparallel"),u(c,y,w,"∦","\\nparallel",!0),u(c,y,w,"⊯","\\nVDash",!0),u(c,y,w,"⋫","\\ntriangleright"),u(c,y,w,"⋭","\\ntrianglerighteq",!0),u(c,y,w,"","\\@nsupseteqq"),u(c,y,w,"⊋","\\supsetneq",!0),u(c,y,w,"","\\@varsupsetneq"),u(c,y,w,"⫌","\\supsetneqq",!0),u(c,y,w,"","\\@varsupsetneqq"),u(c,y,w,"⊮","\\nVdash",!0),u(c,y,w,"⪵","\\precneqq",!0),u(c,y,w,"⪶","\\succneqq",!0),u(c,y,w,"","\\@nsubseteqq"),u(c,y,Z,"⊴","\\unlhd"),u(c,y,Z,"⊵","\\unrhd"),u(c,y,w,"↚","\\nleftarrow",!0),u(c,y,w,"↛","\\nrightarrow",!0),u(c,y,w,"⇍","\\nLeftarrow",!0),u(c,y,w,"⇏","\\nRightarrow",!0),u(c,y,w,"↮","\\nleftrightarrow",!0),u(c,y,w,"⇎","\\nLeftrightarrow",!0),u(c,y,w,"△","\\vartriangle"),u(c,y,S,"ℏ","\\hslash"),u(c,y,S,"▽","\\triangledown"),u(c,y,S,"◊","\\lozenge"),u(c,y,S,"Ⓢ","\\circledS"),u(c,y,S,"®","\\circledR"),u(I,y,S,"®","\\circledR"),u(c,y,S,"∡","\\measuredangle",!0),u(c,y,S,"∄","\\nexists"),u(c,y,S,"℧","\\mho"),u(c,y,S,"Ⅎ","\\Finv",!0),u(c,y,S,"⅁","\\Game",!0),u(c,y,S,"‵","\\backprime"),u(c,y,S,"▲","\\blacktriangle"),u(c,y,S,"▼","\\blacktriangledown"),u(c,y,S,"■","\\blacksquare"),u(c,y,S,"⧫","\\blacklozenge"),u(c,y,S,"★","\\bigstar"),u(c,y,S,"∢","\\sphericalangle",!0),u(c,y,S,"∁","\\complement",!0),u(c,y,S,"ð","\\eth",!0),u(I,f,S,"ð","ð"),u(c,y,S,"╱","\\diagup"),u(c,y,S,"╲","\\diagdown"),u(c,y,S,"□","\\square"),u(c,y,S,"□","\\Box"),u(c,y,S,"◊","\\Diamond"),u(c,y,S,"¥","\\yen",!0),u(I,y,S,"¥","\\yen",!0),u(c,y,S,"✓","\\checkmark",!0),u(I,y,S,"✓","\\checkmark"),u(c,y,S,"ℶ","\\beth",!0),u(c,y,S,"ℸ","\\daleth",!0),u(c,y,S,"ℷ","\\gimel",!0),u(c,y,S,"ϝ","\\digamma",!0),u(c,y,S,"ϰ","\\varkappa"),u(c,y,tt,"┌","\\@ulcorner",!0),u(c,y,$e,"┐","\\@urcorner",!0),u(c,y,tt,"└","\\@llcorner",!0),u(c,y,$e,"┘","\\@lrcorner",!0),u(c,y,w,"≦","\\leqq",!0),u(c,y,w,"⩽","\\leqslant",!0),u(c,y,w,"⪕","\\eqslantless",!0),u(c,y,w,"≲","\\lesssim",!0),u(c,y,w,"⪅","\\lessapprox",!0),u(c,y,w,"≊","\\approxeq",!0),u(c,y,Z,"⋖","\\lessdot"),u(c,y,w,"⋘","\\lll",!0),u(c,y,w,"≶","\\lessgtr",!0),u(c,y,w,"⋚","\\lesseqgtr",!0),u(c,y,w,"⪋","\\lesseqqgtr",!0),u(c,y,w,"≑","\\doteqdot"),u(c,y,w,"≓","\\risingdotseq",!0),u(c,y,w,"≒","\\fallingdotseq",!0),u(c,y,w,"∽","\\backsim",!0),u(c,y,w,"⋍","\\backsimeq",!0),u(c,y,w,"⫅","\\subseteqq",!0),u(c,y,w,"⋐","\\Subset",!0),u(c,y,w,"⊏","\\sqsubset",!0),u(c,y,w,"≼","\\preccurlyeq",!0),u(c,y,w,"⋞","\\curlyeqprec",!0),u(c,y,w,"≾","\\precsim",!0),u(c,y,w,"⪷","\\precapprox",!0),u(c,y,w,"⊲","\\vartriangleleft"),u(c,y,w,"⊴","\\trianglelefteq"),u(c,y,w,"⊨","\\vDash",!0),u(c,y,w,"⊪","\\Vvdash",!0),u(c,y,w,"⌣","\\smallsmile"),u(c,y,w,"⌢","\\smallfrown"),u(c,y,w,"≏","\\bumpeq",!0),u(c,y,w,"≎","\\Bumpeq",!0),u(c,y,w,"≧","\\geqq",!0),u(c,y,w,"⩾","\\geqslant",!0),u(c,y,w,"⪖","\\eqslantgtr",!0),u(c,y,w,"≳","\\gtrsim",!0),u(c,y,w,"⪆","\\gtrapprox",!0),u(c,y,Z,"⋗","\\gtrdot"),u(c,y,w,"⋙","\\ggg",!0),u(c,y,w,"≷","\\gtrless",!0),u(c,y,w,"⋛","\\gtreqless",!0),u(c,y,w,"⪌","\\gtreqqless",!0),u(c,y,w,"≖","\\eqcirc",!0),u(c,y,w,"≗","\\circeq",!0),u(c,y,w,"≜","\\triangleq",!0),u(c,y,w,"∼","\\thicksim"),u(c,y,w,"≈","\\thickapprox"),u(c,y,w,"⫆","\\supseteqq",!0),u(c,y,w,"⋑","\\Supset",!0),u(c,y,w,"⊐","\\sqsupset",!0),u(c,y,w,"≽","\\succcurlyeq",!0),u(c,y,w,"⋟","\\curlyeqsucc",!0),u(c,y,w,"≿","\\succsim",!0),u(c,y,w,"⪸","\\succapprox",!0),u(c,y,w,"⊳","\\vartriangleright"),u(c,y,w,"⊵","\\trianglerighteq"),u(c,y,w,"⊩","\\Vdash",!0),u(c,y,w,"∣","\\shortmid"),u(c,y,w,"∥","\\shortparallel"),u(c,y,w,"≬","\\between",!0),u(c,y,w,"⋔","\\pitchfork",!0),u(c,y,w,"∝","\\varpropto"),u(c,y,w,"◀","\\blacktriangleleft"),u(c,y,w,"∴","\\therefore",!0),u(c,y,w,"∍","\\backepsilon"),u(c,y,w,"▶","\\blacktriangleright"),u(c,y,w,"∵","\\because",!0),u(c,y,w,"⋘","\\llless"),u(c,y,w,"⋙","\\gggtr"),u(c,y,Z,"⊲","\\lhd"),u(c,y,Z,"⊳","\\rhd"),u(c,y,w,"≂","\\eqsim",!0),u(c,f,w,"⋈","\\Join"),u(c,y,w,"≑","\\Doteq",!0),u(c,y,Z,"∔","\\dotplus",!0),u(c,y,Z,"∖","\\smallsetminus"),u(c,y,Z,"⋒","\\Cap",!0),u(c,y,Z,"⋓","\\Cup",!0),u(c,y,Z,"⩞","\\doublebarwedge",!0),u(c,y,Z,"⊟","\\boxminus",!0),u(c,y,Z,"⊞","\\boxplus",!0),u(c,y,Z,"⋇","\\divideontimes",!0),u(c,y,Z,"⋉","\\ltimes",!0),u(c,y,Z,"⋊","\\rtimes",!0),u(c,y,Z,"⋋","\\leftthreetimes",!0),u(c,y,Z,"⋌","\\rightthreetimes",!0),u(c,y,Z,"⋏","\\curlywedge",!0),u(c,y,Z,"⋎","\\curlyvee",!0),u(c,y,Z,"⊝","\\circleddash",!0),u(c,y,Z,"⊛","\\circledast",!0),u(c,y,Z,"⋅","\\centerdot"),u(c,y,Z,"⊺","\\intercal",!0),u(c,y,Z,"⋒","\\doublecap"),u(c,y,Z,"⋓","\\doublecup"),u(c,y,Z,"⊠","\\boxtimes",!0),u(c,y,w,"⇢","\\dashrightarrow",!0),u(c,y,w,"⇠","\\dashleftarrow",!0),u(c,y,w,"⇇","\\leftleftarrows",!0),u(c,y,w,"⇆","\\leftrightarrows",!0),u(c,y,w,"⇚","\\Lleftarrow",!0),u(c,y,w,"↞","\\twoheadleftarrow",!0),u(c,y,w,"↢","\\leftarrowtail",!0),u(c,y,w,"↫","\\looparrowleft",!0),u(c,y,w,"⇋","\\leftrightharpoons",!0),u(c,y,w,"↶","\\curvearrowleft",!0),u(c,y,w,"↺","\\circlearrowleft",!0),u(c,y,w,"↰","\\Lsh",!0),u(c,y,w,"⇈","\\upuparrows",!0),u(c,y,w,"↿","\\upharpoonleft",!0),u(c,y,w,"⇃","\\downharpoonleft",!0),u(c,f,w,"⊶","\\origof",!0),u(c,f,w,"⊷","\\imageof",!0),u(c,y,w,"⊸","\\multimap",!0),u(c,y,w,"↭","\\leftrightsquigarrow",!0),u(c,y,w,"⇉","\\rightrightarrows",!0),u(c,y,w,"⇄","\\rightleftarrows",!0),u(c,y,w,"↠","\\twoheadrightarrow",!0),u(c,y,w,"↣","\\rightarrowtail",!0),u(c,y,w,"↬","\\looparrowright",!0),u(c,y,w,"↷","\\curvearrowright",!0),u(c,y,w,"↻","\\circlearrowright",!0),u(c,y,w,"↱","\\Rsh",!0),u(c,y,w,"⇊","\\downdownarrows",!0),u(c,y,w,"↾","\\upharpoonright",!0),u(c,y,w,"⇂","\\downharpoonright",!0),u(c,y,w,"⇝","\\rightsquigarrow",!0),u(c,y,w,"⇝","\\leadsto"),u(c,y,w,"⇛","\\Rrightarrow",!0),u(c,y,w,"↾","\\restriction"),u(c,f,S,"‘","`"),u(c,f,S,"$","\\$"),u(I,f,S,"$","\\$"),u(I,f,S,"$","\\textdollar"),u(c,f,S,"%","\\%"),u(I,f,S,"%","\\%"),u(c,f,S,"_","\\_"),u(I,f,S,"_","\\_"),u(I,f,S,"_","\\textunderscore"),u(c,f,S,"∠","\\angle",!0),u(c,f,S,"∞","\\infty",!0),u(c,f,S,"′","\\prime"),u(c,f,S,"△","\\triangle"),u(c,f,S,"Γ","\\Gamma",!0),u(c,f,S,"Δ","\\Delta",!0),u(c,f,S,"Θ","\\Theta",!0),u(c,f,S,"Λ","\\Lambda",!0),u(c,f,S,"Ξ","\\Xi",!0),u(c,f,S,"Π","\\Pi",!0),u(c,f,S,"Σ","\\Sigma",!0),u(c,f,S,"Υ","\\Upsilon",!0),u(c,f,S,"Φ","\\Phi",!0),u(c,f,S,"Ψ","\\Psi",!0),u(c,f,S,"Ω","\\Omega",!0),u(c,f,S,"A","Α"),u(c,f,S,"B","Β"),u(c,f,S,"E","Ε"),u(c,f,S,"Z","Ζ"),u(c,f,S,"H","Η"),u(c,f,S,"I","Ι"),u(c,f,S,"K","Κ"),u(c,f,S,"M","Μ"),u(c,f,S,"N","Ν"),u(c,f,S,"O","Ο"),u(c,f,S,"P","Ρ"),u(c,f,S,"T","Τ"),u(c,f,S,"X","Χ"),u(c,f,S,"¬","\\neg",!0),u(c,f,S,"¬","\\lnot"),u(c,f,S,"⊤","\\top"),u(c,f,S,"⊥","\\bot"),u(c,f,S,"∅","\\emptyset"),u(c,y,S,"∅","\\varnothing"),u(c,f,ae,"α","\\alpha",!0),u(c,f,ae,"β","\\beta",!0),u(c,f,ae,"γ","\\gamma",!0),u(c,f,ae,"δ","\\delta",!0),u(c,f,ae,"ϵ","\\epsilon",!0),u(c,f,ae,"ζ","\\zeta",!0),u(c,f,ae,"η","\\eta",!0),u(c,f,ae,"θ","\\theta",!0),u(c,f,ae,"ι","\\iota",!0),u(c,f,ae,"κ","\\kappa",!0),u(c,f,ae,"λ","\\lambda",!0),u(c,f,ae,"μ","\\mu",!0),u(c,f,ae,"ν","\\nu",!0),u(c,f,ae,"ξ","\\xi",!0),u(c,f,ae,"ο","\\omicron",!0),u(c,f,ae,"π","\\pi",!0),u(c,f,ae,"ρ","\\rho",!0),u(c,f,ae,"σ","\\sigma",!0),u(c,f,ae,"τ","\\tau",!0),u(c,f,ae,"υ","\\upsilon",!0),u(c,f,ae,"ϕ","\\phi",!0),u(c,f,ae,"χ","\\chi",!0),u(c,f,ae,"ψ","\\psi",!0),u(c,f,ae,"ω","\\omega",!0),u(c,f,ae,"ε","\\varepsilon",!0),u(c,f,ae,"ϑ","\\vartheta",!0),u(c,f,ae,"ϖ","\\varpi",!0),u(c,f,ae,"ϱ","\\varrho",!0),u(c,f,ae,"ς","\\varsigma",!0),u(c,f,ae,"φ","\\varphi",!0),u(c,f,Z,"∗","*",!0),u(c,f,Z,"+","+"),u(c,f,Z,"−","-",!0),u(c,f,Z,"⋅","\\cdot",!0),u(c,f,Z,"∘","\\circ",!0),u(c,f,Z,"÷","\\div",!0),u(c,f,Z,"±","\\pm",!0),u(c,f,Z,"×","\\times",!0),u(c,f,Z,"∩","\\cap",!0),u(c,f,Z,"∪","\\cup",!0),u(c,f,Z,"∖","\\setminus",!0),u(c,f,Z,"∧","\\land"),u(c,f,Z,"∨","\\lor"),u(c,f,Z,"∧","\\wedge",!0),u(c,f,Z,"∨","\\vee",!0),u(c,f,S,"√","\\surd"),u(c,f,tt,"⟨","\\langle",!0),u(c,f,tt,"∣","\\lvert"),u(c,f,tt,"∥","\\lVert"),u(c,f,$e,"?","?"),u(c,f,$e,"!","!"),u(c,f,$e,"⟩","\\rangle",!0),u(c,f,$e,"∣","\\rvert"),u(c,f,$e,"∥","\\rVert"),u(c,f,w,"=","="),u(c,f,w,":",":"),u(c,f,w,"≈","\\approx",!0),u(c,f,w,"≅","\\cong",!0),u(c,f,w,"≥","\\ge"),u(c,f,w,"≥","\\geq",!0),u(c,f,w,"←","\\gets"),u(c,f,w,">","\\gt",!0),u(c,f,w,"∈","\\in",!0),u(c,f,w,"","\\@not"),u(c,f,w,"⊂","\\subset",!0),u(c,f,w,"⊃","\\supset",!0),u(c,f,w,"⊆","\\subseteq",!0),u(c,f,w,"⊇","\\supseteq",!0),u(c,y,w,"⊈","\\nsubseteq",!0),u(c,y,w,"⊉","\\nsupseteq",!0),u(c,f,w,"⊨","\\models"),u(c,f,w,"←","\\leftarrow",!0),u(c,f,w,"≤","\\le"),u(c,f,w,"≤","\\leq",!0),u(c,f,w,"<","\\lt",!0),u(c,f,w,"→","\\rightarrow",!0),u(c,f,w,"→","\\to"),u(c,y,w,"≱","\\ngeq",!0),u(c,y,w,"≰","\\nleq",!0),u(c,f,Mt," ","\\ "),u(c,f,Mt," ","\\space"),u(c,f,Mt," ","\\nobreakspace"),u(I,f,Mt," ","\\ "),u(I,f,Mt," "," "),u(I,f,Mt," ","\\space"),u(I,f,Mt," ","\\nobreakspace"),u(c,f,Mt,null,"\\nobreak"),u(c,f,Mt,null,"\\allowbreak"),u(c,f,$r,",",","),u(c,f,$r,";",";"),u(c,y,Z,"⊼","\\barwedge",!0),u(c,y,Z,"⊻","\\veebar",!0),u(c,f,Z,"⊙","\\odot",!0),u(c,f,Z,"⊕","\\oplus",!0),u(c,f,Z,"⊗","\\otimes",!0),u(c,f,S,"∂","\\partial",!0),u(c,f,Z,"⊘","\\oslash",!0),u(c,y,Z,"⊚","\\circledcirc",!0),u(c,y,Z,"⊡","\\boxdot",!0),u(c,f,Z,"△","\\bigtriangleup"),u(c,f,Z,"▽","\\bigtriangledown"),u(c,f,Z,"†","\\dagger"),u(c,f,Z,"⋄","\\diamond"),u(c,f,Z,"⋆","\\star"),u(c,f,Z,"◃","\\triangleleft"),u(c,f,Z,"▹","\\triangleright"),u(c,f,tt,"{","\\{"),u(I,f,S,"{","\\{"),u(I,f,S,"{","\\textbraceleft"),u(c,f,$e,"}","\\}"),u(I,f,S,"}","\\}"),u(I,f,S,"}","\\textbraceright"),u(c,f,tt,"{","\\lbrace"),u(c,f,$e,"}","\\rbrace"),u(c,f,tt,"[","\\lbrack",!0),u(I,f,S,"[","\\lbrack",!0),u(c,f,$e,"]","\\rbrack",!0),u(I,f,S,"]","\\rbrack",!0),u(c,f,tt,"(","\\lparen",!0),u(c,f,$e,")","\\rparen",!0),u(I,f,S,"<","\\textless",!0),u(I,f,S,">","\\textgreater",!0),u(c,f,tt,"⌊","\\lfloor",!0),u(c,f,$e,"⌋","\\rfloor",!0),u(c,f,tt,"⌈","\\lceil",!0),u(c,f,$e,"⌉","\\rceil",!0),u(c,f,S,"\\","\\backslash"),u(c,f,S,"∣","|"),u(c,f,S,"∣","\\vert"),u(I,f,S,"|","\\textbar",!0),u(c,f,S,"∥","\\|"),u(c,f,S,"∥","\\Vert"),u(I,f,S,"∥","\\textbardbl"),u(I,f,S,"~","\\textasciitilde"),u(I,f,S,"\\","\\textbackslash"),u(I,f,S,"^","\\textasciicircum"),u(c,f,w,"↑","\\uparrow",!0),u(c,f,w,"⇑","\\Uparrow",!0),u(c,f,w,"↓","\\downarrow",!0),u(c,f,w,"⇓","\\Downarrow",!0),u(c,f,w,"↕","\\updownarrow",!0),u(c,f,w,"⇕","\\Updownarrow",!0),u(c,f,_e,"∐","\\coprod"),u(c,f,_e,"⋁","\\bigvee"),u(c,f,_e,"⋀","\\bigwedge"),u(c,f,_e,"⨄","\\biguplus"),u(c,f,_e,"⋂","\\bigcap"),u(c,f,_e,"⋃","\\bigcup"),u(c,f,_e,"∫","\\int"),u(c,f,_e,"∫","\\intop"),u(c,f,_e,"∬","\\iint"),u(c,f,_e,"∭","\\iiint"),u(c,f,_e,"∏","\\prod"),u(c,f,_e,"∑","\\sum"),u(c,f,_e,"⨂","\\bigotimes"),u(c,f,_e,"⨁","\\bigoplus"),u(c,f,_e,"⨀","\\bigodot"),u(c,f,_e,"∮","\\oint"),u(c,f,_e,"∯","\\oiint"),u(c,f,_e,"∰","\\oiiint"),u(c,f,_e,"⨆","\\bigsqcup"),u(c,f,_e,"∫","\\smallint"),u(I,f,hr,"…","\\textellipsis"),u(c,f,hr,"…","\\mathellipsis"),u(I,f,hr,"…","\\ldots",!0),u(c,f,hr,"…","\\ldots",!0),u(c,f,hr,"⋯","\\@cdots",!0),u(c,f,hr,"⋱","\\ddots",!0),u(c,f,S,"⋮","\\varvdots"),u(c,f,Ee,"ˊ","\\acute"),u(c,f,Ee,"ˋ","\\grave"),u(c,f,Ee,"¨","\\ddot"),u(c,f,Ee,"~","\\tilde"),u(c,f,Ee,"ˉ","\\bar"),u(c,f,Ee,"˘","\\breve"),u(c,f,Ee,"ˇ","\\check"),u(c,f,Ee,"^","\\hat"),u(c,f,Ee,"⃗","\\vec"),u(c,f,Ee,"˙","\\dot"),u(c,f,Ee,"˚","\\mathring"),u(c,f,ae,"","\\@imath"),u(c,f,ae,"","\\@jmath"),u(c,f,S,"ı","ı"),u(c,f,S,"ȷ","ȷ"),u(I,f,S,"ı","\\i",!0),u(I,f,S,"ȷ","\\j",!0),u(I,f,S,"ß","\\ss",!0),u(I,f,S,"æ","\\ae",!0),u(I,f,S,"œ","\\oe",!0),u(I,f,S,"ø","\\o",!0),u(I,f,S,"Æ","\\AE",!0),u(I,f,S,"Œ","\\OE",!0),u(I,f,S,"Ø","\\O",!0),u(I,f,Ee,"ˊ","\\'"),u(I,f,Ee,"ˋ","\\`"),u(I,f,Ee,"ˆ","\\^"),u(I,f,Ee,"˜","\\~"),u(I,f,Ee,"ˉ","\\="),u(I,f,Ee,"˘","\\u"),u(I,f,Ee,"˙","\\."),u(I,f,Ee,"¸","\\c"),u(I,f,Ee,"˚","\\r"),u(I,f,Ee,"ˇ","\\v"),u(I,f,Ee,"¨",'\\"'),u(I,f,Ee,"˝","\\H"),u(I,f,Ee,"◯","\\textcircled");var _a={"--":!0,"---":!0,"``":!0,"''":!0};u(I,f,S,"–","--",!0),u(I,f,S,"–","\\textendash"),u(I,f,S,"—","---",!0),u(I,f,S,"—","\\textemdash"),u(I,f,S,"‘","`",!0),u(I,f,S,"‘","\\textquoteleft"),u(I,f,S,"’","'",!0),u(I,f,S,"’","\\textquoteright"),u(I,f,S,"“","``",!0),u(I,f,S,"“","\\textquotedblleft"),u(I,f,S,"”","''",!0),u(I,f,S,"”","\\textquotedblright"),u(c,f,S,"°","\\degree",!0),u(I,f,S,"°","\\degree"),u(I,f,S,"°","\\textdegree",!0),u(c,f,S,"£","\\pounds"),u(c,f,S,"£","\\mathsterling",!0),u(I,f,S,"£","\\pounds"),u(I,f,S,"£","\\textsterling",!0),u(c,y,S,"✠","\\maltese"),u(I,y,S,"✠","\\maltese");for(var Ba='0123456789/@."',qn=0;qn<Ba.length;qn++){var Ra=Ba.charAt(qn);u(c,f,S,Ra,Ra)}for(var Oa='0123456789!@*()-=+";:?/.,',Hn=0;Hn<Oa.length;Hn++){var Ia=Oa.charAt(Hn);u(I,f,S,Ia,Ia)}for(var Vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Un=0;Un<Vr.length;Un++){var Wr=Vr.charAt(Un);u(c,f,ae,Wr,Wr),u(I,f,S,Wr,Wr)}u(c,y,S,"C","ℂ"),u(I,y,S,"C","ℂ"),u(c,y,S,"H","ℍ"),u(I,y,S,"H","ℍ"),u(c,y,S,"N","ℕ"),u(I,y,S,"N","ℕ"),u(c,y,S,"P","ℙ"),u(I,y,S,"P","ℙ"),u(c,y,S,"Q","ℚ"),u(I,y,S,"Q","ℚ"),u(c,y,S,"R","ℝ"),u(I,y,S,"R","ℝ"),u(c,y,S,"Z","ℤ"),u(I,y,S,"Z","ℤ"),u(c,f,ae,"h","ℎ"),u(I,f,ae,"h","ℎ");for(var le="",Ve=0;Ve<Vr.length;Ve++){var Ce=Vr.charAt(Ve);le=String.fromCharCode(55349,56320+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56372+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56424+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56580+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56684+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56736+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56788+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56840+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56944+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),Ve<26&&(le=String.fromCharCode(55349,56632+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le),le=String.fromCharCode(55349,56476+Ve),u(c,f,ae,Ce,le),u(I,f,S,Ce,le))}le="𝕜",u(c,f,ae,"k",le),u(I,f,S,"k",le);for(var Yt=0;Yt<10;Yt++){var Ut=Yt.toString();le=String.fromCharCode(55349,57294+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57314+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57324+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le),le=String.fromCharCode(55349,57334+Yt),u(c,f,ae,Ut,le),u(I,f,S,Ut,le)}for(var Gn="ÐÞþ",jn=0;jn<Gn.length;jn++){var Xr=Gn.charAt(jn);u(c,f,ae,Xr,Xr),u(I,f,S,Xr,Xr)}var Kr=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Da=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],g1=function(t,r){var n=t.charCodeAt(0),i=t.charCodeAt(1),a=(n-55296)*1024+(i-56320)+65536,s=r==="math"?0:1;if(119808<=a&&a<120484){var o=Math.floor((a-119808)/26);return[Kr[o][2],Kr[o][s]]}else if(120782<=a&&a<=120831){var l=Math.floor((a-120782)/10);return[Da[l][2],Da[l][s]]}else{if(a===120485||a===120486)return[Kr[0][2],Kr[0][s]];if(120486<a&&a<120782)return["",""];throw new P("Unsupported character: "+t)}},Yr=function(t,r,n){return Se[n][t]&&Se[n][t].replace&&(t=Se[n][t].replace),{value:t,metrics:In(t,r,n)}},ht=function(t,r,n,i,a){var s=Yr(t,r,n),o=s.metrics;t=s.value;var l;if(o){var h=o.italic;(n==="text"||i&&i.font==="mathit")&&(h=0),l=new st(t,o.height,o.depth,h,o.skew,o.width,a)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),l=new st(t,0,0,0,0,0,a);if(i){l.maxFontSize=i.sizeMultiplier,i.style.isTight()&&l.classes.push("mtight");var d=i.getColor();d&&(l.style.color=d)}return l},b1=function(t,r,n,i){return i===void 0&&(i=[]),n.font==="boldsymbol"&&Yr(t,"Main-Bold",r).metrics?ht(t,"Main-Bold",r,n,i.concat(["mathbf"])):t==="\\"||Se[r][t].font==="main"?ht(t,"Main-Regular",r,n,i):ht(t,"AMS-Regular",r,n,i.concat(["amsrm"]))},v1=function(t,r,n,i,a){return a!=="textord"&&Yr(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},y1=function(t,r,n){var i=t.mode,a=t.text,s=["mord"],o=i==="math"||i==="text"&&r.font,l=o?r.font:r.fontFamily,h="",d="";if(a.charCodeAt(0)===55349&&([h,d]=g1(a,i)),h.length>0)return ht(a,h,i,r,s.concat(d));if(l){var p,g;if(l==="boldsymbol"){var m=v1(a,i,r,s,n);p=m.fontName,g=[m.fontClass]}else o?(p=Pa[l].fontName,g=[l]):(p=Zr(l,r.fontWeight,r.fontShape),g=[l,r.fontWeight,r.fontShape]);if(Yr(a,p,i).metrics)return ht(a,p,i,r,s.concat(g));if(_a.hasOwnProperty(a)&&p.slice(0,10)==="Typewriter"){for(var z=[],k=0;k<a.length;k++)z.push(ht(a[k],p,i,r,s.concat(g)));return Fa(z)}}if(n==="mathord")return ht(a,"Math-Italic",i,r,s.concat(["mathnormal"]));if(n==="textord"){var N=Se[i][a]&&Se[i][a].font;if(N==="ams"){var A=Zr("amsrm",r.fontWeight,r.fontShape);return ht(a,A,i,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(N==="main"||!N){var C=Zr("textrm",r.fontWeight,r.fontShape);return ht(a,C,i,r,s.concat(r.fontWeight,r.fontShape))}else{var R=Zr(N,r.fontWeight,r.fontShape);return ht(a,R,i,r,s.concat(R,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},w1=(e,t)=>{if(qt(e.classes)!==qt(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var i in t.style)if(t.style.hasOwnProperty(i)&&e.style[i]!==t.style[i])return!1;return!0},x1=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof st&&n instanceof st&&w1(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},$n=function(t){for(var r=0,n=0,i=0,a=0;a<t.children.length;a++){var s=t.children[a];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>i&&(i=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=i},Ye=function(t,r,n,i){var a=new zr(t,r,n,i);return $n(a),a},La=(e,t,r,n)=>new zr(e,t,r,n),k1=function(t,r,n){var i=Ye([t],[],r);return i.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),i.style.borderBottomWidth=U(i.height),i.maxFontSize=1,i},z1=function(t,r,n,i){var a=new Fn(t,r,n,i);return $n(a),a},Fa=function(t){var r=new kr(t);return $n(r),r},S1=function(t,r){return t instanceof kr?Ye([],[t],r):t},E1=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,s=1;s<r.length;s++){var o=-r[s].shift-a-r[s].elem.depth,l=o-(r[s-1].elem.height+r[s-1].elem.depth);a=a+o,n.push({type:"kern",size:l}),n.push(r[s])}return{children:n,depth:i}}var h;if(t.positionType==="top"){for(var d=t.positionData,p=0;p<t.children.length;p++){var g=t.children[p];d-=g.type==="kern"?g.size:g.elem.height+g.elem.depth}h=d}else if(t.positionType==="bottom")h=-t.positionData;else{var m=t.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")h=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")h=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:h}},A1=function(t,r){for(var{children:n,depth:i}=E1(t),a=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var l=o.elem;a=Math.max(a,l.maxFontSize,l.height)}}a+=2;var h=Ye(["pstrut"],[]);h.style.height=U(a);for(var d=[],p=i,g=i,m=i,z=0;z<n.length;z++){var k=n[z];if(k.type==="kern")m+=k.size;else{var N=k.elem,A=k.wrapperClasses||[],C=k.wrapperStyle||{},R=Ye(A,[h,N],void 0,C);R.style.top=U(-a-m-N.depth),k.marginLeft&&(R.style.marginLeft=k.marginLeft),k.marginRight&&(R.style.marginRight=k.marginRight),d.push(R),m+=N.height+N.depth}p=Math.min(p,m),g=Math.max(g,m)}var W=Ye(["vlist"],d);W.style.height=U(g);var H;if(p<0){var T=Ye([],[]),X=Ye(["vlist"],[T]);X.style.height=U(-p);var ee=Ye(["vlist-s"],[new st("​")]);H=[Ye(["vlist-r"],[W,ee]),Ye(["vlist-r"],[X])]}else H=[Ye(["vlist-r"],[W])];var G=Ye(["vlist-t"],H);return H.length===2&&G.classes.push("vlist-t2"),G.height=g,G.depth=-p,G},T1=(e,t)=>{var r=Ye(["mspace"],[],t),n=Te(e,t);return r.style.marginRight=U(n),r},Zr=function(t,r,n){var i="";switch(t){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=t}var a;return r==="textbf"&&n==="textit"?a="BoldItalic":r==="textbf"?a="Bold":r==="textit"?a="Italic":a="Regular",i+"-"+a},Pa={mathbf:{variant:"bold",fontName:"Main-Bold"},mathrm:{variant:"normal",fontName:"Main-Regular"},textit:{variant:"italic",fontName:"Main-Italic"},mathit:{variant:"italic",fontName:"Main-Italic"},mathnormal:{variant:"italic",fontName:"Math-Italic"},mathbb:{variant:"double-struck",fontName:"AMS-Regular"},mathcal:{variant:"script",fontName:"Caligraphic-Regular"},mathfrak:{variant:"fraktur",fontName:"Fraktur-Regular"},mathscr:{variant:"script",fontName:"Script-Regular"},mathsf:{variant:"sans-serif",fontName:"SansSerif-Regular"},mathtt:{variant:"monospace",fontName:"Typewriter-Regular"}},qa={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},M1=function(t,r){var[n,i,a]=qa[t],s=new Ht(n),o=new Tt([s],{width:U(i),height:U(a),style:"width:"+U(i),viewBox:"0 0 "+1e3*i+" "+1e3*a,preserveAspectRatio:"xMinYMin"}),l=La(["overlay"],[o],r);return l.height=a,l.style.height=U(a),l.style.width=U(i),l},E={fontMap:Pa,makeSymbol:ht,mathsym:b1,makeSpan:Ye,makeSvgSpan:La,makeLineSpan:k1,makeAnchor:z1,makeFragment:Fa,wrapFragment:S1,makeVList:A1,makeOrd:y1,makeGlue:T1,staticSvg:M1,svgData:qa,tryCombineChars:x1},Me={number:3,unit:"mu"},Zt={number:4,unit:"mu"},Ct={number:5,unit:"mu"},C1={mord:{mop:Me,mbin:Zt,mrel:Ct,minner:Me},mop:{mord:Me,mop:Me,mrel:Ct,minner:Me},mbin:{mord:Zt,mop:Zt,mopen:Zt,minner:Zt},mrel:{mord:Ct,mop:Ct,mopen:Ct,minner:Ct},mopen:{},mclose:{mop:Me,mbin:Zt,mrel:Ct,minner:Me},mpunct:{mord:Me,mop:Me,mrel:Ct,mopen:Me,mclose:Me,mpunct:Me,minner:Me},minner:{mord:Me,mop:Me,mbin:Zt,mrel:Ct,mopen:Me,mpunct:Me,minner:Me}},N1={mord:{mop:Me},mop:{mord:Me,mop:Me},mbin:{},mrel:{},mopen:{},mclose:{mop:Me},mpunct:{},minner:{mop:Me}},Ha={},Jr={},Qr={};function Y(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},l=0;l<r.length;++l)Ha[r[l]]=o;t&&(a&&(Jr[t]=a),s&&(Qr[t]=s))}function Jt(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;Y({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var en=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Ne=function(t){return t.type==="ordgroup"?t.body:[t]},Nt=E.makeSpan,_1=["leftmost","mbin","mopen","mrel","mop","mpunct"],B1=["rightmost","mrel","mclose","mpunct"],R1={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT},O1={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Ie=function(t,r,n,i){i===void 0&&(i=[null,null]);for(var a=[],s=0;s<t.length;s++){var o=be(t[s],r);if(o instanceof kr){var l=o.children;a.push(...l)}else a.push(o)}if(E.tryCombineChars(a),!n)return a;var h=r;if(t.length===1){var d=t[0];d.type==="sizing"?h=r.havingSize(d.size):d.type==="styling"&&(h=r.havingStyle(R1[d.style]))}var p=Nt([i[0]||"leftmost"],[],r),g=Nt([i[1]||"rightmost"],[],r),m=n==="root";return Ua(a,(z,k)=>{var N=k.classes[0],A=z.classes[0];N==="mbin"&&oe.contains(B1,A)?k.classes[0]="mord":A==="mbin"&&oe.contains(_1,N)&&(z.classes[0]="mord")},{node:p},g,m),Ua(a,(z,k)=>{var N=Vn(k),A=Vn(z),C=N&&A?z.hasClass("mtight")?N1[N][A]:C1[N][A]:null;if(C)return E.makeGlue(C,h)},{node:p},g,m),a},Ua=function e(t,r,n,i,a){i&&t.push(i);for(var s=0;s<t.length;s++){var o=t[s],l=Ga(o);if(l){e(l.children,r,n,null,a);continue}var h=!o.hasClass("mspace");if(h){var d=r(o,n.node);d&&(n.insertAfter?n.insertAfter(d):(t.unshift(d),s++))}h?n.node=o:a&&o.hasClass("newline")&&(n.node=Nt(["leftmost"])),n.insertAfter=(p=>g=>{t.splice(p+1,0,g),s++})(s)}i&&t.pop()},Ga=function(t){return t instanceof kr||t instanceof Fn||t instanceof zr&&t.hasClass("enclosing")?t:null},I1=function e(t,r){var n=Ga(t);if(n){var i=n.children;if(i.length){if(r==="right")return e(i[i.length-1],"right");if(r==="left")return e(i[0],"left")}}return t},Vn=function(t,r){return t?(r&&(t=I1(t,r)),O1[t.classes[0]]||null):null},Sr=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Nt(r.concat(n))},be=function(t,r,n){if(!t)return Nt();if(Jr[t.type]){var i=Jr[t.type](t,r);if(n&&r.size!==n.size){i=Nt(r.sizingClasses(n),[i],r);var a=r.sizeMultiplier/n.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new P("Got group of unknown type: '"+t.type+"'")};function tn(e,t){var r=Nt(["base"],e,t),n=Nt(["strut"]);return n.style.height=U(r.height+r.depth),r.depth&&(n.style.verticalAlign=U(-r.depth)),r.children.unshift(n),r}function Wn(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Ie(e,t,"root"),i;n.length===2&&n[1].hasClass("tag")&&(i=n.pop());for(var a=[],s=[],o=0;o<n.length;o++)if(s.push(n[o]),n[o].hasClass("mbin")||n[o].hasClass("mrel")||n[o].hasClass("allowbreak")){for(var l=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(l=!0);l||(a.push(tn(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(tn(s,t)),s=[]),a.push(n[o]));s.length>0&&a.push(tn(s,t));var h;r?(h=tn(Ie(r,t,!0)),h.classes=["tag"],a.push(h)):i&&a.push(i);var d=Nt(["katex-html"],a);if(d.setAttribute("aria-hidden","true"),h){var p=h.children[0];p.style.height=U(d.height+d.depth),d.depth&&(p.style.verticalAlign=U(-d.depth))}return d}function ja(e){return new kr(e)}class ot{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=qt(this.classes));for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=oe.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+oe.escape(qt(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class Er{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return oe.escape(this.toText())}toText(){return this.text}}class D1{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",U(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+U(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var D={MathNode:ot,TextNode:Er,SpaceNode:D1,newDocumentFragment:ja},lt=function(t,r,n){return Se[r][t]&&Se[r][t].replace&&t.charCodeAt(0)!==55349&&!(_a.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Se[r][t].replace),new D.TextNode(t)},Xn=function(t){return t.length===1?t[0]:new D.MathNode("mrow",t)},Kn=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var i=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var a=t.text;if(oe.contains(["\\imath","\\jmath"],a))return null;Se[i][a]&&Se[i][a].replace&&(a=Se[i][a].replace);var s=E.fontMap[n].fontName;return In(a,s,i)?E.fontMap[n].variant:null},Ze=function(t,r,n){if(t.length===1){var i=xe(t[0],r);return n&&i instanceof ot&&i.type==="mo"&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],s,o=0;o<t.length;o++){var l=xe(t[o],r);if(l instanceof ot&&s instanceof ot){if(l.type==="mtext"&&s.type==="mtext"&&l.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...l.children);continue}else if(l.type==="mn"&&s.type==="mn"){s.children.push(...l.children);continue}else if(l.type==="mi"&&l.children.length===1&&s.type==="mn"){var h=l.children[0];if(h instanceof Er&&h.text==="."){s.children.push(...l.children);continue}}else if(s.type==="mi"&&s.children.length===1){var d=s.children[0];if(d instanceof Er&&d.text==="̸"&&(l.type==="mo"||l.type==="mi"||l.type==="mn")){var p=l.children[0];p instanceof Er&&p.text.length>0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),a.pop())}}}a.push(l),s=l}return a},Gt=function(t,r,n){return Xn(Ze(t,r,n))},xe=function(t,r){if(!t)return new D.MathNode("mrow");if(Qr[t.type]){var n=Qr[t.type](t,r);return n}else throw new P("Got group of unknown type: '"+t.type+"'")};function $a(e,t,r,n,i){var a=Ze(e,r),s;a.length===1&&a[0]instanceof ot&&oe.contains(["mrow","mtable"],a[0].type)?s=a[0]:s=new D.MathNode("mrow",a);var o=new D.MathNode("annotation",[new D.TextNode(t)]);o.setAttribute("encoding","application/x-tex");var l=new D.MathNode("semantics",[s,o]),h=new D.MathNode("math",[l]);h.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&h.setAttribute("display","block");var d=i?"katex":"katex-mathml";return E.makeSpan([d],[h])}var Va=function(t){return new At({style:t.displayMode?ne.DISPLAY:ne.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Wa=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=E.makeSpan(n,[t])}return t},L1=function(t,r,n){var i=Va(n),a;if(n.output==="mathml")return $a(t,r,i,n.displayMode,!0);if(n.output==="html"){var s=Wn(t,i);a=E.makeSpan(["katex"],[s])}else{var o=$a(t,r,i,n.displayMode,!1),l=Wn(t,i);a=E.makeSpan(["katex"],[o,l])}return Wa(a,n)},F1=function(t,r,n){var i=Va(n),a=Wn(t,i),s=E.makeSpan(["katex"],[a]);return Wa(s,n)},P1={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},q1=function(t){var r=new D.MathNode("mo",[new D.TextNode(P1[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},H1={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},U1=function(t){return t.type==="ordgroup"?t.body.length:1},G1=function(t,r){function n(){var o=4e5,l=t.label.slice(1);if(oe.contains(["widehat","widecheck","widetilde","utilde"],l)){var h=t,d=U1(h.base),p,g,m;if(d>5)l==="widehat"||l==="widecheck"?(p=420,o=2364,m=.42,g=l+"4"):(p=312,o=2340,m=.34,g="tilde4");else{var z=[1,1,2,2,3,3][d];l==="widehat"||l==="widecheck"?(o=[0,1062,2364,2364,2364][z],p=[0,239,300,360,420][z],m=[0,.24,.3,.3,.36,.42][z],g=l+z):(o=[0,600,1033,2339,2340][z],p=[0,260,286,306,312][z],m=[0,.26,.286,.3,.306,.34][z],g="tilde"+z)}var k=new Ht(g),N=new Tt([k],{width:"100%",height:U(m),viewBox:"0 0 "+o+" "+p,preserveAspectRatio:"none"});return{span:E.makeSvgSpan([],[N],r),minWidth:0,height:m}}else{var A=[],C=H1[l],[R,W,H]=C,T=H/1e3,X=R.length,ee,G;if(X===1){var M=C[3];ee=["hide-tail"],G=[M]}else if(X===2)ee=["halfarrow-left","halfarrow-right"],G=["xMinYMin","xMaxYMin"];else if(X===3)ee=["brace-left","brace-center","brace-right"],G=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
258
+ `+X+" children.");for(var V=0;V<X;V++){var $=new Ht(R[V]),de=new Tt([$],{width:"400em",height:U(T),viewBox:"0 0 "+o+" "+H,preserveAspectRatio:G[V]+" slice"}),ue=E.makeSvgSpan([ee[V]],[de],r);if(X===1)return{span:ue,minWidth:W,height:T};ue.style.height=U(T),A.push(ue)}return{span:E.makeSpan(["stretchy"],A,r),minWidth:W,height:T}}}var{span:i,minWidth:a,height:s}=n();return i.height=s,i.style.height=U(s),a>0&&(i.style.minWidth=U(a)),i},j1=function(t,r,n,i,a){var s,o=t.height+t.depth+n+i;if(/fbox|color|angl/.test(r)){if(s=E.makeSpan(["stretchy",r],[],a),r==="fbox"){var l=a.color&&a.getColor();l&&(s.style.borderColor=l)}}else{var h=[];/^[bx]cancel$/.test(r)&&h.push(new Pn({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&h.push(new Pn({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Tt(h,{width:"100%",height:U(o)});s=E.makeSvgSpan([],[d],a)}return s.height=o,s.style.height=U(o),s},_t={encloseSpan:j1,mathMLnode:q1,svgSpan:G1};function he(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function Yn(e){var t=rn(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function rn(e){return e&&(e.type==="atom"||f1.hasOwnProperty(e.type))?e:null}var Zn=(e,t)=>{var r,n,i;e&&e.type==="supsub"?(n=he(e.base,"accent"),r=n.base,e.base=r,i=m1(be(e,t)),e.base=n):(n=he(e,"accent"),r=n.base);var a=be(r,t.havingCrampedStyle()),s=n.isShifty&&oe.isCharacterBox(r),o=0;if(s){var l=oe.getBaseElem(r),h=be(l,t.havingCrampedStyle());o=Na(h).skew}var d=n.label==="\\c",p=d?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),g;if(n.isStretchy)g=_t.svgSpan(n,t),g=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+U(2*o)+")",marginLeft:U(2*o)}:void 0}]},t);else{var m,z;n.label==="\\vec"?(m=E.staticSvg("vec",t),z=E.svgData.vec[1]):(m=E.makeOrd({mode:n.mode,text:n.label},t,"textord"),m=Na(m),m.italic=0,z=m.width,d&&(p+=m.depth)),g=E.makeSpan(["accent-body"],[m]);var k=n.label==="\\textcircled";k&&(g.classes.push("accent-full"),p=a.height);var N=o;k||(N-=z/2),g.style.left=U(N),n.label==="\\textcircled"&&(g.style.top=".2em"),g=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:-p},{type:"elem",elem:g}]},t)}var A=E.makeSpan(["mord","accent"],[g],t);return i?(i.children[0]=A,i.height=Math.max(A.height,i.height),i.classes[0]="mord",i):A},Xa=(e,t)=>{var r=e.isStretchy?_t.mathMLnode(e.label):new D.MathNode("mo",[lt(e.label,e.mode)]),n=new D.MathNode("mover",[xe(e.base,t),r]);return n.setAttribute("accent","true"),n},$1=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));Y({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=en(t[0]),n=!$1.test(e.funcName),i=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:Zn,mathmlBuilder:Xa}),Y({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:Zn,mathmlBuilder:Xa}),Y({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=be(e.base,t),n=_t.svgSpan(e,t),i=e.label==="\\utilde"?.12:0,a=E.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]},t);return E.makeSpan(["mord","accentunder"],[a],t)},mathmlBuilder:(e,t)=>{var r=_t.mathMLnode(e.label),n=new D.MathNode("munder",[xe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var nn=e=>{var t=new D.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Y({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),i=E.wrapFragment(be(e.body,n,t),t),a=e.label.slice(0,2)==="\\x"?"x":"cd";i.classes.push(a+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=E.wrapFragment(be(e.below,n,t),t),s.classes.push(a+"-arrow-pad"));var o=_t.svgSpan(e,t),l=-t.fontMetrics().axisHeight+.5*o.height,h=-t.fontMetrics().axisHeight-.5*o.height-.111;(i.depth>.25||e.label==="\\xleftequilibrium")&&(h-=i.depth);var d;if(s){var p=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;d=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:o,shift:l},{type:"elem",elem:s,shift:p}]},t)}else d=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:h},{type:"elem",elem:o,shift:l}]},t);return d.children[0].children[0].children[1].classes.push("svg-align"),E.makeSpan(["mrel","x-arrow"],[d],t)},mathmlBuilder(e,t){var r=_t.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var i=nn(xe(e.body,t));if(e.below){var a=nn(xe(e.below,t));n=new D.MathNode("munderover",[r,a,i])}else n=new D.MathNode("mover",[r,i])}else if(e.below){var s=nn(xe(e.below,t));n=new D.MathNode("munder",[r,s])}else n=nn(),n=new D.MathNode("mover",[r,n]);return n}});var V1=E.makeSpan;function Ka(e,t){var r=Ie(e.body,t,!0);return V1([e.mclass],r,t)}function Ya(e,t){var r,n=Ze(e.body,t);return e.mclass==="minner"?r=new D.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new D.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new D.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}Y({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Ne(i),isCharacterBox:oe.isCharacterBox(i)}},htmlBuilder:Ka,mathmlBuilder:Ya});var an=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};Y({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:an(t[0]),body:Ne(t[1]),isCharacterBox:oe.isCharacterBox(t[1])}}}),Y({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,i=t[1],a=t[0],s;n!=="\\stackrel"?s=an(i):s="mrel";var o={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ne(i)},l={type:"supsub",mode:a.mode,base:o,sup:n==="\\underset"?null:a,sub:n==="\\underset"?a:null};return{type:"mclass",mode:r.mode,mclass:s,body:[l],isCharacterBox:oe.isCharacterBox(l)}},htmlBuilder:Ka,mathmlBuilder:Ya}),Y({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:an(t[0]),body:Ne(t[0])}},htmlBuilder(e,t){var r=Ie(e.body,t,!0),n=E.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Ze(e.body,t),n=new D.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var W1={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Za=()=>({type:"styling",body:[],mode:"math",style:"display"}),Ja=e=>e.type==="textord"&&e.text==="@",X1=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function K1(e,t,r){var n=W1[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var i=r.callFunction("\\\\cdleft",[t[0]],[]),a={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[a],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),l={type:"ordgroup",mode:"math",body:[i,s,o]};return r.callFunction("\\\\cdparent",[l],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var h={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[h],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Y1(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new P("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var s=t[a],o=Za(),l=0;l<s.length;l++)if(!Ja(s[l]))o.body.push(s[l]);else{n.push(o),l+=1;var h=Yn(s[l]).text,d=new Array(2);if(d[0]={type:"ordgroup",mode:"math",body:[]},d[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(h)>-1))if("<>AV".indexOf(h)>-1)for(var p=0;p<2;p++){for(var g=!0,m=l+1;m<s.length;m++){if(X1(s[m],h)){g=!1,l=m;break}if(Ja(s[m]))throw new P("Missing a "+h+" character to complete a CD arrow.",s[m]);d[p].body.push(s[m])}if(g)throw new P("Missing a "+h+" character to complete a CD arrow.",s[l])}else throw new P('Expected one of "<>AV=|." after @',s[l]);var z=K1(h,d,e),k={type:"styling",body:[z],mode:"math",style:"display"};n.push(k),o=Za()}a%2===0?n.push(o):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var N=new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:N,colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}Y({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=E.wrapFragment(be(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=U(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new D.MathNode("mrow",[xe(e.label,t)]);return r=new D.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new D.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),Y({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=E.wrapFragment(be(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new D.MathNode("mrow",[xe(e.fragment,t)])}}),Y({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=he(t[0],"ordgroup"),i=n.body,a="",s=0;s<i.length;s++){var o=he(i[s],"textord");a+=o.text}var l=parseInt(a),h;if(isNaN(l))throw new P("\\@char has non-numeric argument "+a);if(l<0||l>=1114111)throw new P("\\@char with invalid code point "+a);return l<=65535?h=String.fromCharCode(l):(l-=65536,h=String.fromCharCode((l>>10)+55296,(l&1023)+56320)),{type:"textord",mode:r.mode,text:h}}});var Qa=(e,t)=>{var r=Ie(e.body,t.withColor(e.color),!1);return E.makeFragment(r)},ei=(e,t)=>{var r=Ze(e.body,t.withColor(e.color)),n=new D.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};Y({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=he(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:Ne(i)}},htmlBuilder:Qa,mathmlBuilder:ei}),Y({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=he(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:Qa,mathmlBuilder:ei}),Y({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&he(i,"size").value}},htmlBuilder(e,t){var r=E.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=U(Te(e.size,t)))),r},mathmlBuilder(e,t){var r=new D.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",U(Te(e.size,t)))),r}});var Jn={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},ti=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new P("Expected a control sequence",e);return t},Z1=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},ri=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);i==null&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};Y({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(Jn[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=Jn[n.text]),he(t.parseFunction(),"internal");throw new P("Invalid token after macro prefix",n)}}),Y({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),i=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new P("Expected a control sequence",n);for(var a=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new P('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new P('Argument number "'+n.text+'" out of order');a++,o.push([])}else{if(n.text==="EOF")throw new P("Expected a macro definition");o[a].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return s&&l.unshift(s),(r==="\\edef"||r==="\\xdef")&&(l=t.gullet.expandTokens(l),l.reverse()),t.gullet.macros.set(i,{tokens:l,numArgs:a,delimiters:o},r===Jn[r]),{type:"internal",mode:t.mode}}}),Y({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=ti(t.gullet.popToken());t.gullet.consumeSpaces();var i=Z1(t);return ri(t,n,i,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),Y({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=ti(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return ri(t,n,a,r==="\\\\globalfuture"),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var Ar=function(t,r,n){var i=Se.math[t]&&Se.math[t].replace,a=In(i||t,r,n);if(!a)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return a},Qn=function(t,r,n,i){var a=n.havingBaseStyle(r),s=E.makeSpan(i.concat(a.sizingClasses(n)),[t],n),o=a.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=a.sizeMultiplier,s},ni=function(t,r,n){var i=r.havingBaseStyle(n),a=(1-r.sizeMultiplier/i.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=U(a),t.height-=a,t.depth+=a},J1=function(t,r,n,i,a,s){var o=E.makeSymbol(t,"Main-Regular",a,i),l=Qn(o,r,i,s);return n&&ni(l,i,r),l},Q1=function(t,r,n,i){return E.makeSymbol(t,"Size"+r+"-Regular",n,i)},ai=function(t,r,n,i,a,s){var o=Q1(t,r,a,i),l=Qn(E.makeSpan(["delimsizing","size"+r],[o],i),ne.TEXT,i,s);return n&&ni(l,i,ne.TEXT),l},e0=function(t,r,n){var i;r==="Size1-Regular"?i="delim-size1":i="delim-size4";var a=E.makeSpan(["delimsizinginner",i],[E.makeSpan([],[E.makeSymbol(t,r,n)])]);return{type:"elem",elem:a}},t0=function(t,r,n){var i=yt["Size4-Regular"][t.charCodeAt(0)]?yt["Size4-Regular"][t.charCodeAt(0)][4]:yt["Size1-Regular"][t.charCodeAt(0)][4],a=new Ht("inner",i1(t,Math.round(1e3*r))),s=new Tt([a],{width:U(i),height:U(r),style:"width:"+U(i),viewBox:"0 0 "+1e3*i+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=E.makeSvgSpan([],[s],n);return o.height=r,o.style.height=U(r),o.style.width=U(i),{type:"elem",elem:o}},r0=.008,sn={type:"kern",size:-1*r0},ec=["|","\\lvert","\\rvert","\\vert"],tc=["\\|","\\lVert","\\rVert","\\Vert"],ii=function(t,r,n,i,a,s){var o,l,h,d,p="",g=0;o=h=d=t,l=null;var m="Size1-Regular";t==="\\uparrow"?h=d="⏐":t==="\\Uparrow"?h=d="‖":t==="\\downarrow"?o=h="⏐":t==="\\Downarrow"?o=h="‖":t==="\\updownarrow"?(o="\\uparrow",h="⏐",d="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",h="‖",d="\\Downarrow"):oe.contains(ec,t)?(h="∣",p="vert",g=333):oe.contains(tc,t)?(h="∥",p="doublevert",g=556):t==="["||t==="\\lbrack"?(o="⎡",h="⎢",d="⎣",m="Size4-Regular",p="lbrack",g=667):t==="]"||t==="\\rbrack"?(o="⎤",h="⎥",d="⎦",m="Size4-Regular",p="rbrack",g=667):t==="\\lfloor"||t==="⌊"?(h=o="⎢",d="⎣",m="Size4-Regular",p="lfloor",g=667):t==="\\lceil"||t==="⌈"?(o="⎡",h=d="⎢",m="Size4-Regular",p="lceil",g=667):t==="\\rfloor"||t==="⌋"?(h=o="⎥",d="⎦",m="Size4-Regular",p="rfloor",g=667):t==="\\rceil"||t==="⌉"?(o="⎤",h=d="⎥",m="Size4-Regular",p="rceil",g=667):t==="("||t==="\\lparen"?(o="⎛",h="⎜",d="⎝",m="Size4-Regular",p="lparen",g=875):t===")"||t==="\\rparen"?(o="⎞",h="⎟",d="⎠",m="Size4-Regular",p="rparen",g=875):t==="\\{"||t==="\\lbrace"?(o="⎧",l="⎨",d="⎩",h="⎪",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",l="⎬",d="⎭",h="⎪",m="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",d="⎩",h="⎪",m="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",d="⎭",h="⎪",m="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",d="⎭",h="⎪",m="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",d="⎩",h="⎪",m="Size4-Regular");var z=Ar(o,m,a),k=z.height+z.depth,N=Ar(h,m,a),A=N.height+N.depth,C=Ar(d,m,a),R=C.height+C.depth,W=0,H=1;if(l!==null){var T=Ar(l,m,a);W=T.height+T.depth,H=2}var X=k+R+W,ee=Math.max(0,Math.ceil((r-X)/(H*A))),G=X+ee*H*A,M=i.fontMetrics().axisHeight;n&&(M*=i.sizeMultiplier);var V=G/2-M,$=[];if(p.length>0){var de=G-k-R,ue=Math.round(G*1e3),re=s1(p,Math.round(de*1e3)),ve=new Ht(p,re),O=(g/1e3).toFixed(3)+"em",L=(ue/1e3).toFixed(3)+"em",Q=new Tt([ve],{width:O,height:L,viewBox:"0 0 "+g+" "+ue}),v=E.makeSvgSpan([],[Q],i);v.height=ue/1e3,v.style.width=O,v.style.height=L,$.push({type:"elem",elem:v})}else{if($.push(e0(d,m,a)),$.push(sn),l===null){var se=G-k-R+2*r0;$.push(t0(h,se,i))}else{var ce=(G-k-R-W)/2+2*r0;$.push(t0(h,ce,i)),$.push(sn),$.push(e0(l,m,a)),$.push(sn),$.push(t0(h,ce,i))}$.push(sn),$.push(e0(o,m,a))}var x=i.havingBaseStyle(ne.TEXT),Oe=E.makeVList({positionType:"bottom",positionData:V,children:$},x);return Qn(E.makeSpan(["delimsizing","mult"],[Oe],x),ne.TEXT,i,s)},n0=80,a0=.08,i0=function(t,r,n,i,a){var s=a1(t,i,n),o=new Ht(t,s),l=new Tt([o],{width:"400em",height:U(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return E.makeSvgSpan(["hide-tail"],[l],a)},rc=function(t,r){var n=r.havingBaseSizing(),i=ui("\\surd",t*n.sizeMultiplier,li,n),a=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,l=0,h=0,d=0,p;return i.type==="small"?(d=1e3+1e3*s+n0,t<1?a=1:t<1.4&&(a=.7),l=(1+s+a0)/a,h=(1+s)/a,o=i0("sqrtMain",l,d,s,r),o.style.minWidth="0.853em",p=.833/a):i.type==="large"?(d=(1e3+n0)*Tr[i.size],h=(Tr[i.size]+s)/a,l=(Tr[i.size]+s+a0)/a,o=i0("sqrtSize"+i.size,l,d,s,r),o.style.minWidth="1.02em",p=1/a):(l=t+s+a0,h=t+s,d=Math.floor(1e3*t+s)+n0,o=i0("sqrtTall",l,d,s,r),o.style.minWidth="0.742em",p=1.056),o.height=h,o.style.height=U(l),{span:o,advanceWidth:p,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*a}},si=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],nc=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],oi=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Tr=[0,1.2,1.8,2.4,3],ac=function(t,r,n,i,a){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),oe.contains(si,t)||oe.contains(oi,t))return ai(t,r,!1,n,i,a);if(oe.contains(nc,t))return ii(t,Tr[r],!1,n,i,a);throw new P("Illegal delimiter: '"+t+"'")},ic=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],sc=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],li=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],oc=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},ui=function(t,r,n,i){for(var a=Math.min(2,3-i.style.size),s=a;s<n.length&&n[s].type!=="stack";s++){var o=Ar(t,oc(n[s]),"math"),l=o.height+o.depth;if(n[s].type==="small"){var h=i.havingBaseStyle(n[s].style);l*=h.sizeMultiplier}if(l>r)return n[s]}return n[n.length-1]},ci=function(t,r,n,i,a,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;oe.contains(oi,t)?o=ic:oe.contains(si,t)?o=li:o=sc;var l=ui(t,r,o,i);return l.type==="small"?J1(t,l.style,n,i,a,s):l.type==="large"?ai(t,l.size,n,i,a,s):ii(t,r,n,i,a,s)},lc=function(t,r,n,i,a,s){var o=i.fontMetrics().axisHeight*i.sizeMultiplier,l=901,h=5/i.fontMetrics().ptPerEm,d=Math.max(r-o,n+o),p=Math.max(d/500*l,2*d-h);return ci(t,p,!0,i,a,s)},Bt={sqrtImage:rc,sizedDelim:ac,sizeToMaxHeight:Tr,customSizedDelim:ci,leftRightDelim:lc},hi={"\\bigl":{mclass:"mopen",size:1},"\\Bigl":{mclass:"mopen",size:2},"\\biggl":{mclass:"mopen",size:3},"\\Biggl":{mclass:"mopen",size:4},"\\bigr":{mclass:"mclose",size:1},"\\Bigr":{mclass:"mclose",size:2},"\\biggr":{mclass:"mclose",size:3},"\\Biggr":{mclass:"mclose",size:4},"\\bigm":{mclass:"mrel",size:1},"\\Bigm":{mclass:"mrel",size:2},"\\biggm":{mclass:"mrel",size:3},"\\Biggm":{mclass:"mrel",size:4},"\\big":{mclass:"mord",size:1},"\\Big":{mclass:"mord",size:2},"\\bigg":{mclass:"mord",size:3},"\\Bigg":{mclass:"mord",size:4}},uc=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function on(e,t){var r=rn(e);if(r&&oe.contains(uc,r.text))return r;throw r?new P("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new P("Invalid delimiter type '"+e.type+"'",e)}Y({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=on(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:hi[e.funcName].size,mclass:hi[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?E.makeSpan([e.mclass]):Bt.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(lt(e.delim,e.mode));var r=new D.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=U(Bt.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function di(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Y({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new P("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:on(t[0],e).text,color:r}}}),Y({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=on(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=he(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{di(e);for(var r=Ie(e.body,t,!0,["mopen","mclose"]),n=0,i=0,a=!1,s=0;s<r.length;s++)r[s].isMiddle?a=!0:(n=Math.max(r[s].height,n),i=Math.max(r[s].depth,i));n*=t.sizeMultiplier,i*=t.sizeMultiplier;var o;if(e.left==="."?o=Sr(t,["mopen"]):o=Bt.leftRightDelim(e.left,n,i,t,e.mode,["mopen"]),r.unshift(o),a)for(var l=1;l<r.length;l++){var h=r[l],d=h.isMiddle;d&&(r[l]=Bt.leftRightDelim(d.delim,n,i,d.options,e.mode,[]))}var p;if(e.right===".")p=Sr(t,["mclose"]);else{var g=e.rightColor?t.withColor(e.rightColor):t;p=Bt.leftRightDelim(e.right,n,i,g,e.mode,["mclose"])}return r.push(p),E.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{di(e);var r=Ze(e.body,t);if(e.left!=="."){var n=new D.MathNode("mo",[lt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var i=new D.MathNode("mo",[lt(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return Xn(r)}}),Y({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=on(t[0],e);if(!e.parser.leftrightDepth)throw new P("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Sr(t,[]);else{r=Bt.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?lt("|","text"):lt(e.delim,e.mode),n=new D.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var s0=(e,t)=>{var r=E.wrapFragment(be(e.body,t),t),n=e.label.slice(1),i=t.sizeMultiplier,a,s=0,o=oe.isCharacterBox(e.body);if(n==="sout")a=E.makeSpan(["stretchy","sout"]),a.height=t.fontMetrics().defaultRuleThickness/i,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var l=Te({number:.6,unit:"pt"},t),h=Te({number:.35,unit:"ex"},t),d=t.havingBaseSizing();i=i/d.sizeMultiplier;var p=r.height+r.depth+l+h;r.style.paddingLeft=U(p/2+l);var g=Math.floor(1e3*p*i),m=r1(g),z=new Tt([new Ht("phase",m)],{width:"400em",height:U(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});a=E.makeSvgSpan(["hide-tail"],[z],t),a.style.height=U(p),s=r.depth+l+h}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var k=0,N=0,A=0;/box/.test(n)?(A=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),k=t.fontMetrics().fboxsep+(n==="colorbox"?0:A),N=k):n==="angl"?(A=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),k=4*A,N=Math.max(0,.25-r.depth)):(k=o?.2:0,N=k),a=_t.encloseSpan(r,n,k,N,t),/fbox|boxed|fcolorbox/.test(n)?(a.style.borderStyle="solid",a.style.borderWidth=U(A)):n==="angl"&&A!==.049&&(a.style.borderTopWidth=U(A),a.style.borderRightWidth=U(A)),s=r.depth+N,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var C;if(e.backgroundColor)C=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:s},{type:"elem",elem:r,shift:0}]},t);else{var R=/cancel|phase/.test(n)?["svg-align"]:[];C=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:a,shift:s,wrapperClasses:R}]},t)}return/cancel/.test(n)&&(C.height=r.height,C.depth=r.depth),/cancel/.test(n)&&!o?E.makeSpan(["mord","cancel-lap"],[C],t):E.makeSpan(["mord"],[C],t)},o0=(e,t)=>{var r=0,n=new D.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[xe(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+i+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};Y({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=he(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:s}},htmlBuilder:s0,mathmlBuilder:o0}),Y({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=he(t[0],"color-token").color,s=he(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:s,borderColor:a,body:o}},htmlBuilder:s0,mathmlBuilder:o0}),Y({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),Y({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:s0,mathmlBuilder:o0}),Y({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var mi={};function wt(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},l=0;l<r.length;++l)mi[r[l]]=o;a&&(Jr[t]=a),s&&(Qr[t]=s)}var pi={};function b(e,t){pi[e]=t}function fi(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var ln=e=>{var t=e.parser.settings;if(!t.displayMode)throw new P("{"+e.envName+"} can be used only in display mode.")};function l0(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function jt(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:s,colSeparationType:o,autoTag:l,singleRow:h,emptySingleRow:d,maxNumCols:p,leqno:g}=t;if(e.gullet.beginGroup(),h||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new P("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var z=[],k=[z],N=[],A=[],C=l!=null?[]:void 0;function R(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function W(){C&&(e.gullet.macros.get("\\df@tag")?(C.push(e.subparse([new bt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):C.push(!!l&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(R(),A.push(fi(e));;){var H=e.parseExpression(!1,h?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),H={type:"ordgroup",mode:e.mode,body:H},r&&(H={type:"styling",mode:e.mode,style:r,body:[H]}),z.push(H);var T=e.fetch().text;if(T==="&"){if(p&&z.length===p){if(h||o)throw new P("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(T==="\\end"){W(),z.length===1&&H.type==="styling"&&H.body[0].body.length===0&&(k.length>1||!d)&&k.pop(),A.length<k.length+1&&A.push([]);break}else if(T==="\\\\"){e.consume();var X=void 0;e.gullet.future().text!==" "&&(X=e.parseSizeGroup(!0)),N.push(X?X.value:null),W(),A.push(fi(e)),z=[],k.push(z),R()}else throw new P("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:s,body:k,cols:a,rowGaps:N,hskipBeforeAndAfter:n,hLinesBeforeRow:A,colSeparationType:o,tags:C,leqno:g}}function u0(e){return e.slice(0,1)==="d"?"display":"text"}var xt=function(t,r){var n,i,a=t.body.length,s=t.hLinesBeforeRow,o=0,l=new Array(a),h=[],d=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),p=1/r.fontMetrics().ptPerEm,g=5*p;if(t.colSeparationType&&t.colSeparationType==="small"){var m=r.havingStyle(ne.SCRIPT).sizeMultiplier;g=.2778*(m/r.sizeMultiplier)}var z=t.colSeparationType==="CD"?Te({number:3,unit:"ex"},r):12*p,k=3*p,N=t.arraystretch*z,A=.7*N,C=.3*N,R=0;function W(pt){for(var ie=0;ie<pt.length;++ie)ie>0&&(R+=.25),h.push({pos:R,isDashed:pt[ie]})}for(W(s[0]),n=0;n<t.body.length;++n){var H=t.body[n],T=A,X=C;o<H.length&&(o=H.length);var ee=new Array(H.length);for(i=0;i<H.length;++i){var G=be(H[i],r);X<G.depth&&(X=G.depth),T<G.height&&(T=G.height),ee[i]=G}var M=t.rowGaps[n],V=0;M&&(V=Te(M,r),V>0&&(V+=C,X<V&&(X=V),V=0)),t.addJot&&(X+=k),ee.height=T,ee.depth=X,R+=T,ee.pos=R,R+=X+V,l[n]=ee,W(s[n+1])}var $=R/2+r.fontMetrics().axisHeight,de=t.cols||[],ue=[],re,ve,O=[];if(t.tags&&t.tags.some(pt=>pt))for(n=0;n<a;++n){var L=l[n],Q=L.pos-$,v=t.tags[n],se=void 0;v===!0?se=E.makeSpan(["eqn-num"],[],r):v===!1?se=E.makeSpan([],[],r):se=E.makeSpan([],Ie(v,r,!0),r),se.depth=L.depth,se.height=L.height,O.push({type:"elem",elem:se,shift:Q})}for(i=0,ve=0;i<o||ve<de.length;++i,++ve){for(var ce=de[ve]||{},x=!0;ce.type==="separator";){if(x||(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(r.fontMetrics().doubleRuleSep),ue.push(re)),ce.separator==="|"||ce.separator===":"){var Oe=ce.separator==="|"?"solid":"dashed",we=E.makeSpan(["vertical-separator"],[],r);we.style.height=U(R),we.style.borderRightWidth=U(d),we.style.borderRightStyle=Oe,we.style.margin="0 "+U(-d/2);var ye=R-$;ye&&(we.style.verticalAlign=U(-ye)),ue.push(we)}else throw new P("Invalid separator type: "+ce.separator);ve++,ce=de[ve]||{},x=!1}if(!(i>=o)){var Xe=void 0;(i>0||t.hskipBeforeAndAfter)&&(Xe=oe.deflt(ce.pregap,g),Xe!==0&&(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(Xe),ue.push(re)));var Fe=[];for(n=0;n<a;++n){var Je=l[n],Qe=Je[i];if(Qe){var tr=Je.pos-$;Qe.depth=Je.depth,Qe.height=Je.height,Fe.push({type:"elem",elem:Qe,shift:tr})}}Fe=E.makeVList({positionType:"individualShift",children:Fe},r),Fe=E.makeSpan(["col-align-"+(ce.align||"c")],[Fe]),ue.push(Fe),(i<o-1||t.hskipBeforeAndAfter)&&(Xe=oe.deflt(ce.postgap,g),Xe!==0&&(re=E.makeSpan(["arraycolsep"],[]),re.style.width=U(Xe),ue.push(re)))}}if(l=E.makeSpan(["mtable"],ue),h.length>0){for(var Or=E.makeLineSpan("hline",r,d),Ir=E.makeLineSpan("hdashline",r,d),mt=[{type:"elem",elem:l,shift:0}];h.length>0;){var Kt=h.pop(),Ge=Kt.pos-$;Kt.isDashed?mt.push({type:"elem",elem:Ir,shift:Ge}):mt.push({type:"elem",elem:Or,shift:Ge})}l=E.makeVList({positionType:"individualShift",children:mt},r)}if(O.length===0)return E.makeSpan(["mord"],[l],r);var rr=E.makeVList({positionType:"individualShift",children:O},r);return rr=E.makeSpan(["tag"],[rr],r),E.makeFragment([l,rr])},cc={c:"center ",l:"left ",r:"right "},kt=function(t,r){for(var n=[],i=new D.MathNode("mtd",[],["mtr-glue"]),a=new D.MathNode("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],l=[],h=0;h<o.length;h++)l.push(new D.MathNode("mtd",[xe(o[h],r)]));t.tags&&t.tags[s]&&(l.unshift(i),l.push(i),t.leqno?l.unshift(a):l.push(a)),n.push(new D.MathNode("mtr",l))}var d=new D.MathNode("mtable",n),p=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);d.setAttribute("rowspacing",U(p));var g="",m="";if(t.cols&&t.cols.length>0){var z=t.cols,k="",N=!1,A=0,C=z.length;z[0].type==="separator"&&(g+="top ",A=1),z[z.length-1].type==="separator"&&(g+="bottom ",C-=1);for(var R=A;R<C;R++)z[R].type==="align"?(m+=cc[z[R].align],N&&(k+="none "),N=!0):z[R].type==="separator"&&N&&(k+=z[R].separator==="|"?"solid ":"dashed ",N=!1);d.setAttribute("columnalign",m.trim()),/[sd]/.test(k)&&d.setAttribute("columnlines",k.trim())}if(t.colSeparationType==="align"){for(var W=t.cols||[],H="",T=1;T<W.length;T++)H+=T%2?"0em ":"1em ";d.setAttribute("columnspacing",H.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?d.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?d.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?d.setAttribute("columnspacing","0.5em"):d.setAttribute("columnspacing","1em");var X="",ee=t.hLinesBeforeRow;g+=ee[0].length>0?"left ":"",g+=ee[ee.length-1].length>0?"right ":"";for(var G=1;G<ee.length-1;G++)X+=ee[G].length===0?"none ":ee[G][0]?"dashed ":"solid ";return/[sd]/.test(X)&&d.setAttribute("rowlines",X.trim()),g!==""&&(d=new D.MathNode("menclose",[d]),d.setAttribute("notation",g.trim())),t.arraystretch&&t.arraystretch<1&&(d=new D.MathNode("mstyle",[d]),d.setAttribute("scriptlevel","1")),d},gi=function(t,r){t.envName.indexOf("ed")===-1&&ln(t);var n=[],i=t.envName.indexOf("at")>-1?"alignat":"align",a=t.envName==="split",s=jt(t.parser,{cols:n,addJot:!0,autoTag:a?void 0:l0(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},"display"),o,l=0,h={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",p=0;p<r[0].body.length;p++){var g=he(r[0].body[p],"textord");d+=g.text}o=Number(d),l=o*2}var m=!l;s.body.forEach(function(A){for(var C=1;C<A.length;C+=2){var R=he(A[C],"styling"),W=he(R.body[0],"ordgroup");W.body.unshift(h)}if(m)l<A.length&&(l=A.length);else{var H=A.length/2;if(o<H)throw new P("Too many math in a row: "+("expected "+o+", but got "+H),A[0])}});for(var z=0;z<l;++z){var k="r",N=0;z%2===1?k="l":z>0&&m&&(N=1),n[z]={type:"align",align:k,pregap:N,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};wt({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=rn(t[0]),n=r?[t[0]]:he(t[0],"ordgroup").body,i=n.map(function(s){var o=Yn(s),l=o.text;if("lcr".indexOf(l)!==-1)return{type:"align",align:l};if(l==="|")return{type:"separator",separator:"|"};if(l===":")return{type:"separator",separator:":"};throw new P("Unknown column alignment: "+l,s)}),a={cols:i,hskipBeforeAndAfter:!0,maxNumCols:i.length};return jt(e.parser,a,u0(e.envName))},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var i=e.parser;if(i.consumeSpaces(),i.fetch().text==="["){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,"lcr".indexOf(r)===-1)throw new P("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=jt(e.parser,n,u0(e.envName)),s=Math.max(0,...a.body.map(o=>o.length));return a.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=jt(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=rn(t[0]),n=r?[t[0]]:he(t[0],"ordgroup").body,i=n.map(function(s){var o=Yn(s),l=o.text;if("lc".indexOf(l)!==-1)return{type:"align",align:l};throw new P("Unknown column alignment: "+l,s)});if(i.length>1)throw new P("{subarray} can contain only one column");var a={cols:i,hskipBeforeAndAfter:!1,arraystretch:.5};if(a=jt(e.parser,a,"script"),a.body.length>0&&a.body[0].length>1)throw new P("{subarray} can contain only one column");return a},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=jt(e.parser,t,u0(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:gi,htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){oe.contains(["gather","gather*"],e.envName)&&ln(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:l0(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return jt(e.parser,t,"display")},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:gi,htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){ln(e);var t={autoTag:l0(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return jt(e.parser,t,"display")},htmlBuilder:xt,mathmlBuilder:kt}),wt({type:"array",names:["CD"],props:{numArgs:0},handler(e){return ln(e),Y1(e.parser)},htmlBuilder:xt,mathmlBuilder:kt}),b("\\nonumber","\\gdef\\@eqnsw{0}"),b("\\notag","\\nonumber"),Y({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new P(e.funcName+" valid only within array environment")}});var bi=mi;Y({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if(i.type!=="ordgroup")throw new P("Invalid environment name",i);for(var a="",s=0;s<i.body.length;++s)a+=he(i.body[s],"textord").text;if(n==="\\begin"){if(!bi.hasOwnProperty(a))throw new P("No such environment: "+a,i);var o=bi[a],{args:l,optArgs:h}=r.parseArguments("\\begin{"+a+"}",o),d={mode:r.mode,envName:a,parser:r},p=o.handler(d,l,h);r.expect("\\end",!1);var g=r.nextToken,m=he(r.parseFunction(),"environment");if(m.name!==a)throw new P("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",g);return p}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var vi=(e,t)=>{var r=e.font,n=t.withFont(r);return be(e.body,n)},yi=(e,t)=>{var r=e.font,n=t.withFont(r);return xe(e.body,n)},wi={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Y({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=en(t[0]),a=n;return a in wi&&(a=wi[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:vi,mathmlBuilder:yi}),Y({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],i=oe.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:an(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:i}}}),Y({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,s=r.parseExpression(!0,i),o="math"+n.slice(1);return{type:"font",mode:a,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:vi,mathmlBuilder:yi});var xi=(e,t)=>{var r=t;return e==="display"?r=r.id>=ne.SCRIPT.id?r.text():ne.DISPLAY:e==="text"&&r.size===ne.DISPLAY.size?r=ne.TEXT:e==="script"?r=ne.SCRIPT:e==="scriptscript"&&(r=ne.SCRIPTSCRIPT),r},c0=(e,t)=>{var r=xi(e.size,t.style),n=r.fracNum(),i=r.fracDen(),a;a=t.havingStyle(n);var s=be(e.numer,a,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<l?l:s.depth}a=t.havingStyle(i);var h=be(e.denom,a,t),d,p,g;e.hasBarLine?(e.barSize?(p=Te(e.barSize,t),d=E.makeLineSpan("frac-line",t,p)):d=E.makeLineSpan("frac-line",t),p=d.height,g=d.height):(d=null,p=0,g=t.fontMetrics().defaultRuleThickness);var m,z,k;r.size===ne.DISPLAY.size||e.size==="display"?(m=t.fontMetrics().num1,p>0?z=3*g:z=7*g,k=t.fontMetrics().denom1):(p>0?(m=t.fontMetrics().num2,z=g):(m=t.fontMetrics().num3,z=3*g),k=t.fontMetrics().denom2);var N;if(d){var C=t.fontMetrics().axisHeight;m-s.depth-(C+.5*p)<z&&(m+=z-(m-s.depth-(C+.5*p))),C-.5*p-(h.height-k)<z&&(k+=z-(C-.5*p-(h.height-k)));var R=-(C-.5*p);N=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:d,shift:R},{type:"elem",elem:s,shift:-m}]},t)}else{var A=m-s.depth-(h.height-k);A<z&&(m+=.5*(z-A),k+=.5*(z-A)),N=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:h,shift:k},{type:"elem",elem:s,shift:-m}]},t)}a=t.havingStyle(r),N.height*=a.sizeMultiplier/t.sizeMultiplier,N.depth*=a.sizeMultiplier/t.sizeMultiplier;var W;r.size===ne.DISPLAY.size?W=t.fontMetrics().delim1:r.size===ne.SCRIPTSCRIPT.size?W=t.havingStyle(ne.SCRIPT).fontMetrics().delim2:W=t.fontMetrics().delim2;var H,T;return e.leftDelim==null?H=Sr(t,["mopen"]):H=Bt.customSizedDelim(e.leftDelim,W,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?T=E.makeSpan([]):e.rightDelim==null?T=Sr(t,["mclose"]):T=Bt.customSizedDelim(e.rightDelim,W,!0,t.havingStyle(r),e.mode,["mclose"]),E.makeSpan(["mord"].concat(a.sizingClasses(t)),[H,E.makeSpan(["mfrac"],[N]),T],t)},h0=(e,t)=>{var r=new D.MathNode("mfrac",[xe(e.numer,t),xe(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Te(e.barSize,t);r.setAttribute("linethickness",U(n))}var i=xi(e.size,t.style);if(i.size!==t.style.size){r=new D.MathNode("mstyle",[r]);var a=i.size===ne.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",a),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var s=[];if(e.leftDelim!=null){var o=new D.MathNode("mo",[new D.TextNode(e.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),e.rightDelim!=null){var l=new D.MathNode("mo",[new D.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),s.push(l)}return Xn(s)}return r};Y({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1],s,o=null,l=null,h="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",l=")";break;case"\\\\bracefrac":s=!1,o="\\{",l="\\}";break;case"\\\\brackfrac":s=!1,o="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":h="display";break;case"\\tfrac":case"\\tbinom":h="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:i,denom:a,hasBarLine:s,leftDelim:o,rightDelim:l,size:h,barSize:null}},htmlBuilder:c0,mathmlBuilder:h0}),Y({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:i,denom:a,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Y({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,i;switch(r){case"\\over":i="\\frac";break;case"\\choose":i="\\binom";break;case"\\atop":i="\\\\atopfrac";break;case"\\brace":i="\\\\bracefrac";break;case"\\brack":i="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:i,token:n}}});var ki=["display","text","script","scriptscript"],zi=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};Y({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],i=t[5],a=en(t[0]),s=a.type==="atom"&&a.family==="open"?zi(a.text):null,o=en(t[1]),l=o.type==="atom"&&o.family==="close"?zi(o.text):null,h=he(t[2],"size"),d,p=null;h.isBlank?d=!0:(p=h.value,d=p.number>0);var g="auto",m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var z=he(m.body[0],"textord");g=ki[Number(z.text)]}}else m=he(m,"textord"),g=ki[Number(m.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:i,continued:!1,hasBarLine:d,barSize:p,leftDelim:s,rightDelim:l,size:g}},htmlBuilder:c0,mathmlBuilder:h0}),Y({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:he(t[0],"size").value,token:i}}}),Y({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=Hu(he(t[1],"infix").size),s=t[2],o=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:s,continued:!1,hasBarLine:o,barSize:a,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:c0,mathmlBuilder:h0});var Si=(e,t)=>{var r=t.style,n,i;e.type==="supsub"?(n=e.sup?be(e.sup,t.havingStyle(r.sup()),t):be(e.sub,t.havingStyle(r.sub()),t),i=he(e.base,"horizBrace")):i=he(e,"horizBrace");var a=be(i.base,t.havingBaseStyle(ne.DISPLAY)),s=_t.svgSpan(i,t),o;if(i.isOver?(o=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t),o.children[0].children[0].children[1].classes.push("svg-align")):(o=E.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t),o.children[0].children[0].children[0].classes.push("svg-align")),n){var l=E.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t);i.isOver?o=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:n}]},t):o=E.makeVList({positionType:"bottom",positionData:l.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return E.makeSpan(["mord",i.isOver?"mover":"munder"],[o],t)},hc=(e,t)=>{var r=_t.mathMLnode(e.label);return new D.MathNode(e.isOver?"mover":"munder",[xe(e.base,t),r])};Y({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Si,mathmlBuilder:hc}),Y({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=he(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:Ne(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Ie(e.body,t,!1);return E.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Gt(e.body,t);return r instanceof ot||(r=new ot("mrow",[r])),r.setAttribute("href",e.href),r}}),Y({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=he(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var s=n[a];s==="~"&&(s="\\textasciitilde"),i.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:Ne(o)}}}),Y({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:Ne(t[0])}},htmlBuilder(e,t){var r=Ie(e.body,t,!1);return E.makeFragment(r)},mathmlBuilder(e,t){return new D.MathNode("mrow",Ze(e.body,t))}}),Y({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:i}=e,a=he(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,l={};switch(n){case"\\htmlClass":l.class=a,o={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,o={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,o={command:"\\htmlStyle",style:a};break;case"\\htmlData":{for(var h=a.split(","),d=0;d<h.length;d++){var p=h[d].split("=");if(p.length!==2)throw new P("Error parsing key-value for \\htmlData");l["data-"+p[0].trim()]=p[1].trim()}o={command:"\\htmlData",attributes:l};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:l,body:Ne(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Ie(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=E.makeSpan(n,r,t);for(var a in e.attributes)a!=="class"&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>Gt(e.body,t)}),Y({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Ne(t[0]),mathml:Ne(t[1])}},htmlBuilder:(e,t)=>{var r=Ie(e.html,t,!1);return E.makeFragment(r)},mathmlBuilder:(e,t)=>Gt(e.mathml,t)});var d0=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new P("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Aa(n))throw new P("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};Y({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var l=he(r[0],"raw").string,h=l.split(","),d=0;d<h.length;d++){var p=h[d].split("=");if(p.length===2){var g=p[1].trim();switch(p[0].trim()){case"alt":o=g;break;case"width":i=d0(g);break;case"height":a=d0(g);break;case"totalheight":s=d0(g);break;default:throw new P("Invalid key: '"+p[0]+"' in \\includegraphics.")}}}var m=he(t[0],"url").url;return o===""&&(o=m,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:n.mode,alt:o,width:i,height:a,totalheight:s,src:m}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Te(e.height,t),n=0;e.totalheight.number>0&&(n=Te(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=Te(e.width,t));var a={height:U(r+n)};i>0&&(a.width=U(i)),n>0&&(a.verticalAlign=U(-n));var s=new h1(e.src,e.alt,a);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Te(e.height,t),i=0;if(e.totalheight.number>0&&(i=Te(e.totalheight,t)-n,r.setAttribute("valign",U(-i))),r.setAttribute("height",U(n+i)),e.width.number>0){var a=Te(e.width,t);r.setAttribute("width",U(a))}return r.setAttribute("src",e.src),r}}),Y({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=he(t[0],"size");if(r.settings.strict){var a=n[1]==="m",s=i.value.unit==="mu";a?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+i.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder(e,t){return E.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=Te(e.dimension,t);return new D.SpaceNode(r)}}),Y({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=E.makeSpan([],[be(e.body,t)]),r=E.makeSpan(["inner"],[r],t)):r=E.makeSpan(["inner"],[be(e.body,t)]);var n=E.makeSpan(["fix"],[]),i=E.makeSpan([e.alignment],[r,n],t),a=E.makeSpan(["strut"]);return a.style.height=U(i.height+i.depth),i.depth&&(a.style.verticalAlign=U(-i.depth)),i.children.unshift(a),i=E.makeSpan(["thinbox"],[i],t),E.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mpadded",[xe(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),Y({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a=r==="\\("?"\\)":"$",s=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",body:s}}}),Y({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new P("Mismatched "+e.funcName)}});var Ei=(e,t)=>{switch(t.style.size){case ne.DISPLAY.size:return e.display;case ne.TEXT.size:return e.text;case ne.SCRIPT.size:return e.script;case ne.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Y({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Ne(t[0]),text:Ne(t[1]),script:Ne(t[2]),scriptscript:Ne(t[3])}},htmlBuilder:(e,t)=>{var r=Ei(e,t),n=Ie(r,t,!1);return E.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Ei(e,t);return Gt(r,t)}});var Ai=(e,t,r,n,i,a,s)=>{e=E.makeSpan([],[e]);var o=r&&oe.isCharacterBox(r),l,h;if(t){var d=be(t,n.havingStyle(i.sup()),n);h={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var p=be(r,n.havingStyle(i.sub()),n);l={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}var g;if(h&&l){var m=n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+s;g=E.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:U(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:U(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(l){var z=e.height-s;g=E.makeVList({positionType:"top",positionData:z,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:U(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]},n)}else if(h){var k=e.depth+s;g=E.makeVList({positionType:"bottom",positionData:k,children:[{type:"elem",elem:e},{type:"kern",size:h.kern},{type:"elem",elem:h.elem,marginLeft:U(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var N=[g];if(l&&a!==0&&!o){var A=E.makeSpan(["mspace"],[],n);A.style.marginRight=U(a),N.unshift(A)}return E.makeSpan(["mop","op-limits"],N,n)},Ti=["\\smallint"],dr=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=he(e.base,"op"),i=!0):a=he(e,"op");var s=t.style,o=!1;s.size===ne.DISPLAY.size&&a.symbol&&!oe.contains(Ti,a.name)&&(o=!0);var l;if(a.symbol){var h=o?"Size2-Regular":"Size1-Regular",d="";if((a.name==="\\oiint"||a.name==="\\oiiint")&&(d=a.name.slice(1),a.name=d==="oiint"?"\\iint":"\\iiint"),l=E.makeSymbol(a.name,h,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),d.length>0){var p=l.italic,g=E.staticSvg(d+"Size"+(o?"2":"1"),t);l=E.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:0},{type:"elem",elem:g,shift:o?.08:0}]},t),a.name="\\"+d,l.classes.unshift("mop"),l.italic=p}}else if(a.body){var m=Ie(a.body,t,!0);m.length===1&&m[0]instanceof st?(l=m[0],l.classes[0]="mop"):l=E.makeSpan(["mop"],m,t)}else{for(var z=[],k=1;k<a.name.length;k++)z.push(E.mathsym(a.name[k],a.mode,t));l=E.makeSpan(["mop"],z,t)}var N=0,A=0;return(l instanceof st||a.name==="\\oiint"||a.name==="\\oiiint")&&!a.suppressBaseShift&&(N=(l.height-l.depth)/2-t.fontMetrics().axisHeight,A=l.italic),i?Ai(l,r,n,t,s,A,N):(N&&(l.style.position="relative",l.style.top=U(N)),l)},Mr=(e,t)=>{var r;if(e.symbol)r=new ot("mo",[lt(e.name,e.mode)]),oe.contains(Ti,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new ot("mo",Ze(e.body,t));else{r=new ot("mi",[new Er(e.name.slice(1))]);var n=new ot("mo",[lt("⁡","text")]);e.parentIsSupSub?r=new ot("mrow",[r,n]):r=ja([r,n])}return r},dc={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Y({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return i.length===1&&(i=dc[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:dr,mathmlBuilder:Mr}),Y({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ne(n)}},htmlBuilder:dr,mathmlBuilder:Mr});var mc={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Y({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:dr,mathmlBuilder:Mr}),Y({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:dr,mathmlBuilder:Mr}),Y({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=mc[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:dr,mathmlBuilder:Mr});var Mi=(e,t)=>{var r,n,i=!1,a;e.type==="supsub"?(r=e.sup,n=e.sub,a=he(e.base,"operatorname"),i=!0):a=he(e,"operatorname");var s;if(a.body.length>0){for(var o=a.body.map(p=>{var g=p.text;return typeof g=="string"?{type:"textord",mode:p.mode,text:g}:p}),l=Ie(o,t.withFont("mathrm"),!0),h=0;h<l.length;h++){var d=l[h];d instanceof st&&(d.text=d.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=E.makeSpan(["mop"],l,t)}else s=E.makeSpan(["mop"],[],t);return i?Ai(s,r,n,t,t.style,0,0):s},pc=(e,t)=>{for(var r=Ze(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(!(a instanceof D.SpaceNode))if(a instanceof D.MathNode)switch(a.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=a.children[0];a.children.length===1&&s instanceof D.TextNode?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(d=>d.toText()).join("");r=[new D.TextNode(o)]}var l=new D.MathNode("mi",r);l.setAttribute("mathvariant","normal");var h=new D.MathNode("mo",[lt("⁡","text")]);return e.parentIsSupSub?new D.MathNode("mrow",[l,h]):D.newDocumentFragment([l,h])};Y({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:Ne(i),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Mi,mathmlBuilder:pc}),b("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Jt({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?E.makeFragment(Ie(e.body,t,!1)):E.makeSpan(["mord"],Ie(e.body,t,!0),t)},mathmlBuilder(e,t){return Gt(e.body,t,!0)}}),Y({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle()),n=E.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,a=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]},t);return E.makeSpan(["mord","overline"],[a],t)},mathmlBuilder(e,t){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new D.MathNode("mover",[xe(e.body,t),r]);return n.setAttribute("accent","true"),n}}),Y({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:Ne(n)}},htmlBuilder:(e,t)=>{var r=Ie(e.body,t.withPhantom(),!1);return E.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Ze(e.body,t);return new D.MathNode("mphantom",r)}}),Y({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=E.makeSpan([],[be(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),E.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=Ze(Ne(e.body),t),n=new D.MathNode("mphantom",r),i=new D.MathNode("mpadded",[n]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),Y({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=E.makeSpan(["inner"],[be(e.body,t.withPhantom())]),n=E.makeSpan(["fix"],[]);return E.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Ze(Ne(e.body),t),n=new D.MathNode("mphantom",r),i=new D.MathNode("mpadded",[n]);return i.setAttribute("width","0px"),i}}),Y({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=he(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=be(e.body,t),n=Te(e.dy,t);return E.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new D.MathNode("mpadded",[xe(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),Y({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),Y({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=he(t[0],"size"),s=he(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&he(i,"size").value,width:a.value,height:s.value}},htmlBuilder(e,t){var r=E.makeSpan(["mord","rule"],[],t),n=Te(e.width,t),i=Te(e.height,t),a=e.shift?Te(e.shift,t):0;return r.style.borderRightWidth=U(n),r.style.borderTopWidth=U(i),r.style.bottom=U(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=i*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Te(e.width,t),n=Te(e.height,t),i=e.shift?Te(e.shift,t):0,a=t.color&&t.getColor()||"black",s=new D.MathNode("mspace");s.setAttribute("mathbackground",a),s.setAttribute("width",U(r)),s.setAttribute("height",U(n));var o=new D.MathNode("mpadded",[s]);return i>=0?o.setAttribute("height",U(i)):(o.setAttribute("height",U(i)),o.setAttribute("depth",U(-i))),o.setAttribute("voffset",U(i)),o}});function Ci(e,t,r){for(var n=Ie(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var s=n[a].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[s+1]==="reset-size"+t.size&&(n[a].classes[s+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return E.makeFragment(n)}var Ni=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],fc=(e,t)=>{var r=t.havingSize(e.size);return Ci(e.body,r,t)};Y({type:"sizing",names:Ni,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:Ni.indexOf(n)+1,body:a}},htmlBuilder:fc,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Ze(e.body,r),i=new D.MathNode("mstyle",n);return i.setAttribute("mathsize",U(r.sizeMultiplier)),i}}),Y({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,i=!1,a=!1,s=r[0]&&he(r[0],"ordgroup");if(s)for(var o="",l=0;l<s.body.length;++l){var h=s.body[l];if(o=h.text,o==="t")i=!0;else if(o==="b")a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var d=t[0];return{type:"smash",mode:n.mode,body:d,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var r=E.makeSpan([],[be(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var i=0;i<r.children.length;i++)r.children[i].depth=0;var a=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return E.makeSpan(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new D.MathNode("mpadded",[xe(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),Y({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=be(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=E.wrapFragment(r,t);var n=t.fontMetrics(),i=n.defaultRuleThickness,a=i;t.style.id<ne.TEXT.id&&(a=t.fontMetrics().xHeight);var s=i+a/4,o=r.height+r.depth+s+i,{span:l,ruleWidth:h,advanceWidth:d}=Bt.sqrtImage(o,t),p=l.height-h;p>r.height+r.depth+s&&(s=(s+p-r.height-r.depth)/2);var g=l.height-r.height-s-h;r.style.paddingLeft=U(d);var m=E.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:l},{type:"kern",size:h}]},t);if(e.index){var z=t.havingStyle(ne.SCRIPTSCRIPT),k=be(e.index,z,t),N=.6*(m.height-m.depth),A=E.makeVList({positionType:"shift",positionData:-N,children:[{type:"elem",elem:k}]},t),C=E.makeSpan(["root"],[A]);return E.makeSpan(["mord","sqrt"],[C,m],t)}else return E.makeSpan(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new D.MathNode("mroot",[xe(r,t),xe(n,t)]):new D.MathNode("msqrt",[xe(r,t)])}});var _i={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};Y({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:i.mode,style:s,body:a}},htmlBuilder(e,t){var r=_i[e.style],n=t.havingStyle(r).withFont("");return Ci(e.body,n,t)},mathmlBuilder(e,t){var r=_i[e.style],n=t.havingStyle(r),i=Ze(e.body,n),a=new D.MathNode("mstyle",i),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return a.setAttribute("scriptlevel",o[0]),a.setAttribute("displaystyle",o[1]),a}});var gc=function(t,r){var n=t.base;if(n)if(n.type==="op"){var i=n.limits&&(r.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return i?dr:null}else if(n.type==="operatorname"){var a=n.alwaysHandleSupSub&&(r.style.size===ne.DISPLAY.size||n.limits);return a?Mi:null}else{if(n.type==="accent")return oe.isCharacterBox(n.base)?Zn:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Si:null}else return null}else return null};Jt({type:"supsub",htmlBuilder(e,t){var r=gc(e,t);if(r)return r(e,t);var{base:n,sup:i,sub:a}=e,s=be(n,t),o,l,h=t.fontMetrics(),d=0,p=0,g=n&&oe.isCharacterBox(n);if(i){var m=t.havingStyle(t.style.sup());o=be(i,m,t),g||(d=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var z=t.havingStyle(t.style.sub());l=be(a,z,t),g||(p=s.depth+z.fontMetrics().subDrop*z.sizeMultiplier/t.sizeMultiplier)}var k;t.style===ne.DISPLAY?k=h.sup1:t.style.cramped?k=h.sup3:k=h.sup2;var N=t.sizeMultiplier,A=U(.5/h.ptPerEm/N),C=null;if(l){var R=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof st||R)&&(C=U(-s.italic))}var W;if(o&&l){d=Math.max(d,k,o.depth+.25*h.xHeight),p=Math.max(p,h.sub2);var H=h.defaultRuleThickness,T=4*H;if(d-o.depth-(l.height-p)<T){p=T-(d-o.depth)+l.height;var X=.8*h.xHeight-(d-o.depth);X>0&&(d+=X,p-=X)}var ee=[{type:"elem",elem:l,shift:p,marginRight:A,marginLeft:C},{type:"elem",elem:o,shift:-d,marginRight:A}];W=E.makeVList({positionType:"individualShift",children:ee},t)}else if(l){p=Math.max(p,h.sub1,l.height-.8*h.xHeight);var G=[{type:"elem",elem:l,marginLeft:C,marginRight:A}];W=E.makeVList({positionType:"shift",positionData:p,children:G},t)}else if(o)d=Math.max(d,k,o.depth+.25*h.xHeight),W=E.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:o,marginRight:A}]},t);else throw new Error("supsub must have either sup or sub.");var M=Vn(s,"right")||"mord";return E.makeSpan([M],[s,E.makeSpan(["msupsub"],[W])],t)},mathmlBuilder(e,t){var r=!1,n,i;e.base&&e.base.type==="horizBrace"&&(i=!!e.sup,i===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var a=[xe(e.base,t)];e.sub&&a.push(xe(e.sub,t)),e.sup&&a.push(xe(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var h=e.base;h&&h.type==="op"&&h.limits&&t.style===ne.DISPLAY||h&&h.type==="operatorname"&&h.alwaysHandleSupSub&&(t.style===ne.DISPLAY||h.limits)?s="munderover":s="msubsup"}else{var l=e.base;l&&l.type==="op"&&l.limits&&(t.style===ne.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||t.style===ne.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===ne.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===ne.DISPLAY)?s="mover":s="msup"}return new D.MathNode(s,a)}}),Jt({type:"atom",htmlBuilder(e,t){return E.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new D.MathNode("mo",[lt(e.text,e.mode)]);if(e.family==="bin"){var n=Kn(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Bi={mi:"italic",mn:"normal",mtext:"normal"};Jt({type:"mathord",htmlBuilder(e,t){return E.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new D.MathNode("mi",[lt(e.text,e.mode,t)]),n=Kn(e,t)||"italic";return n!==Bi[r.type]&&r.setAttribute("mathvariant",n),r}}),Jt({type:"textord",htmlBuilder(e,t){return E.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=lt(e.text,e.mode,t),n=Kn(e,t)||"normal",i;return e.mode==="text"?i=new D.MathNode("mtext",[r]):/[0-9]/.test(e.text)?i=new D.MathNode("mn",[r]):e.text==="\\prime"?i=new D.MathNode("mo",[r]):i=new D.MathNode("mi",[r]),n!==Bi[i.type]&&i.setAttribute("mathvariant",n),i}});var m0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},p0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Jt({type:"spacing",htmlBuilder(e,t){if(p0.hasOwnProperty(e.text)){var r=p0[e.text].className||"";if(e.mode==="text"){var n=E.makeOrd(e,t,"textord");return n.classes.push(r),n}else return E.makeSpan(["mspace",r],[E.mathsym(e.text,e.mode,t)],t)}else{if(m0.hasOwnProperty(e.text))return E.makeSpan(["mspace",m0[e.text]],[],t);throw new P('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(p0.hasOwnProperty(e.text))r=new D.MathNode("mtext",[new D.TextNode(" ")]);else{if(m0.hasOwnProperty(e.text))return new D.MathNode("mspace");throw new P('Unknown type of space "'+e.text+'"')}return r}});var Ri=()=>{var e=new D.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Jt({type:"tag",mathmlBuilder(e,t){var r=new D.MathNode("mtable",[new D.MathNode("mtr",[Ri(),new D.MathNode("mtd",[Gt(e.body,t)]),Ri(),new D.MathNode("mtd",[Gt(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Oi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ii={"\\textbf":"textbf","\\textmd":"textmd"},bc={"\\textit":"textit","\\textup":"textup"},Di=(e,t)=>{var r=e.font;return r?Oi[r]?t.withTextFontFamily(Oi[r]):Ii[r]?t.withTextFontWeight(Ii[r]):t.withTextFontShape(bc[r]):t};Y({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:Ne(i),font:n}},htmlBuilder(e,t){var r=Di(e,t),n=Ie(e.body,r,!0);return E.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Di(e,t);return Gt(e.body,r)}}),Y({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=E.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,a=E.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]},t);return E.makeSpan(["mord","underline"],[a],t)},mathmlBuilder(e,t){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new D.MathNode("munder",[xe(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),Y({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=be(e.body,t),n=t.fontMetrics().axisHeight,i=.5*(r.height-n-(r.depth+n));return E.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new D.MathNode("mpadded",[xe(e.body,t)],["vcenter"])}}),Y({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new P("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Li(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var s=r[a];s==="~"&&(s="\\textasciitilde"),n.push(E.makeSymbol(s,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return E.makeSpan(["mord","text"].concat(i.sizingClasses(t)),E.tryCombineChars(n),i)},mathmlBuilder(e,t){var r=new D.TextNode(Li(e)),n=new D.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Li=e=>e.body.replace(/ /g,e.star?"␣":" "),$t=Ha,Fi=`[ \r
259
259
  ]`,vc="\\\\[a-zA-Z@]+",yc="\\\\[^\uD800-\uDFFF]",wc="("+vc+")"+Fi+"*",xc=`\\\\(
260
260
  |[ \r ]+
261
261
  ?)[ \r ]*`,f0="[̀-ͯ]",kc=new RegExp(f0+"+$"),zc="("+Fi+"+)|"+(xc+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(f0+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(f0+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+wc)+("|"+yc+")");class Pi{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(zc,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new bt("EOF",new et(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new P("Unexpected character: '"+t[r]+"'",new bt(t[r],new et(this,r,r+1)));var i=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[i]===14){var a=t.indexOf(`
262
262
  `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=a+1,this.lex()}return new bt(i,new et(this,r,this.tokenRegex.lastIndex))}}class Sc{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new P("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var i=0;i<this.undefStack.length;i++)delete this.undefStack[i][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var a=this.undefStack[this.undefStack.length-1];a&&!a.hasOwnProperty(t)&&(a[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var Ec=pi;b("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),b("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),b("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),b("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),b("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),b("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),b("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var qi={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};b("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new P("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=qi[t.text],n==null||n>=r)throw new P("Invalid base-"+r+" digit "+t.text);for(var i;(i=qi[e.future().text])!=null&&i<r;)n*=r,n+=i,e.popToken()}return"\\@char{"+n+"}"});var g0=(e,t,r)=>{var n=e.consumeArg().tokens;if(n.length!==1)throw new P("\\newcommand's first argument must be a macro name");var i=n[0].text,a=e.isDefined(i);if(a&&!t)throw new P("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!a&&!r)throw new P("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(n=e.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var o="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)o+=l.text,l=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new P("Invalid number of arguments: "+o);s=parseInt(o),n=e.consumeArg().tokens}return e.macros.set(i,{tokens:n,numArgs:s}),""};b("\\newcommand",e=>g0(e,!1,!0)),b("\\renewcommand",e=>g0(e,!0,!1)),b("\\providecommand",e=>g0(e,!0,!0)),b("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""}),b("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""}),b("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),$t[r],Se.math[r],Se.text[r]),""}),b("\\bgroup","{"),b("\\egroup","}"),b("~","\\nobreakspace"),b("\\lq","`"),b("\\rq","'"),b("\\aa","\\r a"),b("\\AA","\\r A"),b("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),b("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),b("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),b("ℬ","\\mathscr{B}"),b("ℰ","\\mathscr{E}"),b("ℱ","\\mathscr{F}"),b("ℋ","\\mathscr{H}"),b("ℐ","\\mathscr{I}"),b("ℒ","\\mathscr{L}"),b("ℳ","\\mathscr{M}"),b("ℛ","\\mathscr{R}"),b("ℭ","\\mathfrak{C}"),b("ℌ","\\mathfrak{H}"),b("ℨ","\\mathfrak{Z}"),b("\\Bbbk","\\Bbb{k}"),b("·","\\cdotp"),b("\\llap","\\mathllap{\\textrm{#1}}"),b("\\rlap","\\mathrlap{\\textrm{#1}}"),b("\\clap","\\mathclap{\\textrm{#1}}"),b("\\mathstrut","\\vphantom{(}"),b("\\underbar","\\underline{\\text{#1}}"),b("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),b("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),b("\\ne","\\neq"),b("≠","\\neq"),b("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),b("∉","\\notin"),b("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),b("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),b("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),b("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),b("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),b("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),b("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),b("⟂","\\perp"),b("‼","\\mathclose{!\\mkern-0.8mu!}"),b("∌","\\notni"),b("⌜","\\ulcorner"),b("⌝","\\urcorner"),b("⌞","\\llcorner"),b("⌟","\\lrcorner"),b("©","\\copyright"),b("®","\\textregistered"),b("️","\\textregistered"),b("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),b("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),b("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),b("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),b("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}"),b("⋮","\\vdots"),b("\\varGamma","\\mathit{\\Gamma}"),b("\\varDelta","\\mathit{\\Delta}"),b("\\varTheta","\\mathit{\\Theta}"),b("\\varLambda","\\mathit{\\Lambda}"),b("\\varXi","\\mathit{\\Xi}"),b("\\varPi","\\mathit{\\Pi}"),b("\\varSigma","\\mathit{\\Sigma}"),b("\\varUpsilon","\\mathit{\\Upsilon}"),b("\\varPhi","\\mathit{\\Phi}"),b("\\varPsi","\\mathit{\\Psi}"),b("\\varOmega","\\mathit{\\Omega}"),b("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),b("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),b("\\boxed","\\fbox{$\\displaystyle{#1}$}"),b("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),b("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),b("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Hi={",":"\\dotsc","\\not":"\\dotsb","+":"\\dotsb","=":"\\dotsb","<":"\\dotsb",">":"\\dotsb","-":"\\dotsb","*":"\\dotsb",":":"\\dotsb","\\DOTSB":"\\dotsb","\\coprod":"\\dotsb","\\bigvee":"\\dotsb","\\bigwedge":"\\dotsb","\\biguplus":"\\dotsb","\\bigcap":"\\dotsb","\\bigcup":"\\dotsb","\\prod":"\\dotsb","\\sum":"\\dotsb","\\bigotimes":"\\dotsb","\\bigoplus":"\\dotsb","\\bigodot":"\\dotsb","\\bigsqcup":"\\dotsb","\\And":"\\dotsb","\\longrightarrow":"\\dotsb","\\Longrightarrow":"\\dotsb","\\longleftarrow":"\\dotsb","\\Longleftarrow":"\\dotsb","\\longleftrightarrow":"\\dotsb","\\Longleftrightarrow":"\\dotsb","\\mapsto":"\\dotsb","\\longmapsto":"\\dotsb","\\hookrightarrow":"\\dotsb","\\doteq":"\\dotsb","\\mathbin":"\\dotsb","\\mathrel":"\\dotsb","\\relbar":"\\dotsb","\\Relbar":"\\dotsb","\\xrightarrow":"\\dotsb","\\xleftarrow":"\\dotsb","\\DOTSI":"\\dotsi","\\int":"\\dotsi","\\oint":"\\dotsi","\\iint":"\\dotsi","\\iiint":"\\dotsi","\\iiiint":"\\dotsi","\\idotsint":"\\dotsi","\\DOTSX":"\\dotsx"};b("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in Hi?t=Hi[r]:(r.slice(0,4)==="\\not"||r in Se.math&&oe.contains(["bin","rel"],Se.math[r].group))&&(t="\\dotsb"),t});var b0={")":!0,"]":!0,"\\rbrack":!0,"\\}":!0,"\\rbrace":!0,"\\rangle":!0,"\\rceil":!0,"\\rfloor":!0,"\\rgroup":!0,"\\rmoustache":!0,"\\right":!0,"\\bigr":!0,"\\biggr":!0,"\\Bigr":!0,"\\Biggr":!0,$:!0,";":!0,".":!0,",":!0};b("\\dotso",function(e){var t=e.future().text;return t in b0?"\\ldots\\,":"\\ldots"}),b("\\dotsc",function(e){var t=e.future().text;return t in b0&&t!==","?"\\ldots\\,":"\\ldots"}),b("\\cdots",function(e){var t=e.future().text;return t in b0?"\\@cdots\\,":"\\@cdots"}),b("\\dotsb","\\cdots"),b("\\dotsm","\\cdots"),b("\\dotsi","\\!\\cdots"),b("\\dotsx","\\ldots\\,"),b("\\DOTSI","\\relax"),b("\\DOTSB","\\relax"),b("\\DOTSX","\\relax"),b("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),b("\\,","\\tmspace+{3mu}{.1667em}"),b("\\thinspace","\\,"),b("\\>","\\mskip{4mu}"),b("\\:","\\tmspace+{4mu}{.2222em}"),b("\\medspace","\\:"),b("\\;","\\tmspace+{5mu}{.2777em}"),b("\\thickspace","\\;"),b("\\!","\\tmspace-{3mu}{.1667em}"),b("\\negthinspace","\\!"),b("\\negmedspace","\\tmspace-{4mu}{.2222em}"),b("\\negthickspace","\\tmspace-{5mu}{.277em}"),b("\\enspace","\\kern.5em "),b("\\enskip","\\hskip.5em\\relax"),b("\\quad","\\hskip1em\\relax"),b("\\qquad","\\hskip2em\\relax"),b("\\tag","\\@ifstar\\tag@literal\\tag@paren"),b("\\tag@paren","\\tag@literal{({#1})}"),b("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new P("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),b("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),b("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),b("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),b("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),b("\\newline","\\\\\\relax"),b("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Ui=U(yt["Main-Regular"][84][1]-.7*yt["Main-Regular"][65][1]);b("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Ui+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),b("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Ui+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),b("\\hspace","\\@ifstar\\@hspacer\\@hspace"),b("\\@hspace","\\hskip #1\\relax"),b("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),b("\\ordinarycolon",":"),b("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),b("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),b("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),b("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),b("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),b("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),b("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),b("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),b("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),b("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),b("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),b("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),b("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),b("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),b("∷","\\dblcolon"),b("∹","\\eqcolon"),b("≔","\\coloneqq"),b("≕","\\eqqcolon"),b("⩴","\\Coloneqq"),b("\\ratio","\\vcentcolon"),b("\\coloncolon","\\dblcolon"),b("\\colonequals","\\coloneqq"),b("\\coloncolonequals","\\Coloneqq"),b("\\equalscolon","\\eqqcolon"),b("\\equalscoloncolon","\\Eqqcolon"),b("\\colonminus","\\coloneq"),b("\\coloncolonminus","\\Coloneq"),b("\\minuscolon","\\eqcolon"),b("\\minuscoloncolon","\\Eqcolon"),b("\\coloncolonapprox","\\Colonapprox"),b("\\coloncolonsim","\\Colonsim"),b("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),b("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),b("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),b("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),b("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),b("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),b("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),b("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),b("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),b("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),b("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),b("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),b("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),b("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),b("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),b("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),b("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),b("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),b("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),b("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),b("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),b("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),b("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),b("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),b("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),b("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),b("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),b("\\imath","\\html@mathml{\\@imath}{ı}"),b("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),b("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),b("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),b("⟦","\\llbracket"),b("⟧","\\rrbracket"),b("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),b("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),b("⦃","\\lBrace"),b("⦄","\\rBrace"),b("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),b("⦵","\\minuso"),b("\\darr","\\downarrow"),b("\\dArr","\\Downarrow"),b("\\Darr","\\Downarrow"),b("\\lang","\\langle"),b("\\rang","\\rangle"),b("\\uarr","\\uparrow"),b("\\uArr","\\Uparrow"),b("\\Uarr","\\Uparrow"),b("\\N","\\mathbb{N}"),b("\\R","\\mathbb{R}"),b("\\Z","\\mathbb{Z}"),b("\\alef","\\aleph"),b("\\alefsym","\\aleph"),b("\\Alpha","\\mathrm{A}"),b("\\Beta","\\mathrm{B}"),b("\\bull","\\bullet"),b("\\Chi","\\mathrm{X}"),b("\\clubs","\\clubsuit"),b("\\cnums","\\mathbb{C}"),b("\\Complex","\\mathbb{C}"),b("\\Dagger","\\ddagger"),b("\\diamonds","\\diamondsuit"),b("\\empty","\\emptyset"),b("\\Epsilon","\\mathrm{E}"),b("\\Eta","\\mathrm{H}"),b("\\exist","\\exists"),b("\\harr","\\leftrightarrow"),b("\\hArr","\\Leftrightarrow"),b("\\Harr","\\Leftrightarrow"),b("\\hearts","\\heartsuit"),b("\\image","\\Im"),b("\\infin","\\infty"),b("\\Iota","\\mathrm{I}"),b("\\isin","\\in"),b("\\Kappa","\\mathrm{K}"),b("\\larr","\\leftarrow"),b("\\lArr","\\Leftarrow"),b("\\Larr","\\Leftarrow"),b("\\lrarr","\\leftrightarrow"),b("\\lrArr","\\Leftrightarrow"),b("\\Lrarr","\\Leftrightarrow"),b("\\Mu","\\mathrm{M}"),b("\\natnums","\\mathbb{N}"),b("\\Nu","\\mathrm{N}"),b("\\Omicron","\\mathrm{O}"),b("\\plusmn","\\pm"),b("\\rarr","\\rightarrow"),b("\\rArr","\\Rightarrow"),b("\\Rarr","\\Rightarrow"),b("\\real","\\Re"),b("\\reals","\\mathbb{R}"),b("\\Reals","\\mathbb{R}"),b("\\Rho","\\mathrm{P}"),b("\\sdot","\\cdot"),b("\\sect","\\S"),b("\\spades","\\spadesuit"),b("\\sub","\\subset"),b("\\sube","\\subseteq"),b("\\supe","\\supseteq"),b("\\Tau","\\mathrm{T}"),b("\\thetasym","\\vartheta"),b("\\weierp","\\wp"),b("\\Zeta","\\mathrm{Z}"),b("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),b("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),b("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),b("\\bra","\\mathinner{\\langle{#1}|}"),b("\\ket","\\mathinner{|{#1}\\rangle}"),b("\\braket","\\mathinner{\\langle{#1}\\rangle}"),b("\\Bra","\\left\\langle#1\\right|"),b("\\Ket","\\left|#1\\right\\rangle");var Gi=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var l=p=>g=>{e&&(g.macros.set("|",s),i.length&&g.macros.set("\\|",o));var m=p;if(!p&&i.length){var z=g.future();z.text==="|"&&(g.popToken(),m=!0)}return{tokens:m?i:n,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));var h=t.consumeArg().tokens,d=t.expandTokens([...a,...h,...r]);return t.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};b("\\bra@ket",Gi(!1)),b("\\bra@set",Gi(!0)),b("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),b("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),b("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),b("\\angln","{\\angl n}"),b("\\blue","\\textcolor{##6495ed}{#1}"),b("\\orange","\\textcolor{##ffa500}{#1}"),b("\\pink","\\textcolor{##ff00af}{#1}"),b("\\red","\\textcolor{##df0030}{#1}"),b("\\green","\\textcolor{##28ae7b}{#1}"),b("\\gray","\\textcolor{gray}{#1}"),b("\\purple","\\textcolor{##9d38bd}{#1}"),b("\\blueA","\\textcolor{##ccfaff}{#1}"),b("\\blueB","\\textcolor{##80f6ff}{#1}"),b("\\blueC","\\textcolor{##63d9ea}{#1}"),b("\\blueD","\\textcolor{##11accd}{#1}"),b("\\blueE","\\textcolor{##0c7f99}{#1}"),b("\\tealA","\\textcolor{##94fff5}{#1}"),b("\\tealB","\\textcolor{##26edd5}{#1}"),b("\\tealC","\\textcolor{##01d1c1}{#1}"),b("\\tealD","\\textcolor{##01a995}{#1}"),b("\\tealE","\\textcolor{##208170}{#1}"),b("\\greenA","\\textcolor{##b6ffb0}{#1}"),b("\\greenB","\\textcolor{##8af281}{#1}"),b("\\greenC","\\textcolor{##74cf70}{#1}"),b("\\greenD","\\textcolor{##1fab54}{#1}"),b("\\greenE","\\textcolor{##0d923f}{#1}"),b("\\goldA","\\textcolor{##ffd0a9}{#1}"),b("\\goldB","\\textcolor{##ffbb71}{#1}"),b("\\goldC","\\textcolor{##ff9c39}{#1}"),b("\\goldD","\\textcolor{##e07d10}{#1}"),b("\\goldE","\\textcolor{##a75a05}{#1}"),b("\\redA","\\textcolor{##fca9a9}{#1}"),b("\\redB","\\textcolor{##ff8482}{#1}"),b("\\redC","\\textcolor{##f9685d}{#1}"),b("\\redD","\\textcolor{##e84d39}{#1}"),b("\\redE","\\textcolor{##bc2612}{#1}"),b("\\maroonA","\\textcolor{##ffbde0}{#1}"),b("\\maroonB","\\textcolor{##ff92c6}{#1}"),b("\\maroonC","\\textcolor{##ed5fa6}{#1}"),b("\\maroonD","\\textcolor{##ca337c}{#1}"),b("\\maroonE","\\textcolor{##9e034e}{#1}"),b("\\purpleA","\\textcolor{##ddd7ff}{#1}"),b("\\purpleB","\\textcolor{##c6b9fc}{#1}"),b("\\purpleC","\\textcolor{##aa87ff}{#1}"),b("\\purpleD","\\textcolor{##7854ab}{#1}"),b("\\purpleE","\\textcolor{##543b78}{#1}"),b("\\mintA","\\textcolor{##f5f9e8}{#1}"),b("\\mintB","\\textcolor{##edf2df}{#1}"),b("\\mintC","\\textcolor{##e0e5cc}{#1}"),b("\\grayA","\\textcolor{##f6f7f7}{#1}"),b("\\grayB","\\textcolor{##f0f1f2}{#1}"),b("\\grayC","\\textcolor{##e3e5e6}{#1}"),b("\\grayD","\\textcolor{##d6d8da}{#1}"),b("\\grayE","\\textcolor{##babec2}{#1}"),b("\\grayF","\\textcolor{##888d93}{#1}"),b("\\grayG","\\textcolor{##626569}{#1}"),b("\\grayH","\\textcolor{##3b3e40}{#1}"),b("\\grayI","\\textcolor{##21242c}{#1}"),b("\\kaBlue","\\textcolor{##314453}{#1}"),b("\\kaGreen","\\textcolor{##71B307}{#1}");var ji={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Ac{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new Sc(Ec,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new Pi(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,i;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:i,end:n}=this.consumeArg(["]"])}else({tokens:i,start:r,end:n}=this.consumeArg());return this.pushToken(new bt("EOF",n.loc)),this.pushTokens(i),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var i=this.future(),a,s=0,o=0;do{if(a=this.popToken(),r.push(a),a.text==="{")++s;else if(a.text==="}"){if(--s,s===-1)throw new P("Extra }",a)}else if(a.text==="EOF")throw new P("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",a);if(t&&n)if((s===0||s===1&&t[o]==="{")&&a.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return i.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:a}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new P("The length of delimiters doesn't match the number of args!");for(var n=r[0],i=0;i<n.length;i++){var a=this.popToken();if(n[i]!==a.text)throw new P("Use of the macro doesn't match its definition",a)}}for(var s=[],o=0;o<t;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}expandOnce(t){var r=this.popToken(),n=r.text,i=r.noexpand?null:this._getExpansion(n);if(i==null||t&&i.unexpandable){if(t&&i==null&&n[0]==="\\"&&!this.isDefined(n))throw new P("Undefined control sequence: "+n);return this.pushToken(r),!1}if(this.expansionCount++,this.expansionCount>this.settings.maxExpand)throw new P("Too many expansions: infinite loop or need to increase maxExpand setting");var a=i.tokens,s=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var o=a.length-1;o>=0;--o){var l=a[o];if(l.text==="#"){if(o===0)throw new P("Incomplete placeholder at end of macro body",l);if(l=a[--o],l.text==="#")a.splice(o+1,1);else if(/^[1-9]$/.test(l.text))a.splice(o,2,...s[+l.text-1]);else throw new P("Not a valid argument number",l)}}}return this.pushTokens(a),a.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new bt(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var i=this.stack.pop();i.treatAsRelax&&(i.noexpand=!1,i.treatAsRelax=!1),r.push(i)}return r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var i=typeof r=="function"?r(this):r;if(typeof i=="string"){var a=0;if(i.indexOf("#")!==-1)for(var s=i.replace(/##/g,"");s.indexOf("#"+(a+1))!==-1;)++a;for(var o=new Pi(i,this.settings),l=[],h=o.lex();h.text!=="EOF";)l.push(h),h=o.lex();l.reverse();var d={tokens:l,numArgs:a};return d}return i}isDefined(t){return this.macros.has(t)||$t.hasOwnProperty(t)||Se.math.hasOwnProperty(t)||Se.text.hasOwnProperty(t)||ji.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:$t.hasOwnProperty(t)&&!$t[t].primitive}}var $i=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,un=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9","ₐ":"a","ₑ":"e","ₕ":"h","ᵢ":"i","ⱼ":"j","ₖ":"k","ₗ":"l","ₘ":"m","ₙ":"n","ₒ":"o","ₚ":"p","ᵣ":"r","ₛ":"s","ₜ":"t","ᵤ":"u","ᵥ":"v","ₓ":"x","ᵦ":"β","ᵧ":"γ","ᵨ":"ρ","ᵩ":"ϕ","ᵪ":"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9","ᴬ":"A","ᴮ":"B","ᴰ":"D","ᴱ":"E","ᴳ":"G","ᴴ":"H","ᴵ":"I","ᴶ":"J","ᴷ":"K","ᴸ":"L","ᴹ":"M","ᴺ":"N","ᴼ":"O","ᴾ":"P","ᴿ":"R","ᵀ":"T","ᵁ":"U","ⱽ":"V","ᵂ":"W","ᵃ":"a","ᵇ":"b","ᶜ":"c","ᵈ":"d","ᵉ":"e","ᶠ":"f","ᵍ":"g",ʰ:"h","ⁱ":"i",ʲ:"j","ᵏ":"k",ˡ:"l","ᵐ":"m",ⁿ:"n","ᵒ":"o","ᵖ":"p",ʳ:"r",ˢ:"s","ᵗ":"t","ᵘ":"u","ᵛ":"v",ʷ:"w",ˣ:"x",ʸ:"y","ᶻ":"z","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),v0={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},Vi={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Cr{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Ac(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new P("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new bt("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var i=this.fetch();if(Cr.endOfExpression.indexOf(i.text)!==-1||r&&i.text===r||t&&$t[i.text]&&$t[i.text].infix)break;var a=this.parseAtom(r);if(a){if(a.type==="internal")continue}else break;n.push(a)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,i=0;i<t.length;i++)if(t[i].type==="infix"){if(r!==-1)throw new P("only one infix operator per group",t[i].token);r=i,n=t[i].replaceWith}if(r!==-1&&n){var a,s,o=t.slice(0,r),l=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?a=o[0]:a={type:"ordgroup",mode:this.mode,body:o},l.length===1&&l[0].type==="ordgroup"?s=l[0]:s={type:"ordgroup",mode:this.mode,body:l};var h;return n==="\\\\abovefrac"?h=this.callFunction(n,[a,t[r],s],[]):h=this.callFunction(n,[a,s],[]),[h]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var i=this.parseGroup(t);if(!i)throw new P("Expected group after '"+n+"'",r);return i}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var i={type:"text",mode:this.mode,body:r},a={type:"color",mode:this.mode,color:this.settings.errorColor,body:[i]};return a}parseAtom(t){var r=this.parseGroup("atom",t);if(this.mode==="text")return r;for(var n,i;;){this.consumeSpaces();var a=this.fetch();if(a.text==="\\limits"||a.text==="\\nolimits"){if(r&&r.type==="op"){var s=a.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=a.text==="\\limits");else throw new P("Limit controls must follow a math operator",a);this.consume()}else if(a.text==="^"){if(n)throw new P("Double superscript",a);n=this.handleSupSubscript("superscript")}else if(a.text==="_"){if(i)throw new P("Double subscript",a);i=this.handleSupSubscript("subscript")}else if(a.text==="'"){if(n)throw new P("Double superscript",a);var o={type:"textord",mode:this.mode,text:"\\prime"},l=[o];for(this.consume();this.fetch().text==="'";)l.push(o),this.consume();this.fetch().text==="^"&&l.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:l}}else if(un[a.text]){var h=un[a.text],d=$i.test(a.text);for(this.consume();;){var p=this.fetch().text;if(!un[p]||$i.test(p)!==d)break;this.consume(),h+=un[p]}var g=new Cr(h,this.settings).parse();d?i={type:"ordgroup",mode:"math",body:g}:n={type:"ordgroup",mode:"math",body:g}}else break}return n||i?{type:"supsub",mode:this.mode,base:r,sup:n,sub:i}:r}parseFunction(t,r){var n=this.fetch(),i=n.text,a=$t[i];if(!a)return null;if(this.consume(),r&&r!=="atom"&&!a.allowedInArgument)throw new P("Got function '"+i+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!a.allowedInText)throw new P("Can't use function '"+i+"' in text mode",n);if(this.mode==="math"&&a.allowedInMath===!1)throw new P("Can't use function '"+i+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(i,a);return this.callFunction(i,s,o,n,t)}callFunction(t,r,n,i,a){var s={funcName:t,parser:this,token:i,breakOnTokenText:a},o=$t[t];if(o&&o.handler)return o.handler(s,r,n);throw new P("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var i=[],a=[],s=0;s<n;s++){var o=r.argTypes&&r.argTypes[s],l=s<r.numOptionalArgs;(r.primitive&&o==null||r.type==="sqrt"&&s===1&&a[0]==null)&&(o="primitive");var h=this.parseGroupOfType("argument to '"+t+"'",o,l);if(l)a.push(h);else if(h!=null)i.push(h);else throw new P("Null argument, please report this as a bug")}return{args:i,optArgs:a}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var i=this.parseArgumentGroup(n,"text");return i!=null?{type:"styling",mode:i.mode,body:[i],style:"text"}:null}case"raw":{var a=this.parseStringGroup("raw",n);return a!=null?{type:"raw",mode:"text",string:a.text}:null}case"primitive":{if(n)throw new P("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new P("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new P("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var i="",a;(a=this.fetch()).text!=="EOF";)i+=a.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(t,r){for(var n=this.fetch(),i=n,a="",s;(s=this.fetch()).text!=="EOF"&&t.test(a+s.text);)i=s,a+=i.text,this.consume();if(a==="")throw new P("Invalid "+r+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new P("Invalid color: '"+r.text+"'",r);var i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!i)throw new P("Invalid size: '"+r.text+"'",r);var a={number:+(i[1]+i[2]),unit:i[3]};if(!Aa(a))throw new P("Invalid unit: '"+a.unit+"'",r);return{type:"size",mode:this.mode,value:a,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var i=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var a=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:a};return r&&this.switchMode(i),s}parseGroup(t,r){var n=this.fetch(),i=n.text,a;if(i==="{"||i==="\\begingroup"){this.consume();var s=i==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),l=this.fetch();this.expect(s),this.gullet.endGroup(),a={type:"ordgroup",mode:this.mode,loc:et.range(n,l),body:o,semisimple:i==="\\begingroup"||void 0}}else if(a=this.parseFunction(r,t)||this.parseSymbol(),a==null&&i[0]==="\\"&&!ji.hasOwnProperty(i)){if(this.settings.throwOnError)throw new P("Undefined control sequence: "+i,n);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var i=t[n],a=i.text;a==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:et.range(i,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:et.range(i,t[n+1]),text:"--"}),r-=1)),(a==="'"||a==="`")&&t[n+1].text===a&&(t.splice(n,2,{type:"textord",mode:"text",loc:et.range(i,t[n+1]),text:a+a}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),i=n.charAt(0)==="*";if(i&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new P(`\\verb assertion failed --
263
- please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Vi.hasOwnProperty(r[0])&&!Se[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Vi[r[0]]+r.slice(1));var a=kc.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Se[this.mode][r]){this.settings.strict&&this.mode==="math"&&Gn.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Se[this.mode][r].group,l=et.range(t),h;if(p1.hasOwnProperty(o)){var d=o;h={type:"atom",mode:this.mode,family:d,loc:l,text:r}}else h={type:o,mode:this.mode,loc:l,text:r};s=h}else if(r.charCodeAt(0)>=128)this.settings.strict&&(xa(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:et.range(t),text:r};else return null;if(this.consume(),a)for(var p=0;p<a[0].length;p++){var g=a[0][p];if(!v0[g])throw new P("Unknown accent ' "+g+"'",t);var m=v0[g][this.mode]||v0[g].text;if(!m)throw new P("Accent "+g+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:et.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}}Cr.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var y0=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Cr(t,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new P("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new bt("\\df@tag")])}]}return i},Wi=function(t,r,n){r.textContent="";var i=w0(t,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Wi=function(){throw new P("KaTeX doesn't work in quirks mode.")});var Tc=function(t,r){var n=w0(t,r).toMarkup();return n},Mc=function(t,r){var n=new Bn(r);return y0(t,n)},Xi=function(t,r,n){if(n.throwOnError||!(t instanceof P))throw t;var i=E.makeSpan(["katex-error"],[new st(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},w0=function(t,r){var n=new Bn(r);try{var i=y0(t,n);return L1(i,t,n)}catch(a){return Xi(a,t,n)}},Cc=function(t,r){var n=new Bn(r);try{var i=y0(t,n);return F1(i,t,n)}catch(a){return Xi(a,t,n)}},Nc={version:"0.16.9",render:Wi,renderToString:Tc,ParseError:P,SETTINGS_SCHEMA:Hr,__parse:Mc,__renderToDomTree:w0,__renderToHTMLTree:Cc,__setFontMetrics:o1,__defineSymbol:u,__defineFunction:K,__defineMacro:b,__domTree:{Span:zr,Anchor:Fn,SymbolNode:st,SvgNode:Tt,PathNode:Ht,LineNode:Pn}};const _c=Object.freeze(Object.defineProperty({__proto__:null,default:Nc},Symbol.toStringTag,{value:"Module"}));function Bc(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(l){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},l)}function t(){this.buffer()}function r(){const l=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=h;const p=d.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function a(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){const h=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=h,d.data.hChildren.push({type:"text",value:h})}function o(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function Rc(e){const t=/(```[\s\S]+?```|~~~[\s\S]+?~~~)/g,r=e.split(t),n=/\\\((.*?)\\\)/g,i=/\\\[([\s\S]*?)\\\]/g;for(let a=0;a<r.length;a++)a%2===0&&(r[a]=r[a].replace(n,(s,o)=>`$${o}$`).replace(i,(s,o)=>`$$${o}$$`));return r.join("")}function Nr(e,t,r){const n=lu(Rc(t),{extensions:[pu(),Bu()],mdastExtensions:[bu(),Bc()]}),i={},a={};Ki(n,i,a),x0(n,e,i,a,r)}function Ki(e,t,r){for(const n of e.children){switch(n.type){case"definition":const i=n.identifier;i&&(t[i]=n,r[i.toLowerCase()]=n);continue}n.children&&Ki(n,t,r)}}function x0(e,t,r,n,i){var s;let a=t.firstChild;for(const o of e.children){let l;switch(o.type){case"inlineMath":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN"&&cn.has(a))){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("span"),t.appendChild(a)}Yi(a,o.value),a=a.nextSibling;continue}case"math":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="DIV"&&cn.has(a))){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("div"),t.appendChild(a)}Yi(a,o.value),a=a.nextSibling;continue}case"code":{let m=Zi.get(a);if(m)m.updateCode(o.lang,o.value);else{for(;a;){const z=a.nextSibling;a.remove(),a=z}m=new ba(o.lang,o.value),a=m.node,Zi.set(a,m),t.appendChild(a)}a=a.nextSibling;continue}case"html":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("span"),t.appendChild(a)}a.innerHTML=o.value,a=a.nextSibling;continue;case"inlineCode":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="CODE")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("code"),t.appendChild(a)}a.textContent=o.value,a=a.nextSibling;continue;case"text":let h=o.value,d;for(;_r.has(a);){d=a;const m=_r.get(a);if(h.startsWith(m))h=h.substring(m.length),a=a.nextSibling;else break}if(!h)continue;for(;a;){const m=a.nextSibling;a.remove(),a=m}if(d&&!h.trim()){const m=_r.get(d)+h;d.textContent=m,_r.set(d,m);continue}const p=document.createElement("span");p.textContent=h,_r.set(p,h),t.appendChild(p);continue;case"yaml":continue;case"break":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="BR")){for(;a;){const m=a.nextSibling;a.remove(),a=m}t.appendChild(a=document.createElement("br"))}a=a.nextSibling;continue;case"thematicBreak":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="HR")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("hr"),t.appendChild(a)}a=a.nextSibling;continue;case"image":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="IMG")){for(;a;){const z=a.nextSibling;a.remove(),a=z}a=document.createElement("img"),t.appendChild(a)}const m=o.url;if(m)if(m.startsWith("python://")){const z=m.substring(9);a.src=Eu(i,z)}else a.src=m;else a.src="";a.alt=o.alt||"",a.title=o.title||"",a=a.nextSibling;continue}case"linkReference":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="A")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("a"),t.appendChild(a)}x0(o,a,r,n,i);let g;switch(o.referenceType){case"shortcut":g=r[a.textContent.toLowerCase()];break;case"collapsed":g=n[a.textContent.toLowerCase()]||r[a.textContent.toLowerCase()];break;case"full":g=n[(s=o.identifier)==null?void 0:s.toLowerCase()];break}a.href=(g==null?void 0:g.url)||"",a.target="_blank",a.title=(g==null?void 0:g.title)||"",a=a.nextSibling;continue;case"definition":continue;case"footnoteDefinition":case"footnoteReference":case"imageReference":continue;case"blockquote":l="BLOCKQUOTE";break;case"delete":l="DEL";break;case"emphasis":l="EM";break;case"heading":l="H"+o.depth;break;case"link":l="A";break;case"list":l=o.ordered?"OL":"UL";break;case"listItem":l="LI";break;case"paragraph":l="P";break;case"strong":l="STRONG";break;case"table":l="TABLE";break;case"tableCell":l="TD";break;case"tableRow":l="TR";break;default:console.warn("Unknown MDAST node type: "+o.type);continue}if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName===l)){for(;a;){const h=a.nextSibling;a.remove(),a=h}a=document.createElement(l),t.appendChild(a)}l==="A"&&(a.href=o.url||"",a.target="_blank",a.title=o.title||""),x0(o,a,r,n,i),a=a.nextSibling}for(;a;){const o=a.nextSibling;a.remove(),a=o}}let k0;function Oc(){return k0||(k0=Promise.resolve().then(()=>_c)),k0}async function Yi(e,t){let r=cn.get(e);r==null||r.cancel(),cn.set(e,r=new wr),(async()=>{const n=await Oc();r.isCancellationRequested||n.default.render(t,e,{throwOnError:!1})})()}const cn=new WeakMap,Zi=new WeakMap,_r=new WeakMap;function Ic(e){const t=[...Dc(e)];if(t.length){const n=t[t.length-1];n===","?t.pop():n===":"&&t.push("undefined")}const r=[];for(const n of t)if(n==="{"||n==="[")r.push(n);else if(n==="}")if(r.length&&r[r.length-1]==="{")r.pop();else throw new Error("Invalid JSON");else if(n==="]")if(r.length&&r[r.length-1]==="[")r.pop();else throw new Error("Invalid JSON");for(;r.length;)r.pop()==="{"?t.push("}"):t.push("]");return JSON.parse(t.join(""))}function*Dc(e){for(let t=0;t<e.length;++t){let r=e[t];switch(r){case" ":case" ":case`
263
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:i}}Vi.hasOwnProperty(r[0])&&!Se[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=Vi[r[0]]+r.slice(1));var a=kc.exec(r);a&&(r=r.substring(0,a.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Se[this.mode][r]){this.settings.strict&&this.mode==="math"&&Gn.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=Se[this.mode][r].group,l=et.range(t),h;if(p1.hasOwnProperty(o)){var d=o;h={type:"atom",mode:this.mode,family:d,loc:l,text:r}}else h={type:o,mode:this.mode,loc:l,text:r};s=h}else if(r.charCodeAt(0)>=128)this.settings.strict&&(xa(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:et.range(t),text:r};else return null;if(this.consume(),a)for(var p=0;p<a[0].length;p++){var g=a[0][p];if(!v0[g])throw new P("Unknown accent ' "+g+"'",t);var m=v0[g][this.mode]||v0[g].text;if(!m)throw new P("Accent "+g+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:et.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}}Cr.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var y0=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Cr(t,r);delete n.gullet.macros.current["\\df@tag"];var i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new P("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new bt("\\df@tag")])}]}return i},Wi=function(t,r,n){r.textContent="";var i=w0(t,n).toNode();r.appendChild(i)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),Wi=function(){throw new P("KaTeX doesn't work in quirks mode.")});var Tc=function(t,r){var n=w0(t,r).toMarkup();return n},Mc=function(t,r){var n=new Bn(r);return y0(t,n)},Xi=function(t,r,n){if(n.throwOnError||!(t instanceof P))throw t;var i=E.makeSpan(["katex-error"],[new st(r)]);return i.setAttribute("title",t.toString()),i.setAttribute("style","color:"+n.errorColor),i},w0=function(t,r){var n=new Bn(r);try{var i=y0(t,n);return L1(i,t,n)}catch(a){return Xi(a,t,n)}},Cc=function(t,r){var n=new Bn(r);try{var i=y0(t,n);return F1(i,t,n)}catch(a){return Xi(a,t,n)}},Nc={version:"0.16.9",render:Wi,renderToString:Tc,ParseError:P,SETTINGS_SCHEMA:Hr,__parse:Mc,__renderToDomTree:w0,__renderToHTMLTree:Cc,__setFontMetrics:o1,__defineSymbol:u,__defineFunction:Y,__defineMacro:b,__domTree:{Span:zr,Anchor:Fn,SymbolNode:st,SvgNode:Tt,PathNode:Ht,LineNode:Pn}};const _c=Object.freeze(Object.defineProperty({__proto__:null,default:Nc},Symbol.toStringTag,{value:"Module"}));function Bc(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:a},exit:{mathFlow:i,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(l){const h={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[h]}},l)}function t(){this.buffer()}function r(){const l=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function i(l){const h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=h;const p=d.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function a(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function s(l){const h=this.resume(),d=this.stack[this.stack.length-1];d.type,this.exit(l),d.value=h,d.data.hChildren.push({type:"text",value:h})}function o(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function Rc(e){const t=/(```[\s\S]+?```|~~~[\s\S]+?~~~)/g,r=e.split(t),n=/\\\((.*?)\\\)/g,i=/\\\[([\s\S]*?)\\\]/g;for(let a=0;a<r.length;a++)a%2===0&&(r[a]=r[a].replace(n,(s,o)=>`$${o}$`).replace(i,(s,o)=>`$$${o}$$`));return r.join("")}function Nr(e,t,r,n){const i=lu(Rc(t),{extensions:[pu(),Bu()],mdastExtensions:[bu(),Bc(),...n]}),a={},s={};Ki(i,a,s),x0(i,e,a,s,r)}function Ki(e,t,r){for(const n of e.children){switch(n.type){case"definition":const i=n.identifier;i&&(t[i]=n,r[i.toLowerCase()]=n);continue}n.children&&Ki(n,t,r)}}function x0(e,t,r,n,i){var s;let a=t.firstChild;for(const o of e.children){let l;switch(o.type){case"inlineMath":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN"&&cn.has(a))){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("span"),t.appendChild(a)}Yi(a,o.value),a=a.nextSibling;continue}case"math":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="DIV"&&cn.has(a))){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("div"),t.appendChild(a)}Yi(a,o.value),a=a.nextSibling;continue}case"code":{let m=Zi.get(a);if(m)m.updateCode(o.lang,o.value);else{for(;a;){const z=a.nextSibling;a.remove(),a=z}m=new ba(o.lang,o.value),a=m.node,Zi.set(a,m),t.appendChild(a)}a=a.nextSibling;continue}case"html":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="SPAN")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("span"),t.appendChild(a)}a.innerHTML=o.value,a=a.nextSibling;continue;case"inlineCode":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="CODE")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("code"),t.appendChild(a)}a.textContent=o.value,a=a.nextSibling;continue;case"text":let h=o.value,d;for(;_r.has(a);){d=a;const m=_r.get(a);if(h.startsWith(m))h=h.substring(m.length),a=a.nextSibling;else break}if(!h)continue;for(;a;){const m=a.nextSibling;a.remove(),a=m}if(d&&!h.trim()){const m=_r.get(d)+h;d.textContent=m,_r.set(d,m);continue}const p=document.createElement("span");p.textContent=h,_r.set(p,h),t.appendChild(p);continue;case"yaml":continue;case"break":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="BR")){for(;a;){const m=a.nextSibling;a.remove(),a=m}t.appendChild(a=document.createElement("br"))}a=a.nextSibling;continue;case"thematicBreak":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="HR")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("hr"),t.appendChild(a)}a=a.nextSibling;continue;case"image":{if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="IMG")){for(;a;){const z=a.nextSibling;a.remove(),a=z}a=document.createElement("img"),t.appendChild(a)}const m=o.url;if(m)if(m.startsWith("python://")){const z=m.substring(9);a.src=Eu(i,z)}else a.src=m;else a.src="";a.alt=o.alt||"",a.title=o.title||"",a=a.nextSibling;continue}case"linkReference":if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName==="A")){for(;a;){const m=a.nextSibling;a.remove(),a=m}a=document.createElement("a"),t.appendChild(a)}x0(o,a,r,n,i);let g;switch(o.referenceType){case"shortcut":g=r[a.textContent.toLowerCase()];break;case"collapsed":g=n[a.textContent.toLowerCase()]||r[a.textContent.toLowerCase()];break;case"full":g=n[(s=o.identifier)==null?void 0:s.toLowerCase()];break}a.href=(g==null?void 0:g.url)||"",a.target="_blank",a.title=(g==null?void 0:g.title)||"",a=a.nextSibling;continue;case"definition":continue;case"footnoteDefinition":case"footnoteReference":case"imageReference":continue;case"blockquote":l="BLOCKQUOTE";break;case"delete":l="DEL";break;case"emphasis":l="EM";break;case"heading":l="H"+o.depth;break;case"link":l="A";break;case"list":l=o.ordered?"OL":"UL";break;case"listItem":l="LI";break;case"paragraph":l="P";break;case"strong":l="STRONG";break;case"table":l="TABLE";break;case"tableCell":l="TD";break;case"tableRow":l="TR";break;default:console.warn("Unknown MDAST node type: "+o.type);continue}if(!((a==null?void 0:a.nodeType)===Node.ELEMENT_NODE&&a.nodeName===l)){for(;a;){const h=a.nextSibling;a.remove(),a=h}a=document.createElement(l),t.appendChild(a)}l==="A"&&(a.href=o.url||"",a.target="_blank",a.title=o.title||""),x0(o,a,r,n,i),a=a.nextSibling}for(;a;){const o=a.nextSibling;a.remove(),a=o}}let k0;function Oc(){return k0||(k0=Promise.resolve().then(()=>_c)),k0}async function Yi(e,t){let r=cn.get(e);r==null||r.cancel(),cn.set(e,r=new wr),(async()=>{const n=await Oc();r.isCancellationRequested||n.default.render(t,e,{throwOnError:!1})})()}const cn=new WeakMap,Zi=new WeakMap,_r=new WeakMap;function Ic(e){const t=[...Dc(e)];if(t.length){const n=t[t.length-1];n===","?t.pop():n===":"&&t.push("undefined")}const r=[];for(const n of t)if(n==="{"||n==="[")r.push(n);else if(n==="}")if(r.length&&r[r.length-1]==="{")r.pop();else throw new Error("Invalid JSON");else if(n==="]")if(r.length&&r[r.length-1]==="[")r.pop();else throw new Error("Invalid JSON");for(;r.length;)r.pop()==="{"?t.push("}"):t.push("]");return JSON.parse(t.join(""))}function*Dc(e){for(let t=0;t<e.length;++t){let r=e[t];switch(r){case" ":case" ":case`
264
264
  `:case"\r":break;case",":case":":case"{":case"}":case"[":case"]":yield r;break;case'"':let n=t++;for(;;++t)if(t<e.length){if(r=e[t],r==='"'){yield e.substring(n,t+1);break}if(r==="\\")if(t+1<e.length)if(e[t+1]==="u")if(t+5<e.length)t+=5;else{yield e.substring(n,t)+'"';return}else++t;else{yield e.substring(n,t)+'"';return}}else{yield e.substring(n,t)+'"';return}break;default:yield r;break}}}function Lc(e){const t=[];let r=0;for(;r<e.length;)if(e[r]==="\\"&&r+1<e.length){switch(e[r+1]){case"n":t.push(`
265
- `);break;case"t":t.push(" ");break;case"r":t.push("\r");break;case"\\":t.push("\\");break;case"'":t.push("'");break;case'"':t.push('"');break;case"b":t.push("\b");break;case"f":t.push("\f");break;case"v":t.push("\v");break;case"a":t.push("a");break;case"0":t.push("\0");break;case"u":r+5<e.length&&(t.push(String.fromCharCode(parseInt(e.substring(r+2,r+6),16))),r+=4);break;case"U":r+9<e.length&&(t.push(String.fromCodePoint(parseInt(e.substring(r+2,r+10),16))),r+=8);break;default:t.push(e[r+1]);break}r+=2}else t.push(e[r]),r++;return t.join("")}class Fc{constructor(t){Y(this,"node");Y(this,"preliminaryToolCallsByIndex",{});Y(this,"toolCallsByIndex",{});this.chat=t,this.node=q("div",{class:"flex flex-col gap-1 items-start"})}getToolCall(t,r,n,i){let a=this.toolCallsByIndex[t];if(!a){let s=this.preliminaryToolCallsByIndex[t];return s||(this.preliminaryToolCallsByIndex[t]=s={id:void 0,name:void 0,args:""}),r&&(s.id=r),n&&(s.name=n),i&&(s.args+=i),s.name?(a=new Rt(this.chat,t,s.name,s.args),this.node.appendChild((this.toolCallsByIndex[t]=a).node),a.functionId=s.id,a.appendArguments(s.args),a):null}return r&&(a.functionId=r),i&&a.appendArguments(i),a}}var mr=(e=>(e.Medium="avatar-md",e.Large="avatar-lg",e.ExtraLarge="avatar-xl",e.ExtraExtraLarge="avatar-xxl",e))(mr||{});function z0({as:e="div",size:t="avatar-lg",id:r,...n},i){const a=q(e,{...n},i);return e==="button"&&!("type"in n)&&(a.type="button"),a.classList.add("avatar"),t&&a.classList.add(t),r&&a.classList.add(...Pc(r)),a}const Ji=[["bg-Land-Green-95","text-Land-Green-30"],["bg-Sunflower-85","text-Sunflower-20"],["bg-Energy-Red-95","text-Energy-Red-45"],["bg-Sea-Blue-Main-28","text-Sky-Blue-95"],["bg-Lavender-90","text-Lavender-50"],["bg-Eucalyptus-85","text-Eucalyptus-20"],["bg-Terracotta-85","text-Terracotta-20"]];function Pc(e){const t=qc(e);return Ji[Math.floor(Math.abs(t%Ji.length))]}function qc(e){let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);return t}function Be(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Hc({size:e="48",...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 48 48"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);let n=Be("path");return n.setAttribute("d","M33.4942 11.8621H39.9088L27.3731 36.1775H20.9585L33.4942 11.8621Z"),r.appendChild(n),n=Be("path"),n.setAttribute("d","M22.4844 27.0056L19.3817 33.1261L8.0625 11.9116H14.3083L22.4844 27.0056Z"),r.appendChild(n),r.classList.add("icon"),r}function Uc(e){const t=q(z0,e,q(Hc,{size:"100%",class:"relative top-[3%] shrink-0"}));return t.classList.add("bg-Dark-Blue-Main-18","text-White"),t}class Qi{constructor(t,r,n,i,a){Y(this,"node");Y(this,"nameNode");Y(this,"contentNode");Y(this,"_currentMarkdown");Y(this,"_currentMarkdownNode");Y(this,"_latestMarkdown");Y(this,"_currentToolCallGroup");this.chat=t,this.size=a,this.node=q(xn,null,Gc(r,n,i,a),this.contentNode=q("div",{class:"flex flex-col gap-3"},this.nameNode=q("div",{class:"font-demiBold sr-only"},r))),a===0&&this.nameNode.classList.add("text-[.875rem]")}toDto(){return{role:"assistant",content:this._latestMarkdown}}appendAgentMarkdownMessage(t){this._currentMarkdownNode||(this.reset(),this.contentNode.appendChild(this._currentMarkdownNode=q("div",{class:"mt-1.5 prose prose-neutral max-w-none"})),this.size===0&&this._currentMarkdownNode.classList.add("prose-sm")),this._currentMarkdown?this._currentMarkdown+=t:this._currentMarkdown=t,this._latestMarkdown=this._currentMarkdown,Nr(this._currentMarkdownNode,this._currentMarkdown,this.chat.pyodide)}getOrAppendToolCallGroup(){return this._currentToolCallGroup||(this.reset(),this.contentNode.appendChild((this._currentToolCallGroup=new Fc(this.chat)).node)),this._currentToolCallGroup}reset(){this._currentMarkdown=null,this._currentMarkdownNode=null,this._currentToolCallGroup=null}done(){this.reset()}}var S0=(e=>(e[e.Small=0]="Small",e[e.Medium=1]="Medium",e))(S0||{});function Gc(e,t,r,n){return n===0?mr.Medium:mr.Large,r?q(z0,{class:"mt-1",size:mr.Medium},q("img",{src:r,class:"w-full h-full"})):q(Uc,{class:"mt-1",size:mr.Medium})}var Ue=(e=>(e.ExtraSmall="16",e.Small="20",e.Medium="24",e.Large="28",e.ExtraLarge="32",e.ExtraExtraLarge="40",e))(Ue||{});function jc({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M443.5 248.5l-7.1-7.1c-4.7-4.7-12.3-4.7-17 0L241 419.9V44c0-6.6-5.4-12-12-12h-10c-6.6 0-12 5.4-12 12v375.9L28.5 241.4c-4.7-4.7-12.3-4.7-17 0l-7.1 7.1c-4.7 4.7-4.7 12.3 0 17l211 211.1c4.7 4.7 12.3 4.7 17 0l211-211.1c4.8-4.8 4.8-12.3.1-17z"),r.appendChild(n),r.classList.add("icon"),r}function es({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","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"),r.appendChild(n),r.classList.add("icon"),r}var E0=(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))(E0||{});function ts({size:e="80",...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 80 80"),r.setAttribute("fill","none"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t),r.setAttribute("class",(r.getAttribute("class")??"")+" animate-spin");const n=Be("path");n.setAttribute("d","M40 6.15385C21.3073 6.15385 6.15385 21.3073 6.15385 40C6.15385 58.6927 21.3073 73.8462 40 73.8462C58.6927 73.8462 73.8462 58.6927 73.8462 40C73.8462 21.3073 58.6927 6.15385 40 6.15385ZM0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80C17.9086 80 0 62.0914 0 40Z"),n.setAttribute("fill","#99BEFF"),r.appendChild(n);const i=Be("path");return i.setAttribute("d","M36.9229 3.07692C36.9229 1.37759 38.3004 0 39.9998 0C45.2526 0 50.4541 1.03463 55.3071 3.04482C60.1601 5.05501 64.5697 8.00138 68.284 11.7157C71.9984 15.4301 74.9448 19.8396 76.955 24.6927C78.9651 29.5457 79.9998 34.7471 79.9998 40C79.9998 41.6993 78.6222 43.0769 76.9228 43.0769C75.2235 43.0769 73.8459 41.6993 73.8459 40C73.8459 35.5553 72.9705 31.154 71.2695 27.0476C69.5686 22.9412 67.0755 19.2101 63.9326 16.0672C60.7897 12.9242 57.0585 10.4312 52.9521 8.73023C48.8457 7.0293 44.4445 6.15385 39.9998 6.15385C38.3004 6.15385 36.9229 4.77626 36.9229 3.07692Z"),i.setAttribute("fill","#003591"),r.appendChild(i),r}function rs({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 464c-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216 0 118.7-96.1 216-216 216zm94.8-285.3L281.5 256l69.3 69.3c4.7 4.7 4.7 12.3 0 17l-8.5 8.5c-4.7 4.7-12.3 4.7-17 0L256 281.5l-69.3 69.3c-4.7 4.7-12.3 4.7-17 0l-8.5-8.5c-4.7-4.7-4.7-12.3 0-17l69.3-69.3-69.3-69.3c-4.7-4.7-4.7-12.3 0-17l8.5-8.5c4.7-4.7 12.3-4.7 17 0l69.3 69.3 69.3-69.3c4.7-4.7 12.3-4.7 17 0l8.5 8.5c4.6 4.7 4.6 12.3 0 17z"),r.appendChild(n),r.classList.add("icon"),r}function ns({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","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"),r.appendChild(n),r.classList.add("icon"),r}function $c({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 32 32"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M14.75 21.75C15.0833 21.4167 15.5 21.25 16 21.25C16.5 21.25 16.9167 21.4167 17.25 21.75C17.5833 22.0833 17.75 22.5 17.75 23C17.75 23.5 17.5833 23.9167 17.25 24.25C16.9167 24.5833 16.5 24.75 16 24.75C15.5 24.75 15.0833 24.5833 14.75 24.25C14.4167 23.9167 14.25 23.5 14.25 23C14.25 22.5 14.4167 22.0833 14.75 21.75ZM16.5 19.75H15.5C15.2917 19.75 15.1042 19.6875 14.9375 19.5625C14.8125 19.3958 14.75 19.2083 14.75 19C14.75 18 15 17.1667 15.5 16.5C16 15.7917 16.5417 15.2917 17.125 15C17.75 14.7083 18.3125 14.3333 18.8125 13.875C19.3125 13.4167 19.5625 12.875 19.5625 12.25C19.5625 11.8333 19.4375 11.4375 19.1875 11.0625C18.9375 10.6875 18.5417 10.375 18 10.125C17.4583 9.875 16.7917 9.75 16 9.75C14.4583 9.75 13.2083 10.3542 12.25 11.5625C12 11.9375 11.6667 11.9792 11.25 11.6875L10.4375 11.125C10.0208 10.8333 9.95833 10.4792 10.25 10.0625C11.7083 8.1875 13.625 7.25 16 7.25C17.7083 7.25 19.1458 7.70833 20.3125 8.625C21.4792 9.54167 22.0625 10.75 22.0625 12.25C22.0625 13.2083 21.8125 14.0417 21.3125 14.75C20.8125 15.4167 20.25 15.8958 19.625 16.1875C19.0417 16.4792 18.5 16.875 18 17.375C17.5 17.8333 17.25 18.375 17.25 19C17.25 19.2083 17.1667 19.3958 17 19.5625C16.875 19.6875 16.7083 19.75 16.5 19.75ZM16 2.5C12.25 2.5 9.0625 3.83333 6.4375 6.5C3.8125 9.125 2.5 12.2917 2.5 16C2.5 19.75 3.8125 22.9375 6.4375 25.5625C9.10417 28.1875 12.2917 29.5 16 29.5C19.75 29.5 22.9375 28.1875 25.5625 25.5625C28.1875 22.8958 29.5 19.7083 29.5 16C29.5 12.25 28.1667 9.0625 25.5 6.4375C22.875 3.8125 19.7083 2.5 16 2.5ZM5 5.0625C8.04167 2.02083 11.7083 0.5 16 0.5C20.2917 0.5 23.9375 2.02083 26.9375 5.0625C29.9792 8.0625 31.5 11.7083 31.5 16C31.5 20.2917 29.9792 23.9583 26.9375 27C23.9375 30 20.2917 31.5 16 31.5C11.7083 31.5 8.04167 30 5 27C2 23.9583 0.5 20.2917 0.5 16C0.5 11.7083 2 8.0625 5 5.0625Z"),r.appendChild(n),r.classList.add("icon"),r}class Vc{constructor(t,r){Y(this,"node");Y(this,"_icon");Y(this,"_iconNode");Y(this,"_markdown");Y(this,"_markdownNode");this._icon=t,this._markdown=r,this.node=q(xn,null,this._iconNode=as(t),this._markdownNode=q("span",null)),Nr(this._markdownNode,this._markdown,null)}get icon(){return this._icon}set icon(t){t!==this._icon&&(this._iconNode.replaceWith(this._iconNode=as(t)),this._icon=t)}get markdown(){return this._markdown}set markdown(t){t!==this._markdown&&(Nr(this._markdownNode,this._markdown=t,null),this._markdown=t)}status(t,r,n){this.icon=r,this.markdown=n}}function as(e){switch(e){case ut.Progress:return q(ts,{size:E0.Small,class:"mx-auto"});case ut.Complete:return q(es,{size:Ue.Medium,class:"text-Land-Green-30 mx-auto"});case ut.Info:return q(ns,{size:Ue.Medium,class:"text-Sea-Blue-Main-28 mx-auto"});case ut.Warning:return q(ns,{size:Ue.Medium,class:"text-Terracotta-Main-35 mx-auto"});case ut.Error:return q(rs,{size:Ue.Medium,class:"text-Energy-Red-45 mx-auto"})}return e!=null&&e.startsWith("https://")?q("img",{src:e,alt:"",class:"w-6 h-6 mx-auto"}):(e&&e!==ut.Undetermined&&console.warn(`Unknown task item icon '${e}'. Defaulting to undetermined.`),q($c,{size:Ue.Medium,class:"text-Sandstone-Main-79 mx-auto"}))}class Rt{constructor(t,r,n,i,a=!0){Y(this,"node");Y(this,"functionId");Y(this,"_titleNode");Y(this,"_titleStatusIconNode");Y(this,"_titleTextNode");Y(this,"_bodyWrapperNode");Y(this,"_bodyNode");Y(this,"_taskItemsById",{});Y(this,"_expanded");Y(this,"_highlightCode");Y(this,"_pythonStdouterrContainerNode");Y(this,"_pythonStdouterrNode");Y(this,"_agentName");Y(this,"_agentBackgroundColor");Y(this,"_agentIcon");Y(this,"_gridLayoutNode");Y(this,"_agentMessage");if(this.chat=t,this.functionIndex=r,this.functionName=n,this.functionAccumulatedArguments=i,this._expanded=a,this.node=q("div",{classList:["w-full","overflow-hidden","text-[.875rem]","transition-all","fluent-depth-0","hover:fluent-depth-8","active:fluent-depth-4","aria-expanded:fluent-depth-16","active:aria-expanded:fluent-depth-8"],"aria-expanded":a},this._titleNode=q("div",{classList:["group","px-3","py-2","flex","gap-3","items-center","cursor-pointer","active:select-none","transition-colors","bg-transparent","hover:bg-Sky-Blue-90","active:bg-Sky-Blue-85","data-[expanded=true]:bg-Sky-Blue-85","data-[expanded=true]:hover:bg-Sky-Blue-80","data-[expanded=true]:active:bg-Sky-Blue-75","data-[status=error]:hover:bg-Energy-Red-90","data-[status=error]:active:bg-Energy-Red-85","data-[status=error]:data-[expanded=true]:bg-Energy-Red-85","data-[status=error]:data-[expanded=true]:hover:bg-Energy-Red-80","data-[status=error]:data-[expanded=true]:active:bg-Energy-Red-75"],"data-expanded":a,role:"button",onclick:()=>this.expanded=!this.expanded},this._titleStatusIconNode=q(ts,{size:E0.Small,class:"flex-shrink-0"}),this._titleTextNode=q("p",{class:"font-medium relative top-[.05em] group-data-[status=error]:text-Energy-Red-45"},"Gather information"),q(jc,{size:Ue.Small,classList:["flex-shrink-0","ml-auto","text-Sea-Blue-Main-28","group-data-[status=error]:text-Energy-Red-45","transition-all","group-data-[expanded=true]:-rotate-180","duration-300","opacity-50","group-hover:opacity-100","group-data-[expanded=true]:opacity-100"]})),this._bodyWrapperNode=q("div",{class:"grid transition-[grid-template-rows] duration-300",gridTemplateRows:a?"1fr":"0fr","data-expanded":a},q("div",{class:"overflow-hidden"},this._bodyNode=q("div",{class:"transition-colors bg-Sky-Blue-95 data-[status=error]:bg-Energy-Red-95"})))),n==="python"){this.invalidatePythonArguments();const s=this.appendArguments;this.appendArguments=o=>{s.call(this,o),this.invalidatePythonArguments()}}}get expanded(){return this._expanded}set expanded(t){t!==this._expanded&&(this._bodyWrapperNode.style.gridTemplateRows=t?"1fr":"0fr",this.node.setAttribute("aria-expanded",String(t)),this._titleNode.setAttribute("data-expanded",String(t)),this._bodyWrapperNode.setAttribute("data-expanded",String(t)),this._expanded=t)}appendArguments(t){this.functionAccumulatedArguments?this.functionAccumulatedArguments+=t:this.functionAccumulatedArguments=t}invalidatePythonArguments(){this._highlightCode?this._highlightCode.updateCode("python",this.extractCodeFromAccumulatedArguments()):(this.chat.initializePyodideAsync(),this._gridLayoutNode=null,this._agentMessage=null,this._highlightCode=new ba("python",this.extractCodeFromAccumulatedArguments()),this._highlightCode.node.classList.add("p-3","bg-[#262626]","text-[#e5e5e5]","overflow-x-auto"),this._bodyNode.appendChild(this._highlightCode.node))}extractCodeFromAccumulatedArguments(){let t=this.functionAccumulatedArguments;if(!t.startsWith("{"))return t;var r=t.indexOf("Code:");if(r!=-1&&t.substring(0,r).trim()=="{"&&(t='{"Code":'+t.substring(r+5)),r=t.indexOf('"""'),r!=-1){var n=t.lastIndexOf('"""');if(r<n&&t.substring(n+3).trim()=="}"){var i=Lc(t.substring(r+3,n-(r+3))),a=t.substring(0,r)+JSON.stringify(i)+t.substring(n+3);t=a}}try{var s=Ic(t)}catch{return console.warn("Error parsing Python code arguments provided as JSON.",this.functionAccumulatedArguments),""}return(s==null?void 0:s.Code)||""}async python(t,r){try{await this.chat.initializePyodideAsync();var n="",i="";this.chat.pyodide.setStdout({batched:l=>{n+=l,this.appendPythonStdouterr(l,!1)}}),this.chat.pyodide.setStderr({batched:l=>{i+=l,this.appendPythonStdouterr(l,!0)}}),this._pythonStdouterrContainerNode=null;var a=await this.chat.runPythonCodeAsync(r),s=String(a);if(1e3<=s.length)throw new Error("The Python code executed successfully, but the result is too long to be suitable as an input for an LLM. Focus on returning summary statistics or specific values instead of large datasets, like counts instead of entire lists. If operations produce large structures (e.g., arrays, maps), process them within Python and return only the relevant result. Perform calculations, filtering, or summarization within Python to avoid transferring large data back to the LLM.")}catch(l){console.error(l);const h=String(l);this.appendPythonResultRow(h,!0);const d=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationError,operationId:t,operationResult:{error:h,stdout:n,stderr:i}})});if(!d.ok)throw new Error(`Server returned ${d.status} ${d.statusText}`);return}this.appendPythonResultRow(s,!1);const o=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationResult,operationId:t,operationResult:{resultAsString:s,stdout:n,stderr:i}})});if(!o.ok)throw new Error(`Server returned ${o.status} ${o.statusText}`)}appendPythonResultRow(t,r){t!=null&&t.trim()||(t="<EMPTY>");let n;const i=q("div",{class:"p-3 bg-[#333333] text-[#e5e5e5] overflow-x-auto"},q("p",{class:"font-medium mb-1"},"RESULT OF COMPUTATION"),n=q("pre",null));this._bodyNode.appendChild(i),n.classList.toggle("text-Energy-Red-45",r),n.textContent=t}appendPythonStdouterr(t,r){this._pythonStdouterrContainerNode||(this._pythonStdouterrContainerNode=q("div",{class:"p-3 bg-[#333333] text-[#e5e5e5] overflow-x-auto"},q("p",{class:"font-medium mb-1"},"STDOUT / STDERR"),this._pythonStdouterrNode=q("pre",null)),this._bodyNode.appendChild(this._pythonStdouterrContainerNode)),r?this._pythonStdouterrNode.appendChild(q("span",{class:"text-Energy-Red-45"},t)):this._pythonStdouterrNode.appendChild(document.createTextNode(t))}async invokeFrontEnd(t,r,n){try{const s=this.chat.frontEndFunctions[r];if(!s)throw new Error(`Front-end 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 through a dialog, 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.`);let o=s(...JSON.parse(n));o instanceof Promise&&(o=await o);var i=JSON.stringify(o)}catch(s){console.error(s);const o=s&&String(s),l=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationError,operationId:t,operationResult:{error:o}})});if(!l.ok)throw new Error(`Server returned ${l.status} ${l.statusText}`);return}const a=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationResult,operationId:t,operationResult:{resultAsJson:i}})});if(!a.ok)throw new Error(`Server returned ${a.status} ${a.statusText}`)}initAgent(t,r,n){this._agentName=t,this._agentBackgroundColor=r,this._agentIcon=n}appendAgentMarkdownMessage(t){this.getOrAppendAgentMessage().appendAgentMarkdownMessage(t)}getOrAppendToolCallGroup(){return this.getOrAppendAgentMessage().getOrAppendToolCallGroup()}getOrAppendGridLayoutNode(t=!0){return this._gridLayoutNode||(this._highlightCode=null,this._bodyNode.appendChild(this._gridLayoutNode=q("div",{class:"p-3 pr-4 grid grid-cols-[32px,1fr] gap-3"}))),this._gridLayoutNode}getOrAppendAgentMessage(){return this._agentMessage||this.getOrAppendGridLayoutNode().appendChild((this._agentMessage=new Qi(this.chat,this._agentName,this._agentBackgroundColor,this._agentIcon,S0.Small)).node),this._agentMessage}reset(){this._agentMessage?this._agentMessage.reset():this._highlightCode=null}log(t,r,n){}setTaskItemStatus(t,r,n,i){let a;if(!(a=this._taskItemsById[t])){this._taskItemsById[t]=a=new Vc(n,i),this.getOrAppendGridLayoutNode(!1).appendChild(a.node);return}a.status(r,n,i)}setTitle(t){Nr(this._titleTextNode,t,null)}done(){if(this.node.getAttribute("data-status")==="error")return;this.node.setAttribute("data-status","success");const t=this._titleStatusIconNode;t.parentNode.replaceChild(this._titleStatusIconNode=q(es,{size:Ue.Medium,class:"text-Land-Green-30 flex-shrink-0"}),t);for(const r in this._taskItemsById){const n=this._taskItemsById[r];n.icon===ut.Progress&&(n.icon=ut.Undetermined)}}error(t){this.node.setAttribute("data-status","error"),this._titleNode.setAttribute("data-status","error"),this._bodyNode.setAttribute("data-status","error");const r=this._titleStatusIconNode;r.parentNode.replaceChild(this._titleStatusIconNode=q(rs,{size:Ue.Medium,class:"text-Energy-Red-45 flex-shrink-0"}),r);for(const n in this._taskItemsById){const i=this._taskItemsById[n];i.icon===ut.Progress&&(i.icon=ut.Undetermined)}this.appendError(t)}appendError(t){t!=null&&t.trim()||(t="<EMPTY>");let r;const n=q("div",{class:"p-3 overflow-x-auto text-Energy-Red-45"},q("p",{class:"font-medium mb-1"},"ERROR"),r=q("pre",null));this._bodyNode.appendChild(n),r.textContent=t}}class Wc{constructor(){Y(this,"parentsByFunctionId",new Map)}async readMessagesAsync(t,r){try{for(;await t.waitToReadAsync();)for(const n of t.read()){let i;if(n.type===ze.Init&&!n.parentFunctionId&&(i=r(n.agentManifestName,n.agentManifestBackgroundColor,n.agentManifestIcon),this.parentsByFunctionId.set(null,i)),i=this.parentsByFunctionId.get(n.parentFunctionId),i)switch(n.type){case ze.Init:i instanceof Rt&&i.initAgent(n.agentManifestName,n.agentManifestBackgroundColor,n.agentManifestIcon);break;case ze.AppendMessage:i.appendAgentMarkdownMessage(n.appendMessageMarkdown);break;case ze.ToolCallUpdate:{const s=i.getOrAppendToolCallGroup().getToolCall(n.toolCallUpdateIndex,n.toolCallFunctionId,n.toolCallUpdateName,n.toolCallUpdateArguments);s&&n.toolCallFunctionId&&this.parentsByFunctionId.set(n.toolCallFunctionId,s);break}case ze.ToolCallTaskItemStatus:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.setTaskItemStatus(n.toolCallTaskItemId,n.toolCallTaskItemProgress,n.toolCallTaskItemIcon,n.toolCallTaskItemMarkdown);break}case ze.ToolCallTitle:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.setTitle(n.toolCallMarkdownTitle);break}case ze.ToolCallLog:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.log(n.toolCallLogLevel,n.toolCallTime,n.toolCallTaskItemMarkdown);break}case ze.ToolCallPython:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.python(n.toolCallOperationId,n.toolCallCode);break}case ze.Loop:i.reset();break;case ze.ToolCallDone:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.done();break}case ze.ToolCallError:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.error(n.toolCallError);break}case ze.InvokeFrontEnd:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.invokeFrontEnd(n.toolCallOperationId,n.toolCallFrontendFunctionName,n.toolCallFrontendArgumentsAsJson);break}}else console.error("No parent found for function id",n.parentFunctionId)}}finally{for(const n of this.parentsByFunctionId.values())n.done()}}}function Xc(e){const r=e.trim().replace(/[^\w\s]|_/g,"").replace(/\s+/g," ").toUpperCase().split(" ");if(r.length===1&&r[0]==="")return"?";let n=r[0][0];return r.length>1&&(n+=r[1][0]),n}class Kc{constructor(t,r,n,i,a,s){Y(this,"node");Y(this,"userId");Y(this,"givenName");Y(this,"surname");Y(this,"displayName");Y(this,"avatarLetters");Y(this,"_message");this.node=q(xn,null,q(z0,{class:"mt-1",id:t,size:mr.Medium,title:i},q("span",{marginTop:"-.1em"},a)),q("div",{class:"mt-1.5"},q("div",{class:"font-demiBold sr-only"},i),q("pre",{fontFamily:"inherit",fontWeight:"inherit",lineHeight:"inherit"},s))),this._message=s}toDto(){return{role:"user",content:this._message}}}class is extends Error{constructor(t){super(`You have reached our limit of ${t.maxMessages} messages per ${t.maxMessagesPerHours} hours. Please try again later.`),this.limits=t}}class Yc{constructor(){Y(this,"_queue",[]);Y(this,"_waitToReadDeferred");Y(this,"_isCompleted",!1)}resolveWaitToReadDeferred(t){const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.resolve(t))}complete(){this._isCompleted||(this._isCompleted=!0,this.resolveWaitToReadDeferred(!!this._queue.length))}completeWithError(t){if(this._isCompleted)return;this._isCompleted=!0;const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.reject(t))}tryWrite(t){return this._isCompleted?!1:(this._queue.push(t),this.resolveWaitToReadDeferred(!0),!0)}waitToReadAsync(t){if(t.isCancellationRequested)return Promise.reject(new qr);if(this._waitToReadDeferred)return Promise.reject(new Error("Multiple readers are not supported."));if(this._queue.length)return Promise.resolve(!0);if(this._isCompleted)return Promise.resolve(!1);let r,n,i=new Promise((o,l)=>{r=o,n=l}),a,s=()=>{this._waitToReadDeferred===a&&(this._waitToReadDeferred=null),n(new qr)};return t.addListener(s),this._waitToReadDeferred={resolve:r,reject:n,cancellationToken:t,cancellationTokenListener:s},i}read(){const t=this._queue;return this._queue=[],t}}class Zc extends Yc{constructor(){super(...arguments);Y(this,"_reader");Y(this,"_buffer",new Uint8Array(0));Y(this,"_bufferOffset",0);Y(this,"_abortController");Y(this,"_cancellationToken");Y(this,"_textDecoder",new TextDecoder)}async startAsync(r,n,i){this._abortController=new AbortController,(this._cancellationToken=new wr).addListener(()=>this._abortController.abort());const a=await r(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.Messages,messages:i}),signal:this._abortController.signal});if(a.status===429){const s=await a.json();throw new is(s)}this._reader=a.body.getReader(),this.readMessagesAsync()}stop(){this._cancellationToken.cancel()}async readBytesAsync(r){if(this._buffer.length-this._bufferOffset>=r){const i=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,i}for(;this._buffer.length-this._bufferOffset<r;){const{done:i,value:a}=await this._reader.read();if(i){const s=this._buffer.subarray(this._bufferOffset);return this._buffer=new Uint8Array(0),this._bufferOffset=0,s}this._buffer=Jc(this._buffer,a,this._bufferOffset),this._bufferOffset=0}const n=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,n}async readLittleEndianInt32Async(){const r=await this.readBytesAsync(4),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getInt32(0,!0)}async readLittleEndianDoubleAsync(){const r=await this.readBytesAsync(8),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getFloat64(0,!0)}async readUtf8StringAsync(){const r=await this.readLittleEndianInt32Async();if(r===-1)return null;const n=await this.readBytesAsync(r);return this._textDecoder.decode(n)}async readMessageAsync(){const r=await this.readBytesAsync(1);if(r.length==0)return null;const n=r[0];switch(n){case ze.Init:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,agentManifestName:a,agentManifestBackgroundColor:s,agentManifestIcon:o}}case ze.Done:{const i=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i}}case ze.Error:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,errorMarkdown:a}}case ze.AppendMessage:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,appendMessageMarkdown:a}}case ze.ToolCallUpdate:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readUtf8StringAsync(),l=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallUpdateIndex:s,toolCallUpdateName:o,toolCallUpdateArguments:l}}case ze.Loop:{const i=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i}}case ze.ToolCallTaskItemStatus:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readLittleEndianDoubleAsync(),l=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallTaskItemId:s,toolCallTaskItemProgress:o,toolCallTaskItemIcon:l,toolCallTaskItemMarkdown:h}}case ze.ToolCallTitle:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallMarkdownTitle:s}}case ze.ToolCallLog:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readBytesAsync(1);if(s.length==0)return null;const o=s[0],l=await this.readLittleEndianDoubleAsync(),h=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallLogLevel:o,toolCallTime:l,toolCallTaskItemMarkdown:h}}case ze.ToolCallPython:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallOperationId:s,toolCallCode:o}}case ze.ToolCallDone:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a}}case ze.ToolCallError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallError:s}}case ze.InvokeFrontEnd:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),l=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallOperationId:s,toolCallFrontendFunctionName:o,toolCallFrontendArgumentsAsJson:l}}default:throw new Error(`Unexpected message type: ${n}`)}}async readMessagesAsync(){try{for(;;){const r=await this.readMessageAsync();if(!r){this.complete();return}this.tryWrite(r)}}catch(r){this.completeWithError(r)}}waitToReadAsync(){return super.waitToReadAsync(this._cancellationToken)}}function Jc(e,t,r){r>0&&e.copyWithin(0,r);let n=new Uint8Array(e.length-r+t.length);return n.set(e.subarray(0,e.length-r),0),n.set(t,e.length-r),n}function Qc({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","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"),r.appendChild(n),r.classList.add("icon"),r}function eh(e,t){const r=q("div",{gridTemplateColumns:"24px 1fr",...e},q(Qc,null),q("div",null,t));return r.classList.add("fluent-depth-16","bg-Energy-Red-95","text-Energy-Red-45","p-4","grid","gap-4"),r}var ss=(e=>(e.Primary="btn-primary",e.Secondary="btn-secondary",e.Tertiary="btn-tertiary",e.CTA="btn-cta",e.Destructive="btn-destructive",e))(ss||{});function os({as:e="button",type:t,variant:r="btn-primary",size:n="btn-lg",...i},a){const s=q(e,{...i},a);return e==="button"&&(s.type=t||"button"),s.classList.add("btn"),r&&s.classList.add(r),n&&s.classList.add(n),s}function th({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 576 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","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"),r.appendChild(n),r.classList.add("icon"),r}function hn(e,t,r,n){return n?new Promise((i,a)=>{const s=e.animate(t,r),o=()=>{s.cancel()};n.addListener(o),s.onfinish=()=>{n.removeListener(o),i()},s.oncancel=()=>{a(new qr)}}):new Promise(i=>{const a=e.animate(t,r);a.onfinish=i})}function rh(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}function nh({parentNode:e,createModalElement:t,animateModalElement:r=!0,onDismiss:n}){const i=document.activeElement,a=rh(),s=new wr,o=a.promise.finally(()=>g()),l=t(a.resolve,a.reject);l.style.pointerEvents="auto",r&&(l.style.opacity="0",l.style.transform="translateY(-20px)");let h;const d=q("div",{class:"relative","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",zIndex:"1000"},h=q("div",{class:"fixed inset-0 bg-Sea-Blue-5",opacity:"0"}),q("div",{class:"fixed inset-0 z-10 w-screen overflow-y-auto pointer-events-none"},q("div",{class:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"},l)));n&&h.addEventListener("click",()=>n(a.resolve,a.reject)),e.appendChild(d);async function p(){try{const z=hn(h,[{opacity:".5"}],{duration:300,easing:"ease-out",fill:"forwards"},s);if(r)var m=hn(l,[{transform:"translateY(0)",opacity:"1"}],{duration:300,easing:"ease-out",fill:"forwards"},s);await z,m&&await m}catch(z){if(!s.isCancellationRequested)throw z}}p();async function g(){s.cancel();const m=hn(h,[{opacity:"0"}],{duration:200,easing:"ease-in",fill:"forwards"});if(r)var z=hn(l,[{transform:"translateY(-20px)",opacity:"0"}],{duration:200,easing:"ease-in",fill:"forwards"});await m,z&&await z,d.remove(),i==null||i.focus()}return o}function ah(e,t,r){return nh({parentNode:r,onDismiss:(n,i)=>n(!1),createModalElement:(n,i)=>{let a;const s=q("div",{class:"relative transform overflow-hidden bg-white text-left elevation-4 sm:my-8 sm:w-full sm:max-w-lg"},q("div",{class:"bg-White p-6 pb-5"},q("div",{class:"sm:flex sm:items-start"},q(th,{class:"text-Terracotta-30 mx-auto flex-shrink-0 sm:mx-0","aria-hidden":"true"}),q("div",{class:"mt-3 text-center sm:ml-4 sm:mt-0 sm:text-left"},q("h4",{id:"modal-title"},e),a=q("div",{class:"mt-2 prose prose-neutral"})))),q("div",{class:"bg-White p-6 pt-5 sm:flex sm:flex-row-reverse"},q(os,{class:"w-full sm:ml-3 sm:w-auto",onclick:()=>n(!0)},"Yes, proceed"),q(os,{variant:ss.Secondary,class:"mt-3 w-full sm:mt-0 sm:w-auto",onclick:()=>n(!1)},"No, cancel")));return Nr(a,t,null),s}})}var ih=Object.create,A0=Object.defineProperty,sh=Object.getOwnPropertyDescriptor,oh=Object.getOwnPropertyNames,lh=Object.getPrototypeOf,uh=Object.prototype.hasOwnProperty,pe=(e,t)=>A0(e,"name",{value:t,configurable:!0}),ls=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')}),us=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ch=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oh(t))!uh.call(e,i)&&i!==r&&A0(e,i,{get:()=>t[i],enumerable:!(n=sh(t,i))||n.enumerable});return e},hh=(e,t,r)=>(r=e!=null?ih(lh(e)):{},ch(t||!e||!e.__esModule?A0(r,"default",{value:e,enumerable:!0}):r,e)),dh=us((e,t)=>{(function(r,n){typeof define=="function"&&define.amd?define("stackframe",[],n):typeof e=="object"?t.exports=n():r.StackFrame=n()})(e,function(){function r(k){return!isNaN(parseFloat(k))&&isFinite(k)}pe(r,"_isNumber");function n(k){return k.charAt(0).toUpperCase()+k.substring(1)}pe(n,"_capitalize");function i(k){return function(){return this[k]}}pe(i,"_getter");var a=["isConstructor","isEval","isNative","isToplevel"],s=["columnNumber","lineNumber"],o=["fileName","functionName","source"],l=["args"],h=["evalOrigin"],d=a.concat(s,o,l,h);function p(k){if(k)for(var N=0;N<d.length;N++)k[d[N]]!==void 0&&this["set"+n(d[N])](k[d[N]])}pe(p,"StackFrame"),p.prototype={getArgs:function(){return this.args},setArgs:function(k){if(Object.prototype.toString.call(k)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=k},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(k){if(k instanceof p)this.evalOrigin=k;else if(k instanceof Object)this.evalOrigin=new p(k);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var k=this.getFileName()||"",N=this.getLineNumber()||"",A=this.getColumnNumber()||"",C=this.getFunctionName()||"";return this.getIsEval()?k?"[eval] ("+k+":"+N+":"+A+")":"[eval]:"+N+":"+A:C?C+" ("+k+":"+N+":"+A+")":k+":"+N+":"+A}},p.fromString=pe(function(k){var N=k.indexOf("("),A=k.lastIndexOf(")"),C=k.substring(0,N),R=k.substring(N+1,A).split(","),W=k.substring(A+1);if(W.indexOf("@")===0)var H=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(W,""),T=H[1],X=H[2],ee=H[3];return new p({functionName:C,args:R||void 0,fileName:T,lineNumber:X||void 0,columnNumber:ee||void 0})},"StackFrame$$fromString");for(var g=0;g<a.length;g++)p.prototype["get"+n(a[g])]=i(a[g]),p.prototype["set"+n(a[g])]=function(k){return function(N){this[k]=!!N}}(a[g]);for(var m=0;m<s.length;m++)p.prototype["get"+n(s[m])]=i(s[m]),p.prototype["set"+n(s[m])]=function(k){return function(N){if(!r(N))throw new TypeError(k+" must be a Number");this[k]=Number(N)}}(s[m]);for(var z=0;z<o.length;z++)p.prototype["get"+n(o[z])]=i(o[z]),p.prototype["set"+n(o[z])]=function(k){return function(N){this[k]=String(N)}}(o[z]);return p})}),mh=us((e,t)=>{(function(r,n){typeof define=="function"&&define.amd?define("error-stack-parser",["stackframe"],n):typeof e=="object"?t.exports=n(dh()):r.ErrorStackParser=n(r.StackFrame)})(e,pe(function(r){var n=/(^|@)\S+:\d+/,i=/^\s*at .*(\S+:\d+|\(native\))/m,a=/^(eval@)?(\[native code])?$/;return{parse:pe(function(s){if(typeof s.stacktrace<"u"||typeof s["opera#sourceloc"]<"u")return this.parseOpera(s);if(s.stack&&s.stack.match(i))return this.parseV8OrIE(s);if(s.stack)return this.parseFFOrSafari(s);throw new Error("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:pe(function(s){if(s.indexOf(":")===-1)return[s];var o=/(.+?)(?::(\d+))?(?::(\d+))?$/,l=o.exec(s.replace(/[()]/g,""));return[l[1],l[2]||void 0,l[3]||void 0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:pe(function(s){var o=s.stack.split(`
265
+ `);break;case"t":t.push(" ");break;case"r":t.push("\r");break;case"\\":t.push("\\");break;case"'":t.push("'");break;case'"':t.push('"');break;case"b":t.push("\b");break;case"f":t.push("\f");break;case"v":t.push("\v");break;case"a":t.push("a");break;case"0":t.push("\0");break;case"u":r+5<e.length&&(t.push(String.fromCharCode(parseInt(e.substring(r+2,r+6),16))),r+=4);break;case"U":r+9<e.length&&(t.push(String.fromCodePoint(parseInt(e.substring(r+2,r+10),16))),r+=8);break;default:t.push(e[r+1]);break}r+=2}else t.push(e[r]),r++;return t.join("")}class Fc{constructor(t){K(this,"node");K(this,"preliminaryToolCallsByIndex",{});K(this,"toolCallsByIndex",{});this.chat=t,this.node=q("div",{class:"flex flex-col gap-1 items-start"})}getToolCall(t,r,n,i){let a=this.toolCallsByIndex[t];if(!a){let s=this.preliminaryToolCallsByIndex[t];return s||(this.preliminaryToolCallsByIndex[t]=s={id:void 0,name:void 0,args:""}),r&&(s.id=r),n&&(s.name=n),i&&(s.args+=i),s.name?(a=new Rt(this.chat,t,s.name,s.args),this.node.appendChild((this.toolCallsByIndex[t]=a).node),a.functionId=s.id,a.appendArguments(s.args),a):null}return r&&(a.functionId=r),i&&a.appendArguments(i),a}}var mr=(e=>(e.Medium="avatar-md",e.Large="avatar-lg",e.ExtraLarge="avatar-xl",e.ExtraExtraLarge="avatar-xxl",e))(mr||{});function z0({as:e="div",size:t="avatar-lg",id:r,...n},i){const a=q(e,{...n},i);return e==="button"&&!("type"in n)&&(a.type="button"),a.classList.add("avatar"),t&&a.classList.add(t),r&&a.classList.add(...Pc(r)),a}const Ji=[["bg-Land-Green-95","text-Land-Green-30"],["bg-Sunflower-85","text-Sunflower-20"],["bg-Energy-Red-95","text-Energy-Red-45"],["bg-Sea-Blue-Main-28","text-Sky-Blue-95"],["bg-Lavender-90","text-Lavender-50"],["bg-Eucalyptus-85","text-Eucalyptus-20"],["bg-Terracotta-85","text-Terracotta-20"]];function Pc(e){const t=qc(e);return Ji[Math.floor(Math.abs(t%Ji.length))]}function qc(e){let t=0;for(let r=0;r<e.length;r++)t=e.charCodeAt(r)+((t<<5)-t);return t}function Be(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function Hc({size:e="48",...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 48 48"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);let n=Be("path");return n.setAttribute("d","M33.4942 11.8621H39.9088L27.3731 36.1775H20.9585L33.4942 11.8621Z"),r.appendChild(n),n=Be("path"),n.setAttribute("d","M22.4844 27.0056L19.3817 33.1261L8.0625 11.9116H14.3083L22.4844 27.0056Z"),r.appendChild(n),r.classList.add("icon"),r}function Uc(e){const t=q(z0,e,q(Hc,{size:"100%",class:"relative top-[3%] shrink-0"}));return t.classList.add("bg-Dark-Blue-Main-18","text-White"),t}class Qi{constructor(t,r,n,i,a){K(this,"node");K(this,"nameNode");K(this,"contentNode");K(this,"_currentMarkdown");K(this,"_currentMarkdownNode");K(this,"_latestMarkdown");K(this,"_currentToolCallGroup");this.chat=t,this.size=a,this.node=q(xn,null,Gc(r,n,i,a),this.contentNode=q("div",{class:"flex flex-col gap-3"},this.nameNode=q("div",{class:"font-demiBold sr-only"},r))),a===0&&this.nameNode.classList.add("text-[.875rem]")}toDto(){return{role:"assistant",content:this._latestMarkdown}}appendAgentMarkdownMessage(t){this._currentMarkdownNode||(this.reset(),this.contentNode.appendChild(this._currentMarkdownNode=q("div",{class:"mt-1.5 prose prose-neutral max-w-none"})),this.size===0&&this._currentMarkdownNode.classList.add("prose-sm")),this._currentMarkdown?this._currentMarkdown+=t:this._currentMarkdown=t,this._latestMarkdown=this._currentMarkdown,Nr(this._currentMarkdownNode,this._currentMarkdown,this.chat.pyodide,this.chat.mdastExtensions)}getOrAppendToolCallGroup(){return this._currentToolCallGroup||(this.reset(),this.contentNode.appendChild((this._currentToolCallGroup=new Fc(this.chat)).node)),this._currentToolCallGroup}reset(){this._currentMarkdown=null,this._currentMarkdownNode=null,this._currentToolCallGroup=null}done(){this.reset()}}var S0=(e=>(e[e.Small=0]="Small",e[e.Medium=1]="Medium",e))(S0||{});function Gc(e,t,r,n){return n===0?mr.Medium:mr.Large,r?q(z0,{class:"mt-1",size:mr.Medium},q("img",{src:r,class:"w-full h-full"})):q(Uc,{class:"mt-1",size:mr.Medium})}var Ue=(e=>(e.ExtraSmall="16",e.Small="20",e.Medium="24",e.Large="28",e.ExtraLarge="32",e.ExtraExtraLarge="40",e))(Ue||{});function jc({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M443.5 248.5l-7.1-7.1c-4.7-4.7-12.3-4.7-17 0L241 419.9V44c0-6.6-5.4-12-12-12h-10c-6.6 0-12 5.4-12 12v375.9L28.5 241.4c-4.7-4.7-12.3-4.7-17 0l-7.1 7.1c-4.7 4.7-4.7 12.3 0 17l211 211.1c4.7 4.7 12.3 4.7 17 0l211-211.1c4.8-4.8 4.8-12.3.1-17z"),r.appendChild(n),r.classList.add("icon"),r}function es({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 448 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","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"),r.appendChild(n),r.classList.add("icon"),r}var E0=(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))(E0||{});function ts({size:e="80",...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 80 80"),r.setAttribute("fill","none"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t),r.setAttribute("class",(r.getAttribute("class")??"")+" animate-spin");const n=Be("path");n.setAttribute("d","M40 6.15385C21.3073 6.15385 6.15385 21.3073 6.15385 40C6.15385 58.6927 21.3073 73.8462 40 73.8462C58.6927 73.8462 73.8462 58.6927 73.8462 40C73.8462 21.3073 58.6927 6.15385 40 6.15385ZM0 40C0 17.9086 17.9086 0 40 0C62.0914 0 80 17.9086 80 40C80 62.0914 62.0914 80 40 80C17.9086 80 0 62.0914 0 40Z"),n.setAttribute("fill","#99BEFF"),r.appendChild(n);const i=Be("path");return i.setAttribute("d","M36.9229 3.07692C36.9229 1.37759 38.3004 0 39.9998 0C45.2526 0 50.4541 1.03463 55.3071 3.04482C60.1601 5.05501 64.5697 8.00138 68.284 11.7157C71.9984 15.4301 74.9448 19.8396 76.955 24.6927C78.9651 29.5457 79.9998 34.7471 79.9998 40C79.9998 41.6993 78.6222 43.0769 76.9228 43.0769C75.2235 43.0769 73.8459 41.6993 73.8459 40C73.8459 35.5553 72.9705 31.154 71.2695 27.0476C69.5686 22.9412 67.0755 19.2101 63.9326 16.0672C60.7897 12.9242 57.0585 10.4312 52.9521 8.73023C48.8457 7.0293 44.4445 6.15385 39.9998 6.15385C38.3004 6.15385 36.9229 4.77626 36.9229 3.07692Z"),i.setAttribute("fill","#003591"),r.appendChild(i),r}function rs({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 464c-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216 0 118.7-96.1 216-216 216zm94.8-285.3L281.5 256l69.3 69.3c4.7 4.7 4.7 12.3 0 17l-8.5 8.5c-4.7 4.7-12.3 4.7-17 0L256 281.5l-69.3 69.3c-4.7 4.7-12.3 4.7-17 0l-8.5-8.5c-4.7-4.7-4.7-12.3 0-17l69.3-69.3-69.3-69.3c-4.7-4.7-4.7-12.3 0-17l8.5-8.5c4.7-4.7 12.3-4.7 17 0l69.3 69.3 69.3-69.3c4.7-4.7 12.3-4.7 17 0l8.5 8.5c4.6 4.7 4.6 12.3 0 17z"),r.appendChild(n),r.classList.add("icon"),r}function ns({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","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"),r.appendChild(n),r.classList.add("icon"),r}function $c({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 32 32"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","M14.75 21.75C15.0833 21.4167 15.5 21.25 16 21.25C16.5 21.25 16.9167 21.4167 17.25 21.75C17.5833 22.0833 17.75 22.5 17.75 23C17.75 23.5 17.5833 23.9167 17.25 24.25C16.9167 24.5833 16.5 24.75 16 24.75C15.5 24.75 15.0833 24.5833 14.75 24.25C14.4167 23.9167 14.25 23.5 14.25 23C14.25 22.5 14.4167 22.0833 14.75 21.75ZM16.5 19.75H15.5C15.2917 19.75 15.1042 19.6875 14.9375 19.5625C14.8125 19.3958 14.75 19.2083 14.75 19C14.75 18 15 17.1667 15.5 16.5C16 15.7917 16.5417 15.2917 17.125 15C17.75 14.7083 18.3125 14.3333 18.8125 13.875C19.3125 13.4167 19.5625 12.875 19.5625 12.25C19.5625 11.8333 19.4375 11.4375 19.1875 11.0625C18.9375 10.6875 18.5417 10.375 18 10.125C17.4583 9.875 16.7917 9.75 16 9.75C14.4583 9.75 13.2083 10.3542 12.25 11.5625C12 11.9375 11.6667 11.9792 11.25 11.6875L10.4375 11.125C10.0208 10.8333 9.95833 10.4792 10.25 10.0625C11.7083 8.1875 13.625 7.25 16 7.25C17.7083 7.25 19.1458 7.70833 20.3125 8.625C21.4792 9.54167 22.0625 10.75 22.0625 12.25C22.0625 13.2083 21.8125 14.0417 21.3125 14.75C20.8125 15.4167 20.25 15.8958 19.625 16.1875C19.0417 16.4792 18.5 16.875 18 17.375C17.5 17.8333 17.25 18.375 17.25 19C17.25 19.2083 17.1667 19.3958 17 19.5625C16.875 19.6875 16.7083 19.75 16.5 19.75ZM16 2.5C12.25 2.5 9.0625 3.83333 6.4375 6.5C3.8125 9.125 2.5 12.2917 2.5 16C2.5 19.75 3.8125 22.9375 6.4375 25.5625C9.10417 28.1875 12.2917 29.5 16 29.5C19.75 29.5 22.9375 28.1875 25.5625 25.5625C28.1875 22.8958 29.5 19.7083 29.5 16C29.5 12.25 28.1667 9.0625 25.5 6.4375C22.875 3.8125 19.7083 2.5 16 2.5ZM5 5.0625C8.04167 2.02083 11.7083 0.5 16 0.5C20.2917 0.5 23.9375 2.02083 26.9375 5.0625C29.9792 8.0625 31.5 11.7083 31.5 16C31.5 20.2917 29.9792 23.9583 26.9375 27C23.9375 30 20.2917 31.5 16 31.5C11.7083 31.5 8.04167 30 5 27C2 23.9583 0.5 20.2917 0.5 16C0.5 11.7083 2 8.0625 5 5.0625Z"),r.appendChild(n),r.classList.add("icon"),r}class Vc{constructor(t,r){K(this,"node");K(this,"_icon");K(this,"_iconNode");K(this,"_markdown");K(this,"_markdownNode");this._icon=t,this._markdown=r,this.node=q(xn,null,this._iconNode=as(t),this._markdownNode=q("span",null)),Nr(this._markdownNode,this._markdown,null,[])}get icon(){return this._icon}set icon(t){t!==this._icon&&(this._iconNode.replaceWith(this._iconNode=as(t)),this._icon=t)}get markdown(){return this._markdown}set markdown(t){t!==this._markdown&&(Nr(this._markdownNode,this._markdown=t,null,[]),this._markdown=t)}status(t,r,n){this.icon=r,this.markdown=n}}function as(e){switch(e){case ut.Progress:return q(ts,{size:E0.Small,class:"mx-auto"});case ut.Complete:return q(es,{size:Ue.Medium,class:"text-Land-Green-30 mx-auto"});case ut.Info:return q(ns,{size:Ue.Medium,class:"text-Sea-Blue-Main-28 mx-auto"});case ut.Warning:return q(ns,{size:Ue.Medium,class:"text-Terracotta-Main-35 mx-auto"});case ut.Error:return q(rs,{size:Ue.Medium,class:"text-Energy-Red-45 mx-auto"})}return e!=null&&e.startsWith("https://")?q("img",{src:e,alt:"",class:"w-6 h-6 mx-auto"}):(e&&e!==ut.Undetermined&&console.warn(`Unknown task item icon '${e}'. Defaulting to undetermined.`),q($c,{size:Ue.Medium,class:"text-Sandstone-Main-79 mx-auto"}))}class Rt{constructor(t,r,n,i,a=!0){K(this,"node");K(this,"functionId");K(this,"_titleNode");K(this,"_titleStatusIconNode");K(this,"_titleTextNode");K(this,"_bodyWrapperNode");K(this,"_bodyNode");K(this,"_taskItemsById",{});K(this,"_expanded");K(this,"_highlightCode");K(this,"_pythonStdouterrContainerNode");K(this,"_pythonStdouterrNode");K(this,"_agentName");K(this,"_agentBackgroundColor");K(this,"_agentIcon");K(this,"_gridLayoutNode");K(this,"_agentMessage");if(this.chat=t,this.functionIndex=r,this.functionName=n,this.functionAccumulatedArguments=i,this._expanded=a,this.node=q("div",{classList:["w-full","overflow-hidden","text-[.875rem]","transition-all","fluent-depth-0","hover:fluent-depth-8","active:fluent-depth-4","aria-expanded:fluent-depth-16","active:aria-expanded:fluent-depth-8"],"aria-expanded":a},this._titleNode=q("div",{classList:["group","px-3","py-2","flex","gap-3","items-center","cursor-pointer","active:select-none","transition-colors","bg-transparent","hover:bg-Sky-Blue-90","active:bg-Sky-Blue-85","data-[expanded=true]:bg-Sky-Blue-85","data-[expanded=true]:hover:bg-Sky-Blue-80","data-[expanded=true]:active:bg-Sky-Blue-75","data-[status=error]:hover:bg-Energy-Red-90","data-[status=error]:active:bg-Energy-Red-85","data-[status=error]:data-[expanded=true]:bg-Energy-Red-85","data-[status=error]:data-[expanded=true]:hover:bg-Energy-Red-80","data-[status=error]:data-[expanded=true]:active:bg-Energy-Red-75"],"data-expanded":a,role:"button",onclick:()=>this.expanded=!this.expanded},this._titleStatusIconNode=q(ts,{size:E0.Small,class:"flex-shrink-0"}),this._titleTextNode=q("p",{class:"font-medium relative top-[.05em] group-data-[status=error]:text-Energy-Red-45"},"Gather information"),q(jc,{size:Ue.Small,classList:["flex-shrink-0","ml-auto","text-Sea-Blue-Main-28","group-data-[status=error]:text-Energy-Red-45","transition-all","group-data-[expanded=true]:-rotate-180","duration-300","opacity-50","group-hover:opacity-100","group-data-[expanded=true]:opacity-100"]})),this._bodyWrapperNode=q("div",{class:"grid transition-[grid-template-rows] duration-300",gridTemplateRows:a?"1fr":"0fr","data-expanded":a},q("div",{class:"overflow-hidden"},this._bodyNode=q("div",{class:"transition-colors bg-Sky-Blue-95 data-[status=error]:bg-Energy-Red-95"})))),n==="python"){this.invalidatePythonArguments();const s=this.appendArguments;this.appendArguments=o=>{s.call(this,o),this.invalidatePythonArguments()}}}get expanded(){return this._expanded}set expanded(t){t!==this._expanded&&(this._bodyWrapperNode.style.gridTemplateRows=t?"1fr":"0fr",this.node.setAttribute("aria-expanded",String(t)),this._titleNode.setAttribute("data-expanded",String(t)),this._bodyWrapperNode.setAttribute("data-expanded",String(t)),this._expanded=t)}appendArguments(t){this.functionAccumulatedArguments?this.functionAccumulatedArguments+=t:this.functionAccumulatedArguments=t}invalidatePythonArguments(){this._highlightCode?this._highlightCode.updateCode("python",this.extractCodeFromAccumulatedArguments()):(this.chat.initializePyodideAsync(),this._gridLayoutNode=null,this._agentMessage=null,this._highlightCode=new ba("python",this.extractCodeFromAccumulatedArguments()),this._highlightCode.node.classList.add("p-3","bg-[#262626]","text-[#e5e5e5]","overflow-x-auto"),this._bodyNode.appendChild(this._highlightCode.node))}extractCodeFromAccumulatedArguments(){let t=this.functionAccumulatedArguments;if(!t.startsWith("{"))return t;var r=t.indexOf("Code:");if(r!=-1&&t.substring(0,r).trim()=="{"&&(t='{"Code":'+t.substring(r+5)),r=t.indexOf('"""'),r!=-1){var n=t.lastIndexOf('"""');if(r<n&&t.substring(n+3).trim()=="}"){var i=Lc(t.substring(r+3,n-(r+3))),a=t.substring(0,r)+JSON.stringify(i)+t.substring(n+3);t=a}}try{var s=Ic(t)}catch{return console.warn("Error parsing Python code arguments provided as JSON.",this.functionAccumulatedArguments),""}return(s==null?void 0:s.Code)||""}async python(t,r){try{await this.chat.initializePyodideAsync();var n="",i="";this.chat.pyodide.setStdout({batched:l=>{n+=l,this.appendPythonStdouterr(l,!1)}}),this.chat.pyodide.setStderr({batched:l=>{i+=l,this.appendPythonStdouterr(l,!0)}}),this._pythonStdouterrContainerNode=null;var a=await this.chat.runPythonCodeAsync(r),s=String(a);if(1e3<=s.length)throw new Error("The Python code executed successfully, but the result is too long to be suitable as an input for an LLM. Focus on returning summary statistics or specific values instead of large datasets, like counts instead of entire lists. If operations produce large structures (e.g., arrays, maps), process them within Python and return only the relevant result. Perform calculations, filtering, or summarization within Python to avoid transferring large data back to the LLM.")}catch(l){console.error(l);const h=String(l);this.appendPythonResultRow(h,!0);const d=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationError,operationId:t,operationResult:{error:h,stdout:n,stderr:i}})});if(!d.ok)throw new Error(`Server returned ${d.status} ${d.statusText}`);return}this.appendPythonResultRow(s,!1);const o=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationResult,operationId:t,operationResult:{resultAsString:s,stdout:n,stderr:i}})});if(!o.ok)throw new Error(`Server returned ${o.status} ${o.statusText}`)}appendPythonResultRow(t,r){t!=null&&t.trim()||(t="<EMPTY>");let n;const i=q("div",{class:"p-3 bg-[#333333] text-[#e5e5e5] overflow-x-auto"},q("p",{class:"font-medium mb-1"},"RESULT OF COMPUTATION"),n=q("pre",null));this._bodyNode.appendChild(i),n.classList.toggle("text-Energy-Red-45",r),n.textContent=t}appendPythonStdouterr(t,r){this._pythonStdouterrContainerNode||(this._pythonStdouterrContainerNode=q("div",{class:"p-3 bg-[#333333] text-[#e5e5e5] overflow-x-auto"},q("p",{class:"font-medium mb-1"},"STDOUT / STDERR"),this._pythonStdouterrNode=q("pre",null)),this._bodyNode.appendChild(this._pythonStdouterrContainerNode)),r?this._pythonStdouterrNode.appendChild(q("span",{class:"text-Energy-Red-45"},t)):this._pythonStdouterrNode.appendChild(document.createTextNode(t))}async invokeFrontEnd(t,r,n){try{const s=this.chat.frontEndFunctions[r];if(!s)throw new Error(`Front-end 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 through a dialog, 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.`);let o=s(...JSON.parse(n));o instanceof Promise&&(o=await o);var i=JSON.stringify(o)}catch(s){console.error(s);const o=s&&String(s),l=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationError,operationId:t,operationResult:{error:o}})});if(!l.ok)throw new Error(`Server returned ${l.status} ${l.statusText}`);return}const a=await this.chat.fetch(this.chat.url,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.OperationResult,operationId:t,operationResult:{resultAsJson:i}})});if(!a.ok)throw new Error(`Server returned ${a.status} ${a.statusText}`)}initAgent(t,r,n){this._agentName=t,this._agentBackgroundColor=r,this._agentIcon=n}appendAgentMarkdownMessage(t){this.getOrAppendAgentMessage().appendAgentMarkdownMessage(t)}getOrAppendToolCallGroup(){return this.getOrAppendAgentMessage().getOrAppendToolCallGroup()}getOrAppendGridLayoutNode(t=!0){return this._gridLayoutNode||(this._highlightCode=null,this._bodyNode.appendChild(this._gridLayoutNode=q("div",{class:"p-3 pr-4 grid grid-cols-[32px,1fr] gap-3"}))),this._gridLayoutNode}getOrAppendAgentMessage(){return this._agentMessage||this.getOrAppendGridLayoutNode().appendChild((this._agentMessage=new Qi(this.chat,this._agentName,this._agentBackgroundColor,this._agentIcon,S0.Small)).node),this._agentMessage}reset(){this._agentMessage?this._agentMessage.reset():this._highlightCode=null}log(t,r,n){}setTaskItemStatus(t,r,n,i){let a;if(!(a=this._taskItemsById[t])){this._taskItemsById[t]=a=new Vc(n,i),this.getOrAppendGridLayoutNode(!1).appendChild(a.node);return}a.status(r,n,i)}setTitle(t){Nr(this._titleTextNode,t,null,[])}done(){if(this.node.getAttribute("data-status")==="error")return;this.node.setAttribute("data-status","success");const t=this._titleStatusIconNode;t.parentNode.replaceChild(this._titleStatusIconNode=q(es,{size:Ue.Medium,class:"text-Land-Green-30 flex-shrink-0"}),t);for(const r in this._taskItemsById){const n=this._taskItemsById[r];n.icon===ut.Progress&&(n.icon=ut.Undetermined)}}error(t){this.node.setAttribute("data-status","error"),this._titleNode.setAttribute("data-status","error"),this._bodyNode.setAttribute("data-status","error");const r=this._titleStatusIconNode;r.parentNode.replaceChild(this._titleStatusIconNode=q(rs,{size:Ue.Medium,class:"text-Energy-Red-45 flex-shrink-0"}),r);for(const n in this._taskItemsById){const i=this._taskItemsById[n];i.icon===ut.Progress&&(i.icon=ut.Undetermined)}this.appendError(t)}appendError(t){t!=null&&t.trim()||(t="<EMPTY>");let r;const n=q("div",{class:"p-3 overflow-x-auto text-Energy-Red-45"},q("p",{class:"font-medium mb-1"},"ERROR"),r=q("pre",null));this._bodyNode.appendChild(n),r.textContent=t}}class Wc{constructor(){K(this,"parentsByFunctionId",new Map)}async readMessagesAsync(t,r){try{for(;await t.waitToReadAsync();)for(const n of t.read()){let i;if(n.type===ze.Init&&!n.parentFunctionId&&(i=r(n.agentManifestName,n.agentManifestBackgroundColor,n.agentManifestIcon),this.parentsByFunctionId.set(null,i)),i=this.parentsByFunctionId.get(n.parentFunctionId),i)switch(n.type){case ze.Init:i instanceof Rt&&i.initAgent(n.agentManifestName,n.agentManifestBackgroundColor,n.agentManifestIcon);break;case ze.AppendMessage:i.appendAgentMarkdownMessage(n.appendMessageMarkdown);break;case ze.ToolCallUpdate:{const s=i.getOrAppendToolCallGroup().getToolCall(n.toolCallUpdateIndex,n.toolCallFunctionId,n.toolCallUpdateName,n.toolCallUpdateArguments);s&&n.toolCallFunctionId&&this.parentsByFunctionId.set(n.toolCallFunctionId,s);break}case ze.ToolCallTaskItemStatus:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.setTaskItemStatus(n.toolCallTaskItemId,n.toolCallTaskItemProgress,n.toolCallTaskItemIcon,n.toolCallTaskItemMarkdown);break}case ze.ToolCallTitle:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.setTitle(n.toolCallMarkdownTitle);break}case ze.ToolCallLog:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.log(n.toolCallLogLevel,n.toolCallTime,n.toolCallTaskItemMarkdown);break}case ze.ToolCallPython:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.python(n.toolCallOperationId,n.toolCallCode);break}case ze.Loop:i.reset();break;case ze.ToolCallDone:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.done();break}case ze.ToolCallError:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.error(n.toolCallError);break}case ze.InvokeFrontEnd:{const a=this.parentsByFunctionId.get(n.toolCallFunctionId);a instanceof Rt&&a.invokeFrontEnd(n.toolCallOperationId,n.toolCallFrontendFunctionName,n.toolCallFrontendArgumentsAsJson);break}}else console.error("No parent found for function id",n.parentFunctionId)}}finally{for(const n of this.parentsByFunctionId.values())n.done()}}}function Xc(e){const r=e.trim().replace(/[^\w\s]|_/g,"").replace(/\s+/g," ").toUpperCase().split(" ");if(r.length===1&&r[0]==="")return"?";let n=r[0][0];return r.length>1&&(n+=r[1][0]),n}class Kc{constructor(t,r,n,i,a,s){K(this,"node");K(this,"userId");K(this,"givenName");K(this,"surname");K(this,"displayName");K(this,"avatarLetters");K(this,"_message");this.node=q(xn,null,q(z0,{class:"mt-1",id:t,size:mr.Medium,title:i},q("span",{marginTop:"-.1em"},a)),q("div",{class:"mt-1.5"},q("div",{class:"font-demiBold sr-only"},i),q("pre",{fontFamily:"inherit",fontWeight:"inherit",lineHeight:"inherit"},s))),this._message=s}toDto(){return{role:"user",content:this._message}}}class is extends Error{constructor(t){super(`You have reached our limit of ${t.maxMessages} messages per ${t.maxMessagesPerHours} hours. Please try again later.`),this.limits=t}}class Yc{constructor(){K(this,"_queue",[]);K(this,"_waitToReadDeferred");K(this,"_isCompleted",!1)}resolveWaitToReadDeferred(t){const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.resolve(t))}complete(){this._isCompleted||(this._isCompleted=!0,this.resolveWaitToReadDeferred(!!this._queue.length))}completeWithError(t){if(this._isCompleted)return;this._isCompleted=!0;const r=this._waitToReadDeferred;r&&(this._waitToReadDeferred=null,r.cancellationToken.removeListener(r.cancellationTokenListener),r.reject(t))}tryWrite(t){return this._isCompleted?!1:(this._queue.push(t),this.resolveWaitToReadDeferred(!0),!0)}waitToReadAsync(t){if(t.isCancellationRequested)return Promise.reject(new qr);if(this._waitToReadDeferred)return Promise.reject(new Error("Multiple readers are not supported."));if(this._queue.length)return Promise.resolve(!0);if(this._isCompleted)return Promise.resolve(!1);let r,n,i=new Promise((o,l)=>{r=o,n=l}),a,s=()=>{this._waitToReadDeferred===a&&(this._waitToReadDeferred=null),n(new qr)};return t.addListener(s),this._waitToReadDeferred={resolve:r,reject:n,cancellationToken:t,cancellationTokenListener:s},i}read(){const t=this._queue;return this._queue=[],t}}class Zc extends Yc{constructor(){super(...arguments);K(this,"_reader");K(this,"_buffer",new Uint8Array(0));K(this,"_bufferOffset",0);K(this,"_abortController");K(this,"_cancellationToken");K(this,"_textDecoder",new TextDecoder)}async startAsync(r,n,i){this._abortController=new AbortController,(this._cancellationToken=new wr).addListener(()=>this._abortController.abort());const a=await r(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({type:ir.Messages,messages:i}),signal:this._abortController.signal});if(a.status===429){const s=await a.json();throw new is(s)}this._reader=a.body.getReader(),this.readMessagesAsync()}stop(){this._cancellationToken.cancel()}async readBytesAsync(r){if(this._buffer.length-this._bufferOffset>=r){const i=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,i}for(;this._buffer.length-this._bufferOffset<r;){const{done:i,value:a}=await this._reader.read();if(i){const s=this._buffer.subarray(this._bufferOffset);return this._buffer=new Uint8Array(0),this._bufferOffset=0,s}this._buffer=Jc(this._buffer,a,this._bufferOffset),this._bufferOffset=0}const n=this._buffer.subarray(this._bufferOffset,this._bufferOffset+r);return this._bufferOffset+=r,n}async readLittleEndianInt32Async(){const r=await this.readBytesAsync(4),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getInt32(0,!0)}async readLittleEndianDoubleAsync(){const r=await this.readBytesAsync(8),n=r.buffer.slice(r.byteOffset,r.byteOffset+r.byteLength);return new DataView(n).getFloat64(0,!0)}async readUtf8StringAsync(){const r=await this.readLittleEndianInt32Async();if(r===-1)return null;const n=await this.readBytesAsync(r);return this._textDecoder.decode(n)}async readMessageAsync(){const r=await this.readBytesAsync(1);if(r.length==0)return null;const n=r[0];switch(n){case ze.Init:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,agentManifestName:a,agentManifestBackgroundColor:s,agentManifestIcon:o}}case ze.Done:{const i=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i}}case ze.Error:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,errorMarkdown:a}}case ze.AppendMessage:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,appendMessageMarkdown:a}}case ze.ToolCallUpdate:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readUtf8StringAsync(),l=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallUpdateIndex:s,toolCallUpdateName:o,toolCallUpdateArguments:l}}case ze.Loop:{const i=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i}}case ze.ToolCallTaskItemStatus:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readLittleEndianInt32Async(),o=await this.readLittleEndianDoubleAsync(),l=await this.readUtf8StringAsync(),h=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallTaskItemId:s,toolCallTaskItemProgress:o,toolCallTaskItemIcon:l,toolCallTaskItemMarkdown:h}}case ze.ToolCallTitle:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallMarkdownTitle:s}}case ze.ToolCallLog:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readBytesAsync(1);if(s.length==0)return null;const o=s[0],l=await this.readLittleEndianDoubleAsync(),h=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallLogLevel:o,toolCallTime:l,toolCallTaskItemMarkdown:h}}case ze.ToolCallPython:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallOperationId:s,toolCallCode:o}}case ze.ToolCallDone:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a}}case ze.ToolCallError:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallError:s}}case ze.InvokeFrontEnd:{const i=await this.readUtf8StringAsync(),a=await this.readUtf8StringAsync(),s=await this.readUtf8StringAsync(),o=await this.readUtf8StringAsync(),l=await this.readUtf8StringAsync();return{type:n,parentFunctionId:i,toolCallFunctionId:a,toolCallOperationId:s,toolCallFrontendFunctionName:o,toolCallFrontendArgumentsAsJson:l}}default:throw new Error(`Unexpected message type: ${n}`)}}async readMessagesAsync(){try{for(;;){const r=await this.readMessageAsync();if(!r){this.complete();return}this.tryWrite(r)}}catch(r){this.completeWithError(r)}}waitToReadAsync(){return super.waitToReadAsync(this._cancellationToken)}}function Jc(e,t,r){r>0&&e.copyWithin(0,r);let n=new Uint8Array(e.length-r+t.length);return n.set(e.subarray(0,e.length-r),0),n.set(t,e.length-r),n}function Qc({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 512 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","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"),r.appendChild(n),r.classList.add("icon"),r}function eh(e,t){const r=q("div",{gridTemplateColumns:"24px 1fr",...e},q(Qc,null),q("div",null,t));return r.classList.add("fluent-depth-16","bg-Energy-Red-95","text-Energy-Red-45","p-4","grid","gap-4"),r}var ss=(e=>(e.Primary="btn-primary",e.Secondary="btn-secondary",e.Tertiary="btn-tertiary",e.CTA="btn-cta",e.Destructive="btn-destructive",e))(ss||{});function os({as:e="button",type:t,variant:r="btn-primary",size:n="btn-lg",...i},a){const s=q(e,{...i},a);return e==="button"&&(s.type=t||"button"),s.classList.add("btn"),r&&s.classList.add(r),n&&s.classList.add(n),s}function th({size:e=Ue.Medium,...t}){const r=Be("svg");r.setAttribute("viewBox","0 0 576 512"),r.setAttribute("fill","currentColor"),r.setAttribute("width",e),r.setAttribute("height",e),qe(r,t);const n=Be("path");return n.setAttribute("d","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"),r.appendChild(n),r.classList.add("icon"),r}function hn(e,t,r,n){return n?new Promise((i,a)=>{const s=e.animate(t,r),o=()=>{s.cancel()};n.addListener(o),s.onfinish=()=>{n.removeListener(o),i()},s.oncancel=()=>{a(new qr)}}):new Promise(i=>{const a=e.animate(t,r);a.onfinish=i})}function rh(){let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),resolve:e,reject:t}}function nh({parentNode:e,createModalElement:t,animateModalElement:r=!0,onDismiss:n}){const i=document.activeElement,a=rh(),s=new wr,o=a.promise.finally(()=>g()),l=t(a.resolve,a.reject);l.style.pointerEvents="auto",r&&(l.style.opacity="0",l.style.transform="translateY(-20px)");let h;const d=q("div",{class:"relative","aria-labelledby":"modal-title",role:"dialog","aria-modal":"true",zIndex:"1000"},h=q("div",{class:"fixed inset-0 bg-Sea-Blue-5",opacity:"0"}),q("div",{class:"fixed inset-0 z-10 w-screen overflow-y-auto pointer-events-none"},q("div",{class:"flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0"},l)));n&&h.addEventListener("click",()=>n(a.resolve,a.reject)),e.appendChild(d);async function p(){try{const z=hn(h,[{opacity:".5"}],{duration:300,easing:"ease-out",fill:"forwards"},s);if(r)var m=hn(l,[{transform:"translateY(0)",opacity:"1"}],{duration:300,easing:"ease-out",fill:"forwards"},s);await z,m&&await m}catch(z){if(!s.isCancellationRequested)throw z}}p();async function g(){s.cancel();const m=hn(h,[{opacity:"0"}],{duration:200,easing:"ease-in",fill:"forwards"});if(r)var z=hn(l,[{transform:"translateY(-20px)",opacity:"0"}],{duration:200,easing:"ease-in",fill:"forwards"});await m,z&&await z,d.remove(),i==null||i.focus()}return o}function ah(e,t,r){return nh({parentNode:r,onDismiss:(n,i)=>n(!1),createModalElement:(n,i)=>{let a;const s=q("div",{class:"relative transform overflow-hidden bg-white text-left elevation-4 sm:my-8 sm:w-full sm:max-w-lg"},q("div",{class:"bg-White p-6 pb-5"},q("div",{class:"sm:flex sm:items-start"},q(th,{class:"text-Terracotta-30 mx-auto flex-shrink-0 sm:mx-0","aria-hidden":"true"}),q("div",{class:"mt-3 text-center sm:ml-4 sm:mt-0 sm:text-left"},q("h4",{id:"modal-title"},e),a=q("div",{class:"mt-2 prose prose-neutral"})))),q("div",{class:"bg-White p-6 pt-5 sm:flex sm:flex-row-reverse"},q(os,{class:"w-full sm:ml-3 sm:w-auto",onclick:()=>n(!0)},"Yes, proceed"),q(os,{variant:ss.Secondary,class:"mt-3 w-full sm:mt-0 sm:w-auto",onclick:()=>n(!1)},"No, cancel")));return Nr(a,t,null,[]),s}})}var ih=Object.create,A0=Object.defineProperty,sh=Object.getOwnPropertyDescriptor,oh=Object.getOwnPropertyNames,lh=Object.getPrototypeOf,uh=Object.prototype.hasOwnProperty,pe=(e,t)=>A0(e,"name",{value:t,configurable:!0}),ls=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+e+'" is not supported')}),us=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ch=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of oh(t))!uh.call(e,i)&&i!==r&&A0(e,i,{get:()=>t[i],enumerable:!(n=sh(t,i))||n.enumerable});return e},hh=(e,t,r)=>(r=e!=null?ih(lh(e)):{},ch(t||!e||!e.__esModule?A0(r,"default",{value:e,enumerable:!0}):r,e)),dh=us((e,t)=>{(function(r,n){typeof define=="function"&&define.amd?define("stackframe",[],n):typeof e=="object"?t.exports=n():r.StackFrame=n()})(e,function(){function r(k){return!isNaN(parseFloat(k))&&isFinite(k)}pe(r,"_isNumber");function n(k){return k.charAt(0).toUpperCase()+k.substring(1)}pe(n,"_capitalize");function i(k){return function(){return this[k]}}pe(i,"_getter");var a=["isConstructor","isEval","isNative","isToplevel"],s=["columnNumber","lineNumber"],o=["fileName","functionName","source"],l=["args"],h=["evalOrigin"],d=a.concat(s,o,l,h);function p(k){if(k)for(var N=0;N<d.length;N++)k[d[N]]!==void 0&&this["set"+n(d[N])](k[d[N]])}pe(p,"StackFrame"),p.prototype={getArgs:function(){return this.args},setArgs:function(k){if(Object.prototype.toString.call(k)!=="[object Array]")throw new TypeError("Args must be an Array");this.args=k},getEvalOrigin:function(){return this.evalOrigin},setEvalOrigin:function(k){if(k instanceof p)this.evalOrigin=k;else if(k instanceof Object)this.evalOrigin=new p(k);else throw new TypeError("Eval Origin must be an Object or StackFrame")},toString:function(){var k=this.getFileName()||"",N=this.getLineNumber()||"",A=this.getColumnNumber()||"",C=this.getFunctionName()||"";return this.getIsEval()?k?"[eval] ("+k+":"+N+":"+A+")":"[eval]:"+N+":"+A:C?C+" ("+k+":"+N+":"+A+")":k+":"+N+":"+A}},p.fromString=pe(function(k){var N=k.indexOf("("),A=k.lastIndexOf(")"),C=k.substring(0,N),R=k.substring(N+1,A).split(","),W=k.substring(A+1);if(W.indexOf("@")===0)var H=/@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(W,""),T=H[1],X=H[2],ee=H[3];return new p({functionName:C,args:R||void 0,fileName:T,lineNumber:X||void 0,columnNumber:ee||void 0})},"StackFrame$$fromString");for(var g=0;g<a.length;g++)p.prototype["get"+n(a[g])]=i(a[g]),p.prototype["set"+n(a[g])]=function(k){return function(N){this[k]=!!N}}(a[g]);for(var m=0;m<s.length;m++)p.prototype["get"+n(s[m])]=i(s[m]),p.prototype["set"+n(s[m])]=function(k){return function(N){if(!r(N))throw new TypeError(k+" must be a Number");this[k]=Number(N)}}(s[m]);for(var z=0;z<o.length;z++)p.prototype["get"+n(o[z])]=i(o[z]),p.prototype["set"+n(o[z])]=function(k){return function(N){this[k]=String(N)}}(o[z]);return p})}),mh=us((e,t)=>{(function(r,n){typeof define=="function"&&define.amd?define("error-stack-parser",["stackframe"],n):typeof e=="object"?t.exports=n(dh()):r.ErrorStackParser=n(r.StackFrame)})(e,pe(function(r){var n=/(^|@)\S+:\d+/,i=/^\s*at .*(\S+:\d+|\(native\))/m,a=/^(eval@)?(\[native code])?$/;return{parse:pe(function(s){if(typeof s.stacktrace<"u"||typeof s["opera#sourceloc"]<"u")return this.parseOpera(s);if(s.stack&&s.stack.match(i))return this.parseV8OrIE(s);if(s.stack)return this.parseFFOrSafari(s);throw new Error("Cannot parse given Error object")},"ErrorStackParser$$parse"),extractLocation:pe(function(s){if(s.indexOf(":")===-1)return[s];var o=/(.+?)(?::(\d+))?(?::(\d+))?$/,l=o.exec(s.replace(/[()]/g,""));return[l[1],l[2]||void 0,l[3]||void 0]},"ErrorStackParser$$extractLocation"),parseV8OrIE:pe(function(s){var o=s.stack.split(`
266
266
  `).filter(function(l){return!!l.match(i)},this);return o.map(function(l){l.indexOf("(eval ")>-1&&(l=l.replace(/eval code/g,"eval").replace(/(\(eval at [^()]*)|(,.*$)/g,""));var h=l.replace(/^\s+/,"").replace(/\(eval code/g,"(").replace(/^.*?\s+/,""),d=h.match(/ (\(.+\)$)/);h=d?h.replace(d[0],""):h;var p=this.extractLocation(d?d[1]:h),g=d&&h||void 0,m=["eval","<anonymous>"].indexOf(p[0])>-1?void 0:p[0];return new r({functionName:g,fileName:m,lineNumber:p[1],columnNumber:p[2],source:l})},this)},"ErrorStackParser$$parseV8OrIE"),parseFFOrSafari:pe(function(s){var o=s.stack.split(`
267
267
  `).filter(function(l){return!l.match(a)},this);return o.map(function(l){if(l.indexOf(" > eval")>-1&&(l=l.replace(/ line (\d+)(?: > eval line \d+)* > eval:\d+:\d+/g,":$1")),l.indexOf("@")===-1&&l.indexOf(":")===-1)return new r({functionName:l});var h=/((.*".+"[^@]*)?[^@]*)(?:@)/,d=l.match(h),p=d&&d[1]?d[1]:void 0,g=this.extractLocation(l.replace(h,""));return new r({functionName:p,fileName:g[0],lineNumber:g[1],columnNumber:g[2],source:l})},this)},"ErrorStackParser$$parseFFOrSafari"),parseOpera:pe(function(s){return!s.stacktrace||s.message.indexOf(`
268
268
  `)>-1&&s.message.split(`
@@ -271,7 +271,7 @@ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
271
271
  `),h=[],d=2,p=l.length;d<p;d+=2){var g=o.exec(l[d]);g&&h.push(new r({fileName:g[2],lineNumber:g[1],source:l[d]}))}return h},"ErrorStackParser$$parseOpera9"),parseOpera10:pe(function(s){for(var o=/Line (\d+).*script (?:in )?(\S+)(?:: In function (\S+))?$/i,l=s.stacktrace.split(`
272
272
  `),h=[],d=0,p=l.length;d<p;d+=2){var g=o.exec(l[d]);g&&h.push(new r({functionName:g[3]||void 0,fileName:g[2],lineNumber:g[1],source:l[d]}))}return h},"ErrorStackParser$$parseOpera10"),parseOpera11:pe(function(s){var o=s.stack.split(`
273
273
  `).filter(function(l){return!!l.match(n)&&!l.match(/^Error created at/)},this);return o.map(function(l){var h=l.split("@"),d=this.extractLocation(h.pop()),p=h.shift()||"",g=p.replace(/<anonymous function(: (\w+))?>/,"$2").replace(/\([^)]*\)/g,"")||void 0,m;p.match(/\(([^)]*)\)/)&&(m=p.replace(/^[^(]+\(([^)]*)\)$/,"$1"));var z=m===void 0||m==="[arguments not available]"?void 0:m.split(",");return new r({functionName:g,args:z,fileName:d[0],lineNumber:d[1],columnNumber:d[2],source:l})},this)},"ErrorStackParser$$parseOpera11")}},"ErrorStackParser"))}),ph=hh(mh()),Ot=typeof process=="object"&&typeof process.versions=="object"&&typeof process.versions.node=="string"&&typeof process.browser>"u",cs=Ot&&typeof module<"u"&&typeof module.exports<"u"&&typeof ls<"u"&&typeof __dirname<"u",fh=Ot&&!cs,gh=typeof Deno<"u",hs=!Ot&&!gh,bh=hs&&typeof window<"u"&&typeof document<"u"&&typeof document.createElement<"u"&&typeof sessionStorage<"u",vh=hs&&typeof importScripts<"u"&&typeof self<"u",ds,dn,T0,ms,M0,yh=`"fetch" is not defined, maybe you're using node < 18? From Pyodide >= 0.25.0, node >= 18 is required. Older versions of Node.js may work, but it is not guaranteed or supported. Falling back to "node-fetch".`;async function C0(){if(!Ot||(ds=(await Promise.resolve().then(()=>zt)).default,M0=await Promise.resolve().then(()=>zt),globalThis.fetch?dn=fetch:(console.warn(yh),dn=(await Promise.resolve().then(()=>Bh)).default),ms=(await Promise.resolve().then(()=>zt)).default,T0=await Promise.resolve().then(()=>zt),_0=T0.sep,typeof ls<"u"))return;let e=await Promise.resolve().then(()=>zt),t=await Promise.resolve().then(()=>zt),r=await Promise.resolve().then(()=>zt),n=await Promise.resolve().then(()=>zt),i={fs:e,crypto:t,ws:r,child_process:n};globalThis.require=function(a){return i[a]}}pe(C0,"initNodeModules");function ps(e,t){return T0.resolve(t||".",e)}pe(ps,"node_resolvePath");function fs(e,t){return t===void 0&&(t=location),new URL(e,t).toString()}pe(fs,"browser_resolvePath");var N0;Ot?N0=ps:N0=fs;var _0;Ot||(_0="/");function gs(e,t){return e.startsWith("file://")&&(e=e.slice(7)),e.includes("://")?{response:dn(e)}:{binary:M0.readFile(e).then(r=>new Uint8Array(r.buffer,r.byteOffset,r.byteLength))}}pe(gs,"node_getBinaryResponse");function bs(e,t){let r=new URL(e,location);return{response:fetch(r,t?{integrity:t}:{})}}pe(bs,"browser_getBinaryResponse");var mn;Ot?mn=gs:mn=bs;async function vs(e,t){let{response:r,binary:n}=mn(e,t);if(n)return n;let i=await r;if(!i.ok)throw new Error(`Failed to load '${e}': request failed.`);return new Uint8Array(await i.arrayBuffer())}pe(vs,"loadBinaryFile");var pn;if(bh)pn=pe(async e=>await import(e),"loadScript");else if(vh)pn=pe(async e=>{try{globalThis.importScripts(e)}catch(t){if(t instanceof TypeError)await import(e);else throw t}},"loadScript");else if(Ot)pn=ys;else throw new Error("Cannot determine runtime environment");async function ys(e){e.startsWith("file://")&&(e=e.slice(7)),e.includes("://")?ms.runInThisContext(await(await dn(e)).text()):await import(ds.pathToFileURL(e).href)}pe(ys,"nodeLoadScript");async function ws(e){if(Ot){await C0();let t=await M0.readFile(e);return JSON.parse(t)}else return await(await fetch(e)).json()}pe(ws,"loadLockFile");async function xs(){if(cs)return __dirname;let e;try{throw new Error}catch(n){e=n}let t=ph.default.parse(e)[0].fileName;if(fh){let n=await Promise.resolve().then(()=>zt);return(await Promise.resolve().then(()=>zt)).fileURLToPath(n.dirname(t))}let r=t.lastIndexOf(_0);if(r===-1)throw new Error("Could not extract indexURL path from pyodide module location");return t.slice(0,r)}pe(xs,"calculateDirname");function ks(e){let t=e.FS,r=e.FS.filesystems.MEMFS,n=e.PATH,i={DIR_MODE:16895,FILE_MODE:33279,mount:function(a){if(!a.opts.fileSystemHandle)throw new Error("opts.fileSystemHandle is required");return r.mount.apply(null,arguments)},syncfs:async(a,s,o)=>{try{let l=i.getLocalSet(a),h=await i.getRemoteSet(a),d=s?h:l,p=s?l:h;await i.reconcile(a,d,p),o(null)}catch(l){o(l)}},getLocalSet:a=>{let s=Object.create(null);function o(d){return d!=="."&&d!==".."}pe(o,"isRealDir");function l(d){return p=>n.join2(d,p)}pe(l,"toAbsolute");let h=t.readdir(a.mountpoint).filter(o).map(l(a.mountpoint));for(;h.length;){let d=h.pop(),p=t.stat(d);t.isDir(p.mode)&&h.push.apply(h,t.readdir(d).filter(o).map(l(d))),s[d]={timestamp:p.mtime,mode:p.mode}}return{type:"local",entries:s}},getRemoteSet:async a=>{let s=Object.create(null),o=await wh(a.opts.fileSystemHandle);for(let[l,h]of o)l!=="."&&(s[n.join2(a.mountpoint,l)]={timestamp:h.kind==="file"?(await h.getFile()).lastModifiedDate:new Date,mode:h.kind==="file"?i.FILE_MODE:i.DIR_MODE});return{type:"remote",entries:s,handles:o}},loadLocalEntry:a=>{let s=t.lookupPath(a).node,o=t.stat(a);if(t.isDir(o.mode))return{timestamp:o.mtime,mode:o.mode};if(t.isFile(o.mode))return s.contents=r.getFileDataAsTypedArray(s),{timestamp:o.mtime,mode:o.mode,contents:s.contents};throw new Error("node type not supported")},storeLocalEntry:(a,s)=>{if(t.isDir(s.mode))t.mkdirTree(a,s.mode);else if(t.isFile(s.mode))t.writeFile(a,s.contents,{canOwn:!0});else throw new Error("node type not supported");t.chmod(a,s.mode),t.utime(a,s.timestamp,s.timestamp)},removeLocalEntry:a=>{var s=t.stat(a);t.isDir(s.mode)?t.rmdir(a):t.isFile(s.mode)&&t.unlink(a)},loadRemoteEntry:async a=>{if(a.kind==="file"){let s=await a.getFile();return{contents:new Uint8Array(await s.arrayBuffer()),mode:i.FILE_MODE,timestamp:s.lastModifiedDate}}else{if(a.kind==="directory")return{mode:i.DIR_MODE,timestamp:new Date};throw new Error("unknown kind: "+a.kind)}},storeRemoteEntry:async(a,s,o)=>{let l=a.get(n.dirname(s)),h=t.isFile(o.mode)?await l.getFileHandle(n.basename(s),{create:!0}):await l.getDirectoryHandle(n.basename(s),{create:!0});if(h.kind==="file"){let d=await h.createWritable();await d.write(o.contents),await d.close()}a.set(s,h)},removeRemoteEntry:async(a,s)=>{await a.get(n.dirname(s)).removeEntry(n.basename(s)),a.delete(s)},reconcile:async(a,s,o)=>{let l=0,h=[];Object.keys(s.entries).forEach(function(g){let m=s.entries[g],z=o.entries[g];(!z||t.isFile(m.mode)&&m.timestamp.getTime()>z.timestamp.getTime())&&(h.push(g),l++)}),h.sort();let d=[];if(Object.keys(o.entries).forEach(function(g){s.entries[g]||(d.push(g),l++)}),d.sort().reverse(),!l)return;let p=s.type==="remote"?s.handles:o.handles;for(let g of h){let m=n.normalize(g.replace(a.mountpoint,"/")).substring(1);if(o.type==="local"){let z=p.get(m),k=await i.loadRemoteEntry(z);i.storeLocalEntry(g,k)}else{let z=i.loadLocalEntry(g);await i.storeRemoteEntry(p,m,z)}}for(let g of d)if(o.type==="local")i.removeLocalEntry(g);else{let m=n.normalize(g.replace(a.mountpoint,"/")).substring(1);await i.removeRemoteEntry(p,m)}}};e.FS.filesystems.NATIVEFS_ASYNC=i}pe(ks,"initializeNativeFS");var wh=pe(async e=>{let t=[];async function r(i){for await(let a of i.values())t.push(a),a.kind==="directory"&&await r(a)}pe(r,"collect"),await r(e);let n=new Map;n.set(".",e);for(let i of t){let a=(await e.resolve(i)).join("/");n.set(a,i)}return n},"getFsHandles");function zs(){let e={};return e.noImageDecoding=!0,e.noAudioDecoding=!0,e.noWasmDecoding=!1,e.preRun=[],e.quit=(t,r)=>{throw e.exited={status:t,toThrow:r},r},e}pe(zs,"createModule");function Ss(e,t){e.preRun.push(function(){let r="/";try{e.FS.mkdirTree(t)}catch(n){console.error(`Error occurred while making a home directory '${t}':`),console.error(n),console.error(`Using '${r}' for a home directory instead`),t=r}e.FS.chdir(t)})}pe(Ss,"createHomeDirectory");function Es(e,t){e.preRun.push(function(){Object.assign(e.ENV,t)})}pe(Es,"setEnvironment");function As(e,t){e.preRun.push(()=>{for(let r of t)e.FS.mkdirTree(r),e.FS.mount(e.FS.filesystems.NODEFS,{root:r},r)})}pe(As,"mountLocalDirectories");function Ts(e,t){let r=vs(t);e.preRun.push(()=>{let n=e._py_version_major(),i=e._py_version_minor();e.FS.mkdirTree("/lib"),e.FS.mkdirTree(`/lib/python${n}.${i}/site-packages`),e.addRunDependency("install-stdlib"),r.then(a=>{e.FS.writeFile(`/lib/python${n}${i}.zip`,a)}).catch(a=>{console.error("Error occurred while installing the standard library:"),console.error(a)}).finally(()=>{e.removeRunDependency("install-stdlib")})})}pe(Ts,"installStdlib");function Ms(e,t){let r;t.stdLibURL!=null?r=t.stdLibURL:r=t.indexURL+"python_stdlib.zip",Ts(e,r),Ss(e,t.env.HOME),Es(e,t.env),As(e,t._node_mounts),e.preRun.push(()=>ks(e))}pe(Ms,"initializeFileSystem");function Cs(e,t){let{binary:r,response:n}=mn(t+"pyodide.asm.wasm");e.instantiateWasm=function(i,a){return async function(){try{let s;n?s=await WebAssembly.instantiateStreaming(n,i):s=await WebAssembly.instantiate(await r,i);let{instance:o,module:l}=s;typeof WasmOffsetConverter<"u"&&(wasmOffsetConverter=new WasmOffsetConverter(wasmBinary,l)),a(o,l)}catch(s){console.warn("wasm instantiation failed!"),console.warn(s)}}(),{}}}pe(Cs,"preloadWasm");var B0="0.25.0";async function Ns(e={}){await C0();let t=e.indexURL||await xs();t=N0(t),t.endsWith("/")||(t+="/"),e.indexURL=t;let r={fullStdLib:!1,jsglobals:globalThis,stdin:globalThis.prompt?globalThis.prompt:void 0,lockFileURL:t+"pyodide-lock.json",args:[],_node_mounts:[],env:{},packageCacheDir:t,packages:[]},n=Object.assign(r,e);n.env.HOME||(n.env.HOME="/home/pyodide");let i=zs();i.print=n.stdout,i.printErr=n.stderr,i.arguments=n.args;let a={config:n};i.API=a,a.lockFilePromise=ws(n.lockFileURL),Cs(i,t),Ms(i,n);let s=new Promise(l=>i.postRun=l);if(i.locateFile=l=>n.indexURL+l,typeof _createPyodideModule!="function"){let l=`${n.indexURL}pyodide.asm.js`;await pn(l)}if(await _createPyodideModule(i),await s,i.exited)throw i.exited.toThrow;if(e.pyproxyToStringRepr&&a.setPyProxyToStringMethod(!0),a.version!==B0)throw new Error(`Pyodide version does not match: '${B0}' <==> '${a.version}'. If you updated the Pyodide version, make sure you also updated the 'indexURL' parameter passed to loadPyodide.`);i.locateFile=l=>{throw new Error("Didn't expect to load any more file_packager files!")};let o=a.finalizeBootstrap();if(o.version.includes("dev")||a.setCdnUrl(`https://cdn.jsdelivr.net/pyodide/v${o.version}/full/`),await a.packageIndexReady,a._pyodide._importhook.register_module_not_found_hook(a._import_name_to_package_name,a.lockfile_unvendored_stdlibs_and_test),a.lockfile_info.version!==B0)throw new Error("Lock file version doesn't match Pyodide version");return a.package_loader.init_loaded_packages(),n.fullStdLib&&await o.loadPackage(a.lockfile_unvendored_stdlibs),a.initializeStreams(n.stdin,n.stdout,n.stderr),o}pe(Ns,"loadPyodide");var Pe=typeof globalThis<"u"&&globalThis||typeof self<"u"&&self||typeof global<"u"&&global||{},We={searchParams:"URLSearchParams"in Pe,iterable:"Symbol"in Pe&&"iterator"in Symbol,blob:"FileReader"in Pe&&"Blob"in Pe&&function(){try{return new Blob,!0}catch{return!1}}(),formData:"FormData"in Pe,arrayBuffer:"ArrayBuffer"in Pe};function xh(e){return e&&DataView.prototype.isPrototypeOf(e)}if(We.arrayBuffer)var kh=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],zh=ArrayBuffer.isView||function(e){return e&&kh.indexOf(Object.prototype.toString.call(e))>-1};function pr(e){if(typeof e!="string"&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||e==="")throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function R0(e){return typeof e!="string"&&(e=String(e)),e}function O0(e){var t={next:function(){var r=e.shift();return{done:r===void 0,value:r}}};return We.iterable&&(t[Symbol.iterator]=function(){return t}),t}function Re(e){this.map={},e instanceof Re?e.forEach(function(t,r){this.append(r,t)},this):Array.isArray(e)?e.forEach(function(t){if(t.length!=2)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])},this):e&&Object.getOwnPropertyNames(e).forEach(function(t){this.append(t,e[t])},this)}Re.prototype.append=function(e,t){e=pr(e),t=R0(t);var r=this.map[e];this.map[e]=r?r+", "+t:t},Re.prototype.delete=function(e){delete this.map[pr(e)]},Re.prototype.get=function(e){return e=pr(e),this.has(e)?this.map[e]:null},Re.prototype.has=function(e){return this.map.hasOwnProperty(pr(e))},Re.prototype.set=function(e,t){this.map[pr(e)]=R0(t)},Re.prototype.forEach=function(e,t){for(var r in this.map)this.map.hasOwnProperty(r)&&e.call(t,this.map[r],r,this)},Re.prototype.keys=function(){var e=[];return this.forEach(function(t,r){e.push(r)}),O0(e)},Re.prototype.values=function(){var e=[];return this.forEach(function(t){e.push(t)}),O0(e)},Re.prototype.entries=function(){var e=[];return this.forEach(function(t,r){e.push([r,t])}),O0(e)},We.iterable&&(Re.prototype[Symbol.iterator]=Re.prototype.entries);function I0(e){if(!e._noBody){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}}function _s(e){return new Promise(function(t,r){e.onload=function(){t(e.result)},e.onerror=function(){r(e.error)}})}function Sh(e){var t=new FileReader,r=_s(t);return t.readAsArrayBuffer(e),r}function Eh(e){var t=new FileReader,r=_s(t),n=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=n?n[1]:"utf-8";return t.readAsText(e,i),r}function Ah(e){for(var t=new Uint8Array(e),r=new Array(t.length),n=0;n<t.length;n++)r[n]=String.fromCharCode(t[n]);return r.join("")}function Bs(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function Rs(){return this.bodyUsed=!1,this._initBody=function(e){this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?typeof e=="string"?this._bodyText=e:We.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:We.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:We.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():We.arrayBuffer&&We.blob&&xh(e)?(this._bodyArrayBuffer=Bs(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):We.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||zh(e))?this._bodyArrayBuffer=Bs(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):We.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},We.blob&&(this.blob=function(){var e=I0(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=I0(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}else{if(We.blob)return this.blob().then(Sh);throw new Error("could not read as ArrayBuffer")}},this.text=function(){var e=I0(this);if(e)return e;if(this._bodyBlob)return Eh(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(Ah(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},We.formData&&(this.formData=function(){return this.text().then(Ch)}),this.json=function(){return this.text().then(JSON.parse)},this}var Th=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function Mh(e){var t=e.toUpperCase();return Th.indexOf(t)>-1?t:e}function Vt(e,t){if(!(this instanceof Vt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t=t||{};var r=t.body;if(e instanceof Vt){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new Re(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,!r&&e._bodyInit!=null&&(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",(t.headers||!this.headers)&&(this.headers=new Re(t.headers)),this.method=Mh(t.method||this.method||"GET"),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in Pe){var a=new AbortController;return a.signal}}(),this.referrer=null,(this.method==="GET"||this.method==="HEAD")&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),(this.method==="GET"||this.method==="HEAD")&&(t.cache==="no-store"||t.cache==="no-cache")){var n=/([?&])_=[^&]*/;if(n.test(this.url))this.url=this.url.replace(n,"$1_="+new Date().getTime());else{var i=/\?/;this.url+=(i.test(this.url)?"&":"?")+"_="+new Date().getTime()}}}Vt.prototype.clone=function(){return new Vt(this,{body:this._bodyInit})};function Ch(e){var t=new FormData;return e.trim().split("&").forEach(function(r){if(r){var n=r.split("="),i=n.shift().replace(/\+/g," "),a=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(i),decodeURIComponent(a))}}),t}function Nh(e){var t=new Re,r=e.replace(/\r?\n[\t ]+/g," ");return r.split("\r").map(function(n){return n.indexOf(`
274
- `)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),a=i.shift().trim();if(a){var s=i.join(":").trim();try{t.append(a,s)}catch(o){console.warn("Response "+o.message)}}}),t}Rs.call(Vt.prototype);function dt(e,t){if(!(this instanceof dt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new Re(t.headers),this.url=t.url||"",this._initBody(e)}Rs.call(dt.prototype),dt.prototype.clone=function(){return new dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Re(this.headers),url:this.url})},dt.error=function(){var e=new dt(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var _h=[301,302,303,307,308];dt.redirect=function(e,t){if(_h.indexOf(t)===-1)throw new RangeError("Invalid status code");return new dt(null,{status:t,headers:{location:e}})};var Wt=Pe.DOMException;try{new Wt}catch{Wt=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},Wt.prototype=Object.create(Error.prototype),Wt.prototype.constructor=Wt}function D0(e,t){return new Promise(function(r,n){var i=new Vt(e,t);if(i.signal&&i.signal.aborted)return n(new Wt("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var h={statusText:a.statusText,headers:Nh(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?h.status=200:h.status=a.status,h.url="responseURL"in a?a.responseURL:h.headers.get("X-Request-URL");var d="response"in a?a.response:a.responseText;setTimeout(function(){r(new dt(d,h))},0)},a.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){n(new Wt("Aborted","AbortError"))},0)};function o(h){try{return h===""&&Pe.location.href?Pe.location.href:h}catch{return h}}if(a.open(i.method,o(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(We.blob?a.responseType="blob":We.arrayBuffer&&(a.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof Re||Pe.Headers&&t.headers instanceof Pe.Headers)){var l=[];Object.getOwnPropertyNames(t.headers).forEach(function(h){l.push(pr(h)),a.setRequestHeader(h,R0(t.headers[h]))}),i.headers.forEach(function(h,d){l.indexOf(d)===-1&&a.setRequestHeader(d,h)})}else i.headers.forEach(function(h,d){a.setRequestHeader(d,h)});i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",s)}),a.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}D0.polyfill=!0,Pe.fetch||(Pe.fetch=D0,Pe.Headers=Re,Pe.Request=Vt,Pe.Response=dt);const Bh=Object.freeze(Object.defineProperty({__proto__:null,get DOMException(){return Wt},Headers:Re,Request:Vt,Response:dt,fetch:D0},Symbol.toStringTag,{value:"Module"}));class Rh{constructor(){Y(this,"node");Y(this,"messages",[]);this.node=q("div",{class:"grid grid-cols-[auto,1fr] gap-4"})}}class Oh{constructor(t){Y(this,"node");Y(this,"userId");Y(this,"givenName");Y(this,"surname");Y(this,"displayName");Y(this,"avatarLetters");Y(this,"url");Y(this,"fetch");Y(this,"chatBase",new Rh);Y(this,"statusNode");Y(this,"frontEndFunctions",{});Y(this,"pyodide");Y(this,"_initializePyodidePromise");Y(this,"_completion");var i;this.userId=t.userId,this.givenName=t.givenName,this.surname=t.surname,this.displayName=t.displayName,this.avatarLetters=Xc(((i=t.displayName)==null?void 0:i.trim())||(t.givenName||"")+" "+(t.surname||"")),this.url=t.url,this.fetch=t.fetch??fetch.bind(window),this.node=q("div",null);const r=document.createElement("style");r.textContent=mo+`
274
+ `)===0?n.substr(1,n.length):n}).forEach(function(n){var i=n.split(":"),a=i.shift().trim();if(a){var s=i.join(":").trim();try{t.append(a,s)}catch(o){console.warn("Response "+o.message)}}}),t}Rs.call(Vt.prototype);function dt(e,t){if(!(this instanceof dt))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(t||(t={}),this.type="default",this.status=t.status===void 0?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=t.statusText===void 0?"":""+t.statusText,this.headers=new Re(t.headers),this.url=t.url||"",this._initBody(e)}Rs.call(dt.prototype),dt.prototype.clone=function(){return new dt(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new Re(this.headers),url:this.url})},dt.error=function(){var e=new dt(null,{status:200,statusText:""});return e.ok=!1,e.status=0,e.type="error",e};var _h=[301,302,303,307,308];dt.redirect=function(e,t){if(_h.indexOf(t)===-1)throw new RangeError("Invalid status code");return new dt(null,{status:t,headers:{location:e}})};var Wt=Pe.DOMException;try{new Wt}catch{Wt=function(t,r){this.message=t,this.name=r;var n=Error(t);this.stack=n.stack},Wt.prototype=Object.create(Error.prototype),Wt.prototype.constructor=Wt}function D0(e,t){return new Promise(function(r,n){var i=new Vt(e,t);if(i.signal&&i.signal.aborted)return n(new Wt("Aborted","AbortError"));var a=new XMLHttpRequest;function s(){a.abort()}a.onload=function(){var h={statusText:a.statusText,headers:Nh(a.getAllResponseHeaders()||"")};i.url.indexOf("file://")===0&&(a.status<200||a.status>599)?h.status=200:h.status=a.status,h.url="responseURL"in a?a.responseURL:h.headers.get("X-Request-URL");var d="response"in a?a.response:a.responseText;setTimeout(function(){r(new dt(d,h))},0)},a.onerror=function(){setTimeout(function(){n(new TypeError("Network request failed"))},0)},a.ontimeout=function(){setTimeout(function(){n(new TypeError("Network request timed out"))},0)},a.onabort=function(){setTimeout(function(){n(new Wt("Aborted","AbortError"))},0)};function o(h){try{return h===""&&Pe.location.href?Pe.location.href:h}catch{return h}}if(a.open(i.method,o(i.url),!0),i.credentials==="include"?a.withCredentials=!0:i.credentials==="omit"&&(a.withCredentials=!1),"responseType"in a&&(We.blob?a.responseType="blob":We.arrayBuffer&&(a.responseType="arraybuffer")),t&&typeof t.headers=="object"&&!(t.headers instanceof Re||Pe.Headers&&t.headers instanceof Pe.Headers)){var l=[];Object.getOwnPropertyNames(t.headers).forEach(function(h){l.push(pr(h)),a.setRequestHeader(h,R0(t.headers[h]))}),i.headers.forEach(function(h,d){l.indexOf(d)===-1&&a.setRequestHeader(d,h)})}else i.headers.forEach(function(h,d){a.setRequestHeader(d,h)});i.signal&&(i.signal.addEventListener("abort",s),a.onreadystatechange=function(){a.readyState===4&&i.signal.removeEventListener("abort",s)}),a.send(typeof i._bodyInit>"u"?null:i._bodyInit)})}D0.polyfill=!0,Pe.fetch||(Pe.fetch=D0,Pe.Headers=Re,Pe.Request=Vt,Pe.Response=dt);const Bh=Object.freeze(Object.defineProperty({__proto__:null,get DOMException(){return Wt},Headers:Re,Request:Vt,Response:dt,fetch:D0},Symbol.toStringTag,{value:"Module"}));class Rh{constructor(){K(this,"node");K(this,"messages",[]);this.node=q("div",{class:"grid grid-cols-[auto,1fr] gap-4"})}}class Oh{constructor(t){K(this,"node");K(this,"userId");K(this,"givenName");K(this,"surname");K(this,"displayName");K(this,"avatarLetters");K(this,"url");K(this,"fetch");K(this,"chatBase",new Rh);K(this,"statusNode");K(this,"frontEndFunctions",{});K(this,"mdastExtensions",[]);K(this,"pyodide");K(this,"_initializePyodidePromise");K(this,"_completion");var i;this.userId=t.userId,this.givenName=t.givenName,this.surname=t.surname,this.displayName=t.displayName,this.avatarLetters=Xc(((i=t.displayName)==null?void 0:i.trim())||(t.givenName||"")+" "+(t.surname||"")),this.url=t.url,this.fetch=t.fetch??fetch.bind(window),this.node=q("div",null);const r=document.createElement("style");r.textContent=mo+`
275
275
  `+po+`
276
276
  `+fo;const n=this.node.attachShadow({mode:"closed"});n.appendChild(r),n.appendChild(q("div",{class:"flex flex-col gap-4"},document.createComment(" CHAT "),this.chatBase.node,this.statusNode=q("div",{class:"select-none h-[1.421875rem] overflow-hidden"}))),this.frontEndFunctions.confirmAsync=(a,s)=>ah(a,s,n)}initializePyodideAsync(){return this._initializePyodidePromise??(this._initializePyodidePromise=this.doInitializePyodide())}async doInitializePyodide(){return this.pyodide=await Ns({indexURL:"https://cdn.veracity.com/anai/pyodide-0.25.0/pyodide/"}),this.pyodide}async runPythonCodeAsync(t){return await this.pyodide.loadPackagesFromImports(t),await this.pyodide.runPythonAsync(t)}get canSubmit(){return!this._completion}async submitMessageAsync(t){if(!this.canSubmit)throw new Error("Cannot submit message because another message is currently being processed");this._completion=new Zc;try{const r=new Kc(this.userId,this.givenName,this.surname,this.displayName,this.avatarLetters,t);this.chatBase.messages.push(r),this.chatBase.node.appendChild(r.node);try{await this._completion.startAsync(this.fetch,this.url,this.chatBase.messages.map(i=>i.toDto()))}catch(i){if(i instanceof is){this.chatBase.node.appendChild(q(eh,{class:"col-span-2"},i.message));return}else throw i}await new Wc().readMessagesAsync(this._completion,(i,a,s)=>{const o=new Qi(this,i,a,s,S0.Medium);return this.chatBase.node.appendChild(o.node),this.chatBase.messages.push(o),o})}finally{this._completion=null}}stop(){var t;(t=this._completion)==null||t.stop()}}function Ih(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Os(e){return e instanceof Map?e.clear=e.delete=e.set=function(){throw new Error("map is read-only")}:e instanceof Set&&(e.add=e.clear=e.delete=function(){throw new Error("set is read-only")}),Object.freeze(e),Object.getOwnPropertyNames(e).forEach(t=>{const r=e[t],n=typeof r;(n==="object"||n==="function")&&!Object.isFrozen(r)&&Os(r)}),e}class Is{constructor(t){t.data===void 0&&(t.data={}),this.data=t.data,this.isMatchIgnored=!1}ignoreMatch(){this.isMatchIgnored=!0}}function Ds(e){return e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;")}function Xt(e,...t){const r=Object.create(null);for(const n in e)r[n]=e[n];return t.forEach(function(n){for(const i in n)r[i]=n[i]}),r}const Dh="</span>",Ls=e=>!!e.scope,Lh=(e,{prefix:t})=>{if(e.startsWith("language:"))return e.replace("language:","language-");if(e.includes(".")){const r=e.split(".");return[`${t}${r.shift()}`,...r.map((n,i)=>`${n}${"_".repeat(i+1)}`)].join(" ")}return`${t}${e}`};class Fh{constructor(t,r){this.buffer="",this.classPrefix=r.classPrefix,t.walk(this)}addText(t){this.buffer+=Ds(t)}openNode(t){if(!Ls(t))return;const r=Lh(t.scope,{prefix:this.classPrefix});this.span(r)}closeNode(t){Ls(t)&&(this.buffer+=Dh)}value(){return this.buffer}span(t){this.buffer+=`<span class="${t}">`}}const Fs=(e={})=>{const t={children:[]};return Object.assign(t,e),t};class L0{constructor(){this.rootNode=Fs(),this.stack=[this.rootNode]}get top(){return this.stack[this.stack.length-1]}get root(){return this.rootNode}add(t){this.top.children.push(t)}openNode(t){const r=Fs({scope:t});this.add(r),this.stack.push(r)}closeNode(){if(this.stack.length>1)return this.stack.pop()}closeAllNodes(){for(;this.closeNode(););}toJSON(){return JSON.stringify(this.rootNode,null,4)}walk(t){return this.constructor._walk(t,this.rootNode)}static _walk(t,r){return typeof r=="string"?t.addText(r):r.children&&(t.openNode(r),r.children.forEach(n=>this._walk(t,n)),t.closeNode(r)),t}static _collapse(t){typeof t!="string"&&t.children&&(t.children.every(r=>typeof r=="string")?t.children=[t.children.join("")]:t.children.forEach(r=>{L0._collapse(r)}))}}class Ph extends L0{constructor(t){super(),this.options=t}addText(t){t!==""&&this.add(t)}startScope(t){this.openNode(t)}endScope(){this.closeNode()}__addSublanguage(t,r){const n=t.root;r&&(n.scope=`language:${r}`),this.add(n)}toHTML(){return new Fh(this,this.options).value()}finalize(){return this.closeAllNodes(),!0}}function Br(e){return e?typeof e=="string"?e:e.source:null}function Ps(e){return Qt("(?=",e,")")}function qh(e){return Qt("(?:",e,")*")}function Hh(e){return Qt("(?:",e,")?")}function Qt(...e){return e.map(r=>Br(r)).join("")}function Uh(e){const t=e[e.length-1];return typeof t=="object"&&t.constructor===Object?(e.splice(e.length-1,1),t):{}}function F0(...e){return"("+(Uh(e).capture?"":"?:")+e.map(n=>Br(n)).join("|")+")"}function qs(e){return new RegExp(e.toString()+"|").exec("").length-1}function Gh(e,t){const r=e&&e.exec(t);return r&&r.index===0}const jh=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;function P0(e,{joinWith:t}){let r=0;return e.map(n=>{r+=1;const i=r;let a=Br(n),s="";for(;a.length>0;){const o=jh.exec(a);if(!o){s+=a;break}s+=a.substring(0,o.index),a=a.substring(o.index+o[0].length),o[0][0]==="\\"&&o[1]?s+="\\"+String(Number(o[1])+i):(s+=o[0],o[0]==="("&&r++)}return s}).map(n=>`(${n})`).join(t)}const $h=/\b\B/,Hs="[a-zA-Z]\\w*",q0="[a-zA-Z_]\\w*",Us="\\b\\d+(\\.\\d+)?",Gs="(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)",js="\\b(0b[01]+)",Vh="!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~",Wh=(e={})=>{const t=/^#![ ]*\//;return e.binary&&(e.begin=Qt(t,/.*\b/,e.binary,/\b.*/)),Xt({scope:"meta",begin:t,end:/$/,relevance:0,"on:begin":(r,n)=>{r.index!==0&&n.ignoreMatch()}},e)},Rr={begin:"\\\\[\\s\\S]",relevance:0},Xh={scope:"string",begin:"'",end:"'",illegal:"\\n",contains:[Rr]},Kh={scope:"string",begin:'"',end:'"',illegal:"\\n",contains:[Rr]},Yh={begin:/\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/},fn=function(e,t,r={}){const n=Xt({scope:"comment",begin:e,end:t,contains:[]},r);n.contains.push({scope:"doctag",begin:"[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",end:/(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,excludeBegin:!0,relevance:0});const i=F0("I","a","is","so","us","to","at","if","in","it","on",/[A-Za-z]+['](d|ve|re|ll|t|s|n)/,/[A-Za-z]+[-][a-z]+/,/[A-Za-z][a-z]{2,}/);return n.contains.push({begin:Qt(/[ ]+/,"(",i,/[.]?[:]?([.][ ]|[ ])/,"){3}")}),n},Zh=fn("//","$"),Jh=fn("/\\*","\\*/"),Qh=fn("#","$"),ed={scope:"number",begin:Us,relevance:0},td={scope:"number",begin:Gs,relevance:0},rd={scope:"number",begin:js,relevance:0},nd={scope:"regexp",begin:/\/(?=[^/\n]*\/)/,end:/\/[gimuy]*/,contains:[Rr,{begin:/\[/,end:/\]/,relevance:0,contains:[Rr]}]},ad={scope:"title",begin:Hs,relevance:0},id={scope:"title",begin:q0,relevance:0},sd={begin:"\\.\\s*"+q0,relevance:0};var gn=Object.freeze({__proto__:null,APOS_STRING_MODE:Xh,BACKSLASH_ESCAPE:Rr,BINARY_NUMBER_MODE:rd,BINARY_NUMBER_RE:js,COMMENT:fn,C_BLOCK_COMMENT_MODE:Jh,C_LINE_COMMENT_MODE:Zh,C_NUMBER_MODE:td,C_NUMBER_RE:Gs,END_SAME_AS_BEGIN:function(e){return Object.assign(e,{"on:begin":(t,r)=>{r.data._beginMatch=t[1]},"on:end":(t,r)=>{r.data._beginMatch!==t[1]&&r.ignoreMatch()}})},HASH_COMMENT_MODE:Qh,IDENT_RE:Hs,MATCH_NOTHING_RE:$h,METHOD_GUARD:sd,NUMBER_MODE:ed,NUMBER_RE:Us,PHRASAL_WORDS_MODE:Yh,QUOTE_STRING_MODE:Kh,REGEXP_MODE:nd,RE_STARTERS_RE:Vh,SHEBANG:Wh,TITLE_MODE:ad,UNDERSCORE_IDENT_RE:q0,UNDERSCORE_TITLE_MODE:id});function od(e,t){e.input[e.index-1]==="."&&t.ignoreMatch()}function ld(e,t){e.className!==void 0&&(e.scope=e.className,delete e.className)}function ud(e,t){t&&e.beginKeywords&&(e.begin="\\b("+e.beginKeywords.split(" ").join("|")+")(?!\\.)(?=\\b|\\s)",e.__beforeBegin=od,e.keywords=e.keywords||e.beginKeywords,delete e.beginKeywords,e.relevance===void 0&&(e.relevance=0))}function cd(e,t){Array.isArray(e.illegal)&&(e.illegal=F0(...e.illegal))}function hd(e,t){if(e.match){if(e.begin||e.end)throw new Error("begin & end are not supported with match");e.begin=e.match,delete e.match}}function dd(e,t){e.relevance===void 0&&(e.relevance=1)}const md=(e,t)=>{if(!e.beforeMatch)return;if(e.starts)throw new Error("beforeMatch cannot be used with starts");const r=Object.assign({},e);Object.keys(e).forEach(n=>{delete e[n]}),e.keywords=r.keywords,e.begin=Qt(r.beforeMatch,Ps(r.begin)),e.starts={relevance:0,contains:[Object.assign(r,{endsParent:!0})]},e.relevance=0,delete r.beforeMatch},pd=["of","and","for","in","not","or","if","then","parent","list","value"],fd="keyword";function $s(e,t,r=fd){const n=Object.create(null);return typeof e=="string"?i(r,e.split(" ")):Array.isArray(e)?i(r,e):Object.keys(e).forEach(function(a){Object.assign(n,$s(e[a],t,a))}),n;function i(a,s){t&&(s=s.map(o=>o.toLowerCase())),s.forEach(function(o){const l=o.split("|");n[l[0]]=[a,gd(l[0],l[1])]})}}function gd(e,t){return t?Number(t):bd(e)?0:1}function bd(e){return pd.includes(e.toLowerCase())}const Vs={},er=e=>{console.error(e)},Ws=(e,...t)=>{console.log(`WARN: ${e}`,...t)},fr=(e,t)=>{Vs[`${e}/${t}`]||(console.log(`Deprecated as of ${e}. ${t}`),Vs[`${e}/${t}`]=!0)},bn=new Error;function Xs(e,t,{key:r}){let n=0;const i=e[r],a={},s={};for(let o=1;o<=t.length;o++)s[o+n]=i[o],a[o+n]=!0,n+=qs(t[o-1]);e[r]=s,e[r]._emit=a,e[r]._multi=!0}function vd(e){if(Array.isArray(e.begin)){if(e.skip||e.excludeBegin||e.returnBegin)throw er("skip, excludeBegin, returnBegin not compatible with beginScope: {}"),bn;if(typeof e.beginScope!="object"||e.beginScope===null)throw er("beginScope must be object"),bn;Xs(e,e.begin,{key:"beginScope"}),e.begin=P0(e.begin,{joinWith:""})}}function yd(e){if(Array.isArray(e.end)){if(e.skip||e.excludeEnd||e.returnEnd)throw er("skip, excludeEnd, returnEnd not compatible with endScope: {}"),bn;if(typeof e.endScope!="object"||e.endScope===null)throw er("endScope must be object"),bn;Xs(e,e.end,{key:"endScope"}),e.end=P0(e.end,{joinWith:""})}}function wd(e){e.scope&&typeof e.scope=="object"&&e.scope!==null&&(e.beginScope=e.scope,delete e.scope)}function xd(e){wd(e),typeof e.beginScope=="string"&&(e.beginScope={_wrap:e.beginScope}),typeof e.endScope=="string"&&(e.endScope={_wrap:e.endScope}),vd(e),yd(e)}function kd(e){function t(s,o){return new RegExp(Br(s),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(o?"g":""))}class r{constructor(){this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0}addRule(o,l){l.position=this.position++,this.matchIndexes[this.matchAt]=l,this.regexes.push([l,o]),this.matchAt+=qs(o)+1}compile(){this.regexes.length===0&&(this.exec=()=>null);const o=this.regexes.map(l=>l[1]);this.matcherRe=t(P0(o,{joinWith:"|"}),!0),this.lastIndex=0}exec(o){this.matcherRe.lastIndex=this.lastIndex;const l=this.matcherRe.exec(o);if(!l)return null;const h=l.findIndex((p,g)=>g>0&&p!==void 0),d=this.matchIndexes[h];return l.splice(0,h),Object.assign(l,d)}}class n{constructor(){this.rules=[],this.multiRegexes=[],this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(o){if(this.multiRegexes[o])return this.multiRegexes[o];const l=new r;return this.rules.slice(o).forEach(([h,d])=>l.addRule(h,d)),l.compile(),this.multiRegexes[o]=l,l}resumingScanAtSamePosition(){return this.regexIndex!==0}considerAll(){this.regexIndex=0}addRule(o,l){this.rules.push([o,l]),l.type==="begin"&&this.count++}exec(o){const l=this.getMatcher(this.regexIndex);l.lastIndex=this.lastIndex;let h=l.exec(o);if(this.resumingScanAtSamePosition()&&!(h&&h.index===this.lastIndex)){const d=this.getMatcher(0);d.lastIndex=this.lastIndex+1,h=d.exec(o)}return h&&(this.regexIndex+=h.position+1,this.regexIndex===this.count&&this.considerAll()),h}}function i(s){const o=new n;return s.contains.forEach(l=>o.addRule(l.begin,{rule:l,type:"begin"})),s.terminatorEnd&&o.addRule(s.terminatorEnd,{type:"end"}),s.illegal&&o.addRule(s.illegal,{type:"illegal"}),o}function a(s,o){const l=s;if(s.isCompiled)return l;[ld,hd,xd,md].forEach(d=>d(s,o)),e.compilerExtensions.forEach(d=>d(s,o)),s.__beforeBegin=null,[ud,cd,dd].forEach(d=>d(s,o)),s.isCompiled=!0;let h=null;return typeof s.keywords=="object"&&s.keywords.$pattern&&(s.keywords=Object.assign({},s.keywords),h=s.keywords.$pattern,delete s.keywords.$pattern),h=h||/\w+/,s.keywords&&(s.keywords=$s(s.keywords,e.case_insensitive)),l.keywordPatternRe=t(h,!0),o&&(s.begin||(s.begin=/\B|\b/),l.beginRe=t(l.begin),!s.end&&!s.endsWithParent&&(s.end=/\B|\b/),s.end&&(l.endRe=t(l.end)),l.terminatorEnd=Br(l.end)||"",s.endsWithParent&&o.terminatorEnd&&(l.terminatorEnd+=(s.end?"|":"")+o.terminatorEnd)),s.illegal&&(l.illegalRe=t(s.illegal)),s.contains||(s.contains=[]),s.contains=[].concat(...s.contains.map(function(d){return zd(d==="self"?s:d)})),s.contains.forEach(function(d){a(d,l)}),s.starts&&a(s.starts,o),l.matcher=i(l),l}if(e.compilerExtensions||(e.compilerExtensions=[]),e.contains&&e.contains.includes("self"))throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");return e.classNameAliases=Xt(e.classNameAliases||{}),a(e)}function Ks(e){return e?e.endsWithParent||Ks(e.starts):!1}function zd(e){return e.variants&&!e.cachedVariants&&(e.cachedVariants=e.variants.map(function(t){return Xt(e,{variants:null},t)})),e.cachedVariants?e.cachedVariants:Ks(e)?Xt(e,{starts:e.starts?Xt(e.starts):null}):Object.isFrozen(e)?Xt(e):e}var Sd="11.9.0";class Ed extends Error{constructor(t,r){super(t),this.name="HTMLInjectionError",this.html=r}}const H0=Ds,Ys=Xt,Zs=Symbol("nomatch"),Ad=7,Js=function(e){const t=Object.create(null),r=Object.create(null),n=[];let i=!0;const a="Could not find the language '{}', did you forget to load/include a language module?",s={disableAutodetect:!0,name:"Plain text",contains:[]};let o={ignoreUnescapedHTML:!1,throwUnescapedHTML:!1,noHighlightRe:/^(no-?highlight)$/i,languageDetectRe:/\blang(?:uage)?-([\w-]+)\b/i,classPrefix:"hljs-",cssSelector:"pre code",languages:null,__emitter:Ph};function l(O){return o.noHighlightRe.test(O)}function h(O){let L=O.className+" ";L+=O.parentNode?O.parentNode.className:"";const Q=o.languageDetectRe.exec(L);if(Q){const v=G(Q[1]);return v||(Ws(a.replace("{}",Q[1])),Ws("Falling back to no-highlight mode for this block.",O)),v?Q[1]:"no-highlight"}return L.split(/\s+/).find(v=>l(v)||G(v))}function d(O,L,Q){let v="",se="";typeof L=="object"?(v=O,Q=L.ignoreIllegals,se=L.language):(fr("10.7.0","highlight(lang, code, ...args) has been deprecated."),fr("10.7.0",`Please use highlight(code, options) instead.
277
277
  https://github.com/highlightjs/highlight.js/issues/2277`),se=O,v=L),Q===void 0&&(Q=!0);const ce={code:v,language:se};re("before:highlight",ce);const x=ce.result?ce.result:p(ce.language,ce.code,Q);return x.code=ce.code,re("after:highlight",x),x}function p(O,L,Q,v){const se=Object.create(null);function ce(B,F){return B.keywords[F]}function x(){if(!ie.keywords){De.addText(ke);return}let B=0;ie.keywordPatternRe.lastIndex=0;let F=ie.keywordPatternRe.exec(ke),J="";for(;F;){J+=ke.substring(B,F.index);const me=Ge.case_insensitive?F[0].toLowerCase():F[0],Ae=ce(ie,me);if(Ae){const[Le,nr]=Ae;if(De.addText(J),J="",se[me]=(se[me]||0)+1,se[me]<=Ad&&(br+=nr),Le.startsWith("_"))J+=F[0];else{const ar=Ge.classNameAliases[Le]||Le;ye(F[0],ar)}}else J+=F[0];B=ie.keywordPatternRe.lastIndex,F=ie.keywordPatternRe.exec(ke)}J+=ke.substring(B),De.addText(J)}function Oe(){if(ke==="")return;let B=null;if(typeof ie.subLanguage=="string"){if(!t[ie.subLanguage]){De.addText(ke);return}B=p(ie.subLanguage,ke,!0,yn[ie.subLanguage]),yn[ie.subLanguage]=B._top}else B=m(ke,ie.subLanguage.length?ie.subLanguage:null);ie.relevance>0&&(br+=B.relevance),De.__addSublanguage(B._emitter,B.language)}function we(){ie.subLanguage!=null?Oe():x(),ke=""}function ye(B,F){B!==""&&(De.startScope(F),De.addText(B),De.endScope())}function Xe(B,F){let J=1;const me=F.length-1;for(;J<=me;){if(!B._emit[J]){J++;continue}const Ae=Ge.classNameAliases[B[J]]||B[J],Le=F[J];Ae?ye(Le,Ae):(ke=Le,x(),ke=""),J++}}function Fe(B,F){return B.scope&&typeof B.scope=="string"&&De.openNode(Ge.classNameAliases[B.scope]||B.scope),B.beginScope&&(B.beginScope._wrap?(ye(ke,Ge.classNameAliases[B.beginScope._wrap]||B.beginScope._wrap),ke=""):B.beginScope._multi&&(Xe(B.beginScope,F),ke="")),ie=Object.create(B,{parent:{value:ie}}),ie}function Je(B,F,J){let me=Gh(B.endRe,J);if(me){if(B["on:end"]){const Ae=new Is(B);B["on:end"](F,Ae),Ae.isMatchIgnored&&(me=!1)}if(me){for(;B.endsParent&&B.parent;)B=B.parent;return B}}if(B.endsWithParent)return Je(B.parent,F,J)}function Qe(B){return ie.matcher.regexIndex===0?(ke+=B[0],1):(j=!0,0)}function tr(B){const F=B[0],J=B.rule,me=new Is(J),Ae=[J.__beforeBegin,J["on:begin"]];for(const Le of Ae)if(Le&&(Le(B,me),me.isMatchIgnored))return Qe(F);return J.skip?ke+=F:(J.excludeBegin&&(ke+=F),we(),!J.returnBegin&&!J.excludeBegin&&(ke=F)),Fe(J,B),J.returnBegin?0:F.length}function Or(B){const F=B[0],J=L.substring(B.index),me=Je(ie,B,J);if(!me)return Zs;const Ae=ie;ie.endScope&&ie.endScope._wrap?(we(),ye(F,ie.endScope._wrap)):ie.endScope&&ie.endScope._multi?(we(),Xe(ie.endScope,B)):Ae.skip?ke+=F:(Ae.returnEnd||Ae.excludeEnd||(ke+=F),we(),Ae.excludeEnd&&(ke=F));do ie.scope&&De.closeNode(),!ie.skip&&!ie.subLanguage&&(br+=ie.relevance),ie=ie.parent;while(ie!==me.parent);return me.starts&&Fe(me.starts,B),Ae.returnEnd?0:F.length}function Ir(){const B=[];for(let F=ie;F!==Ge;F=F.parent)F.scope&&B.unshift(F.scope);B.forEach(F=>De.openNode(F))}let mt={};function Kt(B,F){const J=F&&F[0];if(ke+=B,J==null)return we(),0;if(mt.type==="begin"&&F.type==="end"&&mt.index===F.index&&J===""){if(ke+=L.slice(F.index,F.index+1),!i){const me=new Error(`0 width match regex (${O})`);throw me.languageName=O,me.badRule=mt.rule,me}return 1}if(mt=F,F.type==="begin")return tr(F);if(F.type==="illegal"&&!Q){const me=new Error('Illegal lexeme "'+J+'" for mode "'+(ie.scope||"<unnamed>")+'"');throw me.mode=ie,me}else if(F.type==="end"){const me=Or(F);if(me!==Zs)return me}if(F.type==="illegal"&&J==="")return 1;if(_>1e5&&_>F.index*3)throw new Error("potential infinite loop, way more iterations than matches");return ke+=J,J.length}const Ge=G(O);if(!Ge)throw er(a.replace("{}",O)),new Error('Unknown language: "'+O+'"');const rr=kd(Ge);let pt="",ie=v||rr;const yn={},De=new o.__emitter(o);Ir();let ke="",br=0,It=0,_=0,j=!1;try{if(Ge.__emitTokens)Ge.__emitTokens(L,De);else{for(ie.matcher.considerAll();;){_++,j?j=!1:ie.matcher.considerAll(),ie.matcher.lastIndex=It;const B=ie.matcher.exec(L);if(!B)break;const F=L.substring(It,B.index),J=Kt(F,B);It=B.index+J}Kt(L.substring(It))}return De.finalize(),pt=De.toHTML(),{language:O,value:pt,relevance:br,illegal:!1,_emitter:De,_top:ie}}catch(B){if(B.message&&B.message.includes("Illegal"))return{language:O,value:H0(L),illegal:!0,relevance:0,_illegalBy:{message:B.message,index:It,context:L.slice(It-100,It+100),mode:B.mode,resultSoFar:pt},_emitter:De};if(i)return{language:O,value:H0(L),illegal:!1,relevance:0,errorRaised:B,_emitter:De,_top:ie};throw B}}function g(O){const L={value:H0(O),illegal:!1,relevance:0,_top:s,_emitter:new o.__emitter(o)};return L._emitter.addText(O),L}function m(O,L){L=L||o.languages||Object.keys(t);const Q=g(O),v=L.filter(G).filter(V).map(we=>p(we,O,!1));v.unshift(Q);const se=v.sort((we,ye)=>{if(we.relevance!==ye.relevance)return ye.relevance-we.relevance;if(we.language&&ye.language){if(G(we.language).supersetOf===ye.language)return 1;if(G(ye.language).supersetOf===we.language)return-1}return 0}),[ce,x]=se,Oe=ce;return Oe.secondBest=x,Oe}function z(O,L,Q){const v=L&&r[L]||Q;O.classList.add("hljs"),O.classList.add(`language-${v}`)}function k(O){let L=null;const Q=h(O);if(l(Q))return;if(re("before:highlightElement",{el:O,language:Q}),O.dataset.highlighted){console.log("Element previously highlighted. To highlight again, first unset `dataset.highlighted`.",O);return}if(O.children.length>0&&(o.ignoreUnescapedHTML||(console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk."),console.warn("https://github.com/highlightjs/highlight.js/wiki/security"),console.warn("The element with unescaped HTML:"),console.warn(O)),o.throwUnescapedHTML))throw new Ed("One of your code blocks includes unescaped HTML.",O.innerHTML);L=O;const v=L.textContent,se=Q?d(v,{language:Q,ignoreIllegals:!0}):m(v);O.innerHTML=se.value,O.dataset.highlighted="yes",z(O,Q,se.language),O.result={language:se.language,re:se.relevance,relevance:se.relevance},se.secondBest&&(O.secondBest={language:se.secondBest.language,relevance:se.secondBest.relevance}),re("after:highlightElement",{el:O,result:se,text:v})}function N(O){o=Ys(o,O)}const A=()=>{W(),fr("10.6.0","initHighlighting() deprecated. Use highlightAll() now.")};function C(){W(),fr("10.6.0","initHighlightingOnLoad() deprecated. Use highlightAll() now.")}let R=!1;function W(){if(document.readyState==="loading"){R=!0;return}document.querySelectorAll(o.cssSelector).forEach(k)}function H(){R&&W()}typeof window<"u"&&window.addEventListener&&window.addEventListener("DOMContentLoaded",H,!1);function T(O,L){let Q=null;try{Q=L(e)}catch(v){if(er("Language definition for '{}' could not be registered.".replace("{}",O)),i)er(v);else throw v;Q=s}Q.name||(Q.name=O),t[O]=Q,Q.rawDefinition=L.bind(null,e),Q.aliases&&M(Q.aliases,{languageName:O})}function X(O){delete t[O];for(const L of Object.keys(r))r[L]===O&&delete r[L]}function ee(){return Object.keys(t)}function G(O){return O=(O||"").toLowerCase(),t[O]||t[r[O]]}function M(O,{languageName:L}){typeof O=="string"&&(O=[O]),O.forEach(Q=>{r[Q.toLowerCase()]=L})}function V(O){const L=G(O);return L&&!L.disableAutodetect}function $(O){O["before:highlightBlock"]&&!O["before:highlightElement"]&&(O["before:highlightElement"]=L=>{O["before:highlightBlock"](Object.assign({block:L.el},L))}),O["after:highlightBlock"]&&!O["after:highlightElement"]&&(O["after:highlightElement"]=L=>{O["after:highlightBlock"](Object.assign({block:L.el},L))})}function de(O){$(O),n.push(O)}function ue(O){const L=n.indexOf(O);L!==-1&&n.splice(L,1)}function re(O,L){const Q=O;n.forEach(function(v){v[Q]&&v[Q](L)})}function ve(O){return fr("10.7.0","highlightBlock will be removed entirely in v12.0"),fr("10.7.0","Please use highlightElement now."),k(O)}Object.assign(e,{highlight:d,highlightAuto:m,highlightAll:W,highlightElement:k,highlightBlock:ve,configure:N,initHighlighting:A,initHighlightingOnLoad:C,registerLanguage:T,unregisterLanguage:X,listLanguages:ee,getLanguage:G,registerAliases:M,autoDetection:V,inherit:Ys,addPlugin:de,removePlugin:ue}),e.debugMode=function(){i=!1},e.safeMode=function(){i=!0},e.versionString=Sd,e.regex={concat:Qt,lookahead:Ps,either:F0,optional:Hh,anyNumberOfTimes:qh};for(const O in gn)typeof gn[O]=="object"&&Os(gn[O]);return Object.assign(e,gn),e},gr=Js({});gr.newInstance=()=>Js({});var Td=gr;gr.HighlightJS=gr,gr.default=gr;const Qs=Ih(Td),Md=Object.freeze(Object.defineProperty({__proto__:null,HighlightJS:Qs,default:Qs},Symbol.toStringTag,{value:"Module"})),eo="[A-Za-z$_][0-9A-Za-z$_]*",Cd=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],Nd=["true","false","null","undefined","NaN","Infinity"],to=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],ro=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],no=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],_d=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],Bd=[].concat(no,to,ro);function Rd(e){const t=e.regex,r=(L,{after:Q})=>{const v="</"+L[0].slice(1);return L.input.indexOf(v,Q)!==-1},n=eo,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(L,Q)=>{const v=L[0].length+L.index,se=L.input[v];if(se==="<"||se===","){Q.ignoreMatch();return}se===">"&&(r(L,{after:v})||Q.ignoreMatch());let ce;const x=L.input.substring(v);if(ce=x.match(/^\s*=/)){Q.ignoreMatch();return}if((ce=x.match(/^\s+extends\s+/))&&ce.index===0){Q.ignoreMatch();return}}},o={$pattern:eo,keyword:Cd,literal:Nd,built_in:Bd,"variable.language":_d},l="[0-9](_?[0-9])*",h=`\\.(${l})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${l})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},g={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"xml"}},z={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"graphql"}},N={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,g]},C={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,z,k,N,{match:/\$\d+/},p];g.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const W=[].concat(C,g.contains),H=W.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(W)}]),T={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:H},X={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},ee={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...to,...ro]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},V={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function $(L){return t.concat("(?!",L.join("|"),")")}const de={match:t.concat(/\b/,$([...no,"super","import"]),n,t.lookahead(/\(/)),className:"title.function",relevance:0},ue={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},ve="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",O={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(ve)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:H,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,z,k,N,C,{match:/\$\d+/},p,ee,{className:"attr",begin:n+t.lookahead(":"),relevance:0},O,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,e.REGEXP_MODE,{className:"function",begin:ve,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:H}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},ue,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},de,V,X,re,{match:/\$[(.]/}]}}const Od=Object.freeze(Object.defineProperty({__proto__:null,default:Rd},Symbol.toStringTag,{value:"Module"}));function Id(e){const t=["bool","byte","char","decimal","delegate","double","dynamic","enum","float","int","long","nint","nuint","object","sbyte","short","string","ulong","uint","ushort"],r=["public","private","protected","static","internal","protected","abstract","async","extern","override","unsafe","virtual","new","sealed","partial"],n=["default","false","null","true"],i=["abstract","as","base","break","case","catch","class","const","continue","do","else","event","explicit","extern","finally","fixed","for","foreach","goto","if","implicit","in","interface","internal","is","lock","namespace","new","operator","out","override","params","private","protected","public","readonly","record","ref","return","scoped","sealed","sizeof","stackalloc","static","struct","switch","this","throw","try","typeof","unchecked","unsafe","using","virtual","void","volatile","while"],a=["add","alias","and","ascending","async","await","by","descending","equals","from","get","global","group","init","into","join","let","nameof","not","notnull","on","or","orderby","partial","remove","select","set","unmanaged","value|0","var","when","where","with","yield"],s={keyword:i.concat(a),built_in:t,literal:n},o=e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),l={className:"number",variants:[{begin:"\\b(0b[01']+)"},{begin:"(-?)\\b([\\d']+(\\.[\\d']*)?|\\.[\\d']+)(u|U|l|L|ul|UL|f|F|b|B)"},{begin:"(-?)(\\b0[xX][a-fA-F0-9']+|(\\b[\\d']+(\\.[\\d']*)?|\\.[\\d']+)([eE][-+]?[\\d']+)?)"}],relevance:0},h={className:"string",begin:'@"',end:'"',contains:[{begin:'""'}]},d=e.inherit(h,{illegal:/\n/}),p={className:"subst",begin:/\{/,end:/\}/,keywords:s},g=e.inherit(p,{illegal:/\n/}),m={className:"string",begin:/\$"/,end:'"',illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},e.BACKSLASH_ESCAPE,g]},z={className:"string",begin:/\$@"/,end:'"',contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},p]},k=e.inherit(z,{illegal:/\n/,contains:[{begin:/\{\{/},{begin:/\}\}/},{begin:'""'},g]});p.contains=[z,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.C_BLOCK_COMMENT_MODE],g.contains=[k,m,d,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,l,e.inherit(e.C_BLOCK_COMMENT_MODE,{illegal:/\n/})];const N={variants:[z,m,h,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},A={begin:"<",end:">",contains:[{beginKeywords:"in out"},o]},C=e.IDENT_RE+"(<"+e.IDENT_RE+"(\\s*,\\s*"+e.IDENT_RE+")*>)?(\\[\\])?",R={begin:"@"+e.IDENT_RE,relevance:0};return{name:"C#",aliases:["cs","c#"],keywords:s,illegal:/::/,contains:[e.COMMENT("///","$",{returnBegin:!0,contains:[{className:"doctag",variants:[{begin:"///",relevance:0},{begin:"<!--|-->"},{begin:"</?",end:">"}]}]}),e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,{className:"meta",begin:"#",end:"$",keywords:{keyword:"if else elif endif define undef warning error line region endregion pragma checksum"}},N,l,{beginKeywords:"class interface",relevance:0,end:/[{;=]/,illegal:/[^\s:,]/,contains:[{beginKeywords:"where class"},o,A,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"record",relevance:0,end:/[{;=]/,illegal:/[^\s:]/,contains:[o,A,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{className:"meta",begin:"^\\s*\\[(?=[\\w])",excludeBegin:!0,end:"\\]",excludeEnd:!0,contains:[{className:"string",begin:/"/,end:/"/}]},{beginKeywords:"new return throw await else",relevance:0},{className:"function",begin:"("+C+"\\s+)+"+e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,end:/\s*[{;=]/,excludeEnd:!0,keywords:s,contains:[{beginKeywords:r.join(" "),relevance:0},{begin:e.IDENT_RE+"\\s*(<[^=]+>\\s*)?\\(",returnBegin:!0,contains:[e.TITLE_MODE,A],relevance:0},{match:/\(\)/},{className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:s,relevance:0,contains:[N,l,e.C_BLOCK_COMMENT_MODE]},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},R]}}const Dd=Object.freeze(Object.defineProperty({__proto__:null,default:Id},Symbol.toStringTag,{value:"Module"}));function Ld(e){const t=e.regex,r=new RegExp("[\\p{XID_Start}_]\\p{XID_Continue}*","u"),n=["and","as","assert","async","await","break","case","class","continue","def","del","elif","else","except","finally","for","from","global","if","import","in","is","lambda","match","nonlocal|10","not","or","pass","raise","return","try","while","with","yield"],o={$pattern:/[A-Za-z]\w+|__\w+__/,keyword:n,built_in:["__import__","abs","all","any","ascii","bin","bool","breakpoint","bytearray","bytes","callable","chr","classmethod","compile","complex","delattr","dict","dir","divmod","enumerate","eval","exec","filter","float","format","frozenset","getattr","globals","hasattr","hash","help","hex","id","input","int","isinstance","issubclass","iter","len","list","locals","map","max","memoryview","min","next","object","oct","open","ord","pow","print","property","range","repr","reversed","round","set","setattr","slice","sorted","staticmethod","str","sum","super","tuple","type","vars","zip"],literal:["__debug__","Ellipsis","False","None","NotImplemented","True"],type:["Any","Callable","Coroutine","Dict","List","Literal","Generic","Optional","Sequence","Set","Tuple","Type","Union"]},l={className:"meta",begin:/^(>>>|\.\.\.) /},h={className:"subst",begin:/\{/,end:/\}/,keywords:o,illegal:/#/},d={begin:/\{\{/,relevance:0},p={className:"string",contains:[e.BACKSLASH_ESCAPE],variants:[{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([uU]|[bB]|[rR]|[bB][rR]|[rR][bB])?"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l],relevance:10},{begin:/([fF][rR]|[rR][fF]|[fF])'''/,end:/'''/,contains:[e.BACKSLASH_ESCAPE,l,d,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"""/,end:/"""/,contains:[e.BACKSLASH_ESCAPE,l,d,h]},{begin:/([uU]|[rR])'/,end:/'/,relevance:10},{begin:/([uU]|[rR])"/,end:/"/,relevance:10},{begin:/([bB]|[bB][rR]|[rR][bB])'/,end:/'/},{begin:/([bB]|[bB][rR]|[rR][bB])"/,end:/"/},{begin:/([fF][rR]|[rR][fF]|[fF])'/,end:/'/,contains:[e.BACKSLASH_ESCAPE,d,h]},{begin:/([fF][rR]|[rR][fF]|[fF])"/,end:/"/,contains:[e.BACKSLASH_ESCAPE,d,h]},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},g="[0-9](_?[0-9])*",m=`(\\b(${g}))?\\.(${g})|\\b(${g})\\.`,z=`\\b|${n.join("|")}`,k={className:"number",relevance:0,variants:[{begin:`(\\b(${g})|(${m}))[eE][+-]?(${g})[jJ]?(?=${z})`},{begin:`(${m})[jJ]?`},{begin:`\\b([1-9](_?[0-9])*|0+(_?0)*)[lLjJ]?(?=${z})`},{begin:`\\b0[bB](_?[01])+[lL]?(?=${z})`},{begin:`\\b0[oO](_?[0-7])+[lL]?(?=${z})`},{begin:`\\b0[xX](_?[0-9a-fA-F])+[lL]?(?=${z})`},{begin:`\\b(${g})[jJ](?=${z})`}]},N={className:"comment",begin:t.lookahead(/# type:/),end:/$/,keywords:o,contains:[{begin:/# type:/},{begin:/#/,end:/\b\B/,endsWithParent:!0}]},A={className:"params",variants:[{className:"",begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:["self",l,k,p,e.HASH_COMMENT_MODE]}]};return h.contains=[p,k,l],{name:"Python",aliases:["py","gyp","ipython"],unicodeRegex:!0,keywords:o,illegal:/(<\/|\?)|=>/,contains:[l,k,{begin:/\bself\b/},{beginKeywords:"if",relevance:0},p,N,e.HASH_COMMENT_MODE,{match:[/\bdef/,/\s+/,r],scope:{1:"keyword",3:"title.function"},contains:[A]},{variants:[{match:[/\bclass/,/\s+/,r,/\s*/,/\(\s*/,r,/\s*\)/]},{match:[/\bclass/,/\s+/,r]}],scope:{1:"keyword",3:"title.class",6:"title.class.inherited"}},{className:"meta",begin:/^[\t ]*@/,end:/(?=#)|$/,contains:[k,A,p]}]}}const Fd=Object.freeze(Object.defineProperty({__proto__:null,default:Ld},Symbol.toStringTag,{value:"Module"})),Pd=e=>({IMPORTANT:{scope:"meta",begin:"!important"},BLOCK_COMMENT:e.C_BLOCK_COMMENT_MODE,HEXCOLOR:{scope:"number",begin:/#(([0-9a-fA-F]{3,4})|(([0-9a-fA-F]{2}){3,4}))\b/},FUNCTION_DISPATCH:{className:"built_in",begin:/[\w-]+(?=\()/},ATTRIBUTE_SELECTOR_MODE:{scope:"selector-attr",begin:/\[/,end:/\]/,illegal:"$",contains:[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE]},CSS_NUMBER_MODE:{scope:"number",begin:e.NUMBER_RE+"(%|em|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|px|deg|grad|rad|turn|s|ms|Hz|kHz|dpi|dpcm|dppx)?",relevance:0},CSS_VARIABLE:{className:"attr",begin:/--[A-Za-z_][A-Za-z0-9_-]*/}}),qd=["a","abbr","address","article","aside","audio","b","blockquote","body","button","canvas","caption","cite","code","dd","del","details","dfn","div","dl","dt","em","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","html","i","iframe","img","input","ins","kbd","label","legend","li","main","mark","menu","nav","object","ol","p","q","quote","samp","section","span","strong","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","ul","var","video"],Hd=["any-hover","any-pointer","aspect-ratio","color","color-gamut","color-index","device-aspect-ratio","device-height","device-width","display-mode","forced-colors","grid","height","hover","inverted-colors","monochrome","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","resolution","scan","scripting","update","width","min-width","max-width","min-height","max-height"],Ud=["active","any-link","blank","checked","current","default","defined","dir","disabled","drop","empty","enabled","first","first-child","first-of-type","fullscreen","future","focus","focus-visible","focus-within","has","host","host-context","hover","indeterminate","in-range","invalid","is","lang","last-child","last-of-type","left","link","local-link","not","nth-child","nth-col","nth-last-child","nth-last-col","nth-last-of-type","nth-of-type","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","read-only","read-write","required","right","root","scope","target","target-within","user-invalid","valid","visited","where"],Gd=["after","backdrop","before","cue","cue-region","first-letter","first-line","grammar-error","marker","part","placeholder","selection","slotted","spelling-error"],jd=["align-content","align-items","align-self","all","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","backface-visibility","background","background-attachment","background-blend-mode","background-clip","background-color","background-image","background-origin","background-position","background-repeat","background-size","block-size","border","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","border-bottom-left-radius","border-bottom-right-radius","border-bottom-style","border-bottom-width","border-collapse","border-color","border-image","border-image-outset","border-image-repeat","border-image-slice","border-image-source","border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","border-left-style","border-left-width","border-radius","border-right","border-right-color","border-right-style","border-right-width","border-spacing","border-style","border-top","border-top-color","border-top-left-radius","border-top-right-radius","border-top-style","border-top-width","border-width","bottom","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","caption-side","caret-color","clear","clip","clip-path","clip-rule","color","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","contain","content","content-visibility","counter-increment","counter-reset","cue","cue-after","cue-before","cursor","direction","display","empty-cells","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","float","flow","font","font-display","font-family","font-feature-settings","font-kerning","font-language-override","font-size","font-size-adjust","font-smoothing","font-stretch","font-style","font-synthesis","font-variant","font-variant-caps","font-variant-east-asian","font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","gap","glyph-orientation-vertical","grid","grid-area","grid-auto-columns","grid-auto-flow","grid-auto-rows","grid-column","grid-column-end","grid-column-start","grid-gap","grid-row","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","hyphens","icon","image-orientation","image-rendering","image-resolution","ime-mode","inline-size","isolation","justify-content","left","letter-spacing","line-break","line-height","list-style","list-style-image","list-style-position","list-style-type","margin","margin-block","margin-block-end","margin-block-start","margin-bottom","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","margin-top","marks","mask","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-mode","mask-origin","mask-position","mask-repeat","mask-size","mask-type","max-block-size","max-height","max-inline-size","max-width","min-block-size","min-height","min-inline-size","min-width","mix-blend-mode","nav-down","nav-index","nav-left","nav-right","nav-up","none","normal","object-fit","object-position","opacity","order","orphans","outline","outline-color","outline-offset","outline-style","outline-width","overflow","overflow-wrap","overflow-x","overflow-y","padding","padding-block","padding-block-end","padding-block-start","padding-bottom","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","padding-top","page-break-after","page-break-before","page-break-inside","pause","pause-after","pause-before","perspective","perspective-origin","pointer-events","position","quotes","resize","rest","rest-after","rest-before","right","row-gap","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","scroll-snap-align","scroll-snap-stop","scroll-snap-type","scrollbar-color","scrollbar-gutter","scrollbar-width","shape-image-threshold","shape-margin","shape-outside","speak","speak-as","src","tab-size","table-layout","text-align","text-align-all","text-align-last","text-combine-upright","text-decoration","text-decoration-color","text-decoration-line","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-indent","text-justify","text-orientation","text-overflow","text-rendering","text-shadow","text-transform","text-underline-position","top","transform","transform-box","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","unicode-bidi","vertical-align","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","white-space","widows","width","will-change","word-break","word-spacing","word-wrap","writing-mode","z-index"].reverse();function $d(e){const t=e.regex,r=Pd(e),n={begin:/-(webkit|moz|ms|o)-(?=[a-z])/},i="and or not only",a=/@-?\w[\w]*(-\w+)*/,s="[a-zA-Z-][a-zA-Z0-9_-]*",o=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE];return{name:"CSS",case_insensitive:!0,illegal:/[=|'\$]/,keywords:{keyframePosition:"from to"},classNameAliases:{keyframePosition:"selector-tag"},contains:[r.BLOCK_COMMENT,n,r.CSS_NUMBER_MODE,{className:"selector-id",begin:/#[A-Za-z0-9_-]+/,relevance:0},{className:"selector-class",begin:"\\."+s,relevance:0},r.ATTRIBUTE_SELECTOR_MODE,{className:"selector-pseudo",variants:[{begin:":("+Ud.join("|")+")"},{begin:":(:)?("+Gd.join("|")+")"}]},r.CSS_VARIABLE,{className:"attribute",begin:"\\b("+jd.join("|")+")\\b"},{begin:/:/,end:/[;}{]/,contains:[r.BLOCK_COMMENT,r.HEXCOLOR,r.IMPORTANT,r.CSS_NUMBER_MODE,...o,{begin:/(url|data-uri)\(/,end:/\)/,relevance:0,keywords:{built_in:"url data-uri"},contains:[...o,{className:"string",begin:/[^)]/,endsWithParent:!0,excludeEnd:!0}]},r.FUNCTION_DISPATCH]},{begin:t.lookahead(/@/),end:"[{;]",relevance:0,illegal:/:/,contains:[{className:"keyword",begin:a},{begin:/\s/,endsWithParent:!0,excludeEnd:!0,relevance:0,keywords:{$pattern:/[a-z-]+/,keyword:i,attribute:Hd.join(" ")},contains:[{begin:/[a-z-]+(?=:)/,className:"attribute"},...o,r.CSS_NUMBER_MODE]}]},{className:"selector-tag",begin:"\\b("+qd.join("|")+")\\b"}]}}const Vd=Object.freeze(Object.defineProperty({__proto__:null,default:$d},Symbol.toStringTag,{value:"Module"})),vn="[A-Za-z$_][0-9A-Za-z$_]*",ao=["as","in","of","if","for","while","finally","var","new","function","do","return","void","else","break","catch","instanceof","with","throw","case","default","try","switch","continue","typeof","delete","let","yield","const","class","debugger","async","await","static","import","from","export","extends"],io=["true","false","null","undefined","NaN","Infinity"],so=["Object","Function","Boolean","Symbol","Math","Date","Number","BigInt","String","RegExp","Array","Float32Array","Float64Array","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Int32Array","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array","Set","Map","WeakSet","WeakMap","ArrayBuffer","SharedArrayBuffer","Atomics","DataView","JSON","Promise","Generator","GeneratorFunction","AsyncFunction","Reflect","Proxy","Intl","WebAssembly"],oo=["Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"],lo=["setInterval","setTimeout","clearInterval","clearTimeout","require","exports","eval","isFinite","isNaN","parseFloat","parseInt","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","unescape"],uo=["arguments","this","super","console","window","document","localStorage","sessionStorage","module","global"],co=[].concat(lo,so,oo);function Wd(e){const t=e.regex,r=(L,{after:Q})=>{const v="</"+L[0].slice(1);return L.input.indexOf(v,Q)!==-1},n=vn,i={begin:"<>",end:"</>"},a=/<[A-Za-z0-9\\._:-]+\s*\/>/,s={begin:/<[A-Za-z0-9\\._:-]+/,end:/\/[A-Za-z0-9\\._:-]+>|\/>/,isTrulyOpeningTag:(L,Q)=>{const v=L[0].length+L.index,se=L.input[v];if(se==="<"||se===","){Q.ignoreMatch();return}se===">"&&(r(L,{after:v})||Q.ignoreMatch());let ce;const x=L.input.substring(v);if(ce=x.match(/^\s*=/)){Q.ignoreMatch();return}if((ce=x.match(/^\s+extends\s+/))&&ce.index===0){Q.ignoreMatch();return}}},o={$pattern:vn,keyword:ao,literal:io,built_in:co,"variable.language":uo},l="[0-9](_?[0-9])*",h=`\\.(${l})`,d="0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*",p={className:"number",variants:[{begin:`(\\b(${d})((${h})|\\.)?|(${h}))[eE][+-]?(${l})\\b`},{begin:`\\b(${d})\\b((${h})\\b|\\.)?|(${h})\\b`},{begin:"\\b(0|[1-9](_?[0-9])*)n\\b"},{begin:"\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b"},{begin:"\\b0[bB][0-1](_?[0-1])*n?\\b"},{begin:"\\b0[oO][0-7](_?[0-7])*n?\\b"},{begin:"\\b0[0-7]+n?\\b"}],relevance:0},g={className:"subst",begin:"\\$\\{",end:"\\}",keywords:o,contains:[]},m={begin:"html`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"xml"}},z={begin:"css`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"css"}},k={begin:"gql`",end:"",starts:{end:"`",returnEnd:!1,contains:[e.BACKSLASH_ESCAPE,g],subLanguage:"graphql"}},N={className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE,g]},C={className:"comment",variants:[e.COMMENT(/\/\*\*(?!\/)/,"\\*/",{relevance:0,contains:[{begin:"(?=@[A-Za-z]+)",relevance:0,contains:[{className:"doctag",begin:"@[A-Za-z]+"},{className:"type",begin:"\\{",end:"\\}",excludeEnd:!0,excludeBegin:!0,relevance:0},{className:"variable",begin:n+"(?=\\s*(-)|$)",endsParent:!0,relevance:0},{begin:/(?=[^\n])\s/,relevance:0}]}]}),e.C_BLOCK_COMMENT_MODE,e.C_LINE_COMMENT_MODE]},R=[e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,z,k,N,{match:/\$\d+/},p];g.contains=R.concat({begin:/\{/,end:/\}/,keywords:o,contains:["self"].concat(R)});const W=[].concat(C,g.contains),H=W.concat([{begin:/\(/,end:/\)/,keywords:o,contains:["self"].concat(W)}]),T={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:H},X={variants:[{match:[/class/,/\s+/,n,/\s+/,/extends/,/\s+/,t.concat(n,"(",t.concat(/\./,n),")*")],scope:{1:"keyword",3:"title.class",5:"keyword",7:"title.class.inherited"}},{match:[/class/,/\s+/,n],scope:{1:"keyword",3:"title.class"}}]},ee={relevance:0,match:t.either(/\bJSON/,/\b[A-Z][a-z]+([A-Z][a-z]*|\d)*/,/\b[A-Z]{2,}([A-Z][a-z]+|\d)+([A-Z][a-z]*)*/,/\b[A-Z]{2,}[a-z]+([A-Z][a-z]+|\d)*([A-Z][a-z]*)*/),className:"title.class",keywords:{_:[...so,...oo]}},G={label:"use_strict",className:"meta",relevance:10,begin:/^\s*['"]use (strict|asm)['"]/},M={variants:[{match:[/function/,/\s+/,n,/(?=\s*\()/]},{match:[/function/,/\s*(?=\()/]}],className:{1:"keyword",3:"title.function"},label:"func.def",contains:[T],illegal:/%/},V={relevance:0,match:/\b[A-Z][A-Z_0-9]+\b/,className:"variable.constant"};function $(L){return t.concat("(?!",L.join("|"),")")}const de={match:t.concat(/\b/,$([...lo,"super","import"]),n,t.lookahead(/\(/)),className:"title.function",relevance:0},ue={begin:t.concat(/\./,t.lookahead(t.concat(n,/(?![0-9A-Za-z$_(])/))),end:n,excludeBegin:!0,keywords:"prototype",className:"property",relevance:0},re={match:[/get|set/,/\s+/,n,/(?=\()/],className:{1:"keyword",3:"title.function"},contains:[{begin:/\(\)/},T]},ve="(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|"+e.UNDERSCORE_IDENT_RE+")\\s*=>",O={match:[/const|var|let/,/\s+/,n,/\s*/,/=\s*/,/(async\s*)?/,t.lookahead(ve)],keywords:"async",className:{1:"keyword",3:"title.function"},contains:[T]};return{name:"JavaScript",aliases:["js","jsx","mjs","cjs"],keywords:o,exports:{PARAMS_CONTAINS:H,CLASS_REFERENCE:ee},illegal:/#(?![$_A-z])/,contains:[e.SHEBANG({label:"shebang",binary:"node",relevance:5}),G,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,m,z,k,N,C,{match:/\$\d+/},p,ee,{className:"attr",begin:n+t.lookahead(":"),relevance:0},O,{begin:"("+e.RE_STARTERS_RE+"|\\b(case|return|throw)\\b)\\s*",keywords:"return throw case",relevance:0,contains:[C,e.REGEXP_MODE,{className:"function",begin:ve,returnBegin:!0,end:"\\s*=>",contains:[{className:"params",variants:[{begin:e.UNDERSCORE_IDENT_RE,relevance:0},{className:null,begin:/\(\s*\)/,skip:!0},{begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0,keywords:o,contains:H}]}]},{begin:/,/,relevance:0},{match:/\s+/,relevance:0},{variants:[{begin:i.begin,end:i.end},{match:a},{begin:s.begin,"on:begin":s.isTrulyOpeningTag,end:s.end}],subLanguage:"xml",contains:[{begin:s.begin,end:s.end,skip:!0,contains:["self"]}]}]},M,{beginKeywords:"while if switch catch for"},{begin:"\\b(?!function)"+e.UNDERSCORE_IDENT_RE+"\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",returnBegin:!0,label:"func.def",contains:[T,e.inherit(e.TITLE_MODE,{begin:n,className:"title.function"})]},{match:/\.\.\./,relevance:0},ue,{match:"\\$"+n,relevance:0},{match:[/\bconstructor(?=\s*\()/],className:{1:"title.function"},contains:[T]},de,V,X,re,{match:/\$[(.]/}]}}function Xd(e){const t=Wd(e),r=vn,n=["any","void","number","boolean","string","object","never","symbol","bigint","unknown"],i={beginKeywords:"namespace",end:/\{/,excludeEnd:!0,contains:[t.exports.CLASS_REFERENCE]},a={beginKeywords:"interface",end:/\{/,excludeEnd:!0,keywords:{keyword:"interface extends",built_in:n},contains:[t.exports.CLASS_REFERENCE]},s={className:"meta",relevance:10,begin:/^\s*['"]use strict['"]/},o=["type","namespace","interface","public","private","protected","implements","declare","abstract","readonly","enum","override"],l={$pattern:vn,keyword:ao.concat(o),literal:io,built_in:co.concat(n),"variable.language":uo},h={className:"meta",begin:"@"+r},d=(g,m,z)=>{const k=g.contains.findIndex(N=>N.label===m);if(k===-1)throw new Error("can not find mode to replace");g.contains.splice(k,1,z)};Object.assign(t.keywords,l),t.exports.PARAMS_CONTAINS.push(h),t.contains=t.contains.concat([h,i,a]),d(t,"shebang",e.SHEBANG()),d(t,"use_strict",s);const p=t.contains.find(g=>g.label==="func.def");return p.relevance=0,Object.assign(t,{name:"TypeScript",aliases:["ts","tsx","mts","cts"]}),t}const Kd=Object.freeze(Object.defineProperty({__proto__:null,default:Xd},Symbol.toStringTag,{value:"Module"})),zt=Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"}));nt.AIChat=Oh,Object.defineProperty(nt,Symbol.toStringTag,{value:"Module"})});