(()=>{"use strict";var t={d:(e,F)=>{for(var a in F)t.o(F,a)&&!t.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:F[a]})}};t.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),t.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),t.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var e={};t.r(e),t.d(e,{default:()=>y});var F={};t.r(F),t.d(F,{HtmlConfiguration:()=>M});const a=("undefined"!=typeof window?window:t.g).MathJax._.components.global,n=(a.GLOBAL,a.isObject,a.combineConfig,a.combineDefaults,a.combineWithMathJax),r=(a.MathJax,MathJax._.input.tex.HandlerTypes),u=r.ConfigurationType,o=r.HandlerType,i=MathJax._.input.tex.Configuration,s=i.Configuration,l=(i.ConfigurationHandler,i.ParserConfiguration,MathJax._.input.tex.TokenMap),c=(l.parseResult,l.AbstractTokenMap,l.RegExpMap,l.AbstractParseMap,l.CharacterMap,l.DelimiterMap,l.MacroMap,l.CommandMap),d=(l.EnvironmentMap,MathJax._.input.tex.NodeUtil.default),f=MathJax._.input.tex.ParseUtil,h=(f.KeyValueDef,f.KeyValueTypes,f.ParseUtil),p=MathJax._.input.tex.TexError.default,m=/[\u{FDD0}-\u{FDEF}\u{FFFE}\u{FFFF}\u{1FFFE}\u{1FFFF}\u{2FFFE}\u{2FFFF}\u{3FFFE}\u{3FFFF}\u{4FFFE}\u{4FFFF}\u{5FFFE}\u{5FFFF}\u{6FFFE}\u{6FFFF}\u{7FFFE}\u{7FFFF}\u{8FFFE}\u{8FFFF}\u{9FFFE}\u{9FFFF}\u{AFFFE}\u{AFFFF}\u{BFFFE}\u{BFFFF}\u{CFFFE}\u{CFFFF}\u{DFFFE}\u{DFFFF}\u{EFFFE}\u{EFFFF}\u{FFFFE}\u{FFFFF}\u{10FFFE}\u{10FFFF}]/u;function b(t){return!(t.match(/[\x00-\x1f\x7f-\x9f "'>/=]/)||t.match(m))}const g={Data(t,e){const F=t.GetArgument(e),a=x(t,e),n=h.keyvalOptions(F);for(const t in n){if(!b(t))throw new p("InvalidHTMLAttr","Invalid HTML attribute: %1",`data-${t}`);d.setAttribute(a,`data-${t}`,n[t])}t.Push(a)},Href(t,e){const F=t.GetArgument(e),a=x(t,e);d.setAttribute(a,"href",F),t.Push(a)},Class(t,e){let F=t.GetArgument(e);const a=x(t,e),n=d.getAttribute(a,"class");n&&(F=n+" "+F),d.setAttribute(a,"class",F),t.Push(a)},Style(t,e){let F=t.GetArgument(e);const a=x(t,e);let n=d.getAttribute(a,"style");n&&(";"!==n.charAt(F.length-1)&&(n+=";"),F=n+" "+F),d.setAttribute(a,"style",F),t.Push(a)},Id(t,e){const F=t.GetArgument(e),a=x(t,e);d.setAttribute(a,"id",F),t.Push(a)}},x=function(t,e){const F=t.ParseArg(e);if(!d.isInferred(F))return F;const a=t.create("node","mrow");return d.copyChildren(F,a),d.copyAttributes(F,a),a},y=g;new c("html_macros",{data:y.Data,href:y.Href,class:y.Class,style:y.Style,cssId:y.Id});const M=s.create("html",{[u.HANDLER]:{[o.MACRO]:["html_macros"]}});MathJax.loader&&MathJax.loader.checkVersion("[tex]/html","4.1.3","tex-extension"),n({_:{input:{tex:{html:{HtmlConfiguration:F,HtmlMethods:e}}}}})})();