@alicloud/appflow-chat 0.0.4-alpha.8 → 0.0.4-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/appflow-chat.cjs.js +41 -41
- package/dist/appflow-chat.esm.js +3361 -3342
- package/dist/types/index.d.ts +33 -5
- package/package.json +1 -1
- package/src/App.tsx +6 -3
- package/src/components/ChatSender.tsx +11 -9
- package/src/index.ts +1 -0
- package/src/services/ChatService.ts +123 -82
package/dist/appflow-chat.cjs.js
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
"use strict";var U4=Object.defineProperty,j4=Object.defineProperties;var $4=Object.getOwnPropertyDescriptors;var ki=Object.getOwnPropertySymbols;var nc=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable;var Pn=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),q4=e=>{throw TypeError(e)},ic=Math.pow,A0=(e,t,r)=>t in e?U4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,se=(e,t)=>{for(var r in t||(t={}))nc.call(t,r)&&A0(e,r,t[r]);if(ki)for(var r of ki(t))ac.call(t,r)&&A0(e,r,t[r]);return e},it=(e,t)=>j4(e,$4(t));var Ci=(e,t)=>{var r={};for(var n in e)nc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ki)for(var n of ki(e))t.indexOf(n)<0&&ac.call(e,n)&&(r[n]=e[n]);return r};var Fn=(e,t,r)=>A0(e,typeof t!="symbol"?t+"":t,r);var Fe=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{o(r.next(u))}catch(l){a(l)}},s=u=>{try{o(r.throw(u))}catch(l){a(l)}},o=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,s);o((r=r.apply(e,t)).next())}),dn=function(e,t){this[0]=e,this[1]=t},S0=(e,t,r)=>{var n=(s,o,u,l)=>{try{var c=r[s](o),f=(o=c.value)instanceof dn,p=c.done;Promise.resolve(f?o[0]:o).then(h=>f?n(s==="return"?s:"next",o[1]?{done:h.done,value:h.value}:h,u,l):u({value:h,done:p})).catch(h=>n("throw",h,u,l))}catch(h){l(h)}},a=s=>i[s]=o=>new Promise((u,l)=>n(s,o,u,l)),i={};return r=r.apply(e,t),i[Pn("asyncIterator")]=()=>i,a("next"),a("throw"),a("return"),i},k0=e=>{var t=e[Pn("asyncIterator")],r=!1,n,a={};return t==null?(t=e[Pn("iterator")](),n=i=>a[i]=s=>t[i](s)):(t=t.call(e),n=i=>a[i]=s=>{if(r){if(r=!1,i==="throw")throw s;return s}return r=!0,{done:!1,value:new dn(new Promise(o=>{var u=t[i](s);u instanceof Object||q4("Object expected"),o(u)}),1)}}),a[Pn("iterator")]=()=>a,n("next"),"throw"in t?n("throw"):a.throw=i=>{throw i},"return"in t&&n("return"),a},sc=(e,t,r)=>(t=e[Pn("asyncIterator")])?t.call(e):(e=e[Pn("iterator")](),t={},r=(n,a)=>(a=e[n])&&(t[n]=i=>new Promise((s,o,u)=>(i=a.call(e,i),u=i.done,Promise.resolve(i.value).then(l=>s({value:l,done:u}),o)))),r("next"),r("return"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),G=require("react"),ye=require("antd"),ot=require("@ant-design/icons"),C0=require("@ant-design/x");let gn=null,wa=null;const Y4="https://g.alicdn.com/code/npm/@ali/chatui-sdk/6.6.5/ChatSSE.js";function W4(){return wa||(wa=new Promise((e,t)=>{var n;if((n=window.ChatSSE)!=null&&n.fetchEventSource){gn=window.ChatSSE.fetchEventSource,e(gn);return}const r=document.createElement("script");r.src=Y4,r.async=!0,r.onload=()=>{var a;gn=(a=window.ChatSSE)==null?void 0:a.fetchEventSource,gn?e(gn):t(new Error("ChatSSE.fetchEventSource not found after script load"))},r.onerror=()=>{wa=null,t(new Error("Failed to load ChatSSE script from CDN"))},document.head.appendChild(r)}),wa)}function V4(){return Fe(this,null,function*(){return gn||W4()})}function G4(e,t){return Fe(this,null,function*(){return(yield V4())(e,t)})}function Hd(e,t){return function(){return e.apply(t,arguments)}}const{toString:X4}=Object.prototype,{getPrototypeOf:Rs}=Object,{iterator:Ds,toStringTag:Ud}=Symbol,Ls=(e=>t=>{const r=X4.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),sr=e=>(e=e.toLowerCase(),t=>Ls(t)===e),Ms=e=>t=>typeof t===e,{isArray:oa}=Array,Gn=Ms("undefined");function ui(e){return e!==null&&!Gn(e)&&e.constructor!==null&&!Gn(e.constructor)&&Ft(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jd=sr("ArrayBuffer");function K4(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jd(e.buffer),t}const Q4=Ms("string"),Ft=Ms("function"),$d=Ms("number"),li=e=>e!==null&&typeof e=="object",J4=e=>e===!0||e===!1,Ki=e=>{if(Ls(e)!=="object")return!1;const t=Rs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ud in e)&&!(Ds in e)},Z4=e=>{if(!li(e)||ui(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},e3=sr("Date"),t3=sr("File"),r3=e=>!!(e&&typeof e.uri!="undefined"),n3=e=>e&&typeof e.getParts!="undefined",a3=sr("Blob"),i3=sr("FileList"),s3=e=>li(e)&&Ft(e.pipe);function o3(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const oc=o3(),uc=typeof oc.FormData!="undefined"?oc.FormData:void 0,u3=e=>{if(!e)return!1;if(uc&&e instanceof uc)return!0;const t=Rs(e);if(!t||t===Object.prototype||!Ft(e.append))return!1;const r=Ls(e);return r==="formdata"||r==="object"&&Ft(e.toString)&&e.toString()==="[object FormData]"},l3=sr("URLSearchParams"),[c3,f3,d3,h3]=["ReadableStream","Request","Response","Headers"].map(sr),m3=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ci(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,a;if(typeof e!="object"&&(e=[e]),oa(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{if(ui(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let o;for(n=0;n<s;n++)o=i[n],t.call(null,e[o],o,e)}}function qd(e,t){if(ui(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const xn=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,Yd=e=>!Gn(e)&&e!==xn;function _o(){const{caseless:e,skipUndefined:t}=Yd(this)&&this||{},r={},n=(a,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=e&&qd(r,i)||i;Ki(r[s])&&Ki(a)?r[s]=_o(r[s],a):Ki(a)?r[s]=_o({},a):oa(a)?r[s]=a.slice():(!t||!Gn(a))&&(r[s]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&ci(arguments[a],n);return r}const p3=(e,t,r,{allOwnKeys:n}={})=>(ci(t,(a,i)=>{r&&Ft(a)?Object.defineProperty(e,i,{value:Hd(a,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),g3=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),b3=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},y3=(e,t,r,n)=>{let a,i,s;const o={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!n||n(s,e,t))&&!o[s]&&(t[s]=e[s],o[s]=!0);e=r!==!1&&Rs(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},x3=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},E3=e=>{if(!e)return null;if(oa(e))return e;let t=e.length;if(!$d(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},T3=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Rs(Uint8Array)),v3=(e,t)=>{const n=(e&&e[Ds]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},w3=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},A3=sr("HTMLFormElement"),S3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),lc=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),k3=sr("RegExp"),Wd=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};ci(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},C3=e=>{Wd(e,(t,r)=>{if(Ft(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ft(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},I3=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return oa(e)?n(e):n(String(e).split(t)),r},_3=()=>{},N3=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function O3(e){return!!(e&&Ft(e.append)&&e[Ud]==="FormData"&&e[Ds])}const R3=e=>{const t=new Array(10),r=(n,a)=>{if(li(n)){if(t.indexOf(n)>=0)return;if(ui(n))return n;if(!("toJSON"in n)){t[a]=n;const i=oa(n)?[]:{};return ci(n,(s,o)=>{const u=r(s,a+1);!Gn(u)&&(i[o]=u)}),t[a]=void 0,i}}return n};return r(e,0)},D3=sr("AsyncFunction"),L3=e=>e&&(li(e)||Ft(e))&&Ft(e.then)&&Ft(e.catch),Vd=((e,t)=>e?setImmediate:t?((r,n)=>(xn.addEventListener("message",({source:a,data:i})=>{a===xn&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),xn.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ft(xn.postMessage)),M3=typeof queueMicrotask!="undefined"?queueMicrotask.bind(xn):typeof process!="undefined"&&process.nextTick||Vd,P3=e=>e!=null&&Ft(e[Ds]),j={isArray:oa,isArrayBuffer:jd,isBuffer:ui,isFormData:u3,isArrayBufferView:K4,isString:Q4,isNumber:$d,isBoolean:J4,isObject:li,isPlainObject:Ki,isEmptyObject:Z4,isReadableStream:c3,isRequest:f3,isResponse:d3,isHeaders:h3,isUndefined:Gn,isDate:e3,isFile:t3,isReactNativeBlob:r3,isReactNative:n3,isBlob:a3,isRegExp:k3,isFunction:Ft,isStream:s3,isURLSearchParams:l3,isTypedArray:T3,isFileList:i3,forEach:ci,merge:_o,extend:p3,trim:m3,stripBOM:g3,inherits:b3,toFlatObject:y3,kindOf:Ls,kindOfTest:sr,endsWith:x3,toArray:E3,forEachEntry:v3,matchAll:w3,isHTMLForm:A3,hasOwnProperty:lc,hasOwnProp:lc,reduceDescriptors:Wd,freezeMethods:C3,toObjectSet:I3,toCamelCase:S3,noop:_3,toFiniteNumber:N3,findKey:qd,global:xn,isContextDefined:Yd,isSpecCompliantForm:O3,toJSONObject:R3,isAsyncFn:D3,isThenable:L3,setImmediate:Vd,asap:M3,isIterable:P3};let Ae=class Gd extends Error{static from(t,r,n,a,i,s){const o=new Gd(t.message,r||t.code,n,a,i);return o.cause=t,o.name=t.name,t.status!=null&&o.status==null&&(o.status=t.status),s&&Object.assign(o,s),o}constructor(t,r,n,a,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),a&&(this.request=a),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.status}}};Ae.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ae.ERR_BAD_OPTION="ERR_BAD_OPTION";Ae.ECONNABORTED="ECONNABORTED";Ae.ETIMEDOUT="ETIMEDOUT";Ae.ERR_NETWORK="ERR_NETWORK";Ae.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ae.ERR_DEPRECATED="ERR_DEPRECATED";Ae.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ae.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ae.ERR_CANCELED="ERR_CANCELED";Ae.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ae.ERR_INVALID_URL="ERR_INVALID_URL";Ae.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const F3=null;function No(e){return j.isPlainObject(e)||j.isArray(e)}function Xd(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function I0(e,t,r){return e?e.concat(t).map(function(a,i){return a=Xd(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function B3(e){return j.isArray(e)&&!e.some(No)}const z3=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Ps(e,t,r){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=j.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,T){return!j.isUndefined(T[E])});const n=r.metaTokens,a=r.visitor||f,i=r.dots,s=r.indexes,o=r.Blob||typeof Blob!="undefined"&&Blob,u=r.maxDepth===void 0?100:r.maxDepth,l=o&&j.isSpecCompliantForm(t);if(!j.isFunction(a))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(j.isDate(y))return y.toISOString();if(j.isBoolean(y))return y.toString();if(!l&&j.isBlob(y))throw new Ae("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(y)||j.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,E,T){let A=y;if(j.isReactNative(t)&&j.isReactNativeBlob(y))return t.append(I0(T,E,i),c(y)),!1;if(y&&!T&&typeof y=="object"){if(j.endsWith(E,"{}"))E=n?E:E.slice(0,-2),y=JSON.stringify(y);else if(j.isArray(y)&&B3(y)||(j.isFileList(y)||j.endsWith(E,"[]"))&&(A=j.toArray(y)))return E=Xd(E),A.forEach(function(F,B){!(j.isUndefined(F)||F===null)&&t.append(s===!0?I0([E],B,i):s===null?E:E+"[]",c(F))}),!1}return No(y)?!0:(t.append(I0(T,E,i),c(y)),!1)}const p=[],h=Object.assign(z3,{defaultVisitor:f,convertValue:c,isVisitable:No});function b(y,E,T=0){if(!j.isUndefined(y)){if(T>u)throw new Ae("Object is too deeply nested ("+T+" levels). Max depth: "+u,Ae.ERR_FORM_DATA_DEPTH_EXCEEDED);if(p.indexOf(y)!==-1)throw Error("Circular reference detected in "+E.join("."));p.push(y),j.forEach(y,function(k,F){(!(j.isUndefined(k)||k===null)&&a.call(t,k,j.isString(F)?F.trim():F,E,h))===!0&&b(k,E?E.concat(F):[F],T+1)}),p.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return b(e),t}function cc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function $u(e,t){this._pairs=[],e&&Ps(e,this,t)}const Kd=$u.prototype;Kd.append=function(t,r){this._pairs.push([t,r])};Kd.toString=function(t){const r=t?function(n){return t.call(this,n,cc)}:cc;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function H3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Qd(e,t,r){if(!t)return e;const n=r&&r.encode||H3,a=j.isFunction(r)?{serialize:r}:r,i=a&&a.serialize;let s;if(i?s=i(t,a):s=j.isURLSearchParams(t)?t.toString():new $u(t,a).toString(n),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class fc{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(n){n!==null&&t(n)})}}const qu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},U3=typeof URLSearchParams!="undefined"?URLSearchParams:$u,j3=typeof FormData!="undefined"?FormData:null,$3=typeof Blob!="undefined"?Blob:null,q3={isBrowser:!0,classes:{URLSearchParams:U3,FormData:j3,Blob:$3},protocols:["http","https","file","blob","url","data"]},Yu=typeof window!="undefined"&&typeof document!="undefined",Oo=typeof navigator=="object"&&navigator||void 0,Y3=Yu&&(!Oo||["ReactNative","NativeScript","NS"].indexOf(Oo.product)<0),W3=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",V3=Yu&&window.location.href||"http://localhost",G3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yu,hasStandardBrowserEnv:Y3,hasStandardBrowserWebWorkerEnv:W3,navigator:Oo,origin:V3},Symbol.toStringTag,{value:"Module"})),vt=se(se({},G3),q3);function X3(e,t){return Ps(e,new vt.classes.URLSearchParams,se({visitor:function(r,n,a,i){return vt.isNode&&j.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function K3(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Q3(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function Jd(e){function t(r,n,a,i){let s=r[i++];if(s==="__proto__")return!0;const o=Number.isFinite(+s),u=i>=r.length;return s=!s&&j.isArray(a)?a.length:s,u?(j.hasOwnProp(a,s)?a[s]=j.isArray(a[s])?a[s].concat(n):[a[s],n]:a[s]=n,!o):((!a[s]||!j.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&j.isArray(a[s])&&(a[s]=Q3(a[s])),!o)}if(j.isFormData(e)&&j.isFunction(e.entries)){const r={};return j.forEachEntry(e,(n,a)=>{t(K3(n),a,r,0)}),r}return null}const Bn=(e,t)=>e!=null&&j.hasOwnProp(e,t)?e[t]:void 0;function J3(e,t,r){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const fi={transitional:qu,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=j.isObject(t);if(i&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return a?JSON.stringify(Jd(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t)||j.isReadableStream(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){const u=Bn(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return X3(t,u).toString();if((o=j.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=Bn(this,"env"),c=l&&l.FormData;return Ps(o?{"files[]":t}:t,c&&new c,u)}}return i||a?(r.setContentType("application/json",!1),J3(t)):t}],transformResponse:[function(t){const r=Bn(this,"transitional")||fi.transitional,n=r&&r.forcedJSONParsing,a=Bn(this,"responseType"),i=a==="json";if(j.isResponse(t)||j.isReadableStream(t))return t;if(t&&j.isString(t)&&(n&&!a||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t,Bn(this,"parseReviver"))}catch(u){if(o)throw u.name==="SyntaxError"?Ae.from(u,Ae.ERR_BAD_RESPONSE,this,null,Bn(this,"response")):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vt.classes.FormData,Blob:vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{fi.headers[e]={}});const Z3=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),e6=e=>{const t={};let r,n,a;return e&&e.split(`
|
|
1
|
+
"use strict";var U4=Object.defineProperty,j4=Object.defineProperties;var $4=Object.getOwnPropertyDescriptors;var ki=Object.getOwnPropertySymbols;var nc=Object.prototype.hasOwnProperty,ac=Object.prototype.propertyIsEnumerable;var Pn=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),q4=e=>{throw TypeError(e)},ic=Math.pow,A0=(e,t,r)=>t in e?U4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,ae=(e,t)=>{for(var r in t||(t={}))nc.call(t,r)&&A0(e,r,t[r]);if(ki)for(var r of ki(t))ac.call(t,r)&&A0(e,r,t[r]);return e},it=(e,t)=>j4(e,$4(t));var Ci=(e,t)=>{var r={};for(var n in e)nc.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&ki)for(var n of ki(e))t.indexOf(n)<0&&ac.call(e,n)&&(r[n]=e[n]);return r};var Fn=(e,t,r)=>A0(e,typeof t!="symbol"?t+"":t,r);var Pe=(e,t,r)=>new Promise((n,a)=>{var i=u=>{try{o(r.next(u))}catch(l){a(l)}},s=u=>{try{o(r.throw(u))}catch(l){a(l)}},o=u=>u.done?n(u.value):Promise.resolve(u.value).then(i,s);o((r=r.apply(e,t)).next())}),dn=function(e,t){this[0]=e,this[1]=t},S0=(e,t,r)=>{var n=(s,o,u,l)=>{try{var c=r[s](o),f=(o=c.value)instanceof dn,p=c.done;Promise.resolve(f?o[0]:o).then(h=>f?n(s==="return"?s:"next",o[1]?{done:h.done,value:h.value}:h,u,l):u({value:h,done:p})).catch(h=>n("throw",h,u,l))}catch(h){l(h)}},a=s=>i[s]=o=>new Promise((u,l)=>n(s,o,u,l)),i={};return r=r.apply(e,t),i[Pn("asyncIterator")]=()=>i,a("next"),a("throw"),a("return"),i},k0=e=>{var t=e[Pn("asyncIterator")],r=!1,n,a={};return t==null?(t=e[Pn("iterator")](),n=i=>a[i]=s=>t[i](s)):(t=t.call(e),n=i=>a[i]=s=>{if(r){if(r=!1,i==="throw")throw s;return s}return r=!0,{done:!1,value:new dn(new Promise(o=>{var u=t[i](s);u instanceof Object||q4("Object expected"),o(u)}),1)}}),a[Pn("iterator")]=()=>a,n("next"),"throw"in t?n("throw"):a.throw=i=>{throw i},"return"in t&&n("return"),a},sc=(e,t,r)=>(t=e[Pn("asyncIterator")])?t.call(e):(e=e[Pn("iterator")](),t={},r=(n,a)=>(a=e[n])&&(t[n]=i=>new Promise((s,o,u)=>(i=a.call(e,i),u=i.done,Promise.resolve(i.value).then(l=>s({value:l,done:u}),o)))),r("next"),r("return"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),G=require("react"),ye=require("antd"),ot=require("@ant-design/icons"),C0=require("@ant-design/x");let gn=null,wa=null;const Y4="https://g.alicdn.com/code/npm/@ali/chatui-sdk/6.6.5/ChatSSE.js";function W4(){return wa||(wa=new Promise((e,t)=>{var n;if((n=window.ChatSSE)!=null&&n.fetchEventSource){gn=window.ChatSSE.fetchEventSource,e(gn);return}const r=document.createElement("script");r.src=Y4,r.async=!0,r.onload=()=>{var a;gn=(a=window.ChatSSE)==null?void 0:a.fetchEventSource,gn?e(gn):t(new Error("ChatSSE.fetchEventSource not found after script load"))},r.onerror=()=>{wa=null,t(new Error("Failed to load ChatSSE script from CDN"))},document.head.appendChild(r)}),wa)}function V4(){return Pe(this,null,function*(){return gn||W4()})}function G4(e,t){return Pe(this,null,function*(){return(yield V4())(e,t)})}function Hd(e,t){return function(){return e.apply(t,arguments)}}const{toString:X4}=Object.prototype,{getPrototypeOf:Rs}=Object,{iterator:Ds,toStringTag:Ud}=Symbol,Ls=(e=>t=>{const r=X4.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),sr=e=>(e=e.toLowerCase(),t=>Ls(t)===e),Ms=e=>t=>typeof t===e,{isArray:oa}=Array,Gn=Ms("undefined");function ui(e){return e!==null&&!Gn(e)&&e.constructor!==null&&!Gn(e.constructor)&&Ft(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const jd=sr("ArrayBuffer");function K4(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&jd(e.buffer),t}const Q4=Ms("string"),Ft=Ms("function"),$d=Ms("number"),li=e=>e!==null&&typeof e=="object",J4=e=>e===!0||e===!1,Ki=e=>{if(Ls(e)!=="object")return!1;const t=Rs(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ud in e)&&!(Ds in e)},Z4=e=>{if(!li(e)||ui(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},e3=sr("Date"),t3=sr("File"),r3=e=>!!(e&&typeof e.uri!="undefined"),n3=e=>e&&typeof e.getParts!="undefined",a3=sr("Blob"),i3=sr("FileList"),s3=e=>li(e)&&Ft(e.pipe);function o3(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const oc=o3(),uc=typeof oc.FormData!="undefined"?oc.FormData:void 0,u3=e=>{if(!e)return!1;if(uc&&e instanceof uc)return!0;const t=Rs(e);if(!t||t===Object.prototype||!Ft(e.append))return!1;const r=Ls(e);return r==="formdata"||r==="object"&&Ft(e.toString)&&e.toString()==="[object FormData]"},l3=sr("URLSearchParams"),[c3,f3,d3,h3]=["ReadableStream","Request","Response","Headers"].map(sr),m3=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ci(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,a;if(typeof e!="object"&&(e=[e]),oa(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{if(ui(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let o;for(n=0;n<s;n++)o=i[n],t.call(null,e[o],o,e)}}function qd(e,t){if(ui(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n=r.length,a;for(;n-- >0;)if(a=r[n],t===a.toLowerCase())return a;return null}const xn=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,Yd=e=>!Gn(e)&&e!==xn;function _o(){const{caseless:e,skipUndefined:t}=Yd(this)&&this||{},r={},n=(a,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=e&&qd(r,i)||i;Ki(r[s])&&Ki(a)?r[s]=_o(r[s],a):Ki(a)?r[s]=_o({},a):oa(a)?r[s]=a.slice():(!t||!Gn(a))&&(r[s]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&ci(arguments[a],n);return r}const p3=(e,t,r,{allOwnKeys:n}={})=>(ci(t,(a,i)=>{r&&Ft(a)?Object.defineProperty(e,i,{value:Hd(a,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),g3=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),b3=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},y3=(e,t,r,n)=>{let a,i,s;const o={};if(t=t||{},e==null)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)s=a[i],(!n||n(s,e,t))&&!o[s]&&(t[s]=e[s],o[s]=!0);e=r!==!1&&Rs(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},x3=(e,t,r)=>{e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return n!==-1&&n===r},E3=e=>{if(!e)return null;if(oa(e))return e;let t=e.length;if(!$d(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},T3=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Rs(Uint8Array)),v3=(e,t)=>{const n=(e&&e[Ds]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},w3=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},A3=sr("HTMLFormElement"),S3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),lc=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),k3=sr("RegExp"),Wd=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};ci(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},C3=e=>{Wd(e,(t,r)=>{if(Ft(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ft(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},I3=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return oa(e)?n(e):n(String(e).split(t)),r},_3=()=>{},N3=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function O3(e){return!!(e&&Ft(e.append)&&e[Ud]==="FormData"&&e[Ds])}const R3=e=>{const t=new Array(10),r=(n,a)=>{if(li(n)){if(t.indexOf(n)>=0)return;if(ui(n))return n;if(!("toJSON"in n)){t[a]=n;const i=oa(n)?[]:{};return ci(n,(s,o)=>{const u=r(s,a+1);!Gn(u)&&(i[o]=u)}),t[a]=void 0,i}}return n};return r(e,0)},D3=sr("AsyncFunction"),L3=e=>e&&(li(e)||Ft(e))&&Ft(e.then)&&Ft(e.catch),Vd=((e,t)=>e?setImmediate:t?((r,n)=>(xn.addEventListener("message",({source:a,data:i})=>{a===xn&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),xn.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ft(xn.postMessage)),M3=typeof queueMicrotask!="undefined"?queueMicrotask.bind(xn):typeof process!="undefined"&&process.nextTick||Vd,P3=e=>e!=null&&Ft(e[Ds]),j={isArray:oa,isArrayBuffer:jd,isBuffer:ui,isFormData:u3,isArrayBufferView:K4,isString:Q4,isNumber:$d,isBoolean:J4,isObject:li,isPlainObject:Ki,isEmptyObject:Z4,isReadableStream:c3,isRequest:f3,isResponse:d3,isHeaders:h3,isUndefined:Gn,isDate:e3,isFile:t3,isReactNativeBlob:r3,isReactNative:n3,isBlob:a3,isRegExp:k3,isFunction:Ft,isStream:s3,isURLSearchParams:l3,isTypedArray:T3,isFileList:i3,forEach:ci,merge:_o,extend:p3,trim:m3,stripBOM:g3,inherits:b3,toFlatObject:y3,kindOf:Ls,kindOfTest:sr,endsWith:x3,toArray:E3,forEachEntry:v3,matchAll:w3,isHTMLForm:A3,hasOwnProperty:lc,hasOwnProp:lc,reduceDescriptors:Wd,freezeMethods:C3,toObjectSet:I3,toCamelCase:S3,noop:_3,toFiniteNumber:N3,findKey:qd,global:xn,isContextDefined:Yd,isSpecCompliantForm:O3,toJSONObject:R3,isAsyncFn:D3,isThenable:L3,setImmediate:Vd,asap:M3,isIterable:P3};let Ae=class Gd extends Error{static from(t,r,n,a,i,s){const o=new Gd(t.message,r||t.code,n,a,i);return o.cause=t,o.name=t.name,t.status!=null&&o.status==null&&(o.status=t.status),s&&Object.assign(o,s),o}constructor(t,r,n,a,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),a&&(this.request=a),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.status}}};Ae.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ae.ERR_BAD_OPTION="ERR_BAD_OPTION";Ae.ECONNABORTED="ECONNABORTED";Ae.ETIMEDOUT="ETIMEDOUT";Ae.ERR_NETWORK="ERR_NETWORK";Ae.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ae.ERR_DEPRECATED="ERR_DEPRECATED";Ae.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ae.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ae.ERR_CANCELED="ERR_CANCELED";Ae.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ae.ERR_INVALID_URL="ERR_INVALID_URL";Ae.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const F3=null;function No(e){return j.isPlainObject(e)||j.isArray(e)}function Xd(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function I0(e,t,r){return e?e.concat(t).map(function(a,i){return a=Xd(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function B3(e){return j.isArray(e)&&!e.some(No)}const z3=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Ps(e,t,r){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=j.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(E,T){return!j.isUndefined(T[E])});const n=r.metaTokens,a=r.visitor||f,i=r.dots,s=r.indexes,o=r.Blob||typeof Blob!="undefined"&&Blob,u=r.maxDepth===void 0?100:r.maxDepth,l=o&&j.isSpecCompliantForm(t);if(!j.isFunction(a))throw new TypeError("visitor must be a function");function c(y){if(y===null)return"";if(j.isDate(y))return y.toISOString();if(j.isBoolean(y))return y.toString();if(!l&&j.isBlob(y))throw new Ae("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(y)||j.isTypedArray(y)?l&&typeof Blob=="function"?new Blob([y]):Buffer.from(y):y}function f(y,E,T){let A=y;if(j.isReactNative(t)&&j.isReactNativeBlob(y))return t.append(I0(T,E,i),c(y)),!1;if(y&&!T&&typeof y=="object"){if(j.endsWith(E,"{}"))E=n?E:E.slice(0,-2),y=JSON.stringify(y);else if(j.isArray(y)&&B3(y)||(j.isFileList(y)||j.endsWith(E,"[]"))&&(A=j.toArray(y)))return E=Xd(E),A.forEach(function(F,B){!(j.isUndefined(F)||F===null)&&t.append(s===!0?I0([E],B,i):s===null?E:E+"[]",c(F))}),!1}return No(y)?!0:(t.append(I0(T,E,i),c(y)),!1)}const p=[],h=Object.assign(z3,{defaultVisitor:f,convertValue:c,isVisitable:No});function b(y,E,T=0){if(!j.isUndefined(y)){if(T>u)throw new Ae("Object is too deeply nested ("+T+" levels). Max depth: "+u,Ae.ERR_FORM_DATA_DEPTH_EXCEEDED);if(p.indexOf(y)!==-1)throw Error("Circular reference detected in "+E.join("."));p.push(y),j.forEach(y,function(k,F){(!(j.isUndefined(k)||k===null)&&a.call(t,k,j.isString(F)?F.trim():F,E,h))===!0&&b(k,E?E.concat(F):[F],T+1)}),p.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return b(e),t}function cc(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(n){return t[n]})}function $u(e,t){this._pairs=[],e&&Ps(e,this,t)}const Kd=$u.prototype;Kd.append=function(t,r){this._pairs.push([t,r])};Kd.toString=function(t){const r=t?function(n){return t.call(this,n,cc)}:cc;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function H3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Qd(e,t,r){if(!t)return e;const n=r&&r.encode||H3,a=j.isFunction(r)?{serialize:r}:r,i=a&&a.serialize;let s;if(i?s=i(t,a):s=j.isURLSearchParams(t)?t.toString():new $u(t,a).toString(n),s){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class fc{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(n){n!==null&&t(n)})}}const qu={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},U3=typeof URLSearchParams!="undefined"?URLSearchParams:$u,j3=typeof FormData!="undefined"?FormData:null,$3=typeof Blob!="undefined"?Blob:null,q3={isBrowser:!0,classes:{URLSearchParams:U3,FormData:j3,Blob:$3},protocols:["http","https","file","blob","url","data"]},Yu=typeof window!="undefined"&&typeof document!="undefined",Oo=typeof navigator=="object"&&navigator||void 0,Y3=Yu&&(!Oo||["ReactNative","NativeScript","NS"].indexOf(Oo.product)<0),W3=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",V3=Yu&&window.location.href||"http://localhost",G3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yu,hasStandardBrowserEnv:Y3,hasStandardBrowserWebWorkerEnv:W3,navigator:Oo,origin:V3},Symbol.toStringTag,{value:"Module"})),vt=ae(ae({},G3),q3);function X3(e,t){return Ps(e,new vt.classes.URLSearchParams,ae({visitor:function(r,n,a,i){return vt.isNode&&j.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function K3(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Q3(e){const t={},r=Object.keys(e);let n;const a=r.length;let i;for(n=0;n<a;n++)i=r[n],t[i]=e[i];return t}function Jd(e){function t(r,n,a,i){let s=r[i++];if(s==="__proto__")return!0;const o=Number.isFinite(+s),u=i>=r.length;return s=!s&&j.isArray(a)?a.length:s,u?(j.hasOwnProp(a,s)?a[s]=j.isArray(a[s])?a[s].concat(n):[a[s],n]:a[s]=n,!o):((!a[s]||!j.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&j.isArray(a[s])&&(a[s]=Q3(a[s])),!o)}if(j.isFormData(e)&&j.isFunction(e.entries)){const r={};return j.forEachEntry(e,(n,a)=>{t(K3(n),a,r,0)}),r}return null}const Bn=(e,t)=>e!=null&&j.hasOwnProp(e,t)?e[t]:void 0;function J3(e,t,r){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const fi={transitional:qu,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=j.isObject(t);if(i&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return a?JSON.stringify(Jd(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t)||j.isReadableStream(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let o;if(i){const u=Bn(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return X3(t,u).toString();if((o=j.isFileList(t))||n.indexOf("multipart/form-data")>-1){const l=Bn(this,"env"),c=l&&l.FormData;return Ps(o?{"files[]":t}:t,c&&new c,u)}}return i||a?(r.setContentType("application/json",!1),J3(t)):t}],transformResponse:[function(t){const r=Bn(this,"transitional")||fi.transitional,n=r&&r.forcedJSONParsing,a=Bn(this,"responseType"),i=a==="json";if(j.isResponse(t)||j.isReadableStream(t))return t;if(t&&j.isString(t)&&(n&&!a||i)){const o=!(r&&r.silentJSONParsing)&&i;try{return JSON.parse(t,Bn(this,"parseReviver"))}catch(u){if(o)throw u.name==="SyntaxError"?Ae.from(u,Ae.ERR_BAD_RESPONSE,this,null,Bn(this,"response")):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:vt.classes.FormData,Blob:vt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{fi.headers[e]={}});const Z3=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),e6=e=>{const t={};let r,n,a;return e&&e.split(`
|
|
2
2
|
`).forEach(function(s){a=s.indexOf(":"),r=s.substring(0,a).trim().toLowerCase(),n=s.substring(a+1).trim(),!(!r||t[r]&&Z3[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},dc=Symbol("internals"),t6=/[^\x09\x20-\x7E\x80-\xFF]/g;function r6(e){let t=0,r=e.length;for(;t<r;){const n=e.charCodeAt(t);if(n!==9&&n!==32)break;t+=1}for(;r>t;){const n=e.charCodeAt(r-1);if(n!==9&&n!==32)break;r-=1}return t===0&&r===e.length?e:e.slice(t,r)}function Aa(e){return e&&String(e).trim().toLowerCase()}function n6(e){return r6(e.replace(t6,""))}function Qi(e){return e===!1||e==null?e:j.isArray(e)?e.map(Qi):n6(String(e))}function a6(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}const i6=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function _0(e,t,r,n,a){if(j.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!j.isString(t)){if(j.isString(n))return t.indexOf(n)!==-1;if(j.isRegExp(n))return n.test(t)}}function s6(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function o6(e,t){const r=j.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,s){return this[n].call(this,t,a,i,s)},configurable:!0})})}let Bt=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(o,u,l){const c=Aa(u);if(!c)throw new Error("header name must be a non-empty string");const f=j.findKey(a,c);(!f||a[f]===void 0||l===!0||l===void 0&&a[f]!==!1)&&(a[f||u]=Qi(o))}const s=(o,u)=>j.forEach(o,(l,c)=>i(l,c,u));if(j.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(j.isString(t)&&(t=t.trim())&&!i6(t))s(e6(t),r);else if(j.isObject(t)&&j.isIterable(t)){let o={},u,l;for(const c of t){if(!j.isArray(c))throw TypeError("Object iterator must return a key-value pair");o[l=c[0]]=(u=o[l])?j.isArray(u)?[...u,c[1]]:[u,c[1]]:c[1]}s(o,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=Aa(t),t){const n=j.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return a6(a);if(j.isFunction(r))return r.call(this,a,n);if(j.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=Aa(t),t){const n=j.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||_0(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(s){if(s=Aa(s),s){const o=j.findKey(n,s);o&&(!r||_0(n,n[o],o,r))&&(delete n[o],a=!0)}}return j.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||_0(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return j.forEach(this,(a,i)=>{const s=j.findKey(n,i);if(s){r[s]=Qi(a),delete r[i];return}const o=t?s6(i):String(i).trim();o!==i&&delete r[i],r[o]=Qi(a),n[o]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return j.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&j.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[dc]=this[dc]={accessors:{}}).accessors,a=this.prototype;function i(s){const o=Aa(s);n[o]||(o6(a,s),n[o]=!0)}return j.isArray(t)?t.forEach(i):i(t),this}};Bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(Bt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});j.freezeMethods(Bt);function N0(e,t){const r=this||fi,n=t||r,a=Bt.from(n.headers);let i=n.data;return j.forEach(e,function(o){i=o.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Zd(e){return!!(e&&e.__CANCEL__)}let di=class extends Ae{constructor(t,r,n){super(t==null?"canceled":t,Ae.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function eh(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ae("Request failed with status code "+r.status,[Ae.ERR_BAD_REQUEST,Ae.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function u6(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function l6(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),c=n[i];s||(s=l),r[a]=u,n[a]=l;let f=i,p=0;for(;f!==a;)p+=r[f++],f=f%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),l-s<t)return;const h=c&&l-c;return h?Math.round(p*1e3/h):void 0}}function c6(e,t){let r=0,n=1e3/t,a,i;const s=(l,c=Date.now())=>{r=c,a=null,i&&(clearTimeout(i),i=null),e(...l)};return[(...l)=>{const c=Date.now(),f=c-r;f>=n?s(l,c):(a=l,i||(i=setTimeout(()=>{i=null,s(a)},n-f)))},()=>a&&s(a)]}const hs=(e,t,r=3)=>{let n=0;const a=l6(50,250);return c6(i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,u=o!=null?Math.min(s,o):s,l=Math.max(0,u-n),c=a(l);n=Math.max(n,u);const f={loaded:u,total:o,progress:o?u/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o?(o-u)/c:void 0,event:i,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(f)},r)},hc=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},mc=e=>(...t)=>j.asap(()=>e(...t)),f6=vt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,vt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(vt.origin),vt.navigator&&/(msie|trident)/i.test(vt.navigator.userAgent)):()=>!0,d6=vt.hasStandardBrowserEnv?{write(e,t,r,n,a,i,s){if(typeof document=="undefined")return;const o=[`${e}=${encodeURIComponent(t)}`];j.isNumber(r)&&o.push(`expires=${new Date(r).toUTCString()}`),j.isString(n)&&o.push(`path=${n}`),j.isString(a)&&o.push(`domain=${a}`),i===!0&&o.push("secure"),j.isString(s)&&o.push(`SameSite=${s}`),document.cookie=o.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function h6(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function m6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function th(e,t,r){let n=!h6(t);return e&&(n||r===!1)?m6(e,t):t}const pc=e=>e instanceof Bt?se({},e):e;function Sn(e,t){t=t||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(l,c,f,p){return j.isPlainObject(l)&&j.isPlainObject(c)?j.merge.call({caseless:p},l,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function a(l,c,f,p){if(j.isUndefined(c)){if(!j.isUndefined(l))return n(void 0,l,f,p)}else return n(l,c,f,p)}function i(l,c){if(!j.isUndefined(c))return n(void 0,c)}function s(l,c){if(j.isUndefined(c)){if(!j.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function o(l,c,f){if(j.hasOwnProp(t,f))return n(l,c);if(j.hasOwnProp(e,f))return n(void 0,l)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:o,headers:(l,c,f)=>a(pc(l),pc(c),f,!0)};return j.forEach(Object.keys(se(se({},e),t)),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=j.hasOwnProp(u,c)?u[c]:a,p=j.hasOwnProp(e,c)?e[c]:void 0,h=j.hasOwnProp(t,c)?t[c]:void 0,b=f(p,h,c);j.isUndefined(b)&&f!==o||(r[c]=b)}),r}const rh=e=>{const t=Sn({},e),r=p=>j.hasOwnProp(t,p)?t[p]:void 0,n=r("data");let a=r("withXSRFToken");const i=r("xsrfHeaderName"),s=r("xsrfCookieName");let o=r("headers");const u=r("auth"),l=r("baseURL"),c=r("allowAbsoluteUrls"),f=r("url");if(t.headers=o=Bt.from(o),t.url=Qd(th(l,f,c),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),j.isFormData(n)){if(vt.hasStandardBrowserEnv||vt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(j.isFunction(n.getHeaders)){const p=n.getHeaders(),h=["content-type","content-length"];Object.entries(p).forEach(([b,y])=>{h.includes(b.toLowerCase())&&o.set(b,y)})}}if(vt.hasStandardBrowserEnv&&(j.isFunction(a)&&(a=a(t)),a===!0||a==null&&f6(t.url))){const h=i&&s&&d6.read(s);h&&o.set(i,h)}return t},p6=typeof XMLHttpRequest!="undefined",g6=p6&&function(e){return new Promise(function(r,n){const a=rh(e);let i=a.data;const s=Bt.from(a.headers).normalize();let{responseType:o,onUploadProgress:u,onDownloadProgress:l}=a,c,f,p,h,b;function y(){h&&h(),b&&b(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let E=new XMLHttpRequest;E.open(a.method.toUpperCase(),a.url,!0),E.timeout=a.timeout;function T(){if(!E)return;const k=Bt.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),B={data:!o||o==="text"||o==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:k,config:e,request:E};eh(function(M){r(M),y()},function(M){n(M),y()},B),E=null}"onloadend"in E?E.onloadend=T:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(T)},E.onabort=function(){E&&(n(new Ae("Request aborted",Ae.ECONNABORTED,e,E)),E=null)},E.onerror=function(F){const B=F&&F.message?F.message:"Network Error",O=new Ae(B,Ae.ERR_NETWORK,e,E);O.event=F||null,n(O),E=null},E.ontimeout=function(){let F=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const B=a.transitional||qu;a.timeoutErrorMessage&&(F=a.timeoutErrorMessage),n(new Ae(F,B.clarifyTimeoutError?Ae.ETIMEDOUT:Ae.ECONNABORTED,e,E)),E=null},i===void 0&&s.setContentType(null),"setRequestHeader"in E&&j.forEach(s.toJSON(),function(F,B){E.setRequestHeader(B,F)}),j.isUndefined(a.withCredentials)||(E.withCredentials=!!a.withCredentials),o&&o!=="json"&&(E.responseType=a.responseType),l&&([p,b]=hs(l,!0),E.addEventListener("progress",p)),u&&E.upload&&([f,h]=hs(u),E.upload.addEventListener("progress",f),E.upload.addEventListener("loadend",h)),(a.cancelToken||a.signal)&&(c=k=>{E&&(n(!k||k.type?new di(null,e,E):k),E.abort(),E=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const A=u6(a.url);if(A&&vt.protocols.indexOf(A)===-1){n(new Ae("Unsupported protocol "+A+":",Ae.ERR_BAD_REQUEST,e));return}E.send(i||null)})},b6=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(l){if(!a){a=!0,o();const c=l instanceof Error?l:this.reason;n.abort(c instanceof Ae?c:new di(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,i(new Ae(`timeout of ${t}ms exceeded`,Ae.ETIMEDOUT))},t);const o=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>j.asap(o),u}},y6=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},x6=function(e,t){return S0(this,null,function*(){try{for(var r=sc(E6(e)),n,a,i;n=!(a=yield new dn(r.next())).done;n=!1){const s=a.value;yield*k0(y6(s,t))}}catch(a){i=[a]}finally{try{n&&(a=r.return)&&(yield new dn(a.call(r)))}finally{if(i)throw i[0]}}})},E6=function(e){return S0(this,null,function*(){if(e[Symbol.asyncIterator]){yield*k0(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new dn(t.read());if(r)break;yield n}}finally{yield new dn(t.cancel())}})},gc=(e,t,r,n)=>{const a=x6(e,t);let i=0,s,o=l=>{s||(s=!0,n&&n(l))};return new ReadableStream({pull(l){return Fe(this,null,function*(){try{const{done:c,value:f}=yield a.next();if(c){o(),l.close();return}let p=f.byteLength;if(r){let h=i+=p;r(h)}l.enqueue(new Uint8Array(f))}catch(c){throw o(c),c}})},cancel(l){return o(l),a.return()}},{highWaterMark:2})},bc=64*1024,{isFunction:Ii}=j,T6=(({Request:e,Response:t})=>({Request:e,Response:t}))(j.global),{ReadableStream:yc,TextEncoder:xc}=j.global,Ec=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},v6=e=>{e=j.merge.call({skipUndefined:!0},T6,e);const{fetch:t,Request:r,Response:n}=e,a=t?Ii(t):typeof fetch=="function",i=Ii(r),s=Ii(n);if(!a)return!1;const o=a&&Ii(yc),u=a&&(typeof xc=="function"?(b=>y=>b.encode(y))(new xc):b=>Fe(exports,null,function*(){return new Uint8Array(yield new r(b).arrayBuffer())})),l=i&&o&&Ec(()=>{let b=!1;const y=new r(vt.origin,{body:new yc,method:"POST",get duplex(){return b=!0,"half"}}),E=y.headers.has("Content-Type");return y.body!=null&&y.body.cancel(),b&&!E}),c=s&&o&&Ec(()=>j.isReadableStream(new n("").body)),f={stream:c&&(b=>b.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(y,E)=>{let T=y&&y[b];if(T)return T.call(y);throw new Ae(`Response type '${b}' is not supported`,Ae.ERR_NOT_SUPPORT,E)})});const p=b=>Fe(exports,null,function*(){if(b==null)return 0;if(j.isBlob(b))return b.size;if(j.isSpecCompliantForm(b))return(yield new r(vt.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(j.isArrayBufferView(b)||j.isArrayBuffer(b))return b.byteLength;if(j.isURLSearchParams(b)&&(b=b+""),j.isString(b))return(yield u(b)).byteLength}),h=(b,y)=>Fe(exports,null,function*(){const E=j.toFiniteNumber(b.getContentLength());return E==null?p(y):E});return b=>Fe(exports,null,function*(){let{url:y,method:E,data:T,signal:A,cancelToken:k,timeout:F,onDownloadProgress:B,onUploadProgress:O,responseType:M,headers:z,withCredentials:U="same-origin",fetchOptions:L}=rh(b),$=t||fetch;M=M?(M+"").toLowerCase():"text";let te=b6([A,k&&k.toAbortSignal()],F),ge=null;const X=te&&te.unsubscribe&&(()=>{te.unsubscribe()});let W;try{if(O&&l&&E!=="get"&&E!=="head"&&(W=yield h(z,T))!==0){let K=new r(y,{method:"POST",body:T,duplex:"half"}),Q;if(j.isFormData(T)&&(Q=K.headers.get("content-type"))&&z.setContentType(Q),K.body){const[I,me]=hc(W,hs(mc(O)));T=gc(K.body,bc,I,me)}}j.isString(U)||(U=U?"include":"omit");const V=i&&"credentials"in r.prototype;if(j.isFormData(T)){const K=z.getContentType();K&&/^multipart\/form-data/i.test(K)&&!/boundary=/i.test(K)&&z.delete("content-type")}const ie=it(se({},L),{signal:te,method:E.toUpperCase(),headers:z.normalize().toJSON(),body:T,duplex:"half",credentials:V?U:void 0});ge=i&&new r(y,ie);let J=yield i?$(ge,L):$(y,ie);const he=c&&(M==="stream"||M==="response");if(c&&(B||he&&X)){const K={};["status","statusText","headers"].forEach(ve=>{K[ve]=J[ve]});const Q=j.toFiniteNumber(J.headers.get("content-length")),[I,me]=B&&hc(Q,hs(mc(B),!0))||[];J=new n(gc(J.body,bc,I,()=>{me&&me(),X&&X()}),K)}M=M||"text";let C=yield f[j.findKey(f,M)||"text"](J,b);return!he&&X&&X(),yield new Promise((K,Q)=>{eh(K,Q,{data:C,headers:Bt.from(J.headers),status:J.status,statusText:J.statusText,config:b,request:ge})})}catch(V){throw X&&X(),V&&V.name==="TypeError"&&/Load failed|fetch/i.test(V.message)?Object.assign(new Ae("Network Error",Ae.ERR_NETWORK,b,ge,V&&V.response),{cause:V.cause||V}):Ae.from(V,V&&V.code,b,ge,V&&V.response)}})},w6=new Map,nh=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:a}=t,i=[n,a,r];let s=i.length,o=s,u,l,c=w6;for(;o--;)u=i[o],l=c.get(u),l===void 0&&c.set(u,l=o?new Map:v6(t)),c=l;return l};nh();const Wu={http:F3,xhr:g6,fetch:{get:nh}};j.forEach(Wu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const Tc=e=>`- ${e}`,A6=e=>j.isFunction(e)||e===null||e===!1;function S6(e,t){e=j.isArray(e)?e:[e];const{length:r}=e;let n,a;const i={};for(let s=0;s<r;s++){n=e[s];let o;if(a=n,!A6(n)&&(a=Wu[(o=String(n)).toLowerCase()],a===void 0))throw new Ae(`Unknown adapter '${o}'`);if(a&&(j.isFunction(a)||(a=a.get(t))))break;i[o||"#"+s]=a}if(!a){const s=Object.entries(i).map(([u,l])=>`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=r?s.length>1?`since :
|
|
3
|
+
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[dc]=this[dc]={accessors:{}}).accessors,a=this.prototype;function i(s){const o=Aa(s);n[o]||(o6(a,s),n[o]=!0)}return j.isArray(t)?t.forEach(i):i(t),this}};Bt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(Bt.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});j.freezeMethods(Bt);function N0(e,t){const r=this||fi,n=t||r,a=Bt.from(n.headers);let i=n.data;return j.forEach(e,function(o){i=o.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Zd(e){return!!(e&&e.__CANCEL__)}let di=class extends Ae{constructor(t,r,n){super(t==null?"canceled":t,Ae.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function eh(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ae("Request failed with status code "+r.status,[Ae.ERR_BAD_REQUEST,Ae.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function u6(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function l6(e,t){e=e||10;const r=new Array(e),n=new Array(e);let a=0,i=0,s;return t=t!==void 0?t:1e3,function(u){const l=Date.now(),c=n[i];s||(s=l),r[a]=u,n[a]=l;let f=i,p=0;for(;f!==a;)p+=r[f++],f=f%e;if(a=(a+1)%e,a===i&&(i=(i+1)%e),l-s<t)return;const h=c&&l-c;return h?Math.round(p*1e3/h):void 0}}function c6(e,t){let r=0,n=1e3/t,a,i;const s=(l,c=Date.now())=>{r=c,a=null,i&&(clearTimeout(i),i=null),e(...l)};return[(...l)=>{const c=Date.now(),f=c-r;f>=n?s(l,c):(a=l,i||(i=setTimeout(()=>{i=null,s(a)},n-f)))},()=>a&&s(a)]}const hs=(e,t,r=3)=>{let n=0;const a=l6(50,250);return c6(i=>{const s=i.loaded,o=i.lengthComputable?i.total:void 0,u=o!=null?Math.min(s,o):s,l=Math.max(0,u-n),c=a(l);n=Math.max(n,u);const f={loaded:u,total:o,progress:o?u/o:void 0,bytes:l,rate:c||void 0,estimated:c&&o?(o-u)/c:void 0,event:i,lengthComputable:o!=null,[t?"download":"upload"]:!0};e(f)},r)},hc=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},mc=e=>(...t)=>j.asap(()=>e(...t)),f6=vt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,vt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(vt.origin),vt.navigator&&/(msie|trident)/i.test(vt.navigator.userAgent)):()=>!0,d6=vt.hasStandardBrowserEnv?{write(e,t,r,n,a,i,s){if(typeof document=="undefined")return;const o=[`${e}=${encodeURIComponent(t)}`];j.isNumber(r)&&o.push(`expires=${new Date(r).toUTCString()}`),j.isString(n)&&o.push(`path=${n}`),j.isString(a)&&o.push(`domain=${a}`),i===!0&&o.push("secure"),j.isString(s)&&o.push(`SameSite=${s}`),document.cookie=o.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function h6(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function m6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function th(e,t,r){let n=!h6(t);return e&&(n||r===!1)?m6(e,t):t}const pc=e=>e instanceof Bt?ae({},e):e;function Sn(e,t){t=t||{};const r=Object.create(null);Object.defineProperty(r,"hasOwnProperty",{value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});function n(l,c,f,p){return j.isPlainObject(l)&&j.isPlainObject(c)?j.merge.call({caseless:p},l,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function a(l,c,f,p){if(j.isUndefined(c)){if(!j.isUndefined(l))return n(void 0,l,f,p)}else return n(l,c,f,p)}function i(l,c){if(!j.isUndefined(c))return n(void 0,c)}function s(l,c){if(j.isUndefined(c)){if(!j.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function o(l,c,f){if(j.hasOwnProp(t,f))return n(l,c);if(j.hasOwnProp(e,f))return n(void 0,l)}const u={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,allowedSocketPaths:s,responseEncoding:s,validateStatus:o,headers:(l,c,f)=>a(pc(l),pc(c),f,!0)};return j.forEach(Object.keys(ae(ae({},e),t)),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=j.hasOwnProp(u,c)?u[c]:a,p=j.hasOwnProp(e,c)?e[c]:void 0,h=j.hasOwnProp(t,c)?t[c]:void 0,b=f(p,h,c);j.isUndefined(b)&&f!==o||(r[c]=b)}),r}const rh=e=>{const t=Sn({},e),r=p=>j.hasOwnProp(t,p)?t[p]:void 0,n=r("data");let a=r("withXSRFToken");const i=r("xsrfHeaderName"),s=r("xsrfCookieName");let o=r("headers");const u=r("auth"),l=r("baseURL"),c=r("allowAbsoluteUrls"),f=r("url");if(t.headers=o=Bt.from(o),t.url=Qd(th(l,f,c),e.params,e.paramsSerializer),u&&o.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),j.isFormData(n)){if(vt.hasStandardBrowserEnv||vt.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(j.isFunction(n.getHeaders)){const p=n.getHeaders(),h=["content-type","content-length"];Object.entries(p).forEach(([b,y])=>{h.includes(b.toLowerCase())&&o.set(b,y)})}}if(vt.hasStandardBrowserEnv&&(j.isFunction(a)&&(a=a(t)),a===!0||a==null&&f6(t.url))){const h=i&&s&&d6.read(s);h&&o.set(i,h)}return t},p6=typeof XMLHttpRequest!="undefined",g6=p6&&function(e){return new Promise(function(r,n){const a=rh(e);let i=a.data;const s=Bt.from(a.headers).normalize();let{responseType:o,onUploadProgress:u,onDownloadProgress:l}=a,c,f,p,h,b;function y(){h&&h(),b&&b(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let E=new XMLHttpRequest;E.open(a.method.toUpperCase(),a.url,!0),E.timeout=a.timeout;function T(){if(!E)return;const k=Bt.from("getAllResponseHeaders"in E&&E.getAllResponseHeaders()),B={data:!o||o==="text"||o==="json"?E.responseText:E.response,status:E.status,statusText:E.statusText,headers:k,config:e,request:E};eh(function(M){r(M),y()},function(M){n(M),y()},B),E=null}"onloadend"in E?E.onloadend=T:E.onreadystatechange=function(){!E||E.readyState!==4||E.status===0&&!(E.responseURL&&E.responseURL.indexOf("file:")===0)||setTimeout(T)},E.onabort=function(){E&&(n(new Ae("Request aborted",Ae.ECONNABORTED,e,E)),E=null)},E.onerror=function(F){const B=F&&F.message?F.message:"Network Error",N=new Ae(B,Ae.ERR_NETWORK,e,E);N.event=F||null,n(N),E=null},E.ontimeout=function(){let F=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const B=a.transitional||qu;a.timeoutErrorMessage&&(F=a.timeoutErrorMessage),n(new Ae(F,B.clarifyTimeoutError?Ae.ETIMEDOUT:Ae.ECONNABORTED,e,E)),E=null},i===void 0&&s.setContentType(null),"setRequestHeader"in E&&j.forEach(s.toJSON(),function(F,B){E.setRequestHeader(B,F)}),j.isUndefined(a.withCredentials)||(E.withCredentials=!!a.withCredentials),o&&o!=="json"&&(E.responseType=a.responseType),l&&([p,b]=hs(l,!0),E.addEventListener("progress",p)),u&&E.upload&&([f,h]=hs(u),E.upload.addEventListener("progress",f),E.upload.addEventListener("loadend",h)),(a.cancelToken||a.signal)&&(c=k=>{E&&(n(!k||k.type?new di(null,e,E):k),E.abort(),E=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const A=u6(a.url);if(A&&vt.protocols.indexOf(A)===-1){n(new Ae("Unsupported protocol "+A+":",Ae.ERR_BAD_REQUEST,e));return}E.send(i||null)})},b6=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(l){if(!a){a=!0,o();const c=l instanceof Error?l:this.reason;n.abort(c instanceof Ae?c:new di(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,i(new Ae(`timeout of ${t}ms exceeded`,Ae.ETIMEDOUT))},t);const o=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:u}=n;return u.unsubscribe=()=>j.asap(o),u}},y6=function*(e,t){let r=e.byteLength;if(r<t){yield e;return}let n=0,a;for(;n<r;)a=n+t,yield e.slice(n,a),n=a},x6=function(e,t){return S0(this,null,function*(){try{for(var r=sc(E6(e)),n,a,i;n=!(a=yield new dn(r.next())).done;n=!1){const s=a.value;yield*k0(y6(s,t))}}catch(a){i=[a]}finally{try{n&&(a=r.return)&&(yield new dn(a.call(r)))}finally{if(i)throw i[0]}}})},E6=function(e){return S0(this,null,function*(){if(e[Symbol.asyncIterator]){yield*k0(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new dn(t.read());if(r)break;yield n}}finally{yield new dn(t.cancel())}})},gc=(e,t,r,n)=>{const a=x6(e,t);let i=0,s,o=l=>{s||(s=!0,n&&n(l))};return new ReadableStream({pull(l){return Pe(this,null,function*(){try{const{done:c,value:f}=yield a.next();if(c){o(),l.close();return}let p=f.byteLength;if(r){let h=i+=p;r(h)}l.enqueue(new Uint8Array(f))}catch(c){throw o(c),c}})},cancel(l){return o(l),a.return()}},{highWaterMark:2})},bc=64*1024,{isFunction:Ii}=j,T6=(({Request:e,Response:t})=>({Request:e,Response:t}))(j.global),{ReadableStream:yc,TextEncoder:xc}=j.global,Ec=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},v6=e=>{e=j.merge.call({skipUndefined:!0},T6,e);const{fetch:t,Request:r,Response:n}=e,a=t?Ii(t):typeof fetch=="function",i=Ii(r),s=Ii(n);if(!a)return!1;const o=a&&Ii(yc),u=a&&(typeof xc=="function"?(b=>y=>b.encode(y))(new xc):b=>Pe(exports,null,function*(){return new Uint8Array(yield new r(b).arrayBuffer())})),l=i&&o&&Ec(()=>{let b=!1;const y=new r(vt.origin,{body:new yc,method:"POST",get duplex(){return b=!0,"half"}}),E=y.headers.has("Content-Type");return y.body!=null&&y.body.cancel(),b&&!E}),c=s&&o&&Ec(()=>j.isReadableStream(new n("").body)),f={stream:c&&(b=>b.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(y,E)=>{let T=y&&y[b];if(T)return T.call(y);throw new Ae(`Response type '${b}' is not supported`,Ae.ERR_NOT_SUPPORT,E)})});const p=b=>Pe(exports,null,function*(){if(b==null)return 0;if(j.isBlob(b))return b.size;if(j.isSpecCompliantForm(b))return(yield new r(vt.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(j.isArrayBufferView(b)||j.isArrayBuffer(b))return b.byteLength;if(j.isURLSearchParams(b)&&(b=b+""),j.isString(b))return(yield u(b)).byteLength}),h=(b,y)=>Pe(exports,null,function*(){const E=j.toFiniteNumber(b.getContentLength());return E==null?p(y):E});return b=>Pe(exports,null,function*(){let{url:y,method:E,data:T,signal:A,cancelToken:k,timeout:F,onDownloadProgress:B,onUploadProgress:N,responseType:M,headers:z,withCredentials:U="same-origin",fetchOptions:L}=rh(b),$=t||fetch;M=M?(M+"").toLowerCase():"text";let te=b6([A,k&&k.toAbortSignal()],F),ge=null;const X=te&&te.unsubscribe&&(()=>{te.unsubscribe()});let W;try{if(N&&l&&E!=="get"&&E!=="head"&&(W=yield h(z,T))!==0){let K=new r(y,{method:"POST",body:T,duplex:"half"}),Q;if(j.isFormData(T)&&(Q=K.headers.get("content-type"))&&z.setContentType(Q),K.body){const[I,me]=hc(W,hs(mc(N)));T=gc(K.body,bc,I,me)}}j.isString(U)||(U=U?"include":"omit");const V=i&&"credentials"in r.prototype;if(j.isFormData(T)){const K=z.getContentType();K&&/^multipart\/form-data/i.test(K)&&!/boundary=/i.test(K)&&z.delete("content-type")}const se=it(ae({},L),{signal:te,method:E.toUpperCase(),headers:z.normalize().toJSON(),body:T,duplex:"half",credentials:V?U:void 0});ge=i&&new r(y,se);let J=yield i?$(ge,L):$(y,se);const he=c&&(M==="stream"||M==="response");if(c&&(B||he&&X)){const K={};["status","statusText","headers"].forEach(ve=>{K[ve]=J[ve]});const Q=j.toFiniteNumber(J.headers.get("content-length")),[I,me]=B&&hc(Q,hs(mc(B),!0))||[];J=new n(gc(J.body,bc,I,()=>{me&&me(),X&&X()}),K)}M=M||"text";let C=yield f[j.findKey(f,M)||"text"](J,b);return!he&&X&&X(),yield new Promise((K,Q)=>{eh(K,Q,{data:C,headers:Bt.from(J.headers),status:J.status,statusText:J.statusText,config:b,request:ge})})}catch(V){throw X&&X(),V&&V.name==="TypeError"&&/Load failed|fetch/i.test(V.message)?Object.assign(new Ae("Network Error",Ae.ERR_NETWORK,b,ge,V&&V.response),{cause:V.cause||V}):Ae.from(V,V&&V.code,b,ge,V&&V.response)}})},w6=new Map,nh=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:a}=t,i=[n,a,r];let s=i.length,o=s,u,l,c=w6;for(;o--;)u=i[o],l=c.get(u),l===void 0&&c.set(u,l=o?new Map:v6(t)),c=l;return l};nh();const Wu={http:F3,xhr:g6,fetch:{get:nh}};j.forEach(Wu,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const Tc=e=>`- ${e}`,A6=e=>j.isFunction(e)||e===null||e===!1;function S6(e,t){e=j.isArray(e)?e:[e];const{length:r}=e;let n,a;const i={};for(let s=0;s<r;s++){n=e[s];let o;if(a=n,!A6(n)&&(a=Wu[(o=String(n)).toLowerCase()],a===void 0))throw new Ae(`Unknown adapter '${o}'`);if(a&&(j.isFunction(a)||(a=a.get(t))))break;i[o||"#"+s]=a}if(!a){const s=Object.entries(i).map(([u,l])=>`adapter ${u} `+(l===!1?"is not supported by the environment":"is not available in the build"));let o=r?s.length>1?`since :
|
|
4
4
|
`+s.map(Tc).join(`
|
|
5
|
-
`):" "+Tc(s[0]):"as no adapter specified";throw new Ae("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return a}const ah={getAdapter:S6,adapters:Wu};function O0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new di(null,e)}function vc(e){return O0(e),e.headers=Bt.from(e.headers),e.data=N0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ah.getAdapter(e.adapter||fi.adapter,e)(e).then(function(n){return O0(e),n.data=N0.call(e,e.transformResponse,n),n.headers=Bt.from(n.headers),n},function(n){return Zd(n)||(O0(e),n&&n.response&&(n.response.data=N0.call(e,e.transformResponse,n.response),n.response.headers=Bt.from(n.response.headers))),Promise.reject(n)})}const ih="1.15.2",Fs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fs[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const wc={};Fs.transitional=function(t,r,n){function a(i,s){return"[Axios v"+ih+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,o)=>{if(t===!1)throw new Ae(a(s," has been removed"+(r?" in "+r:"")),Ae.ERR_DEPRECATED);return r&&!wc[s]&&(wc[s]=!0,console.warn(a(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,o):!0}};Fs.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function k6(e,t,r){if(typeof e!="object")throw new Ae("options must be an object",Ae.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(s){const o=e[i],u=o===void 0||s(o,i,e);if(u!==!0)throw new Ae("option "+i+" must be "+u,Ae.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ae("Unknown option "+i,Ae.ERR_BAD_OPTION)}}const Ji={assertOptions:k6,validators:Fs},
|
|
5
|
+
`):" "+Tc(s[0]):"as no adapter specified";throw new Ae("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return a}const ah={getAdapter:S6,adapters:Wu};function O0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new di(null,e)}function vc(e){return O0(e),e.headers=Bt.from(e.headers),e.data=N0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ah.getAdapter(e.adapter||fi.adapter,e)(e).then(function(n){return O0(e),n.data=N0.call(e,e.transformResponse,n),n.headers=Bt.from(n.headers),n},function(n){return Zd(n)||(O0(e),n&&n.response&&(n.response.data=N0.call(e,e.transformResponse,n.response),n.response.headers=Bt.from(n.response.headers))),Promise.reject(n)})}const ih="1.15.2",Fs={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Fs[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const wc={};Fs.transitional=function(t,r,n){function a(i,s){return"[Axios v"+ih+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,o)=>{if(t===!1)throw new Ae(a(s," has been removed"+(r?" in "+r:"")),Ae.ERR_DEPRECATED);return r&&!wc[s]&&(wc[s]=!0,console.warn(a(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,o):!0}};Fs.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function k6(e,t,r){if(typeof e!="object")throw new Ae("options must be an object",Ae.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=Object.prototype.hasOwnProperty.call(t,i)?t[i]:void 0;if(s){const o=e[i],u=o===void 0||s(o,i,e);if(u!==!0)throw new Ae("option "+i+" must be "+u,Ae.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ae("Unknown option "+i,Ae.ERR_BAD_OPTION)}}const Ji={assertOptions:k6,validators:Fs},Xt=Ji.validators;let Tn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new fc,response:new fc}}request(t,r){return Pe(this,null,function*(){try{return yield this._request(t,r)}catch(n){if(n instanceof Error){let a={};Error.captureStackTrace?Error.captureStackTrace(a):a=new Error;const i=(()=>{if(!a.stack)return"";const s=a.stack.indexOf(`
|
|
6
6
|
`);return s===-1?"":a.stack.slice(s+1)})();try{if(!n.stack)n.stack=i;else if(i){const s=i.indexOf(`
|
|
7
7
|
`),o=s===-1?-1:i.indexOf(`
|
|
8
8
|
`,s+1),u=o===-1?"":i.slice(o+1);String(n.stack).endsWith(u)||(n.stack+=`
|
|
9
|
-
`+i)}}catch(s){}}throw n}})}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Sn(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&Ji.assertOptions(n,{silentJSONParsing:Gt.transitional(Gt.boolean),forcedJSONParsing:Gt.transitional(Gt.boolean),clarifyTimeoutError:Gt.transitional(Gt.boolean),legacyInterceptorReqResOrdering:Gt.transitional(Gt.boolean)},!1),a!=null&&(j.isFunction(a)?r.paramsSerializer={serialize:a}:Ji.assertOptions(a,{encode:Gt.function,serialize:Gt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Ji.assertOptions(r,{baseUrl:Gt.spelling("baseURL"),withXsrfToken:Gt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&j.merge(i.common,i[r.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],b=>{delete i[b]}),r.headers=Bt.concat(s,i);const o=[];let u=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(r)===!1)return;u=u&&y.synchronous;const E=r.transitional||qu;E&&E.legacyInterceptorReqResOrdering?o.unshift(y.fulfilled,y.rejected):o.push(y.fulfilled,y.rejected)});const l=[];this.interceptors.response.forEach(function(y){l.push(y.fulfilled,y.rejected)});let c,f=0,p;if(!u){const b=[vc.bind(this),void 0];for(b.unshift(...o),b.push(...l),p=b.length,c=Promise.resolve(r);f<p;)c=c.then(b[f++],b[f++]);return c}p=o.length;let h=r;for(;f<p;){const b=o[f++],y=o[f++];try{h=b(h)}catch(E){y.call(this,E);break}}try{c=vc.call(this,h)}catch(b){return Promise.reject(b)}for(f=0,p=l.length;f<p;)c=c.then(l[f++],l[f++]);return c}getUri(t){t=Sn(this.defaults,t);const r=th(t.baseURL,t.url,t.allowAbsoluteUrls);return Qd(r,t.params,t.paramsSerializer)}};j.forEach(["delete","get","head","options"],function(t){Tn.prototype[t]=function(r,n){return this.request(Sn(n||{},{method:t,url:r,data:(n||{}).data}))}});j.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,o){return this.request(Sn(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Tn.prototype[t]=r(),Tn.prototype[t+"Form"]=r(!0)});let C6=class sh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(o=>{n.subscribe(o),i=o}).then(a);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,o){n.reason||(n.reason=new di(i,s,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new sh(function(a){t=a}),cancel:t}}};function I6(e){return function(r){return e.apply(null,r)}}function _6(e){return j.isObject(e)&&e.isAxiosError===!0}const Ro={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ro).forEach(([e,t])=>{Ro[t]=e});function oh(e){const t=new Tn(e),r=Hd(Tn.prototype.request,t);return j.extend(r,Tn.prototype,t,{allOwnKeys:!0}),j.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return oh(Sn(e,a))},r}const lt=oh(fi);lt.Axios=Tn;lt.CanceledError=di;lt.CancelToken=C6;lt.isCancel=Zd;lt.VERSION=ih;lt.toFormData=Ps;lt.AxiosError=Ae;lt.Cancel=lt.CanceledError;lt.all=function(t){return Promise.all(t)};lt.spread=I6;lt.isAxiosError=_6;lt.mergeConfig=Sn;lt.AxiosHeaders=Bt;lt.formToJSON=e=>Jd(j.isHTMLForm(e)?new FormData(e):e);lt.getAdapter=ah.getAdapter;lt.HttpStatusCode=Ro;lt.default=lt;const{Axios:HO,AxiosError:UO,CanceledError:jO,isCancel:$O,CancelToken:qO,VERSION:YO,all:WO,Cancel:VO,isAxiosError:GO,spread:XO,toFormData:KO,AxiosHeaders:QO,HttpStatusCode:JO,formToJSON:ZO,getAdapter:eR,mergeConfig:tR}=lt,N6=(e,t)=>new Promise((r,n)=>{lt.put(t,e,{headers:{"Content-Type":"application/octet-stream","x-oss-object-acl":"private"}}).then(()=>{r({})}).catch(a=>n(a))});/*! js-cookie v3.0.5 | MIT */function _i(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var O6={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Do(e,t){function r(a,i,s){if(typeof document!="undefined"){s=_i({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var u in s)s[u]&&(o+="; "+u,s[u]!==!0&&(o+="="+s[u].split(";")[0]));return document.cookie=a+"="+e.write(i,a)+o}}function n(a){if(!(typeof document=="undefined"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],s={},o=0;o<i.length;o++){var u=i[o].split("="),l=u.slice(1).join("=");try{var c=decodeURIComponent(u[0]);if(s[c]=e.read(l,c),a===c)break}catch(f){}}return a?s[a]:s}}return Object.create({set:r,get:n,remove:function(a,i){r(a,"",_i({},i,{expires:-1}))},withAttributes:function(a){return Do(this.converter,_i({},this.attributes,a))},withConverter:function(a){return Do(_i({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ni=Do(O6,{path:"/"});class uh{constructor(){Fn(this,"config",null);Fn(this,"setupConfig",null);Fn(this,"sessionId","");Fn(this,"currentController",null);Fn(this,"isInitialized",!1)}setup(t){return Fe(this,null,function*(){this.setupConfig=t,typeof window!="undefined"&&(window.__APPFLOW_CHAT_SERVICE_CONFIG__={integrateConfig:{integrateId:t.integrateId,domain:t.domain?{requestDomain:t.domain}:void 0,access_session_token:t.access_session_token}}),t.access_session_token&&Ni.remove("appflow_chat_ticket"),yield this.initTicket();const r=yield this.fetchConfig(t.integrateId);return this.config=r,this.isInitialized=!0,r})}initTicket(){return Fe(this,null,function*(){var n,a,i;const t=((n=this.setupConfig)==null?void 0:n.domain)||"";if(!Ni.get("appflow_chat_ticket"))try{const o=yield(yield fetch(`${t}/webhook/login/init/ticket`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({loginType:"chatbot_integrate",integrateId:(a=this.setupConfig)==null?void 0:a.integrateId,accessSessionToken:(i=this.setupConfig)==null?void 0:i.access_session_token})})).json();o!=null&&o.data&&(o==null?void 0:o.code)==="200"&&Ni.set("appflow_chat_ticket",o.data,{expires:7})}catch(s){console.error("初始化ticket失败:",s)}})}fetchConfig(t){return Fe(this,null,function*(){var n,a,i,s,o,u;const r=((n=this.setupConfig)==null?void 0:n.domain)||"";try{const{token:l,ticket:c}=yield this.getRequestToken(),p=yield(yield fetch(`${r}/webhook/chatbot/integrate/${t}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":l,"X-Account-Session-Ticket":c}})).json();if((p==null?void 0:p.httpStatusCode)===200&&(p!=null&&p.data)){const h=p.data,b=h.integrateConfig,y=b?JSON.parse(b):{},E=(h.models||[]).map(T=>{var A,k,F,B,O,M,z,U,L;return{id:T.chatbotModelId||T.ChatbotModelId,name:T.modelName||T.ModelName||T.chatbotModelId,config:{image:((A=T.config)==null?void 0:A.image)||((k=T.Config)==null?void 0:k.image)||((F=T.Config)==null?void 0:F.Image),file:((B=T.config)==null?void 0:B.file)||((O=T.Config)==null?void 0:O.file)||((M=T.Config)==null?void 0:M.File),webSearch:((z=T.config)==null?void 0:z.webSearch)||((U=T.Config)==null?void 0:U.webSearch)||((L=T.Config)==null?void 0:L.WebSearch)}}});return{welcome:((a=y==null?void 0:y.message)==null?void 0:a.welcome)||"欢迎使用AI助手",questions:((i=y==null?void 0:y.config)==null?void 0:i.questions)||[],models:E,features:{image:((s=y==null?void 0:y.message)==null?void 0:s.imageEnabled)||!1,file:((o=y==null?void 0:y.message)==null?void 0:o.fileEnabled)||!1,audio:((u=y==null?void 0:y.message)==null?void 0:u.audioEnabled)||!1,webSearch:E.some(T=>{var A;return(A=T.config)==null?void 0:A.webSearch})},chatbotId:h.chatbotId,integrateId:t}}throw new Error("获取配置失败")}catch(l){return console.error("获取配置失败:",l),{welcome:"欢迎使用AI助手",questions:[],models:[],features:{image:!1,file:!1,audio:!1,webSearch:!1},chatbotId:"",integrateId:t}}})}getRequestToken(){return Fe(this,null,function*(){var s;const t=((s=this.setupConfig)==null?void 0:s.domain)||"",r=Ni.get("appflow_chat_ticket")||"";if(!r)throw new Error("未找到认证票据,请先调用setup");const a=yield(yield fetch(`${t}/webhook/request/token/acquireRequestToken`,{method:"POST",headers:{"Content-Type":"application/json","X-Account-Session-Ticket":r}})).json(),i=a==null?void 0:a.data;if(!i)throw new Error("获取请求令牌失败");return{token:i,ticket:r}})}chat(t){if(!this.isInitialized||!this.config)throw new Error("请先调用 setup() 初始化SDK");const r={};this.sendMessage(t,r);const n={onMessage:a=>(r.onMessage=a,n),onError:a=>(r.onError=a,n)};return n}sendMessage(t,r){return Fe(this,null,function*(){var o,u,l,c,f,p,h,b,y;const n=((o=this.setupConfig)==null?void 0:o.domain)||"",a=((u=this.config)==null?void 0:u.integrateId)||"",i=t.modelId||((c=(l=this.config)==null?void 0:l.models[0])==null?void 0:c.id);this.currentController=new AbortController;let s="";try{const{token:E,ticket:T}=yield this.getRequestToken(),A={chatbotId:(f=this.config)==null?void 0:f.chatbotId,chatbotModelId:i,sessionId:this.sessionId};if(t.audio)A.messageType="audio",A.audio={mediaUrl:t.audio,mediaType:"wav"};else if(t.images&&t.images.length>0||t.files&&t.files.length>0){A.messageType="rich";const k=[];t.text&&k.push({type:"text",content:t.text}),(p=t.images)==null||p.forEach(F=>{k.push({type:"image",mediaUrl:F})}),(h=t.files)==null||h.forEach(F=>{k.push({type:"file",mediaUrl:F})}),A.richText=k}else A.messageType="text",A.text={content:t.text||""};t.webSearch&&(A.config={webSearch:!0}),yield G4(`${n}/webhook/chatbot/chat/${a}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":E,"X-Account-Session-Ticket":T},body:JSON.stringify(A),signal:this.currentController.signal,timeout:150*1e3,onopen:k=>Fe(this,null,function*(){if(!k.ok&&k.status!==200){const F=yield k.text();throw new Error(F)}}),onmessage:k=>{var F;try{const B=JSON.parse(k.data);if(B.sessionId&&(this.sessionId=B.sessionId),B.messageType==="event")return;s=B.content||"";const O=B.status!=="Running",M={status:B.status,references:B.references,sessionId:B.sessionId,messageType:B.messageType,messageId:B.messageId};if(B.messageType==="card"){M.sessionWebhook=B.sessionWebhook;try{const z=JSON.parse(B.content);if(M.cardType=z.type,M.cardData=z.data,M.cardDisplayContent=z.content,z.type==="chatbot_input"){const U=z.data;if(M.verifyId=U==null?void 0:U.verifyId,U){for(const L in U)if(U[L]&&typeof U[L]=="object"&&U[L].AssociationProperty==="CustomParams"){M.customParamsKey=L,M.customParams=U[L];break}}}if(z.type==="update_chatbot_input"){const U=z.data;M.approvedMessageId=U==null?void 0:U.messageId,M.approvedStatus=U==null?void 0:U.status}}catch(z){console.error("解析 card content 失败:",z)}}(F=r.onMessage)==null||F.call(r,s,O,M)}catch(B){console.error("解析消息失败:",B)}},onclose:()=>{var k;(k=r.onMessage)==null||k.call(r,s,!0)},onerror:k=>{var F;(F=r.onError)==null||F.call(r,new Error((k==null?void 0:k.message)||"请求失败"))}})}catch(E){(E==null?void 0:E.name)==="AbortError"?(b=r.onMessage)==null||b.call(r,s||"",!0,{status:"Cancelled"}):(y=r.onError)==null||y.call(r,E)}})}upload(t){return Fe(this,null,function*(){var a,i,s;if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const r=((a=this.setupConfig)==null?void 0:a.domain)||"",n=((i=this.config)==null?void 0:i.integrateId)||"";try{const{token:o,ticket:u}=yield this.getRequestToken(),c=(s=(yield fetch(`${r}/webhook/chatbot/chat/${n}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":o,"X-Account-Session-Ticket":u},body:JSON.stringify({messageType:"event",event:{eventType:"uploadToken",content:JSON.stringify({fileName:t.name})}})})).body)==null?void 0:s.getReader();if(!c)throw new Error("无法读取响应");let f=null;const p=new TextDecoder;let h="";for(;;){const{done:y,value:E}=yield c.read();if(y)break;h+=p.decode(E,{stream:!0});const T=h.split(`
|
|
10
|
-
`);h=
|
|
11
|
-
`),F.length>0&&(E=F),B.length>0&&(T=B)}else typeof h.message=="string"&&(y=h.message);const A=b==="audio";f.push({id:h.id||`user_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,role:"user",content:A?"":y,messageType:b,gmtCreate:h.gmtCreate,sessionId:h.sessionId,images:E,files:T,audio:A?y:void 0})}}return f.reverse()}return[]}catch(o){throw console.error("获取历史记录失败:",o),o}})}getSessions(){return Fe(this,null,function*(){var n,a;if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const t=((n=this.setupConfig)==null?void 0:n.domain)||"",r=((a=this.config)==null?void 0:a.integrateId)||"";try{const{token:i,ticket:s}=yield this.getRequestToken(),u=yield(yield fetch(`${t}/webhook/chatbot/integrate/${r}/message`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":i,"X-Account-Session-Ticket":s}})).json();return(u==null?void 0:u.httpStatusCode)===200&&(u!=null&&u.data)?(u.data||[]).map(c=>({id:c.id,sessionId:c.sessionId,title:c.title||"未命名会话",gmtCreate:c.gmtCreate,gmtModified:c.gmtModified})):[]}catch(i){throw console.error("获取会话列表失败:",i),i}})}sendEventCallback(t){return Fe(this,null,function*(){if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const{sessionWebhook:r,content:n}=t;if(!r)throw new Error("sessionWebhook 不能为空");try{const{token:a,ticket:i}=yield this.getRequestToken(),s=yield fetch(r,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":a,"X-Account-Session-Ticket":i},body:JSON.stringify(n)});if(!s.ok){const o=yield s.text();throw new Error(`发送事件回调失败: ${s.status} ${o}`)}}catch(a){throw console.error("发送事件回调失败:",a),a}})}submitHumanVerify(t){return Fe(this,null,function*(){const{verifyId:r,sessionWebhook:n,status:a,customParams:i,customParamsKey:s="customParams"}=t;if(!r)throw new Error("verifyId 不能为空");const o={verifyId:r,status:a};return i&&(o[s]=i),this.sendEventCallback({sessionWebhook:n,content:o})})}}const R6=new uh;var Qe="-ms-",Fa="-moz-",Ue="-webkit-",lh="comm",Bs="rule",Vu="decl",D6="@import",L6="@namespace",ch="@keyframes",M6="@layer",fh=Math.abs,Gu=String.fromCharCode,Lo=Object.assign;function P6(e,t){return bt(e,0)^45?(((t<<2^bt(e,0))<<2^bt(e,1))<<2^bt(e,2))<<2^bt(e,3):0}function dh(e){return e.trim()}function Sr(e,t){return(e=t.exec(e))?e[0]:e}function Re(e,t,r){return e.replace(t,r)}function Zi(e,t,r){return e.indexOf(t,r)}function bt(e,t){return e.charCodeAt(t)|0}function kn(e,t,r){return e.slice(t,r)}function rr(e){return e.length}function hh(e){return e.length}function Oa(e,t){return t.push(e),e}function F6(e,t){return e.map(t).join("")}function Ac(e,t){return e.filter(function(r){return!Sr(r,t)})}var zs=1,Xn=1,mh=0,Jt=0,ft=0,ua="";function Hs(e,t,r,n,a,i,s,o){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:zs,column:Xn,length:s,return:"",siblings:o}}function $r(e,t){return Lo(Hs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function zn(e){for(;e.root;)e=$r(e.root,{children:[e]});Oa(e,e.siblings)}function B6(){return ft}function z6(){return ft=Jt>0?bt(ua,--Jt):0,Xn--,ft===10&&(Xn=1,zs--),ft}function ar(){return ft=Jt<mh?bt(ua,Jt++):0,Xn++,ft===10&&(Xn=1,zs++),ft}function Vr(){return bt(ua,Jt)}function es(){return Jt}function Us(e,t){return kn(ua,e,t)}function Ka(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function H6(e){return zs=Xn=1,mh=rr(ua=e),Jt=0,[]}function U6(e){return ua="",e}function R0(e){return dh(Us(Jt-1,Mo(e===91?e+2:e===40?e+1:e)))}function j6(e){for(;(ft=Vr())&&ft<33;)ar();return Ka(e)>2||Ka(ft)>3?"":" "}function $6(e,t){for(;--t&&ar()&&!(ft<48||ft>102||ft>57&&ft<65||ft>70&&ft<97););return Us(e,es()+(t<6&&Vr()==32&&ar()==32))}function Mo(e){for(;ar();)switch(ft){case e:return Jt;case 34:case 39:e!==34&&e!==39&&Mo(ft);break;case 40:e===41&&Mo(e);break;case 92:ar();break}return Jt}function q6(e,t){for(;ar()&&e+ft!==57;)if(e+ft===84&&Vr()===47)break;return"/*"+Us(t,Jt-1)+"*"+Gu(e===47?e:ar())}function Y6(e){for(;!Ka(Vr());)ar();return Us(e,Jt)}function W6(e){return U6(ts("",null,null,null,[""],e=H6(e),0,[0],e))}function ts(e,t,r,n,a,i,s,o,u){for(var l=0,c=0,f=s,p=0,h=0,b=0,y=1,E=1,T=1,A=0,k="",F=a,B=i,O=n,M=k;E;)switch(b=A,A=ar()){case 40:if(b!=108&&bt(M,f-1)==58){Zi(M+=Re(R0(A),"&","&\f"),"&\f",fh(l?o[l-1]:0))!=-1&&(T=-1);break}case 34:case 39:case 91:M+=R0(A);break;case 9:case 10:case 13:case 32:M+=j6(b);break;case 92:M+=$6(es()-1,7);continue;case 47:switch(Vr()){case 42:case 47:Oa(V6(q6(ar(),es()),t,r,u),u),(Ka(b||1)==5||Ka(Vr()||1)==5)&&rr(M)&&kn(M,-1,void 0)!==" "&&(M+=" ");break;default:M+="/"}break;case 123*y:o[l++]=rr(M)*T;case 125*y:case 59:case 0:switch(A){case 0:case 125:E=0;case 59+c:T==-1&&(M=Re(M,/\f/g,"")),h>0&&(rr(M)-f||y===0&&b===47)&&Oa(h>32?kc(M+";",n,r,f-1,u):kc(Re(M," ","")+";",n,r,f-2,u),u);break;case 59:M+=";";default:if(Oa(O=Sc(M,t,r,l,c,a,o,k,F=[],B=[],f,i),i),A===123)if(c===0)ts(M,t,O,O,F,i,f,o,B);else{switch(p){case 99:if(bt(M,3)===110)break;case 108:if(bt(M,2)===97)break;default:c=0;case 100:case 109:case 115:}c?ts(e,O,O,n&&Oa(Sc(e,O,O,0,0,a,o,k,a,F=[],f,B),B),a,B,f,o,n?F:B):ts(M,O,O,O,[""],B,0,o,B)}}l=c=h=0,y=T=1,k=M="",f=s;break;case 58:f=1+rr(M),h=b;default:if(y<1){if(A==123)--y;else if(A==125&&y++==0&&z6()==125)continue}switch(M+=Gu(A),A*y){case 38:T=c>0?1:(M+="\f",-1);break;case 44:o[l++]=(rr(M)-1)*T,T=1;break;case 64:Vr()===45&&(M+=R0(ar())),p=Vr(),c=f=rr(k=M+=Y6(es())),A++;break;case 45:b===45&&rr(M)==2&&(y=0)}}return i}function Sc(e,t,r,n,a,i,s,o,u,l,c,f){for(var p=a-1,h=a===0?i:[""],b=hh(h),y=0,E=0,T=0;y<n;++y)for(var A=0,k=kn(e,p+1,p=fh(E=s[y])),F=e;A<b;++A)(F=dh(E>0?h[A]+" "+k:Re(k,/&\f/g,h[A])))&&(u[T++]=F);return Hs(e,t,r,a===0?Bs:o,u,l,c,f)}function V6(e,t,r,n){return Hs(e,t,r,lh,Gu(B6()),kn(e,2,-2),0,n)}function kc(e,t,r,n,a){return Hs(e,t,r,Vu,kn(e,0,n),kn(e,n+1,-1),n,a)}function ph(e,t,r){switch(P6(e,t)){case 5103:return Ue+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return Ue+e+e;case 4855:return Ue+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return Fa+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ue+e+Fa+e+Qe+e+e;case 5936:switch(bt(e,t+11)){case 114:return Ue+e+Qe+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ue+e+Qe+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ue+e+Qe+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Ue+e+Qe+e+e;case 6165:return Ue+e+Qe+"flex-"+e+e;case 5187:return Ue+e+Re(e,/(\w+).+(:[^]+)/,Ue+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return Ue+e+Qe+"flex-item-"+Re(e,/flex-|-self/g,"")+(Sr(e,/flex-|baseline/)?"":Qe+"grid-row-"+Re(e,/flex-|-self/g,""))+e;case 4675:return Ue+e+Qe+"flex-line-pack"+Re(e,/align-content|flex-|-self/g,"")+e;case 5548:return Ue+e+Qe+Re(e,"shrink","negative")+e;case 5292:return Ue+e+Qe+Re(e,"basis","preferred-size")+e;case 6060:return Ue+"box-"+Re(e,"-grow","")+Ue+e+Qe+Re(e,"grow","positive")+e;case 4554:return Ue+Re(e,/([^-])(transform)/g,"$1"+Ue+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Ue+"$1"),/(image-set)/,Ue+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Ue+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Ue+"box-pack:$3"+Qe+"flex-pack:$3"),/space-between/,"justify")+Ue+e+e;case 4200:if(!Sr(e,/flex-|baseline/))return Qe+"grid-column-align"+kn(e,t)+e;break;case 2592:case 3360:return Qe+Re(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,Sr(n.props,/grid-\w+-end/)})?~Zi(e+(r=r[t].value),"span",0)?e:Qe+Re(e,"-start","")+e+Qe+"grid-row-span:"+(~Zi(r,"span",0)?Sr(r,/\d+/):+Sr(r,/\d+/)-+Sr(e,/\d+/))+";":Qe+Re(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Sr(n.props,/grid-\w+-start/)})?e:Qe+Re(Re(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Ue+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(rr(e)-1-t>6)switch(bt(e,t+1)){case 109:if(bt(e,t+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Ue+"$2-$3$1"+Fa+(bt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zi(e,"stretch",0)?ph(Re(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Re(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,s,o,u,l){return Qe+a+":"+i+l+(s?Qe+a+"-span:"+(o?u:+u-+i)+l:"")+e});case 4949:if(bt(e,t+6)===121)return Re(e,":",":"+Ue)+e;break;case 6444:switch(bt(e,bt(e,14)===45?18:11)){case 120:return Re(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Ue+(bt(e,14)===45?"inline-":"")+"box$3$1"+Ue+"$2$3$1"+Qe+"$2box$3")+e;case 100:return Re(e,":",":"+Qe)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Re(e,"scroll-","scroll-snap-")+e}return e}function ms(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function G6(e,t,r,n){switch(e.type){case M6:if(e.children.length)break;case D6:case L6:case Vu:return e.return=e.return||e.value;case lh:return"";case ch:return e.return=e.value+"{"+ms(e.children,n)+"}";case Bs:if(!rr(e.value=e.props.join(",")))return""}return rr(r=ms(e.children,n))?e.return=e.value+"{"+r+"}":""}function X6(e){var t=hh(e);return function(r,n,a,i){for(var s="",o=0;o<t;o++)s+=e[o](r,n,a,i)||"";return s}}function K6(e){return function(t){t.root||(t=t.return)&&e(t)}}function Q6(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Vu:e.return=ph(e.value,e.length,r);return;case ch:return ms([$r(e,{value:Re(e.value,"@","@"+Ue)})],n);case Bs:if(e.length)return F6(r=e.props,function(a){switch(Sr(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":zn($r(e,{props:[Re(a,/:(read-\w+)/,":"+Fa+"$1")]})),zn($r(e,{props:[a]})),Lo(e,{props:Ac(r,n)});break;case"::placeholder":zn($r(e,{props:[Re(a,/:(plac\w+)/,":"+Ue+"input-$1")]})),zn($r(e,{props:[Re(a,/:(plac\w+)/,":"+Fa+"$1")]})),zn($r(e,{props:[Re(a,/:(plac\w+)/,Qe+"input-$1")]})),zn($r(e,{props:[a]})),Lo(e,{props:Ac(r,n)});break}return""})}}var D0,L0;const Kn=typeof process!="undefined"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",gh="active",bh="data-styled-version",js="6.4.1",Xu=`/*!sc*/
|
|
12
|
-
`,Ba=typeof window!="undefined"&&typeof document!="undefined";function Cc(e){if(typeof process!="undefined"&&process.env!==void 0){const t=process.env[e];if(t!==void 0&&t!=="")return t!=="false"}}const J6=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:(L0=(D0=Cc("REACT_APP_SC_DISABLE_SPEEDY"))!==null&&D0!==void 0?D0:Cc("SC_DISABLE_SPEEDY"))!==null&&L0!==void 0?L0:typeof process=="undefined"||process.env===void 0),yh="sc-keyframes-";function hi(e,...t){return new Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(", ")}`:""}`)}let rs=new Map,ps=new Map,ns=1;const Ra=e=>{if(rs.has(e))return rs.get(e);for(;ps.has(ns);)ns++;const t=ns++;return rs.set(e,t),ps.set(t,e),t},Z6=e=>ps.get(e),e5=(e,t)=>{ns=t+1,rs.set(e,t),ps.set(t,e)},Ku=Object.freeze([]),Qn=Object.freeze({});function t5(e,t,r=Qn){return e.theme!==r.theme&&e.theme||t||r.theme}const r5=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,n5=/(^-|-$)/g;function xh(e){return e.replace(r5,"-").replace(n5,"")}const a5=/(a)(d)/gi,Ic=e=>String.fromCharCode(e+(e>25?39:97));function Qu(e){let t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Ic(t%52)+r;return(Ic(t%52)+r).replace(a5,"$1-$2")}const Po=5381,vn=(e,t)=>{let r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return e},Eh=e=>vn(Po,e);function Th(e){return Qu(Eh(e)>>>0)}function i5(e){return e.displayName||e.name||"Component"}function Fo(e){return typeof e=="string"&&!0}function s5(e){return Fo(e)?`styled.${e}`:`Styled(${i5(e)})`}const vh=Symbol.for("react.memo"),o5=Symbol.for("react.forward_ref"),u5={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},l5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},wh={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c5={[o5]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[vh]:wh};function _c(e){return("type"in(t=e)&&t.type.$$typeof)===vh?wh:"$$typeof"in e?c5[e.$$typeof]:u5;var t}const f5=Object.defineProperty,d5=Object.getOwnPropertyNames,h5=Object.getOwnPropertySymbols,m5=Object.getOwnPropertyDescriptor,p5=Object.getPrototypeOf,g5=Object.prototype;function Ah(e,t,r){if(typeof t!="string"){const n=p5(t);n&&n!==g5&&Ah(e,n,r);const a=d5(t).concat(h5(t)),i=_c(e),s=_c(t);for(let o=0;o<a.length;++o){const u=a[o];if(!(u in l5||r&&r[u]||s&&u in s||i&&u in i)){const l=m5(t,u);try{f5(e,u,l)}catch(c){}}}}return e}function $s(e){return typeof e=="function"}function Sh(e){return typeof e=="object"&&"styledComponentId"in e}function Da(e,t){return e&&t?e+" "+t:e||t||""}function Bo(e,t){return e.join("")}function Qa(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function zo(e,t,r=!1){if(!r&&!Qa(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(let n=0;n<t.length;n++)e[n]=zo(e[n],t[n]);else if(Qa(t))for(const n in t)e[n]=zo(e[n],t[n]);return e}function Ju(e,t){Object.defineProperty(e,"toString",{value:t})}const b5=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let r=this._cGroup;r<e;r++)t+=this.groupSizes[r];else for(let r=this._cGroup-1;r>=e;r--)t-=this.groupSizes[r];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){const a=this.groupSizes,i=a.length;let s=i;for(;e>=s;)if(s<<=1,s<0)throw hi(16,`${e}`);this.groupSizes=new Uint32Array(s),this.groupSizes.set(a),this.length=s;for(let o=i;o<s;o++)this.groupSizes[o]=0}let r=this.indexOfGroup(e+1),n=0;for(let a=0,i=t.length;a<i;a++)this.tag.insertRule(r,t[a])&&(this.groupSizes[e]++,r++,n++);n>0&&this._cGroup>e&&(this._cIndex+=n)}clearGroup(e){if(e<this.length){const t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(let a=r;a<n;a++)this.tag.deleteRule(r);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t="";if(e>=this.length||this.groupSizes[e]===0)return t;const r=this.groupSizes[e],n=this.indexOfGroup(e),a=n+r;for(let i=n;i<a;i++)t+=this.tag.getRule(i)+Xu;return t}},y5=`style[${Kn}][${bh}="${js}"]`,x5=new RegExp(`^${Kn}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),Nc=e=>typeof ShadowRoot!="undefined"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11,Ho=e=>{if(!e)return document;if(Nc(e))return e;if("getRootNode"in e){const t=e.getRootNode();if(Nc(t))return t}return document},E5=(e,t,r)=>{const n=r.split(",");let a;for(let i=0,s=n.length;i<s;i++)(a=n[i])&&e.registerName(t,a)},T5=(e,t)=>{var r;const n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Xu),a=[];for(let i=0,s=n.length;i<s;i++){const o=n[i].trim();if(!o)continue;const u=o.match(x5);if(u){const l=0|parseInt(u[1],10),c=u[2];l!==0&&(e5(c,l),E5(e,c,u[3]),e.getTag().insertRules(l,a)),a.length=0}else a.push(o)}},M0=e=>{const t=Ho(e.options.target).querySelectorAll(y5);for(let r=0,n=t.length;r<n;r++){const a=t[r];a&&a.getAttribute(Kn)!==gh&&(T5(e,a),a.parentNode&&a.parentNode.removeChild(a))}};let Sa=!1;function v5(){if(Sa!==!1)return Sa;if(typeof document!="undefined"){const e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return Sa=e.nonce||e.getAttribute("content")||void 0;const t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return Sa=t.getAttribute("content")||void 0}return Sa=typeof __webpack_nonce__!="undefined"?__webpack_nonce__:void 0}const kh=(e,t)=>{const r=document.head,n=e||r,a=document.createElement("style"),i=(u=>{const l=Array.from(u.querySelectorAll(`style[${Kn}]`));return l[l.length-1]})(n),s=i!==void 0?i.nextSibling:null;a.setAttribute(Kn,gh),a.setAttribute(bh,js);const o=t||v5();return o&&a.setAttribute("nonce",o),n.insertBefore(a,s),a},w5=class{constructor(e,t){this.element=kh(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=(r=>{var n;if(r.sheet)return r.sheet;const a=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets;for(let i=0,s=a.length;i<s;i++){const o=a[i];if(o.ownerNode===r)return o}throw hi(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(r){return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){const t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""}},A5=class{constructor(e,t){this.element=kh(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){const r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:""}};let Oc=Ba;const S5={isServer:!Ba,useCSSOMInjection:!J6};class qs{static registerId(t){return Ra(t)}constructor(t=Qn,r={},n){this.options=Object.assign(Object.assign({},S5),t),this.gs=r,this.keyframeIds=new Set,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Ba&&Oc&&(Oc=!1,M0(this)),Ju(this,()=>(a=>{const i=a.getTag(),{length:s}=i;let o="";for(let u=0;u<s;u++){const l=Z6(u);if(l===void 0)continue;const c=a.names.get(l);if(c===void 0||!c.size)continue;const f=i.getGroup(u);if(f.length===0)continue;const p=Kn+".g"+u+'[id="'+l+'"]';let h="";for(const b of c)b.length>0&&(h+=b+",");o+=f+p+'{content:"'+h+'"}'+Xu}return o})(this))}rehydrate(){!this.server&&Ba&&M0(this)}reconstructWithOptions(t,r=!0){const n=new qs(Object.assign(Object.assign({},this.options),t),this.gs,r&&this.names||void 0);return n.keyframeIds=new Set(this.keyframeIds),!this.server&&Ba&&t.target!==this.options.target&&Ho(this.options.target)!==Ho(t.target)&&M0(n),n}allocateGSInstance(t){return this.gs[t]=(this.gs[t]||0)+1}getTag(){return this.tag||(this.tag=(t=(({useCSSOMInjection:r,target:n,nonce:a})=>r?new w5(n,a):new A5(n,a))(this.options),new b5(t)));var t}hasNameForId(t,r){var n,a;return(a=(n=this.names.get(t))===null||n===void 0?void 0:n.has(r))!==null&&a!==void 0&&a}registerName(t,r){Ra(t),t.startsWith(yh)&&this.keyframeIds.add(t);const n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))}insertRules(t,r,n){this.registerName(t,r),this.getTag().insertRules(Ra(t),n)}clearNames(t){this.names.has(t)&&this.names.get(t).clear()}clearRules(t){this.getTag().clearGroup(Ra(t)),this.clearNames(t)}clearTag(){this.tag=void 0}}const Ch=new WeakSet,k5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function C5(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in k5||e.startsWith("--")?String(t).trim():t+"px"}const bn=47;function Rc(e){if(e.charCodeAt(0)===45&&e.charCodeAt(1)===45)return e;let t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t+=n>=65&&n<=90?"-"+String.fromCharCode(n+32):e[r]}return t.startsWith("ms-")?"-"+t:t}const Ih=Symbol.for("sc-keyframes");function I5(e){return typeof e=="object"&&e!==null&&Ih in e}function _h(e){return $s(e)&&!(e.prototype&&e.prototype.isReactComponent)}const Nh=e=>e==null||e===!1||e==="",_5=Symbol.for("react.client.reference");function Dc(e){return e.$$typeof===_5}function Oh(e,t){for(const r in e){const n=e[r];e.hasOwnProperty(r)&&!Nh(n)&&(Array.isArray(n)&&Ch.has(n)||$s(n)?t.push(Rc(r)+":",n,";"):Qa(n)?(t.push(r+" {"),Oh(n,t),t.push("}")):t.push(Rc(r)+": "+C5(r,n)+";"))}}function wn(e,t,r,n,a=[]){if(Nh(e))return a;const i=typeof e;if(i==="string")return a.push(e),a;if(i==="function"){if(Dc(e))return a;if(_h(e)&&t){const s=e(t);return wn(s,t,r,n,a)}return a.push(e),a}if(Array.isArray(e)){for(let s=0;s<e.length;s++)wn(e[s],t,r,n,a);return a}return Sh(e)?(a.push(`.${e.styledComponentId}`),a):I5(e)?(r?(e.inject(r,n),a.push(e.getName(n))):a.push(e),a):Dc(e)?a:Qa(e)?(Oh(e,a),a):(a.push(e.toString()),a)}const N5=Eh(js);class O5{constructor(t,r,n){this.rules=t,this.componentId=r,this.baseHash=vn(N5,r),this.baseStyle=n,qs.registerId(r)}generateAndInjectStyles(t,r,n){let a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";{let i="";for(let s=0;s<this.rules.length;s++){const o=this.rules[s];if(typeof o=="string")i+=o;else if(o)if(_h(o)){const u=o(t);typeof u=="string"?i+=u:u!=null&&u!==!1&&(i+=Bo(wn(u,t,r,n)))}else i+=Bo(wn(o,t,r,n))}if(i){this.dynamicNameCache||(this.dynamicNameCache=new Map);const s=n.hash?n.hash+i:i;let o=this.dynamicNameCache.get(s);if(!o){if(o=Qu(vn(vn(this.baseHash,n.hash),i)>>>0),this.dynamicNameCache.size>=200){const u=this.dynamicNameCache.keys().next().value;u!==void 0&&this.dynamicNameCache.delete(u)}this.dynamicNameCache.set(s,o)}if(!r.hasNameForId(this.componentId,o)){const u=n(i,"."+o,void 0,this.componentId);r.insertRules(this.componentId,o,u)}a=Da(a,o)}}return a}}const R5=/&/g;function Rh(e,t){let r=0;for(;--t>=0&&e.charCodeAt(t)===92;)r++;return!(1&~r)}function P0(e){const t=e.length;let r="",n=0,a=0,i=0,s=!1,o=!1;for(let u=0;u<t;u++){const l=e.charCodeAt(u);if(i!==0||s||l!==bn||e.charCodeAt(u+1)!==42)if(s)l===42&&e.charCodeAt(u+1)===bn&&(s=!1,u++);else if(l!==34&&l!==39||Rh(e,u)){if(i===0)if(l===123)a++;else if(l===125){if(a--,a<0){o=!0;let c=u+1;for(;c<t;){const f=e.charCodeAt(c);if(f===59||f===10)break;c++}c<t&&e.charCodeAt(c)===59&&c++,a=0,u=c-1,n=c;continue}a===0&&(r+=e.substring(n,u+1),n=u+1)}else l===59&&a===0&&(r+=e.substring(n,u+1),n=u+1)}else i===0?i=l:i===l&&(i=0);else s=!0,u++}return o||a!==0||i!==0?(n<t&&a===0&&i===0&&(r+=e.substring(n)),r):e}function Dh(e,t){const r=t+" ",n=","+r;for(let a=0;a<e.length;a++){const i=e[a];if(i.type==="rule"){i.value=(r+i.value).replaceAll(",",n);const s=i.props,o=[];for(let u=0;u<s.length;u++)o[u]=r+s[u];i.props=o}Array.isArray(i.children)&&i.type!=="@keyframes"&&Dh(i.children,t)}return e}function D5({options:e=Qn,plugins:t=Ku}=Qn){let r,n,a;const i=(p,h,b)=>b.startsWith(n)&&b.endsWith(n)&&b.replaceAll(n,"").length>0?`.${r}`:p,s=t.slice();s.push(p=>{p.type===Bs&&p.value.includes("&")&&(a||(a=new RegExp(`\\${n}\\b`,"g")),p.props[0]=p.props[0].replace(R5,n).replace(a,i))}),e.prefix&&s.push(Q6),s.push(G6);let o=[];const u=X6(s.concat(K6(p=>o.push(p)))),l=(p,h="",b="",y="&")=>{r=y,n=h,a=void 0;const E=function(A){const k=A.indexOf("//")!==-1,F=A.indexOf("}")!==-1;if(!k&&!F)return A;if(!k)return P0(A);const B=A.length;let O="",M=0,z=0,U=0,L=0,$=0,te=!1;for(;z<B;){const ge=A.charCodeAt(z);if(ge!==34&&ge!==39||Rh(A,z))if(U===0)if(ge===bn&&z+1<B&&A.charCodeAt(z+1)===42){for(z+=2;z+1<B&&(A.charCodeAt(z)!==42||A.charCodeAt(z+1)!==bn);)z++;z+=2}else if(ge!==40)if(ge!==41)if(L>0)z++;else if(ge===42&&z+1<B&&A.charCodeAt(z+1)===bn)O+=A.substring(M,z),z+=2,M=z,te=!0;else if(ge===bn&&z+1<B&&A.charCodeAt(z+1)===bn){for(O+=A.substring(M,z);z<B&&A.charCodeAt(z)!==10;)z++;M=z,te=!0}else ge===123?$++:ge===125&&$--,z++;else L>0&&L--,z++;else L++,z++;else z++;else U===0?U=ge:U===ge&&(U=0),z++}return te?(M<B&&(O+=A.substring(M)),$===0?O:P0(O)):$===0?A:P0(A)}(p);let T=W6(b||h?b+" "+h+" { "+E+" }":E);return e.namespace&&(T=Dh(T,e.namespace)),o=[],ms(T,u),o},c=e;let f=Po;for(let p=0;p<t.length;p++)t[p].name||hi(15),f=vn(f,t[p].name);return c!=null&&c.namespace&&(f=vn(f,c.namespace)),c!=null&&c.prefix&&(f=vn(f,"p")),l.hash=f!==Po?f.toString():"",l}const L5=new qs,Uo=D5(),Lh=G.createContext({shouldForwardProp:void 0,styleSheet:L5,stylis:Uo,stylisPlugins:void 0});Lh.Consumer;function M5(){return G.useContext(Lh)}const Mh=G.createContext(void 0);Mh.Consumer;const Lc=Object.prototype.hasOwnProperty,F0={};function P5(e,t){const r=typeof e!="string"?"sc":xh(e);F0[r]=(F0[r]||0)+1;const n=r+"-"+Th(js+r+F0[r]);return t?t+"-"+n:n}function F5(e,t,r){const n=Sh(e),a=e,i=!Fo(e),{attrs:s=Ku,componentId:o=P5(t.displayName,t.parentComponentId),displayName:u=s5(e)}=t,l=t.displayName&&t.componentId?xh(t.displayName)+"-"+t.componentId:t.componentId||o,c=n&&a.attrs?a.attrs.concat(s).filter(Boolean):s;let{shouldForwardProp:f}=t;if(n&&a.shouldForwardProp){const y=a.shouldForwardProp;if(t.shouldForwardProp){const E=t.shouldForwardProp;f=(T,A)=>y(T,A)&&E(T,A)}else f=y}const p=new O5(r,l,n?a.componentStyle:void 0);function h(y,E){return function(T,A,k){const{attrs:F,componentStyle:B,defaultProps:O,foldedComponentIds:M,styledComponentId:z,target:U}=T,L=G.useContext(Mh),$=M5(),te=T.shouldForwardProp||$.shouldForwardProp,ge=t5(A,L,O)||Qn;let X,W;{const he=G.useRef(null),C=he.current;if(C!==null&&C[1]===ge&&C[2]===$.styleSheet&&C[3]===$.stylis&&C[7]===B&&function(K,Q,I){const me=K,ve=Q;let Ce=0;for(const He in ve)if(Lc.call(ve,He)&&(Ce++,me[He]!==ve[He]))return!1;return Ce===I}(C[0],A,C[4]))X=C[5],W=C[6];else{X=function(Q,I,me){const ve=Object.assign(Object.assign({},I),{className:void 0,theme:me}),Ce=Q.length>1;for(let He=0;He<Q.length;He++){const Ze=Q[He],qe=$s(Ze)?Ze(Ce?Object.assign({},ve):ve):Ze;for(const Be in qe)Be==="className"?ve.className=Da(ve.className,qe[Be]):Be==="style"?ve.style=Object.assign(Object.assign({},ve.style),qe[Be]):Be in I&&I[Be]===void 0||(ve[Be]=qe[Be])}return"className"in I&&typeof I.className=="string"&&(ve.className=Da(ve.className,I.className)),ve}(F,A,ge),W=function(Q,I,me,ve){return Q.generateAndInjectStyles(I,me,ve)}(B,X,$.styleSheet,$.stylis);let K=0;for(const Q in A)Lc.call(A,Q)&&K++;he.current=[A,ge,$.styleSheet,$.stylis,K,X,W,B]}}const V=X.as||U,ie=function(he,C,K,Q){const I={};for(const me in he)he[me]===void 0||me[0]==="$"||me==="as"||me==="theme"&&he.theme===K||(me==="forwardedAs"?I.as=he.forwardedAs:Q&&!Q(me,C)||(I[me]=he[me]));return I}(X,V,ge,te);let J=Da(M,z);return W&&(J+=" "+W),X.className&&(J+=" "+X.className),ie[Fo(V)&&V.includes("-")?"class":"className"]=J,k&&(ie.ref=k),G.createElement(V,ie)}(b,y,E)}h.displayName=u;let b=G.forwardRef(h);return b.attrs=c,b.componentStyle=p,b.displayName=u,b.shouldForwardProp=f,b.foldedComponentIds=n?Da(a.foldedComponentIds,a.styledComponentId):"",b.styledComponentId=l,b.target=n?a.target:e,Object.defineProperty(b,"defaultProps",{get(){return this._foldedDefaultProps},set(y){this._foldedDefaultProps=n?function(E,...T){for(const A of T)zo(E,A,!0);return E}({},a.defaultProps,y):y}}),Ju(b,()=>`.${b.styledComponentId}`),i&&Ah(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}var B5=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function Mc(e,t){const r=[e[0]];for(let n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}const Pc=e=>(Ch.add(e),e);function gs(e,...t){if($s(e)||Qa(e))return Pc(wn(Mc(Ku,[e,...t])));const r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?wn(r):Pc(wn(Mc(r,t)))}function jo(e,t,r=Qn){if(!t)throw hi(1,t);const n=(a,...i)=>e(t,r,gs(a,...i));return n.attrs=a=>jo(e,t,Object.assign(Object.assign({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)})),n.withConfig=a=>jo(e,t,Object.assign(Object.assign({},r),a)),n}const Ph=e=>jo(F5,e),ee=Ph;B5.forEach(e=>{ee[e]=Ph(e)});var Fh;let z5=class{constructor(t,r){this[Fh]=!0,this.inject=(n,a=Uo)=>{const i=this.getName(a);if(!n.hasNameForId(this.id,i)){const s=a(this.rules,i,"@keyframes");n.insertRules(this.id,i,s)}},this.name=t,this.id=yh+t,this.rules=r,Ra(this.id),Ju(this,()=>{throw hi(12,String(this.name))})}getName(t=Uo){return t.hash?this.name+Qu(+t.hash>>>0):this.name}};function H5(e,...t){const r=Bo(gs(e,...t)),n=Th(r);return new z5(n,r)}Fh=Ih;function Fc(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=r.length,i=!0);const s=r.slice(a,n).trim();(s||!i)&&t.push(s),a=n+1,n=r.indexOf(",",a)}return t}function Bh(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const U5=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,j5=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,$5={};function Bc(e,t){return($5.jsx?j5:U5).test(e)}const q5=/[ \t\n\f\r]/g;function Y5(e){return typeof e=="object"?e.type==="text"?zc(e.value):!1:zc(e)}function zc(e){return e.replace(q5,"")===""}class mi{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}mi.prototype.normal={};mi.prototype.property={};mi.prototype.space=void 0;function zh(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new mi(r,n,t)}function Ja(e){return e.toLowerCase()}class zt{constructor(t,r){this.attribute=r,this.property=t}}zt.prototype.attribute="";zt.prototype.booleanish=!1;zt.prototype.boolean=!1;zt.prototype.commaOrSpaceSeparated=!1;zt.prototype.commaSeparated=!1;zt.prototype.defined=!1;zt.prototype.mustUseProperty=!1;zt.prototype.number=!1;zt.prototype.overloadedBoolean=!1;zt.prototype.property="";zt.prototype.spaceSeparated=!1;zt.prototype.space=void 0;let W5=0;const _e=On(),ct=On(),$o=On(),ce=On(),Xe=On(),Yn=On(),Ut=On();function On(){return ic(2,++W5)}const qo=Object.freeze(Object.defineProperty({__proto__:null,boolean:_e,booleanish:ct,commaOrSpaceSeparated:Ut,commaSeparated:Yn,number:ce,overloadedBoolean:$o,spaceSeparated:Xe},Symbol.toStringTag,{value:"Module"})),B0=Object.keys(qo);class Zu extends zt{constructor(t,r,n,a){let i=-1;if(super(t,r),Hc(this,"space",a),typeof n=="number")for(;++i<B0.length;){const s=B0[i];Hc(this,B0[i],(n&qo[s])===qo[s])}}}Zu.prototype.defined=!0;function Hc(e,t,r){r&&(e[t]=r)}function la(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new Zu(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[Ja(n)]=n,r[Ja(i.attribute)]=n}return new mi(t,r,e.space)}const Hh=la({properties:{ariaActiveDescendant:null,ariaAtomic:ct,ariaAutoComplete:null,ariaBusy:ct,ariaChecked:ct,ariaColCount:ce,ariaColIndex:ce,ariaColSpan:ce,ariaControls:Xe,ariaCurrent:null,ariaDescribedBy:Xe,ariaDetails:null,ariaDisabled:ct,ariaDropEffect:Xe,ariaErrorMessage:null,ariaExpanded:ct,ariaFlowTo:Xe,ariaGrabbed:ct,ariaHasPopup:null,ariaHidden:ct,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xe,ariaLevel:ce,ariaLive:null,ariaModal:ct,ariaMultiLine:ct,ariaMultiSelectable:ct,ariaOrientation:null,ariaOwns:Xe,ariaPlaceholder:null,ariaPosInSet:ce,ariaPressed:ct,ariaReadOnly:ct,ariaRelevant:null,ariaRequired:ct,ariaRoleDescription:Xe,ariaRowCount:ce,ariaRowIndex:ce,ariaRowSpan:ce,ariaSelected:ct,ariaSetSize:ce,ariaSort:null,ariaValueMax:ce,ariaValueMin:ce,ariaValueNow:ce,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Uh(e,t){return t in e?e[t]:t}function jh(e,t){return Uh(e,t.toLowerCase())}const V5=la({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Yn,acceptCharset:Xe,accessKey:Xe,action:null,allow:null,allowFullScreen:_e,allowPaymentRequest:_e,allowUserMedia:_e,alt:null,as:null,async:_e,autoCapitalize:null,autoComplete:Xe,autoFocus:_e,autoPlay:_e,blocking:Xe,capture:null,charSet:null,checked:_e,cite:null,className:Xe,cols:ce,colSpan:null,content:null,contentEditable:ct,controls:_e,controlsList:Xe,coords:ce|Yn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:_e,defer:_e,dir:null,dirName:null,disabled:_e,download:$o,draggable:ct,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:_e,formTarget:null,headers:Xe,height:ce,hidden:$o,high:ce,href:null,hrefLang:null,htmlFor:Xe,httpEquiv:Xe,id:null,imageSizes:null,imageSrcSet:null,inert:_e,inputMode:null,integrity:null,is:null,isMap:_e,itemId:null,itemProp:Xe,itemRef:Xe,itemScope:_e,itemType:Xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:_e,low:ce,manifest:null,max:null,maxLength:ce,media:null,method:null,min:null,minLength:ce,multiple:_e,muted:_e,name:null,nonce:null,noModule:_e,noValidate:_e,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:_e,optimum:ce,pattern:null,ping:Xe,placeholder:null,playsInline:_e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:_e,referrerPolicy:null,rel:Xe,required:_e,reversed:_e,rows:ce,rowSpan:ce,sandbox:Xe,scope:null,scoped:_e,seamless:_e,selected:_e,shadowRootClonable:_e,shadowRootDelegatesFocus:_e,shadowRootMode:null,shape:null,size:ce,sizes:null,slot:null,span:ce,spellCheck:ct,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ce,step:null,style:null,tabIndex:ce,target:null,title:null,translate:null,type:null,typeMustMatch:_e,useMap:null,value:ct,width:ce,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xe,axis:null,background:null,bgColor:null,border:ce,borderColor:null,bottomMargin:ce,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:_e,declare:_e,event:null,face:null,frame:null,frameBorder:null,hSpace:ce,leftMargin:ce,link:null,longDesc:null,lowSrc:null,marginHeight:ce,marginWidth:ce,noResize:_e,noHref:_e,noShade:_e,noWrap:_e,object:null,profile:null,prompt:null,rev:null,rightMargin:ce,rules:null,scheme:null,scrolling:ct,standby:null,summary:null,text:null,topMargin:ce,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ce,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:_e,disableRemotePlayback:_e,prefix:null,property:null,results:ce,security:null,unselectable:null},space:"html",transform:jh}),G5=la({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ut,accentHeight:ce,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ce,amplitude:ce,arabicForm:null,ascent:ce,attributeName:null,attributeType:null,azimuth:ce,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ce,by:null,calcMode:null,capHeight:ce,className:Xe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ce,diffuseConstant:ce,direction:null,display:null,dur:null,divisor:ce,dominantBaseline:null,download:_e,dx:null,dy:null,edgeMode:null,editable:null,elevation:ce,enableBackground:null,end:null,event:null,exponent:ce,externalResourcesRequired:null,fill:null,fillOpacity:ce,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Yn,g2:Yn,glyphName:Yn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ce,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ce,horizOriginX:ce,horizOriginY:ce,id:null,ideographic:ce,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ce,k:ce,k1:ce,k2:ce,k3:ce,k4:ce,kernelMatrix:Ut,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ce,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ce,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ce,overlineThickness:ce,paintOrder:null,panose1:null,path:null,pathLength:ce,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ce,pointsAtY:ce,pointsAtZ:ce,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ut,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ut,rev:Ut,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ut,requiredFeatures:Ut,requiredFonts:Ut,requiredFormats:Ut,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ce,specularExponent:ce,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ce,strikethroughThickness:ce,string:null,stroke:null,strokeDashArray:Ut,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ce,strokeOpacity:ce,strokeWidth:null,style:null,surfaceScale:ce,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ut,tabIndex:ce,tableValues:null,target:null,targetX:ce,targetY:ce,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ut,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ce,underlineThickness:ce,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ce,values:null,vAlphabetic:ce,vMathematical:ce,vectorEffect:null,vHanging:ce,vIdeographic:ce,version:null,vertAdvY:ce,vertOriginX:ce,vertOriginY:ce,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ce,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Uh}),$h=la({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),qh=la({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:jh}),Yh=la({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),X5={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},K5=/[A-Z]/g,Uc=/-[a-z]/g,Q5=/^data[-\w.:]+$/i;function Ys(e,t){const r=Ja(t);let n=t,a=zt;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Q5.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Uc,Z5);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Uc.test(i)){let s=i.replace(K5,J5);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Zu}return new a(n,t)}function J5(e){return"-"+e.toLowerCase()}function Z5(e){return e.charAt(1).toUpperCase()}const pi=zh([Hh,V5,$h,qh,Yh],"html"),nn=zh([Hh,G5,$h,qh,Yh],"svg");function jc(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Wh(e){return e.join(" ").trim()}var Za=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ws(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var el={},$c=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,eg=/\n/g,tg=/^\s*/,rg=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ng=/^:\s*/,ag=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ig=/^[;\s]*/,sg=/^\s+|\s+$/g,og=`
|
|
13
|
-
`,qc="/",Yc="*",yn="",ug="comment",lg="declaration";function cg(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function a(b){var y=b.match(eg);y&&(r+=y.length);var E=b.lastIndexOf(og);n=~E?b.length-E:n+b.length}function i(){var b={line:r,column:n};return function(y){return y.position=new s(b),l(),y}}function s(b){this.start=b,this.end={line:r,column:n},this.source=t.source}s.prototype.content=e;function o(b){var y=new Error(t.source+":"+r+":"+n+": "+b);if(y.reason=b,y.filename=t.source,y.line=r,y.column=n,y.source=e,!t.silent)throw y}function u(b){var y=b.exec(e);if(y){var E=y[0];return a(E),e=e.slice(E.length),y}}function l(){u(tg)}function c(b){var y;for(b=b||[];y=f();)y!==!1&&b.push(y);return b}function f(){var b=i();if(!(qc!=e.charAt(0)||Yc!=e.charAt(1))){for(var y=2;yn!=e.charAt(y)&&(Yc!=e.charAt(y)||qc!=e.charAt(y+1));)++y;if(y+=2,yn===e.charAt(y-1))return o("End of comment missing");var E=e.slice(2,y-2);return n+=2,a(E),e=e.slice(y),n+=2,b({type:ug,comment:E})}}function p(){var b=i(),y=u(rg);if(y){if(f(),!u(ng))return o("property missing ':'");var E=u(ag),T=b({type:lg,property:Wc(y[0].replace($c,yn)),value:E?Wc(E[0].replace($c,yn)):yn});return u(ig),T}}function h(){var b=[];c(b);for(var y;y=p();)y!==!1&&(b.push(y),c(b));return b}return l(),h()}function Wc(e){return e?e.replace(sg,yn):yn}var fg=cg,dg=Za&&Za.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(el,"__esModule",{value:!0});el.default=mg;const hg=dg(fg);function mg(e,t){let r=null;if(!e||typeof e!="string")return r;const n=(0,hg.default)(e),a=typeof t=="function";return n.forEach(i=>{if(i.type!=="declaration")return;const{property:s,value:o}=i;a?t(s,o,i):o&&(r=r||{},r[s]=o)}),r}var Vs={};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.camelCase=void 0;var pg=/^--[a-zA-Z0-9_-]+$/,gg=/-([a-z])/g,bg=/^[^-]+$/,yg=/^-(webkit|moz|ms|o|khtml)-/,xg=/^-(ms)-/,Eg=function(e){return!e||bg.test(e)||pg.test(e)},Tg=function(e,t){return t.toUpperCase()},Vc=function(e,t){return"".concat(t,"-")},vg=function(e,t){return t===void 0&&(t={}),Eg(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(xg,Vc):e=e.replace(yg,Vc),e.replace(gg,Tg))};Vs.camelCase=vg;var wg=Za&&Za.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Ag=wg(el),Sg=Vs;function Yo(e,t){var r={};return!e||typeof e!="string"||(0,Ag.default)(e,function(n,a){n&&a&&(r[(0,Sg.camelCase)(n,t)]=a)}),r}Yo.default=Yo;var kg=Yo;const Cg=Ws(kg),Gs=Vh("end"),br=Vh("start");function Vh(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Ig(e){const t=br(e),r=Gs(e);if(t&&r)return{start:t,end:r}}function za(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Gc(e.position):"start"in e||"end"in e?Gc(e):"line"in e||"column"in e?Wo(e):""}function Wo(e){return Xc(e&&e.line)+":"+Xc(e&&e.column)}function Gc(e){return Wo(e&&e.start)+"-"+Wo(e&&e.end)}function Xc(e){return e&&typeof e=="number"?e:1}class kt extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},s=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i=se({},r)),typeof t=="string"?a=t:!i.cause&&t&&(s=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const u=n.indexOf(":");u===-1?i.ruleId=n:(i.source=n.slice(0,u),i.ruleId=n.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=o?o.line:void 0,this.name=za(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}kt.prototype.file="";kt.prototype.name="";kt.prototype.reason="";kt.prototype.message="";kt.prototype.stack="";kt.prototype.column=void 0;kt.prototype.line=void 0;kt.prototype.ancestors=void 0;kt.prototype.cause=void 0;kt.prototype.fatal=void 0;kt.prototype.place=void 0;kt.prototype.ruleId=void 0;kt.prototype.source=void 0;const tl={}.hasOwnProperty,_g=new Map,Ng=/[A-Z]/g,Og=new Set(["table","tbody","thead","tfoot","tr"]),Rg=new Set(["td","th"]),Gh="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Dg(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=Ug(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=Hg(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?nn:pi,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Xh(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Xh(e,t,r){if(t.type==="element")return Lg(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Mg(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Fg(e,t,r);if(t.type==="mdxjsEsm")return Pg(e,t);if(t.type==="root")return Bg(e,t,r);if(t.type==="text")return zg(e,t)}function Lg(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=nn,e.schema=a),e.ancestors.push(t);const i=Qh(e,t.tagName,!1),s=jg(e,t);let o=nl(e,t);return Og.has(t.tagName)&&(o=o.filter(function(u){return typeof u=="string"?!Y5(u):!0})),Kh(e,s,i,t),rl(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Mg(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}ei(e,t.position)}function Pg(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ei(e,t.position)}function Fg(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=nn,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:Qh(e,t.name,!0),s=$g(e,t),o=nl(e,t);return Kh(e,s,i,t),rl(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Bg(e,t,r){const n={};return rl(n,nl(e,t)),e.create(t,e.Fragment,n,r)}function zg(e,t){return t.value}function Kh(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function rl(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function Hg(e,t,r){return n;function n(a,i,s,o){const l=Array.isArray(s.children)?r:t;return o?l(i,s,o):l(i,s)}}function Ug(e,t){return r;function r(n,a,i,s){const o=Array.isArray(i.children),u=br(n);return t(a,i,s,o,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function jg(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&tl.call(t.properties,a)){const i=qg(e,a,t.properties[a]);if(i){const[s,o]=i;e.tableCellAlignToStyle&&s==="align"&&typeof o=="string"&&Rg.has(t.tagName)?n=o:r[s]=o}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function $g(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const s=i.expression;s.type;const o=s.properties[0];o.type,Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else ei(e,t.position);else{const a=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const o=n.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else ei(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function nl(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:_g;for(;++n<t.children.length;){const i=t.children[n];let s;if(e.passKeys){const u=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(u){const l=a.get(u)||0;s=u+"-"+l,a.set(u,l+1)}}const o=Xh(e,i,s);o!==void 0&&r.push(o)}return r}function qg(e,t,r){const n=Ys(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Bh(r):Wh(r)),n.property==="style"){let a=typeof r=="object"?r:Yg(e,String(r));return e.stylePropertyNameCase==="css"&&(a=Wg(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?X5[n.property]||n.property:n.attribute,r]}}function Yg(e,t){try{return Cg(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new kt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Gh+"#cannot-parse-style-attribute",a}}function Qh(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,s;for(;++i<a.length;){const o=Bc(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};s=s?{type:"MemberExpression",object:s,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}n=s}else n=Bc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return tl.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);ei(e)}function ei(e,t){const r=new kt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Gh+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Wg(e){const t={};let r;for(r in e)tl.call(e,r)&&(t[Vg(r)]=e[r]);return t}function Vg(e){let t=e.replace(Ng,Gg);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Gg(e){return"-"+e.toLowerCase()}const z0={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Xg={};function al(e,t){const r=Xg,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Jh(e,n,a)}function Jh(e,t,r){if(Kg(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 Kc(e.children,t,r)}return Array.isArray(e)?Kc(e,t,r):""}function Kc(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=Jh(e[a],t,r);return n.join("")}function Kg(e){return!!(e&&typeof e=="object")}const Qc=document.createElement("i");function il(e){const t="&"+e+";";Qc.innerHTML=t;const r=Qc.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function jt(e,t,r,n){const a=e.length;let i=0,s;if(t<0?t=-t>a?0:a+t:t=t>a?a: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);i<n.length;)s=n.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function Xt(e,t){return e.length>0?(jt(e,e.length,0,t),e):t}const Jc={}.hasOwnProperty;function Zh(e){const t={};let r=-1;for(;++r<e.length;)Qg(t,e[r]);return t}function Qg(e,t){let r;for(r in t){const a=(Jc.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let s;if(i)for(s in i){Jc.call(a,s)||(a[s]=[]);const o=i[s];Jg(a[s],Array.isArray(o)?o:o?[o]:[])}}}function Jg(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);jt(e,0,0,n)}function em(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 ir(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Nt=an(/[A-Za-z]/),wt=an(/[\dA-Za-z]/),Zg=an(/[#-'*+\--9=?A-Z^-~]/);function bs(e){return e!==null&&(e<32||e===127)}const Vo=an(/\d/),eb=an(/[\dA-Fa-f]/),tb=an(/[!-/:-@[-`{-~]/);function xe(e){return e!==null&&e<-2}function Ve(e){return e!==null&&(e<0||e===32)}function Pe(e){return e===-2||e===-1||e===32}const Xs=an(new RegExp("\\p{P}|\\p{S}","u")),Cn=an(/\s/);function an(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ca(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let s="";if(i===37&&wt(e.charCodeAt(r+1))&&wt(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(r+1);i<56320&&o>56319&&o<57344?(s=String.fromCharCode(i,o),a=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+a+1,s=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function Me(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(u){return Pe(u)?(e.enter(r),o(u)):t(u)}function o(u){return Pe(u)&&i++<a?(e.consume(u),o):(e.exit(r),t(u))}}const rb={tokenize:nb};function nb(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Me(e,t,"linePrefix")}function a(o){return e.enter("paragraph"),i(o)}function i(o){const u=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return xe(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),s)}}const ab={tokenize:ib},Zc={tokenize:sb};function ib(e){const t=this,r=[];let n=0,a,i,s;return o;function o(k){if(n<r.length){const F=r[n];return t.containerState=F[1],e.attempt(F[0].continuation,u,l)(k)}return l(k)}function u(k){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&A();const F=t.events.length;let B=F,O;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){O=t.events[B][1].end;break}T(n);let M=F;for(;M<t.events.length;)t.events[M][1].end=se({},O),M++;return jt(t.events,B+1,0,t.events.slice(F)),t.events.length=M,l(k)}return o(k)}function l(k){if(n===r.length){if(!a)return p(k);if(a.currentConstruct&&a.currentConstruct.concrete)return b(k);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Zc,c,f)(k)}function c(k){return a&&A(),T(n),p(k)}function f(k){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,b(k)}function p(k){return t.containerState={},e.attempt(Zc,h,b)(k)}function h(k){return n++,r.push([t.currentConstruct,t.containerState]),p(k)}function b(k){if(k===null){a&&A(),T(0),e.consume(k);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),y(k)}function y(k){if(k===null){E(e.exit("chunkFlow"),!0),T(0),e.consume(k);return}return xe(k)?(e.consume(k),E(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(k),y)}function E(k,F){const B=t.sliceStream(k);if(F&&B.push(null),k.previous=i,i&&(i.next=k),i=k,a.defineSkip(k.start),a.write(B),t.parser.lazy[k.start.line]){let O=a.events.length;for(;O--;)if(a.events[O][1].start.offset<s&&(!a.events[O][1].end||a.events[O][1].end.offset>s))return;const M=t.events.length;let z=M,U,L;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(U){L=t.events[z][1].end;break}U=!0}for(T(n),O=M;O<t.events.length;)t.events[O][1].end=se({},L),O++;jt(t.events,z+1,0,t.events.slice(M)),t.events.length=O}}function T(k){let F=r.length;for(;F-- >k;){const B=r[F];t.containerState=B[1],B[0].exit.call(t,e)}r.length=k}function A(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function sb(e,t,r){return Me(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Jn(e){if(e===null||Ve(e)||Cn(e))return 1;if(Xs(e))return 2}function Ks(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}const Go={name:"attention",resolveAll:ob,tokenize:ub};function ob(e,t){let r=-1,n,a,i,s,o,u,l,c;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;u=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 f=se({},e[n][1].end),p=se({},e[r][1].start);e1(f,-u),e1(p,u),s={type:u>1?"strongSequence":"emphasisSequence",start:f,end:se({},e[n][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:se({},e[r][1].start),end:p},i={type:u>1?"strongText":"emphasisText",start:se({},e[n][1].end),end:se({},e[r][1].start)},a={type:u>1?"strong":"emphasis",start:se({},s.start),end:se({},o.end)},e[n][1].end=se({},s.start),e[r][1].start=se({},o.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Xt(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Xt(l,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),l=Xt(l,Ks(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=Xt(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,l=Xt(l,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,jt(e,n-1,r-n+3,l),r=n+l.length-c-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function ub(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=Jn(n);let i;return s;function s(u){return i=u,e.enter("attentionSequence"),o(u)}function o(u){if(u===i)return e.consume(u),o;const l=e.exit("attentionSequence"),c=Jn(u),f=!c||c===2&&a||r.includes(u),p=!a||a===2&&c||r.includes(n);return l._open=!!(i===42?f:f&&(a||!p)),l._close=!!(i===42?p:p&&(c||!f)),t(u)}}function e1(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const lb={name:"autolink",tokenize:cb};function cb(e,t,r){let n=0;return a;function a(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(h){return Nt(h)?(e.consume(h),s):h===64?r(h):l(h)}function s(h){return h===43||h===45||h===46||wt(h)?(n=1,o(h)):l(h)}function o(h){return h===58?(e.consume(h),n=0,u):(h===43||h===45||h===46||wt(h))&&n++<32?(e.consume(h),o):(n=0,l(h))}function u(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||bs(h)?r(h):(e.consume(h),u)}function l(h){return h===64?(e.consume(h),c):Zg(h)?(e.consume(h),l):r(h)}function c(h){return wt(h)?f(h):r(h)}function f(h){return h===46?(e.consume(h),n=0,c):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||wt(h))&&n++<63){const b=h===45?p:f;return e.consume(h),b}return r(h)}}const gi={partial:!0,tokenize:fb};function fb(e,t,r){return n;function n(i){return Pe(i)?Me(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||xe(i)?t(i):r(i)}}const tm={continuation:{tokenize:hb},exit:mb,name:"blockQuote",tokenize:db};function db(e,t,r){const n=this;return a;function a(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"),i}return r(s)}function i(s){return Pe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function hb(e,t,r){const n=this;return a;function a(s){return Pe(s)?Me(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(tm,t,r)(s)}}function mb(e){e.exit("blockQuote")}const rm={name:"characterEscape",tokenize:pb};function pb(e,t,r){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return tb(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const nm={name:"characterReference",tokenize:gb};function gb(e,t,r){const n=this;let a=0,i,s;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,s=wt,c(f))}function l(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=eb,c):(e.enter("characterReferenceValue"),i=7,s=Vo,c(f))}function c(f){if(f===59&&a){const p=e.exit("characterReferenceValue");return s===wt&&!il(n.sliceSerialize(p))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&a++<i?(e.consume(f),c):r(f)}}const t1={partial:!0,tokenize:yb},r1={concrete:!0,name:"codeFenced",tokenize:bb};function bb(e,t,r){const n=this,a={partial:!0,tokenize:B};let i=0,s=0,o;return u;function u(O){return l(O)}function l(O){const M=n.events[n.events.length-1];return i=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,o=O,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(O)}function c(O){return O===o?(s++,e.consume(O),c):s<3?r(O):(e.exit("codeFencedFenceSequence"),Pe(O)?Me(e,f,"whitespace")(O):f(O))}function f(O){return O===null||xe(O)?(e.exit("codeFencedFence"),n.interrupt?t(O):e.check(t1,y,F)(O)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(O))}function p(O){return O===null||xe(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(O)):Pe(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Me(e,h,"whitespace")(O)):O===96&&O===o?r(O):(e.consume(O),p)}function h(O){return O===null||xe(O)?f(O):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(O))}function b(O){return O===null||xe(O)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(O)):O===96&&O===o?r(O):(e.consume(O),b)}function y(O){return e.attempt(a,F,E)(O)}function E(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),T}function T(O){return i>0&&Pe(O)?Me(e,A,"linePrefix",i+1)(O):A(O)}function A(O){return O===null||xe(O)?e.check(t1,y,F)(O):(e.enter("codeFlowValue"),k(O))}function k(O){return O===null||xe(O)?(e.exit("codeFlowValue"),A(O)):(e.consume(O),k)}function F(O){return e.exit("codeFenced"),t(O)}function B(O,M,z){let U=0;return L;function L(W){return O.enter("lineEnding"),O.consume(W),O.exit("lineEnding"),$}function $(W){return O.enter("codeFencedFence"),Pe(W)?Me(O,te,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):te(W)}function te(W){return W===o?(O.enter("codeFencedFenceSequence"),ge(W)):z(W)}function ge(W){return W===o?(U++,O.consume(W),ge):U>=s?(O.exit("codeFencedFenceSequence"),Pe(W)?Me(O,X,"whitespace")(W):X(W)):z(W)}function X(W){return W===null||xe(W)?(O.exit("codeFencedFence"),M(W)):z(W)}}}function yb(e,t,r){const n=this;return a;function a(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const H0={name:"codeIndented",tokenize:Eb},xb={partial:!0,tokenize:Tb};function Eb(e,t,r){const n=this;return a;function a(l){return e.enter("codeIndented"),Me(e,i,"linePrefix",5)(l)}function i(l){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(l):r(l)}function s(l){return l===null?u(l):xe(l)?e.attempt(xb,s,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||xe(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function Tb(e,t,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):xe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):Me(e,i,"linePrefix",5)(s)}function i(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):xe(s)?a(s):r(s)}}const vb={name:"codeText",previous:Ab,resolve:wb,tokenize:Sb};function wb(e){let t=e.length-4,r=3,n,a;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;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function Ab(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Sb(e,t,r){let n=0,a,i;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),n++,o):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(i=e.enter("codeTextSequence"),a=0,c(f)):xe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),l(f))}function l(f){return f===null||f===32||f===96||xe(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),l)}function c(f){return f===96?(e.consume(f),a++,c):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",l(f))}}class kb{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r==null?Number.POSITIVE_INFINITY:r;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&ka(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ka(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ka(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);ka(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ka(this.left,r.reverse())}}}function ka(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function am(e){const t={};let r=-1,n,a,i,s,o,u,l;const c=new kb(e);for(;++r<c.length;){for(;r in t;)r=t[r];if(n=c.get(r),r&&n[1].type==="chunkFlow"&&c.get(r-1)[1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,i=0,i<u.length&&u[i][1].type==="lineEndingBlank"&&(i+=2),i<u.length&&u[i][1].type==="content"))for(;++i<u.length&&u[i][1].type!=="content";)u[i][1].type==="chunkText"&&(u[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Cb(c,r)),r=t[r],l=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(s=c.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(c.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=i);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;a&&(n[1].end=se({},c.get(a)[1].start),o=c.slice(a,r),o.unshift(n),c.splice(a,r-a+1,o))}}return jt(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function Cb(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const i=[];let s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const o=s.events,u=[],l={};let c,f,p=-1,h=r,b=0,y=0;const E=[y];for(;h;){for(;e.get(++a)[1]!==h;);i.push(a),h._tokenizer||(c=n.sliceStream(h),h.next||c.push(null),f&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=r;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(y=p+1,E.push(y),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):E.pop(),p=E.length;p--;){const T=o.slice(E[p],E[p+1]),A=i.pop();u.push([A,A+T.length-1]),e.splice(A,2,T)}for(u.reverse(),p=-1;++p<u.length;)l[b+u[p][0]]=b+u[p][1],b+=u[p][1]-u[p][0]-1;return l}const Ib={resolve:Nb,tokenize:Ob},_b={partial:!0,tokenize:Rb};function Nb(e){return am(e),e}function Ob(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(o)}function a(o){return o===null?i(o):xe(o)?e.check(_b,s,i)(o):(e.consume(o),a)}function i(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,a}}function Rb(e,t,r){const n=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Me(e,i,"linePrefix")}function i(s){if(s===null||xe(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 im(e,t,r,n,a,i,s,o,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(T){return T===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(T),e.exit(i),p):T===null||T===32||T===41||bs(T)?r(T):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),y(T))}function p(T){return T===62?(e.enter(i),e.consume(T),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===62?(e.exit("chunkString"),e.exit(o),p(T)):T===null||T===60||xe(T)?r(T):(e.consume(T),T===92?b:h)}function b(T){return T===60||T===62||T===92?(e.consume(T),h):h(T)}function y(T){return!c&&(T===null||T===41||Ve(T))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(T)):c<l&&T===40?(e.consume(T),c++,y):T===41?(e.consume(T),c--,y):T===null||T===32||T===40||bs(T)?r(T):(e.consume(T),T===92?E:y)}function E(T){return T===40||T===41||T===92?(e.consume(T),y):y(T)}}function sm(e,t,r,n,a,i){const s=this;let o=0,u;return l;function l(h){return e.enter(n),e.enter(a),e.consume(h),e.exit(a),e.enter(i),c}function c(h){return o>999||h===null||h===91||h===93&&!u||h===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(h):h===93?(e.exit(i),e.enter(a),e.consume(h),e.exit(a),e.exit(n),t):xe(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||xe(h)||o++>999?(e.exit("chunkString"),c(h)):(e.consume(h),u||(u=!Pe(h)),h===92?p:f)}function p(h){return h===91||h===92||h===93?(e.consume(h),o++,f):f(h)}}function om(e,t,r,n,a,i){let s;return o;function o(p){return p===34||p===39||p===40?(e.enter(n),e.enter(a),e.consume(p),e.exit(a),s=p===40?41:p,u):r(p)}function u(p){return p===s?(e.enter(a),e.consume(p),e.exit(a),e.exit(n),t):(e.enter(i),l(p))}function l(p){return p===s?(e.exit(i),u(s)):p===null?r(p):xe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Me(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===s||p===null||xe(p)?(e.exit("chunkString"),l(p)):(e.consume(p),p===92?f:c)}function f(p){return p===s||p===92?(e.consume(p),c):c(p)}}function Ha(e,t){let r;return n;function n(a){return xe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):Pe(a)?Me(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const Db={name:"definition",tokenize:Mb},Lb={partial:!0,tokenize:Pb};function Mb(e,t,r){const n=this;let a;return i;function i(h){return e.enter("definition"),s(h)}function s(h){return sm.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return a=ir(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),u):r(h)}function u(h){return Ve(h)?Ha(e,l)(h):l(h)}function l(h){return im(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function c(h){return e.attempt(Lb,f,f)(h)}function f(h){return Pe(h)?Me(e,p,"whitespace")(h):p(h)}function p(h){return h===null||xe(h)?(e.exit("definition"),n.parser.defined.push(a),t(h)):r(h)}}function Pb(e,t,r){return n;function n(o){return Ve(o)?Ha(e,a)(o):r(o)}function a(o){return om(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return Pe(o)?Me(e,s,"whitespace")(o):s(o)}function s(o){return o===null||xe(o)?t(o):r(o)}}const Fb={name:"hardBreakEscape",tokenize:Bb};function Bb(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return xe(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const zb={name:"headingAtx",resolve:Hb,tokenize:Ub};function Hb(e,t){let r=e.length-2,n=3,a,i;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&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},i={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},jt(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function Ub(e,t,r){let n=0;return a;function a(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&n++<6?(e.consume(c),s):c===null||Ve(c)?(e.exit("atxHeadingSequence"),o(c)):r(c)}function o(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||xe(c)?(e.exit("atxHeading"),t(c)):Pe(c)?Me(e,o,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),o(c))}function l(c){return c===null||c===35||Ve(c)?(e.exit("atxHeadingText"),o(c)):(e.consume(c),l)}}const jb=["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"],n1=["pre","script","style","textarea"],$b={concrete:!0,name:"htmlFlow",resolveTo:Wb,tokenize:Vb},qb={partial:!0,tokenize:Xb},Yb={partial:!0,tokenize:Gb};function Wb(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 Vb(e,t,r){const n=this;let a,i,s,o,u;return l;function l(I){return c(I)}function c(I){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(I),f}function f(I){return I===33?(e.consume(I),p):I===47?(e.consume(I),i=!0,y):I===63?(e.consume(I),a=3,n.interrupt?t:C):Nt(I)?(e.consume(I),s=String.fromCharCode(I),E):r(I)}function p(I){return I===45?(e.consume(I),a=2,h):I===91?(e.consume(I),a=5,o=0,b):Nt(I)?(e.consume(I),a=4,n.interrupt?t:C):r(I)}function h(I){return I===45?(e.consume(I),n.interrupt?t:C):r(I)}function b(I){const me="CDATA[";return I===me.charCodeAt(o++)?(e.consume(I),o===me.length?n.interrupt?t:te:b):r(I)}function y(I){return Nt(I)?(e.consume(I),s=String.fromCharCode(I),E):r(I)}function E(I){if(I===null||I===47||I===62||Ve(I)){const me=I===47,ve=s.toLowerCase();return!me&&!i&&n1.includes(ve)?(a=1,n.interrupt?t(I):te(I)):jb.includes(s.toLowerCase())?(a=6,me?(e.consume(I),T):n.interrupt?t(I):te(I)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(I):i?A(I):k(I))}return I===45||wt(I)?(e.consume(I),s+=String.fromCharCode(I),E):r(I)}function T(I){return I===62?(e.consume(I),n.interrupt?t:te):r(I)}function A(I){return Pe(I)?(e.consume(I),A):L(I)}function k(I){return I===47?(e.consume(I),L):I===58||I===95||Nt(I)?(e.consume(I),F):Pe(I)?(e.consume(I),k):L(I)}function F(I){return I===45||I===46||I===58||I===95||wt(I)?(e.consume(I),F):B(I)}function B(I){return I===61?(e.consume(I),O):Pe(I)?(e.consume(I),B):k(I)}function O(I){return I===null||I===60||I===61||I===62||I===96?r(I):I===34||I===39?(e.consume(I),u=I,M):Pe(I)?(e.consume(I),O):z(I)}function M(I){return I===u?(e.consume(I),u=null,U):I===null||xe(I)?r(I):(e.consume(I),M)}function z(I){return I===null||I===34||I===39||I===47||I===60||I===61||I===62||I===96||Ve(I)?B(I):(e.consume(I),z)}function U(I){return I===47||I===62||Pe(I)?k(I):r(I)}function L(I){return I===62?(e.consume(I),$):r(I)}function $(I){return I===null||xe(I)?te(I):Pe(I)?(e.consume(I),$):r(I)}function te(I){return I===45&&a===2?(e.consume(I),V):I===60&&a===1?(e.consume(I),ie):I===62&&a===4?(e.consume(I),K):I===63&&a===3?(e.consume(I),C):I===93&&a===5?(e.consume(I),he):xe(I)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(qb,Q,ge)(I)):I===null||xe(I)?(e.exit("htmlFlowData"),ge(I)):(e.consume(I),te)}function ge(I){return e.check(Yb,X,Q)(I)}function X(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),W}function W(I){return I===null||xe(I)?ge(I):(e.enter("htmlFlowData"),te(I))}function V(I){return I===45?(e.consume(I),C):te(I)}function ie(I){return I===47?(e.consume(I),s="",J):te(I)}function J(I){if(I===62){const me=s.toLowerCase();return n1.includes(me)?(e.consume(I),K):te(I)}return Nt(I)&&s.length<8?(e.consume(I),s+=String.fromCharCode(I),J):te(I)}function he(I){return I===93?(e.consume(I),C):te(I)}function C(I){return I===62?(e.consume(I),K):I===45&&a===2?(e.consume(I),C):te(I)}function K(I){return I===null||xe(I)?(e.exit("htmlFlowData"),Q(I)):(e.consume(I),K)}function Q(I){return e.exit("htmlFlow"),t(I)}}function Gb(e,t,r){const n=this;return a;function a(s){return xe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):r(s)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function Xb(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(gi,t,r)}}const Kb={name:"htmlText",tokenize:Qb};function Qb(e,t,r){const n=this;let a,i,s;return o;function o(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),l):C===47?(e.consume(C),B):C===63?(e.consume(C),k):Nt(C)?(e.consume(C),z):r(C)}function l(C){return C===45?(e.consume(C),c):C===91?(e.consume(C),i=0,b):Nt(C)?(e.consume(C),A):r(C)}function c(C){return C===45?(e.consume(C),h):r(C)}function f(C){return C===null?r(C):C===45?(e.consume(C),p):xe(C)?(s=f,ie(C)):(e.consume(C),f)}function p(C){return C===45?(e.consume(C),h):f(C)}function h(C){return C===62?V(C):C===45?p(C):f(C)}function b(C){const K="CDATA[";return C===K.charCodeAt(i++)?(e.consume(C),i===K.length?y:b):r(C)}function y(C){return C===null?r(C):C===93?(e.consume(C),E):xe(C)?(s=y,ie(C)):(e.consume(C),y)}function E(C){return C===93?(e.consume(C),T):y(C)}function T(C){return C===62?V(C):C===93?(e.consume(C),T):y(C)}function A(C){return C===null||C===62?V(C):xe(C)?(s=A,ie(C)):(e.consume(C),A)}function k(C){return C===null?r(C):C===63?(e.consume(C),F):xe(C)?(s=k,ie(C)):(e.consume(C),k)}function F(C){return C===62?V(C):k(C)}function B(C){return Nt(C)?(e.consume(C),O):r(C)}function O(C){return C===45||wt(C)?(e.consume(C),O):M(C)}function M(C){return xe(C)?(s=M,ie(C)):Pe(C)?(e.consume(C),M):V(C)}function z(C){return C===45||wt(C)?(e.consume(C),z):C===47||C===62||Ve(C)?U(C):r(C)}function U(C){return C===47?(e.consume(C),V):C===58||C===95||Nt(C)?(e.consume(C),L):xe(C)?(s=U,ie(C)):Pe(C)?(e.consume(C),U):V(C)}function L(C){return C===45||C===46||C===58||C===95||wt(C)?(e.consume(C),L):$(C)}function $(C){return C===61?(e.consume(C),te):xe(C)?(s=$,ie(C)):Pe(C)?(e.consume(C),$):U(C)}function te(C){return C===null||C===60||C===61||C===62||C===96?r(C):C===34||C===39?(e.consume(C),a=C,ge):xe(C)?(s=te,ie(C)):Pe(C)?(e.consume(C),te):(e.consume(C),X)}function ge(C){return C===a?(e.consume(C),a=void 0,W):C===null?r(C):xe(C)?(s=ge,ie(C)):(e.consume(C),ge)}function X(C){return C===null||C===34||C===39||C===60||C===61||C===96?r(C):C===47||C===62||Ve(C)?U(C):(e.consume(C),X)}function W(C){return C===47||C===62||Ve(C)?U(C):r(C)}function V(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):r(C)}function ie(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),J}function J(C){return Pe(C)?Me(e,he,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):he(C)}function he(C){return e.enter("htmlTextData"),s(C)}}const sl={name:"labelEnd",resolveAll:t8,resolveTo:r8,tokenize:n8},Jb={tokenize:a8},Zb={tokenize:i8},e8={tokenize:s8};function t8(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&jt(e,0,e.length,r),e}function r8(e,t){let r=e.length,n=0,a,i,s,o;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(s=r);const u={type:e[i][1].type==="labelLink"?"link":"image",start:se({},e[i][1].start),end:se({},e[e.length-1][1].end)},l={type:"label",start:se({},e[i][1].start),end:se({},e[s][1].end)},c={type:"labelText",start:se({},e[i+n+2][1].end),end:se({},e[s-2][1].start)};return o=[["enter",u,t],["enter",l,t]],o=Xt(o,e.slice(i+1,i+n+3)),o=Xt(o,[["enter",c,t]]),o=Xt(o,Ks(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),o=Xt(o,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),o=Xt(o,e.slice(s+1)),o=Xt(o,[["exit",u,t]]),jt(e,i,e.length,o),e}function n8(e,t,r){const n=this;let a=n.events.length,i,s;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return o;function o(p){return i?i._inactive?f(p):(s=n.parser.defined.includes(ir(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):r(p)}function u(p){return p===40?e.attempt(Jb,c,s?c:f)(p):p===91?e.attempt(Zb,c,s?l:f)(p):s?c(p):f(p)}function l(p){return e.attempt(e8,c,f)(p)}function c(p){return t(p)}function f(p){return i._balanced=!0,r(p)}}function a8(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),a}function a(f){return Ve(f)?Ha(e,i)(f):i(f)}function i(f){return f===41?c(f):im(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Ve(f)?Ha(e,u)(f):c(f)}function o(f){return r(f)}function u(f){return f===34||f===39||f===40?om(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function l(f){return Ve(f)?Ha(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function i8(e,t,r){const n=this;return a;function a(o){return sm.call(n,e,i,s,"reference","referenceMarker","referenceString")(o)}function i(o){return n.parser.defined.includes(ir(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function s8(e,t,r){return n;function n(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):r(i)}}const o8={name:"labelStartImage",resolveAll:sl.resolveAll,tokenize:u8};function u8(e,t,r){const n=this;return a;function a(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(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 l8={name:"labelStartLink",resolveAll:sl.resolveAll,tokenize:c8};function c8(e,t,r){const n=this;return a;function a(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const U0={name:"lineEnding",tokenize:f8};function f8(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Me(e,t,"linePrefix")}}const as={name:"thematicBreak",tokenize:d8};function d8(e,t,r){let n=0,a;return i;function i(l){return e.enter("thematicBreak"),s(l)}function s(l){return a=l,o(l)}function o(l){return l===a?(e.enter("thematicBreakSequence"),u(l)):n>=3&&(l===null||xe(l))?(e.exit("thematicBreak"),t(l)):r(l)}function u(l){return l===a?(e.consume(l),n++,u):(e.exit("thematicBreakSequence"),Pe(l)?Me(e,o,"whitespace")(l):o(l))}}const Mt={continuation:{tokenize:g8},exit:y8,name:"list",tokenize:p8},h8={partial:!0,tokenize:x8},m8={partial:!0,tokenize:b8};function p8(e,t,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return o;function o(h){const b=n.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!n.containerState.marker||h===n.containerState.marker:Vo(h)){if(n.containerState.type||(n.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(as,r,l)(h):l(h);if(!n.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(h)}return r(h)}function u(h){return Vo(h)&&++s<10?(e.consume(h),u):(!n.interrupt||s<2)&&(n.containerState.marker?h===n.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),l(h)):r(h)}function l(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||h,e.check(gi,n.interrupt?r:c,e.attempt(h8,p,f))}function c(h){return n.containerState.initialBlankLine=!0,i++,p(h)}function f(h){return Pe(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):r(h)}function p(h){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function g8(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(gi,a,i);function a(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Me(e,t,"listItemIndent",n.containerState.size+1)(o)}function i(o){return n.containerState.furtherBlankLines||!Pe(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(m8,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,Me(e,e.attempt(Mt,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function b8(e,t,r){const n=this;return Me(e,a,"listItemIndent",n.containerState.size+1);function a(i){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(i):r(i)}}function y8(e){e.exit(this.containerState.type)}function x8(e,t,r){const n=this;return Me(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const s=n.events[n.events.length-1];return!Pe(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const a1={name:"setextUnderline",resolveTo:E8,tokenize:T8};function E8(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const s={type:"setextHeading",start:se({},e[n][1].start),end:se({},e[e.length-1][1].end)};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=se({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function T8(e,t,r){const n=this;let a;return i;function i(l){let c=n.events.length,f;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){f=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),a=l,s(l)):r(l)}function s(l){return e.enter("setextHeadingLineSequence"),o(l)}function o(l){return l===a?(e.consume(l),o):(e.exit("setextHeadingLineSequence"),Pe(l)?Me(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||xe(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}const v8={tokenize:w8};function w8(e){const t=this,r=e.attempt(gi,n,e.attempt(this.parser.constructs.flowInitial,a,Me(e,e.attempt(this.parser.constructs.flow,a,e.attempt(Ib,a)),"linePrefix")));return r;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const A8={resolveAll:lm()},S8=um("string"),k8=um("text");function um(e){return{resolveAll:lm(e==="text"?C8:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,s,o);return s;function s(c){return l(c)?i(c):o(c)}function o(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),u}function u(c){return l(c)?(r.exit("data"),i(c)):(r.consume(c),u)}function l(c){if(c===null)return!0;const f=a[c];let p=-1;if(f)for(;++p<f.length;){const h=f[p];if(!h.previous||h.previous.call(n,n.previous))return!0}return!1}}}function lm(e){return t;function t(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(r,n):r}}function C8(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],a=t.sliceStream(n);let i=a.length,s=-1,o=0,u;for(;i--;){const l=a[i];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(l===-2)u=!0,o++;else if(l!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){const l={type:r===e.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:se({},n.end)};n.end=se({},l.start),n.start.offset===n.end.offset?Object.assign(n,l):(e.splice(r,0,["enter",l,t],["exit",l,t]),r+=2)}r++}return e}const I8={42:Mt,43:Mt,45:Mt,48:Mt,49:Mt,50:Mt,51:Mt,52:Mt,53:Mt,54:Mt,55:Mt,56:Mt,57:Mt,62:tm},_8={91:Db},N8={[-2]:H0,[-1]:H0,32:H0},O8={35:zb,42:as,45:[a1,as],60:$b,61:a1,95:as,96:r1,126:r1},R8={38:nm,92:rm},D8={[-5]:U0,[-4]:U0,[-3]:U0,33:o8,38:nm,42:Go,60:[lb,Kb],91:l8,92:[Fb,rm],93:sl,95:Go,96:vb},L8={null:[Go,A8]},M8={null:[42,95]},P8={null:[]},F8=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:M8,contentInitial:_8,disable:P8,document:I8,flow:O8,flowInitial:N8,insideSpan:L8,string:R8,text:D8},Symbol.toStringTag,{value:"Module"}));function B8(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let s=[],o=[];const u={attempt:M(B),check:M(O),consume:A,enter:k,exit:F,interrupt:M(O,{interrupt:!0})},l={code:null,containerState:{},defineSkip:y,events:[],now:b,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:f};let c=t.tokenize.call(l,u);return t.resolveAll&&i.push(t),l;function f($){return s=Xt(s,$),E(),s[s.length-1]!==null?[]:(z(t,0),l.events=Ks(i,l.events,l),l.events)}function p($,te){return H8(h($),te)}function h($){return z8(s,$)}function b(){const{_bufferIndex:$,_index:te,line:ge,column:X,offset:W}=n;return{_bufferIndex:$,_index:te,line:ge,column:X,offset:W}}function y($){a[$.line]=$.column,L()}function E(){let $;for(;n._index<s.length;){const te=s[n._index];if(typeof te=="string")for($=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===$&&n._bufferIndex<te.length;)T(te.charCodeAt(n._bufferIndex));else T(te)}}function T($){c=c($)}function A($){xe($)?(n.line++,n.column=1,n.offset+=$===-3?2:1,L()):$!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),l.previous=$}function k($,te){const ge=te||{};return ge.type=$,ge.start=b(),l.events.push(["enter",ge,l]),o.push(ge),ge}function F($){const te=o.pop();return te.end=b(),l.events.push(["exit",te,l]),te}function B($,te){z($,te.from)}function O($,te){te.restore()}function M($,te){return ge;function ge(X,W,V){let ie,J,he,C;return Array.isArray(X)?Q(X):"tokenize"in X?Q([X]):K(X);function K(Ce){return He;function He(Ze){const qe=Ze!==null&&Ce[Ze],Be=Ze!==null&&Ce.null,pt=[...Array.isArray(qe)?qe:qe?[qe]:[],...Array.isArray(Be)?Be:Be?[Be]:[]];return Q(pt)(Ze)}}function Q(Ce){return ie=Ce,J=0,Ce.length===0?V:I(Ce[J])}function I(Ce){return He;function He(Ze){return C=U(),he=Ce,Ce.partial||(l.currentConstruct=Ce),Ce.name&&l.parser.constructs.disable.null.includes(Ce.name)?ve():Ce.tokenize.call(te?Object.assign(Object.create(l),te):l,u,me,ve)(Ze)}}function me(Ce){return $(he,C),W}function ve(Ce){return C.restore(),++J<ie.length?I(ie[J]):V}}}function z($,te){$.resolveAll&&!i.includes($)&&i.push($),$.resolve&&jt(l.events,te,l.events.length-te,$.resolve(l.events.slice(te),l)),$.resolveTo&&(l.events=$.resolveTo(l.events,l))}function U(){const $=b(),te=l.previous,ge=l.currentConstruct,X=l.events.length,W=Array.from(o);return{from:X,restore:V};function V(){n=$,l.previous=te,l.currentConstruct=ge,l.events.length=X,o=W,L()}}function L(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function z8(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let s;if(r===a)s=[e[r].slice(n,i)];else{if(s=e.slice(r,a),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}i>0&&s.push(e[a].slice(0,i))}return s}function H8(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const i=e[r];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
|
|
9
|
+
`+i)}}catch(s){}}throw n}})}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=Sn(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&Ji.assertOptions(n,{silentJSONParsing:Xt.transitional(Xt.boolean),forcedJSONParsing:Xt.transitional(Xt.boolean),clarifyTimeoutError:Xt.transitional(Xt.boolean),legacyInterceptorReqResOrdering:Xt.transitional(Xt.boolean)},!1),a!=null&&(j.isFunction(a)?r.paramsSerializer={serialize:a}:Ji.assertOptions(a,{encode:Xt.function,serialize:Xt.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Ji.assertOptions(r,{baseUrl:Xt.spelling("baseURL"),withXsrfToken:Xt.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&j.merge(i.common,i[r.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],b=>{delete i[b]}),r.headers=Bt.concat(s,i);const o=[];let u=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(r)===!1)return;u=u&&y.synchronous;const E=r.transitional||qu;E&&E.legacyInterceptorReqResOrdering?o.unshift(y.fulfilled,y.rejected):o.push(y.fulfilled,y.rejected)});const l=[];this.interceptors.response.forEach(function(y){l.push(y.fulfilled,y.rejected)});let c,f=0,p;if(!u){const b=[vc.bind(this),void 0];for(b.unshift(...o),b.push(...l),p=b.length,c=Promise.resolve(r);f<p;)c=c.then(b[f++],b[f++]);return c}p=o.length;let h=r;for(;f<p;){const b=o[f++],y=o[f++];try{h=b(h)}catch(E){y.call(this,E);break}}try{c=vc.call(this,h)}catch(b){return Promise.reject(b)}for(f=0,p=l.length;f<p;)c=c.then(l[f++],l[f++]);return c}getUri(t){t=Sn(this.defaults,t);const r=th(t.baseURL,t.url,t.allowAbsoluteUrls);return Qd(r,t.params,t.paramsSerializer)}};j.forEach(["delete","get","head","options"],function(t){Tn.prototype[t]=function(r,n){return this.request(Sn(n||{},{method:t,url:r,data:(n||{}).data}))}});j.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,o){return this.request(Sn(o||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}Tn.prototype[t]=r(),Tn.prototype[t+"Form"]=r(!0)});let C6=class sh{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const s=new Promise(o=>{n.subscribe(o),i=o}).then(a);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,o){n.reason||(n.reason=new di(i,s,o),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const r=this._listeners.indexOf(t);r!==-1&&this._listeners.splice(r,1)}toAbortSignal(){const t=new AbortController,r=n=>{t.abort(n)};return this.subscribe(r),t.signal.unsubscribe=()=>this.unsubscribe(r),t.signal}static source(){let t;return{token:new sh(function(a){t=a}),cancel:t}}};function I6(e){return function(r){return e.apply(null,r)}}function _6(e){return j.isObject(e)&&e.isAxiosError===!0}const Ro={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ro).forEach(([e,t])=>{Ro[t]=e});function oh(e){const t=new Tn(e),r=Hd(Tn.prototype.request,t);return j.extend(r,Tn.prototype,t,{allOwnKeys:!0}),j.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return oh(Sn(e,a))},r}const lt=oh(fi);lt.Axios=Tn;lt.CanceledError=di;lt.CancelToken=C6;lt.isCancel=Zd;lt.VERSION=ih;lt.toFormData=Ps;lt.AxiosError=Ae;lt.Cancel=lt.CanceledError;lt.all=function(t){return Promise.all(t)};lt.spread=I6;lt.isAxiosError=_6;lt.mergeConfig=Sn;lt.AxiosHeaders=Bt;lt.formToJSON=e=>Jd(j.isHTMLForm(e)?new FormData(e):e);lt.getAdapter=ah.getAdapter;lt.HttpStatusCode=Ro;lt.default=lt;const{Axios:HO,AxiosError:UO,CanceledError:jO,isCancel:$O,CancelToken:qO,VERSION:YO,all:WO,Cancel:VO,isAxiosError:GO,spread:XO,toFormData:KO,AxiosHeaders:QO,HttpStatusCode:JO,formToJSON:ZO,getAdapter:eR,mergeConfig:tR}=lt,N6=(e,t)=>new Promise((r,n)=>{lt.put(t,e,{headers:{"Content-Type":"application/octet-stream","x-oss-object-acl":"private"}}).then(()=>{r({})}).catch(a=>n(a))});/*! js-cookie v3.0.5 | MIT */function _i(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}var O6={read:function(e){return e[0]==='"'&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Do(e,t){function r(a,i,s){if(typeof document!="undefined"){s=_i({},t,s),typeof s.expires=="number"&&(s.expires=new Date(Date.now()+s.expires*864e5)),s.expires&&(s.expires=s.expires.toUTCString()),a=encodeURIComponent(a).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var o="";for(var u in s)s[u]&&(o+="; "+u,s[u]!==!0&&(o+="="+s[u].split(";")[0]));return document.cookie=a+"="+e.write(i,a)+o}}function n(a){if(!(typeof document=="undefined"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],s={},o=0;o<i.length;o++){var u=i[o].split("="),l=u.slice(1).join("=");try{var c=decodeURIComponent(u[0]);if(s[c]=e.read(l,c),a===c)break}catch(f){}}return a?s[a]:s}}return Object.create({set:r,get:n,remove:function(a,i){r(a,"",_i({},i,{expires:-1}))},withAttributes:function(a){return Do(this.converter,_i({},this.attributes,a))},withConverter:function(a){return Do(_i({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ni=Do(O6,{path:"/"});class uh{constructor(){Fn(this,"config",null);Fn(this,"setupConfig",null);Fn(this,"sessionId","");Fn(this,"currentController",null);Fn(this,"isInitialized",!1)}setup(t){return Pe(this,null,function*(){this.setupConfig=t,typeof window!="undefined"&&(window.__APPFLOW_CHAT_SERVICE_CONFIG__={integrateConfig:{integrateId:t.integrateId,domain:t.domain?{requestDomain:t.domain}:void 0,access_session_token:t.access_session_token}}),t.access_session_token&&Ni.remove("appflow_chat_ticket"),yield this.initTicket();const r=yield this.fetchConfig(t.integrateId);return this.config=r,this.isInitialized=!0,r})}initTicket(){return Pe(this,null,function*(){var n,a,i;const t=((n=this.setupConfig)==null?void 0:n.domain)||"";if(!Ni.get("appflow_chat_ticket"))try{const o=yield(yield fetch(`${t}/webhook/login/init/ticket`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({loginType:"chatbot_integrate",integrateId:(a=this.setupConfig)==null?void 0:a.integrateId,accessSessionToken:(i=this.setupConfig)==null?void 0:i.access_session_token})})).json();o!=null&&o.data&&(o==null?void 0:o.code)==="200"&&Ni.set("appflow_chat_ticket",o.data,{expires:7})}catch(s){console.error("初始化ticket失败:",s)}})}fetchConfig(t){return Pe(this,null,function*(){var n,a,i,s,o,u;const r=((n=this.setupConfig)==null?void 0:n.domain)||"";try{const{token:l,ticket:c}=yield this.getRequestToken(),p=yield(yield fetch(`${r}/webhook/chatbot/integrate/${t}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":l,"X-Account-Session-Ticket":c}})).json();if((p==null?void 0:p.httpStatusCode)===200&&(p!=null&&p.data)){const h=p.data,b=h.integrateConfig,y=b?JSON.parse(b):{},E=(h.models||[]).map(T=>{var A,k,F,B,N,M,z,U,L;return{id:T.chatbotModelId||T.ChatbotModelId,name:T.modelName||T.ModelName||T.chatbotModelId,config:{image:((A=T.config)==null?void 0:A.image)||((k=T.Config)==null?void 0:k.image)||((F=T.Config)==null?void 0:F.Image),file:((B=T.config)==null?void 0:B.file)||((N=T.Config)==null?void 0:N.file)||((M=T.Config)==null?void 0:M.File),webSearch:((z=T.config)==null?void 0:z.webSearch)||((U=T.Config)==null?void 0:U.webSearch)||((L=T.Config)==null?void 0:L.WebSearch)}}});return{welcome:((a=y==null?void 0:y.message)==null?void 0:a.welcome)||"欢迎使用AI助手",questions:((i=y==null?void 0:y.config)==null?void 0:i.questions)||[],models:E,features:{image:((s=y==null?void 0:y.message)==null?void 0:s.imageEnabled)||!1,file:((o=y==null?void 0:y.message)==null?void 0:o.fileEnabled)||!1,audio:((u=y==null?void 0:y.message)==null?void 0:u.audioEnabled)||!1,webSearch:E.some(T=>{var A;return(A=T.config)==null?void 0:A.webSearch})},chatbotId:h.chatbotId,integrateId:t}}throw new Error("获取配置失败")}catch(l){return console.error("获取配置失败:",l),{welcome:"欢迎使用AI助手",questions:[],models:[],features:{image:!1,file:!1,audio:!1,webSearch:!1},chatbotId:"",integrateId:t}}})}getRequestToken(){return Pe(this,null,function*(){var s;const t=((s=this.setupConfig)==null?void 0:s.domain)||"",r=Ni.get("appflow_chat_ticket")||"";if(!r)throw new Error("未找到认证票据,请先调用setup");const a=yield(yield fetch(`${t}/webhook/request/token/acquireRequestToken`,{method:"POST",headers:{"Content-Type":"application/json","X-Account-Session-Ticket":r}})).json(),i=a==null?void 0:a.data;if(!i)throw new Error("获取请求令牌失败");return{token:i,ticket:r}})}chat(t){if(!this.isInitialized||!this.config)throw new Error("请先调用 setup() 初始化SDK");const r={};this.sendMessage(t,r);const n={onMessage:a=>(r.onMessage=a,n),onError:a=>(r.onError=a,n)};return n}sendMessage(t,r){return Pe(this,null,function*(){var o,u,l,c,f,p,h,b,y;const n=((o=this.setupConfig)==null?void 0:o.domain)||"",a=((u=this.config)==null?void 0:u.integrateId)||"",i=t.modelId||((c=(l=this.config)==null?void 0:l.models[0])==null?void 0:c.id);this.currentController=new AbortController;let s="";try{const{token:E,ticket:T}=yield this.getRequestToken(),A={chatbotId:(f=this.config)==null?void 0:f.chatbotId,chatbotModelId:i,sessionId:this.sessionId};if(t.audio)A.messageType="audio",A.audio={mediaUrl:t.audio,mediaType:"wav"};else if(t.images&&t.images.length>0||t.files&&t.files.length>0){A.messageType="rich";const k=[];t.text&&k.push({type:"text",content:t.text}),(p=t.images)==null||p.forEach(F=>{k.push({type:"image",mediaUrl:F})}),(h=t.files)==null||h.forEach(F=>{const B={type:"file",mediaUrl:F.url};F.fileId&&(B.mediaId=F.fileId),k.push(B)}),A.richText=k}else A.messageType="text",A.text={content:t.text||""};t.webSearch&&(A.config={webSearch:!0}),yield G4(`${n}/webhook/chatbot/chat/${a}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":E,"X-Account-Session-Ticket":T},body:JSON.stringify(A),signal:this.currentController.signal,timeout:150*1e3,onopen:k=>Pe(this,null,function*(){if(!k.ok&&k.status!==200){const F=yield k.text();throw new Error(F)}}),onmessage:k=>{var F;try{const B=JSON.parse(k.data);if(B.sessionId&&(this.sessionId=B.sessionId),B.messageType==="event")return;s=B.content||"";const N=B.status!=="Running",M={status:B.status,references:B.references,sessionId:B.sessionId,messageType:B.messageType,messageId:B.messageId};if(B.messageType==="card"){M.sessionWebhook=B.sessionWebhook;try{const z=JSON.parse(B.content);if(M.cardType=z.type,M.cardData=z.data,M.cardDisplayContent=z.content,z.type==="chatbot_input"){const U=z.data;if(M.verifyId=U==null?void 0:U.verifyId,U){for(const L in U)if(U[L]&&typeof U[L]=="object"&&U[L].AssociationProperty==="CustomParams"){M.customParamsKey=L,M.customParams=U[L];break}}}if(z.type==="update_chatbot_input"){const U=z.data;M.approvedMessageId=U==null?void 0:U.messageId,M.approvedStatus=U==null?void 0:U.status}}catch(z){console.error("解析 card content 失败:",z)}}(F=r.onMessage)==null||F.call(r,s,N,M)}catch(B){console.error("解析消息失败:",B)}},onclose:()=>{var k;(k=r.onMessage)==null||k.call(r,s,!0)},onerror:k=>{var F;(F=r.onError)==null||F.call(r,new Error((k==null?void 0:k.message)||"请求失败"))}})}catch(E){(E==null?void 0:E.name)==="AbortError"?(b=r.onMessage)==null||b.call(r,s||"",!0,{status:"Cancelled"}):(y=r.onError)==null||y.call(r,E)}})}sendUploadEvent(t,r,n){return Pe(this,null,function*(){var b,y,E;const a=((b=this.setupConfig)==null?void 0:b.domain)||"",i=((y=this.config)==null?void 0:y.integrateId)||"",{token:s,ticket:o}=yield this.getRequestToken(),u=ae({fileName:r},n),c=(E=(yield fetch(`${a}/webhook/chatbot/chat/${i}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":s,"X-Account-Session-Ticket":o},body:JSON.stringify({messageType:"event",event:{eventType:t,content:JSON.stringify(u)}})})).body)==null?void 0:E.getReader();if(!c)throw new Error("无法读取响应");let f=null;const p=new TextDecoder;let h="";for(;;){const{done:T,value:A}=yield c.read();if(T)break;h+=p.decode(A,{stream:!0});const k=h.split(`
|
|
10
|
+
`);h=k.pop()||"";for(const F of k){const B=F.trim();if(B.startsWith("data:"))try{const N=B.slice(5).trim();if(N){const M=JSON.parse(N);M.content&&(f=typeof M.content=="string"?JSON.parse(M.content):M.content)}}catch(N){console.debug(`解析SSE行失败(${t}):`,F,N)}}}if(h.trim().startsWith("data:"))try{const T=h.trim().slice(5).trim();if(T){const A=JSON.parse(T);A.content&&(f=typeof A.content=="string"?JSON.parse(A.content):A.content)}}catch(T){console.debug(`解析SSE剩余数据失败(${t}):`,h,T)}return f})}upload(t){return Pe(this,null,function*(){if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");try{const r=yield this.sendUploadEvent("uploadToken",t.name);if(!(r!=null&&r.uploadUrl))throw console.error("获取上传URL失败,uploadInfo:",r),new Error("获取上传URL失败");const n=new Blob([t],{type:t.type||"application/octet-stream"});if(yield N6(n,r.uploadUrl),!r.downloadUrl)throw console.error("downloadUrl为空,uploadInfo:",r),new Error("获取下载URL失败");let a;if(!t.type.startsWith("image/"))try{const s=yield this.sendUploadEvent("uploadFile",t.name,{content:r.downloadUrl});a=s==null?void 0:s.fileId}catch(s){console.warn("获取fileId失败,将继续使用downloadUrl:",s)}return{downloadUrl:r.downloadUrl,fileId:a}}catch(r){throw console.error("上传文件失败:",r),r}})}clear(){this.sessionId="",this.cancel()}cancel(){this.currentController&&(this.currentController.abort(),this.currentController=null)}getConfig(){return this.config}getSessionId(){return this.sessionId}getModelCapabilities(t){var a,i,s,o;if(!this.config)return{image:!1,file:!1,audio:!1,webSearch:!1};const r=t?this.config.models.find(u=>u.id===t):this.config.models[0];if(!r)return{image:!1,file:!1,audio:!1,webSearch:!1};let n;if((a=r.config)!=null&&a.fileConfig)try{n=JSON.parse(r.config.fileConfig)}catch(u){}return{image:!!(this.config.features.image&&((i=r.config)!=null&&i.image)),file:!!(this.config.features.file&&((s=r.config)!=null&&s.file)),audio:!!this.config.features.audio,webSearch:!!((o=r.config)!=null&&o.webSearch),fileConfig:n}}hasCapability(t,r){return this.getModelCapabilities(r)[t]}setSessionId(t){this.sessionId=t}getHistory(t){return Pe(this,null,function*(){var i,s;if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const r=((i=this.setupConfig)==null?void 0:i.domain)||"",n=((s=this.config)==null?void 0:s.integrateId)||"",a=t||this.sessionId;try{const{token:o,ticket:u}=yield this.getRequestToken(),c=yield(yield fetch(`${r}/webhook/chatbot/integrate/${n}/message`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":o,"X-Account-Session-Ticket":u},body:a?JSON.stringify({sessionId:a}):void 0})).json();if((c==null?void 0:c.httpStatusCode)===200&&(c!=null&&c.data)){const f=[],p=c.data;if(Array.isArray(p))for(const h of p){if(h.assistant&&Array.isArray(h.assistant)&&h.assistant.length>0){const b=h.assistant[0];f.push({id:b.messageId||`assistant_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,role:"assistant",content:b.content||"",messageType:b.messageType||"text",gmtCreate:h.gmtCreate,sessionId:b.sessionId||h.sessionId})}if(h.message!==void 0&&h.message!==null){const b=h.messageType||"text";let y="",E,T;if(b==="rich"&&Array.isArray(h.message)){const k=[],F=[],B=[];for(const N of h.message)N.type==="text"&&N.content?k.push(N.content):N.type==="image"&&N.mediaUrl?F.push(N.mediaUrl):N.type==="file"&&N.mediaUrl&&B.push({name:N.mediaName||"文件",url:N.mediaUrl});y=k.join(`
|
|
11
|
+
`),F.length>0&&(E=F),B.length>0&&(T=B)}else typeof h.message=="string"&&(y=h.message);const A=b==="audio";f.push({id:h.id||`user_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,role:"user",content:A?"":y,messageType:b,gmtCreate:h.gmtCreate,sessionId:h.sessionId,images:E,files:T,audio:A?y:void 0})}}return f.reverse()}return[]}catch(o){throw console.error("获取历史记录失败:",o),o}})}getSessions(){return Pe(this,null,function*(){var n,a;if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const t=((n=this.setupConfig)==null?void 0:n.domain)||"",r=((a=this.config)==null?void 0:a.integrateId)||"";try{const{token:i,ticket:s}=yield this.getRequestToken(),u=yield(yield fetch(`${t}/webhook/chatbot/integrate/${r}/message`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":i,"X-Account-Session-Ticket":s}})).json();return(u==null?void 0:u.httpStatusCode)===200&&(u!=null&&u.data)?(u.data||[]).map(c=>({id:c.id,sessionId:c.sessionId,title:c.title||"未命名会话",gmtCreate:c.gmtCreate,gmtModified:c.gmtModified})):[]}catch(i){throw console.error("获取会话列表失败:",i),i}})}sendEventCallback(t){return Pe(this,null,function*(){if(!this.isInitialized)throw new Error("请先调用 setup() 初始化SDK");const{sessionWebhook:r,content:n}=t;if(!r)throw new Error("sessionWebhook 不能为空");try{const{token:a,ticket:i}=yield this.getRequestToken(),s=yield fetch(r,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":a,"X-Account-Session-Ticket":i},body:JSON.stringify(n)});if(!s.ok){const o=yield s.text();throw new Error(`发送事件回调失败: ${s.status} ${o}`)}}catch(a){throw console.error("发送事件回调失败:",a),a}})}submitHumanVerify(t){return Pe(this,null,function*(){const{verifyId:r,sessionWebhook:n,status:a,customParams:i,customParamsKey:s="customParams"}=t;if(!r)throw new Error("verifyId 不能为空");const o={verifyId:r,status:a};return i&&(o[s]=i),this.sendEventCallback({sessionWebhook:n,content:o})})}}const R6=new uh;var Qe="-ms-",Fa="-moz-",Ue="-webkit-",lh="comm",Bs="rule",Vu="decl",D6="@import",L6="@namespace",ch="@keyframes",M6="@layer",fh=Math.abs,Gu=String.fromCharCode,Lo=Object.assign;function P6(e,t){return bt(e,0)^45?(((t<<2^bt(e,0))<<2^bt(e,1))<<2^bt(e,2))<<2^bt(e,3):0}function dh(e){return e.trim()}function Sr(e,t){return(e=t.exec(e))?e[0]:e}function Re(e,t,r){return e.replace(t,r)}function Zi(e,t,r){return e.indexOf(t,r)}function bt(e,t){return e.charCodeAt(t)|0}function kn(e,t,r){return e.slice(t,r)}function rr(e){return e.length}function hh(e){return e.length}function Oa(e,t){return t.push(e),e}function F6(e,t){return e.map(t).join("")}function Ac(e,t){return e.filter(function(r){return!Sr(r,t)})}var zs=1,Xn=1,mh=0,Zt=0,ft=0,ua="";function Hs(e,t,r,n,a,i,s,o){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:zs,column:Xn,length:s,return:"",siblings:o}}function $r(e,t){return Lo(Hs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function zn(e){for(;e.root;)e=$r(e.root,{children:[e]});Oa(e,e.siblings)}function B6(){return ft}function z6(){return ft=Zt>0?bt(ua,--Zt):0,Xn--,ft===10&&(Xn=1,zs--),ft}function ar(){return ft=Zt<mh?bt(ua,Zt++):0,Xn++,ft===10&&(Xn=1,zs++),ft}function Vr(){return bt(ua,Zt)}function es(){return Zt}function Us(e,t){return kn(ua,e,t)}function Ka(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function H6(e){return zs=Xn=1,mh=rr(ua=e),Zt=0,[]}function U6(e){return ua="",e}function R0(e){return dh(Us(Zt-1,Mo(e===91?e+2:e===40?e+1:e)))}function j6(e){for(;(ft=Vr())&&ft<33;)ar();return Ka(e)>2||Ka(ft)>3?"":" "}function $6(e,t){for(;--t&&ar()&&!(ft<48||ft>102||ft>57&&ft<65||ft>70&&ft<97););return Us(e,es()+(t<6&&Vr()==32&&ar()==32))}function Mo(e){for(;ar();)switch(ft){case e:return Zt;case 34:case 39:e!==34&&e!==39&&Mo(ft);break;case 40:e===41&&Mo(e);break;case 92:ar();break}return Zt}function q6(e,t){for(;ar()&&e+ft!==57;)if(e+ft===84&&Vr()===47)break;return"/*"+Us(t,Zt-1)+"*"+Gu(e===47?e:ar())}function Y6(e){for(;!Ka(Vr());)ar();return Us(e,Zt)}function W6(e){return U6(ts("",null,null,null,[""],e=H6(e),0,[0],e))}function ts(e,t,r,n,a,i,s,o,u){for(var l=0,c=0,f=s,p=0,h=0,b=0,y=1,E=1,T=1,A=0,k="",F=a,B=i,N=n,M=k;E;)switch(b=A,A=ar()){case 40:if(b!=108&&bt(M,f-1)==58){Zi(M+=Re(R0(A),"&","&\f"),"&\f",fh(l?o[l-1]:0))!=-1&&(T=-1);break}case 34:case 39:case 91:M+=R0(A);break;case 9:case 10:case 13:case 32:M+=j6(b);break;case 92:M+=$6(es()-1,7);continue;case 47:switch(Vr()){case 42:case 47:Oa(V6(q6(ar(),es()),t,r,u),u),(Ka(b||1)==5||Ka(Vr()||1)==5)&&rr(M)&&kn(M,-1,void 0)!==" "&&(M+=" ");break;default:M+="/"}break;case 123*y:o[l++]=rr(M)*T;case 125*y:case 59:case 0:switch(A){case 0:case 125:E=0;case 59+c:T==-1&&(M=Re(M,/\f/g,"")),h>0&&(rr(M)-f||y===0&&b===47)&&Oa(h>32?kc(M+";",n,r,f-1,u):kc(Re(M," ","")+";",n,r,f-2,u),u);break;case 59:M+=";";default:if(Oa(N=Sc(M,t,r,l,c,a,o,k,F=[],B=[],f,i),i),A===123)if(c===0)ts(M,t,N,N,F,i,f,o,B);else{switch(p){case 99:if(bt(M,3)===110)break;case 108:if(bt(M,2)===97)break;default:c=0;case 100:case 109:case 115:}c?ts(e,N,N,n&&Oa(Sc(e,N,N,0,0,a,o,k,a,F=[],f,B),B),a,B,f,o,n?F:B):ts(M,N,N,N,[""],B,0,o,B)}}l=c=h=0,y=T=1,k=M="",f=s;break;case 58:f=1+rr(M),h=b;default:if(y<1){if(A==123)--y;else if(A==125&&y++==0&&z6()==125)continue}switch(M+=Gu(A),A*y){case 38:T=c>0?1:(M+="\f",-1);break;case 44:o[l++]=(rr(M)-1)*T,T=1;break;case 64:Vr()===45&&(M+=R0(ar())),p=Vr(),c=f=rr(k=M+=Y6(es())),A++;break;case 45:b===45&&rr(M)==2&&(y=0)}}return i}function Sc(e,t,r,n,a,i,s,o,u,l,c,f){for(var p=a-1,h=a===0?i:[""],b=hh(h),y=0,E=0,T=0;y<n;++y)for(var A=0,k=kn(e,p+1,p=fh(E=s[y])),F=e;A<b;++A)(F=dh(E>0?h[A]+" "+k:Re(k,/&\f/g,h[A])))&&(u[T++]=F);return Hs(e,t,r,a===0?Bs:o,u,l,c,f)}function V6(e,t,r,n){return Hs(e,t,r,lh,Gu(B6()),kn(e,2,-2),0,n)}function kc(e,t,r,n,a){return Hs(e,t,r,Vu,kn(e,0,n),kn(e,n+1,-1),n,a)}function ph(e,t,r){switch(P6(e,t)){case 5103:return Ue+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return Ue+e+e;case 4855:return Ue+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return Fa+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Ue+e+Fa+e+Qe+e+e;case 5936:switch(bt(e,t+11)){case 114:return Ue+e+Qe+Re(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Ue+e+Qe+Re(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Ue+e+Qe+Re(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Ue+e+Qe+e+e;case 6165:return Ue+e+Qe+"flex-"+e+e;case 5187:return Ue+e+Re(e,/(\w+).+(:[^]+)/,Ue+"box-$1$2"+Qe+"flex-$1$2")+e;case 5443:return Ue+e+Qe+"flex-item-"+Re(e,/flex-|-self/g,"")+(Sr(e,/flex-|baseline/)?"":Qe+"grid-row-"+Re(e,/flex-|-self/g,""))+e;case 4675:return Ue+e+Qe+"flex-line-pack"+Re(e,/align-content|flex-|-self/g,"")+e;case 5548:return Ue+e+Qe+Re(e,"shrink","negative")+e;case 5292:return Ue+e+Qe+Re(e,"basis","preferred-size")+e;case 6060:return Ue+"box-"+Re(e,"-grow","")+Ue+e+Qe+Re(e,"grow","positive")+e;case 4554:return Ue+Re(e,/([^-])(transform)/g,"$1"+Ue+"$2")+e;case 6187:return Re(Re(Re(e,/(zoom-|grab)/,Ue+"$1"),/(image-set)/,Ue+"$1"),e,"")+e;case 5495:case 3959:return Re(e,/(image-set\([^]*)/,Ue+"$1$`$1");case 4968:return Re(Re(e,/(.+:)(flex-)?(.*)/,Ue+"box-pack:$3"+Qe+"flex-pack:$3"),/space-between/,"justify")+Ue+e+e;case 4200:if(!Sr(e,/flex-|baseline/))return Qe+"grid-column-align"+kn(e,t)+e;break;case 2592:case 3360:return Qe+Re(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,Sr(n.props,/grid-\w+-end/)})?~Zi(e+(r=r[t].value),"span",0)?e:Qe+Re(e,"-start","")+e+Qe+"grid-row-span:"+(~Zi(r,"span",0)?Sr(r,/\d+/):+Sr(r,/\d+/)-+Sr(e,/\d+/))+";":Qe+Re(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Sr(n.props,/grid-\w+-start/)})?e:Qe+Re(Re(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Re(e,/(.+)-inline(.+)/,Ue+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(rr(e)-1-t>6)switch(bt(e,t+1)){case 109:if(bt(e,t+4)!==45)break;case 102:return Re(e,/(.+:)(.+)-([^]+)/,"$1"+Ue+"$2-$3$1"+Fa+(bt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Zi(e,"stretch",0)?ph(Re(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Re(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,s,o,u,l){return Qe+a+":"+i+l+(s?Qe+a+"-span:"+(o?u:+u-+i)+l:"")+e});case 4949:if(bt(e,t+6)===121)return Re(e,":",":"+Ue)+e;break;case 6444:switch(bt(e,bt(e,14)===45?18:11)){case 120:return Re(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Ue+(bt(e,14)===45?"inline-":"")+"box$3$1"+Ue+"$2$3$1"+Qe+"$2box$3")+e;case 100:return Re(e,":",":"+Qe)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Re(e,"scroll-","scroll-snap-")+e}return e}function ms(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function G6(e,t,r,n){switch(e.type){case M6:if(e.children.length)break;case D6:case L6:case Vu:return e.return=e.return||e.value;case lh:return"";case ch:return e.return=e.value+"{"+ms(e.children,n)+"}";case Bs:if(!rr(e.value=e.props.join(",")))return""}return rr(r=ms(e.children,n))?e.return=e.value+"{"+r+"}":""}function X6(e){var t=hh(e);return function(r,n,a,i){for(var s="",o=0;o<t;o++)s+=e[o](r,n,a,i)||"";return s}}function K6(e){return function(t){t.root||(t=t.return)&&e(t)}}function Q6(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Vu:e.return=ph(e.value,e.length,r);return;case ch:return ms([$r(e,{value:Re(e.value,"@","@"+Ue)})],n);case Bs:if(e.length)return F6(r=e.props,function(a){switch(Sr(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":zn($r(e,{props:[Re(a,/:(read-\w+)/,":"+Fa+"$1")]})),zn($r(e,{props:[a]})),Lo(e,{props:Ac(r,n)});break;case"::placeholder":zn($r(e,{props:[Re(a,/:(plac\w+)/,":"+Ue+"input-$1")]})),zn($r(e,{props:[Re(a,/:(plac\w+)/,":"+Fa+"$1")]})),zn($r(e,{props:[Re(a,/:(plac\w+)/,Qe+"input-$1")]})),zn($r(e,{props:[a]})),Lo(e,{props:Ac(r,n)});break}return""})}}var D0,L0;const Kn=typeof process!="undefined"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",gh="active",bh="data-styled-version",js="6.4.1",Xu=`/*!sc*/
|
|
12
|
+
`,Ba=typeof window!="undefined"&&typeof document!="undefined";function Cc(e){if(typeof process!="undefined"&&process.env!==void 0){const t=process.env[e];if(t!==void 0&&t!=="")return t!=="false"}}const J6=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:(L0=(D0=Cc("REACT_APP_SC_DISABLE_SPEEDY"))!==null&&D0!==void 0?D0:Cc("SC_DISABLE_SPEEDY"))!==null&&L0!==void 0?L0:typeof process=="undefined"||process.env===void 0),yh="sc-keyframes-";function hi(e,...t){return new Error(`An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#${e} for more information.${t.length>0?` Args: ${t.join(", ")}`:""}`)}let rs=new Map,ps=new Map,ns=1;const Ra=e=>{if(rs.has(e))return rs.get(e);for(;ps.has(ns);)ns++;const t=ns++;return rs.set(e,t),ps.set(t,e),t},Z6=e=>ps.get(e),e5=(e,t)=>{ns=t+1,rs.set(e,t),ps.set(t,e)},Ku=Object.freeze([]),Qn=Object.freeze({});function t5(e,t,r=Qn){return e.theme!==r.theme&&e.theme||t||r.theme}const r5=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,n5=/(^-|-$)/g;function xh(e){return e.replace(r5,"-").replace(n5,"")}const a5=/(a)(d)/gi,Ic=e=>String.fromCharCode(e+(e>25?39:97));function Qu(e){let t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Ic(t%52)+r;return(Ic(t%52)+r).replace(a5,"$1-$2")}const Po=5381,vn=(e,t)=>{let r=t.length;for(;r;)e=33*e^t.charCodeAt(--r);return e},Eh=e=>vn(Po,e);function Th(e){return Qu(Eh(e)>>>0)}function i5(e){return e.displayName||e.name||"Component"}function Fo(e){return typeof e=="string"&&!0}function s5(e){return Fo(e)?`styled.${e}`:`Styled(${i5(e)})`}const vh=Symbol.for("react.memo"),o5=Symbol.for("react.forward_ref"),u5={contextType:!0,defaultProps:!0,displayName:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},l5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},wh={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c5={[o5]:{$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},[vh]:wh};function _c(e){return("type"in(t=e)&&t.type.$$typeof)===vh?wh:"$$typeof"in e?c5[e.$$typeof]:u5;var t}const f5=Object.defineProperty,d5=Object.getOwnPropertyNames,h5=Object.getOwnPropertySymbols,m5=Object.getOwnPropertyDescriptor,p5=Object.getPrototypeOf,g5=Object.prototype;function Ah(e,t,r){if(typeof t!="string"){const n=p5(t);n&&n!==g5&&Ah(e,n,r);const a=d5(t).concat(h5(t)),i=_c(e),s=_c(t);for(let o=0;o<a.length;++o){const u=a[o];if(!(u in l5||r&&r[u]||s&&u in s||i&&u in i)){const l=m5(t,u);try{f5(e,u,l)}catch(c){}}}}return e}function $s(e){return typeof e=="function"}function Sh(e){return typeof e=="object"&&"styledComponentId"in e}function Da(e,t){return e&&t?e+" "+t:e||t||""}function Bo(e,t){return e.join("")}function Qa(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function zo(e,t,r=!1){if(!r&&!Qa(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(let n=0;n<t.length;n++)e[n]=zo(e[n],t[n]);else if(Qa(t))for(const n in t)e[n]=zo(e[n],t[n]);return e}function Ju(e,t){Object.defineProperty(e,"toString",{value:t})}const b5=class{constructor(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e,this._cGroup=0,this._cIndex=0}indexOfGroup(e){if(e===this._cGroup)return this._cIndex;let t=this._cIndex;if(e>this._cGroup)for(let r=this._cGroup;r<e;r++)t+=this.groupSizes[r];else for(let r=this._cGroup-1;r>=e;r--)t-=this.groupSizes[r];return this._cGroup=e,this._cIndex=t,t}insertRules(e,t){if(e>=this.groupSizes.length){const a=this.groupSizes,i=a.length;let s=i;for(;e>=s;)if(s<<=1,s<0)throw hi(16,`${e}`);this.groupSizes=new Uint32Array(s),this.groupSizes.set(a),this.length=s;for(let o=i;o<s;o++)this.groupSizes[o]=0}let r=this.indexOfGroup(e+1),n=0;for(let a=0,i=t.length;a<i;a++)this.tag.insertRule(r,t[a])&&(this.groupSizes[e]++,r++,n++);n>0&&this._cGroup>e&&(this._cIndex+=n)}clearGroup(e){if(e<this.length){const t=this.groupSizes[e],r=this.indexOfGroup(e),n=r+t;this.groupSizes[e]=0;for(let a=r;a<n;a++)this.tag.deleteRule(r);t>0&&this._cGroup>e&&(this._cIndex-=t)}}getGroup(e){let t="";if(e>=this.length||this.groupSizes[e]===0)return t;const r=this.groupSizes[e],n=this.indexOfGroup(e),a=n+r;for(let i=n;i<a;i++)t+=this.tag.getRule(i)+Xu;return t}},y5=`style[${Kn}][${bh}="${js}"]`,x5=new RegExp(`^${Kn}\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)`),Nc=e=>typeof ShadowRoot!="undefined"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11,Ho=e=>{if(!e)return document;if(Nc(e))return e;if("getRootNode"in e){const t=e.getRootNode();if(Nc(t))return t}return document},E5=(e,t,r)=>{const n=r.split(",");let a;for(let i=0,s=n.length;i<s;i++)(a=n[i])&&e.registerName(t,a)},T5=(e,t)=>{var r;const n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Xu),a=[];for(let i=0,s=n.length;i<s;i++){const o=n[i].trim();if(!o)continue;const u=o.match(x5);if(u){const l=0|parseInt(u[1],10),c=u[2];l!==0&&(e5(c,l),E5(e,c,u[3]),e.getTag().insertRules(l,a)),a.length=0}else a.push(o)}},M0=e=>{const t=Ho(e.options.target).querySelectorAll(y5);for(let r=0,n=t.length;r<n;r++){const a=t[r];a&&a.getAttribute(Kn)!==gh&&(T5(e,a),a.parentNode&&a.parentNode.removeChild(a))}};let Sa=!1;function v5(){if(Sa!==!1)return Sa;if(typeof document!="undefined"){const e=document.head.querySelector('meta[property="csp-nonce"]');if(e)return Sa=e.nonce||e.getAttribute("content")||void 0;const t=document.head.querySelector('meta[name="sc-nonce"]');if(t)return Sa=t.getAttribute("content")||void 0}return Sa=typeof __webpack_nonce__!="undefined"?__webpack_nonce__:void 0}const kh=(e,t)=>{const r=document.head,n=e||r,a=document.createElement("style"),i=(u=>{const l=Array.from(u.querySelectorAll(`style[${Kn}]`));return l[l.length-1]})(n),s=i!==void 0?i.nextSibling:null;a.setAttribute(Kn,gh),a.setAttribute(bh,js);const o=t||v5();return o&&a.setAttribute("nonce",o),n.insertBefore(a,s),a},w5=class{constructor(e,t){this.element=kh(e,t),this.element.appendChild(document.createTextNode("")),this.sheet=(r=>{var n;if(r.sheet)return r.sheet;const a=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets;for(let i=0,s=a.length;i<s;i++){const o=a[i];if(o.ownerNode===r)return o}throw hi(17)})(this.element),this.length=0}insertRule(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(r){return!1}}deleteRule(e){this.sheet.deleteRule(e),this.length--}getRule(e){const t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""}},A5=class{constructor(e,t){this.element=kh(e,t),this.nodes=this.element.childNodes,this.length=0}insertRule(e,t){if(e<=this.length&&e>=0){const r=document.createTextNode(t);return this.element.insertBefore(r,this.nodes[e]||null),this.length++,!0}return!1}deleteRule(e){this.element.removeChild(this.nodes[e]),this.length--}getRule(e){return e<this.length?this.nodes[e].textContent:""}};let Oc=Ba;const S5={isServer:!Ba,useCSSOMInjection:!J6};class qs{static registerId(t){return Ra(t)}constructor(t=Qn,r={},n){this.options=Object.assign(Object.assign({},S5),t),this.gs=r,this.keyframeIds=new Set,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Ba&&Oc&&(Oc=!1,M0(this)),Ju(this,()=>(a=>{const i=a.getTag(),{length:s}=i;let o="";for(let u=0;u<s;u++){const l=Z6(u);if(l===void 0)continue;const c=a.names.get(l);if(c===void 0||!c.size)continue;const f=i.getGroup(u);if(f.length===0)continue;const p=Kn+".g"+u+'[id="'+l+'"]';let h="";for(const b of c)b.length>0&&(h+=b+",");o+=f+p+'{content:"'+h+'"}'+Xu}return o})(this))}rehydrate(){!this.server&&Ba&&M0(this)}reconstructWithOptions(t,r=!0){const n=new qs(Object.assign(Object.assign({},this.options),t),this.gs,r&&this.names||void 0);return n.keyframeIds=new Set(this.keyframeIds),!this.server&&Ba&&t.target!==this.options.target&&Ho(this.options.target)!==Ho(t.target)&&M0(n),n}allocateGSInstance(t){return this.gs[t]=(this.gs[t]||0)+1}getTag(){return this.tag||(this.tag=(t=(({useCSSOMInjection:r,target:n,nonce:a})=>r?new w5(n,a):new A5(n,a))(this.options),new b5(t)));var t}hasNameForId(t,r){var n,a;return(a=(n=this.names.get(t))===null||n===void 0?void 0:n.has(r))!==null&&a!==void 0&&a}registerName(t,r){Ra(t),t.startsWith(yh)&&this.keyframeIds.add(t);const n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))}insertRules(t,r,n){this.registerName(t,r),this.getTag().insertRules(Ra(t),n)}clearNames(t){this.names.has(t)&&this.names.get(t).clear()}clearRules(t){this.getTag().clearGroup(Ra(t)),this.clearNames(t)}clearTag(){this.tag=void 0}}const Ch=new WeakSet,k5={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexShrink:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function C5(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in k5||e.startsWith("--")?String(t).trim():t+"px"}const bn=47;function Rc(e){if(e.charCodeAt(0)===45&&e.charCodeAt(1)===45)return e;let t="";for(let r=0;r<e.length;r++){const n=e.charCodeAt(r);t+=n>=65&&n<=90?"-"+String.fromCharCode(n+32):e[r]}return t.startsWith("ms-")?"-"+t:t}const Ih=Symbol.for("sc-keyframes");function I5(e){return typeof e=="object"&&e!==null&&Ih in e}function _h(e){return $s(e)&&!(e.prototype&&e.prototype.isReactComponent)}const Nh=e=>e==null||e===!1||e==="",_5=Symbol.for("react.client.reference");function Dc(e){return e.$$typeof===_5}function Oh(e,t){for(const r in e){const n=e[r];e.hasOwnProperty(r)&&!Nh(n)&&(Array.isArray(n)&&Ch.has(n)||$s(n)?t.push(Rc(r)+":",n,";"):Qa(n)?(t.push(r+" {"),Oh(n,t),t.push("}")):t.push(Rc(r)+": "+C5(r,n)+";"))}}function wn(e,t,r,n,a=[]){if(Nh(e))return a;const i=typeof e;if(i==="string")return a.push(e),a;if(i==="function"){if(Dc(e))return a;if(_h(e)&&t){const s=e(t);return wn(s,t,r,n,a)}return a.push(e),a}if(Array.isArray(e)){for(let s=0;s<e.length;s++)wn(e[s],t,r,n,a);return a}return Sh(e)?(a.push(`.${e.styledComponentId}`),a):I5(e)?(r?(e.inject(r,n),a.push(e.getName(n))):a.push(e),a):Dc(e)?a:Qa(e)?(Oh(e,a),a):(a.push(e.toString()),a)}const N5=Eh(js);class O5{constructor(t,r,n){this.rules=t,this.componentId=r,this.baseHash=vn(N5,r),this.baseStyle=n,qs.registerId(r)}generateAndInjectStyles(t,r,n){let a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n):"";{let i="";for(let s=0;s<this.rules.length;s++){const o=this.rules[s];if(typeof o=="string")i+=o;else if(o)if(_h(o)){const u=o(t);typeof u=="string"?i+=u:u!=null&&u!==!1&&(i+=Bo(wn(u,t,r,n)))}else i+=Bo(wn(o,t,r,n))}if(i){this.dynamicNameCache||(this.dynamicNameCache=new Map);const s=n.hash?n.hash+i:i;let o=this.dynamicNameCache.get(s);if(!o){if(o=Qu(vn(vn(this.baseHash,n.hash),i)>>>0),this.dynamicNameCache.size>=200){const u=this.dynamicNameCache.keys().next().value;u!==void 0&&this.dynamicNameCache.delete(u)}this.dynamicNameCache.set(s,o)}if(!r.hasNameForId(this.componentId,o)){const u=n(i,"."+o,void 0,this.componentId);r.insertRules(this.componentId,o,u)}a=Da(a,o)}}return a}}const R5=/&/g;function Rh(e,t){let r=0;for(;--t>=0&&e.charCodeAt(t)===92;)r++;return!(1&~r)}function P0(e){const t=e.length;let r="",n=0,a=0,i=0,s=!1,o=!1;for(let u=0;u<t;u++){const l=e.charCodeAt(u);if(i!==0||s||l!==bn||e.charCodeAt(u+1)!==42)if(s)l===42&&e.charCodeAt(u+1)===bn&&(s=!1,u++);else if(l!==34&&l!==39||Rh(e,u)){if(i===0)if(l===123)a++;else if(l===125){if(a--,a<0){o=!0;let c=u+1;for(;c<t;){const f=e.charCodeAt(c);if(f===59||f===10)break;c++}c<t&&e.charCodeAt(c)===59&&c++,a=0,u=c-1,n=c;continue}a===0&&(r+=e.substring(n,u+1),n=u+1)}else l===59&&a===0&&(r+=e.substring(n,u+1),n=u+1)}else i===0?i=l:i===l&&(i=0);else s=!0,u++}return o||a!==0||i!==0?(n<t&&a===0&&i===0&&(r+=e.substring(n)),r):e}function Dh(e,t){const r=t+" ",n=","+r;for(let a=0;a<e.length;a++){const i=e[a];if(i.type==="rule"){i.value=(r+i.value).replaceAll(",",n);const s=i.props,o=[];for(let u=0;u<s.length;u++)o[u]=r+s[u];i.props=o}Array.isArray(i.children)&&i.type!=="@keyframes"&&Dh(i.children,t)}return e}function D5({options:e=Qn,plugins:t=Ku}=Qn){let r,n,a;const i=(p,h,b)=>b.startsWith(n)&&b.endsWith(n)&&b.replaceAll(n,"").length>0?`.${r}`:p,s=t.slice();s.push(p=>{p.type===Bs&&p.value.includes("&")&&(a||(a=new RegExp(`\\${n}\\b`,"g")),p.props[0]=p.props[0].replace(R5,n).replace(a,i))}),e.prefix&&s.push(Q6),s.push(G6);let o=[];const u=X6(s.concat(K6(p=>o.push(p)))),l=(p,h="",b="",y="&")=>{r=y,n=h,a=void 0;const E=function(A){const k=A.indexOf("//")!==-1,F=A.indexOf("}")!==-1;if(!k&&!F)return A;if(!k)return P0(A);const B=A.length;let N="",M=0,z=0,U=0,L=0,$=0,te=!1;for(;z<B;){const ge=A.charCodeAt(z);if(ge!==34&&ge!==39||Rh(A,z))if(U===0)if(ge===bn&&z+1<B&&A.charCodeAt(z+1)===42){for(z+=2;z+1<B&&(A.charCodeAt(z)!==42||A.charCodeAt(z+1)!==bn);)z++;z+=2}else if(ge!==40)if(ge!==41)if(L>0)z++;else if(ge===42&&z+1<B&&A.charCodeAt(z+1)===bn)N+=A.substring(M,z),z+=2,M=z,te=!0;else if(ge===bn&&z+1<B&&A.charCodeAt(z+1)===bn){for(N+=A.substring(M,z);z<B&&A.charCodeAt(z)!==10;)z++;M=z,te=!0}else ge===123?$++:ge===125&&$--,z++;else L>0&&L--,z++;else L++,z++;else z++;else U===0?U=ge:U===ge&&(U=0),z++}return te?(M<B&&(N+=A.substring(M)),$===0?N:P0(N)):$===0?A:P0(A)}(p);let T=W6(b||h?b+" "+h+" { "+E+" }":E);return e.namespace&&(T=Dh(T,e.namespace)),o=[],ms(T,u),o},c=e;let f=Po;for(let p=0;p<t.length;p++)t[p].name||hi(15),f=vn(f,t[p].name);return c!=null&&c.namespace&&(f=vn(f,c.namespace)),c!=null&&c.prefix&&(f=vn(f,"p")),l.hash=f!==Po?f.toString():"",l}const L5=new qs,Uo=D5(),Lh=G.createContext({shouldForwardProp:void 0,styleSheet:L5,stylis:Uo,stylisPlugins:void 0});Lh.Consumer;function M5(){return G.useContext(Lh)}const Mh=G.createContext(void 0);Mh.Consumer;const Lc=Object.prototype.hasOwnProperty,F0={};function P5(e,t){const r=typeof e!="string"?"sc":xh(e);F0[r]=(F0[r]||0)+1;const n=r+"-"+Th(js+r+F0[r]);return t?t+"-"+n:n}function F5(e,t,r){const n=Sh(e),a=e,i=!Fo(e),{attrs:s=Ku,componentId:o=P5(t.displayName,t.parentComponentId),displayName:u=s5(e)}=t,l=t.displayName&&t.componentId?xh(t.displayName)+"-"+t.componentId:t.componentId||o,c=n&&a.attrs?a.attrs.concat(s).filter(Boolean):s;let{shouldForwardProp:f}=t;if(n&&a.shouldForwardProp){const y=a.shouldForwardProp;if(t.shouldForwardProp){const E=t.shouldForwardProp;f=(T,A)=>y(T,A)&&E(T,A)}else f=y}const p=new O5(r,l,n?a.componentStyle:void 0);function h(y,E){return function(T,A,k){const{attrs:F,componentStyle:B,defaultProps:N,foldedComponentIds:M,styledComponentId:z,target:U}=T,L=G.useContext(Mh),$=M5(),te=T.shouldForwardProp||$.shouldForwardProp,ge=t5(A,L,N)||Qn;let X,W;{const he=G.useRef(null),C=he.current;if(C!==null&&C[1]===ge&&C[2]===$.styleSheet&&C[3]===$.stylis&&C[7]===B&&function(K,Q,I){const me=K,ve=Q;let Ce=0;for(const He in ve)if(Lc.call(ve,He)&&(Ce++,me[He]!==ve[He]))return!1;return Ce===I}(C[0],A,C[4]))X=C[5],W=C[6];else{X=function(Q,I,me){const ve=Object.assign(Object.assign({},I),{className:void 0,theme:me}),Ce=Q.length>1;for(let He=0;He<Q.length;He++){const Ze=Q[He],qe=$s(Ze)?Ze(Ce?Object.assign({},ve):ve):Ze;for(const ze in qe)ze==="className"?ve.className=Da(ve.className,qe[ze]):ze==="style"?ve.style=Object.assign(Object.assign({},ve.style),qe[ze]):ze in I&&I[ze]===void 0||(ve[ze]=qe[ze])}return"className"in I&&typeof I.className=="string"&&(ve.className=Da(ve.className,I.className)),ve}(F,A,ge),W=function(Q,I,me,ve){return Q.generateAndInjectStyles(I,me,ve)}(B,X,$.styleSheet,$.stylis);let K=0;for(const Q in A)Lc.call(A,Q)&&K++;he.current=[A,ge,$.styleSheet,$.stylis,K,X,W,B]}}const V=X.as||U,se=function(he,C,K,Q){const I={};for(const me in he)he[me]===void 0||me[0]==="$"||me==="as"||me==="theme"&&he.theme===K||(me==="forwardedAs"?I.as=he.forwardedAs:Q&&!Q(me,C)||(I[me]=he[me]));return I}(X,V,ge,te);let J=Da(M,z);return W&&(J+=" "+W),X.className&&(J+=" "+X.className),se[Fo(V)&&V.includes("-")?"class":"className"]=J,k&&(se.ref=k),G.createElement(V,se)}(b,y,E)}h.displayName=u;let b=G.forwardRef(h);return b.attrs=c,b.componentStyle=p,b.displayName=u,b.shouldForwardProp=f,b.foldedComponentIds=n?Da(a.foldedComponentIds,a.styledComponentId):"",b.styledComponentId=l,b.target=n?a.target:e,Object.defineProperty(b,"defaultProps",{get(){return this._foldedDefaultProps},set(y){this._foldedDefaultProps=n?function(E,...T){for(const A of T)zo(E,A,!0);return E}({},a.defaultProps,y):y}}),Ju(b,()=>`.${b.styledComponentId}`),i&&Ah(b,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),b}var B5=new Set(["a","abbr","address","area","article","aside","audio","b","bdi","bdo","blockquote","body","button","br","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","main","map","mark","menu","meter","nav","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","slot","small","span","strong","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","switch","symbol","text","textPath","tspan","use"]);function Mc(e,t){const r=[e[0]];for(let n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}const Pc=e=>(Ch.add(e),e);function gs(e,...t){if($s(e)||Qa(e))return Pc(wn(Mc(Ku,[e,...t])));const r=e;return t.length===0&&r.length===1&&typeof r[0]=="string"?wn(r):Pc(wn(Mc(r,t)))}function jo(e,t,r=Qn){if(!t)throw hi(1,t);const n=(a,...i)=>e(t,r,gs(a,...i));return n.attrs=a=>jo(e,t,Object.assign(Object.assign({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)})),n.withConfig=a=>jo(e,t,Object.assign(Object.assign({},r),a)),n}const Ph=e=>jo(F5,e),ee=Ph;B5.forEach(e=>{ee[e]=Ph(e)});var Fh;let z5=class{constructor(t,r){this[Fh]=!0,this.inject=(n,a=Uo)=>{const i=this.getName(a);if(!n.hasNameForId(this.id,i)){const s=a(this.rules,i,"@keyframes");n.insertRules(this.id,i,s)}},this.name=t,this.id=yh+t,this.rules=r,Ra(this.id),Ju(this,()=>{throw hi(12,String(this.name))})}getName(t=Uo){return t.hash?this.name+Qu(+t.hash>>>0):this.name}};function H5(e,...t){const r=Bo(gs(e,...t)),n=Th(r);return new z5(n,r)}Fh=Ih;function Fc(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,i=!1;for(;!i;){n===-1&&(n=r.length,i=!0);const s=r.slice(a,n).trim();(s||!i)&&t.push(s),a=n+1,n=r.indexOf(",",a)}return t}function Bh(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const U5=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,j5=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,$5={};function Bc(e,t){return($5.jsx?j5:U5).test(e)}const q5=/[ \t\n\f\r]/g;function Y5(e){return typeof e=="object"?e.type==="text"?zc(e.value):!1:zc(e)}function zc(e){return e.replace(q5,"")===""}class mi{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}mi.prototype.normal={};mi.prototype.property={};mi.prototype.space=void 0;function zh(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new mi(r,n,t)}function Ja(e){return e.toLowerCase()}class zt{constructor(t,r){this.attribute=r,this.property=t}}zt.prototype.attribute="";zt.prototype.booleanish=!1;zt.prototype.boolean=!1;zt.prototype.commaOrSpaceSeparated=!1;zt.prototype.commaSeparated=!1;zt.prototype.defined=!1;zt.prototype.mustUseProperty=!1;zt.prototype.number=!1;zt.prototype.overloadedBoolean=!1;zt.prototype.property="";zt.prototype.spaceSeparated=!1;zt.prototype.space=void 0;let W5=0;const _e=On(),ct=On(),$o=On(),ce=On(),Xe=On(),Yn=On(),Ut=On();function On(){return ic(2,++W5)}const qo=Object.freeze(Object.defineProperty({__proto__:null,boolean:_e,booleanish:ct,commaOrSpaceSeparated:Ut,commaSeparated:Yn,number:ce,overloadedBoolean:$o,spaceSeparated:Xe},Symbol.toStringTag,{value:"Module"})),B0=Object.keys(qo);class Zu extends zt{constructor(t,r,n,a){let i=-1;if(super(t,r),Hc(this,"space",a),typeof n=="number")for(;++i<B0.length;){const s=B0[i];Hc(this,B0[i],(n&qo[s])===qo[s])}}}Zu.prototype.defined=!0;function Hc(e,t,r){r&&(e[t]=r)}function la(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new Zu(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[Ja(n)]=n,r[Ja(i.attribute)]=n}return new mi(t,r,e.space)}const Hh=la({properties:{ariaActiveDescendant:null,ariaAtomic:ct,ariaAutoComplete:null,ariaBusy:ct,ariaChecked:ct,ariaColCount:ce,ariaColIndex:ce,ariaColSpan:ce,ariaControls:Xe,ariaCurrent:null,ariaDescribedBy:Xe,ariaDetails:null,ariaDisabled:ct,ariaDropEffect:Xe,ariaErrorMessage:null,ariaExpanded:ct,ariaFlowTo:Xe,ariaGrabbed:ct,ariaHasPopup:null,ariaHidden:ct,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:Xe,ariaLevel:ce,ariaLive:null,ariaModal:ct,ariaMultiLine:ct,ariaMultiSelectable:ct,ariaOrientation:null,ariaOwns:Xe,ariaPlaceholder:null,ariaPosInSet:ce,ariaPressed:ct,ariaReadOnly:ct,ariaRelevant:null,ariaRequired:ct,ariaRoleDescription:Xe,ariaRowCount:ce,ariaRowIndex:ce,ariaRowSpan:ce,ariaSelected:ct,ariaSetSize:ce,ariaSort:null,ariaValueMax:ce,ariaValueMin:ce,ariaValueNow:ce,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Uh(e,t){return t in e?e[t]:t}function jh(e,t){return Uh(e,t.toLowerCase())}const V5=la({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Yn,acceptCharset:Xe,accessKey:Xe,action:null,allow:null,allowFullScreen:_e,allowPaymentRequest:_e,allowUserMedia:_e,alt:null,as:null,async:_e,autoCapitalize:null,autoComplete:Xe,autoFocus:_e,autoPlay:_e,blocking:Xe,capture:null,charSet:null,checked:_e,cite:null,className:Xe,cols:ce,colSpan:null,content:null,contentEditable:ct,controls:_e,controlsList:Xe,coords:ce|Yn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:_e,defer:_e,dir:null,dirName:null,disabled:_e,download:$o,draggable:ct,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:_e,formTarget:null,headers:Xe,height:ce,hidden:$o,high:ce,href:null,hrefLang:null,htmlFor:Xe,httpEquiv:Xe,id:null,imageSizes:null,imageSrcSet:null,inert:_e,inputMode:null,integrity:null,is:null,isMap:_e,itemId:null,itemProp:Xe,itemRef:Xe,itemScope:_e,itemType:Xe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:_e,low:ce,manifest:null,max:null,maxLength:ce,media:null,method:null,min:null,minLength:ce,multiple:_e,muted:_e,name:null,nonce:null,noModule:_e,noValidate:_e,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:_e,optimum:ce,pattern:null,ping:Xe,placeholder:null,playsInline:_e,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:_e,referrerPolicy:null,rel:Xe,required:_e,reversed:_e,rows:ce,rowSpan:ce,sandbox:Xe,scope:null,scoped:_e,seamless:_e,selected:_e,shadowRootClonable:_e,shadowRootDelegatesFocus:_e,shadowRootMode:null,shape:null,size:ce,sizes:null,slot:null,span:ce,spellCheck:ct,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ce,step:null,style:null,tabIndex:ce,target:null,title:null,translate:null,type:null,typeMustMatch:_e,useMap:null,value:ct,width:ce,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:Xe,axis:null,background:null,bgColor:null,border:ce,borderColor:null,bottomMargin:ce,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:_e,declare:_e,event:null,face:null,frame:null,frameBorder:null,hSpace:ce,leftMargin:ce,link:null,longDesc:null,lowSrc:null,marginHeight:ce,marginWidth:ce,noResize:_e,noHref:_e,noShade:_e,noWrap:_e,object:null,profile:null,prompt:null,rev:null,rightMargin:ce,rules:null,scheme:null,scrolling:ct,standby:null,summary:null,text:null,topMargin:ce,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ce,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:_e,disableRemotePlayback:_e,prefix:null,property:null,results:ce,security:null,unselectable:null},space:"html",transform:jh}),G5=la({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Ut,accentHeight:ce,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ce,amplitude:ce,arabicForm:null,ascent:ce,attributeName:null,attributeType:null,azimuth:ce,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ce,by:null,calcMode:null,capHeight:ce,className:Xe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:ce,diffuseConstant:ce,direction:null,display:null,dur:null,divisor:ce,dominantBaseline:null,download:_e,dx:null,dy:null,edgeMode:null,editable:null,elevation:ce,enableBackground:null,end:null,event:null,exponent:ce,externalResourcesRequired:null,fill:null,fillOpacity:ce,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Yn,g2:Yn,glyphName:Yn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ce,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ce,horizOriginX:ce,horizOriginY:ce,id:null,ideographic:ce,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ce,k:ce,k1:ce,k2:ce,k3:ce,k4:ce,kernelMatrix:Ut,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ce,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ce,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:ce,overlineThickness:ce,paintOrder:null,panose1:null,path:null,pathLength:ce,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:Xe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ce,pointsAtY:ce,pointsAtZ:ce,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Ut,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Ut,rev:Ut,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Ut,requiredFeatures:Ut,requiredFonts:Ut,requiredFormats:Ut,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:ce,specularExponent:ce,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ce,strikethroughThickness:ce,string:null,stroke:null,strokeDashArray:Ut,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ce,strokeOpacity:ce,strokeWidth:null,style:null,surfaceScale:ce,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Ut,tabIndex:ce,tableValues:null,target:null,targetX:ce,targetY:ce,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Ut,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ce,underlineThickness:ce,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ce,values:null,vAlphabetic:ce,vMathematical:ce,vectorEffect:null,vHanging:ce,vIdeographic:ce,version:null,vertAdvY:ce,vertOriginX:ce,vertOriginY:ce,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ce,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Uh}),$h=la({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),qh=la({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:jh}),Yh=la({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),X5={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"},K5=/[A-Z]/g,Uc=/-[a-z]/g,Q5=/^data[-\w.:]+$/i;function Ys(e,t){const r=Ja(t);let n=t,a=zt;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&Q5.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Uc,Z5);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Uc.test(i)){let s=i.replace(K5,J5);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Zu}return new a(n,t)}function J5(e){return"-"+e.toLowerCase()}function Z5(e){return e.charAt(1).toUpperCase()}const pi=zh([Hh,V5,$h,qh,Yh],"html"),nn=zh([Hh,G5,$h,qh,Yh],"svg");function jc(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Wh(e){return e.join(" ").trim()}var Za=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ws(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var el={},$c=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,eg=/\n/g,tg=/^\s*/,rg=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,ng=/^:\s*/,ag=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,ig=/^[;\s]*/,sg=/^\s+|\s+$/g,og=`
|
|
13
|
+
`,qc="/",Yc="*",yn="",ug="comment",lg="declaration";function cg(e,t){if(typeof e!="string")throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,n=1;function a(b){var y=b.match(eg);y&&(r+=y.length);var E=b.lastIndexOf(og);n=~E?b.length-E:n+b.length}function i(){var b={line:r,column:n};return function(y){return y.position=new s(b),l(),y}}function s(b){this.start=b,this.end={line:r,column:n},this.source=t.source}s.prototype.content=e;function o(b){var y=new Error(t.source+":"+r+":"+n+": "+b);if(y.reason=b,y.filename=t.source,y.line=r,y.column=n,y.source=e,!t.silent)throw y}function u(b){var y=b.exec(e);if(y){var E=y[0];return a(E),e=e.slice(E.length),y}}function l(){u(tg)}function c(b){var y;for(b=b||[];y=f();)y!==!1&&b.push(y);return b}function f(){var b=i();if(!(qc!=e.charAt(0)||Yc!=e.charAt(1))){for(var y=2;yn!=e.charAt(y)&&(Yc!=e.charAt(y)||qc!=e.charAt(y+1));)++y;if(y+=2,yn===e.charAt(y-1))return o("End of comment missing");var E=e.slice(2,y-2);return n+=2,a(E),e=e.slice(y),n+=2,b({type:ug,comment:E})}}function p(){var b=i(),y=u(rg);if(y){if(f(),!u(ng))return o("property missing ':'");var E=u(ag),T=b({type:lg,property:Wc(y[0].replace($c,yn)),value:E?Wc(E[0].replace($c,yn)):yn});return u(ig),T}}function h(){var b=[];c(b);for(var y;y=p();)y!==!1&&(b.push(y),c(b));return b}return l(),h()}function Wc(e){return e?e.replace(sg,yn):yn}var fg=cg,dg=Za&&Za.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(el,"__esModule",{value:!0});el.default=mg;const hg=dg(fg);function mg(e,t){let r=null;if(!e||typeof e!="string")return r;const n=(0,hg.default)(e),a=typeof t=="function";return n.forEach(i=>{if(i.type!=="declaration")return;const{property:s,value:o}=i;a?t(s,o,i):o&&(r=r||{},r[s]=o)}),r}var Vs={};Object.defineProperty(Vs,"__esModule",{value:!0});Vs.camelCase=void 0;var pg=/^--[a-zA-Z0-9_-]+$/,gg=/-([a-z])/g,bg=/^[^-]+$/,yg=/^-(webkit|moz|ms|o|khtml)-/,xg=/^-(ms)-/,Eg=function(e){return!e||bg.test(e)||pg.test(e)},Tg=function(e,t){return t.toUpperCase()},Vc=function(e,t){return"".concat(t,"-")},vg=function(e,t){return t===void 0&&(t={}),Eg(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(xg,Vc):e=e.replace(yg,Vc),e.replace(gg,Tg))};Vs.camelCase=vg;var wg=Za&&Za.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},Ag=wg(el),Sg=Vs;function Yo(e,t){var r={};return!e||typeof e!="string"||(0,Ag.default)(e,function(n,a){n&&a&&(r[(0,Sg.camelCase)(n,t)]=a)}),r}Yo.default=Yo;var kg=Yo;const Cg=Ws(kg),Gs=Vh("end"),br=Vh("start");function Vh(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function Ig(e){const t=br(e),r=Gs(e);if(t&&r)return{start:t,end:r}}function za(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Gc(e.position):"start"in e||"end"in e?Gc(e):"line"in e||"column"in e?Wo(e):""}function Wo(e){return Xc(e&&e.line)+":"+Xc(e&&e.column)}function Gc(e){return Wo(e&&e.start)+"-"+Wo(e&&e.end)}function Xc(e){return e&&typeof e=="number"?e:1}class kt extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},s=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i=ae({},r)),typeof t=="string"?a=t:!i.cause&&t&&(s=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const u=n.indexOf(":");u===-1?i.ruleId=n:(i.source=n.slice(0,u),i.ruleId=n.slice(u+1))}if(!i.place&&i.ancestors&&i.ancestors){const u=i.ancestors[i.ancestors.length-1];u&&(i.place=u.position)}const o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=o?o.line:void 0,this.name=za(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=s&&i.cause&&typeof i.cause.stack=="string"?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}kt.prototype.file="";kt.prototype.name="";kt.prototype.reason="";kt.prototype.message="";kt.prototype.stack="";kt.prototype.column=void 0;kt.prototype.line=void 0;kt.prototype.ancestors=void 0;kt.prototype.cause=void 0;kt.prototype.fatal=void 0;kt.prototype.place=void 0;kt.prototype.ruleId=void 0;kt.prototype.source=void 0;const tl={}.hasOwnProperty,_g=new Map,Ng=/[A-Z]/g,Og=new Set(["table","tbody","thead","tfoot","tr"]),Rg=new Set(["td","th"]),Gh="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Dg(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=Ug(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=Hg(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?nn:pi,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Xh(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Xh(e,t,r){if(t.type==="element")return Lg(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Mg(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Fg(e,t,r);if(t.type==="mdxjsEsm")return Pg(e,t);if(t.type==="root")return Bg(e,t,r);if(t.type==="text")return zg(e,t)}function Lg(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=nn,e.schema=a),e.ancestors.push(t);const i=Qh(e,t.tagName,!1),s=jg(e,t);let o=nl(e,t);return Og.has(t.tagName)&&(o=o.filter(function(u){return typeof u=="string"?!Y5(u):!0})),Kh(e,s,i,t),rl(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Mg(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}ei(e,t.position)}function Pg(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);ei(e,t.position)}function Fg(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=nn,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:Qh(e,t.name,!0),s=$g(e,t),o=nl(e,t);return Kh(e,s,i,t),rl(s,o),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Bg(e,t,r){const n={};return rl(n,nl(e,t)),e.create(t,e.Fragment,n,r)}function zg(e,t){return t.value}function Kh(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function rl(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function Hg(e,t,r){return n;function n(a,i,s,o){const l=Array.isArray(s.children)?r:t;return o?l(i,s,o):l(i,s)}}function Ug(e,t){return r;function r(n,a,i,s){const o=Array.isArray(i.children),u=br(n);return t(a,i,s,o,{columnNumber:u?u.column-1:void 0,fileName:e,lineNumber:u?u.line:void 0},void 0)}}function jg(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&tl.call(t.properties,a)){const i=qg(e,a,t.properties[a]);if(i){const[s,o]=i;e.tableCellAlignToStyle&&s==="align"&&typeof o=="string"&&Rg.has(t.tagName)?n=o:r[s]=o}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function $g(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const i=n.data.estree.body[0];i.type;const s=i.expression;s.type;const o=s.properties[0];o.type,Object.assign(r,e.evaluater.evaluateExpression(o.argument))}else ei(e,t.position);else{const a=n.name;let i;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const o=n.value.data.estree.body[0];o.type,i=e.evaluater.evaluateExpression(o.expression)}else ei(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function nl(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:_g;for(;++n<t.children.length;){const i=t.children[n];let s;if(e.passKeys){const u=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(u){const l=a.get(u)||0;s=u+"-"+l,a.set(u,l+1)}}const o=Xh(e,i,s);o!==void 0&&r.push(o)}return r}function qg(e,t,r){const n=Ys(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Bh(r):Wh(r)),n.property==="style"){let a=typeof r=="object"?r:Yg(e,String(r));return e.stylePropertyNameCase==="css"&&(a=Wg(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?X5[n.property]||n.property:n.attribute,r]}}function Yg(e,t){try{return Cg(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new kt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Gh+"#cannot-parse-style-attribute",a}}function Qh(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let i=-1,s;for(;++i<a.length;){const o=Bc(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};s=s?{type:"MemberExpression",object:s,property:o,computed:!!(i&&o.type==="Literal"),optional:!1}:o}n=s}else n=Bc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return tl.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);ei(e)}function ei(e,t){const r=new kt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Gh+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Wg(e){const t={};let r;for(r in e)tl.call(e,r)&&(t[Vg(r)]=e[r]);return t}function Vg(e){let t=e.replace(Ng,Gg);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Gg(e){return"-"+e.toLowerCase()}const z0={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]},Xg={};function al(e,t){const r=Xg,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Jh(e,n,a)}function Jh(e,t,r){if(Kg(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 Kc(e.children,t,r)}return Array.isArray(e)?Kc(e,t,r):""}function Kc(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=Jh(e[a],t,r);return n.join("")}function Kg(e){return!!(e&&typeof e=="object")}const Qc=document.createElement("i");function il(e){const t="&"+e+";";Qc.innerHTML=t;const r=Qc.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function jt(e,t,r,n){const a=e.length;let i=0,s;if(t<0?t=-t>a?0:a+t:t=t>a?a: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);i<n.length;)s=n.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function Kt(e,t){return e.length>0?(jt(e,e.length,0,t),e):t}const Jc={}.hasOwnProperty;function Zh(e){const t={};let r=-1;for(;++r<e.length;)Qg(t,e[r]);return t}function Qg(e,t){let r;for(r in t){const a=(Jc.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let s;if(i)for(s in i){Jc.call(a,s)||(a[s]=[]);const o=i[s];Jg(a[s],Array.isArray(o)?o:o?[o]:[])}}}function Jg(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);jt(e,0,0,n)}function em(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 ir(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Nt=an(/[A-Za-z]/),wt=an(/[\dA-Za-z]/),Zg=an(/[#-'*+\--9=?A-Z^-~]/);function bs(e){return e!==null&&(e<32||e===127)}const Vo=an(/\d/),eb=an(/[\dA-Fa-f]/),tb=an(/[!-/:-@[-`{-~]/);function xe(e){return e!==null&&e<-2}function Ve(e){return e!==null&&(e<0||e===32)}function Fe(e){return e===-2||e===-1||e===32}const Xs=an(new RegExp("\\p{P}|\\p{S}","u")),Cn=an(/\s/);function an(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ca(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let s="";if(i===37&&wt(e.charCodeAt(r+1))&&wt(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const o=e.charCodeAt(r+1);i<56320&&o>56319&&o<57344?(s=String.fromCharCode(i,o),a=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+a+1,s=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function Me(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(u){return Fe(u)?(e.enter(r),o(u)):t(u)}function o(u){return Fe(u)&&i++<a?(e.consume(u),o):(e.exit(r),t(u))}}const rb={tokenize:nb};function nb(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(o){if(o===null){e.consume(o);return}return e.enter("lineEnding"),e.consume(o),e.exit("lineEnding"),Me(e,t,"linePrefix")}function a(o){return e.enter("paragraph"),i(o)}function i(o){const u=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=u),r=u,s(o)}function s(o){if(o===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(o);return}return xe(o)?(e.consume(o),e.exit("chunkText"),i):(e.consume(o),s)}}const ab={tokenize:ib},Zc={tokenize:sb};function ib(e){const t=this,r=[];let n=0,a,i,s;return o;function o(k){if(n<r.length){const F=r[n];return t.containerState=F[1],e.attempt(F[0].continuation,u,l)(k)}return l(k)}function u(k){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&A();const F=t.events.length;let B=F,N;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){N=t.events[B][1].end;break}T(n);let M=F;for(;M<t.events.length;)t.events[M][1].end=ae({},N),M++;return jt(t.events,B+1,0,t.events.slice(F)),t.events.length=M,l(k)}return o(k)}function l(k){if(n===r.length){if(!a)return p(k);if(a.currentConstruct&&a.currentConstruct.concrete)return b(k);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Zc,c,f)(k)}function c(k){return a&&A(),T(n),p(k)}function f(k){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,b(k)}function p(k){return t.containerState={},e.attempt(Zc,h,b)(k)}function h(k){return n++,r.push([t.currentConstruct,t.containerState]),p(k)}function b(k){if(k===null){a&&A(),T(0),e.consume(k);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),y(k)}function y(k){if(k===null){E(e.exit("chunkFlow"),!0),T(0),e.consume(k);return}return xe(k)?(e.consume(k),E(e.exit("chunkFlow")),n=0,t.interrupt=void 0,o):(e.consume(k),y)}function E(k,F){const B=t.sliceStream(k);if(F&&B.push(null),k.previous=i,i&&(i.next=k),i=k,a.defineSkip(k.start),a.write(B),t.parser.lazy[k.start.line]){let N=a.events.length;for(;N--;)if(a.events[N][1].start.offset<s&&(!a.events[N][1].end||a.events[N][1].end.offset>s))return;const M=t.events.length;let z=M,U,L;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(U){L=t.events[z][1].end;break}U=!0}for(T(n),N=M;N<t.events.length;)t.events[N][1].end=ae({},L),N++;jt(t.events,z+1,0,t.events.slice(M)),t.events.length=N}}function T(k){let F=r.length;for(;F-- >k;){const B=r[F];t.containerState=B[1],B[0].exit.call(t,e)}r.length=k}function A(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function sb(e,t,r){return Me(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Jn(e){if(e===null||Ve(e)||Cn(e))return 1;if(Xs(e))return 2}function Ks(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const i=e[a].resolveAll;i&&!n.includes(i)&&(t=i(t,r),n.push(i))}return t}const Go={name:"attention",resolveAll:ob,tokenize:ub};function ob(e,t){let r=-1,n,a,i,s,o,u,l,c;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;u=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 f=ae({},e[n][1].end),p=ae({},e[r][1].start);e1(f,-u),e1(p,u),s={type:u>1?"strongSequence":"emphasisSequence",start:f,end:ae({},e[n][1].end)},o={type:u>1?"strongSequence":"emphasisSequence",start:ae({},e[r][1].start),end:p},i={type:u>1?"strongText":"emphasisText",start:ae({},e[n][1].end),end:ae({},e[r][1].start)},a={type:u>1?"strong":"emphasis",start:ae({},s.start),end:ae({},o.end)},e[n][1].end=ae({},s.start),e[r][1].start=ae({},o.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Kt(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Kt(l,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),l=Kt(l,Ks(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=Kt(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,l=Kt(l,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,jt(e,n-1,r-n+3,l),r=n+l.length-c-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function ub(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=Jn(n);let i;return s;function s(u){return i=u,e.enter("attentionSequence"),o(u)}function o(u){if(u===i)return e.consume(u),o;const l=e.exit("attentionSequence"),c=Jn(u),f=!c||c===2&&a||r.includes(u),p=!a||a===2&&c||r.includes(n);return l._open=!!(i===42?f:f&&(a||!p)),l._close=!!(i===42?p:p&&(c||!f)),t(u)}}function e1(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const lb={name:"autolink",tokenize:cb};function cb(e,t,r){let n=0;return a;function a(h){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(h){return Nt(h)?(e.consume(h),s):h===64?r(h):l(h)}function s(h){return h===43||h===45||h===46||wt(h)?(n=1,o(h)):l(h)}function o(h){return h===58?(e.consume(h),n=0,u):(h===43||h===45||h===46||wt(h))&&n++<32?(e.consume(h),o):(n=0,l(h))}function u(h){return h===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):h===null||h===32||h===60||bs(h)?r(h):(e.consume(h),u)}function l(h){return h===64?(e.consume(h),c):Zg(h)?(e.consume(h),l):r(h)}function c(h){return wt(h)?f(h):r(h)}function f(h){return h===46?(e.consume(h),n=0,c):h===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(h),e.exit("autolinkMarker"),e.exit("autolink"),t):p(h)}function p(h){if((h===45||wt(h))&&n++<63){const b=h===45?p:f;return e.consume(h),b}return r(h)}}const gi={partial:!0,tokenize:fb};function fb(e,t,r){return n;function n(i){return Fe(i)?Me(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||xe(i)?t(i):r(i)}}const tm={continuation:{tokenize:hb},exit:mb,name:"blockQuote",tokenize:db};function db(e,t,r){const n=this;return a;function a(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"),i}return r(s)}function i(s){return Fe(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function hb(e,t,r){const n=this;return a;function a(s){return Fe(s)?Me(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(tm,t,r)(s)}}function mb(e){e.exit("blockQuote")}const rm={name:"characterEscape",tokenize:pb};function pb(e,t,r){return n;function n(i){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(i),e.exit("escapeMarker"),a}function a(i){return tb(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const nm={name:"characterReference",tokenize:gb};function gb(e,t,r){const n=this;let a=0,i,s;return o;function o(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),u}function u(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,s=wt,c(f))}function l(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=eb,c):(e.enter("characterReferenceValue"),i=7,s=Vo,c(f))}function c(f){if(f===59&&a){const p=e.exit("characterReferenceValue");return s===wt&&!il(n.sliceSerialize(p))?r(f):(e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return s(f)&&a++<i?(e.consume(f),c):r(f)}}const t1={partial:!0,tokenize:yb},r1={concrete:!0,name:"codeFenced",tokenize:bb};function bb(e,t,r){const n=this,a={partial:!0,tokenize:B};let i=0,s=0,o;return u;function u(N){return l(N)}function l(N){const M=n.events[n.events.length-1];return i=M&&M[1].type==="linePrefix"?M[2].sliceSerialize(M[1],!0).length:0,o=N,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(N)}function c(N){return N===o?(s++,e.consume(N),c):s<3?r(N):(e.exit("codeFencedFenceSequence"),Fe(N)?Me(e,f,"whitespace")(N):f(N))}function f(N){return N===null||xe(N)?(e.exit("codeFencedFence"),n.interrupt?t(N):e.check(t1,y,F)(N)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(N))}function p(N){return N===null||xe(N)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(N)):Fe(N)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),Me(e,h,"whitespace")(N)):N===96&&N===o?r(N):(e.consume(N),p)}function h(N){return N===null||xe(N)?f(N):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(N))}function b(N){return N===null||xe(N)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(N)):N===96&&N===o?r(N):(e.consume(N),b)}function y(N){return e.attempt(a,F,E)(N)}function E(N){return e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),T}function T(N){return i>0&&Fe(N)?Me(e,A,"linePrefix",i+1)(N):A(N)}function A(N){return N===null||xe(N)?e.check(t1,y,F)(N):(e.enter("codeFlowValue"),k(N))}function k(N){return N===null||xe(N)?(e.exit("codeFlowValue"),A(N)):(e.consume(N),k)}function F(N){return e.exit("codeFenced"),t(N)}function B(N,M,z){let U=0;return L;function L(W){return N.enter("lineEnding"),N.consume(W),N.exit("lineEnding"),$}function $(W){return N.enter("codeFencedFence"),Fe(W)?Me(N,te,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(W):te(W)}function te(W){return W===o?(N.enter("codeFencedFenceSequence"),ge(W)):z(W)}function ge(W){return W===o?(U++,N.consume(W),ge):U>=s?(N.exit("codeFencedFenceSequence"),Fe(W)?Me(N,X,"whitespace")(W):X(W)):z(W)}function X(W){return W===null||xe(W)?(N.exit("codeFencedFence"),M(W)):z(W)}}}function yb(e,t,r){const n=this;return a;function a(s){return s===null?r(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}const H0={name:"codeIndented",tokenize:Eb},xb={partial:!0,tokenize:Tb};function Eb(e,t,r){const n=this;return a;function a(l){return e.enter("codeIndented"),Me(e,i,"linePrefix",5)(l)}function i(l){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(l):r(l)}function s(l){return l===null?u(l):xe(l)?e.attempt(xb,s,u)(l):(e.enter("codeFlowValue"),o(l))}function o(l){return l===null||xe(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),o)}function u(l){return e.exit("codeIndented"),t(l)}}function Tb(e,t,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):xe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):Me(e,i,"linePrefix",5)(s)}function i(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):xe(s)?a(s):r(s)}}const vb={name:"codeText",previous:Ab,resolve:wb,tokenize:Sb};function wb(e){let t=e.length-4,r=3,n,a;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;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function Ab(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Sb(e,t,r){let n=0,a,i;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),o(f)}function o(f){return f===96?(e.consume(f),n++,o):(e.exit("codeTextSequence"),u(f))}function u(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),u):f===96?(i=e.enter("codeTextSequence"),a=0,c(f)):xe(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),u):(e.enter("codeTextData"),l(f))}function l(f){return f===null||f===32||f===96||xe(f)?(e.exit("codeTextData"),u(f)):(e.consume(f),l)}function c(f){return f===96?(e.consume(f),a++,c):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",l(f))}}class kb{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r==null?Number.POSITIVE_INFINITY:r;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const i=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&ka(this.left,n),i.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),ka(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),ka(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);ka(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);ka(this.left,r.reverse())}}}function ka(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function am(e){const t={};let r=-1,n,a,i,s,o,u,l;const c=new kb(e);for(;++r<c.length;){for(;r in t;)r=t[r];if(n=c.get(r),r&&n[1].type==="chunkFlow"&&c.get(r-1)[1].type==="listItemPrefix"&&(u=n[1]._tokenizer.events,i=0,i<u.length&&u[i][1].type==="lineEndingBlank"&&(i+=2),i<u.length&&u[i][1].type==="content"))for(;++i<u.length&&u[i][1].type!=="content";)u[i][1].type==="chunkText"&&(u[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Cb(c,r)),r=t[r],l=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(s=c.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(c.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=i);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;a&&(n[1].end=ae({},c.get(a)[1].start),o=c.slice(a,r),o.unshift(n),c.splice(a,r-a+1,o))}}return jt(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function Cb(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const i=[];let s=r._tokenizer;s||(s=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));const o=s.events,u=[],l={};let c,f,p=-1,h=r,b=0,y=0;const E=[y];for(;h;){for(;e.get(++a)[1]!==h;);i.push(a),h._tokenizer||(c=n.sliceStream(h),h.next||c.push(null),f&&s.defineSkip(h.start),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),h._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=h,h=h.next}for(h=r;++p<o.length;)o[p][0]==="exit"&&o[p-1][0]==="enter"&&o[p][1].type===o[p-1][1].type&&o[p][1].start.line!==o[p][1].end.line&&(y=p+1,E.push(y),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(s.events=[],h?(h._tokenizer=void 0,h.previous=void 0):E.pop(),p=E.length;p--;){const T=o.slice(E[p],E[p+1]),A=i.pop();u.push([A,A+T.length-1]),e.splice(A,2,T)}for(u.reverse(),p=-1;++p<u.length;)l[b+u[p][0]]=b+u[p][1],b+=u[p][1]-u[p][0]-1;return l}const Ib={resolve:Nb,tokenize:Ob},_b={partial:!0,tokenize:Rb};function Nb(e){return am(e),e}function Ob(e,t){let r;return n;function n(o){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(o)}function a(o){return o===null?i(o):xe(o)?e.check(_b,s,i)(o):(e.consume(o),a)}function i(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,a}}function Rb(e,t,r){const n=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),Me(e,i,"linePrefix")}function i(s){if(s===null||xe(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 im(e,t,r,n,a,i,s,o,u){const l=u||Number.POSITIVE_INFINITY;let c=0;return f;function f(T){return T===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(T),e.exit(i),p):T===null||T===32||T===41||bs(T)?r(T):(e.enter(n),e.enter(s),e.enter(o),e.enter("chunkString",{contentType:"string"}),y(T))}function p(T){return T===62?(e.enter(i),e.consume(T),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(o),e.enter("chunkString",{contentType:"string"}),h(T))}function h(T){return T===62?(e.exit("chunkString"),e.exit(o),p(T)):T===null||T===60||xe(T)?r(T):(e.consume(T),T===92?b:h)}function b(T){return T===60||T===62||T===92?(e.consume(T),h):h(T)}function y(T){return!c&&(T===null||T===41||Ve(T))?(e.exit("chunkString"),e.exit(o),e.exit(s),e.exit(n),t(T)):c<l&&T===40?(e.consume(T),c++,y):T===41?(e.consume(T),c--,y):T===null||T===32||T===40||bs(T)?r(T):(e.consume(T),T===92?E:y)}function E(T){return T===40||T===41||T===92?(e.consume(T),y):y(T)}}function sm(e,t,r,n,a,i){const s=this;let o=0,u;return l;function l(h){return e.enter(n),e.enter(a),e.consume(h),e.exit(a),e.enter(i),c}function c(h){return o>999||h===null||h===91||h===93&&!u||h===94&&!o&&"_hiddenFootnoteSupport"in s.parser.constructs?r(h):h===93?(e.exit(i),e.enter(a),e.consume(h),e.exit(a),e.exit(n),t):xe(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(h))}function f(h){return h===null||h===91||h===93||xe(h)||o++>999?(e.exit("chunkString"),c(h)):(e.consume(h),u||(u=!Fe(h)),h===92?p:f)}function p(h){return h===91||h===92||h===93?(e.consume(h),o++,f):f(h)}}function om(e,t,r,n,a,i){let s;return o;function o(p){return p===34||p===39||p===40?(e.enter(n),e.enter(a),e.consume(p),e.exit(a),s=p===40?41:p,u):r(p)}function u(p){return p===s?(e.enter(a),e.consume(p),e.exit(a),e.exit(n),t):(e.enter(i),l(p))}function l(p){return p===s?(e.exit(i),u(s)):p===null?r(p):xe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),Me(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===s||p===null||xe(p)?(e.exit("chunkString"),l(p)):(e.consume(p),p===92?f:c)}function f(p){return p===s||p===92?(e.consume(p),c):c(p)}}function Ha(e,t){let r;return n;function n(a){return xe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):Fe(a)?Me(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const Db={name:"definition",tokenize:Mb},Lb={partial:!0,tokenize:Pb};function Mb(e,t,r){const n=this;let a;return i;function i(h){return e.enter("definition"),s(h)}function s(h){return sm.call(n,e,o,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(h)}function o(h){return a=ir(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),h===58?(e.enter("definitionMarker"),e.consume(h),e.exit("definitionMarker"),u):r(h)}function u(h){return Ve(h)?Ha(e,l)(h):l(h)}function l(h){return im(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(h)}function c(h){return e.attempt(Lb,f,f)(h)}function f(h){return Fe(h)?Me(e,p,"whitespace")(h):p(h)}function p(h){return h===null||xe(h)?(e.exit("definition"),n.parser.defined.push(a),t(h)):r(h)}}function Pb(e,t,r){return n;function n(o){return Ve(o)?Ha(e,a)(o):r(o)}function a(o){return om(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(o)}function i(o){return Fe(o)?Me(e,s,"whitespace")(o):s(o)}function s(o){return o===null||xe(o)?t(o):r(o)}}const Fb={name:"hardBreakEscape",tokenize:Bb};function Bb(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return xe(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const zb={name:"headingAtx",resolve:Hb,tokenize:Ub};function Hb(e,t){let r=e.length-2,n=3,a,i;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&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},i={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},jt(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function Ub(e,t,r){let n=0;return a;function a(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&n++<6?(e.consume(c),s):c===null||Ve(c)?(e.exit("atxHeadingSequence"),o(c)):r(c)}function o(c){return c===35?(e.enter("atxHeadingSequence"),u(c)):c===null||xe(c)?(e.exit("atxHeading"),t(c)):Fe(c)?Me(e,o,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function u(c){return c===35?(e.consume(c),u):(e.exit("atxHeadingSequence"),o(c))}function l(c){return c===null||c===35||Ve(c)?(e.exit("atxHeadingText"),o(c)):(e.consume(c),l)}}const jb=["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"],n1=["pre","script","style","textarea"],$b={concrete:!0,name:"htmlFlow",resolveTo:Wb,tokenize:Vb},qb={partial:!0,tokenize:Xb},Yb={partial:!0,tokenize:Gb};function Wb(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 Vb(e,t,r){const n=this;let a,i,s,o,u;return l;function l(I){return c(I)}function c(I){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(I),f}function f(I){return I===33?(e.consume(I),p):I===47?(e.consume(I),i=!0,y):I===63?(e.consume(I),a=3,n.interrupt?t:C):Nt(I)?(e.consume(I),s=String.fromCharCode(I),E):r(I)}function p(I){return I===45?(e.consume(I),a=2,h):I===91?(e.consume(I),a=5,o=0,b):Nt(I)?(e.consume(I),a=4,n.interrupt?t:C):r(I)}function h(I){return I===45?(e.consume(I),n.interrupt?t:C):r(I)}function b(I){const me="CDATA[";return I===me.charCodeAt(o++)?(e.consume(I),o===me.length?n.interrupt?t:te:b):r(I)}function y(I){return Nt(I)?(e.consume(I),s=String.fromCharCode(I),E):r(I)}function E(I){if(I===null||I===47||I===62||Ve(I)){const me=I===47,ve=s.toLowerCase();return!me&&!i&&n1.includes(ve)?(a=1,n.interrupt?t(I):te(I)):jb.includes(s.toLowerCase())?(a=6,me?(e.consume(I),T):n.interrupt?t(I):te(I)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(I):i?A(I):k(I))}return I===45||wt(I)?(e.consume(I),s+=String.fromCharCode(I),E):r(I)}function T(I){return I===62?(e.consume(I),n.interrupt?t:te):r(I)}function A(I){return Fe(I)?(e.consume(I),A):L(I)}function k(I){return I===47?(e.consume(I),L):I===58||I===95||Nt(I)?(e.consume(I),F):Fe(I)?(e.consume(I),k):L(I)}function F(I){return I===45||I===46||I===58||I===95||wt(I)?(e.consume(I),F):B(I)}function B(I){return I===61?(e.consume(I),N):Fe(I)?(e.consume(I),B):k(I)}function N(I){return I===null||I===60||I===61||I===62||I===96?r(I):I===34||I===39?(e.consume(I),u=I,M):Fe(I)?(e.consume(I),N):z(I)}function M(I){return I===u?(e.consume(I),u=null,U):I===null||xe(I)?r(I):(e.consume(I),M)}function z(I){return I===null||I===34||I===39||I===47||I===60||I===61||I===62||I===96||Ve(I)?B(I):(e.consume(I),z)}function U(I){return I===47||I===62||Fe(I)?k(I):r(I)}function L(I){return I===62?(e.consume(I),$):r(I)}function $(I){return I===null||xe(I)?te(I):Fe(I)?(e.consume(I),$):r(I)}function te(I){return I===45&&a===2?(e.consume(I),V):I===60&&a===1?(e.consume(I),se):I===62&&a===4?(e.consume(I),K):I===63&&a===3?(e.consume(I),C):I===93&&a===5?(e.consume(I),he):xe(I)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(qb,Q,ge)(I)):I===null||xe(I)?(e.exit("htmlFlowData"),ge(I)):(e.consume(I),te)}function ge(I){return e.check(Yb,X,Q)(I)}function X(I){return e.enter("lineEnding"),e.consume(I),e.exit("lineEnding"),W}function W(I){return I===null||xe(I)?ge(I):(e.enter("htmlFlowData"),te(I))}function V(I){return I===45?(e.consume(I),C):te(I)}function se(I){return I===47?(e.consume(I),s="",J):te(I)}function J(I){if(I===62){const me=s.toLowerCase();return n1.includes(me)?(e.consume(I),K):te(I)}return Nt(I)&&s.length<8?(e.consume(I),s+=String.fromCharCode(I),J):te(I)}function he(I){return I===93?(e.consume(I),C):te(I)}function C(I){return I===62?(e.consume(I),K):I===45&&a===2?(e.consume(I),C):te(I)}function K(I){return I===null||xe(I)?(e.exit("htmlFlowData"),Q(I)):(e.consume(I),K)}function Q(I){return e.exit("htmlFlow"),t(I)}}function Gb(e,t,r){const n=this;return a;function a(s){return xe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):r(s)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function Xb(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(gi,t,r)}}const Kb={name:"htmlText",tokenize:Qb};function Qb(e,t,r){const n=this;let a,i,s;return o;function o(C){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(C),u}function u(C){return C===33?(e.consume(C),l):C===47?(e.consume(C),B):C===63?(e.consume(C),k):Nt(C)?(e.consume(C),z):r(C)}function l(C){return C===45?(e.consume(C),c):C===91?(e.consume(C),i=0,b):Nt(C)?(e.consume(C),A):r(C)}function c(C){return C===45?(e.consume(C),h):r(C)}function f(C){return C===null?r(C):C===45?(e.consume(C),p):xe(C)?(s=f,se(C)):(e.consume(C),f)}function p(C){return C===45?(e.consume(C),h):f(C)}function h(C){return C===62?V(C):C===45?p(C):f(C)}function b(C){const K="CDATA[";return C===K.charCodeAt(i++)?(e.consume(C),i===K.length?y:b):r(C)}function y(C){return C===null?r(C):C===93?(e.consume(C),E):xe(C)?(s=y,se(C)):(e.consume(C),y)}function E(C){return C===93?(e.consume(C),T):y(C)}function T(C){return C===62?V(C):C===93?(e.consume(C),T):y(C)}function A(C){return C===null||C===62?V(C):xe(C)?(s=A,se(C)):(e.consume(C),A)}function k(C){return C===null?r(C):C===63?(e.consume(C),F):xe(C)?(s=k,se(C)):(e.consume(C),k)}function F(C){return C===62?V(C):k(C)}function B(C){return Nt(C)?(e.consume(C),N):r(C)}function N(C){return C===45||wt(C)?(e.consume(C),N):M(C)}function M(C){return xe(C)?(s=M,se(C)):Fe(C)?(e.consume(C),M):V(C)}function z(C){return C===45||wt(C)?(e.consume(C),z):C===47||C===62||Ve(C)?U(C):r(C)}function U(C){return C===47?(e.consume(C),V):C===58||C===95||Nt(C)?(e.consume(C),L):xe(C)?(s=U,se(C)):Fe(C)?(e.consume(C),U):V(C)}function L(C){return C===45||C===46||C===58||C===95||wt(C)?(e.consume(C),L):$(C)}function $(C){return C===61?(e.consume(C),te):xe(C)?(s=$,se(C)):Fe(C)?(e.consume(C),$):U(C)}function te(C){return C===null||C===60||C===61||C===62||C===96?r(C):C===34||C===39?(e.consume(C),a=C,ge):xe(C)?(s=te,se(C)):Fe(C)?(e.consume(C),te):(e.consume(C),X)}function ge(C){return C===a?(e.consume(C),a=void 0,W):C===null?r(C):xe(C)?(s=ge,se(C)):(e.consume(C),ge)}function X(C){return C===null||C===34||C===39||C===60||C===61||C===96?r(C):C===47||C===62||Ve(C)?U(C):(e.consume(C),X)}function W(C){return C===47||C===62||Ve(C)?U(C):r(C)}function V(C){return C===62?(e.consume(C),e.exit("htmlTextData"),e.exit("htmlText"),t):r(C)}function se(C){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(C),e.exit("lineEnding"),J}function J(C){return Fe(C)?Me(e,he,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(C):he(C)}function he(C){return e.enter("htmlTextData"),s(C)}}const sl={name:"labelEnd",resolveAll:t8,resolveTo:r8,tokenize:n8},Jb={tokenize:a8},Zb={tokenize:i8},e8={tokenize:s8};function t8(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&jt(e,0,e.length,r),e}function r8(e,t){let r=e.length,n=0,a,i,s,o;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(s=r);const u={type:e[i][1].type==="labelLink"?"link":"image",start:ae({},e[i][1].start),end:ae({},e[e.length-1][1].end)},l={type:"label",start:ae({},e[i][1].start),end:ae({},e[s][1].end)},c={type:"labelText",start:ae({},e[i+n+2][1].end),end:ae({},e[s-2][1].start)};return o=[["enter",u,t],["enter",l,t]],o=Kt(o,e.slice(i+1,i+n+3)),o=Kt(o,[["enter",c,t]]),o=Kt(o,Ks(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),o=Kt(o,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),o=Kt(o,e.slice(s+1)),o=Kt(o,[["exit",u,t]]),jt(e,i,e.length,o),e}function n8(e,t,r){const n=this;let a=n.events.length,i,s;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){i=n.events[a][1];break}return o;function o(p){return i?i._inactive?f(p):(s=n.parser.defined.includes(ir(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),u):r(p)}function u(p){return p===40?e.attempt(Jb,c,s?c:f)(p):p===91?e.attempt(Zb,c,s?l:f)(p):s?c(p):f(p)}function l(p){return e.attempt(e8,c,f)(p)}function c(p){return t(p)}function f(p){return i._balanced=!0,r(p)}}function a8(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),a}function a(f){return Ve(f)?Ha(e,i)(f):i(f)}function i(f){return f===41?c(f):im(e,s,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Ve(f)?Ha(e,u)(f):c(f)}function o(f){return r(f)}function u(f){return f===34||f===39||f===40?om(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function l(f){return Ve(f)?Ha(e,c)(f):c(f)}function c(f){return f===41?(e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),e.exit("resource"),t):r(f)}}function i8(e,t,r){const n=this;return a;function a(o){return sm.call(n,e,i,s,"reference","referenceMarker","referenceString")(o)}function i(o){return n.parser.defined.includes(ir(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(o):r(o)}function s(o){return r(o)}}function s8(e,t,r){return n;function n(i){return e.enter("reference"),e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),a}function a(i){return i===93?(e.enter("referenceMarker"),e.consume(i),e.exit("referenceMarker"),e.exit("reference"),t):r(i)}}const o8={name:"labelStartImage",resolveAll:sl.resolveAll,tokenize:u8};function u8(e,t,r){const n=this;return a;function a(o){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(o),e.exit("labelImageMarker"),i}function i(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 l8={name:"labelStartLink",resolveAll:sl.resolveAll,tokenize:c8};function c8(e,t,r){const n=this;return a;function a(s){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(s),e.exit("labelMarker"),e.exit("labelLink"),i}function i(s){return s===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(s):t(s)}}const U0={name:"lineEnding",tokenize:f8};function f8(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),Me(e,t,"linePrefix")}}const as={name:"thematicBreak",tokenize:d8};function d8(e,t,r){let n=0,a;return i;function i(l){return e.enter("thematicBreak"),s(l)}function s(l){return a=l,o(l)}function o(l){return l===a?(e.enter("thematicBreakSequence"),u(l)):n>=3&&(l===null||xe(l))?(e.exit("thematicBreak"),t(l)):r(l)}function u(l){return l===a?(e.consume(l),n++,u):(e.exit("thematicBreakSequence"),Fe(l)?Me(e,o,"whitespace")(l):o(l))}}const Mt={continuation:{tokenize:g8},exit:y8,name:"list",tokenize:p8},h8={partial:!0,tokenize:x8},m8={partial:!0,tokenize:b8};function p8(e,t,r){const n=this,a=n.events[n.events.length-1];let i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,s=0;return o;function o(h){const b=n.containerState.type||(h===42||h===43||h===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!n.containerState.marker||h===n.containerState.marker:Vo(h)){if(n.containerState.type||(n.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),h===42||h===45?e.check(as,r,l)(h):l(h);if(!n.interrupt||h===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),u(h)}return r(h)}function u(h){return Vo(h)&&++s<10?(e.consume(h),u):(!n.interrupt||s<2)&&(n.containerState.marker?h===n.containerState.marker:h===41||h===46)?(e.exit("listItemValue"),l(h)):r(h)}function l(h){return e.enter("listItemMarker"),e.consume(h),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||h,e.check(gi,n.interrupt?r:c,e.attempt(h8,p,f))}function c(h){return n.containerState.initialBlankLine=!0,i++,p(h)}function f(h){return Fe(h)?(e.enter("listItemPrefixWhitespace"),e.consume(h),e.exit("listItemPrefixWhitespace"),p):r(h)}function p(h){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(h)}}function g8(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(gi,a,i);function a(o){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,Me(e,t,"listItemIndent",n.containerState.size+1)(o)}function i(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(m8,t,s)(o))}function s(o){return n.containerState._closeFlow=!0,n.interrupt=void 0,Me(e,e.attempt(Mt,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(o)}}function b8(e,t,r){const n=this;return Me(e,a,"listItemIndent",n.containerState.size+1);function a(i){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(i):r(i)}}function y8(e){e.exit(this.containerState.type)}function x8(e,t,r){const n=this;return Me(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const s=n.events[n.events.length-1];return!Fe(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const a1={name:"setextUnderline",resolveTo:E8,tokenize:T8};function E8(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const s={type:"setextHeading",start:ae({},e[n][1].start),end:ae({},e[e.length-1][1].end)};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=ae({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function T8(e,t,r){const n=this;let a;return i;function i(l){let c=n.events.length,f;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){f=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),a=l,s(l)):r(l)}function s(l){return e.enter("setextHeadingLineSequence"),o(l)}function o(l){return l===a?(e.consume(l),o):(e.exit("setextHeadingLineSequence"),Fe(l)?Me(e,u,"lineSuffix")(l):u(l))}function u(l){return l===null||xe(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}const v8={tokenize:w8};function w8(e){const t=this,r=e.attempt(gi,n,e.attempt(this.parser.constructs.flowInitial,a,Me(e,e.attempt(this.parser.constructs.flow,a,e.attempt(Ib,a)),"linePrefix")));return r;function n(i){if(i===null){e.consume(i);return}return e.enter("lineEndingBlank"),e.consume(i),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(i){if(i===null){e.consume(i);return}return e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const A8={resolveAll:lm()},S8=um("string"),k8=um("text");function um(e){return{resolveAll:lm(e==="text"?C8:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,s,o);return s;function s(c){return l(c)?i(c):o(c)}function o(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),u}function u(c){return l(c)?(r.exit("data"),i(c)):(r.consume(c),u)}function l(c){if(c===null)return!0;const f=a[c];let p=-1;if(f)for(;++p<f.length;){const h=f[p];if(!h.previous||h.previous.call(n,n.previous))return!0}return!1}}}function lm(e){return t;function t(r,n){let a=-1,i;for(;++a<=r.length;)i===void 0?r[a]&&r[a][1].type==="data"&&(i=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==i+2&&(r[i][1].end=r[a-1][1].end,r.splice(i+2,a-i-2),a=i+2),i=void 0);return e?e(r,n):r}}function C8(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],a=t.sliceStream(n);let i=a.length,s=-1,o=0,u;for(;i--;){const l=a[i];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)o++,s--;if(s)break;s=-1}else if(l===-2)u=!0,o++;else if(l!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(o=0),o){const l={type:r===e.length||u||o<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-o,offset:n.end.offset-o},end:ae({},n.end)};n.end=ae({},l.start),n.start.offset===n.end.offset?Object.assign(n,l):(e.splice(r,0,["enter",l,t],["exit",l,t]),r+=2)}r++}return e}const I8={42:Mt,43:Mt,45:Mt,48:Mt,49:Mt,50:Mt,51:Mt,52:Mt,53:Mt,54:Mt,55:Mt,56:Mt,57:Mt,62:tm},_8={91:Db},N8={[-2]:H0,[-1]:H0,32:H0},O8={35:zb,42:as,45:[a1,as],60:$b,61:a1,95:as,96:r1,126:r1},R8={38:nm,92:rm},D8={[-5]:U0,[-4]:U0,[-3]:U0,33:o8,38:nm,42:Go,60:[lb,Kb],91:l8,92:[Fb,rm],93:sl,95:Go,96:vb},L8={null:[Go,A8]},M8={null:[42,95]},P8={null:[]},F8=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:M8,contentInitial:_8,disable:P8,document:I8,flow:O8,flowInitial:N8,insideSpan:L8,string:R8,text:D8},Symbol.toStringTag,{value:"Module"}));function B8(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let s=[],o=[];const u={attempt:M(B),check:M(N),consume:A,enter:k,exit:F,interrupt:M(N,{interrupt:!0})},l={code:null,containerState:{},defineSkip:y,events:[],now:b,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:f};let c=t.tokenize.call(l,u);return t.resolveAll&&i.push(t),l;function f($){return s=Kt(s,$),E(),s[s.length-1]!==null?[]:(z(t,0),l.events=Ks(i,l.events,l),l.events)}function p($,te){return H8(h($),te)}function h($){return z8(s,$)}function b(){const{_bufferIndex:$,_index:te,line:ge,column:X,offset:W}=n;return{_bufferIndex:$,_index:te,line:ge,column:X,offset:W}}function y($){a[$.line]=$.column,L()}function E(){let $;for(;n._index<s.length;){const te=s[n._index];if(typeof te=="string")for($=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===$&&n._bufferIndex<te.length;)T(te.charCodeAt(n._bufferIndex));else T(te)}}function T($){c=c($)}function A($){xe($)?(n.line++,n.column=1,n.offset+=$===-3?2:1,L()):$!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),l.previous=$}function k($,te){const ge=te||{};return ge.type=$,ge.start=b(),l.events.push(["enter",ge,l]),o.push(ge),ge}function F($){const te=o.pop();return te.end=b(),l.events.push(["exit",te,l]),te}function B($,te){z($,te.from)}function N($,te){te.restore()}function M($,te){return ge;function ge(X,W,V){let se,J,he,C;return Array.isArray(X)?Q(X):"tokenize"in X?Q([X]):K(X);function K(Ce){return He;function He(Ze){const qe=Ze!==null&&Ce[Ze],ze=Ze!==null&&Ce.null,pt=[...Array.isArray(qe)?qe:qe?[qe]:[],...Array.isArray(ze)?ze:ze?[ze]:[]];return Q(pt)(Ze)}}function Q(Ce){return se=Ce,J=0,Ce.length===0?V:I(Ce[J])}function I(Ce){return He;function He(Ze){return C=U(),he=Ce,Ce.partial||(l.currentConstruct=Ce),Ce.name&&l.parser.constructs.disable.null.includes(Ce.name)?ve():Ce.tokenize.call(te?Object.assign(Object.create(l),te):l,u,me,ve)(Ze)}}function me(Ce){return $(he,C),W}function ve(Ce){return C.restore(),++J<se.length?I(se[J]):V}}}function z($,te){$.resolveAll&&!i.includes($)&&i.push($),$.resolve&&jt(l.events,te,l.events.length-te,$.resolve(l.events.slice(te),l)),$.resolveTo&&(l.events=$.resolveTo(l.events,l))}function U(){const $=b(),te=l.previous,ge=l.currentConstruct,X=l.events.length,W=Array.from(o);return{from:X,restore:V};function V(){n=$,l.previous=te,l.currentConstruct=ge,l.events.length=X,o=W,L()}}function L(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function z8(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,i=t.end._bufferIndex;let s;if(r===a)s=[e[r].slice(n,i)];else{if(s=e.slice(r,a),n>-1){const o=s[0];typeof o=="string"?s[0]=o.slice(n):s.shift()}i>0&&s.push(e[a].slice(0,i))}return s}function H8(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const i=e[r];let s;if(typeof i=="string")s=i;else switch(i){case-5:{s="\r";break}case-4:{s=`
|
|
14
14
|
`;break}case-3:{s=`\r
|
|
15
|
-
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&a)continue;s=" ";break}default:s=String.fromCharCode(i)}a=i===-2,n.push(s)}return n.join("")}function U8(e){const n={constructs:Zh([F8,...(e||{}).extensions||[]]),content:a(rb),defined:[],document:a(ab),flow:a(v8),lazy:{},string:a(S8),text:a(k8)};return n;function a(i){return s;function s(o){return B8(n,i,o)}}}function j8(e){for(;!am(e););return e}const i1=/[\0\t\n\r]/g;function $8(){let e=1,t="",r=!0,n;return a;function a(i,s,o){const u=[];let l,c,f,p,h;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),f=0,t="",r&&(i.charCodeAt(0)===65279&&f++,r=void 0);f<i.length;){if(i1.lastIndex=f,l=i1.exec(i),p=l&&l.index!==void 0?l.index:i.length,h=i.charCodeAt(p),!l){t=i.slice(f);break}if(h===10&&f===p&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),f<p&&(u.push(i.slice(f,p)),e+=p-f),h){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:n=!0,e=1}f=p+1}return o&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}const q8=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Y8(e){return e.replace(q8,W8)}function W8(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return em(r.slice(i?2:1),i?16:10)}return il(r)||e}const cm={}.hasOwnProperty;function V8(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),G8(r)(j8(U8(r).document().write($8()(e,t,!0))))}function G8(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Br),autolinkProtocol:U,autolinkEmail:U,atxHeading:i(on),blockQuote:i(Be),characterEscape:U,characterReference:U,codeFenced:i(pt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(pt,s),codeText:i(Tt,s),codeTextData:U,data:U,codeFlowValue:U,definition:i(Dt),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(Fr),hardBreakEscape:i(un),hardBreakTrailing:i(un),htmlFlow:i(ln,s),htmlFlowData:U,htmlText:i(ln,s),htmlTextData:U,image:i(cn),label:s,link:i(Br),listItem:i(Ke),listItemValue:p,listOrdered:i(Te,f),listUnordered:i(Te),paragraph:i(Ye),reference:I,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(on),strong:i(ze),thematicBreak:i(ur)},exit:{atxHeading:u(),atxHeadingSequence:B,autolink:u(),autolinkEmail:qe,autolinkProtocol:Ze,blockQuote:u(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:ve,characterReferenceMarkerNumeric:ve,characterReferenceValue:Ce,characterReference:He,codeFenced:u(E),codeFencedFence:y,codeFencedFenceInfo:h,codeFencedFenceMeta:b,codeFlowValue:L,codeIndented:u(T),codeText:u(W),codeTextData:L,data:L,definition:u(),definitionDestinationString:F,definitionLabelString:A,definitionTitleString:k,emphasis:u(),hardBreakEscape:u(te),hardBreakTrailing:u(te),htmlFlow:u(ge),htmlFlowData:L,htmlText:u(X),htmlTextData:L,image:u(ie),label:he,labelText:J,lineEnding:$,link:u(V),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:me,resourceDestinationString:C,resourceTitleString:K,resource:Q,setextHeading:u(z),setextHeadingLineSequence:M,setextHeadingText:O,strong:u(),thematicBreak:u()}};fm(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(Y){let de={type:"root",children:[]};const Se={stack:[de],tokenStack:[],config:t,enter:o,exit:l,buffer:s,resume:c,data:r},Oe=[];let We=-1;for(;++We<Y.length;)if(Y[We][1].type==="listOrdered"||Y[We][1].type==="listUnordered")if(Y[We][0]==="enter")Oe.push(We);else{const tr=Oe.pop();We=a(Y,tr,We)}for(We=-1;++We<Y.length;){const tr=t[Y[We][0]];cm.call(tr,Y[We][1].type)&&tr[Y[We][1].type].call(Object.assign({sliceSerialize:Y[We][2].sliceSerialize},Se),Y[We][1])}if(Se.tokenStack.length>0){const tr=Se.tokenStack[Se.tokenStack.length-1];(tr[1]||s1).call(Se,void 0,tr[0])}for(de.position={start:zr(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:zr(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<t.transforms.length;)de=t.transforms[We](de)||de;return de}function a(Y,de,Se){let Oe=de-1,We=-1,tr=!1,fn,vr,Ta,va;for(;++Oe<=Se;){const Ht=Y[Oe];switch(Ht[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ht[0]==="enter"?We++:We--,va=void 0;break}case"lineEndingBlank":{Ht[0]==="enter"&&(fn&&!va&&!We&&!Ta&&(Ta=Oe),va=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:va=void 0}if(!We&&Ht[0]==="enter"&&Ht[1].type==="listItemPrefix"||We===-1&&Ht[0]==="exit"&&(Ht[1].type==="listUnordered"||Ht[1].type==="listOrdered")){if(fn){let Mn=Oe;for(vr=void 0;Mn--;){const wr=Y[Mn];if(wr[1].type==="lineEnding"||wr[1].type==="lineEndingBlank"){if(wr[0]==="exit")continue;vr&&(Y[vr][1].type="lineEndingBlank",tr=!0),wr[1].type="lineEnding",vr=Mn}else if(!(wr[1].type==="linePrefix"||wr[1].type==="blockQuotePrefix"||wr[1].type==="blockQuotePrefixWhitespace"||wr[1].type==="blockQuoteMarker"||wr[1].type==="listItemIndent"))break}Ta&&(!vr||Ta<vr)&&(fn._spread=!0),fn.end=Object.assign({},vr?Y[vr][1].start:Ht[1].end),Y.splice(vr||Oe,0,["exit",fn,Ht[2]]),Oe++,Se++}if(Ht[1].type==="listItemPrefix"){const Mn={type:"listItem",_spread:!1,start:Object.assign({},Ht[1].start),end:void 0};fn=Mn,Y.splice(Oe,0,["enter",Mn,Ht[2]]),Oe++,Se++,Ta=void 0,va=!0}}}return Y[de][1]._spread=tr,Se}function i(Y,de){return Se;function Se(Oe){o.call(this,Y(Oe),Oe),de&&de.call(this,Oe)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(Y,de,Se){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([de,Se||void 0]),Y.position={start:zr(de.start),end:void 0}}function u(Y){return de;function de(Se){Y&&Y.call(this,Se),l.call(this,Se)}}function l(Y,de){const Se=this.stack.pop(),Oe=this.tokenStack.pop();if(Oe)Oe[0].type!==Y.type&&(de?de.call(this,Y,Oe[0]):(Oe[1]||s1).call(this,Y,Oe[0]));else throw new Error("Cannot close `"+Y.type+"` ("+za({start:Y.start,end:Y.end})+"): it’s not open");Se.position.end=zr(Y.end)}function c(){return al(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(Y){if(this.data.expectingFirstListItemValue){const de=this.stack[this.stack.length-2];de.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function h(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.lang=Y}function b(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.meta=Y}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y.replace(/(\r?\n|\r)$/g,"")}function A(Y){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.label=de,Se.identifier=ir(this.sliceSerialize(Y)).toLowerCase()}function k(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.title=Y}function F(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.url=Y}function B(Y){const de=this.stack[this.stack.length-1];if(!de.depth){const Se=this.sliceSerialize(Y).length;de.depth=Se}}function O(){this.data.setextHeadingSlurpLineEnding=!0}function M(Y){const de=this.stack[this.stack.length-1];de.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function U(Y){const Se=this.stack[this.stack.length-1].children;let Oe=Se[Se.length-1];(!Oe||Oe.type!=="text")&&(Oe=er(),Oe.position={start:zr(Y.start),end:void 0},Se.push(Oe)),this.stack.push(Oe)}function L(Y){const de=this.stack.pop();de.value+=this.sliceSerialize(Y),de.position.end=zr(Y.end)}function $(Y){const de=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Se=de.children[de.children.length-1];Se.position.end=zr(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(de.type)&&(U.call(this,Y),L.call(this,Y))}function te(){this.data.atHardBreak=!0}function ge(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y}function X(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y}function W(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y}function V(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const de=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=de,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function ie(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const de=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=de,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function J(Y){const de=this.sliceSerialize(Y),Se=this.stack[this.stack.length-2];Se.label=Y8(de),Se.identifier=ir(de).toLowerCase()}function he(){const Y=this.stack[this.stack.length-1],de=this.resume(),Se=this.stack[this.stack.length-1];if(this.data.inReference=!0,Se.type==="link"){const Oe=Y.children;Se.children=Oe}else Se.alt=de}function C(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.url=Y}function K(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.title=Y}function Q(){this.data.inReference=void 0}function I(){this.data.referenceType="collapsed"}function me(Y){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.label=de,Se.identifier=ir(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function ve(Y){this.data.characterReferenceType=Y.type}function Ce(Y){const de=this.sliceSerialize(Y),Se=this.data.characterReferenceType;let Oe;Se?(Oe=em(de,Se==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Oe=il(de);const We=this.stack[this.stack.length-1];We.value+=Oe}function He(Y){const de=this.stack.pop();de.position.end=zr(Y.end)}function Ze(Y){L.call(this,Y);const de=this.stack[this.stack.length-1];de.url=this.sliceSerialize(Y)}function qe(Y){L.call(this,Y);const de=this.stack[this.stack.length-1];de.url="mailto:"+this.sliceSerialize(Y)}function Be(){return{type:"blockquote",children:[]}}function pt(){return{type:"code",lang:null,meta:null,value:""}}function Tt(){return{type:"inlineCode",value:""}}function Dt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fr(){return{type:"emphasis",children:[]}}function on(){return{type:"heading",depth:0,children:[]}}function un(){return{type:"break"}}function ln(){return{type:"html",value:""}}function cn(){return{type:"image",title:null,url:"",alt:null}}function Br(){return{type:"link",title:null,url:"",children:[]}}function Te(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function Ke(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function Ye(){return{type:"paragraph",children:[]}}function ze(){return{type:"strong",children:[]}}function er(){return{type:"text",value:""}}function ur(){return{type:"thematicBreak"}}}function zr(e){return{line:e.line,column:e.column,offset:e.offset}}function fm(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?fm(e,n):X8(e,n)}}function X8(e,t){let r;for(r in t)if(cm.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 s1(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+za({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+za({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+za({start:t.start,end:t.end})+") is still open")}function K8(e){const t=this;t.parser=r;function r(n){return V8(n,it(se(se({},t.data("settings")),e),{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}}function Q8(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function J8(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
15
|
+
`;break}case-2:{s=t?" ":" ";break}case-1:{if(!t&&a)continue;s=" ";break}default:s=String.fromCharCode(i)}a=i===-2,n.push(s)}return n.join("")}function U8(e){const n={constructs:Zh([F8,...(e||{}).extensions||[]]),content:a(rb),defined:[],document:a(ab),flow:a(v8),lazy:{},string:a(S8),text:a(k8)};return n;function a(i){return s;function s(o){return B8(n,i,o)}}}function j8(e){for(;!am(e););return e}const i1=/[\0\t\n\r]/g;function $8(){let e=1,t="",r=!0,n;return a;function a(i,s,o){const u=[];let l,c,f,p,h;for(i=t+(typeof i=="string"?i.toString():new TextDecoder(s||void 0).decode(i)),f=0,t="",r&&(i.charCodeAt(0)===65279&&f++,r=void 0);f<i.length;){if(i1.lastIndex=f,l=i1.exec(i),p=l&&l.index!==void 0?l.index:i.length,h=i.charCodeAt(p),!l){t=i.slice(f);break}if(h===10&&f===p&&n)u.push(-3),n=void 0;else switch(n&&(u.push(-5),n=void 0),f<p&&(u.push(i.slice(f,p)),e+=p-f),h){case 0:{u.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,u.push(-2);e++<c;)u.push(-1);break}case 10:{u.push(-4),e=1;break}default:n=!0,e=1}f=p+1}return o&&(n&&u.push(-5),t&&u.push(t),u.push(null)),u}}const q8=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Y8(e){return e.replace(q8,W8)}function W8(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return em(r.slice(i?2:1),i?16:10)}return il(r)||e}const cm={}.hasOwnProperty;function V8(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),G8(r)(j8(U8(r).document().write($8()(e,t,!0))))}function G8(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(Br),autolinkProtocol:U,autolinkEmail:U,atxHeading:i(on),blockQuote:i(ze),characterEscape:U,characterReference:U,codeFenced:i(pt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(pt,s),codeText:i(Tt,s),codeTextData:U,data:U,codeFlowValue:U,definition:i(Dt),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(Fr),hardBreakEscape:i(un),hardBreakTrailing:i(un),htmlFlow:i(ln,s),htmlFlowData:U,htmlText:i(ln,s),htmlTextData:U,image:i(cn),label:s,link:i(Br),listItem:i(Ke),listItemValue:p,listOrdered:i(Te,f),listUnordered:i(Te),paragraph:i(Ye),reference:I,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(on),strong:i(Be),thematicBreak:i(ur)},exit:{atxHeading:u(),atxHeadingSequence:B,autolink:u(),autolinkEmail:qe,autolinkProtocol:Ze,blockQuote:u(),characterEscapeValue:L,characterReferenceMarkerHexadecimal:ve,characterReferenceMarkerNumeric:ve,characterReferenceValue:Ce,characterReference:He,codeFenced:u(E),codeFencedFence:y,codeFencedFenceInfo:h,codeFencedFenceMeta:b,codeFlowValue:L,codeIndented:u(T),codeText:u(W),codeTextData:L,data:L,definition:u(),definitionDestinationString:F,definitionLabelString:A,definitionTitleString:k,emphasis:u(),hardBreakEscape:u(te),hardBreakTrailing:u(te),htmlFlow:u(ge),htmlFlowData:L,htmlText:u(X),htmlTextData:L,image:u(se),label:he,labelText:J,lineEnding:$,link:u(V),listItem:u(),listOrdered:u(),listUnordered:u(),paragraph:u(),referenceString:me,resourceDestinationString:C,resourceTitleString:K,resource:Q,setextHeading:u(z),setextHeadingLineSequence:M,setextHeadingText:N,strong:u(),thematicBreak:u()}};fm(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(Y){let de={type:"root",children:[]};const Se={stack:[de],tokenStack:[],config:t,enter:o,exit:l,buffer:s,resume:c,data:r},Oe=[];let We=-1;for(;++We<Y.length;)if(Y[We][1].type==="listOrdered"||Y[We][1].type==="listUnordered")if(Y[We][0]==="enter")Oe.push(We);else{const tr=Oe.pop();We=a(Y,tr,We)}for(We=-1;++We<Y.length;){const tr=t[Y[We][0]];cm.call(tr,Y[We][1].type)&&tr[Y[We][1].type].call(Object.assign({sliceSerialize:Y[We][2].sliceSerialize},Se),Y[We][1])}if(Se.tokenStack.length>0){const tr=Se.tokenStack[Se.tokenStack.length-1];(tr[1]||s1).call(Se,void 0,tr[0])}for(de.position={start:zr(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:zr(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},We=-1;++We<t.transforms.length;)de=t.transforms[We](de)||de;return de}function a(Y,de,Se){let Oe=de-1,We=-1,tr=!1,fn,vr,Ta,va;for(;++Oe<=Se;){const Ht=Y[Oe];switch(Ht[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Ht[0]==="enter"?We++:We--,va=void 0;break}case"lineEndingBlank":{Ht[0]==="enter"&&(fn&&!va&&!We&&!Ta&&(Ta=Oe),va=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:va=void 0}if(!We&&Ht[0]==="enter"&&Ht[1].type==="listItemPrefix"||We===-1&&Ht[0]==="exit"&&(Ht[1].type==="listUnordered"||Ht[1].type==="listOrdered")){if(fn){let Mn=Oe;for(vr=void 0;Mn--;){const wr=Y[Mn];if(wr[1].type==="lineEnding"||wr[1].type==="lineEndingBlank"){if(wr[0]==="exit")continue;vr&&(Y[vr][1].type="lineEndingBlank",tr=!0),wr[1].type="lineEnding",vr=Mn}else if(!(wr[1].type==="linePrefix"||wr[1].type==="blockQuotePrefix"||wr[1].type==="blockQuotePrefixWhitespace"||wr[1].type==="blockQuoteMarker"||wr[1].type==="listItemIndent"))break}Ta&&(!vr||Ta<vr)&&(fn._spread=!0),fn.end=Object.assign({},vr?Y[vr][1].start:Ht[1].end),Y.splice(vr||Oe,0,["exit",fn,Ht[2]]),Oe++,Se++}if(Ht[1].type==="listItemPrefix"){const Mn={type:"listItem",_spread:!1,start:Object.assign({},Ht[1].start),end:void 0};fn=Mn,Y.splice(Oe,0,["enter",Mn,Ht[2]]),Oe++,Se++,Ta=void 0,va=!0}}}return Y[de][1]._spread=tr,Se}function i(Y,de){return Se;function Se(Oe){o.call(this,Y(Oe),Oe),de&&de.call(this,Oe)}}function s(){this.stack.push({type:"fragment",children:[]})}function o(Y,de,Se){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([de,Se||void 0]),Y.position={start:zr(de.start),end:void 0}}function u(Y){return de;function de(Se){Y&&Y.call(this,Se),l.call(this,Se)}}function l(Y,de){const Se=this.stack.pop(),Oe=this.tokenStack.pop();if(Oe)Oe[0].type!==Y.type&&(de?de.call(this,Y,Oe[0]):(Oe[1]||s1).call(this,Y,Oe[0]));else throw new Error("Cannot close `"+Y.type+"` ("+za({start:Y.start,end:Y.end})+"): it’s not open");Se.position.end=zr(Y.end)}function c(){return al(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(Y){if(this.data.expectingFirstListItemValue){const de=this.stack[this.stack.length-2];de.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function h(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.lang=Y}function b(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.meta=Y}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function E(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y.replace(/(\r?\n|\r)$/g,"")}function A(Y){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.label=de,Se.identifier=ir(this.sliceSerialize(Y)).toLowerCase()}function k(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.title=Y}function F(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.url=Y}function B(Y){const de=this.stack[this.stack.length-1];if(!de.depth){const Se=this.sliceSerialize(Y).length;de.depth=Se}}function N(){this.data.setextHeadingSlurpLineEnding=!0}function M(Y){const de=this.stack[this.stack.length-1];de.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function U(Y){const Se=this.stack[this.stack.length-1].children;let Oe=Se[Se.length-1];(!Oe||Oe.type!=="text")&&(Oe=Gt(),Oe.position={start:zr(Y.start),end:void 0},Se.push(Oe)),this.stack.push(Oe)}function L(Y){const de=this.stack.pop();de.value+=this.sliceSerialize(Y),de.position.end=zr(Y.end)}function $(Y){const de=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Se=de.children[de.children.length-1];Se.position.end=zr(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(de.type)&&(U.call(this,Y),L.call(this,Y))}function te(){this.data.atHardBreak=!0}function ge(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y}function X(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y}function W(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.value=Y}function V(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const de=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=de,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function se(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const de=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=de,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function J(Y){const de=this.sliceSerialize(Y),Se=this.stack[this.stack.length-2];Se.label=Y8(de),Se.identifier=ir(de).toLowerCase()}function he(){const Y=this.stack[this.stack.length-1],de=this.resume(),Se=this.stack[this.stack.length-1];if(this.data.inReference=!0,Se.type==="link"){const Oe=Y.children;Se.children=Oe}else Se.alt=de}function C(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.url=Y}function K(){const Y=this.resume(),de=this.stack[this.stack.length-1];de.title=Y}function Q(){this.data.inReference=void 0}function I(){this.data.referenceType="collapsed"}function me(Y){const de=this.resume(),Se=this.stack[this.stack.length-1];Se.label=de,Se.identifier=ir(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function ve(Y){this.data.characterReferenceType=Y.type}function Ce(Y){const de=this.sliceSerialize(Y),Se=this.data.characterReferenceType;let Oe;Se?(Oe=em(de,Se==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Oe=il(de);const We=this.stack[this.stack.length-1];We.value+=Oe}function He(Y){const de=this.stack.pop();de.position.end=zr(Y.end)}function Ze(Y){L.call(this,Y);const de=this.stack[this.stack.length-1];de.url=this.sliceSerialize(Y)}function qe(Y){L.call(this,Y);const de=this.stack[this.stack.length-1];de.url="mailto:"+this.sliceSerialize(Y)}function ze(){return{type:"blockquote",children:[]}}function pt(){return{type:"code",lang:null,meta:null,value:""}}function Tt(){return{type:"inlineCode",value:""}}function Dt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Fr(){return{type:"emphasis",children:[]}}function on(){return{type:"heading",depth:0,children:[]}}function un(){return{type:"break"}}function ln(){return{type:"html",value:""}}function cn(){return{type:"image",title:null,url:"",alt:null}}function Br(){return{type:"link",title:null,url:"",children:[]}}function Te(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function Ke(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function Ye(){return{type:"paragraph",children:[]}}function Be(){return{type:"strong",children:[]}}function Gt(){return{type:"text",value:""}}function ur(){return{type:"thematicBreak"}}}function zr(e){return{line:e.line,column:e.column,offset:e.offset}}function fm(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?fm(e,n):X8(e,n)}}function X8(e,t){let r;for(r in t)if(cm.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 s1(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+za({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+za({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+za({start:t.start,end:t.end})+") is still open")}function K8(e){const t=this;t.parser=r;function r(n){return V8(n,it(ae(ae({},t.data("settings")),e),{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}}function Q8(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function J8(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
16
16
|
`}]}function Z8(e,t){const r=t.value?t.value+`
|
|
17
17
|
`:"",n={},a=t.lang?t.lang.split(/\s+/):[];a.length>0&&(n.className=["language-"+a[0]]);let i={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(i.data={meta:t.meta}),e.patch(t,i),i=e.applyData(t,i),i={type:"element",tagName:"pre",properties:{},children:[i]},e.patch(t,i),i}function e7(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function t7(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function r7(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=ca(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let s,o=e.footnoteCounts.get(n);o===void 0?(o=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=i+1,o+=1,e.footnoteCounts.set(n,o);const u={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(o>1?"-"+o:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,u);const l={type:"element",tagName:"sup",properties:{},children:[u]};return e.patch(t,l),e.applyData(t,l)}function n7(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function a7(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function dm(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),i=a[0];i&&i.type==="text"?i.value="["+i.value:a.unshift({type:"text",value:"["});const s=a[a.length-1];return s&&s.type==="text"?s.value+=n:a.push({type:"text",value:n}),a}function i7(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return dm(e,t);const a={src:ca(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,i),e.applyData(t,i)}function s7(e,t){const r={src:ca(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function o7(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function u7(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return dm(e,t);const a={href:ca(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const i={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,i),e.applyData(t,i)}function l7(e,t){const r={href:ca(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function c7(e,t,r){const n=e.all(t),a=r?f7(r):hm(t),i={},s=[];if(typeof t.checked=="boolean"){const c=n[0];let f;c&&c.type==="element"&&c.tagName==="p"?f=c:(f={type:"element",tagName:"p",properties:{},children:[]},n.unshift(f)),f.children.length>0&&f.children.unshift({type:"text",value:" "}),f.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),i.className=["task-list-item"]}let o=-1;for(;++o<n.length;){const c=n[o];(a||o!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
|
|
18
18
|
`}),c.type==="element"&&c.tagName==="p"&&!a?s.push(...c.children):s.push(c)}const u=n[n.length-1];u&&(a||u.type!=="element"||u.tagName!=="p")&&s.push({type:"text",value:`
|
|
19
|
-
`});const l={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,l),e.applyData(t,l)}function f7(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=hm(r[n])}return t}function hm(e){const t=e.spread;return t==null?e.children.length>1:t}function d7(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const s=n[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function h7(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function m7(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function p7(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function g7(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),a.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=br(t.children[1]),u=Gs(t.children[t.children.length-1]);o&&u&&(s.position={start:o,end:u}),a.push(s)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function b7(e,t,r){const n=r?r.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,o=s?s.length:t.children.length;let u=-1;const l=[];for(;++u<o;){const f=t.children[u],p={},h=s?s[u]:void 0;h&&(p.align=h);let b={type:"element",tagName:i,properties:p,children:[]};f&&(b.children=e.all(f),e.patch(f,b),b=e.applyData(f,b)),l.push(b)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function y7(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const o1=9,u1=32;function x7(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(l1(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(l1(t.slice(a),a>0,!1)),i.join("")}function l1(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===o1||i===u1;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===o1||i===u1;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function E7(e,t){const r={type:"text",value:x7(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function T7(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const v7={blockquote:Q8,break:J8,code:Z8,delete:e7,emphasis:t7,footnoteReference:r7,heading:n7,html:a7,imageReference:i7,image:s7,inlineCode:o7,linkReference:u7,link:l7,listItem:c7,list:d7,paragraph:h7,root:m7,strong:p7,table:g7,tableCell:y7,tableRow:b7,text:E7,thematicBreak:T7,toml:Oi,yaml:Oi,definition:Oi,footnoteDefinition:Oi};function Oi(){}const mm=-1,Qs=0,Ua=1,ys=2,ol=3,ul=4,ll=5,cl=6,pm=7,gm=8,c1=typeof self=="object"?self:globalThis,w7=(e,t)=>{const r=(a,i)=>(e.set(i,a),a),n=a=>{if(e.has(a))return e.get(a);const[i,s]=t[a];switch(i){case Qs:case mm:return r(s,a);case Ua:{const o=r([],a);for(const u of s)o.push(n(u));return o}case ys:{const o=r({},a);for(const[u,l]of s)o[n(u)]=n(l);return o}case ol:return r(new Date(s),a);case ul:{const{source:o,flags:u}=s;return r(new RegExp(o,u),a)}case ll:{const o=r(new Map,a);for(const[u,l]of s)o.set(n(u),n(l));return o}case cl:{const o=r(new Set,a);for(const u of s)o.add(n(u));return o}case pm:{const{name:o,message:u}=s;return r(new c1[o](u),a)}case gm:return r(BigInt(s),a);case"BigInt":return r(Object(BigInt(s)),a);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:o}=new Uint8Array(s);return r(new DataView(o),s)}}return r(new c1[i](s),a)};return n},f1=e=>w7(new Map,e)(0),Hn="",{toString:A7}={},{keys:S7}=Object,Ca=e=>{const t=typeof e;if(t!=="object"||!e)return[Qs,t];const r=A7.call(e).slice(8,-1);switch(r){case"Array":return[Ua,Hn];case"Object":return[ys,Hn];case"Date":return[ol,Hn];case"RegExp":return[ul,Hn];case"Map":return[ll,Hn];case"Set":return[cl,Hn];case"DataView":return[Ua,r]}return r.includes("Array")?[Ua,r]:r.includes("Error")?[pm,r]:[ys,r]},Ri=([e,t])=>e===Qs&&(t==="function"||t==="symbol"),k7=(e,t,r,n)=>{const a=(s,o)=>{const u=n.push(s)-1;return r.set(o,u),u},i=s=>{if(r.has(s))return r.get(s);let[o,u]=Ca(s);switch(o){case Qs:{let c=s;switch(u){case"bigint":o=gm,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return a([mm],s)}return a([o,c],s)}case Ua:{if(u){let p=s;return u==="DataView"?p=new Uint8Array(s.buffer):u==="ArrayBuffer"&&(p=new Uint8Array(s)),a([u,[...p]],s)}const c=[],f=a([o,c],s);for(const p of s)c.push(i(p));return f}case ys:{if(u)switch(u){case"BigInt":return a([u,s.toString()],s);case"Boolean":case"Number":case"String":return a([u,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const c=[],f=a([o,c],s);for(const p of S7(s))(e||!Ri(Ca(s[p])))&&c.push([i(p),i(s[p])]);return f}case ol:return a([o,s.toISOString()],s);case ul:{const{source:c,flags:f}=s;return a([o,{source:c,flags:f}],s)}case ll:{const c=[],f=a([o,c],s);for(const[p,h]of s)(e||!(Ri(Ca(p))||Ri(Ca(h))))&&c.push([i(p),i(h)]);return f}case cl:{const c=[],f=a([o,c],s);for(const p of s)(e||!Ri(Ca(p)))&&c.push(i(p));return f}}const{message:l}=s;return a([o,{name:u,message:l}],s)};return i},d1=(e,{json:t,lossy:r}={})=>{const n=[];return k7(!(t||r),!!t,new Map,n)(e),n},Zn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?f1(d1(e,t)):structuredClone(e):(e,t)=>f1(d1(e,t));function C7(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function I7(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function _7(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||C7,n=e.options.footnoteBackLabel||I7,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let u=-1;for(;++u<e.footnoteOrder.length;){const l=e.footnoteById.get(e.footnoteOrder[u]);if(!l)continue;const c=e.all(l),f=String(l.identifier).toUpperCase(),p=ca(f.toLowerCase());let h=0;const b=[],y=e.footnoteCounts.get(f);for(;y!==void 0&&++h<=y;){b.length>0&&b.push({type:"text",value:" "});let A=typeof r=="string"?r:r(u,h);typeof A=="string"&&(A={type:"text",value:A}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(u,h),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const E=c[c.length-1];if(E&&E.type==="element"&&E.tagName==="p"){const A=E.children[E.children.length-1];A&&A.type==="text"?A.value+=" ":E.children.push({type:"text",value:" "}),E.children.push(...b)}else c.push(...b);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(l,T),o.push(T)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:it(
|
|
19
|
+
`});const l={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,l),e.applyData(t,l)}function f7(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=hm(r[n])}return t}function hm(e){const t=e.spread;return t==null?e.children.length>1:t}function d7(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const s=n[a];if(s.type==="element"&&s.tagName==="li"&&s.properties&&Array.isArray(s.properties.className)&&s.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const i={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,i),e.applyData(t,i)}function h7(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function m7(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function p7(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function g7(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const s={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],s),a.push(s)}if(r.length>0){const s={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},o=br(t.children[1]),u=Gs(t.children[t.children.length-1]);o&&u&&(s.position={start:o,end:u}),a.push(s)}const i={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,i),e.applyData(t,i)}function b7(e,t,r){const n=r?r.children:void 0,i=(n?n.indexOf(t):1)===0?"th":"td",s=r&&r.type==="table"?r.align:void 0,o=s?s.length:t.children.length;let u=-1;const l=[];for(;++u<o;){const f=t.children[u],p={},h=s?s[u]:void 0;h&&(p.align=h);let b={type:"element",tagName:i,properties:p,children:[]};f&&(b.children=e.all(f),e.patch(f,b),b=e.applyData(f,b)),l.push(b)}const c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)}function y7(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const o1=9,u1=32;function x7(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(l1(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(l1(t.slice(a),a>0,!1)),i.join("")}function l1(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===o1||i===u1;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===o1||i===u1;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function E7(e,t){const r={type:"text",value:x7(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function T7(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const v7={blockquote:Q8,break:J8,code:Z8,delete:e7,emphasis:t7,footnoteReference:r7,heading:n7,html:a7,imageReference:i7,image:s7,inlineCode:o7,linkReference:u7,link:l7,listItem:c7,list:d7,paragraph:h7,root:m7,strong:p7,table:g7,tableCell:y7,tableRow:b7,text:E7,thematicBreak:T7,toml:Oi,yaml:Oi,definition:Oi,footnoteDefinition:Oi};function Oi(){}const mm=-1,Qs=0,Ua=1,ys=2,ol=3,ul=4,ll=5,cl=6,pm=7,gm=8,c1=typeof self=="object"?self:globalThis,w7=(e,t)=>{const r=(a,i)=>(e.set(i,a),a),n=a=>{if(e.has(a))return e.get(a);const[i,s]=t[a];switch(i){case Qs:case mm:return r(s,a);case Ua:{const o=r([],a);for(const u of s)o.push(n(u));return o}case ys:{const o=r({},a);for(const[u,l]of s)o[n(u)]=n(l);return o}case ol:return r(new Date(s),a);case ul:{const{source:o,flags:u}=s;return r(new RegExp(o,u),a)}case ll:{const o=r(new Map,a);for(const[u,l]of s)o.set(n(u),n(l));return o}case cl:{const o=r(new Set,a);for(const u of s)o.add(n(u));return o}case pm:{const{name:o,message:u}=s;return r(new c1[o](u),a)}case gm:return r(BigInt(s),a);case"BigInt":return r(Object(BigInt(s)),a);case"ArrayBuffer":return r(new Uint8Array(s).buffer,s);case"DataView":{const{buffer:o}=new Uint8Array(s);return r(new DataView(o),s)}}return r(new c1[i](s),a)};return n},f1=e=>w7(new Map,e)(0),Hn="",{toString:A7}={},{keys:S7}=Object,Ca=e=>{const t=typeof e;if(t!=="object"||!e)return[Qs,t];const r=A7.call(e).slice(8,-1);switch(r){case"Array":return[Ua,Hn];case"Object":return[ys,Hn];case"Date":return[ol,Hn];case"RegExp":return[ul,Hn];case"Map":return[ll,Hn];case"Set":return[cl,Hn];case"DataView":return[Ua,r]}return r.includes("Array")?[Ua,r]:r.includes("Error")?[pm,r]:[ys,r]},Ri=([e,t])=>e===Qs&&(t==="function"||t==="symbol"),k7=(e,t,r,n)=>{const a=(s,o)=>{const u=n.push(s)-1;return r.set(o,u),u},i=s=>{if(r.has(s))return r.get(s);let[o,u]=Ca(s);switch(o){case Qs:{let c=s;switch(u){case"bigint":o=gm,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+u);c=null;break;case"undefined":return a([mm],s)}return a([o,c],s)}case Ua:{if(u){let p=s;return u==="DataView"?p=new Uint8Array(s.buffer):u==="ArrayBuffer"&&(p=new Uint8Array(s)),a([u,[...p]],s)}const c=[],f=a([o,c],s);for(const p of s)c.push(i(p));return f}case ys:{if(u)switch(u){case"BigInt":return a([u,s.toString()],s);case"Boolean":case"Number":case"String":return a([u,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const c=[],f=a([o,c],s);for(const p of S7(s))(e||!Ri(Ca(s[p])))&&c.push([i(p),i(s[p])]);return f}case ol:return a([o,s.toISOString()],s);case ul:{const{source:c,flags:f}=s;return a([o,{source:c,flags:f}],s)}case ll:{const c=[],f=a([o,c],s);for(const[p,h]of s)(e||!(Ri(Ca(p))||Ri(Ca(h))))&&c.push([i(p),i(h)]);return f}case cl:{const c=[],f=a([o,c],s);for(const p of s)(e||!Ri(Ca(p)))&&c.push(i(p));return f}}const{message:l}=s;return a([o,{name:u,message:l}],s)};return i},d1=(e,{json:t,lossy:r}={})=>{const n=[];return k7(!(t||r),!!t,new Map,n)(e),n},Zn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?f1(d1(e,t)):structuredClone(e):(e,t)=>f1(d1(e,t));function C7(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function I7(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function _7(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||C7,n=e.options.footnoteBackLabel||I7,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},o=[];let u=-1;for(;++u<e.footnoteOrder.length;){const l=e.footnoteById.get(e.footnoteOrder[u]);if(!l)continue;const c=e.all(l),f=String(l.identifier).toUpperCase(),p=ca(f.toLowerCase());let h=0;const b=[],y=e.footnoteCounts.get(f);for(;y!==void 0&&++h<=y;){b.length>0&&b.push({type:"text",value:" "});let A=typeof r=="string"?r:r(u,h);typeof A=="string"&&(A={type:"text",value:A}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(h>1?"-"+h:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(u,h),className:["data-footnote-backref"]},children:Array.isArray(A)?A:[A]})}const E=c[c.length-1];if(E&&E.type==="element"&&E.tagName==="p"){const A=E.children[E.children.length-1];A&&A.type==="text"?A.value+=" ":E.children.push({type:"text",value:" "}),E.children.push(...b)}else c.push(...b);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(l,T),o.push(T)}if(o.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:it(ae({},Zn(s)),{id:"footnote-label"}),children:[{type:"text",value:a}]},{type:"text",value:`
|
|
20
20
|
`},{type:"element",tagName:"ol",properties:{},children:e.wrap(o,!0)},{type:"text",value:`
|
|
21
|
-
`}]}}const bi=function(e){if(e==null)return D7;if(typeof e=="function")return Js(e);if(typeof e=="object")return Array.isArray(e)?N7(e):O7(e);if(typeof e=="string")return R7(e);throw new Error("Expected function, string, or object as test")};function N7(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=bi(e[r]);return Js(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function O7(e){const t=e;return Js(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function R7(e){return Js(t);function t(r){return r&&r.type===e}}function Js(e){return t;function t(r,n,a){return!!(L7(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function D7(){return!0}function L7(e){return e!==null&&typeof e=="object"&&"type"in e}const bm=[],M7=!0,Xo=!1,ym="skip";function fl(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=bi(a),s=n?-1:1;o(e,void 0,[])();function o(u,l,c){const f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(u.type+(h?"<"+h+">":""))+")"})}return p;function p(){let h=bm,b,y,E;if((!t||i(u,l,c[c.length-1]||void 0))&&(h=P7(r(u,c)),h[0]===Xo))return h;if("children"in u&&u.children){const T=u;if(T.children&&h[0]!==ym)for(y=(n?T.children.length:-1)+s,E=c.concat(T);y>-1&&y<T.children.length;){const A=T.children[y];if(b=o(A,y,E)(),b[0]===Xo)return b;y=typeof b[1]=="number"?b[1]:y+s}}return h}}}function P7(e){return Array.isArray(e)?e:typeof e=="number"?[M7,e]:e==null?bm:[e]}function Zs(e,t,r,n){let a,i,s;typeof t=="function"&&typeof r!="function"?(i=void 0,s=t,a=r):(i=t,s=r,a=n),fl(e,i,o,a);function o(u,l){const c=l[l.length-1],f=c?c.children.indexOf(u):void 0;return s(u,f,c)}}const Ko={}.hasOwnProperty,F7={};function B7(e,t){const r=t||F7,n=new Map,a=new Map,i=new Map,s=
|
|
21
|
+
`}]}}const bi=function(e){if(e==null)return D7;if(typeof e=="function")return Js(e);if(typeof e=="object")return Array.isArray(e)?N7(e):O7(e);if(typeof e=="string")return R7(e);throw new Error("Expected function, string, or object as test")};function N7(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=bi(e[r]);return Js(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function O7(e){const t=e;return Js(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function R7(e){return Js(t);function t(r){return r&&r.type===e}}function Js(e){return t;function t(r,n,a){return!!(L7(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function D7(){return!0}function L7(e){return e!==null&&typeof e=="object"&&"type"in e}const bm=[],M7=!0,Xo=!1,ym="skip";function fl(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=bi(a),s=n?-1:1;o(e,void 0,[])();function o(u,l,c){const f=u&&typeof u=="object"?u:{};if(typeof f.type=="string"){const h=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(u.type+(h?"<"+h+">":""))+")"})}return p;function p(){let h=bm,b,y,E;if((!t||i(u,l,c[c.length-1]||void 0))&&(h=P7(r(u,c)),h[0]===Xo))return h;if("children"in u&&u.children){const T=u;if(T.children&&h[0]!==ym)for(y=(n?T.children.length:-1)+s,E=c.concat(T);y>-1&&y<T.children.length;){const A=T.children[y];if(b=o(A,y,E)(),b[0]===Xo)return b;y=typeof b[1]=="number"?b[1]:y+s}}return h}}}function P7(e){return Array.isArray(e)?e:typeof e=="number"?[M7,e]:e==null?bm:[e]}function Zs(e,t,r,n){let a,i,s;typeof t=="function"&&typeof r!="function"?(i=void 0,s=t,a=r):(i=t,s=r,a=n),fl(e,i,o,a);function o(u,l){const c=l[l.length-1],f=c?c.children.indexOf(u):void 0;return s(u,f,c)}}const Ko={}.hasOwnProperty,F7={};function B7(e,t){const r=t||F7,n=new Map,a=new Map,i=new Map,s=ae(ae({},v7),r.handlers),o={all:l,applyData:H7,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:u,options:r,patch:z7,wrap:j7};return Zs(e,function(c){if(c.type==="definition"||c.type==="footnoteDefinition"){const f=c.type==="definition"?n:a,p=String(c.identifier).toUpperCase();f.has(p)||f.set(p,c)}}),o;function u(c,f){const p=c.type,h=o.handlers[p];if(Ko.call(o.handlers,p)&&h)return h(o,c,f);if(o.options.passThrough&&o.options.passThrough.includes(p)){if("children"in c){const y=c,{children:E}=y,T=Ci(y,["children"]),A=Zn(T);return A.children=o.all(c),A}return Zn(c)}return(o.options.unknownHandler||U7)(o,c,f)}function l(c){const f=[];if("children"in c){const p=c.children;let h=-1;for(;++h<p.length;){const b=o.one(p[h],c);if(b){if(h&&p[h-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=h1(b.value)),!Array.isArray(b)&&b.type==="element")){const y=b.children[0];y&&y.type==="text"&&(y.value=h1(y.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}return f}}function z7(e,t){e.position&&(t.position=Ig(e))}function H7(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,i=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const s="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:s}}r.type==="element"&&i&&Object.assign(r.properties,Zn(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function U7(e,t){const r=t.data||{},n="value"in t&&!(Ko.call(r,"hProperties")||Ko.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function j7(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
|
|
22
22
|
`});++n<e.length;)n&&r.push({type:"text",value:`
|
|
23
23
|
`}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
|
|
24
24
|
`}),r}function h1(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function m1(e,t){const r=B7(e,t),n=r.one(e,void 0),a=_7(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
|
|
25
|
-
`},a),i}function $7(e,t){return e&&"run"in e?function(r,n){return Fe(this,null,function*(){const a=m1(r,se({file:n},t));yield e.run(a,n)})}:function(r,n){return m1(r,se({file:n},e||t))}}function p1(e){if(e)throw e}var is=Object.prototype.hasOwnProperty,xm=Object.prototype.toString,g1=Object.defineProperty,b1=Object.getOwnPropertyDescriptor,y1=function(t){return typeof Array.isArray=="function"?Array.isArray(t):xm.call(t)==="[object Array]"},x1=function(t){if(!t||xm.call(t)!=="[object Object]")return!1;var r=is.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&is.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var a;for(a in t);return typeof a=="undefined"||is.call(t,a)},E1=function(t,r){g1&&r.name==="__proto__"?g1(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},T1=function(t,r){if(r==="__proto__")if(is.call(t,r)){if(b1)return b1(t,r).value}else return;return t[r]},q7=function e(){var t,r,n,a,i,s,o=arguments[0],u=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},u=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});u<l;++u)if(t=arguments[u],t!=null)for(r in t)n=T1(o,r),a=T1(t,r),o!==a&&(c&&a&&(x1(a)||(i=y1(a)))?(i?(i=!1,s=n&&y1(n)?n:[]):s=n&&x1(n)?n:{},E1(o,{name:r,newValue:e(c,s,a)})):typeof a!="undefined"&&E1(o,{name:r,newValue:a}));return o};const j0=Ws(q7);function Qo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Y7(){const e=[],t={run:r,use:n};return t;function r(...a){let i=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...a);function o(u,...l){const c=e[++i];let f=-1;if(u){s(u);return}for(;++f<a.length;)(l[f]===null||l[f]===void 0)&&(l[f]=a[f]);a=l,c?W7(c,o)(...l):s(null,...l)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function W7(e,t){let r;return n;function n(...s){const o=e.length>s.length;let u;o&&s.push(a);try{u=e.apply(this,s)}catch(l){const c=l;if(o&&r)throw c;return a(c)}o||(u&&u.then&&typeof u.then=="function"?u.then(i,a):u instanceof Error?a(u):i(u))}function a(s,...o){r||(r=!0,t(s,...o))}function i(s){a(null,s)}}const lr={basename:V7,dirname:G7,extname:X7,join:K7,sep:"/"};function V7(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');yi(e);let r=0,n=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else s<0&&(i=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(n=a):(o=-1,n=s));return r===n?n=s:n<0&&(n=e.length),e.slice(r,n)}function G7(e){if(yi(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function X7(e){yi(e);let t=e.length,r=-1,n=0,a=-1,i=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){n=t+1;break}continue}r<0&&(s=!0,r=t+1),o===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function K7(...e){let t=-1,r;for(;++t<e.length;)yi(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Q7(r)}function Q7(e){yi(e);const t=e.codePointAt(0)===47;let r=J7(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function J7(e,t){let r="",n=0,a=-1,i=0,s=-1,o,u;for(;++s<=e.length;){if(s<e.length)o=e.codePointAt(s);else{if(o===47)break;o=47}if(o===47){if(!(a===s-1||i===1))if(a!==s-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(u=r.lastIndexOf("/"),u!==r.length-1){u<0?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),a=s,i=0;continue}}else if(r.length>0){r="",n=0,a=s,i=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),n=s-a-1;a=s,i=0}else o===46&&i>-1?i++:i=-1}return r}function yi(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Z7={cwd:e9};function e9(){return"/"}function Jo(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function t9(e){if(typeof e=="string")e=new URL(e);else if(!Jo(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return r9(e)}function r9(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const $0=["history","path","basename","stem","extname","dirname"];class Em{constructor(t){let r;t?Jo(t)?r={path:t}:typeof t=="string"||n9(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Z7.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<$0.length;){const i=$0[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)$0.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?lr.basename(this.path):void 0}set basename(t){Y0(t,"basename"),q0(t,"basename"),this.path=lr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?lr.dirname(this.path):void 0}set dirname(t){v1(this.basename,"dirname"),this.path=lr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?lr.extname(this.path):void 0}set extname(t){if(q0(t,"extname"),v1(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=lr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Jo(t)&&(t=t9(t)),Y0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?lr.basename(this.path,this.extname):void 0}set stem(t){Y0(t,"stem"),q0(t,"stem"),this.path=lr.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new kt(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function q0(e,t){if(e&&e.includes(lr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+lr.sep+"`")}function Y0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function v1(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function n9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const a9=function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},i9={}.hasOwnProperty;class dl extends a9{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Y7()}copy(){const t=new dl;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(j0(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(G0("data",this.frozen),this.namespace[t]=r,this):i9.call(this.namespace,t)&&this.namespace[t]||void 0:t?(G0("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Di(t),n=this.parser||this.Parser;return W0("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),W0("process",this.parser||this.Parser),V0("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const o=Di(t),u=n.parse(o);n.run(u,o,function(c,f,p){if(c||!f||!p)return l(c);const h=f,b=n.stringify(h,p);u9(b)?p.value=b:p.result=b,l(c,p)});function l(c,f){c||!f?s(c):i?i(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),W0("processSync",this.parser||this.Parser),V0("processSync",this.compiler||this.Compiler),this.process(t,a),A1("processSync","process",r),n;function a(i,s){r=!0,p1(i),n=s}}run(t,r,n){w1(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(s,o){const u=Di(r);a.run(t,u,l);function l(c,f,p){const h=f||t;c?o(c):s?s(h):n(void 0,h,p)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),A1("runSync","run",n),a;function i(s,o){p1(s),a=o,n=!0}}stringify(t,r){this.freeze();const n=Di(r),a=this.compiler||this.Compiler;return V0("stringify",a),w1(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(G0("use",this.frozen),t!=null)if(typeof t=="function")u(t,r);else if(typeof t=="object")Array.isArray(t)?o(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(l){if(typeof l=="function")u(l,[]);else if(typeof l=="object")if(Array.isArray(l)){const[c,...f]=l;u(c,f)}else s(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function s(l){if(!("plugins"in l)&&!("settings"in l))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(l.plugins),l.settings&&(a.settings=j0(!0,a.settings,l.settings))}function o(l){let c=-1;if(l!=null)if(Array.isArray(l))for(;++c<l.length;){const f=l[c];i(f)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function u(l,c){let f=-1,p=-1;for(;++f<n.length;)if(n[f][0]===l){p=f;break}if(p===-1)n.push([l,...c]);else if(c.length>0){let[h,...b]=c;const y=n[p][1];Qo(y)&&Qo(h)&&(h=j0(!0,y,h)),n[p]=[l,h,...b]}}}}const s9=new dl().freeze();function W0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function V0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function G0(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function w1(e){if(!Qo(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function A1(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Di(e){return o9(e)?e:new Em(e)}function o9(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function u9(e){return typeof e=="string"||l9(e)}function l9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const c9="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",S1=[],k1={allowDangerousHtml:!0},f9=/^(https?|ircs?|mailto|xmpp)$/i,d9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function h9(e){const t=m9(e),r=p9(e);return g9(t.runSync(t.parse(r),r),e)}function m9(e){const t=e.rehypePlugins||S1,r=e.remarkPlugins||S1,n=e.remarkRehypeOptions?se(se({},e.remarkRehypeOptions),k1):k1;return s9().use(K8).use(r).use($7,n).use(t)}function p9(e){const t=e.children||"",r=new Em;return typeof t=="string"&&(r.value=t),r}function g9(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,s=t.skipHtml,o=t.unwrapDisallowed,u=t.urlTransform||b9;for(const c of d9)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+c9+c.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Zs(e,l),Dg(e,{Fragment:w.Fragment,components:a,ignoreInvalidStyle:!0,jsx:w.jsx,jsxs:w.jsxs,passKeys:!0,passNode:!0});function l(c,f,p){if(c.type==="raw"&&p&&typeof f=="number")return s?p.children.splice(f,1):p.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let h;for(h in z0)if(Object.hasOwn(z0,h)&&Object.hasOwn(c.properties,h)){const b=c.properties[h],y=z0[h];(y===null||y.includes(c.tagName))&&(c.properties[h]=u(String(b||""),h,c))}}if(c.type==="element"){let h=r?!r.includes(c.tagName):i?i.includes(c.tagName):!1;if(!h&&n&&typeof f=="number"&&(h=!n(c,f,p)),h&&p&&typeof f=="number")return o&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function b9(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||f9.test(e.slice(0,t))?e:""}function Tm(e,t){const r=String(e);let n=r.indexOf(t),a=n,i=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>s&&(s=i):i=1,a=n+t.length,n=r.indexOf(t,a);return s}function y9(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(u){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},u)}function t(){this.buffer()}function r(){const u=this.resume(),l=this.stack[this.stack.length-1];l.type,l.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(u){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=l;const f=c.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function i(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function s(u){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=l,c.data.hChildren.push({type:"text",value:l})}function o(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function x9(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
26
|
-
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,s,o,u){const l=i.value||"",c=o.createTracker(u),f="$".repeat(Math.max(Tm(l,"$")+1,2)),p=o.enter("mathFlow");let h=c.move(f);if(i.meta){const b=o.enter("mathFlowMeta");h+=c.move(o.safe(i.meta,
|
|
25
|
+
`},a),i}function $7(e,t){return e&&"run"in e?function(r,n){return Pe(this,null,function*(){const a=m1(r,ae({file:n},t));yield e.run(a,n)})}:function(r,n){return m1(r,ae({file:n},e||t))}}function p1(e){if(e)throw e}var is=Object.prototype.hasOwnProperty,xm=Object.prototype.toString,g1=Object.defineProperty,b1=Object.getOwnPropertyDescriptor,y1=function(t){return typeof Array.isArray=="function"?Array.isArray(t):xm.call(t)==="[object Array]"},x1=function(t){if(!t||xm.call(t)!=="[object Object]")return!1;var r=is.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&is.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var a;for(a in t);return typeof a=="undefined"||is.call(t,a)},E1=function(t,r){g1&&r.name==="__proto__"?g1(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},T1=function(t,r){if(r==="__proto__")if(is.call(t,r)){if(b1)return b1(t,r).value}else return;return t[r]},q7=function e(){var t,r,n,a,i,s,o=arguments[0],u=1,l=arguments.length,c=!1;for(typeof o=="boolean"&&(c=o,o=arguments[1]||{},u=2),(o==null||typeof o!="object"&&typeof o!="function")&&(o={});u<l;++u)if(t=arguments[u],t!=null)for(r in t)n=T1(o,r),a=T1(t,r),o!==a&&(c&&a&&(x1(a)||(i=y1(a)))?(i?(i=!1,s=n&&y1(n)?n:[]):s=n&&x1(n)?n:{},E1(o,{name:r,newValue:e(c,s,a)})):typeof a!="undefined"&&E1(o,{name:r,newValue:a}));return o};const j0=Ws(q7);function Qo(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Y7(){const e=[],t={run:r,use:n};return t;function r(...a){let i=-1;const s=a.pop();if(typeof s!="function")throw new TypeError("Expected function as last argument, not "+s);o(null,...a);function o(u,...l){const c=e[++i];let f=-1;if(u){s(u);return}for(;++f<a.length;)(l[f]===null||l[f]===void 0)&&(l[f]=a[f]);a=l,c?W7(c,o)(...l):s(null,...l)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function W7(e,t){let r;return n;function n(...s){const o=e.length>s.length;let u;o&&s.push(a);try{u=e.apply(this,s)}catch(l){const c=l;if(o&&r)throw c;return a(c)}o||(u&&u.then&&typeof u.then=="function"?u.then(i,a):u instanceof Error?a(u):i(u))}function a(s,...o){r||(r=!0,t(s,...o))}function i(s){a(null,s)}}const lr={basename:V7,dirname:G7,extname:X7,join:K7,sep:"/"};function V7(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');yi(e);let r=0,n=-1,a=e.length,i;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else n<0&&(i=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let s=-1,o=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else s<0&&(i=!0,s=a+1),o>-1&&(e.codePointAt(a)===t.codePointAt(o--)?o<0&&(n=a):(o=-1,n=s));return r===n?n=s:n<0&&(n=e.length),e.slice(r,n)}function G7(e){if(yi(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function X7(e){yi(e);let t=e.length,r=-1,n=0,a=-1,i=0,s;for(;t--;){const o=e.codePointAt(t);if(o===47){if(s){n=t+1;break}continue}r<0&&(s=!0,r=t+1),o===46?a<0?a=t:i!==1&&(i=1):a>-1&&(i=-1)}return a<0||r<0||i===0||i===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function K7(...e){let t=-1,r;for(;++t<e.length;)yi(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":Q7(r)}function Q7(e){yi(e);const t=e.codePointAt(0)===47;let r=J7(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function J7(e,t){let r="",n=0,a=-1,i=0,s=-1,o,u;for(;++s<=e.length;){if(s<e.length)o=e.codePointAt(s);else{if(o===47)break;o=47}if(o===47){if(!(a===s-1||i===1))if(a!==s-1&&i===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(u=r.lastIndexOf("/"),u!==r.length-1){u<0?(r="",n=0):(r=r.slice(0,u),n=r.length-1-r.lastIndexOf("/")),a=s,i=0;continue}}else if(r.length>0){r="",n=0,a=s,i=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),n=s-a-1;a=s,i=0}else o===46&&i>-1?i++:i=-1}return r}function yi(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const Z7={cwd:e9};function e9(){return"/"}function Jo(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function t9(e){if(typeof e=="string")e=new URL(e);else if(!Jo(e)){const t=new TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return r9(e)}function r9(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const $0=["history","path","basename","stem","extname","dirname"];class Em{constructor(t){let r;t?Jo(t)?r={path:t}:typeof t=="string"||n9(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":Z7.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<$0.length;){const i=$0[n];i in r&&r[i]!==void 0&&r[i]!==null&&(this[i]=i==="history"?[...r[i]]:r[i])}let a;for(a in r)$0.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?lr.basename(this.path):void 0}set basename(t){Y0(t,"basename"),q0(t,"basename"),this.path=lr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?lr.dirname(this.path):void 0}set dirname(t){v1(this.basename,"dirname"),this.path=lr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?lr.extname(this.path):void 0}set extname(t){if(q0(t,"extname"),v1(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=lr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Jo(t)&&(t=t9(t)),Y0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?lr.basename(this.path,this.extname):void 0}set stem(t){Y0(t,"stem"),q0(t,"stem"),this.path=lr.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new kt(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function q0(e,t){if(e&&e.includes(lr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+lr.sep+"`")}function Y0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function v1(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function n9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const a9=function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},i9={}.hasOwnProperty;class dl extends a9{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=Y7()}copy(){const t=new dl;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(j0(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(G0("data",this.frozen),this.namespace[t]=r,this):i9.call(this.namespace,t)&&this.namespace[t]||void 0:t?(G0("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Di(t),n=this.parser||this.Parser;return W0("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),W0("process",this.parser||this.Parser),V0("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const o=Di(t),u=n.parse(o);n.run(u,o,function(c,f,p){if(c||!f||!p)return l(c);const h=f,b=n.stringify(h,p);u9(b)?p.value=b:p.result=b,l(c,p)});function l(c,f){c||!f?s(c):i?i(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),W0("processSync",this.parser||this.Parser),V0("processSync",this.compiler||this.Compiler),this.process(t,a),A1("processSync","process",r),n;function a(i,s){r=!0,p1(i),n=s}}run(t,r,n){w1(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?i(void 0,n):new Promise(i);function i(s,o){const u=Di(r);a.run(t,u,l);function l(c,f,p){const h=f||t;c?o(c):s?s(h):n(void 0,h,p)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),A1("runSync","run",n),a;function i(s,o){p1(s),a=o,n=!0}}stringify(t,r){this.freeze();const n=Di(r),a=this.compiler||this.Compiler;return V0("stringify",a),w1(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(G0("use",this.frozen),t!=null)if(typeof t=="function")u(t,r);else if(typeof t=="object")Array.isArray(t)?o(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(l){if(typeof l=="function")u(l,[]);else if(typeof l=="object")if(Array.isArray(l)){const[c,...f]=l;u(c,f)}else s(l);else throw new TypeError("Expected usable value, not `"+l+"`")}function s(l){if(!("plugins"in l)&&!("settings"in l))throw new Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(l.plugins),l.settings&&(a.settings=j0(!0,a.settings,l.settings))}function o(l){let c=-1;if(l!=null)if(Array.isArray(l))for(;++c<l.length;){const f=l[c];i(f)}else throw new TypeError("Expected a list of plugins, not `"+l+"`")}function u(l,c){let f=-1,p=-1;for(;++f<n.length;)if(n[f][0]===l){p=f;break}if(p===-1)n.push([l,...c]);else if(c.length>0){let[h,...b]=c;const y=n[p][1];Qo(y)&&Qo(h)&&(h=j0(!0,y,h)),n[p]=[l,h,...b]}}}}const s9=new dl().freeze();function W0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function V0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function G0(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function w1(e){if(!Qo(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function A1(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Di(e){return o9(e)?e:new Em(e)}function o9(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function u9(e){return typeof e=="string"||l9(e)}function l9(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const c9="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",S1=[],k1={allowDangerousHtml:!0},f9=/^(https?|ircs?|mailto|xmpp)$/i,d9=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function h9(e){const t=m9(e),r=p9(e);return g9(t.runSync(t.parse(r),r),e)}function m9(e){const t=e.rehypePlugins||S1,r=e.remarkPlugins||S1,n=e.remarkRehypeOptions?ae(ae({},e.remarkRehypeOptions),k1):k1;return s9().use(K8).use(r).use($7,n).use(t)}function p9(e){const t=e.children||"",r=new Em;return typeof t=="string"&&(r.value=t),r}function g9(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,s=t.skipHtml,o=t.unwrapDisallowed,u=t.urlTransform||b9;for(const c of d9)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+c9+c.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Zs(e,l),Dg(e,{Fragment:w.Fragment,components:a,ignoreInvalidStyle:!0,jsx:w.jsx,jsxs:w.jsxs,passKeys:!0,passNode:!0});function l(c,f,p){if(c.type==="raw"&&p&&typeof f=="number")return s?p.children.splice(f,1):p.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let h;for(h in z0)if(Object.hasOwn(z0,h)&&Object.hasOwn(c.properties,h)){const b=c.properties[h],y=z0[h];(y===null||y.includes(c.tagName))&&(c.properties[h]=u(String(b||""),h,c))}}if(c.type==="element"){let h=r?!r.includes(c.tagName):i?i.includes(c.tagName):!1;if(!h&&n&&typeof f=="number"&&(h=!n(c,f,p)),h&&p&&typeof f=="number")return o&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function b9(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||f9.test(e.slice(0,t))?e:""}function Tm(e,t){const r=String(e);let n=r.indexOf(t),a=n,i=0,s=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++i>s&&(s=i):i=1,a=n+t.length,n=r.indexOf(t,a);return s}function y9(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:o,mathText:s,mathTextData:o}};function e(u){const l={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[l]}},u)}function t(){this.buffer()}function r(){const u=this.resume(),l=this.stack[this.stack.length-1];l.type,l.meta=u}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(u){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=l;const f=c.data.hChildren[0];f.type,f.tagName,f.children.push({type:"text",value:l}),this.data.mathFlowInside=void 0}function i(u){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},u),this.buffer()}function s(u){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(u),c.value=l,c.data.hChildren.push({type:"text",value:l})}function o(u){this.config.enter.data.call(this,u),this.config.exit.data.call(this,u)}}function x9(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
26
|
+
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,s,o,u){const l=i.value||"",c=o.createTracker(u),f="$".repeat(Math.max(Tm(l,"$")+1,2)),p=o.enter("mathFlow");let h=c.move(f);if(i.meta){const b=o.enter("mathFlowMeta");h+=c.move(o.safe(i.meta,ae({after:`
|
|
27
27
|
`,before:h,encode:["$"]},c.current()))),b()}return h+=c.move(`
|
|
28
28
|
`),l&&(h+=c.move(l+`
|
|
29
|
-
`)),h+=c.move(f),p(),h}function n(i,s,o){let u=i.value||"",l=1;for(t||l++;new RegExp("(^|[^$])"+"\\$".repeat(l)+"([^$]|$)").test(u);)l++;const c="$".repeat(l);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f<o.unsafe.length;){const p=o.unsafe[f];if(!p.atBreak)continue;const h=o.compilePattern(p);let b;for(;b=h.exec(u);){let y=b.index;u.codePointAt(y)===10&&u.codePointAt(y-1)===13&&y--,u=u.slice(0,y)+" "+u.slice(b.index+1)}}return c+u+c}function a(){return"$"}}const E9={tokenize:T9,concrete:!0,name:"mathFlow"},C1={tokenize:v9,partial:!0};function T9(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return o;function o(A){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(A)}function u(A){return A===36?(e.consume(A),s++,u):s<2?r(A):(e.exit("mathFlowFenceSequence"),Me(e,l,"whitespace")(A))}function l(A){return A===null||xe(A)?f(A):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(A))}function c(A){return A===null||xe(A)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(A)):A===36?r(A):(e.consume(A),c)}function f(A){return e.exit("mathFlowFence"),n.interrupt?t(A):e.attempt(C1,p,E)(A)}function p(A){return e.attempt({tokenize:T,partial:!0},E,h)(A)}function h(A){return(i?Me(e,b,"linePrefix",i+1):b)(A)}function b(A){return A===null?E(A):xe(A)?e.attempt(C1,p,E)(A):(e.enter("mathFlowValue"),y(A))}function y(A){return A===null||xe(A)?(e.exit("mathFlowValue"),b(A)):(e.consume(A),y)}function E(A){return e.exit("mathFlow"),t(A)}function T(A,k,F){let B=0;return Me(A,O,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function O(U){return A.enter("mathFlowFence"),A.enter("mathFlowFenceSequence"),M(U)}function M(U){return U===36?(B++,A.consume(U),M):B<s?F(U):(A.exit("mathFlowFenceSequence"),Me(A,z,"whitespace")(U))}function z(U){return U===null||xe(U)?(A.exit("mathFlowFence"),k(U)):F(U)}}}function v9(e,t,r){const n=this;return a;function a(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function w9(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:A9,previous:S9,name:"mathText"};function n(a,i,s){let o=0,u,l;return c;function c(y){return a.enter("mathText"),a.enter("mathTextSequence"),f(y)}function f(y){return y===36?(a.consume(y),o++,f):o<2&&!r?s(y):(a.exit("mathTextSequence"),p(y))}function p(y){return y===null?s(y):y===36?(l=a.enter("mathTextSequence"),u=0,b(y)):y===32?(a.enter("space"),a.consume(y),a.exit("space"),p):xe(y)?(a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),p):(a.enter("mathTextData"),h(y))}function h(y){return y===null||y===32||y===36||xe(y)?(a.exit("mathTextData"),p(y)):(a.consume(y),h)}function b(y){return y===36?(a.consume(y),u++,b):u===o?(a.exit("mathTextSequence"),a.exit("mathText"),i(y)):(l.type="mathTextData",h(y))}}}function A9(e){let t=e.length-4,r=3,n,a;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;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function S9(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function k9(e){return{flow:{36:E9},text:{36:w9(e)}}}class ue extends Error{constructor(t,r){var n="KaTeX parse error: "+t,a,i,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;a=s.start,i=s.end,a===o.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var u=o.slice(a,i).replace(/[^]/g,"$&̲"),l;a>15?l="…"+o.slice(a-15,a):l=o.slice(0,a);var c;i+15<o.length?c=o.slice(i,i+15)+"…":c=o.slice(i),n+=l+u+c}super(n),this.name="ParseError",Object.setPrototypeOf(this,ue.prototype),this.position=a,a!=null&&i!=null&&(this.length=i-a),this.rawMessage=t}}var C9=/([A-Z])/g,hl=e=>e.replace(C9,"-$1").toLowerCase(),I9={"&":"&",">":">","<":"<",'"':""","'":"'"},_9=/[&><"']/g,At=e=>String(e).replace(_9,t=>I9[t]),ss=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?ss(e.body[0]):e:e.type==="font"?ss(e.body):e,N9=new Set(["mathord","textord","atom"]),Rr=e=>N9.has(ss(e).type),O9=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Zo={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 R9(e){if("default"in e)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 ml{constructor(t){t===void 0&&(t={}),t=t||{};for(var r of Object.keys(Zo)){var n=Zo[r],a=t[r];this[r]=a!==void 0?n.processor?n.processor(a):a:R9(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new ue("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch(i){a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var r=O9(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class Hr{constructor(t,r,n){this.id=t,this.size=r,this.cramped=n}sup(){return cr[D9[this.id]]}sub(){return cr[L9[this.id]]}fracNum(){return cr[M9[this.id]]}fracDen(){return cr[P9[this.id]]}cramp(){return cr[F9[this.id]]}text(){return cr[B9[this.id]]}isTight(){return this.size>=2}}var pl=0,xs=1,Wn=2,Ir=3,ti=4,Qt=5,ea=6,Ot=7,cr=[new Hr(pl,0,!1),new Hr(xs,0,!0),new Hr(Wn,1,!1),new Hr(Ir,1,!0),new Hr(ti,2,!1),new Hr(Qt,2,!0),new Hr(ea,3,!1),new Hr(Ot,3,!0)],D9=[ti,Qt,ti,Qt,ea,Ot,ea,Ot],L9=[Qt,Qt,Qt,Qt,Ot,Ot,Ot,Ot],M9=[Wn,Ir,ti,Qt,ea,Ot,ea,Ot],P9=[Ir,Ir,Qt,Qt,Ot,Ot,Ot,Ot],F9=[xs,xs,Ir,Ir,Qt,Qt,Ot,Ot],B9=[pl,xs,Wn,Ir,Wn,Ir,Wn,Ir],Ie={DISPLAY:cr[pl],TEXT:cr[Wn],SCRIPT:cr[ti],SCRIPTSCRIPT:cr[ea]},eu=[{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 z9(e){for(var t=0;t<eu.length;t++)for(var r=eu[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var os=[];eu.forEach(e=>e.blocks.forEach(t=>os.push(...t)));function vm(e){for(var t=0;t<os.length;t+=2)if(e>=os[t]&&e<=os[t+1])return!0;return!1}var gt=e=>e+" "+e,Un=80,H9=function(t,r){return"M95,"+(622+t+r)+`
|
|
29
|
+
`)),h+=c.move(f),p(),h}function n(i,s,o){let u=i.value||"",l=1;for(t||l++;new RegExp("(^|[^$])"+"\\$".repeat(l)+"([^$]|$)").test(u);)l++;const c="$".repeat(l);/[^ \r\n]/.test(u)&&(/^[ \r\n]/.test(u)&&/[ \r\n]$/.test(u)||/^\$|\$$/.test(u))&&(u=" "+u+" ");let f=-1;for(;++f<o.unsafe.length;){const p=o.unsafe[f];if(!p.atBreak)continue;const h=o.compilePattern(p);let b;for(;b=h.exec(u);){let y=b.index;u.codePointAt(y)===10&&u.codePointAt(y-1)===13&&y--,u=u.slice(0,y)+" "+u.slice(b.index+1)}}return c+u+c}function a(){return"$"}}const E9={tokenize:T9,concrete:!0,name:"mathFlow"},C1={tokenize:v9,partial:!0};function T9(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return o;function o(A){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),u(A)}function u(A){return A===36?(e.consume(A),s++,u):s<2?r(A):(e.exit("mathFlowFenceSequence"),Me(e,l,"whitespace")(A))}function l(A){return A===null||xe(A)?f(A):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(A))}function c(A){return A===null||xe(A)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(A)):A===36?r(A):(e.consume(A),c)}function f(A){return e.exit("mathFlowFence"),n.interrupt?t(A):e.attempt(C1,p,E)(A)}function p(A){return e.attempt({tokenize:T,partial:!0},E,h)(A)}function h(A){return(i?Me(e,b,"linePrefix",i+1):b)(A)}function b(A){return A===null?E(A):xe(A)?e.attempt(C1,p,E)(A):(e.enter("mathFlowValue"),y(A))}function y(A){return A===null||xe(A)?(e.exit("mathFlowValue"),b(A)):(e.consume(A),y)}function E(A){return e.exit("mathFlow"),t(A)}function T(A,k,F){let B=0;return Me(A,N,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function N(U){return A.enter("mathFlowFence"),A.enter("mathFlowFenceSequence"),M(U)}function M(U){return U===36?(B++,A.consume(U),M):B<s?F(U):(A.exit("mathFlowFenceSequence"),Me(A,z,"whitespace")(U))}function z(U){return U===null||xe(U)?(A.exit("mathFlowFence"),k(U)):F(U)}}}function v9(e,t,r){const n=this;return a;function a(s){return s===null?t(s):(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function w9(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:A9,previous:S9,name:"mathText"};function n(a,i,s){let o=0,u,l;return c;function c(y){return a.enter("mathText"),a.enter("mathTextSequence"),f(y)}function f(y){return y===36?(a.consume(y),o++,f):o<2&&!r?s(y):(a.exit("mathTextSequence"),p(y))}function p(y){return y===null?s(y):y===36?(l=a.enter("mathTextSequence"),u=0,b(y)):y===32?(a.enter("space"),a.consume(y),a.exit("space"),p):xe(y)?(a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),p):(a.enter("mathTextData"),h(y))}function h(y){return y===null||y===32||y===36||xe(y)?(a.exit("mathTextData"),p(y)):(a.consume(y),h)}function b(y){return y===36?(a.consume(y),u++,b):u===o?(a.exit("mathTextSequence"),a.exit("mathText"),i(y)):(l.type="mathTextData",h(y))}}}function A9(e){let t=e.length-4,r=3,n,a;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;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function S9(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function k9(e){return{flow:{36:E9},text:{36:w9(e)}}}class ue extends Error{constructor(t,r){var n="KaTeX parse error: "+t,a,i,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;a=s.start,i=s.end,a===o.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var u=o.slice(a,i).replace(/[^]/g,"$&̲"),l;a>15?l="…"+o.slice(a-15,a):l=o.slice(0,a);var c;i+15<o.length?c=o.slice(i,i+15)+"…":c=o.slice(i),n+=l+u+c}super(n),this.name="ParseError",Object.setPrototypeOf(this,ue.prototype),this.position=a,a!=null&&i!=null&&(this.length=i-a),this.rawMessage=t}}var C9=/([A-Z])/g,hl=e=>e.replace(C9,"-$1").toLowerCase(),I9={"&":"&",">":">","<":"<",'"':""","'":"'"},_9=/[&><"']/g,At=e=>String(e).replace(_9,t=>I9[t]),ss=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?ss(e.body[0]):e:e.type==="font"?ss(e.body):e,N9=new Set(["mathord","textord","atom"]),Rr=e=>N9.has(ss(e).type),O9=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Zo={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 R9(e){if("default"in e)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 ml{constructor(t){t===void 0&&(t={}),t=t||{};for(var r of Object.keys(Zo)){var n=Zo[r],a=t[r];this[r]=a!==void 0?n.processor?n.processor(a):a:R9(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new ue("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch(i){a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var r=O9(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class Hr{constructor(t,r,n){this.id=t,this.size=r,this.cramped=n}sup(){return cr[D9[this.id]]}sub(){return cr[L9[this.id]]}fracNum(){return cr[M9[this.id]]}fracDen(){return cr[P9[this.id]]}cramp(){return cr[F9[this.id]]}text(){return cr[B9[this.id]]}isTight(){return this.size>=2}}var pl=0,xs=1,Wn=2,Ir=3,ti=4,Jt=5,ea=6,Ot=7,cr=[new Hr(pl,0,!1),new Hr(xs,0,!0),new Hr(Wn,1,!1),new Hr(Ir,1,!0),new Hr(ti,2,!1),new Hr(Jt,2,!0),new Hr(ea,3,!1),new Hr(Ot,3,!0)],D9=[ti,Jt,ti,Jt,ea,Ot,ea,Ot],L9=[Jt,Jt,Jt,Jt,Ot,Ot,Ot,Ot],M9=[Wn,Ir,ti,Jt,ea,Ot,ea,Ot],P9=[Ir,Ir,Jt,Jt,Ot,Ot,Ot,Ot],F9=[xs,xs,Ir,Ir,Jt,Jt,Ot,Ot],B9=[pl,xs,Wn,Ir,Wn,Ir,Wn,Ir],Ie={DISPLAY:cr[pl],TEXT:cr[Wn],SCRIPT:cr[ti],SCRIPTSCRIPT:cr[ea]},eu=[{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 z9(e){for(var t=0;t<eu.length;t++)for(var r=eu[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var os=[];eu.forEach(e=>e.blocks.forEach(t=>os.push(...t)));function vm(e){for(var t=0;t<os.length;t+=2)if(e>=os[t]&&e<=os[t+1])return!0;return!1}var gt=e=>e+" "+e,Un=80,H9=function(t,r){return"M95,"+(622+t+r)+`
|
|
30
30
|
c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
|
|
31
31
|
c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
|
|
32
32
|
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
|
|
@@ -276,32 +276,32 @@ 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
|
|
|
276
276
|
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
|
|
277
277
|
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
278
278
|
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
279
|
-
-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 fa{constructor(t){this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(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 tu={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},K9={ex:!0,em:!0,mu:!0},wm=function(t){return typeof t!="string"&&(t=t.unit),t in tu||t in K9||t==="ex"},at=function(t,r){var n;if(t.unit in tu)n=tu[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new ue("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},fe=function(t){return+t.toFixed(4)+"em"},Kr=function(t){return t.filter(r=>r).join(" ")},Am=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 a=r.getColor();a&&(this.style.color=a)}},Sm=function(t){var r=document.createElement(t);r.className=Kr(this.classes);for(var n of Object.keys(this.style))r.style[n]=this.style[n];for(var a of Object.keys(this.attributes))r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},Q9=/[\s"'>/=\x00-\x1f]/,km=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+At(Kr(this.classes))+'"');var n="";for(var a of Object.keys(this.style))n+=hl(a)+":"+this.style[a]+";";n&&(r+=' style="'+At(n)+'"');for(var i of Object.keys(this.attributes)){if(Q9.test(i))throw new ue("Invalid attribute name '"+i+"'");r+=" "+i+'="'+At(this.attributes[i])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class da{constructor(t,r,n,a){Am.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return Sm.call(this,"span")}toMarkup(){return km.call(this,"span")}}class e0{constructor(t,r,n,a){Am.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return Sm.call(this,"a")}toMarkup(){return km.call(this,"a")}}class J9{constructor(t,r,n){this.alt=r,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r of Object.keys(this.style))t.style[r]=this.style[r];return t}toMarkup(){var t='<img src="'+At(this.src)+'"'+(' alt="'+At(this.alt)+'"'),r="";for(var n of Object.keys(this.style))r+=hl(n)+":"+this.style[n]+";";return r&&(t+=' style="'+At(r)+'"'),t+="'/>",t}}var Z9={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class qt{constructor(t,r,n,a,i,s,o,u){this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=s||0,this.classes=o||[],this.style=u||{},this.maxFontSize=0;var l=z9(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Z9[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=fe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Kr(this.classes));for(var n of Object.keys(this.style))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+=At(Kr(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+fe(this.italic)+";");for(var a of Object.keys(this.style))n+=hl(a)+":"+this.style[a]+";";n&&(t=!0,r+=' style="'+At(n)+'"');var i=At(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class _r{constructor(t,r){this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r of Object.keys(this.attributes))t+=" "+r+'="'+At(this.attributes[r])+'"';t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Qr{constructor(t,r){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",I1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+At(this.alternate)+'"/>':'<path d="'+At(I1[this.pathName])+'"/>'}}class ru{constructor(t){this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r of Object.keys(this.attributes))t+=" "+r+'="'+At(this.attributes[r])+'"';return t+="/>",t}}function ey(e){if(e instanceof qt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function ty(e){if(e instanceof da)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var ry=e=>e instanceof da||e instanceof e0||e instanceof fa,hr={"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]}},Li={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]},_1={Å:"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 ny(e,t){hr[e]=t}function gl(e,t,r){if(!hr[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=hr[t][n];if(!a&&e[0]in _1&&(n=_1[e[0]].charCodeAt(0),a=hr[t][n]),!a&&r==="text"&&vm(n)&&(a=hr[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var X0={};function ay(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!X0[t]){var r=X0[t]={cssEmPerMu:Li.quad[t]/18};for(var n in Li)Li.hasOwnProperty(n)&&(r[n]=Li[n][t])}return X0[t]}var iy={bin:1,close:1,inner:1,open:1,punct:1,rel:1},sy={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},tt={math:{},text:{}};function m(e,t,r,n,a,i){tt[e][a]={font:t,group:r,replace:n},i&&n&&(tt[e][n]=tt[e][a])}var g="math",Z="text",x="main",N="ams",rt="accent-token",be="bin",Rt="close",ha="inner",we="mathord",mt="op-token",Yt="open",xi="punct",R="rel",Dr="spacing",P="textord";m(g,x,R,"≡","\\equiv",!0);m(g,x,R,"≺","\\prec",!0);m(g,x,R,"≻","\\succ",!0);m(g,x,R,"∼","\\sim",!0);m(g,x,R,"⊥","\\perp");m(g,x,R,"⪯","\\preceq",!0);m(g,x,R,"⪰","\\succeq",!0);m(g,x,R,"≃","\\simeq",!0);m(g,x,R,"∣","\\mid",!0);m(g,x,R,"≪","\\ll",!0);m(g,x,R,"≫","\\gg",!0);m(g,x,R,"≍","\\asymp",!0);m(g,x,R,"∥","\\parallel");m(g,x,R,"⋈","\\bowtie",!0);m(g,x,R,"⌣","\\smile",!0);m(g,x,R,"⊑","\\sqsubseteq",!0);m(g,x,R,"⊒","\\sqsupseteq",!0);m(g,x,R,"≐","\\doteq",!0);m(g,x,R,"⌢","\\frown",!0);m(g,x,R,"∋","\\ni",!0);m(g,x,R,"∝","\\propto",!0);m(g,x,R,"⊢","\\vdash",!0);m(g,x,R,"⊣","\\dashv",!0);m(g,x,R,"∋","\\owns");m(g,x,xi,".","\\ldotp");m(g,x,xi,"⋅","\\cdotp");m(g,x,xi,"⋅","·");m(Z,x,P,"⋅","·");m(g,x,P,"#","\\#");m(Z,x,P,"#","\\#");m(g,x,P,"&","\\&");m(Z,x,P,"&","\\&");m(g,x,P,"ℵ","\\aleph",!0);m(g,x,P,"∀","\\forall",!0);m(g,x,P,"ℏ","\\hbar",!0);m(g,x,P,"∃","\\exists",!0);m(g,x,P,"∇","\\nabla",!0);m(g,x,P,"♭","\\flat",!0);m(g,x,P,"ℓ","\\ell",!0);m(g,x,P,"♮","\\natural",!0);m(g,x,P,"♣","\\clubsuit",!0);m(g,x,P,"℘","\\wp",!0);m(g,x,P,"♯","\\sharp",!0);m(g,x,P,"♢","\\diamondsuit",!0);m(g,x,P,"ℜ","\\Re",!0);m(g,x,P,"♡","\\heartsuit",!0);m(g,x,P,"ℑ","\\Im",!0);m(g,x,P,"♠","\\spadesuit",!0);m(g,x,P,"§","\\S",!0);m(Z,x,P,"§","\\S");m(g,x,P,"¶","\\P",!0);m(Z,x,P,"¶","\\P");m(g,x,P,"†","\\dag");m(Z,x,P,"†","\\dag");m(Z,x,P,"†","\\textdagger");m(g,x,P,"‡","\\ddag");m(Z,x,P,"‡","\\ddag");m(Z,x,P,"‡","\\textdaggerdbl");m(g,x,Rt,"⎱","\\rmoustache",!0);m(g,x,Yt,"⎰","\\lmoustache",!0);m(g,x,Rt,"⟯","\\rgroup",!0);m(g,x,Yt,"⟮","\\lgroup",!0);m(g,x,be,"∓","\\mp",!0);m(g,x,be,"⊖","\\ominus",!0);m(g,x,be,"⊎","\\uplus",!0);m(g,x,be,"⊓","\\sqcap",!0);m(g,x,be,"∗","\\ast");m(g,x,be,"⊔","\\sqcup",!0);m(g,x,be,"◯","\\bigcirc",!0);m(g,x,be,"∙","\\bullet",!0);m(g,x,be,"‡","\\ddagger");m(g,x,be,"≀","\\wr",!0);m(g,x,be,"⨿","\\amalg");m(g,x,be,"&","\\And");m(g,x,R,"⟵","\\longleftarrow",!0);m(g,x,R,"⇐","\\Leftarrow",!0);m(g,x,R,"⟸","\\Longleftarrow",!0);m(g,x,R,"⟶","\\longrightarrow",!0);m(g,x,R,"⇒","\\Rightarrow",!0);m(g,x,R,"⟹","\\Longrightarrow",!0);m(g,x,R,"↔","\\leftrightarrow",!0);m(g,x,R,"⟷","\\longleftrightarrow",!0);m(g,x,R,"⇔","\\Leftrightarrow",!0);m(g,x,R,"⟺","\\Longleftrightarrow",!0);m(g,x,R,"↦","\\mapsto",!0);m(g,x,R,"⟼","\\longmapsto",!0);m(g,x,R,"↗","\\nearrow",!0);m(g,x,R,"↩","\\hookleftarrow",!0);m(g,x,R,"↪","\\hookrightarrow",!0);m(g,x,R,"↘","\\searrow",!0);m(g,x,R,"↼","\\leftharpoonup",!0);m(g,x,R,"⇀","\\rightharpoonup",!0);m(g,x,R,"↙","\\swarrow",!0);m(g,x,R,"↽","\\leftharpoondown",!0);m(g,x,R,"⇁","\\rightharpoondown",!0);m(g,x,R,"↖","\\nwarrow",!0);m(g,x,R,"⇌","\\rightleftharpoons",!0);m(g,N,R,"≮","\\nless",!0);m(g,N,R,"","\\@nleqslant");m(g,N,R,"","\\@nleqq");m(g,N,R,"⪇","\\lneq",!0);m(g,N,R,"≨","\\lneqq",!0);m(g,N,R,"","\\@lvertneqq");m(g,N,R,"⋦","\\lnsim",!0);m(g,N,R,"⪉","\\lnapprox",!0);m(g,N,R,"⊀","\\nprec",!0);m(g,N,R,"⋠","\\npreceq",!0);m(g,N,R,"⋨","\\precnsim",!0);m(g,N,R,"⪹","\\precnapprox",!0);m(g,N,R,"≁","\\nsim",!0);m(g,N,R,"","\\@nshortmid");m(g,N,R,"∤","\\nmid",!0);m(g,N,R,"⊬","\\nvdash",!0);m(g,N,R,"⊭","\\nvDash",!0);m(g,N,R,"⋪","\\ntriangleleft");m(g,N,R,"⋬","\\ntrianglelefteq",!0);m(g,N,R,"⊊","\\subsetneq",!0);m(g,N,R,"","\\@varsubsetneq");m(g,N,R,"⫋","\\subsetneqq",!0);m(g,N,R,"","\\@varsubsetneqq");m(g,N,R,"≯","\\ngtr",!0);m(g,N,R,"","\\@ngeqslant");m(g,N,R,"","\\@ngeqq");m(g,N,R,"⪈","\\gneq",!0);m(g,N,R,"≩","\\gneqq",!0);m(g,N,R,"","\\@gvertneqq");m(g,N,R,"⋧","\\gnsim",!0);m(g,N,R,"⪊","\\gnapprox",!0);m(g,N,R,"⊁","\\nsucc",!0);m(g,N,R,"⋡","\\nsucceq",!0);m(g,N,R,"⋩","\\succnsim",!0);m(g,N,R,"⪺","\\succnapprox",!0);m(g,N,R,"≆","\\ncong",!0);m(g,N,R,"","\\@nshortparallel");m(g,N,R,"∦","\\nparallel",!0);m(g,N,R,"⊯","\\nVDash",!0);m(g,N,R,"⋫","\\ntriangleright");m(g,N,R,"⋭","\\ntrianglerighteq",!0);m(g,N,R,"","\\@nsupseteqq");m(g,N,R,"⊋","\\supsetneq",!0);m(g,N,R,"","\\@varsupsetneq");m(g,N,R,"⫌","\\supsetneqq",!0);m(g,N,R,"","\\@varsupsetneqq");m(g,N,R,"⊮","\\nVdash",!0);m(g,N,R,"⪵","\\precneqq",!0);m(g,N,R,"⪶","\\succneqq",!0);m(g,N,R,"","\\@nsubseteqq");m(g,N,be,"⊴","\\unlhd");m(g,N,be,"⊵","\\unrhd");m(g,N,R,"↚","\\nleftarrow",!0);m(g,N,R,"↛","\\nrightarrow",!0);m(g,N,R,"⇍","\\nLeftarrow",!0);m(g,N,R,"⇏","\\nRightarrow",!0);m(g,N,R,"↮","\\nleftrightarrow",!0);m(g,N,R,"⇎","\\nLeftrightarrow",!0);m(g,N,R,"△","\\vartriangle");m(g,N,P,"ℏ","\\hslash");m(g,N,P,"▽","\\triangledown");m(g,N,P,"◊","\\lozenge");m(g,N,P,"Ⓢ","\\circledS");m(g,N,P,"®","\\circledR");m(Z,N,P,"®","\\circledR");m(g,N,P,"∡","\\measuredangle",!0);m(g,N,P,"∄","\\nexists");m(g,N,P,"℧","\\mho");m(g,N,P,"Ⅎ","\\Finv",!0);m(g,N,P,"⅁","\\Game",!0);m(g,N,P,"‵","\\backprime");m(g,N,P,"▲","\\blacktriangle");m(g,N,P,"▼","\\blacktriangledown");m(g,N,P,"■","\\blacksquare");m(g,N,P,"⧫","\\blacklozenge");m(g,N,P,"★","\\bigstar");m(g,N,P,"∢","\\sphericalangle",!0);m(g,N,P,"∁","\\complement",!0);m(g,N,P,"ð","\\eth",!0);m(Z,x,P,"ð","ð");m(g,N,P,"╱","\\diagup");m(g,N,P,"╲","\\diagdown");m(g,N,P,"□","\\square");m(g,N,P,"□","\\Box");m(g,N,P,"◊","\\Diamond");m(g,N,P,"¥","\\yen",!0);m(Z,N,P,"¥","\\yen",!0);m(g,N,P,"✓","\\checkmark",!0);m(Z,N,P,"✓","\\checkmark");m(g,N,P,"ℶ","\\beth",!0);m(g,N,P,"ℸ","\\daleth",!0);m(g,N,P,"ℷ","\\gimel",!0);m(g,N,P,"ϝ","\\digamma",!0);m(g,N,P,"ϰ","\\varkappa");m(g,N,Yt,"┌","\\@ulcorner",!0);m(g,N,Rt,"┐","\\@urcorner",!0);m(g,N,Yt,"└","\\@llcorner",!0);m(g,N,Rt,"┘","\\@lrcorner",!0);m(g,N,R,"≦","\\leqq",!0);m(g,N,R,"⩽","\\leqslant",!0);m(g,N,R,"⪕","\\eqslantless",!0);m(g,N,R,"≲","\\lesssim",!0);m(g,N,R,"⪅","\\lessapprox",!0);m(g,N,R,"≊","\\approxeq",!0);m(g,N,be,"⋖","\\lessdot");m(g,N,R,"⋘","\\lll",!0);m(g,N,R,"≶","\\lessgtr",!0);m(g,N,R,"⋚","\\lesseqgtr",!0);m(g,N,R,"⪋","\\lesseqqgtr",!0);m(g,N,R,"≑","\\doteqdot");m(g,N,R,"≓","\\risingdotseq",!0);m(g,N,R,"≒","\\fallingdotseq",!0);m(g,N,R,"∽","\\backsim",!0);m(g,N,R,"⋍","\\backsimeq",!0);m(g,N,R,"⫅","\\subseteqq",!0);m(g,N,R,"⋐","\\Subset",!0);m(g,N,R,"⊏","\\sqsubset",!0);m(g,N,R,"≼","\\preccurlyeq",!0);m(g,N,R,"⋞","\\curlyeqprec",!0);m(g,N,R,"≾","\\precsim",!0);m(g,N,R,"⪷","\\precapprox",!0);m(g,N,R,"⊲","\\vartriangleleft");m(g,N,R,"⊴","\\trianglelefteq");m(g,N,R,"⊨","\\vDash",!0);m(g,N,R,"⊪","\\Vvdash",!0);m(g,N,R,"⌣","\\smallsmile");m(g,N,R,"⌢","\\smallfrown");m(g,N,R,"≏","\\bumpeq",!0);m(g,N,R,"≎","\\Bumpeq",!0);m(g,N,R,"≧","\\geqq",!0);m(g,N,R,"⩾","\\geqslant",!0);m(g,N,R,"⪖","\\eqslantgtr",!0);m(g,N,R,"≳","\\gtrsim",!0);m(g,N,R,"⪆","\\gtrapprox",!0);m(g,N,be,"⋗","\\gtrdot");m(g,N,R,"⋙","\\ggg",!0);m(g,N,R,"≷","\\gtrless",!0);m(g,N,R,"⋛","\\gtreqless",!0);m(g,N,R,"⪌","\\gtreqqless",!0);m(g,N,R,"≖","\\eqcirc",!0);m(g,N,R,"≗","\\circeq",!0);m(g,N,R,"≜","\\triangleq",!0);m(g,N,R,"∼","\\thicksim");m(g,N,R,"≈","\\thickapprox");m(g,N,R,"⫆","\\supseteqq",!0);m(g,N,R,"⋑","\\Supset",!0);m(g,N,R,"⊐","\\sqsupset",!0);m(g,N,R,"≽","\\succcurlyeq",!0);m(g,N,R,"⋟","\\curlyeqsucc",!0);m(g,N,R,"≿","\\succsim",!0);m(g,N,R,"⪸","\\succapprox",!0);m(g,N,R,"⊳","\\vartriangleright");m(g,N,R,"⊵","\\trianglerighteq");m(g,N,R,"⊩","\\Vdash",!0);m(g,N,R,"∣","\\shortmid");m(g,N,R,"∥","\\shortparallel");m(g,N,R,"≬","\\between",!0);m(g,N,R,"⋔","\\pitchfork",!0);m(g,N,R,"∝","\\varpropto");m(g,N,R,"◀","\\blacktriangleleft");m(g,N,R,"∴","\\therefore",!0);m(g,N,R,"∍","\\backepsilon");m(g,N,R,"▶","\\blacktriangleright");m(g,N,R,"∵","\\because",!0);m(g,N,R,"⋘","\\llless");m(g,N,R,"⋙","\\gggtr");m(g,N,be,"⊲","\\lhd");m(g,N,be,"⊳","\\rhd");m(g,N,R,"≂","\\eqsim",!0);m(g,x,R,"⋈","\\Join");m(g,N,R,"≑","\\Doteq",!0);m(g,N,be,"∔","\\dotplus",!0);m(g,N,be,"∖","\\smallsetminus");m(g,N,be,"⋒","\\Cap",!0);m(g,N,be,"⋓","\\Cup",!0);m(g,N,be,"⩞","\\doublebarwedge",!0);m(g,N,be,"⊟","\\boxminus",!0);m(g,N,be,"⊞","\\boxplus",!0);m(g,N,be,"⋇","\\divideontimes",!0);m(g,N,be,"⋉","\\ltimes",!0);m(g,N,be,"⋊","\\rtimes",!0);m(g,N,be,"⋋","\\leftthreetimes",!0);m(g,N,be,"⋌","\\rightthreetimes",!0);m(g,N,be,"⋏","\\curlywedge",!0);m(g,N,be,"⋎","\\curlyvee",!0);m(g,N,be,"⊝","\\circleddash",!0);m(g,N,be,"⊛","\\circledast",!0);m(g,N,be,"⋅","\\centerdot");m(g,N,be,"⊺","\\intercal",!0);m(g,N,be,"⋒","\\doublecap");m(g,N,be,"⋓","\\doublecup");m(g,N,be,"⊠","\\boxtimes",!0);m(g,N,R,"⇢","\\dashrightarrow",!0);m(g,N,R,"⇠","\\dashleftarrow",!0);m(g,N,R,"⇇","\\leftleftarrows",!0);m(g,N,R,"⇆","\\leftrightarrows",!0);m(g,N,R,"⇚","\\Lleftarrow",!0);m(g,N,R,"↞","\\twoheadleftarrow",!0);m(g,N,R,"↢","\\leftarrowtail",!0);m(g,N,R,"↫","\\looparrowleft",!0);m(g,N,R,"⇋","\\leftrightharpoons",!0);m(g,N,R,"↶","\\curvearrowleft",!0);m(g,N,R,"↺","\\circlearrowleft",!0);m(g,N,R,"↰","\\Lsh",!0);m(g,N,R,"⇈","\\upuparrows",!0);m(g,N,R,"↿","\\upharpoonleft",!0);m(g,N,R,"⇃","\\downharpoonleft",!0);m(g,x,R,"⊶","\\origof",!0);m(g,x,R,"⊷","\\imageof",!0);m(g,N,R,"⊸","\\multimap",!0);m(g,N,R,"↭","\\leftrightsquigarrow",!0);m(g,N,R,"⇉","\\rightrightarrows",!0);m(g,N,R,"⇄","\\rightleftarrows",!0);m(g,N,R,"↠","\\twoheadrightarrow",!0);m(g,N,R,"↣","\\rightarrowtail",!0);m(g,N,R,"↬","\\looparrowright",!0);m(g,N,R,"↷","\\curvearrowright",!0);m(g,N,R,"↻","\\circlearrowright",!0);m(g,N,R,"↱","\\Rsh",!0);m(g,N,R,"⇊","\\downdownarrows",!0);m(g,N,R,"↾","\\upharpoonright",!0);m(g,N,R,"⇂","\\downharpoonright",!0);m(g,N,R,"⇝","\\rightsquigarrow",!0);m(g,N,R,"⇝","\\leadsto");m(g,N,R,"⇛","\\Rrightarrow",!0);m(g,N,R,"↾","\\restriction");m(g,x,P,"‘","`");m(g,x,P,"$","\\$");m(Z,x,P,"$","\\$");m(Z,x,P,"$","\\textdollar");m(g,x,P,"%","\\%");m(Z,x,P,"%","\\%");m(g,x,P,"_","\\_");m(Z,x,P,"_","\\_");m(Z,x,P,"_","\\textunderscore");m(g,x,P,"∠","\\angle",!0);m(g,x,P,"∞","\\infty",!0);m(g,x,P,"′","\\prime");m(g,x,P,"△","\\triangle");m(g,x,P,"Γ","\\Gamma",!0);m(g,x,P,"Δ","\\Delta",!0);m(g,x,P,"Θ","\\Theta",!0);m(g,x,P,"Λ","\\Lambda",!0);m(g,x,P,"Ξ","\\Xi",!0);m(g,x,P,"Π","\\Pi",!0);m(g,x,P,"Σ","\\Sigma",!0);m(g,x,P,"Υ","\\Upsilon",!0);m(g,x,P,"Φ","\\Phi",!0);m(g,x,P,"Ψ","\\Psi",!0);m(g,x,P,"Ω","\\Omega",!0);m(g,x,P,"A","Α");m(g,x,P,"B","Β");m(g,x,P,"E","Ε");m(g,x,P,"Z","Ζ");m(g,x,P,"H","Η");m(g,x,P,"I","Ι");m(g,x,P,"K","Κ");m(g,x,P,"M","Μ");m(g,x,P,"N","Ν");m(g,x,P,"O","Ο");m(g,x,P,"P","Ρ");m(g,x,P,"T","Τ");m(g,x,P,"X","Χ");m(g,x,P,"¬","\\neg",!0);m(g,x,P,"¬","\\lnot");m(g,x,P,"⊤","\\top");m(g,x,P,"⊥","\\bot");m(g,x,P,"∅","\\emptyset");m(g,N,P,"∅","\\varnothing");m(g,x,we,"α","\\alpha",!0);m(g,x,we,"β","\\beta",!0);m(g,x,we,"γ","\\gamma",!0);m(g,x,we,"δ","\\delta",!0);m(g,x,we,"ϵ","\\epsilon",!0);m(g,x,we,"ζ","\\zeta",!0);m(g,x,we,"η","\\eta",!0);m(g,x,we,"θ","\\theta",!0);m(g,x,we,"ι","\\iota",!0);m(g,x,we,"κ","\\kappa",!0);m(g,x,we,"λ","\\lambda",!0);m(g,x,we,"μ","\\mu",!0);m(g,x,we,"ν","\\nu",!0);m(g,x,we,"ξ","\\xi",!0);m(g,x,we,"ο","\\omicron",!0);m(g,x,we,"π","\\pi",!0);m(g,x,we,"ρ","\\rho",!0);m(g,x,we,"σ","\\sigma",!0);m(g,x,we,"τ","\\tau",!0);m(g,x,we,"υ","\\upsilon",!0);m(g,x,we,"ϕ","\\phi",!0);m(g,x,we,"χ","\\chi",!0);m(g,x,we,"ψ","\\psi",!0);m(g,x,we,"ω","\\omega",!0);m(g,x,we,"ε","\\varepsilon",!0);m(g,x,we,"ϑ","\\vartheta",!0);m(g,x,we,"ϖ","\\varpi",!0);m(g,x,we,"ϱ","\\varrho",!0);m(g,x,we,"ς","\\varsigma",!0);m(g,x,we,"φ","\\varphi",!0);m(g,x,be,"∗","*",!0);m(g,x,be,"+","+");m(g,x,be,"−","-",!0);m(g,x,be,"⋅","\\cdot",!0);m(g,x,be,"∘","\\circ",!0);m(g,x,be,"÷","\\div",!0);m(g,x,be,"±","\\pm",!0);m(g,x,be,"×","\\times",!0);m(g,x,be,"∩","\\cap",!0);m(g,x,be,"∪","\\cup",!0);m(g,x,be,"∖","\\setminus",!0);m(g,x,be,"∧","\\land");m(g,x,be,"∨","\\lor");m(g,x,be,"∧","\\wedge",!0);m(g,x,be,"∨","\\vee",!0);m(g,x,P,"√","\\surd");m(g,x,Yt,"⟨","\\langle",!0);m(g,x,Yt,"∣","\\lvert");m(g,x,Yt,"∥","\\lVert");m(g,x,Rt,"?","?");m(g,x,Rt,"!","!");m(g,x,Rt,"⟩","\\rangle",!0);m(g,x,Rt,"∣","\\rvert");m(g,x,Rt,"∥","\\rVert");m(g,x,R,"=","=");m(g,x,R,":",":");m(g,x,R,"≈","\\approx",!0);m(g,x,R,"≅","\\cong",!0);m(g,x,R,"≥","\\ge");m(g,x,R,"≥","\\geq",!0);m(g,x,R,"←","\\gets");m(g,x,R,">","\\gt",!0);m(g,x,R,"∈","\\in",!0);m(g,x,R,"","\\@not");m(g,x,R,"⊂","\\subset",!0);m(g,x,R,"⊃","\\supset",!0);m(g,x,R,"⊆","\\subseteq",!0);m(g,x,R,"⊇","\\supseteq",!0);m(g,N,R,"⊈","\\nsubseteq",!0);m(g,N,R,"⊉","\\nsupseteq",!0);m(g,x,R,"⊨","\\models");m(g,x,R,"←","\\leftarrow",!0);m(g,x,R,"≤","\\le");m(g,x,R,"≤","\\leq",!0);m(g,x,R,"<","\\lt",!0);m(g,x,R,"→","\\rightarrow",!0);m(g,x,R,"→","\\to");m(g,N,R,"≱","\\ngeq",!0);m(g,N,R,"≰","\\nleq",!0);m(g,x,Dr," ","\\ ");m(g,x,Dr," ","\\space");m(g,x,Dr," ","\\nobreakspace");m(Z,x,Dr," ","\\ ");m(Z,x,Dr," "," ");m(Z,x,Dr," ","\\space");m(Z,x,Dr," ","\\nobreakspace");m(g,x,Dr,null,"\\nobreak");m(g,x,Dr,null,"\\allowbreak");m(g,x,xi,",",",");m(g,x,xi,";",";");m(g,N,be,"⊼","\\barwedge",!0);m(g,N,be,"⊻","\\veebar",!0);m(g,x,be,"⊙","\\odot",!0);m(g,x,be,"⊕","\\oplus",!0);m(g,x,be,"⊗","\\otimes",!0);m(g,x,P,"∂","\\partial",!0);m(g,x,be,"⊘","\\oslash",!0);m(g,N,be,"⊚","\\circledcirc",!0);m(g,N,be,"⊡","\\boxdot",!0);m(g,x,be,"△","\\bigtriangleup");m(g,x,be,"▽","\\bigtriangledown");m(g,x,be,"†","\\dagger");m(g,x,be,"⋄","\\diamond");m(g,x,be,"⋆","\\star");m(g,x,be,"◃","\\triangleleft");m(g,x,be,"▹","\\triangleright");m(g,x,Yt,"{","\\{");m(Z,x,P,"{","\\{");m(Z,x,P,"{","\\textbraceleft");m(g,x,Rt,"}","\\}");m(Z,x,P,"}","\\}");m(Z,x,P,"}","\\textbraceright");m(g,x,Yt,"{","\\lbrace");m(g,x,Rt,"}","\\rbrace");m(g,x,Yt,"[","\\lbrack",!0);m(Z,x,P,"[","\\lbrack",!0);m(g,x,Rt,"]","\\rbrack",!0);m(Z,x,P,"]","\\rbrack",!0);m(g,x,Yt,"(","\\lparen",!0);m(g,x,Rt,")","\\rparen",!0);m(Z,x,P,"<","\\textless",!0);m(Z,x,P,">","\\textgreater",!0);m(g,x,Yt,"⌊","\\lfloor",!0);m(g,x,Rt,"⌋","\\rfloor",!0);m(g,x,Yt,"⌈","\\lceil",!0);m(g,x,Rt,"⌉","\\rceil",!0);m(g,x,P,"\\","\\backslash");m(g,x,P,"∣","|");m(g,x,P,"∣","\\vert");m(Z,x,P,"|","\\textbar",!0);m(g,x,P,"∥","\\|");m(g,x,P,"∥","\\Vert");m(Z,x,P,"∥","\\textbardbl");m(Z,x,P,"~","\\textasciitilde");m(Z,x,P,"\\","\\textbackslash");m(Z,x,P,"^","\\textasciicircum");m(g,x,R,"↑","\\uparrow",!0);m(g,x,R,"⇑","\\Uparrow",!0);m(g,x,R,"↓","\\downarrow",!0);m(g,x,R,"⇓","\\Downarrow",!0);m(g,x,R,"↕","\\updownarrow",!0);m(g,x,R,"⇕","\\Updownarrow",!0);m(g,x,mt,"∐","\\coprod");m(g,x,mt,"⋁","\\bigvee");m(g,x,mt,"⋀","\\bigwedge");m(g,x,mt,"⨄","\\biguplus");m(g,x,mt,"⋂","\\bigcap");m(g,x,mt,"⋃","\\bigcup");m(g,x,mt,"∫","\\int");m(g,x,mt,"∫","\\intop");m(g,x,mt,"∬","\\iint");m(g,x,mt,"∭","\\iiint");m(g,x,mt,"∏","\\prod");m(g,x,mt,"∑","\\sum");m(g,x,mt,"⨂","\\bigotimes");m(g,x,mt,"⨁","\\bigoplus");m(g,x,mt,"⨀","\\bigodot");m(g,x,mt,"∮","\\oint");m(g,x,mt,"∯","\\oiint");m(g,x,mt,"∰","\\oiiint");m(g,x,mt,"⨆","\\bigsqcup");m(g,x,mt,"∫","\\smallint");m(Z,x,ha,"…","\\textellipsis");m(g,x,ha,"…","\\mathellipsis");m(Z,x,ha,"…","\\ldots",!0);m(g,x,ha,"…","\\ldots",!0);m(g,x,ha,"⋯","\\@cdots",!0);m(g,x,ha,"⋱","\\ddots",!0);m(g,x,P,"⋮","\\varvdots");m(Z,x,P,"⋮","\\varvdots");m(g,x,rt,"ˊ","\\acute");m(g,x,rt,"ˋ","\\grave");m(g,x,rt,"¨","\\ddot");m(g,x,rt,"~","\\tilde");m(g,x,rt,"ˉ","\\bar");m(g,x,rt,"˘","\\breve");m(g,x,rt,"ˇ","\\check");m(g,x,rt,"^","\\hat");m(g,x,rt,"⃗","\\vec");m(g,x,rt,"˙","\\dot");m(g,x,rt,"˚","\\mathring");m(g,x,we,"","\\@imath");m(g,x,we,"","\\@jmath");m(g,x,P,"ı","ı");m(g,x,P,"ȷ","ȷ");m(Z,x,P,"ı","\\i",!0);m(Z,x,P,"ȷ","\\j",!0);m(Z,x,P,"ß","\\ss",!0);m(Z,x,P,"æ","\\ae",!0);m(Z,x,P,"œ","\\oe",!0);m(Z,x,P,"ø","\\o",!0);m(Z,x,P,"Æ","\\AE",!0);m(Z,x,P,"Œ","\\OE",!0);m(Z,x,P,"Ø","\\O",!0);m(Z,x,rt,"ˊ","\\'");m(Z,x,rt,"ˋ","\\`");m(Z,x,rt,"ˆ","\\^");m(Z,x,rt,"˜","\\~");m(Z,x,rt,"ˉ","\\=");m(Z,x,rt,"˘","\\u");m(Z,x,rt,"˙","\\.");m(Z,x,rt,"¸","\\c");m(Z,x,rt,"˚","\\r");m(Z,x,rt,"ˇ","\\v");m(Z,x,rt,"¨",'\\"');m(Z,x,rt,"˝","\\H");m(Z,x,rt,"◯","\\textcircled");var Cm={"--":!0,"---":!0,"``":!0,"''":!0};m(Z,x,P,"–","--",!0);m(Z,x,P,"–","\\textendash");m(Z,x,P,"—","---",!0);m(Z,x,P,"—","\\textemdash");m(Z,x,P,"‘","`",!0);m(Z,x,P,"‘","\\textquoteleft");m(Z,x,P,"’","'",!0);m(Z,x,P,"’","\\textquoteright");m(Z,x,P,"“","``",!0);m(Z,x,P,"“","\\textquotedblleft");m(Z,x,P,"”","''",!0);m(Z,x,P,"”","\\textquotedblright");m(g,x,P,"°","\\degree",!0);m(Z,x,P,"°","\\degree");m(Z,x,P,"°","\\textdegree",!0);m(g,x,P,"£","\\pounds");m(g,x,P,"£","\\mathsterling",!0);m(Z,x,P,"£","\\pounds");m(Z,x,P,"£","\\textsterling",!0);m(g,N,P,"✠","\\maltese");m(Z,N,P,"✠","\\maltese");var N1='0123456789/@."';for(var K0=0;K0<N1.length;K0++){var O1=N1.charAt(K0);m(g,x,P,O1,O1)}var R1='0123456789!@*()-=+";:?/.,';for(var Q0=0;Q0<R1.length;Q0++){var D1=R1.charAt(Q0);m(Z,x,P,D1,D1)}var Es="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var J0=0;J0<Es.length;J0++){var Mi=Es.charAt(J0);m(g,x,we,Mi,Mi),m(Z,x,P,Mi,Mi)}m(g,N,P,"C","ℂ");m(Z,N,P,"C","ℂ");m(g,N,P,"H","ℍ");m(Z,N,P,"H","ℍ");m(g,N,P,"N","ℕ");m(Z,N,P,"N","ℕ");m(g,N,P,"P","ℙ");m(Z,N,P,"P","ℙ");m(g,N,P,"Q","ℚ");m(Z,N,P,"Q","ℚ");m(g,N,P,"R","ℝ");m(Z,N,P,"R","ℝ");m(g,N,P,"Z","ℤ");m(Z,N,P,"Z","ℤ");m(g,x,we,"h","ℎ");m(Z,x,we,"h","ℎ");var ke="";for(var It=0;It<Es.length;It++){var st=Es.charAt(It);ke=String.fromCharCode(55349,56320+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56372+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56424+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56580+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56684+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56736+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56788+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56840+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56944+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),It<26&&(ke=String.fromCharCode(55349,56632+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56476+It),m(g,x,we,st,ke),m(Z,x,P,st,ke))}ke="𝕜";m(g,x,we,"k",ke);m(Z,x,P,"k",ke);for(var hn=0;hn<10;hn++){var Ur=hn.toString();ke=String.fromCharCode(55349,57294+hn),m(g,x,we,Ur,ke),m(Z,x,P,Ur,ke),ke=String.fromCharCode(55349,57314+hn),m(g,x,we,Ur,ke),m(Z,x,P,Ur,ke),ke=String.fromCharCode(55349,57324+hn),m(g,x,we,Ur,ke),m(Z,x,P,Ur,ke),ke=String.fromCharCode(55349,57334+hn),m(g,x,we,Ur,ke),m(Z,x,P,Ur,ke)}var nu="ÐÞþ";for(var Z0=0;Z0<nu.length;Z0++){var Pi=nu.charAt(Z0);m(g,x,we,Pi,Pi),m(Z,x,P,Pi,Pi)}var Fi=[["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"]],L1=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],oy=(e,t)=>{var r=e.charCodeAt(0),n=e.charCodeAt(1),a=(r-55296)*1024+(n-56320)+65536,i=t==="math"?0:1;if(119808<=a&&a<120484){var s=Math.floor((a-119808)/26);return[Fi[s][2],Fi[s][i]]}else if(120782<=a&&a<=120831){var o=Math.floor((a-120782)/10);return[L1[o][2],L1[o][i]]}else{if(a===120485||a===120486)return[Fi[0][2],Fi[0][i]];if(120486<a&&a<120782)return["",""];throw new ue("Unsupported character: "+e)}},t0=function(t,r,n){if(tt[n][t]){var a=tt[n][t].replace;a&&(t=a)}return{value:t,metrics:gl(t,r,n)}},_t=function(t,r,n,a,i){var s=t0(t,r,n),o=s.metrics;t=s.value;var u;if(o){var l=o.italic;(n==="text"||a&&a.font==="mathit")&&(l=0),u=new qt(t,o.height,o.depth,l,o.skew,o.width,i)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),u=new qt(t,0,0,0,0,0,i);if(a){u.maxFontSize=a.sizeMultiplier,a.style.isTight()&&u.classes.push("mtight");var c=a.getColor();c&&(u.style.color=c)}return u},bl=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&t0(t,"Main-Bold",r).metrics?_t(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||tt[r][t].font==="main"?_t(t,"Main-Regular",r,n,a):_t(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},uy=function(t,r,n,a,i){return i!=="textord"&&t0(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},r0=function(t,r,n){var a=t.mode,i=t.text,s=["mord"],o=a==="math"||a==="text"&&r.font,u=o?r.font:r.fontFamily,l="",c="";if(i.charCodeAt(0)===55349&&([l,c]=oy(i,a)),l.length>0)return _t(i,l,a,r,s.concat(c));if(u){var f,p;if(u==="boldsymbol"){var h=uy(i,a,r,s,n);f=h.fontName,p=[h.fontClass]}else o?(f=au[u].fontName,p=[u]):(f=Bi(u,r.fontWeight,r.fontShape),p=[u,r.fontWeight,r.fontShape]);if(t0(i,f,a).metrics)return _t(i,f,a,r,s.concat(p));if(Cm.hasOwnProperty(i)&&f.slice(0,10)==="Typewriter"){for(var b=[],y=0;y<i.length;y++)b.push(_t(i[y],f,a,r,s.concat(p)));return Lr(b)}}if(n==="mathord")return _t(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var E=tt[a][i]&&tt[a][i].font;if(E==="ams"){var T=Bi("amsrm",r.fontWeight,r.fontShape);return _t(i,T,a,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(E==="main"||!E){var A=Bi("textrm",r.fontWeight,r.fontShape);return _t(i,A,a,r,s.concat(r.fontWeight,r.fontShape))}else{var k=Bi(E,r.fontWeight,r.fontShape);return _t(i,k,a,r,s.concat(k,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},ly=(e,t)=>{if(Kr(e.classes)!==Kr(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},Im=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof qt&&n instanceof qt&&ly(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},yl=function(t){for(var r=0,n=0,a=0,i=0;i<t.children.length;i++){var s=t.children[i];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},ne=function(t,r,n,a){var i=new da(t,r,n,a);return yl(i),i},Jr=(e,t,r,n)=>new da(e,t,r,n),ta=function(t,r,n){var a=ne([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=fe(a.height),a.maxFontSize=1,a},cy=function(t,r,n,a){var i=new e0(t,r,n,a);return yl(i),i},Lr=function(t){var r=new fa(t);return yl(r),r},ra=function(t,r){return t instanceof fa?ne([],[t],r):t},fy=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,s=1;s<r.length;s++){var o=-r[s].shift-i-r[s].elem.depth,u=o-(r[s-1].elem.height+r[s-1].elem.depth);i=i+o,n.push({type:"kern",size:u}),n.push(r[s])}return{children:n,depth:a}}var l;if(t.positionType==="top"){for(var c=t.positionData,f=0;f<t.children.length;f++){var p=t.children[f];c-=p.type==="kern"?p.size:p.elem.height+p.elem.depth}l=c}else if(t.positionType==="bottom")l=-t.positionData;else{var h=t.children[0];if(h.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-h.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-h.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},je=function(t,r){for(var{children:n,depth:a}=fy(t),i=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var u=o.elem;i=Math.max(i,u.maxFontSize,u.height)}}i+=2;var l=ne(["pstrut"],[]);l.style.height=fe(i);for(var c=[],f=a,p=a,h=a,b=0;b<n.length;b++){var y=n[b];if(y.type==="kern")h+=y.size;else{var E=y.elem,T=y.wrapperClasses||[],A=y.wrapperStyle||{},k=ne(T,[l,E],void 0,A);k.style.top=fe(-i-h-E.depth),y.marginLeft&&(k.style.marginLeft=y.marginLeft),y.marginRight&&(k.style.marginRight=y.marginRight),c.push(k),h+=E.height+E.depth}f=Math.min(f,h),p=Math.max(p,h)}var F=ne(["vlist"],c);F.style.height=fe(p);var B;if(f<0){var O=ne([],[]),M=ne(["vlist"],[O]);M.style.height=fe(-f);var z=ne(["vlist-s"],[new qt("")]);B=[ne(["vlist-r"],[F,z]),ne(["vlist-r"],[M])]}else B=[ne(["vlist-r"],[F])];var U=ne(["vlist-t"],B);return B.length===2&&U.classes.push("vlist-t2"),U.height=p,U.depth=-f,U},_m=(e,t)=>{var r=ne(["mspace"],[],t),n=at(e,t);return r.style.marginRight=fe(n),r},Bi=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",a+"-"+i},au={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"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-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"}},Nm={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Om=function(t,r){var[n,a,i]=Nm[t],s=new Qr(n),o=new _r([s],{width:fe(a),height:fe(i),style:"width:"+fe(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),u=Jr(["overlay"],[o],r);return u.height=i,u.style.height=fe(i),u.style.width=fe(a),u},nt={number:3,unit:"mu"},mn={number:4,unit:"mu"},Ar={number:5,unit:"mu"},dy={mord:{mop:nt,mbin:mn,mrel:Ar,minner:nt},mop:{mord:nt,mop:nt,mrel:Ar,minner:nt},mbin:{mord:mn,mop:mn,mopen:mn,minner:mn},mrel:{mord:Ar,mop:Ar,mopen:Ar,minner:Ar},mopen:{},mclose:{mop:nt,mbin:mn,mrel:Ar,minner:nt},mpunct:{mord:nt,mop:nt,mrel:Ar,mopen:nt,mclose:nt,mpunct:nt,minner:nt},minner:{mord:nt,mop:nt,mbin:mn,mrel:Ar,mopen:nt,mpunct:nt,minner:nt}},hy={mord:{mop:nt},mop:{mord:nt,mop:nt},mbin:{},mrel:{},mopen:{},mclose:{mop:nt},mpunct:{},minner:{mop:nt}},Rm={},Ts={},vs={};function pe(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,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:a},u=0;u<r.length;++u)Rm[r[u]]=o;t&&(i&&(Ts[t]=i),s&&(vs[t]=s))}function Rn(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;pe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var ws=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},dt=function(t){return t.type==="ordgroup"?t.body:[t]},my=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),py=new Set(["rightmost","mrel","mclose","mpunct"]),gy={display:Ie.DISPLAY,text:Ie.TEXT,script:Ie.SCRIPT,scriptscript:Ie.SCRIPTSCRIPT},by={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},yt=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var o=$e(t[s],r);if(o instanceof fa){var u=o.children;i.push(...u)}else i.push(o)}if(Im(i),!n)return i;var l=r;if(t.length===1){var c=t[0];c.type==="sizing"?l=r.havingSize(c.size):c.type==="styling"&&(l=r.havingStyle(gy[c.style]))}var f=ne([a[0]||"leftmost"],[],r),p=ne([a[1]||"rightmost"],[],r),h=n==="root";return iu(i,(b,y)=>{var E=y.classes[0],T=b.classes[0];E==="mbin"&&py.has(T)?y.classes[0]="mord":T==="mbin"&&my.has(E)&&(b.classes[0]="mord")},{node:f},p,h),iu(i,(b,y)=>{var E,T,A=ou(y),k=ou(b),F=A&&k?b.hasClass("mtight")?(E=hy[A])==null?void 0:E[k]:(T=dy[A])==null?void 0:T[k]:null;if(F)return _m(F,l)},{node:f},p,h),i},iu=function(t,r,n,a,i){a&&t.push(a);for(var s=0;s<t.length;s++){var o=t[s],u=Dm(o);if(u){iu(u.children,r,n,null,i);continue}var l=!o.hasClass("mspace");if(l){var c=r(o,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),s++))}l?n.node=o:i&&o.hasClass("newline")&&(n.node=ne(["leftmost"])),n.insertAfter=(f=>p=>{t.splice(f+1,0,p),s++})(s)}a&&t.pop()},Dm=function(t){return t instanceof fa||t instanceof e0||t instanceof da&&t.hasClass("enclosing")?t:null},su=function(t,r){var n=Dm(t);if(n){var a=n.children;if(a.length){if(r==="right")return su(a[a.length-1],"right");if(r==="left")return su(a[0],"left")}}return t},ou=function(t,r){if(!t)return null;r&&(t=su(t,r));var n=t.classes[0];return by[n]||null},ri=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return ne(r.concat(n))},$e=function(t,r,n){if(!t)return ne();if(Ts[t.type]){var a=Ts[t.type](t,r);if(n&&r.size!==n.size){a=ne(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new ue("Got group of unknown type: '"+t.type+"'")};function zi(e,t){var r=ne(["base"],e,t),n=ne(["strut"]);return n.style.height=fe(r.height+r.depth),r.depth&&(n.style.verticalAlign=fe(-r.depth)),r.children.unshift(n),r}function uu(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=yt(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],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 u=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(u=!0);u||(i.push(zi(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(zi(s,t)),s=[]),i.push(n[o]));s.length>0&&i.push(zi(s,t));var l;r?(l=zi(yt(r,t,!0),t),l.classes=["tag"],i.push(l)):a&&i.push(a);var c=ne(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=fe(c.height+c.depth),c.depth&&(f.style.verticalAlign=fe(-c.depth))}return c}function Lm(e){return new fa(e)}class le{constructor(t,r,n){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=Kr(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof ht&&this.children[n+1]instanceof ht){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof ht;)a+=this.children[++n].toText();t.appendChild(new ht(a).toNode())}else 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+=At(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+At(Kr(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 ht{constructor(t){this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return At(this.toText())}toText(){return this.text}}class Mm{constructor(t){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",fe(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+fe(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var yy=new Set(["\\imath","\\jmath"]),xy=new Set(["mrow","mtable"]),Zt=function(t,r,n){return tt[r][t]&&tt[r][t].replace&&t.charCodeAt(0)!==55349&&!(Cm.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=tt[r][t].replace),new ht(t)},xl=function(t){return t.length===1?t[0]:new le("mrow",t)},El=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 a=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==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(yy.has(i))return null;if(tt[a][i]){var s=tt[a][i].replace;s&&(i=s)}var o=au[n].fontName;return gl(i,o,a)?au[n].variant:null};function eo(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ht&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof ht&&r.text===","}else return!1}var Wt=function(t,r,n){if(t.length===1){var a=Ge(t[0],r);return n&&a instanceof le&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,o=0;o<t.length;o++){var u=Ge(t[o],r);if(u instanceof le&&s instanceof le){if(u.type==="mtext"&&s.type==="mtext"&&u.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...u.children);continue}else if(u.type==="mn"&&s.type==="mn"){s.children.push(...u.children);continue}else if(eo(u)&&s.type==="mn"){s.children.push(...u.children);continue}else if(u.type==="mn"&&eo(s))u.children=[...s.children,...u.children],i.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(s.type==="mn"||eo(s))){var l=u.children[0];l instanceof le&&l.type==="mn"&&(l.children=[...s.children,...l.children],i.pop())}else if(s.type==="mi"&&s.children.length===1){var c=s.children[0];if(c instanceof ht&&c.text==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var f=u.children[0];f instanceof ht&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),i.pop())}}}i.push(u),s=u}return i},Zr=function(t,r,n){return xl(Wt(t,r,n))},Ge=function(t,r){if(!t)return new le("mrow");if(vs[t.type]){var n=vs[t.type](t,r);return n}else throw new ue("Got group of unknown type: '"+t.type+"'")};function M1(e,t,r,n,a){var i=Wt(e,r),s;i.length===1&&i[0]instanceof le&&xy.has(i[0].type)?s=i[0]:s=new le("mrow",i);var o=new le("annotation",[new ht(t)]);o.setAttribute("encoding","application/x-tex");var u=new le("semantics",[s,o]),l=new le("math",[u]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=a?"katex":"katex-mathml";return ne([c],[l])}var Ey=[[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]],P1=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],F1=function(t,r){return r.size<2?t:Ey[t-1][r.size-1]};class kr{constructor(t){this.style=t.style,this.color=t.color,this.size=t.size||kr.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=P1[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};return Object.assign(r,t),new kr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:F1(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:P1[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=F1(kr.BASESIZE,t);return this.size===r&&this.textSize===kr.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!==kr.BASESIZE?["sizing","reset-size"+this.size,"size"+kr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=ay(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}kr.BASESIZE=6;var Pm=function(t){return new kr({style:t.displayMode?Ie.DISPLAY:Ie.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Fm=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=ne(n,[t])}return t},Ty=function(t,r,n){var a=Pm(n),i;if(n.output==="mathml")return M1(t,r,a,n.displayMode,!0);if(n.output==="html"){var s=uu(t,a);i=ne(["katex"],[s])}else{var o=M1(t,r,a,n.displayMode,!1),u=uu(t,a);i=ne(["katex"],[o,u])}return Fm(i,n)},vy=function(t,r,n){var a=Pm(n),i=uu(t,a),s=ne(["katex"],[i]);return Fm(s,n)},wy={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",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":"="},n0=function(t){var r=new le("mo",[new ht(wy[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Ay={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],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],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]},Sy=new Set(["widehat","widecheck","widetilde","utilde"]),a0=function(t,r){function n(){var o=4e5,u=t.label.slice(1);if(Sy.has(u)){var l=t,c=l.base.type==="ordgroup"?l.base.body.length:1,f,p,h;if(c>5)u==="widehat"||u==="widecheck"?(f=420,o=2364,h=.42,p=u+"4"):(f=312,o=2340,h=.34,p="tilde4");else{var b=[1,1,2,2,3,3][c];u==="widehat"||u==="widecheck"?(o=[0,1062,2364,2364,2364][b],f=[0,239,300,360,420][b],h=[0,.24,.3,.3,.36,.42][b],p=u+b):(o=[0,600,1033,2339,2340][b],f=[0,260,286,306,312][b],h=[0,.26,.286,.3,.306,.34][b],p="tilde"+b)}var y=new Qr(p),E=new _r([y],{width:"100%",height:fe(h),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:Jr([],[E],r),minWidth:0,height:h}}else{var T=[],A=Ay[u],[k,F,B]=A,O=B/1e3,M=k.length,z,U;if(M===1){var L=A[3];z=["hide-tail"],U=[L]}else if(M===2)z=["halfarrow-left","halfarrow-right"],U=["xMinYMin","xMaxYMin"];else if(M===3)z=["brace-left","brace-center","brace-right"],U=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
280
|
-
`+M+" children.");for(var $=0;$<M;$++){var te=new Qr(k[$]),ge=new _r([te],{width:"400em",height:fe(O),viewBox:"0 0 "+o+" "+B,preserveAspectRatio:U[$]+" slice"}),X=Jr([z[$]],[ge],r);if(M===1)return{span:X,minWidth:F,height:O};X.style.height=fe(O),T.push(X)}return{span:ne(["stretchy"],T,r),minWidth:F,height:O}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=fe(s),i>0&&(a.style.minWidth=fe(i)),a},ky=function(t,r,n,a,i){var s,o=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=ne(["stretchy",r],[],i),r==="fbox"){var u=i.color&&i.getColor();u&&(s.style.borderColor=u)}}else{var l=[];/^[bx]cancel$/.test(r)&&l.push(new ru({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new ru({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new _r(l,{width:"100%",height:fe(o)});s=Jr([],[c],i)}return s.height=o,s.style.height=fe(o),s};function Ne(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 i0(e){var t=s0(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 s0(e){return e&&(e.type==="atom"||sy.hasOwnProperty(e.type))?e:null}var Bm=e=>{if(e instanceof qt)return e;if(ry(e)&&e.children.length===1)return Bm(e.children[0])},Tl=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=Ne(e.base,"accent"),r=n.base,e.base=r,a=ty($e(e,t)),e.base=n):(n=Ne(e,"accent"),r=n.base);var i=$e(r,t.havingCrampedStyle()),s=n.isShifty&&Rr(r),o=0;if(s){var u,l;o=(u=(l=Bm(i))==null?void 0:l.skew)!=null?u:0}var c=n.label==="\\c",f=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),p;if(n.isStretchy)p=a0(n,t),p=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+fe(2*o)+")",marginLeft:fe(2*o)}:void 0}]});else{var h,b;n.label==="\\vec"?(h=Om("vec",t),b=Nm.vec[1]):(h=r0({mode:n.mode,text:n.label},t,"textord"),h=ey(h),h.italic=0,b=h.width,c&&(f+=h.depth)),p=ne(["accent-body"],[h]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),f=i.height);var E=o;y||(E-=b/2),p.style.left=fe(E),n.label==="\\textcircled"&&(p.style.top=".2em"),p=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-f},{type:"elem",elem:p}]})}var T=ne(["mord","accent"],[p],t);return a?(a.children[0]=T,a.height=Math.max(T.height,a.height),a.classes[0]="mord",a):T},zm=(e,t)=>{var r=e.isStretchy?n0(e.label):new le("mo",[Zt(e.label,e.mode)]),n=new le("mover",[Ge(e.base,t),r]);return n.setAttribute("accent","true"),n},Cy=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));pe({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=ws(t[0]),n=!Cy.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:Tl,mathmlBuilder:zm});pe({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:Tl,mathmlBuilder:zm});pe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=$e(e.base,t),n=a0(e,t),a=e.label==="\\utilde"?.12:0,i=je({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return ne(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=n0(e.label),n=new le("munder",[Ge(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Hi=e=>{var t=new le("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};pe({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:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=ra($e(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=ra($e(e.below,n,t),t),s.classes.push(i+"-arrow-pad"));var o=a0(e,t),u=-t.fontMetrics().axisHeight+.5*o.height,l=-t.fontMetrics().axisHeight-.5*o.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(l-=a.depth);var c;if(s){var f=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;c=je({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:f}]})}else c=je({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:o,shift:u}]});return c.children[0].children[0].children[1].classes.push("svg-align"),ne(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=n0(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=Hi(Ge(e.body,t));if(e.below){var i=Hi(Ge(e.below,t));n=new le("munderover",[r,i,a])}else n=new le("mover",[r,a])}else if(e.below){var s=Hi(Ge(e.below,t));n=new le("munder",[r,s])}else n=Hi(),n=new le("mover",[r,n]);return n}});function Hm(e,t){var r=yt(e.body,t,!0);return ne([e.mclass],r,t)}function Um(e,t){var r,n=Wt(e.body,t);return e.mclass==="minner"?r=new le("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new le("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new le("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}pe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:dt(a),isCharacterBox:Rr(a)}},htmlBuilder:Hm,mathmlBuilder:Um});var o0=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"};pe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:o0(t[0]),body:dt(t[1]),isCharacterBox:Rr(t[1])}}});pe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],s;n!=="\\stackrel"?s=o0(a):s="mrel";var o={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:dt(a)},u={type:"supsub",mode:i.mode,base:o,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:s,body:[u],isCharacterBox:Rr(u)}},htmlBuilder:Hm,mathmlBuilder:Um});pe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:o0(t[0]),body:dt(t[0])}},htmlBuilder(e,t){var r=yt(e.body,t,!0),n=ne([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Wt(e.body,t),n=new le("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Iy={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},B1=()=>({type:"styling",body:[],mode:"math",style:"display"}),z1=e=>e.type==="textord"&&e.text==="@",_y=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Ny(e,t,r){var n=Iy[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[i],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[a,s,o]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var l={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[l],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Oy(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 ue("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var s=t[i],o=B1(),u=0;u<s.length;u++)if(!z1(s[u]))o.body.push(s[u]);else{n.push(o),u+=1;var l=i0(s[u]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(l))if("<>AV".includes(l))for(var f=0;f<2;f++){for(var p=!0,h=u+1;h<s.length;h++){if(_y(s[h],l)){p=!1,u=h;break}if(z1(s[h]))throw new ue("Missing a "+l+" character to complete a CD arrow.",s[h]);c[f].body.push(s[h])}if(p)throw new ue("Missing a "+l+" character to complete a CD arrow.",s[u])}else throw new ue('Expected one of "<>AV=|." after @',s[u]);var b=Ny(l,c,e),y={type:"styling",body:[b],mode:"math",style:"display"};n.push(y),o=B1()}i%2===0?n.push(o):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var E=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:E,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}pe({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=ra($e(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=fe(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new le("mrow",[Ge(e.label,t)]);return r=new le("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new le("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});pe({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=ra($e(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new le("mrow",[Ge(e.fragment,t)])}});pe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Ne(t[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var o=Ne(a[s],"textord");i+=o.text}var u=parseInt(i),l;if(isNaN(u))throw new ue("\\@char has non-numeric argument "+i);if(u<0||u>=1114111)throw new ue("\\@char with invalid code point "+i);return u<=65535?l=String.fromCharCode(u):(u-=65536,l=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var jm=(e,t)=>{var r=yt(e.body,t.withColor(e.color),!1);return Lr(r)},$m=(e,t)=>{var r=Wt(e.body,t.withColor(e.color)),n=new le("mstyle",r);return n.setAttribute("mathcolor",e.color),n};pe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Ne(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:dt(a)}},htmlBuilder:jm,mathmlBuilder:$m});pe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=Ne(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:jm,mathmlBuilder:$m});pe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&Ne(a,"size").value}},htmlBuilder(e,t){var r=ne(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=fe(at(e.size,t)))),r},mathmlBuilder(e,t){var r=new le("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",fe(at(e.size,t)))),r}});var lu={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},qm=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ue("Expected a control sequence",e);return t},Ry=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Ym=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};pe({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(lu[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=lu[n.text]),Ne(t.parseFunction(),"internal");throw new ue("Invalid token after macro prefix",n)}});pe({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(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ue("Expected a control sequence",n);for(var i=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new ue('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new ue('Argument number "'+n.text+'" out of order');i++,o.push([])}else{if(n.text==="EOF")throw new ue("Expected a macro definition");o[i].push(n.text)}var{tokens:u}=t.gullet.consumeArg();return s&&u.unshift(s),(r==="\\edef"||r==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(a,{tokens:u,numArgs:i,delimiters:o},r===lu[r]),{type:"internal",mode:t.mode}}});pe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=qm(t.gullet.popToken());t.gullet.consumeSpaces();var a=Ry(t);return Ym(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});pe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=qm(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return Ym(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var La=function(t,r,n){var a=tt.math[t]&&tt.math[t].replace,i=gl(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},vl=function(t,r,n,a){var i=n.havingBaseStyle(r),s=ne(a.concat(i.sizingClasses(n)),[t],n),o=i.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=i.sizeMultiplier,s},Wm=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=fe(i),t.height-=i,t.depth+=i},Dy=function(t,r,n,a,i,s){var o=_t(t,"Main-Regular",i,a),u=vl(o,r,a,s);return Wm(u,a,r),u},Ly=function(t,r,n,a){return _t(t,"Size"+r+"-Regular",n,a)},Vm=function(t,r,n,a,i,s){var o=Ly(t,r,i,a),u=vl(ne(["delimsizing","size"+r],[o],a),Ie.TEXT,a,s);return n&&Wm(u,a,Ie.TEXT),u},to=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=ne(["delimsizinginner",a],[ne([],[_t(t,r,n)])]);return{type:"elem",elem:i}},ro=function(t,r,n){var a=hr["Size4-Regular"][t.charCodeAt(0)]?hr["Size4-Regular"][t.charCodeAt(0)][4]:hr["Size1-Regular"][t.charCodeAt(0)][4],i=new Qr("inner",G9(t,Math.round(1e3*r))),s=new _r([i],{width:fe(a),height:fe(r),style:"width:"+fe(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=Jr([],[s],n);return o.height=r,o.style.height=fe(r),o.style.width=fe(a),{type:"elem",elem:o}},cu=.008,Ui={type:"kern",size:-1*cu},My=new Set(["|","\\lvert","\\rvert","\\vert"]),Py=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Gm=function(t,r,n,a,i,s){var o,u,l,c,f="",p=0;o=l=c=t,u=null;var h="Size1-Regular";t==="\\uparrow"?l=c="⏐":t==="\\Uparrow"?l=c="‖":t==="\\downarrow"?o=l="⏐":t==="\\Downarrow"?o=l="‖":t==="\\updownarrow"?(o="\\uparrow",l="⏐",c="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",l="‖",c="\\Downarrow"):My.has(t)?(l="∣",f="vert",p=333):Py.has(t)?(l="∥",f="doublevert",p=556):t==="["||t==="\\lbrack"?(o="⎡",l="⎢",c="⎣",h="Size4-Regular",f="lbrack",p=667):t==="]"||t==="\\rbrack"?(o="⎤",l="⎥",c="⎦",h="Size4-Regular",f="rbrack",p=667):t==="\\lfloor"||t==="⌊"?(l=o="⎢",c="⎣",h="Size4-Regular",f="lfloor",p=667):t==="\\lceil"||t==="⌈"?(o="⎡",l=c="⎢",h="Size4-Regular",f="lceil",p=667):t==="\\rfloor"||t==="⌋"?(l=o="⎥",c="⎦",h="Size4-Regular",f="rfloor",p=667):t==="\\rceil"||t==="⌉"?(o="⎤",l=c="⎥",h="Size4-Regular",f="rceil",p=667):t==="("||t==="\\lparen"?(o="⎛",l="⎜",c="⎝",h="Size4-Regular",f="lparen",p=875):t===")"||t==="\\rparen"?(o="⎞",l="⎟",c="⎠",h="Size4-Regular",f="rparen",p=875):t==="\\{"||t==="\\lbrace"?(o="⎧",u="⎨",c="⎩",l="⎪",h="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",u="⎬",c="⎭",l="⎪",h="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",c="⎩",l="⎪",h="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",c="⎭",l="⎪",h="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",c="⎭",l="⎪",h="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",c="⎩",l="⎪",h="Size4-Regular");var b=La(o,h,i),y=b.height+b.depth,E=La(l,h,i),T=E.height+E.depth,A=La(c,h,i),k=A.height+A.depth,F=0,B=1;if(u!==null){var O=La(u,h,i);F=O.height+O.depth,B=2}var M=y+k+F,z=Math.max(0,Math.ceil((r-M)/(B*T))),U=M+z*B*T,L=a.fontMetrics().axisHeight;n&&(L*=a.sizeMultiplier);var $=U/2-L,te=[];if(f.length>0){var ge=U-y-k,X=Math.round(U*1e3),W=X9(f,Math.round(ge*1e3)),V=new Qr(f,W),ie=fe(p/1e3),J=fe(X/1e3),he=new _r([V],{width:ie,height:J,viewBox:"0 0 "+p+" "+X}),C=Jr([],[he],a);C.height=X/1e3,C.style.width=ie,C.style.height=J,te.push({type:"elem",elem:C})}else{if(te.push(to(c,h,i)),te.push(Ui),u===null){var K=U-y-k+2*cu;te.push(ro(l,K,a))}else{var Q=(U-y-k-F)/2+2*cu;te.push(ro(l,Q,a)),te.push(Ui),te.push(to(u,h,i)),te.push(Ui),te.push(ro(l,Q,a))}te.push(Ui),te.push(to(o,h,i))}var I=a.havingBaseStyle(Ie.TEXT),me=je({positionType:"bottom",positionData:$,children:te});return vl(ne(["delimsizing","mult"],[me],I),Ie.TEXT,a,s)},no=80,ao=.08,io=function(t,r,n,a,i){var s=V9(t,a,n),o=new Qr(t,s),u=new _r([o],{width:"400em",height:fe(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Jr(["hide-tail"],[u],i)},Fy=function(t,r){var n=r.havingBaseSizing(),a=Zm("\\surd",t*n.sizeMultiplier,Jm,n),i=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,u=0,l=0,c=0,f;return a.type==="small"?(c=1e3+1e3*s+no,t<1?i=1:t<1.4&&(i=.7),u=(1+s+ao)/i,l=(1+s)/i,o=io("sqrtMain",u,c,s,r),o.style.minWidth="0.853em",f=.833/i):a.type==="large"?(c=(1e3+no)*ja[a.size],l=(ja[a.size]+s)/i,u=(ja[a.size]+s+ao)/i,o=io("sqrtSize"+a.size,u,c,s,r),o.style.minWidth="1.02em",f=1/i):(u=t+s+ao,l=t+s,c=Math.floor(1e3*t+s)+no,o=io("sqrtTall",u,c,s,r),o.style.minWidth="0.742em",f=1.056),o.height=l,o.style.height=fe(u),{span:o,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},Xm=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),By=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Km=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ja=[0,1.2,1.8,2.4,3],Qm=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Xm.has(t)||Km.has(t))return Vm(t,r,!1,n,a,i);if(By.has(t))return Gm(t,ja[r],!1,n,a,i);throw new ue("Illegal delimiter: '"+t+"'")},zy=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Hy=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"stack"}],Jm=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Uy=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";var r=t.type;throw new Error("Add support for delim type '"+r+"' here.")},Zm=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length;s++){var o=n[s];if(o.type==="stack")break;var u=La(t,Uy(o),"math"),l=u.height+u.depth;if(o.type==="small"){var c=a.havingBaseStyle(o.style);l*=c.sizeMultiplier}if(l>r)return o}return n[n.length-1]},fu=function(t,r,n,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;Km.has(t)?o=zy:Xm.has(t)?o=Jm:o=Hy;var u=Zm(t,r,o,a);return u.type==="small"?Dy(t,u.style,n,a,i,s):u.type==="large"?Vm(t,u.size,n,a,i,s):Gm(t,r,n,a,i,s)},so=function(t,r,n,a,i,s){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,l=5/a.fontMetrics().ptPerEm,c=Math.max(r-o,n+o),f=Math.max(c/500*u,2*c-l);return fu(t,f,!0,a,i,s)},H1={"\\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}},jy=new Set(["(","\\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 u0(e,t){var r=s0(e);if(r&&jy.has(r.text))return r;throw r?new ue("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new ue("Invalid delimiter type '"+e.type+"'",e)}pe({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=u0(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:H1[e.funcName].size,mclass:H1[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?ne([e.mclass]):Qm(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Zt(e.delim,e.mode));var r=new le("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=fe(ja[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function U1(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}pe({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 ue("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:u0(t[0],e).text,color:r}}});pe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=u0(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ne(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{U1(e);for(var r=yt(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,s=0;s<r.length;s++)r[s].isMiddle?i=!0:(n=Math.max(r[s].height,n),a=Math.max(r[s].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var o;if(e.left==="."?o=ri(t,["mopen"]):o=so(e.left,n,a,t,e.mode,["mopen"]),r.unshift(o),i)for(var u=1;u<r.length;u++){var l=r[u],c=l.isMiddle;c&&(r[u]=so(c.delim,n,a,c.options,e.mode,[]))}var f;if(e.right===".")f=ri(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=so(e.right,n,a,p,e.mode,["mclose"])}return r.push(f),ne(["minner"],r,t)},mathmlBuilder:(e,t)=>{U1(e);var r=Wt(e.body,t);if(e.left!=="."){var n=new le("mo",[Zt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new le("mo",[Zt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return xl(r)}});pe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=u0(t[0],e);if(!e.parser.leftrightDepth)throw new ue("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=ri(t,[]);else{r=Qm(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==="|"?Zt("|","text"):Zt(e.delim,e.mode),n=new le("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var l0=(e,t)=>{var r=ra($e(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,s=0,o=Rr(e.body);if(n==="sout")i=ne(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var u=at({number:.6,unit:"pt"},t),l=at({number:.35,unit:"ex"},t),c=t.havingBaseSizing();a=a/c.sizeMultiplier;var f=r.height+r.depth+u+l;r.style.paddingLeft=fe(f/2+u);var p=Math.floor(1e3*f*a),h=Y9(p),b=new _r([new Qr("phase",h)],{width:"400em",height:fe(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});i=Jr(["hide-tail"],[b],t),i.style.height=fe(f),s=r.depth+u+l}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,E=0,T=0;/box/.test(n)?(T=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(n==="colorbox"?0:T),E=y):n==="angl"?(T=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*T,E=Math.max(0,.25-r.depth)):(y=o?.2:0,E=y),i=ky(r,n,y,E,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=fe(T)):n==="angl"&&T!==.049&&(i.style.borderTopWidth=fe(T),i.style.borderRightWidth=fe(T)),s=r.depth+E,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var A;if(e.backgroundColor)A=je({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]});else{var k=/cancel|phase/.test(n)?["svg-align"]:[];A=je({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:k}]})}return/cancel/.test(n)&&(A.height=r.height,A.depth=r.depth),/cancel/.test(n)&&!o?ne(["mord","cancel-lap"],[A],t):ne(["mord"],[A],t)},c0=(e,t)=>{var r=0,n=new le(e.label.includes("colorbox")?"mpadded":"menclose",[Ge(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 a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+fe(a)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};pe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ne(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:l0,mathmlBuilder:c0});pe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ne(t[0],"color-token").color,s=Ne(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:l0,mathmlBuilder:c0});pe({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]}}});pe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:l0,mathmlBuilder:c0});pe({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e;r.mode==="math"&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:l0,mathmlBuilder:c0});pe({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 ep={};function yr(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u<r.length;++u)ep[r[u]]=o;i&&(Ts[t]=i),s&&(vs[t]=s)}var tp={};function v(e,t){tp[e]=t}class Pt{constructor(t,r,n){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 Pt(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class $t{constructor(t,r){this.text=t,this.loc=r}range(t,r){return new $t(r,Pt.range(this,t))}}function j1(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 f0=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ue("{"+e.envName+"} can be used only in display mode.")},$y=new Set(["gather","gather*"]);function wl(e){if(!e.includes("ed"))return!e.includes("*")}function sn(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:s,colSeparationType:o,autoTag:u,singleRow:l,emptySingleRow:c,maxNumCols:f,leqno:p}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var h=e.gullet.expandMacroAsText("\\arraystretch");if(h==null)s=1;else if(s=parseFloat(h),!s||s<0)throw new ue("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var b=[],y=[b],E=[],T=[],A=u!=null?[]:void 0;function k(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function F(){A&&(e.gullet.macros.get("\\df@tag")?(A.push(e.subparse([new $t("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):A.push(!!u&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(k(),T.push(j1(e));;){var B=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var O={type:"ordgroup",mode:e.mode,body:B};r&&(O={type:"styling",mode:e.mode,style:r,body:[O]}),b.push(O);var M=e.fetch().text;if(M==="&"){if(f&&b.length===f){if(l||o)throw new ue("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(M==="\\end"){F(),b.length===1&&O.type==="styling"&&O.body.length===1&&O.body[0].type==="ordgroup"&&O.body[0].body.length===0&&(y.length>1||!c)&&y.pop(),T.length<y.length+1&&T.push([]);break}else if(M==="\\\\"){e.consume();var z=void 0;e.gullet.future().text!==" "&&(z=e.parseSizeGroup(!0)),E.push(z?z.value:null),F(),T.push(j1(e)),b=[],y.push(b),k()}else throw new ue("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:s,body:y,cols:i,rowGaps:E,hskipBeforeAndAfter:n,hLinesBeforeRow:T,colSeparationType:o,tags:A,leqno:p}}function Al(e){return e.slice(0,1)==="d"?"display":"text"}var xr=function(t,r){var n,a,i=t.body.length,s=t.hLinesBeforeRow,o=0,u=new Array(i),l=[],c=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,p=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var h=r.havingStyle(Ie.SCRIPT).sizeMultiplier;p=.2778*(h/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?at({number:3,unit:"ex"},r):12*f,y=3*f,E=t.arraystretch*b,T=.7*E,A=.3*E,k=0;function F(Se){for(var Oe=0;Oe<Se.length;++Oe)Oe>0&&(k+=.25),l.push({pos:k,isDashed:Se[Oe]})}for(F(s[0]),n=0;n<t.body.length;++n){var B=t.body[n],O=T,M=A;o<B.length&&(o=B.length);var z=new Array(B.length);for(a=0;a<B.length;++a){var U=$e(B[a],r);M<U.depth&&(M=U.depth),O<U.height&&(O=U.height),z[a]=U}var L=t.rowGaps[n],$=0;L&&($=at(L,r),$>0&&($+=A,M<$&&(M=$),$=0)),t.addJot&&n<t.body.length-1&&(M+=y),z.height=O,z.depth=M,k+=O,z.pos=k,k+=M+$,u[n]=z,F(s[n+1])}var te=k/2+r.fontMetrics().axisHeight,ge=t.cols||[],X=[],W,V,ie=[];if(t.tags&&t.tags.some(Se=>Se))for(n=0;n<i;++n){var J=u[n],he=J.pos-te,C=t.tags[n],K=void 0;C===!0?K=ne(["eqn-num"],[],r):C===!1?K=ne([],[],r):K=ne([],yt(C,r,!0),r),K.depth=J.depth,K.height=J.height,ie.push({type:"elem",elem:K,shift:he})}for(a=0,V=0;a<o||V<ge.length;++a,++V){for(var Q,I=ge[V],me=!0;((ve=I)==null?void 0:ve.type)==="separator";){var ve;if(me||(W=ne(["arraycolsep"],[]),W.style.width=fe(r.fontMetrics().doubleRuleSep),X.push(W)),I.separator==="|"||I.separator===":"){var Ce=I.separator==="|"?"solid":"dashed",He=ne(["vertical-separator"],[],r);He.style.height=fe(k),He.style.borderRightWidth=fe(c),He.style.borderRightStyle=Ce,He.style.margin="0 "+fe(-c/2);var Ze=k-te;Ze&&(He.style.verticalAlign=fe(-Ze)),X.push(He)}else throw new ue("Invalid separator type: "+I.separator);V++,I=ge[V],me=!1}if(!(a>=o)){var qe=void 0;if(a>0||t.hskipBeforeAndAfter){var Be,pt;qe=(Be=(pt=I)==null?void 0:pt.pregap)!=null?Be:p,qe!==0&&(W=ne(["arraycolsep"],[]),W.style.width=fe(qe),X.push(W))}var Tt=[];for(n=0;n<i;++n){var Dt=u[n],Fr=Dt[a];if(Fr){var on=Dt.pos-te;Fr.depth=Dt.depth,Fr.height=Dt.height,Tt.push({type:"elem",elem:Fr,shift:on})}}var un=je({positionType:"individualShift",children:Tt}),ln=ne(["col-align-"+(((Q=I)==null?void 0:Q.align)||"c")],[un]);if(X.push(ln),a<o-1||t.hskipBeforeAndAfter){var cn,Br;qe=(cn=(Br=I)==null?void 0:Br.postgap)!=null?cn:p,qe!==0&&(W=ne(["arraycolsep"],[]),W.style.width=fe(qe),X.push(W))}}}var Te=ne(["mtable"],X);if(l.length>0){for(var Ke=ta("hline",r,c),Ye=ta("hdashline",r,c),ze=[{type:"elem",elem:Te,shift:0}];l.length>0;){var er=l.pop(),ur=er.pos-te;er.isDashed?ze.push({type:"elem",elem:Ye,shift:ur}):ze.push({type:"elem",elem:Ke,shift:ur})}Te=je({positionType:"individualShift",children:ze})}if(ie.length===0)return ne(["mord"],[Te],r);var Y=je({positionType:"individualShift",children:ie}),de=ne(["tag"],[Y],r);return Lr([Te,de])},qy={c:"center ",l:"left ",r:"right "},Er=function(t,r){for(var n=[],a=new le("mtd",[],["mtr-glue"]),i=new le("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],u=[],l=0;l<o.length;l++)u.push(new le("mtd",[Ge(o[l],r)]));t.tags&&t.tags[s]&&(u.unshift(a),u.push(a),t.leqno?u.unshift(i):u.push(i)),n.push(new le("mtr",u))}var c=new le("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",fe(f));var p="",h="";if(t.cols&&t.cols.length>0){var b=t.cols,y="",E=!1,T=0,A=b.length;b[0].type==="separator"&&(p+="top ",T=1),b[b.length-1].type==="separator"&&(p+="bottom ",A-=1);for(var k=T;k<A;k++){var F=b[k];F.type==="align"?(h+=qy[F.align],E&&(y+="none "),E=!0):F.type==="separator"&&E&&(y+=F.separator==="|"?"solid ":"dashed ",E=!1)}c.setAttribute("columnalign",h.trim()),/[sd]/.test(y)&&c.setAttribute("columnlines",y.trim())}if(t.colSeparationType==="align"){for(var B=t.cols||[],O="",M=1;M<B.length;M++)O+=M%2?"0em ":"1em ";c.setAttribute("columnspacing",O.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var z="",U=t.hLinesBeforeRow;p+=U[0].length>0?"left ":"",p+=U[U.length-1].length>0?"right ":"";for(var L=1;L<U.length-1;L++)z+=U[L].length===0?"none ":U[L][0]?"dashed ":"solid ";return/[sd]/.test(z)&&c.setAttribute("rowlines",z.trim()),p!==""&&(c=new le("menclose",[c]),c.setAttribute("notation",p.trim())),t.arraystretch&&t.arraystretch<1&&(c=new le("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},rp=function(t,r){t.envName.includes("ed")||f0(t);var n=[],a=t.envName.includes("at")?"alignat":"align",i=t.envName==="split",s=sn(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:wl(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),o=0,u=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",f=0;f<r[0].body.length;f++){var p=Ne(r[0].body[f],"textord");c+=p.text}o=Number(c),u=o*2}var h=!u;s.body.forEach(function(T){for(var A=1;A<T.length;A+=2){var k=Ne(T[A],"styling"),F=Ne(k.body[0],"ordgroup");F.body.unshift(l)}if(h)u<T.length&&(u=T.length);else{var B=T.length/2;if(o<B)throw new ue("Too many math in a row: "+("expected "+o+", but got "+B),T[0])}});for(var b=0;b<u;++b){var y="r",E=0;b%2===1?y="l":b>0&&h&&(E=1),n[b]={type:"align",align:y,pregap:E,postgap:0}}return s.colSeparationType=h?"align":"alignat",s};yr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=s0(t[0]),n=r?[t[0]]:Ne(t[0],"ordgroup").body,a=n.map(function(s){var o=i0(s),u=o.text;if("lcr".includes(u))return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new ue("Unknown column alignment: "+u,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return sn(e.parser,i,Al(e.envName))},htmlBuilder:xr,mathmlBuilder:Er});yr({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 a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!"lcr".includes(r))throw new ue("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=sn(e.parser,n,Al(e.envName)),s=Math.max(0,...i.body.map(o=>o.length));return i.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=sn(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=s0(t[0]),n=r?[t[0]]:Ne(t[0],"ordgroup").body,a=n.map(function(o){var u=i0(o),l=u.text;if("lc".includes(l))return{type:"align",align:l};throw new ue("Unknown column alignment: "+l,o)});if(a.length>1)throw new ue("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},s=sn(e.parser,i,"script");if(s.body.length>0&&s.body[0].length>1)throw new ue("{subarray} can contain only one column");return s},htmlBuilder:xr,mathmlBuilder:Er});yr({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=sn(e.parser,t,Al(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rp,htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){$y.has(e.envName)&&f0(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:wl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return sn(e.parser,t,"display")},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rp,htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){f0(e);var t={autoTag:wl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return sn(e.parser,t,"display")},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return f0(e),Oy(e.parser)},htmlBuilder:xr,mathmlBuilder:Er});v("\\nonumber","\\gdef\\@eqnsw{0}");v("\\notag","\\nonumber");pe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ue(e.funcName+" valid only within array environment")}});var $1=ep;pe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new ue("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=Ne(a.body[s],"textord").text;if(n==="\\begin"){if(!$1.hasOwnProperty(i))throw new ue("No such environment: "+i,a);var o=$1[i],{args:u,optArgs:l}=r.parseArguments("\\begin{"+i+"}",o),c={mode:r.mode,envName:i,parser:r},f=o.handler(c,u,l);r.expect("\\end",!1);var p=r.nextToken,h=Ne(r.parseFunction(),"environment");if(h.name!==i)throw new ue("Mismatch: \\begin{"+i+"} matched by \\end{"+h.name+"}",p);return f}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var np=(e,t)=>{var r=e.font,n=t.withFont(r);return $e(e.body,n)},ap=(e,t)=>{var r=e.font,n=t.withFont(r);return Ge(e.body,n)},q1={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};pe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=ws(t[0]),i=n;return i in q1&&(i=q1[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:np,mathmlBuilder:ap});pe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:o0(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:Rr(n)}}});pe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,s=r.parseExpression(!0,a),o="math"+n.slice(1);return{type:"font",mode:i,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:np,mathmlBuilder:ap});var Yy=(e,t)=>{var r=t.style,n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var s=$e(e.numer,i,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<u?u:s.depth}i=t.havingStyle(a);var l=$e(e.denom,i,t),c,f,p;e.hasBarLine?(e.barSize?(f=at(e.barSize,t),c=ta("frac-line",t,f)):c=ta("frac-line",t),f=c.height,p=c.height):(c=null,f=0,p=t.fontMetrics().defaultRuleThickness);var h,b,y;r.size===Ie.DISPLAY.size?(h=t.fontMetrics().num1,f>0?b=3*p:b=7*p,y=t.fontMetrics().denom1):(f>0?(h=t.fontMetrics().num2,b=p):(h=t.fontMetrics().num3,b=3*p),y=t.fontMetrics().denom2);var E;if(c){var A=t.fontMetrics().axisHeight;h-s.depth-(A+.5*f)<b&&(h+=b-(h-s.depth-(A+.5*f))),A-.5*f-(l.height-y)<b&&(y+=b-(A-.5*f-(l.height-y)));var k=-(A-.5*f);E=je({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:c,shift:k},{type:"elem",elem:s,shift:-h}]})}else{var T=h-s.depth-(l.height-y);T<b&&(h+=.5*(b-T),y+=.5*(b-T)),E=je({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:s,shift:-h}]})}i=t.havingStyle(r),E.height*=i.sizeMultiplier/t.sizeMultiplier,E.depth*=i.sizeMultiplier/t.sizeMultiplier;var F;r.size===Ie.DISPLAY.size?F=t.fontMetrics().delim1:r.size===Ie.SCRIPTSCRIPT.size?F=t.havingStyle(Ie.SCRIPT).fontMetrics().delim2:F=t.fontMetrics().delim2;var B,O;return e.leftDelim==null?B=ri(t,["mopen"]):B=fu(e.leftDelim,F,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?O=ne([]):e.rightDelim==null?O=ri(t,["mclose"]):O=fu(e.rightDelim,F,!0,t.havingStyle(r),e.mode,["mclose"]),ne(["mord"].concat(i.sizingClasses(t)),[B,ne(["mfrac"],[E]),O],t)},Wy=(e,t)=>{var r=new le("mfrac",[Ge(e.numer,t),Ge(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=at(e.barSize,t);r.setAttribute("linethickness",fe(n))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var i=new le("mo",[new ht(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),e.rightDelim!=null){var s=new le("mo",[new ht(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return xl(a)}return r},ip=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};pe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],s,o=null,u=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",u=")";break;case"\\\\bracefrac":s=!1,o="\\{",u="\\}";break;case"\\\\brackfrac":s=!1,o="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}var l=n==="\\cfrac",c=null;return l||n.startsWith("\\d")?c="display":n.startsWith("\\t")&&(c="text"),ip({type:"genfrac",mode:r.mode,numer:a,denom:i,continued:l,hasBarLine:s,leftDelim:o,rightDelim:u,barSize:null},c)},htmlBuilder:Yy,mathmlBuilder:Wy});pe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var Y1=["display","text","script","scriptscript"],W1=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};pe({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],a=t[5],i=ws(t[0]),s=i.type==="atom"&&i.family==="open"?W1(i.text):null,o=ws(t[1]),u=o.type==="atom"&&o.family==="close"?W1(o.text):null,l=Ne(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var p=null,h=t[3];if(h.type==="ordgroup"){if(h.body.length>0){var b=Ne(h.body[0],"textord");p=Y1[Number(b.text)]}}else h=Ne(h,"textord"),p=Y1[Number(h.text)];return ip({type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:c,barSize:f,leftDelim:s,rightDelim:u},p)}});pe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ne(t[0],"size").value,token:a}}});pe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=Ne(t[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var s=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null}}});var sp=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?$e(e.sup,t.havingStyle(r.sup()),t):$e(e.sub,t.havingStyle(r.sub()),t),a=Ne(e.base,"horizBrace")):a=Ne(e,"horizBrace");var i=$e(a.base,t.havingBaseStyle(Ie.DISPLAY)),s=a0(a,t),o;if(a.isOver?(o=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]}),o.children[0].children[0].children[1].classes.push("svg-align")):(o=je({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]}),o.children[0].children[0].children[0].classes.push("svg-align")),n){var u=ne(["minner",a.isOver?"mover":"munder"],[o],t);a.isOver?o=je({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]}):o=je({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]})}return ne(["minner",a.isOver?"mover":"munder"],[o],t)},Vy=(e,t)=>{var r=n0(e.label);return new le(e.isOver?"mover":"munder",[Ge(e.base,t),r])};pe({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:sp,mathmlBuilder:Vy});pe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=Ne(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:dt(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=yt(e.body,t,!1);return cy(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Zr(e.body,t);return r instanceof le||(r=new le("mrow",[r])),r.setAttribute("href",e.href),r}});pe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Ne(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var s=n[i];s==="~"&&(s="\\textasciitilde"),a.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:dt(o)}}});pe({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:dt(t[0])}},htmlBuilder(e,t){var r=yt(e.body,t,!1);return Lr(r)},mathmlBuilder(e,t){return new le("mrow",Wt(e.body,t))}});pe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=Ne(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,u={};switch(n){case"\\htmlClass":u.class=i,o={command:"\\htmlClass",class:i};break;case"\\htmlId":u.id=i,o={command:"\\htmlId",id:i};break;case"\\htmlStyle":u.style=i,o={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var l=i.split(","),c=0;c<l.length;c++){var f=l[c],p=f.indexOf("=");if(p<0)throw new ue("\\htmlData key/value '"+f+"' missing equals sign");var h=f.slice(0,p),b=f.slice(p+1);u["data-"+h.trim()]=b}o={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:u,body:dt(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=yt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=ne(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>Zr(e.body,t)});pe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:dt(t[0]),mathml:dt(t[1])}},htmlBuilder:(e,t)=>{var r=yt(e.html,t,!1);return Lr(r)},mathmlBuilder:(e,t)=>Zr(e.mathml,t)});var oo=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 ue("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!wm(n))throw new ue("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};pe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var u=Ne(r[0],"raw").string,l=u.split(","),c=0;c<l.length;c++){var f=l[c].split("=");if(f.length===2){var p=f[1].trim();switch(f[0].trim()){case"alt":o=p;break;case"width":a=oo(p);break;case"height":i=oo(p);break;case"totalheight":s=oo(p);break;default:throw new ue("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var h=Ne(t[0],"url").url;return o===""&&(o=h,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:h})?{type:"includegraphics",mode:n.mode,alt:o,width:a,height:i,totalheight:s,src:h}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=at(e.height,t),n=0;e.totalheight.number>0&&(n=at(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=at(e.width,t));var i={height:fe(r+n)};a>0&&(i.width=fe(a)),n>0&&(i.verticalAlign=fe(-n));var s=new J9(e.src,e.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new le("mglyph",[]);r.setAttribute("alt",e.alt);var n=at(e.height,t),a=0;if(e.totalheight.number>0&&(a=at(e.totalheight,t)-n,r.setAttribute("valign",fe(-a))),r.setAttribute("height",fe(n+a)),e.width.number>0){var i=at(e.width,t);r.setAttribute("width",fe(i))}return r.setAttribute("src",e.src),r}});pe({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,a=Ne(t[0],"size");if(r.settings.strict){var i=n[1]==="m",s=a.value.unit==="mu";i?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.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:a.value}},htmlBuilder(e,t){return _m(e.dimension,t)},mathmlBuilder(e,t){var r=at(e.dimension,t);return new Mm(r)}});pe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=ne([],[$e(e.body,t)]),r=ne(["inner"],[r],t)):r=ne(["inner"],[$e(e.body,t)]);var n=ne(["fix"],[]),a=ne([e.alignment],[r,n],t),i=ne(["strut"]);return i.style.height=fe(a.height+a.depth),a.depth&&(i.style.verticalAlign=fe(-a.depth)),a.children.unshift(i),a=ne(["thinbox"],[a],t),ne(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new le("mpadded",[Ge(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}});pe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",s=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:s}}});pe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ue("Mismatched "+e.funcName)}});var V1=(e,t)=>{switch(t.style.size){case Ie.DISPLAY.size:return e.display;case Ie.TEXT.size:return e.text;case Ie.SCRIPT.size:return e.script;case Ie.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};pe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:dt(t[0]),text:dt(t[1]),script:dt(t[2]),scriptscript:dt(t[3])}},htmlBuilder:(e,t)=>{var r=V1(e,t),n=yt(r,t,!1);return Lr(n)},mathmlBuilder:(e,t)=>{var r=V1(e,t);return Zr(r,t)}});var op=(e,t,r,n,a,i,s)=>{e=ne([],[e]);var o=r&&Rr(r),u,l;if(t){var c=$e(t,n.havingStyle(a.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=$e(r,n.havingStyle(a.sub()),n);u={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var p;if(l&&u){var h=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+s;p=je({positionType:"bottom",positionData:h,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:fe(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:fe(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(u){var b=e.height-s;p=je({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:fe(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e}]})}else if(l){var y=e.depth+s;p=je({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:fe(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return e;var E=[p];if(u&&i!==0&&!o){var T=ne(["mspace"],[],n);T.style.marginRight=fe(i),E.unshift(T)}return ne(["mop","op-limits"],E,n)},up=new Set(["\\smallint"]),ma=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ne(e.base,"op"),a=!0):i=Ne(e,"op");var s=t.style,o=!1;s.size===Ie.DISPLAY.size&&i.symbol&&!up.has(i.name)&&(o=!0);var u;if(i.symbol){var l=o?"Size2-Regular":"Size1-Regular",c="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(c=i.name.slice(1),i.name=c==="oiint"?"\\iint":"\\iiint"),u=_t(i.name,l,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),c.length>0){var f=u.italic,p=Om(c+"Size"+(o?"2":"1"),t);u=je({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:p,shift:o?.08:0}]}),i.name="\\"+c,u.classes.unshift("mop"),u.italic=f}}else if(i.body){var h=yt(i.body,t,!0);h.length===1&&h[0]instanceof qt?(u=h[0],u.classes[0]="mop"):u=ne(["mop"],h,t)}else{for(var b=[],y=1;y<i.name.length;y++)b.push(bl(i.name[y],i.mode,t));u=ne(["mop"],b,t)}var E=0,T=0;return(u instanceof qt||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(E=(u.height-u.depth)/2-t.fontMetrics().axisHeight,T=u.italic||0),a?op(u,r,n,t,s,T,E):(E&&(u.style.position="relative",u.style.top=fe(E)),u)},Ei=(e,t)=>{var r;if(e.symbol)r=new le("mo",[Zt(e.name,e.mode)]),up.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new le("mo",Wt(e.body,t));else{r=new le("mi",[new ht(e.name.slice(1))]);var n=new le("mo",[Zt("","text")]);e.parentIsSupSub?r=new le("mrow",[r,n]):r=Lm([r,n])}return r},Gy={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};pe({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,a=n;return a.length===1&&(a=Gy[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ma,mathmlBuilder:Ei});pe({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:dt(n)}},htmlBuilder:ma,mathmlBuilder:Ei});var Xy={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};pe({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:ma,mathmlBuilder:Ei});pe({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:ma,mathmlBuilder:Ei});pe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Xy[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ma,mathmlBuilder:Ei});var lp=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ne(e.base,"operatorname"),a=!0):i=Ne(e,"operatorname");var s;if(i.body.length>0){for(var o=i.body.map(f=>{var p="text"in f?f.text:void 0;return typeof p=="string"?{type:"textord",mode:f.mode,text:p}:f}),u=yt(o,t.withFont("mathrm"),!0),l=0;l<u.length;l++){var c=u[l];c instanceof qt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=ne(["mop"],u,t)}else s=ne(["mop"],[],t);return a?op(s,r,n,t,t.style,0,0):s},Ky=(e,t)=>{for(var r=Wt(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof Mm))if(i instanceof le)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof ht?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(c=>c.toText()).join("");r=[new ht(o)]}var u=new le("mi",r);u.setAttribute("mathvariant","normal");var l=new le("mo",[Zt("","text")]);return e.parentIsSupSub?new le("mrow",[u,l]):Lm([u,l])};pe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:dt(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:lp,mathmlBuilder:Ky});v("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Rn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Lr(yt(e.body,t,!1)):ne(["mord"],yt(e.body,t,!0),t)},mathmlBuilder(e,t){return Zr(e.body,t,!0)}});pe({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=$e(e.body,t.havingCrampedStyle()),n=ta("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=je({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return ne(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new le("mo",[new ht("‾")]);r.setAttribute("stretchy","true");var n=new le("mover",[Ge(e.body,t),r]);return n.setAttribute("accent","true"),n}});pe({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:dt(n)}},htmlBuilder:(e,t)=>{var r=yt(e.body,t.withPhantom(),!1);return Lr(r)},mathmlBuilder:(e,t)=>{var r=Wt(e.body,t);return new le("mphantom",r)}});v("\\hphantom","\\smash{\\phantom{#1}}");pe({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=ne(["inner"],[$e(e.body,t.withPhantom())]),n=ne(["fix"],[]);return ne(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Wt(dt(e.body),t),n=new le("mphantom",r),a=new le("mpadded",[n]);return a.setAttribute("width","0px"),a}});pe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Ne(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=$e(e.body,t),n=at(e.dy,t);return je({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new le("mpadded",[Ge(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});pe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});pe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=Ne(t[0],"size"),s=Ne(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&Ne(a,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=ne(["mord","rule"],[],t),n=at(e.width,t),a=at(e.height,t),i=e.shift?at(e.shift,t):0;return r.style.borderRightWidth=fe(n),r.style.borderTopWidth=fe(a),r.style.bottom=fe(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=at(e.width,t),n=at(e.height,t),a=e.shift?at(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new le("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",fe(r)),s.setAttribute("height",fe(n));var o=new le("mpadded",[s]);return a>=0?o.setAttribute("height",fe(a)):(o.setAttribute("height",fe(a)),o.setAttribute("depth",fe(-a))),o.setAttribute("voffset",fe(a)),o}});function cp(e,t,r){for(var n=yt(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var s=n[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[s+1]==="reset-size"+t.size&&(n[i].classes[s+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return Lr(n)}var G1=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Qy=(e,t)=>{var r=t.havingSize(e.size);return cp(e.body,r,t)};pe({type:"sizing",names:G1,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:G1.indexOf(n)+1,body:i}},htmlBuilder:Qy,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Wt(e.body,r),a=new le("mstyle",n);return a.setAttribute("mathsize",fe(r.sizeMultiplier)),a}});pe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,s=r[0]&&Ne(r[0],"ordgroup");if(s)for(var o="",u=0;u<s.body.length;++u){var l=s.body[u];if(o=i0(l).text,o==="t")a=!0;else if(o==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=ne([],[$e(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return ne(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);var a=je({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return ne(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new le("mpadded",[Ge(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});pe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=$e(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=ra(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<Ie.TEXT.id&&(i=t.fontMetrics().xHeight);var s=a+i/4,o=r.height+r.depth+s+a,{span:u,ruleWidth:l,advanceWidth:c}=Fy(o,t),f=u.height-l;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var p=u.height-r.height-s-l;r.style.paddingLeft=fe(c);var h=je({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:u},{type:"kern",size:l}]});if(e.index){var b=t.havingStyle(Ie.SCRIPTSCRIPT),y=$e(e.index,b,t),E=.6*(h.height-h.depth),T=je({positionType:"shift",positionData:-E,children:[{type:"elem",elem:y}]}),A=ne(["root"],[T]);return ne(["mord","sqrt"],[A,h],t)}else return ne(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new le("mroot",[Ge(r,t),Ge(n,t)]):new le("msqrt",[Ge(r,t)])}});var X1={display:Ie.DISPLAY,text:Ie.TEXT,script:Ie.SCRIPT,scriptscript:Ie.SCRIPTSCRIPT};pe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:s,body:i}},htmlBuilder(e,t){var r=X1[e.style],n=t.havingStyle(r).withFont("");return cp(e.body,n,t)},mathmlBuilder(e,t){var r=X1[e.style],n=t.havingStyle(r),a=Wt(e.body,n),i=new le("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});var Jy=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===Ie.DISPLAY.size||n.alwaysHandleSupSub);return a?ma:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===Ie.DISPLAY.size||n.limits);return i?lp:null}else{if(n.type==="accent")return Rr(n.base)?Tl:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?sp:null}else return null}else return null};Rn({type:"supsub",htmlBuilder(e,t){var r=Jy(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,s=$e(n,t),o,u,l=t.fontMetrics(),c=0,f=0,p=n&&Rr(n);if(a){var h=t.havingStyle(t.style.sup());o=$e(a,h,t),p||(c=s.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(i){var b=t.havingStyle(t.style.sub());u=$e(i,b,t),p||(f=s.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var y;t.style===Ie.DISPLAY?y=l.sup1:t.style.cramped?y=l.sup3:y=l.sup2;var E=t.sizeMultiplier,T=fe(.5/l.ptPerEm/E),A=null;if(u){var k=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof qt||k)&&(A=fe(-s.italic))}var F;if(o&&u){c=Math.max(c,y,o.depth+.25*l.xHeight),f=Math.max(f,l.sub2);var B=l.defaultRuleThickness,O=4*B;if(c-o.depth-(u.height-f)<O){f=O-(c-o.depth)+u.height;var M=.8*l.xHeight-(c-o.depth);M>0&&(c+=M,f-=M)}var z=[{type:"elem",elem:u,shift:f,marginRight:T,marginLeft:A},{type:"elem",elem:o,shift:-c,marginRight:T}];F=je({positionType:"individualShift",children:z})}else if(u){f=Math.max(f,l.sub1,u.height-.8*l.xHeight);var U=[{type:"elem",elem:u,marginLeft:A,marginRight:T}];F=je({positionType:"shift",positionData:f,children:U})}else if(o)c=Math.max(c,y,o.depth+.25*l.xHeight),F=je({positionType:"shift",positionData:-c,children:[{type:"elem",elem:o,marginRight:T}]});else throw new Error("supsub must have either sup or sub.");var L=ou(s,"right")||"mord";return ne([L],[s,ne(["msupsub"],[F])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[Ge(e.base,t)];e.sub&&i.push(Ge(e.sub,t)),e.sup&&i.push(Ge(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===Ie.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===Ie.DISPLAY||l.limits)?s="munderover":s="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===Ie.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===Ie.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===Ie.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===Ie.DISPLAY)?s="mover":s="msup"}return new le(s,i)}});Rn({type:"atom",htmlBuilder(e,t){return bl(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new le("mo",[Zt(e.text,e.mode)]);if(e.family==="bin"){var n=El(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 fp={mi:"italic",mn:"normal",mtext:"normal"};Rn({type:"mathord",htmlBuilder(e,t){return r0(e,t,"mathord")},mathmlBuilder(e,t){var r=new le("mi",[Zt(e.text,e.mode,t)]),n=El(e,t)||"italic";return n!==fp[r.type]&&r.setAttribute("mathvariant",n),r}});Rn({type:"textord",htmlBuilder(e,t){return r0(e,t,"textord")},mathmlBuilder(e,t){var r=Zt(e.text,e.mode,t),n=El(e,t)||"normal",a;return e.mode==="text"?a=new le("mtext",[r]):/[0-9]/.test(e.text)?a=new le("mn",[r]):e.text==="\\prime"?a=new le("mo",[r]):a=new le("mi",[r]),n!==fp[a.type]&&a.setAttribute("mathvariant",n),a}});var uo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},lo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Rn({type:"spacing",htmlBuilder(e,t){if(lo.hasOwnProperty(e.text)){var r=lo[e.text].className||"";if(e.mode==="text"){var n=r0(e,t,"textord");return n.classes.push(r),n}else return ne(["mspace",r],[bl(e.text,e.mode,t)],t)}else{if(uo.hasOwnProperty(e.text))return ne(["mspace",uo[e.text]],[],t);throw new ue('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(lo.hasOwnProperty(e.text))r=new le("mtext",[new ht(" ")]);else{if(uo.hasOwnProperty(e.text))return new le("mspace");throw new ue('Unknown type of space "'+e.text+'"')}return r}});var K1=()=>{var e=new le("mtd",[]);return e.setAttribute("width","50%"),e};Rn({type:"tag",mathmlBuilder(e,t){var r=new le("mtable",[new le("mtr",[K1(),new le("mtd",[Zr(e.body,t)]),K1(),new le("mtd",[Zr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Q1={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},J1={"\\textbf":"textbf","\\textmd":"textmd"},Zy={"\\textit":"textit","\\textup":"textup"},Z1=(e,t)=>{var r=e.font;if(r){if(Q1[r])return t.withTextFontFamily(Q1[r]);if(J1[r])return t.withTextFontWeight(J1[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Zy[r])};pe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:dt(a),font:n}},htmlBuilder(e,t){var r=Z1(e,t),n=yt(e.body,r,!0);return ne(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Z1(e,t);return Zr(e.body,r)}});pe({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=$e(e.body,t),n=ta("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=je({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return ne(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new le("mo",[new ht("‾")]);r.setAttribute("stretchy","true");var n=new le("munder",[Ge(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});pe({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=$e(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return je({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new le("mpadded",[Ge(e.body,t)],["vcenter"]);return new le("mrow",[r])}});pe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new ue("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=ef(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(_t(s,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return ne(["mord","text"].concat(a.sizingClasses(t)),Im(n),a)},mathmlBuilder(e,t){var r=new ht(ef(e)),n=new le("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var ef=e=>e.body.replace(/ /g,e.star?"␣":" "),Gr=Rm,dp=`[ \r
|
|
279
|
+
-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 fa{constructor(t){this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(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 tu={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},K9={ex:!0,em:!0,mu:!0},wm=function(t){return typeof t!="string"&&(t=t.unit),t in tu||t in K9||t==="ex"},at=function(t,r){var n;if(t.unit in tu)n=tu[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new ue("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},fe=function(t){return+t.toFixed(4)+"em"},Kr=function(t){return t.filter(r=>r).join(" ")},Am=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 a=r.getColor();a&&(this.style.color=a)}},Sm=function(t){var r=document.createElement(t);r.className=Kr(this.classes);for(var n of Object.keys(this.style))r.style[n]=this.style[n];for(var a of Object.keys(this.attributes))r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},Q9=/[\s"'>/=\x00-\x1f]/,km=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+At(Kr(this.classes))+'"');var n="";for(var a of Object.keys(this.style))n+=hl(a)+":"+this.style[a]+";";n&&(r+=' style="'+At(n)+'"');for(var i of Object.keys(this.attributes)){if(Q9.test(i))throw new ue("Invalid attribute name '"+i+"'");r+=" "+i+'="'+At(this.attributes[i])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class da{constructor(t,r,n,a){Am.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return Sm.call(this,"span")}toMarkup(){return km.call(this,"span")}}class e0{constructor(t,r,n,a){Am.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return Sm.call(this,"a")}toMarkup(){return km.call(this,"a")}}class J9{constructor(t,r,n){this.alt=r,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r of Object.keys(this.style))t.style[r]=this.style[r];return t}toMarkup(){var t='<img src="'+At(this.src)+'"'+(' alt="'+At(this.alt)+'"'),r="";for(var n of Object.keys(this.style))r+=hl(n)+":"+this.style[n]+";";return r&&(t+=' style="'+At(r)+'"'),t+="'/>",t}}var Z9={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class qt{constructor(t,r,n,a,i,s,o,u){this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=s||0,this.classes=o||[],this.style=u||{},this.maxFontSize=0;var l=z9(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Z9[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=fe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Kr(this.classes));for(var n of Object.keys(this.style))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+=At(Kr(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+fe(this.italic)+";");for(var a of Object.keys(this.style))n+=hl(a)+":"+this.style[a]+";";n&&(t=!0,r+=' style="'+At(n)+'"');var i=At(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class _r{constructor(t,r){this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r of Object.keys(this.attributes))t+=" "+r+'="'+At(this.attributes[r])+'"';t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Qr{constructor(t,r){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",I1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+At(this.alternate)+'"/>':'<path d="'+At(I1[this.pathName])+'"/>'}}class ru{constructor(t){this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r of Object.keys(this.attributes))t+=" "+r+'="'+At(this.attributes[r])+'"';return t+="/>",t}}function ey(e){if(e instanceof qt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function ty(e){if(e instanceof da)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var ry=e=>e instanceof da||e instanceof e0||e instanceof fa,hr={"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]}},Li={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]},_1={Å:"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 ny(e,t){hr[e]=t}function gl(e,t,r){if(!hr[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=hr[t][n];if(!a&&e[0]in _1&&(n=_1[e[0]].charCodeAt(0),a=hr[t][n]),!a&&r==="text"&&vm(n)&&(a=hr[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var X0={};function ay(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!X0[t]){var r=X0[t]={cssEmPerMu:Li.quad[t]/18};for(var n in Li)Li.hasOwnProperty(n)&&(r[n]=Li[n][t])}return X0[t]}var iy={bin:1,close:1,inner:1,open:1,punct:1,rel:1},sy={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},tt={math:{},text:{}};function m(e,t,r,n,a,i){tt[e][a]={font:t,group:r,replace:n},i&&n&&(tt[e][n]=tt[e][a])}var g="math",Z="text",x="main",O="ams",rt="accent-token",be="bin",Rt="close",ha="inner",we="mathord",mt="op-token",Yt="open",xi="punct",R="rel",Dr="spacing",P="textord";m(g,x,R,"≡","\\equiv",!0);m(g,x,R,"≺","\\prec",!0);m(g,x,R,"≻","\\succ",!0);m(g,x,R,"∼","\\sim",!0);m(g,x,R,"⊥","\\perp");m(g,x,R,"⪯","\\preceq",!0);m(g,x,R,"⪰","\\succeq",!0);m(g,x,R,"≃","\\simeq",!0);m(g,x,R,"∣","\\mid",!0);m(g,x,R,"≪","\\ll",!0);m(g,x,R,"≫","\\gg",!0);m(g,x,R,"≍","\\asymp",!0);m(g,x,R,"∥","\\parallel");m(g,x,R,"⋈","\\bowtie",!0);m(g,x,R,"⌣","\\smile",!0);m(g,x,R,"⊑","\\sqsubseteq",!0);m(g,x,R,"⊒","\\sqsupseteq",!0);m(g,x,R,"≐","\\doteq",!0);m(g,x,R,"⌢","\\frown",!0);m(g,x,R,"∋","\\ni",!0);m(g,x,R,"∝","\\propto",!0);m(g,x,R,"⊢","\\vdash",!0);m(g,x,R,"⊣","\\dashv",!0);m(g,x,R,"∋","\\owns");m(g,x,xi,".","\\ldotp");m(g,x,xi,"⋅","\\cdotp");m(g,x,xi,"⋅","·");m(Z,x,P,"⋅","·");m(g,x,P,"#","\\#");m(Z,x,P,"#","\\#");m(g,x,P,"&","\\&");m(Z,x,P,"&","\\&");m(g,x,P,"ℵ","\\aleph",!0);m(g,x,P,"∀","\\forall",!0);m(g,x,P,"ℏ","\\hbar",!0);m(g,x,P,"∃","\\exists",!0);m(g,x,P,"∇","\\nabla",!0);m(g,x,P,"♭","\\flat",!0);m(g,x,P,"ℓ","\\ell",!0);m(g,x,P,"♮","\\natural",!0);m(g,x,P,"♣","\\clubsuit",!0);m(g,x,P,"℘","\\wp",!0);m(g,x,P,"♯","\\sharp",!0);m(g,x,P,"♢","\\diamondsuit",!0);m(g,x,P,"ℜ","\\Re",!0);m(g,x,P,"♡","\\heartsuit",!0);m(g,x,P,"ℑ","\\Im",!0);m(g,x,P,"♠","\\spadesuit",!0);m(g,x,P,"§","\\S",!0);m(Z,x,P,"§","\\S");m(g,x,P,"¶","\\P",!0);m(Z,x,P,"¶","\\P");m(g,x,P,"†","\\dag");m(Z,x,P,"†","\\dag");m(Z,x,P,"†","\\textdagger");m(g,x,P,"‡","\\ddag");m(Z,x,P,"‡","\\ddag");m(Z,x,P,"‡","\\textdaggerdbl");m(g,x,Rt,"⎱","\\rmoustache",!0);m(g,x,Yt,"⎰","\\lmoustache",!0);m(g,x,Rt,"⟯","\\rgroup",!0);m(g,x,Yt,"⟮","\\lgroup",!0);m(g,x,be,"∓","\\mp",!0);m(g,x,be,"⊖","\\ominus",!0);m(g,x,be,"⊎","\\uplus",!0);m(g,x,be,"⊓","\\sqcap",!0);m(g,x,be,"∗","\\ast");m(g,x,be,"⊔","\\sqcup",!0);m(g,x,be,"◯","\\bigcirc",!0);m(g,x,be,"∙","\\bullet",!0);m(g,x,be,"‡","\\ddagger");m(g,x,be,"≀","\\wr",!0);m(g,x,be,"⨿","\\amalg");m(g,x,be,"&","\\And");m(g,x,R,"⟵","\\longleftarrow",!0);m(g,x,R,"⇐","\\Leftarrow",!0);m(g,x,R,"⟸","\\Longleftarrow",!0);m(g,x,R,"⟶","\\longrightarrow",!0);m(g,x,R,"⇒","\\Rightarrow",!0);m(g,x,R,"⟹","\\Longrightarrow",!0);m(g,x,R,"↔","\\leftrightarrow",!0);m(g,x,R,"⟷","\\longleftrightarrow",!0);m(g,x,R,"⇔","\\Leftrightarrow",!0);m(g,x,R,"⟺","\\Longleftrightarrow",!0);m(g,x,R,"↦","\\mapsto",!0);m(g,x,R,"⟼","\\longmapsto",!0);m(g,x,R,"↗","\\nearrow",!0);m(g,x,R,"↩","\\hookleftarrow",!0);m(g,x,R,"↪","\\hookrightarrow",!0);m(g,x,R,"↘","\\searrow",!0);m(g,x,R,"↼","\\leftharpoonup",!0);m(g,x,R,"⇀","\\rightharpoonup",!0);m(g,x,R,"↙","\\swarrow",!0);m(g,x,R,"↽","\\leftharpoondown",!0);m(g,x,R,"⇁","\\rightharpoondown",!0);m(g,x,R,"↖","\\nwarrow",!0);m(g,x,R,"⇌","\\rightleftharpoons",!0);m(g,O,R,"≮","\\nless",!0);m(g,O,R,"","\\@nleqslant");m(g,O,R,"","\\@nleqq");m(g,O,R,"⪇","\\lneq",!0);m(g,O,R,"≨","\\lneqq",!0);m(g,O,R,"","\\@lvertneqq");m(g,O,R,"⋦","\\lnsim",!0);m(g,O,R,"⪉","\\lnapprox",!0);m(g,O,R,"⊀","\\nprec",!0);m(g,O,R,"⋠","\\npreceq",!0);m(g,O,R,"⋨","\\precnsim",!0);m(g,O,R,"⪹","\\precnapprox",!0);m(g,O,R,"≁","\\nsim",!0);m(g,O,R,"","\\@nshortmid");m(g,O,R,"∤","\\nmid",!0);m(g,O,R,"⊬","\\nvdash",!0);m(g,O,R,"⊭","\\nvDash",!0);m(g,O,R,"⋪","\\ntriangleleft");m(g,O,R,"⋬","\\ntrianglelefteq",!0);m(g,O,R,"⊊","\\subsetneq",!0);m(g,O,R,"","\\@varsubsetneq");m(g,O,R,"⫋","\\subsetneqq",!0);m(g,O,R,"","\\@varsubsetneqq");m(g,O,R,"≯","\\ngtr",!0);m(g,O,R,"","\\@ngeqslant");m(g,O,R,"","\\@ngeqq");m(g,O,R,"⪈","\\gneq",!0);m(g,O,R,"≩","\\gneqq",!0);m(g,O,R,"","\\@gvertneqq");m(g,O,R,"⋧","\\gnsim",!0);m(g,O,R,"⪊","\\gnapprox",!0);m(g,O,R,"⊁","\\nsucc",!0);m(g,O,R,"⋡","\\nsucceq",!0);m(g,O,R,"⋩","\\succnsim",!0);m(g,O,R,"⪺","\\succnapprox",!0);m(g,O,R,"≆","\\ncong",!0);m(g,O,R,"","\\@nshortparallel");m(g,O,R,"∦","\\nparallel",!0);m(g,O,R,"⊯","\\nVDash",!0);m(g,O,R,"⋫","\\ntriangleright");m(g,O,R,"⋭","\\ntrianglerighteq",!0);m(g,O,R,"","\\@nsupseteqq");m(g,O,R,"⊋","\\supsetneq",!0);m(g,O,R,"","\\@varsupsetneq");m(g,O,R,"⫌","\\supsetneqq",!0);m(g,O,R,"","\\@varsupsetneqq");m(g,O,R,"⊮","\\nVdash",!0);m(g,O,R,"⪵","\\precneqq",!0);m(g,O,R,"⪶","\\succneqq",!0);m(g,O,R,"","\\@nsubseteqq");m(g,O,be,"⊴","\\unlhd");m(g,O,be,"⊵","\\unrhd");m(g,O,R,"↚","\\nleftarrow",!0);m(g,O,R,"↛","\\nrightarrow",!0);m(g,O,R,"⇍","\\nLeftarrow",!0);m(g,O,R,"⇏","\\nRightarrow",!0);m(g,O,R,"↮","\\nleftrightarrow",!0);m(g,O,R,"⇎","\\nLeftrightarrow",!0);m(g,O,R,"△","\\vartriangle");m(g,O,P,"ℏ","\\hslash");m(g,O,P,"▽","\\triangledown");m(g,O,P,"◊","\\lozenge");m(g,O,P,"Ⓢ","\\circledS");m(g,O,P,"®","\\circledR");m(Z,O,P,"®","\\circledR");m(g,O,P,"∡","\\measuredangle",!0);m(g,O,P,"∄","\\nexists");m(g,O,P,"℧","\\mho");m(g,O,P,"Ⅎ","\\Finv",!0);m(g,O,P,"⅁","\\Game",!0);m(g,O,P,"‵","\\backprime");m(g,O,P,"▲","\\blacktriangle");m(g,O,P,"▼","\\blacktriangledown");m(g,O,P,"■","\\blacksquare");m(g,O,P,"⧫","\\blacklozenge");m(g,O,P,"★","\\bigstar");m(g,O,P,"∢","\\sphericalangle",!0);m(g,O,P,"∁","\\complement",!0);m(g,O,P,"ð","\\eth",!0);m(Z,x,P,"ð","ð");m(g,O,P,"╱","\\diagup");m(g,O,P,"╲","\\diagdown");m(g,O,P,"□","\\square");m(g,O,P,"□","\\Box");m(g,O,P,"◊","\\Diamond");m(g,O,P,"¥","\\yen",!0);m(Z,O,P,"¥","\\yen",!0);m(g,O,P,"✓","\\checkmark",!0);m(Z,O,P,"✓","\\checkmark");m(g,O,P,"ℶ","\\beth",!0);m(g,O,P,"ℸ","\\daleth",!0);m(g,O,P,"ℷ","\\gimel",!0);m(g,O,P,"ϝ","\\digamma",!0);m(g,O,P,"ϰ","\\varkappa");m(g,O,Yt,"┌","\\@ulcorner",!0);m(g,O,Rt,"┐","\\@urcorner",!0);m(g,O,Yt,"└","\\@llcorner",!0);m(g,O,Rt,"┘","\\@lrcorner",!0);m(g,O,R,"≦","\\leqq",!0);m(g,O,R,"⩽","\\leqslant",!0);m(g,O,R,"⪕","\\eqslantless",!0);m(g,O,R,"≲","\\lesssim",!0);m(g,O,R,"⪅","\\lessapprox",!0);m(g,O,R,"≊","\\approxeq",!0);m(g,O,be,"⋖","\\lessdot");m(g,O,R,"⋘","\\lll",!0);m(g,O,R,"≶","\\lessgtr",!0);m(g,O,R,"⋚","\\lesseqgtr",!0);m(g,O,R,"⪋","\\lesseqqgtr",!0);m(g,O,R,"≑","\\doteqdot");m(g,O,R,"≓","\\risingdotseq",!0);m(g,O,R,"≒","\\fallingdotseq",!0);m(g,O,R,"∽","\\backsim",!0);m(g,O,R,"⋍","\\backsimeq",!0);m(g,O,R,"⫅","\\subseteqq",!0);m(g,O,R,"⋐","\\Subset",!0);m(g,O,R,"⊏","\\sqsubset",!0);m(g,O,R,"≼","\\preccurlyeq",!0);m(g,O,R,"⋞","\\curlyeqprec",!0);m(g,O,R,"≾","\\precsim",!0);m(g,O,R,"⪷","\\precapprox",!0);m(g,O,R,"⊲","\\vartriangleleft");m(g,O,R,"⊴","\\trianglelefteq");m(g,O,R,"⊨","\\vDash",!0);m(g,O,R,"⊪","\\Vvdash",!0);m(g,O,R,"⌣","\\smallsmile");m(g,O,R,"⌢","\\smallfrown");m(g,O,R,"≏","\\bumpeq",!0);m(g,O,R,"≎","\\Bumpeq",!0);m(g,O,R,"≧","\\geqq",!0);m(g,O,R,"⩾","\\geqslant",!0);m(g,O,R,"⪖","\\eqslantgtr",!0);m(g,O,R,"≳","\\gtrsim",!0);m(g,O,R,"⪆","\\gtrapprox",!0);m(g,O,be,"⋗","\\gtrdot");m(g,O,R,"⋙","\\ggg",!0);m(g,O,R,"≷","\\gtrless",!0);m(g,O,R,"⋛","\\gtreqless",!0);m(g,O,R,"⪌","\\gtreqqless",!0);m(g,O,R,"≖","\\eqcirc",!0);m(g,O,R,"≗","\\circeq",!0);m(g,O,R,"≜","\\triangleq",!0);m(g,O,R,"∼","\\thicksim");m(g,O,R,"≈","\\thickapprox");m(g,O,R,"⫆","\\supseteqq",!0);m(g,O,R,"⋑","\\Supset",!0);m(g,O,R,"⊐","\\sqsupset",!0);m(g,O,R,"≽","\\succcurlyeq",!0);m(g,O,R,"⋟","\\curlyeqsucc",!0);m(g,O,R,"≿","\\succsim",!0);m(g,O,R,"⪸","\\succapprox",!0);m(g,O,R,"⊳","\\vartriangleright");m(g,O,R,"⊵","\\trianglerighteq");m(g,O,R,"⊩","\\Vdash",!0);m(g,O,R,"∣","\\shortmid");m(g,O,R,"∥","\\shortparallel");m(g,O,R,"≬","\\between",!0);m(g,O,R,"⋔","\\pitchfork",!0);m(g,O,R,"∝","\\varpropto");m(g,O,R,"◀","\\blacktriangleleft");m(g,O,R,"∴","\\therefore",!0);m(g,O,R,"∍","\\backepsilon");m(g,O,R,"▶","\\blacktriangleright");m(g,O,R,"∵","\\because",!0);m(g,O,R,"⋘","\\llless");m(g,O,R,"⋙","\\gggtr");m(g,O,be,"⊲","\\lhd");m(g,O,be,"⊳","\\rhd");m(g,O,R,"≂","\\eqsim",!0);m(g,x,R,"⋈","\\Join");m(g,O,R,"≑","\\Doteq",!0);m(g,O,be,"∔","\\dotplus",!0);m(g,O,be,"∖","\\smallsetminus");m(g,O,be,"⋒","\\Cap",!0);m(g,O,be,"⋓","\\Cup",!0);m(g,O,be,"⩞","\\doublebarwedge",!0);m(g,O,be,"⊟","\\boxminus",!0);m(g,O,be,"⊞","\\boxplus",!0);m(g,O,be,"⋇","\\divideontimes",!0);m(g,O,be,"⋉","\\ltimes",!0);m(g,O,be,"⋊","\\rtimes",!0);m(g,O,be,"⋋","\\leftthreetimes",!0);m(g,O,be,"⋌","\\rightthreetimes",!0);m(g,O,be,"⋏","\\curlywedge",!0);m(g,O,be,"⋎","\\curlyvee",!0);m(g,O,be,"⊝","\\circleddash",!0);m(g,O,be,"⊛","\\circledast",!0);m(g,O,be,"⋅","\\centerdot");m(g,O,be,"⊺","\\intercal",!0);m(g,O,be,"⋒","\\doublecap");m(g,O,be,"⋓","\\doublecup");m(g,O,be,"⊠","\\boxtimes",!0);m(g,O,R,"⇢","\\dashrightarrow",!0);m(g,O,R,"⇠","\\dashleftarrow",!0);m(g,O,R,"⇇","\\leftleftarrows",!0);m(g,O,R,"⇆","\\leftrightarrows",!0);m(g,O,R,"⇚","\\Lleftarrow",!0);m(g,O,R,"↞","\\twoheadleftarrow",!0);m(g,O,R,"↢","\\leftarrowtail",!0);m(g,O,R,"↫","\\looparrowleft",!0);m(g,O,R,"⇋","\\leftrightharpoons",!0);m(g,O,R,"↶","\\curvearrowleft",!0);m(g,O,R,"↺","\\circlearrowleft",!0);m(g,O,R,"↰","\\Lsh",!0);m(g,O,R,"⇈","\\upuparrows",!0);m(g,O,R,"↿","\\upharpoonleft",!0);m(g,O,R,"⇃","\\downharpoonleft",!0);m(g,x,R,"⊶","\\origof",!0);m(g,x,R,"⊷","\\imageof",!0);m(g,O,R,"⊸","\\multimap",!0);m(g,O,R,"↭","\\leftrightsquigarrow",!0);m(g,O,R,"⇉","\\rightrightarrows",!0);m(g,O,R,"⇄","\\rightleftarrows",!0);m(g,O,R,"↠","\\twoheadrightarrow",!0);m(g,O,R,"↣","\\rightarrowtail",!0);m(g,O,R,"↬","\\looparrowright",!0);m(g,O,R,"↷","\\curvearrowright",!0);m(g,O,R,"↻","\\circlearrowright",!0);m(g,O,R,"↱","\\Rsh",!0);m(g,O,R,"⇊","\\downdownarrows",!0);m(g,O,R,"↾","\\upharpoonright",!0);m(g,O,R,"⇂","\\downharpoonright",!0);m(g,O,R,"⇝","\\rightsquigarrow",!0);m(g,O,R,"⇝","\\leadsto");m(g,O,R,"⇛","\\Rrightarrow",!0);m(g,O,R,"↾","\\restriction");m(g,x,P,"‘","`");m(g,x,P,"$","\\$");m(Z,x,P,"$","\\$");m(Z,x,P,"$","\\textdollar");m(g,x,P,"%","\\%");m(Z,x,P,"%","\\%");m(g,x,P,"_","\\_");m(Z,x,P,"_","\\_");m(Z,x,P,"_","\\textunderscore");m(g,x,P,"∠","\\angle",!0);m(g,x,P,"∞","\\infty",!0);m(g,x,P,"′","\\prime");m(g,x,P,"△","\\triangle");m(g,x,P,"Γ","\\Gamma",!0);m(g,x,P,"Δ","\\Delta",!0);m(g,x,P,"Θ","\\Theta",!0);m(g,x,P,"Λ","\\Lambda",!0);m(g,x,P,"Ξ","\\Xi",!0);m(g,x,P,"Π","\\Pi",!0);m(g,x,P,"Σ","\\Sigma",!0);m(g,x,P,"Υ","\\Upsilon",!0);m(g,x,P,"Φ","\\Phi",!0);m(g,x,P,"Ψ","\\Psi",!0);m(g,x,P,"Ω","\\Omega",!0);m(g,x,P,"A","Α");m(g,x,P,"B","Β");m(g,x,P,"E","Ε");m(g,x,P,"Z","Ζ");m(g,x,P,"H","Η");m(g,x,P,"I","Ι");m(g,x,P,"K","Κ");m(g,x,P,"M","Μ");m(g,x,P,"N","Ν");m(g,x,P,"O","Ο");m(g,x,P,"P","Ρ");m(g,x,P,"T","Τ");m(g,x,P,"X","Χ");m(g,x,P,"¬","\\neg",!0);m(g,x,P,"¬","\\lnot");m(g,x,P,"⊤","\\top");m(g,x,P,"⊥","\\bot");m(g,x,P,"∅","\\emptyset");m(g,O,P,"∅","\\varnothing");m(g,x,we,"α","\\alpha",!0);m(g,x,we,"β","\\beta",!0);m(g,x,we,"γ","\\gamma",!0);m(g,x,we,"δ","\\delta",!0);m(g,x,we,"ϵ","\\epsilon",!0);m(g,x,we,"ζ","\\zeta",!0);m(g,x,we,"η","\\eta",!0);m(g,x,we,"θ","\\theta",!0);m(g,x,we,"ι","\\iota",!0);m(g,x,we,"κ","\\kappa",!0);m(g,x,we,"λ","\\lambda",!0);m(g,x,we,"μ","\\mu",!0);m(g,x,we,"ν","\\nu",!0);m(g,x,we,"ξ","\\xi",!0);m(g,x,we,"ο","\\omicron",!0);m(g,x,we,"π","\\pi",!0);m(g,x,we,"ρ","\\rho",!0);m(g,x,we,"σ","\\sigma",!0);m(g,x,we,"τ","\\tau",!0);m(g,x,we,"υ","\\upsilon",!0);m(g,x,we,"ϕ","\\phi",!0);m(g,x,we,"χ","\\chi",!0);m(g,x,we,"ψ","\\psi",!0);m(g,x,we,"ω","\\omega",!0);m(g,x,we,"ε","\\varepsilon",!0);m(g,x,we,"ϑ","\\vartheta",!0);m(g,x,we,"ϖ","\\varpi",!0);m(g,x,we,"ϱ","\\varrho",!0);m(g,x,we,"ς","\\varsigma",!0);m(g,x,we,"φ","\\varphi",!0);m(g,x,be,"∗","*",!0);m(g,x,be,"+","+");m(g,x,be,"−","-",!0);m(g,x,be,"⋅","\\cdot",!0);m(g,x,be,"∘","\\circ",!0);m(g,x,be,"÷","\\div",!0);m(g,x,be,"±","\\pm",!0);m(g,x,be,"×","\\times",!0);m(g,x,be,"∩","\\cap",!0);m(g,x,be,"∪","\\cup",!0);m(g,x,be,"∖","\\setminus",!0);m(g,x,be,"∧","\\land");m(g,x,be,"∨","\\lor");m(g,x,be,"∧","\\wedge",!0);m(g,x,be,"∨","\\vee",!0);m(g,x,P,"√","\\surd");m(g,x,Yt,"⟨","\\langle",!0);m(g,x,Yt,"∣","\\lvert");m(g,x,Yt,"∥","\\lVert");m(g,x,Rt,"?","?");m(g,x,Rt,"!","!");m(g,x,Rt,"⟩","\\rangle",!0);m(g,x,Rt,"∣","\\rvert");m(g,x,Rt,"∥","\\rVert");m(g,x,R,"=","=");m(g,x,R,":",":");m(g,x,R,"≈","\\approx",!0);m(g,x,R,"≅","\\cong",!0);m(g,x,R,"≥","\\ge");m(g,x,R,"≥","\\geq",!0);m(g,x,R,"←","\\gets");m(g,x,R,">","\\gt",!0);m(g,x,R,"∈","\\in",!0);m(g,x,R,"","\\@not");m(g,x,R,"⊂","\\subset",!0);m(g,x,R,"⊃","\\supset",!0);m(g,x,R,"⊆","\\subseteq",!0);m(g,x,R,"⊇","\\supseteq",!0);m(g,O,R,"⊈","\\nsubseteq",!0);m(g,O,R,"⊉","\\nsupseteq",!0);m(g,x,R,"⊨","\\models");m(g,x,R,"←","\\leftarrow",!0);m(g,x,R,"≤","\\le");m(g,x,R,"≤","\\leq",!0);m(g,x,R,"<","\\lt",!0);m(g,x,R,"→","\\rightarrow",!0);m(g,x,R,"→","\\to");m(g,O,R,"≱","\\ngeq",!0);m(g,O,R,"≰","\\nleq",!0);m(g,x,Dr," ","\\ ");m(g,x,Dr," ","\\space");m(g,x,Dr," ","\\nobreakspace");m(Z,x,Dr," ","\\ ");m(Z,x,Dr," "," ");m(Z,x,Dr," ","\\space");m(Z,x,Dr," ","\\nobreakspace");m(g,x,Dr,null,"\\nobreak");m(g,x,Dr,null,"\\allowbreak");m(g,x,xi,",",",");m(g,x,xi,";",";");m(g,O,be,"⊼","\\barwedge",!0);m(g,O,be,"⊻","\\veebar",!0);m(g,x,be,"⊙","\\odot",!0);m(g,x,be,"⊕","\\oplus",!0);m(g,x,be,"⊗","\\otimes",!0);m(g,x,P,"∂","\\partial",!0);m(g,x,be,"⊘","\\oslash",!0);m(g,O,be,"⊚","\\circledcirc",!0);m(g,O,be,"⊡","\\boxdot",!0);m(g,x,be,"△","\\bigtriangleup");m(g,x,be,"▽","\\bigtriangledown");m(g,x,be,"†","\\dagger");m(g,x,be,"⋄","\\diamond");m(g,x,be,"⋆","\\star");m(g,x,be,"◃","\\triangleleft");m(g,x,be,"▹","\\triangleright");m(g,x,Yt,"{","\\{");m(Z,x,P,"{","\\{");m(Z,x,P,"{","\\textbraceleft");m(g,x,Rt,"}","\\}");m(Z,x,P,"}","\\}");m(Z,x,P,"}","\\textbraceright");m(g,x,Yt,"{","\\lbrace");m(g,x,Rt,"}","\\rbrace");m(g,x,Yt,"[","\\lbrack",!0);m(Z,x,P,"[","\\lbrack",!0);m(g,x,Rt,"]","\\rbrack",!0);m(Z,x,P,"]","\\rbrack",!0);m(g,x,Yt,"(","\\lparen",!0);m(g,x,Rt,")","\\rparen",!0);m(Z,x,P,"<","\\textless",!0);m(Z,x,P,">","\\textgreater",!0);m(g,x,Yt,"⌊","\\lfloor",!0);m(g,x,Rt,"⌋","\\rfloor",!0);m(g,x,Yt,"⌈","\\lceil",!0);m(g,x,Rt,"⌉","\\rceil",!0);m(g,x,P,"\\","\\backslash");m(g,x,P,"∣","|");m(g,x,P,"∣","\\vert");m(Z,x,P,"|","\\textbar",!0);m(g,x,P,"∥","\\|");m(g,x,P,"∥","\\Vert");m(Z,x,P,"∥","\\textbardbl");m(Z,x,P,"~","\\textasciitilde");m(Z,x,P,"\\","\\textbackslash");m(Z,x,P,"^","\\textasciicircum");m(g,x,R,"↑","\\uparrow",!0);m(g,x,R,"⇑","\\Uparrow",!0);m(g,x,R,"↓","\\downarrow",!0);m(g,x,R,"⇓","\\Downarrow",!0);m(g,x,R,"↕","\\updownarrow",!0);m(g,x,R,"⇕","\\Updownarrow",!0);m(g,x,mt,"∐","\\coprod");m(g,x,mt,"⋁","\\bigvee");m(g,x,mt,"⋀","\\bigwedge");m(g,x,mt,"⨄","\\biguplus");m(g,x,mt,"⋂","\\bigcap");m(g,x,mt,"⋃","\\bigcup");m(g,x,mt,"∫","\\int");m(g,x,mt,"∫","\\intop");m(g,x,mt,"∬","\\iint");m(g,x,mt,"∭","\\iiint");m(g,x,mt,"∏","\\prod");m(g,x,mt,"∑","\\sum");m(g,x,mt,"⨂","\\bigotimes");m(g,x,mt,"⨁","\\bigoplus");m(g,x,mt,"⨀","\\bigodot");m(g,x,mt,"∮","\\oint");m(g,x,mt,"∯","\\oiint");m(g,x,mt,"∰","\\oiiint");m(g,x,mt,"⨆","\\bigsqcup");m(g,x,mt,"∫","\\smallint");m(Z,x,ha,"…","\\textellipsis");m(g,x,ha,"…","\\mathellipsis");m(Z,x,ha,"…","\\ldots",!0);m(g,x,ha,"…","\\ldots",!0);m(g,x,ha,"⋯","\\@cdots",!0);m(g,x,ha,"⋱","\\ddots",!0);m(g,x,P,"⋮","\\varvdots");m(Z,x,P,"⋮","\\varvdots");m(g,x,rt,"ˊ","\\acute");m(g,x,rt,"ˋ","\\grave");m(g,x,rt,"¨","\\ddot");m(g,x,rt,"~","\\tilde");m(g,x,rt,"ˉ","\\bar");m(g,x,rt,"˘","\\breve");m(g,x,rt,"ˇ","\\check");m(g,x,rt,"^","\\hat");m(g,x,rt,"⃗","\\vec");m(g,x,rt,"˙","\\dot");m(g,x,rt,"˚","\\mathring");m(g,x,we,"","\\@imath");m(g,x,we,"","\\@jmath");m(g,x,P,"ı","ı");m(g,x,P,"ȷ","ȷ");m(Z,x,P,"ı","\\i",!0);m(Z,x,P,"ȷ","\\j",!0);m(Z,x,P,"ß","\\ss",!0);m(Z,x,P,"æ","\\ae",!0);m(Z,x,P,"œ","\\oe",!0);m(Z,x,P,"ø","\\o",!0);m(Z,x,P,"Æ","\\AE",!0);m(Z,x,P,"Œ","\\OE",!0);m(Z,x,P,"Ø","\\O",!0);m(Z,x,rt,"ˊ","\\'");m(Z,x,rt,"ˋ","\\`");m(Z,x,rt,"ˆ","\\^");m(Z,x,rt,"˜","\\~");m(Z,x,rt,"ˉ","\\=");m(Z,x,rt,"˘","\\u");m(Z,x,rt,"˙","\\.");m(Z,x,rt,"¸","\\c");m(Z,x,rt,"˚","\\r");m(Z,x,rt,"ˇ","\\v");m(Z,x,rt,"¨",'\\"');m(Z,x,rt,"˝","\\H");m(Z,x,rt,"◯","\\textcircled");var Cm={"--":!0,"---":!0,"``":!0,"''":!0};m(Z,x,P,"–","--",!0);m(Z,x,P,"–","\\textendash");m(Z,x,P,"—","---",!0);m(Z,x,P,"—","\\textemdash");m(Z,x,P,"‘","`",!0);m(Z,x,P,"‘","\\textquoteleft");m(Z,x,P,"’","'",!0);m(Z,x,P,"’","\\textquoteright");m(Z,x,P,"“","``",!0);m(Z,x,P,"“","\\textquotedblleft");m(Z,x,P,"”","''",!0);m(Z,x,P,"”","\\textquotedblright");m(g,x,P,"°","\\degree",!0);m(Z,x,P,"°","\\degree");m(Z,x,P,"°","\\textdegree",!0);m(g,x,P,"£","\\pounds");m(g,x,P,"£","\\mathsterling",!0);m(Z,x,P,"£","\\pounds");m(Z,x,P,"£","\\textsterling",!0);m(g,O,P,"✠","\\maltese");m(Z,O,P,"✠","\\maltese");var N1='0123456789/@."';for(var K0=0;K0<N1.length;K0++){var O1=N1.charAt(K0);m(g,x,P,O1,O1)}var R1='0123456789!@*()-=+";:?/.,';for(var Q0=0;Q0<R1.length;Q0++){var D1=R1.charAt(Q0);m(Z,x,P,D1,D1)}var Es="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var J0=0;J0<Es.length;J0++){var Mi=Es.charAt(J0);m(g,x,we,Mi,Mi),m(Z,x,P,Mi,Mi)}m(g,O,P,"C","ℂ");m(Z,O,P,"C","ℂ");m(g,O,P,"H","ℍ");m(Z,O,P,"H","ℍ");m(g,O,P,"N","ℕ");m(Z,O,P,"N","ℕ");m(g,O,P,"P","ℙ");m(Z,O,P,"P","ℙ");m(g,O,P,"Q","ℚ");m(Z,O,P,"Q","ℚ");m(g,O,P,"R","ℝ");m(Z,O,P,"R","ℝ");m(g,O,P,"Z","ℤ");m(Z,O,P,"Z","ℤ");m(g,x,we,"h","ℎ");m(Z,x,we,"h","ℎ");var ke="";for(var It=0;It<Es.length;It++){var st=Es.charAt(It);ke=String.fromCharCode(55349,56320+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56372+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56424+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56580+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56684+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56736+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56788+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56840+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56944+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),It<26&&(ke=String.fromCharCode(55349,56632+It),m(g,x,we,st,ke),m(Z,x,P,st,ke),ke=String.fromCharCode(55349,56476+It),m(g,x,we,st,ke),m(Z,x,P,st,ke))}ke="𝕜";m(g,x,we,"k",ke);m(Z,x,P,"k",ke);for(var hn=0;hn<10;hn++){var Ur=hn.toString();ke=String.fromCharCode(55349,57294+hn),m(g,x,we,Ur,ke),m(Z,x,P,Ur,ke),ke=String.fromCharCode(55349,57314+hn),m(g,x,we,Ur,ke),m(Z,x,P,Ur,ke),ke=String.fromCharCode(55349,57324+hn),m(g,x,we,Ur,ke),m(Z,x,P,Ur,ke),ke=String.fromCharCode(55349,57334+hn),m(g,x,we,Ur,ke),m(Z,x,P,Ur,ke)}var nu="ÐÞþ";for(var Z0=0;Z0<nu.length;Z0++){var Pi=nu.charAt(Z0);m(g,x,we,Pi,Pi),m(Z,x,P,Pi,Pi)}var Fi=[["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"]],L1=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],oy=(e,t)=>{var r=e.charCodeAt(0),n=e.charCodeAt(1),a=(r-55296)*1024+(n-56320)+65536,i=t==="math"?0:1;if(119808<=a&&a<120484){var s=Math.floor((a-119808)/26);return[Fi[s][2],Fi[s][i]]}else if(120782<=a&&a<=120831){var o=Math.floor((a-120782)/10);return[L1[o][2],L1[o][i]]}else{if(a===120485||a===120486)return[Fi[0][2],Fi[0][i]];if(120486<a&&a<120782)return["",""];throw new ue("Unsupported character: "+e)}},t0=function(t,r,n){if(tt[n][t]){var a=tt[n][t].replace;a&&(t=a)}return{value:t,metrics:gl(t,r,n)}},_t=function(t,r,n,a,i){var s=t0(t,r,n),o=s.metrics;t=s.value;var u;if(o){var l=o.italic;(n==="text"||a&&a.font==="mathit")&&(l=0),u=new qt(t,o.height,o.depth,l,o.skew,o.width,i)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),u=new qt(t,0,0,0,0,0,i);if(a){u.maxFontSize=a.sizeMultiplier,a.style.isTight()&&u.classes.push("mtight");var c=a.getColor();c&&(u.style.color=c)}return u},bl=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&t0(t,"Main-Bold",r).metrics?_t(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||tt[r][t].font==="main"?_t(t,"Main-Regular",r,n,a):_t(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},uy=function(t,r,n,a,i){return i!=="textord"&&t0(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},r0=function(t,r,n){var a=t.mode,i=t.text,s=["mord"],o=a==="math"||a==="text"&&r.font,u=o?r.font:r.fontFamily,l="",c="";if(i.charCodeAt(0)===55349&&([l,c]=oy(i,a)),l.length>0)return _t(i,l,a,r,s.concat(c));if(u){var f,p;if(u==="boldsymbol"){var h=uy(i,a,r,s,n);f=h.fontName,p=[h.fontClass]}else o?(f=au[u].fontName,p=[u]):(f=Bi(u,r.fontWeight,r.fontShape),p=[u,r.fontWeight,r.fontShape]);if(t0(i,f,a).metrics)return _t(i,f,a,r,s.concat(p));if(Cm.hasOwnProperty(i)&&f.slice(0,10)==="Typewriter"){for(var b=[],y=0;y<i.length;y++)b.push(_t(i[y],f,a,r,s.concat(p)));return Lr(b)}}if(n==="mathord")return _t(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var E=tt[a][i]&&tt[a][i].font;if(E==="ams"){var T=Bi("amsrm",r.fontWeight,r.fontShape);return _t(i,T,a,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(E==="main"||!E){var A=Bi("textrm",r.fontWeight,r.fontShape);return _t(i,A,a,r,s.concat(r.fontWeight,r.fontShape))}else{var k=Bi(E,r.fontWeight,r.fontShape);return _t(i,k,a,r,s.concat(k,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},ly=(e,t)=>{if(Kr(e.classes)!==Kr(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},Im=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof qt&&n instanceof qt&&ly(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},yl=function(t){for(var r=0,n=0,a=0,i=0;i<t.children.length;i++){var s=t.children[i];s.height>r&&(r=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>a&&(a=s.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},ne=function(t,r,n,a){var i=new da(t,r,n,a);return yl(i),i},Jr=(e,t,r,n)=>new da(e,t,r,n),ta=function(t,r,n){var a=ne([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=fe(a.height),a.maxFontSize=1,a},cy=function(t,r,n,a){var i=new e0(t,r,n,a);return yl(i),i},Lr=function(t){var r=new fa(t);return yl(r),r},ra=function(t,r){return t instanceof fa?ne([],[t],r):t},fy=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,i=a,s=1;s<r.length;s++){var o=-r[s].shift-i-r[s].elem.depth,u=o-(r[s-1].elem.height+r[s-1].elem.depth);i=i+o,n.push({type:"kern",size:u}),n.push(r[s])}return{children:n,depth:a}}var l;if(t.positionType==="top"){for(var c=t.positionData,f=0;f<t.children.length;f++){var p=t.children[f];c-=p.type==="kern"?p.size:p.elem.height+p.elem.depth}l=c}else if(t.positionType==="bottom")l=-t.positionData;else{var h=t.children[0];if(h.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-h.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-h.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},je=function(t,r){for(var{children:n,depth:a}=fy(t),i=0,s=0;s<n.length;s++){var o=n[s];if(o.type==="elem"){var u=o.elem;i=Math.max(i,u.maxFontSize,u.height)}}i+=2;var l=ne(["pstrut"],[]);l.style.height=fe(i);for(var c=[],f=a,p=a,h=a,b=0;b<n.length;b++){var y=n[b];if(y.type==="kern")h+=y.size;else{var E=y.elem,T=y.wrapperClasses||[],A=y.wrapperStyle||{},k=ne(T,[l,E],void 0,A);k.style.top=fe(-i-h-E.depth),y.marginLeft&&(k.style.marginLeft=y.marginLeft),y.marginRight&&(k.style.marginRight=y.marginRight),c.push(k),h+=E.height+E.depth}f=Math.min(f,h),p=Math.max(p,h)}var F=ne(["vlist"],c);F.style.height=fe(p);var B;if(f<0){var N=ne([],[]),M=ne(["vlist"],[N]);M.style.height=fe(-f);var z=ne(["vlist-s"],[new qt("")]);B=[ne(["vlist-r"],[F,z]),ne(["vlist-r"],[M])]}else B=[ne(["vlist-r"],[F])];var U=ne(["vlist-t"],B);return B.length===2&&U.classes.push("vlist-t2"),U.height=p,U.depth=-f,U},_m=(e,t)=>{var r=ne(["mspace"],[],t),n=at(e,t);return r.style.marginRight=fe(n),r},Bi=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var i;return r==="textbf"&&n==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",a+"-"+i},au={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"},mathsfit:{variant:"sans-serif-italic",fontName:"SansSerif-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"}},Nm={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Om=function(t,r){var[n,a,i]=Nm[t],s=new Qr(n),o=new _r([s],{width:fe(a),height:fe(i),style:"width:"+fe(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),u=Jr(["overlay"],[o],r);return u.height=i,u.style.height=fe(i),u.style.width=fe(a),u},nt={number:3,unit:"mu"},mn={number:4,unit:"mu"},Ar={number:5,unit:"mu"},dy={mord:{mop:nt,mbin:mn,mrel:Ar,minner:nt},mop:{mord:nt,mop:nt,mrel:Ar,minner:nt},mbin:{mord:mn,mop:mn,mopen:mn,minner:mn},mrel:{mord:Ar,mop:Ar,mopen:Ar,minner:Ar},mopen:{},mclose:{mop:nt,mbin:mn,mrel:Ar,minner:nt},mpunct:{mord:nt,mop:nt,mrel:Ar,mopen:nt,mclose:nt,mpunct:nt,minner:nt},minner:{mord:nt,mop:nt,mbin:mn,mrel:Ar,mopen:nt,mpunct:nt,minner:nt}},hy={mord:{mop:nt},mop:{mord:nt,mop:nt},mbin:{},mrel:{},mopen:{},mclose:{mop:nt},mpunct:{},minner:{mop:nt}},Rm={},Ts={},vs={};function pe(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,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:a},u=0;u<r.length;++u)Rm[r[u]]=o;t&&(i&&(Ts[t]=i),s&&(vs[t]=s))}function Rn(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;pe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var ws=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},dt=function(t){return t.type==="ordgroup"?t.body:[t]},my=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),py=new Set(["rightmost","mrel","mclose","mpunct"]),gy={display:Ie.DISPLAY,text:Ie.TEXT,script:Ie.SCRIPT,scriptscript:Ie.SCRIPTSCRIPT},by={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},yt=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var o=$e(t[s],r);if(o instanceof fa){var u=o.children;i.push(...u)}else i.push(o)}if(Im(i),!n)return i;var l=r;if(t.length===1){var c=t[0];c.type==="sizing"?l=r.havingSize(c.size):c.type==="styling"&&(l=r.havingStyle(gy[c.style]))}var f=ne([a[0]||"leftmost"],[],r),p=ne([a[1]||"rightmost"],[],r),h=n==="root";return iu(i,(b,y)=>{var E=y.classes[0],T=b.classes[0];E==="mbin"&&py.has(T)?y.classes[0]="mord":T==="mbin"&&my.has(E)&&(b.classes[0]="mord")},{node:f},p,h),iu(i,(b,y)=>{var E,T,A=ou(y),k=ou(b),F=A&&k?b.hasClass("mtight")?(E=hy[A])==null?void 0:E[k]:(T=dy[A])==null?void 0:T[k]:null;if(F)return _m(F,l)},{node:f},p,h),i},iu=function(t,r,n,a,i){a&&t.push(a);for(var s=0;s<t.length;s++){var o=t[s],u=Dm(o);if(u){iu(u.children,r,n,null,i);continue}var l=!o.hasClass("mspace");if(l){var c=r(o,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),s++))}l?n.node=o:i&&o.hasClass("newline")&&(n.node=ne(["leftmost"])),n.insertAfter=(f=>p=>{t.splice(f+1,0,p),s++})(s)}a&&t.pop()},Dm=function(t){return t instanceof fa||t instanceof e0||t instanceof da&&t.hasClass("enclosing")?t:null},su=function(t,r){var n=Dm(t);if(n){var a=n.children;if(a.length){if(r==="right")return su(a[a.length-1],"right");if(r==="left")return su(a[0],"left")}}return t},ou=function(t,r){if(!t)return null;r&&(t=su(t,r));var n=t.classes[0];return by[n]||null},ri=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return ne(r.concat(n))},$e=function(t,r,n){if(!t)return ne();if(Ts[t.type]){var a=Ts[t.type](t,r);if(n&&r.size!==n.size){a=ne(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new ue("Got group of unknown type: '"+t.type+"'")};function zi(e,t){var r=ne(["base"],e,t),n=ne(["strut"]);return n.style.height=fe(r.height+r.depth),r.depth&&(n.style.verticalAlign=fe(-r.depth)),r.children.unshift(n),r}function uu(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=yt(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],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 u=!1;o<n.length-1&&n[o+1].hasClass("mspace")&&!n[o+1].hasClass("newline");)o++,s.push(n[o]),n[o].hasClass("nobreak")&&(u=!0);u||(i.push(zi(s,t)),s=[])}else n[o].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(zi(s,t)),s=[]),i.push(n[o]));s.length>0&&i.push(zi(s,t));var l;r?(l=zi(yt(r,t,!0),t),l.classes=["tag"],i.push(l)):a&&i.push(a);var c=ne(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=fe(c.height+c.depth),c.depth&&(f.style.verticalAlign=fe(-c.depth))}return c}function Lm(e){return new fa(e)}class le{constructor(t,r,n){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=Kr(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof ht&&this.children[n+1]instanceof ht){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof ht;)a+=this.children[++n].toText();t.appendChild(new ht(a).toNode())}else 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+=At(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+At(Kr(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 ht{constructor(t){this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return At(this.toText())}toText(){return this.text}}class Mm{constructor(t){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",fe(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+fe(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var yy=new Set(["\\imath","\\jmath"]),xy=new Set(["mrow","mtable"]),er=function(t,r,n){return tt[r][t]&&tt[r][t].replace&&t.charCodeAt(0)!==55349&&!(Cm.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=tt[r][t].replace),new ht(t)},xl=function(t){return t.length===1?t[0]:new le("mrow",t)},El=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 a=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==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var i=t.text;if(yy.has(i))return null;if(tt[a][i]){var s=tt[a][i].replace;s&&(i=s)}var o=au[n].fontName;return gl(i,o,a)?au[n].variant:null};function eo(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof ht&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof ht&&r.text===","}else return!1}var Wt=function(t,r,n){if(t.length===1){var a=Ge(t[0],r);return n&&a instanceof le&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,o=0;o<t.length;o++){var u=Ge(t[o],r);if(u instanceof le&&s instanceof le){if(u.type==="mtext"&&s.type==="mtext"&&u.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...u.children);continue}else if(u.type==="mn"&&s.type==="mn"){s.children.push(...u.children);continue}else if(eo(u)&&s.type==="mn"){s.children.push(...u.children);continue}else if(u.type==="mn"&&eo(s))u.children=[...s.children,...u.children],i.pop();else if((u.type==="msup"||u.type==="msub")&&u.children.length>=1&&(s.type==="mn"||eo(s))){var l=u.children[0];l instanceof le&&l.type==="mn"&&(l.children=[...s.children,...l.children],i.pop())}else if(s.type==="mi"&&s.children.length===1){var c=s.children[0];if(c instanceof ht&&c.text==="̸"&&(u.type==="mo"||u.type==="mi"||u.type==="mn")){var f=u.children[0];f instanceof ht&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),i.pop())}}}i.push(u),s=u}return i},Zr=function(t,r,n){return xl(Wt(t,r,n))},Ge=function(t,r){if(!t)return new le("mrow");if(vs[t.type]){var n=vs[t.type](t,r);return n}else throw new ue("Got group of unknown type: '"+t.type+"'")};function M1(e,t,r,n,a){var i=Wt(e,r),s;i.length===1&&i[0]instanceof le&&xy.has(i[0].type)?s=i[0]:s=new le("mrow",i);var o=new le("annotation",[new ht(t)]);o.setAttribute("encoding","application/x-tex");var u=new le("semantics",[s,o]),l=new le("math",[u]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=a?"katex":"katex-mathml";return ne([c],[l])}var Ey=[[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]],P1=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],F1=function(t,r){return r.size<2?t:Ey[t-1][r.size-1]};class kr{constructor(t){this.style=t.style,this.color=t.color,this.size=t.size||kr.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=P1[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};return Object.assign(r,t),new kr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:F1(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:P1[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=F1(kr.BASESIZE,t);return this.size===r&&this.textSize===kr.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!==kr.BASESIZE?["sizing","reset-size"+this.size,"size"+kr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=ay(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}kr.BASESIZE=6;var Pm=function(t){return new kr({style:t.displayMode?Ie.DISPLAY:Ie.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Fm=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=ne(n,[t])}return t},Ty=function(t,r,n){var a=Pm(n),i;if(n.output==="mathml")return M1(t,r,a,n.displayMode,!0);if(n.output==="html"){var s=uu(t,a);i=ne(["katex"],[s])}else{var o=M1(t,r,a,n.displayMode,!1),u=uu(t,a);i=ne(["katex"],[o,u])}return Fm(i,n)},vy=function(t,r,n){var a=Pm(n),i=uu(t,a),s=ne(["katex"],[i]);return Fm(s,n)},wy={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",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":"="},n0=function(t){var r=new le("mo",[new ht(wy[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},Ay={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],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],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]},Sy=new Set(["widehat","widecheck","widetilde","utilde"]),a0=function(t,r){function n(){var o=4e5,u=t.label.slice(1);if(Sy.has(u)){var l=t,c=l.base.type==="ordgroup"?l.base.body.length:1,f,p,h;if(c>5)u==="widehat"||u==="widecheck"?(f=420,o=2364,h=.42,p=u+"4"):(f=312,o=2340,h=.34,p="tilde4");else{var b=[1,1,2,2,3,3][c];u==="widehat"||u==="widecheck"?(o=[0,1062,2364,2364,2364][b],f=[0,239,300,360,420][b],h=[0,.24,.3,.3,.36,.42][b],p=u+b):(o=[0,600,1033,2339,2340][b],f=[0,260,286,306,312][b],h=[0,.26,.286,.3,.306,.34][b],p="tilde"+b)}var y=new Qr(p),E=new _r([y],{width:"100%",height:fe(h),viewBox:"0 0 "+o+" "+f,preserveAspectRatio:"none"});return{span:Jr([],[E],r),minWidth:0,height:h}}else{var T=[],A=Ay[u],[k,F,B]=A,N=B/1e3,M=k.length,z,U;if(M===1){var L=A[3];z=["hide-tail"],U=[L]}else if(M===2)z=["halfarrow-left","halfarrow-right"],U=["xMinYMin","xMaxYMin"];else if(M===3)z=["brace-left","brace-center","brace-right"],U=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
280
|
+
`+M+" children.");for(var $=0;$<M;$++){var te=new Qr(k[$]),ge=new _r([te],{width:"400em",height:fe(N),viewBox:"0 0 "+o+" "+B,preserveAspectRatio:U[$]+" slice"}),X=Jr([z[$]],[ge],r);if(M===1)return{span:X,minWidth:F,height:N};X.style.height=fe(N),T.push(X)}return{span:ne(["stretchy"],T,r),minWidth:F,height:N}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=fe(s),i>0&&(a.style.minWidth=fe(i)),a},ky=function(t,r,n,a,i){var s,o=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=ne(["stretchy",r],[],i),r==="fbox"){var u=i.color&&i.getColor();u&&(s.style.borderColor=u)}}else{var l=[];/^[bx]cancel$/.test(r)&&l.push(new ru({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new ru({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new _r(l,{width:"100%",height:fe(o)});s=Jr([],[c],i)}return s.height=o,s.style.height=fe(o),s};function Ne(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 i0(e){var t=s0(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 s0(e){return e&&(e.type==="atom"||sy.hasOwnProperty(e.type))?e:null}var Bm=e=>{if(e instanceof qt)return e;if(ry(e)&&e.children.length===1)return Bm(e.children[0])},Tl=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=Ne(e.base,"accent"),r=n.base,e.base=r,a=ty($e(e,t)),e.base=n):(n=Ne(e,"accent"),r=n.base);var i=$e(r,t.havingCrampedStyle()),s=n.isShifty&&Rr(r),o=0;if(s){var u,l;o=(u=(l=Bm(i))==null?void 0:l.skew)!=null?u:0}var c=n.label==="\\c",f=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),p;if(n.isStretchy)p=a0(n,t),p=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+fe(2*o)+")",marginLeft:fe(2*o)}:void 0}]});else{var h,b;n.label==="\\vec"?(h=Om("vec",t),b=Nm.vec[1]):(h=r0({mode:n.mode,text:n.label},t,"textord"),h=ey(h),h.italic=0,b=h.width,c&&(f+=h.depth)),p=ne(["accent-body"],[h]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),f=i.height);var E=o;y||(E-=b/2),p.style.left=fe(E),n.label==="\\textcircled"&&(p.style.top=".2em"),p=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-f},{type:"elem",elem:p}]})}var T=ne(["mord","accent"],[p],t);return a?(a.children[0]=T,a.height=Math.max(T.height,a.height),a.classes[0]="mord",a):T},zm=(e,t)=>{var r=e.isStretchy?n0(e.label):new le("mo",[er(e.label,e.mode)]),n=new le("mover",[Ge(e.base,t),r]);return n.setAttribute("accent","true"),n},Cy=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));pe({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=ws(t[0]),n=!Cy.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:Tl,mathmlBuilder:zm});pe({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:Tl,mathmlBuilder:zm});pe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=$e(e.base,t),n=a0(e,t),a=e.label==="\\utilde"?.12:0,i=je({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return ne(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=n0(e.label),n=new le("munder",[Ge(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Hi=e=>{var t=new le("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};pe({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:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=ra($e(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=ra($e(e.below,n,t),t),s.classes.push(i+"-arrow-pad"));var o=a0(e,t),u=-t.fontMetrics().axisHeight+.5*o.height,l=-t.fontMetrics().axisHeight-.5*o.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(l-=a.depth);var c;if(s){var f=-t.fontMetrics().axisHeight+s.height+.5*o.height+.111;c=je({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:f}]})}else c=je({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:o,shift:u}]});return c.children[0].children[0].children[1].classes.push("svg-align"),ne(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=n0(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=Hi(Ge(e.body,t));if(e.below){var i=Hi(Ge(e.below,t));n=new le("munderover",[r,i,a])}else n=new le("mover",[r,a])}else if(e.below){var s=Hi(Ge(e.below,t));n=new le("munder",[r,s])}else n=Hi(),n=new le("mover",[r,n]);return n}});function Hm(e,t){var r=yt(e.body,t,!0);return ne([e.mclass],r,t)}function Um(e,t){var r,n=Wt(e.body,t);return e.mclass==="minner"?r=new le("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new le("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new le("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}pe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:dt(a),isCharacterBox:Rr(a)}},htmlBuilder:Hm,mathmlBuilder:Um});var o0=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"};pe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:o0(t[0]),body:dt(t[1]),isCharacterBox:Rr(t[1])}}});pe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],s;n!=="\\stackrel"?s=o0(a):s="mrel";var o={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:dt(a)},u={type:"supsub",mode:i.mode,base:o,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:s,body:[u],isCharacterBox:Rr(u)}},htmlBuilder:Hm,mathmlBuilder:Um});pe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:o0(t[0]),body:dt(t[0])}},htmlBuilder(e,t){var r=yt(e.body,t,!0),n=ne([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Wt(e.body,t),n=new le("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Iy={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},B1=()=>({type:"styling",body:[],mode:"math",style:"display"}),z1=e=>e.type==="textord"&&e.text==="@",_y=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Ny(e,t,r){var n=Iy[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),i={type:"atom",text:n,mode:"math",family:"rel"},s=r.callFunction("\\Big",[i],[]),o=r.callFunction("\\\\cdright",[t[1]],[]),u={type:"ordgroup",mode:"math",body:[a,s,o]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var l={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[l],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Oy(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 ue("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var s=t[i],o=B1(),u=0;u<s.length;u++)if(!z1(s[u]))o.body.push(s[u]);else{n.push(o),u+=1;var l=i0(s[u]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(l))if("<>AV".includes(l))for(var f=0;f<2;f++){for(var p=!0,h=u+1;h<s.length;h++){if(_y(s[h],l)){p=!1,u=h;break}if(z1(s[h]))throw new ue("Missing a "+l+" character to complete a CD arrow.",s[h]);c[f].body.push(s[h])}if(p)throw new ue("Missing a "+l+" character to complete a CD arrow.",s[u])}else throw new ue('Expected one of "<>AV=|." after @',s[u]);var b=Ny(l,c,e),y={type:"styling",body:[b],mode:"math",style:"display"};n.push(y),o=B1()}i%2===0?n.push(o):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var E=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:E,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}pe({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=ra($e(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=fe(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new le("mrow",[Ge(e.label,t)]);return r=new le("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new le("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});pe({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=ra($e(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new le("mrow",[Ge(e.fragment,t)])}});pe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Ne(t[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var o=Ne(a[s],"textord");i+=o.text}var u=parseInt(i),l;if(isNaN(u))throw new ue("\\@char has non-numeric argument "+i);if(u<0||u>=1114111)throw new ue("\\@char with invalid code point "+i);return u<=65535?l=String.fromCharCode(u):(u-=65536,l=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var jm=(e,t)=>{var r=yt(e.body,t.withColor(e.color),!1);return Lr(r)},$m=(e,t)=>{var r=Wt(e.body,t.withColor(e.color)),n=new le("mstyle",r);return n.setAttribute("mathcolor",e.color),n};pe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Ne(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:dt(a)}},htmlBuilder:jm,mathmlBuilder:$m});pe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=Ne(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:i}},htmlBuilder:jm,mathmlBuilder:$m});pe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&Ne(a,"size").value}},htmlBuilder(e,t){var r=ne(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=fe(at(e.size,t)))),r},mathmlBuilder(e,t){var r=new le("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",fe(at(e.size,t)))),r}});var lu={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},qm=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ue("Expected a control sequence",e);return t},Ry=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Ym=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};pe({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(lu[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=lu[n.text]),Ne(t.parseFunction(),"internal");throw new ue("Invalid token after macro prefix",n)}});pe({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(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ue("Expected a control sequence",n);for(var i=0,s,o=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),o[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new ue('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new ue('Argument number "'+n.text+'" out of order');i++,o.push([])}else{if(n.text==="EOF")throw new ue("Expected a macro definition");o[i].push(n.text)}var{tokens:u}=t.gullet.consumeArg();return s&&u.unshift(s),(r==="\\edef"||r==="\\xdef")&&(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(a,{tokens:u,numArgs:i,delimiters:o},r===lu[r]),{type:"internal",mode:t.mode}}});pe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=qm(t.gullet.popToken());t.gullet.consumeSpaces();var a=Ry(t);return Ym(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});pe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=qm(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return Ym(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var La=function(t,r,n){var a=tt.math[t]&&tt.math[t].replace,i=gl(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},vl=function(t,r,n,a){var i=n.havingBaseStyle(r),s=ne(a.concat(i.sizingClasses(n)),[t],n),o=i.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=i.sizeMultiplier,s},Wm=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=fe(i),t.height-=i,t.depth+=i},Dy=function(t,r,n,a,i,s){var o=_t(t,"Main-Regular",i,a),u=vl(o,r,a,s);return Wm(u,a,r),u},Ly=function(t,r,n,a){return _t(t,"Size"+r+"-Regular",n,a)},Vm=function(t,r,n,a,i,s){var o=Ly(t,r,i,a),u=vl(ne(["delimsizing","size"+r],[o],a),Ie.TEXT,a,s);return n&&Wm(u,a,Ie.TEXT),u},to=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=ne(["delimsizinginner",a],[ne([],[_t(t,r,n)])]);return{type:"elem",elem:i}},ro=function(t,r,n){var a=hr["Size4-Regular"][t.charCodeAt(0)]?hr["Size4-Regular"][t.charCodeAt(0)][4]:hr["Size1-Regular"][t.charCodeAt(0)][4],i=new Qr("inner",G9(t,Math.round(1e3*r))),s=new _r([i],{width:fe(a),height:fe(r),style:"width:"+fe(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=Jr([],[s],n);return o.height=r,o.style.height=fe(r),o.style.width=fe(a),{type:"elem",elem:o}},cu=.008,Ui={type:"kern",size:-1*cu},My=new Set(["|","\\lvert","\\rvert","\\vert"]),Py=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Gm=function(t,r,n,a,i,s){var o,u,l,c,f="",p=0;o=l=c=t,u=null;var h="Size1-Regular";t==="\\uparrow"?l=c="⏐":t==="\\Uparrow"?l=c="‖":t==="\\downarrow"?o=l="⏐":t==="\\Downarrow"?o=l="‖":t==="\\updownarrow"?(o="\\uparrow",l="⏐",c="\\downarrow"):t==="\\Updownarrow"?(o="\\Uparrow",l="‖",c="\\Downarrow"):My.has(t)?(l="∣",f="vert",p=333):Py.has(t)?(l="∥",f="doublevert",p=556):t==="["||t==="\\lbrack"?(o="⎡",l="⎢",c="⎣",h="Size4-Regular",f="lbrack",p=667):t==="]"||t==="\\rbrack"?(o="⎤",l="⎥",c="⎦",h="Size4-Regular",f="rbrack",p=667):t==="\\lfloor"||t==="⌊"?(l=o="⎢",c="⎣",h="Size4-Regular",f="lfloor",p=667):t==="\\lceil"||t==="⌈"?(o="⎡",l=c="⎢",h="Size4-Regular",f="lceil",p=667):t==="\\rfloor"||t==="⌋"?(l=o="⎥",c="⎦",h="Size4-Regular",f="rfloor",p=667):t==="\\rceil"||t==="⌉"?(o="⎤",l=c="⎥",h="Size4-Regular",f="rceil",p=667):t==="("||t==="\\lparen"?(o="⎛",l="⎜",c="⎝",h="Size4-Regular",f="lparen",p=875):t===")"||t==="\\rparen"?(o="⎞",l="⎟",c="⎠",h="Size4-Regular",f="rparen",p=875):t==="\\{"||t==="\\lbrace"?(o="⎧",u="⎨",c="⎩",l="⎪",h="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(o="⎫",u="⎬",c="⎭",l="⎪",h="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(o="⎧",c="⎩",l="⎪",h="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(o="⎫",c="⎭",l="⎪",h="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(o="⎧",c="⎭",l="⎪",h="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(o="⎫",c="⎩",l="⎪",h="Size4-Regular");var b=La(o,h,i),y=b.height+b.depth,E=La(l,h,i),T=E.height+E.depth,A=La(c,h,i),k=A.height+A.depth,F=0,B=1;if(u!==null){var N=La(u,h,i);F=N.height+N.depth,B=2}var M=y+k+F,z=Math.max(0,Math.ceil((r-M)/(B*T))),U=M+z*B*T,L=a.fontMetrics().axisHeight;n&&(L*=a.sizeMultiplier);var $=U/2-L,te=[];if(f.length>0){var ge=U-y-k,X=Math.round(U*1e3),W=X9(f,Math.round(ge*1e3)),V=new Qr(f,W),se=fe(p/1e3),J=fe(X/1e3),he=new _r([V],{width:se,height:J,viewBox:"0 0 "+p+" "+X}),C=Jr([],[he],a);C.height=X/1e3,C.style.width=se,C.style.height=J,te.push({type:"elem",elem:C})}else{if(te.push(to(c,h,i)),te.push(Ui),u===null){var K=U-y-k+2*cu;te.push(ro(l,K,a))}else{var Q=(U-y-k-F)/2+2*cu;te.push(ro(l,Q,a)),te.push(Ui),te.push(to(u,h,i)),te.push(Ui),te.push(ro(l,Q,a))}te.push(Ui),te.push(to(o,h,i))}var I=a.havingBaseStyle(Ie.TEXT),me=je({positionType:"bottom",positionData:$,children:te});return vl(ne(["delimsizing","mult"],[me],I),Ie.TEXT,a,s)},no=80,ao=.08,io=function(t,r,n,a,i){var s=V9(t,a,n),o=new Qr(t,s),u=new _r([o],{width:"400em",height:fe(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Jr(["hide-tail"],[u],i)},Fy=function(t,r){var n=r.havingBaseSizing(),a=Zm("\\surd",t*n.sizeMultiplier,Jm,n),i=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,u=0,l=0,c=0,f;return a.type==="small"?(c=1e3+1e3*s+no,t<1?i=1:t<1.4&&(i=.7),u=(1+s+ao)/i,l=(1+s)/i,o=io("sqrtMain",u,c,s,r),o.style.minWidth="0.853em",f=.833/i):a.type==="large"?(c=(1e3+no)*ja[a.size],l=(ja[a.size]+s)/i,u=(ja[a.size]+s+ao)/i,o=io("sqrtSize"+a.size,u,c,s,r),o.style.minWidth="1.02em",f=1/i):(u=t+s+ao,l=t+s,c=Math.floor(1e3*t+s)+no,o=io("sqrtTall",u,c,s,r),o.style.minWidth="0.742em",f=1.056),o.height=l,o.style.height=fe(u),{span:o,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},Xm=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),By=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Km=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),ja=[0,1.2,1.8,2.4,3],Qm=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Xm.has(t)||Km.has(t))return Vm(t,r,!1,n,a,i);if(By.has(t))return Gm(t,ja[r],!1,n,a,i);throw new ue("Illegal delimiter: '"+t+"'")},zy=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Hy=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"stack"}],Jm=[{type:"small",style:Ie.SCRIPTSCRIPT},{type:"small",style:Ie.SCRIPT},{type:"small",style:Ie.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Uy=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";var r=t.type;throw new Error("Add support for delim type '"+r+"' here.")},Zm=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length;s++){var o=n[s];if(o.type==="stack")break;var u=La(t,Uy(o),"math"),l=u.height+u.depth;if(o.type==="small"){var c=a.havingBaseStyle(o.style);l*=c.sizeMultiplier}if(l>r)return o}return n[n.length-1]},fu=function(t,r,n,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var o;Km.has(t)?o=zy:Xm.has(t)?o=Jm:o=Hy;var u=Zm(t,r,o,a);return u.type==="small"?Dy(t,u.style,n,a,i,s):u.type==="large"?Vm(t,u.size,n,a,i,s):Gm(t,r,n,a,i,s)},so=function(t,r,n,a,i,s){var o=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,l=5/a.fontMetrics().ptPerEm,c=Math.max(r-o,n+o),f=Math.max(c/500*u,2*c-l);return fu(t,f,!0,a,i,s)},H1={"\\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}},jy=new Set(["(","\\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 u0(e,t){var r=s0(e);if(r&&jy.has(r.text))return r;throw r?new ue("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new ue("Invalid delimiter type '"+e.type+"'",e)}pe({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=u0(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:H1[e.funcName].size,mclass:H1[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?ne([e.mclass]):Qm(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(er(e.delim,e.mode));var r=new le("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=fe(ja[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function U1(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}pe({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 ue("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:u0(t[0],e).text,color:r}}});pe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=u0(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ne(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{U1(e);for(var r=yt(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,s=0;s<r.length;s++)r[s].isMiddle?i=!0:(n=Math.max(r[s].height,n),a=Math.max(r[s].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var o;if(e.left==="."?o=ri(t,["mopen"]):o=so(e.left,n,a,t,e.mode,["mopen"]),r.unshift(o),i)for(var u=1;u<r.length;u++){var l=r[u],c=l.isMiddle;c&&(r[u]=so(c.delim,n,a,c.options,e.mode,[]))}var f;if(e.right===".")f=ri(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=so(e.right,n,a,p,e.mode,["mclose"])}return r.push(f),ne(["minner"],r,t)},mathmlBuilder:(e,t)=>{U1(e);var r=Wt(e.body,t);if(e.left!=="."){var n=new le("mo",[er(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new le("mo",[er(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return xl(r)}});pe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=u0(t[0],e);if(!e.parser.leftrightDepth)throw new ue("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=ri(t,[]);else{r=Qm(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==="|"?er("|","text"):er(e.delim,e.mode),n=new le("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var l0=(e,t)=>{var r=ra($e(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,s=0,o=Rr(e.body);if(n==="sout")i=ne(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var u=at({number:.6,unit:"pt"},t),l=at({number:.35,unit:"ex"},t),c=t.havingBaseSizing();a=a/c.sizeMultiplier;var f=r.height+r.depth+u+l;r.style.paddingLeft=fe(f/2+u);var p=Math.floor(1e3*f*a),h=Y9(p),b=new _r([new Qr("phase",h)],{width:"400em",height:fe(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});i=Jr(["hide-tail"],[b],t),i.style.height=fe(f),s=r.depth+u+l}else{/cancel/.test(n)?o||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,E=0,T=0;/box/.test(n)?(T=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(n==="colorbox"?0:T),E=y):n==="angl"?(T=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*T,E=Math.max(0,.25-r.depth)):(y=o?.2:0,E=y),i=ky(r,n,y,E,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=fe(T)):n==="angl"&&T!==.049&&(i.style.borderTopWidth=fe(T),i.style.borderRightWidth=fe(T)),s=r.depth+E,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var A;if(e.backgroundColor)A=je({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]});else{var k=/cancel|phase/.test(n)?["svg-align"]:[];A=je({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:k}]})}return/cancel/.test(n)&&(A.height=r.height,A.depth=r.depth),/cancel/.test(n)&&!o?ne(["mord","cancel-lap"],[A],t):ne(["mord"],[A],t)},c0=(e,t)=>{var r=0,n=new le(e.label.includes("colorbox")?"mpadded":"menclose",[Ge(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 a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+fe(a)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};pe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ne(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:l0,mathmlBuilder:c0});pe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ne(t[0],"color-token").color,s=Ne(t[1],"color-token").color,o=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:l0,mathmlBuilder:c0});pe({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]}}});pe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:l0,mathmlBuilder:c0});pe({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e;r.mode==="math"&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:l0,mathmlBuilder:c0});pe({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 ep={};function yr(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,o={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u<r.length;++u)ep[r[u]]=o;i&&(Ts[t]=i),s&&(vs[t]=s)}var tp={};function v(e,t){tp[e]=t}class Pt{constructor(t,r,n){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 Pt(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class $t{constructor(t,r){this.text=t,this.loc=r}range(t,r){return new $t(r,Pt.range(this,t))}}function j1(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 f0=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ue("{"+e.envName+"} can be used only in display mode.")},$y=new Set(["gather","gather*"]);function wl(e){if(!e.includes("ed"))return!e.includes("*")}function sn(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:s,colSeparationType:o,autoTag:u,singleRow:l,emptySingleRow:c,maxNumCols:f,leqno:p}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var h=e.gullet.expandMacroAsText("\\arraystretch");if(h==null)s=1;else if(s=parseFloat(h),!s||s<0)throw new ue("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var b=[],y=[b],E=[],T=[],A=u!=null?[]:void 0;function k(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function F(){A&&(e.gullet.macros.get("\\df@tag")?(A.push(e.subparse([new $t("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):A.push(!!u&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(k(),T.push(j1(e));;){var B=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var N={type:"ordgroup",mode:e.mode,body:B};r&&(N={type:"styling",mode:e.mode,style:r,body:[N]}),b.push(N);var M=e.fetch().text;if(M==="&"){if(f&&b.length===f){if(l||o)throw new ue("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(M==="\\end"){F(),b.length===1&&N.type==="styling"&&N.body.length===1&&N.body[0].type==="ordgroup"&&N.body[0].body.length===0&&(y.length>1||!c)&&y.pop(),T.length<y.length+1&&T.push([]);break}else if(M==="\\\\"){e.consume();var z=void 0;e.gullet.future().text!==" "&&(z=e.parseSizeGroup(!0)),E.push(z?z.value:null),F(),T.push(j1(e)),b=[],y.push(b),k()}else throw new ue("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:s,body:y,cols:i,rowGaps:E,hskipBeforeAndAfter:n,hLinesBeforeRow:T,colSeparationType:o,tags:A,leqno:p}}function Al(e){return e.slice(0,1)==="d"?"display":"text"}var xr=function(t,r){var n,a,i=t.body.length,s=t.hLinesBeforeRow,o=0,u=new Array(i),l=[],c=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),f=1/r.fontMetrics().ptPerEm,p=5*f;if(t.colSeparationType&&t.colSeparationType==="small"){var h=r.havingStyle(Ie.SCRIPT).sizeMultiplier;p=.2778*(h/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?at({number:3,unit:"ex"},r):12*f,y=3*f,E=t.arraystretch*b,T=.7*E,A=.3*E,k=0;function F(Se){for(var Oe=0;Oe<Se.length;++Oe)Oe>0&&(k+=.25),l.push({pos:k,isDashed:Se[Oe]})}for(F(s[0]),n=0;n<t.body.length;++n){var B=t.body[n],N=T,M=A;o<B.length&&(o=B.length);var z=new Array(B.length);for(a=0;a<B.length;++a){var U=$e(B[a],r);M<U.depth&&(M=U.depth),N<U.height&&(N=U.height),z[a]=U}var L=t.rowGaps[n],$=0;L&&($=at(L,r),$>0&&($+=A,M<$&&(M=$),$=0)),t.addJot&&n<t.body.length-1&&(M+=y),z.height=N,z.depth=M,k+=N,z.pos=k,k+=M+$,u[n]=z,F(s[n+1])}var te=k/2+r.fontMetrics().axisHeight,ge=t.cols||[],X=[],W,V,se=[];if(t.tags&&t.tags.some(Se=>Se))for(n=0;n<i;++n){var J=u[n],he=J.pos-te,C=t.tags[n],K=void 0;C===!0?K=ne(["eqn-num"],[],r):C===!1?K=ne([],[],r):K=ne([],yt(C,r,!0),r),K.depth=J.depth,K.height=J.height,se.push({type:"elem",elem:K,shift:he})}for(a=0,V=0;a<o||V<ge.length;++a,++V){for(var Q,I=ge[V],me=!0;((ve=I)==null?void 0:ve.type)==="separator";){var ve;if(me||(W=ne(["arraycolsep"],[]),W.style.width=fe(r.fontMetrics().doubleRuleSep),X.push(W)),I.separator==="|"||I.separator===":"){var Ce=I.separator==="|"?"solid":"dashed",He=ne(["vertical-separator"],[],r);He.style.height=fe(k),He.style.borderRightWidth=fe(c),He.style.borderRightStyle=Ce,He.style.margin="0 "+fe(-c/2);var Ze=k-te;Ze&&(He.style.verticalAlign=fe(-Ze)),X.push(He)}else throw new ue("Invalid separator type: "+I.separator);V++,I=ge[V],me=!1}if(!(a>=o)){var qe=void 0;if(a>0||t.hskipBeforeAndAfter){var ze,pt;qe=(ze=(pt=I)==null?void 0:pt.pregap)!=null?ze:p,qe!==0&&(W=ne(["arraycolsep"],[]),W.style.width=fe(qe),X.push(W))}var Tt=[];for(n=0;n<i;++n){var Dt=u[n],Fr=Dt[a];if(Fr){var on=Dt.pos-te;Fr.depth=Dt.depth,Fr.height=Dt.height,Tt.push({type:"elem",elem:Fr,shift:on})}}var un=je({positionType:"individualShift",children:Tt}),ln=ne(["col-align-"+(((Q=I)==null?void 0:Q.align)||"c")],[un]);if(X.push(ln),a<o-1||t.hskipBeforeAndAfter){var cn,Br;qe=(cn=(Br=I)==null?void 0:Br.postgap)!=null?cn:p,qe!==0&&(W=ne(["arraycolsep"],[]),W.style.width=fe(qe),X.push(W))}}}var Te=ne(["mtable"],X);if(l.length>0){for(var Ke=ta("hline",r,c),Ye=ta("hdashline",r,c),Be=[{type:"elem",elem:Te,shift:0}];l.length>0;){var Gt=l.pop(),ur=Gt.pos-te;Gt.isDashed?Be.push({type:"elem",elem:Ye,shift:ur}):Be.push({type:"elem",elem:Ke,shift:ur})}Te=je({positionType:"individualShift",children:Be})}if(se.length===0)return ne(["mord"],[Te],r);var Y=je({positionType:"individualShift",children:se}),de=ne(["tag"],[Y],r);return Lr([Te,de])},qy={c:"center ",l:"left ",r:"right "},Er=function(t,r){for(var n=[],a=new le("mtd",[],["mtr-glue"]),i=new le("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var o=t.body[s],u=[],l=0;l<o.length;l++)u.push(new le("mtd",[Ge(o[l],r)]));t.tags&&t.tags[s]&&(u.unshift(a),u.push(a),t.leqno?u.unshift(i):u.push(i)),n.push(new le("mtr",u))}var c=new le("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",fe(f));var p="",h="";if(t.cols&&t.cols.length>0){var b=t.cols,y="",E=!1,T=0,A=b.length;b[0].type==="separator"&&(p+="top ",T=1),b[b.length-1].type==="separator"&&(p+="bottom ",A-=1);for(var k=T;k<A;k++){var F=b[k];F.type==="align"?(h+=qy[F.align],E&&(y+="none "),E=!0):F.type==="separator"&&E&&(y+=F.separator==="|"?"solid ":"dashed ",E=!1)}c.setAttribute("columnalign",h.trim()),/[sd]/.test(y)&&c.setAttribute("columnlines",y.trim())}if(t.colSeparationType==="align"){for(var B=t.cols||[],N="",M=1;M<B.length;M++)N+=M%2?"0em ":"1em ";c.setAttribute("columnspacing",N.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var z="",U=t.hLinesBeforeRow;p+=U[0].length>0?"left ":"",p+=U[U.length-1].length>0?"right ":"";for(var L=1;L<U.length-1;L++)z+=U[L].length===0?"none ":U[L][0]?"dashed ":"solid ";return/[sd]/.test(z)&&c.setAttribute("rowlines",z.trim()),p!==""&&(c=new le("menclose",[c]),c.setAttribute("notation",p.trim())),t.arraystretch&&t.arraystretch<1&&(c=new le("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},rp=function(t,r){t.envName.includes("ed")||f0(t);var n=[],a=t.envName.includes("at")?"alignat":"align",i=t.envName==="split",s=sn(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:wl(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),o=0,u=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",f=0;f<r[0].body.length;f++){var p=Ne(r[0].body[f],"textord");c+=p.text}o=Number(c),u=o*2}var h=!u;s.body.forEach(function(T){for(var A=1;A<T.length;A+=2){var k=Ne(T[A],"styling"),F=Ne(k.body[0],"ordgroup");F.body.unshift(l)}if(h)u<T.length&&(u=T.length);else{var B=T.length/2;if(o<B)throw new ue("Too many math in a row: "+("expected "+o+", but got "+B),T[0])}});for(var b=0;b<u;++b){var y="r",E=0;b%2===1?y="l":b>0&&h&&(E=1),n[b]={type:"align",align:y,pregap:E,postgap:0}}return s.colSeparationType=h?"align":"alignat",s};yr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=s0(t[0]),n=r?[t[0]]:Ne(t[0],"ordgroup").body,a=n.map(function(s){var o=i0(s),u=o.text;if("lcr".includes(u))return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new ue("Unknown column alignment: "+u,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return sn(e.parser,i,Al(e.envName))},htmlBuilder:xr,mathmlBuilder:Er});yr({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 a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!"lcr".includes(r))throw new ue("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=sn(e.parser,n,Al(e.envName)),s=Math.max(0,...i.body.map(o=>o.length));return i.cols=new Array(s).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=sn(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=s0(t[0]),n=r?[t[0]]:Ne(t[0],"ordgroup").body,a=n.map(function(o){var u=i0(o),l=u.text;if("lc".includes(l))return{type:"align",align:l};throw new ue("Unknown column alignment: "+l,o)});if(a.length>1)throw new ue("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},s=sn(e.parser,i,"script");if(s.body.length>0&&s.body[0].length>1)throw new ue("{subarray} can contain only one column");return s},htmlBuilder:xr,mathmlBuilder:Er});yr({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=sn(e.parser,t,Al(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:rp,htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){$y.has(e.envName)&&f0(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:wl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return sn(e.parser,t,"display")},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:rp,htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){f0(e);var t={autoTag:wl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return sn(e.parser,t,"display")},htmlBuilder:xr,mathmlBuilder:Er});yr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return f0(e),Oy(e.parser)},htmlBuilder:xr,mathmlBuilder:Er});v("\\nonumber","\\gdef\\@eqnsw{0}");v("\\notag","\\nonumber");pe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ue(e.funcName+" valid only within array environment")}});var $1=ep;pe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new ue("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=Ne(a.body[s],"textord").text;if(n==="\\begin"){if(!$1.hasOwnProperty(i))throw new ue("No such environment: "+i,a);var o=$1[i],{args:u,optArgs:l}=r.parseArguments("\\begin{"+i+"}",o),c={mode:r.mode,envName:i,parser:r},f=o.handler(c,u,l);r.expect("\\end",!1);var p=r.nextToken,h=Ne(r.parseFunction(),"environment");if(h.name!==i)throw new ue("Mismatch: \\begin{"+i+"} matched by \\end{"+h.name+"}",p);return f}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var np=(e,t)=>{var r=e.font,n=t.withFont(r);return $e(e.body,n)},ap=(e,t)=>{var r=e.font,n=t.withFont(r);return Ge(e.body,n)},q1={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};pe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=ws(t[0]),i=n;return i in q1&&(i=q1[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:np,mathmlBuilder:ap});pe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:o0(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:Rr(n)}}});pe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,s=r.parseExpression(!0,a),o="math"+n.slice(1);return{type:"font",mode:i,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:np,mathmlBuilder:ap});var Yy=(e,t)=>{var r=t.style,n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var s=$e(e.numer,i,t);if(e.continued){var o=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;s.height=s.height<o?o:s.height,s.depth=s.depth<u?u:s.depth}i=t.havingStyle(a);var l=$e(e.denom,i,t),c,f,p;e.hasBarLine?(e.barSize?(f=at(e.barSize,t),c=ta("frac-line",t,f)):c=ta("frac-line",t),f=c.height,p=c.height):(c=null,f=0,p=t.fontMetrics().defaultRuleThickness);var h,b,y;r.size===Ie.DISPLAY.size?(h=t.fontMetrics().num1,f>0?b=3*p:b=7*p,y=t.fontMetrics().denom1):(f>0?(h=t.fontMetrics().num2,b=p):(h=t.fontMetrics().num3,b=3*p),y=t.fontMetrics().denom2);var E;if(c){var A=t.fontMetrics().axisHeight;h-s.depth-(A+.5*f)<b&&(h+=b-(h-s.depth-(A+.5*f))),A-.5*f-(l.height-y)<b&&(y+=b-(A-.5*f-(l.height-y)));var k=-(A-.5*f);E=je({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:c,shift:k},{type:"elem",elem:s,shift:-h}]})}else{var T=h-s.depth-(l.height-y);T<b&&(h+=.5*(b-T),y+=.5*(b-T)),E=je({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:s,shift:-h}]})}i=t.havingStyle(r),E.height*=i.sizeMultiplier/t.sizeMultiplier,E.depth*=i.sizeMultiplier/t.sizeMultiplier;var F;r.size===Ie.DISPLAY.size?F=t.fontMetrics().delim1:r.size===Ie.SCRIPTSCRIPT.size?F=t.havingStyle(Ie.SCRIPT).fontMetrics().delim2:F=t.fontMetrics().delim2;var B,N;return e.leftDelim==null?B=ri(t,["mopen"]):B=fu(e.leftDelim,F,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?N=ne([]):e.rightDelim==null?N=ri(t,["mclose"]):N=fu(e.rightDelim,F,!0,t.havingStyle(r),e.mode,["mclose"]),ne(["mord"].concat(i.sizingClasses(t)),[B,ne(["mfrac"],[E]),N],t)},Wy=(e,t)=>{var r=new le("mfrac",[Ge(e.numer,t),Ge(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=at(e.barSize,t);r.setAttribute("linethickness",fe(n))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var i=new le("mo",[new ht(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),e.rightDelim!=null){var s=new le("mo",[new ht(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return xl(a)}return r},ip=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};pe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],s,o=null,u=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",u=")";break;case"\\\\bracefrac":s=!1,o="\\{",u="\\}";break;case"\\\\brackfrac":s=!1,o="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}var l=n==="\\cfrac",c=null;return l||n.startsWith("\\d")?c="display":n.startsWith("\\t")&&(c="text"),ip({type:"genfrac",mode:r.mode,numer:a,denom:i,continued:l,hasBarLine:s,leftDelim:o,rightDelim:u,barSize:null},c)},htmlBuilder:Yy,mathmlBuilder:Wy});pe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var Y1=["display","text","script","scriptscript"],W1=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};pe({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],a=t[5],i=ws(t[0]),s=i.type==="atom"&&i.family==="open"?W1(i.text):null,o=ws(t[1]),u=o.type==="atom"&&o.family==="close"?W1(o.text):null,l=Ne(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var p=null,h=t[3];if(h.type==="ordgroup"){if(h.body.length>0){var b=Ne(h.body[0],"textord");p=Y1[Number(b.text)]}}else h=Ne(h,"textord"),p=Y1[Number(h.text)];return ip({type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:c,barSize:f,leftDelim:s,rightDelim:u},p)}});pe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Ne(t[0],"size").value,token:a}}});pe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=Ne(t[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var s=t[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null}}});var sp=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?$e(e.sup,t.havingStyle(r.sup()),t):$e(e.sub,t.havingStyle(r.sub()),t),a=Ne(e.base,"horizBrace")):a=Ne(e,"horizBrace");var i=$e(a.base,t.havingBaseStyle(Ie.DISPLAY)),s=a0(a,t),o;if(a.isOver?(o=je({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]}),o.children[0].children[0].children[1].classes.push("svg-align")):(o=je({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]}),o.children[0].children[0].children[0].classes.push("svg-align")),n){var u=ne(["minner",a.isOver?"mover":"munder"],[o],t);a.isOver?o=je({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]}):o=je({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]})}return ne(["minner",a.isOver?"mover":"munder"],[o],t)},Vy=(e,t)=>{var r=n0(e.label);return new le(e.isOver?"mover":"munder",[Ge(e.base,t),r])};pe({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:sp,mathmlBuilder:Vy});pe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=Ne(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:dt(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=yt(e.body,t,!1);return cy(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Zr(e.body,t);return r instanceof le||(r=new le("mrow",[r])),r.setAttribute("href",e.href),r}});pe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Ne(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var s=n[i];s==="~"&&(s="\\textasciitilde"),a.push({type:"textord",mode:"text",text:s})}var o={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:dt(o)}}});pe({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:dt(t[0])}},htmlBuilder(e,t){var r=yt(e.body,t,!1);return Lr(r)},mathmlBuilder(e,t){return new le("mrow",Wt(e.body,t))}});pe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=Ne(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,u={};switch(n){case"\\htmlClass":u.class=i,o={command:"\\htmlClass",class:i};break;case"\\htmlId":u.id=i,o={command:"\\htmlId",id:i};break;case"\\htmlStyle":u.style=i,o={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var l=i.split(","),c=0;c<l.length;c++){var f=l[c],p=f.indexOf("=");if(p<0)throw new ue("\\htmlData key/value '"+f+"' missing equals sign");var h=f.slice(0,p),b=f.slice(p+1);u["data-"+h.trim()]=b}o={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(o)?{type:"html",mode:r.mode,attributes:u,body:dt(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=yt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=ne(n,r,t);for(var i in e.attributes)i!=="class"&&e.attributes.hasOwnProperty(i)&&a.setAttribute(i,e.attributes[i]);return a},mathmlBuilder:(e,t)=>Zr(e.body,t)});pe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:dt(t[0]),mathml:dt(t[1])}},htmlBuilder:(e,t)=>{var r=yt(e.html,t,!1);return Lr(r)},mathmlBuilder:(e,t)=>Zr(e.mathml,t)});var oo=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 ue("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!wm(n))throw new ue("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};pe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var u=Ne(r[0],"raw").string,l=u.split(","),c=0;c<l.length;c++){var f=l[c].split("=");if(f.length===2){var p=f[1].trim();switch(f[0].trim()){case"alt":o=p;break;case"width":a=oo(p);break;case"height":i=oo(p);break;case"totalheight":s=oo(p);break;default:throw new ue("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var h=Ne(t[0],"url").url;return o===""&&(o=h,o=o.replace(/^.*[\\/]/,""),o=o.substring(0,o.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:h})?{type:"includegraphics",mode:n.mode,alt:o,width:a,height:i,totalheight:s,src:h}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=at(e.height,t),n=0;e.totalheight.number>0&&(n=at(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=at(e.width,t));var i={height:fe(r+n)};a>0&&(i.width=fe(a)),n>0&&(i.verticalAlign=fe(-n));var s=new J9(e.src,e.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new le("mglyph",[]);r.setAttribute("alt",e.alt);var n=at(e.height,t),a=0;if(e.totalheight.number>0&&(a=at(e.totalheight,t)-n,r.setAttribute("valign",fe(-a))),r.setAttribute("height",fe(n+a)),e.width.number>0){var i=at(e.width,t);r.setAttribute("width",fe(i))}return r.setAttribute("src",e.src),r}});pe({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,a=Ne(t[0],"size");if(r.settings.strict){var i=n[1]==="m",s=a.value.unit==="mu";i?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.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:a.value}},htmlBuilder(e,t){return _m(e.dimension,t)},mathmlBuilder(e,t){var r=at(e.dimension,t);return new Mm(r)}});pe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=ne([],[$e(e.body,t)]),r=ne(["inner"],[r],t)):r=ne(["inner"],[$e(e.body,t)]);var n=ne(["fix"],[]),a=ne([e.alignment],[r,n],t),i=ne(["strut"]);return i.style.height=fe(a.height+a.depth),a.depth&&(i.style.verticalAlign=fe(-a.depth)),a.children.unshift(i),a=ne(["thinbox"],[a],t),ne(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new le("mpadded",[Ge(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}});pe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",s=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:s}}});pe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ue("Mismatched "+e.funcName)}});var V1=(e,t)=>{switch(t.style.size){case Ie.DISPLAY.size:return e.display;case Ie.TEXT.size:return e.text;case Ie.SCRIPT.size:return e.script;case Ie.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};pe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:dt(t[0]),text:dt(t[1]),script:dt(t[2]),scriptscript:dt(t[3])}},htmlBuilder:(e,t)=>{var r=V1(e,t),n=yt(r,t,!1);return Lr(n)},mathmlBuilder:(e,t)=>{var r=V1(e,t);return Zr(r,t)}});var op=(e,t,r,n,a,i,s)=>{e=ne([],[e]);var o=r&&Rr(r),u,l;if(t){var c=$e(t,n.havingStyle(a.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=$e(r,n.havingStyle(a.sub()),n);u={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var p;if(l&&u){var h=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+s;p=je({positionType:"bottom",positionData:h,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:fe(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:fe(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(u){var b=e.height-s;p=je({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:fe(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e}]})}else if(l){var y=e.depth+s;p=je({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:fe(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return e;var E=[p];if(u&&i!==0&&!o){var T=ne(["mspace"],[],n);T.style.marginRight=fe(i),E.unshift(T)}return ne(["mop","op-limits"],E,n)},up=new Set(["\\smallint"]),ma=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ne(e.base,"op"),a=!0):i=Ne(e,"op");var s=t.style,o=!1;s.size===Ie.DISPLAY.size&&i.symbol&&!up.has(i.name)&&(o=!0);var u;if(i.symbol){var l=o?"Size2-Regular":"Size1-Regular",c="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(c=i.name.slice(1),i.name=c==="oiint"?"\\iint":"\\iiint"),u=_t(i.name,l,"math",t,["mop","op-symbol",o?"large-op":"small-op"]),c.length>0){var f=u.italic,p=Om(c+"Size"+(o?"2":"1"),t);u=je({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:p,shift:o?.08:0}]}),i.name="\\"+c,u.classes.unshift("mop"),u.italic=f}}else if(i.body){var h=yt(i.body,t,!0);h.length===1&&h[0]instanceof qt?(u=h[0],u.classes[0]="mop"):u=ne(["mop"],h,t)}else{for(var b=[],y=1;y<i.name.length;y++)b.push(bl(i.name[y],i.mode,t));u=ne(["mop"],b,t)}var E=0,T=0;return(u instanceof qt||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(E=(u.height-u.depth)/2-t.fontMetrics().axisHeight,T=u.italic||0),a?op(u,r,n,t,s,T,E):(E&&(u.style.position="relative",u.style.top=fe(E)),u)},Ei=(e,t)=>{var r;if(e.symbol)r=new le("mo",[er(e.name,e.mode)]),up.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new le("mo",Wt(e.body,t));else{r=new le("mi",[new ht(e.name.slice(1))]);var n=new le("mo",[er("","text")]);e.parentIsSupSub?r=new le("mrow",[r,n]):r=Lm([r,n])}return r},Gy={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};pe({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,a=n;return a.length===1&&(a=Gy[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ma,mathmlBuilder:Ei});pe({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:dt(n)}},htmlBuilder:ma,mathmlBuilder:Ei});var Xy={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};pe({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:ma,mathmlBuilder:Ei});pe({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:ma,mathmlBuilder:Ei});pe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Xy[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ma,mathmlBuilder:Ei});var lp=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ne(e.base,"operatorname"),a=!0):i=Ne(e,"operatorname");var s;if(i.body.length>0){for(var o=i.body.map(f=>{var p="text"in f?f.text:void 0;return typeof p=="string"?{type:"textord",mode:f.mode,text:p}:f}),u=yt(o,t.withFont("mathrm"),!0),l=0;l<u.length;l++){var c=u[l];c instanceof qt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=ne(["mop"],u,t)}else s=ne(["mop"],[],t);return a?op(s,r,n,t,t.style,0,0):s},Ky=(e,t)=>{for(var r=Wt(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof Mm))if(i instanceof le)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof ht?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var o=r.map(c=>c.toText()).join("");r=[new ht(o)]}var u=new le("mi",r);u.setAttribute("mathvariant","normal");var l=new le("mo",[er("","text")]);return e.parentIsSupSub?new le("mrow",[u,l]):Lm([u,l])};pe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:dt(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:lp,mathmlBuilder:Ky});v("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");Rn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Lr(yt(e.body,t,!1)):ne(["mord"],yt(e.body,t,!0),t)},mathmlBuilder(e,t){return Zr(e.body,t,!0)}});pe({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=$e(e.body,t.havingCrampedStyle()),n=ta("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=je({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return ne(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new le("mo",[new ht("‾")]);r.setAttribute("stretchy","true");var n=new le("mover",[Ge(e.body,t),r]);return n.setAttribute("accent","true"),n}});pe({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:dt(n)}},htmlBuilder:(e,t)=>{var r=yt(e.body,t.withPhantom(),!1);return Lr(r)},mathmlBuilder:(e,t)=>{var r=Wt(e.body,t);return new le("mphantom",r)}});v("\\hphantom","\\smash{\\phantom{#1}}");pe({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=ne(["inner"],[$e(e.body,t.withPhantom())]),n=ne(["fix"],[]);return ne(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Wt(dt(e.body),t),n=new le("mphantom",r),a=new le("mpadded",[n]);return a.setAttribute("width","0px"),a}});pe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Ne(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=$e(e.body,t),n=at(e.dy,t);return je({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new le("mpadded",[Ge(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});pe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});pe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=Ne(t[0],"size"),s=Ne(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&Ne(a,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=ne(["mord","rule"],[],t),n=at(e.width,t),a=at(e.height,t),i=e.shift?at(e.shift,t):0;return r.style.borderRightWidth=fe(n),r.style.borderTopWidth=fe(a),r.style.bottom=fe(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=at(e.width,t),n=at(e.height,t),a=e.shift?at(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new le("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",fe(r)),s.setAttribute("height",fe(n));var o=new le("mpadded",[s]);return a>=0?o.setAttribute("height",fe(a)):(o.setAttribute("height",fe(a)),o.setAttribute("depth",fe(-a))),o.setAttribute("voffset",fe(a)),o}});function cp(e,t,r){for(var n=yt(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var s=n[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[s+1]==="reset-size"+t.size&&(n[i].classes[s+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return Lr(n)}var G1=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Qy=(e,t)=>{var r=t.havingSize(e.size);return cp(e.body,r,t)};pe({type:"sizing",names:G1,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:G1.indexOf(n)+1,body:i}},htmlBuilder:Qy,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Wt(e.body,r),a=new le("mstyle",n);return a.setAttribute("mathsize",fe(r.sizeMultiplier)),a}});pe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,s=r[0]&&Ne(r[0],"ordgroup");if(s)for(var o="",u=0;u<s.body.length;++u){var l=s.body[u];if(o=i0(l).text,o==="t")a=!0;else if(o==="b")i=!0;else{a=!1,i=!1;break}}else a=!0,i=!0;var c=t[0];return{type:"smash",mode:n.mode,body:c,smashHeight:a,smashDepth:i}},htmlBuilder:(e,t)=>{var r=ne([],[$e(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return ne(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);var a=je({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return ne(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new le("mpadded",[Ge(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});pe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=$e(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=ra(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<Ie.TEXT.id&&(i=t.fontMetrics().xHeight);var s=a+i/4,o=r.height+r.depth+s+a,{span:u,ruleWidth:l,advanceWidth:c}=Fy(o,t),f=u.height-l;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var p=u.height-r.height-s-l;r.style.paddingLeft=fe(c);var h=je({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:u},{type:"kern",size:l}]});if(e.index){var b=t.havingStyle(Ie.SCRIPTSCRIPT),y=$e(e.index,b,t),E=.6*(h.height-h.depth),T=je({positionType:"shift",positionData:-E,children:[{type:"elem",elem:y}]}),A=ne(["root"],[T]);return ne(["mord","sqrt"],[A,h],t)}else return ne(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new le("mroot",[Ge(r,t),Ge(n,t)]):new le("msqrt",[Ge(r,t)])}});var X1={display:Ie.DISPLAY,text:Ie.TEXT,script:Ie.SCRIPT,scriptscript:Ie.SCRIPTSCRIPT};pe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:s,body:i}},htmlBuilder(e,t){var r=X1[e.style],n=t.havingStyle(r).withFont("");return cp(e.body,n,t)},mathmlBuilder(e,t){var r=X1[e.style],n=t.havingStyle(r),a=Wt(e.body,n),i=new le("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});var Jy=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===Ie.DISPLAY.size||n.alwaysHandleSupSub);return a?ma:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===Ie.DISPLAY.size||n.limits);return i?lp:null}else{if(n.type==="accent")return Rr(n.base)?Tl:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?sp:null}else return null}else return null};Rn({type:"supsub",htmlBuilder(e,t){var r=Jy(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,s=$e(n,t),o,u,l=t.fontMetrics(),c=0,f=0,p=n&&Rr(n);if(a){var h=t.havingStyle(t.style.sup());o=$e(a,h,t),p||(c=s.height-h.fontMetrics().supDrop*h.sizeMultiplier/t.sizeMultiplier)}if(i){var b=t.havingStyle(t.style.sub());u=$e(i,b,t),p||(f=s.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var y;t.style===Ie.DISPLAY?y=l.sup1:t.style.cramped?y=l.sup3:y=l.sup2;var E=t.sizeMultiplier,T=fe(.5/l.ptPerEm/E),A=null;if(u){var k=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof qt||k)&&(A=fe(-s.italic))}var F;if(o&&u){c=Math.max(c,y,o.depth+.25*l.xHeight),f=Math.max(f,l.sub2);var B=l.defaultRuleThickness,N=4*B;if(c-o.depth-(u.height-f)<N){f=N-(c-o.depth)+u.height;var M=.8*l.xHeight-(c-o.depth);M>0&&(c+=M,f-=M)}var z=[{type:"elem",elem:u,shift:f,marginRight:T,marginLeft:A},{type:"elem",elem:o,shift:-c,marginRight:T}];F=je({positionType:"individualShift",children:z})}else if(u){f=Math.max(f,l.sub1,u.height-.8*l.xHeight);var U=[{type:"elem",elem:u,marginLeft:A,marginRight:T}];F=je({positionType:"shift",positionData:f,children:U})}else if(o)c=Math.max(c,y,o.depth+.25*l.xHeight),F=je({positionType:"shift",positionData:-c,children:[{type:"elem",elem:o,marginRight:T}]});else throw new Error("supsub must have either sup or sub.");var L=ou(s,"right")||"mord";return ne([L],[s,ne(["msupsub"],[F])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[Ge(e.base,t)];e.sub&&i.push(Ge(e.sub,t)),e.sup&&i.push(Ge(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===Ie.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===Ie.DISPLAY||l.limits)?s="munderover":s="msubsup"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===Ie.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===Ie.DISPLAY)?s="munder":s="msub"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===Ie.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===Ie.DISPLAY)?s="mover":s="msup"}return new le(s,i)}});Rn({type:"atom",htmlBuilder(e,t){return bl(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new le("mo",[er(e.text,e.mode)]);if(e.family==="bin"){var n=El(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 fp={mi:"italic",mn:"normal",mtext:"normal"};Rn({type:"mathord",htmlBuilder(e,t){return r0(e,t,"mathord")},mathmlBuilder(e,t){var r=new le("mi",[er(e.text,e.mode,t)]),n=El(e,t)||"italic";return n!==fp[r.type]&&r.setAttribute("mathvariant",n),r}});Rn({type:"textord",htmlBuilder(e,t){return r0(e,t,"textord")},mathmlBuilder(e,t){var r=er(e.text,e.mode,t),n=El(e,t)||"normal",a;return e.mode==="text"?a=new le("mtext",[r]):/[0-9]/.test(e.text)?a=new le("mn",[r]):e.text==="\\prime"?a=new le("mo",[r]):a=new le("mi",[r]),n!==fp[a.type]&&a.setAttribute("mathvariant",n),a}});var uo={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},lo={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Rn({type:"spacing",htmlBuilder(e,t){if(lo.hasOwnProperty(e.text)){var r=lo[e.text].className||"";if(e.mode==="text"){var n=r0(e,t,"textord");return n.classes.push(r),n}else return ne(["mspace",r],[bl(e.text,e.mode,t)],t)}else{if(uo.hasOwnProperty(e.text))return ne(["mspace",uo[e.text]],[],t);throw new ue('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(lo.hasOwnProperty(e.text))r=new le("mtext",[new ht(" ")]);else{if(uo.hasOwnProperty(e.text))return new le("mspace");throw new ue('Unknown type of space "'+e.text+'"')}return r}});var K1=()=>{var e=new le("mtd",[]);return e.setAttribute("width","50%"),e};Rn({type:"tag",mathmlBuilder(e,t){var r=new le("mtable",[new le("mtr",[K1(),new le("mtd",[Zr(e.body,t)]),K1(),new le("mtd",[Zr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Q1={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},J1={"\\textbf":"textbf","\\textmd":"textmd"},Zy={"\\textit":"textit","\\textup":"textup"},Z1=(e,t)=>{var r=e.font;if(r){if(Q1[r])return t.withTextFontFamily(Q1[r]);if(J1[r])return t.withTextFontWeight(J1[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Zy[r])};pe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:dt(a),font:n}},htmlBuilder(e,t){var r=Z1(e,t),n=yt(e.body,r,!0);return ne(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Z1(e,t);return Zr(e.body,r)}});pe({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=$e(e.body,t),n=ta("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=je({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return ne(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new le("mo",[new ht("‾")]);r.setAttribute("stretchy","true");var n=new le("munder",[Ge(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});pe({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=$e(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return je({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new le("mpadded",[Ge(e.body,t)],["vcenter"]);return new le("mrow",[r])}});pe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new ue("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=ef(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(_t(s,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return ne(["mord","text"].concat(a.sizingClasses(t)),Im(n),a)},mathmlBuilder(e,t){var r=new ht(ef(e)),n=new le("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var ef=e=>e.body.replace(/ /g,e.star?"␣":" "),Gr=Rm,dp=`[ \r
|
|
281
281
|
]`,ex="\\\\[a-zA-Z@]+",tx="\\\\[^\uD800-\uDFFF]",rx="("+ex+")"+dp+"*",nx=`\\\\(
|
|
282
282
|
|[ \r ]+
|
|
283
283
|
?)[ \r ]*`,du="[̀-ͯ]",ax=new RegExp(du+"+$"),ix="("+dp+"+)|"+(nx+"|")+"([!-\\[\\]-‧-豈-]"+(du+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(du+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+rx)+("|"+tx+")");class tf{constructor(t,r){this.input=t,this.settings=r,this.tokenRegex=new RegExp(ix,"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 $t("EOF",new Pt(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new ue("Unexpected character: '"+t[r]+"'",new $t(t[r],new Pt(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
|
|
284
284
|
`,this.tokenRegex.lastIndex);return i===-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=i+1,this.lex()}return new $t(a,new Pt(this,r,this.tokenRegex.lastIndex))}}class sx{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ue("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 a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var ox=tp;v("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});v("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});v("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});v("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});v("\\@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}});v("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");v("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var rf={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};v("\\char",function(e){var t=e.popToken(),r,n=0;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 ue("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=rf[t.text],n==null||n>=r)throw new ue("Invalid base-"+r+" digit "+t.text);for(var a;(a=rf[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var Sl=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new ue("\\newcommand's first argument must be a macro name");var i=a[0].text,s=e.isDefined(i);if(s&&!t)throw new ue("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new ue("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var o=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var u="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)u+=l.text,l=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new ue("Invalid number of arguments: "+u);o=parseInt(u),a=e.consumeArg().tokens}return s&&n||e.macros.set(i,{tokens:a,numArgs:o}),""};v("\\newcommand",e=>Sl(e,!1,!0,!1));v("\\renewcommand",e=>Sl(e,!0,!1,!1));v("\\providecommand",e=>Sl(e,!0,!0,!0));v("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});v("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});v("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),Gr[r],tt.math[r],tt.text[r]),""});v("\\bgroup","{");v("\\egroup","}");v("~","\\nobreakspace");v("\\lq","`");v("\\rq","'");v("\\aa","\\r a");v("\\AA","\\r A");v("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");v("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");v("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");v("ℬ","\\mathscr{B}");v("ℰ","\\mathscr{E}");v("ℱ","\\mathscr{F}");v("ℋ","\\mathscr{H}");v("ℐ","\\mathscr{I}");v("ℒ","\\mathscr{L}");v("ℳ","\\mathscr{M}");v("ℛ","\\mathscr{R}");v("ℭ","\\mathfrak{C}");v("ℌ","\\mathfrak{H}");v("ℨ","\\mathfrak{Z}");v("\\Bbbk","\\Bbb{k}");v("\\llap","\\mathllap{\\textrm{#1}}");v("\\rlap","\\mathrlap{\\textrm{#1}}");v("\\clap","\\mathclap{\\textrm{#1}}");v("\\mathstrut","\\vphantom{(}");v("\\underbar","\\underline{\\text{#1}}");v("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');v("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");v("\\ne","\\neq");v("≠","\\neq");v("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");v("∉","\\notin");v("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");v("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");v("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");v("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");v("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");v("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");v("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");v("⟂","\\perp");v("‼","\\mathclose{!\\mkern-0.8mu!}");v("∌","\\notni");v("⌜","\\ulcorner");v("⌝","\\urcorner");v("⌞","\\llcorner");v("⌟","\\lrcorner");v("©","\\copyright");v("®","\\textregistered");v("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');v("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');v("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');v("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');v("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");v("⋮","\\vdots");v("\\varGamma","\\mathit{\\Gamma}");v("\\varDelta","\\mathit{\\Delta}");v("\\varTheta","\\mathit{\\Theta}");v("\\varLambda","\\mathit{\\Lambda}");v("\\varXi","\\mathit{\\Xi}");v("\\varPi","\\mathit{\\Pi}");v("\\varSigma","\\mathit{\\Sigma}");v("\\varUpsilon","\\mathit{\\Upsilon}");v("\\varPhi","\\mathit{\\Phi}");v("\\varPsi","\\mathit{\\Psi}");v("\\varOmega","\\mathit{\\Omega}");v("\\substack","\\begin{subarray}{c}#1\\end{subarray}");v("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");v("\\boxed","\\fbox{$\\displaystyle{#1}$}");v("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");v("\\implies","\\DOTSB\\;\\Longrightarrow\\;");v("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");v("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");v("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var nf={",":"\\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"},ux=new Set(["bin","rel"]);v("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in nf?t=nf[r]:(r.slice(0,4)==="\\not"||r in tt.math&&ux.has(tt.math[r].group))&&(t="\\dotsb"),t});var kl={")":!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};v("\\dotso",function(e){var t=e.future().text;return t in kl?"\\ldots\\,":"\\ldots"});v("\\dotsc",function(e){var t=e.future().text;return t in kl&&t!==","?"\\ldots\\,":"\\ldots"});v("\\cdots",function(e){var t=e.future().text;return t in kl?"\\@cdots\\,":"\\@cdots"});v("\\dotsb","\\cdots");v("\\dotsm","\\cdots");v("\\dotsi","\\!\\cdots");v("\\dotsx","\\ldots\\,");v("\\DOTSI","\\relax");v("\\DOTSB","\\relax");v("\\DOTSX","\\relax");v("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");v("\\,","\\tmspace+{3mu}{.1667em}");v("\\thinspace","\\,");v("\\>","\\mskip{4mu}");v("\\:","\\tmspace+{4mu}{.2222em}");v("\\medspace","\\:");v("\\;","\\tmspace+{5mu}{.2777em}");v("\\thickspace","\\;");v("\\!","\\tmspace-{3mu}{.1667em}");v("\\negthinspace","\\!");v("\\negmedspace","\\tmspace-{4mu}{.2222em}");v("\\negthickspace","\\tmspace-{5mu}{.277em}");v("\\enspace","\\kern.5em ");v("\\enskip","\\hskip.5em\\relax");v("\\quad","\\hskip1em\\relax");v("\\qquad","\\hskip2em\\relax");v("\\tag","\\@ifstar\\tag@literal\\tag@paren");v("\\tag@paren","\\tag@literal{({#1})}");v("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ue("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});v("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");v("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");v("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");v("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");v("\\newline","\\\\\\relax");v("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var hp=fe(hr["Main-Regular"][84][1]-.7*hr["Main-Regular"][65][1]);v("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+hp+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");v("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+hp+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");v("\\hspace","\\@ifstar\\@hspacer\\@hspace");v("\\@hspace","\\hskip #1\\relax");v("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");v("\\ordinarycolon",":");v("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");v("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');v("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');v("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');v("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');v("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');v("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');v("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');v("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');v("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');v("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');v("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');v("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');v("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');v("∷","\\dblcolon");v("∹","\\eqcolon");v("≔","\\coloneqq");v("≕","\\eqqcolon");v("⩴","\\Coloneqq");v("\\ratio","\\vcentcolon");v("\\coloncolon","\\dblcolon");v("\\colonequals","\\coloneqq");v("\\coloncolonequals","\\Coloneqq");v("\\equalscolon","\\eqqcolon");v("\\equalscoloncolon","\\Eqqcolon");v("\\colonminus","\\coloneq");v("\\coloncolonminus","\\Coloneq");v("\\minuscolon","\\eqcolon");v("\\minuscoloncolon","\\Eqcolon");v("\\coloncolonapprox","\\Colonapprox");v("\\coloncolonsim","\\Colonsim");v("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");v("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");v("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");v("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");v("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");v("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");v("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");v("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");v("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");v("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");v("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");v("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");v("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");v("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");v("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");v("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");v("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");v("\\nleqq","\\html@mathml{\\@nleqq}{≰}");v("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");v("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");v("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");v("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");v("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");v("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");v("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");v("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");v("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");v("\\imath","\\html@mathml{\\@imath}{ı}");v("\\jmath","\\html@mathml{\\@jmath}{ȷ}");v("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");v("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");v("⟦","\\llbracket");v("⟧","\\rrbracket");v("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");v("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");v("⦃","\\lBrace");v("⦄","\\rBrace");v("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");v("⦵","\\minuso");v("\\darr","\\downarrow");v("\\dArr","\\Downarrow");v("\\Darr","\\Downarrow");v("\\lang","\\langle");v("\\rang","\\rangle");v("\\uarr","\\uparrow");v("\\uArr","\\Uparrow");v("\\Uarr","\\Uparrow");v("\\N","\\mathbb{N}");v("\\R","\\mathbb{R}");v("\\Z","\\mathbb{Z}");v("\\alef","\\aleph");v("\\alefsym","\\aleph");v("\\Alpha","\\mathrm{A}");v("\\Beta","\\mathrm{B}");v("\\bull","\\bullet");v("\\Chi","\\mathrm{X}");v("\\clubs","\\clubsuit");v("\\cnums","\\mathbb{C}");v("\\Complex","\\mathbb{C}");v("\\Dagger","\\ddagger");v("\\diamonds","\\diamondsuit");v("\\empty","\\emptyset");v("\\Epsilon","\\mathrm{E}");v("\\Eta","\\mathrm{H}");v("\\exist","\\exists");v("\\harr","\\leftrightarrow");v("\\hArr","\\Leftrightarrow");v("\\Harr","\\Leftrightarrow");v("\\hearts","\\heartsuit");v("\\image","\\Im");v("\\infin","\\infty");v("\\Iota","\\mathrm{I}");v("\\isin","\\in");v("\\Kappa","\\mathrm{K}");v("\\larr","\\leftarrow");v("\\lArr","\\Leftarrow");v("\\Larr","\\Leftarrow");v("\\lrarr","\\leftrightarrow");v("\\lrArr","\\Leftrightarrow");v("\\Lrarr","\\Leftrightarrow");v("\\Mu","\\mathrm{M}");v("\\natnums","\\mathbb{N}");v("\\Nu","\\mathrm{N}");v("\\Omicron","\\mathrm{O}");v("\\plusmn","\\pm");v("\\rarr","\\rightarrow");v("\\rArr","\\Rightarrow");v("\\Rarr","\\Rightarrow");v("\\real","\\Re");v("\\reals","\\mathbb{R}");v("\\Reals","\\mathbb{R}");v("\\Rho","\\mathrm{P}");v("\\sdot","\\cdot");v("\\sect","\\S");v("\\spades","\\spadesuit");v("\\sub","\\subset");v("\\sube","\\subseteq");v("\\supe","\\supseteq");v("\\Tau","\\mathrm{T}");v("\\thetasym","\\vartheta");v("\\weierp","\\wp");v("\\Zeta","\\mathrm{Z}");v("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");v("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");v("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");v("\\bra","\\mathinner{\\langle{#1}|}");v("\\ket","\\mathinner{|{#1}\\rangle}");v("\\braket","\\mathinner{\\langle{#1}\\rangle}");v("\\Bra","\\left\\langle#1\\right|");v("\\Ket","\\left|#1\\right\\rangle");var mp=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),o=t.macros.get("\\|");t.macros.beginGroup();var u=f=>p=>{e&&(p.macros.set("|",s),a.length&&p.macros.set("\\|",o));var h=f;if(!f&&a.length){var b=p.future();b.text==="|"&&(p.popToken(),h=!0)}return{tokens:h?a:n,numArgs:0}};t.macros.set("|",u(!1)),a.length&&t.macros.set("\\|",u(!0));var l=t.consumeArg().tokens,c=t.expandTokens([...i,...l,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};v("\\bra@ket",mp(!1));v("\\bra@set",mp(!0));v("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");v("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");v("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");v("\\angln","{\\angl n}");v("\\blue","\\textcolor{##6495ed}{#1}");v("\\orange","\\textcolor{##ffa500}{#1}");v("\\pink","\\textcolor{##ff00af}{#1}");v("\\red","\\textcolor{##df0030}{#1}");v("\\green","\\textcolor{##28ae7b}{#1}");v("\\gray","\\textcolor{gray}{#1}");v("\\purple","\\textcolor{##9d38bd}{#1}");v("\\blueA","\\textcolor{##ccfaff}{#1}");v("\\blueB","\\textcolor{##80f6ff}{#1}");v("\\blueC","\\textcolor{##63d9ea}{#1}");v("\\blueD","\\textcolor{##11accd}{#1}");v("\\blueE","\\textcolor{##0c7f99}{#1}");v("\\tealA","\\textcolor{##94fff5}{#1}");v("\\tealB","\\textcolor{##26edd5}{#1}");v("\\tealC","\\textcolor{##01d1c1}{#1}");v("\\tealD","\\textcolor{##01a995}{#1}");v("\\tealE","\\textcolor{##208170}{#1}");v("\\greenA","\\textcolor{##b6ffb0}{#1}");v("\\greenB","\\textcolor{##8af281}{#1}");v("\\greenC","\\textcolor{##74cf70}{#1}");v("\\greenD","\\textcolor{##1fab54}{#1}");v("\\greenE","\\textcolor{##0d923f}{#1}");v("\\goldA","\\textcolor{##ffd0a9}{#1}");v("\\goldB","\\textcolor{##ffbb71}{#1}");v("\\goldC","\\textcolor{##ff9c39}{#1}");v("\\goldD","\\textcolor{##e07d10}{#1}");v("\\goldE","\\textcolor{##a75a05}{#1}");v("\\redA","\\textcolor{##fca9a9}{#1}");v("\\redB","\\textcolor{##ff8482}{#1}");v("\\redC","\\textcolor{##f9685d}{#1}");v("\\redD","\\textcolor{##e84d39}{#1}");v("\\redE","\\textcolor{##bc2612}{#1}");v("\\maroonA","\\textcolor{##ffbde0}{#1}");v("\\maroonB","\\textcolor{##ff92c6}{#1}");v("\\maroonC","\\textcolor{##ed5fa6}{#1}");v("\\maroonD","\\textcolor{##ca337c}{#1}");v("\\maroonE","\\textcolor{##9e034e}{#1}");v("\\purpleA","\\textcolor{##ddd7ff}{#1}");v("\\purpleB","\\textcolor{##c6b9fc}{#1}");v("\\purpleC","\\textcolor{##aa87ff}{#1}");v("\\purpleD","\\textcolor{##7854ab}{#1}");v("\\purpleE","\\textcolor{##543b78}{#1}");v("\\mintA","\\textcolor{##f5f9e8}{#1}");v("\\mintB","\\textcolor{##edf2df}{#1}");v("\\mintC","\\textcolor{##e0e5cc}{#1}");v("\\grayA","\\textcolor{##f6f7f7}{#1}");v("\\grayB","\\textcolor{##f0f1f2}{#1}");v("\\grayC","\\textcolor{##e3e5e6}{#1}");v("\\grayD","\\textcolor{##d6d8da}{#1}");v("\\grayE","\\textcolor{##babec2}{#1}");v("\\grayF","\\textcolor{##888d93}{#1}");v("\\grayG","\\textcolor{##626569}{#1}");v("\\grayH","\\textcolor{##3b3e40}{#1}");v("\\grayI","\\textcolor{##21242c}{#1}");v("\\kaBlue","\\textcolor{##314453}{#1}");v("\\kaGreen","\\textcolor{##71B307}{#1}");var pp={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class lx{constructor(t,r,n){this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new sx(ox,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new tf(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,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new $t("EOF",n.loc)),this.pushTokens(a),new $t("",Pt.range(r,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 a=this.future(),i,s=0,o=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new ue("Extra }",i)}else if(i.text==="EOF")throw new ue("Unexpected end of input in a macro argument, expected '"+(t&&n?t[o]:"}")+"'",i);if(t&&n)if((s===0||s===1&&t[o]==="{")&&i.text===t[o]){if(++o,o===t.length){r.splice(-o,o);break}}else o=0}while(s!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new ue("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new ue("Use of the macro doesn't match its definition",i)}}for(var s=[],o=0;o<t;o++)s.push(this.consumeArg(r&&r[o+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ue("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new ue("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var u=i[o];if(u.text==="#"){if(o===0)throw new ue("Incomplete placeholder at end of macro body",u);if(u=i[--o],u.text==="#")i.splice(o+1,1);else if(/^[1-9]$/.test(u.text))i.splice(o,2,...s[+u.text-1]);else throw new ue("Not a valid argument number",u)}}}return this.pushTokens(i),i.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}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new $t(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 a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),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 a=typeof r=="function"?r(this):r;if(typeof a=="string"){var i=0;if(a.includes("#"))for(var s=a.replace(/##/g,"");s.includes("#"+(i+1));)++i;for(var o=new tf(a,this.settings),u=[],l=o.lex();l.text!=="EOF";)u.push(l),l=o.lex();u.reverse();var c={tokens:u,numArgs:i};return c}return a}isDefined(t){return this.macros.has(t)||Gr.hasOwnProperty(t)||tt.math.hasOwnProperty(t)||tt.text.hasOwnProperty(t)||pp.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Gr.hasOwnProperty(t)&&!Gr[t].primitive}}var af=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ji=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),co={"́":{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"}},sf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let gp=class bp{constructor(t,r){this.mode="math",this.gullet=new lx(t,r,this.mode),this.settings=r,this.leftrightDepth=0,this.nextToken=null}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new ue("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 $t("}")),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 a=this.fetch();if(bp.endOfExpression.has(a.text)||r&&a.text===r||t&&Gr[a.text]&&Gr[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++){var i=t[a];if(i.type==="infix"){if(r!==-1)throw new ue("only one infix operator per group",i.token);r=a,n=i.replaceWith}}if(r!==-1&&n){var s,o,u=t.slice(0,r),l=t.slice(r+1);u.length===1&&u[0].type==="ordgroup"?s=u[0]:s={type:"ordgroup",mode:this.mode,body:u},l.length===1&&l[0].type==="ordgroup"?o=l[0]:o={type:"ordgroup",mode:this.mode,body:l};var c;return n==="\\\\abovefrac"?c=this.callFunction(n,[s,t[r],o],[]):c=this.callFunction(n,[s,o],[]),[c]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(t)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new ue("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var s=i.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new ue("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new ue("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new ue("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new ue("Double superscript",i);var o={type:"textord",mode:this.mode,text:"\\prime"},u=[o];for(this.consume();this.fetch().text==="'";)u.push(o),this.consume();this.fetch().text==="^"&&u.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:u}}else if(ji[i.text]){var l=af.test(i.text),c=[];for(c.push(new $t(ji[i.text])),this.consume();;){var f=this.fetch().text;if(!ji[f]||af.test(f)!==l)break;c.unshift(new $t(ji[f])),this.consume()}var p=this.subparse(c);l?a={type:"ordgroup",mode:"math",body:p}:n={type:"ordgroup",mode:"math",body:p}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,i=Gr[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new ue("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new ue("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new ue("Can't use function '"+a+"' in math mode",n);var{args:s,optArgs:o}=this.parseArguments(a,i);return this.callFunction(a,s,o,n,t)}callFunction(t,r,n,a,i){var s={funcName:t,parser:this,token:a,breakOnTokenText:i},o=Gr[t];if(o&&o.handler)return o.handler(s,r,n);throw new ue("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],s=0;s<n;s++){var o=r.argTypes&&r.argTypes[s],u=s<r.numOptionalArgs;("primitive"in r&&r.primitive&&o==null||r.type==="sqrt"&&s===1&&i[0]==null)&&(o="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",o,u);if(u)i.push(l);else if(l!=null)a.push(l);else throw new ue("Null argument, please report this as a bug")}return{args:a,optArgs:i}}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 a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new ue("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new ue("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new ue("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 a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,i="",s;(s=this.fetch()).text!=="EOF"&&t.test(i+s.text);)a=s,i+=a.text,this.consume();if(i==="")throw new ue("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new ue("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}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 a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new ue("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!wm(i))throw new ue("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,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 a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),s}parseGroup(t,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var s=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,s),u=this.fetch();this.expect(s),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:Pt.range(n,u),body:o,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!pp.hasOwnProperty(a)){if(this.settings.throwOnError)throw new ue("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n];if(a.type==="textord"){var i=a.text,s=t[n+1];if(!(!s||s.type!=="textord")){if(i==="-"&&s.text==="-"){var o=t[n+2];n+1<r&&o&&o.type==="textord"&&o.text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:Pt.range(a,o),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:Pt.range(a,s),text:"--"}),r-=1)}(i==="'"||i==="`")&&s.text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:Pt.range(a,s),text:i+i}),r-=1)}}}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new ue(`\\verb assertion failed --
|
|
285
|
-
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}sf.hasOwnProperty(r[0])&&!tt[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=sf[r[0]]+r.slice(1));var i=ax.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(tt[this.mode][r]){this.settings.strict&&this.mode==="math"&&nu.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=tt[this.mode][r].group,u=Pt.range(t),l;if(iy.hasOwnProperty(o)){var c=o;l={type:"atom",mode:this.mode,family:c,loc:u,text:r}}else l={type:o,mode:this.mode,loc:u,text:r};s=l}else if(r.charCodeAt(0)>=128)this.settings.strict&&(vm(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:Pt.range(t),text:r};else return null;if(this.consume(),i)for(var f=0;f<i[0].length;f++){var p=i[0][f];if(!co[p])throw new ue("Unknown accent ' "+p+"'",t);var h=co[p][this.mode]||co[p].text;if(!h)throw new ue("Accent "+p+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:Pt.range(t),label:h,isStretchy:!1,isShifty:!0,base:s}}return s}};gp.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Cl=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new gp(t,r);delete n.gullet.macros.current["\\df@tag"];var a=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 ue("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new $t("\\df@tag")])}]}return a},yp=function(t,r,n){r.textContent="";var a=Il(t,n).toNode();r.appendChild(a)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),yp=function(){throw new ue("KaTeX doesn't work in quirks mode.")});var cx=function(t,r){var n=Il(t,r).toMarkup();return n},fx=function(t,r){var n=new ml(r);return Cl(t,n)},xp=function(t,r,n){if(n.throwOnError||!(t instanceof ue))throw t;var a=ne(["katex-error"],[new qt(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},Il=function(t,r){var n=new ml(r);try{var a=Cl(t,n);return Ty(a,t,n)}catch(i){return xp(i,t,n)}},dx=function(t,r){var n=new ml(r);try{var a=Cl(t,n);return vy(a,t,n)}catch(i){return xp(i,t,n)}},hx="0.16.45",mx={Span:da,Anchor:e0,SymbolNode:qt,SvgNode:_r,PathNode:Qr,LineNode:ru},of={version:hx,render:yp,renderToString:cx,ParseError:ue,SETTINGS_SCHEMA:Zo,__parse:fx,__renderToDomTree:Il,__renderToHTMLTree:dx,__setFontMetrics:ny,__defineSymbol:m,__defineFunction:pe,__defineMacro:v,__domTree:mx};const px={};function gx(e){const t=this,r=e||px,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(k9(r)),i.push(y9()),s.push(x9(r))}function uf(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function bx(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Ep(e,t,r){const a=bi((r||{}).ignore||[]),i=yx(t);let s=-1;for(;++s<i.length;)fl(e,"text",o);function o(l,c){let f=-1,p;for(;++f<c.length;){const h=c[f],b=p?p.children:void 0;if(a(h,b?b.indexOf(h):void 0,p))return;p=h}if(p)return u(l,c)}function u(l,c){const f=c[c.length-1],p=i[s][0],h=i[s][1];let b=0;const E=f.children.indexOf(l);let T=!1,A=[];p.lastIndex=0;let k=p.exec(l.value);for(;k;){const F=k.index,B={index:k.index,input:k.input,stack:[...c,l]};let
|
|
286
|
-
`:" ")+i.indentLines(i.containerFlow(n,o.current()),t?wp:qx))),l(),u}}function qx(e,t,r){return t===0?e:wp(e,t,r)}function wp(e,t,r){return(r?"":" ")+e}const Yx=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ap.peek=Kx;function Wx(){return{canContainEols:["delete"],enter:{strikethrough:Gx},exit:{strikethrough:Xx}}}function Vx(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Yx}],handlers:{delete:Ap}}}function Gx(e){this.enter({type:"delete",children:[]},e)}function Xx(e){this.exit(e)}function Ap(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(e,it(
|
|
285
|
+
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}sf.hasOwnProperty(r[0])&&!tt[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=sf[r[0]]+r.slice(1));var i=ax.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(tt[this.mode][r]){this.settings.strict&&this.mode==="math"&&nu.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var o=tt[this.mode][r].group,u=Pt.range(t),l;if(iy.hasOwnProperty(o)){var c=o;l={type:"atom",mode:this.mode,family:c,loc:u,text:r}}else l={type:o,mode:this.mode,loc:u,text:r};s=l}else if(r.charCodeAt(0)>=128)this.settings.strict&&(vm(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:Pt.range(t),text:r};else return null;if(this.consume(),i)for(var f=0;f<i[0].length;f++){var p=i[0][f];if(!co[p])throw new ue("Unknown accent ' "+p+"'",t);var h=co[p][this.mode]||co[p].text;if(!h)throw new ue("Accent "+p+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:Pt.range(t),label:h,isStretchy:!1,isShifty:!0,base:s}}return s}};gp.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var Cl=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new gp(t,r);delete n.gullet.macros.current["\\df@tag"];var a=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 ue("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new $t("\\df@tag")])}]}return a},yp=function(t,r,n){r.textContent="";var a=Il(t,n).toNode();r.appendChild(a)};typeof document!="undefined"&&document.compatMode!=="CSS1Compat"&&(typeof console!="undefined"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),yp=function(){throw new ue("KaTeX doesn't work in quirks mode.")});var cx=function(t,r){var n=Il(t,r).toMarkup();return n},fx=function(t,r){var n=new ml(r);return Cl(t,n)},xp=function(t,r,n){if(n.throwOnError||!(t instanceof ue))throw t;var a=ne(["katex-error"],[new qt(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},Il=function(t,r){var n=new ml(r);try{var a=Cl(t,n);return Ty(a,t,n)}catch(i){return xp(i,t,n)}},dx=function(t,r){var n=new ml(r);try{var a=Cl(t,n);return vy(a,t,n)}catch(i){return xp(i,t,n)}},hx="0.16.45",mx={Span:da,Anchor:e0,SymbolNode:qt,SvgNode:_r,PathNode:Qr,LineNode:ru},of={version:hx,render:yp,renderToString:cx,ParseError:ue,SETTINGS_SCHEMA:Zo,__parse:fx,__renderToDomTree:Il,__renderToHTMLTree:dx,__setFontMetrics:ny,__defineSymbol:m,__defineFunction:pe,__defineMacro:v,__domTree:mx};const px={};function gx(e){const t=this,r=e||px,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(k9(r)),i.push(y9()),s.push(x9(r))}function uf(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function bx(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Ep(e,t,r){const a=bi((r||{}).ignore||[]),i=yx(t);let s=-1;for(;++s<i.length;)fl(e,"text",o);function o(l,c){let f=-1,p;for(;++f<c.length;){const h=c[f],b=p?p.children:void 0;if(a(h,b?b.indexOf(h):void 0,p))return;p=h}if(p)return u(l,c)}function u(l,c){const f=c[c.length-1],p=i[s][0],h=i[s][1];let b=0;const E=f.children.indexOf(l);let T=!1,A=[];p.lastIndex=0;let k=p.exec(l.value);for(;k;){const F=k.index,B={index:k.index,input:k.input,stack:[...c,l]};let N=h(...k,B);if(typeof N=="string"&&(N=N.length>0?{type:"text",value:N}:void 0),N===!1?p.lastIndex=F+1:(b!==F&&A.push({type:"text",value:l.value.slice(b,F)}),Array.isArray(N)?A.push(...N):N&&A.push(N),b=F+k[0].length,T=!0),!p.global)break;k=p.exec(l.value)}return T?(b<l.value.length&&A.push({type:"text",value:l.value.slice(b)}),f.children.splice(E,1,...A)):A=[l],E+A.length}}function yx(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([xx(a[0]),Ex(a[1])])}return t}function xx(e){return typeof e=="string"?new RegExp(bx(e),"g"):e}function Ex(e){return typeof e=="function"?e:function(){return e}}const fo="phrasing",ho=["autolink","link","image","label"];function Tx(){return{transforms:[Ix],enter:{literalAutolink:wx,literalAutolinkEmail:mo,literalAutolinkHttp:mo,literalAutolinkWww:mo},exit:{literalAutolink:Cx,literalAutolinkEmail:kx,literalAutolinkHttp:Ax,literalAutolinkWww:Sx}}}function vx(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:fo,notInConstruct:ho},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:fo,notInConstruct:ho},{character:":",before:"[ps]",after:"\\/",inConstruct:fo,notInConstruct:ho}]}}function wx(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function mo(e){this.config.enter.autolinkProtocol.call(this,e)}function Ax(e){this.config.exit.autolinkProtocol.call(this,e)}function Sx(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function kx(e){this.config.exit.autolinkEmail.call(this,e)}function Cx(e){this.exit(e)}function Ix(e){Ep(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,_x],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Nx]],{ignore:["link","linkReference"]})}function _x(e,t,r,n,a){let i="";if(!Tp(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!Ox(r)))return!1;const s=Rx(r+n);if(!s[0])return!1;const o={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[o,{type:"text",value:s[1]}]:o}function Nx(e,t,r,n){return!Tp(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function Ox(e){const t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}function Rx(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=uf(e,"(");let i=uf(e,")");for(;n!==-1&&a>i;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),i++;return[e,r]}function Tp(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||Cn(r)||Xs(r))&&(!t||r!==47)}vp.peek=Ux;function Dx(){this.buffer()}function Lx(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Mx(){this.buffer()}function Px(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function Fx(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ir(this.sliceSerialize(e)).toLowerCase(),r.label=t}function Bx(e){this.exit(e)}function zx(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=ir(this.sliceSerialize(e)).toLowerCase(),r.label=t}function Hx(e){this.exit(e)}function Ux(){return"["}function vp(e,t,r,n){const a=r.createTracker(n);let i=a.move("[^");const s=r.enter("footnoteReference"),o=r.enter("reference");return i+=a.move(r.safe(r.associationId(e),{after:"]",before:i})),o(),s(),i+=a.move("]"),i}function jx(){return{enter:{gfmFootnoteCallString:Dx,gfmFootnoteCall:Lx,gfmFootnoteDefinitionLabelString:Mx,gfmFootnoteDefinition:Px},exit:{gfmFootnoteCallString:Fx,gfmFootnoteCall:Bx,gfmFootnoteDefinitionLabelString:zx,gfmFootnoteDefinition:Hx}}}function $x(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:vp},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,s){const o=i.createTracker(s);let u=o.move("[^");const l=i.enter("footnoteDefinition"),c=i.enter("label");return u+=o.move(i.safe(i.associationId(n),{before:u,after:"]"})),c(),u+=o.move("]:"),n.children&&n.children.length>0&&(o.shift(4),u+=o.move((t?`
|
|
286
|
+
`:" ")+i.indentLines(i.containerFlow(n,o.current()),t?wp:qx))),l(),u}}function qx(e,t,r){return t===0?e:wp(e,t,r)}function wp(e,t,r){return(r?"":" ")+e}const Yx=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Ap.peek=Kx;function Wx(){return{canContainEols:["delete"],enter:{strikethrough:Gx},exit:{strikethrough:Xx}}}function Vx(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:Yx}],handlers:{delete:Ap}}}function Gx(e){this.enter({type:"delete",children:[]},e)}function Xx(e){this.exit(e)}function Ap(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(e,it(ae({},a.current()),{before:s,after:"~"})),s+=a.move("~~"),i(),s}function Kx(){return"~"}function Qx(e){return e.length}function Jx(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||Qx,i=[],s=[],o=[],u=[];let l=0,c=-1;for(;++c<e.length;){const y=[],E=[];let T=-1;for(e[c].length>l&&(l=e[c].length);++T<e[c].length;){const A=Zx(e[c][T]);if(r.alignDelimiters!==!1){const k=a(A);E[T]=k,(u[T]===void 0||k>u[T])&&(u[T]=k)}y.push(A)}s[c]=y,o[c]=E}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)i[f]=lf(n[f]);else{const y=lf(n);for(;++f<l;)i[f]=y}f=-1;const p=[],h=[];for(;++f<l;){const y=i[f];let E="",T="";y===99?(E=":",T=":"):y===108?E=":":y===114&&(T=":");let A=r.alignDelimiters===!1?1:Math.max(1,u[f]-E.length-T.length);const k=E+"-".repeat(A)+T;r.alignDelimiters!==!1&&(A=E.length+A+T.length,A>u[f]&&(u[f]=A),h[f]=A),p[f]=k}s.splice(1,0,p),o.splice(1,0,h),c=-1;const b=[];for(;++c<s.length;){const y=s[c],E=o[c];f=-1;const T=[];for(;++f<l;){const A=y[f]||"";let k="",F="";if(r.alignDelimiters!==!1){const B=u[f]-(E[f]||0),N=i[f];N===114?k=" ".repeat(B):N===99?B%2?(k=" ".repeat(B/2+.5),F=" ".repeat(B/2-.5)):(k=" ".repeat(B/2),F=k):F=" ".repeat(B)}r.delimiterStart!==!1&&!f&&T.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&A==="")&&(r.delimiterStart!==!1||f)&&T.push(" "),r.alignDelimiters!==!1&&T.push(k),T.push(A),r.alignDelimiters!==!1&&T.push(F),r.padding!==!1&&T.push(" "),(r.delimiterEnd!==!1||f!==l-1)&&T.push("|")}b.push(r.delimiterEnd===!1?T.join("").replace(/ +$/,""):T.join(""))}return b.join(`
|
|
287
287
|
`)}function Zx(e){return e==null?"":String(e)}function lf(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}const cf={}.hasOwnProperty;function Sp(e,t){const r=t||{};function n(a,...i){let s=n.invalid;const o=n.handlers;if(a&&cf.call(a,e)){const u=String(a[e]);s=cf.call(o,u)?o[u]:n.unknown}if(s)return s.call(this,a,...i)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}function eE(e,t,r,n){const a=r.enter("blockquote"),i=r.createTracker(n);i.move("> "),i.shift(2);const s=r.indentLines(r.containerFlow(e,i.current()),tE);return a(),s}function tE(e,t,r){return">"+(r?"":" ")+e}function rE(e,t){return ff(e,t.inConstruct,!0)&&!ff(e,t.notInConstruct,!1)}function ff(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function df(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
|
|
288
288
|
`&&rE(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
|
289
|
-
`}function nE(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function aE(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function iE(e,t,r,n){const a=aE(r),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(nE(e,r)){const f=r.enter("codeIndented"),p=r.indentLines(i,sE);return f(),p}const o=r.createTracker(n),u=a.repeat(Math.max(Tm(i,a)+1,3)),l=r.enter("codeFenced");let c=o.move(u);if(e.lang){const f=r.enter(`codeFencedLang${s}`);c+=o.move(r.safe(e.lang,
|
|
289
|
+
`}function nE(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function aE(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function iE(e,t,r,n){const a=aE(r),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(nE(e,r)){const f=r.enter("codeIndented"),p=r.indentLines(i,sE);return f(),p}const o=r.createTracker(n),u=a.repeat(Math.max(Tm(i,a)+1,3)),l=r.enter("codeFenced");let c=o.move(u);if(e.lang){const f=r.enter(`codeFencedLang${s}`);c+=o.move(r.safe(e.lang,ae({before:c,after:" ",encode:["`"]},o.current()))),f()}if(e.lang&&e.meta){const f=r.enter(`codeFencedMeta${s}`);c+=o.move(" "),c+=o.move(r.safe(e.meta,ae({before:c,after:`
|
|
290
290
|
`,encode:["`"]},o.current()))),f()}return c+=o.move(`
|
|
291
291
|
`),i&&(c+=o.move(i+`
|
|
292
|
-
`)),c+=o.move(u),l(),c}function sE(e,t,r){return(r?"":" ")+e}function _l(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function oE(e,t,r,n){const a=_l(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let o=r.enter("label");const u=r.createTracker(n);let l=u.move("[");return l+=u.move(r.safe(r.associationId(e),
|
|
293
|
-
`},u.current())))),o(),e.title&&(o=r.enter(`title${i}`),l+=u.move(" "+a),l+=u.move(r.safe(e.title,
|
|
292
|
+
`)),c+=o.move(u),l(),c}function sE(e,t,r){return(r?"":" ")+e}function _l(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function oE(e,t,r,n){const a=_l(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let o=r.enter("label");const u=r.createTracker(n);let l=u.move("[");return l+=u.move(r.safe(r.associationId(e),ae({before:l,after:"]"},u.current()))),l+=u.move("]: "),o(),!e.url||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(r.safe(e.url,ae({before:l,after:">"},u.current()))),l+=u.move(">")):(o=r.enter("destinationRaw"),l+=u.move(r.safe(e.url,ae({before:l,after:e.title?" ":`
|
|
293
|
+
`},u.current())))),o(),e.title&&(o=r.enter(`title${i}`),l+=u.move(" "+a),l+=u.move(r.safe(e.title,ae({before:l,after:a},u.current()))),l+=u.move(a),o()),s(),l}function uE(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function ni(e){return"&#x"+e.toString(16).toUpperCase()+";"}function As(e,t,r){const n=Jn(e),a=Jn(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}kp.peek=lE;function kp(e,t,r,n){const a=uE(r),i=r.enter("emphasis"),s=r.createTracker(n),o=s.move(a);let u=s.move(r.containerPhrasing(e,ae({after:a,before:o},s.current())));const l=u.charCodeAt(0),c=As(n.before.charCodeAt(n.before.length-1),l,a);c.inside&&(u=ni(l)+u.slice(1));const f=u.charCodeAt(u.length-1),p=As(n.after.charCodeAt(0),f,a);p.inside&&(u=u.slice(0,-1)+ni(f));const h=s.move(a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},o+u+h}function lE(e,t,r){return r.options.emphasis||"*"}function cE(e,t){let r=!1;return Zs(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Xo}),!!((!e.depth||e.depth<3)&&al(e)&&(t.options.setext||r))}function fE(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(cE(e,r)){const c=r.enter("headingSetext"),f=r.enter("phrasing"),p=r.containerPhrasing(e,it(ae({},i.current()),{before:`
|
|
294
294
|
`,after:`
|
|
295
295
|
`}));return f(),c(),p+`
|
|
296
296
|
`+(a===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
|
|
297
|
-
`))+1))}const s="#".repeat(a),o=r.enter("headingAtx"),u=r.enter("phrasing");i.move(s+" ");let l=r.containerPhrasing(e,
|
|
298
|
-
`},i.current()));return/^[\t ]/.test(l)&&(l=ni(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,r.options.closeAtx&&(l+=" "+s),u(),o(),l}Cp.peek=dE;function Cp(e){return e.value||""}function dE(){return"<"}Ip.peek=hE;function Ip(e,t,r,n){const a=_l(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let o=r.enter("label");const u=r.createTracker(n);let l=u.move("![");return l+=u.move(r.safe(e.alt,
|
|
297
|
+
`))+1))}const s="#".repeat(a),o=r.enter("headingAtx"),u=r.enter("phrasing");i.move(s+" ");let l=r.containerPhrasing(e,ae({before:"# ",after:`
|
|
298
|
+
`},i.current()));return/^[\t ]/.test(l)&&(l=ni(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,r.options.closeAtx&&(l+=" "+s),u(),o(),l}Cp.peek=dE;function Cp(e){return e.value||""}function dE(){return"<"}Ip.peek=hE;function Ip(e,t,r,n){const a=_l(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let o=r.enter("label");const u=r.createTracker(n);let l=u.move("![");return l+=u.move(r.safe(e.alt,ae({before:l,after:"]"},u.current()))),l+=u.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),l+=u.move("<"),l+=u.move(r.safe(e.url,ae({before:l,after:">"},u.current()))),l+=u.move(">")):(o=r.enter("destinationRaw"),l+=u.move(r.safe(e.url,ae({before:l,after:e.title?" ":")"},u.current())))),o(),e.title&&(o=r.enter(`title${i}`),l+=u.move(" "+a),l+=u.move(r.safe(e.title,ae({before:l,after:a},u.current()))),l+=u.move(a),o()),l+=u.move(")"),s(),l}function hE(){return"!"}_p.peek=mE;function _p(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let s=r.enter("label");const o=r.createTracker(n);let u=o.move("![");const l=r.safe(e.alt,ae({before:u,after:"]"},o.current()));u+=o.move(l+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),ae({before:u,after:"]"},o.current()));return s(),r.stack=c,i(),a==="full"||!l||l!==f?u+=o.move(f+"]"):a==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function mE(){return"!"}Np.peek=pE;function Np(e,t,r){let n=e.value||"",a="`",i=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++i<r.unsafe.length;){const s=r.unsafe[i],o=r.compilePattern(s);let u;if(s.atBreak)for(;u=o.exec(n);){let l=u.index;n.charCodeAt(l)===10&&n.charCodeAt(l-1)===13&&l--,n=n.slice(0,l)+" "+n.slice(u.index+1)}}return a+n+a}function pE(){return"`"}function Op(e,t){const r=al(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}Rp.peek=gE;function Rp(e,t,r,n){const a=_l(r),i=a==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let o,u;if(Op(e,r)){const c=r.stack;r.stack=[],o=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(e,ae({before:f,after:">"},s.current()))),f+=s.move(">"),o(),r.stack=c,f}o=r.enter("link"),u=r.enter("label");let l=s.move("[");return l+=s.move(r.containerPhrasing(e,ae({before:l,after:"]("},s.current()))),l+=s.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(r.safe(e.url,ae({before:l,after:">"},s.current()))),l+=s.move(">")):(u=r.enter("destinationRaw"),l+=s.move(r.safe(e.url,ae({before:l,after:e.title?" ":")"},s.current())))),u(),e.title&&(u=r.enter(`title${i}`),l+=s.move(" "+a),l+=s.move(r.safe(e.title,ae({before:l,after:a},s.current()))),l+=s.move(a),u()),l+=s.move(")"),o(),l}function gE(e,t,r){return Op(e,r)?"<":"["}Dp.peek=bE;function Dp(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let s=r.enter("label");const o=r.createTracker(n);let u=o.move("[");const l=r.containerPhrasing(e,ae({before:u,after:"]"},o.current()));u+=o.move(l+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),ae({before:u,after:"]"},o.current()));return s(),r.stack=c,i(),a==="full"||!l||l!==f?u+=o.move(f+"]"):a==="shortcut"?u=u.slice(0,-1):u+=o.move("]"),u}function bE(){return"["}function Nl(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function yE(e){const t=Nl(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function xE(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function Lp(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function EE(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let s=e.ordered?xE(r):Nl(r);const o=e.ordered?s==="."?")":".":yE(r);let u=t&&r.bulletLastUsed?s===r.bulletLastUsed:!1;if(!e.ordered){const c=e.children?e.children[0]:void 0;if((s==="*"||s==="-")&&c&&(!c.children||!c.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(u=!0),Lp(r)===s&&c){let f=-1;for(;++f<e.children.length;){const p=e.children[f];if(p&&p.type==="listItem"&&p.children&&p.children[0]&&p.children[0].type==="thematicBreak"){u=!0;break}}}}u&&(s=o),r.bulletCurrent=s;const l=r.containerFlow(e,n);return r.bulletLastUsed=s,r.bulletCurrent=i,a(),l}function TE(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function vE(e,t,r,n){const a=TE(r);let i=r.bulletCurrent||Nl(r);t&&t.type==="list"&&t.ordered&&(i=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+i);let s=i.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(s=Math.ceil(s/4)*4);const o=r.createTracker(n);o.move(i+" ".repeat(s-i.length)),o.shift(s);const u=r.enter("listItem"),l=r.indentLines(r.containerFlow(e,o.current()),c);return u(),l;function c(f,p,h){return p?(h?"":" ".repeat(s))+f:(h?i:i+" ".repeat(s-i.length))+f}}function wE(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),s=r.containerPhrasing(e,n);return i(),a(),s}const AE=bi(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function SE(e,t,r,n){return(e.children.some(function(s){return AE(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function kE(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Mp.peek=CE;function Mp(e,t,r,n){const a=kE(r),i=r.enter("strong"),s=r.createTracker(n),o=s.move(a+a);let u=s.move(r.containerPhrasing(e,ae({after:a,before:o},s.current())));const l=u.charCodeAt(0),c=As(n.before.charCodeAt(n.before.length-1),l,a);c.inside&&(u=ni(l)+u.slice(1));const f=u.charCodeAt(u.length-1),p=As(n.after.charCodeAt(0),f,a);p.inside&&(u=u.slice(0,-1)+ni(f));const h=s.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},o+u+h}function CE(e,t,r){return r.options.strong||"*"}function IE(e,t,r,n){return r.safe(e.value,n)}function _E(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function NE(e,t,r){const n=(Lp(r)+(r.options.ruleSpaces?" ":"")).repeat(_E(r));return r.options.ruleSpaces?n.slice(0,-1):n}const Pp={blockquote:eE,break:df,code:iE,definition:oE,emphasis:kp,hardBreak:df,heading:fE,html:Cp,image:Ip,imageReference:_p,inlineCode:Np,link:Rp,linkReference:Dp,list:EE,listItem:vE,paragraph:wE,root:SE,strong:Mp,text:IE,thematicBreak:NE};function OE(){return{enter:{table:RE,tableData:hf,tableHeader:hf,tableRow:LE},exit:{codeText:ME,table:DE,tableData:po,tableHeader:po,tableRow:po}}}function RE(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 DE(e){this.exit(e),this.data.inTable=void 0}function LE(e){this.enter({type:"tableRow",children:[]},e)}function po(e){this.exit(e)}function hf(e){this.enter({type:"tableCell",children:[]},e)}function ME(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,PE));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function PE(e,t){return t==="|"?t:e}function FE(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
299
299
|
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:u,tableRow:o}};function s(h,b,y,E){return l(c(h,y,E),h.align)}function o(h,b,y,E){const T=f(h,y,E),A=l([T]);return A.slice(0,A.indexOf(`
|
|
300
|
-
`))}function u(h,b,y,E){const T=y.enter("tableCell"),A=y.enter("phrasing"),k=y.containerPhrasing(h,it(se({},E),{before:i,after:i}));return A(),T(),k}function l(h,b){return Jx(h,{align:b,alignDelimiters:n,padding:r,stringLength:a})}function c(h,b,y){const E=h.children;let T=-1;const A=[],k=b.enter("table");for(;++T<E.length;)A[T]=f(E[T],b,y);return k(),A}function f(h,b,y){const E=h.children;let T=-1;const A=[],k=b.enter("tableRow");for(;++T<E.length;)A[T]=u(E[T],h,b,y);return k(),A}function p(h,b,y){let E=Pp.inlineCode(h,b,y);return y.stack.includes("tableCell")&&(E=E.replace(/\|/g,"\\$&")),E}}function BE(){return{exit:{taskListCheckValueChecked:mf,taskListCheckValueUnchecked:mf,paragraph:HE}}}function zE(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:UE}}}function mf(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function HE(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let i=-1,s;for(;++i<a.length;){const o=a[i];if(o.type==="paragraph"){s=o;break}}s===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function UE(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=r.createTracker(n);i&&o.move(s);let u=Pp.listItem(e,t,r,se(se({},n),o.current()));return i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),u;function l(c){return c+s}}function jE(){return[Tx(),jx(),Wx(),OE(),BE()]}function $E(e){return{extensions:[vx(),$x(e),Vx(),FE(e),zE()]}}const qE={tokenize:KE,partial:!0},Fp={tokenize:QE,partial:!0},Bp={tokenize:JE,partial:!0},zp={tokenize:ZE,partial:!0},YE={tokenize:eT,partial:!0},Hp={name:"wwwAutolink",tokenize:GE,previous:jp},Up={name:"protocolAutolink",tokenize:XE,previous:$p},Mr={name:"emailAutolink",tokenize:VE,previous:qp},Tr={};function WE(){return{text:Tr}}let pn=48;for(;pn<123;)Tr[pn]=Mr,pn++,pn===58?pn=65:pn===91&&(pn=97);Tr[43]=Mr;Tr[45]=Mr;Tr[46]=Mr;Tr[95]=Mr;Tr[72]=[Mr,Up];Tr[104]=[Mr,Up];Tr[87]=[Mr,Hp];Tr[119]=[Mr,Hp];function VE(e,t,r){const n=this;let a,i;return s;function s(f){return!hu(f)||!qp.call(n,n.previous)||Ol(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return hu(f)?(e.consume(f),o):f===64?(e.consume(f),u):r(f)}function u(f){return f===46?e.check(YE,c,l)(f):f===45||f===95||wt(f)?(i=!0,e.consume(f),u):c(f)}function l(f){return e.consume(f),a=!0,u}function c(f){return i&&a&&Nt(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function GE(e,t,r){const n=this;return a;function a(s){return s!==87&&s!==119||!jp.call(n,n.previous)||Ol(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qE,e.attempt(Fp,e.attempt(Bp,i),r),r)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function XE(e,t,r){const n=this;let a="",i=!1;return s;function s(f){return(f===72||f===104)&&$p.call(n,n.previous)&&!Ol(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(f),e.consume(f),o):r(f)}function o(f){if(Nt(f)&&a.length<5)return a+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const p=a.toLowerCase();if(p==="http"||p==="https")return e.consume(f),u}return r(f)}function u(f){return f===47?(e.consume(f),i?l:(i=!0,u)):r(f)}function l(f){return f===null||bs(f)||Ve(f)||Cn(f)||Xs(f)?r(f):e.attempt(Fp,e.attempt(Bp,c),r)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function KE(e,t,r){let n=0;return a;function a(s){return(s===87||s===119)&&n<3?(n++,e.consume(s),a):s===46&&n===3?(e.consume(s),i):r(s)}function i(s){return s===null?r(s):t(s)}}function QE(e,t,r){let n,a,i;return s;function s(l){return l===46||l===95?e.check(zp,u,o)(l):l===null||Ve(l)||Cn(l)||l!==45&&Xs(l)?u(l):(i=!0,e.consume(l),s)}function o(l){return l===95?n=!0:(a=n,n=void 0),e.consume(l),s}function u(l){return a||n||!i?r(l):t(l)}}function JE(e,t){let r=0,n=0;return a;function a(s){return s===40?(r++,e.consume(s),a):s===41&&n<r?i(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(zp,t,i)(s):s===null||Ve(s)||Cn(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&n++,e.consume(s),a}}function ZE(e,t,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),i):o===93?(e.consume(o),a):o===60||o===null||Ve(o)||Cn(o)?t(o):r(o)}function a(o){return o===null||o===40||o===91||Ve(o)||Cn(o)?t(o):n(o)}function i(o){return Nt(o)?s(o):r(o)}function s(o){return o===59?(e.consume(o),n):Nt(o)?(e.consume(o),s):r(o)}}function eT(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return wt(i)?r(i):t(i)}}function jp(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ve(e)}function $p(e){return!Nt(e)}function qp(e){return!(e===47||hu(e))}function hu(e){return e===43||e===45||e===46||e===95||wt(e)}function Ol(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const tT={tokenize:lT,partial:!0};function rT(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:sT,continuation:{tokenize:oT},exit:uT}},text:{91:{name:"gfmFootnoteCall",tokenize:iT},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:nT,resolveTo:aT}}}}function nT(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;a--;){const u=n.events[a][1];if(u.type==="labelImage"){s=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return o;function o(u){if(!s||!s._balanced)return r(u);const l=ir(n.sliceSerialize({start:s.end,end:n.now()}));return l.codePointAt(0)!==94||!i.includes(l.slice(1))?r(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function aT(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...o),e}function iT(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?r(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(f){if(i>999||f===93&&!s||f===null||f===91||Ve(f))return r(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return a.includes(ir(n.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return Ve(f)||(s=!0),i++,e.consume(f),f===92?c:l}function c(f){return f===91||f===92||f===93?(e.consume(f),i++,l):l(f)}}function sT(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,o;return u;function u(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(b)}function c(b){if(s>999||b===93&&!o||b===null||b===91||Ve(b))return r(b);if(b===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=ir(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Ve(b)||(o=!0),s++,e.consume(b),b===92?f:c}function f(b){return b===91||b===92||b===93?(e.consume(b),s++,c):c(b)}function p(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),a.includes(i)||a.push(i),Me(e,h,"gfmFootnoteDefinitionWhitespace")):r(b)}function h(b){return t(b)}}function oT(e,t,r){return e.check(gi,t,e.attempt(tT,t,r))}function uT(e){e.exit("gfmFootnoteDefinition")}function lT(e,t,r){const n=this;return Me(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):r(i)}}function cT(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(s,o){let u=-1;for(;++u<s.length;)if(s[u][0]==="enter"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._close){let l=u;for(;l--;)if(s[l][0]==="exit"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._open&&s[u][1].end.offset-s[u][1].start.offset===s[l][1].end.offset-s[l][1].start.offset){s[u][1].type="strikethroughSequence",s[l][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[l][1].start),end:Object.assign({},s[u][1].end)},f={type:"strikethroughText",start:Object.assign({},s[l][1].end),end:Object.assign({},s[u][1].start)},p=[["enter",c,o],["enter",s[l][1],o],["exit",s[l][1],o],["enter",f,o]],h=o.parser.constructs.insideSpan.null;h&&jt(p,p.length,0,Ks(h,s.slice(l+1,u),o)),jt(p,p.length,0,[["exit",f,o],["enter",s[u][1],o],["exit",s[u][1],o],["exit",c,o]]),jt(s,l-1,u-l+3,p),u=l+p.length-2;break}}for(u=-1;++u<s.length;)s[u][1].type==="strikethroughSequenceTemporary"&&(s[u][1].type="data");return s}function i(s,o,u){const l=this.previous,c=this.events;let f=0;return p;function p(b){return l===126&&c[c.length-1][1].type!=="characterEscape"?u(b):(s.enter("strikethroughSequenceTemporary"),h(b))}function h(b){const y=Jn(l);if(b===126)return f>1?u(b):(s.consume(b),f++,h);if(f<2&&!r)return u(b);const E=s.exit("strikethroughSequenceTemporary"),T=Jn(b);return E._open=!T||T===2&&!!y,E._close=!y||y===2&&!!T,o(b)}}}class fT{constructor(){this.map=[]}add(t,r,n){dT(this,t,r,n)}consume(t){if(this.map.sort(function(i,s){return i[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.slice()),t.length=0;let a=n.pop();for(;a;){for(const i of a)t.push(i);a=n.pop()}this.map.length=0}}function dT(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function hT(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function mT(){return{flow:{null:{name:"table",tokenize:pT,resolveAll:gT}}}}function pT(e,t,r){const n=this;let a=0,i=0,s;return o;function o(L){let $=n.events.length-1;for(;$>-1;){const X=n.events[$][1].type;if(X==="lineEnding"||X==="linePrefix")$--;else break}const te=$>-1?n.events[$][1].type:null,ge=te==="tableHead"||te==="tableRow"?O:u;return ge===O&&n.parser.lazy[n.now().line]?r(L):ge(L)}function u(L){return e.enter("tableHead"),e.enter("tableRow"),l(L)}function l(L){return L===124||(s=!0,i+=1),c(L)}function c(L){return L===null?r(L):xe(L)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),h):r(L):Pe(L)?Me(e,c,"whitespace")(L):(i+=1,s&&(s=!1,a+=1),L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),f(L)))}function f(L){return L===null||L===124||Ve(L)?(e.exit("data"),c(L)):(e.consume(L),L===92?p:f)}function p(L){return L===92||L===124?(e.consume(L),f):f(L)}function h(L){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(L):(e.enter("tableDelimiterRow"),s=!1,Pe(L)?Me(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):b(L))}function b(L){return L===45||L===58?E(L):L===124?(s=!0,e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),y):B(L)}function y(L){return Pe(L)?Me(e,E,"whitespace")(L):E(L)}function E(L){return L===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),T):L===45?(i+=1,T(L)):L===null||xe(L)?F(L):B(L)}function T(L){return L===45?(e.enter("tableDelimiterFiller"),A(L)):B(L)}function A(L){return L===45?(e.consume(L),A):L===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),k):(e.exit("tableDelimiterFiller"),k(L))}function k(L){return Pe(L)?Me(e,F,"whitespace")(L):F(L)}function F(L){return L===124?b(L):L===null||xe(L)?!s||a!==i?B(L):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(L)):B(L)}function B(L){return r(L)}function O(L){return e.enter("tableRow"),M(L)}function M(L){return L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),M):L===null||xe(L)?(e.exit("tableRow"),t(L)):Pe(L)?Me(e,M,"whitespace")(L):(e.enter("data"),z(L))}function z(L){return L===null||L===124||Ve(L)?(e.exit("data"),M(L)):(e.consume(L),L===92?U:z)}function U(L){return L===92||L===124?(e.consume(L),z):z(L)}}function gT(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,l,c,f;const p=new fT;for(;++r<e.length;){const h=e[r],b=h[1];h[0]==="enter"?b.type==="tableHead"?(o=!1,u!==0&&(pf(p,t,u,l,c),c=void 0,u=0),l={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},p.add(r,0,[["enter",l,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(n=!0,f=void 0,i=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,c={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},p.add(r,0,[["enter",c,t]])),a=b.type==="tableDelimiterRow"?2:c?3:1):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(i[1]!==0&&(s[0]=s[1],f=$i(p,t,i,a,void 0,f),i=[0,0,0,0]),s[2]=r)):b.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(s[0]=s[1],f=$i(p,t,i,a,void 0,f)),i=s,s=[i[1],r,0,0])):b.type==="tableHead"?(o=!0,u=r):b.type==="tableRow"||b.type==="tableDelimiterRow"?(u=r,i[1]!==0?(s[0]=s[1],f=$i(p,t,i,a,r,f)):s[1]!==0&&(f=$i(p,t,s,a,r,f)),a=0):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(s[3]=r)}for(u!==0&&pf(p,t,u,l,c),p.consume(t.events),r=-1;++r<t.events.length;){const h=t.events[r];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=hT(t.events,r))}return e}function $i(e,t,r,n,a,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(i.end=Object.assign({},jn(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const u=jn(t.events,r[1]);if(i={type:s,start:Object.assign({},u),end:Object.assign({},u)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const l=jn(t.events,r[2]),c=jn(t.events,r[3]),f={type:o,start:Object.assign({},l),end:Object.assign({},c)};if(e.add(r[2],0,[["enter",f,t]]),n!==2){const p=t.events[r[2]],h=t.events[r[3]];if(p[1].end=Object.assign({},h[1].end),p[1].type="chunkText",p[1].contentType="text",r[3]>r[2]+1){const b=r[2]+1,y=r[3]-r[2]-1;e.add(b,y,[])}}e.add(r[3]+1,0,[["exit",f,t]])}return a!==void 0&&(i.end=Object.assign({},jn(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function pf(e,t,r,n,a){const i=[],s=jn(t.events,r);a&&(a.end=Object.assign({},s),i.push(["exit",a,t])),n.end=Object.assign({},s),i.push(["exit",n,t]),e.add(r+1,0,i)}function jn(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const bT={name:"tasklistCheck",tokenize:xT};function yT(){return{text:{91:bT}}}function xT(e,t,r){const n=this;return a;function a(u){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),i)}function i(u){return Ve(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),s):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),s):r(u)}function s(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(u)}function o(u){return xe(u)?t(u):Pe(u)?e.check({tokenize:ET},t,r)(u):r(u)}}function ET(e,t,r){return Me(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function TT(e){return Zh([WE(),rT(),cT(e),mT(),yT()])}const vT={};function wT(e){const t=this,r=e||vT,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(TT(r)),i.push(jE()),s.push($E(r))}const gf=/[#.]/g;function AT(e,t){const r=e||"",n={};let a=0,i,s;for(;a<r.length;){gf.lastIndex=a;const o=gf.exec(r),u=r.slice(a,o?o.index:r.length);u&&(i?i==="#"?n.id=u:Array.isArray(n.className)?n.className.push(u):n.className=[u]:s=u,a+=u.length),o&&(i=o[0],a++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function Yp(e,t,r){const n=r?IT(r):void 0;function a(i,s,...o){let u;if(i==null){u={type:"root",children:[]};const l=s;o.unshift(l)}else{u=AT(i,t);const l=u.tagName.toLowerCase(),c=n?n.get(l):void 0;if(u.tagName=c||l,ST(s))o.unshift(s);else for(const[f,p]of Object.entries(s))kT(e,u.properties,f,p)}for(const l of o)mu(u.children,l);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return a}function ST(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function kT(e,t,r,n){const a=Ys(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=jc(n):a.commaSeparated?i=Fc(n):a.commaOrSpaceSeparated?i=jc(Fc(n).join(" ")):i=bf(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?CT(n):String(n);if(Array.isArray(i)){const s=[];for(const o of i)s.push(bf(a,a.property,o));i=s}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function mu(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)mu(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?mu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function bf(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Ja(r)===Ja(t)))return!0}return r}function CT(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function IT(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const _T=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Wp=Yp(pi,"div"),Vp=Yp(nn,"g",_T),mr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function NT(e,t){return Gp(e,{})||{type:"root",children:[]}}function Gp(e,t){const r=OT(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function OT(e,t){switch(e.nodeType){case 1:return MT(e,t);case 3:return DT(e);case 8:return LT(e);case 9:return yf(e,t);case 10:return RT();case 11:return yf(e,t);default:return}}function yf(e,t){return{type:"root",children:Xp(e,t)}}function RT(){return{type:"doctype"}}function DT(e){return{type:"text",value:e.nodeValue||""}}function LT(e){return{type:"comment",value:e.nodeValue||""}}function MT(e,t){const r=e.namespaceURI,n=r===mr.svg?Vp:Wp,a=r===mr.html?e.tagName.toLowerCase():e.tagName,i=r===mr.html&&a==="template"?e.content:e,s=e.getAttributeNames(),o={};let u=-1;for(;++u<s.length;)o[s[u]]=e.getAttribute(s[u])||"";return n(a,o,Xp(i,t))}function Xp(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=Gp(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function PT(e,t){const r=FT(e);return NT(r)}function FT(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const xf=function(e,t,r){const n=bi(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},Dn=function(e){if(e==null)return HT;if(typeof e=="string")return zT(e);if(typeof e=="object")return BT(e);if(typeof e=="function")return Rl(e);throw new Error("Expected function, string, or array as `test`")};function BT(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Dn(e[r]);return Rl(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function zT(e){return Rl(t);function t(r){return r.tagName===e}}function Rl(e){return t;function t(r,n,a){return!!(UT(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function HT(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function UT(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Ef=/\n/g,Tf=/[\t ]+/g,pu=Dn("br"),vf=Dn(XT),jT=Dn("p"),wf=Dn("tr"),$T=Dn(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",GT,KT]),Kp=Dn(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function qT(e,t){const r=t||{},n="children"in e?e.children:[],a=Kp(e),i=Zp(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...Jp(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...Qp(n[o],e,{whitespace:i,breakBefore:o?void 0:a,breakAfter:o<n.length-1?pu(n[o+1]):a}));const u=[];let l;for(o=-1;++o<s.length;){const c=s[o];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&u.push(`
|
|
300
|
+
`))}function u(h,b,y,E){const T=y.enter("tableCell"),A=y.enter("phrasing"),k=y.containerPhrasing(h,it(ae({},E),{before:i,after:i}));return A(),T(),k}function l(h,b){return Jx(h,{align:b,alignDelimiters:n,padding:r,stringLength:a})}function c(h,b,y){const E=h.children;let T=-1;const A=[],k=b.enter("table");for(;++T<E.length;)A[T]=f(E[T],b,y);return k(),A}function f(h,b,y){const E=h.children;let T=-1;const A=[],k=b.enter("tableRow");for(;++T<E.length;)A[T]=u(E[T],h,b,y);return k(),A}function p(h,b,y){let E=Pp.inlineCode(h,b,y);return y.stack.includes("tableCell")&&(E=E.replace(/\|/g,"\\$&")),E}}function BE(){return{exit:{taskListCheckValueChecked:mf,taskListCheckValueUnchecked:mf,paragraph:HE}}}function zE(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:UE}}}function mf(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function HE(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let i=-1,s;for(;++i<a.length;){const o=a[i];if(o.type==="paragraph"){s=o;break}}s===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function UE(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",o=r.createTracker(n);i&&o.move(s);let u=Pp.listItem(e,t,r,ae(ae({},n),o.current()));return i&&(u=u.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),u;function l(c){return c+s}}function jE(){return[Tx(),jx(),Wx(),OE(),BE()]}function $E(e){return{extensions:[vx(),$x(e),Vx(),FE(e),zE()]}}const qE={tokenize:KE,partial:!0},Fp={tokenize:QE,partial:!0},Bp={tokenize:JE,partial:!0},zp={tokenize:ZE,partial:!0},YE={tokenize:eT,partial:!0},Hp={name:"wwwAutolink",tokenize:GE,previous:jp},Up={name:"protocolAutolink",tokenize:XE,previous:$p},Mr={name:"emailAutolink",tokenize:VE,previous:qp},Tr={};function WE(){return{text:Tr}}let pn=48;for(;pn<123;)Tr[pn]=Mr,pn++,pn===58?pn=65:pn===91&&(pn=97);Tr[43]=Mr;Tr[45]=Mr;Tr[46]=Mr;Tr[95]=Mr;Tr[72]=[Mr,Up];Tr[104]=[Mr,Up];Tr[87]=[Mr,Hp];Tr[119]=[Mr,Hp];function VE(e,t,r){const n=this;let a,i;return s;function s(f){return!hu(f)||!qp.call(n,n.previous)||Ol(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),o(f))}function o(f){return hu(f)?(e.consume(f),o):f===64?(e.consume(f),u):r(f)}function u(f){return f===46?e.check(YE,c,l)(f):f===45||f===95||wt(f)?(i=!0,e.consume(f),u):c(f)}function l(f){return e.consume(f),a=!0,u}function c(f){return i&&a&&Nt(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function GE(e,t,r){const n=this;return a;function a(s){return s!==87&&s!==119||!jp.call(n,n.previous)||Ol(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(qE,e.attempt(Fp,e.attempt(Bp,i),r),r)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function XE(e,t,r){const n=this;let a="",i=!1;return s;function s(f){return(f===72||f===104)&&$p.call(n,n.previous)&&!Ol(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(f),e.consume(f),o):r(f)}function o(f){if(Nt(f)&&a.length<5)return a+=String.fromCodePoint(f),e.consume(f),o;if(f===58){const p=a.toLowerCase();if(p==="http"||p==="https")return e.consume(f),u}return r(f)}function u(f){return f===47?(e.consume(f),i?l:(i=!0,u)):r(f)}function l(f){return f===null||bs(f)||Ve(f)||Cn(f)||Xs(f)?r(f):e.attempt(Fp,e.attempt(Bp,c),r)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function KE(e,t,r){let n=0;return a;function a(s){return(s===87||s===119)&&n<3?(n++,e.consume(s),a):s===46&&n===3?(e.consume(s),i):r(s)}function i(s){return s===null?r(s):t(s)}}function QE(e,t,r){let n,a,i;return s;function s(l){return l===46||l===95?e.check(zp,u,o)(l):l===null||Ve(l)||Cn(l)||l!==45&&Xs(l)?u(l):(i=!0,e.consume(l),s)}function o(l){return l===95?n=!0:(a=n,n=void 0),e.consume(l),s}function u(l){return a||n||!i?r(l):t(l)}}function JE(e,t){let r=0,n=0;return a;function a(s){return s===40?(r++,e.consume(s),a):s===41&&n<r?i(s):s===33||s===34||s===38||s===39||s===41||s===42||s===44||s===46||s===58||s===59||s===60||s===63||s===93||s===95||s===126?e.check(zp,t,i)(s):s===null||Ve(s)||Cn(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&n++,e.consume(s),a}}function ZE(e,t,r){return n;function n(o){return o===33||o===34||o===39||o===41||o===42||o===44||o===46||o===58||o===59||o===63||o===95||o===126?(e.consume(o),n):o===38?(e.consume(o),i):o===93?(e.consume(o),a):o===60||o===null||Ve(o)||Cn(o)?t(o):r(o)}function a(o){return o===null||o===40||o===91||Ve(o)||Cn(o)?t(o):n(o)}function i(o){return Nt(o)?s(o):r(o)}function s(o){return o===59?(e.consume(o),n):Nt(o)?(e.consume(o),s):r(o)}}function eT(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return wt(i)?r(i):t(i)}}function jp(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ve(e)}function $p(e){return!Nt(e)}function qp(e){return!(e===47||hu(e))}function hu(e){return e===43||e===45||e===46||e===95||wt(e)}function Ol(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const tT={tokenize:lT,partial:!0};function rT(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:sT,continuation:{tokenize:oT},exit:uT}},text:{91:{name:"gfmFootnoteCall",tokenize:iT},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:nT,resolveTo:aT}}}}function nT(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;a--;){const u=n.events[a][1];if(u.type==="labelImage"){s=u;break}if(u.type==="gfmFootnoteCall"||u.type==="labelLink"||u.type==="label"||u.type==="image"||u.type==="link")break}return o;function o(u){if(!s||!s._balanced)return r(u);const l=ir(n.sliceSerialize({start:s.end,end:n.now()}));return l.codePointAt(0)!==94||!i.includes(l.slice(1))?r(u):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(u),e.exit("gfmFootnoteCallLabelMarker"),t(u))}}function aT(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const i={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},s={type:"chunkString",contentType:"string",start:Object.assign({},i.start),end:Object.assign({},i.end)},o=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",i,t],["enter",s,t],["exit",s,t],["exit",i,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...o),e}function iT(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return o;function o(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),u}function u(f){return f!==94?r(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(f){if(i>999||f===93&&!s||f===null||f===91||Ve(f))return r(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return a.includes(ir(n.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return Ve(f)||(s=!0),i++,e.consume(f),f===92?c:l}function c(f){return f===91||f===92||f===93?(e.consume(f),i++,l):l(f)}}function sT(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,o;return u;function u(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(b)}function c(b){if(s>999||b===93&&!o||b===null||b===91||Ve(b))return r(b);if(b===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=ir(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Ve(b)||(o=!0),s++,e.consume(b),b===92?f:c}function f(b){return b===91||b===92||b===93?(e.consume(b),s++,c):c(b)}function p(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),a.includes(i)||a.push(i),Me(e,h,"gfmFootnoteDefinitionWhitespace")):r(b)}function h(b){return t(b)}}function oT(e,t,r){return e.check(gi,t,e.attempt(tT,t,r))}function uT(e){e.exit("gfmFootnoteDefinition")}function lT(e,t,r){const n=this;return Me(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):r(i)}}function cT(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:i,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(s,o){let u=-1;for(;++u<s.length;)if(s[u][0]==="enter"&&s[u][1].type==="strikethroughSequenceTemporary"&&s[u][1]._close){let l=u;for(;l--;)if(s[l][0]==="exit"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._open&&s[u][1].end.offset-s[u][1].start.offset===s[l][1].end.offset-s[l][1].start.offset){s[u][1].type="strikethroughSequence",s[l][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[l][1].start),end:Object.assign({},s[u][1].end)},f={type:"strikethroughText",start:Object.assign({},s[l][1].end),end:Object.assign({},s[u][1].start)},p=[["enter",c,o],["enter",s[l][1],o],["exit",s[l][1],o],["enter",f,o]],h=o.parser.constructs.insideSpan.null;h&&jt(p,p.length,0,Ks(h,s.slice(l+1,u),o)),jt(p,p.length,0,[["exit",f,o],["enter",s[u][1],o],["exit",s[u][1],o],["exit",c,o]]),jt(s,l-1,u-l+3,p),u=l+p.length-2;break}}for(u=-1;++u<s.length;)s[u][1].type==="strikethroughSequenceTemporary"&&(s[u][1].type="data");return s}function i(s,o,u){const l=this.previous,c=this.events;let f=0;return p;function p(b){return l===126&&c[c.length-1][1].type!=="characterEscape"?u(b):(s.enter("strikethroughSequenceTemporary"),h(b))}function h(b){const y=Jn(l);if(b===126)return f>1?u(b):(s.consume(b),f++,h);if(f<2&&!r)return u(b);const E=s.exit("strikethroughSequenceTemporary"),T=Jn(b);return E._open=!T||T===2&&!!y,E._close=!y||y===2&&!!T,o(b)}}}class fT{constructor(){this.map=[]}add(t,r,n){dT(this,t,r,n)}consume(t){if(this.map.sort(function(i,s){return i[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.slice()),t.length=0;let a=n.pop();for(;a;){for(const i of a)t.push(i);a=n.pop()}this.map.length=0}}function dT(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function hT(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const i=n.length-1;n[i]=n[i]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function mT(){return{flow:{null:{name:"table",tokenize:pT,resolveAll:gT}}}}function pT(e,t,r){const n=this;let a=0,i=0,s;return o;function o(L){let $=n.events.length-1;for(;$>-1;){const X=n.events[$][1].type;if(X==="lineEnding"||X==="linePrefix")$--;else break}const te=$>-1?n.events[$][1].type:null,ge=te==="tableHead"||te==="tableRow"?N:u;return ge===N&&n.parser.lazy[n.now().line]?r(L):ge(L)}function u(L){return e.enter("tableHead"),e.enter("tableRow"),l(L)}function l(L){return L===124||(s=!0,i+=1),c(L)}function c(L){return L===null?r(L):xe(L)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),h):r(L):Fe(L)?Me(e,c,"whitespace")(L):(i+=1,s&&(s=!1,a+=1),L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),f(L)))}function f(L){return L===null||L===124||Ve(L)?(e.exit("data"),c(L)):(e.consume(L),L===92?p:f)}function p(L){return L===92||L===124?(e.consume(L),f):f(L)}function h(L){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(L):(e.enter("tableDelimiterRow"),s=!1,Fe(L)?Me(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):b(L))}function b(L){return L===45||L===58?E(L):L===124?(s=!0,e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),y):B(L)}function y(L){return Fe(L)?Me(e,E,"whitespace")(L):E(L)}function E(L){return L===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),T):L===45?(i+=1,T(L)):L===null||xe(L)?F(L):B(L)}function T(L){return L===45?(e.enter("tableDelimiterFiller"),A(L)):B(L)}function A(L){return L===45?(e.consume(L),A):L===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(L),e.exit("tableDelimiterMarker"),k):(e.exit("tableDelimiterFiller"),k(L))}function k(L){return Fe(L)?Me(e,F,"whitespace")(L):F(L)}function F(L){return L===124?b(L):L===null||xe(L)?!s||a!==i?B(L):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(L)):B(L)}function B(L){return r(L)}function N(L){return e.enter("tableRow"),M(L)}function M(L){return L===124?(e.enter("tableCellDivider"),e.consume(L),e.exit("tableCellDivider"),M):L===null||xe(L)?(e.exit("tableRow"),t(L)):Fe(L)?Me(e,M,"whitespace")(L):(e.enter("data"),z(L))}function z(L){return L===null||L===124||Ve(L)?(e.exit("data"),M(L)):(e.consume(L),L===92?U:z)}function U(L){return L===92||L===124?(e.consume(L),z):z(L)}}function gT(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],s=[0,0,0,0],o=!1,u=0,l,c,f;const p=new fT;for(;++r<e.length;){const h=e[r],b=h[1];h[0]==="enter"?b.type==="tableHead"?(o=!1,u!==0&&(pf(p,t,u,l,c),c=void 0,u=0),l={type:"table",start:Object.assign({},b.start),end:Object.assign({},b.end)},p.add(r,0,[["enter",l,t]])):b.type==="tableRow"||b.type==="tableDelimiterRow"?(n=!0,f=void 0,i=[0,0,0,0],s=[0,r+1,0,0],o&&(o=!1,c={type:"tableBody",start:Object.assign({},b.start),end:Object.assign({},b.end)},p.add(r,0,[["enter",c,t]])),a=b.type==="tableDelimiterRow"?2:c?3:1):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")?(n=!1,s[2]===0&&(i[1]!==0&&(s[0]=s[1],f=$i(p,t,i,a,void 0,f),i=[0,0,0,0]),s[2]=r)):b.type==="tableCellDivider"&&(n?n=!1:(i[1]!==0&&(s[0]=s[1],f=$i(p,t,i,a,void 0,f)),i=s,s=[i[1],r,0,0])):b.type==="tableHead"?(o=!0,u=r):b.type==="tableRow"||b.type==="tableDelimiterRow"?(u=r,i[1]!==0?(s[0]=s[1],f=$i(p,t,i,a,r,f)):s[1]!==0&&(f=$i(p,t,s,a,r,f)),a=0):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(s[3]=r)}for(u!==0&&pf(p,t,u,l,c),p.consume(t.events),r=-1;++r<t.events.length;){const h=t.events[r];h[0]==="enter"&&h[1].type==="table"&&(h[1]._align=hT(t.events,r))}return e}function $i(e,t,r,n,a,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",o="tableContent";r[0]!==0&&(i.end=Object.assign({},jn(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const u=jn(t.events,r[1]);if(i={type:s,start:Object.assign({},u),end:Object.assign({},u)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const l=jn(t.events,r[2]),c=jn(t.events,r[3]),f={type:o,start:Object.assign({},l),end:Object.assign({},c)};if(e.add(r[2],0,[["enter",f,t]]),n!==2){const p=t.events[r[2]],h=t.events[r[3]];if(p[1].end=Object.assign({},h[1].end),p[1].type="chunkText",p[1].contentType="text",r[3]>r[2]+1){const b=r[2]+1,y=r[3]-r[2]-1;e.add(b,y,[])}}e.add(r[3]+1,0,[["exit",f,t]])}return a!==void 0&&(i.end=Object.assign({},jn(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function pf(e,t,r,n,a){const i=[],s=jn(t.events,r);a&&(a.end=Object.assign({},s),i.push(["exit",a,t])),n.end=Object.assign({},s),i.push(["exit",n,t]),e.add(r+1,0,i)}function jn(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const bT={name:"tasklistCheck",tokenize:xT};function yT(){return{text:{91:bT}}}function xT(e,t,r){const n=this;return a;function a(u){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(u):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),i)}function i(u){return Ve(u)?(e.enter("taskListCheckValueUnchecked"),e.consume(u),e.exit("taskListCheckValueUnchecked"),s):u===88||u===120?(e.enter("taskListCheckValueChecked"),e.consume(u),e.exit("taskListCheckValueChecked"),s):r(u)}function s(u){return u===93?(e.enter("taskListCheckMarker"),e.consume(u),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(u)}function o(u){return xe(u)?t(u):Fe(u)?e.check({tokenize:ET},t,r)(u):r(u)}}function ET(e,t,r){return Me(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function TT(e){return Zh([WE(),rT(),cT(e),mT(),yT()])}const vT={};function wT(e){const t=this,r=e||vT,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(TT(r)),i.push(jE()),s.push($E(r))}const gf=/[#.]/g;function AT(e,t){const r=e||"",n={};let a=0,i,s;for(;a<r.length;){gf.lastIndex=a;const o=gf.exec(r),u=r.slice(a,o?o.index:r.length);u&&(i?i==="#"?n.id=u:Array.isArray(n.className)?n.className.push(u):n.className=[u]:s=u,a+=u.length),o&&(i=o[0],a++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function Yp(e,t,r){const n=r?IT(r):void 0;function a(i,s,...o){let u;if(i==null){u={type:"root",children:[]};const l=s;o.unshift(l)}else{u=AT(i,t);const l=u.tagName.toLowerCase(),c=n?n.get(l):void 0;if(u.tagName=c||l,ST(s))o.unshift(s);else for(const[f,p]of Object.entries(s))kT(e,u.properties,f,p)}for(const l of o)mu(u.children,l);return u.type==="element"&&u.tagName==="template"&&(u.content={type:"root",children:u.children},u.children=[]),u}return a}function ST(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const i=a;for(const s of i)if(typeof s!="number"&&typeof s!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function kT(e,t,r,n){const a=Ys(e,r);let i;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;i=n}else typeof n=="boolean"?i=n:typeof n=="string"?a.spaceSeparated?i=jc(n):a.commaSeparated?i=Fc(n):a.commaOrSpaceSeparated?i=jc(Fc(n).join(" ")):i=bf(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?CT(n):String(n);if(Array.isArray(i)){const s=[];for(const o of i)s.push(bf(a,a.property,o));i=s}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function mu(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)mu(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?mu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function bf(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Ja(r)===Ja(t)))return!0}return r}function CT(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function IT(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const _T=["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"],Wp=Yp(pi,"div"),Vp=Yp(nn,"g",_T),mr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function NT(e,t){return Gp(e,{})||{type:"root",children:[]}}function Gp(e,t){const r=OT(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function OT(e,t){switch(e.nodeType){case 1:return MT(e,t);case 3:return DT(e);case 8:return LT(e);case 9:return yf(e,t);case 10:return RT();case 11:return yf(e,t);default:return}}function yf(e,t){return{type:"root",children:Xp(e,t)}}function RT(){return{type:"doctype"}}function DT(e){return{type:"text",value:e.nodeValue||""}}function LT(e){return{type:"comment",value:e.nodeValue||""}}function MT(e,t){const r=e.namespaceURI,n=r===mr.svg?Vp:Wp,a=r===mr.html?e.tagName.toLowerCase():e.tagName,i=r===mr.html&&a==="template"?e.content:e,s=e.getAttributeNames(),o={};let u=-1;for(;++u<s.length;)o[s[u]]=e.getAttribute(s[u])||"";return n(a,o,Xp(i,t))}function Xp(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=Gp(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function PT(e,t){const r=FT(e);return NT(r)}function FT(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const xf=function(e,t,r){const n=bi(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},Dn=function(e){if(e==null)return HT;if(typeof e=="string")return zT(e);if(typeof e=="object")return BT(e);if(typeof e=="function")return Rl(e);throw new Error("Expected function, string, or array as `test`")};function BT(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Dn(e[r]);return Rl(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function zT(e){return Rl(t);function t(r){return r.tagName===e}}function Rl(e){return t;function t(r,n,a){return!!(UT(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function HT(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function UT(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Ef=/\n/g,Tf=/[\t ]+/g,pu=Dn("br"),vf=Dn(XT),jT=Dn("p"),wf=Dn("tr"),$T=Dn(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",GT,KT]),Kp=Dn(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function qT(e,t){const r=t||{},n="children"in e?e.children:[],a=Kp(e),i=Zp(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...Jp(e,{breakBefore:!0,breakAfter:!0}));let o=-1;for(;++o<n.length;)s.push(...Qp(n[o],e,{whitespace:i,breakBefore:o?void 0:a,breakAfter:o<n.length-1?pu(n[o+1]):a}));const u=[];let l;for(o=-1;++o<s.length;){const c=s[o];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&u.push(`
|
|
301
301
|
`.repeat(l)||" "),l=-1,u.push(c))}return u.join("")}function Qp(e,t,r){return e.type==="element"?YT(e,t,r):e.type==="text"?r.whitespace==="normal"?Jp(e,r):WT(e):[]}function YT(e,t,r){const n=Zp(e,r),a=e.children||[];let i=-1,s=[];if($T(e))return s;let o,u;for(pu(e)||wf(e)&&xf(t,e,wf)?u=`
|
|
302
|
-
`:jT(e)?(o=2,u=2):Kp(e)&&(o=1,u=1);++i<a.length;)s=s.concat(Qp(a[i],e,{whitespace:n,breakBefore:i?void 0:o,breakAfter:i<a.length-1?pu(a[i+1]):u}));return vf(e)&&xf(t,e,vf)&&s.push(" "),o&&s.unshift(o),u&&s.push(u),s}function Jp(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){Ef.lastIndex=i;const u=Ef.exec(r),l=u&&"index"in u?u.index:r.length;n.push(VT(r.slice(i,l).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,l===r.length?t.breakAfter:!0)),i=l+1}let s=-1,o;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(a.push(n[s]),o=void 0):n[s]?(typeof o=="number"&&a.push(o),a.push(n[s]),o=0):(s===0||s===n.length-1)&&a.push(0);return a}function WT(e){return[String(e.value)]}function VT(e,t,r){const n=[];let a=0,i;for(;a<e.length;){Tf.lastIndex=a;const s=Tf.exec(e);i=s?s.index:e.length,!a&&!i&&s&&!t&&n.push(""),a!==i&&n.push(e.slice(a,i)),a=s?i+s[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function Zp(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function GT(e){return!!(e.properties||{}).hidden}function XT(e){return e.tagName==="td"||e.tagName==="th"}function KT(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const QT={},JT=[];function ZT(e){const t=e||QT;return function(r,n){fl(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:JT,o=s.includes("language-math"),u=s.includes("math-display"),l=s.includes("math-inline");let c=u;if(!o&&!u&&!l)return;let f=i[i.length-1],p=a;if(a.tagName==="code"&&o&&f&&f.type==="element"&&f.tagName==="pre"&&(p=f,f=i[i.length-2],c=!0),!f)return;const h=qT(p,{whitespace:"pre"});let b;try{b=of.renderToString(h,it(
|
|
303
|
-
`),b=h[h.length-1]===""?h.length-1:h.length;return w.jsxs("div",{style:
|
|
304
|
-
`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const t2={}.hasOwnProperty,sv=Object.prototype;function ov(e,t){const r=t||{};return Dl({file:r.file||void 0,location:!1,schema:r.space==="svg"?nn:pi,verbose:r.verbose||!1},e)}function Dl(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},ls(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:r2(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=iv(i),o=s.toPoint(0),u=s.toPoint(i.length);r.position={start:o,end:u}}return r}case"#documentType":{const n=t;return r={type:"doctype"},ls(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},ls(e,n,r),r}default:return r=uv(e,t),r}}function r2(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=Dl(e,t[r]);n.push(a)}return n}function uv(e,t){const r=e.schema;e.schema=t.namespaceURI===mr.svg?nn:pi;let n=-1;const a={};for(;++n<t.attrs.length;){const o=t.attrs[n],u=(o.prefix?o.prefix+":":"")+o.name;t2.call(sv,u)||(a[u]=o.value)}const s=(e.schema.space==="svg"?Vp:Wp)(t.tagName,a,r2(e,t.childNodes));if(ls(e,t,s),s.tagName==="template"){const o=t,u=o.sourceCodeLocation,l=u&&u.startTag&&$n(u.startTag),c=u&&u.endTag&&$n(u.endTag),f=Dl(e,o.content);l&&c&&e.file&&(f.position={start:l.end,end:c.start}),s.content=f}return e.schema=r,s}function ls(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=lv(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function lv(e,t,r){const n=$n(r);if(t.type==="element"){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const i={};let s;if(r.attrs)for(s in r.attrs)t2.call(r.attrs,s)&&(i[Ys(e.schema,s).property]=$n(r.attrs[s]));r.startTag;const o=$n(r.startTag),u=r.endTag?$n(r.endTag):void 0,l={opening:o};u&&(l.closing=u),l.properties=i,t.data={position:l}}}return n}function $n(e){const t=Sf({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Sf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Sf(e){return e.line&&e.column?e:void 0}const cv={},fv={}.hasOwnProperty,n2=Sp("type",{handlers:{root:hv,element:yv,text:gv,comment:bv,doctype:pv}});function dv(e,t){const n=(t||cv).space;return n2(e,n==="svg"?nn:pi)}function hv(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=Ll(e.children,r,t),pa(e,r),r}function mv(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=Ll(e.children,r,t),pa(e,r),r}function pv(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return pa(e,t),t}function gv(e){const t={nodeName:"#text",value:e.value,parentNode:null};return pa(e,t),t}function bv(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return pa(e,t),t}function yv(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=nn);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&fv.call(e.properties,i)){const u=xv(n,i,e.properties[i]);u&&a.push(u)}}const s=n.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:mr[s],childNodes:[],parentNode:null};return o.childNodes=Ll(e.children,o,n),pa(e,o),e.tagName==="template"&&e.content&&(o.content=mv(e.content,n)),o}function xv(e,t,r){const n=Ys(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Bh(r):Wh(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=mr[n.space]}return a}function Ll(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=n2(e[n],r);i.parentNode=t,a.push(i)}return a}function pa(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const Ev=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Tv=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),et="�";var S;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(S||(S={}));const Lt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function a2(e){return e>=55296&&e<=57343}function vv(e){return e>=56320&&e<=57343}function wv(e,t){return(e-55296)*1024+9216+t}function i2(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function s2(e){return e>=64976&&e<=65007||Tv.has(e)}var q;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(q||(q={}));const Av=65536;class Sv{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Av,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,r){const{line:n,col:a,offset:i}=this,s=a+r,o=i+r;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(vv(r))return this.pos++,this._addGap(),wv(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,S.EOF;return this._err(q.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,S.EOF;const n=this.html.charCodeAt(r);return n===S.CARRIAGE_RETURN?S.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,S.EOF;let t=this.html.charCodeAt(this.pos);return t===S.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,S.LINE_FEED):t===S.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,a2(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===S.LINE_FEED||t===S.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){i2(t)?this._err(q.controlCharacterInInputStream):s2(t)&&this._err(q.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Le;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Le||(Le={}));function o2(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const kv=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Cv=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Iv(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Cv.get(e))!==null&&t!==void 0?t:e}var Et;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Et||(Et={}));const _v=32;var Xr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Xr||(Xr={}));function gu(e){return e>=Et.ZERO&&e<=Et.NINE}function Nv(e){return e>=Et.UPPER_A&&e<=Et.UPPER_F||e>=Et.LOWER_A&&e<=Et.LOWER_F}function Ov(e){return e>=Et.UPPER_A&&e<=Et.UPPER_Z||e>=Et.LOWER_A&&e<=Et.LOWER_Z||gu(e)}function Rv(e){return e===Et.EQUALS||Ov(e)}var xt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(xt||(xt={}));var Cr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Cr||(Cr={}));class Dv{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=xt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Cr.Strict}startEntity(t){this.decodeMode=t,this.state=xt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case xt.EntityStart:return t.charCodeAt(r)===Et.NUM?(this.state=xt.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=xt.NamedEntity,this.stateNamedEntity(t,r));case xt.NumericStart:return this.stateNumericStart(t,r);case xt.NumericDecimal:return this.stateNumericDecimal(t,r);case xt.NumericHex:return this.stateNumericHex(t,r);case xt.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|_v)===Et.LOWER_X?(this.state=xt.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=xt.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(gu(a)||Nv(a))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(gu(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Et.SEMI)this.consumed+=1;else if(this.decodeMode===Cr.Strict)return 0;return this.emitCodePoint(Iv(this.result),this.consumed),this.errors&&(t!==Et.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&Xr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=Lv(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===Cr.Attribute&&(i===0||Rv(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&Xr.VALUE_LENGTH)>>14,i!==0){if(s===Et.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Cr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,a=(n[r]&Xr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[t]&~Xr.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case xt.NamedEntity:return this.result!==0&&(this.decodeMode!==Cr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case xt.NumericDecimal:return this.emitNumericEntity(0,2);case xt.NumericHex:return this.emitNumericEntity(0,3);case xt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case xt.EntityStart:return 0}}}function Lv(e,t,r,n){const a=(t&Xr.BRANCH_LENGTH)>>7,i=t&Xr.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const u=n-i;return u<0||u>=a?-1:e[r+u]-1}let s=r,o=s+a-1;for(;s<=o;){const u=s+o>>>1,l=e[u];if(l<n)s=u+1;else if(l>n)o=u-1;else return e[u+a]}return-1}var re;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(re||(re={}));var An;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(An||(An={}));var Kt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Kt||(Kt={}));var H;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(H||(H={}));var d;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));const Mv=new Map([[H.A,d.A],[H.ADDRESS,d.ADDRESS],[H.ANNOTATION_XML,d.ANNOTATION_XML],[H.APPLET,d.APPLET],[H.AREA,d.AREA],[H.ARTICLE,d.ARTICLE],[H.ASIDE,d.ASIDE],[H.B,d.B],[H.BASE,d.BASE],[H.BASEFONT,d.BASEFONT],[H.BGSOUND,d.BGSOUND],[H.BIG,d.BIG],[H.BLOCKQUOTE,d.BLOCKQUOTE],[H.BODY,d.BODY],[H.BR,d.BR],[H.BUTTON,d.BUTTON],[H.CAPTION,d.CAPTION],[H.CENTER,d.CENTER],[H.CODE,d.CODE],[H.COL,d.COL],[H.COLGROUP,d.COLGROUP],[H.DD,d.DD],[H.DESC,d.DESC],[H.DETAILS,d.DETAILS],[H.DIALOG,d.DIALOG],[H.DIR,d.DIR],[H.DIV,d.DIV],[H.DL,d.DL],[H.DT,d.DT],[H.EM,d.EM],[H.EMBED,d.EMBED],[H.FIELDSET,d.FIELDSET],[H.FIGCAPTION,d.FIGCAPTION],[H.FIGURE,d.FIGURE],[H.FONT,d.FONT],[H.FOOTER,d.FOOTER],[H.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[H.FORM,d.FORM],[H.FRAME,d.FRAME],[H.FRAMESET,d.FRAMESET],[H.H1,d.H1],[H.H2,d.H2],[H.H3,d.H3],[H.H4,d.H4],[H.H5,d.H5],[H.H6,d.H6],[H.HEAD,d.HEAD],[H.HEADER,d.HEADER],[H.HGROUP,d.HGROUP],[H.HR,d.HR],[H.HTML,d.HTML],[H.I,d.I],[H.IMG,d.IMG],[H.IMAGE,d.IMAGE],[H.INPUT,d.INPUT],[H.IFRAME,d.IFRAME],[H.KEYGEN,d.KEYGEN],[H.LABEL,d.LABEL],[H.LI,d.LI],[H.LINK,d.LINK],[H.LISTING,d.LISTING],[H.MAIN,d.MAIN],[H.MALIGNMARK,d.MALIGNMARK],[H.MARQUEE,d.MARQUEE],[H.MATH,d.MATH],[H.MENU,d.MENU],[H.META,d.META],[H.MGLYPH,d.MGLYPH],[H.MI,d.MI],[H.MO,d.MO],[H.MN,d.MN],[H.MS,d.MS],[H.MTEXT,d.MTEXT],[H.NAV,d.NAV],[H.NOBR,d.NOBR],[H.NOFRAMES,d.NOFRAMES],[H.NOEMBED,d.NOEMBED],[H.NOSCRIPT,d.NOSCRIPT],[H.OBJECT,d.OBJECT],[H.OL,d.OL],[H.OPTGROUP,d.OPTGROUP],[H.OPTION,d.OPTION],[H.P,d.P],[H.PARAM,d.PARAM],[H.PLAINTEXT,d.PLAINTEXT],[H.PRE,d.PRE],[H.RB,d.RB],[H.RP,d.RP],[H.RT,d.RT],[H.RTC,d.RTC],[H.RUBY,d.RUBY],[H.S,d.S],[H.SCRIPT,d.SCRIPT],[H.SEARCH,d.SEARCH],[H.SECTION,d.SECTION],[H.SELECT,d.SELECT],[H.SOURCE,d.SOURCE],[H.SMALL,d.SMALL],[H.SPAN,d.SPAN],[H.STRIKE,d.STRIKE],[H.STRONG,d.STRONG],[H.STYLE,d.STYLE],[H.SUB,d.SUB],[H.SUMMARY,d.SUMMARY],[H.SUP,d.SUP],[H.TABLE,d.TABLE],[H.TBODY,d.TBODY],[H.TEMPLATE,d.TEMPLATE],[H.TEXTAREA,d.TEXTAREA],[H.TFOOT,d.TFOOT],[H.TD,d.TD],[H.TH,d.TH],[H.THEAD,d.THEAD],[H.TITLE,d.TITLE],[H.TR,d.TR],[H.TRACK,d.TRACK],[H.TT,d.TT],[H.U,d.U],[H.UL,d.UL],[H.SVG,d.SVG],[H.VAR,d.VAR],[H.WBR,d.WBR],[H.XMP,d.XMP]]);function ga(e){var t;return(t=Mv.get(e))!==null&&t!==void 0?t:d.UNKNOWN}const ae=d,Pv={[re.HTML]:new Set([ae.ADDRESS,ae.APPLET,ae.AREA,ae.ARTICLE,ae.ASIDE,ae.BASE,ae.BASEFONT,ae.BGSOUND,ae.BLOCKQUOTE,ae.BODY,ae.BR,ae.BUTTON,ae.CAPTION,ae.CENTER,ae.COL,ae.COLGROUP,ae.DD,ae.DETAILS,ae.DIR,ae.DIV,ae.DL,ae.DT,ae.EMBED,ae.FIELDSET,ae.FIGCAPTION,ae.FIGURE,ae.FOOTER,ae.FORM,ae.FRAME,ae.FRAMESET,ae.H1,ae.H2,ae.H3,ae.H4,ae.H5,ae.H6,ae.HEAD,ae.HEADER,ae.HGROUP,ae.HR,ae.HTML,ae.IFRAME,ae.IMG,ae.INPUT,ae.LI,ae.LINK,ae.LISTING,ae.MAIN,ae.MARQUEE,ae.MENU,ae.META,ae.NAV,ae.NOEMBED,ae.NOFRAMES,ae.NOSCRIPT,ae.OBJECT,ae.OL,ae.P,ae.PARAM,ae.PLAINTEXT,ae.PRE,ae.SCRIPT,ae.SECTION,ae.SELECT,ae.SOURCE,ae.STYLE,ae.SUMMARY,ae.TABLE,ae.TBODY,ae.TD,ae.TEMPLATE,ae.TEXTAREA,ae.TFOOT,ae.TH,ae.THEAD,ae.TITLE,ae.TR,ae.TRACK,ae.UL,ae.WBR,ae.XMP]),[re.MATHML]:new Set([ae.MI,ae.MO,ae.MN,ae.MS,ae.MTEXT,ae.ANNOTATION_XML]),[re.SVG]:new Set([ae.TITLE,ae.FOREIGN_OBJECT,ae.DESC]),[re.XLINK]:new Set,[re.XML]:new Set,[re.XMLNS]:new Set},bu=new Set([ae.H1,ae.H2,ae.H3,ae.H4,ae.H5,ae.H6]);H.STYLE,H.SCRIPT,H.XMP,H.IFRAME,H.NOEMBED,H.NOFRAMES,H.PLAINTEXT;var _;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(_||(_={}));const ut={DATA:_.DATA,RCDATA:_.RCDATA,RAWTEXT:_.RAWTEXT,SCRIPT_DATA:_.SCRIPT_DATA,PLAINTEXT:_.PLAINTEXT,CDATA_SECTION:_.CDATA_SECTION};function Fv(e){return e>=S.DIGIT_0&&e<=S.DIGIT_9}function Ma(e){return e>=S.LATIN_CAPITAL_A&&e<=S.LATIN_CAPITAL_Z}function Bv(e){return e>=S.LATIN_SMALL_A&&e<=S.LATIN_SMALL_Z}function qr(e){return Bv(e)||Ma(e)}function kf(e){return qr(e)||Fv(e)}function Wi(e){return e+32}function u2(e){return e===S.SPACE||e===S.LINE_FEED||e===S.TABULATION||e===S.FORM_FEED}function Cf(e){return u2(e)||e===S.SOLIDUS||e===S.GREATER_THAN_SIGN}function zv(e){return e===S.NULL?q.nullCharacterReference:e>1114111?q.characterReferenceOutsideUnicodeRange:a2(e)?q.surrogateCharacterReference:s2(e)?q.noncharacterCharacterReference:i2(e)||e===S.CARRIAGE_RETURN?q.controlCharacterReference:null}class Hv{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=_.DATA,this.returnState=_.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Sv(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Dv(kv,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(q.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(q.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=zv(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Le.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Le.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Le.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Le.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(o2(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(q.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=ga(t.tagName),t.type===Le.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(q.endTagWithAttributes),t.selfClosing&&this._err(q.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Le.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Le.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Le.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Le.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=u2(t)?Le.WHITESPACE_CHARACTER:t===S.NULL?Le.NULL_CHARACTER:Le.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Le.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=_.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Cr.Attribute:Cr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===_.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case _.DATA:{this._stateData(t);break}case _.RCDATA:{this._stateRcdata(t);break}case _.RAWTEXT:{this._stateRawtext(t);break}case _.SCRIPT_DATA:{this._stateScriptData(t);break}case _.PLAINTEXT:{this._statePlaintext(t);break}case _.TAG_OPEN:{this._stateTagOpen(t);break}case _.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case _.TAG_NAME:{this._stateTagName(t);break}case _.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case _.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case _.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case _.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case _.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case _.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case _.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case _.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case _.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case _.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case _.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case _.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case _.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case _.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case _.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case _.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case _.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case _.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case _.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case _.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case _.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case _.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case _.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case _.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case _.BOGUS_COMMENT:{this._stateBogusComment(t);break}case _.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case _.COMMENT_START:{this._stateCommentStart(t);break}case _.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case _.COMMENT:{this._stateComment(t);break}case _.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case _.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case _.COMMENT_END:{this._stateCommentEnd(t);break}case _.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case _.DOCTYPE:{this._stateDoctype(t);break}case _.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case _.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case _.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case _.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case _.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case _.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case _.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case _.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case _.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case _.CDATA_SECTION:{this._stateCdataSection(t);break}case _.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case _.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case _.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case _.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.TAG_OPEN;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitCodePoint(t);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case S.AMPERSAND:{this._startCharacterReference();break}case S.LESS_THAN_SIGN:{this.state=_.RCDATA_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.RAWTEXT_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(qr(t))this._createStartTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case S.EXCLAMATION_MARK:{this.state=_.MARKUP_DECLARATION_OPEN;break}case S.SOLIDUS:{this.state=_.END_TAG_OPEN;break}case S.QUESTION_MARK:{this._err(q.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t);break}case S.EOF:{this._err(q.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=_.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(qr(t))this._createEndTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case S.GREATER_THAN_SIGN:{this._err(q.missingEndTagName),this.state=_.DATA;break}case S.EOF:{this._err(q.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.tagName+=et;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Ma(t)?Wi(t):t)}}_stateRcdataLessThanSign(t){t===S.SOLIDUS?this.state=_.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){qr(t)?(this.state=_.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=_.BEFORE_ATTRIBUTE_NAME,!1;case S.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=_.SELF_CLOSING_START_TAG,!1;case S.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=_.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===S.SOLIDUS?this.state=_.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){qr(t)?(this.state=_.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case S.SOLIDUS:{this.state=_.SCRIPT_DATA_END_TAG_OPEN;break}case S.EXCLAMATION_MARK:{this.state=_.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=_.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){qr(t)?(this.state=_.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===S.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===S.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case S.HYPHEN_MINUS:{this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===S.SOLIDUS?this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:qr(t)?(this._emitChars("<"),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){qr(t)?(this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Lt.SCRIPT,!1)&&Cf(this.preprocessor.peek(Lt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Lt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case S.HYPHEN_MINUS:{this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===S.SOLIDUS?(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Lt.SCRIPT,!1)&&Cf(this.preprocessor.peek(Lt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Lt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.SOLIDUS:case S.GREATER_THAN_SIGN:case S.EOF:{this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case S.EQUALS_SIGN:{this._err(q.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=_.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:case S.SOLIDUS:case S.GREATER_THAN_SIGN:case S.EOF:{this._leaveAttrName(),this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case S.EQUALS_SIGN:{this._leaveAttrName(),this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case S.QUOTATION_MARK:case S.APOSTROPHE:case S.LESS_THAN_SIGN:{this._err(q.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.name+=et;break}default:this.currentAttr.name+=String.fromCodePoint(Ma(t)?Wi(t):t)}}_stateAfterAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case S.EQUALS_SIGN:{this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{this.state=_.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this.state=_.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingAttributeValue),this.state=_.DATA,this.emitCurrentTagToken();break}default:this.state=_.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=et;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case S.APOSTROPHE:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=et;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=et;break}case S.QUOTATION_MARK:case S.APOSTROPHE:case S.LESS_THAN_SIGN:case S.EQUALS_SIGN:case S.GRAVE_ACCENT:{this._err(q.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.SOLIDUS:{this._leaveAttrValue(),this.state=_.SELF_CLOSING_START_TAG;break}case S.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBetweenAttributes),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case S.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.unexpectedSolidusInTag),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.data+=et;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Lt.DASH_DASH,!0)?(this._createCommentToken(Lt.DASH_DASH.length+1),this.state=_.COMMENT_START):this._consumeSequenceIfMatch(Lt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Lt.DOCTYPE.length+1),this.state=_.DOCTYPE):this._consumeSequenceIfMatch(Lt.CDATA_START,!0)?this.inForeignNode?this.state=_.CDATA_SECTION:(this._err(q.cdataInHtmlContent),this._createCommentToken(Lt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=_.BOGUS_COMMENT):this._ensureHibernation()||(this._err(q.incorrectlyOpenedComment),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_START_DASH;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=_.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END_DASH;break}case S.LESS_THAN_SIGN:{r.data+="<",this.state=_.COMMENT_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.data+=et;break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case S.EXCLAMATION_MARK:{r.data+="!",this.state=_.COMMENT_LESS_THAN_SIGN_BANG;break}case S.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===S.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=_.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===S.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=_.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==S.GREATER_THAN_SIGN&&t!==S.EOF&&this._err(q.nestedComment),this.state=_.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(r);break}case S.EXCLAMATION_MARK:{this.state=_.COMMENT_END_BANG;break}case S.HYPHEN_MINUS:{r.data+="-";break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{r.data+="--!",this.state=_.COMMENT_END_DASH;break}case S.GREATER_THAN_SIGN:{this._err(q.incorrectlyClosedComment),this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=_.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case S.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBeforeDoctypeName),this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ma(t))this._createDoctypeToken(String.fromCharCode(Wi(t))),this.state=_.DOCTYPE_NAME;else switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.NULL:{this._err(q.unexpectedNullCharacter),this._createDoctypeToken(et),this.state=_.DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=_.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.AFTER_DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.name+=et;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Ma(t)?Wi(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Lt.PUBLIC,!1)?this.state=_.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Lt.SYSTEM,!1)?this.state=_.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(q.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=et;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case S.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=et;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.QUOTATION_MARK:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=et;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case S.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=et;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.NULL:{this._err(q.unexpectedNullCharacter);break}case S.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case S.RIGHT_SQUARE_BRACKET:{this.state=_.CDATA_SECTION_BRACKET;break}case S.EOF:{this._err(q.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===S.RIGHT_SQUARE_BRACKET?this.state=_.CDATA_SECTION_END:(this._emitChars("]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA;break}case S.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(S.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&kf(this.preprocessor.peek(1))?_.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){kf(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===S.SEMICOLON&&this._err(q.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const l2=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),If=new Set([...l2,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),Ss=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),Uv=new Set([...Ss,d.OL,d.UL]),jv=new Set([...Ss,d.BUTTON]),_f=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),Nf=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),$v=new Set([d.TR,d.TEMPLATE,d.HTML]),qv=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),Yv=new Set([d.TABLE,d.TEMPLATE,d.HTML]),Wv=new Set([d.TD,d.TH]);class Vv{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===re.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const a=this._indexOf(t)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==re.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(bu,re.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Wv,re.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Yv,re.HTML)}clearBackToTableBodyContext(){this.clearBackTo(qv,re.HTML)}clearBackToTableRowContext(){this.clearBackTo($v,re.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case re.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case re.SVG:{if(Nf.has(a))return!1;break}case re.MATHML:{if(_f.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Ss)}hasInListItemScope(t){return this.hasInDynamicScope(t,Uv)}hasInButtonScope(t){return this.hasInDynamicScope(t,jv)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case re.HTML:{if(bu.has(r))return!0;if(Ss.has(r))return!1;break}case re.SVG:{if(Nf.has(r))return!1;break}case re.MATHML:{if(_f.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===re.HTML)switch(this.tagIDs[r]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===re.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===re.HTML)switch(this.tagIDs[r]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&l2.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&If.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&If.has(this.currentTagId);)this.pop()}}const go=3;var fr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(fr||(fr={}));const Of={type:fr.Marker};class Gv{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const u=this.entries[o];if(u.type===fr.Marker)break;const{element:l}=u;if(this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===s){const c=this.treeAdapter.getAttrList(l);c.length===a&&n.push({idx:o,attrs:c})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<go)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<go)return;const a=new Map(r.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<n.length;s++){const o=n[s];o.attrs.every(u=>a.get(u.name)===u.value)&&(i+=1,i>=go&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Of)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:fr.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:fr.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(Of);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===fr.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===fr.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===fr.Element&&r.element===t)}}const Yr={createDocument(){return{nodeName:"#document",mode:Kt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};Yr.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(Yr.isTextNode(r)){r.value+=t;return}}Yr.appendChild(e,Yr.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&Yr.isTextNode(n)?n.value+=t:Yr.insertBefore(e,Yr.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation=se(se({},e.sourceCodeLocation),t)}},c2="html",Xv="about:legacy-compat",Kv="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",f2=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Qv=[...f2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Jv=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),d2=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Zv=[...d2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Rf(e,t){return t.some(r=>e.startsWith(r))}function ew(e){return e.name===c2&&e.publicId===null&&(e.systemId===null||e.systemId===Xv)}function tw(e){if(e.name!==c2)return Kt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Kv)return Kt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),Jv.has(r))return Kt.QUIRKS;let n=t===null?Qv:f2;if(Rf(r,n))return Kt.QUIRKS;if(n=t===null?d2:Zv,Rf(r,n))return Kt.LIMITED_QUIRKS}return Kt.NO_QUIRKS}const Df={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},rw="definitionurl",nw="definitionURL",aw=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),iw=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:re.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:re.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:re.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:re.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:re.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:re.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:re.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:re.XML}],["xml:space",{prefix:"xml",name:"space",namespace:re.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:re.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:re.XMLNS}]]),sw=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),ow=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function uw(e){const t=e.tagID;return t===d.FONT&&e.attrs.some(({name:n})=>n===An.COLOR||n===An.SIZE||n===An.FACE)||ow.has(t)}function h2(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===rw){e.attrs[t].name=nw;break}}function m2(e){for(let t=0;t<e.attrs.length;t++){const r=aw.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function Ml(e){for(let t=0;t<e.attrs.length;t++){const r=iw.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function lw(e){const t=sw.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=ga(e.tagName))}function cw(e,t){return t===re.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function fw(e,t,r){if(t===re.MATHML&&e===d.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===An.ENCODING){const a=r[n].value.toLowerCase();return a===Df.TEXT_HTML||a===Df.APPLICATION_XML}}return t===re.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function dw(e,t,r,n){return(!n||n===re.HTML)&&fw(e,t,r)||(!n||n===re.MATHML)&&cw(e,t)}const hw="hidden",mw=8,pw=3;var D;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(D||(D={}));const gw={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},p2=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),Lf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Yr,onParseError:null};class Mf{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=D.INITIAL,this.originalInsertionMode=D.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=se(se({},Lf),t),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r!=null?r:this.treeAdapter.createDocument(),this.tokenizer=new Hv(this.options,this),this.activeFormattingElements=new Gv(this.treeAdapter),this.fragmentContextID=n?ga(this.treeAdapter.getTagName(n)):d.UNKNOWN,this._setContextModes(n!=null?n:this.document,this.fragmentContextID),this.openElements=new Vv(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n=se(se({},Lf),r);t!=null||(t=n.treeAdapter.createElement(H.TEMPLATE,re.HTML,[]));const a=n.treeAdapter.createElement("documentmock",re.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===d.TEMPLATE&&i.tmplInsertionModeStack.unshift(D.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:gw,s={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===re.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,re.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=D.TEXT}switchToPlaintextParsing(){this.insertionMode=D.TEXT,this.originalInsertionMode=D.IN_BODY,this.tokenizer.state=ut.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===H.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==re.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=ut.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=ut.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=ut.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=ut.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&it(se({},r),{startTag:r});this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n!=null?n:this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,re.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,re.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(H.HTML,re.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,s=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:u,endCol:l,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:u,endCol:l,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===Le.END_TAG&&a===r.tagName?{endTag:se({},n),endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===d.SVG&&this.treeAdapter.getTagName(r)===H.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===re.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,re.HTML)}_processToken(t){switch(t.type){case Le.CHARACTER:{this.onCharacter(t);break}case Le.NULL_CHARACTER:{this.onNullCharacter(t);break}case Le.COMMENT:{this.onComment(t);break}case Le.DOCTYPE:{this.onDoctype(t);break}case Le.START_TAG:{this._processStartTag(t);break}case Le.END_TAG:{this.onEndTag(t);break}case Le.EOF:{this.onEof(t);break}case Le.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return dw(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===fr.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=D.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=D.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=D.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=D.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=D.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=D.IN_TABLE;return}case d.BODY:{this.insertionMode=D.IN_BODY;return}case d.FRAMESET:{this.insertionMode=D.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?D.AFTER_HEAD:D.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=D.IN_CELL;return}break}case d.HEAD:{if(t>0){this.insertionMode=D.IN_HEAD;return}break}}this.insertionMode=D.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===d.TEMPLATE)break;if(n===d.TABLE){this.insertionMode=D.IN_SELECT_IN_TABLE;return}}this.insertionMode=D.IN_SELECT}_isElementCausesFosterParenting(t){return p2.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===re.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case d.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return Pv[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){WA(this,t);return}switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{$a(this,t);break}case D.BEFORE_HEAD:{qa(this,t);break}case D.IN_HEAD:{Ya(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Wa(this,t);break}case D.AFTER_HEAD:{Va(this,t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:{b2(this,t);break}case D.TEXT:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{bo(this,t);break}case D.IN_TABLE_TEXT:{w2(this,t);break}case D.IN_COLUMN_GROUP:{ks(this,t);break}case D.AFTER_BODY:{Cs(this,t);break}case D.AFTER_AFTER_BODY:{cs(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){YA(this,t);return}switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{$a(this,t);break}case D.BEFORE_HEAD:{qa(this,t);break}case D.IN_HEAD:{Ya(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Wa(this,t);break}case D.AFTER_HEAD:{Va(this,t);break}case D.TEXT:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{bo(this,t);break}case D.IN_COLUMN_GROUP:{ks(this,t);break}case D.AFTER_BODY:{Cs(this,t);break}case D.AFTER_AFTER_BODY:{cs(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){yu(this,t);return}switch(this.insertionMode){case D.INITIAL:case D.BEFORE_HTML:case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_TEMPLATE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{yu(this,t);break}case D.IN_TABLE_TEXT:{_a(this,t);break}case D.AFTER_BODY:{ww(this,t);break}case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{Aw(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case D.INITIAL:{Sw(this,t);break}case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:{this._err(t,q.misplacedDoctype);break}case D.IN_TABLE_TEXT:{_a(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,q.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?VA(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{kw(this,t);break}case D.BEFORE_HEAD:{Iw(this,t);break}case D.IN_HEAD:{or(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Ow(this,t);break}case D.AFTER_HEAD:{Dw(this,t);break}case D.IN_BODY:{Ct(this,t);break}case D.IN_TABLE:{na(this,t);break}case D.IN_TABLE_TEXT:{_a(this,t);break}case D.IN_CAPTION:{_A(this,t);break}case D.IN_COLUMN_GROUP:{Bl(this,t);break}case D.IN_TABLE_BODY:{m0(this,t);break}case D.IN_ROW:{p0(this,t);break}case D.IN_CELL:{RA(this,t);break}case D.IN_SELECT:{k2(this,t);break}case D.IN_SELECT_IN_TABLE:{LA(this,t);break}case D.IN_TEMPLATE:{PA(this,t);break}case D.AFTER_BODY:{BA(this,t);break}case D.IN_FRAMESET:{zA(this,t);break}case D.AFTER_FRAMESET:{UA(this,t);break}case D.AFTER_AFTER_BODY:{$A(this,t);break}case D.AFTER_AFTER_FRAMESET:{qA(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?GA(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{Cw(this,t);break}case D.BEFORE_HEAD:{_w(this,t);break}case D.IN_HEAD:{Nw(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Rw(this,t);break}case D.AFTER_HEAD:{Lw(this,t);break}case D.IN_BODY:{h0(this,t);break}case D.TEXT:{xA(this,t);break}case D.IN_TABLE:{ai(this,t);break}case D.IN_TABLE_TEXT:{_a(this,t);break}case D.IN_CAPTION:{NA(this,t);break}case D.IN_COLUMN_GROUP:{OA(this,t);break}case D.IN_TABLE_BODY:{xu(this,t);break}case D.IN_ROW:{S2(this,t);break}case D.IN_CELL:{DA(this,t);break}case D.IN_SELECT:{C2(this,t);break}case D.IN_SELECT_IN_TABLE:{MA(this,t);break}case D.IN_TEMPLATE:{FA(this,t);break}case D.AFTER_BODY:{_2(this,t);break}case D.IN_FRAMESET:{HA(this,t);break}case D.AFTER_FRAMESET:{jA(this,t);break}case D.AFTER_AFTER_BODY:{cs(this,t);break}}}onEof(t){switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{$a(this,t);break}case D.BEFORE_HEAD:{qa(this,t);break}case D.IN_HEAD:{Ya(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Wa(this,t);break}case D.AFTER_HEAD:{Va(this,t);break}case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{T2(this,t);break}case D.TEXT:{EA(this,t);break}case D.IN_TABLE_TEXT:{_a(this,t);break}case D.IN_TEMPLATE:{I2(this,t);break}case D.AFTER_BODY:case D.IN_FRAMESET:case D.AFTER_FRAMESET:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{Fl(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===S.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.TEXT:case D.IN_COLUMN_GROUP:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{this._insertCharacters(t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:case D.AFTER_BODY:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{g2(this,t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{bo(this,t);break}case D.IN_TABLE_TEXT:{v2(this,t);break}}}}function bw(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):E2(e,t),r}function yw(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function xw(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,s=a;s!==r;i++,s=a){a=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),u=o&&i>=pw;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=Ew(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function Ew(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function Tw(e,t,r){const n=e.treeAdapter.getTagName(t),a=ga(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===d.TEMPLATE&&i===re.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function vw(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}function Pl(e,t){for(let r=0;r<mw;r++){const n=bw(e,t);if(!n)break;const a=yw(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=xw(e,a,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&Tw(e,s,i),vw(e,a,n)}}function yu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function ww(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Aw(e,t){e._appendCommentNode(t,e.document)}function Fl(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function Sw(e,t){e._setDocumentType(t);const r=t.forceQuirks?Kt.QUIRKS:tw(t);ew(t)||e._err(t,q.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=D.BEFORE_HTML}function Ia(e,t){e._err(t,q.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Kt.QUIRKS),e.insertionMode=D.BEFORE_HTML,e._processToken(t)}function kw(e,t){t.tagID===d.HTML?(e._insertElement(t,re.HTML),e.insertionMode=D.BEFORE_HEAD):$a(e,t)}function Cw(e,t){const r=t.tagID;(r===d.HTML||r===d.HEAD||r===d.BODY||r===d.BR)&&$a(e,t)}function $a(e,t){e._insertFakeRootElement(),e.insertionMode=D.BEFORE_HEAD,e._processToken(t)}function Iw(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.HEAD:{e._insertElement(t,re.HTML),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD;break}default:qa(e,t)}}function _w(e,t){const r=t.tagID;r===d.HEAD||r===d.BODY||r===d.HTML||r===d.BR?qa(e,t):e._err(t,q.endTagWithoutMatchingOpenElement)}function qa(e,t){e._insertFakeElement(H.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD,e._processToken(t)}function or(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,ut.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ut.RAWTEXT):(e._insertElement(t,re.HTML),e.insertionMode=D.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,ut.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,ut.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=D.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(D.IN_TEMPLATE);break}case d.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Ya(e,t)}}function Nw(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=D.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{Ya(e,t);break}case d.TEMPLATE:{Ln(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Ln(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,q.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,q.endTagWithoutMatchingOpenElement)}function Ya(e,t){e.openElements.pop(),e.insertionMode=D.AFTER_HEAD,e._processToken(t)}function Ow(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{or(e,t);break}case d.NOSCRIPT:{e._err(t,q.nestedNoscriptInHead);break}default:Wa(e,t)}}function Rw(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=D.IN_HEAD;break}case d.BR:{Wa(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Wa(e,t){const r=t.type===Le.EOF?q.openElementsLeftAfterEof:q.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=D.IN_HEAD,e._processToken(t)}function Dw(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.BODY:{e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=D.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,re.HTML),e.insertionMode=D.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,q.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),or(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Va(e,t)}}function Lw(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{Va(e,t);break}case d.TEMPLATE:{Ln(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Va(e,t){e._insertFakeElement(H.BODY,d.BODY),e.insertionMode=D.IN_BODY,d0(e,t)}function d0(e,t){switch(t.type){case Le.CHARACTER:{b2(e,t);break}case Le.WHITESPACE_CHARACTER:{g2(e,t);break}case Le.COMMENT:{yu(e,t);break}case Le.START_TAG:{Ct(e,t);break}case Le.END_TAG:{h0(e,t);break}case Le.EOF:{T2(e,t);break}}}function g2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function b2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Mw(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Pw(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function Fw(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_FRAMESET)}function Bw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML)}function zw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&bu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,re.HTML)}function Hw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Uw(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML),r||(e.formElement=e.openElements.current))}function jw(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const a=e.openElements.tagIDs[n];if(r===d.LI&&a===d.LI||(r===d.DD||r===d.DT)&&(a===d.DD||a===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==d.ADDRESS&&a!==d.DIV&&a!==d.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML)}function $w(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.tokenizer.state=ut.PLAINTEXT}function qw(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.framesetOk=!1}function Yw(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(H.A);r&&(Pl(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ww(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Vw(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Pl(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Gw(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Xw(e,t){e.treeAdapter.getDocumentMode(e.document)!==Kt.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=D.IN_TABLE}function y2(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,re.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function x2(e){const t=o2(e,An.TYPE);return t!=null&&t.toLowerCase()===hw}function Kw(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,re.HTML),x2(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Qw(e,t){e._appendElement(t,re.HTML),t.ackSelfClosing=!0}function Jw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,re.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Zw(e,t){t.tagName=H.IMG,t.tagID=d.IMG,y2(e,t)}function eA(e,t){e._insertElement(t,re.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ut.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=D.TEXT}function tA(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ut.RAWTEXT)}function rA(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ut.RAWTEXT)}function Pf(e,t){e._switchToTextParsing(t,ut.RAWTEXT)}function nA(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===D.IN_TABLE||e.insertionMode===D.IN_CAPTION||e.insertionMode===D.IN_TABLE_BODY||e.insertionMode===D.IN_ROW||e.insertionMode===D.IN_CELL?D.IN_SELECT_IN_TABLE:D.IN_SELECT}function aA(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML)}function iA(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,re.HTML)}function sA(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,re.HTML)}function oA(e,t){e._reconstructActiveFormattingElements(),h2(t),Ml(t),t.selfClosing?e._appendElement(t,re.MATHML):e._insertElement(t,re.MATHML),t.ackSelfClosing=!0}function uA(e,t){e._reconstructActiveFormattingElements(),m2(t),Ml(t),t.selfClosing?e._appendElement(t,re.SVG):e._insertElement(t,re.SVG),t.ackSelfClosing=!0}function Ff(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML)}function Ct(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{Ww(e,t);break}case d.A:{Yw(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{zw(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{Bw(e,t);break}case d.LI:case d.DD:case d.DT:{jw(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{y2(e,t);break}case d.HR:{Jw(e,t);break}case d.RB:case d.RTC:{iA(e,t);break}case d.RT:case d.RP:{sA(e,t);break}case d.PRE:case d.LISTING:{Hw(e,t);break}case d.XMP:{tA(e,t);break}case d.SVG:{uA(e,t);break}case d.HTML:{Mw(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{or(e,t);break}case d.BODY:{Pw(e,t);break}case d.FORM:{Uw(e,t);break}case d.NOBR:{Vw(e,t);break}case d.MATH:{oA(e,t);break}case d.TABLE:{Xw(e,t);break}case d.INPUT:{Kw(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{Qw(e,t);break}case d.IMAGE:{Zw(e,t);break}case d.BUTTON:{qw(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{Gw(e,t);break}case d.IFRAME:{rA(e,t);break}case d.SELECT:{nA(e,t);break}case d.OPTION:case d.OPTGROUP:{aA(e,t);break}case d.NOEMBED:case d.NOFRAMES:{Pf(e,t);break}case d.FRAMESET:{Fw(e,t);break}case d.TEXTAREA:{eA(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?Pf(e,t):Ff(e,t);break}case d.PLAINTEXT:{$w(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:Ff(e,t)}}function lA(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=D.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function cA(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=D.AFTER_BODY,_2(e,t))}function fA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function dA(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):r&&e.openElements.remove(r))}function hA(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(H.P,d.P),e._closePElement()}function mA(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function pA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function gA(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function bA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function yA(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(H.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function E2(e,t){const r=t.tagName,n=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],s=e.openElements.tagIDs[a];if(n===s&&(n!==d.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,s))break}}function h0(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{Pl(e,t);break}case d.P:{hA(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{fA(e,t);break}case d.LI:{mA(e);break}case d.DD:case d.DT:{pA(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{gA(e);break}case d.BR:{yA(e);break}case d.BODY:{lA(e,t);break}case d.HTML:{cA(e,t);break}case d.FORM:{dA(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{bA(e,t);break}case d.TEMPLATE:{Ln(e,t);break}default:E2(e,t)}}function T2(e,t){e.tmplInsertionModeStack.length>0?I2(e,t):Fl(e,t)}function xA(e,t){var r;t.tagID===d.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function EA(e,t){e._err(t,q.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function bo(e,t){if(e.openElements.currentTagId!==void 0&&p2.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=D.IN_TABLE_TEXT,t.type){case Le.CHARACTER:{w2(e,t);break}case Le.WHITESPACE_CHARACTER:{v2(e,t);break}}else Ti(e,t)}function TA(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_CAPTION}function vA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_COLUMN_GROUP}function wA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H.COLGROUP,d.COLGROUP),e.insertionMode=D.IN_COLUMN_GROUP,Bl(e,t)}function AA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_TABLE_BODY}function SA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H.TBODY,d.TBODY),e.insertionMode=D.IN_TABLE_BODY,m0(e,t)}function kA(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function CA(e,t){x2(t)?e._appendElement(t,re.HTML):Ti(e,t),t.ackSelfClosing=!0}function IA(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,re.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function na(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{SA(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{or(e,t);break}case d.COL:{wA(e,t);break}case d.FORM:{IA(e,t);break}case d.TABLE:{kA(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{AA(e,t);break}case d.INPUT:{CA(e,t);break}case d.CAPTION:{TA(e,t);break}case d.COLGROUP:{vA(e,t);break}default:Ti(e,t)}}function ai(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Ln(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Ti(e,t)}}function Ti(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,d0(e,t),e.fosterParentingEnabled=r}function v2(e,t){e.pendingCharacterTokens.push(t)}function w2(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function _a(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)Ti(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const A2=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function _A(e,t){const r=t.tagID;A2.has(r)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,na(e,t)):Ct(e,t)}function NA(e,t){const r=t.tagID;switch(r){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,r===d.TABLE&&ai(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:h0(e,t)}}function Bl(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.COL:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{or(e,t);break}default:ks(e,t)}}function OA(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case d.TEMPLATE:{Ln(e,t);break}case d.COL:break;default:ks(e,t)}}function ks(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE,e._processToken(t))}function m0(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(H.TR,d.TR),e.insertionMode=D.IN_ROW,p0(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,na(e,t));break}default:na(e,t)}}function xu(e,t){const r=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,ai(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:ai(e,t)}}function p0(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,m0(e,t));break}default:na(e,t)}}function S2(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,xu(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,xu(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:ai(e,t)}}function RA(e,t){const r=t.tagID;A2.has(r)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),p0(e,t)):Ct(e,t)}function DA(e,t){const r=t.tagID;switch(r){case d.TD:case d.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),S2(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:h0(e,t)}}function k2(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,re.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,re.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{or(e,t);break}}}function C2(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Ln(e,t);break}}}function LA(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):k2(e,t)}function MA(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):C2(e,t)}function PA(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{or(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=D.IN_TABLE,e.insertionMode=D.IN_TABLE,na(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=D.IN_COLUMN_GROUP,e.insertionMode=D.IN_COLUMN_GROUP,Bl(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=D.IN_TABLE_BODY,e.insertionMode=D.IN_TABLE_BODY,m0(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=D.IN_ROW,e.insertionMode=D.IN_ROW,p0(e,t);break}default:e.tmplInsertionModeStack[0]=D.IN_BODY,e.insertionMode=D.IN_BODY,Ct(e,t)}}function FA(e,t){t.tagID===d.TEMPLATE&&Ln(e,t)}function I2(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Fl(e,t)}function BA(e,t){t.tagID===d.HTML?Ct(e,t):Cs(e,t)}function _2(e,t){var r;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=D.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else Cs(e,t)}function Cs(e,t){e.insertionMode=D.IN_BODY,d0(e,t)}function zA(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.FRAMESET:{e._insertElement(t,re.HTML);break}case d.FRAME:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{or(e,t);break}}}function HA(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=D.AFTER_FRAMESET))}function UA(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.NOFRAMES:{or(e,t);break}}}function jA(e,t){t.tagID===d.HTML&&(e.insertionMode=D.AFTER_AFTER_FRAMESET)}function $A(e,t){t.tagID===d.HTML?Ct(e,t):cs(e,t)}function cs(e,t){e.insertionMode=D.IN_BODY,d0(e,t)}function qA(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.NOFRAMES:{or(e,t);break}}}function YA(e,t){t.chars=et,e._insertCharacters(t)}function WA(e,t){e._insertCharacters(t),e.framesetOk=!1}function N2(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==re.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function VA(e,t){if(uw(t))N2(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===re.MATHML?h2(t):n===re.SVG&&(lw(t),m2(t)),Ml(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function GA(e,t){if(t.tagID===d.P||t.tagID===d.BR){N2(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===re.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}H.AREA,H.BASE,H.BASEFONT,H.BGSOUND,H.BR,H.COL,H.EMBED,H.FRAME,H.HR,H.IMG,H.INPUT,H.KEYGEN,H.LINK,H.META,H.PARAM,H.SOURCE,H.TRACK,H.WBR;const XA=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,KA=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Bf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function O2(e,t){const r=sS(e),n=Sp("type",{handlers:{root:QA,element:JA,text:ZA,comment:D2,doctype:eS,raw:rS},unknown:nS}),a={parser:r?new Mf(Bf):Mf.getFragmentParser(void 0,Bf),handle(o){n(o,a)},stitches:!1,options:t||{}};n(e,a),ba(a,br());const i=r?a.parser.document:a.parser.getFragment(),s=ov(i,{file:a.options.file});return a.stitches&&Zs(s,"comment",function(o,u,l){const c=o;if(c.value.stitch&&l&&u!==void 0){const f=l.children;return f[u]=c.value.stitch,u}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function R2(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function QA(e,t){R2(e.children,t)}function JA(e,t){aS(e,t),R2(e.children,t),iS(e,t)}function ZA(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Le.CHARACTER,chars:e.value,location:vi(e)};ba(t,br(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function eS(e,t){const r={type:Le.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:vi(e)};ba(t,br(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tS(e,t){t.stitches=!0;const r=oS(e);if("children"in e&&"children"in r){const n=O2({type:"root",children:e.children},t.options);r.children=n.children}D2({type:"comment",value:{stitch:r}},t)}function D2(e,t){const r=e.value,n={type:Le.COMMENT,data:r,location:vi(e)};ba(t,br(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function rS(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,L2(t,br(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(XA,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function nS(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))tS(r,t);else{let n="";throw KA.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function ba(e,t){L2(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ut.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function L2(e,t){if(t&&t.offset!==void 0){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function aS(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ut.PLAINTEXT)return;ba(t,br(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:mr.html;a===mr.html&&r==="svg"&&(a=mr.svg);const i=dv(it(se({},e),{children:[]}),{space:a===mr.svg?"svg":"html"}),s={type:Le.START_TAG,tagName:r,tagID:ga(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:vi(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function iS(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Ev.includes(r)||t.parser.tokenizer.state===ut.PLAINTEXT)return;ba(t,Gs(e));const n={type:Le.END_TAG,tagName:r,tagID:ga(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:vi(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ut.RCDATA||t.parser.tokenizer.state===ut.RAWTEXT||t.parser.tokenizer.state===ut.SCRIPT_DATA)&&(t.parser.tokenizer.state=ut.DATA)}function sS(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function vi(e){const t=br(e)||{line:void 0,column:void 0,offset:void 0},r=Gs(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function oS(e){return"children"in e?Zn(it(se({},e),{children:[]})):Zn(e)}function uS(e){return function(t,r){return O2(t,it(se({},e),{file:r}))}}function lS(e){Ep(e,[/\r?\n|\r/g,cS])}function cS(){return{type:"break"}}function fS(){return function(e){lS(e)}}const dS=ee.div`
|
|
302
|
+
`:jT(e)?(o=2,u=2):Kp(e)&&(o=1,u=1);++i<a.length;)s=s.concat(Qp(a[i],e,{whitespace:n,breakBefore:i?void 0:o,breakAfter:i<a.length-1?pu(a[i+1]):u}));return vf(e)&&xf(t,e,vf)&&s.push(" "),o&&s.unshift(o),u&&s.push(u),s}function Jp(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){Ef.lastIndex=i;const u=Ef.exec(r),l=u&&"index"in u?u.index:r.length;n.push(VT(r.slice(i,l).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,l===r.length?t.breakAfter:!0)),i=l+1}let s=-1,o;for(;++s<n.length;)n[s].charCodeAt(n[s].length-1)===8203||s<n.length-1&&n[s+1].charCodeAt(0)===8203?(a.push(n[s]),o=void 0):n[s]?(typeof o=="number"&&a.push(o),a.push(n[s]),o=0):(s===0||s===n.length-1)&&a.push(0);return a}function WT(e){return[String(e.value)]}function VT(e,t,r){const n=[];let a=0,i;for(;a<e.length;){Tf.lastIndex=a;const s=Tf.exec(e);i=s?s.index:e.length,!a&&!i&&s&&!t&&n.push(""),a!==i&&n.push(e.slice(a,i)),a=s?i+s[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function Zp(e,t){if(e.type==="element"){const r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}function GT(e){return!!(e.properties||{}).hidden}function XT(e){return e.tagName==="td"||e.tagName==="th"}function KT(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const QT={},JT=[];function ZT(e){const t=e||QT;return function(r,n){fl(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:JT,o=s.includes("language-math"),u=s.includes("math-display"),l=s.includes("math-inline");let c=u;if(!o&&!u&&!l)return;let f=i[i.length-1],p=a;if(a.tagName==="code"&&o&&f&&f.type==="element"&&f.tagName==="pre"&&(p=f,f=i[i.length-2],c=!0),!f)return;const h=qT(p,{whitespace:"pre"});let b;try{b=of.renderToString(h,it(ae({},t),{displayMode:c,throwOnError:!0}))}catch(E){const T=E,A=T.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:T,place:a.position,ruleId:A,source:"rehype-katex"});try{b=of.renderToString(h,it(ae({},t),{displayMode:c,strict:"ignore",throwOnError:!1}))}catch(k){b=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(E)},children:[{type:"text",value:h}]}]}}typeof b=="string"&&(b=PT(b).children);const y=f.children.indexOf(p);return f.children.splice(y,1,...b),ym})}}const us="https://unpkg.com/prismjs@1.29.0",ev="https://unpkg.com/prism-themes@1.9.0/themes/prism-coldark-cold.min.css",qi=new Set(["javascript","css","markup","clike"]);let Yi=null;function e2(){return Pe(this,null,function*(){return typeof window!="undefined"&&window.Prism?window.Prism:Yi||(Yi=new Promise((e,t)=>{const r=document.createElement("link");r.rel="stylesheet",r.href=ev,document.head.appendChild(r);const n=document.createElement("script");n.src=`${us}/prism.js`,n.onload=()=>{const a=document.createElement("script");a.src=`${us}/plugins/autoloader/prism-autoloader.min.js`,a.onload=()=>{const i=window.Prism;i&&i.plugins&&i.plugins.autoloader&&(i.plugins.autoloader.languages_path=`${us}/components/`),e(i)},a.onerror=t,document.head.appendChild(a)},n.onerror=t,document.head.appendChild(n)}),Yi)})}function tv(e){return Pe(this,null,function*(){const t=yield e2();if(qi.has(e)||t.languages[e]){qi.add(e);return}const n={js:"javascript",ts:"typescript",py:"python",rb:"ruby",sh:"bash",shell:"bash",yml:"yaml",md:"markdown",html:"markup",xml:"markup",svg:"markup"}[e]||e;if(t.plugins&&t.plugins.autoloader){qi.add(e);return}return new Promise((a,i)=>{const s=document.createElement("script");s.src=`${us}/components/prism-${n}.min.js`,s.onload=()=>{qi.add(e),a()},s.onerror=()=>{console.warn(`Failed to load Prism language: ${n}`),a()},document.head.appendChild(s)})})}const rv=()=>w.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:w.jsx("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM19 5H8C6.9 5 6 5.9 6 7V21C6 22.1 6.9 23 8 23H19C20.1 23 21 22.1 21 21V7C21 5.9 20.1 5 19 5ZM19 21H8V7H19V21Z"})}),nv=()=>w.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:w.jsx("path",{d:"M9 16.17L4.83 12L3.41 13.41L9 19L21 7L19.59 5.59L9 16.17Z"})}),av=({language:e="javascript",children:t,style:r})=>{const[n,a]=G.useState(!1),[i,s]=G.useState(""),[o,u]=G.useState(!0),l=G.useRef(null),c=typeof t=="string"?t:Array.isArray(t)?t.join(""):String(t||"");G.useEffect(()=>{let y=!0;return Pe(exports,null,function*(){try{u(!0);const T=yield e2();if(yield tv(e),!y)return;const A=T.languages[e]||T.languages.javascript,k=T.highlight(c.replace(/\n$/,""),A,e);s(k),u(!1)}catch(T){console.error("Failed to highlight code:",T),y&&(s(f(c)),u(!1))}}),()=>{y=!1}},[c,e]);const f=y=>{const E=document.createElement("div");return E.textContent=y,E.innerHTML},p=()=>Pe(exports,null,function*(){try{yield navigator.clipboard.writeText(c),a(!0),setTimeout(()=>a(!1),2e3)}catch(y){console.error("Failed to copy:",y)}}),h=c.split(`
|
|
303
|
+
`),b=h[h.length-1]===""?h.length-1:h.length;return w.jsxs("div",{style:ae({position:"relative"},r),children:[w.jsxs("pre",{style:{margin:0,padding:"1em",paddingLeft:"3.8em",overflow:"auto",background:"#e3eaf2",borderRadius:"4px",fontSize:"13px",lineHeight:"1.5",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace'},children:[w.jsx("span",{style:{position:"absolute",left:0,top:"1em",width:"3em",borderRight:"1px solid #8da1b9",textAlign:"right",paddingRight:"0.8em",userSelect:"none",color:"#8da1b9",fontSize:"13px",lineHeight:"1.5"},children:Array.from({length:b},(y,E)=>w.jsx("span",{style:{display:"block"},children:E+1},E))}),w.jsx("code",{ref:l,className:`language-${e}`,style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},dangerouslySetInnerHTML:o?{__html:f(c)}:{__html:i}})]}),w.jsxs("button",{onClick:p,style:{position:"absolute",right:"8px",top:"8px",padding:"4px 8px",background:"rgba(255,255,255,0.8)",border:"1px solid #ccc",borderRadius:"4px",cursor:"pointer",opacity:.7,transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",color:"#333"},onMouseEnter:y=>{y.currentTarget.style.opacity="1",y.currentTarget.style.background="rgba(255,255,255,1)"},onMouseLeave:y=>{y.currentTarget.style.opacity="0.7",y.currentTarget.style.background="rgba(255,255,255,0.8)"},title:n?"Copied!":"Copy code",children:[n?w.jsx(nv,{}):w.jsx(rv,{}),w.jsx("span",{style:{marginLeft:"4px"},children:n?"Copied":"Copy"})]})]})};function iv(e){const t=String(e),r=[];return{toOffset:a,toPoint:n};function n(i){if(typeof i=="number"&&i>-1&&i<=t.length){let s=0;for(;;){let o=r[s];if(o===void 0){const u=Af(t,r[s-1]);o=u===-1?t.length+1:u+1,r[s]=o}if(o>i)return{line:s+1,column:i-(s>0?r[s-1]:0)+1,offset:i};s++}}}function a(i){if(i&&typeof i.line=="number"&&typeof i.column=="number"&&!Number.isNaN(i.line)&&!Number.isNaN(i.column)){for(;r.length<i.line;){const o=r[r.length-1],u=Af(t,o),l=u===-1?t.length+1:u+1;if(o===l)break;r.push(l)}const s=(i.line>1?r[i.line-2]:0)+i.column-1;if(s<r[i.line-1])return s}}}function Af(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
|
|
304
|
+
`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const t2={}.hasOwnProperty,sv=Object.prototype;function ov(e,t){const r=t||{};return Dl({file:r.file||void 0,location:!1,schema:r.space==="svg"?nn:pi,verbose:r.verbose||!1},e)}function Dl(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},ls(e,n,r),r}case"#document":case"#document-fragment":{const n=t,a="mode"in n?n.mode==="quirks"||n.mode==="limited-quirks":!1;if(r={type:"root",children:r2(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=iv(i),o=s.toPoint(0),u=s.toPoint(i.length);r.position={start:o,end:u}}return r}case"#documentType":{const n=t;return r={type:"doctype"},ls(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},ls(e,n,r),r}default:return r=uv(e,t),r}}function r2(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=Dl(e,t[r]);n.push(a)}return n}function uv(e,t){const r=e.schema;e.schema=t.namespaceURI===mr.svg?nn:pi;let n=-1;const a={};for(;++n<t.attrs.length;){const o=t.attrs[n],u=(o.prefix?o.prefix+":":"")+o.name;t2.call(sv,u)||(a[u]=o.value)}const s=(e.schema.space==="svg"?Vp:Wp)(t.tagName,a,r2(e,t.childNodes));if(ls(e,t,s),s.tagName==="template"){const o=t,u=o.sourceCodeLocation,l=u&&u.startTag&&$n(u.startTag),c=u&&u.endTag&&$n(u.endTag),f=Dl(e,o.content);l&&c&&e.file&&(f.position={start:l.end,end:c.start}),s.content=f}return e.schema=r,s}function ls(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=lv(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function lv(e,t,r){const n=$n(r);if(t.type==="element"){const a=t.children[t.children.length-1];if(n&&!r.endTag&&a&&a.position&&a.position.end&&(n.end=Object.assign({},a.position.end)),e.verbose){const i={};let s;if(r.attrs)for(s in r.attrs)t2.call(r.attrs,s)&&(i[Ys(e.schema,s).property]=$n(r.attrs[s]));r.startTag;const o=$n(r.startTag),u=r.endTag?$n(r.endTag):void 0,l={opening:o};u&&(l.closing=u),l.properties=i,t.data={position:l}}}return n}function $n(e){const t=Sf({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Sf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Sf(e){return e.line&&e.column?e:void 0}const cv={},fv={}.hasOwnProperty,n2=Sp("type",{handlers:{root:hv,element:yv,text:gv,comment:bv,doctype:pv}});function dv(e,t){const n=(t||cv).space;return n2(e,n==="svg"?nn:pi)}function hv(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=Ll(e.children,r,t),pa(e,r),r}function mv(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=Ll(e.children,r,t),pa(e,r),r}function pv(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return pa(e,t),t}function gv(e){const t={nodeName:"#text",value:e.value,parentNode:null};return pa(e,t),t}function bv(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return pa(e,t),t}function yv(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=nn);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&fv.call(e.properties,i)){const u=xv(n,i,e.properties[i]);u&&a.push(u)}}const s=n.space,o={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:mr[s],childNodes:[],parentNode:null};return o.childNodes=Ll(e.children,o,n),pa(e,o),e.tagName==="template"&&e.content&&(o.content=mv(e.content,n)),o}function xv(e,t,r){const n=Ys(e,t);if(r===!1||r===null||r===void 0||typeof r=="number"&&Number.isNaN(r)||!r&&n.boolean)return;Array.isArray(r)&&(r=n.commaSeparated?Bh(r):Wh(r));const a={name:n.attribute,value:r===!0?"":String(r)};if(n.space&&n.space!=="html"&&n.space!=="svg"){const i=a.name.indexOf(":");i<0?a.prefix="":(a.name=a.name.slice(i+1),a.prefix=n.attribute.slice(0,i)),a.namespace=mr[n.space]}return a}function Ll(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=n2(e[n],r);i.parentNode=t,a.push(i)}return a}function pa(e,t){const r=e.position;r&&r.start&&r.end&&(r.start.offset,r.end.offset,t.sourceCodeLocation={startLine:r.start.line,startCol:r.start.column,startOffset:r.start.offset,endLine:r.end.line,endCol:r.end.column,endOffset:r.end.offset})}const Ev=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],Tv=new Set([65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111]),et="�";var S;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(S||(S={}));const Lt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function a2(e){return e>=55296&&e<=57343}function vv(e){return e>=56320&&e<=57343}function wv(e,t){return(e-55296)*1024+9216+t}function i2(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function s2(e){return e>=64976&&e<=65007||Tv.has(e)}var q;(function(e){e.controlCharacterInInputStream="control-character-in-input-stream",e.noncharacterInInputStream="noncharacter-in-input-stream",e.surrogateInInputStream="surrogate-in-input-stream",e.nonVoidHtmlElementStartTagWithTrailingSolidus="non-void-html-element-start-tag-with-trailing-solidus",e.endTagWithAttributes="end-tag-with-attributes",e.endTagWithTrailingSolidus="end-tag-with-trailing-solidus",e.unexpectedSolidusInTag="unexpected-solidus-in-tag",e.unexpectedNullCharacter="unexpected-null-character",e.unexpectedQuestionMarkInsteadOfTagName="unexpected-question-mark-instead-of-tag-name",e.invalidFirstCharacterOfTagName="invalid-first-character-of-tag-name",e.unexpectedEqualsSignBeforeAttributeName="unexpected-equals-sign-before-attribute-name",e.missingEndTagName="missing-end-tag-name",e.unexpectedCharacterInAttributeName="unexpected-character-in-attribute-name",e.unknownNamedCharacterReference="unknown-named-character-reference",e.missingSemicolonAfterCharacterReference="missing-semicolon-after-character-reference",e.unexpectedCharacterAfterDoctypeSystemIdentifier="unexpected-character-after-doctype-system-identifier",e.unexpectedCharacterInUnquotedAttributeValue="unexpected-character-in-unquoted-attribute-value",e.eofBeforeTagName="eof-before-tag-name",e.eofInTag="eof-in-tag",e.missingAttributeValue="missing-attribute-value",e.missingWhitespaceBetweenAttributes="missing-whitespace-between-attributes",e.missingWhitespaceAfterDoctypePublicKeyword="missing-whitespace-after-doctype-public-keyword",e.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers="missing-whitespace-between-doctype-public-and-system-identifiers",e.missingWhitespaceAfterDoctypeSystemKeyword="missing-whitespace-after-doctype-system-keyword",e.missingQuoteBeforeDoctypePublicIdentifier="missing-quote-before-doctype-public-identifier",e.missingQuoteBeforeDoctypeSystemIdentifier="missing-quote-before-doctype-system-identifier",e.missingDoctypePublicIdentifier="missing-doctype-public-identifier",e.missingDoctypeSystemIdentifier="missing-doctype-system-identifier",e.abruptDoctypePublicIdentifier="abrupt-doctype-public-identifier",e.abruptDoctypeSystemIdentifier="abrupt-doctype-system-identifier",e.cdataInHtmlContent="cdata-in-html-content",e.incorrectlyOpenedComment="incorrectly-opened-comment",e.eofInScriptHtmlCommentLikeText="eof-in-script-html-comment-like-text",e.eofInDoctype="eof-in-doctype",e.nestedComment="nested-comment",e.abruptClosingOfEmptyComment="abrupt-closing-of-empty-comment",e.eofInComment="eof-in-comment",e.incorrectlyClosedComment="incorrectly-closed-comment",e.eofInCdata="eof-in-cdata",e.absenceOfDigitsInNumericCharacterReference="absence-of-digits-in-numeric-character-reference",e.nullCharacterReference="null-character-reference",e.surrogateCharacterReference="surrogate-character-reference",e.characterReferenceOutsideUnicodeRange="character-reference-outside-unicode-range",e.controlCharacterReference="control-character-reference",e.noncharacterCharacterReference="noncharacter-character-reference",e.missingWhitespaceBeforeDoctypeName="missing-whitespace-before-doctype-name",e.missingDoctypeName="missing-doctype-name",e.invalidCharacterSequenceAfterDoctypeName="invalid-character-sequence-after-doctype-name",e.duplicateAttribute="duplicate-attribute",e.nonConformingDoctype="non-conforming-doctype",e.missingDoctype="missing-doctype",e.misplacedDoctype="misplaced-doctype",e.endTagWithoutMatchingOpenElement="end-tag-without-matching-open-element",e.closingOfElementWithOpenChildElements="closing-of-element-with-open-child-elements",e.disallowedContentInNoscriptInHead="disallowed-content-in-noscript-in-head",e.openElementsLeftAfterEof="open-elements-left-after-eof",e.abandonedHeadElementChild="abandoned-head-element-child",e.misplacedStartTagForHeadElement="misplaced-start-tag-for-head-element",e.nestedNoscriptInHead="nested-noscript-in-head",e.eofInElementThatCanContainOnlyText="eof-in-element-that-can-contain-only-text"})(q||(q={}));const Av=65536;class Sv{constructor(t){this.handler=t,this.html="",this.pos=-1,this.lastGapPos=-2,this.gapStack=[],this.skipNextNewLine=!1,this.lastChunkWritten=!1,this.endOfChunkHit=!1,this.bufferWaterline=Av,this.isEol=!1,this.lineStartPos=0,this.droppedBufferSize=0,this.line=1,this.lastErrOffset=-1}get col(){return this.pos-this.lineStartPos+ +(this.lastGapPos!==this.pos)}get offset(){return this.droppedBufferSize+this.pos}getError(t,r){const{line:n,col:a,offset:i}=this,s=a+r,o=i+r;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:o,endOffset:o}}_err(t){this.handler.onParseError&&this.lastErrOffset!==this.offset&&(this.lastErrOffset=this.offset,this.handler.onParseError(this.getError(t,0)))}_addGap(){this.gapStack.push(this.lastGapPos),this.lastGapPos=this.pos}_processSurrogate(t){if(this.pos!==this.html.length-1){const r=this.html.charCodeAt(this.pos+1);if(vv(r))return this.pos++,this._addGap(),wv(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,S.EOF;return this._err(q.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,S.EOF;const n=this.html.charCodeAt(r);return n===S.CARRIAGE_RETURN?S.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,S.EOF;let t=this.html.charCodeAt(this.pos);return t===S.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,S.LINE_FEED):t===S.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,a2(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===S.LINE_FEED||t===S.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){i2(t)?this._err(q.controlCharacterInInputStream):s2(t)&&this._err(q.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Le;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Le||(Le={}));function o2(e,t){for(let r=e.attrs.length-1;r>=0;r--)if(e.attrs[r].name===t)return e.attrs[r].value;return null}const kv=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),Cv=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function Iv(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=Cv.get(e))!==null&&t!==void 0?t:e}var Et;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(Et||(Et={}));const _v=32;var Xr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(Xr||(Xr={}));function gu(e){return e>=Et.ZERO&&e<=Et.NINE}function Nv(e){return e>=Et.UPPER_A&&e<=Et.UPPER_F||e>=Et.LOWER_A&&e<=Et.LOWER_F}function Ov(e){return e>=Et.UPPER_A&&e<=Et.UPPER_Z||e>=Et.LOWER_A&&e<=Et.LOWER_Z||gu(e)}function Rv(e){return e===Et.EQUALS||Ov(e)}var xt;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(xt||(xt={}));var Cr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Cr||(Cr={}));class Dv{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=xt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Cr.Strict}startEntity(t){this.decodeMode=t,this.state=xt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case xt.EntityStart:return t.charCodeAt(r)===Et.NUM?(this.state=xt.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=xt.NamedEntity,this.stateNamedEntity(t,r));case xt.NumericStart:return this.stateNumericStart(t,r);case xt.NumericDecimal:return this.stateNumericDecimal(t,r);case xt.NumericHex:return this.stateNumericHex(t,r);case xt.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|_v)===Et.LOWER_X?(this.state=xt.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=xt.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(gu(a)||Nv(a))r+=1;else return this.addToNumericResult(t,n,r,16),this.emitNumericEntity(a,3)}return this.addToNumericResult(t,n,r,16),-1}stateNumericDecimal(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(gu(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===Et.SEMI)this.consumed+=1;else if(this.decodeMode===Cr.Strict)return 0;return this.emitCodePoint(Iv(this.result),this.consumed),this.errors&&(t!==Et.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&Xr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=Lv(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===Cr.Attribute&&(i===0||Rv(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&Xr.VALUE_LENGTH)>>14,i!==0){if(s===Et.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Cr.Strict&&(this.result=this.treeIndex,this.consumed+=this.excess,this.excess=0)}}return-1}emitNotTerminatedNamedEntity(){var t;const{result:r,decodeTree:n}=this,a=(n[r]&Xr.VALUE_LENGTH)>>14;return this.emitNamedEntityData(r,a,this.consumed),(t=this.errors)===null||t===void 0||t.missingSemicolonAfterCharacterReference(),this.consumed}emitNamedEntityData(t,r,n){const{decodeTree:a}=this;return this.emitCodePoint(r===1?a[t]&~Xr.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case xt.NamedEntity:return this.result!==0&&(this.decodeMode!==Cr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case xt.NumericDecimal:return this.emitNumericEntity(0,2);case xt.NumericHex:return this.emitNumericEntity(0,3);case xt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case xt.EntityStart:return 0}}}function Lv(e,t,r,n){const a=(t&Xr.BRANCH_LENGTH)>>7,i=t&Xr.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const u=n-i;return u<0||u>=a?-1:e[r+u]-1}let s=r,o=s+a-1;for(;s<=o;){const u=s+o>>>1,l=e[u];if(l<n)s=u+1;else if(l>n)o=u-1;else return e[u+a]}return-1}var re;(function(e){e.HTML="http://www.w3.org/1999/xhtml",e.MATHML="http://www.w3.org/1998/Math/MathML",e.SVG="http://www.w3.org/2000/svg",e.XLINK="http://www.w3.org/1999/xlink",e.XML="http://www.w3.org/XML/1998/namespace",e.XMLNS="http://www.w3.org/2000/xmlns/"})(re||(re={}));var An;(function(e){e.TYPE="type",e.ACTION="action",e.ENCODING="encoding",e.PROMPT="prompt",e.NAME="name",e.COLOR="color",e.FACE="face",e.SIZE="size"})(An||(An={}));var Qt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(Qt||(Qt={}));var H;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(H||(H={}));var d;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(d||(d={}));const Mv=new Map([[H.A,d.A],[H.ADDRESS,d.ADDRESS],[H.ANNOTATION_XML,d.ANNOTATION_XML],[H.APPLET,d.APPLET],[H.AREA,d.AREA],[H.ARTICLE,d.ARTICLE],[H.ASIDE,d.ASIDE],[H.B,d.B],[H.BASE,d.BASE],[H.BASEFONT,d.BASEFONT],[H.BGSOUND,d.BGSOUND],[H.BIG,d.BIG],[H.BLOCKQUOTE,d.BLOCKQUOTE],[H.BODY,d.BODY],[H.BR,d.BR],[H.BUTTON,d.BUTTON],[H.CAPTION,d.CAPTION],[H.CENTER,d.CENTER],[H.CODE,d.CODE],[H.COL,d.COL],[H.COLGROUP,d.COLGROUP],[H.DD,d.DD],[H.DESC,d.DESC],[H.DETAILS,d.DETAILS],[H.DIALOG,d.DIALOG],[H.DIR,d.DIR],[H.DIV,d.DIV],[H.DL,d.DL],[H.DT,d.DT],[H.EM,d.EM],[H.EMBED,d.EMBED],[H.FIELDSET,d.FIELDSET],[H.FIGCAPTION,d.FIGCAPTION],[H.FIGURE,d.FIGURE],[H.FONT,d.FONT],[H.FOOTER,d.FOOTER],[H.FOREIGN_OBJECT,d.FOREIGN_OBJECT],[H.FORM,d.FORM],[H.FRAME,d.FRAME],[H.FRAMESET,d.FRAMESET],[H.H1,d.H1],[H.H2,d.H2],[H.H3,d.H3],[H.H4,d.H4],[H.H5,d.H5],[H.H6,d.H6],[H.HEAD,d.HEAD],[H.HEADER,d.HEADER],[H.HGROUP,d.HGROUP],[H.HR,d.HR],[H.HTML,d.HTML],[H.I,d.I],[H.IMG,d.IMG],[H.IMAGE,d.IMAGE],[H.INPUT,d.INPUT],[H.IFRAME,d.IFRAME],[H.KEYGEN,d.KEYGEN],[H.LABEL,d.LABEL],[H.LI,d.LI],[H.LINK,d.LINK],[H.LISTING,d.LISTING],[H.MAIN,d.MAIN],[H.MALIGNMARK,d.MALIGNMARK],[H.MARQUEE,d.MARQUEE],[H.MATH,d.MATH],[H.MENU,d.MENU],[H.META,d.META],[H.MGLYPH,d.MGLYPH],[H.MI,d.MI],[H.MO,d.MO],[H.MN,d.MN],[H.MS,d.MS],[H.MTEXT,d.MTEXT],[H.NAV,d.NAV],[H.NOBR,d.NOBR],[H.NOFRAMES,d.NOFRAMES],[H.NOEMBED,d.NOEMBED],[H.NOSCRIPT,d.NOSCRIPT],[H.OBJECT,d.OBJECT],[H.OL,d.OL],[H.OPTGROUP,d.OPTGROUP],[H.OPTION,d.OPTION],[H.P,d.P],[H.PARAM,d.PARAM],[H.PLAINTEXT,d.PLAINTEXT],[H.PRE,d.PRE],[H.RB,d.RB],[H.RP,d.RP],[H.RT,d.RT],[H.RTC,d.RTC],[H.RUBY,d.RUBY],[H.S,d.S],[H.SCRIPT,d.SCRIPT],[H.SEARCH,d.SEARCH],[H.SECTION,d.SECTION],[H.SELECT,d.SELECT],[H.SOURCE,d.SOURCE],[H.SMALL,d.SMALL],[H.SPAN,d.SPAN],[H.STRIKE,d.STRIKE],[H.STRONG,d.STRONG],[H.STYLE,d.STYLE],[H.SUB,d.SUB],[H.SUMMARY,d.SUMMARY],[H.SUP,d.SUP],[H.TABLE,d.TABLE],[H.TBODY,d.TBODY],[H.TEMPLATE,d.TEMPLATE],[H.TEXTAREA,d.TEXTAREA],[H.TFOOT,d.TFOOT],[H.TD,d.TD],[H.TH,d.TH],[H.THEAD,d.THEAD],[H.TITLE,d.TITLE],[H.TR,d.TR],[H.TRACK,d.TRACK],[H.TT,d.TT],[H.U,d.U],[H.UL,d.UL],[H.SVG,d.SVG],[H.VAR,d.VAR],[H.WBR,d.WBR],[H.XMP,d.XMP]]);function ga(e){var t;return(t=Mv.get(e))!==null&&t!==void 0?t:d.UNKNOWN}const ie=d,Pv={[re.HTML]:new Set([ie.ADDRESS,ie.APPLET,ie.AREA,ie.ARTICLE,ie.ASIDE,ie.BASE,ie.BASEFONT,ie.BGSOUND,ie.BLOCKQUOTE,ie.BODY,ie.BR,ie.BUTTON,ie.CAPTION,ie.CENTER,ie.COL,ie.COLGROUP,ie.DD,ie.DETAILS,ie.DIR,ie.DIV,ie.DL,ie.DT,ie.EMBED,ie.FIELDSET,ie.FIGCAPTION,ie.FIGURE,ie.FOOTER,ie.FORM,ie.FRAME,ie.FRAMESET,ie.H1,ie.H2,ie.H3,ie.H4,ie.H5,ie.H6,ie.HEAD,ie.HEADER,ie.HGROUP,ie.HR,ie.HTML,ie.IFRAME,ie.IMG,ie.INPUT,ie.LI,ie.LINK,ie.LISTING,ie.MAIN,ie.MARQUEE,ie.MENU,ie.META,ie.NAV,ie.NOEMBED,ie.NOFRAMES,ie.NOSCRIPT,ie.OBJECT,ie.OL,ie.P,ie.PARAM,ie.PLAINTEXT,ie.PRE,ie.SCRIPT,ie.SECTION,ie.SELECT,ie.SOURCE,ie.STYLE,ie.SUMMARY,ie.TABLE,ie.TBODY,ie.TD,ie.TEMPLATE,ie.TEXTAREA,ie.TFOOT,ie.TH,ie.THEAD,ie.TITLE,ie.TR,ie.TRACK,ie.UL,ie.WBR,ie.XMP]),[re.MATHML]:new Set([ie.MI,ie.MO,ie.MN,ie.MS,ie.MTEXT,ie.ANNOTATION_XML]),[re.SVG]:new Set([ie.TITLE,ie.FOREIGN_OBJECT,ie.DESC]),[re.XLINK]:new Set,[re.XML]:new Set,[re.XMLNS]:new Set},bu=new Set([ie.H1,ie.H2,ie.H3,ie.H4,ie.H5,ie.H6]);H.STYLE,H.SCRIPT,H.XMP,H.IFRAME,H.NOEMBED,H.NOFRAMES,H.PLAINTEXT;var _;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(_||(_={}));const ut={DATA:_.DATA,RCDATA:_.RCDATA,RAWTEXT:_.RAWTEXT,SCRIPT_DATA:_.SCRIPT_DATA,PLAINTEXT:_.PLAINTEXT,CDATA_SECTION:_.CDATA_SECTION};function Fv(e){return e>=S.DIGIT_0&&e<=S.DIGIT_9}function Ma(e){return e>=S.LATIN_CAPITAL_A&&e<=S.LATIN_CAPITAL_Z}function Bv(e){return e>=S.LATIN_SMALL_A&&e<=S.LATIN_SMALL_Z}function qr(e){return Bv(e)||Ma(e)}function kf(e){return qr(e)||Fv(e)}function Wi(e){return e+32}function u2(e){return e===S.SPACE||e===S.LINE_FEED||e===S.TABULATION||e===S.FORM_FEED}function Cf(e){return u2(e)||e===S.SOLIDUS||e===S.GREATER_THAN_SIGN}function zv(e){return e===S.NULL?q.nullCharacterReference:e>1114111?q.characterReferenceOutsideUnicodeRange:a2(e)?q.surrogateCharacterReference:s2(e)?q.noncharacterCharacterReference:i2(e)||e===S.CARRIAGE_RETURN?q.controlCharacterReference:null}class Hv{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=_.DATA,this.returnState=_.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new Sv(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Dv(kv,(n,a)=>{this.preprocessor.pos=this.entityStartPos+a-1,this._flushCodePointConsumedAsCharacterReference(n)},r.onParseError?{missingSemicolonAfterCharacterReference:()=>{this._err(q.missingSemicolonAfterCharacterReference,1)},absenceOfDigitsInNumericCharacterReference:n=>{this._err(q.absenceOfDigitsInNumericCharacterReference,this.entityStartPos-this.preprocessor.pos+n)},validateNumericCharacterReference:n=>{const a=zv(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Le.START_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Le.END_TAG,tagName:"",tagID:d.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Le.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Le.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(o2(n,this.currentAttr.name)===null){if(n.attrs.push(this.currentAttr),n.location&&this.currentLocation){const a=(t=(r=n.location).attrs)!==null&&t!==void 0?t:r.attrs=Object.create(null);a[this.currentAttr.name]=this.currentLocation,this._leaveAttrValue()}}else this._err(q.duplicateAttribute)}_leaveAttrValue(){this.currentLocation&&(this.currentLocation.endLine=this.preprocessor.line,this.currentLocation.endCol=this.preprocessor.col,this.currentLocation.endOffset=this.preprocessor.offset)}prepareToken(t){this._emitCurrentCharacterToken(t.location),this.currentToken=null,t.location&&(t.location.endLine=this.preprocessor.line,t.location.endCol=this.preprocessor.col+1,t.location.endOffset=this.preprocessor.offset+1),this.currentLocation=this.getCurrentLocation(-1)}emitCurrentTagToken(){const t=this.currentToken;this.prepareToken(t),t.tagID=ga(t.tagName),t.type===Le.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(q.endTagWithAttributes),t.selfClosing&&this._err(q.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Le.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Le.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Le.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Le.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=u2(t)?Le.WHITESPACE_CHARACTER:t===S.NULL?Le.NULL_CHARACTER:Le.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Le.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=_.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Cr.Attribute:Cr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===_.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===_.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case _.DATA:{this._stateData(t);break}case _.RCDATA:{this._stateRcdata(t);break}case _.RAWTEXT:{this._stateRawtext(t);break}case _.SCRIPT_DATA:{this._stateScriptData(t);break}case _.PLAINTEXT:{this._statePlaintext(t);break}case _.TAG_OPEN:{this._stateTagOpen(t);break}case _.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case _.TAG_NAME:{this._stateTagName(t);break}case _.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case _.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case _.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case _.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case _.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case _.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case _.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case _.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case _.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case _.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case _.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case _.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case _.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case _.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case _.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case _.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case _.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case _.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case _.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case _.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case _.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case _.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case _.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case _.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case _.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case _.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case _.BOGUS_COMMENT:{this._stateBogusComment(t);break}case _.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case _.COMMENT_START:{this._stateCommentStart(t);break}case _.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case _.COMMENT:{this._stateComment(t);break}case _.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case _.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case _.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case _.COMMENT_END:{this._stateCommentEnd(t);break}case _.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case _.DOCTYPE:{this._stateDoctype(t);break}case _.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case _.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case _.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case _.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case _.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case _.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case _.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case _.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case _.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case _.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case _.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case _.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case _.CDATA_SECTION:{this._stateCdataSection(t);break}case _.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case _.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case _.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case _.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.TAG_OPEN;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitCodePoint(t);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case S.AMPERSAND:{this._startCharacterReference();break}case S.LESS_THAN_SIGN:{this.state=_.RCDATA_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.RAWTEXT_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(qr(t))this._createStartTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case S.EXCLAMATION_MARK:{this.state=_.MARKUP_DECLARATION_OPEN;break}case S.SOLIDUS:{this.state=_.END_TAG_OPEN;break}case S.QUESTION_MARK:{this._err(q.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t);break}case S.EOF:{this._err(q.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=_.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(qr(t))this._createEndTagToken(),this.state=_.TAG_NAME,this._stateTagName(t);else switch(t){case S.GREATER_THAN_SIGN:{this._err(q.missingEndTagName),this.state=_.DATA;break}case S.EOF:{this._err(q.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.tagName+=et;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Ma(t)?Wi(t):t)}}_stateRcdataLessThanSign(t){t===S.SOLIDUS?this.state=_.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){qr(t)?(this.state=_.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=_.BEFORE_ATTRIBUTE_NAME,!1;case S.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=_.SELF_CLOSING_START_TAG,!1;case S.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=_.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===S.SOLIDUS?this.state=_.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){qr(t)?(this.state=_.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case S.SOLIDUS:{this.state=_.SCRIPT_DATA_END_TAG_OPEN;break}case S.EXCLAMATION_MARK:{this.state=_.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=_.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){qr(t)?(this.state=_.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===S.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===S.HYPHEN_MINUS?(this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=_.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case S.HYPHEN_MINUS:{this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_ESCAPED,this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===S.SOLIDUS?this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:qr(t)?(this._emitChars("<"),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){qr(t)?(this.state=_.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(Lt.SCRIPT,!1)&&Cf(this.preprocessor.peek(Lt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Lt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case S.HYPHEN_MINUS:{this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.GREATER_THAN_SIGN:{this.state=_.SCRIPT_DATA,this._emitChars(">");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(et);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===S.SOLIDUS?(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(Lt.SCRIPT,!1)&&Cf(this.preprocessor.peek(Lt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<Lt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=_.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=_.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.SOLIDUS:case S.GREATER_THAN_SIGN:case S.EOF:{this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case S.EQUALS_SIGN:{this._err(q.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=_.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:case S.SOLIDUS:case S.GREATER_THAN_SIGN:case S.EOF:{this._leaveAttrName(),this.state=_.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case S.EQUALS_SIGN:{this._leaveAttrName(),this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case S.QUOTATION_MARK:case S.APOSTROPHE:case S.LESS_THAN_SIGN:{this._err(q.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.name+=et;break}default:this.currentAttr.name+=String.fromCodePoint(Ma(t)?Wi(t):t)}}_stateAfterAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.SOLIDUS:{this.state=_.SELF_CLOSING_START_TAG;break}case S.EQUALS_SIGN:{this.state=_.BEFORE_ATTRIBUTE_VALUE;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=_.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{this.state=_.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this.state=_.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingAttributeValue),this.state=_.DATA,this.emitCurrentTagToken();break}default:this.state=_.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=et;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case S.APOSTROPHE:{this.state=_.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=et;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=et;break}case S.QUOTATION_MARK:case S.APOSTROPHE:case S.LESS_THAN_SIGN:case S.EQUALS_SIGN:case S.GRAVE_ACCENT:{this._err(q.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this._leaveAttrValue(),this.state=_.BEFORE_ATTRIBUTE_NAME;break}case S.SOLIDUS:{this._leaveAttrValue(),this.state=_.SELF_CLOSING_START_TAG;break}case S.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBetweenAttributes),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case S.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=_.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.unexpectedSolidusInTag),this.state=_.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.data+=et;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(Lt.DASH_DASH,!0)?(this._createCommentToken(Lt.DASH_DASH.length+1),this.state=_.COMMENT_START):this._consumeSequenceIfMatch(Lt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(Lt.DOCTYPE.length+1),this.state=_.DOCTYPE):this._consumeSequenceIfMatch(Lt.CDATA_START,!0)?this.inForeignNode?this.state=_.CDATA_SECTION:(this._err(q.cdataInHtmlContent),this._createCommentToken(Lt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=_.BOGUS_COMMENT):this._ensureHibernation()||(this._err(q.incorrectlyOpenedComment),this._createCommentToken(2),this.state=_.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_START_DASH;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=_.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END_DASH;break}case S.LESS_THAN_SIGN:{r.data+="<",this.state=_.COMMENT_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.data+=et;break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case S.EXCLAMATION_MARK:{r.data+="!",this.state=_.COMMENT_LESS_THAN_SIGN_BANG;break}case S.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=_.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===S.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=_.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===S.HYPHEN_MINUS?this.state=_.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=_.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==S.GREATER_THAN_SIGN&&t!==S.EOF&&this._err(q.nestedComment),this.state=_.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=_.COMMENT_END;break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentComment(r);break}case S.EXCLAMATION_MARK:{this.state=_.COMMENT_END_BANG;break}case S.HYPHEN_MINUS:{r.data+="-";break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=_.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{r.data+="--!",this.state=_.COMMENT_END_DASH;break}case S.GREATER_THAN_SIGN:{this._err(q.incorrectlyClosedComment),this.state=_.DATA,this.emitCurrentComment(r);break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=_.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case S.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBeforeDoctypeName),this.state=_.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ma(t))this._createDoctypeToken(String.fromCharCode(Wi(t))),this.state=_.DOCTYPE_NAME;else switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.NULL:{this._err(q.unexpectedNullCharacter),this._createDoctypeToken(et),this.state=_.DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=_.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.AFTER_DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.name+=et;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Ma(t)?Wi(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(Lt.PUBLIC,!1)?this.state=_.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(Lt.SYSTEM,!1)?this.state=_.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(q.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.publicId="",this.state=_.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=et;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case S.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=et;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case S.GREATER_THAN_SIGN:{this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.QUOTATION_MARK:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=_.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.systemId="",this.state=_.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case S.QUOTATION_MARK:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=et;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case S.APOSTROPHE:{this.state=_.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=et;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=_.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=_.DATA;break}case S.NULL:{this._err(q.unexpectedNullCharacter);break}case S.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case S.RIGHT_SQUARE_BRACKET:{this.state=_.CDATA_SECTION_BRACKET;break}case S.EOF:{this._err(q.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===S.RIGHT_SQUARE_BRACKET?this.state=_.CDATA_SECTION_END:(this._emitChars("]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case S.GREATER_THAN_SIGN:{this.state=_.DATA;break}case S.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=_.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(S.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&kf(this.preprocessor.peek(1))?_.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){kf(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===S.SEMICOLON&&this._err(q.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const l2=new Set([d.DD,d.DT,d.LI,d.OPTGROUP,d.OPTION,d.P,d.RB,d.RP,d.RT,d.RTC]),If=new Set([...l2,d.CAPTION,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]),Ss=new Set([d.APPLET,d.CAPTION,d.HTML,d.MARQUEE,d.OBJECT,d.TABLE,d.TD,d.TEMPLATE,d.TH]),Uv=new Set([...Ss,d.OL,d.UL]),jv=new Set([...Ss,d.BUTTON]),_f=new Set([d.ANNOTATION_XML,d.MI,d.MN,d.MO,d.MS,d.MTEXT]),Nf=new Set([d.DESC,d.FOREIGN_OBJECT,d.TITLE]),$v=new Set([d.TR,d.TEMPLATE,d.HTML]),qv=new Set([d.TBODY,d.TFOOT,d.THEAD,d.TEMPLATE,d.HTML]),Yv=new Set([d.TABLE,d.TEMPLATE,d.HTML]),Wv=new Set([d.TD,d.TH]);class Vv{get currentTmplContentOrNode(){return this._isInTemplate()?this.treeAdapter.getTemplateContent(this.current):this.current}constructor(t,r,n){this.treeAdapter=r,this.handler=n,this.items=[],this.tagIDs=[],this.stackTop=-1,this.tmplCount=0,this.currentTagId=d.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===d.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===re.HTML}_updateCurrentElement(){this.current=this.items[this.stackTop],this.currentTagId=this.tagIDs[this.stackTop]}push(t,r){this.stackTop++,this.items[this.stackTop]=t,this.current=t,this.tagIDs[this.stackTop]=r,this.currentTagId=r,this._isInTemplate()&&this.tmplCount++,this.handler.onItemPush(t,r,!0)}pop(){const t=this.current;this.tmplCount>0&&this._isInTemplate()&&this.tmplCount--,this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!0)}replace(t,r){const n=this._indexOf(t);this.items[n]=r,n===this.stackTop&&(this.current=r)}insertAfter(t,r,n){const a=this._indexOf(t)+1;this.items.splice(a,0,r),this.tagIDs.splice(a,0,n),this.stackTop++,a===this.stackTop&&this._updateCurrentElement(),this.current&&this.currentTagId!==void 0&&this.handler.onItemPush(this.current,this.currentTagId,a===this.stackTop)}popUntilTagNamePopped(t){let r=this.stackTop+1;do r=this.tagIDs.lastIndexOf(t,r-1);while(r>0&&this.treeAdapter.getNamespaceURI(this.items[r])!==re.HTML);this.shortenToLength(Math.max(r,0))}shortenToLength(t){for(;this.stackTop>=t;){const r=this.current;this.tmplCount>0&&this._isInTemplate()&&(this.tmplCount-=1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(r,this.stackTop<t)}}popUntilElementPopped(t){const r=this._indexOf(t);this.shortenToLength(Math.max(r,0))}popUntilPopped(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(Math.max(n,0))}popUntilNumberedHeaderPopped(){this.popUntilPopped(bu,re.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Wv,re.HTML)}popAllUpToHtmlElement(){this.tmplCount=0,this.shortenToLength(1)}_indexOfTagNames(t,r){for(let n=this.stackTop;n>=0;n--)if(t.has(this.tagIDs[n])&&this.treeAdapter.getNamespaceURI(this.items[n])===r)return n;return-1}clearBackTo(t,r){const n=this._indexOfTagNames(t,r);this.shortenToLength(n+1)}clearBackToTableContext(){this.clearBackTo(Yv,re.HTML)}clearBackToTableBodyContext(){this.clearBackTo(qv,re.HTML)}clearBackToTableRowContext(){this.clearBackTo($v,re.HTML)}remove(t){const r=this._indexOf(t);r>=0&&(r===this.stackTop?this.pop():(this.items.splice(r,1),this.tagIDs.splice(r,1),this.stackTop--,this._updateCurrentElement(),this.handler.onItemPop(t,!1)))}tryPeekProperlyNestedBodyElement(){return this.stackTop>=1&&this.tagIDs[1]===d.BODY?this.items[1]:null}contains(t){return this._indexOf(t)>-1}getCommonAncestor(t){const r=this._indexOf(t)-1;return r>=0?this.items[r]:null}isRootHtmlElementCurrent(){return this.stackTop===0&&this.tagIDs[0]===d.HTML}hasInDynamicScope(t,r){for(let n=this.stackTop;n>=0;n--){const a=this.tagIDs[n];switch(this.treeAdapter.getNamespaceURI(this.items[n])){case re.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case re.SVG:{if(Nf.has(a))return!1;break}case re.MATHML:{if(_f.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,Ss)}hasInListItemScope(t){return this.hasInDynamicScope(t,Uv)}hasInButtonScope(t){return this.hasInDynamicScope(t,jv)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case re.HTML:{if(bu.has(r))return!0;if(Ss.has(r))return!1;break}case re.SVG:{if(Nf.has(r))return!1;break}case re.MATHML:{if(_f.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===re.HTML)switch(this.tagIDs[r]){case t:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===re.HTML)switch(this.tagIDs[t]){case d.TBODY:case d.THEAD:case d.TFOOT:return!0;case d.TABLE:case d.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===re.HTML)switch(this.tagIDs[r]){case t:return!0;case d.OPTION:case d.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&l2.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&If.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&If.has(this.currentTagId);)this.pop()}}const go=3;var fr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(fr||(fr={}));const Of={type:fr.Marker};class Gv{constructor(t){this.treeAdapter=t,this.entries=[],this.bookmark=null}_getNoahArkConditionCandidates(t,r){const n=[],a=r.length,i=this.treeAdapter.getTagName(t),s=this.treeAdapter.getNamespaceURI(t);for(let o=0;o<this.entries.length;o++){const u=this.entries[o];if(u.type===fr.Marker)break;const{element:l}=u;if(this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===s){const c=this.treeAdapter.getAttrList(l);c.length===a&&n.push({idx:o,attrs:c})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<go)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<go)return;const a=new Map(r.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<n.length;s++){const o=n[s];o.attrs.every(u=>a.get(u.name)===u.value)&&(i+=1,i>=go&&this.entries.splice(o.idx,1))}}insertMarker(){this.entries.unshift(Of)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:fr.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:fr.Element,element:t,token:r})}removeEntry(t){const r=this.entries.indexOf(t);r!==-1&&this.entries.splice(r,1)}clearToLastMarker(){const t=this.entries.indexOf(Of);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===fr.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===fr.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===fr.Element&&r.element===t)}}const Yr={createDocument(){return{nodeName:"#document",mode:Qt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};Yr.appendChild(e,i)}},setDocumentMode(e,t){e.mode=t},getDocumentMode(e){return e.mode},detachNode(e){if(e.parentNode){const t=e.parentNode.childNodes.indexOf(e);e.parentNode.childNodes.splice(t,1),e.parentNode=null}},insertText(e,t){if(e.childNodes.length>0){const r=e.childNodes[e.childNodes.length-1];if(Yr.isTextNode(r)){r.value+=t;return}}Yr.appendChild(e,Yr.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&Yr.isTextNode(n)?n.value+=t:Yr.insertBefore(e,Yr.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation=ae(ae({},e.sourceCodeLocation),t)}},c2="html",Xv="about:legacy-compat",Kv="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",f2=["+//silmaril//dtd html pro v0r11 19970101//","-//as//dtd html 3.0 aswedit + extensions//","-//advasoft ltd//dtd html 3.0 aswedit + extensions//","-//ietf//dtd html 2.0 level 1//","-//ietf//dtd html 2.0 level 2//","-//ietf//dtd html 2.0 strict level 1//","-//ietf//dtd html 2.0 strict level 2//","-//ietf//dtd html 2.0 strict//","-//ietf//dtd html 2.0//","-//ietf//dtd html 2.1e//","-//ietf//dtd html 3.0//","-//ietf//dtd html 3.2 final//","-//ietf//dtd html 3.2//","-//ietf//dtd html 3//","-//ietf//dtd html level 0//","-//ietf//dtd html level 1//","-//ietf//dtd html level 2//","-//ietf//dtd html level 3//","-//ietf//dtd html strict level 0//","-//ietf//dtd html strict level 1//","-//ietf//dtd html strict level 2//","-//ietf//dtd html strict level 3//","-//ietf//dtd html strict//","-//ietf//dtd html//","-//metrius//dtd metrius presentational//","-//microsoft//dtd internet explorer 2.0 html strict//","-//microsoft//dtd internet explorer 2.0 html//","-//microsoft//dtd internet explorer 2.0 tables//","-//microsoft//dtd internet explorer 3.0 html strict//","-//microsoft//dtd internet explorer 3.0 html//","-//microsoft//dtd internet explorer 3.0 tables//","-//netscape comm. corp.//dtd html//","-//netscape comm. corp.//dtd strict html//","-//o'reilly and associates//dtd html 2.0//","-//o'reilly and associates//dtd html extended 1.0//","-//o'reilly and associates//dtd html extended relaxed 1.0//","-//sq//dtd html 2.0 hotmetal + extensions//","-//softquad software//dtd hotmetal pro 6.0::19990601::extensions to html 4.0//","-//softquad//dtd hotmetal pro 4.0::19971010::extensions to html 4.0//","-//spyglass//dtd html 2.0 extended//","-//sun microsystems corp.//dtd hotjava html//","-//sun microsystems corp.//dtd hotjava strict html//","-//w3c//dtd html 3 1995-03-24//","-//w3c//dtd html 3.2 draft//","-//w3c//dtd html 3.2 final//","-//w3c//dtd html 3.2//","-//w3c//dtd html 3.2s draft//","-//w3c//dtd html 4.0 frameset//","-//w3c//dtd html 4.0 transitional//","-//w3c//dtd html experimental 19960712//","-//w3c//dtd html experimental 970421//","-//w3c//dtd w3 html//","-//w3o//dtd w3 html 3.0//","-//webtechs//dtd mozilla html 2.0//","-//webtechs//dtd mozilla html//"],Qv=[...f2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Jv=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),d2=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Zv=[...d2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Rf(e,t){return t.some(r=>e.startsWith(r))}function ew(e){return e.name===c2&&e.publicId===null&&(e.systemId===null||e.systemId===Xv)}function tw(e){if(e.name!==c2)return Qt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Kv)return Qt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),Jv.has(r))return Qt.QUIRKS;let n=t===null?Qv:f2;if(Rf(r,n))return Qt.QUIRKS;if(n=t===null?d2:Zv,Rf(r,n))return Qt.LIMITED_QUIRKS}return Qt.NO_QUIRKS}const Df={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},rw="definitionurl",nw="definitionURL",aw=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map(e=>[e.toLowerCase(),e])),iw=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:re.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:re.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:re.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:re.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:re.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:re.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:re.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:re.XML}],["xml:space",{prefix:"xml",name:"space",namespace:re.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:re.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:re.XMLNS}]]),sw=new Map(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"].map(e=>[e.toLowerCase(),e])),ow=new Set([d.B,d.BIG,d.BLOCKQUOTE,d.BODY,d.BR,d.CENTER,d.CODE,d.DD,d.DIV,d.DL,d.DT,d.EM,d.EMBED,d.H1,d.H2,d.H3,d.H4,d.H5,d.H6,d.HEAD,d.HR,d.I,d.IMG,d.LI,d.LISTING,d.MENU,d.META,d.NOBR,d.OL,d.P,d.PRE,d.RUBY,d.S,d.SMALL,d.SPAN,d.STRONG,d.STRIKE,d.SUB,d.SUP,d.TABLE,d.TT,d.U,d.UL,d.VAR]);function uw(e){const t=e.tagID;return t===d.FONT&&e.attrs.some(({name:n})=>n===An.COLOR||n===An.SIZE||n===An.FACE)||ow.has(t)}function h2(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===rw){e.attrs[t].name=nw;break}}function m2(e){for(let t=0;t<e.attrs.length;t++){const r=aw.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function Ml(e){for(let t=0;t<e.attrs.length;t++){const r=iw.get(e.attrs[t].name);r&&(e.attrs[t].prefix=r.prefix,e.attrs[t].name=r.name,e.attrs[t].namespace=r.namespace)}}function lw(e){const t=sw.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=ga(e.tagName))}function cw(e,t){return t===re.MATHML&&(e===d.MI||e===d.MO||e===d.MN||e===d.MS||e===d.MTEXT)}function fw(e,t,r){if(t===re.MATHML&&e===d.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===An.ENCODING){const a=r[n].value.toLowerCase();return a===Df.TEXT_HTML||a===Df.APPLICATION_XML}}return t===re.SVG&&(e===d.FOREIGN_OBJECT||e===d.DESC||e===d.TITLE)}function dw(e,t,r,n){return(!n||n===re.HTML)&&fw(e,t,r)||(!n||n===re.MATHML)&&cw(e,t)}const hw="hidden",mw=8,pw=3;var D;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(D||(D={}));const gw={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},p2=new Set([d.TABLE,d.TBODY,d.TFOOT,d.THEAD,d.TR]),Lf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Yr,onParseError:null};class Mf{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=D.INITIAL,this.originalInsertionMode=D.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=ae(ae({},Lf),t),this.treeAdapter=this.options.treeAdapter,this.onParseError=this.options.onParseError,this.onParseError&&(this.options.sourceCodeLocationInfo=!0),this.document=r!=null?r:this.treeAdapter.createDocument(),this.tokenizer=new Hv(this.options,this),this.activeFormattingElements=new Gv(this.treeAdapter),this.fragmentContextID=n?ga(this.treeAdapter.getTagName(n)):d.UNKNOWN,this._setContextModes(n!=null?n:this.document,this.fragmentContextID),this.openElements=new Vv(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n=ae(ae({},Lf),r);t!=null||(t=n.treeAdapter.createElement(H.TEMPLATE,re.HTML,[]));const a=n.treeAdapter.createElement("documentmock",re.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===d.TEMPLATE&&i.tmplInsertionModeStack.unshift(D.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:gw,s={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===re.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,re.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=D.TEXT}switchToPlaintextParsing(){this.insertionMode=D.TEXT,this.originalInsertionMode=D.IN_BODY,this.tokenizer.state=ut.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===H.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==re.HTML))switch(this.fragmentContextID){case d.TITLE:case d.TEXTAREA:{this.tokenizer.state=ut.RCDATA;break}case d.STYLE:case d.XMP:case d.IFRAME:case d.NOEMBED:case d.NOFRAMES:case d.NOSCRIPT:{this.tokenizer.state=ut.RAWTEXT;break}case d.SCRIPT:{this.tokenizer.state=ut.SCRIPT_DATA;break}case d.PLAINTEXT:{this.tokenizer.state=ut.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(o=>this.treeAdapter.isDocumentTypeNode(o));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&it(ae({},r),{startTag:r});this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n!=null?n:this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,re.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,re.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(H.HTML,re.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,d.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,s=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:u,endCol:l,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:u,endCol:l,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===Le.END_TAG&&a===r.tagName?{endTag:ae({},n),endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===d.SVG&&this.treeAdapter.getTagName(r)===H.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===re.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===d.MGLYPH||t.tagID===d.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,re.HTML)}_processToken(t){switch(t.type){case Le.CHARACTER:{this.onCharacter(t);break}case Le.NULL_CHARACTER:{this.onNullCharacter(t);break}case Le.COMMENT:{this.onComment(t);break}case Le.DOCTYPE:{this.onDoctype(t);break}case Le.START_TAG:{this._processStartTag(t);break}case Le.END_TAG:{this.onEndTag(t);break}case Le.EOF:{this.onEof(t);break}case Le.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return dw(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===fr.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=D.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(d.P),this.openElements.popUntilTagNamePopped(d.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case d.TR:{this.insertionMode=D.IN_ROW;return}case d.TBODY:case d.THEAD:case d.TFOOT:{this.insertionMode=D.IN_TABLE_BODY;return}case d.CAPTION:{this.insertionMode=D.IN_CAPTION;return}case d.COLGROUP:{this.insertionMode=D.IN_COLUMN_GROUP;return}case d.TABLE:{this.insertionMode=D.IN_TABLE;return}case d.BODY:{this.insertionMode=D.IN_BODY;return}case d.FRAMESET:{this.insertionMode=D.IN_FRAMESET;return}case d.SELECT:{this._resetInsertionModeForSelect(t);return}case d.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case d.HTML:{this.insertionMode=this.headElement?D.AFTER_HEAD:D.BEFORE_HEAD;return}case d.TD:case d.TH:{if(t>0){this.insertionMode=D.IN_CELL;return}break}case d.HEAD:{if(t>0){this.insertionMode=D.IN_HEAD;return}break}}this.insertionMode=D.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===d.TEMPLATE)break;if(n===d.TABLE){this.insertionMode=D.IN_SELECT_IN_TABLE;return}}this.insertionMode=D.IN_SELECT}_isElementCausesFosterParenting(t){return p2.has(t)}_shouldFosterParentOnInsertion(){return this.fosterParentingEnabled&&this.openElements.currentTagId!==void 0&&this._isElementCausesFosterParenting(this.openElements.currentTagId)}_findFosterParentingLocation(){for(let t=this.openElements.stackTop;t>=0;t--){const r=this.openElements.items[t];switch(this.openElements.tagIDs[t]){case d.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===re.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case d.TABLE:{const n=this.treeAdapter.getParentNode(r);return n?{parent:n,beforeElement:r}:{parent:this.openElements.items[t-1],beforeElement:null}}}}return{parent:this.openElements.items[0],beforeElement:null}}_fosterParentElement(t){const r=this._findFosterParentingLocation();r.beforeElement?this.treeAdapter.insertBefore(r.parent,t,r.beforeElement):this.treeAdapter.appendChild(r.parent,t)}_isSpecialElement(t,r){const n=this.treeAdapter.getNamespaceURI(t);return Pv[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){WA(this,t);return}switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{$a(this,t);break}case D.BEFORE_HEAD:{qa(this,t);break}case D.IN_HEAD:{Ya(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Wa(this,t);break}case D.AFTER_HEAD:{Va(this,t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:{b2(this,t);break}case D.TEXT:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{bo(this,t);break}case D.IN_TABLE_TEXT:{w2(this,t);break}case D.IN_COLUMN_GROUP:{ks(this,t);break}case D.AFTER_BODY:{Cs(this,t);break}case D.AFTER_AFTER_BODY:{cs(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){YA(this,t);return}switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{$a(this,t);break}case D.BEFORE_HEAD:{qa(this,t);break}case D.IN_HEAD:{Ya(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Wa(this,t);break}case D.AFTER_HEAD:{Va(this,t);break}case D.TEXT:{this._insertCharacters(t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{bo(this,t);break}case D.IN_COLUMN_GROUP:{ks(this,t);break}case D.AFTER_BODY:{Cs(this,t);break}case D.AFTER_AFTER_BODY:{cs(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){yu(this,t);return}switch(this.insertionMode){case D.INITIAL:case D.BEFORE_HTML:case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_TEMPLATE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{yu(this,t);break}case D.IN_TABLE_TEXT:{_a(this,t);break}case D.AFTER_BODY:{ww(this,t);break}case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{Aw(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case D.INITIAL:{Sw(this,t);break}case D.BEFORE_HEAD:case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:{this._err(t,q.misplacedDoctype);break}case D.IN_TABLE_TEXT:{_a(this,t);break}}}onStartTag(t){this.skipNextNewLine=!1,this.currentToken=t,this._processStartTag(t),t.selfClosing&&!t.ackSelfClosing&&this._err(t,q.nonVoidHtmlElementStartTagWithTrailingSolidus)}_processStartTag(t){this.shouldProcessStartTagTokenInForeignContent(t)?VA(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{kw(this,t);break}case D.BEFORE_HEAD:{Iw(this,t);break}case D.IN_HEAD:{or(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Ow(this,t);break}case D.AFTER_HEAD:{Dw(this,t);break}case D.IN_BODY:{Ct(this,t);break}case D.IN_TABLE:{na(this,t);break}case D.IN_TABLE_TEXT:{_a(this,t);break}case D.IN_CAPTION:{_A(this,t);break}case D.IN_COLUMN_GROUP:{Bl(this,t);break}case D.IN_TABLE_BODY:{m0(this,t);break}case D.IN_ROW:{p0(this,t);break}case D.IN_CELL:{RA(this,t);break}case D.IN_SELECT:{k2(this,t);break}case D.IN_SELECT_IN_TABLE:{LA(this,t);break}case D.IN_TEMPLATE:{PA(this,t);break}case D.AFTER_BODY:{BA(this,t);break}case D.IN_FRAMESET:{zA(this,t);break}case D.AFTER_FRAMESET:{UA(this,t);break}case D.AFTER_AFTER_BODY:{$A(this,t);break}case D.AFTER_AFTER_FRAMESET:{qA(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?GA(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{Cw(this,t);break}case D.BEFORE_HEAD:{_w(this,t);break}case D.IN_HEAD:{Nw(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Rw(this,t);break}case D.AFTER_HEAD:{Lw(this,t);break}case D.IN_BODY:{h0(this,t);break}case D.TEXT:{xA(this,t);break}case D.IN_TABLE:{ai(this,t);break}case D.IN_TABLE_TEXT:{_a(this,t);break}case D.IN_CAPTION:{NA(this,t);break}case D.IN_COLUMN_GROUP:{OA(this,t);break}case D.IN_TABLE_BODY:{xu(this,t);break}case D.IN_ROW:{S2(this,t);break}case D.IN_CELL:{DA(this,t);break}case D.IN_SELECT:{C2(this,t);break}case D.IN_SELECT_IN_TABLE:{MA(this,t);break}case D.IN_TEMPLATE:{FA(this,t);break}case D.AFTER_BODY:{_2(this,t);break}case D.IN_FRAMESET:{HA(this,t);break}case D.AFTER_FRAMESET:{jA(this,t);break}case D.AFTER_AFTER_BODY:{cs(this,t);break}}}onEof(t){switch(this.insertionMode){case D.INITIAL:{Ia(this,t);break}case D.BEFORE_HTML:{$a(this,t);break}case D.BEFORE_HEAD:{qa(this,t);break}case D.IN_HEAD:{Ya(this,t);break}case D.IN_HEAD_NO_SCRIPT:{Wa(this,t);break}case D.AFTER_HEAD:{Va(this,t);break}case D.IN_BODY:case D.IN_TABLE:case D.IN_CAPTION:case D.IN_COLUMN_GROUP:case D.IN_TABLE_BODY:case D.IN_ROW:case D.IN_CELL:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:{T2(this,t);break}case D.TEXT:{EA(this,t);break}case D.IN_TABLE_TEXT:{_a(this,t);break}case D.IN_TEMPLATE:{I2(this,t);break}case D.AFTER_BODY:case D.IN_FRAMESET:case D.AFTER_FRAMESET:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{Fl(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===S.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case D.IN_HEAD:case D.IN_HEAD_NO_SCRIPT:case D.AFTER_HEAD:case D.TEXT:case D.IN_COLUMN_GROUP:case D.IN_SELECT:case D.IN_SELECT_IN_TABLE:case D.IN_FRAMESET:case D.AFTER_FRAMESET:{this._insertCharacters(t);break}case D.IN_BODY:case D.IN_CAPTION:case D.IN_CELL:case D.IN_TEMPLATE:case D.AFTER_BODY:case D.AFTER_AFTER_BODY:case D.AFTER_AFTER_FRAMESET:{g2(this,t);break}case D.IN_TABLE:case D.IN_TABLE_BODY:case D.IN_ROW:{bo(this,t);break}case D.IN_TABLE_TEXT:{v2(this,t);break}}}}function bw(e,t){let r=e.activeFormattingElements.getElementEntryInScopeWithTagName(t.tagName);return r?e.openElements.contains(r.element)?e.openElements.hasInScope(t.tagID)||(r=null):(e.activeFormattingElements.removeEntry(r),r=null):E2(e,t),r}function yw(e,t){let r=null,n=e.openElements.stackTop;for(;n>=0;n--){const a=e.openElements.items[n];if(a===t.element)break;e._isSpecialElement(a,e.openElements.tagIDs[n])&&(r=a)}return r||(e.openElements.shortenToLength(Math.max(n,0)),e.activeFormattingElements.removeEntry(t)),r}function xw(e,t,r){let n=t,a=e.openElements.getCommonAncestor(t);for(let i=0,s=a;s!==r;i++,s=a){a=e.openElements.getCommonAncestor(s);const o=e.activeFormattingElements.getElementEntry(s),u=o&&i>=pw;!o||u?(u&&e.activeFormattingElements.removeEntry(o),e.openElements.remove(s)):(s=Ew(e,o),n===t&&(e.activeFormattingElements.bookmark=o),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function Ew(e,t){const r=e.treeAdapter.getNamespaceURI(t.element),n=e.treeAdapter.createElement(t.token.tagName,r,t.token.attrs);return e.openElements.replace(t.element,n),t.element=n,n}function Tw(e,t,r){const n=e.treeAdapter.getTagName(t),a=ga(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===d.TEMPLATE&&i===re.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function vw(e,t,r){const n=e.treeAdapter.getNamespaceURI(r.element),{token:a}=r,i=e.treeAdapter.createElement(a.tagName,n,a.attrs);e._adoptNodes(t,i),e.treeAdapter.appendChild(t,i),e.activeFormattingElements.insertElementAfterBookmark(i,a),e.activeFormattingElements.removeEntry(r),e.openElements.remove(r.element),e.openElements.insertAfter(t,i,a.tagID)}function Pl(e,t){for(let r=0;r<mw;r++){const n=bw(e,t);if(!n)break;const a=yw(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=xw(e,a,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&Tw(e,s,i),vw(e,a,n)}}function yu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function ww(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Aw(e,t){e._appendCommentNode(t,e.document)}function Fl(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function Sw(e,t){e._setDocumentType(t);const r=t.forceQuirks?Qt.QUIRKS:tw(t);ew(t)||e._err(t,q.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=D.BEFORE_HTML}function Ia(e,t){e._err(t,q.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,Qt.QUIRKS),e.insertionMode=D.BEFORE_HTML,e._processToken(t)}function kw(e,t){t.tagID===d.HTML?(e._insertElement(t,re.HTML),e.insertionMode=D.BEFORE_HEAD):$a(e,t)}function Cw(e,t){const r=t.tagID;(r===d.HTML||r===d.HEAD||r===d.BODY||r===d.BR)&&$a(e,t)}function $a(e,t){e._insertFakeRootElement(),e.insertionMode=D.BEFORE_HEAD,e._processToken(t)}function Iw(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.HEAD:{e._insertElement(t,re.HTML),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD;break}default:qa(e,t)}}function _w(e,t){const r=t.tagID;r===d.HEAD||r===d.BODY||r===d.HTML||r===d.BR?qa(e,t):e._err(t,q.endTagWithoutMatchingOpenElement)}function qa(e,t){e._insertFakeElement(H.HEAD,d.HEAD),e.headElement=e.openElements.current,e.insertionMode=D.IN_HEAD,e._processToken(t)}function or(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case d.TITLE:{e._switchToTextParsing(t,ut.RCDATA);break}case d.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,ut.RAWTEXT):(e._insertElement(t,re.HTML),e.insertionMode=D.IN_HEAD_NO_SCRIPT);break}case d.NOFRAMES:case d.STYLE:{e._switchToTextParsing(t,ut.RAWTEXT);break}case d.SCRIPT:{e._switchToTextParsing(t,ut.SCRIPT_DATA);break}case d.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=D.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(D.IN_TEMPLATE);break}case d.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Ya(e,t)}}function Nw(e,t){switch(t.tagID){case d.HEAD:{e.openElements.pop(),e.insertionMode=D.AFTER_HEAD;break}case d.BODY:case d.BR:case d.HTML:{Ya(e,t);break}case d.TEMPLATE:{Ln(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Ln(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==d.TEMPLATE&&e._err(t,q.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,q.endTagWithoutMatchingOpenElement)}function Ya(e,t){e.openElements.pop(),e.insertionMode=D.AFTER_HEAD,e._processToken(t)}function Ow(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.BASEFONT:case d.BGSOUND:case d.HEAD:case d.LINK:case d.META:case d.NOFRAMES:case d.STYLE:{or(e,t);break}case d.NOSCRIPT:{e._err(t,q.nestedNoscriptInHead);break}default:Wa(e,t)}}function Rw(e,t){switch(t.tagID){case d.NOSCRIPT:{e.openElements.pop(),e.insertionMode=D.IN_HEAD;break}case d.BR:{Wa(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Wa(e,t){const r=t.type===Le.EOF?q.openElementsLeftAfterEof:q.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=D.IN_HEAD,e._processToken(t)}function Dw(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.BODY:{e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=D.IN_BODY;break}case d.FRAMESET:{e._insertElement(t,re.HTML),e.insertionMode=D.IN_FRAMESET;break}case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{e._err(t,q.abandonedHeadElementChild),e.openElements.push(e.headElement,d.HEAD),or(e,t),e.openElements.remove(e.headElement);break}case d.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Va(e,t)}}function Lw(e,t){switch(t.tagID){case d.BODY:case d.HTML:case d.BR:{Va(e,t);break}case d.TEMPLATE:{Ln(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Va(e,t){e._insertFakeElement(H.BODY,d.BODY),e.insertionMode=D.IN_BODY,d0(e,t)}function d0(e,t){switch(t.type){case Le.CHARACTER:{b2(e,t);break}case Le.WHITESPACE_CHARACTER:{g2(e,t);break}case Le.COMMENT:{yu(e,t);break}case Le.START_TAG:{Ct(e,t);break}case Le.END_TAG:{h0(e,t);break}case Le.EOF:{T2(e,t);break}}}function g2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function b2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Mw(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Pw(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function Fw(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_FRAMESET)}function Bw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML)}function zw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&bu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,re.HTML)}function Hw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Uw(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML),r||(e.formElement=e.openElements.current))}function jw(e,t){e.framesetOk=!1;const r=t.tagID;for(let n=e.openElements.stackTop;n>=0;n--){const a=e.openElements.tagIDs[n];if(r===d.LI&&a===d.LI||(r===d.DD||r===d.DT)&&(a===d.DD||a===d.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==d.ADDRESS&&a!==d.DIV&&a!==d.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML)}function $w(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.tokenizer.state=ut.PLAINTEXT}function qw(e,t){e.openElements.hasInScope(d.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.framesetOk=!1}function Yw(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(H.A);r&&(Pl(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ww(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Vw(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(d.NOBR)&&(Pl(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,re.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Gw(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Xw(e,t){e.treeAdapter.getDocumentMode(e.document)!==Qt.QUIRKS&&e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=D.IN_TABLE}function y2(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,re.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function x2(e){const t=o2(e,An.TYPE);return t!=null&&t.toLowerCase()===hw}function Kw(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,re.HTML),x2(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Qw(e,t){e._appendElement(t,re.HTML),t.ackSelfClosing=!0}function Jw(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._appendElement(t,re.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Zw(e,t){t.tagName=H.IMG,t.tagID=d.IMG,y2(e,t)}function eA(e,t){e._insertElement(t,re.HTML),e.skipNextNewLine=!0,e.tokenizer.state=ut.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=D.TEXT}function tA(e,t){e.openElements.hasInButtonScope(d.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,ut.RAWTEXT)}function rA(e,t){e.framesetOk=!1,e._switchToTextParsing(t,ut.RAWTEXT)}function Pf(e,t){e._switchToTextParsing(t,ut.RAWTEXT)}function nA(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===D.IN_TABLE||e.insertionMode===D.IN_CAPTION||e.insertionMode===D.IN_TABLE_BODY||e.insertionMode===D.IN_ROW||e.insertionMode===D.IN_CELL?D.IN_SELECT_IN_TABLE:D.IN_SELECT}function aA(e,t){e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML)}function iA(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,re.HTML)}function sA(e,t){e.openElements.hasInScope(d.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(d.RTC),e._insertElement(t,re.HTML)}function oA(e,t){e._reconstructActiveFormattingElements(),h2(t),Ml(t),t.selfClosing?e._appendElement(t,re.MATHML):e._insertElement(t,re.MATHML),t.ackSelfClosing=!0}function uA(e,t){e._reconstructActiveFormattingElements(),m2(t),Ml(t),t.selfClosing?e._appendElement(t,re.SVG):e._insertElement(t,re.SVG),t.ackSelfClosing=!0}function Ff(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,re.HTML)}function Ct(e,t){switch(t.tagID){case d.I:case d.S:case d.B:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.SMALL:case d.STRIKE:case d.STRONG:{Ww(e,t);break}case d.A:{Yw(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{zw(e,t);break}case d.P:case d.DL:case d.OL:case d.UL:case d.DIV:case d.DIR:case d.NAV:case d.MAIN:case d.MENU:case d.ASIDE:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.DETAILS:case d.ADDRESS:case d.ARTICLE:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{Bw(e,t);break}case d.LI:case d.DD:case d.DT:{jw(e,t);break}case d.BR:case d.IMG:case d.WBR:case d.AREA:case d.EMBED:case d.KEYGEN:{y2(e,t);break}case d.HR:{Jw(e,t);break}case d.RB:case d.RTC:{iA(e,t);break}case d.RT:case d.RP:{sA(e,t);break}case d.PRE:case d.LISTING:{Hw(e,t);break}case d.XMP:{tA(e,t);break}case d.SVG:{uA(e,t);break}case d.HTML:{Mw(e,t);break}case d.BASE:case d.LINK:case d.META:case d.STYLE:case d.TITLE:case d.SCRIPT:case d.BGSOUND:case d.BASEFONT:case d.TEMPLATE:{or(e,t);break}case d.BODY:{Pw(e,t);break}case d.FORM:{Uw(e,t);break}case d.NOBR:{Vw(e,t);break}case d.MATH:{oA(e,t);break}case d.TABLE:{Xw(e,t);break}case d.INPUT:{Kw(e,t);break}case d.PARAM:case d.TRACK:case d.SOURCE:{Qw(e,t);break}case d.IMAGE:{Zw(e,t);break}case d.BUTTON:{qw(e,t);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{Gw(e,t);break}case d.IFRAME:{rA(e,t);break}case d.SELECT:{nA(e,t);break}case d.OPTION:case d.OPTGROUP:{aA(e,t);break}case d.NOEMBED:case d.NOFRAMES:{Pf(e,t);break}case d.FRAMESET:{Fw(e,t);break}case d.TEXTAREA:{eA(e,t);break}case d.NOSCRIPT:{e.options.scriptingEnabled?Pf(e,t):Ff(e,t);break}case d.PLAINTEXT:{$w(e,t);break}case d.COL:case d.TH:case d.TD:case d.TR:case d.HEAD:case d.FRAME:case d.TBODY:case d.TFOOT:case d.THEAD:case d.CAPTION:case d.COLGROUP:break;default:Ff(e,t)}}function lA(e,t){if(e.openElements.hasInScope(d.BODY)&&(e.insertionMode=D.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function cA(e,t){e.openElements.hasInScope(d.BODY)&&(e.insertionMode=D.AFTER_BODY,_2(e,t))}function fA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function dA(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(d.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(d.FORM):r&&e.openElements.remove(r))}function hA(e){e.openElements.hasInButtonScope(d.P)||e._insertFakeElement(H.P,d.P),e._closePElement()}function mA(e){e.openElements.hasInListItemScope(d.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(d.LI),e.openElements.popUntilTagNamePopped(d.LI))}function pA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function gA(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function bA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function yA(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(H.BR,d.BR),e.openElements.pop(),e.framesetOk=!1}function E2(e,t){const r=t.tagName,n=t.tagID;for(let a=e.openElements.stackTop;a>0;a--){const i=e.openElements.items[a],s=e.openElements.tagIDs[a];if(n===s&&(n!==d.UNKNOWN||e.treeAdapter.getTagName(i)===r)){e.openElements.generateImpliedEndTagsWithExclusion(n),e.openElements.stackTop>=a&&e.openElements.shortenToLength(a);break}if(e._isSpecialElement(i,s))break}}function h0(e,t){switch(t.tagID){case d.A:case d.B:case d.I:case d.S:case d.U:case d.EM:case d.TT:case d.BIG:case d.CODE:case d.FONT:case d.NOBR:case d.SMALL:case d.STRIKE:case d.STRONG:{Pl(e,t);break}case d.P:{hA(e);break}case d.DL:case d.UL:case d.OL:case d.DIR:case d.DIV:case d.NAV:case d.PRE:case d.MAIN:case d.MENU:case d.ASIDE:case d.BUTTON:case d.CENTER:case d.FIGURE:case d.FOOTER:case d.HEADER:case d.HGROUP:case d.DIALOG:case d.ADDRESS:case d.ARTICLE:case d.DETAILS:case d.SEARCH:case d.SECTION:case d.SUMMARY:case d.LISTING:case d.FIELDSET:case d.BLOCKQUOTE:case d.FIGCAPTION:{fA(e,t);break}case d.LI:{mA(e);break}case d.DD:case d.DT:{pA(e,t);break}case d.H1:case d.H2:case d.H3:case d.H4:case d.H5:case d.H6:{gA(e);break}case d.BR:{yA(e);break}case d.BODY:{lA(e,t);break}case d.HTML:{cA(e,t);break}case d.FORM:{dA(e);break}case d.APPLET:case d.OBJECT:case d.MARQUEE:{bA(e,t);break}case d.TEMPLATE:{Ln(e,t);break}default:E2(e,t)}}function T2(e,t){e.tmplInsertionModeStack.length>0?I2(e,t):Fl(e,t)}function xA(e,t){var r;t.tagID===d.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function EA(e,t){e._err(t,q.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function bo(e,t){if(e.openElements.currentTagId!==void 0&&p2.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=D.IN_TABLE_TEXT,t.type){case Le.CHARACTER:{w2(e,t);break}case Le.WHITESPACE_CHARACTER:{v2(e,t);break}}else Ti(e,t)}function TA(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_CAPTION}function vA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_COLUMN_GROUP}function wA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H.COLGROUP,d.COLGROUP),e.insertionMode=D.IN_COLUMN_GROUP,Bl(e,t)}function AA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_TABLE_BODY}function SA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H.TBODY,d.TBODY),e.insertionMode=D.IN_TABLE_BODY,m0(e,t)}function kA(e,t){e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function CA(e,t){x2(t)?e._appendElement(t,re.HTML):Ti(e,t),t.ackSelfClosing=!0}function IA(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,re.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function na(e,t){switch(t.tagID){case d.TD:case d.TH:case d.TR:{SA(e,t);break}case d.STYLE:case d.SCRIPT:case d.TEMPLATE:{or(e,t);break}case d.COL:{wA(e,t);break}case d.FORM:{IA(e,t);break}case d.TABLE:{kA(e,t);break}case d.TBODY:case d.TFOOT:case d.THEAD:{AA(e,t);break}case d.INPUT:{CA(e,t);break}case d.CAPTION:{TA(e,t);break}case d.COLGROUP:{vA(e,t);break}default:Ti(e,t)}}function ai(e,t){switch(t.tagID){case d.TABLE:{e.openElements.hasInTableScope(d.TABLE)&&(e.openElements.popUntilTagNamePopped(d.TABLE),e._resetInsertionMode());break}case d.TEMPLATE:{Ln(e,t);break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:Ti(e,t)}}function Ti(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,d0(e,t),e.fosterParentingEnabled=r}function v2(e,t){e.pendingCharacterTokens.push(t)}function w2(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function _a(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)Ti(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const A2=new Set([d.CAPTION,d.COL,d.COLGROUP,d.TBODY,d.TD,d.TFOOT,d.TH,d.THEAD,d.TR]);function _A(e,t){const r=t.tagID;A2.has(r)?e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,na(e,t)):Ct(e,t)}function NA(e,t){const r=t.tagID;switch(r){case d.CAPTION:case d.TABLE:{e.openElements.hasInTableScope(d.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(d.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_TABLE,r===d.TABLE&&ai(e,t));break}case d.BODY:case d.COL:case d.COLGROUP:case d.HTML:case d.TBODY:case d.TD:case d.TFOOT:case d.TH:case d.THEAD:case d.TR:break;default:h0(e,t)}}function Bl(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.COL:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case d.TEMPLATE:{or(e,t);break}default:ks(e,t)}}function OA(e,t){switch(t.tagID){case d.COLGROUP:{e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case d.TEMPLATE:{Ln(e,t);break}case d.COL:break;default:ks(e,t)}}function ks(e,t){e.openElements.currentTagId===d.COLGROUP&&(e.openElements.pop(),e.insertionMode=D.IN_TABLE,e._processToken(t))}function m0(e,t){switch(t.tagID){case d.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_ROW;break}case d.TH:case d.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(H.TR,d.TR),e.insertionMode=D.IN_ROW,p0(e,t);break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,na(e,t));break}default:na(e,t)}}function xu(e,t){const r=t.tagID;switch(t.tagID){case d.TBODY:case d.TFOOT:case d.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE);break}case d.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE,ai(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:case d.TR:break;default:ai(e,t)}}function p0(e,t){switch(t.tagID){case d.TH:case d.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,re.HTML),e.insertionMode=D.IN_CELL,e.activeFormattingElements.insertMarker();break}case d.CAPTION:case d.COL:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,m0(e,t));break}default:na(e,t)}}function S2(e,t){switch(t.tagID){case d.TR:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY);break}case d.TABLE:{e.openElements.hasInTableScope(d.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,xu(e,t));break}case d.TBODY:case d.TFOOT:case d.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(d.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=D.IN_TABLE_BODY,xu(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:case d.TD:case d.TH:break;default:ai(e,t)}}function RA(e,t){const r=t.tagID;A2.has(r)?(e.openElements.hasInTableScope(d.TD)||e.openElements.hasInTableScope(d.TH))&&(e._closeTableCell(),p0(e,t)):Ct(e,t)}function DA(e,t){const r=t.tagID;switch(r){case d.TD:case d.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=D.IN_ROW);break}case d.TABLE:case d.TBODY:case d.TFOOT:case d.THEAD:case d.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),S2(e,t));break}case d.BODY:case d.CAPTION:case d.COL:case d.COLGROUP:case d.HTML:break;default:h0(e,t)}}function k2(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e._insertElement(t,re.HTML);break}case d.OPTGROUP:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._insertElement(t,re.HTML);break}case d.HR:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop(),e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case d.INPUT:case d.KEYGEN:case d.TEXTAREA:case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),t.tagID!==d.SELECT&&e._processStartTag(t));break}case d.SCRIPT:case d.TEMPLATE:{or(e,t);break}}}function C2(e,t){switch(t.tagID){case d.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===d.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===d.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===d.OPTGROUP&&e.openElements.pop();break}case d.OPTION:{e.openElements.currentTagId===d.OPTION&&e.openElements.pop();break}case d.SELECT:{e.openElements.hasInSelectScope(d.SELECT)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode());break}case d.TEMPLATE:{Ln(e,t);break}}}function LA(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e._processStartTag(t)):k2(e,t)}function MA(e,t){const r=t.tagID;r===d.CAPTION||r===d.TABLE||r===d.TBODY||r===d.TFOOT||r===d.THEAD||r===d.TR||r===d.TD||r===d.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(d.SELECT),e._resetInsertionMode(),e.onEndTag(t)):C2(e,t)}function PA(e,t){switch(t.tagID){case d.BASE:case d.BASEFONT:case d.BGSOUND:case d.LINK:case d.META:case d.NOFRAMES:case d.SCRIPT:case d.STYLE:case d.TEMPLATE:case d.TITLE:{or(e,t);break}case d.CAPTION:case d.COLGROUP:case d.TBODY:case d.TFOOT:case d.THEAD:{e.tmplInsertionModeStack[0]=D.IN_TABLE,e.insertionMode=D.IN_TABLE,na(e,t);break}case d.COL:{e.tmplInsertionModeStack[0]=D.IN_COLUMN_GROUP,e.insertionMode=D.IN_COLUMN_GROUP,Bl(e,t);break}case d.TR:{e.tmplInsertionModeStack[0]=D.IN_TABLE_BODY,e.insertionMode=D.IN_TABLE_BODY,m0(e,t);break}case d.TD:case d.TH:{e.tmplInsertionModeStack[0]=D.IN_ROW,e.insertionMode=D.IN_ROW,p0(e,t);break}default:e.tmplInsertionModeStack[0]=D.IN_BODY,e.insertionMode=D.IN_BODY,Ct(e,t)}}function FA(e,t){t.tagID===d.TEMPLATE&&Ln(e,t)}function I2(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(d.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Fl(e,t)}function BA(e,t){t.tagID===d.HTML?Ct(e,t):Cs(e,t)}function _2(e,t){var r;if(t.tagID===d.HTML){if(e.fragmentContext||(e.insertionMode=D.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===d.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else Cs(e,t)}function Cs(e,t){e.insertionMode=D.IN_BODY,d0(e,t)}function zA(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.FRAMESET:{e._insertElement(t,re.HTML);break}case d.FRAME:{e._appendElement(t,re.HTML),t.ackSelfClosing=!0;break}case d.NOFRAMES:{or(e,t);break}}}function HA(e,t){t.tagID===d.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==d.FRAMESET&&(e.insertionMode=D.AFTER_FRAMESET))}function UA(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.NOFRAMES:{or(e,t);break}}}function jA(e,t){t.tagID===d.HTML&&(e.insertionMode=D.AFTER_AFTER_FRAMESET)}function $A(e,t){t.tagID===d.HTML?Ct(e,t):cs(e,t)}function cs(e,t){e.insertionMode=D.IN_BODY,d0(e,t)}function qA(e,t){switch(t.tagID){case d.HTML:{Ct(e,t);break}case d.NOFRAMES:{or(e,t);break}}}function YA(e,t){t.chars=et,e._insertCharacters(t)}function WA(e,t){e._insertCharacters(t),e.framesetOk=!1}function N2(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==re.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function VA(e,t){if(uw(t))N2(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===re.MATHML?h2(t):n===re.SVG&&(lw(t),m2(t)),Ml(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function GA(e,t){if(t.tagID===d.P||t.tagID===d.BR){N2(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===re.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}H.AREA,H.BASE,H.BASEFONT,H.BGSOUND,H.BR,H.COL,H.EMBED,H.FRAME,H.HR,H.IMG,H.INPUT,H.KEYGEN,H.LINK,H.META,H.PARAM,H.SOURCE,H.TRACK,H.WBR;const XA=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,KA=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Bf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function O2(e,t){const r=sS(e),n=Sp("type",{handlers:{root:QA,element:JA,text:ZA,comment:D2,doctype:eS,raw:rS},unknown:nS}),a={parser:r?new Mf(Bf):Mf.getFragmentParser(void 0,Bf),handle(o){n(o,a)},stitches:!1,options:t||{}};n(e,a),ba(a,br());const i=r?a.parser.document:a.parser.getFragment(),s=ov(i,{file:a.options.file});return a.stitches&&Zs(s,"comment",function(o,u,l){const c=o;if(c.value.stitch&&l&&u!==void 0){const f=l.children;return f[u]=c.value.stitch,u}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function R2(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function QA(e,t){R2(e.children,t)}function JA(e,t){aS(e,t),R2(e.children,t),iS(e,t)}function ZA(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Le.CHARACTER,chars:e.value,location:vi(e)};ba(t,br(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function eS(e,t){const r={type:Le.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:vi(e)};ba(t,br(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function tS(e,t){t.stitches=!0;const r=oS(e);if("children"in e&&"children"in r){const n=O2({type:"root",children:e.children},t.options);r.children=n.children}D2({type:"comment",value:{stitch:r}},t)}function D2(e,t){const r=e.value,n={type:Le.COMMENT,data:r,location:vi(e)};ba(t,br(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function rS(e,t){if(t.parser.tokenizer.preprocessor.html="",t.parser.tokenizer.preprocessor.pos=-1,t.parser.tokenizer.preprocessor.lastGapPos=-2,t.parser.tokenizer.preprocessor.gapStack=[],t.parser.tokenizer.preprocessor.skipNextNewLine=!1,t.parser.tokenizer.preprocessor.lastChunkWritten=!1,t.parser.tokenizer.preprocessor.endOfChunkHit=!1,t.parser.tokenizer.preprocessor.isEol=!1,L2(t,br(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(XA,"<$1$2"):e.value,!1),t.parser.tokenizer._runParsingLoop(),t.parser.tokenizer.state===72||t.parser.tokenizer.state===78){t.parser.tokenizer.preprocessor.lastChunkWritten=!0;const r=t.parser.tokenizer._consume();t.parser.tokenizer._callState(r)}}function nS(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))tS(r,t);else{let n="";throw KA.has(r.type)&&(n=". It looks like you are using MDX nodes with `hast-util-raw` (or `rehype-raw`). If you use this because you are using remark or rehype plugins that inject `'html'` nodes, then please raise an issue with that plugin, as its a bad and slow idea. If you use this because you are using markdown syntax, then you have to configure this utility (or plugin) to pass through these nodes (see `passThrough` in docs), but you can also migrate to use the MDX syntax"),new Error("Cannot compile `"+r.type+"` node"+n)}}function ba(e,t){L2(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=ut.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function L2(e,t){if(t&&t.offset!==void 0){const r={startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:-1,endCol:-1,endOffset:-1};e.parser.tokenizer.preprocessor.lineStartPos=-t.column+1,e.parser.tokenizer.preprocessor.droppedBufferSize=t.offset,e.parser.tokenizer.preprocessor.line=t.line,e.parser.tokenizer.currentLocation=r}}function aS(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===ut.PLAINTEXT)return;ba(t,br(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:mr.html;a===mr.html&&r==="svg"&&(a=mr.svg);const i=dv(it(ae({},e),{children:[]}),{space:a===mr.svg?"svg":"html"}),s={type:Le.START_TAG,tagName:r,tagID:ga(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:vi(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function iS(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&Ev.includes(r)||t.parser.tokenizer.state===ut.PLAINTEXT)return;ba(t,Gs(e));const n={type:Le.END_TAG,tagName:r,tagID:ga(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:vi(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===ut.RCDATA||t.parser.tokenizer.state===ut.RAWTEXT||t.parser.tokenizer.state===ut.SCRIPT_DATA)&&(t.parser.tokenizer.state=ut.DATA)}function sS(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function vi(e){const t=br(e)||{line:void 0,column:void 0,offset:void 0},r=Gs(e)||{line:void 0,column:void 0,offset:void 0};return{startLine:t.line,startCol:t.column,startOffset:t.offset,endLine:r.line,endCol:r.column,endOffset:r.offset}}function oS(e){return"children"in e?Zn(it(ae({},e),{children:[]})):Zn(e)}function uS(e){return function(t,r){return O2(t,it(ae({},e),{file:r}))}}function lS(e){Ep(e,[/\r?\n|\r/g,cS])}function cS(){return{type:"break"}}function fS(){return function(e){lS(e)}}const dS=ee.div`
|
|
305
305
|
position: relative;
|
|
306
306
|
|
|
307
307
|
max-width: 100%;
|
|
@@ -1089,10 +1089,10 @@ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
|
1089
1089
|
.svg-inline--fa mask .fa-secondary {
|
|
1090
1090
|
fill: black;
|
|
1091
1091
|
}`;function K2(){const e=$2,t=q2,r=Ee.cssPrefix,n=Ee.replacementClass;let a=nk;if(r!==e||n!==t){const i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),o=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(r,"-")).replace(s,"--".concat(r,"-")).replace(o,".".concat(n))}return a}let Vf=!1;function xo(){Ee.autoAddCss&&!Vf&&(JS(K2()),Vf=!0)}var ak={mixout(){return{dom:{css:K2,insertCss:xo}}},hooks(){return{beforeDOMElementCreation(){xo()},beforeI2svg(){xo()}}}};const Or=en||{};Or[Nr]||(Or[Nr]={});Or[Nr].styles||(Or[Nr].styles={});Or[Nr].hooks||(Or[Nr].hooks={});Or[Nr].shims||(Or[Nr].shims=[]);var gr=Or[Nr];const Q2=[],J2=function(){Je.removeEventListener("DOMContentLoaded",J2),Is=1,Q2.map(e=>e())};let Is=!1;Pr&&(Is=(Je.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Je.readyState),Is||Je.addEventListener("DOMContentLoaded",J2));function ik(e){Pr&&(Is?setTimeout(e,0):Q2.push(e))}function Ai(e){const{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?X2(e):"<".concat(t," ").concat(ek(r),">").concat(n.map(Ai).join(""),"</").concat(t,">")}function Gf(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var Eo=function(t,r,n,a){var i=Object.keys(t),s=i.length,o=r,u,l,c;for(n===void 0?(u=1,c=t[i[0]]):(u=0,c=n);u<s;u++)l=i[u],c=o(c,t[l],l,t);return c};function sk(e){const t=[];let r=0;const n=e.length;for(;r<n;){const a=e.charCodeAt(r++);if(a>=55296&&a<=56319&&r<n){const i=e.charCodeAt(r++);(i&64512)==56320?t.push(((a&1023)<<10)+(i&1023)+65536):(t.push(a),r--)}else t.push(a)}return t}function Cu(e){const t=sk(e);return t.length===1?t[0].toString(16):null}function ok(e,t){const r=e.length;let n=e.charCodeAt(t),a;return n>=55296&&n<=56319&&r>t+1&&(a=e.charCodeAt(t+1),a>=56320&&a<=57343)?(n-55296)*1024+a-56320+65536:n}function Xf(e){return Object.keys(e).reduce((t,r)=>{const n=e[r];return!!n.icon?t[n.iconName]=n.icon:t[r]=n,t},{})}function Iu(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:n=!1}=r,a=Xf(t);typeof gr.hooks.addPack=="function"&&!n?gr.hooks.addPack(e,Xf(t)):gr.styles[e]=oe(oe({},gr.styles[e]||{}),a),e==="fas"&&Iu("fa",t)}const{styles:si,shims:uk}=gr,Z2=Object.keys(jl),lk=Z2.reduce((e,t)=>(e[t]=Object.keys(jl[t]),e),{});let Yl=null,e4={},t4={},r4={},n4={},a4={};function ck(e){return~GS.indexOf(e)}function fk(e,t){const r=t.split("-"),n=r[0],a=r.slice(1).join("-");return n===e&&a!==""&&!ck(a)?a:null}const i4=()=>{const e=n=>Eo(si,(a,i,s)=>(a[s]=Eo(i,n,{}),a),{});e4=e((n,a,i)=>(a[3]&&(n[a[3]]=i),a[2]&&a[2].filter(o=>typeof o=="number").forEach(o=>{n[o.toString(16)]=i}),n)),t4=e((n,a,i)=>(n[i]=i,a[2]&&a[2].filter(o=>typeof o=="string").forEach(o=>{n[o]=i}),n)),a4=e((n,a,i)=>{const s=a[2];return n[i]=i,s.forEach(o=>{n[o]=i}),n});const t="far"in si||Ee.autoFetchSvg,r=Eo(uk,(n,a)=>{const i=a[0];let s=a[1];const o=a[2];return s==="far"&&!t&&(s="fas"),typeof i=="string"&&(n.names[i]={prefix:s,iconName:o}),typeof i=="number"&&(n.unicodes[i.toString(16)]={prefix:s,iconName:o}),n},{names:{},unicodes:{}});r4=r.names,n4=r.unicodes,Yl=y0(Ee.styleDefault,{family:Ee.familyDefault})};QS(e=>{Yl=y0(e.styleDefault,{family:Ee.familyDefault})});i4();function Wl(e,t){return(e4[e]||{})[t]}function dk(e,t){return(t4[e]||{})[t]}function En(e,t){return(a4[e]||{})[t]}function s4(e){return r4[e]||{prefix:null,iconName:null}}function hk(e){const t=n4[e],r=Wl("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function tn(){return Yl}const o4=()=>({prefix:null,iconName:null,rest:[]});function mk(e){let t=St;const r=Z2.reduce((n,a)=>(n[a]="".concat(Ee.cssPrefix,"-").concat(a),n),{});return U2.forEach(n=>{(e.includes(r[n])||e.some(a=>lk[n].includes(a)))&&(t=n)}),t}function y0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=St}=t,n=$S[r][e];if(r===g0&&!e)return"fad";const a=Wf[r][e]||Wf[r][n],i=e in gr.styles?e:null;return a||i||null}function pk(e){let t=[],r=null;return e.forEach(n=>{const a=fk(Ee.cssPrefix,n);a?r=a:n&&t.push(n)}),{iconName:r,rest:t}}function Kf(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function x0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let n=null;const a=Tu.concat(OS),i=Kf(e.filter(f=>a.includes(f))),s=Kf(e.filter(f=>!Tu.includes(f))),o=i.filter(f=>(n=f,!H2.includes(f))),[u=null]=o,l=mk(i),c=oe(oe({},pk(s)),{},{prefix:y0(u,{family:l})});return oe(oe(oe({},c),xk({values:e,family:l,styles:si,config:Ee,canonical:c,givenPrefix:n})),gk(r,n,c))}function gk(e,t,r){let{prefix:n,iconName:a}=r;if(e||!n||!a)return{prefix:n,iconName:a};const i=t==="fa"?s4(a):{},s=En(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!si.far&&si.fas&&!Ee.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}const bk=U2.filter(e=>e!==St||e!==g0),yk=Object.keys(Eu).filter(e=>e!==St).map(e=>Object.keys(Eu[e])).flat();function xk(e){const{values:t,family:r,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,o=r===g0,u=t.includes("fa-duotone")||t.includes("fad"),l=s.familyDefault==="duotone",c=n.prefix==="fad"||n.prefix==="fa-duotone";if(!o&&(u||l||c)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&bk.includes(r)&&(Object.keys(i).find(p=>yk.includes(p))||s.autoFetchSvg)){const p=wS.get(r).defaultShortPrefixId;n.prefix=p,n.iconName=En(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||a==="fa")&&(n.prefix=tn()||"fas"),n}class Ek{constructor(){this.definitions={}}add(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];const a=r.reduce(this._pullDefinitions,{});Object.keys(a).forEach(i=>{this.definitions[i]=oe(oe({},this.definitions[i]||{}),a[i]),Iu(i,a[i]);const s=jl[St][i];s&&Iu(s,a[i]),i4()})}reset(){this.definitions={}}_pullDefinitions(t,r){const n=r.prefix&&r.iconName&&r.icon?{0:r}:r;return Object.keys(n).map(a=>{const{prefix:i,iconName:s,icon:o}=n[a],u=o[2];t[i]||(t[i]={}),u.length>0&&u.forEach(l=>{typeof l=="string"&&(t[i][l]=o)}),t[i][s]=o}),t}}let Qf=[],qn={};const Vn={},Tk=Object.keys(Vn);function vk(e,t){let{mixoutsTo:r}=t;return Qf=e,qn={},Object.keys(Vn).forEach(n=>{Tk.indexOf(n)===-1&&delete Vn[n]}),Qf.forEach(n=>{const a=n.mixout?n.mixout():{};if(Object.keys(a).forEach(i=>{typeof a[i]=="function"&&(r[i]=a[i]),typeof a[i]=="object"&&Object.keys(a[i]).forEach(s=>{r[i]||(r[i]={}),r[i][s]=a[i][s]})}),n.hooks){const i=n.hooks();Object.keys(i).forEach(s=>{qn[s]||(qn[s]=[]),qn[s].push(i[s])})}n.provides&&n.provides(Vn)}),r}function _u(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),a=2;a<r;a++)n[a-2]=arguments[a];return(qn[e]||[]).forEach(s=>{t=s.apply(null,[t,...n])}),t}function _n(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(qn[e]||[]).forEach(i=>{i.apply(null,r)})}function rn(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Vn[e]?Vn[e].apply(null,t):void 0}function Nu(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||tn();if(t)return t=En(r,t)||t,Gf(u4.definitions,r,t)||Gf(gr.styles,r,t)}const u4=new Ek,wk=()=>{Ee.autoReplaceSvg=!1,Ee.observeMutations=!1,_n("noAuto")},Ak={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Pr?(_n("beforeI2svg",e),rn("pseudoElements2svg",e),rn("i2svg",e)):Promise.reject(new Error("Operation requires a DOM of some kind."))},watch:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t}=e;Ee.autoReplaceSvg===!1&&(Ee.autoReplaceSvg=!0),Ee.observeMutations=!0,ik(()=>{kk({autoReplaceSvgRoot:t}),_n("watch",e)})}},Sk={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:En(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&e.length===2){const t=e[1].indexOf("fa-")===0?e[1].slice(3):e[1],r=y0(e[0]);return{prefix:r,iconName:En(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(Ee.cssPrefix,"-"))>-1||e.match(qS))){const t=x0(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||tn(),iconName:En(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=tn();return{prefix:t,iconName:En(t,e)||e}}}},Vt={noAuto:wk,config:Ee,dom:Ak,parse:Sk,library:u4,findIconDefinition:Nu,toHtml:Ai},kk=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=Je}=e;(Object.keys(gr.styles).length>0||Ee.autoFetchSvg)&&Pr&&Ee.autoReplaceSvg&&Vt.dom.i2svg({node:t})};function E0(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>Ai(r))}}),Object.defineProperty(e,"node",{get:function(){if(!Pr)return;const r=Je.createElement("div");return r.innerHTML=e.html,r.children}}),e}function Ck(e){let{children:t,main:r,mask:n,attributes:a,styles:i,transform:s}=e;if(ql(s)&&r.found&&!n.found){const{width:o,height:u}=r,l={x:o/u/2,y:.5};a.style=b0(oe(oe({},i),{},{"transform-origin":"".concat(l.x+s.x/16,"em ").concat(l.y+s.y/16,"em")}))}return[{tag:"svg",attributes:a,children:t}]}function Ik(e){let{prefix:t,iconName:r,children:n,attributes:a,symbol:i}=e;const s=i===!0?"".concat(t,"-").concat(Ee.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:oe(oe({},a),{},{id:s}),children:n}]}]}function Vl(e){const{icons:{main:t,mask:r},prefix:n,iconName:a,transform:i,symbol:s,title:o,maskId:u,titleId:l,extra:c,watchable:f=!1}=e,{width:p,height:h}=r.found?r:t,b=IS.includes(n),y=[Ee.replacementClass,a?"".concat(Ee.cssPrefix,"-").concat(a):""].filter(B=>c.classes.indexOf(B)===-1).filter(B=>B!==""||!!B).concat(c.classes).join(" ");let E={children:[],attributes:oe(oe({},c.attributes),{},{"data-prefix":n,"data-icon":a,class:y,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(h)})};const T=b&&!~c.classes.indexOf("fa-fw")?{width:"".concat(p/h*16*.0625,"em")}:{};f&&(E.attributes[In]=""),o&&(E.children.push({tag:"title",attributes:{id:E.attributes["aria-labelledby"]||"title-".concat(l||ii())},children:[o]}),delete E.attributes.title);const A=oe(oe({},E),{},{prefix:n,iconName:a,main:t,mask:r,maskId:u,transform:i,symbol:s,styles:oe(oe({},T),c.styles)}),{children:k,attributes:F}=r.found&&t.found?rn("generateAbstractMask",A)||{children:[],attributes:{}}:rn("generateAbstractIcon",A)||{children:[],attributes:{}};return A.children=k,A.attributes=F,s?Ik(A):Ck(A)}function Jf(e){const{content:t,width:r,height:n,transform:a,title:i,extra:s,watchable:o=!1}=e,u=oe(oe(oe({},s.attributes),i?{title:i}:{}),{},{class:s.classes.join(" ")});o&&(u[In]="");const l=oe({},s.styles);ql(a)&&(l.transform=rk({transform:a,startCentered:!0,width:r,height:n}),l["-webkit-transform"]=l.transform);const c=b0(l);c.length>0&&(u.style=c);const f=[];return f.push({tag:"span",attributes:u,children:[t]}),i&&f.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),f}function _k(e){const{content:t,title:r,extra:n}=e,a=oe(oe(oe({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=b0(n.styles);i.length>0&&(a.style=i);const s=[];return s.push({tag:"span",attributes:a,children:[t]}),r&&s.push({tag:"span",attributes:{class:"sr-only"},children:[r]}),s}const{styles:To}=gr;function Ou(e){const t=e[0],r=e[1],[n]=e.slice(4);let a=null;return Array.isArray(n)?a={tag:"g",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(yo.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(yo.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(Ee.cssPrefix,"-").concat(yo.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:a}}const Nk={found:!1,width:512,height:512};function Ok(e,t){!Y2&&!Ee.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function Ru(e,t){let r=t;return t==="fa"&&Ee.styleDefault!==null&&(t=tn()),new Promise((n,a)=>{if(r==="fa"){const i=s4(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&To[t]&&To[t][e]){const i=To[t][e];return n(Ou(i))}Ok(e,t),n(oe(oe({},Nk),{},{icon:Ee.showMissingIcons&&e?rn("missingIconAbstract")||{}:{}}))})}const Zf=()=>{},Du=Ee.measurePerformance&&Vi&&Vi.mark&&Vi.measure?Vi:{mark:Zf,measure:Zf},Pa='FA "6.7.2"',Rk=e=>(Du.mark("".concat(Pa," ").concat(e," begins")),()=>l4(e)),l4=e=>{Du.mark("".concat(Pa," ").concat(e," ends")),Du.measure("".concat(Pa," ").concat(e),"".concat(Pa," ").concat(e," begins"),"".concat(Pa," ").concat(e," ends"))};var Gl={begin:Rk,end:l4};const fs=()=>{};function ed(e){return typeof(e.getAttribute?e.getAttribute(In):null)=="string"}function Dk(e){const t=e.getAttribute?e.getAttribute(Hl):null,r=e.getAttribute?e.getAttribute(Ul):null;return t&&r}function Lk(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(Ee.replacementClass)}function Mk(){return Ee.autoReplaceSvg===!0?ds.replace:ds[Ee.autoReplaceSvg]||ds.replace}function Pk(e){return Je.createElementNS("http://www.w3.org/2000/svg",e)}function Fk(e){return Je.createElement(e)}function c4(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?Pk:Fk}=t;if(typeof e=="string")return Je.createTextNode(e);const n=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){n.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){n.appendChild(c4(i,{ceFn:r}))}),n}function Bk(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const ds={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(c4(r),t)}),t.getAttribute(In)===null&&Ee.keepOriginalSource){let r=Je.createComment(Bk(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~$l(t).indexOf(Ee.replacementClass))return ds.replace(e);const n=new RegExp("".concat(Ee.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const i=r[0].attributes.class.split(" ").reduce((s,o)=>(o===Ee.replacementClass||o.match(n)?s.toSvg.push(o):s.toNode.push(o),s),{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}const a=r.map(i=>Ai(i)).join(`
|
|
1092
|
-
`);t.setAttribute(In,""),t.innerHTML=a}};function td(e){e()}function f4(e,t){const r=typeof t=="function"?t:fs;if(e.length===0)r();else{let n=td;Ee.mutateApproach===US&&(n=en.requestAnimationFrame||td),n(()=>{const a=Mk(),i=Gl.begin("mutate");e.map(a),i(),r()})}}let Xl=!1;function d4(){Xl=!0}function Lu(){Xl=!1}let _s=null;function rd(e){if(!jf||!Ee.observeMutations)return;const{treeCallback:t=fs,nodeCallback:r=fs,pseudoElementsCallback:n=fs,observeMutationsRoot:a=Je}=e;_s=new jf(i=>{if(Xl)return;const s=tn();ya(i).forEach(o=>{if(o.type==="childList"&&o.addedNodes.length>0&&!ed(o.addedNodes[0])&&(Ee.searchPseudoElements&&n(o.target),t(o.target)),o.type==="attributes"&&o.target.parentNode&&Ee.searchPseudoElements&&n(o.target.parentNode),o.type==="attributes"&&ed(o.target)&&~VS.indexOf(o.attributeName))if(o.attributeName==="class"&&Dk(o.target)){const{prefix:u,iconName:l}=x0($l(o.target));o.target.setAttribute(Hl,u||s),l&&o.target.setAttribute(Ul,l)}else Lk(o.target)&&r(o.target)})}),Pr&&_s.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function zk(){_s&&_s.disconnect()}function Hk(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((n,a)=>{const i=a.split(":"),s=i[0],o=i.slice(1);return s&&o.length>0&&(n[s]=o.join(":").trim()),n},{})),r}function Uk(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"";let a=x0($l(e));return a.prefix||(a.prefix=tn()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=dk(a.prefix,e.innerText)||Wl(a.prefix,Cu(e.innerText))),!a.iconName&&Ee.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function jk(e){const t=ya(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return Ee.autoA11y&&(r?t["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(n||ii()):(t["aria-hidden"]="true",t.focusable="false")),t}function $k(){return{iconName:null,title:null,titleId:null,prefix:null,transform:pr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function nd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:n,rest:a}=Uk(e),i=jk(e),s=_u("parseNodeAttributes",{},e);let o=t.styleParser?Hk(e):[];return oe({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:pr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:o,attributes:i}},s)}const{styles:qk}=gr;function h4(e){const t=Ee.autoReplaceSvg==="nest"?nd(e,{styleParser:!1}):nd(e);return~t.extra.classes.indexOf(V2)?rn("generateLayersText",e,t):rn("generateSvgReplacementMutation",e,t)}function Yk(){return[...SS,...Tu]}function ad(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Pr)return Promise.resolve();const r=Je.documentElement.classList,n=c=>r.add("".concat(Yf,"-").concat(c)),a=c=>r.remove("".concat(Yf,"-").concat(c)),i=Ee.autoFetchSvg?Yk():H2.concat(Object.keys(qk));i.includes("fa")||i.push("fa");const s=[".".concat(V2,":not([").concat(In,"])")].concat(i.map(c=>".".concat(c,":not([").concat(In,"])"))).join(", ");if(s.length===0)return Promise.resolve();let o=[];try{o=ya(e.querySelectorAll(s))}catch(c){}if(o.length>0)n("pending"),a("complete");else return Promise.resolve();const u=Gl.begin("onTree"),l=o.reduce((c,f)=>{try{const p=h4(f);p&&c.push(p)}catch(p){Y2||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise((c,f)=>{Promise.all(l).then(p=>{f4(p,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),u(),c()})}).catch(p=>{u(),f(p)})})}function Wk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;h4(e).then(r=>{r&&f4([r],t)})}function Vk(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=(t||{}).icon?t:Nu(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:Nu(a||{})),e(n,oe(oe({},r),{},{mask:a}))}}const Gk=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=pr,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:o=null,classes:u=[],attributes:l={},styles:c={}}=t;if(!e)return;const{prefix:f,iconName:p,icon:h}=e;return E0(oe({type:"icon"},e),()=>(_n("beforeDOMElementCreation",{iconDefinition:e,params:t}),Ee.autoA11y&&(s?l["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(o||ii()):(l["aria-hidden"]="true",l.focusable="false")),Vl({icons:{main:Ou(h),mask:a?Ou(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:oe(oe({},pr),r),symbol:n,title:s,maskId:i,titleId:o,extra:{attributes:l,styles:c,classes:u}})))};var Xk={mixout(){return{icon:Vk(Gk)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=ad,e.nodeCallback=Wk,e}}},provides(e){e.i2svg=function(t){const{node:r=Je,callback:n=()=>{}}=t;return ad(r,n)},e.generateSvgReplacementMutation=function(t,r){const{iconName:n,title:a,titleId:i,prefix:s,transform:o,symbol:u,mask:l,maskId:c,extra:f}=r;return new Promise((p,h)=>{Promise.all([Ru(n,s),l.iconName?Ru(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(b=>{let[y,E]=b;p([t,Vl({icons:{main:y,mask:E},prefix:s,iconName:n,transform:o,symbol:u,maskId:c,title:a,titleId:i,extra:f,watchable:!0})])}).catch(h)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t;const o=b0(s);o.length>0&&(n.style=o);let u;return ql(i)&&(u=rn("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(u||a.icon),{children:r,attributes:n}}}},Kk={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return E0({type:"layer"},()=>{_n("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(a=>{Array.isArray(a)?a.map(i=>{n=n.concat(i.abstract)}):n=n.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Ee.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Qk={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:r=null,classes:n=[],attributes:a={},styles:i={}}=t;return E0({type:"counter",content:e},()=>(_n("beforeDOMElementCreation",{content:e,params:t}),_k({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(Ee.cssPrefix,"-layers-counter"),...n]}})))}}}},Jk={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=pr,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return E0({type:"text",content:e},()=>(_n("beforeDOMElementCreation",{content:e,params:t}),Jf({content:e,transform:oe(oe({},pr),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(Ee.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:n,transform:a,extra:i}=r;let s=null,o=null;if(B2){const u=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();s=l.width/u,o=l.height/u}return Ee.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Jf({content:t.innerHTML,width:s,height:o,transform:a,title:n,extra:i,watchable:!0})])}}};const Zk=new RegExp('"',"ug"),id=[1105920,1112319],sd=oe(oe(oe(oe({},{FontAwesome:{normal:"fas",400:"fas"}}),vS),zS),RS),Mu=Object.keys(sd).reduce((e,t)=>(e[t.toLowerCase()]=sd[t],e),{}),eC=Object.keys(Mu).reduce((e,t)=>{const r=Mu[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function tC(e){const t=e.replace(Zk,""),r=ok(t,0),n=r>=id[0]&&r<=id[1],a=t.length===2?t[0]===t[1]:!1;return{value:Cu(a?t[0]:t),isSecondary:n||a}}function rC(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(Mu[r]||{})[a]||eC[r]}function od(e,t){const r="".concat(HS).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();const s=ya(e.children).filter(p=>p.getAttribute(wu)===t)[0],o=en.getComputedStyle(e,t),u=o.getPropertyValue("font-family"),l=u.match(YS),c=o.getPropertyValue("font-weight"),f=o.getPropertyValue("content");if(s&&!l)return e.removeChild(s),n();if(l&&f!=="none"&&f!==""){const p=o.getPropertyValue("content");let h=rC(u,c);const{value:b,isSecondary:y}=tC(p),E=l[0].startsWith("FontAwesome");let T=Wl(h,b),A=T;if(E){const k=hk(b);k.iconName&&k.prefix&&(T=k.iconName,h=k.prefix)}if(T&&!y&&(!s||s.getAttribute(Hl)!==h||s.getAttribute(Ul)!==A)){e.setAttribute(r,A),s&&e.removeChild(s);const k=$k(),{extra:F}=k;F.attributes[wu]=t,Ru(T,h).then(B=>{const
|
|
1092
|
+
`);t.setAttribute(In,""),t.innerHTML=a}};function td(e){e()}function f4(e,t){const r=typeof t=="function"?t:fs;if(e.length===0)r();else{let n=td;Ee.mutateApproach===US&&(n=en.requestAnimationFrame||td),n(()=>{const a=Mk(),i=Gl.begin("mutate");e.map(a),i(),r()})}}let Xl=!1;function d4(){Xl=!0}function Lu(){Xl=!1}let _s=null;function rd(e){if(!jf||!Ee.observeMutations)return;const{treeCallback:t=fs,nodeCallback:r=fs,pseudoElementsCallback:n=fs,observeMutationsRoot:a=Je}=e;_s=new jf(i=>{if(Xl)return;const s=tn();ya(i).forEach(o=>{if(o.type==="childList"&&o.addedNodes.length>0&&!ed(o.addedNodes[0])&&(Ee.searchPseudoElements&&n(o.target),t(o.target)),o.type==="attributes"&&o.target.parentNode&&Ee.searchPseudoElements&&n(o.target.parentNode),o.type==="attributes"&&ed(o.target)&&~VS.indexOf(o.attributeName))if(o.attributeName==="class"&&Dk(o.target)){const{prefix:u,iconName:l}=x0($l(o.target));o.target.setAttribute(Hl,u||s),l&&o.target.setAttribute(Ul,l)}else Lk(o.target)&&r(o.target)})}),Pr&&_s.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function zk(){_s&&_s.disconnect()}function Hk(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((n,a)=>{const i=a.split(":"),s=i[0],o=i.slice(1);return s&&o.length>0&&(n[s]=o.join(":").trim()),n},{})),r}function Uk(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"";let a=x0($l(e));return a.prefix||(a.prefix=tn()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=dk(a.prefix,e.innerText)||Wl(a.prefix,Cu(e.innerText))),!a.iconName&&Ee.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function jk(e){const t=ya(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return Ee.autoA11y&&(r?t["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(n||ii()):(t["aria-hidden"]="true",t.focusable="false")),t}function $k(){return{iconName:null,title:null,titleId:null,prefix:null,transform:pr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function nd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:n,rest:a}=Uk(e),i=jk(e),s=_u("parseNodeAttributes",{},e);let o=t.styleParser?Hk(e):[];return oe({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:pr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:o,attributes:i}},s)}const{styles:qk}=gr;function h4(e){const t=Ee.autoReplaceSvg==="nest"?nd(e,{styleParser:!1}):nd(e);return~t.extra.classes.indexOf(V2)?rn("generateLayersText",e,t):rn("generateSvgReplacementMutation",e,t)}function Yk(){return[...SS,...Tu]}function ad(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Pr)return Promise.resolve();const r=Je.documentElement.classList,n=c=>r.add("".concat(Yf,"-").concat(c)),a=c=>r.remove("".concat(Yf,"-").concat(c)),i=Ee.autoFetchSvg?Yk():H2.concat(Object.keys(qk));i.includes("fa")||i.push("fa");const s=[".".concat(V2,":not([").concat(In,"])")].concat(i.map(c=>".".concat(c,":not([").concat(In,"])"))).join(", ");if(s.length===0)return Promise.resolve();let o=[];try{o=ya(e.querySelectorAll(s))}catch(c){}if(o.length>0)n("pending"),a("complete");else return Promise.resolve();const u=Gl.begin("onTree"),l=o.reduce((c,f)=>{try{const p=h4(f);p&&c.push(p)}catch(p){Y2||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise((c,f)=>{Promise.all(l).then(p=>{f4(p,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),u(),c()})}).catch(p=>{u(),f(p)})})}function Wk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;h4(e).then(r=>{r&&f4([r],t)})}function Vk(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=(t||{}).icon?t:Nu(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:Nu(a||{})),e(n,oe(oe({},r),{},{mask:a}))}}const Gk=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=pr,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:o=null,classes:u=[],attributes:l={},styles:c={}}=t;if(!e)return;const{prefix:f,iconName:p,icon:h}=e;return E0(oe({type:"icon"},e),()=>(_n("beforeDOMElementCreation",{iconDefinition:e,params:t}),Ee.autoA11y&&(s?l["aria-labelledby"]="".concat(Ee.replacementClass,"-title-").concat(o||ii()):(l["aria-hidden"]="true",l.focusable="false")),Vl({icons:{main:Ou(h),mask:a?Ou(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:oe(oe({},pr),r),symbol:n,title:s,maskId:i,titleId:o,extra:{attributes:l,styles:c,classes:u}})))};var Xk={mixout(){return{icon:Vk(Gk)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=ad,e.nodeCallback=Wk,e}}},provides(e){e.i2svg=function(t){const{node:r=Je,callback:n=()=>{}}=t;return ad(r,n)},e.generateSvgReplacementMutation=function(t,r){const{iconName:n,title:a,titleId:i,prefix:s,transform:o,symbol:u,mask:l,maskId:c,extra:f}=r;return new Promise((p,h)=>{Promise.all([Ru(n,s),l.iconName?Ru(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(b=>{let[y,E]=b;p([t,Vl({icons:{main:y,mask:E},prefix:s,iconName:n,transform:o,symbol:u,maskId:c,title:a,titleId:i,extra:f,watchable:!0})])}).catch(h)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t;const o=b0(s);o.length>0&&(n.style=o);let u;return ql(i)&&(u=rn("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(u||a.icon),{children:r,attributes:n}}}},Kk={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return E0({type:"layer"},()=>{_n("beforeDOMElementCreation",{assembler:e,params:t});let n=[];return e(a=>{Array.isArray(a)?a.map(i=>{n=n.concat(i.abstract)}):n=n.concat(a.abstract)}),[{tag:"span",attributes:{class:["".concat(Ee.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Qk={mixout(){return{counter(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{title:r=null,classes:n=[],attributes:a={},styles:i={}}=t;return E0({type:"counter",content:e},()=>(_n("beforeDOMElementCreation",{content:e,params:t}),_k({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(Ee.cssPrefix,"-layers-counter"),...n]}})))}}}},Jk={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=pr,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return E0({type:"text",content:e},()=>(_n("beforeDOMElementCreation",{content:e,params:t}),Jf({content:e,transform:oe(oe({},pr),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(Ee.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:n,transform:a,extra:i}=r;let s=null,o=null;if(B2){const u=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();s=l.width/u,o=l.height/u}return Ee.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Jf({content:t.innerHTML,width:s,height:o,transform:a,title:n,extra:i,watchable:!0})])}}};const Zk=new RegExp('"',"ug"),id=[1105920,1112319],sd=oe(oe(oe(oe({},{FontAwesome:{normal:"fas",400:"fas"}}),vS),zS),RS),Mu=Object.keys(sd).reduce((e,t)=>(e[t.toLowerCase()]=sd[t],e),{}),eC=Object.keys(Mu).reduce((e,t)=>{const r=Mu[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function tC(e){const t=e.replace(Zk,""),r=ok(t,0),n=r>=id[0]&&r<=id[1],a=t.length===2?t[0]===t[1]:!1;return{value:Cu(a?t[0]:t),isSecondary:n||a}}function rC(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(Mu[r]||{})[a]||eC[r]}function od(e,t){const r="".concat(HS).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();const s=ya(e.children).filter(p=>p.getAttribute(wu)===t)[0],o=en.getComputedStyle(e,t),u=o.getPropertyValue("font-family"),l=u.match(YS),c=o.getPropertyValue("font-weight"),f=o.getPropertyValue("content");if(s&&!l)return e.removeChild(s),n();if(l&&f!=="none"&&f!==""){const p=o.getPropertyValue("content");let h=rC(u,c);const{value:b,isSecondary:y}=tC(p),E=l[0].startsWith("FontAwesome");let T=Wl(h,b),A=T;if(E){const k=hk(b);k.iconName&&k.prefix&&(T=k.iconName,h=k.prefix)}if(T&&!y&&(!s||s.getAttribute(Hl)!==h||s.getAttribute(Ul)!==A)){e.setAttribute(r,A),s&&e.removeChild(s);const k=$k(),{extra:F}=k;F.attributes[wu]=t,Ru(T,h).then(B=>{const N=Vl(oe(oe({},k),{},{icons:{main:B,mask:o4()},prefix:h,iconName:A,extra:F,watchable:!0})),M=Je.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(M,e.firstChild):e.appendChild(M),M.outerHTML=N.map(z=>Ai(z)).join(`
|
|
1093
1093
|
`),e.removeAttribute(r),n()}).catch(a)}else n()}else n()})}function nC(e){return Promise.all([od(e,"::before"),od(e,"::after")])}function aC(e){return e.parentNode!==document.head&&!~jS.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(wu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function ud(e){if(Pr)return new Promise((t,r)=>{const n=ya(e.querySelectorAll("*")).filter(aC).map(nC),a=Gl.begin("searchPseudoElements");d4(),Promise.all(n).then(()=>{a(),Lu(),t()}).catch(()=>{a(),Lu(),r()})})}var iC={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=ud,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=Je}=t;Ee.searchPseudoElements&&ud(r)}}};let ld=!1;var sC={mixout(){return{dom:{unwatch(){d4(),ld=!0}}}},hooks(){return{bootstrap(){rd(_u("mutationObserverCallbacks",{}))},noAuto(){zk()},watch(e){const{observeMutationsRoot:t}=e;ld?Lu():rd(_u("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const cd=e=>{let t={size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0};return e.toLowerCase().split(" ").reduce((r,n)=>{const a=n.toLowerCase().split("-"),i=a[0];let s=a.slice(1).join("-");if(i&&s==="h")return r.flipX=!0,r;if(i&&s==="v")return r.flipY=!0,r;if(s=parseFloat(s),isNaN(s))return r;switch(i){case"grow":r.size=r.size+s;break;case"shrink":r.size=r.size-s;break;case"left":r.x=r.x-s;break;case"right":r.x=r.x+s;break;case"up":r.y=r.y-s;break;case"down":r.y=r.y+s;break;case"rotate":r.rotate=r.rotate+s;break}return r},t)};var oC={mixout(){return{parse:{transform:e=>cd(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=cd(r)),e}}},provides(e){e.generateAbstractTransformGrouping=function(t){let{main:r,transform:n,containerWidth:a,iconWidth:i}=t;const s={transform:"translate(".concat(a/2," 256)")},o="translate(".concat(n.x*32,", ").concat(n.y*32,") "),u="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={transform:"".concat(o," ").concat(u," ").concat(l)},f={transform:"translate(".concat(i/2*-1," -256)")},p={outer:s,inner:c,path:f};return{tag:"g",attributes:oe({},p.outer),children:[{tag:"g",attributes:oe({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:oe(oe({},r.icon.attributes),p.path)}]}]}}}};const vo={x:0,y:0,width:"100%",height:"100%"};function fd(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0;return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}function uC(e){return e.tag==="g"?e.children:[e]}var lC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),n=r?x0(r.split(" ").map(a=>a.trim())):o4();return n.prefix||(n.prefix=tn()),e.mask=n,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides(e){e.generateAbstractMask=function(t){let{children:r,attributes:n,main:a,mask:i,maskId:s,transform:o}=t;const{width:u,icon:l}=a,{width:c,icon:f}=i,p=tk({transform:o,containerWidth:c,iconWidth:u}),h={tag:"rect",attributes:oe(oe({},vo),{},{fill:"white"})},b=l.children?{children:l.children.map(fd)}:{},y={tag:"g",attributes:oe({},p.inner),children:[fd(oe({tag:l.tag,attributes:oe(oe({},l.attributes),p.path)},b))]},E={tag:"g",attributes:oe({},p.outer),children:[y]},T="mask-".concat(s||ii()),A="clip-".concat(s||ii()),k={tag:"mask",attributes:oe(oe({},vo),{},{id:T,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[h,E]},F={tag:"defs",children:[{tag:"clipPath",attributes:{id:A},children:uC(f)},k]};return r.push(F,{tag:"rect",attributes:oe({fill:"currentColor","clip-path":"url(#".concat(A,")"),mask:"url(#".concat(T,")")},vo)}),{children:r,attributes:n}}}},cC={provides(e){let t=!1;en.matchMedia&&(t=en.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){const r=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};r.push({tag:"path",attributes:oe(oe({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});const i=oe(oe({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:oe(oe({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:oe(oe({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:oe(oe({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:oe(oe({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:oe(oe({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:oe(oe({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:oe(oe({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},fC={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},dC=[ak,Xk,Kk,Qk,Jk,iC,sC,oC,lC,cC,fC];vk(dC,{mixoutsTo:Vt});Vt.noAuto;Vt.config;Vt.library;Vt.dom;const Pu=Vt.parse;Vt.findIconDefinition;Vt.toHtml;const hC=Vt.icon;Vt.layer;Vt.text;Vt.counter;var m4={exports:{}},mC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",pC=mC,gC=pC;function p4(){}function g4(){}g4.resetWarningCache=p4;var bC=function(){function e(n,a,i,s,o,u){if(u!==gC){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}e.isRequired=e;function t(){return e}var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:g4,resetWarningCache:p4};return r.PropTypes=r,r};m4.exports=bC();var yC=m4.exports;const De=Ws(yC);function Fu(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function xC(e){if(Array.isArray(e))return e}function EC(e){if(Array.isArray(e))return Fu(e)}function Wr(e,t,r){return(t=IC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function TC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function vC(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,s,o=[],u=!0,l=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(u=(n=i.call(r)).done)&&(o.push(n.value),o.length!==t);u=!0);}catch(c){l=!0,a=c}finally{try{if(!u&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return o}}function wC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1094
1094
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function AC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1095
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function dr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dd(Object(r),!0).forEach(function(n){Wr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function SC(e,t){if(e==null)return{};var r,n,a=kC(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function kC(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function hd(e,t){return xC(e)||vC(e,t)||b4(e,t)||wC()}function Bu(e){return EC(e)||TC(e)||b4(e)||AC()}function CC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IC(e){var t=CC(e,"string");return typeof t=="symbol"?t:t+""}function Ns(e){"@babel/helpers - typeof";return Ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ns(e)}function b4(e,t){if(e){if(typeof e=="string")return Fu(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fu(e,t):void 0}}var _C="7.0.0",zu;try{var NC=require("@fortawesome/fontawesome-svg-core/package.json");zu=NC.version}catch(e){zu=typeof process!="undefined"&&process.env.FA_VERSION||"7.0.0"}function OC(e){var t=e.beat,r=e.fade,n=e.beatFade,a=e.bounce,i=e.shake,s=e.flash,o=e.spin,u=e.spinPulse,l=e.spinReverse,c=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,b=e.listItem,y=e.flip,E=e.size,T=e.rotation,A=e.pull,k=e.swapOpacity,F=e.rotateBy,B=e.widthAuto,
|
|
1095
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function dd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function dr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?dd(Object(r),!0).forEach(function(n){Wr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dd(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function SC(e,t){if(e==null)return{};var r,n,a=kC(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function kC(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function hd(e,t){return xC(e)||vC(e,t)||b4(e,t)||wC()}function Bu(e){return EC(e)||TC(e)||b4(e)||AC()}function CC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function IC(e){var t=CC(e,"string");return typeof t=="symbol"?t:t+""}function Ns(e){"@babel/helpers - typeof";return Ns=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ns(e)}function b4(e,t){if(e){if(typeof e=="string")return Fu(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Fu(e,t):void 0}}var _C="7.0.0",zu;try{var NC=require("@fortawesome/fontawesome-svg-core/package.json");zu=NC.version}catch(e){zu=typeof process!="undefined"&&process.env.FA_VERSION||"7.0.0"}function OC(e){var t=e.beat,r=e.fade,n=e.beatFade,a=e.bounce,i=e.shake,s=e.flash,o=e.spin,u=e.spinPulse,l=e.spinReverse,c=e.pulse,f=e.fixedWidth,p=e.inverse,h=e.border,b=e.listItem,y=e.flip,E=e.size,T=e.rotation,A=e.pull,k=e.swapOpacity,F=e.rotateBy,B=e.widthAuto,N=RC(zu,_C),M=Wr(Wr(Wr(Wr(Wr(Wr({"fa-beat":t,"fa-fade":r,"fa-beat-fade":n,"fa-bounce":a,"fa-shake":i,"fa-flash":s,"fa-spin":o,"fa-spin-reverse":l,"fa-spin-pulse":u,"fa-pulse":c,"fa-fw":f,"fa-inverse":p,"fa-border":h,"fa-li":b,"fa-flip":y===!0,"fa-flip-horizontal":y==="horizontal"||y==="both","fa-flip-vertical":y==="vertical"||y==="both"},"fa-".concat(E),typeof E!="undefined"&&E!==null),"fa-rotate-".concat(T),typeof T!="undefined"&&T!==null&&T!==0),"fa-pull-".concat(A),typeof A!="undefined"&&A!==null),"fa-swap-opacity",k),"fa-rotate-by",N&&F),"fa-width-auto",N&&B);return Object.keys(M).map(function(z){return M[z]?z:null}).filter(function(z){return z})}function RC(e,t){for(var r=e.split("-"),n=hd(r,2),a=n[0],i=n[1],s=t.split("-"),o=hd(s,2),u=o[0],l=o[1],c=a.split("."),f=u.split("."),p=0;p<Math.max(c.length,f.length);p++){var h=c[p]||"0",b=f[p]||"0",y=parseInt(h,10),E=parseInt(b,10);if(y!==E)return y>E}for(var T=0;T<Math.max(c.length,f.length);T++){var A=c[T]||"0",k=f[T]||"0";if(A!==k&&A.length!==k.length)return A.length<k.length}return!(i&&!l)}function DC(e){return e=e-0,e===e}function y4(e){return DC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var LC=["style"];function MC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function PC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),a=y4(r.slice(0,n)),i=r.slice(n+1).trim();return a.startsWith("webkit")?t[MC(a)]=i:t[a]=i,t},{})}function x4(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(typeof t=="string")return t;var n=(t.children||[]).map(function(u){return x4(e,u)}),a=Object.keys(t.attributes||{}).reduce(function(u,l){var c=t.attributes[l];switch(l){case"class":u.attrs.className=c,delete t.attributes.class;break;case"style":u.attrs.style=PC(c);break;default:l.indexOf("aria-")===0||l.indexOf("data-")===0?u.attrs[l.toLowerCase()]=c:u.attrs[y4(l)]=c}return u},{attrs:{}}),i=r.style,s=i===void 0?{}:i,o=SC(r,LC);return a.attrs.style=dr(dr({},a.attrs.style),s),e.apply(void 0,[t.tag,dr(dr({},a.attrs),o)].concat(Bu(n)))}var E4=!1;try{E4=!0}catch(e){}function FC(){if(!E4&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function md(e){if(e&&Ns(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Pu.icon)return Pu.icon(e);if(e===null)return null;if(e&&Ns(e)==="object"&&e.prefix&&e.iconName)return e;if(Array.isArray(e)&&e.length===2)return{prefix:e[0],iconName:e[1]};if(typeof e=="string")return{prefix:"fas",iconName:e}}function wo(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Wr({},e,t):{}}var pd={border:!1,className:"",mask:null,maskId:null,fixedWidth:!1,inverse:!1,flip:!1,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,rotateBy:!1,size:null,spin:!1,spinPulse:!1,spinReverse:!1,beat:!1,fade:!1,beatFade:!1,bounce:!1,shake:!1,symbol:!1,title:"",titleId:null,transform:null,swapOpacity:!1,widthAuto:!1},Kl=G.forwardRef(function(e,t){var r=dr(dr({},pd),e),n=r.icon,a=r.mask,i=r.symbol,s=r.className,o=r.title,u=r.titleId,l=r.maskId,c=md(n),f=wo("classes",[].concat(Bu(OC(r)),Bu((s||"").split(" ")))),p=wo("transform",typeof r.transform=="string"?Pu.transform(r.transform):r.transform),h=wo("mask",md(a)),b=hC(c,dr(dr(dr(dr({},f),p),h),{},{symbol:i,title:o,titleId:u,maskId:l}));if(!b)return FC("Could not find icon",c),null;var y=b.abstract,E={ref:t};return Object.keys(r).forEach(function(T){pd.hasOwnProperty(T)||(E[T]=r[T])}),BC(y[0],E)});Kl.displayName="FontAwesomeIcon";Kl.propTypes={beat:De.bool,border:De.bool,beatFade:De.bool,bounce:De.bool,className:De.string,fade:De.bool,flash:De.bool,mask:De.oneOfType([De.object,De.array,De.string]),maskId:De.string,fixedWidth:De.bool,inverse:De.bool,flip:De.oneOf([!0,!1,"horizontal","vertical","both"]),icon:De.oneOfType([De.object,De.array,De.string]),listItem:De.bool,pull:De.oneOf(["right","left"]),pulse:De.bool,rotation:De.oneOf([0,90,180,270]),rotateBy:De.bool,shake:De.bool,size:De.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:De.bool,spinPulse:De.bool,spinReverse:De.bool,symbol:De.oneOfType([De.bool,De.string]),title:De.string,titleId:De.string,transform:De.oneOfType([De.string,De.object]),swapOpacity:De.bool,widthAuto:De.bool};var BC=x4.bind(null,G.createElement);/*!
|
|
1096
1096
|
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
1097
1097
|
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
1098
1098
|
* Copyright 2024 Fonticons, Inc.
|
|
@@ -1152,7 +1152,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1152
1152
|
border-radius: 4px;
|
|
1153
1153
|
font-size: 12px;
|
|
1154
1154
|
font-weight: 500;
|
|
1155
|
-
`,aI=({fileInfo:e})=>{const{name:t,size:r,type:n="doc"}=e,a=()=>{switch(n.toLowerCase()){case"pdf":return XC;case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return WC;case"excel":case"xlsx":case"xls":case"csv":return qC;case"powerpoint":case"ppt":case"pptx":return UC;case"word":case"doc":case"docx":return HC;case"archive":case"zip":case"rar":case"tar":case"7z":return $C;case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return VC;case"video":case"mp4":case"avi":case"mov":case"webm":return GC;case"audio":case"mp3":case"wav":case"ogg":return YC;case"md":case"markdown":case"txt":case"text":return zC;default:return KC}},i=()=>{switch(n.toLowerCase()){case"pdf":return"#e74c3c";case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return"#3498db";case"excel":case"xlsx":case"xls":case"csv":return"#27ae60";case"powerpoint":case"ppt":case"pptx":return"#e67e22";case"word":case"doc":case"docx":return"#2980b9";case"archive":case"zip":case"rar":case"tar":case"7z":return"#8e44ad";case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return"#f1c40f";case"video":case"mp4":case"avi":case"mov":case"webm":return"#e84393";case"audio":case"mp3":case"wav":case"ogg":return"#00cec9";case"md":case"markdown":case"txt":case"text":return"#636e72";default:return"#7f8c8d"}},s=o=>o<1024?o+" B":o<1048576?(o/1024).toFixed(1)+" KB":(o/1048576).toFixed(1)+" MB";return w.jsxs(QC,{children:[w.jsx(JC,{$color:i(),children:w.jsx(Kl,{icon:a(),style:{fontSize:"24px"}})}),w.jsxs(ZC,{children:[w.jsx(eI,{children:t}),w.jsxs(tI,{children:[w.jsx(rI,{children:s(r)}),w.jsx(nI,{children:n.toUpperCase()})]})]})]})},T4=G.createContext({activeKey:[]}),v4=T4.Provider,w4=()=>G.useContext(T4);function A4(e){return new Promise((t,r)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>r(),document.body.appendChild(n)})}const Si=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.echarts){e();return}A4("https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.2/echarts.min.js").then(()=>e()).catch(n=>{console.error("echarts加载失败:",n),t(n)})}),iI=({options:e})=>{const t=G.useRef(null),r=G.useRef(null),[n,a]=G.useState(!1),{activeKey:i}=w4();return G.useEffect(()=>{
|
|
1155
|
+
`,aI=({fileInfo:e})=>{const{name:t,size:r,type:n="doc"}=e,a=()=>{switch(n.toLowerCase()){case"pdf":return XC;case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return WC;case"excel":case"xlsx":case"xls":case"csv":return qC;case"powerpoint":case"ppt":case"pptx":return UC;case"word":case"doc":case"docx":return HC;case"archive":case"zip":case"rar":case"tar":case"7z":return $C;case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return VC;case"video":case"mp4":case"avi":case"mov":case"webm":return GC;case"audio":case"mp3":case"wav":case"ogg":return YC;case"md":case"markdown":case"txt":case"text":return zC;default:return KC}},i=()=>{switch(n.toLowerCase()){case"pdf":return"#e74c3c";case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return"#3498db";case"excel":case"xlsx":case"xls":case"csv":return"#27ae60";case"powerpoint":case"ppt":case"pptx":return"#e67e22";case"word":case"doc":case"docx":return"#2980b9";case"archive":case"zip":case"rar":case"tar":case"7z":return"#8e44ad";case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return"#f1c40f";case"video":case"mp4":case"avi":case"mov":case"webm":return"#e84393";case"audio":case"mp3":case"wav":case"ogg":return"#00cec9";case"md":case"markdown":case"txt":case"text":return"#636e72";default:return"#7f8c8d"}},s=o=>o<1024?o+" B":o<1048576?(o/1024).toFixed(1)+" KB":(o/1048576).toFixed(1)+" MB";return w.jsxs(QC,{children:[w.jsx(JC,{$color:i(),children:w.jsx(Kl,{icon:a(),style:{fontSize:"24px"}})}),w.jsxs(ZC,{children:[w.jsx(eI,{children:t}),w.jsxs(tI,{children:[w.jsx(rI,{children:s(r)}),w.jsx(nI,{children:n.toUpperCase()})]})]})]})},T4=G.createContext({activeKey:[]}),v4=T4.Provider,w4=()=>G.useContext(T4);function A4(e){return new Promise((t,r)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>r(),document.body.appendChild(n)})}const Si=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.echarts){e();return}A4("https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.2/echarts.min.js").then(()=>e()).catch(n=>{console.error("echarts加载失败:",n),t(n)})}),iI=({options:e})=>{const t=G.useRef(null),r=G.useRef(null),[n,a]=G.useState(!1),{activeKey:i}=w4();return G.useEffect(()=>{Pe(exports,null,function*(){try{yield Si(),a(!0)}catch(o){console.error("echarts加载失败:",o),a(!1)}})},[]),G.useEffect(()=>{if(!n||!t.current||!e)return;const s=window.echarts;if(!s){console.error("echarts未正确加载");return}r.current&&r.current.dispose();const o=s.init(t.current);r.current=o,o.setOption(e);const u=()=>{o.resize()};return window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u),o.dispose(),r.current=null}},[e,n]),G.useEffect(()=>{if(r.current&&i&&n){const s=setTimeout(()=>{var o;(o=r.current)==null||o.resize()},50);return()=>clearTimeout(s)}},[i,n]),n?w.jsx("div",{ref:t,style:{width:"100%",height:"400px",marginTop:"20px",marginBottom:"20px"}}):w.jsx("div",{style:{width:"100%",height:"400px",marginTop:"20px",marginBottom:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666"},children:"图表加载中..."})},Ql=e=>{try{const{column:t,data:r}=e;if(!Array.isArray(t)||!Array.isArray(r))return"表格数据格式错误";if(t.length===0||r.length===0)return"暂无数据";let n="";return n+="| 序号 | "+t.join(" | ")+` |
|
|
1156
1156
|
`,n+="| :---: | "+t.map(()=>"---").join(" | ")+` |
|
|
1157
1157
|
`,r.forEach((a,i)=>{const s=t.map(o=>{const u=a[o];return u!==void 0?String(u):"-"});n+="| "+(i+1)+" | "+s.join(" | ")+` |
|
|
1158
1158
|
`}),n}catch(t){return console.error("转换表格数据失败:",t),"表格数据转换失败"}},sI=e=>{try{const t=JSON.parse(e);return t&&typeof t=="object"&&Array.isArray(t.column)&&Array.isArray(t.data)}catch(t){return!1}},oI=(e,t)=>{if(!e)return null;if(t==="ant_table"&&sI(e))try{const r=JSON.parse(e);return Ql(r)}catch(r){return console.error("解析表格数据失败:",r),"```json\n"+e+"\n```"}if(t==="echart")return"```echarts\n"+e+"\n```";if(t==="code")return"```sql\n"+e+"\n```";try{JSON.parse(e);const r=JSON.parse(e);return"```json\n"+JSON.stringify(r,null,2)+"\n```"}catch(r){console.log("不是JSON")}return e},uI=ee.div`
|
|
@@ -1191,10 +1191,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1191
1191
|
&:hover {
|
|
1192
1192
|
background: #f5f5f5;
|
|
1193
1193
|
}
|
|
1194
|
-
`,Ao=({text:e=""})=>w.jsx(lI,{children:w.jsx("span",{children:e})}),S4=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.mermaid){e();return}A4("https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.9.0/mermaid.min.js").then(()=>{window.mermaid.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",fontFamily:"inherit"}),e()}).catch(n=>{console.error("mermaid加载失败:",n),t(n)})});let cI=0;const fI=()=>`mermaid-${Date.now()}-${cI++}`,dI=e=>{if(!e||e.trim().length<10)return!1;const t=e.trim();return["graph","flowchart","sequenceDiagram","classDiagram","stateDiagram","erDiagram","journey","gantt","pie","quadrantChart","requirementDiagram","gitGraph","mindmap","timeline"].some(i=>t.startsWith(i)||t.match(new RegExp(`^${i}\\s`,"m")))?/(\w+\s*-->|\w+\s*---|\w+\s*-\.->|\w+\s*==>|\w+\s*\[.*?\]|\w+\s*\(.*?\)|participant\s+\w+|\w+\s*->>)/m.test(t):!1},hI=({code:e})=>{const t=G.useRef(null),[r,n]=G.useState(""),[a,i]=G.useState(""),[s,o]=G.useState(!0),[u,l]=G.useState(!1),[c,f]=G.useState(!0),p=G.useRef(""),h=G.useRef(null),b=G.useRef(null);return G.useEffect(()=>(
|
|
1194
|
+
`,Ao=({text:e=""})=>w.jsx(lI,{children:w.jsx("span",{children:e})}),S4=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.mermaid){e();return}A4("https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.9.0/mermaid.min.js").then(()=>{window.mermaid.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",fontFamily:"inherit"}),e()}).catch(n=>{console.error("mermaid加载失败:",n),t(n)})});let cI=0;const fI=()=>`mermaid-${Date.now()}-${cI++}`,dI=e=>{if(!e||e.trim().length<10)return!1;const t=e.trim();return["graph","flowchart","sequenceDiagram","classDiagram","stateDiagram","erDiagram","journey","gantt","pie","quadrantChart","requirementDiagram","gitGraph","mindmap","timeline"].some(i=>t.startsWith(i)||t.match(new RegExp(`^${i}\\s`,"m")))?/(\w+\s*-->|\w+\s*---|\w+\s*-\.->|\w+\s*==>|\w+\s*\[.*?\]|\w+\s*\(.*?\)|participant\s+\w+|\w+\s*->>)/m.test(t):!1},hI=({code:e})=>{const t=G.useRef(null),[r,n]=G.useState(""),[a,i]=G.useState(""),[s,o]=G.useState(!0),[u,l]=G.useState(!1),[c,f]=G.useState(!0),p=G.useRef(""),h=G.useRef(null),b=G.useRef(null);return G.useEffect(()=>(Pe(exports,null,function*(){try{yield S4(),l(!0)}catch(E){console.error("mermaid加载失败:",E),i("Mermaid 库加载失败"),o(!1)}}),()=>{h.current&&clearTimeout(h.current),b.current&&clearTimeout(b.current)}),[]),G.useEffect(()=>{if(!e||!u)return;const y=window.mermaid;if(!y){i("Mermaid 未正确加载"),o(!1);return}const E=e!==p.current;if(p.current=e,E&&(f(!0),b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{f(!1)},500)),!dI(e)){o(!0),i("");return}return h.current&&clearTimeout(h.current),h.current=setTimeout(()=>Pe(exports,null,function*(){o(!0),i("");try{const T=fI(),{svg:A}=yield y.render(T,e.trim());n(A),i("");const k=document.getElementById(T);k&&k.remove()}catch(T){document.querySelectorAll('[id^="dmermaid-"]').forEach(k=>k.remove()),c?console.log("Mermaid 流式输出中,暂不显示错误"):(console.error("Mermaid 渲染错误:",T),i((T==null?void 0:T.message)||"Mermaid 图表渲染失败"))}finally{o(!1)}}),300),()=>{h.current&&clearTimeout(h.current)}},[e,u,c]),s?w.jsx("div",{style:{width:"100%",minHeight:"100px",padding:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666",backgroundColor:"#fafafa",marginTop:"10px",marginBottom:"10px"},children:"图表加载中..."}):a&&!c?w.jsxs("div",{style:{width:"100%",padding:"20px",border:"1px solid #ffccc7",borderRadius:"6px",color:"#cf1322",backgroundColor:"#fff2f0",marginTop:"10px",marginBottom:"10px"},children:[w.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:"Mermaid 图表渲染失败"}),w.jsx("div",{style:{fontSize:"12px",color:"#666",wordBreak:"break-word",overflowWrap:"break-word",whiteSpace:"pre-wrap"},children:a})]}):a&&c?w.jsx("div",{style:{width:"100%",minHeight:"100px",padding:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666",backgroundColor:"#fafafa",marginTop:"10px",marginBottom:"10px"},children:"图表加载中..."}):w.jsx("div",{ref:t,style:{width:"100%",overflow:"auto",marginTop:"10px",marginBottom:"10px",padding:"10px",backgroundColor:"#fff",borderRadius:"6px",border:"1px solid #e8e8e8"},dangerouslySetInnerHTML:{__html:r}})},nr=({content:e,waitingMessage:t=""})=>{const r=G.useMemo(()=>({remarkPlugins:[gx,wT,fS],rehypePlugins:[ZT,uS],components:{img:l=>{var c=l,{node:o}=c,u=Ci(c,["node"]);return w.jsx(ye.Image,{style:{maxWidth:"200px",maxHeight:"150px",objectFit:"contain"},src:u.src,alt:u.alt,preview:{zIndex:1100}})},code:f=>{var p=f,{node:o,inline:u,className:l}=p,c=Ci(p,["node","inline","className"]);var T,A,k,F,B;if(u||!l&&!((T=o==null?void 0:o.properties)!=null&&T.className))return w.jsx("code",{style:{backgroundColor:"rgba(175, 184, 193, 0.2)",padding:"0.2em 0.4em",borderRadius:"3px",fontSize:"85%",fontFamily:'Consolas, Monaco, "Andale Mono", monospace'},children:c.children});const b=(k=/language-(\w+)/.exec(((A=o==null?void 0:o.properties)==null?void 0:A.className)||l||""))==null?void 0:k[0],y=((B=(F=o==null?void 0:o.position)==null?void 0:F.start)==null?void 0:B.line)===2?"language-file":null,E=b||y;if(E==="language-file"){const N=String(c.children).replace(/\n$/,""),M=s(N);return w.jsx(aI,{fileInfo:M})}if(E==="language-ant_table")try{const N=String(c==null?void 0:c.children).replace(/\n$/,""),M=JSON.parse(N),z=Ql(M);return w.jsx(nr,{content:z})}catch(N){return n(String(c==null?void 0:c.children))?(console.error("ant_table数据解析错误:",N),w.jsx(Ao,{text:"表格数据加载失败,请检查数据格式"})):w.jsx(Xi,{text:"表格加载中..."})}if(E==="language-echarts")try{const N=Array.isArray(c.children)?c.children.join(""):c.children.toString();if(!n(N))return w.jsx(Xi,{});const M=JSON.parse(N);let z;try{return typeof(M==null?void 0:M.option)=="string"?z=JSON.parse(M==null?void 0:M.option):z=M==null?void 0:M.option,!z||Object.keys(z).length===0?w.jsx(Xi,{}):w.jsx("div",{style:{minWidth:"300px"},children:w.jsx(iI,{options:z})})}catch(U){return console.error("图表配置解析错误:",U),w.jsx(Ao,{text:"图表数据加载失败,请检查数据格式"})}}catch(N){return n(String(c.children))?(console.error("图表数据解析错误:",N),w.jsx(Ao,{text:"图表数据加载失败,请检查数据格式"})):w.jsx(Xi,{})}if(E==="language-mermaid"){const N=String(c.children).replace(/\n$/,"");return w.jsx(hI,{code:N})}return w.jsx(av,{children:c.children})},p:o=>{var l,c,f;const{node:u}=o||{};if(((l=u==null?void 0:u.children[0])==null?void 0:l.tagName)==="img"){const p=u.children[0],h=Array.isArray(o==null?void 0:o.children)||typeof((c=o==null?void 0:o.children)==null?void 0:c.slice)=="function";return w.jsxs(w.Fragment,{children:[w.jsx(ye.Image,{style:{maxWidth:"200px",maxHeight:"150px",objectFit:"contain"},src:p.properties.src,className:"max-w-full h-auto align-middle border-none rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 ease-in-out mt-2 mb-2",alt:p.properties.alt,preview:{zIndex:1100}}),h&&w.jsx("p",{children:(f=o==null?void 0:o.children)==null?void 0:f.slice(1)})]})}return w.jsx("p",{children:o==null?void 0:o.children})},a:({children:o,href:u})=>w.jsx("a",{href:u,target:"_blank",children:o})}}),[]),n=o=>{try{const u=o==null?void 0:o.trim()[0],l=o==null?void 0:o.trim()[(o==null?void 0:o.trim().length)-1];return u==="{"&&l==="}"||u==="["&&l==="]"}catch(u){return!1}},a=o=>o==null?void 0:o.replace(/<think>([\s\S]*?)<\/think>/g,`<details open><summary>深度思考</summary><pre class="think">$1</pre></details>
|
|
1195
1195
|
|
|
1196
1196
|
`),i=o=>{if(!o)return`<span><span class="prompt-message">${t}</span><span class="prompt-loading-cursor">...</span></span>`;const u=`${o==null?void 0:o.replace(new RegExp("\\\\\\[.*?\\\\\\]","gims"),l=>l.split(/[\r\n]/g)[0].trim()==="\\["?"$$"+l.slice(2,-2)+"$$":"$"+l.slice(2,-2)+"$").replace(new RegExp("\\\\\\(.*?\\\\\\)","gims"),l=>"$"+l.slice(2,-2)+"$")}`;return a(u)},s=o=>{const u=o.split(`
|
|
1197
|
-
`),l={name:"",size:"",type:"unknown"};return u.forEach(c=>{const[f,p]=c.split(":").map(h=>h.trim());f&&p&&(f.toLowerCase()==="名称"&&(l.name=p),f.toLowerCase()==="大小"&&(l.size=p),f.toLowerCase()==="类型"&&(l.type=p))}),l};return w.jsx(dS,{children:w.jsx(h9,it(
|
|
1197
|
+
`),l={name:"",size:"",type:"unknown"};return u.forEach(c=>{const[f,p]=c.split(":").map(h=>h.trim());f&&p&&(f.toLowerCase()==="名称"&&(l.name=p),f.toLowerCase()==="大小"&&(l.size=p),f.toLowerCase()==="类型"&&(l.type=p))}),l};return w.jsx(dS,{children:w.jsx(h9,it(ae({},r),{children:`${i(e)}`}))})},mI=ee.div`
|
|
1198
1198
|
/* 样式隔离 - 确保内部样式不受外部影响 */
|
|
1199
1199
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1200
1200
|
font-size: 14px;
|
|
@@ -1740,7 +1740,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1740
1740
|
`,BN=ee.div`
|
|
1741
1741
|
flex-shrink: 0;
|
|
1742
1742
|
padding-top: ${({$variant:e})=>{switch(e){case"fileDoc":case"time":case"enum":return"4px";case"fileImage":default:return"38px"}}};
|
|
1743
|
-
`,Hu=e=>{switch(e.Type){case"string":return"";case"number":return;case"boolean":return!1;case"array":return e.Items?[Hu(e.Items)]:[];case"object":if(e.Properties){const t={};return Object.keys(e.Properties).forEach(r=>{t[r]=Hu(e.Properties[r])}),t}return{};default:return}},zN=({name:e,schema:t,value:r=[],onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c})=>{var J,he,C;const{Title:f,Description:p,Items:h}=t,b=f||e,y=u?`${u}.${e}`:e,E=G.useRef(new Map),T=G.useCallback((K,Q)=>Q!=null&&Q.url?Q.url:Q!=null&&Q.uid?Q.uid:Q!=null&&Q.__arrayItemId?Q.__arrayItemId:(E.current.has(K)||E.current.set(K,`item-${++kd}`),E.current.get(K)),[]),A=G.useCallback(()=>{if(!h)return;const K=Hu(h),Q=r.length;E.current.set(Q,`item-${++kd}`),typeof K=="object"&&K!==null?n==null||n([...r,it(
|
|
1743
|
+
`,Hu=e=>{switch(e.Type){case"string":return"";case"number":return;case"boolean":return!1;case"array":return e.Items?[Hu(e.Items)]:[];case"object":if(e.Properties){const t={};return Object.keys(e.Properties).forEach(r=>{t[r]=Hu(e.Properties[r])}),t}return{};default:return}},zN=({name:e,schema:t,value:r=[],onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c})=>{var J,he,C;const{Title:f,Description:p,Items:h}=t,b=f||e,y=u?`${u}.${e}`:e,E=G.useRef(new Map),T=G.useCallback((K,Q)=>Q!=null&&Q.url?Q.url:Q!=null&&Q.uid?Q.uid:Q!=null&&Q.__arrayItemId?Q.__arrayItemId:(E.current.has(K)||E.current.set(K,`item-${++kd}`),E.current.get(K)),[]),A=G.useCallback(()=>{if(!h)return;const K=Hu(h),Q=r.length;E.current.set(Q,`item-${++kd}`),typeof K=="object"&&K!==null?n==null||n([...r,it(ae({},K),{__arrayItemId:E.current.get(Q)})]):n==null||n([...r,K])},[h,r,n]),k=G.useCallback(K=>{const Q=[...r];Q.splice(K,1),n==null||n(Q)},[r,n]),F=G.useCallback((K,Q)=>{const I=[...r];I[K]=Q,n==null||n(I)},[r,n]),B=G.useCallback((K,Q,I)=>{const me=[...r];me[K]=it(ae({},me[K]),{[Q]:I}),n==null||n(me)},[r,n]),N=((C=(he=(J=h==null?void 0:h.AssociationPropertyMetadata)==null?void 0:J.EnumValues)==null?void 0:he.length)!=null?C:0)>0||Array.isArray(h==null?void 0:h.EnumValues)&&h.EnumValues.length>0,M=(h==null?void 0:h.Type)==="object"&&(h==null?void 0:h.Properties),z=(h==null?void 0:h.Type)==="array",U=(h==null?void 0:h.Type)==="file",L=(h==null?void 0:h.Type)==="time",$=M||z||U||L||N,te=G.useMemo(()=>{var Q;if(!U)return!1;const K=(Q=h==null?void 0:h.AssociationPropertyMetadata)==null?void 0:Q.SubType;return Array.isArray(K)&&K.length>0?K.some(I=>Sd.includes(I)):h!=null&&h.FileSubType?Sd.includes(h.FileSubType):!1},[U,h]);if(!h)return null;const ge=h.Required||[],X=(K,Q)=>{let I;const me=`${y}[${Q}]`,ve=o[me];switch(h.Type){case"string":I=w.jsx(ye.Input,{value:K,onChange:Ce=>F(Q,Ce.target.value),disabled:i});break;case"number":I=w.jsx(ye.InputNumber,{value:K,onChange:Ce=>F(Q,Ce),disabled:i,style:{width:"100%"}});break;case"boolean":I=w.jsx(ye.Switch,{checked:K,onChange:Ce=>F(Q,Ce),disabled:i});break;default:I=w.jsx(ye.Input,{value:K,onChange:Ce=>F(Q,Ce.target.value),disabled:i})}return w.jsxs("div",{children:[I,ve&&w.jsx(ON,{children:ve}),h.Description&&!ve&&w.jsx(NN,{children:h.Description})]})},W=(K,Q)=>h.Properties?tc(h.Properties).map(([me,ve])=>{const Ce=ge.includes(me);return w.jsx(G.Suspense,{fallback:w.jsx("div",{children:"加载中..."}),children:w.jsx(Co,{name:me,schema:ve,value:K==null?void 0:K[me],onChange:He=>B(Q,me,He),required:Ce,disabled:i,level:s+1,errors:o,fieldPath:`${y}[${Q}]`,uploadSender:l,fileUploader:c})},me)}):null,V=(K,Q)=>w.jsx(G.Suspense,{fallback:w.jsx("div",{children:"加载中..."}),children:w.jsx(Co,{name:`${e}[${Q}]`,schema:h,value:K,onChange:I=>F(Q,I),disabled:i,level:s+1,errors:o,fieldPath:y,uploadSender:l,fileUploader:c})}),se=(K,Q)=>w.jsx(G.Suspense,{fallback:w.jsx("div",{children:"加载中..."}),children:w.jsx(Co,{name:`[${Q}]`,schema:h,value:K,onChange:I=>F(Q,I),disabled:i,level:s+1,errors:o,fieldPath:y,hideLabel:!0,uploadSender:l,fileUploader:c})});return w.jsxs(kN,{children:[w.jsxs(CN,{children:[a&&w.jsx(IN,{children:"*"}),w.jsx("span",{children:b})]}),p&&w.jsx(_N,{children:p}),w.jsx(RN,{children:r.map((K,Q)=>{const I=T(Q,K),me=()=>{if(M)return w.jsx(Cd,{children:W(K,Q)});if(z)return w.jsx(Cd,{children:V(K,Q)});if(U||L||N){let ve;return U?ve=te?"fileImage":"fileDoc":L?ve="time":N&&(ve="enum"),w.jsxs(FN,{children:[w.jsx(Id,{children:se(K,Q)}),w.jsx(BN,{$variant:ve,children:w.jsx(ye.Button,{type:"text",danger:!0,icon:w.jsx(ot.MinusOutlined,{}),onClick:()=>k(Q),disabled:i,size:"small"})})]})}return w.jsxs(LN,{children:[w.jsx(Id,{children:X(K,Q)}),w.jsx(MN,{children:w.jsx(ye.Button,{type:"text",danger:!0,icon:w.jsx(ot.MinusOutlined,{}),onClick:()=>k(Q),disabled:i,size:"small"})})]})};return w.jsx(DN,{children:me()},I)})}),w.jsx(PN,{children:w.jsxs(ye.Space,{children:[w.jsx(ye.Button,{onClick:A,disabled:i,shape:"circle",icon:w.jsx(ot.PlusOutlined,{})}),$&&r.length>0&&w.jsx(ye.Button,{onClick:()=>k(r.length-1),shape:"circle",icon:w.jsx(ot.MinusOutlined,{}),danger:!0,disabled:i})]})})]})},HN=G.lazy(()=>Promise.resolve().then(()=>B4)),UN=ee.div`
|
|
1744
1744
|
border: 1px solid #dbdbdb;
|
|
1745
1745
|
border-radius: 10px;
|
|
1746
1746
|
padding: 24px 16px;
|
|
@@ -1776,7 +1776,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1776
1776
|
word-break: break-word;
|
|
1777
1777
|
`,YN=ee.div`
|
|
1778
1778
|
/* 对象内容区域 */
|
|
1779
|
-
`,WN=({name:e,schema:t,value:r={},onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c})=>{const{Title:f,Description:p,Properties:h,Required:b=[]}=t,y=f||e,E=u?`${u}.${e}`:e,T=G.useCallback((k,F)=>{n==null||n(it(
|
|
1779
|
+
`,WN=({name:e,schema:t,value:r={},onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c})=>{const{Title:f,Description:p,Properties:h,Required:b=[]}=t,y=f||e,E=u?`${u}.${e}`:e,T=G.useCallback((k,F)=>{n==null||n(it(ae({},r),{[k]:F}))},[r,n]);if(!h)return null;const A=tc(h);return w.jsxs(UN,{children:[w.jsxs(jN,{children:[a&&w.jsx($N,{children:"*"}),w.jsx("span",{children:y})]}),p&&w.jsx(qN,{children:p}),w.jsx(YN,{children:A.map(([k,F])=>{const B=b.includes(k);return w.jsx(G.Suspense,{fallback:w.jsx("div",{children:"加载中..."}),children:w.jsx(HN,{name:k,schema:F,value:r[k],onChange:N=>T(k,N),required:B,disabled:i,level:s+1,errors:o,fieldPath:E,uploadSender:l,fileUploader:c})},k)})})]})},{Option:_d}=ye.Select,Nd=ee.div`
|
|
1780
1780
|
width: 100%;
|
|
1781
1781
|
|
|
1782
1782
|
.ant-select {
|
|
@@ -1814,7 +1814,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1814
1814
|
border-color: #1890ff;
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
1817
|
-
`,Od=({schema:e,value:t,onChange:r,disabled:n=!1})=>{const{Type:a}=e,i=G.useMemo(()=>{var f;return((f=e.AssociationPropertyMetadata)==null?void 0:f.EnumValues)||e.EnumValues||[]},[e]),s=G.useMemo(()=>{var f;return((f=e.AssociationPropertyMetadata)==null?void 0:f.EnumDisplayStyle)||e.EnumDisplayStyle||"select"},[e]),o=G.useCallback(f=>{r==null||r(f)},[r]),u=G.useCallback(f=>{r==null||r(f)},[r]),l=G.useCallback(f=>{r==null||r(f.target.value)},[r]);return(()=>{switch(s){case"checkbox":return w.jsx(VN,{children:w.jsx(ye.Checkbox.Group,{value:Array.isArray(t)?t:t?[t]:[],onChange:u,disabled:n,children:i.map(f=>w.jsx(ye.Checkbox,{value:f,children:String(f)},String(f)))})});case"radio":return w.jsx(GN,{children:w.jsx(ye.Radio.Group,{value:t,onChange:l,disabled:n,children:i.map(f=>w.jsx(ye.Radio,{value:f,children:String(f)},String(f)))})});case"multi-select":return w.jsx(Nd,{children:w.jsx(ye.Select,{value:Array.isArray(t)?t:t?[t]:[],onChange:o,disabled:n,mode:"multiple",placeholder:"请选择",style:{width:"100%"},allowClear:!0,children:i.map(f=>w.jsx(_d,{value:f,children:String(f)},String(f)))})});case"select":default:{const f=a==="array";return w.jsx(Nd,{children:w.jsx(ye.Select,{value:t,onChange:o,disabled:n,mode:f?"multiple":void 0,placeholder:"请选择",style:{width:"100%"},allowClear:!0,children:i.map(p=>w.jsx(_d,{value:p,children:String(p)},String(p)))})})}}})()};var F4={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Za,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",s="second",o="minute",u="hour",l="day",c="week",f="month",p="quarter",h="year",b="date",y="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(X){var W=["th","st","nd","rd"],V=X%100;return"["+X+(W[(V-20)%10]||W[V]||W[0])+"]"}},k=function(X,W,V){var
|
|
1817
|
+
`,Od=({schema:e,value:t,onChange:r,disabled:n=!1})=>{const{Type:a}=e,i=G.useMemo(()=>{var f;return((f=e.AssociationPropertyMetadata)==null?void 0:f.EnumValues)||e.EnumValues||[]},[e]),s=G.useMemo(()=>{var f;return((f=e.AssociationPropertyMetadata)==null?void 0:f.EnumDisplayStyle)||e.EnumDisplayStyle||"select"},[e]),o=G.useCallback(f=>{r==null||r(f)},[r]),u=G.useCallback(f=>{r==null||r(f)},[r]),l=G.useCallback(f=>{r==null||r(f.target.value)},[r]);return(()=>{switch(s){case"checkbox":return w.jsx(VN,{children:w.jsx(ye.Checkbox.Group,{value:Array.isArray(t)?t:t?[t]:[],onChange:u,disabled:n,children:i.map(f=>w.jsx(ye.Checkbox,{value:f,children:String(f)},String(f)))})});case"radio":return w.jsx(GN,{children:w.jsx(ye.Radio.Group,{value:t,onChange:l,disabled:n,children:i.map(f=>w.jsx(ye.Radio,{value:f,children:String(f)},String(f)))})});case"multi-select":return w.jsx(Nd,{children:w.jsx(ye.Select,{value:Array.isArray(t)?t:t?[t]:[],onChange:o,disabled:n,mode:"multiple",placeholder:"请选择",style:{width:"100%"},allowClear:!0,children:i.map(f=>w.jsx(_d,{value:f,children:String(f)},String(f)))})});case"select":default:{const f=a==="array";return w.jsx(Nd,{children:w.jsx(ye.Select,{value:t,onChange:o,disabled:n,mode:f?"multiple":void 0,placeholder:"请选择",style:{width:"100%"},allowClear:!0,children:i.map(p=>w.jsx(_d,{value:p,children:String(p)},String(p)))})})}}})()};var F4={exports:{}};(function(e,t){(function(r,n){e.exports=n()})(Za,function(){var r=1e3,n=6e4,a=36e5,i="millisecond",s="second",o="minute",u="hour",l="day",c="week",f="month",p="quarter",h="year",b="date",y="Invalid Date",E=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,T=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,A={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(X){var W=["th","st","nd","rd"],V=X%100;return"["+X+(W[(V-20)%10]||W[V]||W[0])+"]"}},k=function(X,W,V){var se=String(X);return!se||se.length>=W?X:""+Array(W+1-se.length).join(V)+X},F={s:k,z:function(X){var W=-X.utcOffset(),V=Math.abs(W),se=Math.floor(V/60),J=V%60;return(W<=0?"+":"-")+k(se,2,"0")+":"+k(J,2,"0")},m:function X(W,V){if(W.date()<V.date())return-X(V,W);var se=12*(V.year()-W.year())+(V.month()-W.month()),J=W.clone().add(se,f),he=V-J<0,C=W.clone().add(se+(he?-1:1),f);return+(-(se+(V-J)/(he?J-C:C-J))||0)},a:function(X){return X<0?Math.ceil(X)||0:Math.floor(X)},p:function(X){return{M:f,y:h,w:c,d:l,D:b,h:u,m:o,s,ms:i,Q:p}[X]||String(X||"").toLowerCase().replace(/s$/,"")},u:function(X){return X===void 0}},B="en",N={};N[B]=A;var M="$isDayjsObject",z=function(X){return X instanceof te||!(!X||!X[M])},U=function X(W,V,se){var J;if(!W)return B;if(typeof W=="string"){var he=W.toLowerCase();N[he]&&(J=he),V&&(N[he]=V,J=he);var C=W.split("-");if(!J&&C.length>1)return X(C[0])}else{var K=W.name;N[K]=W,J=K}return!se&&J&&(B=J),J||!se&&B},L=function(X,W){if(z(X))return X.clone();var V=typeof W=="object"?W:{};return V.date=X,V.args=arguments,new te(V)},$=F;$.l=U,$.i=z,$.w=function(X,W){return L(X,{locale:W.$L,utc:W.$u,x:W.$x,$offset:W.$offset})};var te=function(){function X(V){this.$L=U(V.locale,null,!0),this.parse(V),this.$x=this.$x||V.x||{},this[M]=!0}var W=X.prototype;return W.parse=function(V){this.$d=function(se){var J=se.date,he=se.utc;if(J===null)return new Date(NaN);if($.u(J))return new Date;if(J instanceof Date)return new Date(J);if(typeof J=="string"&&!/Z$/i.test(J)){var C=J.match(E);if(C){var K=C[2]-1||0,Q=(C[7]||"0").substring(0,3);return he?new Date(Date.UTC(C[1],K,C[3]||1,C[4]||0,C[5]||0,C[6]||0,Q)):new Date(C[1],K,C[3]||1,C[4]||0,C[5]||0,C[6]||0,Q)}}return new Date(J)}(V),this.init()},W.init=function(){var V=this.$d;this.$y=V.getFullYear(),this.$M=V.getMonth(),this.$D=V.getDate(),this.$W=V.getDay(),this.$H=V.getHours(),this.$m=V.getMinutes(),this.$s=V.getSeconds(),this.$ms=V.getMilliseconds()},W.$utils=function(){return $},W.isValid=function(){return this.$d.toString()!==y},W.isSame=function(V,se){var J=L(V);return this.startOf(se)<=J&&J<=this.endOf(se)},W.isAfter=function(V,se){return L(V)<this.startOf(se)},W.isBefore=function(V,se){return this.endOf(se)<L(V)},W.$g=function(V,se,J){return $.u(V)?this[se]:this.set(J,V)},W.unix=function(){return Math.floor(this.valueOf()/1e3)},W.valueOf=function(){return this.$d.getTime()},W.startOf=function(V,se){var J=this,he=!!$.u(se)||se,C=$.p(V),K=function(qe,ze){var pt=$.w(J.$u?Date.UTC(J.$y,ze,qe):new Date(J.$y,ze,qe),J);return he?pt:pt.endOf(l)},Q=function(qe,ze){return $.w(J.toDate()[qe].apply(J.toDate("s"),(he?[0,0,0,0]:[23,59,59,999]).slice(ze)),J)},I=this.$W,me=this.$M,ve=this.$D,Ce="set"+(this.$u?"UTC":"");switch(C){case h:return he?K(1,0):K(31,11);case f:return he?K(1,me):K(0,me+1);case c:var He=this.$locale().weekStart||0,Ze=(I<He?I+7:I)-He;return K(he?ve-Ze:ve+(6-Ze),me);case l:case b:return Q(Ce+"Hours",0);case u:return Q(Ce+"Minutes",1);case o:return Q(Ce+"Seconds",2);case s:return Q(Ce+"Milliseconds",3);default:return this.clone()}},W.endOf=function(V){return this.startOf(V,!1)},W.$set=function(V,se){var J,he=$.p(V),C="set"+(this.$u?"UTC":""),K=(J={},J[l]=C+"Date",J[b]=C+"Date",J[f]=C+"Month",J[h]=C+"FullYear",J[u]=C+"Hours",J[o]=C+"Minutes",J[s]=C+"Seconds",J[i]=C+"Milliseconds",J)[he],Q=he===l?this.$D+(se-this.$W):se;if(he===f||he===h){var I=this.clone().set(b,1);I.$d[K](Q),I.init(),this.$d=I.set(b,Math.min(this.$D,I.daysInMonth())).$d}else K&&this.$d[K](Q);return this.init(),this},W.set=function(V,se){return this.clone().$set(V,se)},W.get=function(V){return this[$.p(V)]()},W.add=function(V,se){var J,he=this;V=Number(V);var C=$.p(se),K=function(me){var ve=L(he);return $.w(ve.date(ve.date()+Math.round(me*V)),he)};if(C===f)return this.set(f,this.$M+V);if(C===h)return this.set(h,this.$y+V);if(C===l)return K(1);if(C===c)return K(7);var Q=(J={},J[o]=n,J[u]=a,J[s]=r,J)[C]||1,I=this.$d.getTime()+V*Q;return $.w(I,this)},W.subtract=function(V,se){return this.add(-1*V,se)},W.format=function(V){var se=this,J=this.$locale();if(!this.isValid())return J.invalidDate||y;var he=V||"YYYY-MM-DDTHH:mm:ssZ",C=$.z(this),K=this.$H,Q=this.$m,I=this.$M,me=J.weekdays,ve=J.months,Ce=J.meridiem,He=function(ze,pt,Tt,Dt){return ze&&(ze[pt]||ze(se,he))||Tt[pt].slice(0,Dt)},Ze=function(ze){return $.s(K%12||12,ze,"0")},qe=Ce||function(ze,pt,Tt){var Dt=ze<12?"AM":"PM";return Tt?Dt.toLowerCase():Dt};return he.replace(T,function(ze,pt){return pt||function(Tt){switch(Tt){case"YY":return String(se.$y).slice(-2);case"YYYY":return $.s(se.$y,4,"0");case"M":return I+1;case"MM":return $.s(I+1,2,"0");case"MMM":return He(J.monthsShort,I,ve,3);case"MMMM":return He(ve,I);case"D":return se.$D;case"DD":return $.s(se.$D,2,"0");case"d":return String(se.$W);case"dd":return He(J.weekdaysMin,se.$W,me,2);case"ddd":return He(J.weekdaysShort,se.$W,me,3);case"dddd":return me[se.$W];case"H":return String(K);case"HH":return $.s(K,2,"0");case"h":return Ze(1);case"hh":return Ze(2);case"a":return qe(K,Q,!0);case"A":return qe(K,Q,!1);case"m":return String(Q);case"mm":return $.s(Q,2,"0");case"s":return String(se.$s);case"ss":return $.s(se.$s,2,"0");case"SSS":return $.s(se.$ms,3,"0");case"Z":return C}return null}(ze)||C.replace(":","")})},W.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},W.diff=function(V,se,J){var he,C=this,K=$.p(se),Q=L(V),I=(Q.utcOffset()-this.utcOffset())*n,me=this-Q,ve=function(){return $.m(C,Q)};switch(K){case h:he=ve()/12;break;case f:he=ve();break;case p:he=ve()/3;break;case c:he=(me-I)/6048e5;break;case l:he=(me-I)/864e5;break;case u:he=me/a;break;case o:he=me/n;break;case s:he=me/r;break;default:he=me}return J?he:$.a(he)},W.daysInMonth=function(){return this.endOf(f).$D},W.$locale=function(){return N[this.$L]},W.locale=function(V,se){if(!V)return this.$L;var J=this.clone(),he=U(V,se,!0);return he&&(J.$L=he),J},W.clone=function(){return $.w(this.$d,this)},W.toDate=function(){return new Date(this.valueOf())},W.toJSON=function(){return this.isValid()?this.toISOString():null},W.toISOString=function(){return this.$d.toISOString()},W.toString=function(){return this.$d.toUTCString()},X}(),ge=te.prototype;return L.prototype=ge,[["$ms",i],["$s",s],["$m",o],["$H",u],["$W",l],["$M",f],["$y",h],["$D",b]].forEach(function(X){ge[X[1]]=function(W){return this.$g(W,X[0],X[1])}}),L.extend=function(X,W){return X.$i||(X(W,te,L),X.$i=!0),L},L.locale=U,L.isDayjs=z,L.unix=function(X){return L(1e3*X)},L.en=N[B],L.Ls=N,L.p={},L})})(F4);var XN=F4.exports;const KN=Ws(XN),QN=ee.div`
|
|
1818
1818
|
width: 100%;
|
|
1819
1819
|
|
|
1820
1820
|
.ant-picker {
|
|
@@ -1856,7 +1856,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1856
1856
|
font-size: 12px;
|
|
1857
1857
|
color: #8f959e;
|
|
1858
1858
|
margin-top: 8px;
|
|
1859
|
-
`,tO=["jpg","png","svg"],rO=e=>{switch(e){case"jpg":return".jpg,.jpeg,image/jpeg";case"png":return".png,image/png";case"svg":return".svg,image/svg+xml";case"doc":return".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document";case"ppt":return".ppt,.pptx,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation";case"excel":return".xls,.xlsx,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";case"txt":return".txt,text/plain";case"markdown":return".md,.markdown,text/markdown";case"zip":return".zip,.rar,.7z,.tar,.gz,.bz2,application/zip,application/x-rar-compressed,application/x-7z-compressed";case"default":default:return"*"}},nO=e=>{if(!e||e.length===0||e.includes("default"))return"*";const t=new Set;return e.forEach(r=>{const n=rO(r);n!=="*"&&n.split(",").forEach(a=>t.add(a.trim()))}),t.size>0?Array.from(t).join(","):"*"},aO=e=>{if(!e||e.length===0||e.includes("default"))return"支持所有文件格式";const t={jpg:"JPG",png:"PNG",svg:"SVG",doc:"DOC/DOCX",ppt:"PPT/PPTX",excel:"XLS/XLSX",txt:"TXT",markdown:"Markdown",zip:"ZIP/RAR/7Z",default:"所有格式"},r=e.map(n=>t[n]||n).filter(Boolean);return r.length>0?`支持 ${r.join("、")} 格式`:"支持所有文件格式"},iO=e=>!e||e.length===0?!1:e.some(t=>tO.includes(t)),sO=({schema:e,value:t,onChange:r,disabled:n=!1,uploadSender:a,fileUploader:i})=>{const s=G.useMemo(()=>{var z;const M=(z=e.AssociationPropertyMetadata)==null?void 0:z.SubType;return Array.isArray(M)&&M.length>0?M:e.FileSubType?[e.FileSubType]:[]},[e]),o=nO(s),u=aO(s),l=iO(s),[c,f]=G.useState(!1),p=()=>t?Array.isArray(t)?t.map((M,z)=>
|
|
1859
|
+
`,tO=["jpg","png","svg"],rO=e=>{switch(e){case"jpg":return".jpg,.jpeg,image/jpeg";case"png":return".png,image/png";case"svg":return".svg,image/svg+xml";case"doc":return".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document";case"ppt":return".ppt,.pptx,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation";case"excel":return".xls,.xlsx,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";case"txt":return".txt,text/plain";case"markdown":return".md,.markdown,text/markdown";case"zip":return".zip,.rar,.7z,.tar,.gz,.bz2,application/zip,application/x-rar-compressed,application/x-7z-compressed";case"default":default:return"*"}},nO=e=>{if(!e||e.length===0||e.includes("default"))return"*";const t=new Set;return e.forEach(r=>{const n=rO(r);n!=="*"&&n.split(",").forEach(a=>t.add(a.trim()))}),t.size>0?Array.from(t).join(","):"*"},aO=e=>{if(!e||e.length===0||e.includes("default"))return"支持所有文件格式";const t={jpg:"JPG",png:"PNG",svg:"SVG",doc:"DOC/DOCX",ppt:"PPT/PPTX",excel:"XLS/XLSX",txt:"TXT",markdown:"Markdown",zip:"ZIP/RAR/7Z",default:"所有格式"},r=e.map(n=>t[n]||n).filter(Boolean);return r.length>0?`支持 ${r.join("、")} 格式`:"支持所有文件格式"},iO=e=>!e||e.length===0?!1:e.some(t=>tO.includes(t)),sO=({schema:e,value:t,onChange:r,disabled:n=!1,uploadSender:a,fileUploader:i})=>{const s=G.useMemo(()=>{var z;const M=(z=e.AssociationPropertyMetadata)==null?void 0:z.SubType;return Array.isArray(M)&&M.length>0?M:e.FileSubType?[e.FileSubType]:[]},[e]),o=nO(s),u=aO(s),l=iO(s),[c,f]=G.useState(!1),p=()=>t?Array.isArray(t)?t.map((M,z)=>ae({uid:M.uid||`${z}`,name:M.name||`文件${z+1}`,status:"done",url:M.url},M)):typeof t=="object"?[ae({uid:t.uid||"0",name:t.name||"文件",status:"done",url:t.url},t)]:[]:[],[h,b]=G.useState(p());G.useEffect(()=>{const M=p(),z=h.map(L=>L.url).sort().join(","),U=M.map(L=>L.url).sort().join(",");z!==U&&b(M)},[t]);const y=G.useCallback(M=>Pe(exports,null,function*(){if(!a)return ye.message.error("上传功能未配置"),null;try{const z=yield a({eventType:"uploadToken",fileName:M});if(!z)return ye.message.error("获取上传凭证失败"),null;const U=JSON.parse(z);return U.content?JSON.parse(U.content):U.uploadUrl&&U.downloadUrl?U:(ye.message.error("获取上传凭证失败"),null)}catch(z){return console.error("获取上传凭证失败:",z),ye.message.error("获取上传凭证失败"),null}}),[a]),E=G.useCallback((M,z)=>Pe(exports,null,function*(){if(!a)return null;try{const U=yield a({eventType:"uploadFile",fileName:M,content:z});if(!U)return null;const L=JSON.parse(U);return L.content?JSON.parse(L.content):L.fileId?L:null}catch(U){return console.error("获取文件ID失败:",U),null}}),[a]),T=G.useCallback(M=>Pe(exports,null,function*(){const z=yield y(M.name);if(!z)throw new Error("获取上传凭证失败");if(!i)throw new Error("文件上传方法未配置");const U=new Blob([M]);return yield i(U,z.uploadUrl),{uid:Date.now().toString(),name:M.name,url:z.downloadUrl,type:M.type,size:M.size}}),[y,i]),A=G.useCallback(M=>Pe(exports,null,function*(){const z=yield y(M.name);if(!z)throw new Error("获取上传凭证失败");if(!i)throw new Error("文件上传方法未配置");const U=new Blob([M]);yield i(U,z.uploadUrl);const L=yield E(M.name,z.downloadUrl);return{uid:Date.now().toString(),name:M.name,url:z.downloadUrl,fileId:L==null?void 0:L.fileId,type:M.type,size:M.size,fileType:M.name.split(".").pop()}}),[y,i,E]),k=G.useCallback(M=>Pe(exports,null,function*(){const{file:z,onSuccess:U,onError:L}=M;if(!a||!i){try{const $=URL.createObjectURL(z);U==null||U({url:$},new XMLHttpRequest)}catch($){L==null||L($),ye.message.error("文件上传失败")}return}f(!0);try{let $;l?$=yield T(z):$=yield A(z),U==null||U($,new XMLHttpRequest)}catch($){L==null||L($),ye.message.error("文件上传失败")}finally{f(!1)}}),[a,i,l,T,A]),F=G.useCallback(M=>{const{fileList:z}=M;b(z);const U=z.filter(L=>L.status==="done").map(L=>{const $=L.response;return{name:L.name,url:($==null?void 0:$.url)||L.url}});r==null||r(U.length===1?U[0]:U.length>0?U:void 0)},[r]),B=G.useCallback(M=>M.size>10485760?(ye.message.error("文件大小不能超过 10MB"),ye.Upload.LIST_IGNORE):!0,[]),N=w.jsxs("div",{children:[c?w.jsx(ot.LoadingOutlined,{}):w.jsx(ot.PlusOutlined,{}),w.jsx("div",{style:{marginTop:8},children:c?"上传中":"上传"})]});return l?w.jsxs(Rd,{children:[w.jsx(ye.Upload,{listType:"picture-card",fileList:h,onChange:F,customRequest:k,beforeUpload:B,accept:o,disabled:n||c,maxCount:1,showUploadList:{showPreviewIcon:!1,showRemoveIcon:!0},children:h.length<1&&N}),w.jsx(Dd,{children:u})]}):w.jsxs(Rd,{children:[w.jsx(ye.Upload,{fileList:h,onChange:F,customRequest:k,beforeUpload:B,accept:o,disabled:n||c,maxCount:1,children:w.jsx(ye.Button,{icon:c?w.jsx(ot.LoadingOutlined,{}):w.jsx(ot.UploadOutlined,{}),disabled:n||c,loading:c,children:c?"上传中":"选择文件"})}),w.jsx(Dd,{children:u})]})},oO=ee.div`
|
|
1860
1860
|
margin-bottom: 16px;
|
|
1861
1861
|
|
|
1862
1862
|
&:last-child {
|
|
@@ -1919,7 +1919,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1919
1919
|
.${e=>e.$prefixCls}-input-number {
|
|
1920
1920
|
width: 100%;
|
|
1921
1921
|
}
|
|
1922
|
-
`,pO=e=>{var r;const t=((r=e.AssociationPropertyMetadata)==null?void 0:r.EnumValues)||e.EnumValues;return Array.isArray(t)&&t.length>0},Uu=({name:e,schema:t,value:r,onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c,hideLabel:f=!1})=>{var M;const{Type:p,Title:h,Description:b}=t,y=h||e,E=G.useContext(ye.ConfigProvider.ConfigContext),T=((M=E.getPrefixCls)==null?void 0:M.call(E))||"ant",A=u?`${u}.${e}`:e,k=o[A],F=G.useCallback(z=>{n==null||n(z)},[n]),B=G.useMemo(()=>pO(t),[t]),
|
|
1922
|
+
`,pO=e=>{var r;const t=((r=e.AssociationPropertyMetadata)==null?void 0:r.EnumValues)||e.EnumValues;return Array.isArray(t)&&t.length>0},Uu=({name:e,schema:t,value:r,onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:o={},fieldPath:u="",uploadSender:l,fileUploader:c,hideLabel:f=!1})=>{var M;const{Type:p,Title:h,Description:b}=t,y=h||e,E=G.useContext(ye.ConfigProvider.ConfigContext),T=((M=E.getPrefixCls)==null?void 0:M.call(E))||"ant",A=u?`${u}.${e}`:e,k=o[A],F=G.useCallback(z=>{n==null||n(z)},[n]),B=G.useMemo(()=>pO(t),[t]),N=()=>{var z,U;if(B)return w.jsx(Od,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i});switch(p){case"string":return w.jsx(Io,{$prefixCls:T,children:w.jsx(ye.Input,{value:r,onChange:L=>F(L.target.value),disabled:i,placeholder:`请输入${y}`})});case"number":return w.jsx(Io,{$prefixCls:T,children:w.jsx(ye.InputNumber,{value:r,onChange:F,disabled:i,style:{width:"100%"},placeholder:`请输入${y}`})});case"boolean":return w.jsx(ye.Switch,{style:{borderRadius:16},checked:r,onChange:F,disabled:i});case"time":return w.jsx(eO,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i});case"file":return w.jsx(sO,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i,uploadSender:l,fileUploader:c});case"array":{const L=t==null?void 0:t.Items,$=(z=L==null?void 0:L.AssociationPropertyMetadata)==null?void 0:z.EnumValues,te=(U=L==null?void 0:L.AssociationPropertyMetadata)==null?void 0:U.EnumDisplayStyle;return Array.isArray($)&&$.length>0&&(te==="multi-select"||te==="checkbox")&&L?w.jsxs(dO,{children:[w.jsxs(hO,{children:[a&&w.jsx(Ld,{children:"*"}),w.jsx("span",{children:y})]}),b&&w.jsx(mO,{children:b}),w.jsx(Od,{name:e,schema:it(ae({},L),{Title:t.Title||L.Title}),value:r,onChange:F,required:a,disabled:i})]}):w.jsx(zN,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i,level:s,errors:o,fieldPath:u,uploadSender:l,fileUploader:c})}case"object":return w.jsx(WN,{name:e,schema:t,value:r,onChange:F,required:a,disabled:i,level:s,errors:o,fieldPath:u,uploadSender:l,fileUploader:c});default:return w.jsx(Io,{$prefixCls:T,children:w.jsx(ye.Input,{value:r,onChange:L=>F(L.target.value),disabled:i,placeholder:`请输入${y}`})})}};return p==="object"||p==="array"||f?N():w.jsxs(oO,{children:[w.jsxs(uO,{children:[a&&w.jsx(Ld,{children:"*"}),w.jsx(lO,{children:y})]}),N(),k&&w.jsx(fO,{children:k}),b&&!k&&w.jsx(cO,{children:b})]})},B4=Object.freeze(Object.defineProperty({__proto__:null,FieldRenderer:Uu,default:Uu},Symbol.toStringTag,{value:"Module"})),Md=ee.div`
|
|
1923
1923
|
width: 100%;
|
|
1924
1924
|
padding-bottom: 12px;
|
|
1925
1925
|
`,gO=ee.div`
|
|
@@ -1930,7 +1930,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
1930
1930
|
background-color: #fafafa;
|
|
1931
1931
|
border: 1px dashed #e5e6eb;
|
|
1932
1932
|
border-radius: 6px;
|
|
1933
|
-
`,rc=({schema:e,value:t={},onChange:r,disabled:n=!1,errors:a={},uploadSender:i,fileUploader:s})=>{const o=e==null?void 0:e.Properties,u=(e==null?void 0:e.Required)||[],l=G.useCallback((f,p)=>{r==null||r(it(
|
|
1933
|
+
`,rc=({schema:e,value:t={},onChange:r,disabled:n=!1,errors:a={},uploadSender:i,fileUploader:s})=>{const o=e==null?void 0:e.Properties,u=(e==null?void 0:e.Required)||[],l=G.useCallback((f,p)=>{r==null||r(it(ae({},t),{[f]:p}))},[t,r]);if(!o||Object.keys(o).length===0)return w.jsx(Md,{children:w.jsx(gO,{children:"暂无参数配置"})});const c=tc(o);return w.jsx(Md,{children:c==null?void 0:c.map(([f,p])=>{const h=u.includes(f);return w.jsx(Uu,{name:f,schema:p,value:t[f],onChange:b=>l(f,b),required:h,disabled:n,level:0,errors:a,fieldPath:"",uploadSender:i,fileUploader:s},f)})})},bO=e=>{const[t,r]=G.useState({}),n=G.useCallback(()=>sa(e,t),[e,t]),a=G.useCallback(()=>{r({})},[]),i=G.useCallback((o,u)=>{r(l=>it(ae({},l),{[o]:u}))},[]),s=G.useCallback(o=>t[o],[t]);return{value:t,setValue:r,validate:n,reset:a,setFieldValue:i,getFieldValue:s}},yO=ee.div`
|
|
1934
1934
|
margin-top: 12px;
|
|
1935
1935
|
width: 400px;
|
|
1936
1936
|
max-width: 100%;
|
|
@@ -2103,7 +2103,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2103
2103
|
display: flex;
|
|
2104
2104
|
flex-wrap: wrap;
|
|
2105
2105
|
gap: 8px;
|
|
2106
|
-
`,kO=({content:e,role:t="bot",status:r="Success",references:n=[],images:a,files:i,audio:s,className:o,style:u,onReferenceClick:l,onWebSearchClick:c,eventType:f,humanVerifyData:p,historyCardData:h,onHumanVerifySubmit:b})=>{const[y,E]=ye.Modal.useModal(),[T,A]=G.useState(!1),[k,F]=G.useState([]);G.useEffect(()=>{e!=null&&e.includes("```echarts")&&Si().catch(console.error)},[e]);const B=G.useCallback($=>{const te=$.Title||$.title,ge=$.Text||$.text,X=$.Images||$.images;y.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:"参考资料",destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:w.jsxs(ye.Space,{direction:"vertical",style:{width:"100%"},children:[w.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[te&&w.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:te}),ge&&w.jsx("div",{children:ge})]}),X&&X.length>0&&w.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:w.jsx(SO,{children:X.map((W,V)=>w.jsx(ye.Image,{src:W,height:50},V))})})]}),footer:null})},[y]),
|
|
2106
|
+
`,kO=({content:e,role:t="bot",status:r="Success",references:n=[],images:a,files:i,audio:s,className:o,style:u,onReferenceClick:l,onWebSearchClick:c,eventType:f,humanVerifyData:p,historyCardData:h,onHumanVerifySubmit:b})=>{const[y,E]=ye.Modal.useModal(),[T,A]=G.useState(!1),[k,F]=G.useState([]);G.useEffect(()=>{e!=null&&e.includes("```echarts")&&Si().catch(console.error)},[e]);const B=G.useCallback($=>{const te=$.Title||$.title,ge=$.Text||$.text,X=$.Images||$.images;y.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:"参考资料",destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:w.jsxs(ye.Space,{direction:"vertical",style:{width:"100%"},children:[w.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[te&&w.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:te}),ge&&w.jsx("div",{children:ge})]}),X&&X.length>0&&w.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:w.jsx(SO,{children:X.map((W,V)=>w.jsx(ye.Image,{src:W,height:50},V))})})]}),footer:null})},[y]),N=G.useCallback($=>{F($),A(!0)},[]),M=G.useCallback(()=>{A(!1)},[]),z=l||B,U=c||N,L=!!(s&&!e);return w.jsxs(w.Fragment,{children:[w.jsx(vO,{$role:t,className:`appflow-sdk-message-bubble ${o||""}`,style:u,children:L?w.jsx(OI,{src:s,role:t}):w.jsxs(wO,{$role:t,children:[w.jsxs(C4,{content:e,status:r,role:t,children:[f==="humanVerify"&&p&&w.jsx(z4,{data:p,onSubmit:b}),f==="historyCard"&&h&&w.jsx(H4,{data:h}),n&&n.length>0&&r==="Success"&&w.jsx(AO,{children:w.jsx(Zl,{items:n,status:r,onItemClick:z,onWebSearchClick:U})})]}),w.jsx(vI,{role:t,images:a,files:i}),E]})}),!c&&w.jsx(ec,{items:k,open:T,onClose:M})]})},CO=ee.div`
|
|
2107
2107
|
padding: 12px 16px;
|
|
2108
2108
|
border-radius: 12px;
|
|
2109
2109
|
background: rgba(205, 208, 220, 0.15);
|
|
@@ -2201,7 +2201,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2201
2201
|
display: flex;
|
|
2202
2202
|
flex-wrap: wrap;
|
|
2203
2203
|
gap: 8px;
|
|
2204
|
-
`,NO=({content:e,messageType:t="markdown",status:r="Success",references:n=[],className:a,style:i,onReferenceClick:s,onWebSearchClick:o})=>{const[u,l]=ye.Modal.useModal(),[c,f]=G.useState(!1),[p,h]=G.useState([]);G.useEffect(()=>{(e!=null&&e.includes("echart")||e!=null&&e.includes("echarts"))&&Si().catch(console.error)},[e]);const b=G.useCallback(k=>{const F=k.Title||k.title,B=k.Text||k.text,
|
|
2204
|
+
`,NO=({content:e,messageType:t="markdown",status:r="Success",references:n=[],className:a,style:i,onReferenceClick:s,onWebSearchClick:o})=>{const[u,l]=ye.Modal.useModal(),[c,f]=G.useState(!1),[p,h]=G.useState([]);G.useEffect(()=>{(e!=null&&e.includes("echart")||e!=null&&e.includes("echarts"))&&Si().catch(console.error)},[e]);const b=G.useCallback(k=>{const F=k.Title||k.title,B=k.Text||k.text,N=k.Images||k.images;u.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:"参考资料",destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:w.jsxs(ye.Space,{direction:"vertical",style:{width:"100%"},children:[w.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[F&&w.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:F}),B&&w.jsx("div",{children:B})]}),N&&N.length>0&&w.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:w.jsx(_O,{children:N.map((M,z)=>w.jsx(ye.Image,{src:M,height:50},z))})})]}),footer:null})},[u]),y=G.useCallback(k=>{h(k),f(!0)},[]),E=G.useCallback(()=>{f(!1)},[]),T=s||b,A=o||y;return w.jsxs(w.Fragment,{children:[w.jsxs(CO,{className:`appflow-sdk-rich-message-bubble ${a||""}`,style:i,children:[w.jsx(I4,{content:e,messageType:t,status:r,role:"bot",children:n&&n.length>0&&r==="Success"&&w.jsx(IO,{children:w.jsx(Zl,{items:n,status:r,onItemClick:T,onWebSearchClick:A})})}),l]}),!o&&w.jsx(ec,{items:p,open:c,onClose:E})]})},OO=ee.div`
|
|
2205
2205
|
.appflow-chat-sender-footer {
|
|
2206
2206
|
display: flex;
|
|
2207
2207
|
align-items: center;
|
|
@@ -2249,4 +2249,4 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
2249
2249
|
background: rgba(0, 0, 0, 0.04);
|
|
2250
2250
|
}
|
|
2251
2251
|
}
|
|
2252
|
-
`,RO=()=>w.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 1000 1000",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:Array.from({length:4}).map((o,u)=>{const c=u*(146.66666666666666+140),f=1e3/2-250/2,p=1e3/2-500/2;return w.jsxs("rect",{fill:"currentColor",rx:70,ry:70,height:250,width:140,x:c,y:f,children:[w.jsx("animate",{attributeName:"height",values:"250; 500; 250",keyTimes:"0; 0.5; 1",dur:`${.8}s`,begin:`${.8/4*u}s`,repeatCount:"indefinite"}),w.jsx("animate",{attributeName:"y",values:`${f}; ${p}; ${f}`,keyTimes:"0; 0.5; 1",dur:`${.8}s`,begin:`${.8/4*u}s`,repeatCount:"indefinite"})]},u)})});function DO(){return`file_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}function LO(e){return e.type.startsWith("image/")}const MO=({loading:e=!1,disabled:t=!1,placeholder:r="",submitType:n="enter",models:a=[],modelId:i,defaultModelId:s,onModelChange:o,capabilities:u,onSubmit:l,onCancel:c,onUpload:f,className:p,style:h})=>{var on,un,ln,cn,Br;const[b,y]=G.useState(""),[E,T]=G.useState(s||((on=a[0])==null?void 0:on.id)),[A,k]=G.useState(!1),[F,B]=G.useState(!1),[
|
|
2252
|
+
`,RO=()=>w.jsx("svg",{width:"1em",height:"1em",viewBox:"0 0 1000 1000",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",children:Array.from({length:4}).map((o,u)=>{const c=u*(146.66666666666666+140),f=1e3/2-250/2,p=1e3/2-500/2;return w.jsxs("rect",{fill:"currentColor",rx:70,ry:70,height:250,width:140,x:c,y:f,children:[w.jsx("animate",{attributeName:"height",values:"250; 500; 250",keyTimes:"0; 0.5; 1",dur:`${.8}s`,begin:`${.8/4*u}s`,repeatCount:"indefinite"}),w.jsx("animate",{attributeName:"y",values:`${f}; ${p}; ${f}`,keyTimes:"0; 0.5; 1",dur:`${.8}s`,begin:`${.8/4*u}s`,repeatCount:"indefinite"})]},u)})});function DO(){return`file_${Date.now()}_${Math.random().toString(36).substring(2,9)}`}function LO(e){return e.type.startsWith("image/")}const MO=({loading:e=!1,disabled:t=!1,placeholder:r="",submitType:n="enter",models:a=[],modelId:i,defaultModelId:s,onModelChange:o,capabilities:u,onSubmit:l,onCancel:c,onUpload:f,className:p,style:h})=>{var on,un,ln,cn,Br;const[b,y]=G.useState(""),[E,T]=G.useState(s||((on=a[0])==null?void 0:on.id)),[A,k]=G.useState(!1),[F,B]=G.useState(!1),[N,M]=G.useState([]),[z,U]=G.useState(!1),L=G.useRef(null),$=G.useRef(null),te=G.useRef([]),ge=G.useRef(null),X=G.useRef(!1),W=i!=null?i:E,V=(un=u==null?void 0:u.image)!=null?un:!1,se=(ln=u==null?void 0:u.file)!=null?ln:!1,J=(cn=u==null?void 0:u.audio)!=null?cn:!1,he=(Br=u==null?void 0:u.webSearch)!=null?Br:!1,C=V||se,K=N.length>0,I=N.filter(Te=>Te.status==="uploading").length>0,me=G.useCallback(Te=>Pe(exports,null,function*(){if(!f)return;const Ke=DO(),Ye=LO(Te)?"image":"file";if(Ye==="image"&&!V||Ye==="file"&&!se)return;const Be={uid:Ke,name:Te.name,status:"uploading",type:Ye,thumbUrl:Ye==="image"?URL.createObjectURL(Te):void 0,originFile:Te};M(Gt=>[...Gt,Be]),U(!0);try{const Gt=yield f(Te);M(ur=>ur.map(Y=>Y.uid===Ke?it(ae({},Y),{status:"done",url:Gt.downloadUrl,fileId:Gt.fileId}):Y))}catch(Gt){M(ur=>ur.map(Y=>Y.uid===Ke?it(ae({},Y),{status:"error"}):Y))}}),[f,V,se]),ve=G.useCallback(Te=>{if(!Te.trim()&&!K||I)return;const Ke=N.filter(Be=>Be.type==="image"&&Be.status==="done"&&Be.url).map(Be=>Be.url),Ye=N.filter(Be=>Be.type==="file"&&Be.status==="done"&&Be.url).map(Be=>({name:Be.name,url:Be.url,fileId:Be.fileId}));l==null||l({text:Te.trim(),images:Ke,files:Ye,audio:void 0,modelId:W,webSearch:A}),y(""),M([]),U(!1)},[N,K,I,W,A,l]),Ce=G.useCallback(Te=>{T(Te),o==null||o(Te)},[o]),He=G.useCallback(Te=>{me(Te)},[me]),Ze=G.useMemo(()=>N.map(Te=>({uid:Te.uid,name:Te.name,status:Te.status==="done"?"done":Te.status==="error"?"error":"uploading",thumbUrl:Te.thumbUrl,url:Te.url})),[N]),qe=G.useMemo(()=>{var Ke;const Te=[];if(V&&Te.push("image/*"),se){const Ye=u==null?void 0:u.fileConfig;(Ke=Ye==null?void 0:Ye.supportFileTypes)!=null&&Ke.length?Te.push(...Ye.supportFileTypes.map(Be=>`.${Be}`)):Te.push(".pdf",".doc",".docx",".txt",".csv",".xlsx",".xls",".md",".json")}return Te.join(",")},[V,se,u==null?void 0:u.fileConfig]),ze=G.useMemo(()=>{if(C)return w.jsx(C0.Sender.Header,{title:"附件",open:z,onOpenChange:U,closable:!0,styles:{content:{padding:4}},children:w.jsx(C0.Attachments,{ref:L,items:Ze,accept:qe,multiple:!0,customRequest:({file:Te})=>{Te instanceof File&&me(Te)},onRemove:Te=>{M(Ke=>{const Ye=Ke.filter(Be=>Be.uid!==Te.uid);return Ye.length===0&&U(!1),Ye})},placeholder:{icon:w.jsx(ot.CloudUploadOutlined,{}),title:"拖拽文件到此处",description:"支持图片和文件"}})})},[C,z,Ze]),pt=G.useCallback(()=>{const Te=document.createElement("input");Te.type="file",Te.accept=qe,Te.multiple=!0,Te.onchange=Ke=>{const Ye=Ke.target.files;Ye&&Array.from(Ye).forEach(me)},Te.click()},[qe,me]),Tt=G.useCallback(()=>{var Te;(Te=ge.current)==null||Te.getTracks().forEach(Ke=>Ke.stop()),ge.current=null},[]),Dt=G.useCallback(()=>Pe(exports,null,function*(){var Te;if(X.current)(Te=$.current)==null||Te.stop(),X.current=!1,B(!1);else try{const Ke=yield navigator.mediaDevices.getUserMedia({audio:!0});ge.current=Ke,te.current=[];const Ye=new MediaRecorder(Ke);Ye.ondataavailable=Be=>{Be.data.size>0&&te.current.push(Be.data)},Ye.onstop=()=>Pe(exports,null,function*(){Tt();const Be=te.current;if(Be.length===0||!f)return;const Gt=new Blob(Be,{type:"audio/webm"}),ur=new File([Gt],`recording_${Date.now()}.webm`,{type:"audio/webm"});try{const Y=yield f(ur);l==null||l({text:"",images:[],files:[],audio:Y.downloadUrl,modelId:W,webSearch:!1})}catch(Y){console.error("语音上传失败:",Y)}}),Ye.onerror=()=>{X.current=!1,B(!1),Tt()},$.current=Ye,Ye.start(),X.current=!0,B(!0)}catch(Ke){console.error("无法获取麦克风权限:",Ke),X.current=!1,B(!1)}}),[f,l,b,W,A,Tt]);G.useEffect(()=>()=>{var Te;(Te=$.current)==null||Te.stop(),Tt()},[Tt]);const Fr=G.useCallback(Te=>{const{SendButton:Ke,LoadingButton:Ye}=Te.components;return w.jsxs("div",{className:"appflow-chat-sender-footer",children:[w.jsxs("div",{className:"appflow-chat-sender-footer-left",children:[a.length>1&&w.jsx(ye.Select,{className:"appflow-chat-sender-model-select",size:"small",value:W,onChange:Ce,options:a.map(Be=>({label:Be.name,value:Be.id})),variant:"borderless",popupMatchSelectWidth:!1}),he&&w.jsxs("div",{className:"appflow-chat-sender-web-search",onClick:()=>k(Be=>!Be),children:[w.jsx(ot.GlobalOutlined,{}),w.jsx(ye.Switch,{size:"small",checked:A,onChange:k}),w.jsx("span",{children:"联网搜索"})]})]}),w.jsxs("div",{className:"appflow-chat-sender-footer-right",children:[C&&w.jsx(ye.Tooltip,{title:"上传文件",children:w.jsx(ye.Button,{type:"text",size:"small",icon:V&&!se?w.jsx(ot.PictureOutlined,{}):w.jsx(ot.PaperClipOutlined,{}),disabled:t||e,onClick:pt})}),C&&J&&w.jsx("div",{className:"appflow-chat-sender-separator"}),J&&w.jsx(ye.Tooltip,{title:F?"停止录音":"语音输入",children:w.jsx(ye.Button,{type:"text",size:"small",icon:F?w.jsx(RO,{}):w.jsx(ot.AudioOutlined,{}),disabled:t,onClick:Dt})}),e?w.jsx(Ye,{}):w.jsx(Ke,{disabled:t||I||!b.trim()&&!K})]})]})},[C,V,se,K,N.length,pt,a,W,Ce,he,A,J,F,Dt,t,e,I,b]);return w.jsx(OO,{className:`appflow-chat-sender ${p||""}`,style:h,children:w.jsx(C0.Sender,{value:b,onChange:y,onSubmit:ve,loading:e,disabled:t,placeholder:I?"文件上传中...":r,submitType:n,onCancel:c,onPasteFile:C?He:void 0,allowSpeech:!1,header:ze,footer:Fr,actions:!1,autoSize:{minRows:1,maxRows:6},readOnly:I})})};exports.BubbleContent=C4;exports.ChatSender=MO;exports.ChatService=uh;exports.CustomParamsRenderer=rc;exports.DocReferences=Zl;exports.HistoryCard=H4;exports.HumanVerify=z4;exports.MarkdownRenderer=pI;exports.MarkdownView=nr;exports.MessageBubble=kO;exports.RichBubbleContent=I4;exports.RichBubbleProvider=v4;exports.RichMessageBubble=NO;exports.SourceContent=M4;exports.WebSearchContent=P4;exports.WebSearchPanel=ec;exports.chatService=R6;exports.convertSchemaToUpperCase=ju;exports.loadEchartsScript=Si;exports.loadMermaidScript=S4;exports.useCustomParamsRenderer=bO;exports.useRichBubbleContext=w4;exports.validateCustomParams=sa;
|