@alicloud/appflow-chat 0.0.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README-ZH.md +188 -0
- package/README.md +190 -0
- package/dist/appflow-chat.cjs.js +1903 -0
- package/dist/appflow-chat.esm.js +36965 -0
- package/dist/types/index.d.ts +862 -0
- package/package.json +87 -0
- package/src/components/DocReferences.tsx +64 -0
- package/src/components/HumanVerify/CustomParamsRenderer/ArrayField.tsx +394 -0
- package/src/components/HumanVerify/CustomParamsRenderer/FieldRenderer.tsx +202 -0
- package/src/components/HumanVerify/CustomParamsRenderer/ObjectField.tsx +126 -0
- package/src/components/HumanVerify/CustomParamsRenderer/index.tsx +166 -0
- package/src/components/HumanVerify/CustomParamsRenderer/types.ts +203 -0
- package/src/components/HumanVerify/HistoryCard.tsx +156 -0
- package/src/components/HumanVerify/HumanVerify.tsx +184 -0
- package/src/components/HumanVerify/index.ts +11 -0
- package/src/components/MarkdownRenderer.tsx +195 -0
- package/src/components/MessageBubble.tsx +400 -0
- package/src/components/RichMessageBubble.tsx +283 -0
- package/src/components/WebSearchPanel.tsx +68 -0
- package/src/context/RichBubble.tsx +21 -0
- package/src/core/BubbleContent.tsx +75 -0
- package/src/core/RichBubbleContent.tsx +324 -0
- package/src/core/SourceContent.tsx +285 -0
- package/src/core/WebSearchContent.tsx +219 -0
- package/src/core/index.ts +16 -0
- package/src/hooks/usePreSignUpload.ts +36 -0
- package/src/index.ts +80 -0
- package/src/markdown/components/Chart.tsx +120 -0
- package/src/markdown/components/Error.tsx +39 -0
- package/src/markdown/components/FileDisplay.tsx +246 -0
- package/src/markdown/components/Loading.tsx +41 -0
- package/src/markdown/components/SyntaxHighlight.tsx +182 -0
- package/src/markdown/index.tsx +250 -0
- package/src/markdown/styled.ts +234 -0
- package/src/markdown/utils/dataProcessor.ts +89 -0
- package/src/services/ChatService.ts +926 -0
- package/src/utils/fetchEventSource.ts +65 -0
- package/src/utils/loadEcharts.ts +32 -0
- package/src/utils/loadPrism.ts +156 -0
- package/src/vite-env.d.ts +1 -0
|
@@ -0,0 +1,1903 @@
|
|
|
1
|
+
"use strict";var i4=Object.defineProperty,s4=Object.defineProperties;var u4=Object.getOwnPropertyDescriptors;var bi=Object.getOwnPropertySymbols;var Ol=Object.prototype.hasOwnProperty,Rl=Object.prototype.propertyIsEnumerable;var _n=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),o4=e=>{throw TypeError(e)},Ll=Math.pow,u0=(e,t,r)=>t in e?i4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,te=(e,t)=>{for(var r in t||(t={}))Ol.call(t,r)&&u0(e,r,t[r]);if(bi)for(var r of bi(t))Rl.call(t,r)&&u0(e,r,t[r]);return e},ot=(e,t)=>s4(e,u4(t));var yi=(e,t)=>{var r={};for(var n in e)Ol.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&bi)for(var n of bi(e))t.indexOf(n)<0&&Rl.call(e,n)&&(r[n]=e[n]);return r};var Nn=(e,t,r)=>u0(e,typeof t!="symbol"?t+"":t,r);var ze=(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},o0=(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(m=>f?n(s==="return"?s:"next",u[1]?{done:m.done,value:m.value}:m,o,l):o({value:m,done:p})).catch(m=>n("throw",m,o,l))}catch(m){l(m)}},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},l0=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||o4("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},Dl=(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 R=require("react/jsx-runtime"),ue=require("react"),Ne=require("antd"),_a=require("@ant-design/icons");let on=null,ba=null;const l4="https://g.alicdn.com/code/npm/@ali/chatui-sdk/6.6.5/ChatSSE.js";function c4(){return ba||(ba=new Promise((e,t)=>{var n;if((n=window.ChatSSE)!=null&&n.fetchEventSource){on=window.ChatSSE.fetchEventSource,e(on);return}const r=document.createElement("script");r.src=l4,r.async=!0,r.onload=()=>{var a;on=(a=window.ChatSSE)==null?void 0:a.fetchEventSource,on?e(on):t(new Error("ChatSSE.fetchEventSource not found after script load"))},r.onerror=()=>{ba=null,t(new Error("Failed to load ChatSSE script from CDN"))},document.head.appendChild(r)}),ba)}function f4(){return ze(this,null,function*(){return on||c4()})}function h4(e,t){return ze(this,null,function*(){return(yield f4())(e,t)})}function oh(e,t){return function(){return e.apply(t,arguments)}}const{toString:d4}=Object.prototype,{getPrototypeOf:ho}=Object,{iterator:Ss,toStringTag:lh}=Symbol,ws=(e=>t=>{const r=d4.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Zt=e=>(e=e.toLowerCase(),t=>ws(t)===e),ks=e=>t=>typeof t===e,{isArray:ta}=Array,jn=ks("undefined");function Za(e){return e!==null&&!jn(e)&&e.constructor!==null&&!jn(e.constructor)&&Ct(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ch=Zt("ArrayBuffer");function m4(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ch(e.buffer),t}const p4=ks("string"),Ct=ks("function"),fh=ks("number"),ei=e=>e!==null&&typeof e=="object",g4=e=>e===!0||e===!1,Ui=e=>{if(ws(e)!=="object")return!1;const t=ho(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(lh in e)&&!(Ss in e)},b4=e=>{if(!ei(e)||Za(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},y4=Zt("Date"),E4=Zt("File"),x4=Zt("Blob"),T4=Zt("FileList"),v4=e=>ei(e)&&Ct(e.pipe),A4=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Ct(e.append)&&((t=ws(e))==="formdata"||t==="object"&&Ct(e.toString)&&e.toString()==="[object FormData]"))},S4=Zt("URLSearchParams"),[w4,k4,C4,I4]=["ReadableStream","Request","Response","Headers"].map(Zt),_4=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function ti(e,t,{allOwnKeys:r=!1}={}){if(e===null||typeof e=="undefined")return;let n,a;if(typeof e!="object"&&(e=[e]),ta(e))for(n=0,a=e.length;n<a;n++)t.call(null,e[n],n,e);else{if(Za(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(Za(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 cn=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:global,dh=e=>!jn(e)&&e!==cn;function iu(){const{caseless:e,skipUndefined:t}=dh(this)&&this||{},r={},n=(a,i)=>{const s=e&&hh(r,i)||i;Ui(r[s])&&Ui(a)?r[s]=iu(r[s],a):Ui(a)?r[s]=iu({},a):ta(a)?r[s]=a.slice():(!t||!jn(a))&&(r[s]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&ti(arguments[a],n);return r}const N4=(e,t,r,{allOwnKeys:n}={})=>(ti(t,(a,i)=>{r&&Ct(a)?e[i]=oh(a,r):e[i]=a},{allOwnKeys:n}),e),O4=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),R4=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},L4=(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&&ho(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},D4=(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},M4=e=>{if(!e)return null;if(ta(e))return e;let t=e.length;if(!fh(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},P4=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&ho(Uint8Array)),F4=(e,t)=>{const n=(e&&e[Ss]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},B4=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},z4=Zt("HTMLFormElement"),H4=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),Ml=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),U4=Zt("RegExp"),mh=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};ti(r,(a,i)=>{let s;(s=t(a,i,e))!==!1&&(n[i]=s||a)}),Object.defineProperties(e,n)},j4=e=>{mh(e,(t,r)=>{if(Ct(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Ct(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+"'")})}})},q4=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return ta(e)?n(e):n(String(e).split(t)),r},$4=()=>{},Y4=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function V4(e){return!!(e&&Ct(e.append)&&e[lh]==="FormData"&&e[Ss])}const W4=e=>{const t=new Array(10),r=(n,a)=>{if(ei(n)){if(t.indexOf(n)>=0)return;if(Za(n))return n;if(!("toJSON"in n)){t[a]=n;const i=ta(n)?[]:{};return ti(n,(s,u)=>{const o=r(s,a+1);!jn(o)&&(i[u]=o)}),t[a]=void 0,i}}return n};return r(e,0)},G4=Zt("AsyncFunction"),X4=e=>e&&(ei(e)||Ct(e))&&Ct(e.then)&&Ct(e.catch),ph=((e,t)=>e?setImmediate:t?((r,n)=>(cn.addEventListener("message",({source:a,data:i})=>{a===cn&&i===r&&n.length&&n.shift()()},!1),a=>{n.push(a),cn.postMessage(r,"*")}))(`axios@${Math.random()}`,[]):r=>setTimeout(r))(typeof setImmediate=="function",Ct(cn.postMessage)),K4=typeof queueMicrotask!="undefined"?queueMicrotask.bind(cn):typeof process!="undefined"&&process.nextTick||ph,Q4=e=>e!=null&&Ct(e[Ss]),U={isArray:ta,isArrayBuffer:ch,isBuffer:Za,isFormData:A4,isArrayBufferView:m4,isString:p4,isNumber:fh,isBoolean:g4,isObject:ei,isPlainObject:Ui,isEmptyObject:b4,isReadableStream:w4,isRequest:k4,isResponse:C4,isHeaders:I4,isUndefined:jn,isDate:y4,isFile:E4,isBlob:x4,isRegExp:U4,isFunction:Ct,isStream:v4,isURLSearchParams:S4,isTypedArray:P4,isFileList:T4,forEach:ti,merge:iu,extend:N4,trim:_4,stripBOM:O4,inherits:R4,toFlatObject:L4,kindOf:ws,kindOfTest:Zt,endsWith:D4,toArray:M4,forEachEntry:F4,matchAll:B4,isHTMLForm:z4,hasOwnProperty:Ml,hasOwnProp:Ml,reduceDescriptors:mh,freezeMethods:j4,toObjectSet:q4,toCamelCase:H4,noop:$4,toFiniteNumber:Y4,findKey:hh,global:cn,isContextDefined:dh,isSpecCompliantForm:V4,toJSONObject:W4,isAsyncFn:G4,isThenable:X4,setImmediate:ph,asap:K4,isIterable:Q4};function be(e,t,r,n,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a,this.status=a.status?a.status:null)}U.inherits(be,Error,{toJSON:function(){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:U.toJSONObject(this.config),code:this.code,status:this.status}}});const gh=be.prototype,bh={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{bh[e]={value:e}});Object.defineProperties(be,bh);Object.defineProperty(gh,"isAxiosError",{value:!0});be.from=(e,t,r,n,a,i)=>{const s=Object.create(gh);U.toFlatObject(e,s,function(c){return c!==Error.prototype},l=>l!=="isAxiosError");const u=e&&e.message?e.message:"Error",o=t==null&&e?e.code:t;return be.call(s,u,o,r,n,a),e&&s.cause==null&&Object.defineProperty(s,"cause",{value:e,configurable:!0}),s.name=e&&e.name||"Error",i&&Object.assign(s,i),s};const J4=null;function su(e){return U.isPlainObject(e)||U.isArray(e)}function yh(e){return U.endsWith(e,"[]")?e.slice(0,-2):e}function Pl(e,t,r){return e?e.concat(t).map(function(a,i){return a=yh(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function Z4(e){return U.isArray(e)&&!e.some(su)}const e3=U.toFlatObject(U,{},null,function(t){return/^is[A-Z]/.test(t)});function Cs(e,t,r){if(!U.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=U.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,v){return!U.isUndefined(v[y])});const n=r.metaTokens,a=r.visitor||c,i=r.dots,s=r.indexes,o=(r.Blob||typeof Blob!="undefined"&&Blob)&&U.isSpecCompliantForm(t);if(!U.isFunction(a))throw new TypeError("visitor must be a function");function l(b){if(b===null)return"";if(U.isDate(b))return b.toISOString();if(U.isBoolean(b))return b.toString();if(!o&&U.isBlob(b))throw new be("Blob is not supported. Use a Buffer instead.");return U.isArrayBuffer(b)||U.isTypedArray(b)?o&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function c(b,y,v){let T=b;if(b&&!v&&typeof b=="object"){if(U.endsWith(y,"{}"))y=n?y:y.slice(0,-2),b=JSON.stringify(b);else if(U.isArray(b)&&Z4(b)||(U.isFileList(b)||U.endsWith(y,"[]"))&&(T=U.toArray(b)))return y=yh(y),T.forEach(function(A,P){!(U.isUndefined(A)||A===null)&&t.append(s===!0?Pl([y],P,i):s===null?y:y+"[]",l(A))}),!1}return su(b)?!0:(t.append(Pl(v,y,i),l(b)),!1)}const f=[],p=Object.assign(e3,{defaultVisitor:c,convertValue:l,isVisitable:su});function m(b,y){if(!U.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+y.join("."));f.push(b),U.forEach(b,function(T,w){(!(U.isUndefined(T)||T===null)&&a.call(t,T,U.isString(w)?w.trim():w,y,p))===!0&&m(T,y?y.concat(w):[w])}),f.pop()}}if(!U.isObject(e))throw new TypeError("data must be an object");return m(e),t}function Fl(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function mo(e,t){this._pairs=[],e&&Cs(e,this,t)}const Eh=mo.prototype;Eh.append=function(t,r){this._pairs.push([t,r])};Eh.toString=function(t){const r=t?function(n){return t.call(this,n,Fl)}:Fl;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function t3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function xh(e,t,r){if(!t)return e;const n=r&&r.encode||t3;U.isFunction(r)&&(r={serialize:r});const a=r&&r.serialize;let i;if(a?i=a(t,r):i=U.isURLSearchParams(t)?t.toString():new mo(t,r).toString(n),i){const s=e.indexOf("#");s!==-1&&(e=e.slice(0,s)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Bl{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){U.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Th={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},r3=typeof URLSearchParams!="undefined"?URLSearchParams:mo,n3=typeof FormData!="undefined"?FormData:null,a3=typeof Blob!="undefined"?Blob:null,i3={isBrowser:!0,classes:{URLSearchParams:r3,FormData:n3,Blob:a3},protocols:["http","https","file","blob","url","data"]},po=typeof window!="undefined"&&typeof document!="undefined",uu=typeof navigator=="object"&&navigator||void 0,s3=po&&(!uu||["ReactNative","NativeScript","NS"].indexOf(uu.product)<0),u3=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",o3=po&&window.location.href||"http://localhost",l3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:po,hasStandardBrowserEnv:s3,hasStandardBrowserWebWorkerEnv:u3,navigator:uu,origin:o3},Symbol.toStringTag,{value:"Module"})),ht=te(te({},l3),i3);function c3(e,t){return Cs(e,new ht.classes.URLSearchParams,te({visitor:function(r,n,a,i){return ht.isNode&&U.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function f3(e){return U.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function h3(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 vh(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&&U.isArray(a)?a.length:s,o?(U.hasOwnProp(a,s)?a[s]=[a[s],n]:a[s]=n,!u):((!a[s]||!U.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&U.isArray(a[s])&&(a[s]=h3(a[s])),!u)}if(U.isFormData(e)&&U.isFunction(e.entries)){const r={};return U.forEachEntry(e,(n,a)=>{t(f3(n),a,r,0)}),r}return null}function d3(e,t,r){if(U.isString(e))try{return(t||JSON.parse)(e),U.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ri={transitional:Th,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=U.isObject(t);if(i&&U.isHTMLForm(t)&&(t=new FormData(t)),U.isFormData(t))return a?JSON.stringify(vh(t)):t;if(U.isArrayBuffer(t)||U.isBuffer(t)||U.isStream(t)||U.isFile(t)||U.isBlob(t)||U.isReadableStream(t))return t;if(U.isArrayBufferView(t))return t.buffer;if(U.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 c3(t,this.formSerializer).toString();if((u=U.isFileList(t))||n.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return Cs(u?{"files[]":t}:t,o&&new o,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),d3(t)):t}],transformResponse:[function(t){const r=this.transitional||ri.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(U.isResponse(t)||U.isReadableStream(t))return t;if(t&&U.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"?be.from(u,be.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:ht.classes.FormData,Blob:ht.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};U.forEach(["delete","get","head","post","put","patch"],e=>{ri.headers[e]={}});const m3=U.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"]),p3=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]&&m3[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},zl=Symbol("internals");function ya(e){return e&&String(e).trim().toLowerCase()}function ji(e){return e===!1||e==null?e:U.isArray(e)?e.map(ji):String(e)}function g3(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 b3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function c0(e,t,r,n,a){if(U.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!U.isString(t)){if(U.isString(n))return t.indexOf(n)!==-1;if(U.isRegExp(n))return n.test(t)}}function y3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function E3(e,t){const r=U.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 It=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(u,o,l){const c=ya(o);if(!c)throw new Error("header name must be a non-empty string");const f=U.findKey(a,c);(!f||a[f]===void 0||l===!0||l===void 0&&a[f]!==!1)&&(a[f||o]=ji(u))}const s=(u,o)=>U.forEach(u,(l,c)=>i(l,c,o));if(U.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(U.isString(t)&&(t=t.trim())&&!b3(t))s(p3(t),r);else if(U.isObject(t)&&U.isIterable(t)){let u={},o,l;for(const c of t){if(!U.isArray(c))throw TypeError("Object iterator must return a key-value pair");u[l=c[0]]=(o=u[l])?U.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=ya(t),t){const n=U.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return g3(a);if(U.isFunction(r))return r.call(this,a,n);if(U.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=ya(t),t){const n=U.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=ya(s),s){const u=U.findKey(n,s);u&&(!r||c0(n,n[u],u,r))&&(delete n[u],a=!0)}}return U.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 U.forEach(this,(a,i)=>{const s=U.findKey(n,i);if(s){r[s]=ji(a),delete r[i];return}const u=t?y3(i):String(i).trim();u!==i&&delete r[i],r[u]=ji(a),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return U.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&U.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[zl]=this[zl]={accessors:{}}).accessors,a=this.prototype;function i(s){const u=ya(s);n[u]||(E3(a,s),n[u]=!0)}return U.isArray(t)?t.forEach(i):i(t),this}};It.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);U.reduceDescriptors(It.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});U.freezeMethods(It);function f0(e,t){const r=this||ri,n=t||r,a=It.from(n.headers);let i=n.data;return U.forEach(e,function(u){i=u.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Ah(e){return!!(e&&e.__CANCEL__)}function ra(e,t,r){be.call(this,e==null?"canceled":e,be.ERR_CANCELED,t,r),this.name="CanceledError"}U.inherits(ra,be,{__CANCEL__:!0});function Sh(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new be("Request failed with status code "+r.status,[be.ERR_BAD_REQUEST,be.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function x3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function T3(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 m=c&&l-c;return m?Math.round(p*1e3/m):void 0}}function v3(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 ns=(e,t,r=3)=>{let n=0;const a=T3(50,250);return v3(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)},Hl=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},Ul=e=>(...t)=>U.asap(()=>e(...t)),A3=ht.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,ht.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(ht.origin),ht.navigator&&/(msie|trident)/i.test(ht.navigator.userAgent)):()=>!0,S3=ht.hasStandardBrowserEnv?{write(e,t,r,n,a,i,s){if(typeof document=="undefined")return;const u=[`${e}=${encodeURIComponent(t)}`];U.isNumber(r)&&u.push(`expires=${new Date(r).toUTCString()}`),U.isString(n)&&u.push(`path=${n}`),U.isString(a)&&u.push(`domain=${a}`),i===!0&&u.push("secure"),U.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 w3(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function k3(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function wh(e,t,r){let n=!w3(t);return e&&(n||r==!1)?k3(e,t):t}const jl=e=>e instanceof It?te({},e):e;function gn(e,t){t=t||{};const r={};function n(l,c,f,p){return U.isPlainObject(l)&&U.isPlainObject(c)?U.merge.call({caseless:p},l,c):U.isPlainObject(c)?U.merge({},c):U.isArray(c)?c.slice():c}function a(l,c,f,p){if(U.isUndefined(c)){if(!U.isUndefined(l))return n(void 0,l,f,p)}else return n(l,c,f,p)}function i(l,c){if(!U.isUndefined(c))return n(void 0,c)}function s(l,c){if(U.isUndefined(c)){if(!U.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(jl(l),jl(c),f,!0)};return U.forEach(Object.keys(te(te({},e),t)),function(c){const f=o[c]||a,p=f(e[c],t[c],c);U.isUndefined(p)&&f!==u||(r[c]=p)}),r}const kh=e=>{const t=gn({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:s,auth:u}=t;if(t.headers=s=It.from(s),t.url=xh(wh(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),U.isFormData(r)){if(ht.hasStandardBrowserEnv||ht.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(U.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(ht.hasStandardBrowserEnv&&(n&&U.isFunction(n)&&(n=n(t)),n||n!==!1&&A3(t.url))){const o=a&&i&&S3.read(i);o&&s.set(a,o)}return t},C3=typeof XMLHttpRequest!="undefined",I3=C3&&function(e){return new Promise(function(r,n){const a=kh(e);let i=a.data;const s=It.from(a.headers).normalize();let{responseType:u,onUploadProgress:o,onDownloadProgress:l}=a,c,f,p,m,b;function y(){m&&m(),b&&b(),a.cancelToken&&a.cancelToken.unsubscribe(c),a.signal&&a.signal.removeEventListener("abort",c)}let v=new XMLHttpRequest;v.open(a.method.toUpperCase(),a.url,!0),v.timeout=a.timeout;function T(){if(!v)return;const A=It.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),B={data:!u||u==="text"||u==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:A,config:e,request:v};Sh(function(F){r(F),y()},function(F){n(F),y()},B),v=null}"onloadend"in v?v.onloadend=T:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(T)},v.onabort=function(){v&&(n(new be("Request aborted",be.ECONNABORTED,e,v)),v=null)},v.onerror=function(P){const B=P&&P.message?P.message:"Network Error",O=new be(B,be.ERR_NETWORK,e,v);O.event=P||null,n(O),v=null},v.ontimeout=function(){let P=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const B=a.transitional||Th;a.timeoutErrorMessage&&(P=a.timeoutErrorMessage),n(new be(P,B.clarifyTimeoutError?be.ETIMEDOUT:be.ECONNABORTED,e,v)),v=null},i===void 0&&s.setContentType(null),"setRequestHeader"in v&&U.forEach(s.toJSON(),function(P,B){v.setRequestHeader(B,P)}),U.isUndefined(a.withCredentials)||(v.withCredentials=!!a.withCredentials),u&&u!=="json"&&(v.responseType=a.responseType),l&&([p,b]=ns(l,!0),v.addEventListener("progress",p)),o&&v.upload&&([f,m]=ns(o),v.upload.addEventListener("progress",f),v.upload.addEventListener("loadend",m)),(a.cancelToken||a.signal)&&(c=A=>{v&&(n(!A||A.type?new ra(null,e,v):A),v.abort(),v=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const w=x3(a.url);if(w&&ht.protocols.indexOf(w)===-1){n(new be("Unsupported protocol "+w+":",be.ERR_BAD_REQUEST,e));return}v.send(i||null)})},_3=(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 be?c:new ra(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,i(new be(`timeout ${t} of ms exceeded`,be.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=()=>U.asap(u),o}},N3=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},O3=function(e,t){return o0(this,null,function*(){try{for(var r=Dl(R3(e)),n,a,i;n=!(a=yield new rn(r.next())).done;n=!1){const s=a.value;yield*l0(N3(s,t))}}catch(a){i=[a]}finally{try{n&&(a=r.return)&&(yield new rn(a.call(r)))}finally{if(i)throw i[0]}}})},R3=function(e){return o0(this,null,function*(){if(e[Symbol.asyncIterator]){yield*l0(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())}})},ql=(e,t,r,n)=>{const a=O3(e,t);let i=0,s,u=l=>{s||(s=!0,n&&n(l))};return new ReadableStream({pull(l){return ze(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 m=i+=p;r(m)}l.enqueue(new Uint8Array(f))}catch(c){throw u(c),c}})},cancel(l){return u(l),a.return()}},{highWaterMark:2})},$l=64*1024,{isFunction:Ei}=U,L3=(({Request:e,Response:t})=>({Request:e,Response:t}))(U.global),{ReadableStream:Yl,TextEncoder:Vl}=U.global,Wl=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},D3=e=>{e=U.merge.call({skipUndefined:!0},L3,e);const{fetch:t,Request:r,Response:n}=e,a=t?Ei(t):typeof fetch=="function",i=Ei(r),s=Ei(n);if(!a)return!1;const u=a&&Ei(Yl),o=a&&(typeof Vl=="function"?(b=>y=>b.encode(y))(new Vl):b=>ze(exports,null,function*(){return new Uint8Array(yield new r(b).arrayBuffer())})),l=i&&u&&Wl(()=>{let b=!1;const y=new r(ht.origin,{body:new Yl,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return b&&!y}),c=s&&u&&Wl(()=>U.isReadableStream(new n("").body)),f={stream:c&&(b=>b.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(y,v)=>{let T=y&&y[b];if(T)return T.call(y);throw new be(`Response type '${b}' is not supported`,be.ERR_NOT_SUPPORT,v)})});const p=b=>ze(exports,null,function*(){if(b==null)return 0;if(U.isBlob(b))return b.size;if(U.isSpecCompliantForm(b))return(yield new r(ht.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(U.isArrayBufferView(b)||U.isArrayBuffer(b))return b.byteLength;if(U.isURLSearchParams(b)&&(b=b+""),U.isString(b))return(yield o(b)).byteLength}),m=(b,y)=>ze(exports,null,function*(){const v=U.toFiniteNumber(b.getContentLength());return v==null?p(y):v});return b=>ze(exports,null,function*(){let{url:y,method:v,data:T,signal:w,cancelToken:A,timeout:P,onDownloadProgress:B,onUploadProgress:O,responseType:F,headers:$,withCredentials:j="same-origin",fetchOptions:D}=kh(b),X=t||fetch;F=F?(F+"").toLowerCase():"text";let G=_3([w,A&&A.toAbortSignal()],P),ce=null;const de=G&&G.unsubscribe&&(()=>{G.unsubscribe()});let me;try{if(O&&l&&v!=="get"&&v!=="head"&&(me=yield m($,T))!==0){let Ce=new r(y,{method:"POST",body:T,duplex:"half"}),Ae;if(U.isFormData(T)&&(Ae=Ce.headers.get("content-type"))&&$.setContentType(Ae),Ce.body){const[L,$e]=Hl(me,ns(Ul(O)));T=ql(Ce.body,$l,L,$e)}}U.isString(j)||(j=j?"include":"omit");const ve=i&&"credentials"in r.prototype,Re=ot(te({},D),{signal:G,method:v.toUpperCase(),headers:$.normalize().toJSON(),body:T,duplex:"half",credentials:ve?j:void 0});ce=i&&new r(y,Re);let De=yield i?X(ce,D):X(y,Re);const Be=c&&(F==="stream"||F==="response");if(c&&(B||Be&&de)){const Ce={};["status","statusText","headers"].forEach(et=>{Ce[et]=De[et]});const Ae=U.toFiniteNumber(De.headers.get("content-length")),[L,$e]=B&&Hl(Ae,ns(Ul(B),!0))||[];De=new n(ql(De.body,$l,L,()=>{$e&&$e(),de&&de()}),Ce)}F=F||"text";let N=yield f[U.findKey(f,F)||"text"](De,b);return!Be&&de&&de(),yield new Promise((Ce,Ae)=>{Sh(Ce,Ae,{data:N,headers:It.from(De.headers),status:De.status,statusText:De.statusText,config:b,request:ce})})}catch(ve){throw de&&de(),ve&&ve.name==="TypeError"&&/Load failed|fetch/i.test(ve.message)?Object.assign(new be("Network Error",be.ERR_NETWORK,b,ce),{cause:ve.cause||ve}):be.from(ve,ve&&ve.code,b,ce)}})},M3=new Map,Ch=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=M3;for(;u--;)o=i[u],l=c.get(o),l===void 0&&c.set(o,l=u?new Map:D3(t)),c=l;return l};Ch();const go={http:J4,xhr:I3,fetch:{get:Ch}};U.forEach(go,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const Gl=e=>`- ${e}`,P3=e=>U.isFunction(e)||e===null||e===!1;function F3(e,t){e=U.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,!P3(n)&&(a=go[(u=String(n)).toLowerCase()],a===void 0))throw new be(`Unknown adapter '${u}'`);if(a&&(U.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(Gl).join(`
|
|
5
|
+
`):" "+Gl(s[0]):"as no adapter specified";throw new be("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return a}const Ih={getAdapter:F3,adapters:go};function h0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ra(null,e)}function Xl(e){return h0(e),e.headers=It.from(e.headers),e.data=f0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ih.getAdapter(e.adapter||ri.adapter,e)(e).then(function(n){return h0(e),n.data=f0.call(e,e.transformResponse,n),n.headers=It.from(n.headers),n},function(n){return Ah(n)||(h0(e),n&&n.response&&(n.response.data=f0.call(e,e.transformResponse,n.response),n.response.headers=It.from(n.response.headers))),Promise.reject(n)})}const _h="1.13.2",Is={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Is[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Kl={};Is.transitional=function(t,r,n){function a(i,s){return"[Axios v"+_h+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,u)=>{if(t===!1)throw new be(a(s," has been removed"+(r?" in "+r:"")),be.ERR_DEPRECATED);return r&&!Kl[s]&&(Kl[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}};Is.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function B3(e,t,r){if(typeof e!="object")throw new be("options must be an object",be.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 be("option "+i+" must be "+o,be.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new be("Unknown option "+i,be.ERR_BAD_OPTION)}}const qi={assertOptions:B3,validators:Is},rr=qi.validators;let dn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new Bl,response:new Bl}}request(t,r){return ze(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=gn(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&qi.assertOptions(n,{silentJSONParsing:rr.transitional(rr.boolean),forcedJSONParsing:rr.transitional(rr.boolean),clarifyTimeoutError:rr.transitional(rr.boolean)},!1),a!=null&&(U.isFunction(a)?r.paramsSerializer={serialize:a}:qi.assertOptions(a,{encode:rr.function,serialize:rr.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),qi.assertOptions(r,{baseUrl:rr.spelling("baseURL"),withXsrfToken:rr.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&U.merge(i.common,i[r.method]);i&&U.forEach(["delete","get","head","post","put","patch","common"],b=>{delete i[b]}),r.headers=It.concat(s,i);const u=[];let o=!0;this.interceptors.request.forEach(function(y){typeof y.runWhen=="function"&&y.runWhen(r)===!1||(o=o&&y.synchronous,u.unshift(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=[Xl.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 m=r;for(;f<p;){const b=u[f++],y=u[f++];try{m=b(m)}catch(v){y.call(this,v);break}}try{c=Xl.call(this,m)}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=gn(this.defaults,t);const r=wh(t.baseURL,t.url,t.allowAbsoluteUrls);return xh(r,t.params,t.paramsSerializer)}};U.forEach(["delete","get","head","options"],function(t){dn.prototype[t]=function(r,n){return this.request(gn(n||{},{method:t,url:r,data:(n||{}).data}))}});U.forEach(["post","put","patch"],function(t){function r(n){return function(i,s,u){return this.request(gn(u||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:s}))}}dn.prototype[t]=r(),dn.prototype[t+"Form"]=r(!0)});let z3=class Nh{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 ra(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 Nh(function(a){t=a}),cancel:t}}};function H3(e){return function(r){return e.apply(null,r)}}function U3(e){return U.isObject(e)&&e.isAxiosError===!0}const ou={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(ou).forEach(([e,t])=>{ou[t]=e});function Oh(e){const t=new dn(e),r=oh(dn.prototype.request,t);return U.extend(r,dn.prototype,t,{allOwnKeys:!0}),U.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return Oh(gn(e,a))},r}const Ze=Oh(ri);Ze.Axios=dn;Ze.CanceledError=ra;Ze.CancelToken=z3;Ze.isCancel=Ah;Ze.VERSION=_h;Ze.toFormData=Cs;Ze.AxiosError=be;Ze.Cancel=Ze.CanceledError;Ze.all=function(t){return Promise.all(t)};Ze.spread=H3;Ze.isAxiosError=U3;Ze.mergeConfig=gn;Ze.AxiosHeaders=It;Ze.formToJSON=e=>vh(U.isHTMLForm(e)?new FormData(e):e);Ze.getAdapter=Ih.getAdapter;Ze.HttpStatusCode=ou;Ze.default=Ze;const{Axios:dN,AxiosError:mN,CanceledError:pN,isCancel:gN,CancelToken:bN,VERSION:yN,all:EN,Cancel:xN,isAxiosError:TN,spread:vN,toFormData:AN,AxiosHeaders:SN,HttpStatusCode:wN,formToJSON:kN,getAdapter:CN,mergeConfig:IN}=Ze,j3=(e,t)=>new Promise((r,n)=>{Ze.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 xi(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 q3={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 lu(e,t){function r(a,i,s){if(typeof document!="undefined"){s=xi({},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,"",xi({},i,{expires:-1}))},withAttributes:function(a){return lu(this.converter,xi({},this.attributes,a))},withConverter:function(a){return lu(xi({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var Ti=lu(q3,{path:"/"});class Rh{constructor(){Nn(this,"config",null);Nn(this,"setupConfig",null);Nn(this,"sessionId","");Nn(this,"currentController",null);Nn(this,"isInitialized",!1)}setup(t){return ze(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&&Ti.remove("appflow_chat_ticket"),yield this.initTicket();const r=yield this.fetchConfig(t.integrateId);return this.config=r,this.isInitialized=!0,r})}initTicket(){return ze(this,null,function*(){var n,a,i;const t=((n=this.setupConfig)==null?void 0:n.domain)||"";if(!Ti.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"&&Ti.set("appflow_chat_ticket",u.data,{expires:7})}catch(s){console.error("初始化ticket失败:",s)}})}fetchConfig(t){return ze(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 m=p.data,b=m.integrateConfig,y=b?JSON.parse(b):{},v=(m.models||[]).map(T=>{var w,A,P,B,O,F,$,j,D;return{id:T.chatbotModelId||T.ChatbotModelId,name:T.modelName||T.ModelName||T.chatbotModelId,config:{image:((w=T.config)==null?void 0:w.image)||((A=T.Config)==null?void 0:A.image)||((P=T.Config)==null?void 0:P.Image),file:((B=T.config)==null?void 0:B.file)||((O=T.Config)==null?void 0:O.file)||((F=T.Config)==null?void 0:F.File),webSearch:(($=T.config)==null?void 0:$.webSearch)||((j=T.Config)==null?void 0:j.webSearch)||((D=T.Config)==null?void 0:D.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:v,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:v.some(T=>{var w;return(w=T.config)==null?void 0:w.webSearch})},chatbotId:m.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 ze(this,null,function*(){var s;const t=((s=this.setupConfig)==null?void 0:s.domain)||"",r=Ti.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 ze(this,null,function*(){var u,o,l,c,f,p,m,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:v,ticket:T}=yield this.getRequestToken(),w={chatbotId:(f=this.config)==null?void 0:f.chatbotId,chatbotModelId:i,sessionId:this.sessionId};if(t.audio)w.messageType="audio",w.audio={mediaUrl:t.audio,mediaType:"wav"};else if(t.images&&t.images.length>0||t.files&&t.files.length>0){w.messageType="rich";const A=[];t.text&&A.push({type:"text",content:t.text}),(p=t.images)==null||p.forEach(P=>{A.push({type:"image",mediaUrl:P})}),(m=t.files)==null||m.forEach(P=>{A.push({type:"file",mediaUrl:P})}),w.richText=A}else w.messageType="text",w.text={content:t.text||""};t.webSearch&&(w.config={webSearch:!0}),yield h4(`${n}/webhook/chatbot/chat/${a}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":v,"X-Account-Session-Ticket":T},body:JSON.stringify(w),signal:this.currentController.signal,timeout:150*1e3,onopen:A=>ze(this,null,function*(){if(!A.ok&&A.status!==200){const P=yield A.text();throw new Error(P)}}),onmessage:A=>{var P;try{const B=JSON.parse(A.data);if(B.sessionId&&(this.sessionId=B.sessionId),B.messageType==="event")return;s=B.content||"";const O=B.status!=="Running",F={status:B.status,references:B.references,sessionId:B.sessionId,messageType:B.messageType,messageId:B.messageId};if(B.messageType==="card"){F.sessionWebhook=B.sessionWebhook;try{const $=JSON.parse(B.content);if(F.cardType=$.type,F.cardData=$.data,F.cardDisplayContent=$.content,$.type==="chatbot_input"){const j=$.data;if(F.verifyId=j==null?void 0:j.verifyId,j){for(const D in j)if(j[D]&&typeof j[D]=="object"&&j[D].AssociationProperty==="CustomParams"){F.customParamsKey=D,F.customParams=j[D];break}}}if($.type==="update_chatbot_input"){const j=$.data;F.approvedMessageId=j==null?void 0:j.messageId,F.approvedStatus=j==null?void 0:j.status}}catch($){console.error("解析 card content 失败:",$)}}(P=r.onMessage)==null||P.call(r,s,O,F)}catch(B){console.error("解析消息失败:",B)}},onclose:()=>{var A;(A=r.onMessage)==null||A.call(r,s,!0)},onerror:A=>{var P;(P=r.onError)==null||P.call(r,new Error((A==null?void 0:A.message)||"请求失败"))}})}catch(v){(v==null?void 0:v.name)==="AbortError"?(b=r.onMessage)==null||b.call(r,s||"",!0,{status:"Cancelled"}):(y=r.onError)==null||y.call(r,v)}})}upload(t){return ze(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 m="";for(;;){const{done:y,value:v}=yield c.read();if(y)break;m+=p.decode(v,{stream:!0});const T=m.split(`
|
|
7
|
+
`);m=T.pop()||"";for(const w of T){const A=w.trim();if(A.startsWith("data:"))try{const P=A.slice(5).trim();if(P){const B=JSON.parse(P);if(B.content){const O=typeof B.content=="string"?JSON.parse(B.content):B.content;O.uploadUrl&&(f=O)}}}catch(P){console.debug("解析SSE行失败:",w,P)}}}if(m.trim().startsWith("data:"))try{const y=m.trim().slice(5).trim();if(y){const v=JSON.parse(y);if(v.content){const T=typeof v.content=="string"?JSON.parse(v.content):v.content;T.uploadUrl&&(f=T)}}}catch(y){console.debug("解析SSE剩余数据失败:",m,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 j3(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 ze(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 m of p){if(m.message!==void 0&&m.message!==null){const b=m.messageType||"text";let y="",v,T;if(b==="rich"&&Array.isArray(m.message)){const w=[],A=[],P=[];for(const B of m.message)B.type==="text"&&B.content?w.push(B.content):B.type==="image"&&B.mediaUrl?A.push(B.mediaUrl):B.type==="file"&&B.mediaUrl&&P.push({name:B.mediaName||"文件",url:B.mediaUrl});y=w.join(`
|
|
8
|
+
`),A.length>0&&(v=A),P.length>0&&(T=P)}else typeof m.message=="string"&&(y=m.message);f.push({id:m.id||`user_${Date.now()}_${Math.random().toString(36).substr(2,9)}`,role:"user",content:y,messageType:b,gmtCreate:m.gmtCreate,sessionId:m.sessionId,images:v,files:T})}if(m.assistant&&Array.isArray(m.assistant)&&m.assistant.length>0){const b=m.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:m.gmtCreate,sessionId:b.sessionId||m.sessionId})}}return f}return[]}catch(u){throw console.error("获取历史记录失败:",u),u}})}getSessions(){return ze(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 ze(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 ze(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 $3=new Rh;var kt=function(){return kt=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},kt.apply(this,arguments)};function as(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 je="-ms-",Na="-moz-",Le="-webkit-",Lh="comm",_s="rule",bo="decl",Y3="@import",V3="@namespace",Dh="@keyframes",W3="@layer",Mh=Math.abs,yo=String.fromCharCode,cu=Object.assign;function G3(e,t){return it(e,0)^45?(((t<<2^it(e,0))<<2^it(e,1))<<2^it(e,2))<<2^it(e,3):0}function Ph(e){return e.trim()}function xr(e,t){return(e=t.exec(e))?e[0]:e}function xe(e,t,r){return e.replace(t,r)}function $i(e,t,r){return e.indexOf(t,r)}function it(e,t){return e.charCodeAt(t)|0}function bn(e,t,r){return e.slice(t,r)}function Gt(e){return e.length}function Fh(e){return e.length}function Sa(e,t){return t.push(e),e}function X3(e,t){return e.map(t).join("")}function Ql(e,t){return e.filter(function(r){return!xr(r,t)})}var Ns=1,qn=1,Bh=0,$t=0,nt=0,na="";function Os(e,t,r,n,a,i,s,u){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:Ns,column:qn,length:s,return:"",siblings:u}}function Fr(e,t){return cu(Os("",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 K3(){return nt}function Q3(){return nt=$t>0?it(na,--$t):0,qn--,nt===10&&(qn=1,Ns--),nt}function Qt(){return nt=$t<Bh?it(na,$t++):0,qn++,nt===10&&(qn=1,Ns++),nt}function Ur(){return it(na,$t)}function Yi(){return $t}function Rs(e,t){return bn(na,e,t)}function ja(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 J3(e){return Ns=qn=1,Bh=Gt(na=e),$t=0,[]}function Z3(e){return na="",e}function d0(e){return Ph(Rs($t-1,fu(e===91?e+2:e===40?e+1:e)))}function e6(e){for(;(nt=Ur())&&nt<33;)Qt();return ja(e)>2||ja(nt)>3?"":" "}function t6(e,t){for(;--t&&Qt()&&!(nt<48||nt>102||nt>57&&nt<65||nt>70&&nt<97););return Rs(e,Yi()+(t<6&&Ur()==32&&Qt()==32))}function fu(e){for(;Qt();)switch(nt){case e:return $t;case 34:case 39:e!==34&&e!==39&&fu(nt);break;case 40:e===41&&fu(e);break;case 92:Qt();break}return $t}function r6(e,t){for(;Qt()&&e+nt!==57;)if(e+nt===84&&Ur()===47)break;return"/*"+Rs(t,$t-1)+"*"+yo(e===47?e:Qt())}function n6(e){for(;!ja(Ur());)Qt();return Rs(e,$t)}function a6(e){return Z3(Vi("",null,null,null,[""],e=J3(e),0,[0],e))}function Vi(e,t,r,n,a,i,s,u,o){for(var l=0,c=0,f=s,p=0,m=0,b=0,y=1,v=1,T=1,w=0,A="",P=a,B=i,O=n,F=A;v;)switch(b=w,w=Qt()){case 40:if(b!=108&&it(F,f-1)==58){$i(F+=xe(d0(w),"&","&\f"),"&\f",Mh(l?u[l-1]:0))!=-1&&(T=-1);break}case 34:case 39:case 91:F+=d0(w);break;case 9:case 10:case 13:case 32:F+=e6(b);break;case 92:F+=t6(Yi()-1,7);continue;case 47:switch(Ur()){case 42:case 47:Sa(i6(r6(Qt(),Yi()),t,r,o),o),(ja(b||1)==5||ja(Ur()||1)==5)&&Gt(F)&&bn(F,-1,void 0)!==" "&&(F+=" ");break;default:F+="/"}break;case 123*y:u[l++]=Gt(F)*T;case 125*y:case 59:case 0:switch(w){case 0:case 125:v=0;case 59+c:T==-1&&(F=xe(F,/\f/g,"")),m>0&&(Gt(F)-f||y===0&&b===47)&&Sa(m>32?Zl(F+";",n,r,f-1,o):Zl(xe(F," ","")+";",n,r,f-2,o),o);break;case 59:F+=";";default:if(Sa(O=Jl(F,t,r,l,c,a,u,A,P=[],B=[],f,i),i),w===123)if(c===0)Vi(F,t,O,O,P,i,f,u,B);else{switch(p){case 99:if(it(F,3)===110)break;case 108:if(it(F,2)===97)break;default:c=0;case 100:case 109:case 115:}c?Vi(e,O,O,n&&Sa(Jl(e,O,O,0,0,a,u,A,a,P=[],f,B),B),a,B,f,u,n?P:B):Vi(F,O,O,O,[""],B,0,u,B)}}l=c=m=0,y=T=1,A=F="",f=s;break;case 58:f=1+Gt(F),m=b;default:if(y<1){if(w==123)--y;else if(w==125&&y++==0&&Q3()==125)continue}switch(F+=yo(w),w*y){case 38:T=c>0?1:(F+="\f",-1);break;case 44:u[l++]=(Gt(F)-1)*T,T=1;break;case 64:Ur()===45&&(F+=d0(Qt())),p=Ur(),c=f=Gt(A=F+=n6(Yi())),w++;break;case 45:b===45&&Gt(F)==2&&(y=0)}}return i}function Jl(e,t,r,n,a,i,s,u,o,l,c,f){for(var p=a-1,m=a===0?i:[""],b=Fh(m),y=0,v=0,T=0;y<n;++y)for(var w=0,A=bn(e,p+1,p=Mh(v=s[y])),P=e;w<b;++w)(P=Ph(v>0?m[w]+" "+A:xe(A,/&\f/g,m[w])))&&(o[T++]=P);return Os(e,t,r,a===0?_s:u,o,l,c,f)}function i6(e,t,r,n){return Os(e,t,r,Lh,yo(K3()),bn(e,2,-2),0,n)}function Zl(e,t,r,n,a){return Os(e,t,r,bo,bn(e,0,n),bn(e,n+1,-1),n,a)}function zh(e,t,r){switch(G3(e,t)){case 5103:return Le+"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 Le+e+e;case 4855:return Le+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 Le+e+Na+e+je+e+e;case 5936:switch(it(e,t+11)){case 114:return Le+e+je+xe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Le+e+je+xe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Le+e+je+xe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Le+e+je+e+e;case 6165:return Le+e+je+"flex-"+e+e;case 5187:return Le+e+xe(e,/(\w+).+(:[^]+)/,Le+"box-$1$2"+je+"flex-$1$2")+e;case 5443:return Le+e+je+"flex-item-"+xe(e,/flex-|-self/g,"")+(xr(e,/flex-|baseline/)?"":je+"grid-row-"+xe(e,/flex-|-self/g,""))+e;case 4675:return Le+e+je+"flex-line-pack"+xe(e,/align-content|flex-|-self/g,"")+e;case 5548:return Le+e+je+xe(e,"shrink","negative")+e;case 5292:return Le+e+je+xe(e,"basis","preferred-size")+e;case 6060:return Le+"box-"+xe(e,"-grow","")+Le+e+je+xe(e,"grow","positive")+e;case 4554:return Le+xe(e,/([^-])(transform)/g,"$1"+Le+"$2")+e;case 6187:return xe(xe(xe(e,/(zoom-|grab)/,Le+"$1"),/(image-set)/,Le+"$1"),e,"")+e;case 5495:case 3959:return xe(e,/(image-set\([^]*)/,Le+"$1$`$1");case 4968:return xe(xe(e,/(.+:)(flex-)?(.*)/,Le+"box-pack:$3"+je+"flex-pack:$3"),/space-between/,"justify")+Le+e+e;case 4200:if(!xr(e,/flex-|baseline/))return je+"grid-column-align"+bn(e,t)+e;break;case 2592:case 3360:return je+xe(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,xr(n.props,/grid-\w+-end/)})?~$i(e+(r=r[t].value),"span",0)?e:je+xe(e,"-start","")+e+je+"grid-row-span:"+(~$i(r,"span",0)?xr(r,/\d+/):+xr(r,/\d+/)-+xr(e,/\d+/))+";":je+xe(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return xr(n.props,/grid-\w+-start/)})?e:je+xe(xe(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return xe(e,/(.+)-inline(.+)/,Le+"$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(Gt(e)-1-t>6)switch(it(e,t+1)){case 109:if(it(e,t+4)!==45)break;case 102:return xe(e,/(.+:)(.+)-([^]+)/,"$1"+Le+"$2-$3$1"+Na+(it(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~$i(e,"stretch",0)?zh(xe(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return xe(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,s,u,o,l){return je+a+":"+i+l+(s?je+a+"-span:"+(u?o:+o-+i)+l:"")+e});case 4949:if(it(e,t+6)===121)return xe(e,":",":"+Le)+e;break;case 6444:switch(it(e,it(e,14)===45?18:11)){case 120:return xe(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Le+(it(e,14)===45?"inline-":"")+"box$3$1"+Le+"$2$3$1"+je+"$2box$3")+e;case 100:return xe(e,":",":"+je)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return xe(e,"scroll-","scroll-snap-")+e}return e}function is(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function s6(e,t,r,n){switch(e.type){case W3:if(e.children.length)break;case Y3:case V3:case bo:return e.return=e.return||e.value;case Lh:return"";case Dh:return e.return=e.value+"{"+is(e.children,n)+"}";case _s:if(!Gt(e.value=e.props.join(",")))return""}return Gt(r=is(e.children,n))?e.return=e.value+"{"+r+"}":""}function u6(e){var t=Fh(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 o6(e){return function(t){t.root||(t=t.return)&&e(t)}}function l6(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case bo:e.return=zh(e.value,e.length,r);return;case Dh:return is([Fr(e,{value:xe(e.value,"@","@"+Le)})],n);case _s:if(e.length)return X3(r=e.props,function(a){switch(xr(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":On(Fr(e,{props:[xe(a,/:(read-\w+)/,":"+Na+"$1")]})),On(Fr(e,{props:[a]})),cu(e,{props:Ql(r,n)});break;case"::placeholder":On(Fr(e,{props:[xe(a,/:(plac\w+)/,":"+Le+"input-$1")]})),On(Fr(e,{props:[xe(a,/:(plac\w+)/,":"+Na+"$1")]})),On(Fr(e,{props:[xe(a,/:(plac\w+)/,je+"input-$1")]})),On(Fr(e,{props:[a]})),cu(e,{props:Ql(r,n)});break}return""})}}var c6={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},$n=typeof process!="undefined"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",Hh="active",Uh="data-styled-version",Ls="6.3.8",Eo=`/*!sc*/
|
|
9
|
+
`,ss=typeof window!="undefined"&&typeof document!="undefined",Yn=ue.createContext===void 0,f6=!!(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),Ds=Object.freeze([]),Vn=Object.freeze({});function h6(e,t,r){return r===void 0&&(r=Vn),e.theme!==r.theme&&e.theme||t||r.theme}var jh=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"]),d6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,m6=/(^-|-$)/g;function ec(e){return e.replace(d6,"-").replace(m6,"")}var p6=/(a)(d)/gi,tc=function(e){return String.fromCharCode(e+(e>25?39:97))};function hu(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=tc(t%52)+r;return(tc(t%52)+r).replace(p6,"$1-$2")}var m0,Mn=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},qh=function(e){return Mn(5381,e)};function g6(e){return hu(qh(e)>>>0)}function b6(e){return e.displayName||e.name||"Component"}function p0(e){return typeof e=="string"&&!0}var $h=typeof Symbol=="function"&&Symbol.for,Yh=$h?Symbol.for("react.memo"):60115,y6=$h?Symbol.for("react.forward_ref"):60112,E6={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},x6={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},Vh={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},T6=((m0={})[y6]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},m0[Yh]=Vh,m0);function rc(e){return("type"in(t=e)&&t.type.$$typeof)===Yh?Vh:"$$typeof"in e?T6[e.$$typeof]:E6;var t}var v6=Object.defineProperty,A6=Object.getOwnPropertyNames,nc=Object.getOwnPropertySymbols,S6=Object.getOwnPropertyDescriptor,w6=Object.getPrototypeOf,ac=Object.prototype;function Wh(e,t,r){if(typeof t!="string"){if(ac){var n=w6(t);n&&n!==ac&&Wh(e,n,r)}var a=A6(t);nc&&(a=a.concat(nc(t)));for(var i=rc(e),s=rc(t),u=0;u<a.length;++u){var o=a[u];if(!(o in x6||r&&r[o]||s&&o in s||i&&o in i)){var l=S6(t,o);try{v6(e,o,l)}catch(c){}}}}return e}function Wn(e){return typeof e=="function"}function xo(e){return typeof e=="object"&&"styledComponentId"in e}function fn(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ic(e,t){if(e.length===0)return"";for(var r=e[0],n=1;n<e.length;n++)r+=e[n];return r}function qa(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&&!qa(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(qa(t))for(var n in t)e[n]=du(e[n],t[n]);return e}function To(e,t){Object.defineProperty(e,"toString",{value:t})}function ni(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 k6=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t}return e.prototype.indexOfGroup=function(t){for(var r=0,n=0;n<t;n++)r+=this.groupSizes[n];return 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 ni(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=(s=0,r.length);s<o;s++)this.tag.insertRule(u,r[s])&&(this.groupSizes[t]++,u++)},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)}},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+="".concat(this.tag.getRule(s)).concat(Eo);return r},e}(),Wi=new Map,us=new Map,Gi=1,wa=function(e){if(Wi.has(e))return Wi.get(e);for(;us.has(Gi);)Gi++;var t=Gi++;return Wi.set(e,t),us.set(t,e),t},C6=function(e,t){Gi=t+1,Wi.set(e,t),us.set(t,e)},I6="style[".concat($n,"][").concat(Uh,'="').concat(Ls,'"]'),_6=new RegExp("^".concat($n,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),N6=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)},O6=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(Eo),a=[],i=0,s=n.length;i<s;i++){var u=n[i].trim();if(u){var o=u.match(_6);if(o){var l=0|parseInt(o[1],10),c=o[2];l!==0&&(C6(c,l),N6(e,c,o[3]),e.getTag().insertRules(l,a)),a.length=0}else a.push(u)}}},sc=function(e){for(var t=document.querySelectorAll(I6),r=0,n=t.length;r<n;r++){var a=t[r];a&&a.getAttribute($n)!==Hh&&(O6(e,a),a.parentNode&&a.parentNode.removeChild(a))}};function R6(){return typeof __webpack_nonce__!="undefined"?__webpack_nonce__:null}var Gh=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(u){var o=Array.from(u.querySelectorAll("style[".concat($n,"]")));return o[o.length-1]}(r),i=a!==void 0?a.nextSibling:null;n.setAttribute($n,Hh),n.setAttribute(Uh,Ls);var s=R6();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},L6=function(){function e(t){this.element=Gh(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){if(r.sheet)return r.sheet;for(var n=document.styleSheets,a=0,i=n.length;a<i;a++){var s=n[a];if(s.ownerNode===r)return s}throw ni(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}(),D6=function(){function e(t){this.element=Gh(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}(),M6=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(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}(),uc=ss,P6={isServer:!ss,useCSSOMInjection:!f6},Xh=function(){function e(t,r,n){t===void 0&&(t=Vn),r===void 0&&(r={});var a=this;this.options=kt(kt({},P6),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&ss&&uc&&(uc=!1,sc(this)),To(this,function(){return function(i){for(var s=i.getTag(),u=s.length,o="",l=function(f){var p=function(T){return us.get(T)}(f);if(p===void 0)return"continue";var m=i.names.get(p),b=s.getGroup(f);if(m===void 0||!m.size||b.length===0)return"continue";var y="".concat($n,".g").concat(f,'[id="').concat(p,'"]'),v="";m!==void 0&&m.forEach(function(T){T.length>0&&(v+="".concat(T,","))}),o+="".concat(b).concat(y,'{content:"').concat(v,'"}').concat(Eo)},c=0;c<u;c++)l(c);return o}(a)})}return e.registerId=function(t){return wa(t)},e.prototype.rehydrate=function(){!this.server&&ss&&sc(this)},e.prototype.reconstructWithOptions=function(t,r){return r===void 0&&(r=!0),new e(kt(kt({},this.options),t),this.gs,r&&this.names||void 0)},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 M6(a):n?new L6(a):new D6(a)}(this.options),new k6(t)));var t},e.prototype.hasNameForId=function(t,r){return this.names.has(t)&&this.names.get(t).has(r)},e.prototype.registerName=function(t,r){if(wa(t),this.names.has(t))this.names.get(t).add(r);else{var n=new Set;n.add(r),this.names.set(t,n)}},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(wa(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(wa(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}(),F6=/&/g,Pn=47;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!==Pn||e.charCodeAt(i+1)!==42)if(a)s===42&&e.charCodeAt(i+1)===Pn&&(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 Kh(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=Kh(r.children,t)),r})}function B6(e){var t,r,n,a=Vn,i=a.options,s=i===void 0?Vn:i,u=a.plugins,o=u===void 0?Ds:u,l=function(p,m,b){return b.startsWith(r)&&b.endsWith(r)&&b.replaceAll(r,"").length>0?".".concat(t):p},c=o.slice();c.push(function(p){p.type===_s&&p.value.includes("&")&&(p.props[0]=p.props[0].replace(F6,r).replace(n,l))}),s.prefix&&c.push(l6),c.push(s6);var f=function(p,m,b,y){m===void 0&&(m=""),b===void 0&&(b=""),y===void 0&&(y="&"),t=y,r=m,n=new RegExp("\\".concat(r,"\\b"),"g");var v=function(A){if(!oc(A))return A;for(var P=A.length,B="",O=0,F=0,$=0,j=!1,D=0;D<P;D++){var X=A.charCodeAt(D);if($!==0||j||X!==Pn||A.charCodeAt(D+1)!==42)if(j)X===42&&A.charCodeAt(D+1)===Pn&&(j=!1,D++);else if(X!==34&&X!==39||D!==0&&A.charCodeAt(D-1)===92){if($===0)if(X===123)F++;else if(X===125){if(--F<0){for(var G=D+1;G<P;){var ce=A.charCodeAt(G);if(ce===59||ce===10)break;G++}G<P&&A.charCodeAt(G)===59&&G++,F=0,D=G-1,O=G;continue}F===0&&(B+=A.substring(O,D+1),O=D+1)}else X===59&&F===0&&(B+=A.substring(O,D+1),O=D+1)}else $===0?$=X:$===X&&($=0);else j=!0,D++}if(O<P){var de=A.substring(O);oc(de)||(B+=de)}return B}(function(A){if(A.indexOf("//")===-1)return A;for(var P=A.length,B=[],O=0,F=0,$=0,j=0;F<P;){var D=A.charCodeAt(F);if(D!==34&&D!==39||F!==0&&A.charCodeAt(F-1)===92)if($===0)if(D===40&&F>=3&&(32|A.charCodeAt(F-1))==108&&(32|A.charCodeAt(F-2))==114&&(32|A.charCodeAt(F-3))==117)j=1,F++;else if(j>0)D===41?j--:D===40&&j++,F++;else if(D===Pn&&F+1<P&&A.charCodeAt(F+1)===Pn){for(F>O&&B.push(A.substring(O,F));F<P&&A.charCodeAt(F)!==10;)F++;O=F}else F++;else F++;else $===0?$=D:$===D&&($=0),F++}return O===0?A:(O<P&&B.push(A.substring(O)),B.join(""))}(p)),T=a6(b||m?"".concat(b," ").concat(m," { ").concat(v," }"):v);s.namespace&&(T=Kh(T,s.namespace));var w=[];return is(T,u6(c.concat(o6(function(A){return w.push(A)})))),w};return f.hash=o.length?o.reduce(function(p,m){return m.name||ni(15),Mn(p,m.name)},5381).toString():"",f}var z6=new Xh,mu=B6(),pu={shouldForwardProp:void 0,styleSheet:z6,stylis:mu},Qh=Yn?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(pu)}}:ue.createContext(pu);Qh.Consumer;Yn||ue.createContext(void 0);function lc(){return Yn?pu:ue.useContext(Qh)}var H6=function(){function e(t,r){var n=this;this.inject=function(a,i){i===void 0&&(i=mu);var s=n.name+i.hash;a.hasNameForId(n.id,s)||a.insertRules(n.id,s,i(n.rules,s,"@keyframes"))},this.name=t,this.id="sc-keyframes-".concat(t),this.rules=r,To(this,function(){throw ni(12,String(n.name))})}return e.prototype.getName=function(t){return t===void 0&&(t=mu),this.name+t.hash},e}();function U6(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in c6||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var j6=function(e){return e>="A"&&e<="Z"};function cc(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;j6(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var Jh=function(e){return e==null||e===!1||e===""},Zh=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!Jh(n)&&(Array.isArray(n)&&n.isCss||Wn(n)?t.push("".concat(cc(r),":"),n,";"):qa(n)?t.push.apply(t,as(as(["".concat(r," {")],Zh(n),!1),["}"],!1)):t.push("".concat(cc(r),": ").concat(U6(r,n),";")))}return t};function mn(e,t,r,n){if(Jh(e))return[];if(xo(e))return[".".concat(e.styledComponentId)];if(Wn(e)){if(!Wn(i=e)||i.prototype&&i.prototype.isReactComponent||!t)return[e];var a=e(t);return mn(a,t,r,n)}var i;return e instanceof H6?r?(e.inject(r,n),[e.getName(n)]):[e]:qa(e)?Zh(e):Array.isArray(e)?Array.prototype.concat.apply(Ds,e.map(function(s){return mn(s,t,r,n)})):[e.toString()]}function q6(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(Wn(r)&&!xo(r))return!1}return!0}var $6=qh(Ls),Y6=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=(n===void 0||n.isStatic)&&q6(t),this.componentId=r,this.baseHash=Mn($6,r),this.baseStyle=n,Xh.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=fn(a,this.staticRulesId);else{var i=ic(mn(this.rules,t,r,n)),s=hu(Mn(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=fn(a,s),this.staticRulesId=s}else{for(var o=Mn(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=ic(mn(f,t,r,n));o=Mn(o,p+c),l+=p}}if(l){var m=hu(o>>>0);if(!r.hasNameForId(this.componentId,m)){var b=n(l,".".concat(m),void 0,this.componentId);r.insertRules(this.componentId,m,b)}a=fn(a,m)}}return{className:a,css:typeof window=="undefined"?r.getTag().getGroup(wa(this.componentId)):""}},e}(),ed=Yn?{Provider:function(e){return e.children},Consumer:function(e){return(0,e.children)(void 0)}}:ue.createContext(void 0);ed.Consumer;var g0={};function V6(e,t,r){var n=xo(e),a=e,i=!p0(e),s=t.attrs,u=s===void 0?Ds:s,o=t.componentId,l=o===void 0?function(P,B){var O=typeof P!="string"?"sc":ec(P);g0[O]=(g0[O]||0)+1;var F="".concat(O,"-").concat(g6(Ls+O+g0[O]));return B?"".concat(B,"-").concat(F):F}(t.displayName,t.parentComponentId):o,c=t.displayName,f=c===void 0?function(P){return p0(P)?"styled.".concat(P):"Styled(".concat(b6(P),")")}(e):c,p=t.displayName&&t.componentId?"".concat(ec(t.displayName),"-").concat(t.componentId):t.componentId||l,m=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 v=t.shouldForwardProp;b=function(P,B){return y(P,B)&&v(P,B)}}else b=y}var T=new Y6(r,p,n?a.componentStyle:void 0);function w(P,B){return function(O,F,$){var j=O.attrs,D=O.componentStyle,X=O.defaultProps,G=O.foldedComponentIds,ce=O.styledComponentId,de=O.target,me=Yn?void 0:ue.useContext(ed),ve=lc(),Re=O.shouldForwardProp||ve.shouldForwardProp,De=h6(F,me,X)||Vn,Be=function(tt,ut,ft){for(var zt,Ot=kt(kt({},ut),{className:void 0,theme:ft}),Zr=0;Zr<tt.length;Zr+=1){var tr=Wn(zt=tt[Zr])?zt(Ot):zt;for(var Ht in tr)Ht==="className"?Ot.className=fn(Ot.className,tr[Ht]):Ht==="style"?Ot.style=kt(kt({},Ot.style),tr[Ht]):Ot[Ht]=tr[Ht]}return"className"in ut&&typeof ut.className=="string"&&(Ot.className=fn(Ot.className,ut.className)),Ot}(j,F,De),N=Be.as||de,Ce={};for(var Ae in Be)Be[Ae]===void 0||Ae[0]==="$"||Ae==="as"||Ae==="theme"&&Be.theme===De||(Ae==="forwardedAs"?Ce.as=Be.forwardedAs:Re&&!Re(Ae,N)||(Ce[Ae]=Be[Ae]));var L=function(tt,ut){var ft=lc(),zt=tt.generateAndInjectStyles(ut,ft.styleSheet,ft.stylis);return zt}(D,Be),$e=L.className,et=L.css,Ye=fn(G,ce);$e&&(Ye+=" "+$e),Be.className&&(Ye+=" "+Be.className),Ce[p0(N)&&!jh.has(N)?"class":"className"]=Ye,$&&(Ce.ref=$);var bt=ue.createElement(N,Ce);return Yn&&et?ue.createElement(ue.Fragment,null,ue.createElement("style",{precedence:"styled-components",href:"sc-".concat(ce,"-").concat($e),children:et}),bt):bt}(A,P,B)}w.displayName=f;var A=ue.forwardRef(w);return A.attrs=m,A.componentStyle=T,A.displayName=f,A.shouldForwardProp=b,A.foldedComponentIds=n?fn(a.foldedComponentIds,a.styledComponentId):"",A.styledComponentId=p,A.target=n?a.target:e,Object.defineProperty(A,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(P){this._foldedDefaultProps=n?function(B){for(var O=[],F=1;F<arguments.length;F++)O[F-1]=arguments[F];for(var $=0,j=O;$<j.length;$++)du(B,j[$],!0);return B}({},a.defaultProps,P):P}}),To(A,function(){return".".concat(A.styledComponentId)}),i&&Wh(A,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),A}function fc(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 hc=function(e){return Object.assign(e,{isCss:!0})};function W6(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(Wn(e)||qa(e))return hc(mn(fc(Ds,as([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?mn(n):hc(mn(fc(n,t)))}function gu(e,t,r){if(r===void 0&&(r=Vn),!t)throw ni(1,t);var n=function(a){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,W6.apply(void 0,as([a],i,!1)))};return n.attrs=function(a){return gu(e,t,kt(kt({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},n.withConfig=function(a){return gu(e,t,kt(kt({},r),a))},n}var td=function(e){return gu(V6,e)},ae=td;jh.forEach(function(e){ae[e]=td(e)});function dc(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 rd(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const G6=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,X6=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,K6={};function mc(e,t){return(K6.jsx?X6:G6).test(e)}const Q6=/[ \t\n\f\r]/g;function J6(e){return typeof e=="object"?e.type==="text"?pc(e.value):!1:pc(e)}function pc(e){return e.replace(Q6,"")===""}class ai{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}ai.prototype.normal={};ai.prototype.property={};ai.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 ai(r,n,t)}function $a(e){return e.toLowerCase()}class _t{constructor(t,r){this.attribute=r,this.property=t}}_t.prototype.attribute="";_t.prototype.booleanish=!1;_t.prototype.boolean=!1;_t.prototype.commaOrSpaceSeparated=!1;_t.prototype.commaSeparated=!1;_t.prototype.defined=!1;_t.prototype.mustUseProperty=!1;_t.prototype.number=!1;_t.prototype.overloadedBoolean=!1;_t.prototype.property="";_t.prototype.spaceSeparated=!1;_t.prototype.space=void 0;let Z6=0;const ye=vn(),rt=vn(),bu=vn(),ee=vn(),He=vn(),zn=vn(),Lt=vn();function vn(){return Ll(2,++Z6)}const yu=Object.freeze(Object.defineProperty({__proto__:null,boolean:ye,booleanish:rt,commaOrSpaceSeparated:Lt,commaSeparated:zn,number:ee,overloadedBoolean:bu,spaceSeparated:He},Symbol.toStringTag,{value:"Module"})),b0=Object.keys(yu);class vo extends _t{constructor(t,r,n,a){let i=-1;if(super(t,r),gc(this,"space",a),typeof n=="number")for(;++i<b0.length;){const s=b0[i];gc(this,b0[i],(n&yu[s])===yu[s])}}}vo.prototype.defined=!0;function gc(e,t,r){r&&(e[t]=r)}function aa(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const i=new vo(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(i.mustUseProperty=!0),t[n]=i,r[$a(n)]=n,r[$a(i.attribute)]=n}return new ai(t,r,e.space)}const ad=aa({properties:{ariaActiveDescendant:null,ariaAtomic:rt,ariaAutoComplete:null,ariaBusy:rt,ariaChecked:rt,ariaColCount:ee,ariaColIndex:ee,ariaColSpan:ee,ariaControls:He,ariaCurrent:null,ariaDescribedBy:He,ariaDetails:null,ariaDisabled:rt,ariaDropEffect:He,ariaErrorMessage:null,ariaExpanded:rt,ariaFlowTo:He,ariaGrabbed:rt,ariaHasPopup:null,ariaHidden:rt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:He,ariaLevel:ee,ariaLive:null,ariaModal:rt,ariaMultiLine:rt,ariaMultiSelectable:rt,ariaOrientation:null,ariaOwns:He,ariaPlaceholder:null,ariaPosInSet:ee,ariaPressed:rt,ariaReadOnly:rt,ariaRelevant:null,ariaRequired:rt,ariaRoleDescription:He,ariaRowCount:ee,ariaRowIndex:ee,ariaRowSpan:ee,ariaSelected:rt,ariaSetSize:ee,ariaSort:null,ariaValueMax:ee,ariaValueMin:ee,ariaValueNow:ee,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function id(e,t){return t in e?e[t]:t}function sd(e,t){return id(e,t.toLowerCase())}const e5=aa({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:zn,acceptCharset:He,accessKey:He,action:null,allow:null,allowFullScreen:ye,allowPaymentRequest:ye,allowUserMedia:ye,alt:null,as:null,async:ye,autoCapitalize:null,autoComplete:He,autoFocus:ye,autoPlay:ye,blocking:He,capture:null,charSet:null,checked:ye,cite:null,className:He,cols:ee,colSpan:null,content:null,contentEditable:rt,controls:ye,controlsList:He,coords:ee|zn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ye,defer:ye,dir:null,dirName:null,disabled:ye,download:bu,draggable:rt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ye,formTarget:null,headers:He,height:ee,hidden:bu,high:ee,href:null,hrefLang:null,htmlFor:He,httpEquiv:He,id:null,imageSizes:null,imageSrcSet:null,inert:ye,inputMode:null,integrity:null,is:null,isMap:ye,itemId:null,itemProp:He,itemRef:He,itemScope:ye,itemType:He,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ye,low:ee,manifest:null,max:null,maxLength:ee,media:null,method:null,min:null,minLength:ee,multiple:ye,muted:ye,name:null,nonce:null,noModule:ye,noValidate:ye,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:ye,optimum:ee,pattern:null,ping:He,placeholder:null,playsInline:ye,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ye,referrerPolicy:null,rel:He,required:ye,reversed:ye,rows:ee,rowSpan:ee,sandbox:He,scope:null,scoped:ye,seamless:ye,selected:ye,shadowRootClonable:ye,shadowRootDelegatesFocus:ye,shadowRootMode:null,shape:null,size:ee,sizes:null,slot:null,span:ee,spellCheck:rt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ee,step:null,style:null,tabIndex:ee,target:null,title:null,translate:null,type:null,typeMustMatch:ye,useMap:null,value:rt,width:ee,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:He,axis:null,background:null,bgColor:null,border:ee,borderColor:null,bottomMargin:ee,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ye,declare:ye,event:null,face:null,frame:null,frameBorder:null,hSpace:ee,leftMargin:ee,link:null,longDesc:null,lowSrc:null,marginHeight:ee,marginWidth:ee,noResize:ye,noHref:ye,noShade:ye,noWrap:ye,object:null,profile:null,prompt:null,rev:null,rightMargin:ee,rules:null,scheme:null,scrolling:rt,standby:null,summary:null,text:null,topMargin:ee,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ee,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ye,disableRemotePlayback:ye,prefix:null,property:null,results:ee,security:null,unselectable:null},space:"html",transform:sd}),t5=aa({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:ee,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ee,amplitude:ee,arabicForm:null,ascent:ee,attributeName:null,attributeType:null,azimuth:ee,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ee,by:null,calcMode:null,capHeight:ee,className:He,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:ee,diffuseConstant:ee,direction:null,display:null,dur:null,divisor:ee,dominantBaseline:null,download:ye,dx:null,dy:null,edgeMode:null,editable:null,elevation:ee,enableBackground:null,end:null,event:null,exponent:ee,externalResourcesRequired:null,fill:null,fillOpacity:ee,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:zn,g2:zn,glyphName:zn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ee,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ee,horizOriginX:ee,horizOriginY:ee,id:null,ideographic:ee,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ee,k:ee,k1:ee,k2:ee,k3:ee,k4:ee,kernelMatrix:Lt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ee,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:ee,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:ee,overlineThickness:ee,paintOrder:null,panose1:null,path:null,pathLength:ee,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:He,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ee,pointsAtY:ee,pointsAtZ:ee,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:ee,specularExponent:ee,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ee,strikethroughThickness:ee,string:null,stroke:null,strokeDashArray:Lt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ee,strokeOpacity:ee,strokeWidth:null,style:null,surfaceScale:ee,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Lt,tabIndex:ee,tableValues:null,target:null,targetX:ee,targetY:ee,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:ee,underlineThickness:ee,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ee,values:null,vAlphabetic:ee,vMathematical:ee,vectorEffect:null,vHanging:ee,vIdeographic:ee,version:null,vertAdvY:ee,vertOriginX:ee,vertOriginY:ee,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ee,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:id}),ud=aa({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()}}),od=aa({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:sd}),ld=aa({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),r5={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"},n5=/[A-Z]/g,bc=/-[a-z]/g,a5=/^data[-\w.:]+$/i;function Ms(e,t){const r=$a(t);let n=t,a=_t;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&a5.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(bc,s5);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!bc.test(i)){let s=i.replace(n5,i5);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=vo}return new a(n,t)}function i5(e){return"-"+e.toLowerCase()}function s5(e){return e.charAt(1).toUpperCase()}const ii=nd([ad,e5,ud,od,ld],"html"),Kr=nd([ad,t5,ud,od,ld],"svg");function yc(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function cd(e){return e.join(" ").trim()}var os=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Ao(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var So={},Ec=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,u5=/\n/g,o5=/^\s*/,l5=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,c5=/^:\s*/,f5=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,h5=/^[;\s]*/,d5=/^\s+|\s+$/g,m5=`
|
|
10
|
+
`,xc="/",Tc="*",ln="",p5="comment",g5="declaration";function b5(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(u5);y&&(r+=y.length);var v=b.lastIndexOf(m5);n=~v?b.length-v: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 v=y[0];return a(v),e=e.slice(v.length),y}}function l(){o(o5)}function c(b){var y;for(b=b||[];y=f();)y!==!1&&b.push(y);return b}function f(){var b=i();if(!(xc!=e.charAt(0)||Tc!=e.charAt(1))){for(var y=2;ln!=e.charAt(y)&&(Tc!=e.charAt(y)||xc!=e.charAt(y+1));)++y;if(y+=2,ln===e.charAt(y-1))return u("End of comment missing");var v=e.slice(2,y-2);return n+=2,a(v),e=e.slice(y),n+=2,b({type:p5,comment:v})}}function p(){var b=i(),y=o(l5);if(y){if(f(),!o(c5))return u("property missing ':'");var v=o(f5),T=b({type:g5,property:vc(y[0].replace(Ec,ln)),value:v?vc(v[0].replace(Ec,ln)):ln});return o(h5),T}}function m(){var b=[];c(b);for(var y;y=p();)y!==!1&&(b.push(y),c(b));return b}return l(),m()}function vc(e){return e?e.replace(d5,ln):ln}var y5=b5,E5=os&&os.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(So,"__esModule",{value:!0});So.default=T5;const x5=E5(y5);function T5(e,t){let r=null;if(!e||typeof e!="string")return r;const n=(0,x5.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 Ps={};Object.defineProperty(Ps,"__esModule",{value:!0});Ps.camelCase=void 0;var v5=/^--[a-zA-Z0-9_-]+$/,A5=/-([a-z])/g,S5=/^[^-]+$/,w5=/^-(webkit|moz|ms|o|khtml)-/,k5=/^-(ms)-/,C5=function(e){return!e||S5.test(e)||v5.test(e)},I5=function(e,t){return t.toUpperCase()},Ac=function(e,t){return"".concat(t,"-")},_5=function(e,t){return t===void 0&&(t={}),C5(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(k5,Ac):e=e.replace(w5,Ac),e.replace(A5,I5))};Ps.camelCase=_5;var N5=os&&os.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},O5=N5(So),R5=Ps;function Eu(e,t){var r={};return!e||typeof e!="string"||(0,O5.default)(e,function(n,a){n&&a&&(r[(0,R5.camelCase)(n,t)]=a)}),r}Eu.default=Eu;var L5=Eu;const D5=Ao(L5),Fs=fd("end"),hr=fd("start");function fd(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 M5(e){const t=hr(e),r=Fs(e);if(t&&r)return{start:t,end:r}}function Oa(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Sc(e.position):"start"in e||"end"in e?Sc(e):"line"in e||"column"in e?xu(e):""}function xu(e){return wc(e&&e.line)+":"+wc(e&&e.column)}function Sc(e){return xu(e&&e.start)+"-"+xu(e&&e.end)}function wc(e){return e&&typeof e=="number"?e:1}class pt 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=te({},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=Oa(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}}pt.prototype.file="";pt.prototype.name="";pt.prototype.reason="";pt.prototype.message="";pt.prototype.stack="";pt.prototype.column=void 0;pt.prototype.line=void 0;pt.prototype.ancestors=void 0;pt.prototype.cause=void 0;pt.prototype.fatal=void 0;pt.prototype.place=void 0;pt.prototype.ruleId=void 0;pt.prototype.source=void 0;const wo={}.hasOwnProperty,P5=new Map,F5=/[A-Z]/g,B5=new Set(["table","tbody","thead","tfoot","tr"]),z5=new Set(["td","th"]),hd="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function H5(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=G5(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=W5(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"?Kr:ii,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},i=dd(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function dd(e,t,r){if(t.type==="element")return U5(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return j5(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return $5(e,t,r);if(t.type==="mdxjsEsm")return q5(e,t);if(t.type==="root")return Y5(e,t,r);if(t.type==="text")return V5(e,t)}function U5(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=Kr,e.schema=a),e.ancestors.push(t);const i=pd(e,t.tagName,!1),s=X5(e,t);let u=Co(e,t);return B5.has(t.tagName)&&(u=u.filter(function(o){return typeof o=="string"?!J6(o):!0})),md(e,s,i,t),ko(s,u),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function j5(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)}Ya(e,t.position)}function q5(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ya(e,t.position)}function $5(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=Kr,e.schema=a),e.ancestors.push(t);const i=t.name===null?e.Fragment:pd(e,t.name,!0),s=K5(e,t),u=Co(e,t);return md(e,s,i,t),ko(s,u),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Y5(e,t,r){const n={};return ko(n,Co(e,t)),e.create(t,e.Fragment,n,r)}function V5(e,t){return t.value}function md(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function ko(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function W5(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 G5(e,t){return r;function r(n,a,i,s){const u=Array.isArray(i.children),o=hr(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 X5(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&wo.call(t.properties,a)){const i=Q5(e,a,t.properties[a]);if(i){const[s,u]=i;e.tableCellAlignToStyle&&s==="align"&&typeof u=="string"&&z5.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 K5(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 Ya(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 Ya(e,t.position);else i=n.value===null?!0:n.value;r[a]=i}return r}function Co(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:P5;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=dd(e,i,s);u!==void 0&&r.push(u)}return r}function Q5(e,t,r){const n=Ms(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?rd(r):cd(r)),n.property==="style"){let a=typeof r=="object"?r:J5(e,String(r));return e.stylePropertyNameCase==="css"&&(a=Z5(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?r5[n.property]||n.property:n.attribute,r]}}function J5(e,t){try{return D5(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new pt("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=hd+"#cannot-parse-style-attribute",a}}function pd(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=mc(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=mc(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return wo.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);Ya(e)}function Ya(e,t){const r=new pt("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=hd+"#cannot-handle-mdx-estrees-without-createevaluater",r}function Z5(e){const t={};let r;for(r in e)wo.call(e,r)&&(t[eg(r)]=e[r]);return t}function eg(e){let t=e.replace(F5,tg);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function tg(e){return"-"+e.toLowerCase()}const y0={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"]},rg={};function Io(e,t){const r=rg,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return gd(e,n,a)}function gd(e,t,r){if(ng(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return kc(e.children,t,r)}return Array.isArray(e)?kc(e,t,r):""}function kc(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=gd(e[a],t,r);return n.join("")}function ng(e){return!!(e&&typeof e=="object")}const Cc=document.createElement("i");function _o(e){const t="&"+e+";";Cc.innerHTML=t;const r=Cc.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 Ut(e,t){return e.length>0?(Mt(e,e.length,0,t),e):t}const Ic={}.hasOwnProperty;function bd(e){const t={};let r=-1;for(;++r<e.length;)ag(t,e[r]);return t}function ag(e,t){let r;for(r in t){const a=(Ic.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let s;if(i)for(s in i){Ic.call(a,s)||(a[s]=[]);const u=i[s];ig(a[s],Array.isArray(u)?u:u?[u]:[])}}}function ig(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 Jt(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Et=Qr(/[A-Za-z]/),dt=Qr(/[\dA-Za-z]/),sg=Qr(/[#-'*+\--9=?A-Z^-~]/);function ls(e){return e!==null&&(e<32||e===127)}const Tu=Qr(/\d/),ug=Qr(/[\dA-Fa-f]/),og=Qr(/[!-/:-@[-`{-~]/);function oe(e){return e!==null&&e<-2}function Pe(e){return e!==null&&(e<0||e===32)}function ke(e){return e===-2||e===-1||e===32}const Bs=Qr(new RegExp("\\p{P}|\\p{S}","u")),yn=Qr(/\s/);function Qr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function ia(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let s="";if(i===37&&dt(e.charCodeAt(r+1))&&dt(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 we(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(o){return ke(o)?(e.enter(r),u(o)):t(o)}function u(o){return ke(o)&&i++<a?(e.consume(o),u):(e.exit(r),t(o))}}const lg={tokenize:cg};function cg(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"),we(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 oe(u)?(e.consume(u),e.exit("chunkText"),i):(e.consume(u),s)}}const fg={tokenize:hg},_c={tokenize:dg};function hg(e){const t=this,r=[];let n=0,a,i,s;return u;function u(A){if(n<r.length){const P=r[n];return t.containerState=P[1],e.attempt(P[0].continuation,o,l)(A)}return l(A)}function o(A){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&w();const P=t.events.length;let B=P,O;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){O=t.events[B][1].end;break}T(n);let F=P;for(;F<t.events.length;)t.events[F][1].end=te({},O),F++;return Mt(t.events,B+1,0,t.events.slice(P)),t.events.length=F,l(A)}return u(A)}function l(A){if(n===r.length){if(!a)return p(A);if(a.currentConstruct&&a.currentConstruct.concrete)return b(A);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(_c,c,f)(A)}function c(A){return a&&w(),T(n),p(A)}function f(A){return t.parser.lazy[t.now().line]=n!==r.length,s=t.now().offset,b(A)}function p(A){return t.containerState={},e.attempt(_c,m,b)(A)}function m(A){return n++,r.push([t.currentConstruct,t.containerState]),p(A)}function b(A){if(A===null){a&&w(),T(0),e.consume(A);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:i}),y(A)}function y(A){if(A===null){v(e.exit("chunkFlow"),!0),T(0),e.consume(A);return}return oe(A)?(e.consume(A),v(e.exit("chunkFlow")),n=0,t.interrupt=void 0,u):(e.consume(A),y)}function v(A,P){const B=t.sliceStream(A);if(P&&B.push(null),A.previous=i,i&&(i.next=A),i=A,a.defineSkip(A.start),a.write(B),t.parser.lazy[A.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 F=t.events.length;let $=F,j,D;for(;$--;)if(t.events[$][0]==="exit"&&t.events[$][1].type==="chunkFlow"){if(j){D=t.events[$][1].end;break}j=!0}for(T(n),O=F;O<t.events.length;)t.events[O][1].end=te({},D),O++;Mt(t.events,$+1,0,t.events.slice(F)),t.events.length=O}}function T(A){let P=r.length;for(;P-- >A;){const B=r[P];t.containerState=B[1],B[0].exit.call(t,e)}r.length=A}function w(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function dg(e,t,r){return we(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function Gn(e){if(e===null||Pe(e)||yn(e))return 1;if(Bs(e))return 2}function zs(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 vu={name:"attention",resolveAll:mg,tokenize:pg};function mg(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=te({},e[n][1].end),p=te({},e[r][1].start);Nc(f,-o),Nc(p,o),s={type:o>1?"strongSequence":"emphasisSequence",start:f,end:te({},e[n][1].end)},u={type:o>1?"strongSequence":"emphasisSequence",start:te({},e[r][1].start),end:p},i={type:o>1?"strongText":"emphasisText",start:te({},e[n][1].end),end:te({},e[r][1].start)},a={type:o>1?"strong":"emphasis",start:te({},s.start),end:te({},u.end)},e[n][1].end=te({},s.start),e[r][1].start=te({},u.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=Ut(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=Ut(l,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),l=Ut(l,zs(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=Ut(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=Ut(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 pg(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=Gn(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=Gn(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 Nc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const gg={name:"autolink",tokenize:bg};function bg(e,t,r){let n=0;return a;function a(m){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i}function i(m){return Et(m)?(e.consume(m),s):m===64?r(m):l(m)}function s(m){return m===43||m===45||m===46||dt(m)?(n=1,u(m)):l(m)}function u(m){return m===58?(e.consume(m),n=0,o):(m===43||m===45||m===46||dt(m))&&n++<32?(e.consume(m),u):(n=0,l(m))}function o(m){return m===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):m===null||m===32||m===60||ls(m)?r(m):(e.consume(m),o)}function l(m){return m===64?(e.consume(m),c):sg(m)?(e.consume(m),l):r(m)}function c(m){return dt(m)?f(m):r(m)}function f(m){return m===46?(e.consume(m),n=0,c):m===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(m),e.exit("autolinkMarker"),e.exit("autolink"),t):p(m)}function p(m){if((m===45||dt(m))&&n++<63){const b=m===45?p:f;return e.consume(m),b}return r(m)}}const si={partial:!0,tokenize:yg};function yg(e,t,r){return n;function n(i){return ke(i)?we(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||oe(i)?t(i):r(i)}}const Ed={continuation:{tokenize:xg},exit:Tg,name:"blockQuote",tokenize:Eg};function Eg(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 ke(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function xg(e,t,r){const n=this;return a;function a(s){return ke(s)?we(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(Ed,t,r)(s)}}function Tg(e){e.exit("blockQuote")}const xd={name:"characterEscape",tokenize:vg};function vg(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 og(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const Td={name:"characterReference",tokenize:Ag};function Ag(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=dt,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=ug,c):(e.enter("characterReferenceValue"),i=7,s=Tu,c(f))}function c(f){if(f===59&&a){const p=e.exit("characterReferenceValue");return s===dt&&!_o(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 Oc={partial:!0,tokenize:wg},Rc={concrete:!0,name:"codeFenced",tokenize:Sg};function Sg(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 F=n.events[n.events.length-1];return i=F&&F[1].type==="linePrefix"?F[2].sliceSerialize(F[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"),ke(O)?we(e,f,"whitespace")(O):f(O))}function f(O){return O===null||oe(O)?(e.exit("codeFencedFence"),n.interrupt?t(O):e.check(Oc,y,P)(O)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(O))}function p(O){return O===null||oe(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(O)):ke(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),we(e,m,"whitespace")(O)):O===96&&O===u?r(O):(e.consume(O),p)}function m(O){return O===null||oe(O)?f(O):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(O))}function b(O){return O===null||oe(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,P,v)(O)}function v(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),T}function T(O){return i>0&&ke(O)?we(e,w,"linePrefix",i+1)(O):w(O)}function w(O){return O===null||oe(O)?e.check(Oc,y,P)(O):(e.enter("codeFlowValue"),A(O))}function A(O){return O===null||oe(O)?(e.exit("codeFlowValue"),w(O)):(e.consume(O),A)}function P(O){return e.exit("codeFenced"),t(O)}function B(O,F,$){let j=0;return D;function D(me){return O.enter("lineEnding"),O.consume(me),O.exit("lineEnding"),X}function X(me){return O.enter("codeFencedFence"),ke(me)?we(O,G,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(me):G(me)}function G(me){return me===u?(O.enter("codeFencedFenceSequence"),ce(me)):$(me)}function ce(me){return me===u?(j++,O.consume(me),ce):j>=s?(O.exit("codeFencedFenceSequence"),ke(me)?we(O,de,"whitespace")(me):de(me)):$(me)}function de(me){return me===null||oe(me)?(O.exit("codeFencedFence"),F(me)):$(me)}}}function wg(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 E0={name:"codeIndented",tokenize:Cg},kg={partial:!0,tokenize:Ig};function Cg(e,t,r){const n=this;return a;function a(l){return e.enter("codeIndented"),we(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):oe(l)?e.attempt(kg,s,o)(l):(e.enter("codeFlowValue"),u(l))}function u(l){return l===null||oe(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),u)}function o(l){return e.exit("codeIndented"),t(l)}}function Ig(e,t,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):oe(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):we(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):oe(s)?a(s):r(s)}}const _g={name:"codeText",previous:Og,resolve:Ng,tokenize:Rg};function Ng(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 Og(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Rg(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)):oe(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||oe(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 Lg{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&&Ea(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),Ea(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),Ea(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);Ea(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);Ea(this.left,r.reverse())}}}function Ea(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 vd(e){const t={};let r=-1,n,a,i,s,u,o,l;const c=new Lg(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,Dg(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=te({},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 Dg(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,m=r,b=0,y=0;const v=[y];for(;m;){for(;e.get(++a)[1]!==m;);i.push(a),m._tokenizer||(c=n.sliceStream(m),m.next||c.push(null),f&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(c),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),f=m,m=m.next}for(m=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,v.push(y),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):v.pop(),p=v.length;p--;){const T=u.slice(v[p],v[p+1]),w=i.pop();o.push([w,w+T.length-1]),e.splice(w,2,T)}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 Mg={resolve:Fg,tokenize:Bg},Pg={partial:!0,tokenize:zg};function Fg(e){return vd(e),e}function Bg(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):oe(u)?e.check(Pg,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 zg(e,t,r){const n=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),we(e,i,"linePrefix")}function i(s){if(s===null||oe(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 Ad(e,t,r,n,a,i,s,u,o){const l=o||Number.POSITIVE_INFINITY;let c=0;return f;function f(T){return T===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(T),e.exit(i),p):T===null||T===32||T===41||ls(T)?r(T):(e.enter(n),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),y(T))}function p(T){return T===62?(e.enter(i),e.consume(T),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(T))}function m(T){return T===62?(e.exit("chunkString"),e.exit(u),p(T)):T===null||T===60||oe(T)?r(T):(e.consume(T),T===92?b:m)}function b(T){return T===60||T===62||T===92?(e.consume(T),m):m(T)}function y(T){return!c&&(T===null||T===41||Pe(T))?(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(n),t(T)):c<l&&T===40?(e.consume(T),c++,y):T===41?(e.consume(T),c--,y):T===null||T===32||T===40||ls(T)?r(T):(e.consume(T),T===92?v:y)}function v(T){return T===40||T===41||T===92?(e.consume(T),y):y(T)}}function Sd(e,t,r,n,a,i){const s=this;let u=0,o;return l;function l(m){return e.enter(n),e.enter(a),e.consume(m),e.exit(a),e.enter(i),c}function c(m){return u>999||m===null||m===91||m===93&&!o||m===94&&!u&&"_hiddenFootnoteSupport"in s.parser.constructs?r(m):m===93?(e.exit(i),e.enter(a),e.consume(m),e.exit(a),e.exit(n),t):oe(m)?(e.enter("lineEnding"),e.consume(m),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),f(m))}function f(m){return m===null||m===91||m===93||oe(m)||u++>999?(e.exit("chunkString"),c(m)):(e.consume(m),o||(o=!ke(m)),m===92?p:f)}function p(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function wd(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):oe(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),we(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===s||p===null||oe(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 Ra(e,t){let r;return n;function n(a){return oe(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):ke(a)?we(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const Hg={name:"definition",tokenize:jg},Ug={partial:!0,tokenize:qg};function jg(e,t,r){const n=this;let a;return i;function i(m){return e.enter("definition"),s(m)}function s(m){return Sd.call(n,e,u,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(m)}function u(m){return a=Jt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),m===58?(e.enter("definitionMarker"),e.consume(m),e.exit("definitionMarker"),o):r(m)}function o(m){return Pe(m)?Ra(e,l)(m):l(m)}function l(m){return Ad(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function c(m){return e.attempt(Ug,f,f)(m)}function f(m){return ke(m)?we(e,p,"whitespace")(m):p(m)}function p(m){return m===null||oe(m)?(e.exit("definition"),n.parser.defined.push(a),t(m)):r(m)}}function qg(e,t,r){return n;function n(u){return Pe(u)?Ra(e,a)(u):r(u)}function a(u){return wd(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function i(u){return ke(u)?we(e,s,"whitespace")(u):s(u)}function s(u){return u===null||oe(u)?t(u):r(u)}}const $g={name:"hardBreakEscape",tokenize:Yg};function Yg(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return oe(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const Vg={name:"headingAtx",resolve:Wg,tokenize:Gg};function Wg(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 Gg(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||Pe(c)?(e.exit("atxHeadingSequence"),u(c)):r(c)}function u(c){return c===35?(e.enter("atxHeadingSequence"),o(c)):c===null||oe(c)?(e.exit("atxHeading"),t(c)):ke(c)?we(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||Pe(c)?(e.exit("atxHeadingText"),u(c)):(e.consume(c),l)}}const Xg=["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"],Lc=["pre","script","style","textarea"],Kg={concrete:!0,name:"htmlFlow",resolveTo:Zg,tokenize:e8},Qg={partial:!0,tokenize:r8},Jg={partial:!0,tokenize:t8};function Zg(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 e8(e,t,r){const n=this;let a,i,s,u,o;return l;function l(L){return c(L)}function c(L){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(L),f}function f(L){return L===33?(e.consume(L),p):L===47?(e.consume(L),i=!0,y):L===63?(e.consume(L),a=3,n.interrupt?t:N):Et(L)?(e.consume(L),s=String.fromCharCode(L),v):r(L)}function p(L){return L===45?(e.consume(L),a=2,m):L===91?(e.consume(L),a=5,u=0,b):Et(L)?(e.consume(L),a=4,n.interrupt?t:N):r(L)}function m(L){return L===45?(e.consume(L),n.interrupt?t:N):r(L)}function b(L){const $e="CDATA[";return L===$e.charCodeAt(u++)?(e.consume(L),u===$e.length?n.interrupt?t:G:b):r(L)}function y(L){return Et(L)?(e.consume(L),s=String.fromCharCode(L),v):r(L)}function v(L){if(L===null||L===47||L===62||Pe(L)){const $e=L===47,et=s.toLowerCase();return!$e&&!i&&Lc.includes(et)?(a=1,n.interrupt?t(L):G(L)):Xg.includes(s.toLowerCase())?(a=6,$e?(e.consume(L),T):n.interrupt?t(L):G(L)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(L):i?w(L):A(L))}return L===45||dt(L)?(e.consume(L),s+=String.fromCharCode(L),v):r(L)}function T(L){return L===62?(e.consume(L),n.interrupt?t:G):r(L)}function w(L){return ke(L)?(e.consume(L),w):D(L)}function A(L){return L===47?(e.consume(L),D):L===58||L===95||Et(L)?(e.consume(L),P):ke(L)?(e.consume(L),A):D(L)}function P(L){return L===45||L===46||L===58||L===95||dt(L)?(e.consume(L),P):B(L)}function B(L){return L===61?(e.consume(L),O):ke(L)?(e.consume(L),B):A(L)}function O(L){return L===null||L===60||L===61||L===62||L===96?r(L):L===34||L===39?(e.consume(L),o=L,F):ke(L)?(e.consume(L),O):$(L)}function F(L){return L===o?(e.consume(L),o=null,j):L===null||oe(L)?r(L):(e.consume(L),F)}function $(L){return L===null||L===34||L===39||L===47||L===60||L===61||L===62||L===96||Pe(L)?B(L):(e.consume(L),$)}function j(L){return L===47||L===62||ke(L)?A(L):r(L)}function D(L){return L===62?(e.consume(L),X):r(L)}function X(L){return L===null||oe(L)?G(L):ke(L)?(e.consume(L),X):r(L)}function G(L){return L===45&&a===2?(e.consume(L),ve):L===60&&a===1?(e.consume(L),Re):L===62&&a===4?(e.consume(L),Ce):L===63&&a===3?(e.consume(L),N):L===93&&a===5?(e.consume(L),Be):oe(L)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(Qg,Ae,ce)(L)):L===null||oe(L)?(e.exit("htmlFlowData"),ce(L)):(e.consume(L),G)}function ce(L){return e.check(Jg,de,Ae)(L)}function de(L){return e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),me}function me(L){return L===null||oe(L)?ce(L):(e.enter("htmlFlowData"),G(L))}function ve(L){return L===45?(e.consume(L),N):G(L)}function Re(L){return L===47?(e.consume(L),s="",De):G(L)}function De(L){if(L===62){const $e=s.toLowerCase();return Lc.includes($e)?(e.consume(L),Ce):G(L)}return Et(L)&&s.length<8?(e.consume(L),s+=String.fromCharCode(L),De):G(L)}function Be(L){return L===93?(e.consume(L),N):G(L)}function N(L){return L===62?(e.consume(L),Ce):L===45&&a===2?(e.consume(L),N):G(L)}function Ce(L){return L===null||oe(L)?(e.exit("htmlFlowData"),Ae(L)):(e.consume(L),Ce)}function Ae(L){return e.exit("htmlFlow"),t(L)}}function t8(e,t,r){const n=this;return a;function a(s){return oe(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 r8(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(si,t,r)}}const n8={name:"htmlText",tokenize:a8};function a8(e,t,r){const n=this;let a,i,s;return u;function u(N){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(N),o}function o(N){return N===33?(e.consume(N),l):N===47?(e.consume(N),B):N===63?(e.consume(N),A):Et(N)?(e.consume(N),$):r(N)}function l(N){return N===45?(e.consume(N),c):N===91?(e.consume(N),i=0,b):Et(N)?(e.consume(N),w):r(N)}function c(N){return N===45?(e.consume(N),m):r(N)}function f(N){return N===null?r(N):N===45?(e.consume(N),p):oe(N)?(s=f,Re(N)):(e.consume(N),f)}function p(N){return N===45?(e.consume(N),m):f(N)}function m(N){return N===62?ve(N):N===45?p(N):f(N)}function b(N){const Ce="CDATA[";return N===Ce.charCodeAt(i++)?(e.consume(N),i===Ce.length?y:b):r(N)}function y(N){return N===null?r(N):N===93?(e.consume(N),v):oe(N)?(s=y,Re(N)):(e.consume(N),y)}function v(N){return N===93?(e.consume(N),T):y(N)}function T(N){return N===62?ve(N):N===93?(e.consume(N),T):y(N)}function w(N){return N===null||N===62?ve(N):oe(N)?(s=w,Re(N)):(e.consume(N),w)}function A(N){return N===null?r(N):N===63?(e.consume(N),P):oe(N)?(s=A,Re(N)):(e.consume(N),A)}function P(N){return N===62?ve(N):A(N)}function B(N){return Et(N)?(e.consume(N),O):r(N)}function O(N){return N===45||dt(N)?(e.consume(N),O):F(N)}function F(N){return oe(N)?(s=F,Re(N)):ke(N)?(e.consume(N),F):ve(N)}function $(N){return N===45||dt(N)?(e.consume(N),$):N===47||N===62||Pe(N)?j(N):r(N)}function j(N){return N===47?(e.consume(N),ve):N===58||N===95||Et(N)?(e.consume(N),D):oe(N)?(s=j,Re(N)):ke(N)?(e.consume(N),j):ve(N)}function D(N){return N===45||N===46||N===58||N===95||dt(N)?(e.consume(N),D):X(N)}function X(N){return N===61?(e.consume(N),G):oe(N)?(s=X,Re(N)):ke(N)?(e.consume(N),X):j(N)}function G(N){return N===null||N===60||N===61||N===62||N===96?r(N):N===34||N===39?(e.consume(N),a=N,ce):oe(N)?(s=G,Re(N)):ke(N)?(e.consume(N),G):(e.consume(N),de)}function ce(N){return N===a?(e.consume(N),a=void 0,me):N===null?r(N):oe(N)?(s=ce,Re(N)):(e.consume(N),ce)}function de(N){return N===null||N===34||N===39||N===60||N===61||N===96?r(N):N===47||N===62||Pe(N)?j(N):(e.consume(N),de)}function me(N){return N===47||N===62||Pe(N)?j(N):r(N)}function ve(N){return N===62?(e.consume(N),e.exit("htmlTextData"),e.exit("htmlText"),t):r(N)}function Re(N){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(N),e.exit("lineEnding"),De}function De(N){return ke(N)?we(e,Be,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(N):Be(N)}function Be(N){return e.enter("htmlTextData"),s(N)}}const No={name:"labelEnd",resolveAll:o8,resolveTo:l8,tokenize:c8},i8={tokenize:f8},s8={tokenize:h8},u8={tokenize:d8};function o8(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 l8(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:te({},e[i][1].start),end:te({},e[e.length-1][1].end)},l={type:"label",start:te({},e[i][1].start),end:te({},e[s][1].end)},c={type:"labelText",start:te({},e[i+n+2][1].end),end:te({},e[s-2][1].start)};return u=[["enter",o,t],["enter",l,t]],u=Ut(u,e.slice(i+1,i+n+3)),u=Ut(u,[["enter",c,t]]),u=Ut(u,zs(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),u=Ut(u,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),u=Ut(u,e.slice(s+1)),u=Ut(u,[["exit",o,t]]),Mt(e,i,e.length,u),e}function c8(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(Jt(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(i8,c,s?c:f)(p):p===91?e.attempt(s8,c,s?l:f)(p):s?c(p):f(p)}function l(p){return e.attempt(u8,c,f)(p)}function c(p){return t(p)}function f(p){return i._balanced=!0,r(p)}}function f8(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 Pe(f)?Ra(e,i)(f):i(f)}function i(f){return f===41?c(f):Ad(e,s,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Pe(f)?Ra(e,o)(f):c(f)}function u(f){return r(f)}function o(f){return f===34||f===39||f===40?wd(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function l(f){return Pe(f)?Ra(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 h8(e,t,r){const n=this;return a;function a(u){return Sd.call(n,e,i,s,"reference","referenceMarker","referenceString")(u)}function i(u){return n.parser.defined.includes(Jt(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(u):r(u)}function s(u){return r(u)}}function d8(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 m8={name:"labelStartImage",resolveAll:No.resolveAll,tokenize:p8};function p8(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 g8={name:"labelStartLink",resolveAll:No.resolveAll,tokenize:b8};function b8(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 x0={name:"lineEnding",tokenize:y8};function y8(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),we(e,t,"linePrefix")}}const Xi={name:"thematicBreak",tokenize:E8};function E8(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||oe(l))?(e.exit("thematicBreak"),t(l)):r(l)}function o(l){return l===a?(e.consume(l),n++,o):(e.exit("thematicBreakSequence"),ke(l)?we(e,u,"whitespace")(l):u(l))}}const At={continuation:{tokenize:A8},exit:w8,name:"list",tokenize:v8},x8={partial:!0,tokenize:k8},T8={partial:!0,tokenize:S8};function v8(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(m){const b=n.containerState.type||(m===42||m===43||m===45?"listUnordered":"listOrdered");if(b==="listUnordered"?!n.containerState.marker||m===n.containerState.marker:Tu(m)){if(n.containerState.type||(n.containerState.type=b,e.enter(b,{_container:!0})),b==="listUnordered")return e.enter("listItemPrefix"),m===42||m===45?e.check(Xi,r,l)(m):l(m);if(!n.interrupt||m===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),o(m)}return r(m)}function o(m){return Tu(m)&&++s<10?(e.consume(m),o):(!n.interrupt||s<2)&&(n.containerState.marker?m===n.containerState.marker:m===41||m===46)?(e.exit("listItemValue"),l(m)):r(m)}function l(m){return e.enter("listItemMarker"),e.consume(m),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||m,e.check(si,n.interrupt?r:c,e.attempt(x8,p,f))}function c(m){return n.containerState.initialBlankLine=!0,i++,p(m)}function f(m){return ke(m)?(e.enter("listItemPrefixWhitespace"),e.consume(m),e.exit("listItemPrefixWhitespace"),p):r(m)}function p(m){return n.containerState.size=i+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(m)}}function A8(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(si,a,i);function a(u){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,we(e,t,"listItemIndent",n.containerState.size+1)(u)}function i(u){return n.containerState.furtherBlankLines||!ke(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(T8,t,s)(u))}function s(u){return n.containerState._closeFlow=!0,n.interrupt=void 0,we(e,e.attempt(At,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function S8(e,t,r){const n=this;return we(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 w8(e){e.exit(this.containerState.type)}function k8(e,t,r){const n=this;return we(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!ke(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const Dc={name:"setextUnderline",resolveTo:C8,tokenize:I8};function C8(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:te({},e[n][1].start),end:te({},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=te({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function I8(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"),ke(l)?we(e,o,"lineSuffix")(l):o(l))}function o(l){return l===null||oe(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}const _8={tokenize:N8};function N8(e){const t=this,r=e.attempt(si,n,e.attempt(this.parser.constructs.flowInitial,a,we(e,e.attempt(this.parser.constructs.flow,a,e.attempt(Mg,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 O8={resolveAll:Cd()},R8=kd("string"),L8=kd("text");function kd(e){return{resolveAll:Cd(e==="text"?D8: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 m=f[p];if(!m.previous||m.previous.call(n,n.previous))return!0}return!1}}}function Cd(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 D8(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:te({},n.end)};n.end=te({},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 M8={42:At,43:At,45:At,48:At,49:At,50:At,51:At,52:At,53:At,54:At,55:At,56:At,57:At,62:Ed},P8={91:Hg},F8={[-2]:E0,[-1]:E0,32:E0},B8={35:Vg,42:Xi,45:[Dc,Xi],60:Kg,61:Dc,95:Xi,96:Rc,126:Rc},z8={38:Td,92:xd},H8={[-5]:x0,[-4]:x0,[-3]:x0,33:m8,38:Td,42:vu,60:[gg,n8],91:g8,92:[$g,xd],93:No,95:vu,96:_g},U8={null:[vu,O8]},j8={null:[42,95]},q8={null:[]},$8=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:j8,contentInitial:P8,disable:q8,document:M8,flow:B8,flowInitial:F8,insideSpan:U8,string:z8,text:H8},Symbol.toStringTag,{value:"Module"}));function Y8(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:F(B),check:F(O),consume:w,enter:A,exit:P,interrupt:F(O,{interrupt:!0})},l={code:null,containerState:{},defineSkip:y,events:[],now:b,parser:e,previous:null,sliceSerialize:p,sliceStream:m,write:f};let c=t.tokenize.call(l,o);return t.resolveAll&&i.push(t),l;function f(X){return s=Ut(s,X),v(),s[s.length-1]!==null?[]:($(t,0),l.events=zs(i,l.events,l),l.events)}function p(X,G){return W8(m(X),G)}function m(X){return V8(s,X)}function b(){const{_bufferIndex:X,_index:G,line:ce,column:de,offset:me}=n;return{_bufferIndex:X,_index:G,line:ce,column:de,offset:me}}function y(X){a[X.line]=X.column,D()}function v(){let X;for(;n._index<s.length;){const G=s[n._index];if(typeof G=="string")for(X=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===X&&n._bufferIndex<G.length;)T(G.charCodeAt(n._bufferIndex));else T(G)}}function T(X){c=c(X)}function w(X){oe(X)?(n.line++,n.column=1,n.offset+=X===-3?2:1,D()):X!==-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=X}function A(X,G){const ce=G||{};return ce.type=X,ce.start=b(),l.events.push(["enter",ce,l]),u.push(ce),ce}function P(X){const G=u.pop();return G.end=b(),l.events.push(["exit",G,l]),G}function B(X,G){$(X,G.from)}function O(X,G){G.restore()}function F(X,G){return ce;function ce(de,me,ve){let Re,De,Be,N;return Array.isArray(de)?Ae(de):"tokenize"in de?Ae([de]):Ce(de);function Ce(Ye){return bt;function bt(tt){const ut=tt!==null&&Ye[tt],ft=tt!==null&&Ye.null,zt=[...Array.isArray(ut)?ut:ut?[ut]:[],...Array.isArray(ft)?ft:ft?[ft]:[]];return Ae(zt)(tt)}}function Ae(Ye){return Re=Ye,De=0,Ye.length===0?ve:L(Ye[De])}function L(Ye){return bt;function bt(tt){return N=j(),Be=Ye,Ye.partial||(l.currentConstruct=Ye),Ye.name&&l.parser.constructs.disable.null.includes(Ye.name)?et():Ye.tokenize.call(G?Object.assign(Object.create(l),G):l,o,$e,et)(tt)}}function $e(Ye){return X(Be,N),me}function et(Ye){return N.restore(),++De<Re.length?L(Re[De]):ve}}}function $(X,G){X.resolveAll&&!i.includes(X)&&i.push(X),X.resolve&&Mt(l.events,G,l.events.length-G,X.resolve(l.events.slice(G),l)),X.resolveTo&&(l.events=X.resolveTo(l.events,l))}function j(){const X=b(),G=l.previous,ce=l.currentConstruct,de=l.events.length,me=Array.from(u);return{from:de,restore:ve};function ve(){n=X,l.previous=G,l.currentConstruct=ce,l.events.length=de,u=me,D()}}function D(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function V8(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 W8(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 G8(e){const n={constructs:bd([$8,...(e||{}).extensions||[]]),content:a(lg),defined:[],document:a(fg),flow:a(_8),lazy:{},string:a(R8),text:a(L8)};return n;function a(i){return s;function s(u){return Y8(n,i,u)}}}function X8(e){for(;!vd(e););return e}const Mc=/[\0\t\n\r]/g;function K8(){let e=1,t="",r=!0,n;return a;function a(i,s,u){const o=[];let l,c,f,p,m;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(Mc.lastIndex=f,l=Mc.exec(i),p=l&&l.index!==void 0?l.index:i.length,m=i.charCodeAt(p),!l){t=i.slice(f);break}if(m===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),m){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 Q8=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function J8(e){return e.replace(Q8,Z8)}function Z8(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 _o(r)||e}const Id={}.hasOwnProperty;function e7(e,t,r){return typeof t!="string"&&(r=t,t=void 0),t7(r)(X8(G8(r).document().write(K8()(e,t,!0))))}function t7(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(en),autolinkProtocol:j,autolinkEmail:j,atxHeading:i(Ht),blockQuote:i(ft),characterEscape:j,characterReference:j,codeFenced:i(zt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(zt,s),codeText:i(Ot,s),codeTextData:j,data:j,codeFlowValue:j,definition:i(Zr),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(tr),hardBreakEscape:i(ma),hardBreakTrailing:i(ma),htmlFlow:i(kn,s),htmlFlowData:j,htmlText:i(kn,s),htmlTextData:j,image:i(Cn),label:s,link:i(en),listItem:i(e4),listItemValue:p,listOrdered:i(Nl,f),listUnordered:i(Nl),paragraph:i(t4),reference:L,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(Ht),strong:i(r4),thematicBreak:i(a4)},exit:{atxHeading:o(),atxHeadingSequence:B,autolink:o(),autolinkEmail:ut,autolinkProtocol:tt,blockQuote:o(),characterEscapeValue:D,characterReferenceMarkerHexadecimal:et,characterReferenceMarkerNumeric:et,characterReferenceValue:Ye,characterReference:bt,codeFenced:o(v),codeFencedFence:y,codeFencedFenceInfo:m,codeFencedFenceMeta:b,codeFlowValue:D,codeIndented:o(T),codeText:o(me),codeTextData:D,data:D,definition:o(),definitionDestinationString:P,definitionLabelString:w,definitionTitleString:A,emphasis:o(),hardBreakEscape:o(G),hardBreakTrailing:o(G),htmlFlow:o(ce),htmlFlowData:D,htmlText:o(de),htmlTextData:D,image:o(Re),label:Be,labelText:De,lineEnding:X,link:o(ve),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:$e,resourceDestinationString:N,resourceTitleString:Ce,resource:Ae,setextHeading:o($),setextHeadingLineSequence:F,setextHeadingText:O,strong:o(),thematicBreak:o()}};_d(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(Y){let ne={type:"root",children:[]};const ge={stack:[ne],tokenStack:[],config:t,enter:u,exit:l,buffer:s,resume:c,data:r},Ie=[];let Me=-1;for(;++Me<Y.length;)if(Y[Me][1].type==="listOrdered"||Y[Me][1].type==="listUnordered")if(Y[Me][0]==="enter")Ie.push(Me);else{const Wt=Ie.pop();Me=a(Y,Wt,Me)}for(Me=-1;++Me<Y.length;){const Wt=t[Y[Me][0]];Id.call(Wt,Y[Me][1].type)&&Wt[Y[Me][1].type].call(Object.assign({sliceSerialize:Y[Me][2].sliceSerialize},ge),Y[Me][1])}if(ge.tokenStack.length>0){const Wt=ge.tokenStack[ge.tokenStack.length-1];(Wt[1]||Pc).call(ge,void 0,Wt[0])}for(ne.position={start:Lr(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:Lr(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},Me=-1;++Me<t.transforms.length;)ne=t.transforms[Me](ne)||ne;return ne}function a(Y,ne,ge){let Ie=ne-1,Me=-1,Wt=!1,tn,br,pa,ga;for(;++Ie<=ge;){const Rt=Y[Ie];switch(Rt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Rt[0]==="enter"?Me++:Me--,ga=void 0;break}case"lineEndingBlank":{Rt[0]==="enter"&&(tn&&!ga&&!Me&&!pa&&(pa=Ie),ga=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ga=void 0}if(!Me&&Rt[0]==="enter"&&Rt[1].type==="listItemPrefix"||Me===-1&&Rt[0]==="exit"&&(Rt[1].type==="listUnordered"||Rt[1].type==="listOrdered")){if(tn){let In=Ie;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",Wt=!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}pa&&(!br||pa<br)&&(tn._spread=!0),tn.end=Object.assign({},br?Y[br][1].start:Rt[1].end),Y.splice(br||Ie,0,["exit",tn,Rt[2]]),Ie++,ge++}if(Rt[1].type==="listItemPrefix"){const In={type:"listItem",_spread:!1,start:Object.assign({},Rt[1].start),end:void 0};tn=In,Y.splice(Ie,0,["enter",In,Rt[2]]),Ie++,ge++,pa=void 0,ga=!0}}}return Y[ne][1]._spread=Wt,ge}function i(Y,ne){return ge;function ge(Ie){u.call(this,Y(Ie),Ie),ne&&ne.call(this,Ie)}}function s(){this.stack.push({type:"fragment",children:[]})}function u(Y,ne,ge){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([ne,ge||void 0]),Y.position={start:Lr(ne.start),end:void 0}}function o(Y){return ne;function ne(ge){Y&&Y.call(this,ge),l.call(this,ge)}}function l(Y,ne){const ge=this.stack.pop(),Ie=this.tokenStack.pop();if(Ie)Ie[0].type!==Y.type&&(ne?ne.call(this,Y,Ie[0]):(Ie[1]||Pc).call(this,Y,Ie[0]));else throw new Error("Cannot close `"+Y.type+"` ("+Oa({start:Y.start,end:Y.end})+"): it’s not open");ge.position.end=Lr(Y.end)}function c(){return Io(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(Y){if(this.data.expectingFirstListItemValue){const ne=this.stack[this.stack.length-2];ne.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function m(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.lang=Y}function b(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.meta=Y}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function v(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function T(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Y.replace(/(\r?\n|\r)$/g,"")}function w(Y){const ne=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ne,ge.identifier=Jt(this.sliceSerialize(Y)).toLowerCase()}function A(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.title=Y}function P(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.url=Y}function B(Y){const ne=this.stack[this.stack.length-1];if(!ne.depth){const ge=this.sliceSerialize(Y).length;ne.depth=ge}}function O(){this.data.setextHeadingSlurpLineEnding=!0}function F(Y){const ne=this.stack[this.stack.length-1];ne.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function $(){this.data.setextHeadingSlurpLineEnding=void 0}function j(Y){const ge=this.stack[this.stack.length-1].children;let Ie=ge[ge.length-1];(!Ie||Ie.type!=="text")&&(Ie=n4(),Ie.position={start:Lr(Y.start),end:void 0},ge.push(Ie)),this.stack.push(Ie)}function D(Y){const ne=this.stack.pop();ne.value+=this.sliceSerialize(Y),ne.position.end=Lr(Y.end)}function X(Y){const ne=this.stack[this.stack.length-1];if(this.data.atHardBreak){const ge=ne.children[ne.children.length-1];ge.position.end=Lr(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ne.type)&&(j.call(this,Y),D.call(this,Y))}function G(){this.data.atHardBreak=!0}function ce(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Y}function de(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Y}function me(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.value=Y}function ve(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ne,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function Re(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ne=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ne,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function De(Y){const ne=this.sliceSerialize(Y),ge=this.stack[this.stack.length-2];ge.label=J8(ne),ge.identifier=Jt(ne).toLowerCase()}function Be(){const Y=this.stack[this.stack.length-1],ne=this.resume(),ge=this.stack[this.stack.length-1];if(this.data.inReference=!0,ge.type==="link"){const Ie=Y.children;ge.children=Ie}else ge.alt=ne}function N(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.url=Y}function Ce(){const Y=this.resume(),ne=this.stack[this.stack.length-1];ne.title=Y}function Ae(){this.data.inReference=void 0}function L(){this.data.referenceType="collapsed"}function $e(Y){const ne=this.resume(),ge=this.stack[this.stack.length-1];ge.label=ne,ge.identifier=Jt(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function et(Y){this.data.characterReferenceType=Y.type}function Ye(Y){const ne=this.sliceSerialize(Y),ge=this.data.characterReferenceType;let Ie;ge?(Ie=yd(ne,ge==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ie=_o(ne);const Me=this.stack[this.stack.length-1];Me.value+=Ie}function bt(Y){const ne=this.stack.pop();ne.position.end=Lr(Y.end)}function tt(Y){D.call(this,Y);const ne=this.stack[this.stack.length-1];ne.url=this.sliceSerialize(Y)}function ut(Y){D.call(this,Y);const ne=this.stack[this.stack.length-1];ne.url="mailto:"+this.sliceSerialize(Y)}function ft(){return{type:"blockquote",children:[]}}function zt(){return{type:"code",lang:null,meta:null,value:""}}function Ot(){return{type:"inlineCode",value:""}}function Zr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function tr(){return{type:"emphasis",children:[]}}function Ht(){return{type:"heading",depth:0,children:[]}}function ma(){return{type:"break"}}function kn(){return{type:"html",value:""}}function Cn(){return{type:"image",title:null,url:"",alt:null}}function en(){return{type:"link",title:null,url:"",children:[]}}function Nl(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function e4(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function t4(){return{type:"paragraph",children:[]}}function r4(){return{type:"strong",children:[]}}function n4(){return{type:"text",value:""}}function a4(){return{type:"thematicBreak"}}}function Lr(e){return{line:e.line,column:e.column,offset:e.offset}}function _d(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?_d(e,n):r7(e,n)}}function r7(e,t){let r;for(r in t)if(Id.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 Pc(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+Oa({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+Oa({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+Oa({start:t.start,end:t.end})+") is still open")}function n7(e){const t=this;t.parser=r;function r(n){return e7(n,ot(te(te({},t.data("settings")),e),{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}}function a7(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 i7(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
13
|
+
`}]}function s7(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 u7(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function o7(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function l7(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=ia(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 c7(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 f7(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function Nd(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 h7(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Nd(e,t);const a={src:ia(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 d7(e,t){const r={src:ia(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 m7(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 p7(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return Nd(e,t);const a={href:ia(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 g7(e,t){const r={href:ia(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 b7(e,t,r){const n=e.all(t),a=r?y7(r):Od(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 y7(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=Od(r[n])}return t}function Od(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 x7(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function T7(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function v7(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=hr(t.children[1]),o=Fs(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 S7(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={},m=s?s[o]:void 0;m&&(p.align=m);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 w7(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const Fc=9,Bc=32;function k7(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(zc(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(zc(t.slice(a),a>0,!1)),i.join("")}function zc(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===Fc||i===Bc;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===Fc||i===Bc;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function C7(e,t){const r={type:"text",value:k7(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function I7(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const _7={blockquote:a7,break:i7,code:s7,delete:u7,emphasis:o7,footnoteReference:l7,heading:c7,html:f7,imageReference:h7,image:d7,inlineCode:m7,linkReference:p7,link:g7,listItem:b7,list:E7,paragraph:x7,root:T7,strong:v7,table:A7,tableCell:w7,tableRow:S7,text:C7,thematicBreak:I7,toml:vi,yaml:vi,definition:vi,footnoteDefinition:vi};function vi(){}const Rd=-1,Hs=0,La=1,cs=2,Oo=3,Ro=4,Lo=5,Do=6,Ld=7,Dd=8,Hc=typeof self=="object"?self:globalThis,N7=(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 Hs:case Rd:return r(s,a);case La:{const u=r([],a);for(const o of s)u.push(n(o));return u}case cs:{const u=r({},a);for(const[o,l]of s)u[n(o)]=n(l);return u}case Oo:return r(new Date(s),a);case Ro:{const{source:u,flags:o}=s;return r(new RegExp(u,o),a)}case Lo:{const u=r(new Map,a);for(const[o,l]of s)u.set(n(o),n(l));return u}case Do:{const u=r(new Set,a);for(const o of s)u.add(n(o));return u}case Ld:{const{name:u,message:o}=s;return r(new Hc[u](o),a)}case Dd: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 Hc[i](s),a)};return n},Uc=e=>N7(new Map,e)(0),Rn="",{toString:O7}={},{keys:R7}=Object,xa=e=>{const t=typeof e;if(t!=="object"||!e)return[Hs,t];const r=O7.call(e).slice(8,-1);switch(r){case"Array":return[La,Rn];case"Object":return[cs,Rn];case"Date":return[Oo,Rn];case"RegExp":return[Ro,Rn];case"Map":return[Lo,Rn];case"Set":return[Do,Rn];case"DataView":return[La,r]}return r.includes("Array")?[La,r]:r.includes("Error")?[Ld,r]:[cs,r]},Ai=([e,t])=>e===Hs&&(t==="function"||t==="symbol"),L7=(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]=xa(s);switch(u){case Hs:{let c=s;switch(o){case"bigint":u=Dd,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+o);c=null;break;case"undefined":return a([Rd],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 cs:{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 R7(s))(e||!Ai(xa(s[p])))&&c.push([i(p),i(s[p])]);return f}case Oo:return a([u,s.toISOString()],s);case Ro:{const{source:c,flags:f}=s;return a([u,{source:c,flags:f}],s)}case Lo:{const c=[],f=a([u,c],s);for(const[p,m]of s)(e||!(Ai(xa(p))||Ai(xa(m))))&&c.push([i(p),i(m)]);return f}case Do:{const c=[],f=a([u,c],s);for(const p of s)(e||!Ai(xa(p)))&&c.push(i(p));return f}}const{message:l}=s;return a([u,{name:o,message:l}],s)};return i},jc=(e,{json:t,lossy:r}={})=>{const n=[];return L7(!(t||r),!!t,new Map,n)(e),n},Xn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?Uc(jc(e,t)):structuredClone(e):(e,t)=>Uc(jc(e,t));function D7(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 M7(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function P7(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||D7,n=e.options.footnoteBackLabel||M7,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=ia(f.toLowerCase());let m=0;const b=[],y=e.footnoteCounts.get(f);for(;y!==void 0&&++m<=y;){b.length>0&&b.push({type:"text",value:" "});let w=typeof r=="string"?r:r(o,m);typeof w=="string"&&(w={type:"text",value:w}),b.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+p+(m>1?"-"+m:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(o,m),className:["data-footnote-backref"]},children:Array.isArray(w)?w:[w]})}const v=c[c.length-1];if(v&&v.type==="element"&&v.tagName==="p"){const w=v.children[v.children.length-1];w&&w.type==="text"?w.value+=" ":v.children.push({type:"text",value:" "}),v.children.push(...b)}else c.push(...b);const T={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(l,T),u.push(T)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:ot(te({},Xn(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 ui=function(e){if(e==null)return H7;if(typeof e=="function")return Us(e);if(typeof e=="object")return Array.isArray(e)?F7(e):B7(e);if(typeof e=="string")return z7(e);throw new Error("Expected function, string, or object as test")};function F7(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=ui(e[r]);return Us(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function B7(e){const t=e;return Us(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function z7(e){return Us(t);function t(r){return r&&r.type===e}}function Us(e){return t;function t(r,n,a){return!!(U7(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function H7(){return!0}function U7(e){return e!==null&&typeof e=="object"&&"type"in e}const Md=[],j7=!0,Au=!1,Pd="skip";function Mo(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const i=ui(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 m=typeof f.tagName=="string"?f.tagName:typeof f.name=="string"?f.name:void 0;Object.defineProperty(p,"name",{value:"node ("+(o.type+(m?"<"+m+">":""))+")"})}return p;function p(){let m=Md,b,y,v;if((!t||i(o,l,c[c.length-1]||void 0))&&(m=q7(r(o,c)),m[0]===Au))return m;if("children"in o&&o.children){const T=o;if(T.children&&m[0]!==Pd)for(y=(n?T.children.length:-1)+s,v=c.concat(T);y>-1&&y<T.children.length;){const w=T.children[y];if(b=u(w,y,v)(),b[0]===Au)return b;y=typeof b[1]=="number"?b[1]:y+s}}return m}}}function q7(e){return Array.isArray(e)?e:typeof e=="number"?[j7,e]:e==null?Md:[e]}function js(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),Mo(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 Su={}.hasOwnProperty,$7={};function Y7(e,t){const r=t||$7,n=new Map,a=new Map,i=new Map,s=te(te({},_7),r.handlers),u={all:l,applyData:W7,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:o,options:r,patch:V7,wrap:X7};return js(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,m=u.handlers[p];if(Su.call(u.handlers,p)&&m)return m(u,c,f);if(u.options.passThrough&&u.options.passThrough.includes(p)){if("children"in c){const y=c,{children:v}=y,T=yi(y,["children"]),w=Xn(T);return w.children=u.all(c),w}return Xn(c)}return(u.options.unknownHandler||G7)(u,c,f)}function l(c){const f=[];if("children"in c){const p=c.children;let m=-1;for(;++m<p.length;){const b=u.one(p[m],c);if(b){if(m&&p[m-1].type==="break"&&(!Array.isArray(b)&&b.type==="text"&&(b.value=qc(b.value)),!Array.isArray(b)&&b.type==="element")){const y=b.children[0];y&&y.type==="text"&&(y.value=qc(y.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}return f}}function V7(e,t){e.position&&(t.position=M5(e))}function W7(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,Xn(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function G7(e,t){const r=t.data||{},n="value"in t&&!(Su.call(r,"hProperties")||Su.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 X7(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 qc(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function $c(e,t){const r=Y7(e,t),n=r.one(e,void 0),a=P7(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 K7(e,t){return e&&"run"in e?function(r,n){return ze(this,null,function*(){const a=$c(r,te({file:n},t));yield e.run(a,n)})}:function(r,n){return $c(r,te({file:n},e||t))}}function Yc(e){if(e)throw e}var Ki=Object.prototype.hasOwnProperty,Fd=Object.prototype.toString,Vc=Object.defineProperty,Wc=Object.getOwnPropertyDescriptor,Gc=function(t){return typeof Array.isArray=="function"?Array.isArray(t):Fd.call(t)==="[object Array]"},Xc=function(t){if(!t||Fd.call(t)!=="[object Object]")return!1;var r=Ki.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&Ki.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var a;for(a in t);return typeof a=="undefined"||Ki.call(t,a)},Kc=function(t,r){Vc&&r.name==="__proto__"?Vc(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},Qc=function(t,r){if(r==="__proto__")if(Ki.call(t,r)){if(Wc)return Wc(t,r).value}else return;return t[r]},Q7=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=Qc(u,r),a=Qc(t,r),u!==a&&(c&&a&&(Xc(a)||(i=Gc(a)))?(i?(i=!1,s=n&&Gc(n)?n:[]):s=n&&Xc(n)?n:{},Kc(u,{name:r,newValue:e(c,s,a)})):typeof a!="undefined"&&Kc(u,{name:r,newValue:a}));return u};const T0=Ao(Q7);function wu(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 J7(){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?Z7(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 Z7(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 nr={basename:eb,dirname:tb,extname:rb,join:nb,sep:"/"};function eb(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');oi(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 tb(e){if(oi(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 rb(e){oi(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 nb(...e){let t=-1,r;for(;++t<e.length;)oi(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":ab(r)}function ab(e){oi(e);const t=e.codePointAt(0)===47;let r=ib(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function ib(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 oi(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const sb={cwd:ub};function ub(){return"/"}function ku(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function ob(e){if(typeof e=="string")e=new URL(e);else if(!ku(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 lb(e)}function lb(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 v0=["history","path","basename","stem","extname","dirname"];class Bd{constructor(t){let r;t?ku(t)?r={path:t}:typeof t=="string"||cb(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":sb.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<v0.length;){const i=v0[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)v0.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?nr.basename(this.path):void 0}set basename(t){S0(t,"basename"),A0(t,"basename"),this.path=nr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?nr.dirname(this.path):void 0}set dirname(t){Jc(this.basename,"dirname"),this.path=nr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?nr.extname(this.path):void 0}set extname(t){if(A0(t,"extname"),Jc(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=nr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ku(t)&&(t=ob(t)),S0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?nr.basename(this.path,this.extname):void 0}set stem(t){S0(t,"stem"),A0(t,"stem"),this.path=nr.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 pt(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 A0(e,t){if(e&&e.includes(nr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+nr.sep+"`")}function S0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Jc(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function cb(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const fb=function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},hb={}.hasOwnProperty;class Po extends fb{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=J7()}copy(){const t=new Po;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(T0(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(C0("data",this.frozen),this.namespace[t]=r,this):hb.call(this.namespace,t)&&this.namespace[t]||void 0:t?(C0("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=Si(t),n=this.parser||this.Parser;return w0("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),w0("process",this.parser||this.Parser),k0("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const u=Si(t),o=n.parse(u);n.run(o,u,function(c,f,p){if(c||!f||!p)return l(c);const m=f,b=n.stringify(m,p);pb(b)?p.value=b:p.result=b,l(c,p)});function l(c,f){c||!f?s(c):i?i(f):r(void 0,f)}}}processSync(t){let r=!1,n;return this.freeze(),w0("processSync",this.parser||this.Parser),k0("processSync",this.compiler||this.Compiler),this.process(t,a),e1("processSync","process",r),n;function a(i,s){r=!0,Yc(i),n=s}}run(t,r,n){Zc(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=Si(r);a.run(t,o,l);function l(c,f,p){const m=f||t;c?u(c):s?s(m):n(void 0,m,p)}}}runSync(t,r){let n=!1,a;return this.run(t,r,i),e1("runSync","run",n),a;function i(s,u){Yc(s),a=u,n=!0}}stringify(t,r){this.freeze();const n=Si(r),a=this.compiler||this.Compiler;return k0("stringify",a),Zc(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(C0("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=T0(!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[m,...b]=c;const y=n[p][1];wu(y)&&wu(m)&&(m=T0(!0,y,m)),n[p]=[l,m,...b]}}}}const db=new Po().freeze();function w0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function k0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function C0(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 Zc(e){if(!wu(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function e1(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Si(e){return mb(e)?e:new Bd(e)}function mb(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function pb(e){return typeof e=="string"||gb(e)}function gb(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const bb="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",t1=[],r1={allowDangerousHtml:!0},yb=/^(https?|ircs?|mailto|xmpp)$/i,Eb=[{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 xb(e){const t=Tb(e),r=vb(e);return Ab(t.runSync(t.parse(r),r),e)}function Tb(e){const t=e.rehypePlugins||t1,r=e.remarkPlugins||t1,n=e.remarkRehypeOptions?te(te({},e.remarkRehypeOptions),r1):r1;return db().use(n7).use(r).use(K7,n).use(t)}function vb(e){const t=e.children||"",r=new Bd;return typeof t=="string"&&(r.value=t),r}function Ab(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,s=t.skipHtml,u=t.unwrapDisallowed,o=t.urlTransform||Sb;for(const c of Eb)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+bb+c.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),js(e,l),H5(e,{Fragment:R.Fragment,components:a,ignoreInvalidStyle:!0,jsx:R.jsx,jsxs:R.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 m;for(m in y0)if(Object.hasOwn(y0,m)&&Object.hasOwn(c.properties,m)){const b=c.properties[m],y=y0[m];(y===null||y.includes(c.tagName))&&(c.properties[m]=o(String(b||""),m,c))}}if(c.type==="element"){let m=r?!r.includes(c.tagName):i?i.includes(c.tagName):!1;if(!m&&n&&typeof f=="number"&&(m=!n(c,f,p)),m&&p&&typeof f=="number")return u&&c.children?p.children.splice(f,1,...c.children):p.children.splice(f,1),f}}}function Sb(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||yb.test(e.slice(0,t))?e:""}function zd(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 wb(){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 kb(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(zd(l,"$")+1,2)),p=u.enter("mathFlow");let m=c.move(f);if(i.meta){const b=u.enter("mathFlowMeta");m+=c.move(u.safe(i.meta,te({after:`
|
|
24
|
+
`,before:m,encode:["$"]},c.current()))),b()}return m+=c.move(`
|
|
25
|
+
`),l&&(m+=c.move(l+`
|
|
26
|
+
`)),m+=c.move(f),p(),m}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 m=u.compilePattern(p);let b;for(;b=m.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 Cb={tokenize:Ib,concrete:!0,name:"mathFlow"},n1={tokenize:_b,partial:!0};function Ib(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(w){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),o(w)}function o(w){return w===36?(e.consume(w),s++,o):s<2?r(w):(e.exit("mathFlowFenceSequence"),we(e,l,"whitespace")(w))}function l(w){return w===null||oe(w)?f(w):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(w))}function c(w){return w===null||oe(w)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(w)):w===36?r(w):(e.consume(w),c)}function f(w){return e.exit("mathFlowFence"),n.interrupt?t(w):e.attempt(n1,p,v)(w)}function p(w){return e.attempt({tokenize:T,partial:!0},v,m)(w)}function m(w){return(i?we(e,b,"linePrefix",i+1):b)(w)}function b(w){return w===null?v(w):oe(w)?e.attempt(n1,p,v)(w):(e.enter("mathFlowValue"),y(w))}function y(w){return w===null||oe(w)?(e.exit("mathFlowValue"),b(w)):(e.consume(w),y)}function v(w){return e.exit("mathFlow"),t(w)}function T(w,A,P){let B=0;return we(w,O,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function O(j){return w.enter("mathFlowFence"),w.enter("mathFlowFenceSequence"),F(j)}function F(j){return j===36?(B++,w.consume(j),F):B<s?P(j):(w.exit("mathFlowFenceSequence"),we(w,$,"whitespace")(j))}function $(j){return j===null||oe(j)?(w.exit("mathFlowFence"),A(j)):P(j)}}}function _b(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 Nb(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Ob,previous:Rb,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):oe(y)?(a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),p):(a.enter("mathTextData"),m(y))}function m(y){return y===null||y===32||y===36||oe(y)?(a.exit("mathTextData"),p(y)):(a.consume(y),m)}function b(y){return y===36?(a.consume(y),o++,b):o===u?(a.exit("mathTextSequence"),a.exit("mathText"),i(y)):(l.type="mathTextData",m(y))}}}function Ob(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 Rb(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Lb(e){return{flow:{36:Cb},text:{36:Nb(e)}}}class wt{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new wt(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class Pt{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new Pt(r,wt.range(this,t))}}class J{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,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}var f=new Error(n);return f.name="ParseError",f.__proto__=J.prototype,f.position=a,a!=null&&i!=null&&(f.length=i-a),f.rawMessage=t,f}}J.prototype.__proto__=Error.prototype;var Db=function(t,r){return t===void 0?r:t},Mb=/([A-Z])/g,Pb=function(t){return t.replace(Mb,"-$1").toLowerCase()},Fb={"&":"&",">":">","<":"<",'"':""","'":"'"},Bb=/[&><"']/g;function zb(e){return String(e).replace(Bb,t=>Fb[t])}var Hd=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},Hb=function(t){var r=Hd(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Ub=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},jb=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},Oe={deflt:Db,escape:zb,hyphenate:Pb,getBaseElem:Hd,isCharacterBox:Hb,protocolFromUrl:jb},Qi={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 qb(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Fo{constructor(t){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,t=t||{};for(var r in Qi)if(Qi.hasOwnProperty(r)){var n=Qi[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:qb(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 J("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(t.url&&!t.protocol){var r=Oe.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class Dr{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return ar[$b[this.id]]}sub(){return ar[Yb[this.id]]}fracNum(){return ar[Vb[this.id]]}fracDen(){return ar[Wb[this.id]]}cramp(){return ar[Gb[this.id]]}text(){return ar[Xb[this.id]]}isTight(){return this.size>=2}}var Bo=0,fs=1,Hn=2,Ar=3,Va=4,qt=5,Kn=6,xt=7,ar=[new Dr(Bo,0,!1),new Dr(fs,0,!0),new Dr(Hn,1,!1),new Dr(Ar,1,!0),new Dr(Va,2,!1),new Dr(qt,2,!0),new Dr(Kn,3,!1),new Dr(xt,3,!0)],$b=[Va,qt,Va,qt,Kn,xt,Kn,xt],Yb=[qt,qt,qt,qt,xt,xt,xt,xt],Vb=[Hn,Ar,Va,qt,Kn,xt,Kn,xt],Wb=[Ar,Ar,qt,qt,xt,xt,xt,xt],Gb=[fs,fs,Ar,Ar,qt,qt,xt,xt],Xb=[Bo,fs,Hn,Ar,Hn,Ar,Hn,Ar],he={DISPLAY:ar[Bo],TEXT:ar[Hn],SCRIPT:ar[Va],SCRIPTSCRIPT:ar[Kn]},Cu=[{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 Kb(e){for(var t=0;t<Cu.length;t++)for(var r=Cu[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 Ji=[];Cu.forEach(e=>e.blocks.forEach(t=>Ji.push(...t)));function Ud(e){for(var t=0;t<Ji.length;t+=2)if(e>=Ji[t]&&e<=Ji[t+1])return!0;return!1}var Ln=80,Qb=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"},Jb=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"},Zb=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"},e9=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"},t9=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"},r9=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},n9=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"},a9=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=Qb(r,Ln);break;case"sqrtSize1":a=Jb(r,Ln);break;case"sqrtSize2":a=Zb(r,Ln);break;case"sqrtSize3":a=e9(r,Ln);break;case"sqrtSize4":a=t9(r,Ln);break;case"sqrtTall":a=n9(r,Ln,n)}return a},i9=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""}},a1={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`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
125
|
+
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
126
|
+
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
127
|
+
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
|
|
128
|
+
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
129
|
+
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
130
|
+
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
|
|
131
|
+
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
132
|
+
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
|
|
133
|
+
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
134
|
+
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
|
|
135
|
+
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
136
|
+
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
|
|
137
|
+
-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
|
|
138
|
+
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
139
|
+
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
|
|
140
|
+
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
|
|
141
|
+
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
142
|
+
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
143
|
+
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
|
|
144
|
+
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
145
|
+
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
|
|
146
|
+
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
|
|
147
|
+
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
148
|
+
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
149
|
+
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
|
|
150
|
+
-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
|
|
151
|
+
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
|
|
152
|
+
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
|
|
153
|
+
-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
|
|
154
|
+
-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
|
|
155
|
+
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
156
|
+
-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
|
|
157
|
+
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
|
|
158
|
+
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
|
|
159
|
+
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
160
|
+
-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
|
|
161
|
+
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
|
|
162
|
+
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
|
|
163
|
+
-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
|
|
164
|
+
-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
|
|
165
|
+
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
|
|
166
|
+
-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
|
|
167
|
+
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
|
|
168
|
+
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
|
|
169
|
+
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
|
|
170
|
+
-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
|
|
171
|
+
-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
|
|
172
|
+
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
|
|
173
|
+
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
|
|
174
|
+
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
175
|
+
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
|
|
176
|
+
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
|
|
177
|
+
-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
|
|
178
|
+
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
|
|
179
|
+
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
180
|
+
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
181
|
+
-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
|
|
182
|
+
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
183
|
+
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
|
|
184
|
+
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
185
|
+
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
186
|
+
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
187
|
+
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
|
|
188
|
+
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
|
|
189
|
+
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
|
|
190
|
+
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
191
|
+
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
192
|
+
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
|
|
193
|
+
-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
|
|
194
|
+
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
|
|
195
|
+
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
196
|
+
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
197
|
+
-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
|
|
198
|
+
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
199
|
+
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
|
|
200
|
+
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
|
|
201
|
+
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
202
|
+
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
203
|
+
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
204
|
+
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
205
|
+
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
206
|
+
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
207
|
+
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
208
|
+
-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
|
|
209
|
+
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
210
|
+
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
|
|
211
|
+
-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
|
|
212
|
+
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
213
|
+
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
214
|
+
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
|
|
215
|
+
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
|
|
216
|
+
-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
|
|
217
|
+
-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
|
|
218
|
+
-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,
|
|
219
|
+
-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,
|
|
220
|
+
-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,
|
|
221
|
+
-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,
|
|
222
|
+
-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
|
|
223
|
+
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
224
|
+
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
|
|
225
|
+
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
|
|
226
|
+
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
|
|
227
|
+
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
|
|
228
|
+
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
229
|
+
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
230
|
+
-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
|
|
231
|
+
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
|
|
232
|
+
-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
|
|
233
|
+
-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
|
|
234
|
+
-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
|
|
235
|
+
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
236
|
+
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
237
|
+
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
|
|
238
|
+
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
239
|
+
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
240
|
+
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
241
|
+
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,
|
|
242
|
+
-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
|
|
243
|
+
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
|
|
244
|
+
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
|
|
245
|
+
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,
|
|
246
|
+
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,
|
|
247
|
+
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
248
|
+
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
|
|
249
|
+
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,
|
|
250
|
+
-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
|
|
251
|
+
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
|
|
252
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},s9=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
|
|
253
|
+
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
|
|
254
|
+
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
|
|
255
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
256
|
+
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
|
|
257
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
258
|
+
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
|
|
259
|
+
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
|
|
260
|
+
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
261
|
+
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
|
|
262
|
+
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
|
|
263
|
+
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
|
|
264
|
+
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
|
|
265
|
+
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
|
|
266
|
+
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,
|
|
267
|
+
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
268
|
+
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
|
|
269
|
+
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,
|
|
270
|
+
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
271
|
+
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
272
|
+
-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,
|
|
273
|
+
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
274
|
+
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
|
|
275
|
+
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
|
|
276
|
+
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
|
|
277
|
+
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
|
|
278
|
+
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
279
|
+
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
280
|
+
-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 li{constructor(t){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return 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 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]}},wi={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]},i1={Å:"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 u9(e,t){ur[e]=t}function zo(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 i1&&(n=i1[e[0]].charCodeAt(0),a=ur[t][n]),!a&&r==="text"&&Ud(n)&&(a=ur[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var I0={};function o9(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!I0[t]){var r=I0[t]={cssEmPerMu:wi.quad[t]/18};for(var n in wi)wi.hasOwnProperty(n)&&(r[n]=wi[n][t])}return I0[t]}var l9=[[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]],s1=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],u1=function(t,r){return r.size<2?t:l9[t-1][r.size-1]};class Tr{constructor(t){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=t.style,this.color=t.color,this.size=t.size||Tr.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=s1[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new Tr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:u1(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:s1[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=u1(Tr.BASESIZE,t);return this.size===r&&this.textSize===Tr.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!==Tr.BASESIZE?["sizing","reset-size"+this.size,"size"+Tr.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=o9(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Tr.BASESIZE=6;var Iu={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},c9={ex:!0,em:!0,mu:!0},jd=function(t){return typeof t!="string"&&(t=t.unit),t in Iu||t in c9||t==="ex"},Xe=function(t,r){var n;if(t.unit in Iu)n=Iu[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 J("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},re=function(t){return+t.toFixed(4)+"em"},$r=function(t){return t.filter(r=>r).join(" ")},qd=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)}},$d=function(t){var r=document.createElement(t);r.className=$r(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},f9=/[\s"'>/=\x00-\x1f]/,Yd=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+Oe.escape($r(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Oe.hyphenate(a)+":"+this.style[a]+";");n&&(r+=' style="'+Oe.escape(n)+'"');for(var i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(f9.test(i))throw new J("Invalid attribute name '"+i+"'");r+=" "+i+'="'+Oe.escape(this.attributes[i])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class ci{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,qd.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return $d.call(this,"span")}toMarkup(){return Yd.call(this,"span")}}class Ho{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,qd.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 $d.call(this,"a")}toMarkup(){return Yd.call(this,"a")}}class h9{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+Oe.escape(this.src)+'"'+(' alt="'+Oe.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=Oe.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+Oe.escape(r)+'"'),t+="'/>",t}}var d9={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Yt{constructor(t,r,n,a,i,s,u,o){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=s||0,this.classes=u||[],this.style=o||{},this.maxFontSize=0;var l=Kb(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=d9[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=re(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=$r(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=Oe.escape($r(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Oe.hyphenate(a)+":"+this.style[a]+";");n&&(t=!0,r+=' style="'+Oe.escape(n)+'"');var i=Oe.escape(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class wr{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var 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 in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Oe.escape(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=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",a1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Oe.escape(this.alternate)+'"/>':'<path d="'+Oe.escape(a1[this.pathName])+'"/>'}}class _u{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Oe.escape(this.attributes[r])+'"');return t+="/>",t}}function o1(e){if(e instanceof Yt)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function m9(e){if(e instanceof ci)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var p9={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},Ue={math:{},text:{}};function d(e,t,r,n,a,i){Ue[e][a]={font:t,group:r,replace:n},i&&n&&(Ue[e][n]=Ue[e][a])}var g="math",V="text",E="main",C="ams",We="accent-token",se="bin",Tt="close",sa="inner",fe="mathord",at="op-token",Ft="open",qs="punct",I="rel",Nr="spacing",M="textord";d(g,E,I,"≡","\\equiv",!0);d(g,E,I,"≺","\\prec",!0);d(g,E,I,"≻","\\succ",!0);d(g,E,I,"∼","\\sim",!0);d(g,E,I,"⊥","\\perp");d(g,E,I,"⪯","\\preceq",!0);d(g,E,I,"⪰","\\succeq",!0);d(g,E,I,"≃","\\simeq",!0);d(g,E,I,"∣","\\mid",!0);d(g,E,I,"≪","\\ll",!0);d(g,E,I,"≫","\\gg",!0);d(g,E,I,"≍","\\asymp",!0);d(g,E,I,"∥","\\parallel");d(g,E,I,"⋈","\\bowtie",!0);d(g,E,I,"⌣","\\smile",!0);d(g,E,I,"⊑","\\sqsubseteq",!0);d(g,E,I,"⊒","\\sqsupseteq",!0);d(g,E,I,"≐","\\doteq",!0);d(g,E,I,"⌢","\\frown",!0);d(g,E,I,"∋","\\ni",!0);d(g,E,I,"∝","\\propto",!0);d(g,E,I,"⊢","\\vdash",!0);d(g,E,I,"⊣","\\dashv",!0);d(g,E,I,"∋","\\owns");d(g,E,qs,".","\\ldotp");d(g,E,qs,"⋅","\\cdotp");d(g,E,M,"#","\\#");d(V,E,M,"#","\\#");d(g,E,M,"&","\\&");d(V,E,M,"&","\\&");d(g,E,M,"ℵ","\\aleph",!0);d(g,E,M,"∀","\\forall",!0);d(g,E,M,"ℏ","\\hbar",!0);d(g,E,M,"∃","\\exists",!0);d(g,E,M,"∇","\\nabla",!0);d(g,E,M,"♭","\\flat",!0);d(g,E,M,"ℓ","\\ell",!0);d(g,E,M,"♮","\\natural",!0);d(g,E,M,"♣","\\clubsuit",!0);d(g,E,M,"℘","\\wp",!0);d(g,E,M,"♯","\\sharp",!0);d(g,E,M,"♢","\\diamondsuit",!0);d(g,E,M,"ℜ","\\Re",!0);d(g,E,M,"♡","\\heartsuit",!0);d(g,E,M,"ℑ","\\Im",!0);d(g,E,M,"♠","\\spadesuit",!0);d(g,E,M,"§","\\S",!0);d(V,E,M,"§","\\S");d(g,E,M,"¶","\\P",!0);d(V,E,M,"¶","\\P");d(g,E,M,"†","\\dag");d(V,E,M,"†","\\dag");d(V,E,M,"†","\\textdagger");d(g,E,M,"‡","\\ddag");d(V,E,M,"‡","\\ddag");d(V,E,M,"‡","\\textdaggerdbl");d(g,E,Tt,"⎱","\\rmoustache",!0);d(g,E,Ft,"⎰","\\lmoustache",!0);d(g,E,Tt,"⟯","\\rgroup",!0);d(g,E,Ft,"⟮","\\lgroup",!0);d(g,E,se,"∓","\\mp",!0);d(g,E,se,"⊖","\\ominus",!0);d(g,E,se,"⊎","\\uplus",!0);d(g,E,se,"⊓","\\sqcap",!0);d(g,E,se,"∗","\\ast");d(g,E,se,"⊔","\\sqcup",!0);d(g,E,se,"◯","\\bigcirc",!0);d(g,E,se,"∙","\\bullet",!0);d(g,E,se,"‡","\\ddagger");d(g,E,se,"≀","\\wr",!0);d(g,E,se,"⨿","\\amalg");d(g,E,se,"&","\\And");d(g,E,I,"⟵","\\longleftarrow",!0);d(g,E,I,"⇐","\\Leftarrow",!0);d(g,E,I,"⟸","\\Longleftarrow",!0);d(g,E,I,"⟶","\\longrightarrow",!0);d(g,E,I,"⇒","\\Rightarrow",!0);d(g,E,I,"⟹","\\Longrightarrow",!0);d(g,E,I,"↔","\\leftrightarrow",!0);d(g,E,I,"⟷","\\longleftrightarrow",!0);d(g,E,I,"⇔","\\Leftrightarrow",!0);d(g,E,I,"⟺","\\Longleftrightarrow",!0);d(g,E,I,"↦","\\mapsto",!0);d(g,E,I,"⟼","\\longmapsto",!0);d(g,E,I,"↗","\\nearrow",!0);d(g,E,I,"↩","\\hookleftarrow",!0);d(g,E,I,"↪","\\hookrightarrow",!0);d(g,E,I,"↘","\\searrow",!0);d(g,E,I,"↼","\\leftharpoonup",!0);d(g,E,I,"⇀","\\rightharpoonup",!0);d(g,E,I,"↙","\\swarrow",!0);d(g,E,I,"↽","\\leftharpoondown",!0);d(g,E,I,"⇁","\\rightharpoondown",!0);d(g,E,I,"↖","\\nwarrow",!0);d(g,E,I,"⇌","\\rightleftharpoons",!0);d(g,C,I,"≮","\\nless",!0);d(g,C,I,"","\\@nleqslant");d(g,C,I,"","\\@nleqq");d(g,C,I,"⪇","\\lneq",!0);d(g,C,I,"≨","\\lneqq",!0);d(g,C,I,"","\\@lvertneqq");d(g,C,I,"⋦","\\lnsim",!0);d(g,C,I,"⪉","\\lnapprox",!0);d(g,C,I,"⊀","\\nprec",!0);d(g,C,I,"⋠","\\npreceq",!0);d(g,C,I,"⋨","\\precnsim",!0);d(g,C,I,"⪹","\\precnapprox",!0);d(g,C,I,"≁","\\nsim",!0);d(g,C,I,"","\\@nshortmid");d(g,C,I,"∤","\\nmid",!0);d(g,C,I,"⊬","\\nvdash",!0);d(g,C,I,"⊭","\\nvDash",!0);d(g,C,I,"⋪","\\ntriangleleft");d(g,C,I,"⋬","\\ntrianglelefteq",!0);d(g,C,I,"⊊","\\subsetneq",!0);d(g,C,I,"","\\@varsubsetneq");d(g,C,I,"⫋","\\subsetneqq",!0);d(g,C,I,"","\\@varsubsetneqq");d(g,C,I,"≯","\\ngtr",!0);d(g,C,I,"","\\@ngeqslant");d(g,C,I,"","\\@ngeqq");d(g,C,I,"⪈","\\gneq",!0);d(g,C,I,"≩","\\gneqq",!0);d(g,C,I,"","\\@gvertneqq");d(g,C,I,"⋧","\\gnsim",!0);d(g,C,I,"⪊","\\gnapprox",!0);d(g,C,I,"⊁","\\nsucc",!0);d(g,C,I,"⋡","\\nsucceq",!0);d(g,C,I,"⋩","\\succnsim",!0);d(g,C,I,"⪺","\\succnapprox",!0);d(g,C,I,"≆","\\ncong",!0);d(g,C,I,"","\\@nshortparallel");d(g,C,I,"∦","\\nparallel",!0);d(g,C,I,"⊯","\\nVDash",!0);d(g,C,I,"⋫","\\ntriangleright");d(g,C,I,"⋭","\\ntrianglerighteq",!0);d(g,C,I,"","\\@nsupseteqq");d(g,C,I,"⊋","\\supsetneq",!0);d(g,C,I,"","\\@varsupsetneq");d(g,C,I,"⫌","\\supsetneqq",!0);d(g,C,I,"","\\@varsupsetneqq");d(g,C,I,"⊮","\\nVdash",!0);d(g,C,I,"⪵","\\precneqq",!0);d(g,C,I,"⪶","\\succneqq",!0);d(g,C,I,"","\\@nsubseteqq");d(g,C,se,"⊴","\\unlhd");d(g,C,se,"⊵","\\unrhd");d(g,C,I,"↚","\\nleftarrow",!0);d(g,C,I,"↛","\\nrightarrow",!0);d(g,C,I,"⇍","\\nLeftarrow",!0);d(g,C,I,"⇏","\\nRightarrow",!0);d(g,C,I,"↮","\\nleftrightarrow",!0);d(g,C,I,"⇎","\\nLeftrightarrow",!0);d(g,C,I,"△","\\vartriangle");d(g,C,M,"ℏ","\\hslash");d(g,C,M,"▽","\\triangledown");d(g,C,M,"◊","\\lozenge");d(g,C,M,"Ⓢ","\\circledS");d(g,C,M,"®","\\circledR");d(V,C,M,"®","\\circledR");d(g,C,M,"∡","\\measuredangle",!0);d(g,C,M,"∄","\\nexists");d(g,C,M,"℧","\\mho");d(g,C,M,"Ⅎ","\\Finv",!0);d(g,C,M,"⅁","\\Game",!0);d(g,C,M,"‵","\\backprime");d(g,C,M,"▲","\\blacktriangle");d(g,C,M,"▼","\\blacktriangledown");d(g,C,M,"■","\\blacksquare");d(g,C,M,"⧫","\\blacklozenge");d(g,C,M,"★","\\bigstar");d(g,C,M,"∢","\\sphericalangle",!0);d(g,C,M,"∁","\\complement",!0);d(g,C,M,"ð","\\eth",!0);d(V,E,M,"ð","ð");d(g,C,M,"╱","\\diagup");d(g,C,M,"╲","\\diagdown");d(g,C,M,"□","\\square");d(g,C,M,"□","\\Box");d(g,C,M,"◊","\\Diamond");d(g,C,M,"¥","\\yen",!0);d(V,C,M,"¥","\\yen",!0);d(g,C,M,"✓","\\checkmark",!0);d(V,C,M,"✓","\\checkmark");d(g,C,M,"ℶ","\\beth",!0);d(g,C,M,"ℸ","\\daleth",!0);d(g,C,M,"ℷ","\\gimel",!0);d(g,C,M,"ϝ","\\digamma",!0);d(g,C,M,"ϰ","\\varkappa");d(g,C,Ft,"┌","\\@ulcorner",!0);d(g,C,Tt,"┐","\\@urcorner",!0);d(g,C,Ft,"└","\\@llcorner",!0);d(g,C,Tt,"┘","\\@lrcorner",!0);d(g,C,I,"≦","\\leqq",!0);d(g,C,I,"⩽","\\leqslant",!0);d(g,C,I,"⪕","\\eqslantless",!0);d(g,C,I,"≲","\\lesssim",!0);d(g,C,I,"⪅","\\lessapprox",!0);d(g,C,I,"≊","\\approxeq",!0);d(g,C,se,"⋖","\\lessdot");d(g,C,I,"⋘","\\lll",!0);d(g,C,I,"≶","\\lessgtr",!0);d(g,C,I,"⋚","\\lesseqgtr",!0);d(g,C,I,"⪋","\\lesseqqgtr",!0);d(g,C,I,"≑","\\doteqdot");d(g,C,I,"≓","\\risingdotseq",!0);d(g,C,I,"≒","\\fallingdotseq",!0);d(g,C,I,"∽","\\backsim",!0);d(g,C,I,"⋍","\\backsimeq",!0);d(g,C,I,"⫅","\\subseteqq",!0);d(g,C,I,"⋐","\\Subset",!0);d(g,C,I,"⊏","\\sqsubset",!0);d(g,C,I,"≼","\\preccurlyeq",!0);d(g,C,I,"⋞","\\curlyeqprec",!0);d(g,C,I,"≾","\\precsim",!0);d(g,C,I,"⪷","\\precapprox",!0);d(g,C,I,"⊲","\\vartriangleleft");d(g,C,I,"⊴","\\trianglelefteq");d(g,C,I,"⊨","\\vDash",!0);d(g,C,I,"⊪","\\Vvdash",!0);d(g,C,I,"⌣","\\smallsmile");d(g,C,I,"⌢","\\smallfrown");d(g,C,I,"≏","\\bumpeq",!0);d(g,C,I,"≎","\\Bumpeq",!0);d(g,C,I,"≧","\\geqq",!0);d(g,C,I,"⩾","\\geqslant",!0);d(g,C,I,"⪖","\\eqslantgtr",!0);d(g,C,I,"≳","\\gtrsim",!0);d(g,C,I,"⪆","\\gtrapprox",!0);d(g,C,se,"⋗","\\gtrdot");d(g,C,I,"⋙","\\ggg",!0);d(g,C,I,"≷","\\gtrless",!0);d(g,C,I,"⋛","\\gtreqless",!0);d(g,C,I,"⪌","\\gtreqqless",!0);d(g,C,I,"≖","\\eqcirc",!0);d(g,C,I,"≗","\\circeq",!0);d(g,C,I,"≜","\\triangleq",!0);d(g,C,I,"∼","\\thicksim");d(g,C,I,"≈","\\thickapprox");d(g,C,I,"⫆","\\supseteqq",!0);d(g,C,I,"⋑","\\Supset",!0);d(g,C,I,"⊐","\\sqsupset",!0);d(g,C,I,"≽","\\succcurlyeq",!0);d(g,C,I,"⋟","\\curlyeqsucc",!0);d(g,C,I,"≿","\\succsim",!0);d(g,C,I,"⪸","\\succapprox",!0);d(g,C,I,"⊳","\\vartriangleright");d(g,C,I,"⊵","\\trianglerighteq");d(g,C,I,"⊩","\\Vdash",!0);d(g,C,I,"∣","\\shortmid");d(g,C,I,"∥","\\shortparallel");d(g,C,I,"≬","\\between",!0);d(g,C,I,"⋔","\\pitchfork",!0);d(g,C,I,"∝","\\varpropto");d(g,C,I,"◀","\\blacktriangleleft");d(g,C,I,"∴","\\therefore",!0);d(g,C,I,"∍","\\backepsilon");d(g,C,I,"▶","\\blacktriangleright");d(g,C,I,"∵","\\because",!0);d(g,C,I,"⋘","\\llless");d(g,C,I,"⋙","\\gggtr");d(g,C,se,"⊲","\\lhd");d(g,C,se,"⊳","\\rhd");d(g,C,I,"≂","\\eqsim",!0);d(g,E,I,"⋈","\\Join");d(g,C,I,"≑","\\Doteq",!0);d(g,C,se,"∔","\\dotplus",!0);d(g,C,se,"∖","\\smallsetminus");d(g,C,se,"⋒","\\Cap",!0);d(g,C,se,"⋓","\\Cup",!0);d(g,C,se,"⩞","\\doublebarwedge",!0);d(g,C,se,"⊟","\\boxminus",!0);d(g,C,se,"⊞","\\boxplus",!0);d(g,C,se,"⋇","\\divideontimes",!0);d(g,C,se,"⋉","\\ltimes",!0);d(g,C,se,"⋊","\\rtimes",!0);d(g,C,se,"⋋","\\leftthreetimes",!0);d(g,C,se,"⋌","\\rightthreetimes",!0);d(g,C,se,"⋏","\\curlywedge",!0);d(g,C,se,"⋎","\\curlyvee",!0);d(g,C,se,"⊝","\\circleddash",!0);d(g,C,se,"⊛","\\circledast",!0);d(g,C,se,"⋅","\\centerdot");d(g,C,se,"⊺","\\intercal",!0);d(g,C,se,"⋒","\\doublecap");d(g,C,se,"⋓","\\doublecup");d(g,C,se,"⊠","\\boxtimes",!0);d(g,C,I,"⇢","\\dashrightarrow",!0);d(g,C,I,"⇠","\\dashleftarrow",!0);d(g,C,I,"⇇","\\leftleftarrows",!0);d(g,C,I,"⇆","\\leftrightarrows",!0);d(g,C,I,"⇚","\\Lleftarrow",!0);d(g,C,I,"↞","\\twoheadleftarrow",!0);d(g,C,I,"↢","\\leftarrowtail",!0);d(g,C,I,"↫","\\looparrowleft",!0);d(g,C,I,"⇋","\\leftrightharpoons",!0);d(g,C,I,"↶","\\curvearrowleft",!0);d(g,C,I,"↺","\\circlearrowleft",!0);d(g,C,I,"↰","\\Lsh",!0);d(g,C,I,"⇈","\\upuparrows",!0);d(g,C,I,"↿","\\upharpoonleft",!0);d(g,C,I,"⇃","\\downharpoonleft",!0);d(g,E,I,"⊶","\\origof",!0);d(g,E,I,"⊷","\\imageof",!0);d(g,C,I,"⊸","\\multimap",!0);d(g,C,I,"↭","\\leftrightsquigarrow",!0);d(g,C,I,"⇉","\\rightrightarrows",!0);d(g,C,I,"⇄","\\rightleftarrows",!0);d(g,C,I,"↠","\\twoheadrightarrow",!0);d(g,C,I,"↣","\\rightarrowtail",!0);d(g,C,I,"↬","\\looparrowright",!0);d(g,C,I,"↷","\\curvearrowright",!0);d(g,C,I,"↻","\\circlearrowright",!0);d(g,C,I,"↱","\\Rsh",!0);d(g,C,I,"⇊","\\downdownarrows",!0);d(g,C,I,"↾","\\upharpoonright",!0);d(g,C,I,"⇂","\\downharpoonright",!0);d(g,C,I,"⇝","\\rightsquigarrow",!0);d(g,C,I,"⇝","\\leadsto");d(g,C,I,"⇛","\\Rrightarrow",!0);d(g,C,I,"↾","\\restriction");d(g,E,M,"‘","`");d(g,E,M,"$","\\$");d(V,E,M,"$","\\$");d(V,E,M,"$","\\textdollar");d(g,E,M,"%","\\%");d(V,E,M,"%","\\%");d(g,E,M,"_","\\_");d(V,E,M,"_","\\_");d(V,E,M,"_","\\textunderscore");d(g,E,M,"∠","\\angle",!0);d(g,E,M,"∞","\\infty",!0);d(g,E,M,"′","\\prime");d(g,E,M,"△","\\triangle");d(g,E,M,"Γ","\\Gamma",!0);d(g,E,M,"Δ","\\Delta",!0);d(g,E,M,"Θ","\\Theta",!0);d(g,E,M,"Λ","\\Lambda",!0);d(g,E,M,"Ξ","\\Xi",!0);d(g,E,M,"Π","\\Pi",!0);d(g,E,M,"Σ","\\Sigma",!0);d(g,E,M,"Υ","\\Upsilon",!0);d(g,E,M,"Φ","\\Phi",!0);d(g,E,M,"Ψ","\\Psi",!0);d(g,E,M,"Ω","\\Omega",!0);d(g,E,M,"A","Α");d(g,E,M,"B","Β");d(g,E,M,"E","Ε");d(g,E,M,"Z","Ζ");d(g,E,M,"H","Η");d(g,E,M,"I","Ι");d(g,E,M,"K","Κ");d(g,E,M,"M","Μ");d(g,E,M,"N","Ν");d(g,E,M,"O","Ο");d(g,E,M,"P","Ρ");d(g,E,M,"T","Τ");d(g,E,M,"X","Χ");d(g,E,M,"¬","\\neg",!0);d(g,E,M,"¬","\\lnot");d(g,E,M,"⊤","\\top");d(g,E,M,"⊥","\\bot");d(g,E,M,"∅","\\emptyset");d(g,C,M,"∅","\\varnothing");d(g,E,fe,"α","\\alpha",!0);d(g,E,fe,"β","\\beta",!0);d(g,E,fe,"γ","\\gamma",!0);d(g,E,fe,"δ","\\delta",!0);d(g,E,fe,"ϵ","\\epsilon",!0);d(g,E,fe,"ζ","\\zeta",!0);d(g,E,fe,"η","\\eta",!0);d(g,E,fe,"θ","\\theta",!0);d(g,E,fe,"ι","\\iota",!0);d(g,E,fe,"κ","\\kappa",!0);d(g,E,fe,"λ","\\lambda",!0);d(g,E,fe,"μ","\\mu",!0);d(g,E,fe,"ν","\\nu",!0);d(g,E,fe,"ξ","\\xi",!0);d(g,E,fe,"ο","\\omicron",!0);d(g,E,fe,"π","\\pi",!0);d(g,E,fe,"ρ","\\rho",!0);d(g,E,fe,"σ","\\sigma",!0);d(g,E,fe,"τ","\\tau",!0);d(g,E,fe,"υ","\\upsilon",!0);d(g,E,fe,"ϕ","\\phi",!0);d(g,E,fe,"χ","\\chi",!0);d(g,E,fe,"ψ","\\psi",!0);d(g,E,fe,"ω","\\omega",!0);d(g,E,fe,"ε","\\varepsilon",!0);d(g,E,fe,"ϑ","\\vartheta",!0);d(g,E,fe,"ϖ","\\varpi",!0);d(g,E,fe,"ϱ","\\varrho",!0);d(g,E,fe,"ς","\\varsigma",!0);d(g,E,fe,"φ","\\varphi",!0);d(g,E,se,"∗","*",!0);d(g,E,se,"+","+");d(g,E,se,"−","-",!0);d(g,E,se,"⋅","\\cdot",!0);d(g,E,se,"∘","\\circ",!0);d(g,E,se,"÷","\\div",!0);d(g,E,se,"±","\\pm",!0);d(g,E,se,"×","\\times",!0);d(g,E,se,"∩","\\cap",!0);d(g,E,se,"∪","\\cup",!0);d(g,E,se,"∖","\\setminus",!0);d(g,E,se,"∧","\\land");d(g,E,se,"∨","\\lor");d(g,E,se,"∧","\\wedge",!0);d(g,E,se,"∨","\\vee",!0);d(g,E,M,"√","\\surd");d(g,E,Ft,"⟨","\\langle",!0);d(g,E,Ft,"∣","\\lvert");d(g,E,Ft,"∥","\\lVert");d(g,E,Tt,"?","?");d(g,E,Tt,"!","!");d(g,E,Tt,"⟩","\\rangle",!0);d(g,E,Tt,"∣","\\rvert");d(g,E,Tt,"∥","\\rVert");d(g,E,I,"=","=");d(g,E,I,":",":");d(g,E,I,"≈","\\approx",!0);d(g,E,I,"≅","\\cong",!0);d(g,E,I,"≥","\\ge");d(g,E,I,"≥","\\geq",!0);d(g,E,I,"←","\\gets");d(g,E,I,">","\\gt",!0);d(g,E,I,"∈","\\in",!0);d(g,E,I,"","\\@not");d(g,E,I,"⊂","\\subset",!0);d(g,E,I,"⊃","\\supset",!0);d(g,E,I,"⊆","\\subseteq",!0);d(g,E,I,"⊇","\\supseteq",!0);d(g,C,I,"⊈","\\nsubseteq",!0);d(g,C,I,"⊉","\\nsupseteq",!0);d(g,E,I,"⊨","\\models");d(g,E,I,"←","\\leftarrow",!0);d(g,E,I,"≤","\\le");d(g,E,I,"≤","\\leq",!0);d(g,E,I,"<","\\lt",!0);d(g,E,I,"→","\\rightarrow",!0);d(g,E,I,"→","\\to");d(g,C,I,"≱","\\ngeq",!0);d(g,C,I,"≰","\\nleq",!0);d(g,E,Nr," ","\\ ");d(g,E,Nr," ","\\space");d(g,E,Nr," ","\\nobreakspace");d(V,E,Nr," ","\\ ");d(V,E,Nr," "," ");d(V,E,Nr," ","\\space");d(V,E,Nr," ","\\nobreakspace");d(g,E,Nr,null,"\\nobreak");d(g,E,Nr,null,"\\allowbreak");d(g,E,qs,",",",");d(g,E,qs,";",";");d(g,C,se,"⊼","\\barwedge",!0);d(g,C,se,"⊻","\\veebar",!0);d(g,E,se,"⊙","\\odot",!0);d(g,E,se,"⊕","\\oplus",!0);d(g,E,se,"⊗","\\otimes",!0);d(g,E,M,"∂","\\partial",!0);d(g,E,se,"⊘","\\oslash",!0);d(g,C,se,"⊚","\\circledcirc",!0);d(g,C,se,"⊡","\\boxdot",!0);d(g,E,se,"△","\\bigtriangleup");d(g,E,se,"▽","\\bigtriangledown");d(g,E,se,"†","\\dagger");d(g,E,se,"⋄","\\diamond");d(g,E,se,"⋆","\\star");d(g,E,se,"◃","\\triangleleft");d(g,E,se,"▹","\\triangleright");d(g,E,Ft,"{","\\{");d(V,E,M,"{","\\{");d(V,E,M,"{","\\textbraceleft");d(g,E,Tt,"}","\\}");d(V,E,M,"}","\\}");d(V,E,M,"}","\\textbraceright");d(g,E,Ft,"{","\\lbrace");d(g,E,Tt,"}","\\rbrace");d(g,E,Ft,"[","\\lbrack",!0);d(V,E,M,"[","\\lbrack",!0);d(g,E,Tt,"]","\\rbrack",!0);d(V,E,M,"]","\\rbrack",!0);d(g,E,Ft,"(","\\lparen",!0);d(g,E,Tt,")","\\rparen",!0);d(V,E,M,"<","\\textless",!0);d(V,E,M,">","\\textgreater",!0);d(g,E,Ft,"⌊","\\lfloor",!0);d(g,E,Tt,"⌋","\\rfloor",!0);d(g,E,Ft,"⌈","\\lceil",!0);d(g,E,Tt,"⌉","\\rceil",!0);d(g,E,M,"\\","\\backslash");d(g,E,M,"∣","|");d(g,E,M,"∣","\\vert");d(V,E,M,"|","\\textbar",!0);d(g,E,M,"∥","\\|");d(g,E,M,"∥","\\Vert");d(V,E,M,"∥","\\textbardbl");d(V,E,M,"~","\\textasciitilde");d(V,E,M,"\\","\\textbackslash");d(V,E,M,"^","\\textasciicircum");d(g,E,I,"↑","\\uparrow",!0);d(g,E,I,"⇑","\\Uparrow",!0);d(g,E,I,"↓","\\downarrow",!0);d(g,E,I,"⇓","\\Downarrow",!0);d(g,E,I,"↕","\\updownarrow",!0);d(g,E,I,"⇕","\\Updownarrow",!0);d(g,E,at,"∐","\\coprod");d(g,E,at,"⋁","\\bigvee");d(g,E,at,"⋀","\\bigwedge");d(g,E,at,"⨄","\\biguplus");d(g,E,at,"⋂","\\bigcap");d(g,E,at,"⋃","\\bigcup");d(g,E,at,"∫","\\int");d(g,E,at,"∫","\\intop");d(g,E,at,"∬","\\iint");d(g,E,at,"∭","\\iiint");d(g,E,at,"∏","\\prod");d(g,E,at,"∑","\\sum");d(g,E,at,"⨂","\\bigotimes");d(g,E,at,"⨁","\\bigoplus");d(g,E,at,"⨀","\\bigodot");d(g,E,at,"∮","\\oint");d(g,E,at,"∯","\\oiint");d(g,E,at,"∰","\\oiiint");d(g,E,at,"⨆","\\bigsqcup");d(g,E,at,"∫","\\smallint");d(V,E,sa,"…","\\textellipsis");d(g,E,sa,"…","\\mathellipsis");d(V,E,sa,"…","\\ldots",!0);d(g,E,sa,"…","\\ldots",!0);d(g,E,sa,"⋯","\\@cdots",!0);d(g,E,sa,"⋱","\\ddots",!0);d(g,E,M,"⋮","\\varvdots");d(V,E,M,"⋮","\\varvdots");d(g,E,We,"ˊ","\\acute");d(g,E,We,"ˋ","\\grave");d(g,E,We,"¨","\\ddot");d(g,E,We,"~","\\tilde");d(g,E,We,"ˉ","\\bar");d(g,E,We,"˘","\\breve");d(g,E,We,"ˇ","\\check");d(g,E,We,"^","\\hat");d(g,E,We,"⃗","\\vec");d(g,E,We,"˙","\\dot");d(g,E,We,"˚","\\mathring");d(g,E,fe,"","\\@imath");d(g,E,fe,"","\\@jmath");d(g,E,M,"ı","ı");d(g,E,M,"ȷ","ȷ");d(V,E,M,"ı","\\i",!0);d(V,E,M,"ȷ","\\j",!0);d(V,E,M,"ß","\\ss",!0);d(V,E,M,"æ","\\ae",!0);d(V,E,M,"œ","\\oe",!0);d(V,E,M,"ø","\\o",!0);d(V,E,M,"Æ","\\AE",!0);d(V,E,M,"Œ","\\OE",!0);d(V,E,M,"Ø","\\O",!0);d(V,E,We,"ˊ","\\'");d(V,E,We,"ˋ","\\`");d(V,E,We,"ˆ","\\^");d(V,E,We,"˜","\\~");d(V,E,We,"ˉ","\\=");d(V,E,We,"˘","\\u");d(V,E,We,"˙","\\.");d(V,E,We,"¸","\\c");d(V,E,We,"˚","\\r");d(V,E,We,"ˇ","\\v");d(V,E,We,"¨",'\\"');d(V,E,We,"˝","\\H");d(V,E,We,"◯","\\textcircled");var Vd={"--":!0,"---":!0,"``":!0,"''":!0};d(V,E,M,"–","--",!0);d(V,E,M,"–","\\textendash");d(V,E,M,"—","---",!0);d(V,E,M,"—","\\textemdash");d(V,E,M,"‘","`",!0);d(V,E,M,"‘","\\textquoteleft");d(V,E,M,"’","'",!0);d(V,E,M,"’","\\textquoteright");d(V,E,M,"“","``",!0);d(V,E,M,"“","\\textquotedblleft");d(V,E,M,"”","''",!0);d(V,E,M,"”","\\textquotedblright");d(g,E,M,"°","\\degree",!0);d(V,E,M,"°","\\degree");d(V,E,M,"°","\\textdegree",!0);d(g,E,M,"£","\\pounds");d(g,E,M,"£","\\mathsterling",!0);d(V,E,M,"£","\\pounds");d(V,E,M,"£","\\textsterling",!0);d(g,C,M,"✠","\\maltese");d(V,C,M,"✠","\\maltese");var l1='0123456789/@."';for(var _0=0;_0<l1.length;_0++){var c1=l1.charAt(_0);d(g,E,M,c1,c1)}var f1='0123456789!@*()-=+";:?/.,';for(var N0=0;N0<f1.length;N0++){var h1=f1.charAt(N0);d(V,E,M,h1,h1)}var hs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var O0=0;O0<hs.length;O0++){var ki=hs.charAt(O0);d(g,E,fe,ki,ki),d(V,E,M,ki,ki)}d(g,C,M,"C","ℂ");d(V,C,M,"C","ℂ");d(g,C,M,"H","ℍ");d(V,C,M,"H","ℍ");d(g,C,M,"N","ℕ");d(V,C,M,"N","ℕ");d(g,C,M,"P","ℙ");d(V,C,M,"P","ℙ");d(g,C,M,"Q","ℚ");d(V,C,M,"Q","ℚ");d(g,C,M,"R","ℝ");d(V,C,M,"R","ℝ");d(g,C,M,"Z","ℤ");d(V,C,M,"Z","ℤ");d(g,E,fe,"h","ℎ");d(V,E,fe,"h","ℎ");var pe="";for(var yt=0;yt<hs.length;yt++){var Ke=hs.charAt(yt);pe=String.fromCharCode(55349,56320+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56372+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56424+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56580+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56684+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56736+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56788+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56840+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56944+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),yt<26&&(pe=String.fromCharCode(55349,56632+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe),pe=String.fromCharCode(55349,56476+yt),d(g,E,fe,Ke,pe),d(V,E,M,Ke,pe))}pe="𝕜";d(g,E,fe,"k",pe);d(V,E,M,"k",pe);for(var nn=0;nn<10;nn++){var Mr=nn.toString();pe=String.fromCharCode(55349,57294+nn),d(g,E,fe,Mr,pe),d(V,E,M,Mr,pe),pe=String.fromCharCode(55349,57314+nn),d(g,E,fe,Mr,pe),d(V,E,M,Mr,pe),pe=String.fromCharCode(55349,57324+nn),d(g,E,fe,Mr,pe),d(V,E,M,Mr,pe),pe=String.fromCharCode(55349,57334+nn),d(g,E,fe,Mr,pe),d(V,E,M,Mr,pe)}var Nu="ÐÞþ";for(var R0=0;R0<Nu.length;R0++){var Ci=Nu.charAt(R0);d(g,E,fe,Ci,Ci),d(V,E,M,Ci,Ci)}var Ii=[["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"]],d1=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],b9=function(t,r){var n=t.charCodeAt(0),a=t.charCodeAt(1),i=(n-55296)*1024+(a-56320)+65536,s=r==="math"?0:1;if(119808<=i&&i<120484){var u=Math.floor((i-119808)/26);return[Ii[u][2],Ii[u][s]]}else if(120782<=i&&i<=120831){var o=Math.floor((i-120782)/10);return[d1[o][2],d1[o][s]]}else{if(i===120485||i===120486)return[Ii[0][2],Ii[0][s]];if(120486<i&&i<120782)return["",""];throw new J("Unsupported character: "+t)}},$s=function(t,r,n){return Ue[n][t]&&Ue[n][t].replace&&(t=Ue[n][t].replace),{value:t,metrics:zo(t,r,n)}},Xt=function(t,r,n,a,i){var s=$s(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 Yt(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 Yt(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},y9=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&$s(t,"Main-Bold",r).metrics?Xt(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||Ue[r][t].font==="main"?Xt(t,"Main-Regular",r,n,a):Xt(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},E9=function(t,r,n,a,i){return i!=="textord"&&$s(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},x9=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]=b9(i,a)),l.length>0)return Xt(i,l,a,r,s.concat(c));if(o){var f,p;if(o==="boldsymbol"){var m=E9(i,a,r,s,n);f=m.fontName,p=[m.fontClass]}else u?(f=Xd[o].fontName,p=[o]):(f=_i(o,r.fontWeight,r.fontShape),p=[o,r.fontWeight,r.fontShape]);if($s(i,f,a).metrics)return Xt(i,f,a,r,s.concat(p));if(Vd.hasOwnProperty(i)&&f.slice(0,10)==="Typewriter"){for(var b=[],y=0;y<i.length;y++)b.push(Xt(i[y],f,a,r,s.concat(p)));return Gd(b)}}if(n==="mathord")return Xt(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var v=Ue[a][i]&&Ue[a][i].font;if(v==="ams"){var T=_i("amsrm",r.fontWeight,r.fontShape);return Xt(i,T,a,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(v==="main"||!v){var w=_i("textrm",r.fontWeight,r.fontShape);return Xt(i,w,a,r,s.concat(r.fontWeight,r.fontShape))}else{var A=_i(v,r.fontWeight,r.fontShape);return Xt(i,A,a,r,s.concat(A,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},T9=(e,t)=>{if($r(e.classes)!==$r(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},v9=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Yt&&n instanceof Yt&&T9(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},Uo=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},St=function(t,r,n,a){var i=new ci(t,r,n,a);return Uo(i),i},Wd=(e,t,r,n)=>new ci(e,t,r,n),A9=function(t,r,n){var a=St([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=re(a.height),a.maxFontSize=1,a},S9=function(t,r,n,a){var i=new Ho(t,r,n,a);return Uo(i),i},Gd=function(t){var r=new li(t);return Uo(r),r},w9=function(t,r){return t instanceof li?St([],[t],r):t},k9=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 m=t.children[0];if(m.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")l=-m.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")l=-m.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:l}},C9=function(t,r){for(var{children:n,depth:a}=k9(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=St(["pstrut"],[]);l.style.height=re(i);for(var c=[],f=a,p=a,m=a,b=0;b<n.length;b++){var y=n[b];if(y.type==="kern")m+=y.size;else{var v=y.elem,T=y.wrapperClasses||[],w=y.wrapperStyle||{},A=St(T,[l,v],void 0,w);A.style.top=re(-i-m-v.depth),y.marginLeft&&(A.style.marginLeft=y.marginLeft),y.marginRight&&(A.style.marginRight=y.marginRight),c.push(A),m+=v.height+v.depth}f=Math.min(f,m),p=Math.max(p,m)}var P=St(["vlist"],c);P.style.height=re(p);var B;if(f<0){var O=St([],[]),F=St(["vlist"],[O]);F.style.height=re(-f);var $=St(["vlist-s"],[new Yt("")]);B=[St(["vlist-r"],[P,$]),St(["vlist-r"],[F])]}else B=[St(["vlist-r"],[P])];var j=St(["vlist-t"],B);return B.length===2&&j.classes.push("vlist-t2"),j.height=p,j.depth=-f,j},I9=(e,t)=>{var r=St(["mspace"],[],t),n=Xe(e,t);return r.style.marginRight=re(n),r},_i=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},Xd={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"}},Kd={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},_9=function(t,r){var[n,a,i]=Kd[t],s=new Yr(n),u=new wr([s],{width:re(a),height:re(i),style:"width:"+re(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),o=Wd(["overlay"],[u],r);return o.height=i,o.style.height=re(i),o.style.width=re(a),o},H={fontMap:Xd,makeSymbol:Xt,mathsym:y9,makeSpan:St,makeSvgSpan:Wd,makeLineSpan:A9,makeAnchor:S9,makeFragment:Gd,wrapFragment:w9,makeVList:C9,makeOrd:x9,makeGlue:I9,staticSvg:_9,svgData:Kd,tryCombineChars:v9},Ge={number:3,unit:"mu"},an={number:4,unit:"mu"},Er={number:5,unit:"mu"},N9={mord:{mop:Ge,mbin:an,mrel:Er,minner:Ge},mop:{mord:Ge,mop:Ge,mrel:Er,minner:Ge},mbin:{mord:an,mop:an,mopen:an,minner:an},mrel:{mord:Er,mop:Er,mopen:Er,minner:Er},mopen:{},mclose:{mop:Ge,mbin:an,mrel:Er,minner:Ge},mpunct:{mord:Ge,mop:Ge,mrel:Er,mopen:Ge,mclose:Ge,mpunct:Ge,minner:Ge},minner:{mord:Ge,mop:Ge,mbin:an,mrel:Er,mopen:Ge,mpunct:Ge,minner:Ge}},O9={mord:{mop:Ge},mop:{mord:Ge,mop:Ge},mbin:{},mrel:{},mopen:{},mclose:{mop:Ge},mpunct:{},minner:{mop:Ge}},Qd={},ds={},ms={};function ie(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)Qd[r[o]]=u;t&&(i&&(ds[t]=i),s&&(ms[t]=s))}function An(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ie({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var ps=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Je=function(t){return t.type==="ordgroup"?t.body:[t]},kr=H.makeSpan,R9=["leftmost","mbin","mopen","mrel","mop","mpunct"],L9=["rightmost","mrel","mclose","mpunct"],D9={display:he.DISPLAY,text:he.TEXT,script:he.SCRIPT,scriptscript:he.SCRIPTSCRIPT},M9={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},st=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var u=_e(t[s],r);if(u instanceof li){var o=u.children;i.push(...o)}else i.push(u)}if(H.tryCombineChars(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(D9[c.style]))}var f=kr([a[0]||"leftmost"],[],r),p=kr([a[1]||"rightmost"],[],r),m=n==="root";return m1(i,(b,y)=>{var v=y.classes[0],T=b.classes[0];v==="mbin"&&L9.includes(T)?y.classes[0]="mord":T==="mbin"&&R9.includes(v)&&(b.classes[0]="mord")},{node:f},p,m),m1(i,(b,y)=>{var v=Ou(y),T=Ou(b),w=v&&T?b.hasClass("mtight")?O9[v][T]:N9[v][T]:null;if(w)return H.makeGlue(w,l)},{node:f},p,m),i},m1=function e(t,r,n,a,i){a&&t.push(a);for(var s=0;s<t.length;s++){var u=t[s],o=Jd(u);if(o){e(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=kr(["leftmost"])),n.insertAfter=(f=>p=>{t.splice(f+1,0,p),s++})(s)}a&&t.pop()},Jd=function(t){return t instanceof li||t instanceof Ho||t instanceof ci&&t.hasClass("enclosing")?t:null},P9=function e(t,r){var n=Jd(t);if(n){var a=n.children;if(a.length){if(r==="right")return e(a[a.length-1],"right");if(r==="left")return e(a[0],"left")}}return t},Ou=function(t,r){return t?(r&&(t=P9(t,r)),M9[t.classes[0]]||null):null},Wa=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return kr(r.concat(n))},_e=function(t,r,n){if(!t)return kr();if(ds[t.type]){var a=ds[t.type](t,r);if(n&&r.size!==n.size){a=kr(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new J("Got group of unknown type: '"+t.type+"'")};function Ni(e,t){var r=kr(["base"],e,t),n=kr(["strut"]);return n.style.height=re(r.height+r.depth),r.depth&&(n.style.verticalAlign=re(-r.depth)),r.children.unshift(n),r}function Ru(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=st(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(Ni(s,t)),s=[])}else n[u].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(Ni(s,t)),s=[]),i.push(n[u]));s.length>0&&i.push(Ni(s,t));var l;r?(l=Ni(st(r,t,!0)),l.classes=["tag"],i.push(l)):a&&i.push(a);var c=kr(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=re(c.height+c.depth),c.depth&&(f.style.verticalAlign=re(-c.depth))}return c}function Zd(e){return new li(e)}class Dt{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=$r(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof or&&this.children[n+1]instanceof or){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof or;)a+=this.children[++n].toText();t.appendChild(new or(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+=Oe.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+Oe.escape($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 or{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Oe.escape(this.toText())}toText(){return this.text}}class F9{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character=" ":t>=-.05556&&t<=-.05555?this.character=" ":t>=-.1667&&t<=-.1666?this.character=" ":t>=-.2223&&t<=-.2222?this.character=" ":t>=-.2778&&t<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",re(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+re(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var Q={MathNode:Dt,TextNode:or,SpaceNode:F9,newDocumentFragment:Zd},Vt=function(t,r,n){return Ue[r][t]&&Ue[r][t].replace&&t.charCodeAt(0)!==55349&&!(Vd.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=Ue[r][t].replace),new Q.TextNode(t)},jo=function(t){return t.length===1?t[0]:new Q.MathNode("mrow",t)},qo=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(["\\imath","\\jmath"].includes(i))return null;Ue[a][i]&&Ue[a][i].replace&&(i=Ue[a][i].replace);var s=H.fontMap[n].fontName;return zo(i,s,a)?H.fontMap[n].variant:null};function L0(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof or&&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 or&&r.text===","}else return!1}var Nt=function(t,r,n){if(t.length===1){var a=Fe(t[0],r);return n&&a instanceof Dt&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,u=0;u<t.length;u++){var o=Fe(t[u],r);if(o instanceof Dt&&s instanceof Dt){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(L0(o)&&s.type==="mn"){s.children.push(...o.children);continue}else if(o.type==="mn"&&L0(s))o.children=[...s.children,...o.children],i.pop();else if((o.type==="msup"||o.type==="msub")&&o.children.length>=1&&(s.type==="mn"||L0(s))){var l=o.children[0];l instanceof Dt&&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 or&&c.text==="̸"&&(o.type==="mo"||o.type==="mi"||o.type==="mn")){var f=o.children[0];f instanceof or&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),i.pop())}}}i.push(o),s=o}return i},Vr=function(t,r,n){return jo(Nt(t,r,n))},Fe=function(t,r){if(!t)return new Q.MathNode("mrow");if(ms[t.type]){var n=ms[t.type](t,r);return n}else throw new J("Got group of unknown type: '"+t.type+"'")};function p1(e,t,r,n,a){var i=Nt(e,r),s;i.length===1&&i[0]instanceof Dt&&["mrow","mtable"].includes(i[0].type)?s=i[0]:s=new Q.MathNode("mrow",i);var u=new Q.MathNode("annotation",[new Q.TextNode(t)]);u.setAttribute("encoding","application/x-tex");var o=new Q.MathNode("semantics",[s,u]),l=new Q.MathNode("math",[o]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=a?"katex":"katex-mathml";return H.makeSpan([c],[l])}var em=function(t){return new Tr({style:t.displayMode?he.DISPLAY:he.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},tm=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=H.makeSpan(n,[t])}return t},B9=function(t,r,n){var a=em(n),i;if(n.output==="mathml")return p1(t,r,a,n.displayMode,!0);if(n.output==="html"){var s=Ru(t,a);i=H.makeSpan(["katex"],[s])}else{var u=p1(t,r,a,n.displayMode,!1),o=Ru(t,a);i=H.makeSpan(["katex"],[u,o])}return tm(i,n)},z9=function(t,r,n){var a=em(n),i=Ru(t,a),s=H.makeSpan(["katex"],[i]);return tm(s,n)},H9={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},U9=function(t){var r=new Q.MathNode("mo",[new Q.TextNode(H9[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},j9={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},q9=function(t){return t.type==="ordgroup"?t.body.length:1},$9=function(t,r){function n(){var u=4e5,o=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(o)){var l=t,c=q9(l.base),f,p,m;if(c>5)o==="widehat"||o==="widecheck"?(f=420,u=2364,m=.42,p=o+"4"):(f=312,u=2340,m=.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],m=[0,.24,.3,.3,.36,.42][b],p=o+b):(u=[0,600,1033,2339,2340][b],f=[0,260,286,306,312][b],m=[0,.26,.286,.3,.306,.34][b],p="tilde"+b)}var y=new Yr(p),v=new wr([y],{width:"100%",height:re(m),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:H.makeSvgSpan([],[v],r),minWidth:0,height:m}}else{var T=[],w=j9[o],[A,P,B]=w,O=B/1e3,F=A.length,$,j;if(F===1){var D=w[3];$=["hide-tail"],j=[D]}else if(F===2)$=["halfarrow-left","halfarrow-right"],j=["xMinYMin","xMaxYMin"];else if(F===3)$=["brace-left","brace-center","brace-right"],j=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
281
|
+
`+F+" children.");for(var X=0;X<F;X++){var G=new Yr(A[X]),ce=new wr([G],{width:"400em",height:re(O),viewBox:"0 0 "+u+" "+B,preserveAspectRatio:j[X]+" slice"}),de=H.makeSvgSpan([$[X]],[ce],r);if(F===1)return{span:de,minWidth:P,height:O};de.style.height=re(O),T.push(de)}return{span:H.makeSpan(["stretchy"],T,r),minWidth:P,height:O}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=re(s),i>0&&(a.style.minWidth=re(i)),a},Y9=function(t,r,n,a,i){var s,u=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=H.makeSpan(["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 _u({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new _u({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new wr(l,{width:"100%",height:re(u)});s=H.makeSvgSpan([],[c],i)}return s.height=u,s.style.height=re(u),s},Cr={encloseSpan:Y9,mathMLnode:U9,svgSpan:$9};function Ee(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 $o(e){var t=Ys(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 Ys(e){return e&&(e.type==="atom"||g9.hasOwnProperty(e.type))?e:null}var Yo=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=Ee(e.base,"accent"),r=n.base,e.base=r,a=m9(_e(e,t)),e.base=n):(n=Ee(e,"accent"),r=n.base);var i=_e(r,t.havingCrampedStyle()),s=n.isShifty&&Oe.isCharacterBox(r),u=0;if(s){var o=Oe.getBaseElem(r),l=_e(o,t.havingCrampedStyle());u=o1(l).skew}var c=n.label==="\\c",f=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),p;if(n.isStretchy)p=Cr.svgSpan(n,t),p=H.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+re(2*u)+")",marginLeft:re(2*u)}:void 0}]},t);else{var m,b;n.label==="\\vec"?(m=H.staticSvg("vec",t),b=H.svgData.vec[1]):(m=H.makeOrd({mode:n.mode,text:n.label},t,"textord"),m=o1(m),m.italic=0,b=m.width,c&&(f+=m.depth)),p=H.makeSpan(["accent-body"],[m]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),f=i.height);var v=u;y||(v-=b/2),p.style.left=re(v),n.label==="\\textcircled"&&(p.style.top=".2em"),p=H.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-f},{type:"elem",elem:p}]},t)}var T=H.makeSpan(["mord","accent"],[p],t);return a?(a.children[0]=T,a.height=Math.max(T.height,a.height),a.classes[0]="mord",a):T},rm=(e,t)=>{var r=e.isStretchy?Cr.mathMLnode(e.label):new Q.MathNode("mo",[Vt(e.label,e.mode)]),n=new Q.MathNode("mover",[Fe(e.base,t),r]);return n.setAttribute("accent","true"),n},V9=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ie({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=ps(t[0]),n=!V9.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:Yo,mathmlBuilder:rm});ie({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:Yo,mathmlBuilder:rm});ie({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=_e(e.base,t),n=Cr.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,i=H.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},t);return H.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Cr.mathMLnode(e.label),n=new Q.MathNode("munder",[Fe(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Oi=e=>{var t=new Q.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ie({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=H.wrapFragment(_e(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=H.wrapFragment(_e(e.below,n,t),t),s.classes.push(i+"-arrow-pad"));var u=Cr.svgSpan(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=H.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:u,shift:o},{type:"elem",elem:s,shift:f}]},t)}else c=H.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:u,shift:o}]},t);return c.children[0].children[0].children[1].classes.push("svg-align"),H.makeSpan(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=Cr.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=Oi(Fe(e.body,t));if(e.below){var i=Oi(Fe(e.below,t));n=new Q.MathNode("munderover",[r,i,a])}else n=new Q.MathNode("mover",[r,a])}else if(e.below){var s=Oi(Fe(e.below,t));n=new Q.MathNode("munder",[r,s])}else n=Oi(),n=new Q.MathNode("mover",[r,n]);return n}});var W9=H.makeSpan;function nm(e,t){var r=st(e.body,t,!0);return W9([e.mclass],r,t)}function am(e,t){var r,n=Nt(e.body,t);return e.mclass==="minner"?r=new Q.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new Q.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new Q.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ie({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:Je(a),isCharacterBox:Oe.isCharacterBox(a)}},htmlBuilder:nm,mathmlBuilder:am});var Vs=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"};ie({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:Vs(t[0]),body:Je(t[1]),isCharacterBox:Oe.isCharacterBox(t[1])}}});ie({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=Vs(a):s="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Je(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:Oe.isCharacterBox(o)}},htmlBuilder:nm,mathmlBuilder:am});ie({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:Vs(t[0]),body:Je(t[0])}},htmlBuilder(e,t){var r=st(e.body,t,!0),n=H.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=Nt(e.body,t),n=new Q.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var G9={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},g1=()=>({type:"styling",body:[],mode:"math",style:"display"}),b1=e=>e.type==="textord"&&e.text==="@",X9=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function K9(e,t,r){var n=G9[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 Q9(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 J("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var s=t[i],u=g1(),o=0;o<s.length;o++)if(!b1(s[o]))u.body.push(s[o]);else{n.push(u),o+=1;var l=$o(s[o]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(l)>-1))if("<>AV".indexOf(l)>-1)for(var f=0;f<2;f++){for(var p=!0,m=o+1;m<s.length;m++){if(X9(s[m],l)){p=!1,o=m;break}if(b1(s[m]))throw new J("Missing a "+l+" character to complete a CD arrow.",s[m]);c[f].body.push(s[m])}if(p)throw new J("Missing a "+l+" character to complete a CD arrow.",s[o])}else throw new J('Expected one of "<>AV=|." after @',s[o]);var b=K9(l,c,e),y={type:"styling",body:[b],mode:"math",style:"display"};n.push(y),u=g1()}i%2===0?n.push(u):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var v=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:v,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}ie({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=H.wrapFragment(_e(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=re(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new Q.MathNode("mrow",[Fe(e.label,t)]);return r=new Q.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new Q.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});ie({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=H.wrapFragment(_e(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new Q.MathNode("mrow",[Fe(e.fragment,t)])}});ie({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Ee(t[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var u=Ee(a[s],"textord");i+=u.text}var o=parseInt(i),l;if(isNaN(o))throw new J("\\@char has non-numeric argument "+i);if(o<0||o>=1114111)throw new J("\\@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 im=(e,t)=>{var r=st(e.body,t.withColor(e.color),!1);return H.makeFragment(r)},sm=(e,t)=>{var r=Nt(e.body,t.withColor(e.color)),n=new Q.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ie({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Ee(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:Je(a)}},htmlBuilder:im,mathmlBuilder:sm});ie({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=Ee(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:im,mathmlBuilder:sm});ie({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&&Ee(a,"size").value}},htmlBuilder(e,t){var r=H.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=re(Xe(e.size,t)))),r},mathmlBuilder(e,t){var r=new Q.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",re(Xe(e.size,t)))),r}});var Lu={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},um=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new J("Expected a control sequence",e);return t},J9=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},om=(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)};ie({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(Lu[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=Lu[n.text]),Ee(t.parseFunction(),"internal");throw new J("Invalid token after macro prefix",n)}});ie({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 J("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 J('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new J('Argument number "'+n.text+'" out of order');i++,u.push([])}else{if(n.text==="EOF")throw new J("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===Lu[r]),{type:"internal",mode:t.mode}}});ie({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=um(t.gullet.popToken());t.gullet.consumeSpaces();var a=J9(t);return om(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});ie({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=um(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return om(t,n,i,r==="\\\\globalfuture"),t.gullet.pushToken(i),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var ka=function(t,r,n){var a=Ue.math[t]&&Ue.math[t].replace,i=zo(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},Vo=function(t,r,n,a){var i=n.havingBaseStyle(r),s=H.makeSpan(a.concat(i.sizingClasses(n)),[t],n),u=i.sizeMultiplier/n.sizeMultiplier;return s.height*=u,s.depth*=u,s.maxFontSize=i.sizeMultiplier,s},lm=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=re(i),t.height-=i,t.depth+=i},Z9=function(t,r,n,a,i,s){var u=H.makeSymbol(t,"Main-Regular",i,a),o=Vo(u,r,a,s);return n&&lm(o,a,r),o},ey=function(t,r,n,a){return H.makeSymbol(t,"Size"+r+"-Regular",n,a)},cm=function(t,r,n,a,i,s){var u=ey(t,r,i,a),o=Vo(H.makeSpan(["delimsizing","size"+r],[u],a),he.TEXT,a,s);return n&&lm(o,a,he.TEXT),o},D0=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=H.makeSpan(["delimsizinginner",a],[H.makeSpan([],[H.makeSymbol(t,r,n)])]);return{type:"elem",elem:i}},M0=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",i9(t,Math.round(1e3*r))),s=new wr([i],{width:re(a),height:re(r),style:"width:"+re(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),u=H.makeSvgSpan([],[s],n);return u.height=r,u.style.height=re(r),u.style.width=re(a),{type:"elem",elem:u}},Du=.008,Ri={type:"kern",size:-1*Du},ty=["|","\\lvert","\\rvert","\\vert"],ry=["\\|","\\lVert","\\rVert","\\Vert"],fm=function(t,r,n,a,i,s){var u,o,l,c,f="",p=0;u=l=c=t,o=null;var m="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"):ty.includes(t)?(l="∣",f="vert",p=333):ry.includes(t)?(l="∥",f="doublevert",p=556):t==="["||t==="\\lbrack"?(u="⎡",l="⎢",c="⎣",m="Size4-Regular",f="lbrack",p=667):t==="]"||t==="\\rbrack"?(u="⎤",l="⎥",c="⎦",m="Size4-Regular",f="rbrack",p=667):t==="\\lfloor"||t==="⌊"?(l=u="⎢",c="⎣",m="Size4-Regular",f="lfloor",p=667):t==="\\lceil"||t==="⌈"?(u="⎡",l=c="⎢",m="Size4-Regular",f="lceil",p=667):t==="\\rfloor"||t==="⌋"?(l=u="⎥",c="⎦",m="Size4-Regular",f="rfloor",p=667):t==="\\rceil"||t==="⌉"?(u="⎤",l=c="⎥",m="Size4-Regular",f="rceil",p=667):t==="("||t==="\\lparen"?(u="⎛",l="⎜",c="⎝",m="Size4-Regular",f="lparen",p=875):t===")"||t==="\\rparen"?(u="⎞",l="⎟",c="⎠",m="Size4-Regular",f="rparen",p=875):t==="\\{"||t==="\\lbrace"?(u="⎧",o="⎨",c="⎩",l="⎪",m="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(u="⎫",o="⎬",c="⎭",l="⎪",m="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(u="⎧",c="⎩",l="⎪",m="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(u="⎫",c="⎭",l="⎪",m="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(u="⎧",c="⎭",l="⎪",m="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(u="⎫",c="⎩",l="⎪",m="Size4-Regular");var b=ka(u,m,i),y=b.height+b.depth,v=ka(l,m,i),T=v.height+v.depth,w=ka(c,m,i),A=w.height+w.depth,P=0,B=1;if(o!==null){var O=ka(o,m,i);P=O.height+O.depth,B=2}var F=y+A+P,$=Math.max(0,Math.ceil((r-F)/(B*T))),j=F+$*B*T,D=a.fontMetrics().axisHeight;n&&(D*=a.sizeMultiplier);var X=j/2-D,G=[];if(f.length>0){var ce=j-y-A,de=Math.round(j*1e3),me=s9(f,Math.round(ce*1e3)),ve=new Yr(f,me),Re=(p/1e3).toFixed(3)+"em",De=(de/1e3).toFixed(3)+"em",Be=new wr([ve],{width:Re,height:De,viewBox:"0 0 "+p+" "+de}),N=H.makeSvgSpan([],[Be],a);N.height=de/1e3,N.style.width=Re,N.style.height=De,G.push({type:"elem",elem:N})}else{if(G.push(D0(c,m,i)),G.push(Ri),o===null){var Ce=j-y-A+2*Du;G.push(M0(l,Ce,a))}else{var Ae=(j-y-A-P)/2+2*Du;G.push(M0(l,Ae,a)),G.push(Ri),G.push(D0(o,m,i)),G.push(Ri),G.push(M0(l,Ae,a))}G.push(Ri),G.push(D0(u,m,i))}var L=a.havingBaseStyle(he.TEXT),$e=H.makeVList({positionType:"bottom",positionData:X,children:G},L);return Vo(H.makeSpan(["delimsizing","mult"],[$e],L),he.TEXT,a,s)},P0=80,F0=.08,B0=function(t,r,n,a,i){var s=a9(t,a,n),u=new Yr(t,s),o=new wr([u],{width:"400em",height:re(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return H.makeSvgSpan(["hide-tail"],[o],i)},ny=function(t,r){var n=r.havingBaseSizing(),a=pm("\\surd",t*n.sizeMultiplier,mm,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+P0,t<1?i=1:t<1.4&&(i=.7),o=(1+s+F0)/i,l=(1+s)/i,u=B0("sqrtMain",o,c,s,r),u.style.minWidth="0.853em",f=.833/i):a.type==="large"?(c=(1e3+P0)*Da[a.size],l=(Da[a.size]+s)/i,o=(Da[a.size]+s+F0)/i,u=B0("sqrtSize"+a.size,o,c,s,r),u.style.minWidth="1.02em",f=1/i):(o=t+s+F0,l=t+s,c=Math.floor(1e3*t+s)+P0,u=B0("sqrtTall",o,c,s,r),u.style.minWidth="0.742em",f=1.056),u.height=l,u.style.height=re(o),{span:u,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},hm=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],ay=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],dm=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Da=[0,1.2,1.8,2.4,3],iy=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),hm.includes(t)||dm.includes(t))return cm(t,r,!1,n,a,i);if(ay.includes(t))return fm(t,Da[r],!1,n,a,i);throw new J("Illegal delimiter: '"+t+"'")},sy=[{type:"small",style:he.SCRIPTSCRIPT},{type:"small",style:he.SCRIPT},{type:"small",style:he.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],uy=[{type:"small",style:he.SCRIPTSCRIPT},{type:"small",style:he.SCRIPT},{type:"small",style:he.TEXT},{type:"stack"}],mm=[{type:"small",style:he.SCRIPTSCRIPT},{type:"small",style:he.SCRIPT},{type:"small",style:he.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],oy=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},pm=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length&&n[s].type!=="stack";s++){var u=ka(t,oy(n[s]),"math"),o=u.height+u.depth;if(n[s].type==="small"){var l=a.havingBaseStyle(n[s].style);o*=l.sizeMultiplier}if(o>r)return n[s]}return n[n.length-1]},gm=function(t,r,n,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;dm.includes(t)?u=sy:hm.includes(t)?u=mm:u=uy;var o=pm(t,r,u,a);return o.type==="small"?Z9(t,o.style,n,a,i,s):o.type==="large"?cm(t,o.size,n,a,i,s):fm(t,r,n,a,i,s)},ly=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 gm(t,f,!0,a,i,s)},Sr={sqrtImage:ny,sizedDelim:iy,sizeToMaxHeight:Da,customSizedDelim:gm,leftRightDelim:ly},y1={"\\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}},cy=["(","\\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 Ws(e,t){var r=Ys(e);if(r&&cy.includes(r.text))return r;throw r?new J("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new J("Invalid delimiter type '"+e.type+"'",e)}ie({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=Ws(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:y1[e.funcName].size,mclass:y1[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?H.makeSpan([e.mclass]):Sr.sizedDelim(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 Q.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=re(Sr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function E1(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ie({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 J("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:Ws(t[0],e).text,color:r}}});ie({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Ws(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=Ee(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{E1(e);for(var r=st(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=Wa(t,["mopen"]):u=Sr.leftRightDelim(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]=Sr.leftRightDelim(c.delim,n,a,c.options,e.mode,[]))}var f;if(e.right===".")f=Wa(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;f=Sr.leftRightDelim(e.right,n,a,p,e.mode,["mclose"])}return r.push(f),H.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{E1(e);var r=Nt(e.body,t);if(e.left!=="."){var n=new Q.MathNode("mo",[Vt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new Q.MathNode("mo",[Vt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return jo(r)}});ie({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=Ws(t[0],e);if(!e.parser.leftrightDepth)throw new J("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Wa(t,[]);else{r=Sr.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Vt("|","text"):Vt(e.delim,e.mode),n=new Q.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Wo=(e,t)=>{var r=H.wrapFragment(_e(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,s=0,u=Oe.isCharacterBox(e.body);if(n==="sout")i=H.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var o=Xe({number:.6,unit:"pt"},t),l=Xe({number:.35,unit:"ex"},t),c=t.havingBaseSizing();a=a/c.sizeMultiplier;var f=r.height+r.depth+o+l;r.style.paddingLeft=re(f/2+o);var p=Math.floor(1e3*f*a),m=r9(p),b=new wr([new Yr("phase",m)],{width:"400em",height:re(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});i=H.makeSvgSpan(["hide-tail"],[b],t),i.style.height=re(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,v=0,T=0;/box/.test(n)?(T=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(n==="colorbox"?0:T),v=y):n==="angl"?(T=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*T,v=Math.max(0,.25-r.depth)):(y=u?.2:0,v=y),i=Cr.encloseSpan(r,n,y,v,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=re(T)):n==="angl"&&T!==.049&&(i.style.borderTopWidth=re(T),i.style.borderRightWidth=re(T)),s=r.depth+v,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var w;if(e.backgroundColor)w=H.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]},t);else{var A=/cancel|phase/.test(n)?["svg-align"]:[];w=H.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:A}]},t)}return/cancel/.test(n)&&(w.height=r.height,w.depth=r.depth),/cancel/.test(n)&&!u?H.makeSpan(["mord","cancel-lap"],[w],t):H.makeSpan(["mord"],[w],t)},Go=(e,t)=>{var r=0,n=new Q.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Fe(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: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ie({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ee(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:Wo,mathmlBuilder:Go});ie({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=Ee(t[0],"color-token").color,s=Ee(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:u}},htmlBuilder:Wo,mathmlBuilder:Go});ie({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]}}});ie({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\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:Wo,mathmlBuilder:Go});ie({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 bm={};function dr(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)bm[r[o]]=u;i&&(ds[t]=i),s&&(ms[t]=s)}var ym={};function x(e,t){ym[e]=t}function x1(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 Gs=e=>{var t=e.parser.settings;if(!t.displayMode)throw new J("{"+e.envName+"} can be used only in display mode.")};function Xo(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function Jr(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 m=e.gullet.expandMacroAsText("\\arraystretch");if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new J("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var b=[],y=[b],v=[],T=[],w=o!=null?[]:void 0;function A(){o&&e.gullet.macros.set("\\@eqnsw","1",!0)}function P(){w&&(e.gullet.macros.get("\\df@tag")?(w.push(e.subparse([new Pt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):w.push(!!o&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(A(),T.push(x1(e));;){var B=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),B={type:"ordgroup",mode:e.mode,body:B},r&&(B={type:"styling",mode:e.mode,style:r,body:[B]}),b.push(B);var O=e.fetch().text;if(O==="&"){if(f&&b.length===f){if(l||u)throw new J("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(O==="\\end"){P(),b.length===1&&B.type==="styling"&&B.body[0].body.length===0&&(y.length>1||!c)&&y.pop(),T.length<y.length+1&&T.push([]);break}else if(O==="\\\\"){e.consume();var F=void 0;e.gullet.future().text!==" "&&(F=e.parseSizeGroup(!0)),v.push(F?F.value:null),P(),T.push(x1(e)),b=[],y.push(b),A()}else throw new J("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:v,hskipBeforeAndAfter:n,hLinesBeforeRow:T,colSeparationType:u,tags:w,leqno:p}}function Ko(e){return e.slice(0,1)==="d"?"display":"text"}var mr=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 m=r.havingStyle(he.SCRIPT).sizeMultiplier;p=.2778*(m/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?Xe({number:3,unit:"ex"},r):12*f,y=3*f,v=t.arraystretch*b,T=.7*v,w=.3*v,A=0;function P(Cn){for(var en=0;en<Cn.length;++en)en>0&&(A+=.25),l.push({pos:A,isDashed:Cn[en]})}for(P(s[0]),n=0;n<t.body.length;++n){var B=t.body[n],O=T,F=w;u<B.length&&(u=B.length);var $=new Array(B.length);for(a=0;a<B.length;++a){var j=_e(B[a],r);F<j.depth&&(F=j.depth),O<j.height&&(O=j.height),$[a]=j}var D=t.rowGaps[n],X=0;D&&(X=Xe(D,r),X>0&&(X+=w,F<X&&(F=X),X=0)),t.addJot&&(F+=y),$.height=O,$.depth=F,A+=O,$.pos=A,A+=F+X,o[n]=$,P(s[n+1])}var G=A/2+r.fontMetrics().axisHeight,ce=t.cols||[],de=[],me,ve,Re=[];if(t.tags&&t.tags.some(Cn=>Cn))for(n=0;n<i;++n){var De=o[n],Be=De.pos-G,N=t.tags[n],Ce=void 0;N===!0?Ce=H.makeSpan(["eqn-num"],[],r):N===!1?Ce=H.makeSpan([],[],r):Ce=H.makeSpan([],st(N,r,!0),r),Ce.depth=De.depth,Ce.height=De.height,Re.push({type:"elem",elem:Ce,shift:Be})}for(a=0,ve=0;a<u||ve<ce.length;++a,++ve){for(var Ae=ce[ve]||{},L=!0;Ae.type==="separator";){if(L||(me=H.makeSpan(["arraycolsep"],[]),me.style.width=re(r.fontMetrics().doubleRuleSep),de.push(me)),Ae.separator==="|"||Ae.separator===":"){var $e=Ae.separator==="|"?"solid":"dashed",et=H.makeSpan(["vertical-separator"],[],r);et.style.height=re(A),et.style.borderRightWidth=re(c),et.style.borderRightStyle=$e,et.style.margin="0 "+re(-c/2);var Ye=A-G;Ye&&(et.style.verticalAlign=re(-Ye)),de.push(et)}else throw new J("Invalid separator type: "+Ae.separator);ve++,Ae=ce[ve]||{},L=!1}if(!(a>=u)){var bt=void 0;(a>0||t.hskipBeforeAndAfter)&&(bt=Oe.deflt(Ae.pregap,p),bt!==0&&(me=H.makeSpan(["arraycolsep"],[]),me.style.width=re(bt),de.push(me)));var tt=[];for(n=0;n<i;++n){var ut=o[n],ft=ut[a];if(ft){var zt=ut.pos-G;ft.depth=ut.depth,ft.height=ut.height,tt.push({type:"elem",elem:ft,shift:zt})}}tt=H.makeVList({positionType:"individualShift",children:tt},r),tt=H.makeSpan(["col-align-"+(Ae.align||"c")],[tt]),de.push(tt),(a<u-1||t.hskipBeforeAndAfter)&&(bt=Oe.deflt(Ae.postgap,p),bt!==0&&(me=H.makeSpan(["arraycolsep"],[]),me.style.width=re(bt),de.push(me)))}}if(o=H.makeSpan(["mtable"],de),l.length>0){for(var Ot=H.makeLineSpan("hline",r,c),Zr=H.makeLineSpan("hdashline",r,c),tr=[{type:"elem",elem:o,shift:0}];l.length>0;){var Ht=l.pop(),ma=Ht.pos-G;Ht.isDashed?tr.push({type:"elem",elem:Zr,shift:ma}):tr.push({type:"elem",elem:Ot,shift:ma})}o=H.makeVList({positionType:"individualShift",children:tr},r)}if(Re.length===0)return H.makeSpan(["mord"],[o],r);var kn=H.makeVList({positionType:"individualShift",children:Re},r);return kn=H.makeSpan(["tag"],[kn],r),H.makeFragment([o,kn])},fy={c:"center ",l:"left ",r:"right "},pr=function(t,r){for(var n=[],a=new Q.MathNode("mtd",[],["mtr-glue"]),i=new Q.MathNode("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 Q.MathNode("mtd",[Fe(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 Q.MathNode("mtr",o))}var c=new Q.MathNode("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",re(f));var p="",m="";if(t.cols&&t.cols.length>0){var b=t.cols,y="",v=!1,T=0,w=b.length;b[0].type==="separator"&&(p+="top ",T=1),b[b.length-1].type==="separator"&&(p+="bottom ",w-=1);for(var A=T;A<w;A++)b[A].type==="align"?(m+=fy[b[A].align],v&&(y+="none "),v=!0):b[A].type==="separator"&&v&&(y+=b[A].separator==="|"?"solid ":"dashed ",v=!1);c.setAttribute("columnalign",m.trim()),/[sd]/.test(y)&&c.setAttribute("columnlines",y.trim())}if(t.colSeparationType==="align"){for(var P=t.cols||[],B="",O=1;O<P.length;O++)B+=O%2?"0em ":"1em ";c.setAttribute("columnspacing",B.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 F="",$=t.hLinesBeforeRow;p+=$[0].length>0?"left ":"",p+=$[$.length-1].length>0?"right ":"";for(var j=1;j<$.length-1;j++)F+=$[j].length===0?"none ":$[j][0]?"dashed ":"solid ";return/[sd]/.test(F)&&c.setAttribute("rowlines",F.trim()),p!==""&&(c=new Q.MathNode("menclose",[c]),c.setAttribute("notation",p.trim())),t.arraystretch&&t.arraystretch<1&&(c=new Q.MathNode("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},Em=function(t,r){t.envName.indexOf("ed")===-1&&Gs(t);var n=[],a=t.envName.indexOf("at")>-1?"alignat":"align",i=t.envName==="split",s=Jr(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:Xo(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),u,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=Ee(r[0].body[f],"textord");c+=p.text}u=Number(c),o=u*2}var m=!o;s.body.forEach(function(T){for(var w=1;w<T.length;w+=2){var A=Ee(T[w],"styling"),P=Ee(A.body[0],"ordgroup");P.body.unshift(l)}if(m)o<T.length&&(o=T.length);else{var B=T.length/2;if(u<B)throw new J("Too many math in a row: "+("expected "+u+", but got "+B),T[0])}});for(var b=0;b<o;++b){var y="r",v=0;b%2===1?y="l":b>0&&m&&(v=1),n[b]={type:"align",align:y,pregap:v,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};dr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=Ys(t[0]),n=r?[t[0]]:Ee(t[0],"ordgroup").body,a=n.map(function(s){var u=$o(s),o=u.text;if("lcr".indexOf(o)!==-1)return{type:"align",align:o};if(o==="|")return{type:"separator",separator:"|"};if(o===":")return{type:"separator",separator:":"};throw new J("Unknown column alignment: "+o,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Jr(e.parser,i,Ko(e.envName))},htmlBuilder:mr,mathmlBuilder:pr});dr({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".indexOf(r)===-1)throw new J("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=Jr(e.parser,n,Ko(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:mr,mathmlBuilder:pr});dr({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=Jr(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:mr,mathmlBuilder:pr});dr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=Ys(t[0]),n=r?[t[0]]:Ee(t[0],"ordgroup").body,a=n.map(function(s){var u=$o(s),o=u.text;if("lc".indexOf(o)!==-1)return{type:"align",align:o};throw new J("Unknown column alignment: "+o,s)});if(a.length>1)throw new J("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=Jr(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new J("{subarray} can contain only one column");return i},htmlBuilder:mr,mathmlBuilder:pr});dr({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=Jr(e.parser,t,Ko(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:mr,mathmlBuilder:pr});dr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Em,htmlBuilder:mr,mathmlBuilder:pr});dr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&Gs(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Xo(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Jr(e.parser,t,"display")},htmlBuilder:mr,mathmlBuilder:pr});dr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Em,htmlBuilder:mr,mathmlBuilder:pr});dr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Gs(e);var t={autoTag:Xo(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Jr(e.parser,t,"display")},htmlBuilder:mr,mathmlBuilder:pr});dr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return Gs(e),Q9(e.parser)},htmlBuilder:mr,mathmlBuilder:pr});x("\\nonumber","\\gdef\\@eqnsw{0}");x("\\notag","\\nonumber");ie({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new J(e.funcName+" valid only within array environment")}});var T1=bm;ie({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 J("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=Ee(a.body[s],"textord").text;if(n==="\\begin"){if(!T1.hasOwnProperty(i))throw new J("No such environment: "+i,a);var u=T1[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,m=Ee(r.parseFunction(),"environment");if(m.name!==i)throw new J("Mismatch: \\begin{"+i+"} matched by \\end{"+m.name+"}",p);return f}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var xm=(e,t)=>{var r=e.font,n=t.withFont(r);return _e(e.body,n)},Tm=(e,t)=>{var r=e.font,n=t.withFont(r);return Fe(e.body,n)},v1={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ie({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=ps(t[0]),i=n;return i in v1&&(i=v1[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:xm,mathmlBuilder:Tm});ie({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],a=Oe.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:Vs(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}});ie({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:xm,mathmlBuilder:Tm});var vm=(e,t)=>{var r=t;return e==="display"?r=r.id>=he.SCRIPT.id?r.text():he.DISPLAY:e==="text"&&r.size===he.DISPLAY.size?r=he.TEXT:e==="script"?r=he.SCRIPT:e==="scriptscript"&&(r=he.SCRIPTSCRIPT),r},Qo=(e,t)=>{var r=vm(e.size,t.style),n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var s=_e(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=_e(e.denom,i,t),c,f,p;e.hasBarLine?(e.barSize?(f=Xe(e.barSize,t),c=H.makeLineSpan("frac-line",t,f)):c=H.makeLineSpan("frac-line",t),f=c.height,p=c.height):(c=null,f=0,p=t.fontMetrics().defaultRuleThickness);var m,b,y;r.size===he.DISPLAY.size||e.size==="display"?(m=t.fontMetrics().num1,f>0?b=3*p:b=7*p,y=t.fontMetrics().denom1):(f>0?(m=t.fontMetrics().num2,b=p):(m=t.fontMetrics().num3,b=3*p),y=t.fontMetrics().denom2);var v;if(c){var w=t.fontMetrics().axisHeight;m-s.depth-(w+.5*f)<b&&(m+=b-(m-s.depth-(w+.5*f))),w-.5*f-(l.height-y)<b&&(y+=b-(w-.5*f-(l.height-y)));var A=-(w-.5*f);v=H.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:c,shift:A},{type:"elem",elem:s,shift:-m}]},t)}else{var T=m-s.depth-(l.height-y);T<b&&(m+=.5*(b-T),y+=.5*(b-T)),v=H.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:s,shift:-m}]},t)}i=t.havingStyle(r),v.height*=i.sizeMultiplier/t.sizeMultiplier,v.depth*=i.sizeMultiplier/t.sizeMultiplier;var P;r.size===he.DISPLAY.size?P=t.fontMetrics().delim1:r.size===he.SCRIPTSCRIPT.size?P=t.havingStyle(he.SCRIPT).fontMetrics().delim2:P=t.fontMetrics().delim2;var B,O;return e.leftDelim==null?B=Wa(t,["mopen"]):B=Sr.customSizedDelim(e.leftDelim,P,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?O=H.makeSpan([]):e.rightDelim==null?O=Wa(t,["mclose"]):O=Sr.customSizedDelim(e.rightDelim,P,!0,t.havingStyle(r),e.mode,["mclose"]),H.makeSpan(["mord"].concat(i.sizingClasses(t)),[B,H.makeSpan(["mfrac"],[v]),O],t)},Jo=(e,t)=>{var r=new Q.MathNode("mfrac",[Fe(e.numer,t),Fe(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Xe(e.barSize,t);r.setAttribute("linethickness",re(n))}var a=vm(e.size,t.style);if(a.size!==t.style.size){r=new Q.MathNode("mstyle",[r]);var i=a.size===he.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var s=[];if(e.leftDelim!=null){var u=new Q.MathNode("mo",[new Q.TextNode(e.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),s.push(u)}if(s.push(r),e.rightDelim!=null){var o=new Q.MathNode("mo",[new Q.TextNode(e.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}return jo(s)}return r};ie({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],s,u=null,o=null,l="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,u="(",o=")";break;case"\\\\bracefrac":s=!1,u="\\{",o="\\}";break;case"\\\\brackfrac":s=!1,u="[",o="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":l="display";break;case"\\tfrac":case"\\tbinom":l="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:a,denom:i,hasBarLine:s,leftDelim:u,rightDelim:o,size:l,barSize:null}},htmlBuilder:Qo,mathmlBuilder:Jo});ie({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:a,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});ie({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 A1=["display","text","script","scriptscript"],S1=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ie({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=ps(t[0]),s=i.type==="atom"&&i.family==="open"?S1(i.text):null,u=ps(t[1]),o=u.type==="atom"&&u.family==="close"?S1(u.text):null,l=Ee(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var p="auto",m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var b=Ee(m.body[0],"textord");p=A1[Number(b.text)]}}else m=Ee(m,"textord"),p=A1[Number(m.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:c,barSize:f,leftDelim:s,rightDelim:o,size:p}},htmlBuilder:Qo,mathmlBuilder:Jo});ie({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:Ee(t[0],"size").value,token:a}}});ie({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=Ub(Ee(t[1],"infix").size),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,size:"auto"}},htmlBuilder:Qo,mathmlBuilder:Jo});var Am=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?_e(e.sup,t.havingStyle(r.sup()),t):_e(e.sub,t.havingStyle(r.sub()),t),a=Ee(e.base,"horizBrace")):a=Ee(e,"horizBrace");var i=_e(a.base,t.havingBaseStyle(he.DISPLAY)),s=Cr.svgSpan(a,t),u;if(a.isOver?(u=H.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]},t),u.children[0].children[0].children[1].classes.push("svg-align")):(u=H.makeVList({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]},t),u.children[0].children[0].children[0].classes.push("svg-align")),n){var o=H.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t);a.isOver?u=H.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.2},{type:"elem",elem:n}]},t):u=H.makeVList({positionType:"bottom",positionData:o.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:o}]},t)}return H.makeSpan(["mord",a.isOver?"mover":"munder"],[u],t)},hy=(e,t)=>{var r=Cr.mathMLnode(e.label);return new Q.MathNode(e.isOver?"mover":"munder",[Fe(e.base,t),r])};ie({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Am,mathmlBuilder:hy});ie({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=Ee(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Je(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=st(e.body,t,!1);return H.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Vr(e.body,t);return r instanceof Dt||(r=new Dt("mrow",[r])),r.setAttribute("href",e.href),r}});ie({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Ee(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:Je(u)}}});ie({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:Je(t[0])}},htmlBuilder(e,t){var r=st(e.body,t,!1);return H.makeFragment(r)},mathmlBuilder(e,t){return new Q.MathNode("mrow",Nt(e.body,t))}});ie({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=Ee(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 J("\\htmlData key/value '"+f+"' missing equals sign");var m=f.slice(0,p),b=f.slice(p+1);o["data-"+m.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:Je(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=st(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=H.makeSpan(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)=>Vr(e.body,t)});ie({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Je(t[0]),mathml:Je(t[1])}},htmlBuilder:(e,t)=>{var r=st(e.html,t,!1);return H.makeFragment(r)},mathmlBuilder:(e,t)=>Vr(e.mathml,t)});var z0=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 J("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!jd(n))throw new J("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ie({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=Ee(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=z0(p);break;case"height":i=z0(p);break;case"totalheight":s=z0(p);break;default:throw new J("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var m=Ee(t[0],"url").url;return u===""&&(u=m,u=u.replace(/^.*[\\/]/,""),u=u.substring(0,u.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:m})?{type:"includegraphics",mode:n.mode,alt:u,width:a,height:i,totalheight:s,src:m}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=Xe(e.height,t),n=0;e.totalheight.number>0&&(n=Xe(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=Xe(e.width,t));var i={height:re(r+n)};a>0&&(i.width=re(a)),n>0&&(i.verticalAlign=re(-n));var s=new h9(e.src,e.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new Q.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=Xe(e.height,t),a=0;if(e.totalheight.number>0&&(a=Xe(e.totalheight,t)-n,r.setAttribute("valign",re(-a))),r.setAttribute("height",re(n+a)),e.width.number>0){var i=Xe(e.width,t);r.setAttribute("width",re(i))}return r.setAttribute("src",e.src),r}});ie({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=Ee(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 H.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=Xe(e.dimension,t);return new Q.SpaceNode(r)}});ie({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=H.makeSpan([],[_e(e.body,t)]),r=H.makeSpan(["inner"],[r],t)):r=H.makeSpan(["inner"],[_e(e.body,t)]);var n=H.makeSpan(["fix"],[]),a=H.makeSpan([e.alignment],[r,n],t),i=H.makeSpan(["strut"]);return i.style.height=re(a.height+a.depth),a.depth&&(i.style.verticalAlign=re(-a.depth)),a.children.unshift(i),a=H.makeSpan(["thinbox"],[a],t),H.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new Q.MathNode("mpadded",[Fe(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}});ie({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}}});ie({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new J("Mismatched "+e.funcName)}});var w1=(e,t)=>{switch(t.style.size){case he.DISPLAY.size:return e.display;case he.TEXT.size:return e.text;case he.SCRIPT.size:return e.script;case he.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ie({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Je(t[0]),text:Je(t[1]),script:Je(t[2]),scriptscript:Je(t[3])}},htmlBuilder:(e,t)=>{var r=w1(e,t),n=st(r,t,!1);return H.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=w1(e,t);return Vr(r,t)}});var Sm=(e,t,r,n,a,i,s)=>{e=H.makeSpan([],[e]);var u=r&&Oe.isCharacterBox(r),o,l;if(t){var c=_e(t,n.havingStyle(a.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=_e(r,n.havingStyle(a.sub()),n);o={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var p;if(l&&o){var m=n.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+s;p=H.makeVList({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:re(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:re(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(o){var b=e.height-s;p=H.makeVList({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:re(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e}]},n)}else if(l){var y=e.depth+s;p=H.makeVList({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:re(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var v=[p];if(o&&i!==0&&!u){var T=H.makeSpan(["mspace"],[],n);T.style.marginRight=re(i),v.unshift(T)}return H.makeSpan(["mop","op-limits"],v,n)},wm=["\\smallint"],ua=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ee(e.base,"op"),a=!0):i=Ee(e,"op");var s=t.style,u=!1;s.size===he.DISPLAY.size&&i.symbol&&!wm.includes(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=H.makeSymbol(i.name,l,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),c.length>0){var f=o.italic,p=H.staticSvg(c+"Size"+(u?"2":"1"),t);o=H.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:p,shift:u?.08:0}]},t),i.name="\\"+c,o.classes.unshift("mop"),o.italic=f}}else if(i.body){var m=st(i.body,t,!0);m.length===1&&m[0]instanceof Yt?(o=m[0],o.classes[0]="mop"):o=H.makeSpan(["mop"],m,t)}else{for(var b=[],y=1;y<i.name.length;y++)b.push(H.mathsym(i.name[y],i.mode,t));o=H.makeSpan(["mop"],b,t)}var v=0,T=0;return(o instanceof Yt||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(v=(o.height-o.depth)/2-t.fontMetrics().axisHeight,T=o.italic),a?Sm(o,r,n,t,s,T,v):(v&&(o.style.position="relative",o.style.top=re(v)),o)},fi=(e,t)=>{var r;if(e.symbol)r=new Dt("mo",[Vt(e.name,e.mode)]),wm.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new Dt("mo",Nt(e.body,t));else{r=new Dt("mi",[new or(e.name.slice(1))]);var n=new Dt("mo",[Vt("","text")]);e.parentIsSupSub?r=new Dt("mrow",[r,n]):r=Zd([r,n])}return r},dy={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ie({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=dy[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:ua,mathmlBuilder:fi});ie({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:Je(n)}},htmlBuilder:ua,mathmlBuilder:fi});var my={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ie({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});ie({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});ie({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=my[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:ua,mathmlBuilder:fi});var km=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=Ee(e.base,"operatorname"),a=!0):i=Ee(e,"operatorname");var s;if(i.body.length>0){for(var u=i.body.map(f=>{var p=f.text;return typeof p=="string"?{type:"textord",mode:f.mode,text:p}:f}),o=st(u,t.withFont("mathrm"),!0),l=0;l<o.length;l++){var c=o[l];c instanceof Yt&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=H.makeSpan(["mop"],o,t)}else s=H.makeSpan(["mop"],[],t);return a?Sm(s,r,n,t,t.style,0,0):s},py=(e,t)=>{for(var r=Nt(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof Q.SpaceNode))if(i instanceof Q.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof Q.TextNode?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 Q.TextNode(u)]}var o=new Q.MathNode("mi",r);o.setAttribute("mathvariant","normal");var l=new Q.MathNode("mo",[Vt("","text")]);return e.parentIsSupSub?new Q.MathNode("mrow",[o,l]):Q.newDocumentFragment([o,l])};ie({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:Je(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:km,mathmlBuilder:py});x("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");An({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?H.makeFragment(st(e.body,t,!1)):H.makeSpan(["mord"],st(e.body,t,!0),t)},mathmlBuilder(e,t){return Vr(e.body,t,!0)}});ie({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=_e(e.body,t.havingCrampedStyle()),n=H.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=H.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},t);return H.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new Q.MathNode("mo",[new Q.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new Q.MathNode("mover",[Fe(e.body,t),r]);return n.setAttribute("accent","true"),n}});ie({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:Je(n)}},htmlBuilder:(e,t)=>{var r=st(e.body,t.withPhantom(),!1);return H.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=Nt(e.body,t);return new Q.MathNode("mphantom",r)}});ie({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=H.makeSpan([],[_e(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=H.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),H.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=Nt(Je(e.body),t),n=new Q.MathNode("mphantom",r),a=new Q.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});ie({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=H.makeSpan(["inner"],[_e(e.body,t.withPhantom())]),n=H.makeSpan(["fix"],[]);return H.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=Nt(Je(e.body),t),n=new Q.MathNode("mphantom",r),a=new Q.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}});ie({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Ee(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=_e(e.body,t),n=Xe(e.dy,t);return H.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new Q.MathNode("mpadded",[Fe(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});ie({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});ie({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=Ee(t[0],"size"),s=Ee(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&Ee(a,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=H.makeSpan(["mord","rule"],[],t),n=Xe(e.width,t),a=Xe(e.height,t),i=e.shift?Xe(e.shift,t):0;return r.style.borderRightWidth=re(n),r.style.borderTopWidth=re(a),r.style.bottom=re(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Xe(e.width,t),n=Xe(e.height,t),a=e.shift?Xe(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new Q.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",re(r)),s.setAttribute("height",re(n));var u=new Q.MathNode("mpadded",[s]);return a>=0?u.setAttribute("height",re(a)):(u.setAttribute("height",re(a)),u.setAttribute("depth",re(-a))),u.setAttribute("voffset",re(a)),u}});function Cm(e,t,r){for(var n=st(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 H.makeFragment(n)}var k1=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],gy=(e,t)=>{var r=t.havingSize(e.size);return Cm(e.body,r,t)};ie({type:"sizing",names:k1,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:k1.indexOf(n)+1,body:i}},htmlBuilder:gy,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=Nt(e.body,r),a=new Q.MathNode("mstyle",n);return a.setAttribute("mathsize",re(r.sizeMultiplier)),a}});ie({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]&&Ee(r[0],"ordgroup");if(s)for(var u="",o=0;o<s.body.length;++o){var l=s.body[o];if(u=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=H.makeSpan([],[_e(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].depth=0;var i=H.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return H.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new Q.MathNode("mpadded",[Fe(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});ie({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=_e(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=H.wrapFragment(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<he.TEXT.id&&(i=t.fontMetrics().xHeight);var s=a+i/4,u=r.height+r.depth+s+a,{span:o,ruleWidth:l,advanceWidth:c}=Sr.sqrtImage(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=re(c);var m=H.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:o},{type:"kern",size:l}]},t);if(e.index){var b=t.havingStyle(he.SCRIPTSCRIPT),y=_e(e.index,b,t),v=.6*(m.height-m.depth),T=H.makeVList({positionType:"shift",positionData:-v,children:[{type:"elem",elem:y}]},t),w=H.makeSpan(["root"],[T]);return H.makeSpan(["mord","sqrt"],[w,m],t)}else return H.makeSpan(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new Q.MathNode("mroot",[Fe(r,t),Fe(n,t)]):new Q.MathNode("msqrt",[Fe(r,t)])}});var C1={display:he.DISPLAY,text:he.TEXT,script:he.SCRIPT,scriptscript:he.SCRIPTSCRIPT};ie({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=C1[e.style],n=t.havingStyle(r).withFont("");return Cm(e.body,n,t)},mathmlBuilder(e,t){var r=C1[e.style],n=t.havingStyle(r),a=Nt(e.body,n),i=new Q.MathNode("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 by=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===he.DISPLAY.size||n.alwaysHandleSupSub);return a?ua:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===he.DISPLAY.size||n.limits);return i?km:null}else{if(n.type==="accent")return Oe.isCharacterBox(n.base)?Yo:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Am:null}else return null}else return null};An({type:"supsub",htmlBuilder(e,t){var r=by(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,s=_e(n,t),u,o,l=t.fontMetrics(),c=0,f=0,p=n&&Oe.isCharacterBox(n);if(a){var m=t.havingStyle(t.style.sup());u=_e(a,m,t),p||(c=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(i){var b=t.havingStyle(t.style.sub());o=_e(i,b,t),p||(f=s.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var y;t.style===he.DISPLAY?y=l.sup1:t.style.cramped?y=l.sup3:y=l.sup2;var v=t.sizeMultiplier,T=re(.5/l.ptPerEm/v),w=null;if(o){var A=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof Yt||A)&&(w=re(-s.italic))}var P;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 F=.8*l.xHeight-(c-u.depth);F>0&&(c+=F,f-=F)}var $=[{type:"elem",elem:o,shift:f,marginRight:T,marginLeft:w},{type:"elem",elem:u,shift:-c,marginRight:T}];P=H.makeVList({positionType:"individualShift",children:$},t)}else if(o){f=Math.max(f,l.sub1,o.height-.8*l.xHeight);var j=[{type:"elem",elem:o,marginLeft:w,marginRight:T}];P=H.makeVList({positionType:"shift",positionData:f,children:j},t)}else if(u)c=Math.max(c,y,u.depth+.25*l.xHeight),P=H.makeVList({positionType:"shift",positionData:-c,children:[{type:"elem",elem:u,marginRight:T}]},t);else throw new Error("supsub must have either sup or sub.");var D=Ou(s,"right")||"mord";return H.makeSpan([D],[s,H.makeSpan(["msupsub"],[P])],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=[Fe(e.base,t)];e.sub&&i.push(Fe(e.sub,t)),e.sup&&i.push(Fe(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===he.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===he.DISPLAY||l.limits)?s="munderover":s="msubsup"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===he.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===he.DISPLAY)?s="munder":s="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===he.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===he.DISPLAY)?s="mover":s="msup"}return new Q.MathNode(s,i)}});An({type:"atom",htmlBuilder(e,t){return H.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new Q.MathNode("mo",[Vt(e.text,e.mode)]);if(e.family==="bin"){var n=qo(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 Im={mi:"italic",mn:"normal",mtext:"normal"};An({type:"mathord",htmlBuilder(e,t){return H.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new Q.MathNode("mi",[Vt(e.text,e.mode,t)]),n=qo(e,t)||"italic";return n!==Im[r.type]&&r.setAttribute("mathvariant",n),r}});An({type:"textord",htmlBuilder(e,t){return H.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=Vt(e.text,e.mode,t),n=qo(e,t)||"normal",a;return e.mode==="text"?a=new Q.MathNode("mtext",[r]):/[0-9]/.test(e.text)?a=new Q.MathNode("mn",[r]):e.text==="\\prime"?a=new Q.MathNode("mo",[r]):a=new Q.MathNode("mi",[r]),n!==Im[a.type]&&a.setAttribute("mathvariant",n),a}});var H0={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},U0={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};An({type:"spacing",htmlBuilder(e,t){if(U0.hasOwnProperty(e.text)){var r=U0[e.text].className||"";if(e.mode==="text"){var n=H.makeOrd(e,t,"textord");return n.classes.push(r),n}else return H.makeSpan(["mspace",r],[H.mathsym(e.text,e.mode,t)],t)}else{if(H0.hasOwnProperty(e.text))return H.makeSpan(["mspace",H0[e.text]],[],t);throw new J('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(U0.hasOwnProperty(e.text))r=new Q.MathNode("mtext",[new Q.TextNode(" ")]);else{if(H0.hasOwnProperty(e.text))return new Q.MathNode("mspace");throw new J('Unknown type of space "'+e.text+'"')}return r}});var I1=()=>{var e=new Q.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};An({type:"tag",mathmlBuilder(e,t){var r=new Q.MathNode("mtable",[new Q.MathNode("mtr",[I1(),new Q.MathNode("mtd",[Vr(e.body,t)]),I1(),new Q.MathNode("mtd",[Vr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var _1={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},N1={"\\textbf":"textbf","\\textmd":"textmd"},yy={"\\textit":"textit","\\textup":"textup"},O1=(e,t)=>{var r=e.font;if(r){if(_1[r])return t.withTextFontFamily(_1[r]);if(N1[r])return t.withTextFontWeight(N1[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(yy[r])};ie({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:Je(a),font:n}},htmlBuilder(e,t){var r=O1(e,t),n=st(e.body,r,!0);return H.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=O1(e,t);return Vr(e.body,r)}});ie({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=_e(e.body,t),n=H.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=H.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},t);return H.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new Q.MathNode("mo",[new Q.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new Q.MathNode("munder",[Fe(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});ie({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=_e(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return H.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new Q.MathNode("mpadded",[Fe(e.body,t)],["vcenter"])}});ie({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new J("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=R1(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(H.makeSymbol(s,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return H.makeSpan(["mord","text"].concat(a.sizingClasses(t)),H.tryCombineChars(n),a)},mathmlBuilder(e,t){var r=new Q.TextNode(R1(e)),n=new Q.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var R1=e=>e.body.replace(/ /g,e.star?"␣":" "),jr=Qd,_m=`[ \r
|
|
282
|
+
]`,Ey="\\\\[a-zA-Z@]+",xy="\\\\[^\uD800-\uDFFF]",Ty="("+Ey+")"+_m+"*",vy=`\\\\(
|
|
283
|
+
|[ \r ]+
|
|
284
|
+
?)[ \r ]*`,Mu="[̀-ͯ]",Ay=new RegExp(Mu+"+$"),Sy="("+_m+"+)|"+(vy+"|")+"([!-\\[\\]-‧-豈-]"+(Mu+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Mu+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Ty)+("|"+xy+")");class L1{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(Sy,"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 wt(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new J("Unexpected character: '"+t[r]+"'",new Pt(t[r],new wt(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
|
|
285
|
+
`,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 wt(this,r,this.tokenRegex.lastIndex))}}class wy{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new J("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 ky=ym;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 D1={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="";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 J("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=D1[t.text],n==null||n>=r)throw new J("Invalid base-"+r+" digit "+t.text);for(var a;(a=D1[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var Zo=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new J("\\newcommand's first argument must be a macro name");var i=a[0].text,s=e.isDefined(i);if(s&&!t)throw new J("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new J("\\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 J("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=>Zo(e,!1,!0,!1));x("\\renewcommand",e=>Zo(e,!0,!1,!1));x("\\providecommand",e=>Zo(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],Ue.math[r],Ue.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("·","\\cdotp");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}}{\\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("️","\\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 M1={",":"\\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"};x("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in M1?t=M1[r]:(r.slice(0,4)==="\\not"||r in Ue.math&&["bin","rel"].includes(Ue.math[r].group))&&(t="\\dotsb"),t});var el={")":!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 el?"\\ldots\\,":"\\ldots"});x("\\dotsc",function(e){var t=e.future().text;return t in el&&t!==","?"\\ldots\\,":"\\ldots"});x("\\cdots",function(e){var t=e.future().text;return t in el?"\\@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 J("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 Nm=re(ur["Main-Regular"][84][1]-.7*ur["Main-Regular"][65][1]);x("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Nm+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");x("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Nm+"}{\\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 Om=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 m=f;if(!f&&a.length){var b=p.future();b.text==="|"&&(p.popToken(),m=!0)}return{tokens:m?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",Om(!1));x("\\bra@set",Om(!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 Rm={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Cy{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new wy(ky,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new L1(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("",wt.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 J("Extra }",i)}else if(i.text==="EOF")throw new J("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 J("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 J("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 J("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 J("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 J("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 J("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}throw new Error}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.indexOf("#")!==-1)for(var s=a.replace(/##/g,"");s.indexOf("#"+(i+1))!==-1;)++i;for(var u=new L1(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)||Ue.math.hasOwnProperty(t)||Ue.text.hasOwnProperty(t)||Rm.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 P1=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Li=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),j0={"́":{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"}},F1={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let Lm=class Dm{constructor(t,r){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode="math",this.gullet=new Cy(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new J("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(Dm.endOfExpression.indexOf(a.text)!==-1||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++)if(t[a].type==="infix"){if(r!==-1)throw new J("only one infix operator per group",t[a].token);r=a,n=t[a].replaceWith}if(r!==-1&&n){var i,s,u=t.slice(0,r),o=t.slice(r+1);u.length===1&&u[0].type==="ordgroup"?i=u[0]:i={type:"ordgroup",mode:this.mode,body:u},o.length===1&&o[0].type==="ordgroup"?s=o[0]:s={type:"ordgroup",mode:this.mode,body:o};var l;return n==="\\\\abovefrac"?l=this.callFunction(n,[i,t[r],s],[]):l=this.callFunction(n,[i,s],[]),[l]}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 J("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 J("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new J("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new J("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new J("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(Li[i.text]){var l=P1.test(i.text),c=[];for(c.push(new Pt(Li[i.text])),this.consume();;){var f=this.fetch().text;if(!Li[f]||P1.test(f)!==l)break;c.unshift(new Pt(Li[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 J("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new J("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new J("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 J("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;(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 J("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 J("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new J("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new J("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 J("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 J("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 J("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!jd(i))throw new J("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:wt.range(n,o),body:u,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!Rm.hasOwnProperty(a)){if(this.settings.throwOnError)throw new J("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],i=a.text;i==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:wt.range(a,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:wt.range(a,t[n+1]),text:"--"}),r-=1)),(i==="'"||i==="`")&&t[n+1].text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:wt.range(a,t[n+1]),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 J(`\\verb assertion failed --
|
|
286
|
+
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}F1.hasOwnProperty(r[0])&&!Ue[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=F1[r[0]]+r.slice(1));var i=Ay.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(Ue[this.mode][r]){this.settings.strict&&this.mode==="math"&&Nu.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var u=Ue[this.mode][r].group,o=wt.range(t),l;if(p9.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&&(Ud(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:wt.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(!j0[p])throw new J("Unknown accent ' "+p+"'",t);var m=j0[p][this.mode]||j0[p].text;if(!m)throw new J("Accent "+p+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:wt.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}};Lm.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var tl=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new Lm(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 J("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new Pt("\\df@tag")])}]}return a},Mm=function(t,r,n){r.textContent="";var a=rl(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."),Mm=function(){throw new J("KaTeX doesn't work in quirks mode.")});var Iy=function(t,r){var n=rl(t,r).toMarkup();return n},_y=function(t,r){var n=new Fo(r);return tl(t,n)},Pm=function(t,r,n){if(n.throwOnError||!(t instanceof J))throw t;var a=H.makeSpan(["katex-error"],[new Yt(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},rl=function(t,r){var n=new Fo(r);try{var a=tl(t,n);return B9(a,t,n)}catch(i){return Pm(i,t,n)}},Ny=function(t,r){var n=new Fo(r);try{var a=tl(t,n);return z9(a,t,n)}catch(i){return Pm(i,t,n)}},Oy="0.16.27",Ry={Span:ci,Anchor:Ho,SymbolNode:Yt,SvgNode:wr,PathNode:Yr,LineNode:_u},B1={version:Oy,render:Mm,renderToString:Iy,ParseError:J,SETTINGS_SCHEMA:Qi,__parse:_y,__renderToDomTree:rl,__renderToHTMLTree:Ny,__setFontMetrics:u9,__defineSymbol:d,__defineFunction:ie,__defineMacro:x,__domTree:Ry};const Ly={};function Dy(e){const t=this,r=e||Ly,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(Lb(r)),i.push(wb()),s.push(kb(r))}function z1(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 My(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Fm(e,t,r){const a=ui((r||{}).ignore||[]),i=Py(t);let s=-1;for(;++s<i.length;)Mo(e,"text",u);function u(l,c){let f=-1,p;for(;++f<c.length;){const m=c[f],b=p?p.children:void 0;if(a(m,b?b.indexOf(m):void 0,p))return;p=m}if(p)return o(l,c)}function o(l,c){const f=c[c.length-1],p=i[s][0],m=i[s][1];let b=0;const v=f.children.indexOf(l);let T=!1,w=[];p.lastIndex=0;let A=p.exec(l.value);for(;A;){const P=A.index,B={index:A.index,input:A.input,stack:[...c,l]};let O=m(...A,B);if(typeof O=="string"&&(O=O.length>0?{type:"text",value:O}:void 0),O===!1?p.lastIndex=P+1:(b!==P&&w.push({type:"text",value:l.value.slice(b,P)}),Array.isArray(O)?w.push(...O):O&&w.push(O),b=P+A[0].length,T=!0),!p.global)break;A=p.exec(l.value)}return T?(b<l.value.length&&w.push({type:"text",value:l.value.slice(b)}),f.children.splice(v,1,...w)):w=[l],v+w.length}}function Py(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([Fy(a[0]),By(a[1])])}return t}function Fy(e){return typeof e=="string"?new RegExp(My(e),"g"):e}function By(e){return typeof e=="function"?e:function(){return e}}const q0="phrasing",$0=["autolink","link","image","label"];function zy(){return{transforms:[Vy],enter:{literalAutolink:Uy,literalAutolinkEmail:Y0,literalAutolinkHttp:Y0,literalAutolinkWww:Y0},exit:{literalAutolink:Yy,literalAutolinkEmail:$y,literalAutolinkHttp:jy,literalAutolinkWww:qy}}}function Hy(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:q0,notInConstruct:$0},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:q0,notInConstruct:$0},{character:":",before:"[ps]",after:"\\/",inConstruct:q0,notInConstruct:$0}]}}function Uy(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function Y0(e){this.config.enter.autolinkProtocol.call(this,e)}function jy(e){this.config.exit.autolinkProtocol.call(this,e)}function qy(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 $y(e){this.config.exit.autolinkEmail.call(this,e)}function Yy(e){this.exit(e)}function Vy(e){Fm(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,Wy],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,Gy]],{ignore:["link","linkReference"]})}function Wy(e,t,r,n,a){let i="";if(!Bm(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!Xy(r)))return!1;const s=Ky(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 Gy(e,t,r,n){return!Bm(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function Xy(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 Ky(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=z1(e,"(");let i=z1(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 Bm(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||yn(r)||Bs(r))&&(!t||r!==47)}zm.peek=iE;function Qy(){this.buffer()}function Jy(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function Zy(){this.buffer()}function eE(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function tE(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Jt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function rE(e){this.exit(e)}function nE(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=Jt(this.sliceSerialize(e)).toLowerCase(),r.label=t}function aE(e){this.exit(e)}function iE(){return"["}function zm(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 sE(){return{enter:{gfmFootnoteCallString:Qy,gfmFootnoteCall:Jy,gfmFootnoteDefinitionLabelString:Zy,gfmFootnoteDefinition:eE},exit:{gfmFootnoteCallString:tE,gfmFootnoteCall:rE,gfmFootnoteDefinitionLabelString:nE,gfmFootnoteDefinition:aE}}}function uE(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:zm},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?`
|
|
287
|
+
`:" ")+i.indentLines(i.containerFlow(n,u.current()),t?Hm:oE))),l(),o}}function oE(e,t,r){return t===0?e:Hm(e,t,r)}function Hm(e,t,r){return(r?"":" ")+e}const lE=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];Um.peek=mE;function cE(){return{canContainEols:["delete"],enter:{strikethrough:hE},exit:{strikethrough:dE}}}function fE(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:lE}],handlers:{delete:Um}}}function hE(e){this.enter({type:"delete",children:[]},e)}function dE(e){this.exit(e)}function Um(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(e,ot(te({},a.current()),{before:s,after:"~"})),s+=a.move("~~"),i(),s}function mE(){return"~"}function pE(e){return e.length}function gE(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||pE,i=[],s=[],u=[],o=[];let l=0,c=-1;for(;++c<e.length;){const y=[],v=[];let T=-1;for(e[c].length>l&&(l=e[c].length);++T<e[c].length;){const w=bE(e[c][T]);if(r.alignDelimiters!==!1){const A=a(w);v[T]=A,(o[T]===void 0||A>o[T])&&(o[T]=A)}y.push(w)}s[c]=y,u[c]=v}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)i[f]=H1(n[f]);else{const y=H1(n);for(;++f<l;)i[f]=y}f=-1;const p=[],m=[];for(;++f<l;){const y=i[f];let v="",T="";y===99?(v=":",T=":"):y===108?v=":":y===114&&(T=":");let w=r.alignDelimiters===!1?1:Math.max(1,o[f]-v.length-T.length);const A=v+"-".repeat(w)+T;r.alignDelimiters!==!1&&(w=v.length+w+T.length,w>o[f]&&(o[f]=w),m[f]=w),p[f]=A}s.splice(1,0,p),u.splice(1,0,m),c=-1;const b=[];for(;++c<s.length;){const y=s[c],v=u[c];f=-1;const T=[];for(;++f<l;){const w=y[f]||"";let A="",P="";if(r.alignDelimiters!==!1){const B=o[f]-(v[f]||0),O=i[f];O===114?A=" ".repeat(B):O===99?B%2?(A=" ".repeat(B/2+.5),P=" ".repeat(B/2-.5)):(A=" ".repeat(B/2),P=A):P=" ".repeat(B)}r.delimiterStart!==!1&&!f&&T.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&w==="")&&(r.delimiterStart!==!1||f)&&T.push(" "),r.alignDelimiters!==!1&&T.push(A),T.push(w),r.alignDelimiters!==!1&&T.push(P),r.padding!==!1&&T.push(" "),(r.delimiterEnd!==!1||f!==l-1)&&T.push("|")}b.push(r.delimiterEnd===!1?T.join("").replace(/ +$/,""):T.join(""))}return b.join(`
|
|
288
|
+
`)}function bE(e){return e==null?"":String(e)}function H1(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 U1={}.hasOwnProperty;function jm(e,t){const r=t||{};function n(a,...i){let s=n.invalid;const u=n.handlers;if(a&&U1.call(a,e)){const o=String(a[e]);s=U1.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 yE(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()),EE);return a(),s}function EE(e,t,r){return">"+(r?"":" ")+e}function xE(e,t){return j1(e,t.inConstruct,!0)&&!j1(e,t.notInConstruct,!1)}function j1(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 q1(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
|
|
289
|
+
`&&xE(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
|
290
|
+
`}function TE(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 AE(e,t,r,n){const a=vE(r),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(TE(e,r)){const f=r.enter("codeIndented"),p=r.indentLines(i,SE);return f(),p}const u=r.createTracker(n),o=a.repeat(Math.max(zd(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,te({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,te({before:c,after:`
|
|
291
|
+
`,encode:["`"]},u.current()))),f()}return c+=u.move(`
|
|
292
|
+
`),i&&(c+=u.move(i+`
|
|
293
|
+
`)),c+=u.move(o),l(),c}function SE(e,t,r){return(r?"":" ")+e}function nl(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 wE(e,t,r,n){const a=nl(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),te({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,te({before:l,after:">"},o.current()))),l+=o.move(">")):(u=r.enter("destinationRaw"),l+=o.move(r.safe(e.url,te({before:l,after:e.title?" ":`
|
|
294
|
+
`},o.current())))),u(),e.title&&(u=r.enter(`title${i}`),l+=o.move(" "+a),l+=o.move(r.safe(e.title,te({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 Ga(e){return"&#x"+e.toString(16).toUpperCase()+";"}function gs(e,t,r){const n=Gn(e),a=Gn(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}}qm.peek=CE;function qm(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,te({after:a,before:u},s.current())));const l=o.charCodeAt(0),c=gs(n.before.charCodeAt(n.before.length-1),l,a);c.inside&&(o=Ga(l)+o.slice(1));const f=o.charCodeAt(o.length-1),p=gs(n.after.charCodeAt(0),f,a);p.inside&&(o=o.slice(0,-1)+Ga(f));const m=s.move(a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},u+o+m}function CE(e,t,r){return r.options.emphasis||"*"}function IE(e,t){let r=!1;return js(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,Au}),!!((!e.depth||e.depth<3)&&Io(e)&&(t.options.setext||r))}function _E(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(IE(e,r)){const c=r.enter("headingSetext"),f=r.enter("phrasing"),p=r.containerPhrasing(e,ot(te({},i.current()),{before:`
|
|
295
|
+
`,after:`
|
|
296
|
+
`}));return f(),c(),p+`
|
|
297
|
+
`+(a===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
|
|
298
|
+
`))+1))}const s="#".repeat(a),u=r.enter("headingAtx"),o=r.enter("phrasing");i.move(s+" ");let l=r.containerPhrasing(e,te({before:"# ",after:`
|
|
299
|
+
`},i.current()));return/^[\t ]/.test(l)&&(l=Ga(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,r.options.closeAtx&&(l+=" "+s),o(),u(),l}$m.peek=NE;function $m(e){return e.value||""}function NE(){return"<"}Ym.peek=OE;function Ym(e,t,r,n){const a=nl(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,te({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,te({before:l,after:">"},o.current()))),l+=o.move(">")):(u=r.enter("destinationRaw"),l+=o.move(r.safe(e.url,te({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,te({before:l,after:a},o.current()))),l+=o.move(a),u()),l+=o.move(")"),s(),l}function OE(){return"!"}Vm.peek=RE;function Vm(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,te({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),te({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 RE(){return"!"}Wm.peek=LE;function Wm(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 LE(){return"`"}function Gm(e,t){const r=Io(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))}Xm.peek=DE;function Xm(e,t,r,n){const a=nl(r),i=a==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let u,o;if(Gm(e,r)){const c=r.stack;r.stack=[],u=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(e,te({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,te({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,te({before:l,after:">"},s.current()))),l+=s.move(">")):(o=r.enter("destinationRaw"),l+=s.move(r.safe(e.url,te({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,te({before:l,after:a},s.current()))),l+=s.move(a),o()),l+=s.move(")"),u(),l}function DE(e,t,r){return Gm(e,r)?"<":"["}Km.peek=ME;function Km(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,te({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),te({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 ME(){return"["}function al(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 PE(e){const t=al(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 FE(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 Qm(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 BE(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let s=e.ordered?FE(r):al(r);const u=e.ordered?s==="."?")":".":PE(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),Qm(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 zE(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 HE(e,t,r,n){const a=zE(r);let i=r.bulletCurrent||al(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,m){return p?(m?"":" ".repeat(s))+f:(m?i:i+" ".repeat(s-i.length))+f}}function UE(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),s=r.containerPhrasing(e,n);return i(),a(),s}const jE=ui(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function qE(e,t,r,n){return(e.children.some(function(s){return jE(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function $E(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Jm.peek=YE;function Jm(e,t,r,n){const a=$E(r),i=r.enter("strong"),s=r.createTracker(n),u=s.move(a+a);let o=s.move(r.containerPhrasing(e,te({after:a,before:u},s.current())));const l=o.charCodeAt(0),c=gs(n.before.charCodeAt(n.before.length-1),l,a);c.inside&&(o=Ga(l)+o.slice(1));const f=o.charCodeAt(o.length-1),p=gs(n.after.charCodeAt(0),f,a);p.inside&&(o=o.slice(0,-1)+Ga(f));const m=s.move(a+a);return i(),r.attentionEncodeSurroundingInfo={after:p.outside,before:c.outside},u+o+m}function YE(e,t,r){return r.options.strong||"*"}function VE(e,t,r,n){return r.safe(e.value,n)}function WE(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 GE(e,t,r){const n=(Qm(r)+(r.options.ruleSpaces?" ":"")).repeat(WE(r));return r.options.ruleSpaces?n.slice(0,-1):n}const Zm={blockquote:yE,break:q1,code:AE,definition:wE,emphasis:qm,hardBreak:q1,heading:_E,html:$m,image:Ym,imageReference:Vm,inlineCode:Wm,link:Xm,linkReference:Km,list:BE,listItem:HE,paragraph:UE,root:qE,strong:Jm,text:VE,thematicBreak:GE};function XE(){return{enter:{table:KE,tableData:$1,tableHeader:$1,tableRow:JE},exit:{codeText:ZE,table:QE,tableData:V0,tableHeader:V0,tableRow:V0}}}function KE(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 QE(e){this.exit(e),this.data.inTable=void 0}function JE(e){this.enter({type:"tableRow",children:[]},e)}function V0(e){this.exit(e)}function $1(e){this.enter({type:"tableCell",children:[]},e)}function ZE(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,ex));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function ex(e,t){return t==="|"?t:e}function tx(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
300
|
+
`,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(m,b,y,v){return l(c(m,y,v),m.align)}function u(m,b,y,v){const T=f(m,y,v),w=l([T]);return w.slice(0,w.indexOf(`
|
|
301
|
+
`))}function o(m,b,y,v){const T=y.enter("tableCell"),w=y.enter("phrasing"),A=y.containerPhrasing(m,ot(te({},v),{before:i,after:i}));return w(),T(),A}function l(m,b){return gE(m,{align:b,alignDelimiters:n,padding:r,stringLength:a})}function c(m,b,y){const v=m.children;let T=-1;const w=[],A=b.enter("table");for(;++T<v.length;)w[T]=f(v[T],b,y);return A(),w}function f(m,b,y){const v=m.children;let T=-1;const w=[],A=b.enter("tableRow");for(;++T<v.length;)w[T]=o(v[T],m,b,y);return A(),w}function p(m,b,y){let v=Zm.inlineCode(m,b,y);return y.stack.includes("tableCell")&&(v=v.replace(/\|/g,"\\$&")),v}}function rx(){return{exit:{taskListCheckValueChecked:Y1,taskListCheckValueUnchecked:Y1,paragraph:ax}}}function nx(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:ix}}}function Y1(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function ax(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 ix(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=Zm.listItem(e,t,r,te(te({},n),u.current()));return i&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),o;function l(c){return c+s}}function sx(){return[zy(),sE(),cE(),XE(),rx()]}function ux(e){return{extensions:[Hy(),uE(e),fE(),tx(e),nx()]}}const ox={tokenize:mx,partial:!0},ep={tokenize:px,partial:!0},tp={tokenize:gx,partial:!0},rp={tokenize:bx,partial:!0},lx={tokenize:yx,partial:!0},np={name:"wwwAutolink",tokenize:hx,previous:ip},ap={name:"protocolAutolink",tokenize:dx,previous:sp},Or={name:"emailAutolink",tokenize:fx,previous:up},gr={};function cx(){return{text:gr}}let sn=48;for(;sn<123;)gr[sn]=Or,sn++,sn===58?sn=65:sn===91&&(sn=97);gr[43]=Or;gr[45]=Or;gr[46]=Or;gr[95]=Or;gr[72]=[Or,ap];gr[104]=[Or,ap];gr[87]=[Or,np];gr[119]=[Or,np];function fx(e,t,r){const n=this;let a,i;return s;function s(f){return!Pu(f)||!up.call(n,n.previous)||il(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(f))}function u(f){return Pu(f)?(e.consume(f),u):f===64?(e.consume(f),o):r(f)}function o(f){return f===46?e.check(lx,c,l)(f):f===45||f===95||dt(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&&Et(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function hx(e,t,r){const n=this;return a;function a(s){return s!==87&&s!==119||!ip.call(n,n.previous)||il(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(ox,e.attempt(ep,e.attempt(tp,i),r),r)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function dx(e,t,r){const n=this;let a="",i=!1;return s;function s(f){return(f===72||f===104)&&sp.call(n,n.previous)&&!il(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(f),e.consume(f),u):r(f)}function u(f){if(Et(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||ls(f)||Pe(f)||yn(f)||Bs(f)?r(f):e.attempt(ep,e.attempt(tp,c),r)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function mx(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 px(e,t,r){let n,a,i;return s;function s(l){return l===46||l===95?e.check(rp,o,u)(l):l===null||Pe(l)||yn(l)||l!==45&&Bs(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 gx(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(rp,t,i)(s):s===null||Pe(s)||yn(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&n++,e.consume(s),a}}function bx(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||Pe(u)||yn(u)?t(u):r(u)}function a(u){return u===null||u===40||u===91||Pe(u)||yn(u)?t(u):n(u)}function i(u){return Et(u)?s(u):r(u)}function s(u){return u===59?(e.consume(u),n):Et(u)?(e.consume(u),s):r(u)}}function yx(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return dt(i)?r(i):t(i)}}function ip(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Pe(e)}function sp(e){return!Et(e)}function up(e){return!(e===47||Pu(e))}function Pu(e){return e===43||e===45||e===46||e===95||dt(e)}function il(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 Ex={tokenize:Cx,partial:!0};function xx(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:Sx,continuation:{tokenize:wx},exit:kx}},text:{91:{name:"gfmFootnoteCall",tokenize:Ax},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Tx,resolveTo:vx}}}}function Tx(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=Jt(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 Ax(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||Pe(f))return r(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return a.includes(Jt(n.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return Pe(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 Sx(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||Pe(b))return r(b);if(b===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=Jt(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Pe(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),we(e,m,"gfmFootnoteDefinitionWhitespace")):r(b)}function m(b){return t(b)}}function wx(e,t,r){return e.check(si,t,e.attempt(Ex,t,r))}function kx(e){e.exit("gfmFootnoteDefinition")}function Cx(e,t,r){const n=this;return we(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 Ix(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]],m=u.parser.constructs.insideSpan.null;m&&Mt(p,p.length,0,zs(m,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"),m(b))}function m(b){const y=Gn(l);if(b===126)return f>1?o(b):(s.consume(b),f++,m);if(f<2&&!r)return o(b);const v=s.exit("strikethroughSequenceTemporary"),T=Gn(b);return v._open=!T||T===2&&!!y,v._close=!y||y===2&&!!T,u(b)}}}class _x{constructor(){this.map=[]}add(t,r,n){Nx(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 Nx(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 Ox(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 Rx(){return{flow:{null:{name:"table",tokenize:Lx,resolveAll:Dx}}}}function Lx(e,t,r){const n=this;let a=0,i=0,s;return u;function u(D){let X=n.events.length-1;for(;X>-1;){const de=n.events[X][1].type;if(de==="lineEnding"||de==="linePrefix")X--;else break}const G=X>-1?n.events[X][1].type:null,ce=G==="tableHead"||G==="tableRow"?O:o;return ce===O&&n.parser.lazy[n.now().line]?r(D):ce(D)}function o(D){return e.enter("tableHead"),e.enter("tableRow"),l(D)}function l(D){return D===124||(s=!0,i+=1),c(D)}function c(D){return D===null?r(D):oe(D)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(D),e.exit("lineEnding"),m):r(D):ke(D)?we(e,c,"whitespace")(D):(i+=1,s&&(s=!1,a+=1),D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),f(D)))}function f(D){return D===null||D===124||Pe(D)?(e.exit("data"),c(D)):(e.consume(D),D===92?p:f)}function p(D){return D===92||D===124?(e.consume(D),f):f(D)}function m(D){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(D):(e.enter("tableDelimiterRow"),s=!1,ke(D)?we(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(D):b(D))}function b(D){return D===45||D===58?v(D):D===124?(s=!0,e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),y):B(D)}function y(D){return ke(D)?we(e,v,"whitespace")(D):v(D)}function v(D){return D===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),T):D===45?(i+=1,T(D)):D===null||oe(D)?P(D):B(D)}function T(D){return D===45?(e.enter("tableDelimiterFiller"),w(D)):B(D)}function w(D){return D===45?(e.consume(D),w):D===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(D),e.exit("tableDelimiterMarker"),A):(e.exit("tableDelimiterFiller"),A(D))}function A(D){return ke(D)?we(e,P,"whitespace")(D):P(D)}function P(D){return D===124?b(D):D===null||oe(D)?!s||a!==i?B(D):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(D)):B(D)}function B(D){return r(D)}function O(D){return e.enter("tableRow"),F(D)}function F(D){return D===124?(e.enter("tableCellDivider"),e.consume(D),e.exit("tableCellDivider"),F):D===null||oe(D)?(e.exit("tableRow"),t(D)):ke(D)?we(e,F,"whitespace")(D):(e.enter("data"),$(D))}function $(D){return D===null||D===124||Pe(D)?(e.exit("data"),F(D)):(e.consume(D),D===92?j:$)}function j(D){return D===92||D===124?(e.consume(D),$):$(D)}}function Dx(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 _x;for(;++r<e.length;){const m=e[r],b=m[1];m[0]==="enter"?b.type==="tableHead"?(u=!1,o!==0&&(V1(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=Di(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=Di(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=Di(p,t,i,a,r,f)):s[1]!==0&&(f=Di(p,t,s,a,r,f)),a=0):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(s[3]=r)}for(o!==0&&V1(p,t,o,l,c),p.consume(t.events),r=-1;++r<t.events.length;){const m=t.events[r];m[0]==="enter"&&m[1].type==="table"&&(m[1]._align=Ox(t.events,r))}return e}function Di(e,t,r,n,a,i){const s=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",u="tableContent";r[0]!==0&&(i.end=Object.assign({},Dn(t.events,r[0])),e.add(r[0],0,[["exit",i,t]]));const o=Dn(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=Dn(t.events,r[2]),c=Dn(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]],m=t.events[r[3]];if(p[1].end=Object.assign({},m[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({},Dn(t.events,a)),e.add(a,0,[["exit",i,t]]),i=void 0),i}function V1(e,t,r,n,a){const i=[],s=Dn(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 Dn(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const Mx={name:"tasklistCheck",tokenize:Fx};function Px(){return{text:{91:Mx}}}function Fx(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 Pe(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 oe(o)?t(o):ke(o)?e.check({tokenize:Bx},t,r)(o):r(o)}}function Bx(e,t,r){return we(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function zx(e){return bd([cx(),xx(),Ix(e),Rx(),Px()])}const Hx={};function Ux(e){const t=this,r=e||Hx,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(zx(r)),i.push(sx()),s.push(ux(r))}const W1=/[#.]/g;function jx(e,t){const r=e||"",n={};let a=0,i,s;for(;a<r.length;){W1.lastIndex=a;const u=W1.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 op(e,t,r){const n=r?Vx(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=jx(i,t);const l=o.tagName.toLowerCase(),c=n?n.get(l):void 0;if(o.tagName=c||l,qx(s))u.unshift(s);else for(const[f,p]of Object.entries(s))$x(e,o.properties,f,p)}for(const l of u)Fu(o.children,l);return o.type==="element"&&o.tagName==="template"&&(o.content={type:"root",children:o.children},o.children=[]),o}return a}function qx(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 $x(e,t,r,n){const a=Ms(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=yc(n):a.commaSeparated?i=dc(n):a.commaOrSpaceSeparated?i=yc(dc(n).join(" ")):i=G1(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?Yx(n):String(n);if(Array.isArray(i)){const s=[];for(const u of i)s.push(G1(a,a.property,u));i=s}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function Fu(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)Fu(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?Fu(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function G1(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||$a(r)===$a(t)))return!0}return r}function Yx(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function Vx(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const Wx=["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"],lp=op(ii,"div"),cp=op(Kr,"g",Wx),lr={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 Gx(e,t){return fp(e,{})||{type:"root",children:[]}}function fp(e,t){const r=Xx(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function Xx(e,t){switch(e.nodeType){case 1:return Zx(e,t);case 3:return Qx(e);case 8:return Jx(e);case 9:return X1(e,t);case 10:return Kx();case 11:return X1(e,t);default:return}}function X1(e,t){return{type:"root",children:hp(e,t)}}function Kx(){return{type:"doctype"}}function Qx(e){return{type:"text",value:e.nodeValue||""}}function Jx(e){return{type:"comment",value:e.nodeValue||""}}function Zx(e,t){const r=e.namespaceURI,n=r===lr.svg?cp:lp,a=r===lr.html?e.tagName.toLowerCase():e.tagName,i=r===lr.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=fp(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function eT(e,t){const r=tT(e);return Gx(r)}function tT(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const K1=function(e,t,r){const n=ui(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 aT;if(typeof e=="string")return nT(e);if(typeof e=="object")return rT(e);if(typeof e=="function")return sl(e);throw new Error("Expected function, string, or array as `test`")};function rT(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Sn(e[r]);return sl(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function nT(e){return sl(t);function t(r){return r.tagName===e}}function sl(e){return t;function t(r,n,a){return!!(iT(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function aT(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function iT(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const Q1=/\n/g,J1=/[\t ]+/g,Bu=Sn("br"),Z1=Sn(dT),sT=Sn("p"),ef=Sn("tr"),uT=Sn(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",hT,mT]),dp=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 oT(e,t){const r=t||{},n="children"in e?e.children:[],a=dp(e),i=gp(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...pp(e,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<n.length;)s.push(...mp(n[u],e,{whitespace:i,breakBefore:u?void 0:a,breakAfter:u<n.length-1?Bu(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(`
|
|
302
|
+
`.repeat(l)||" "),l=-1,o.push(c))}return o.join("")}function mp(e,t,r){return e.type==="element"?lT(e,t,r):e.type==="text"?r.whitespace==="normal"?pp(e,r):cT(e):[]}function lT(e,t,r){const n=gp(e,r),a=e.children||[];let i=-1,s=[];if(uT(e))return s;let u,o;for(Bu(e)||ef(e)&&K1(t,e,ef)?o=`
|
|
303
|
+
`:sT(e)?(u=2,o=2):dp(e)&&(u=1,o=1);++i<a.length;)s=s.concat(mp(a[i],e,{whitespace:n,breakBefore:i?void 0:u,breakAfter:i<a.length-1?Bu(a[i+1]):o}));return Z1(e)&&K1(t,e,Z1)&&s.push(" "),u&&s.unshift(u),o&&s.push(o),s}function pp(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){Q1.lastIndex=i;const o=Q1.exec(r),l=o&&"index"in o?o.index:r.length;n.push(fT(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 cT(e){return[String(e.value)]}function fT(e,t,r){const n=[];let a=0,i;for(;a<e.length;){J1.lastIndex=a;const s=J1.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 gp(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 hT(e){return!!(e.properties||{}).hidden}function dT(e){return e.tagName==="td"||e.tagName==="th"}function mT(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const pT={},gT=[];function bT(e){const t=e||pT;return function(r,n){Mo(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:gT,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 m=oT(p,{whitespace:"pre"});let b;try{b=B1.renderToString(m,ot(te({},t),{displayMode:c,throwOnError:!0}))}catch(v){const T=v,w=T.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:T,place:a.position,ruleId:w,source:"rehype-katex"});try{b=B1.renderToString(m,ot(te({},t),{displayMode:c,strict:"ignore",throwOnError:!1}))}catch(A){b=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(v)},children:[{type:"text",value:m}]}]}}typeof b=="string"&&(b=eT(b).children);const y=f.children.indexOf(p);return f.children.splice(y,1,...b),Pd})}}const un="https://cdn.jsdelivr.net/npm/prismjs@1.29.0",Mi=new Set(["javascript","css","markup","clike"]);let Pi=null;function bp(){return ze(this,null,function*(){return typeof window!="undefined"&&window.Prism?window.Prism:Pi||(Pi=new Promise((e,t)=>{const r=document.createElement("link");r.rel="stylesheet",r.href=`${un}/themes/prism-coldark-cold.min.css`,document.head.appendChild(r);const n=document.createElement("link");n.rel="stylesheet",n.href=`${un}/plugins/line-numbers/prism-line-numbers.min.css`,document.head.appendChild(n);const a=document.createElement("script");a.src=`${un}/prism.min.js`,a.onload=()=>{const i=document.createElement("script");i.src=`${un}/plugins/line-numbers/prism-line-numbers.min.js`,i.onload=()=>{const s=document.createElement("script");s.src=`${un}/plugins/autoloader/prism-autoloader.min.js`,s.onload=()=>{const u=window.Prism;u&&u.plugins&&u.plugins.autoloader&&(u.plugins.autoloader.languages_path=`${un}/components/`),e(u)},s.onerror=t,document.head.appendChild(s)},i.onerror=t,document.head.appendChild(i)},a.onerror=t,document.head.appendChild(a)}),Pi)})}function yT(e){return ze(this,null,function*(){const t=yield bp();if(Mi.has(e)||t.languages[e]){Mi.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){Mi.add(e);return}return new Promise((a,i)=>{const s=document.createElement("script");s.src=`${un}/components/prism-${n}.min.js`,s.onload=()=>{Mi.add(e),a()},s.onerror=()=>{console.warn(`Failed to load Prism language: ${n}`),a()},document.head.appendChild(s)})})}const ET=()=>R.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:R.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"})}),xT=()=>R.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:R.jsx("path",{d:"M9 16.17L4.83 12L3.41 13.41L9 19L21 7L19.59 5.59L9 16.17Z"})}),TT=({language:e="javascript",children:t,style:r})=>{const[n,a]=ue.useState(!1),[i,s]=ue.useState(""),[u,o]=ue.useState(!0),l=ue.useRef(null),c=typeof t=="string"?t:Array.isArray(t)?t.join(""):String(t||"");ue.useEffect(()=>{let y=!0;return ze(exports,null,function*(){try{o(!0);const T=yield bp();if(yield yT(e),!y)return;const w=T.languages[e]||T.languages.javascript,A=T.highlight(c.replace(/\n$/,""),w,e);s(A),o(!1)}catch(T){console.error("Failed to highlight code:",T),y&&(s(f(c)),o(!1))}}),()=>{y=!1}},[c,e]);const f=y=>{const v=document.createElement("div");return v.textContent=y,v.innerHTML},p=()=>ze(exports,null,function*(){try{yield navigator.clipboard.writeText(c),a(!0),setTimeout(()=>a(!1),2e3)}catch(y){console.error("Failed to copy:",y)}}),m=c.split(`
|
|
304
|
+
`),b=m[m.length-1]===""?m.length-1:m.length;return R.jsxs("div",{style:te({position:"relative"},r),children:[R.jsxs("pre",{className:"line-numbers",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:[R.jsx("span",{className:"line-numbers-rows",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,v)=>R.jsx("span",{style:{display:"block"},children:v+1},v))}),R.jsx("code",{ref:l,className:`language-${e}`,style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},dangerouslySetInnerHTML:u?{__html:f(c)}:{__html:i}})]}),R.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?R.jsx(xT,{}):R.jsx(ET,{}),R.jsx("span",{style:{marginLeft:"4px"},children:n?"Copied":"Copy"})]})]})};function vT(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=tf(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=tf(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 tf(e,t){const r=e.indexOf("\r",t),n=e.indexOf(`
|
|
305
|
+
`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const yp={}.hasOwnProperty,AT=Object.prototype;function ST(e,t){const r=t||{};return ul({file:r.file||void 0,location:!1,schema:r.space==="svg"?Kr:ii,verbose:r.verbose||!1},e)}function ul(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},Zi(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:Ep(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=vT(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"},Zi(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},Zi(e,n,r),r}default:return r=wT(e,t),r}}function Ep(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=ul(e,t[r]);n.push(a)}return n}function wT(e,t){const r=e.schema;e.schema=t.namespaceURI===lr.svg?Kr:ii;let n=-1;const a={};for(;++n<t.attrs.length;){const u=t.attrs[n],o=(u.prefix?u.prefix+":":"")+u.name;yp.call(AT,o)||(a[o]=u.value)}const s=(e.schema.space==="svg"?cp:lp)(t.tagName,a,Ep(e,t.childNodes));if(Zi(e,t,s),s.tagName==="template"){const u=t,o=u.sourceCodeLocation,l=o&&o.startTag&&Fn(o.startTag),c=o&&o.endTag&&Fn(o.endTag),f=ul(e,u.content);l&&c&&e.file&&(f.position={start:l.end,end:c.start}),s.content=f}return e.schema=r,s}function Zi(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=kT(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function kT(e,t,r){const n=Fn(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)yp.call(r.attrs,s)&&(i[Ms(e.schema,s).property]=Fn(r.attrs[s]));r.startTag;const u=Fn(r.startTag),o=r.endTag?Fn(r.endTag):void 0,l={opening:u};o&&(l.closing=o),l.properties=i,t.data={position:l}}}return n}function Fn(e){const t=rf({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=rf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function rf(e){return e.line&&e.column?e:void 0}const CT={},IT={}.hasOwnProperty,xp=jm("type",{handlers:{root:NT,element:MT,text:LT,comment:DT,doctype:RT}});function _T(e,t){const n=(t||CT).space;return xp(e,n==="svg"?Kr:ii)}function NT(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=ol(e.children,r,t),oa(e,r),r}function OT(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=ol(e.children,r,t),oa(e,r),r}function RT(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return oa(e,t),t}function LT(e){const t={nodeName:"#text",value:e.value,parentNode:null};return oa(e,t),t}function DT(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return oa(e,t),t}function MT(e,t){const r=t;let n=r;e.type==="element"&&e.tagName.toLowerCase()==="svg"&&r.space==="html"&&(n=Kr);const a=[];let i;if(e.properties){for(i in e.properties)if(i!=="children"&&IT.call(e.properties,i)){const o=PT(n,i,e.properties[i]);o&&a.push(o)}}const s=n.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:lr[s],childNodes:[],parentNode:null};return u.childNodes=ol(e.children,u,n),oa(e,u),e.tagName==="template"&&e.content&&(u.content=OT(e.content,n)),u}function PT(e,t,r){const n=Ms(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?rd(r):cd(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=lr[n.space]}return a}function ol(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=xp(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 FT=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],BT=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 S;(function(e){e[e.EOF=-1]="EOF",e[e.NULL=0]="NULL",e[e.TABULATION=9]="TABULATION",e[e.CARRIAGE_RETURN=13]="CARRIAGE_RETURN",e[e.LINE_FEED=10]="LINE_FEED",e[e.FORM_FEED=12]="FORM_FEED",e[e.SPACE=32]="SPACE",e[e.EXCLAMATION_MARK=33]="EXCLAMATION_MARK",e[e.QUOTATION_MARK=34]="QUOTATION_MARK",e[e.AMPERSAND=38]="AMPERSAND",e[e.APOSTROPHE=39]="APOSTROPHE",e[e.HYPHEN_MINUS=45]="HYPHEN_MINUS",e[e.SOLIDUS=47]="SOLIDUS",e[e.DIGIT_0=48]="DIGIT_0",e[e.DIGIT_9=57]="DIGIT_9",e[e.SEMICOLON=59]="SEMICOLON",e[e.LESS_THAN_SIGN=60]="LESS_THAN_SIGN",e[e.EQUALS_SIGN=61]="EQUALS_SIGN",e[e.GREATER_THAN_SIGN=62]="GREATER_THAN_SIGN",e[e.QUESTION_MARK=63]="QUESTION_MARK",e[e.LATIN_CAPITAL_A=65]="LATIN_CAPITAL_A",e[e.LATIN_CAPITAL_Z=90]="LATIN_CAPITAL_Z",e[e.RIGHT_SQUARE_BRACKET=93]="RIGHT_SQUARE_BRACKET",e[e.GRAVE_ACCENT=96]="GRAVE_ACCENT",e[e.LATIN_SMALL_A=97]="LATIN_SMALL_A",e[e.LATIN_SMALL_Z=122]="LATIN_SMALL_Z"})(S||(S={}));const vt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Tp(e){return e>=55296&&e<=57343}function zT(e){return e>=56320&&e<=57343}function HT(e,t){return(e-55296)*1024+9216+t}function vp(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Ap(e){return e>=64976&&e<=65007||BT.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 UT=65536;class jT{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=UT,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(zT(r))return this.pos++,this._addGap(),HT(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,S.EOF;return this._err(q.surrogateInInputStream),t}willDropParsedChunk(){return this.pos>this.bufferWaterline}dropParsedChunk(){this.willDropParsedChunk()&&(this.html=this.html.substring(this.pos),this.lineStartPos-=this.pos,this.droppedBufferSize+=this.pos,this.pos=0,this.lastGapPos=-2,this.gapStack.length=0)}write(t,r){this.html.length>0?this.html+=t:this.html=t,this.endOfChunkHit=!1,this.lastChunkWritten=r}insertHtmlAtCurrentPos(t){this.html=this.html.substring(0,this.pos+1)+t+this.html.substring(this.pos+1),this.endOfChunkHit=!1}startsWith(t,r){if(this.pos+t.length>this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,!1;if(r)return this.html.startsWith(t,this.pos);for(let n=0;n<t.length;n++)if((this.html.charCodeAt(this.pos+n)|32)!==t.charCodeAt(n))return!1;return!0}peek(t){const r=this.pos+t;if(r>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,S.EOF;const n=this.html.charCodeAt(r);return n===S.CARRIAGE_RETURN?S.LINE_FEED:n}advance(){if(this.pos++,this.isEol&&(this.isEol=!1,this.line++,this.lineStartPos=this.pos),this.pos>=this.html.length)return this.endOfChunkHit=!this.lastChunkWritten,S.EOF;let t=this.html.charCodeAt(this.pos);return t===S.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,S.LINE_FEED):t===S.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Tp(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===S.LINE_FEED||t===S.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){vp(t)?this._err(q.controlCharacterInInputStream):Ap(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 Se;(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"})(Se||(Se={}));function Sp(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 qT=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),$T=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 YT(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=$T.get(e))!==null&&t!==void 0?t:e}var ct;(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"})(ct||(ct={}));const VT=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 zu(e){return e>=ct.ZERO&&e<=ct.NINE}function WT(e){return e>=ct.UPPER_A&&e<=ct.UPPER_F||e>=ct.LOWER_A&&e<=ct.LOWER_F}function GT(e){return e>=ct.UPPER_A&&e<=ct.UPPER_Z||e>=ct.LOWER_A&&e<=ct.LOWER_Z||zu(e)}function XT(e){return e===ct.EQUALS||GT(e)}var lt;(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"})(lt||(lt={}));var vr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(vr||(vr={}));class KT{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=lt.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=vr.Strict}startEntity(t){this.decodeMode=t,this.state=lt.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case lt.EntityStart:return t.charCodeAt(r)===ct.NUM?(this.state=lt.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=lt.NamedEntity,this.stateNamedEntity(t,r));case lt.NumericStart:return this.stateNumericStart(t,r);case lt.NumericDecimal:return this.stateNumericDecimal(t,r);case lt.NumericHex:return this.stateNumericHex(t,r);case lt.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|VT)===ct.LOWER_X?(this.state=lt.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=lt.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(zu(a)||WT(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(zu(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===ct.SEMI)this.consumed+=1;else if(this.decodeMode===vr.Strict)return 0;return this.emitCodePoint(YT(this.result),this.consumed),this.errors&&(t!==ct.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=QT(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===vr.Attribute&&(i===0||XT(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&qr.VALUE_LENGTH)>>14,i!==0){if(s===ct.SEMI)return this.emitNamedEntityData(this.treeIndex,i,this.consumed+this.excess);this.decodeMode!==vr.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 lt.NamedEntity:return this.result!==0&&(this.decodeMode!==vr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case lt.NumericDecimal:return this.emitNumericEntity(0,2);case lt.NumericHex:return this.emitNumericEntity(0,3);case lt.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case lt.EntityStart:return 0}}}function QT(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 pn;(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"})(pn||(pn={}));var jt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(jt||(jt={}));var z;(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"})(z||(z={}));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 JT=new Map([[z.A,h.A],[z.ADDRESS,h.ADDRESS],[z.ANNOTATION_XML,h.ANNOTATION_XML],[z.APPLET,h.APPLET],[z.AREA,h.AREA],[z.ARTICLE,h.ARTICLE],[z.ASIDE,h.ASIDE],[z.B,h.B],[z.BASE,h.BASE],[z.BASEFONT,h.BASEFONT],[z.BGSOUND,h.BGSOUND],[z.BIG,h.BIG],[z.BLOCKQUOTE,h.BLOCKQUOTE],[z.BODY,h.BODY],[z.BR,h.BR],[z.BUTTON,h.BUTTON],[z.CAPTION,h.CAPTION],[z.CENTER,h.CENTER],[z.CODE,h.CODE],[z.COL,h.COL],[z.COLGROUP,h.COLGROUP],[z.DD,h.DD],[z.DESC,h.DESC],[z.DETAILS,h.DETAILS],[z.DIALOG,h.DIALOG],[z.DIR,h.DIR],[z.DIV,h.DIV],[z.DL,h.DL],[z.DT,h.DT],[z.EM,h.EM],[z.EMBED,h.EMBED],[z.FIELDSET,h.FIELDSET],[z.FIGCAPTION,h.FIGCAPTION],[z.FIGURE,h.FIGURE],[z.FONT,h.FONT],[z.FOOTER,h.FOOTER],[z.FOREIGN_OBJECT,h.FOREIGN_OBJECT],[z.FORM,h.FORM],[z.FRAME,h.FRAME],[z.FRAMESET,h.FRAMESET],[z.H1,h.H1],[z.H2,h.H2],[z.H3,h.H3],[z.H4,h.H4],[z.H5,h.H5],[z.H6,h.H6],[z.HEAD,h.HEAD],[z.HEADER,h.HEADER],[z.HGROUP,h.HGROUP],[z.HR,h.HR],[z.HTML,h.HTML],[z.I,h.I],[z.IMG,h.IMG],[z.IMAGE,h.IMAGE],[z.INPUT,h.INPUT],[z.IFRAME,h.IFRAME],[z.KEYGEN,h.KEYGEN],[z.LABEL,h.LABEL],[z.LI,h.LI],[z.LINK,h.LINK],[z.LISTING,h.LISTING],[z.MAIN,h.MAIN],[z.MALIGNMARK,h.MALIGNMARK],[z.MARQUEE,h.MARQUEE],[z.MATH,h.MATH],[z.MENU,h.MENU],[z.META,h.META],[z.MGLYPH,h.MGLYPH],[z.MI,h.MI],[z.MO,h.MO],[z.MN,h.MN],[z.MS,h.MS],[z.MTEXT,h.MTEXT],[z.NAV,h.NAV],[z.NOBR,h.NOBR],[z.NOFRAMES,h.NOFRAMES],[z.NOEMBED,h.NOEMBED],[z.NOSCRIPT,h.NOSCRIPT],[z.OBJECT,h.OBJECT],[z.OL,h.OL],[z.OPTGROUP,h.OPTGROUP],[z.OPTION,h.OPTION],[z.P,h.P],[z.PARAM,h.PARAM],[z.PLAINTEXT,h.PLAINTEXT],[z.PRE,h.PRE],[z.RB,h.RB],[z.RP,h.RP],[z.RT,h.RT],[z.RTC,h.RTC],[z.RUBY,h.RUBY],[z.S,h.S],[z.SCRIPT,h.SCRIPT],[z.SEARCH,h.SEARCH],[z.SECTION,h.SECTION],[z.SELECT,h.SELECT],[z.SOURCE,h.SOURCE],[z.SMALL,h.SMALL],[z.SPAN,h.SPAN],[z.STRIKE,h.STRIKE],[z.STRONG,h.STRONG],[z.STYLE,h.STYLE],[z.SUB,h.SUB],[z.SUMMARY,h.SUMMARY],[z.SUP,h.SUP],[z.TABLE,h.TABLE],[z.TBODY,h.TBODY],[z.TEMPLATE,h.TEMPLATE],[z.TEXTAREA,h.TEXTAREA],[z.TFOOT,h.TFOOT],[z.TD,h.TD],[z.TH,h.TH],[z.THEAD,h.THEAD],[z.TITLE,h.TITLE],[z.TR,h.TR],[z.TRACK,h.TRACK],[z.TT,h.TT],[z.U,h.U],[z.UL,h.UL],[z.SVG,h.SVG],[z.VAR,h.VAR],[z.WBR,h.WBR],[z.XMP,h.XMP]]);function la(e){var t;return(t=JT.get(e))!==null&&t!==void 0?t:h.UNKNOWN}const K=h,ZT={[W.HTML]:new Set([K.ADDRESS,K.APPLET,K.AREA,K.ARTICLE,K.ASIDE,K.BASE,K.BASEFONT,K.BGSOUND,K.BLOCKQUOTE,K.BODY,K.BR,K.BUTTON,K.CAPTION,K.CENTER,K.COL,K.COLGROUP,K.DD,K.DETAILS,K.DIR,K.DIV,K.DL,K.DT,K.EMBED,K.FIELDSET,K.FIGCAPTION,K.FIGURE,K.FOOTER,K.FORM,K.FRAME,K.FRAMESET,K.H1,K.H2,K.H3,K.H4,K.H5,K.H6,K.HEAD,K.HEADER,K.HGROUP,K.HR,K.HTML,K.IFRAME,K.IMG,K.INPUT,K.LI,K.LINK,K.LISTING,K.MAIN,K.MARQUEE,K.MENU,K.META,K.NAV,K.NOEMBED,K.NOFRAMES,K.NOSCRIPT,K.OBJECT,K.OL,K.P,K.PARAM,K.PLAINTEXT,K.PRE,K.SCRIPT,K.SECTION,K.SELECT,K.SOURCE,K.STYLE,K.SUMMARY,K.TABLE,K.TBODY,K.TD,K.TEMPLATE,K.TEXTAREA,K.TFOOT,K.TH,K.THEAD,K.TITLE,K.TR,K.TRACK,K.UL,K.WBR,K.XMP]),[W.MATHML]:new Set([K.MI,K.MO,K.MN,K.MS,K.MTEXT,K.ANNOTATION_XML]),[W.SVG]:new Set([K.TITLE,K.FOREIGN_OBJECT,K.DESC]),[W.XLINK]:new Set,[W.XML]:new Set,[W.XMLNS]:new Set},Hu=new Set([K.H1,K.H2,K.H3,K.H4,K.H5,K.H6]);z.STYLE,z.SCRIPT,z.XMP,z.IFRAME,z.NOEMBED,z.NOFRAMES,z.PLAINTEXT;var k;(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"})(k||(k={}));const Qe={DATA:k.DATA,RCDATA:k.RCDATA,RAWTEXT:k.RAWTEXT,SCRIPT_DATA:k.SCRIPT_DATA,PLAINTEXT:k.PLAINTEXT,CDATA_SECTION:k.CDATA_SECTION};function ev(e){return e>=S.DIGIT_0&&e<=S.DIGIT_9}function Ca(e){return e>=S.LATIN_CAPITAL_A&&e<=S.LATIN_CAPITAL_Z}function tv(e){return e>=S.LATIN_SMALL_A&&e<=S.LATIN_SMALL_Z}function Br(e){return tv(e)||Ca(e)}function nf(e){return Br(e)||ev(e)}function Fi(e){return e+32}function wp(e){return e===S.SPACE||e===S.LINE_FEED||e===S.TABULATION||e===S.FORM_FEED}function af(e){return wp(e)||e===S.SOLIDUS||e===S.GREATER_THAN_SIGN}function rv(e){return e===S.NULL?q.nullCharacterReference:e>1114111?q.characterReferenceOutsideUnicodeRange:Tp(e)?q.surrogateCharacterReference:Ap(e)?q.noncharacterCharacterReference:vp(e)||e===S.CARRIAGE_RETURN?q.controlCharacterReference:null}class nv{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=k.DATA,this.returnState=k.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new jT(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new KT(qT,(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=rv(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:Se.START_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Se.END_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Se.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Se.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(Sp(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===Se.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 Se.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Se.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Se.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:Se.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=wp(t)?Se.WHITESPACE_CHARACTER:t===S.NULL?Se.NULL_CHARACTER:Se.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Se.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=k.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?vr.Attribute:vr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===k.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===k.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===k.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case k.DATA:{this._stateData(t);break}case k.RCDATA:{this._stateRcdata(t);break}case k.RAWTEXT:{this._stateRawtext(t);break}case k.SCRIPT_DATA:{this._stateScriptData(t);break}case k.PLAINTEXT:{this._statePlaintext(t);break}case k.TAG_OPEN:{this._stateTagOpen(t);break}case k.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case k.TAG_NAME:{this._stateTagName(t);break}case k.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case k.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case k.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case k.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case k.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case k.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case k.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case k.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case k.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case k.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case k.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case k.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case k.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case k.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case k.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case k.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case k.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case k.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case k.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case k.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case k.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case k.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case k.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case k.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case k.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case k.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case k.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case k.BOGUS_COMMENT:{this._stateBogusComment(t);break}case k.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case k.COMMENT_START:{this._stateCommentStart(t);break}case k.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case k.COMMENT:{this._stateComment(t);break}case k.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case k.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case k.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case k.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case k.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case k.COMMENT_END:{this._stateCommentEnd(t);break}case k.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case k.DOCTYPE:{this._stateDoctype(t);break}case k.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case k.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case k.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case k.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case k.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case k.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case k.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case k.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case k.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case k.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case k.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case k.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case k.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case k.CDATA_SECTION:{this._stateCdataSection(t);break}case k.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case k.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case k.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case k.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case S.LESS_THAN_SIGN:{this.state=k.TAG_OPEN;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitCodePoint(t);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case S.AMPERSAND:{this._startCharacterReference();break}case S.LESS_THAN_SIGN:{this.state=k.RCDATA_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case S.LESS_THAN_SIGN:{this.state=k.RAWTEXT_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case S.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case S.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Br(t))this._createStartTagToken(),this.state=k.TAG_NAME,this._stateTagName(t);else switch(t){case S.EXCLAMATION_MARK:{this.state=k.MARKUP_DECLARATION_OPEN;break}case S.SOLIDUS:{this.state=k.END_TAG_OPEN;break}case S.QUESTION_MARK:{this._err(q.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=k.BOGUS_COMMENT,this._stateBogusComment(t);break}case S.EOF:{this._err(q.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=k.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Br(t))this._createEndTagToken(),this.state=k.TAG_NAME,this._stateTagName(t);else switch(t){case S.GREATER_THAN_SIGN:{this._err(q.missingEndTagName),this.state=k.DATA;break}case S.EOF:{this._err(q.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=k.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=k.BEFORE_ATTRIBUTE_NAME;break}case S.SOLIDUS:{this.state=k.SELF_CLOSING_START_TAG;break}case S.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentTagToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.tagName+=Ve;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Ca(t)?Fi(t):t)}}_stateRcdataLessThanSign(t){t===S.SOLIDUS?this.state=k.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=k.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Br(t)?(this.state=k.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=k.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=k.BEFORE_ATTRIBUTE_NAME,!1;case S.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=k.SELF_CLOSING_START_TAG,!1;case S.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=k.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=k.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===S.SOLIDUS?this.state=k.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=k.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Br(t)?(this.state=k.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=k.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=k.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case S.SOLIDUS:{this.state=k.SCRIPT_DATA_END_TAG_OPEN;break}case S.EXCLAMATION_MARK:{this.state=k.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=k.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Br(t)?(this.state=k.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=k.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=k.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===S.HYPHEN_MINUS?(this.state=k.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=k.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===S.HYPHEN_MINUS?(this.state=k.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=k.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case S.HYPHEN_MINUS:{this.state=k.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case S.HYPHEN_MINUS:{this.state=k.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=k.SCRIPT_DATA_ESCAPED,this._emitChars(Ve);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=k.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case S.HYPHEN_MINUS:{this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case S.GREATER_THAN_SIGN:{this.state=k.SCRIPT_DATA,this._emitChars(">");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=k.SCRIPT_DATA_ESCAPED,this._emitChars(Ve);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=k.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===S.SOLIDUS?this.state=k.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Br(t)?(this._emitChars("<"),this.state=k.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=k.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Br(t)?(this.state=k.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=k.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=k.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(vt.SCRIPT,!1)&&af(this.preprocessor.peek(vt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<vt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=k.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case S.HYPHEN_MINUS:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case S.HYPHEN_MINUS:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ve);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case S.HYPHEN_MINUS:{this._emitChars("-");break}case S.LESS_THAN_SIGN:{this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case S.GREATER_THAN_SIGN:{this.state=k.SCRIPT_DATA,this._emitChars(">");break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ve);break}case S.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===S.SOLIDUS?(this.state=k.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(vt.SCRIPT,!1)&&af(this.preprocessor.peek(vt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<vt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=k.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=k.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.SOLIDUS:case S.GREATER_THAN_SIGN:case S.EOF:{this.state=k.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case S.EQUALS_SIGN:{this._err(q.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=k.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=k.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:case S.SOLIDUS:case S.GREATER_THAN_SIGN:case S.EOF:{this._leaveAttrName(),this.state=k.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case S.EQUALS_SIGN:{this._leaveAttrName(),this.state=k.BEFORE_ATTRIBUTE_VALUE;break}case S.QUOTATION_MARK:case S.APOSTROPHE:case S.LESS_THAN_SIGN:{this._err(q.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.name+=Ve;break}default:this.currentAttr.name+=String.fromCodePoint(Ca(t)?Fi(t):t)}}_stateAfterAttributeName(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.SOLIDUS:{this.state=k.SELF_CLOSING_START_TAG;break}case S.EQUALS_SIGN:{this.state=k.BEFORE_ATTRIBUTE_VALUE;break}case S.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=k.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{this.state=k.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this.state=k.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingAttributeValue),this.state=k.DATA,this.emitCurrentTagToken();break}default:this.state=k.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case S.QUOTATION_MARK:{this.state=k.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case S.APOSTROPHE:{this.state=k.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this._leaveAttrValue(),this.state=k.BEFORE_ATTRIBUTE_NAME;break}case S.AMPERSAND:{this._startCharacterReference();break}case S.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=k.DATA,this.emitCurrentTagToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case S.QUOTATION_MARK:case S.APOSTROPHE:case S.LESS_THAN_SIGN:case S.EQUALS_SIGN:case S.GRAVE_ACCENT:{this._err(q.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this._leaveAttrValue(),this.state=k.BEFORE_ATTRIBUTE_NAME;break}case S.SOLIDUS:{this._leaveAttrValue(),this.state=k.SELF_CLOSING_START_TAG;break}case S.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=k.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBetweenAttributes),this.state=k.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case S.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=k.DATA,this.emitCurrentTagToken();break}case S.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.unexpectedSolidusInTag),this.state=k.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentComment(r);break}case S.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.data+=Ve;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(vt.DASH_DASH,!0)?(this._createCommentToken(vt.DASH_DASH.length+1),this.state=k.COMMENT_START):this._consumeSequenceIfMatch(vt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(vt.DOCTYPE.length+1),this.state=k.DOCTYPE):this._consumeSequenceIfMatch(vt.CDATA_START,!0)?this.inForeignNode?this.state=k.CDATA_SECTION:(this._err(q.cdataInHtmlContent),this._createCommentToken(vt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=k.BOGUS_COMMENT):this._ensureHibernation()||(this._err(q.incorrectlyOpenedComment),this._createCommentToken(2),this.state=k.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case S.HYPHEN_MINUS:{this.state=k.COMMENT_START_DASH;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=k.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=k.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=k.COMMENT_END;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=k.DATA,this.emitCurrentComment(r);break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=k.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=k.COMMENT_END_DASH;break}case S.LESS_THAN_SIGN:{r.data+="<",this.state=k.COMMENT_LESS_THAN_SIGN;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.data+=Ve;break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+=String.fromCodePoint(t)}}_stateCommentLessThanSign(t){const r=this.currentToken;switch(t){case S.EXCLAMATION_MARK:{r.data+="!",this.state=k.COMMENT_LESS_THAN_SIGN_BANG;break}case S.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=k.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===S.HYPHEN_MINUS?this.state=k.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=k.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===S.HYPHEN_MINUS?this.state=k.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=k.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==S.GREATER_THAN_SIGN&&t!==S.EOF&&this._err(q.nestedComment),this.state=k.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{this.state=k.COMMENT_END;break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=k.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentComment(r);break}case S.EXCLAMATION_MARK:{this.state=k.COMMENT_END_BANG;break}case S.HYPHEN_MINUS:{r.data+="-";break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=k.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case S.HYPHEN_MINUS:{r.data+="--!",this.state=k.COMMENT_END_DASH;break}case S.GREATER_THAN_SIGN:{this._err(q.incorrectlyClosedComment),this.state=k.DATA,this.emitCurrentComment(r);break}case S.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=k.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=k.BEFORE_DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this.state=k.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case S.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBeforeDoctypeName),this.state=k.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ca(t))this._createDoctypeToken(String.fromCharCode(Fi(t))),this.state=k.DOCTYPE_NAME;else switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.NULL:{this._err(q.unexpectedNullCharacter),this._createDoctypeToken(Ve),this.state=k.DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=k.DATA;break}case S.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=k.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=k.AFTER_DOCTYPE_NAME;break}case S.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentDoctype(r);break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.name+=Ve;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Ca(t)?Fi(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(vt.PUBLIC,!1)?this.state=k.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(vt.SYSTEM,!1)?this.state=k.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(q.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=k.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=k.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=k.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=k.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{r.publicId="",this.state=k.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.publicId="",this.state=k.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=k.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case S.QUOTATION_MARK:{this.state=k.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=Ve;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=k.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateDoctypePublicIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case S.APOSTROPHE:{this.state=k.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=Ve;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=k.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.publicId+=String.fromCodePoint(t)}}_stateAfterDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=k.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case S.GREATER_THAN_SIGN:{this.state=k.DATA,this.emitCurrentDoctype(r);break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=k.DATA;break}case S.QUOTATION_MARK:{r.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:{this.state=k.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=k.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.QUOTATION_MARK:{r.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case S.APOSTROPHE:{r.systemId="",this.state=k.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case S.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=k.DATA,this.emitCurrentDoctype(r);break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case S.QUOTATION_MARK:{this.state=k.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=Ve;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=k.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateDoctypeSystemIdentifierSingleQuoted(t){const r=this.currentToken;switch(t){case S.APOSTROPHE:{this.state=k.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case S.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=Ve;break}case S.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=k.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.systemId+=String.fromCodePoint(t)}}_stateAfterDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case S.SPACE:case S.LINE_FEED:case S.TABULATION:case S.FORM_FEED:break;case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=k.DATA;break}case S.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=k.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case S.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=k.DATA;break}case S.NULL:{this._err(q.unexpectedNullCharacter);break}case S.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case S.RIGHT_SQUARE_BRACKET:{this.state=k.CDATA_SECTION_BRACKET;break}case S.EOF:{this._err(q.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===S.RIGHT_SQUARE_BRACKET?this.state=k.CDATA_SECTION_END:(this._emitChars("]"),this.state=k.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case S.GREATER_THAN_SIGN:{this.state=k.DATA;break}case S.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=k.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(S.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&nf(this.preprocessor.peek(1))?k.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){nf(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===S.SEMICOLON&&this._err(q.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const kp=new Set([h.DD,h.DT,h.LI,h.OPTGROUP,h.OPTION,h.P,h.RB,h.RP,h.RT,h.RTC]),sf=new Set([...kp,h.CAPTION,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]),bs=new Set([h.APPLET,h.CAPTION,h.HTML,h.MARQUEE,h.OBJECT,h.TABLE,h.TD,h.TEMPLATE,h.TH]),av=new Set([...bs,h.OL,h.UL]),iv=new Set([...bs,h.BUTTON]),uf=new Set([h.ANNOTATION_XML,h.MI,h.MN,h.MO,h.MS,h.MTEXT]),of=new Set([h.DESC,h.FOREIGN_OBJECT,h.TITLE]),sv=new Set([h.TR,h.TEMPLATE,h.HTML]),uv=new Set([h.TBODY,h.TFOOT,h.THEAD,h.TEMPLATE,h.HTML]),ov=new Set([h.TABLE,h.TEMPLATE,h.HTML]),lv=new Set([h.TD,h.TH]);class cv{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(Hu,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(ov,W.HTML)}clearBackToTableBodyContext(){this.clearBackTo(uv,W.HTML)}clearBackToTableRowContext(){this.clearBackTo(sv,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(of.has(a))return!1;break}case W.MATHML:{if(uf.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,bs)}hasInListItemScope(t){return this.hasInDynamicScope(t,av)}hasInButtonScope(t){return this.hasInDynamicScope(t,iv)}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(Hu.has(r))return!0;if(bs.has(r))return!1;break}case W.SVG:{if(of.has(r))return!1;break}case W.MATHML:{if(uf.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&&kp.has(this.currentTagId);)this.pop()}generateImpliedEndTagsThoroughly(){for(;this.currentTagId!==void 0&&sf.has(this.currentTagId);)this.pop()}generateImpliedEndTagsWithExclusion(t){for(;this.currentTagId!==void 0&&this.currentTagId!==t&&sf.has(this.currentTagId);)this.pop()}}const W0=3;var ir;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(ir||(ir={}));const lf={type:ir.Marker};class fv{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===ir.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<W0)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<W0)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>=W0&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(lf)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:ir.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:ir.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(lf);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===ir.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===ir.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===ir.Element&&r.element===t)}}const zr={createDocument(){return{nodeName:"#document",mode:jt.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=te(te({},e.sourceCodeLocation),t)}},Cp="html",hv="about:legacy-compat",dv="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",Ip=["+//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//"],mv=[...Ip,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],pv=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),_p=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],gv=[..._p,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function cf(e,t){return t.some(r=>e.startsWith(r))}function bv(e){return e.name===Cp&&e.publicId===null&&(e.systemId===null||e.systemId===hv)}function yv(e){if(e.name!==Cp)return jt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===dv)return jt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),pv.has(r))return jt.QUIRKS;let n=t===null?mv:Ip;if(cf(r,n))return jt.QUIRKS;if(n=t===null?_p:gv,cf(r,n))return jt.LIMITED_QUIRKS}return jt.NO_QUIRKS}const ff={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},Ev="definitionurl",xv="definitionURL",Tv=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])),vv=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}]]),Av=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])),Sv=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 wv(e){const t=e.tagID;return t===h.FONT&&e.attrs.some(({name:n})=>n===pn.COLOR||n===pn.SIZE||n===pn.FACE)||Sv.has(t)}function Np(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===Ev){e.attrs[t].name=xv;break}}function Op(e){for(let t=0;t<e.attrs.length;t++){const r=Tv.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function ll(e){for(let t=0;t<e.attrs.length;t++){const r=vv.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 kv(e){const t=Av.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=la(e.tagName))}function Cv(e,t){return t===W.MATHML&&(e===h.MI||e===h.MO||e===h.MN||e===h.MS||e===h.MTEXT)}function Iv(e,t,r){if(t===W.MATHML&&e===h.ANNOTATION_XML){for(let n=0;n<r.length;n++)if(r[n].name===pn.ENCODING){const a=r[n].value.toLowerCase();return a===ff.TEXT_HTML||a===ff.APPLICATION_XML}}return t===W.SVG&&(e===h.FOREIGN_OBJECT||e===h.DESC||e===h.TITLE)}function _v(e,t,r,n){return(!n||n===W.HTML)&&Iv(e,t,r)||(!n||n===W.MATHML)&&Cv(e,t)}const Nv="hidden",Ov=8,Rv=3;var _;(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"})(_||(_={}));const Lv={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},Rp=new Set([h.TABLE,h.TBODY,h.TFOOT,h.THEAD,h.TR]),hf={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=_.INITIAL,this.originalInsertionMode=_.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=te(te({},hf),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 nv(this.options,this),this.activeFormattingElements=new fv(this.treeAdapter),this.fragmentContextID=n?la(this.treeAdapter.getTagName(n)):h.UNKNOWN,this._setContextModes(n!=null?n:this.document,this.fragmentContextID),this.openElements=new cv(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=te(te({},hf),r);t!=null||(t=n.treeAdapter.createElement(z.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(_.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:Lv,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=_.TEXT}switchToPlaintextParsing(){this.insertionMode=_.TEXT,this.originalInsertionMode=_.IN_BODY,this.tokenizer.state=Qe.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)===z.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=Qe.RCDATA;break}case h.STYLE:case h.XMP:case h.IFRAME:case h.NOEMBED:case h.NOFRAMES:case h.NOSCRIPT:{this.tokenizer.state=Qe.RAWTEXT;break}case h.SCRIPT:{this.tokenizer.state=Qe.SCRIPT_DATA;break}case h.PLAINTEXT:{this.tokenizer.state=Qe.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&&ot(te({},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(z.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===Se.END_TAG&&a===r.tagName?{endTag:te({},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)===z.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 Se.CHARACTER:{this.onCharacter(t);break}case Se.NULL_CHARACTER:{this.onNullCharacter(t);break}case Se.COMMENT:{this.onComment(t);break}case Se.DOCTYPE:{this.onDoctype(t);break}case Se.START_TAG:{this._processStartTag(t);break}case Se.END_TAG:{this.onEndTag(t);break}case Se.EOF:{this.onEof(t);break}case Se.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return _v(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===ir.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=_.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=_.IN_ROW;return}case h.TBODY:case h.THEAD:case h.TFOOT:{this.insertionMode=_.IN_TABLE_BODY;return}case h.CAPTION:{this.insertionMode=_.IN_CAPTION;return}case h.COLGROUP:{this.insertionMode=_.IN_COLUMN_GROUP;return}case h.TABLE:{this.insertionMode=_.IN_TABLE;return}case h.BODY:{this.insertionMode=_.IN_BODY;return}case h.FRAMESET:{this.insertionMode=_.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?_.AFTER_HEAD:_.BEFORE_HEAD;return}case h.TD:case h.TH:{if(t>0){this.insertionMode=_.IN_CELL;return}break}case h.HEAD:{if(t>0){this.insertionMode=_.IN_HEAD;return}break}}this.insertionMode=_.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=_.IN_SELECT_IN_TABLE;return}}this.insertionMode=_.IN_SELECT}_isElementCausesFosterParenting(t){return Rp.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 ZT[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){lS(this,t);return}switch(this.insertionMode){case _.INITIAL:{Ta(this,t);break}case _.BEFORE_HTML:{Ma(this,t);break}case _.BEFORE_HEAD:{Pa(this,t);break}case _.IN_HEAD:{Fa(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ba(this,t);break}case _.AFTER_HEAD:{za(this,t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:{Dp(this,t);break}case _.TEXT:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{G0(this,t);break}case _.IN_TABLE_TEXT:{Hp(this,t);break}case _.IN_COLUMN_GROUP:{ys(this,t);break}case _.AFTER_BODY:{Es(this,t);break}case _.AFTER_AFTER_BODY:{es(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){oS(this,t);return}switch(this.insertionMode){case _.INITIAL:{Ta(this,t);break}case _.BEFORE_HTML:{Ma(this,t);break}case _.BEFORE_HEAD:{Pa(this,t);break}case _.IN_HEAD:{Fa(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ba(this,t);break}case _.AFTER_HEAD:{za(this,t);break}case _.TEXT:{this._insertCharacters(t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{G0(this,t);break}case _.IN_COLUMN_GROUP:{ys(this,t);break}case _.AFTER_BODY:{Es(this,t);break}case _.AFTER_AFTER_BODY:{es(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){Uu(this,t);return}switch(this.insertionMode){case _.INITIAL:case _.BEFORE_HTML:case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_TEMPLATE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{Uu(this,t);break}case _.IN_TABLE_TEXT:{va(this,t);break}case _.AFTER_BODY:{Hv(this,t);break}case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{Uv(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case _.INITIAL:{jv(this,t);break}case _.BEFORE_HEAD:case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:{this._err(t,q.misplacedDoctype);break}case _.IN_TABLE_TEXT:{va(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)?cS(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{Ta(this,t);break}case _.BEFORE_HTML:{qv(this,t);break}case _.BEFORE_HEAD:{Yv(this,t);break}case _.IN_HEAD:{er(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Gv(this,t);break}case _.AFTER_HEAD:{Kv(this,t);break}case _.IN_BODY:{gt(this,t);break}case _.IN_TABLE:{Qn(this,t);break}case _.IN_TABLE_TEXT:{va(this,t);break}case _.IN_CAPTION:{VA(this,t);break}case _.IN_COLUMN_GROUP:{hl(this,t);break}case _.IN_TABLE_BODY:{Qs(this,t);break}case _.IN_ROW:{Js(this,t);break}case _.IN_CELL:{XA(this,t);break}case _.IN_SELECT:{qp(this,t);break}case _.IN_SELECT_IN_TABLE:{QA(this,t);break}case _.IN_TEMPLATE:{ZA(this,t);break}case _.AFTER_BODY:{tS(this,t);break}case _.IN_FRAMESET:{rS(this,t);break}case _.AFTER_FRAMESET:{aS(this,t);break}case _.AFTER_AFTER_BODY:{sS(this,t);break}case _.AFTER_AFTER_FRAMESET:{uS(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?fS(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case _.INITIAL:{Ta(this,t);break}case _.BEFORE_HTML:{$v(this,t);break}case _.BEFORE_HEAD:{Vv(this,t);break}case _.IN_HEAD:{Wv(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Xv(this,t);break}case _.AFTER_HEAD:{Qv(this,t);break}case _.IN_BODY:{Ks(this,t);break}case _.TEXT:{PA(this,t);break}case _.IN_TABLE:{Xa(this,t);break}case _.IN_TABLE_TEXT:{va(this,t);break}case _.IN_CAPTION:{WA(this,t);break}case _.IN_COLUMN_GROUP:{GA(this,t);break}case _.IN_TABLE_BODY:{ju(this,t);break}case _.IN_ROW:{jp(this,t);break}case _.IN_CELL:{KA(this,t);break}case _.IN_SELECT:{$p(this,t);break}case _.IN_SELECT_IN_TABLE:{JA(this,t);break}case _.IN_TEMPLATE:{eS(this,t);break}case _.AFTER_BODY:{Vp(this,t);break}case _.IN_FRAMESET:{nS(this,t);break}case _.AFTER_FRAMESET:{iS(this,t);break}case _.AFTER_AFTER_BODY:{es(this,t);break}}}onEof(t){switch(this.insertionMode){case _.INITIAL:{Ta(this,t);break}case _.BEFORE_HTML:{Ma(this,t);break}case _.BEFORE_HEAD:{Pa(this,t);break}case _.IN_HEAD:{Fa(this,t);break}case _.IN_HEAD_NO_SCRIPT:{Ba(this,t);break}case _.AFTER_HEAD:{za(this,t);break}case _.IN_BODY:case _.IN_TABLE:case _.IN_CAPTION:case _.IN_COLUMN_GROUP:case _.IN_TABLE_BODY:case _.IN_ROW:case _.IN_CELL:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:{Bp(this,t);break}case _.TEXT:{FA(this,t);break}case _.IN_TABLE_TEXT:{va(this,t);break}case _.IN_TEMPLATE:{Yp(this,t);break}case _.AFTER_BODY:case _.IN_FRAMESET:case _.AFTER_FRAMESET:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{fl(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===S.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case _.IN_HEAD:case _.IN_HEAD_NO_SCRIPT:case _.AFTER_HEAD:case _.TEXT:case _.IN_COLUMN_GROUP:case _.IN_SELECT:case _.IN_SELECT_IN_TABLE:case _.IN_FRAMESET:case _.AFTER_FRAMESET:{this._insertCharacters(t);break}case _.IN_BODY:case _.IN_CAPTION:case _.IN_CELL:case _.IN_TEMPLATE:case _.AFTER_BODY:case _.AFTER_AFTER_BODY:case _.AFTER_AFTER_FRAMESET:{Lp(this,t);break}case _.IN_TABLE:case _.IN_TABLE_BODY:case _.IN_ROW:{G0(this,t);break}case _.IN_TABLE_TEXT:{zp(this,t);break}}}}function Dv(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):Fp(e,t),r}function Mv(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 Pv(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>=Rv;!u||o?(o&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(s)):(s=Fv(e,u),n===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function Fv(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 Bv(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 zv(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 cl(e,t){for(let r=0;r<Ov;r++){const n=Dv(e,t);if(!n)break;const a=Mv(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=Pv(e,a,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&Bv(e,s,i),zv(e,a,n)}}function Uu(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function Hv(e,t){e._appendCommentNode(t,e.openElements.items[0])}function Uv(e,t){e._appendCommentNode(t,e.document)}function fl(e,t){if(e.stopped=!0,t.location){const r=e.fragmentContext?0:2;for(let n=e.openElements.stackTop;n>=r;n--)e._setEndLocation(e.openElements.items[n],t);if(!e.fragmentContext&&e.openElements.stackTop>=0){const n=e.openElements.items[0],a=e.treeAdapter.getNodeSourceCodeLocation(n);if(a&&!a.endTag&&(e._setEndLocation(n,t),e.openElements.stackTop>=1)){const i=e.openElements.items[1],s=e.treeAdapter.getNodeSourceCodeLocation(i);s&&!s.endTag&&e._setEndLocation(i,t)}}}}function jv(e,t){e._setDocumentType(t);const r=t.forceQuirks?jt.QUIRKS:yv(t);bv(t)||e._err(t,q.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=_.BEFORE_HTML}function Ta(e,t){e._err(t,q.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,jt.QUIRKS),e.insertionMode=_.BEFORE_HTML,e._processToken(t)}function qv(e,t){t.tagID===h.HTML?(e._insertElement(t,W.HTML),e.insertionMode=_.BEFORE_HEAD):Ma(e,t)}function $v(e,t){const r=t.tagID;(r===h.HTML||r===h.HEAD||r===h.BODY||r===h.BR)&&Ma(e,t)}function Ma(e,t){e._insertFakeRootElement(),e.insertionMode=_.BEFORE_HEAD,e._processToken(t)}function Yv(e,t){switch(t.tagID){case h.HTML:{gt(e,t);break}case h.HEAD:{e._insertElement(t,W.HTML),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD;break}default:Pa(e,t)}}function Vv(e,t){const r=t.tagID;r===h.HEAD||r===h.BODY||r===h.HTML||r===h.BR?Pa(e,t):e._err(t,q.endTagWithoutMatchingOpenElement)}function Pa(e,t){e._insertFakeElement(z.HEAD,h.HEAD),e.headElement=e.openElements.current,e.insertionMode=_.IN_HEAD,e._processToken(t)}function er(e,t){switch(t.tagID){case h.HTML:{gt(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,Qe.RCDATA);break}case h.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Qe.RAWTEXT):(e._insertElement(t,W.HTML),e.insertionMode=_.IN_HEAD_NO_SCRIPT);break}case h.NOFRAMES:case h.STYLE:{e._switchToTextParsing(t,Qe.RAWTEXT);break}case h.SCRIPT:{e._switchToTextParsing(t,Qe.SCRIPT_DATA);break}case h.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=_.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(_.IN_TEMPLATE);break}case h.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Fa(e,t)}}function Wv(e,t){switch(t.tagID){case h.HEAD:{e.openElements.pop(),e.insertionMode=_.AFTER_HEAD;break}case h.BODY:case h.BR:case h.HTML:{Fa(e,t);break}case h.TEMPLATE:{wn(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function wn(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 Fa(e,t){e.openElements.pop(),e.insertionMode=_.AFTER_HEAD,e._processToken(t)}function Gv(e,t){switch(t.tagID){case h.HTML:{gt(e,t);break}case h.BASEFONT:case h.BGSOUND:case h.HEAD:case h.LINK:case h.META:case h.NOFRAMES:case h.STYLE:{er(e,t);break}case h.NOSCRIPT:{e._err(t,q.nestedNoscriptInHead);break}default:Ba(e,t)}}function Xv(e,t){switch(t.tagID){case h.NOSCRIPT:{e.openElements.pop(),e.insertionMode=_.IN_HEAD;break}case h.BR:{Ba(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Ba(e,t){const r=t.type===Se.EOF?q.openElementsLeftAfterEof:q.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=_.IN_HEAD,e._processToken(t)}function Kv(e,t){switch(t.tagID){case h.HTML:{gt(e,t);break}case h.BODY:{e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=_.IN_BODY;break}case h.FRAMESET:{e._insertElement(t,W.HTML),e.insertionMode=_.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),er(e,t),e.openElements.remove(e.headElement);break}case h.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:za(e,t)}}function Qv(e,t){switch(t.tagID){case h.BODY:case h.HTML:case h.BR:{za(e,t);break}case h.TEMPLATE:{wn(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function za(e,t){e._insertFakeElement(z.BODY,h.BODY),e.insertionMode=_.IN_BODY,Xs(e,t)}function Xs(e,t){switch(t.type){case Se.CHARACTER:{Dp(e,t);break}case Se.WHITESPACE_CHARACTER:{Lp(e,t);break}case Se.COMMENT:{Uu(e,t);break}case Se.START_TAG:{gt(e,t);break}case Se.END_TAG:{Ks(e,t);break}case Se.EOF:{Bp(e,t);break}}}function Lp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function Dp(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function Jv(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Zv(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function eA(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,W.HTML),e.insertionMode=_.IN_FRAMESET)}function tA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML)}function rA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&Hu.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,W.HTML)}function nA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function aA(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 iA(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 sA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.tokenizer.state=Qe.PLAINTEXT}function uA(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 oA(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(z.A);r&&(cl(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 cA(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(cl(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function fA(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function hA(e,t){e.treeAdapter.getDocumentMode(e.document)!==jt.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=_.IN_TABLE}function Mp(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,W.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Pp(e){const t=Sp(e,pn.TYPE);return t!=null&&t.toLowerCase()===Nv}function dA(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,W.HTML),Pp(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function mA(e,t){e._appendElement(t,W.HTML),t.ackSelfClosing=!0}function pA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._appendElement(t,W.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function gA(e,t){t.tagName=z.IMG,t.tagID=h.IMG,Mp(e,t)}function bA(e,t){e._insertElement(t,W.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Qe.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=_.TEXT}function yA(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Qe.RAWTEXT)}function EA(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Qe.RAWTEXT)}function mf(e,t){e._switchToTextParsing(t,Qe.RAWTEXT)}function xA(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===_.IN_TABLE||e.insertionMode===_.IN_CAPTION||e.insertionMode===_.IN_TABLE_BODY||e.insertionMode===_.IN_ROW||e.insertionMode===_.IN_CELL?_.IN_SELECT_IN_TABLE:_.IN_SELECT}function TA(e,t){e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML)}function vA(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,W.HTML)}function AA(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,W.HTML)}function SA(e,t){e._reconstructActiveFormattingElements(),Np(t),ll(t),t.selfClosing?e._appendElement(t,W.MATHML):e._insertElement(t,W.MATHML),t.ackSelfClosing=!0}function wA(e,t){e._reconstructActiveFormattingElements(),Op(t),ll(t),t.selfClosing?e._appendElement(t,W.SVG):e._insertElement(t,W.SVG),t.ackSelfClosing=!0}function pf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML)}function gt(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:{oA(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{rA(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:{tA(e,t);break}case h.LI:case h.DD:case h.DT:{iA(e,t);break}case h.BR:case h.IMG:case h.WBR:case h.AREA:case h.EMBED:case h.KEYGEN:{Mp(e,t);break}case h.HR:{pA(e,t);break}case h.RB:case h.RTC:{vA(e,t);break}case h.RT:case h.RP:{AA(e,t);break}case h.PRE:case h.LISTING:{nA(e,t);break}case h.XMP:{yA(e,t);break}case h.SVG:{wA(e,t);break}case h.HTML:{Jv(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:{er(e,t);break}case h.BODY:{Zv(e,t);break}case h.FORM:{aA(e,t);break}case h.NOBR:{cA(e,t);break}case h.MATH:{SA(e,t);break}case h.TABLE:{hA(e,t);break}case h.INPUT:{dA(e,t);break}case h.PARAM:case h.TRACK:case h.SOURCE:{mA(e,t);break}case h.IMAGE:{gA(e,t);break}case h.BUTTON:{uA(e,t);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{fA(e,t);break}case h.IFRAME:{EA(e,t);break}case h.SELECT:{xA(e,t);break}case h.OPTION:case h.OPTGROUP:{TA(e,t);break}case h.NOEMBED:case h.NOFRAMES:{mf(e,t);break}case h.FRAMESET:{eA(e,t);break}case h.TEXTAREA:{bA(e,t);break}case h.NOSCRIPT:{e.options.scriptingEnabled?mf(e,t):pf(e,t);break}case h.PLAINTEXT:{sA(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:pf(e,t)}}function kA(e,t){if(e.openElements.hasInScope(h.BODY)&&(e.insertionMode=_.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function CA(e,t){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=_.AFTER_BODY,Vp(e,t))}function IA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function _A(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 NA(e){e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(z.P,h.P),e._closePElement()}function OA(e){e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI))}function RA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function LA(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function DA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function MA(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(z.BR,h.BR),e.openElements.pop(),e.framesetOk=!1}function Fp(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 Ks(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:{cl(e,t);break}case h.P:{NA(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:{IA(e,t);break}case h.LI:{OA(e);break}case h.DD:case h.DT:{RA(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{LA(e);break}case h.BR:{MA(e);break}case h.BODY:{kA(e,t);break}case h.HTML:{CA(e,t);break}case h.FORM:{_A(e);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{DA(e,t);break}case h.TEMPLATE:{wn(e,t);break}default:Fp(e,t)}}function Bp(e,t){e.tmplInsertionModeStack.length>0?Yp(e,t):fl(e,t)}function PA(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 FA(e,t){e._err(t,q.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function G0(e,t){if(e.openElements.currentTagId!==void 0&&Rp.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=_.IN_TABLE_TEXT,t.type){case Se.CHARACTER:{Hp(e,t);break}case Se.WHITESPACE_CHARACTER:{zp(e,t);break}}else hi(e,t)}function BA(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,W.HTML),e.insertionMode=_.IN_CAPTION}function zA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,W.HTML),e.insertionMode=_.IN_COLUMN_GROUP}function HA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(z.COLGROUP,h.COLGROUP),e.insertionMode=_.IN_COLUMN_GROUP,hl(e,t)}function UA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,W.HTML),e.insertionMode=_.IN_TABLE_BODY}function jA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(z.TBODY,h.TBODY),e.insertionMode=_.IN_TABLE_BODY,Qs(e,t)}function qA(e,t){e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function $A(e,t){Pp(t)?e._appendElement(t,W.HTML):hi(e,t),t.ackSelfClosing=!0}function YA(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,W.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Qn(e,t){switch(t.tagID){case h.TD:case h.TH:case h.TR:{jA(e,t);break}case h.STYLE:case h.SCRIPT:case h.TEMPLATE:{er(e,t);break}case h.COL:{HA(e,t);break}case h.FORM:{YA(e,t);break}case h.TABLE:{qA(e,t);break}case h.TBODY:case h.TFOOT:case h.THEAD:{UA(e,t);break}case h.INPUT:{$A(e,t);break}case h.CAPTION:{BA(e,t);break}case h.COLGROUP:{zA(e,t);break}default:hi(e,t)}}function Xa(e,t){switch(t.tagID){case h.TABLE:{e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode());break}case h.TEMPLATE:{wn(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,Xs(e,t),e.fosterParentingEnabled=r}function zp(e,t){e.pendingCharacterTokens.push(t)}function Hp(e,t){e.pendingCharacterTokens.push(t),e.hasNonWhitespacePendingCharacterToken=!0}function va(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 Up=new Set([h.CAPTION,h.COL,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]);function VA(e,t){const r=t.tagID;Up.has(r)?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=_.IN_TABLE,Qn(e,t)):gt(e,t)}function WA(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=_.IN_TABLE,r===h.TABLE&&Xa(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:Ks(e,t)}}function hl(e,t){switch(t.tagID){case h.HTML:{gt(e,t);break}case h.COL:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.TEMPLATE:{er(e,t);break}default:ys(e,t)}}function GA(e,t){switch(t.tagID){case h.COLGROUP:{e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=_.IN_TABLE);break}case h.TEMPLATE:{wn(e,t);break}case h.COL:break;default:ys(e,t)}}function ys(e,t){e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=_.IN_TABLE,e._processToken(t))}function Qs(e,t){switch(t.tagID){case h.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,W.HTML),e.insertionMode=_.IN_ROW;break}case h.TH:case h.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(z.TR,h.TR),e.insertionMode=_.IN_ROW,Js(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=_.IN_TABLE,Qn(e,t));break}default:Qn(e,t)}}function ju(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=_.IN_TABLE);break}case h.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE,Xa(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:Xa(e,t)}}function Js(e,t){switch(t.tagID){case h.TH:case h.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,W.HTML),e.insertionMode=_.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=_.IN_TABLE_BODY,Qs(e,t));break}default:Qn(e,t)}}function jp(e,t){switch(t.tagID){case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY);break}case h.TABLE:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=_.IN_TABLE_BODY,ju(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=_.IN_TABLE_BODY,ju(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:Xa(e,t)}}function XA(e,t){const r=t.tagID;Up.has(r)?(e.openElements.hasInTableScope(h.TD)||e.openElements.hasInTableScope(h.TH))&&(e._closeTableCell(),Js(e,t)):gt(e,t)}function KA(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=_.IN_ROW);break}case h.TABLE:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),jp(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:break;default:Ks(e,t)}}function qp(e,t){switch(t.tagID){case h.HTML:{gt(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:{er(e,t);break}}}function $p(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:{wn(e,t);break}}}function QA(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)):qp(e,t)}function JA(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)):$p(e,t)}function ZA(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:{er(e,t);break}case h.CAPTION:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:{e.tmplInsertionModeStack[0]=_.IN_TABLE,e.insertionMode=_.IN_TABLE,Qn(e,t);break}case h.COL:{e.tmplInsertionModeStack[0]=_.IN_COLUMN_GROUP,e.insertionMode=_.IN_COLUMN_GROUP,hl(e,t);break}case h.TR:{e.tmplInsertionModeStack[0]=_.IN_TABLE_BODY,e.insertionMode=_.IN_TABLE_BODY,Qs(e,t);break}case h.TD:case h.TH:{e.tmplInsertionModeStack[0]=_.IN_ROW,e.insertionMode=_.IN_ROW,Js(e,t);break}default:e.tmplInsertionModeStack[0]=_.IN_BODY,e.insertionMode=_.IN_BODY,gt(e,t)}}function eS(e,t){t.tagID===h.TEMPLATE&&wn(e,t)}function Yp(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):fl(e,t)}function tS(e,t){t.tagID===h.HTML?gt(e,t):Es(e,t)}function Vp(e,t){var r;if(t.tagID===h.HTML){if(e.fragmentContext||(e.insertionMode=_.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 Es(e,t)}function Es(e,t){e.insertionMode=_.IN_BODY,Xs(e,t)}function rS(e,t){switch(t.tagID){case h.HTML:{gt(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:{er(e,t);break}}}function nS(e,t){t.tagID===h.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==h.FRAMESET&&(e.insertionMode=_.AFTER_FRAMESET))}function aS(e,t){switch(t.tagID){case h.HTML:{gt(e,t);break}case h.NOFRAMES:{er(e,t);break}}}function iS(e,t){t.tagID===h.HTML&&(e.insertionMode=_.AFTER_AFTER_FRAMESET)}function sS(e,t){t.tagID===h.HTML?gt(e,t):es(e,t)}function es(e,t){e.insertionMode=_.IN_BODY,Xs(e,t)}function uS(e,t){switch(t.tagID){case h.HTML:{gt(e,t);break}case h.NOFRAMES:{er(e,t);break}}}function oS(e,t){t.chars=Ve,e._insertCharacters(t)}function lS(e,t){e._insertCharacters(t),e.framesetOk=!1}function Wp(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 cS(e,t){if(wv(t))Wp(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===W.MATHML?Np(t):n===W.SVG&&(kv(t),Op(t)),ll(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function fS(e,t){if(t.tagID===h.P||t.tagID===h.BR){Wp(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}}}z.AREA,z.BASE,z.BASEFONT,z.BGSOUND,z.BR,z.COL,z.EMBED,z.FRAME,z.HR,z.IMG,z.INPUT,z.KEYGEN,z.LINK,z.META,z.PARAM,z.SOURCE,z.TRACK,z.WBR;const hS=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,dS=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),gf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function Gp(e,t){const r=AS(e),n=jm("type",{handlers:{root:mS,element:pS,text:gS,comment:Kp,doctype:bS,raw:ES},unknown:xS}),a={parser:r?new df(gf):df.getFragmentParser(void 0,gf),handle(u){n(u,a)},stitches:!1,options:t||{}};n(e,a),ca(a,hr());const i=r?a.parser.document:a.parser.getFragment(),s=ST(i,{file:a.options.file});return a.stitches&&js(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 Xp(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function mS(e,t){Xp(e.children,t)}function pS(e,t){TS(e,t),Xp(e.children,t),vS(e,t)}function gS(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Se.CHARACTER,chars:e.value,location:di(e)};ca(t,hr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function bS(e,t){const r={type:Se.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:di(e)};ca(t,hr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function yS(e,t){t.stitches=!0;const r=SS(e);if("children"in e&&"children"in r){const n=Gp({type:"root",children:e.children},t.options);r.children=n.children}Kp({type:"comment",value:{stitch:r}},t)}function Kp(e,t){const r=e.value,n={type:Se.COMMENT,data:r,location:di(e)};ca(t,hr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function ES(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,Qp(t,hr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(hS,"<$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 xS(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))yS(r,t);else{let n="";throw dS.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){Qp(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=Qe.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 Qp(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 TS(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Qe.PLAINTEXT)return;ca(t,hr(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:lr.html;a===lr.html&&r==="svg"&&(a=lr.svg);const i=_T(ot(te({},e),{children:[]}),{space:a===lr.svg?"svg":"html"}),s={type:Se.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 vS(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&FT.includes(r)||t.parser.tokenizer.state===Qe.PLAINTEXT)return;ca(t,Fs(e));const n={type:Se.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===Qe.RCDATA||t.parser.tokenizer.state===Qe.RAWTEXT||t.parser.tokenizer.state===Qe.SCRIPT_DATA)&&(t.parser.tokenizer.state=Qe.DATA)}function AS(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=hr(e)||{line:void 0,column:void 0,offset:void 0},r=Fs(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 SS(e){return"children"in e?Xn(ot(te({},e),{children:[]})):Xn(e)}function wS(e){return function(t,r){return Gp(t,ot(te({},e),{file:r}))}}function kS(e){Fm(e,[/\r?\n|\r/g,CS])}function CS(){return{type:"break"}}function IS(){return function(e){kS(e)}}const _S=ae.div`
|
|
306
|
+
position: relative;
|
|
307
|
+
|
|
308
|
+
> p {
|
|
309
|
+
margin-bottom: 16px;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
> p:last-child {
|
|
313
|
+
margin-bottom: 0;
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
@keyframes dots {
|
|
317
|
+
0%, 20% {
|
|
318
|
+
color: ${({loading_color:e})=>e};
|
|
319
|
+
text-shadow: ${({loading_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
|
|
320
|
+
}
|
|
321
|
+
40% {
|
|
322
|
+
color: ${({primary_color:e})=>e};
|
|
323
|
+
text-shadow: ${({loading_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
|
|
324
|
+
}
|
|
325
|
+
60% {
|
|
326
|
+
text-shadow: ${({primary_color:e,loading_color:t})=>`.25em 0 0 ${e}, .5em 0 0 ${t}`};
|
|
327
|
+
}
|
|
328
|
+
80%, 100% {
|
|
329
|
+
text-shadow: ${({primary_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
|
|
330
|
+
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
@keyframes blink-dots {
|
|
335
|
+
0%,
|
|
336
|
+
80%,
|
|
337
|
+
100% {
|
|
338
|
+
box-shadow: 0 -1em 0 -1.3em #5584ff;
|
|
339
|
+
}
|
|
340
|
+
40% {
|
|
341
|
+
box-shadow: 0 -1em 0 0 #5584ff;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.prompt-message {
|
|
346
|
+
font-size: 12px;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
.prompt-loading {
|
|
350
|
+
margin-left: 2px;
|
|
351
|
+
color: ${({second_color:e})=>e};
|
|
352
|
+
position: relative;
|
|
353
|
+
|
|
354
|
+
.dots {
|
|
355
|
+
//text-align: center;
|
|
356
|
+
//font-size: 1.5em;
|
|
357
|
+
//letter-spacing: 2px;
|
|
358
|
+
//animation: dots 1s steps(5, end) infinite;
|
|
359
|
+
|
|
360
|
+
display: inline-block;
|
|
361
|
+
position: relative;
|
|
362
|
+
text-indent: -9999em;
|
|
363
|
+
animation-delay: -0.16s;
|
|
364
|
+
margin: 0 auto !important;
|
|
365
|
+
transform: scale(0.5);
|
|
366
|
+
top: 0.6em;
|
|
367
|
+
left: 1.5em;
|
|
368
|
+
|
|
369
|
+
&:before,
|
|
370
|
+
&:after,
|
|
371
|
+
& {
|
|
372
|
+
border-radius: 50%;
|
|
373
|
+
width: 1em;
|
|
374
|
+
height: 1em;
|
|
375
|
+
animation: 1.8s ease-in-out 0s infinite normal none running blink-dots;
|
|
376
|
+
}
|
|
377
|
+
&:before {
|
|
378
|
+
left: -2em;
|
|
379
|
+
animation-delay: -0.32s;
|
|
380
|
+
}
|
|
381
|
+
&:after {
|
|
382
|
+
left: 2em;
|
|
383
|
+
}
|
|
384
|
+
&:before,
|
|
385
|
+
&:after {
|
|
386
|
+
content: '';
|
|
387
|
+
position: absolute;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
h1,h2,h3,h4,h5,h6 {
|
|
393
|
+
padding: 10px;
|
|
394
|
+
color: ${({color:e})=>e};
|
|
395
|
+
// background: ${({bg_color:e})=>e}; // TODO dark mode ?
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
h1 {
|
|
399
|
+
font-size: 18px;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
h2 {
|
|
403
|
+
font-size: 16px;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
h3,h4 {
|
|
407
|
+
font-size: 14px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
ul,ol {
|
|
411
|
+
padding-left: 2em;
|
|
412
|
+
display: flex;
|
|
413
|
+
flex-direction: column;
|
|
414
|
+
gap: 8px;
|
|
415
|
+
list-style-type: disc;
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
ul ul,
|
|
419
|
+
ol ul {
|
|
420
|
+
list-style-type: circle;
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
ul ul ul,
|
|
424
|
+
ul ol ul,
|
|
425
|
+
ol ul ul,
|
|
426
|
+
ol ol ul {
|
|
427
|
+
list-style-type: square;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
ol {
|
|
431
|
+
list-style-type: decimal;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
li {
|
|
435
|
+
white-space: normal;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
details {
|
|
439
|
+
font-size: 12px;
|
|
440
|
+
color: rgb(106 105 105);
|
|
441
|
+
white-space: normal;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
details:has(pre:empty) {
|
|
445
|
+
display: none;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
summary {
|
|
449
|
+
margin-left: -4px;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
pre.think {
|
|
453
|
+
font-size: 12px;
|
|
454
|
+
color: #a6a6a6;
|
|
455
|
+
border-left: 1px #a6a6a6 solid;
|
|
456
|
+
display: inline-block;
|
|
457
|
+
white-space: pre-wrap;
|
|
458
|
+
overflow-wrap: break-word;
|
|
459
|
+
padding-left: 10px;
|
|
460
|
+
margin-top: 8px;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
pre.think > p {
|
|
464
|
+
margin-top: 10px;
|
|
465
|
+
}
|
|
466
|
+
|
|
467
|
+
table {
|
|
468
|
+
display: block;
|
|
469
|
+
overflow-x: auto;
|
|
470
|
+
width: max-content;
|
|
471
|
+
max-width: 100%;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
th, td {
|
|
475
|
+
border: 1px solid #d9d9d9;
|
|
476
|
+
padding: 12px;
|
|
477
|
+
text-align: center;
|
|
478
|
+
white-space: nowrap;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
/* 用于 coverMath2Markdown 的加载动画 */
|
|
482
|
+
@keyframes cursorImg {
|
|
483
|
+
0%, 100% {
|
|
484
|
+
opacity: 1;
|
|
485
|
+
}
|
|
486
|
+
50% {
|
|
487
|
+
opacity: 0;
|
|
488
|
+
}
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.prompt-loading-cursor {
|
|
492
|
+
color: #5584ff;
|
|
493
|
+
animation: cursorImg 1s infinite steps(1, start);
|
|
494
|
+
}
|
|
495
|
+
|
|
496
|
+
/* KaTeX 数学公式样式 */
|
|
497
|
+
.katex {
|
|
498
|
+
font: inherit;
|
|
499
|
+
text-rendering: auto;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
.katex-display {
|
|
503
|
+
display: block;
|
|
504
|
+
margin: 1em 0;
|
|
505
|
+
text-align: center;
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
/* 数学符号和布局样式 */
|
|
509
|
+
.katex .mord,
|
|
510
|
+
.katex .mbin,
|
|
511
|
+
.katex .mrel,
|
|
512
|
+
.katex .mopen,
|
|
513
|
+
.katex .mclose,
|
|
514
|
+
.katex .mpunct,
|
|
515
|
+
.katex .minner {
|
|
516
|
+
font-family: inherit;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
/* 数学布局样式 */
|
|
520
|
+
.katex .vlist-t,
|
|
521
|
+
.katex .vlist-r,
|
|
522
|
+
.katex .vlist {
|
|
523
|
+
display: inline-block;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.katex .mfrac {
|
|
527
|
+
display: inline-block;
|
|
528
|
+
vertical-align: middle;
|
|
529
|
+
}
|
|
530
|
+
`;/*!
|
|
531
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
532
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
533
|
+
* Copyright 2024 Fonticons, Inc.
|
|
534
|
+
*/function NS(e,t,r){return(t=RS(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function bf(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?bf(Object(r),!0).forEach(function(n){NS(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function OS(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 RS(e){var t=OS(e,"string");return typeof t=="symbol"?t:t+""}const yf=()=>{};let dl={},Jp={},Zp=null,e2={mark:yf,measure:yf};try{typeof window!="undefined"&&(dl=window),typeof document!="undefined"&&(Jp=document),typeof MutationObserver!="undefined"&&(Zp=MutationObserver),typeof performance!="undefined"&&(e2=performance)}catch(e){}const{userAgent:Ef=""}=dl.navigator||{},Wr=dl,qe=Jp,xf=Zp,Bi=e2;Wr.document;const Rr=!!qe.documentElement&&!!qe.head&&typeof qe.addEventListener=="function"&&typeof qe.createElement=="function",t2=~Ef.indexOf("MSIE")||~Ef.indexOf("Trident/");var LS=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,DS=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,r2={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"}},MS={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},n2=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],mt="classic",Zs="duotone",PS="sharp",FS="sharp-duotone",a2=[mt,Zs,PS,FS],BS={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"}},zS={"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"}},HS=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}]]),US={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"}},jS=["fak","fa-kit","fakd","fa-kit-duotone"],Tf={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},qS=["kit"],$S={kit:{"fa-kit":"fak"}},YS=["fak","fakd"],VS={kit:{fak:"fa-kit"}},vf={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},zi={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},WS=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],GS=["fak","fa-kit","fakd","fa-kit-duotone"],XS={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},KS={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"}},QS={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},qu={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"}},JS=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],$u=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...WS,...JS],ZS=["solid","regular","light","thin","duotone","brands"],i2=[1,2,3,4,5,6,7,8,9,10],ew=i2.concat([11,12,13,14,15,16,17,18,19,20]),tw=[...Object.keys(QS),...ZS,"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",zi.GROUP,zi.SWAP_OPACITY,zi.PRIMARY,zi.SECONDARY].concat(i2.map(e=>"".concat(e,"x"))).concat(ew.map(e=>"w-".concat(e))),rw={"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 Ir="___FONT_AWESOME___",Yu=16,s2="fa",u2="svg-inline--fa",En="data-fa-i2svg",Vu="data-fa-pseudo-element",nw="data-fa-pseudo-element-pending",ml="data-prefix",pl="data-icon",Af="fontawesome-i2svg",aw="async",iw=["HTML","HEAD","STYLE","SCRIPT"],o2=(()=>{try{return!0}catch(e){return!1}})();function mi(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[mt]}})}const l2=Z({},r2);l2[mt]=Z(Z(Z(Z({},{"fa-duotone":"duotone"}),r2[mt]),Tf.kit),Tf["kit-duotone"]);const sw=mi(l2),Wu=Z({},US);Wu[mt]=Z(Z(Z(Z({},{duotone:"fad"}),Wu[mt]),vf.kit),vf["kit-duotone"]);const Sf=mi(Wu),Gu=Z({},qu);Gu[mt]=Z(Z({},Gu[mt]),VS.kit);const gl=mi(Gu),Xu=Z({},KS);Xu[mt]=Z(Z({},Xu[mt]),$S.kit);mi(Xu);const uw=LS,c2="fa-layers-text",ow=DS,lw=Z({},BS);mi(lw);const cw=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],X0=MS,fw=[...qS,...tw],Ha=Wr.FontAwesomeConfig||{};function hw(e){var t=qe.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function dw(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}qe&&typeof qe.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=dw(hw(r));a!=null&&(Ha[n]=a)});const f2={styleDefault:"solid",familyDefault:mt,cssPrefix:s2,replacementClass:u2,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0};Ha.familyPrefix&&(Ha.cssPrefix=Ha.familyPrefix);const Jn=Z(Z({},f2),Ha);Jn.autoReplaceSvg||(Jn.observeMutations=!1);const le={};Object.keys(f2).forEach(e=>{Object.defineProperty(le,e,{enumerable:!0,set:function(t){Jn[e]=t,Ua.forEach(r=>r(le))},get:function(){return Jn[e]}})});Object.defineProperty(le,"familyPrefix",{enumerable:!0,set:function(e){Jn.cssPrefix=e,Ua.forEach(t=>t(le))},get:function(){return Jn.cssPrefix}});Wr.FontAwesomeConfig=le;const Ua=[];function mw(e){return Ua.push(e),()=>{Ua.splice(Ua.indexOf(e),1)}}const Pr=Yu,cr={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function pw(e){if(!e||!Rr)return;const t=qe.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=qe.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 qe.head.insertBefore(t,n),e}const gw="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ka(){let e=12,t="";for(;e-- >0;)t+=gw[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,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function bw(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(h2(e[r]),'" '),"").trim()}function e0(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function yl(e){return e.size!==cr.size||e.x!==cr.x||e.y!==cr.y||e.rotate!==cr.rotate||e.flipX||e.flipY}function yw(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 Ew(e){let{transform:t,width:r=Yu,height:n=Yu,startCentered:a=!1}=e,i="";return a&&t2?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 xw=`:root, :host {
|
|
535
|
+
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
536
|
+
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
537
|
+
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
538
|
+
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
|
|
539
|
+
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
540
|
+
--fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
|
|
541
|
+
--fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
|
|
542
|
+
--fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
|
|
543
|
+
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
544
|
+
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
|
545
|
+
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
|
546
|
+
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
|
547
|
+
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
|
|
548
|
+
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
549
|
+
--fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
550
|
+
--fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
551
|
+
--fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
555
|
+
overflow: visible;
|
|
556
|
+
box-sizing: content-box;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
.svg-inline--fa {
|
|
560
|
+
display: var(--fa-display, inline-block);
|
|
561
|
+
height: 1em;
|
|
562
|
+
overflow: visible;
|
|
563
|
+
vertical-align: -0.125em;
|
|
564
|
+
}
|
|
565
|
+
.svg-inline--fa.fa-2xs {
|
|
566
|
+
vertical-align: 0.1em;
|
|
567
|
+
}
|
|
568
|
+
.svg-inline--fa.fa-xs {
|
|
569
|
+
vertical-align: 0em;
|
|
570
|
+
}
|
|
571
|
+
.svg-inline--fa.fa-sm {
|
|
572
|
+
vertical-align: -0.0714285705em;
|
|
573
|
+
}
|
|
574
|
+
.svg-inline--fa.fa-lg {
|
|
575
|
+
vertical-align: -0.2em;
|
|
576
|
+
}
|
|
577
|
+
.svg-inline--fa.fa-xl {
|
|
578
|
+
vertical-align: -0.25em;
|
|
579
|
+
}
|
|
580
|
+
.svg-inline--fa.fa-2xl {
|
|
581
|
+
vertical-align: -0.3125em;
|
|
582
|
+
}
|
|
583
|
+
.svg-inline--fa.fa-pull-left {
|
|
584
|
+
margin-right: var(--fa-pull-margin, 0.3em);
|
|
585
|
+
width: auto;
|
|
586
|
+
}
|
|
587
|
+
.svg-inline--fa.fa-pull-right {
|
|
588
|
+
margin-left: var(--fa-pull-margin, 0.3em);
|
|
589
|
+
width: auto;
|
|
590
|
+
}
|
|
591
|
+
.svg-inline--fa.fa-li {
|
|
592
|
+
width: var(--fa-li-width, 2em);
|
|
593
|
+
top: 0.25em;
|
|
594
|
+
}
|
|
595
|
+
.svg-inline--fa.fa-fw {
|
|
596
|
+
width: var(--fa-fw-width, 1.25em);
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
.fa-layers svg.svg-inline--fa {
|
|
600
|
+
bottom: 0;
|
|
601
|
+
left: 0;
|
|
602
|
+
margin: auto;
|
|
603
|
+
position: absolute;
|
|
604
|
+
right: 0;
|
|
605
|
+
top: 0;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
.fa-layers-counter, .fa-layers-text {
|
|
609
|
+
display: inline-block;
|
|
610
|
+
position: absolute;
|
|
611
|
+
text-align: center;
|
|
612
|
+
}
|
|
613
|
+
|
|
614
|
+
.fa-layers {
|
|
615
|
+
display: inline-block;
|
|
616
|
+
height: 1em;
|
|
617
|
+
position: relative;
|
|
618
|
+
text-align: center;
|
|
619
|
+
vertical-align: -0.125em;
|
|
620
|
+
width: 1em;
|
|
621
|
+
}
|
|
622
|
+
.fa-layers svg.svg-inline--fa {
|
|
623
|
+
transform-origin: center center;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
.fa-layers-text {
|
|
627
|
+
left: 50%;
|
|
628
|
+
top: 50%;
|
|
629
|
+
transform: translate(-50%, -50%);
|
|
630
|
+
transform-origin: center center;
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
.fa-layers-counter {
|
|
634
|
+
background-color: var(--fa-counter-background-color, #ff253a);
|
|
635
|
+
border-radius: var(--fa-counter-border-radius, 1em);
|
|
636
|
+
box-sizing: border-box;
|
|
637
|
+
color: var(--fa-inverse, #fff);
|
|
638
|
+
line-height: var(--fa-counter-line-height, 1);
|
|
639
|
+
max-width: var(--fa-counter-max-width, 5em);
|
|
640
|
+
min-width: var(--fa-counter-min-width, 1.5em);
|
|
641
|
+
overflow: hidden;
|
|
642
|
+
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
643
|
+
right: var(--fa-right, 0);
|
|
644
|
+
text-overflow: ellipsis;
|
|
645
|
+
top: var(--fa-top, 0);
|
|
646
|
+
transform: scale(var(--fa-counter-scale, 0.25));
|
|
647
|
+
transform-origin: top right;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
.fa-layers-bottom-right {
|
|
651
|
+
bottom: var(--fa-bottom, 0);
|
|
652
|
+
right: var(--fa-right, 0);
|
|
653
|
+
top: auto;
|
|
654
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
655
|
+
transform-origin: bottom right;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
.fa-layers-bottom-left {
|
|
659
|
+
bottom: var(--fa-bottom, 0);
|
|
660
|
+
left: var(--fa-left, 0);
|
|
661
|
+
right: auto;
|
|
662
|
+
top: auto;
|
|
663
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
664
|
+
transform-origin: bottom left;
|
|
665
|
+
}
|
|
666
|
+
|
|
667
|
+
.fa-layers-top-right {
|
|
668
|
+
top: var(--fa-top, 0);
|
|
669
|
+
right: var(--fa-right, 0);
|
|
670
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
671
|
+
transform-origin: top right;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
.fa-layers-top-left {
|
|
675
|
+
left: var(--fa-left, 0);
|
|
676
|
+
right: auto;
|
|
677
|
+
top: var(--fa-top, 0);
|
|
678
|
+
transform: scale(var(--fa-layers-scale, 0.25));
|
|
679
|
+
transform-origin: top left;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
.fa-1x {
|
|
683
|
+
font-size: 1em;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
.fa-2x {
|
|
687
|
+
font-size: 2em;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.fa-3x {
|
|
691
|
+
font-size: 3em;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
.fa-4x {
|
|
695
|
+
font-size: 4em;
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
.fa-5x {
|
|
699
|
+
font-size: 5em;
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
.fa-6x {
|
|
703
|
+
font-size: 6em;
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
.fa-7x {
|
|
707
|
+
font-size: 7em;
|
|
708
|
+
}
|
|
709
|
+
|
|
710
|
+
.fa-8x {
|
|
711
|
+
font-size: 8em;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
.fa-9x {
|
|
715
|
+
font-size: 9em;
|
|
716
|
+
}
|
|
717
|
+
|
|
718
|
+
.fa-10x {
|
|
719
|
+
font-size: 10em;
|
|
720
|
+
}
|
|
721
|
+
|
|
722
|
+
.fa-2xs {
|
|
723
|
+
font-size: 0.625em;
|
|
724
|
+
line-height: 0.1em;
|
|
725
|
+
vertical-align: 0.225em;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
.fa-xs {
|
|
729
|
+
font-size: 0.75em;
|
|
730
|
+
line-height: 0.0833333337em;
|
|
731
|
+
vertical-align: 0.125em;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
.fa-sm {
|
|
735
|
+
font-size: 0.875em;
|
|
736
|
+
line-height: 0.0714285718em;
|
|
737
|
+
vertical-align: 0.0535714295em;
|
|
738
|
+
}
|
|
739
|
+
|
|
740
|
+
.fa-lg {
|
|
741
|
+
font-size: 1.25em;
|
|
742
|
+
line-height: 0.05em;
|
|
743
|
+
vertical-align: -0.075em;
|
|
744
|
+
}
|
|
745
|
+
|
|
746
|
+
.fa-xl {
|
|
747
|
+
font-size: 1.5em;
|
|
748
|
+
line-height: 0.0416666682em;
|
|
749
|
+
vertical-align: -0.125em;
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
.fa-2xl {
|
|
753
|
+
font-size: 2em;
|
|
754
|
+
line-height: 0.03125em;
|
|
755
|
+
vertical-align: -0.1875em;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
.fa-fw {
|
|
759
|
+
text-align: center;
|
|
760
|
+
width: 1.25em;
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
.fa-ul {
|
|
764
|
+
list-style-type: none;
|
|
765
|
+
margin-left: var(--fa-li-margin, 2.5em);
|
|
766
|
+
padding-left: 0;
|
|
767
|
+
}
|
|
768
|
+
.fa-ul > li {
|
|
769
|
+
position: relative;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
.fa-li {
|
|
773
|
+
left: calc(-1 * var(--fa-li-width, 2em));
|
|
774
|
+
position: absolute;
|
|
775
|
+
text-align: center;
|
|
776
|
+
width: var(--fa-li-width, 2em);
|
|
777
|
+
line-height: inherit;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
.fa-border {
|
|
781
|
+
border-color: var(--fa-border-color, #eee);
|
|
782
|
+
border-radius: var(--fa-border-radius, 0.1em);
|
|
783
|
+
border-style: var(--fa-border-style, solid);
|
|
784
|
+
border-width: var(--fa-border-width, 0.08em);
|
|
785
|
+
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
786
|
+
}
|
|
787
|
+
|
|
788
|
+
.fa-pull-left {
|
|
789
|
+
float: left;
|
|
790
|
+
margin-right: var(--fa-pull-margin, 0.3em);
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
.fa-pull-right {
|
|
794
|
+
float: right;
|
|
795
|
+
margin-left: var(--fa-pull-margin, 0.3em);
|
|
796
|
+
}
|
|
797
|
+
|
|
798
|
+
.fa-beat {
|
|
799
|
+
animation-name: fa-beat;
|
|
800
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
801
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
802
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
803
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
804
|
+
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
.fa-bounce {
|
|
808
|
+
animation-name: fa-bounce;
|
|
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, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
814
|
+
}
|
|
815
|
+
|
|
816
|
+
.fa-fade {
|
|
817
|
+
animation-name: fa-fade;
|
|
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.4, 0, 0.6, 1));
|
|
823
|
+
}
|
|
824
|
+
|
|
825
|
+
.fa-beat-fade {
|
|
826
|
+
animation-name: fa-beat-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-flip {
|
|
835
|
+
animation-name: fa-flip;
|
|
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, ease-in-out);
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
.fa-shake {
|
|
844
|
+
animation-name: fa-shake;
|
|
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, linear);
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
.fa-spin {
|
|
853
|
+
animation-name: fa-spin;
|
|
854
|
+
animation-delay: var(--fa-animation-delay, 0s);
|
|
855
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
856
|
+
animation-duration: var(--fa-animation-duration, 2s);
|
|
857
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
858
|
+
animation-timing-function: var(--fa-animation-timing, linear);
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
.fa-spin-reverse {
|
|
862
|
+
--fa-animation-direction: reverse;
|
|
863
|
+
}
|
|
864
|
+
|
|
865
|
+
.fa-pulse,
|
|
866
|
+
.fa-spin-pulse {
|
|
867
|
+
animation-name: fa-spin;
|
|
868
|
+
animation-direction: var(--fa-animation-direction, normal);
|
|
869
|
+
animation-duration: var(--fa-animation-duration, 1s);
|
|
870
|
+
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
871
|
+
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
872
|
+
}
|
|
873
|
+
|
|
874
|
+
@media (prefers-reduced-motion: reduce) {
|
|
875
|
+
.fa-beat,
|
|
876
|
+
.fa-bounce,
|
|
877
|
+
.fa-fade,
|
|
878
|
+
.fa-beat-fade,
|
|
879
|
+
.fa-flip,
|
|
880
|
+
.fa-pulse,
|
|
881
|
+
.fa-shake,
|
|
882
|
+
.fa-spin,
|
|
883
|
+
.fa-spin-pulse {
|
|
884
|
+
animation-delay: -1ms;
|
|
885
|
+
animation-duration: 1ms;
|
|
886
|
+
animation-iteration-count: 1;
|
|
887
|
+
transition-delay: 0s;
|
|
888
|
+
transition-duration: 0s;
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
@keyframes fa-beat {
|
|
892
|
+
0%, 90% {
|
|
893
|
+
transform: scale(1);
|
|
894
|
+
}
|
|
895
|
+
45% {
|
|
896
|
+
transform: scale(var(--fa-beat-scale, 1.25));
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
@keyframes fa-bounce {
|
|
900
|
+
0% {
|
|
901
|
+
transform: scale(1, 1) translateY(0);
|
|
902
|
+
}
|
|
903
|
+
10% {
|
|
904
|
+
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
905
|
+
}
|
|
906
|
+
30% {
|
|
907
|
+
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));
|
|
908
|
+
}
|
|
909
|
+
50% {
|
|
910
|
+
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
911
|
+
}
|
|
912
|
+
57% {
|
|
913
|
+
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
914
|
+
}
|
|
915
|
+
64% {
|
|
916
|
+
transform: scale(1, 1) translateY(0);
|
|
917
|
+
}
|
|
918
|
+
100% {
|
|
919
|
+
transform: scale(1, 1) translateY(0);
|
|
920
|
+
}
|
|
921
|
+
}
|
|
922
|
+
@keyframes fa-fade {
|
|
923
|
+
50% {
|
|
924
|
+
opacity: var(--fa-fade-opacity, 0.4);
|
|
925
|
+
}
|
|
926
|
+
}
|
|
927
|
+
@keyframes fa-beat-fade {
|
|
928
|
+
0%, 100% {
|
|
929
|
+
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
930
|
+
transform: scale(1);
|
|
931
|
+
}
|
|
932
|
+
50% {
|
|
933
|
+
opacity: 1;
|
|
934
|
+
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
@keyframes fa-flip {
|
|
938
|
+
50% {
|
|
939
|
+
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
940
|
+
}
|
|
941
|
+
}
|
|
942
|
+
@keyframes fa-shake {
|
|
943
|
+
0% {
|
|
944
|
+
transform: rotate(-15deg);
|
|
945
|
+
}
|
|
946
|
+
4% {
|
|
947
|
+
transform: rotate(15deg);
|
|
948
|
+
}
|
|
949
|
+
8%, 24% {
|
|
950
|
+
transform: rotate(-18deg);
|
|
951
|
+
}
|
|
952
|
+
12%, 28% {
|
|
953
|
+
transform: rotate(18deg);
|
|
954
|
+
}
|
|
955
|
+
16% {
|
|
956
|
+
transform: rotate(-22deg);
|
|
957
|
+
}
|
|
958
|
+
20% {
|
|
959
|
+
transform: rotate(22deg);
|
|
960
|
+
}
|
|
961
|
+
32% {
|
|
962
|
+
transform: rotate(-12deg);
|
|
963
|
+
}
|
|
964
|
+
36% {
|
|
965
|
+
transform: rotate(12deg);
|
|
966
|
+
}
|
|
967
|
+
40%, 100% {
|
|
968
|
+
transform: rotate(0deg);
|
|
969
|
+
}
|
|
970
|
+
}
|
|
971
|
+
@keyframes fa-spin {
|
|
972
|
+
0% {
|
|
973
|
+
transform: rotate(0deg);
|
|
974
|
+
}
|
|
975
|
+
100% {
|
|
976
|
+
transform: rotate(360deg);
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
.fa-rotate-90 {
|
|
980
|
+
transform: rotate(90deg);
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
.fa-rotate-180 {
|
|
984
|
+
transform: rotate(180deg);
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
.fa-rotate-270 {
|
|
988
|
+
transform: rotate(270deg);
|
|
989
|
+
}
|
|
990
|
+
|
|
991
|
+
.fa-flip-horizontal {
|
|
992
|
+
transform: scale(-1, 1);
|
|
993
|
+
}
|
|
994
|
+
|
|
995
|
+
.fa-flip-vertical {
|
|
996
|
+
transform: scale(1, -1);
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.fa-flip-both,
|
|
1000
|
+
.fa-flip-horizontal.fa-flip-vertical {
|
|
1001
|
+
transform: scale(-1, -1);
|
|
1002
|
+
}
|
|
1003
|
+
|
|
1004
|
+
.fa-rotate-by {
|
|
1005
|
+
transform: rotate(var(--fa-rotate-angle, 0));
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
.fa-stack {
|
|
1009
|
+
display: inline-block;
|
|
1010
|
+
vertical-align: middle;
|
|
1011
|
+
height: 2em;
|
|
1012
|
+
position: relative;
|
|
1013
|
+
width: 2.5em;
|
|
1014
|
+
}
|
|
1015
|
+
|
|
1016
|
+
.fa-stack-1x,
|
|
1017
|
+
.fa-stack-2x {
|
|
1018
|
+
bottom: 0;
|
|
1019
|
+
left: 0;
|
|
1020
|
+
margin: auto;
|
|
1021
|
+
position: absolute;
|
|
1022
|
+
right: 0;
|
|
1023
|
+
top: 0;
|
|
1024
|
+
z-index: var(--fa-stack-z-index, auto);
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.svg-inline--fa.fa-stack-1x {
|
|
1028
|
+
height: 1em;
|
|
1029
|
+
width: 1.25em;
|
|
1030
|
+
}
|
|
1031
|
+
.svg-inline--fa.fa-stack-2x {
|
|
1032
|
+
height: 2em;
|
|
1033
|
+
width: 2.5em;
|
|
1034
|
+
}
|
|
1035
|
+
|
|
1036
|
+
.fa-inverse {
|
|
1037
|
+
color: var(--fa-inverse, #fff);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.sr-only,
|
|
1041
|
+
.fa-sr-only {
|
|
1042
|
+
position: absolute;
|
|
1043
|
+
width: 1px;
|
|
1044
|
+
height: 1px;
|
|
1045
|
+
padding: 0;
|
|
1046
|
+
margin: -1px;
|
|
1047
|
+
overflow: hidden;
|
|
1048
|
+
clip: rect(0, 0, 0, 0);
|
|
1049
|
+
white-space: nowrap;
|
|
1050
|
+
border-width: 0;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
.sr-only-focusable:not(:focus),
|
|
1054
|
+
.fa-sr-only-focusable:not(:focus) {
|
|
1055
|
+
position: absolute;
|
|
1056
|
+
width: 1px;
|
|
1057
|
+
height: 1px;
|
|
1058
|
+
padding: 0;
|
|
1059
|
+
margin: -1px;
|
|
1060
|
+
overflow: hidden;
|
|
1061
|
+
clip: rect(0, 0, 0, 0);
|
|
1062
|
+
white-space: nowrap;
|
|
1063
|
+
border-width: 0;
|
|
1064
|
+
}
|
|
1065
|
+
|
|
1066
|
+
.svg-inline--fa .fa-primary {
|
|
1067
|
+
fill: var(--fa-primary-color, currentColor);
|
|
1068
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
.svg-inline--fa .fa-secondary {
|
|
1072
|
+
fill: var(--fa-secondary-color, currentColor);
|
|
1073
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
1077
|
+
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
1081
|
+
opacity: var(--fa-primary-opacity, 1);
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
.svg-inline--fa mask .fa-primary,
|
|
1085
|
+
.svg-inline--fa mask .fa-secondary {
|
|
1086
|
+
fill: black;
|
|
1087
|
+
}`;function d2(){const e=s2,t=u2,r=le.cssPrefix,n=le.replacementClass;let a=xw;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 wf=!1;function K0(){le.autoAddCss&&!wf&&(pw(d2()),wf=!0)}var Tw={mixout(){return{dom:{css:d2,insertCss:K0}}},hooks(){return{beforeDOMElementCreation(){K0()},beforeI2svg(){K0()}}}};const _r=Wr||{};_r[Ir]||(_r[Ir]={});_r[Ir].styles||(_r[Ir].styles={});_r[Ir].hooks||(_r[Ir].hooks={});_r[Ir].shims||(_r[Ir].shims=[]);var fr=_r[Ir];const m2=[],p2=function(){qe.removeEventListener("DOMContentLoaded",p2),xs=1,m2.map(e=>e())};let xs=!1;Rr&&(xs=(qe.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(qe.readyState),xs||qe.addEventListener("DOMContentLoaded",p2));function vw(e){Rr&&(xs?setTimeout(e,0):m2.push(e))}function pi(e){const{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?h2(e):"<".concat(t," ").concat(bw(r),">").concat(n.map(pi).join(""),"</").concat(t,">")}function kf(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var Q0=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 Aw(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 Ku(e){const t=Aw(e);return t.length===1?t[0].toString(16):null}function Sw(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 Cf(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 Qu(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:n=!1}=r,a=Cf(t);typeof fr.hooks.addPack=="function"&&!n?fr.hooks.addPack(e,Cf(t)):fr.styles[e]=Z(Z({},fr.styles[e]||{}),a),e==="fas"&&Qu("fa",t)}const{styles:Qa,shims:ww}=fr,g2=Object.keys(gl),kw=g2.reduce((e,t)=>(e[t]=Object.keys(gl[t]),e),{});let El=null,b2={},y2={},E2={},x2={},T2={};function Cw(e){return~fw.indexOf(e)}function Iw(e,t){const r=t.split("-"),n=r[0],a=r.slice(1).join("-");return n===e&&a!==""&&!Cw(a)?a:null}const v2=()=>{const e=n=>Q0(Qa,(a,i,s)=>(a[s]=Q0(i,n,{}),a),{});b2=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)),y2=e((n,a,i)=>(n[i]=i,a[2]&&a[2].filter(u=>typeof u=="string").forEach(u=>{n[u]=i}),n)),T2=e((n,a,i)=>{const s=a[2];return n[i]=i,s.forEach(u=>{n[u]=i}),n});const t="far"in Qa||le.autoFetchSvg,r=Q0(ww,(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:{}});E2=r.names,x2=r.unicodes,El=t0(le.styleDefault,{family:le.familyDefault})};mw(e=>{El=t0(e.styleDefault,{family:le.familyDefault})});v2();function xl(e,t){return(b2[e]||{})[t]}function _w(e,t){return(y2[e]||{})[t]}function hn(e,t){return(T2[e]||{})[t]}function A2(e){return E2[e]||{prefix:null,iconName:null}}function Nw(e){const t=x2[e],r=xl("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Gr(){return El}const S2=()=>({prefix:null,iconName:null,rest:[]});function Ow(e){let t=mt;const r=g2.reduce((n,a)=>(n[a]="".concat(le.cssPrefix,"-").concat(a),n),{});return a2.forEach(n=>{(e.includes(r[n])||e.some(a=>kw[n].includes(a)))&&(t=n)}),t}function t0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=mt}=t,n=sw[r][e];if(r===Zs&&!e)return"fad";const a=Sf[r][e]||Sf[r][n],i=e in fr.styles?e:null;return a||i||null}function Rw(e){let t=[],r=null;return e.forEach(n=>{const a=Iw(le.cssPrefix,n);a?r=a:n&&t.push(n)}),{iconName:r,rest:t}}function If(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function r0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let n=null;const a=$u.concat(GS),i=If(e.filter(f=>a.includes(f))),s=If(e.filter(f=>!$u.includes(f))),u=i.filter(f=>(n=f,!n2.includes(f))),[o=null]=u,l=Ow(i),c=Z(Z({},Rw(s)),{},{prefix:t0(o,{family:l})});return Z(Z(Z({},c),Pw({values:e,family:l,styles:Qa,config:le,canonical:c,givenPrefix:n})),Lw(r,n,c))}function Lw(e,t,r){let{prefix:n,iconName:a}=r;if(e||!n||!a)return{prefix:n,iconName:a};const i=t==="fa"?A2(a):{},s=hn(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!Qa.far&&Qa.fas&&!le.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}const Dw=a2.filter(e=>e!==mt||e!==Zs),Mw=Object.keys(qu).filter(e=>e!==mt).map(e=>Object.keys(qu[e])).flat();function Pw(e){const{values:t,family:r,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,u=r===Zs,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&&Dw.includes(r)&&(Object.keys(i).find(p=>Mw.includes(p))||s.autoFetchSvg)){const p=HS.get(r).defaultShortPrefixId;n.prefix=p,n.iconName=hn(n.prefix,n.iconName)||n.iconName}return(n.prefix==="fa"||a==="fa")&&(n.prefix=Gr()||"fas"),n}class Fw{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]),Qu(i,a[i]);const s=gl[mt][i];s&&Qu(s,a[i]),v2()})}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 _f=[],Bn={};const Un={},Bw=Object.keys(Un);function zw(e,t){let{mixoutsTo:r}=t;return _f=e,Bn={},Object.keys(Un).forEach(n=>{Bw.indexOf(n)===-1&&delete Un[n]}),_f.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=>{Bn[s]||(Bn[s]=[]),Bn[s].push(i[s])})}n.provides&&n.provides(Un)}),r}function Ju(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(Bn[e]||[]).forEach(s=>{t=s.apply(null,[t,...n])}),t}function xn(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];(Bn[e]||[]).forEach(i=>{i.apply(null,r)})}function Xr(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Un[e]?Un[e].apply(null,t):void 0}function Zu(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||Gr();if(t)return t=hn(r,t)||t,kf(w2.definitions,r,t)||kf(fr.styles,r,t)}const w2=new Fw,Hw=()=>{le.autoReplaceSvg=!1,le.observeMutations=!1,xn("noAuto")},Uw={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Rr?(xn("beforeI2svg",e),Xr("pseudoElements2svg",e),Xr("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;le.autoReplaceSvg===!1&&(le.autoReplaceSvg=!0),le.observeMutations=!0,vw(()=>{qw({autoReplaceSvgRoot:t}),xn("watch",e)})}},jw={icon:e=>{if(e===null)return null;if(typeof e=="object"&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:hn(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=t0(e[0]);return{prefix:r,iconName:hn(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(le.cssPrefix,"-"))>-1||e.match(uw))){const t=r0(e.split(" "),{skipLookups:!0});return{prefix:t.prefix||Gr(),iconName:hn(t.prefix,t.iconName)||t.iconName}}if(typeof e=="string"){const t=Gr();return{prefix:t,iconName:hn(t,e)||e}}}},Bt={noAuto:Hw,config:le,dom:Uw,parse:jw,library:w2,findIconDefinition:Zu,toHtml:pi},qw=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=qe}=e;(Object.keys(fr.styles).length>0||le.autoFetchSvg)&&Rr&&le.autoReplaceSvg&&Bt.dom.i2svg({node:t})};function n0(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=qe.createElement("div");return r.innerHTML=e.html,r.children}}),e}function $w(e){let{children:t,main:r,mask:n,attributes:a,styles:i,transform:s}=e;if(yl(s)&&r.found&&!n.found){const{width:u,height:o}=r,l={x:u/o/2,y:.5};a.style=e0(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 Yw(e){let{prefix:t,iconName:r,children:n,attributes:a,symbol:i}=e;const s=i===!0?"".concat(t,"-").concat(le.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Z(Z({},a),{},{id:s}),children:n}]}]}function Tl(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:m}=r.found?r:t,b=YS.includes(n),y=[le.replacementClass,a?"".concat(le.cssPrefix,"-").concat(a):""].filter(B=>c.classes.indexOf(B)===-1).filter(B=>B!==""||!!B).concat(c.classes).join(" ");let v={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(m)})};const T=b&&!~c.classes.indexOf("fa-fw")?{width:"".concat(p/m*16*.0625,"em")}:{};f&&(v.attributes[En]=""),u&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(l||Ka())},children:[u]}),delete v.attributes.title);const w=Z(Z({},v),{},{prefix:n,iconName:a,main:t,mask:r,maskId:o,transform:i,symbol:s,styles:Z(Z({},T),c.styles)}),{children:A,attributes:P}=r.found&&t.found?Xr("generateAbstractMask",w)||{children:[],attributes:{}}:Xr("generateAbstractIcon",w)||{children:[],attributes:{}};return w.children=A,w.attributes=P,s?Yw(w):$w(w)}function Nf(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[En]="");const l=Z({},s.styles);yl(a)&&(l.transform=Ew({transform:a,startCentered:!0,width:r,height:n}),l["-webkit-transform"]=l.transform);const c=e0(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 Vw(e){const{content:t,title:r,extra:n}=e,a=Z(Z(Z({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=e0(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:J0}=fr;function eo(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(le.cssPrefix,"-").concat(X0.GROUP)},children:[{tag:"path",attributes:{class:"".concat(le.cssPrefix,"-").concat(X0.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(le.cssPrefix,"-").concat(X0.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:a}}const Ww={found:!1,width:512,height:512};function Gw(e,t){!o2&&!le.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function to(e,t){let r=t;return t==="fa"&&le.styleDefault!==null&&(t=Gr()),new Promise((n,a)=>{if(r==="fa"){const i=A2(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&J0[t]&&J0[t][e]){const i=J0[t][e];return n(eo(i))}Gw(e,t),n(Z(Z({},Ww),{},{icon:le.showMissingIcons&&e?Xr("missingIconAbstract")||{}:{}}))})}const Of=()=>{},ro=le.measurePerformance&&Bi&&Bi.mark&&Bi.measure?Bi:{mark:Of,measure:Of},Ia='FA "6.7.2"',Xw=e=>(ro.mark("".concat(Ia," ").concat(e," begins")),()=>k2(e)),k2=e=>{ro.mark("".concat(Ia," ").concat(e," ends")),ro.measure("".concat(Ia," ").concat(e),"".concat(Ia," ").concat(e," begins"),"".concat(Ia," ").concat(e," ends"))};var vl={begin:Xw,end:k2};const ts=()=>{};function Rf(e){return typeof(e.getAttribute?e.getAttribute(En):null)=="string"}function Kw(e){const t=e.getAttribute?e.getAttribute(ml):null,r=e.getAttribute?e.getAttribute(pl):null;return t&&r}function Qw(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(le.replacementClass)}function Jw(){return le.autoReplaceSvg===!0?rs.replace:rs[le.autoReplaceSvg]||rs.replace}function Zw(e){return qe.createElementNS("http://www.w3.org/2000/svg",e)}function ek(e){return qe.createElement(e)}function C2(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?Zw:ek}=t;if(typeof e=="string")return qe.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(C2(i,{ceFn:r}))}),n}function tk(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const rs={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(C2(r),t)}),t.getAttribute(En)===null&&le.keepOriginalSource){let r=qe.createComment(tk(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~bl(t).indexOf(le.replacementClass))return rs.replace(e);const n=new RegExp("".concat(le.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const i=r[0].attributes.class.split(" ").reduce((s,u)=>(u===le.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(`
|
|
1088
|
+
`);t.setAttribute(En,""),t.innerHTML=a}};function Lf(e){e()}function I2(e,t){const r=typeof t=="function"?t:ts;if(e.length===0)r();else{let n=Lf;le.mutateApproach===aw&&(n=Wr.requestAnimationFrame||Lf),n(()=>{const a=Jw(),i=vl.begin("mutate");e.map(a),i(),r()})}}let Al=!1;function _2(){Al=!0}function no(){Al=!1}let Ts=null;function Df(e){if(!xf||!le.observeMutations)return;const{treeCallback:t=ts,nodeCallback:r=ts,pseudoElementsCallback:n=ts,observeMutationsRoot:a=qe}=e;Ts=new xf(i=>{if(Al)return;const s=Gr();fa(i).forEach(u=>{if(u.type==="childList"&&u.addedNodes.length>0&&!Rf(u.addedNodes[0])&&(le.searchPseudoElements&&n(u.target),t(u.target)),u.type==="attributes"&&u.target.parentNode&&le.searchPseudoElements&&n(u.target.parentNode),u.type==="attributes"&&Rf(u.target)&&~cw.indexOf(u.attributeName))if(u.attributeName==="class"&&Kw(u.target)){const{prefix:o,iconName:l}=r0(bl(u.target));u.target.setAttribute(ml,o||s),l&&u.target.setAttribute(pl,l)}else Qw(u.target)&&r(u.target)})}),Rr&&Ts.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function rk(){Ts&&Ts.disconnect()}function nk(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 ak(e){const t=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),n=e.innerText!==void 0?e.innerText.trim():"";let a=r0(bl(e));return a.prefix||(a.prefix=Gr()),t&&r&&(a.prefix=t,a.iconName=r),a.iconName&&a.prefix||(a.prefix&&n.length>0&&(a.iconName=_w(a.prefix,e.innerText)||xl(a.prefix,Ku(e.innerText))),!a.iconName&&le.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function ik(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 le.autoA11y&&(r?t["aria-labelledby"]="".concat(le.replacementClass,"-title-").concat(n||Ka()):(t["aria-hidden"]="true",t.focusable="false")),t}function sk(){return{iconName:null,title:null,titleId:null,prefix:null,transform:cr,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function Mf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:n,rest:a}=ak(e),i=ik(e),s=Ju("parseNodeAttributes",{},e);let u=t.styleParser?nk(e):[];return Z({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:cr,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:u,attributes:i}},s)}const{styles:uk}=fr;function N2(e){const t=le.autoReplaceSvg==="nest"?Mf(e,{styleParser:!1}):Mf(e);return~t.extra.classes.indexOf(c2)?Xr("generateLayersText",e,t):Xr("generateSvgReplacementMutation",e,t)}function ok(){return[...jS,...$u]}function Pf(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Rr)return Promise.resolve();const r=qe.documentElement.classList,n=c=>r.add("".concat(Af,"-").concat(c)),a=c=>r.remove("".concat(Af,"-").concat(c)),i=le.autoFetchSvg?ok():n2.concat(Object.keys(uk));i.includes("fa")||i.push("fa");const s=[".".concat(c2,":not([").concat(En,"])")].concat(i.map(c=>".".concat(c,":not([").concat(En,"])"))).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=vl.begin("onTree"),l=u.reduce((c,f)=>{try{const p=N2(f);p&&c.push(p)}catch(p){o2||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise((c,f)=>{Promise.all(l).then(p=>{I2(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;N2(e).then(r=>{r&&I2([r],t)})}function ck(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=(t||{}).icon?t:Zu(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:Zu(a||{})),e(n,Z(Z({},r),{},{mask:a}))}}const fk=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=cr,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:m}=e;return n0(Z({type:"icon"},e),()=>(xn("beforeDOMElementCreation",{iconDefinition:e,params:t}),le.autoA11y&&(s?l["aria-labelledby"]="".concat(le.replacementClass,"-title-").concat(u||Ka()):(l["aria-hidden"]="true",l.focusable="false")),Tl({icons:{main:eo(m),mask:a?eo(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:Z(Z({},cr),r),symbol:n,title:s,maskId:i,titleId:u,extra:{attributes:l,styles:c,classes:o}})))};var hk={mixout(){return{icon:ck(fk)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=Pf,e.nodeCallback=lk,e}}},provides(e){e.i2svg=function(t){const{node:r=qe,callback:n=()=>{}}=t;return Pf(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,m)=>{Promise.all([to(n,s),l.iconName?to(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(b=>{let[y,v]=b;p([t,Tl({icons:{main:y,mask:v},prefix:s,iconName:n,transform:u,symbol:o,maskId:c,title:a,titleId:i,extra:f,watchable:!0})])}).catch(m)})},e.generateAbstractIcon=function(t){let{children:r,attributes:n,main:a,transform:i,styles:s}=t;const u=e0(s);u.length>0&&(n.style=u);let o;return yl(i)&&(o=Xr("generateAbstractTransformGrouping",{main:a,transform:i,containerWidth:a.width,iconWidth:a.width})),r.push(o||a.icon),{children:r,attributes:n}}}},dk={mixout(){return{layer(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{classes:r=[]}=t;return n0({type:"layer"},()=>{xn("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(le.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},mk={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 n0({type:"counter",content:e},()=>(xn("beforeDOMElementCreation",{content:e,params:t}),Vw({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(le.cssPrefix,"-layers-counter"),...n]}})))}}}},pk={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=cr,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return n0({type:"text",content:e},()=>(xn("beforeDOMElementCreation",{content:e,params:t}),Nf({content:e,transform:Z(Z({},cr),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(le.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(t2){const o=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();s=l.width/o,u=l.height/o}return le.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Nf({content:t.innerHTML,width:s,height:u,transform:a,title:n,extra:i,watchable:!0})])}}};const gk=new RegExp('"',"ug"),Ff=[1105920,1112319],Bf=Z(Z(Z(Z({},{FontAwesome:{normal:"fas",400:"fas"}}),zS),rw),XS),ao=Object.keys(Bf).reduce((e,t)=>(e[t.toLowerCase()]=Bf[t],e),{}),bk=Object.keys(ao).reduce((e,t)=>{const r=ao[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function yk(e){const t=e.replace(gk,""),r=Sw(t,0),n=r>=Ff[0]&&r<=Ff[1],a=t.length===2?t[0]===t[1]:!1;return{value:Ku(a?t[0]:t),isSecondary:n||a}}function Ek(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(ao[r]||{})[a]||bk[r]}function zf(e,t){const r="".concat(nw).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();const s=fa(e.children).filter(p=>p.getAttribute(Vu)===t)[0],u=Wr.getComputedStyle(e,t),o=u.getPropertyValue("font-family"),l=o.match(ow),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 m=Ek(o,c);const{value:b,isSecondary:y}=yk(p),v=l[0].startsWith("FontAwesome");let T=xl(m,b),w=T;if(v){const A=Nw(b);A.iconName&&A.prefix&&(T=A.iconName,m=A.prefix)}if(T&&!y&&(!s||s.getAttribute(ml)!==m||s.getAttribute(pl)!==w)){e.setAttribute(r,w),s&&e.removeChild(s);const A=sk(),{extra:P}=A;P.attributes[Vu]=t,to(T,m).then(B=>{const O=Tl(Z(Z({},A),{},{icons:{main:B,mask:S2()},prefix:m,iconName:w,extra:P,watchable:!0})),F=qe.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(F,e.firstChild):e.appendChild(F),F.outerHTML=O.map($=>pi($)).join(`
|
|
1089
|
+
`),e.removeAttribute(r),n()}).catch(a)}else n()}else n()})}function xk(e){return Promise.all([zf(e,"::before"),zf(e,"::after")])}function Tk(e){return e.parentNode!==document.head&&!~iw.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(Vu)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function Hf(e){if(Rr)return new Promise((t,r)=>{const n=fa(e.querySelectorAll("*")).filter(Tk).map(xk),a=vl.begin("searchPseudoElements");_2(),Promise.all(n).then(()=>{a(),no(),t()}).catch(()=>{a(),no(),r()})})}var vk={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=Hf,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=qe}=t;le.searchPseudoElements&&Hf(r)}}};let Uf=!1;var Ak={mixout(){return{dom:{unwatch(){_2(),Uf=!0}}}},hooks(){return{bootstrap(){Df(Ju("mutationObserverCallbacks",{}))},noAuto(){rk()},watch(e){const{observeMutationsRoot:t}=e;Uf?no():Df(Ju("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const jf=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 Sk={mixout(){return{parse:{transform:e=>jf(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=jf(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 Z0={x:0,y:0,width:"100%",height:"100%"};function qf(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 wk(e){return e.tag==="g"?e.children:[e]}var kk={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),n=r?r0(r.split(" ").map(a=>a.trim())):S2();return n.prefix||(n.prefix=Gr()),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=yw({transform:u,containerWidth:c,iconWidth:o}),m={tag:"rect",attributes:Z(Z({},Z0),{},{fill:"white"})},b=l.children?{children:l.children.map(qf)}:{},y={tag:"g",attributes:Z({},p.inner),children:[qf(Z({tag:l.tag,attributes:Z(Z({},l.attributes),p.path)},b))]},v={tag:"g",attributes:Z({},p.outer),children:[y]},T="mask-".concat(s||Ka()),w="clip-".concat(s||Ka()),A={tag:"mask",attributes:Z(Z({},Z0),{},{id:T,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,v]},P={tag:"defs",children:[{tag:"clipPath",attributes:{id:w},children:wk(f)},A]};return r.push(P,{tag:"rect",attributes:Z({fill:"currentColor","clip-path":"url(#".concat(w,")"),mask:"url(#".concat(T,")")},Z0)}),{children:r,attributes:n}}}},Ck={provides(e){let t=!1;Wr.matchMedia&&(t=Wr.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}}}},Ik={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},_k=[Tw,hk,dk,mk,pk,vk,Ak,Sk,kk,Ck,Ik];zw(_k,{mixoutsTo:Bt});Bt.noAuto;Bt.config;Bt.library;Bt.dom;const io=Bt.parse;Bt.findIconDefinition;Bt.toHtml;const Nk=Bt.icon;Bt.layer;Bt.text;Bt.counter;var O2={exports:{}},Ok="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Rk=Ok,Lk=Rk;function R2(){}function L2(){}L2.resetWarningCache=R2;var Dk=function(){function e(n,a,i,s,u,o){if(o!==Lk){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:L2,resetWarningCache:R2};return r.PropTypes=r,r};O2.exports=Dk();var Mk=O2.exports;const Te=Ao(Mk);function so(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 Pk(e){if(Array.isArray(e))return e}function Fk(e){if(Array.isArray(e))return so(e)}function Hr(e,t,r){return(t=Yk(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bk(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function zk(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 Hk(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1090
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Uk(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1091
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $f(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 sr(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?$f(Object(r),!0).forEach(function(n){Hr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$f(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function jk(e,t){if(e==null)return{};var r,n,a=qk(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 qk(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 Yf(e,t){return Pk(e)||zk(e,t)||D2(e,t)||Hk()}function uo(e){return Fk(e)||Bk(e)||D2(e)||Uk()}function $k(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 Yk(e){var t=$k(e,"string");return typeof t=="symbol"?t:t+""}function vs(e){"@babel/helpers - typeof";return vs=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},vs(e)}function D2(e,t){if(e){if(typeof e=="string")return so(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)?so(e,t):void 0}}var Vk="7.0.0",oo;try{var Wk=require("@fortawesome/fontawesome-svg-core/package.json");oo=Wk.version}catch(e){oo=typeof process!="undefined"&&process.env.FA_VERSION||"7.0.0"}function Gk(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,m=e.border,b=e.listItem,y=e.flip,v=e.size,T=e.rotation,w=e.pull,A=e.swapOpacity,P=e.rotateBy,B=e.widthAuto,O=Xk(oo,Vk),F=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":m,"fa-li":b,"fa-flip":y===!0,"fa-flip-horizontal":y==="horizontal"||y==="both","fa-flip-vertical":y==="vertical"||y==="both"},"fa-".concat(v),typeof v!="undefined"&&v!==null),"fa-rotate-".concat(T),typeof T!="undefined"&&T!==null&&T!==0),"fa-pull-".concat(w),typeof w!="undefined"&&w!==null),"fa-swap-opacity",A),"fa-rotate-by",O&&P),"fa-width-auto",O&&B);return Object.keys(F).map(function($){return F[$]?$:null}).filter(function($){return $})}function Xk(e,t){for(var r=e.split("-"),n=Yf(r,2),a=n[0],i=n[1],s=t.split("-"),u=Yf(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 m=c[p]||"0",b=f[p]||"0",y=parseInt(m,10),v=parseInt(b,10);if(y!==v)return y>v}for(var T=0;T<Math.max(c.length,f.length);T++){var w=c[T]||"0",A=f[T]||"0";if(w!==A&&w.length!==A.length)return w.length<A.length}return!(i&&!l)}function Kk(e){return e=e-0,e===e}function M2(e){return Kk(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var Qk=["style"];function Jk(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Zk(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),a=M2(r.slice(0,n)),i=r.slice(n+1).trim();return a.startsWith("webkit")?t[Jk(a)]=i:t[a]=i,t},{})}function P2(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 P2(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=Zk(c);break;default:l.indexOf("aria-")===0||l.indexOf("data-")===0?o.attrs[l.toLowerCase()]=c:o.attrs[M2(l)]=c}return o},{attrs:{}}),i=r.style,s=i===void 0?{}:i,u=jk(r,Qk);return a.attrs.style=sr(sr({},a.attrs.style),s),e.apply(void 0,[t.tag,sr(sr({},a.attrs),u)].concat(uo(n)))}var F2=!1;try{F2=!0}catch(e){}function eC(){if(!F2&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function Vf(e){if(e&&vs(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(io.icon)return io.icon(e);if(e===null)return null;if(e&&vs(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 Wf={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},Sl=ue.forwardRef(function(e,t){var r=sr(sr({},Wf),e),n=r.icon,a=r.mask,i=r.symbol,s=r.className,u=r.title,o=r.titleId,l=r.maskId,c=Vf(n),f=eu("classes",[].concat(uo(Gk(r)),uo((s||"").split(" ")))),p=eu("transform",typeof r.transform=="string"?io.transform(r.transform):r.transform),m=eu("mask",Vf(a)),b=Nk(c,sr(sr(sr(sr({},f),p),m),{},{symbol:i,title:u,titleId:o,maskId:l}));if(!b)return eC("Could not find icon",c),null;var y=b.abstract,v={ref:t};return Object.keys(r).forEach(function(T){Wf.hasOwnProperty(T)||(v[T]=r[T])}),tC(y[0],v)});Sl.displayName="FontAwesomeIcon";Sl.propTypes={beat:Te.bool,border:Te.bool,beatFade:Te.bool,bounce:Te.bool,className:Te.string,fade:Te.bool,flash:Te.bool,mask:Te.oneOfType([Te.object,Te.array,Te.string]),maskId:Te.string,fixedWidth:Te.bool,inverse:Te.bool,flip:Te.oneOf([!0,!1,"horizontal","vertical","both"]),icon:Te.oneOfType([Te.object,Te.array,Te.string]),listItem:Te.bool,pull:Te.oneOf(["right","left"]),pulse:Te.bool,rotation:Te.oneOf([0,90,180,270]),rotateBy:Te.bool,shake:Te.bool,size:Te.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:Te.bool,spinPulse:Te.bool,spinReverse:Te.bool,symbol:Te.oneOfType([Te.bool,Te.string]),title:Te.string,titleId:Te.string,transform:Te.oneOfType([Te.string,Te.object]),swapOpacity:Te.bool,widthAuto:Te.bool};var tC=P2.bind(null,ue.createElement);/*!
|
|
1092
|
+
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
1093
|
+
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
1094
|
+
* Copyright 2024 Fonticons, Inc.
|
|
1095
|
+
*/const rC={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"]},nC={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"]},aC={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"]},iC={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"]},sC=iC,uC={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"]},oC={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"]},cC={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"]},fC={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"]},hC={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"]},dC={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"]},mC=ae.div`
|
|
1096
|
+
display: flex;
|
|
1097
|
+
align-items: center;
|
|
1098
|
+
background-color: #f8f9fa;
|
|
1099
|
+
border-radius: 6px;
|
|
1100
|
+
border: 1px solid #e9ecef;
|
|
1101
|
+
transition: all 0.3s ease;
|
|
1102
|
+
padding: 8px 12px;
|
|
1103
|
+
|
|
1104
|
+
@media (max-width: 500px) {
|
|
1105
|
+
flex-direction: column;
|
|
1106
|
+
text-align: center;
|
|
1107
|
+
}
|
|
1108
|
+
`,pC=ae.div`
|
|
1109
|
+
display: flex;
|
|
1110
|
+
align-items: center;
|
|
1111
|
+
justify-content: center;
|
|
1112
|
+
width: 48px;
|
|
1113
|
+
height: 48px;
|
|
1114
|
+
min-width: 48px;
|
|
1115
|
+
color: ${e=>e.$color};
|
|
1116
|
+
background-color: #e8f4fc;
|
|
1117
|
+
border-radius: 8px;
|
|
1118
|
+
margin-right: 12px;
|
|
1119
|
+
|
|
1120
|
+
@media (max-width: 500px) {
|
|
1121
|
+
margin-right: 0;
|
|
1122
|
+
margin-bottom: 10px;
|
|
1123
|
+
}
|
|
1124
|
+
`,gC=ae.div`
|
|
1125
|
+
flex: 1;
|
|
1126
|
+
`,bC=ae.div`
|
|
1127
|
+
font-weight: bold;
|
|
1128
|
+
font-size: 12px;
|
|
1129
|
+
margin-bottom: 4px;
|
|
1130
|
+
color: #2d3436;
|
|
1131
|
+
max-width: 200px;
|
|
1132
|
+
white-space: nowrap;
|
|
1133
|
+
overflow: hidden;
|
|
1134
|
+
text-overflow: ellipsis;
|
|
1135
|
+
`,yC=ae.div`
|
|
1136
|
+
display: flex;
|
|
1137
|
+
font-size: 14px;
|
|
1138
|
+
color: #636e72;
|
|
1139
|
+
|
|
1140
|
+
@media (max-width: 500px) {
|
|
1141
|
+
justify-content: center;
|
|
1142
|
+
}
|
|
1143
|
+
`,EC=ae.span`
|
|
1144
|
+
margin-right: 12px;
|
|
1145
|
+
`,xC=ae.span`
|
|
1146
|
+
background-color: rgba(0, 0, 0, 0.08);
|
|
1147
|
+
padding: 2px 6px;
|
|
1148
|
+
border-radius: 4px;
|
|
1149
|
+
font-size: 12px;
|
|
1150
|
+
font-weight: 500;
|
|
1151
|
+
`,TC=({fileInfo:e})=>{const{name:t,size:r,type:n="doc"}=e,a=()=>{switch(n.toLowerCase()){case"pdf":return hC;case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return lC;case"excel":case"xlsx":case"xls":case"csv":return uC;case"powerpoint":case"ppt":case"pptx":return aC;case"word":case"doc":case"docx":return nC;case"archive":case"zip":case"rar":case"tar":case"7z":return sC;case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return cC;case"video":case"mp4":case"avi":case"mov":case"webm":return fC;case"audio":case"mp3":case"wav":case"ogg":return oC;case"md":case"markdown":case"txt":case"text":return rC;default:return dC}},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 R.jsxs(mC,{children:[R.jsx(pC,{$color:i(),children:R.jsx(Sl,{icon:a(),style:{fontSize:"24px"}})}),R.jsxs(gC,{children:[R.jsx(bC,{children:t}),R.jsxs(yC,{children:[R.jsx(EC,{children:s(r)}),R.jsx(xC,{children:n.toUpperCase()})]})]})]})},B2=ue.createContext({activeKey:[]}),z2=B2.Provider,H2=()=>ue.useContext(B2),gi=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.echarts){e();return}const r=document.createElement("script");r.src="https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.2/echarts.min.js",r.async=!0,r.onload=()=>{e()},r.onerror=n=>{console.error("ECharts 加载失败:",n),t(new Error("Failed to load ECharts"))},document.head.appendChild(r)}),vC=({options:e})=>{const t=ue.useRef(null),r=ue.useRef(null),[n,a]=ue.useState(!1),{activeKey:i}=H2();return ue.useEffect(()=>{ze(exports,null,function*(){try{yield gi(),a(!0)}catch(u){console.error("echarts加载失败:",u),a(!1)}})},[]),ue.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]),ue.useEffect(()=>{if(r.current&&i&&n){const s=setTimeout(()=>{var u;(u=r.current)==null||u.resize()},50);return()=>clearTimeout(s)}},[i,n]),n?R.jsx("div",{ref:t,style:{width:"100%",height:"400px",marginTop:"20px",marginBottom:"20px"}}):R.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:"图表加载中..."})},wl=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(" | ")+` |
|
|
1152
|
+
`,n+="| :---: | "+t.map(()=>"---").join(" | ")+` |
|
|
1153
|
+
`,r.forEach((a,i)=>{const s=t.map(u=>{const o=a[u];return o!==void 0?String(o):"-"});n+="| "+(i+1)+" | "+s.join(" | ")+` |
|
|
1154
|
+
`}),n}catch(t){return console.error("转换表格数据失败:",t),"表格数据转换失败"}},AC=e=>{try{const t=JSON.parse(e);return t&&typeof t=="object"&&Array.isArray(t.column)&&Array.isArray(t.data)}catch(t){return!1}},SC=(e,t)=>{if(!e)return null;if(t==="ant_table"&&AC(e))try{const r=JSON.parse(e);return wl(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},wC=ae.div`
|
|
1155
|
+
padding: 10px;
|
|
1156
|
+
text-align: center;
|
|
1157
|
+
background: #f9f9f9;
|
|
1158
|
+
border-radius: 4px;
|
|
1159
|
+
color: #666;
|
|
1160
|
+
min-height: 100px;
|
|
1161
|
+
display: flex;
|
|
1162
|
+
align-items: center;
|
|
1163
|
+
justify-content: center;
|
|
1164
|
+
|
|
1165
|
+
span {
|
|
1166
|
+
font-size: 14px;
|
|
1167
|
+
line-height: 1.5;
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
&:hover {
|
|
1171
|
+
background: #f5f5f5;
|
|
1172
|
+
}
|
|
1173
|
+
`,Hi=({text:e="图表加载中..."})=>R.jsx(wC,{children:R.jsx("span",{children:e})}),kC=ae.div`
|
|
1174
|
+
margin: 10px 0;
|
|
1175
|
+
padding: 10px;
|
|
1176
|
+
border-radius: 4px;
|
|
1177
|
+
text-align: center;
|
|
1178
|
+
background: #ffeeee;
|
|
1179
|
+
color: rgb(200, 0, 0);
|
|
1180
|
+
border: 1px solid #ffcccc;
|
|
1181
|
+
|
|
1182
|
+
span {
|
|
1183
|
+
font-size: 14px;
|
|
1184
|
+
line-height: 1.5;
|
|
1185
|
+
}
|
|
1186
|
+
|
|
1187
|
+
&:hover {
|
|
1188
|
+
background: #f5f5f5;
|
|
1189
|
+
}
|
|
1190
|
+
`,tu=({text:e=""})=>R.jsx(kC,{children:R.jsx("span",{children:e})}),Kt=({content:e,waitingMessage:t=""})=>{const r=ue.useMemo(()=>({remarkPlugins:[Dy,Ux,IS],rehypePlugins:[bT,wS],components:{img:l=>{var c=l,{node:u}=c,o=yi(c,["node"]);return R.jsx(Ne.Image,{style:{maxWidth:"200px",maxHeight:"150px",objectFit:"contain"},src:o.src,alt:o.alt})},code:c=>{var f=c,{node:u,className:o}=f,l=yi(f,["node","className"]);var y,v,T,w;const p=(v=/language-(\w+)/.exec(((y=u==null?void 0:u.properties)==null?void 0:y.className)||""))==null?void 0:v[0],m=((w=(T=u==null?void 0:u.position)==null?void 0:T.start)==null?void 0:w.line)===2?"language-file":null,b=p||m;if(b==="language-file"){const A=String(l.children).replace(/\n$/,""),P=s(A);return R.jsx(TC,{fileInfo:P})}if(b==="language-ant_table")try{const A=String(l==null?void 0:l.children).replace(/\n$/,""),P=JSON.parse(A),B=wl(P);return R.jsx(Kt,{content:B})}catch(A){return n(String(l==null?void 0:l.children))?(console.error("ant_table数据解析错误:",A),R.jsx(tu,{text:"表格数据加载失败,请检查数据格式"})):R.jsx(Hi,{text:"表格加载中..."})}if(b==="language-echarts")try{const A=Array.isArray(l.children)?l.children.join(""):l.children.toString();if(!n(A))return R.jsx(Hi,{});const P=JSON.parse(A);let B;try{return typeof(P==null?void 0:P.option)=="string"?B=JSON.parse(P==null?void 0:P.option):B=P==null?void 0:P.option,!B||Object.keys(B).length===0?R.jsx(Hi,{}):R.jsx("div",{style:{minWidth:"300px"},children:R.jsx(vC,{options:B})})}catch(O){return console.error("图表配置解析错误:",O),R.jsx(tu,{text:"图表数据加载失败,请检查数据格式"})}}catch(A){return n(String(l.children))?(console.error("图表数据解析错误:",A),R.jsx(tu,{text:"图表数据加载失败,请检查数据格式"})):R.jsx(Hi,{})}return R.jsx(TT,{children:l.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],m=Array.isArray(u==null?void 0:u.children)||typeof((c=u==null?void 0:u.children)==null?void 0:c.slice)=="function";return R.jsxs(R.Fragment,{children:[R.jsx(Ne.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}),m&&R.jsx("p",{children:(f=u==null?void 0:u.children)==null?void 0:f.slice(1)})]})}return R.jsx("p",{children:u==null?void 0:u.children})},a:({children:u,href:o})=>R.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>'),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(`
|
|
1191
|
+
`),l={name:"",size:"",type:"unknown"};return o.forEach(c=>{const[f,p]=c.split(":").map(m=>m.trim());f&&p&&(f.toLowerCase()==="名称"&&(l.name=p),f.toLowerCase()==="大小"&&(l.size=p),f.toLowerCase()==="类型"&&(l.type=p))}),l};return R.jsx(_S,{children:R.jsx(xb,ot(te({},r),{children:`${i(e)}`}))})},CC=ae.div`
|
|
1192
|
+
/* 样式隔离 - 确保内部样式不受外部影响 */
|
|
1193
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1194
|
+
font-size: 14px;
|
|
1195
|
+
line-height: 1.6;
|
|
1196
|
+
color: #333;
|
|
1197
|
+
|
|
1198
|
+
/* 确保内部元素正常显示 */
|
|
1199
|
+
* {
|
|
1200
|
+
box-sizing: border-box;
|
|
1201
|
+
}
|
|
1202
|
+
|
|
1203
|
+
/* Markdown内容样式 */
|
|
1204
|
+
p {
|
|
1205
|
+
margin: 0 0 8px 0;
|
|
1206
|
+
&:last-child {
|
|
1207
|
+
margin-bottom: 0;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
ul, ol {
|
|
1212
|
+
margin: 8px 0;
|
|
1213
|
+
padding-left: 20px;
|
|
1214
|
+
}
|
|
1215
|
+
|
|
1216
|
+
li {
|
|
1217
|
+
margin: 4px 0;
|
|
1218
|
+
}
|
|
1219
|
+
|
|
1220
|
+
code {
|
|
1221
|
+
background: rgba(0, 0, 0, 0.05);
|
|
1222
|
+
padding: 2px 6px;
|
|
1223
|
+
border-radius: 4px;
|
|
1224
|
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
1225
|
+
font-size: 13px;
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
pre {
|
|
1229
|
+
background: #f6f8fa;
|
|
1230
|
+
padding: 12px;
|
|
1231
|
+
border-radius: 6px;
|
|
1232
|
+
overflow-x: auto;
|
|
1233
|
+
|
|
1234
|
+
code {
|
|
1235
|
+
background: transparent;
|
|
1236
|
+
padding: 0;
|
|
1237
|
+
}
|
|
1238
|
+
}
|
|
1239
|
+
|
|
1240
|
+
blockquote {
|
|
1241
|
+
margin: 8px 0;
|
|
1242
|
+
padding: 8px 16px;
|
|
1243
|
+
border-left: 4px solid #ddd;
|
|
1244
|
+
background: #f9f9f9;
|
|
1245
|
+
color: #666;
|
|
1246
|
+
}
|
|
1247
|
+
|
|
1248
|
+
table {
|
|
1249
|
+
border-collapse: collapse;
|
|
1250
|
+
width: 100%;
|
|
1251
|
+
margin: 8px 0;
|
|
1252
|
+
|
|
1253
|
+
th, td {
|
|
1254
|
+
border: 1px solid #ddd;
|
|
1255
|
+
padding: 8px 12px;
|
|
1256
|
+
text-align: left;
|
|
1257
|
+
}
|
|
1258
|
+
|
|
1259
|
+
th {
|
|
1260
|
+
background: #f6f8fa;
|
|
1261
|
+
font-weight: 600;
|
|
1262
|
+
}
|
|
1263
|
+
|
|
1264
|
+
tr:nth-child(even) {
|
|
1265
|
+
background: #f9f9f9;
|
|
1266
|
+
}
|
|
1267
|
+
}
|
|
1268
|
+
|
|
1269
|
+
img {
|
|
1270
|
+
max-width: 100%;
|
|
1271
|
+
height: auto;
|
|
1272
|
+
border-radius: 4px;
|
|
1273
|
+
}
|
|
1274
|
+
|
|
1275
|
+
a {
|
|
1276
|
+
color: #1890ff;
|
|
1277
|
+
text-decoration: none;
|
|
1278
|
+
|
|
1279
|
+
&:hover {
|
|
1280
|
+
text-decoration: underline;
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
|
|
1284
|
+
h1, h2, h3, h4, h5, h6 {
|
|
1285
|
+
margin: 16px 0 8px 0;
|
|
1286
|
+
font-weight: 600;
|
|
1287
|
+
line-height: 1.4;
|
|
1288
|
+
|
|
1289
|
+
&:first-child {
|
|
1290
|
+
margin-top: 0;
|
|
1291
|
+
}
|
|
1292
|
+
}
|
|
1293
|
+
|
|
1294
|
+
h1 { font-size: 24px; }
|
|
1295
|
+
h2 { font-size: 20px; }
|
|
1296
|
+
h3 { font-size: 18px; }
|
|
1297
|
+
h4 { font-size: 16px; }
|
|
1298
|
+
h5 { font-size: 14px; }
|
|
1299
|
+
h6 { font-size: 14px; color: #666; }
|
|
1300
|
+
|
|
1301
|
+
hr {
|
|
1302
|
+
border: none;
|
|
1303
|
+
border-top: 1px solid #ddd;
|
|
1304
|
+
margin: 16px 0;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1307
|
+
/* 深度思考样式 */
|
|
1308
|
+
details {
|
|
1309
|
+
margin: 8px 0;
|
|
1310
|
+
padding: 8px 12px;
|
|
1311
|
+
background: #f6f8fa;
|
|
1312
|
+
border-radius: 6px;
|
|
1313
|
+
|
|
1314
|
+
summary {
|
|
1315
|
+
cursor: pointer;
|
|
1316
|
+
font-weight: 500;
|
|
1317
|
+
color: #666;
|
|
1318
|
+
}
|
|
1319
|
+
|
|
1320
|
+
pre.think {
|
|
1321
|
+
margin: 8px 0 0 0;
|
|
1322
|
+
padding: 8px;
|
|
1323
|
+
background: #fff;
|
|
1324
|
+
border-radius: 4px;
|
|
1325
|
+
white-space: pre-wrap;
|
|
1326
|
+
font-size: 13px;
|
|
1327
|
+
color: #666;
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
`,IC=({content:e,status:t="Success",className:r,style:n})=>(ue.useEffect(()=>{e!=null&&e.includes("```echarts")&&gi().catch(console.error)},[e]),R.jsx(CC,{className:`appflow-sdk-markdown ${r||""}`,style:n,children:R.jsx(Kt,{content:e,status:t})})),_C=ae.div`
|
|
1331
|
+
white-space: normal;
|
|
1332
|
+
li {
|
|
1333
|
+
p {
|
|
1334
|
+
display: block !important;
|
|
1335
|
+
}
|
|
1336
|
+
}
|
|
1337
|
+
`,U2=({content:e,status:t="Success",role:r="bot",className:n,style:a,children:i,waitingMessage:s})=>R.jsxs("div",{className:n,style:a,children:[R.jsx(_C,{$role:r,children:R.jsx(Kt,{content:e,status:t,waitingMessage:s})}),i]}),NC=ae.div`
|
|
1338
|
+
white-space: normal;
|
|
1339
|
+
li {
|
|
1340
|
+
p {
|
|
1341
|
+
display: block !important;
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
`,OC=ae.div`
|
|
1345
|
+
display: flex;
|
|
1346
|
+
align-items: center;
|
|
1347
|
+
gap: 8px;
|
|
1348
|
+
`,RC=ae.span`
|
|
1349
|
+
color: ${e=>e.$success?"#52c41a":"#1890ff"};
|
|
1350
|
+
font-weight: bold;
|
|
1351
|
+
`,LC=ae.span`
|
|
1352
|
+
color: #666;
|
|
1353
|
+
font-weight: 500;
|
|
1354
|
+
`,DC=ae.span`
|
|
1355
|
+
color: #333;
|
|
1356
|
+
`,Gf=ae.div`
|
|
1357
|
+
padding: 8px 0;
|
|
1358
|
+
`,j2=({content:e,messageType:t="markdown",status:r="Success",role:n="bot",className:a,style:i,children:s,waitingMessage:u})=>{const[o,l]=ue.useState([]);ue.useEffect(()=>{if(t==="rich")try{const p=JSON.parse(e);if(Array.isArray(p)){const m=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);m.length>0&&l(m)}}catch(p){console.error("解析rich类型消息失败",p)}},[e,t]);const c=(p,m)=>m==="rich"?f(m,p):p||""?R.jsx(Gf,{children:R.jsx(Kt,{content:SC(p,m),waitingMessage:u})}):R.jsx(Gf,{children:"暂无内容"}),f=(p,m)=>{if(p==="markdown"&&m)return R.jsx(Kt,{content:m,status:r,waitingMessage:u});if(p==="rich")try{const b=JSON.parse(m);return!b||!Array.isArray(b)?null:b==null?void 0:b.map((y,v)=>{var w;const T=y==null?void 0:y.messageType;if(T==="markdown"&&(y!=null&&y.content))return R.jsx(Kt,{content:y==null?void 0:y.content,status:r,waitingMessage:u},`markdown-${v}`);if(T==="ant_table"&&(y!=null&&y.content))try{const A=JSON.parse(y==null?void 0:y.content),P=wl(A);return R.jsx(Kt,{content:P,status:r,waitingMessage:u},`table-${v}`)}catch(A){return null}if(T==="code"&&(y!=null&&y.content)){const A="```sql\n"+(y==null?void 0:y.content)+"\n```";return R.jsx(Kt,{content:A,status:r,waitingMessage:u},`code-${v}`)}if(T==="echart"){const A="```echarts\n"+(y==null?void 0:y.content)+"\n```";return R.jsx(Kt,{content:A,status:r,waitingMessage:u},`echart-${v}`)}if(T==="step")try{const A=JSON.parse(y==null?void 0:y.content),P=[{key:A==null?void 0:A.id,label:R.jsxs(OC,{children:[R.jsx(RC,{$success:r==="Success",children:r==="Success"?"✓":"⟳"}),R.jsxs(LC,{children:["步骤",v+1,":"]}),R.jsx(DC,{children:A==null?void 0:A.title})]}),children:c(A==null?void 0:A.detail,A==null?void 0:A.messageType),style:{marginBottom:"8px",backgroundColor:"white",borderRadius:"8px",border:"1px solid #e8e8e8"}}];return R.jsx(Ne.Collapse,{activeKey:o,size:"small",ghost:!1,items:P,expandIconPosition:"end",style:{backgroundColor:"transparent",border:"none"},onChange:B=>{l(B)}},`step-${v}`)}catch(A){return null}if(T==="error"){const A=`<span style="color:red">${(w=y==null?void 0:y.content)!=null?w:""}</span>`;return R.jsx(Kt,{content:A,status:r,waitingMessage:u},`error-${v}`)}return null})}catch(b){return console.error("Error rendering message:",b),null}return null};return R.jsx(z2,{value:{activeKey:o},children:R.jsxs("div",{className:a,style:i,children:[R.jsx(NC,{$role:n,children:f(t,e)}),s]})})};var MC=typeof global=="object"&&global&&global.Object===Object&&global,PC=typeof self=="object"&&self&&self.Object===Object&&self,a0=MC||PC||Function("return this")(),Zn=a0.Symbol,q2=Object.prototype,FC=q2.hasOwnProperty,BC=q2.toString,Aa=Zn?Zn.toStringTag:void 0;function zC(e){var t=FC.call(e,Aa),r=e[Aa];try{e[Aa]=void 0;var n=!0}catch(i){}var a=BC.call(e);return n&&(t?e[Aa]=r:delete e[Aa]),a}var HC=Object.prototype,UC=HC.toString;function jC(e){return UC.call(e)}var qC="[object Null]",$C="[object Undefined]",Xf=Zn?Zn.toStringTag:void 0;function $2(e){return e==null?e===void 0?$C:qC:Xf&&Xf in Object(e)?zC(e):jC(e)}function Y2(e){return e!=null&&typeof e=="object"}var YC=Array.isArray;function V2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var VC="[object AsyncFunction]",WC="[object Function]",GC="[object GeneratorFunction]",XC="[object Proxy]";function KC(e){if(!V2(e))return!1;var t=$2(e);return t==WC||t==GC||t==VC||t==XC}var ru=a0["__core-js_shared__"],Kf=function(){var e=/[^.]+$/.exec(ru&&ru.keys&&ru.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function QC(e){return!!Kf&&Kf in e}var JC=Function.prototype,ZC=JC.toString;function eI(e){if(e!=null){try{return ZC.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var tI=/[\\^$.*+?()[\]{}|]/g,rI=/^\[object .+?Constructor\]$/,nI=Function.prototype,aI=Object.prototype,iI=nI.toString,sI=aI.hasOwnProperty,uI=RegExp("^"+iI.call(sI).replace(tI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function oI(e){if(!V2(e)||QC(e))return!1;var t=KC(e)?uI:rI;return t.test(eI(e))}function lI(e,t){return e==null?void 0:e[t]}function kl(e,t){var r=lI(e,t);return oI(r)?r:void 0}function cI(){}function fI(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 hI(e){return e!==e}function dI(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function mI(e,t,r){return t===t?dI(e,t,r):fI(e,hI,r)}function pI(e,t){var r=e==null?0:e.length;return!!r&&mI(e,t,0)>-1}function gI(e,t){return e===t||e!==e&&t!==t}var bI="[object Arguments]";function Qf(e){return Y2(e)&&$2(e)==bI}var W2=Object.prototype,yI=W2.hasOwnProperty,EI=W2.propertyIsEnumerable,xI=Qf(function(){return arguments}())?Qf:function(e){return Y2(e)&&yI.call(e,"callee")&&!EI.call(e,"callee")},Ja=kl(Object,"create");function TI(){this.__data__=Ja?Ja(null):{},this.size=0}function vI(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var AI="__lodash_hash_undefined__",SI=Object.prototype,wI=SI.hasOwnProperty;function kI(e){var t=this.__data__;if(Ja){var r=t[e];return r===AI?void 0:r}return wI.call(t,e)?t[e]:void 0}var CI=Object.prototype,II=CI.hasOwnProperty;function _I(e){var t=this.__data__;return Ja?t[e]!==void 0:II.call(t,e)}var NI="__lodash_hash_undefined__";function OI(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ja&&t===void 0?NI:t,this}function Tn(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])}}Tn.prototype.clear=TI;Tn.prototype.delete=vI;Tn.prototype.get=kI;Tn.prototype.has=_I;Tn.prototype.set=OI;function RI(){this.__data__=[],this.size=0}function i0(e,t){for(var r=e.length;r--;)if(gI(e[r][0],t))return r;return-1}var LI=Array.prototype,DI=LI.splice;function MI(e){var t=this.__data__,r=i0(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():DI.call(t,r,1),--this.size,!0}function PI(e){var t=this.__data__,r=i0(t,e);return r<0?void 0:t[r][1]}function FI(e){return i0(this.__data__,e)>-1}function BI(e,t){var r=this.__data__,n=i0(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=RI;ha.prototype.delete=MI;ha.prototype.get=PI;ha.prototype.has=FI;ha.prototype.set=BI;var zI=kl(a0,"Map");function HI(){this.size=0,this.__data__={hash:new Tn,map:new(zI||ha),string:new Tn}}function UI(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function s0(e,t){var r=e.__data__;return UI(t)?r[typeof t=="string"?"string":"hash"]:r.map}function jI(e){var t=s0(this,e).delete(e);return this.size-=t?1:0,t}function qI(e){return s0(this,e).get(e)}function $I(e){return s0(this,e).has(e)}function YI(e,t){var r=s0(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=HI;da.prototype.delete=jI;da.prototype.get=qI;da.prototype.has=$I;da.prototype.set=YI;function VI(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var Jf=Zn?Zn.isConcatSpreadable:void 0;function WI(e){return YC(e)||xI(e)||!!(Jf&&e&&e[Jf])}function GI(e,t,r,n,a){var i=-1,s=e.length;for(r||(r=WI),a||(a=[]);++i<s;){var u=e[i];r(u)?VI(a,u):a[a.length]=u}return a}function XI(e){var t=e==null?0:e.length;return t?GI(e):[]}var nu=kl(a0,"Set"),KI="__lodash_hash_undefined__";function QI(e){return this.__data__.set(e,KI),this}function JI(e){return this.__data__.has(e)}function As(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new da;++t<r;)this.add(e[t])}As.prototype.add=As.prototype.push=QI;As.prototype.has=JI;function ZI(e,t){return e.has(t)}function G2(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var e_=1/0,t_=nu&&1/G2(new nu([,-0]))[1]==e_?function(e){return new nu(e)}:cI,r_=200;function n_(e,t,r){var n=-1,a=pI,i=e.length,s=!0,u=[],o=u;if(i>=r_){var l=t_(e);if(l)return G2(l);s=!1,a=ZI,o=new As}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 a_(e){return e&&e.length?n_(e):[]}const i_=ae.div`
|
|
1359
|
+
margin-top: 16px;
|
|
1360
|
+
border-top: 1px solid #e8e8e8;
|
|
1361
|
+
padding-top: 16px;
|
|
1362
|
+
`,Zf=ae.div`
|
|
1363
|
+
display: flex;
|
|
1364
|
+
gap: 8px;
|
|
1365
|
+
margin-bottom: 8px;
|
|
1366
|
+
align-items: baseline;
|
|
1367
|
+
`,s_=ae.div`
|
|
1368
|
+
margin-bottom: 8px;
|
|
1369
|
+
cursor: pointer;
|
|
1370
|
+
width: 100%;
|
|
1371
|
+
`,u_=ae.div`
|
|
1372
|
+
display: flex;
|
|
1373
|
+
gap: 8px;
|
|
1374
|
+
align-items: center;
|
|
1375
|
+
justify-content: flex-start;
|
|
1376
|
+
`,o_=ae.div`
|
|
1377
|
+
align-items: center;
|
|
1378
|
+
border: 0.5px solid #2c2c73;
|
|
1379
|
+
border-radius: 2px;
|
|
1380
|
+
display: flex;
|
|
1381
|
+
font-size: 10px;
|
|
1382
|
+
height: 12px;
|
|
1383
|
+
justify-content: center;
|
|
1384
|
+
line-height: 1;
|
|
1385
|
+
min-width: 14px;
|
|
1386
|
+
white-space: nowrap;
|
|
1387
|
+
`,l_=ae.div`
|
|
1388
|
+
border: 0.5px solid #9296a9;
|
|
1389
|
+
border-radius: 4px;
|
|
1390
|
+
color: #707279;
|
|
1391
|
+
font-size: 12px;
|
|
1392
|
+
height: 28px;
|
|
1393
|
+
line-height: 28px;
|
|
1394
|
+
margin: 0;
|
|
1395
|
+
padding: 0 8px;
|
|
1396
|
+
width: auto;
|
|
1397
|
+
overflow: hidden;
|
|
1398
|
+
text-overflow: ellipsis;
|
|
1399
|
+
white-space: nowrap;
|
|
1400
|
+
`,c_=ae.div`
|
|
1401
|
+
display: flex;
|
|
1402
|
+
flex-wrap: wrap;
|
|
1403
|
+
gap: 8px;
|
|
1404
|
+
`,f_=ae.div`
|
|
1405
|
+
border: 1px solid #e8e8e8;
|
|
1406
|
+
border-radius: 4px;
|
|
1407
|
+
padding: 4px;
|
|
1408
|
+
`,h_=ae.div`
|
|
1409
|
+
display: flex;
|
|
1410
|
+
gap: 8px;
|
|
1411
|
+
margin-bottom: 8px;
|
|
1412
|
+
align-items: center;
|
|
1413
|
+
background: rgb(230, 232, 236);
|
|
1414
|
+
border-radius: 10px;
|
|
1415
|
+
width: fit-content;
|
|
1416
|
+
padding: 7px 14px;
|
|
1417
|
+
font-size: 12px;
|
|
1418
|
+
cursor: pointer;
|
|
1419
|
+
|
|
1420
|
+
&:hover {
|
|
1421
|
+
background: rgb(220, 222, 226);
|
|
1422
|
+
}
|
|
1423
|
+
`,eh=ae.div`
|
|
1424
|
+
color: #707279;
|
|
1425
|
+
font-size: 12px;
|
|
1426
|
+
min-width: 60px;
|
|
1427
|
+
`,d_=({item:e,isPageConfig:t,onClick:r})=>{const n=t?e.Index:e.index,a=t?e.Title:e.title;return R.jsx(s_,{onClick:()=>r(e),children:R.jsxs(u_,{children:[n&&R.jsx(o_,{children:n}),a&&R.jsx(l_,{children:a})]})})},X2=({items:e,status:t="Success",isPageConfig:r=!1,onItemClick:n,onWebSearchClick:a,className:i,style:s})=>{const u=ue.useMemo(()=>{var m,b;let p;return r?p=(m=e==null?void 0:e.filter(y=>y.Images))==null?void 0:m.map(y=>y.Images):p=(b=e==null?void 0:e.filter(y=>y.images))==null?void 0:b.map(y=>y.images),a_(XI(p))},[e,r]),o=ue.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=ue.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:R.jsxs(i_,{className:i,style:s,children:[l.length>0&&R.jsxs(h_,{onClick:f,children:[R.jsx(_a.SearchOutlined,{}),R.jsxs("div",{children:["已搜索到",l.length,"个网页"]})]}),o.length>0&&R.jsxs(Zf,{children:[R.jsx(eh,{children:"回答来源:"}),R.jsx("div",{style:{width:"calc(100% - 70px)"},children:o.map((p,m)=>R.jsx(d_,{item:p,isPageConfig:r,onClick:c},m))})]}),u.length>0&&R.jsxs(Zf,{children:[R.jsx(eh,{children:"图片来源:"}),R.jsx(c_,{children:u.map((p,m)=>R.jsx(f_,{children:R.jsx(Ne.Image,{src:p,width:50,height:50})},m))})]})]})},{Title:m_}=Ne.Typography,p_=ae.div`
|
|
1428
|
+
height: 100%;
|
|
1429
|
+
display: flex;
|
|
1430
|
+
flex-direction: column;
|
|
1431
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1432
|
+
${e=>e.$isMobile&&`
|
|
1433
|
+
padding: 16px;
|
|
1434
|
+
`}
|
|
1435
|
+
`,g_=ae.div`
|
|
1436
|
+
flex: 1;
|
|
1437
|
+
overflow-y: auto;
|
|
1438
|
+
`,b_=ae.div`
|
|
1439
|
+
display: flex;
|
|
1440
|
+
justify-content: space-between;
|
|
1441
|
+
align-items: baseline;
|
|
1442
|
+
padding-bottom: 16px;
|
|
1443
|
+
border-bottom: 1px solid #f0f0f0;
|
|
1444
|
+
margin-bottom: 16px;
|
|
1445
|
+
`,y_=ae.div`
|
|
1446
|
+
cursor: pointer;
|
|
1447
|
+
padding: 4px 8px;
|
|
1448
|
+
border-radius: 4px;
|
|
1449
|
+
color: #666;
|
|
1450
|
+
font-size: 14px;
|
|
1451
|
+
|
|
1452
|
+
&:hover {
|
|
1453
|
+
background: #f5f5f5;
|
|
1454
|
+
color: #333;
|
|
1455
|
+
}
|
|
1456
|
+
`,E_=ae.div`
|
|
1457
|
+
display: flex;
|
|
1458
|
+
align-items: flex-start;
|
|
1459
|
+
gap: 8px;
|
|
1460
|
+
`,x_=ae.span`
|
|
1461
|
+
font-weight: 600;
|
|
1462
|
+
color: #333;
|
|
1463
|
+
min-width: 20px;
|
|
1464
|
+
`,T_=ae.div`
|
|
1465
|
+
color: #1890ff;
|
|
1466
|
+
cursor: pointer;
|
|
1467
|
+
flex: 1;
|
|
1468
|
+
|
|
1469
|
+
&:hover {
|
|
1470
|
+
text-decoration: underline;
|
|
1471
|
+
}
|
|
1472
|
+
`,v_=ae.div`
|
|
1473
|
+
color: #666;
|
|
1474
|
+
font-size: 13px;
|
|
1475
|
+
cursor: pointer;
|
|
1476
|
+
margin-top: 4px;
|
|
1477
|
+
|
|
1478
|
+
&:hover {
|
|
1479
|
+
color: #333;
|
|
1480
|
+
}
|
|
1481
|
+
`,K2=({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 m=n?p.Url:p.url;m&&window.open(m,"_blank")},f=()=>{r==null||r()};return R.jsx(Ne.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:R.jsx(p_,{$isMobile:o,children:R.jsxs(g_,{children:[R.jsxs(b_,{children:[R.jsx(m_,{level:5,style:{margin:0},children:"搜索结果"}),R.jsx(y_,{onClick:f,children:R.jsx(_a.CloseOutlined,{})})]}),R.jsx(Ne.List,{itemLayout:"horizontal",dataSource:e,renderItem:(p,m)=>{const b=n?p.Title:p.title,y=n?p.Text:p.text;return R.jsx(Ne.List.Item,{children:R.jsx(Ne.List.Item.Meta,{title:R.jsxs(E_,{children:[R.jsxs(x_,{children:[m+1,"."]}),R.jsx(T_,{onClick:()=>c(p),dangerouslySetInnerHTML:{__html:b||""}})]}),description:R.jsx(v_,{onClick:()=>c(p),dangerouslySetInnerHTML:{__html:y||""}})})})}})]})})})},Cl=({items:e,status:t="Success",onItemClick:r,onWebSearchClick:n,className:a,style:i})=>R.jsx(X2,{className:`appflow-sdk-doc-references ${a||""}`,style:i,items:e,status:t,isPageConfig:!1,onItemClick:r,onWebSearchClick:n}),Il=({items:e,open:t,onClose:r,width:n=400,getContainer:a,className:i,style:s})=>R.jsx(K2,{className:`appflow-sdk-web-search-panel ${i||""}`,style:s,items:e,open:t,onClose:r,isPageConfig:!1,width:n,getContainer:a}),th=ue.lazy(()=>Promise.resolve().then(()=>Q2)),A_=ae.div`
|
|
1482
|
+
border: 1px solid #dbdbdb;
|
|
1483
|
+
border-radius: 10px;
|
|
1484
|
+
padding: 24px 16px;
|
|
1485
|
+
position: relative;
|
|
1486
|
+
margin-top: 20px;
|
|
1487
|
+
margin-bottom: 20px;
|
|
1488
|
+
background-color: #fff;
|
|
1489
|
+
`,S_=ae.div`
|
|
1490
|
+
position: absolute;
|
|
1491
|
+
top: -12px;
|
|
1492
|
+
left: 15px;
|
|
1493
|
+
background: #fff;
|
|
1494
|
+
padding: 2px 10px;
|
|
1495
|
+
white-space: nowrap;
|
|
1496
|
+
text-overflow: ellipsis;
|
|
1497
|
+
overflow: hidden;
|
|
1498
|
+
word-break: break-all;
|
|
1499
|
+
max-width: calc(100% - 30px);
|
|
1500
|
+
font-size: 14px;
|
|
1501
|
+
font-weight: 500;
|
|
1502
|
+
color: #1f2329;
|
|
1503
|
+
`,w_=ae.span`
|
|
1504
|
+
display: inline-block;
|
|
1505
|
+
margin-right: 4px;
|
|
1506
|
+
color: #E00000;
|
|
1507
|
+
font-size: 14px;
|
|
1508
|
+
font-family: SimSun, sans-serif;
|
|
1509
|
+
line-height: 1;
|
|
1510
|
+
`,k_=ae.div`
|
|
1511
|
+
font-size: 12px;
|
|
1512
|
+
color: #8f959e;
|
|
1513
|
+
margin-bottom: 12px;
|
|
1514
|
+
word-break: break-word;
|
|
1515
|
+
`,C_=ae.div`
|
|
1516
|
+
font-size: 12px;
|
|
1517
|
+
color: #8f959e;
|
|
1518
|
+
margin-top: 4px;
|
|
1519
|
+
word-break: break-word;
|
|
1520
|
+
`,I_=ae.div`
|
|
1521
|
+
font-size: 12px;
|
|
1522
|
+
color: #f54a45;
|
|
1523
|
+
margin-top: 4px;
|
|
1524
|
+
`,__=ae.div``,N_=ae.div`
|
|
1525
|
+
margin-bottom: 12px;
|
|
1526
|
+
|
|
1527
|
+
&:last-child {
|
|
1528
|
+
margin-bottom: 0;
|
|
1529
|
+
}
|
|
1530
|
+
`,rh=ae.div`
|
|
1531
|
+
width: 100%;
|
|
1532
|
+
`,O_=ae.div`
|
|
1533
|
+
display: flex;
|
|
1534
|
+
align-items: flex-start;
|
|
1535
|
+
gap: 8px;
|
|
1536
|
+
margin-bottom: 8px;
|
|
1537
|
+
|
|
1538
|
+
&:last-child {
|
|
1539
|
+
margin-bottom: 0;
|
|
1540
|
+
}
|
|
1541
|
+
`,R_=ae.div`
|
|
1542
|
+
flex: 1;
|
|
1543
|
+
`,L_=ae.div`
|
|
1544
|
+
flex-shrink: 0;
|
|
1545
|
+
padding-top: 4px;
|
|
1546
|
+
`,D_=ae.div`
|
|
1547
|
+
margin-top: 12px;
|
|
1548
|
+
display: flex;
|
|
1549
|
+
gap: 8px;
|
|
1550
|
+
`,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}},M_=({name:e,schema:t,value:r=[],onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o=""})=>{const{Title:l,Description:c,Items:f}=t,p=l||e,m=o?`${o}.${e}`:e,b=ue.useCallback(()=>{if(!f)return;const $=lo(f);n==null||n([...r,$])},[f,r,n]),y=ue.useCallback($=>{const j=[...r];j.splice($,1),n==null||n(j)},[r,n]),v=ue.useCallback(($,j)=>{const D=[...r];D[$]=j,n==null||n(D)},[r,n]),T=ue.useCallback(($,j,D)=>{const X=[...r];X[$]=ot(te({},X[$]),{[j]:D}),n==null||n(X)},[r,n]),w=(f==null?void 0:f.Type)==="object"&&(f==null?void 0:f.Properties),A=(f==null?void 0:f.Type)==="array";if(!f)return null;const P=f.Required||[],B=($,j)=>{let D;const X=`${m}[${j}]`,G=u[X];switch(f.Type){case"string":D=R.jsx(Ne.Input,{value:$,onChange:ce=>v(j,ce.target.value),disabled:i});break;case"number":D=R.jsx(Ne.InputNumber,{value:$,onChange:ce=>v(j,ce),disabled:i,style:{width:"100%"}});break;case"boolean":D=R.jsx(Ne.Switch,{checked:$,onChange:ce=>v(j,ce),disabled:i});break;default:D=R.jsx(Ne.Input,{value:$,onChange:ce=>v(j,ce.target.value),disabled:i})}return R.jsxs("div",{children:[D,G&&R.jsx(I_,{children:G}),f.Description&&!G&&R.jsx(C_,{children:f.Description})]})},O=($,j)=>f.Properties?Object.entries(f.Properties).map(([D,X])=>{const G=P.includes(D);return R.jsx(ue.Suspense,{fallback:R.jsx("div",{children:"加载中..."}),children:R.jsx(th,{name:D,schema:X,value:$==null?void 0:$[D],onChange:ce=>T(j,D,ce),required:G,disabled:i,level:s+1,errors:u,fieldPath:`${m}[${j}]`})},D)}):null,F=($,j)=>R.jsx(ue.Suspense,{fallback:R.jsx("div",{children:"加载中..."}),children:R.jsx(th,{name:`${e}[${j}]`,schema:f,value:$,onChange:D=>v(j,D),disabled:i,level:s+1,errors:u,fieldPath:m})});return R.jsxs(A_,{children:[R.jsxs(S_,{children:[a&&R.jsx(w_,{children:"*"}),R.jsx("span",{children:p})]}),c&&R.jsx(k_,{children:c}),R.jsx(__,{children:r.map(($,j)=>{const D=()=>w?R.jsx(rh,{children:O($,j)}):A?R.jsx(rh,{children:F($,j)}):R.jsxs(O_,{children:[R.jsx(R_,{children:B($,j)}),R.jsx(L_,{children:R.jsx(Ne.Button,{type:"text",danger:!0,icon:R.jsx(_a.MinusOutlined,{}),onClick:()=>y(j),disabled:i,size:"small"})})]});return R.jsx(N_,{children:D()},j)})}),R.jsx(D_,{children:R.jsxs(Ne.Space,{children:[R.jsx(Ne.Button,{onClick:b,disabled:i,shape:"circle",icon:R.jsx(_a.PlusOutlined,{})}),(w||A)&&r.length>0&&R.jsx(Ne.Button,{onClick:()=>y(r.length-1),shape:"circle",icon:R.jsx(_a.MinusOutlined,{}),danger:!0,disabled:i})]})})]})},P_=ue.lazy(()=>Promise.resolve().then(()=>Q2)),F_=ae.div`
|
|
1551
|
+
border: 1px solid #dbdbdb;
|
|
1552
|
+
border-radius: 10px;
|
|
1553
|
+
padding: 24px 16px;
|
|
1554
|
+
position: relative;
|
|
1555
|
+
margin-top: 20px;
|
|
1556
|
+
margin-bottom: 20px;
|
|
1557
|
+
background-color: #fff;
|
|
1558
|
+
`,B_=ae.div`
|
|
1559
|
+
position: absolute;
|
|
1560
|
+
top: -12px;
|
|
1561
|
+
left: 15px;
|
|
1562
|
+
background: #fff;
|
|
1563
|
+
padding: 2px 10px;
|
|
1564
|
+
white-space: nowrap;
|
|
1565
|
+
text-overflow: ellipsis;
|
|
1566
|
+
overflow: hidden;
|
|
1567
|
+
word-break: break-all;
|
|
1568
|
+
max-width: calc(100% - 30px);
|
|
1569
|
+
font-size: 14px;
|
|
1570
|
+
font-weight: 500;
|
|
1571
|
+
color: #1f2329;
|
|
1572
|
+
`,z_=ae.span`
|
|
1573
|
+
display: inline-block;
|
|
1574
|
+
margin-right: 4px;
|
|
1575
|
+
color: #E00000;
|
|
1576
|
+
font-size: 14px;
|
|
1577
|
+
font-family: SimSun, sans-serif;
|
|
1578
|
+
line-height: 1;
|
|
1579
|
+
`,H_=ae.div`
|
|
1580
|
+
font-size: 12px;
|
|
1581
|
+
color: #8f959e;
|
|
1582
|
+
margin-bottom: 12px;
|
|
1583
|
+
word-break: break-word;
|
|
1584
|
+
`,U_=ae.div`
|
|
1585
|
+
/* 对象内容区域 */
|
|
1586
|
+
`,j_=({name:e,schema:t,value:r={},onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o=""})=>{const{Title:l,Description:c,Properties:f,Required:p=[]}=t,m=l||e,b=o?`${o}.${e}`:e,y=ue.useCallback((v,T)=>{n==null||n(ot(te({},r),{[v]:T}))},[r,n]);return f?R.jsxs(F_,{children:[R.jsxs(B_,{children:[a&&R.jsx(z_,{children:"*"}),R.jsx("span",{children:m})]}),c&&R.jsx(H_,{children:c}),R.jsx(U_,{children:Object.entries(f).map(([v,T])=>{const w=p.includes(v);return R.jsx(ue.Suspense,{fallback:R.jsx("div",{children:"加载中..."}),children:R.jsx(P_,{name:v,schema:T,value:r[v],onChange:A=>y(v,A),required:w,disabled:i,level:s+1,errors:u,fieldPath:b})},v)})})]}):null},q_=ae.div`
|
|
1587
|
+
margin-bottom: 16px;
|
|
1588
|
+
|
|
1589
|
+
&:last-child {
|
|
1590
|
+
margin-bottom: 0;
|
|
1591
|
+
}
|
|
1592
|
+
`,$_=ae.div`
|
|
1593
|
+
display: flex;
|
|
1594
|
+
align-items: center;
|
|
1595
|
+
margin-bottom: 6px;
|
|
1596
|
+
font-size: 14px;
|
|
1597
|
+
color: #1f2329;
|
|
1598
|
+
`,Y_=ae.span`
|
|
1599
|
+
color: #f54a45;
|
|
1600
|
+
margin-right: 4px;
|
|
1601
|
+
`,V_=ae.span`
|
|
1602
|
+
font-weight: 500;
|
|
1603
|
+
`,W_=ae.div`
|
|
1604
|
+
font-size: 12px;
|
|
1605
|
+
color: #8f959e;
|
|
1606
|
+
margin-top: 4px;
|
|
1607
|
+
word-break: break-word;
|
|
1608
|
+
`,G_=ae.div`
|
|
1609
|
+
font-size: 12px;
|
|
1610
|
+
color: #f54a45;
|
|
1611
|
+
margin-top: 4px;
|
|
1612
|
+
`,au=ae.div`
|
|
1613
|
+
.${e=>e.$prefixCls}-input,
|
|
1614
|
+
.${e=>e.$prefixCls}-input-number,
|
|
1615
|
+
.${e=>e.$prefixCls}-select {
|
|
1616
|
+
width: 100%;
|
|
1617
|
+
}
|
|
1618
|
+
|
|
1619
|
+
.${e=>e.$prefixCls}-input-number {
|
|
1620
|
+
width: 100%;
|
|
1621
|
+
}
|
|
1622
|
+
`,co=({name:e,schema:t,value:r,onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o=""})=>{var A;const{Type:l,Title:c,Description:f}=t,p=c||e,m=ue.useContext(Ne.ConfigProvider.ConfigContext),b=((A=m.getPrefixCls)==null?void 0:A.call(m))||"ant",y=o?`${o}.${e}`:e,v=u[y],T=ue.useCallback(P=>{n==null||n(P)},[n]),w=()=>{switch(l){case"string":return R.jsx(au,{$prefixCls:b,children:R.jsx(Ne.Input,{value:r,onChange:P=>T(P.target.value),disabled:i})});case"number":return R.jsx(au,{$prefixCls:b,children:R.jsx(Ne.InputNumber,{value:r,onChange:T,disabled:i,style:{width:"100%"}})});case"boolean":return R.jsx(Ne.Switch,{style:{borderRadius:16},checked:r,onChange:T,disabled:i});case"array":return R.jsx(M_,{name:e,schema:t,value:r,onChange:T,required:a,disabled:i,level:s,errors:u,fieldPath:o});case"object":return R.jsx(j_,{name:e,schema:t,value:r,onChange:T,required:a,disabled:i,level:s,errors:u,fieldPath:o});default:return R.jsx(au,{$prefixCls:b,children:R.jsx(Ne.Input,{value:r,onChange:P=>T(P.target.value),disabled:i})})}};return l==="object"||l==="array"?w():R.jsxs(q_,{children:[R.jsxs($_,{children:[a&&R.jsx(Y_,{children:"*"}),R.jsx(V_,{children:p})]}),w(),v&&R.jsx(G_,{children:v}),f&&!v&&R.jsx(W_,{children:f})]})},Q2=Object.freeze(Object.defineProperty({__proto__:null,FieldRenderer:co,default:co},Symbol.toStringTag,{value:"Module"})),ea=(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} 是必填项`}),(s==null?void 0:s.Type)==="object"&&(s!=null&&s.Properties)&&o){const c=ea(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 m,b,y,v;const p=`${u}[${f}]`;if(((m=s==null?void 0:s.Items)==null?void 0:m.Type)==="object"&&((b=s==null?void 0:s.Items)!=null&&b.Properties)){const T=ea(s.Items,c,p);n.push(...T.errors)}else l&&(((y=s==null?void 0:s.Items)==null?void 0:y.Type)==="string"?(c==null||c==="")&&n.push({field:p,message:"此项 是必填项"}):((v=s==null?void 0:s.Items)==null?void 0:v.Type)==="number"&&c==null&&n.push({field:p,message:"此项 是必填项"}))})}),{valid:n.length===0,errors:n}},nh=ae.div`
|
|
1623
|
+
width: 100%;
|
|
1624
|
+
padding-bottom: 12px;
|
|
1625
|
+
`,X_=ae.div`
|
|
1626
|
+
padding: 24px;
|
|
1627
|
+
text-align: center;
|
|
1628
|
+
color: #8f959e;
|
|
1629
|
+
font-size: 12px;
|
|
1630
|
+
background-color: #fafafa;
|
|
1631
|
+
border: 1px dashed #e5e6eb;
|
|
1632
|
+
border-radius: 6px;
|
|
1633
|
+
`,_l=({schema:e,value:t={},onChange:r,disabled:n=!1,errors:a={}})=>{const i=e==null?void 0:e.Properties,s=(e==null?void 0:e.Required)||[],u=ue.useCallback((o,l)=>{r==null||r(ot(te({},t),{[o]:l}))},[t,r]);return!i||Object.keys(i).length===0?R.jsx(nh,{children:R.jsx(X_,{children:"暂无参数配置"})}):R.jsx(nh,{children:Object.entries(i).map(([o,l])=>{const c=s.includes(o);return R.jsx(co,{name:o,schema:l,value:t[o],onChange:f=>u(o,f),required:c,disabled:n,level:0,errors:a,fieldPath:""},o)})})},K_=e=>{const[t,r]=ue.useState({}),n=ue.useCallback(()=>ea(e,t),[e,t]),a=ue.useCallback(()=>{r({})},[]),i=ue.useCallback((u,o)=>{r(l=>ot(te({},l),{[u]:o}))},[]),s=ue.useCallback(u=>t[u],[t]);return{value:t,setValue:r,validate:n,reset:a,setFieldValue:i,getFieldValue:s}},Q_=ae.div`
|
|
1634
|
+
margin-top: 12px;
|
|
1635
|
+
width: 400px;
|
|
1636
|
+
max-width: 100%;
|
|
1637
|
+
`,J_=ae.div`
|
|
1638
|
+
margin-top: 16px;
|
|
1639
|
+
padding: 12px 16px;
|
|
1640
|
+
border-radius: 8px;
|
|
1641
|
+
display: flex;
|
|
1642
|
+
align-items: center;
|
|
1643
|
+
gap: 12px;
|
|
1644
|
+
background-color: ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
|
|
1645
|
+
border: 1px solid ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
|
|
1646
|
+
`,Z_=ae.div`
|
|
1647
|
+
flex: 1;
|
|
1648
|
+
`,eN=ae.div`
|
|
1649
|
+
font-size: 14px;
|
|
1650
|
+
font-weight: 500;
|
|
1651
|
+
margin-bottom: 4px;
|
|
1652
|
+
`,J2=({verifyId:e,sessionWebhook:t,approved:r=!1,customParamsSchema:n,customParamsKey:a="customParams",onSubmit:i})=>{const[s,u]=ue.useState({}),[o,l]=ue.useState({});ue.useEffect(()=>{if(Object.keys(o).length>0&&n){const f=ea(n,s);if(f.valid)l({});else{const p={};f.errors.forEach(m=>{p[m.field]=m.message}),l(p)}}},[s,n,o]);const c=ue.useCallback(()=>{if(!(!e||!i)){if(n){const f=ea(n,s);if(!f.valid){const p={};f.errors.forEach(m=>{p[m.field]=m.message}),l(p),Ne.message.error("请填写所有必填项");return}l({})}i({verifyId:e,sessionWebhook:t||"",status:"approve",customParamsKey:a,customParamsValue:s})}},[e,t,i,s,n,a]);return R.jsxs(Q_,{children:[n&&R.jsx(_l,{schema:n,value:s,onChange:u,errors:o,disabled:r}),R.jsxs(J_,{$approved:r,children:[R.jsx(Z_,{children:R.jsx(eN,{children:r?"已提交":"待提交"})}),R.jsx(Ne.Button,{color:"primary",variant:"filled",onClick:c,disabled:r,children:"提交"})]})]})},ah=ae.div`
|
|
1653
|
+
margin-top: 12px;
|
|
1654
|
+
width: 400px;
|
|
1655
|
+
max-width: 100%;
|
|
1656
|
+
`,ih=ae.div`
|
|
1657
|
+
margin-top: 16px;
|
|
1658
|
+
padding: 12px 16px;
|
|
1659
|
+
border-radius: 8px;
|
|
1660
|
+
display: flex;
|
|
1661
|
+
align-items: center;
|
|
1662
|
+
gap: 12px;
|
|
1663
|
+
background-color: ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
|
|
1664
|
+
border: 1px solid ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
|
|
1665
|
+
`,sh=ae.div`
|
|
1666
|
+
flex: 1;
|
|
1667
|
+
`,uh=ae.div`
|
|
1668
|
+
font-size: 14px;
|
|
1669
|
+
font-weight: 500;
|
|
1670
|
+
margin-bottom: 4px;
|
|
1671
|
+
`,fo=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.properties&&typeof e.properties=="object"){t.Properties={};for(const[r,n]of Object.entries(e.properties)){const a=fo(n);a&&(t.Properties[r]=a)}}return e.items&&(t.Items=fo(e.items)),t},Z2=({approvalStatus:e,formValues:t={},formSchema:r})=>{const n=e==="approved";return r?R.jsxs(ah,{children:[R.jsx(_l,{schema:r,value:t,disabled:!0}),R.jsxs(ih,{$approved:n,children:[R.jsx(sh,{children:R.jsx(uh,{children:n?"已提交":"待提交"})}),R.jsx(Ne.Button,{color:"primary",variant:"filled",disabled:!0,children:n?"已提交":"提交"})]})]}):R.jsx(ah,{children:R.jsxs(ih,{$approved:n,children:[R.jsx(sh,{children:R.jsx(uh,{children:n?"已提交":"待提交"})}),R.jsx(Ne.Button,{color:"primary",variant:"filled",disabled:!0,children:n?"已提交":"提交"})]})})},tN=ae.div`
|
|
1672
|
+
display: flex;
|
|
1673
|
+
flex-direction: column;
|
|
1674
|
+
max-width: ${e=>e.$role==="user"?"80%":"100%"};
|
|
1675
|
+
align-self: ${e=>e.$role==="user"?"flex-end":"flex-start"};
|
|
1676
|
+
`,rN=ae.div`
|
|
1677
|
+
padding: 12px 16px;
|
|
1678
|
+
border-radius: 12px;
|
|
1679
|
+
background: ${e=>e.$role==="user"?"linear-gradient(135deg, #667eea 0%, #764ba2 100%)":"rgba(205, 208, 220, 0.15)"};
|
|
1680
|
+
color: ${e=>e.$role==="user"?"#fff":"#333"};
|
|
1681
|
+
word-break: break-word;
|
|
1682
|
+
|
|
1683
|
+
/* 样式隔离 */
|
|
1684
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1685
|
+
font-size: 14px;
|
|
1686
|
+
line-height: 1.6;
|
|
1687
|
+
|
|
1688
|
+
* {
|
|
1689
|
+
box-sizing: border-box;
|
|
1690
|
+
}
|
|
1691
|
+
|
|
1692
|
+
/* Markdown内容样式 */
|
|
1693
|
+
p {
|
|
1694
|
+
margin: 0 0 8px 0;
|
|
1695
|
+
&:last-child {
|
|
1696
|
+
margin-bottom: 0;
|
|
1697
|
+
}
|
|
1698
|
+
}
|
|
1699
|
+
|
|
1700
|
+
ul, ol {
|
|
1701
|
+
margin: 8px 0;
|
|
1702
|
+
padding-left: 20px;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
li {
|
|
1706
|
+
margin: 4px 0;
|
|
1707
|
+
p {
|
|
1708
|
+
display: block !important;
|
|
1709
|
+
}
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
code {
|
|
1713
|
+
background: ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.2)":"rgba(0, 0, 0, 0.05)"};
|
|
1714
|
+
padding: 2px 6px;
|
|
1715
|
+
border-radius: 4px;
|
|
1716
|
+
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
1717
|
+
font-size: 13px;
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
pre {
|
|
1721
|
+
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.2)":"#f6f8fa"};
|
|
1722
|
+
padding: 12px;
|
|
1723
|
+
border-radius: 6px;
|
|
1724
|
+
overflow-x: auto;
|
|
1725
|
+
|
|
1726
|
+
code {
|
|
1727
|
+
background: transparent;
|
|
1728
|
+
padding: 0;
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
blockquote {
|
|
1733
|
+
margin: 8px 0;
|
|
1734
|
+
padding: 8px 16px;
|
|
1735
|
+
border-left: 4px solid ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.5)":"#ddd"};
|
|
1736
|
+
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f9f9f9"};
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1739
|
+
table {
|
|
1740
|
+
border-collapse: collapse;
|
|
1741
|
+
width: 100%;
|
|
1742
|
+
margin: 8px 0;
|
|
1743
|
+
|
|
1744
|
+
th, td {
|
|
1745
|
+
border: 1px solid ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.3)":"#ddd"};
|
|
1746
|
+
padding: 8px 12px;
|
|
1747
|
+
text-align: left;
|
|
1748
|
+
}
|
|
1749
|
+
|
|
1750
|
+
th {
|
|
1751
|
+
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f6f8fa"};
|
|
1752
|
+
font-weight: 600;
|
|
1753
|
+
}
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
img {
|
|
1757
|
+
max-width: 200px;
|
|
1758
|
+
max-height: 150px;
|
|
1759
|
+
object-fit: contain;
|
|
1760
|
+
border-radius: 4px;
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
a {
|
|
1764
|
+
color: ${e=>e.$role==="user"?"#fff":"#1890ff"};
|
|
1765
|
+
text-decoration: underline;
|
|
1766
|
+
}
|
|
1767
|
+
|
|
1768
|
+
h1, h2, h3, h4, h5, h6 {
|
|
1769
|
+
margin: 16px 0 8px 0;
|
|
1770
|
+
font-weight: 600;
|
|
1771
|
+
line-height: 1.4;
|
|
1772
|
+
|
|
1773
|
+
&:first-child {
|
|
1774
|
+
margin-top: 0;
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
|
|
1778
|
+
/* 深度思考样式 */
|
|
1779
|
+
details {
|
|
1780
|
+
margin: 8px 0;
|
|
1781
|
+
padding: 8px 12px;
|
|
1782
|
+
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f6f8fa"};
|
|
1783
|
+
border-radius: 6px;
|
|
1784
|
+
|
|
1785
|
+
summary {
|
|
1786
|
+
cursor: pointer;
|
|
1787
|
+
font-weight: 500;
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
pre.think {
|
|
1791
|
+
margin: 8px 0 0 0;
|
|
1792
|
+
padding: 8px;
|
|
1793
|
+
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#fff"};
|
|
1794
|
+
border-radius: 4px;
|
|
1795
|
+
white-space: pre-wrap;
|
|
1796
|
+
font-size: 13px;
|
|
1797
|
+
}
|
|
1798
|
+
}
|
|
1799
|
+
`,nN=ae.div`
|
|
1800
|
+
margin-top: 12px;
|
|
1801
|
+
`,aN=ae.div`
|
|
1802
|
+
display: flex;
|
|
1803
|
+
flex-wrap: wrap;
|
|
1804
|
+
gap: 8px;
|
|
1805
|
+
`,iN=({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,m]=Ne.Modal.useModal(),[b,y]=ue.useState(!1),[v,T]=ue.useState([]);ue.useEffect(()=>{e!=null&&e.includes("```echarts")&&gi().catch(console.error)},[e]);const w=ue.useCallback(F=>{const $=F.Title||F.title,j=F.Text||F.text,D=F.Images||F.images;p.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:"参考资料",destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:R.jsxs(Ne.Space,{direction:"vertical",style:{width:"100%"},children:[R.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[$&&R.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:$}),j&&R.jsx("div",{children:j})]}),D&&D.length>0&&R.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:R.jsx(aN,{children:D.map((X,G)=>R.jsx(Ne.Image,{src:X,height:50},G))})})]}),footer:null})},[p]),A=ue.useCallback(F=>{T(F),y(!0)},[]),P=ue.useCallback(()=>{y(!1)},[]),B=s||w,O=u||A;return R.jsxs(R.Fragment,{children:[R.jsx(tN,{$role:t,className:`appflow-sdk-message-bubble ${a||""}`,style:i,children:R.jsxs(rN,{$role:t,children:[R.jsxs(U2,{content:e,status:r,role:t,children:[o==="humanVerify"&&l&&R.jsx(J2,{verifyId:l.verifyId,sessionWebhook:l.sessionWebhook,approved:l.approved,customParamsSchema:l.customParams,customParamsKey:l.customParamsKey,onSubmit:f}),o==="historyCard"&&c&&R.jsx(Z2,{approvalStatus:c.approvalStatus,formValues:c.formValues,formSchema:c.formSchema}),n.length>0&&r==="Success"&&R.jsx(nN,{children:R.jsx(Cl,{items:n,status:r,onItemClick:B,onWebSearchClick:O})})]}),m]})}),!u&&R.jsx(Il,{items:v,open:b,onClose:P})]})},sN=ae.div`
|
|
1806
|
+
padding: 12px 16px;
|
|
1807
|
+
border-radius: 12px;
|
|
1808
|
+
background: rgba(205, 208, 220, 0.15);
|
|
1809
|
+
color: #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: 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: #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
|
+
table {
|
|
1862
|
+
border-collapse: collapse;
|
|
1863
|
+
width: 100%;
|
|
1864
|
+
margin: 8px 0;
|
|
1865
|
+
|
|
1866
|
+
th, td {
|
|
1867
|
+
border: 1px solid #ddd;
|
|
1868
|
+
padding: 8px 12px;
|
|
1869
|
+
text-align: left;
|
|
1870
|
+
}
|
|
1871
|
+
|
|
1872
|
+
th {
|
|
1873
|
+
background: #f6f8fa;
|
|
1874
|
+
font-weight: 600;
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
tr:nth-child(even) {
|
|
1878
|
+
background: #f9f9f9;
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
|
|
1882
|
+
img {
|
|
1883
|
+
max-width: 200px;
|
|
1884
|
+
max-height: 150px;
|
|
1885
|
+
object-fit: contain;
|
|
1886
|
+
border-radius: 4px;
|
|
1887
|
+
}
|
|
1888
|
+
|
|
1889
|
+
a {
|
|
1890
|
+
color: #1890ff;
|
|
1891
|
+
text-decoration: none;
|
|
1892
|
+
|
|
1893
|
+
&:hover {
|
|
1894
|
+
text-decoration: underline;
|
|
1895
|
+
}
|
|
1896
|
+
}
|
|
1897
|
+
`,uN=ae.div`
|
|
1898
|
+
margin-top: 12px;
|
|
1899
|
+
`,oN=ae.div`
|
|
1900
|
+
display: flex;
|
|
1901
|
+
flex-wrap: wrap;
|
|
1902
|
+
gap: 8px;
|
|
1903
|
+
`,lN=({content:e,messageType:t="markdown",status:r="Success",references:n=[],className:a,style:i,onReferenceClick:s,onWebSearchClick:u})=>{const[o,l]=Ne.Modal.useModal(),[c,f]=ue.useState(!1),[p,m]=ue.useState([]);ue.useEffect(()=>{(e!=null&&e.includes("echart")||e!=null&&e.includes("echarts"))&&gi().catch(console.error)},[e]);const b=ue.useCallback(A=>{const P=A.Title||A.title,B=A.Text||A.text,O=A.Images||A.images;o.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:"参考资料",destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:R.jsxs(Ne.Space,{direction:"vertical",style:{width:"100%"},children:[R.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[P&&R.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:P}),B&&R.jsx("div",{children:B})]}),O&&O.length>0&&R.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:R.jsx(oN,{children:O.map((F,$)=>R.jsx(Ne.Image,{src:F,height:50},$))})})]}),footer:null})},[o]),y=ue.useCallback(A=>{m(A),f(!0)},[]),v=ue.useCallback(()=>{f(!1)},[]),T=s||b,w=u||y;return R.jsxs(R.Fragment,{children:[R.jsxs(sN,{className:`appflow-sdk-rich-message-bubble ${a||""}`,style:i,children:[R.jsx(j2,{content:e,messageType:t,status:r,role:"bot",children:n.length>0&&r==="Success"&&R.jsx(uN,{children:R.jsx(Cl,{items:n,status:r,onItemClick:T,onWebSearchClick:w})})}),l]}),!u&&R.jsx(Il,{items:p,open:c,onClose:v})]})};exports.BubbleContent=U2;exports.ChatService=Rh;exports.CustomParamsRenderer=_l;exports.DocReferences=Cl;exports.HistoryCard=Z2;exports.HumanVerify=J2;exports.MarkdownRenderer=IC;exports.MarkdownView=Kt;exports.MessageBubble=iN;exports.RichBubbleContent=j2;exports.RichBubbleProvider=z2;exports.RichMessageBubble=lN;exports.SourceContent=X2;exports.WebSearchContent=K2;exports.WebSearchPanel=Il;exports.chatService=$3;exports.convertSchemaToUpperCase=fo;exports.loadEchartsScript=gi;exports.useCustomParamsRenderer=K_;exports.useRichBubbleContext=H2;exports.validateCustomParams=ea;
|