@alicloud/appflow-chat 0.0.4-beta.1 → 0.0.4-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/appflow-chat.cjs.js +1 -2033
- package/dist/appflow-chat.esm.js +23 -37867
- package/dist/dayjs.min-DWSn5QqA.js +301 -0
- package/dist/dayjs.min-QTCa-wyv.cjs +1 -0
- package/dist/index-CtMPAAIm.js +37886 -0
- package/dist/index-cl42IZ0C.cjs +2033 -0
- package/dist/moment-BOHN1eRP.js +2578 -0
- package/dist/moment-BdH06dpW.cjs +10 -0
- package/package.json +3 -1
- package/src/components/HumanVerify/CustomParamsRenderer/TimeField.tsx +56 -58
package/dist/appflow-chat.cjs.js
CHANGED
|
@@ -1,2033 +1 @@
|
|
|
1
|
-
"use strict";var N4=Object.defineProperty,O4=Object.defineProperties;var R4=Object.getOwnPropertyDescriptors;var vi=Object.getOwnPropertySymbols;var Ql=Object.prototype.hasOwnProperty,Jl=Object.prototype.propertyIsEnumerable;var In=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),D4=e=>{throw TypeError(e)},Zl=Math.pow,x0=(e,t,r)=>t in e?N4(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,J=(e,t)=>{for(var r in t||(t={}))Ql.call(t,r)&&x0(e,r,t[r]);if(vi)for(var r of vi(t))Jl.call(t,r)&&x0(e,r,t[r]);return e},tt=(e,t)=>O4(e,R4(t));var wi=(e,t)=>{var r={};for(var n in e)Ql.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&vi)for(var n of vi(e))t.indexOf(n)<0&&Jl.call(e,n)&&(r[n]=e[n]);return r};var _n=(e,t,r)=>x0(e,typeof t!="symbol"?t+"":t,r);var Le=(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())}),tn=function(e,t){this[0]=e,this[1]=t},T0=(e,t,r)=>{var n=(s,u,o,l)=>{try{var c=r[s](u),f=(u=c.value)instanceof tn,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[In("asyncIterator")]=()=>i,a("next"),a("throw"),a("return"),i},v0=e=>{var t=e[In("asyncIterator")],r=!1,n,a={};return t==null?(t=e[In("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 tn(new Promise(u=>{var o=t[i](s);o instanceof Object||D4("Object expected"),u(o)}),1)}}),a[In("iterator")]=()=>a,n("next"),"throw"in t?n("throw"):a.throw=i=>{throw i},"return"in t&&n("return"),a},ec=(e,t,r)=>(t=e[In("asyncIterator")])?t.call(e):(e=e[In("iterator")](),t={},r=(n,a)=>(a=e[n])&&(t[n]=i=>new Promise((s,u,o)=>(i=a.call(e,i),o=i.done,Promise.resolve(i.value).then(l=>s({value:l,done:o}),u)))),r("next"),r("return"),t);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const k=require("react/jsx-runtime"),K=require("react"),pe=require("antd"),ir=require("@ant-design/icons");let sn=null,ba=null;const L4="https://g.alicdn.com/code/npm/@ali/chatui-sdk/6.6.5/ChatSSE.js";function M4(){return ba||(ba=new Promise((e,t)=>{var n;if((n=window.ChatSSE)!=null&&n.fetchEventSource){sn=window.ChatSSE.fetchEventSource,e(sn);return}const r=document.createElement("script");r.src=L4,r.async=!0,r.onload=()=>{var a;sn=(a=window.ChatSSE)==null?void 0:a.fetchEventSource,sn?e(sn):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 P4(){return Le(this,null,function*(){return sn||M4()})}function F4(e,t){return Le(this,null,function*(){return(yield P4())(e,t)})}function Mh(e,t){return function(){return e.apply(t,arguments)}}const{toString:B4}=Object.prototype,{getPrototypeOf:Po}=Object,{iterator:_s,toStringTag:Ph}=Symbol,Ns=(e=>t=>{const r=B4.call(t);return e[r]||(e[r]=r.slice(8,-1).toLowerCase())})(Object.create(null)),Zt=e=>(e=e.toLowerCase(),t=>Ns(t)===e),Os=e=>t=>typeof t===e,{isArray:Zn}=Array,zn=Os("undefined");function Za(e){return e!==null&&!zn(e)&&e.constructor!==null&&!zn(e.constructor)&&Nt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Fh=Zt("ArrayBuffer");function z4(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Fh(e.buffer),t}const H4=Os("string"),Nt=Os("function"),Bh=Os("number"),ei=e=>e!==null&&typeof e=="object",U4=e=>e===!0||e===!1,Vi=e=>{if(Ns(e)!=="object")return!1;const t=Po(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Ph in e)&&!(_s in e)},j4=e=>{if(!ei(e)||Za(e))return!1;try{return Object.keys(e).length===0&&Object.getPrototypeOf(e)===Object.prototype}catch(t){return!1}},q4=Zt("Date"),$4=Zt("File"),Y4=e=>!!(e&&typeof e.uri!="undefined"),V4=e=>e&&typeof e.getParts!="undefined",W4=Zt("Blob"),G4=Zt("FileList"),X4=e=>ei(e)&&Nt(e.pipe);function K4(){return typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{}}const tc=K4(),rc=typeof tc.FormData!="undefined"?tc.FormData:void 0,Q4=e=>{let t;return e&&(rc&&e instanceof rc||Nt(e.append)&&((t=Ns(e))==="formdata"||t==="object"&&Nt(e.toString)&&e.toString()==="[object FormData]"))},J4=Zt("URLSearchParams"),[Z4,e3,t3,r3]=["ReadableStream","Request","Response","Headers"].map(Zt),n3=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]),Zn(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 zh(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,Hh=e=>!zn(e)&&e!==cn;function vu(){const{caseless:e,skipUndefined:t}=Hh(this)&&this||{},r={},n=(a,i)=>{if(i==="__proto__"||i==="constructor"||i==="prototype")return;const s=e&&zh(r,i)||i;Vi(r[s])&&Vi(a)?r[s]=vu(r[s],a):Vi(a)?r[s]=vu({},a):Zn(a)?r[s]=a.slice():(!t||!zn(a))&&(r[s]=a)};for(let a=0,i=arguments.length;a<i;a++)arguments[a]&&ti(arguments[a],n);return r}const a3=(e,t,r,{allOwnKeys:n}={})=>(ti(t,(a,i)=>{r&&Nt(a)?Object.defineProperty(e,i,{value:Mh(a,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{value:a,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),i3=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),s3=(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},u3=(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&&Po(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},o3=(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},l3=e=>{if(!e)return null;if(Zn(e))return e;let t=e.length;if(!Bh(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},c3=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&Po(Uint8Array)),f3=(e,t)=>{const n=(e&&e[_s]).call(e);let a;for(;(a=n.next())&&!a.done;){const i=a.value;t.call(e,i[0],i[1])}},h3=(e,t)=>{let r;const n=[];for(;(r=e.exec(t))!==null;)n.push(r);return n},d3=Zt("HTMLFormElement"),m3=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(r,n,a){return n.toUpperCase()+a}),nc=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),p3=Zt("RegExp"),Uh=(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)},g3=e=>{Uh(e,(t,r)=>{if(Nt(e)&&["arguments","caller","callee"].indexOf(r)!==-1)return!1;const n=e[r];if(Nt(n)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")})}})},b3=(e,t)=>{const r={},n=a=>{a.forEach(i=>{r[i]=!0})};return Zn(e)?n(e):n(String(e).split(t)),r},y3=()=>{},E3=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t;function x3(e){return!!(e&&Nt(e.append)&&e[Ph]==="FormData"&&e[_s])}const T3=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=Zn(n)?[]:{};return ti(n,(s,u)=>{const o=r(s,a+1);!zn(o)&&(i[u]=o)}),t[a]=void 0,i}}return n};return r(e,0)},v3=Zt("AsyncFunction"),w3=e=>e&&(ei(e)||Nt(e))&&Nt(e.then)&&Nt(e.catch),jh=((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",Nt(cn.postMessage)),A3=typeof queueMicrotask!="undefined"?queueMicrotask.bind(cn):typeof process!="undefined"&&process.nextTick||jh,S3=e=>e!=null&&Nt(e[_s]),j={isArray:Zn,isArrayBuffer:Fh,isBuffer:Za,isFormData:Q4,isArrayBufferView:z4,isString:H4,isNumber:Bh,isBoolean:U4,isObject:ei,isPlainObject:Vi,isEmptyObject:j4,isReadableStream:Z4,isRequest:e3,isResponse:t3,isHeaders:r3,isUndefined:zn,isDate:q4,isFile:$4,isReactNativeBlob:Y4,isReactNative:V4,isBlob:W4,isRegExp:p3,isFunction:Nt,isStream:X4,isURLSearchParams:J4,isTypedArray:c3,isFileList:G4,forEach:ti,merge:vu,extend:a3,trim:n3,stripBOM:i3,inherits:s3,toFlatObject:u3,kindOf:Ns,kindOfTest:Zt,endsWith:o3,toArray:l3,forEachEntry:f3,matchAll:h3,isHTMLForm:d3,hasOwnProperty:nc,hasOwnProp:nc,reduceDescriptors:Uh,freezeMethods:g3,toObjectSet:b3,toCamelCase:m3,noop:y3,toFiniteNumber:E3,findKey:zh,global:cn,isContextDefined:Hh,isSpecCompliantForm:x3,toJSONObject:T3,isAsyncFn:v3,isThenable:w3,setImmediate:jh,asap:A3,isIterable:S3};let Ee=class qh extends Error{static from(t,r,n,a,i,s){const u=new qh(t.message,r||t.code,n,a,i);return u.cause=t,u.name=t.name,t.status!=null&&u.status==null&&(u.status=t.status),s&&Object.assign(u,s),u}constructor(t,r,n,a,i){super(t),Object.defineProperty(this,"message",{value:t,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,r&&(this.code=r),n&&(this.config=n),a&&(this.request=a),i&&(this.response=i,this.status=i.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:j.toJSONObject(this.config),code:this.code,status:this.status}}};Ee.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Ee.ERR_BAD_OPTION="ERR_BAD_OPTION";Ee.ECONNABORTED="ECONNABORTED";Ee.ETIMEDOUT="ETIMEDOUT";Ee.ERR_NETWORK="ERR_NETWORK";Ee.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Ee.ERR_DEPRECATED="ERR_DEPRECATED";Ee.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Ee.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Ee.ERR_CANCELED="ERR_CANCELED";Ee.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Ee.ERR_INVALID_URL="ERR_INVALID_URL";const k3=null;function wu(e){return j.isPlainObject(e)||j.isArray(e)}function $h(e){return j.endsWith(e,"[]")?e.slice(0,-2):e}function w0(e,t,r){return e?e.concat(t).map(function(a,i){return a=$h(a),!r&&i?"["+a+"]":a}).join(r?".":""):t}function C3(e){return j.isArray(e)&&!e.some(wu)}const I3=j.toFlatObject(j,{},null,function(t){return/^is[A-Z]/.test(t)});function Rs(e,t,r){if(!j.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,r=j.toFlatObject(r,{metaTokens:!0,dots:!1,indexes:!1},!1,function(y,T){return!j.isUndefined(T[y])});const n=r.metaTokens,a=r.visitor||c,i=r.dots,s=r.indexes,o=(r.Blob||typeof Blob!="undefined"&&Blob)&&j.isSpecCompliantForm(t);if(!j.isFunction(a))throw new TypeError("visitor must be a function");function l(b){if(b===null)return"";if(j.isDate(b))return b.toISOString();if(j.isBoolean(b))return b.toString();if(!o&&j.isBlob(b))throw new Ee("Blob is not supported. Use a Buffer instead.");return j.isArrayBuffer(b)||j.isTypedArray(b)?o&&typeof Blob=="function"?new Blob([b]):Buffer.from(b):b}function c(b,y,T){let v=b;if(j.isReactNative(t)&&j.isReactNativeBlob(b))return t.append(w0(T,y,i),l(b)),!1;if(b&&!T&&typeof b=="object"){if(j.endsWith(y,"{}"))y=n?y:y.slice(0,-2),b=JSON.stringify(b);else if(j.isArray(b)&&C3(b)||(j.isFileList(b)||j.endsWith(y,"[]"))&&(v=j.toArray(b)))return y=$h(y),v.forEach(function(A,M){!(j.isUndefined(A)||A===null)&&t.append(s===!0?w0([y],M,i):s===null?y:y+"[]",l(A))}),!1}return wu(b)?!0:(t.append(w0(T,y,i),l(b)),!1)}const f=[],p=Object.assign(I3,{defaultVisitor:c,convertValue:l,isVisitable:wu});function m(b,y){if(!j.isUndefined(b)){if(f.indexOf(b)!==-1)throw Error("Circular reference detected in "+y.join("."));f.push(b),j.forEach(b,function(v,S){(!(j.isUndefined(v)||v===null)&&a.call(t,v,j.isString(S)?S.trim():S,y,p))===!0&&m(v,y?y.concat(S):[S])}),f.pop()}}if(!j.isObject(e))throw new TypeError("data must be an object");return m(e),t}function ac(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(n){return t[n]})}function Fo(e,t){this._pairs=[],e&&Rs(e,this,t)}const Yh=Fo.prototype;Yh.append=function(t,r){this._pairs.push([t,r])};Yh.toString=function(t){const r=t?function(n){return t.call(this,n,ac)}:ac;return this._pairs.map(function(a){return r(a[0])+"="+r(a[1])},"").join("&")};function _3(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Vh(e,t,r){if(!t)return e;const n=r&&r.encode||_3,a=j.isFunction(r)?{serialize:r}:r,i=a&&a.serialize;let s;if(i?s=i(t,a):s=j.isURLSearchParams(t)?t.toString():new Fo(t,a).toString(n),s){const u=e.indexOf("#");u!==-1&&(e=e.slice(0,u)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class ic{constructor(){this.handlers=[]}use(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){j.forEach(this.handlers,function(n){n!==null&&t(n)})}}const Bo={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},N3=typeof URLSearchParams!="undefined"?URLSearchParams:Fo,O3=typeof FormData!="undefined"?FormData:null,R3=typeof Blob!="undefined"?Blob:null,D3={isBrowser:!0,classes:{URLSearchParams:N3,FormData:O3,Blob:R3},protocols:["http","https","file","blob","url","data"]},zo=typeof window!="undefined"&&typeof document!="undefined",Au=typeof navigator=="object"&&navigator||void 0,L3=zo&&(!Au||["ReactNative","NativeScript","NS"].indexOf(Au.product)<0),M3=typeof WorkerGlobalScope!="undefined"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",P3=zo&&window.location.href||"http://localhost",F3=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:zo,hasStandardBrowserEnv:L3,hasStandardBrowserWebWorkerEnv:M3,navigator:Au,origin:P3},Symbol.toStringTag,{value:"Module"})),mt=J(J({},F3),D3);function B3(e,t){return Rs(e,new mt.classes.URLSearchParams,J({visitor:function(r,n,a,i){return mt.isNode&&j.isBuffer(r)?(this.append(n,r.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function z3(e){return j.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 Wh(e){function t(r,n,a,i){let s=r[i++];if(s==="__proto__")return!0;const u=Number.isFinite(+s),o=i>=r.length;return s=!s&&j.isArray(a)?a.length:s,o?(j.hasOwnProp(a,s)?a[s]=[a[s],n]:a[s]=n,!u):((!a[s]||!j.isObject(a[s]))&&(a[s]=[]),t(r,n,a[s],i)&&j.isArray(a[s])&&(a[s]=H3(a[s])),!u)}if(j.isFormData(e)&&j.isFunction(e.entries)){const r={};return j.forEachEntry(e,(n,a)=>{t(z3(n),a,r,0)}),r}return null}function U3(e,t,r){if(j.isString(e))try{return(t||JSON.parse)(e),j.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}const ri={transitional:Bo,adapter:["xhr","http","fetch"],transformRequest:[function(t,r){const n=r.getContentType()||"",a=n.indexOf("application/json")>-1,i=j.isObject(t);if(i&&j.isHTMLForm(t)&&(t=new FormData(t)),j.isFormData(t))return a?JSON.stringify(Wh(t)):t;if(j.isArrayBuffer(t)||j.isBuffer(t)||j.isStream(t)||j.isFile(t)||j.isBlob(t)||j.isReadableStream(t))return t;if(j.isArrayBufferView(t))return t.buffer;if(j.isURLSearchParams(t))return r.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let u;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return B3(t,this.formSerializer).toString();if((u=j.isFileList(t))||n.indexOf("multipart/form-data")>-1){const o=this.env&&this.env.FormData;return Rs(u?{"files[]":t}:t,o&&new o,this.formSerializer)}}return i||a?(r.setContentType("application/json",!1),U3(t)):t}],transformResponse:[function(t){const r=this.transitional||ri.transitional,n=r&&r.forcedJSONParsing,a=this.responseType==="json";if(j.isResponse(t)||j.isReadableStream(t))return t;if(t&&j.isString(t)&&(n&&!this.responseType||a)){const s=!(r&&r.silentJSONParsing)&&a;try{return JSON.parse(t,this.parseReviver)}catch(u){if(s)throw u.name==="SyntaxError"?Ee.from(u,Ee.ERR_BAD_RESPONSE,this,null,this.response):u}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:mt.classes.FormData,Blob:mt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};j.forEach(["delete","get","head","post","put","patch"],e=>{ri.headers[e]={}});const j3=j.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),q3=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]&&j3[r])&&(r==="set-cookie"?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t},sc=Symbol("internals");function ya(e){return e&&String(e).trim().toLowerCase()}function Wi(e){return e===!1||e==null?e:j.isArray(e)?e.map(Wi):String(e).replace(/[\r\n]+$/,"")}function $3(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 Y3=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function A0(e,t,r,n,a){if(j.isFunction(n))return n.call(this,t,r);if(a&&(t=r),!!j.isString(t)){if(j.isString(n))return t.indexOf(n)!==-1;if(j.isRegExp(n))return n.test(t)}}function V3(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,r,n)=>r.toUpperCase()+n)}function W3(e,t){const r=j.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{value:function(a,i,s){return this[n].call(this,t,a,i,s)},configurable:!0})})}let Ot=class{constructor(t){t&&this.set(t)}set(t,r,n){const a=this;function i(u,o,l){const c=ya(o);if(!c)throw new Error("header name must be a non-empty string");const f=j.findKey(a,c);(!f||a[f]===void 0||l===!0||l===void 0&&a[f]!==!1)&&(a[f||o]=Wi(u))}const s=(u,o)=>j.forEach(u,(l,c)=>i(l,c,o));if(j.isPlainObject(t)||t instanceof this.constructor)s(t,r);else if(j.isString(t)&&(t=t.trim())&&!Y3(t))s(q3(t),r);else if(j.isObject(t)&&j.isIterable(t)){let u={},o,l;for(const c of t){if(!j.isArray(c))throw TypeError("Object iterator must return a key-value pair");u[l=c[0]]=(o=u[l])?j.isArray(o)?[...o,c[1]]:[o,c[1]]:c[1]}s(u,r)}else t!=null&&i(r,t,n);return this}get(t,r){if(t=ya(t),t){const n=j.findKey(this,t);if(n){const a=this[n];if(!r)return a;if(r===!0)return $3(a);if(j.isFunction(r))return r.call(this,a,n);if(j.isRegExp(r))return r.exec(a);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,r){if(t=ya(t),t){const n=j.findKey(this,t);return!!(n&&this[n]!==void 0&&(!r||A0(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=j.findKey(n,s);u&&(!r||A0(n,n[u],u,r))&&(delete n[u],a=!0)}}return j.isArray(t)?t.forEach(i):i(t),a}clear(t){const r=Object.keys(this);let n=r.length,a=!1;for(;n--;){const i=r[n];(!t||A0(this,this[i],i,t,!0))&&(delete this[i],a=!0)}return a}normalize(t){const r=this,n={};return j.forEach(this,(a,i)=>{const s=j.findKey(n,i);if(s){r[s]=Wi(a),delete r[i];return}const u=t?V3(i):String(i).trim();u!==i&&delete r[i],r[u]=Wi(a),n[u]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const r=Object.create(null);return j.forEach(this,(n,a)=>{n!=null&&n!==!1&&(r[a]=t&&j.isArray(n)?n.join(", "):n)}),r}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,r])=>t+": "+r).join(`
|
|
3
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...r){const n=new this(t);return r.forEach(a=>n.set(a)),n}static accessor(t){const n=(this[sc]=this[sc]={accessors:{}}).accessors,a=this.prototype;function i(s){const u=ya(s);n[u]||(W3(a,s),n[u]=!0)}return j.isArray(t)?t.forEach(i):i(t),this}};Ot.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);j.reduceDescriptors(Ot.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(n){this[r]=n}}});j.freezeMethods(Ot);function S0(e,t){const r=this||ri,n=t||r,a=Ot.from(n.headers);let i=n.data;return j.forEach(e,function(u){i=u.call(r,i,a.normalize(),t?t.status:void 0)}),a.normalize(),i}function Gh(e){return!!(e&&e.__CANCEL__)}let ni=class extends Ee{constructor(t,r,n){super(t==null?"canceled":t,Ee.ERR_CANCELED,r,n),this.name="CanceledError",this.__CANCEL__=!0}};function Xh(e,t,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?e(r):t(new Ee("Request failed with status code "+r.status,[Ee.ERR_BAD_REQUEST,Ee.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}function G3(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function X3(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 K3(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 ls=(e,t,r=3)=>{let n=0;const a=X3(50,250);return K3(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)},uc=(e,t)=>{const r=e!=null;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},oc=e=>(...t)=>j.asap(()=>e(...t)),Q3=mt.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,mt.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(mt.origin),mt.navigator&&/(msie|trident)/i.test(mt.navigator.userAgent)):()=>!0,J3=mt.hasStandardBrowserEnv?{write(e,t,r,n,a,i,s){if(typeof document=="undefined")return;const u=[`${e}=${encodeURIComponent(t)}`];j.isNumber(r)&&u.push(`expires=${new Date(r).toUTCString()}`),j.isString(n)&&u.push(`path=${n}`),j.isString(a)&&u.push(`domain=${a}`),i===!0&&u.push("secure"),j.isString(s)&&u.push(`SameSite=${s}`),document.cookie=u.join("; ")},read(e){if(typeof document=="undefined")return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Z3(e){return typeof e!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function e6(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Kh(e,t,r){let n=!Z3(t);return e&&(n||r==!1)?e6(e,t):t}const lc=e=>e instanceof Ot?J({},e):e;function gn(e,t){t=t||{};const r={};function n(l,c,f,p){return j.isPlainObject(l)&&j.isPlainObject(c)?j.merge.call({caseless:p},l,c):j.isPlainObject(c)?j.merge({},c):j.isArray(c)?c.slice():c}function a(l,c,f,p){if(j.isUndefined(c)){if(!j.isUndefined(l))return n(void 0,l,f,p)}else return n(l,c,f,p)}function i(l,c){if(!j.isUndefined(c))return n(void 0,c)}function s(l,c){if(j.isUndefined(c)){if(!j.isUndefined(l))return n(void 0,l)}else return n(void 0,c)}function u(l,c,f){if(f in t)return n(l,c);if(f in e)return n(void 0,l)}const o={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u,headers:(l,c,f)=>a(lc(l),lc(c),f,!0)};return j.forEach(Object.keys(J(J({},e),t)),function(c){if(c==="__proto__"||c==="constructor"||c==="prototype")return;const f=j.hasOwnProp(o,c)?o[c]:a,p=f(e[c],t[c],c);j.isUndefined(p)&&f!==u||(r[c]=p)}),r}const Qh=e=>{const t=gn({},e);let{data:r,withXSRFToken:n,xsrfHeaderName:a,xsrfCookieName:i,headers:s,auth:u}=t;if(t.headers=s=Ot.from(s),t.url=Vh(Kh(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),u&&s.set("Authorization","Basic "+btoa((u.username||"")+":"+(u.password?unescape(encodeURIComponent(u.password)):""))),j.isFormData(r)){if(mt.hasStandardBrowserEnv||mt.hasStandardBrowserWebWorkerEnv)s.setContentType(void 0);else if(j.isFunction(r.getHeaders)){const o=r.getHeaders(),l=["content-type","content-length"];Object.entries(o).forEach(([c,f])=>{l.includes(c.toLowerCase())&&s.set(c,f)})}}if(mt.hasStandardBrowserEnv&&(n&&j.isFunction(n)&&(n=n(t)),n||n!==!1&&Q3(t.url))){const o=a&&i&&J3.read(i);o&&s.set(a,o)}return t},t6=typeof XMLHttpRequest!="undefined",r6=t6&&function(e){return new Promise(function(r,n){const a=Qh(e);let i=a.data;const s=Ot.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 T=new XMLHttpRequest;T.open(a.method.toUpperCase(),a.url,!0),T.timeout=a.timeout;function v(){if(!T)return;const A=Ot.from("getAllResponseHeaders"in T&&T.getAllResponseHeaders()),B={data:!u||u==="text"||u==="json"?T.responseText:T.response,status:T.status,statusText:T.statusText,headers:A,config:e,request:T};Xh(function(D){r(D),y()},function(D){n(D),y()},B),T=null}"onloadend"in T?T.onloadend=v:T.onreadystatechange=function(){!T||T.readyState!==4||T.status===0&&!(T.responseURL&&T.responseURL.indexOf("file:")===0)||setTimeout(v)},T.onabort=function(){T&&(n(new Ee("Request aborted",Ee.ECONNABORTED,e,T)),T=null)},T.onerror=function(M){const B=M&&M.message?M.message:"Network Error",O=new Ee(B,Ee.ERR_NETWORK,e,T);O.event=M||null,n(O),T=null},T.ontimeout=function(){let M=a.timeout?"timeout of "+a.timeout+"ms exceeded":"timeout exceeded";const B=a.transitional||Bo;a.timeoutErrorMessage&&(M=a.timeoutErrorMessage),n(new Ee(M,B.clarifyTimeoutError?Ee.ETIMEDOUT:Ee.ECONNABORTED,e,T)),T=null},i===void 0&&s.setContentType(null),"setRequestHeader"in T&&j.forEach(s.toJSON(),function(M,B){T.setRequestHeader(B,M)}),j.isUndefined(a.withCredentials)||(T.withCredentials=!!a.withCredentials),u&&u!=="json"&&(T.responseType=a.responseType),l&&([p,b]=ls(l,!0),T.addEventListener("progress",p)),o&&T.upload&&([f,m]=ls(o),T.upload.addEventListener("progress",f),T.upload.addEventListener("loadend",m)),(a.cancelToken||a.signal)&&(c=A=>{T&&(n(!A||A.type?new ni(null,e,T):A),T.abort(),T=null)},a.cancelToken&&a.cancelToken.subscribe(c),a.signal&&(a.signal.aborted?c():a.signal.addEventListener("abort",c)));const S=G3(a.url);if(S&&mt.protocols.indexOf(S)===-1){n(new Ee("Unsupported protocol "+S+":",Ee.ERR_BAD_REQUEST,e));return}T.send(i||null)})},n6=(e,t)=>{const{length:r}=e=e?e.filter(Boolean):[];if(t||r){let n=new AbortController,a;const i=function(l){if(!a){a=!0,u();const c=l instanceof Error?l:this.reason;n.abort(c instanceof Ee?c:new ni(c instanceof Error?c.message:c))}};let s=t&&setTimeout(()=>{s=null,i(new Ee(`timeout of ${t}ms exceeded`,Ee.ETIMEDOUT))},t);const u=()=>{e&&(s&&clearTimeout(s),s=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:o}=n;return o.unsubscribe=()=>j.asap(u),o}},a6=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},i6=function(e,t){return T0(this,null,function*(){try{for(var r=ec(s6(e)),n,a,i;n=!(a=yield new tn(r.next())).done;n=!1){const s=a.value;yield*v0(a6(s,t))}}catch(a){i=[a]}finally{try{n&&(a=r.return)&&(yield new tn(a.call(r)))}finally{if(i)throw i[0]}}})},s6=function(e){return T0(this,null,function*(){if(e[Symbol.asyncIterator]){yield*v0(e);return}const t=e.getReader();try{for(;;){const{done:r,value:n}=yield new tn(t.read());if(r)break;yield n}}finally{yield new tn(t.cancel())}})},cc=(e,t,r,n)=>{const a=i6(e,t);let i=0,s,u=l=>{s||(s=!0,n&&n(l))};return new ReadableStream({pull(l){return Le(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})},fc=64*1024,{isFunction:Ai}=j,u6=(({Request:e,Response:t})=>({Request:e,Response:t}))(j.global),{ReadableStream:hc,TextEncoder:dc}=j.global,mc=(e,...t)=>{try{return!!e(...t)}catch(r){return!1}},o6=e=>{e=j.merge.call({skipUndefined:!0},u6,e);const{fetch:t,Request:r,Response:n}=e,a=t?Ai(t):typeof fetch=="function",i=Ai(r),s=Ai(n);if(!a)return!1;const u=a&&Ai(hc),o=a&&(typeof dc=="function"?(b=>y=>b.encode(y))(new dc):b=>Le(exports,null,function*(){return new Uint8Array(yield new r(b).arrayBuffer())})),l=i&&u&&mc(()=>{let b=!1;const y=new hc,T=new r(mt.origin,{body:y,method:"POST",get duplex(){return b=!0,"half"}}).headers.has("Content-Type");return y.cancel(),b&&!T}),c=s&&u&&mc(()=>j.isReadableStream(new n("").body)),f={stream:c&&(b=>b.body)};a&&["text","arrayBuffer","blob","formData","stream"].forEach(b=>{!f[b]&&(f[b]=(y,T)=>{let v=y&&y[b];if(v)return v.call(y);throw new Ee(`Response type '${b}' is not supported`,Ee.ERR_NOT_SUPPORT,T)})});const p=b=>Le(exports,null,function*(){if(b==null)return 0;if(j.isBlob(b))return b.size;if(j.isSpecCompliantForm(b))return(yield new r(mt.origin,{method:"POST",body:b}).arrayBuffer()).byteLength;if(j.isArrayBufferView(b)||j.isArrayBuffer(b))return b.byteLength;if(j.isURLSearchParams(b)&&(b=b+""),j.isString(b))return(yield o(b)).byteLength}),m=(b,y)=>Le(exports,null,function*(){const T=j.toFiniteNumber(b.getContentLength());return T==null?p(y):T});return b=>Le(exports,null,function*(){let{url:y,method:T,data:v,signal:S,cancelToken:A,timeout:M,onDownloadProgress:B,onUploadProgress:O,responseType:D,headers:z,withCredentials:U="same-origin",fetchOptions:P}=Qh(b),$=t||fetch;D=D?(D+"").toLowerCase():"text";let G=n6([S,A&&A.toAbortSignal()],M),he=null;const me=G&&G.unsubscribe&&(()=>{G.unsubscribe()});let de;try{if(O&&l&&T!=="get"&&T!=="head"&&(de=yield m(z,v))!==0){let ue=new r(y,{method:"POST",body:v,duplex:"half"}),se;if(j.isFormData(v)&&(se=ue.headers.get("content-type"))&&z.setContentType(se),ue.body){const[_,Ce]=uc(de,ls(oc(O)));v=cc(ue.body,fc,_,Ce)}}j.isString(U)||(U=U?"include":"omit");const Te=i&&"credentials"in r.prototype,Re=tt(J({},P),{signal:G,method:T.toUpperCase(),headers:z.normalize().toJSON(),body:v,duplex:"half",credentials:Te?U:void 0});he=i&&new r(y,Re);let De=yield i?$(he,P):$(y,Re);const Be=c&&(D==="stream"||D==="response");if(c&&(B||Be&&me)){const ue={};["status","statusText","headers"].forEach(ze=>{ue[ze]=De[ze]});const se=j.toFiniteNumber(De.headers.get("content-length")),[_,Ce]=B&&uc(se,ls(oc(B),!0))||[];De=new n(cc(De.body,fc,_,()=>{Ce&&Ce(),me&&me()}),ue)}D=D||"text";let L=yield f[j.findKey(f,D)||"text"](De,b);return!Be&&me&&me(),yield new Promise((ue,se)=>{Xh(ue,se,{data:L,headers:Ot.from(De.headers),status:De.status,statusText:De.statusText,config:b,request:he})})}catch(Te){throw me&&me(),Te&&Te.name==="TypeError"&&/Load failed|fetch/i.test(Te.message)?Object.assign(new Ee("Network Error",Ee.ERR_NETWORK,b,he,Te&&Te.response),{cause:Te.cause||Te}):Ee.from(Te,Te&&Te.code,b,he,Te&&Te.response)}})},l6=new Map,Jh=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=l6;for(;u--;)o=i[u],l=c.get(o),l===void 0&&c.set(o,l=u?new Map:o6(t)),c=l;return l};Jh();const Ho={http:k3,xhr:r6,fetch:{get:Jh}};j.forEach(Ho,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(r){}Object.defineProperty(e,"adapterName",{value:t})}});const pc=e=>`- ${e}`,c6=e=>j.isFunction(e)||e===null||e===!1;function f6(e,t){e=j.isArray(e)?e:[e];const{length:r}=e;let n,a;const i={};for(let s=0;s<r;s++){n=e[s];let u;if(a=n,!c6(n)&&(a=Ho[(u=String(n)).toLowerCase()],a===void 0))throw new Ee(`Unknown adapter '${u}'`);if(a&&(j.isFunction(a)||(a=a.get(t))))break;i[u||"#"+s]=a}if(!a){const s=Object.entries(i).map(([o,l])=>`adapter ${o} `+(l===!1?"is not supported by the environment":"is not available in the build"));let u=r?s.length>1?`since :
|
|
4
|
-
`+s.map(pc).join(`
|
|
5
|
-
`):" "+pc(s[0]):"as no adapter specified";throw new Ee("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return a}const Zh={getAdapter:f6,adapters:Ho};function k0(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ni(null,e)}function gc(e){return k0(e),e.headers=Ot.from(e.headers),e.data=S0.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Zh.getAdapter(e.adapter||ri.adapter,e)(e).then(function(n){return k0(e),n.data=S0.call(e,e.transformResponse,n),n.headers=Ot.from(n.headers),n},function(n){return Gh(n)||(k0(e),n&&n.response&&(n.response.data=S0.call(e,e.transformResponse,n.response),n.response.headers=Ot.from(n.response.headers))),Promise.reject(n)})}const ed="1.14.0",Ds={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Ds[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const bc={};Ds.transitional=function(t,r,n){function a(i,s){return"[Axios v"+ed+"] Transitional option '"+i+"'"+s+(n?". "+n:"")}return(i,s,u)=>{if(t===!1)throw new Ee(a(s," has been removed"+(r?" in "+r:"")),Ee.ERR_DEPRECATED);return r&&!bc[s]&&(bc[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}};Ds.spelling=function(t){return(r,n)=>(console.warn(`${n} is likely a misspelling of ${t}`),!0)};function h6(e,t,r){if(typeof e!="object")throw new Ee("options must be an object",Ee.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let a=n.length;for(;a-- >0;){const i=n[a],s=t[i];if(s){const u=e[i],o=u===void 0||s(u,i,e);if(o!==!0)throw new Ee("option "+i+" must be "+o,Ee.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Ee("Unknown option "+i,Ee.ERR_BAD_OPTION)}}const Gi={assertOptions:h6,validators:Ds},Ut=Gi.validators;let dn=class{constructor(t){this.defaults=t||{},this.interceptors={request:new ic,response:new ic}}request(t,r){return Le(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&&Gi.assertOptions(n,{silentJSONParsing:Ut.transitional(Ut.boolean),forcedJSONParsing:Ut.transitional(Ut.boolean),clarifyTimeoutError:Ut.transitional(Ut.boolean),legacyInterceptorReqResOrdering:Ut.transitional(Ut.boolean)},!1),a!=null&&(j.isFunction(a)?r.paramsSerializer={serialize:a}:Gi.assertOptions(a,{encode:Ut.function,serialize:Ut.function},!0)),r.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?r.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:r.allowAbsoluteUrls=!0),Gi.assertOptions(r,{baseUrl:Ut.spelling("baseURL"),withXsrfToken:Ut.spelling("withXSRFToken")},!0),r.method=(r.method||this.defaults.method||"get").toLowerCase();let s=i&&j.merge(i.common,i[r.method]);i&&j.forEach(["delete","get","head","post","put","patch","common"],b=>{delete i[b]}),r.headers=Ot.concat(s,i);const u=[];let o=!0;this.interceptors.request.forEach(function(y){if(typeof y.runWhen=="function"&&y.runWhen(r)===!1)return;o=o&&y.synchronous;const T=r.transitional||Bo;T&&T.legacyInterceptorReqResOrdering?u.unshift(y.fulfilled,y.rejected):u.push(y.fulfilled,y.rejected)});const l=[];this.interceptors.response.forEach(function(y){l.push(y.fulfilled,y.rejected)});let c,f=0,p;if(!o){const b=[gc.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(T){y.call(this,T);break}}try{c=gc.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=Kh(t.baseURL,t.url,t.allowAbsoluteUrls);return Vh(r,t.params,t.paramsSerializer)}};j.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}))}});j.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 d6=class td{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 ni(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 td(function(a){t=a}),cancel:t}}};function m6(e){return function(r){return e.apply(null,r)}}function p6(e){return j.isObject(e)&&e.isAxiosError===!0}const Su={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(Su).forEach(([e,t])=>{Su[t]=e});function rd(e){const t=new dn(e),r=Mh(dn.prototype.request,t);return j.extend(r,dn.prototype,t,{allOwnKeys:!0}),j.extend(r,t,null,{allOwnKeys:!0}),r.create=function(a){return rd(gn(e,a))},r}const et=rd(ri);et.Axios=dn;et.CanceledError=ni;et.CancelToken=d6;et.isCancel=Gh;et.VERSION=ed;et.toFormData=Rs;et.AxiosError=Ee;et.Cancel=et.CanceledError;et.all=function(t){return Promise.all(t)};et.spread=m6;et.isAxiosError=p6;et.mergeConfig=gn;et.AxiosHeaders=Ot;et.formToJSON=e=>Wh(j.isHTMLForm(e)?new FormData(e):e);et.getAdapter=Zh.getAdapter;et.HttpStatusCode=Su;et.default=et;const{Axios:nO,AxiosError:aO,CanceledError:iO,isCancel:sO,CancelToken:uO,VERSION:oO,all:lO,Cancel:cO,isAxiosError:fO,spread:hO,toFormData:dO,AxiosHeaders:mO,HttpStatusCode:pO,formToJSON:gO,getAdapter:bO,mergeConfig:yO}=et,g6=(e,t)=>new Promise((r,n)=>{et.put(t,e,{headers:{"Content-Type":"application/octet-stream","x-oss-object-acl":"private"}}).then(()=>{r({})}).catch(a=>n(a))});/*! js-cookie v3.0.5 | MIT */function Si(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 b6={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 ku(e,t){function r(a,i,s){if(typeof document!="undefined"){s=Si({},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,"",Si({},i,{expires:-1}))},withAttributes:function(a){return ku(this.converter,Si({},this.attributes,a))},withConverter:function(a){return ku(Si({},this.converter,a),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}var ki=ku(b6,{path:"/"});class nd{constructor(){_n(this,"config",null);_n(this,"setupConfig",null);_n(this,"sessionId","");_n(this,"currentController",null);_n(this,"isInitialized",!1)}setup(t){return Le(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&&ki.remove("appflow_chat_ticket"),yield this.initTicket();const r=yield this.fetchConfig(t.integrateId);return this.config=r,this.isInitialized=!0,r})}initTicket(){return Le(this,null,function*(){var n,a,i;const t=((n=this.setupConfig)==null?void 0:n.domain)||"";if(!ki.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"&&ki.set("appflow_chat_ticket",u.data,{expires:7})}catch(s){console.error("初始化ticket失败:",s)}})}fetchConfig(t){return Le(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):{},T=(m.models||[]).map(v=>{var S,A,M,B,O,D,z,U,P;return{id:v.chatbotModelId||v.ChatbotModelId,name:v.modelName||v.ModelName||v.chatbotModelId,config:{image:((S=v.config)==null?void 0:S.image)||((A=v.Config)==null?void 0:A.image)||((M=v.Config)==null?void 0:M.Image),file:((B=v.config)==null?void 0:B.file)||((O=v.Config)==null?void 0:O.file)||((D=v.Config)==null?void 0:D.File),webSearch:((z=v.config)==null?void 0:z.webSearch)||((U=v.Config)==null?void 0:U.webSearch)||((P=v.Config)==null?void 0:P.WebSearch)}}});return{welcome:((a=y==null?void 0:y.message)==null?void 0:a.welcome)||"欢迎使用AI助手",questions:((i=y==null?void 0:y.config)==null?void 0:i.questions)||[],models:T,features:{image:((s=y==null?void 0:y.message)==null?void 0:s.imageEnabled)||!1,file:((u=y==null?void 0:y.message)==null?void 0:u.fileEnabled)||!1,audio:((o=y==null?void 0:y.message)==null?void 0:o.audioEnabled)||!1,webSearch:T.some(v=>{var S;return(S=v.config)==null?void 0:S.webSearch})},chatbotId: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 Le(this,null,function*(){var s;const t=((s=this.setupConfig)==null?void 0:s.domain)||"",r=ki.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 Le(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:T,ticket:v}=yield this.getRequestToken(),S={chatbotId:(f=this.config)==null?void 0:f.chatbotId,chatbotModelId:i,sessionId:this.sessionId};if(t.audio)S.messageType="audio",S.audio={mediaUrl:t.audio,mediaType:"wav"};else if(t.images&&t.images.length>0||t.files&&t.files.length>0){S.messageType="rich";const A=[];t.text&&A.push({type:"text",content:t.text}),(p=t.images)==null||p.forEach(M=>{A.push({type:"image",mediaUrl:M})}),(m=t.files)==null||m.forEach(M=>{A.push({type:"file",mediaUrl:M})}),S.richText=A}else S.messageType="text",S.text={content:t.text||""};t.webSearch&&(S.config={webSearch:!0}),yield F4(`${n}/webhook/chatbot/chat/${a}`,{method:"POST",headers:{"Content-Type":"application/json","X-Request-Token":T,"X-Account-Session-Ticket":v},body:JSON.stringify(S),signal:this.currentController.signal,timeout:150*1e3,onopen:A=>Le(this,null,function*(){if(!A.ok&&A.status!==200){const M=yield A.text();throw new Error(M)}}),onmessage:A=>{var M;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",D={status:B.status,references:B.references,sessionId:B.sessionId,messageType:B.messageType,messageId:B.messageId};if(B.messageType==="card"){D.sessionWebhook=B.sessionWebhook;try{const z=JSON.parse(B.content);if(D.cardType=z.type,D.cardData=z.data,D.cardDisplayContent=z.content,z.type==="chatbot_input"){const U=z.data;if(D.verifyId=U==null?void 0:U.verifyId,U){for(const P in U)if(U[P]&&typeof U[P]=="object"&&U[P].AssociationProperty==="CustomParams"){D.customParamsKey=P,D.customParams=U[P];break}}}if(z.type==="update_chatbot_input"){const U=z.data;D.approvedMessageId=U==null?void 0:U.messageId,D.approvedStatus=U==null?void 0:U.status}}catch(z){console.error("解析 card content 失败:",z)}}(M=r.onMessage)==null||M.call(r,s,O,D)}catch(B){console.error("解析消息失败:",B)}},onclose:()=>{var A;(A=r.onMessage)==null||A.call(r,s,!0)},onerror:A=>{var M;(M=r.onError)==null||M.call(r,new Error((A==null?void 0:A.message)||"请求失败"))}})}catch(T){(T==null?void 0:T.name)==="AbortError"?(b=r.onMessage)==null||b.call(r,s||"",!0,{status:"Cancelled"}):(y=r.onError)==null||y.call(r,T)}})}upload(t){return Le(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:T}=yield c.read();if(y)break;m+=p.decode(T,{stream:!0});const v=m.split(`
|
|
7
|
-
`);m=v.pop()||"";for(const S of v){const A=S.trim();if(A.startsWith("data:"))try{const M=A.slice(5).trim();if(M){const B=JSON.parse(M);if(B.content){const O=typeof B.content=="string"?JSON.parse(B.content):B.content;O.uploadUrl&&(f=O)}}}catch(M){console.debug("解析SSE行失败:",S,M)}}}if(m.trim().startsWith("data:"))try{const y=m.trim().slice(5).trim();if(y){const T=JSON.parse(y);if(T.content){const v=typeof T.content=="string"?JSON.parse(T.content):T.content;v.uploadUrl&&(f=v)}}}catch(y){console.debug("解析SSE剩余数据失败:",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 g6(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 Le(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="",T,v;if(b==="rich"&&Array.isArray(m.message)){const S=[],A=[],M=[];for(const B of m.message)B.type==="text"&&B.content?S.push(B.content):B.type==="image"&&B.mediaUrl?A.push(B.mediaUrl):B.type==="file"&&B.mediaUrl&&M.push({name:B.mediaName||"文件",url:B.mediaUrl});y=S.join(`
|
|
8
|
-
`),A.length>0&&(T=A),M.length>0&&(v=M)}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:T,files:v})}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 Le(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 Le(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 Le(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 y6=new nd;var _t=function(){return _t=Object.assign||function(t){for(var r,n=1,a=arguments.length;n<a;n++){r=arguments[n];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(t[i]=r[i])}return t},_t.apply(this,arguments)};function cs(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 E6={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},$e="-ms-",_a="-moz-",Me="-webkit-",ad="comm",Ls="rule",Uo="decl",x6="@import",T6="@namespace",id="@keyframes",v6="@layer",sd=Math.abs,jo=String.fromCharCode,Cu=Object.assign;function w6(e,t){return lt(e,0)^45?(((t<<2^lt(e,0))<<2^lt(e,1))<<2^lt(e,2))<<2^lt(e,3):0}function ud(e){return e.trim()}function Er(e,t){return(e=t.exec(e))?e[0]:e}function Se(e,t,r){return e.replace(t,r)}function Xi(e,t,r){return e.indexOf(t,r)}function lt(e,t){return e.charCodeAt(t)|0}function bn(e,t,r){return e.slice(t,r)}function Xt(e){return e.length}function od(e){return e.length}function Aa(e,t){return t.push(e),e}function A6(e,t){return e.map(t).join("")}function yc(e,t){return e.filter(function(r){return!Er(r,t)})}var Ms=1,Hn=1,ld=0,Yt=0,nt=0,ea="";function Ps(e,t,r,n,a,i,s,u){return{value:e,root:t,parent:r,type:n,props:a,children:i,line:Ms,column:Hn,length:s,return:"",siblings:u}}function Pr(e,t){return Cu(Ps("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function Nn(e){for(;e.root;)e=Pr(e.root,{children:[e]});Aa(e,e.siblings)}function S6(){return nt}function k6(){return nt=Yt>0?lt(ea,--Yt):0,Hn--,nt===10&&(Hn=1,Ms--),nt}function Qt(){return nt=Yt<ld?lt(ea,Yt++):0,Hn++,nt===10&&(Hn=1,Ms++),nt}function Hr(){return lt(ea,Yt)}function Ki(){return Yt}function Fs(e,t){return bn(ea,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 C6(e){return Ms=Hn=1,ld=Xt(ea=e),Yt=0,[]}function I6(e){return ea="",e}function C0(e){return ud(Fs(Yt-1,Iu(e===91?e+2:e===40?e+1:e)))}function _6(e){for(;(nt=Hr())&&nt<33;)Qt();return ja(e)>2||ja(nt)>3?"":" "}function N6(e,t){for(;--t&&Qt()&&!(nt<48||nt>102||nt>57&&nt<65||nt>70&&nt<97););return Fs(e,Ki()+(t<6&&Hr()==32&&Qt()==32))}function Iu(e){for(;Qt();)switch(nt){case e:return Yt;case 34:case 39:e!==34&&e!==39&&Iu(nt);break;case 40:e===41&&Iu(e);break;case 92:Qt();break}return Yt}function O6(e,t){for(;Qt()&&e+nt!==57;)if(e+nt===84&&Hr()===47)break;return"/*"+Fs(t,Yt-1)+"*"+jo(e===47?e:Qt())}function R6(e){for(;!ja(Hr());)Qt();return Fs(e,Yt)}function D6(e){return I6(Qi("",null,null,null,[""],e=C6(e),0,[0],e))}function Qi(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,T=1,v=1,S=0,A="",M=a,B=i,O=n,D=A;T;)switch(b=S,S=Qt()){case 40:if(b!=108&<(D,f-1)==58){Xi(D+=Se(C0(S),"&","&\f"),"&\f",sd(l?u[l-1]:0))!=-1&&(v=-1);break}case 34:case 39:case 91:D+=C0(S);break;case 9:case 10:case 13:case 32:D+=_6(b);break;case 92:D+=N6(Ki()-1,7);continue;case 47:switch(Hr()){case 42:case 47:Aa(L6(O6(Qt(),Ki()),t,r,o),o),(ja(b||1)==5||ja(Hr()||1)==5)&&Xt(D)&&bn(D,-1,void 0)!==" "&&(D+=" ");break;default:D+="/"}break;case 123*y:u[l++]=Xt(D)*v;case 125*y:case 59:case 0:switch(S){case 0:case 125:T=0;case 59+c:v==-1&&(D=Se(D,/\f/g,"")),m>0&&(Xt(D)-f||y===0&&b===47)&&Aa(m>32?xc(D+";",n,r,f-1,o):xc(Se(D," ","")+";",n,r,f-2,o),o);break;case 59:D+=";";default:if(Aa(O=Ec(D,t,r,l,c,a,u,A,M=[],B=[],f,i),i),S===123)if(c===0)Qi(D,t,O,O,M,i,f,u,B);else{switch(p){case 99:if(lt(D,3)===110)break;case 108:if(lt(D,2)===97)break;default:c=0;case 100:case 109:case 115:}c?Qi(e,O,O,n&&Aa(Ec(e,O,O,0,0,a,u,A,a,M=[],f,B),B),a,B,f,u,n?M:B):Qi(D,O,O,O,[""],B,0,u,B)}}l=c=m=0,y=v=1,A=D="",f=s;break;case 58:f=1+Xt(D),m=b;default:if(y<1){if(S==123)--y;else if(S==125&&y++==0&&k6()==125)continue}switch(D+=jo(S),S*y){case 38:v=c>0?1:(D+="\f",-1);break;case 44:u[l++]=(Xt(D)-1)*v,v=1;break;case 64:Hr()===45&&(D+=C0(Qt())),p=Hr(),c=f=Xt(A=D+=R6(Ki())),S++;break;case 45:b===45&&Xt(D)==2&&(y=0)}}return i}function Ec(e,t,r,n,a,i,s,u,o,l,c,f){for(var p=a-1,m=a===0?i:[""],b=od(m),y=0,T=0,v=0;y<n;++y)for(var S=0,A=bn(e,p+1,p=sd(T=s[y])),M=e;S<b;++S)(M=ud(T>0?m[S]+" "+A:Se(A,/&\f/g,m[S])))&&(o[v++]=M);return Ps(e,t,r,a===0?Ls:u,o,l,c,f)}function L6(e,t,r,n){return Ps(e,t,r,ad,jo(S6()),bn(e,2,-2),0,n)}function xc(e,t,r,n,a){return Ps(e,t,r,Uo,bn(e,0,n),bn(e,n+1,-1),n,a)}function cd(e,t,r){switch(w6(e,t)){case 5103:return Me+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return Me+e+e;case 4855:return Me+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return _a+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Me+e+_a+e+$e+e+e;case 5936:switch(lt(e,t+11)){case 114:return Me+e+$e+Se(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Me+e+$e+Se(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Me+e+$e+Se(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return Me+e+$e+e+e;case 6165:return Me+e+$e+"flex-"+e+e;case 5187:return Me+e+Se(e,/(\w+).+(:[^]+)/,Me+"box-$1$2"+$e+"flex-$1$2")+e;case 5443:return Me+e+$e+"flex-item-"+Se(e,/flex-|-self/g,"")+(Er(e,/flex-|baseline/)?"":$e+"grid-row-"+Se(e,/flex-|-self/g,""))+e;case 4675:return Me+e+$e+"flex-line-pack"+Se(e,/align-content|flex-|-self/g,"")+e;case 5548:return Me+e+$e+Se(e,"shrink","negative")+e;case 5292:return Me+e+$e+Se(e,"basis","preferred-size")+e;case 6060:return Me+"box-"+Se(e,"-grow","")+Me+e+$e+Se(e,"grow","positive")+e;case 4554:return Me+Se(e,/([^-])(transform)/g,"$1"+Me+"$2")+e;case 6187:return Se(Se(Se(e,/(zoom-|grab)/,Me+"$1"),/(image-set)/,Me+"$1"),e,"")+e;case 5495:case 3959:return Se(e,/(image-set\([^]*)/,Me+"$1$`$1");case 4968:return Se(Se(e,/(.+:)(flex-)?(.*)/,Me+"box-pack:$3"+$e+"flex-pack:$3"),/space-between/,"justify")+Me+e+e;case 4200:if(!Er(e,/flex-|baseline/))return $e+"grid-column-align"+bn(e,t)+e;break;case 2592:case 3360:return $e+Se(e,"template-","")+e;case 4384:case 3616:return r&&r.some(function(n,a){return t=a,Er(n.props,/grid-\w+-end/)})?~Xi(e+(r=r[t].value),"span",0)?e:$e+Se(e,"-start","")+e+$e+"grid-row-span:"+(~Xi(r,"span",0)?Er(r,/\d+/):+Er(r,/\d+/)-+Er(e,/\d+/))+";":$e+Se(e,"-start","")+e;case 4896:case 4128:return r&&r.some(function(n){return Er(n.props,/grid-\w+-start/)})?e:$e+Se(Se(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return Se(e,/(.+)-inline(.+)/,Me+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(Xt(e)-1-t>6)switch(lt(e,t+1)){case 109:if(lt(e,t+4)!==45)break;case 102:return Se(e,/(.+:)(.+)-([^]+)/,"$1"+Me+"$2-$3$1"+_a+(lt(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Xi(e,"stretch",0)?cd(Se(e,"stretch","fill-available"),t,r)+e:e}break;case 5152:case 5920:return Se(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(n,a,i,s,u,o,l){return $e+a+":"+i+l+(s?$e+a+"-span:"+(u?o:+o-+i)+l:"")+e});case 4949:if(lt(e,t+6)===121)return Se(e,":",":"+Me)+e;break;case 6444:switch(lt(e,lt(e,14)===45?18:11)){case 120:return Se(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+Me+(lt(e,14)===45?"inline-":"")+"box$3$1"+Me+"$2$3$1"+$e+"$2box$3")+e;case 100:return Se(e,":",":"+$e)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return Se(e,"scroll-","scroll-snap-")+e}return e}function fs(e,t){for(var r="",n=0;n<e.length;n++)r+=t(e[n],n,e,t)||"";return r}function M6(e,t,r,n){switch(e.type){case v6:if(e.children.length)break;case x6:case T6:case Uo:return e.return=e.return||e.value;case ad:return"";case id:return e.return=e.value+"{"+fs(e.children,n)+"}";case Ls:if(!Xt(e.value=e.props.join(",")))return""}return Xt(r=fs(e.children,n))?e.return=e.value+"{"+r+"}":""}function P6(e){var t=od(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 F6(e){return function(t){t.root||(t=t.return)&&e(t)}}function B6(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Uo:e.return=cd(e.value,e.length,r);return;case id:return fs([Pr(e,{value:Se(e.value,"@","@"+Me)})],n);case Ls:if(e.length)return A6(r=e.props,function(a){switch(Er(a,n=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":Nn(Pr(e,{props:[Se(a,/:(read-\w+)/,":"+_a+"$1")]})),Nn(Pr(e,{props:[a]})),Cu(e,{props:yc(r,n)});break;case"::placeholder":Nn(Pr(e,{props:[Se(a,/:(plac\w+)/,":"+Me+"input-$1")]})),Nn(Pr(e,{props:[Se(a,/:(plac\w+)/,":"+_a+"$1")]})),Nn(Pr(e,{props:[Se(a,/:(plac\w+)/,$e+"input-$1")]})),Nn(Pr(e,{props:[a]})),Cu(e,{props:yc(r,n)});break}return""})}}var Un=typeof process!="undefined"&&process.env!==void 0&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",fd="active",hd="data-styled-version",Bs="6.3.12",qo=`/*!sc*/
|
|
9
|
-
`,Na=typeof window!="undefined"&&typeof document!="undefined",z6=!!(typeof SC_DISABLE_SPEEDY=="boolean"?SC_DISABLE_SPEEDY:typeof process!="undefined"&&process.env!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==void 0&&process.env.REACT_APP_SC_DISABLE_SPEEDY!==""?process.env.REACT_APP_SC_DISABLE_SPEEDY!=="false"&&process.env.REACT_APP_SC_DISABLE_SPEEDY:typeof process!="undefined"&&process.env!==void 0&&process.env.SC_DISABLE_SPEEDY!==void 0&&process.env.SC_DISABLE_SPEEDY!==""&&process.env.SC_DISABLE_SPEEDY!=="false"&&process.env.SC_DISABLE_SPEEDY);function zs(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 Ji=new Map,hs=new Map,Zi=1,Sa=function(e){if(Ji.has(e))return Ji.get(e);for(;hs.has(Zi);)Zi++;var t=Zi++;return Ji.set(e,t),hs.set(t,e),t},H6=function(e,t){Zi=t+1,Ji.set(e,t),hs.set(t,e)},$o=Object.freeze([]),jn=Object.freeze({});function U6(e,t,r){return r===void 0&&(r=jn),e.theme!==r.theme&&e.theme||t||r.theme}var dd=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"]),j6=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,q6=/(^-|-$)/g;function Tc(e){return e.replace(j6,"-").replace(q6,"")}var $6=/(a)(d)/gi,vc=function(e){return String.fromCharCode(e+(e>25?39:97))};function _u(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=vc(t%52)+r;return(vc(t%52)+r).replace($6,"$1-$2")}var I0,un=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},md=function(e){return un(5381,e)};function Y6(e){return _u(md(e)>>>0)}function V6(e){return e.displayName||e.name||"Component"}function _0(e){return typeof e=="string"&&!0}var pd=typeof Symbol=="function"&&Symbol.for,gd=pd?Symbol.for("react.memo"):60115,W6=pd?Symbol.for("react.forward_ref"):60112,G6={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},bd={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},K6=((I0={})[W6]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},I0[gd]=bd,I0);function wc(e){return("type"in(t=e)&&t.type.$$typeof)===gd?bd:"$$typeof"in e?K6[e.$$typeof]:G6;var t}var Q6=Object.defineProperty,J6=Object.getOwnPropertyNames,Ac=Object.getOwnPropertySymbols,Z6=Object.getOwnPropertyDescriptor,e5=Object.getPrototypeOf,Sc=Object.prototype;function yd(e,t,r){if(typeof t!="string"){if(Sc){var n=e5(t);n&&n!==Sc&&yd(e,n,r)}var a=J6(t);Ac&&(a=a.concat(Ac(t)));for(var i=wc(e),s=wc(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=Z6(t,o);try{Q6(e,o,l)}catch(c){}}}}return e}function qn(e){return typeof e=="function"}function Yo(e){return typeof e=="object"&&"styledComponentId"in e}function fn(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function kc(e,t){return e.join("")}function qa(e){return e!==null&&typeof e=="object"&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function Nu(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]=Nu(e[n],t[n]);else if(qa(t))for(var n in t)e[n]=Nu(e[n],t[n]);return e}function Ed(e,t){Object.defineProperty(e,"toString",{value:t})}var t5=function(){function e(t){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=t,this._cGroup=0,this._cIndex=0}return e.prototype.indexOfGroup=function(t){if(t===this._cGroup)return this._cIndex;var r=this._cIndex;if(t>this._cGroup)for(var n=this._cGroup;n<t;n++)r+=this.groupSizes[n];else for(n=this._cGroup-1;n>=t;n--)r-=this.groupSizes[n];return this._cGroup=t,this._cIndex=r,r},e.prototype.insertRules=function(t,r){if(t>=this.groupSizes.length){for(var n=this.groupSizes,a=n.length,i=a;t>=i;)if((i<<=1)<0)throw zs(16,"".concat(t));this.groupSizes=new Uint32Array(i),this.groupSizes.set(n),this.length=i;for(var s=a;s<i;s++)this.groupSizes[s]=0}for(var u=this.indexOfGroup(t+1),o=0,l=(s=0,r.length);s<l;s++)this.tag.insertRule(u,r[s])&&(this.groupSizes[t]++,u++,o++);o>0&&this._cGroup>t&&(this._cIndex+=o)},e.prototype.clearGroup=function(t){if(t<this.length){var r=this.groupSizes[t],n=this.indexOfGroup(t),a=n+r;this.groupSizes[t]=0;for(var i=n;i<a;i++)this.tag.deleteRule(n);r>0&&this._cGroup>t&&(this._cIndex-=r)}},e.prototype.getGroup=function(t){var r="";if(t>=this.length||this.groupSizes[t]===0)return r;for(var n=this.groupSizes[t],a=this.indexOfGroup(t),i=a+n,s=a;s<i;s++)r+=this.tag.getRule(s)+qo;return r},e}(),r5="style[".concat(Un,"][").concat(hd,'="').concat(Bs,'"]'),n5=new RegExp("^".concat(Un,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Cc=function(e){return typeof ShadowRoot!="undefined"&&e instanceof ShadowRoot||"host"in e&&e.nodeType===11},Ou=function(e){if(!e)return document;if(Cc(e))return e;if("getRootNode"in e){var t=e.getRootNode();if(Cc(t))return t}return document},a5=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)},i5=function(e,t){for(var r,n=((r=t.textContent)!==null&&r!==void 0?r:"").split(qo),a=[],i=0,s=n.length;i<s;i++){var u=n[i].trim();if(u){var o=u.match(n5);if(o){var l=0|parseInt(o[1],10),c=o[2];l!==0&&(H6(c,l),a5(e,c,o[3]),e.getTag().insertRules(l,a)),a.length=0}else a.push(u)}}},N0=function(e){for(var t=Ou(e.options.target).querySelectorAll(r5),r=0,n=t.length;r<n;r++){var a=t[r];a&&a.getAttribute(Un)!==fd&&(i5(e,a),a.parentNode&&a.parentNode.removeChild(a))}};function s5(){return typeof __webpack_nonce__!="undefined"?__webpack_nonce__:null}var xd=function(e){var t=document.head,r=e||t,n=document.createElement("style"),a=function(u){var o=Array.from(u.querySelectorAll("style[".concat(Un,"]")));return o[o.length-1]}(r),i=a!==void 0?a.nextSibling:null;n.setAttribute(Un,fd),n.setAttribute(hd,Bs);var s=s5();return s&&n.setAttribute("nonce",s),r.insertBefore(n,i),n},u5=function(){function e(t){this.element=xd(t),this.element.appendChild(document.createTextNode("")),this.sheet=function(r){var n;if(r.sheet)return r.sheet;for(var a=(n=r.getRootNode().styleSheets)!==null&&n!==void 0?n:document.styleSheets,i=0,s=a.length;i<s;i++){var u=a[i];if(u.ownerNode===r)return u}throw zs(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}(),o5=function(){function e(t){this.element=xd(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}(),l5=function(){function e(t){this.rules=[],this.length=0}return e.prototype.insertRule=function(t,r){return t<=this.length&&(t===this.length?this.rules.push(r):this.rules.splice(t,0,r),this.length++,!0)},e.prototype.deleteRule=function(t){this.rules.splice(t,1),this.length--},e.prototype.getRule=function(t){return t<this.length?this.rules[t]:""},e}(),Ic=Na,c5={isServer:!Na,useCSSOMInjection:!z6},Td=function(){function e(t,r,n){t===void 0&&(t=jn),r===void 0&&(r={});var a=this;this.options=_t(_t({},c5),t),this.gs=r,this.names=new Map(n),this.server=!!t.isServer,!this.server&&Na&&Ic&&(Ic=!1,N0(this)),Ed(this,function(){return function(i){for(var s=i.getTag(),u=s.length,o="",l=function(f){var p=function(v){return hs.get(v)}(f);if(p===void 0)return"continue";var m=i.names.get(p);if(m===void 0||!m.size)return"continue";var b=s.getGroup(f);if(b.length===0)return"continue";var y=Un+".g"+f+'[id="'+p+'"]',T="";m.forEach(function(v){v.length>0&&(T+=v+",")}),o+=b+y+'{content:"'+T+'"}'+qo},c=0;c<u;c++)l(c);return o}(a)})}return e.registerId=function(t){return Sa(t)},e.prototype.rehydrate=function(){!this.server&&Na&&N0(this)},e.prototype.reconstructWithOptions=function(t,r){r===void 0&&(r=!0);var n=new e(_t(_t({},this.options),t),this.gs,r&&this.names||void 0);return!this.server&&Na&&t.target!==this.options.target&&Ou(this.options.target)!==Ou(t.target)&&N0(n),n},e.prototype.allocateGSInstance=function(t){return this.gs[t]=(this.gs[t]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(t=function(r){var n=r.useCSSOMInjection,a=r.target;return r.isServer?new l5(a):n?new u5(a):new o5(a)}(this.options),new t5(t)));var t},e.prototype.hasNameForId=function(t,r){var n,a;return(a=(n=this.names.get(t))===null||n===void 0?void 0:n.has(r))!==null&&a!==void 0&&a},e.prototype.registerName=function(t,r){Sa(t);var n=this.names.get(t);n?n.add(r):this.names.set(t,new Set([r]))},e.prototype.insertRules=function(t,r,n){this.registerName(t,r),this.getTag().insertRules(Sa(t),n)},e.prototype.clearNames=function(t){this.names.has(t)&&this.names.get(t).clear()},e.prototype.clearRules=function(t){this.getTag().clearGroup(Sa(t)),this.clearNames(t)},e.prototype.clearTag=function(){this.tag=void 0},e}();function f5(e,t){return t==null||typeof t=="boolean"||t===""?"":typeof t!="number"||t===0||e in E6||e.startsWith("--")?String(t).trim():"".concat(t,"px")}var h5=function(e){return e>="A"&&e<="Z"};function _c(e){for(var t="",r=0;r<e.length;r++){var n=e[r];if(r===1&&n==="-"&&e[0]==="-")return e;h5(n)?t+="-"+n.toLowerCase():t+=n}return t.startsWith("ms-")?"-"+t:t}var d5=Symbol.for("sc-keyframes");function m5(e){return typeof e=="object"&&e!==null&&d5 in e}var vd=function(e){return e==null||e===!1||e===""},wd=function(e){var t=[];for(var r in e){var n=e[r];e.hasOwnProperty(r)&&!vd(n)&&(Array.isArray(n)&&n.isCss||qn(n)?t.push("".concat(_c(r),":"),n,";"):qa(n)?t.push.apply(t,cs(cs(["".concat(r," {")],wd(n),!1),["}"],!1)):t.push("".concat(_c(r),": ").concat(f5(r,n),";")))}return t};function mn(e,t,r,n,a){if(a===void 0&&(a=[]),typeof e=="string")return e&&a.push(e),a;if(vd(e))return a;if(Yo(e))return a.push(".".concat(e.styledComponentId)),a;if(qn(e)){if(!qn(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return a.push(e),a;var i=e(t);return mn(i,t,r,n,a)}var s;if(m5(e))return r?(e.inject(r,n),a.push(e.getName(n))):a.push(e),a;if(qa(e)){for(var u=wd(e),o=0;o<u.length;o++)a.push(u[o]);return a}if(!Array.isArray(e))return a.push(e.toString()),a;for(o=0;o<e.length;o++)mn(e[o],t,r,n,a);return a}function p5(e){for(var t=0;t<e.length;t+=1){var r=e[t];if(qn(r)&&!Yo(r))return!1}return!0}var g5=md(Bs),b5=function(){function e(t,r,n){this.rules=t,this.staticRulesId="",this.isStatic=(n===void 0||n.isStatic)&&p5(t),this.componentId=r,this.baseHash=un(g5,r),this.baseStyle=n,Td.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=kc(mn(this.rules,t,r,n)),s=_u(un(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=un(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=kc(mn(f,t,r,n));o=un(un(o,String(c)),p),l+=p}}if(l){var m=_u(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(Sa(this.componentId)):""}},e}(),y5=/&/g,xr=47,on=42;function Nc(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!==xr||e.charCodeAt(i+1)!==on)if(a)s===on&&e.charCodeAt(i+1)===xr&&(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 Ad(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=Ad(r.children,t)),r})}function E5(e){var t,r,n,a=jn,i=a.options,s=i===void 0?jn:i,u=a.plugins,o=u===void 0?$o:u,l=function(b,y,T){return T.startsWith(r)&&T.endsWith(r)&&T.replaceAll(r,"").length>0?".".concat(t):b},c=o.slice();c.push(function(b){b.type===Ls&&b.value.includes("&")&&(n||(n=new RegExp("\\".concat(r,"\\b"),"g")),b.props[0]=b.props[0].replace(y5,r).replace(n,l))}),s.prefix&&c.push(B6),c.push(M6);var f=[],p=P6(c.concat(F6(function(b){return f.push(b)}))),m=function(b,y,T,v){y===void 0&&(y=""),T===void 0&&(T=""),v===void 0&&(v="&"),t=v,r=y,n=void 0;var S=function(M){if(!Nc(M))return M;for(var B=M.length,O="",D=0,z=0,U=0,P=!1,$=0;$<B;$++){var G=M.charCodeAt($);if(U!==0||P||G!==xr||M.charCodeAt($+1)!==on)if(P)G===on&&M.charCodeAt($+1)===xr&&(P=!1,$++);else if(G!==34&&G!==39||$!==0&&M.charCodeAt($-1)===92){if(U===0)if(G===123)z++;else if(G===125){if(--z<0){for(var he=$+1;he<B;){var me=M.charCodeAt(he);if(me===59||me===10)break;he++}he<B&&M.charCodeAt(he)===59&&he++,z=0,$=he-1,D=he;continue}z===0&&(O+=M.substring(D,$+1),D=$+1)}else G===59&&z===0&&(O+=M.substring(D,$+1),D=$+1)}else U===0?U=G:U===G&&(U=0);else P=!0,$++}if(D<B){var de=M.substring(D);Nc(de)||(O+=de)}return O}(function(M){if(M.indexOf("//")===-1)return M;for(var B=M.length,O=[],D=0,z=0,U=0,P=0;z<B;){var $=M.charCodeAt(z);if($!==34&&$!==39||z!==0&&M.charCodeAt(z-1)===92)if(U===0)if($===xr&&z+1<B&&M.charCodeAt(z+1)===on){for(z+=2;z+1<B&&(M.charCodeAt(z)!==on||M.charCodeAt(z+1)!==xr);)z++;z+=2}else if($===40&&z>=3&&(32|M.charCodeAt(z-1))==108&&(32|M.charCodeAt(z-2))==114&&(32|M.charCodeAt(z-3))==117)P=1,z++;else if(P>0)$===41?P--:$===40&&P++,z++;else if($===on&&z+1<B&&M.charCodeAt(z+1)===xr)z>D&&O.push(M.substring(D,z)),D=z+=2;else if($===xr&&z+1<B&&M.charCodeAt(z+1)===xr){for(z>D&&O.push(M.substring(D,z));z<B&&M.charCodeAt(z)!==10;)z++;D=z}else z++;else z++;else U===0?U=$:U===$&&(U=0),z++}return D===0?M:(D<B&&O.push(M.substring(D)),O.join(""))}(b)),A=D6(T||y?"".concat(T," ").concat(y," { ").concat(S," }"):S);return s.namespace&&(A=Ad(A,s.namespace)),f=[],fs(A,p),f};return m.hash=o.length?o.reduce(function(b,y){return y.name||zs(15),un(b,y.name)},5381).toString():"",m}var x5=new Td,T5=E5(),Sd=K.createContext({shouldForwardProp:void 0,styleSheet:x5,stylis:T5});Sd.Consumer;K.createContext(void 0);function Oc(){return K.useContext(Sd)}var kd=K.createContext(void 0);kd.Consumer;var O0={};function v5(e,t,r){var n=Yo(e),a=e,i=!_0(e),s=t.attrs,u=s===void 0?$o:s,o=t.componentId,l=o===void 0?function(M,B){var O=typeof M!="string"?"sc":Tc(M);O0[O]=(O0[O]||0)+1;var D="".concat(O,"-").concat(Y6(Bs+O+O0[O]));return B?"".concat(B,"-").concat(D):D}(t.displayName,t.parentComponentId):o,c=t.displayName,f=c===void 0?function(M){return _0(M)?"styled.".concat(M):"Styled(".concat(V6(M),")")}(e):c,p=t.displayName&&t.componentId?"".concat(Tc(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 T=t.shouldForwardProp;b=function(M,B){return y(M,B)&&T(M,B)}}else b=y}var v=new b5(r,p,n?a.componentStyle:void 0);function S(M,B){return function(O,D,z){var U=O.attrs,P=O.componentStyle,$=O.defaultProps,G=O.foldedComponentIds,he=O.styledComponentId,me=O.target,de=K.useContext(kd),Te=Oc(),Re=O.shouldForwardProp||Te.shouldForwardProp,De=U6(D,de,$)||jn,Be=function(Oe,Xe,dt){for(var ut,ot=_t(_t({},Xe),{className:void 0,theme:dt}),Wt=0;Wt<Oe.length;Wt+=1){var pr=qn(ut=Oe[Wt])?ut(ot):ut;for(var xt in pr)xt==="className"?ot.className=fn(ot.className,pr[xt]):xt==="style"?ot.style=_t(_t({},ot.style),pr[xt]):xt in Xe&&Xe[xt]===void 0||(ot[xt]=pr[xt])}return"className"in Xe&&typeof Xe.className=="string"&&(ot.className=fn(ot.className,Xe.className)),ot}(U,D,De),L=Be.as||me,ue={};for(var se in Be)Be[se]===void 0||se[0]==="$"||se==="as"||se==="theme"&&Be.theme===De||(se==="forwardedAs"?ue.as=Be.forwardedAs:Re&&!Re(se,L)||(ue[se]=Be[se]));var _=function(Oe,Xe){var dt=Oc(),ut=Oe.generateAndInjectStyles(Xe,dt.styleSheet,dt.stylis);return ut}(P,Be),Ce=_.className,ze=fn(G,he);return Ce&&(ze+=" "+Ce),Be.className&&(ze+=" "+Be.className),ue[_0(L)&&!dd.has(L)?"class":"className"]=ze,z&&(ue.ref=z),K.createElement(L,ue)}(A,M,B)}S.displayName=f;var A=K.forwardRef(S);return A.attrs=m,A.componentStyle=v,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(M){this._foldedDefaultProps=n?function(B){for(var O=[],D=1;D<arguments.length;D++)O[D-1]=arguments[D];for(var z=0,U=O;z<U.length;z++)Nu(B,U[z],!0);return B}({},a.defaultProps,M):M}}),Ed(A,function(){return".".concat(A.styledComponentId)}),i&&yd(A,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),A}function Rc(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 Dc=function(e){return Object.assign(e,{isCss:!0})};function w5(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];if(qn(e)||qa(e))return Dc(mn(Rc($o,cs([e],t,!0))));var n=e;return t.length===0&&n.length===1&&typeof n[0]=="string"?mn(n):Dc(mn(Rc(n,t)))}function Ru(e,t,r){if(r===void 0&&(r=jn),!t)throw zs(1,t);var n=function(a){for(var i=[],s=1;s<arguments.length;s++)i[s-1]=arguments[s];return e(t,r,w5.apply(void 0,cs([a],i,!1)))};return n.attrs=function(a){return Ru(e,t,_t(_t({},r),{attrs:Array.prototype.concat(r.attrs,a).filter(Boolean)}))},n.withConfig=function(a){return Ru(e,t,_t(_t({},r),a))},n}var Cd=function(e){return Ru(v5,e)},ne=Cd;dd.forEach(function(e){ne[e]=Cd(e)});function Lc(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 Id(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const A5=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,S5=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,k5={};function Mc(e,t){return(k5.jsx?S5:A5).test(e)}const C5=/[ \t\n\f\r]/g;function I5(e){return typeof e=="object"?e.type==="text"?Pc(e.value):!1:Pc(e)}function Pc(e){return e.replace(C5,"")===""}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 _d(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 Rt{constructor(t,r){this.attribute=r,this.property=t}}Rt.prototype.attribute="";Rt.prototype.booleanish=!1;Rt.prototype.boolean=!1;Rt.prototype.commaOrSpaceSeparated=!1;Rt.prototype.commaSeparated=!1;Rt.prototype.defined=!1;Rt.prototype.mustUseProperty=!1;Rt.prototype.number=!1;Rt.prototype.overloadedBoolean=!1;Rt.prototype.property="";Rt.prototype.spaceSeparated=!1;Rt.prototype.space=void 0;let _5=0;const ve=vn(),rt=vn(),Du=vn(),te=vn(),qe=vn(),Pn=vn(),Lt=vn();function vn(){return Zl(2,++_5)}const Lu=Object.freeze(Object.defineProperty({__proto__:null,boolean:ve,booleanish:rt,commaOrSpaceSeparated:Lt,commaSeparated:Pn,number:te,overloadedBoolean:Du,spaceSeparated:qe},Symbol.toStringTag,{value:"Module"})),R0=Object.keys(Lu);class Vo extends Rt{constructor(t,r,n,a){let i=-1;if(super(t,r),Fc(this,"space",a),typeof n=="number")for(;++i<R0.length;){const s=R0[i];Fc(this,R0[i],(n&Lu[s])===Lu[s])}}}Vo.prototype.defined=!0;function Fc(e,t,r){r&&(e[t]=r)}function ta(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 Nd=ta({properties:{ariaActiveDescendant:null,ariaAtomic:rt,ariaAutoComplete:null,ariaBusy:rt,ariaChecked:rt,ariaColCount:te,ariaColIndex:te,ariaColSpan:te,ariaControls:qe,ariaCurrent:null,ariaDescribedBy:qe,ariaDetails:null,ariaDisabled:rt,ariaDropEffect:qe,ariaErrorMessage:null,ariaExpanded:rt,ariaFlowTo:qe,ariaGrabbed:rt,ariaHasPopup:null,ariaHidden:rt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:qe,ariaLevel:te,ariaLive:null,ariaModal:rt,ariaMultiLine:rt,ariaMultiSelectable:rt,ariaOrientation:null,ariaOwns:qe,ariaPlaceholder:null,ariaPosInSet:te,ariaPressed:rt,ariaReadOnly:rt,ariaRelevant:null,ariaRequired:rt,ariaRoleDescription:qe,ariaRowCount:te,ariaRowIndex:te,ariaRowSpan:te,ariaSelected:rt,ariaSetSize:te,ariaSort:null,ariaValueMax:te,ariaValueMin:te,ariaValueNow:te,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function Od(e,t){return t in e?e[t]:t}function Rd(e,t){return Od(e,t.toLowerCase())}const N5=ta({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Pn,acceptCharset:qe,accessKey:qe,action:null,allow:null,allowFullScreen:ve,allowPaymentRequest:ve,allowUserMedia:ve,alt:null,as:null,async:ve,autoCapitalize:null,autoComplete:qe,autoFocus:ve,autoPlay:ve,blocking:qe,capture:null,charSet:null,checked:ve,cite:null,className:qe,cols:te,colSpan:null,content:null,contentEditable:rt,controls:ve,controlsList:qe,coords:te|Pn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ve,defer:ve,dir:null,dirName:null,disabled:ve,download:Du,draggable:rt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ve,formTarget:null,headers:qe,height:te,hidden:Du,high:te,href:null,hrefLang:null,htmlFor:qe,httpEquiv:qe,id:null,imageSizes:null,imageSrcSet:null,inert:ve,inputMode:null,integrity:null,is:null,isMap:ve,itemId:null,itemProp:qe,itemRef:qe,itemScope:ve,itemType:qe,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ve,low:te,manifest:null,max:null,maxLength:te,media:null,method:null,min:null,minLength:te,multiple:ve,muted:ve,name:null,nonce:null,noModule:ve,noValidate:ve,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:ve,optimum:te,pattern:null,ping:qe,placeholder:null,playsInline:ve,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ve,referrerPolicy:null,rel:qe,required:ve,reversed:ve,rows:te,rowSpan:te,sandbox:qe,scope:null,scoped:ve,seamless:ve,selected:ve,shadowRootClonable:ve,shadowRootDelegatesFocus:ve,shadowRootMode:null,shape:null,size:te,sizes:null,slot:null,span:te,spellCheck:rt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:te,step:null,style:null,tabIndex:te,target:null,title:null,translate:null,type:null,typeMustMatch:ve,useMap:null,value:rt,width:te,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:qe,axis:null,background:null,bgColor:null,border:te,borderColor:null,bottomMargin:te,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ve,declare:ve,event:null,face:null,frame:null,frameBorder:null,hSpace:te,leftMargin:te,link:null,longDesc:null,lowSrc:null,marginHeight:te,marginWidth:te,noResize:ve,noHref:ve,noShade:ve,noWrap:ve,object:null,profile:null,prompt:null,rev:null,rightMargin:te,rules:null,scheme:null,scrolling:rt,standby:null,summary:null,text:null,topMargin:te,valueType:null,version:null,vAlign:null,vLink:null,vSpace:te,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ve,disableRemotePlayback:ve,prefix:null,property:null,results:te,security:null,unselectable:null},space:"html",transform:Rd}),O5=ta({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:Lt,accentHeight:te,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:te,amplitude:te,arabicForm:null,ascent:te,attributeName:null,attributeType:null,azimuth:te,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:te,by:null,calcMode:null,capHeight:te,className:qe,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:te,diffuseConstant:te,direction:null,display:null,dur:null,divisor:te,dominantBaseline:null,download:ve,dx:null,dy:null,edgeMode:null,editable:null,elevation:te,enableBackground:null,end:null,event:null,exponent:te,externalResourcesRequired:null,fill:null,fillOpacity:te,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:Pn,g2:Pn,glyphName:Pn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:te,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:te,horizOriginX:te,horizOriginY:te,id:null,ideographic:te,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:te,k:te,k1:te,k2:te,k3:te,k4:te,kernelMatrix:Lt,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:te,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:te,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:te,overlineThickness:te,paintOrder:null,panose1:null,path:null,pathLength:te,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:qe,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:te,pointsAtY:te,pointsAtZ:te,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:Lt,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:Lt,rev:Lt,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:Lt,requiredFeatures:Lt,requiredFonts:Lt,requiredFormats:Lt,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:te,specularExponent:te,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:te,strikethroughThickness:te,string:null,stroke:null,strokeDashArray:Lt,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:te,strokeOpacity:te,strokeWidth:null,style:null,surfaceScale:te,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:Lt,tabIndex:te,tableValues:null,target:null,targetX:te,targetY:te,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:Lt,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:te,underlineThickness:te,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:te,values:null,vAlphabetic:te,vMathematical:te,vectorEffect:null,vHanging:te,vIdeographic:te,version:null,vertAdvY:te,vertOriginX:te,vertOriginY:te,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:te,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:Od}),Dd=ta({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()}}),Ld=ta({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:Rd}),Md=ta({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"},D5=/[A-Z]/g,Bc=/-[a-z]/g,L5=/^data[-\w.:]+$/i;function Hs(e,t){const r=$a(t);let n=t,a=Rt;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&L5.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(Bc,P5);n="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!Bc.test(i)){let s=i.replace(D5,M5);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}a=Vo}return new a(n,t)}function M5(e){return"-"+e.toLowerCase()}function P5(e){return e.charAt(1).toUpperCase()}const ii=_d([Nd,N5,Dd,Ld,Md],"html"),Kr=_d([Nd,O5,Dd,Ld,Md],"svg");function zc(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function Pd(e){return e.join(" ").trim()}var ds=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function Wo(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Go={},Hc=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,F5=/\n/g,B5=/^\s*/,z5=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,H5=/^:\s*/,U5=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,j5=/^[;\s]*/,q5=/^\s+|\s+$/g,$5=`
|
|
10
|
-
`,Uc="/",jc="*",ln="",Y5="comment",V5="declaration";function W5(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(F5);y&&(r+=y.length);var T=b.lastIndexOf($5);n=~T?b.length-T:n+b.length}function i(){var b={line:r,column:n};return function(y){return y.position=new s(b),l(),y}}function s(b){this.start=b,this.end={line:r,column:n},this.source=t.source}s.prototype.content=e;function u(b){var y=new Error(t.source+":"+r+":"+n+": "+b);if(y.reason=b,y.filename=t.source,y.line=r,y.column=n,y.source=e,!t.silent)throw y}function o(b){var y=b.exec(e);if(y){var T=y[0];return a(T),e=e.slice(T.length),y}}function l(){o(B5)}function c(b){var y;for(b=b||[];y=f();)y!==!1&&b.push(y);return b}function f(){var b=i();if(!(Uc!=e.charAt(0)||jc!=e.charAt(1))){for(var y=2;ln!=e.charAt(y)&&(jc!=e.charAt(y)||Uc!=e.charAt(y+1));)++y;if(y+=2,ln===e.charAt(y-1))return u("End of comment missing");var T=e.slice(2,y-2);return n+=2,a(T),e=e.slice(y),n+=2,b({type:Y5,comment:T})}}function p(){var b=i(),y=o(z5);if(y){if(f(),!o(H5))return u("property missing ':'");var T=o(U5),v=b({type:V5,property:qc(y[0].replace(Hc,ln)),value:T?qc(T[0].replace(Hc,ln)):ln});return o(j5),v}}function m(){var b=[];c(b);for(var y;y=p();)y!==!1&&(b.push(y),c(b));return b}return l(),m()}function qc(e){return e?e.replace(q5,ln):ln}var G5=W5,X5=ds&&ds.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(Go,"__esModule",{value:!0});Go.default=Q5;const K5=X5(G5);function Q5(e,t){let r=null;if(!e||typeof e!="string")return r;const n=(0,K5.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 Us={};Object.defineProperty(Us,"__esModule",{value:!0});Us.camelCase=void 0;var J5=/^--[a-zA-Z0-9_-]+$/,Z5=/-([a-z])/g,eg=/^[^-]+$/,tg=/^-(webkit|moz|ms|o|khtml)-/,rg=/^-(ms)-/,ng=function(e){return!e||eg.test(e)||J5.test(e)},ag=function(e,t){return t.toUpperCase()},$c=function(e,t){return"".concat(t,"-")},ig=function(e,t){return t===void 0&&(t={}),ng(e)?e:(e=e.toLowerCase(),t.reactCompat?e=e.replace(rg,$c):e=e.replace(tg,$c),e.replace(Z5,ag))};Us.camelCase=ig;var sg=ds&&ds.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},ug=sg(Go),og=Us;function Mu(e,t){var r={};return!e||typeof e!="string"||(0,ug.default)(e,function(n,a){n&&a&&(r[(0,og.camelCase)(n,t)]=a)}),r}Mu.default=Mu;var lg=Mu;const cg=Wo(lg),js=Fd("end"),cr=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 fg(e){const t=cr(e),r=js(e);if(t&&r)return{start:t,end:r}}function Oa(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Yc(e.position):"start"in e||"end"in e?Yc(e):"line"in e||"column"in e?Pu(e):""}function Pu(e){return Vc(e&&e.line)+":"+Vc(e&&e.column)}function Yc(e){return Pu(e&&e.start)+"-"+Pu(e&&e.end)}function Vc(e){return e&&typeof e=="number"?e:1}class yt extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",i={},s=!1;if(r&&("line"in r&&"column"in r?i={place:r}:"start"in r&&"end"in r?i={place:r}:"type"in r?i={ancestors:[r],place:r.position}:i=J({},r)),typeof t=="string"?a=t:!i.cause&&t&&(s=!0,a=t.message,i.cause=t),!i.ruleId&&!i.source&&typeof n=="string"){const o=n.indexOf(":");o===-1?i.ruleId=n:(i.source=n.slice(0,o),i.ruleId=n.slice(o+1))}if(!i.place&&i.ancestors&&i.ancestors){const o=i.ancestors[i.ancestors.length-1];o&&(i.place=o.position)}const u=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=u?u.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=u?u.line:void 0,this.name=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}}yt.prototype.file="";yt.prototype.name="";yt.prototype.reason="";yt.prototype.message="";yt.prototype.stack="";yt.prototype.column=void 0;yt.prototype.line=void 0;yt.prototype.ancestors=void 0;yt.prototype.cause=void 0;yt.prototype.fatal=void 0;yt.prototype.place=void 0;yt.prototype.ruleId=void 0;yt.prototype.source=void 0;const Xo={}.hasOwnProperty,hg=new Map,dg=/[A-Z]/g,mg=new Set(["table","tbody","thead","tfoot","tr"]),pg=new Set(["td","th"]),Bd="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function gg(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=Ag(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=wg(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=zd(a,e,void 0);return i&&typeof i!="string"?i:a.create(e,a.Fragment,{children:i||void 0},void 0)}function zd(e,t,r){if(t.type==="element")return bg(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return yg(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return xg(e,t,r);if(t.type==="mdxjsEsm")return Eg(e,t);if(t.type==="root")return Tg(e,t,r);if(t.type==="text")return vg(e,t)}function bg(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=Ud(e,t.tagName,!1),s=Sg(e,t);let u=Qo(e,t);return mg.has(t.tagName)&&(u=u.filter(function(o){return typeof o=="string"?!I5(o):!0})),Hd(e,s,i,t),Ko(s,u),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function yg(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 Eg(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);Ya(e,t.position)}function xg(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:Ud(e,t.name,!0),s=kg(e,t),u=Qo(e,t);return Hd(e,s,i,t),Ko(s,u),e.ancestors.pop(),e.schema=n,e.create(t,i,s,r)}function Tg(e,t,r){const n={};return Ko(n,Qo(e,t)),e.create(t,e.Fragment,n,r)}function vg(e,t){return t.value}function Hd(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 wg(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 Ag(e,t){return r;function r(n,a,i,s){const u=Array.isArray(i.children),o=cr(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 Sg(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&Xo.call(t.properties,a)){const i=Cg(e,a,t.properties[a]);if(i){const[s,u]=i;e.tableCellAlignToStyle&&s==="align"&&typeof u=="string"&&pg.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 kg(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 Qo(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:hg;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=zd(e,i,s);u!==void 0&&r.push(u)}return r}function Cg(e,t,r){const n=Hs(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?Id(r):Pd(r)),n.property==="style"){let a=typeof r=="object"?r:Ig(e,String(r));return e.stylePropertyNameCase==="css"&&(a=_g(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?R5[n.property]||n.property:n.attribute,r]}}function Ig(e,t){try{return cg(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new yt("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Bd+"#cannot-parse-style-attribute",a}}function Ud(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 Xo.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 yt("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=Bd+"#cannot-handle-mdx-estrees-without-createevaluater",r}function _g(e){const t={};let r;for(r in e)Xo.call(e,r)&&(t[Ng(r)]=e[r]);return t}function Ng(e){let t=e.replace(dg,Og);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function Og(e){return"-"+e.toLowerCase()}const D0={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 Jo(e,t){const r=Rg,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return jd(e,n,a)}function jd(e,t,r){if(Dg(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 Wc(e.children,t,r)}return Array.isArray(e)?Wc(e,t,r):""}function Wc(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=jd(e[a],t,r);return n.join("")}function Dg(e){return!!(e&&typeof e=="object")}const Gc=document.createElement("i");function Zo(e){const t="&"+e+";";Gc.innerHTML=t;const r=Gc.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function Mt(e,t,r,n){const a=e.length;let i=0,s;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)s=Array.from(n),s.unshift(t,r),e.splice(...s);else for(r&&e.splice(t,r);i<n.length;)s=n.slice(i,i+1e4),s.unshift(t,0),e.splice(...s),i+=1e4,t+=1e4}function jt(e,t){return e.length>0?(Mt(e,e.length,0,t),e):t}const Xc={}.hasOwnProperty;function qd(e){const t={};let r=-1;for(;++r<e.length;)Lg(t,e[r]);return t}function Lg(e,t){let r;for(r in t){const a=(Xc.call(e,r)?e[r]:void 0)||(e[r]={}),i=t[r];let s;if(i)for(s in i){Xc.call(a,s)||(a[s]=[]);const u=i[s];Mg(a[s],Array.isArray(u)?u:u?[u]:[])}}}function Mg(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 $d(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 wt=Qr(/[A-Za-z]/),pt=Qr(/[\dA-Za-z]/),Pg=Qr(/[#-'*+\--9=?A-Z^-~]/);function ms(e){return e!==null&&(e<32||e===127)}const Fu=Qr(/\d/),Fg=Qr(/[\dA-Fa-f]/),Bg=Qr(/[!-/:-@[-`{-~]/);function ce(e){return e!==null&&e<-2}function Ue(e){return e!==null&&(e<0||e===32)}function Ne(e){return e===-2||e===-1||e===32}const qs=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 ra(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const i=e.charCodeAt(r);let s="";if(i===37&&pt(e.charCodeAt(r+1))&&pt(e.charCodeAt(r+2)))a=2;else if(i<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(i))||(s=String.fromCharCode(i));else if(i>55295&&i<57344){const u=e.charCodeAt(r+1);i<56320&&u>56319&&u<57344?(s=String.fromCharCode(i,u),a=1):s="�"}else s=String.fromCharCode(i);s&&(t.push(e.slice(n,r),encodeURIComponent(s)),n=r+a+1,s=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function _e(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let i=0;return s;function s(o){return Ne(o)?(e.enter(r),u(o)):t(o)}function u(o){return Ne(o)&&i++<a?(e.consume(o),u):(e.exit(r),t(o))}}const zg={tokenize:Hg};function Hg(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(u){if(u===null){e.consume(u);return}return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),_e(e,t,"linePrefix")}function a(u){return e.enter("paragraph"),i(u)}function i(u){const o=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=o),r=o,s(u)}function s(u){if(u===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(u);return}return ce(u)?(e.consume(u),e.exit("chunkText"),i):(e.consume(u),s)}}const Ug={tokenize:jg},Kc={tokenize:qg};function jg(e){const t=this,r=[];let n=0,a,i,s;return u;function u(A){if(n<r.length){const M=r[n];return t.containerState=M[1],e.attempt(M[0].continuation,o,l)(A)}return l(A)}function o(A){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&S();const M=t.events.length;let B=M,O;for(;B--;)if(t.events[B][0]==="exit"&&t.events[B][1].type==="chunkFlow"){O=t.events[B][1].end;break}v(n);let D=M;for(;D<t.events.length;)t.events[D][1].end=J({},O),D++;return Mt(t.events,B+1,0,t.events.slice(M)),t.events.length=D,l(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(Kc,c,f)(A)}function c(A){return a&&S(),v(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(Kc,m,b)(A)}function m(A){return n++,r.push([t.currentConstruct,t.containerState]),p(A)}function b(A){if(A===null){a&&S(),v(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){T(e.exit("chunkFlow"),!0),v(0),e.consume(A);return}return ce(A)?(e.consume(A),T(e.exit("chunkFlow")),n=0,t.interrupt=void 0,u):(e.consume(A),y)}function T(A,M){const B=t.sliceStream(A);if(M&&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 D=t.events.length;let z=D,U,P;for(;z--;)if(t.events[z][0]==="exit"&&t.events[z][1].type==="chunkFlow"){if(U){P=t.events[z][1].end;break}U=!0}for(v(n),O=D;O<t.events.length;)t.events[O][1].end=J({},P),O++;Mt(t.events,z+1,0,t.events.slice(D)),t.events.length=O}}function v(A){let M=r.length;for(;M-- >A;){const B=r[M];t.containerState=B[1],B[0].exit.call(t,e)}r.length=A}function S(){a.write([null]),i=void 0,a=void 0,t.containerState._closeFlow=void 0}}function qg(e,t,r){return _e(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $n(e){if(e===null||Ue(e)||yn(e))return 1;if(qs(e))return 2}function $s(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 Bu={name:"attention",resolveAll:$g,tokenize:Yg};function $g(e,t){let r=-1,n,a,i,s,u,o,l,c;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;o=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const f=J({},e[n][1].end),p=J({},e[r][1].start);Qc(f,-o),Qc(p,o),s={type:o>1?"strongSequence":"emphasisSequence",start:f,end:J({},e[n][1].end)},u={type:o>1?"strongSequence":"emphasisSequence",start:J({},e[r][1].start),end:p},i={type:o>1?"strongText":"emphasisText",start:J({},e[n][1].end),end:J({},e[r][1].start)},a={type:o>1?"strong":"emphasis",start:J({},s.start),end:J({},u.end)},e[n][1].end=J({},s.start),e[r][1].start=J({},u.end),l=[],e[n][1].end.offset-e[n][1].start.offset&&(l=jt(l,[["enter",e[n][1],t],["exit",e[n][1],t]])),l=jt(l,[["enter",a,t],["enter",s,t],["exit",s,t],["enter",i,t]]),l=jt(l,$s(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),l=jt(l,[["exit",i,t],["enter",u,t],["exit",u,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(c=2,l=jt(l,[["enter",e[r][1],t],["exit",e[r][1],t]])):c=0,Mt(e,n-1,r-n+3,l),r=n+l.length-c-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Yg(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=$n(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=$n(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 Qc(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Vg={name:"autolink",tokenize:Wg};function Wg(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 wt(m)?(e.consume(m),s):m===64?r(m):l(m)}function s(m){return m===43||m===45||m===46||pt(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||pt(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||ms(m)?r(m):(e.consume(m),o)}function l(m){return m===64?(e.consume(m),c):Pg(m)?(e.consume(m),l):r(m)}function c(m){return pt(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||pt(m))&&n++<63){const b=m===45?p:f;return e.consume(m),b}return r(m)}}const si={partial:!0,tokenize:Gg};function Gg(e,t,r){return n;function n(i){return Ne(i)?_e(e,a,"linePrefix")(i):a(i)}function a(i){return i===null||ce(i)?t(i):r(i)}}const Yd={continuation:{tokenize:Kg},exit:Qg,name:"blockQuote",tokenize:Xg};function Xg(e,t,r){const n=this;return a;function a(s){if(s===62){const u=n.containerState;return u.open||(e.enter("blockQuote",{_container:!0}),u.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(s),e.exit("blockQuoteMarker"),i}return r(s)}function i(s){return Ne(s)?(e.enter("blockQuotePrefixWhitespace"),e.consume(s),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(s))}}function Kg(e,t,r){const n=this;return a;function a(s){return Ne(s)?_e(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(s):i(s)}function i(s){return e.attempt(Yd,t,r)(s)}}function Qg(e){e.exit("blockQuote")}const Vd={name:"characterEscape",tokenize:Jg};function Jg(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 Bg(i)?(e.enter("characterEscapeValue"),e.consume(i),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(i)}}const Wd={name:"characterReference",tokenize:Zg};function Zg(e,t,r){const n=this;let a=0,i,s;return u;function u(f){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(f),e.exit("characterReferenceMarker"),o}function o(f){return f===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(f),e.exit("characterReferenceMarkerNumeric"),l):(e.enter("characterReferenceValue"),i=31,s=pt,c(f))}function l(f){return f===88||f===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(f),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),i=6,s=Fg,c):(e.enter("characterReferenceValue"),i=7,s=Fu,c(f))}function c(f){if(f===59&&a){const p=e.exit("characterReferenceValue");return s===pt&&!Zo(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 Jc={partial:!0,tokenize:t8},Zc={concrete:!0,name:"codeFenced",tokenize:e8};function e8(e,t,r){const n=this,a={partial:!0,tokenize:B};let i=0,s=0,u;return o;function o(O){return l(O)}function l(O){const D=n.events[n.events.length-1];return i=D&&D[1].type==="linePrefix"?D[2].sliceSerialize(D[1],!0).length:0,u=O,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),c(O)}function c(O){return O===u?(s++,e.consume(O),c):s<3?r(O):(e.exit("codeFencedFenceSequence"),Ne(O)?_e(e,f,"whitespace")(O):f(O))}function f(O){return O===null||ce(O)?(e.exit("codeFencedFence"),n.interrupt?t(O):e.check(Jc,y,M)(O)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(O))}function p(O){return O===null||ce(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),f(O)):Ne(O)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),_e(e,m,"whitespace")(O)):O===96&&O===u?r(O):(e.consume(O),p)}function m(O){return O===null||ce(O)?f(O):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),b(O))}function b(O){return O===null||ce(O)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),f(O)):O===96&&O===u?r(O):(e.consume(O),b)}function y(O){return e.attempt(a,M,T)(O)}function T(O){return e.enter("lineEnding"),e.consume(O),e.exit("lineEnding"),v}function v(O){return i>0&&Ne(O)?_e(e,S,"linePrefix",i+1)(O):S(O)}function S(O){return O===null||ce(O)?e.check(Jc,y,M)(O):(e.enter("codeFlowValue"),A(O))}function A(O){return O===null||ce(O)?(e.exit("codeFlowValue"),S(O)):(e.consume(O),A)}function M(O){return e.exit("codeFenced"),t(O)}function B(O,D,z){let U=0;return P;function P(de){return O.enter("lineEnding"),O.consume(de),O.exit("lineEnding"),$}function $(de){return O.enter("codeFencedFence"),Ne(de)?_e(O,G,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(de):G(de)}function G(de){return de===u?(O.enter("codeFencedFenceSequence"),he(de)):z(de)}function he(de){return de===u?(U++,O.consume(de),he):U>=s?(O.exit("codeFencedFenceSequence"),Ne(de)?_e(O,me,"whitespace")(de):me(de)):z(de)}function me(de){return de===null||ce(de)?(O.exit("codeFencedFence"),D(de)):z(de)}}}function t8(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 L0={name:"codeIndented",tokenize:n8},r8={partial:!0,tokenize:a8};function n8(e,t,r){const n=this;return a;function a(l){return e.enter("codeIndented"),_e(e,i,"linePrefix",5)(l)}function i(l){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?s(l):r(l)}function s(l){return l===null?o(l):ce(l)?e.attempt(r8,s,o)(l):(e.enter("codeFlowValue"),u(l))}function u(l){return l===null||ce(l)?(e.exit("codeFlowValue"),s(l)):(e.consume(l),u)}function o(l){return e.exit("codeIndented"),t(l)}}function a8(e,t,r){const n=this;return a;function a(s){return n.parser.lazy[n.now().line]?r(s):ce(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),a):_e(e,i,"linePrefix",5)(s)}function i(s){const u=n.events[n.events.length-1];return u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):ce(s)?a(s):r(s)}}const i8={name:"codeText",previous:u8,resolve:s8,tokenize:o8};function s8(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 u8(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function o8(e,t,r){let n=0,a,i;return s;function s(f){return e.enter("codeText"),e.enter("codeTextSequence"),u(f)}function u(f){return f===96?(e.consume(f),n++,u):(e.exit("codeTextSequence"),o(f))}function o(f){return f===null?r(f):f===32?(e.enter("space"),e.consume(f),e.exit("space"),o):f===96?(i=e.enter("codeTextSequence"),a=0,c(f)):ce(f)?(e.enter("lineEnding"),e.consume(f),e.exit("lineEnding"),o):(e.enter("codeTextData"),l(f))}function l(f){return f===null||f===32||f===96||ce(f)?(e.exit("codeTextData"),o(f)):(e.consume(f),l)}function c(f){return f===96?(e.consume(f),a++,c):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(f)):(i.type="codeTextData",l(f))}}class l8{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 Gd(e){const t={};let r=-1,n,a,i,s,u,o,l;const c=new l8(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,c8(c,r)),r=t[r],l=!0);else if(n[1]._container){for(i=r,a=void 0;i--;)if(s=c.get(i),s[1].type==="lineEnding"||s[1].type==="lineEndingBlank")s[0]==="enter"&&(a&&(c.get(a)[1].type="lineEndingBlank"),s[1].type="lineEnding",a=i);else if(!(s[1].type==="linePrefix"||s[1].type==="listItemIndent"))break;a&&(n[1].end=J({},c.get(a)[1].start),u=c.slice(a,r),u.unshift(n),c.splice(a,r-a+1,u))}}return Mt(e,0,Number.POSITIVE_INFINITY,c.slice(0)),!l}function c8(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 T=[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,T.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):T.pop(),p=T.length;p--;){const v=u.slice(T[p],T[p+1]),S=i.pop();o.push([S,S+v.length-1]),e.splice(S,2,v)}for(o.reverse(),p=-1;++p<o.length;)l[b+o[p][0]]=b+o[p][1],b+=o[p][1]-o[p][0]-1;return l}const f8={resolve:d8,tokenize:m8},h8={partial:!0,tokenize:p8};function d8(e){return Gd(e),e}function m8(e,t){let r;return n;function n(u){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(u)}function a(u){return u===null?i(u):ce(u)?e.check(h8,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 p8(e,t,r){const n=this;return a;function a(s){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),_e(e,i,"linePrefix")}function i(s){if(s===null||ce(s))return r(s);const u=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&u&&u[1].type==="linePrefix"&&u[2].sliceSerialize(u[1],!0).length>=4?t(s):e.interrupt(n.parser.constructs.flow,r,t)(s)}}function Xd(e,t,r,n,a,i,s,u,o){const l=o||Number.POSITIVE_INFINITY;let c=0;return f;function f(v){return v===60?(e.enter(n),e.enter(a),e.enter(i),e.consume(v),e.exit(i),p):v===null||v===32||v===41||ms(v)?r(v):(e.enter(n),e.enter(s),e.enter(u),e.enter("chunkString",{contentType:"string"}),y(v))}function p(v){return v===62?(e.enter(i),e.consume(v),e.exit(i),e.exit(a),e.exit(n),t):(e.enter(u),e.enter("chunkString",{contentType:"string"}),m(v))}function m(v){return v===62?(e.exit("chunkString"),e.exit(u),p(v)):v===null||v===60||ce(v)?r(v):(e.consume(v),v===92?b:m)}function b(v){return v===60||v===62||v===92?(e.consume(v),m):m(v)}function y(v){return!c&&(v===null||v===41||Ue(v))?(e.exit("chunkString"),e.exit(u),e.exit(s),e.exit(n),t(v)):c<l&&v===40?(e.consume(v),c++,y):v===41?(e.consume(v),c--,y):v===null||v===32||v===40||ms(v)?r(v):(e.consume(v),v===92?T:y)}function T(v){return v===40||v===41||v===92?(e.consume(v),y):y(v)}}function Kd(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):ce(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||ce(m)||u++>999?(e.exit("chunkString"),c(m)):(e.consume(m),o||(o=!Ne(m)),m===92?p:f)}function p(m){return m===91||m===92||m===93?(e.consume(m),u++,f):f(m)}}function Qd(e,t,r,n,a,i){let s;return u;function u(p){return p===34||p===39||p===40?(e.enter(n),e.enter(a),e.consume(p),e.exit(a),s=p===40?41:p,o):r(p)}function o(p){return p===s?(e.enter(a),e.consume(p),e.exit(a),e.exit(n),t):(e.enter(i),l(p))}function l(p){return p===s?(e.exit(i),o(s)):p===null?r(p):ce(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),_e(e,l,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(p))}function c(p){return p===s||p===null||ce(p)?(e.exit("chunkString"),l(p)):(e.consume(p),p===92?f:c)}function f(p){return p===s||p===92?(e.consume(p),c):c(p)}}function Ra(e,t){let r;return n;function n(a){return ce(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):Ne(a)?_e(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const g8={name:"definition",tokenize:y8},b8={partial:!0,tokenize:E8};function y8(e,t,r){const n=this;let a;return i;function i(m){return e.enter("definition"),s(m)}function s(m){return Kd.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 Ue(m)?Ra(e,l)(m):l(m)}function l(m){return Xd(e,c,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(m)}function c(m){return e.attempt(b8,f,f)(m)}function f(m){return Ne(m)?_e(e,p,"whitespace")(m):p(m)}function p(m){return m===null||ce(m)?(e.exit("definition"),n.parser.defined.push(a),t(m)):r(m)}}function E8(e,t,r){return n;function n(u){return Ue(u)?Ra(e,a)(u):r(u)}function a(u){return Qd(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(u)}function i(u){return Ne(u)?_e(e,s,"whitespace")(u):s(u)}function s(u){return u===null||ce(u)?t(u):r(u)}}const x8={name:"hardBreakEscape",tokenize:T8};function T8(e,t,r){return n;function n(i){return e.enter("hardBreakEscape"),e.consume(i),a}function a(i){return ce(i)?(e.exit("hardBreakEscape"),t(i)):r(i)}}const v8={name:"headingAtx",resolve:w8,tokenize:A8};function w8(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 A8(e,t,r){let n=0;return a;function a(c){return e.enter("atxHeading"),i(c)}function i(c){return e.enter("atxHeadingSequence"),s(c)}function s(c){return c===35&&n++<6?(e.consume(c),s):c===null||Ue(c)?(e.exit("atxHeadingSequence"),u(c)):r(c)}function u(c){return c===35?(e.enter("atxHeadingSequence"),o(c)):c===null||ce(c)?(e.exit("atxHeading"),t(c)):Ne(c)?_e(e,u,"whitespace")(c):(e.enter("atxHeadingText"),l(c))}function o(c){return c===35?(e.consume(c),o):(e.exit("atxHeadingSequence"),u(c))}function l(c){return c===null||c===35||Ue(c)?(e.exit("atxHeadingText"),u(c)):(e.consume(c),l)}}const S8=["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"],e1=["pre","script","style","textarea"],k8={concrete:!0,name:"htmlFlow",resolveTo:_8,tokenize:N8},C8={partial:!0,tokenize:R8},I8={partial:!0,tokenize:O8};function _8(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 N8(e,t,r){const n=this;let a,i,s,u,o;return l;function l(_){return c(_)}function c(_){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(_),f}function f(_){return _===33?(e.consume(_),p):_===47?(e.consume(_),i=!0,y):_===63?(e.consume(_),a=3,n.interrupt?t:L):wt(_)?(e.consume(_),s=String.fromCharCode(_),T):r(_)}function p(_){return _===45?(e.consume(_),a=2,m):_===91?(e.consume(_),a=5,u=0,b):wt(_)?(e.consume(_),a=4,n.interrupt?t:L):r(_)}function m(_){return _===45?(e.consume(_),n.interrupt?t:L):r(_)}function b(_){const Ce="CDATA[";return _===Ce.charCodeAt(u++)?(e.consume(_),u===Ce.length?n.interrupt?t:G:b):r(_)}function y(_){return wt(_)?(e.consume(_),s=String.fromCharCode(_),T):r(_)}function T(_){if(_===null||_===47||_===62||Ue(_)){const Ce=_===47,ze=s.toLowerCase();return!Ce&&!i&&e1.includes(ze)?(a=1,n.interrupt?t(_):G(_)):S8.includes(s.toLowerCase())?(a=6,Ce?(e.consume(_),v):n.interrupt?t(_):G(_)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(_):i?S(_):A(_))}return _===45||pt(_)?(e.consume(_),s+=String.fromCharCode(_),T):r(_)}function v(_){return _===62?(e.consume(_),n.interrupt?t:G):r(_)}function S(_){return Ne(_)?(e.consume(_),S):P(_)}function A(_){return _===47?(e.consume(_),P):_===58||_===95||wt(_)?(e.consume(_),M):Ne(_)?(e.consume(_),A):P(_)}function M(_){return _===45||_===46||_===58||_===95||pt(_)?(e.consume(_),M):B(_)}function B(_){return _===61?(e.consume(_),O):Ne(_)?(e.consume(_),B):A(_)}function O(_){return _===null||_===60||_===61||_===62||_===96?r(_):_===34||_===39?(e.consume(_),o=_,D):Ne(_)?(e.consume(_),O):z(_)}function D(_){return _===o?(e.consume(_),o=null,U):_===null||ce(_)?r(_):(e.consume(_),D)}function z(_){return _===null||_===34||_===39||_===47||_===60||_===61||_===62||_===96||Ue(_)?B(_):(e.consume(_),z)}function U(_){return _===47||_===62||Ne(_)?A(_):r(_)}function P(_){return _===62?(e.consume(_),$):r(_)}function $(_){return _===null||ce(_)?G(_):Ne(_)?(e.consume(_),$):r(_)}function G(_){return _===45&&a===2?(e.consume(_),Te):_===60&&a===1?(e.consume(_),Re):_===62&&a===4?(e.consume(_),ue):_===63&&a===3?(e.consume(_),L):_===93&&a===5?(e.consume(_),Be):ce(_)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(C8,se,he)(_)):_===null||ce(_)?(e.exit("htmlFlowData"),he(_)):(e.consume(_),G)}function he(_){return e.check(I8,me,se)(_)}function me(_){return e.enter("lineEnding"),e.consume(_),e.exit("lineEnding"),de}function de(_){return _===null||ce(_)?he(_):(e.enter("htmlFlowData"),G(_))}function Te(_){return _===45?(e.consume(_),L):G(_)}function Re(_){return _===47?(e.consume(_),s="",De):G(_)}function De(_){if(_===62){const Ce=s.toLowerCase();return e1.includes(Ce)?(e.consume(_),ue):G(_)}return wt(_)&&s.length<8?(e.consume(_),s+=String.fromCharCode(_),De):G(_)}function Be(_){return _===93?(e.consume(_),L):G(_)}function L(_){return _===62?(e.consume(_),ue):_===45&&a===2?(e.consume(_),L):G(_)}function ue(_){return _===null||ce(_)?(e.exit("htmlFlowData"),se(_)):(e.consume(_),ue)}function se(_){return e.exit("htmlFlow"),t(_)}}function O8(e,t,r){const n=this;return a;function a(s){return ce(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),i):r(s)}function i(s){return n.parser.lazy[n.now().line]?r(s):t(s)}}function 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 D8={name:"htmlText",tokenize:L8};function L8(e,t,r){const n=this;let a,i,s;return u;function u(L){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(L),o}function o(L){return L===33?(e.consume(L),l):L===47?(e.consume(L),B):L===63?(e.consume(L),A):wt(L)?(e.consume(L),z):r(L)}function l(L){return L===45?(e.consume(L),c):L===91?(e.consume(L),i=0,b):wt(L)?(e.consume(L),S):r(L)}function c(L){return L===45?(e.consume(L),m):r(L)}function f(L){return L===null?r(L):L===45?(e.consume(L),p):ce(L)?(s=f,Re(L)):(e.consume(L),f)}function p(L){return L===45?(e.consume(L),m):f(L)}function m(L){return L===62?Te(L):L===45?p(L):f(L)}function b(L){const ue="CDATA[";return L===ue.charCodeAt(i++)?(e.consume(L),i===ue.length?y:b):r(L)}function y(L){return L===null?r(L):L===93?(e.consume(L),T):ce(L)?(s=y,Re(L)):(e.consume(L),y)}function T(L){return L===93?(e.consume(L),v):y(L)}function v(L){return L===62?Te(L):L===93?(e.consume(L),v):y(L)}function S(L){return L===null||L===62?Te(L):ce(L)?(s=S,Re(L)):(e.consume(L),S)}function A(L){return L===null?r(L):L===63?(e.consume(L),M):ce(L)?(s=A,Re(L)):(e.consume(L),A)}function M(L){return L===62?Te(L):A(L)}function B(L){return wt(L)?(e.consume(L),O):r(L)}function O(L){return L===45||pt(L)?(e.consume(L),O):D(L)}function D(L){return ce(L)?(s=D,Re(L)):Ne(L)?(e.consume(L),D):Te(L)}function z(L){return L===45||pt(L)?(e.consume(L),z):L===47||L===62||Ue(L)?U(L):r(L)}function U(L){return L===47?(e.consume(L),Te):L===58||L===95||wt(L)?(e.consume(L),P):ce(L)?(s=U,Re(L)):Ne(L)?(e.consume(L),U):Te(L)}function P(L){return L===45||L===46||L===58||L===95||pt(L)?(e.consume(L),P):$(L)}function $(L){return L===61?(e.consume(L),G):ce(L)?(s=$,Re(L)):Ne(L)?(e.consume(L),$):U(L)}function G(L){return L===null||L===60||L===61||L===62||L===96?r(L):L===34||L===39?(e.consume(L),a=L,he):ce(L)?(s=G,Re(L)):Ne(L)?(e.consume(L),G):(e.consume(L),me)}function he(L){return L===a?(e.consume(L),a=void 0,de):L===null?r(L):ce(L)?(s=he,Re(L)):(e.consume(L),he)}function me(L){return L===null||L===34||L===39||L===60||L===61||L===96?r(L):L===47||L===62||Ue(L)?U(L):(e.consume(L),me)}function de(L){return L===47||L===62||Ue(L)?U(L):r(L)}function Te(L){return L===62?(e.consume(L),e.exit("htmlTextData"),e.exit("htmlText"),t):r(L)}function Re(L){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(L),e.exit("lineEnding"),De}function De(L){return Ne(L)?_e(e,Be,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(L):Be(L)}function Be(L){return e.enter("htmlTextData"),s(L)}}const el={name:"labelEnd",resolveAll:B8,resolveTo:z8,tokenize:H8},M8={tokenize:U8},P8={tokenize:j8},F8={tokenize:q8};function B8(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 z8(e,t){let r=e.length,n=0,a,i,s,u;for(;r--;)if(a=e[r][1],i){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(s){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(i=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(s=r);const o={type:e[i][1].type==="labelLink"?"link":"image",start:J({},e[i][1].start),end:J({},e[e.length-1][1].end)},l={type:"label",start:J({},e[i][1].start),end:J({},e[s][1].end)},c={type:"labelText",start:J({},e[i+n+2][1].end),end:J({},e[s-2][1].start)};return u=[["enter",o,t],["enter",l,t]],u=jt(u,e.slice(i+1,i+n+3)),u=jt(u,[["enter",c,t]]),u=jt(u,$s(t.parser.constructs.insideSpan.null,e.slice(i+n+4,s-3),t)),u=jt(u,[["exit",c,t],e[s-2],e[s-1],["exit",l,t]]),u=jt(u,e.slice(s+1)),u=jt(u,[["exit",o,t]]),Mt(e,i,e.length,u),e}function H8(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(M8,c,s?c:f)(p):p===91?e.attempt(P8,c,s?l:f)(p):s?c(p):f(p)}function l(p){return e.attempt(F8,c,f)(p)}function c(p){return t(p)}function f(p){return i._balanced=!0,r(p)}}function U8(e,t,r){return n;function n(f){return e.enter("resource"),e.enter("resourceMarker"),e.consume(f),e.exit("resourceMarker"),a}function a(f){return Ue(f)?Ra(e,i)(f):i(f)}function i(f){return f===41?c(f):Xd(e,s,u,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(f)}function s(f){return Ue(f)?Ra(e,o)(f):c(f)}function u(f){return r(f)}function o(f){return f===34||f===39||f===40?Qd(e,l,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(f):c(f)}function l(f){return Ue(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 j8(e,t,r){const n=this;return a;function a(u){return Kd.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 q8(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 $8={name:"labelStartImage",resolveAll:el.resolveAll,tokenize:Y8};function Y8(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 V8={name:"labelStartLink",resolveAll:el.resolveAll,tokenize:W8};function W8(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 M0={name:"lineEnding",tokenize:G8};function G8(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),_e(e,t,"linePrefix")}}const es={name:"thematicBreak",tokenize:X8};function X8(e,t,r){let n=0,a;return i;function i(l){return e.enter("thematicBreak"),s(l)}function s(l){return a=l,u(l)}function u(l){return l===a?(e.enter("thematicBreakSequence"),o(l)):n>=3&&(l===null||ce(l))?(e.exit("thematicBreak"),t(l)):r(l)}function o(l){return l===a?(e.consume(l),n++,o):(e.exit("thematicBreakSequence"),Ne(l)?_e(e,u,"whitespace")(l):u(l))}}const Ct={continuation:{tokenize:Z8},exit:tb,name:"list",tokenize:J8},K8={partial:!0,tokenize:rb},Q8={partial:!0,tokenize:eb};function J8(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:Fu(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(es,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 Fu(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(K8,p,f))}function c(m){return n.containerState.initialBlankLine=!0,i++,p(m)}function f(m){return Ne(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 Z8(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,_e(e,t,"listItemIndent",n.containerState.size+1)(u)}function i(u){return n.containerState.furtherBlankLines||!Ne(u)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,s(u)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(Q8,t,s)(u))}function s(u){return n.containerState._closeFlow=!0,n.interrupt=void 0,_e(e,e.attempt(Ct,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u)}}function eb(e,t,r){const n=this;return _e(e,a,"listItemIndent",n.containerState.size+1);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="listItemIndent"&&s[2].sliceSerialize(s[1],!0).length===n.containerState.size?t(i):r(i)}}function tb(e){e.exit(this.containerState.type)}function rb(e,t,r){const n=this;return _e(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(i){const s=n.events[n.events.length-1];return!Ne(i)&&s&&s[1].type==="listItemPrefixWhitespace"?t(i):r(i)}}const t1={name:"setextUnderline",resolveTo:nb,tokenize:ab};function nb(e,t){let r=e.length,n,a,i;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!i&&e[r][1].type==="definition"&&(i=r);const s={type:"setextHeading",start:J({},e[n][1].start),end:J({},e[e.length-1][1].end)};return e[a][1].type="setextHeadingText",i?(e.splice(a,0,["enter",s,t]),e.splice(i+1,0,["exit",e[n][1],t]),e[n][1].end=J({},e[i][1].end)):e[n][1]=s,e.push(["exit",s,t]),e}function ab(e,t,r){const n=this;let a;return i;function i(l){let c=n.events.length,f;for(;c--;)if(n.events[c][1].type!=="lineEnding"&&n.events[c][1].type!=="linePrefix"&&n.events[c][1].type!=="content"){f=n.events[c][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||f)?(e.enter("setextHeadingLine"),a=l,s(l)):r(l)}function s(l){return e.enter("setextHeadingLineSequence"),u(l)}function u(l){return l===a?(e.consume(l),u):(e.exit("setextHeadingLineSequence"),Ne(l)?_e(e,o,"lineSuffix")(l):o(l))}function o(l){return l===null||ce(l)?(e.exit("setextHeadingLine"),t(l)):r(l)}}const ib={tokenize:sb};function sb(e){const t=this,r=e.attempt(si,n,e.attempt(this.parser.constructs.flowInitial,a,_e(e,e.attempt(this.parser.constructs.flow,a,e.attempt(f8,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 ub={resolveAll:Zd()},ob=Jd("string"),lb=Jd("text");function Jd(e){return{resolveAll:Zd(e==="text"?cb: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 Zd(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 cb(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let i=a.length,s=-1,u=0,o;for(;i--;){const l=a[i];if(typeof l=="string"){for(s=l.length;l.charCodeAt(s-1)===32;)u++,s--;if(s)break;s=-1}else if(l===-2)o=!0,u++;else if(l!==-1){i++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(u=0),u){const l={type:r===e.length||o||u<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:i?s:n.start._bufferIndex+s,_index:n.start._index+i,line:n.end.line,column:n.end.column-u,offset:n.end.offset-u},end:J({},n.end)};n.end=J({},l.start),n.start.offset===n.end.offset?Object.assign(n,l):(e.splice(r,0,["enter",l,t],["exit",l,t]),r+=2)}r++}return e}const fb={42:Ct,43:Ct,45:Ct,48:Ct,49:Ct,50:Ct,51:Ct,52:Ct,53:Ct,54:Ct,55:Ct,56:Ct,57:Ct,62:Yd},hb={91:g8},db={[-2]:L0,[-1]:L0,32:L0},mb={35:v8,42:es,45:[t1,es],60:k8,61:t1,95:es,96:Zc,126:Zc},pb={38:Wd,92:Vd},gb={[-5]:M0,[-4]:M0,[-3]:M0,33:$8,38:Wd,42:Bu,60:[Vg,D8],91:V8,92:[x8,Vd],93:el,95:Bu,96:i8},bb={null:[Bu,ub]},yb={null:[42,95]},Eb={null:[]},xb=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:yb,contentInitial:hb,disable:Eb,document:fb,flow:mb,flowInitial:db,insideSpan:bb,string:pb,text:gb},Symbol.toStringTag,{value:"Module"}));function Tb(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},i=[];let s=[],u=[];const o={attempt:D(B),check:D(O),consume:S,enter:A,exit:M,interrupt:D(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($){return s=jt(s,$),T(),s[s.length-1]!==null?[]:(z(t,0),l.events=$s(i,l.events,l),l.events)}function p($,G){return wb(m($),G)}function m($){return vb(s,$)}function b(){const{_bufferIndex:$,_index:G,line:he,column:me,offset:de}=n;return{_bufferIndex:$,_index:G,line:he,column:me,offset:de}}function y($){a[$.line]=$.column,P()}function T(){let $;for(;n._index<s.length;){const G=s[n._index];if(typeof G=="string")for($=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===$&&n._bufferIndex<G.length;)v(G.charCodeAt(n._bufferIndex));else v(G)}}function v($){c=c($)}function S($){ce($)?(n.line++,n.column=1,n.offset+=$===-3?2:1,P()):$!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===s[n._index].length&&(n._bufferIndex=-1,n._index++)),l.previous=$}function A($,G){const he=G||{};return he.type=$,he.start=b(),l.events.push(["enter",he,l]),u.push(he),he}function M($){const G=u.pop();return G.end=b(),l.events.push(["exit",G,l]),G}function B($,G){z($,G.from)}function O($,G){G.restore()}function D($,G){return he;function he(me,de,Te){let Re,De,Be,L;return Array.isArray(me)?se(me):"tokenize"in me?se([me]):ue(me);function ue(Oe){return Xe;function Xe(dt){const ut=dt!==null&&Oe[dt],ot=dt!==null&&Oe.null,Wt=[...Array.isArray(ut)?ut:ut?[ut]:[],...Array.isArray(ot)?ot:ot?[ot]:[]];return se(Wt)(dt)}}function se(Oe){return Re=Oe,De=0,Oe.length===0?Te:_(Oe[De])}function _(Oe){return Xe;function Xe(dt){return L=U(),Be=Oe,Oe.partial||(l.currentConstruct=Oe),Oe.name&&l.parser.constructs.disable.null.includes(Oe.name)?ze():Oe.tokenize.call(G?Object.assign(Object.create(l),G):l,o,Ce,ze)(dt)}}function Ce(Oe){return $(Be,L),de}function ze(Oe){return L.restore(),++De<Re.length?_(Re[De]):Te}}}function z($,G){$.resolveAll&&!i.includes($)&&i.push($),$.resolve&&Mt(l.events,G,l.events.length-G,$.resolve(l.events.slice(G),l)),$.resolveTo&&(l.events=$.resolveTo(l.events,l))}function U(){const $=b(),G=l.previous,he=l.currentConstruct,me=l.events.length,de=Array.from(u);return{from:me,restore:Te};function Te(){n=$,l.previous=G,l.currentConstruct=he,l.events.length=me,u=de,P()}}function P(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function vb(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 wb(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 Ab(e){const n={constructs:qd([xb,...(e||{}).extensions||[]]),content:a(zg),defined:[],document:a(Ug),flow:a(ib),lazy:{},string:a(ob),text:a(lb)};return n;function a(i){return s;function s(u){return Tb(n,i,u)}}}function Sb(e){for(;!Gd(e););return e}const r1=/[\0\t\n\r]/g;function kb(){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(r1.lastIndex=f,l=r1.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 Cb=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function Ib(e){return e.replace(Cb,_b)}function _b(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),i=a===120||a===88;return $d(r.slice(i?2:1),i?16:10)}return Zo(r)||e}const em={}.hasOwnProperty;function Nb(e,t,r){return t&&typeof t=="object"&&(r=t,t=void 0),Ob(r)(Sb(Ab(r).document().write(kb()(e,t,!0))))}function Ob(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:i(da),autolinkProtocol:U,autolinkEmail:U,atxHeading:i(gi),blockQuote:i(ot),characterEscape:U,characterReference:U,codeFenced:i(Wt),codeFencedFenceInfo:s,codeFencedFenceMeta:s,codeIndented:i(Wt,s),codeText:i(pr,s),codeTextData:U,data:U,codeFlowValue:U,definition:i(xt),definitionDestinationString:s,definitionLabelString:s,definitionTitleString:s,emphasis:i(kn),hardBreakEscape:i(bi),hardBreakTrailing:i(bi),htmlFlow:i(yi,s),htmlFlowData:U,htmlText:i(yi,s),htmlTextData:U,image:i(Ei),label:s,link:i(da),listItem:i(y0),listItemValue:p,listOrdered:i(Zr,f),listUnordered:i(Zr),paragraph:i(E0),reference:_,referenceString:s,resourceDestinationString:s,resourceTitleString:s,setextHeading:i(gi),strong:i(ma),thematicBreak:i(Ti)},exit:{atxHeading:o(),atxHeadingSequence:B,autolink:o(),autolinkEmail:ut,autolinkProtocol:dt,blockQuote:o(),characterEscapeValue:P,characterReferenceMarkerHexadecimal:ze,characterReferenceMarkerNumeric:ze,characterReferenceValue:Oe,characterReference:Xe,codeFenced:o(T),codeFencedFence:y,codeFencedFenceInfo:m,codeFencedFenceMeta:b,codeFlowValue:P,codeIndented:o(v),codeText:o(de),codeTextData:P,data:P,definition:o(),definitionDestinationString:M,definitionLabelString:S,definitionTitleString:A,emphasis:o(),hardBreakEscape:o(G),hardBreakTrailing:o(G),htmlFlow:o(he),htmlFlowData:P,htmlText:o(me),htmlTextData:P,image:o(Re),label:Be,labelText:De,lineEnding:$,link:o(Te),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:Ce,resourceDestinationString:L,resourceTitleString:ue,resource:se,setextHeading:o(z),setextHeadingLineSequence:D,setextHeadingText:O,strong:o(),thematicBreak:o()}};tm(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(Y){let ie={type:"root",children:[]};const be={stack:[ie],tokenStack:[],config:t,enter:u,exit:l,buffer:s,resume:c,data:r},Ae=[];let He=-1;for(;++He<Y.length;)if(Y[He][1].type==="listOrdered"||Y[He][1].type==="listUnordered")if(Y[He][0]==="enter")Ae.push(He);else{const Gt=Ae.pop();He=a(Y,Gt,He)}for(He=-1;++He<Y.length;){const Gt=t[Y[He][0]];em.call(Gt,Y[He][1].type)&&Gt[Y[He][1].type].call(Object.assign({sliceSerialize:Y[He][2].sliceSerialize},be),Y[He][1])}if(be.tokenStack.length>0){const Gt=be.tokenStack[be.tokenStack.length-1];(Gt[1]||n1).call(be,void 0,Gt[0])}for(ie.position={start:Rr(Y.length>0?Y[0][1].start:{line:1,column:1,offset:0}),end:Rr(Y.length>0?Y[Y.length-2][1].end:{line:1,column:1,offset:0})},He=-1;++He<t.transforms.length;)ie=t.transforms[He](ie)||ie;return ie}function a(Y,ie,be){let Ae=ie-1,He=-1,Gt=!1,en,gr,pa,ga;for(;++Ae<=be;){const Dt=Y[Ae];switch(Dt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Dt[0]==="enter"?He++:He--,ga=void 0;break}case"lineEndingBlank":{Dt[0]==="enter"&&(en&&!ga&&!He&&!pa&&(pa=Ae),ga=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:ga=void 0}if(!He&&Dt[0]==="enter"&&Dt[1].type==="listItemPrefix"||He===-1&&Dt[0]==="exit"&&(Dt[1].type==="listUnordered"||Dt[1].type==="listOrdered")){if(en){let Cn=Ae;for(gr=void 0;Cn--;){const br=Y[Cn];if(br[1].type==="lineEnding"||br[1].type==="lineEndingBlank"){if(br[0]==="exit")continue;gr&&(Y[gr][1].type="lineEndingBlank",Gt=!0),br[1].type="lineEnding",gr=Cn}else if(!(br[1].type==="linePrefix"||br[1].type==="blockQuotePrefix"||br[1].type==="blockQuotePrefixWhitespace"||br[1].type==="blockQuoteMarker"||br[1].type==="listItemIndent"))break}pa&&(!gr||pa<gr)&&(en._spread=!0),en.end=Object.assign({},gr?Y[gr][1].start:Dt[1].end),Y.splice(gr||Ae,0,["exit",en,Dt[2]]),Ae++,be++}if(Dt[1].type==="listItemPrefix"){const Cn={type:"listItem",_spread:!1,start:Object.assign({},Dt[1].start),end:void 0};en=Cn,Y.splice(Ae,0,["enter",Cn,Dt[2]]),Ae++,be++,pa=void 0,ga=!0}}}return Y[ie][1]._spread=Gt,be}function i(Y,ie){return be;function be(Ae){u.call(this,Y(Ae),Ae),ie&&ie.call(this,Ae)}}function s(){this.stack.push({type:"fragment",children:[]})}function u(Y,ie,be){this.stack[this.stack.length-1].children.push(Y),this.stack.push(Y),this.tokenStack.push([ie,be||void 0]),Y.position={start:Rr(ie.start),end:void 0}}function o(Y){return ie;function ie(be){Y&&Y.call(this,be),l.call(this,be)}}function l(Y,ie){const be=this.stack.pop(),Ae=this.tokenStack.pop();if(Ae)Ae[0].type!==Y.type&&(ie?ie.call(this,Y,Ae[0]):(Ae[1]||n1).call(this,Y,Ae[0]));else throw new Error("Cannot close `"+Y.type+"` ("+Oa({start:Y.start,end:Y.end})+"): it’s not open");be.position.end=Rr(Y.end)}function c(){return Jo(this.stack.pop())}function f(){this.data.expectingFirstListItemValue=!0}function p(Y){if(this.data.expectingFirstListItemValue){const ie=this.stack[this.stack.length-2];ie.start=Number.parseInt(this.sliceSerialize(Y),10),this.data.expectingFirstListItemValue=void 0}}function m(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.lang=Y}function b(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.meta=Y}function y(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function T(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y.replace(/(\r?\n|\r)$/g,"")}function S(Y){const ie=this.resume(),be=this.stack[this.stack.length-1];be.label=ie,be.identifier=Jt(this.sliceSerialize(Y)).toLowerCase()}function A(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Y}function M(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Y}function B(Y){const ie=this.stack[this.stack.length-1];if(!ie.depth){const be=this.sliceSerialize(Y).length;ie.depth=be}}function O(){this.data.setextHeadingSlurpLineEnding=!0}function D(Y){const ie=this.stack[this.stack.length-1];ie.depth=this.sliceSerialize(Y).codePointAt(0)===61?1:2}function z(){this.data.setextHeadingSlurpLineEnding=void 0}function U(Y){const be=this.stack[this.stack.length-1].children;let Ae=be[be.length-1];(!Ae||Ae.type!=="text")&&(Ae=xi(),Ae.position={start:Rr(Y.start),end:void 0},be.push(Ae)),this.stack.push(Ae)}function P(Y){const ie=this.stack.pop();ie.value+=this.sliceSerialize(Y),ie.position.end=Rr(Y.end)}function $(Y){const ie=this.stack[this.stack.length-1];if(this.data.atHardBreak){const be=ie.children[ie.children.length-1];be.position.end=Rr(Y.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(ie.type)&&(U.call(this,Y),P.call(this,Y))}function G(){this.data.atHardBreak=!0}function he(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function me(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function de(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.value=Y}function Te(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ie,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function Re(){const Y=this.stack[this.stack.length-1];if(this.data.inReference){const ie=this.data.referenceType||"shortcut";Y.type+="Reference",Y.referenceType=ie,delete Y.url,delete Y.title}else delete Y.identifier,delete Y.label;this.data.referenceType=void 0}function De(Y){const ie=this.sliceSerialize(Y),be=this.stack[this.stack.length-2];be.label=Ib(ie),be.identifier=Jt(ie).toLowerCase()}function Be(){const Y=this.stack[this.stack.length-1],ie=this.resume(),be=this.stack[this.stack.length-1];if(this.data.inReference=!0,be.type==="link"){const Ae=Y.children;be.children=Ae}else be.alt=ie}function L(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.url=Y}function ue(){const Y=this.resume(),ie=this.stack[this.stack.length-1];ie.title=Y}function se(){this.data.inReference=void 0}function _(){this.data.referenceType="collapsed"}function Ce(Y){const ie=this.resume(),be=this.stack[this.stack.length-1];be.label=ie,be.identifier=Jt(this.sliceSerialize(Y)).toLowerCase(),this.data.referenceType="full"}function ze(Y){this.data.characterReferenceType=Y.type}function Oe(Y){const ie=this.sliceSerialize(Y),be=this.data.characterReferenceType;let Ae;be?(Ae=$d(ie,be==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Ae=Zo(ie);const He=this.stack[this.stack.length-1];He.value+=Ae}function Xe(Y){const ie=this.stack.pop();ie.position.end=Rr(Y.end)}function dt(Y){P.call(this,Y);const ie=this.stack[this.stack.length-1];ie.url=this.sliceSerialize(Y)}function ut(Y){P.call(this,Y);const ie=this.stack[this.stack.length-1];ie.url="mailto:"+this.sliceSerialize(Y)}function ot(){return{type:"blockquote",children:[]}}function Wt(){return{type:"code",lang:null,meta:null,value:""}}function pr(){return{type:"inlineCode",value:""}}function xt(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function kn(){return{type:"emphasis",children:[]}}function gi(){return{type:"heading",depth:0,children:[]}}function bi(){return{type:"break"}}function yi(){return{type:"html",value:""}}function Ei(){return{type:"image",title:null,url:"",alt:null}}function da(){return{type:"link",title:null,url:"",children:[]}}function Zr(Y){return{type:"list",ordered:Y.type==="listOrdered",start:null,spread:Y._spread,children:[]}}function y0(Y){return{type:"listItem",spread:Y._spread,checked:null,children:[]}}function E0(){return{type:"paragraph",children:[]}}function ma(){return{type:"strong",children:[]}}function xi(){return{type:"text",value:""}}function Ti(){return{type:"thematicBreak"}}}function Rr(e){return{line:e.line,column:e.column,offset:e.offset}}function tm(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?tm(e,n):Rb(e,n)}}function Rb(e,t){let r;for(r in t)if(em.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 n1(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 Db(e){const t=this;t.parser=r;function r(n){return Nb(n,tt(J(J({},t.data("settings")),e),{extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]}))}}function Lb(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 Mb(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
|
|
13
|
-
`}]}function Pb(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 Fb(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Bb(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function zb(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=ra(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 Hb(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 Ub(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function rm(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 jb(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return rm(e,t);const a={src:ra(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 qb(e,t){const r={src:ra(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 $b(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 Yb(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return rm(e,t);const a={href:ra(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 Vb(e,t){const r={href:ra(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 Wb(e,t,r){const n=e.all(t),a=r?Gb(r):nm(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 Gb(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=nm(r[n])}return t}function nm(e){const t=e.spread;return t==null?e.children.length>1:t}function Xb(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 Kb(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Qb(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function Jb(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Zb(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=cr(t.children[1]),o=js(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 e7(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 t7(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const a1=9,i1=32;function r7(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const i=[];for(;n;)i.push(s1(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return i.push(s1(t.slice(a),a>0,!1)),i.join("")}function s1(e,t,r){let n=0,a=e.length;if(t){let i=e.codePointAt(n);for(;i===a1||i===i1;)n++,i=e.codePointAt(n)}if(r){let i=e.codePointAt(a-1);for(;i===a1||i===i1;)a--,i=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function n7(e,t){const r={type:"text",value:r7(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function a7(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const i7={blockquote:Lb,break:Mb,code:Pb,delete:Fb,emphasis:Bb,footnoteReference:zb,heading:Hb,html:Ub,imageReference:jb,image:qb,inlineCode:$b,linkReference:Yb,link:Vb,listItem:Wb,list:Xb,paragraph:Kb,root:Qb,strong:Jb,table:Zb,tableCell:t7,tableRow:e7,text:n7,thematicBreak:a7,toml:Ci,yaml:Ci,definition:Ci,footnoteDefinition:Ci};function Ci(){}const am=-1,Ys=0,Da=1,ps=2,tl=3,rl=4,nl=5,al=6,im=7,sm=8,u1=typeof self=="object"?self:globalThis,s7=(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 Ys:case am:return r(s,a);case Da:{const u=r([],a);for(const o of s)u.push(n(o));return u}case ps:{const u=r({},a);for(const[o,l]of s)u[n(o)]=n(l);return u}case tl:return r(new Date(s),a);case rl:{const{source:u,flags:o}=s;return r(new RegExp(u,o),a)}case nl:{const u=r(new Map,a);for(const[o,l]of s)u.set(n(o),n(l));return u}case al:{const u=r(new Set,a);for(const o of s)u.add(n(o));return u}case im:{const{name:u,message:o}=s;return r(new u1[u](o),a)}case sm: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 u1[i](s),a)};return n},o1=e=>s7(new Map,e)(0),On="",{toString:u7}={},{keys:o7}=Object,xa=e=>{const t=typeof e;if(t!=="object"||!e)return[Ys,t];const r=u7.call(e).slice(8,-1);switch(r){case"Array":return[Da,On];case"Object":return[ps,On];case"Date":return[tl,On];case"RegExp":return[rl,On];case"Map":return[nl,On];case"Set":return[al,On];case"DataView":return[Da,r]}return r.includes("Array")?[Da,r]:r.includes("Error")?[im,r]:[ps,r]},Ii=([e,t])=>e===Ys&&(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 Ys:{let c=s;switch(o){case"bigint":u=sm,c=s.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+o);c=null;break;case"undefined":return a([am],s)}return a([u,c],s)}case Da:{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 ps:{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 o7(s))(e||!Ii(xa(s[p])))&&c.push([i(p),i(s[p])]);return f}case tl:return a([u,s.toISOString()],s);case rl:{const{source:c,flags:f}=s;return a([u,{source:c,flags:f}],s)}case nl:{const c=[],f=a([u,c],s);for(const[p,m]of s)(e||!(Ii(xa(p))||Ii(xa(m))))&&c.push([i(p),i(m)]);return f}case al:{const c=[],f=a([u,c],s);for(const p of s)(e||!Ii(xa(p)))&&c.push(i(p));return f}}const{message:l}=s;return a([u,{name:o,message:l}],s)};return i},l1=(e,{json:t,lossy:r}={})=>{const n=[];return l7(!(t||r),!!t,new Map,n)(e),n},Yn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?o1(l1(e,t)):structuredClone(e):(e,t)=>o1(l1(e,t));function c7(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function f7(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function h7(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||c7,n=e.options.footnoteBackLabel||f7,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=ra(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 S=typeof r=="string"?r:r(o,m);typeof S=="string"&&(S={type:"text",value:S}),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(S)?S:[S]})}const T=c[c.length-1];if(T&&T.type==="element"&&T.tagName==="p"){const S=T.children[T.children.length-1];S&&S.type==="text"?S.value+=" ":T.children.push({type:"text",value:" "}),T.children.push(...b)}else c.push(...b);const v={type:"element",tagName:"li",properties:{id:t+"fn-"+p},children:e.wrap(c,!0)};e.patch(l,v),u.push(v)}if(u.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:i,properties:tt(J({},Yn(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 g7;if(typeof e=="function")return Vs(e);if(typeof e=="object")return Array.isArray(e)?d7(e):m7(e);if(typeof e=="string")return p7(e);throw new Error("Expected function, string, or object as test")};function d7(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=ui(e[r]);return Vs(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function m7(e){const t=e;return Vs(r);function r(n){const a=n;let i;for(i in e)if(a[i]!==t[i])return!1;return!0}}function p7(e){return Vs(t);function t(r){return r&&r.type===e}}function Vs(e){return t;function t(r,n,a){return!!(b7(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function g7(){return!0}function b7(e){return e!==null&&typeof e=="object"&&"type"in e}const um=[],y7=!0,zu=!1,om="skip";function il(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=um,b,y,T;if((!t||i(o,l,c[c.length-1]||void 0))&&(m=E7(r(o,c)),m[0]===zu))return m;if("children"in o&&o.children){const v=o;if(v.children&&m[0]!==om)for(y=(n?v.children.length:-1)+s,T=c.concat(v);y>-1&&y<v.children.length;){const S=v.children[y];if(b=u(S,y,T)(),b[0]===zu)return b;y=typeof b[1]=="number"?b[1]:y+s}}return m}}}function E7(e){return Array.isArray(e)?e:typeof e=="number"?[y7,e]:e==null?um:[e]}function Ws(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),il(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 Hu={}.hasOwnProperty,x7={};function T7(e,t){const r=t||x7,n=new Map,a=new Map,i=new Map,s=J(J({},i7),r.handlers),u={all:l,applyData:w7,definitionById:n,footnoteById:a,footnoteCounts:i,footnoteOrder:[],handlers:s,one:o,options:r,patch:v7,wrap:S7};return Ws(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(Hu.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:T}=y,v=wi(y,["children"]),S=Yn(v);return S.children=u.all(c),S}return Yn(c)}return(u.options.unknownHandler||A7)(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=c1(b.value)),!Array.isArray(b)&&b.type==="element")){const y=b.children[0];y&&y.type==="text"&&(y.value=c1(y.value))}Array.isArray(b)?f.push(...b):f.push(b)}}}return f}}function v7(e,t){e.position&&(t.position=fg(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,Yn(i)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function A7(e,t){const r=t.data||{},n="value"in t&&!(Hu.call(r,"hProperties")||Hu.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 S7(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 c1(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function f1(e,t){const r=T7(e,t),n=r.one(e,void 0),a=h7(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 Le(this,null,function*(){const a=f1(r,J({file:n},t));yield e.run(a,n)})}:function(r,n){return f1(r,J({file:n},e||t))}}function h1(e){if(e)throw e}var ts=Object.prototype.hasOwnProperty,lm=Object.prototype.toString,d1=Object.defineProperty,m1=Object.getOwnPropertyDescriptor,p1=function(t){return typeof Array.isArray=="function"?Array.isArray(t):lm.call(t)==="[object Array]"},g1=function(t){if(!t||lm.call(t)!=="[object Object]")return!1;var r=ts.call(t,"constructor"),n=t.constructor&&t.constructor.prototype&&ts.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!r&&!n)return!1;var a;for(a in t);return typeof a=="undefined"||ts.call(t,a)},b1=function(t,r){d1&&r.name==="__proto__"?d1(t,r.name,{enumerable:!0,configurable:!0,value:r.newValue,writable:!0}):t[r.name]=r.newValue},y1=function(t,r){if(r==="__proto__")if(ts.call(t,r)){if(m1)return m1(t,r).value}else return;return t[r]},C7=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=y1(u,r),a=y1(t,r),u!==a&&(c&&a&&(g1(a)||(i=p1(a)))?(i?(i=!1,s=n&&p1(n)?n:[]):s=n&&g1(n)?n:{},b1(u,{name:r,newValue:e(c,s,a)})):typeof a!="undefined"&&b1(u,{name:r,newValue:a}));return u};const P0=Wo(C7);function Uu(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 I7(){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?_7(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 _7(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 tr={basename:N7,dirname:O7,extname:R7,join:D7,sep:"/"};function N7(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 O7(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 R7(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 D7(...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?".":L7(r)}function L7(e){oi(e);const t=e.codePointAt(0)===47;let r=M7(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function M7(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 P7={cwd:F7};function F7(){return"/"}function ju(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function B7(e){if(typeof e=="string")e=new URL(e);else if(!ju(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 z7(e)}function z7(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 F0=["history","path","basename","stem","extname","dirname"];class cm{constructor(t){let r;t?ju(t)?r={path:t}:typeof t=="string"||H7(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":P7.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<F0.length;){const i=F0[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)F0.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?tr.basename(this.path):void 0}set basename(t){z0(t,"basename"),B0(t,"basename"),this.path=tr.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?tr.dirname(this.path):void 0}set dirname(t){E1(this.basename,"dirname"),this.path=tr.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?tr.extname(this.path):void 0}set extname(t){if(B0(t,"extname"),E1(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=tr.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){ju(t)&&(t=B7(t)),z0(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?tr.basename(this.path,this.extname):void 0}set stem(t){z0(t,"stem"),B0(t,"stem"),this.path=tr.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new yt(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function B0(e,t){if(e&&e.includes(tr.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+tr.sep+"`")}function z0(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function E1(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function H7(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const U7=function(e){const n=this.constructor.prototype,a=n[e],i=function(){return a.apply(i,arguments)};return Object.setPrototypeOf(i,n),i},j7={}.hasOwnProperty;class sl extends U7{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=I7()}copy(){const t=new sl;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(P0(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(j0("data",this.frozen),this.namespace[t]=r,this):j7.call(this.namespace,t)&&this.namespace[t]||void 0:t?(j0("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=_i(t),n=this.parser||this.Parser;return H0("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),H0("process",this.parser||this.Parser),U0("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(i,s){const u=_i(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);Y7(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(),H0("processSync",this.parser||this.Parser),U0("processSync",this.compiler||this.Compiler),this.process(t,a),T1("processSync","process",r),n;function a(i,s){r=!0,h1(i),n=s}}run(t,r,n){x1(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=_i(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),T1("runSync","run",n),a;function i(s,u){h1(s),a=u,n=!0}}stringify(t,r){this.freeze();const n=_i(r),a=this.compiler||this.Compiler;return U0("stringify",a),x1(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(j0("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=P0(!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];Uu(y)&&Uu(m)&&(m=P0(!0,y,m)),n[p]=[l,m,...b]}}}}const q7=new sl().freeze();function H0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function U0(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function j0(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 x1(e){if(!Uu(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function T1(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function _i(e){return $7(e)?e:new cm(e)}function $7(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function Y7(e){return typeof e=="string"||V7(e)}function V7(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const W7="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",v1=[],w1={allowDangerousHtml:!0},G7=/^(https?|ircs?|mailto|xmpp)$/i,X7=[{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 K7(e){const t=Q7(e),r=J7(e);return Z7(t.runSync(t.parse(r),r),e)}function Q7(e){const t=e.rehypePlugins||v1,r=e.remarkPlugins||v1,n=e.remarkRehypeOptions?J(J({},e.remarkRehypeOptions),w1):w1;return q7().use(Db).use(r).use(k7,n).use(t)}function J7(e){const t=e.children||"",r=new cm;return typeof t=="string"&&(r.value=t),r}function Z7(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,i=t.disallowedElements,s=t.skipHtml,u=t.unwrapDisallowed,o=t.urlTransform||e9;for(const c of X7)Object.hasOwn(t,c.from)&&(""+c.from+(c.to?"use `"+c.to+"` instead":"remove it")+W7+c.id,void 0);return t.className&&(e={type:"element",tagName:"div",properties:{className:t.className},children:e.type==="root"?e.children:[e]}),Ws(e,l),gg(e,{Fragment:k.Fragment,components:a,ignoreInvalidStyle:!0,jsx:k.jsx,jsxs:k.jsxs,passKeys:!0,passNode:!0});function l(c,f,p){if(c.type==="raw"&&p&&typeof f=="number")return s?p.children.splice(f,1):p.children[f]={type:"text",value:c.value},f;if(c.type==="element"){let m;for(m in D0)if(Object.hasOwn(D0,m)&&Object.hasOwn(c.properties,m)){const b=c.properties[m],y=D0[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 e9(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||G7.test(e.slice(0,t))?e:""}function fm(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 t9(){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 r9(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(fm(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,J({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 n9={tokenize:a9,concrete:!0,name:"mathFlow"},A1={tokenize:i9,partial:!0};function a9(e,t,r){const n=this,a=n.events[n.events.length-1],i=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let s=0;return u;function u(S){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),o(S)}function o(S){return S===36?(e.consume(S),s++,o):s<2?r(S):(e.exit("mathFlowFenceSequence"),_e(e,l,"whitespace")(S))}function l(S){return S===null||ce(S)?f(S):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),c(S))}function c(S){return S===null||ce(S)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),f(S)):S===36?r(S):(e.consume(S),c)}function f(S){return e.exit("mathFlowFence"),n.interrupt?t(S):e.attempt(A1,p,T)(S)}function p(S){return e.attempt({tokenize:v,partial:!0},T,m)(S)}function m(S){return(i?_e(e,b,"linePrefix",i+1):b)(S)}function b(S){return S===null?T(S):ce(S)?e.attempt(A1,p,T)(S):(e.enter("mathFlowValue"),y(S))}function y(S){return S===null||ce(S)?(e.exit("mathFlowValue"),b(S)):(e.consume(S),y)}function T(S){return e.exit("mathFlow"),t(S)}function v(S,A,M){let B=0;return _e(S,O,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function O(U){return S.enter("mathFlowFence"),S.enter("mathFlowFenceSequence"),D(U)}function D(U){return U===36?(B++,S.consume(U),D):B<s?M(U):(S.exit("mathFlowFenceSequence"),_e(S,z,"whitespace")(U))}function z(U){return U===null||ce(U)?(S.exit("mathFlowFence"),A(U)):M(U)}}}function i9(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 s9(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:u9,previous:o9,name:"mathText"};function n(a,i,s){let u=0,o,l;return c;function c(y){return a.enter("mathText"),a.enter("mathTextSequence"),f(y)}function f(y){return y===36?(a.consume(y),u++,f):u<2&&!r?s(y):(a.exit("mathTextSequence"),p(y))}function p(y){return y===null?s(y):y===36?(l=a.enter("mathTextSequence"),o=0,b(y)):y===32?(a.enter("space"),a.consume(y),a.exit("space"),p):ce(y)?(a.enter("lineEnding"),a.consume(y),a.exit("lineEnding"),p):(a.enter("mathTextData"),m(y))}function m(y){return y===null||y===32||y===36||ce(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 u9(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 o9(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function l9(e){return{flow:{36:n9},text:{36:s9(e)}}}class ee extends Error{constructor(t,r){var n="KaTeX parse error: "+t,a,i,s=r&&r.loc;if(s&&s.start<=s.end){var u=s.lexer.input;a=s.start,i=s.end,a===u.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var o=u.slice(a,i).replace(/[^]/g,"$&̲"),l;a>15?l="…"+u.slice(a-15,a):l=u.slice(0,a);var c;i+15<u.length?c=u.slice(i,i+15)+"…":c=u.slice(i),n+=l+o+c}super(n),this.name="ParseError",Object.setPrototypeOf(this,ee.prototype),this.position=a,a!=null&&i!=null&&(this.length=i-a),this.rawMessage=t}}var c9=/([A-Z])/g,ul=e=>e.replace(c9,"-$1").toLowerCase(),f9={"&":"&",">":">","<":"<",'"':""","'":"'"},h9=/[&><"']/g,gt=e=>String(e).replace(h9,t=>f9[t]),rs=e=>e.type==="ordgroup"||e.type==="color"?e.body.length===1?rs(e.body[0]):e:e.type==="font"?rs(e.body):e,d9=new Set(["mathord","textord","atom"]),Cr=e=>d9.has(rs(e).type),m9=e=>{var t=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return t?t[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(t[1])?null:t[1].toLowerCase():"_relative"},qu={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 p9(e){if("default"in e)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class ol{constructor(t){t===void 0&&(t={}),t=t||{};for(var r of Object.keys(qu)){var n=qu[r],a=t[r];this[r]=a!==void 0?n.processor?n.processor(a):a:p9(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new ee("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch(i){a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console!="undefined"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if("url"in t&&t.url&&!t.protocol){var r=m9(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=t,this.size=r,this.cramped=n}sup(){return rr[g9[this.id]]}sub(){return rr[b9[this.id]]}fracNum(){return rr[y9[this.id]]}fracDen(){return rr[E9[this.id]]}cramp(){return rr[x9[this.id]]}text(){return rr[T9[this.id]]}isTight(){return this.size>=2}}var ll=0,gs=1,Fn=2,wr=3,Va=4,$t=5,Vn=6,At=7,rr=[new Dr(ll,0,!1),new Dr(gs,0,!0),new Dr(Fn,1,!1),new Dr(wr,1,!0),new Dr(Va,2,!1),new Dr($t,2,!0),new Dr(Vn,3,!1),new Dr(At,3,!0)],g9=[Va,$t,Va,$t,Vn,At,Vn,At],b9=[$t,$t,$t,$t,At,At,At,At],y9=[Fn,wr,Va,$t,Vn,At,Vn,At],E9=[wr,wr,$t,$t,At,At,At,At],x9=[gs,gs,wr,wr,$t,$t,At,At],T9=[ll,gs,Fn,wr,Fn,wr,Fn,wr],xe={DISPLAY:rr[ll],TEXT:rr[Fn],SCRIPT:rr[Va],SCRIPTSCRIPT:rr[Vn]},$u=[{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 v9(e){for(var t=0;t<$u.length;t++)for(var r=$u[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 ns=[];$u.forEach(e=>e.blocks.forEach(t=>ns.push(...t)));function hm(e){for(var t=0;t<ns.length;t+=2)if(e>=ns[t]&&e<=ns[t+1])return!0;return!1}var Rn=80,w9=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"},A9=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"},S9=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"},k9=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"},C9=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"},I9=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},_9=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"},N9=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=w9(r,Rn);break;case"sqrtSize1":a=A9(r,Rn);break;case"sqrtSize2":a=S9(r,Rn);break;case"sqrtSize3":a=k9(r,Rn);break;case"sqrtSize4":a=C9(r,Rn);break;case"sqrtTall":a=_9(r,Rn,n)}return a},O9=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""}},S1={doubleleftarrow:`M262 157
|
|
78
|
-
l10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3
|
|
79
|
-
0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28
|
|
80
|
-
14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5
|
|
81
|
-
c2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5
|
|
82
|
-
157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87
|
|
83
|
-
-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7
|
|
84
|
-
-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z
|
|
85
|
-
m8 0v40h399730v-40zm0 194v40h399730v-40z`,doublerightarrow:`M399738 392l
|
|
86
|
-
-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5
|
|
87
|
-
14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88
|
|
88
|
-
-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68
|
|
89
|
-
-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18
|
|
90
|
-
-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782
|
|
91
|
-
c-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3
|
|
92
|
-
-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z`,leftarrow:`M400000 241H110l3-3c68.7-52.7 113.7-120
|
|
93
|
-
135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8
|
|
94
|
-
-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247
|
|
95
|
-
c-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208
|
|
96
|
-
490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3
|
|
97
|
-
1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202
|
|
98
|
-
l-3-3h399890zM100 241v40h399900v-40z`,leftbrace:`M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117
|
|
99
|
-
-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7
|
|
100
|
-
5-6 9-10 13-.7 1-7.3 1-20 1H6z`,leftbraceunder:`M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13
|
|
101
|
-
35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688
|
|
102
|
-
0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7
|
|
103
|
-
-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z`,leftgroup:`M400000 80
|
|
104
|
-
H435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0
|
|
105
|
-
435 0h399565z`,leftgroupunder:`M400000 262
|
|
106
|
-
H435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219
|
|
107
|
-
435 219h399565z`,leftharpoon:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3
|
|
108
|
-
-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5
|
|
109
|
-
-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7
|
|
110
|
-
-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z`,leftharpoonplus:`M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5
|
|
111
|
-
20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3
|
|
112
|
-
-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7
|
|
113
|
-
-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z
|
|
114
|
-
m0 0v40h400000v-40z`,leftharpoondown:`M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333
|
|
115
|
-
5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5
|
|
116
|
-
1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667
|
|
117
|
-
-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z`,leftharpoondownplus:`M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12
|
|
118
|
-
10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7
|
|
119
|
-
-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0
|
|
120
|
-
v40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z`,lefthook:`M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5
|
|
121
|
-
-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3
|
|
122
|
-
-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21
|
|
123
|
-
71.5 23h399859zM103 281v-40h399897v40z`,leftlinesegment:`M40 281 V428 H0 V94 H40 V241 H400000 v40z
|
|
124
|
-
M40 281 V428 H0 V94 H40 V241 H400000 v40z`,leftbracketunder:`M0 0 h120 V290 H399995 v120 H0z
|
|
125
|
-
M0 0 h120 V290 H399995 v120 H0z`,leftbracketover:`M0 440 h120 V150 H399995 v-120 H0z
|
|
126
|
-
M0 440 h120 V150 H399995 v-120 H0z`,leftmapsto:`M40 281 V448H0V74H40V241H400000v40z
|
|
127
|
-
M40 281 V448H0V74H40V241H400000v40z`,leftToFrom:`M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23
|
|
128
|
-
-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8
|
|
129
|
-
c28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3
|
|
130
|
-
68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z`,longequal:`M0 50 h400000 v40H0z m0 194h40000v40H0z
|
|
131
|
-
M0 50 h400000 v40H0z m0 194h40000v40H0z`,midbrace:`M200428 334
|
|
132
|
-
c-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14
|
|
133
|
-
-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7
|
|
134
|
-
311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11
|
|
135
|
-
12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z`,midbraceunder:`M199572 214
|
|
136
|
-
c100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14
|
|
137
|
-
53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3
|
|
138
|
-
11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0
|
|
139
|
-
-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z`,oiintSize1:`M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6
|
|
140
|
-
-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z
|
|
141
|
-
m368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8
|
|
142
|
-
60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z`,oiintSize2:`M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8
|
|
143
|
-
-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z
|
|
144
|
-
m502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2
|
|
145
|
-
c0 110 84 276 504 276s502.4-166 502.4-276z`,oiiintSize1:`M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6
|
|
146
|
-
-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z
|
|
147
|
-
m525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0
|
|
148
|
-
85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z`,oiiintSize2:`M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8
|
|
149
|
-
-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z
|
|
150
|
-
m770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1
|
|
151
|
-
c0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z`,rightarrow:`M0 241v40h399891c-47.3 35.3-84 78-110 128
|
|
152
|
-
-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20
|
|
153
|
-
11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7
|
|
154
|
-
39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85
|
|
155
|
-
-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
156
|
-
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
157
|
-
151.7 139 205zm0 0v40h399900v-40z`,rightbrace:`M400000 542l
|
|
158
|
-
-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5
|
|
159
|
-
s-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1
|
|
160
|
-
c124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z`,rightbraceunder:`M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3
|
|
161
|
-
28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237
|
|
162
|
-
-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z`,rightgroup:`M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0
|
|
163
|
-
3-1 3-3v-38c-76-158-257-219-435-219H0z`,rightgroupunder:`M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18
|
|
164
|
-
0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z`,rightharpoon:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3
|
|
165
|
-
-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2
|
|
166
|
-
-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58
|
|
167
|
-
69.2 92 94.5zm0 0v40h399900v-40z`,rightharpoonplus:`M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11
|
|
168
|
-
-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7
|
|
169
|
-
2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z
|
|
170
|
-
m0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z`,rightharpoondown:`M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8
|
|
171
|
-
8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5
|
|
172
|
-
-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95
|
|
173
|
-
-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z`,rightharpoondownplus:`M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8
|
|
174
|
-
15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3
|
|
175
|
-
8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3
|
|
176
|
-
-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z
|
|
177
|
-
m0-194v40h400000v-40zm0 0v40h400000v-40z`,righthook:`M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3
|
|
178
|
-
15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0
|
|
179
|
-
-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21
|
|
180
|
-
66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z`,rightlinesegment:`M399960 241 V94 h40 V428 h-40 V281 H0 v-40z
|
|
181
|
-
M399960 241 V94 h40 V428 h-40 V281 H0 v-40z`,rightbracketunder:`M399995 0 h-120 V290 H0 v120 H400000z
|
|
182
|
-
M399995 0 h-120 V290 H0 v120 H400000z`,rightbracketover:`M399995 440 h-120 V150 H0 v-120 H399995z
|
|
183
|
-
M399995 440 h-120 V150 H0 v-120 H399995z`,rightToFrom:`M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23
|
|
184
|
-
1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32
|
|
185
|
-
-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142
|
|
186
|
-
-167z M100 147v40h399900v-40zM0 341v40h399900v-40z`,twoheadleftarrow:`M0 167c68 40
|
|
187
|
-
115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69
|
|
188
|
-
-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3
|
|
189
|
-
-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19
|
|
190
|
-
-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101
|
|
191
|
-
10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z`,twoheadrightarrow:`M400000 167
|
|
192
|
-
c-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3
|
|
193
|
-
41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42
|
|
194
|
-
18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333
|
|
195
|
-
-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70
|
|
196
|
-
101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z`,tilde1:`M200 55.538c-77 0-168 73.953-177 73.953-3 0-7
|
|
197
|
-
-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0
|
|
198
|
-
114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0
|
|
199
|
-
4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128
|
|
200
|
-
-68.267.847-113-73.952-191-73.952z`,tilde2:`M344 55.266c-142 0-300.638 81.316-311.5 86.418
|
|
201
|
-
-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9
|
|
202
|
-
31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114
|
|
203
|
-
c1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751
|
|
204
|
-
181.476 676 181.476c-149 0-189-126.21-332-126.21z`,tilde3:`M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457
|
|
205
|
-
-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0
|
|
206
|
-
411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697
|
|
207
|
-
16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696
|
|
208
|
-
-338 0-409-156.573-744-156.573z`,tilde4:`M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345
|
|
209
|
-
-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409
|
|
210
|
-
177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9
|
|
211
|
-
14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409
|
|
212
|
-
-175.236-744-175.236z`,vec:`M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5
|
|
213
|
-
3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11
|
|
214
|
-
10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63
|
|
215
|
-
-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1
|
|
216
|
-
-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59
|
|
217
|
-
H213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359
|
|
218
|
-
c-16-25.333-24-45-24-59z`,widehat1:`M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22
|
|
219
|
-
c-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z`,widehat2:`M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
220
|
-
-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat3:`M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
221
|
-
-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widehat4:`M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10
|
|
222
|
-
-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z`,widecheck1:`M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,
|
|
223
|
-
-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z`,widecheck2:`M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
224
|
-
-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck3:`M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
225
|
-
-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,widecheck4:`M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,
|
|
226
|
-
-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z`,baraboveleftarrow:`M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202
|
|
227
|
-
c4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5
|
|
228
|
-
c-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130
|
|
229
|
-
s-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47
|
|
230
|
-
121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6
|
|
231
|
-
s2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11
|
|
232
|
-
c0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z
|
|
233
|
-
M100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z`,rightarrowabovebar:`M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32
|
|
234
|
-
-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0
|
|
235
|
-
13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39
|
|
236
|
-
-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5
|
|
237
|
-
-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5
|
|
238
|
-
-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67
|
|
239
|
-
151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z`,baraboveshortleftharpoon:`M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
240
|
-
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17
|
|
241
|
-
c2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21
|
|
242
|
-
c-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40
|
|
243
|
-
c-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z
|
|
244
|
-
M0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z`,rightharpoonaboveshortbar:`M0,241 l0,40c399126,0,399993,0,399993,0
|
|
245
|
-
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
246
|
-
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
247
|
-
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
248
|
-
M0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z`,shortbaraboveleftharpoon:`M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11
|
|
249
|
-
c1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,
|
|
250
|
-
1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,
|
|
251
|
-
-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z
|
|
252
|
-
M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`,shortrightharpoonabovebar:`M53,241l0,40c398570,0,399437,0,399437,0
|
|
253
|
-
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
254
|
-
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
255
|
-
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
256
|
-
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},R9=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
|
|
257
|
-
H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
|
|
258
|
-
M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
|
|
259
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
260
|
-
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+" v585 h43z";case"doublevert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
|
|
261
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
262
|
-
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+r+` v585 h43z
|
|
263
|
-
M367 15 v585 v`+r+` v585 c2.667,10,9.667,15,21,15
|
|
264
|
-
c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
265
|
-
c-10,0,-16.667,5,-20,15z M410 15 H367 v585 v`+r+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+r+` v1715 h263 v84 H319z
|
|
266
|
-
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+r+` v1799 H0 v-84 H319z
|
|
267
|
-
MM319 602 V0 H403 V602 v`+r+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v602 h84z
|
|
268
|
-
M403 1759 V0 H319 V1759 v`+r+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v602 h84z
|
|
269
|
-
M347 1759 V0 h-84 V1759 v`+r+" v602 h84z";case"lparen":return`M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1
|
|
270
|
-
c-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,
|
|
271
|
-
-36,557 l0,`+(r+84)+`c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,
|
|
272
|
-
949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9
|
|
273
|
-
c0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,
|
|
274
|
-
-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189
|
|
275
|
-
l0,-`+(r+92)+`c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,
|
|
276
|
-
-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z`;case"rparen":return`M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,
|
|
277
|
-
63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5
|
|
278
|
-
c11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,`+(r+9)+`
|
|
279
|
-
c-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664
|
|
280
|
-
c-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11
|
|
281
|
-
c0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17
|
|
282
|
-
c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
|
|
283
|
-
l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
284
|
-
-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class na{constructor(t){this.children=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var Yu={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},D9={ex:!0,em:!0,mu:!0},dm=function(t){return typeof t!="string"&&(t=t.unit),t in Yu||t in D9||t==="ex"},Qe=function(t,r){var n;if(t.unit in Yu)n=Yu[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new ee("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},ae=function(t){return+t.toFixed(4)+"em"},qr=function(t){return t.filter(r=>r).join(" ")},mm=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)}},pm=function(t){var r=document.createElement(t);r.className=qr(this.classes);for(var n of Object.keys(this.style))r.style[n]=this.style[n];for(var a of Object.keys(this.attributes))r.setAttribute(a,this.attributes[a]);for(var i=0;i<this.children.length;i++)r.appendChild(this.children[i].toNode());return r},L9=/[\s"'>/=\x00-\x1f]/,gm=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+gt(qr(this.classes))+'"');var n="";for(var a of Object.keys(this.style))n+=ul(a)+":"+this.style[a]+";";n&&(r+=' style="'+gt(n)+'"');for(var i of Object.keys(this.attributes)){if(L9.test(i))throw new ee("Invalid attribute name '"+i+"'");r+=" "+i+'="'+gt(this.attributes[i])+'"'}r+=">";for(var s=0;s<this.children.length;s++)r+=this.children[s].toMarkup();return r+="</"+t+">",r};class aa{constructor(t,r,n,a){mm.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return pm.call(this,"span")}toMarkup(){return gm.call(this,"span")}}class Gs{constructor(t,r,n,a){mm.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 pm.call(this,"a")}toMarkup(){return gm.call(this,"a")}}class M9{constructor(t,r,n){this.alt=r,this.src=t,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r of Object.keys(this.style))t.style[r]=this.style[r];return t}toMarkup(){var t='<img src="'+gt(this.src)+'"'+(' alt="'+gt(this.alt)+'"'),r="";for(var n of Object.keys(this.style))r+=ul(n)+":"+this.style[n]+";";return r&&(t+=' style="'+gt(r)+'"'),t+="'/>",t}}var P9={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Ft{constructor(t,r,n,a,i,s,u,o){this.text=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=i||0,this.width=s||0,this.classes=u||[],this.style=o||{},this.maxFontSize=0;var l=v9(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=P9[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=ae(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=qr(this.classes));for(var n of Object.keys(this.style))r=r||document.createElement("span"),r.style[n]=this.style[n];return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=gt(qr(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+ae(this.italic)+";");for(var a of Object.keys(this.style))n+=ul(a)+":"+this.style[a]+";";n&&(t=!0,r+=' style="'+gt(n)+'"');var i=gt(this.text);return t?(r+=">",r+=i,r+="</span>",r):i}}class Ar{constructor(t,r){this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r of Object.keys(this.attributes))t+=" "+r+'="'+gt(this.attributes[r])+'"';t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class $r{constructor(t,r){this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",S1[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+gt(this.alternate)+'"/>':'<path d="'+gt(S1[this.pathName])+'"/>'}}class Vu{constructor(t){this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n of Object.keys(this.attributes))r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r of Object.keys(this.attributes))t+=" "+r+'="'+gt(this.attributes[r])+'"';return t+="/>",t}}function F9(e){if(e instanceof Ft)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function B9(e){if(e instanceof aa)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var z9=e=>e instanceof aa||e instanceof Gs||e instanceof na,sr={"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]}},Ni={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]},k1={Å:"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 H9(e,t){sr[e]=t}function cl(e,t,r){if(!sr[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=sr[t][n];if(!a&&e[0]in k1&&(n=k1[e[0]].charCodeAt(0),a=sr[t][n]),!a&&r==="text"&&hm(n)&&(a=sr[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var q0={};function U9(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!q0[t]){var r=q0[t]={cssEmPerMu:Ni.quad[t]/18};for(var n in Ni)Ni.hasOwnProperty(n)&&(r[n]=Ni[n][t])}return q0[t]}var j9={bin:1,close:1,inner:1,open:1,punct:1,rel:1},q9={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},We={math:{},text:{}};function d(e,t,r,n,a,i){We[e][a]={font:t,group:r,replace:n},i&&n&&(We[e][n]=We[e][a])}var g="math",V="text",E="main",I="ams",Ge="accent-token",le="bin",St="close",ia="inner",ge="mathord",st="op-token",Bt="open",li="punct",N="rel",Ir="spacing",F="textord";d(g,E,N,"≡","\\equiv",!0);d(g,E,N,"≺","\\prec",!0);d(g,E,N,"≻","\\succ",!0);d(g,E,N,"∼","\\sim",!0);d(g,E,N,"⊥","\\perp");d(g,E,N,"⪯","\\preceq",!0);d(g,E,N,"⪰","\\succeq",!0);d(g,E,N,"≃","\\simeq",!0);d(g,E,N,"∣","\\mid",!0);d(g,E,N,"≪","\\ll",!0);d(g,E,N,"≫","\\gg",!0);d(g,E,N,"≍","\\asymp",!0);d(g,E,N,"∥","\\parallel");d(g,E,N,"⋈","\\bowtie",!0);d(g,E,N,"⌣","\\smile",!0);d(g,E,N,"⊑","\\sqsubseteq",!0);d(g,E,N,"⊒","\\sqsupseteq",!0);d(g,E,N,"≐","\\doteq",!0);d(g,E,N,"⌢","\\frown",!0);d(g,E,N,"∋","\\ni",!0);d(g,E,N,"∝","\\propto",!0);d(g,E,N,"⊢","\\vdash",!0);d(g,E,N,"⊣","\\dashv",!0);d(g,E,N,"∋","\\owns");d(g,E,li,".","\\ldotp");d(g,E,li,"⋅","\\cdotp");d(g,E,li,"⋅","·");d(V,E,F,"⋅","·");d(g,E,F,"#","\\#");d(V,E,F,"#","\\#");d(g,E,F,"&","\\&");d(V,E,F,"&","\\&");d(g,E,F,"ℵ","\\aleph",!0);d(g,E,F,"∀","\\forall",!0);d(g,E,F,"ℏ","\\hbar",!0);d(g,E,F,"∃","\\exists",!0);d(g,E,F,"∇","\\nabla",!0);d(g,E,F,"♭","\\flat",!0);d(g,E,F,"ℓ","\\ell",!0);d(g,E,F,"♮","\\natural",!0);d(g,E,F,"♣","\\clubsuit",!0);d(g,E,F,"℘","\\wp",!0);d(g,E,F,"♯","\\sharp",!0);d(g,E,F,"♢","\\diamondsuit",!0);d(g,E,F,"ℜ","\\Re",!0);d(g,E,F,"♡","\\heartsuit",!0);d(g,E,F,"ℑ","\\Im",!0);d(g,E,F,"♠","\\spadesuit",!0);d(g,E,F,"§","\\S",!0);d(V,E,F,"§","\\S");d(g,E,F,"¶","\\P",!0);d(V,E,F,"¶","\\P");d(g,E,F,"†","\\dag");d(V,E,F,"†","\\dag");d(V,E,F,"†","\\textdagger");d(g,E,F,"‡","\\ddag");d(V,E,F,"‡","\\ddag");d(V,E,F,"‡","\\textdaggerdbl");d(g,E,St,"⎱","\\rmoustache",!0);d(g,E,Bt,"⎰","\\lmoustache",!0);d(g,E,St,"⟯","\\rgroup",!0);d(g,E,Bt,"⟮","\\lgroup",!0);d(g,E,le,"∓","\\mp",!0);d(g,E,le,"⊖","\\ominus",!0);d(g,E,le,"⊎","\\uplus",!0);d(g,E,le,"⊓","\\sqcap",!0);d(g,E,le,"∗","\\ast");d(g,E,le,"⊔","\\sqcup",!0);d(g,E,le,"◯","\\bigcirc",!0);d(g,E,le,"∙","\\bullet",!0);d(g,E,le,"‡","\\ddagger");d(g,E,le,"≀","\\wr",!0);d(g,E,le,"⨿","\\amalg");d(g,E,le,"&","\\And");d(g,E,N,"⟵","\\longleftarrow",!0);d(g,E,N,"⇐","\\Leftarrow",!0);d(g,E,N,"⟸","\\Longleftarrow",!0);d(g,E,N,"⟶","\\longrightarrow",!0);d(g,E,N,"⇒","\\Rightarrow",!0);d(g,E,N,"⟹","\\Longrightarrow",!0);d(g,E,N,"↔","\\leftrightarrow",!0);d(g,E,N,"⟷","\\longleftrightarrow",!0);d(g,E,N,"⇔","\\Leftrightarrow",!0);d(g,E,N,"⟺","\\Longleftrightarrow",!0);d(g,E,N,"↦","\\mapsto",!0);d(g,E,N,"⟼","\\longmapsto",!0);d(g,E,N,"↗","\\nearrow",!0);d(g,E,N,"↩","\\hookleftarrow",!0);d(g,E,N,"↪","\\hookrightarrow",!0);d(g,E,N,"↘","\\searrow",!0);d(g,E,N,"↼","\\leftharpoonup",!0);d(g,E,N,"⇀","\\rightharpoonup",!0);d(g,E,N,"↙","\\swarrow",!0);d(g,E,N,"↽","\\leftharpoondown",!0);d(g,E,N,"⇁","\\rightharpoondown",!0);d(g,E,N,"↖","\\nwarrow",!0);d(g,E,N,"⇌","\\rightleftharpoons",!0);d(g,I,N,"≮","\\nless",!0);d(g,I,N,"","\\@nleqslant");d(g,I,N,"","\\@nleqq");d(g,I,N,"⪇","\\lneq",!0);d(g,I,N,"≨","\\lneqq",!0);d(g,I,N,"","\\@lvertneqq");d(g,I,N,"⋦","\\lnsim",!0);d(g,I,N,"⪉","\\lnapprox",!0);d(g,I,N,"⊀","\\nprec",!0);d(g,I,N,"⋠","\\npreceq",!0);d(g,I,N,"⋨","\\precnsim",!0);d(g,I,N,"⪹","\\precnapprox",!0);d(g,I,N,"≁","\\nsim",!0);d(g,I,N,"","\\@nshortmid");d(g,I,N,"∤","\\nmid",!0);d(g,I,N,"⊬","\\nvdash",!0);d(g,I,N,"⊭","\\nvDash",!0);d(g,I,N,"⋪","\\ntriangleleft");d(g,I,N,"⋬","\\ntrianglelefteq",!0);d(g,I,N,"⊊","\\subsetneq",!0);d(g,I,N,"","\\@varsubsetneq");d(g,I,N,"⫋","\\subsetneqq",!0);d(g,I,N,"","\\@varsubsetneqq");d(g,I,N,"≯","\\ngtr",!0);d(g,I,N,"","\\@ngeqslant");d(g,I,N,"","\\@ngeqq");d(g,I,N,"⪈","\\gneq",!0);d(g,I,N,"≩","\\gneqq",!0);d(g,I,N,"","\\@gvertneqq");d(g,I,N,"⋧","\\gnsim",!0);d(g,I,N,"⪊","\\gnapprox",!0);d(g,I,N,"⊁","\\nsucc",!0);d(g,I,N,"⋡","\\nsucceq",!0);d(g,I,N,"⋩","\\succnsim",!0);d(g,I,N,"⪺","\\succnapprox",!0);d(g,I,N,"≆","\\ncong",!0);d(g,I,N,"","\\@nshortparallel");d(g,I,N,"∦","\\nparallel",!0);d(g,I,N,"⊯","\\nVDash",!0);d(g,I,N,"⋫","\\ntriangleright");d(g,I,N,"⋭","\\ntrianglerighteq",!0);d(g,I,N,"","\\@nsupseteqq");d(g,I,N,"⊋","\\supsetneq",!0);d(g,I,N,"","\\@varsupsetneq");d(g,I,N,"⫌","\\supsetneqq",!0);d(g,I,N,"","\\@varsupsetneqq");d(g,I,N,"⊮","\\nVdash",!0);d(g,I,N,"⪵","\\precneqq",!0);d(g,I,N,"⪶","\\succneqq",!0);d(g,I,N,"","\\@nsubseteqq");d(g,I,le,"⊴","\\unlhd");d(g,I,le,"⊵","\\unrhd");d(g,I,N,"↚","\\nleftarrow",!0);d(g,I,N,"↛","\\nrightarrow",!0);d(g,I,N,"⇍","\\nLeftarrow",!0);d(g,I,N,"⇏","\\nRightarrow",!0);d(g,I,N,"↮","\\nleftrightarrow",!0);d(g,I,N,"⇎","\\nLeftrightarrow",!0);d(g,I,N,"△","\\vartriangle");d(g,I,F,"ℏ","\\hslash");d(g,I,F,"▽","\\triangledown");d(g,I,F,"◊","\\lozenge");d(g,I,F,"Ⓢ","\\circledS");d(g,I,F,"®","\\circledR");d(V,I,F,"®","\\circledR");d(g,I,F,"∡","\\measuredangle",!0);d(g,I,F,"∄","\\nexists");d(g,I,F,"℧","\\mho");d(g,I,F,"Ⅎ","\\Finv",!0);d(g,I,F,"⅁","\\Game",!0);d(g,I,F,"‵","\\backprime");d(g,I,F,"▲","\\blacktriangle");d(g,I,F,"▼","\\blacktriangledown");d(g,I,F,"■","\\blacksquare");d(g,I,F,"⧫","\\blacklozenge");d(g,I,F,"★","\\bigstar");d(g,I,F,"∢","\\sphericalangle",!0);d(g,I,F,"∁","\\complement",!0);d(g,I,F,"ð","\\eth",!0);d(V,E,F,"ð","ð");d(g,I,F,"╱","\\diagup");d(g,I,F,"╲","\\diagdown");d(g,I,F,"□","\\square");d(g,I,F,"□","\\Box");d(g,I,F,"◊","\\Diamond");d(g,I,F,"¥","\\yen",!0);d(V,I,F,"¥","\\yen",!0);d(g,I,F,"✓","\\checkmark",!0);d(V,I,F,"✓","\\checkmark");d(g,I,F,"ℶ","\\beth",!0);d(g,I,F,"ℸ","\\daleth",!0);d(g,I,F,"ℷ","\\gimel",!0);d(g,I,F,"ϝ","\\digamma",!0);d(g,I,F,"ϰ","\\varkappa");d(g,I,Bt,"┌","\\@ulcorner",!0);d(g,I,St,"┐","\\@urcorner",!0);d(g,I,Bt,"└","\\@llcorner",!0);d(g,I,St,"┘","\\@lrcorner",!0);d(g,I,N,"≦","\\leqq",!0);d(g,I,N,"⩽","\\leqslant",!0);d(g,I,N,"⪕","\\eqslantless",!0);d(g,I,N,"≲","\\lesssim",!0);d(g,I,N,"⪅","\\lessapprox",!0);d(g,I,N,"≊","\\approxeq",!0);d(g,I,le,"⋖","\\lessdot");d(g,I,N,"⋘","\\lll",!0);d(g,I,N,"≶","\\lessgtr",!0);d(g,I,N,"⋚","\\lesseqgtr",!0);d(g,I,N,"⪋","\\lesseqqgtr",!0);d(g,I,N,"≑","\\doteqdot");d(g,I,N,"≓","\\risingdotseq",!0);d(g,I,N,"≒","\\fallingdotseq",!0);d(g,I,N,"∽","\\backsim",!0);d(g,I,N,"⋍","\\backsimeq",!0);d(g,I,N,"⫅","\\subseteqq",!0);d(g,I,N,"⋐","\\Subset",!0);d(g,I,N,"⊏","\\sqsubset",!0);d(g,I,N,"≼","\\preccurlyeq",!0);d(g,I,N,"⋞","\\curlyeqprec",!0);d(g,I,N,"≾","\\precsim",!0);d(g,I,N,"⪷","\\precapprox",!0);d(g,I,N,"⊲","\\vartriangleleft");d(g,I,N,"⊴","\\trianglelefteq");d(g,I,N,"⊨","\\vDash",!0);d(g,I,N,"⊪","\\Vvdash",!0);d(g,I,N,"⌣","\\smallsmile");d(g,I,N,"⌢","\\smallfrown");d(g,I,N,"≏","\\bumpeq",!0);d(g,I,N,"≎","\\Bumpeq",!0);d(g,I,N,"≧","\\geqq",!0);d(g,I,N,"⩾","\\geqslant",!0);d(g,I,N,"⪖","\\eqslantgtr",!0);d(g,I,N,"≳","\\gtrsim",!0);d(g,I,N,"⪆","\\gtrapprox",!0);d(g,I,le,"⋗","\\gtrdot");d(g,I,N,"⋙","\\ggg",!0);d(g,I,N,"≷","\\gtrless",!0);d(g,I,N,"⋛","\\gtreqless",!0);d(g,I,N,"⪌","\\gtreqqless",!0);d(g,I,N,"≖","\\eqcirc",!0);d(g,I,N,"≗","\\circeq",!0);d(g,I,N,"≜","\\triangleq",!0);d(g,I,N,"∼","\\thicksim");d(g,I,N,"≈","\\thickapprox");d(g,I,N,"⫆","\\supseteqq",!0);d(g,I,N,"⋑","\\Supset",!0);d(g,I,N,"⊐","\\sqsupset",!0);d(g,I,N,"≽","\\succcurlyeq",!0);d(g,I,N,"⋟","\\curlyeqsucc",!0);d(g,I,N,"≿","\\succsim",!0);d(g,I,N,"⪸","\\succapprox",!0);d(g,I,N,"⊳","\\vartriangleright");d(g,I,N,"⊵","\\trianglerighteq");d(g,I,N,"⊩","\\Vdash",!0);d(g,I,N,"∣","\\shortmid");d(g,I,N,"∥","\\shortparallel");d(g,I,N,"≬","\\between",!0);d(g,I,N,"⋔","\\pitchfork",!0);d(g,I,N,"∝","\\varpropto");d(g,I,N,"◀","\\blacktriangleleft");d(g,I,N,"∴","\\therefore",!0);d(g,I,N,"∍","\\backepsilon");d(g,I,N,"▶","\\blacktriangleright");d(g,I,N,"∵","\\because",!0);d(g,I,N,"⋘","\\llless");d(g,I,N,"⋙","\\gggtr");d(g,I,le,"⊲","\\lhd");d(g,I,le,"⊳","\\rhd");d(g,I,N,"≂","\\eqsim",!0);d(g,E,N,"⋈","\\Join");d(g,I,N,"≑","\\Doteq",!0);d(g,I,le,"∔","\\dotplus",!0);d(g,I,le,"∖","\\smallsetminus");d(g,I,le,"⋒","\\Cap",!0);d(g,I,le,"⋓","\\Cup",!0);d(g,I,le,"⩞","\\doublebarwedge",!0);d(g,I,le,"⊟","\\boxminus",!0);d(g,I,le,"⊞","\\boxplus",!0);d(g,I,le,"⋇","\\divideontimes",!0);d(g,I,le,"⋉","\\ltimes",!0);d(g,I,le,"⋊","\\rtimes",!0);d(g,I,le,"⋋","\\leftthreetimes",!0);d(g,I,le,"⋌","\\rightthreetimes",!0);d(g,I,le,"⋏","\\curlywedge",!0);d(g,I,le,"⋎","\\curlyvee",!0);d(g,I,le,"⊝","\\circleddash",!0);d(g,I,le,"⊛","\\circledast",!0);d(g,I,le,"⋅","\\centerdot");d(g,I,le,"⊺","\\intercal",!0);d(g,I,le,"⋒","\\doublecap");d(g,I,le,"⋓","\\doublecup");d(g,I,le,"⊠","\\boxtimes",!0);d(g,I,N,"⇢","\\dashrightarrow",!0);d(g,I,N,"⇠","\\dashleftarrow",!0);d(g,I,N,"⇇","\\leftleftarrows",!0);d(g,I,N,"⇆","\\leftrightarrows",!0);d(g,I,N,"⇚","\\Lleftarrow",!0);d(g,I,N,"↞","\\twoheadleftarrow",!0);d(g,I,N,"↢","\\leftarrowtail",!0);d(g,I,N,"↫","\\looparrowleft",!0);d(g,I,N,"⇋","\\leftrightharpoons",!0);d(g,I,N,"↶","\\curvearrowleft",!0);d(g,I,N,"↺","\\circlearrowleft",!0);d(g,I,N,"↰","\\Lsh",!0);d(g,I,N,"⇈","\\upuparrows",!0);d(g,I,N,"↿","\\upharpoonleft",!0);d(g,I,N,"⇃","\\downharpoonleft",!0);d(g,E,N,"⊶","\\origof",!0);d(g,E,N,"⊷","\\imageof",!0);d(g,I,N,"⊸","\\multimap",!0);d(g,I,N,"↭","\\leftrightsquigarrow",!0);d(g,I,N,"⇉","\\rightrightarrows",!0);d(g,I,N,"⇄","\\rightleftarrows",!0);d(g,I,N,"↠","\\twoheadrightarrow",!0);d(g,I,N,"↣","\\rightarrowtail",!0);d(g,I,N,"↬","\\looparrowright",!0);d(g,I,N,"↷","\\curvearrowright",!0);d(g,I,N,"↻","\\circlearrowright",!0);d(g,I,N,"↱","\\Rsh",!0);d(g,I,N,"⇊","\\downdownarrows",!0);d(g,I,N,"↾","\\upharpoonright",!0);d(g,I,N,"⇂","\\downharpoonright",!0);d(g,I,N,"⇝","\\rightsquigarrow",!0);d(g,I,N,"⇝","\\leadsto");d(g,I,N,"⇛","\\Rrightarrow",!0);d(g,I,N,"↾","\\restriction");d(g,E,F,"‘","`");d(g,E,F,"$","\\$");d(V,E,F,"$","\\$");d(V,E,F,"$","\\textdollar");d(g,E,F,"%","\\%");d(V,E,F,"%","\\%");d(g,E,F,"_","\\_");d(V,E,F,"_","\\_");d(V,E,F,"_","\\textunderscore");d(g,E,F,"∠","\\angle",!0);d(g,E,F,"∞","\\infty",!0);d(g,E,F,"′","\\prime");d(g,E,F,"△","\\triangle");d(g,E,F,"Γ","\\Gamma",!0);d(g,E,F,"Δ","\\Delta",!0);d(g,E,F,"Θ","\\Theta",!0);d(g,E,F,"Λ","\\Lambda",!0);d(g,E,F,"Ξ","\\Xi",!0);d(g,E,F,"Π","\\Pi",!0);d(g,E,F,"Σ","\\Sigma",!0);d(g,E,F,"Υ","\\Upsilon",!0);d(g,E,F,"Φ","\\Phi",!0);d(g,E,F,"Ψ","\\Psi",!0);d(g,E,F,"Ω","\\Omega",!0);d(g,E,F,"A","Α");d(g,E,F,"B","Β");d(g,E,F,"E","Ε");d(g,E,F,"Z","Ζ");d(g,E,F,"H","Η");d(g,E,F,"I","Ι");d(g,E,F,"K","Κ");d(g,E,F,"M","Μ");d(g,E,F,"N","Ν");d(g,E,F,"O","Ο");d(g,E,F,"P","Ρ");d(g,E,F,"T","Τ");d(g,E,F,"X","Χ");d(g,E,F,"¬","\\neg",!0);d(g,E,F,"¬","\\lnot");d(g,E,F,"⊤","\\top");d(g,E,F,"⊥","\\bot");d(g,E,F,"∅","\\emptyset");d(g,I,F,"∅","\\varnothing");d(g,E,ge,"α","\\alpha",!0);d(g,E,ge,"β","\\beta",!0);d(g,E,ge,"γ","\\gamma",!0);d(g,E,ge,"δ","\\delta",!0);d(g,E,ge,"ϵ","\\epsilon",!0);d(g,E,ge,"ζ","\\zeta",!0);d(g,E,ge,"η","\\eta",!0);d(g,E,ge,"θ","\\theta",!0);d(g,E,ge,"ι","\\iota",!0);d(g,E,ge,"κ","\\kappa",!0);d(g,E,ge,"λ","\\lambda",!0);d(g,E,ge,"μ","\\mu",!0);d(g,E,ge,"ν","\\nu",!0);d(g,E,ge,"ξ","\\xi",!0);d(g,E,ge,"ο","\\omicron",!0);d(g,E,ge,"π","\\pi",!0);d(g,E,ge,"ρ","\\rho",!0);d(g,E,ge,"σ","\\sigma",!0);d(g,E,ge,"τ","\\tau",!0);d(g,E,ge,"υ","\\upsilon",!0);d(g,E,ge,"ϕ","\\phi",!0);d(g,E,ge,"χ","\\chi",!0);d(g,E,ge,"ψ","\\psi",!0);d(g,E,ge,"ω","\\omega",!0);d(g,E,ge,"ε","\\varepsilon",!0);d(g,E,ge,"ϑ","\\vartheta",!0);d(g,E,ge,"ϖ","\\varpi",!0);d(g,E,ge,"ϱ","\\varrho",!0);d(g,E,ge,"ς","\\varsigma",!0);d(g,E,ge,"φ","\\varphi",!0);d(g,E,le,"∗","*",!0);d(g,E,le,"+","+");d(g,E,le,"−","-",!0);d(g,E,le,"⋅","\\cdot",!0);d(g,E,le,"∘","\\circ",!0);d(g,E,le,"÷","\\div",!0);d(g,E,le,"±","\\pm",!0);d(g,E,le,"×","\\times",!0);d(g,E,le,"∩","\\cap",!0);d(g,E,le,"∪","\\cup",!0);d(g,E,le,"∖","\\setminus",!0);d(g,E,le,"∧","\\land");d(g,E,le,"∨","\\lor");d(g,E,le,"∧","\\wedge",!0);d(g,E,le,"∨","\\vee",!0);d(g,E,F,"√","\\surd");d(g,E,Bt,"⟨","\\langle",!0);d(g,E,Bt,"∣","\\lvert");d(g,E,Bt,"∥","\\lVert");d(g,E,St,"?","?");d(g,E,St,"!","!");d(g,E,St,"⟩","\\rangle",!0);d(g,E,St,"∣","\\rvert");d(g,E,St,"∥","\\rVert");d(g,E,N,"=","=");d(g,E,N,":",":");d(g,E,N,"≈","\\approx",!0);d(g,E,N,"≅","\\cong",!0);d(g,E,N,"≥","\\ge");d(g,E,N,"≥","\\geq",!0);d(g,E,N,"←","\\gets");d(g,E,N,">","\\gt",!0);d(g,E,N,"∈","\\in",!0);d(g,E,N,"","\\@not");d(g,E,N,"⊂","\\subset",!0);d(g,E,N,"⊃","\\supset",!0);d(g,E,N,"⊆","\\subseteq",!0);d(g,E,N,"⊇","\\supseteq",!0);d(g,I,N,"⊈","\\nsubseteq",!0);d(g,I,N,"⊉","\\nsupseteq",!0);d(g,E,N,"⊨","\\models");d(g,E,N,"←","\\leftarrow",!0);d(g,E,N,"≤","\\le");d(g,E,N,"≤","\\leq",!0);d(g,E,N,"<","\\lt",!0);d(g,E,N,"→","\\rightarrow",!0);d(g,E,N,"→","\\to");d(g,I,N,"≱","\\ngeq",!0);d(g,I,N,"≰","\\nleq",!0);d(g,E,Ir," ","\\ ");d(g,E,Ir," ","\\space");d(g,E,Ir," ","\\nobreakspace");d(V,E,Ir," ","\\ ");d(V,E,Ir," "," ");d(V,E,Ir," ","\\space");d(V,E,Ir," ","\\nobreakspace");d(g,E,Ir,null,"\\nobreak");d(g,E,Ir,null,"\\allowbreak");d(g,E,li,",",",");d(g,E,li,";",";");d(g,I,le,"⊼","\\barwedge",!0);d(g,I,le,"⊻","\\veebar",!0);d(g,E,le,"⊙","\\odot",!0);d(g,E,le,"⊕","\\oplus",!0);d(g,E,le,"⊗","\\otimes",!0);d(g,E,F,"∂","\\partial",!0);d(g,E,le,"⊘","\\oslash",!0);d(g,I,le,"⊚","\\circledcirc",!0);d(g,I,le,"⊡","\\boxdot",!0);d(g,E,le,"△","\\bigtriangleup");d(g,E,le,"▽","\\bigtriangledown");d(g,E,le,"†","\\dagger");d(g,E,le,"⋄","\\diamond");d(g,E,le,"⋆","\\star");d(g,E,le,"◃","\\triangleleft");d(g,E,le,"▹","\\triangleright");d(g,E,Bt,"{","\\{");d(V,E,F,"{","\\{");d(V,E,F,"{","\\textbraceleft");d(g,E,St,"}","\\}");d(V,E,F,"}","\\}");d(V,E,F,"}","\\textbraceright");d(g,E,Bt,"{","\\lbrace");d(g,E,St,"}","\\rbrace");d(g,E,Bt,"[","\\lbrack",!0);d(V,E,F,"[","\\lbrack",!0);d(g,E,St,"]","\\rbrack",!0);d(V,E,F,"]","\\rbrack",!0);d(g,E,Bt,"(","\\lparen",!0);d(g,E,St,")","\\rparen",!0);d(V,E,F,"<","\\textless",!0);d(V,E,F,">","\\textgreater",!0);d(g,E,Bt,"⌊","\\lfloor",!0);d(g,E,St,"⌋","\\rfloor",!0);d(g,E,Bt,"⌈","\\lceil",!0);d(g,E,St,"⌉","\\rceil",!0);d(g,E,F,"\\","\\backslash");d(g,E,F,"∣","|");d(g,E,F,"∣","\\vert");d(V,E,F,"|","\\textbar",!0);d(g,E,F,"∥","\\|");d(g,E,F,"∥","\\Vert");d(V,E,F,"∥","\\textbardbl");d(V,E,F,"~","\\textasciitilde");d(V,E,F,"\\","\\textbackslash");d(V,E,F,"^","\\textasciicircum");d(g,E,N,"↑","\\uparrow",!0);d(g,E,N,"⇑","\\Uparrow",!0);d(g,E,N,"↓","\\downarrow",!0);d(g,E,N,"⇓","\\Downarrow",!0);d(g,E,N,"↕","\\updownarrow",!0);d(g,E,N,"⇕","\\Updownarrow",!0);d(g,E,st,"∐","\\coprod");d(g,E,st,"⋁","\\bigvee");d(g,E,st,"⋀","\\bigwedge");d(g,E,st,"⨄","\\biguplus");d(g,E,st,"⋂","\\bigcap");d(g,E,st,"⋃","\\bigcup");d(g,E,st,"∫","\\int");d(g,E,st,"∫","\\intop");d(g,E,st,"∬","\\iint");d(g,E,st,"∭","\\iiint");d(g,E,st,"∏","\\prod");d(g,E,st,"∑","\\sum");d(g,E,st,"⨂","\\bigotimes");d(g,E,st,"⨁","\\bigoplus");d(g,E,st,"⨀","\\bigodot");d(g,E,st,"∮","\\oint");d(g,E,st,"∯","\\oiint");d(g,E,st,"∰","\\oiiint");d(g,E,st,"⨆","\\bigsqcup");d(g,E,st,"∫","\\smallint");d(V,E,ia,"…","\\textellipsis");d(g,E,ia,"…","\\mathellipsis");d(V,E,ia,"…","\\ldots",!0);d(g,E,ia,"…","\\ldots",!0);d(g,E,ia,"⋯","\\@cdots",!0);d(g,E,ia,"⋱","\\ddots",!0);d(g,E,F,"⋮","\\varvdots");d(V,E,F,"⋮","\\varvdots");d(g,E,Ge,"ˊ","\\acute");d(g,E,Ge,"ˋ","\\grave");d(g,E,Ge,"¨","\\ddot");d(g,E,Ge,"~","\\tilde");d(g,E,Ge,"ˉ","\\bar");d(g,E,Ge,"˘","\\breve");d(g,E,Ge,"ˇ","\\check");d(g,E,Ge,"^","\\hat");d(g,E,Ge,"⃗","\\vec");d(g,E,Ge,"˙","\\dot");d(g,E,Ge,"˚","\\mathring");d(g,E,ge,"","\\@imath");d(g,E,ge,"","\\@jmath");d(g,E,F,"ı","ı");d(g,E,F,"ȷ","ȷ");d(V,E,F,"ı","\\i",!0);d(V,E,F,"ȷ","\\j",!0);d(V,E,F,"ß","\\ss",!0);d(V,E,F,"æ","\\ae",!0);d(V,E,F,"œ","\\oe",!0);d(V,E,F,"ø","\\o",!0);d(V,E,F,"Æ","\\AE",!0);d(V,E,F,"Œ","\\OE",!0);d(V,E,F,"Ø","\\O",!0);d(V,E,Ge,"ˊ","\\'");d(V,E,Ge,"ˋ","\\`");d(V,E,Ge,"ˆ","\\^");d(V,E,Ge,"˜","\\~");d(V,E,Ge,"ˉ","\\=");d(V,E,Ge,"˘","\\u");d(V,E,Ge,"˙","\\.");d(V,E,Ge,"¸","\\c");d(V,E,Ge,"˚","\\r");d(V,E,Ge,"ˇ","\\v");d(V,E,Ge,"¨",'\\"');d(V,E,Ge,"˝","\\H");d(V,E,Ge,"◯","\\textcircled");var bm={"--":!0,"---":!0,"``":!0,"''":!0};d(V,E,F,"–","--",!0);d(V,E,F,"–","\\textendash");d(V,E,F,"—","---",!0);d(V,E,F,"—","\\textemdash");d(V,E,F,"‘","`",!0);d(V,E,F,"‘","\\textquoteleft");d(V,E,F,"’","'",!0);d(V,E,F,"’","\\textquoteright");d(V,E,F,"“","``",!0);d(V,E,F,"“","\\textquotedblleft");d(V,E,F,"”","''",!0);d(V,E,F,"”","\\textquotedblright");d(g,E,F,"°","\\degree",!0);d(V,E,F,"°","\\degree");d(V,E,F,"°","\\textdegree",!0);d(g,E,F,"£","\\pounds");d(g,E,F,"£","\\mathsterling",!0);d(V,E,F,"£","\\pounds");d(V,E,F,"£","\\textsterling",!0);d(g,I,F,"✠","\\maltese");d(V,I,F,"✠","\\maltese");var C1='0123456789/@."';for(var $0=0;$0<C1.length;$0++){var I1=C1.charAt($0);d(g,E,F,I1,I1)}var _1='0123456789!@*()-=+";:?/.,';for(var Y0=0;Y0<_1.length;Y0++){var N1=_1.charAt(Y0);d(V,E,F,N1,N1)}var bs="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(var V0=0;V0<bs.length;V0++){var Oi=bs.charAt(V0);d(g,E,ge,Oi,Oi),d(V,E,F,Oi,Oi)}d(g,I,F,"C","ℂ");d(V,I,F,"C","ℂ");d(g,I,F,"H","ℍ");d(V,I,F,"H","ℍ");d(g,I,F,"N","ℕ");d(V,I,F,"N","ℕ");d(g,I,F,"P","ℙ");d(V,I,F,"P","ℙ");d(g,I,F,"Q","ℚ");d(V,I,F,"Q","ℚ");d(g,I,F,"R","ℝ");d(V,I,F,"R","ℝ");d(g,I,F,"Z","ℤ");d(V,I,F,"Z","ℤ");d(g,E,ge,"h","ℎ");d(V,E,ge,"h","ℎ");var ye="";for(var Tt=0;Tt<bs.length;Tt++){var Je=bs.charAt(Tt);ye=String.fromCharCode(55349,56320+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56372+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56424+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56580+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56684+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56736+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56788+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56840+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56944+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),Tt<26&&(ye=String.fromCharCode(55349,56632+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye),ye=String.fromCharCode(55349,56476+Tt),d(g,E,ge,Je,ye),d(V,E,F,Je,ye))}ye="𝕜";d(g,E,ge,"k",ye);d(V,E,F,"k",ye);for(var rn=0;rn<10;rn++){var Lr=rn.toString();ye=String.fromCharCode(55349,57294+rn),d(g,E,ge,Lr,ye),d(V,E,F,Lr,ye),ye=String.fromCharCode(55349,57314+rn),d(g,E,ge,Lr,ye),d(V,E,F,Lr,ye),ye=String.fromCharCode(55349,57324+rn),d(g,E,ge,Lr,ye),d(V,E,F,Lr,ye),ye=String.fromCharCode(55349,57334+rn),d(g,E,ge,Lr,ye),d(V,E,F,Lr,ye)}var Wu="ÐÞþ";for(var W0=0;W0<Wu.length;W0++){var Ri=Wu.charAt(W0);d(g,E,ge,Ri,Ri),d(V,E,F,Ri,Ri)}var Di=[["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"]],O1=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],$9=(e,t)=>{var r=e.charCodeAt(0),n=e.charCodeAt(1),a=(r-55296)*1024+(n-56320)+65536,i=t==="math"?0:1;if(119808<=a&&a<120484){var s=Math.floor((a-119808)/26);return[Di[s][2],Di[s][i]]}else if(120782<=a&&a<=120831){var u=Math.floor((a-120782)/10);return[O1[u][2],O1[u][i]]}else{if(a===120485||a===120486)return[Di[0][2],Di[0][i]];if(120486<a&&a<120782)return["",""];throw new ee("Unsupported character: "+e)}},Xs=function(t,r,n){if(We[n][t]){var a=We[n][t].replace;a&&(t=a)}return{value:t,metrics:cl(t,r,n)}},vt=function(t,r,n,a,i){var s=Xs(t,r,n),u=s.metrics;t=s.value;var o;if(u){var l=u.italic;(n==="text"||a&&a.font==="mathit")&&(l=0),o=new Ft(t,u.height,u.depth,l,u.skew,u.width,i)}else typeof console!="undefined"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),o=new Ft(t,0,0,0,0,0,i);if(a){o.maxFontSize=a.sizeMultiplier,a.style.isTight()&&o.classes.push("mtight");var c=a.getColor();c&&(o.style.color=c)}return o},fl=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&Xs(t,"Main-Bold",r).metrics?vt(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||We[r][t].font==="main"?vt(t,"Main-Regular",r,n,a):vt(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},Y9=function(t,r,n,a,i){return i!=="textord"&&Xs(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},Ks=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]=$9(i,a)),l.length>0)return vt(i,l,a,r,s.concat(c));if(o){var f,p;if(o==="boldsymbol"){var m=Y9(i,a,r,s,n);f=m.fontName,p=[m.fontClass]}else u?(f=Gu[o].fontName,p=[o]):(f=Li(o,r.fontWeight,r.fontShape),p=[o,r.fontWeight,r.fontShape]);if(Xs(i,f,a).metrics)return vt(i,f,a,r,s.concat(p));if(bm.hasOwnProperty(i)&&f.slice(0,10)==="Typewriter"){for(var b=[],y=0;y<i.length;y++)b.push(vt(i[y],f,a,r,s.concat(p)));return _r(b)}}if(n==="mathord")return vt(i,"Math-Italic",a,r,s.concat(["mathnormal"]));if(n==="textord"){var T=We[a][i]&&We[a][i].font;if(T==="ams"){var v=Li("amsrm",r.fontWeight,r.fontShape);return vt(i,v,a,r,s.concat("amsrm",r.fontWeight,r.fontShape))}else if(T==="main"||!T){var S=Li("textrm",r.fontWeight,r.fontShape);return vt(i,S,a,r,s.concat(r.fontWeight,r.fontShape))}else{var A=Li(T,r.fontWeight,r.fontShape);return vt(i,A,a,r,s.concat(A,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},V9=(e,t)=>{if(qr(e.classes)!==qr(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass("mathnormal"))return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var a of Object.keys(t.style))if(e.style[a]!==t.style[a])return!1;return!0},ym=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Ft&&n instanceof Ft&&V9(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},hl=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},X=function(t,r,n,a){var i=new aa(t,r,n,a);return hl(i),i},Yr=(e,t,r,n)=>new aa(e,t,r,n),Wn=function(t,r,n){var a=X([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=ae(a.height),a.maxFontSize=1,a},W9=function(t,r,n,a){var i=new Gs(t,r,n,a);return hl(i),i},_r=function(t){var r=new na(t);return hl(r),r},Gn=function(t,r){return t instanceof na?X([],[t],r):t},G9=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}},Pe=function(t,r){for(var{children:n,depth:a}=G9(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=X(["pstrut"],[]);l.style.height=ae(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 T=y.elem,v=y.wrapperClasses||[],S=y.wrapperStyle||{},A=X(v,[l,T],void 0,S);A.style.top=ae(-i-m-T.depth),y.marginLeft&&(A.style.marginLeft=y.marginLeft),y.marginRight&&(A.style.marginRight=y.marginRight),c.push(A),m+=T.height+T.depth}f=Math.min(f,m),p=Math.max(p,m)}var M=X(["vlist"],c);M.style.height=ae(p);var B;if(f<0){var O=X([],[]),D=X(["vlist"],[O]);D.style.height=ae(-f);var z=X(["vlist-s"],[new Ft("")]);B=[X(["vlist-r"],[M,z]),X(["vlist-r"],[D])]}else B=[X(["vlist-r"],[M])];var U=X(["vlist-t"],B);return B.length===2&&U.classes.push("vlist-t2"),U.height=p,U.depth=-f,U},Em=(e,t)=>{var r=X(["mspace"],[],t),n=Qe(e,t);return r.style.marginRight=ae(n),r},Li=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},Gu={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"}},xm={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},Tm=function(t,r){var[n,a,i]=xm[t],s=new $r(n),u=new Ar([s],{width:ae(a),height:ae(i),style:"width:"+ae(a),viewBox:"0 0 "+1e3*a+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),o=Yr(["overlay"],[u],r);return o.height=i,o.style.height=ae(i),o.style.width=ae(a),o},Ke={number:3,unit:"mu"},nn={number:4,unit:"mu"},yr={number:5,unit:"mu"},X9={mord:{mop:Ke,mbin:nn,mrel:yr,minner:Ke},mop:{mord:Ke,mop:Ke,mrel:yr,minner:Ke},mbin:{mord:nn,mop:nn,mopen:nn,minner:nn},mrel:{mord:yr,mop:yr,mopen:yr,minner:yr},mopen:{},mclose:{mop:Ke,mbin:nn,mrel:yr,minner:Ke},mpunct:{mord:Ke,mop:Ke,mrel:yr,mopen:Ke,mclose:Ke,mpunct:Ke,minner:Ke},minner:{mord:Ke,mop:Ke,mbin:nn,mrel:yr,mopen:Ke,mpunct:Ke,minner:Ke}},K9={mord:{mop:Ke},mop:{mord:Ke,mop:Ke},mbin:{},mrel:{},mopen:{},mclose:{mop:Ke},mpunct:{},minner:{mop:Ke}},vm={},ys={},Es={};function oe(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:i,mathmlBuilder:s}=e,u={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},o=0;o<r.length;++o)vm[r[o]]=u;t&&(i&&(ys[t]=i),s&&(Es[t]=s))}function wn(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;oe({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var xs=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},at=function(t){return t.type==="ordgroup"?t.body:[t]},Q9=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),J9=new Set(["rightmost","mrel","mclose","mpunct"]),Z9={display:xe.DISPLAY,text:xe.TEXT,script:xe.SCRIPT,scriptscript:xe.SCRIPTSCRIPT},ey={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ct=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var i=[],s=0;s<t.length;s++){var u=Fe(t[s],r);if(u instanceof na){var o=u.children;i.push(...o)}else i.push(u)}if(ym(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(Z9[c.style]))}var f=X([a[0]||"leftmost"],[],r),p=X([a[1]||"rightmost"],[],r),m=n==="root";return Xu(i,(b,y)=>{var T=y.classes[0],v=b.classes[0];T==="mbin"&&J9.has(v)?y.classes[0]="mord":v==="mbin"&&Q9.has(T)&&(b.classes[0]="mord")},{node:f},p,m),Xu(i,(b,y)=>{var T,v,S=Qu(y),A=Qu(b),M=S&&A?b.hasClass("mtight")?(T=K9[S])==null?void 0:T[A]:(v=X9[S])==null?void 0:v[A]:null;if(M)return Em(M,l)},{node:f},p,m),i},Xu=function(t,r,n,a,i){a&&t.push(a);for(var s=0;s<t.length;s++){var u=t[s],o=wm(u);if(o){Xu(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=X(["leftmost"])),n.insertAfter=(f=>p=>{t.splice(f+1,0,p),s++})(s)}a&&t.pop()},wm=function(t){return t instanceof na||t instanceof Gs||t instanceof aa&&t.hasClass("enclosing")?t:null},Ku=function(t,r){var n=wm(t);if(n){var a=n.children;if(a.length){if(r==="right")return Ku(a[a.length-1],"right");if(r==="left")return Ku(a[0],"left")}}return t},Qu=function(t,r){if(!t)return null;r&&(t=Ku(t,r));var n=t.classes[0];return ey[n]||null},Wa=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return X(r.concat(n))},Fe=function(t,r,n){if(!t)return X();if(ys[t.type]){var a=ys[t.type](t,r);if(n&&r.size!==n.size){a=X(r.sizingClasses(n),[a],r);var i=r.sizeMultiplier/n.sizeMultiplier;a.height*=i,a.depth*=i}return a}else throw new ee("Got group of unknown type: '"+t.type+"'")};function Mi(e,t){var r=X(["base"],e,t),n=X(["strut"]);return n.style.height=ae(r.height+r.depth),r.depth&&(n.style.verticalAlign=ae(-r.depth)),r.children.unshift(n),r}function Ju(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=ct(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var i=[],s=[],u=0;u<n.length;u++)if(s.push(n[u]),n[u].hasClass("mbin")||n[u].hasClass("mrel")||n[u].hasClass("allowbreak")){for(var o=!1;u<n.length-1&&n[u+1].hasClass("mspace")&&!n[u+1].hasClass("newline");)u++,s.push(n[u]),n[u].hasClass("nobreak")&&(o=!0);o||(i.push(Mi(s,t)),s=[])}else n[u].hasClass("newline")&&(s.pop(),s.length>0&&(i.push(Mi(s,t)),s=[]),i.push(n[u]));s.length>0&&i.push(Mi(s,t));var l;r?(l=Mi(ct(r,t,!0),t),l.classes=["tag"],i.push(l)):a&&i.push(a);var c=X(["katex-html"],i);if(c.setAttribute("aria-hidden","true"),l){var f=l.children[0];f.style.height=ae(c.height+c.depth),c.depth&&(f.style.verticalAlign=ae(-c.depth))}return c}function Am(e){return new na(e)}class re{constructor(t,r,n){this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=qr(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof it&&this.children[n+1]instanceof it){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof it;)a+=this.children[++n].toText();t.appendChild(new it(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=gt(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+gt(qr(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class it{constructor(t){this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return gt(this.toText())}toText(){return this.text}}class Sm{constructor(t){this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character=" ":t>=-.05556&&t<=-.05555?this.character=" ":t>=-.1667&&t<=-.1666?this.character=" ":t>=-.2223&&t<=-.2222?this.character=" ":t>=-.2778&&t<=-.2777?this.character=" ":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",ae(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+ae(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ty=new Set(["\\imath","\\jmath"]),ry=new Set(["mrow","mtable"]),Vt=function(t,r,n){return We[r][t]&&We[r][t].replace&&t.charCodeAt(0)!==55349&&!(bm.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=We[r][t].replace),new it(t)},dl=function(t){return t.length===1?t[0]:new re("mrow",t)},ml=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(ty.has(i))return null;if(We[a][i]){var s=We[a][i].replace;s&&(i=s)}var u=Gu[n].fontName;return cl(i,u,a)?Gu[n].variant:null};function G0(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof it&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof it&&r.text===","}else return!1}var zt=function(t,r,n){if(t.length===1){var a=je(t[0],r);return n&&a instanceof re&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var i=[],s,u=0;u<t.length;u++){var o=je(t[u],r);if(o instanceof re&&s instanceof re){if(o.type==="mtext"&&s.type==="mtext"&&o.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...o.children);continue}else if(o.type==="mn"&&s.type==="mn"){s.children.push(...o.children);continue}else if(G0(o)&&s.type==="mn"){s.children.push(...o.children);continue}else if(o.type==="mn"&&G0(s))o.children=[...s.children,...o.children],i.pop();else if((o.type==="msup"||o.type==="msub")&&o.children.length>=1&&(s.type==="mn"||G0(s))){var l=o.children[0];l instanceof re&&l.type==="mn"&&(l.children=[...s.children,...l.children],i.pop())}else if(s.type==="mi"&&s.children.length===1){var c=s.children[0];if(c instanceof it&&c.text==="̸"&&(o.type==="mo"||o.type==="mi"||o.type==="mn")){var f=o.children[0];f instanceof it&&f.text.length>0&&(f.text=f.text.slice(0,1)+"̸"+f.text.slice(1),i.pop())}}}i.push(o),s=o}return i},Vr=function(t,r,n){return dl(zt(t,r,n))},je=function(t,r){if(!t)return new re("mrow");if(Es[t.type]){var n=Es[t.type](t,r);return n}else throw new ee("Got group of unknown type: '"+t.type+"'")};function R1(e,t,r,n,a){var i=zt(e,r),s;i.length===1&&i[0]instanceof re&&ry.has(i[0].type)?s=i[0]:s=new re("mrow",i);var u=new re("annotation",[new it(t)]);u.setAttribute("encoding","application/x-tex");var o=new re("semantics",[s,u]),l=new re("math",[o]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=a?"katex":"katex-mathml";return X([c],[l])}var ny=[[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]],D1=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],L1=function(t,r){return r.size<2?t:ny[t-1][r.size-1]};class Tr{constructor(t){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=D1[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(r,t),new Tr(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:L1(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:D1[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=L1(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=U9(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Tr.BASESIZE=6;var km=function(t){return new Tr({style:t.displayMode?xe.DISPLAY:xe.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},Cm=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=X(n,[t])}return t},ay=function(t,r,n){var a=km(n),i;if(n.output==="mathml")return R1(t,r,a,n.displayMode,!0);if(n.output==="html"){var s=Ju(t,a);i=X(["katex"],[s])}else{var u=R1(t,r,a,n.displayMode,!1),o=Ju(t,a);i=X(["katex"],[u,o])}return Cm(i,n)},iy=function(t,r,n){var a=km(n),i=Ju(t,a),s=X(["katex"],[i]);return Cm(s,n)},sy={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},Qs=function(t){var r=new re("mo",[new it(sy[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},uy={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},oy=new Set(["widehat","widecheck","widetilde","utilde"]),Js=function(t,r){function n(){var u=4e5,o=t.label.slice(1);if(oy.has(o)){var l=t,c=l.base.type==="ordgroup"?l.base.body.length:1,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 $r(p),T=new Ar([y],{width:"100%",height:ae(m),viewBox:"0 0 "+u+" "+f,preserveAspectRatio:"none"});return{span:Yr([],[T],r),minWidth:0,height:m}}else{var v=[],S=uy[o],[A,M,B]=S,O=B/1e3,D=A.length,z,U;if(D===1){var P=S[3];z=["hide-tail"],U=[P]}else if(D===2)z=["halfarrow-left","halfarrow-right"],U=["xMinYMin","xMaxYMin"];else if(D===3)z=["brace-left","brace-center","brace-right"],U=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
|
|
285
|
-
`+D+" children.");for(var $=0;$<D;$++){var G=new $r(A[$]),he=new Ar([G],{width:"400em",height:ae(O),viewBox:"0 0 "+u+" "+B,preserveAspectRatio:U[$]+" slice"}),me=Yr([z[$]],[he],r);if(D===1)return{span:me,minWidth:M,height:O};me.style.height=ae(O),v.push(me)}return{span:X(["stretchy"],v,r),minWidth:M,height:O}}}var{span:a,minWidth:i,height:s}=n();return a.height=s,a.style.height=ae(s),i>0&&(a.style.minWidth=ae(i)),a},ly=function(t,r,n,a,i){var s,u=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(s=X(["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 Vu({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&l.push(new Vu({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var c=new Ar(l,{width:"100%",height:ae(u)});s=Yr([],[c],i)}return s.height=u,s.style.height=ae(u),s};function we(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 Zs(e){var t=e0(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 e0(e){return e&&(e.type==="atom"||q9.hasOwnProperty(e.type))?e:null}var Im=e=>{if(e instanceof Ft)return e;if(z9(e)&&e.children.length===1)return Im(e.children[0])},pl=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=we(e.base,"accent"),r=n.base,e.base=r,a=B9(Fe(e,t)),e.base=n):(n=we(e,"accent"),r=n.base);var i=Fe(r,t.havingCrampedStyle()),s=n.isShifty&&Cr(r),u=0;if(s){var o,l;u=(o=(l=Im(i))==null?void 0:l.skew)!=null?o:0}var c=n.label==="\\c",f=c?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight),p;if(n.isStretchy)p=Js(n,t),p=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:p,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+ae(2*u)+")",marginLeft:ae(2*u)}:void 0}]});else{var m,b;n.label==="\\vec"?(m=Tm("vec",t),b=xm.vec[1]):(m=Ks({mode:n.mode,text:n.label},t,"textord"),m=F9(m),m.italic=0,b=m.width,c&&(f+=m.depth)),p=X(["accent-body"],[m]);var y=n.label==="\\textcircled";y&&(p.classes.push("accent-full"),f=i.height);var T=u;y||(T-=b/2),p.style.left=ae(T),n.label==="\\textcircled"&&(p.style.top=".2em"),p=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-f},{type:"elem",elem:p}]})}var v=X(["mord","accent"],[p],t);return a?(a.children[0]=v,a.height=Math.max(v.height,a.height),a.classes[0]="mord",a):v},_m=(e,t)=>{var r=e.isStretchy?Qs(e.label):new re("mo",[Vt(e.label,e.mode)]),n=new re("mover",[je(e.base,t),r]);return n.setAttribute("accent","true"),n},cy=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));oe({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=xs(t[0]),n=!cy.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:pl,mathmlBuilder:_m});oe({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return n==="math"&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:pl,mathmlBuilder:_m});oe({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=Fe(e.base,t),n=Js(e,t),a=e.label==="\\utilde"?.12:0,i=Pe({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]});return X(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=Qs(e.label),n=new re("munder",[je(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var Pi=e=>{var t=new re("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};oe({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=Gn(Fe(e.body,n,t),t),i=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(i+"-arrow-pad");var s;e.below&&(n=t.havingStyle(r.sub()),s=Gn(Fe(e.below,n,t),t),s.classes.push(i+"-arrow-pad"));var u=Js(e,t),o=-t.fontMetrics().axisHeight+.5*u.height,l=-t.fontMetrics().axisHeight-.5*u.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(l-=a.depth);var c;if(s){var f=-t.fontMetrics().axisHeight+s.height+.5*u.height+.111;c=Pe({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:u,shift:o},{type:"elem",elem:s,shift:f}]})}else c=Pe({positionType:"individualShift",children:[{type:"elem",elem:a,shift:l},{type:"elem",elem:u,shift:o}]});return c.children[0].children[0].children[1].classes.push("svg-align"),X(["mrel","x-arrow"],[c],t)},mathmlBuilder(e,t){var r=Qs(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=Pi(je(e.body,t));if(e.below){var i=Pi(je(e.below,t));n=new re("munderover",[r,i,a])}else n=new re("mover",[r,a])}else if(e.below){var s=Pi(je(e.below,t));n=new re("munder",[r,s])}else n=Pi(),n=new re("mover",[r,n]);return n}});function Nm(e,t){var r=ct(e.body,t,!0);return X([e.mclass],r,t)}function Om(e,t){var r,n=zt(e.body,t);return e.mclass==="minner"?r=new re("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new re("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new re("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}oe({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:at(a),isCharacterBox:Cr(a)}},htmlBuilder:Nm,mathmlBuilder:Om});var t0=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};oe({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:t0(t[0]),body:at(t[1]),isCharacterBox:Cr(t[1])}}});oe({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],i=t[0],s;n!=="\\stackrel"?s=t0(a):s="mrel";var u={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:at(a)},o={type:"supsub",mode:i.mode,base:u,sup:n==="\\underset"?null:i,sub:n==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:s,body:[o],isCharacterBox:Cr(o)}},htmlBuilder:Nm,mathmlBuilder:Om});oe({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:t0(t[0]),body:at(t[0])}},htmlBuilder(e,t){var r=ct(e.body,t,!0),n=X([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=zt(e.body,t),n=new re("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var fy={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},M1=()=>({type:"styling",body:[],mode:"math",style:"display"}),P1=e=>e.type==="textord"&&e.text==="@",hy=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function dy(e,t,r){var n=fy[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 my(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if(r==="&"||r==="\\\\")e.consume();else if(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new ee("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],i=0;i<t.length;i++){for(var s=t[i],u=M1(),o=0;o<s.length;o++)if(!P1(s[o]))u.body.push(s[o]);else{n.push(u),o+=1;var l=Zs(s[o]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},!"=|.".includes(l))if("<>AV".includes(l))for(var f=0;f<2;f++){for(var p=!0,m=o+1;m<s.length;m++){if(hy(s[m],l)){p=!1,o=m;break}if(P1(s[m]))throw new ee("Missing a "+l+" character to complete a CD arrow.",s[m]);c[f].body.push(s[m])}if(p)throw new ee("Missing a "+l+" character to complete a CD arrow.",s[o])}else throw new ee('Expected one of "<>AV=|." after @',s[o]);var b=dy(l,c,e),y={type:"styling",body:[b],mode:"math",style:"display"};n.push(y),u=M1()}i%2===0?n.push(u):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var T=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:T,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}oe({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=Gn(Fe(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=ae(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new re("mrow",[je(e.label,t)]);return r=new re("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new re("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});oe({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=Gn(Fe(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new re("mrow",[je(e.fragment,t)])}});oe({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=we(t[0],"ordgroup"),a=n.body,i="",s=0;s<a.length;s++){var u=we(a[s],"textord");i+=u.text}var o=parseInt(i),l;if(isNaN(o))throw new ee("\\@char has non-numeric argument "+i);if(o<0||o>=1114111)throw new ee("\\@char with invalid code point "+i);return o<=65535?l=String.fromCharCode(o):(o-=65536,l=String.fromCharCode((o>>10)+55296,(o&1023)+56320)),{type:"textord",mode:r.mode,text:l}}});var Rm=(e,t)=>{var r=ct(e.body,t.withColor(e.color),!1);return _r(r)},Dm=(e,t)=>{var r=zt(e.body,t.withColor(e.color)),n=new re("mstyle",r);return n.setAttribute("mathcolor",e.color),n};oe({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=we(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:at(a)}},htmlBuilder:Rm,mathmlBuilder:Dm});oe({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=we(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:Rm,mathmlBuilder:Dm});oe({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:a&&we(a,"size").value}},htmlBuilder(e,t){var r=X(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=ae(Qe(e.size,t)))),r},mathmlBuilder(e,t){var r=new re("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",ae(Qe(e.size,t)))),r}});var Zu={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Lm=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new ee("Expected a control sequence",e);return t},py=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},Mm=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};oe({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(Zu[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=Zu[n.text]),we(t.parseFunction(),"internal");throw new ee("Invalid token after macro prefix",n)}});oe({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new ee("Expected a control sequence",n);for(var i=0,s,u=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){s=t.gullet.future(),u[i].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new ee('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==i+1)throw new ee('Argument number "'+n.text+'" out of order');i++,u.push([])}else{if(n.text==="EOF")throw new ee("Expected a macro definition");u[i].push(n.text)}var{tokens:o}=t.gullet.consumeArg();return s&&o.unshift(s),(r==="\\edef"||r==="\\xdef")&&(o=t.gullet.expandTokens(o),o.reverse()),t.gullet.macros.set(a,{tokens:o,numArgs:i,delimiters:u},r===Zu[r]),{type:"internal",mode:t.mode}}});oe({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Lm(t.gullet.popToken());t.gullet.consumeSpaces();var a=py(t);return Mm(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}});oe({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=Lm(t.gullet.popToken()),a=t.gullet.popToken(),i=t.gullet.popToken();return Mm(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=We.math[t]&&We.math[t].replace,i=cl(a||t,r,n);if(!i)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return i},gl=function(t,r,n,a){var i=n.havingBaseStyle(r),s=X(a.concat(i.sizingClasses(n)),[t],n),u=i.sizeMultiplier/n.sizeMultiplier;return s.height*=u,s.depth*=u,s.maxFontSize=i.sizeMultiplier,s},Pm=function(t,r,n){var a=r.havingBaseStyle(n),i=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=ae(i),t.height-=i,t.depth+=i},gy=function(t,r,n,a,i,s){var u=vt(t,"Main-Regular",i,a),o=gl(u,r,a,s);return Pm(o,a,r),o},by=function(t,r,n,a){return vt(t,"Size"+r+"-Regular",n,a)},Fm=function(t,r,n,a,i,s){var u=by(t,r,i,a),o=gl(X(["delimsizing","size"+r],[u],a),xe.TEXT,a,s);return n&&Pm(o,a,xe.TEXT),o},X0=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var i=X(["delimsizinginner",a],[X([],[vt(t,r,n)])]);return{type:"elem",elem:i}},K0=function(t,r,n){var a=sr["Size4-Regular"][t.charCodeAt(0)]?sr["Size4-Regular"][t.charCodeAt(0)][4]:sr["Size1-Regular"][t.charCodeAt(0)][4],i=new $r("inner",O9(t,Math.round(1e3*r))),s=new Ar([i],{width:ae(a),height:ae(r),style:"width:"+ae(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),u=Yr([],[s],n);return u.height=r,u.style.height=ae(r),u.style.width=ae(a),{type:"elem",elem:u}},eo=.008,Fi={type:"kern",size:-1*eo},yy=new Set(["|","\\lvert","\\rvert","\\vert"]),Ey=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),Bm=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"):yy.has(t)?(l="∣",f="vert",p=333):Ey.has(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,T=ka(l,m,i),v=T.height+T.depth,S=ka(c,m,i),A=S.height+S.depth,M=0,B=1;if(o!==null){var O=ka(o,m,i);M=O.height+O.depth,B=2}var D=y+A+M,z=Math.max(0,Math.ceil((r-D)/(B*v))),U=D+z*B*v,P=a.fontMetrics().axisHeight;n&&(P*=a.sizeMultiplier);var $=U/2-P,G=[];if(f.length>0){var he=U-y-A,me=Math.round(U*1e3),de=R9(f,Math.round(he*1e3)),Te=new $r(f,de),Re=ae(p/1e3),De=ae(me/1e3),Be=new Ar([Te],{width:Re,height:De,viewBox:"0 0 "+p+" "+me}),L=Yr([],[Be],a);L.height=me/1e3,L.style.width=Re,L.style.height=De,G.push({type:"elem",elem:L})}else{if(G.push(X0(c,m,i)),G.push(Fi),o===null){var ue=U-y-A+2*eo;G.push(K0(l,ue,a))}else{var se=(U-y-A-M)/2+2*eo;G.push(K0(l,se,a)),G.push(Fi),G.push(X0(o,m,i)),G.push(Fi),G.push(K0(l,se,a))}G.push(Fi),G.push(X0(u,m,i))}var _=a.havingBaseStyle(xe.TEXT),Ce=Pe({positionType:"bottom",positionData:$,children:G});return gl(X(["delimsizing","mult"],[Ce],_),xe.TEXT,a,s)},Q0=80,J0=.08,Z0=function(t,r,n,a,i){var s=N9(t,a,n),u=new $r(t,s),o=new Ar([u],{width:"400em",height:ae(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Yr(["hide-tail"],[o],i)},xy=function(t,r){var n=r.havingBaseSizing(),a=qm("\\surd",t*n.sizeMultiplier,jm,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+Q0,t<1?i=1:t<1.4&&(i=.7),o=(1+s+J0)/i,l=(1+s)/i,u=Z0("sqrtMain",o,c,s,r),u.style.minWidth="0.853em",f=.833/i):a.type==="large"?(c=(1e3+Q0)*La[a.size],l=(La[a.size]+s)/i,o=(La[a.size]+s+J0)/i,u=Z0("sqrtSize"+a.size,o,c,s,r),u.style.minWidth="1.02em",f=1/i):(o=t+s+J0,l=t+s,c=Math.floor(1e3*t+s)+Q0,u=Z0("sqrtTall",o,c,s,r),u.style.minWidth="0.742em",f=1.056),u.height=l,u.style.height=ae(o),{span:u,advanceWidth:f,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},zm=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),Ty=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),Hm=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),La=[0,1.2,1.8,2.4,3],Um=function(t,r,n,a,i){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),zm.has(t)||Hm.has(t))return Fm(t,r,!1,n,a,i);if(Ty.has(t))return Bm(t,La[r],!1,n,a,i);throw new ee("Illegal delimiter: '"+t+"'")},vy=[{type:"small",style:xe.SCRIPTSCRIPT},{type:"small",style:xe.SCRIPT},{type:"small",style:xe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],wy=[{type:"small",style:xe.SCRIPTSCRIPT},{type:"small",style:xe.SCRIPT},{type:"small",style:xe.TEXT},{type:"stack"}],jm=[{type:"small",style:xe.SCRIPTSCRIPT},{type:"small",style:xe.SCRIPT},{type:"small",style:xe.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],Ay=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";var r=t.type;throw new Error("Add support for delim type '"+r+"' here.")},qm=function(t,r,n,a){for(var i=Math.min(2,3-a.style.size),s=i;s<n.length;s++){var u=n[s];if(u.type==="stack")break;var o=ka(t,Ay(u),"math"),l=o.height+o.depth;if(u.type==="small"){var c=a.havingBaseStyle(u.style);l*=c.sizeMultiplier}if(l>r)return u}return n[n.length-1]},to=function(t,r,n,a,i,s){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var u;Hm.has(t)?u=vy:zm.has(t)?u=jm:u=wy;var o=qm(t,r,u,a);return o.type==="small"?gy(t,o.style,n,a,i,s):o.type==="large"?Fm(t,o.size,n,a,i,s):Bm(t,r,n,a,i,s)},eu=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 to(t,f,!0,a,i,s)},F1={"\\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}},Sy=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function r0(e,t){var r=e0(e);if(r&&Sy.has(r.text))return r;throw r?new ee("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new ee("Invalid delimiter type '"+e.type+"'",e)}oe({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=r0(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:F1[e.funcName].size,mclass:F1[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?X([e.mclass]):Um(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(Vt(e.delim,e.mode));var r=new re("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=ae(La[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function B1(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}oe({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new ee("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:r0(t[0],e).text,color:r}}});oe({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=r0(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=we(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{B1(e);for(var r=ct(e.body,t,!0,["mopen","mclose"]),n=0,a=0,i=!1,s=0;s<r.length;s++)r[s].isMiddle?i=!0:(n=Math.max(r[s].height,n),a=Math.max(r[s].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var u;if(e.left==="."?u=Wa(t,["mopen"]):u=eu(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]=eu(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=eu(e.right,n,a,p,e.mode,["mclose"])}return r.push(f),X(["minner"],r,t)},mathmlBuilder:(e,t)=>{B1(e);var r=zt(e.body,t);if(e.left!=="."){var n=new re("mo",[Vt(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new re("mo",[Vt(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return dl(r)}});oe({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=r0(t[0],e);if(!e.parser.leftrightDepth)throw new ee("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Wa(t,[]);else{r=Um(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?Vt("|","text"):Vt(e.delim,e.mode),n=new re("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var n0=(e,t)=>{var r=Gn(Fe(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,i,s=0,u=Cr(e.body);if(n==="sout")i=X(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var o=Qe({number:.6,unit:"pt"},t),l=Qe({number:.35,unit:"ex"},t),c=t.havingBaseSizing();a=a/c.sizeMultiplier;var f=r.height+r.depth+o+l;r.style.paddingLeft=ae(f/2+o);var p=Math.floor(1e3*f*a),m=I9(p),b=new Ar([new $r("phase",m)],{width:"400em",height:ae(p/1e3),viewBox:"0 0 400000 "+p,preserveAspectRatio:"xMinYMin slice"});i=Yr(["hide-tail"],[b],t),i.style.height=ae(f),s=r.depth+o+l}else{/cancel/.test(n)?u||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var y=0,T=0,v=0;/box/.test(n)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),y=t.fontMetrics().fboxsep+(n==="colorbox"?0:v),T=y):n==="angl"?(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),y=4*v,T=Math.max(0,.25-r.depth)):(y=u?.2:0,T=y),i=ly(r,n,y,T,t),/fbox|boxed|fcolorbox/.test(n)?(i.style.borderStyle="solid",i.style.borderWidth=ae(v)):n==="angl"&&v!==.049&&(i.style.borderTopWidth=ae(v),i.style.borderRightWidth=ae(v)),s=r.depth+T,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var S;if(e.backgroundColor)S=Pe({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]});else{var A=/cancel|phase/.test(n)?["svg-align"]:[];S=Pe({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:A}]})}return/cancel/.test(n)&&(S.height=r.height,S.depth=r.depth),/cancel/.test(n)&&!u?X(["mord","cancel-lap"],[S],t):X(["mord"],[S],t)},a0=(e,t)=>{var r=0,n=new re(e.label.includes("colorbox")?"mpadded":"menclose",[je(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+ae(a)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};oe({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=we(t[0],"color-token").color,s=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,body:s}},htmlBuilder:n0,mathmlBuilder:a0});oe({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,i=we(t[0],"color-token").color,s=we(t[1],"color-token").color,u=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,borderColor:i,body:u}},htmlBuilder:n0,mathmlBuilder:a0});oe({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}});oe({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:n0,mathmlBuilder:a0});oe({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e;r.mode==="math"&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:n0,mathmlBuilder:a0});oe({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var $m={};function fr(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)$m[r[o]]=u;i&&(ys[t]=i),s&&(Es[t]=s)}var Ym={};function x(e,t){Ym[e]=t}class It{constructor(t,r,n){this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new It(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class Pt{constructor(t,r){this.text=t,this.loc=r}range(t,r){return new Pt(r,It.range(this,t))}}function z1(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 i0=e=>{var t=e.parser.settings;if(!t.displayMode)throw new ee("{"+e.envName+"} can be used only in display mode.")},ky=new Set(["gather","gather*"]);function bl(e){if(!e.includes("ed"))return!e.includes("*")}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 ee("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var b=[],y=[b],T=[],v=[],S=o!=null?[]:void 0;function A(){o&&e.gullet.macros.set("\\@eqnsw","1",!0)}function M(){S&&(e.gullet.macros.get("\\df@tag")?(S.push(e.subparse([new Pt("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):S.push(!!o&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(A(),v.push(z1(e));;){var B=e.parseExpression(!1,l?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var O={type:"ordgroup",mode:e.mode,body:B};r&&(O={type:"styling",mode:e.mode,style:r,body:[O]}),b.push(O);var D=e.fetch().text;if(D==="&"){if(f&&b.length===f){if(l||u)throw new ee("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(D==="\\end"){M(),b.length===1&&O.type==="styling"&&O.body.length===1&&O.body[0].type==="ordgroup"&&O.body[0].body.length===0&&(y.length>1||!c)&&y.pop(),v.length<y.length+1&&v.push([]);break}else if(D==="\\\\"){e.consume();var z=void 0;e.gullet.future().text!==" "&&(z=e.parseSizeGroup(!0)),T.push(z?z.value:null),M(),v.push(z1(e)),b=[],y.push(b),A()}else throw new ee("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:s,body:y,cols:i,rowGaps:T,hskipBeforeAndAfter:n,hLinesBeforeRow:v,colSeparationType:u,tags:S,leqno:p}}function yl(e){return e.slice(0,1)==="d"?"display":"text"}var hr=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(xe.SCRIPT).sizeMultiplier;p=.2778*(m/r.sizeMultiplier)}var b=t.colSeparationType==="CD"?Qe({number:3,unit:"ex"},r):12*f,y=3*f,T=t.arraystretch*b,v=.7*T,S=.3*T,A=0;function M(be){for(var Ae=0;Ae<be.length;++Ae)Ae>0&&(A+=.25),l.push({pos:A,isDashed:be[Ae]})}for(M(s[0]),n=0;n<t.body.length;++n){var B=t.body[n],O=v,D=S;u<B.length&&(u=B.length);var z=new Array(B.length);for(a=0;a<B.length;++a){var U=Fe(B[a],r);D<U.depth&&(D=U.depth),O<U.height&&(O=U.height),z[a]=U}var P=t.rowGaps[n],$=0;P&&($=Qe(P,r),$>0&&($+=S,D<$&&(D=$),$=0)),t.addJot&&n<t.body.length-1&&(D+=y),z.height=O,z.depth=D,A+=O,z.pos=A,A+=D+$,o[n]=z,M(s[n+1])}var G=A/2+r.fontMetrics().axisHeight,he=t.cols||[],me=[],de,Te,Re=[];if(t.tags&&t.tags.some(be=>be))for(n=0;n<i;++n){var De=o[n],Be=De.pos-G,L=t.tags[n],ue=void 0;L===!0?ue=X(["eqn-num"],[],r):L===!1?ue=X([],[],r):ue=X([],ct(L,r,!0),r),ue.depth=De.depth,ue.height=De.height,Re.push({type:"elem",elem:ue,shift:Be})}for(a=0,Te=0;a<u||Te<he.length;++a,++Te){for(var se,_=he[Te],Ce=!0;((ze=_)==null?void 0:ze.type)==="separator";){var ze;if(Ce||(de=X(["arraycolsep"],[]),de.style.width=ae(r.fontMetrics().doubleRuleSep),me.push(de)),_.separator==="|"||_.separator===":"){var Oe=_.separator==="|"?"solid":"dashed",Xe=X(["vertical-separator"],[],r);Xe.style.height=ae(A),Xe.style.borderRightWidth=ae(c),Xe.style.borderRightStyle=Oe,Xe.style.margin="0 "+ae(-c/2);var dt=A-G;dt&&(Xe.style.verticalAlign=ae(-dt)),me.push(Xe)}else throw new ee("Invalid separator type: "+_.separator);Te++,_=he[Te],Ce=!1}if(!(a>=u)){var ut=void 0;if(a>0||t.hskipBeforeAndAfter){var ot,Wt;ut=(ot=(Wt=_)==null?void 0:Wt.pregap)!=null?ot:p,ut!==0&&(de=X(["arraycolsep"],[]),de.style.width=ae(ut),me.push(de))}var pr=[];for(n=0;n<i;++n){var xt=o[n],kn=xt[a];if(kn){var gi=xt.pos-G;kn.depth=xt.depth,kn.height=xt.height,pr.push({type:"elem",elem:kn,shift:gi})}}var bi=Pe({positionType:"individualShift",children:pr}),yi=X(["col-align-"+(((se=_)==null?void 0:se.align)||"c")],[bi]);if(me.push(yi),a<u-1||t.hskipBeforeAndAfter){var Ei,da;ut=(Ei=(da=_)==null?void 0:da.postgap)!=null?Ei:p,ut!==0&&(de=X(["arraycolsep"],[]),de.style.width=ae(ut),me.push(de))}}}var Zr=X(["mtable"],me);if(l.length>0){for(var y0=Wn("hline",r,c),E0=Wn("hdashline",r,c),ma=[{type:"elem",elem:Zr,shift:0}];l.length>0;){var xi=l.pop(),Ti=xi.pos-G;xi.isDashed?ma.push({type:"elem",elem:E0,shift:Ti}):ma.push({type:"elem",elem:y0,shift:Ti})}Zr=Pe({positionType:"individualShift",children:ma})}if(Re.length===0)return X(["mord"],[Zr],r);var Y=Pe({positionType:"individualShift",children:Re}),ie=X(["tag"],[Y],r);return _r([Zr,ie])},Cy={c:"center ",l:"left ",r:"right "},dr=function(t,r){for(var n=[],a=new re("mtd",[],["mtr-glue"]),i=new re("mtd",[],["mml-eqn-num"]),s=0;s<t.body.length;s++){for(var u=t.body[s],o=[],l=0;l<u.length;l++)o.push(new re("mtd",[je(u[l],r)]));t.tags&&t.tags[s]&&(o.unshift(a),o.push(a),t.leqno?o.unshift(i):o.push(i)),n.push(new re("mtr",o))}var c=new re("mtable",n),f=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);c.setAttribute("rowspacing",ae(f));var p="",m="";if(t.cols&&t.cols.length>0){var b=t.cols,y="",T=!1,v=0,S=b.length;b[0].type==="separator"&&(p+="top ",v=1),b[b.length-1].type==="separator"&&(p+="bottom ",S-=1);for(var A=v;A<S;A++){var M=b[A];M.type==="align"?(m+=Cy[M.align],T&&(y+="none "),T=!0):M.type==="separator"&&T&&(y+=M.separator==="|"?"solid ":"dashed ",T=!1)}c.setAttribute("columnalign",m.trim()),/[sd]/.test(y)&&c.setAttribute("columnlines",y.trim())}if(t.colSeparationType==="align"){for(var B=t.cols||[],O="",D=1;D<B.length;D++)O+=D%2?"0em ":"1em ";c.setAttribute("columnspacing",O.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?c.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?c.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var z="",U=t.hLinesBeforeRow;p+=U[0].length>0?"left ":"",p+=U[U.length-1].length>0?"right ":"";for(var P=1;P<U.length-1;P++)z+=U[P].length===0?"none ":U[P][0]?"dashed ":"solid ";return/[sd]/.test(z)&&c.setAttribute("rowlines",z.trim()),p!==""&&(c=new re("menclose",[c]),c.setAttribute("notation",p.trim())),t.arraystretch&&t.arraystretch<1&&(c=new re("mstyle",[c]),c.setAttribute("scriptlevel","1")),c},Vm=function(t,r){t.envName.includes("ed")||i0(t);var n=[],a=t.envName.includes("at")?"alignat":"align",i=t.envName==="split",s=Jr(t.parser,{cols:n,addJot:!0,autoTag:i?void 0:bl(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:i?2:void 0,leqno:t.parser.settings.leqno},"display"),u=0,o=0,l={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var c="",f=0;f<r[0].body.length;f++){var p=we(r[0].body[f],"textord");c+=p.text}u=Number(c),o=u*2}var m=!o;s.body.forEach(function(v){for(var S=1;S<v.length;S+=2){var A=we(v[S],"styling"),M=we(A.body[0],"ordgroup");M.body.unshift(l)}if(m)o<v.length&&(o=v.length);else{var B=v.length/2;if(u<B)throw new ee("Too many math in a row: "+("expected "+u+", but got "+B),v[0])}});for(var b=0;b<o;++b){var y="r",T=0;b%2===1?y="l":b>0&&m&&(T=1),n[b]={type:"align",align:y,pregap:T,postgap:0}}return s.colSeparationType=m?"align":"alignat",s};fr({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=e0(t[0]),n=r?[t[0]]:we(t[0],"ordgroup").body,a=n.map(function(s){var u=Zs(s),o=u.text;if("lcr".includes(o))return{type:"align",align:o};if(o==="|")return{type:"separator",separator:"|"};if(o===":")return{type:"separator",separator:":"};throw new ee("Unknown column alignment: "+o,s)}),i={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return Jr(e.parser,i,yl(e.envName))},htmlBuilder:hr,mathmlBuilder:dr});fr({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(e.envName.charAt(e.envName.length-1)==="*"){var a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,!"lcr".includes(r))throw new ee("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var i=Jr(e.parser,n,yl(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:hr,mathmlBuilder:dr});fr({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:hr,mathmlBuilder:dr});fr({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=e0(t[0]),n=r?[t[0]]:we(t[0],"ordgroup").body,a=n.map(function(u){var o=Zs(u),l=o.text;if("lc".includes(l))return{type:"align",align:l};throw new ee("Unknown column alignment: "+l,u)});if(a.length>1)throw new ee("{subarray} can contain only one column");var i={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5},s=Jr(e.parser,i,"script");if(s.body.length>0&&s.body[0].length>1)throw new ee("{subarray} can contain only one column");return s},htmlBuilder:hr,mathmlBuilder:dr});fr({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,yl(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:hr,mathmlBuilder:dr});fr({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Vm,htmlBuilder:hr,mathmlBuilder:dr});fr({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){ky.has(e.envName)&&i0(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:bl(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Jr(e.parser,t,"display")},htmlBuilder:hr,mathmlBuilder:dr});fr({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Vm,htmlBuilder:hr,mathmlBuilder:dr});fr({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){i0(e);var t={autoTag:bl(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Jr(e.parser,t,"display")},htmlBuilder:hr,mathmlBuilder:dr});fr({type:"array",names:["CD"],props:{numArgs:0},handler(e){return i0(e),my(e.parser)},htmlBuilder:hr,mathmlBuilder:dr});x("\\nonumber","\\gdef\\@eqnsw{0}");x("\\notag","\\nonumber");oe({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new ee(e.funcName+" valid only within array environment")}});var H1=$m;oe({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new ee("Invalid environment name",a);for(var i="",s=0;s<a.body.length;++s)i+=we(a.body[s],"textord").text;if(n==="\\begin"){if(!H1.hasOwnProperty(i))throw new ee("No such environment: "+i,a);var u=H1[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=we(r.parseFunction(),"environment");if(m.name!==i)throw new ee("Mismatch: \\begin{"+i+"} matched by \\end{"+m.name+"}",p);return f}return{type:"environment",mode:r.mode,name:i,nameGroup:a}}});var Wm=(e,t)=>{var r=e.font,n=t.withFont(r);return Fe(e.body,n)},Gm=(e,t)=>{var r=e.font,n=t.withFont(r);return je(e.body,n)},U1={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};oe({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=xs(t[0]),i=n;return i in U1&&(i=U1[i]),{type:"font",mode:r.mode,font:i.slice(1),body:a}},htmlBuilder:Wm,mathmlBuilder:Gm});oe({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:t0(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:Cr(n)}}});oe({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:i}=r,s=r.parseExpression(!0,a),u="math"+n.slice(1);return{type:"font",mode:i,font:u,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:Wm,mathmlBuilder:Gm});var Iy=(e,t)=>{var r=t.style,n=r.fracNum(),a=r.fracDen(),i;i=t.havingStyle(n);var s=Fe(e.numer,i,t);if(e.continued){var u=8.5/t.fontMetrics().ptPerEm,o=3.5/t.fontMetrics().ptPerEm;s.height=s.height<u?u:s.height,s.depth=s.depth<o?o:s.depth}i=t.havingStyle(a);var l=Fe(e.denom,i,t),c,f,p;e.hasBarLine?(e.barSize?(f=Qe(e.barSize,t),c=Wn("frac-line",t,f)):c=Wn("frac-line",t),f=c.height,p=c.height):(c=null,f=0,p=t.fontMetrics().defaultRuleThickness);var m,b,y;r.size===xe.DISPLAY.size?(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 T;if(c){var S=t.fontMetrics().axisHeight;m-s.depth-(S+.5*f)<b&&(m+=b-(m-s.depth-(S+.5*f))),S-.5*f-(l.height-y)<b&&(y+=b-(S-.5*f-(l.height-y)));var A=-(S-.5*f);T=Pe({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:c,shift:A},{type:"elem",elem:s,shift:-m}]})}else{var v=m-s.depth-(l.height-y);v<b&&(m+=.5*(b-v),y+=.5*(b-v)),T=Pe({positionType:"individualShift",children:[{type:"elem",elem:l,shift:y},{type:"elem",elem:s,shift:-m}]})}i=t.havingStyle(r),T.height*=i.sizeMultiplier/t.sizeMultiplier,T.depth*=i.sizeMultiplier/t.sizeMultiplier;var M;r.size===xe.DISPLAY.size?M=t.fontMetrics().delim1:r.size===xe.SCRIPTSCRIPT.size?M=t.havingStyle(xe.SCRIPT).fontMetrics().delim2:M=t.fontMetrics().delim2;var B,O;return e.leftDelim==null?B=Wa(t,["mopen"]):B=to(e.leftDelim,M,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?O=X([]):e.rightDelim==null?O=Wa(t,["mclose"]):O=to(e.rightDelim,M,!0,t.havingStyle(r),e.mode,["mclose"]),X(["mord"].concat(i.sizingClasses(t)),[B,X(["mfrac"],[T]),O],t)},_y=(e,t)=>{var r=new re("mfrac",[je(e.numer,t),je(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=Qe(e.barSize,t);r.setAttribute("linethickness",ae(n))}if(e.leftDelim!=null||e.rightDelim!=null){var a=[];if(e.leftDelim!=null){var i=new re("mo",[new it(e.leftDelim.replace("\\",""))]);i.setAttribute("fence","true"),a.push(i)}if(a.push(r),e.rightDelim!=null){var s=new re("mo",[new it(e.rightDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}return dl(a)}return r},Xm=(e,t)=>{if(!t)return e;var r={type:"styling",mode:e.mode,style:t,body:[e]};return r};oe({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=t[1],s,u=null,o=null;switch(n){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,u="(",o=")";break;case"\\\\bracefrac":s=!1,u="\\{",o="\\}";break;case"\\\\brackfrac":s=!1,u="[",o="]";break;default:throw new Error("Unrecognized genfrac command")}var l=n==="\\cfrac",c=null;return l||n.startsWith("\\d")?c="display":n.startsWith("\\t")&&(c="text"),Xm({type:"genfrac",mode:r.mode,numer:a,denom:i,continued:l,hasBarLine:s,leftDelim:u,rightDelim:o,barSize:null},c)},htmlBuilder:Iy,mathmlBuilder:_y});oe({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var j1=["display","text","script","scriptscript"],q1=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};oe({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],i=xs(t[0]),s=i.type==="atom"&&i.family==="open"?q1(i.text):null,u=xs(t[1]),o=u.type==="atom"&&u.family==="close"?q1(u.text):null,l=we(t[2],"size"),c,f=null;l.isBlank?c=!0:(f=l.value,c=f.number>0);var p=null,m=t[3];if(m.type==="ordgroup"){if(m.body.length>0){var b=we(m.body[0],"textord");p=j1[Number(b.text)]}}else m=we(m,"textord"),p=j1[Number(m.text)];return Xm({type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:c,barSize:f,leftDelim:s,rightDelim:o},p)}});oe({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:we(t[0],"size").value,token:a}}});oe({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],i=we(t[1],"infix").size;if(!i)throw new Error("\\\\abovefrac expected size, but got "+String(i));var s=t[2],u=i.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:s,continued:!1,hasBarLine:u,barSize:i,leftDelim:null,rightDelim:null}}});var Km=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?Fe(e.sup,t.havingStyle(r.sup()),t):Fe(e.sub,t.havingStyle(r.sub()),t),a=we(e.base,"horizBrace")):a=we(e,"horizBrace");var i=Fe(a.base,t.havingBaseStyle(xe.DISPLAY)),s=Js(a,t),u;if(a.isOver?(u=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]}),u.children[0].children[0].children[1].classes.push("svg-align")):(u=Pe({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]}),u.children[0].children[0].children[0].classes.push("svg-align")),n){var o=X(["minner",a.isOver?"mover":"munder"],[u],t);a.isOver?u=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.2},{type:"elem",elem:n}]}):u=Pe({positionType:"bottom",positionData:o.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:o}]})}return X(["minner",a.isOver?"mover":"munder"],[u],t)},Ny=(e,t)=>{var r=Qs(e.label);return new re(e.isOver?"mover":"munder",[je(e.base,t),r])};oe({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:Km,mathmlBuilder:Ny});oe({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=we(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:at(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=ct(e.body,t,!1);return W9(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=Vr(e.body,t);return r instanceof re||(r=new re("mrow",[r])),r.setAttribute("href",e.href),r}});oe({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=we(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],i=0;i<n.length;i++){var s=n[i];s==="~"&&(s="\\textasciitilde"),a.push({type:"textord",mode:"text",text:s})}var u={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:at(u)}}});oe({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:at(t[0])}},htmlBuilder(e,t){var r=ct(e.body,t,!1);return _r(r)},mathmlBuilder(e,t){return new re("mrow",zt(e.body,t))}});oe({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,i=we(t[0],"raw").string,s=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,o={};switch(n){case"\\htmlClass":o.class=i,u={command:"\\htmlClass",class:i};break;case"\\htmlId":o.id=i,u={command:"\\htmlId",id:i};break;case"\\htmlStyle":o.style=i,u={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var l=i.split(","),c=0;c<l.length;c++){var f=l[c],p=f.indexOf("=");if(p<0)throw new ee("\\htmlData key/value '"+f+"' missing equals sign");var 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:at(s)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=ct(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=X(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)});oe({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:at(t[0]),mathml:at(t[1])}},htmlBuilder:(e,t)=>{var r=ct(e.html,t,!1);return _r(r)},mathmlBuilder:(e,t)=>Vr(e.mathml,t)});var tu=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new ee("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!dm(n))throw new ee("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};oe({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},u="";if(r[0])for(var o=we(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=tu(p);break;case"height":i=tu(p);break;case"totalheight":s=tu(p);break;default:throw new ee("Invalid key: '"+f[0]+"' in \\includegraphics.")}}}var m=we(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=Qe(e.height,t),n=0;e.totalheight.number>0&&(n=Qe(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=Qe(e.width,t));var i={height:ae(r+n)};a>0&&(i.width=ae(a)),n>0&&(i.verticalAlign=ae(-n));var s=new M9(e.src,e.alt,i);return s.height=r,s.depth=n,s},mathmlBuilder:(e,t)=>{var r=new re("mglyph",[]);r.setAttribute("alt",e.alt);var n=Qe(e.height,t),a=0;if(e.totalheight.number>0&&(a=Qe(e.totalheight,t)-n,r.setAttribute("valign",ae(-a))),r.setAttribute("height",ae(n+a)),e.width.number>0){var i=Qe(e.width,t);r.setAttribute("width",ae(i))}return r.setAttribute("src",e.src),r}});oe({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=we(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 Em(e.dimension,t)},mathmlBuilder(e,t){var r=Qe(e.dimension,t);return new Sm(r)}});oe({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=X([],[Fe(e.body,t)]),r=X(["inner"],[r],t)):r=X(["inner"],[Fe(e.body,t)]);var n=X(["fix"],[]),a=X([e.alignment],[r,n],t),i=X(["strut"]);return i.style.height=ae(a.height+a.depth),a.depth&&(i.style.verticalAlign=ae(-a.depth)),a.children.unshift(i),a=X(["thinbox"],[a],t),X(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new re("mpadded",[je(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});oe({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var i=r==="\\("?"\\)":"$",s=n.parseExpression(!1,i);return n.expect(i),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:s}}});oe({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new ee("Mismatched "+e.funcName)}});var $1=(e,t)=>{switch(t.style.size){case xe.DISPLAY.size:return e.display;case xe.TEXT.size:return e.text;case xe.SCRIPT.size:return e.script;case xe.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};oe({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:at(t[0]),text:at(t[1]),script:at(t[2]),scriptscript:at(t[3])}},htmlBuilder:(e,t)=>{var r=$1(e,t),n=ct(r,t,!1);return _r(n)},mathmlBuilder:(e,t)=>{var r=$1(e,t);return Vr(r,t)}});var Qm=(e,t,r,n,a,i,s)=>{e=X([],[e]);var u=r&&Cr(r),o,l;if(t){var c=Fe(t,n.havingStyle(a.sup()),n);l={elem:c,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-c.depth)}}if(r){var f=Fe(r,n.havingStyle(a.sub()),n);o={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}var p;if(l&&o){var m=n.fontMetrics().bigOpSpacing5+o.elem.height+o.elem.depth+o.kern+e.depth+s;p=Pe({positionType:"bottom",positionData:m,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ae(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ae(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else if(o){var b=e.height-s;p=Pe({positionType:"top",positionData:b,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:o.elem,marginLeft:ae(-i)},{type:"kern",size:o.kern},{type:"elem",elem:e}]})}else if(l){var y=e.depth+s;p=Pe({positionType:"bottom",positionData:y,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:ae(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}else return e;var T=[p];if(o&&i!==0&&!u){var v=X(["mspace"],[],n);v.style.marginRight=ae(i),T.unshift(v)}return X(["mop","op-limits"],T,n)},Jm=new Set(["\\smallint"]),sa=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=we(e.base,"op"),a=!0):i=we(e,"op");var s=t.style,u=!1;s.size===xe.DISPLAY.size&&i.symbol&&!Jm.has(i.name)&&(u=!0);var o;if(i.symbol){var l=u?"Size2-Regular":"Size1-Regular",c="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(c=i.name.slice(1),i.name=c==="oiint"?"\\iint":"\\iiint"),o=vt(i.name,l,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),c.length>0){var f=o.italic,p=Tm(c+"Size"+(u?"2":"1"),t);o=Pe({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:p,shift:u?.08:0}]}),i.name="\\"+c,o.classes.unshift("mop"),o.italic=f}}else if(i.body){var m=ct(i.body,t,!0);m.length===1&&m[0]instanceof Ft?(o=m[0],o.classes[0]="mop"):o=X(["mop"],m,t)}else{for(var b=[],y=1;y<i.name.length;y++)b.push(fl(i.name[y],i.mode,t));o=X(["mop"],b,t)}var T=0,v=0;return(o instanceof Ft||i.name==="\\oiint"||i.name==="\\oiiint")&&!i.suppressBaseShift&&(T=(o.height-o.depth)/2-t.fontMetrics().axisHeight,v=o.italic||0),a?Qm(o,r,n,t,s,v,T):(T&&(o.style.position="relative",o.style.top=ae(T)),o)},ci=(e,t)=>{var r;if(e.symbol)r=new re("mo",[Vt(e.name,e.mode)]),Jm.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new re("mo",zt(e.body,t));else{r=new re("mi",[new it(e.name.slice(1))]);var n=new re("mo",[Vt("","text")]);e.parentIsSupSub?r=new re("mrow",[r,n]):r=Am([r,n])}return r},Oy={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};oe({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=n;return a.length===1&&(a=Oy[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:sa,mathmlBuilder:ci});oe({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:at(n)}},htmlBuilder:sa,mathmlBuilder:ci});var Ry={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};oe({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:sa,mathmlBuilder:ci});oe({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:sa,mathmlBuilder:ci});oe({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=Ry[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:sa,mathmlBuilder:ci});var Zm=(e,t)=>{var r,n,a=!1,i;e.type==="supsub"?(r=e.sup,n=e.sub,i=we(e.base,"operatorname"),a=!0):i=we(e,"operatorname");var s;if(i.body.length>0){for(var u=i.body.map(f=>{var p="text"in f?f.text:void 0;return typeof p=="string"?{type:"textord",mode:f.mode,text:p}:f}),o=ct(u,t.withFont("mathrm"),!0),l=0;l<o.length;l++){var c=o[l];c instanceof Ft&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=X(["mop"],o,t)}else s=X(["mop"],[],t);return a?Qm(s,r,n,t,t.style,0,0):s},Dy=(e,t)=>{for(var r=zt(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var i=r[a];if(!(i instanceof Sm))if(i instanceof re)switch(i.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":{var s=i.children[0];i.children.length===1&&s instanceof it?s.text=s.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var u=r.map(c=>c.toText()).join("");r=[new it(u)]}var o=new re("mi",r);o.setAttribute("mathvariant","normal");var l=new re("mo",[Vt("","text")]);return e.parentIsSupSub?new re("mrow",[o,l]):Am([o,l])};oe({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:at(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Zm,mathmlBuilder:Dy});x("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");wn({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?_r(ct(e.body,t,!1)):X(["mord"],ct(e.body,t,!0),t)},mathmlBuilder(e,t){return Vr(e.body,t,!0)}});oe({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=Fe(e.body,t.havingCrampedStyle()),n=Wn("overline-line",t),a=t.fontMetrics().defaultRuleThickness,i=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]});return X(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new re("mo",[new it("‾")]);r.setAttribute("stretchy","true");var n=new re("mover",[je(e.body,t),r]);return n.setAttribute("accent","true"),n}});oe({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:at(n)}},htmlBuilder:(e,t)=>{var r=ct(e.body,t.withPhantom(),!1);return _r(r)},mathmlBuilder:(e,t)=>{var r=zt(e.body,t);return new re("mphantom",r)}});x("\\hphantom","\\smash{\\phantom{#1}}");oe({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=X(["inner"],[Fe(e.body,t.withPhantom())]),n=X(["fix"],[]);return X(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=zt(at(e.body),t),n=new re("mphantom",r),a=new re("mpadded",[n]);return a.setAttribute("width","0px"),a}});oe({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=we(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=Fe(e.body,t),n=Qe(e.dy,t);return Pe({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new re("mpadded",[je(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}});oe({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}});oe({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,a=r[0],i=we(t[0],"size"),s=we(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&we(a,"size").value,width:i.value,height:s.value}},htmlBuilder(e,t){var r=X(["mord","rule"],[],t),n=Qe(e.width,t),a=Qe(e.height,t),i=e.shift?Qe(e.shift,t):0;return r.style.borderRightWidth=ae(n),r.style.borderTopWidth=ae(a),r.style.bottom=ae(i),r.width=n,r.height=a+i,r.depth=-i,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=Qe(e.width,t),n=Qe(e.height,t),a=e.shift?Qe(e.shift,t):0,i=t.color&&t.getColor()||"black",s=new re("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",ae(r)),s.setAttribute("height",ae(n));var u=new re("mpadded",[s]);return a>=0?u.setAttribute("height",ae(a)):(u.setAttribute("height",ae(a)),u.setAttribute("depth",ae(-a))),u.setAttribute("voffset",ae(a)),u}});function ep(e,t,r){for(var n=ct(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var s=n[i].classes.indexOf("sizing");s<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[s+1]==="reset-size"+t.size&&(n[i].classes[s+1]="reset-size"+r.size),n[i].height*=a,n[i].depth*=a}return _r(n)}var Y1=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],Ly=(e,t)=>{var r=t.havingSize(e.size);return ep(e.body,r,t)};oe({type:"sizing",names:Y1,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:Y1.indexOf(n)+1,body:i}},htmlBuilder:Ly,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=zt(e.body,r),a=new re("mstyle",n);return a.setAttribute("mathsize",ae(r.sizeMultiplier)),a}});oe({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,i=!1,s=r[0]&&we(r[0],"ordgroup");if(s)for(var u="",o=0;o<s.body.length;++o){var l=s.body[o];if(u=Zs(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=X([],[Fe(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return X(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);var a=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:r}]});return X(["mord"],[a],t)},mathmlBuilder:(e,t)=>{var r=new re("mpadded",[je(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}});oe({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:a}},htmlBuilder(e,t){var r=Fe(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=Gn(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,i=a;t.style.id<xe.TEXT.id&&(i=t.fontMetrics().xHeight);var s=a+i/4,u=r.height+r.depth+s+a,{span:o,ruleWidth:l,advanceWidth:c}=xy(u,t),f=o.height-l;f>r.height+r.depth+s&&(s=(s+f-r.height-r.depth)/2);var p=o.height-r.height-s-l;r.style.paddingLeft=ae(c);var m=Pe({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+p)},{type:"elem",elem:o},{type:"kern",size:l}]});if(e.index){var b=t.havingStyle(xe.SCRIPTSCRIPT),y=Fe(e.index,b,t),T=.6*(m.height-m.depth),v=Pe({positionType:"shift",positionData:-T,children:[{type:"elem",elem:y}]}),S=X(["root"],[v]);return X(["mord","sqrt"],[S,m],t)}else return X(["mord","sqrt"],[m],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new re("mroot",[je(r,t),je(n,t)]):new re("msqrt",[je(r,t)])}});var V1={display:xe.DISPLAY,text:xe.TEXT,script:xe.SCRIPT,scriptscript:xe.SCRIPTSCRIPT};oe({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,i=a.parseExpression(!0,r),s=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:s,body:i}},htmlBuilder(e,t){var r=V1[e.style],n=t.havingStyle(r).withFont("");return ep(e.body,n,t)},mathmlBuilder(e,t){var r=V1[e.style],n=t.havingStyle(r),a=zt(e.body,n),i=new re("mstyle",a),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=s[e.style];return i.setAttribute("scriptlevel",u[0]),i.setAttribute("displaystyle",u[1]),i}});var My=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===xe.DISPLAY.size||n.alwaysHandleSupSub);return a?sa:null}else if(n.type==="operatorname"){var i=n.alwaysHandleSupSub&&(r.style.size===xe.DISPLAY.size||n.limits);return i?Zm:null}else{if(n.type==="accent")return Cr(n.base)?pl:null;if(n.type==="horizBrace"){var s=!t.sub;return s===n.isOver?Km:null}else return null}else return null};wn({type:"supsub",htmlBuilder(e,t){var r=My(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:i}=e,s=Fe(n,t),u,o,l=t.fontMetrics(),c=0,f=0,p=n&&Cr(n);if(a){var m=t.havingStyle(t.style.sup());u=Fe(a,m,t),p||(c=s.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(i){var b=t.havingStyle(t.style.sub());o=Fe(i,b,t),p||(f=s.depth+b.fontMetrics().subDrop*b.sizeMultiplier/t.sizeMultiplier)}var y;t.style===xe.DISPLAY?y=l.sup1:t.style.cramped?y=l.sup3:y=l.sup2;var T=t.sizeMultiplier,v=ae(.5/l.ptPerEm/T),S=null;if(o){var A=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(s instanceof Ft||A)&&(S=ae(-s.italic))}var M;if(u&&o){c=Math.max(c,y,u.depth+.25*l.xHeight),f=Math.max(f,l.sub2);var B=l.defaultRuleThickness,O=4*B;if(c-u.depth-(o.height-f)<O){f=O-(c-u.depth)+o.height;var D=.8*l.xHeight-(c-u.depth);D>0&&(c+=D,f-=D)}var z=[{type:"elem",elem:o,shift:f,marginRight:v,marginLeft:S},{type:"elem",elem:u,shift:-c,marginRight:v}];M=Pe({positionType:"individualShift",children:z})}else if(o){f=Math.max(f,l.sub1,o.height-.8*l.xHeight);var U=[{type:"elem",elem:o,marginLeft:S,marginRight:v}];M=Pe({positionType:"shift",positionData:f,children:U})}else if(u)c=Math.max(c,y,u.depth+.25*l.xHeight),M=Pe({positionType:"shift",positionData:-c,children:[{type:"elem",elem:u,marginRight:v}]});else throw new Error("supsub must have either sup or sub.");var P=Qu(s,"right")||"mord";return X([P],[s,X(["msupsub"],[M])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var i=[je(e.base,t)];e.sub&&i.push(je(e.sub,t)),e.sup&&i.push(je(e.sup,t));var s;if(r)s=n?"mover":"munder";else if(e.sub)if(e.sup){var l=e.base;l&&l.type==="op"&&l.limits&&t.style===xe.DISPLAY||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(t.style===xe.DISPLAY||l.limits)?s="munderover":s="msubsup"}else{var o=e.base;o&&o.type==="op"&&o.limits&&(t.style===xe.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||t.style===xe.DISPLAY)?s="munder":s="msub"}else{var u=e.base;u&&u.type==="op"&&u.limits&&(t.style===xe.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||t.style===xe.DISPLAY)?s="mover":s="msup"}return new re(s,i)}});wn({type:"atom",htmlBuilder(e,t){return fl(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new re("mo",[Vt(e.text,e.mode)]);if(e.family==="bin"){var n=ml(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 tp={mi:"italic",mn:"normal",mtext:"normal"};wn({type:"mathord",htmlBuilder(e,t){return Ks(e,t,"mathord")},mathmlBuilder(e,t){var r=new re("mi",[Vt(e.text,e.mode,t)]),n=ml(e,t)||"italic";return n!==tp[r.type]&&r.setAttribute("mathvariant",n),r}});wn({type:"textord",htmlBuilder(e,t){return Ks(e,t,"textord")},mathmlBuilder(e,t){var r=Vt(e.text,e.mode,t),n=ml(e,t)||"normal",a;return e.mode==="text"?a=new re("mtext",[r]):/[0-9]/.test(e.text)?a=new re("mn",[r]):e.text==="\\prime"?a=new re("mo",[r]):a=new re("mi",[r]),n!==tp[a.type]&&a.setAttribute("mathvariant",n),a}});var ru={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},nu={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};wn({type:"spacing",htmlBuilder(e,t){if(nu.hasOwnProperty(e.text)){var r=nu[e.text].className||"";if(e.mode==="text"){var n=Ks(e,t,"textord");return n.classes.push(r),n}else return X(["mspace",r],[fl(e.text,e.mode,t)],t)}else{if(ru.hasOwnProperty(e.text))return X(["mspace",ru[e.text]],[],t);throw new ee('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(nu.hasOwnProperty(e.text))r=new re("mtext",[new it(" ")]);else{if(ru.hasOwnProperty(e.text))return new re("mspace");throw new ee('Unknown type of space "'+e.text+'"')}return r}});var W1=()=>{var e=new re("mtd",[]);return e.setAttribute("width","50%"),e};wn({type:"tag",mathmlBuilder(e,t){var r=new re("mtable",[new re("mtr",[W1(),new re("mtd",[Vr(e.body,t)]),W1(),new re("mtd",[Vr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var G1={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},X1={"\\textbf":"textbf","\\textmd":"textmd"},Py={"\\textit":"textit","\\textup":"textup"},K1=(e,t)=>{var r=e.font;if(r){if(G1[r])return t.withTextFontFamily(G1[r]);if(X1[r])return t.withTextFontWeight(X1[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(Py[r])};oe({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"text",mode:r.mode,body:at(a),font:n}},htmlBuilder(e,t){var r=K1(e,t),n=ct(e.body,r,!0);return X(["mord","text"],n,r)},mathmlBuilder(e,t){var r=K1(e,t);return Vr(e.body,r)}});oe({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Fe(e.body,t),n=Wn("underline-line",t),a=t.fontMetrics().defaultRuleThickness,i=Pe({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]});return X(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new re("mo",[new it("‾")]);r.setAttribute("stretchy","true");var n=new re("munder",[je(e.body,t),r]);return n.setAttribute("accentunder","true"),n}});oe({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=Fe(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return Pe({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){return new re("mpadded",[je(e.body,t)],["vcenter"])}});oe({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new ee("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Q1(e),n=[],a=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var s=r[i];s==="~"&&(s="\\textasciitilde"),n.push(vt(s,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return X(["mord","text"].concat(a.sizingClasses(t)),ym(n),a)},mathmlBuilder(e,t){var r=new it(Q1(e)),n=new re("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Q1=e=>e.body.replace(/ /g,e.star?"␣":" "),Ur=vm,rp=`[ \r
|
|
286
|
-
]`,Fy="\\\\[a-zA-Z@]+",By="\\\\[^\uD800-\uDFFF]",zy="("+Fy+")"+rp+"*",Hy=`\\\\(
|
|
287
|
-
|[ \r ]+
|
|
288
|
-
?)[ \r ]*`,ro="[̀-ͯ]",Uy=new RegExp(ro+"+$"),jy="("+rp+"+)|"+(Hy+"|")+"([!-\\[\\]-‧-豈-]"+(ro+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ro+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+zy)+("|"+By+")");class J1{constructor(t,r){this.input=t,this.settings=r,this.tokenRegex=new RegExp(jy,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new Pt("EOF",new It(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new ee("Unexpected character: '"+t[r]+"'",new Pt(t[r],new It(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var i=t.indexOf(`
|
|
289
|
-
`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new Pt(a,new It(this,r,this.tokenRegex.lastIndex))}}class qy{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new ee("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(t)&&(i[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var $y=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 Z1={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};x("\\char",function(e){var t=e.popToken(),r,n=0;if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new ee("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=Z1[t.text],n==null||n>=r)throw new ee("Invalid base-"+r+" digit "+t.text);for(var a;(a=Z1[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var El=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new ee("\\newcommand's first argument must be a macro name");var i=a[0].text,s=e.isDefined(i);if(s&&!t)throw new ee("\\newcommand{"+i+"} attempting to redefine "+(i+"; use \\renewcommand"));if(!s&&!r)throw new ee("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var u=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var o="",l=e.expandNextToken();l.text!=="]"&&l.text!=="EOF";)o+=l.text,l=e.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new ee("Invalid number of arguments: "+o);u=parseInt(o),a=e.consumeArg().tokens}return s&&n||e.macros.set(i,{tokens:a,numArgs:u}),""};x("\\newcommand",e=>El(e,!1,!0,!1));x("\\renewcommand",e=>El(e,!0,!1,!1));x("\\providecommand",e=>El(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),Ur[r],We.math[r],We.text[r]),""});x("\\bgroup","{");x("\\egroup","}");x("~","\\nobreakspace");x("\\lq","`");x("\\rq","'");x("\\aa","\\r a");x("\\AA","\\r A");x("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");x("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");x("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");x("ℬ","\\mathscr{B}");x("ℰ","\\mathscr{E}");x("ℱ","\\mathscr{F}");x("ℋ","\\mathscr{H}");x("ℐ","\\mathscr{I}");x("ℒ","\\mathscr{L}");x("ℳ","\\mathscr{M}");x("ℛ","\\mathscr{R}");x("ℭ","\\mathfrak{C}");x("ℌ","\\mathfrak{H}");x("ℨ","\\mathfrak{Z}");x("\\Bbbk","\\Bbb{k}");x("\\llap","\\mathllap{\\textrm{#1}}");x("\\rlap","\\mathrlap{\\textrm{#1}}");x("\\clap","\\mathclap{\\textrm{#1}}");x("\\mathstrut","\\vphantom{(}");x("\\underbar","\\underline{\\text{#1}}");x("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}');x("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");x("\\ne","\\neq");x("≠","\\neq");x("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");x("∉","\\notin");x("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");x("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");x("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");x("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");x("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");x("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");x("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");x("⟂","\\perp");x("‼","\\mathclose{!\\mkern-0.8mu!}");x("∌","\\notni");x("⌜","\\ulcorner");x("⌝","\\urcorner");x("⌞","\\llcorner");x("⌟","\\lrcorner");x("©","\\copyright");x("®","\\textregistered");x("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');x("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');x("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');x("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');x("\\vdots","{\\varvdots\\rule{0pt}{15pt}}");x("⋮","\\vdots");x("\\varGamma","\\mathit{\\Gamma}");x("\\varDelta","\\mathit{\\Delta}");x("\\varTheta","\\mathit{\\Theta}");x("\\varLambda","\\mathit{\\Lambda}");x("\\varXi","\\mathit{\\Xi}");x("\\varPi","\\mathit{\\Pi}");x("\\varSigma","\\mathit{\\Sigma}");x("\\varUpsilon","\\mathit{\\Upsilon}");x("\\varPhi","\\mathit{\\Phi}");x("\\varPsi","\\mathit{\\Psi}");x("\\varOmega","\\mathit{\\Omega}");x("\\substack","\\begin{subarray}{c}#1\\end{subarray}");x("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");x("\\boxed","\\fbox{$\\displaystyle{#1}$}");x("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");x("\\implies","\\DOTSB\\;\\Longrightarrow\\;");x("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");x("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}");x("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var ef={",":"\\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"},Yy=new Set(["bin","rel"]);x("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in ef?t=ef[r]:(r.slice(0,4)==="\\not"||r in We.math&&Yy.has(We.math[r].group))&&(t="\\dotsb"),t});var xl={")":!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 xl?"\\ldots\\,":"\\ldots"});x("\\dotsc",function(e){var t=e.future().text;return t in xl&&t!==","?"\\ldots\\,":"\\ldots"});x("\\cdots",function(e){var t=e.future().text;return t in xl?"\\@cdots\\,":"\\@cdots"});x("\\dotsb","\\cdots");x("\\dotsm","\\cdots");x("\\dotsi","\\!\\cdots");x("\\dotsx","\\ldots\\,");x("\\DOTSI","\\relax");x("\\DOTSB","\\relax");x("\\DOTSX","\\relax");x("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");x("\\,","\\tmspace+{3mu}{.1667em}");x("\\thinspace","\\,");x("\\>","\\mskip{4mu}");x("\\:","\\tmspace+{4mu}{.2222em}");x("\\medspace","\\:");x("\\;","\\tmspace+{5mu}{.2777em}");x("\\thickspace","\\;");x("\\!","\\tmspace-{3mu}{.1667em}");x("\\negthinspace","\\!");x("\\negmedspace","\\tmspace-{4mu}{.2222em}");x("\\negthickspace","\\tmspace-{5mu}{.277em}");x("\\enspace","\\kern.5em ");x("\\enskip","\\hskip.5em\\relax");x("\\quad","\\hskip1em\\relax");x("\\qquad","\\hskip2em\\relax");x("\\tag","\\@ifstar\\tag@literal\\tag@paren");x("\\tag@paren","\\tag@literal{({#1})}");x("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new ee("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});x("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");x("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");x("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");x("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");x("\\newline","\\\\\\relax");x("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var np=ae(sr["Main-Regular"][84][1]-.7*sr["Main-Regular"][65][1]);x("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+np+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");x("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+np+"}{\\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 ap=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",ap(!1));x("\\bra@set",ap(!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 ip={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Vy{constructor(t,r,n){this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new qy($y,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new J1(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new Pt("EOF",n.loc)),this.pushTokens(a),new Pt("",It.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),i,s=0,u=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new ee("Extra }",i)}else if(i.text==="EOF")throw new ee("Unexpected end of input in a macro argument, expected '"+(t&&n?t[u]:"}")+"'",i);if(t&&n)if((s===0||s===1&&t[u]==="{")&&i.text===t[u]){if(++u,u===t.length){r.splice(-u,u);break}}else u=0}while(s!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:i}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new ee("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var i=this.popToken();if(n[a]!==i.text)throw new ee("Use of the macro doesn't match its definition",i)}}for(var s=[],u=0;u<t;u++)s.push(this.consumeArg(r&&r[u+1]).tokens);return s}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new ee("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new ee("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var i=a.tokens,s=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){i=i.slice();for(var u=i.length-1;u>=0;--u){var o=i[u];if(o.text==="#"){if(u===0)throw new ee("Incomplete placeholder at end of macro body",o);if(o=i[--u],o.text==="#")i.splice(u+1,1);else if(/^[1-9]$/.test(o.text))i.splice(u,2,...s[+o.text-1]);else throw new ee("Not a valid argument number",o)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}}expandMacro(t){return this.macros.has(t)?this.expandTokens([new Pt(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var i=0;if(a.includes("#"))for(var s=a.replace(/##/g,"");s.includes("#"+(i+1));)++i;for(var u=new J1(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)||Ur.hasOwnProperty(t)||We.math.hasOwnProperty(t)||We.text.hasOwnProperty(t)||ip.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Ur.hasOwnProperty(t)&&!Ur[t].primitive}}var tf=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Bi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),au={"́":{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"}},rf={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};let sp=class up{constructor(t,r){this.mode="math",this.gullet=new Vy(t,r,this.mode),this.settings=r,this.leftrightDepth=0,this.nextToken=null}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new ee("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new Pt("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(up.endOfExpression.has(a.text)||r&&a.text===r||t&&Ur[a.text]&&Ur[a.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;n.push(i)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++){var i=t[a];if(i.type==="infix"){if(r!==-1)throw new ee("only one infix operator per group",i.token);r=a,n=i.replaceWith}}if(r!==-1&&n){var s,u,o=t.slice(0,r),l=t.slice(r+1);o.length===1&&o[0].type==="ordgroup"?s=o[0]:s={type:"ordgroup",mode:this.mode,body:o},l.length===1&&l[0].type==="ordgroup"?u=l[0]:u={type:"ordgroup",mode:this.mode,body:l};var c;return n==="\\\\abovefrac"?c=this.callFunction(n,[s,t[r],u],[]):c=this.callFunction(n,[s,u],[]),[c]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var i;a=this.parseGroup(t)}while(((i=a)==null?void 0:i.type)==="internal");if(!a)throw new ee("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},i={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return i}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var i=this.fetch();if(i.text==="\\limits"||i.text==="\\nolimits"){if(r&&r.type==="op"){var s=i.text==="\\limits";r.limits=s,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=i.text==="\\limits");else throw new ee("Limit controls must follow a math operator",i);this.consume()}else if(i.text==="^"){if(n)throw new ee("Double superscript",i);n=this.handleSupSubscript("superscript")}else if(i.text==="_"){if(a)throw new ee("Double subscript",i);a=this.handleSupSubscript("subscript")}else if(i.text==="'"){if(n)throw new ee("Double superscript",i);var u={type:"textord",mode:this.mode,text:"\\prime"},o=[u];for(this.consume();this.fetch().text==="'";)o.push(u),this.consume();this.fetch().text==="^"&&o.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:o}}else if(Bi[i.text]){var l=tf.test(i.text),c=[];for(c.push(new Pt(Bi[i.text])),this.consume();;){var f=this.fetch().text;if(!Bi[f]||tf.test(f)!==l)break;c.unshift(new Pt(Bi[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=Ur[a];if(!i)return null;if(this.consume(),r&&r!=="atom"&&!i.allowedInArgument)throw new ee("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!i.allowedInText)throw new ee("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&i.allowedInMath===!1)throw new ee("Can't use function '"+a+"' in math mode",n);var{args:s,optArgs:u}=this.parseArguments(a,i);return this.callFunction(a,s,u,n,t)}callFunction(t,r,n,a,i){var s={funcName:t,parser:this,token:a,breakOnTokenText:i},u=Ur[t];if(u&&u.handler)return u.handler(s,r,n);throw new ee("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],i=[],s=0;s<n;s++){var u=r.argTypes&&r.argTypes[s],o=s<r.numOptionalArgs;("primitive"in r&&r.primitive&&u==null||r.type==="sqrt"&&s===1&&i[0]==null)&&(u="primitive");var l=this.parseGroupOfType("argument to '"+t+"'",u,o);if(o)i.push(l);else if(l!=null)a.push(l);else throw new ee("Null argument, please report this as a bug")}return{args:a,optArgs:i}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var i=this.parseStringGroup("raw",n);return i!=null?{type:"raw",mode:"text",string:i.text}:null}case"primitive":{if(n)throw new ee("A primitive argument cannot be optional");var s=this.parseGroup(t);if(s==null)throw new ee("Expected group as "+t,this.fetch());return s}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new ee("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",i;(i=this.fetch()).text!=="EOF";)a+=i.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,i="",s;(s=this.fetch()).text!=="EOF"&&t.test(i+s.text);)a=s,i+=a.text,this.consume();if(i==="")throw new ee("Invalid "+r+": '"+n.text+"'",n);return n.range(a,i)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new ee("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new ee("Invalid size: '"+r.text+"'",r);var i={number:+(a[1]+a[2]),unit:a[3]};if(!dm(i))throw new ee("Invalid unit: '"+i.unit+"'",r);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var s={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return r&&this.switchMode(a),s}parseGroup(t,r){var n=this.fetch(),a=n.text,i;if(a==="{"||a==="\\begingroup"){this.consume();var s=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var u=this.parseExpression(!1,s),o=this.fetch();this.expect(s),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:It.range(n,o),body:u,semisimple:a==="\\begingroup"||void 0}}else if(i=this.parseFunction(r,t)||this.parseSymbol(),i==null&&a[0]==="\\"&&!ip.hasOwnProperty(a)){if(this.settings.throwOnError)throw new ee("Undefined control sequence: "+a,n);i=this.formatUnsupportedCmd(a),this.consume()}return i}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n];if(a.type==="textord"){var i=a.text,s=t[n+1];if(!(!s||s.type!=="textord")){if(i==="-"&&s.text==="-"){var u=t[n+2];n+1<r&&u&&u.type==="textord"&&u.text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:It.range(a,u),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:It.range(a,s),text:"--"}),r-=1)}(i==="'"||i==="`")&&s.text===i&&(t.splice(n,2,{type:"textord",mode:"text",loc:It.range(a,s),text:i+i}),r-=1)}}}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new ee(`\\verb assertion failed --
|
|
290
|
-
please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}rf.hasOwnProperty(r[0])&&!We[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=rf[r[0]]+r.slice(1));var i=Uy.exec(r);i&&(r=r.substring(0,i.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var s;if(We[this.mode][r]){this.settings.strict&&this.mode==="math"&&Wu.includes(r)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var u=We[this.mode][r].group,o=It.range(t),l;if(j9.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&&(hm(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),s={type:"textord",mode:"text",loc:It.range(t),text:r};else return null;if(this.consume(),i)for(var f=0;f<i[0].length;f++){var p=i[0][f];if(!au[p])throw new ee("Unknown accent ' "+p+"'",t);var m=au[p][this.mode]||au[p].text;if(!m)throw new ee("Accent "+p+" unsupported in "+this.mode+" mode",t);s={type:"accent",mode:this.mode,loc:It.range(t),label:m,isStretchy:!1,isShifty:!0,base:s}}return s}};sp.endOfExpression=new Set(["}","\\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 sp(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new ee("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new Pt("\\df@tag")])}]}return a},op=function(t,r,n){r.textContent="";var a=vl(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."),op=function(){throw new ee("KaTeX doesn't work in quirks mode.")});var Wy=function(t,r){var n=vl(t,r).toMarkup();return n},Gy=function(t,r){var n=new ol(r);return Tl(t,n)},lp=function(t,r,n){if(n.throwOnError||!(t instanceof ee))throw t;var a=X(["katex-error"],[new Ft(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},vl=function(t,r){var n=new ol(r);try{var a=Tl(t,n);return ay(a,t,n)}catch(i){return lp(i,t,n)}},Xy=function(t,r){var n=new ol(r);try{var a=Tl(t,n);return iy(a,t,n)}catch(i){return lp(i,t,n)}},Ky="0.16.44",Qy={Span:aa,Anchor:Gs,SymbolNode:Ft,SvgNode:Ar,PathNode:$r,LineNode:Vu},nf={version:Ky,render:op,renderToString:Wy,ParseError:ee,SETTINGS_SCHEMA:qu,__parse:Gy,__renderToDomTree:vl,__renderToHTMLTree:Xy,__setFontMetrics:H9,__defineSymbol:d,__defineFunction:oe,__defineMacro:x,__domTree:Qy};const Jy={};function Zy(e){const t=this,r=e||Jy,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(l9(r)),i.push(t9()),s.push(r9(r))}function af(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 eE(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function cp(e,t,r){const a=ui((r||{}).ignore||[]),i=tE(t);let s=-1;for(;++s<i.length;)il(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 T=f.children.indexOf(l);let v=!1,S=[];p.lastIndex=0;let A=p.exec(l.value);for(;A;){const M=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=M+1:(b!==M&&S.push({type:"text",value:l.value.slice(b,M)}),Array.isArray(O)?S.push(...O):O&&S.push(O),b=M+A[0].length,v=!0),!p.global)break;A=p.exec(l.value)}return v?(b<l.value.length&&S.push({type:"text",value:l.value.slice(b)}),f.children.splice(T,1,...S)):S=[l],T+S.length}}function tE(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([rE(a[0]),nE(a[1])])}return t}function rE(e){return typeof e=="string"?new RegExp(eE(e),"g"):e}function nE(e){return typeof e=="function"?e:function(){return e}}const iu="phrasing",su=["autolink","link","image","label"];function aE(){return{transforms:[fE],enter:{literalAutolink:sE,literalAutolinkEmail:uu,literalAutolinkHttp:uu,literalAutolinkWww:uu},exit:{literalAutolink:cE,literalAutolinkEmail:lE,literalAutolinkHttp:uE,literalAutolinkWww:oE}}}function iE(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:iu,notInConstruct:su},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:iu,notInConstruct:su},{character:":",before:"[ps]",after:"\\/",inConstruct:iu,notInConstruct:su}]}}function sE(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function uu(e){this.config.enter.autolinkProtocol.call(this,e)}function uE(e){this.config.exit.autolinkProtocol.call(this,e)}function oE(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 lE(e){this.config.exit.autolinkEmail.call(this,e)}function cE(e){this.exit(e)}function fE(e){cp(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,hE],[/([-.\w+]+)@([-\w]+(?:\.[-\w]+)+)/g,dE]],{ignore:["link","linkReference"]})}function hE(e,t,r,n,a){let i="";if(!fp(a)||(/^w/i.test(t)&&(r=t+r,t="",i="http://"),!mE(r)))return!1;const s=pE(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 dE(e,t,r,n){return!fp(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function mE(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 pE(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=af(e,"(");let i=af(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 fp(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||yn(r)||qs(r))&&(!t||r!==47)}hp.peek=AE;function gE(){this.buffer()}function bE(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function yE(){this.buffer()}function EE(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function xE(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 TE(e){this.exit(e)}function vE(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 wE(e){this.exit(e)}function AE(){return"["}function hp(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:gE,gfmFootnoteCall:bE,gfmFootnoteDefinitionLabelString:yE,gfmFootnoteDefinition:EE},exit:{gfmFootnoteCallString:xE,gfmFootnoteCall:TE,gfmFootnoteDefinitionLabelString:vE,gfmFootnoteDefinition:wE}}}function kE(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:hp},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,i,s){const u=i.createTracker(s);let o=u.move("[^");const l=i.enter("footnoteDefinition"),c=i.enter("label");return o+=u.move(i.safe(i.associationId(n),{before:o,after:"]"})),c(),o+=u.move("]:"),n.children&&n.children.length>0&&(u.shift(4),o+=u.move((t?`
|
|
291
|
-
`:" ")+i.indentLines(i.containerFlow(n,u.current()),t?dp:CE))),l(),o}}function CE(e,t,r){return t===0?e:dp(e,t,r)}function dp(e,t,r){return(r?"":" ")+e}const IE=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];mp.peek=DE;function _E(){return{canContainEols:["delete"],enter:{strikethrough:OE},exit:{strikethrough:RE}}}function NE(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:IE}],handlers:{delete:mp}}}function OE(e){this.enter({type:"delete",children:[]},e)}function RE(e){this.exit(e)}function mp(e,t,r,n){const a=r.createTracker(n),i=r.enter("strikethrough");let s=a.move("~~");return s+=r.containerPhrasing(e,tt(J({},a.current()),{before:s,after:"~"})),s+=a.move("~~"),i(),s}function DE(){return"~"}function LE(e){return e.length}function ME(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||LE,i=[],s=[],u=[],o=[];let l=0,c=-1;for(;++c<e.length;){const y=[],T=[];let v=-1;for(e[c].length>l&&(l=e[c].length);++v<e[c].length;){const S=PE(e[c][v]);if(r.alignDelimiters!==!1){const A=a(S);T[v]=A,(o[v]===void 0||A>o[v])&&(o[v]=A)}y.push(S)}s[c]=y,u[c]=T}let f=-1;if(typeof n=="object"&&"length"in n)for(;++f<l;)i[f]=sf(n[f]);else{const y=sf(n);for(;++f<l;)i[f]=y}f=-1;const p=[],m=[];for(;++f<l;){const y=i[f];let T="",v="";y===99?(T=":",v=":"):y===108?T=":":y===114&&(v=":");let S=r.alignDelimiters===!1?1:Math.max(1,o[f]-T.length-v.length);const A=T+"-".repeat(S)+v;r.alignDelimiters!==!1&&(S=T.length+S+v.length,S>o[f]&&(o[f]=S),m[f]=S),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],T=u[c];f=-1;const v=[];for(;++f<l;){const S=y[f]||"";let A="",M="";if(r.alignDelimiters!==!1){const B=o[f]-(T[f]||0),O=i[f];O===114?A=" ".repeat(B):O===99?B%2?(A=" ".repeat(B/2+.5),M=" ".repeat(B/2-.5)):(A=" ".repeat(B/2),M=A):M=" ".repeat(B)}r.delimiterStart!==!1&&!f&&v.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&S==="")&&(r.delimiterStart!==!1||f)&&v.push(" "),r.alignDelimiters!==!1&&v.push(A),v.push(S),r.alignDelimiters!==!1&&v.push(M),r.padding!==!1&&v.push(" "),(r.delimiterEnd!==!1||f!==l-1)&&v.push("|")}b.push(r.delimiterEnd===!1?v.join("").replace(/ +$/,""):v.join(""))}return b.join(`
|
|
292
|
-
`)}function PE(e){return e==null?"":String(e)}function sf(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 uf={}.hasOwnProperty;function pp(e,t){const r=t||{};function n(a,...i){let s=n.invalid;const u=n.handlers;if(a&&uf.call(a,e)){const o=String(a[e]);s=uf.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 FE(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()),BE);return a(),s}function BE(e,t,r){return">"+(r?"":" ")+e}function zE(e,t){return of(e,t.inConstruct,!0)&&!of(e,t.notInConstruct,!1)}function of(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 lf(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
|
|
293
|
-
`&&zE(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
|
|
294
|
-
`}function HE(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 UE(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 jE(e,t,r,n){const a=UE(r),i=e.value||"",s=a==="`"?"GraveAccent":"Tilde";if(HE(e,r)){const f=r.enter("codeIndented"),p=r.indentLines(i,qE);return f(),p}const u=r.createTracker(n),o=a.repeat(Math.max(fm(i,a)+1,3)),l=r.enter("codeFenced");let c=u.move(o);if(e.lang){const f=r.enter(`codeFencedLang${s}`);c+=u.move(r.safe(e.lang,J({before:c,after:" ",encode:["`"]},u.current()))),f()}if(e.lang&&e.meta){const f=r.enter(`codeFencedMeta${s}`);c+=u.move(" "),c+=u.move(r.safe(e.meta,J({before:c,after:`
|
|
295
|
-
`,encode:["`"]},u.current()))),f()}return c+=u.move(`
|
|
296
|
-
`),i&&(c+=u.move(i+`
|
|
297
|
-
`)),c+=u.move(o),l(),c}function qE(e,t,r){return(r?"":" ")+e}function wl(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function $E(e,t,r,n){const a=wl(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("definition");let u=r.enter("label");const o=r.createTracker(n);let l=o.move("[");return l+=o.move(r.safe(r.associationId(e),J({before:l,after:"]"},o.current()))),l+=o.move("]: "),u(),!e.url||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(r.safe(e.url,J({before:l,after:">"},o.current()))),l+=o.move(">")):(u=r.enter("destinationRaw"),l+=o.move(r.safe(e.url,J({before:l,after:e.title?" ":`
|
|
298
|
-
`},o.current())))),u(),e.title&&(u=r.enter(`title${i}`),l+=o.move(" "+a),l+=o.move(r.safe(e.title,J({before:l,after:a},o.current()))),l+=o.move(a),u()),s(),l}function YE(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 Ts(e,t,r){const n=$n(e),a=$n(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}}gp.peek=VE;function gp(e,t,r,n){const a=YE(r),i=r.enter("emphasis"),s=r.createTracker(n),u=s.move(a);let o=s.move(r.containerPhrasing(e,J({after:a,before:u},s.current())));const l=o.charCodeAt(0),c=Ts(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=Ts(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 VE(e,t,r){return r.options.emphasis||"*"}function WE(e,t){let r=!1;return Ws(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,zu}),!!((!e.depth||e.depth<3)&&Jo(e)&&(t.options.setext||r))}function GE(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),i=r.createTracker(n);if(WE(e,r)){const c=r.enter("headingSetext"),f=r.enter("phrasing"),p=r.containerPhrasing(e,tt(J({},i.current()),{before:`
|
|
299
|
-
`,after:`
|
|
300
|
-
`}));return f(),c(),p+`
|
|
301
|
-
`+(a===1?"=":"-").repeat(p.length-(Math.max(p.lastIndexOf("\r"),p.lastIndexOf(`
|
|
302
|
-
`))+1))}const s="#".repeat(a),u=r.enter("headingAtx"),o=r.enter("phrasing");i.move(s+" ");let l=r.containerPhrasing(e,J({before:"# ",after:`
|
|
303
|
-
`},i.current()));return/^[\t ]/.test(l)&&(l=Ga(l.charCodeAt(0))+l.slice(1)),l=l?s+" "+l:s,r.options.closeAtx&&(l+=" "+s),o(),u(),l}bp.peek=XE;function bp(e){return e.value||""}function XE(){return"<"}yp.peek=KE;function yp(e,t,r,n){const a=wl(r),i=a==='"'?"Quote":"Apostrophe",s=r.enter("image");let u=r.enter("label");const o=r.createTracker(n);let l=o.move("![");return l+=o.move(r.safe(e.alt,J({before:l,after:"]"},o.current()))),l+=o.move("]("),u(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(u=r.enter("destinationLiteral"),l+=o.move("<"),l+=o.move(r.safe(e.url,J({before:l,after:">"},o.current()))),l+=o.move(">")):(u=r.enter("destinationRaw"),l+=o.move(r.safe(e.url,J({before:l,after:e.title?" ":")"},o.current())))),u(),e.title&&(u=r.enter(`title${i}`),l+=o.move(" "+a),l+=o.move(r.safe(e.title,J({before:l,after:a},o.current()))),l+=o.move(a),u()),l+=o.move(")"),s(),l}function KE(){return"!"}Ep.peek=QE;function Ep(e,t,r,n){const a=e.referenceType,i=r.enter("imageReference");let s=r.enter("label");const u=r.createTracker(n);let o=u.move("![");const l=r.safe(e.alt,J({before:o,after:"]"},u.current()));o+=u.move(l+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),J({before:o,after:"]"},u.current()));return s(),r.stack=c,i(),a==="full"||!l||l!==f?o+=u.move(f+"]"):a==="shortcut"?o=o.slice(0,-1):o+=u.move("]"),o}function QE(){return"!"}xp.peek=JE;function xp(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 JE(){return"`"}function Tp(e,t){const r=Jo(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))}vp.peek=ZE;function vp(e,t,r,n){const a=wl(r),i=a==='"'?"Quote":"Apostrophe",s=r.createTracker(n);let u,o;if(Tp(e,r)){const c=r.stack;r.stack=[],u=r.enter("autolink");let f=s.move("<");return f+=s.move(r.containerPhrasing(e,J({before:f,after:">"},s.current()))),f+=s.move(">"),u(),r.stack=c,f}u=r.enter("link"),o=r.enter("label");let l=s.move("[");return l+=s.move(r.containerPhrasing(e,J({before:l,after:"]("},s.current()))),l+=s.move("]("),o(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(o=r.enter("destinationLiteral"),l+=s.move("<"),l+=s.move(r.safe(e.url,J({before:l,after:">"},s.current()))),l+=s.move(">")):(o=r.enter("destinationRaw"),l+=s.move(r.safe(e.url,J({before:l,after:e.title?" ":")"},s.current())))),o(),e.title&&(o=r.enter(`title${i}`),l+=s.move(" "+a),l+=s.move(r.safe(e.title,J({before:l,after:a},s.current()))),l+=s.move(a),o()),l+=s.move(")"),u(),l}function ZE(e,t,r){return Tp(e,r)?"<":"["}wp.peek=ex;function wp(e,t,r,n){const a=e.referenceType,i=r.enter("linkReference");let s=r.enter("label");const u=r.createTracker(n);let o=u.move("[");const l=r.containerPhrasing(e,J({before:o,after:"]"},u.current()));o+=u.move(l+"]["),s();const c=r.stack;r.stack=[],s=r.enter("reference");const f=r.safe(r.associationId(e),J({before:o,after:"]"},u.current()));return s(),r.stack=c,i(),a==="full"||!l||l!==f?o+=u.move(f+"]"):a==="shortcut"?o=o.slice(0,-1):o+=u.move("]"),o}function ex(){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 tx(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 rx(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 Ap(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 nx(e,t,r,n){const a=r.enter("list"),i=r.bulletCurrent;let s=e.ordered?rx(r):Al(r);const u=e.ordered?s==="."?")":".":tx(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),Ap(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 ax(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 ix(e,t,r,n){const a=ax(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 sx(e,t,r,n){const a=r.enter("paragraph"),i=r.enter("phrasing"),s=r.containerPhrasing(e,n);return i(),a(),s}const ux=ui(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function ox(e,t,r,n){return(e.children.some(function(s){return ux(s)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function lx(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}Sp.peek=cx;function Sp(e,t,r,n){const a=lx(r),i=r.enter("strong"),s=r.createTracker(n),u=s.move(a+a);let o=s.move(r.containerPhrasing(e,J({after:a,before:u},s.current())));const l=o.charCodeAt(0),c=Ts(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=Ts(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 cx(e,t,r){return r.options.strong||"*"}function fx(e,t,r,n){return r.safe(e.value,n)}function hx(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 dx(e,t,r){const n=(Ap(r)+(r.options.ruleSpaces?" ":"")).repeat(hx(r));return r.options.ruleSpaces?n.slice(0,-1):n}const kp={blockquote:FE,break:lf,code:jE,definition:$E,emphasis:gp,hardBreak:lf,heading:GE,html:bp,image:yp,imageReference:Ep,inlineCode:xp,link:vp,linkReference:wp,list:nx,listItem:ix,paragraph:sx,root:ox,strong:Sp,text:fx,thematicBreak:dx};function mx(){return{enter:{table:px,tableData:cf,tableHeader:cf,tableRow:bx},exit:{codeText:yx,table:gx,tableData:ou,tableHeader:ou,tableRow:ou}}}function px(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 gx(e){this.exit(e),this.data.inTable=void 0}function bx(e){this.enter({type:"tableRow",children:[]},e)}function ou(e){this.exit(e)}function cf(e){this.enter({type:"tableCell",children:[]},e)}function yx(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 xx(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,i=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
|
|
304
|
-
`,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:p,table:s,tableCell:o,tableRow:u}};function s(m,b,y,T){return l(c(m,y,T),m.align)}function u(m,b,y,T){const v=f(m,y,T),S=l([v]);return S.slice(0,S.indexOf(`
|
|
305
|
-
`))}function o(m,b,y,T){const v=y.enter("tableCell"),S=y.enter("phrasing"),A=y.containerPhrasing(m,tt(J({},T),{before:i,after:i}));return S(),v(),A}function l(m,b){return ME(m,{align:b,alignDelimiters:n,padding:r,stringLength:a})}function c(m,b,y){const T=m.children;let v=-1;const S=[],A=b.enter("table");for(;++v<T.length;)S[v]=f(T[v],b,y);return A(),S}function f(m,b,y){const T=m.children;let v=-1;const S=[],A=b.enter("tableRow");for(;++v<T.length;)S[v]=o(T[v],m,b,y);return A(),S}function p(m,b,y){let T=kp.inlineCode(m,b,y);return y.stack.includes("tableCell")&&(T=T.replace(/\|/g,"\\$&")),T}}function Tx(){return{exit:{taskListCheckValueChecked:ff,taskListCheckValueUnchecked:ff,paragraph:wx}}}function vx(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Ax}}}function ff(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function wx(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 Ax(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=kp.listItem(e,t,r,J(J({},n),u.current()));return i&&(o=o.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,l)),o;function l(c){return c+s}}function Sx(){return[aE(),SE(),_E(),mx(),Tx()]}function kx(e){return{extensions:[iE(),kE(e),NE(),xx(e),vx()]}}const Cx={tokenize:Dx,partial:!0},Cp={tokenize:Lx,partial:!0},Ip={tokenize:Mx,partial:!0},_p={tokenize:Px,partial:!0},Ix={tokenize:Fx,partial:!0},Np={name:"wwwAutolink",tokenize:Ox,previous:Rp},Op={name:"protocolAutolink",tokenize:Rx,previous:Dp},Nr={name:"emailAutolink",tokenize:Nx,previous:Lp},mr={};function _x(){return{text:mr}}let an=48;for(;an<123;)mr[an]=Nr,an++,an===58?an=65:an===91&&(an=97);mr[43]=Nr;mr[45]=Nr;mr[46]=Nr;mr[95]=Nr;mr[72]=[Nr,Op];mr[104]=[Nr,Op];mr[87]=[Nr,Np];mr[119]=[Nr,Np];function Nx(e,t,r){const n=this;let a,i;return s;function s(f){return!no(f)||!Lp.call(n,n.previous)||Sl(n.events)?r(f):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),u(f))}function u(f){return no(f)?(e.consume(f),u):f===64?(e.consume(f),o):r(f)}function o(f){return f===46?e.check(Ix,c,l)(f):f===45||f===95||pt(f)?(i=!0,e.consume(f),o):c(f)}function l(f){return e.consume(f),a=!0,o}function c(f){return i&&a&&wt(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(f)):r(f)}}function Ox(e,t,r){const n=this;return a;function a(s){return s!==87&&s!==119||!Rp.call(n,n.previous)||Sl(n.events)?r(s):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Cx,e.attempt(Cp,e.attempt(Ip,i),r),r)(s))}function i(s){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(s)}}function Rx(e,t,r){const n=this;let a="",i=!1;return s;function s(f){return(f===72||f===104)&&Dp.call(n,n.previous)&&!Sl(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(f),e.consume(f),u):r(f)}function u(f){if(wt(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||ms(f)||Ue(f)||yn(f)||qs(f)?r(f):e.attempt(Cp,e.attempt(Ip,c),r)(f)}function c(f){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(f)}}function Dx(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 Lx(e,t,r){let n,a,i;return s;function s(l){return l===46||l===95?e.check(_p,o,u)(l):l===null||Ue(l)||yn(l)||l!==45&&qs(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 Mx(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(_p,t,i)(s):s===null||Ue(s)||yn(s)?t(s):(e.consume(s),a)}function i(s){return s===41&&n++,e.consume(s),a}}function Px(e,t,r){return n;function n(u){return u===33||u===34||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===63||u===95||u===126?(e.consume(u),n):u===38?(e.consume(u),i):u===93?(e.consume(u),a):u===60||u===null||Ue(u)||yn(u)?t(u):r(u)}function a(u){return u===null||u===40||u===91||Ue(u)||yn(u)?t(u):n(u)}function i(u){return wt(u)?s(u):r(u)}function s(u){return u===59?(e.consume(u),n):wt(u)?(e.consume(u),s):r(u)}}function Fx(e,t,r){return n;function n(i){return e.consume(i),a}function a(i){return pt(i)?r(i):t(i)}}function Rp(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||Ue(e)}function Dp(e){return!wt(e)}function Lp(e){return!(e===47||no(e))}function no(e){return e===43||e===45||e===46||e===95||pt(e)}function Sl(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 Bx={tokenize:Vx,partial:!0};function zx(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:qx,continuation:{tokenize:$x},exit:Yx}},text:{91:{name:"gfmFootnoteCall",tokenize:jx},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:Hx,resolveTo:Ux}}}}function Hx(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 Ux(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 jx(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i=0,s;return u;function u(f){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),o}function o(f){return f!==94?r(f):(e.enter("gfmFootnoteCallMarker"),e.consume(f),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",l)}function l(f){if(i>999||f===93&&!s||f===null||f===91||Ue(f))return r(f);if(f===93){e.exit("chunkString");const p=e.exit("gfmFootnoteCallString");return a.includes(Jt(n.sliceSerialize(p)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(f),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(f)}return Ue(f)||(s=!0),i++,e.consume(f),f===92?c:l}function c(f){return f===91||f===92||f===93?(e.consume(f),i++,l):l(f)}}function qx(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let i,s=0,u;return o;function o(b){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),l}function l(b){return b===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(b)}function c(b){if(s>999||b===93&&!u||b===null||b===91||Ue(b))return r(b);if(b===93){e.exit("chunkString");const y=e.exit("gfmFootnoteDefinitionLabelString");return i=Jt(n.sliceSerialize(y)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(b),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),p}return Ue(b)||(u=!0),s++,e.consume(b),b===92?f:c}function f(b){return b===91||b===92||b===93?(e.consume(b),s++,c):c(b)}function p(b){return b===58?(e.enter("definitionMarker"),e.consume(b),e.exit("definitionMarker"),a.includes(i)||a.push(i),_e(e,m,"gfmFootnoteDefinitionWhitespace")):r(b)}function m(b){return t(b)}}function $x(e,t,r){return e.check(si,t,e.attempt(Bx,t,r))}function Yx(e){e.exit("gfmFootnoteDefinition")}function Vx(e,t,r){const n=this;return _e(e,a,"gfmFootnoteDefinitionIndent",5);function a(i){const s=n.events[n.events.length-1];return s&&s[1].type==="gfmFootnoteDefinitionIndent"&&s[2].sliceSerialize(s[1],!0).length===4?t(i):r(i)}}function Wx(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,$s(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=$n(l);if(b===126)return f>1?o(b):(s.consume(b),f++,m);if(f<2&&!r)return o(b);const T=s.exit("strikethroughSequenceTemporary"),v=$n(b);return T._open=!v||v===2&&!!y,T._close=!y||y===2&&!!v,u(b)}}}class Gx{constructor(){this.map=[]}add(t,r,n){Xx(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 Xx(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 Kx(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 Qx(){return{flow:{null:{name:"table",tokenize:Jx,resolveAll:Zx}}}}function Jx(e,t,r){const n=this;let a=0,i=0,s;return u;function u(P){let $=n.events.length-1;for(;$>-1;){const me=n.events[$][1].type;if(me==="lineEnding"||me==="linePrefix")$--;else break}const G=$>-1?n.events[$][1].type:null,he=G==="tableHead"||G==="tableRow"?O:o;return he===O&&n.parser.lazy[n.now().line]?r(P):he(P)}function o(P){return e.enter("tableHead"),e.enter("tableRow"),l(P)}function l(P){return P===124||(s=!0,i+=1),c(P)}function c(P){return P===null?r(P):ce(P)?i>1?(i=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(P),e.exit("lineEnding"),m):r(P):Ne(P)?_e(e,c,"whitespace")(P):(i+=1,s&&(s=!1,a+=1),P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),s=!0,c):(e.enter("data"),f(P)))}function f(P){return P===null||P===124||Ue(P)?(e.exit("data"),c(P)):(e.consume(P),P===92?p:f)}function p(P){return P===92||P===124?(e.consume(P),f):f(P)}function m(P){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(P):(e.enter("tableDelimiterRow"),s=!1,Ne(P)?_e(e,b,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(P):b(P))}function b(P){return P===45||P===58?T(P):P===124?(s=!0,e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),y):B(P)}function y(P){return Ne(P)?_e(e,T,"whitespace")(P):T(P)}function T(P){return P===58?(i+=1,s=!0,e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),v):P===45?(i+=1,v(P)):P===null||ce(P)?M(P):B(P)}function v(P){return P===45?(e.enter("tableDelimiterFiller"),S(P)):B(P)}function S(P){return P===45?(e.consume(P),S):P===58?(s=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(P),e.exit("tableDelimiterMarker"),A):(e.exit("tableDelimiterFiller"),A(P))}function A(P){return Ne(P)?_e(e,M,"whitespace")(P):M(P)}function M(P){return P===124?b(P):P===null||ce(P)?!s||a!==i?B(P):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(P)):B(P)}function B(P){return r(P)}function O(P){return e.enter("tableRow"),D(P)}function D(P){return P===124?(e.enter("tableCellDivider"),e.consume(P),e.exit("tableCellDivider"),D):P===null||ce(P)?(e.exit("tableRow"),t(P)):Ne(P)?_e(e,D,"whitespace")(P):(e.enter("data"),z(P))}function z(P){return P===null||P===124||Ue(P)?(e.exit("data"),D(P)):(e.consume(P),P===92?U:z)}function U(P){return P===92||P===124?(e.consume(P),z):z(P)}}function Zx(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 Gx;for(;++r<e.length;){const m=e[r],b=m[1];m[0]==="enter"?b.type==="tableHead"?(u=!1,o!==0&&(hf(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=zi(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=zi(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=zi(p,t,i,a,r,f)):s[1]!==0&&(f=zi(p,t,s,a,r,f)),a=0):a&&(b.type==="data"||b.type==="tableDelimiterMarker"||b.type==="tableDelimiterFiller")&&(s[3]=r)}for(o!==0&&hf(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=Kx(t.events,r))}return e}function zi(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 hf(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 eT={name:"tasklistCheck",tokenize:rT};function tT(){return{text:{91:eT}}}function rT(e,t,r){const n=this;return a;function a(o){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(o):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),i)}function i(o){return Ue(o)?(e.enter("taskListCheckValueUnchecked"),e.consume(o),e.exit("taskListCheckValueUnchecked"),s):o===88||o===120?(e.enter("taskListCheckValueChecked"),e.consume(o),e.exit("taskListCheckValueChecked"),s):r(o)}function s(o){return o===93?(e.enter("taskListCheckMarker"),e.consume(o),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),u):r(o)}function u(o){return ce(o)?t(o):Ne(o)?e.check({tokenize:nT},t,r)(o):r(o)}}function nT(e,t,r){return _e(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function aT(e){return qd([_x(),zx(),Wx(e),Qx(),tT()])}const iT={};function sT(e){const t=this,r=e||iT,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),i=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),s=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(aT(r)),i.push(Sx()),s.push(kx(r))}const df=/[#.]/g;function uT(e,t){const r=e||"",n={};let a=0,i,s;for(;a<r.length;){df.lastIndex=a;const u=df.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 Mp(e,t,r){const n=r?fT(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=uT(i,t);const l=o.tagName.toLowerCase(),c=n?n.get(l):void 0;if(o.tagName=c||l,oT(s))u.unshift(s);else for(const[f,p]of Object.entries(s))lT(e,o.properties,f,p)}for(const l of u)ao(o.children,l);return o.type==="element"&&o.tagName==="template"&&(o.content={type:"root",children:o.children},o.children=[]),o}return a}function oT(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 lT(e,t,r,n){const a=Hs(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=zc(n):a.commaSeparated?i=Lc(n):a.commaOrSpaceSeparated?i=zc(Lc(n).join(" ")):i=mf(a,a.property,n):Array.isArray(n)?i=[...n]:i=a.property==="style"?cT(n):String(n);if(Array.isArray(i)){const s=[];for(const u of i)s.push(mf(a,a.property,u));i=s}a.property==="className"&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}function ao(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)ao(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?ao(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function mf(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 cT(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function fT(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const hT=["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"],Pp=Mp(ii,"div"),Fp=Mp(Kr,"g",hT),ur={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 dT(e,t){return Bp(e,{})||{type:"root",children:[]}}function Bp(e,t){const r=mT(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function mT(e,t){switch(e.nodeType){case 1:return yT(e,t);case 3:return gT(e);case 8:return bT(e);case 9:return pf(e,t);case 10:return pT();case 11:return pf(e,t);default:return}}function pf(e,t){return{type:"root",children:zp(e,t)}}function pT(){return{type:"doctype"}}function gT(e){return{type:"text",value:e.nodeValue||""}}function bT(e){return{type:"comment",value:e.nodeValue||""}}function yT(e,t){const r=e.namespaceURI,n=r===ur.svg?Fp:Pp,a=r===ur.html?e.tagName.toLowerCase():e.tagName,i=r===ur.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,zp(i,t))}function zp(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const i=Bp(r[a],t);i!==void 0&&n.push(i)}return n}new DOMParser;function ET(e,t){const r=xT(e);return dT(r)}function xT(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const gf=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]},An=function(e){if(e==null)return wT;if(typeof e=="string")return vT(e);if(typeof e=="object")return TT(e);if(typeof e=="function")return kl(e);throw new Error("Expected function, string, or array as `test`")};function TT(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=An(e[r]);return kl(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function vT(e){return kl(t);function t(r){return r.tagName===e}}function kl(e){return t;function t(r,n,a){return!!(AT(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function wT(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function AT(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const bf=/\n/g,yf=/[\t ]+/g,io=An("br"),Ef=An(RT),ST=An("p"),xf=An("tr"),kT=An(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",OT,DT]),Hp=An(["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 CT(e,t){const r=t||{},n="children"in e?e.children:[],a=Hp(e),i=qp(e,{whitespace:r.whitespace||"normal"}),s=[];(e.type==="text"||e.type==="comment")&&s.push(...jp(e,{breakBefore:!0,breakAfter:!0}));let u=-1;for(;++u<n.length;)s.push(...Up(n[u],e,{whitespace:i,breakBefore:u?void 0:a,breakAfter:u<n.length-1?io(n[u+1]):a}));const o=[];let l;for(u=-1;++u<s.length;){const c=s[u];typeof c=="number"?l!==void 0&&c>l&&(l=c):c&&(l!==void 0&&l>-1&&o.push(`
|
|
306
|
-
`.repeat(l)||" "),l=-1,o.push(c))}return o.join("")}function Up(e,t,r){return e.type==="element"?IT(e,t,r):e.type==="text"?r.whitespace==="normal"?jp(e,r):_T(e):[]}function IT(e,t,r){const n=qp(e,r),a=e.children||[];let i=-1,s=[];if(kT(e))return s;let u,o;for(io(e)||xf(e)&&gf(t,e,xf)?o=`
|
|
307
|
-
`:ST(e)?(u=2,o=2):Hp(e)&&(u=1,o=1);++i<a.length;)s=s.concat(Up(a[i],e,{whitespace:n,breakBefore:i?void 0:u,breakAfter:i<a.length-1?io(a[i+1]):o}));return Ef(e)&&gf(t,e,Ef)&&s.push(" "),u&&s.unshift(u),o&&s.push(o),s}function jp(e,t){const r=String(e.value),n=[],a=[];let i=0;for(;i<=r.length;){bf.lastIndex=i;const o=bf.exec(r),l=o&&"index"in o?o.index:r.length;n.push(NT(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 _T(e){return[String(e.value)]}function NT(e,t,r){const n=[];let a=0,i;for(;a<e.length;){yf.lastIndex=a;const s=yf.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 qp(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 OT(e){return!!(e.properties||{}).hidden}function RT(e){return e.tagName==="td"||e.tagName==="th"}function DT(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const LT={},MT=[];function PT(e){const t=e||LT;return function(r,n){il(r,"element",function(a,i){const s=Array.isArray(a.properties.className)?a.properties.className:MT,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=CT(p,{whitespace:"pre"});let b;try{b=nf.renderToString(m,tt(J({},t),{displayMode:c,throwOnError:!0}))}catch(T){const v=T,S=v.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:v,place:a.position,ruleId:S,source:"rehype-katex"});try{b=nf.renderToString(m,tt(J({},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(T)},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),om})}}const as="https://unpkg.com/prismjs@1.29.0",FT="https://unpkg.com/prism-themes@1.9.0/themes/prism-coldark-cold.min.css",Hi=new Set(["javascript","css","markup","clike"]);let Ui=null;function $p(){return Le(this,null,function*(){return typeof window!="undefined"&&window.Prism?window.Prism:Ui||(Ui=new Promise((e,t)=>{const r=document.createElement("link");r.rel="stylesheet",r.href=FT,document.head.appendChild(r);const n=document.createElement("script");n.src=`${as}/prism.js`,n.onload=()=>{const a=document.createElement("script");a.src=`${as}/plugins/autoloader/prism-autoloader.min.js`,a.onload=()=>{const i=window.Prism;i&&i.plugins&&i.plugins.autoloader&&(i.plugins.autoloader.languages_path=`${as}/components/`),e(i)},a.onerror=t,document.head.appendChild(a)},n.onerror=t,document.head.appendChild(n)}),Ui)})}function BT(e){return Le(this,null,function*(){const t=yield $p();if(Hi.has(e)||t.languages[e]){Hi.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){Hi.add(e);return}return new Promise((a,i)=>{const s=document.createElement("script");s.src=`${as}/components/prism-${n}.min.js`,s.onload=()=>{Hi.add(e),a()},s.onerror=()=>{console.warn(`Failed to load Prism language: ${n}`),a()},document.head.appendChild(s)})})}const zT=()=>k.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:k.jsx("path",{d:"M16 1H4C2.9 1 2 1.9 2 3V17H4V3H16V1ZM19 5H8C6.9 5 6 5.9 6 7V21C6 22.1 6.9 23 8 23H19C20.1 23 21 22.1 21 21V7C21 5.9 20.1 5 19 5ZM19 21H8V7H19V21Z"})}),HT=()=>k.jsx("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"currentColor",children:k.jsx("path",{d:"M9 16.17L4.83 12L3.41 13.41L9 19L21 7L19.59 5.59L9 16.17Z"})}),UT=({language:e="javascript",children:t,style:r})=>{const[n,a]=K.useState(!1),[i,s]=K.useState(""),[u,o]=K.useState(!0),l=K.useRef(null),c=typeof t=="string"?t:Array.isArray(t)?t.join(""):String(t||"");K.useEffect(()=>{let y=!0;return Le(exports,null,function*(){try{o(!0);const v=yield $p();if(yield BT(e),!y)return;const S=v.languages[e]||v.languages.javascript,A=v.highlight(c.replace(/\n$/,""),S,e);s(A),o(!1)}catch(v){console.error("Failed to highlight code:",v),y&&(s(f(c)),o(!1))}}),()=>{y=!1}},[c,e]);const f=y=>{const T=document.createElement("div");return T.textContent=y,T.innerHTML},p=()=>Le(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(`
|
|
308
|
-
`),b=m[m.length-1]===""?m.length-1:m.length;return k.jsxs("div",{style:J({position:"relative"},r),children:[k.jsxs("pre",{style:{margin:0,padding:"1em",paddingLeft:"3.8em",overflow:"auto",background:"#e3eaf2",borderRadius:"4px",fontSize:"13px",lineHeight:"1.5",fontFamily:'Consolas, Monaco, "Andale Mono", "Ubuntu Mono", monospace'},children:[k.jsx("span",{style:{position:"absolute",left:0,top:"1em",width:"3em",borderRight:"1px solid #8da1b9",textAlign:"right",paddingRight:"0.8em",userSelect:"none",color:"#8da1b9",fontSize:"13px",lineHeight:"1.5"},children:Array.from({length:b},(y,T)=>k.jsx("span",{style:{display:"block"},children:T+1},T))}),k.jsx("code",{ref:l,className:`language-${e}`,style:{whiteSpace:"pre-wrap",wordBreak:"break-word"},dangerouslySetInnerHTML:u?{__html:f(c)}:{__html:i}})]}),k.jsxs("button",{onClick:p,style:{position:"absolute",right:"8px",top:"8px",padding:"4px 8px",background:"rgba(255,255,255,0.8)",border:"1px solid #ccc",borderRadius:"4px",cursor:"pointer",opacity:.7,transition:"all 0.2s",display:"flex",alignItems:"center",justifyContent:"center",fontSize:"12px",color:"#333"},onMouseEnter:y=>{y.currentTarget.style.opacity="1",y.currentTarget.style.background="rgba(255,255,255,1)"},onMouseLeave:y=>{y.currentTarget.style.opacity="0.7",y.currentTarget.style.background="rgba(255,255,255,0.8)"},title:n?"Copied!":"Copy code",children:[n?k.jsx(HT,{}):k.jsx(zT,{}),k.jsx("span",{style:{marginLeft:"4px"},children:n?"Copied":"Copy"})]})]})};function jT(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(`
|
|
309
|
-
`,t);return n===-1?r:r===-1||r+1===n?n:r<n?r:n}const Yp={}.hasOwnProperty,qT=Object.prototype;function $T(e,t){const r=t||{};return Cl({file:r.file||void 0,location:!1,schema:r.space==="svg"?Kr:ii,verbose:r.verbose||!1},e)}function Cl(e,t){let r;switch(t.nodeName){case"#comment":{const n=t;return r={type:"comment",value:n.data},is(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:Vp(e,t.childNodes),data:{quirksMode:a}},e.file&&e.location){const i=String(e.file),s=jT(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"},is(e,n,r),r}case"#text":{const n=t;return r={type:"text",value:n.value},is(e,n,r),r}default:return r=YT(e,t),r}}function Vp(e,t){let r=-1;const n=[];for(;++r<t.length;){const a=Cl(e,t[r]);n.push(a)}return n}function YT(e,t){const r=e.schema;e.schema=t.namespaceURI===ur.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(qT,o)||(a[o]=u.value)}const s=(e.schema.space==="svg"?Fp:Pp)(t.tagName,a,Vp(e,t.childNodes));if(is(e,t,s),s.tagName==="template"){const u=t,o=u.sourceCodeLocation,l=o&&o.startTag&&Ln(o.startTag),c=o&&o.endTag&&Ln(o.endTag),f=Cl(e,u.content);l&&c&&e.file&&(f.position={start:l.end,end:c.start}),s.content=f}return e.schema=r,s}function is(e,t,r){if("sourceCodeLocation"in t&&t.sourceCodeLocation&&e.file){const n=VT(e,r,t.sourceCodeLocation);n&&(e.location=!0,r.position=n)}}function VT(e,t,r){const n=Ln(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[Hs(e.schema,s).property]=Ln(r.attrs[s]));r.startTag;const u=Ln(r.startTag),o=r.endTag?Ln(r.endTag):void 0,l={opening:u};o&&(l.closing=o),l.properties=i,t.data={position:l}}}return n}function Ln(e){const t=vf({line:e.startLine,column:e.startCol,offset:e.startOffset}),r=vf({line:e.endLine,column:e.endCol,offset:e.endOffset});return t||r?{start:t,end:r}:void 0}function vf(e){return e.line&&e.column?e:void 0}const WT={},GT={}.hasOwnProperty,Wp=pp("type",{handlers:{root:KT,element:tv,text:ZT,comment:ev,doctype:JT}});function XT(e,t){const n=(t||WT).space;return Wp(e,n==="svg"?Kr:ii)}function KT(e,t){const r={nodeName:"#document",mode:(e.data||{}).quirksMode?"quirks":"no-quirks",childNodes:[]};return r.childNodes=Il(e.children,r,t),ua(e,r),r}function QT(e,t){const r={nodeName:"#document-fragment",childNodes:[]};return r.childNodes=Il(e.children,r,t),ua(e,r),r}function JT(e){const t={nodeName:"#documentType",name:"html",publicId:"",systemId:"",parentNode:null};return ua(e,t),t}function ZT(e){const t={nodeName:"#text",value:e.value,parentNode:null};return ua(e,t),t}function ev(e){const t={nodeName:"#comment",data:e.value,parentNode:null};return ua(e,t),t}function tv(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"&>.call(e.properties,i)){const o=rv(n,i,e.properties[i]);o&&a.push(o)}}const s=n.space,u={nodeName:e.tagName,tagName:e.tagName,attrs:a,namespaceURI:ur[s],childNodes:[],parentNode:null};return u.childNodes=Il(e.children,u,n),ua(e,u),e.tagName==="template"&&e.content&&(u.content=QT(e.content,n)),u}function rv(e,t,r){const n=Hs(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?Id(r):Pd(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=ur[n.space]}return a}function Il(e,t,r){let n=-1;const a=[];if(e)for(;++n<e.length;){const i=Wp(e[n],r);i.parentNode=t,a.push(i)}return a}function ua(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 nv=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],av=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 w;(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"})(w||(w={}));const kt={DASH_DASH:"--",CDATA_START:"[CDATA[",DOCTYPE:"doctype",SCRIPT:"script",PUBLIC:"public",SYSTEM:"system"};function Gp(e){return e>=55296&&e<=57343}function iv(e){return e>=56320&&e<=57343}function sv(e,t){return(e-55296)*1024+9216+t}function Xp(e){return e!==32&&e!==10&&e!==13&&e!==9&&e!==12&&e>=1&&e<=31||e>=127&&e<=159}function Kp(e){return e>=64976&&e<=65007||av.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 uv=65536;class ov{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=uv,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(iv(r))return this.pos++,this._addGap(),sv(t,r)}else if(!this.lastChunkWritten)return this.endOfChunkHit=!0,w.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,w.EOF;const n=this.html.charCodeAt(r);return n===w.CARRIAGE_RETURN?w.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,w.EOF;let t=this.html.charCodeAt(this.pos);return t===w.CARRIAGE_RETURN?(this.isEol=!0,this.skipNextNewLine=!0,w.LINE_FEED):t===w.LINE_FEED&&(this.isEol=!0,this.skipNextNewLine)?(this.line--,this.skipNextNewLine=!1,this._addGap(),this.advance()):(this.skipNextNewLine=!1,Gp(t)&&(t=this._processSurrogate(t)),this.handler.onParseError===null||t>31&&t<127||t===w.LINE_FEED||t===w.CARRIAGE_RETURN||t>159&&t<64976||this._checkForProblematicCharacters(t),t)}_checkForProblematicCharacters(t){Xp(t)?this._err(q.controlCharacterInInputStream):Kp(t)&&this._err(q.noncharacterInInputStream)}retreat(t){for(this.pos-=t;this.pos<this.lastGapPos;)this.lastGapPos=this.gapStack.pop(),this.pos--;this.isEol=!1}}var Ie;(function(e){e[e.CHARACTER=0]="CHARACTER",e[e.NULL_CHARACTER=1]="NULL_CHARACTER",e[e.WHITESPACE_CHARACTER=2]="WHITESPACE_CHARACTER",e[e.START_TAG=3]="START_TAG",e[e.END_TAG=4]="END_TAG",e[e.COMMENT=5]="COMMENT",e[e.DOCTYPE=6]="DOCTYPE",e[e.EOF=7]="EOF",e[e.HIBERNATION=8]="HIBERNATION"})(Ie||(Ie={}));function Qp(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 lv=new Uint16Array('ᵁ<Õıʊҝջאٵ۞ޢߖࠏઑඡ༉༦ረዡᐕᒝᓃᓟᔥ\0\0\0\0\0\0ᕫᛍᦍᰒᷝ↰⊍⏀⏻⑂⠤⤒ⴈ⹈⿎〖㊺㘹㞬㣾㨨㩱㫠㬮ࠀEMabcfglmnoprstu\\bfms¦³¹ÈÏlig耻Æ䃆P耻&䀦cute耻Á䃁reve;䄂Āiyx}rc耻Â䃂;䐐r;쀀𝔄rave耻À䃀pha;䎑acr;䄀d;橓Āgp¡on;䄄f;쀀𝔸plyFunction;恡ing耻Å䃅Ācs¾Ãr;쀀𝒜ign;扔ilde耻Ã䃃ml耻Ä䃄ЀaceforsuåûþėĜĢħĪĀcrêòkslash;或Ŷöø;櫧ed;挆y;䐑ƀcrtąċĔause;戵noullis;愬a;䎒r;쀀𝔅pf;쀀𝔹eve;䋘còēmpeq;扎܀HOacdefhilorsuōőŖƀƞƢƵƷƺǜȕɳɸɾcy;䐧PY耻©䂩ƀcpyŝŢźute;䄆Ā;iŧŨ拒talDifferentialD;慅leys;愭ȀaeioƉƎƔƘron;䄌dil耻Ç䃇rc;䄈nint;戰ot;䄊ĀdnƧƭilla;䂸terDot;䂷òſi;䎧rcleȀDMPTLJNjǑǖot;抙inus;抖lus;投imes;抗oĀcsǢǸkwiseContourIntegral;戲eCurlyĀDQȃȏoubleQuote;思uote;怙ȀlnpuȞȨɇɕonĀ;eȥȦ户;橴ƀgitȯȶȺruent;扡nt;戯ourIntegral;戮ĀfrɌɎ;愂oduct;成nterClockwiseContourIntegral;戳oss;樯cr;쀀𝒞pĀ;Cʄʅ拓ap;才րDJSZacefiosʠʬʰʴʸˋ˗ˡ˦̳ҍĀ;oŹʥtrahd;椑cy;䐂cy;䐅cy;䐏ƀgrsʿ˄ˇger;怡r;憡hv;櫤Āayː˕ron;䄎;䐔lĀ;t˝˞戇a;䎔r;쀀𝔇Āaf˫̧Ācm˰̢riticalȀADGT̖̜̀̆cute;䂴oŴ̋̍;䋙bleAcute;䋝rave;䁠ilde;䋜ond;拄ferentialD;慆Ѱ̽\0\0\0͔͂\0Ѕf;쀀𝔻ƀ;DE͈͉͍䂨ot;惜qual;扐blèCDLRUVͣͲϏϢϸontourIntegraìȹoɴ\0\0ͻ»͉nArrow;懓Āeo·ΤftƀARTΐΖΡrrow;懐ightArrow;懔eåˊngĀLRΫτeftĀARγιrrow;柸ightArrow;柺ightArrow;柹ightĀATϘϞrrow;懒ee;抨pɁϩ\0\0ϯrrow;懑ownArrow;懕erticalBar;戥ǹABLRTaВЪаўѿͼrrowƀ;BUНОТ憓ar;椓pArrow;懵reve;䌑eft˒к\0ц\0ѐightVector;楐eeVector;楞ectorĀ;Bљњ憽ar;楖ightǔѧ\0ѱeeVector;楟ectorĀ;BѺѻ懁ar;楗eeĀ;A҆҇护rrow;憧ĀctҒҗr;쀀𝒟rok;䄐ࠀNTacdfglmopqstuxҽӀӄӋӞӢӧӮӵԡԯԶՒ՝ՠեG;䅊H耻Ð䃐cute耻É䃉ƀaiyӒӗӜron;䄚rc耻Ê䃊;䐭ot;䄖r;쀀𝔈rave耻È䃈ement;戈ĀapӺӾcr;䄒tyɓԆ\0\0ԒmallSquare;旻erySmallSquare;斫ĀgpԦԪon;䄘f;쀀𝔼silon;䎕uĀaiԼՉlĀ;TՂՃ橵ilde;扂librium;懌Āci՚r;愰m;橳a;䎗ml耻Ë䃋Āipժկsts;戃onentialE;慇ʀcfiosօֈ֍ֲy;䐤r;쀀𝔉lledɓ֗\0\0֣mallSquare;旼erySmallSquare;斪Ͱֺ\0ֿ\0\0ׄf;쀀𝔽All;戀riertrf;愱còJTabcdfgorstרׯؒؖ؛؝أ٬ٲcy;䐃耻>䀾mmaĀ;d䎓;䏜reve;䄞ƀeiy؇،ؐdil;䄢rc;䄜;䐓ot;䄠r;쀀𝔊;拙pf;쀀𝔾eater̀EFGLSTصلَٖٛ٦qualĀ;Lؾؿ扥ess;招ullEqual;执reater;檢ess;扷lantEqual;橾ilde;扳cr;쀀𝒢;扫ЀAacfiosuڅڋږڛڞڪھۊRDcy;䐪Āctڐڔek;䋇;䁞irc;䄤r;愌lbertSpace;愋ǰگ\0ڲf;愍izontalLine;攀Āctۃۅòکrok;䄦mpńېۘownHumðįqual;扏܀EJOacdfgmnostuۺ۾܃܇ܚܞܡܨ݄ݸދޏޕcy;䐕lig;䄲cy;䐁cute耻Í䃍Āiyܓܘrc耻Î䃎;䐘ot;䄰r;愑rave耻Ì䃌ƀ;apܠܯܿĀcgܴܷr;䄪inaryI;慈lieóϝǴ݉\0ݢĀ;eݍݎ戬Āgrݓݘral;戫section;拂isibleĀCTݬݲomma;恣imes;恢ƀgptݿރވon;䄮f;쀀𝕀a;䎙cr;愐ilde;䄨ǫޚ\0ޞcy;䐆l耻Ï䃏ʀcfosuެ߂ߐĀiyޱrc;䄴;䐙r;쀀𝔍pf;쀀𝕁ǣ߇\0ߌr;쀀𝒥rcy;䐈kcy;䐄HJacfosߤߨ߽߬߱ࠂࠈcy;䐥cy;䐌ppa;䎚Āey߶dil;䄶;䐚r;쀀𝔎pf;쀀𝕂cr;쀀𝒦րJTaceflmostࠥࠩࠬࡐࡣসে্ੇcy;䐉耻<䀼ʀcmnpr࠷࠼ࡁࡄࡍute;䄹bda;䎛g;柪lacetrf;愒r;憞ƀaeyࡗࡡron;䄽dil;䄻;䐛Āfsࡨ॰tԀACDFRTUVarࡾࢩࢱࣦ࣠ࣼयज़ΐ४ĀnrࢃgleBracket;柨rowƀ;BR࢙࢚࢞憐ar;懤ightArrow;懆eiling;挈oǵࢷ\0ࣃbleBracket;柦nǔࣈ\0࣒eeVector;楡ectorĀ;Bࣛࣜ懃ar;楙loor;挊ightĀAV࣯ࣵrrow;憔ector;楎Āerँगeƀ;AVउऊऐ抣rrow;憤ector;楚iangleƀ;BEतथऩ抲ar;槏qual;抴pƀDTVषूौownVector;楑eeVector;楠ectorĀ;Bॖॗ憿ar;楘ectorĀ;B॥०憼ar;楒ightáΜs̀EFGLSTॾঋকঝঢভqualGreater;拚ullEqual;扦reater;扶ess;檡lantEqual;橽ilde;扲r;쀀𝔏Ā;eঽা拘ftarrow;懚idot;䄿ƀnpwਖਛgȀLRlr৷ਂਐeftĀAR০৬rrow;柵ightArrow;柷ightArrow;柶eftĀarγਊightáοightáϊf;쀀𝕃erĀLRਢਬeftArrow;憙ightArrow;憘ƀchtਾੀੂòࡌ;憰rok;䅁;扪Ѐacefiosuਗ਼અઋp;椅y;䐜Ādl੯iumSpace;恟lintrf;愳r;쀀𝔐nusPlus;戓pf;쀀𝕄cò੶;䎜ҀJacefostuણધભીଔଙඑඞcy;䐊cute;䅃ƀaeyહાron;䅇dil;䅅;䐝ƀgswે૰ativeƀMTV૨ediumSpace;怋hiĀcn૦ëeryThiîtedĀGLଆreaterGreateòٳessLesóੈLine;䀊r;쀀𝔑ȀBnptଢନଷreak;恠BreakingSpace;䂠f;愕ڀ;CDEGHLNPRSTV୕ୖ୪௫ఄ಄ದൡඅ櫬Āoungruent;扢pCap;扭oubleVerticalBar;戦ƀlqxஃஊement;戉ualĀ;Tஒஓ扠ilde;쀀≂̸ists;戄reater;EFGLSTஶஷ扯qual;扱ullEqual;쀀≧̸reater;쀀≫̸ess;批lantEqual;쀀⩾̸ilde;扵umpń௲ownHump;쀀≎̸qual;쀀≏̸eĀfsఊధtTriangleƀ;BEచఛడ拪ar;쀀⧏̸qual;括s̀;EGLSTవశ఼ౄోౘ扮qual;扰reater;扸ess;쀀≪̸lantEqual;쀀⩽̸ilde;扴estedĀGL౨౹reaterGreater;쀀⪢̸essLess;쀀⪡̸recedesƀ;ESಒಓಛ技qual;쀀⪯̸lantEqual;拠ĀeiಫಹverseElement;戌ghtTriangleƀ;BEೋೌ拫ar;쀀⧐̸qual;拭ĀquೝഌuareSuĀbp೨setĀ;Eೳ쀀⊏̸qual;拢ersetĀ;Eഃആ쀀⊐̸qual;拣ƀbcpഓതൎsetĀ;Eഛഞ쀀⊂⃒qual;抈ceedsȀ;ESTലള഻െ抁qual;쀀⪰̸lantEqual;拡ilde;쀀≿̸ersetĀ;E൘൛쀀⊃⃒qual;抉ildeȀ;EFT൮൯൵ൿ扁qual;扄ullEqual;扇ilde;扉erticalBar;戤cr;쀀𝒩ilde耻Ñ䃑;䎝܀Eacdfgmoprstuvලෂෛ෧ขภยา฿ไlig;䅒cute耻Ó䃓Āiyීrc耻Ô䃔;䐞blac;䅐r;쀀𝔒rave耻Ò䃒ƀaei෮ෲcr;䅌ga;䎩cron;䎟pf;쀀𝕆enCurlyĀDQฎบoubleQuote;怜uote;怘;橔Āclวฬr;쀀𝒪ash耻Ø䃘iŬืde耻Õ䃕es;樷ml耻Ö䃖erĀBP๋Āar๐๓r;怾acĀek๚;揞et;掴arenthesis;揜ҀacfhilorsງຊຏຒດຝະrtialD;戂y;䐟r;쀀𝔓i;䎦;䎠usMinus;䂱Āipຢອncareplanåڝf;愙Ȁ;eio຺ູ檻cedesȀ;EST່້扺qual;檯lantEqual;扼ilde;找me;怳Ādpuct;戏ortionĀ;aȥl;戝Āci༁༆r;쀀𝒫;䎨ȀUfos༑༖༛༟OT耻"䀢r;쀀𝔔pf;愚cr;쀀𝒬BEacefhiorsu༾གྷཇའཱིྦྷྪྭ႖ႩႴႾarr;椐G耻®䂮ƀcnrཎནབute;䅔g;柫rĀ;tཛྷཝ憠l;椖ƀaeyཧཬཱron;䅘dil;䅖;䐠Ā;vླྀཹ愜erseĀEUྂྙĀlq྇ྎement;戋uilibrium;懋pEquilibrium;楯r»ཹo;䎡ghtЀACDFTUVa࿁ဢဨၛႇϘĀnr࿆࿒gleBracket;柩rowƀ;BL憒ar;懥eftArrow;懄eiling;按oǵ\0စbleBracket;柧nǔည\0နeeVector;楝ectorĀ;Bဝသ懂ar;楕loor;挋Āerိ၃eƀ;AVဵံြ抢rrow;憦ector;楛iangleƀ;BEၐၑၕ抳ar;槐qual;抵pƀDTVၣၮၸownVector;楏eeVector;楜ectorĀ;Bႂႃ憾ar;楔ectorĀ;B႑႒懀ar;楓Āpuႛ႞f;愝ndImplies;楰ightarrow;懛ĀchႹႼr;愛;憱leDelayed;槴ڀHOacfhimoqstuფჱჷჽᄙᄞᅑᅖᅡᅧᆵᆻᆿĀCcჩხHcy;䐩y;䐨FTcy;䐬cute;䅚ʀ;aeiyᄈᄉᄎᄓᄗ檼ron;䅠dil;䅞rc;䅜;䐡r;쀀𝔖ortȀDLRUᄪᄴᄾᅉownArrow»ОeftArrow»࢚ightArrow»pArrow;憑gma;䎣allCircle;战pf;쀀𝕊ɲᅭ\0\0ᅰt;戚areȀ;ISUᅻᅼᆉᆯ斡ntersection;抓uĀbpᆏᆞsetĀ;Eᆗᆘ抏qual;抑ersetĀ;Eᆨᆩ抐qual;抒nion;抔cr;쀀𝒮ar;拆ȀbcmpᇈᇛሉላĀ;sᇍᇎ拐etĀ;Eᇍᇕqual;抆ĀchᇠህeedsȀ;ESTᇭᇮᇴᇿ扻qual;檰lantEqual;扽ilde;承Tháྌ;我ƀ;esሒሓሣ拑rsetĀ;Eሜም抃qual;抇et»ሓրHRSacfhiorsሾቄቕቱቶኟዂወዑORN耻Þ䃞ADE;愢ĀHcቒcy;䐋y;䐦Ābuቚቜ;䀉;䎤ƀaeyብቪቯron;䅤dil;䅢;䐢r;쀀𝔗ĀeiቻDzኀ\0ኇefore;戴a;䎘ĀcnኘkSpace;쀀 Space;怉ldeȀ;EFTካኬኲኼ戼qual;扃ullEqual;扅ilde;扈pf;쀀𝕋ipleDot;惛Āctዖዛr;쀀𝒯rok;䅦ૡዷጎጚጦ\0ጬጱ\0\0\0\0\0ጸጽ፷ᎅ\0ᐄᐊᐐĀcrዻጁute耻Ú䃚rĀ;oጇገ憟cir;楉rǣጓ\0y;䐎ve;䅬Āiyጞጣrc耻Û䃛;䐣blac;䅰r;쀀𝔘rave耻Ù䃙acr;䅪Ādiፁ፩erĀBPፈ፝Āarፍፐr;䁟acĀekፗፙ;揟et;掵arenthesis;揝onĀ;P፰፱拃lus;抎Āgp፻on;䅲f;쀀𝕌ЀADETadps᎕ᎮᎸᏄϨᏒᏗᏳrrowƀ;BDᅐᎠᎤar;椒ownArrow;懅ownArrow;憕quilibrium;楮eeĀ;AᏋᏌ报rrow;憥ownáϳerĀLRᏞᏨeftArrow;憖ightArrow;憗iĀ;lᏹᏺ䏒on;䎥ing;䅮cr;쀀𝒰ilde;䅨ml耻Ü䃜ҀDbcdefosvᐧᐬᐰᐳᐾᒅᒊᒐᒖash;披ar;櫫y;䐒ashĀ;lᐻᐼ抩;櫦Āerᑃᑅ;拁ƀbtyᑌᑐᑺar;怖Ā;iᑏᑕcalȀBLSTᑡᑥᑪᑴar;戣ine;䁼eparator;杘ilde;所ThinSpace;怊r;쀀𝔙pf;쀀𝕍cr;쀀𝒱dash;抪ʀcefosᒧᒬᒱᒶᒼirc;䅴dge;拀r;쀀𝔚pf;쀀𝕎cr;쀀𝒲Ȁfiosᓋᓐᓒᓘr;쀀𝔛;䎞pf;쀀𝕏cr;쀀𝒳ҀAIUacfosuᓱᓵᓹᓽᔄᔏᔔᔚᔠcy;䐯cy;䐇cy;䐮cute耻Ý䃝Āiyᔉᔍrc;䅶;䐫r;쀀𝔜pf;쀀𝕐cr;쀀𝒴ml;䅸ЀHacdefosᔵᔹᔿᕋᕏᕝᕠᕤcy;䐖cute;䅹Āayᕄᕉron;䅽;䐗ot;䅻Dzᕔ\0ᕛoWidtèa;䎖r;愨pf;愤cr;쀀𝒵ᖃᖊᖐ\0ᖰᖶᖿ\0\0\0\0ᗆᗛᗫᙟ᙭\0ᚕ᚛ᚲᚹ\0ᚾcute耻á䃡reve;䄃̀;Ediuyᖜᖝᖡᖣᖨᖭ戾;쀀∾̳;房rc耻â䃢te肻´̆;䐰lig耻æ䃦Ā;r²ᖺ;쀀𝔞rave耻à䃠ĀepᗊᗖĀfpᗏᗔsym;愵èᗓha;䎱ĀapᗟcĀclᗤᗧr;䄁g;樿ɤᗰ\0\0ᘊʀ;adsvᗺᗻᗿᘁᘇ戧nd;橕;橜lope;橘;橚;elmrszᘘᘙᘛᘞᘿᙏᙙ戠;榤e»ᘙsdĀ;aᘥᘦ戡ѡᘰᘲᘴᘶᘸᘺᘼᘾ;榨;榩;榪;榫;榬;榭;榮;榯tĀ;vᙅᙆ戟bĀ;dᙌᙍ抾;榝Āptᙔᙗh;戢»¹arr;捼Āgpᙣᙧon;䄅f;쀀𝕒;Eaeiopᙻᙽᚂᚄᚇᚊ;橰cir;橯;扊d;手s;䀧roxĀ;eᚒñᚃing耻å䃥ƀctyᚡᚦᚨr;쀀𝒶;䀪mpĀ;eᚯñʈilde耻ã䃣ml耻ä䃤Āciᛂᛈoninôɲnt;樑ࠀNabcdefiklnoprsu᛭ᛱᜰᝃᝈ០៦ᠹᡐᜍ᥈ᥰot;櫭ĀcrᛶkȀcepsᜀᜅᜍᜓong;扌psilon;䏶rime;怵imĀ;e戽q;拍Ŷᜢᜦee;抽edĀ;gᜬᜭ挅e»ᜭrkĀ;tbrk;掶Āoyᜁᝁ;䐱quo;怞ʀcmprtᝓᝡᝤᝨausĀ;eĊĉptyv;榰séᜌnoõēƀahwᝯᝳ;䎲;愶een;扬r;쀀𝔟gcostuvwឍឝឳេ៕៛ƀaiuបពរðݠrc;旯p»፱ƀdptឤឨឭot;樀lus;樁imes;樂ɱឹ\0\0ើcup;樆ar;昅riangleĀdu៍្own;施p;斳plus;樄eåᑄåᒭarow;植ƀakoᠦᠵĀcn៲ᠣkƀlst֫᠂ozenge;槫riangleȀ;dlr᠒᠓᠘斴own;斾eft;旂ight;斸k;搣Ʊᠫ\0ᠳƲᠯ\0ᠱ;斒;斑4;斓ck;斈ĀeoᠾᡍĀ;qᡃᡆ쀀=⃥uiv;쀀≡⃥t;挐Ȁptwxᡙᡞᡧᡬf;쀀𝕓Ā;tᏋᡣom»Ꮜtie;拈DHUVbdhmptuvᢅᢖᢪᢻᣗᣛᣬᤅᤊᤐᤡȀLRlrᢎᢐᢒᢔ;敗;敔;敖;敓ʀ;DUduᢡᢢᢤᢦᢨ敐;敦;敩;敤;敧ȀLRlrᢳᢵᢷᢹ;敝;敚;敜;教;HLRhlrᣊᣋᣍᣏᣑᣓᣕ救;敬;散;敠;敫;敢;敟ox;槉ȀLRlrᣤᣦᣨᣪ;敕;敒;攐;攌ʀ;DUduڽ;敥;敨;攬;攴inus;抟lus;択imes;抠ȀLRlrᤙᤛᤝ;敛;敘;攘;攔;HLRhlrᤰᤱᤳᤵᤷ᤻᤹攂;敪;敡;敞;攼;攤;攜Āevģbar耻¦䂦Ȁceioᥑᥖᥚᥠr;쀀𝒷mi;恏mĀ;elƀ;bhᥨᥩᥫ䁜;槅sub;柈ŬᥴlĀ;e怢t»pƀ;Eeįᦅᦇ;檮Ā;qۜۛೡᦧ\0᧨ᨑᨕᨲ\0ᨷᩐ\0\0᪴\0\0᫁\0\0ᬡᬮ᭒\0᯽\0ᰌƀcprᦲute;䄇̀;abcdsᦿᧀᧄ᧕᧙戩nd;橄rcup;橉Āau᧒p;橋p;橇ot;橀;쀀∩︀Āeo᧢᧥t;恁îړȀaeiu᧰᧻ᨁᨅǰ᧵\0᧸s;橍on;䄍dil耻ç䃧rc;䄉psĀ;sᨌᨍ橌m;橐ot;䄋ƀdmnᨛᨠᨦil肻¸ƭptyv;榲t脀¢;eᨭᨮ䂢räƲr;쀀𝔠ƀceiᨽᩀᩍy;䑇ckĀ;mᩇᩈ朓ark»ᩈ;䏇r;Ecefms᩠ᩢᩫ᪤᪪旋;槃ƀ;elᩩᩪᩭ䋆q;扗eɡᩴ\0\0᪈rrowĀlr᩼᪁eft;憺ight;憻ʀRSacd᪒᪔᪖»ཇ;擈st;抛irc;抚ash;抝nint;樐id;櫯cir;槂ubsĀ;u᪻᪼晣it»᪼ˬ᫇\0ᬊonĀ;eᫍᫎ䀺Ā;qÇÆɭ\0\0aĀ;t䀬;䁀ƀ;fl戁îᅠeĀmxent»eóɍǧ\0ᬇĀ;dኻᬂot;橭nôɆƀfryᬐᬔᬗ;쀀𝕔oäɔ脀©;sŕᬝr;愗Āaoᬥᬩrr;憵ss;朗Ācuᬲᬷr;쀀𝒸Ābpᬼ᭄Ā;eᭁᭂ櫏;櫑Ā;eᭉᭊ櫐;櫒dot;拯delprvw᭠᭬᭷ᮂᮬᯔarrĀlr᭨᭪;椸;椵ɰ᭲\0\0᭵r;拞c;拟arrĀ;pᮀ憶;椽̀;bcdosᮏᮐᮖᮡᮥᮨ截rcap;橈Āauᮛᮞp;橆p;橊ot;抍r;橅;쀀∪︀Ȁalrv᮵ᮿᯞᯣrrĀ;mᮼᮽ憷;椼yƀevwᯇᯔᯘqɰᯎ\0\0ᯒreã᭳uã᭵ee;拎edge;拏en耻¤䂤earrowĀlrᯮ᯳eft»ᮀight»ᮽeäᯝĀciᰁᰇoninôǷnt;戱lcty;挭ঀAHabcdefhijlorstuwz᰻᰿ᱝᱩᱵᲞᲬᲷᴍᵻᶑᶫᶻ᷆᷍ròar;楥Ȁglrs᱈ᱍ᱒᱔ger;怠eth;愸òᄳhĀ;vᱚᱛ怐»ऊūᱡᱧarow;椏aã̕Āayᱮᱳron;䄏;䐴ƀ;ao̲ᱼᲄĀgrʿᲁr;懊tseq;橷ƀglmᲑᲔᲘ耻°䂰ta;䎴ptyv;榱ĀirᲣᲨsht;楿;쀀𝔡arĀlrᲳᲵ»ࣜ»သʀaegsv᳂᳖᳜᳠mƀ;oș᳔ndĀ;ș᳑uit;晦amma;䏝in;拲ƀ;io᳧᳨᳸䃷de脀÷;o᳧ᳰntimes;拇nø᳷cy;䑒cɯᴆ\0\0ᴊrn;挞op;挍ʀlptuwᴘᴝᴢᵉᵕlar;䀤f;쀀𝕕ʀ;emps̋ᴭᴷᴽᵂqĀ;d͒ᴳot;扑inus;戸lus;戔quare;抡blebarwedgåúnƀadhᄮᵝᵧownarrowóᲃarpoonĀlrᵲᵶefôᲴighôᲶŢᵿᶅkaro÷གɯᶊ\0\0ᶎrn;挟op;挌ƀcotᶘᶣᶦĀryᶝᶡ;쀀𝒹;䑕l;槶rok;䄑Ādrᶰᶴot;拱iĀ;fᶺ᠖斿Āah᷀᷃ròЩaòྦangle;榦Āci᷒ᷕy;䑟grarr;柿ऀDacdefglmnopqrstuxḁḉḙḸոḼṉṡṾấắẽỡἪἷὄĀDoḆᴴoôĀcsḎḔute耻é䃩ter;橮ȀaioyḢḧḱḶron;䄛rĀ;cḭḮ扖耻ê䃪lon;払;䑍ot;䄗ĀDrṁṅot;扒;쀀𝔢ƀ;rsṐṑṗ檚ave耻è䃨Ā;dṜṝ檖ot;檘Ȁ;ilsṪṫṲṴ檙nters;揧;愓Ā;dṹṺ檕ot;檗ƀapsẅẉẗcr;䄓tyƀ;svẒẓẕ戅et»ẓpĀ1;ẝẤijạả;怄;怅怃ĀgsẪẬ;䅋p;怂ĀgpẴẸon;䄙f;쀀𝕖ƀalsỄỎỒrĀ;sỊị拕l;槣us;橱iƀ;lvỚớở䎵on»ớ;䏵ȀcsuvỪỳἋἣĀioữḱrc»Ḯɩỹ\0\0ỻíՈantĀglἂἆtr»ṝess»ṺƀaeiἒἚls;䀽st;扟vĀ;DȵἠD;橸parsl;槥ĀDaἯἳot;打rr;楱ƀcdiἾὁỸr;愯oô͒ĀahὉὋ;䎷耻ð䃰Āmrὓὗl耻ë䃫o;悬ƀcipὡὤὧl;䀡sôծĀeoὬὴctatioîՙnentialåչৡᾒ\0ᾞ\0ᾡᾧ\0\0ῆῌ\0ΐ\0ῦῪ \0 ⁚llingdotseñṄy;䑄male;晀ƀilrᾭᾳ῁lig;耀ffiɩᾹ\0\0᾽g;耀ffig;耀ffl;쀀𝔣lig;耀filig;쀀fjƀaltῙῡt;晭ig;耀flns;斱of;䆒ǰ΅\0ῳf;쀀𝕗ĀakֿῷĀ;vῼ´拔;櫙artint;樍Āao⁕Ācs‑⁒ႉ‸⁅⁈\0⁐β•‥‧\0耻½䂽;慓耻¼䂼;慕;慙;慛Ƴ‴\0‶;慔;慖ʴ‾⁁\0\0⁃耻¾䂾;慗;慜5;慘ƶ⁌\0⁎;慚;慝8;慞l;恄wn;挢cr;쀀𝒻ࢀEabcdefgijlnorstv₂₉₥₰₴⃰℃ℒℸ̗ℾ⅒↞Ā;lٍ₇;檌ƀcmpₐₕute;䇵maĀ;dₜ᳚䎳;檆reve;䄟Āiy₪₮rc;䄝;䐳ot;䄡Ȁ;lqsؾق₽ƀ;qsؾٌlanô٥Ȁ;cdl٥⃒⃥⃕c;檩otĀ;o⃜⃝檀Ā;l⃢⃣檂;檄Ā;e⃪⃭쀀⋛︀s;檔r;쀀𝔤Ā;gٳ؛mel;愷cy;䑓Ȁ;Eajٚℌℎℐ;檒;檥;檤ȀEaesℛℝ℩ℴ;扩pĀ;p℣ℤ檊rox»ℤĀ;q℮ℯ檈Ā;q℮ℛim;拧pf;쀀𝕘Āci⅃ⅆr;愊mƀ;el٫ⅎ⅐;檎;檐茀>;cdlqrⅠⅪⅮⅳⅹĀciⅥⅧ;檧r;橺ot;拗Par;榕uest;橼ʀadelsↄⅪ←ٖ↛ǰ↉\0proør;楸qĀlqؿ↖lesó₈ií٫Āen↣↭rtneqq;쀀≩︀Å↪ԀAabcefkosy⇄⇇⇱⇵⇺∘∝∯≨≽ròΠȀilmr⇐⇔⇗⇛rsðᒄf»․ilôکĀdr⇠⇤cy;䑊ƀ;cwࣴ⇫⇯ir;楈;憭ar;意irc;䄥ƀalr∁∎∓rtsĀ;u∉∊晥it»∊lip;怦con;抹r;쀀𝔥sĀew∣∩arow;椥arow;椦ʀamopr∺∾≃≞≣rr;懿tht;戻kĀlr≉≓eftarrow;憩ightarrow;憪f;쀀𝕙bar;怕ƀclt≯≴≸r;쀀𝒽asè⇴rok;䄧Ābp⊂⊇ull;恃hen»ᱛૡ⊣\0⊪\0⊸⋅⋎\0⋕⋳\0\0⋸⌢⍧⍢⍿\0⎆⎪⎴cute耻í䃭ƀ;iyݱ⊰⊵rc耻î䃮;䐸Ācx⊼⊿y;䐵cl耻¡䂡ĀfrΟ⋉;쀀𝔦rave耻ì䃬Ȁ;inoܾ⋝⋩⋮Āin⋢⋦nt;樌t;戭fin;槜ta;愩lig;䄳ƀaop⋾⌚⌝ƀcgt⌅⌈⌗r;䄫ƀelpܟ⌏⌓inåގarôܠh;䄱f;抷ed;䆵ʀ;cfotӴ⌬⌱⌽⍁are;愅inĀ;t⌸⌹戞ie;槝doô⌙ʀ;celpݗ⍌⍐⍛⍡al;抺Āgr⍕⍙eróᕣã⍍arhk;樗rod;樼Ȁcgpt⍯⍲⍶⍻y;䑑on;䄯f;쀀𝕚a;䎹uest耻¿䂿Āci⎊⎏r;쀀𝒾nʀ;EdsvӴ⎛⎝⎡ӳ;拹ot;拵Ā;v⎦⎧拴;拳Ā;iݷ⎮lde;䄩ǫ⎸\0⎼cy;䑖l耻ï䃯̀cfmosu⏌⏗⏜⏡⏧⏵Āiy⏑⏕rc;䄵;䐹r;쀀𝔧ath;䈷pf;쀀𝕛ǣ⏬\0⏱r;쀀𝒿rcy;䑘kcy;䑔Ѐacfghjos␋␖␢ppaĀ;v␓␔䎺;䏰Āey␛␠dil;䄷;䐺r;쀀𝔨reen;䄸cy;䑅cy;䑜pf;쀀𝕜cr;쀀𝓀ABEHabcdefghjlmnoprstuv⑰⒁⒆⒍⒑┎┽╚▀♎♞♥♹♽⚚⚲⛘❝❨➋⟀⠁⠒ƀart⑷⑺⑼ròòΕail;椛arr;椎Ā;gঔ⒋;檋ar;楢ॣ⒥\0⒪\0⒱\0\0\0\0\0⒵Ⓔ\0ⓆⓈⓍ\0⓹ute;䄺mptyv;榴raîࡌbda;䎻gƀ;dlࢎⓁⓃ;榑åࢎ;檅uo耻«䂫rЀ;bfhlpst࢙ⓞⓦⓩ⓫⓮⓱⓵Ā;f࢝ⓣs;椟s;椝ë≒p;憫l;椹im;楳l;憢ƀ;ae⓿─┄檫il;椙Ā;s┉┊檭;쀀⪭︀ƀabr┕┙┝rr;椌rk;杲Āak┢┬cĀek┨┪;䁻;䁛Āes┱┳;榋lĀdu┹┻;榏;榍Ȁaeuy╆╋╖╘ron;䄾Ādi═╔il;䄼ìࢰâ┩;䐻Ȁcqrs╣╦╭╽a;椶uoĀ;rนᝆĀdu╲╷har;楧shar;楋h;憲ʀ;fgqs▋▌উ◳◿扤tʀahlrt▘▤▷◂◨rrowĀ;t࢙□aé⓶arpoonĀdu▯▴own»њp»०eftarrows;懇ightƀahs◍◖◞rrowĀ;sࣴࢧarpoonóquigarro÷⇰hreetimes;拋ƀ;qs▋ও◺lanôবʀ;cdgsব☊☍☝☨c;檨otĀ;o☔☕橿Ā;r☚☛檁;檃Ā;e☢☥쀀⋚︀s;檓ʀadegs☳☹☽♉♋pproøⓆot;拖qĀgq♃♅ôউgtò⒌ôছiíলƀilr♕࣡♚sht;楼;쀀𝔩Ā;Eজ♣;檑š♩♶rĀdu▲♮Ā;l॥♳;楪lk;斄cy;䑙ʀ;achtੈ⚈⚋⚑⚖rò◁orneòᴈard;楫ri;旺Āio⚟⚤dot;䅀ustĀ;a⚬⚭掰che»⚭ȀEaes⚻⚽⛉⛔;扨pĀ;p⛃⛄檉rox»⛄Ā;q⛎⛏檇Ā;q⛎⚻im;拦Ѐabnoptwz⛩⛴⛷✚✯❁❇❐Ānr⛮⛱g;柬r;懽rëࣁgƀlmr⛿✍✔eftĀar০✇ightá৲apsto;柼ightá৽parrowĀlr✥✩efô⓭ight;憬ƀafl✶✹✽r;榅;쀀𝕝us;樭imes;樴š❋❏st;戗áፎƀ;ef❗❘᠀旊nge»❘arĀ;l❤❥䀨t;榓ʀachmt❳❶❼➅➇ròࢨorneòᶌarĀ;d➃;業;怎ri;抿̀achiqt➘➝ੀ➢➮➻quo;怹r;쀀𝓁mƀ;egল➪➬;檍;檏Ābu┪➳oĀ;rฟ➹;怚rok;䅂萀<;cdhilqrࠫ⟒☹⟜⟠⟥⟪⟰Āci⟗⟙;檦r;橹reå◲mes;拉arr;楶uest;橻ĀPi⟵⟹ar;榖ƀ;ef⠀भ旃rĀdu⠇⠍shar;楊har;楦Āen⠗⠡rtneqq;쀀≨︀Å⠞܀Dacdefhilnopsu⡀⡅⢂⢎⢓⢠⢥⢨⣚⣢⣤ઃ⣳⤂Dot;戺Ȁclpr⡎⡒⡣⡽r耻¯䂯Āet⡗⡙;時Ā;e⡞⡟朠se»⡟Ā;sျ⡨toȀ;dluျ⡳⡷⡻owîҌefôएðᏑker;斮Āoy⢇⢌mma;権;䐼ash;怔asuredangle»ᘦr;쀀𝔪o;愧ƀcdn⢯⢴⣉ro耻µ䂵Ȁ;acdᑤ⢽⣀⣄sôᚧir;櫰ot肻·Ƶusƀ;bd⣒ᤃ⣓戒Ā;uᴼ⣘;横ţ⣞⣡p;櫛ò−ðઁĀdp⣩⣮els;抧f;쀀𝕞Āct⣸⣽r;쀀𝓂pos»ᖝƀ;lm⤉⤊⤍䎼timap;抸ఀGLRVabcdefghijlmoprstuvw⥂⥓⥾⦉⦘⧚⧩⨕⨚⩘⩝⪃⪕⪤⪨⬄⬇⭄⭿⮮ⰴⱧⱼ⳩Āgt⥇⥋;쀀⋙̸Ā;v⥐쀀≫⃒ƀelt⥚⥲⥶ftĀar⥡⥧rrow;懍ightarrow;懎;쀀⋘̸Ā;v⥻ే쀀≪⃒ightarrow;懏ĀDd⦎⦓ash;抯ash;抮ʀbcnpt⦣⦧⦬⦱⧌la»˞ute;䅄g;쀀∠⃒ʀ;Eiop⦼⧀⧅⧈;쀀⩰̸d;쀀≋̸s;䅉roøurĀ;a⧓⧔普lĀ;s⧓ସdz⧟\0⧣p肻 ଷmpĀ;e௹ఀʀaeouy⧴⧾⨃⨐⨓ǰ⧹\0⧻;橃on;䅈dil;䅆ngĀ;dൾ⨊ot;쀀⩭̸p;橂;䐽ash;怓;Aadqsxஒ⨩⨭⨻⩁⩅⩐rr;懗rĀhr⨳⨶k;椤Ā;oᏲᏰot;쀀≐̸uiöୣĀei⩊⩎ar;椨íistĀ;sடr;쀀𝔫ȀEest⩦⩹⩼ƀ;qs⩭ƀ;qs⩴lanôií௪Ā;rஶ⪁»ஷƀAap⪊⪍⪑rò⥱rr;憮ar;櫲ƀ;svྍ⪜ྌĀ;d⪡⪢拼;拺cy;䑚AEadest⪷⪺⪾⫂⫅⫶⫹rò⥦;쀀≦̸rr;憚r;急Ȁ;fqs⫎⫣⫯tĀar⫔⫙rro÷⫁ightarro÷⪐ƀ;qs⪺⫪lanôౕĀ;sౕ⫴»శiíౝĀ;rవ⫾iĀ;eచథiäඐĀpt⬌⬑f;쀀𝕟膀¬;in⬙⬚⬶䂬nȀ;Edvஉ⬤⬨⬮;쀀⋹̸ot;쀀⋵̸ǡஉ⬳⬵;拷;拶iĀ;vಸ⬼ǡಸ⭁⭃;拾;拽ƀaor⭋⭣⭩rȀ;ast⭕⭚⭟lleìl;쀀⫽⃥;쀀∂̸lint;樔ƀ;ceಒ⭰⭳uåಥĀ;cಘ⭸Ā;eಒ⭽ñಘȀAait⮈⮋⮝⮧rò⦈rrƀ;cw⮔⮕⮙憛;쀀⤳̸;쀀↝̸ghtarrow»⮕riĀ;eೋೖchimpqu⮽⯍⯙⬄⯤⯯Ȁ;cerല⯆ഷ⯉uå;쀀𝓃ortɭ⬅\0\0⯖ará⭖mĀ;e൮⯟Ā;q൴൳suĀbp⯫⯭ååഋƀbcp⯶ⰑⰙȀ;Ees⯿ⰀഢⰄ抄;쀀⫅̸etĀ;eഛⰋqĀ;qണⰀcĀ;eലⰗñസȀ;EesⰢⰣൟⰧ抅;쀀⫆̸etĀ;e൘ⰮqĀ;qൠⰣȀgilrⰽⰿⱅⱇìௗlde耻ñ䃱çృiangleĀlrⱒⱜeftĀ;eచⱚñదightĀ;eೋⱥñĀ;mⱬⱭ䎽ƀ;esⱴⱵⱹ䀣ro;愖p;怇ҀDHadgilrsⲏⲔⲙⲞⲣⲰⲶⳓⳣash;抭arr;椄p;쀀≍⃒ash;抬ĀetⲨⲬ;쀀≥⃒;쀀>⃒nfin;槞ƀAetⲽⳁⳅrr;椂;쀀≤⃒Ā;rⳊⳍ쀀<⃒ie;쀀⊴⃒ĀAtⳘⳜrr;椃rie;쀀⊵⃒im;쀀∼⃒ƀAan⳰ⴂrr;懖rĀhr⳺⳽k;椣Ā;oᏧᏥear;椧ቓ᪕\0\0\0\0\0\0\0\0\0\0\0\0\0ⴭ\0ⴸⵈⵠⵥⶄᬇ\0\0ⶍⶫ\0ⷈⷎ\0ⷜ⸙⸫⸾⹃Ācsⴱ᪗ute耻ó䃳ĀiyⴼⵅrĀ;cⵂ耻ô䃴;䐾ʀabios᪠ⵒⵗLjⵚlac;䅑v;樸old;榼lig;䅓Ācrir;榿;쀀𝔬ͯ\0\0\0ⶂn;䋛ave耻ò䃲;槁Ābmⶈ෴ar;榵Ȁacitⶕⶥⶨrò᪀Āirⶠr;榾oss;榻nå๒;槀ƀaeiⶱⶵⶹcr;䅍ga;䏉ƀcdnⷀⷅǍron;䎿;榶pf;쀀𝕠ƀaelⷔǒr;榷rp;榹;adiosvⷪⷫⷮ⸈⸍⸐⸖戨rò᪆Ȁ;efmⷷⷸ⸂⸅橝rĀ;oⷾⷿ愴f»ⷿ耻ª䂪耻º䂺gof;抶r;橖lope;橗;橛ƀclo⸟⸡⸧ò⸁ash耻ø䃸l;折iŬⸯ⸴de耻õ䃵esĀ;aǛ⸺s;樶ml耻ö䃶bar;挽ૡ\0\0⺀⺝\0⺢⺹\0\0⻋ຜ\0⼓\0\0⼫⾼\0⿈rȀ;astЃ脀¶;l䂶leìЃɩ\0\0m;櫳;櫽y;䐿rʀcimpt⺋⺏⺓ᡥ⺗nt;䀥od;䀮il;怰enk;怱r;쀀𝔭ƀimo⺨⺰⺴Ā;v⺭⺮䏆;䏕maô੶ne;明ƀ;tv⺿⻀⻈䏀chfork»´;䏖Āau⻏⻟nĀck⻕⻝kĀ;h⇴⻛;愎ö⇴sҀ;abcdemst⻳ᤈ⼄⼆⼊⼎䀫cir;樣ir;樢Āouᵀ⼂;樥;橲n肻±ຝim;樦wo;樧ƀipu⼙⼠⼥ntint;樕f;쀀𝕡nd耻£䂣Ԁ;Eaceinosu່⼿⽁⽄⽇⾁⾉⾒⽾⾶;檳p;檷uå໙Ā;c໎⽌̀;acens່⽙⽟⽦⽨⽾pproø⽃urlyeñ໙ñ໎ƀaes⽯⽶⽺pprox;檹qq;檵im;拨iíໟmeĀ;s⾈ຮ怲ƀEas⽸⾐⽺ð⽵ƀdfp⾙⾯ƀals⾠⾥⾪lar;挮ine;挒urf;挓Ā;t⾴ïrel;抰Āci⿀⿅r;쀀𝓅;䏈ncsp;怈̀fiopsu⋢⿱r;쀀𝔮pf;쀀𝕢rime;恗cr;쀀𝓆ƀaeo⿸〉〓tĀei々rnionóڰnt;樖stĀ;e【】䀿ñἙô༔ABHabcdefhilmnoprstuxけさすムㄎㄫㅇㅢㅲㆎ㈆㈕㈤㈩㉘㉮㉲㊐㊰㊷ƀartぇおがròႳòϝail;検aròᱥar;楤cdenqrtとふへみわゔヌĀeuねぱ;쀀∽̱te;䅕iãᅮmptyv;榳gȀ;del࿑らるろ;榒;榥å࿑uo耻»䂻rր;abcfhlpstwガクシスゼゾダッデナp;極Ā;fゴs;椠;椳s;椞ë≝ð✮l;楅im;楴l;憣;憝Āaiパフil;椚oĀ;nホボ戶aló༞ƀabrョリヮrò៥rk;杳ĀakンヽcĀekヹ・;䁽;䁝Āes;榌lĀduㄊㄌ;榎;榐Ȁaeuyㄗㄜㄧㄩron;䅙Ādiㄡㄥil;䅗ìâヺ;䑀Ȁclqsㄴㄷㄽㅄa;椷dhar;楩uoĀ;rȎȍh;憳ƀacgㅎㅟངlȀ;ipsླྀㅘㅛႜnåႻarôྩt;断ƀilrㅩဣㅮsht;楽;쀀𝔯ĀaoㅷㆆrĀduㅽㅿ»ѻĀ;l႑ㆄ;楬Ā;vㆋㆌ䏁;䏱ƀgns㆕ㇹㇼht̀ahlrstㆤㆰ㇂㇘rrowĀ;tㆭaéトarpoonĀduㆻㆿowîㅾp»႒eftĀah㇊㇐rrowóarpoonóՑightarrows;應quigarro÷ニhreetimes;拌g;䋚ingdotseñἲƀahm㈍㈐㈓ròaòՑ;怏oustĀ;a㈞掱che»mid;櫮Ȁabpt㈲㈽㉀㉒Ānr㈷㈺g;柭r;懾rëဃƀafl㉇㉊㉎r;榆;쀀𝕣us;樮imes;樵Āap㉝㉧rĀ;g㉣㉤䀩t;榔olint;樒arò㇣Ȁachq㉻㊀Ⴜ㊅quo;怺r;쀀𝓇Ābu・㊊oĀ;rȔȓƀhir㊗㊛㊠reåㇸmes;拊iȀ;efl㊪ၙᠡ㊫方tri;槎luhar;楨;愞ൡ㋕㋛㋟㌬㌸㍱\0㍺㎤\0\0㏬㏰\0㐨㑈㑚㒭㒱㓊㓱\0㘖\0\0㘳cute;䅛quï➺Ԁ;Eaceinpsyᇭ㋳㋵㋿㌂㌋㌏㌟㌦㌩;檴ǰ㋺\0㋼;檸on;䅡uåᇾĀ;dᇳ㌇il;䅟rc;䅝ƀEas㌖㌘㌛;檶p;檺im;择olint;樓iíሄ;䑁otƀ;be㌴ᵇ㌵担;橦Aacmstx㍆㍊㍗㍛㍞㍣㍭rr;懘rĀhr㍐㍒ë∨Ā;oਸ਼t耻§䂧i;䀻war;椩mĀin㍩ðnuóñt;朶rĀ;o㍶⁕쀀𝔰Ȁacoy㎂㎆㎑㎠rp;景Āhy㎋㎏cy;䑉;䑈rtɭ㎙\0\0㎜iäᑤaraì耻䂭Āgm㎨㎴maƀ;fv㎱㎲㎲䏃;䏂Ѐ;deglnprካ㏅㏉㏎㏖㏞㏡㏦ot;橪Ā;qኰĀ;E㏓㏔檞;檠Ā;E㏛㏜檝;檟e;扆lus;樤arr;楲aròᄽȀaeit㏸㐈㐏㐗Āls㏽㐄lsetmé㍪hp;樳parsl;槤Ādlᑣ㐔e;挣Ā;e㐜㐝檪Ā;s㐢㐣檬;쀀⪬︀ƀflp㐮㐳㑂tcy;䑌Ā;b㐸㐹䀯Ā;a㐾㐿槄r;挿f;쀀𝕤aĀdr㑍ЂesĀ;u㑔㑕晠it»㑕ƀcsu㑠㑹㒟Āau㑥㑯pĀ;sᆈ㑫;쀀⊓︀pĀ;sᆴ㑵;쀀⊔︀uĀbp㑿㒏ƀ;esᆗᆜ㒆etĀ;eᆗ㒍ñᆝƀ;esᆨᆭ㒖etĀ;eᆨ㒝ñᆮƀ;afᅻ㒦ְrť㒫ֱ»ᅼaròᅈȀcemt㒹㒾㓂㓅r;쀀𝓈tmîñiì㐕aræᆾĀar㓎㓕rĀ;f㓔ឿ昆Āan㓚㓭ightĀep㓣㓪psiloîỠhé⺯s»⡒ʀbcmnp㓻㕞ሉ㖋㖎Ҁ;Edemnprs㔎㔏㔑㔕㔞㔣㔬㔱㔶抂;櫅ot;檽Ā;dᇚ㔚ot;櫃ult;櫁ĀEe㔨㔪;櫋;把lus;檿arr;楹ƀeiu㔽㕒㕕tƀ;en㔎㕅㕋qĀ;qᇚ㔏eqĀ;q㔫㔨m;櫇Ābp㕚㕜;櫕;櫓c̀;acensᇭ㕬㕲㕹㕻㌦pproø㋺urlyeñᇾñᇳƀaes㖂㖈㌛pproø㌚qñ㌗g;晪ڀ123;Edehlmnps㖩㖬㖯ሜ㖲㖴㗀㗉㗕㗚㗟㗨㗭耻¹䂹耻²䂲耻³䂳;櫆Āos㖹㖼t;檾ub;櫘Ā;dሢ㗅ot;櫄sĀou㗏㗒l;柉b;櫗arr;楻ult;櫂ĀEe㗤㗦;櫌;抋lus;櫀ƀeiu㗴㘉㘌tƀ;enሜ㗼㘂qĀ;qሢ㖲eqĀ;q㗧㗤m;櫈Ābp㘑㘓;櫔;櫖ƀAan㘜㘠㘭rr;懙rĀhr㘦㘨ë∮Ā;oਫwar;椪lig耻ß䃟㙑㙝㙠ዎ㙳㙹\0㙾㛂\0\0\0\0\0㛛㜃\0㜉㝬\0\0\0㞇ɲ㙖\0\0㙛get;挖;䏄rëƀaey㙦㙫㙰ron;䅥dil;䅣;䑂lrec;挕r;쀀𝔱Ȁeiko㚆㚝㚵㚼Dz㚋\0㚑eĀ4fኄኁaƀ;sv㚘㚙㚛䎸ym;䏑Ācn㚢㚲kĀas㚨㚮pproøim»ኬsðኞĀas㚺㚮ðrn耻þ䃾Ǭ̟㛆⋧es膀×;bd㛏㛐㛘䃗Ā;aᤏ㛕r;樱;樰ƀeps㛡㛣㜀á⩍Ȁ;bcf҆㛬㛰㛴ot;挶ir;櫱Ā;o㛹㛼쀀𝕥rk;櫚á㍢rime;怴ƀaip㜏㜒㝤dåቈadempst㜡㝍㝀㝑㝗㝜㝟ngleʀ;dlqr㜰㜱㜶㝀㝂斵own»ᶻeftĀ;e⠀㜾ñम;扜ightĀ;e㊪㝋ñၚot;旬inus;樺lus;樹b;槍ime;樻ezium;揢ƀcht㝲㝽㞁Āry㝷㝻;쀀𝓉;䑆cy;䑛rok;䅧Āio㞋㞎xôheadĀlr㞗㞠eftarro÷ࡏightarrow»ཝऀAHabcdfghlmoprstuw㟐㟓㟗㟤㟰㟼㠎㠜㠣㠴㡑㡝㡫㢩㣌㣒㣪㣶ròϭar;楣Ācr㟜㟢ute耻ú䃺òᅐrǣ㟪\0㟭y;䑞ve;䅭Āiy㟵㟺rc耻û䃻;䑃ƀabh㠃㠆㠋ròᎭlac;䅱aòᏃĀir㠓㠘sht;楾;쀀𝔲rave耻ù䃹š㠧㠱rĀlr㠬㠮»ॗ»ႃlk;斀Āct㠹㡍ɯ㠿\0\0㡊rnĀ;e㡅㡆挜r»㡆op;挏ri;旸Āal㡖㡚cr;䅫肻¨͉Āgp㡢㡦on;䅳f;쀀𝕦̀adhlsuᅋ㡸㡽፲㢑㢠ownáᎳarpoonĀlr㢈㢌efô㠭ighô㠯iƀ;hl㢙㢚㢜䏅»ᏺon»㢚parrows;懈ƀcit㢰㣄㣈ɯ㢶\0\0㣁rnĀ;e㢼㢽挝r»㢽op;挎ng;䅯ri;旹cr;쀀𝓊ƀdir㣙㣝㣢ot;拰lde;䅩iĀ;f㜰㣨»᠓Āam㣯㣲rò㢨l耻ü䃼angle;榧ހABDacdeflnoprsz㤜㤟㤩㤭㦵㦸㦽㧟㧤㧨㧳㧹㧽㨁㨠ròϷarĀ;v㤦㤧櫨;櫩asèϡĀnr㤲㤷grt;榜eknprst㓣㥆㥋㥒㥝㥤㦖appá␕othinçẖƀhir㓫⻈㥙opô⾵Ā;hᎷ㥢ïㆍĀiu㥩㥭gmá㎳Ābp㥲㦄setneqĀ;q㥽㦀쀀⊊︀;쀀⫋︀setneqĀ;q㦏㦒쀀⊋︀;쀀⫌︀Āhr㦛㦟etá㚜iangleĀlr㦪㦯eft»थight»ၑy;䐲ash»ံƀelr㧄㧒㧗ƀ;beⷪ㧋㧏ar;抻q;扚lip;拮Ābt㧜ᑨaòᑩr;쀀𝔳tré㦮suĀbp㧯㧱»ജ»൙pf;쀀𝕧roðtré㦴Ācu㨆㨋r;쀀𝓋Ābp㨐㨘nĀEe㦀㨖»㥾nĀEe㦒㨞»㦐igzag;榚cefoprs㨶㨻㩖㩛㩔㩡㩪irc;䅵Ādi㩀㩑Ābg㩅㩉ar;機eĀ;qᗺ㩏;扙erp;愘r;쀀𝔴pf;쀀𝕨Ā;eᑹ㩦atèᑹcr;쀀𝓌ૣណ㪇\0㪋\0㪐㪛\0\0㪝㪨㪫㪯\0\0㫃㫎\0㫘ៜtré៑r;쀀𝔵ĀAa㪔㪗ròσrò৶;䎾ĀAa㪡㪤ròθrò৫að✓is;拻ƀdptឤ㪵㪾Āfl㪺ឩ;쀀𝕩imåឲĀAa㫇㫊ròώròਁĀcq㫒ីr;쀀𝓍Āpt៖㫜ré។Ѐacefiosu㫰㫽㬈㬌㬑㬕㬛㬡cĀuy㫶㫻te耻ý䃽;䑏Āiy㬂㬆rc;䅷;䑋n耻¥䂥r;쀀𝔶cy;䑗pf;쀀𝕪cr;쀀𝓎Ācm㬦㬩y;䑎l耻ÿ䃿Ԁacdefhiosw㭂㭈㭔㭘㭤㭩㭭㭴㭺㮀cute;䅺Āay㭍㭒ron;䅾;䐷ot;䅼Āet㭝㭡træᕟa;䎶r;쀀𝔷cy;䐶grarr;懝pf;쀀𝕫cr;쀀𝓏Ājn㮅㮇;怍j;怌'.split("").map(e=>e.charCodeAt(0))),cv=new Map([[0,65533],[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function fv(e){var t;return e>=55296&&e<=57343||e>1114111?65533:(t=cv.get(e))!==null&&t!==void 0?t:e}var ht;(function(e){e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_F=102]="LOWER_F",e[e.LOWER_X=120]="LOWER_X",e[e.LOWER_Z=122]="LOWER_Z",e[e.UPPER_A=65]="UPPER_A",e[e.UPPER_F=70]="UPPER_F",e[e.UPPER_Z=90]="UPPER_Z"})(ht||(ht={}));const hv=32;var jr;(function(e){e[e.VALUE_LENGTH=49152]="VALUE_LENGTH",e[e.BRANCH_LENGTH=16256]="BRANCH_LENGTH",e[e.JUMP_TABLE=127]="JUMP_TABLE"})(jr||(jr={}));function so(e){return e>=ht.ZERO&&e<=ht.NINE}function dv(e){return e>=ht.UPPER_A&&e<=ht.UPPER_F||e>=ht.LOWER_A&&e<=ht.LOWER_F}function mv(e){return e>=ht.UPPER_A&&e<=ht.UPPER_Z||e>=ht.LOWER_A&&e<=ht.LOWER_Z||so(e)}function pv(e){return e===ht.EQUALS||mv(e)}var ft;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(ft||(ft={}));var vr;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(vr||(vr={}));class gv{constructor(t,r,n){this.decodeTree=t,this.emitCodePoint=r,this.errors=n,this.state=ft.EntityStart,this.consumed=1,this.result=0,this.treeIndex=0,this.excess=1,this.decodeMode=vr.Strict}startEntity(t){this.decodeMode=t,this.state=ft.EntityStart,this.result=0,this.treeIndex=0,this.excess=1,this.consumed=1}write(t,r){switch(this.state){case ft.EntityStart:return t.charCodeAt(r)===ht.NUM?(this.state=ft.NumericStart,this.consumed+=1,this.stateNumericStart(t,r+1)):(this.state=ft.NamedEntity,this.stateNamedEntity(t,r));case ft.NumericStart:return this.stateNumericStart(t,r);case ft.NumericDecimal:return this.stateNumericDecimal(t,r);case ft.NumericHex:return this.stateNumericHex(t,r);case ft.NamedEntity:return this.stateNamedEntity(t,r)}}stateNumericStart(t,r){return r>=t.length?-1:(t.charCodeAt(r)|hv)===ht.LOWER_X?(this.state=ft.NumericHex,this.consumed+=1,this.stateNumericHex(t,r+1)):(this.state=ft.NumericDecimal,this.stateNumericDecimal(t,r))}addToNumericResult(t,r,n,a){if(r!==n){const i=n-r;this.result=this.result*Math.pow(a,i)+Number.parseInt(t.substr(r,i),a),this.consumed+=i}}stateNumericHex(t,r){const n=r;for(;r<t.length;){const a=t.charCodeAt(r);if(so(a)||dv(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(so(a))r+=1;else return this.addToNumericResult(t,n,r,10),this.emitNumericEntity(a,2)}return this.addToNumericResult(t,n,r,10),-1}emitNumericEntity(t,r){var n;if(this.consumed<=r)return(n=this.errors)===null||n===void 0||n.absenceOfDigitsInNumericCharacterReference(this.consumed),0;if(t===ht.SEMI)this.consumed+=1;else if(this.decodeMode===vr.Strict)return 0;return this.emitCodePoint(fv(this.result),this.consumed),this.errors&&(t!==ht.SEMI&&this.errors.missingSemicolonAfterCharacterReference(),this.errors.validateNumericCharacterReference(this.result)),this.consumed}stateNamedEntity(t,r){const{decodeTree:n}=this;let a=n[this.treeIndex],i=(a&jr.VALUE_LENGTH)>>14;for(;r<t.length;r++,this.excess++){const s=t.charCodeAt(r);if(this.treeIndex=bv(n,a,this.treeIndex+Math.max(1,i),s),this.treeIndex<0)return this.result===0||this.decodeMode===vr.Attribute&&(i===0||pv(s))?0:this.emitNotTerminatedNamedEntity();if(a=n[this.treeIndex],i=(a&jr.VALUE_LENGTH)>>14,i!==0){if(s===ht.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]&jr.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]&~jr.VALUE_LENGTH:a[t+1],n),r===3&&this.emitCodePoint(a[t+2],n),n}end(){var t;switch(this.state){case ft.NamedEntity:return this.result!==0&&(this.decodeMode!==vr.Attribute||this.result===this.treeIndex)?this.emitNotTerminatedNamedEntity():0;case ft.NumericDecimal:return this.emitNumericEntity(0,2);case ft.NumericHex:return this.emitNumericEntity(0,3);case ft.NumericStart:return(t=this.errors)===null||t===void 0||t.absenceOfDigitsInNumericCharacterReference(this.consumed),0;case ft.EntityStart:return 0}}}function bv(e,t,r,n){const a=(t&jr.BRANCH_LENGTH)>>7,i=t&jr.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 qt;(function(e){e.NO_QUIRKS="no-quirks",e.QUIRKS="quirks",e.LIMITED_QUIRKS="limited-quirks"})(qt||(qt={}));var H;(function(e){e.A="a",e.ADDRESS="address",e.ANNOTATION_XML="annotation-xml",e.APPLET="applet",e.AREA="area",e.ARTICLE="article",e.ASIDE="aside",e.B="b",e.BASE="base",e.BASEFONT="basefont",e.BGSOUND="bgsound",e.BIG="big",e.BLOCKQUOTE="blockquote",e.BODY="body",e.BR="br",e.BUTTON="button",e.CAPTION="caption",e.CENTER="center",e.CODE="code",e.COL="col",e.COLGROUP="colgroup",e.DD="dd",e.DESC="desc",e.DETAILS="details",e.DIALOG="dialog",e.DIR="dir",e.DIV="div",e.DL="dl",e.DT="dt",e.EM="em",e.EMBED="embed",e.FIELDSET="fieldset",e.FIGCAPTION="figcaption",e.FIGURE="figure",e.FONT="font",e.FOOTER="footer",e.FOREIGN_OBJECT="foreignObject",e.FORM="form",e.FRAME="frame",e.FRAMESET="frameset",e.H1="h1",e.H2="h2",e.H3="h3",e.H4="h4",e.H5="h5",e.H6="h6",e.HEAD="head",e.HEADER="header",e.HGROUP="hgroup",e.HR="hr",e.HTML="html",e.I="i",e.IMG="img",e.IMAGE="image",e.INPUT="input",e.IFRAME="iframe",e.KEYGEN="keygen",e.LABEL="label",e.LI="li",e.LINK="link",e.LISTING="listing",e.MAIN="main",e.MALIGNMARK="malignmark",e.MARQUEE="marquee",e.MATH="math",e.MENU="menu",e.META="meta",e.MGLYPH="mglyph",e.MI="mi",e.MO="mo",e.MN="mn",e.MS="ms",e.MTEXT="mtext",e.NAV="nav",e.NOBR="nobr",e.NOFRAMES="noframes",e.NOEMBED="noembed",e.NOSCRIPT="noscript",e.OBJECT="object",e.OL="ol",e.OPTGROUP="optgroup",e.OPTION="option",e.P="p",e.PARAM="param",e.PLAINTEXT="plaintext",e.PRE="pre",e.RB="rb",e.RP="rp",e.RT="rt",e.RTC="rtc",e.RUBY="ruby",e.S="s",e.SCRIPT="script",e.SEARCH="search",e.SECTION="section",e.SELECT="select",e.SOURCE="source",e.SMALL="small",e.SPAN="span",e.STRIKE="strike",e.STRONG="strong",e.STYLE="style",e.SUB="sub",e.SUMMARY="summary",e.SUP="sup",e.TABLE="table",e.TBODY="tbody",e.TEMPLATE="template",e.TEXTAREA="textarea",e.TFOOT="tfoot",e.TD="td",e.TH="th",e.THEAD="thead",e.TITLE="title",e.TR="tr",e.TRACK="track",e.TT="tt",e.U="u",e.UL="ul",e.SVG="svg",e.VAR="var",e.WBR="wbr",e.XMP="xmp"})(H||(H={}));var h;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.A=1]="A",e[e.ADDRESS=2]="ADDRESS",e[e.ANNOTATION_XML=3]="ANNOTATION_XML",e[e.APPLET=4]="APPLET",e[e.AREA=5]="AREA",e[e.ARTICLE=6]="ARTICLE",e[e.ASIDE=7]="ASIDE",e[e.B=8]="B",e[e.BASE=9]="BASE",e[e.BASEFONT=10]="BASEFONT",e[e.BGSOUND=11]="BGSOUND",e[e.BIG=12]="BIG",e[e.BLOCKQUOTE=13]="BLOCKQUOTE",e[e.BODY=14]="BODY",e[e.BR=15]="BR",e[e.BUTTON=16]="BUTTON",e[e.CAPTION=17]="CAPTION",e[e.CENTER=18]="CENTER",e[e.CODE=19]="CODE",e[e.COL=20]="COL",e[e.COLGROUP=21]="COLGROUP",e[e.DD=22]="DD",e[e.DESC=23]="DESC",e[e.DETAILS=24]="DETAILS",e[e.DIALOG=25]="DIALOG",e[e.DIR=26]="DIR",e[e.DIV=27]="DIV",e[e.DL=28]="DL",e[e.DT=29]="DT",e[e.EM=30]="EM",e[e.EMBED=31]="EMBED",e[e.FIELDSET=32]="FIELDSET",e[e.FIGCAPTION=33]="FIGCAPTION",e[e.FIGURE=34]="FIGURE",e[e.FONT=35]="FONT",e[e.FOOTER=36]="FOOTER",e[e.FOREIGN_OBJECT=37]="FOREIGN_OBJECT",e[e.FORM=38]="FORM",e[e.FRAME=39]="FRAME",e[e.FRAMESET=40]="FRAMESET",e[e.H1=41]="H1",e[e.H2=42]="H2",e[e.H3=43]="H3",e[e.H4=44]="H4",e[e.H5=45]="H5",e[e.H6=46]="H6",e[e.HEAD=47]="HEAD",e[e.HEADER=48]="HEADER",e[e.HGROUP=49]="HGROUP",e[e.HR=50]="HR",e[e.HTML=51]="HTML",e[e.I=52]="I",e[e.IMG=53]="IMG",e[e.IMAGE=54]="IMAGE",e[e.INPUT=55]="INPUT",e[e.IFRAME=56]="IFRAME",e[e.KEYGEN=57]="KEYGEN",e[e.LABEL=58]="LABEL",e[e.LI=59]="LI",e[e.LINK=60]="LINK",e[e.LISTING=61]="LISTING",e[e.MAIN=62]="MAIN",e[e.MALIGNMARK=63]="MALIGNMARK",e[e.MARQUEE=64]="MARQUEE",e[e.MATH=65]="MATH",e[e.MENU=66]="MENU",e[e.META=67]="META",e[e.MGLYPH=68]="MGLYPH",e[e.MI=69]="MI",e[e.MO=70]="MO",e[e.MN=71]="MN",e[e.MS=72]="MS",e[e.MTEXT=73]="MTEXT",e[e.NAV=74]="NAV",e[e.NOBR=75]="NOBR",e[e.NOFRAMES=76]="NOFRAMES",e[e.NOEMBED=77]="NOEMBED",e[e.NOSCRIPT=78]="NOSCRIPT",e[e.OBJECT=79]="OBJECT",e[e.OL=80]="OL",e[e.OPTGROUP=81]="OPTGROUP",e[e.OPTION=82]="OPTION",e[e.P=83]="P",e[e.PARAM=84]="PARAM",e[e.PLAINTEXT=85]="PLAINTEXT",e[e.PRE=86]="PRE",e[e.RB=87]="RB",e[e.RP=88]="RP",e[e.RT=89]="RT",e[e.RTC=90]="RTC",e[e.RUBY=91]="RUBY",e[e.S=92]="S",e[e.SCRIPT=93]="SCRIPT",e[e.SEARCH=94]="SEARCH",e[e.SECTION=95]="SECTION",e[e.SELECT=96]="SELECT",e[e.SOURCE=97]="SOURCE",e[e.SMALL=98]="SMALL",e[e.SPAN=99]="SPAN",e[e.STRIKE=100]="STRIKE",e[e.STRONG=101]="STRONG",e[e.STYLE=102]="STYLE",e[e.SUB=103]="SUB",e[e.SUMMARY=104]="SUMMARY",e[e.SUP=105]="SUP",e[e.TABLE=106]="TABLE",e[e.TBODY=107]="TBODY",e[e.TEMPLATE=108]="TEMPLATE",e[e.TEXTAREA=109]="TEXTAREA",e[e.TFOOT=110]="TFOOT",e[e.TD=111]="TD",e[e.TH=112]="TH",e[e.THEAD=113]="THEAD",e[e.TITLE=114]="TITLE",e[e.TR=115]="TR",e[e.TRACK=116]="TRACK",e[e.TT=117]="TT",e[e.U=118]="U",e[e.UL=119]="UL",e[e.SVG=120]="SVG",e[e.VAR=121]="VAR",e[e.WBR=122]="WBR",e[e.XMP=123]="XMP"})(h||(h={}));const yv=new Map([[H.A,h.A],[H.ADDRESS,h.ADDRESS],[H.ANNOTATION_XML,h.ANNOTATION_XML],[H.APPLET,h.APPLET],[H.AREA,h.AREA],[H.ARTICLE,h.ARTICLE],[H.ASIDE,h.ASIDE],[H.B,h.B],[H.BASE,h.BASE],[H.BASEFONT,h.BASEFONT],[H.BGSOUND,h.BGSOUND],[H.BIG,h.BIG],[H.BLOCKQUOTE,h.BLOCKQUOTE],[H.BODY,h.BODY],[H.BR,h.BR],[H.BUTTON,h.BUTTON],[H.CAPTION,h.CAPTION],[H.CENTER,h.CENTER],[H.CODE,h.CODE],[H.COL,h.COL],[H.COLGROUP,h.COLGROUP],[H.DD,h.DD],[H.DESC,h.DESC],[H.DETAILS,h.DETAILS],[H.DIALOG,h.DIALOG],[H.DIR,h.DIR],[H.DIV,h.DIV],[H.DL,h.DL],[H.DT,h.DT],[H.EM,h.EM],[H.EMBED,h.EMBED],[H.FIELDSET,h.FIELDSET],[H.FIGCAPTION,h.FIGCAPTION],[H.FIGURE,h.FIGURE],[H.FONT,h.FONT],[H.FOOTER,h.FOOTER],[H.FOREIGN_OBJECT,h.FOREIGN_OBJECT],[H.FORM,h.FORM],[H.FRAME,h.FRAME],[H.FRAMESET,h.FRAMESET],[H.H1,h.H1],[H.H2,h.H2],[H.H3,h.H3],[H.H4,h.H4],[H.H5,h.H5],[H.H6,h.H6],[H.HEAD,h.HEAD],[H.HEADER,h.HEADER],[H.HGROUP,h.HGROUP],[H.HR,h.HR],[H.HTML,h.HTML],[H.I,h.I],[H.IMG,h.IMG],[H.IMAGE,h.IMAGE],[H.INPUT,h.INPUT],[H.IFRAME,h.IFRAME],[H.KEYGEN,h.KEYGEN],[H.LABEL,h.LABEL],[H.LI,h.LI],[H.LINK,h.LINK],[H.LISTING,h.LISTING],[H.MAIN,h.MAIN],[H.MALIGNMARK,h.MALIGNMARK],[H.MARQUEE,h.MARQUEE],[H.MATH,h.MATH],[H.MENU,h.MENU],[H.META,h.META],[H.MGLYPH,h.MGLYPH],[H.MI,h.MI],[H.MO,h.MO],[H.MN,h.MN],[H.MS,h.MS],[H.MTEXT,h.MTEXT],[H.NAV,h.NAV],[H.NOBR,h.NOBR],[H.NOFRAMES,h.NOFRAMES],[H.NOEMBED,h.NOEMBED],[H.NOSCRIPT,h.NOSCRIPT],[H.OBJECT,h.OBJECT],[H.OL,h.OL],[H.OPTGROUP,h.OPTGROUP],[H.OPTION,h.OPTION],[H.P,h.P],[H.PARAM,h.PARAM],[H.PLAINTEXT,h.PLAINTEXT],[H.PRE,h.PRE],[H.RB,h.RB],[H.RP,h.RP],[H.RT,h.RT],[H.RTC,h.RTC],[H.RUBY,h.RUBY],[H.S,h.S],[H.SCRIPT,h.SCRIPT],[H.SEARCH,h.SEARCH],[H.SECTION,h.SECTION],[H.SELECT,h.SELECT],[H.SOURCE,h.SOURCE],[H.SMALL,h.SMALL],[H.SPAN,h.SPAN],[H.STRIKE,h.STRIKE],[H.STRONG,h.STRONG],[H.STYLE,h.STYLE],[H.SUB,h.SUB],[H.SUMMARY,h.SUMMARY],[H.SUP,h.SUP],[H.TABLE,h.TABLE],[H.TBODY,h.TBODY],[H.TEMPLATE,h.TEMPLATE],[H.TEXTAREA,h.TEXTAREA],[H.TFOOT,h.TFOOT],[H.TD,h.TD],[H.TH,h.TH],[H.THEAD,h.THEAD],[H.TITLE,h.TITLE],[H.TR,h.TR],[H.TRACK,h.TRACK],[H.TT,h.TT],[H.U,h.U],[H.UL,h.UL],[H.SVG,h.SVG],[H.VAR,h.VAR],[H.WBR,h.WBR],[H.XMP,h.XMP]]);function oa(e){var t;return(t=yv.get(e))!==null&&t!==void 0?t:h.UNKNOWN}const Q=h,Ev={[W.HTML]:new Set([Q.ADDRESS,Q.APPLET,Q.AREA,Q.ARTICLE,Q.ASIDE,Q.BASE,Q.BASEFONT,Q.BGSOUND,Q.BLOCKQUOTE,Q.BODY,Q.BR,Q.BUTTON,Q.CAPTION,Q.CENTER,Q.COL,Q.COLGROUP,Q.DD,Q.DETAILS,Q.DIR,Q.DIV,Q.DL,Q.DT,Q.EMBED,Q.FIELDSET,Q.FIGCAPTION,Q.FIGURE,Q.FOOTER,Q.FORM,Q.FRAME,Q.FRAMESET,Q.H1,Q.H2,Q.H3,Q.H4,Q.H5,Q.H6,Q.HEAD,Q.HEADER,Q.HGROUP,Q.HR,Q.HTML,Q.IFRAME,Q.IMG,Q.INPUT,Q.LI,Q.LINK,Q.LISTING,Q.MAIN,Q.MARQUEE,Q.MENU,Q.META,Q.NAV,Q.NOEMBED,Q.NOFRAMES,Q.NOSCRIPT,Q.OBJECT,Q.OL,Q.P,Q.PARAM,Q.PLAINTEXT,Q.PRE,Q.SCRIPT,Q.SECTION,Q.SELECT,Q.SOURCE,Q.STYLE,Q.SUMMARY,Q.TABLE,Q.TBODY,Q.TD,Q.TEMPLATE,Q.TEXTAREA,Q.TFOOT,Q.TH,Q.THEAD,Q.TITLE,Q.TR,Q.TRACK,Q.UL,Q.WBR,Q.XMP]),[W.MATHML]:new Set([Q.MI,Q.MO,Q.MN,Q.MS,Q.MTEXT,Q.ANNOTATION_XML]),[W.SVG]:new Set([Q.TITLE,Q.FOREIGN_OBJECT,Q.DESC]),[W.XLINK]:new Set,[W.XML]:new Set,[W.XMLNS]:new Set},uo=new Set([Q.H1,Q.H2,Q.H3,Q.H4,Q.H5,Q.H6]);H.STYLE,H.SCRIPT,H.XMP,H.IFRAME,H.NOEMBED,H.NOFRAMES,H.PLAINTEXT;var C;(function(e){e[e.DATA=0]="DATA",e[e.RCDATA=1]="RCDATA",e[e.RAWTEXT=2]="RAWTEXT",e[e.SCRIPT_DATA=3]="SCRIPT_DATA",e[e.PLAINTEXT=4]="PLAINTEXT",e[e.TAG_OPEN=5]="TAG_OPEN",e[e.END_TAG_OPEN=6]="END_TAG_OPEN",e[e.TAG_NAME=7]="TAG_NAME",e[e.RCDATA_LESS_THAN_SIGN=8]="RCDATA_LESS_THAN_SIGN",e[e.RCDATA_END_TAG_OPEN=9]="RCDATA_END_TAG_OPEN",e[e.RCDATA_END_TAG_NAME=10]="RCDATA_END_TAG_NAME",e[e.RAWTEXT_LESS_THAN_SIGN=11]="RAWTEXT_LESS_THAN_SIGN",e[e.RAWTEXT_END_TAG_OPEN=12]="RAWTEXT_END_TAG_OPEN",e[e.RAWTEXT_END_TAG_NAME=13]="RAWTEXT_END_TAG_NAME",e[e.SCRIPT_DATA_LESS_THAN_SIGN=14]="SCRIPT_DATA_LESS_THAN_SIGN",e[e.SCRIPT_DATA_END_TAG_OPEN=15]="SCRIPT_DATA_END_TAG_OPEN",e[e.SCRIPT_DATA_END_TAG_NAME=16]="SCRIPT_DATA_END_TAG_NAME",e[e.SCRIPT_DATA_ESCAPE_START=17]="SCRIPT_DATA_ESCAPE_START",e[e.SCRIPT_DATA_ESCAPE_START_DASH=18]="SCRIPT_DATA_ESCAPE_START_DASH",e[e.SCRIPT_DATA_ESCAPED=19]="SCRIPT_DATA_ESCAPED",e[e.SCRIPT_DATA_ESCAPED_DASH=20]="SCRIPT_DATA_ESCAPED_DASH",e[e.SCRIPT_DATA_ESCAPED_DASH_DASH=21]="SCRIPT_DATA_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN=22]="SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_OPEN=23]="SCRIPT_DATA_ESCAPED_END_TAG_OPEN",e[e.SCRIPT_DATA_ESCAPED_END_TAG_NAME=24]="SCRIPT_DATA_ESCAPED_END_TAG_NAME",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_START=25]="SCRIPT_DATA_DOUBLE_ESCAPE_START",e[e.SCRIPT_DATA_DOUBLE_ESCAPED=26]="SCRIPT_DATA_DOUBLE_ESCAPED",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH=27]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH=28]="SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH",e[e.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN=29]="SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN",e[e.SCRIPT_DATA_DOUBLE_ESCAPE_END=30]="SCRIPT_DATA_DOUBLE_ESCAPE_END",e[e.BEFORE_ATTRIBUTE_NAME=31]="BEFORE_ATTRIBUTE_NAME",e[e.ATTRIBUTE_NAME=32]="ATTRIBUTE_NAME",e[e.AFTER_ATTRIBUTE_NAME=33]="AFTER_ATTRIBUTE_NAME",e[e.BEFORE_ATTRIBUTE_VALUE=34]="BEFORE_ATTRIBUTE_VALUE",e[e.ATTRIBUTE_VALUE_DOUBLE_QUOTED=35]="ATTRIBUTE_VALUE_DOUBLE_QUOTED",e[e.ATTRIBUTE_VALUE_SINGLE_QUOTED=36]="ATTRIBUTE_VALUE_SINGLE_QUOTED",e[e.ATTRIBUTE_VALUE_UNQUOTED=37]="ATTRIBUTE_VALUE_UNQUOTED",e[e.AFTER_ATTRIBUTE_VALUE_QUOTED=38]="AFTER_ATTRIBUTE_VALUE_QUOTED",e[e.SELF_CLOSING_START_TAG=39]="SELF_CLOSING_START_TAG",e[e.BOGUS_COMMENT=40]="BOGUS_COMMENT",e[e.MARKUP_DECLARATION_OPEN=41]="MARKUP_DECLARATION_OPEN",e[e.COMMENT_START=42]="COMMENT_START",e[e.COMMENT_START_DASH=43]="COMMENT_START_DASH",e[e.COMMENT=44]="COMMENT",e[e.COMMENT_LESS_THAN_SIGN=45]="COMMENT_LESS_THAN_SIGN",e[e.COMMENT_LESS_THAN_SIGN_BANG=46]="COMMENT_LESS_THAN_SIGN_BANG",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH=47]="COMMENT_LESS_THAN_SIGN_BANG_DASH",e[e.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH=48]="COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH",e[e.COMMENT_END_DASH=49]="COMMENT_END_DASH",e[e.COMMENT_END=50]="COMMENT_END",e[e.COMMENT_END_BANG=51]="COMMENT_END_BANG",e[e.DOCTYPE=52]="DOCTYPE",e[e.BEFORE_DOCTYPE_NAME=53]="BEFORE_DOCTYPE_NAME",e[e.DOCTYPE_NAME=54]="DOCTYPE_NAME",e[e.AFTER_DOCTYPE_NAME=55]="AFTER_DOCTYPE_NAME",e[e.AFTER_DOCTYPE_PUBLIC_KEYWORD=56]="AFTER_DOCTYPE_PUBLIC_KEYWORD",e[e.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER=57]="BEFORE_DOCTYPE_PUBLIC_IDENTIFIER",e[e.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED=58]="DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED=59]="DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_PUBLIC_IDENTIFIER=60]="AFTER_DOCTYPE_PUBLIC_IDENTIFIER",e[e.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS=61]="BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS",e[e.AFTER_DOCTYPE_SYSTEM_KEYWORD=62]="AFTER_DOCTYPE_SYSTEM_KEYWORD",e[e.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER=63]="BEFORE_DOCTYPE_SYSTEM_IDENTIFIER",e[e.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED=64]="DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED",e[e.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED=65]="DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED",e[e.AFTER_DOCTYPE_SYSTEM_IDENTIFIER=66]="AFTER_DOCTYPE_SYSTEM_IDENTIFIER",e[e.BOGUS_DOCTYPE=67]="BOGUS_DOCTYPE",e[e.CDATA_SECTION=68]="CDATA_SECTION",e[e.CDATA_SECTION_BRACKET=69]="CDATA_SECTION_BRACKET",e[e.CDATA_SECTION_END=70]="CDATA_SECTION_END",e[e.CHARACTER_REFERENCE=71]="CHARACTER_REFERENCE",e[e.AMBIGUOUS_AMPERSAND=72]="AMBIGUOUS_AMPERSAND"})(C||(C={}));const Ze={DATA:C.DATA,RCDATA:C.RCDATA,RAWTEXT:C.RAWTEXT,SCRIPT_DATA:C.SCRIPT_DATA,PLAINTEXT:C.PLAINTEXT,CDATA_SECTION:C.CDATA_SECTION};function xv(e){return e>=w.DIGIT_0&&e<=w.DIGIT_9}function Ca(e){return e>=w.LATIN_CAPITAL_A&&e<=w.LATIN_CAPITAL_Z}function Tv(e){return e>=w.LATIN_SMALL_A&&e<=w.LATIN_SMALL_Z}function Fr(e){return Tv(e)||Ca(e)}function wf(e){return Fr(e)||xv(e)}function ji(e){return e+32}function Jp(e){return e===w.SPACE||e===w.LINE_FEED||e===w.TABULATION||e===w.FORM_FEED}function Af(e){return Jp(e)||e===w.SOLIDUS||e===w.GREATER_THAN_SIGN}function vv(e){return e===w.NULL?q.nullCharacterReference:e>1114111?q.characterReferenceOutsideUnicodeRange:Gp(e)?q.surrogateCharacterReference:Kp(e)?q.noncharacterCharacterReference:Xp(e)||e===w.CARRIAGE_RETURN?q.controlCharacterReference:null}class wv{constructor(t,r){this.options=t,this.handler=r,this.paused=!1,this.inLoop=!1,this.inForeignNode=!1,this.lastStartTagName="",this.active=!1,this.state=C.DATA,this.returnState=C.DATA,this.entityStartPos=0,this.consumedAfterSnapshot=-1,this.currentCharacterToken=null,this.currentToken=null,this.currentAttr={name:"",value:""},this.preprocessor=new ov(r),this.currentLocation=this.getCurrentLocation(-1),this.entityDecoder=new gv(lv,(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=vv(n);a&&this._err(a,1)}}:void 0)}_err(t,r=0){var n,a;(a=(n=this.handler).onParseError)===null||a===void 0||a.call(n,this.preprocessor.getError(t,r))}getCurrentLocation(t){return this.options.sourceCodeLocationInfo?{startLine:this.preprocessor.line,startCol:this.preprocessor.col-t,startOffset:this.preprocessor.offset-t,endLine:-1,endCol:-1,endOffset:-1}:null}_runParsingLoop(){if(!this.inLoop){for(this.inLoop=!0;this.active&&!this.paused;){this.consumedAfterSnapshot=0;const t=this._consume();this._ensureHibernation()||this._callState(t)}this.inLoop=!1}}pause(){this.paused=!0}resume(t){if(!this.paused)throw new Error("Parser was already resumed");this.paused=!1,!this.inLoop&&(this._runParsingLoop(),this.paused||t==null||t())}write(t,r,n){this.active=!0,this.preprocessor.write(t,r),this._runParsingLoop(),this.paused||n==null||n()}insertHtmlAtCurrentPos(t){this.active=!0,this.preprocessor.insertHtmlAtCurrentPos(t),this._runParsingLoop()}_ensureHibernation(){return this.preprocessor.endOfChunkHit?(this.preprocessor.retreat(this.consumedAfterSnapshot),this.consumedAfterSnapshot=0,this.active=!1,!0):!1}_consume(){return this.consumedAfterSnapshot++,this.preprocessor.advance()}_advanceBy(t){this.consumedAfterSnapshot+=t;for(let r=0;r<t;r++)this.preprocessor.advance()}_consumeSequenceIfMatch(t,r){return this.preprocessor.startsWith(t,r)?(this._advanceBy(t.length-1),!0):!1}_createStartTagToken(){this.currentToken={type:Ie.START_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(1)}}_createEndTagToken(){this.currentToken={type:Ie.END_TAG,tagName:"",tagID:h.UNKNOWN,selfClosing:!1,ackSelfClosing:!1,attrs:[],location:this.getCurrentLocation(2)}}_createCommentToken(t){this.currentToken={type:Ie.COMMENT,data:"",location:this.getCurrentLocation(t)}}_createDoctypeToken(t){this.currentToken={type:Ie.DOCTYPE,name:t,forceQuirks:!1,publicId:null,systemId:null,location:this.currentLocation}}_createCharacterToken(t,r){this.currentCharacterToken={type:t,chars:r,location:this.currentLocation}}_createAttr(t){this.currentAttr={name:t,value:""},this.currentLocation=this.getCurrentLocation(0)}_leaveAttrName(){var t,r;const n=this.currentToken;if(Qp(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=oa(t.tagName),t.type===Ie.START_TAG?(this.lastStartTagName=t.tagName,this.handler.onStartTag(t)):(t.attrs.length>0&&this._err(q.endTagWithAttributes),t.selfClosing&&this._err(q.endTagWithTrailingSolidus),this.handler.onEndTag(t)),this.preprocessor.dropParsedChunk()}emitCurrentComment(t){this.prepareToken(t),this.handler.onComment(t),this.preprocessor.dropParsedChunk()}emitCurrentDoctype(t){this.prepareToken(t),this.handler.onDoctype(t),this.preprocessor.dropParsedChunk()}_emitCurrentCharacterToken(t){if(this.currentCharacterToken){switch(t&&this.currentCharacterToken.location&&(this.currentCharacterToken.location.endLine=t.startLine,this.currentCharacterToken.location.endCol=t.startCol,this.currentCharacterToken.location.endOffset=t.startOffset),this.currentCharacterToken.type){case Ie.CHARACTER:{this.handler.onCharacter(this.currentCharacterToken);break}case Ie.NULL_CHARACTER:{this.handler.onNullCharacter(this.currentCharacterToken);break}case Ie.WHITESPACE_CHARACTER:{this.handler.onWhitespaceCharacter(this.currentCharacterToken);break}}this.currentCharacterToken=null}}_emitEOFToken(){const t=this.getCurrentLocation(0);t&&(t.endLine=t.startLine,t.endCol=t.startCol,t.endOffset=t.startOffset),this._emitCurrentCharacterToken(t),this.handler.onEof({type:Ie.EOF,location:t}),this.active=!1}_appendCharToCurrentCharacterToken(t,r){if(this.currentCharacterToken)if(this.currentCharacterToken.type===t){this.currentCharacterToken.chars+=r;return}else this.currentLocation=this.getCurrentLocation(0),this._emitCurrentCharacterToken(this.currentLocation),this.preprocessor.dropParsedChunk();this._createCharacterToken(t,r)}_emitCodePoint(t){const r=Jp(t)?Ie.WHITESPACE_CHARACTER:t===w.NULL?Ie.NULL_CHARACTER:Ie.CHARACTER;this._appendCharToCurrentCharacterToken(r,String.fromCodePoint(t))}_emitChars(t){this._appendCharToCurrentCharacterToken(Ie.CHARACTER,t)}_startCharacterReference(){this.returnState=this.state,this.state=C.CHARACTER_REFERENCE,this.entityStartPos=this.preprocessor.pos,this.entityDecoder.startEntity(this._isCharacterReferenceInAttribute()?vr.Attribute:vr.Legacy)}_isCharacterReferenceInAttribute(){return this.returnState===C.ATTRIBUTE_VALUE_DOUBLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_SINGLE_QUOTED||this.returnState===C.ATTRIBUTE_VALUE_UNQUOTED}_flushCodePointConsumedAsCharacterReference(t){this._isCharacterReferenceInAttribute()?this.currentAttr.value+=String.fromCodePoint(t):this._emitCodePoint(t)}_callState(t){switch(this.state){case C.DATA:{this._stateData(t);break}case C.RCDATA:{this._stateRcdata(t);break}case C.RAWTEXT:{this._stateRawtext(t);break}case C.SCRIPT_DATA:{this._stateScriptData(t);break}case C.PLAINTEXT:{this._statePlaintext(t);break}case C.TAG_OPEN:{this._stateTagOpen(t);break}case C.END_TAG_OPEN:{this._stateEndTagOpen(t);break}case C.TAG_NAME:{this._stateTagName(t);break}case C.RCDATA_LESS_THAN_SIGN:{this._stateRcdataLessThanSign(t);break}case C.RCDATA_END_TAG_OPEN:{this._stateRcdataEndTagOpen(t);break}case C.RCDATA_END_TAG_NAME:{this._stateRcdataEndTagName(t);break}case C.RAWTEXT_LESS_THAN_SIGN:{this._stateRawtextLessThanSign(t);break}case C.RAWTEXT_END_TAG_OPEN:{this._stateRawtextEndTagOpen(t);break}case C.RAWTEXT_END_TAG_NAME:{this._stateRawtextEndTagName(t);break}case C.SCRIPT_DATA_LESS_THAN_SIGN:{this._stateScriptDataLessThanSign(t);break}case C.SCRIPT_DATA_END_TAG_OPEN:{this._stateScriptDataEndTagOpen(t);break}case C.SCRIPT_DATA_END_TAG_NAME:{this._stateScriptDataEndTagName(t);break}case C.SCRIPT_DATA_ESCAPE_START:{this._stateScriptDataEscapeStart(t);break}case C.SCRIPT_DATA_ESCAPE_START_DASH:{this._stateScriptDataEscapeStartDash(t);break}case C.SCRIPT_DATA_ESCAPED:{this._stateScriptDataEscaped(t);break}case C.SCRIPT_DATA_ESCAPED_DASH:{this._stateScriptDataEscapedDash(t);break}case C.SCRIPT_DATA_ESCAPED_DASH_DASH:{this._stateScriptDataEscapedDashDash(t);break}case C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataEscapedLessThanSign(t);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:{this._stateScriptDataEscapedEndTagOpen(t);break}case C.SCRIPT_DATA_ESCAPED_END_TAG_NAME:{this._stateScriptDataEscapedEndTagName(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_START:{this._stateScriptDataDoubleEscapeStart(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED:{this._stateScriptDataDoubleEscaped(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH:{this._stateScriptDataDoubleEscapedDash(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH:{this._stateScriptDataDoubleEscapedDashDash(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN:{this._stateScriptDataDoubleEscapedLessThanSign(t);break}case C.SCRIPT_DATA_DOUBLE_ESCAPE_END:{this._stateScriptDataDoubleEscapeEnd(t);break}case C.BEFORE_ATTRIBUTE_NAME:{this._stateBeforeAttributeName(t);break}case C.ATTRIBUTE_NAME:{this._stateAttributeName(t);break}case C.AFTER_ATTRIBUTE_NAME:{this._stateAfterAttributeName(t);break}case C.BEFORE_ATTRIBUTE_VALUE:{this._stateBeforeAttributeValue(t);break}case C.ATTRIBUTE_VALUE_DOUBLE_QUOTED:{this._stateAttributeValueDoubleQuoted(t);break}case C.ATTRIBUTE_VALUE_SINGLE_QUOTED:{this._stateAttributeValueSingleQuoted(t);break}case C.ATTRIBUTE_VALUE_UNQUOTED:{this._stateAttributeValueUnquoted(t);break}case C.AFTER_ATTRIBUTE_VALUE_QUOTED:{this._stateAfterAttributeValueQuoted(t);break}case C.SELF_CLOSING_START_TAG:{this._stateSelfClosingStartTag(t);break}case C.BOGUS_COMMENT:{this._stateBogusComment(t);break}case C.MARKUP_DECLARATION_OPEN:{this._stateMarkupDeclarationOpen(t);break}case C.COMMENT_START:{this._stateCommentStart(t);break}case C.COMMENT_START_DASH:{this._stateCommentStartDash(t);break}case C.COMMENT:{this._stateComment(t);break}case C.COMMENT_LESS_THAN_SIGN:{this._stateCommentLessThanSign(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG:{this._stateCommentLessThanSignBang(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH:{this._stateCommentLessThanSignBangDash(t);break}case C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:{this._stateCommentLessThanSignBangDashDash(t);break}case C.COMMENT_END_DASH:{this._stateCommentEndDash(t);break}case C.COMMENT_END:{this._stateCommentEnd(t);break}case C.COMMENT_END_BANG:{this._stateCommentEndBang(t);break}case C.DOCTYPE:{this._stateDoctype(t);break}case C.BEFORE_DOCTYPE_NAME:{this._stateBeforeDoctypeName(t);break}case C.DOCTYPE_NAME:{this._stateDoctypeName(t);break}case C.AFTER_DOCTYPE_NAME:{this._stateAfterDoctypeName(t);break}case C.AFTER_DOCTYPE_PUBLIC_KEYWORD:{this._stateAfterDoctypePublicKeyword(t);break}case C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateBeforeDoctypePublicIdentifier(t);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypePublicIdentifierDoubleQuoted(t);break}case C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypePublicIdentifierSingleQuoted(t);break}case C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER:{this._stateAfterDoctypePublicIdentifier(t);break}case C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS:{this._stateBetweenDoctypePublicAndSystemIdentifiers(t);break}case C.AFTER_DOCTYPE_SYSTEM_KEYWORD:{this._stateAfterDoctypeSystemKeyword(t);break}case C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateBeforeDoctypeSystemIdentifier(t);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED:{this._stateDoctypeSystemIdentifierDoubleQuoted(t);break}case C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED:{this._stateDoctypeSystemIdentifierSingleQuoted(t);break}case C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER:{this._stateAfterDoctypeSystemIdentifier(t);break}case C.BOGUS_DOCTYPE:{this._stateBogusDoctype(t);break}case C.CDATA_SECTION:{this._stateCdataSection(t);break}case C.CDATA_SECTION_BRACKET:{this._stateCdataSectionBracket(t);break}case C.CDATA_SECTION_END:{this._stateCdataSectionEnd(t);break}case C.CHARACTER_REFERENCE:{this._stateCharacterReference();break}case C.AMBIGUOUS_AMPERSAND:{this._stateAmbiguousAmpersand(t);break}default:throw new Error("Unknown state")}}_stateData(t){switch(t){case w.LESS_THAN_SIGN:{this.state=C.TAG_OPEN;break}case w.AMPERSAND:{this._startCharacterReference();break}case w.NULL:{this._err(q.unexpectedNullCharacter),this._emitCodePoint(t);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRcdata(t){switch(t){case w.AMPERSAND:{this._startCharacterReference();break}case w.LESS_THAN_SIGN:{this.state=C.RCDATA_LESS_THAN_SIGN;break}case w.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateRawtext(t){switch(t){case w.LESS_THAN_SIGN:{this.state=C.RAWTEXT_LESS_THAN_SIGN;break}case w.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptData(t){switch(t){case w.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_LESS_THAN_SIGN;break}case w.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_statePlaintext(t){switch(t){case w.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case w.EOF:{this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateTagOpen(t){if(Fr(t))this._createStartTagToken(),this.state=C.TAG_NAME,this._stateTagName(t);else switch(t){case w.EXCLAMATION_MARK:{this.state=C.MARKUP_DECLARATION_OPEN;break}case w.SOLIDUS:{this.state=C.END_TAG_OPEN;break}case w.QUESTION_MARK:{this._err(q.unexpectedQuestionMarkInsteadOfTagName),this._createCommentToken(1),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t);break}case w.EOF:{this._err(q.eofBeforeTagName),this._emitChars("<"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._emitChars("<"),this.state=C.DATA,this._stateData(t)}}_stateEndTagOpen(t){if(Fr(t))this._createEndTagToken(),this.state=C.TAG_NAME,this._stateTagName(t);else switch(t){case w.GREATER_THAN_SIGN:{this._err(q.missingEndTagName),this.state=C.DATA;break}case w.EOF:{this._err(q.eofBeforeTagName),this._emitChars("</"),this._emitEOFToken();break}default:this._err(q.invalidFirstCharacterOfTagName),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t)}}_stateTagName(t){const r=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=C.BEFORE_ATTRIBUTE_NAME;break}case w.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case w.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case w.NULL:{this._err(q.unexpectedNullCharacter),r.tagName+=Ve;break}case w.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:r.tagName+=String.fromCodePoint(Ca(t)?ji(t):t)}}_stateRcdataLessThanSign(t){t===w.SOLIDUS?this.state=C.RCDATA_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RCDATA,this._stateRcdata(t))}_stateRcdataEndTagOpen(t){Fr(t)?(this.state=C.RCDATA_END_TAG_NAME,this._stateRcdataEndTagName(t)):(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(t))}handleSpecialEndTag(t){if(!this.preprocessor.startsWith(this.lastStartTagName,!1))return!this._ensureHibernation();this._createEndTagToken();const r=this.currentToken;switch(r.tagName=this.lastStartTagName,this.preprocessor.peek(this.lastStartTagName.length)){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:return this._advanceBy(this.lastStartTagName.length),this.state=C.BEFORE_ATTRIBUTE_NAME,!1;case w.SOLIDUS:return this._advanceBy(this.lastStartTagName.length),this.state=C.SELF_CLOSING_START_TAG,!1;case w.GREATER_THAN_SIGN:return this._advanceBy(this.lastStartTagName.length),this.emitCurrentTagToken(),this.state=C.DATA,!1;default:return!this._ensureHibernation()}}_stateRcdataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.RCDATA,this._stateRcdata(t))}_stateRawtextLessThanSign(t){t===w.SOLIDUS?this.state=C.RAWTEXT_END_TAG_OPEN:(this._emitChars("<"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagOpen(t){Fr(t)?(this.state=C.RAWTEXT_END_TAG_NAME,this._stateRawtextEndTagName(t)):(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateRawtextEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.RAWTEXT,this._stateRawtext(t))}_stateScriptDataLessThanSign(t){switch(t){case w.SOLIDUS:{this.state=C.SCRIPT_DATA_END_TAG_OPEN;break}case w.EXCLAMATION_MARK:{this.state=C.SCRIPT_DATA_ESCAPE_START,this._emitChars("<!");break}default:this._emitChars("<"),this.state=C.SCRIPT_DATA,this._stateScriptData(t)}}_stateScriptDataEndTagOpen(t){Fr(t)?(this.state=C.SCRIPT_DATA_END_TAG_NAME,this._stateScriptDataEndTagName(t)):(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStart(t){t===w.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPE_START_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscapeStartDash(t){t===w.HYPHEN_MINUS?(this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-")):(this.state=C.SCRIPT_DATA,this._stateScriptData(t))}_stateScriptDataEscaped(t){switch(t){case w.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH,this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case w.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case w.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataEscapedDash(t){switch(t){case w.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_ESCAPED_DASH_DASH,this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case w.NULL:{this._err(q.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(Ve);break}case w.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedDashDash(t){switch(t){case w.HYPHEN_MINUS:{this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_ESCAPED_LESS_THAN_SIGN;break}case w.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case w.NULL:{this._err(q.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_ESCAPED,this._emitChars(Ve);break}case w.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataEscapedLessThanSign(t){t===w.SOLIDUS?this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_OPEN:Fr(t)?(this._emitChars("<"),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_START,this._stateScriptDataDoubleEscapeStart(t)):(this._emitChars("<"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagOpen(t){Fr(t)?(this.state=C.SCRIPT_DATA_ESCAPED_END_TAG_NAME,this._stateScriptDataEscapedEndTagName(t)):(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataEscapedEndTagName(t){this.handleSpecialEndTag(t)&&(this._emitChars("</"),this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscapeStart(t){if(this.preprocessor.startsWith(kt.SCRIPT,!1)&&Af(this.preprocessor.peek(kt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<kt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_ESCAPED,this._stateScriptDataEscaped(t))}_stateScriptDataDoubleEscaped(t){switch(t){case w.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH,this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case w.NULL:{this._err(q.unexpectedNullCharacter),this._emitChars(Ve);break}case w.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDash(t){switch(t){case w.HYPHEN_MINUS:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_DASH_DASH,this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case w.NULL:{this._err(q.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ve);break}case w.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedDashDash(t){switch(t){case w.HYPHEN_MINUS:{this._emitChars("-");break}case w.LESS_THAN_SIGN:{this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED_LESS_THAN_SIGN,this._emitChars("<");break}case w.GREATER_THAN_SIGN:{this.state=C.SCRIPT_DATA,this._emitChars(">");break}case w.NULL:{this._err(q.unexpectedNullCharacter),this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitChars(Ve);break}case w.EOF:{this._err(q.eofInScriptHtmlCommentLikeText),this._emitEOFToken();break}default:this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._emitCodePoint(t)}}_stateScriptDataDoubleEscapedLessThanSign(t){t===w.SOLIDUS?(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPE_END,this._emitChars("/")):(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateScriptDataDoubleEscapeEnd(t){if(this.preprocessor.startsWith(kt.SCRIPT,!1)&&Af(this.preprocessor.peek(kt.SCRIPT.length))){this._emitCodePoint(t);for(let r=0;r<kt.SCRIPT.length;r++)this._emitCodePoint(this._consume());this.state=C.SCRIPT_DATA_ESCAPED}else this._ensureHibernation()||(this.state=C.SCRIPT_DATA_DOUBLE_ESCAPED,this._stateScriptDataDoubleEscaped(t))}_stateBeforeAttributeName(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.SOLIDUS:case w.GREATER_THAN_SIGN:case w.EOF:{this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case w.EQUALS_SIGN:{this._err(q.unexpectedEqualsSignBeforeAttributeName),this._createAttr("="),this.state=C.ATTRIBUTE_NAME;break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateAttributeName(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:case w.SOLIDUS:case w.GREATER_THAN_SIGN:case w.EOF:{this._leaveAttrName(),this.state=C.AFTER_ATTRIBUTE_NAME,this._stateAfterAttributeName(t);break}case w.EQUALS_SIGN:{this._leaveAttrName(),this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case w.QUOTATION_MARK:case w.APOSTROPHE:case w.LESS_THAN_SIGN:{this._err(q.unexpectedCharacterInAttributeName),this.currentAttr.name+=String.fromCodePoint(t);break}case w.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.name+=Ve;break}default:this.currentAttr.name+=String.fromCodePoint(Ca(t)?ji(t):t)}}_stateAfterAttributeName(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.SOLIDUS:{this.state=C.SELF_CLOSING_START_TAG;break}case w.EQUALS_SIGN:{this.state=C.BEFORE_ATTRIBUTE_VALUE;break}case w.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentTagToken();break}case w.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._createAttr(""),this.state=C.ATTRIBUTE_NAME,this._stateAttributeName(t)}}_stateBeforeAttributeValue(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.QUOTATION_MARK:{this.state=C.ATTRIBUTE_VALUE_DOUBLE_QUOTED;break}case w.APOSTROPHE:{this.state=C.ATTRIBUTE_VALUE_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(q.missingAttributeValue),this.state=C.DATA,this.emitCurrentTagToken();break}default:this.state=C.ATTRIBUTE_VALUE_UNQUOTED,this._stateAttributeValueUnquoted(t)}}_stateAttributeValueDoubleQuoted(t){switch(t){case w.QUOTATION_MARK:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case w.AMPERSAND:{this._startCharacterReference();break}case w.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case w.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueSingleQuoted(t){switch(t){case w.APOSTROPHE:{this.state=C.AFTER_ATTRIBUTE_VALUE_QUOTED;break}case w.AMPERSAND:{this._startCharacterReference();break}case w.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case w.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAttributeValueUnquoted(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case w.AMPERSAND:{this._startCharacterReference();break}case w.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case w.NULL:{this._err(q.unexpectedNullCharacter),this.currentAttr.value+=Ve;break}case w.QUOTATION_MARK:case w.APOSTROPHE:case w.LESS_THAN_SIGN:case w.EQUALS_SIGN:case w.GRAVE_ACCENT:{this._err(q.unexpectedCharacterInUnquotedAttributeValue),this.currentAttr.value+=String.fromCodePoint(t);break}case w.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this.currentAttr.value+=String.fromCodePoint(t)}}_stateAfterAttributeValueQuoted(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this._leaveAttrValue(),this.state=C.BEFORE_ATTRIBUTE_NAME;break}case w.SOLIDUS:{this._leaveAttrValue(),this.state=C.SELF_CLOSING_START_TAG;break}case w.GREATER_THAN_SIGN:{this._leaveAttrValue(),this.state=C.DATA,this.emitCurrentTagToken();break}case w.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBetweenAttributes),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateSelfClosingStartTag(t){switch(t){case w.GREATER_THAN_SIGN:{const r=this.currentToken;r.selfClosing=!0,this.state=C.DATA,this.emitCurrentTagToken();break}case w.EOF:{this._err(q.eofInTag),this._emitEOFToken();break}default:this._err(q.unexpectedSolidusInTag),this.state=C.BEFORE_ATTRIBUTE_NAME,this._stateBeforeAttributeName(t)}}_stateBogusComment(t){const r=this.currentToken;switch(t){case w.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(r);break}case w.EOF:{this.emitCurrentComment(r),this._emitEOFToken();break}case w.NULL:{this._err(q.unexpectedNullCharacter),r.data+=Ve;break}default:r.data+=String.fromCodePoint(t)}}_stateMarkupDeclarationOpen(t){this._consumeSequenceIfMatch(kt.DASH_DASH,!0)?(this._createCommentToken(kt.DASH_DASH.length+1),this.state=C.COMMENT_START):this._consumeSequenceIfMatch(kt.DOCTYPE,!1)?(this.currentLocation=this.getCurrentLocation(kt.DOCTYPE.length+1),this.state=C.DOCTYPE):this._consumeSequenceIfMatch(kt.CDATA_START,!0)?this.inForeignNode?this.state=C.CDATA_SECTION:(this._err(q.cdataInHtmlContent),this._createCommentToken(kt.CDATA_START.length+1),this.currentToken.data="[CDATA[",this.state=C.BOGUS_COMMENT):this._ensureHibernation()||(this._err(q.incorrectlyOpenedComment),this._createCommentToken(2),this.state=C.BOGUS_COMMENT,this._stateBogusComment(t))}_stateCommentStart(t){switch(t){case w.HYPHEN_MINUS:{this.state=C.COMMENT_START_DASH;break}case w.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=C.DATA;const r=this.currentToken;this.emitCurrentComment(r);break}default:this.state=C.COMMENT,this._stateComment(t)}}_stateCommentStartDash(t){const r=this.currentToken;switch(t){case w.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case w.GREATER_THAN_SIGN:{this._err(q.abruptClosingOfEmptyComment),this.state=C.DATA,this.emitCurrentComment(r);break}case w.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=C.COMMENT,this._stateComment(t)}}_stateComment(t){const r=this.currentToken;switch(t){case w.HYPHEN_MINUS:{this.state=C.COMMENT_END_DASH;break}case w.LESS_THAN_SIGN:{r.data+="<",this.state=C.COMMENT_LESS_THAN_SIGN;break}case w.NULL:{this._err(q.unexpectedNullCharacter),r.data+=Ve;break}case w.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 w.EXCLAMATION_MARK:{r.data+="!",this.state=C.COMMENT_LESS_THAN_SIGN_BANG;break}case w.LESS_THAN_SIGN:{r.data+="<";break}default:this.state=C.COMMENT,this._stateComment(t)}}_stateCommentLessThanSignBang(t){t===w.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH:(this.state=C.COMMENT,this._stateComment(t))}_stateCommentLessThanSignBangDash(t){t===w.HYPHEN_MINUS?this.state=C.COMMENT_LESS_THAN_SIGN_BANG_DASH_DASH:(this.state=C.COMMENT_END_DASH,this._stateCommentEndDash(t))}_stateCommentLessThanSignBangDashDash(t){t!==w.GREATER_THAN_SIGN&&t!==w.EOF&&this._err(q.nestedComment),this.state=C.COMMENT_END,this._stateCommentEnd(t)}_stateCommentEndDash(t){const r=this.currentToken;switch(t){case w.HYPHEN_MINUS:{this.state=C.COMMENT_END;break}case w.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="-",this.state=C.COMMENT,this._stateComment(t)}}_stateCommentEnd(t){const r=this.currentToken;switch(t){case w.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentComment(r);break}case w.EXCLAMATION_MARK:{this.state=C.COMMENT_END_BANG;break}case w.HYPHEN_MINUS:{r.data+="-";break}case w.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--",this.state=C.COMMENT,this._stateComment(t)}}_stateCommentEndBang(t){const r=this.currentToken;switch(t){case w.HYPHEN_MINUS:{r.data+="--!",this.state=C.COMMENT_END_DASH;break}case w.GREATER_THAN_SIGN:{this._err(q.incorrectlyClosedComment),this.state=C.DATA,this.emitCurrentComment(r);break}case w.EOF:{this._err(q.eofInComment),this.emitCurrentComment(r),this._emitEOFToken();break}default:r.data+="--!",this.state=C.COMMENT,this._stateComment(t)}}_stateDoctype(t){switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_NAME;break}case w.GREATER_THAN_SIGN:{this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t);break}case w.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingWhitespaceBeforeDoctypeName),this.state=C.BEFORE_DOCTYPE_NAME,this._stateBeforeDoctypeName(t)}}_stateBeforeDoctypeName(t){if(Ca(t))this._createDoctypeToken(String.fromCharCode(ji(t))),this.state=C.DOCTYPE_NAME;else switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.NULL:{this._err(q.unexpectedNullCharacter),this._createDoctypeToken(Ve),this.state=C.DOCTYPE_NAME;break}case w.GREATER_THAN_SIGN:{this._err(q.missingDoctypeName),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case w.EOF:{this._err(q.eofInDoctype),this._createDoctypeToken(null);const r=this.currentToken;r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._createDoctypeToken(String.fromCodePoint(t)),this.state=C.DOCTYPE_NAME}}_stateDoctypeName(t){const r=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=C.AFTER_DOCTYPE_NAME;break}case w.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(r);break}case w.NULL:{this._err(q.unexpectedNullCharacter),r.name+=Ve;break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:r.name+=String.fromCodePoint(Ca(t)?ji(t):t)}}_stateAfterDoctypeName(t){const r=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(r);break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._consumeSequenceIfMatch(kt.PUBLIC,!1)?this.state=C.AFTER_DOCTYPE_PUBLIC_KEYWORD:this._consumeSequenceIfMatch(kt.SYSTEM,!1)?this.state=C.AFTER_DOCTYPE_SYSTEM_KEYWORD:this._ensureHibernation()||(this._err(q.invalidCharacterSequenceAfterDoctypeName),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t))}}_stateAfterDoctypePublicKeyword(t){const r=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_PUBLIC_IDENTIFIER;break}case w.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypePublicKeyword),r.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(r);break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypePublicIdentifier(t){const r=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.QUOTATION_MARK:{r.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{r.publicId="",this.state=C.DOCTYPE_PUBLIC_IDENTIFIER_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(q.missingDoctypePublicIdentifier),r.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(r);break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypePublicIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypePublicIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case w.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case w.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=Ve;break}case w.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case w.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 w.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_PUBLIC_IDENTIFIER;break}case w.NULL:{this._err(q.unexpectedNullCharacter),r.publicId+=Ve;break}case w.GREATER_THAN_SIGN:{this._err(q.abruptDoctypePublicIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case w.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 w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=C.BETWEEN_DOCTYPE_PUBLIC_AND_SYSTEM_IDENTIFIERS;break}case w.GREATER_THAN_SIGN:{this.state=C.DATA,this.emitCurrentDoctype(r);break}case w.QUOTATION_MARK:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{this._err(q.missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers),r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBetweenDoctypePublicAndSystemIdentifiers(t){const r=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=C.DATA;break}case w.QUOTATION_MARK:{r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateAfterDoctypeSystemKeyword(t){const r=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:{this.state=C.BEFORE_DOCTYPE_SYSTEM_IDENTIFIER;break}case w.QUOTATION_MARK:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{this._err(q.missingWhitespaceAfterDoctypeSystemKeyword),r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(r);break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBeforeDoctypeSystemIdentifier(t){const r=this.currentToken;switch(t){case w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.QUOTATION_MARK:{r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_DOUBLE_QUOTED;break}case w.APOSTROPHE:{r.systemId="",this.state=C.DOCTYPE_SYSTEM_IDENTIFIER_SINGLE_QUOTED;break}case w.GREATER_THAN_SIGN:{this._err(q.missingDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.DATA,this.emitCurrentDoctype(r);break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.missingQuoteBeforeDoctypeSystemIdentifier),r.forceQuirks=!0,this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateDoctypeSystemIdentifierDoubleQuoted(t){const r=this.currentToken;switch(t){case w.QUOTATION_MARK:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case w.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=Ve;break}case w.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case w.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 w.APOSTROPHE:{this.state=C.AFTER_DOCTYPE_SYSTEM_IDENTIFIER;break}case w.NULL:{this._err(q.unexpectedNullCharacter),r.systemId+=Ve;break}case w.GREATER_THAN_SIGN:{this._err(q.abruptDoctypeSystemIdentifier),r.forceQuirks=!0,this.emitCurrentDoctype(r),this.state=C.DATA;break}case w.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 w.SPACE:case w.LINE_FEED:case w.TABULATION:case w.FORM_FEED:break;case w.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=C.DATA;break}case w.EOF:{this._err(q.eofInDoctype),r.forceQuirks=!0,this.emitCurrentDoctype(r),this._emitEOFToken();break}default:this._err(q.unexpectedCharacterAfterDoctypeSystemIdentifier),this.state=C.BOGUS_DOCTYPE,this._stateBogusDoctype(t)}}_stateBogusDoctype(t){const r=this.currentToken;switch(t){case w.GREATER_THAN_SIGN:{this.emitCurrentDoctype(r),this.state=C.DATA;break}case w.NULL:{this._err(q.unexpectedNullCharacter);break}case w.EOF:{this.emitCurrentDoctype(r),this._emitEOFToken();break}}}_stateCdataSection(t){switch(t){case w.RIGHT_SQUARE_BRACKET:{this.state=C.CDATA_SECTION_BRACKET;break}case w.EOF:{this._err(q.eofInCdata),this._emitEOFToken();break}default:this._emitCodePoint(t)}}_stateCdataSectionBracket(t){t===w.RIGHT_SQUARE_BRACKET?this.state=C.CDATA_SECTION_END:(this._emitChars("]"),this.state=C.CDATA_SECTION,this._stateCdataSection(t))}_stateCdataSectionEnd(t){switch(t){case w.GREATER_THAN_SIGN:{this.state=C.DATA;break}case w.RIGHT_SQUARE_BRACKET:{this._emitChars("]");break}default:this._emitChars("]]"),this.state=C.CDATA_SECTION,this._stateCdataSection(t)}}_stateCharacterReference(){let t=this.entityDecoder.write(this.preprocessor.html,this.preprocessor.pos);if(t<0)if(this.preprocessor.lastChunkWritten)t=this.entityDecoder.end();else{this.active=!1,this.preprocessor.pos=this.preprocessor.html.length-1,this.consumedAfterSnapshot=0,this.preprocessor.endOfChunkHit=!0;return}t===0?(this.preprocessor.pos=this.entityStartPos,this._flushCodePointConsumedAsCharacterReference(w.AMPERSAND),this.state=!this._isCharacterReferenceInAttribute()&&wf(this.preprocessor.peek(1))?C.AMBIGUOUS_AMPERSAND:this.returnState):this.state=this.returnState}_stateAmbiguousAmpersand(t){wf(t)?this._flushCodePointConsumedAsCharacterReference(t):(t===w.SEMICOLON&&this._err(q.unknownNamedCharacterReference),this.state=this.returnState,this._callState(t))}}const Zp=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([...Zp,h.CAPTION,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]),vs=new Set([h.APPLET,h.CAPTION,h.HTML,h.MARQUEE,h.OBJECT,h.TABLE,h.TD,h.TEMPLATE,h.TH]),Av=new Set([...vs,h.OL,h.UL]),Sv=new Set([...vs,h.BUTTON]),kf=new Set([h.ANNOTATION_XML,h.MI,h.MN,h.MO,h.MS,h.MTEXT]),Cf=new Set([h.DESC,h.FOREIGN_OBJECT,h.TITLE]),kv=new Set([h.TR,h.TEMPLATE,h.HTML]),Cv=new Set([h.TBODY,h.TFOOT,h.THEAD,h.TEMPLATE,h.HTML]),Iv=new Set([h.TABLE,h.TEMPLATE,h.HTML]),_v=new Set([h.TD,h.TH]);class Nv{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(uo,W.HTML)}popUntilTableCellPopped(){this.popUntilPopped(_v,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(Iv,W.HTML)}clearBackToTableBodyContext(){this.clearBackTo(Cv,W.HTML)}clearBackToTableRowContext(){this.clearBackTo(kv,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(Cf.has(a))return!1;break}case W.MATHML:{if(kf.has(a))return!1;break}}}return!0}hasInScope(t){return this.hasInDynamicScope(t,vs)}hasInListItemScope(t){return this.hasInDynamicScope(t,Av)}hasInButtonScope(t){return this.hasInDynamicScope(t,Sv)}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(uo.has(r))return!0;if(vs.has(r))return!1;break}case W.SVG:{if(Cf.has(r))return!1;break}case W.MATHML:{if(kf.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&&Zp.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 lu=3;var nr;(function(e){e[e.Marker=0]="Marker",e[e.Element=1]="Element"})(nr||(nr={}));const If={type:nr.Marker};class Ov{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===nr.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<lu)return;const r=this.treeAdapter.getAttrList(t),n=this._getNoahArkConditionCandidates(t,r);if(n.length<lu)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>=lu&&this.entries.splice(u.idx,1))}}insertMarker(){this.entries.unshift(If)}pushElement(t,r){this._ensureNoahArkCondition(t),this.entries.unshift({type:nr.Element,element:t,token:r})}insertElementAfterBookmark(t,r){const n=this.entries.indexOf(this.bookmark);this.entries.splice(n,0,{type:nr.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(If);t===-1?this.entries.length=0:this.entries.splice(0,t+1)}getElementEntryInScopeWithTagName(t){const r=this.entries.find(n=>n.type===nr.Marker||this.treeAdapter.getTagName(n.element)===t);return r&&r.type===nr.Element?r:null}getElementEntry(t){return this.entries.find(r=>r.type===nr.Element&&r.element===t)}}const Br={createDocument(){return{nodeName:"#document",mode:qt.NO_QUIRKS,childNodes:[]}},createDocumentFragment(){return{nodeName:"#document-fragment",childNodes:[]}},createElement(e,t,r){return{nodeName:e,tagName:e,attrs:r,namespaceURI:t,childNodes:[],parentNode:null}},createCommentNode(e){return{nodeName:"#comment",data:e,parentNode:null}},createTextNode(e){return{nodeName:"#text",value:e,parentNode:null}},appendChild(e,t){e.childNodes.push(t),t.parentNode=e},insertBefore(e,t,r){const n=e.childNodes.indexOf(r);e.childNodes.splice(n,0,t),t.parentNode=e},setTemplateContent(e,t){e.content=t},getTemplateContent(e){return e.content},setDocumentType(e,t,r,n){const a=e.childNodes.find(i=>i.nodeName==="#documentType");if(a)a.name=t,a.publicId=r,a.systemId=n;else{const i={nodeName:"#documentType",name:t,publicId:r,systemId:n,parentNode:null};Br.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(Br.isTextNode(r)){r.value+=t;return}}Br.appendChild(e,Br.createTextNode(t))},insertTextBefore(e,t,r){const n=e.childNodes[e.childNodes.indexOf(r)-1];n&&Br.isTextNode(n)?n.value+=t:Br.insertBefore(e,Br.createTextNode(t),r)},adoptAttributes(e,t){const r=new Set(e.attrs.map(n=>n.name));for(let n=0;n<t.length;n++)r.has(t[n].name)||e.attrs.push(t[n])},getFirstChild(e){return e.childNodes[0]},getChildNodes(e){return e.childNodes},getParentNode(e){return e.parentNode},getAttrList(e){return e.attrs},getTagName(e){return e.tagName},getNamespaceURI(e){return e.namespaceURI},getTextNodeContent(e){return e.value},getCommentNodeContent(e){return e.data},getDocumentTypeNodeName(e){return e.name},getDocumentTypeNodePublicId(e){return e.publicId},getDocumentTypeNodeSystemId(e){return e.systemId},isTextNode(e){return e.nodeName==="#text"},isCommentNode(e){return e.nodeName==="#comment"},isDocumentTypeNode(e){return e.nodeName==="#documentType"},isElementNode(e){return Object.prototype.hasOwnProperty.call(e,"tagName")},setNodeSourceCodeLocation(e,t){e.sourceCodeLocation=t},getNodeSourceCodeLocation(e){return e.sourceCodeLocation},updateNodeSourceCodeLocation(e,t){e.sourceCodeLocation=J(J({},e.sourceCodeLocation),t)}},e2="html",Rv="about:legacy-compat",Dv="http://www.ibm.com/data/dtd/v11/ibmxhtml1-transitional.dtd",t2=["+//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//"],Lv=[...t2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"],Mv=new Set(["-//w3o//dtd w3 html strict 3.0//en//","-/w3c/dtd html 4.0 transitional/en","html"]),r2=["-//w3c//dtd xhtml 1.0 frameset//","-//w3c//dtd xhtml 1.0 transitional//"],Pv=[...r2,"-//w3c//dtd html 4.01 frameset//","-//w3c//dtd html 4.01 transitional//"];function _f(e,t){return t.some(r=>e.startsWith(r))}function Fv(e){return e.name===e2&&e.publicId===null&&(e.systemId===null||e.systemId===Rv)}function Bv(e){if(e.name!==e2)return qt.QUIRKS;const{systemId:t}=e;if(t&&t.toLowerCase()===Dv)return qt.QUIRKS;let{publicId:r}=e;if(r!==null){if(r=r.toLowerCase(),Mv.has(r))return qt.QUIRKS;let n=t===null?Lv:t2;if(_f(r,n))return qt.QUIRKS;if(n=t===null?r2:Pv,_f(r,n))return qt.LIMITED_QUIRKS}return qt.NO_QUIRKS}const Nf={TEXT_HTML:"text/html",APPLICATION_XML:"application/xhtml+xml"},zv="definitionurl",Hv="definitionURL",Uv=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])),jv=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}]]),qv=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])),$v=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 Yv(e){const t=e.tagID;return t===h.FONT&&e.attrs.some(({name:n})=>n===pn.COLOR||n===pn.SIZE||n===pn.FACE)||$v.has(t)}function n2(e){for(let t=0;t<e.attrs.length;t++)if(e.attrs[t].name===zv){e.attrs[t].name=Hv;break}}function a2(e){for(let t=0;t<e.attrs.length;t++){const r=Uv.get(e.attrs[t].name);r!=null&&(e.attrs[t].name=r)}}function _l(e){for(let t=0;t<e.attrs.length;t++){const r=jv.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 Vv(e){const t=qv.get(e.tagName);t!=null&&(e.tagName=t,e.tagID=oa(e.tagName))}function Wv(e,t){return t===W.MATHML&&(e===h.MI||e===h.MO||e===h.MN||e===h.MS||e===h.MTEXT)}function Gv(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===Nf.TEXT_HTML||a===Nf.APPLICATION_XML}}return t===W.SVG&&(e===h.FOREIGN_OBJECT||e===h.DESC||e===h.TITLE)}function Xv(e,t,r,n){return(!n||n===W.HTML)&&Gv(e,t,r)||(!n||n===W.MATHML)&&Wv(e,t)}const Kv="hidden",Qv=8,Jv=3;var R;(function(e){e[e.INITIAL=0]="INITIAL",e[e.BEFORE_HTML=1]="BEFORE_HTML",e[e.BEFORE_HEAD=2]="BEFORE_HEAD",e[e.IN_HEAD=3]="IN_HEAD",e[e.IN_HEAD_NO_SCRIPT=4]="IN_HEAD_NO_SCRIPT",e[e.AFTER_HEAD=5]="AFTER_HEAD",e[e.IN_BODY=6]="IN_BODY",e[e.TEXT=7]="TEXT",e[e.IN_TABLE=8]="IN_TABLE",e[e.IN_TABLE_TEXT=9]="IN_TABLE_TEXT",e[e.IN_CAPTION=10]="IN_CAPTION",e[e.IN_COLUMN_GROUP=11]="IN_COLUMN_GROUP",e[e.IN_TABLE_BODY=12]="IN_TABLE_BODY",e[e.IN_ROW=13]="IN_ROW",e[e.IN_CELL=14]="IN_CELL",e[e.IN_SELECT=15]="IN_SELECT",e[e.IN_SELECT_IN_TABLE=16]="IN_SELECT_IN_TABLE",e[e.IN_TEMPLATE=17]="IN_TEMPLATE",e[e.AFTER_BODY=18]="AFTER_BODY",e[e.IN_FRAMESET=19]="IN_FRAMESET",e[e.AFTER_FRAMESET=20]="AFTER_FRAMESET",e[e.AFTER_AFTER_BODY=21]="AFTER_AFTER_BODY",e[e.AFTER_AFTER_FRAMESET=22]="AFTER_AFTER_FRAMESET"})(R||(R={}));const Zv={startLine:-1,startCol:-1,startOffset:-1,endLine:-1,endCol:-1,endOffset:-1},i2=new Set([h.TABLE,h.TBODY,h.TFOOT,h.THEAD,h.TR]),Of={scriptingEnabled:!0,sourceCodeLocationInfo:!1,treeAdapter:Br,onParseError:null};class Rf{constructor(t,r,n=null,a=null){this.fragmentContext=n,this.scriptHandler=a,this.currentToken=null,this.stopped=!1,this.insertionMode=R.INITIAL,this.originalInsertionMode=R.INITIAL,this.headElement=null,this.formElement=null,this.currentNotInHTML=!1,this.tmplInsertionModeStack=[],this.pendingCharacterTokens=[],this.hasNonWhitespacePendingCharacterToken=!1,this.framesetOk=!0,this.skipNextNewLine=!1,this.fosterParentingEnabled=!1,this.options=J(J({},Of),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 wv(this.options,this),this.activeFormattingElements=new Ov(this.treeAdapter),this.fragmentContextID=n?oa(this.treeAdapter.getTagName(n)):h.UNKNOWN,this._setContextModes(n!=null?n:this.document,this.fragmentContextID),this.openElements=new Nv(this.document,this.treeAdapter,this)}static parse(t,r){const n=new this(r);return n.tokenizer.write(t,!0),n.document}static getFragmentParser(t,r){const n=J(J({},Of),r);t!=null||(t=n.treeAdapter.createElement(H.TEMPLATE,W.HTML,[]));const a=n.treeAdapter.createElement("documentmock",W.HTML,[]),i=new this(n,a,t);return i.fragmentContextID===h.TEMPLATE&&i.tmplInsertionModeStack.unshift(R.IN_TEMPLATE),i._initTokenizerForFragmentParsing(),i._insertFakeRootElement(),i._resetInsertionMode(),i._findFormInFragmentContext(),i}getFragment(){const t=this.treeAdapter.getFirstChild(this.document),r=this.treeAdapter.createDocumentFragment();return this._adoptNodes(t,r),r}_err(t,r,n){var a;if(!this.onParseError)return;const i=(a=t.location)!==null&&a!==void 0?a:Zv,s={code:r,startLine:i.startLine,startCol:i.startCol,startOffset:i.startOffset,endLine:n?i.startLine:i.endLine,endCol:n?i.startCol:i.endCol,endOffset:n?i.startOffset:i.endOffset};this.onParseError(s)}onItemPush(t,r,n){var a,i;(i=(a=this.treeAdapter).onItemPush)===null||i===void 0||i.call(a,t),n&&this.openElements.stackTop>0&&this._setContextModes(t,r)}onItemPop(t,r){var n,a;if(this.options.sourceCodeLocationInfo&&this._setEndLocation(t,this.currentToken),(a=(n=this.treeAdapter).onItemPop)===null||a===void 0||a.call(n,t,this.openElements.current),r){let i,s;this.openElements.stackTop===0&&this.fragmentContext?(i=this.fragmentContext,s=this.fragmentContextID):{current:i,currentTagId:s}=this.openElements,this._setContextModes(i,s)}}_setContextModes(t,r){const n=t===this.document||t&&this.treeAdapter.getNamespaceURI(t)===W.HTML;this.currentNotInHTML=!n,this.tokenizer.inForeignNode=!n&&t!==void 0&&r!==void 0&&!this._isIntegrationPoint(r,t)}_switchToTextParsing(t,r){this._insertElement(t,W.HTML),this.tokenizer.state=r,this.originalInsertionMode=this.insertionMode,this.insertionMode=R.TEXT}switchToPlaintextParsing(){this.insertionMode=R.TEXT,this.originalInsertionMode=R.IN_BODY,this.tokenizer.state=Ze.PLAINTEXT}_getAdjustedCurrentElement(){return this.openElements.stackTop===0&&this.fragmentContext?this.fragmentContext:this.openElements.current}_findFormInFragmentContext(){let t=this.fragmentContext;for(;t;){if(this.treeAdapter.getTagName(t)===H.FORM){this.formElement=t;break}t=this.treeAdapter.getParentNode(t)}}_initTokenizerForFragmentParsing(){if(!(!this.fragmentContext||this.treeAdapter.getNamespaceURI(this.fragmentContext)!==W.HTML))switch(this.fragmentContextID){case h.TITLE:case h.TEXTAREA:{this.tokenizer.state=Ze.RCDATA;break}case h.STYLE:case h.XMP:case h.IFRAME:case h.NOEMBED:case h.NOFRAMES:case h.NOSCRIPT:{this.tokenizer.state=Ze.RAWTEXT;break}case h.SCRIPT:{this.tokenizer.state=Ze.SCRIPT_DATA;break}case h.PLAINTEXT:{this.tokenizer.state=Ze.PLAINTEXT;break}}}_setDocumentType(t){const r=t.name||"",n=t.publicId||"",a=t.systemId||"";if(this.treeAdapter.setDocumentType(this.document,r,n,a),t.location){const s=this.treeAdapter.getChildNodes(this.document).find(u=>this.treeAdapter.isDocumentTypeNode(u));s&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}}_attachElementToTree(t,r){if(this.options.sourceCodeLocationInfo){const n=r&&tt(J({},r),{startTag:r});this.treeAdapter.setNodeSourceCodeLocation(t,n)}if(this._shouldFosterParentOnInsertion())this._fosterParentElement(t);else{const n=this.openElements.currentTmplContentOrNode;this.treeAdapter.appendChild(n!=null?n:this.document,t)}}_appendElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location)}_insertElement(t,r){const n=this.treeAdapter.createElement(t.tagName,r,t.attrs);this._attachElementToTree(n,t.location),this.openElements.push(n,t.tagID)}_insertFakeElement(t,r){const n=this.treeAdapter.createElement(t,W.HTML,[]);this._attachElementToTree(n,null),this.openElements.push(n,r)}_insertTemplate(t){const r=this.treeAdapter.createElement(t.tagName,W.HTML,t.attrs),n=this.treeAdapter.createDocumentFragment();this.treeAdapter.setTemplateContent(r,n),this._attachElementToTree(r,t.location),this.openElements.push(r,t.tagID),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,null)}_insertFakeRootElement(){const t=this.treeAdapter.createElement(H.HTML,W.HTML,[]);this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(t,null),this.treeAdapter.appendChild(this.openElements.current,t),this.openElements.push(t,h.HTML)}_appendCommentNode(t,r){const n=this.treeAdapter.createCommentNode(t.data);this.treeAdapter.appendChild(r,n),this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(n,t.location)}_insertCharacters(t){let r,n;if(this._shouldFosterParentOnInsertion()?({parent:r,beforeElement:n}=this._findFosterParentingLocation(),n?this.treeAdapter.insertTextBefore(r,t.chars,n):this.treeAdapter.insertText(r,t.chars)):(r=this.openElements.currentTmplContentOrNode,this.treeAdapter.insertText(r,t.chars)),!t.location)return;const a=this.treeAdapter.getChildNodes(r),i=n?a.lastIndexOf(n):a.length,s=a[i-1];if(this.treeAdapter.getNodeSourceCodeLocation(s)){const{endLine:o,endCol:l,endOffset:c}=t.location;this.treeAdapter.updateNodeSourceCodeLocation(s,{endLine:o,endCol:l,endOffset:c})}else this.options.sourceCodeLocationInfo&&this.treeAdapter.setNodeSourceCodeLocation(s,t.location)}_adoptNodes(t,r){for(let n=this.treeAdapter.getFirstChild(t);n;n=this.treeAdapter.getFirstChild(t))this.treeAdapter.detachNode(n),this.treeAdapter.appendChild(r,n)}_setEndLocation(t,r){if(this.treeAdapter.getNodeSourceCodeLocation(t)&&r.location){const n=r.location,a=this.treeAdapter.getTagName(t),i=r.type===Ie.END_TAG&&a===r.tagName?{endTag:J({},n),endLine:n.endLine,endCol:n.endCol,endOffset:n.endOffset}:{endLine:n.startLine,endCol:n.startCol,endOffset:n.startOffset};this.treeAdapter.updateNodeSourceCodeLocation(t,i)}}shouldProcessStartTagTokenInForeignContent(t){if(!this.currentNotInHTML)return!1;let r,n;return this.openElements.stackTop===0&&this.fragmentContext?(r=this.fragmentContext,n=this.fragmentContextID):{current:r,currentTagId:n}=this.openElements,t.tagID===h.SVG&&this.treeAdapter.getTagName(r)===H.ANNOTATION_XML&&this.treeAdapter.getNamespaceURI(r)===W.MATHML?!1:this.tokenizer.inForeignNode||(t.tagID===h.MGLYPH||t.tagID===h.MALIGNMARK)&&n!==void 0&&!this._isIntegrationPoint(n,r,W.HTML)}_processToken(t){switch(t.type){case Ie.CHARACTER:{this.onCharacter(t);break}case Ie.NULL_CHARACTER:{this.onNullCharacter(t);break}case Ie.COMMENT:{this.onComment(t);break}case Ie.DOCTYPE:{this.onDoctype(t);break}case Ie.START_TAG:{this._processStartTag(t);break}case Ie.END_TAG:{this.onEndTag(t);break}case Ie.EOF:{this.onEof(t);break}case Ie.WHITESPACE_CHARACTER:{this.onWhitespaceCharacter(t);break}}}_isIntegrationPoint(t,r,n){const a=this.treeAdapter.getNamespaceURI(r),i=this.treeAdapter.getAttrList(r);return Xv(t,a,i,n)}_reconstructActiveFormattingElements(){const t=this.activeFormattingElements.entries.length;if(t){const r=this.activeFormattingElements.entries.findIndex(a=>a.type===nr.Marker||this.openElements.contains(a.element)),n=r===-1?t-1:r-1;for(let a=n;a>=0;a--){const i=this.activeFormattingElements.entries[a];this._insertElement(i.token,this.treeAdapter.getNamespaceURI(i.element)),i.element=this.openElements.current}}}_closeTableCell(){this.openElements.generateImpliedEndTags(),this.openElements.popUntilTableCellPopped(),this.activeFormattingElements.clearToLastMarker(),this.insertionMode=R.IN_ROW}_closePElement(){this.openElements.generateImpliedEndTagsWithExclusion(h.P),this.openElements.popUntilTagNamePopped(h.P)}_resetInsertionMode(){for(let t=this.openElements.stackTop;t>=0;t--)switch(t===0&&this.fragmentContext?this.fragmentContextID:this.openElements.tagIDs[t]){case h.TR:{this.insertionMode=R.IN_ROW;return}case h.TBODY:case h.THEAD:case h.TFOOT:{this.insertionMode=R.IN_TABLE_BODY;return}case h.CAPTION:{this.insertionMode=R.IN_CAPTION;return}case h.COLGROUP:{this.insertionMode=R.IN_COLUMN_GROUP;return}case h.TABLE:{this.insertionMode=R.IN_TABLE;return}case h.BODY:{this.insertionMode=R.IN_BODY;return}case h.FRAMESET:{this.insertionMode=R.IN_FRAMESET;return}case h.SELECT:{this._resetInsertionModeForSelect(t);return}case h.TEMPLATE:{this.insertionMode=this.tmplInsertionModeStack[0];return}case h.HTML:{this.insertionMode=this.headElement?R.AFTER_HEAD:R.BEFORE_HEAD;return}case h.TD:case h.TH:{if(t>0){this.insertionMode=R.IN_CELL;return}break}case h.HEAD:{if(t>0){this.insertionMode=R.IN_HEAD;return}break}}this.insertionMode=R.IN_BODY}_resetInsertionModeForSelect(t){if(t>0)for(let r=t-1;r>0;r--){const n=this.openElements.tagIDs[r];if(n===h.TEMPLATE)break;if(n===h.TABLE){this.insertionMode=R.IN_SELECT_IN_TABLE;return}}this.insertionMode=R.IN_SELECT}_isElementCausesFosterParenting(t){return i2.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 Ev[n].has(r)}onCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){_A(this,t);return}switch(this.insertionMode){case R.INITIAL:{Ta(this,t);break}case R.BEFORE_HTML:{Ma(this,t);break}case R.BEFORE_HEAD:{Pa(this,t);break}case R.IN_HEAD:{Fa(this,t);break}case R.IN_HEAD_NO_SCRIPT:{Ba(this,t);break}case R.AFTER_HEAD:{za(this,t);break}case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:{u2(this,t);break}case R.TEXT:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:{this._insertCharacters(t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{cu(this,t);break}case R.IN_TABLE_TEXT:{d2(this,t);break}case R.IN_COLUMN_GROUP:{ws(this,t);break}case R.AFTER_BODY:{As(this,t);break}case R.AFTER_AFTER_BODY:{ss(this,t);break}}}onNullCharacter(t){if(this.skipNextNewLine=!1,this.tokenizer.inForeignNode){IA(this,t);return}switch(this.insertionMode){case R.INITIAL:{Ta(this,t);break}case R.BEFORE_HTML:{Ma(this,t);break}case R.BEFORE_HEAD:{Pa(this,t);break}case R.IN_HEAD:{Fa(this,t);break}case R.IN_HEAD_NO_SCRIPT:{Ba(this,t);break}case R.AFTER_HEAD:{za(this,t);break}case R.TEXT:{this._insertCharacters(t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{cu(this,t);break}case R.IN_COLUMN_GROUP:{ws(this,t);break}case R.AFTER_BODY:{As(this,t);break}case R.AFTER_AFTER_BODY:{ss(this,t);break}}}onComment(t){if(this.skipNextNewLine=!1,this.currentNotInHTML){oo(this,t);return}switch(this.insertionMode){case R.INITIAL:case R.BEFORE_HTML:case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_TEMPLATE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:{oo(this,t);break}case R.IN_TABLE_TEXT:{va(this,t);break}case R.AFTER_BODY:{sw(this,t);break}case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{uw(this,t);break}}}onDoctype(t){switch(this.skipNextNewLine=!1,this.insertionMode){case R.INITIAL:{ow(this,t);break}case R.BEFORE_HEAD:case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:{this._err(t,q.misplacedDoctype);break}case R.IN_TABLE_TEXT:{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)?NA(this,t):this._startTagOutsideForeignContent(t)}_startTagOutsideForeignContent(t){switch(this.insertionMode){case R.INITIAL:{Ta(this,t);break}case R.BEFORE_HTML:{lw(this,t);break}case R.BEFORE_HEAD:{fw(this,t);break}case R.IN_HEAD:{er(this,t);break}case R.IN_HEAD_NO_SCRIPT:{mw(this,t);break}case R.AFTER_HEAD:{gw(this,t);break}case R.IN_BODY:{Et(this,t);break}case R.IN_TABLE:{Xn(this,t);break}case R.IN_TABLE_TEXT:{va(this,t);break}case R.IN_CAPTION:{hA(this,t);break}case R.IN_COLUMN_GROUP:{Rl(this,t);break}case R.IN_TABLE_BODY:{o0(this,t);break}case R.IN_ROW:{l0(this,t);break}case R.IN_CELL:{pA(this,t);break}case R.IN_SELECT:{g2(this,t);break}case R.IN_SELECT_IN_TABLE:{bA(this,t);break}case R.IN_TEMPLATE:{EA(this,t);break}case R.AFTER_BODY:{TA(this,t);break}case R.IN_FRAMESET:{vA(this,t);break}case R.AFTER_FRAMESET:{AA(this,t);break}case R.AFTER_AFTER_BODY:{kA(this,t);break}case R.AFTER_AFTER_FRAMESET:{CA(this,t);break}}}onEndTag(t){this.skipNextNewLine=!1,this.currentToken=t,this.currentNotInHTML?OA(this,t):this._endTagOutsideForeignContent(t)}_endTagOutsideForeignContent(t){switch(this.insertionMode){case R.INITIAL:{Ta(this,t);break}case R.BEFORE_HTML:{cw(this,t);break}case R.BEFORE_HEAD:{hw(this,t);break}case R.IN_HEAD:{dw(this,t);break}case R.IN_HEAD_NO_SCRIPT:{pw(this,t);break}case R.AFTER_HEAD:{bw(this,t);break}case R.IN_BODY:{u0(this,t);break}case R.TEXT:{rA(this,t);break}case R.IN_TABLE:{Xa(this,t);break}case R.IN_TABLE_TEXT:{va(this,t);break}case R.IN_CAPTION:{dA(this,t);break}case R.IN_COLUMN_GROUP:{mA(this,t);break}case R.IN_TABLE_BODY:{lo(this,t);break}case R.IN_ROW:{p2(this,t);break}case R.IN_CELL:{gA(this,t);break}case R.IN_SELECT:{b2(this,t);break}case R.IN_SELECT_IN_TABLE:{yA(this,t);break}case R.IN_TEMPLATE:{xA(this,t);break}case R.AFTER_BODY:{E2(this,t);break}case R.IN_FRAMESET:{wA(this,t);break}case R.AFTER_FRAMESET:{SA(this,t);break}case R.AFTER_AFTER_BODY:{ss(this,t);break}}}onEof(t){switch(this.insertionMode){case R.INITIAL:{Ta(this,t);break}case R.BEFORE_HTML:{Ma(this,t);break}case R.BEFORE_HEAD:{Pa(this,t);break}case R.IN_HEAD:{Fa(this,t);break}case R.IN_HEAD_NO_SCRIPT:{Ba(this,t);break}case R.AFTER_HEAD:{za(this,t);break}case R.IN_BODY:case R.IN_TABLE:case R.IN_CAPTION:case R.IN_COLUMN_GROUP:case R.IN_TABLE_BODY:case R.IN_ROW:case R.IN_CELL:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:{f2(this,t);break}case R.TEXT:{nA(this,t);break}case R.IN_TABLE_TEXT:{va(this,t);break}case R.IN_TEMPLATE:{y2(this,t);break}case R.AFTER_BODY:case R.IN_FRAMESET:case R.AFTER_FRAMESET:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{Ol(this,t);break}}}onWhitespaceCharacter(t){if(this.skipNextNewLine&&(this.skipNextNewLine=!1,t.chars.charCodeAt(0)===w.LINE_FEED)){if(t.chars.length===1)return;t.chars=t.chars.substr(1)}if(this.tokenizer.inForeignNode){this._insertCharacters(t);return}switch(this.insertionMode){case R.IN_HEAD:case R.IN_HEAD_NO_SCRIPT:case R.AFTER_HEAD:case R.TEXT:case R.IN_COLUMN_GROUP:case R.IN_SELECT:case R.IN_SELECT_IN_TABLE:case R.IN_FRAMESET:case R.AFTER_FRAMESET:{this._insertCharacters(t);break}case R.IN_BODY:case R.IN_CAPTION:case R.IN_CELL:case R.IN_TEMPLATE:case R.AFTER_BODY:case R.AFTER_AFTER_BODY:case R.AFTER_AFTER_FRAMESET:{s2(this,t);break}case R.IN_TABLE:case R.IN_TABLE_BODY:case R.IN_ROW:{cu(this,t);break}case R.IN_TABLE_TEXT:{h2(this,t);break}}}}function ew(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):c2(e,t),r}function tw(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 rw(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>=Jv;!u||o?(o&&e.activeFormattingElements.removeEntry(u),e.openElements.remove(s)):(s=nw(e,u),n===t&&(e.activeFormattingElements.bookmark=u),e.treeAdapter.detachNode(n),e.treeAdapter.appendChild(s,n),n=s)}return n}function nw(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 aw(e,t,r){const n=e.treeAdapter.getTagName(t),a=oa(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 iw(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 Nl(e,t){for(let r=0;r<Qv;r++){const n=ew(e,t);if(!n)break;const a=tw(e,n);if(!a)break;e.activeFormattingElements.bookmark=n;const i=rw(e,a,n.element),s=e.openElements.getCommonAncestor(n.element);e.treeAdapter.detachNode(i),s&&aw(e,s,i),iw(e,a,n)}}function oo(e,t){e._appendCommentNode(t,e.openElements.currentTmplContentOrNode)}function sw(e,t){e._appendCommentNode(t,e.openElements.items[0])}function uw(e,t){e._appendCommentNode(t,e.document)}function Ol(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 ow(e,t){e._setDocumentType(t);const r=t.forceQuirks?qt.QUIRKS:Bv(t);Fv(t)||e._err(t,q.nonConformingDoctype),e.treeAdapter.setDocumentMode(e.document,r),e.insertionMode=R.BEFORE_HTML}function Ta(e,t){e._err(t,q.missingDoctype,!0),e.treeAdapter.setDocumentMode(e.document,qt.QUIRKS),e.insertionMode=R.BEFORE_HTML,e._processToken(t)}function lw(e,t){t.tagID===h.HTML?(e._insertElement(t,W.HTML),e.insertionMode=R.BEFORE_HEAD):Ma(e,t)}function cw(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=R.BEFORE_HEAD,e._processToken(t)}function fw(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.HEAD:{e._insertElement(t,W.HTML),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD;break}default:Pa(e,t)}}function hw(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(H.HEAD,h.HEAD),e.headElement=e.openElements.current,e.insertionMode=R.IN_HEAD,e._processToken(t)}function er(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.TITLE:{e._switchToTextParsing(t,Ze.RCDATA);break}case h.NOSCRIPT:{e.options.scriptingEnabled?e._switchToTextParsing(t,Ze.RAWTEXT):(e._insertElement(t,W.HTML),e.insertionMode=R.IN_HEAD_NO_SCRIPT);break}case h.NOFRAMES:case h.STYLE:{e._switchToTextParsing(t,Ze.RAWTEXT);break}case h.SCRIPT:{e._switchToTextParsing(t,Ze.SCRIPT_DATA);break}case h.TEMPLATE:{e._insertTemplate(t),e.activeFormattingElements.insertMarker(),e.framesetOk=!1,e.insertionMode=R.IN_TEMPLATE,e.tmplInsertionModeStack.unshift(R.IN_TEMPLATE);break}case h.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:Fa(e,t)}}function dw(e,t){switch(t.tagID){case h.HEAD:{e.openElements.pop(),e.insertionMode=R.AFTER_HEAD;break}case h.BODY:case h.BR:case h.HTML:{Fa(e,t);break}case h.TEMPLATE:{Sn(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Sn(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=R.AFTER_HEAD,e._processToken(t)}function mw(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.BASEFONT:case h.BGSOUND:case h.HEAD:case h.LINK:case h.META:case h.NOFRAMES:case h.STYLE:{er(e,t);break}case h.NOSCRIPT:{e._err(t,q.nestedNoscriptInHead);break}default:Ba(e,t)}}function pw(e,t){switch(t.tagID){case h.NOSCRIPT:{e.openElements.pop(),e.insertionMode=R.IN_HEAD;break}case h.BR:{Ba(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function Ba(e,t){const r=t.type===Ie.EOF?q.openElementsLeftAfterEof:q.disallowedContentInNoscriptInHead;e._err(t,r),e.openElements.pop(),e.insertionMode=R.IN_HEAD,e._processToken(t)}function gw(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.BODY:{e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=R.IN_BODY;break}case h.FRAMESET:{e._insertElement(t,W.HTML),e.insertionMode=R.IN_FRAMESET;break}case h.BASE:case h.BASEFONT:case h.BGSOUND:case h.LINK:case h.META:case h.NOFRAMES:case h.SCRIPT:case h.STYLE:case h.TEMPLATE:case h.TITLE:{e._err(t,q.abandonedHeadElementChild),e.openElements.push(e.headElement,h.HEAD),er(e,t),e.openElements.remove(e.headElement);break}case h.HEAD:{e._err(t,q.misplacedStartTagForHeadElement);break}default:za(e,t)}}function bw(e,t){switch(t.tagID){case h.BODY:case h.HTML:case h.BR:{za(e,t);break}case h.TEMPLATE:{Sn(e,t);break}default:e._err(t,q.endTagWithoutMatchingOpenElement)}}function za(e,t){e._insertFakeElement(H.BODY,h.BODY),e.insertionMode=R.IN_BODY,s0(e,t)}function s0(e,t){switch(t.type){case Ie.CHARACTER:{u2(e,t);break}case Ie.WHITESPACE_CHARACTER:{s2(e,t);break}case Ie.COMMENT:{oo(e,t);break}case Ie.START_TAG:{Et(e,t);break}case Ie.END_TAG:{u0(e,t);break}case Ie.EOF:{f2(e,t);break}}}function s2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t)}function u2(e,t){e._reconstructActiveFormattingElements(),e._insertCharacters(t),e.framesetOk=!1}function yw(e,t){e.openElements.tmplCount===0&&e.treeAdapter.adoptAttributes(e.openElements.items[0],t.attrs)}function Ew(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e.openElements.tmplCount===0&&(e.framesetOk=!1,e.treeAdapter.adoptAttributes(r,t.attrs))}function xw(e,t){const r=e.openElements.tryPeekProperlyNestedBodyElement();e.framesetOk&&r&&(e.treeAdapter.detachNode(r),e.openElements.popAllUpToHtmlElement(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_FRAMESET)}function Tw(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML)}function vw(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e.openElements.currentTagId!==void 0&&uo.has(e.openElements.currentTagId)&&e.openElements.pop(),e._insertElement(t,W.HTML)}function ww(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.skipNextNewLine=!0,e.framesetOk=!1}function Aw(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 Sw(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 kw(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.tokenizer.state=Ze.PLAINTEXT}function Cw(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 Iw(e,t){const r=e.activeFormattingElements.getElementEntryInScopeWithTagName(H.A);r&&(Nl(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 _w(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Nw(e,t){e._reconstructActiveFormattingElements(),e.openElements.hasInScope(h.NOBR)&&(Nl(e,t),e._reconstructActiveFormattingElements()),e._insertElement(t,W.HTML),e.activeFormattingElements.pushElement(e.openElements.current,t)}function Ow(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.activeFormattingElements.insertMarker(),e.framesetOk=!1}function Rw(e,t){e.treeAdapter.getDocumentMode(e.document)!==qt.QUIRKS&&e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=R.IN_TABLE}function o2(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,W.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function l2(e){const t=Qp(e,pn.TYPE);return t!=null&&t.toLowerCase()===Kv}function Dw(e,t){e._reconstructActiveFormattingElements(),e._appendElement(t,W.HTML),l2(t)||(e.framesetOk=!1),t.ackSelfClosing=!0}function Lw(e,t){e._appendElement(t,W.HTML),t.ackSelfClosing=!0}function Mw(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._appendElement(t,W.HTML),e.framesetOk=!1,t.ackSelfClosing=!0}function Pw(e,t){t.tagName=H.IMG,t.tagID=h.IMG,o2(e,t)}function Fw(e,t){e._insertElement(t,W.HTML),e.skipNextNewLine=!0,e.tokenizer.state=Ze.RCDATA,e.originalInsertionMode=e.insertionMode,e.framesetOk=!1,e.insertionMode=R.TEXT}function Bw(e,t){e.openElements.hasInButtonScope(h.P)&&e._closePElement(),e._reconstructActiveFormattingElements(),e.framesetOk=!1,e._switchToTextParsing(t,Ze.RAWTEXT)}function zw(e,t){e.framesetOk=!1,e._switchToTextParsing(t,Ze.RAWTEXT)}function Df(e,t){e._switchToTextParsing(t,Ze.RAWTEXT)}function Hw(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML),e.framesetOk=!1,e.insertionMode=e.insertionMode===R.IN_TABLE||e.insertionMode===R.IN_CAPTION||e.insertionMode===R.IN_TABLE_BODY||e.insertionMode===R.IN_ROW||e.insertionMode===R.IN_CELL?R.IN_SELECT_IN_TABLE:R.IN_SELECT}function Uw(e,t){e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML)}function jw(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTags(),e._insertElement(t,W.HTML)}function qw(e,t){e.openElements.hasInScope(h.RUBY)&&e.openElements.generateImpliedEndTagsWithExclusion(h.RTC),e._insertElement(t,W.HTML)}function $w(e,t){e._reconstructActiveFormattingElements(),n2(t),_l(t),t.selfClosing?e._appendElement(t,W.MATHML):e._insertElement(t,W.MATHML),t.ackSelfClosing=!0}function Yw(e,t){e._reconstructActiveFormattingElements(),a2(t),_l(t),t.selfClosing?e._appendElement(t,W.SVG):e._insertElement(t,W.SVG),t.ackSelfClosing=!0}function Lf(e,t){e._reconstructActiveFormattingElements(),e._insertElement(t,W.HTML)}function Et(e,t){switch(t.tagID){case h.I:case h.S:case h.B:case h.U:case h.EM:case h.TT:case h.BIG:case h.CODE:case h.FONT:case h.SMALL:case h.STRIKE:case h.STRONG:{_w(e,t);break}case h.A:{Iw(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{vw(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:{Tw(e,t);break}case h.LI:case h.DD:case h.DT:{Sw(e,t);break}case h.BR:case h.IMG:case h.WBR:case h.AREA:case h.EMBED:case h.KEYGEN:{o2(e,t);break}case h.HR:{Mw(e,t);break}case h.RB:case h.RTC:{jw(e,t);break}case h.RT:case h.RP:{qw(e,t);break}case h.PRE:case h.LISTING:{ww(e,t);break}case h.XMP:{Bw(e,t);break}case h.SVG:{Yw(e,t);break}case h.HTML:{yw(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:{Ew(e,t);break}case h.FORM:{Aw(e,t);break}case h.NOBR:{Nw(e,t);break}case h.MATH:{$w(e,t);break}case h.TABLE:{Rw(e,t);break}case h.INPUT:{Dw(e,t);break}case h.PARAM:case h.TRACK:case h.SOURCE:{Lw(e,t);break}case h.IMAGE:{Pw(e,t);break}case h.BUTTON:{Cw(e,t);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{Ow(e,t);break}case h.IFRAME:{zw(e,t);break}case h.SELECT:{Hw(e,t);break}case h.OPTION:case h.OPTGROUP:{Uw(e,t);break}case h.NOEMBED:case h.NOFRAMES:{Df(e,t);break}case h.FRAMESET:{xw(e,t);break}case h.TEXTAREA:{Fw(e,t);break}case h.NOSCRIPT:{e.options.scriptingEnabled?Df(e,t):Lf(e,t);break}case h.PLAINTEXT:{kw(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:Lf(e,t)}}function Vw(e,t){if(e.openElements.hasInScope(h.BODY)&&(e.insertionMode=R.AFTER_BODY,e.options.sourceCodeLocationInfo)){const r=e.openElements.tryPeekProperlyNestedBodyElement();r&&e._setEndLocation(r,t)}}function Ww(e,t){e.openElements.hasInScope(h.BODY)&&(e.insertionMode=R.AFTER_BODY,E2(e,t))}function Gw(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r))}function Xw(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 Kw(e){e.openElements.hasInButtonScope(h.P)||e._insertFakeElement(H.P,h.P),e._closePElement()}function Qw(e){e.openElements.hasInListItemScope(h.LI)&&(e.openElements.generateImpliedEndTagsWithExclusion(h.LI),e.openElements.popUntilTagNamePopped(h.LI))}function Jw(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTagsWithExclusion(r),e.openElements.popUntilTagNamePopped(r))}function Zw(e){e.openElements.hasNumberedHeaderInScope()&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilNumberedHeaderPopped())}function eA(e,t){const r=t.tagID;e.openElements.hasInScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker())}function tA(e){e._reconstructActiveFormattingElements(),e._insertFakeElement(H.BR,h.BR),e.openElements.pop(),e.framesetOk=!1}function c2(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 u0(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:{Nl(e,t);break}case h.P:{Kw(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:{Gw(e,t);break}case h.LI:{Qw(e);break}case h.DD:case h.DT:{Jw(e,t);break}case h.H1:case h.H2:case h.H3:case h.H4:case h.H5:case h.H6:{Zw(e);break}case h.BR:{tA(e);break}case h.BODY:{Vw(e,t);break}case h.HTML:{Ww(e,t);break}case h.FORM:{Xw(e);break}case h.APPLET:case h.OBJECT:case h.MARQUEE:{eA(e,t);break}case h.TEMPLATE:{Sn(e,t);break}default:c2(e,t)}}function f2(e,t){e.tmplInsertionModeStack.length>0?y2(e,t):Ol(e,t)}function rA(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 nA(e,t){e._err(t,q.eofInElementThatCanContainOnlyText),e.openElements.pop(),e.insertionMode=e.originalInsertionMode,e.onEof(t)}function cu(e,t){if(e.openElements.currentTagId!==void 0&&i2.has(e.openElements.currentTagId))switch(e.pendingCharacterTokens.length=0,e.hasNonWhitespacePendingCharacterToken=!1,e.originalInsertionMode=e.insertionMode,e.insertionMode=R.IN_TABLE_TEXT,t.type){case Ie.CHARACTER:{d2(e,t);break}case Ie.WHITESPACE_CHARACTER:{h2(e,t);break}}else fi(e,t)}function aA(e,t){e.openElements.clearBackToTableContext(),e.activeFormattingElements.insertMarker(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_CAPTION}function iA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_COLUMN_GROUP}function sA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H.COLGROUP,h.COLGROUP),e.insertionMode=R.IN_COLUMN_GROUP,Rl(e,t)}function uA(e,t){e.openElements.clearBackToTableContext(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_TABLE_BODY}function oA(e,t){e.openElements.clearBackToTableContext(),e._insertFakeElement(H.TBODY,h.TBODY),e.insertionMode=R.IN_TABLE_BODY,o0(e,t)}function lA(e,t){e.openElements.hasInTableScope(h.TABLE)&&(e.openElements.popUntilTagNamePopped(h.TABLE),e._resetInsertionMode(),e._processStartTag(t))}function cA(e,t){l2(t)?e._appendElement(t,W.HTML):fi(e,t),t.ackSelfClosing=!0}function fA(e,t){!e.formElement&&e.openElements.tmplCount===0&&(e._insertElement(t,W.HTML),e.formElement=e.openElements.current,e.openElements.pop())}function Xn(e,t){switch(t.tagID){case h.TD:case h.TH:case h.TR:{oA(e,t);break}case h.STYLE:case h.SCRIPT:case h.TEMPLATE:{er(e,t);break}case h.COL:{sA(e,t);break}case h.FORM:{fA(e,t);break}case h.TABLE:{lA(e,t);break}case h.TBODY:case h.TFOOT:case h.THEAD:{uA(e,t);break}case h.INPUT:{cA(e,t);break}case h.CAPTION:{aA(e,t);break}case h.COLGROUP:{iA(e,t);break}default:fi(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:{Sn(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:fi(e,t)}}function fi(e,t){const r=e.fosterParentingEnabled;e.fosterParentingEnabled=!0,s0(e,t),e.fosterParentingEnabled=r}function h2(e,t){e.pendingCharacterTokens.push(t)}function d2(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++)fi(e,e.pendingCharacterTokens[r]);else for(;r<e.pendingCharacterTokens.length;r++)e._insertCharacters(e.pendingCharacterTokens[r]);e.insertionMode=e.originalInsertionMode,e._processToken(t)}const m2=new Set([h.CAPTION,h.COL,h.COLGROUP,h.TBODY,h.TD,h.TFOOT,h.TH,h.THEAD,h.TR]);function hA(e,t){const r=t.tagID;m2.has(r)?e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_TABLE,Xn(e,t)):Et(e,t)}function dA(e,t){const r=t.tagID;switch(r){case h.CAPTION:case h.TABLE:{e.openElements.hasInTableScope(h.CAPTION)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(h.CAPTION),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_TABLE,r===h.TABLE&&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:u0(e,t)}}function Rl(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.COL:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.TEMPLATE:{er(e,t);break}default:ws(e,t)}}function mA(e,t){switch(t.tagID){case h.COLGROUP:{e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE);break}case h.TEMPLATE:{Sn(e,t);break}case h.COL:break;default:ws(e,t)}}function ws(e,t){e.openElements.currentTagId===h.COLGROUP&&(e.openElements.pop(),e.insertionMode=R.IN_TABLE,e._processToken(t))}function o0(e,t){switch(t.tagID){case h.TR:{e.openElements.clearBackToTableBodyContext(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_ROW;break}case h.TH:case h.TD:{e.openElements.clearBackToTableBodyContext(),e._insertFakeElement(H.TR,h.TR),e.insertionMode=R.IN_ROW,l0(e,t);break}case h.CAPTION:case h.COL:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,Xn(e,t));break}default:Xn(e,t)}}function lo(e,t){const r=t.tagID;switch(t.tagID){case h.TBODY:case h.TFOOT:case h.THEAD:{e.openElements.hasInTableScope(r)&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE);break}case h.TABLE:{e.openElements.hasTableBodyContextInTableScope()&&(e.openElements.clearBackToTableBodyContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE,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 l0(e,t){switch(t.tagID){case h.TH:case h.TD:{e.openElements.clearBackToTableRowContext(),e._insertElement(t,W.HTML),e.insertionMode=R.IN_CELL,e.activeFormattingElements.insertMarker();break}case h.CAPTION:case h.COL:case h.COLGROUP:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,o0(e,t));break}default:Xn(e,t)}}function p2(e,t){switch(t.tagID){case h.TR:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY);break}case h.TABLE:{e.openElements.hasInTableScope(h.TR)&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,lo(e,t));break}case h.TBODY:case h.TFOOT:case h.THEAD:{(e.openElements.hasInTableScope(t.tagID)||e.openElements.hasInTableScope(h.TR))&&(e.openElements.clearBackToTableRowContext(),e.openElements.pop(),e.insertionMode=R.IN_TABLE_BODY,lo(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 pA(e,t){const r=t.tagID;m2.has(r)?(e.openElements.hasInTableScope(h.TD)||e.openElements.hasInTableScope(h.TH))&&(e._closeTableCell(),l0(e,t)):Et(e,t)}function gA(e,t){const r=t.tagID;switch(r){case h.TD:case h.TH:{e.openElements.hasInTableScope(r)&&(e.openElements.generateImpliedEndTags(),e.openElements.popUntilTagNamePopped(r),e.activeFormattingElements.clearToLastMarker(),e.insertionMode=R.IN_ROW);break}case h.TABLE:case h.TBODY:case h.TFOOT:case h.THEAD:case h.TR:{e.openElements.hasInTableScope(r)&&(e._closeTableCell(),p2(e,t));break}case h.BODY:case h.CAPTION:case h.COL:case h.COLGROUP:case h.HTML:break;default:u0(e,t)}}function g2(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.OPTION:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e._insertElement(t,W.HTML);break}case h.OPTGROUP:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop(),e._insertElement(t,W.HTML);break}case h.HR:{e.openElements.currentTagId===h.OPTION&&e.openElements.pop(),e.openElements.currentTagId===h.OPTGROUP&&e.openElements.pop(),e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.INPUT:case h.KEYGEN:case h.TEXTAREA:case h.SELECT:{e.openElements.hasInSelectScope(h.SELECT)&&(e.openElements.popUntilTagNamePopped(h.SELECT),e._resetInsertionMode(),t.tagID!==h.SELECT&&e._processStartTag(t));break}case h.SCRIPT:case h.TEMPLATE:{er(e,t);break}}}function b2(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:{Sn(e,t);break}}}function bA(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)):g2(e,t)}function yA(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)):b2(e,t)}function EA(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]=R.IN_TABLE,e.insertionMode=R.IN_TABLE,Xn(e,t);break}case h.COL:{e.tmplInsertionModeStack[0]=R.IN_COLUMN_GROUP,e.insertionMode=R.IN_COLUMN_GROUP,Rl(e,t);break}case h.TR:{e.tmplInsertionModeStack[0]=R.IN_TABLE_BODY,e.insertionMode=R.IN_TABLE_BODY,o0(e,t);break}case h.TD:case h.TH:{e.tmplInsertionModeStack[0]=R.IN_ROW,e.insertionMode=R.IN_ROW,l0(e,t);break}default:e.tmplInsertionModeStack[0]=R.IN_BODY,e.insertionMode=R.IN_BODY,Et(e,t)}}function xA(e,t){t.tagID===h.TEMPLATE&&Sn(e,t)}function y2(e,t){e.openElements.tmplCount>0?(e.openElements.popUntilTagNamePopped(h.TEMPLATE),e.activeFormattingElements.clearToLastMarker(),e.tmplInsertionModeStack.shift(),e._resetInsertionMode(),e.onEof(t)):Ol(e,t)}function TA(e,t){t.tagID===h.HTML?Et(e,t):As(e,t)}function E2(e,t){var r;if(t.tagID===h.HTML){if(e.fragmentContext||(e.insertionMode=R.AFTER_AFTER_BODY),e.options.sourceCodeLocationInfo&&e.openElements.tagIDs[0]===h.HTML){e._setEndLocation(e.openElements.items[0],t);const n=e.openElements.items[1];n&&!(!((r=e.treeAdapter.getNodeSourceCodeLocation(n))===null||r===void 0)&&r.endTag)&&e._setEndLocation(n,t)}}else As(e,t)}function As(e,t){e.insertionMode=R.IN_BODY,s0(e,t)}function vA(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.FRAMESET:{e._insertElement(t,W.HTML);break}case h.FRAME:{e._appendElement(t,W.HTML),t.ackSelfClosing=!0;break}case h.NOFRAMES:{er(e,t);break}}}function wA(e,t){t.tagID===h.FRAMESET&&!e.openElements.isRootHtmlElementCurrent()&&(e.openElements.pop(),!e.fragmentContext&&e.openElements.currentTagId!==h.FRAMESET&&(e.insertionMode=R.AFTER_FRAMESET))}function AA(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.NOFRAMES:{er(e,t);break}}}function SA(e,t){t.tagID===h.HTML&&(e.insertionMode=R.AFTER_AFTER_FRAMESET)}function kA(e,t){t.tagID===h.HTML?Et(e,t):ss(e,t)}function ss(e,t){e.insertionMode=R.IN_BODY,s0(e,t)}function CA(e,t){switch(t.tagID){case h.HTML:{Et(e,t);break}case h.NOFRAMES:{er(e,t);break}}}function IA(e,t){t.chars=Ve,e._insertCharacters(t)}function _A(e,t){e._insertCharacters(t),e.framesetOk=!1}function x2(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 NA(e,t){if(Yv(t))x2(e),e._startTagOutsideForeignContent(t);else{const r=e._getAdjustedCurrentElement(),n=e.treeAdapter.getNamespaceURI(r);n===W.MATHML?n2(t):n===W.SVG&&(Vv(t),a2(t)),_l(t),t.selfClosing?e._appendElement(t,n):e._insertElement(t,n),t.ackSelfClosing=!0}}function OA(e,t){if(t.tagID===h.P||t.tagID===h.BR){x2(e),e._endTagOutsideForeignContent(t);return}for(let r=e.openElements.stackTop;r>0;r--){const n=e.openElements.items[r];if(e.treeAdapter.getNamespaceURI(n)===W.HTML){e._endTagOutsideForeignContent(t);break}const a=e.treeAdapter.getTagName(n);if(a.toLowerCase()===t.tagName){t.tagName=a,e.openElements.shortenToLength(r);break}}}H.AREA,H.BASE,H.BASEFONT,H.BGSOUND,H.BR,H.COL,H.EMBED,H.FRAME,H.HR,H.IMG,H.INPUT,H.KEYGEN,H.LINK,H.META,H.PARAM,H.SOURCE,H.TRACK,H.WBR;const RA=/<(\/?)(iframe|noembed|noframes|plaintext|script|style|textarea|title|xmp)(?=[\t\n\f\r />])/gi,DA=new Set(["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"]),Mf={sourceCodeLocationInfo:!0,scriptingEnabled:!1};function T2(e,t){const r=qA(e),n=pp("type",{handlers:{root:LA,element:MA,text:PA,comment:w2,doctype:FA,raw:zA},unknown:HA}),a={parser:r?new Rf(Mf):Rf.getFragmentParser(void 0,Mf),handle(u){n(u,a)},stitches:!1,options:t||{}};n(e,a),la(a,cr());const i=r?a.parser.document:a.parser.getFragment(),s=$T(i,{file:a.options.file});return a.stitches&&Ws(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 v2(e,t){let r=-1;if(e)for(;++r<e.length;)t.handle(e[r])}function LA(e,t){v2(e.children,t)}function MA(e,t){UA(e,t),v2(e.children,t),jA(e,t)}function PA(e,t){t.parser.tokenizer.state>4&&(t.parser.tokenizer.state=0);const r={type:Ie.CHARACTER,chars:e.value,location:hi(e)};la(t,cr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function FA(e,t){const r={type:Ie.DOCTYPE,name:"html",forceQuirks:!1,publicId:"",systemId:"",location:hi(e)};la(t,cr(e)),t.parser.currentToken=r,t.parser._processToken(t.parser.currentToken)}function BA(e,t){t.stitches=!0;const r=$A(e);if("children"in e&&"children"in r){const n=T2({type:"root",children:e.children},t.options);r.children=n.children}w2({type:"comment",value:{stitch:r}},t)}function w2(e,t){const r=e.value,n={type:Ie.COMMENT,data:r,location:hi(e)};la(t,cr(e)),t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken)}function zA(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,A2(t,cr(e)),t.parser.tokenizer.write(t.options.tagfilter?e.value.replace(RA,"<$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 HA(e,t){const r=e;if(t.options.passThrough&&t.options.passThrough.includes(r.type))BA(r,t);else{let n="";throw DA.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 la(e,t){A2(e,t);const r=e.parser.tokenizer.currentCharacterToken;r&&r.location&&(r.location.endLine=e.parser.tokenizer.preprocessor.line,r.location.endCol=e.parser.tokenizer.preprocessor.col+1,r.location.endOffset=e.parser.tokenizer.preprocessor.offset+1,e.parser.currentToken=r,e.parser._processToken(e.parser.currentToken)),e.parser.tokenizer.paused=!1,e.parser.tokenizer.inLoop=!1,e.parser.tokenizer.active=!1,e.parser.tokenizer.returnState=Ze.DATA,e.parser.tokenizer.charRefCode=-1,e.parser.tokenizer.consumedAfterSnapshot=-1,e.parser.tokenizer.currentLocation=null,e.parser.tokenizer.currentCharacterToken=null,e.parser.tokenizer.currentToken=null,e.parser.tokenizer.currentAttr={name:"",value:""}}function A2(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 UA(e,t){const r=e.tagName.toLowerCase();if(t.parser.tokenizer.state===Ze.PLAINTEXT)return;la(t,cr(e));const n=t.parser.openElements.current;let a="namespaceURI"in n?n.namespaceURI:ur.html;a===ur.html&&r==="svg"&&(a=ur.svg);const i=XT(tt(J({},e),{children:[]}),{space:a===ur.svg?"svg":"html"}),s={type:Ie.START_TAG,tagName:r,tagID:oa(r),selfClosing:!1,ackSelfClosing:!1,attrs:"attrs"in i?i.attrs:[],location:hi(e)};t.parser.currentToken=s,t.parser._processToken(t.parser.currentToken),t.parser.tokenizer.lastStartTagName=r}function jA(e,t){const r=e.tagName.toLowerCase();if(!t.parser.tokenizer.inForeignNode&&nv.includes(r)||t.parser.tokenizer.state===Ze.PLAINTEXT)return;la(t,js(e));const n={type:Ie.END_TAG,tagName:r,tagID:oa(r),selfClosing:!1,ackSelfClosing:!1,attrs:[],location:hi(e)};t.parser.currentToken=n,t.parser._processToken(t.parser.currentToken),r===t.parser.tokenizer.lastStartTagName&&(t.parser.tokenizer.state===Ze.RCDATA||t.parser.tokenizer.state===Ze.RAWTEXT||t.parser.tokenizer.state===Ze.SCRIPT_DATA)&&(t.parser.tokenizer.state=Ze.DATA)}function qA(e){const t=e.type==="root"?e.children[0]:e;return!!(t&&(t.type==="doctype"||t.type==="element"&&t.tagName.toLowerCase()==="html"))}function hi(e){const t=cr(e)||{line:void 0,column:void 0,offset:void 0},r=js(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 $A(e){return"children"in e?Yn(tt(J({},e),{children:[]})):Yn(e)}function YA(e){return function(t,r){return T2(t,tt(J({},e),{file:r}))}}function VA(e){cp(e,[/\r?\n|\r/g,WA])}function WA(){return{type:"break"}}function GA(){return function(e){VA(e)}}const XA=ne.div`
|
|
310
|
-
position: relative;
|
|
311
|
-
|
|
312
|
-
max-width: 100%;
|
|
313
|
-
overflow-wrap: break-word;
|
|
314
|
-
|
|
315
|
-
> p {
|
|
316
|
-
display: block;
|
|
317
|
-
width: 100%;
|
|
318
|
-
margin-bottom: 16px;
|
|
319
|
-
}
|
|
320
|
-
|
|
321
|
-
> p:last-child {
|
|
322
|
-
margin-bottom: 0;
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
@keyframes dots {
|
|
326
|
-
0%, 20% {
|
|
327
|
-
color: ${({loading_color:e})=>e};
|
|
328
|
-
text-shadow: ${({loading_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
|
|
329
|
-
}
|
|
330
|
-
40% {
|
|
331
|
-
color: ${({primary_color:e})=>e};
|
|
332
|
-
text-shadow: ${({loading_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
|
|
333
|
-
}
|
|
334
|
-
60% {
|
|
335
|
-
text-shadow: ${({primary_color:e,loading_color:t})=>`.25em 0 0 ${e}, .5em 0 0 ${t}`};
|
|
336
|
-
}
|
|
337
|
-
80%, 100% {
|
|
338
|
-
text-shadow: ${({primary_color:e})=>`.25em 0 0 ${e}, .5em 0 0 ${e}`};
|
|
339
|
-
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
@keyframes blink-dots {
|
|
344
|
-
0%,
|
|
345
|
-
80%,
|
|
346
|
-
100% {
|
|
347
|
-
box-shadow: 0 -1em 0 -1.3em #5584ff;
|
|
348
|
-
}
|
|
349
|
-
40% {
|
|
350
|
-
box-shadow: 0 -1em 0 0 #5584ff;
|
|
351
|
-
}
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
.prompt-message {
|
|
355
|
-
font-size: 12px;
|
|
356
|
-
}
|
|
357
|
-
|
|
358
|
-
.prompt-loading {
|
|
359
|
-
margin-left: 2px;
|
|
360
|
-
color: ${({second_color:e})=>e};
|
|
361
|
-
position: relative;
|
|
362
|
-
|
|
363
|
-
.dots {
|
|
364
|
-
//text-align: center;
|
|
365
|
-
//font-size: 1.5em;
|
|
366
|
-
//letter-spacing: 2px;
|
|
367
|
-
//animation: dots 1s steps(5, end) infinite;
|
|
368
|
-
|
|
369
|
-
display: inline-block;
|
|
370
|
-
position: relative;
|
|
371
|
-
text-indent: -9999em;
|
|
372
|
-
animation-delay: -0.16s;
|
|
373
|
-
margin: 0 auto !important;
|
|
374
|
-
transform: scale(0.5);
|
|
375
|
-
top: 0.6em;
|
|
376
|
-
left: 1.5em;
|
|
377
|
-
|
|
378
|
-
&:before,
|
|
379
|
-
&:after,
|
|
380
|
-
& {
|
|
381
|
-
border-radius: 50%;
|
|
382
|
-
width: 1em;
|
|
383
|
-
height: 1em;
|
|
384
|
-
animation: 1.8s ease-in-out 0s infinite normal none running blink-dots;
|
|
385
|
-
}
|
|
386
|
-
&:before {
|
|
387
|
-
left: -2em;
|
|
388
|
-
animation-delay: -0.32s;
|
|
389
|
-
}
|
|
390
|
-
&:after {
|
|
391
|
-
left: 2em;
|
|
392
|
-
}
|
|
393
|
-
&:before,
|
|
394
|
-
&:after {
|
|
395
|
-
content: '';
|
|
396
|
-
position: absolute;
|
|
397
|
-
}
|
|
398
|
-
}
|
|
399
|
-
}
|
|
400
|
-
|
|
401
|
-
h1,h2,h3,h4,h5,h6 {
|
|
402
|
-
padding: 10px;
|
|
403
|
-
color: ${({color:e})=>e};
|
|
404
|
-
// background: ${({bg_color:e})=>e}; // TODO dark mode ?
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
h1 {
|
|
408
|
-
font-size: 18px;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
h2 {
|
|
412
|
-
font-size: 16px;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
h3,h4 {
|
|
416
|
-
font-size: 14px;
|
|
417
|
-
}
|
|
418
|
-
|
|
419
|
-
ul,ol {
|
|
420
|
-
padding-left: 2em;
|
|
421
|
-
display: flex;
|
|
422
|
-
flex-direction: column;
|
|
423
|
-
gap: 8px;
|
|
424
|
-
list-style-type: disc;
|
|
425
|
-
}
|
|
426
|
-
|
|
427
|
-
ul ul,
|
|
428
|
-
ol ul {
|
|
429
|
-
list-style-type: circle;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
ul ul ul,
|
|
433
|
-
ul ol ul,
|
|
434
|
-
ol ul ul,
|
|
435
|
-
ol ol ul {
|
|
436
|
-
list-style-type: square;
|
|
437
|
-
}
|
|
438
|
-
|
|
439
|
-
ol {
|
|
440
|
-
list-style-type: decimal;
|
|
441
|
-
}
|
|
442
|
-
|
|
443
|
-
li {
|
|
444
|
-
white-space: normal;
|
|
445
|
-
}
|
|
446
|
-
|
|
447
|
-
details {
|
|
448
|
-
font-size: 12px;
|
|
449
|
-
color: rgb(106 105 105);
|
|
450
|
-
white-space: normal;
|
|
451
|
-
}
|
|
452
|
-
|
|
453
|
-
details:has(pre:empty) {
|
|
454
|
-
display: none;
|
|
455
|
-
}
|
|
456
|
-
|
|
457
|
-
summary {
|
|
458
|
-
margin-left: -4px;
|
|
459
|
-
}
|
|
460
|
-
|
|
461
|
-
pre.think {
|
|
462
|
-
font-size: 12px;
|
|
463
|
-
color: #a6a6a6;
|
|
464
|
-
border-left: 1px #a6a6a6 solid;
|
|
465
|
-
display: inline-block;
|
|
466
|
-
white-space: pre-wrap;
|
|
467
|
-
overflow-wrap: break-word;
|
|
468
|
-
padding-left: 10px;
|
|
469
|
-
margin-top: 8px;
|
|
470
|
-
}
|
|
471
|
-
|
|
472
|
-
pre.think > p {
|
|
473
|
-
margin-top: 10px;
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
table {
|
|
477
|
-
display: block;
|
|
478
|
-
overflow-x: auto;
|
|
479
|
-
width: max-content;
|
|
480
|
-
max-width: 100%;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
th, td {
|
|
484
|
-
border: 1px solid #d9d9d9;
|
|
485
|
-
padding: 12px;
|
|
486
|
-
text-align: center;
|
|
487
|
-
white-space: nowrap;
|
|
488
|
-
}
|
|
489
|
-
|
|
490
|
-
/* 用于 coverMath2Markdown 的加载动画 */
|
|
491
|
-
@keyframes cursorImg {
|
|
492
|
-
0%, 100% {
|
|
493
|
-
opacity: 1;
|
|
494
|
-
}
|
|
495
|
-
50% {
|
|
496
|
-
opacity: 0;
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
|
|
500
|
-
.prompt-loading-cursor {
|
|
501
|
-
color: #5584ff;
|
|
502
|
-
animation: cursorImg 1s infinite steps(1, start);
|
|
503
|
-
}
|
|
504
|
-
|
|
505
|
-
/* KaTeX 数学公式样式 */
|
|
506
|
-
.katex {
|
|
507
|
-
font: inherit;
|
|
508
|
-
text-rendering: auto;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
.katex-display {
|
|
512
|
-
display: block;
|
|
513
|
-
margin: 1em 0;
|
|
514
|
-
text-align: center;
|
|
515
|
-
}
|
|
516
|
-
|
|
517
|
-
/* 数学符号和布局样式 */
|
|
518
|
-
.katex .mord,
|
|
519
|
-
.katex .mbin,
|
|
520
|
-
.katex .mrel,
|
|
521
|
-
.katex .mopen,
|
|
522
|
-
.katex .mclose,
|
|
523
|
-
.katex .mpunct,
|
|
524
|
-
.katex .minner {
|
|
525
|
-
font-family: inherit;
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
/* 数学布局样式 */
|
|
529
|
-
.katex .vlist-t,
|
|
530
|
-
.katex .vlist-r,
|
|
531
|
-
.katex .vlist {
|
|
532
|
-
display: inline-block;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
.katex .mfrac {
|
|
536
|
-
display: inline-block;
|
|
537
|
-
vertical-align: middle;
|
|
538
|
-
}
|
|
539
|
-
`;/*!
|
|
540
|
-
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
541
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
542
|
-
* Copyright 2024 Fonticons, Inc.
|
|
543
|
-
*/function KA(e,t,r){return(t=JA(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pf(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?Pf(Object(r),!0).forEach(function(n){KA(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Pf(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function QA(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 JA(e){var t=QA(e,"string");return typeof t=="symbol"?t:t+""}const Ff=()=>{};let Dl={},S2={},k2=null,C2={mark:Ff,measure:Ff};try{typeof window!="undefined"&&(Dl=window),typeof document!="undefined"&&(S2=document),typeof MutationObserver!="undefined"&&(k2=MutationObserver),typeof performance!="undefined"&&(C2=performance)}catch(e){}const{userAgent:Bf=""}=Dl.navigator||{},Wr=Dl,Ye=S2,zf=k2,qi=C2;Wr.document;const Or=!!Ye.documentElement&&!!Ye.head&&typeof Ye.addEventListener=="function"&&typeof Ye.createElement=="function",I2=~Bf.indexOf("MSIE")||~Bf.indexOf("Trident/");var ZA=/fa(s|r|l|t|d|dr|dl|dt|b|k|kd|ss|sr|sl|st|sds|sdr|sdl|sdt)?[\-\ ]/,eS=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Sharp Duotone|Sharp|Kit)?.*/i,_2={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"}},tS={GROUP:"duotone-group",PRIMARY:"primary",SECONDARY:"secondary"},N2=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],bt="classic",c0="duotone",rS="sharp",nS="sharp-duotone",O2=[bt,c0,rS,nS],aS={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"}},iS={"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"}},sS=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"}},oS=["fak","fa-kit","fakd","fa-kit-duotone"],Hf={kit:{fak:"kit","fa-kit":"kit"},"kit-duotone":{fakd:"kit-duotone","fa-kit-duotone":"kit-duotone"}},lS=["kit"],cS={kit:{"fa-kit":"fak"}},fS=["fak","fakd"],hS={kit:{fak:"fa-kit"}},Uf={kit:{kit:"fak"},"kit-duotone":{"kit-duotone":"fakd"}},$i={GROUP:"duotone-group",SWAP_OPACITY:"swap-opacity",PRIMARY:"primary",SECONDARY:"secondary"},dS=["fa-classic","fa-duotone","fa-sharp","fa-sharp-duotone"],mS=["fak","fa-kit","fakd","fa-kit-duotone"],pS={"Font Awesome Kit":{400:"fak",normal:"fak"},"Font Awesome Kit Duotone":{400:"fakd",normal:"fakd"}},gS={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"}},bS={classic:["fas","far","fal","fat","fad"],duotone:["fadr","fadl","fadt"],sharp:["fass","fasr","fasl","fast"],"sharp-duotone":["fasds","fasdr","fasdl","fasdt"]},co={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"}},yS=["fa-solid","fa-regular","fa-light","fa-thin","fa-duotone","fa-brands"],fo=["fa","fas","far","fal","fat","fad","fadr","fadl","fadt","fab","fass","fasr","fasl","fast","fasds","fasdr","fasdl","fasdt",...dS,...yS],ES=["solid","regular","light","thin","duotone","brands"],R2=[1,2,3,4,5,6,7,8,9,10],xS=R2.concat([11,12,13,14,15,16,17,18,19,20]),TS=[...Object.keys(bS),...ES,"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",$i.GROUP,$i.SWAP_OPACITY,$i.PRIMARY,$i.SECONDARY].concat(R2.map(e=>"".concat(e,"x"))).concat(xS.map(e=>"w-".concat(e))),vS={"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 Sr="___FONT_AWESOME___",ho=16,D2="fa",L2="svg-inline--fa",En="data-fa-i2svg",mo="data-fa-pseudo-element",wS="data-fa-pseudo-element-pending",Ll="data-prefix",Ml="data-icon",jf="fontawesome-i2svg",AS="async",SS=["HTML","HEAD","STYLE","SCRIPT"],M2=(()=>{try{return!0}catch(e){return!1}})();function di(e){return new Proxy(e,{get(t,r){return r in t?t[r]:t[bt]}})}const P2=Z({},_2);P2[bt]=Z(Z(Z(Z({},{"fa-duotone":"duotone"}),_2[bt]),Hf.kit),Hf["kit-duotone"]);const kS=di(P2),po=Z({},uS);po[bt]=Z(Z(Z(Z({},{duotone:"fad"}),po[bt]),Uf.kit),Uf["kit-duotone"]);const qf=di(po),go=Z({},co);go[bt]=Z(Z({},go[bt]),hS.kit);const Pl=di(go),bo=Z({},gS);bo[bt]=Z(Z({},bo[bt]),cS.kit);di(bo);const CS=ZA,F2="fa-layers-text",IS=eS,_S=Z({},aS);di(_S);const NS=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],fu=tS,OS=[...lS,...TS],Ha=Wr.FontAwesomeConfig||{};function RS(e){var t=Ye.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}function DS(e){return e===""?!0:e==="false"?!1:e==="true"?!0:e}Ye&&typeof Ye.querySelector=="function"&&[["data-family-prefix","familyPrefix"],["data-css-prefix","cssPrefix"],["data-family-default","familyDefault"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach(t=>{let[r,n]=t;const a=DS(RS(r));a!=null&&(Ha[n]=a)});const B2={styleDefault:"solid",familyDefault:bt,cssPrefix:D2,replacementClass:L2,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 Kn=Z(Z({},B2),Ha);Kn.autoReplaceSvg||(Kn.observeMutations=!1);const fe={};Object.keys(B2).forEach(e=>{Object.defineProperty(fe,e,{enumerable:!0,set:function(t){Kn[e]=t,Ua.forEach(r=>r(fe))},get:function(){return Kn[e]}})});Object.defineProperty(fe,"familyPrefix",{enumerable:!0,set:function(e){Kn.cssPrefix=e,Ua.forEach(t=>t(fe))},get:function(){return Kn.cssPrefix}});Wr.FontAwesomeConfig=fe;const Ua=[];function LS(e){return Ua.push(e),()=>{Ua.splice(Ua.indexOf(e),1)}}const Mr=ho,or={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function MS(e){if(!e||!Or)return;const t=Ye.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;const r=Ye.head.childNodes;let n=null;for(let a=r.length-1;a>-1;a--){const i=r[a],s=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(s)>-1&&(n=i)}return Ye.head.insertBefore(t,n),e}const PS="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";function Ka(){let e=12,t="";for(;e-- >0;)t+=PS[Math.random()*62|0];return t}function ca(e){const t=[];for(let r=(e||[]).length>>>0;r--;)t[r]=e[r];return t}function Fl(e){return e.classList?ca(e.classList):(e.getAttribute("class")||"").split(" ").filter(t=>t)}function z2(e){return"".concat(e).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function FS(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,'="').concat(z2(e[r]),'" '),"").trim()}function f0(e){return Object.keys(e||{}).reduce((t,r)=>t+"".concat(r,": ").concat(e[r].trim(),";"),"")}function Bl(e){return e.size!==or.size||e.x!==or.x||e.y!==or.y||e.rotate!==or.rotate||e.flipX||e.flipY}function BS(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 zS(e){let{transform:t,width:r=ho,height:n=ho,startCentered:a=!1}=e,i="";return a&&I2?i+="translate(".concat(t.x/Mr-r/2,"em, ").concat(t.y/Mr-n/2,"em) "):a?i+="translate(calc(-50% + ".concat(t.x/Mr,"em), calc(-50% + ").concat(t.y/Mr,"em)) "):i+="translate(".concat(t.x/Mr,"em, ").concat(t.y/Mr,"em) "),i+="scale(".concat(t.size/Mr*(t.flipX?-1:1),", ").concat(t.size/Mr*(t.flipY?-1:1),") "),i+="rotate(".concat(t.rotate,"deg) "),i}var HS=`:root, :host {
|
|
544
|
-
--fa-font-solid: normal 900 1em/1 "Font Awesome 6 Free";
|
|
545
|
-
--fa-font-regular: normal 400 1em/1 "Font Awesome 6 Free";
|
|
546
|
-
--fa-font-light: normal 300 1em/1 "Font Awesome 6 Pro";
|
|
547
|
-
--fa-font-thin: normal 100 1em/1 "Font Awesome 6 Pro";
|
|
548
|
-
--fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";
|
|
549
|
-
--fa-font-duotone-regular: normal 400 1em/1 "Font Awesome 6 Duotone";
|
|
550
|
-
--fa-font-duotone-light: normal 300 1em/1 "Font Awesome 6 Duotone";
|
|
551
|
-
--fa-font-duotone-thin: normal 100 1em/1 "Font Awesome 6 Duotone";
|
|
552
|
-
--fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";
|
|
553
|
-
--fa-font-sharp-solid: normal 900 1em/1 "Font Awesome 6 Sharp";
|
|
554
|
-
--fa-font-sharp-regular: normal 400 1em/1 "Font Awesome 6 Sharp";
|
|
555
|
-
--fa-font-sharp-light: normal 300 1em/1 "Font Awesome 6 Sharp";
|
|
556
|
-
--fa-font-sharp-thin: normal 100 1em/1 "Font Awesome 6 Sharp";
|
|
557
|
-
--fa-font-sharp-duotone-solid: normal 900 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
558
|
-
--fa-font-sharp-duotone-regular: normal 400 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
559
|
-
--fa-font-sharp-duotone-light: normal 300 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
560
|
-
--fa-font-sharp-duotone-thin: normal 100 1em/1 "Font Awesome 6 Sharp Duotone";
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
svg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {
|
|
564
|
-
overflow: visible;
|
|
565
|
-
box-sizing: content-box;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
.svg-inline--fa {
|
|
569
|
-
display: var(--fa-display, inline-block);
|
|
570
|
-
height: 1em;
|
|
571
|
-
overflow: visible;
|
|
572
|
-
vertical-align: -0.125em;
|
|
573
|
-
}
|
|
574
|
-
.svg-inline--fa.fa-2xs {
|
|
575
|
-
vertical-align: 0.1em;
|
|
576
|
-
}
|
|
577
|
-
.svg-inline--fa.fa-xs {
|
|
578
|
-
vertical-align: 0em;
|
|
579
|
-
}
|
|
580
|
-
.svg-inline--fa.fa-sm {
|
|
581
|
-
vertical-align: -0.0714285705em;
|
|
582
|
-
}
|
|
583
|
-
.svg-inline--fa.fa-lg {
|
|
584
|
-
vertical-align: -0.2em;
|
|
585
|
-
}
|
|
586
|
-
.svg-inline--fa.fa-xl {
|
|
587
|
-
vertical-align: -0.25em;
|
|
588
|
-
}
|
|
589
|
-
.svg-inline--fa.fa-2xl {
|
|
590
|
-
vertical-align: -0.3125em;
|
|
591
|
-
}
|
|
592
|
-
.svg-inline--fa.fa-pull-left {
|
|
593
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
594
|
-
width: auto;
|
|
595
|
-
}
|
|
596
|
-
.svg-inline--fa.fa-pull-right {
|
|
597
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
598
|
-
width: auto;
|
|
599
|
-
}
|
|
600
|
-
.svg-inline--fa.fa-li {
|
|
601
|
-
width: var(--fa-li-width, 2em);
|
|
602
|
-
top: 0.25em;
|
|
603
|
-
}
|
|
604
|
-
.svg-inline--fa.fa-fw {
|
|
605
|
-
width: var(--fa-fw-width, 1.25em);
|
|
606
|
-
}
|
|
607
|
-
|
|
608
|
-
.fa-layers svg.svg-inline--fa {
|
|
609
|
-
bottom: 0;
|
|
610
|
-
left: 0;
|
|
611
|
-
margin: auto;
|
|
612
|
-
position: absolute;
|
|
613
|
-
right: 0;
|
|
614
|
-
top: 0;
|
|
615
|
-
}
|
|
616
|
-
|
|
617
|
-
.fa-layers-counter, .fa-layers-text {
|
|
618
|
-
display: inline-block;
|
|
619
|
-
position: absolute;
|
|
620
|
-
text-align: center;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
.fa-layers {
|
|
624
|
-
display: inline-block;
|
|
625
|
-
height: 1em;
|
|
626
|
-
position: relative;
|
|
627
|
-
text-align: center;
|
|
628
|
-
vertical-align: -0.125em;
|
|
629
|
-
width: 1em;
|
|
630
|
-
}
|
|
631
|
-
.fa-layers svg.svg-inline--fa {
|
|
632
|
-
transform-origin: center center;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
.fa-layers-text {
|
|
636
|
-
left: 50%;
|
|
637
|
-
top: 50%;
|
|
638
|
-
transform: translate(-50%, -50%);
|
|
639
|
-
transform-origin: center center;
|
|
640
|
-
}
|
|
641
|
-
|
|
642
|
-
.fa-layers-counter {
|
|
643
|
-
background-color: var(--fa-counter-background-color, #ff253a);
|
|
644
|
-
border-radius: var(--fa-counter-border-radius, 1em);
|
|
645
|
-
box-sizing: border-box;
|
|
646
|
-
color: var(--fa-inverse, #fff);
|
|
647
|
-
line-height: var(--fa-counter-line-height, 1);
|
|
648
|
-
max-width: var(--fa-counter-max-width, 5em);
|
|
649
|
-
min-width: var(--fa-counter-min-width, 1.5em);
|
|
650
|
-
overflow: hidden;
|
|
651
|
-
padding: var(--fa-counter-padding, 0.25em 0.5em);
|
|
652
|
-
right: var(--fa-right, 0);
|
|
653
|
-
text-overflow: ellipsis;
|
|
654
|
-
top: var(--fa-top, 0);
|
|
655
|
-
transform: scale(var(--fa-counter-scale, 0.25));
|
|
656
|
-
transform-origin: top right;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
.fa-layers-bottom-right {
|
|
660
|
-
bottom: var(--fa-bottom, 0);
|
|
661
|
-
right: var(--fa-right, 0);
|
|
662
|
-
top: auto;
|
|
663
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
664
|
-
transform-origin: bottom right;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
.fa-layers-bottom-left {
|
|
668
|
-
bottom: var(--fa-bottom, 0);
|
|
669
|
-
left: var(--fa-left, 0);
|
|
670
|
-
right: auto;
|
|
671
|
-
top: auto;
|
|
672
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
673
|
-
transform-origin: bottom left;
|
|
674
|
-
}
|
|
675
|
-
|
|
676
|
-
.fa-layers-top-right {
|
|
677
|
-
top: var(--fa-top, 0);
|
|
678
|
-
right: var(--fa-right, 0);
|
|
679
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
680
|
-
transform-origin: top right;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
.fa-layers-top-left {
|
|
684
|
-
left: var(--fa-left, 0);
|
|
685
|
-
right: auto;
|
|
686
|
-
top: var(--fa-top, 0);
|
|
687
|
-
transform: scale(var(--fa-layers-scale, 0.25));
|
|
688
|
-
transform-origin: top left;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
.fa-1x {
|
|
692
|
-
font-size: 1em;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
.fa-2x {
|
|
696
|
-
font-size: 2em;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
.fa-3x {
|
|
700
|
-
font-size: 3em;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
.fa-4x {
|
|
704
|
-
font-size: 4em;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
.fa-5x {
|
|
708
|
-
font-size: 5em;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
.fa-6x {
|
|
712
|
-
font-size: 6em;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
.fa-7x {
|
|
716
|
-
font-size: 7em;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
.fa-8x {
|
|
720
|
-
font-size: 8em;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
.fa-9x {
|
|
724
|
-
font-size: 9em;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
.fa-10x {
|
|
728
|
-
font-size: 10em;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
.fa-2xs {
|
|
732
|
-
font-size: 0.625em;
|
|
733
|
-
line-height: 0.1em;
|
|
734
|
-
vertical-align: 0.225em;
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
.fa-xs {
|
|
738
|
-
font-size: 0.75em;
|
|
739
|
-
line-height: 0.0833333337em;
|
|
740
|
-
vertical-align: 0.125em;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
.fa-sm {
|
|
744
|
-
font-size: 0.875em;
|
|
745
|
-
line-height: 0.0714285718em;
|
|
746
|
-
vertical-align: 0.0535714295em;
|
|
747
|
-
}
|
|
748
|
-
|
|
749
|
-
.fa-lg {
|
|
750
|
-
font-size: 1.25em;
|
|
751
|
-
line-height: 0.05em;
|
|
752
|
-
vertical-align: -0.075em;
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
.fa-xl {
|
|
756
|
-
font-size: 1.5em;
|
|
757
|
-
line-height: 0.0416666682em;
|
|
758
|
-
vertical-align: -0.125em;
|
|
759
|
-
}
|
|
760
|
-
|
|
761
|
-
.fa-2xl {
|
|
762
|
-
font-size: 2em;
|
|
763
|
-
line-height: 0.03125em;
|
|
764
|
-
vertical-align: -0.1875em;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
.fa-fw {
|
|
768
|
-
text-align: center;
|
|
769
|
-
width: 1.25em;
|
|
770
|
-
}
|
|
771
|
-
|
|
772
|
-
.fa-ul {
|
|
773
|
-
list-style-type: none;
|
|
774
|
-
margin-left: var(--fa-li-margin, 2.5em);
|
|
775
|
-
padding-left: 0;
|
|
776
|
-
}
|
|
777
|
-
.fa-ul > li {
|
|
778
|
-
position: relative;
|
|
779
|
-
}
|
|
780
|
-
|
|
781
|
-
.fa-li {
|
|
782
|
-
left: calc(-1 * var(--fa-li-width, 2em));
|
|
783
|
-
position: absolute;
|
|
784
|
-
text-align: center;
|
|
785
|
-
width: var(--fa-li-width, 2em);
|
|
786
|
-
line-height: inherit;
|
|
787
|
-
}
|
|
788
|
-
|
|
789
|
-
.fa-border {
|
|
790
|
-
border-color: var(--fa-border-color, #eee);
|
|
791
|
-
border-radius: var(--fa-border-radius, 0.1em);
|
|
792
|
-
border-style: var(--fa-border-style, solid);
|
|
793
|
-
border-width: var(--fa-border-width, 0.08em);
|
|
794
|
-
padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);
|
|
795
|
-
}
|
|
796
|
-
|
|
797
|
-
.fa-pull-left {
|
|
798
|
-
float: left;
|
|
799
|
-
margin-right: var(--fa-pull-margin, 0.3em);
|
|
800
|
-
}
|
|
801
|
-
|
|
802
|
-
.fa-pull-right {
|
|
803
|
-
float: right;
|
|
804
|
-
margin-left: var(--fa-pull-margin, 0.3em);
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
.fa-beat {
|
|
808
|
-
animation-name: fa-beat;
|
|
809
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
810
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
811
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
812
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
813
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
814
|
-
}
|
|
815
|
-
|
|
816
|
-
.fa-bounce {
|
|
817
|
-
animation-name: fa-bounce;
|
|
818
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
819
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
820
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
821
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
822
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));
|
|
823
|
-
}
|
|
824
|
-
|
|
825
|
-
.fa-fade {
|
|
826
|
-
animation-name: fa-fade;
|
|
827
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
828
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
829
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
830
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
831
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
832
|
-
}
|
|
833
|
-
|
|
834
|
-
.fa-beat-fade {
|
|
835
|
-
animation-name: fa-beat-fade;
|
|
836
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
837
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
838
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
839
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
840
|
-
animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
.fa-flip {
|
|
844
|
-
animation-name: fa-flip;
|
|
845
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
846
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
847
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
848
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
849
|
-
animation-timing-function: var(--fa-animation-timing, ease-in-out);
|
|
850
|
-
}
|
|
851
|
-
|
|
852
|
-
.fa-shake {
|
|
853
|
-
animation-name: fa-shake;
|
|
854
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
855
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
856
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
857
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
858
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
.fa-spin {
|
|
862
|
-
animation-name: fa-spin;
|
|
863
|
-
animation-delay: var(--fa-animation-delay, 0s);
|
|
864
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
865
|
-
animation-duration: var(--fa-animation-duration, 2s);
|
|
866
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
867
|
-
animation-timing-function: var(--fa-animation-timing, linear);
|
|
868
|
-
}
|
|
869
|
-
|
|
870
|
-
.fa-spin-reverse {
|
|
871
|
-
--fa-animation-direction: reverse;
|
|
872
|
-
}
|
|
873
|
-
|
|
874
|
-
.fa-pulse,
|
|
875
|
-
.fa-spin-pulse {
|
|
876
|
-
animation-name: fa-spin;
|
|
877
|
-
animation-direction: var(--fa-animation-direction, normal);
|
|
878
|
-
animation-duration: var(--fa-animation-duration, 1s);
|
|
879
|
-
animation-iteration-count: var(--fa-animation-iteration-count, infinite);
|
|
880
|
-
animation-timing-function: var(--fa-animation-timing, steps(8));
|
|
881
|
-
}
|
|
882
|
-
|
|
883
|
-
@media (prefers-reduced-motion: reduce) {
|
|
884
|
-
.fa-beat,
|
|
885
|
-
.fa-bounce,
|
|
886
|
-
.fa-fade,
|
|
887
|
-
.fa-beat-fade,
|
|
888
|
-
.fa-flip,
|
|
889
|
-
.fa-pulse,
|
|
890
|
-
.fa-shake,
|
|
891
|
-
.fa-spin,
|
|
892
|
-
.fa-spin-pulse {
|
|
893
|
-
animation-delay: -1ms;
|
|
894
|
-
animation-duration: 1ms;
|
|
895
|
-
animation-iteration-count: 1;
|
|
896
|
-
transition-delay: 0s;
|
|
897
|
-
transition-duration: 0s;
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
@keyframes fa-beat {
|
|
901
|
-
0%, 90% {
|
|
902
|
-
transform: scale(1);
|
|
903
|
-
}
|
|
904
|
-
45% {
|
|
905
|
-
transform: scale(var(--fa-beat-scale, 1.25));
|
|
906
|
-
}
|
|
907
|
-
}
|
|
908
|
-
@keyframes fa-bounce {
|
|
909
|
-
0% {
|
|
910
|
-
transform: scale(1, 1) translateY(0);
|
|
911
|
-
}
|
|
912
|
-
10% {
|
|
913
|
-
transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);
|
|
914
|
-
}
|
|
915
|
-
30% {
|
|
916
|
-
transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));
|
|
917
|
-
}
|
|
918
|
-
50% {
|
|
919
|
-
transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);
|
|
920
|
-
}
|
|
921
|
-
57% {
|
|
922
|
-
transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));
|
|
923
|
-
}
|
|
924
|
-
64% {
|
|
925
|
-
transform: scale(1, 1) translateY(0);
|
|
926
|
-
}
|
|
927
|
-
100% {
|
|
928
|
-
transform: scale(1, 1) translateY(0);
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
@keyframes fa-fade {
|
|
932
|
-
50% {
|
|
933
|
-
opacity: var(--fa-fade-opacity, 0.4);
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
@keyframes fa-beat-fade {
|
|
937
|
-
0%, 100% {
|
|
938
|
-
opacity: var(--fa-beat-fade-opacity, 0.4);
|
|
939
|
-
transform: scale(1);
|
|
940
|
-
}
|
|
941
|
-
50% {
|
|
942
|
-
opacity: 1;
|
|
943
|
-
transform: scale(var(--fa-beat-fade-scale, 1.125));
|
|
944
|
-
}
|
|
945
|
-
}
|
|
946
|
-
@keyframes fa-flip {
|
|
947
|
-
50% {
|
|
948
|
-
transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));
|
|
949
|
-
}
|
|
950
|
-
}
|
|
951
|
-
@keyframes fa-shake {
|
|
952
|
-
0% {
|
|
953
|
-
transform: rotate(-15deg);
|
|
954
|
-
}
|
|
955
|
-
4% {
|
|
956
|
-
transform: rotate(15deg);
|
|
957
|
-
}
|
|
958
|
-
8%, 24% {
|
|
959
|
-
transform: rotate(-18deg);
|
|
960
|
-
}
|
|
961
|
-
12%, 28% {
|
|
962
|
-
transform: rotate(18deg);
|
|
963
|
-
}
|
|
964
|
-
16% {
|
|
965
|
-
transform: rotate(-22deg);
|
|
966
|
-
}
|
|
967
|
-
20% {
|
|
968
|
-
transform: rotate(22deg);
|
|
969
|
-
}
|
|
970
|
-
32% {
|
|
971
|
-
transform: rotate(-12deg);
|
|
972
|
-
}
|
|
973
|
-
36% {
|
|
974
|
-
transform: rotate(12deg);
|
|
975
|
-
}
|
|
976
|
-
40%, 100% {
|
|
977
|
-
transform: rotate(0deg);
|
|
978
|
-
}
|
|
979
|
-
}
|
|
980
|
-
@keyframes fa-spin {
|
|
981
|
-
0% {
|
|
982
|
-
transform: rotate(0deg);
|
|
983
|
-
}
|
|
984
|
-
100% {
|
|
985
|
-
transform: rotate(360deg);
|
|
986
|
-
}
|
|
987
|
-
}
|
|
988
|
-
.fa-rotate-90 {
|
|
989
|
-
transform: rotate(90deg);
|
|
990
|
-
}
|
|
991
|
-
|
|
992
|
-
.fa-rotate-180 {
|
|
993
|
-
transform: rotate(180deg);
|
|
994
|
-
}
|
|
995
|
-
|
|
996
|
-
.fa-rotate-270 {
|
|
997
|
-
transform: rotate(270deg);
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
.fa-flip-horizontal {
|
|
1001
|
-
transform: scale(-1, 1);
|
|
1002
|
-
}
|
|
1003
|
-
|
|
1004
|
-
.fa-flip-vertical {
|
|
1005
|
-
transform: scale(1, -1);
|
|
1006
|
-
}
|
|
1007
|
-
|
|
1008
|
-
.fa-flip-both,
|
|
1009
|
-
.fa-flip-horizontal.fa-flip-vertical {
|
|
1010
|
-
transform: scale(-1, -1);
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1013
|
-
.fa-rotate-by {
|
|
1014
|
-
transform: rotate(var(--fa-rotate-angle, 0));
|
|
1015
|
-
}
|
|
1016
|
-
|
|
1017
|
-
.fa-stack {
|
|
1018
|
-
display: inline-block;
|
|
1019
|
-
vertical-align: middle;
|
|
1020
|
-
height: 2em;
|
|
1021
|
-
position: relative;
|
|
1022
|
-
width: 2.5em;
|
|
1023
|
-
}
|
|
1024
|
-
|
|
1025
|
-
.fa-stack-1x,
|
|
1026
|
-
.fa-stack-2x {
|
|
1027
|
-
bottom: 0;
|
|
1028
|
-
left: 0;
|
|
1029
|
-
margin: auto;
|
|
1030
|
-
position: absolute;
|
|
1031
|
-
right: 0;
|
|
1032
|
-
top: 0;
|
|
1033
|
-
z-index: var(--fa-stack-z-index, auto);
|
|
1034
|
-
}
|
|
1035
|
-
|
|
1036
|
-
.svg-inline--fa.fa-stack-1x {
|
|
1037
|
-
height: 1em;
|
|
1038
|
-
width: 1.25em;
|
|
1039
|
-
}
|
|
1040
|
-
.svg-inline--fa.fa-stack-2x {
|
|
1041
|
-
height: 2em;
|
|
1042
|
-
width: 2.5em;
|
|
1043
|
-
}
|
|
1044
|
-
|
|
1045
|
-
.fa-inverse {
|
|
1046
|
-
color: var(--fa-inverse, #fff);
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
|
-
.sr-only,
|
|
1050
|
-
.fa-sr-only {
|
|
1051
|
-
position: absolute;
|
|
1052
|
-
width: 1px;
|
|
1053
|
-
height: 1px;
|
|
1054
|
-
padding: 0;
|
|
1055
|
-
margin: -1px;
|
|
1056
|
-
overflow: hidden;
|
|
1057
|
-
clip: rect(0, 0, 0, 0);
|
|
1058
|
-
white-space: nowrap;
|
|
1059
|
-
border-width: 0;
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
|
-
.sr-only-focusable:not(:focus),
|
|
1063
|
-
.fa-sr-only-focusable:not(:focus) {
|
|
1064
|
-
position: absolute;
|
|
1065
|
-
width: 1px;
|
|
1066
|
-
height: 1px;
|
|
1067
|
-
padding: 0;
|
|
1068
|
-
margin: -1px;
|
|
1069
|
-
overflow: hidden;
|
|
1070
|
-
clip: rect(0, 0, 0, 0);
|
|
1071
|
-
white-space: nowrap;
|
|
1072
|
-
border-width: 0;
|
|
1073
|
-
}
|
|
1074
|
-
|
|
1075
|
-
.svg-inline--fa .fa-primary {
|
|
1076
|
-
fill: var(--fa-primary-color, currentColor);
|
|
1077
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
1078
|
-
}
|
|
1079
|
-
|
|
1080
|
-
.svg-inline--fa .fa-secondary {
|
|
1081
|
-
fill: var(--fa-secondary-color, currentColor);
|
|
1082
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1083
|
-
}
|
|
1084
|
-
|
|
1085
|
-
.svg-inline--fa.fa-swap-opacity .fa-primary {
|
|
1086
|
-
opacity: var(--fa-secondary-opacity, 0.4);
|
|
1087
|
-
}
|
|
1088
|
-
|
|
1089
|
-
.svg-inline--fa.fa-swap-opacity .fa-secondary {
|
|
1090
|
-
opacity: var(--fa-primary-opacity, 1);
|
|
1091
|
-
}
|
|
1092
|
-
|
|
1093
|
-
.svg-inline--fa mask .fa-primary,
|
|
1094
|
-
.svg-inline--fa mask .fa-secondary {
|
|
1095
|
-
fill: black;
|
|
1096
|
-
}`;function H2(){const e=D2,t=L2,r=fe.cssPrefix,n=fe.replacementClass;let a=HS;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 $f=!1;function hu(){fe.autoAddCss&&!$f&&(MS(H2()),$f=!0)}var US={mixout(){return{dom:{css:H2,insertCss:hu}}},hooks(){return{beforeDOMElementCreation(){hu()},beforeI2svg(){hu()}}}};const kr=Wr||{};kr[Sr]||(kr[Sr]={});kr[Sr].styles||(kr[Sr].styles={});kr[Sr].hooks||(kr[Sr].hooks={});kr[Sr].shims||(kr[Sr].shims=[]);var lr=kr[Sr];const U2=[],j2=function(){Ye.removeEventListener("DOMContentLoaded",j2),Ss=1,U2.map(e=>e())};let Ss=!1;Or&&(Ss=(Ye.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Ye.readyState),Ss||Ye.addEventListener("DOMContentLoaded",j2));function jS(e){Or&&(Ss?setTimeout(e,0):U2.push(e))}function mi(e){const{tag:t,attributes:r={},children:n=[]}=e;return typeof e=="string"?z2(e):"<".concat(t," ").concat(FS(r),">").concat(n.map(mi).join(""),"</").concat(t,">")}function Yf(e,t,r){if(e&&e[t]&&e[t][r])return{prefix:t,iconName:r,icon:e[t][r]}}var du=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 qS(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 yo(e){const t=qS(e);return t.length===1?t[0].toString(16):null}function $S(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 Vf(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 Eo(e,t){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const{skipHooks:n=!1}=r,a=Vf(t);typeof lr.hooks.addPack=="function"&&!n?lr.hooks.addPack(e,Vf(t)):lr.styles[e]=Z(Z({},lr.styles[e]||{}),a),e==="fas"&&Eo("fa",t)}const{styles:Qa,shims:YS}=lr,q2=Object.keys(Pl),VS=q2.reduce((e,t)=>(e[t]=Object.keys(Pl[t]),e),{});let zl=null,$2={},Y2={},V2={},W2={},G2={};function WS(e){return~OS.indexOf(e)}function GS(e,t){const r=t.split("-"),n=r[0],a=r.slice(1).join("-");return n===e&&a!==""&&!WS(a)?a:null}const X2=()=>{const e=n=>du(Qa,(a,i,s)=>(a[s]=du(i,n,{}),a),{});$2=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)),G2=e((n,a,i)=>{const s=a[2];return n[i]=i,s.forEach(u=>{n[u]=i}),n});const t="far"in Qa||fe.autoFetchSvg,r=du(YS,(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:{}});V2=r.names,W2=r.unicodes,zl=h0(fe.styleDefault,{family:fe.familyDefault})};LS(e=>{zl=h0(e.styleDefault,{family:fe.familyDefault})});X2();function Hl(e,t){return($2[e]||{})[t]}function XS(e,t){return(Y2[e]||{})[t]}function hn(e,t){return(G2[e]||{})[t]}function K2(e){return V2[e]||{prefix:null,iconName:null}}function KS(e){const t=W2[e],r=Hl("fas",e);return t||(r?{prefix:"fas",iconName:r}:null)||{prefix:null,iconName:null}}function Gr(){return zl}const Q2=()=>({prefix:null,iconName:null,rest:[]});function QS(e){let t=bt;const r=q2.reduce((n,a)=>(n[a]="".concat(fe.cssPrefix,"-").concat(a),n),{});return O2.forEach(n=>{(e.includes(r[n])||e.some(a=>VS[n].includes(a)))&&(t=n)}),t}function h0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{family:r=bt}=t,n=kS[r][e];if(r===c0&&!e)return"fad";const a=qf[r][e]||qf[r][n],i=e in lr.styles?e:null;return a||i||null}function JS(e){let t=[],r=null;return e.forEach(n=>{const a=GS(fe.cssPrefix,n);a?r=a:n&&t.push(n)}),{iconName:r,rest:t}}function Wf(e){return e.sort().filter((t,r,n)=>n.indexOf(t)===r)}function d0(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{skipLookups:r=!1}=t;let n=null;const a=fo.concat(mS),i=Wf(e.filter(f=>a.includes(f))),s=Wf(e.filter(f=>!fo.includes(f))),u=i.filter(f=>(n=f,!N2.includes(f))),[o=null]=u,l=QS(i),c=Z(Z({},JS(s)),{},{prefix:h0(o,{family:l})});return Z(Z(Z({},c),rk({values:e,family:l,styles:Qa,config:fe,canonical:c,givenPrefix:n})),ZS(r,n,c))}function ZS(e,t,r){let{prefix:n,iconName:a}=r;if(e||!n||!a)return{prefix:n,iconName:a};const i=t==="fa"?K2(a):{},s=hn(n,a);return a=i.iconName||s||a,n=i.prefix||n,n==="far"&&!Qa.far&&Qa.fas&&!fe.autoFetchSvg&&(n="fas"),{prefix:n,iconName:a}}const ek=O2.filter(e=>e!==bt||e!==c0),tk=Object.keys(co).filter(e=>e!==bt).map(e=>Object.keys(co[e])).flat();function rk(e){const{values:t,family:r,canonical:n,givenPrefix:a="",styles:i={},config:s={}}=e,u=r===c0,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&&ek.includes(r)&&(Object.keys(i).find(p=>tk.includes(p))||s.autoFetchSvg)){const p=sS.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 nk{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]),Eo(i,a[i]);const s=Pl[bt][i];s&&Eo(s,a[i]),X2()})}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 Gf=[],Mn={};const Bn={},ak=Object.keys(Bn);function ik(e,t){let{mixoutsTo:r}=t;return Gf=e,Mn={},Object.keys(Bn).forEach(n=>{ak.indexOf(n)===-1&&delete Bn[n]}),Gf.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=>{Mn[s]||(Mn[s]=[]),Mn[s].push(i[s])})}n.provides&&n.provides(Bn)}),r}function xo(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(Mn[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];(Mn[e]||[]).forEach(i=>{i.apply(null,r)})}function Xr(){const e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Bn[e]?Bn[e].apply(null,t):void 0}function To(e){e.prefix==="fa"&&(e.prefix="fas");let{iconName:t}=e;const r=e.prefix||Gr();if(t)return t=hn(r,t)||t,Yf(J2.definitions,r,t)||Yf(lr.styles,r,t)}const J2=new nk,sk=()=>{fe.autoReplaceSvg=!1,fe.observeMutations=!1,xn("noAuto")},uk={i2svg:function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return Or?(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;fe.autoReplaceSvg===!1&&(fe.autoReplaceSvg=!0),fe.observeMutations=!0,jS(()=>{lk({autoReplaceSvgRoot:t}),xn("watch",e)})}},ok={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=h0(e[0]);return{prefix:r,iconName:hn(r,t)||t}}if(typeof e=="string"&&(e.indexOf("".concat(fe.cssPrefix,"-"))>-1||e.match(CS))){const t=d0(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}}}},Ht={noAuto:sk,config:fe,dom:uk,parse:ok,library:J2,findIconDefinition:To,toHtml:mi},lk=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const{autoReplaceSvgRoot:t=Ye}=e;(Object.keys(lr.styles).length>0||fe.autoFetchSvg)&&Or&&fe.autoReplaceSvg&&Ht.dom.i2svg({node:t})};function m0(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map(r=>mi(r))}}),Object.defineProperty(e,"node",{get:function(){if(!Or)return;const r=Ye.createElement("div");return r.innerHTML=e.html,r.children}}),e}function ck(e){let{children:t,main:r,mask:n,attributes:a,styles:i,transform:s}=e;if(Bl(s)&&r.found&&!n.found){const{width:u,height:o}=r,l={x:u/o/2,y:.5};a.style=f0(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 fk(e){let{prefix:t,iconName:r,children:n,attributes:a,symbol:i}=e;const s=i===!0?"".concat(t,"-").concat(fe.cssPrefix,"-").concat(r):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:Z(Z({},a),{},{id:s}),children:n}]}]}function Ul(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=fS.includes(n),y=[fe.replacementClass,a?"".concat(fe.cssPrefix,"-").concat(a):""].filter(B=>c.classes.indexOf(B)===-1).filter(B=>B!==""||!!B).concat(c.classes).join(" ");let T={children:[],attributes:Z(Z({},c.attributes),{},{"data-prefix":n,"data-icon":a,class:y,role:c.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(p," ").concat(m)})};const v=b&&!~c.classes.indexOf("fa-fw")?{width:"".concat(p/m*16*.0625,"em")}:{};f&&(T.attributes[En]=""),u&&(T.children.push({tag:"title",attributes:{id:T.attributes["aria-labelledby"]||"title-".concat(l||Ka())},children:[u]}),delete T.attributes.title);const S=Z(Z({},T),{},{prefix:n,iconName:a,main:t,mask:r,maskId:o,transform:i,symbol:s,styles:Z(Z({},v),c.styles)}),{children:A,attributes:M}=r.found&&t.found?Xr("generateAbstractMask",S)||{children:[],attributes:{}}:Xr("generateAbstractIcon",S)||{children:[],attributes:{}};return S.children=A,S.attributes=M,s?fk(S):ck(S)}function Xf(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);Bl(a)&&(l.transform=zS({transform:a,startCentered:!0,width:r,height:n}),l["-webkit-transform"]=l.transform);const c=f0(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 hk(e){const{content:t,title:r,extra:n}=e,a=Z(Z(Z({},n.attributes),r?{title:r}:{}),{},{class:n.classes.join(" ")}),i=f0(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:mu}=lr;function vo(e){const t=e[0],r=e[1],[n]=e.slice(4);let a=null;return Array.isArray(n)?a={tag:"g",attributes:{class:"".concat(fe.cssPrefix,"-").concat(fu.GROUP)},children:[{tag:"path",attributes:{class:"".concat(fe.cssPrefix,"-").concat(fu.SECONDARY),fill:"currentColor",d:n[0]}},{tag:"path",attributes:{class:"".concat(fe.cssPrefix,"-").concat(fu.PRIMARY),fill:"currentColor",d:n[1]}}]}:a={tag:"path",attributes:{fill:"currentColor",d:n}},{found:!0,width:t,height:r,icon:a}}const dk={found:!1,width:512,height:512};function mk(e,t){!M2&&!fe.showMissingIcons&&e&&console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}function wo(e,t){let r=t;return t==="fa"&&fe.styleDefault!==null&&(t=Gr()),new Promise((n,a)=>{if(r==="fa"){const i=K2(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&mu[t]&&mu[t][e]){const i=mu[t][e];return n(vo(i))}mk(e,t),n(Z(Z({},dk),{},{icon:fe.showMissingIcons&&e?Xr("missingIconAbstract")||{}:{}}))})}const Kf=()=>{},Ao=fe.measurePerformance&&qi&&qi.mark&&qi.measure?qi:{mark:Kf,measure:Kf},Ia='FA "6.7.2"',pk=e=>(Ao.mark("".concat(Ia," ").concat(e," begins")),()=>Z2(e)),Z2=e=>{Ao.mark("".concat(Ia," ").concat(e," ends")),Ao.measure("".concat(Ia," ").concat(e),"".concat(Ia," ").concat(e," begins"),"".concat(Ia," ").concat(e," ends"))};var jl={begin:pk,end:Z2};const us=()=>{};function Qf(e){return typeof(e.getAttribute?e.getAttribute(En):null)=="string"}function gk(e){const t=e.getAttribute?e.getAttribute(Ll):null,r=e.getAttribute?e.getAttribute(Ml):null;return t&&r}function bk(e){return e&&e.classList&&e.classList.contains&&e.classList.contains(fe.replacementClass)}function yk(){return fe.autoReplaceSvg===!0?os.replace:os[fe.autoReplaceSvg]||os.replace}function Ek(e){return Ye.createElementNS("http://www.w3.org/2000/svg",e)}function xk(e){return Ye.createElement(e)}function e4(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{ceFn:r=e.tag==="svg"?Ek:xk}=t;if(typeof e=="string")return Ye.createTextNode(e);const n=r(e.tag);return Object.keys(e.attributes||[]).forEach(function(i){n.setAttribute(i,e.attributes[i])}),(e.children||[]).forEach(function(i){n.appendChild(e4(i,{ceFn:r}))}),n}function Tk(e){let t=" ".concat(e.outerHTML," ");return t="".concat(t,"Font Awesome fontawesome.com "),t}const os={replace:function(e){const t=e[0];if(t.parentNode)if(e[1].forEach(r=>{t.parentNode.insertBefore(e4(r),t)}),t.getAttribute(En)===null&&fe.keepOriginalSource){let r=Ye.createComment(Tk(t));t.parentNode.replaceChild(r,t)}else t.remove()},nest:function(e){const t=e[0],r=e[1];if(~Fl(t).indexOf(fe.replacementClass))return os.replace(e);const n=new RegExp("".concat(fe.cssPrefix,"-.*"));if(delete r[0].attributes.id,r[0].attributes.class){const i=r[0].attributes.class.split(" ").reduce((s,u)=>(u===fe.replacementClass||u.match(n)?s.toSvg.push(u):s.toNode.push(u),s),{toNode:[],toSvg:[]});r[0].attributes.class=i.toSvg.join(" "),i.toNode.length===0?t.removeAttribute("class"):t.setAttribute("class",i.toNode.join(" "))}const a=r.map(i=>mi(i)).join(`
|
|
1097
|
-
`);t.setAttribute(En,""),t.innerHTML=a}};function Jf(e){e()}function t4(e,t){const r=typeof t=="function"?t:us;if(e.length===0)r();else{let n=Jf;fe.mutateApproach===AS&&(n=Wr.requestAnimationFrame||Jf),n(()=>{const a=yk(),i=jl.begin("mutate");e.map(a),i(),r()})}}let ql=!1;function r4(){ql=!0}function So(){ql=!1}let ks=null;function Zf(e){if(!zf||!fe.observeMutations)return;const{treeCallback:t=us,nodeCallback:r=us,pseudoElementsCallback:n=us,observeMutationsRoot:a=Ye}=e;ks=new zf(i=>{if(ql)return;const s=Gr();ca(i).forEach(u=>{if(u.type==="childList"&&u.addedNodes.length>0&&!Qf(u.addedNodes[0])&&(fe.searchPseudoElements&&n(u.target),t(u.target)),u.type==="attributes"&&u.target.parentNode&&fe.searchPseudoElements&&n(u.target.parentNode),u.type==="attributes"&&Qf(u.target)&&~NS.indexOf(u.attributeName))if(u.attributeName==="class"&&gk(u.target)){const{prefix:o,iconName:l}=d0(Fl(u.target));u.target.setAttribute(Ll,o||s),l&&u.target.setAttribute(Ml,l)}else bk(u.target)&&r(u.target)})}),Or&&ks.observe(a,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}function vk(){ks&&ks.disconnect()}function wk(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=d0(Fl(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=XS(a.prefix,e.innerText)||Hl(a.prefix,yo(e.innerText))),!a.iconName&&fe.autoFetchSvg&&e.firstChild&&e.firstChild.nodeType===Node.TEXT_NODE&&(a.iconName=e.firstChild.data)),a}function Sk(e){const t=ca(e.attributes).reduce((a,i)=>(a.name!=="class"&&a.name!=="style"&&(a[i.name]=i.value),a),{}),r=e.getAttribute("title"),n=e.getAttribute("data-fa-title-id");return fe.autoA11y&&(r?t["aria-labelledby"]="".concat(fe.replacementClass,"-title-").concat(n||Ka()):(t["aria-hidden"]="true",t.focusable="false")),t}function kk(){return{iconName:null,title:null,titleId:null,prefix:null,transform:or,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}function eh(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{styleParser:!0};const{iconName:r,prefix:n,rest:a}=Ak(e),i=Sk(e),s=xo("parseNodeAttributes",{},e);let u=t.styleParser?wk(e):[];return Z({iconName:r,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:n,transform:or,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:a,styles:u,attributes:i}},s)}const{styles:Ck}=lr;function n4(e){const t=fe.autoReplaceSvg==="nest"?eh(e,{styleParser:!1}):eh(e);return~t.extra.classes.indexOf(F2)?Xr("generateLayersText",e,t):Xr("generateSvgReplacementMutation",e,t)}function Ik(){return[...oS,...fo]}function th(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(!Or)return Promise.resolve();const r=Ye.documentElement.classList,n=c=>r.add("".concat(jf,"-").concat(c)),a=c=>r.remove("".concat(jf,"-").concat(c)),i=fe.autoFetchSvg?Ik():N2.concat(Object.keys(Ck));i.includes("fa")||i.push("fa");const s=[".".concat(F2,":not([").concat(En,"])")].concat(i.map(c=>".".concat(c,":not([").concat(En,"])"))).join(", ");if(s.length===0)return Promise.resolve();let u=[];try{u=ca(e.querySelectorAll(s))}catch(c){}if(u.length>0)n("pending"),a("complete");else return Promise.resolve();const o=jl.begin("onTree"),l=u.reduce((c,f)=>{try{const p=n4(f);p&&c.push(p)}catch(p){M2||p.name==="MissingIcon"&&console.error(p)}return c},[]);return new Promise((c,f)=>{Promise.all(l).then(p=>{t4(p,()=>{n("active"),n("complete"),a("pending"),typeof t=="function"&&t(),o(),c()})}).catch(p=>{o(),f(p)})})}function _k(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;n4(e).then(r=>{r&&t4([r],t)})}function Nk(e){return function(t){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=(t||{}).icon?t:To(t||{});let{mask:a}=r;return a&&(a=(a||{}).icon?a:To(a||{})),e(n,Z(Z({},r),{},{mask:a}))}}const Ok=function(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=or,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 m0(Z({type:"icon"},e),()=>(xn("beforeDOMElementCreation",{iconDefinition:e,params:t}),fe.autoA11y&&(s?l["aria-labelledby"]="".concat(fe.replacementClass,"-title-").concat(u||Ka()):(l["aria-hidden"]="true",l.focusable="false")),Ul({icons:{main:vo(m),mask:a?vo(a.icon):{found:!1,width:null,height:null,icon:{}}},prefix:f,iconName:p,transform:Z(Z({},or),r),symbol:n,title:s,maskId:i,titleId:u,extra:{attributes:l,styles:c,classes:o}})))};var Rk={mixout(){return{icon:Nk(Ok)}},hooks(){return{mutationObserverCallbacks(e){return e.treeCallback=th,e.nodeCallback=_k,e}}},provides(e){e.i2svg=function(t){const{node:r=Ye,callback:n=()=>{}}=t;return th(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([wo(n,s),l.iconName?wo(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(b=>{let[y,T]=b;p([t,Ul({icons:{main:y,mask:T},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=f0(s);u.length>0&&(n.style=u);let o;return Bl(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 m0({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(fe.cssPrefix,"-layers"),...r].join(" ")},children:n}]})}}}},Lk={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 m0({type:"counter",content:e},()=>(xn("beforeDOMElementCreation",{content:e,params:t}),hk({content:e.toString(),title:r,extra:{attributes:a,styles:i,classes:["".concat(fe.cssPrefix,"-layers-counter"),...n]}})))}}}},Mk={mixout(){return{text(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const{transform:r=or,title:n=null,classes:a=[],attributes:i={},styles:s={}}=t;return m0({type:"text",content:e},()=>(xn("beforeDOMElementCreation",{content:e,params:t}),Xf({content:e,transform:Z(Z({},or),r),title:n,extra:{attributes:i,styles:s,classes:["".concat(fe.cssPrefix,"-layers-text"),...a]}})))}}},provides(e){e.generateLayersText=function(t,r){const{title:n,transform:a,extra:i}=r;let s=null,u=null;if(I2){const o=parseInt(getComputedStyle(t).fontSize,10),l=t.getBoundingClientRect();s=l.width/o,u=l.height/o}return fe.autoA11y&&!n&&(i.attributes["aria-hidden"]="true"),Promise.resolve([t,Xf({content:t.innerHTML,width:s,height:u,transform:a,title:n,extra:i,watchable:!0})])}}};const Pk=new RegExp('"',"ug"),rh=[1105920,1112319],nh=Z(Z(Z(Z({},{FontAwesome:{normal:"fas",400:"fas"}}),iS),vS),pS),ko=Object.keys(nh).reduce((e,t)=>(e[t.toLowerCase()]=nh[t],e),{}),Fk=Object.keys(ko).reduce((e,t)=>{const r=ko[t];return e[t]=r[900]||[...Object.entries(r)][0][1],e},{});function Bk(e){const t=e.replace(Pk,""),r=$S(t,0),n=r>=rh[0]&&r<=rh[1],a=t.length===2?t[0]===t[1]:!1;return{value:yo(a?t[0]:t),isSecondary:n||a}}function zk(e,t){const r=e.replace(/^['"]|['"]$/g,"").toLowerCase(),n=parseInt(t),a=isNaN(n)?"normal":n;return(ko[r]||{})[a]||Fk[r]}function ah(e,t){const r="".concat(wS).concat(t.replace(":","-"));return new Promise((n,a)=>{if(e.getAttribute(r)!==null)return n();const s=ca(e.children).filter(p=>p.getAttribute(mo)===t)[0],u=Wr.getComputedStyle(e,t),o=u.getPropertyValue("font-family"),l=o.match(IS),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=zk(o,c);const{value:b,isSecondary:y}=Bk(p),T=l[0].startsWith("FontAwesome");let v=Hl(m,b),S=v;if(T){const A=KS(b);A.iconName&&A.prefix&&(v=A.iconName,m=A.prefix)}if(v&&!y&&(!s||s.getAttribute(Ll)!==m||s.getAttribute(Ml)!==S)){e.setAttribute(r,S),s&&e.removeChild(s);const A=kk(),{extra:M}=A;M.attributes[mo]=t,wo(v,m).then(B=>{const O=Ul(Z(Z({},A),{},{icons:{main:B,mask:Q2()},prefix:m,iconName:S,extra:M,watchable:!0})),D=Ye.createElementNS("http://www.w3.org/2000/svg","svg");t==="::before"?e.insertBefore(D,e.firstChild):e.appendChild(D),D.outerHTML=O.map(z=>mi(z)).join(`
|
|
1098
|
-
`),e.removeAttribute(r),n()}).catch(a)}else n()}else n()})}function Hk(e){return Promise.all([ah(e,"::before"),ah(e,"::after")])}function Uk(e){return e.parentNode!==document.head&&!~SS.indexOf(e.tagName.toUpperCase())&&!e.getAttribute(mo)&&(!e.parentNode||e.parentNode.tagName!=="svg")}function ih(e){if(Or)return new Promise((t,r)=>{const n=ca(e.querySelectorAll("*")).filter(Uk).map(Hk),a=jl.begin("searchPseudoElements");r4(),Promise.all(n).then(()=>{a(),So(),t()}).catch(()=>{a(),So(),r()})})}var jk={hooks(){return{mutationObserverCallbacks(e){return e.pseudoElementsCallback=ih,e}}},provides(e){e.pseudoElements2svg=function(t){const{node:r=Ye}=t;fe.searchPseudoElements&&ih(r)}}};let sh=!1;var qk={mixout(){return{dom:{unwatch(){r4(),sh=!0}}}},hooks(){return{bootstrap(){Zf(xo("mutationObserverCallbacks",{}))},noAuto(){vk()},watch(e){const{observeMutationsRoot:t}=e;sh?So():Zf(xo("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}};const uh=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 $k={mixout(){return{parse:{transform:e=>uh(e)}}},hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-transform");return r&&(e.transform=uh(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 pu={x:0,y:0,width:"100%",height:"100%"};function oh(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 Yk(e){return e.tag==="g"?e.children:[e]}var Vk={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-mask"),n=r?d0(r.split(" ").map(a=>a.trim())):Q2();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=BS({transform:u,containerWidth:c,iconWidth:o}),m={tag:"rect",attributes:Z(Z({},pu),{},{fill:"white"})},b=l.children?{children:l.children.map(oh)}:{},y={tag:"g",attributes:Z({},p.inner),children:[oh(Z({tag:l.tag,attributes:Z(Z({},l.attributes),p.path)},b))]},T={tag:"g",attributes:Z({},p.outer),children:[y]},v="mask-".concat(s||Ka()),S="clip-".concat(s||Ka()),A={tag:"mask",attributes:Z(Z({},pu),{},{id:v,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[m,T]},M={tag:"defs",children:[{tag:"clipPath",attributes:{id:S},children:Yk(f)},A]};return r.push(M,{tag:"rect",attributes:Z({fill:"currentColor","clip-path":"url(#".concat(S,")"),mask:"url(#".concat(v,")")},pu)}),{children:r,attributes:n}}}},Wk={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}}}},Gk={hooks(){return{parseNodeAttributes(e,t){const r=t.getAttribute("data-fa-symbol"),n=r===null?!1:r===""?!0:r;return e.symbol=n,e}}}},Xk=[US,Rk,Dk,Lk,Mk,jk,qk,$k,Vk,Wk,Gk];ik(Xk,{mixoutsTo:Ht});Ht.noAuto;Ht.config;Ht.library;Ht.dom;const Co=Ht.parse;Ht.findIconDefinition;Ht.toHtml;const Kk=Ht.icon;Ht.layer;Ht.text;Ht.counter;var a4={exports:{}},Qk="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED",Jk=Qk,Zk=Jk;function i4(){}function s4(){}s4.resetWarningCache=i4;var eC=function(){function e(n,a,i,s,u,o){if(o!==Zk){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:s4,resetWarningCache:i4};return r.PropTypes=r,r};a4.exports=eC();var tC=a4.exports;const ke=Wo(tC);function Io(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 rC(e){if(Array.isArray(e))return e}function nC(e){if(Array.isArray(e))return Io(e)}function zr(e,t,r){return(t=fC(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aC(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function iC(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 sC(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
1099
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function uC(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
1100
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function lh(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 ar(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?lh(Object(r),!0).forEach(function(n){zr(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):lh(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function oC(e,t){if(e==null)return{};var r,n,a=lC(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 lC(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 ch(e,t){return rC(e)||iC(e,t)||u4(e,t)||sC()}function _o(e){return nC(e)||aC(e)||u4(e)||uC()}function cC(e,t){if(typeof e!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t);if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function fC(e){var t=cC(e,"string");return typeof t=="symbol"?t:t+""}function Cs(e){"@babel/helpers - typeof";return Cs=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},Cs(e)}function u4(e,t){if(e){if(typeof e=="string")return Io(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)?Io(e,t):void 0}}var hC="7.0.0",No;try{var dC=require("@fortawesome/fontawesome-svg-core/package.json");No=dC.version}catch(e){No=typeof process!="undefined"&&process.env.FA_VERSION||"7.0.0"}function mC(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,T=e.size,v=e.rotation,S=e.pull,A=e.swapOpacity,M=e.rotateBy,B=e.widthAuto,O=pC(No,hC),D=zr(zr(zr(zr(zr(zr({"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(T),typeof T!="undefined"&&T!==null),"fa-rotate-".concat(v),typeof v!="undefined"&&v!==null&&v!==0),"fa-pull-".concat(S),typeof S!="undefined"&&S!==null),"fa-swap-opacity",A),"fa-rotate-by",O&&M),"fa-width-auto",O&&B);return Object.keys(D).map(function(z){return D[z]?z:null}).filter(function(z){return z})}function pC(e,t){for(var r=e.split("-"),n=ch(r,2),a=n[0],i=n[1],s=t.split("-"),u=ch(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),T=parseInt(b,10);if(y!==T)return y>T}for(var v=0;v<Math.max(c.length,f.length);v++){var S=c[v]||"0",A=f[v]||"0";if(S!==A&&S.length!==A.length)return S.length<A.length}return!(i&&!l)}function gC(e){return e=e-0,e===e}function o4(e){return gC(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,function(t,r){return r?r.toUpperCase():""}),e.substr(0,1).toLowerCase()+e.substr(1))}var bC=["style"];function yC(e){return e.charAt(0).toUpperCase()+e.slice(1)}function EC(e){return e.split(";").map(function(t){return t.trim()}).filter(function(t){return t}).reduce(function(t,r){var n=r.indexOf(":"),a=o4(r.slice(0,n)),i=r.slice(n+1).trim();return a.startsWith("webkit")?t[yC(a)]=i:t[a]=i,t},{})}function l4(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 l4(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=EC(c);break;default:l.indexOf("aria-")===0||l.indexOf("data-")===0?o.attrs[l.toLowerCase()]=c:o.attrs[o4(l)]=c}return o},{attrs:{}}),i=r.style,s=i===void 0?{}:i,u=oC(r,bC);return a.attrs.style=ar(ar({},a.attrs.style),s),e.apply(void 0,[t.tag,ar(ar({},a.attrs),u)].concat(_o(n)))}var c4=!1;try{c4=!0}catch(e){}function xC(){if(!c4&&console&&typeof console.error=="function"){var e;(e=console).error.apply(e,arguments)}}function fh(e){if(e&&Cs(e)==="object"&&e.prefix&&e.iconName&&e.icon)return e;if(Co.icon)return Co.icon(e);if(e===null)return null;if(e&&Cs(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 gu(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?zr({},e,t):{}}var hh={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},$l=K.forwardRef(function(e,t){var r=ar(ar({},hh),e),n=r.icon,a=r.mask,i=r.symbol,s=r.className,u=r.title,o=r.titleId,l=r.maskId,c=fh(n),f=gu("classes",[].concat(_o(mC(r)),_o((s||"").split(" ")))),p=gu("transform",typeof r.transform=="string"?Co.transform(r.transform):r.transform),m=gu("mask",fh(a)),b=Kk(c,ar(ar(ar(ar({},f),p),m),{},{symbol:i,title:u,titleId:o,maskId:l}));if(!b)return xC("Could not find icon",c),null;var y=b.abstract,T={ref:t};return Object.keys(r).forEach(function(v){hh.hasOwnProperty(v)||(T[v]=r[v])}),TC(y[0],T)});$l.displayName="FontAwesomeIcon";$l.propTypes={beat:ke.bool,border:ke.bool,beatFade:ke.bool,bounce:ke.bool,className:ke.string,fade:ke.bool,flash:ke.bool,mask:ke.oneOfType([ke.object,ke.array,ke.string]),maskId:ke.string,fixedWidth:ke.bool,inverse:ke.bool,flip:ke.oneOf([!0,!1,"horizontal","vertical","both"]),icon:ke.oneOfType([ke.object,ke.array,ke.string]),listItem:ke.bool,pull:ke.oneOf(["right","left"]),pulse:ke.bool,rotation:ke.oneOf([0,90,180,270]),rotateBy:ke.bool,shake:ke.bool,size:ke.oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:ke.bool,spinPulse:ke.bool,spinReverse:ke.bool,symbol:ke.oneOfType([ke.bool,ke.string]),title:ke.string,titleId:ke.string,transform:ke.oneOfType([ke.string,ke.object]),swapOpacity:ke.bool,widthAuto:ke.bool};var TC=l4.bind(null,K.createElement);/*!
|
|
1101
|
-
* Font Awesome Free 6.7.2 by @fontawesome - https://fontawesome.com
|
|
1102
|
-
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
|
|
1103
|
-
* Copyright 2024 Fonticons, Inc.
|
|
1104
|
-
*/const vC={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"]},wC={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"]},SC={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"]},kC=SC,CC={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"]},IC={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"]},_C={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"]},NC={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"]},OC={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"]},RC={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"]},LC=ne.div`
|
|
1105
|
-
display: flex;
|
|
1106
|
-
align-items: center;
|
|
1107
|
-
background-color: #f8f9fa;
|
|
1108
|
-
border-radius: 6px;
|
|
1109
|
-
border: 1px solid #e9ecef;
|
|
1110
|
-
transition: all 0.3s ease;
|
|
1111
|
-
padding: 8px 12px;
|
|
1112
|
-
|
|
1113
|
-
@media (max-width: 500px) {
|
|
1114
|
-
flex-direction: column;
|
|
1115
|
-
text-align: center;
|
|
1116
|
-
}
|
|
1117
|
-
`,MC=ne.div`
|
|
1118
|
-
display: flex;
|
|
1119
|
-
align-items: center;
|
|
1120
|
-
justify-content: center;
|
|
1121
|
-
width: 48px;
|
|
1122
|
-
height: 48px;
|
|
1123
|
-
min-width: 48px;
|
|
1124
|
-
color: ${e=>e.$color};
|
|
1125
|
-
background-color: #e8f4fc;
|
|
1126
|
-
border-radius: 8px;
|
|
1127
|
-
margin-right: 12px;
|
|
1128
|
-
|
|
1129
|
-
@media (max-width: 500px) {
|
|
1130
|
-
margin-right: 0;
|
|
1131
|
-
margin-bottom: 10px;
|
|
1132
|
-
}
|
|
1133
|
-
`,PC=ne.div`
|
|
1134
|
-
flex: 1;
|
|
1135
|
-
`,FC=ne.div`
|
|
1136
|
-
font-weight: bold;
|
|
1137
|
-
font-size: 12px;
|
|
1138
|
-
margin-bottom: 4px;
|
|
1139
|
-
color: #2d3436;
|
|
1140
|
-
max-width: 200px;
|
|
1141
|
-
white-space: nowrap;
|
|
1142
|
-
overflow: hidden;
|
|
1143
|
-
text-overflow: ellipsis;
|
|
1144
|
-
`,BC=ne.div`
|
|
1145
|
-
display: flex;
|
|
1146
|
-
font-size: 14px;
|
|
1147
|
-
color: #636e72;
|
|
1148
|
-
|
|
1149
|
-
@media (max-width: 500px) {
|
|
1150
|
-
justify-content: center;
|
|
1151
|
-
}
|
|
1152
|
-
`,zC=ne.span`
|
|
1153
|
-
margin-right: 12px;
|
|
1154
|
-
`,HC=ne.span`
|
|
1155
|
-
background-color: rgba(0, 0, 0, 0.08);
|
|
1156
|
-
padding: 2px 6px;
|
|
1157
|
-
border-radius: 4px;
|
|
1158
|
-
font-size: 12px;
|
|
1159
|
-
font-weight: 500;
|
|
1160
|
-
`,UC=({fileInfo:e})=>{const{name:t,size:r,type:n="doc"}=e,a=()=>{switch(n.toLowerCase()){case"pdf":return RC;case"image":case"img":case"jpg":case"jpeg":case"png":case"gif":return _C;case"excel":case"xlsx":case"xls":case"csv":return CC;case"powerpoint":case"ppt":case"pptx":return AC;case"word":case"doc":case"docx":return wC;case"archive":case"zip":case"rar":case"tar":case"7z":return kC;case"code":case"js":case"jsx":case"ts":case"tsx":case"html":case"css":case"json":case"py":case"java":case"cpp":return NC;case"video":case"mp4":case"avi":case"mov":case"webm":return OC;case"audio":case"mp3":case"wav":case"ogg":return IC;case"md":case"markdown":case"txt":case"text":return vC;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 k.jsxs(LC,{children:[k.jsx(MC,{$color:i(),children:k.jsx($l,{icon:a(),style:{fontSize:"24px"}})}),k.jsxs(PC,{children:[k.jsx(FC,{children:t}),k.jsxs(BC,{children:[k.jsx(zC,{children:s(r)}),k.jsx(HC,{children:n.toUpperCase()})]})]})]})},f4=K.createContext({activeKey:[]}),h4=f4.Provider,d4=()=>K.useContext(f4);function m4(e){return new Promise((t,r)=>{const n=document.createElement("script");n.src=e,n.onload=()=>t(),n.onerror=()=>r(),document.body.appendChild(n)})}const pi=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.echarts){e();return}m4("https://cdnjs.cloudflare.com/ajax/libs/echarts/5.4.2/echarts.min.js").then(()=>e()).catch(n=>{console.error("echarts加载失败:",n),t(n)})}),jC=({options:e})=>{const t=K.useRef(null),r=K.useRef(null),[n,a]=K.useState(!1),{activeKey:i}=d4();return K.useEffect(()=>{Le(exports,null,function*(){try{yield pi(),a(!0)}catch(u){console.error("echarts加载失败:",u),a(!1)}})},[]),K.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]),K.useEffect(()=>{if(r.current&&i&&n){const s=setTimeout(()=>{var u;(u=r.current)==null||u.resize()},50);return()=>clearTimeout(s)}},[i,n]),n?k.jsx("div",{ref:t,style:{width:"100%",height:"400px",marginTop:"20px",marginBottom:"20px"}}):k.jsx("div",{style:{width:"100%",height:"400px",marginTop:"20px",marginBottom:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666"},children:"图表加载中..."})},Yl=e=>{try{const{column:t,data:r}=e;if(!Array.isArray(t)||!Array.isArray(r))return"表格数据格式错误";if(t.length===0||r.length===0)return"暂无数据";let n="";return n+="| 序号 | "+t.join(" | ")+` |
|
|
1161
|
-
`,n+="| :---: | "+t.map(()=>"---").join(" | ")+` |
|
|
1162
|
-
`,r.forEach((a,i)=>{const s=t.map(u=>{const o=a[u];return o!==void 0?String(o):"-"});n+="| "+(i+1)+" | "+s.join(" | ")+` |
|
|
1163
|
-
`}),n}catch(t){return console.error("转换表格数据失败:",t),"表格数据转换失败"}},qC=e=>{try{const t=JSON.parse(e);return t&&typeof t=="object"&&Array.isArray(t.column)&&Array.isArray(t.data)}catch(t){return!1}},$C=(e,t)=>{if(!e)return null;if(t==="ant_table"&&qC(e))try{const r=JSON.parse(e);return Yl(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},YC=ne.div`
|
|
1164
|
-
padding: 10px;
|
|
1165
|
-
text-align: center;
|
|
1166
|
-
background: #f9f9f9;
|
|
1167
|
-
border-radius: 4px;
|
|
1168
|
-
color: #666;
|
|
1169
|
-
min-height: 100px;
|
|
1170
|
-
display: flex;
|
|
1171
|
-
align-items: center;
|
|
1172
|
-
justify-content: center;
|
|
1173
|
-
|
|
1174
|
-
span {
|
|
1175
|
-
font-size: 14px;
|
|
1176
|
-
line-height: 1.5;
|
|
1177
|
-
}
|
|
1178
|
-
|
|
1179
|
-
&:hover {
|
|
1180
|
-
background: #f5f5f5;
|
|
1181
|
-
}
|
|
1182
|
-
`,Yi=({text:e="图表加载中..."})=>k.jsx(YC,{children:k.jsx("span",{children:e})}),VC=ne.div`
|
|
1183
|
-
margin: 10px 0;
|
|
1184
|
-
padding: 10px;
|
|
1185
|
-
border-radius: 4px;
|
|
1186
|
-
text-align: center;
|
|
1187
|
-
background: #ffeeee;
|
|
1188
|
-
color: rgb(200, 0, 0);
|
|
1189
|
-
border: 1px solid #ffcccc;
|
|
1190
|
-
|
|
1191
|
-
span {
|
|
1192
|
-
font-size: 14px;
|
|
1193
|
-
line-height: 1.5;
|
|
1194
|
-
}
|
|
1195
|
-
|
|
1196
|
-
&:hover {
|
|
1197
|
-
background: #f5f5f5;
|
|
1198
|
-
}
|
|
1199
|
-
`,bu=({text:e=""})=>k.jsx(VC,{children:k.jsx("span",{children:e})}),p4=()=>new Promise((e,t)=>{if(typeof window!="undefined"&&window.mermaid){e();return}m4("https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.9.0/mermaid.min.js").then(()=>{window.mermaid.initialize({startOnLoad:!1,theme:"default",securityLevel:"loose",fontFamily:"inherit"}),e()}).catch(n=>{console.error("mermaid加载失败:",n),t(n)})});let WC=0;const GC=()=>`mermaid-${Date.now()}-${WC++}`,XC=e=>{if(!e||e.trim().length<10)return!1;const t=e.trim();return["graph","flowchart","sequenceDiagram","classDiagram","stateDiagram","erDiagram","journey","gantt","pie","quadrantChart","requirementDiagram","gitGraph","mindmap","timeline"].some(i=>t.startsWith(i)||t.match(new RegExp(`^${i}\\s`,"m")))?/(\w+\s*-->|\w+\s*---|\w+\s*-\.->|\w+\s*==>|\w+\s*\[.*?\]|\w+\s*\(.*?\)|participant\s+\w+|\w+\s*->>)/m.test(t):!1},KC=({code:e})=>{const t=K.useRef(null),[r,n]=K.useState(""),[a,i]=K.useState(""),[s,u]=K.useState(!0),[o,l]=K.useState(!1),[c,f]=K.useState(!0),p=K.useRef(""),m=K.useRef(null),b=K.useRef(null);return K.useEffect(()=>(Le(exports,null,function*(){try{yield p4(),l(!0)}catch(T){console.error("mermaid加载失败:",T),i("Mermaid 库加载失败"),u(!1)}}),()=>{m.current&&clearTimeout(m.current),b.current&&clearTimeout(b.current)}),[]),K.useEffect(()=>{if(!e||!o)return;const y=window.mermaid;if(!y){i("Mermaid 未正确加载"),u(!1);return}const T=e!==p.current;if(p.current=e,T&&(f(!0),b.current&&clearTimeout(b.current),b.current=setTimeout(()=>{f(!1)},500)),!XC(e)){u(!0),i("");return}return m.current&&clearTimeout(m.current),m.current=setTimeout(()=>Le(exports,null,function*(){u(!0),i("");try{const v=GC(),{svg:S}=yield y.render(v,e.trim());n(S),i("");const A=document.getElementById(v);A&&A.remove()}catch(v){document.querySelectorAll('[id^="dmermaid-"]').forEach(A=>A.remove()),c?console.log("Mermaid 流式输出中,暂不显示错误"):(console.error("Mermaid 渲染错误:",v),i((v==null?void 0:v.message)||"Mermaid 图表渲染失败"))}finally{u(!1)}}),300),()=>{m.current&&clearTimeout(m.current)}},[e,o,c]),s?k.jsx("div",{style:{width:"100%",minHeight:"100px",padding:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666",backgroundColor:"#fafafa",marginTop:"10px",marginBottom:"10px"},children:"图表加载中..."}):a&&!c?k.jsxs("div",{style:{width:"100%",padding:"20px",border:"1px solid #ffccc7",borderRadius:"6px",color:"#cf1322",backgroundColor:"#fff2f0",marginTop:"10px",marginBottom:"10px"},children:[k.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:"Mermaid 图表渲染失败"}),k.jsx("div",{style:{fontSize:"12px",color:"#666",wordBreak:"break-word",overflowWrap:"break-word",whiteSpace:"pre-wrap"},children:a})]}):a&&c?k.jsx("div",{style:{width:"100%",minHeight:"100px",padding:"20px",display:"flex",alignItems:"center",justifyContent:"center",border:"1px dashed #d9d9d9",borderRadius:"6px",color:"#666",backgroundColor:"#fafafa",marginTop:"10px",marginBottom:"10px"},children:"图表加载中..."}):k.jsx("div",{ref:t,style:{width:"100%",overflow:"auto",marginTop:"10px",marginBottom:"10px",padding:"10px",backgroundColor:"#fff",borderRadius:"6px",border:"1px solid #e8e8e8"},dangerouslySetInnerHTML:{__html:r}})},Kt=({content:e,waitingMessage:t=""})=>{const r=K.useMemo(()=>({remarkPlugins:[Zy,sT,GA],rehypePlugins:[PT,YA],components:{img:l=>{var c=l,{node:u}=c,o=wi(c,["node"]);return k.jsx(pe.Image,{style:{maxWidth:"200px",maxHeight:"150px",objectFit:"contain"},src:o.src,alt:o.alt,preview:{zIndex:1100}})},code:f=>{var p=f,{node:u,inline:o,className:l}=p,c=wi(p,["node","inline","className"]);var v,S,A,M,B;if(o||!l&&!((v=u==null?void 0:u.properties)!=null&&v.className))return k.jsx("code",{style:{backgroundColor:"rgba(175, 184, 193, 0.2)",padding:"0.2em 0.4em",borderRadius:"3px",fontSize:"85%",fontFamily:'Consolas, Monaco, "Andale Mono", monospace'},children:c.children});const b=(A=/language-(\w+)/.exec(((S=u==null?void 0:u.properties)==null?void 0:S.className)||l||""))==null?void 0:A[0],y=((B=(M=u==null?void 0:u.position)==null?void 0:M.start)==null?void 0:B.line)===2?"language-file":null,T=b||y;if(T==="language-file"){const O=String(c.children).replace(/\n$/,""),D=s(O);return k.jsx(UC,{fileInfo:D})}if(T==="language-ant_table")try{const O=String(c==null?void 0:c.children).replace(/\n$/,""),D=JSON.parse(O),z=Yl(D);return k.jsx(Kt,{content:z})}catch(O){return n(String(c==null?void 0:c.children))?(console.error("ant_table数据解析错误:",O),k.jsx(bu,{text:"表格数据加载失败,请检查数据格式"})):k.jsx(Yi,{text:"表格加载中..."})}if(T==="language-echarts")try{const O=Array.isArray(c.children)?c.children.join(""):c.children.toString();if(!n(O))return k.jsx(Yi,{});const D=JSON.parse(O);let z;try{return typeof(D==null?void 0:D.option)=="string"?z=JSON.parse(D==null?void 0:D.option):z=D==null?void 0:D.option,!z||Object.keys(z).length===0?k.jsx(Yi,{}):k.jsx("div",{style:{minWidth:"300px"},children:k.jsx(jC,{options:z})})}catch(U){return console.error("图表配置解析错误:",U),k.jsx(bu,{text:"图表数据加载失败,请检查数据格式"})}}catch(O){return n(String(c.children))?(console.error("图表数据解析错误:",O),k.jsx(bu,{text:"图表数据加载失败,请检查数据格式"})):k.jsx(Yi,{})}if(T==="language-mermaid"){const O=String(c.children).replace(/\n$/,"");return k.jsx(KC,{code:O})}return k.jsx(UT,{children:c.children})},p:u=>{var l,c,f;const{node:o}=u||{};if(((l=o==null?void 0:o.children[0])==null?void 0:l.tagName)==="img"){const p=o.children[0],m=Array.isArray(u==null?void 0:u.children)||typeof((c=u==null?void 0:u.children)==null?void 0:c.slice)=="function";return k.jsxs(k.Fragment,{children:[k.jsx(pe.Image,{style:{maxWidth:"200px",maxHeight:"150px",objectFit:"contain"},src:p.properties.src,className:"max-w-full h-auto align-middle border-none rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 ease-in-out mt-2 mb-2",alt:p.properties.alt,preview:{zIndex:1100}}),m&&k.jsx("p",{children:(f=u==null?void 0:u.children)==null?void 0:f.slice(1)})]})}return k.jsx("p",{children:u==null?void 0:u.children})},a:({children:u,href:o})=>k.jsx("a",{href:o,target:"_blank",children:u})}}),[]),n=u=>{try{const o=u==null?void 0:u.trim()[0],l=u==null?void 0:u.trim()[(u==null?void 0:u.trim().length)-1];return o==="{"&&l==="}"||o==="["&&l==="]"}catch(o){return!1}},a=u=>u==null?void 0:u.replace(/<think>([\s\S]*?)<\/think>/g,`<details open><summary>深度思考</summary><pre class="think">$1</pre></details>
|
|
1200
|
-
|
|
1201
|
-
`),i=u=>{if(!u)return`<span><span class="prompt-message">${t}</span><span class="prompt-loading-cursor">...</span></span>`;const o=`${u==null?void 0:u.replace(new RegExp("\\\\\\[.*?\\\\\\]","gims"),l=>l.split(/[\r\n]/g)[0].trim()==="\\["?"$$"+l.slice(2,-2)+"$$":"$"+l.slice(2,-2)+"$").replace(new RegExp("\\\\\\(.*?\\\\\\)","gims"),l=>"$"+l.slice(2,-2)+"$")}`;return a(o)},s=u=>{const o=u.split(`
|
|
1202
|
-
`),l={name:"",size:"",type:"unknown"};return o.forEach(c=>{const[f,p]=c.split(":").map(m=>m.trim());f&&p&&(f.toLowerCase()==="名称"&&(l.name=p),f.toLowerCase()==="大小"&&(l.size=p),f.toLowerCase()==="类型"&&(l.type=p))}),l};return k.jsx(XA,{children:k.jsx(K7,tt(J({},r),{children:`${i(e)}`}))})},QC=ne.div`
|
|
1203
|
-
/* 样式隔离 - 确保内部样式不受外部影响 */
|
|
1204
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1205
|
-
font-size: 14px;
|
|
1206
|
-
line-height: 1.6;
|
|
1207
|
-
color: #333;
|
|
1208
|
-
|
|
1209
|
-
/* 确保内部元素正常显示 */
|
|
1210
|
-
* {
|
|
1211
|
-
box-sizing: border-box;
|
|
1212
|
-
}
|
|
1213
|
-
|
|
1214
|
-
/* Markdown内容样式 */
|
|
1215
|
-
p {
|
|
1216
|
-
margin: 0 0 8px 0;
|
|
1217
|
-
&:last-child {
|
|
1218
|
-
margin-bottom: 0;
|
|
1219
|
-
}
|
|
1220
|
-
}
|
|
1221
|
-
|
|
1222
|
-
ul, ol {
|
|
1223
|
-
margin: 8px 0;
|
|
1224
|
-
padding-left: 20px;
|
|
1225
|
-
}
|
|
1226
|
-
|
|
1227
|
-
li {
|
|
1228
|
-
margin: 4px 0;
|
|
1229
|
-
}
|
|
1230
|
-
|
|
1231
|
-
code {
|
|
1232
|
-
background: rgba(0, 0, 0, 0.05);
|
|
1233
|
-
padding: 2px 6px;
|
|
1234
|
-
border-radius: 4px;
|
|
1235
|
-
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
1236
|
-
font-size: 13px;
|
|
1237
|
-
}
|
|
1238
|
-
|
|
1239
|
-
pre {
|
|
1240
|
-
background: #f6f8fa;
|
|
1241
|
-
padding: 12px;
|
|
1242
|
-
border-radius: 6px;
|
|
1243
|
-
overflow-x: auto;
|
|
1244
|
-
|
|
1245
|
-
code {
|
|
1246
|
-
background: transparent;
|
|
1247
|
-
padding: 0;
|
|
1248
|
-
}
|
|
1249
|
-
}
|
|
1250
|
-
|
|
1251
|
-
blockquote {
|
|
1252
|
-
margin: 8px 0;
|
|
1253
|
-
padding: 8px 16px;
|
|
1254
|
-
border-left: 4px solid #ddd;
|
|
1255
|
-
background: #f9f9f9;
|
|
1256
|
-
color: #666;
|
|
1257
|
-
}
|
|
1258
|
-
|
|
1259
|
-
table {
|
|
1260
|
-
border-collapse: collapse;
|
|
1261
|
-
width: 100%;
|
|
1262
|
-
margin: 8px 0;
|
|
1263
|
-
|
|
1264
|
-
th, td {
|
|
1265
|
-
border: 1px solid #ddd;
|
|
1266
|
-
padding: 8px 12px;
|
|
1267
|
-
text-align: left;
|
|
1268
|
-
}
|
|
1269
|
-
|
|
1270
|
-
th {
|
|
1271
|
-
background: #f6f8fa;
|
|
1272
|
-
font-weight: 600;
|
|
1273
|
-
}
|
|
1274
|
-
|
|
1275
|
-
tr:nth-child(even) {
|
|
1276
|
-
background: #f9f9f9;
|
|
1277
|
-
}
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
|
-
img {
|
|
1281
|
-
max-width: 100%;
|
|
1282
|
-
height: auto;
|
|
1283
|
-
border-radius: 4px;
|
|
1284
|
-
}
|
|
1285
|
-
|
|
1286
|
-
a {
|
|
1287
|
-
color: #1890ff;
|
|
1288
|
-
text-decoration: none;
|
|
1289
|
-
|
|
1290
|
-
&:hover {
|
|
1291
|
-
text-decoration: underline;
|
|
1292
|
-
}
|
|
1293
|
-
}
|
|
1294
|
-
|
|
1295
|
-
h1, h2, h3, h4, h5, h6 {
|
|
1296
|
-
margin: 16px 0 8px 0;
|
|
1297
|
-
font-weight: 600;
|
|
1298
|
-
line-height: 1.4;
|
|
1299
|
-
|
|
1300
|
-
&:first-child {
|
|
1301
|
-
margin-top: 0;
|
|
1302
|
-
}
|
|
1303
|
-
}
|
|
1304
|
-
|
|
1305
|
-
h1 { font-size: 24px; }
|
|
1306
|
-
h2 { font-size: 20px; }
|
|
1307
|
-
h3 { font-size: 18px; }
|
|
1308
|
-
h4 { font-size: 16px; }
|
|
1309
|
-
h5 { font-size: 14px; }
|
|
1310
|
-
h6 { font-size: 14px; color: #666; }
|
|
1311
|
-
|
|
1312
|
-
hr {
|
|
1313
|
-
border: none;
|
|
1314
|
-
border-top: 1px solid #ddd;
|
|
1315
|
-
margin: 16px 0;
|
|
1316
|
-
}
|
|
1317
|
-
|
|
1318
|
-
/* 深度思考样式 */
|
|
1319
|
-
details {
|
|
1320
|
-
margin: 8px 0;
|
|
1321
|
-
padding: 8px 12px;
|
|
1322
|
-
background: #f6f8fa;
|
|
1323
|
-
border-radius: 6px;
|
|
1324
|
-
|
|
1325
|
-
summary {
|
|
1326
|
-
cursor: pointer;
|
|
1327
|
-
font-weight: 500;
|
|
1328
|
-
color: #666;
|
|
1329
|
-
}
|
|
1330
|
-
|
|
1331
|
-
pre.think {
|
|
1332
|
-
margin: 8px 0 0 0;
|
|
1333
|
-
padding: 8px;
|
|
1334
|
-
background: #fff;
|
|
1335
|
-
border-radius: 4px;
|
|
1336
|
-
white-space: pre-wrap;
|
|
1337
|
-
font-size: 13px;
|
|
1338
|
-
color: #666;
|
|
1339
|
-
}
|
|
1340
|
-
}
|
|
1341
|
-
`,JC=({content:e,status:t="Success",className:r,style:n})=>(K.useEffect(()=>{e!=null&&e.includes("```echarts")&&pi().catch(console.error)},[e]),k.jsx(QC,{className:`appflow-sdk-markdown ${r||""}`,style:n,children:k.jsx(Kt,{content:e,status:t})})),ZC=ne.div`
|
|
1342
|
-
white-space: normal;
|
|
1343
|
-
li {
|
|
1344
|
-
p {
|
|
1345
|
-
display: block !important;
|
|
1346
|
-
}
|
|
1347
|
-
}
|
|
1348
|
-
`,g4=({content:e,status:t="Success",role:r="bot",className:n,style:a,children:i,waitingMessage:s})=>k.jsxs("div",{className:n,style:a,children:[k.jsx(ZC,{$role:r,children:k.jsx(Kt,{content:e,status:t,waitingMessage:s})}),i]}),eI=ne.div`
|
|
1349
|
-
white-space: normal;
|
|
1350
|
-
li {
|
|
1351
|
-
p {
|
|
1352
|
-
display: block !important;
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
`,tI=ne.div`
|
|
1356
|
-
display: flex;
|
|
1357
|
-
align-items: center;
|
|
1358
|
-
gap: 8px;
|
|
1359
|
-
`,rI=ne.span`
|
|
1360
|
-
color: ${e=>e.$success?"#52c41a":"#1890ff"};
|
|
1361
|
-
font-weight: bold;
|
|
1362
|
-
`,nI=ne.span`
|
|
1363
|
-
color: #666;
|
|
1364
|
-
font-weight: 500;
|
|
1365
|
-
`,aI=ne.span`
|
|
1366
|
-
color: #333;
|
|
1367
|
-
`,dh=ne.div`
|
|
1368
|
-
padding: 8px 0;
|
|
1369
|
-
`,b4=({content:e,messageType:t="markdown",status:r="Success",role:n="bot",className:a,style:i,children:s,waitingMessage:u})=>{const[o,l]=K.useState([]);K.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||""?k.jsx(dh,{children:k.jsx(Kt,{content:$C(p,m),waitingMessage:u})}):k.jsx(dh,{children:"暂无内容"}),f=(p,m)=>{if(p==="markdown"&&m)return k.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,T)=>{var S;const v=y==null?void 0:y.messageType;if(v==="markdown"&&(y!=null&&y.content))return k.jsx(Kt,{content:y==null?void 0:y.content,status:r,waitingMessage:u},`markdown-${T}`);if(v==="ant_table"&&(y!=null&&y.content))try{const A=JSON.parse(y==null?void 0:y.content),M=Yl(A);return k.jsx(Kt,{content:M,status:r,waitingMessage:u},`table-${T}`)}catch(A){return null}if(v==="code"&&(y!=null&&y.content)){const A="```sql\n"+(y==null?void 0:y.content)+"\n```";return k.jsx(Kt,{content:A,status:r,waitingMessage:u},`code-${T}`)}if(v==="echart"){const A="```echarts\n"+(y==null?void 0:y.content)+"\n```";return k.jsx(Kt,{content:A,status:r,waitingMessage:u},`echart-${T}`)}if(v==="step")try{const A=JSON.parse(y==null?void 0:y.content),M=[{key:A==null?void 0:A.id,label:k.jsxs(tI,{children:[k.jsx(rI,{$success:r==="Success",children:r==="Success"?"✓":"⟳"}),k.jsxs(nI,{children:["步骤",T+1,":"]}),k.jsx(aI,{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 k.jsx(pe.Collapse,{activeKey:o,size:"small",ghost:!1,items:M,expandIconPosition:"end",style:{backgroundColor:"transparent",border:"none"},onChange:B=>{l(B)}},`step-${T}`)}catch(A){return null}if(v==="error"){const A=`<span style="color:red">${(S=y==null?void 0:y.content)!=null?S:""}</span>`;return k.jsx(Kt,{content:A,status:r,waitingMessage:u},`error-${T}`)}return null})}catch(b){return console.error("Error rendering message:",b),null}return null};return k.jsx(h4,{value:{activeKey:o},children:k.jsxs("div",{className:a,style:i,children:[k.jsx(eI,{$role:n,children:f(t,e)}),s]})})};var iI=typeof global=="object"&&global&&global.Object===Object&&global,sI=typeof self=="object"&&self&&self.Object===Object&&self,p0=iI||sI||Function("return this")(),Qn=p0.Symbol,y4=Object.prototype,uI=y4.hasOwnProperty,oI=y4.toString,wa=Qn?Qn.toStringTag:void 0;function lI(e){var t=uI.call(e,wa),r=e[wa];try{e[wa]=void 0;var n=!0}catch(i){}var a=oI.call(e);return n&&(t?e[wa]=r:delete e[wa]),a}var cI=Object.prototype,fI=cI.toString;function hI(e){return fI.call(e)}var dI="[object Null]",mI="[object Undefined]",mh=Qn?Qn.toStringTag:void 0;function E4(e){return e==null?e===void 0?mI:dI:mh&&mh in Object(e)?lI(e):hI(e)}function x4(e){return e!=null&&typeof e=="object"}var pI=Array.isArray;function T4(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var gI="[object AsyncFunction]",bI="[object Function]",yI="[object GeneratorFunction]",EI="[object Proxy]";function xI(e){if(!T4(e))return!1;var t=E4(e);return t==bI||t==yI||t==gI||t==EI}var yu=p0["__core-js_shared__"],ph=function(){var e=/[^.]+$/.exec(yu&&yu.keys&&yu.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function TI(e){return!!ph&&ph in e}var vI=Function.prototype,wI=vI.toString;function AI(e){if(e!=null){try{return wI.call(e)}catch(t){}try{return e+""}catch(t){}}return""}var SI=/[\\^$.*+?()[\]{}|]/g,kI=/^\[object .+?Constructor\]$/,CI=Function.prototype,II=Object.prototype,_I=CI.toString,NI=II.hasOwnProperty,OI=RegExp("^"+_I.call(NI).replace(SI,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function RI(e){if(!T4(e)||TI(e))return!1;var t=xI(e)?OI:kI;return t.test(AI(e))}function DI(e,t){return e==null?void 0:e[t]}function Vl(e,t){var r=DI(e,t);return RI(r)?r:void 0}function LI(){}function MI(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 PI(e){return e!==e}function FI(e,t,r){for(var n=r-1,a=e.length;++n<a;)if(e[n]===t)return n;return-1}function BI(e,t,r){return t===t?FI(e,t,r):MI(e,PI,r)}function zI(e,t){var r=e==null?0:e.length;return!!r&&BI(e,t,0)>-1}function HI(e,t){return e===t||e!==e&&t!==t}var UI="[object Arguments]";function gh(e){return x4(e)&&E4(e)==UI}var v4=Object.prototype,jI=v4.hasOwnProperty,qI=v4.propertyIsEnumerable,$I=gh(function(){return arguments}())?gh:function(e){return x4(e)&&jI.call(e,"callee")&&!qI.call(e,"callee")},Ja=Vl(Object,"create");function YI(){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 WI="__lodash_hash_undefined__",GI=Object.prototype,XI=GI.hasOwnProperty;function KI(e){var t=this.__data__;if(Ja){var r=t[e];return r===WI?void 0:r}return XI.call(t,e)?t[e]:void 0}var QI=Object.prototype,JI=QI.hasOwnProperty;function ZI(e){var t=this.__data__;return Ja?t[e]!==void 0:JI.call(t,e)}var e_="__lodash_hash_undefined__";function t_(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ja&&t===void 0?e_: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=YI;Tn.prototype.delete=VI;Tn.prototype.get=KI;Tn.prototype.has=ZI;Tn.prototype.set=t_;function r_(){this.__data__=[],this.size=0}function g0(e,t){for(var r=e.length;r--;)if(HI(e[r][0],t))return r;return-1}var n_=Array.prototype,a_=n_.splice;function i_(e){var t=this.__data__,r=g0(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():a_.call(t,r,1),--this.size,!0}function s_(e){var t=this.__data__,r=g0(t,e);return r<0?void 0:t[r][1]}function u_(e){return g0(this.__data__,e)>-1}function o_(e,t){var r=this.__data__,n=g0(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function fa(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])}}fa.prototype.clear=r_;fa.prototype.delete=i_;fa.prototype.get=s_;fa.prototype.has=u_;fa.prototype.set=o_;var l_=Vl(p0,"Map");function c_(){this.size=0,this.__data__={hash:new Tn,map:new(l_||fa),string:new Tn}}function f_(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function b0(e,t){var r=e.__data__;return f_(t)?r[typeof t=="string"?"string":"hash"]:r.map}function h_(e){var t=b0(this,e).delete(e);return this.size-=t?1:0,t}function d_(e){return b0(this,e).get(e)}function m_(e){return b0(this,e).has(e)}function p_(e,t){var r=b0(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,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=c_;ha.prototype.delete=h_;ha.prototype.get=d_;ha.prototype.has=m_;ha.prototype.set=p_;function g_(e,t){for(var r=-1,n=t.length,a=e.length;++r<n;)e[a+r]=t[r];return e}var bh=Qn?Qn.isConcatSpreadable:void 0;function b_(e){return pI(e)||$I(e)||!!(bh&&e&&e[bh])}function y_(e,t,r,n,a){var i=-1,s=e.length;for(r||(r=b_),a||(a=[]);++i<s;){var u=e[i];r(u)?g_(a,u):a[a.length]=u}return a}function E_(e){var t=e==null?0:e.length;return t?y_(e):[]}var Eu=Vl(p0,"Set"),x_="__lodash_hash_undefined__";function T_(e){return this.__data__.set(e,x_),this}function v_(e){return this.__data__.has(e)}function Is(e){var t=-1,r=e==null?0:e.length;for(this.__data__=new ha;++t<r;)this.add(e[t])}Is.prototype.add=Is.prototype.push=T_;Is.prototype.has=v_;function w_(e,t){return e.has(t)}function w4(e){var t=-1,r=Array(e.size);return e.forEach(function(n){r[++t]=n}),r}var A_=1/0,S_=Eu&&1/w4(new Eu([,-0]))[1]==A_?function(e){return new Eu(e)}:LI,k_=200;function C_(e,t,r){var n=-1,a=zI,i=e.length,s=!0,u=[],o=u;if(i>=k_){var l=S_(e);if(l)return w4(l);s=!1,a=w_,o=new Is}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 I_(e){return e&&e.length?C_(e):[]}const __=ne.div`
|
|
1370
|
-
margin-top: 16px;
|
|
1371
|
-
border-top: 1px solid #e8e8e8;
|
|
1372
|
-
padding-top: 16px;
|
|
1373
|
-
`,yh=ne.div`
|
|
1374
|
-
display: flex;
|
|
1375
|
-
gap: 8px;
|
|
1376
|
-
margin-bottom: 8px;
|
|
1377
|
-
align-items: baseline;
|
|
1378
|
-
`,N_=ne.div`
|
|
1379
|
-
margin-bottom: 8px;
|
|
1380
|
-
cursor: pointer;
|
|
1381
|
-
width: 100%;
|
|
1382
|
-
`,O_=ne.div`
|
|
1383
|
-
display: flex;
|
|
1384
|
-
gap: 8px;
|
|
1385
|
-
align-items: center;
|
|
1386
|
-
justify-content: flex-start;
|
|
1387
|
-
`,R_=ne.div`
|
|
1388
|
-
align-items: center;
|
|
1389
|
-
border: 0.5px solid #2c2c73;
|
|
1390
|
-
border-radius: 2px;
|
|
1391
|
-
display: flex;
|
|
1392
|
-
font-size: 10px;
|
|
1393
|
-
height: 12px;
|
|
1394
|
-
justify-content: center;
|
|
1395
|
-
line-height: 1;
|
|
1396
|
-
min-width: 14px;
|
|
1397
|
-
white-space: nowrap;
|
|
1398
|
-
`,D_=ne.div`
|
|
1399
|
-
border: 0.5px solid #9296a9;
|
|
1400
|
-
border-radius: 4px;
|
|
1401
|
-
color: #707279;
|
|
1402
|
-
font-size: 12px;
|
|
1403
|
-
height: 28px;
|
|
1404
|
-
line-height: 28px;
|
|
1405
|
-
margin: 0;
|
|
1406
|
-
padding: 0 8px;
|
|
1407
|
-
width: auto;
|
|
1408
|
-
overflow: hidden;
|
|
1409
|
-
text-overflow: ellipsis;
|
|
1410
|
-
white-space: nowrap;
|
|
1411
|
-
`,L_=ne.div`
|
|
1412
|
-
display: flex;
|
|
1413
|
-
flex-wrap: wrap;
|
|
1414
|
-
gap: 8px;
|
|
1415
|
-
`,M_=ne.div`
|
|
1416
|
-
border: 1px solid #e8e8e8;
|
|
1417
|
-
border-radius: 4px;
|
|
1418
|
-
padding: 4px;
|
|
1419
|
-
`,P_=ne.div`
|
|
1420
|
-
display: flex;
|
|
1421
|
-
gap: 8px;
|
|
1422
|
-
margin-bottom: 8px;
|
|
1423
|
-
align-items: center;
|
|
1424
|
-
background: rgb(230, 232, 236);
|
|
1425
|
-
border-radius: 10px;
|
|
1426
|
-
width: fit-content;
|
|
1427
|
-
padding: 7px 14px;
|
|
1428
|
-
font-size: 12px;
|
|
1429
|
-
cursor: pointer;
|
|
1430
|
-
|
|
1431
|
-
&:hover {
|
|
1432
|
-
background: rgb(220, 222, 226);
|
|
1433
|
-
}
|
|
1434
|
-
`,Eh=ne.div`
|
|
1435
|
-
color: #707279;
|
|
1436
|
-
font-size: 12px;
|
|
1437
|
-
min-width: 60px;
|
|
1438
|
-
`,F_=({item:e,isPageConfig:t,onClick:r})=>{const n=t?e.Index:e.index,a=t?e.Title:e.title;return k.jsx(N_,{onClick:()=>r(e),children:k.jsxs(O_,{children:[n&&k.jsx(R_,{children:n}),a&&k.jsx(D_,{children:a})]})})},A4=({items:e,status:t="Success",isPageConfig:r=!1,onItemClick:n,onWebSearchClick:a,className:i,style:s})=>{const u=K.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),I_(E_(p))},[e,r]),o=K.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=K.useMemo(()=>r?(e==null?void 0:e.filter(p=>p.Type==="web_search"))||[]:(e==null?void 0:e.filter(p=>p.type==="web_search"))||[],[e,r]),c=p=>{n==null||n(p)},f=()=>{a==null||a(l)};return t!=="Success"?null:k.jsxs(__,{className:i,style:s,children:[l.length>0&&k.jsxs(P_,{onClick:f,children:[k.jsx(ir.SearchOutlined,{}),k.jsxs("div",{children:["已搜索到",l.length,"个网页"]})]}),o.length>0&&k.jsxs(yh,{children:[k.jsx(Eh,{children:"回答来源:"}),k.jsx("div",{style:{width:"calc(100% - 70px)"},children:o.map((p,m)=>k.jsx(F_,{item:p,isPageConfig:r,onClick:c},m))})]}),u.length>0&&k.jsxs(yh,{children:[k.jsx(Eh,{children:"图片来源:"}),k.jsx(L_,{children:u.map((p,m)=>k.jsx(M_,{children:k.jsx(pe.Image,{src:p,width:50,height:50,preview:{zIndex:1100}})},m))})]})]})},{Title:B_}=pe.Typography,z_=ne.div`
|
|
1439
|
-
height: 100%;
|
|
1440
|
-
display: flex;
|
|
1441
|
-
flex-direction: column;
|
|
1442
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1443
|
-
${e=>e.$isMobile&&`
|
|
1444
|
-
padding: 16px;
|
|
1445
|
-
`}
|
|
1446
|
-
`,H_=ne.div`
|
|
1447
|
-
flex: 1;
|
|
1448
|
-
overflow-y: auto;
|
|
1449
|
-
`,U_=ne.div`
|
|
1450
|
-
display: flex;
|
|
1451
|
-
justify-content: space-between;
|
|
1452
|
-
align-items: baseline;
|
|
1453
|
-
padding-bottom: 16px;
|
|
1454
|
-
border-bottom: 1px solid #f0f0f0;
|
|
1455
|
-
margin-bottom: 16px;
|
|
1456
|
-
`,j_=ne.div`
|
|
1457
|
-
cursor: pointer;
|
|
1458
|
-
padding: 4px 8px;
|
|
1459
|
-
border-radius: 4px;
|
|
1460
|
-
color: #666;
|
|
1461
|
-
font-size: 14px;
|
|
1462
|
-
|
|
1463
|
-
&:hover {
|
|
1464
|
-
background: #f5f5f5;
|
|
1465
|
-
color: #333;
|
|
1466
|
-
}
|
|
1467
|
-
`,q_=ne.div`
|
|
1468
|
-
display: flex;
|
|
1469
|
-
align-items: flex-start;
|
|
1470
|
-
gap: 8px;
|
|
1471
|
-
`,$_=ne.span`
|
|
1472
|
-
font-weight: 600;
|
|
1473
|
-
color: #333;
|
|
1474
|
-
min-width: 20px;
|
|
1475
|
-
`,Y_=ne.div`
|
|
1476
|
-
color: #1890ff;
|
|
1477
|
-
cursor: pointer;
|
|
1478
|
-
flex: 1;
|
|
1479
|
-
|
|
1480
|
-
&:hover {
|
|
1481
|
-
text-decoration: underline;
|
|
1482
|
-
}
|
|
1483
|
-
`,V_=ne.div`
|
|
1484
|
-
color: #666;
|
|
1485
|
-
font-size: 13px;
|
|
1486
|
-
cursor: pointer;
|
|
1487
|
-
margin-top: 4px;
|
|
1488
|
-
|
|
1489
|
-
&:hover {
|
|
1490
|
-
color: #333;
|
|
1491
|
-
}
|
|
1492
|
-
`,S4=({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 k.jsx(pe.Drawer,{className:s,style:u,placement:"right",open:t,mask:!1,width:l,destroyOnClose:!0,closable:!1,bodyStyle:{boxShadow:"none",outline:"none",padding:"16px"},getContainer:i,onClose:f,children:k.jsx(z_,{$isMobile:o,children:k.jsxs(H_,{children:[k.jsxs(U_,{children:[k.jsx(B_,{level:5,style:{margin:0},children:"搜索结果"}),k.jsx(j_,{onClick:f,children:k.jsx(ir.CloseOutlined,{})})]}),k.jsx(pe.List,{itemLayout:"horizontal",dataSource:e,renderItem:(p,m)=>{const b=n?p.Title:p.title,y=n?p.Text:p.text;return k.jsx(pe.List.Item,{children:k.jsx(pe.List.Item.Meta,{title:k.jsxs(q_,{children:[k.jsxs($_,{children:[m+1,"."]}),k.jsx(Y_,{onClick:()=>c(p),dangerouslySetInnerHTML:{__html:b||""}})]}),description:k.jsx(V_,{onClick:()=>c(p),dangerouslySetInnerHTML:{__html:y||""}})})})}})]})})})},Wl=({items:e,status:t="Success",onItemClick:r,onWebSearchClick:n,className:a,style:i})=>k.jsx(A4,{className:`appflow-sdk-doc-references ${a||""}`,style:i,items:e,status:t,isPageConfig:!1,onItemClick:r,onWebSearchClick:n}),Gl=({items:e,open:t,onClose:r,width:n=400,getContainer:a,className:i,style:s})=>k.jsx(S4,{className:`appflow-sdk-web-search-panel ${i||""}`,style:s,items:e,open:t,onClose:r,isPageConfig:!1,width:n,getContainer:a}),Jn=(e,t,r="")=>{const n=[];if(!(e!=null&&e.Properties))return{valid:!0,errors:[]};const a=(e==null?void 0:e.Required)||[];return Object.entries(e==null?void 0:e.Properties).forEach(([i,s])=>{const u=r?`${r}.${i}`:i,o=t==null?void 0:t[i],l=a.includes(i);if(l&&(o==null||o===""?n.push({field:u,message:`${(s==null?void 0:s.Title)||i} 是必填项`}):Array.isArray(o)&&o.length===0&&n.push({field:u,message:`${(s==null?void 0:s.Title)||i} 是必填项`})),(s==null?void 0:s.Type)==="object"&&(s!=null&&s.Properties)&&o){const c=Jn(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,T;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 v=Jn(s.Items,c,p);n.push(...v.errors)}else l&&(((y=s==null?void 0:s.Items)==null?void 0:y.Type)==="string"?(c==null||c==="")&&n.push({field:p,message:"此项 是必填项"}):((T=s==null?void 0:s.Items)==null?void 0:T.Type)==="number"&&c==null&&n.push({field:p,message:"此项 是必填项"}))}),(s==null?void 0:s.Type)==="time"&&l&&(o||n.push({field:u,message:`${(s==null?void 0:s.Title)||i} 是必填项`})),(s==null?void 0:s.Type)==="file"&&l&&(!o||Array.isArray(o)&&o.length===0)&&n.push({field:u,message:`${(s==null?void 0:s.Title)||i} 是必填项`})}),{valid:n.length===0,errors:n}},Xl=e=>Object.entries(e).sort(([,t],[,r])=>{var u,o;const n=(u=t.Order)!=null?u:t.order,a=(o=r.Order)!=null?o:r.order,i=n!==void 0?Number(n):Number.MAX_SAFE_INTEGER,s=a!==void 0?Number(a):Number.MAX_SAFE_INTEGER;return i===Number.MAX_SAFE_INTEGER&&s===Number.MAX_SAFE_INTEGER?0:i-s}),xh=["jpg","png","svg"],xu=K.lazy(()=>Promise.resolve().then(()=>C4));let Th=0;const W_=ne.div`
|
|
1493
|
-
border: 1px solid #dbdbdb;
|
|
1494
|
-
border-radius: 10px;
|
|
1495
|
-
padding: 24px 16px;
|
|
1496
|
-
position: relative;
|
|
1497
|
-
margin-top: 20px;
|
|
1498
|
-
margin-bottom: 20px;
|
|
1499
|
-
background-color: #fff;
|
|
1500
|
-
`,G_=ne.div`
|
|
1501
|
-
position: absolute;
|
|
1502
|
-
top: -12px;
|
|
1503
|
-
left: 15px;
|
|
1504
|
-
background: #fff;
|
|
1505
|
-
padding: 2px 10px;
|
|
1506
|
-
white-space: nowrap;
|
|
1507
|
-
text-overflow: ellipsis;
|
|
1508
|
-
overflow: hidden;
|
|
1509
|
-
word-break: break-all;
|
|
1510
|
-
max-width: calc(100% - 30px);
|
|
1511
|
-
font-size: 14px;
|
|
1512
|
-
font-weight: 500;
|
|
1513
|
-
color: #1f2329;
|
|
1514
|
-
`,X_=ne.span`
|
|
1515
|
-
display: inline-block;
|
|
1516
|
-
margin-right: 4px;
|
|
1517
|
-
color: #E00000;
|
|
1518
|
-
font-size: 14px;
|
|
1519
|
-
font-family: SimSun, sans-serif;
|
|
1520
|
-
line-height: 1;
|
|
1521
|
-
`,K_=ne.div`
|
|
1522
|
-
font-size: 12px;
|
|
1523
|
-
color: #8f959e;
|
|
1524
|
-
margin-bottom: 12px;
|
|
1525
|
-
word-break: break-word;
|
|
1526
|
-
`,Q_=ne.div`
|
|
1527
|
-
font-size: 12px;
|
|
1528
|
-
color: #8f959e;
|
|
1529
|
-
margin-top: 4px;
|
|
1530
|
-
word-break: break-word;
|
|
1531
|
-
`,J_=ne.div`
|
|
1532
|
-
font-size: 12px;
|
|
1533
|
-
color: #f54a45;
|
|
1534
|
-
margin-top: 4px;
|
|
1535
|
-
`,Z_=ne.div``,eN=ne.div`
|
|
1536
|
-
margin-bottom: 12px;
|
|
1537
|
-
|
|
1538
|
-
&:last-child {
|
|
1539
|
-
margin-bottom: 0;
|
|
1540
|
-
}
|
|
1541
|
-
`,vh=ne.div`
|
|
1542
|
-
width: 100%;
|
|
1543
|
-
`,tN=ne.div`
|
|
1544
|
-
display: flex;
|
|
1545
|
-
align-items: flex-start;
|
|
1546
|
-
gap: 8px;
|
|
1547
|
-
margin-bottom: 8px;
|
|
1548
|
-
|
|
1549
|
-
&:last-child {
|
|
1550
|
-
margin-bottom: 0;
|
|
1551
|
-
}
|
|
1552
|
-
`,wh=ne.div`
|
|
1553
|
-
flex: 1;
|
|
1554
|
-
`,rN=ne.div`
|
|
1555
|
-
flex-shrink: 0;
|
|
1556
|
-
padding-top: 4px;
|
|
1557
|
-
`,nN=ne.div`
|
|
1558
|
-
margin-top: 12px;
|
|
1559
|
-
display: flex;
|
|
1560
|
-
gap: 8px;
|
|
1561
|
-
`,aN=ne.div`
|
|
1562
|
-
display: flex;
|
|
1563
|
-
align-items: flex-start;
|
|
1564
|
-
gap: 8px;
|
|
1565
|
-
margin-bottom: 8px;
|
|
1566
|
-
|
|
1567
|
-
&:last-child {
|
|
1568
|
-
margin-bottom: 0;
|
|
1569
|
-
}
|
|
1570
|
-
`,iN=ne.div`
|
|
1571
|
-
flex-shrink: 0;
|
|
1572
|
-
padding-top: ${({$variant:e})=>{switch(e){case"fileDoc":case"time":case"enum":return"4px";case"fileImage":default:return"38px"}}};
|
|
1573
|
-
`,Oo=e=>{switch(e.Type){case"string":return"";case"number":return;case"boolean":return!1;case"array":return e.Items?[Oo(e.Items)]:[];case"object":if(e.Properties){const t={};return Object.keys(e.Properties).forEach(r=>{t[r]=Oo(e.Properties[r])}),t}return{};default:return}},sN=({name:e,schema:t,value:r=[],onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o="",uploadSender:l,fileUploader:c})=>{var De,Be,L;const{Title:f,Description:p,Items:m}=t,b=f||e,y=o?`${o}.${e}`:e,T=K.useRef(new Map),v=K.useCallback((ue,se)=>se!=null&&se.url?se.url:se!=null&&se.uid?se.uid:se!=null&&se.__arrayItemId?se.__arrayItemId:(T.current.has(ue)||T.current.set(ue,`item-${++Th}`),T.current.get(ue)),[]),S=K.useCallback(()=>{if(!m)return;const ue=Oo(m),se=r.length;T.current.set(se,`item-${++Th}`),typeof ue=="object"&&ue!==null?n==null||n([...r,tt(J({},ue),{__arrayItemId:T.current.get(se)})]):n==null||n([...r,ue])},[m,r,n]),A=K.useCallback(ue=>{const se=[...r];se.splice(ue,1),n==null||n(se)},[r,n]),M=K.useCallback((ue,se)=>{const _=[...r];_[ue]=se,n==null||n(_)},[r,n]),B=K.useCallback((ue,se,_)=>{const Ce=[...r];Ce[ue]=tt(J({},Ce[ue]),{[se]:_}),n==null||n(Ce)},[r,n]),O=((L=(Be=(De=m==null?void 0:m.AssociationPropertyMetadata)==null?void 0:De.EnumValues)==null?void 0:Be.length)!=null?L:0)>0||Array.isArray(m==null?void 0:m.EnumValues)&&m.EnumValues.length>0,D=(m==null?void 0:m.Type)==="object"&&(m==null?void 0:m.Properties),z=(m==null?void 0:m.Type)==="array",U=(m==null?void 0:m.Type)==="file",P=(m==null?void 0:m.Type)==="time",$=D||z||U||P||O,G=K.useMemo(()=>{var se;if(!U)return!1;const ue=(se=m==null?void 0:m.AssociationPropertyMetadata)==null?void 0:se.SubType;return Array.isArray(ue)&&ue.length>0?ue.some(_=>xh.includes(_)):m!=null&&m.FileSubType?xh.includes(m.FileSubType):!1},[U,m]);if(!m)return null;const he=m.Required||[],me=(ue,se)=>{let _;const Ce=`${y}[${se}]`,ze=u[Ce];switch(m.Type){case"string":_=k.jsx(pe.Input,{value:ue,onChange:Oe=>M(se,Oe.target.value),disabled:i});break;case"number":_=k.jsx(pe.InputNumber,{value:ue,onChange:Oe=>M(se,Oe),disabled:i,style:{width:"100%"}});break;case"boolean":_=k.jsx(pe.Switch,{checked:ue,onChange:Oe=>M(se,Oe),disabled:i});break;default:_=k.jsx(pe.Input,{value:ue,onChange:Oe=>M(se,Oe.target.value),disabled:i})}return k.jsxs("div",{children:[_,ze&&k.jsx(J_,{children:ze}),m.Description&&!ze&&k.jsx(Q_,{children:m.Description})]})},de=(ue,se)=>m.Properties?Xl(m.Properties).map(([Ce,ze])=>{const Oe=he.includes(Ce);return k.jsx(K.Suspense,{fallback:k.jsx("div",{children:"加载中..."}),children:k.jsx(xu,{name:Ce,schema:ze,value:ue==null?void 0:ue[Ce],onChange:Xe=>B(se,Ce,Xe),required:Oe,disabled:i,level:s+1,errors:u,fieldPath:`${y}[${se}]`,uploadSender:l,fileUploader:c})},Ce)}):null,Te=(ue,se)=>k.jsx(K.Suspense,{fallback:k.jsx("div",{children:"加载中..."}),children:k.jsx(xu,{name:`${e}[${se}]`,schema:m,value:ue,onChange:_=>M(se,_),disabled:i,level:s+1,errors:u,fieldPath:y,uploadSender:l,fileUploader:c})}),Re=(ue,se)=>k.jsx(K.Suspense,{fallback:k.jsx("div",{children:"加载中..."}),children:k.jsx(xu,{name:`[${se}]`,schema:m,value:ue,onChange:_=>M(se,_),disabled:i,level:s+1,errors:u,fieldPath:y,hideLabel:!0,uploadSender:l,fileUploader:c})});return k.jsxs(W_,{children:[k.jsxs(G_,{children:[a&&k.jsx(X_,{children:"*"}),k.jsx("span",{children:b})]}),p&&k.jsx(K_,{children:p}),k.jsx(Z_,{children:r.map((ue,se)=>{const _=v(se,ue),Ce=()=>{if(D)return k.jsx(vh,{children:de(ue,se)});if(z)return k.jsx(vh,{children:Te(ue,se)});if(U||P||O){let ze;return U?ze=G?"fileImage":"fileDoc":P?ze="time":O&&(ze="enum"),k.jsxs(aN,{children:[k.jsx(wh,{children:Re(ue,se)}),k.jsx(iN,{$variant:ze,children:k.jsx(pe.Button,{type:"text",danger:!0,icon:k.jsx(ir.MinusOutlined,{}),onClick:()=>A(se),disabled:i,size:"small"})})]})}return k.jsxs(tN,{children:[k.jsx(wh,{children:me(ue,se)}),k.jsx(rN,{children:k.jsx(pe.Button,{type:"text",danger:!0,icon:k.jsx(ir.MinusOutlined,{}),onClick:()=>A(se),disabled:i,size:"small"})})]})};return k.jsx(eN,{children:Ce()},_)})}),k.jsx(nN,{children:k.jsxs(pe.Space,{children:[k.jsx(pe.Button,{onClick:S,disabled:i,shape:"circle",icon:k.jsx(ir.PlusOutlined,{})}),$&&r.length>0&&k.jsx(pe.Button,{onClick:()=>A(r.length-1),shape:"circle",icon:k.jsx(ir.MinusOutlined,{}),danger:!0,disabled:i})]})})]})},uN=K.lazy(()=>Promise.resolve().then(()=>C4)),oN=ne.div`
|
|
1574
|
-
border: 1px solid #dbdbdb;
|
|
1575
|
-
border-radius: 10px;
|
|
1576
|
-
padding: 24px 16px;
|
|
1577
|
-
position: relative;
|
|
1578
|
-
margin-top: 20px;
|
|
1579
|
-
margin-bottom: 20px;
|
|
1580
|
-
background-color: #fff;
|
|
1581
|
-
`,lN=ne.div`
|
|
1582
|
-
position: absolute;
|
|
1583
|
-
top: -12px;
|
|
1584
|
-
left: 15px;
|
|
1585
|
-
background: #fff;
|
|
1586
|
-
padding: 2px 10px;
|
|
1587
|
-
white-space: nowrap;
|
|
1588
|
-
text-overflow: ellipsis;
|
|
1589
|
-
overflow: hidden;
|
|
1590
|
-
word-break: break-all;
|
|
1591
|
-
max-width: calc(100% - 30px);
|
|
1592
|
-
font-size: 14px;
|
|
1593
|
-
font-weight: 500;
|
|
1594
|
-
color: #1f2329;
|
|
1595
|
-
`,cN=ne.span`
|
|
1596
|
-
display: inline-block;
|
|
1597
|
-
margin-right: 4px;
|
|
1598
|
-
color: #E00000;
|
|
1599
|
-
font-size: 14px;
|
|
1600
|
-
font-family: SimSun, sans-serif;
|
|
1601
|
-
line-height: 1;
|
|
1602
|
-
`,fN=ne.div`
|
|
1603
|
-
font-size: 12px;
|
|
1604
|
-
color: #8f959e;
|
|
1605
|
-
margin-bottom: 12px;
|
|
1606
|
-
word-break: break-word;
|
|
1607
|
-
`,hN=ne.div`
|
|
1608
|
-
/* 对象内容区域 */
|
|
1609
|
-
`,dN=({name:e,schema:t,value:r={},onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o="",uploadSender:l,fileUploader:c})=>{const{Title:f,Description:p,Properties:m,Required:b=[]}=t,y=f||e,T=o?`${o}.${e}`:e,v=K.useCallback((A,M)=>{n==null||n(tt(J({},r),{[A]:M}))},[r,n]);if(!m)return null;const S=Xl(m);return k.jsxs(oN,{children:[k.jsxs(lN,{children:[a&&k.jsx(cN,{children:"*"}),k.jsx("span",{children:y})]}),p&&k.jsx(fN,{children:p}),k.jsx(hN,{children:S.map(([A,M])=>{const B=b.includes(A);return k.jsx(K.Suspense,{fallback:k.jsx("div",{children:"加载中..."}),children:k.jsx(uN,{name:A,schema:M,value:r[A],onChange:O=>v(A,O),required:B,disabled:i,level:s+1,errors:u,fieldPath:T,uploadSender:l,fileUploader:c})},A)})})]})},{Option:Ah}=pe.Select,Sh=ne.div`
|
|
1610
|
-
width: 100%;
|
|
1611
|
-
|
|
1612
|
-
.ant-select {
|
|
1613
|
-
width: 100%;
|
|
1614
|
-
}
|
|
1615
|
-
`,mN=ne.div`
|
|
1616
|
-
width: 100%;
|
|
1617
|
-
|
|
1618
|
-
.ant-checkbox-group {
|
|
1619
|
-
display: flex;
|
|
1620
|
-
flex-wrap: wrap;
|
|
1621
|
-
gap: 8px;
|
|
1622
|
-
}
|
|
1623
|
-
|
|
1624
|
-
.ant-checkbox-wrapper {
|
|
1625
|
-
margin-right: 0;
|
|
1626
|
-
|
|
1627
|
-
&:hover .ant-checkbox-inner {
|
|
1628
|
-
border-color: #1890ff;
|
|
1629
|
-
}
|
|
1630
|
-
}
|
|
1631
|
-
`,pN=ne.div`
|
|
1632
|
-
width: 100%;
|
|
1633
|
-
|
|
1634
|
-
.ant-radio-group {
|
|
1635
|
-
display: flex;
|
|
1636
|
-
flex-wrap: wrap;
|
|
1637
|
-
gap: 8px;
|
|
1638
|
-
}
|
|
1639
|
-
|
|
1640
|
-
.ant-radio-wrapper {
|
|
1641
|
-
margin-right: 0;
|
|
1642
|
-
|
|
1643
|
-
&:hover .ant-radio-inner {
|
|
1644
|
-
border-color: #1890ff;
|
|
1645
|
-
}
|
|
1646
|
-
}
|
|
1647
|
-
`,kh=({schema:e,value:t,onChange:r,disabled:n=!1})=>{const{Type:a}=e,i=K.useMemo(()=>{var f;return((f=e.AssociationPropertyMetadata)==null?void 0:f.EnumValues)||e.EnumValues||[]},[e]),s=K.useMemo(()=>{var f;return((f=e.AssociationPropertyMetadata)==null?void 0:f.EnumDisplayStyle)||e.EnumDisplayStyle||"select"},[e]),u=K.useCallback(f=>{r==null||r(f)},[r]),o=K.useCallback(f=>{r==null||r(f)},[r]),l=K.useCallback(f=>{r==null||r(f.target.value)},[r]);return(()=>{switch(s){case"checkbox":return k.jsx(mN,{children:k.jsx(pe.Checkbox.Group,{value:Array.isArray(t)?t:t?[t]:[],onChange:o,disabled:n,children:i.map(f=>k.jsx(pe.Checkbox,{value:f,children:String(f)},String(f)))})});case"radio":return k.jsx(pN,{children:k.jsx(pe.Radio.Group,{value:t,onChange:l,disabled:n,children:i.map(f=>k.jsx(pe.Radio,{value:f,children:String(f)},String(f)))})});case"multi-select":return k.jsx(Sh,{children:k.jsx(pe.Select,{value:Array.isArray(t)?t:t?[t]:[],onChange:u,disabled:n,mode:"multiple",placeholder:"请选择",style:{width:"100%"},allowClear:!0,children:i.map(f=>k.jsx(Ah,{value:f,children:String(f)},String(f)))})});case"select":default:{const f=a==="array";return k.jsx(Sh,{children:k.jsx(pe.Select,{value:t,onChange:u,disabled:n,mode:f?"multiple":void 0,placeholder:"请选择",style:{width:"100%"},allowClear:!0,children:i.map(p=>k.jsx(Ah,{value:p,children:String(p)},String(p)))})})}}})()},gN=ne.div`
|
|
1648
|
-
width: 100%;
|
|
1649
|
-
|
|
1650
|
-
.ant-picker {
|
|
1651
|
-
width: 100%;
|
|
1652
|
-
}
|
|
1653
|
-
`,bN=()=>{try{return parseInt(pe.version.split(".")[0],10)}catch(e){return 5}},k4=bN()>=5;let Ro=null,Do=null;if(k4)try{Ro=require("dayjs")}catch(e){console.warn("dayjs not found, TimeField may not work correctly with antd 5.x")}else try{Do=require("moment")}catch(e){console.warn("moment not found, TimeField may not work correctly with antd 4.x")}const yN=e=>{switch(e){case"year-month":return"YYYY-MM";case"year-month-day":return"YYYY-MM-DD";case"datetime":return"YYYY-MM-DD HH:mm:ss";default:return"YYYY-MM-DD"}},EN=e=>{switch(e){case"year-month":return"month";case"year-month-day":case"datetime":default:return"date"}},xN=(e,t)=>e?k4&&Ro?Ro(e,t):Do?Do(e,t):null:null,TN=(e,t)=>e&&typeof e.format=="function"?e.format(t):null,vN=({schema:e,value:t,onChange:r,disabled:n=!1})=>{const a=K.useMemo(()=>{var f;const c=(f=e.AssociationPropertyMetadata)==null?void 0:f.SubType;return Array.isArray(c)&&c.length>0?c[0]:e.TimeSubType},[e]),i=yN(a),s=EN(a),u=a==="datetime",o=K.useCallback(c=>{const f=TN(c,i);r==null||r(f)},[r,i]),l=xN(t,i);return k.jsx(gN,{children:k.jsx(pe.DatePicker,{value:l,onChange:o,format:i,picker:s,showTime:u?{format:"HH:mm:ss"}:!1,disabled:n,style:{width:"100%"},placeholder:"请选择"})})},Ch=ne.div`
|
|
1654
|
-
width: 100%;
|
|
1655
|
-
|
|
1656
|
-
.ant-upload-wrapper {
|
|
1657
|
-
width: 100%;
|
|
1658
|
-
}
|
|
1659
|
-
|
|
1660
|
-
.ant-upload-list-item {
|
|
1661
|
-
margin-top: 8px;
|
|
1662
|
-
}
|
|
1663
|
-
|
|
1664
|
-
.ant-upload-list-picture-card {
|
|
1665
|
-
.ant-upload-list-item-container {
|
|
1666
|
-
width: 104px;
|
|
1667
|
-
height: 104px;
|
|
1668
|
-
}
|
|
1669
|
-
}
|
|
1670
|
-
|
|
1671
|
-
.ant-upload-select-picture-card {
|
|
1672
|
-
width: 104px;
|
|
1673
|
-
height: 104px;
|
|
1674
|
-
margin: 0;
|
|
1675
|
-
background-color: #fafafa;
|
|
1676
|
-
border: 1px dashed #d9d9d9;
|
|
1677
|
-
border-radius: 8px;
|
|
1678
|
-
cursor: pointer;
|
|
1679
|
-
transition: border-color 0.3s;
|
|
1680
|
-
|
|
1681
|
-
&:hover {
|
|
1682
|
-
border-color: #1890ff;
|
|
1683
|
-
}
|
|
1684
|
-
}
|
|
1685
|
-
`,Ih=ne.div`
|
|
1686
|
-
font-size: 12px;
|
|
1687
|
-
color: #8f959e;
|
|
1688
|
-
margin-top: 8px;
|
|
1689
|
-
`,wN=["jpg","png","svg"],AN=e=>{switch(e){case"jpg":return".jpg,.jpeg,image/jpeg";case"png":return".png,image/png";case"svg":return".svg,image/svg+xml";case"doc":return".doc,.docx,application/msword,application/vnd.openxmlformats-officedocument.wordprocessingml.document";case"ppt":return".ppt,.pptx,application/vnd.ms-powerpoint,application/vnd.openxmlformats-officedocument.presentationml.presentation";case"excel":return".xls,.xlsx,application/vnd.ms-excel,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";case"txt":return".txt,text/plain";case"markdown":return".md,.markdown,text/markdown";case"zip":return".zip,.rar,.7z,.tar,.gz,.bz2,application/zip,application/x-rar-compressed,application/x-7z-compressed";case"default":default:return"*"}},SN=e=>{if(!e||e.length===0||e.includes("default"))return"*";const t=new Set;return e.forEach(r=>{const n=AN(r);n!=="*"&&n.split(",").forEach(a=>t.add(a.trim()))}),t.size>0?Array.from(t).join(","):"*"},kN=e=>{if(!e||e.length===0||e.includes("default"))return"支持所有文件格式";const t={jpg:"JPG",png:"PNG",svg:"SVG",doc:"DOC/DOCX",ppt:"PPT/PPTX",excel:"XLS/XLSX",txt:"TXT",markdown:"Markdown",zip:"ZIP/RAR/7Z",default:"所有格式"},r=e.map(n=>t[n]||n).filter(Boolean);return r.length>0?`支持 ${r.join("、")} 格式`:"支持所有文件格式"},CN=e=>!e||e.length===0?!1:e.some(t=>wN.includes(t)),IN=({schema:e,value:t,onChange:r,disabled:n=!1,uploadSender:a,fileUploader:i})=>{const s=K.useMemo(()=>{var z;const D=(z=e.AssociationPropertyMetadata)==null?void 0:z.SubType;return Array.isArray(D)&&D.length>0?D:e.FileSubType?[e.FileSubType]:[]},[e]),u=SN(s),o=kN(s),l=CN(s),[c,f]=K.useState(!1),p=()=>t?Array.isArray(t)?t.map((D,z)=>J({uid:D.uid||`${z}`,name:D.name||`文件${z+1}`,status:"done",url:D.url},D)):typeof t=="object"?[J({uid:t.uid||"0",name:t.name||"文件",status:"done",url:t.url},t)]:[]:[],[m,b]=K.useState(p());K.useEffect(()=>{const D=p(),z=m.map(P=>P.url).sort().join(","),U=D.map(P=>P.url).sort().join(",");z!==U&&b(D)},[t]);const y=K.useCallback(D=>Le(exports,null,function*(){if(!a)return pe.message.error("上传功能未配置"),null;try{const z=yield a({eventType:"uploadToken",fileName:D});if(!z)return pe.message.error("获取上传凭证失败"),null;const U=JSON.parse(z);return U.content?JSON.parse(U.content):U.uploadUrl&&U.downloadUrl?U:(pe.message.error("获取上传凭证失败"),null)}catch(z){return console.error("获取上传凭证失败:",z),pe.message.error("获取上传凭证失败"),null}}),[a]),T=K.useCallback((D,z)=>Le(exports,null,function*(){if(!a)return null;try{const U=yield a({eventType:"uploadFile",fileName:D,content:z});if(!U)return null;const P=JSON.parse(U);return P.content?JSON.parse(P.content):P.fileId?P:null}catch(U){return console.error("获取文件ID失败:",U),null}}),[a]),v=K.useCallback(D=>Le(exports,null,function*(){const z=yield y(D.name);if(!z)throw new Error("获取上传凭证失败");if(!i)throw new Error("文件上传方法未配置");const U=new Blob([D]);return yield i(U,z.uploadUrl),{uid:Date.now().toString(),name:D.name,url:z.downloadUrl,type:D.type,size:D.size}}),[y,i]),S=K.useCallback(D=>Le(exports,null,function*(){const z=yield y(D.name);if(!z)throw new Error("获取上传凭证失败");if(!i)throw new Error("文件上传方法未配置");const U=new Blob([D]);yield i(U,z.uploadUrl);const P=yield T(D.name,z.downloadUrl);return{uid:Date.now().toString(),name:D.name,url:z.downloadUrl,fileId:P==null?void 0:P.fileId,type:D.type,size:D.size,fileType:D.name.split(".").pop()}}),[y,i,T]),A=K.useCallback(D=>Le(exports,null,function*(){const{file:z,onSuccess:U,onError:P}=D;if(!a||!i){try{const $=URL.createObjectURL(z);U==null||U({url:$},new XMLHttpRequest)}catch($){P==null||P($),pe.message.error("文件上传失败")}return}f(!0);try{let $;l?$=yield v(z):$=yield S(z),U==null||U($,new XMLHttpRequest)}catch($){P==null||P($),pe.message.error("文件上传失败")}finally{f(!1)}}),[a,i,l,v,S]),M=K.useCallback(D=>{const{fileList:z}=D;b(z);const U=z.filter(P=>P.status==="done").map(P=>{const $=P.response;return{name:P.name,url:($==null?void 0:$.url)||P.url}});r==null||r(U.length===1?U[0]:U.length>0?U:void 0)},[r]),B=K.useCallback(D=>D.size>10485760?(pe.message.error("文件大小不能超过 10MB"),pe.Upload.LIST_IGNORE):!0,[]),O=k.jsxs("div",{children:[c?k.jsx(ir.LoadingOutlined,{}):k.jsx(ir.PlusOutlined,{}),k.jsx("div",{style:{marginTop:8},children:c?"上传中":"上传"})]});return l?k.jsxs(Ch,{children:[k.jsx(pe.Upload,{listType:"picture-card",fileList:m,onChange:M,customRequest:A,beforeUpload:B,accept:u,disabled:n||c,maxCount:1,showUploadList:{showPreviewIcon:!1,showRemoveIcon:!0},children:m.length<1&&O}),k.jsx(Ih,{children:o})]}):k.jsxs(Ch,{children:[k.jsx(pe.Upload,{fileList:m,onChange:M,customRequest:A,beforeUpload:B,accept:u,disabled:n||c,maxCount:1,children:k.jsx(pe.Button,{icon:c?k.jsx(ir.LoadingOutlined,{}):k.jsx(ir.UploadOutlined,{}),disabled:n||c,loading:c,children:c?"上传中":"选择文件"})}),k.jsx(Ih,{children:o})]})},_N=ne.div`
|
|
1690
|
-
margin-bottom: 16px;
|
|
1691
|
-
|
|
1692
|
-
&:last-child {
|
|
1693
|
-
margin-bottom: 0;
|
|
1694
|
-
}
|
|
1695
|
-
`,NN=ne.div`
|
|
1696
|
-
display: flex;
|
|
1697
|
-
align-items: center;
|
|
1698
|
-
margin-bottom: 6px;
|
|
1699
|
-
font-size: 14px;
|
|
1700
|
-
color: #1f2329;
|
|
1701
|
-
`,_h=ne.span`
|
|
1702
|
-
color: #f54a45;
|
|
1703
|
-
margin-right: 4px;
|
|
1704
|
-
`,ON=ne.span`
|
|
1705
|
-
font-weight: 500;
|
|
1706
|
-
`,RN=ne.div`
|
|
1707
|
-
font-size: 12px;
|
|
1708
|
-
color: #8f959e;
|
|
1709
|
-
margin-top: 4px;
|
|
1710
|
-
word-break: break-word;
|
|
1711
|
-
`,DN=ne.div`
|
|
1712
|
-
font-size: 12px;
|
|
1713
|
-
color: #f54a45;
|
|
1714
|
-
margin-top: 4px;
|
|
1715
|
-
`,LN=ne.div`
|
|
1716
|
-
border: 1px solid #dbdbdb;
|
|
1717
|
-
border-radius: 10px;
|
|
1718
|
-
padding: 24px 16px;
|
|
1719
|
-
position: relative;
|
|
1720
|
-
margin-top: 20px;
|
|
1721
|
-
margin-bottom: 20px;
|
|
1722
|
-
background-color: #fff;
|
|
1723
|
-
`,MN=ne.div`
|
|
1724
|
-
position: absolute;
|
|
1725
|
-
top: -12px;
|
|
1726
|
-
left: 15px;
|
|
1727
|
-
background: #fff;
|
|
1728
|
-
padding: 2px 10px;
|
|
1729
|
-
white-space: nowrap;
|
|
1730
|
-
text-overflow: ellipsis;
|
|
1731
|
-
overflow: hidden;
|
|
1732
|
-
word-break: break-all;
|
|
1733
|
-
max-width: calc(100% - 30px);
|
|
1734
|
-
font-size: 14px;
|
|
1735
|
-
font-weight: 500;
|
|
1736
|
-
color: #1f2329;
|
|
1737
|
-
`,PN=ne.div`
|
|
1738
|
-
font-size: 12px;
|
|
1739
|
-
color: #8f959e;
|
|
1740
|
-
margin-bottom: 12px;
|
|
1741
|
-
word-break: break-word;
|
|
1742
|
-
`,Tu=ne.div`
|
|
1743
|
-
.${e=>e.$prefixCls}-input,
|
|
1744
|
-
.${e=>e.$prefixCls}-input-number,
|
|
1745
|
-
.${e=>e.$prefixCls}-select {
|
|
1746
|
-
width: 100%;
|
|
1747
|
-
}
|
|
1748
|
-
|
|
1749
|
-
.${e=>e.$prefixCls}-input-number {
|
|
1750
|
-
width: 100%;
|
|
1751
|
-
}
|
|
1752
|
-
`,FN=e=>{var r;const t=((r=e.AssociationPropertyMetadata)==null?void 0:r.EnumValues)||e.EnumValues;return Array.isArray(t)&&t.length>0},Lo=({name:e,schema:t,value:r,onChange:n,required:a=!1,disabled:i=!1,level:s=0,errors:u={},fieldPath:o="",uploadSender:l,fileUploader:c,hideLabel:f=!1})=>{var D;const{Type:p,Title:m,Description:b}=t,y=m||e,T=K.useContext(pe.ConfigProvider.ConfigContext),v=((D=T.getPrefixCls)==null?void 0:D.call(T))||"ant",S=o?`${o}.${e}`:e,A=u[S],M=K.useCallback(z=>{n==null||n(z)},[n]),B=K.useMemo(()=>FN(t),[t]),O=()=>{var z,U;if(B)return k.jsx(kh,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i});switch(p){case"string":return k.jsx(Tu,{$prefixCls:v,children:k.jsx(pe.Input,{value:r,onChange:P=>M(P.target.value),disabled:i,placeholder:`请输入${y}`})});case"number":return k.jsx(Tu,{$prefixCls:v,children:k.jsx(pe.InputNumber,{value:r,onChange:M,disabled:i,style:{width:"100%"},placeholder:`请输入${y}`})});case"boolean":return k.jsx(pe.Switch,{style:{borderRadius:16},checked:r,onChange:M,disabled:i});case"time":return k.jsx(vN,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i});case"file":return k.jsx(IN,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i,uploadSender:l,fileUploader:c});case"array":{const P=t==null?void 0:t.Items,$=(z=P==null?void 0:P.AssociationPropertyMetadata)==null?void 0:z.EnumValues,G=(U=P==null?void 0:P.AssociationPropertyMetadata)==null?void 0:U.EnumDisplayStyle;return Array.isArray($)&&$.length>0&&(G==="multi-select"||G==="checkbox")&&P?k.jsxs(LN,{children:[k.jsxs(MN,{children:[a&&k.jsx(_h,{children:"*"}),k.jsx("span",{children:y})]}),b&&k.jsx(PN,{children:b}),k.jsx(kh,{name:e,schema:tt(J({},P),{Title:t.Title||P.Title}),value:r,onChange:M,required:a,disabled:i})]}):k.jsx(sN,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i,level:s,errors:u,fieldPath:o,uploadSender:l,fileUploader:c})}case"object":return k.jsx(dN,{name:e,schema:t,value:r,onChange:M,required:a,disabled:i,level:s,errors:u,fieldPath:o,uploadSender:l,fileUploader:c});default:return k.jsx(Tu,{$prefixCls:v,children:k.jsx(pe.Input,{value:r,onChange:P=>M(P.target.value),disabled:i,placeholder:`请输入${y}`})})}};return p==="object"||p==="array"||f?O():k.jsxs(_N,{children:[k.jsxs(NN,{children:[a&&k.jsx(_h,{children:"*"}),k.jsx(ON,{children:y})]}),O(),A&&k.jsx(DN,{children:A}),b&&!A&&k.jsx(RN,{children:b})]})},C4=Object.freeze(Object.defineProperty({__proto__:null,FieldRenderer:Lo,default:Lo},Symbol.toStringTag,{value:"Module"})),Nh=ne.div`
|
|
1753
|
-
width: 100%;
|
|
1754
|
-
padding-bottom: 12px;
|
|
1755
|
-
`,BN=ne.div`
|
|
1756
|
-
padding: 24px;
|
|
1757
|
-
text-align: center;
|
|
1758
|
-
color: #8f959e;
|
|
1759
|
-
font-size: 12px;
|
|
1760
|
-
background-color: #fafafa;
|
|
1761
|
-
border: 1px dashed #e5e6eb;
|
|
1762
|
-
border-radius: 6px;
|
|
1763
|
-
`,Kl=({schema:e,value:t={},onChange:r,disabled:n=!1,errors:a={},uploadSender:i,fileUploader:s})=>{const u=e==null?void 0:e.Properties,o=(e==null?void 0:e.Required)||[],l=K.useCallback((f,p)=>{r==null||r(tt(J({},t),{[f]:p}))},[t,r]);if(!u||Object.keys(u).length===0)return k.jsx(Nh,{children:k.jsx(BN,{children:"暂无参数配置"})});const c=Xl(u);return k.jsx(Nh,{children:c==null?void 0:c.map(([f,p])=>{const m=o.includes(f);return k.jsx(Lo,{name:f,schema:p,value:t[f],onChange:b=>l(f,b),required:m,disabled:n,level:0,errors:a,fieldPath:"",uploadSender:i,fileUploader:s},f)})})},zN=e=>{const[t,r]=K.useState({}),n=K.useCallback(()=>Jn(e,t),[e,t]),a=K.useCallback(()=>{r({})},[]),i=K.useCallback((u,o)=>{r(l=>tt(J({},l),{[u]:o}))},[]),s=K.useCallback(u=>t[u],[t]);return{value:t,setValue:r,validate:n,reset:a,setFieldValue:i,getFieldValue:s}},HN=ne.div`
|
|
1764
|
-
margin-top: 12px;
|
|
1765
|
-
width: 400px;
|
|
1766
|
-
max-width: 100%;
|
|
1767
|
-
`,UN=ne.div`
|
|
1768
|
-
margin-top: 16px;
|
|
1769
|
-
padding: 12px 16px;
|
|
1770
|
-
border-radius: 8px;
|
|
1771
|
-
display: flex;
|
|
1772
|
-
align-items: center;
|
|
1773
|
-
gap: 12px;
|
|
1774
|
-
background-color: ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
|
|
1775
|
-
border: 1px solid ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
|
|
1776
|
-
`,jN=ne.div`
|
|
1777
|
-
flex: 1;
|
|
1778
|
-
`,qN=ne.div`
|
|
1779
|
-
font-size: 14px;
|
|
1780
|
-
font-weight: 500;
|
|
1781
|
-
margin-bottom: 4px;
|
|
1782
|
-
`,I4=({data:e,uploadSender:t,fileUploader:r,onSubmit:n})=>{const a=e==null?void 0:e.verifyId,i=e==null?void 0:e.sessionWebhook,s=(e==null?void 0:e.approved)||!1,u=e==null?void 0:e.customParams,o=e==null?void 0:e.customParamsKey,[l,c]=K.useState({}),[f,p]=K.useState({});K.useEffect(()=>{if(Object.keys(f).length>0&&u){const b=Jn(u,l);if(b.valid)p({});else{const y={};b.errors.forEach(T=>{y[T.field]=T.message}),p(y)}}},[l,u,f]);const m=K.useCallback(()=>{if(!(!a||!n)){if(u){const b=Jn(u,l);if(!b.valid){const y={};b.errors.forEach(T=>{y[T.field]=T.message}),p(y),pe.message.error("请填写所有必填项");return}p({})}n==null||n({verifyId:a,sessionWebhook:i||"",status:"approve",customParamsKey:o,customParamsValue:l})}},[a,i,n,l,u,o]);return k.jsxs(HN,{children:[u&&k.jsx(Kl,{schema:u,value:l,onChange:c,errors:f,uploadSender:t,fileUploader:r}),k.jsxs(UN,{$approved:s,children:[k.jsx(jN,{children:k.jsx(qN,{children:s?"已提交":"待提交"})}),k.jsx(pe.Button,{color:"primary",variant:"filled",onClick:m,disabled:s,children:"提交"})]})]})},Oh=ne.div`
|
|
1783
|
-
margin-top: 12px;
|
|
1784
|
-
width: 400px;
|
|
1785
|
-
max-width: 100%;
|
|
1786
|
-
`,Rh=ne.div`
|
|
1787
|
-
margin-top: 16px;
|
|
1788
|
-
padding: 12px 16px;
|
|
1789
|
-
border-radius: 8px;
|
|
1790
|
-
display: flex;
|
|
1791
|
-
align-items: center;
|
|
1792
|
-
gap: 12px;
|
|
1793
|
-
background-color: ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
|
|
1794
|
-
border: 1px solid ${e=>e.$approved?"rgb(238, 244, 248)":"rgb(252, 250, 245)"};
|
|
1795
|
-
`,Dh=ne.div`
|
|
1796
|
-
flex: 1;
|
|
1797
|
-
`,Lh=ne.div`
|
|
1798
|
-
font-size: 14px;
|
|
1799
|
-
font-weight: 500;
|
|
1800
|
-
margin-bottom: 4px;
|
|
1801
|
-
`,Mo=e=>{if(!e)return;const t={Type:e.type||"string"};if(e.title&&(t.Title=e.title),e.description&&(t.Description=e.description),e.required&&Array.isArray(e.required)&&(t.Required=e.required),e.order!==void 0&&(t.order=e.order),e.associationPropertyMetadata){const r=e.associationPropertyMetadata;if(t.AssociationPropertyMetadata={},r.subType){const n=r.subType;t.AssociationPropertyMetadata.SubType=Array.isArray(n)?n:[n]}r.enumValues&&(t.AssociationPropertyMetadata.EnumValues=r.enumValues),r.enumDisplayStyle&&(t.AssociationPropertyMetadata.EnumDisplayStyle=r.enumDisplayStyle)}if(e.properties&&typeof e.properties=="object"){t.Properties={};for(const[r,n]of Object.entries(e.properties)){const a=Mo(n);a&&(t.Properties[r]=a)}}return e.items&&(t.Items=Mo(e.items)),t},_4=({data:e})=>{const t=e==null?void 0:e.approvalStatus,r=(e==null?void 0:e.formValues)||{},n=e==null?void 0:e.formSchema,a=t==="approved";return n?k.jsxs(Oh,{children:[k.jsx(Kl,{schema:n,value:r,disabled:!0}),k.jsxs(Rh,{$approved:a,children:[k.jsx(Dh,{children:k.jsx(Lh,{children:a?"已提交":"待提交"})}),k.jsx(pe.Button,{color:"primary",variant:"filled",disabled:!0,children:a?"已提交":"提交"})]})]}):k.jsx(Oh,{children:k.jsxs(Rh,{$approved:a,children:[k.jsx(Dh,{children:k.jsx(Lh,{children:a?"已提交":"待提交"})}),k.jsx(pe.Button,{color:"primary",variant:"filled",disabled:!0,children:a?"已提交":"提交"})]})})},$N=ne.div`
|
|
1802
|
-
display: flex;
|
|
1803
|
-
flex-direction: column;
|
|
1804
|
-
max-width: ${e=>e.$role==="user"?"80%":"100%"};
|
|
1805
|
-
align-self: ${e=>e.$role==="user"?"flex-end":"flex-start"};
|
|
1806
|
-
`,YN=ne.div`
|
|
1807
|
-
padding: 12px 16px;
|
|
1808
|
-
border-radius: 12px;
|
|
1809
|
-
background: ${e=>e.$role==="user"?"linear-gradient(135deg, #667eea 0%, #764ba2 100%)":"rgba(205, 208, 220, 0.15)"};
|
|
1810
|
-
color: ${e=>e.$role==="user"?"#fff":"#333"};
|
|
1811
|
-
word-break: break-word;
|
|
1812
|
-
|
|
1813
|
-
/* 样式隔离 */
|
|
1814
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1815
|
-
font-size: 14px;
|
|
1816
|
-
line-height: 1.6;
|
|
1817
|
-
|
|
1818
|
-
* {
|
|
1819
|
-
box-sizing: border-box;
|
|
1820
|
-
}
|
|
1821
|
-
|
|
1822
|
-
/* Markdown内容样式 */
|
|
1823
|
-
p {
|
|
1824
|
-
margin: 0 0 8px 0;
|
|
1825
|
-
&:last-child {
|
|
1826
|
-
margin-bottom: 0;
|
|
1827
|
-
}
|
|
1828
|
-
}
|
|
1829
|
-
|
|
1830
|
-
ul, ol {
|
|
1831
|
-
margin: 8px 0;
|
|
1832
|
-
padding-left: 20px;
|
|
1833
|
-
}
|
|
1834
|
-
|
|
1835
|
-
li {
|
|
1836
|
-
margin: 4px 0;
|
|
1837
|
-
p {
|
|
1838
|
-
display: block !important;
|
|
1839
|
-
}
|
|
1840
|
-
}
|
|
1841
|
-
|
|
1842
|
-
code {
|
|
1843
|
-
background: ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.2)":"rgba(0, 0, 0, 0.05)"};
|
|
1844
|
-
padding: 2px 6px;
|
|
1845
|
-
border-radius: 4px;
|
|
1846
|
-
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
1847
|
-
font-size: 13px;
|
|
1848
|
-
}
|
|
1849
|
-
|
|
1850
|
-
pre {
|
|
1851
|
-
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.2)":"#f6f8fa"};
|
|
1852
|
-
padding: 12px;
|
|
1853
|
-
border-radius: 6px;
|
|
1854
|
-
overflow-x: auto;
|
|
1855
|
-
|
|
1856
|
-
code {
|
|
1857
|
-
background: transparent;
|
|
1858
|
-
padding: 0;
|
|
1859
|
-
}
|
|
1860
|
-
}
|
|
1861
|
-
|
|
1862
|
-
blockquote {
|
|
1863
|
-
margin: 8px 0;
|
|
1864
|
-
padding: 8px 16px;
|
|
1865
|
-
border-left: 4px solid ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.5)":"#ddd"};
|
|
1866
|
-
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f9f9f9"};
|
|
1867
|
-
}
|
|
1868
|
-
|
|
1869
|
-
table {
|
|
1870
|
-
border-collapse: collapse;
|
|
1871
|
-
width: 100%;
|
|
1872
|
-
margin: 8px 0;
|
|
1873
|
-
|
|
1874
|
-
th, td {
|
|
1875
|
-
border: 1px solid ${e=>e.$role==="user"?"rgba(255, 255, 255, 0.3)":"#ddd"};
|
|
1876
|
-
padding: 8px 12px;
|
|
1877
|
-
text-align: left;
|
|
1878
|
-
}
|
|
1879
|
-
|
|
1880
|
-
th {
|
|
1881
|
-
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f6f8fa"};
|
|
1882
|
-
font-weight: 600;
|
|
1883
|
-
}
|
|
1884
|
-
}
|
|
1885
|
-
|
|
1886
|
-
img {
|
|
1887
|
-
max-width: 200px;
|
|
1888
|
-
max-height: 150px;
|
|
1889
|
-
object-fit: contain;
|
|
1890
|
-
border-radius: 4px;
|
|
1891
|
-
}
|
|
1892
|
-
|
|
1893
|
-
a {
|
|
1894
|
-
color: ${e=>e.$role==="user"?"#fff":"#1890ff"};
|
|
1895
|
-
text-decoration: underline;
|
|
1896
|
-
}
|
|
1897
|
-
|
|
1898
|
-
h1, h2, h3, h4, h5, h6 {
|
|
1899
|
-
margin: 16px 0 8px 0;
|
|
1900
|
-
font-weight: 600;
|
|
1901
|
-
line-height: 1.4;
|
|
1902
|
-
|
|
1903
|
-
&:first-child {
|
|
1904
|
-
margin-top: 0;
|
|
1905
|
-
}
|
|
1906
|
-
}
|
|
1907
|
-
|
|
1908
|
-
/* 深度思考样式 */
|
|
1909
|
-
details {
|
|
1910
|
-
margin: 8px 0;
|
|
1911
|
-
padding: 8px 12px;
|
|
1912
|
-
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#f6f8fa"};
|
|
1913
|
-
border-radius: 6px;
|
|
1914
|
-
|
|
1915
|
-
summary {
|
|
1916
|
-
cursor: pointer;
|
|
1917
|
-
font-weight: 500;
|
|
1918
|
-
}
|
|
1919
|
-
|
|
1920
|
-
pre.think {
|
|
1921
|
-
margin: 8px 0 0 0;
|
|
1922
|
-
padding: 8px;
|
|
1923
|
-
background: ${e=>e.$role==="user"?"rgba(0, 0, 0, 0.1)":"#fff"};
|
|
1924
|
-
border-radius: 4px;
|
|
1925
|
-
white-space: pre-wrap;
|
|
1926
|
-
font-size: 13px;
|
|
1927
|
-
}
|
|
1928
|
-
}
|
|
1929
|
-
`,VN=ne.div`
|
|
1930
|
-
margin-top: 12px;
|
|
1931
|
-
`,WN=ne.div`
|
|
1932
|
-
display: flex;
|
|
1933
|
-
flex-wrap: wrap;
|
|
1934
|
-
gap: 8px;
|
|
1935
|
-
`,GN=({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]=pe.Modal.useModal(),[b,y]=K.useState(!1),[T,v]=K.useState([]);K.useEffect(()=>{e!=null&&e.includes("```echarts")&&pi().catch(console.error)},[e]);const S=K.useCallback(D=>{const z=D.Title||D.title,U=D.Text||D.text,P=D.Images||D.images;p.confirm({bodyStyle:{maxHeight:"80vh",overflow:"auto"},icon:null,title:"参考资料",destroyOnClose:!0,maskClosable:!0,closable:!0,width:800,content:k.jsxs(pe.Space,{direction:"vertical",style:{width:"100%"},children:[k.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[z&&k.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:z}),U&&k.jsx("div",{children:U})]}),P&&P.length>0&&k.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:k.jsx(WN,{children:P.map(($,G)=>k.jsx(pe.Image,{src:$,height:50},G))})})]}),footer:null})},[p]),A=K.useCallback(D=>{v(D),y(!0)},[]),M=K.useCallback(()=>{y(!1)},[]),B=s||S,O=u||A;return k.jsxs(k.Fragment,{children:[k.jsx($N,{$role:t,className:`appflow-sdk-message-bubble ${a||""}`,style:i,children:k.jsxs(YN,{$role:t,children:[k.jsxs(g4,{content:e,status:r,role:t,children:[o==="humanVerify"&&l&&k.jsx(I4,{data:l,onSubmit:f}),o==="historyCard"&&c&&k.jsx(_4,{data:c}),n&&n.length>0&&r==="Success"&&k.jsx(VN,{children:k.jsx(Wl,{items:n,status:r,onItemClick:B,onWebSearchClick:O})})]}),m]})}),!u&&k.jsx(Gl,{items:T,open:b,onClose:M})]})},XN=ne.div`
|
|
1936
|
-
padding: 12px 16px;
|
|
1937
|
-
border-radius: 12px;
|
|
1938
|
-
background: rgba(205, 208, 220, 0.15);
|
|
1939
|
-
color: #333;
|
|
1940
|
-
word-break: break-word;
|
|
1941
|
-
|
|
1942
|
-
/* 样式隔离 */
|
|
1943
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
1944
|
-
font-size: 14px;
|
|
1945
|
-
line-height: 1.6;
|
|
1946
|
-
|
|
1947
|
-
* {
|
|
1948
|
-
box-sizing: border-box;
|
|
1949
|
-
}
|
|
1950
|
-
|
|
1951
|
-
/* Markdown内容样式 */
|
|
1952
|
-
p {
|
|
1953
|
-
margin: 0 0 8px 0;
|
|
1954
|
-
&:last-child {
|
|
1955
|
-
margin-bottom: 0;
|
|
1956
|
-
}
|
|
1957
|
-
}
|
|
1958
|
-
|
|
1959
|
-
ul, ol {
|
|
1960
|
-
margin: 8px 0;
|
|
1961
|
-
padding-left: 20px;
|
|
1962
|
-
}
|
|
1963
|
-
|
|
1964
|
-
li {
|
|
1965
|
-
margin: 4px 0;
|
|
1966
|
-
p {
|
|
1967
|
-
display: block !important;
|
|
1968
|
-
}
|
|
1969
|
-
}
|
|
1970
|
-
|
|
1971
|
-
code {
|
|
1972
|
-
background: rgba(0, 0, 0, 0.05);
|
|
1973
|
-
padding: 2px 6px;
|
|
1974
|
-
border-radius: 4px;
|
|
1975
|
-
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
1976
|
-
font-size: 13px;
|
|
1977
|
-
}
|
|
1978
|
-
|
|
1979
|
-
pre {
|
|
1980
|
-
background: #f6f8fa;
|
|
1981
|
-
padding: 12px;
|
|
1982
|
-
border-radius: 6px;
|
|
1983
|
-
overflow-x: auto;
|
|
1984
|
-
|
|
1985
|
-
code {
|
|
1986
|
-
background: transparent;
|
|
1987
|
-
padding: 0;
|
|
1988
|
-
}
|
|
1989
|
-
}
|
|
1990
|
-
|
|
1991
|
-
table {
|
|
1992
|
-
border-collapse: collapse;
|
|
1993
|
-
width: 100%;
|
|
1994
|
-
margin: 8px 0;
|
|
1995
|
-
|
|
1996
|
-
th, td {
|
|
1997
|
-
border: 1px solid #ddd;
|
|
1998
|
-
padding: 8px 12px;
|
|
1999
|
-
text-align: left;
|
|
2000
|
-
}
|
|
2001
|
-
|
|
2002
|
-
th {
|
|
2003
|
-
background: #f6f8fa;
|
|
2004
|
-
font-weight: 600;
|
|
2005
|
-
}
|
|
2006
|
-
|
|
2007
|
-
tr:nth-child(even) {
|
|
2008
|
-
background: #f9f9f9;
|
|
2009
|
-
}
|
|
2010
|
-
}
|
|
2011
|
-
|
|
2012
|
-
img {
|
|
2013
|
-
max-width: 200px;
|
|
2014
|
-
max-height: 150px;
|
|
2015
|
-
object-fit: contain;
|
|
2016
|
-
border-radius: 4px;
|
|
2017
|
-
}
|
|
2018
|
-
|
|
2019
|
-
a {
|
|
2020
|
-
color: #1890ff;
|
|
2021
|
-
text-decoration: none;
|
|
2022
|
-
|
|
2023
|
-
&:hover {
|
|
2024
|
-
text-decoration: underline;
|
|
2025
|
-
}
|
|
2026
|
-
}
|
|
2027
|
-
`,KN=ne.div`
|
|
2028
|
-
margin-top: 12px;
|
|
2029
|
-
`,QN=ne.div`
|
|
2030
|
-
display: flex;
|
|
2031
|
-
flex-wrap: wrap;
|
|
2032
|
-
gap: 8px;
|
|
2033
|
-
`,JN=({content:e,messageType:t="markdown",status:r="Success",references:n=[],className:a,style:i,onReferenceClick:s,onWebSearchClick:u})=>{const[o,l]=pe.Modal.useModal(),[c,f]=K.useState(!1),[p,m]=K.useState([]);K.useEffect(()=>{(e!=null&&e.includes("echart")||e!=null&&e.includes("echarts"))&&pi().catch(console.error)},[e]);const b=K.useCallback(A=>{const M=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:k.jsxs(pe.Space,{direction:"vertical",style:{width:"100%"},children:[k.jsxs("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:[M&&k.jsx("div",{style:{fontWeight:"bold",marginBottom:"8px"},children:M}),B&&k.jsx("div",{children:B})]}),O&&O.length>0&&k.jsx("div",{style:{borderRadius:"4px",backgroundColor:"#f0f2f5",padding:"8px"},children:k.jsx(QN,{children:O.map((D,z)=>k.jsx(pe.Image,{src:D,height:50},z))})})]}),footer:null})},[o]),y=K.useCallback(A=>{m(A),f(!0)},[]),T=K.useCallback(()=>{f(!1)},[]),v=s||b,S=u||y;return k.jsxs(k.Fragment,{children:[k.jsxs(XN,{className:`appflow-sdk-rich-message-bubble ${a||""}`,style:i,children:[k.jsx(b4,{content:e,messageType:t,status:r,role:"bot",children:n&&n.length>0&&r==="Success"&&k.jsx(KN,{children:k.jsx(Wl,{items:n,status:r,onItemClick:v,onWebSearchClick:S})})}),l]}),!u&&k.jsx(Gl,{items:p,open:c,onClose:T})]})};exports.BubbleContent=g4;exports.ChatService=nd;exports.CustomParamsRenderer=Kl;exports.DocReferences=Wl;exports.HistoryCard=_4;exports.HumanVerify=I4;exports.MarkdownRenderer=JC;exports.MarkdownView=Kt;exports.MessageBubble=GN;exports.RichBubbleContent=b4;exports.RichBubbleProvider=h4;exports.RichMessageBubble=JN;exports.SourceContent=A4;exports.WebSearchContent=S4;exports.WebSearchPanel=Gl;exports.chatService=y6;exports.convertSchemaToUpperCase=Mo;exports.loadEchartsScript=pi;exports.loadMermaidScript=p4;exports.useCustomParamsRenderer=zN;exports.useRichBubbleContext=d4;exports.validateCustomParams=Jn;
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-cl42IZ0C.cjs");exports.BubbleContent=e.BubbleContent;exports.ChatService=e.ChatService;exports.CustomParamsRenderer=e.CustomParamsRenderer;exports.DocReferences=e.DocReferences;exports.HistoryCard=e.HistoryCard;exports.HumanVerify=e.HumanVerify;exports.MarkdownRenderer=e.MarkdownRenderer;exports.MarkdownView=e.MarkdownView;exports.MessageBubble=e.MessageBubble;exports.RichBubbleContent=e.RichBubbleContent;exports.RichBubbleProvider=e.RichBubbleProvider;exports.RichMessageBubble=e.RichMessageBubble;exports.SourceContent=e.SourceContent;exports.WebSearchContent=e.WebSearchContent;exports.WebSearchPanel=e.WebSearchPanel;exports.chatService=e.chatService;exports.convertSchemaToUpperCase=e.convertSchemaToUpperCase;exports.loadEchartsScript=e.loadEchartsScript;exports.loadMermaidScript=e.loadMermaidScript;exports.useCustomParamsRenderer=e.useCustomParamsRenderer;exports.useRichBubbleContext=e.useRichBubbleContext;exports.validateCustomParams=e.validateCustomParams;
|