@alicloud/appflow-chat 0.0.4-beta.4 → 0.0.4-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1,2032 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-CsdPG_CH.cjs");exports.BubbleContent=e.BubbleContent;exports.ChatService=e.ChatService;exports.CustomParamsRenderer=e.CustomParamsRenderer;exports.DocReferences=e.DocReferences;exports.HistoryCard=e.HistoryCard;exports.HumanVerify=e.HumanVerify;exports.MarkdownRenderer=e.MarkdownRenderer;exports.MarkdownView=e.MarkdownView;exports.MessageBubble=e.MessageBubble;exports.RichBubbleContent=e.RichBubbleContent;exports.RichBubbleProvider=e.RichBubbleProvider;exports.RichMessageBubble=e.RichMessageBubble;exports.SourceContent=e.SourceContent;exports.WebSearchContent=e.WebSearchContent;exports.WebSearchPanel=e.WebSearchPanel;exports.chatService=e.chatService;exports.convertSchemaToUpperCase=e.convertSchemaToUpperCase;exports.loadEchartsScript=e.loadEchartsScript;exports.loadMermaidScript=e.loadMermaidScript;exports.useCustomParamsRenderer=e.useCustomParamsRenderer;exports.useRichBubbleContext=e.useRichBubbleContext;exports.validateCustomParams=e.validateCustomParams;
1
+ "use strict";var O4=Object.create;var v0=Object.defineProperty,R4=Object.defineProperties,D4=Object.getOwnPropertyDescriptor,L4=Object.getOwnPropertyDescriptors,M4=Object.getOwnPropertyNames,Ai=Object.getOwnPropertySymbols,P4=Object.getPrototypeOf,A0=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable;var _n=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),F4=e=>{throw TypeError(e)},Zl=Math.pow,T0=(e,t,r)=>t in e?v0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,J=(e,t)=>{for(var r in t||(t={}))A0.call(t,r)&&T0(e,r,t[r]);if(Ai)for(var r of Ai(t))Jl.call(t,r)&&T0(e,r,t[r]);return e},tt=(e,t)=>R4(e,L4(t));var wi=(e,t)=>{var r={};for(var n in e)A0.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&Ai)for(var n of Ai(e))t.indexOf(n)<0&&Jl.call(e,n)&&(r[n]=e[n]);return r};var B4=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of M4(t))!A0.call(e,a)&&a!==r&&v0(e,a,{get:()=>t[a],enumerable:!(n=D4(t,a))||n.enumerable});return e};var ec=(e,t,r)=>(r=e!=null?O4(P4(e)):{},B4(t||!e||!e.__esModule?v0(r,"default",{value:e,enumerable:!0}):r,e));var Nn=(e,t,r)=>T0(e,typeof t!="symbol"?t+"":t,r);var Re=(e,t,r)=>new Promise((n,a)=>{var i=o=>{try{u(r.next(o))}catch(l){a(l)}},s=o=>{try{u(r.throw(o))}catch(l){a(l)}},u=o=>o.done?n(o.value):Promise.resolve(o.value).then(i,s);u((r=r.apply(e,t)).next())}),rn=function(e,t){this[0]=e,this[1]=t},w0=(e,t,r)=>{var n=(s,u,o,l)=>{try{var c=r[s](u),f=(u=c.value)instanceof rn,p=c.done;Promise.resolve(f?u[0]:u).then(d=>f?n(s==="return"?s:"next",u[1]?{done:d.done,value:d.value}:d,o,l):o({value:d,done:p})).catch(d=>n("throw",d,o,l))}catch(d){l(d)}},a=s=>i[s]=u=>new Promise((o,l)=>n(s,u,o,l)),i={};return r=r.apply(e,t),i[_n("asyncIterator")]=()=>i,a("next"),a("throw"),a("return"),i},S0=e=>{var t=e[_n("asyncIterator")],r=!1,n,a={};return t==null?(t=e[_n("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 rn(new Promise(u=>{var o=t[i](s);o instanceof Object||F4("Object expected"),u(o)}),1)}}),a[_n("iterator")]=()=>a,n("next"),"throw"in t?n("throw"):a.throw=i=>{throw i},"return"in t&&n("return"),a},tc=(e,t,r)=>(t=e[_n("asyncIterator")])?t.call(e):(e=e[_n("iterator")](),t={},r=(n,a)=>(a=e[n])&&(t[n]=i=>new Promise((s,u,o)=>(i=a.call(e,i),o=i.done,Promise.resolve(i.value).then(l=>s({value:l,done:o}),u)))),r("next"),r("return"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("react/jsx-runtime"),G=require("react"),pe=require("antd"),sr=require("@ant-design/icons");let un=null,ya=null;const z4="https://g.alicdn.com/code/npm/@ali/chatui-sdk/6.6.5/ChatSSE.js";function H4(){return ya||(ya=new Promise((e,t)=>{var n;if((n=window.ChatSSE)!=null&&n.fetchEventSource){un=window.ChatSSE.fetchEventSource,e(un);return}const r=document.createElement("script");r.src=z4,r.async=!0,r.onload=()=>{var a;un=(a=window.ChatSSE)==null?void 0:a.fetchEventSource,un?e(un):t(new Error("ChatSSE.fetchEventSource not found after script load"))},r.onerror=()=>{ya=null,t(new Error("Failed to load ChatSSE script from CDN"))},document.head.appendChild(r)}),ya)}function U4(){return Re(this,null,function*(){return un||H4()})}function j4(e,t){return Re(this,null,function*(){return(yield U4())(e,t)})}function Ph(e,t){return function(){return e.apply(t,arguments)}}const{toString:q4}=Object.prototype,{getPrototypeOf:Fo}=Object,{iterator:Ns,toStringTag:Fh}=Symbol,Os=(e=>t=>{const r=q4.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),er=e=>(e=e.toLowerCase(),t=>Os(t)===e),Rs=e=>t=>typeof t===e,{isArray:ea}=Array,Hn=Rs("undefined");function ei(e){return e!==null&&!Hn(e)&&e.constructor!==null&&!Hn(e.constructor)&&Nt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Bh=er("ArrayBuffer");function $4(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Bh(e.buffer),t}const Y4=Rs("string"),Nt=Rs("function"),zh=Rs("number"),ti=e=>e!==null&&typeof e=="object",V4=e=>e===!0||e===!1,Wi=e=>{if(Os(e)!=="object")return!1;const t=Fo(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Fh in e)&&!(Ns in e)},W4=e=>{if(!ti(e)||ei(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},G4=er("Date"),X4=er("File"),K4=e=>!!(e&&typeof e.uri!="undefined"),Q4=e=>e&&typeof e.getParts!="undefined",J4=er("Blob"),Z4=er("FileList"),e3=e=>ti(e)&&Nt(e.pipe);function t3(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const rc=t3(),nc=typeof rc.FormData!="undefined"?rc.FormData:void 0,r3=e=>{let t;return e&&(nc&&e instanceof nc||Nt(e.append)&&((t=Os(e))==="formdata"||t==="object"&&Nt(e.toString)&&e.toString()==="[object FormData]"))},n3=er("URLSearchParams"),[a3,i3,s3,u3]=["ReadableStream","Request","Response","Headers"].map(er),o3=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ri(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,a;if(typeof e!="object"&&(e=[e]),ea(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{if(ei(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),s=i.length;let u;for(n=0;n<s;n++)u=i[n],t.call(null,e[u],u,e)}}function Hh(e,t){if(ei(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 fn=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,Uh=e=>!Hn(e)&&e!==fn;function Su(){const{caseless:e,skipUndefined:t}=Uh(this)&&this||{},r={},n=(a,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=e&&Hh(r,i)||i;Wi(r[s])&&Wi(a)?r[s]=Su(r[s],a):Wi(a)?r[s]=Su({},a):ea(a)?r[s]=a.slice():(!t||!Hn(a))&&(r[s]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&ri(arguments[a],n);return r}const l3=(e,t,r,{allOwnKeys:n}={})=>(ri(t,(a,i)=>{r&&Nt(a)?Object.defineProperty(e,i,{value:Ph(a,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),c3=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),f3=(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)},h3=(e,t,r,n)=>{let a,i,s;const u={};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))&&!u[s]&&(t[s]=e[s],u[s]=!0);e=r!==!1&&Fo(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},d3=(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},m3=e=>{if(!e)return null;if(ea(e))return e;let t=e.length;if(!zh(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},p3=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Fo(Uint8Array)),g3=(e,t)=>{const n=(e&&e[Ns]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},b3=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},y3=er("HTMLFormElement"),E3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),ac=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),x3=er("RegExp"),jh=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};ri(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},T3=e=>{jh(e,(t,r)=>{if(Nt(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Nt(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+"'")})}})},v3=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return ea(e)?n(e):n(String(e).split(t)),r},A3=()=>{},w3=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function S3(e){return!!(e&&Nt(e.append)&&e[Fh]==="FormData"&&e[Ns])}const k3=e=>{const t=new Array(10),r=(n,a)=>{if(ti(n)){if(t.indexOf(n)>=0)return;if(ei(n))return n;if(!("toJSON"in n)){t[a]=n;const i=ea(n)?[]:{};return ri(n,(s,u)=>{const o=r(s,a+1);!Hn(o)&&(i[u]=o)}),t[a]=void 0,i}}return n};return r(e,0)},C3=er("AsyncFunction"),I3=e=>e&&(ti(e)||Nt(e))&&Nt(e.then)&&Nt(e.catch),qh=((e,t)=>e?setImmediate:t?((r,n)=>(fn.addEventListener("message",({source:a,data:i})=>{a===fn&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),fn.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Nt(fn.postMessage)),_3=typeof queueMicrotask!="undefined"?queueMicrotask.bind(fn):typeof process!="undefined"&&process.nextTick||qh,N3=e=>e!=null&&Nt(e[Ns]),j={isArray:ea,isArrayBuffer:Bh,isBuffer:ei,isFormData:r3,isArrayBufferView:$4,isString:Y4,isNumber:zh,isBoolean:V4,isObject:ti,isPlainObject:Wi,isEmptyObject:W4,isReadableStream:a3,isRequest:i3,isResponse:s3,isHeaders:u3,isUndefined:Hn,isDate:G4,isFile:X4,isReactNativeBlob:K4,isReactNative:Q4,isBlob:J4,isRegExp:x3,isFunction:Nt,isStream:e3,isURLSearchParams:n3,isTypedArray:p3,isFileList:Z4,forEach:ri,merge:Su,extend:l3,trim:o3,stripBOM:c3,inherits:f3,toFlatObject:h3,kindOf:Os,kindOfTest:er,endsWith:d3,toArray:m3,forEachEntry:g3,matchAll:b3,isHTMLForm:y3,hasOwnProperty:ac,hasOwnProp:ac,reduceDescriptors:jh,freezeMethods:T3,toObjectSet:v3,toCamelCase:E3,noop:A3,toFiniteNumber:w3,findKey:Hh,global:fn,isContextDefined:Uh,isSpecCompliantForm:S3,toJSONObject:k3,isAsyncFn:C3,isThenable:I3,setImmediate:qh,asap:_3,isIterable:N3};let Ee=class $h extends Error{static from(t,r,n,a,i,s){const u=new $h(t.message,r||t.code,n,a,i);return u.cause=t,u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),s&&Object.assign(u,s),u}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}}};Ee.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ee.ERR_BAD_OPTION="ERR_BAD_OPTION";Ee.ECONNABORTED="ECONNABORTED";Ee.ETIMEDOUT="ETIMEDOUT";Ee.ERR_NETWORK="ERR_NETWORK";Ee.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ee.ERR_DEPRECATED="ERR_DEPRECATED";Ee.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ee.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ee.ERR_CANCELED="ERR_CANCELED";Ee.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ee.ERR_INVALID_URL="ERR_INVALID_URL";const O3=null;function ku(e){return j.isPlainObject(e)||j.isArray(e)}function Yh(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function k0(e,t,r){return e?e.concat(t).map(function(a,i){return a=Yh(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function R3(e){return j.isArray(e)&&!e.some(ku)}const D3=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Ds(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(y,T){return!j.isUndefined(T[y])});const n=r.metaTokens,a=r.visitor||c,i=r.dots,s=r.indexes,o=(r.Blob||typeof Blob!="undefined"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(a))throw new TypeError("visitor must be a function");function l(b){if(b===null)return"";if(j.isDate(b))return b.toISOString();if(j.isBoolean(b))return b.toString();if(!o&&j.isBlob(b))throw new Ee("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(b)||j.isTypedArray(b)?o&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function c(b,y,T){let v=b;if(j.isReactNative(t)&&j.isReactNativeBlob(b))return t.append(k0(T,y,i),l(b)),!1;if(b&&!T&&typeof b=="object"){if(j.endsWith(y,"{}"))y=n?y:y.slice(0,-2),b=JSON.stringify(b);else if(j.isArray(b)&&R3(b)||(j.isFileList(b)||j.endsWith(y,"[]"))&&(v=j.toArray(b)))return y=Yh(y),v.forEach(function(w,M){!(j.isUndefined(w)||w===null)&&t.append(s===!0?k0([y],M,i):s===null?y:y+"[]",l(w))}),!1}return ku(b)?!0:(t.append(k0(T,y,i),l(b)),!1)}const f=[],p=Object.assign(D3,{defaultVisitor:c,convertValue:l,isVisitable:ku});function d(b,y){if(!j.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+y.join("."));f.push(b),j.forEach(b,function(v,S){(!(j.isUndefined(v)||v===null)&&a.call(t,v,j.isString(S)?S.trim():S,y,p))===!0&&d(v,y?y.concat(S):[S])}),f.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return d(e),t}function ic(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Bo(e,t){this._pairs=[],e&&Ds(e,this,t)}const Vh=Bo.prototype;Vh.append=function(t,r){this._pairs.push([t,r])};Vh.toString=function(t){const r=t?function(n){return t.call(this,n,ic)}:ic;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function L3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Wh(e,t,r){if(!t)return e;const n=r&&r.encode||L3,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 Bo(t,a).toString(n),s){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class sc{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 zo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},M3=typeof URLSearchParams!="undefined"?URLSearchParams:Bo,P3=typeof FormData!="undefined"?FormData:null,F3=typeof Blob!="undefined"?Blob:null,B3={isBrowser:!0,classes:{URLSearchParams:M3,FormData:P3,Blob:F3},protocols:["http","https","file","blob","url","data"]},Ho=typeof window!="undefined"&&typeof document!="undefined",Cu=typeof navigator=="object"&&navigator||void 0,z3=Ho&&(!Cu||["ReactNative","NativeScript","NS"].indexOf(Cu.product)<0),H3=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",U3=Ho&&window.location.href||"http://localhost",j3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Ho,hasStandardBrowserEnv:z3,hasStandardBrowserWebWorkerEnv:H3,navigator:Cu,origin:U3},Symbol.toStringTag,{value:"Module"})),mt=J(J({},j3),B3);function q3(e,t){return Ds(e,new mt.classes.URLSearchParams,J({visitor:function(r,n,a,i){return mt.isNode&&j.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function $3(e){return j.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Y3(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 Gh(e){function t(r,n,a,i){let s=r[i++];if(s==="__proto__")return!0;const u=Number.isFinite(+s),o=i>=r.length;return s=!s&&j.isArray(a)?a.length:s,o?(j.hasOwnProp(a,s)?a[s]=[a[s],n]:a[s]=n,!u):((!a[s]||!j.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&j.isArray(a[s])&&(a[s]=Y3(a[s])),!u)}if(j.isFormData(e)&&j.isFunction(e.entries)){const r={};return j.forEachEntry(e,(n,a)=>{t($3(n),a,r,0)}),r}return null}function V3(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 ni={transitional:zo,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(Gh(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 u;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return q3(t,this.formSerializer).toString();if((u=j.isFileList(t))||n.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return Ds(u?{"files[]":t}:t,o&&new o,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),V3(t)):t}],transformResponse:[function(t){const r=this.transitional||ni.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(j.isResponse(t)||j.isReadableStream(t))return t;if(t&&j.isString(t)&&(n&&!this.responseType||a)){const s=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(u){if(s)throw u.name==="SyntaxError"?Ee.from(u,Ee.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mt.classes.FormData,Blob:mt.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=>{ni.headers[e]={}});const W3=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"]),G3=e=>{const t={};let r,n,a;return e&&e.split(`
2
+ `).forEach(function(s){a=s.indexOf(":"),r=s.substring(0,a).trim().toLowerCase(),n=s.substring(a+1).trim(),!(!r||t[r]&&W3[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},uc=Symbol("internals");function Ea(e){return e&&String(e).trim().toLowerCase()}function Gi(e){return e===!1||e==null?e:j.isArray(e)?e.map(Gi):String(e).replace(/[\r\n]+$/,"")}function X3(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 K3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function C0(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 Q3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function J3(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 Ot=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(u,o,l){const c=Ea(o);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||o]=Gi(u))}const s=(u,o)=>j.forEach(u,(l,c)=>i(l,c,o));if(j.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(j.isString(t)&&(t=t.trim())&&!K3(t))s(G3(t),r);else if(j.isObject(t)&&j.isIterable(t)){let u={},o,l;for(const c of t){if(!j.isArray(c))throw TypeError("Object iterator must return a key-value pair");u[l=c[0]]=(o=u[l])?j.isArray(o)?[...o,c[1]]:[o,c[1]]:c[1]}s(u,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=Ea(t),t){const n=j.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return X3(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=Ea(t),t){const n=j.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||C0(this,this[n],n,r)))}return!1}delete(t,r){const n=this;let a=!1;function i(s){if(s=Ea(s),s){const u=j.findKey(n,s);u&&(!r||C0(n,n[u],u,r))&&(delete n[u],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||C0(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]=Gi(a),delete r[i];return}const u=t?Q3(i):String(i).trim();u!==i&&delete r[i],r[u]=Gi(a),n[u]=!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[uc]=this[uc]={accessors:{}}).accessors,a=this.prototype;function i(s){const u=Ea(s);n[u]||(J3(a,s),n[u]=!0)}return j.isArray(t)?t.forEach(i):i(t),this}};Ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(Ot.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});j.freezeMethods(Ot);function I0(e,t){const r=this||ni,n=t||r,a=Ot.from(n.headers);let i=n.data;return j.forEach(e,function(u){i=u.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Xh(e){return!!(e&&e.__CANCEL__)}let ai=class extends Ee{constructor(t,r,n){super(t==null?"canceled":t,Ee.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function Kh(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ee("Request failed with status code "+r.status,[Ee.ERR_BAD_REQUEST,Ee.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function Z3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function e6(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(o){const l=Date.now(),c=n[i];s||(s=l),r[a]=o,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 d=c&&l-c;return d?Math.round(p*1e3/d):void 0}}function t6(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 cs=(e,t,r=3)=>{let n=0;const a=e6(50,250);return t6(i=>{const s=i.loaded,u=i.lengthComputable?i.total:void 0,o=s-n,l=a(o),c=s<=u;n=s;const f={loaded:s,total:u,progress:u?s/u:void 0,bytes:o,rate:l||void 0,estimated:l&&u&&c?(u-s)/l:void 0,event:i,lengthComputable:u!=null,[t?"download":"upload"]:!0};e(f)},r)},oc=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},lc=e=>(...t)=>j.asap(()=>e(...t)),r6=mt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,mt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(mt.origin),mt.navigator&&/(msie|trident)/i.test(mt.navigator.userAgent)):()=>!0,n6=mt.hasStandardBrowserEnv?{write(e,t,r,n,a,i,s){if(typeof document=="undefined")return;const u=[`${e}=${encodeURIComponent(t)}`];j.isNumber(r)&&u.push(`expires=${new Date(r).toUTCString()}`),j.isString(n)&&u.push(`path=${n}`),j.isString(a)&&u.push(`domain=${a}`),i===!0&&u.push("secure"),j.isString(s)&&u.push(`SameSite=${s}`),document.cookie=u.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 a6(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function i6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Qh(e,t,r){let n=!a6(t);return e&&(n||r==!1)?i6(e,t):t}const cc=e=>e instanceof Ot?J({},e):e;function bn(e,t){t=t||{};const r={};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 u(l,c,f){if(f in t)return n(l,c);if(f in e)return n(void 0,l)}const o={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,responseEncoding:s,validateStatus:u,headers:(l,c,f)=>a(cc(l),cc(c),f,!0)};return j.forEach(Object.keys(J(J({},e),t)),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=j.hasOwnProp(o,c)?o[c]:a,p=f(e[c],t[c],c);j.isUndefined(p)&&f!==u||(r[c]=p)}),r}const Jh=e=>{const t=bn({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:s,auth:u}=t;if(t.headers=s=Ot.from(s),t.url=Wh(Qh(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),j.isFormData(r)){if(mt.hasStandardBrowserEnv||mt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(j.isFunction(r.getHeaders)){const o=r.getHeaders(),l=["content-type","content-length"];Object.entries(o).forEach(([c,f])=>{l.includes(c.toLowerCase())&&s.set(c,f)})}}if(mt.hasStandardBrowserEnv&&(n&&j.isFunction(n)&&(n=n(t)),n||n!==!1&&r6(t.url))){const o=a&&i&&n6.read(i);o&&s.set(a,o)}return t},s6=typeof XMLHttpRequest!="undefined",u6=s6&&function(e){return new Promise(function(r,n){const a=Jh(e);let i=a.data;const s=Ot.from(a.headers).normalize();let{responseType:u,onUploadProgress:o,onDownloadProgress:l}=a,c,f,p,d,b;function y(){d&&d(),b&&b(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let T=new XMLHttpRequest;T.open(a.method.toUpperCase(),a.url,!0),T.timeout=a.timeout;function v(){if(!T)return;const w=Ot.from("getAllResponseHeaders"in T&&T.getAllResponseHeaders()),B={data:!u||u==="text"||u==="json"?T.responseText:T.response,status:T.status,statusText:T.statusText,headers:w,config:e,request:T};Kh(function(D){r(D),y()},function(D){n(D),y()},B),T=null}"onloadend"in T?T.onloadend=v:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(v)},T.onabort=function(){T&&(n(new Ee("Request aborted",Ee.ECONNABORTED,e,T)),T=null)},T.onerror=function(M){const B=M&&M.message?M.message:"Network Error",O=new Ee(B,Ee.ERR_NETWORK,e,T);O.event=M||null,n(O),T=null},T.ontimeout=function(){let M=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const B=a.transitional||zo;a.timeoutErrorMessage&&(M=a.timeoutErrorMessage),n(new Ee(M,B.clarifyTimeoutError?Ee.ETIMEDOUT:Ee.ECONNABORTED,e,T)),T=null},i===void 0&&s.setContentType(null),"setRequestHeader"in T&&j.forEach(s.toJSON(),function(M,B){T.setRequestHeader(B,M)}),j.isUndefined(a.withCredentials)||(T.withCredentials=!!a.withCredentials),u&&u!=="json"&&(T.responseType=a.responseType),l&&([p,b]=cs(l,!0),T.addEventListener("progress",p)),o&&T.upload&&([f,d]=cs(o),T.upload.addEventListener("progress",f),T.upload.addEventListener("loadend",d)),(a.cancelToken||a.signal)&&(c=w=>{T&&(n(!w||w.type?new ai(null,e,T):w),T.abort(),T=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const S=Z3(a.url);if(S&&mt.protocols.indexOf(S)===-1){n(new Ee("Unsupported protocol "+S+":",Ee.ERR_BAD_REQUEST,e));return}T.send(i||null)})},o6=(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,u();const c=l instanceof Error?l:this.reason;n.abort(c instanceof Ee?c:new ai(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,i(new Ee(`timeout of ${t}ms exceeded`,Ee.ETIMEDOUT))},t);const u=()=>{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:o}=n;return o.unsubscribe=()=>j.asap(u),o}},l6=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},c6=function(e,t){return w0(this,null,function*(){try{for(var r=tc(f6(e)),n,a,i;n=!(a=yield new rn(r.next())).done;n=!1){const s=a.value;yield*S0(l6(s,t))}}catch(a){i=[a]}finally{try{n&&(a=r.return)&&(yield new rn(a.call(r)))}finally{if(i)throw i[0]}}})},f6=function(e){return w0(this,null,function*(){if(e[Symbol.asyncIterator]){yield*S0(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new rn(t.read());if(r)break;yield n}}finally{yield new rn(t.cancel())}})},fc=(e,t,r,n)=>{const a=c6(e,t);let i=0,s,u=l=>{s||(s=!0,n&&n(l))};return new ReadableStream({pull(l){return Re(this,null,function*(){try{const{done:c,value:f}=yield a.next();if(c){u(),l.close();return}let p=f.byteLength;if(r){let d=i+=p;r(d)}l.enqueue(new Uint8Array(f))}catch(c){throw u(c),c}})},cancel(l){return u(l),a.return()}},{highWaterMark:2})},hc=64*1024,{isFunction:Si}=j,h6=(({Request:e,Response:t})=>({Request:e,Response:t}))(j.global),{ReadableStream:dc,TextEncoder:mc}=j.global,pc=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},d6=e=>{e=j.merge.call({skipUndefined:!0},h6,e);const{fetch:t,Request:r,Response:n}=e,a=t?Si(t):typeof fetch=="function",i=Si(r),s=Si(n);if(!a)return!1;const u=a&&Si(dc),o=a&&(typeof mc=="function"?(b=>y=>b.encode(y))(new mc):b=>Re(exports,null,function*(){return new Uint8Array(yield new r(b).arrayBuffer())})),l=i&&u&&pc(()=>{let b=!1;const y=new dc,T=new r(mt.origin,{body:y,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return y.cancel(),b&&!T}),c=s&&u&&pc(()=>j.isReadableStream(new n("").body)),f={stream:c&&(b=>b.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(y,T)=>{let v=y&&y[b];if(v)return v.call(y);throw new Ee(`Response type '${b}' is not supported`,Ee.ERR_NOT_SUPPORT,T)})});const p=b=>Re(exports,null,function*(){if(b==null)return 0;if(j.isBlob(b))return b.size;if(j.isSpecCompliantForm(b))return(yield new r(mt.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 o(b)).byteLength}),d=(b,y)=>Re(exports,null,function*(){const T=j.toFiniteNumber(b.getContentLength());return T==null?p(y):T});return b=>Re(exports,null,function*(){let{url:y,method:T,data:v,signal:S,cancelToken:w,timeout:M,onDownloadProgress:B,onUploadProgress:O,responseType:D,headers:z,withCredentials:U="same-origin",fetchOptions:P}=Jh(b),$=t||fetch;D=D?(D+"").toLowerCase():"text";let X=o6([S,w&&w.toAbortSignal()],M),he=null;const me=X&&X.unsubscribe&&(()=>{X.unsubscribe()});let de;try{if(O&&l&&T!=="get"&&T!=="head"&&(de=yield d(z,v))!==0){let ue=new r(y,{method:"POST",body:v,duplex:"half"}),se;if(j.isFormData(v)&&(se=ue.headers.get("content-type"))&&z.setContentType(se),ue.body){const[_,Ce]=oc(de,cs(lc(O)));v=fc(ue.body,hc,_,Ce)}}j.isString(U)||(U=U?"include":"omit");const Te=i&&"credentials"in r.prototype,De=tt(J({},P),{signal:X,method:T.toUpperCase(),headers:z.normalize().toJSON(),body:v,duplex:"half",credentials:Te?U:void 0});he=i&&new r(y,De);let Le=yield i?$(he,P):$(y,De);const Be=c&&(D==="stream"||D==="response");if(c&&(B||Be&&me)){const ue={};["status","statusText","headers"].forEach(ze=>{ue[ze]=Le[ze]});const se=j.toFiniteNumber(Le.headers.get("content-length")),[_,Ce]=B&&oc(se,cs(lc(B),!0))||[];Le=new n(fc(Le.body,hc,_,()=>{Ce&&Ce(),me&&me()}),ue)}D=D||"text";let L=yield f[j.findKey(f,D)||"text"](Le,b);return!Be&&me&&me(),yield new Promise((ue,se)=>{Kh(ue,se,{data:L,headers:Ot.from(Le.headers),status:Le.status,statusText:Le.statusText,config:b,request:he})})}catch(Te){throw me&&me(),Te&&Te.name==="TypeError"&&/Load failed|fetch/i.test(Te.message)?Object.assign(new Ee("Network Error",Ee.ERR_NETWORK,b,he,Te&&Te.response),{cause:Te.cause||Te}):Ee.from(Te,Te&&Te.code,b,he,Te&&Te.response)}})},m6=new Map,Zh=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:a}=t,i=[n,a,r];let s=i.length,u=s,o,l,c=m6;for(;u--;)o=i[u],l=c.get(o),l===void 0&&c.set(o,l=u?new Map:d6(t)),c=l;return l};Zh();const Uo={http:O3,xhr:u6,fetch:{get:Zh}};j.forEach(Uo,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const gc=e=>`- ${e}`,p6=e=>j.isFunction(e)||e===null||e===!1;function g6(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 u;if(a=n,!p6(n)&&(a=Uo[(u=String(n)).toLowerCase()],a===void 0))throw new Ee(`Unknown adapter '${u}'`);if(a&&(j.isFunction(a)||(a=a.get(t))))break;i[u||"#"+s]=a}if(!a){const s=Object.entries(i).map(([o,l])=>`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build"));let u=r?s.length>1?`since :
4
+ `+s.map(gc).join(`
5
+ `):" "+gc(s[0]):"as no adapter specified";throw new Ee("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return a}const ed={getAdapter:g6,adapters:Uo};function _0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ai(null,e)}function bc(e){return _0(e),e.headers=Ot.from(e.headers),e.data=I0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ed.getAdapter(e.adapter||ni.adapter,e)(e).then(function(n){return _0(e),n.data=I0.call(e,e.transformResponse,n),n.headers=Ot.from(n.headers),n},function(n){return Xh(n)||(_0(e),n&&n.response&&(n.response.data=I0.call(e,e.transformResponse,n.response),n.response.headers=Ot.from(n.response.headers))),Promise.reject(n)})}const td="1.14.0",Ls={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ls[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const yc={};Ls.transitional=function(t,r,n){function a(i,s){return"[Axios v"+td+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,u)=>{if(t===!1)throw new Ee(a(s," has been removed"+(r?" in "+r:"")),Ee.ERR_DEPRECATED);return r&&!yc[s]&&(yc[s]=!0,console.warn(a(s," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,s,u):!0}};Ls.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function b6(e,t,r){if(typeof e!="object")throw new Ee("options must be an object",Ee.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=t[i];if(s){const u=e[i],o=u===void 0||s(u,i,e);if(o!==!0)throw new Ee("option "+i+" must be "+o,Ee.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ee("Unknown option "+i,Ee.ERR_BAD_OPTION)}}const Xi={assertOptions:b6,validators:Ls},Ut=Xi.validators;let mn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new sc,response:new sc}}request(t,r){return Re(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=a.stack?a.stack.replace(/^.+\n/,""):"";try{n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
6
+ `+i):n.stack=i}catch(s){}}throw n}})}_request(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=bn(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&Xi.assertOptions(n,{silentJSONParsing:Ut.transitional(Ut.boolean),forcedJSONParsing:Ut.transitional(Ut.boolean),clarifyTimeoutError:Ut.transitional(Ut.boolean),legacyInterceptorReqResOrdering:Ut.transitional(Ut.boolean)},!1),a!=null&&(j.isFunction(a)?r.paramsSerializer={serialize:a}:Xi.assertOptions(a,{encode:Ut.function,serialize:Ut.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Xi.assertOptions(r,{baseUrl:Ut.spelling("baseURL"),withXsrfToken:Ut.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=Ot.concat(s,i);const u=[];let o=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(r)===!1)return;o=o&&y.synchronous;const T=r.transitional||zo;T&&T.legacyInterceptorReqResOrdering?u.unshift(y.fulfilled,y.rejected):u.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(!o){const b=[bc.bind(this),void 0];for(b.unshift(...u),b.push(...l),p=b.length,c=Promise.resolve(r);f<p;)c=c.then(b[f++],b[f++]);return c}p=u.length;let d=r;for(;f<p;){const b=u[f++],y=u[f++];try{d=b(d)}catch(T){y.call(this,T);break}}try{c=bc.call(this,d)}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=bn(this.defaults,t);const r=Qh(t.baseURL,t.url,t.allowAbsoluteUrls);return Wh(r,t.params,t.paramsSerializer)}};j.forEach(["delete","get","head","options"],function(t){mn.prototype[t]=function(r,n){return this.request(bn(n||{},{method:t,url:r,data:(n||{}).data}))}});j.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,u){return this.request(bn(u||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}mn.prototype[t]=r(),mn.prototype[t+"Form"]=r(!0)});let y6=class rd{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(u=>{n.subscribe(u),i=u}).then(a);return s.cancel=function(){n.unsubscribe(i)},s},t(function(i,s,u){n.reason||(n.reason=new ai(i,s,u),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 rd(function(a){t=a}),cancel:t}}};function E6(e){return function(r){return e.apply(null,r)}}function x6(e){return j.isObject(e)&&e.isAxiosError===!0}const Iu={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(Iu).forEach(([e,t])=>{Iu[t]=e});function nd(e){const t=new mn(e),r=Ph(mn.prototype.request,t);return j.extend(r,mn.prototype,t,{allOwnKeys:!0}),j.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return nd(bn(e,a))},r}const et=nd(ni);et.Axios=mn;et.CanceledError=ai;et.CancelToken=y6;et.isCancel=Xh;et.VERSION=td;et.toFormData=Ds;et.AxiosError=Ee;et.Cancel=et.CanceledError;et.all=function(t){return Promise.all(t)};et.spread=E6;et.isAxiosError=x6;et.mergeConfig=bn;et.AxiosHeaders=Ot;et.formToJSON=e=>Gh(j.isHTMLForm(e)?new FormData(e):e);et.getAdapter=ed.getAdapter;et.HttpStatusCode=Iu;et.default=et;const{Axios:oO,AxiosError:lO,CanceledError:cO,isCancel:fO,CancelToken:hO,VERSION:dO,all:mO,Cancel:pO,isAxiosError:gO,spread:bO,toFormData:yO,AxiosHeaders:EO,HttpStatusCode:xO,formToJSON:TO,getAdapter:vO,mergeConfig:AO}=et,T6=(e,t)=>new Promise((r,n)=>{et.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 ki(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 v6={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 _u(e,t){function r(a,i,s){if(typeof document!="undefined"){s=ki({},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 u="";for(var o in s)s[o]&&(u+="; "+o,s[o]!==!0&&(u+="="+s[o].split(";")[0]));return document.cookie=a+"="+e.write(i,a)+u}}function n(a){if(!(typeof document=="undefined"||arguments.length&&!a)){for(var i=document.cookie?document.cookie.split("; "):[],s={},u=0;u<i.length;u++){var o=i[u].split("="),l=o.slice(1).join("=");try{var c=decodeURIComponent(o[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,"",ki({},i,{expires:-1}))},withAttributes:function(a){return _u(this.converter,ki({},this.attributes,a))},withConverter:function(a){return _u(ki({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ci=_u(v6,{path:"/"});class ad{constructor(){Nn(this,"config",null);Nn(this,"setupConfig",null);Nn(this,"sessionId","");Nn(this,"currentController",null);Nn(this,"isInitialized",!1)}setup(t){return Re(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&&Ci.remove("appflow_chat_ticket"),yield this.initTicket();const r=yield this.fetchConfig(t.integrateId);return this.config=r,this.isInitialized=!0,r})}initTicket(){return Re(this,null,function*(){var n,a,i;const t=((n=this.setupConfig)==null?void 0:n.domain)||"";if(!Ci.get("appflow_chat_ticket"))try{const u=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();u!=null&&u.data&&(u==null?void 0:u.code)==="200"&&Ci.set("appflow_chat_ticket",u.data,{expires:7})}catch(s){console.error("初始化ticket失败:",s)}})}fetchConfig(t){return Re(this,null,function*(){var n,a,i,s,u,o;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 d=p.data,b=d.integrateConfig,y=b?JSON.parse(b):{},T=(d.models||[]).map(v=>{var S,w,M,B,O,D,z,U,P;return{id:v.chatbotModelId||v.ChatbotModelId,name:v.modelName||v.ModelName||v.chatbotModelId,config:{image:((S=v.config)==null?void 0:S.image)||((w=v.Config)==null?void 0:w.image)||((M=v.Config)==null?void 0:M.Image),file:((B=v.config)==null?void 0:B.file)||((O=v.Config)==null?void 0:O.file)||((D=v.Config)==null?void 0:D.File),webSearch:((z=v.config)==null?void 0:z.webSearch)||((U=v.Config)==null?void 0:U.webSearch)||((P=v.Config)==null?void 0:P.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:T,features:{image:((s=y==null?void 0:y.message)==null?void 0:s.imageEnabled)||!1,file:((u=y==null?void 0:y.message)==null?void 0:u.fileEnabled)||!1,audio:((o=y==null?void 0:y.message)==null?void 0:o.audioEnabled)||!1,webSearch:T.some(v=>{var S;return(S=v.config)==null?void 0:S.webSearch})},chatbotId:d.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 Re(this,null,function*(){var s;const t=((s=this.setupConfig)==null?void 0:s.domain)||"",r=Ci.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={};return this.sendMessage(t,r),{onMessage:n=>(r.onMessage=n,this),onError:n=>(r.onError=n,this)}}sendMessage(t,r){return Re(this,null,function*(){var u,o,l,c,f,p,d,b,y;const n=((u=this.setupConfig)==null?void 0:u.domain)||"",a=((o=this.config)==null?void 0:o.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:T,ticket:v}=yield this.getRequestToken(),S={chatbotId:(f=this.config)==null?void 0:f.chatbotId,chatbotModelId:i,sessionId:this.sessionId};if(t.audio)S.messageType="audio",S.audio={mediaUrl:t.audio,mediaType:"wav"};else if(t.images&&t.images.length>0||t.files&&t.files.length>0){S.messageType="rich";const w=[];t.text&&w.push({type:"text",content:t.text}),(p=t.images)==null||p.forEach(M=>{w.push({type:"image",mediaUrl:M})}),(d=t.files)==null||d.forEach(M=>{w.push({type:"file",mediaUrl:M})}),S.richText=w}else S.messageType="text",S.text={content:t.text||""};t.webSearch&&(S.config={webSearch:!0}),yield j4(`${n}/webhook/chatbot/chat/${a}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":T,"X-Account-Session-Ticket":v},body:JSON.stringify(S),signal:this.currentController.signal,timeout:150*1e3,onopen:w=>Re(this,null,function*(){if(!w.ok&&w.status!==200){const M=yield w.text();throw new Error(M)}}),onmessage:w=>{var M;try{const B=JSON.parse(w.data);if(B.sessionId&&(this.sessionId=B.sessionId),B.messageType==="event")return;s=B.content||"";const O=B.status!=="Running",D={status:B.status,references:B.references,sessionId:B.sessionId,messageType:B.messageType,messageId:B.messageId};if(B.messageType==="card"){D.sessionWebhook=B.sessionWebhook;try{const z=JSON.parse(B.content);if(D.cardType=z.type,D.cardData=z.data,D.cardDisplayContent=z.content,z.type==="chatbot_input"){const U=z.data;if(D.verifyId=U==null?void 0:U.verifyId,U){for(const P in U)if(U[P]&&typeof U[P]=="object"&&U[P].AssociationProperty==="CustomParams"){D.customParamsKey=P,D.customParams=U[P];break}}}if(z.type==="update_chatbot_input"){const U=z.data;D.approvedMessageId=U==null?void 0:U.messageId,D.approvedStatus=U==null?void 0:U.status}}catch(z){console.error("解析 card content 失败:",z)}}(M=r.onMessage)==null||M.call(r,s,O,D)}catch(B){console.error("解析消息失败:",B)}},onclose:()=>{var w;(w=r.onMessage)==null||w.call(r,s,!0)},onerror:w=>{var M;(M=r.onError)==null||M.call(r,new Error((w==null?void 0:w.message)||"请求失败"))}})}catch(T){(T==null?void 0:T.name)==="AbortError"?(b=r.onMessage)==null||b.call(r,s||"",!0,{status:"Cancelled"}):(y=r.onError)==null||y.call(r,T)}})}upload(t){return Re(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:u,ticket:o}=yield this.getRequestToken(),c=(s=(yield fetch(`${r}/webhook/chatbot/chat/${n}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":u,"X-Account-Session-Ticket":o},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 d="";for(;;){const{done:y,value:T}=yield c.read();if(y)break;d+=p.decode(T,{stream:!0});const v=d.split(`
7
+ `);d=v.pop()||"";for(const S of v){const w=S.trim();if(w.startsWith("data:"))try{const M=w.slice(5).trim();if(M){const B=JSON.parse(M);if(B.content){const O=typeof B.content=="string"?JSON.parse(B.content):B.content;O.uploadUrl&&(f=O)}}}catch(M){console.debug("解析SSE行失败:",S,M)}}}if(d.trim().startsWith("data:"))try{const y=d.trim().slice(5).trim();if(y){const T=JSON.parse(y);if(T.content){const v=typeof T.content=="string"?JSON.parse(T.content):T.content;v.uploadUrl&&(f=v)}}}catch(y){console.debug("解析SSE剩余数据失败:",d,y)}if(!(f!=null&&f.uploadUrl))throw console.error("获取上传URL失败,uploadInfo:",f),new Error("获取上传URL失败");const b=new Blob([t],{type:t.type||"application/octet-stream"});if(yield T6(b,f.uploadUrl),!f.downloadUrl)throw console.error("downloadUrl为空,uploadInfo:",f),new Error("获取下载URL失败");return f.downloadUrl}catch(u){throw console.error("上传文件失败:",u),u}})}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,u;if(!this.config)return{image:!1,file:!1,audio:!1,webSearch:!1};const r=t?this.config.models.find(o=>o.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(o){}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:!!((u=r.config)!=null&&u.webSearch),fileConfig:n}}hasCapability(t,r){return this.getModelCapabilities(r)[t]}setSessionId(t){this.sessionId=t}getHistory(t){return Re(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:u,ticket:o}=yield this.getRequestToken(),c=yield(yield fetch(`${r}/webhook/chatbot/integrate/${n}/message`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":u,"X-Account-Session-Ticket":o},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 d of p){if(d.message!==void 0&&d.message!==null){const b=d.messageType||"text";let y="",T,v;if(b==="rich"&&Array.isArray(d.message)){const S=[],w=[],M=[];for(const B of d.message)B.type==="text"&&B.content?S.push(B.content):B.type==="image"&&B.mediaUrl?w.push(B.mediaUrl):B.type==="file"&&B.mediaUrl&&M.push({name:B.mediaName||"文件",url:B.mediaUrl});y=S.join(`
8
+ `),w.length>0&&(T=w),M.length>0&&(v=M)}else typeof d.message=="string"&&(y=d.message);f.push({id:d.id||`user_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,role:"user",content:y,messageType:b,gmtCreate:d.gmtCreate,sessionId:d.sessionId,images:T,files:v})}if(d.assistant&&Array.isArray(d.assistant)&&d.assistant.length>0){const b=d.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:d.gmtCreate,sessionId:b.sessionId||d.sessionId})}}return f}return[]}catch(u){throw console.error("获取历史记录失败:",u),u}})}getSessions(){return Re(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(),o=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(o==null?void 0:o.httpStatusCode)===200&&(o!=null&&o.data)?(o.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 Re(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 u=yield s.text();throw new Error(`发送事件回调失败: ${s.status} ${u}`)}}catch(a){throw console.error("发送事件回调失败:",a),a}})}submitHumanVerify(t){return Re(this,null,function*(){const{verifyId:r,sessionWebhook:n,status:a,customParams:i,customParamsKey:s="customParams"}=t;if(!r)throw new Error("verifyId 不能为空");const u={verifyId:r,status:a};return i&&(u[s]=i),this.sendEventCallback({sessionWebhook:n,content:u})})}}const A6=new ad;var _t=function(){return _t=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},_t.apply(this,arguments)};function fs(e,t,r){if(r||arguments.length===2)for(var n=0,a=t.length,i;n<a;n++)(i||!(n in t))&&(i||(i=Array.prototype.slice.call(t,0,n)),i[n]=t[n]);return e.concat(i||Array.prototype.slice.call(t))}var w6={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan: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},$e="-ms-",Na="-moz-",Me="-webkit-",id="comm",Ms="rule",jo="decl",S6="@import",k6="@namespace",sd="@keyframes",C6="@layer",ud=Math.abs,qo=String.fromCharCode,Nu=Object.assign;function I6(e,t){return lt(e,0)^45?(((t<<2^lt(e,0))<<2^lt(e,1))<<2^lt(e,2))<<2^lt(e,3):0}function od(e){return e.trim()}function xr(e,t){return(e=t.exec(e))?e[0]:e}function Se(e,t,r){return e.replace(t,r)}function Ki(e,t,r){return e.indexOf(t,r)}function lt(e,t){return e.charCodeAt(t)|0}function yn(e,t,r){return e.slice(t,r)}function Xt(e){return e.length}function ld(e){return e.length}function Sa(e,t){return t.push(e),e}function _6(e,t){return e.map(t).join("")}function Ec(e,t){return e.filter(function(r){return!xr(r,t)})}var Ps=1,Un=1,cd=0,Yt=0,nt=0,ta="";function Fs(e,t,r,n,a,i,s,u){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:Ps,column:Un,length:s,return:"",siblings:u}}function Fr(e,t){return Nu(Fs("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function On(e){for(;e.root;)e=Fr(e.root,{children:[e]});Sa(e,e.siblings)}function N6(){return nt}function O6(){return nt=Yt>0?lt(ta,--Yt):0,Un--,nt===10&&(Un=1,Ps--),nt}function Jt(){return nt=Yt<cd?lt(ta,Yt++):0,Un++,nt===10&&(Un=1,Ps++),nt}function Ur(){return lt(ta,Yt)}function Qi(){return Yt}function Bs(e,t){return yn(ta,e,t)}function qa(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 R6(e){return Ps=Un=1,cd=Xt(ta=e),Yt=0,[]}function D6(e){return ta="",e}function N0(e){return od(Bs(Yt-1,Ou(e===91?e+2:e===40?e+1:e)))}function L6(e){for(;(nt=Ur())&&nt<33;)Jt();return qa(e)>2||qa(nt)>3?"":" "}function M6(e,t){for(;--t&&Jt()&&!(nt<48||nt>102||nt>57&&nt<65||nt>70&&nt<97););return Bs(e,Qi()+(t<6&&Ur()==32&&Jt()==32))}function Ou(e){for(;Jt();)switch(nt){case e:return Yt;case 34:case 39:e!==34&&e!==39&&Ou(nt);break;case 40:e===41&&Ou(e);break;case 92:Jt();break}return Yt}function P6(e,t){for(;Jt()&&e+nt!==57;)if(e+nt===84&&Ur()===47)break;return"/*"+Bs(t,Yt-1)+"*"+qo(e===47?e:Jt())}function F6(e){for(;!qa(Ur());)Jt();return Bs(e,Yt)}function B6(e){return D6(Ji("",null,null,null,[""],e=R6(e),0,[0],e))}function Ji(e,t,r,n,a,i,s,u,o){for(var l=0,c=0,f=s,p=0,d=0,b=0,y=1,T=1,v=1,S=0,w="",M=a,B=i,O=n,D=w;T;)switch(b=S,S=Jt()){case 40:if(b!=108&&lt(D,f-1)==58){Ki(D+=Se(N0(S),"&","&\f"),"&\f",ud(l?u[l-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:D+=N0(S);break;case 9:case 10:case 13:case 32:D+=L6(b);break;case 92:D+=M6(Qi()-1,7);continue;case 47:switch(Ur()){case 42:case 47:Sa(z6(P6(Jt(),Qi()),t,r,o),o),(qa(b||1)==5||qa(Ur()||1)==5)&&Xt(D)&&yn(D,-1,void 0)!==" "&&(D+=" ");break;default:D+="/"}break;case 123*y:u[l++]=Xt(D)*v;case 125*y:case 59:case 0:switch(S){case 0:case 125:T=0;case 59+c:v==-1&&(D=Se(D,/\f/g,"")),d>0&&(Xt(D)-f||y===0&&b===47)&&Sa(d>32?Tc(D+";",n,r,f-1,o):Tc(Se(D," ","")+";",n,r,f-2,o),o);break;case 59:D+=";";default:if(Sa(O=xc(D,t,r,l,c,a,u,w,M=[],B=[],f,i),i),S===123)if(c===0)Ji(D,t,O,O,M,i,f,u,B);else{switch(p){case 99:if(lt(D,3)===110)break;case 108:if(lt(D,2)===97)break;default:c=0;case 100:case 109:case 115:}c?Ji(e,O,O,n&&Sa(xc(e,O,O,0,0,a,u,w,a,M=[],f,B),B),a,B,f,u,n?M:B):Ji(D,O,O,O,[""],B,0,u,B)}}l=c=d=0,y=v=1,w=D="",f=s;break;case 58:f=1+Xt(D),d=b;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&O6()==125)continue}switch(D+=qo(S),S*y){case 38:v=c>0?1:(D+="\f",-1);break;case 44:u[l++]=(Xt(D)-1)*v,v=1;break;case 64:Ur()===45&&(D+=N0(Jt())),p=Ur(),c=f=Xt(w=D+=F6(Qi())),S++;break;case 45:b===45&&Xt(D)==2&&(y=0)}}return i}function xc(e,t,r,n,a,i,s,u,o,l,c,f){for(var p=a-1,d=a===0?i:[""],b=ld(d),y=0,T=0,v=0;y<n;++y)for(var S=0,w=yn(e,p+1,p=ud(T=s[y])),M=e;S<b;++S)(M=od(T>0?d[S]+" "+w:Se(w,/&\f/g,d[S])))&&(o[v++]=M);return Fs(e,t,r,a===0?Ms:u,o,l,c,f)}function z6(e,t,r,n){return Fs(e,t,r,id,qo(N6()),yn(e,2,-2),0,n)}function Tc(e,t,r,n,a){return Fs(e,t,r,jo,yn(e,0,n),yn(e,n+1,-1),n,a)}function fd(e,t,r){switch(I6(e,t)){case 5103:return Me+"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 Me+e+e;case 4855:return Me+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return Na+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Me+e+Na+e+$e+e+e;case 5936:switch(lt(e,t+11)){case 114:return Me+e+$e+Se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Me+e+$e+Se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Me+e+$e+Se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Me+e+$e+e+e;case 6165:return Me+e+$e+"flex-"+e+e;case 5187:return Me+e+Se(e,/(\w+).+(:[^]+)/,Me+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return Me+e+$e+"flex-item-"+Se(e,/flex-|-self/g,"")+(xr(e,/flex-|baseline/)?"":$e+"grid-row-"+Se(e,/flex-|-self/g,""))+e;case 4675:return Me+e+$e+"flex-line-pack"+Se(e,/align-content|flex-|-self/g,"")+e;case 5548:return Me+e+$e+Se(e,"shrink","negative")+e;case 5292:return Me+e+$e+Se(e,"basis","preferred-size")+e;case 6060:return Me+"box-"+Se(e,"-grow","")+Me+e+$e+Se(e,"grow","positive")+e;case 4554:return Me+Se(e,/([^-])(transform)/g,"$1"+Me+"$2")+e;case 6187:return Se(Se(Se(e,/(zoom-|grab)/,Me+"$1"),/(image-set)/,Me+"$1"),e,"")+e;case 5495:case 3959:return Se(e,/(image-set\([^]*)/,Me+"$1$`$1");case 4968:return Se(Se(e,/(.+:)(flex-)?(.*)/,Me+"box-pack:$3"+$e+"flex-pack:$3"),/space-between/,"justify")+Me+e+e;case 4200:if(!xr(e,/flex-|baseline/))return $e+"grid-column-align"+yn(e,t)+e;break;case 2592:case 3360:return $e+Se(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,xr(n.props,/grid-\w+-end/)})?~Ki(e+(r=r[t].value),"span",0)?e:$e+Se(e,"-start","")+e+$e+"grid-row-span:"+(~Ki(r,"span",0)?xr(r,/\d+/):+xr(r,/\d+/)-+xr(e,/\d+/))+";":$e+Se(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return xr(n.props,/grid-\w+-start/)})?e:$e+Se(Se(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Se(e,/(.+)-inline(.+)/,Me+"$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(Xt(e)-1-t>6)switch(lt(e,t+1)){case 109:if(lt(e,t+4)!==45)break;case 102:return Se(e,/(.+:)(.+)-([^]+)/,"$1"+Me+"$2-$3$1"+Na+(lt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ki(e,"stretch",0)?fd(Se(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Se(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,s,u,o,l){return $e+a+":"+i+l+(s?$e+a+"-span:"+(u?o:+o-+i)+l:"")+e});case 4949:if(lt(e,t+6)===121)return Se(e,":",":"+Me)+e;break;case 6444:switch(lt(e,lt(e,14)===45?18:11)){case 120:return Se(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Me+(lt(e,14)===45?"inline-":"")+"box$3$1"+Me+"$2$3$1"+$e+"$2box$3")+e;case 100:return Se(e,":",":"+$e)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Se(e,"scroll-","scroll-snap-")+e}return e}function hs(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function H6(e,t,r,n){switch(e.type){case C6:if(e.children.length)break;case S6:case k6:case jo:return e.return=e.return||e.value;case id:return"";case sd:return e.return=e.value+"{"+hs(e.children,n)+"}";case Ms:if(!Xt(e.value=e.props.join(",")))return""}return Xt(r=hs(e.children,n))?e.return=e.value+"{"+r+"}":""}function U6(e){var t=ld(e);return function(r,n,a,i){for(var s="",u=0;u<t;u++)s+=e[u](r,n,a,i)||"";return s}}function j6(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 jo:e.return=fd(e.value,e.length,r);return;case sd:return hs([Fr(e,{value:Se(e.value,"@","@"+Me)})],n);case Ms:if(e.length)return _6(r=e.props,function(a){switch(xr(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":On(Fr(e,{props:[Se(a,/:(read-\w+)/,":"+Na+"$1")]})),On(Fr(e,{props:[a]})),Nu(e,{props:Ec(r,n)});break;case"::placeholder":On(Fr(e,{props:[Se(a,/:(plac\w+)/,":"+Me+"input-$1")]})),On(Fr(e,{props:[Se(a,/:(plac\w+)/,":"+Na+"$1")]})),On(Fr(e,{props:[Se(a,/:(plac\w+)/,$e+"input-$1")]})),On(Fr(e,{props:[a]})),Nu(e,{props:Ec(r,n)});break}return""})}}var jn=typeof process!="undefined"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",hd="active",dd="data-styled-version",zs="6.3.12",$o=`/*!sc*/
9
+ `,Oa=typeof window!="undefined"&&typeof document!="undefined",$6=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY);function Hs(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var Zi=new Map,ds=new Map,es=1,ka=function(e){if(Zi.has(e))return Zi.get(e);for(;ds.has(es);)es++;var t=es++;return Zi.set(e,t),ds.set(t,e),t},Y6=function(e,t){es=t+1,Zi.set(e,t),ds.set(t,e)},Yo=Object.freeze([]),qn=Object.freeze({});function V6(e,t,r){return r===void 0&&(r=qn),e.theme!==r.theme&&e.theme||t||r.theme}var md=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"]),W6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,G6=/(^-|-$)/g;function vc(e){return e.replace(W6,"-").replace(G6,"")}var X6=/(a)(d)/gi,Ac=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ru(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=Ac(t%52)+r;return(Ac(t%52)+r).replace(X6,"$1-$2")}var O0,on=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},pd=function(e){return on(5381,e)};function K6(e){return Ru(pd(e)>>>0)}function Q6(e){return e.displayName||e.name||"Component"}function R0(e){return typeof e=="string"&&!0}var gd=typeof Symbol=="function"&&Symbol.for,bd=gd?Symbol.for("react.memo"):60115,J6=gd?Symbol.for("react.forward_ref"):60112,Z6={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},e5={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},yd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},t5=((O0={})[J6]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},O0[bd]=yd,O0);function wc(e){return("type"in(t=e)&&t.type.$$typeof)===bd?yd:"$$typeof"in e?t5[e.$$typeof]:Z6;var t}var r5=Object.defineProperty,n5=Object.getOwnPropertyNames,Sc=Object.getOwnPropertySymbols,a5=Object.getOwnPropertyDescriptor,i5=Object.getPrototypeOf,kc=Object.prototype;function Ed(e,t,r){if(typeof t!="string"){if(kc){var n=i5(t);n&&n!==kc&&Ed(e,n,r)}var a=n5(t);Sc&&(a=a.concat(Sc(t)));for(var i=wc(e),s=wc(t),u=0;u<a.length;++u){var o=a[u];if(!(o in e5||r&&r[o]||s&&o in s||i&&o in i)){var l=a5(t,o);try{r5(e,o,l)}catch(c){}}}}return e}function $n(e){return typeof e=="function"}function Vo(e){return typeof e=="object"&&"styledComponentId"in e}function hn(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function Cc(e,t){return e.join("")}function $a(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Du(e,t,r){if(r===void 0&&(r=!1),!r&&!$a(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var n=0;n<t.length;n++)e[n]=Du(e[n],t[n]);else if($a(t))for(var n in t)e[n]=Du(e[n],t[n]);return e}function xd(e,t){Object.defineProperty(e,"toString",{value:t})}var s5=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(t){if(t===this._cGroup)return this._cIndex;var r=this._cIndex;if(t>this._cGroup)for(var n=this._cGroup;n<t;n++)r+=this.groupSizes[n];else for(n=this._cGroup-1;n>=t;n--)r-=this.groupSizes[n];return this._cGroup=t,this._cIndex=r,r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,i=a;t>=i;)if((i<<=1)<0)throw Hs(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=a;s<i;s++)this.groupSizes[s]=0}for(var u=this.indexOfGroup(t+1),o=0,l=(s=0,r.length);s<l;s++)this.tag.insertRule(u,r[s])&&(this.groupSizes[t]++,u++,o++);o>0&&this._cGroup>t&&(this._cIndex+=o)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),a=n+r;this.groupSizes[t]=0;for(var i=n;i<a;i++)this.tag.deleteRule(n);r>0&&this._cGroup>t&&(this._cIndex-=r)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],a=this.indexOfGroup(t),i=a+n,s=a;s<i;s++)r+=this.tag.getRule(s)+$o;return r},e}(),u5="style[".concat(jn,"][").concat(dd,'="').concat(zs,'"]'),o5=new RegExp("^".concat(jn,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ic=function(e){return typeof ShadowRoot!="undefined"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11},Lu=function(e){if(!e)return document;if(Ic(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(Ic(t))return t}return document},l5=function(e,t,r){for(var n,a=r.split(","),i=0,s=a.length;i<s;i++)(n=a[i])&&e.registerName(t,n)},c5=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split($o),a=[],i=0,s=n.length;i<s;i++){var u=n[i].trim();if(u){var o=u.match(o5);if(o){var l=0|parseInt(o[1],10),c=o[2];l!==0&&(Y6(c,l),l5(e,c,o[3]),e.getTag().insertRules(l,a)),a.length=0}else a.push(u)}}},D0=function(e){for(var t=Lu(e.options.target).querySelectorAll(u5),r=0,n=t.length;r<n;r++){var a=t[r];a&&a.getAttribute(jn)!==hd&&(c5(e,a),a.parentNode&&a.parentNode.removeChild(a))}};function f5(){return typeof __webpack_nonce__!="undefined"?__webpack_nonce__:null}var Td=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(u){var o=Array.from(u.querySelectorAll("style[".concat(jn,"]")));return o[o.length-1]}(r),i=a!==void 0?a.nextSibling:null;n.setAttribute(jn,hd),n.setAttribute(dd,zs);var s=f5();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},h5=function(){function e(t){this.element=Td(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){var n;if(r.sheet)return r.sheet;for(var a=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets,i=0,s=a.length;i<s;i++){var u=a[i];if(u.ownerNode===r)return u}throw Hs(17)}(this.element),this.length=0}return e.prototype.insertRule=function(t,r){try{return this.sheet.insertRule(r,t),this.length++,!0}catch(n){return!1}},e.prototype.deleteRule=function(t){this.sheet.deleteRule(t),this.length--},e.prototype.getRule=function(t){var r=this.sheet.cssRules[t];return r&&r.cssText?r.cssText:""},e}(),d5=function(){function e(t){this.element=Td(t),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(t,r){if(t<=this.length&&t>=0){var n=document.createTextNode(r);return this.element.insertBefore(n,this.nodes[t]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(t){this.element.removeChild(this.nodes[t]),this.length--},e.prototype.getRule=function(t){return t<this.length?this.nodes[t].textContent:""},e}(),m5=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(t===this.length?this.rules.push(r):this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),_c=Oa,p5={isServer:!Oa,useCSSOMInjection:!$6},vd=function(){function e(t,r,n){t===void 0&&(t=qn),r===void 0&&(r={});var a=this;this.options=_t(_t({},p5),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Oa&&_c&&(_c=!1,D0(this)),xd(this,function(){return function(i){for(var s=i.getTag(),u=s.length,o="",l=function(f){var p=function(v){return ds.get(v)}(f);if(p===void 0)return"continue";var d=i.names.get(p);if(d===void 0||!d.size)return"continue";var b=s.getGroup(f);if(b.length===0)return"continue";var y=jn+".g"+f+'[id="'+p+'"]',T="";d.forEach(function(v){v.length>0&&(T+=v+",")}),o+=b+y+'{content:"'+T+'"}'+$o},c=0;c<u;c++)l(c);return o}(a)})}return e.registerId=function(t){return ka(t)},e.prototype.rehydrate=function(){!this.server&&Oa&&D0(this)},e.prototype.reconstructWithOptions=function(t,r){r===void 0&&(r=!0);var n=new e(_t(_t({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&Oa&&t.target!==this.options.target&&Lu(this.options.target)!==Lu(t.target)&&D0(n),n},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,a=r.target;return r.isServer?new m5(a):n?new h5(a):new d5(a)}(this.options),new s5(t)));var t},e.prototype.hasNameForId=function(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},e.prototype.registerName=function(t,r){ka(t);var n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(ka(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(ka(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}();function g5(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in w6||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var b5=function(e){return e>="A"&&e<="Z"};function Nc(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;b5(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var y5=Symbol.for("sc-keyframes");function E5(e){return typeof e=="object"&&e!==null&&y5 in e}var Ad=function(e){return e==null||e===!1||e===""},wd=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!Ad(n)&&(Array.isArray(n)&&n.isCss||$n(n)?t.push("".concat(Nc(r),":"),n,";"):$a(n)?t.push.apply(t,fs(fs(["".concat(r," {")],wd(n),!1),["}"],!1)):t.push("".concat(Nc(r),": ").concat(g5(r,n),";")))}return t};function pn(e,t,r,n,a){if(a===void 0&&(a=[]),typeof e=="string")return e&&a.push(e),a;if(Ad(e))return a;if(Vo(e))return a.push(".".concat(e.styledComponentId)),a;if($n(e)){if(!$n(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return a.push(e),a;var i=e(t);return pn(i,t,r,n,a)}var s;if(E5(e))return r?(e.inject(r,n),a.push(e.getName(n))):a.push(e),a;if($a(e)){for(var u=wd(e),o=0;o<u.length;o++)a.push(u[o]);return a}if(!Array.isArray(e))return a.push(e.toString()),a;for(o=0;o<e.length;o++)pn(e[o],t,r,n,a);return a}function x5(e){for(var t=0;t<e.length;t+=1){var r=e[t];if($n(r)&&!Vo(r))return!1}return!0}var T5=pd(zs),v5=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=(n===void 0||n.isStatic)&&x5(t),this.componentId=r,this.baseHash=on(T5,r),this.baseStyle=n,vd.registerId(r)}return e.prototype.generateAndInjectStyles=function(t,r,n){var a=this.baseStyle?this.baseStyle.generateAndInjectStyles(t,r,n).className:"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&r.hasNameForId(this.componentId,this.staticRulesId))a=hn(a,this.staticRulesId);else{var i=Cc(pn(this.rules,t,r,n)),s=Ru(on(this.baseHash,i)>>>0);if(!r.hasNameForId(this.componentId,s)){var u=n(i,".".concat(s),void 0,this.componentId);r.insertRules(this.componentId,s,u)}a=hn(a,s),this.staticRulesId=s}else{for(var o=on(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var f=this.rules[c];if(typeof f=="string")l+=f;else if(f){var p=Cc(pn(f,t,r,n));o=on(on(o,String(c)),p),l+=p}}if(l){var d=Ru(o>>>0);if(!r.hasNameForId(this.componentId,d)){var b=n(l,".".concat(d),void 0,this.componentId);r.insertRules(this.componentId,d,b)}a=hn(a,d)}}return{className:a,css:typeof window=="undefined"?r.getTag().getGroup(ka(this.componentId)):""}},e}(),A5=/&/g,Tr=47,ln=42;function Oc(e){if(e.indexOf("}")===-1)return!1;for(var t=e.length,r=0,n=0,a=!1,i=0;i<t;i++){var s=e.charCodeAt(i);if(n!==0||a||s!==Tr||e.charCodeAt(i+1)!==ln)if(a)s===ln&&e.charCodeAt(i+1)===Tr&&(a=!1,i++);else if(s!==34&&s!==39||i!==0&&e.charCodeAt(i-1)===92){if(n===0){if(s===123)r++;else if(s===125&&--r<0)return!0}}else n===0?n=s:n===s&&(n=0);else a=!0,i++}return r!==0||n!==0}function Sd(e,t){return e.map(function(r){return r.type==="rule"&&(r.value="".concat(t," ").concat(r.value),r.value=r.value.replaceAll(",",",".concat(t," ")),r.props=r.props.map(function(n){return"".concat(t," ").concat(n)})),Array.isArray(r.children)&&r.type!=="@keyframes"&&(r.children=Sd(r.children,t)),r})}function w5(e){var t,r,n,a=qn,i=a.options,s=i===void 0?qn:i,u=a.plugins,o=u===void 0?Yo:u,l=function(b,y,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(t):b},c=o.slice();c.push(function(b){b.type===Ms&&b.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),b.props[0]=b.props[0].replace(A5,r).replace(n,l))}),s.prefix&&c.push(q6),c.push(H6);var f=[],p=U6(c.concat(j6(function(b){return f.push(b)}))),d=function(b,y,T,v){y===void 0&&(y=""),T===void 0&&(T=""),v===void 0&&(v="&"),t=v,r=y,n=void 0;var S=function(M){if(!Oc(M))return M;for(var B=M.length,O="",D=0,z=0,U=0,P=!1,$=0;$<B;$++){var X=M.charCodeAt($);if(U!==0||P||X!==Tr||M.charCodeAt($+1)!==ln)if(P)X===ln&&M.charCodeAt($+1)===Tr&&(P=!1,$++);else if(X!==34&&X!==39||$!==0&&M.charCodeAt($-1)===92){if(U===0)if(X===123)z++;else if(X===125){if(--z<0){for(var he=$+1;he<B;){var me=M.charCodeAt(he);if(me===59||me===10)break;he++}he<B&&M.charCodeAt(he)===59&&he++,z=0,$=he-1,D=he;continue}z===0&&(O+=M.substring(D,$+1),D=$+1)}else X===59&&z===0&&(O+=M.substring(D,$+1),D=$+1)}else U===0?U=X:U===X&&(U=0);else P=!0,$++}if(D<B){var de=M.substring(D);Oc(de)||(O+=de)}return O}(function(M){if(M.indexOf("//")===-1)return M;for(var B=M.length,O=[],D=0,z=0,U=0,P=0;z<B;){var $=M.charCodeAt(z);if($!==34&&$!==39||z!==0&&M.charCodeAt(z-1)===92)if(U===0)if($===Tr&&z+1<B&&M.charCodeAt(z+1)===ln){for(z+=2;z+1<B&&(M.charCodeAt(z)!==ln||M.charCodeAt(z+1)!==Tr);)z++;z+=2}else if($===40&&z>=3&&(32|M.charCodeAt(z-1))==108&&(32|M.charCodeAt(z-2))==114&&(32|M.charCodeAt(z-3))==117)P=1,z++;else if(P>0)$===41?P--:$===40&&P++,z++;else if($===ln&&z+1<B&&M.charCodeAt(z+1)===Tr)z>D&&O.push(M.substring(D,z)),D=z+=2;else if($===Tr&&z+1<B&&M.charCodeAt(z+1)===Tr){for(z>D&&O.push(M.substring(D,z));z<B&&M.charCodeAt(z)!==10;)z++;D=z}else z++;else z++;else U===0?U=$:U===$&&(U=0),z++}return D===0?M:(D<B&&O.push(M.substring(D)),O.join(""))}(b)),w=B6(T||y?"".concat(T," ").concat(y," { ").concat(S," }"):S);return s.namespace&&(w=Sd(w,s.namespace)),f=[],hs(w,p),f};return d.hash=o.length?o.reduce(function(b,y){return y.name||Hs(15),on(b,y.name)},5381).toString():"",d}var S5=new vd,k5=w5(),kd=G.createContext({shouldForwardProp:void 0,styleSheet:S5,stylis:k5});kd.Consumer;G.createContext(void 0);function Rc(){return G.useContext(kd)}var Cd=G.createContext(void 0);Cd.Consumer;var L0={};function C5(e,t,r){var n=Vo(e),a=e,i=!R0(e),s=t.attrs,u=s===void 0?Yo:s,o=t.componentId,l=o===void 0?function(M,B){var O=typeof M!="string"?"sc":vc(M);L0[O]=(L0[O]||0)+1;var D="".concat(O,"-").concat(K6(zs+O+L0[O]));return B?"".concat(B,"-").concat(D):D}(t.displayName,t.parentComponentId):o,c=t.displayName,f=c===void 0?function(M){return R0(M)?"styled.".concat(M):"Styled(".concat(Q6(M),")")}(e):c,p=t.displayName&&t.componentId?"".concat(vc(t.displayName),"-").concat(t.componentId):t.componentId||l,d=n&&a.attrs?a.attrs.concat(u).filter(Boolean):u,b=t.shouldForwardProp;if(n&&a.shouldForwardProp){var y=a.shouldForwardProp;if(t.shouldForwardProp){var T=t.shouldForwardProp;b=function(M,B){return y(M,B)&&T(M,B)}}else b=y}var v=new v5(r,p,n?a.componentStyle:void 0);function S(M,B){return function(O,D,z){var U=O.attrs,P=O.componentStyle,$=O.defaultProps,X=O.foldedComponentIds,he=O.styledComponentId,me=O.target,de=G.useContext(Cd),Te=Rc(),De=O.shouldForwardProp||Te.shouldForwardProp,Le=V6(D,de,$)||qn,Be=function(Oe,Xe,dt){for(var ut,ot=_t(_t({},Xe),{className:void 0,theme:dt}),Wt=0;Wt<Oe.length;Wt+=1){var gr=$n(ut=Oe[Wt])?ut(ot):ut;for(var xt in gr)xt==="className"?ot.className=hn(ot.className,gr[xt]):xt==="style"?ot.style=_t(_t({},ot.style),gr[xt]):xt in Xe&&Xe[xt]===void 0||(ot[xt]=gr[xt])}return"className"in Xe&&typeof Xe.className=="string"&&(ot.className=hn(ot.className,Xe.className)),ot}(U,D,Le),L=Be.as||me,ue={};for(var se in Be)Be[se]===void 0||se[0]==="$"||se==="as"||se==="theme"&&Be.theme===Le||(se==="forwardedAs"?ue.as=Be.forwardedAs:De&&!De(se,L)||(ue[se]=Be[se]));var _=function(Oe,Xe){var dt=Rc(),ut=Oe.generateAndInjectStyles(Xe,dt.styleSheet,dt.stylis);return ut}(P,Be),Ce=_.className,ze=hn(X,he);return Ce&&(ze+=" "+Ce),Be.className&&(ze+=" "+Be.className),ue[R0(L)&&!md.has(L)?"class":"className"]=ze,z&&(ue.ref=z),G.createElement(L,ue)}(w,M,B)}S.displayName=f;var w=G.forwardRef(S);return w.attrs=d,w.componentStyle=v,w.displayName=f,w.shouldForwardProp=b,w.foldedComponentIds=n?hn(a.foldedComponentIds,a.styledComponentId):"",w.styledComponentId=p,w.target=n?a.target:e,Object.defineProperty(w,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(M){this._foldedDefaultProps=n?function(B){for(var O=[],D=1;D<arguments.length;D++)O[D-1]=arguments[D];for(var z=0,U=O;z<U.length;z++)Du(B,U[z],!0);return B}({},a.defaultProps,M):M}}),xd(w,function(){return".".concat(w.styledComponentId)}),i&&Ed(w,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),w}function Dc(e,t){for(var r=[e[0]],n=0,a=t.length;n<a;n+=1)r.push(t[n],e[n+1]);return r}var Lc=function(e){return Object.assign(e,{isCss:!0})};function I5(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if($n(e)||$a(e))return Lc(pn(Dc(Yo,fs([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?pn(n):Lc(pn(Dc(n,t)))}function Mu(e,t,r){if(r===void 0&&(r=qn),!t)throw Hs(1,t);var n=function(a){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,I5.apply(void 0,fs([a],i,!1)))};return n.attrs=function(a){return Mu(e,t,_t(_t({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},n.withConfig=function(a){return Mu(e,t,_t(_t({},r),a))},n}var Id=function(e){return Mu(C5,e)},ne=Id;md.forEach(function(e){ne[e]=Id(e)});function Mc(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 _d(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const _5=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,N5=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,O5={};function Pc(e,t){return(O5.jsx?N5:_5).test(e)}const R5=/[ \t\n\f\r]/g;function D5(e){return typeof e=="object"?e.type==="text"?Fc(e.value):!1:Fc(e)}function Fc(e){return e.replace(R5,"")===""}class ii{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}ii.prototype.normal={};ii.prototype.property={};ii.prototype.space=void 0;function Nd(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new ii(r,n,t)}function Ya(e){return e.toLowerCase()}class Rt{constructor(t,r){this.attribute=r,this.property=t}}Rt.prototype.attribute="";Rt.prototype.booleanish=!1;Rt.prototype.boolean=!1;Rt.prototype.commaOrSpaceSeparated=!1;Rt.prototype.commaSeparated=!1;Rt.prototype.defined=!1;Rt.prototype.mustUseProperty=!1;Rt.prototype.number=!1;Rt.prototype.overloadedBoolean=!1;Rt.prototype.property="";Rt.prototype.spaceSeparated=!1;Rt.prototype.space=void 0;let L5=0;const ve=An(),rt=An(),Pu=An(),te=An(),qe=An(),Fn=An(),Lt=An();function An(){return Zl(2,++L5)}const Fu=Object.freeze(Object.defineProperty({__proto__:null,boolean:ve,booleanish:rt,commaOrSpaceSeparated:Lt,commaSeparated:Fn,number:te,overloadedBoolean:Pu,spaceSeparated:qe},Symbol.toStringTag,{value:"Module"})),M0=Object.keys(Fu);class Wo extends Rt{constructor(t,r,n,a){let i=-1;if(super(t,r),Bc(this,"space",a),typeof n=="number")for(;++i<M0.length;){const s=M0[i];Bc(this,M0[i],(n&Fu[s])===Fu[s])}}}Wo.prototype.defined=!0;function Bc(e,t,r){r&&(e[t]=r)}function ra(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new Wo(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[Ya(n)]=n,r[Ya(i.attribute)]=n}return new ii(t,r,e.space)}const Od=ra({properties:{ariaActiveDescendant:null,ariaAtomic:rt,ariaAutoComplete:null,ariaBusy:rt,ariaChecked:rt,ariaColCount:te,ariaColIndex:te,ariaColSpan:te,ariaControls:qe,ariaCurrent:null,ariaDescribedBy:qe,ariaDetails:null,ariaDisabled:rt,ariaDropEffect:qe,ariaErrorMessage:null,ariaExpanded:rt,ariaFlowTo:qe,ariaGrabbed:rt,ariaHasPopup:null,ariaHidden:rt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qe,ariaLevel:te,ariaLive:null,ariaModal:rt,ariaMultiLine:rt,ariaMultiSelectable:rt,ariaOrientation:null,ariaOwns:qe,ariaPlaceholder:null,ariaPosInSet:te,ariaPressed:rt,ariaReadOnly:rt,ariaRelevant:null,ariaRequired:rt,ariaRoleDescription:qe,ariaRowCount:te,ariaRowIndex:te,ariaRowSpan:te,ariaSelected:rt,ariaSetSize:te,ariaSort:null,ariaValueMax:te,ariaValueMin:te,ariaValueNow:te,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Rd(e,t){return t in e?e[t]:t}function Dd(e,t){return Rd(e,t.toLowerCase())}const M5=ra({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fn,acceptCharset:qe,accessKey:qe,action:null,allow:null,allowFullScreen:ve,allowPaymentRequest:ve,allowUserMedia:ve,alt:null,as:null,async:ve,autoCapitalize:null,autoComplete:qe,autoFocus:ve,autoPlay:ve,blocking:qe,capture:null,charSet:null,checked:ve,cite:null,className:qe,cols:te,colSpan:null,content:null,contentEditable:rt,controls:ve,controlsList:qe,coords:te|Fn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ve,defer:ve,dir:null,dirName:null,disabled:ve,download:Pu,draggable:rt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ve,formTarget:null,headers:qe,height:te,hidden:Pu,high:te,href:null,hrefLang:null,htmlFor:qe,httpEquiv:qe,id:null,imageSizes:null,imageSrcSet:null,inert:ve,inputMode:null,integrity:null,is:null,isMap:ve,itemId:null,itemProp:qe,itemRef:qe,itemScope:ve,itemType:qe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ve,low:te,manifest:null,max:null,maxLength:te,media:null,method:null,min:null,minLength:te,multiple:ve,muted:ve,name:null,nonce:null,noModule:ve,noValidate:ve,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:ve,optimum:te,pattern:null,ping:qe,placeholder:null,playsInline:ve,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ve,referrerPolicy:null,rel:qe,required:ve,reversed:ve,rows:te,rowSpan:te,sandbox:qe,scope:null,scoped:ve,seamless:ve,selected:ve,shadowRootClonable:ve,shadowRootDelegatesFocus:ve,shadowRootMode:null,shape:null,size:te,sizes:null,slot:null,span:te,spellCheck:rt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:te,step:null,style:null,tabIndex:te,target:null,title:null,translate:null,type:null,typeMustMatch:ve,useMap:null,value:rt,width:te,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qe,axis:null,background:null,bgColor:null,border:te,borderColor:null,bottomMargin:te,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ve,declare:ve,event:null,face:null,frame:null,frameBorder:null,hSpace:te,leftMargin:te,link:null,longDesc:null,lowSrc:null,marginHeight:te,marginWidth:te,noResize:ve,noHref:ve,noShade:ve,noWrap:ve,object:null,profile:null,prompt:null,rev:null,rightMargin:te,rules:null,scheme:null,scrolling:rt,standby:null,summary:null,text:null,topMargin:te,valueType:null,version:null,vAlign:null,vLink:null,vSpace:te,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ve,disableRemotePlayback:ve,prefix:null,property:null,results:te,security:null,unselectable:null},space:"html",transform:Dd}),P5=ra({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:Lt,accentHeight:te,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:te,amplitude:te,arabicForm:null,ascent:te,attributeName:null,attributeType:null,azimuth:te,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:te,by:null,calcMode:null,capHeight:te,className:qe,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:te,diffuseConstant:te,direction:null,display:null,dur:null,divisor:te,dominantBaseline:null,download:ve,dx:null,dy:null,edgeMode:null,editable:null,elevation:te,enableBackground:null,end:null,event:null,exponent:te,externalResourcesRequired:null,fill:null,fillOpacity:te,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:Fn,g2:Fn,glyphName:Fn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:te,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:te,horizOriginX:te,horizOriginY:te,id:null,ideographic:te,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:te,k:te,k1:te,k2:te,k3:te,k4:te,kernelMatrix:Lt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:te,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:te,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:te,overlineThickness:te,paintOrder:null,panose1:null,path:null,pathLength:te,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:te,pointsAtY:te,pointsAtZ:te,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Lt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Lt,rev:Lt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Lt,requiredFeatures:Lt,requiredFonts:Lt,requiredFormats:Lt,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:te,specularExponent:te,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:te,strikethroughThickness:te,string:null,stroke:null,strokeDashArray:Lt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:te,strokeOpacity:te,strokeWidth:null,style:null,surfaceScale:te,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Lt,tabIndex:te,tableValues:null,target:null,targetX:te,targetY:te,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Lt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:te,underlineThickness:te,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:te,values:null,vAlphabetic:te,vMathematical:te,vectorEffect:null,vHanging:te,vIdeographic:te,version:null,vertAdvY:te,vertOriginX:te,vertOriginY:te,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:te,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Rd}),Ld=ra({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()}}),Md=ra({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Dd}),Pd=ra({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),F5={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"},B5=/[A-Z]/g,zc=/-[a-z]/g,z5=/^data[-\w.:]+$/i;function Us(e,t){const r=Ya(t);let n=t,a=Rt;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&z5.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(zc,U5);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!zc.test(i)){let s=i.replace(B5,H5);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Wo}return new a(n,t)}function H5(e){return"-"+e.toLowerCase()}function U5(e){return e.charAt(1).toUpperCase()}const si=Nd([Od,M5,Ld,Md,Pd],"html"),Qr=Nd([Od,P5,Ld,Md,Pd],"svg");function Hc(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Fd(e){return e.join(" ").trim()}var ms=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Go(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Xo={},Uc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,j5=/\n/g,q5=/^\s*/,$5=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,Y5=/^:\s*/,V5=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,W5=/^[;\s]*/,G5=/^\s+|\s+$/g,X5=`
10
+ `,jc="/",qc="*",cn="",K5="comment",Q5="declaration";function J5(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(j5);y&&(r+=y.length);var T=b.lastIndexOf(X5);n=~T?b.length-T: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 u(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 o(b){var y=b.exec(e);if(y){var T=y[0];return a(T),e=e.slice(T.length),y}}function l(){o(q5)}function c(b){var y;for(b=b||[];y=f();)y!==!1&&b.push(y);return b}function f(){var b=i();if(!(jc!=e.charAt(0)||qc!=e.charAt(1))){for(var y=2;cn!=e.charAt(y)&&(qc!=e.charAt(y)||jc!=e.charAt(y+1));)++y;if(y+=2,cn===e.charAt(y-1))return u("End of comment missing");var T=e.slice(2,y-2);return n+=2,a(T),e=e.slice(y),n+=2,b({type:K5,comment:T})}}function p(){var b=i(),y=o($5);if(y){if(f(),!o(Y5))return u("property missing ':'");var T=o(V5),v=b({type:Q5,property:$c(y[0].replace(Uc,cn)),value:T?$c(T[0].replace(Uc,cn)):cn});return o(W5),v}}function d(){var b=[];c(b);for(var y;y=p();)y!==!1&&(b.push(y),c(b));return b}return l(),d()}function $c(e){return e?e.replace(G5,cn):cn}var Z5=J5,eg=ms&&ms.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Xo,"__esModule",{value:!0});Xo.default=rg;const tg=eg(Z5);function rg(e,t){let r=null;if(!e||typeof e!="string")return r;const n=(0,tg.default)(e),a=typeof t=="function";return n.forEach(i=>{if(i.type!=="declaration")return;const{property:s,value:u}=i;a?t(s,u,i):u&&(r=r||{},r[s]=u)}),r}var js={};Object.defineProperty(js,"__esModule",{value:!0});js.camelCase=void 0;var ng=/^--[a-zA-Z0-9_-]+$/,ag=/-([a-z])/g,ig=/^[^-]+$/,sg=/^-(webkit|moz|ms|o|khtml)-/,ug=/^-(ms)-/,og=function(e){return!e||ig.test(e)||ng.test(e)},lg=function(e,t){return t.toUpperCase()},Yc=function(e,t){return"".concat(t,"-")},cg=function(e,t){return t===void 0&&(t={}),og(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(ug,Yc):e=e.replace(sg,Yc),e.replace(ag,lg))};js.camelCase=cg;var fg=ms&&ms.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},hg=fg(Xo),dg=js;function Bu(e,t){var r={};return!e||typeof e!="string"||(0,hg.default)(e,function(n,a){n&&a&&(r[(0,dg.camelCase)(n,t)]=a)}),r}Bu.default=Bu;var mg=Bu;const pg=Go(mg),qs=Bd("end"),fr=Bd("start");function Bd(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 gg(e){const t=fr(e),r=qs(e);if(t&&r)return{start:t,end:r}}function Ra(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Vc(e.position):"start"in e||"end"in e?Vc(e):"line"in e||"column"in e?zu(e):""}function zu(e){return Wc(e&&e.line)+":"+Wc(e&&e.column)}function Vc(e){return zu(e&&e.start)+"-"+zu(e&&e.end)}function Wc(e){return e&&typeof e=="number"?e:1}class yt 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=J({},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 o=n.indexOf(":");o===-1?i.ruleId=n:(i.source=n.slice(0,o),i.ruleId=n.slice(o+1))}if(!i.place&&i.ancestors&&i.ancestors){const o=i.ancestors[i.ancestors.length-1];o&&(i.place=o.position)}const u=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=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=u?u.line:void 0,this.name=Ra(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}}yt.prototype.file="";yt.prototype.name="";yt.prototype.reason="";yt.prototype.message="";yt.prototype.stack="";yt.prototype.column=void 0;yt.prototype.line=void 0;yt.prototype.ancestors=void 0;yt.prototype.cause=void 0;yt.prototype.fatal=void 0;yt.prototype.place=void 0;yt.prototype.ruleId=void 0;yt.prototype.source=void 0;const Ko={}.hasOwnProperty,bg=new Map,yg=/[A-Z]/g,Eg=new Set(["table","tbody","thead","tfoot","tr"]),xg=new Set(["td","th"]),zd="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function Tg(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=_g(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=Ig(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"?Qr:si,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=Hd(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function Hd(e,t,r){if(t.type==="element")return vg(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Ag(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Sg(e,t,r);if(t.type==="mdxjsEsm")return wg(e,t);if(t.type==="root")return kg(e,t,r);if(t.type==="text")return Cg(e,t)}function vg(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=Qr,e.schema=a),e.ancestors.push(t);const i=jd(e,t.tagName,!1),s=Ng(e,t);let u=Jo(e,t);return Eg.has(t.tagName)&&(u=u.filter(function(o){return typeof o=="string"?!D5(o):!0})),Ud(e,s,i,t),Qo(s,u),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Ag(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)}Va(e,t.position)}function wg(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Va(e,t.position)}function Sg(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=Qr,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:jd(e,t.name,!0),s=Og(e,t),u=Jo(e,t);return Ud(e,s,i,t),Qo(s,u),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function kg(e,t,r){const n={};return Qo(n,Jo(e,t)),e.create(t,e.Fragment,n,r)}function Cg(e,t){return t.value}function Ud(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function Qo(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function Ig(e,t,r){return n;function n(a,i,s,u){const l=Array.isArray(s.children)?r:t;return u?l(i,s,u):l(i,s)}}function _g(e,t){return r;function r(n,a,i,s){const u=Array.isArray(i.children),o=fr(n);return t(a,i,s,u,{columnNumber:o?o.column-1:void 0,fileName:e,lineNumber:o?o.line:void 0},void 0)}}function Ng(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&Ko.call(t.properties,a)){const i=Rg(e,a,t.properties[a]);if(i){const[s,u]=i;e.tableCellAlignToStyle&&s==="align"&&typeof u=="string"&&xg.has(t.tagName)?n=u:r[s]=u}}if(n){const i=r.style||(r.style={});i[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function Og(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 u=s.properties[0];u.type,Object.assign(r,e.evaluater.evaluateExpression(u.argument))}else Va(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 u=n.value.data.estree.body[0];u.type,i=e.evaluater.evaluateExpression(u.expression)}else Va(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function Jo(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:bg;for(;++n<t.children.length;){const i=t.children[n];let s;if(e.passKeys){const o=i.type==="element"?i.tagName:i.type==="mdxJsxFlowElement"||i.type==="mdxJsxTextElement"?i.name:void 0;if(o){const l=a.get(o)||0;s=o+"-"+l,a.set(o,l+1)}}const u=Hd(e,i,s);u!==void 0&&r.push(u)}return r}function Rg(e,t,r){const n=Us(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?_d(r):Fd(r)),n.property==="style"){let a=typeof r=="object"?r:Dg(e,String(r));return e.stylePropertyNameCase==="css"&&(a=Lg(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?F5[n.property]||n.property:n.attribute,r]}}function Dg(e,t){try{return pg(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new yt("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=zd+"#cannot-parse-style-attribute",a}}function jd(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 u=Pc(a[i])?{type:"Identifier",name:a[i]}:{type:"Literal",value:a[i]};s=s?{type:"MemberExpression",object:s,property:u,computed:!!(i&&u.type==="Literal"),optional:!1}:u}n=s}else n=Pc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return Ko.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);Va(e)}function Va(e,t){const r=new yt("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=zd+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Lg(e){const t={};let r;for(r in e)Ko.call(e,r)&&(t[Mg(r)]=e[r]);return t}function Mg(e){let t=e.replace(yg,Pg);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Pg(e){return"-"+e.toLowerCase()}const P0={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"]},Fg={};function Zo(e,t){const r=Fg,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return qd(e,n,a)}function qd(e,t,r){if(Bg(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 Gc(e.children,t,r)}return Array.isArray(e)?Gc(e,t,r):""}function Gc(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=qd(e[a],t,r);return n.join("")}function Bg(e){return!!(e&&typeof e=="object")}const Xc=document.createElement("i");function el(e){const t="&"+e+";";Xc.innerHTML=t;const r=Xc.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function Mt(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 jt(e,t){return e.length>0?(Mt(e,e.length,0,t),e):t}const Kc={}.hasOwnProperty;function $d(e){const t={};let r=-1;for(;++r<e.length;)zg(t,e[r]);return t}function zg(e,t){let r;for(r in t){const a=(Kc.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let s;if(i)for(s in i){Kc.call(a,s)||(a[s]=[]);const u=i[s];Hg(a[s],Array.isArray(u)?u:u?[u]:[])}}}function Hg(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);Mt(e,0,0,n)}function Yd(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 Zt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const At=Jr(/[A-Za-z]/),pt=Jr(/[\dA-Za-z]/),Ug=Jr(/[#-'*+\--9=?A-Z^-~]/);function ps(e){return e!==null&&(e<32||e===127)}const Hu=Jr(/\d/),jg=Jr(/[\dA-Fa-f]/),qg=Jr(/[!-/:-@[-`{-~]/);function ce(e){return e!==null&&e<-2}function Ue(e){return e!==null&&(e<0||e===32)}function Ne(e){return e===-2||e===-1||e===32}const $s=Jr(new RegExp("\\p{P}|\\p{S}","u")),En=Jr(/\s/);function Jr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function na(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let s="";if(i===37&&pt(e.charCodeAt(r+1))&&pt(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 u=e.charCodeAt(r+1);i<56320&&u>56319&&u<57344?(s=String.fromCharCode(i,u),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 _e(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(o){return Ne(o)?(e.enter(r),u(o)):t(o)}function u(o){return Ne(o)&&i++<a?(e.consume(o),u):(e.exit(r),t(o))}}const $g={tokenize:Yg};function Yg(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),_e(e,t,"linePrefix")}function a(u){return e.enter("paragraph"),i(u)}function i(u){const o=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=o),r=o,s(u)}function s(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return ce(u)?(e.consume(u),e.exit("chunkText"),i):(e.consume(u),s)}}const Vg={tokenize:Wg},Qc={tokenize:Gg};function Wg(e){const t=this,r=[];let n=0,a,i,s;return u;function u(w){if(n<r.length){const M=r[n];return t.containerState=M[1],e.attempt(M[0].continuation,o,l)(w)}return l(w)}function o(w){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&S();const M=t.events.length;let B=M,O;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){O=t.events[B][1].end;break}v(n);let D=M;for(;D<t.events.length;)t.events[D][1].end=J({},O),D++;return Mt(t.events,B+1,0,t.events.slice(M)),t.events.length=D,l(w)}return u(w)}function l(w){if(n===r.length){if(!a)return p(w);if(a.currentConstruct&&a.currentConstruct.concrete)return b(w);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Qc,c,f)(w)}function c(w){return a&&S(),v(n),p(w)}function f(w){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,b(w)}function p(w){return t.containerState={},e.attempt(Qc,d,b)(w)}function d(w){return n++,r.push([t.currentConstruct,t.containerState]),p(w)}function b(w){if(w===null){a&&S(),v(0),e.consume(w);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),y(w)}function y(w){if(w===null){T(e.exit("chunkFlow"),!0),v(0),e.consume(w);return}return ce(w)?(e.consume(w),T(e.exit("chunkFlow")),n=0,t.interrupt=void 0,u):(e.consume(w),y)}function T(w,M){const B=t.sliceStream(w);if(M&&B.push(null),w.previous=i,i&&(i.next=w),i=w,a.defineSkip(w.start),a.write(B),t.parser.lazy[w.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 D=t.events.length;let z=D,U,P;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(U){P=t.events[z][1].end;break}U=!0}for(v(n),O=D;O<t.events.length;)t.events[O][1].end=J({},P),O++;Mt(t.events,z+1,0,t.events.slice(D)),t.events.length=O}}function v(w){let M=r.length;for(;M-- >w;){const B=r[M];t.containerState=B[1],B[0].exit.call(t,e)}r.length=w}function S(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function Gg(e,t,r){return _e(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Yn(e){if(e===null||Ue(e)||En(e))return 1;if($s(e))return 2}function Ys(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 Uu={name:"attention",resolveAll:Xg,tokenize:Kg};function Xg(e,t){let r=-1,n,a,i,s,u,o,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;o=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=J({},e[n][1].end),p=J({},e[r][1].start);Jc(f,-o),Jc(p,o),s={type:o>1?"strongSequence":"emphasisSequence",start:f,end:J({},e[n][1].end)},u={type:o>1?"strongSequence":"emphasisSequence",start:J({},e[r][1].start),end:p},i={type:o>1?"strongText":"emphasisText",start:J({},e[n][1].end),end:J({},e[r][1].start)},a={type:o>1?"strong":"emphasis",start:J({},s.start),end:J({},u.end)},e[n][1].end=J({},s.start),e[r][1].start=J({},u.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=jt(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=jt(l,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),l=jt(l,Ys(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=jt(l,[["exit",i,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,l=jt(l,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,Mt(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 Kg(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=Yn(n);let i;return s;function s(o){return i=o,e.enter("attentionSequence"),u(o)}function u(o){if(o===i)return e.consume(o),u;const l=e.exit("attentionSequence"),c=Yn(o),f=!c||c===2&&a||r.includes(o),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(o)}}function Jc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Qg={name:"autolink",tokenize:Jg};function Jg(e,t,r){let n=0;return a;function a(d){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(d){return At(d)?(e.consume(d),s):d===64?r(d):l(d)}function s(d){return d===43||d===45||d===46||pt(d)?(n=1,u(d)):l(d)}function u(d){return d===58?(e.consume(d),n=0,o):(d===43||d===45||d===46||pt(d))&&n++<32?(e.consume(d),u):(n=0,l(d))}function o(d){return d===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):d===null||d===32||d===60||ps(d)?r(d):(e.consume(d),o)}function l(d){return d===64?(e.consume(d),c):Ug(d)?(e.consume(d),l):r(d)}function c(d){return pt(d)?f(d):r(d)}function f(d){return d===46?(e.consume(d),n=0,c):d===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(d),e.exit("autolinkMarker"),e.exit("autolink"),t):p(d)}function p(d){if((d===45||pt(d))&&n++<63){const b=d===45?p:f;return e.consume(d),b}return r(d)}}const ui={partial:!0,tokenize:Zg};function Zg(e,t,r){return n;function n(i){return Ne(i)?_e(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||ce(i)?t(i):r(i)}}const Vd={continuation:{tokenize:t8},exit:r8,name:"blockQuote",tokenize:e8};function e8(e,t,r){const n=this;return a;function a(s){if(s===62){const u=n.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),i}return r(s)}function i(s){return Ne(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function t8(e,t,r){const n=this;return a;function a(s){return Ne(s)?_e(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(Vd,t,r)(s)}}function r8(e){e.exit("blockQuote")}const Wd={name:"characterEscape",tokenize:n8};function n8(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 qg(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const Gd={name:"characterReference",tokenize:a8};function a8(e,t,r){const n=this;let a=0,i,s;return u;function u(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),o}function o(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,s=pt,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=jg,c):(e.enter("characterReferenceValue"),i=7,s=Hu,c(f))}function c(f){if(f===59&&a){const p=e.exit("characterReferenceValue");return s===pt&&!el(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 Zc={partial:!0,tokenize:s8},e1={concrete:!0,name:"codeFenced",tokenize:i8};function i8(e,t,r){const n=this,a={partial:!0,tokenize:B};let i=0,s=0,u;return o;function o(O){return l(O)}function l(O){const D=n.events[n.events.length-1];return i=D&&D[1].type==="linePrefix"?D[2].sliceSerialize(D[1],!0).length:0,u=O,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(O)}function c(O){return O===u?(s++,e.consume(O),c):s<3?r(O):(e.exit("codeFencedFenceSequence"),Ne(O)?_e(e,f,"whitespace")(O):f(O))}function f(O){return O===null||ce(O)?(e.exit("codeFencedFence"),n.interrupt?t(O):e.check(Zc,y,M)(O)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(O))}function p(O){return O===null||ce(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(O)):Ne(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),_e(e,d,"whitespace")(O)):O===96&&O===u?r(O):(e.consume(O),p)}function d(O){return O===null||ce(O)?f(O):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(O))}function b(O){return O===null||ce(O)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(O)):O===96&&O===u?r(O):(e.consume(O),b)}function y(O){return e.attempt(a,M,T)(O)}function T(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),v}function v(O){return i>0&&Ne(O)?_e(e,S,"linePrefix",i+1)(O):S(O)}function S(O){return O===null||ce(O)?e.check(Zc,y,M)(O):(e.enter("codeFlowValue"),w(O))}function w(O){return O===null||ce(O)?(e.exit("codeFlowValue"),S(O)):(e.consume(O),w)}function M(O){return e.exit("codeFenced"),t(O)}function B(O,D,z){let U=0;return P;function P(de){return O.enter("lineEnding"),O.consume(de),O.exit("lineEnding"),$}function $(de){return O.enter("codeFencedFence"),Ne(de)?_e(O,X,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(de):X(de)}function X(de){return de===u?(O.enter("codeFencedFenceSequence"),he(de)):z(de)}function he(de){return de===u?(U++,O.consume(de),he):U>=s?(O.exit("codeFencedFenceSequence"),Ne(de)?_e(O,me,"whitespace")(de):me(de)):z(de)}function me(de){return de===null||ce(de)?(O.exit("codeFencedFence"),D(de)):z(de)}}}function s8(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 F0={name:"codeIndented",tokenize:o8},u8={partial:!0,tokenize:l8};function o8(e,t,r){const n=this;return a;function a(l){return e.enter("codeIndented"),_e(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?o(l):ce(l)?e.attempt(u8,s,o)(l):(e.enter("codeFlowValue"),u(l))}function u(l){return l===null||ce(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),u)}function o(l){return e.exit("codeIndented"),t(l)}}function l8(e,t,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):ce(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):_e(e,i,"linePrefix",5)(s)}function i(s){const u=n.events[n.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):ce(s)?a(s):r(s)}}const c8={name:"codeText",previous:h8,resolve:f8,tokenize:d8};function f8(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 h8(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function d8(e,t,r){let n=0,a,i;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),u(f)}function u(f){return f===96?(e.consume(f),n++,u):(e.exit("codeTextSequence"),o(f))}function o(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),o):f===96?(i=e.enter("codeTextSequence"),a=0,c(f)):ce(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),o):(e.enter("codeTextData"),l(f))}function l(f){return f===null||f===32||f===96||ce(f)?(e.exit("codeTextData"),o(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 m8{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&&xa(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),xa(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),xa(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);xa(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);xa(this.left,r.reverse())}}}function xa(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 Xd(e){const t={};let r=-1,n,a,i,s,u,o,l;const c=new m8(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"&&(o=n[1]._tokenizer.events,i=0,i<o.length&&o[i][1].type==="lineEndingBlank"&&(i+=2),i<o.length&&o[i][1].type==="content"))for(;++i<o.length&&o[i][1].type!=="content";)o[i][1].type==="chunkText"&&(o[i][1]._isInFirstContentOfListItem=!0,i++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,p8(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=J({},c.get(a)[1].start),u=c.slice(a,r),u.unshift(n),c.splice(a,r-a+1,u))}}return Mt(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function p8(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 u=s.events,o=[],l={};let c,f,p=-1,d=r,b=0,y=0;const T=[y];for(;d;){for(;e.get(++a)[1]!==d;);i.push(a),d._tokenizer||(c=n.sliceStream(d),d.next||c.push(null),f&&s.defineSkip(d.start),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),d._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=d,d=d.next}for(d=r;++p<u.length;)u[p][0]==="exit"&&u[p-1][0]==="enter"&&u[p][1].type===u[p-1][1].type&&u[p][1].start.line!==u[p][1].end.line&&(y=p+1,T.push(y),d._tokenizer=void 0,d.previous=void 0,d=d.next);for(s.events=[],d?(d._tokenizer=void 0,d.previous=void 0):T.pop(),p=T.length;p--;){const v=u.slice(T[p],T[p+1]),S=i.pop();o.push([S,S+v.length-1]),e.splice(S,2,v)}for(o.reverse(),p=-1;++p<o.length;)l[b+o[p][0]]=b+o[p][1],b+=o[p][1]-o[p][0]-1;return l}const g8={resolve:y8,tokenize:E8},b8={partial:!0,tokenize:x8};function y8(e){return Xd(e),e}function E8(e,t){let r;return n;function n(u){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(u)}function a(u){return u===null?i(u):ce(u)?e.check(b8,s,i)(u):(e.consume(u),a)}function i(u){return e.exit("chunkContent"),e.exit("content"),t(u)}function s(u){return e.consume(u),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function x8(e,t,r){const n=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),_e(e,i,"linePrefix")}function i(s){if(s===null||ce(s))return r(s);const u=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function Kd(e,t,r,n,a,i,s,u,o){const l=o||Number.POSITIVE_INFINITY;let c=0;return f;function f(v){return v===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(v),e.exit(i),p):v===null||v===32||v===41||ps(v)?r(v):(e.enter(n),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),y(v))}function p(v){return v===62?(e.enter(i),e.consume(v),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),d(v))}function d(v){return v===62?(e.exit("chunkString"),e.exit(u),p(v)):v===null||v===60||ce(v)?r(v):(e.consume(v),v===92?b:d)}function b(v){return v===60||v===62||v===92?(e.consume(v),d):d(v)}function y(v){return!c&&(v===null||v===41||Ue(v))?(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(n),t(v)):c<l&&v===40?(e.consume(v),c++,y):v===41?(e.consume(v),c--,y):v===null||v===32||v===40||ps(v)?r(v):(e.consume(v),v===92?T:y)}function T(v){return v===40||v===41||v===92?(e.consume(v),y):y(v)}}function Qd(e,t,r,n,a,i){const s=this;let u=0,o;return l;function l(d){return e.enter(n),e.enter(a),e.consume(d),e.exit(a),e.enter(i),c}function c(d){return u>999||d===null||d===91||d===93&&!o||d===94&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?r(d):d===93?(e.exit(i),e.enter(a),e.consume(d),e.exit(a),e.exit(n),t):ce(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(d))}function f(d){return d===null||d===91||d===93||ce(d)||u++>999?(e.exit("chunkString"),c(d)):(e.consume(d),o||(o=!Ne(d)),d===92?p:f)}function p(d){return d===91||d===92||d===93?(e.consume(d),u++,f):f(d)}}function Jd(e,t,r,n,a,i){let s;return u;function u(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,o):r(p)}function o(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),o(s)):p===null?r(p):ce(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),_e(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===s||p===null||ce(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 Da(e,t){let r;return n;function n(a){return ce(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):Ne(a)?_e(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const T8={name:"definition",tokenize:A8},v8={partial:!0,tokenize:w8};function A8(e,t,r){const n=this;let a;return i;function i(d){return e.enter("definition"),s(d)}function s(d){return Qd.call(n,e,u,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(d)}function u(d){return a=Zt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),d===58?(e.enter("definitionMarker"),e.consume(d),e.exit("definitionMarker"),o):r(d)}function o(d){return Ue(d)?Da(e,l)(d):l(d)}function l(d){return Kd(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(d)}function c(d){return e.attempt(v8,f,f)(d)}function f(d){return Ne(d)?_e(e,p,"whitespace")(d):p(d)}function p(d){return d===null||ce(d)?(e.exit("definition"),n.parser.defined.push(a),t(d)):r(d)}}function w8(e,t,r){return n;function n(u){return Ue(u)?Da(e,a)(u):r(u)}function a(u){return Jd(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function i(u){return Ne(u)?_e(e,s,"whitespace")(u):s(u)}function s(u){return u===null||ce(u)?t(u):r(u)}}const S8={name:"hardBreakEscape",tokenize:k8};function k8(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return ce(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const C8={name:"headingAtx",resolve:I8,tokenize:_8};function I8(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"},Mt(e,n,r-n+1,[["enter",a,t],["enter",i,t],["exit",i,t],["exit",a,t]])),e}function _8(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||Ue(c)?(e.exit("atxHeadingSequence"),u(c)):r(c)}function u(c){return c===35?(e.enter("atxHeadingSequence"),o(c)):c===null||ce(c)?(e.exit("atxHeading"),t(c)):Ne(c)?_e(e,u,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function o(c){return c===35?(e.consume(c),o):(e.exit("atxHeadingSequence"),u(c))}function l(c){return c===null||c===35||Ue(c)?(e.exit("atxHeadingText"),u(c)):(e.consume(c),l)}}const N8=["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"],t1=["pre","script","style","textarea"],O8={concrete:!0,name:"htmlFlow",resolveTo:L8,tokenize:M8},R8={partial:!0,tokenize:F8},D8={partial:!0,tokenize:P8};function L8(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 M8(e,t,r){const n=this;let a,i,s,u,o;return l;function l(_){return c(_)}function c(_){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(_),f}function f(_){return _===33?(e.consume(_),p):_===47?(e.consume(_),i=!0,y):_===63?(e.consume(_),a=3,n.interrupt?t:L):At(_)?(e.consume(_),s=String.fromCharCode(_),T):r(_)}function p(_){return _===45?(e.consume(_),a=2,d):_===91?(e.consume(_),a=5,u=0,b):At(_)?(e.consume(_),a=4,n.interrupt?t:L):r(_)}function d(_){return _===45?(e.consume(_),n.interrupt?t:L):r(_)}function b(_){const Ce="CDATA[";return _===Ce.charCodeAt(u++)?(e.consume(_),u===Ce.length?n.interrupt?t:X:b):r(_)}function y(_){return At(_)?(e.consume(_),s=String.fromCharCode(_),T):r(_)}function T(_){if(_===null||_===47||_===62||Ue(_)){const Ce=_===47,ze=s.toLowerCase();return!Ce&&!i&&t1.includes(ze)?(a=1,n.interrupt?t(_):X(_)):N8.includes(s.toLowerCase())?(a=6,Ce?(e.consume(_),v):n.interrupt?t(_):X(_)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(_):i?S(_):w(_))}return _===45||pt(_)?(e.consume(_),s+=String.fromCharCode(_),T):r(_)}function v(_){return _===62?(e.consume(_),n.interrupt?t:X):r(_)}function S(_){return Ne(_)?(e.consume(_),S):P(_)}function w(_){return _===47?(e.consume(_),P):_===58||_===95||At(_)?(e.consume(_),M):Ne(_)?(e.consume(_),w):P(_)}function M(_){return _===45||_===46||_===58||_===95||pt(_)?(e.consume(_),M):B(_)}function B(_){return _===61?(e.consume(_),O):Ne(_)?(e.consume(_),B):w(_)}function O(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(e.consume(_),o=_,D):Ne(_)?(e.consume(_),O):z(_)}function D(_){return _===o?(e.consume(_),o=null,U):_===null||ce(_)?r(_):(e.consume(_),D)}function z(_){return _===null||_===34||_===39||_===47||_===60||_===61||_===62||_===96||Ue(_)?B(_):(e.consume(_),z)}function U(_){return _===47||_===62||Ne(_)?w(_):r(_)}function P(_){return _===62?(e.consume(_),$):r(_)}function $(_){return _===null||ce(_)?X(_):Ne(_)?(e.consume(_),$):r(_)}function X(_){return _===45&&a===2?(e.consume(_),Te):_===60&&a===1?(e.consume(_),De):_===62&&a===4?(e.consume(_),ue):_===63&&a===3?(e.consume(_),L):_===93&&a===5?(e.consume(_),Be):ce(_)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(R8,se,he)(_)):_===null||ce(_)?(e.exit("htmlFlowData"),he(_)):(e.consume(_),X)}function he(_){return e.check(D8,me,se)(_)}function me(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),de}function de(_){return _===null||ce(_)?he(_):(e.enter("htmlFlowData"),X(_))}function Te(_){return _===45?(e.consume(_),L):X(_)}function De(_){return _===47?(e.consume(_),s="",Le):X(_)}function Le(_){if(_===62){const Ce=s.toLowerCase();return t1.includes(Ce)?(e.consume(_),ue):X(_)}return At(_)&&s.length<8?(e.consume(_),s+=String.fromCharCode(_),Le):X(_)}function Be(_){return _===93?(e.consume(_),L):X(_)}function L(_){return _===62?(e.consume(_),ue):_===45&&a===2?(e.consume(_),L):X(_)}function ue(_){return _===null||ce(_)?(e.exit("htmlFlowData"),se(_)):(e.consume(_),ue)}function se(_){return e.exit("htmlFlow"),t(_)}}function P8(e,t,r){const n=this;return a;function a(s){return ce(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 F8(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(ui,t,r)}}const B8={name:"htmlText",tokenize:z8};function z8(e,t,r){const n=this;let a,i,s;return u;function u(L){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(L),o}function o(L){return L===33?(e.consume(L),l):L===47?(e.consume(L),B):L===63?(e.consume(L),w):At(L)?(e.consume(L),z):r(L)}function l(L){return L===45?(e.consume(L),c):L===91?(e.consume(L),i=0,b):At(L)?(e.consume(L),S):r(L)}function c(L){return L===45?(e.consume(L),d):r(L)}function f(L){return L===null?r(L):L===45?(e.consume(L),p):ce(L)?(s=f,De(L)):(e.consume(L),f)}function p(L){return L===45?(e.consume(L),d):f(L)}function d(L){return L===62?Te(L):L===45?p(L):f(L)}function b(L){const ue="CDATA[";return L===ue.charCodeAt(i++)?(e.consume(L),i===ue.length?y:b):r(L)}function y(L){return L===null?r(L):L===93?(e.consume(L),T):ce(L)?(s=y,De(L)):(e.consume(L),y)}function T(L){return L===93?(e.consume(L),v):y(L)}function v(L){return L===62?Te(L):L===93?(e.consume(L),v):y(L)}function S(L){return L===null||L===62?Te(L):ce(L)?(s=S,De(L)):(e.consume(L),S)}function w(L){return L===null?r(L):L===63?(e.consume(L),M):ce(L)?(s=w,De(L)):(e.consume(L),w)}function M(L){return L===62?Te(L):w(L)}function B(L){return At(L)?(e.consume(L),O):r(L)}function O(L){return L===45||pt(L)?(e.consume(L),O):D(L)}function D(L){return ce(L)?(s=D,De(L)):Ne(L)?(e.consume(L),D):Te(L)}function z(L){return L===45||pt(L)?(e.consume(L),z):L===47||L===62||Ue(L)?U(L):r(L)}function U(L){return L===47?(e.consume(L),Te):L===58||L===95||At(L)?(e.consume(L),P):ce(L)?(s=U,De(L)):Ne(L)?(e.consume(L),U):Te(L)}function P(L){return L===45||L===46||L===58||L===95||pt(L)?(e.consume(L),P):$(L)}function $(L){return L===61?(e.consume(L),X):ce(L)?(s=$,De(L)):Ne(L)?(e.consume(L),$):U(L)}function X(L){return L===null||L===60||L===61||L===62||L===96?r(L):L===34||L===39?(e.consume(L),a=L,he):ce(L)?(s=X,De(L)):Ne(L)?(e.consume(L),X):(e.consume(L),me)}function he(L){return L===a?(e.consume(L),a=void 0,de):L===null?r(L):ce(L)?(s=he,De(L)):(e.consume(L),he)}function me(L){return L===null||L===34||L===39||L===60||L===61||L===96?r(L):L===47||L===62||Ue(L)?U(L):(e.consume(L),me)}function de(L){return L===47||L===62||Ue(L)?U(L):r(L)}function Te(L){return L===62?(e.consume(L),e.exit("htmlTextData"),e.exit("htmlText"),t):r(L)}function De(L){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),Le}function Le(L){return Ne(L)?_e(e,Be,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):Be(L)}function Be(L){return e.enter("htmlTextData"),s(L)}}const tl={name:"labelEnd",resolveAll:q8,resolveTo:$8,tokenize:Y8},H8={tokenize:V8},U8={tokenize:W8},j8={tokenize:G8};function q8(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&&Mt(e,0,e.length,r),e}function $8(e,t){let r=e.length,n=0,a,i,s,u;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 o={type:e[i][1].type==="labelLink"?"link":"image",start:J({},e[i][1].start),end:J({},e[e.length-1][1].end)},l={type:"label",start:J({},e[i][1].start),end:J({},e[s][1].end)},c={type:"labelText",start:J({},e[i+n+2][1].end),end:J({},e[s-2][1].start)};return u=[["enter",o,t],["enter",l,t]],u=jt(u,e.slice(i+1,i+n+3)),u=jt(u,[["enter",c,t]]),u=jt(u,Ys(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),u=jt(u,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),u=jt(u,e.slice(s+1)),u=jt(u,[["exit",o,t]]),Mt(e,i,e.length,u),e}function Y8(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 u;function u(p){return i?i._inactive?f(p):(s=n.parser.defined.includes(Zt(n.sliceSerialize({start:i.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(p),e.exit("labelMarker"),e.exit("labelEnd"),o):r(p)}function o(p){return p===40?e.attempt(H8,c,s?c:f)(p):p===91?e.attempt(U8,c,s?l:f)(p):s?c(p):f(p)}function l(p){return e.attempt(j8,c,f)(p)}function c(p){return t(p)}function f(p){return i._balanced=!0,r(p)}}function V8(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 Ue(f)?Da(e,i)(f):i(f)}function i(f){return f===41?c(f):Kd(e,s,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Ue(f)?Da(e,o)(f):c(f)}function u(f){return r(f)}function o(f){return f===34||f===39||f===40?Jd(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function l(f){return Ue(f)?Da(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 W8(e,t,r){const n=this;return a;function a(u){return Qd.call(n,e,i,s,"reference","referenceMarker","referenceString")(u)}function i(u){return n.parser.defined.includes(Zt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(u):r(u)}function s(u){return r(u)}}function G8(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 X8={name:"labelStartImage",resolveAll:tl.resolveAll,tokenize:K8};function K8(e,t,r){const n=this;return a;function a(u){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(u),e.exit("labelImageMarker"),i}function i(u){return u===91?(e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelImage"),s):r(u)}function s(u){return u===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(u):t(u)}}const Q8={name:"labelStartLink",resolveAll:tl.resolveAll,tokenize:J8};function J8(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 B0={name:"lineEnding",tokenize:Z8};function Z8(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),_e(e,t,"linePrefix")}}const ts={name:"thematicBreak",tokenize:eb};function eb(e,t,r){let n=0,a;return i;function i(l){return e.enter("thematicBreak"),s(l)}function s(l){return a=l,u(l)}function u(l){return l===a?(e.enter("thematicBreakSequence"),o(l)):n>=3&&(l===null||ce(l))?(e.exit("thematicBreak"),t(l)):r(l)}function o(l){return l===a?(e.consume(l),n++,o):(e.exit("thematicBreakSequence"),Ne(l)?_e(e,u,"whitespace")(l):u(l))}}const Ct={continuation:{tokenize:ab},exit:sb,name:"list",tokenize:nb},tb={partial:!0,tokenize:ub},rb={partial:!0,tokenize:ib};function nb(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 u;function u(d){const b=n.containerState.type||(d===42||d===43||d===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!n.containerState.marker||d===n.containerState.marker:Hu(d)){if(n.containerState.type||(n.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),d===42||d===45?e.check(ts,r,l)(d):l(d);if(!n.interrupt||d===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(d)}return r(d)}function o(d){return Hu(d)&&++s<10?(e.consume(d),o):(!n.interrupt||s<2)&&(n.containerState.marker?d===n.containerState.marker:d===41||d===46)?(e.exit("listItemValue"),l(d)):r(d)}function l(d){return e.enter("listItemMarker"),e.consume(d),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||d,e.check(ui,n.interrupt?r:c,e.attempt(tb,p,f))}function c(d){return n.containerState.initialBlankLine=!0,i++,p(d)}function f(d){return Ne(d)?(e.enter("listItemPrefixWhitespace"),e.consume(d),e.exit("listItemPrefixWhitespace"),p):r(d)}function p(d){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(d)}}function ab(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(ui,a,i);function a(u){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,_e(e,t,"listItemIndent",n.containerState.size+1)(u)}function i(u){return n.containerState.furtherBlankLines||!Ne(u)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(u)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(rb,t,s)(u))}function s(u){return n.containerState._closeFlow=!0,n.interrupt=void 0,_e(e,e.attempt(Ct,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function ib(e,t,r){const n=this;return _e(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 sb(e){e.exit(this.containerState.type)}function ub(e,t,r){const n=this;return _e(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!Ne(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const r1={name:"setextUnderline",resolveTo:ob,tokenize:lb};function ob(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:J({},e[n][1].start),end:J({},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=J({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function lb(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"),u(l)}function u(l){return l===a?(e.consume(l),u):(e.exit("setextHeadingLineSequence"),Ne(l)?_e(e,o,"lineSuffix")(l):o(l))}function o(l){return l===null||ce(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}const cb={tokenize:fb};function fb(e){const t=this,r=e.attempt(ui,n,e.attempt(this.parser.constructs.flowInitial,a,_e(e,e.attempt(this.parser.constructs.flow,a,e.attempt(g8,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 hb={resolveAll:em()},db=Zd("string"),mb=Zd("text");function Zd(e){return{resolveAll:em(e==="text"?pb:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],i=r.attempt(a,s,u);return s;function s(c){return l(c)?i(c):u(c)}function u(c){if(c===null){r.consume(c);return}return r.enter("data"),r.consume(c),o}function o(c){return l(c)?(r.exit("data"),i(c)):(r.consume(c),o)}function l(c){if(c===null)return!0;const f=a[c];let p=-1;if(f)for(;++p<f.length;){const d=f[p];if(!d.previous||d.previous.call(n,n.previous))return!0}return!1}}}function em(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 pb(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,u=0,o;for(;i--;){const l=a[i];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)u++,s--;if(s)break;s=-1}else if(l===-2)o=!0,u++;else if(l!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(u=0),u){const l={type:r===e.length||o||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-u,offset:n.end.offset-u},end:J({},n.end)};n.end=J({},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 gb={42:Ct,43:Ct,45:Ct,48:Ct,49:Ct,50:Ct,51:Ct,52:Ct,53:Ct,54:Ct,55:Ct,56:Ct,57:Ct,62:Vd},bb={91:T8},yb={[-2]:F0,[-1]:F0,32:F0},Eb={35:C8,42:ts,45:[r1,ts],60:O8,61:r1,95:ts,96:e1,126:e1},xb={38:Gd,92:Wd},Tb={[-5]:B0,[-4]:B0,[-3]:B0,33:X8,38:Gd,42:Uu,60:[Qg,B8],91:Q8,92:[S8,Wd],93:tl,95:Uu,96:c8},vb={null:[Uu,hb]},Ab={null:[42,95]},wb={null:[]},Sb=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:Ab,contentInitial:bb,disable:wb,document:gb,flow:Eb,flowInitial:yb,insideSpan:vb,string:xb,text:Tb},Symbol.toStringTag,{value:"Module"}));function kb(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=[],u=[];const o={attempt:D(B),check:D(O),consume:S,enter:w,exit:M,interrupt:D(O,{interrupt:!0})},l={code:null,containerState:{},defineSkip:y,events:[],now:b,parser:e,previous:null,sliceSerialize:p,sliceStream:d,write:f};let c=t.tokenize.call(l,o);return t.resolveAll&&i.push(t),l;function f($){return s=jt(s,$),T(),s[s.length-1]!==null?[]:(z(t,0),l.events=Ys(i,l.events,l),l.events)}function p($,X){return Ib(d($),X)}function d($){return Cb(s,$)}function b(){const{_bufferIndex:$,_index:X,line:he,column:me,offset:de}=n;return{_bufferIndex:$,_index:X,line:he,column:me,offset:de}}function y($){a[$.line]=$.column,P()}function T(){let $;for(;n._index<s.length;){const X=s[n._index];if(typeof X=="string")for($=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===$&&n._bufferIndex<X.length;)v(X.charCodeAt(n._bufferIndex));else v(X)}}function v($){c=c($)}function S($){ce($)?(n.line++,n.column=1,n.offset+=$===-3?2:1,P()):$!==-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 w($,X){const he=X||{};return he.type=$,he.start=b(),l.events.push(["enter",he,l]),u.push(he),he}function M($){const X=u.pop();return X.end=b(),l.events.push(["exit",X,l]),X}function B($,X){z($,X.from)}function O($,X){X.restore()}function D($,X){return he;function he(me,de,Te){let De,Le,Be,L;return Array.isArray(me)?se(me):"tokenize"in me?se([me]):ue(me);function ue(Oe){return Xe;function Xe(dt){const ut=dt!==null&&Oe[dt],ot=dt!==null&&Oe.null,Wt=[...Array.isArray(ut)?ut:ut?[ut]:[],...Array.isArray(ot)?ot:ot?[ot]:[]];return se(Wt)(dt)}}function se(Oe){return De=Oe,Le=0,Oe.length===0?Te:_(Oe[Le])}function _(Oe){return Xe;function Xe(dt){return L=U(),Be=Oe,Oe.partial||(l.currentConstruct=Oe),Oe.name&&l.parser.constructs.disable.null.includes(Oe.name)?ze():Oe.tokenize.call(X?Object.assign(Object.create(l),X):l,o,Ce,ze)(dt)}}function Ce(Oe){return $(Be,L),de}function ze(Oe){return L.restore(),++Le<De.length?_(De[Le]):Te}}}function z($,X){$.resolveAll&&!i.includes($)&&i.push($),$.resolve&&Mt(l.events,X,l.events.length-X,$.resolve(l.events.slice(X),l)),$.resolveTo&&(l.events=$.resolveTo(l.events,l))}function U(){const $=b(),X=l.previous,he=l.currentConstruct,me=l.events.length,de=Array.from(u);return{from:me,restore:Te};function Te(){n=$,l.previous=X,l.currentConstruct=he,l.events.length=me,u=de,P()}}function P(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function Cb(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 u=s[0];typeof u=="string"?s[0]=u.slice(n):s.shift()}i>0&&s.push(e[a].slice(0,i))}return s}function Ib(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=`
11
+ `;break}case-3:{s=`\r
12
+ `;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 _b(e){const n={constructs:$d([Sb,...(e||{}).extensions||[]]),content:a($g),defined:[],document:a(Vg),flow:a(cb),lazy:{},string:a(db),text:a(mb)};return n;function a(i){return s;function s(u){return kb(n,i,u)}}}function Nb(e){for(;!Xd(e););return e}const n1=/[\0\t\n\r]/g;function Ob(){let e=1,t="",r=!0,n;return a;function a(i,s,u){const o=[];let l,c,f,p,d;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(n1.lastIndex=f,l=n1.exec(i),p=l&&l.index!==void 0?l.index:i.length,d=i.charCodeAt(p),!l){t=i.slice(f);break}if(d===10&&f===p&&n)o.push(-3),n=void 0;else switch(n&&(o.push(-5),n=void 0),f<p&&(o.push(i.slice(f,p)),e+=p-f),d){case 0:{o.push(65533),e++;break}case 9:{for(c=Math.ceil(e/4)*4,o.push(-2);e++<c;)o.push(-1);break}case 10:{o.push(-4),e=1;break}default:n=!0,e=1}f=p+1}return u&&(n&&o.push(-5),t&&o.push(t),o.push(null)),o}}const Rb=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Db(e){return e.replace(Rb,Lb)}function Lb(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return Yd(r.slice(i?2:1),i?16:10)}return el(r)||e}const tm={}.hasOwnProperty;function Mb(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),Pb(r)(Nb(_b(r).document().write(Ob()(e,t,!0))))}function Pb(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(ma),autolinkProtocol:U,autolinkEmail:U,atxHeading:i(bi),blockQuote:i(ot),characterEscape:U,characterReference:U,codeFenced:i(Wt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(Wt,s),codeText:i(gr,s),codeTextData:U,data:U,codeFlowValue:U,definition:i(xt),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(Cn),hardBreakEscape:i(yi),hardBreakTrailing:i(yi),htmlFlow:i(Ei,s),htmlFlowData:U,htmlText:i(Ei,s),htmlTextData:U,image:i(xi),label:s,link:i(ma),listItem:i(E0),listItemValue:p,listOrdered:i(en,f),listUnordered:i(en),paragraph:i(x0),reference:_,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(bi),strong:i(pa),thematicBreak:i(vi)},exit:{atxHeading:o(),atxHeadingSequence:B,autolink:o(),autolinkEmail:ut,autolinkProtocol:dt,blockQuote:o(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:ze,characterReferenceMarkerNumeric:ze,characterReferenceValue:Oe,characterReference:Xe,codeFenced:o(T),codeFencedFence:y,codeFencedFenceInfo:d,codeFencedFenceMeta:b,codeFlowValue:P,codeIndented:o(v),codeText:o(de),codeTextData:P,data:P,definition:o(),definitionDestinationString:M,definitionLabelString:S,definitionTitleString:w,emphasis:o(),hardBreakEscape:o(X),hardBreakTrailing:o(X),htmlFlow:o(he),htmlFlowData:P,htmlText:o(me),htmlTextData:P,image:o(De),label:Be,labelText:Le,lineEnding:$,link:o(Te),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:Ce,resourceDestinationString:L,resourceTitleString:ue,resource:se,setextHeading:o(z),setextHeadingLineSequence:D,setextHeadingText:O,strong:o(),thematicBreak:o()}};rm(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(Y){let ie={type:"root",children:[]};const be={stack:[ie],tokenStack:[],config:t,enter:u,exit:l,buffer:s,resume:c,data:r},we=[];let He=-1;for(;++He<Y.length;)if(Y[He][1].type==="listOrdered"||Y[He][1].type==="listUnordered")if(Y[He][0]==="enter")we.push(He);else{const Gt=we.pop();He=a(Y,Gt,He)}for(He=-1;++He<Y.length;){const Gt=t[Y[He][0]];tm.call(Gt,Y[He][1].type)&&Gt[Y[He][1].type].call(Object.assign({sliceSerialize:Y[He][2].sliceSerialize},be),Y[He][1])}if(be.tokenStack.length>0){const Gt=be.tokenStack[be.tokenStack.length-1];(Gt[1]||a1).call(be,void 0,Gt[0])}for(ie.position={start:Dr(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:Dr(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},He=-1;++He<t.transforms.length;)ie=t.transforms[He](ie)||ie;return ie}function a(Y,ie,be){let we=ie-1,He=-1,Gt=!1,tn,br,ga,ba;for(;++we<=be;){const Dt=Y[we];switch(Dt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Dt[0]==="enter"?He++:He--,ba=void 0;break}case"lineEndingBlank":{Dt[0]==="enter"&&(tn&&!ba&&!He&&!ga&&(ga=we),ba=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ba=void 0}if(!He&&Dt[0]==="enter"&&Dt[1].type==="listItemPrefix"||He===-1&&Dt[0]==="exit"&&(Dt[1].type==="listUnordered"||Dt[1].type==="listOrdered")){if(tn){let In=we;for(br=void 0;In--;){const yr=Y[In];if(yr[1].type==="lineEnding"||yr[1].type==="lineEndingBlank"){if(yr[0]==="exit")continue;br&&(Y[br][1].type="lineEndingBlank",Gt=!0),yr[1].type="lineEnding",br=In}else if(!(yr[1].type==="linePrefix"||yr[1].type==="blockQuotePrefix"||yr[1].type==="blockQuotePrefixWhitespace"||yr[1].type==="blockQuoteMarker"||yr[1].type==="listItemIndent"))break}ga&&(!br||ga<br)&&(tn._spread=!0),tn.end=Object.assign({},br?Y[br][1].start:Dt[1].end),Y.splice(br||we,0,["exit",tn,Dt[2]]),we++,be++}if(Dt[1].type==="listItemPrefix"){const In={type:"listItem",_spread:!1,start:Object.assign({},Dt[1].start),end:void 0};tn=In,Y.splice(we,0,["enter",In,Dt[2]]),we++,be++,ga=void 0,ba=!0}}}return Y[ie][1]._spread=Gt,be}function i(Y,ie){return be;function be(we){u.call(this,Y(we),we),ie&&ie.call(this,we)}}function s(){this.stack.push({type:"fragment",children:[]})}function u(Y,ie,be){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([ie,be||void 0]),Y.position={start:Dr(ie.start),end:void 0}}function o(Y){return ie;function ie(be){Y&&Y.call(this,be),l.call(this,be)}}function l(Y,ie){const be=this.stack.pop(),we=this.tokenStack.pop();if(we)we[0].type!==Y.type&&(ie?ie.call(this,Y,we[0]):(we[1]||a1).call(this,Y,we[0]));else throw new Error("Cannot close `"+Y.type+"` ("+Ra({start:Y.start,end:Y.end})+"): it’s not open");be.position.end=Dr(Y.end)}function c(){return Zo(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(Y){if(this.data.expectingFirstListItemValue){const ie=this.stack[this.stack.length-2];ie.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function d(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.lang=Y}function b(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.meta=Y}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y.replace(/(\r?\n|\r)$/g,"")}function S(Y){const ie=this.resume(),be=this.stack[this.stack.length-1];be.label=ie,be.identifier=Zt(this.sliceSerialize(Y)).toLowerCase()}function w(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Y}function M(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Y}function B(Y){const ie=this.stack[this.stack.length-1];if(!ie.depth){const be=this.sliceSerialize(Y).length;ie.depth=be}}function O(){this.data.setextHeadingSlurpLineEnding=!0}function D(Y){const ie=this.stack[this.stack.length-1];ie.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function U(Y){const be=this.stack[this.stack.length-1].children;let we=be[be.length-1];(!we||we.type!=="text")&&(we=Ti(),we.position={start:Dr(Y.start),end:void 0},be.push(we)),this.stack.push(we)}function P(Y){const ie=this.stack.pop();ie.value+=this.sliceSerialize(Y),ie.position.end=Dr(Y.end)}function $(Y){const ie=this.stack[this.stack.length-1];if(this.data.atHardBreak){const be=ie.children[ie.children.length-1];be.position.end=Dr(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ie.type)&&(U.call(this,Y),P.call(this,Y))}function X(){this.data.atHardBreak=!0}function he(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function me(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function de(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function Te(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ie,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function De(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ie,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function Le(Y){const ie=this.sliceSerialize(Y),be=this.stack[this.stack.length-2];be.label=Db(ie),be.identifier=Zt(ie).toLowerCase()}function Be(){const Y=this.stack[this.stack.length-1],ie=this.resume(),be=this.stack[this.stack.length-1];if(this.data.inReference=!0,be.type==="link"){const we=Y.children;be.children=we}else be.alt=ie}function L(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Y}function ue(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Y}function se(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function Ce(Y){const ie=this.resume(),be=this.stack[this.stack.length-1];be.label=ie,be.identifier=Zt(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function ze(Y){this.data.characterReferenceType=Y.type}function Oe(Y){const ie=this.sliceSerialize(Y),be=this.data.characterReferenceType;let we;be?(we=Yd(ie,be==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):we=el(ie);const He=this.stack[this.stack.length-1];He.value+=we}function Xe(Y){const ie=this.stack.pop();ie.position.end=Dr(Y.end)}function dt(Y){P.call(this,Y);const ie=this.stack[this.stack.length-1];ie.url=this.sliceSerialize(Y)}function ut(Y){P.call(this,Y);const ie=this.stack[this.stack.length-1];ie.url="mailto:"+this.sliceSerialize(Y)}function ot(){return{type:"blockquote",children:[]}}function Wt(){return{type:"code",lang:null,meta:null,value:""}}function gr(){return{type:"inlineCode",value:""}}function xt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function Cn(){return{type:"emphasis",children:[]}}function bi(){return{type:"heading",depth:0,children:[]}}function yi(){return{type:"break"}}function Ei(){return{type:"html",value:""}}function xi(){return{type:"image",title:null,url:"",alt:null}}function ma(){return{type:"link",title:null,url:"",children:[]}}function en(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function E0(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function x0(){return{type:"paragraph",children:[]}}function pa(){return{type:"strong",children:[]}}function Ti(){return{type:"text",value:""}}function vi(){return{type:"thematicBreak"}}}function Dr(e){return{line:e.line,column:e.column,offset:e.offset}}function rm(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?rm(e,n):Fb(e,n)}}function Fb(e,t){let r;for(r in t)if(tm.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 a1(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Ra({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Ra({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Ra({start:t.start,end:t.end})+") is still open")}function Bb(e){const t=this;t.parser=r;function r(n){return Mb(n,tt(J(J({},t.data("settings")),e),{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}}function zb(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 Hb(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
13
+ `}]}function Ub(e,t){const r=t.value?t.value+`
14
+ `:"",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 jb(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function qb(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function $b(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=na(n.toLowerCase()),i=e.footnoteOrder.indexOf(n);let s,u=e.footnoteCounts.get(n);u===void 0?(u=0,e.footnoteOrder.push(n),s=e.footnoteOrder.length):s=i+1,u+=1,e.footnoteCounts.set(n,u);const o={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(u>1?"-"+u:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(s)}]};e.patch(t,o);const l={type:"element",tagName:"sup",properties:{},children:[o]};return e.patch(t,l),e.applyData(t,l)}function Yb(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 Vb(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function nm(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 Wb(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return nm(e,t);const a={src:na(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 Gb(e,t){const r={src:na(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 Xb(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 Kb(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return nm(e,t);const a={href:na(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 Qb(e,t){const r={href:na(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 Jb(e,t,r){const n=e.all(t),a=r?Zb(r):am(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 u=-1;for(;++u<n.length;){const c=n[u];(a||u!==0||c.type!=="element"||c.tagName!=="p")&&s.push({type:"text",value:`
15
+ `}),c.type==="element"&&c.tagName==="p"&&!a?s.push(...c.children):s.push(c)}const o=n[n.length-1];o&&(a||o.type!=="element"||o.tagName!=="p")&&s.push({type:"text",value:`
16
+ `});const l={type:"element",tagName:"li",properties:i,children:s};return e.patch(t,l),e.applyData(t,l)}function Zb(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=am(r[n])}return t}function am(e){const t=e.spread;return t==null?e.children.length>1:t}function e7(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 t7(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function r7(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function n7(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function a7(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)},u=fr(t.children[1]),o=qs(t.children[t.children.length-1]);u&&o&&(s.position={start:u,end:o}),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 i7(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,u=s?s.length:t.children.length;let o=-1;const l=[];for(;++o<u;){const f=t.children[o],p={},d=s?s[o]:void 0;d&&(p.align=d);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 s7(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const i1=9,s1=32;function u7(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(u1(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(u1(t.slice(a),a>0,!1)),i.join("")}function u1(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===i1||i===s1;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===i1||i===s1;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function o7(e,t){const r={type:"text",value:u7(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function l7(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const c7={blockquote:zb,break:Hb,code:Ub,delete:jb,emphasis:qb,footnoteReference:$b,heading:Yb,html:Vb,imageReference:Wb,image:Gb,inlineCode:Xb,linkReference:Kb,link:Qb,listItem:Jb,list:e7,paragraph:t7,root:r7,strong:n7,table:a7,tableCell:s7,tableRow:i7,text:o7,thematicBreak:l7,toml:Ii,yaml:Ii,definition:Ii,footnoteDefinition:Ii};function Ii(){}const im=-1,Vs=0,La=1,gs=2,rl=3,nl=4,al=5,il=6,sm=7,um=8,o1=typeof self=="object"?self:globalThis,f7=(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 Vs:case im:return r(s,a);case La:{const u=r([],a);for(const o of s)u.push(n(o));return u}case gs:{const u=r({},a);for(const[o,l]of s)u[n(o)]=n(l);return u}case rl:return r(new Date(s),a);case nl:{const{source:u,flags:o}=s;return r(new RegExp(u,o),a)}case al:{const u=r(new Map,a);for(const[o,l]of s)u.set(n(o),n(l));return u}case il:{const u=r(new Set,a);for(const o of s)u.add(n(o));return u}case sm:{const{name:u,message:o}=s;return r(new o1[u](o),a)}case um: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:u}=new Uint8Array(s);return r(new DataView(u),s)}}return r(new o1[i](s),a)};return n},l1=e=>f7(new Map,e)(0),Rn="",{toString:h7}={},{keys:d7}=Object,Ta=e=>{const t=typeof e;if(t!=="object"||!e)return[Vs,t];const r=h7.call(e).slice(8,-1);switch(r){case"Array":return[La,Rn];case"Object":return[gs,Rn];case"Date":return[rl,Rn];case"RegExp":return[nl,Rn];case"Map":return[al,Rn];case"Set":return[il,Rn];case"DataView":return[La,r]}return r.includes("Array")?[La,r]:r.includes("Error")?[sm,r]:[gs,r]},_i=([e,t])=>e===Vs&&(t==="function"||t==="symbol"),m7=(e,t,r,n)=>{const a=(s,u)=>{const o=n.push(s)-1;return r.set(u,o),o},i=s=>{if(r.has(s))return r.get(s);let[u,o]=Ta(s);switch(u){case Vs:{let c=s;switch(o){case"bigint":u=um,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+o);c=null;break;case"undefined":return a([im],s)}return a([u,c],s)}case La:{if(o){let p=s;return o==="DataView"?p=new Uint8Array(s.buffer):o==="ArrayBuffer"&&(p=new Uint8Array(s)),a([o,[...p]],s)}const c=[],f=a([u,c],s);for(const p of s)c.push(i(p));return f}case gs:{if(o)switch(o){case"BigInt":return a([o,s.toString()],s);case"Boolean":case"Number":case"String":return a([o,s.valueOf()],s)}if(t&&"toJSON"in s)return i(s.toJSON());const c=[],f=a([u,c],s);for(const p of d7(s))(e||!_i(Ta(s[p])))&&c.push([i(p),i(s[p])]);return f}case rl:return a([u,s.toISOString()],s);case nl:{const{source:c,flags:f}=s;return a([u,{source:c,flags:f}],s)}case al:{const c=[],f=a([u,c],s);for(const[p,d]of s)(e||!(_i(Ta(p))||_i(Ta(d))))&&c.push([i(p),i(d)]);return f}case il:{const c=[],f=a([u,c],s);for(const p of s)(e||!_i(Ta(p)))&&c.push(i(p));return f}}const{message:l}=s;return a([u,{name:o,message:l}],s)};return i},c1=(e,{json:t,lossy:r}={})=>{const n=[];return m7(!(t||r),!!t,new Map,n)(e),n},Vn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?l1(c1(e,t)):structuredClone(e):(e,t)=>l1(c1(e,t));function p7(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 g7(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function b7(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||p7,n=e.options.footnoteBackLabel||g7,a=e.options.footnoteLabel||"Footnotes",i=e.options.footnoteLabelTagName||"h2",s=e.options.footnoteLabelProperties||{className:["sr-only"]},u=[];let o=-1;for(;++o<e.footnoteOrder.length;){const l=e.footnoteById.get(e.footnoteOrder[o]);if(!l)continue;const c=e.all(l),f=String(l.identifier).toUpperCase(),p=na(f.toLowerCase());let d=0;const b=[],y=e.footnoteCounts.get(f);for(;y!==void 0&&++d<=y;){b.length>0&&b.push({type:"text",value:" "});let S=typeof r=="string"?r:r(o,d);typeof S=="string"&&(S={type:"text",value:S}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(d>1?"-"+d:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(o,d),className:["data-footnote-backref"]},children:Array.isArray(S)?S:[S]})}const T=c[c.length-1];if(T&&T.type==="element"&&T.tagName==="p"){const S=T.children[T.children.length-1];S&&S.type==="text"?S.value+=" ":T.children.push({type:"text",value:" "}),T.children.push(...b)}else c.push(...b);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(l,v),u.push(v)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:tt(J({},Vn(s)),{id:"footnote-label"}),children:[{type:"text",value:a}]},{type:"text",value:`
17
+ `},{type:"element",tagName:"ol",properties:{},children:e.wrap(u,!0)},{type:"text",value:`
18
+ `}]}}const oi=function(e){if(e==null)return T7;if(typeof e=="function")return Ws(e);if(typeof e=="object")return Array.isArray(e)?y7(e):E7(e);if(typeof e=="string")return x7(e);throw new Error("Expected function, string, or object as test")};function y7(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=oi(e[r]);return Ws(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function E7(e){const t=e;return Ws(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function x7(e){return Ws(t);function t(r){return r&&r.type===e}}function Ws(e){return t;function t(r,n,a){return!!(v7(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function T7(){return!0}function v7(e){return e!==null&&typeof e=="object"&&"type"in e}const om=[],A7=!0,ju=!1,lm="skip";function sl(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=oi(a),s=n?-1:1;u(e,void 0,[])();function u(o,l,c){const f=o&&typeof o=="object"?o:{};if(typeof f.type=="string"){const d=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(o.type+(d?"<"+d+">":""))+")"})}return p;function p(){let d=om,b,y,T;if((!t||i(o,l,c[c.length-1]||void 0))&&(d=w7(r(o,c)),d[0]===ju))return d;if("children"in o&&o.children){const v=o;if(v.children&&d[0]!==lm)for(y=(n?v.children.length:-1)+s,T=c.concat(v);y>-1&&y<v.children.length;){const S=v.children[y];if(b=u(S,y,T)(),b[0]===ju)return b;y=typeof b[1]=="number"?b[1]:y+s}}return d}}}function w7(e){return Array.isArray(e)?e:typeof e=="number"?[A7,e]:e==null?om:[e]}function Gs(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),sl(e,i,u,a);function u(o,l){const c=l[l.length-1],f=c?c.children.indexOf(o):void 0;return s(o,f,c)}}const qu={}.hasOwnProperty,S7={};function k7(e,t){const r=t||S7,n=new Map,a=new Map,i=new Map,s=J(J({},c7),r.handlers),u={all:l,applyData:I7,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:o,options:r,patch:C7,wrap:N7};return Gs(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)}}),u;function o(c,f){const p=c.type,d=u.handlers[p];if(qu.call(u.handlers,p)&&d)return d(u,c,f);if(u.options.passThrough&&u.options.passThrough.includes(p)){if("children"in c){const y=c,{children:T}=y,v=wi(y,["children"]),S=Vn(v);return S.children=u.all(c),S}return Vn(c)}return(u.options.unknownHandler||_7)(u,c,f)}function l(c){const f=[];if("children"in c){const p=c.children;let d=-1;for(;++d<p.length;){const b=u.one(p[d],c);if(b){if(d&&p[d-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=f1(b.value)),!Array.isArray(b)&&b.type==="element")){const y=b.children[0];y&&y.type==="text"&&(y.value=f1(y.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}return f}}function C7(e,t){e.position&&(t.position=gg(e))}function I7(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,Vn(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function _7(e,t){const r=t.data||{},n="value"in t&&!(qu.call(r,"hProperties")||qu.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 N7(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
19
+ `});++n<e.length;)n&&r.push({type:"text",value:`
20
+ `}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
21
+ `}),r}function f1(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function h1(e,t){const r=k7(e,t),n=r.one(e,void 0),a=b7(r),i=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&i.children.push({type:"text",value:`
22
+ `},a),i}function O7(e,t){return e&&"run"in e?function(r,n){return Re(this,null,function*(){const a=h1(r,J({file:n},t));yield e.run(a,n)})}:function(r,n){return h1(r,J({file:n},e||t))}}function d1(e){if(e)throw e}var rs=Object.prototype.hasOwnProperty,cm=Object.prototype.toString,m1=Object.defineProperty,p1=Object.getOwnPropertyDescriptor,g1=function(t){return typeof Array.isArray=="function"?Array.isArray(t):cm.call(t)==="[object Array]"},b1=function(t){if(!t||cm.call(t)!=="[object Object]")return!1;var r=rs.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&rs.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var a;for(a in t);return typeof a=="undefined"||rs.call(t,a)},y1=function(t,r){m1&&r.name==="__proto__"?m1(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},E1=function(t,r){if(r==="__proto__")if(rs.call(t,r)){if(p1)return p1(t,r).value}else return;return t[r]},R7=function e(){var t,r,n,a,i,s,u=arguments[0],o=1,l=arguments.length,c=!1;for(typeof u=="boolean"&&(c=u,u=arguments[1]||{},o=2),(u==null||typeof u!="object"&&typeof u!="function")&&(u={});o<l;++o)if(t=arguments[o],t!=null)for(r in t)n=E1(u,r),a=E1(t,r),u!==a&&(c&&a&&(b1(a)||(i=g1(a)))?(i?(i=!1,s=n&&g1(n)?n:[]):s=n&&b1(n)?n:{},y1(u,{name:r,newValue:e(c,s,a)})):typeof a!="undefined"&&y1(u,{name:r,newValue:a}));return u};const z0=Go(R7);function $u(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 D7(){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);u(null,...a);function u(o,...l){const c=e[++i];let f=-1;if(o){s(o);return}for(;++f<a.length;)(l[f]===null||l[f]===void 0)&&(l[f]=a[f]);a=l,c?L7(c,u)(...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 L7(e,t){let r;return n;function n(...s){const u=e.length>s.length;let o;u&&s.push(a);try{o=e.apply(this,s)}catch(l){const c=l;if(u&&r)throw c;return a(c)}u||(o&&o.then&&typeof o.then=="function"?o.then(i,a):o instanceof Error?a(o):i(o))}function a(s,...u){r||(r=!0,t(s,...u))}function i(s){a(null,s)}}const rr={basename:M7,dirname:P7,extname:F7,join:B7,sep:"/"};function M7(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');li(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,u=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(i){r=a+1;break}}else s<0&&(i=!0,s=a+1),u>-1&&(e.codePointAt(a)===t.codePointAt(u--)?u<0&&(n=a):(u=-1,n=s));return r===n?n=s:n<0&&(n=e.length),e.slice(r,n)}function P7(e){if(li(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 F7(e){li(e);let t=e.length,r=-1,n=0,a=-1,i=0,s;for(;t--;){const u=e.codePointAt(t);if(u===47){if(s){n=t+1;break}continue}r<0&&(s=!0,r=t+1),u===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 B7(...e){let t=-1,r;for(;++t<e.length;)li(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":z7(r)}function z7(e){li(e);const t=e.codePointAt(0)===47;let r=H7(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function H7(e,t){let r="",n=0,a=-1,i=0,s=-1,u,o;for(;++s<=e.length;){if(s<e.length)u=e.codePointAt(s);else{if(u===47)break;u=47}if(u===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(o=r.lastIndexOf("/"),o!==r.length-1){o<0?(r="",n=0):(r=r.slice(0,o),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 u===46&&i>-1?i++:i=-1}return r}function li(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const U7={cwd:j7};function j7(){return"/"}function Yu(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function q7(e){if(typeof e=="string")e=new URL(e);else if(!Yu(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 $7(e)}function $7(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 H0=["history","path","basename","stem","extname","dirname"];class fm{constructor(t){let r;t?Yu(t)?r={path:t}:typeof t=="string"||Y7(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":U7.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<H0.length;){const i=H0[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)H0.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?rr.basename(this.path):void 0}set basename(t){j0(t,"basename"),U0(t,"basename"),this.path=rr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?rr.dirname(this.path):void 0}set dirname(t){x1(this.basename,"dirname"),this.path=rr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?rr.extname(this.path):void 0}set extname(t){if(U0(t,"extname"),x1(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=rr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){Yu(t)&&(t=q7(t)),j0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?rr.basename(this.path,this.extname):void 0}set stem(t){j0(t,"stem"),U0(t,"stem"),this.path=rr.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 yt(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 U0(e,t){if(e&&e.includes(rr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+rr.sep+"`")}function j0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function x1(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function Y7(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const V7=function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},W7={}.hasOwnProperty;class ul extends V7{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=D7()}copy(){const t=new ul;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(z0(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(Y0("data",this.frozen),this.namespace[t]=r,this):W7.call(this.namespace,t)&&this.namespace[t]||void 0:t?(Y0("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=Ni(t),n=this.parser||this.Parser;return q0("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),q0("process",this.parser||this.Parser),$0("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const u=Ni(t),o=n.parse(u);n.run(o,u,function(c,f,p){if(c||!f||!p)return l(c);const d=f,b=n.stringify(d,p);K7(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(),q0("processSync",this.parser||this.Parser),$0("processSync",this.compiler||this.Compiler),this.process(t,a),v1("processSync","process",r),n;function a(i,s){r=!0,d1(i),n=s}}run(t,r,n){T1(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,u){const o=Ni(r);a.run(t,o,l);function l(c,f,p){const d=f||t;c?u(c):s?s(d):n(void 0,d,p)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),v1("runSync","run",n),a;function i(s,u){d1(s),a=u,n=!0}}stringify(t,r){this.freeze();const n=Ni(r),a=this.compiler||this.Compiler;return $0("stringify",a),T1(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(Y0("use",this.frozen),t!=null)if(typeof t=="function")o(t,r);else if(typeof t=="object")Array.isArray(t)?u(t):s(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function i(l){if(typeof l=="function")o(l,[]);else if(typeof l=="object")if(Array.isArray(l)){const[c,...f]=l;o(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");u(l.plugins),l.settings&&(a.settings=z0(!0,a.settings,l.settings))}function u(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 o(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[d,...b]=c;const y=n[p][1];$u(y)&&$u(d)&&(d=z0(!0,y,d)),n[p]=[l,d,...b]}}}}const G7=new ul().freeze();function q0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function $0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function Y0(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 T1(e){if(!$u(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function v1(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Ni(e){return X7(e)?e:new fm(e)}function X7(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function K7(e){return typeof e=="string"||Q7(e)}function Q7(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const J7="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",A1=[],w1={allowDangerousHtml:!0},Z7=/^(https?|ircs?|mailto|xmpp)$/i,e9=[{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 t9(e){const t=r9(e),r=n9(e);return a9(t.runSync(t.parse(r),r),e)}function r9(e){const t=e.rehypePlugins||A1,r=e.remarkPlugins||A1,n=e.remarkRehypeOptions?J(J({},e.remarkRehypeOptions),w1):w1;return G7().use(Bb).use(r).use(O7,n).use(t)}function n9(e){const t=e.children||"",r=new fm;return typeof t=="string"&&(r.value=t),r}function a9(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,s=t.skipHtml,u=t.unwrapDisallowed,o=t.urlTransform||i9;for(const c of e9)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+J7+c.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Gs(e,l),Tg(e,{Fragment:k.Fragment,components:a,ignoreInvalidStyle:!0,jsx:k.jsx,jsxs:k.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 d;for(d in P0)if(Object.hasOwn(P0,d)&&Object.hasOwn(c.properties,d)){const b=c.properties[d],y=P0[d];(y===null||y.includes(c.tagName))&&(c.properties[d]=o(String(b||""),d,c))}}if(c.type==="element"){let d=r?!r.includes(c.tagName):i?i.includes(c.tagName):!1;if(!d&&n&&typeof f=="number"&&(d=!n(c,f,p)),d&&p&&typeof f=="number")return u&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function i9(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||Z7.test(e.slice(0,t))?e:""}function hm(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 s9(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:u,mathText:s,mathTextData:u}};function e(o){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]}},o)}function t(){this.buffer()}function r(){const o=this.resume(),l=this.stack[this.stack.length-1];l.type,l.meta=o}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(o){const l=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),c=this.stack[this.stack.length-1];c.type,this.exit(o),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(o){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},o),this.buffer()}function s(o){const l=this.resume(),c=this.stack[this.stack.length-1];c.type,this.exit(o),c.value=l,c.data.hChildren.push({type:"text",value:l})}function u(o){this.config.enter.data.call(this,o),this.config.exit.data.call(this,o)}}function u9(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
23
+ `,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,u,o){const l=i.value||"",c=u.createTracker(o),f="$".repeat(Math.max(hm(l,"$")+1,2)),p=u.enter("mathFlow");let d=c.move(f);if(i.meta){const b=u.enter("mathFlowMeta");d+=c.move(u.safe(i.meta,J({after:`
24
+ `,before:d,encode:["$"]},c.current()))),b()}return d+=c.move(`
25
+ `),l&&(d+=c.move(l+`
26
+ `)),d+=c.move(f),p(),d}function n(i,s,u){let o=i.value||"",l=1;for(t||l++;new RegExp("(^|[^$])"+"\\$".repeat(l)+"([^$]|$)").test(o);)l++;const c="$".repeat(l);/[^ \r\n]/.test(o)&&(/^[ \r\n]/.test(o)&&/[ \r\n]$/.test(o)||/^\$|\$$/.test(o))&&(o=" "+o+" ");let f=-1;for(;++f<u.unsafe.length;){const p=u.unsafe[f];if(!p.atBreak)continue;const d=u.compilePattern(p);let b;for(;b=d.exec(o);){let y=b.index;o.codePointAt(y)===10&&o.codePointAt(y-1)===13&&y--,o=o.slice(0,y)+" "+o.slice(b.index+1)}}return c+o+c}function a(){return"$"}}const o9={tokenize:l9,concrete:!0,name:"mathFlow"},S1={tokenize:c9,partial:!0};function l9(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 u;function u(S){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),o(S)}function o(S){return S===36?(e.consume(S),s++,o):s<2?r(S):(e.exit("mathFlowFenceSequence"),_e(e,l,"whitespace")(S))}function l(S){return S===null||ce(S)?f(S):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(S))}function c(S){return S===null||ce(S)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(S)):S===36?r(S):(e.consume(S),c)}function f(S){return e.exit("mathFlowFence"),n.interrupt?t(S):e.attempt(S1,p,T)(S)}function p(S){return e.attempt({tokenize:v,partial:!0},T,d)(S)}function d(S){return(i?_e(e,b,"linePrefix",i+1):b)(S)}function b(S){return S===null?T(S):ce(S)?e.attempt(S1,p,T)(S):(e.enter("mathFlowValue"),y(S))}function y(S){return S===null||ce(S)?(e.exit("mathFlowValue"),b(S)):(e.consume(S),y)}function T(S){return e.exit("mathFlow"),t(S)}function v(S,w,M){let B=0;return _e(S,O,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function O(U){return S.enter("mathFlowFence"),S.enter("mathFlowFenceSequence"),D(U)}function D(U){return U===36?(B++,S.consume(U),D):B<s?M(U):(S.exit("mathFlowFenceSequence"),_e(S,z,"whitespace")(U))}function z(U){return U===null||ce(U)?(S.exit("mathFlowFence"),w(U)):M(U)}}}function c9(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 f9(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:h9,previous:d9,name:"mathText"};function n(a,i,s){let u=0,o,l;return c;function c(y){return a.enter("mathText"),a.enter("mathTextSequence"),f(y)}function f(y){return y===36?(a.consume(y),u++,f):u<2&&!r?s(y):(a.exit("mathTextSequence"),p(y))}function p(y){return y===null?s(y):y===36?(l=a.enter("mathTextSequence"),o=0,b(y)):y===32?(a.enter("space"),a.consume(y),a.exit("space"),p):ce(y)?(a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),p):(a.enter("mathTextData"),d(y))}function d(y){return y===null||y===32||y===36||ce(y)?(a.exit("mathTextData"),p(y)):(a.consume(y),d)}function b(y){return y===36?(a.consume(y),o++,b):o===u?(a.exit("mathTextSequence"),a.exit("mathText"),i(y)):(l.type="mathTextData",d(y))}}}function h9(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 d9(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function m9(e){return{flow:{36:o9},text:{36:f9(e)}}}class ee extends Error{constructor(t,r){var n="KaTeX parse error: "+t,a,i,s=r&&r.loc;if(s&&s.start<=s.end){var u=s.lexer.input;a=s.start,i=s.end,a===u.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var o=u.slice(a,i).replace(/[^]/g,"$&̲"),l;a>15?l="…"+u.slice(a-15,a):l=u.slice(0,a);var c;i+15<u.length?c=u.slice(i,i+15)+"…":c=u.slice(i),n+=l+o+c}super(n),this.name="ParseError",Object.setPrototypeOf(this,ee.prototype),this.position=a,a!=null&&i!=null&&(this.length=i-a),this.rawMessage=t}}var p9=/([A-Z])/g,ol=e=>e.replace(p9,"-$1").toLowerCase(),g9={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},b9=/[&><"']/g,gt=e=>String(e).replace(b9,t=>g9[t]),ns=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?ns(e.body[0]):e:e.type==="font"?ns(e.body):e,y9=new Set(["mathord","textord","atom"]),Ir=e=>y9.has(ns(e).type),E9=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},Vu={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 x9(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 ll{constructor(t){t===void 0&&(t={}),t=t||{};for(var r of Object.keys(Vu)){var n=Vu[r],a=t[r];this[r]=a!==void 0?n.processor?n.processor(a):a:x9(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 ee("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=E9(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class Lr{constructor(t,r,n){this.id=t,this.size=r,this.cramped=n}sup(){return nr[T9[this.id]]}sub(){return nr[v9[this.id]]}fracNum(){return nr[A9[this.id]]}fracDen(){return nr[w9[this.id]]}cramp(){return nr[S9[this.id]]}text(){return nr[k9[this.id]]}isTight(){return this.size>=2}}var cl=0,bs=1,Bn=2,wr=3,Wa=4,$t=5,Wn=6,wt=7,nr=[new Lr(cl,0,!1),new Lr(bs,0,!0),new Lr(Bn,1,!1),new Lr(wr,1,!0),new Lr(Wa,2,!1),new Lr($t,2,!0),new Lr(Wn,3,!1),new Lr(wt,3,!0)],T9=[Wa,$t,Wa,$t,Wn,wt,Wn,wt],v9=[$t,$t,$t,$t,wt,wt,wt,wt],A9=[Bn,wr,Wa,$t,Wn,wt,Wn,wt],w9=[wr,wr,$t,$t,wt,wt,wt,wt],S9=[bs,bs,wr,wr,$t,$t,wt,wt],k9=[cl,bs,Bn,wr,Bn,wr,Bn,wr],xe={DISPLAY:nr[cl],TEXT:nr[Bn],SCRIPT:nr[Wa],SCRIPTSCRIPT:nr[Wn]},Wu=[{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 C9(e){for(var t=0;t<Wu.length;t++)for(var r=Wu[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 as=[];Wu.forEach(e=>e.blocks.forEach(t=>as.push(...t)));function dm(e){for(var t=0;t<as.length;t+=2)if(e>=as[t]&&e<=as[t+1])return!0;return!1}var Dn=80,I9=function(t,r){return"M95,"+(622+t+r)+`
27
+ c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
28
+ c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
29
+ 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
30
+ s173,378,173,378c0.7,0,35.3,-71,104,-213c68.7,-142,137.5,-285,206.5,-429
31
+ c69,-144,104.5,-217.7,106.5,-221
32
+ l`+t/2.075+" -"+t+`
33
+ c5.3,-9.3,12,-14,20,-14
34
+ H400000v`+(40+t)+`H845.2724
35
+ s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
36
+ c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
37
+ M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},_9=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
38
+ c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
39
+ c340,-704.7,510.7,-1060.3,512,-1067
40
+ l`+t/2.084+" -"+t+`
41
+ c4.7,-7.3,11,-11,19,-11
42
+ H40000v`+(40+t)+`H1012.3
43
+ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,232
44
+ c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
45
+ s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
46
+ c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
47
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},N9=function(t,r){return"M983 "+(10+t+r)+`
48
+ l`+t/3.13+" -"+t+`
49
+ c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
50
+ H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
51
+ s-12,0,-12,0c-1.3,-3.3,-3.7,-11.7,-7,-25c-35.3,-125.3,-106.7,-373.3,-214,-744
52
+ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
53
+ c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
54
+ c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
55
+ c53.7,-170.3,84.5,-266.8,92.5,-289.5z
56
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},O9=function(t,r){return"M424,"+(2398+t+r)+`
57
+ c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
58
+ c0,-2,-10.7,14.3,-32,49c-4.7,7.3,-9.8,15.7,-15.5,25c-5.7,9.3,-9.8,16,-12.5,20
59
+ s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
60
+ s209,968,209,968c0,-2,84.7,-361.7,254,-1079c169.3,-717.3,254.7,-1077.7,256,-1081
61
+ l`+t/4.223+" -"+t+`c4,-6.7,10,-10,18,-10 H400000
62
+ v`+(40+t)+`H1014.6
63
+ s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
64
+ c-2,6,-10,9,-24,9
65
+ c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
66
+ h400000v`+(40+t)+"h-400000z"},R9=function(t,r){return"M473,"+(2713+t+r)+`
67
+ c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
68
+ c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
69
+ s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
70
+ c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
71
+ c0,-1.3,-5.3,8.7,-16,30c-10.7,21.3,-21.3,42.7,-32,64s-16,33,-16,33s-26,-26,-26,-26
72
+ s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
73
+ 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},D9=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},L9=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
74
+ H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1
75
+ h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
76
+ c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
77
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},M9=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=I9(r,Dn);break;case"sqrtSize1":a=_9(r,Dn);break;case"sqrtSize2":a=N9(r,Dn);break;case"sqrtSize3":a=O9(r,Dn);break;case"sqrtSize4":a=R9(r,Dn);break;case"sqrtTall":a=L9(r,Dn,n)}return a},P9=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},k1={doubleleftarrow:`M262 157
78
+ l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
79
+ 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
80
+ 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
81
+ c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
82
+ 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
83
+ -86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
84
+ -2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
85
+ m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
86
+ -10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
87
+ 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
88
+ -33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
89
+ -17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
90
+ -13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
91
+ c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
92
+ -107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
93
+ 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
94
+ -5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
95
+ c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
96
+ 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
97
+ 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
98
+ l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
99
+ -45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
100
+ 5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
101
+ 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
102
+ 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
103
+ -331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
104
+ H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
105
+ 435 0h399565z`,leftgroupunder:`M400000 262
106
+ H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
107
+ 435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
108
+ -3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
109
+ -18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
110
+ -196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
111
+ 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
112
+ -4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
113
+ -10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
114
+ m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
115
+ 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
116
+ 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
117
+ -152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
118
+ 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
119
+ -2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
120
+ v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
121
+ -83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
122
+ -68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
123
+ 71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
124
+ M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftbracketunder:`M0 0 h120 V290 H399995 v120 H0z
125
+ M0 0 h120 V290 H399995 v120 H0z`,leftbracketover:`M0 440 h120 V150 H399995 v-120 H0z
126
+ M0 440 h120 V150 H399995 v-120 H0z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
127
+ M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
128
+ -.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
129
+ c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
130
+ 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
131
+ M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
132
+ c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
133
+ -53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
134
+ 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
135
+ 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
136
+ c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
137
+ 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
138
+ 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
139
+ -5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
140
+ -320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
141
+ m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
142
+ 60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
143
+ -451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
144
+ m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
145
+ c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
146
+ -480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
147
+ m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
148
+ 85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
149
+ -707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
150
+ m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
151
+ c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
152
+ -16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
153
+ 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
154
+ 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
155
+ -40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
156
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
157
+ 151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
158
+ -6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
159
+ s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
160
+ c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
161
+ 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
162
+ -174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
163
+ 3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
164
+ 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
165
+ -3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
166
+ -10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
167
+ 69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
168
+ -18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
169
+ 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
170
+ m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
171
+ 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
172
+ -7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
173
+ -27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
174
+ 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
175
+ 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
176
+ -64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
177
+ m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
178
+ 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
179
+ -13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
180
+ 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
181
+ M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightbracketunder:`M399995 0 h-120 V290 H0 v120 H400000z
182
+ M399995 0 h-120 V290 H0 v120 H400000z`,rightbracketover:`M399995 440 h-120 V150 H0 v-120 H399995z
183
+ M399995 440 h-120 V150 H0 v-120 H399995z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
184
+ 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
185
+ -52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
186
+ -167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
187
+ 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
188
+ -70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
189
+ -40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
190
+ -37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
191
+ 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
192
+ c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
193
+ 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
194
+ 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
195
+ -19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
196
+ 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
197
+ -2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
198
+ 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
199
+ 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
200
+ -68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
201
+ -8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
202
+ 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
203
+ c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
204
+ 181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
205
+ -11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
206
+ 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
207
+ 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
208
+ -338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
209
+ -11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
210
+ 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
211
+ 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
212
+ -175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
213
+ 3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
214
+ 10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
215
+ -1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
216
+ -7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
217
+ H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
218
+ c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
219
+ c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
220
+ -11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
221
+ -11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
222
+ -11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
223
+ -5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
224
+ -11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
225
+ -11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
226
+ -11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
227
+ c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
228
+ c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
229
+ s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
230
+ 121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
231
+ s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
232
+ c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
233
+ M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
234
+ -27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
235
+ 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
236
+ -84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
237
+ -119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
238
+ -12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
239
+ 151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
240
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
241
+ c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
242
+ c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
243
+ c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
244
+ M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
245
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
246
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
247
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
248
+ M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
249
+ c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
250
+ 1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
251
+ -152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
252
+ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
253
+ c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
254
+ -231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
255
+ c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
256
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},F9=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
257
+ H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
258
+ M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
259
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
260
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
261
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
262
+ c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
263
+ M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
264
+ c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
265
+ c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
266
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
267
+ MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
268
+ M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
269
+ M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
270
+ c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
271
+ -36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
272
+ 949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
273
+ c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
274
+ -544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
275
+ l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
276
+ -210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
277
+ 63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
278
+ c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
279
+ c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
280
+ 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,11
281
+ 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
282
+ c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
283
+ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
284
+ -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 aa{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 Gu={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},B9={ex:!0,em:!0,mu:!0},mm=function(t){return typeof t!="string"&&(t=t.unit),t in Gu||t in B9||t==="ex"},Qe=function(t,r){var n;if(t.unit in Gu)n=Gu[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 ee("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},ae=function(t){return+t.toFixed(4)+"em"},$r=function(t){return t.filter(r=>r).join(" ")},pm=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)}},gm=function(t){var r=document.createElement(t);r.className=$r(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},z9=/[\s"'>/=\x00-\x1f]/,bm=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+gt($r(this.classes))+'"');var n="";for(var a of Object.keys(this.style))n+=ol(a)+":"+this.style[a]+";";n&&(r+=' style="'+gt(n)+'"');for(var i of Object.keys(this.attributes)){if(z9.test(i))throw new ee("Invalid attribute name '"+i+"'");r+=" "+i+'="'+gt(this.attributes[i])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class ia{constructor(t,r,n,a){pm.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return gm.call(this,"span")}toMarkup(){return bm.call(this,"span")}}class Xs{constructor(t,r,n,a){pm.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 gm.call(this,"a")}toMarkup(){return bm.call(this,"a")}}class H9{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="'+gt(this.src)+'"'+(' alt="'+gt(this.alt)+'"'),r="";for(var n of Object.keys(this.style))r+=ol(n)+":"+this.style[n]+";";return r&&(t+=' style="'+gt(r)+'"'),t+="'/>",t}}var U9={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Ft{constructor(t,r,n,a,i,s,u,o){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=u||[],this.style=o||{},this.maxFontSize=0;var l=C9(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=U9[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=ae(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=$r(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+=gt($r(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+ae(this.italic)+";");for(var a of Object.keys(this.style))n+=ol(a)+":"+this.style[a]+";";n&&(t=!0,r+=' style="'+gt(n)+'"');var i=gt(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class Sr{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+'="'+gt(this.attributes[r])+'"';t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class Yr{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",k1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+gt(this.alternate)+'"/>':'<path d="'+gt(k1[this.pathName])+'"/>'}}class Xu{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+'="'+gt(this.attributes[r])+'"';return t+="/>",t}}function j9(e){if(e instanceof Ft)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function q9(e){if(e instanceof ia)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var $9=e=>e instanceof ia||e instanceof Xs||e instanceof aa,ur={"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]}},Oi={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]},C1={Å:"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 Y9(e,t){ur[e]=t}function fl(e,t,r){if(!ur[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=ur[t][n];if(!a&&e[0]in C1&&(n=C1[e[0]].charCodeAt(0),a=ur[t][n]),!a&&r==="text"&&dm(n)&&(a=ur[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var V0={};function V9(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!V0[t]){var r=V0[t]={cssEmPerMu:Oi.quad[t]/18};for(var n in Oi)Oi.hasOwnProperty(n)&&(r[n]=Oi[n][t])}return V0[t]}var W9={bin:1,close:1,inner:1,open:1,punct:1,rel:1},G9={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},We={math:{},text:{}};function m(e,t,r,n,a,i){We[e][a]={font:t,group:r,replace:n},i&&n&&(We[e][n]=We[e][a])}var g="math",V="text",E="main",I="ams",Ge="accent-token",le="bin",St="close",sa="inner",ge="mathord",st="op-token",Bt="open",ci="punct",N="rel",_r="spacing",F="textord";m(g,E,N,"≡","\\equiv",!0);m(g,E,N,"≺","\\prec",!0);m(g,E,N,"≻","\\succ",!0);m(g,E,N,"∼","\\sim",!0);m(g,E,N,"⊥","\\perp");m(g,E,N,"⪯","\\preceq",!0);m(g,E,N,"⪰","\\succeq",!0);m(g,E,N,"≃","\\simeq",!0);m(g,E,N,"∣","\\mid",!0);m(g,E,N,"≪","\\ll",!0);m(g,E,N,"≫","\\gg",!0);m(g,E,N,"≍","\\asymp",!0);m(g,E,N,"∥","\\parallel");m(g,E,N,"⋈","\\bowtie",!0);m(g,E,N,"⌣","\\smile",!0);m(g,E,N,"⊑","\\sqsubseteq",!0);m(g,E,N,"⊒","\\sqsupseteq",!0);m(g,E,N,"≐","\\doteq",!0);m(g,E,N,"⌢","\\frown",!0);m(g,E,N,"∋","\\ni",!0);m(g,E,N,"∝","\\propto",!0);m(g,E,N,"⊢","\\vdash",!0);m(g,E,N,"⊣","\\dashv",!0);m(g,E,N,"∋","\\owns");m(g,E,ci,".","\\ldotp");m(g,E,ci,"⋅","\\cdotp");m(g,E,ci,"⋅","·");m(V,E,F,"⋅","·");m(g,E,F,"#","\\#");m(V,E,F,"#","\\#");m(g,E,F,"&","\\&");m(V,E,F,"&","\\&");m(g,E,F,"ℵ","\\aleph",!0);m(g,E,F,"∀","\\forall",!0);m(g,E,F,"ℏ","\\hbar",!0);m(g,E,F,"∃","\\exists",!0);m(g,E,F,"∇","\\nabla",!0);m(g,E,F,"♭","\\flat",!0);m(g,E,F,"ℓ","\\ell",!0);m(g,E,F,"♮","\\natural",!0);m(g,E,F,"♣","\\clubsuit",!0);m(g,E,F,"℘","\\wp",!0);m(g,E,F,"♯","\\sharp",!0);m(g,E,F,"♢","\\diamondsuit",!0);m(g,E,F,"ℜ","\\Re",!0);m(g,E,F,"♡","\\heartsuit",!0);m(g,E,F,"ℑ","\\Im",!0);m(g,E,F,"♠","\\spadesuit",!0);m(g,E,F,"§","\\S",!0);m(V,E,F,"§","\\S");m(g,E,F,"¶","\\P",!0);m(V,E,F,"¶","\\P");m(g,E,F,"†","\\dag");m(V,E,F,"†","\\dag");m(V,E,F,"†","\\textdagger");m(g,E,F,"‡","\\ddag");m(V,E,F,"‡","\\ddag");m(V,E,F,"‡","\\textdaggerdbl");m(g,E,St,"⎱","\\rmoustache",!0);m(g,E,Bt,"⎰","\\lmoustache",!0);m(g,E,St,"⟯","\\rgroup",!0);m(g,E,Bt,"⟮","\\lgroup",!0);m(g,E,le,"∓","\\mp",!0);m(g,E,le,"⊖","\\ominus",!0);m(g,E,le,"⊎","\\uplus",!0);m(g,E,le,"⊓","\\sqcap",!0);m(g,E,le,"∗","\\ast");m(g,E,le,"⊔","\\sqcup",!0);m(g,E,le,"◯","\\bigcirc",!0);m(g,E,le,"∙","\\bullet",!0);m(g,E,le,"‡","\\ddagger");m(g,E,le,"≀","\\wr",!0);m(g,E,le,"⨿","\\amalg");m(g,E,le,"&","\\And");m(g,E,N,"⟵","\\longleftarrow",!0);m(g,E,N,"⇐","\\Leftarrow",!0);m(g,E,N,"⟸","\\Longleftarrow",!0);m(g,E,N,"⟶","\\longrightarrow",!0);m(g,E,N,"⇒","\\Rightarrow",!0);m(g,E,N,"⟹","\\Longrightarrow",!0);m(g,E,N,"↔","\\leftrightarrow",!0);m(g,E,N,"⟷","\\longleftrightarrow",!0);m(g,E,N,"⇔","\\Leftrightarrow",!0);m(g,E,N,"⟺","\\Longleftrightarrow",!0);m(g,E,N,"↦","\\mapsto",!0);m(g,E,N,"⟼","\\longmapsto",!0);m(g,E,N,"↗","\\nearrow",!0);m(g,E,N,"↩","\\hookleftarrow",!0);m(g,E,N,"↪","\\hookrightarrow",!0);m(g,E,N,"↘","\\searrow",!0);m(g,E,N,"↼","\\leftharpoonup",!0);m(g,E,N,"⇀","\\rightharpoonup",!0);m(g,E,N,"↙","\\swarrow",!0);m(g,E,N,"↽","\\leftharpoondown",!0);m(g,E,N,"⇁","\\rightharpoondown",!0);m(g,E,N,"↖","\\nwarrow",!0);m(g,E,N,"⇌","\\rightleftharpoons",!0);m(g,I,N,"≮","\\nless",!0);m(g,I,N,"","\\@nleqslant");m(g,I,N,"","\\@nleqq");m(g,I,N,"⪇","\\lneq",!0);m(g,I,N,"≨","\\lneqq",!0);m(g,I,N,"","\\@lvertneqq");m(g,I,N,"⋦","\\lnsim",!0);m(g,I,N,"⪉","\\lnapprox",!0);m(g,I,N,"⊀","\\nprec",!0);m(g,I,N,"⋠","\\npreceq",!0);m(g,I,N,"⋨","\\precnsim",!0);m(g,I,N,"⪹","\\precnapprox",!0);m(g,I,N,"≁","\\nsim",!0);m(g,I,N,"","\\@nshortmid");m(g,I,N,"∤","\\nmid",!0);m(g,I,N,"⊬","\\nvdash",!0);m(g,I,N,"⊭","\\nvDash",!0);m(g,I,N,"⋪","\\ntriangleleft");m(g,I,N,"⋬","\\ntrianglelefteq",!0);m(g,I,N,"⊊","\\subsetneq",!0);m(g,I,N,"","\\@varsubsetneq");m(g,I,N,"⫋","\\subsetneqq",!0);m(g,I,N,"","\\@varsubsetneqq");m(g,I,N,"≯","\\ngtr",!0);m(g,I,N,"","\\@ngeqslant");m(g,I,N,"","\\@ngeqq");m(g,I,N,"⪈","\\gneq",!0);m(g,I,N,"≩","\\gneqq",!0);m(g,I,N,"","\\@gvertneqq");m(g,I,N,"⋧","\\gnsim",!0);m(g,I,N,"⪊","\\gnapprox",!0);m(g,I,N,"⊁","\\nsucc",!0);m(g,I,N,"⋡","\\nsucceq",!0);m(g,I,N,"⋩","\\succnsim",!0);m(g,I,N,"⪺","\\succnapprox",!0);m(g,I,N,"≆","\\ncong",!0);m(g,I,N,"","\\@nshortparallel");m(g,I,N,"∦","\\nparallel",!0);m(g,I,N,"⊯","\\nVDash",!0);m(g,I,N,"⋫","\\ntriangleright");m(g,I,N,"⋭","\\ntrianglerighteq",!0);m(g,I,N,"","\\@nsupseteqq");m(g,I,N,"⊋","\\supsetneq",!0);m(g,I,N,"","\\@varsupsetneq");m(g,I,N,"⫌","\\supsetneqq",!0);m(g,I,N,"","\\@varsupsetneqq");m(g,I,N,"⊮","\\nVdash",!0);m(g,I,N,"⪵","\\precneqq",!0);m(g,I,N,"⪶","\\succneqq",!0);m(g,I,N,"","\\@nsubseteqq");m(g,I,le,"⊴","\\unlhd");m(g,I,le,"⊵","\\unrhd");m(g,I,N,"↚","\\nleftarrow",!0);m(g,I,N,"↛","\\nrightarrow",!0);m(g,I,N,"⇍","\\nLeftarrow",!0);m(g,I,N,"⇏","\\nRightarrow",!0);m(g,I,N,"↮","\\nleftrightarrow",!0);m(g,I,N,"⇎","\\nLeftrightarrow",!0);m(g,I,N,"△","\\vartriangle");m(g,I,F,"ℏ","\\hslash");m(g,I,F,"▽","\\triangledown");m(g,I,F,"◊","\\lozenge");m(g,I,F,"Ⓢ","\\circledS");m(g,I,F,"®","\\circledR");m(V,I,F,"®","\\circledR");m(g,I,F,"∡","\\measuredangle",!0);m(g,I,F,"∄","\\nexists");m(g,I,F,"℧","\\mho");m(g,I,F,"Ⅎ","\\Finv",!0);m(g,I,F,"⅁","\\Game",!0);m(g,I,F,"‵","\\backprime");m(g,I,F,"▲","\\blacktriangle");m(g,I,F,"▼","\\blacktriangledown");m(g,I,F,"■","\\blacksquare");m(g,I,F,"⧫","\\blacklozenge");m(g,I,F,"★","\\bigstar");m(g,I,F,"∢","\\sphericalangle",!0);m(g,I,F,"∁","\\complement",!0);m(g,I,F,"ð","\\eth",!0);m(V,E,F,"ð","ð");m(g,I,F,"╱","\\diagup");m(g,I,F,"╲","\\diagdown");m(g,I,F,"□","\\square");m(g,I,F,"□","\\Box");m(g,I,F,"◊","\\Diamond");m(g,I,F,"¥","\\yen",!0);m(V,I,F,"¥","\\yen",!0);m(g,I,F,"✓","\\checkmark",!0);m(V,I,F,"✓","\\checkmark");m(g,I,F,"ℶ","\\beth",!0);m(g,I,F,"ℸ","\\daleth",!0);m(g,I,F,"ℷ","\\gimel",!0);m(g,I,F,"ϝ","\\digamma",!0);m(g,I,F,"ϰ","\\varkappa");m(g,I,Bt,"┌","\\@ulcorner",!0);m(g,I,St,"┐","\\@urcorner",!0);m(g,I,Bt,"└","\\@llcorner",!0);m(g,I,St,"┘","\\@lrcorner",!0);m(g,I,N,"≦","\\leqq",!0);m(g,I,N,"⩽","\\leqslant",!0);m(g,I,N,"⪕","\\eqslantless",!0);m(g,I,N,"≲","\\lesssim",!0);m(g,I,N,"⪅","\\lessapprox",!0);m(g,I,N,"≊","\\approxeq",!0);m(g,I,le,"⋖","\\lessdot");m(g,I,N,"⋘","\\lll",!0);m(g,I,N,"≶","\\lessgtr",!0);m(g,I,N,"⋚","\\lesseqgtr",!0);m(g,I,N,"⪋","\\lesseqqgtr",!0);m(g,I,N,"≑","\\doteqdot");m(g,I,N,"≓","\\risingdotseq",!0);m(g,I,N,"≒","\\fallingdotseq",!0);m(g,I,N,"∽","\\backsim",!0);m(g,I,N,"⋍","\\backsimeq",!0);m(g,I,N,"⫅","\\subseteqq",!0);m(g,I,N,"⋐","\\Subset",!0);m(g,I,N,"⊏","\\sqsubset",!0);m(g,I,N,"≼","\\preccurlyeq",!0);m(g,I,N,"⋞","\\curlyeqprec",!0);m(g,I,N,"≾","\\precsim",!0);m(g,I,N,"⪷","\\precapprox",!0);m(g,I,N,"⊲","\\vartriangleleft");m(g,I,N,"⊴","\\trianglelefteq");m(g,I,N,"⊨","\\vDash",!0);m(g,I,N,"⊪","\\Vvdash",!0);m(g,I,N,"⌣","\\smallsmile");m(g,I,N,"⌢","\\smallfrown");m(g,I,N,"≏","\\bumpeq",!0);m(g,I,N,"≎","\\Bumpeq",!0);m(g,I,N,"≧","\\geqq",!0);m(g,I,N,"⩾","\\geqslant",!0);m(g,I,N,"⪖","\\eqslantgtr",!0);m(g,I,N,"≳","\\gtrsim",!0);m(g,I,N,"⪆","\\gtrapprox",!0);m(g,I,le,"⋗","\\gtrdot");m(g,I,N,"⋙","\\ggg",!0);m(g,I,N,"≷","\\gtrless",!0);m(g,I,N,"⋛","\\gtreqless",!0);m(g,I,N,"⪌","\\gtreqqless",!0);m(g,I,N,"≖","\\eqcirc",!0);m(g,I,N,"≗","\\circeq",!0);m(g,I,N,"≜","\\triangleq",!0);m(g,I,N,"∼","\\thicksim");m(g,I,N,"≈","\\thickapprox");m(g,I,N,"⫆","\\supseteqq",!0);m(g,I,N,"⋑","\\Supset",!0);m(g,I,N,"⊐","\\sqsupset",!0);m(g,I,N,"≽","\\succcurlyeq",!0);m(g,I,N,"⋟","\\curlyeqsucc",!0);m(g,I,N,"≿","\\succsim",!0);m(g,I,N,"⪸","\\succapprox",!0);m(g,I,N,"⊳","\\vartriangleright");m(g,I,N,"⊵","\\trianglerighteq");m(g,I,N,"⊩","\\Vdash",!0);m(g,I,N,"∣","\\shortmid");m(g,I,N,"∥","\\shortparallel");m(g,I,N,"≬","\\between",!0);m(g,I,N,"⋔","\\pitchfork",!0);m(g,I,N,"∝","\\varpropto");m(g,I,N,"◀","\\blacktriangleleft");m(g,I,N,"∴","\\therefore",!0);m(g,I,N,"∍","\\backepsilon");m(g,I,N,"▶","\\blacktriangleright");m(g,I,N,"∵","\\because",!0);m(g,I,N,"⋘","\\llless");m(g,I,N,"⋙","\\gggtr");m(g,I,le,"⊲","\\lhd");m(g,I,le,"⊳","\\rhd");m(g,I,N,"≂","\\eqsim",!0);m(g,E,N,"⋈","\\Join");m(g,I,N,"≑","\\Doteq",!0);m(g,I,le,"∔","\\dotplus",!0);m(g,I,le,"∖","\\smallsetminus");m(g,I,le,"⋒","\\Cap",!0);m(g,I,le,"⋓","\\Cup",!0);m(g,I,le,"⩞","\\doublebarwedge",!0);m(g,I,le,"⊟","\\boxminus",!0);m(g,I,le,"⊞","\\boxplus",!0);m(g,I,le,"⋇","\\divideontimes",!0);m(g,I,le,"⋉","\\ltimes",!0);m(g,I,le,"⋊","\\rtimes",!0);m(g,I,le,"⋋","\\leftthreetimes",!0);m(g,I,le,"⋌","\\rightthreetimes",!0);m(g,I,le,"⋏","\\curlywedge",!0);m(g,I,le,"⋎","\\curlyvee",!0);m(g,I,le,"⊝","\\circleddash",!0);m(g,I,le,"⊛","\\circledast",!0);m(g,I,le,"⋅","\\centerdot");m(g,I,le,"⊺","\\intercal",!0);m(g,I,le,"⋒","\\doublecap");m(g,I,le,"⋓","\\doublecup");m(g,I,le,"⊠","\\boxtimes",!0);m(g,I,N,"⇢","\\dashrightarrow",!0);m(g,I,N,"⇠","\\dashleftarrow",!0);m(g,I,N,"⇇","\\leftleftarrows",!0);m(g,I,N,"⇆","\\leftrightarrows",!0);m(g,I,N,"⇚","\\Lleftarrow",!0);m(g,I,N,"↞","\\twoheadleftarrow",!0);m(g,I,N,"↢","\\leftarrowtail",!0);m(g,I,N,"↫","\\looparrowleft",!0);m(g,I,N,"⇋","\\leftrightharpoons",!0);m(g,I,N,"↶","\\curvearrowleft",!0);m(g,I,N,"↺","\\circlearrowleft",!0);m(g,I,N,"↰","\\Lsh",!0);m(g,I,N,"⇈","\\upuparrows",!0);m(g,I,N,"↿","\\upharpoonleft",!0);m(g,I,N,"⇃","\\downharpoonleft",!0);m(g,E,N,"⊶","\\origof",!0);m(g,E,N,"⊷","\\imageof",!0);m(g,I,N,"⊸","\\multimap",!0);m(g,I,N,"↭","\\leftrightsquigarrow",!0);m(g,I,N,"⇉","\\rightrightarrows",!0);m(g,I,N,"⇄","\\rightleftarrows",!0);m(g,I,N,"↠","\\twoheadrightarrow",!0);m(g,I,N,"↣","\\rightarrowtail",!0);m(g,I,N,"↬","\\looparrowright",!0);m(g,I,N,"↷","\\curvearrowright",!0);m(g,I,N,"↻","\\circlearrowright",!0);m(g,I,N,"↱","\\Rsh",!0);m(g,I,N,"⇊","\\downdownarrows",!0);m(g,I,N,"↾","\\upharpoonright",!0);m(g,I,N,"⇂","\\downharpoonright",!0);m(g,I,N,"⇝","\\rightsquigarrow",!0);m(g,I,N,"⇝","\\leadsto");m(g,I,N,"⇛","\\Rrightarrow",!0);m(g,I,N,"↾","\\restriction");m(g,E,F,"‘","`");m(g,E,F,"$","\\$");m(V,E,F,"$","\\$");m(V,E,F,"$","\\textdollar");m(g,E,F,"%","\\%");m(V,E,F,"%","\\%");m(g,E,F,"_","\\_");m(V,E,F,"_","\\_");m(V,E,F,"_","\\textunderscore");m(g,E,F,"∠","\\angle",!0);m(g,E,F,"∞","\\infty",!0);m(g,E,F,"′","\\prime");m(g,E,F,"△","\\triangle");m(g,E,F,"Γ","\\Gamma",!0);m(g,E,F,"Δ","\\Delta",!0);m(g,E,F,"Θ","\\Theta",!0);m(g,E,F,"Λ","\\Lambda",!0);m(g,E,F,"Ξ","\\Xi",!0);m(g,E,F,"Π","\\Pi",!0);m(g,E,F,"Σ","\\Sigma",!0);m(g,E,F,"Υ","\\Upsilon",!0);m(g,E,F,"Φ","\\Phi",!0);m(g,E,F,"Ψ","\\Psi",!0);m(g,E,F,"Ω","\\Omega",!0);m(g,E,F,"A","Α");m(g,E,F,"B","Β");m(g,E,F,"E","Ε");m(g,E,F,"Z","Ζ");m(g,E,F,"H","Η");m(g,E,F,"I","Ι");m(g,E,F,"K","Κ");m(g,E,F,"M","Μ");m(g,E,F,"N","Ν");m(g,E,F,"O","Ο");m(g,E,F,"P","Ρ");m(g,E,F,"T","Τ");m(g,E,F,"X","Χ");m(g,E,F,"¬","\\neg",!0);m(g,E,F,"¬","\\lnot");m(g,E,F,"⊤","\\top");m(g,E,F,"⊥","\\bot");m(g,E,F,"∅","\\emptyset");m(g,I,F,"∅","\\varnothing");m(g,E,ge,"α","\\alpha",!0);m(g,E,ge,"β","\\beta",!0);m(g,E,ge,"γ","\\gamma",!0);m(g,E,ge,"δ","\\delta",!0);m(g,E,ge,"ϵ","\\epsilon",!0);m(g,E,ge,"ζ","\\zeta",!0);m(g,E,ge,"η","\\eta",!0);m(g,E,ge,"θ","\\theta",!0);m(g,E,ge,"ι","\\iota",!0);m(g,E,ge,"κ","\\kappa",!0);m(g,E,ge,"λ","\\lambda",!0);m(g,E,ge,"μ","\\mu",!0);m(g,E,ge,"ν","\\nu",!0);m(g,E,ge,"ξ","\\xi",!0);m(g,E,ge,"ο","\\omicron",!0);m(g,E,ge,"π","\\pi",!0);m(g,E,ge,"ρ","\\rho",!0);m(g,E,ge,"σ","\\sigma",!0);m(g,E,ge,"τ","\\tau",!0);m(g,E,ge,"υ","\\upsilon",!0);m(g,E,ge,"ϕ","\\phi",!0);m(g,E,ge,"χ","\\chi",!0);m(g,E,ge,"ψ","\\psi",!0);m(g,E,ge,"ω","\\omega",!0);m(g,E,ge,"ε","\\varepsilon",!0);m(g,E,ge,"ϑ","\\vartheta",!0);m(g,E,ge,"ϖ","\\varpi",!0);m(g,E,ge,"ϱ","\\varrho",!0);m(g,E,ge,"ς","\\varsigma",!0);m(g,E,ge,"φ","\\varphi",!0);m(g,E,le,"∗","*",!0);m(g,E,le,"+","+");m(g,E,le,"−","-",!0);m(g,E,le,"⋅","\\cdot",!0);m(g,E,le,"∘","\\circ",!0);m(g,E,le,"÷","\\div",!0);m(g,E,le,"±","\\pm",!0);m(g,E,le,"×","\\times",!0);m(g,E,le,"∩","\\cap",!0);m(g,E,le,"∪","\\cup",!0);m(g,E,le,"∖","\\setminus",!0);m(g,E,le,"∧","\\land");m(g,E,le,"∨","\\lor");m(g,E,le,"∧","\\wedge",!0);m(g,E,le,"∨","\\vee",!0);m(g,E,F,"√","\\surd");m(g,E,Bt,"⟨","\\langle",!0);m(g,E,Bt,"∣","\\lvert");m(g,E,Bt,"∥","\\lVert");m(g,E,St,"?","?");m(g,E,St,"!","!");m(g,E,St,"⟩","\\rangle",!0);m(g,E,St,"∣","\\rvert");m(g,E,St,"∥","\\rVert");m(g,E,N,"=","=");m(g,E,N,":",":");m(g,E,N,"≈","\\approx",!0);m(g,E,N,"≅","\\cong",!0);m(g,E,N,"≥","\\ge");m(g,E,N,"≥","\\geq",!0);m(g,E,N,"←","\\gets");m(g,E,N,">","\\gt",!0);m(g,E,N,"∈","\\in",!0);m(g,E,N,"","\\@not");m(g,E,N,"⊂","\\subset",!0);m(g,E,N,"⊃","\\supset",!0);m(g,E,N,"⊆","\\subseteq",!0);m(g,E,N,"⊇","\\supseteq",!0);m(g,I,N,"⊈","\\nsubseteq",!0);m(g,I,N,"⊉","\\nsupseteq",!0);m(g,E,N,"⊨","\\models");m(g,E,N,"←","\\leftarrow",!0);m(g,E,N,"≤","\\le");m(g,E,N,"≤","\\leq",!0);m(g,E,N,"<","\\lt",!0);m(g,E,N,"→","\\rightarrow",!0);m(g,E,N,"→","\\to");m(g,I,N,"≱","\\ngeq",!0);m(g,I,N,"≰","\\nleq",!0);m(g,E,_r," ","\\ ");m(g,E,_r," ","\\space");m(g,E,_r," ","\\nobreakspace");m(V,E,_r," ","\\ ");m(V,E,_r," "," ");m(V,E,_r," ","\\space");m(V,E,_r," ","\\nobreakspace");m(g,E,_r,null,"\\nobreak");m(g,E,_r,null,"\\allowbreak");m(g,E,ci,",",",");m(g,E,ci,";",";");m(g,I,le,"⊼","\\barwedge",!0);m(g,I,le,"⊻","\\veebar",!0);m(g,E,le,"⊙","\\odot",!0);m(g,E,le,"⊕","\\oplus",!0);m(g,E,le,"⊗","\\otimes",!0);m(g,E,F,"∂","\\partial",!0);m(g,E,le,"⊘","\\oslash",!0);m(g,I,le,"⊚","\\circledcirc",!0);m(g,I,le,"⊡","\\boxdot",!0);m(g,E,le,"△","\\bigtriangleup");m(g,E,le,"▽","\\bigtriangledown");m(g,E,le,"†","\\dagger");m(g,E,le,"⋄","\\diamond");m(g,E,le,"⋆","\\star");m(g,E,le,"◃","\\triangleleft");m(g,E,le,"▹","\\triangleright");m(g,E,Bt,"{","\\{");m(V,E,F,"{","\\{");m(V,E,F,"{","\\textbraceleft");m(g,E,St,"}","\\}");m(V,E,F,"}","\\}");m(V,E,F,"}","\\textbraceright");m(g,E,Bt,"{","\\lbrace");m(g,E,St,"}","\\rbrace");m(g,E,Bt,"[","\\lbrack",!0);m(V,E,F,"[","\\lbrack",!0);m(g,E,St,"]","\\rbrack",!0);m(V,E,F,"]","\\rbrack",!0);m(g,E,Bt,"(","\\lparen",!0);m(g,E,St,")","\\rparen",!0);m(V,E,F,"<","\\textless",!0);m(V,E,F,">","\\textgreater",!0);m(g,E,Bt,"⌊","\\lfloor",!0);m(g,E,St,"⌋","\\rfloor",!0);m(g,E,Bt,"⌈","\\lceil",!0);m(g,E,St,"⌉","\\rceil",!0);m(g,E,F,"\\","\\backslash");m(g,E,F,"∣","|");m(g,E,F,"∣","\\vert");m(V,E,F,"|","\\textbar",!0);m(g,E,F,"∥","\\|");m(g,E,F,"∥","\\Vert");m(V,E,F,"∥","\\textbardbl");m(V,E,F,"~","\\textasciitilde");m(V,E,F,"\\","\\textbackslash");m(V,E,F,"^","\\textasciicircum");m(g,E,N,"↑","\\uparrow",!0);m(g,E,N,"⇑","\\Uparrow",!0);m(g,E,N,"↓","\\downarrow",!0);m(g,E,N,"⇓","\\Downarrow",!0);m(g,E,N,"↕","\\updownarrow",!0);m(g,E,N,"⇕","\\Updownarrow",!0);m(g,E,st,"∐","\\coprod");m(g,E,st,"⋁","\\bigvee");m(g,E,st,"⋀","\\bigwedge");m(g,E,st,"⨄","\\biguplus");m(g,E,st,"⋂","\\bigcap");m(g,E,st,"⋃","\\bigcup");m(g,E,st,"∫","\\int");m(g,E,st,"∫","\\intop");m(g,E,st,"∬","\\iint");m(g,E,st,"∭","\\iiint");m(g,E,st,"∏","\\prod");m(g,E,st,"∑","\\sum");m(g,E,st,"⨂","\\bigotimes");m(g,E,st,"⨁","\\bigoplus");m(g,E,st,"⨀","\\bigodot");m(g,E,st,"∮","\\oint");m(g,E,st,"∯","\\oiint");m(g,E,st,"∰","\\oiiint");m(g,E,st,"⨆","\\bigsqcup");m(g,E,st,"∫","\\smallint");m(V,E,sa,"…","\\textellipsis");m(g,E,sa,"…","\\mathellipsis");m(V,E,sa,"…","\\ldots",!0);m(g,E,sa,"…","\\ldots",!0);m(g,E,sa,"⋯","\\@cdots",!0);m(g,E,sa,"⋱","\\ddots",!0);m(g,E,F,"⋮","\\varvdots");m(V,E,F,"⋮","\\varvdots");m(g,E,Ge,"ˊ","\\acute");m(g,E,Ge,"ˋ","\\grave");m(g,E,Ge,"¨","\\ddot");m(g,E,Ge,"~","\\tilde");m(g,E,Ge,"ˉ","\\bar");m(g,E,Ge,"˘","\\breve");m(g,E,Ge,"ˇ","\\check");m(g,E,Ge,"^","\\hat");m(g,E,Ge,"⃗","\\vec");m(g,E,Ge,"˙","\\dot");m(g,E,Ge,"˚","\\mathring");m(g,E,ge,"","\\@imath");m(g,E,ge,"","\\@jmath");m(g,E,F,"ı","ı");m(g,E,F,"ȷ","ȷ");m(V,E,F,"ı","\\i",!0);m(V,E,F,"ȷ","\\j",!0);m(V,E,F,"ß","\\ss",!0);m(V,E,F,"æ","\\ae",!0);m(V,E,F,"œ","\\oe",!0);m(V,E,F,"ø","\\o",!0);m(V,E,F,"Æ","\\AE",!0);m(V,E,F,"Œ","\\OE",!0);m(V,E,F,"Ø","\\O",!0);m(V,E,Ge,"ˊ","\\'");m(V,E,Ge,"ˋ","\\`");m(V,E,Ge,"ˆ","\\^");m(V,E,Ge,"˜","\\~");m(V,E,Ge,"ˉ","\\=");m(V,E,Ge,"˘","\\u");m(V,E,Ge,"˙","\\.");m(V,E,Ge,"¸","\\c");m(V,E,Ge,"˚","\\r");m(V,E,Ge,"ˇ","\\v");m(V,E,Ge,"¨",'\\"');m(V,E,Ge,"˝","\\H");m(V,E,Ge,"◯","\\textcircled");var ym={"--":!0,"---":!0,"``":!0,"''":!0};m(V,E,F,"–","--",!0);m(V,E,F,"–","\\textendash");m(V,E,F,"—","---",!0);m(V,E,F,"—","\\textemdash");m(V,E,F,"‘","`",!0);m(V,E,F,"‘","\\textquoteleft");m(V,E,F,"’","'",!0);m(V,E,F,"’","\\textquoteright");m(V,E,F,"“","``",!0);m(V,E,F,"“","\\textquotedblleft");m(V,E,F,"”","''",!0);m(V,E,F,"”","\\textquotedblright");m(g,E,F,"°","\\degree",!0);m(V,E,F,"°","\\degree");m(V,E,F,"°","\\textdegree",!0);m(g,E,F,"£","\\pounds");m(g,E,F,"£","\\mathsterling",!0);m(V,E,F,"£","\\pounds");m(V,E,F,"£","\\textsterling",!0);m(g,I,F,"✠","\\maltese");m(V,I,F,"✠","\\maltese");var I1='0123456789/@."';for(var W0=0;W0<I1.length;W0++){var _1=I1.charAt(W0);m(g,E,F,_1,_1)}var N1='0123456789!@*()-=+";:?/.,';for(var G0=0;G0<N1.length;G0++){var O1=N1.charAt(G0);m(V,E,F,O1,O1)}var ys="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var X0=0;X0<ys.length;X0++){var Ri=ys.charAt(X0);m(g,E,ge,Ri,Ri),m(V,E,F,Ri,Ri)}m(g,I,F,"C","ℂ");m(V,I,F,"C","ℂ");m(g,I,F,"H","ℍ");m(V,I,F,"H","ℍ");m(g,I,F,"N","ℕ");m(V,I,F,"N","ℕ");m(g,I,F,"P","ℙ");m(V,I,F,"P","ℙ");m(g,I,F,"Q","ℚ");m(V,I,F,"Q","ℚ");m(g,I,F,"R","ℝ");m(V,I,F,"R","ℝ");m(g,I,F,"Z","ℤ");m(V,I,F,"Z","ℤ");m(g,E,ge,"h","ℎ");m(V,E,ge,"h","ℎ");var ye="";for(var Tt=0;Tt<ys.length;Tt++){var Je=ys.charAt(Tt);ye=String.fromCharCode(55349,56320+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56372+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56424+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56580+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56684+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56736+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56788+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56840+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56944+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),Tt<26&&(ye=String.fromCharCode(55349,56632+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye),ye=String.fromCharCode(55349,56476+Tt),m(g,E,ge,Je,ye),m(V,E,F,Je,ye))}ye="𝕜";m(g,E,ge,"k",ye);m(V,E,F,"k",ye);for(var nn=0;nn<10;nn++){var Mr=nn.toString();ye=String.fromCharCode(55349,57294+nn),m(g,E,ge,Mr,ye),m(V,E,F,Mr,ye),ye=String.fromCharCode(55349,57314+nn),m(g,E,ge,Mr,ye),m(V,E,F,Mr,ye),ye=String.fromCharCode(55349,57324+nn),m(g,E,ge,Mr,ye),m(V,E,F,Mr,ye),ye=String.fromCharCode(55349,57334+nn),m(g,E,ge,Mr,ye),m(V,E,F,Mr,ye)}var Ku="ÐÞþ";for(var K0=0;K0<Ku.length;K0++){var Di=Ku.charAt(K0);m(g,E,ge,Di,Di),m(V,E,F,Di,Di)}var Li=[["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"]],R1=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],X9=(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[Li[s][2],Li[s][i]]}else if(120782<=a&&a<=120831){var u=Math.floor((a-120782)/10);return[R1[u][2],R1[u][i]]}else{if(a===120485||a===120486)return[Li[0][2],Li[0][i]];if(120486<a&&a<120782)return["",""];throw new ee("Unsupported character: "+e)}},Ks=function(t,r,n){if(We[n][t]){var a=We[n][t].replace;a&&(t=a)}return{value:t,metrics:fl(t,r,n)}},vt=function(t,r,n,a,i){var s=Ks(t,r,n),u=s.metrics;t=s.value;var o;if(u){var l=u.italic;(n==="text"||a&&a.font==="mathit")&&(l=0),o=new Ft(t,u.height,u.depth,l,u.skew,u.width,i)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),o=new Ft(t,0,0,0,0,0,i);if(a){o.maxFontSize=a.sizeMultiplier,a.style.isTight()&&o.classes.push("mtight");var c=a.getColor();c&&(o.style.color=c)}return o},hl=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&Ks(t,"Main-Bold",r).metrics?vt(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||We[r][t].font==="main"?vt(t,"Main-Regular",r,n,a):vt(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},K9=function(t,r,n,a,i){return i!=="textord"&&Ks(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Qs=function(t,r,n){var a=t.mode,i=t.text,s=["mord"],u=a==="math"||a==="text"&&r.font,o=u?r.font:r.fontFamily,l="",c="";if(i.charCodeAt(0)===55349&&([l,c]=X9(i,a)),l.length>0)return vt(i,l,a,r,s.concat(c));if(o){var f,p;if(o==="boldsymbol"){var d=K9(i,a,r,s,n);f=d.fontName,p=[d.fontClass]}else u?(f=Qu[o].fontName,p=[o]):(f=Mi(o,r.fontWeight,r.fontShape),p=[o,r.fontWeight,r.fontShape]);if(Ks(i,f,a).metrics)return vt(i,f,a,r,s.concat(p));if(ym.hasOwnProperty(i)&&f.slice(0,10)==="Typewriter"){for(var b=[],y=0;y<i.length;y++)b.push(vt(i[y],f,a,r,s.concat(p)));return Nr(b)}}if(n==="mathord")return vt(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var T=We[a][i]&&We[a][i].font;if(T==="ams"){var v=Mi("amsrm",r.fontWeight,r.fontShape);return vt(i,v,a,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(T==="main"||!T){var S=Mi("textrm",r.fontWeight,r.fontShape);return vt(i,S,a,r,s.concat(r.fontWeight,r.fontShape))}else{var w=Mi(T,r.fontWeight,r.fontShape);return vt(i,w,a,r,s.concat(w,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},Q9=(e,t)=>{if($r(e.classes)!==$r(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},Em=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Ft&&n instanceof Ft&&Q9(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},dl=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},K=function(t,r,n,a){var i=new ia(t,r,n,a);return dl(i),i},Vr=(e,t,r,n)=>new ia(e,t,r,n),Gn=function(t,r,n){var a=K([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=ae(a.height),a.maxFontSize=1,a},J9=function(t,r,n,a){var i=new Xs(t,r,n,a);return dl(i),i},Nr=function(t){var r=new aa(t);return dl(r),r},Xn=function(t,r){return t instanceof aa?K([],[t],r):t},Z9=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 u=-r[s].shift-i-r[s].elem.depth,o=u-(r[s-1].elem.height+r[s-1].elem.depth);i=i+u,n.push({type:"kern",size:o}),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 d=t.children[0];if(d.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-d.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-d.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},Pe=function(t,r){for(var{children:n,depth:a}=Z9(t),i=0,s=0;s<n.length;s++){var u=n[s];if(u.type==="elem"){var o=u.elem;i=Math.max(i,o.maxFontSize,o.height)}}i+=2;var l=K(["pstrut"],[]);l.style.height=ae(i);for(var c=[],f=a,p=a,d=a,b=0;b<n.length;b++){var y=n[b];if(y.type==="kern")d+=y.size;else{var T=y.elem,v=y.wrapperClasses||[],S=y.wrapperStyle||{},w=K(v,[l,T],void 0,S);w.style.top=ae(-i-d-T.depth),y.marginLeft&&(w.style.marginLeft=y.marginLeft),y.marginRight&&(w.style.marginRight=y.marginRight),c.push(w),d+=T.height+T.depth}f=Math.min(f,d),p=Math.max(p,d)}var M=K(["vlist"],c);M.style.height=ae(p);var B;if(f<0){var O=K([],[]),D=K(["vlist"],[O]);D.style.height=ae(-f);var z=K(["vlist-s"],[new Ft("​")]);B=[K(["vlist-r"],[M,z]),K(["vlist-r"],[D])]}else B=[K(["vlist-r"],[M])];var U=K(["vlist-t"],B);return B.length===2&&U.classes.push("vlist-t2"),U.height=p,U.depth=-f,U},xm=(e,t)=>{var r=K(["mspace"],[],t),n=Qe(e,t);return r.style.marginRight=ae(n),r},Mi=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},Qu={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"}},Tm={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},vm=function(t,r){var[n,a,i]=Tm[t],s=new Yr(n),u=new Sr([s],{width:ae(a),height:ae(i),style:"width:"+ae(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),o=Vr(["overlay"],[u],r);return o.height=i,o.style.height=ae(i),o.style.width=ae(a),o},Ke={number:3,unit:"mu"},an={number:4,unit:"mu"},Er={number:5,unit:"mu"},ey={mord:{mop:Ke,mbin:an,mrel:Er,minner:Ke},mop:{mord:Ke,mop:Ke,mrel:Er,minner:Ke},mbin:{mord:an,mop:an,mopen:an,minner:an},mrel:{mord:Er,mop:Er,mopen:Er,minner:Er},mopen:{},mclose:{mop:Ke,mbin:an,mrel:Er,minner:Ke},mpunct:{mord:Ke,mop:Ke,mrel:Er,mopen:Ke,mclose:Ke,mpunct:Ke,minner:Ke},minner:{mord:Ke,mop:Ke,mbin:an,mrel:Er,mopen:Ke,mpunct:Ke,minner:Ke}},ty={mord:{mop:Ke},mop:{mord:Ke,mop:Ke},mbin:{},mrel:{},mopen:{},mclose:{mop:Ke},mpunct:{},minner:{mop:Ke}},Am={},Es={},xs={};function oe(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,u={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},o=0;o<r.length;++o)Am[r[o]]=u;t&&(i&&(Es[t]=i),s&&(xs[t]=s))}function wn(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;oe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var Ts=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},at=function(t){return t.type==="ordgroup"?t.body:[t]},ry=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),ny=new Set(["rightmost","mrel","mclose","mpunct"]),ay={display:xe.DISPLAY,text:xe.TEXT,script:xe.SCRIPT,scriptscript:xe.SCRIPTSCRIPT},iy={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ct=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var u=Fe(t[s],r);if(u instanceof aa){var o=u.children;i.push(...o)}else i.push(u)}if(Em(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(ay[c.style]))}var f=K([a[0]||"leftmost"],[],r),p=K([a[1]||"rightmost"],[],r),d=n==="root";return Ju(i,(b,y)=>{var T=y.classes[0],v=b.classes[0];T==="mbin"&&ny.has(v)?y.classes[0]="mord":v==="mbin"&&ry.has(T)&&(b.classes[0]="mord")},{node:f},p,d),Ju(i,(b,y)=>{var T,v,S=eo(y),w=eo(b),M=S&&w?b.hasClass("mtight")?(T=ty[S])==null?void 0:T[w]:(v=ey[S])==null?void 0:v[w]:null;if(M)return xm(M,l)},{node:f},p,d),i},Ju=function(t,r,n,a,i){a&&t.push(a);for(var s=0;s<t.length;s++){var u=t[s],o=wm(u);if(o){Ju(o.children,r,n,null,i);continue}var l=!u.hasClass("mspace");if(l){var c=r(u,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),s++))}l?n.node=u:i&&u.hasClass("newline")&&(n.node=K(["leftmost"])),n.insertAfter=(f=>p=>{t.splice(f+1,0,p),s++})(s)}a&&t.pop()},wm=function(t){return t instanceof aa||t instanceof Xs||t instanceof ia&&t.hasClass("enclosing")?t:null},Zu=function(t,r){var n=wm(t);if(n){var a=n.children;if(a.length){if(r==="right")return Zu(a[a.length-1],"right");if(r==="left")return Zu(a[0],"left")}}return t},eo=function(t,r){if(!t)return null;r&&(t=Zu(t,r));var n=t.classes[0];return iy[n]||null},Ga=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return K(r.concat(n))},Fe=function(t,r,n){if(!t)return K();if(Es[t.type]){var a=Es[t.type](t,r);if(n&&r.size!==n.size){a=K(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new ee("Got group of unknown type: '"+t.type+"'")};function Pi(e,t){var r=K(["base"],e,t),n=K(["strut"]);return n.style.height=ae(r.height+r.depth),r.depth&&(n.style.verticalAlign=ae(-r.depth)),r.children.unshift(n),r}function to(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=ct(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],s=[],u=0;u<n.length;u++)if(s.push(n[u]),n[u].hasClass("mbin")||n[u].hasClass("mrel")||n[u].hasClass("allowbreak")){for(var o=!1;u<n.length-1&&n[u+1].hasClass("mspace")&&!n[u+1].hasClass("newline");)u++,s.push(n[u]),n[u].hasClass("nobreak")&&(o=!0);o||(i.push(Pi(s,t)),s=[])}else n[u].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(Pi(s,t)),s=[]),i.push(n[u]));s.length>0&&i.push(Pi(s,t));var l;r?(l=Pi(ct(r,t,!0),t),l.classes=["tag"],i.push(l)):a&&i.push(a);var c=K(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=ae(c.height+c.depth),c.depth&&(f.style.verticalAlign=ae(-c.depth))}return c}function Sm(e){return new aa(e)}class re{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=$r(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof it&&this.children[n+1]instanceof it){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof it;)a+=this.children[++n].toText();t.appendChild(new it(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+=gt(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+gt($r(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 it{constructor(t){this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return gt(this.toText())}toText(){return this.text}}class km{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",ae(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ae(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var sy=new Set(["\\imath","\\jmath"]),uy=new Set(["mrow","mtable"]),Vt=function(t,r,n){return We[r][t]&&We[r][t].replace&&t.charCodeAt(0)!==55349&&!(ym.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=We[r][t].replace),new it(t)},ml=function(t){return t.length===1?t[0]:new re("mrow",t)},pl=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(sy.has(i))return null;if(We[a][i]){var s=We[a][i].replace;s&&(i=s)}var u=Qu[n].fontName;return fl(i,u,a)?Qu[n].variant:null};function Q0(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof it&&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 it&&r.text===","}else return!1}var zt=function(t,r,n){if(t.length===1){var a=je(t[0],r);return n&&a instanceof re&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,u=0;u<t.length;u++){var o=je(t[u],r);if(o instanceof re&&s instanceof re){if(o.type==="mtext"&&s.type==="mtext"&&o.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...o.children);continue}else if(o.type==="mn"&&s.type==="mn"){s.children.push(...o.children);continue}else if(Q0(o)&&s.type==="mn"){s.children.push(...o.children);continue}else if(o.type==="mn"&&Q0(s))o.children=[...s.children,...o.children],i.pop();else if((o.type==="msup"||o.type==="msub")&&o.children.length>=1&&(s.type==="mn"||Q0(s))){var l=o.children[0];l instanceof re&&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 it&&c.text==="̸"&&(o.type==="mo"||o.type==="mi"||o.type==="mn")){var f=o.children[0];f instanceof it&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),i.pop())}}}i.push(o),s=o}return i},Wr=function(t,r,n){return ml(zt(t,r,n))},je=function(t,r){if(!t)return new re("mrow");if(xs[t.type]){var n=xs[t.type](t,r);return n}else throw new ee("Got group of unknown type: '"+t.type+"'")};function D1(e,t,r,n,a){var i=zt(e,r),s;i.length===1&&i[0]instanceof re&&uy.has(i[0].type)?s=i[0]:s=new re("mrow",i);var u=new re("annotation",[new it(t)]);u.setAttribute("encoding","application/x-tex");var o=new re("semantics",[s,u]),l=new re("math",[o]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=a?"katex":"katex-mathml";return K([c],[l])}var oy=[[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]],L1=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],M1=function(t,r){return r.size<2?t:oy[t-1][r.size-1]};class vr{constructor(t){this.style=t.style,this.color=t.color,this.size=t.size||vr.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=L1[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 vr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:M1(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:L1[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=M1(vr.BASESIZE,t);return this.size===r&&this.textSize===vr.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!==vr.BASESIZE?["sizing","reset-size"+this.size,"size"+vr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=V9(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}vr.BASESIZE=6;var Cm=function(t){return new vr({style:t.displayMode?xe.DISPLAY:xe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Im=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=K(n,[t])}return t},ly=function(t,r,n){var a=Cm(n),i;if(n.output==="mathml")return D1(t,r,a,n.displayMode,!0);if(n.output==="html"){var s=to(t,a);i=K(["katex"],[s])}else{var u=D1(t,r,a,n.displayMode,!1),o=to(t,a);i=K(["katex"],[u,o])}return Im(i,n)},cy=function(t,r,n){var a=Cm(n),i=to(t,a),s=K(["katex"],[i]);return Im(s,n)},fy={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":"="},Js=function(t){var r=new re("mo",[new it(fy[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},hy={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]},dy=new Set(["widehat","widecheck","widetilde","utilde"]),Zs=function(t,r){function n(){var u=4e5,o=t.label.slice(1);if(dy.has(o)){var l=t,c=l.base.type==="ordgroup"?l.base.body.length:1,f,p,d;if(c>5)o==="widehat"||o==="widecheck"?(f=420,u=2364,d=.42,p=o+"4"):(f=312,u=2340,d=.34,p="tilde4");else{var b=[1,1,2,2,3,3][c];o==="widehat"||o==="widecheck"?(u=[0,1062,2364,2364,2364][b],f=[0,239,300,360,420][b],d=[0,.24,.3,.3,.36,.42][b],p=o+b):(u=[0,600,1033,2339,2340][b],f=[0,260,286,306,312][b],d=[0,.26,.286,.3,.306,.34][b],p="tilde"+b)}var y=new Yr(p),T=new Sr([y],{width:"100%",height:ae(d),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:Vr([],[T],r),minWidth:0,height:d}}else{var v=[],S=hy[o],[w,M,B]=S,O=B/1e3,D=w.length,z,U;if(D===1){var P=S[3];z=["hide-tail"],U=[P]}else if(D===2)z=["halfarrow-left","halfarrow-right"],U=["xMinYMin","xMaxYMin"];else if(D===3)z=["brace-left","brace-center","brace-right"],U=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
285
+ `+D+" children.");for(var $=0;$<D;$++){var X=new Yr(w[$]),he=new Sr([X],{width:"400em",height:ae(O),viewBox:"0 0 "+u+" "+B,preserveAspectRatio:U[$]+" slice"}),me=Vr([z[$]],[he],r);if(D===1)return{span:me,minWidth:M,height:O};me.style.height=ae(O),v.push(me)}return{span:K(["stretchy"],v,r),minWidth:M,height:O}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=ae(s),i>0&&(a.style.minWidth=ae(i)),a},my=function(t,r,n,a,i){var s,u=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=K(["stretchy",r],[],i),r==="fbox"){var o=i.color&&i.getColor();o&&(s.style.borderColor=o)}}else{var l=[];/^[bx]cancel$/.test(r)&&l.push(new Xu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new Xu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Sr(l,{width:"100%",height:ae(u)});s=Vr([],[c],i)}return s.height=u,s.style.height=ae(u),s};function Ae(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 e0(e){var t=t0(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 t0(e){return e&&(e.type==="atom"||G9.hasOwnProperty(e.type))?e:null}var _m=e=>{if(e instanceof Ft)return e;if($9(e)&&e.children.length===1)return _m(e.children[0])},gl=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=Ae(e.base,"accent"),r=n.base,e.base=r,a=q9(Fe(e,t)),e.base=n):(n=Ae(e,"accent"),r=n.base);var i=Fe(r,t.havingCrampedStyle()),s=n.isShifty&&Ir(r),u=0;if(s){var o,l;u=(o=(l=_m(i))==null?void 0:l.skew)!=null?o:0}var c=n.label==="\\c",f=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),p;if(n.isStretchy)p=Zs(n,t),p=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+ae(2*u)+")",marginLeft:ae(2*u)}:void 0}]});else{var d,b;n.label==="\\vec"?(d=vm("vec",t),b=Tm.vec[1]):(d=Qs({mode:n.mode,text:n.label},t,"textord"),d=j9(d),d.italic=0,b=d.width,c&&(f+=d.depth)),p=K(["accent-body"],[d]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),f=i.height);var T=u;y||(T-=b/2),p.style.left=ae(T),n.label==="\\textcircled"&&(p.style.top=".2em"),p=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-f},{type:"elem",elem:p}]})}var v=K(["mord","accent"],[p],t);return a?(a.children[0]=v,a.height=Math.max(v.height,a.height),a.classes[0]="mord",a):v},Nm=(e,t)=>{var r=e.isStretchy?Js(e.label):new re("mo",[Vt(e.label,e.mode)]),n=new re("mover",[je(e.base,t),r]);return n.setAttribute("accent","true"),n},py=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));oe({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=Ts(t[0]),n=!py.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:gl,mathmlBuilder:Nm});oe({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:gl,mathmlBuilder:Nm});oe({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=Fe(e.base,t),n=Zs(e,t),a=e.label==="\\utilde"?.12:0,i=Pe({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return K(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Js(e.label),n=new re("munder",[je(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Fi=e=>{var t=new re("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};oe({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=Xn(Fe(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=Xn(Fe(e.below,n,t),t),s.classes.push(i+"-arrow-pad"));var u=Zs(e,t),o=-t.fontMetrics().axisHeight+.5*u.height,l=-t.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(l-=a.depth);var c;if(s){var f=-t.fontMetrics().axisHeight+s.height+.5*u.height+.111;c=Pe({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:u,shift:o},{type:"elem",elem:s,shift:f}]})}else c=Pe({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:u,shift:o}]});return c.children[0].children[0].children[1].classes.push("svg-align"),K(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=Js(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=Fi(je(e.body,t));if(e.below){var i=Fi(je(e.below,t));n=new re("munderover",[r,i,a])}else n=new re("mover",[r,a])}else if(e.below){var s=Fi(je(e.below,t));n=new re("munder",[r,s])}else n=Fi(),n=new re("mover",[r,n]);return n}});function Om(e,t){var r=ct(e.body,t,!0);return K([e.mclass],r,t)}function Rm(e,t){var r,n=zt(e.body,t);return e.mclass==="minner"?r=new re("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new re("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new re("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}oe({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:at(a),isCharacterBox:Ir(a)}},htmlBuilder:Om,mathmlBuilder:Rm});var r0=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"};oe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:r0(t[0]),body:at(t[1]),isCharacterBox:Ir(t[1])}}});oe({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=r0(a):s="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:at(a)},o={type:"supsub",mode:i.mode,base:u,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:s,body:[o],isCharacterBox:Ir(o)}},htmlBuilder:Om,mathmlBuilder:Rm});oe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:r0(t[0]),body:at(t[0])}},htmlBuilder(e,t){var r=ct(e.body,t,!0),n=K([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=zt(e.body,t),n=new re("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var gy={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},P1=()=>({type:"styling",body:[],mode:"math",style:"display"}),F1=e=>e.type==="textord"&&e.text==="@",by=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function yy(e,t,r){var n=gy[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],[]),u=r.callFunction("\\\\cdright",[t[1]],[]),o={type:"ordgroup",mode:"math",body:[a,s,u]};return r.callFunction("\\\\cdparent",[o],[])}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 Ey(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 ee("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var s=t[i],u=P1(),o=0;o<s.length;o++)if(!F1(s[o]))u.body.push(s[o]);else{n.push(u),o+=1;var l=e0(s[o]).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,d=o+1;d<s.length;d++){if(by(s[d],l)){p=!1,o=d;break}if(F1(s[d]))throw new ee("Missing a "+l+" character to complete a CD arrow.",s[d]);c[f].body.push(s[d])}if(p)throw new ee("Missing a "+l+" character to complete a CD arrow.",s[o])}else throw new ee('Expected one of "<>AV=|." after @',s[o]);var b=yy(l,c,e),y={type:"styling",body:[b],mode:"math",style:"display"};n.push(y),u=P1()}i%2===0?n.push(u):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var T=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:T,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}oe({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=Xn(Fe(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=ae(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new re("mrow",[je(e.label,t)]);return r=new re("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new re("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});oe({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=Xn(Fe(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new re("mrow",[je(e.fragment,t)])}});oe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Ae(t[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var u=Ae(a[s],"textord");i+=u.text}var o=parseInt(i),l;if(isNaN(o))throw new ee("\\@char has non-numeric argument "+i);if(o<0||o>=1114111)throw new ee("\\@char with invalid code point "+i);return o<=65535?l=String.fromCharCode(o):(o-=65536,l=String.fromCharCode((o>>10)+55296,(o&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var Dm=(e,t)=>{var r=ct(e.body,t.withColor(e.color),!1);return Nr(r)},Lm=(e,t)=>{var r=zt(e.body,t.withColor(e.color)),n=new re("mstyle",r);return n.setAttribute("mathcolor",e.color),n};oe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Ae(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:at(a)}},htmlBuilder:Dm,mathmlBuilder:Lm});oe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=Ae(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:Dm,mathmlBuilder:Lm});oe({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&&Ae(a,"size").value}},htmlBuilder(e,t){var r=K(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ae(Qe(e.size,t)))),r},mathmlBuilder(e,t){var r=new re("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ae(Qe(e.size,t)))),r}});var ro={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Mm=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ee("Expected a control sequence",e);return t},xy=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Pm=(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)};oe({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(ro[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=ro[n.text]),Ae(t.parseFunction(),"internal");throw new ee("Invalid token after macro prefix",n)}});oe({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 ee("Expected a control sequence",n);for(var i=0,s,u=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),u[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new ee('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new ee('Argument number "'+n.text+'" out of order');i++,u.push([])}else{if(n.text==="EOF")throw new ee("Expected a macro definition");u[i].push(n.text)}var{tokens:o}=t.gullet.consumeArg();return s&&o.unshift(s),(r==="\\edef"||r==="\\xdef")&&(o=t.gullet.expandTokens(o),o.reverse()),t.gullet.macros.set(a,{tokens:o,numArgs:i,delimiters:u},r===ro[r]),{type:"internal",mode:t.mode}}});oe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Mm(t.gullet.popToken());t.gullet.consumeSpaces();var a=xy(t);return Pm(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});oe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Mm(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return Pm(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Ca=function(t,r,n){var a=We.math[t]&&We.math[t].replace,i=fl(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},bl=function(t,r,n,a){var i=n.havingBaseStyle(r),s=K(a.concat(i.sizingClasses(n)),[t],n),u=i.sizeMultiplier/n.sizeMultiplier;return s.height*=u,s.depth*=u,s.maxFontSize=i.sizeMultiplier,s},Fm=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=ae(i),t.height-=i,t.depth+=i},Ty=function(t,r,n,a,i,s){var u=vt(t,"Main-Regular",i,a),o=bl(u,r,a,s);return Fm(o,a,r),o},vy=function(t,r,n,a){return vt(t,"Size"+r+"-Regular",n,a)},Bm=function(t,r,n,a,i,s){var u=vy(t,r,i,a),o=bl(K(["delimsizing","size"+r],[u],a),xe.TEXT,a,s);return n&&Fm(o,a,xe.TEXT),o},J0=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=K(["delimsizinginner",a],[K([],[vt(t,r,n)])]);return{type:"elem",elem:i}},Z0=function(t,r,n){var a=ur["Size4-Regular"][t.charCodeAt(0)]?ur["Size4-Regular"][t.charCodeAt(0)][4]:ur["Size1-Regular"][t.charCodeAt(0)][4],i=new Yr("inner",P9(t,Math.round(1e3*r))),s=new Sr([i],{width:ae(a),height:ae(r),style:"width:"+ae(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),u=Vr([],[s],n);return u.height=r,u.style.height=ae(r),u.style.width=ae(a),{type:"elem",elem:u}},no=.008,Bi={type:"kern",size:-1*no},Ay=new Set(["|","\\lvert","\\rvert","\\vert"]),wy=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),zm=function(t,r,n,a,i,s){var u,o,l,c,f="",p=0;u=l=c=t,o=null;var d="Size1-Regular";t==="\\uparrow"?l=c="⏐":t==="\\Uparrow"?l=c="‖":t==="\\downarrow"?u=l="⏐":t==="\\Downarrow"?u=l="‖":t==="\\updownarrow"?(u="\\uparrow",l="⏐",c="\\downarrow"):t==="\\Updownarrow"?(u="\\Uparrow",l="‖",c="\\Downarrow"):Ay.has(t)?(l="∣",f="vert",p=333):wy.has(t)?(l="∥",f="doublevert",p=556):t==="["||t==="\\lbrack"?(u="⎡",l="⎢",c="⎣",d="Size4-Regular",f="lbrack",p=667):t==="]"||t==="\\rbrack"?(u="⎤",l="⎥",c="⎦",d="Size4-Regular",f="rbrack",p=667):t==="\\lfloor"||t==="⌊"?(l=u="⎢",c="⎣",d="Size4-Regular",f="lfloor",p=667):t==="\\lceil"||t==="⌈"?(u="⎡",l=c="⎢",d="Size4-Regular",f="lceil",p=667):t==="\\rfloor"||t==="⌋"?(l=u="⎥",c="⎦",d="Size4-Regular",f="rfloor",p=667):t==="\\rceil"||t==="⌉"?(u="⎤",l=c="⎥",d="Size4-Regular",f="rceil",p=667):t==="("||t==="\\lparen"?(u="⎛",l="⎜",c="⎝",d="Size4-Regular",f="lparen",p=875):t===")"||t==="\\rparen"?(u="⎞",l="⎟",c="⎠",d="Size4-Regular",f="rparen",p=875):t==="\\{"||t==="\\lbrace"?(u="⎧",o="⎨",c="⎩",l="⎪",d="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="⎫",o="⎬",c="⎭",l="⎪",d="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(u="⎧",c="⎩",l="⎪",d="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(u="⎫",c="⎭",l="⎪",d="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(u="⎧",c="⎭",l="⎪",d="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(u="⎫",c="⎩",l="⎪",d="Size4-Regular");var b=Ca(u,d,i),y=b.height+b.depth,T=Ca(l,d,i),v=T.height+T.depth,S=Ca(c,d,i),w=S.height+S.depth,M=0,B=1;if(o!==null){var O=Ca(o,d,i);M=O.height+O.depth,B=2}var D=y+w+M,z=Math.max(0,Math.ceil((r-D)/(B*v))),U=D+z*B*v,P=a.fontMetrics().axisHeight;n&&(P*=a.sizeMultiplier);var $=U/2-P,X=[];if(f.length>0){var he=U-y-w,me=Math.round(U*1e3),de=F9(f,Math.round(he*1e3)),Te=new Yr(f,de),De=ae(p/1e3),Le=ae(me/1e3),Be=new Sr([Te],{width:De,height:Le,viewBox:"0 0 "+p+" "+me}),L=Vr([],[Be],a);L.height=me/1e3,L.style.width=De,L.style.height=Le,X.push({type:"elem",elem:L})}else{if(X.push(J0(c,d,i)),X.push(Bi),o===null){var ue=U-y-w+2*no;X.push(Z0(l,ue,a))}else{var se=(U-y-w-M)/2+2*no;X.push(Z0(l,se,a)),X.push(Bi),X.push(J0(o,d,i)),X.push(Bi),X.push(Z0(l,se,a))}X.push(Bi),X.push(J0(u,d,i))}var _=a.havingBaseStyle(xe.TEXT),Ce=Pe({positionType:"bottom",positionData:$,children:X});return bl(K(["delimsizing","mult"],[Ce],_),xe.TEXT,a,s)},eu=80,tu=.08,ru=function(t,r,n,a,i){var s=M9(t,a,n),u=new Yr(t,s),o=new Sr([u],{width:"400em",height:ae(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Vr(["hide-tail"],[o],i)},Sy=function(t,r){var n=r.havingBaseSizing(),a=$m("\\surd",t*n.sizeMultiplier,qm,n),i=n.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),u,o=0,l=0,c=0,f;return a.type==="small"?(c=1e3+1e3*s+eu,t<1?i=1:t<1.4&&(i=.7),o=(1+s+tu)/i,l=(1+s)/i,u=ru("sqrtMain",o,c,s,r),u.style.minWidth="0.853em",f=.833/i):a.type==="large"?(c=(1e3+eu)*Ma[a.size],l=(Ma[a.size]+s)/i,o=(Ma[a.size]+s+tu)/i,u=ru("sqrtSize"+a.size,o,c,s,r),u.style.minWidth="1.02em",f=1/i):(o=t+s+tu,l=t+s,c=Math.floor(1e3*t+s)+eu,u=ru("sqrtTall",o,c,s,r),u.style.minWidth="0.742em",f=1.056),u.height=l,u.style.height=ae(o),{span:u,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},Hm=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),ky=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Um=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),Ma=[0,1.2,1.8,2.4,3],jm=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),Hm.has(t)||Um.has(t))return Bm(t,r,!1,n,a,i);if(ky.has(t))return zm(t,Ma[r],!1,n,a,i);throw new ee("Illegal delimiter: '"+t+"'")},Cy=[{type:"small",style:xe.SCRIPTSCRIPT},{type:"small",style:xe.SCRIPT},{type:"small",style:xe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],Iy=[{type:"small",style:xe.SCRIPTSCRIPT},{type:"small",style:xe.SCRIPT},{type:"small",style:xe.TEXT},{type:"stack"}],qm=[{type:"small",style:xe.SCRIPTSCRIPT},{type:"small",style:xe.SCRIPT},{type:"small",style:xe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],_y=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.")},$m=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length;s++){var u=n[s];if(u.type==="stack")break;var o=Ca(t,_y(u),"math"),l=o.height+o.depth;if(u.type==="small"){var c=a.havingBaseStyle(u.style);l*=c.sizeMultiplier}if(l>r)return u}return n[n.length-1]},ao=function(t,r,n,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;Um.has(t)?u=Cy:Hm.has(t)?u=qm:u=Iy;var o=$m(t,r,u,a);return o.type==="small"?Ty(t,o.style,n,a,i,s):o.type==="large"?Bm(t,o.size,n,a,i,s):zm(t,r,n,a,i,s)},nu=function(t,r,n,a,i,s){var u=a.fontMetrics().axisHeight*a.sizeMultiplier,o=901,l=5/a.fontMetrics().ptPerEm,c=Math.max(r-u,n+u),f=Math.max(c/500*o,2*c-l);return ao(t,f,!0,a,i,s)},B1={"\\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}},Ny=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 n0(e,t){var r=t0(e);if(r&&Ny.has(r.text))return r;throw r?new ee("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new ee("Invalid delimiter type '"+e.type+"'",e)}oe({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=n0(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:B1[e.funcName].size,mclass:B1[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?K([e.mclass]):jm(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Vt(e.delim,e.mode));var r=new re("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=ae(Ma[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function z1(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}oe({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 ee("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:n0(t[0],e).text,color:r}}});oe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=n0(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ae(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{z1(e);for(var r=ct(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 u;if(e.left==="."?u=Ga(t,["mopen"]):u=nu(e.left,n,a,t,e.mode,["mopen"]),r.unshift(u),i)for(var o=1;o<r.length;o++){var l=r[o],c=l.isMiddle;c&&(r[o]=nu(c.delim,n,a,c.options,e.mode,[]))}var f;if(e.right===".")f=Ga(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=nu(e.right,n,a,p,e.mode,["mclose"])}return r.push(f),K(["minner"],r,t)},mathmlBuilder:(e,t)=>{z1(e);var r=zt(e.body,t);if(e.left!=="."){var n=new re("mo",[Vt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new re("mo",[Vt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return ml(r)}});oe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=n0(t[0],e);if(!e.parser.leftrightDepth)throw new ee("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Ga(t,[]);else{r=jm(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==="|"?Vt("|","text"):Vt(e.delim,e.mode),n=new re("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var a0=(e,t)=>{var r=Xn(Fe(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,s=0,u=Ir(e.body);if(n==="sout")i=K(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var o=Qe({number:.6,unit:"pt"},t),l=Qe({number:.35,unit:"ex"},t),c=t.havingBaseSizing();a=a/c.sizeMultiplier;var f=r.height+r.depth+o+l;r.style.paddingLeft=ae(f/2+o);var p=Math.floor(1e3*f*a),d=D9(p),b=new Sr([new Yr("phase",d)],{width:"400em",height:ae(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});i=Vr(["hide-tail"],[b],t),i.style.height=ae(f),s=r.depth+o+l}else{/cancel/.test(n)?u||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,T=0,v=0;/box/.test(n)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(n==="colorbox"?0:v),T=y):n==="angl"?(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*v,T=Math.max(0,.25-r.depth)):(y=u?.2:0,T=y),i=my(r,n,y,T,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=ae(v)):n==="angl"&&v!==.049&&(i.style.borderTopWidth=ae(v),i.style.borderRightWidth=ae(v)),s=r.depth+T,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=Pe({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]});else{var w=/cancel|phase/.test(n)?["svg-align"]:[];S=Pe({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:w}]})}return/cancel/.test(n)&&(S.height=r.height,S.depth=r.depth),/cancel/.test(n)&&!u?K(["mord","cancel-lap"],[S],t):K(["mord"],[S],t)},i0=(e,t)=>{var r=0,n=new re(e.label.includes("colorbox")?"mpadded":"menclose",[je(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: "+ae(a)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};oe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ae(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:a0,mathmlBuilder:i0});oe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ae(t[0],"color-token").color,s=Ae(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:u}},htmlBuilder:a0,mathmlBuilder:i0});oe({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]}}});oe({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:a0,mathmlBuilder:i0});oe({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:a0,mathmlBuilder:i0});oe({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 Ym={};function hr(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,u={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},o=0;o<r.length;++o)Ym[r[o]]=u;i&&(Es[t]=i),s&&(xs[t]=s)}var Vm={};function x(e,t){Vm[e]=t}class It{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 It(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class Pt{constructor(t,r){this.text=t,this.loc=r}range(t,r){return new Pt(r,It.range(this,t))}}function H1(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 s0=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ee("{"+e.envName+"} can be used only in display mode.")},Oy=new Set(["gather","gather*"]);function yl(e){if(!e.includes("ed"))return!e.includes("*")}function Zr(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:i,arraystretch:s,colSeparationType:u,autoTag:o,singleRow:l,emptySingleRow:c,maxNumCols:f,leqno:p}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!s){var d=e.gullet.expandMacroAsText("\\arraystretch");if(d==null)s=1;else if(s=parseFloat(d),!s||s<0)throw new ee("Invalid \\arraystretch: "+d)}e.gullet.beginGroup();var b=[],y=[b],T=[],v=[],S=o!=null?[]:void 0;function w(){o&&e.gullet.macros.set("\\@eqnsw","1",!0)}function M(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Pt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(!!o&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(w(),v.push(H1(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 D=e.fetch().text;if(D==="&"){if(f&&b.length===f){if(l||u)throw new ee("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(D==="\\end"){M(),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(),v.length<y.length+1&&v.push([]);break}else if(D==="\\\\"){e.consume();var z=void 0;e.gullet.future().text!==" "&&(z=e.parseSizeGroup(!0)),T.push(z?z.value:null),M(),v.push(H1(e)),b=[],y.push(b),w()}else throw new ee("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:T,hskipBeforeAndAfter:n,hLinesBeforeRow:v,colSeparationType:u,tags:S,leqno:p}}function El(e){return e.slice(0,1)==="d"?"display":"text"}var dr=function(t,r){var n,a,i=t.body.length,s=t.hLinesBeforeRow,u=0,o=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 d=r.havingStyle(xe.SCRIPT).sizeMultiplier;p=.2778*(d/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?Qe({number:3,unit:"ex"},r):12*f,y=3*f,T=t.arraystretch*b,v=.7*T,S=.3*T,w=0;function M(be){for(var we=0;we<be.length;++we)we>0&&(w+=.25),l.push({pos:w,isDashed:be[we]})}for(M(s[0]),n=0;n<t.body.length;++n){var B=t.body[n],O=v,D=S;u<B.length&&(u=B.length);var z=new Array(B.length);for(a=0;a<B.length;++a){var U=Fe(B[a],r);D<U.depth&&(D=U.depth),O<U.height&&(O=U.height),z[a]=U}var P=t.rowGaps[n],$=0;P&&($=Qe(P,r),$>0&&($+=S,D<$&&(D=$),$=0)),t.addJot&&n<t.body.length-1&&(D+=y),z.height=O,z.depth=D,w+=O,z.pos=w,w+=D+$,o[n]=z,M(s[n+1])}var X=w/2+r.fontMetrics().axisHeight,he=t.cols||[],me=[],de,Te,De=[];if(t.tags&&t.tags.some(be=>be))for(n=0;n<i;++n){var Le=o[n],Be=Le.pos-X,L=t.tags[n],ue=void 0;L===!0?ue=K(["eqn-num"],[],r):L===!1?ue=K([],[],r):ue=K([],ct(L,r,!0),r),ue.depth=Le.depth,ue.height=Le.height,De.push({type:"elem",elem:ue,shift:Be})}for(a=0,Te=0;a<u||Te<he.length;++a,++Te){for(var se,_=he[Te],Ce=!0;((ze=_)==null?void 0:ze.type)==="separator";){var ze;if(Ce||(de=K(["arraycolsep"],[]),de.style.width=ae(r.fontMetrics().doubleRuleSep),me.push(de)),_.separator==="|"||_.separator===":"){var Oe=_.separator==="|"?"solid":"dashed",Xe=K(["vertical-separator"],[],r);Xe.style.height=ae(w),Xe.style.borderRightWidth=ae(c),Xe.style.borderRightStyle=Oe,Xe.style.margin="0 "+ae(-c/2);var dt=w-X;dt&&(Xe.style.verticalAlign=ae(-dt)),me.push(Xe)}else throw new ee("Invalid separator type: "+_.separator);Te++,_=he[Te],Ce=!1}if(!(a>=u)){var ut=void 0;if(a>0||t.hskipBeforeAndAfter){var ot,Wt;ut=(ot=(Wt=_)==null?void 0:Wt.pregap)!=null?ot:p,ut!==0&&(de=K(["arraycolsep"],[]),de.style.width=ae(ut),me.push(de))}var gr=[];for(n=0;n<i;++n){var xt=o[n],Cn=xt[a];if(Cn){var bi=xt.pos-X;Cn.depth=xt.depth,Cn.height=xt.height,gr.push({type:"elem",elem:Cn,shift:bi})}}var yi=Pe({positionType:"individualShift",children:gr}),Ei=K(["col-align-"+(((se=_)==null?void 0:se.align)||"c")],[yi]);if(me.push(Ei),a<u-1||t.hskipBeforeAndAfter){var xi,ma;ut=(xi=(ma=_)==null?void 0:ma.postgap)!=null?xi:p,ut!==0&&(de=K(["arraycolsep"],[]),de.style.width=ae(ut),me.push(de))}}}var en=K(["mtable"],me);if(l.length>0){for(var E0=Gn("hline",r,c),x0=Gn("hdashline",r,c),pa=[{type:"elem",elem:en,shift:0}];l.length>0;){var Ti=l.pop(),vi=Ti.pos-X;Ti.isDashed?pa.push({type:"elem",elem:x0,shift:vi}):pa.push({type:"elem",elem:E0,shift:vi})}en=Pe({positionType:"individualShift",children:pa})}if(De.length===0)return K(["mord"],[en],r);var Y=Pe({positionType:"individualShift",children:De}),ie=K(["tag"],[Y],r);return Nr([en,ie])},Ry={c:"center ",l:"left ",r:"right "},mr=function(t,r){for(var n=[],a=new re("mtd",[],["mtr-glue"]),i=new re("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var u=t.body[s],o=[],l=0;l<u.length;l++)o.push(new re("mtd",[je(u[l],r)]));t.tags&&t.tags[s]&&(o.unshift(a),o.push(a),t.leqno?o.unshift(i):o.push(i)),n.push(new re("mtr",o))}var c=new re("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",ae(f));var p="",d="";if(t.cols&&t.cols.length>0){var b=t.cols,y="",T=!1,v=0,S=b.length;b[0].type==="separator"&&(p+="top ",v=1),b[b.length-1].type==="separator"&&(p+="bottom ",S-=1);for(var w=v;w<S;w++){var M=b[w];M.type==="align"?(d+=Ry[M.align],T&&(y+="none "),T=!0):M.type==="separator"&&T&&(y+=M.separator==="|"?"solid ":"dashed ",T=!1)}c.setAttribute("columnalign",d.trim()),/[sd]/.test(y)&&c.setAttribute("columnlines",y.trim())}if(t.colSeparationType==="align"){for(var B=t.cols||[],O="",D=1;D<B.length;D++)O+=D%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 P=1;P<U.length-1;P++)z+=U[P].length===0?"none ":U[P][0]?"dashed ":"solid ";return/[sd]/.test(z)&&c.setAttribute("rowlines",z.trim()),p!==""&&(c=new re("menclose",[c]),c.setAttribute("notation",p.trim())),t.arraystretch&&t.arraystretch<1&&(c=new re("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},Wm=function(t,r){t.envName.includes("ed")||s0(t);var n=[],a=t.envName.includes("at")?"alignat":"align",i=t.envName==="split",s=Zr(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:yl(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),u=0,o=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=Ae(r[0].body[f],"textord");c+=p.text}u=Number(c),o=u*2}var d=!o;s.body.forEach(function(v){for(var S=1;S<v.length;S+=2){var w=Ae(v[S],"styling"),M=Ae(w.body[0],"ordgroup");M.body.unshift(l)}if(d)o<v.length&&(o=v.length);else{var B=v.length/2;if(u<B)throw new ee("Too many math in a row: "+("expected "+u+", but got "+B),v[0])}});for(var b=0;b<o;++b){var y="r",T=0;b%2===1?y="l":b>0&&d&&(T=1),n[b]={type:"align",align:y,pregap:T,postgap:0}}return s.colSeparationType=d?"align":"alignat",s};hr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=t0(t[0]),n=r?[t[0]]:Ae(t[0],"ordgroup").body,a=n.map(function(s){var u=e0(s),o=u.text;if("lcr".includes(o))return{type:"align",align:o};if(o==="|")return{type:"separator",separator:"|"};if(o===":")return{type:"separator",separator:":"};throw new ee("Unknown column alignment: "+o,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Zr(e.parser,i,El(e.envName))},htmlBuilder:dr,mathmlBuilder:mr});hr({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 ee("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=Zr(e.parser,n,El(e.envName)),s=Math.max(0,...i.body.map(u=>u.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:dr,mathmlBuilder:mr});hr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=Zr(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:dr,mathmlBuilder:mr});hr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=t0(t[0]),n=r?[t[0]]:Ae(t[0],"ordgroup").body,a=n.map(function(u){var o=e0(u),l=o.text;if("lc".includes(l))return{type:"align",align:l};throw new ee("Unknown column alignment: "+l,u)});if(a.length>1)throw new ee("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},s=Zr(e.parser,i,"script");if(s.body.length>0&&s.body[0].length>1)throw new ee("{subarray} can contain only one column");return s},htmlBuilder:dr,mathmlBuilder:mr});hr({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=Zr(e.parser,t,El(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:dr,mathmlBuilder:mr});hr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Wm,htmlBuilder:dr,mathmlBuilder:mr});hr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){Oy.has(e.envName)&&s0(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:yl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Zr(e.parser,t,"display")},htmlBuilder:dr,mathmlBuilder:mr});hr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Wm,htmlBuilder:dr,mathmlBuilder:mr});hr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){s0(e);var t={autoTag:yl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Zr(e.parser,t,"display")},htmlBuilder:dr,mathmlBuilder:mr});hr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return s0(e),Ey(e.parser)},htmlBuilder:dr,mathmlBuilder:mr});x("\\nonumber","\\gdef\\@eqnsw{0}");x("\\notag","\\nonumber");oe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ee(e.funcName+" valid only within array environment")}});var U1=Ym;oe({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 ee("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=Ae(a.body[s],"textord").text;if(n==="\\begin"){if(!U1.hasOwnProperty(i))throw new ee("No such environment: "+i,a);var u=U1[i],{args:o,optArgs:l}=r.parseArguments("\\begin{"+i+"}",u),c={mode:r.mode,envName:i,parser:r},f=u.handler(c,o,l);r.expect("\\end",!1);var p=r.nextToken,d=Ae(r.parseFunction(),"environment");if(d.name!==i)throw new ee("Mismatch: \\begin{"+i+"} matched by \\end{"+d.name+"}",p);return f}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var Gm=(e,t)=>{var r=e.font,n=t.withFont(r);return Fe(e.body,n)},Xm=(e,t)=>{var r=e.font,n=t.withFont(r);return je(e.body,n)},j1={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};oe({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=Ts(t[0]),i=n;return i in j1&&(i=j1[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:Gm,mathmlBuilder:Xm});oe({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:r0(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:Ir(n)}}});oe({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),u="math"+n.slice(1);return{type:"font",mode:i,font:u,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:Gm,mathmlBuilder:Xm});var Dy=(e,t)=>{var r=t.style,n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var s=Fe(e.numer,i,t);if(e.continued){var u=8.5/t.fontMetrics().ptPerEm,o=3.5/t.fontMetrics().ptPerEm;s.height=s.height<u?u:s.height,s.depth=s.depth<o?o:s.depth}i=t.havingStyle(a);var l=Fe(e.denom,i,t),c,f,p;e.hasBarLine?(e.barSize?(f=Qe(e.barSize,t),c=Gn("frac-line",t,f)):c=Gn("frac-line",t),f=c.height,p=c.height):(c=null,f=0,p=t.fontMetrics().defaultRuleThickness);var d,b,y;r.size===xe.DISPLAY.size?(d=t.fontMetrics().num1,f>0?b=3*p:b=7*p,y=t.fontMetrics().denom1):(f>0?(d=t.fontMetrics().num2,b=p):(d=t.fontMetrics().num3,b=3*p),y=t.fontMetrics().denom2);var T;if(c){var S=t.fontMetrics().axisHeight;d-s.depth-(S+.5*f)<b&&(d+=b-(d-s.depth-(S+.5*f))),S-.5*f-(l.height-y)<b&&(y+=b-(S-.5*f-(l.height-y)));var w=-(S-.5*f);T=Pe({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:c,shift:w},{type:"elem",elem:s,shift:-d}]})}else{var v=d-s.depth-(l.height-y);v<b&&(d+=.5*(b-v),y+=.5*(b-v)),T=Pe({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:s,shift:-d}]})}i=t.havingStyle(r),T.height*=i.sizeMultiplier/t.sizeMultiplier,T.depth*=i.sizeMultiplier/t.sizeMultiplier;var M;r.size===xe.DISPLAY.size?M=t.fontMetrics().delim1:r.size===xe.SCRIPTSCRIPT.size?M=t.havingStyle(xe.SCRIPT).fontMetrics().delim2:M=t.fontMetrics().delim2;var B,O;return e.leftDelim==null?B=Ga(t,["mopen"]):B=ao(e.leftDelim,M,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?O=K([]):e.rightDelim==null?O=Ga(t,["mclose"]):O=ao(e.rightDelim,M,!0,t.havingStyle(r),e.mode,["mclose"]),K(["mord"].concat(i.sizingClasses(t)),[B,K(["mfrac"],[T]),O],t)},Ly=(e,t)=>{var r=new re("mfrac",[je(e.numer,t),je(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Qe(e.barSize,t);r.setAttribute("linethickness",ae(n))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var i=new re("mo",[new it(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),e.rightDelim!=null){var s=new re("mo",[new it(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return ml(a)}return r},Km=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};oe({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,u=null,o=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,u="(",o=")";break;case"\\\\bracefrac":s=!1,u="\\{",o="\\}";break;case"\\\\brackfrac":s=!1,u="[",o="]";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"),Km({type:"genfrac",mode:r.mode,numer:a,denom:i,continued:l,hasBarLine:s,leftDelim:u,rightDelim:o,barSize:null},c)},htmlBuilder:Dy,mathmlBuilder:Ly});oe({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 q1=["display","text","script","scriptscript"],$1=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};oe({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=Ts(t[0]),s=i.type==="atom"&&i.family==="open"?$1(i.text):null,u=Ts(t[1]),o=u.type==="atom"&&u.family==="close"?$1(u.text):null,l=Ae(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var p=null,d=t[3];if(d.type==="ordgroup"){if(d.body.length>0){var b=Ae(d.body[0],"textord");p=q1[Number(b.text)]}}else d=Ae(d,"textord"),p=q1[Number(d.text)];return Km({type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:c,barSize:f,leftDelim:s,rightDelim:o},p)}});oe({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:Ae(t[0],"size").value,token:a}}});oe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=Ae(t[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var s=t[2],u=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:s,continued:!1,hasBarLine:u,barSize:i,leftDelim:null,rightDelim:null}}});var Qm=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?Fe(e.sup,t.havingStyle(r.sup()),t):Fe(e.sub,t.havingStyle(r.sub()),t),a=Ae(e.base,"horizBrace")):a=Ae(e,"horizBrace");var i=Fe(a.base,t.havingBaseStyle(xe.DISPLAY)),s=Zs(a,t),u;if(a.isOver?(u=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]}),u.children[0].children[0].children[1].classes.push("svg-align")):(u=Pe({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]}),u.children[0].children[0].children[0].classes.push("svg-align")),n){var o=K(["minner",a.isOver?"mover":"munder"],[u],t);a.isOver?u=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.2},{type:"elem",elem:n}]}):u=Pe({positionType:"bottom",positionData:o.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:o}]})}return K(["minner",a.isOver?"mover":"munder"],[u],t)},My=(e,t)=>{var r=Js(e.label);return new re(e.isOver?"mover":"munder",[je(e.base,t),r])};oe({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:Qm,mathmlBuilder:My});oe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=Ae(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:at(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=ct(e.body,t,!1);return J9(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Wr(e.body,t);return r instanceof re||(r=new re("mrow",[r])),r.setAttribute("href",e.href),r}});oe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Ae(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 u={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:at(u)}}});oe({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:at(t[0])}},htmlBuilder(e,t){var r=ct(e.body,t,!1);return Nr(r)},mathmlBuilder(e,t){return new re("mrow",zt(e.body,t))}});oe({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=Ae(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,o={};switch(n){case"\\htmlClass":o.class=i,u={command:"\\htmlClass",class:i};break;case"\\htmlId":o.id=i,u={command:"\\htmlId",id:i};break;case"\\htmlStyle":o.style=i,u={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 ee("\\htmlData key/value '"+f+"' missing equals sign");var d=f.slice(0,p),b=f.slice(p+1);o["data-"+d.trim()]=b}u={command:"\\htmlData",attributes:o};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(u)?{type:"html",mode:r.mode,attributes:o,body:at(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=ct(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=K(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)=>Wr(e.body,t)});oe({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:at(t[0]),mathml:at(t[1])}},htmlBuilder:(e,t)=>{var r=ct(e.html,t,!1);return Nr(r)},mathmlBuilder:(e,t)=>Wr(e.mathml,t)});var au=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 ee("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!mm(n))throw new ee("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};oe({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"},u="";if(r[0])for(var o=Ae(r[0],"raw").string,l=o.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":u=p;break;case"width":a=au(p);break;case"height":i=au(p);break;case"totalheight":s=au(p);break;default:throw new ee("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var d=Ae(t[0],"url").url;return u===""&&(u=d,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:d})?{type:"includegraphics",mode:n.mode,alt:u,width:a,height:i,totalheight:s,src:d}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Qe(e.height,t),n=0;e.totalheight.number>0&&(n=Qe(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=Qe(e.width,t));var i={height:ae(r+n)};a>0&&(i.width=ae(a)),n>0&&(i.verticalAlign=ae(-n));var s=new H9(e.src,e.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new re("mglyph",[]);r.setAttribute("alt",e.alt);var n=Qe(e.height,t),a=0;if(e.totalheight.number>0&&(a=Qe(e.totalheight,t)-n,r.setAttribute("valign",ae(-a))),r.setAttribute("height",ae(n+a)),e.width.number>0){var i=Qe(e.width,t);r.setAttribute("width",ae(i))}return r.setAttribute("src",e.src),r}});oe({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=Ae(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 xm(e.dimension,t)},mathmlBuilder(e,t){var r=Qe(e.dimension,t);return new km(r)}});oe({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=K([],[Fe(e.body,t)]),r=K(["inner"],[r],t)):r=K(["inner"],[Fe(e.body,t)]);var n=K(["fix"],[]),a=K([e.alignment],[r,n],t),i=K(["strut"]);return i.style.height=ae(a.height+a.depth),a.depth&&(i.style.verticalAlign=ae(-a.depth)),a.children.unshift(i),a=K(["thinbox"],[a],t),K(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new re("mpadded",[je(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}});oe({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}}});oe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ee("Mismatched "+e.funcName)}});var Y1=(e,t)=>{switch(t.style.size){case xe.DISPLAY.size:return e.display;case xe.TEXT.size:return e.text;case xe.SCRIPT.size:return e.script;case xe.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};oe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:at(t[0]),text:at(t[1]),script:at(t[2]),scriptscript:at(t[3])}},htmlBuilder:(e,t)=>{var r=Y1(e,t),n=ct(r,t,!1);return Nr(n)},mathmlBuilder:(e,t)=>{var r=Y1(e,t);return Wr(r,t)}});var Jm=(e,t,r,n,a,i,s)=>{e=K([],[e]);var u=r&&Ir(r),o,l;if(t){var c=Fe(t,n.havingStyle(a.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=Fe(r,n.havingStyle(a.sub()),n);o={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var p;if(l&&o){var d=n.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+s;p=Pe({positionType:"bottom",positionData:d,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ae(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ae(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(o){var b=e.height-s;p=Pe({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ae(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e}]})}else if(l){var y=e.depth+s;p=Pe({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ae(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return e;var T=[p];if(o&&i!==0&&!u){var v=K(["mspace"],[],n);v.style.marginRight=ae(i),T.unshift(v)}return K(["mop","op-limits"],T,n)},Zm=new Set(["\\smallint"]),ua=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ae(e.base,"op"),a=!0):i=Ae(e,"op");var s=t.style,u=!1;s.size===xe.DISPLAY.size&&i.symbol&&!Zm.has(i.name)&&(u=!0);var o;if(i.symbol){var l=u?"Size2-Regular":"Size1-Regular",c="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(c=i.name.slice(1),i.name=c==="oiint"?"\\iint":"\\iiint"),o=vt(i.name,l,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),c.length>0){var f=o.italic,p=vm(c+"Size"+(u?"2":"1"),t);o=Pe({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:p,shift:u?.08:0}]}),i.name="\\"+c,o.classes.unshift("mop"),o.italic=f}}else if(i.body){var d=ct(i.body,t,!0);d.length===1&&d[0]instanceof Ft?(o=d[0],o.classes[0]="mop"):o=K(["mop"],d,t)}else{for(var b=[],y=1;y<i.name.length;y++)b.push(hl(i.name[y],i.mode,t));o=K(["mop"],b,t)}var T=0,v=0;return(o instanceof Ft||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(T=(o.height-o.depth)/2-t.fontMetrics().axisHeight,v=o.italic||0),a?Jm(o,r,n,t,s,v,T):(T&&(o.style.position="relative",o.style.top=ae(T)),o)},fi=(e,t)=>{var r;if(e.symbol)r=new re("mo",[Vt(e.name,e.mode)]),Zm.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new re("mo",zt(e.body,t));else{r=new re("mi",[new it(e.name.slice(1))]);var n=new re("mo",[Vt("⁡","text")]);e.parentIsSupSub?r=new re("mrow",[r,n]):r=Sm([r,n])}return r},Py={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};oe({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=Py[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ua,mathmlBuilder:fi});oe({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:at(n)}},htmlBuilder:ua,mathmlBuilder:fi});var Fy={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};oe({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:ua,mathmlBuilder:fi});oe({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:ua,mathmlBuilder:fi});oe({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=Fy[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ua,mathmlBuilder:fi});var ep=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ae(e.base,"operatorname"),a=!0):i=Ae(e,"operatorname");var s;if(i.body.length>0){for(var u=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}),o=ct(u,t.withFont("mathrm"),!0),l=0;l<o.length;l++){var c=o[l];c instanceof Ft&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=K(["mop"],o,t)}else s=K(["mop"],[],t);return a?Jm(s,r,n,t,t.style,0,0):s},By=(e,t)=>{for(var r=zt(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof km))if(i instanceof re)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 it?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var u=r.map(c=>c.toText()).join("");r=[new it(u)]}var o=new re("mi",r);o.setAttribute("mathvariant","normal");var l=new re("mo",[Vt("⁡","text")]);return e.parentIsSupSub?new re("mrow",[o,l]):Sm([o,l])};oe({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:at(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:ep,mathmlBuilder:By});x("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");wn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?Nr(ct(e.body,t,!1)):K(["mord"],ct(e.body,t,!0),t)},mathmlBuilder(e,t){return Wr(e.body,t,!0)}});oe({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=Fe(e.body,t.havingCrampedStyle()),n=Gn("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return K(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new re("mo",[new it("‾")]);r.setAttribute("stretchy","true");var n=new re("mover",[je(e.body,t),r]);return n.setAttribute("accent","true"),n}});oe({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:at(n)}},htmlBuilder:(e,t)=>{var r=ct(e.body,t.withPhantom(),!1);return Nr(r)},mathmlBuilder:(e,t)=>{var r=zt(e.body,t);return new re("mphantom",r)}});x("\\hphantom","\\smash{\\phantom{#1}}");oe({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=K(["inner"],[Fe(e.body,t.withPhantom())]),n=K(["fix"],[]);return K(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=zt(at(e.body),t),n=new re("mphantom",r),a=new re("mpadded",[n]);return a.setAttribute("width","0px"),a}});oe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Ae(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=Fe(e.body,t),n=Qe(e.dy,t);return Pe({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new re("mpadded",[je(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});oe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});oe({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=Ae(t[0],"size"),s=Ae(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&Ae(a,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=K(["mord","rule"],[],t),n=Qe(e.width,t),a=Qe(e.height,t),i=e.shift?Qe(e.shift,t):0;return r.style.borderRightWidth=ae(n),r.style.borderTopWidth=ae(a),r.style.bottom=ae(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Qe(e.width,t),n=Qe(e.height,t),a=e.shift?Qe(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new re("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",ae(r)),s.setAttribute("height",ae(n));var u=new re("mpadded",[s]);return a>=0?u.setAttribute("height",ae(a)):(u.setAttribute("height",ae(a)),u.setAttribute("depth",ae(-a))),u.setAttribute("voffset",ae(a)),u}});function tp(e,t,r){for(var n=ct(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 Nr(n)}var V1=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],zy=(e,t)=>{var r=t.havingSize(e.size);return tp(e.body,r,t)};oe({type:"sizing",names:V1,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:V1.indexOf(n)+1,body:i}},htmlBuilder:zy,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=zt(e.body,r),a=new re("mstyle",n);return a.setAttribute("mathsize",ae(r.sizeMultiplier)),a}});oe({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]&&Ae(r[0],"ordgroup");if(s)for(var u="",o=0;o<s.body.length;++o){var l=s.body[o];if(u=e0(l).text,u==="t")a=!0;else if(u==="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=K([],[Fe(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 K(["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=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return K(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new re("mpadded",[je(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});oe({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=Fe(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=Xn(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<xe.TEXT.id&&(i=t.fontMetrics().xHeight);var s=a+i/4,u=r.height+r.depth+s+a,{span:o,ruleWidth:l,advanceWidth:c}=Sy(u,t),f=o.height-l;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var p=o.height-r.height-s-l;r.style.paddingLeft=ae(c);var d=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:o},{type:"kern",size:l}]});if(e.index){var b=t.havingStyle(xe.SCRIPTSCRIPT),y=Fe(e.index,b,t),T=.6*(d.height-d.depth),v=Pe({positionType:"shift",positionData:-T,children:[{type:"elem",elem:y}]}),S=K(["root"],[v]);return K(["mord","sqrt"],[S,d],t)}else return K(["mord","sqrt"],[d],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new re("mroot",[je(r,t),je(n,t)]):new re("msqrt",[je(r,t)])}});var W1={display:xe.DISPLAY,text:xe.TEXT,script:xe.SCRIPT,scriptscript:xe.SCRIPTSCRIPT};oe({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=W1[e.style],n=t.havingStyle(r).withFont("");return tp(e.body,n,t)},mathmlBuilder(e,t){var r=W1[e.style],n=t.havingStyle(r),a=zt(e.body,n),i=new re("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=s[e.style];return i.setAttribute("scriptlevel",u[0]),i.setAttribute("displaystyle",u[1]),i}});var Hy=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===xe.DISPLAY.size||n.alwaysHandleSupSub);return a?ua:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===xe.DISPLAY.size||n.limits);return i?ep:null}else{if(n.type==="accent")return Ir(n.base)?gl:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Qm:null}else return null}else return null};wn({type:"supsub",htmlBuilder(e,t){var r=Hy(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,s=Fe(n,t),u,o,l=t.fontMetrics(),c=0,f=0,p=n&&Ir(n);if(a){var d=t.havingStyle(t.style.sup());u=Fe(a,d,t),p||(c=s.height-d.fontMetrics().supDrop*d.sizeMultiplier/t.sizeMultiplier)}if(i){var b=t.havingStyle(t.style.sub());o=Fe(i,b,t),p||(f=s.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var y;t.style===xe.DISPLAY?y=l.sup1:t.style.cramped?y=l.sup3:y=l.sup2;var T=t.sizeMultiplier,v=ae(.5/l.ptPerEm/T),S=null;if(o){var w=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof Ft||w)&&(S=ae(-s.italic))}var M;if(u&&o){c=Math.max(c,y,u.depth+.25*l.xHeight),f=Math.max(f,l.sub2);var B=l.defaultRuleThickness,O=4*B;if(c-u.depth-(o.height-f)<O){f=O-(c-u.depth)+o.height;var D=.8*l.xHeight-(c-u.depth);D>0&&(c+=D,f-=D)}var z=[{type:"elem",elem:o,shift:f,marginRight:v,marginLeft:S},{type:"elem",elem:u,shift:-c,marginRight:v}];M=Pe({positionType:"individualShift",children:z})}else if(o){f=Math.max(f,l.sub1,o.height-.8*l.xHeight);var U=[{type:"elem",elem:o,marginLeft:S,marginRight:v}];M=Pe({positionType:"shift",positionData:f,children:U})}else if(u)c=Math.max(c,y,u.depth+.25*l.xHeight),M=Pe({positionType:"shift",positionData:-c,children:[{type:"elem",elem:u,marginRight:v}]});else throw new Error("supsub must have either sup or sub.");var P=eo(s,"right")||"mord";return K([P],[s,K(["msupsub"],[M])],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=[je(e.base,t)];e.sub&&i.push(je(e.sub,t)),e.sup&&i.push(je(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===xe.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===xe.DISPLAY||l.limits)?s="munderover":s="msubsup"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===xe.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===xe.DISPLAY)?s="munder":s="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===xe.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===xe.DISPLAY)?s="mover":s="msup"}return new re(s,i)}});wn({type:"atom",htmlBuilder(e,t){return hl(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new re("mo",[Vt(e.text,e.mode)]);if(e.family==="bin"){var n=pl(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 rp={mi:"italic",mn:"normal",mtext:"normal"};wn({type:"mathord",htmlBuilder(e,t){return Qs(e,t,"mathord")},mathmlBuilder(e,t){var r=new re("mi",[Vt(e.text,e.mode,t)]),n=pl(e,t)||"italic";return n!==rp[r.type]&&r.setAttribute("mathvariant",n),r}});wn({type:"textord",htmlBuilder(e,t){return Qs(e,t,"textord")},mathmlBuilder(e,t){var r=Vt(e.text,e.mode,t),n=pl(e,t)||"normal",a;return e.mode==="text"?a=new re("mtext",[r]):/[0-9]/.test(e.text)?a=new re("mn",[r]):e.text==="\\prime"?a=new re("mo",[r]):a=new re("mi",[r]),n!==rp[a.type]&&a.setAttribute("mathvariant",n),a}});var iu={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},su={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};wn({type:"spacing",htmlBuilder(e,t){if(su.hasOwnProperty(e.text)){var r=su[e.text].className||"";if(e.mode==="text"){var n=Qs(e,t,"textord");return n.classes.push(r),n}else return K(["mspace",r],[hl(e.text,e.mode,t)],t)}else{if(iu.hasOwnProperty(e.text))return K(["mspace",iu[e.text]],[],t);throw new ee('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(su.hasOwnProperty(e.text))r=new re("mtext",[new it(" ")]);else{if(iu.hasOwnProperty(e.text))return new re("mspace");throw new ee('Unknown type of space "'+e.text+'"')}return r}});var G1=()=>{var e=new re("mtd",[]);return e.setAttribute("width","50%"),e};wn({type:"tag",mathmlBuilder(e,t){var r=new re("mtable",[new re("mtr",[G1(),new re("mtd",[Wr(e.body,t)]),G1(),new re("mtd",[Wr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var X1={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},K1={"\\textbf":"textbf","\\textmd":"textmd"},Uy={"\\textit":"textit","\\textup":"textup"},Q1=(e,t)=>{var r=e.font;if(r){if(X1[r])return t.withTextFontFamily(X1[r]);if(K1[r])return t.withTextFontWeight(K1[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Uy[r])};oe({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:at(a),font:n}},htmlBuilder(e,t){var r=Q1(e,t),n=ct(e.body,r,!0);return K(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Q1(e,t);return Wr(e.body,r)}});oe({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=Fe(e.body,t),n=Gn("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=Pe({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return K(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new re("mo",[new it("‾")]);r.setAttribute("stretchy","true");var n=new re("munder",[je(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});oe({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=Fe(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return Pe({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){return new re("mpadded",[je(e.body,t)],["vcenter"])}});oe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new ee("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=J1(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(vt(s,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return K(["mord","text"].concat(a.sizingClasses(t)),Em(n),a)},mathmlBuilder(e,t){var r=new it(J1(e)),n=new re("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var J1=e=>e.body.replace(/ /g,e.star?"␣":" "),jr=Am,np=`[ \r
286
+ ]`,jy="\\\\[a-zA-Z@]+",qy="\\\\[^\uD800-\uDFFF]",$y="("+jy+")"+np+"*",Yy=`\\\\(
287
+ |[ \r ]+
288
+ ?)[ \r ]*`,io="[̀-ͯ]",Vy=new RegExp(io+"+$"),Wy="("+np+"+)|"+(Yy+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(io+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(io+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+$y)+("|"+qy+")");class Z1{constructor(t,r){this.input=t,this.settings=r,this.tokenRegex=new RegExp(Wy,"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 Pt("EOF",new It(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new ee("Unexpected character: '"+t[r]+"'",new Pt(t[r],new It(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
289
+ `,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 Pt(a,new It(this,r,this.tokenRegex.lastIndex))}}class Gy{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 ee("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 Xy=Vm;x("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}});x("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}});x("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}});x("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}});x("\\@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}});x("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");x("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var ef={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};x("\\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 ee("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=ef[t.text],n==null||n>=r)throw new ee("Invalid base-"+r+" digit "+t.text);for(var a;(a=ef[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var xl=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new ee("\\newcommand's first argument must be a macro name");var i=a[0].text,s=e.isDefined(i);if(s&&!t)throw new ee("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new ee("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var u=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var o="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)o+=l.text,l=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new ee("Invalid number of arguments: "+o);u=parseInt(o),a=e.consumeArg().tokens}return s&&n||e.macros.set(i,{tokens:a,numArgs:u}),""};x("\\newcommand",e=>xl(e,!1,!0,!1));x("\\renewcommand",e=>xl(e,!0,!1,!1));x("\\providecommand",e=>xl(e,!0,!0,!0));x("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""});x("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""});x("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),jr[r],We.math[r],We.text[r]),""});x("\\bgroup","{");x("\\egroup","}");x("~","\\nobreakspace");x("\\lq","`");x("\\rq","'");x("\\aa","\\r a");x("\\AA","\\r A");x("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");x("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");x("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");x("ℬ","\\mathscr{B}");x("ℰ","\\mathscr{E}");x("ℱ","\\mathscr{F}");x("ℋ","\\mathscr{H}");x("ℐ","\\mathscr{I}");x("ℒ","\\mathscr{L}");x("ℳ","\\mathscr{M}");x("ℛ","\\mathscr{R}");x("ℭ","\\mathfrak{C}");x("ℌ","\\mathfrak{H}");x("ℨ","\\mathfrak{Z}");x("\\Bbbk","\\Bbb{k}");x("\\llap","\\mathllap{\\textrm{#1}}");x("\\rlap","\\mathrlap{\\textrm{#1}}");x("\\clap","\\mathclap{\\textrm{#1}}");x("\\mathstrut","\\vphantom{(}");x("\\underbar","\\underline{\\text{#1}}");x("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');x("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");x("\\ne","\\neq");x("≠","\\neq");x("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");x("∉","\\notin");x("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");x("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");x("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");x("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");x("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");x("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");x("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");x("⟂","\\perp");x("‼","\\mathclose{!\\mkern-0.8mu!}");x("∌","\\notni");x("⌜","\\ulcorner");x("⌝","\\urcorner");x("⌞","\\llcorner");x("⌟","\\lrcorner");x("©","\\copyright");x("®","\\textregistered");x("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');x("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');x("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');x("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');x("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");x("⋮","\\vdots");x("\\varGamma","\\mathit{\\Gamma}");x("\\varDelta","\\mathit{\\Delta}");x("\\varTheta","\\mathit{\\Theta}");x("\\varLambda","\\mathit{\\Lambda}");x("\\varXi","\\mathit{\\Xi}");x("\\varPi","\\mathit{\\Pi}");x("\\varSigma","\\mathit{\\Sigma}");x("\\varUpsilon","\\mathit{\\Upsilon}");x("\\varPhi","\\mathit{\\Phi}");x("\\varPsi","\\mathit{\\Psi}");x("\\varOmega","\\mathit{\\Omega}");x("\\substack","\\begin{subarray}{c}#1\\end{subarray}");x("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");x("\\boxed","\\fbox{$\\displaystyle{#1}$}");x("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");x("\\implies","\\DOTSB\\;\\Longrightarrow\\;");x("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");x("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");x("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var tf={",":"\\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"},Ky=new Set(["bin","rel"]);x("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in tf?t=tf[r]:(r.slice(0,4)==="\\not"||r in We.math&&Ky.has(We.math[r].group))&&(t="\\dotsb"),t});var Tl={")":!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};x("\\dotso",function(e){var t=e.future().text;return t in Tl?"\\ldots\\,":"\\ldots"});x("\\dotsc",function(e){var t=e.future().text;return t in Tl&&t!==","?"\\ldots\\,":"\\ldots"});x("\\cdots",function(e){var t=e.future().text;return t in Tl?"\\@cdots\\,":"\\@cdots"});x("\\dotsb","\\cdots");x("\\dotsm","\\cdots");x("\\dotsi","\\!\\cdots");x("\\dotsx","\\ldots\\,");x("\\DOTSI","\\relax");x("\\DOTSB","\\relax");x("\\DOTSX","\\relax");x("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");x("\\,","\\tmspace+{3mu}{.1667em}");x("\\thinspace","\\,");x("\\>","\\mskip{4mu}");x("\\:","\\tmspace+{4mu}{.2222em}");x("\\medspace","\\:");x("\\;","\\tmspace+{5mu}{.2777em}");x("\\thickspace","\\;");x("\\!","\\tmspace-{3mu}{.1667em}");x("\\negthinspace","\\!");x("\\negmedspace","\\tmspace-{4mu}{.2222em}");x("\\negthickspace","\\tmspace-{5mu}{.277em}");x("\\enspace","\\kern.5em ");x("\\enskip","\\hskip.5em\\relax");x("\\quad","\\hskip1em\\relax");x("\\qquad","\\hskip2em\\relax");x("\\tag","\\@ifstar\\tag@literal\\tag@paren");x("\\tag@paren","\\tag@literal{({#1})}");x("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ee("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});x("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");x("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");x("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");x("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");x("\\newline","\\\\\\relax");x("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var ap=ae(ur["Main-Regular"][84][1]-.7*ur["Main-Regular"][65][1]);x("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+ap+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");x("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+ap+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");x("\\hspace","\\@ifstar\\@hspacer\\@hspace");x("\\@hspace","\\hskip #1\\relax");x("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");x("\\ordinarycolon",":");x("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");x("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');x("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');x("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');x("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');x("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');x("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');x("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');x("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');x("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');x("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');x("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');x("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');x("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');x("∷","\\dblcolon");x("∹","\\eqcolon");x("≔","\\coloneqq");x("≕","\\eqqcolon");x("⩴","\\Coloneqq");x("\\ratio","\\vcentcolon");x("\\coloncolon","\\dblcolon");x("\\colonequals","\\coloneqq");x("\\coloncolonequals","\\Coloneqq");x("\\equalscolon","\\eqqcolon");x("\\equalscoloncolon","\\Eqqcolon");x("\\colonminus","\\coloneq");x("\\coloncolonminus","\\Coloneq");x("\\minuscolon","\\eqcolon");x("\\minuscoloncolon","\\Eqcolon");x("\\coloncolonapprox","\\Colonapprox");x("\\coloncolonsim","\\Colonsim");x("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");x("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");x("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");x("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");x("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");x("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");x("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");x("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");x("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");x("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");x("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");x("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");x("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");x("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");x("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");x("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");x("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");x("\\nleqq","\\html@mathml{\\@nleqq}{≰}");x("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");x("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");x("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");x("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");x("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");x("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");x("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");x("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");x("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");x("\\imath","\\html@mathml{\\@imath}{ı}");x("\\jmath","\\html@mathml{\\@jmath}{ȷ}");x("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");x("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");x("⟦","\\llbracket");x("⟧","\\rrbracket");x("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");x("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");x("⦃","\\lBrace");x("⦄","\\rBrace");x("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");x("⦵","\\minuso");x("\\darr","\\downarrow");x("\\dArr","\\Downarrow");x("\\Darr","\\Downarrow");x("\\lang","\\langle");x("\\rang","\\rangle");x("\\uarr","\\uparrow");x("\\uArr","\\Uparrow");x("\\Uarr","\\Uparrow");x("\\N","\\mathbb{N}");x("\\R","\\mathbb{R}");x("\\Z","\\mathbb{Z}");x("\\alef","\\aleph");x("\\alefsym","\\aleph");x("\\Alpha","\\mathrm{A}");x("\\Beta","\\mathrm{B}");x("\\bull","\\bullet");x("\\Chi","\\mathrm{X}");x("\\clubs","\\clubsuit");x("\\cnums","\\mathbb{C}");x("\\Complex","\\mathbb{C}");x("\\Dagger","\\ddagger");x("\\diamonds","\\diamondsuit");x("\\empty","\\emptyset");x("\\Epsilon","\\mathrm{E}");x("\\Eta","\\mathrm{H}");x("\\exist","\\exists");x("\\harr","\\leftrightarrow");x("\\hArr","\\Leftrightarrow");x("\\Harr","\\Leftrightarrow");x("\\hearts","\\heartsuit");x("\\image","\\Im");x("\\infin","\\infty");x("\\Iota","\\mathrm{I}");x("\\isin","\\in");x("\\Kappa","\\mathrm{K}");x("\\larr","\\leftarrow");x("\\lArr","\\Leftarrow");x("\\Larr","\\Leftarrow");x("\\lrarr","\\leftrightarrow");x("\\lrArr","\\Leftrightarrow");x("\\Lrarr","\\Leftrightarrow");x("\\Mu","\\mathrm{M}");x("\\natnums","\\mathbb{N}");x("\\Nu","\\mathrm{N}");x("\\Omicron","\\mathrm{O}");x("\\plusmn","\\pm");x("\\rarr","\\rightarrow");x("\\rArr","\\Rightarrow");x("\\Rarr","\\Rightarrow");x("\\real","\\Re");x("\\reals","\\mathbb{R}");x("\\Reals","\\mathbb{R}");x("\\Rho","\\mathrm{P}");x("\\sdot","\\cdot");x("\\sect","\\S");x("\\spades","\\spadesuit");x("\\sub","\\subset");x("\\sube","\\subseteq");x("\\supe","\\supseteq");x("\\Tau","\\mathrm{T}");x("\\thetasym","\\vartheta");x("\\weierp","\\wp");x("\\Zeta","\\mathrm{Z}");x("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");x("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");x("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");x("\\bra","\\mathinner{\\langle{#1}|}");x("\\ket","\\mathinner{|{#1}\\rangle}");x("\\braket","\\mathinner{\\langle{#1}\\rangle}");x("\\Bra","\\left\\langle#1\\right|");x("\\Ket","\\left|#1\\right\\rangle");var ip=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.macros.get("|"),u=t.macros.get("\\|");t.macros.beginGroup();var o=f=>p=>{e&&(p.macros.set("|",s),a.length&&p.macros.set("\\|",u));var d=f;if(!f&&a.length){var b=p.future();b.text==="|"&&(p.popToken(),d=!0)}return{tokens:d?a:n,numArgs:0}};t.macros.set("|",o(!1)),a.length&&t.macros.set("\\|",o(!0));var l=t.consumeArg().tokens,c=t.expandTokens([...i,...l,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};x("\\bra@ket",ip(!1));x("\\bra@set",ip(!0));x("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");x("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");x("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");x("\\angln","{\\angl n}");x("\\blue","\\textcolor{##6495ed}{#1}");x("\\orange","\\textcolor{##ffa500}{#1}");x("\\pink","\\textcolor{##ff00af}{#1}");x("\\red","\\textcolor{##df0030}{#1}");x("\\green","\\textcolor{##28ae7b}{#1}");x("\\gray","\\textcolor{gray}{#1}");x("\\purple","\\textcolor{##9d38bd}{#1}");x("\\blueA","\\textcolor{##ccfaff}{#1}");x("\\blueB","\\textcolor{##80f6ff}{#1}");x("\\blueC","\\textcolor{##63d9ea}{#1}");x("\\blueD","\\textcolor{##11accd}{#1}");x("\\blueE","\\textcolor{##0c7f99}{#1}");x("\\tealA","\\textcolor{##94fff5}{#1}");x("\\tealB","\\textcolor{##26edd5}{#1}");x("\\tealC","\\textcolor{##01d1c1}{#1}");x("\\tealD","\\textcolor{##01a995}{#1}");x("\\tealE","\\textcolor{##208170}{#1}");x("\\greenA","\\textcolor{##b6ffb0}{#1}");x("\\greenB","\\textcolor{##8af281}{#1}");x("\\greenC","\\textcolor{##74cf70}{#1}");x("\\greenD","\\textcolor{##1fab54}{#1}");x("\\greenE","\\textcolor{##0d923f}{#1}");x("\\goldA","\\textcolor{##ffd0a9}{#1}");x("\\goldB","\\textcolor{##ffbb71}{#1}");x("\\goldC","\\textcolor{##ff9c39}{#1}");x("\\goldD","\\textcolor{##e07d10}{#1}");x("\\goldE","\\textcolor{##a75a05}{#1}");x("\\redA","\\textcolor{##fca9a9}{#1}");x("\\redB","\\textcolor{##ff8482}{#1}");x("\\redC","\\textcolor{##f9685d}{#1}");x("\\redD","\\textcolor{##e84d39}{#1}");x("\\redE","\\textcolor{##bc2612}{#1}");x("\\maroonA","\\textcolor{##ffbde0}{#1}");x("\\maroonB","\\textcolor{##ff92c6}{#1}");x("\\maroonC","\\textcolor{##ed5fa6}{#1}");x("\\maroonD","\\textcolor{##ca337c}{#1}");x("\\maroonE","\\textcolor{##9e034e}{#1}");x("\\purpleA","\\textcolor{##ddd7ff}{#1}");x("\\purpleB","\\textcolor{##c6b9fc}{#1}");x("\\purpleC","\\textcolor{##aa87ff}{#1}");x("\\purpleD","\\textcolor{##7854ab}{#1}");x("\\purpleE","\\textcolor{##543b78}{#1}");x("\\mintA","\\textcolor{##f5f9e8}{#1}");x("\\mintB","\\textcolor{##edf2df}{#1}");x("\\mintC","\\textcolor{##e0e5cc}{#1}");x("\\grayA","\\textcolor{##f6f7f7}{#1}");x("\\grayB","\\textcolor{##f0f1f2}{#1}");x("\\grayC","\\textcolor{##e3e5e6}{#1}");x("\\grayD","\\textcolor{##d6d8da}{#1}");x("\\grayE","\\textcolor{##babec2}{#1}");x("\\grayF","\\textcolor{##888d93}{#1}");x("\\grayG","\\textcolor{##626569}{#1}");x("\\grayH","\\textcolor{##3b3e40}{#1}");x("\\grayI","\\textcolor{##21242c}{#1}");x("\\kaBlue","\\textcolor{##314453}{#1}");x("\\kaGreen","\\textcolor{##71B307}{#1}");var sp={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Qy{constructor(t,r,n){this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new Gy(Xy,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new Z1(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 Pt("EOF",n.loc)),this.pushTokens(a),new Pt("",It.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,u=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new ee("Extra }",i)}else if(i.text==="EOF")throw new ee("Unexpected end of input in a macro argument, expected '"+(t&&n?t[u]:"}")+"'",i);if(t&&n)if((s===0||s===1&&t[u]==="{")&&i.text===t[u]){if(++u,u===t.length){r.splice(-u,u);break}}else u=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 ee("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 ee("Use of the macro doesn't match its definition",i)}}for(var s=[],u=0;u<t;u++)s.push(this.consumeArg(r&&r[u+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ee("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 ee("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 u=i.length-1;u>=0;--u){var o=i[u];if(o.text==="#"){if(u===0)throw new ee("Incomplete placeholder at end of macro body",o);if(o=i[--u],o.text==="#")i.splice(u+1,1);else if(/^[1-9]$/.test(o.text))i.splice(u,2,...s[+o.text-1]);else throw new ee("Not a valid argument number",o)}}}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 Pt(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 u=new Z1(a,this.settings),o=[],l=u.lex();l.text!=="EOF";)o.push(l),l=u.lex();o.reverse();var c={tokens:o,numArgs:i};return c}return a}isDefined(t){return this.macros.has(t)||jr.hasOwnProperty(t)||We.math.hasOwnProperty(t)||We.text.hasOwnProperty(t)||sp.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:jr.hasOwnProperty(t)&&!jr[t].primitive}}var rf=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,zi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),uu={"́":{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"}},nf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let up=class op{constructor(t,r){this.mode="math",this.gullet=new Qy(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 ee("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 Pt("}")),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(op.endOfExpression.has(a.text)||r&&a.text===r||t&&jr[a.text]&&jr[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 ee("only one infix operator per group",i.token);r=a,n=i.replaceWith}}if(r!==-1&&n){var s,u,o=t.slice(0,r),l=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?s=o[0]:s={type:"ordgroup",mode:this.mode,body:o},l.length===1&&l[0].type==="ordgroup"?u=l[0]:u={type:"ordgroup",mode:this.mode,body:l};var c;return n==="\\\\abovefrac"?c=this.callFunction(n,[s,t[r],u],[]):c=this.callFunction(n,[s,u],[]),[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 ee("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 ee("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new ee("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new ee("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new ee("Double superscript",i);var u={type:"textord",mode:this.mode,text:"\\prime"},o=[u];for(this.consume();this.fetch().text==="'";)o.push(u),this.consume();this.fetch().text==="^"&&o.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:o}}else if(zi[i.text]){var l=rf.test(i.text),c=[];for(c.push(new Pt(zi[i.text])),this.consume();;){var f=this.fetch().text;if(!zi[f]||rf.test(f)!==l)break;c.unshift(new Pt(zi[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=jr[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new ee("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new ee("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new ee("Can't use function '"+a+"' in math mode",n);var{args:s,optArgs:u}=this.parseArguments(a,i);return this.callFunction(a,s,u,n,t)}callFunction(t,r,n,a,i){var s={funcName:t,parser:this,token:a,breakOnTokenText:i},u=jr[t];if(u&&u.handler)return u.handler(s,r,n);throw new ee("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 u=r.argTypes&&r.argTypes[s],o=s<r.numOptionalArgs;("primitive"in r&&r.primitive&&u==null||r.type==="sqrt"&&s===1&&i[0]==null)&&(u="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",u,o);if(o)i.push(l);else if(l!=null)a.push(l);else throw new ee("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 ee("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new ee("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new ee("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 ee("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 ee("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 ee("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!mm(i))throw new ee("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 u=this.parseExpression(!1,s),o=this.fetch();this.expect(s),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:It.range(n,o),body:u,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!sp.hasOwnProperty(a)){if(this.settings.throwOnError)throw new ee("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 u=t[n+2];n+1<r&&u&&u.type==="textord"&&u.text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:It.range(a,u),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:It.range(a,s),text:"--"}),r-=1)}(i==="'"||i==="`")&&s.text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:It.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 ee(`\\verb assertion failed --
290
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}nf.hasOwnProperty(r[0])&&!We[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=nf[r[0]]+r.slice(1));var i=Vy.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(We[this.mode][r]){this.settings.strict&&this.mode==="math"&&Ku.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var u=We[this.mode][r].group,o=It.range(t),l;if(W9.hasOwnProperty(u)){var c=u;l={type:"atom",mode:this.mode,family:c,loc:o,text:r}}else l={type:u,mode:this.mode,loc:o,text:r};s=l}else if(r.charCodeAt(0)>=128)this.settings.strict&&(dm(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:It.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(!uu[p])throw new ee("Unknown accent ' "+p+"'",t);var d=uu[p][this.mode]||uu[p].text;if(!d)throw new ee("Accent "+p+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:It.range(t),label:d,isStretchy:!1,isShifty:!0,base:s}}return s}};up.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var vl=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new up(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 ee("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new Pt("\\df@tag")])}]}return a},lp=function(t,r,n){r.textContent="";var a=Al(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."),lp=function(){throw new ee("KaTeX doesn't work in quirks mode.")});var Jy=function(t,r){var n=Al(t,r).toMarkup();return n},Zy=function(t,r){var n=new ll(r);return vl(t,n)},cp=function(t,r,n){if(n.throwOnError||!(t instanceof ee))throw t;var a=K(["katex-error"],[new Ft(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},Al=function(t,r){var n=new ll(r);try{var a=vl(t,n);return ly(a,t,n)}catch(i){return cp(i,t,n)}},eE=function(t,r){var n=new ll(r);try{var a=vl(t,n);return cy(a,t,n)}catch(i){return cp(i,t,n)}},tE="0.16.44",rE={Span:ia,Anchor:Xs,SymbolNode:Ft,SvgNode:Sr,PathNode:Yr,LineNode:Xu},af={version:tE,render:lp,renderToString:Jy,ParseError:ee,SETTINGS_SCHEMA:Vu,__parse:Zy,__renderToDomTree:Al,__renderToHTMLTree:eE,__setFontMetrics:Y9,__defineSymbol:m,__defineFunction:oe,__defineMacro:x,__domTree:rE};const nE={};function aE(e){const t=this,r=e||nE,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(m9(r)),i.push(s9()),s.push(u9(r))}function sf(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 iE(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function fp(e,t,r){const a=oi((r||{}).ignore||[]),i=sE(t);let s=-1;for(;++s<i.length;)sl(e,"text",u);function u(l,c){let f=-1,p;for(;++f<c.length;){const d=c[f],b=p?p.children:void 0;if(a(d,b?b.indexOf(d):void 0,p))return;p=d}if(p)return o(l,c)}function o(l,c){const f=c[c.length-1],p=i[s][0],d=i[s][1];let b=0;const T=f.children.indexOf(l);let v=!1,S=[];p.lastIndex=0;let w=p.exec(l.value);for(;w;){const M=w.index,B={index:w.index,input:w.input,stack:[...c,l]};let O=d(...w,B);if(typeof O=="string"&&(O=O.length>0?{type:"text",value:O}:void 0),O===!1?p.lastIndex=M+1:(b!==M&&S.push({type:"text",value:l.value.slice(b,M)}),Array.isArray(O)?S.push(...O):O&&S.push(O),b=M+w[0].length,v=!0),!p.global)break;w=p.exec(l.value)}return v?(b<l.value.length&&S.push({type:"text",value:l.value.slice(b)}),f.children.splice(T,1,...S)):S=[l],T+S.length}}function sE(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([uE(a[0]),oE(a[1])])}return t}function uE(e){return typeof e=="string"?new RegExp(iE(e),"g"):e}function oE(e){return typeof e=="function"?e:function(){return e}}const ou="phrasing",lu=["autolink","link","image","label"];function lE(){return{transforms:[gE],enter:{literalAutolink:fE,literalAutolinkEmail:cu,literalAutolinkHttp:cu,literalAutolinkWww:cu},exit:{literalAutolink:pE,literalAutolinkEmail:mE,literalAutolinkHttp:hE,literalAutolinkWww:dE}}}function cE(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:ou,notInConstruct:lu},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:ou,notInConstruct:lu},{character:":",before:"[ps]",after:"\\/",inConstruct:ou,notInConstruct:lu}]}}function fE(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function cu(e){this.config.enter.autolinkProtocol.call(this,e)}function hE(e){this.config.exit.autolinkProtocol.call(this,e)}function dE(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 mE(e){this.config.exit.autolinkEmail.call(this,e)}function pE(e){this.exit(e)}function gE(e){fp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,bE],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,yE]],{ignore:["link","linkReference"]})}function bE(e,t,r,n,a){let i="";if(!hp(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!EE(r)))return!1;const s=xE(r+n);if(!s[0])return!1;const u={type:"link",title:null,url:i+t+s[0],children:[{type:"text",value:t+s[0]}]};return s[1]?[u,{type:"text",value:s[1]}]:u}function yE(e,t,r,n){return!hp(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function EE(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 xE(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=sf(e,"(");let i=sf(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 hp(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||En(r)||$s(r))&&(!t||r!==47)}dp.peek=_E;function TE(){this.buffer()}function vE(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function AE(){this.buffer()}function wE(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function SE(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Zt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function kE(e){this.exit(e)}function CE(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Zt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function IE(e){this.exit(e)}function _E(){return"["}function dp(e,t,r,n){const a=r.createTracker(n);let i=a.move("[^");const s=r.enter("footnoteReference"),u=r.enter("reference");return i+=a.move(r.safe(r.associationId(e),{after:"]",before:i})),u(),s(),i+=a.move("]"),i}function NE(){return{enter:{gfmFootnoteCallString:TE,gfmFootnoteCall:vE,gfmFootnoteDefinitionLabelString:AE,gfmFootnoteDefinition:wE},exit:{gfmFootnoteCallString:SE,gfmFootnoteCall:kE,gfmFootnoteDefinitionLabelString:CE,gfmFootnoteDefinition:IE}}}function OE(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:dp},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,s){const u=i.createTracker(s);let o=u.move("[^");const l=i.enter("footnoteDefinition"),c=i.enter("label");return o+=u.move(i.safe(i.associationId(n),{before:o,after:"]"})),c(),o+=u.move("]:"),n.children&&n.children.length>0&&(u.shift(4),o+=u.move((t?`
291
+ `:" ")+i.indentLines(i.containerFlow(n,u.current()),t?mp:RE))),l(),o}}function RE(e,t,r){return t===0?e:mp(e,t,r)}function mp(e,t,r){return(r?"":" ")+e}const DE=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];pp.peek=BE;function LE(){return{canContainEols:["delete"],enter:{strikethrough:PE},exit:{strikethrough:FE}}}function ME(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:DE}],handlers:{delete:pp}}}function PE(e){this.enter({type:"delete",children:[]},e)}function FE(e){this.exit(e)}function pp(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(e,tt(J({},a.current()),{before:s,after:"~"})),s+=a.move("~~"),i(),s}function BE(){return"~"}function zE(e){return e.length}function HE(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||zE,i=[],s=[],u=[],o=[];let l=0,c=-1;for(;++c<e.length;){const y=[],T=[];let v=-1;for(e[c].length>l&&(l=e[c].length);++v<e[c].length;){const S=UE(e[c][v]);if(r.alignDelimiters!==!1){const w=a(S);T[v]=w,(o[v]===void 0||w>o[v])&&(o[v]=w)}y.push(S)}s[c]=y,u[c]=T}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)i[f]=uf(n[f]);else{const y=uf(n);for(;++f<l;)i[f]=y}f=-1;const p=[],d=[];for(;++f<l;){const y=i[f];let T="",v="";y===99?(T=":",v=":"):y===108?T=":":y===114&&(v=":");let S=r.alignDelimiters===!1?1:Math.max(1,o[f]-T.length-v.length);const w=T+"-".repeat(S)+v;r.alignDelimiters!==!1&&(S=T.length+S+v.length,S>o[f]&&(o[f]=S),d[f]=S),p[f]=w}s.splice(1,0,p),u.splice(1,0,d),c=-1;const b=[];for(;++c<s.length;){const y=s[c],T=u[c];f=-1;const v=[];for(;++f<l;){const S=y[f]||"";let w="",M="";if(r.alignDelimiters!==!1){const B=o[f]-(T[f]||0),O=i[f];O===114?w=" ".repeat(B):O===99?B%2?(w=" ".repeat(B/2+.5),M=" ".repeat(B/2-.5)):(w=" ".repeat(B/2),M=w):M=" ".repeat(B)}r.delimiterStart!==!1&&!f&&v.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&S==="")&&(r.delimiterStart!==!1||f)&&v.push(" "),r.alignDelimiters!==!1&&v.push(w),v.push(S),r.alignDelimiters!==!1&&v.push(M),r.padding!==!1&&v.push(" "),(r.delimiterEnd!==!1||f!==l-1)&&v.push("|")}b.push(r.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return b.join(`
292
+ `)}function UE(e){return e==null?"":String(e)}function uf(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 of={}.hasOwnProperty;function gp(e,t){const r=t||{};function n(a,...i){let s=n.invalid;const u=n.handlers;if(a&&of.call(a,e)){const o=String(a[e]);s=of.call(u,o)?u[o]: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 jE(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()),qE);return a(),s}function qE(e,t,r){return">"+(r?"":" ")+e}function $E(e,t){return lf(e,t.inConstruct,!0)&&!lf(e,t.notInConstruct,!1)}function lf(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 cf(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
293
+ `&&$E(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
294
+ `}function YE(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 VE(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 WE(e,t,r,n){const a=VE(r),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(YE(e,r)){const f=r.enter("codeIndented"),p=r.indentLines(i,GE);return f(),p}const u=r.createTracker(n),o=a.repeat(Math.max(hm(i,a)+1,3)),l=r.enter("codeFenced");let c=u.move(o);if(e.lang){const f=r.enter(`codeFencedLang${s}`);c+=u.move(r.safe(e.lang,J({before:c,after:" ",encode:["`"]},u.current()))),f()}if(e.lang&&e.meta){const f=r.enter(`codeFencedMeta${s}`);c+=u.move(" "),c+=u.move(r.safe(e.meta,J({before:c,after:`
295
+ `,encode:["`"]},u.current()))),f()}return c+=u.move(`
296
+ `),i&&(c+=u.move(i+`
297
+ `)),c+=u.move(o),l(),c}function GE(e,t,r){return(r?"":" ")+e}function wl(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 XE(e,t,r,n){const a=wl(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let u=r.enter("label");const o=r.createTracker(n);let l=o.move("[");return l+=o.move(r.safe(r.associationId(e),J({before:l,after:"]"},o.current()))),l+=o.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(r.safe(e.url,J({before:l,after:">"},o.current()))),l+=o.move(">")):(u=r.enter("destinationRaw"),l+=o.move(r.safe(e.url,J({before:l,after:e.title?" ":`
298
+ `},o.current())))),u(),e.title&&(u=r.enter(`title${i}`),l+=o.move(" "+a),l+=o.move(r.safe(e.title,J({before:l,after:a},o.current()))),l+=o.move(a),u()),s(),l}function KE(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 Xa(e){return"&#x"+e.toString(16).toUpperCase()+";"}function vs(e,t,r){const n=Yn(e),a=Yn(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}}bp.peek=QE;function bp(e,t,r,n){const a=KE(r),i=r.enter("emphasis"),s=r.createTracker(n),u=s.move(a);let o=s.move(r.containerPhrasing(e,J({after:a,before:u},s.current())));const l=o.charCodeAt(0),c=vs(n.before.charCodeAt(n.before.length-1),l,a);c.inside&&(o=Xa(l)+o.slice(1));const f=o.charCodeAt(o.length-1),p=vs(n.after.charCodeAt(0),f,a);p.inside&&(o=o.slice(0,-1)+Xa(f));const d=s.move(a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},u+o+d}function QE(e,t,r){return r.options.emphasis||"*"}function JE(e,t){let r=!1;return Gs(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,ju}),!!((!e.depth||e.depth<3)&&Zo(e)&&(t.options.setext||r))}function ZE(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(JE(e,r)){const c=r.enter("headingSetext"),f=r.enter("phrasing"),p=r.containerPhrasing(e,tt(J({},i.current()),{before:`
299
+ `,after:`
300
+ `}));return f(),c(),p+`
301
+ `+(a===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
302
+ `))+1))}const s="#".repeat(a),u=r.enter("headingAtx"),o=r.enter("phrasing");i.move(s+" ");let l=r.containerPhrasing(e,J({before:"# ",after:`
303
+ `},i.current()));return/^[\t ]/.test(l)&&(l=Xa(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,r.options.closeAtx&&(l+=" "+s),o(),u(),l}yp.peek=ex;function yp(e){return e.value||""}function ex(){return"<"}Ep.peek=tx;function Ep(e,t,r,n){const a=wl(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const o=r.createTracker(n);let l=o.move("![");return l+=o.move(r.safe(e.alt,J({before:l,after:"]"},o.current()))),l+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(r.safe(e.url,J({before:l,after:">"},o.current()))),l+=o.move(">")):(u=r.enter("destinationRaw"),l+=o.move(r.safe(e.url,J({before:l,after:e.title?" ":")"},o.current())))),u(),e.title&&(u=r.enter(`title${i}`),l+=o.move(" "+a),l+=o.move(r.safe(e.title,J({before:l,after:a},o.current()))),l+=o.move(a),u()),l+=o.move(")"),s(),l}function tx(){return"!"}xp.peek=rx;function xp(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let s=r.enter("label");const u=r.createTracker(n);let o=u.move("![");const l=r.safe(e.alt,J({before:o,after:"]"},u.current()));o+=u.move(l+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),J({before:o,after:"]"},u.current()));return s(),r.stack=c,i(),a==="full"||!l||l!==f?o+=u.move(f+"]"):a==="shortcut"?o=o.slice(0,-1):o+=u.move("]"),o}function rx(){return"!"}Tp.peek=nx;function Tp(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],u=r.compilePattern(s);let o;if(s.atBreak)for(;o=u.exec(n);){let l=o.index;n.charCodeAt(l)===10&&n.charCodeAt(l-1)===13&&l--,n=n.slice(0,l)+" "+n.slice(o.index+1)}}return a+n+a}function nx(){return"`"}function vp(e,t){const r=Zo(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))}Ap.peek=ax;function Ap(e,t,r,n){const a=wl(r),i=a==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let u,o;if(vp(e,r)){const c=r.stack;r.stack=[],u=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(e,J({before:f,after:">"},s.current()))),f+=s.move(">"),u(),r.stack=c,f}u=r.enter("link"),o=r.enter("label");let l=s.move("[");return l+=s.move(r.containerPhrasing(e,J({before:l,after:"]("},s.current()))),l+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(r.safe(e.url,J({before:l,after:">"},s.current()))),l+=s.move(">")):(o=r.enter("destinationRaw"),l+=s.move(r.safe(e.url,J({before:l,after:e.title?" ":")"},s.current())))),o(),e.title&&(o=r.enter(`title${i}`),l+=s.move(" "+a),l+=s.move(r.safe(e.title,J({before:l,after:a},s.current()))),l+=s.move(a),o()),l+=s.move(")"),u(),l}function ax(e,t,r){return vp(e,r)?"<":"["}wp.peek=ix;function wp(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let s=r.enter("label");const u=r.createTracker(n);let o=u.move("[");const l=r.containerPhrasing(e,J({before:o,after:"]"},u.current()));o+=u.move(l+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),J({before:o,after:"]"},u.current()));return s(),r.stack=c,i(),a==="full"||!l||l!==f?o+=u.move(f+"]"):a==="shortcut"?o=o.slice(0,-1):o+=u.move("]"),o}function ix(){return"["}function Sl(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 sx(e){const t=Sl(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 ux(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 Sp(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 ox(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let s=e.ordered?ux(r):Sl(r);const u=e.ordered?s==="."?")":".":sx(r);let o=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&&(o=!0),Sp(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"){o=!0;break}}}}o&&(s=u),r.bulletCurrent=s;const l=r.containerFlow(e,n);return r.bulletLastUsed=s,r.bulletCurrent=i,a(),l}function lx(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 cx(e,t,r,n){const a=lx(r);let i=r.bulletCurrent||Sl(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 u=r.createTracker(n);u.move(i+" ".repeat(s-i.length)),u.shift(s);const o=r.enter("listItem"),l=r.indentLines(r.containerFlow(e,u.current()),c);return o(),l;function c(f,p,d){return p?(d?"":" ".repeat(s))+f:(d?i:i+" ".repeat(s-i.length))+f}}function fx(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),s=r.containerPhrasing(e,n);return i(),a(),s}const hx=oi(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function dx(e,t,r,n){return(e.children.some(function(s){return hx(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function mx(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}kp.peek=px;function kp(e,t,r,n){const a=mx(r),i=r.enter("strong"),s=r.createTracker(n),u=s.move(a+a);let o=s.move(r.containerPhrasing(e,J({after:a,before:u},s.current())));const l=o.charCodeAt(0),c=vs(n.before.charCodeAt(n.before.length-1),l,a);c.inside&&(o=Xa(l)+o.slice(1));const f=o.charCodeAt(o.length-1),p=vs(n.after.charCodeAt(0),f,a);p.inside&&(o=o.slice(0,-1)+Xa(f));const d=s.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},u+o+d}function px(e,t,r){return r.options.strong||"*"}function gx(e,t,r,n){return r.safe(e.value,n)}function bx(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 yx(e,t,r){const n=(Sp(r)+(r.options.ruleSpaces?" ":"")).repeat(bx(r));return r.options.ruleSpaces?n.slice(0,-1):n}const Cp={blockquote:jE,break:cf,code:WE,definition:XE,emphasis:bp,hardBreak:cf,heading:ZE,html:yp,image:Ep,imageReference:xp,inlineCode:Tp,link:Ap,linkReference:wp,list:ox,listItem:cx,paragraph:fx,root:dx,strong:kp,text:gx,thematicBreak:yx};function Ex(){return{enter:{table:xx,tableData:ff,tableHeader:ff,tableRow:vx},exit:{codeText:Ax,table:Tx,tableData:fu,tableHeader:fu,tableRow:fu}}}function xx(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 Tx(e){this.exit(e),this.data.inTable=void 0}function vx(e){this.enter({type:"tableRow",children:[]},e)}function fu(e){this.exit(e)}function ff(e){this.enter({type:"tableCell",children:[]},e)}function Ax(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,wx));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function wx(e,t){return t==="|"?t:e}function Sx(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
304
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:o,tableRow:u}};function s(d,b,y,T){return l(c(d,y,T),d.align)}function u(d,b,y,T){const v=f(d,y,T),S=l([v]);return S.slice(0,S.indexOf(`
305
+ `))}function o(d,b,y,T){const v=y.enter("tableCell"),S=y.enter("phrasing"),w=y.containerPhrasing(d,tt(J({},T),{before:i,after:i}));return S(),v(),w}function l(d,b){return HE(d,{align:b,alignDelimiters:n,padding:r,stringLength:a})}function c(d,b,y){const T=d.children;let v=-1;const S=[],w=b.enter("table");for(;++v<T.length;)S[v]=f(T[v],b,y);return w(),S}function f(d,b,y){const T=d.children;let v=-1;const S=[],w=b.enter("tableRow");for(;++v<T.length;)S[v]=o(T[v],d,b,y);return w(),S}function p(d,b,y){let T=Cp.inlineCode(d,b,y);return y.stack.includes("tableCell")&&(T=T.replace(/\|/g,"\\$&")),T}}function kx(){return{exit:{taskListCheckValueChecked:hf,taskListCheckValueUnchecked:hf,paragraph:Ix}}}function Cx(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:_x}}}function hf(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Ix(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 u=a[i];if(u.type==="paragraph"){s=u;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 _x(e,t,r,n){const a=e.children[0],i=typeof e.checked=="boolean"&&a&&a.type==="paragraph",s="["+(e.checked?"x":" ")+"] ",u=r.createTracker(n);i&&u.move(s);let o=Cp.listItem(e,t,r,J(J({},n),u.current()));return i&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),o;function l(c){return c+s}}function Nx(){return[lE(),NE(),LE(),Ex(),kx()]}function Ox(e){return{extensions:[cE(),OE(e),ME(),Sx(e),Cx()]}}const Rx={tokenize:Bx,partial:!0},Ip={tokenize:zx,partial:!0},_p={tokenize:Hx,partial:!0},Np={tokenize:Ux,partial:!0},Dx={tokenize:jx,partial:!0},Op={name:"wwwAutolink",tokenize:Px,previous:Dp},Rp={name:"protocolAutolink",tokenize:Fx,previous:Lp},Or={name:"emailAutolink",tokenize:Mx,previous:Mp},pr={};function Lx(){return{text:pr}}let sn=48;for(;sn<123;)pr[sn]=Or,sn++,sn===58?sn=65:sn===91&&(sn=97);pr[43]=Or;pr[45]=Or;pr[46]=Or;pr[95]=Or;pr[72]=[Or,Rp];pr[104]=[Or,Rp];pr[87]=[Or,Op];pr[119]=[Or,Op];function Mx(e,t,r){const n=this;let a,i;return s;function s(f){return!so(f)||!Mp.call(n,n.previous)||kl(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(f))}function u(f){return so(f)?(e.consume(f),u):f===64?(e.consume(f),o):r(f)}function o(f){return f===46?e.check(Dx,c,l)(f):f===45||f===95||pt(f)?(i=!0,e.consume(f),o):c(f)}function l(f){return e.consume(f),a=!0,o}function c(f){return i&&a&&At(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function Px(e,t,r){const n=this;return a;function a(s){return s!==87&&s!==119||!Dp.call(n,n.previous)||kl(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Rx,e.attempt(Ip,e.attempt(_p,i),r),r)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function Fx(e,t,r){const n=this;let a="",i=!1;return s;function s(f){return(f===72||f===104)&&Lp.call(n,n.previous)&&!kl(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(f),e.consume(f),u):r(f)}function u(f){if(At(f)&&a.length<5)return a+=String.fromCodePoint(f),e.consume(f),u;if(f===58){const p=a.toLowerCase();if(p==="http"||p==="https")return e.consume(f),o}return r(f)}function o(f){return f===47?(e.consume(f),i?l:(i=!0,o)):r(f)}function l(f){return f===null||ps(f)||Ue(f)||En(f)||$s(f)?r(f):e.attempt(Ip,e.attempt(_p,c),r)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function Bx(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 zx(e,t,r){let n,a,i;return s;function s(l){return l===46||l===95?e.check(Np,o,u)(l):l===null||Ue(l)||En(l)||l!==45&&$s(l)?o(l):(i=!0,e.consume(l),s)}function u(l){return l===95?n=!0:(a=n,n=void 0),e.consume(l),s}function o(l){return a||n||!i?r(l):t(l)}}function Hx(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(Np,t,i)(s):s===null||Ue(s)||En(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&n++,e.consume(s),a}}function Ux(e,t,r){return n;function n(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),n):u===38?(e.consume(u),i):u===93?(e.consume(u),a):u===60||u===null||Ue(u)||En(u)?t(u):r(u)}function a(u){return u===null||u===40||u===91||Ue(u)||En(u)?t(u):n(u)}function i(u){return At(u)?s(u):r(u)}function s(u){return u===59?(e.consume(u),n):At(u)?(e.consume(u),s):r(u)}}function jx(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return pt(i)?r(i):t(i)}}function Dp(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ue(e)}function Lp(e){return!At(e)}function Mp(e){return!(e===47||so(e))}function so(e){return e===43||e===45||e===46||e===95||pt(e)}function kl(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 qx={tokenize:Qx,partial:!0};function $x(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Gx,continuation:{tokenize:Xx},exit:Kx}},text:{91:{name:"gfmFootnoteCall",tokenize:Wx},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Yx,resolveTo:Vx}}}}function Yx(e,t,r){const n=this;let a=n.events.length;const i=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let s;for(;a--;){const o=n.events[a][1];if(o.type==="labelImage"){s=o;break}if(o.type==="gfmFootnoteCall"||o.type==="labelLink"||o.type==="label"||o.type==="image"||o.type==="link")break}return u;function u(o){if(!s||!s._balanced)return r(o);const l=Zt(n.sliceSerialize({start:s.end,end:n.now()}));return l.codePointAt(0)!==94||!i.includes(l.slice(1))?r(o):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(o),e.exit("gfmFootnoteCallLabelMarker"),t(o))}}function Vx(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)},u=[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,...u),e}function Wx(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return u;function u(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),o}function o(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||Ue(f))return r(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return a.includes(Zt(n.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return Ue(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 Gx(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,u;return o;function o(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&&!u||b===null||b===91||Ue(b))return r(b);if(b===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=Zt(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Ue(b)||(u=!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),_e(e,d,"gfmFootnoteDefinitionWhitespace")):r(b)}function d(b){return t(b)}}function Xx(e,t,r){return e.check(ui,t,e.attempt(qx,t,r))}function Kx(e){e.exit("gfmFootnoteDefinition")}function Qx(e,t,r){const n=this;return _e(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 Jx(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,u){let o=-1;for(;++o<s.length;)if(s[o][0]==="enter"&&s[o][1].type==="strikethroughSequenceTemporary"&&s[o][1]._close){let l=o;for(;l--;)if(s[l][0]==="exit"&&s[l][1].type==="strikethroughSequenceTemporary"&&s[l][1]._open&&s[o][1].end.offset-s[o][1].start.offset===s[l][1].end.offset-s[l][1].start.offset){s[o][1].type="strikethroughSequence",s[l][1].type="strikethroughSequence";const c={type:"strikethrough",start:Object.assign({},s[l][1].start),end:Object.assign({},s[o][1].end)},f={type:"strikethroughText",start:Object.assign({},s[l][1].end),end:Object.assign({},s[o][1].start)},p=[["enter",c,u],["enter",s[l][1],u],["exit",s[l][1],u],["enter",f,u]],d=u.parser.constructs.insideSpan.null;d&&Mt(p,p.length,0,Ys(d,s.slice(l+1,o),u)),Mt(p,p.length,0,[["exit",f,u],["enter",s[o][1],u],["exit",s[o][1],u],["exit",c,u]]),Mt(s,l-1,o-l+3,p),o=l+p.length-2;break}}for(o=-1;++o<s.length;)s[o][1].type==="strikethroughSequenceTemporary"&&(s[o][1].type="data");return s}function i(s,u,o){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"?o(b):(s.enter("strikethroughSequenceTemporary"),d(b))}function d(b){const y=Yn(l);if(b===126)return f>1?o(b):(s.consume(b),f++,d);if(f<2&&!r)return o(b);const T=s.exit("strikethroughSequenceTemporary"),v=Yn(b);return T._open=!v||v===2&&!!y,T._close=!y||y===2&&!!v,u(b)}}}class Zx{constructor(){this.map=[]}add(t,r,n){eT(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 eT(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 tT(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 rT(){return{flow:{null:{name:"table",tokenize:nT,resolveAll:aT}}}}function nT(e,t,r){const n=this;let a=0,i=0,s;return u;function u(P){let $=n.events.length-1;for(;$>-1;){const me=n.events[$][1].type;if(me==="lineEnding"||me==="linePrefix")$--;else break}const X=$>-1?n.events[$][1].type:null,he=X==="tableHead"||X==="tableRow"?O:o;return he===O&&n.parser.lazy[n.now().line]?r(P):he(P)}function o(P){return e.enter("tableHead"),e.enter("tableRow"),l(P)}function l(P){return P===124||(s=!0,i+=1),c(P)}function c(P){return P===null?r(P):ce(P)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),d):r(P):Ne(P)?_e(e,c,"whitespace")(P):(i+=1,s&&(s=!1,a+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),f(P)))}function f(P){return P===null||P===124||Ue(P)?(e.exit("data"),c(P)):(e.consume(P),P===92?p:f)}function p(P){return P===92||P===124?(e.consume(P),f):f(P)}function d(P){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(P):(e.enter("tableDelimiterRow"),s=!1,Ne(P)?_e(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):b(P))}function b(P){return P===45||P===58?T(P):P===124?(s=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),y):B(P)}function y(P){return Ne(P)?_e(e,T,"whitespace")(P):T(P)}function T(P){return P===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),v):P===45?(i+=1,v(P)):P===null||ce(P)?M(P):B(P)}function v(P){return P===45?(e.enter("tableDelimiterFiller"),S(P)):B(P)}function S(P){return P===45?(e.consume(P),S):P===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),w):(e.exit("tableDelimiterFiller"),w(P))}function w(P){return Ne(P)?_e(e,M,"whitespace")(P):M(P)}function M(P){return P===124?b(P):P===null||ce(P)?!s||a!==i?B(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(P)):B(P)}function B(P){return r(P)}function O(P){return e.enter("tableRow"),D(P)}function D(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),D):P===null||ce(P)?(e.exit("tableRow"),t(P)):Ne(P)?_e(e,D,"whitespace")(P):(e.enter("data"),z(P))}function z(P){return P===null||P===124||Ue(P)?(e.exit("data"),D(P)):(e.consume(P),P===92?U:z)}function U(P){return P===92||P===124?(e.consume(P),z):z(P)}}function aT(e,t){let r=-1,n=!0,a=0,i=[0,0,0,0],s=[0,0,0,0],u=!1,o=0,l,c,f;const p=new Zx;for(;++r<e.length;){const d=e[r],b=d[1];d[0]==="enter"?b.type==="tableHead"?(u=!1,o!==0&&(df(p,t,o,l,c),c=void 0,o=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],u&&(u=!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=Hi(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=Hi(p,t,i,a,void 0,f)),i=s,s=[i[1],r,0,0])):b.type==="tableHead"?(u=!0,o=r):b.type==="tableRow"||b.type==="tableDelimiterRow"?(o=r,i[1]!==0?(s[0]=s[1],f=Hi(p,t,i,a,r,f)):s[1]!==0&&(f=Hi(p,t,s,a,r,f)),a=0):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(s[3]=r)}for(o!==0&&df(p,t,o,l,c),p.consume(t.events),r=-1;++r<t.events.length;){const d=t.events[r];d[0]==="enter"&&d[1].type==="table"&&(d[1]._align=tT(t.events,r))}return e}function Hi(e,t,r,n,a,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",u="tableContent";r[0]!==0&&(i.end=Object.assign({},Ln(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const o=Ln(t.events,r[1]);if(i={type:s,start:Object.assign({},o),end:Object.assign({},o)},e.add(r[1],0,[["enter",i,t]]),r[2]!==0){const l=Ln(t.events,r[2]),c=Ln(t.events,r[3]),f={type:u,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]],d=t.events[r[3]];if(p[1].end=Object.assign({},d[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({},Ln(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function df(e,t,r,n,a){const i=[],s=Ln(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 Ln(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const iT={name:"tasklistCheck",tokenize:uT};function sT(){return{text:{91:iT}}}function uT(e,t,r){const n=this;return a;function a(o){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(o):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),i)}function i(o){return Ue(o)?(e.enter("taskListCheckValueUnchecked"),e.consume(o),e.exit("taskListCheckValueUnchecked"),s):o===88||o===120?(e.enter("taskListCheckValueChecked"),e.consume(o),e.exit("taskListCheckValueChecked"),s):r(o)}function s(o){return o===93?(e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):r(o)}function u(o){return ce(o)?t(o):Ne(o)?e.check({tokenize:oT},t,r)(o):r(o)}}function oT(e,t,r){return _e(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function lT(e){return $d([Lx(),$x(),Jx(e),rT(),sT()])}const cT={};function fT(e){const t=this,r=e||cT,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(lT(r)),i.push(Nx()),s.push(Ox(r))}const mf=/[#.]/g;function hT(e,t){const r=e||"",n={};let a=0,i,s;for(;a<r.length;){mf.lastIndex=a;const u=mf.exec(r),o=r.slice(a,u?u.index:r.length);o&&(i?i==="#"?n.id=o:Array.isArray(n.className)?n.className.push(o):n.className=[o]:s=o,a+=o.length),u&&(i=u[0],a++)}return{type:"element",tagName:s||t||"div",properties:n,children:[]}}function Pp(e,t,r){const n=r?gT(r):void 0;function a(i,s,...u){let o;if(i==null){o={type:"root",children:[]};const l=s;u.unshift(l)}else{o=hT(i,t);const l=o.tagName.toLowerCase(),c=n?n.get(l):void 0;if(o.tagName=c||l,dT(s))u.unshift(s);else for(const[f,p]of Object.entries(s))mT(e,o.properties,f,p)}for(const l of u)uo(o.children,l);return o.type==="element"&&o.tagName==="template"&&(o.content={type:"root",children:o.children},o.children=[]),o}return a}function dT(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 mT(e,t,r,n){const a=Us(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=Hc(n):a.commaSeparated?i=Mc(n):a.commaOrSpaceSeparated?i=Hc(Mc(n).join(" ")):i=pf(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?pT(n):String(n);if(Array.isArray(i)){const s=[];for(const u of i)s.push(pf(a,a.property,u));i=s}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function uo(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)uo(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?uo(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function pf(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||Ya(r)===Ya(t)))return!0}return r}function pT(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function gT(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const bT=["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"],Fp=Pp(si,"div"),Bp=Pp(Qr,"g",bT),or={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 yT(e,t){return zp(e,{})||{type:"root",children:[]}}function zp(e,t){const r=ET(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function ET(e,t){switch(e.nodeType){case 1:return AT(e,t);case 3:return TT(e);case 8:return vT(e);case 9:return gf(e,t);case 10:return xT();case 11:return gf(e,t);default:return}}function gf(e,t){return{type:"root",children:Hp(e,t)}}function xT(){return{type:"doctype"}}function TT(e){return{type:"text",value:e.nodeValue||""}}function vT(e){return{type:"comment",value:e.nodeValue||""}}function AT(e,t){const r=e.namespaceURI,n=r===or.svg?Bp:Fp,a=r===or.html?e.tagName.toLowerCase():e.tagName,i=r===or.html&&a==="template"?e.content:e,s=e.getAttributeNames(),u={};let o=-1;for(;++o<s.length;)u[s[o]]=e.getAttribute(s[o])||"";return n(a,u,Hp(i,t))}function Hp(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=zp(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function wT(e,t){const r=ST(e);return yT(r)}function ST(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const bf=function(e,t,r){const n=oi(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]},Sn=function(e){if(e==null)return IT;if(typeof e=="string")return CT(e);if(typeof e=="object")return kT(e);if(typeof e=="function")return Cl(e);throw new Error("Expected function, string, or array as `test`")};function kT(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Sn(e[r]);return Cl(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function CT(e){return Cl(t);function t(r){return r.tagName===e}}function Cl(e){return t;function t(r,n,a){return!!(_T(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function IT(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function _T(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const yf=/\n/g,Ef=/[\t ]+/g,oo=Sn("br"),xf=Sn(FT),NT=Sn("p"),Tf=Sn("tr"),OT=Sn(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",PT,BT]),Up=Sn(["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 RT(e,t){const r=t||{},n="children"in e?e.children:[],a=Up(e),i=$p(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...qp(e,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<n.length;)s.push(...jp(n[u],e,{whitespace:i,breakBefore:u?void 0:a,breakAfter:u<n.length-1?oo(n[u+1]):a}));const o=[];let l;for(u=-1;++u<s.length;){const c=s[u];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&o.push(`
306
+ `.repeat(l)||" "),l=-1,o.push(c))}return o.join("")}function jp(e,t,r){return e.type==="element"?DT(e,t,r):e.type==="text"?r.whitespace==="normal"?qp(e,r):LT(e):[]}function DT(e,t,r){const n=$p(e,r),a=e.children||[];let i=-1,s=[];if(OT(e))return s;let u,o;for(oo(e)||Tf(e)&&bf(t,e,Tf)?o=`
307
+ `:NT(e)?(u=2,o=2):Up(e)&&(u=1,o=1);++i<a.length;)s=s.concat(jp(a[i],e,{whitespace:n,breakBefore:i?void 0:u,breakAfter:i<a.length-1?oo(a[i+1]):o}));return xf(e)&&bf(t,e,xf)&&s.push(" "),u&&s.unshift(u),o&&s.push(o),s}function qp(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){yf.lastIndex=i;const o=yf.exec(r),l=o&&"index"in o?o.index:r.length;n.push(MT(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,u;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]),u=void 0):n[s]?(typeof u=="number"&&a.push(u),a.push(n[s]),u=0):(s===0||s===n.length-1)&&a.push(0);return a}function LT(e){return[String(e.value)]}function MT(e,t,r){const n=[];let a=0,i;for(;a<e.length;){Ef.lastIndex=a;const s=Ef.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 $p(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 PT(e){return!!(e.properties||{}).hidden}function FT(e){return e.tagName==="td"||e.tagName==="th"}function BT(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const zT={},HT=[];function UT(e){const t=e||zT;return function(r,n){sl(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:HT,u=s.includes("language-math"),o=s.includes("math-display"),l=s.includes("math-inline");let c=o;if(!u&&!o&&!l)return;let f=i[i.length-1],p=a;if(a.tagName==="code"&&u&&f&&f.type==="element"&&f.tagName==="pre"&&(p=f,f=i[i.length-2],c=!0),!f)return;const d=RT(p,{whitespace:"pre"});let b;try{b=af.renderToString(d,tt(J({},t),{displayMode:c,throwOnError:!0}))}catch(T){const v=T,S=v.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:v,place:a.position,ruleId:S,source:"rehype-katex"});try{b=af.renderToString(d,tt(J({},t),{displayMode:c,strict:"ignore",throwOnError:!1}))}catch(w){b=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(T)},children:[{type:"text",value:d}]}]}}typeof b=="string"&&(b=wT(b).children);const y=f.children.indexOf(p);return f.children.splice(y,1,...b),lm})}}const is="https://unpkg.com/prismjs@1.29.0",jT="https://unpkg.com/prism-themes@1.9.0/themes/prism-coldark-cold.min.css",Ui=new Set(["javascript","css","markup","clike"]);let ji=null;function Yp(){return Re(this,null,function*(){return typeof window!="undefined"&&window.Prism?window.Prism:ji||(ji=new Promise((e,t)=>{const r=document.createElement("link");r.rel="stylesheet",r.href=jT,document.head.appendChild(r);const n=document.createElement("script");n.src=`${is}/prism.js`,n.onload=()=>{const a=document.createElement("script");a.src=`${is}/plugins/autoloader/prism-autoloader.min.js`,a.onload=()=>{const i=window.Prism;i&&i.plugins&&i.plugins.autoloader&&(i.plugins.autoloader.languages_path=`${is}/components/`),e(i)},a.onerror=t,document.head.appendChild(a)},n.onerror=t,document.head.appendChild(n)}),ji)})}function qT(e){return Re(this,null,function*(){const t=yield Yp();if(Ui.has(e)||t.languages[e]){Ui.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){Ui.add(e);return}return new Promise((a,i)=>{const s=document.createElement("script");s.src=`${is}/components/prism-${n}.min.js`,s.onload=()=>{Ui.add(e),a()},s.onerror=()=>{console.warn(`Failed to load Prism language: ${n}`),a()},document.head.appendChild(s)})})}const $T=()=>k.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:k.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"})}),YT=()=>k.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:k.jsx("path",{d:"M9 16.17L4.83 12L3.41 13.41L9 19L21 7L19.59 5.59L9 16.17Z"})}),VT=({language:e="javascript",children:t,style:r})=>{const[n,a]=G.useState(!1),[i,s]=G.useState(""),[u,o]=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 Re(exports,null,function*(){try{o(!0);const v=yield Yp();if(yield qT(e),!y)return;const S=v.languages[e]||v.languages.javascript,w=v.highlight(c.replace(/\n$/,""),S,e);s(w),o(!1)}catch(v){console.error("Failed to highlight code:",v),y&&(s(f(c)),o(!1))}}),()=>{y=!1}},[c,e]);const f=y=>{const T=document.createElement("div");return T.textContent=y,T.innerHTML},p=()=>Re(exports,null,function*(){try{yield navigator.clipboard.writeText(c),a(!0),setTimeout(()=>a(!1),2e3)}catch(y){console.error("Failed to copy:",y)}}),d=c.split(`
308
+ `),b=d[d.length-1]===""?d.length-1:d.length;return k.jsxs("div",{style:J({position:"relative"},r),children:[k.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:[k.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,T)=>k.jsx("span",{style:{display:"block"},children:T+1},T))}),k.jsx("code",{ref:l,className:`language-${e}`,style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},dangerouslySetInnerHTML:u?{__html:f(c)}:{__html:i}})]}),k.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?k.jsx(YT,{}):k.jsx($T,{}),k.jsx("span",{style:{marginLeft:"4px"},children:n?"Copied":"Copy"})]})]})};function WT(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 u=r[s];if(u===void 0){const o=vf(t,r[s-1]);u=o===-1?t.length+1:o+1,r[s]=u}if(u>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 u=r[r.length-1],o=vf(t,u),l=o===-1?t.length+1:o+1;if(u===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 vf(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
309
+ `,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const Vp={}.hasOwnProperty,GT=Object.prototype;function XT(e,t){const r=t||{};return Il({file:r.file||void 0,location:!1,schema:r.space==="svg"?Qr:si,verbose:r.verbose||!1},e)}function Il(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},ss(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:Wp(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=WT(i),u=s.toPoint(0),o=s.toPoint(i.length);r.position={start:u,end:o}}return r}case"#documentType":{const n=t;return r={type:"doctype"},ss(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},ss(e,n,r),r}default:return r=KT(e,t),r}}function Wp(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=Il(e,t[r]);n.push(a)}return n}function KT(e,t){const r=e.schema;e.schema=t.namespaceURI===or.svg?Qr:si;let n=-1;const a={};for(;++n<t.attrs.length;){const u=t.attrs[n],o=(u.prefix?u.prefix+":":"")+u.name;Vp.call(GT,o)||(a[o]=u.value)}const s=(e.schema.space==="svg"?Bp:Fp)(t.tagName,a,Wp(e,t.childNodes));if(ss(e,t,s),s.tagName==="template"){const u=t,o=u.sourceCodeLocation,l=o&&o.startTag&&Mn(o.startTag),c=o&&o.endTag&&Mn(o.endTag),f=Il(e,u.content);l&&c&&e.file&&(f.position={start:l.end,end:c.start}),s.content=f}return e.schema=r,s}function ss(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=QT(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function QT(e,t,r){const n=Mn(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)Vp.call(r.attrs,s)&&(i[Us(e.schema,s).property]=Mn(r.attrs[s]));r.startTag;const u=Mn(r.startTag),o=r.endTag?Mn(r.endTag):void 0,l={opening:u};o&&(l.closing=o),l.properties=i,t.data={position:l}}}return n}function Mn(e){const t=Af({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=Af({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function Af(e){return e.line&&e.column?e:void 0}const JT={},ZT={}.hasOwnProperty,Gp=gp("type",{handlers:{root:tv,element:sv,text:av,comment:iv,doctype:nv}});function ev(e,t){const n=(t||JT).space;return Gp(e,n==="svg"?Qr:si)}function tv(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=_l(e.children,r,t),oa(e,r),r}function rv(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=_l(e.children,r,t),oa(e,r),r}function nv(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return oa(e,t),t}function av(e){const t={nodeName:"#text",value:e.value,parentNode:null};return oa(e,t),t}function iv(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return oa(e,t),t}function sv(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=Qr);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&ZT.call(e.properties,i)){const o=uv(n,i,e.properties[i]);o&&a.push(o)}}const s=n.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:or[s],childNodes:[],parentNode:null};return u.childNodes=_l(e.children,u,n),oa(e,u),e.tagName==="template"&&e.content&&(u.content=rv(e.content,n)),u}function uv(e,t,r){const n=Us(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?_d(r):Fd(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=or[n.space]}return a}function _l(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=Gp(e[n],r);i.parentNode=t,a.push(i)}return a}function oa(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 ov=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],lv=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]),Ve="�";var A;(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"})(A||(A={}));const kt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Xp(e){return e>=55296&&e<=57343}function cv(e){return e>=56320&&e<=57343}function fv(e,t){return(e-55296)*1024+9216+t}function Kp(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Qp(e){return e>=64976&&e<=65007||lv.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 hv=65536;class dv{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=hv,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,u=i+r;return{code:t,startLine:n,endLine:n,startCol:s,endCol:s,startOffset:u,endOffset:u}}_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(cv(r))return this.pos++,this._addGap(),fv(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,A.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,A.EOF;const n=this.html.charCodeAt(r);return n===A.CARRIAGE_RETURN?A.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,A.EOF;let t=this.html.charCodeAt(this.pos);return t===A.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,A.LINE_FEED):t===A.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Xp(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===A.LINE_FEED||t===A.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Kp(t)?this._err(q.controlCharacterInInputStream):Qp(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 Ie;(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"})(Ie||(Ie={}));function Jp(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 mv=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୕ୖ୪୼஡௫ఄ౞಄ದ೘ൡඅ櫬Āou୛୤ngruent;扢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;怳Ādp໩໮uct;戏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ǣጓ\0጖y;䐎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Ā;t፜᜷brk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓ᝛ᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯ᝱ᝳ;䎲;愶een;扬r;쀀𝔟g΀costuvwឍឝឳេ៕៛៞ƀ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Ā;e᜚᜜lƀ;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\0᫢aĀ;t᫞᫟䀬;䁀ƀ;fl᫨᫩᫫戁îᅠeĀmx᫱᫶ent»᫩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ↄⅪ←ٖ↛ǰ↉\0↎proø₞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;䅓Ācr⵩⵭ir;榿;쀀𝔬ͯ⵹\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\0⹻m;櫳;櫽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))),pv=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 gv(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=pv.get(e))!==null&&t!==void 0?t:e}var ht;(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"})(ht||(ht={}));const bv=32;var qr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(qr||(qr={}));function lo(e){return e>=ht.ZERO&&e<=ht.NINE}function yv(e){return e>=ht.UPPER_A&&e<=ht.UPPER_F||e>=ht.LOWER_A&&e<=ht.LOWER_F}function Ev(e){return e>=ht.UPPER_A&&e<=ht.UPPER_Z||e>=ht.LOWER_A&&e<=ht.LOWER_Z||lo(e)}function xv(e){return e===ht.EQUALS||Ev(e)}var ft;(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"})(ft||(ft={}));var Ar;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(Ar||(Ar={}));class Tv{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=ft.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=Ar.Strict}startEntity(t){this.decodeMode=t,this.state=ft.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case ft.EntityStart:return t.charCodeAt(r)===ht.NUM?(this.state=ft.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=ft.NamedEntity,this.stateNamedEntity(t,r));case ft.NumericStart:return this.stateNumericStart(t,r);case ft.NumericDecimal:return this.stateNumericDecimal(t,r);case ft.NumericHex:return this.stateNumericHex(t,r);case ft.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|bv)===ht.LOWER_X?(this.state=ft.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=ft.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(lo(a)||yv(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(lo(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===ht.SEMI)this.consumed+=1;else if(this.decodeMode===Ar.Strict)return 0;return this.emitCodePoint(gv(this.result),this.consumed),this.errors&&(t!==ht.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&qr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=vv(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===Ar.Attribute&&(i===0||xv(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&qr.VALUE_LENGTH)>>14,i!==0){if(s===ht.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==Ar.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]&qr.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]&~qr.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case ft.NamedEntity:return this.result!==0&&(this.decodeMode!==Ar.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ft.NumericDecimal:return this.emitNumericEntity(0,2);case ft.NumericHex:return this.emitNumericEntity(0,3);case ft.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ft.EntityStart:return 0}}}function vv(e,t,r,n){const a=(t&qr.BRANCH_LENGTH)>>7,i=t&qr.JUMP_TABLE;if(a===0)return i!==0&&n===i?r:-1;if(i){const o=n-i;return o<0||o>=a?-1:e[r+o]-1}let s=r,u=s+a-1;for(;s<=u;){const o=s+u>>>1,l=e[o];if(l<n)s=o+1;else if(l>n)u=o-1;else return e[o+a]}return-1}var W;(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/"})(W||(W={}));var gn;(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"})(gn||(gn={}));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 h;(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"})(h||(h={}));const Av=new Map([[H.A,h.A],[H.ADDRESS,h.ADDRESS],[H.ANNOTATION_XML,h.ANNOTATION_XML],[H.APPLET,h.APPLET],[H.AREA,h.AREA],[H.ARTICLE,h.ARTICLE],[H.ASIDE,h.ASIDE],[H.B,h.B],[H.BASE,h.BASE],[H.BASEFONT,h.BASEFONT],[H.BGSOUND,h.BGSOUND],[H.BIG,h.BIG],[H.BLOCKQUOTE,h.BLOCKQUOTE],[H.BODY,h.BODY],[H.BR,h.BR],[H.BUTTON,h.BUTTON],[H.CAPTION,h.CAPTION],[H.CENTER,h.CENTER],[H.CODE,h.CODE],[H.COL,h.COL],[H.COLGROUP,h.COLGROUP],[H.DD,h.DD],[H.DESC,h.DESC],[H.DETAILS,h.DETAILS],[H.DIALOG,h.DIALOG],[H.DIR,h.DIR],[H.DIV,h.DIV],[H.DL,h.DL],[H.DT,h.DT],[H.EM,h.EM],[H.EMBED,h.EMBED],[H.FIELDSET,h.FIELDSET],[H.FIGCAPTION,h.FIGCAPTION],[H.FIGURE,h.FIGURE],[H.FONT,h.FONT],[H.FOOTER,h.FOOTER],[H.FOREIGN_OBJECT,h.FOREIGN_OBJECT],[H.FORM,h.FORM],[H.FRAME,h.FRAME],[H.FRAMESET,h.FRAMESET],[H.H1,h.H1],[H.H2,h.H2],[H.H3,h.H3],[H.H4,h.H4],[H.H5,h.H5],[H.H6,h.H6],[H.HEAD,h.HEAD],[H.HEADER,h.HEADER],[H.HGROUP,h.HGROUP],[H.HR,h.HR],[H.HTML,h.HTML],[H.I,h.I],[H.IMG,h.IMG],[H.IMAGE,h.IMAGE],[H.INPUT,h.INPUT],[H.IFRAME,h.IFRAME],[H.KEYGEN,h.KEYGEN],[H.LABEL,h.LABEL],[H.LI,h.LI],[H.LINK,h.LINK],[H.LISTING,h.LISTING],[H.MAIN,h.MAIN],[H.MALIGNMARK,h.MALIGNMARK],[H.MARQUEE,h.MARQUEE],[H.MATH,h.MATH],[H.MENU,h.MENU],[H.META,h.META],[H.MGLYPH,h.MGLYPH],[H.MI,h.MI],[H.MO,h.MO],[H.MN,h.MN],[H.MS,h.MS],[H.MTEXT,h.MTEXT],[H.NAV,h.NAV],[H.NOBR,h.NOBR],[H.NOFRAMES,h.NOFRAMES],[H.NOEMBED,h.NOEMBED],[H.NOSCRIPT,h.NOSCRIPT],[H.OBJECT,h.OBJECT],[H.OL,h.OL],[H.OPTGROUP,h.OPTGROUP],[H.OPTION,h.OPTION],[H.P,h.P],[H.PARAM,h.PARAM],[H.PLAINTEXT,h.PLAINTEXT],[H.PRE,h.PRE],[H.RB,h.RB],[H.RP,h.RP],[H.RT,h.RT],[H.RTC,h.RTC],[H.RUBY,h.RUBY],[H.S,h.S],[H.SCRIPT,h.SCRIPT],[H.SEARCH,h.SEARCH],[H.SECTION,h.SECTION],[H.SELECT,h.SELECT],[H.SOURCE,h.SOURCE],[H.SMALL,h.SMALL],[H.SPAN,h.SPAN],[H.STRIKE,h.STRIKE],[H.STRONG,h.STRONG],[H.STYLE,h.STYLE],[H.SUB,h.SUB],[H.SUMMARY,h.SUMMARY],[H.SUP,h.SUP],[H.TABLE,h.TABLE],[H.TBODY,h.TBODY],[H.TEMPLATE,h.TEMPLATE],[H.TEXTAREA,h.TEXTAREA],[H.TFOOT,h.TFOOT],[H.TD,h.TD],[H.TH,h.TH],[H.THEAD,h.THEAD],[H.TITLE,h.TITLE],[H.TR,h.TR],[H.TRACK,h.TRACK],[H.TT,h.TT],[H.U,h.U],[H.UL,h.UL],[H.SVG,h.SVG],[H.VAR,h.VAR],[H.WBR,h.WBR],[H.XMP,h.XMP]]);function la(e){var t;return(t=Av.get(e))!==null&&t!==void 0?t:h.UNKNOWN}const Q=h,wv={[W.HTML]:new Set([Q.ADDRESS,Q.APPLET,Q.AREA,Q.ARTICLE,Q.ASIDE,Q.BASE,Q.BASEFONT,Q.BGSOUND,Q.BLOCKQUOTE,Q.BODY,Q.BR,Q.BUTTON,Q.CAPTION,Q.CENTER,Q.COL,Q.COLGROUP,Q.DD,Q.DETAILS,Q.DIR,Q.DIV,Q.DL,Q.DT,Q.EMBED,Q.FIELDSET,Q.FIGCAPTION,Q.FIGURE,Q.FOOTER,Q.FORM,Q.FRAME,Q.FRAMESET,Q.H1,Q.H2,Q.H3,Q.H4,Q.H5,Q.H6,Q.HEAD,Q.HEADER,Q.HGROUP,Q.HR,Q.HTML,Q.IFRAME,Q.IMG,Q.INPUT,Q.LI,Q.LINK,Q.LISTING,Q.MAIN,Q.MARQUEE,Q.MENU,Q.META,Q.NAV,Q.NOEMBED,Q.NOFRAMES,Q.NOSCRIPT,Q.OBJECT,Q.OL,Q.P,Q.PARAM,Q.PLAINTEXT,Q.PRE,Q.SCRIPT,Q.SECTION,Q.SELECT,Q.SOURCE,Q.STYLE,Q.SUMMARY,Q.TABLE,Q.TBODY,Q.TD,Q.TEMPLATE,Q.TEXTAREA,Q.TFOOT,Q.TH,Q.THEAD,Q.TITLE,Q.TR,Q.TRACK,Q.UL,Q.WBR,Q.XMP]),[W.MATHML]:new Set([Q.MI,Q.MO,Q.MN,Q.MS,Q.MTEXT,Q.ANNOTATION_XML]),[W.SVG]:new Set([Q.TITLE,Q.FOREIGN_OBJECT,Q.DESC]),[W.XLINK]:new Set,[W.XML]:new Set,[W.XMLNS]:new Set},co=new Set([Q.H1,Q.H2,Q.H3,Q.H4,Q.H5,Q.H6]);H.STYLE,H.SCRIPT,H.XMP,H.IFRAME,H.NOEMBED,H.NOFRAMES,H.PLAINTEXT;var C;(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"})(C||(C={}));const Ze={DATA:C.DATA,RCDATA:C.RCDATA,RAWTEXT:C.RAWTEXT,SCRIPT_DATA:C.SCRIPT_DATA,PLAINTEXT:C.PLAINTEXT,CDATA_SECTION:C.CDATA_SECTION};function Sv(e){return e>=A.DIGIT_0&&e<=A.DIGIT_9}function Ia(e){return e>=A.LATIN_CAPITAL_A&&e<=A.LATIN_CAPITAL_Z}function kv(e){return e>=A.LATIN_SMALL_A&&e<=A.LATIN_SMALL_Z}function Br(e){return kv(e)||Ia(e)}function wf(e){return Br(e)||Sv(e)}function qi(e){return e+32}function Zp(e){return e===A.SPACE||e===A.LINE_FEED||e===A.TABULATION||e===A.FORM_FEED}function Sf(e){return Zp(e)||e===A.SOLIDUS||e===A.GREATER_THAN_SIGN}function Cv(e){return e===A.NULL?q.nullCharacterReference:e>1114111?q.characterReferenceOutsideUnicodeRange:Xp(e)?q.surrogateCharacterReference:Qp(e)?q.noncharacterCharacterReference:Kp(e)||e===A.CARRIAGE_RETURN?q.controlCharacterReference:null}class Iv{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=C.DATA,this.returnState=C.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new dv(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new Tv(mv,(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=Cv(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:Ie.START_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ie.END_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Ie.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Ie.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(Jp(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=la(t.tagName),t.type===Ie.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 Ie.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ie.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ie.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:Ie.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=Zp(t)?Ie.WHITESPACE_CHARACTER:t===A.NULL?Ie.NULL_CHARACTER:Ie.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Ie.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=C.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?Ar.Attribute:Ar.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===C.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case C.DATA:{this._stateData(t);break}case C.RCDATA:{this._stateRcdata(t);break}case C.RAWTEXT:{this._stateRawtext(t);break}case C.SCRIPT_DATA:{this._stateScriptData(t);break}case C.PLAINTEXT:{this._statePlaintext(t);break}case C.TAG_OPEN:{this._stateTagOpen(t);break}case C.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case C.TAG_NAME:{this._stateTagName(t);break}case C.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case C.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case C.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case C.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case C.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case C.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case C.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case C.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case C.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case C.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case C.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case C.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case C.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case C.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case C.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case C.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case C.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case C.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case C.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case C.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case C.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case C.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case C.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case C.BOGUS_COMMENT:{this._stateBogusComment(t);break}case C.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case C.COMMENT_START:{this._stateCommentStart(t);break}case C.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case C.COMMENT:{this._stateComment(t);break}case C.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case C.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case C.COMMENT_END:{this._stateCommentEnd(t);break}case C.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case C.DOCTYPE:{this._stateDoctype(t);break}case C.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case C.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case C.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case C.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case C.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case C.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case C.CDATA_SECTION:{this._stateCdataSection(t);break}case C.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case C.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case C.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case C.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case A.LESS_THAN_SIGN:{this.state=C.TAG_OPEN;break}case A.AMPERSAND:{this._startCharacterReference();break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitCodePoint(t);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case A.AMPERSAND:{this._startCharacterReference();break}case A.LESS_THAN_SIGN:{this.state=C.RCDATA_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case A.LESS_THAN_SIGN:{this.state=C.RAWTEXT_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case A.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case A.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Br(t))this._createStartTagToken(),this.state=C.TAG_NAME,this._stateTagName(t);else switch(t){case A.EXCLAMATION_MARK:{this.state=C.MARKUP_DECLARATION_OPEN;break}case A.SOLIDUS:{this.state=C.END_TAG_OPEN;break}case A.QUESTION_MARK:{this._err(q.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t);break}case A.EOF:{this._err(q.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=C.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Br(t))this._createEndTagToken(),this.state=C.TAG_NAME,this._stateTagName(t);else switch(t){case A.GREATER_THAN_SIGN:{this._err(q.missingEndTagName),this.state=C.DATA;break}case A.EOF:{this._err(q.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=C.BEFORE_ATTRIBUTE_NAME;break}case A.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case A.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case A.NULL:{this._err(q.unexpectedNullCharacter),r.tagName+=Ve;break}case A.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Ia(t)?qi(t):t)}}_stateRcdataLessThanSign(t){t===A.SOLIDUS?this.state=C.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Br(t)?(this.state=C.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=C.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 A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=C.BEFORE_ATTRIBUTE_NAME,!1;case A.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=C.SELF_CLOSING_START_TAG,!1;case A.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=C.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===A.SOLIDUS?this.state=C.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Br(t)?(this.state=C.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case A.SOLIDUS:{this.state=C.SCRIPT_DATA_END_TAG_OPEN;break}case A.EXCLAMATION_MARK:{this.state=C.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=C.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Br(t)?(this.state=C.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===A.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===A.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case A.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case A.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case A.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(Ve);break}case A.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case A.HYPHEN_MINUS:{this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case A.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(Ve);break}case A.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===A.SOLIDUS?this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Br(t)?(this._emitChars("<"),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Br(t)?(this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(kt.SCRIPT,!1)&&Sf(this.preprocessor.peek(kt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<kt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case A.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case A.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case A.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case A.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ve);break}case A.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case A.HYPHEN_MINUS:{this._emitChars("-");break}case A.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case A.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ve);break}case A.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===A.SOLIDUS?(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(kt.SCRIPT,!1)&&Sf(this.preprocessor.peek(kt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<kt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.SOLIDUS:case A.GREATER_THAN_SIGN:case A.EOF:{this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case A.EQUALS_SIGN:{this._err(q.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=C.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:case A.SOLIDUS:case A.GREATER_THAN_SIGN:case A.EOF:{this._leaveAttrName(),this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case A.EQUALS_SIGN:{this._leaveAttrName(),this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case A.QUOTATION_MARK:case A.APOSTROPHE:case A.LESS_THAN_SIGN:{this._err(q.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.name+=Ve;break}default:this.currentAttr.name+=String.fromCodePoint(Ia(t)?qi(t):t)}}_stateAfterAttributeName(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case A.EQUALS_SIGN:{this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case A.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case A.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.QUOTATION_MARK:{this.state=C.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case A.APOSTROPHE:{this.state=C.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(q.missingAttributeValue),this.state=C.DATA,this.emitCurrentTagToken();break}default:this.state=C.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case A.QUOTATION_MARK:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case A.AMPERSAND:{this._startCharacterReference();break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case A.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case A.APOSTROPHE:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case A.AMPERSAND:{this._startCharacterReference();break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case A.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case A.AMPERSAND:{this._startCharacterReference();break}case A.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case A.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case A.QUOTATION_MARK:case A.APOSTROPHE:case A.LESS_THAN_SIGN:case A.EQUALS_SIGN:case A.GRAVE_ACCENT:{this._err(q.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case A.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case A.SOLIDUS:{this._leaveAttrValue(),this.state=C.SELF_CLOSING_START_TAG;break}case A.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case A.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBetweenAttributes),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case A.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=C.DATA,this.emitCurrentTagToken();break}case A.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.unexpectedSolidusInTag),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case A.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(r);break}case A.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case A.NULL:{this._err(q.unexpectedNullCharacter),r.data+=Ve;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(kt.DASH_DASH,!0)?(this._createCommentToken(kt.DASH_DASH.length+1),this.state=C.COMMENT_START):this._consumeSequenceIfMatch(kt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(kt.DOCTYPE.length+1),this.state=C.DOCTYPE):this._consumeSequenceIfMatch(kt.CDATA_START,!0)?this.inForeignNode?this.state=C.CDATA_SECTION:(this._err(q.cdataInHtmlContent),this._createCommentToken(kt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=C.BOGUS_COMMENT):this._ensureHibernation()||(this._err(q.incorrectlyOpenedComment),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case A.HYPHEN_MINUS:{this.state=C.COMMENT_START_DASH;break}case A.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=C.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=C.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case A.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case A.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=C.DATA,this.emitCurrentComment(r);break}case A.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=C.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case A.HYPHEN_MINUS:{this.state=C.COMMENT_END_DASH;break}case A.LESS_THAN_SIGN:{r.data+="<",this.state=C.COMMENT_LESS_THAN_SIGN;break}case A.NULL:{this._err(q.unexpectedNullCharacter),r.data+=Ve;break}case A.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 A.EXCLAMATION_MARK:{r.data+="!",this.state=C.COMMENT_LESS_THAN_SIGN_BANG;break}case A.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=C.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===A.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=C.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===A.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=C.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==A.GREATER_THAN_SIGN&&t!==A.EOF&&this._err(q.nestedComment),this.state=C.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case A.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case A.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=C.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case A.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(r);break}case A.EXCLAMATION_MARK:{this.state=C.COMMENT_END_BANG;break}case A.HYPHEN_MINUS:{r.data+="-";break}case A.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=C.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case A.HYPHEN_MINUS:{r.data+="--!",this.state=C.COMMENT_END_DASH;break}case A.GREATER_THAN_SIGN:{this._err(q.incorrectlyClosedComment),this.state=C.DATA,this.emitCurrentComment(r);break}case A.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=C.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_NAME;break}case A.GREATER_THAN_SIGN:{this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case A.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=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ia(t))this._createDoctypeToken(String.fromCharCode(qi(t))),this.state=C.DOCTYPE_NAME;else switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.NULL:{this._err(q.unexpectedNullCharacter),this._createDoctypeToken(Ve),this.state=C.DOCTYPE_NAME;break}case A.GREATER_THAN_SIGN:{this._err(q.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case A.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=C.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=C.AFTER_DOCTYPE_NAME;break}case A.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(r);break}case A.NULL:{this._err(q.unexpectedNullCharacter),r.name+=Ve;break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Ia(t)?qi(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(r);break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(kt.PUBLIC,!1)?this.state=C.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(kt.SYSTEM,!1)?this.state=C.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(q.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case A.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(r);break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.QUOTATION_MARK:{r.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{r.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(r);break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case A.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case A.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=Ve;break}case A.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case A.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 A.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case A.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=Ve;break}case A.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case A.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 A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case A.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(r);break}case A.QUOTATION_MARK:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=C.DATA;break}case A.QUOTATION_MARK:{r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case A.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(r);break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.QUOTATION_MARK:{r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case A.APOSTROPHE:{r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case A.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(r);break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case A.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case A.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=Ve;break}case A.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case A.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 A.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case A.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=Ve;break}case A.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case A.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 A.SPACE:case A.LINE_FEED:case A.TABULATION:case A.FORM_FEED:break;case A.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=C.DATA;break}case A.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case A.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=C.DATA;break}case A.NULL:{this._err(q.unexpectedNullCharacter);break}case A.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case A.RIGHT_SQUARE_BRACKET:{this.state=C.CDATA_SECTION_BRACKET;break}case A.EOF:{this._err(q.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===A.RIGHT_SQUARE_BRACKET?this.state=C.CDATA_SECTION_END:(this._emitChars("]"),this.state=C.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case A.GREATER_THAN_SIGN:{this.state=C.DATA;break}case A.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=C.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(A.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&wf(this.preprocessor.peek(1))?C.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){wf(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===A.SEMICOLON&&this._err(q.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const e2=new Set([h.DD,h.DT,h.LI,h.OPTGROUP,h.OPTION,h.P,h.RB,h.RP,h.RT,h.RTC]),kf=new Set([...e2,h.CAPTION,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]),As=new Set([h.APPLET,h.CAPTION,h.HTML,h.MARQUEE,h.OBJECT,h.TABLE,h.TD,h.TEMPLATE,h.TH]),_v=new Set([...As,h.OL,h.UL]),Nv=new Set([...As,h.BUTTON]),Cf=new Set([h.ANNOTATION_XML,h.MI,h.MN,h.MO,h.MS,h.MTEXT]),If=new Set([h.DESC,h.FOREIGN_OBJECT,h.TITLE]),Ov=new Set([h.TR,h.TEMPLATE,h.HTML]),Rv=new Set([h.TBODY,h.TFOOT,h.THEAD,h.TEMPLATE,h.HTML]),Dv=new Set([h.TABLE,h.TEMPLATE,h.HTML]),Lv=new Set([h.TD,h.TH]);class Mv{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=h.UNKNOWN,this.current=t}_indexOf(t){return this.items.lastIndexOf(t,this.stackTop)}_isInTemplate(){return this.currentTagId===h.TEMPLATE&&this.treeAdapter.getNamespaceURI(this.current)===W.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])!==W.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(co,W.HTML)}popUntilTableCellPopped(){this.popUntilPopped(Lv,W.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(Dv,W.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Rv,W.HTML)}clearBackToTableRowContext(){this.clearBackTo(Ov,W.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]===h.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]===h.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 W.HTML:{if(a===t)return!0;if(r.has(a))return!1;break}case W.SVG:{if(If.has(a))return!1;break}case W.MATHML:{if(Cf.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,As)}hasInListItemScope(t){return this.hasInDynamicScope(t,_v)}hasInButtonScope(t){return this.hasInDynamicScope(t,Nv)}hasNumberedHeaderInScope(){for(let t=this.stackTop;t>=0;t--){const r=this.tagIDs[t];switch(this.treeAdapter.getNamespaceURI(this.items[t])){case W.HTML:{if(co.has(r))return!0;if(As.has(r))return!1;break}case W.SVG:{if(If.has(r))return!1;break}case W.MATHML:{if(Cf.has(r))return!1;break}}}return!0}hasInTableScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===W.HTML)switch(this.tagIDs[r]){case t:return!0;case h.TABLE:case h.HTML:return!1}return!0}hasTableBodyContextInTableScope(){for(let t=this.stackTop;t>=0;t--)if(this.treeAdapter.getNamespaceURI(this.items[t])===W.HTML)switch(this.tagIDs[t]){case h.TBODY:case h.THEAD:case h.TFOOT:return!0;case h.TABLE:case h.HTML:return!1}return!0}hasInSelectScope(t){for(let r=this.stackTop;r>=0;r--)if(this.treeAdapter.getNamespaceURI(this.items[r])===W.HTML)switch(this.tagIDs[r]){case t:return!0;case h.OPTION:case h.OPTGROUP:break;default:return!1}return!0}generateImpliedEndTags(){for(;this.currentTagId!==void 0&&e2.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&kf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&kf.has(this.currentTagId);)this.pop()}}const hu=3;var ar;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ar||(ar={}));const _f={type:ar.Marker};class Pv{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 u=0;u<this.entries.length;u++){const o=this.entries[u];if(o.type===ar.Marker)break;const{element:l}=o;if(this.treeAdapter.getTagName(l)===i&&this.treeAdapter.getNamespaceURI(l)===s){const c=this.treeAdapter.getAttrList(l);c.length===a&&n.push({idx:u,attrs:c})}}return n}_ensureNoahArkCondition(t){if(this.entries.length<hu)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<hu)return;const a=new Map(r.map(s=>[s.name,s.value]));let i=0;for(let s=0;s<n.length;s++){const u=n[s];u.attrs.every(o=>a.get(o.name)===o.value)&&(i+=1,i>=hu&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(_f)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:ar.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:ar.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(_f);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===ar.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===ar.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===ar.Element&&r.element===t)}}const zr={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};zr.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(zr.isTextNode(r)){r.value+=t;return}}zr.appendChild(e,zr.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&zr.isTextNode(n)?n.value+=t:zr.insertBefore(e,zr.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=J(J({},e.sourceCodeLocation),t)}},t2="html",Fv="about:legacy-compat",Bv="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",r2=["+//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//"],zv=[...r2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Hv=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),n2=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Uv=[...n2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function Nf(e,t){return t.some(r=>e.startsWith(r))}function jv(e){return e.name===t2&&e.publicId===null&&(e.systemId===null||e.systemId===Fv)}function qv(e){if(e.name!==t2)return qt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Bv)return qt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),Hv.has(r))return qt.QUIRKS;let n=t===null?zv:r2;if(Nf(r,n))return qt.QUIRKS;if(n=t===null?n2:Uv,Nf(r,n))return qt.LIMITED_QUIRKS}return qt.NO_QUIRKS}const Of={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},$v="definitionurl",Yv="definitionURL",Vv=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])),Wv=new Map([["xlink:actuate",{prefix:"xlink",name:"actuate",namespace:W.XLINK}],["xlink:arcrole",{prefix:"xlink",name:"arcrole",namespace:W.XLINK}],["xlink:href",{prefix:"xlink",name:"href",namespace:W.XLINK}],["xlink:role",{prefix:"xlink",name:"role",namespace:W.XLINK}],["xlink:show",{prefix:"xlink",name:"show",namespace:W.XLINK}],["xlink:title",{prefix:"xlink",name:"title",namespace:W.XLINK}],["xlink:type",{prefix:"xlink",name:"type",namespace:W.XLINK}],["xml:lang",{prefix:"xml",name:"lang",namespace:W.XML}],["xml:space",{prefix:"xml",name:"space",namespace:W.XML}],["xmlns",{prefix:"",name:"xmlns",namespace:W.XMLNS}],["xmlns:xlink",{prefix:"xmlns",name:"xlink",namespace:W.XMLNS}]]),Gv=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])),Xv=new Set([h.B,h.BIG,h.BLOCKQUOTE,h.BODY,h.BR,h.CENTER,h.CODE,h.DD,h.DIV,h.DL,h.DT,h.EM,h.EMBED,h.H1,h.H2,h.H3,h.H4,h.H5,h.H6,h.HEAD,h.HR,h.I,h.IMG,h.LI,h.LISTING,h.MENU,h.META,h.NOBR,h.OL,h.P,h.PRE,h.RUBY,h.S,h.SMALL,h.SPAN,h.STRONG,h.STRIKE,h.SUB,h.SUP,h.TABLE,h.TT,h.U,h.UL,h.VAR]);function Kv(e){const t=e.tagID;return t===h.FONT&&e.attrs.some(({name:n})=>n===gn.COLOR||n===gn.SIZE||n===gn.FACE)||Xv.has(t)}function a2(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===$v){e.attrs[t].name=Yv;break}}function i2(e){for(let t=0;t<e.attrs.length;t++){const r=Vv.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function Nl(e){for(let t=0;t<e.attrs.length;t++){const r=Wv.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 Qv(e){const t=Gv.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=la(e.tagName))}function Jv(e,t){return t===W.MATHML&&(e===h.MI||e===h.MO||e===h.MN||e===h.MS||e===h.MTEXT)}function Zv(e,t,r){if(t===W.MATHML&&e===h.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===gn.ENCODING){const a=r[n].value.toLowerCase();return a===Of.TEXT_HTML||a===Of.APPLICATION_XML}}return t===W.SVG&&(e===h.FOREIGN_OBJECT||e===h.DESC||e===h.TITLE)}function eA(e,t,r,n){return(!n||n===W.HTML)&&Zv(e,t,r)||(!n||n===W.MATHML)&&Jv(e,t)}const tA="hidden",rA=8,nA=3;var R;(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"})(R||(R={}));const aA={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},s2=new Set([h.TABLE,h.TBODY,h.TFOOT,h.THEAD,h.TR]),Rf={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:zr,onParseError:null};class Df{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=R.INITIAL,this.originalInsertionMode=R.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=J(J({},Rf),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 Iv(this.options,this),this.activeFormattingElements=new Pv(this.treeAdapter),this.fragmentContextID=n?la(this.treeAdapter.getTagName(n)):h.UNKNOWN,this._setContextModes(n!=null?n:this.document,this.fragmentContextID),this.openElements=new Mv(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=J(J({},Rf),r);t!=null||(t=n.treeAdapter.createElement(H.TEMPLATE,W.HTML,[]));const a=n.treeAdapter.createElement("documentmock",W.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===h.TEMPLATE&&i.tmplInsertionModeStack.unshift(R.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:aA,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)===W.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,W.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=R.TEXT}switchToPlaintextParsing(){this.insertionMode=R.TEXT,this.originalInsertionMode=R.IN_BODY,this.tokenizer.state=Ze.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)!==W.HTML))switch(this.fragmentContextID){case h.TITLE:case h.TEXTAREA:{this.tokenizer.state=Ze.RCDATA;break}case h.STYLE:case h.XMP:case h.IFRAME:case h.NOEMBED:case h.NOFRAMES:case h.NOSCRIPT:{this.tokenizer.state=Ze.RAWTEXT;break}case h.SCRIPT:{this.tokenizer.state=Ze.SCRIPT_DATA;break}case h.PLAINTEXT:{this.tokenizer.state=Ze.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(u=>this.treeAdapter.isDocumentTypeNode(u));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&tt(J({},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,W.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,W.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,W.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,h.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:o,endCol:l,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:o,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===Ie.END_TAG&&a===r.tagName?{endTag:J({},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===h.SVG&&this.treeAdapter.getTagName(r)===H.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===W.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===h.MGLYPH||t.tagID===h.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,W.HTML)}_processToken(t){switch(t.type){case Ie.CHARACTER:{this.onCharacter(t);break}case Ie.NULL_CHARACTER:{this.onNullCharacter(t);break}case Ie.COMMENT:{this.onComment(t);break}case Ie.DOCTYPE:{this.onDoctype(t);break}case Ie.START_TAG:{this._processStartTag(t);break}case Ie.END_TAG:{this.onEndTag(t);break}case Ie.EOF:{this.onEof(t);break}case Ie.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return eA(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===ar.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=R.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(h.P),this.openElements.popUntilTagNamePopped(h.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case h.TR:{this.insertionMode=R.IN_ROW;return}case h.TBODY:case h.THEAD:case h.TFOOT:{this.insertionMode=R.IN_TABLE_BODY;return}case h.CAPTION:{this.insertionMode=R.IN_CAPTION;return}case h.COLGROUP:{this.insertionMode=R.IN_COLUMN_GROUP;return}case h.TABLE:{this.insertionMode=R.IN_TABLE;return}case h.BODY:{this.insertionMode=R.IN_BODY;return}case h.FRAMESET:{this.insertionMode=R.IN_FRAMESET;return}case h.SELECT:{this._resetInsertionModeForSelect(t);return}case h.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case h.HTML:{this.insertionMode=this.headElement?R.AFTER_HEAD:R.BEFORE_HEAD;return}case h.TD:case h.TH:{if(t>0){this.insertionMode=R.IN_CELL;return}break}case h.HEAD:{if(t>0){this.insertionMode=R.IN_HEAD;return}break}}this.insertionMode=R.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===h.TEMPLATE)break;if(n===h.TABLE){this.insertionMode=R.IN_SELECT_IN_TABLE;return}}this.insertionMode=R.IN_SELECT}_isElementCausesFosterParenting(t){return s2.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 h.TEMPLATE:{if(this.treeAdapter.getNamespaceURI(r)===W.HTML)return{parent:this.treeAdapter.getTemplateContent(r),beforeElement:null};break}case h.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 wv[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Lw(this,t);return}switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{Pa(this,t);break}case R.BEFORE_HEAD:{Fa(this,t);break}case R.IN_HEAD:{Ba(this,t);break}case R.IN_HEAD_NO_SCRIPT:{za(this,t);break}case R.AFTER_HEAD:{Ha(this,t);break}case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:{o2(this,t);break}case R.TEXT:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{du(this,t);break}case R.IN_TABLE_TEXT:{m2(this,t);break}case R.IN_COLUMN_GROUP:{ws(this,t);break}case R.AFTER_BODY:{Ss(this,t);break}case R.AFTER_AFTER_BODY:{us(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){Dw(this,t);return}switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{Pa(this,t);break}case R.BEFORE_HEAD:{Fa(this,t);break}case R.IN_HEAD:{Ba(this,t);break}case R.IN_HEAD_NO_SCRIPT:{za(this,t);break}case R.AFTER_HEAD:{Ha(this,t);break}case R.TEXT:{this._insertCharacters(t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{du(this,t);break}case R.IN_COLUMN_GROUP:{ws(this,t);break}case R.AFTER_BODY:{Ss(this,t);break}case R.AFTER_AFTER_BODY:{us(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){fo(this,t);return}switch(this.insertionMode){case R.INITIAL:case R.BEFORE_HTML:case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_TEMPLATE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:{fo(this,t);break}case R.IN_TABLE_TEXT:{Aa(this,t);break}case R.AFTER_BODY:{fA(this,t);break}case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{hA(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case R.INITIAL:{dA(this,t);break}case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:{this._err(t,q.misplacedDoctype);break}case R.IN_TABLE_TEXT:{Aa(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)?Mw(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{mA(this,t);break}case R.BEFORE_HEAD:{gA(this,t);break}case R.IN_HEAD:{tr(this,t);break}case R.IN_HEAD_NO_SCRIPT:{EA(this,t);break}case R.AFTER_HEAD:{TA(this,t);break}case R.IN_BODY:{Et(this,t);break}case R.IN_TABLE:{Kn(this,t);break}case R.IN_TABLE_TEXT:{Aa(this,t);break}case R.IN_CAPTION:{bw(this,t);break}case R.IN_COLUMN_GROUP:{Dl(this,t);break}case R.IN_TABLE_BODY:{l0(this,t);break}case R.IN_ROW:{c0(this,t);break}case R.IN_CELL:{xw(this,t);break}case R.IN_SELECT:{b2(this,t);break}case R.IN_SELECT_IN_TABLE:{vw(this,t);break}case R.IN_TEMPLATE:{ww(this,t);break}case R.AFTER_BODY:{kw(this,t);break}case R.IN_FRAMESET:{Cw(this,t);break}case R.AFTER_FRAMESET:{_w(this,t);break}case R.AFTER_AFTER_BODY:{Ow(this,t);break}case R.AFTER_AFTER_FRAMESET:{Rw(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?Pw(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{pA(this,t);break}case R.BEFORE_HEAD:{bA(this,t);break}case R.IN_HEAD:{yA(this,t);break}case R.IN_HEAD_NO_SCRIPT:{xA(this,t);break}case R.AFTER_HEAD:{vA(this,t);break}case R.IN_BODY:{o0(this,t);break}case R.TEXT:{uw(this,t);break}case R.IN_TABLE:{Ka(this,t);break}case R.IN_TABLE_TEXT:{Aa(this,t);break}case R.IN_CAPTION:{yw(this,t);break}case R.IN_COLUMN_GROUP:{Ew(this,t);break}case R.IN_TABLE_BODY:{ho(this,t);break}case R.IN_ROW:{g2(this,t);break}case R.IN_CELL:{Tw(this,t);break}case R.IN_SELECT:{y2(this,t);break}case R.IN_SELECT_IN_TABLE:{Aw(this,t);break}case R.IN_TEMPLATE:{Sw(this,t);break}case R.AFTER_BODY:{x2(this,t);break}case R.IN_FRAMESET:{Iw(this,t);break}case R.AFTER_FRAMESET:{Nw(this,t);break}case R.AFTER_AFTER_BODY:{us(this,t);break}}}onEof(t){switch(this.insertionMode){case R.INITIAL:{va(this,t);break}case R.BEFORE_HTML:{Pa(this,t);break}case R.BEFORE_HEAD:{Fa(this,t);break}case R.IN_HEAD:{Ba(this,t);break}case R.IN_HEAD_NO_SCRIPT:{za(this,t);break}case R.AFTER_HEAD:{Ha(this,t);break}case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:{h2(this,t);break}case R.TEXT:{ow(this,t);break}case R.IN_TABLE_TEXT:{Aa(this,t);break}case R.IN_TEMPLATE:{E2(this,t);break}case R.AFTER_BODY:case R.IN_FRAMESET:case R.AFTER_FRAMESET:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{Rl(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===A.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 R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.TEXT:case R.IN_COLUMN_GROUP:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:{this._insertCharacters(t);break}case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:case R.AFTER_BODY:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{u2(this,t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{du(this,t);break}case R.IN_TABLE_TEXT:{d2(this,t);break}}}}function iA(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):f2(e,t),r}function sA(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 uA(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 u=e.activeFormattingElements.getElementEntry(s),o=u&&i>=nA;!u||o?(o&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(s)):(s=oA(e,u),n===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function oA(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 lA(e,t,r){const n=e.treeAdapter.getTagName(t),a=la(n);if(e._isElementCausesFosterParenting(a))e._fosterParentElement(r);else{const i=e.treeAdapter.getNamespaceURI(t);a===h.TEMPLATE&&i===W.HTML&&(t=e.treeAdapter.getTemplateContent(t)),e.treeAdapter.appendChild(t,r)}}function cA(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 Ol(e,t){for(let r=0;r<rA;r++){const n=iA(e,t);if(!n)break;const a=sA(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=uA(e,a,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&lA(e,s,i),cA(e,a,n)}}function fo(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function fA(e,t){e._appendCommentNode(t,e.openElements.items[0])}function hA(e,t){e._appendCommentNode(t,e.document)}function Rl(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 dA(e,t){e._setDocumentType(t);const r=t.forceQuirks?qt.QUIRKS:qv(t);jv(t)||e._err(t,q.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=R.BEFORE_HTML}function va(e,t){e._err(t,q.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,qt.QUIRKS),e.insertionMode=R.BEFORE_HTML,e._processToken(t)}function mA(e,t){t.tagID===h.HTML?(e._insertElement(t,W.HTML),e.insertionMode=R.BEFORE_HEAD):Pa(e,t)}function pA(e,t){const r=t.tagID;(r===h.HTML||r===h.HEAD||r===h.BODY||r===h.BR)&&Pa(e,t)}function Pa(e,t){e._insertFakeRootElement(),e.insertionMode=R.BEFORE_HEAD,e._processToken(t)}function gA(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.HEAD:{e._insertElement(t,W.HTML),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD;break}default:Fa(e,t)}}function bA(e,t){const r=t.tagID;r===h.HEAD||r===h.BODY||r===h.HTML||r===h.BR?Fa(e,t):e._err(t,q.endTagWithoutMatchingOpenElement)}function Fa(e,t){e._insertFakeElement(H.HEAD,h.HEAD),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD,e._processToken(t)}function tr(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.TITLE:{e._switchToTextParsing(t,Ze.RCDATA);break}case h.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ze.RAWTEXT):(e._insertElement(t,W.HTML),e.insertionMode=R.IN_HEAD_NO_SCRIPT);break}case h.NOFRAMES:case h.STYLE:{e._switchToTextParsing(t,Ze.RAWTEXT);break}case h.SCRIPT:{e._switchToTextParsing(t,Ze.SCRIPT_DATA);break}case h.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=R.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(R.IN_TEMPLATE);break}case h.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Ba(e,t)}}function yA(e,t){switch(t.tagID){case h.HEAD:{e.openElements.pop(),e.insertionMode=R.AFTER_HEAD;break}case h.BODY:case h.BR:case h.HTML:{Ba(e,t);break}case h.TEMPLATE:{kn(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function kn(e,t){e.openElements.tmplCount>0?(e.openElements.generateImpliedEndTagsThoroughly(),e.openElements.currentTagId!==h.TEMPLATE&&e._err(t,q.closingOfElementWithOpenChildElements),e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode()):e._err(t,q.endTagWithoutMatchingOpenElement)}function Ba(e,t){e.openElements.pop(),e.insertionMode=R.AFTER_HEAD,e._processToken(t)}function EA(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.BASEFONT:case h.BGSOUND:case h.HEAD:case h.LINK:case h.META:case h.NOFRAMES:case h.STYLE:{tr(e,t);break}case h.NOSCRIPT:{e._err(t,q.nestedNoscriptInHead);break}default:za(e,t)}}function xA(e,t){switch(t.tagID){case h.NOSCRIPT:{e.openElements.pop(),e.insertionMode=R.IN_HEAD;break}case h.BR:{za(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function za(e,t){const r=t.type===Ie.EOF?q.openElementsLeftAfterEof:q.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=R.IN_HEAD,e._processToken(t)}function TA(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.BODY:{e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=R.IN_BODY;break}case h.FRAMESET:{e._insertElement(t,W.HTML),e.insertionMode=R.IN_FRAMESET;break}case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:case h.NOFRAMES:case h.SCRIPT:case h.STYLE:case h.TEMPLATE:case h.TITLE:{e._err(t,q.abandonedHeadElementChild),e.openElements.push(e.headElement,h.HEAD),tr(e,t),e.openElements.remove(e.headElement);break}case h.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Ha(e,t)}}function vA(e,t){switch(t.tagID){case h.BODY:case h.HTML:case h.BR:{Ha(e,t);break}case h.TEMPLATE:{kn(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Ha(e,t){e._insertFakeElement(H.BODY,h.BODY),e.insertionMode=R.IN_BODY,u0(e,t)}function u0(e,t){switch(t.type){case Ie.CHARACTER:{o2(e,t);break}case Ie.WHITESPACE_CHARACTER:{u2(e,t);break}case Ie.COMMENT:{fo(e,t);break}case Ie.START_TAG:{Et(e,t);break}case Ie.END_TAG:{o0(e,t);break}case Ie.EOF:{h2(e,t);break}}}function u2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function o2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function AA(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function wA(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function SA(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_FRAMESET)}function kA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML)}function CA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&co.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,W.HTML)}function IA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function _A(e,t){const r=e.openElements.tmplCount>0;(!e.formElement||r)&&(e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),r||(e.formElement=e.openElements.current))}function NA(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===h.LI&&a===h.LI||(r===h.DD||r===h.DT)&&(a===h.DD||a===h.DT)){e.openElements.generateImpliedEndTagsWithExclusion(a),e.openElements.popUntilTagNamePopped(a);break}if(a!==h.ADDRESS&&a!==h.DIV&&a!==h.P&&e._isSpecialElement(e.openElements.items[n],a))break}e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML)}function OA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.tokenizer.state=Ze.PLAINTEXT}function RA(e,t){e.openElements.hasInScope(h.BUTTON)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.BUTTON)),e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.framesetOk=!1}function DA(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(H.A);r&&(Ol(e,t),e.openElements.remove(r.element),e.activeFormattingElements.removeEntry(r)),e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function LA(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function MA(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(Ol(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function PA(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function FA(e,t){e.treeAdapter.getDocumentMode(e.document)!==qt.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=R.IN_TABLE}function l2(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,W.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function c2(e){const t=Jp(e,gn.TYPE);return t!=null&&t.toLowerCase()===tA}function BA(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,W.HTML),c2(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function zA(e,t){e._appendElement(t,W.HTML),t.ackSelfClosing=!0}function HA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._appendElement(t,W.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function UA(e,t){t.tagName=H.IMG,t.tagID=h.IMG,l2(e,t)}function jA(e,t){e._insertElement(t,W.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ze.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=R.TEXT}function qA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ze.RAWTEXT)}function $A(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ze.RAWTEXT)}function Lf(e,t){e._switchToTextParsing(t,Ze.RAWTEXT)}function YA(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===R.IN_TABLE||e.insertionMode===R.IN_CAPTION||e.insertionMode===R.IN_TABLE_BODY||e.insertionMode===R.IN_ROW||e.insertionMode===R.IN_CELL?R.IN_SELECT_IN_TABLE:R.IN_SELECT}function VA(e,t){e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML)}function WA(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,W.HTML)}function GA(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,W.HTML)}function XA(e,t){e._reconstructActiveFormattingElements(),a2(t),Nl(t),t.selfClosing?e._appendElement(t,W.MATHML):e._insertElement(t,W.MATHML),t.ackSelfClosing=!0}function KA(e,t){e._reconstructActiveFormattingElements(),i2(t),Nl(t),t.selfClosing?e._appendElement(t,W.SVG):e._insertElement(t,W.SVG),t.ackSelfClosing=!0}function Mf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML)}function Et(e,t){switch(t.tagID){case h.I:case h.S:case h.B:case h.U:case h.EM:case h.TT:case h.BIG:case h.CODE:case h.FONT:case h.SMALL:case h.STRIKE:case h.STRONG:{LA(e,t);break}case h.A:{DA(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{CA(e,t);break}case h.P:case h.DL:case h.OL:case h.UL:case h.DIV:case h.DIR:case h.NAV:case h.MAIN:case h.MENU:case h.ASIDE:case h.CENTER:case h.FIGURE:case h.FOOTER:case h.HEADER:case h.HGROUP:case h.DIALOG:case h.DETAILS:case h.ADDRESS:case h.ARTICLE:case h.SEARCH:case h.SECTION:case h.SUMMARY:case h.FIELDSET:case h.BLOCKQUOTE:case h.FIGCAPTION:{kA(e,t);break}case h.LI:case h.DD:case h.DT:{NA(e,t);break}case h.BR:case h.IMG:case h.WBR:case h.AREA:case h.EMBED:case h.KEYGEN:{l2(e,t);break}case h.HR:{HA(e,t);break}case h.RB:case h.RTC:{WA(e,t);break}case h.RT:case h.RP:{GA(e,t);break}case h.PRE:case h.LISTING:{IA(e,t);break}case h.XMP:{qA(e,t);break}case h.SVG:{KA(e,t);break}case h.HTML:{AA(e,t);break}case h.BASE:case h.LINK:case h.META:case h.STYLE:case h.TITLE:case h.SCRIPT:case h.BGSOUND:case h.BASEFONT:case h.TEMPLATE:{tr(e,t);break}case h.BODY:{wA(e,t);break}case h.FORM:{_A(e,t);break}case h.NOBR:{MA(e,t);break}case h.MATH:{XA(e,t);break}case h.TABLE:{FA(e,t);break}case h.INPUT:{BA(e,t);break}case h.PARAM:case h.TRACK:case h.SOURCE:{zA(e,t);break}case h.IMAGE:{UA(e,t);break}case h.BUTTON:{RA(e,t);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{PA(e,t);break}case h.IFRAME:{$A(e,t);break}case h.SELECT:{YA(e,t);break}case h.OPTION:case h.OPTGROUP:{VA(e,t);break}case h.NOEMBED:case h.NOFRAMES:{Lf(e,t);break}case h.FRAMESET:{SA(e,t);break}case h.TEXTAREA:{jA(e,t);break}case h.NOSCRIPT:{e.options.scriptingEnabled?Lf(e,t):Mf(e,t);break}case h.PLAINTEXT:{OA(e,t);break}case h.COL:case h.TH:case h.TD:case h.TR:case h.HEAD:case h.FRAME:case h.TBODY:case h.TFOOT:case h.THEAD:case h.CAPTION:case h.COLGROUP:break;default:Mf(e,t)}}function QA(e,t){if(e.openElements.hasInScope(h.BODY)&&(e.insertionMode=R.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function JA(e,t){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=R.AFTER_BODY,x2(e,t))}function ZA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function ew(e){const t=e.openElements.tmplCount>0,{formElement:r}=e;t||(e.formElement=null),(r||t)&&e.openElements.hasInScope(h.FORM)&&(e.openElements.generateImpliedEndTags(),t?e.openElements.popUntilTagNamePopped(h.FORM):r&&e.openElements.remove(r))}function tw(e){e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(H.P,h.P),e._closePElement()}function rw(e){e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI))}function nw(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function aw(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function iw(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function sw(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(H.BR,h.BR),e.openElements.pop(),e.framesetOk=!1}function f2(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!==h.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 o0(e,t){switch(t.tagID){case h.A:case h.B:case h.I:case h.S:case h.U:case h.EM:case h.TT:case h.BIG:case h.CODE:case h.FONT:case h.NOBR:case h.SMALL:case h.STRIKE:case h.STRONG:{Ol(e,t);break}case h.P:{tw(e);break}case h.DL:case h.UL:case h.OL:case h.DIR:case h.DIV:case h.NAV:case h.PRE:case h.MAIN:case h.MENU:case h.ASIDE:case h.BUTTON:case h.CENTER:case h.FIGURE:case h.FOOTER:case h.HEADER:case h.HGROUP:case h.DIALOG:case h.ADDRESS:case h.ARTICLE:case h.DETAILS:case h.SEARCH:case h.SECTION:case h.SUMMARY:case h.LISTING:case h.FIELDSET:case h.BLOCKQUOTE:case h.FIGCAPTION:{ZA(e,t);break}case h.LI:{rw(e);break}case h.DD:case h.DT:{nw(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{aw(e);break}case h.BR:{sw(e);break}case h.BODY:{QA(e,t);break}case h.HTML:{JA(e,t);break}case h.FORM:{ew(e);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{iw(e,t);break}case h.TEMPLATE:{kn(e,t);break}default:f2(e,t)}}function h2(e,t){e.tmplInsertionModeStack.length>0?E2(e,t):Rl(e,t)}function uw(e,t){var r;t.tagID===h.SCRIPT&&((r=e.scriptHandler)===null||r===void 0||r.call(e,e.openElements.current)),e.openElements.pop(),e.insertionMode=e.originalInsertionMode}function ow(e,t){e._err(t,q.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function du(e,t){if(e.openElements.currentTagId!==void 0&&s2.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=R.IN_TABLE_TEXT,t.type){case Ie.CHARACTER:{m2(e,t);break}case Ie.WHITESPACE_CHARACTER:{d2(e,t);break}}else hi(e,t)}function lw(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_CAPTION}function cw(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_COLUMN_GROUP}function fw(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H.COLGROUP,h.COLGROUP),e.insertionMode=R.IN_COLUMN_GROUP,Dl(e,t)}function hw(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_TABLE_BODY}function dw(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H.TBODY,h.TBODY),e.insertionMode=R.IN_TABLE_BODY,l0(e,t)}function mw(e,t){e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function pw(e,t){c2(t)?e._appendElement(t,W.HTML):hi(e,t),t.ackSelfClosing=!0}function gw(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,W.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Kn(e,t){switch(t.tagID){case h.TD:case h.TH:case h.TR:{dw(e,t);break}case h.STYLE:case h.SCRIPT:case h.TEMPLATE:{tr(e,t);break}case h.COL:{fw(e,t);break}case h.FORM:{gw(e,t);break}case h.TABLE:{mw(e,t);break}case h.TBODY:case h.TFOOT:case h.THEAD:{hw(e,t);break}case h.INPUT:{pw(e,t);break}case h.CAPTION:{lw(e,t);break}case h.COLGROUP:{cw(e,t);break}default:hi(e,t)}}function Ka(e,t){switch(t.tagID){case h.TABLE:{e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode());break}case h.TEMPLATE:{kn(e,t);break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TBODY:case h.TD:case h.TFOOT:case h.TH:case h.THEAD:case h.TR:break;default:hi(e,t)}}function hi(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,u0(e,t),e.fosterParentingEnabled=r}function d2(e,t){e.pendingCharacterTokens.push(t)}function m2(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function Aa(e,t){let r=0;if(e.hasNonWhitespacePendingCharacterToken)for(;r<e.pendingCharacterTokens.length;r++)hi(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const p2=new Set([h.CAPTION,h.COL,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]);function bw(e,t){const r=t.tagID;p2.has(r)?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_TABLE,Kn(e,t)):Et(e,t)}function yw(e,t){const r=t.tagID;switch(r){case h.CAPTION:case h.TABLE:{e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_TABLE,r===h.TABLE&&Ka(e,t));break}case h.BODY:case h.COL:case h.COLGROUP:case h.HTML:case h.TBODY:case h.TD:case h.TFOOT:case h.TH:case h.THEAD:case h.TR:break;default:o0(e,t)}}function Dl(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.COL:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.TEMPLATE:{tr(e,t);break}default:ws(e,t)}}function Ew(e,t){switch(t.tagID){case h.COLGROUP:{e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE);break}case h.TEMPLATE:{kn(e,t);break}case h.COL:break;default:ws(e,t)}}function ws(e,t){e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE,e._processToken(t))}function l0(e,t){switch(t.tagID){case h.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_ROW;break}case h.TH:case h.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(H.TR,h.TR),e.insertionMode=R.IN_ROW,c0(e,t);break}case h.CAPTION:case h.COL:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,Kn(e,t));break}default:Kn(e,t)}}function ho(e,t){const r=t.tagID;switch(t.tagID){case h.TBODY:case h.TFOOT:case h.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE);break}case h.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,Ka(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TD:case h.TH:case h.TR:break;default:Ka(e,t)}}function c0(e,t){switch(t.tagID){case h.TH:case h.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_CELL,e.activeFormattingElements.insertMarker();break}case h.CAPTION:case h.COL:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,l0(e,t));break}default:Kn(e,t)}}function g2(e,t){switch(t.tagID){case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY);break}case h.TABLE:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,ho(e,t));break}case h.TBODY:case h.TFOOT:case h.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(h.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,ho(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:case h.TD:case h.TH:break;default:Ka(e,t)}}function xw(e,t){const r=t.tagID;p2.has(r)?(e.openElements.hasInTableScope(h.TD)||e.openElements.hasInTableScope(h.TH))&&(e._closeTableCell(),c0(e,t)):Et(e,t)}function Tw(e,t){const r=t.tagID;switch(r){case h.TD:case h.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_ROW);break}case h.TABLE:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),g2(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:break;default:o0(e,t)}}function b2(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.OPTION:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._insertElement(t,W.HTML);break}case h.OPTGROUP:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop(),e._insertElement(t,W.HTML);break}case h.HR:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop(),e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.INPUT:case h.KEYGEN:case h.TEXTAREA:case h.SELECT:{e.openElements.hasInSelectScope(h.SELECT)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),t.tagID!==h.SELECT&&e._processStartTag(t));break}case h.SCRIPT:case h.TEMPLATE:{tr(e,t);break}}}function y2(e,t){switch(t.tagID){case h.OPTGROUP:{e.openElements.stackTop>0&&e.openElements.currentTagId===h.OPTION&&e.openElements.tagIDs[e.openElements.stackTop-1]===h.OPTGROUP&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop();break}case h.OPTION:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop();break}case h.SELECT:{e.openElements.hasInSelectScope(h.SELECT)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode());break}case h.TEMPLATE:{kn(e,t);break}}}function vw(e,t){const r=t.tagID;r===h.CAPTION||r===h.TABLE||r===h.TBODY||r===h.TFOOT||r===h.THEAD||r===h.TR||r===h.TD||r===h.TH?(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e._processStartTag(t)):b2(e,t)}function Aw(e,t){const r=t.tagID;r===h.CAPTION||r===h.TABLE||r===h.TBODY||r===h.TFOOT||r===h.THEAD||r===h.TR||r===h.TD||r===h.TH?e.openElements.hasInTableScope(r)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),e.onEndTag(t)):y2(e,t)}function ww(e,t){switch(t.tagID){case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:case h.NOFRAMES:case h.SCRIPT:case h.STYLE:case h.TEMPLATE:case h.TITLE:{tr(e,t);break}case h.CAPTION:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:{e.tmplInsertionModeStack[0]=R.IN_TABLE,e.insertionMode=R.IN_TABLE,Kn(e,t);break}case h.COL:{e.tmplInsertionModeStack[0]=R.IN_COLUMN_GROUP,e.insertionMode=R.IN_COLUMN_GROUP,Dl(e,t);break}case h.TR:{e.tmplInsertionModeStack[0]=R.IN_TABLE_BODY,e.insertionMode=R.IN_TABLE_BODY,l0(e,t);break}case h.TD:case h.TH:{e.tmplInsertionModeStack[0]=R.IN_ROW,e.insertionMode=R.IN_ROW,c0(e,t);break}default:e.tmplInsertionModeStack[0]=R.IN_BODY,e.insertionMode=R.IN_BODY,Et(e,t)}}function Sw(e,t){t.tagID===h.TEMPLATE&&kn(e,t)}function E2(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Rl(e,t)}function kw(e,t){t.tagID===h.HTML?Et(e,t):Ss(e,t)}function x2(e,t){var r;if(t.tagID===h.HTML){if(e.fragmentContext||(e.insertionMode=R.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===h.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 Ss(e,t)}function Ss(e,t){e.insertionMode=R.IN_BODY,u0(e,t)}function Cw(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.FRAMESET:{e._insertElement(t,W.HTML);break}case h.FRAME:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.NOFRAMES:{tr(e,t);break}}}function Iw(e,t){t.tagID===h.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==h.FRAMESET&&(e.insertionMode=R.AFTER_FRAMESET))}function _w(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.NOFRAMES:{tr(e,t);break}}}function Nw(e,t){t.tagID===h.HTML&&(e.insertionMode=R.AFTER_AFTER_FRAMESET)}function Ow(e,t){t.tagID===h.HTML?Et(e,t):us(e,t)}function us(e,t){e.insertionMode=R.IN_BODY,u0(e,t)}function Rw(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.NOFRAMES:{tr(e,t);break}}}function Dw(e,t){t.chars=Ve,e._insertCharacters(t)}function Lw(e,t){e._insertCharacters(t),e.framesetOk=!1}function T2(e){for(;e.treeAdapter.getNamespaceURI(e.openElements.current)!==W.HTML&&e.openElements.currentTagId!==void 0&&!e._isIntegrationPoint(e.openElements.currentTagId,e.openElements.current);)e.openElements.pop()}function Mw(e,t){if(Kv(t))T2(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===W.MATHML?a2(t):n===W.SVG&&(Qv(t),i2(t)),Nl(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function Pw(e,t){if(t.tagID===h.P||t.tagID===h.BR){T2(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)===W.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 Fw=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,Bw=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Pf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function v2(e,t){const r=Gw(e),n=gp("type",{handlers:{root:zw,element:Hw,text:Uw,comment:w2,doctype:jw,raw:$w},unknown:Yw}),a={parser:r?new Df(Pf):Df.getFragmentParser(void 0,Pf),handle(u){n(u,a)},stitches:!1,options:t||{}};n(e,a),ca(a,fr());const i=r?a.parser.document:a.parser.getFragment(),s=XT(i,{file:a.options.file});return a.stitches&&Gs(s,"comment",function(u,o,l){const c=u;if(c.value.stitch&&l&&o!==void 0){const f=l.children;return f[o]=c.value.stitch,o}}),s.type==="root"&&s.children.length===1&&s.children[0].type===e.type?s.children[0]:s}function A2(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function zw(e,t){A2(e.children,t)}function Hw(e,t){Vw(e,t),A2(e.children,t),Ww(e,t)}function Uw(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Ie.CHARACTER,chars:e.value,location:di(e)};ca(t,fr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function jw(e,t){const r={type:Ie.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:di(e)};ca(t,fr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function qw(e,t){t.stitches=!0;const r=Xw(e);if("children"in e&&"children"in r){const n=v2({type:"root",children:e.children},t.options);r.children=n.children}w2({type:"comment",value:{stitch:r}},t)}function w2(e,t){const r=e.value,n={type:Ie.COMMENT,data:r,location:di(e)};ca(t,fr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function $w(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,S2(t,fr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(Fw,"&lt;$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 Yw(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))qw(r,t);else{let n="";throw Bw.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 ca(e,t){S2(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=Ze.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 S2(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 Vw(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ze.PLAINTEXT)return;ca(t,fr(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:or.html;a===or.html&&r==="svg"&&(a=or.svg);const i=ev(tt(J({},e),{children:[]}),{space:a===or.svg?"svg":"html"}),s={type:Ie.START_TAG,tagName:r,tagID:la(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:di(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function Ww(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&ov.includes(r)||t.parser.tokenizer.state===Ze.PLAINTEXT)return;ca(t,qs(e));const n={type:Ie.END_TAG,tagName:r,tagID:la(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:di(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ze.RCDATA||t.parser.tokenizer.state===Ze.RAWTEXT||t.parser.tokenizer.state===Ze.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ze.DATA)}function Gw(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function di(e){const t=fr(e)||{line:void 0,column:void 0,offset:void 0},r=qs(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 Xw(e){return"children"in e?Vn(tt(J({},e),{children:[]})):Vn(e)}function Kw(e){return function(t,r){return v2(t,tt(J({},e),{file:r}))}}function Qw(e){fp(e,[/\r?\n|\r/g,Jw])}function Jw(){return{type:"break"}}function Zw(){return function(e){Qw(e)}}const eS=ne.div`
310
+ position: relative;
311
+
312
+ max-width: 100%;
313
+ overflow-wrap: break-word;
314
+
315
+ > p {
316
+ display: block;
317
+ width: 100%;
318
+ margin-bottom: 16px;
319
+ }
320
+
321
+ > p:last-child {
322
+ margin-bottom: 0;
323
+ }
324
+
325
+ @keyframes dots {
326
+ 0%, 20% {
327
+ color: ${({loading_color:e})=>e};
328
+ text-shadow: ${({loading_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
329
+ }
330
+ 40% {
331
+ color: ${({primary_color:e})=>e};
332
+ text-shadow: ${({loading_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
333
+ }
334
+ 60% {
335
+ text-shadow: ${({primary_color:e,loading_color:t})=>`.25em 0 0 ${e}, .5em 0 0 ${t}`};
336
+ }
337
+ 80%, 100% {
338
+ text-shadow: ${({primary_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
339
+
340
+ }
341
+ }
342
+
343
+ @keyframes blink-dots {
344
+ 0%,
345
+ 80%,
346
+ 100% {
347
+ box-shadow: 0 -1em 0 -1.3em #5584ff;
348
+ }
349
+ 40% {
350
+ box-shadow: 0 -1em 0 0 #5584ff;
351
+ }
352
+ }
353
+
354
+ .prompt-message {
355
+ font-size: 12px;
356
+ }
357
+
358
+ .prompt-loading {
359
+ margin-left: 2px;
360
+ color: ${({second_color:e})=>e};
361
+ position: relative;
362
+
363
+ .dots {
364
+ //text-align: center;
365
+ //font-size: 1.5em;
366
+ //letter-spacing: 2px;
367
+ //animation: dots 1s steps(5, end) infinite;
368
+
369
+ display: inline-block;
370
+ position: relative;
371
+ text-indent: -9999em;
372
+ animation-delay: -0.16s;
373
+ margin: 0 auto !important;
374
+ transform: scale(0.5);
375
+ top: 0.6em;
376
+ left: 1.5em;
377
+
378
+ &:before,
379
+ &:after,
380
+ & {
381
+ border-radius: 50%;
382
+ width: 1em;
383
+ height: 1em;
384
+ animation: 1.8s ease-in-out 0s infinite normal none running blink-dots;
385
+ }
386
+ &:before {
387
+ left: -2em;
388
+ animation-delay: -0.32s;
389
+ }
390
+ &:after {
391
+ left: 2em;
392
+ }
393
+ &:before,
394
+ &:after {
395
+ content: '';
396
+ position: absolute;
397
+ }
398
+ }
399
+ }
400
+
401
+ h1,h2,h3,h4,h5,h6 {
402
+ padding: 10px;
403
+ color: ${({color:e})=>e};
404
+ // background: ${({bg_color:e})=>e}; // TODO dark mode ?
405
+ }
406
+
407
+ h1 {
408
+ font-size: 18px;
409
+ }
410
+
411
+ h2 {
412
+ font-size: 16px;
413
+ }
414
+
415
+ h3,h4 {
416
+ font-size: 14px;
417
+ }
418
+
419
+ ul,ol {
420
+ padding-left: 2em;
421
+ display: flex;
422
+ flex-direction: column;
423
+ gap: 8px;
424
+ list-style-type: disc;
425
+ }
426
+
427
+ ul ul,
428
+ ol ul {
429
+ list-style-type: circle;
430
+ }
431
+
432
+ ul ul ul,
433
+ ul ol ul,
434
+ ol ul ul,
435
+ ol ol ul {
436
+ list-style-type: square;
437
+ }
438
+
439
+ ol {
440
+ list-style-type: decimal;
441
+ }
442
+
443
+ li {
444
+ white-space: normal;
445
+ }
446
+
447
+ details {
448
+ font-size: 12px;
449
+ color: rgb(106 105 105);
450
+ white-space: normal;
451
+ }
452
+
453
+ details:has(pre:empty) {
454
+ display: none;
455
+ }
456
+
457
+ summary {
458
+ margin-left: -4px;
459
+ }
460
+
461
+ pre.think {
462
+ font-size: 12px;
463
+ color: #a6a6a6;
464
+ border-left: 1px #a6a6a6 solid;
465
+ display: inline-block;
466
+ white-space: pre-wrap;
467
+ overflow-wrap: break-word;
468
+ padding-left: 10px;
469
+ margin-top: 8px;
470
+ }
471
+
472
+ pre.think > p {
473
+ margin-top: 10px;
474
+ }
475
+
476
+ table {
477
+ display: block;
478
+ overflow-x: auto;
479
+ width: max-content;
480
+ max-width: 100%;
481
+ }
482
+
483
+ th, td {
484
+ border: 1px solid #d9d9d9;
485
+ padding: 12px;
486
+ text-align: center;
487
+ white-space: nowrap;
488
+ }
489
+
490
+ /* 用于 coverMath2Markdown 的加载动画 */
491
+ @keyframes cursorImg {
492
+ 0%, 100% {
493
+ opacity: 1;
494
+ }
495
+ 50% {
496
+ opacity: 0;
497
+ }
498
+ }
499
+
500
+ .prompt-loading-cursor {
501
+ color: #5584ff;
502
+ animation: cursorImg 1s infinite steps(1, start);
503
+ }
504
+
505
+ /* KaTeX 数学公式样式 */
506
+ .katex {
507
+ font: inherit;
508
+ text-rendering: auto;
509
+ }
510
+
511
+ .katex-display {
512
+ display: block;
513
+ margin: 1em 0;
514
+ text-align: center;
515
+ }
516
+
517
+ /* 数学符号和布局样式 */
518
+ .katex .mord,
519
+ .katex .mbin,
520
+ .katex .mrel,
521
+ .katex .mopen,
522
+ .katex .mclose,
523
+ .katex .mpunct,
524
+ .katex .minner {
525
+ font-family: inherit;
526
+ }
527
+
528
+ /* 数学布局样式 */
529
+ .katex .vlist-t,
530
+ .katex .vlist-r,
531
+ .katex .vlist {
532
+ display: inline-block;
533
+ }
534
+
535
+ .katex .mfrac {
536
+ display: inline-block;
537
+ vertical-align: middle;
538
+ }
539
+ `;/*!
540
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
541
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
542
+ * Copyright 2024 Fonticons, Inc.
543
+ */function tS(e,t,r){return(t=nS(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ff(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 Z(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Ff(Object(r),!0).forEach(function(n){tS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ff(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function rS(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 nS(e){var t=rS(e,"string");return typeof t=="symbol"?t:t+""}const Bf=()=>{};let Ll={},k2={},C2=null,I2={mark:Bf,measure:Bf};try{typeof window!="undefined"&&(Ll=window),typeof document!="undefined"&&(k2=document),typeof MutationObserver!="undefined"&&(C2=MutationObserver),typeof performance!="undefined"&&(I2=performance)}catch(e){}const{userAgent:zf=""}=Ll.navigator||{},Gr=Ll,Ye=k2,Hf=C2,$i=I2;Gr.document;const Rr=!!Ye.documentElement&&!!Ye.head&&typeof Ye.addEventListener=="function"&&typeof Ye.createElement=="function",_2=~zf.indexOf("MSIE")||~zf.indexOf("Trident/");var aS=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,iS=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,N2={classic:{fa:"solid",fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fab:"brands","fa-brands":"brands"},duotone:{fa:"solid",fad:"solid","fa-solid":"solid","fa-duotone":"solid",fadr:"regular","fa-regular":"regular",fadl:"light","fa-light":"light",fadt:"thin","fa-thin":"thin"},sharp:{fa:"solid",fass:"solid","fa-solid":"solid",fasr:"regular","fa-regular":"regular",fasl:"light","fa-light":"light",fast:"thin","fa-thin":"thin"},"sharp-duotone":{fa:"solid",fasds:"solid","fa-solid":"solid",fasdr:"regular","fa-regular":"regular",fasdl:"light","fa-light":"light",fasdt:"thin","fa-thin":"thin"}},sS={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},O2=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],bt="classic",f0="duotone",uS="sharp",oS="sharp-duotone",R2=[bt,f0,uS,oS],lS={classic:{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},duotone:{900:"fad",400:"fadr",300:"fadl",100:"fadt"},sharp:{900:"fass",400:"fasr",300:"fasl",100:"fast"},"sharp-duotone":{900:"fasds",400:"fasdr",300:"fasdl",100:"fasdt"}},cS={"Font Awesome 6 Free":{900:"fas",400:"far"},"Font Awesome 6 Pro":{900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},"Font Awesome 6 Brands":{400:"fab",normal:"fab"},"Font Awesome 6 Duotone":{900:"fad",400:"fadr",normal:"fadr",300:"fadl",100:"fadt"},"Font Awesome 6 Sharp":{900:"fass",400:"fasr",normal:"fasr",300:"fasl",100:"fast"},"Font Awesome 6 Sharp Duotone":{900:"fasds",400:"fasdr",normal:"fasdr",300:"fasdl",100:"fasdt"}},fS=new Map([["classic",{defaultShortPrefixId:"fas",defaultStyleId:"solid",styleIds:["solid","regular","light","thin","brands"],futureStyleIds:[],defaultFontWeight:900}],["sharp",{defaultShortPrefixId:"fass",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["duotone",{defaultShortPrefixId:"fad",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}],["sharp-duotone",{defaultShortPrefixId:"fasds",defaultStyleId:"solid",styleIds:["solid","regular","light","thin"],futureStyleIds:[],defaultFontWeight:900}]]),hS={classic:{solid:"fas",regular:"far",light:"fal",thin:"fat",brands:"fab"},duotone:{solid:"fad",regular:"fadr",light:"fadl",thin:"fadt"},sharp:{solid:"fass",regular:"fasr",light:"fasl",thin:"fast"},"sharp-duotone":{solid:"fasds",regular:"fasdr",light:"fasdl",thin:"fasdt"}},dS=["fak","fa-kit","fakd","fa-kit-duotone"],Uf={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},mS=["kit"],pS={kit:{"fa-kit":"fak"}},gS=["fak","fakd"],bS={kit:{fak:"fa-kit"}},jf={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},Yi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},yS=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],ES=["fak","fa-kit","fakd","fa-kit-duotone"],xS={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},TS={classic:{"fa-brands":"fab","fa-duotone":"fad","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},duotone:{"fa-regular":"fadr","fa-light":"fadl","fa-thin":"fadt"},sharp:{"fa-solid":"fass","fa-regular":"fasr","fa-light":"fasl","fa-thin":"fast"},"sharp-duotone":{"fa-solid":"fasds","fa-regular":"fasdr","fa-light":"fasdl","fa-thin":"fasdt"}},vS={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},mo={classic:{fab:"fa-brands",fad:"fa-duotone",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},duotone:{fadr:"fa-regular",fadl:"fa-light",fadt:"fa-thin"},sharp:{fass:"fa-solid",fasr:"fa-regular",fasl:"fa-light",fast:"fa-thin"},"sharp-duotone":{fasds:"fa-solid",fasdr:"fa-regular",fasdl:"fa-light",fasdt:"fa-thin"}},AS=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],po=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...yS,...AS],wS=["solid","regular","light","thin","duotone","brands"],D2=[1,2,3,4,5,6,7,8,9,10],SS=D2.concat([11,12,13,14,15,16,17,18,19,20]),kS=[...Object.keys(vS),...wS,"2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Yi.GROUP,Yi.SWAP_OPACITY,Yi.PRIMARY,Yi.SECONDARY].concat(D2.map(e=>"".concat(e,"x"))).concat(SS.map(e=>"w-".concat(e))),CS={"Font Awesome 5 Free":{900:"fas",400:"far"},"Font Awesome 5 Pro":{900:"fas",400:"far",normal:"far",300:"fal"},"Font Awesome 5 Brands":{400:"fab",normal:"fab"},"Font Awesome 5 Duotone":{900:"fad"}};const kr="___FONT_AWESOME___",go=16,L2="fa",M2="svg-inline--fa",xn="data-fa-i2svg",bo="data-fa-pseudo-element",IS="data-fa-pseudo-element-pending",Ml="data-prefix",Pl="data-icon",qf="fontawesome-i2svg",_S="async",NS=["HTML","HEAD","STYLE","SCRIPT"],P2=(()=>{try{return!0}catch(e){return!1}})();function mi(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[bt]}})}const F2=Z({},N2);F2[bt]=Z(Z(Z(Z({},{"fa-duotone":"duotone"}),N2[bt]),Uf.kit),Uf["kit-duotone"]);const OS=mi(F2),yo=Z({},hS);yo[bt]=Z(Z(Z(Z({},{duotone:"fad"}),yo[bt]),jf.kit),jf["kit-duotone"]);const $f=mi(yo),Eo=Z({},mo);Eo[bt]=Z(Z({},Eo[bt]),bS.kit);const Fl=mi(Eo),xo=Z({},TS);xo[bt]=Z(Z({},xo[bt]),pS.kit);mi(xo);const RS=aS,B2="fa-layers-text",DS=iS,LS=Z({},lS);mi(LS);const MS=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],mu=sS,PS=[...mS,...kS],Ua=Gr.FontAwesomeConfig||{};function FS(e){var t=Ye.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function BS(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}Ye&&typeof Ye.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[r,n]=t;const a=BS(FS(r));a!=null&&(Ua[n]=a)});const z2={styleDefault:"solid",familyDefault:bt,cssPrefix:L2,replacementClass:M2,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ua.familyPrefix&&(Ua.cssPrefix=Ua.familyPrefix);const Qn=Z(Z({},z2),Ua);Qn.autoReplaceSvg||(Qn.observeMutations=!1);const fe={};Object.keys(z2).forEach(e=>{Object.defineProperty(fe,e,{enumerable:!0,set:function(t){Qn[e]=t,ja.forEach(r=>r(fe))},get:function(){return Qn[e]}})});Object.defineProperty(fe,"familyPrefix",{enumerable:!0,set:function(e){Qn.cssPrefix=e,ja.forEach(t=>t(fe))},get:function(){return Qn.cssPrefix}});Gr.FontAwesomeConfig=fe;const ja=[];function zS(e){return ja.push(e),()=>{ja.splice(ja.indexOf(e),1)}}const Pr=go,lr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function HS(e){if(!e||!Rr)return;const t=Ye.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=Ye.head.childNodes;let n=null;for(let a=r.length-1;a>-1;a--){const i=r[a],s=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(n=i)}return Ye.head.insertBefore(t,n),e}const US="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Qa(){let e=12,t="";for(;e-- >0;)t+=US[Math.random()*62|0];return t}function fa(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function Bl(e){return e.classList?fa(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function H2(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function jS(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(H2(e[r]),'" '),"").trim()}function h0(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function zl(e){return e.size!==lr.size||e.x!==lr.x||e.y!==lr.y||e.rotate!==lr.rotate||e.flipX||e.flipY}function qS(e){let{transform:t,containerWidth:r,iconWidth:n}=e;const a={transform:"translate(".concat(r/2," 256)")},i="translate(".concat(t.x*32,", ").concat(t.y*32,") "),s="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),u="rotate(".concat(t.rotate," 0 0)"),o={transform:"".concat(i," ").concat(s," ").concat(u)},l={transform:"translate(".concat(n/2*-1," -256)")};return{outer:a,inner:o,path:l}}function $S(e){let{transform:t,width:r=go,height:n=go,startCentered:a=!1}=e,i="";return a&&_2?i+="translate(".concat(t.x/Pr-r/2,"em, ").concat(t.y/Pr-n/2,"em) "):a?i+="translate(calc(-50% + ".concat(t.x/Pr,"em), calc(-50% + ").concat(t.y/Pr,"em)) "):i+="translate(".concat(t.x/Pr,"em, ").concat(t.y/Pr,"em) "),i+="scale(".concat(t.size/Pr*(t.flipX?-1:1),", ").concat(t.size/Pr*(t.flipY?-1:1),") "),i+="rotate(".concat(t.rotate,"deg) "),i}var YS=`:root, :host {
544
+ --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
545
+ --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
546
+ --fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
547
+ --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
548
+ --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
549
+ --fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
550
+ --fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
551
+ --fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
552
+ --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
553
+ --fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
554
+ --fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
555
+ --fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
556
+ --fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
557
+ --fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
558
+ --fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
559
+ --fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
560
+ --fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
561
+ }
562
+
563
+ svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
564
+ overflow: visible;
565
+ box-sizing: content-box;
566
+ }
567
+
568
+ .svg-inline--fa {
569
+ display: var(--fa-display, inline-block);
570
+ height: 1em;
571
+ overflow: visible;
572
+ vertical-align: -0.125em;
573
+ }
574
+ .svg-inline--fa.fa-2xs {
575
+ vertical-align: 0.1em;
576
+ }
577
+ .svg-inline--fa.fa-xs {
578
+ vertical-align: 0em;
579
+ }
580
+ .svg-inline--fa.fa-sm {
581
+ vertical-align: -0.0714285705em;
582
+ }
583
+ .svg-inline--fa.fa-lg {
584
+ vertical-align: -0.2em;
585
+ }
586
+ .svg-inline--fa.fa-xl {
587
+ vertical-align: -0.25em;
588
+ }
589
+ .svg-inline--fa.fa-2xl {
590
+ vertical-align: -0.3125em;
591
+ }
592
+ .svg-inline--fa.fa-pull-left {
593
+ margin-right: var(--fa-pull-margin, 0.3em);
594
+ width: auto;
595
+ }
596
+ .svg-inline--fa.fa-pull-right {
597
+ margin-left: var(--fa-pull-margin, 0.3em);
598
+ width: auto;
599
+ }
600
+ .svg-inline--fa.fa-li {
601
+ width: var(--fa-li-width, 2em);
602
+ top: 0.25em;
603
+ }
604
+ .svg-inline--fa.fa-fw {
605
+ width: var(--fa-fw-width, 1.25em);
606
+ }
607
+
608
+ .fa-layers svg.svg-inline--fa {
609
+ bottom: 0;
610
+ left: 0;
611
+ margin: auto;
612
+ position: absolute;
613
+ right: 0;
614
+ top: 0;
615
+ }
616
+
617
+ .fa-layers-counter, .fa-layers-text {
618
+ display: inline-block;
619
+ position: absolute;
620
+ text-align: center;
621
+ }
622
+
623
+ .fa-layers {
624
+ display: inline-block;
625
+ height: 1em;
626
+ position: relative;
627
+ text-align: center;
628
+ vertical-align: -0.125em;
629
+ width: 1em;
630
+ }
631
+ .fa-layers svg.svg-inline--fa {
632
+ transform-origin: center center;
633
+ }
634
+
635
+ .fa-layers-text {
636
+ left: 50%;
637
+ top: 50%;
638
+ transform: translate(-50%, -50%);
639
+ transform-origin: center center;
640
+ }
641
+
642
+ .fa-layers-counter {
643
+ background-color: var(--fa-counter-background-color, #ff253a);
644
+ border-radius: var(--fa-counter-border-radius, 1em);
645
+ box-sizing: border-box;
646
+ color: var(--fa-inverse, #fff);
647
+ line-height: var(--fa-counter-line-height, 1);
648
+ max-width: var(--fa-counter-max-width, 5em);
649
+ min-width: var(--fa-counter-min-width, 1.5em);
650
+ overflow: hidden;
651
+ padding: var(--fa-counter-padding, 0.25em 0.5em);
652
+ right: var(--fa-right, 0);
653
+ text-overflow: ellipsis;
654
+ top: var(--fa-top, 0);
655
+ transform: scale(var(--fa-counter-scale, 0.25));
656
+ transform-origin: top right;
657
+ }
658
+
659
+ .fa-layers-bottom-right {
660
+ bottom: var(--fa-bottom, 0);
661
+ right: var(--fa-right, 0);
662
+ top: auto;
663
+ transform: scale(var(--fa-layers-scale, 0.25));
664
+ transform-origin: bottom right;
665
+ }
666
+
667
+ .fa-layers-bottom-left {
668
+ bottom: var(--fa-bottom, 0);
669
+ left: var(--fa-left, 0);
670
+ right: auto;
671
+ top: auto;
672
+ transform: scale(var(--fa-layers-scale, 0.25));
673
+ transform-origin: bottom left;
674
+ }
675
+
676
+ .fa-layers-top-right {
677
+ top: var(--fa-top, 0);
678
+ right: var(--fa-right, 0);
679
+ transform: scale(var(--fa-layers-scale, 0.25));
680
+ transform-origin: top right;
681
+ }
682
+
683
+ .fa-layers-top-left {
684
+ left: var(--fa-left, 0);
685
+ right: auto;
686
+ top: var(--fa-top, 0);
687
+ transform: scale(var(--fa-layers-scale, 0.25));
688
+ transform-origin: top left;
689
+ }
690
+
691
+ .fa-1x {
692
+ font-size: 1em;
693
+ }
694
+
695
+ .fa-2x {
696
+ font-size: 2em;
697
+ }
698
+
699
+ .fa-3x {
700
+ font-size: 3em;
701
+ }
702
+
703
+ .fa-4x {
704
+ font-size: 4em;
705
+ }
706
+
707
+ .fa-5x {
708
+ font-size: 5em;
709
+ }
710
+
711
+ .fa-6x {
712
+ font-size: 6em;
713
+ }
714
+
715
+ .fa-7x {
716
+ font-size: 7em;
717
+ }
718
+
719
+ .fa-8x {
720
+ font-size: 8em;
721
+ }
722
+
723
+ .fa-9x {
724
+ font-size: 9em;
725
+ }
726
+
727
+ .fa-10x {
728
+ font-size: 10em;
729
+ }
730
+
731
+ .fa-2xs {
732
+ font-size: 0.625em;
733
+ line-height: 0.1em;
734
+ vertical-align: 0.225em;
735
+ }
736
+
737
+ .fa-xs {
738
+ font-size: 0.75em;
739
+ line-height: 0.0833333337em;
740
+ vertical-align: 0.125em;
741
+ }
742
+
743
+ .fa-sm {
744
+ font-size: 0.875em;
745
+ line-height: 0.0714285718em;
746
+ vertical-align: 0.0535714295em;
747
+ }
748
+
749
+ .fa-lg {
750
+ font-size: 1.25em;
751
+ line-height: 0.05em;
752
+ vertical-align: -0.075em;
753
+ }
754
+
755
+ .fa-xl {
756
+ font-size: 1.5em;
757
+ line-height: 0.0416666682em;
758
+ vertical-align: -0.125em;
759
+ }
760
+
761
+ .fa-2xl {
762
+ font-size: 2em;
763
+ line-height: 0.03125em;
764
+ vertical-align: -0.1875em;
765
+ }
766
+
767
+ .fa-fw {
768
+ text-align: center;
769
+ width: 1.25em;
770
+ }
771
+
772
+ .fa-ul {
773
+ list-style-type: none;
774
+ margin-left: var(--fa-li-margin, 2.5em);
775
+ padding-left: 0;
776
+ }
777
+ .fa-ul > li {
778
+ position: relative;
779
+ }
780
+
781
+ .fa-li {
782
+ left: calc(-1 * var(--fa-li-width, 2em));
783
+ position: absolute;
784
+ text-align: center;
785
+ width: var(--fa-li-width, 2em);
786
+ line-height: inherit;
787
+ }
788
+
789
+ .fa-border {
790
+ border-color: var(--fa-border-color, #eee);
791
+ border-radius: var(--fa-border-radius, 0.1em);
792
+ border-style: var(--fa-border-style, solid);
793
+ border-width: var(--fa-border-width, 0.08em);
794
+ padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
795
+ }
796
+
797
+ .fa-pull-left {
798
+ float: left;
799
+ margin-right: var(--fa-pull-margin, 0.3em);
800
+ }
801
+
802
+ .fa-pull-right {
803
+ float: right;
804
+ margin-left: var(--fa-pull-margin, 0.3em);
805
+ }
806
+
807
+ .fa-beat {
808
+ animation-name: fa-beat;
809
+ animation-delay: var(--fa-animation-delay, 0s);
810
+ animation-direction: var(--fa-animation-direction, normal);
811
+ animation-duration: var(--fa-animation-duration, 1s);
812
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
813
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
814
+ }
815
+
816
+ .fa-bounce {
817
+ animation-name: fa-bounce;
818
+ animation-delay: var(--fa-animation-delay, 0s);
819
+ animation-direction: var(--fa-animation-direction, normal);
820
+ animation-duration: var(--fa-animation-duration, 1s);
821
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
822
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
823
+ }
824
+
825
+ .fa-fade {
826
+ animation-name: fa-fade;
827
+ animation-delay: var(--fa-animation-delay, 0s);
828
+ animation-direction: var(--fa-animation-direction, normal);
829
+ animation-duration: var(--fa-animation-duration, 1s);
830
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
831
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
832
+ }
833
+
834
+ .fa-beat-fade {
835
+ animation-name: fa-beat-fade;
836
+ animation-delay: var(--fa-animation-delay, 0s);
837
+ animation-direction: var(--fa-animation-direction, normal);
838
+ animation-duration: var(--fa-animation-duration, 1s);
839
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
840
+ animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
841
+ }
842
+
843
+ .fa-flip {
844
+ animation-name: fa-flip;
845
+ animation-delay: var(--fa-animation-delay, 0s);
846
+ animation-direction: var(--fa-animation-direction, normal);
847
+ animation-duration: var(--fa-animation-duration, 1s);
848
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
849
+ animation-timing-function: var(--fa-animation-timing, ease-in-out);
850
+ }
851
+
852
+ .fa-shake {
853
+ animation-name: fa-shake;
854
+ animation-delay: var(--fa-animation-delay, 0s);
855
+ animation-direction: var(--fa-animation-direction, normal);
856
+ animation-duration: var(--fa-animation-duration, 1s);
857
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
858
+ animation-timing-function: var(--fa-animation-timing, linear);
859
+ }
860
+
861
+ .fa-spin {
862
+ animation-name: fa-spin;
863
+ animation-delay: var(--fa-animation-delay, 0s);
864
+ animation-direction: var(--fa-animation-direction, normal);
865
+ animation-duration: var(--fa-animation-duration, 2s);
866
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
867
+ animation-timing-function: var(--fa-animation-timing, linear);
868
+ }
869
+
870
+ .fa-spin-reverse {
871
+ --fa-animation-direction: reverse;
872
+ }
873
+
874
+ .fa-pulse,
875
+ .fa-spin-pulse {
876
+ animation-name: fa-spin;
877
+ animation-direction: var(--fa-animation-direction, normal);
878
+ animation-duration: var(--fa-animation-duration, 1s);
879
+ animation-iteration-count: var(--fa-animation-iteration-count, infinite);
880
+ animation-timing-function: var(--fa-animation-timing, steps(8));
881
+ }
882
+
883
+ @media (prefers-reduced-motion: reduce) {
884
+ .fa-beat,
885
+ .fa-bounce,
886
+ .fa-fade,
887
+ .fa-beat-fade,
888
+ .fa-flip,
889
+ .fa-pulse,
890
+ .fa-shake,
891
+ .fa-spin,
892
+ .fa-spin-pulse {
893
+ animation-delay: -1ms;
894
+ animation-duration: 1ms;
895
+ animation-iteration-count: 1;
896
+ transition-delay: 0s;
897
+ transition-duration: 0s;
898
+ }
899
+ }
900
+ @keyframes fa-beat {
901
+ 0%, 90% {
902
+ transform: scale(1);
903
+ }
904
+ 45% {
905
+ transform: scale(var(--fa-beat-scale, 1.25));
906
+ }
907
+ }
908
+ @keyframes fa-bounce {
909
+ 0% {
910
+ transform: scale(1, 1) translateY(0);
911
+ }
912
+ 10% {
913
+ transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
914
+ }
915
+ 30% {
916
+ transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
917
+ }
918
+ 50% {
919
+ transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
920
+ }
921
+ 57% {
922
+ transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
923
+ }
924
+ 64% {
925
+ transform: scale(1, 1) translateY(0);
926
+ }
927
+ 100% {
928
+ transform: scale(1, 1) translateY(0);
929
+ }
930
+ }
931
+ @keyframes fa-fade {
932
+ 50% {
933
+ opacity: var(--fa-fade-opacity, 0.4);
934
+ }
935
+ }
936
+ @keyframes fa-beat-fade {
937
+ 0%, 100% {
938
+ opacity: var(--fa-beat-fade-opacity, 0.4);
939
+ transform: scale(1);
940
+ }
941
+ 50% {
942
+ opacity: 1;
943
+ transform: scale(var(--fa-beat-fade-scale, 1.125));
944
+ }
945
+ }
946
+ @keyframes fa-flip {
947
+ 50% {
948
+ transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
949
+ }
950
+ }
951
+ @keyframes fa-shake {
952
+ 0% {
953
+ transform: rotate(-15deg);
954
+ }
955
+ 4% {
956
+ transform: rotate(15deg);
957
+ }
958
+ 8%, 24% {
959
+ transform: rotate(-18deg);
960
+ }
961
+ 12%, 28% {
962
+ transform: rotate(18deg);
963
+ }
964
+ 16% {
965
+ transform: rotate(-22deg);
966
+ }
967
+ 20% {
968
+ transform: rotate(22deg);
969
+ }
970
+ 32% {
971
+ transform: rotate(-12deg);
972
+ }
973
+ 36% {
974
+ transform: rotate(12deg);
975
+ }
976
+ 40%, 100% {
977
+ transform: rotate(0deg);
978
+ }
979
+ }
980
+ @keyframes fa-spin {
981
+ 0% {
982
+ transform: rotate(0deg);
983
+ }
984
+ 100% {
985
+ transform: rotate(360deg);
986
+ }
987
+ }
988
+ .fa-rotate-90 {
989
+ transform: rotate(90deg);
990
+ }
991
+
992
+ .fa-rotate-180 {
993
+ transform: rotate(180deg);
994
+ }
995
+
996
+ .fa-rotate-270 {
997
+ transform: rotate(270deg);
998
+ }
999
+
1000
+ .fa-flip-horizontal {
1001
+ transform: scale(-1, 1);
1002
+ }
1003
+
1004
+ .fa-flip-vertical {
1005
+ transform: scale(1, -1);
1006
+ }
1007
+
1008
+ .fa-flip-both,
1009
+ .fa-flip-horizontal.fa-flip-vertical {
1010
+ transform: scale(-1, -1);
1011
+ }
1012
+
1013
+ .fa-rotate-by {
1014
+ transform: rotate(var(--fa-rotate-angle, 0));
1015
+ }
1016
+
1017
+ .fa-stack {
1018
+ display: inline-block;
1019
+ vertical-align: middle;
1020
+ height: 2em;
1021
+ position: relative;
1022
+ width: 2.5em;
1023
+ }
1024
+
1025
+ .fa-stack-1x,
1026
+ .fa-stack-2x {
1027
+ bottom: 0;
1028
+ left: 0;
1029
+ margin: auto;
1030
+ position: absolute;
1031
+ right: 0;
1032
+ top: 0;
1033
+ z-index: var(--fa-stack-z-index, auto);
1034
+ }
1035
+
1036
+ .svg-inline--fa.fa-stack-1x {
1037
+ height: 1em;
1038
+ width: 1.25em;
1039
+ }
1040
+ .svg-inline--fa.fa-stack-2x {
1041
+ height: 2em;
1042
+ width: 2.5em;
1043
+ }
1044
+
1045
+ .fa-inverse {
1046
+ color: var(--fa-inverse, #fff);
1047
+ }
1048
+
1049
+ .sr-only,
1050
+ .fa-sr-only {
1051
+ position: absolute;
1052
+ width: 1px;
1053
+ height: 1px;
1054
+ padding: 0;
1055
+ margin: -1px;
1056
+ overflow: hidden;
1057
+ clip: rect(0, 0, 0, 0);
1058
+ white-space: nowrap;
1059
+ border-width: 0;
1060
+ }
1061
+
1062
+ .sr-only-focusable:not(:focus),
1063
+ .fa-sr-only-focusable:not(:focus) {
1064
+ position: absolute;
1065
+ width: 1px;
1066
+ height: 1px;
1067
+ padding: 0;
1068
+ margin: -1px;
1069
+ overflow: hidden;
1070
+ clip: rect(0, 0, 0, 0);
1071
+ white-space: nowrap;
1072
+ border-width: 0;
1073
+ }
1074
+
1075
+ .svg-inline--fa .fa-primary {
1076
+ fill: var(--fa-primary-color, currentColor);
1077
+ opacity: var(--fa-primary-opacity, 1);
1078
+ }
1079
+
1080
+ .svg-inline--fa .fa-secondary {
1081
+ fill: var(--fa-secondary-color, currentColor);
1082
+ opacity: var(--fa-secondary-opacity, 0.4);
1083
+ }
1084
+
1085
+ .svg-inline--fa.fa-swap-opacity .fa-primary {
1086
+ opacity: var(--fa-secondary-opacity, 0.4);
1087
+ }
1088
+
1089
+ .svg-inline--fa.fa-swap-opacity .fa-secondary {
1090
+ opacity: var(--fa-primary-opacity, 1);
1091
+ }
1092
+
1093
+ .svg-inline--fa mask .fa-primary,
1094
+ .svg-inline--fa mask .fa-secondary {
1095
+ fill: black;
1096
+ }`;function U2(){const e=L2,t=M2,r=fe.cssPrefix,n=fe.replacementClass;let a=YS;if(r!==e||n!==t){const i=new RegExp("\\.".concat(e,"\\-"),"g"),s=new RegExp("\\--".concat(e,"\\-"),"g"),u=new RegExp("\\.".concat(t),"g");a=a.replace(i,".".concat(r,"-")).replace(s,"--".concat(r,"-")).replace(u,".".concat(n))}return a}let Yf=!1;function pu(){fe.autoAddCss&&!Yf&&(HS(U2()),Yf=!0)}var VS={mixout(){return{dom:{css:U2,insertCss:pu}}},hooks(){return{beforeDOMElementCreation(){pu()},beforeI2svg(){pu()}}}};const Cr=Gr||{};Cr[kr]||(Cr[kr]={});Cr[kr].styles||(Cr[kr].styles={});Cr[kr].hooks||(Cr[kr].hooks={});Cr[kr].shims||(Cr[kr].shims=[]);var cr=Cr[kr];const j2=[],q2=function(){Ye.removeEventListener("DOMContentLoaded",q2),ks=1,j2.map(e=>e())};let ks=!1;Rr&&(ks=(Ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ye.readyState),ks||Ye.addEventListener("DOMContentLoaded",q2));function WS(e){Rr&&(ks?setTimeout(e,0):j2.push(e))}function pi(e){const{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?H2(e):"<".concat(t," ").concat(jS(r),">").concat(n.map(pi).join(""),"</").concat(t,">")}function Vf(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var gu=function(t,r,n,a){var i=Object.keys(t),s=i.length,u=r,o,l,c;for(n===void 0?(o=1,c=t[i[0]]):(o=0,c=n);o<s;o++)l=i[o],c=u(c,t[l],l,t);return c};function GS(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 To(e){const t=GS(e);return t.length===1?t[0].toString(16):null}function XS(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 Wf(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 vo(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:n=!1}=r,a=Wf(t);typeof cr.hooks.addPack=="function"&&!n?cr.hooks.addPack(e,Wf(t)):cr.styles[e]=Z(Z({},cr.styles[e]||{}),a),e==="fas"&&vo("fa",t)}const{styles:Ja,shims:KS}=cr,$2=Object.keys(Fl),QS=$2.reduce((e,t)=>(e[t]=Object.keys(Fl[t]),e),{});let Hl=null,Y2={},V2={},W2={},G2={},X2={};function JS(e){return~PS.indexOf(e)}function ZS(e,t){const r=t.split("-"),n=r[0],a=r.slice(1).join("-");return n===e&&a!==""&&!JS(a)?a:null}const K2=()=>{const e=n=>gu(Ja,(a,i,s)=>(a[s]=gu(i,n,{}),a),{});Y2=e((n,a,i)=>(a[3]&&(n[a[3]]=i),a[2]&&a[2].filter(u=>typeof u=="number").forEach(u=>{n[u.toString(16)]=i}),n)),V2=e((n,a,i)=>(n[i]=i,a[2]&&a[2].filter(u=>typeof u=="string").forEach(u=>{n[u]=i}),n)),X2=e((n,a,i)=>{const s=a[2];return n[i]=i,s.forEach(u=>{n[u]=i}),n});const t="far"in Ja||fe.autoFetchSvg,r=gu(KS,(n,a)=>{const i=a[0];let s=a[1];const u=a[2];return s==="far"&&!t&&(s="fas"),typeof i=="string"&&(n.names[i]={prefix:s,iconName:u}),typeof i=="number"&&(n.unicodes[i.toString(16)]={prefix:s,iconName:u}),n},{names:{},unicodes:{}});W2=r.names,G2=r.unicodes,Hl=d0(fe.styleDefault,{family:fe.familyDefault})};zS(e=>{Hl=d0(e.styleDefault,{family:fe.familyDefault})});K2();function Ul(e,t){return(Y2[e]||{})[t]}function ek(e,t){return(V2[e]||{})[t]}function dn(e,t){return(X2[e]||{})[t]}function Q2(e){return W2[e]||{prefix:null,iconName:null}}function tk(e){const t=G2[e],r=Ul("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Xr(){return Hl}const J2=()=>({prefix:null,iconName:null,rest:[]});function rk(e){let t=bt;const r=$2.reduce((n,a)=>(n[a]="".concat(fe.cssPrefix,"-").concat(a),n),{});return R2.forEach(n=>{(e.includes(r[n])||e.some(a=>QS[n].includes(a)))&&(t=n)}),t}function d0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=bt}=t,n=OS[r][e];if(r===f0&&!e)return"fad";const a=$f[r][e]||$f[r][n],i=e in cr.styles?e:null;return a||i||null}function nk(e){let t=[],r=null;return e.forEach(n=>{const a=ZS(fe.cssPrefix,n);a?r=a:n&&t.push(n)}),{iconName:r,rest:t}}function Gf(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function m0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let n=null;const a=po.concat(ES),i=Gf(e.filter(f=>a.includes(f))),s=Gf(e.filter(f=>!po.includes(f))),u=i.filter(f=>(n=f,!O2.includes(f))),[o=null]=u,l=rk(i),c=Z(Z({},nk(s)),{},{prefix:d0(o,{family:l})});return Z(Z(Z({},c),uk({values:e,family:l,styles:Ja,config:fe,canonical:c,givenPrefix:n})),ak(r,n,c))}function ak(e,t,r){let{prefix:n,iconName:a}=r;if(e||!n||!a)return{prefix:n,iconName:a};const i=t==="fa"?Q2(a):{},s=dn(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!Ja.far&&Ja.fas&&!fe.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}const ik=R2.filter(e=>e!==bt||e!==f0),sk=Object.keys(mo).filter(e=>e!==bt).map(e=>Object.keys(mo[e])).flat();function uk(e){const{values:t,family:r,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,u=r===f0,o=t.includes("fa-duotone")||t.includes("fad"),l=s.familyDefault==="duotone",c=n.prefix==="fad"||n.prefix==="fa-duotone";if(!u&&(o||l||c)&&(n.prefix="fad"),(t.includes("fa-brands")||t.includes("fab"))&&(n.prefix="fab"),!n.prefix&&ik.includes(r)&&(Object.keys(i).find(p=>sk.includes(p))||s.autoFetchSvg)){const p=fS.get(r).defaultShortPrefixId;n.prefix=p,n.iconName=dn(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||a==="fa")&&(n.prefix=Xr()||"fas"),n}class ok{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]=Z(Z({},this.definitions[i]||{}),a[i]),vo(i,a[i]);const s=Fl[bt][i];s&&vo(s,a[i]),K2()})}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:u}=n[a],o=u[2];t[i]||(t[i]={}),o.length>0&&o.forEach(l=>{typeof l=="string"&&(t[i][l]=u)}),t[i][s]=u}),t}}let Xf=[],Pn={};const zn={},lk=Object.keys(zn);function ck(e,t){let{mixoutsTo:r}=t;return Xf=e,Pn={},Object.keys(zn).forEach(n=>{lk.indexOf(n)===-1&&delete zn[n]}),Xf.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=>{Pn[s]||(Pn[s]=[]),Pn[s].push(i[s])})}n.provides&&n.provides(zn)}),r}function Ao(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(Pn[e]||[]).forEach(s=>{t=s.apply(null,[t,...n])}),t}function Tn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(Pn[e]||[]).forEach(i=>{i.apply(null,r)})}function Kr(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return zn[e]?zn[e].apply(null,t):void 0}function wo(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||Xr();if(t)return t=dn(r,t)||t,Vf(Z2.definitions,r,t)||Vf(cr.styles,r,t)}const Z2=new ok,fk=()=>{fe.autoReplaceSvg=!1,fe.observeMutations=!1,Tn("noAuto")},hk={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Rr?(Tn("beforeI2svg",e),Kr("pseudoElements2svg",e),Kr("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;fe.autoReplaceSvg===!1&&(fe.autoReplaceSvg=!0),fe.observeMutations=!0,WS(()=>{mk({autoReplaceSvgRoot:t}),Tn("watch",e)})}},dk={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:dn(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=d0(e[0]);return{prefix:r,iconName:dn(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(fe.cssPrefix,"-"))>-1||e.match(RS))){const t=m0(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Xr(),iconName:dn(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Xr();return{prefix:t,iconName:dn(t,e)||e}}}},Ht={noAuto:fk,config:fe,dom:hk,parse:dk,library:Z2,findIconDefinition:wo,toHtml:pi},mk=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=Ye}=e;(Object.keys(cr.styles).length>0||fe.autoFetchSvg)&&Rr&&fe.autoReplaceSvg&&Ht.dom.i2svg({node:t})};function p0(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>pi(r))}}),Object.defineProperty(e,"node",{get:function(){if(!Rr)return;const r=Ye.createElement("div");return r.innerHTML=e.html,r.children}}),e}function pk(e){let{children:t,main:r,mask:n,attributes:a,styles:i,transform:s}=e;if(zl(s)&&r.found&&!n.found){const{width:u,height:o}=r,l={x:u/o/2,y:.5};a.style=h0(Z(Z({},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 gk(e){let{prefix:t,iconName:r,children:n,attributes:a,symbol:i}=e;const s=i===!0?"".concat(t,"-").concat(fe.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Z(Z({},a),{},{id:s}),children:n}]}]}function jl(e){const{icons:{main:t,mask:r},prefix:n,iconName:a,transform:i,symbol:s,title:u,maskId:o,titleId:l,extra:c,watchable:f=!1}=e,{width:p,height:d}=r.found?r:t,b=gS.includes(n),y=[fe.replacementClass,a?"".concat(fe.cssPrefix,"-").concat(a):""].filter(B=>c.classes.indexOf(B)===-1).filter(B=>B!==""||!!B).concat(c.classes).join(" ");let T={children:[],attributes:Z(Z({},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(d)})};const v=b&&!~c.classes.indexOf("fa-fw")?{width:"".concat(p/d*16*.0625,"em")}:{};f&&(T.attributes[xn]=""),u&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(l||Qa())},children:[u]}),delete T.attributes.title);const S=Z(Z({},T),{},{prefix:n,iconName:a,main:t,mask:r,maskId:o,transform:i,symbol:s,styles:Z(Z({},v),c.styles)}),{children:w,attributes:M}=r.found&&t.found?Kr("generateAbstractMask",S)||{children:[],attributes:{}}:Kr("generateAbstractIcon",S)||{children:[],attributes:{}};return S.children=w,S.attributes=M,s?gk(S):pk(S)}function Kf(e){const{content:t,width:r,height:n,transform:a,title:i,extra:s,watchable:u=!1}=e,o=Z(Z(Z({},s.attributes),i?{title:i}:{}),{},{class:s.classes.join(" ")});u&&(o[xn]="");const l=Z({},s.styles);zl(a)&&(l.transform=$S({transform:a,startCentered:!0,width:r,height:n}),l["-webkit-transform"]=l.transform);const c=h0(l);c.length>0&&(o.style=c);const f=[];return f.push({tag:"span",attributes:o,children:[t]}),i&&f.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),f}function bk(e){const{content:t,title:r,extra:n}=e,a=Z(Z(Z({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=h0(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:bu}=cr;function So(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(fe.cssPrefix,"-").concat(mu.GROUP)},children:[{tag:"path",attributes:{class:"".concat(fe.cssPrefix,"-").concat(mu.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(fe.cssPrefix,"-").concat(mu.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:a}}const yk={found:!1,width:512,height:512};function Ek(e,t){!P2&&!fe.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function ko(e,t){let r=t;return t==="fa"&&fe.styleDefault!==null&&(t=Xr()),new Promise((n,a)=>{if(r==="fa"){const i=Q2(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&bu[t]&&bu[t][e]){const i=bu[t][e];return n(So(i))}Ek(e,t),n(Z(Z({},yk),{},{icon:fe.showMissingIcons&&e?Kr("missingIconAbstract")||{}:{}}))})}const Qf=()=>{},Co=fe.measurePerformance&&$i&&$i.mark&&$i.measure?$i:{mark:Qf,measure:Qf},_a='FA "6.7.2"',xk=e=>(Co.mark("".concat(_a," ").concat(e," begins")),()=>e4(e)),e4=e=>{Co.mark("".concat(_a," ").concat(e," ends")),Co.measure("".concat(_a," ").concat(e),"".concat(_a," ").concat(e," begins"),"".concat(_a," ").concat(e," ends"))};var ql={begin:xk,end:e4};const os=()=>{};function Jf(e){return typeof(e.getAttribute?e.getAttribute(xn):null)=="string"}function Tk(e){const t=e.getAttribute?e.getAttribute(Ml):null,r=e.getAttribute?e.getAttribute(Pl):null;return t&&r}function vk(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(fe.replacementClass)}function Ak(){return fe.autoReplaceSvg===!0?ls.replace:ls[fe.autoReplaceSvg]||ls.replace}function wk(e){return Ye.createElementNS("http://www.w3.org/2000/svg",e)}function Sk(e){return Ye.createElement(e)}function t4(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?wk:Sk}=t;if(typeof e=="string")return Ye.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(t4(i,{ceFn:r}))}),n}function kk(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const ls={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(t4(r),t)}),t.getAttribute(xn)===null&&fe.keepOriginalSource){let r=Ye.createComment(kk(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~Bl(t).indexOf(fe.replacementClass))return ls.replace(e);const n=new RegExp("".concat(fe.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const i=r[0].attributes.class.split(" ").reduce((s,u)=>(u===fe.replacementClass||u.match(n)?s.toSvg.push(u):s.toNode.push(u),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=>pi(i)).join(`
1097
+ `);t.setAttribute(xn,""),t.innerHTML=a}};function Zf(e){e()}function r4(e,t){const r=typeof t=="function"?t:os;if(e.length===0)r();else{let n=Zf;fe.mutateApproach===_S&&(n=Gr.requestAnimationFrame||Zf),n(()=>{const a=Ak(),i=ql.begin("mutate");e.map(a),i(),r()})}}let $l=!1;function n4(){$l=!0}function Io(){$l=!1}let Cs=null;function eh(e){if(!Hf||!fe.observeMutations)return;const{treeCallback:t=os,nodeCallback:r=os,pseudoElementsCallback:n=os,observeMutationsRoot:a=Ye}=e;Cs=new Hf(i=>{if($l)return;const s=Xr();fa(i).forEach(u=>{if(u.type==="childList"&&u.addedNodes.length>0&&!Jf(u.addedNodes[0])&&(fe.searchPseudoElements&&n(u.target),t(u.target)),u.type==="attributes"&&u.target.parentNode&&fe.searchPseudoElements&&n(u.target.parentNode),u.type==="attributes"&&Jf(u.target)&&~MS.indexOf(u.attributeName))if(u.attributeName==="class"&&Tk(u.target)){const{prefix:o,iconName:l}=m0(Bl(u.target));u.target.setAttribute(Ml,o||s),l&&u.target.setAttribute(Pl,l)}else vk(u.target)&&r(u.target)})}),Rr&&Cs.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function Ck(){Cs&&Cs.disconnect()}function Ik(e){const t=e.getAttribute("style");let r=[];return t&&(r=t.split(";").reduce((n,a)=>{const i=a.split(":"),s=i[0],u=i.slice(1);return s&&u.length>0&&(n[s]=u.join(":").trim()),n},{})),r}function _k(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"";let a=m0(Bl(e));return a.prefix||(a.prefix=Xr()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=ek(a.prefix,e.innerText)||Ul(a.prefix,To(e.innerText))),!a.iconName&&fe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Nk(e){const t=fa(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 fe.autoA11y&&(r?t["aria-labelledby"]="".concat(fe.replacementClass,"-title-").concat(n||Qa()):(t["aria-hidden"]="true",t.focusable="false")),t}function Ok(){return{iconName:null,title:null,titleId:null,prefix:null,transform:lr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function th(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:n,rest:a}=_k(e),i=Nk(e),s=Ao("parseNodeAttributes",{},e);let u=t.styleParser?Ik(e):[];return Z({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:lr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:u,attributes:i}},s)}const{styles:Rk}=cr;function a4(e){const t=fe.autoReplaceSvg==="nest"?th(e,{styleParser:!1}):th(e);return~t.extra.classes.indexOf(B2)?Kr("generateLayersText",e,t):Kr("generateSvgReplacementMutation",e,t)}function Dk(){return[...dS,...po]}function rh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Rr)return Promise.resolve();const r=Ye.documentElement.classList,n=c=>r.add("".concat(qf,"-").concat(c)),a=c=>r.remove("".concat(qf,"-").concat(c)),i=fe.autoFetchSvg?Dk():O2.concat(Object.keys(Rk));i.includes("fa")||i.push("fa");const s=[".".concat(B2,":not([").concat(xn,"])")].concat(i.map(c=>".".concat(c,":not([").concat(xn,"])"))).join(", ");if(s.length===0)return Promise.resolve();let u=[];try{u=fa(e.querySelectorAll(s))}catch(c){}if(u.length>0)n("pending"),a("complete");else return Promise.resolve();const o=ql.begin("onTree"),l=u.reduce((c,f)=>{try{const p=a4(f);p&&c.push(p)}catch(p){P2||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise((c,f)=>{Promise.all(l).then(p=>{r4(p,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),o(),c()})}).catch(p=>{o(),f(p)})})}function Lk(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;a4(e).then(r=>{r&&r4([r],t)})}function Mk(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=(t||{}).icon?t:wo(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:wo(a||{})),e(n,Z(Z({},r),{},{mask:a}))}}const Pk=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=lr,symbol:n=!1,mask:a=null,maskId:i=null,title:s=null,titleId:u=null,classes:o=[],attributes:l={},styles:c={}}=t;if(!e)return;const{prefix:f,iconName:p,icon:d}=e;return p0(Z({type:"icon"},e),()=>(Tn("beforeDOMElementCreation",{iconDefinition:e,params:t}),fe.autoA11y&&(s?l["aria-labelledby"]="".concat(fe.replacementClass,"-title-").concat(u||Qa()):(l["aria-hidden"]="true",l.focusable="false")),jl({icons:{main:So(d),mask:a?So(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:Z(Z({},lr),r),symbol:n,title:s,maskId:i,titleId:u,extra:{attributes:l,styles:c,classes:o}})))};var Fk={mixout(){return{icon:Mk(Pk)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=rh,e.nodeCallback=Lk,e}}},provides(e){e.i2svg=function(t){const{node:r=Ye,callback:n=()=>{}}=t;return rh(r,n)},e.generateSvgReplacementMutation=function(t,r){const{iconName:n,title:a,titleId:i,prefix:s,transform:u,symbol:o,mask:l,maskId:c,extra:f}=r;return new Promise((p,d)=>{Promise.all([ko(n,s),l.iconName?ko(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(b=>{let[y,T]=b;p([t,jl({icons:{main:y,mask:T},prefix:s,iconName:n,transform:u,symbol:o,maskId:c,title:a,titleId:i,extra:f,watchable:!0})])}).catch(d)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t;const u=h0(s);u.length>0&&(n.style=u);let o;return zl(i)&&(o=Kr("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(o||a.icon),{children:r,attributes:n}}}},Bk={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return p0({type:"layer"},()=>{Tn("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(fe.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},zk={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 p0({type:"counter",content:e},()=>(Tn("beforeDOMElementCreation",{content:e,params:t}),bk({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(fe.cssPrefix,"-layers-counter"),...n]}})))}}}},Hk={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=lr,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return p0({type:"text",content:e},()=>(Tn("beforeDOMElementCreation",{content:e,params:t}),Kf({content:e,transform:Z(Z({},lr),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(fe.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:n,transform:a,extra:i}=r;let s=null,u=null;if(_2){const o=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();s=l.width/o,u=l.height/o}return fe.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Kf({content:t.innerHTML,width:s,height:u,transform:a,title:n,extra:i,watchable:!0})])}}};const Uk=new RegExp('"',"ug"),nh=[1105920,1112319],ah=Z(Z(Z(Z({},{FontAwesome:{normal:"fas",400:"fas"}}),cS),CS),xS),_o=Object.keys(ah).reduce((e,t)=>(e[t.toLowerCase()]=ah[t],e),{}),jk=Object.keys(_o).reduce((e,t)=>{const r=_o[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function qk(e){const t=e.replace(Uk,""),r=XS(t,0),n=r>=nh[0]&&r<=nh[1],a=t.length===2?t[0]===t[1]:!1;return{value:To(a?t[0]:t),isSecondary:n||a}}function $k(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(_o[r]||{})[a]||jk[r]}function ih(e,t){const r="".concat(IS).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();const s=fa(e.children).filter(p=>p.getAttribute(bo)===t)[0],u=Gr.getComputedStyle(e,t),o=u.getPropertyValue("font-family"),l=o.match(DS),c=u.getPropertyValue("font-weight"),f=u.getPropertyValue("content");if(s&&!l)return e.removeChild(s),n();if(l&&f!=="none"&&f!==""){const p=u.getPropertyValue("content");let d=$k(o,c);const{value:b,isSecondary:y}=qk(p),T=l[0].startsWith("FontAwesome");let v=Ul(d,b),S=v;if(T){const w=tk(b);w.iconName&&w.prefix&&(v=w.iconName,d=w.prefix)}if(v&&!y&&(!s||s.getAttribute(Ml)!==d||s.getAttribute(Pl)!==S)){e.setAttribute(r,S),s&&e.removeChild(s);const w=Ok(),{extra:M}=w;M.attributes[bo]=t,ko(v,d).then(B=>{const O=jl(Z(Z({},w),{},{icons:{main:B,mask:J2()},prefix:d,iconName:S,extra:M,watchable:!0})),D=Ye.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(D,e.firstChild):e.appendChild(D),D.outerHTML=O.map(z=>pi(z)).join(`
1098
+ `),e.removeAttribute(r),n()}).catch(a)}else n()}else n()})}function Yk(e){return Promise.all([ih(e,"::before"),ih(e,"::after")])}function Vk(e){return e.parentNode!==document.head&&!~NS.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(bo)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function sh(e){if(Rr)return new Promise((t,r)=>{const n=fa(e.querySelectorAll("*")).filter(Vk).map(Yk),a=ql.begin("searchPseudoElements");n4(),Promise.all(n).then(()=>{a(),Io(),t()}).catch(()=>{a(),Io(),r()})})}var Wk={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=sh,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=Ye}=t;fe.searchPseudoElements&&sh(r)}}};let uh=!1;var Gk={mixout(){return{dom:{unwatch(){n4(),uh=!0}}}},hooks(){return{bootstrap(){eh(Ao("mutationObserverCallbacks",{}))},noAuto(){Ck()},watch(e){const{observeMutationsRoot:t}=e;uh?Io():eh(Ao("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const oh=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 Xk={mixout(){return{parse:{transform:e=>oh(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=oh(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)")},u="translate(".concat(n.x*32,", ").concat(n.y*32,") "),o="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(u," ").concat(o," ").concat(l)},f={transform:"translate(".concat(i/2*-1," -256)")},p={outer:s,inner:c,path:f};return{tag:"g",attributes:Z({},p.outer),children:[{tag:"g",attributes:Z({},p.inner),children:[{tag:r.icon.tag,children:r.icon.children,attributes:Z(Z({},r.icon.attributes),p.path)}]}]}}}};const yu={x:0,y:0,width:"100%",height:"100%"};function lh(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 Kk(e){return e.tag==="g"?e.children:[e]}var Qk={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),n=r?m0(r.split(" ").map(a=>a.trim())):J2();return n.prefix||(n.prefix=Xr()),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:u}=t;const{width:o,icon:l}=a,{width:c,icon:f}=i,p=qS({transform:u,containerWidth:c,iconWidth:o}),d={tag:"rect",attributes:Z(Z({},yu),{},{fill:"white"})},b=l.children?{children:l.children.map(lh)}:{},y={tag:"g",attributes:Z({},p.inner),children:[lh(Z({tag:l.tag,attributes:Z(Z({},l.attributes),p.path)},b))]},T={tag:"g",attributes:Z({},p.outer),children:[y]},v="mask-".concat(s||Qa()),S="clip-".concat(s||Qa()),w={tag:"mask",attributes:Z(Z({},yu),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,T]},M={tag:"defs",children:[{tag:"clipPath",attributes:{id:S},children:Kk(f)},w]};return r.push(M,{tag:"rect",attributes:Z({fill:"currentColor","clip-path":"url(#".concat(S,")"),mask:"url(#".concat(v,")")},yu)}),{children:r,attributes:n}}}},Jk={provides(e){let t=!1;Gr.matchMedia&&(t=Gr.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:Z(Z({},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=Z(Z({},a),{},{attributeName:"opacity"}),s={tag:"circle",attributes:Z(Z({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||s.children.push({tag:"animate",attributes:Z(Z({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:Z(Z({},i),{},{values:"1;0;1;1;0;1;"})}),r.push(s),r.push({tag:"path",attributes:Z(Z({},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:Z(Z({},i),{},{values:"1;0;0;0;0;1;"})}]}),t||r.push({tag:"path",attributes:Z(Z({},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:Z(Z({},i),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:r}}}},Zk={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},eC=[VS,Fk,Bk,zk,Hk,Wk,Gk,Xk,Qk,Jk,Zk];ck(eC,{mixoutsTo:Ht});Ht.noAuto;Ht.config;Ht.library;Ht.dom;const No=Ht.parse;Ht.findIconDefinition;Ht.toHtml;const tC=Ht.icon;Ht.layer;Ht.text;Ht.counter;var i4={exports:{}},rC="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",nC=rC,aC=nC;function s4(){}function u4(){}u4.resetWarningCache=s4;var iC=function(){function e(n,a,i,s,u,o){if(o!==aC){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:u4,resetWarningCache:s4};return r.PropTypes=r,r};i4.exports=iC();var sC=i4.exports;const ke=Go(sC);function Oo(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 uC(e){if(Array.isArray(e))return e}function oC(e){if(Array.isArray(e))return Oo(e)}function Hr(e,t,r){return(t=gC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function cC(e,t){var r=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n,a,i,s,u=[],o=!0,l=!1;try{if(i=(r=r.call(e)).next,t!==0)for(;!(o=(n=i.call(r)).done)&&(u.push(n.value),u.length!==t);o=!0);}catch(c){l=!0,a=c}finally{try{if(!o&&r.return!=null&&(s=r.return(),Object(s)!==s))return}finally{if(l)throw a}}return u}}function fC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1099
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
1100
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ch(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 ir(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ch(Object(r),!0).forEach(function(n){Hr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ch(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function dC(e,t){if(e==null)return{};var r,n,a=mC(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 mC(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 fh(e,t){return uC(e)||cC(e,t)||o4(e,t)||fC()}function Ro(e){return oC(e)||lC(e)||o4(e)||hC()}function pC(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 gC(e){var t=pC(e,"string");return typeof t=="symbol"?t:t+""}function Is(e){"@babel/helpers - typeof";return Is=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},Is(e)}function o4(e,t){if(e){if(typeof e=="string")return Oo(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)?Oo(e,t):void 0}}var bC="7.0.0",Do;try{var yC=require("@fortawesome/fontawesome-svg-core/package.json");Do=yC.version}catch(e){Do=typeof process!="undefined"&&process.env.FA_VERSION||"7.0.0"}function EC(e){var t=e.beat,r=e.fade,n=e.beatFade,a=e.bounce,i=e.shake,s=e.flash,u=e.spin,o=e.spinPulse,l=e.spinReverse,c=e.pulse,f=e.fixedWidth,p=e.inverse,d=e.border,b=e.listItem,y=e.flip,T=e.size,v=e.rotation,S=e.pull,w=e.swapOpacity,M=e.rotateBy,B=e.widthAuto,O=xC(Do,bC),D=Hr(Hr(Hr(Hr(Hr(Hr({"fa-beat":t,"fa-fade":r,"fa-beat-fade":n,"fa-bounce":a,"fa-shake":i,"fa-flash":s,"fa-spin":u,"fa-spin-reverse":l,"fa-spin-pulse":o,"fa-pulse":c,"fa-fw":f,"fa-inverse":p,"fa-border":d,"fa-li":b,"fa-flip":y===!0,"fa-flip-horizontal":y==="horizontal"||y==="both","fa-flip-vertical":y==="vertical"||y==="both"},"fa-".concat(T),typeof T!="undefined"&&T!==null),"fa-rotate-".concat(v),typeof v!="undefined"&&v!==null&&v!==0),"fa-pull-".concat(S),typeof S!="undefined"&&S!==null),"fa-swap-opacity",w),"fa-rotate-by",O&&M),"fa-width-auto",O&&B);return Object.keys(D).map(function(z){return D[z]?z:null}).filter(function(z){return z})}function xC(e,t){for(var r=e.split("-"),n=fh(r,2),a=n[0],i=n[1],s=t.split("-"),u=fh(s,2),o=u[0],l=u[1],c=a.split("."),f=o.split("."),p=0;p<Math.max(c.length,f.length);p++){var d=c[p]||"0",b=f[p]||"0",y=parseInt(d,10),T=parseInt(b,10);if(y!==T)return y>T}for(var v=0;v<Math.max(c.length,f.length);v++){var S=c[v]||"0",w=f[v]||"0";if(S!==w&&S.length!==w.length)return S.length<w.length}return!(i&&!l)}function TC(e){return e=e-0,e===e}function l4(e){return TC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var vC=["style"];function AC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function wC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),a=l4(r.slice(0,n)),i=r.slice(n+1).trim();return a.startsWith("webkit")?t[AC(a)]=i:t[a]=i,t},{})}function c4(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(o){return c4(e,o)}),a=Object.keys(t.attributes||{}).reduce(function(o,l){var c=t.attributes[l];switch(l){case"class":o.attrs.className=c,delete t.attributes.class;break;case"style":o.attrs.style=wC(c);break;default:l.indexOf("aria-")===0||l.indexOf("data-")===0?o.attrs[l.toLowerCase()]=c:o.attrs[l4(l)]=c}return o},{attrs:{}}),i=r.style,s=i===void 0?{}:i,u=dC(r,vC);return a.attrs.style=ir(ir({},a.attrs.style),s),e.apply(void 0,[t.tag,ir(ir({},a.attrs),u)].concat(Ro(n)))}var f4=!1;try{f4=!0}catch(e){}function SC(){if(!f4&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function hh(e){if(e&&Is(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(No.icon)return No.icon(e);if(e===null)return null;if(e&&Is(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 Eu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?Hr({},e,t):{}}var dh={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},Yl=G.forwardRef(function(e,t){var r=ir(ir({},dh),e),n=r.icon,a=r.mask,i=r.symbol,s=r.className,u=r.title,o=r.titleId,l=r.maskId,c=hh(n),f=Eu("classes",[].concat(Ro(EC(r)),Ro((s||"").split(" ")))),p=Eu("transform",typeof r.transform=="string"?No.transform(r.transform):r.transform),d=Eu("mask",hh(a)),b=tC(c,ir(ir(ir(ir({},f),p),d),{},{symbol:i,title:u,titleId:o,maskId:l}));if(!b)return SC("Could not find icon",c),null;var y=b.abstract,T={ref:t};return Object.keys(r).forEach(function(v){dh.hasOwnProperty(v)||(T[v]=r[v])}),kC(y[0],T)});Yl.displayName="FontAwesomeIcon";Yl.propTypes={beat:ke.bool,border:ke.bool,beatFade:ke.bool,bounce:ke.bool,className:ke.string,fade:ke.bool,flash:ke.bool,mask:ke.oneOfType([ke.object,ke.array,ke.string]),maskId:ke.string,fixedWidth:ke.bool,inverse:ke.bool,flip:ke.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ke.oneOfType([ke.object,ke.array,ke.string]),listItem:ke.bool,pull:ke.oneOf(["right","left"]),pulse:ke.bool,rotation:ke.oneOf([0,90,180,270]),rotateBy:ke.bool,shake:ke.bool,size:ke.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ke.bool,spinPulse:ke.bool,spinReverse:ke.bool,symbol:ke.oneOfType([ke.bool,ke.string]),title:ke.string,titleId:ke.string,transform:ke.oneOfType([ke.string,ke.object]),swapOpacity:ke.bool,widthAuto:ke.bool};var kC=c4.bind(null,G.createElement);/*!
1101
+ * Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
1102
+ * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
1103
+ * Copyright 2024 Fonticons, Inc.
1104
+ */const CC={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM112 256l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64l160 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-160 0c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},IC={prefix:"fas",iconName:"file-word",icon:[384,512,[],"f1c2","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM111 257.1l26.8 89.2 31.6-90.3c3.4-9.6 12.5-16.1 22.7-16.1s19.3 6.4 22.7 16.1l31.6 90.3L273 257.1c3.8-12.7 17.2-19.9 29.9-16.1s19.9 17.2 16.1 29.9l-48 160c-3 10-12 16.9-22.4 17.1s-19.8-6.2-23.2-16.1L192 336.6l-33.3 95.3c-3.4 9.8-12.8 16.3-23.2 16.1s-19.5-7.1-22.4-17.1l-48-160c-3.8-12.7 3.4-26.1 16.1-29.9s26.1 3.4 29.9 16.1z"]},_C={prefix:"fas",iconName:"file-powerpoint",icon:[384,512,[],"f1c4","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM136 240l68 0c42 0 76 34 76 76s-34 76-76 76l-44 0 0 32c0 13.3-10.7 24-24 24s-24-10.7-24-24l0-56 0-104c0-13.3 10.7-24 24-24zm68 104c15.5 0 28-12.5 28-28s-12.5-28-28-28l-44 0 0 56 44 0z"]},NC={prefix:"fas",iconName:"file-zipper",icon:[384,512,["file-archive"],"f1c6","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM96 48c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm0 64c0-8.8 7.2-16 16-16l32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0c-8.8 0-16-7.2-16-16zm-6.3 71.8c3.7-14 16.4-23.8 30.9-23.8l14.8 0c14.5 0 27.2 9.7 30.9 23.8l23.5 88.2c1.4 5.4 2.1 10.9 2.1 16.4c0 35.2-28.8 63.7-64 63.7s-64-28.5-64-63.7c0-5.5 .7-11.1 2.1-16.4l23.5-88.2zM112 336c-8.8 0-16 7.2-16 16s7.2 16 16 16l32 0c8.8 0 16-7.2 16-16s-7.2-16-16-16l-32 0z"]},OC=NC,RC={prefix:"fas",iconName:"file-excel",icon:[384,512,[],"f1c3","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z"]},DC={prefix:"fas",iconName:"file-audio",icon:[384,512,[],"f1c7","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zm2 226.3c37.1 22.4 62 63.1 62 109.7s-24.9 87.3-62 109.7c-7.6 4.6-17.4 2.1-22-5.4s-2.1-17.4 5.4-22C269.4 401.5 288 370.9 288 336s-18.6-65.5-46.5-82.3c-7.6-4.6-10-14.4-5.4-22s14.4-10 22-5.4zm-91.9 30.9c6 2.5 9.9 8.3 9.9 14.8l0 128c0 6.5-3.9 12.3-9.9 14.8s-12.9 1.1-17.4-3.5L113.4 376 80 376c-8.8 0-16-7.2-16-16l0-48c0-8.8 7.2-16 16-16l33.4 0 35.3-35.3c4.6-4.6 11.5-5.9 17.4-3.5zm51 34.9c6.6-5.9 16.7-5.3 22.6 1.3C249.8 304.6 256 319.6 256 336s-6.2 31.4-16.3 42.7c-5.9 6.6-16 7.1-22.6 1.3s-7.1-16-1.3-22.6c5.1-5.7 8.1-13.1 8.1-21.3s-3.1-15.7-8.1-21.3c-5.9-6.6-5.3-16.7 1.3-22.6z"]},LC={prefix:"fas",iconName:"file-image",icon:[384,512,[128443],"f1c5","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM64 256a32 32 0 1 1 64 0 32 32 0 1 1 -64 0zm152 32c5.3 0 10.2 2.6 13.2 6.9l88 128c3.4 4.9 3.7 11.3 1 16.5s-8.2 8.6-14.2 8.6l-88 0-40 0-48 0-48 0c-5.8 0-11.1-3.1-13.9-8.1s-2.8-11.2 .2-16.1l48-80c2.9-4.8 8.1-7.8 13.7-7.8s10.8 2.9 13.7 7.8l12.8 21.4 48.3-70.2c3-4.3 7.9-6.9 13.2-6.9z"]},MC={prefix:"fas",iconName:"file-code",icon:[384,512,[],"f1c9","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM153 289l-31 31 31 31c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L71 337c-9.4-9.4-9.4-24.6 0-33.9l48-48c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9zM265 255l48 48c9.4 9.4 9.4 24.6 0 33.9l-48 48c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l31-31-31-31c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0z"]},PC={prefix:"fas",iconName:"file-video",icon:[384,512,[],"f1c8","M64 0C28.7 0 0 28.7 0 64L0 448c0 35.3 28.7 64 64 64l256 0c35.3 0 64-28.7 64-64l0-288-128 0c-17.7 0-32-14.3-32-32L224 0 64 0zM256 0l0 128 128 0L256 0zM64 288c0-17.7 14.3-32 32-32l96 0c17.7 0 32 14.3 32 32l0 96c0 17.7-14.3 32-32 32l-96 0c-17.7 0-32-14.3-32-32l0-96zM300.9 397.9L256 368l0-64 44.9-29.9c2-1.3 4.4-2.1 6.8-2.1c6.8 0 12.3 5.5 12.3 12.3l0 103.4c0 6.8-5.5 12.3-12.3 12.3c-2.4 0-4.8-.7-6.8-2.1z"]},FC={prefix:"fas",iconName:"file-pdf",icon:[512,512,[],"f1c1","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 144-208 0c-35.3 0-64 28.7-64 64l0 144-48 0c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128zM176 352l32 0c30.9 0 56 25.1 56 56s-25.1 56-56 56l-16 0 0 32c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-48 0-80c0-8.8 7.2-16 16-16zm32 80c13.3 0 24-10.7 24-24s-10.7-24-24-24l-16 0 0 48 16 0zm96-80l32 0c26.5 0 48 21.5 48 48l0 64c0 26.5-21.5 48-48 48l-32 0c-8.8 0-16-7.2-16-16l0-128c0-8.8 7.2-16 16-16zm32 128c8.8 0 16-7.2 16-16l0-64c0-8.8-7.2-16-16-16l-16 0 0 96 16 0zm80-112c0-8.8 7.2-16 16-16l48 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 32 32 0c8.8 0 16 7.2 16 16s-7.2 16-16 16l-32 0 0 48c0 8.8-7.2 16-16 16s-16-7.2-16-16l0-64 0-64z"]},BC={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0L224 0l0 128c0 17.7 14.3 32 32 32l128 0 0 288c0 35.3-28.7 64-64 64L64 512c-35.3 0-64-28.7-64-64L0 64zm384 64l-128 0L256 0 384 128z"]},zC=ne.div`
1105
+ display: flex;
1106
+ align-items: center;
1107
+ background-color: #f8f9fa;
1108
+ border-radius: 6px;
1109
+ border: 1px solid #e9ecef;
1110
+ transition: all 0.3s ease;
1111
+ padding: 8px 12px;
1112
+
1113
+ @media (max-width: 500px) {
1114
+ flex-direction: column;
1115
+ text-align: center;
1116
+ }
1117
+ `,HC=ne.div`
1118
+ display: flex;
1119
+ align-items: center;
1120
+ justify-content: center;
1121
+ width: 48px;
1122
+ height: 48px;
1123
+ min-width: 48px;
1124
+ color: ${e=>e.$color};
1125
+ background-color: #e8f4fc;
1126
+ border-radius: 8px;
1127
+ margin-right: 12px;
1128
+
1129
+ @media (max-width: 500px) {
1130
+ margin-right: 0;
1131
+ margin-bottom: 10px;
1132
+ }
1133
+ `,UC=ne.div`
1134
+ flex: 1;
1135
+ `,jC=ne.div`
1136
+ font-weight: bold;
1137
+ font-size: 12px;
1138
+ margin-bottom: 4px;
1139
+ color: #2d3436;
1140
+ max-width: 200px;
1141
+ white-space: nowrap;
1142
+ overflow: hidden;
1143
+ text-overflow: ellipsis;
1144
+ `,qC=ne.div`
1145
+ display: flex;
1146
+ font-size: 14px;
1147
+ color: #636e72;
1148
+
1149
+ @media (max-width: 500px) {
1150
+ justify-content: center;
1151
+ }
1152
+ `,$C=ne.span`
1153
+ margin-right: 12px;
1154
+ `,YC=ne.span`
1155
+ background-color: rgba(0, 0, 0, 0.08);
1156
+ padding: 2px 6px;
1157
+ border-radius: 4px;
1158
+ font-size: 12px;
1159
+ font-weight: 500;
1160
+ `,VC=({fileInfo:e})=>{const{name:t,size:r,type:n="doc"}=e,a=()=>{switch(n.toLowerCase()){case"pdf":return FC;case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return LC;case"excel":case"xlsx":case"xls":case"csv":return RC;case"powerpoint":case"ppt":case"pptx":return _C;case"word":case"doc":case"docx":return IC;case"archive":case"zip":case"rar":case"tar":case"7z":return OC;case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return MC;case"video":case"mp4":case"avi":case"mov":case"webm":return PC;case"audio":case"mp3":case"wav":case"ogg":return DC;case"md":case"markdown":case"txt":case"text":return CC;default:return BC}},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=u=>u<1024?u+" B":u<1048576?(u/1024).toFixed(1)+" KB":(u/1048576).toFixed(1)+" MB";return k.jsxs(zC,{children:[k.jsx(HC,{$color:i(),children:k.jsx(Yl,{icon:a(),style:{fontSize:"24px"}})}),k.jsxs(UC,{children:[k.jsx(jC,{children:t}),k.jsxs(qC,{children:[k.jsx($C,{children:s(r)}),k.jsx(YC,{children:n.toUpperCase()})]})]})]})},h4=G.createContext({activeKey:[]}),d4=h4.Provider,m4=()=>G.useContext(h4);function p4(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 gi=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.echarts){e();return}p4("https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.2/echarts.min.js").then(()=>e()).catch(n=>{console.error("echarts加载失败:",n),t(n)})}),WC=({options:e})=>{const t=G.useRef(null),r=G.useRef(null),[n,a]=G.useState(!1),{activeKey:i}=m4();return G.useEffect(()=>{Re(exports,null,function*(){try{yield gi(),a(!0)}catch(u){console.error("echarts加载失败:",u),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 u=s.init(t.current);r.current=u,u.setOption(e);const o=()=>{u.resize()};return window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o),u.dispose(),r.current=null}},[e,n]),G.useEffect(()=>{if(r.current&&i&&n){const s=setTimeout(()=>{var u;(u=r.current)==null||u.resize()},50);return()=>clearTimeout(s)}},[i,n]),n?k.jsx("div",{ref:t,style:{width:"100%",height:"400px",marginTop:"20px",marginBottom:"20px"}}):k.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:"图表加载中..."})},Vl=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(" | ")+` |
1161
+ `,n+="| :---: | "+t.map(()=>"---").join(" | ")+` |
1162
+ `,r.forEach((a,i)=>{const s=t.map(u=>{const o=a[u];return o!==void 0?String(o):"-"});n+="| "+(i+1)+" | "+s.join(" | ")+` |
1163
+ `}),n}catch(t){return console.error("转换表格数据失败:",t),"表格数据转换失败"}},GC=e=>{try{const t=JSON.parse(e);return t&&typeof t=="object"&&Array.isArray(t.column)&&Array.isArray(t.data)}catch(t){return!1}},XC=(e,t)=>{if(!e)return null;if(t==="ant_table"&&GC(e))try{const r=JSON.parse(e);return Vl(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},KC=ne.div`
1164
+ padding: 10px;
1165
+ text-align: center;
1166
+ background: #f9f9f9;
1167
+ border-radius: 4px;
1168
+ color: #666;
1169
+ min-height: 100px;
1170
+ display: flex;
1171
+ align-items: center;
1172
+ justify-content: center;
1173
+
1174
+ span {
1175
+ font-size: 14px;
1176
+ line-height: 1.5;
1177
+ }
1178
+
1179
+ &:hover {
1180
+ background: #f5f5f5;
1181
+ }
1182
+ `,Vi=({text:e="图表加载中..."})=>k.jsx(KC,{children:k.jsx("span",{children:e})}),QC=ne.div`
1183
+ margin: 10px 0;
1184
+ padding: 10px;
1185
+ border-radius: 4px;
1186
+ text-align: center;
1187
+ background: #ffeeee;
1188
+ color: rgb(200, 0, 0);
1189
+ border: 1px solid #ffcccc;
1190
+
1191
+ span {
1192
+ font-size: 14px;
1193
+ line-height: 1.5;
1194
+ }
1195
+
1196
+ &:hover {
1197
+ background: #f5f5f5;
1198
+ }
1199
+ `,xu=({text:e=""})=>k.jsx(QC,{children:k.jsx("span",{children:e})}),g4=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.mermaid){e();return}p4("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 JC=0;const ZC=()=>`mermaid-${Date.now()}-${JC++}`,eI=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},tI=({code:e})=>{const t=G.useRef(null),[r,n]=G.useState(""),[a,i]=G.useState(""),[s,u]=G.useState(!0),[o,l]=G.useState(!1),[c,f]=G.useState(!0),p=G.useRef(""),d=G.useRef(null),b=G.useRef(null);return G.useEffect(()=>(Re(exports,null,function*(){try{yield g4(),l(!0)}catch(T){console.error("mermaid加载失败:",T),i("Mermaid 库加载失败"),u(!1)}}),()=>{d.current&&clearTimeout(d.current),b.current&&clearTimeout(b.current)}),[]),G.useEffect(()=>{if(!e||!o)return;const y=window.mermaid;if(!y){i("Mermaid 未正确加载"),u(!1);return}const T=e!==p.current;if(p.current=e,T&&(f(!0),b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{f(!1)},500)),!eI(e)){u(!0),i("");return}return d.current&&clearTimeout(d.current),d.current=setTimeout(()=>Re(exports,null,function*(){u(!0),i("");try{const v=ZC(),{svg:S}=yield y.render(v,e.trim());n(S),i("");const w=document.getElementById(v);w&&w.remove()}catch(v){document.querySelectorAll('[id^="dmermaid-"]').forEach(w=>w.remove()),c?console.log("Mermaid 流式输出中,暂不显示错误"):(console.error("Mermaid 渲染错误:",v),i((v==null?void 0:v.message)||"Mermaid 图表渲染失败"))}finally{u(!1)}}),300),()=>{d.current&&clearTimeout(d.current)}},[e,o,c]),s?k.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?k.jsxs("div",{style:{width:"100%",padding:"20px",border:"1px solid #ffccc7",borderRadius:"6px",color:"#cf1322",backgroundColor:"#fff2f0",marginTop:"10px",marginBottom:"10px"},children:[k.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:"Mermaid 图表渲染失败"}),k.jsx("div",{style:{fontSize:"12px",color:"#666",wordBreak:"break-word",overflowWrap:"break-word",whiteSpace:"pre-wrap"},children:a})]}):a&&c?k.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:"图表加载中..."}):k.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}})},Kt=({content:e,waitingMessage:t=""})=>{const r=G.useMemo(()=>({remarkPlugins:[aE,fT,Zw],rehypePlugins:[UT,Kw],components:{img:l=>{var c=l,{node:u}=c,o=wi(c,["node"]);return k.jsx(pe.Image,{style:{maxWidth:"200px",maxHeight:"150px",objectFit:"contain"},src:o.src,alt:o.alt,preview:{zIndex:1100}})},code:f=>{var p=f,{node:u,inline:o,className:l}=p,c=wi(p,["node","inline","className"]);var v,S,w,M,B;if(o||!l&&!((v=u==null?void 0:u.properties)!=null&&v.className))return k.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=(w=/language-(\w+)/.exec(((S=u==null?void 0:u.properties)==null?void 0:S.className)||l||""))==null?void 0:w[0],y=((B=(M=u==null?void 0:u.position)==null?void 0:M.start)==null?void 0:B.line)===2?"language-file":null,T=b||y;if(T==="language-file"){const O=String(c.children).replace(/\n$/,""),D=s(O);return k.jsx(VC,{fileInfo:D})}if(T==="language-ant_table")try{const O=String(c==null?void 0:c.children).replace(/\n$/,""),D=JSON.parse(O),z=Vl(D);return k.jsx(Kt,{content:z})}catch(O){return n(String(c==null?void 0:c.children))?(console.error("ant_table数据解析错误:",O),k.jsx(xu,{text:"表格数据加载失败,请检查数据格式"})):k.jsx(Vi,{text:"表格加载中..."})}if(T==="language-echarts")try{const O=Array.isArray(c.children)?c.children.join(""):c.children.toString();if(!n(O))return k.jsx(Vi,{});const D=JSON.parse(O);let z;try{return typeof(D==null?void 0:D.option)=="string"?z=JSON.parse(D==null?void 0:D.option):z=D==null?void 0:D.option,!z||Object.keys(z).length===0?k.jsx(Vi,{}):k.jsx("div",{style:{minWidth:"300px"},children:k.jsx(WC,{options:z})})}catch(U){return console.error("图表配置解析错误:",U),k.jsx(xu,{text:"图表数据加载失败,请检查数据格式"})}}catch(O){return n(String(c.children))?(console.error("图表数据解析错误:",O),k.jsx(xu,{text:"图表数据加载失败,请检查数据格式"})):k.jsx(Vi,{})}if(T==="language-mermaid"){const O=String(c.children).replace(/\n$/,"");return k.jsx(tI,{code:O})}return k.jsx(VT,{children:c.children})},p:u=>{var l,c,f;const{node:o}=u||{};if(((l=o==null?void 0:o.children[0])==null?void 0:l.tagName)==="img"){const p=o.children[0],d=Array.isArray(u==null?void 0:u.children)||typeof((c=u==null?void 0:u.children)==null?void 0:c.slice)=="function";return k.jsxs(k.Fragment,{children:[k.jsx(pe.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}}),d&&k.jsx("p",{children:(f=u==null?void 0:u.children)==null?void 0:f.slice(1)})]})}return k.jsx("p",{children:u==null?void 0:u.children})},a:({children:u,href:o})=>k.jsx("a",{href:o,target:"_blank",children:u})}}),[]),n=u=>{try{const o=u==null?void 0:u.trim()[0],l=u==null?void 0:u.trim()[(u==null?void 0:u.trim().length)-1];return o==="{"&&l==="}"||o==="["&&l==="]"}catch(o){return!1}},a=u=>u==null?void 0:u.replace(/<think>([\s\S]*?)<\/think>/g,`<details open><summary>深度思考</summary><pre class="think">$1</pre></details>
1200
+
1201
+ `),i=u=>{if(!u)return`<span><span class="prompt-message">${t}</span><span class="prompt-loading-cursor">...</span></span>`;const o=`${u==null?void 0:u.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(o)},s=u=>{const o=u.split(`
1202
+ `),l={name:"",size:"",type:"unknown"};return o.forEach(c=>{const[f,p]=c.split(":").map(d=>d.trim());f&&p&&(f.toLowerCase()==="名称"&&(l.name=p),f.toLowerCase()==="大小"&&(l.size=p),f.toLowerCase()==="类型"&&(l.type=p))}),l};return k.jsx(eS,{children:k.jsx(t9,tt(J({},r),{children:`${i(e)}`}))})},rI=ne.div`
1203
+ /* 样式隔离 - 确保内部样式不受外部影响 */
1204
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1205
+ font-size: 14px;
1206
+ line-height: 1.6;
1207
+ color: #333;
1208
+
1209
+ /* 确保内部元素正常显示 */
1210
+ * {
1211
+ box-sizing: border-box;
1212
+ }
1213
+
1214
+ /* Markdown内容样式 */
1215
+ p {
1216
+ margin: 0 0 8px 0;
1217
+ &:last-child {
1218
+ margin-bottom: 0;
1219
+ }
1220
+ }
1221
+
1222
+ ul, ol {
1223
+ margin: 8px 0;
1224
+ padding-left: 20px;
1225
+ }
1226
+
1227
+ li {
1228
+ margin: 4px 0;
1229
+ }
1230
+
1231
+ code {
1232
+ background: rgba(0, 0, 0, 0.05);
1233
+ padding: 2px 6px;
1234
+ border-radius: 4px;
1235
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
1236
+ font-size: 13px;
1237
+ }
1238
+
1239
+ pre {
1240
+ background: #f6f8fa;
1241
+ padding: 12px;
1242
+ border-radius: 6px;
1243
+ overflow-x: auto;
1244
+
1245
+ code {
1246
+ background: transparent;
1247
+ padding: 0;
1248
+ }
1249
+ }
1250
+
1251
+ blockquote {
1252
+ margin: 8px 0;
1253
+ padding: 8px 16px;
1254
+ border-left: 4px solid #ddd;
1255
+ background: #f9f9f9;
1256
+ color: #666;
1257
+ }
1258
+
1259
+ table {
1260
+ border-collapse: collapse;
1261
+ width: 100%;
1262
+ margin: 8px 0;
1263
+
1264
+ th, td {
1265
+ border: 1px solid #ddd;
1266
+ padding: 8px 12px;
1267
+ text-align: left;
1268
+ }
1269
+
1270
+ th {
1271
+ background: #f6f8fa;
1272
+ font-weight: 600;
1273
+ }
1274
+
1275
+ tr:nth-child(even) {
1276
+ background: #f9f9f9;
1277
+ }
1278
+ }
1279
+
1280
+ img {
1281
+ max-width: 100%;
1282
+ height: auto;
1283
+ border-radius: 4px;
1284
+ }
1285
+
1286
+ a {
1287
+ color: #1890ff;
1288
+ text-decoration: none;
1289
+
1290
+ &:hover {
1291
+ text-decoration: underline;
1292
+ }
1293
+ }
1294
+
1295
+ h1, h2, h3, h4, h5, h6 {
1296
+ margin: 16px 0 8px 0;
1297
+ font-weight: 600;
1298
+ line-height: 1.4;
1299
+
1300
+ &:first-child {
1301
+ margin-top: 0;
1302
+ }
1303
+ }
1304
+
1305
+ h1 { font-size: 24px; }
1306
+ h2 { font-size: 20px; }
1307
+ h3 { font-size: 18px; }
1308
+ h4 { font-size: 16px; }
1309
+ h5 { font-size: 14px; }
1310
+ h6 { font-size: 14px; color: #666; }
1311
+
1312
+ hr {
1313
+ border: none;
1314
+ border-top: 1px solid #ddd;
1315
+ margin: 16px 0;
1316
+ }
1317
+
1318
+ /* 深度思考样式 */
1319
+ details {
1320
+ margin: 8px 0;
1321
+ padding: 8px 12px;
1322
+ background: #f6f8fa;
1323
+ border-radius: 6px;
1324
+
1325
+ summary {
1326
+ cursor: pointer;
1327
+ font-weight: 500;
1328
+ color: #666;
1329
+ }
1330
+
1331
+ pre.think {
1332
+ margin: 8px 0 0 0;
1333
+ padding: 8px;
1334
+ background: #fff;
1335
+ border-radius: 4px;
1336
+ white-space: pre-wrap;
1337
+ font-size: 13px;
1338
+ color: #666;
1339
+ }
1340
+ }
1341
+ `,nI=({content:e,status:t="Success",className:r,style:n})=>(G.useEffect(()=>{e!=null&&e.includes("```echarts")&&gi().catch(console.error)},[e]),k.jsx(rI,{className:`appflow-sdk-markdown ${r||""}`,style:n,children:k.jsx(Kt,{content:e,status:t})})),aI=ne.div`
1342
+ white-space: normal;
1343
+ li {
1344
+ p {
1345
+ display: block !important;
1346
+ }
1347
+ }
1348
+ `,b4=({content:e,status:t="Success",role:r="bot",className:n,style:a,children:i,waitingMessage:s})=>k.jsxs("div",{className:n,style:a,children:[k.jsx(aI,{$role:r,children:k.jsx(Kt,{content:e,status:t,waitingMessage:s})}),i]}),iI=ne.div`
1349
+ white-space: normal;
1350
+ li {
1351
+ p {
1352
+ display: block !important;
1353
+ }
1354
+ }
1355
+ `,sI=ne.div`
1356
+ display: flex;
1357
+ align-items: center;
1358
+ gap: 8px;
1359
+ `,uI=ne.span`
1360
+ color: ${e=>e.$success?"#52c41a":"#1890ff"};
1361
+ font-weight: bold;
1362
+ `,oI=ne.span`
1363
+ color: #666;
1364
+ font-weight: 500;
1365
+ `,lI=ne.span`
1366
+ color: #333;
1367
+ `,mh=ne.div`
1368
+ padding: 8px 0;
1369
+ `,y4=({content:e,messageType:t="markdown",status:r="Success",role:n="bot",className:a,style:i,children:s,waitingMessage:u})=>{const[o,l]=G.useState([]);G.useEffect(()=>{if(t==="rich")try{const p=JSON.parse(e);if(Array.isArray(p)){const d=p.filter(b=>(b==null?void 0:b.messageType)==="step"&&(b==null?void 0:b.content)).map(b=>{try{const y=JSON.parse(b==null?void 0:b.content);return y==null?void 0:y.id}catch(y){return null}}).filter(Boolean);d.length>0&&l(d)}}catch(p){console.error("解析rich类型消息失败",p)}},[e,t]);const c=(p,d)=>d==="rich"?f(d,p):p||""?k.jsx(mh,{children:k.jsx(Kt,{content:XC(p,d),waitingMessage:u})}):k.jsx(mh,{children:"暂无内容"}),f=(p,d)=>{if(p==="markdown"&&d)return k.jsx(Kt,{content:d,status:r,waitingMessage:u});if(p==="rich")try{const b=JSON.parse(d);return!b||!Array.isArray(b)?null:b==null?void 0:b.map((y,T)=>{var S;const v=y==null?void 0:y.messageType;if(v==="markdown"&&(y!=null&&y.content))return k.jsx(Kt,{content:y==null?void 0:y.content,status:r,waitingMessage:u},`markdown-${T}`);if(v==="ant_table"&&(y!=null&&y.content))try{const w=JSON.parse(y==null?void 0:y.content),M=Vl(w);return k.jsx(Kt,{content:M,status:r,waitingMessage:u},`table-${T}`)}catch(w){return null}if(v==="code"&&(y!=null&&y.content)){const w="```sql\n"+(y==null?void 0:y.content)+"\n```";return k.jsx(Kt,{content:w,status:r,waitingMessage:u},`code-${T}`)}if(v==="echart"){const w="```echarts\n"+(y==null?void 0:y.content)+"\n```";return k.jsx(Kt,{content:w,status:r,waitingMessage:u},`echart-${T}`)}if(v==="step")try{const w=JSON.parse(y==null?void 0:y.content),M=[{key:w==null?void 0:w.id,label:k.jsxs(sI,{children:[k.jsx(uI,{$success:r==="Success",children:r==="Success"?"✓":"⟳"}),k.jsxs(oI,{children:["步骤",T+1,":"]}),k.jsx(lI,{children:w==null?void 0:w.title})]}),children:c(w==null?void 0:w.detail,w==null?void 0:w.messageType),style:{marginBottom:"8px",backgroundColor:"white",borderRadius:"8px",border:"1px solid #e8e8e8"}}];return k.jsx(pe.Collapse,{activeKey:o,size:"small",ghost:!1,items:M,expandIconPosition:"end",style:{backgroundColor:"transparent",border:"none"},onChange:B=>{l(B)}},`step-${T}`)}catch(w){return null}if(v==="error"){const w=`<span style="color:red">${(S=y==null?void 0:y.content)!=null?S:""}</span>`;return k.jsx(Kt,{content:w,status:r,waitingMessage:u},`error-${T}`)}return null})}catch(b){return console.error("Error rendering message:",b),null}return null};return k.jsx(d4,{value:{activeKey:o},children:k.jsxs("div",{className:a,style:i,children:[k.jsx(iI,{$role:n,children:f(t,e)}),s]})})};var cI=typeof global=="object"&&global&&global.Object===Object&&global,fI=typeof self=="object"&&self&&self.Object===Object&&self,g0=cI||fI||Function("return this")(),Jn=g0.Symbol,E4=Object.prototype,hI=E4.hasOwnProperty,dI=E4.toString,wa=Jn?Jn.toStringTag:void 0;function mI(e){var t=hI.call(e,wa),r=e[wa];try{e[wa]=void 0;var n=!0}catch(i){}var a=dI.call(e);return n&&(t?e[wa]=r:delete e[wa]),a}var pI=Object.prototype,gI=pI.toString;function bI(e){return gI.call(e)}var yI="[object Null]",EI="[object Undefined]",ph=Jn?Jn.toStringTag:void 0;function x4(e){return e==null?e===void 0?EI:yI:ph&&ph in Object(e)?mI(e):bI(e)}function T4(e){return e!=null&&typeof e=="object"}var xI=Array.isArray;function v4(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var TI="[object AsyncFunction]",vI="[object Function]",AI="[object GeneratorFunction]",wI="[object Proxy]";function SI(e){if(!v4(e))return!1;var t=x4(e);return t==vI||t==AI||t==TI||t==wI}var Tu=g0["__core-js_shared__"],gh=function(){var e=/[^.]+$/.exec(Tu&&Tu.keys&&Tu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function kI(e){return!!gh&&gh in e}var CI=Function.prototype,II=CI.toString;function _I(e){if(e!=null){try{return II.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var NI=/[\\^$.*+?()[\]{}|]/g,OI=/^\[object .+?Constructor\]$/,RI=Function.prototype,DI=Object.prototype,LI=RI.toString,MI=DI.hasOwnProperty,PI=RegExp("^"+LI.call(MI).replace(NI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function FI(e){if(!v4(e)||kI(e))return!1;var t=SI(e)?PI:OI;return t.test(_I(e))}function BI(e,t){return e==null?void 0:e[t]}function Wl(e,t){var r=BI(e,t);return FI(r)?r:void 0}function zI(){}function HI(e,t,r,n){for(var a=e.length,i=r+-1;++i<a;)if(t(e[i],i,e))return i;return-1}function UI(e){return e!==e}function jI(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function qI(e,t,r){return t===t?jI(e,t,r):HI(e,UI,r)}function $I(e,t){var r=e==null?0:e.length;return!!r&&qI(e,t,0)>-1}function YI(e,t){return e===t||e!==e&&t!==t}var VI="[object Arguments]";function bh(e){return T4(e)&&x4(e)==VI}var A4=Object.prototype,WI=A4.hasOwnProperty,GI=A4.propertyIsEnumerable,XI=bh(function(){return arguments}())?bh:function(e){return T4(e)&&WI.call(e,"callee")&&!GI.call(e,"callee")},Za=Wl(Object,"create");function KI(){this.__data__=Za?Za(null):{},this.size=0}function QI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var JI="__lodash_hash_undefined__",ZI=Object.prototype,e_=ZI.hasOwnProperty;function t_(e){var t=this.__data__;if(Za){var r=t[e];return r===JI?void 0:r}return e_.call(t,e)?t[e]:void 0}var r_=Object.prototype,n_=r_.hasOwnProperty;function a_(e){var t=this.__data__;return Za?t[e]!==void 0:n_.call(t,e)}var i_="__lodash_hash_undefined__";function s_(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Za&&t===void 0?i_:t,this}function vn(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}vn.prototype.clear=KI;vn.prototype.delete=QI;vn.prototype.get=t_;vn.prototype.has=a_;vn.prototype.set=s_;function u_(){this.__data__=[],this.size=0}function b0(e,t){for(var r=e.length;r--;)if(YI(e[r][0],t))return r;return-1}var o_=Array.prototype,l_=o_.splice;function c_(e){var t=this.__data__,r=b0(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():l_.call(t,r,1),--this.size,!0}function f_(e){var t=this.__data__,r=b0(t,e);return r<0?void 0:t[r][1]}function h_(e){return b0(this.__data__,e)>-1}function d_(e,t){var r=this.__data__,n=b0(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function ha(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}ha.prototype.clear=u_;ha.prototype.delete=c_;ha.prototype.get=f_;ha.prototype.has=h_;ha.prototype.set=d_;var m_=Wl(g0,"Map");function p_(){this.size=0,this.__data__={hash:new vn,map:new(m_||ha),string:new vn}}function g_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function y0(e,t){var r=e.__data__;return g_(t)?r[typeof t=="string"?"string":"hash"]:r.map}function b_(e){var t=y0(this,e).delete(e);return this.size-=t?1:0,t}function y_(e){return y0(this,e).get(e)}function E_(e){return y0(this,e).has(e)}function x_(e,t){var r=y0(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function da(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}da.prototype.clear=p_;da.prototype.delete=b_;da.prototype.get=y_;da.prototype.has=E_;da.prototype.set=x_;function T_(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var yh=Jn?Jn.isConcatSpreadable:void 0;function v_(e){return xI(e)||XI(e)||!!(yh&&e&&e[yh])}function A_(e,t,r,n,a){var i=-1,s=e.length;for(r||(r=v_),a||(a=[]);++i<s;){var u=e[i];r(u)?T_(a,u):a[a.length]=u}return a}function w_(e){var t=e==null?0:e.length;return t?A_(e):[]}var vu=Wl(g0,"Set"),S_="__lodash_hash_undefined__";function k_(e){return this.__data__.set(e,S_),this}function C_(e){return this.__data__.has(e)}function _s(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new da;++t<r;)this.add(e[t])}_s.prototype.add=_s.prototype.push=k_;_s.prototype.has=C_;function I_(e,t){return e.has(t)}function w4(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var __=1/0,N_=vu&&1/w4(new vu([,-0]))[1]==__?function(e){return new vu(e)}:zI,O_=200;function R_(e,t,r){var n=-1,a=$I,i=e.length,s=!0,u=[],o=u;if(i>=O_){var l=N_(e);if(l)return w4(l);s=!1,a=I_,o=new _s}else o=u;e:for(;++n<i;){var c=e[n],f=c;if(c=c!==0?c:0,s&&f===f){for(var p=o.length;p--;)if(o[p]===f)continue e;u.push(c)}else a(o,f,r)||(o!==u&&o.push(f),u.push(c))}return u}function D_(e){return e&&e.length?R_(e):[]}const L_=ne.div`
1370
+ margin-top: 16px;
1371
+ border-top: 1px solid #e8e8e8;
1372
+ padding-top: 16px;
1373
+ `,Eh=ne.div`
1374
+ display: flex;
1375
+ gap: 8px;
1376
+ margin-bottom: 8px;
1377
+ align-items: baseline;
1378
+ `,M_=ne.div`
1379
+ margin-bottom: 8px;
1380
+ cursor: pointer;
1381
+ width: 100%;
1382
+ `,P_=ne.div`
1383
+ display: flex;
1384
+ gap: 8px;
1385
+ align-items: center;
1386
+ justify-content: flex-start;
1387
+ `,F_=ne.div`
1388
+ align-items: center;
1389
+ border: 0.5px solid #2c2c73;
1390
+ border-radius: 2px;
1391
+ display: flex;
1392
+ font-size: 10px;
1393
+ height: 12px;
1394
+ justify-content: center;
1395
+ line-height: 1;
1396
+ min-width: 14px;
1397
+ white-space: nowrap;
1398
+ `,B_=ne.div`
1399
+ border: 0.5px solid #9296a9;
1400
+ border-radius: 4px;
1401
+ color: #707279;
1402
+ font-size: 12px;
1403
+ height: 28px;
1404
+ line-height: 28px;
1405
+ margin: 0;
1406
+ padding: 0 8px;
1407
+ width: auto;
1408
+ overflow: hidden;
1409
+ text-overflow: ellipsis;
1410
+ white-space: nowrap;
1411
+ `,z_=ne.div`
1412
+ display: flex;
1413
+ flex-wrap: wrap;
1414
+ gap: 8px;
1415
+ `,H_=ne.div`
1416
+ border: 1px solid #e8e8e8;
1417
+ border-radius: 4px;
1418
+ padding: 4px;
1419
+ `,U_=ne.div`
1420
+ display: flex;
1421
+ gap: 8px;
1422
+ margin-bottom: 8px;
1423
+ align-items: center;
1424
+ background: rgb(230, 232, 236);
1425
+ border-radius: 10px;
1426
+ width: fit-content;
1427
+ padding: 7px 14px;
1428
+ font-size: 12px;
1429
+ cursor: pointer;
1430
+
1431
+ &:hover {
1432
+ background: rgb(220, 222, 226);
1433
+ }
1434
+ `,xh=ne.div`
1435
+ color: #707279;
1436
+ font-size: 12px;
1437
+ min-width: 60px;
1438
+ `,j_=({item:e,isPageConfig:t,onClick:r})=>{const n=t?e.Index:e.index,a=t?e.Title:e.title;return k.jsx(M_,{onClick:()=>r(e),children:k.jsxs(P_,{children:[n&&k.jsx(F_,{children:n}),a&&k.jsx(B_,{children:a})]})})},S4=({items:e,status:t="Success",isPageConfig:r=!1,onItemClick:n,onWebSearchClick:a,className:i,style:s})=>{const u=G.useMemo(()=>{var d,b;let p;return r?p=(d=e==null?void 0:e.filter(y=>y.Images))==null?void 0:d.map(y=>y.Images):p=(b=e==null?void 0:e.filter(y=>y.images))==null?void 0:b.map(y=>y.images),D_(w_(p))},[e,r]),o=G.useMemo(()=>r?(e==null?void 0:e.filter(p=>p.Type==="rag"))||[]:(e==null?void 0:e.filter(p=>p.type==="rag"))||[],[e,r]),l=G.useMemo(()=>r?(e==null?void 0:e.filter(p=>p.Type==="web_search"))||[]:(e==null?void 0:e.filter(p=>p.type==="web_search"))||[],[e,r]),c=p=>{n==null||n(p)},f=()=>{a==null||a(l)};return t!=="Success"?null:k.jsxs(L_,{className:i,style:s,children:[l.length>0&&k.jsxs(U_,{onClick:f,children:[k.jsx(sr.SearchOutlined,{}),k.jsxs("div",{children:["已搜索到",l.length,"个网页"]})]}),o.length>0&&k.jsxs(Eh,{children:[k.jsx(xh,{children:"回答来源:"}),k.jsx("div",{style:{width:"calc(100% - 70px)"},children:o.map((p,d)=>k.jsx(j_,{item:p,isPageConfig:r,onClick:c},d))})]}),u.length>0&&k.jsxs(Eh,{children:[k.jsx(xh,{children:"图片来源:"}),k.jsx(z_,{children:u.map((p,d)=>k.jsx(H_,{children:k.jsx(pe.Image,{src:p,width:50,height:50,preview:{zIndex:1100}})},d))})]})]})},{Title:q_}=pe.Typography,$_=ne.div`
1439
+ height: 100%;
1440
+ display: flex;
1441
+ flex-direction: column;
1442
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1443
+ ${e=>e.$isMobile&&`
1444
+ padding: 16px;
1445
+ `}
1446
+ `,Y_=ne.div`
1447
+ flex: 1;
1448
+ overflow-y: auto;
1449
+ `,V_=ne.div`
1450
+ display: flex;
1451
+ justify-content: space-between;
1452
+ align-items: baseline;
1453
+ padding-bottom: 16px;
1454
+ border-bottom: 1px solid #f0f0f0;
1455
+ margin-bottom: 16px;
1456
+ `,W_=ne.div`
1457
+ cursor: pointer;
1458
+ padding: 4px 8px;
1459
+ border-radius: 4px;
1460
+ color: #666;
1461
+ font-size: 14px;
1462
+
1463
+ &:hover {
1464
+ background: #f5f5f5;
1465
+ color: #333;
1466
+ }
1467
+ `,G_=ne.div`
1468
+ display: flex;
1469
+ align-items: flex-start;
1470
+ gap: 8px;
1471
+ `,X_=ne.span`
1472
+ font-weight: 600;
1473
+ color: #333;
1474
+ min-width: 20px;
1475
+ `,K_=ne.div`
1476
+ color: #1890ff;
1477
+ cursor: pointer;
1478
+ flex: 1;
1479
+
1480
+ &:hover {
1481
+ text-decoration: underline;
1482
+ }
1483
+ `,Q_=ne.div`
1484
+ color: #666;
1485
+ font-size: 13px;
1486
+ cursor: pointer;
1487
+ margin-top: 4px;
1488
+
1489
+ &:hover {
1490
+ color: #333;
1491
+ }
1492
+ `,k4=({items:e=[],open:t=!1,onClose:r,isPageConfig:n=!1,width:a=400,getContainer:i,className:s,style:u})=>{const o=typeof window!="undefined"&&window.innerWidth<=500,l=o?"100%":a,c=p=>{const d=n?p.Url:p.url;d&&window.open(d,"_blank")},f=()=>{r==null||r()};return k.jsx(pe.Drawer,{className:s,style:u,placement:"right",open:t,mask:!1,width:l,destroyOnClose:!0,closable:!1,bodyStyle:{boxShadow:"none",outline:"none",padding:"16px"},getContainer:i,onClose:f,children:k.jsx($_,{$isMobile:o,children:k.jsxs(Y_,{children:[k.jsxs(V_,{children:[k.jsx(q_,{level:5,style:{margin:0},children:"搜索结果"}),k.jsx(W_,{onClick:f,children:k.jsx(sr.CloseOutlined,{})})]}),k.jsx(pe.List,{itemLayout:"horizontal",dataSource:e,renderItem:(p,d)=>{const b=n?p.Title:p.title,y=n?p.Text:p.text;return k.jsx(pe.List.Item,{children:k.jsx(pe.List.Item.Meta,{title:k.jsxs(G_,{children:[k.jsxs(X_,{children:[d+1,"."]}),k.jsx(K_,{onClick:()=>c(p),dangerouslySetInnerHTML:{__html:b||""}})]}),description:k.jsx(Q_,{onClick:()=>c(p),dangerouslySetInnerHTML:{__html:y||""}})})})}})]})})})},Gl=({items:e,status:t="Success",onItemClick:r,onWebSearchClick:n,className:a,style:i})=>k.jsx(S4,{className:`appflow-sdk-doc-references ${a||""}`,style:i,items:e,status:t,isPageConfig:!1,onItemClick:r,onWebSearchClick:n}),Xl=({items:e,open:t,onClose:r,width:n=400,getContainer:a,className:i,style:s})=>k.jsx(k4,{className:`appflow-sdk-web-search-panel ${i||""}`,style:s,items:e,open:t,onClose:r,isPageConfig:!1,width:n,getContainer:a}),Zn=(e,t,r="")=>{const n=[];if(!(e!=null&&e.Properties))return{valid:!0,errors:[]};const a=(e==null?void 0:e.Required)||[];return Object.entries(e==null?void 0:e.Properties).forEach(([i,s])=>{const u=r?`${r}.${i}`:i,o=t==null?void 0:t[i],l=a.includes(i);if(l&&(o==null||o===""?n.push({field:u,message:`${(s==null?void 0:s.Title)||i} 是必填项`}):Array.isArray(o)&&o.length===0&&n.push({field:u,message:`${(s==null?void 0:s.Title)||i} 是必填项`})),(s==null?void 0:s.Type)==="object"&&(s!=null&&s.Properties)&&o){const c=Zn(s,o,u);n.push(...c.errors)}(s==null?void 0:s.Type)==="array"&&(s!=null&&s.Items)&&Array.isArray(o)&&o.forEach((c,f)=>{var d,b,y,T;const p=`${u}[${f}]`;if(((d=s==null?void 0:s.Items)==null?void 0:d.Type)==="object"&&((b=s==null?void 0:s.Items)!=null&&b.Properties)){const v=Zn(s.Items,c,p);n.push(...v.errors)}else l&&(((y=s==null?void 0:s.Items)==null?void 0:y.Type)==="string"?(c==null||c==="")&&n.push({field:p,message:"此项 是必填项"}):((T=s==null?void 0:s.Items)==null?void 0:T.Type)==="number"&&c==null&&n.push({field:p,message:"此项 是必填项"}))}),(s==null?void 0:s.Type)==="time"&&l&&(o||n.push({field:u,message:`${(s==null?void 0:s.Title)||i} 是必填项`})),(s==null?void 0:s.Type)==="file"&&l&&(!o||Array.isArray(o)&&o.length===0)&&n.push({field:u,message:`${(s==null?void 0:s.Title)||i} 是必填项`})}),{valid:n.length===0,errors:n}},Kl=e=>Object.entries(e).sort(([,t],[,r])=>{var u,o;const n=(u=t.Order)!=null?u:t.order,a=(o=r.Order)!=null?o:r.order,i=n!==void 0?Number(n):Number.MAX_SAFE_INTEGER,s=a!==void 0?Number(a):Number.MAX_SAFE_INTEGER;return i===Number.MAX_SAFE_INTEGER&&s===Number.MAX_SAFE_INTEGER?0:i-s}),Th=["jpg","png","svg"],Au=G.lazy(()=>Promise.resolve().then(()=>I4));let vh=0;const J_=ne.div`
1493
+ border: 1px solid #dbdbdb;
1494
+ border-radius: 10px;
1495
+ padding: 24px 16px;
1496
+ position: relative;
1497
+ margin-top: 20px;
1498
+ margin-bottom: 20px;
1499
+ background-color: #fff;
1500
+ `,Z_=ne.div`
1501
+ position: absolute;
1502
+ top: -12px;
1503
+ left: 15px;
1504
+ background: #fff;
1505
+ padding: 2px 10px;
1506
+ white-space: nowrap;
1507
+ text-overflow: ellipsis;
1508
+ overflow: hidden;
1509
+ word-break: break-all;
1510
+ max-width: calc(100% - 30px);
1511
+ font-size: 14px;
1512
+ font-weight: 500;
1513
+ color: #1f2329;
1514
+ `,eN=ne.span`
1515
+ display: inline-block;
1516
+ margin-right: 4px;
1517
+ color: #E00000;
1518
+ font-size: 14px;
1519
+ font-family: SimSun, sans-serif;
1520
+ line-height: 1;
1521
+ `,tN=ne.div`
1522
+ font-size: 12px;
1523
+ color: #8f959e;
1524
+ margin-bottom: 12px;
1525
+ word-break: break-word;
1526
+ `,rN=ne.div`
1527
+ font-size: 12px;
1528
+ color: #8f959e;
1529
+ margin-top: 4px;
1530
+ word-break: break-word;
1531
+ `,nN=ne.div`
1532
+ font-size: 12px;
1533
+ color: #f54a45;
1534
+ margin-top: 4px;
1535
+ `,aN=ne.div``,iN=ne.div`
1536
+ margin-bottom: 12px;
1537
+
1538
+ &:last-child {
1539
+ margin-bottom: 0;
1540
+ }
1541
+ `,Ah=ne.div`
1542
+ width: 100%;
1543
+ `,sN=ne.div`
1544
+ display: flex;
1545
+ align-items: flex-start;
1546
+ gap: 8px;
1547
+ margin-bottom: 8px;
1548
+
1549
+ &:last-child {
1550
+ margin-bottom: 0;
1551
+ }
1552
+ `,wh=ne.div`
1553
+ flex: 1;
1554
+ `,uN=ne.div`
1555
+ flex-shrink: 0;
1556
+ padding-top: 4px;
1557
+ `,oN=ne.div`
1558
+ margin-top: 12px;
1559
+ display: flex;
1560
+ gap: 8px;
1561
+ `,lN=ne.div`
1562
+ display: flex;
1563
+ align-items: flex-start;
1564
+ gap: 8px;
1565
+ margin-bottom: 8px;
1566
+
1567
+ &:last-child {
1568
+ margin-bottom: 0;
1569
+ }
1570
+ `,cN=ne.div`
1571
+ flex-shrink: 0;
1572
+ padding-top: ${({$variant:e})=>{switch(e){case"fileDoc":case"time":case"enum":return"4px";case"fileImage":default:return"38px"}}};
1573
+ `,Lo=e=>{switch(e.Type){case"string":return"";case"number":return;case"boolean":return!1;case"array":return e.Items?[Lo(e.Items)]:[];case"object":if(e.Properties){const t={};return Object.keys(e.Properties).forEach(r=>{t[r]=Lo(e.Properties[r])}),t}return{};default:return}},fN=({name:e,schema:t,value:r=[],onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o="",uploadSender:l,fileUploader:c})=>{var Le,Be,L;const{Title:f,Description:p,Items:d}=t,b=f||e,y=o?`${o}.${e}`:e,T=G.useRef(new Map),v=G.useCallback((ue,se)=>se!=null&&se.url?se.url:se!=null&&se.uid?se.uid:se!=null&&se.__arrayItemId?se.__arrayItemId:(T.current.has(ue)||T.current.set(ue,`item-${++vh}`),T.current.get(ue)),[]),S=G.useCallback(()=>{if(!d)return;const ue=Lo(d),se=r.length;T.current.set(se,`item-${++vh}`),typeof ue=="object"&&ue!==null?n==null||n([...r,tt(J({},ue),{__arrayItemId:T.current.get(se)})]):n==null||n([...r,ue])},[d,r,n]),w=G.useCallback(ue=>{const se=[...r];se.splice(ue,1),n==null||n(se)},[r,n]),M=G.useCallback((ue,se)=>{const _=[...r];_[ue]=se,n==null||n(_)},[r,n]),B=G.useCallback((ue,se,_)=>{const Ce=[...r];Ce[ue]=tt(J({},Ce[ue]),{[se]:_}),n==null||n(Ce)},[r,n]),O=((L=(Be=(Le=d==null?void 0:d.AssociationPropertyMetadata)==null?void 0:Le.EnumValues)==null?void 0:Be.length)!=null?L:0)>0||Array.isArray(d==null?void 0:d.EnumValues)&&d.EnumValues.length>0,D=(d==null?void 0:d.Type)==="object"&&(d==null?void 0:d.Properties),z=(d==null?void 0:d.Type)==="array",U=(d==null?void 0:d.Type)==="file",P=(d==null?void 0:d.Type)==="time",$=D||z||U||P||O,X=G.useMemo(()=>{var se;if(!U)return!1;const ue=(se=d==null?void 0:d.AssociationPropertyMetadata)==null?void 0:se.SubType;return Array.isArray(ue)&&ue.length>0?ue.some(_=>Th.includes(_)):d!=null&&d.FileSubType?Th.includes(d.FileSubType):!1},[U,d]);if(!d)return null;const he=d.Required||[],me=(ue,se)=>{let _;const Ce=`${y}[${se}]`,ze=u[Ce];switch(d.Type){case"string":_=k.jsx(pe.Input,{value:ue,onChange:Oe=>M(se,Oe.target.value),disabled:i});break;case"number":_=k.jsx(pe.InputNumber,{value:ue,onChange:Oe=>M(se,Oe),disabled:i,style:{width:"100%"}});break;case"boolean":_=k.jsx(pe.Switch,{checked:ue,onChange:Oe=>M(se,Oe),disabled:i});break;default:_=k.jsx(pe.Input,{value:ue,onChange:Oe=>M(se,Oe.target.value),disabled:i})}return k.jsxs("div",{children:[_,ze&&k.jsx(nN,{children:ze}),d.Description&&!ze&&k.jsx(rN,{children:d.Description})]})},de=(ue,se)=>d.Properties?Kl(d.Properties).map(([Ce,ze])=>{const Oe=he.includes(Ce);return k.jsx(G.Suspense,{fallback:k.jsx("div",{children:"加载中..."}),children:k.jsx(Au,{name:Ce,schema:ze,value:ue==null?void 0:ue[Ce],onChange:Xe=>B(se,Ce,Xe),required:Oe,disabled:i,level:s+1,errors:u,fieldPath:`${y}[${se}]`,uploadSender:l,fileUploader:c})},Ce)}):null,Te=(ue,se)=>k.jsx(G.Suspense,{fallback:k.jsx("div",{children:"加载中..."}),children:k.jsx(Au,{name:`${e}[${se}]`,schema:d,value:ue,onChange:_=>M(se,_),disabled:i,level:s+1,errors:u,fieldPath:y,uploadSender:l,fileUploader:c})}),De=(ue,se)=>k.jsx(G.Suspense,{fallback:k.jsx("div",{children:"加载中..."}),children:k.jsx(Au,{name:`[${se}]`,schema:d,value:ue,onChange:_=>M(se,_),disabled:i,level:s+1,errors:u,fieldPath:y,hideLabel:!0,uploadSender:l,fileUploader:c})});return k.jsxs(J_,{children:[k.jsxs(Z_,{children:[a&&k.jsx(eN,{children:"*"}),k.jsx("span",{children:b})]}),p&&k.jsx(tN,{children:p}),k.jsx(aN,{children:r.map((ue,se)=>{const _=v(se,ue),Ce=()=>{if(D)return k.jsx(Ah,{children:de(ue,se)});if(z)return k.jsx(Ah,{children:Te(ue,se)});if(U||P||O){let ze;return U?ze=X?"fileImage":"fileDoc":P?ze="time":O&&(ze="enum"),k.jsxs(lN,{children:[k.jsx(wh,{children:De(ue,se)}),k.jsx(cN,{$variant:ze,children:k.jsx(pe.Button,{type:"text",danger:!0,icon:k.jsx(sr.MinusOutlined,{}),onClick:()=>w(se),disabled:i,size:"small"})})]})}return k.jsxs(sN,{children:[k.jsx(wh,{children:me(ue,se)}),k.jsx(uN,{children:k.jsx(pe.Button,{type:"text",danger:!0,icon:k.jsx(sr.MinusOutlined,{}),onClick:()=>w(se),disabled:i,size:"small"})})]})};return k.jsx(iN,{children:Ce()},_)})}),k.jsx(oN,{children:k.jsxs(pe.Space,{children:[k.jsx(pe.Button,{onClick:S,disabled:i,shape:"circle",icon:k.jsx(sr.PlusOutlined,{})}),$&&r.length>0&&k.jsx(pe.Button,{onClick:()=>w(r.length-1),shape:"circle",icon:k.jsx(sr.MinusOutlined,{}),danger:!0,disabled:i})]})})]})},hN=G.lazy(()=>Promise.resolve().then(()=>I4)),dN=ne.div`
1574
+ border: 1px solid #dbdbdb;
1575
+ border-radius: 10px;
1576
+ padding: 24px 16px;
1577
+ position: relative;
1578
+ margin-top: 20px;
1579
+ margin-bottom: 20px;
1580
+ background-color: #fff;
1581
+ `,mN=ne.div`
1582
+ position: absolute;
1583
+ top: -12px;
1584
+ left: 15px;
1585
+ background: #fff;
1586
+ padding: 2px 10px;
1587
+ white-space: nowrap;
1588
+ text-overflow: ellipsis;
1589
+ overflow: hidden;
1590
+ word-break: break-all;
1591
+ max-width: calc(100% - 30px);
1592
+ font-size: 14px;
1593
+ font-weight: 500;
1594
+ color: #1f2329;
1595
+ `,pN=ne.span`
1596
+ display: inline-block;
1597
+ margin-right: 4px;
1598
+ color: #E00000;
1599
+ font-size: 14px;
1600
+ font-family: SimSun, sans-serif;
1601
+ line-height: 1;
1602
+ `,gN=ne.div`
1603
+ font-size: 12px;
1604
+ color: #8f959e;
1605
+ margin-bottom: 12px;
1606
+ word-break: break-word;
1607
+ `,bN=ne.div`
1608
+ /* 对象内容区域 */
1609
+ `,yN=({name:e,schema:t,value:r={},onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o="",uploadSender:l,fileUploader:c})=>{const{Title:f,Description:p,Properties:d,Required:b=[]}=t,y=f||e,T=o?`${o}.${e}`:e,v=G.useCallback((w,M)=>{n==null||n(tt(J({},r),{[w]:M}))},[r,n]);if(!d)return null;const S=Kl(d);return k.jsxs(dN,{children:[k.jsxs(mN,{children:[a&&k.jsx(pN,{children:"*"}),k.jsx("span",{children:y})]}),p&&k.jsx(gN,{children:p}),k.jsx(bN,{children:S.map(([w,M])=>{const B=b.includes(w);return k.jsx(G.Suspense,{fallback:k.jsx("div",{children:"加载中..."}),children:k.jsx(hN,{name:w,schema:M,value:r[w],onChange:O=>v(w,O),required:B,disabled:i,level:s+1,errors:u,fieldPath:T,uploadSender:l,fileUploader:c})},w)})})]})},{Option:Sh}=pe.Select,kh=ne.div`
1610
+ width: 100%;
1611
+
1612
+ .ant-select {
1613
+ width: 100%;
1614
+ }
1615
+ `,EN=ne.div`
1616
+ width: 100%;
1617
+
1618
+ .ant-checkbox-group {
1619
+ display: flex;
1620
+ flex-wrap: wrap;
1621
+ gap: 8px;
1622
+ }
1623
+
1624
+ .ant-checkbox-wrapper {
1625
+ margin-right: 0;
1626
+
1627
+ &:hover .ant-checkbox-inner {
1628
+ border-color: #1890ff;
1629
+ }
1630
+ }
1631
+ `,xN=ne.div`
1632
+ width: 100%;
1633
+
1634
+ .ant-radio-group {
1635
+ display: flex;
1636
+ flex-wrap: wrap;
1637
+ gap: 8px;
1638
+ }
1639
+
1640
+ .ant-radio-wrapper {
1641
+ margin-right: 0;
1642
+
1643
+ &:hover .ant-radio-inner {
1644
+ border-color: #1890ff;
1645
+ }
1646
+ }
1647
+ `,Ch=({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]),u=G.useCallback(f=>{r==null||r(f)},[r]),o=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 k.jsx(EN,{children:k.jsx(pe.Checkbox.Group,{value:Array.isArray(t)?t:t?[t]:[],onChange:o,disabled:n,children:i.map(f=>k.jsx(pe.Checkbox,{value:f,children:String(f)},String(f)))})});case"radio":return k.jsx(xN,{children:k.jsx(pe.Radio.Group,{value:t,onChange:l,disabled:n,children:i.map(f=>k.jsx(pe.Radio,{value:f,children:String(f)},String(f)))})});case"multi-select":return k.jsx(kh,{children:k.jsx(pe.Select,{value:Array.isArray(t)?t:t?[t]:[],onChange:u,disabled:n,mode:"multiple",placeholder:"请选择",style:{width:"100%"},allowClear:!0,children:i.map(f=>k.jsx(Sh,{value:f,children:String(f)},String(f)))})});case"select":default:{const f=a==="array";return k.jsx(kh,{children:k.jsx(pe.Select,{value:t,onChange:u,disabled:n,mode:f?"multiple":void 0,placeholder:"请选择",style:{width:"100%"},allowClear:!0,children:i.map(p=>k.jsx(Sh,{value:p,children:String(p)},String(p)))})})}}})()},TN=ne.div`
1648
+ width: 100%;
1649
+ .ant-picker {
1650
+ width: 100%;
1651
+ }
1652
+ `,vN=()=>{try{return parseInt(pe.version.split(".")[0],10)}catch(e){return 5}},C4=vN()>=5;let Qt=null;const AN=()=>{if(Qt)return Qt;if(C4)try{Qt=require("dayjs")}catch(e){}else try{Qt=require("moment")}catch(e){}return Qt},wN=()=>Re(exports,null,function*(){if(Qt)return Qt;try{if(C4){const e=yield import("dayjs");Qt=e.default||e}else{const e=yield import("moment");Qt=e.default||e}}catch(e){console.warn("Failed to load time library (both sync and async)")}return Qt});AN();const SN=e=>{switch(e){case"year-month":return"YYYY-MM";case"year-month-day":return"YYYY-MM-DD";case"datetime":return"YYYY-MM-DD HH:mm:ss";default:return"YYYY-MM-DD"}},kN=e=>{switch(e){case"year-month":return"month";default:return"date"}},CN=({schema:e,value:t,onChange:r,disabled:n=!1})=>{const[a,i]=G.useState(()=>Qt);G.useEffect(()=>{if(a)return;let p=!1;return wN().then(d=>{!p&&d&&i(d)}),()=>{p=!0}},[a]);const s=G.useMemo(()=>{var d;const p=(d=e.AssociationPropertyMetadata)==null?void 0:d.SubType;return Array.isArray(p)&&p.length>0?p[0]:e.TimeSubType},[e]),u=SN(s),o=kN(s),l=s==="datetime",c=G.useMemo(()=>{if(!t||!a)return null;try{const p=a(t,u);return p&&typeof p.isValid=="function"&&!p.isValid()?a(t):p}catch(p){return null}},[t,u,a]),f=G.useCallback((p,d)=>{const b=Array.isArray(d)?d[0]:d;r==null||r(b||null)},[r]);return k.jsx(TN,{children:k.jsx(pe.DatePicker,{value:c,onChange:f,format:u,picker:o,showTime:l?{format:"HH:mm:ss"}:!1,disabled:n,style:{width:"100%"},placeholder:"请选择"})})},Ih=ne.div`
1653
+ width: 100%;
1654
+
1655
+ .ant-upload-wrapper {
1656
+ width: 100%;
1657
+ }
1658
+
1659
+ .ant-upload-list-item {
1660
+ margin-top: 8px;
1661
+ }
1662
+
1663
+ .ant-upload-list-picture-card {
1664
+ .ant-upload-list-item-container {
1665
+ width: 104px;
1666
+ height: 104px;
1667
+ }
1668
+ }
1669
+
1670
+ .ant-upload-select-picture-card {
1671
+ width: 104px;
1672
+ height: 104px;
1673
+ margin: 0;
1674
+ background-color: #fafafa;
1675
+ border: 1px dashed #d9d9d9;
1676
+ border-radius: 8px;
1677
+ cursor: pointer;
1678
+ transition: border-color 0.3s;
1679
+
1680
+ &:hover {
1681
+ border-color: #1890ff;
1682
+ }
1683
+ }
1684
+ `,_h=ne.div`
1685
+ font-size: 12px;
1686
+ color: #8f959e;
1687
+ margin-top: 8px;
1688
+ `,IN=["jpg","png","svg"],_N=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"*"}},NN=e=>{if(!e||e.length===0||e.includes("default"))return"*";const t=new Set;return e.forEach(r=>{const n=_N(r);n!=="*"&&n.split(",").forEach(a=>t.add(a.trim()))}),t.size>0?Array.from(t).join(","):"*"},ON=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("、")} 格式`:"支持所有文件格式"},RN=e=>!e||e.length===0?!1:e.some(t=>IN.includes(t)),DN=({schema:e,value:t,onChange:r,disabled:n=!1,uploadSender:a,fileUploader:i})=>{const s=G.useMemo(()=>{var z;const D=(z=e.AssociationPropertyMetadata)==null?void 0:z.SubType;return Array.isArray(D)&&D.length>0?D:e.FileSubType?[e.FileSubType]:[]},[e]),u=NN(s),o=ON(s),l=RN(s),[c,f]=G.useState(!1),p=()=>t?Array.isArray(t)?t.map((D,z)=>J({uid:D.uid||`${z}`,name:D.name||`文件${z+1}`,status:"done",url:D.url},D)):typeof t=="object"?[J({uid:t.uid||"0",name:t.name||"文件",status:"done",url:t.url},t)]:[]:[],[d,b]=G.useState(p());G.useEffect(()=>{const D=p(),z=d.map(P=>P.url).sort().join(","),U=D.map(P=>P.url).sort().join(",");z!==U&&b(D)},[t]);const y=G.useCallback(D=>Re(exports,null,function*(){if(!a)return pe.message.error("上传功能未配置"),null;try{const z=yield a({eventType:"uploadToken",fileName:D});if(!z)return pe.message.error("获取上传凭证失败"),null;const U=JSON.parse(z);return U.content?JSON.parse(U.content):U.uploadUrl&&U.downloadUrl?U:(pe.message.error("获取上传凭证失败"),null)}catch(z){return console.error("获取上传凭证失败:",z),pe.message.error("获取上传凭证失败"),null}}),[a]),T=G.useCallback((D,z)=>Re(exports,null,function*(){if(!a)return null;try{const U=yield a({eventType:"uploadFile",fileName:D,content:z});if(!U)return null;const P=JSON.parse(U);return P.content?JSON.parse(P.content):P.fileId?P:null}catch(U){return console.error("获取文件ID失败:",U),null}}),[a]),v=G.useCallback(D=>Re(exports,null,function*(){const z=yield y(D.name);if(!z)throw new Error("获取上传凭证失败");if(!i)throw new Error("文件上传方法未配置");const U=new Blob([D]);return yield i(U,z.uploadUrl),{uid:Date.now().toString(),name:D.name,url:z.downloadUrl,type:D.type,size:D.size}}),[y,i]),S=G.useCallback(D=>Re(exports,null,function*(){const z=yield y(D.name);if(!z)throw new Error("获取上传凭证失败");if(!i)throw new Error("文件上传方法未配置");const U=new Blob([D]);yield i(U,z.uploadUrl);const P=yield T(D.name,z.downloadUrl);return{uid:Date.now().toString(),name:D.name,url:z.downloadUrl,fileId:P==null?void 0:P.fileId,type:D.type,size:D.size,fileType:D.name.split(".").pop()}}),[y,i,T]),w=G.useCallback(D=>Re(exports,null,function*(){const{file:z,onSuccess:U,onError:P}=D;if(!a||!i){try{const $=URL.createObjectURL(z);U==null||U({url:$},new XMLHttpRequest)}catch($){P==null||P($),pe.message.error("文件上传失败")}return}f(!0);try{let $;l?$=yield v(z):$=yield S(z),U==null||U($,new XMLHttpRequest)}catch($){P==null||P($),pe.message.error("文件上传失败")}finally{f(!1)}}),[a,i,l,v,S]),M=G.useCallback(D=>{const{fileList:z}=D;b(z);const U=z.filter(P=>P.status==="done").map(P=>{const $=P.response;return{name:P.name,url:($==null?void 0:$.url)||P.url}});r==null||r(U.length===1?U[0]:U.length>0?U:void 0)},[r]),B=G.useCallback(D=>D.size>10485760?(pe.message.error("文件大小不能超过 10MB"),pe.Upload.LIST_IGNORE):!0,[]),O=k.jsxs("div",{children:[c?k.jsx(sr.LoadingOutlined,{}):k.jsx(sr.PlusOutlined,{}),k.jsx("div",{style:{marginTop:8},children:c?"上传中":"上传"})]});return l?k.jsxs(Ih,{children:[k.jsx(pe.Upload,{listType:"picture-card",fileList:d,onChange:M,customRequest:w,beforeUpload:B,accept:u,disabled:n||c,maxCount:1,showUploadList:{showPreviewIcon:!1,showRemoveIcon:!0},children:d.length<1&&O}),k.jsx(_h,{children:o})]}):k.jsxs(Ih,{children:[k.jsx(pe.Upload,{fileList:d,onChange:M,customRequest:w,beforeUpload:B,accept:u,disabled:n||c,maxCount:1,children:k.jsx(pe.Button,{icon:c?k.jsx(sr.LoadingOutlined,{}):k.jsx(sr.UploadOutlined,{}),disabled:n||c,loading:c,children:c?"上传中":"选择文件"})}),k.jsx(_h,{children:o})]})},LN=ne.div`
1689
+ margin-bottom: 16px;
1690
+
1691
+ &:last-child {
1692
+ margin-bottom: 0;
1693
+ }
1694
+ `,MN=ne.div`
1695
+ display: flex;
1696
+ align-items: center;
1697
+ margin-bottom: 6px;
1698
+ font-size: 14px;
1699
+ color: #1f2329;
1700
+ `,Nh=ne.span`
1701
+ color: #f54a45;
1702
+ margin-right: 4px;
1703
+ `,PN=ne.span`
1704
+ font-weight: 500;
1705
+ `,FN=ne.div`
1706
+ font-size: 12px;
1707
+ color: #8f959e;
1708
+ margin-top: 4px;
1709
+ word-break: break-word;
1710
+ `,BN=ne.div`
1711
+ font-size: 12px;
1712
+ color: #f54a45;
1713
+ margin-top: 4px;
1714
+ `,zN=ne.div`
1715
+ border: 1px solid #dbdbdb;
1716
+ border-radius: 10px;
1717
+ padding: 24px 16px;
1718
+ position: relative;
1719
+ margin-top: 20px;
1720
+ margin-bottom: 20px;
1721
+ background-color: #fff;
1722
+ `,HN=ne.div`
1723
+ position: absolute;
1724
+ top: -12px;
1725
+ left: 15px;
1726
+ background: #fff;
1727
+ padding: 2px 10px;
1728
+ white-space: nowrap;
1729
+ text-overflow: ellipsis;
1730
+ overflow: hidden;
1731
+ word-break: break-all;
1732
+ max-width: calc(100% - 30px);
1733
+ font-size: 14px;
1734
+ font-weight: 500;
1735
+ color: #1f2329;
1736
+ `,UN=ne.div`
1737
+ font-size: 12px;
1738
+ color: #8f959e;
1739
+ margin-bottom: 12px;
1740
+ word-break: break-word;
1741
+ `,wu=ne.div`
1742
+ .${e=>e.$prefixCls}-input,
1743
+ .${e=>e.$prefixCls}-input-number,
1744
+ .${e=>e.$prefixCls}-select {
1745
+ width: 100%;
1746
+ }
1747
+
1748
+ .${e=>e.$prefixCls}-input-number {
1749
+ width: 100%;
1750
+ }
1751
+ `,jN=e=>{var r;const t=((r=e.AssociationPropertyMetadata)==null?void 0:r.EnumValues)||e.EnumValues;return Array.isArray(t)&&t.length>0},Mo=({name:e,schema:t,value:r,onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o="",uploadSender:l,fileUploader:c,hideLabel:f=!1})=>{var D;const{Type:p,Title:d,Description:b}=t,y=d||e,T=G.useContext(pe.ConfigProvider.ConfigContext),v=((D=T.getPrefixCls)==null?void 0:D.call(T))||"ant",S=o?`${o}.${e}`:e,w=u[S],M=G.useCallback(z=>{n==null||n(z)},[n]),B=G.useMemo(()=>jN(t),[t]),O=()=>{var z,U;if(B)return k.jsx(Ch,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i});switch(p){case"string":return k.jsx(wu,{$prefixCls:v,children:k.jsx(pe.Input,{value:r,onChange:P=>M(P.target.value),disabled:i,placeholder:`请输入${y}`})});case"number":return k.jsx(wu,{$prefixCls:v,children:k.jsx(pe.InputNumber,{value:r,onChange:M,disabled:i,style:{width:"100%"},placeholder:`请输入${y}`})});case"boolean":return k.jsx(pe.Switch,{style:{borderRadius:16},checked:r,onChange:M,disabled:i});case"time":return k.jsx(CN,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i});case"file":return k.jsx(DN,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i,uploadSender:l,fileUploader:c});case"array":{const P=t==null?void 0:t.Items,$=(z=P==null?void 0:P.AssociationPropertyMetadata)==null?void 0:z.EnumValues,X=(U=P==null?void 0:P.AssociationPropertyMetadata)==null?void 0:U.EnumDisplayStyle;return Array.isArray($)&&$.length>0&&(X==="multi-select"||X==="checkbox")&&P?k.jsxs(zN,{children:[k.jsxs(HN,{children:[a&&k.jsx(Nh,{children:"*"}),k.jsx("span",{children:y})]}),b&&k.jsx(UN,{children:b}),k.jsx(Ch,{name:e,schema:tt(J({},P),{Title:t.Title||P.Title}),value:r,onChange:M,required:a,disabled:i})]}):k.jsx(fN,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i,level:s,errors:u,fieldPath:o,uploadSender:l,fileUploader:c})}case"object":return k.jsx(yN,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i,level:s,errors:u,fieldPath:o,uploadSender:l,fileUploader:c});default:return k.jsx(wu,{$prefixCls:v,children:k.jsx(pe.Input,{value:r,onChange:P=>M(P.target.value),disabled:i,placeholder:`请输入${y}`})})}};return p==="object"||p==="array"||f?O():k.jsxs(LN,{children:[k.jsxs(MN,{children:[a&&k.jsx(Nh,{children:"*"}),k.jsx(PN,{children:y})]}),O(),w&&k.jsx(BN,{children:w}),b&&!w&&k.jsx(FN,{children:b})]})},I4=Object.freeze(Object.defineProperty({__proto__:null,FieldRenderer:Mo,default:Mo},Symbol.toStringTag,{value:"Module"})),Oh=ne.div`
1752
+ width: 100%;
1753
+ padding-bottom: 12px;
1754
+ `,qN=ne.div`
1755
+ padding: 24px;
1756
+ text-align: center;
1757
+ color: #8f959e;
1758
+ font-size: 12px;
1759
+ background-color: #fafafa;
1760
+ border: 1px dashed #e5e6eb;
1761
+ border-radius: 6px;
1762
+ `,Ql=({schema:e,value:t={},onChange:r,disabled:n=!1,errors:a={},uploadSender:i,fileUploader:s})=>{const u=e==null?void 0:e.Properties,o=(e==null?void 0:e.Required)||[],l=G.useCallback((f,p)=>{r==null||r(tt(J({},t),{[f]:p}))},[t,r]);if(!u||Object.keys(u).length===0)return k.jsx(Oh,{children:k.jsx(qN,{children:"暂无参数配置"})});const c=Kl(u);return k.jsx(Oh,{children:c==null?void 0:c.map(([f,p])=>{const d=o.includes(f);return k.jsx(Mo,{name:f,schema:p,value:t[f],onChange:b=>l(f,b),required:d,disabled:n,level:0,errors:a,fieldPath:"",uploadSender:i,fileUploader:s},f)})})},$N=e=>{const[t,r]=G.useState({}),n=G.useCallback(()=>Zn(e,t),[e,t]),a=G.useCallback(()=>{r({})},[]),i=G.useCallback((u,o)=>{r(l=>tt(J({},l),{[u]:o}))},[]),s=G.useCallback(u=>t[u],[t]);return{value:t,setValue:r,validate:n,reset:a,setFieldValue:i,getFieldValue:s}},YN=ne.div`
1763
+ margin-top: 12px;
1764
+ width: 400px;
1765
+ max-width: 100%;
1766
+ `,VN=ne.div`
1767
+ margin-top: 16px;
1768
+ padding: 12px 16px;
1769
+ border-radius: 8px;
1770
+ display: flex;
1771
+ align-items: center;
1772
+ gap: 12px;
1773
+ background-color: ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
1774
+ border: 1px solid ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
1775
+ `,WN=ne.div`
1776
+ flex: 1;
1777
+ `,GN=ne.div`
1778
+ font-size: 14px;
1779
+ font-weight: 500;
1780
+ margin-bottom: 4px;
1781
+ `,_4=({data:e,uploadSender:t,fileUploader:r,onSubmit:n})=>{const a=e==null?void 0:e.verifyId,i=e==null?void 0:e.sessionWebhook,s=(e==null?void 0:e.approved)||!1,u=e==null?void 0:e.customParams,o=e==null?void 0:e.customParamsKey,[l,c]=G.useState({}),[f,p]=G.useState({});G.useEffect(()=>{if(Object.keys(f).length>0&&u){const b=Zn(u,l);if(b.valid)p({});else{const y={};b.errors.forEach(T=>{y[T.field]=T.message}),p(y)}}},[l,u,f]);const d=G.useCallback(()=>{if(!(!a||!n)){if(u){const b=Zn(u,l);if(!b.valid){const y={};b.errors.forEach(T=>{y[T.field]=T.message}),p(y),pe.message.error("请填写所有必填项");return}p({})}n==null||n({verifyId:a,sessionWebhook:i||"",status:"approve",customParamsKey:o,customParamsValue:l})}},[a,i,n,l,u,o]);return k.jsxs(YN,{children:[u&&k.jsx(Ql,{schema:u,value:l,onChange:c,errors:f,uploadSender:t,fileUploader:r}),k.jsxs(VN,{$approved:s,children:[k.jsx(WN,{children:k.jsx(GN,{children:s?"已提交":"待提交"})}),k.jsx(pe.Button,{color:"primary",variant:"filled",onClick:d,disabled:s,children:"提交"})]})]})},Rh=ne.div`
1782
+ margin-top: 12px;
1783
+ width: 400px;
1784
+ max-width: 100%;
1785
+ `,Dh=ne.div`
1786
+ margin-top: 16px;
1787
+ padding: 12px 16px;
1788
+ border-radius: 8px;
1789
+ display: flex;
1790
+ align-items: center;
1791
+ gap: 12px;
1792
+ background-color: ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
1793
+ border: 1px solid ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
1794
+ `,Lh=ne.div`
1795
+ flex: 1;
1796
+ `,Mh=ne.div`
1797
+ font-size: 14px;
1798
+ font-weight: 500;
1799
+ margin-bottom: 4px;
1800
+ `,Po=e=>{if(!e)return;const t={Type:e.type||"string"};if(e.title&&(t.Title=e.title),e.description&&(t.Description=e.description),e.required&&Array.isArray(e.required)&&(t.Required=e.required),e.order!==void 0&&(t.order=e.order),e.associationPropertyMetadata){const r=e.associationPropertyMetadata;if(t.AssociationPropertyMetadata={},r.subType){const n=r.subType;t.AssociationPropertyMetadata.SubType=Array.isArray(n)?n:[n]}r.enumValues&&(t.AssociationPropertyMetadata.EnumValues=r.enumValues),r.enumDisplayStyle&&(t.AssociationPropertyMetadata.EnumDisplayStyle=r.enumDisplayStyle)}if(e.properties&&typeof e.properties=="object"){t.Properties={};for(const[r,n]of Object.entries(e.properties)){const a=Po(n);a&&(t.Properties[r]=a)}}return e.items&&(t.Items=Po(e.items)),t},N4=({data:e})=>{const t=e==null?void 0:e.approvalStatus,r=(e==null?void 0:e.formValues)||{},n=e==null?void 0:e.formSchema,a=t==="approved";return n?k.jsxs(Rh,{children:[k.jsx(Ql,{schema:n,value:r,disabled:!0}),k.jsxs(Dh,{$approved:a,children:[k.jsx(Lh,{children:k.jsx(Mh,{children:a?"已提交":"待提交"})}),k.jsx(pe.Button,{color:"primary",variant:"filled",disabled:!0,children:a?"已提交":"提交"})]})]}):k.jsx(Rh,{children:k.jsxs(Dh,{$approved:a,children:[k.jsx(Lh,{children:k.jsx(Mh,{children:a?"已提交":"待提交"})}),k.jsx(pe.Button,{color:"primary",variant:"filled",disabled:!0,children:a?"已提交":"提交"})]})})},XN=ne.div`
1801
+ display: flex;
1802
+ flex-direction: column;
1803
+ max-width: ${e=>e.$role==="user"?"80%":"100%"};
1804
+ align-self: ${e=>e.$role==="user"?"flex-end":"flex-start"};
1805
+ `,KN=ne.div`
1806
+ padding: 12px 16px;
1807
+ border-radius: 12px;
1808
+ background: ${e=>e.$role==="user"?"linear-gradient(135deg, #667eea 0%, #764ba2 100%)":"rgba(205, 208, 220, 0.15)"};
1809
+ color: ${e=>e.$role==="user"?"#fff":"#333"};
1810
+ word-break: break-word;
1811
+
1812
+ /* 样式隔离 */
1813
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1814
+ font-size: 14px;
1815
+ line-height: 1.6;
1816
+
1817
+ * {
1818
+ box-sizing: border-box;
1819
+ }
1820
+
1821
+ /* Markdown内容样式 */
1822
+ p {
1823
+ margin: 0 0 8px 0;
1824
+ &:last-child {
1825
+ margin-bottom: 0;
1826
+ }
1827
+ }
1828
+
1829
+ ul, ol {
1830
+ margin: 8px 0;
1831
+ padding-left: 20px;
1832
+ }
1833
+
1834
+ li {
1835
+ margin: 4px 0;
1836
+ p {
1837
+ display: block !important;
1838
+ }
1839
+ }
1840
+
1841
+ code {
1842
+ background: ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.2)":"rgba(0, 0, 0, 0.05)"};
1843
+ padding: 2px 6px;
1844
+ border-radius: 4px;
1845
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
1846
+ font-size: 13px;
1847
+ }
1848
+
1849
+ pre {
1850
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.2)":"#f6f8fa"};
1851
+ padding: 12px;
1852
+ border-radius: 6px;
1853
+ overflow-x: auto;
1854
+
1855
+ code {
1856
+ background: transparent;
1857
+ padding: 0;
1858
+ }
1859
+ }
1860
+
1861
+ blockquote {
1862
+ margin: 8px 0;
1863
+ padding: 8px 16px;
1864
+ border-left: 4px solid ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.5)":"#ddd"};
1865
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f9f9f9"};
1866
+ }
1867
+
1868
+ table {
1869
+ border-collapse: collapse;
1870
+ width: 100%;
1871
+ margin: 8px 0;
1872
+
1873
+ th, td {
1874
+ border: 1px solid ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.3)":"#ddd"};
1875
+ padding: 8px 12px;
1876
+ text-align: left;
1877
+ }
1878
+
1879
+ th {
1880
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f6f8fa"};
1881
+ font-weight: 600;
1882
+ }
1883
+ }
1884
+
1885
+ img {
1886
+ max-width: 200px;
1887
+ max-height: 150px;
1888
+ object-fit: contain;
1889
+ border-radius: 4px;
1890
+ }
1891
+
1892
+ a {
1893
+ color: ${e=>e.$role==="user"?"#fff":"#1890ff"};
1894
+ text-decoration: underline;
1895
+ }
1896
+
1897
+ h1, h2, h3, h4, h5, h6 {
1898
+ margin: 16px 0 8px 0;
1899
+ font-weight: 600;
1900
+ line-height: 1.4;
1901
+
1902
+ &:first-child {
1903
+ margin-top: 0;
1904
+ }
1905
+ }
1906
+
1907
+ /* 深度思考样式 */
1908
+ details {
1909
+ margin: 8px 0;
1910
+ padding: 8px 12px;
1911
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f6f8fa"};
1912
+ border-radius: 6px;
1913
+
1914
+ summary {
1915
+ cursor: pointer;
1916
+ font-weight: 500;
1917
+ }
1918
+
1919
+ pre.think {
1920
+ margin: 8px 0 0 0;
1921
+ padding: 8px;
1922
+ background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#fff"};
1923
+ border-radius: 4px;
1924
+ white-space: pre-wrap;
1925
+ font-size: 13px;
1926
+ }
1927
+ }
1928
+ `,QN=ne.div`
1929
+ margin-top: 12px;
1930
+ `,JN=ne.div`
1931
+ display: flex;
1932
+ flex-wrap: wrap;
1933
+ gap: 8px;
1934
+ `,ZN=({content:e,role:t="bot",status:r="Success",references:n=[],className:a,style:i,onReferenceClick:s,onWebSearchClick:u,eventType:o,humanVerifyData:l,historyCardData:c,onHumanVerifySubmit:f})=>{const[p,d]=pe.Modal.useModal(),[b,y]=G.useState(!1),[T,v]=G.useState([]);G.useEffect(()=>{e!=null&&e.includes("```echarts")&&gi().catch(console.error)},[e]);const S=G.useCallback(D=>{const z=D.Title||D.title,U=D.Text||D.text,P=D.Images||D.images;p.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:"参考资料",destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:k.jsxs(pe.Space,{direction:"vertical",style:{width:"100%"},children:[k.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[z&&k.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:z}),U&&k.jsx("div",{children:U})]}),P&&P.length>0&&k.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:k.jsx(JN,{children:P.map(($,X)=>k.jsx(pe.Image,{src:$,height:50},X))})})]}),footer:null})},[p]),w=G.useCallback(D=>{v(D),y(!0)},[]),M=G.useCallback(()=>{y(!1)},[]),B=s||S,O=u||w;return k.jsxs(k.Fragment,{children:[k.jsx(XN,{$role:t,className:`appflow-sdk-message-bubble ${a||""}`,style:i,children:k.jsxs(KN,{$role:t,children:[k.jsxs(b4,{content:e,status:r,role:t,children:[o==="humanVerify"&&l&&k.jsx(_4,{data:l,onSubmit:f}),o==="historyCard"&&c&&k.jsx(N4,{data:c}),n&&n.length>0&&r==="Success"&&k.jsx(QN,{children:k.jsx(Gl,{items:n,status:r,onItemClick:B,onWebSearchClick:O})})]}),d]})}),!u&&k.jsx(Xl,{items:T,open:b,onClose:M})]})},eO=ne.div`
1935
+ padding: 12px 16px;
1936
+ border-radius: 12px;
1937
+ background: rgba(205, 208, 220, 0.15);
1938
+ color: #333;
1939
+ word-break: break-word;
1940
+
1941
+ /* 样式隔离 */
1942
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
1943
+ font-size: 14px;
1944
+ line-height: 1.6;
1945
+
1946
+ * {
1947
+ box-sizing: border-box;
1948
+ }
1949
+
1950
+ /* Markdown内容样式 */
1951
+ p {
1952
+ margin: 0 0 8px 0;
1953
+ &:last-child {
1954
+ margin-bottom: 0;
1955
+ }
1956
+ }
1957
+
1958
+ ul, ol {
1959
+ margin: 8px 0;
1960
+ padding-left: 20px;
1961
+ }
1962
+
1963
+ li {
1964
+ margin: 4px 0;
1965
+ p {
1966
+ display: block !important;
1967
+ }
1968
+ }
1969
+
1970
+ code {
1971
+ background: rgba(0, 0, 0, 0.05);
1972
+ padding: 2px 6px;
1973
+ border-radius: 4px;
1974
+ font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
1975
+ font-size: 13px;
1976
+ }
1977
+
1978
+ pre {
1979
+ background: #f6f8fa;
1980
+ padding: 12px;
1981
+ border-radius: 6px;
1982
+ overflow-x: auto;
1983
+
1984
+ code {
1985
+ background: transparent;
1986
+ padding: 0;
1987
+ }
1988
+ }
1989
+
1990
+ table {
1991
+ border-collapse: collapse;
1992
+ width: 100%;
1993
+ margin: 8px 0;
1994
+
1995
+ th, td {
1996
+ border: 1px solid #ddd;
1997
+ padding: 8px 12px;
1998
+ text-align: left;
1999
+ }
2000
+
2001
+ th {
2002
+ background: #f6f8fa;
2003
+ font-weight: 600;
2004
+ }
2005
+
2006
+ tr:nth-child(even) {
2007
+ background: #f9f9f9;
2008
+ }
2009
+ }
2010
+
2011
+ img {
2012
+ max-width: 200px;
2013
+ max-height: 150px;
2014
+ object-fit: contain;
2015
+ border-radius: 4px;
2016
+ }
2017
+
2018
+ a {
2019
+ color: #1890ff;
2020
+ text-decoration: none;
2021
+
2022
+ &:hover {
2023
+ text-decoration: underline;
2024
+ }
2025
+ }
2026
+ `,tO=ne.div`
2027
+ margin-top: 12px;
2028
+ `,rO=ne.div`
2029
+ display: flex;
2030
+ flex-wrap: wrap;
2031
+ gap: 8px;
2032
+ `,nO=({content:e,messageType:t="markdown",status:r="Success",references:n=[],className:a,style:i,onReferenceClick:s,onWebSearchClick:u})=>{const[o,l]=pe.Modal.useModal(),[c,f]=G.useState(!1),[p,d]=G.useState([]);G.useEffect(()=>{(e!=null&&e.includes("echart")||e!=null&&e.includes("echarts"))&&gi().catch(console.error)},[e]);const b=G.useCallback(w=>{const M=w.Title||w.title,B=w.Text||w.text,O=w.Images||w.images;o.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:"参考资料",destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:k.jsxs(pe.Space,{direction:"vertical",style:{width:"100%"},children:[k.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[M&&k.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:M}),B&&k.jsx("div",{children:B})]}),O&&O.length>0&&k.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:k.jsx(rO,{children:O.map((D,z)=>k.jsx(pe.Image,{src:D,height:50},z))})})]}),footer:null})},[o]),y=G.useCallback(w=>{d(w),f(!0)},[]),T=G.useCallback(()=>{f(!1)},[]),v=s||b,S=u||y;return k.jsxs(k.Fragment,{children:[k.jsxs(eO,{className:`appflow-sdk-rich-message-bubble ${a||""}`,style:i,children:[k.jsx(y4,{content:e,messageType:t,status:r,role:"bot",children:n&&n.length>0&&r==="Success"&&k.jsx(tO,{children:k.jsx(Gl,{items:n,status:r,onItemClick:v,onWebSearchClick:S})})}),l]}),!u&&k.jsx(Xl,{items:p,open:c,onClose:T})]})};exports.BubbleContent=b4;exports.ChatService=ad;exports.CustomParamsRenderer=Ql;exports.DocReferences=Gl;exports.HistoryCard=N4;exports.HumanVerify=_4;exports.MarkdownRenderer=nI;exports.MarkdownView=Kt;exports.MessageBubble=ZN;exports.RichBubbleContent=y4;exports.RichBubbleProvider=d4;exports.RichMessageBubble=nO;exports.SourceContent=S4;exports.WebSearchContent=k4;exports.WebSearchPanel=Xl;exports.chatService=A6;exports.convertSchemaToUpperCase=Po;exports.loadEchartsScript=gi;exports.loadMermaidScript=g4;exports.useCustomParamsRenderer=$N;exports.useRichBubbleContext=m4;exports.validateCustomParams=Zn;