(()=>{"use strict";var o={d:(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}};o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(o){if("object"==typeof window)return window}}(),o.o=(o,e)=>Object.prototype.hasOwnProperty.call(o,e),o.r=o=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})};var e={};o.r(e),o.d(e,{ColorConfiguration:()=>u});const t=("undefined"!=typeof window?window:o.g).MathJax._.components.global,n=(t.GLOBAL,t.isObject,t.combineConfig,t.combineDefaults,t.combineWithMathJax),r=(t.MathJax,MathJax._.input.tex.HandlerTypes),a=r.ConfigurationType,i=r.HandlerType,c=MathJax._.input.tex.TokenMap,l=(c.parseResult,c.AbstractTokenMap,c.RegExpMap,c.AbstractParseMap,c.CharacterMap,c.DelimiterMap,c.MacroMap,c.CommandMap),s=(c.EnvironmentMap,MathJax._.input.tex.Configuration),p=s.Configuration;s.ConfigurationHandler,s.ParserConfiguration;new l("colorv2",{color:{Color(o,e){const t=o.GetArgument(e),n=o.stack.env.color;o.stack.env.color=t;const r=o.ParseArg(e);n?o.stack.env.color=n:delete o.stack.env.color;const a=o.create("node","mstyle",[r],{mathcolor:t});o.Push(a)}}.Color});const u=p.create("colorv2",{[a.HANDLER]:{[i.MACRO]:["colorv2"]}});MathJax.loader&&MathJax.loader.checkVersion("[tex]/colorv2","4.1.0","tex-extension"),n({_:{input:{tex:{colorv2:{ColorV2Configuration:e}}}}})})();