!function(){"use strict";vart,e,o,r,n,i,a,s,l={18:function(t,e,o){varr,n=this&&this.__extends||(r=function(t,e){returnr=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(varoine)Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o])},r(t,e)},function(t,e){if("function"!=typeofe&&null!==e)thrownewTypeError("Class extends value "+String(e)+" is not a constructor or null");functiono(){this.constructor=t}r(t,e),t.prototype=null===e?Object.create(e):(o.prototype=e.prototype,newo)}),i=this&&this.__assign||function(){returni=Object.assign||function(t){for(vare,o=1,r=arguments.length;o<r;o++)for(varnine=arguments[o])Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);returnt},i.apply(this,arguments)},a=this&&this.__createBinding||(Object.create?function(t,e,o,r){void0===r&&(r=o);varn=Object.getOwnPropertyDescriptor(e,o);n&&!("get"inn?!e.__esModule:n.writable||n.configurable)||(n={enumerable:!0,get:function(){returne[o]}}),Object.defineProperty(t,r,n)}:function(t,e,o,r){void0===r&&(r=o),t[r]=e[o]}),s=this&&this.__setModuleDefault||(Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}),l=this&&this.__importStar||function(t){if(t&&t.__esModule)returnt;vare={};if(null!=t)for(varoint)"default"!==o&&Object.prototype.hasOwnProperty.call(t,o)&&a(e,t,o);returns(e,t),e},c=this&&this.__values||function(t){vare="function"==typeofSymbol&&Symbol.iterator,o=e&&t[e],r=0;if(o)returno.call(t);if(t&&"number"==typeoft.length)return{next:function(){returnt&&r>=t.length&&(t=void0),{value:t&&t[r++],done:!t}}};thrownewTypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},u=this&&this.__read||function(t,e){varo="function"==typeofSymbol&&t[Symbol.iterator];if(!o)returnt;varr,n,i=o.call(t),a=[];try{for(;(void0===e||e-->0)&&!(r=i.next()).done;)a.push(r.value)}catch(t){n={error:t}}finally{try{r&&!r.done&&(o=i.return)&&o.call(i)}finally{if(n)thrown.error}}returna},h=this&&this.__spreadArray||function(t,e,o){if(o||2===arguments.length)for(varr,n=0,i=e.length;n<i;n++)!r&&nine||(r||(r=Array.prototype.slice.call(e,0,n)),r[n]=e[n]);returnt.concat(r||Array.prototype.slice.call(e))},p=this&&this.__importDefault||function(t){returnt&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0}),e.setA11yOption=e.setA11yOptions=e.ExplorerHandler=e.ExplorerMathDocumentMixin=e.ExplorerMathItemMixin=void0;varf=o(769),d=o(511),y=o(77),v=o(433),g=o(850),m=l(o(269)),x=l(o(85)),b=o(854),_=o(367),w=p(o(712));functionM(t,e){returnfunction(t){functiono(){vare=null!==t&&t.apply(this,arguments)||this;returne.explorers={},e.attached=[],e.restart=[],e.refocus=!1,e.savedId=null,e}returnn(o,t),o.prototype.explorable=function(t,o){if(void0===o&&(o=!1),!(this.state()>=f.STATE.EXPLORER)){if(!this.isEscaped&&(t.options.enableExplorer||o)){varr=this.typesetRoot,n=e(this.root);this.savedId&&(this.typesetRoot.setAttribute("sre-explorer-id",this.savedId),this.savedId=null),this.explorers=function(t,e,o){varr,n,i={};try{for(vara=c(Object.keys(A)),s=a.next();!s.done;s=a.next()){varl=s.value;i[l]=A[l](t,e,o)}}catch(t){r={error:t}}finally{try{s&&!s.done&&(n=a.return)&&n.call(a)}finally{if(r)throwr.error}}returni}(t,r,n),this.attachExplorers(t)}this.state(f.STATE.EXPLORER)}},o.prototype.attachExplorers=function(t){vare,o,r,n;this.attached=[];vari=[];try{for(vara=c(Object.keys(this.explorers)),s=a.next();!s.done;s=a.next()){varl=s.value;(p=this.explorers[l])instanceofm.AbstractKeyExplorer&&(p.AddEvents(),p.stoppable=!1,i.unshift(p)),t.options.a11y[l]?(p.Attach(),this.attached.push(l)):p.Detach()}}catch(t){e={error:t}}finally{try{s&&!s.done&&(o=a.return)&&o.call(a)}finally{if(e)throwe.error}}try{for(varu=c(i),h=u.next();!h.done;h=u.next()){varp;if((p=h.value).attached){p.stoppable=!0;break}}}catch(t){r={error:t}}finally{try{h&&!h.done&&(n=u.return)&&n.call(u)}finally{if(r)throwr.error}}},o.prototype.rerender=function(e,o){varr,n;void0===o&&(o=f.STATE.RERENDER),this.savedId